Changeset 56680 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 09/25/2023 03:34:34 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r56651 r56680 4437 4437 add_filter( 4438 4438 'the_content', 4439 function ( $content ) use ( &$result ) {4439 function ( $content ) use ( &$result ) { 4440 4440 $attr = $this->get_width_height_for_high_priority(); 4441 4441 $result = wp_get_loading_optimization_attributes( 'img', $attr, 'something_completely_arbitrary' ); … … 4497 4497 add_filter( 4498 4498 'wp_loading_optimization_force_header_contexts', 4499 function ( $context ) {4499 function ( $context ) { 4500 4500 $contexts['something_completely_arbitrary'] = true; 4501 4501 return $contexts;
Note: See TracChangeset
for help on using the changeset viewer.