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:
parent
593bdb87fa
commit
3e4a5df698
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -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'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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
|
||||||
|
@ -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"';
|
||||||
}
|
}
|
||||||
|
@ -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' );
|
||||||
|
Loading…
Reference in New Issue
Block a user