~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

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

  • Committer: Barry Price
  • Date: 2016-08-17 04:50:12 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: barry.price@canonical.com-20160817045012-qfui81zhqnqv2ba9
Merge WP4.6 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(
16
16
                '<h1>' . __( 'Cheatin&#8217; uh?' ) . '</h1>' .
17
 
                '<p>' . __( 'You are not allowed to create posts as this user.' ) . '</p>',
 
17
                '<p>' . __( 'Sorry, you are not allowed to create posts as this user.' ) . '</p>',
18
18
                403
19
19
        );
20
20
}