Changeset 57380
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r57312 r57380 185 185 if ( is_wp_error( $fields_update ) ) { 186 186 return $fields_update; 187 188 189 190 191 192 187 193 } 188 194 -
trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php
r56549 r57380 1044 1044 $attachment = $response->get_data(); 1045 1045 $this->assertStringNotContainsString( ABSPATH, get_post_meta( $attachment['id'], '_wp_attached_file', true ) ); 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1046 1068 } 1047 1069
Note: See TracChangeset
for help on using the changeset viewer.