Changeset 37914 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 06/29/2016 03:15:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r37162 r37914 21 21 22 22 if ( ! current_user_can( 'update_core' ) && ! current_user_can( 'update_themes' ) && ! current_user_can( 'update_plugins' ) ) 23 wp_die( __( ' You do not have sufficient permissionsto update this site.' ) );23 wp_die( __( 'Sorry, you are not allowed to update this site.' ) ); 24 24 25 25 /** … … 624 624 625 625 if ( ! current_user_can( 'update_core' ) ) 626 wp_die( __( ' You do not have sufficient permissionsto update this site.' ) );626 wp_die( __( 'Sorry, you are not allowed to update this site.' ) ); 627 627 628 628 check_admin_referer('upgrade-core'); … … 648 648 649 649 if ( ! current_user_can( 'update_plugins' ) ) 650 wp_die( __( ' You do not have sufficient permissionsto update this site.' ) );650 wp_die( __( 'Sorry, you are not allowed to update this site.' ) ); 651 651 652 652 check_admin_referer('upgrade-core'); … … 676 676 677 677 if ( ! current_user_can( 'update_themes' ) ) 678 wp_die( __( ' You do not have sufficient permissionsto update this site.' ) );678 wp_die( __( 'Sorry, you are not allowed to update this site.' ) ); 679 679 680 680 check_admin_referer('upgrade-core'); … … 706 706 707 707 if ( ! current_user_can( 'update_core' ) && ! current_user_can( 'update_plugins' ) && ! current_user_can( 'update_themes' ) ) 708 wp_die( __( ' You do not have sufficient permissionsto update this site.' ) );708 wp_die( __( 'Sorry, you are not allowed to update this site.' ) ); 709 709 710 710 check_admin_referer( 'upgrade-translations' );
Note: See TracChangeset
for help on using the changeset viewer.