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
This commit is contained in:
Drew Jaynes 2018-12-19 07:42:49 +00:00
parent 1ae038d3db
commit 92aa2f9e92
6 changed files with 7 additions and 7 deletions

View File

@ -34,7 +34,7 @@ $action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action'];
if ( ! wp_validate_auth_cookie() ) { if ( ! wp_validate_auth_cookie() ) {
if ( empty( $action ) ) { 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 * @since 2.6.0
*/ */
@ -53,7 +53,7 @@ if ( ! wp_validate_auth_cookie() ) {
} else { } else {
if ( empty( $action ) ) { 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 * @since 2.6.0
*/ */

View File

@ -101,7 +101,7 @@ if ( $_REQUEST['short'] ) {
// Short form response - attachment ID only. // Short form response - attachment ID only.
echo $id; echo $id;
} else { } else {
// Long form response - big chunk o html. // Long form response - big chunk of html.
$type = $_REQUEST['type']; $type = $_REQUEST['type'];
/** /**

View File

@ -525,7 +525,7 @@ class Custom_Background {
/** /**
* Ajax handler for adding custom background context to an attachment. * 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. * Media Manager.
* *
* @since 4.1.0 * @since 4.1.0

View File

@ -139,7 +139,7 @@ function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
$title = wptexturize( $item[0] ); $title = wptexturize( $item[0] );
// hide separators from screen readers // Hide separators from screen readers.
if ( $is_separator ) { if ( $is_separator ) {
$aria_hidden = ' aria-hidden="true"'; $aria_hidden = ' aria-hidden="true"';
} }

View File

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

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.1-alpha-44330'; $wp_version = '5.1-alpha-44331';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.