Ticket #34521: 34521-text-change-bookmarks.patch
File 34521-text-change-bookmarks.patch, 1.6 KB (added by , 8 years ago) |
---|
-
wp-admin/includes/bookmark.php
29 29 if ( ! current_user_can( 'manage_links' ) ) { 30 30 wp_die( 31 31 '<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . 32 '<p>' . __( 'Sorry, you are not allowed to edit the links for this site.' ) . '</p>',32 '<p>' . __( 'Sorry, you are not allowed to edit links.' ) . '</p>', 33 33 403 34 34 ); 35 35 } … … 312 312 wp_die( sprintf( __( 'If you are looking to use the link manager, please install the <a href="%s">Link Manager</a> plugin.' ), $link ) ); 313 313 } 314 314 315 wp_die( __( 'Sorry, you are not allowed to edit the links for this site.' ) );315 wp_die( __( 'Sorry, you are not allowed to edit links.' ) ); 316 316 } -
wp-admin/link-manager.php
9 9 /** Load WordPress Administration Bootstrap */ 10 10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 if ( ! current_user_can( 'manage_links' ) ) 12 wp_die( __( 'Sorry, you are not allowed to edit the links for this site.' ) );12 wp_die( __( 'Sorry, you are not allowed to edit links.' ) ); 13 13 14 14 $wp_list_table = _get_list_table('WP_Links_List_Table'); 15 15 … … 68 68 include_once( ABSPATH . 'wp-admin/admin-header.php' ); 69 69 70 70 if ( ! current_user_can('manage_links') ) 71 wp_die(__('Sorry, you are not allowed to edit the links for this site.'));71 wp_die(__('Sorry, you are not allowed to edit links.')); 72 72 73 73 ?> 74 74