Changeset 54872 for trunk/tests/phpunit/tests/pluggable/signatures.php
- Timestamp:
- 11/24/2022 10:09:39 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/pluggable/signatures.php
r54716 r54872 77 77 public function get_defined_pluggable_functions() { 78 78 79 require_once ABSPATH . ' /wp-admin/includes/upgrade.php';79 require_once ABSPATH . 'wp-admin/includes/upgrade.php'; 80 80 81 81 $test_functions = array( … … 104 104 105 105 foreach ( $test_files as $file ) { 106 preg_match_all( '#^\t?function (\w+)#m', file_get_contents( ABSPATH . '/' .$file ), $functions );106 preg_match_all( '#^\t?function (\w+)#m', file_get_contents( ABSPATH . $file ), $functions ); 107 107 108 108 foreach ( $functions[1] as $function ) {
Note: See TracChangeset
for help on using the changeset viewer.