}
/**
- * 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
*
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.
*
$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:
*/
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);