Changeset 56694
- Timestamp:
- 09/26/2023 12:23:25 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r56693 r56694 5163 5163 preg_replace_callback( 5164 5164 '/gallery-(\d+)/', 5165 static function ( $match ) {5166 return 'gallery-' . ( (int) $match [1] + 1 );5165 static function ( $matches ) { 5166 return 'gallery-' . ( (int) $matches[1] + 1 ); 5167 5167 }, 5168 5168 do_shortcode( '[gallery ids="' . self::$large_id . '" size="large" id="' . $post_id . '"]' )
Note: See TracChangeset
for help on using the changeset viewer.