Changeset 44785 for trunk/tests/phpunit/tests/ajax/MediaEdit.php
- Timestamp:
- 03/01/2019 08:57:26 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/ajax/MediaEdit.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/MediaEdit.php
r42343 r44785 33 33 $contents = file_get_contents( $filename ); 34 34 35 $upload = wp_upload_bits( basename( $filename ), null, $contents );35 $upload = wp_upload_bits( wp_basename( $filename ), null, $contents ); 36 36 $id = $this->_make_attachment( $upload ); 37 37 … … 64 64 $contents = file_get_contents( $filename ); 65 65 66 $upload = wp_upload_bits( basename( $filename ), null, $contents );66 $upload = wp_upload_bits( wp_basename( $filename ), null, $contents ); 67 67 $id = $this->_make_attachment( $upload ); 68 68
Note: See TracChangeset
for help on using the changeset viewer.