diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index d3788c906c..69ba518328 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -185,10 +185,10 @@ class WP_Upgrader { * @since 2.8.0 */ public function generic_strings() { - $this->strings['bad_request'] = __( 'Invalid data provided.' ); - $this->strings['fs_unavailable'] = __( 'Could not access filesystem.' ); - $this->strings['fs_error'] = __( 'Filesystem error.' ); - $this->strings['fs_no_root_dir'] = __( 'Unable to locate WordPress root directory.' ); + $this->strings['bad_request'] = __( 'Invalid data provided.' ); + $this->strings['fs_unavailable'] = __( 'Could not access filesystem.' ); + $this->strings['fs_error'] = __( 'Filesystem error.' ); + $this->strings['fs_no_root_dir'] = __( 'Unable to locate WordPress root directory.' ); /* translators: %s: Directory name. */ $this->strings['fs_no_content_dir'] = sprintf( __( 'Unable to locate WordPress content directory (%s).' ), 'wp-content' ); $this->strings['fs_no_plugins_dir'] = __( 'Unable to locate WordPress plugin directory.' ); diff --git a/wp-admin/site-editor.php b/wp-admin/site-editor.php index 93b1a93131..b7cdfbe0df 100644 --- a/wp-admin/site-editor.php +++ b/wp-admin/site-editor.php @@ -23,8 +23,8 @@ if ( ! ( current_theme_supports( 'block-template-parts' ) || wp_is_block_theme() wp_die( __( 'The theme you are currently using is not compatible with the Site Editor.' ) ); } -$is_template_part = isset( $_GET['postType'] ) && 'wp_template_part' === sanitize_key( $_GET['postType'] ); -$is_template_part_path = isset( $_GET['path'] ) && 'wp_template_partall' === sanitize_key( $_GET['path'] ); +$is_template_part = isset( $_GET['postType'] ) && 'wp_template_part' === sanitize_key( $_GET['postType'] ); +$is_template_part_path = isset( $_GET['path'] ) && 'wp_template_partall' === sanitize_key( $_GET['path'] ); $is_template_part_editor = $is_template_part || $is_template_part_path; if ( ! wp_is_block_theme() && ! $is_template_part_editor ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index a4f4512a9b..44fad9eae7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56520'; +$wp_version = '6.4-alpha-56521'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.