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/post.php

    r32673 r32800  
    13191319
    13201320    if ( isset( $view_post ) ) {
    1321         if( 'draft' == $post->post_status ) {
     1321        if ( 'draft' == $post->post_status ) {
    13221322            $preview_link = set_url_scheme( get_permalink( $post->ID ) );
    13231323            /** This filter is documented in wp-admin/includes/meta-boxes.php */
Note: See TracChangeset for help on using the changeset viewer.