Changeset 60729 for trunk/tests/phpunit/tests/widgets/wpWidgetMedia.php
- Timestamp:
- 09/11/2025 02:45:56 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/wpWidgetMedia.php
r56746 r60729 495 495 $wp_widget_media = new ReflectionClass( 'WP_Widget_Media' ); 496 496 $has_content = $wp_widget_media->getMethod( 'has_content' ); 497 $has_content->setAccessible( true ); 497 if ( PHP_VERSION_ID < 80100 ) { 498 $has_content->setAccessible( true ); 499 } 498 500 499 501 $result = $has_content->invokeArgs(
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)