From 286e4fa9b0e704bfa0507192c581aef81eb95508 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 7 Jan 2022 11:21:04 +0000 Subject: [PATCH] Taxonomy: Typo correction in context used for the navigation link block title. This change fixes a wrong translation context on the navigation link block title. Follow-up to [50527]. Props Chouby. Fixes #54566. Built from https://develop.svn.wordpress.org/trunk@52537 git-svn-id: http://core.svn.wordpress.org/trunk@52127 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/plugin-install.php | 2 +- .../rest-api/endpoints/class-wp-rest-menu-items-controller.php | 2 +- wp-includes/taxonomy.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php index a8b4e333ab..1f8b680740 100644 --- a/wp-admin/plugin-install.php +++ b/wp-admin/plugin-install.php @@ -52,7 +52,7 @@ $title = __( 'Add Plugins' ); $parent_file = 'plugins.php'; wp_enqueue_script( 'plugin-install' ); -if ( 'plugin-information' != $tab ) { +if ( 'plugin-information' !== $tab ) { add_thickbox(); } diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php index 57ddc38078..f25be71bef 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php @@ -816,7 +816,7 @@ class WP_REST_Menu_Items_Controller extends WP_REST_Posts_Controller { ); $schema['properties']['object'] = array( - 'description' => __( 'The type of object originally represented, such as "category," "post", or "attachment."' ), + 'description' => __( 'The type of object originally represented, such as "category", "post", or "attachment".' ), 'context' => array( 'view', 'edit', 'embed' ), 'type' => 'string', 'arg_options' => array( diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 1ead9f7f46..d3d13b5ebd 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -694,7 +694,7 @@ function get_taxonomy_labels( $tax ) { 'back_to_items' => array( __( '← Go to Tags' ), __( '← Go to Categories' ) ), 'item_link' => array( _x( 'Tag Link', 'navigation link block title' ), - _x( 'Category Link', 'navigation link block description' ), + _x( 'Category Link', 'navigation link block title' ), ), 'item_link_description' => array( _x( 'A link to a tag.', 'navigation link block description' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 2a44eec357..462a968b3a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52536'; +$wp_version = '6.0-alpha-52537'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.