Correct misleading verbiage in 'print' hook docs.

Standardizes 'print' hook docs on the concept that hooks are fired when scripts and styles are printed.

Props ericlewis for the initial patch.
Fixes #26924.


git-svn-id: https://develop.svn.wordpress.org/trunk@27695 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture)
2014-03-25 08:04:44 +00:00
parent a00d98a8c2
commit 0e7a34444d
6 changed files with 20 additions and 16 deletions

View File

@@ -308,28 +308,34 @@ var photostorage = false;
<?php
/** This action is documented in wp-admin/admin-header.php */
do_action( 'admin_enqueue_scripts', 'press-this.php' );
/**
* Print styles for the Press This admin page.
* Firest when styles are printed for the Press This admin page.
*
* @since 3.7.0
*/
do_action( 'admin_print_styles-press-this.php' );
/** This action is documented in wp-admin/admin-header.php */
do_action( 'admin_print_styles' );
/**
* Print scripts for the Press This admin page.
* Fires when scripts are printed for the Press This admin page.
*
* @since 3.7.0
*/
do_action( 'admin_print_scripts-press-this.php' );
/** This action is documented in wp-admin/admin-header.php */
do_action( 'admin_print_scripts' );
/**
* Fires in the head tag on the Press This admin page.
*
* @since 3.7.0
*/
do_action( 'admin_head-press-this.php' );
/** This action is documented in wp-admin/admin-header.php */
do_action( 'admin_head' );
?>