- Timestamp:
- 09/25/2021 01:27:47 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/msFilesRewriting.php
r51860 r51869 13 13 */ 14 14 class Tests_Multisite_msFilesRewriting extends WP_UnitTestCase { 15 protected $suppress = false;16 15 17 16 function set_up() { 18 global $wpdb;19 17 parent::set_up(); 20 $this->suppress = $wpdb->suppress_errors();21 22 18 update_site_option( 'ms_files_rewriting', 1 ); 23 19 ms_upload_constants(); 24 }25 26 function tear_down() {27 global $wpdb;28 29 $wpdb->suppress_errors( $this->suppress );30 31 parent::tear_down();32 20 } 33 21
Note: See TracChangeset
for help on using the changeset viewer.