Changeset 45607 for trunk/tests/phpunit/tests/admin/includesPlugin.php
- Timestamp:
- 07/08/2019 12:55:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesPlugin.php
r45588 r45607 103 103 104 104 $sub_dir = trailingslashit( dirname( $plugin[1] ) ) . 'subdir'; 105 @mkdir( $sub_dir );106 @file_put_contents( $sub_dir . '/subfile.php', '<?php // Silence.' );105 mkdir( $sub_dir ); 106 file_put_contents( $sub_dir . '/subfile.php', '<?php // Silence.' ); 107 107 108 108 $plugin_files = get_plugin_files( plugin_basename( $plugin[1] ) ); … … 416 416 } 417 417 418 @closedir( $mu_plugins );418 closedir( $mu_plugins ); 419 419 420 420 foreach ( $files_to_move as $file_to_move ) { … … 443 443 } 444 444 445 @closedir( $mu_plugins );445 closedir( $mu_plugins ); 446 446 447 447 foreach ( $files_to_move as $file_to_move ) {
Note: See TracChangeset
for help on using the changeset viewer.