Changeset 61424 for trunk/tests/phpunit/tests/link/getAdjacentPost.php
- Timestamp:
- 01/03/2026 06:15:57 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/link/getAdjacentPost.php
r61066 r61424 193 193 194 194 // Fake current page. 195 $_post = isset( $GLOBALS['post'] ) ? $GLOBALS['post'] :null;195 $_post = $GLOBALS['post'] ?? null; 196 196 $GLOBALS['post'] = get_post( $p1 ); 197 197 … … 230 230 231 231 // Fake current page. 232 $_post = isset( $GLOBALS['post'] ) ? $GLOBALS['post'] :null;232 $_post = $GLOBALS['post'] ?? null; 233 233 $GLOBALS['post'] = get_post( $p1 ); 234 234
Note: See TracChangeset
for help on using the changeset viewer.