Changeset 31003
- Timestamp:
- 12/30/2014 07:30:07 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r30668 r31003 885 885 886 886 if ( empty( $plugins ) ) 887 return ;887 return array(); 888 888 889 889 $invalid = array(); -
trunk/tests/phpunit/tests/admin/includesPlugin.php
r31002 r31003 294 294 295 295 /** 296 * @covers ::validate_active_plugins 297 */ 298 public function test_validate_active_plugins_empty() { 299 $this->assertEquals( array(), validate_active_plugins() ); 300 } 301 302 /** 296 303 * @covers ::is_uninstallable_plugin 297 304 */
Note: See TracChangeset
for help on using the changeset viewer.