WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/25/2019 10:52:54 PM (3 months ago)
Author:
whyisjake
Message:

General: Linter cleanup

phpcbf was able to clean up a few files. Tests were breaking as a result of code formatting.

Fixes #48142
Props whyisjake

File:
1 edited

Legend:

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

    r46309 r46312  
    9999        $output .= isset( $title ) ? esc_html( $title ) : esc_html( $item->title );
    100100
    101         if ( empty( $item->label ) && isset( $item->post_type ) && 'page' === $item->post_type ) {
    102             // Append post states.
    103             $output .= _post_states( $item, false );
    104         }
     101        if ( empty( $item->label ) && isset( $item->post_type ) && 'page' === $item->post_type ) {
     102            // Append post states.
     103            $output .= _post_states( $item, false );
     104        }
    105105
    106106        $output .= '</label>';
Note: See TracChangeset for help on using the changeset viewer.