Make WordPress Core


Ignore:
Timestamp:
01/12/2019 06:40:16 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Upgrade WPCS to 1.2.1.

This upgrade fixes quite a few false positives, as well as auto-fixing some indenting issues.

Fixes #45956.

File:
1 edited

Legend:

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

    r44540 r44574  
    17331733        <a class="button<?php echo $tab_last; ?>" href="<?php echo esc_url( $preview_link ); ?>"><?php _e( 'Preview' ); ?></a>
    17341734            <?php
    1735 }
     1735        }
    17361736
    17371737        // Allow plugins to prevent some users overriding the post lock
    1738 if ( $override ) {
    1739     ?>
     1738        if ( $override ) {
     1739            ?>
    17401740    <a class="button button-primary wp-tab-last" href="<?php echo esc_url( add_query_arg( 'get-post-lock', '1', wp_nonce_url( get_edit_post_link( $post->ID, 'url' ), 'lock-post_' . $post->ID ) ) ); ?>"><?php _e( 'Take over' ); ?></a>
    17411741            <?php
    1742 }
    1743 
    1744 ?>
     1742        }
     1743
     1744        ?>
    17451745        </p>
    17461746        </div>
Note: See TracChangeset for help on using the changeset viewer.