Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (8 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-themes-section.php

    r42006 r42343  
    5555     */
    5656    public function json() {
    57         $exported = parent::json();
    58         $exported['action'] = $this->action;
     57        $exported                = parent::json();
     58        $exported['action']      = $this->action;
    5959        $exported['filter_type'] = $this->filter_type;
    6060
     
    8989                        <?php
    9090                        /* translators: %s: "Search WordPress.org themes" button */
    91                         printf( __( 'No themes found. Try a different search, or %s.' ),
     91                        printf(
     92                            __( 'No themes found. Try a different search, or %s.' ),
    9293                            sprintf( '<button type="button" class="button-link search-dotorg-themes">%s</button>', __( 'Search WordPress.org themes' ) )
    9394                        );
Note: See TracChangeset for help on using the changeset viewer.