WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/16/2015 08:00:15 PM (6 years ago)
Author:
wonderboymusic
Message:

if is a statment, not a function.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/nav-menu.php

    r32691 r32800  
    140140
    141141            <div class="menu-item-settings" id="menu-item-settings-<?php echo $item_id; ?>">
    142                 <?php if( 'custom' == $item->type ) : ?>
     142                <?php if ( 'custom' == $item->type ) : ?>
    143143                    <p class="field-url description description-wide">
    144144                        <label for="edit-menu-item-url-<?php echo $item_id; ?>">
     
    198198
    199199                <div class="menu-item-actions description-wide submitbox">
    200                     <?php if( 'custom' != $item->type && $original_title !== false ) : ?>
     200                    <?php if ( 'custom' != $item->type && $original_title !== false ) : ?>
    201201                        <p class="link-to-original">
    202202                            <?php printf( __('Original: %s'), '<a href="' . esc_attr( $item->url ) . '">' . esc_html( $original_title ) . '</a>' ); ?>
     
    460460
    461461    // If first time editing, disable advanced items by default.
    462     if( false === get_user_option( 'managenav-menuscolumnshidden' ) ) {
     462    if ( false === get_user_option( 'managenav-menuscolumnshidden' ) ) {
    463463        $user = wp_get_current_user();
    464464        update_user_option($user->ID, 'managenav-menuscolumnshidden',
     
    11811181        $result .= '</div>';
    11821182
    1183         if( empty($menu_items) )
     1183        if ( empty($menu_items) )
    11841184            return $result . ' <ul class="menu" id="menu-to-edit"> </ul>';
    11851185
Note: See TracChangeset for help on using the changeset viewer.