mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-07 18:50:12 +00:00
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:
@@ -442,7 +442,7 @@ isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
do_action( 'admin_enqueue_scripts', 'media-upload-popup' );
|
||||
|
||||
/**
|
||||
* Print admin styles enqueued for the legacy (pre-3.5.0) media upload popup.
|
||||
* Fires when admin styles enqueued for the legacy (pre-3.5.0) media upload popup are printed.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*/
|
||||
@@ -452,7 +452,7 @@ isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
do_action( 'admin_print_styles' );
|
||||
|
||||
/**
|
||||
* Print admin scripts enqueued for the legacy (pre-3.5.0) media upload popup.
|
||||
* Fires when admin scripts enqueued for the legacy (pre-3.5.0) media upload popup are printed.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*/
|
||||
@@ -462,8 +462,8 @@ isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
do_action( 'admin_print_scripts' );
|
||||
|
||||
/**
|
||||
* Print scripts enqueued for the admin header for the legacy (pre-3.5.0)
|
||||
* media upload popup.
|
||||
* Fires when scripts enqueued for the admin header for the legacy (pre-3.5.0)
|
||||
* media upload popup are printed.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*/
|
||||
|
||||
@@ -1514,9 +1514,7 @@ if ( is_rtl() )
|
||||
|
||||
?>
|
||||
</head>
|
||||
<?php
|
||||
/** This filter is documented in wp-admin/admin-header.php */
|
||||
?>
|
||||
<?php /** This filter is documented in wp-admin/admin-header.php */ ?>
|
||||
<body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="wp-admin wp-core-ui no-js iframe <?php echo apply_filters( 'admin_body_class', '' ) . ' ' . $admin_body_class; ?>">
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
||||
Reference in New Issue
Block a user