From 3e4a5df6986848ced23336628f32c68f60faaf82 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 19 Dec 2018 07:41:41 +0000 Subject: [PATCH] Docs: Fix a few minor inline documentation typos in a variety of files and contexts. Props ramizmanked. Fixes #45463. git-svn-id: https://develop.svn.wordpress.org/trunk@44331 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/admin-post.php | 4 ++-- src/wp-admin/async-upload.php | 2 +- src/wp-admin/custom-background.php | 2 +- src/wp-admin/menu-header.php | 2 +- src/wp-admin/plugin-editor.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/admin-post.php b/src/wp-admin/admin-post.php index 1202fbe9b6..b4aed5275b 100644 --- a/src/wp-admin/admin-post.php +++ b/src/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/src/wp-admin/async-upload.php b/src/wp-admin/async-upload.php index 19eaf99072..d29884446d 100644 --- a/src/wp-admin/async-upload.php +++ b/src/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/src/wp-admin/custom-background.php b/src/wp-admin/custom-background.php index 39282459fd..e5151015ec 100644 --- a/src/wp-admin/custom-background.php +++ b/src/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/src/wp-admin/menu-header.php b/src/wp-admin/menu-header.php index c86e907f45..fee5d3dbe0 100644 --- a/src/wp-admin/menu-header.php +++ b/src/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/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php index ccdd832e86..7b374bc038 100644 --- a/src/wp-admin/plugin-editor.php +++ b/src/wp-admin/plugin-editor.php @@ -316,6 +316,6 @@ if ( ! in_array( 'plugin_editor_notice', $dismissed_pointers, true ) ) :