Update WP and plugins
This commit is contained in:
parent
10a4713229
commit
1fb77fc4ff
864 changed files with 101724 additions and 78262 deletions
|
@ -188,12 +188,12 @@ final class WP_Customize_Selective_Refresh {
|
|||
}
|
||||
|
||||
$switched_locale = switch_to_locale( get_user_locale() );
|
||||
$l10n = array(
|
||||
$l10n = array(
|
||||
'shiftClickToEdit' => __( 'Shift-click to edit this element.' ),
|
||||
'clickEditMenu' => __( 'Click to edit this menu.' ),
|
||||
'clickEditWidget' => __( 'Click to edit this widget.' ),
|
||||
'clickEditTitle' => __( 'Click to edit the site title.' ),
|
||||
'clickEditMisc' => __( 'Click to edit this element.' ),
|
||||
'clickEditMenu' => __( 'Click to edit this menu.' ),
|
||||
'clickEditWidget' => __( 'Click to edit this widget.' ),
|
||||
'clickEditTitle' => __( 'Click to edit the site title.' ),
|
||||
'clickEditMisc' => __( 'Click to edit this element.' ),
|
||||
/* translators: %s: document.write() */
|
||||
'badDocumentWrite' => sprintf( __( '%s is forbidden' ), 'document.write()' ),
|
||||
);
|
||||
|
@ -218,8 +218,8 @@ final class WP_Customize_Selective_Refresh {
|
|||
*
|
||||
* @see WP_Customize_Manager::add_dynamic_settings()
|
||||
*
|
||||
* @param array $partial_ids The partial ID to add.
|
||||
* @return array Added WP_Customize_Partial instances.
|
||||
* @param string[] $partial_ids Array of the partial IDs to add.
|
||||
* @return WP_Customize_Partial[] Array of added WP_Customize_Partial instances.
|
||||
*/
|
||||
public function add_dynamic_partials( $partial_ids ) {
|
||||
$new_partials = array();
|
||||
|
@ -232,7 +232,7 @@ final class WP_Customize_Selective_Refresh {
|
|||
continue;
|
||||
}
|
||||
|
||||
$partial_args = false;
|
||||
$partial_args = false;
|
||||
$partial_class = 'WP_Customize_Partial';
|
||||
|
||||
/**
|
||||
|
@ -415,8 +415,8 @@ final class WP_Customize_Selective_Refresh {
|
|||
$response['errors'] = $this->triggered_errors;
|
||||
}
|
||||
|
||||
$setting_validities = $this->manager->validate_setting_values( $this->manager->unsanitized_post_values() );
|
||||
$exported_setting_validities = array_map( array( $this->manager, 'prepare_setting_validity_for_js' ), $setting_validities );
|
||||
$setting_validities = $this->manager->validate_setting_values( $this->manager->unsanitized_post_values() );
|
||||
$exported_setting_validities = array_map( array( $this->manager, 'prepare_setting_validity_for_js' ), $setting_validities );
|
||||
$response['setting_validities'] = $exported_setting_validities;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue