Make WordPress Core

Changeset 29952


Ignore:
Timestamp:
10/17/2014 10:14:49 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Fix formatting in [29946].

props TobiasBg.
fixes #29925.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme.php

    r29946 r29952  
    167167
    168168    /**
    169      * Make sure we update the default theme list to include the lastest default theme
     169     * Make sure we update the default theme list to include the latest default theme.
     170     *
    170171     * @ticket 29925
    171172     */
    172     function test_default_theme_in_default_theme_list(){
    173         if ( substr(WP_DEFAULT_THEME, 0, 6) === 'twenty') {
     173    function test_default_theme_in_default_theme_list() {
     174        if ( 'twenty' === substr( WP_DEFAULT_THEME, 0, 6 ) ) {
    174175            $this->assertContains( WP_DEFAULT_THEME, $this->default_themes );
    175176        }
Note: See TracChangeset for help on using the changeset viewer.