Changeset 56154 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 07/06/2023 04:31:02 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r56143 r56154 4192 4192 * @expectedDeprecated wp_get_loading_attr_default 4193 4193 * 4194 * @dataProvider data_special_contexts_for_the_content 4194 * @dataProvider data_special_contexts_for_the_content_wp_get_loading_attr_default 4195 4195 * 4196 4196 * @param string $context Context for the element for which the `loading` attribute value is requested. … … 4209 4209 * @expectedDeprecated wp_get_loading_attr_default 4210 4210 * 4211 * @dataProvider data_special_contexts_for_the_content 4211 * @dataProvider data_special_contexts_for_the_content_wp_get_loading_attr_default 4212 4212 * 4213 4213 * @param string $context Context for the element for which the `loading` attribute value is requested. … … 4234 4234 */ 4235 4235 public function data_special_contexts_for_the_content() { 4236 return array( 4237 'widget_media_image' => array( 'context' => 'widget_media_image' ), 4238 'the_post_thumbnail' => array( 'context' => 'the_post_thumbnail' ), 4239 'wp_get_attachment_image' => array( 'context' => 'wp_get_attachment_image' ), 4240 ); 4241 } 4242 4243 /** 4244 * Data provider. 4245 * 4246 * @return array[] 4247 */ 4248 public function data_special_contexts_for_the_content_wp_get_loading_attr_default() { 4236 4249 return array( 4237 4250 'the_post_thumbnail' => array( 'context' => 'the_post_thumbnail' ),
Note: See TracChangeset
for help on using the changeset viewer.