mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Standardize DocBlock summaries for hooks that serve to "print" something to use third-person singular verbs.
See #36913. git-svn-id: https://develop.svn.wordpress.org/trunk@37560 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -63,7 +63,7 @@ global $hook_suffix;
|
||||
</div>
|
||||
<?php
|
||||
/**
|
||||
* Print scripts or data before the default footer scripts.
|
||||
* Prints scripts or data before the default footer scripts.
|
||||
*
|
||||
* @since 1.2.0
|
||||
*
|
||||
@@ -92,7 +92,7 @@ do_action( "admin_print_footer_scripts-$hook_suffix" );
|
||||
do_action( 'admin_print_footer_scripts' );
|
||||
|
||||
/**
|
||||
* Print scripts or data after the default footer scripts.
|
||||
* Prints scripts or data after the default footer scripts.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$hook_suffix`,
|
||||
* refers to the global hook suffix of the current page.
|
||||
|
||||
@@ -229,21 +229,21 @@ $current_screen->render_screen_meta();
|
||||
|
||||
if ( is_network_admin() ) {
|
||||
/**
|
||||
* Print network admin screen notices.
|
||||
* Prints network admin screen notices.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*/
|
||||
do_action( 'network_admin_notices' );
|
||||
} elseif ( is_user_admin() ) {
|
||||
/**
|
||||
* Print user admin screen notices.
|
||||
* Prints user admin screen notices.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*/
|
||||
do_action( 'user_admin_notices' );
|
||||
} else {
|
||||
/**
|
||||
* Print admin screen notices.
|
||||
* Prints admin screen notices.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*/
|
||||
@@ -251,7 +251,7 @@ if ( is_network_admin() ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Print generic admin screen notices.
|
||||
* Prints generic admin screen notices.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*/
|
||||
|
||||
@@ -178,7 +178,7 @@ do_action( 'customize_controls_print_scripts' );
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Print templates, control scripts, and settings in the footer.
|
||||
* Prints templates, control scripts, and settings in the footer.
|
||||
*
|
||||
* @since 3.4.0
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user