From 92aa2f9e92a4e1ad5471d87d5292587c5cee5702 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 19 Dec 2018 07:42:49 +0000 Subject: [PATCH] Docs: Fix a few minor inline documentation typos in a variety of files and contexts. Props ramizmanked. Fixes #45463. Built from https://develop.svn.wordpress.org/trunk@44331 git-svn-id: http://core.svn.wordpress.org/trunk@44161 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-post.php | 4 ++-- wp-admin/async-upload.php | 2 +- wp-admin/custom-background.php | 2 +- wp-admin/menu-header.php | 2 +- wp-admin/plugin-editor.php | 2 +- wp-includes/version.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-admin/admin-post.php b/wp-admin/admin-post.php index 1202fbe9b6..b4aed5275b 100644 --- a/wp-admin/admin-post.php +++ b/wp-admin/admin-post.php @@ -34,7 +34,7 @@ $action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action']; if ( ! wp_validate_auth_cookie() ) { if ( empty( $action ) ) { /** - * Fires on a non-authenticated admin post request where no action was supplied. + * Fires on a non-authenticated admin post request where no action is supplied. * * @since 2.6.0 */ @@ -53,7 +53,7 @@ if ( ! wp_validate_auth_cookie() ) { } else { if ( empty( $action ) ) { /** - * Fires on an authenticated admin post request where no action was supplied. + * Fires on an authenticated admin post request where no action is supplied. * * @since 2.6.0 */ diff --git a/wp-admin/async-upload.php b/wp-admin/async-upload.php index 19eaf99072..d29884446d 100644 --- a/wp-admin/async-upload.php +++ b/wp-admin/async-upload.php @@ -101,7 +101,7 @@ if ( $_REQUEST['short'] ) { // Short form response - attachment ID only. echo $id; } else { - // Long form response - big chunk o html. + // Long form response - big chunk of html. $type = $_REQUEST['type']; /** diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index 39282459fd..e5151015ec 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -525,7 +525,7 @@ class Custom_Background { /** * Ajax handler for adding custom background context to an attachment. * - * Triggered when the user adds a new background image from the + * Triggers when the user adds a new background image from the * Media Manager. * * @since 4.1.0 diff --git a/wp-admin/menu-header.php b/wp-admin/menu-header.php index c86e907f45..fee5d3dbe0 100644 --- a/wp-admin/menu-header.php +++ b/wp-admin/menu-header.php @@ -139,7 +139,7 @@ function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) { $title = wptexturize( $item[0] ); - // hide separators from screen readers + // Hide separators from screen readers. if ( $is_separator ) { $aria_hidden = ' aria-hidden="true"'; } diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index ccdd832e86..7b374bc038 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -316,6 +316,6 @@ if ( ! in_array( 'plugin_editor_notice', $dismissed_pointers, true ) ) :