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:
parent
fd23000b11
commit
9db88b1b02
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user