Changeset 58208
- Timestamp:
- 05/27/2024 01:53:55 PM (7 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r58149 r58208 1156 1156 // WARNING: The file is not automatically deleted, the script must delete or move the file. 1157 1157 if ( ! $url ) { 1158 return new WP_Error( 'http_no_url', __( ' InvalidURL Provided.' ) );1158 return new WP_Error( 'http_no_url', __( 'No URL Provided.' ) ); 1159 1159 } 1160 1160 -
trunk/tests/phpunit/tests/admin/includesFile.php
r56559 r58208 295 295 $this->assertWPError( $error ); 296 296 $this->assertSame( 'http_no_url', $error->get_error_code() ); 297 $this->assertSame( ' InvalidURL Provided.', $error->get_error_message() );297 $this->assertSame( 'No URL Provided.', $error->get_error_message() ); 298 298 } 299 299
Note: See TracChangeset
for help on using the changeset viewer.