From 756c052ccb31e70c5b6233da82df4d2fd571ea14 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Mon, 9 Oct 2017 21:23:47 +0000 Subject: [PATCH] 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 --- wp-includes/nav-menu.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php index 53089a946b..38ef5c89bc 100644 --- a/wp-includes/nav-menu.php +++ b/wp-includes/nav-menu.php @@ -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... diff --git a/wp-includes/version.php b/wp-includes/version.php index 8125731780..ac0c2aa4a3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.