Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (7 years ago)
Author:
pento
Message:

General: Fix some precision alignment formatting warnings.

The WPCS WordPress.WhiteSpace.PrecisionAlignment rule throws warnings for a bunch of code that will likely cause issues for wpcbf. Fixing these manually beforehand gives us better auto-fixed results later.

See #41057.

File:
1 edited

Legend:

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

    r42211 r42228  
    6565
    6666    if ( isset( $post_data['user_ID'] ) && ( $post_data['post_author'] != $post_data['user_ID'] )
    67          && ! current_user_can( $ptype->cap->edit_others_posts ) ) {
     67        && ! current_user_can( $ptype->cap->edit_others_posts ) ) {
     68
    6869        if ( $update ) {
    6970            if ( 'page' == $post_data['post_type'] )
Note: See TracChangeset for help on using the changeset viewer.