X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..4713a14935b83517997f3c88f808eb41da55033d:/wp-admin/press-this.php diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 5e9e2596..1becc48f 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -19,8 +19,6 @@ if ( ! current_user_can( 'edit_posts' ) || ! current_user_can( get_post_type_obj /** * Press It form handler. * - * @package WordPress - * @subpackage Press_This * @since 2.6.0 * * @return int Post ID @@ -146,7 +144,7 @@ if ( !empty($_REQUEST['ajax']) ) {

- +
@@ -163,8 +161,6 @@ if ( !empty($_REQUEST['ajax']) ) { /** * Retrieve all image URLs from given URI. * - * @package WordPress - * @subpackage Press_This * @since 2.6.0 * * @param string $uri @@ -297,6 +293,7 @@ die; wp_enqueue_style( 'colors' ); wp_enqueue_script( 'post' ); + add_thickbox(); _wp_admin_html_begin(); ?> <?php _e('Press This') ?> @@ -309,12 +306,37 @@ var photostorage = false;