Press This: Add admin_head-like hooks that are specific to the page.

props sillybean.
fixes #18843.

Built from https://develop.svn.wordpress.org/trunk@25131


git-svn-id: http://core.svn.wordpress.org/trunk@25111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-08-26 21:00:09 +00:00
parent 357f52eed7
commit 1700a5efb1

View File

@ -309,9 +309,13 @@ var photostorage = false;
</script>
<?php
do_action('admin_print_styles');
do_action('admin_print_scripts');
do_action('admin_head');
do_action( 'admin_enqueue_scripts', 'press-this.php' );
do_action( 'admin_print_styles-press-this.php' );
do_action( 'admin_print_styles' );
do_action( 'admin_print_scripts-press-this.php' );
do_action( 'admin_print_scripts' );
do_action( 'admin_head-press-this.php' );
do_action( 'admin_head' );
?>
<script type="text/javascript">
var wpActiveEditor = 'content';