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
This commit is contained in:
Drew Jaynes 2018-12-19 07:41:41 +00:00
parent 593bdb87fa
commit 3e4a5df698
5 changed files with 6 additions and 6 deletions

View File

@ -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
*/

View File

@ -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'];
/**

View File

@ -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

View File

@ -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"';
}

View File

@ -316,6 +316,6 @@ if ( ! in_array( 'plugin_editor_notice', $dismissed_pointers, true ) ) :
</div>
</div>
<?php
endif; // editor warning notice
endif; // Editor warning notice.
include( ABSPATH . 'wp-admin/admin-footer.php' );