From 4b460d0f8078c86fe32f2519c2377aea532a8945 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 17 Jul 2019 19:22:56 +0000 Subject: [PATCH] Coding Standards: Fix WPCS issues in [45655]. See #47723. Built from https://develop.svn.wordpress.org/trunk@45656 git-svn-id: http://core.svn.wordpress.org/trunk@45467 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/nav-menu.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php index 863183a92b..68a9e09c3c 100644 --- a/wp-includes/nav-menu.php +++ b/wp-includes/nav-menu.php @@ -458,7 +458,7 @@ function wp_update_nav_menu_item( $menu_id = 0, $menu_item_db_id = 0, $menu_item if ( 'custom' === $args['menu-item-type'] ) { // If custom menu item, trim the URL. - $args[ 'menu-item-url' ] = trim( $args[ 'menu-item-url' ] ); + $args['menu-item-url'] = trim( $args['menu-item-url'] ); } else { /* * If non-custom menu item, then: diff --git a/wp-includes/version.php b/wp-includes/version.php index 7c55ae5df1..50f487d7ee 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45655'; +$wp_version = '5.3-alpha-45656'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.