Changeset 60792 for trunk/tests/phpunit/tests/post.php
- Timestamp:
- 09/22/2025 06:48:39 PM (11 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r60788 r60792 197 197 * 198 198 * @ticket 61097 199 * 199 200 * @covers ::wp_count_posts 200 201 */ … … 223 224 ); 224 225 225 $current_user_id = self::$user_ids['author']; 226 wp_set_current_user( $current_user_id ); 226 wp_set_current_user( self::$user_ids['author'] ); 227 227 228 228 $count = wp_count_posts( $post_type, 'readable' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)