X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/874d2a2f468a0d1e69aab49b1fe2d9d79d3e1142..1132430022383fdf47fa6cb9377300fd885297aa:/wp-admin/press-this.php diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 97733648..6ae7341f 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -14,7 +14,7 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); if ( ! current_user_can( 'edit_posts' ) || ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) - wp_die( __( 'Cheatin’ uh?' ) ); + wp_die( __( 'Cheatin’ uh?' ), 403 ); /** * Press It form handler. @@ -149,9 +149,9 @@ if ( !empty($_REQUEST['ajax']) ) {

- + - <?php echo esc_attr(__('Click to insert.')); ?> + <?php esc_attr_e( 'Click to insert.' ); ?>