Update WP and plugins
This commit is contained in:
parent
10a4713229
commit
1fb77fc4ff
864 changed files with 101724 additions and 78262 deletions
|
@ -95,7 +95,7 @@ wp_add_inline_script(
|
|||
* but should be included in its save payload.
|
||||
*/
|
||||
$initial_edits = null;
|
||||
$is_new_post = false;
|
||||
$is_new_post = false;
|
||||
if ( 'auto-draft' === $post->post_status ) {
|
||||
$is_new_post = true;
|
||||
// Override "(Auto Draft)" new post default title with empty string, or filtered value.
|
||||
|
@ -273,7 +273,7 @@ $editor_settings = array(
|
|||
'titlePlaceholder' => apply_filters( 'enter_title_here', __( 'Add title' ), $post ),
|
||||
'bodyPlaceholder' => $body_placeholder,
|
||||
'isRTL' => is_rtl(),
|
||||
'autosaveInterval' => 10,
|
||||
'autosaveInterval' => AUTOSAVE_INTERVAL,
|
||||
'maxUploadFileSize' => $max_upload_size,
|
||||
'allowedMimeTypes' => get_allowed_mime_types(),
|
||||
'styles' => $styles,
|
||||
|
@ -408,7 +408,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
<p>
|
||||
<?php
|
||||
$message = sprintf(
|
||||
/* translators: %s: https://wordpress.org/plugins/classic-editor/ */
|
||||
/* translators: %s: Classic Editor plugin URL */
|
||||
__( 'The block editor requires JavaScript. Please enable JavaScript in your browser settings, or try the <a href="%s">Classic Editor plugin</a>.' ),
|
||||
__( 'https://wordpress.org/plugins/classic-editor/' )
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue