X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..febc815b2c9d85be5717da9e8d164bd2daa97e31:/wp-admin/includes/menu.php diff --git a/wp-admin/includes/menu.php b/wp-admin/includes/menu.php index 74804022..1c6f545f 100644 --- a/wp-admin/includes/menu.php +++ b/wp-admin/includes/menu.php @@ -229,7 +229,7 @@ function add_menu_classes($menu) { } /** - * Filter administration menus array with classes added for top-level items. + * Filters administration menus array with classes added for top-level items. * * @since 2.7.0 * @@ -241,7 +241,7 @@ function add_menu_classes($menu) { uksort($menu, "strnatcasecmp"); // make it all pretty /** - * Filter whether to enable custom ordering of the administration menu. + * Filters whether to enable custom ordering of the administration menu. * * See the {@see 'menu_order'} filter for reordering menu items. * @@ -258,7 +258,7 @@ if ( apply_filters( 'custom_menu_order', false ) ) { $default_menu_order = $menu_order; /** - * Filter the order of administration menu items. + * Filters the order of administration menu items. * * A truthy value must first be passed to the {@see 'custom_menu_order'} filter * for this filter to work. Use the following to enable custom menu ordering: @@ -339,7 +339,7 @@ if ( !user_can_access_admin_page() ) { */ do_action( 'admin_page_access_denied' ); - wp_die( __( 'You do not have sufficient permissions to access this page.' ), 403 ); + wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); } $menu = add_menu_classes($menu);