mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
ca30822541
commit
756c052ccb
@ -1119,6 +1119,7 @@ function wp_map_nav_menu_locations( $new_nav_menu_locations, $old_nav_menu_locat
|
|||||||
$common_slug_groups = array(
|
$common_slug_groups = array(
|
||||||
array( 'header', 'main', 'navigation', 'primary', 'top' ),
|
array( 'header', 'main', 'navigation', 'primary', 'top' ),
|
||||||
array( 'bottom', 'footer', 'secondary', 'subsidiary' ),
|
array( 'bottom', 'footer', 'secondary', 'subsidiary' ),
|
||||||
|
array( 'social' ),
|
||||||
);
|
);
|
||||||
|
|
||||||
// Go through each group...
|
// Go through each group...
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user