~canonical-sysadmins/wordpress/4.8.3

« back to all changes in this revision

Viewing changes to wp-admin/press-this.php

  • Committer: Ryan Finnie
  • Date: 2015-08-31 16:09:47 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: ryan.finnie@canonical.com-20150831160947-1h6rfxby9z1ec62u
Merge WP4.3 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
if ( ! current_user_can( 'edit_posts' ) || ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) )
15
15
        wp_die( __( 'Cheatin’ uh?' ), 403 );
16
16
 
 
17
/**
 
18
 * @global WP_Press_This $wp_press_this
 
19
 */
17
20
if ( empty( $GLOBALS['wp_press_this'] ) ) {
18
21
        include( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
19
22
}