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-includes/admin-bar.php

    r32537 r32800  
    505505            && ( $post_type_object->show_in_admin_bar ) )
    506506        {
    507             if( 'draft' == $post->post_status ) {
     507            if ( 'draft' == $post->post_status ) {
    508508                $preview_link = set_url_scheme( get_permalink( $post->ID ) );
    509509                /** This filter is documented in wp-admin/includes/meta-boxes.php */
Note: See TracChangeset for help on using the changeset viewer.