Make WordPress Core


Ignore:
Timestamp:
05/10/2024 06:07:17 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Posts, Post Types: Use a consistent plural form of “status” in variable names.

Follow-up to [5575], [6796], [6993], [7638], [12162], [12719], [15578], [16652], [31046], [34515], [49472].

Props Presskopp, sabernhardt, manfcarlo, SergeyBiryukov.
Fixes #58134.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/includes/helpers.php

    r52010 r58129  
    226226        _unregister_post_status( 'foo' );
    227227
    228         $stati = get_post_stati();
    229 
    230         $this->assertArrayNotHasKey( 'foo', $stati );
     228        $statuses = get_post_stati();
     229
     230        $this->assertArrayNotHasKey( 'foo', $statuses );
    231231    }
    232232
Note: See TracChangeset for help on using the changeset viewer.