'confirmDeleteTheme' =>
__( 'Are you sure you want to delete this theme?'
),
/* translators: %d: Number of theme search results, which cannot currently consider singular vs. plural forms. */
'themeSearchResults' =>
__( '%d themes found'
),
/* translators: %d: Number of themes being displayed, which cannot currently consider singular vs. plural forms. */
'announceThemeCount' =>
__( 'Displaying %d themes'
),
/* translators: %s: Theme name. */
'announceThemeDetails' =>
__( 'Showing details for theme: %s'
),
),
);
// Temporarily disable installation in Customizer. See #42184.
$filesystem_method =
get_filesystem_method();
ob_start();
$filesystem_credentials_are_stored =
request_filesystem_credentials( self_admin_url() );
ob_end_clean();
if ( 'direct' !==
$filesystem_method && !
$filesystem_credentials_are_stored ) { $settings['theme'
]['_filesystemCredentialsNeeded'
] = true;
} // Prepare Customize Section objects to pass to JavaScript.
foreach ( $this->
sections() as $id =>
$section ) { if ( $section->
check_capabilities() ) { $settings['sections'
][ $id ] =
$section->
json();
}