Wordpress 3.7
[autoinstalls/wordpress.git] / wp-admin / press-this.php
index 0f2be6c539872e8217648bf4210fd6fe515f9bbf..5e9e2596112d5afd2927f2a4e855dcb30ab84021 100644 (file)
@@ -9,7 +9,7 @@
 define('IFRAME_REQUEST' , true);
 
 /** WordPress Administration Bootstrap */
-require_once('./admin.php');
+require_once( dirname( __FILE__ ) . '/admin.php' );
 
 header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
 
@@ -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';