Make WordPress Core

Changeset 962 in tests


Ignore:
Timestamp:
08/12/2012 08:39:26 PM (13 years ago)
Author:
SergeyBiryukov
Message:

Fix parse error in PHP 5.2. see [952].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/factory.php

    r954 r962  
    129129    function __construct( $factory = null, $taxonomy = null ) {
    130130        parent::__construct( $factory );
    131         $this->taxonomy = $taxonomy?: self::DEFAULT_TAXONOMY;
     131        $this->taxonomy = $taxonomy ? $taxonomy : self::DEFAULT_TAXONOMY;
    132132        $this->default_generation_definitions = array(
    133133            'name' => new WP_UnitTest_Generator_Sequence( 'Term %s' ),
Note: See TracChangeset for help on using the changeset viewer.