mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective).
Props obrienlabs, thewanderingbrit. Fixes #34887. git-svn-id: https://develop.svn.wordpress.org/trunk@36709 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -495,7 +495,7 @@ class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting {
|
||||
// @todo We should probably re-apply some constraints imposed by $args.
|
||||
unset( $args['include'] );
|
||||
|
||||
// Remove invalid items only in frontend.
|
||||
// Remove invalid items only in front end.
|
||||
if ( ! is_admin() ) {
|
||||
$items = array_filter( $items, '_is_valid_nav_menu_item' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user