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

    r42201 r42228  
    4646$sendback = wp_get_referer();
    4747if ( ! $sendback ||
    48      strpos( $sendback, 'post.php' ) !== false ||
    49      strpos( $sendback, 'post-new.php' ) !== false ) {
     48    strpos( $sendback, 'post.php' ) !== false ||
     49    strpos( $sendback, 'post-new.php' ) !== false ) {
    5050    if ( 'attachment' == $post_type ) {
    5151        $sendback = admin_url( 'upload.php' );
Note: See TracChangeset for help on using the changeset viewer.