Menus: Add social as tertiary mapping group

Allows mapping of all social menus that include the term `social` in their slug.

See #39692.

Built from https://develop.svn.wordpress.org/trunk@41801


git-svn-id: http://core.svn.wordpress.org/trunk@41635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Konstantin Obenland 2017-10-09 21:23:47 +00:00
parent ca30822541
commit 756c052ccb
2 changed files with 2 additions and 1 deletions

View File

@ -1119,6 +1119,7 @@ function wp_map_nav_menu_locations( $new_nav_menu_locations, $old_nav_menu_locat
$common_slug_groups = array(
array( 'header', 'main', 'navigation', 'primary', 'top' ),
array( 'bottom', 'footer', 'secondary', 'subsidiary' ),
array( 'social' ),
);
// Go through each group...

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta1-41800';
$wp_version = '4.9-beta1-41801';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.