Changeset 60729 for trunk/tests/phpunit/tests/admin/wpPluginsListTable.php
- Timestamp:
- 09/11/2025 02:45:56 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/wpPluginsListTable.php
r60250 r60729 150 150 $show_autoupdates = new ReflectionProperty( $list_table, 'show_autoupdates' ); 151 151 152 $show_autoupdates->setAccessible( true ); 152 if ( PHP_VERSION_ID < 80100 ) { 153 $show_autoupdates->setAccessible( true ); 154 } 153 155 $actual = $show_autoupdates->getValue( $list_table ); 154 $show_autoupdates->setAccessible( false ); 156 if ( PHP_VERSION_ID < 80100 ) { 157 $show_autoupdates->setAccessible( false ); 158 } 155 159 156 160 $_REQUEST['plugin_status'] = $original_status;
Note: See TracChangeset
for help on using the changeset viewer.