Skip to content

Commit

Permalink
Press This: Add admin_head-like hooks that are specific to the page.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nacin committed Aug 26, 2013
1 parent 357f52e commit 1700a5e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions wp-admin/press-this.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,13 @@ function image_selector(el) {
</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';
Expand Down

0 comments on commit 1700a5e

Please sign in to comment.