Coding Standards: Fix WPCS issues in [45655].

See #47723.

git-svn-id: https://develop.svn.wordpress.org/trunk@45656 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-07-17 19:21:28 +00:00
parent fd23000b11
commit 9db88b1b02

View File

@ -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: