Changeset 40078 for branches/4.7/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
- Timestamp:
- 02/19/2017 03:18:38 AM (10 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
r39957 r40078 345 345 346 346 if ( ! empty( $schema['properties']['author'] ) ) { 347 $data['author'] = $post->post_author;347 $data['author'] = (int) $post->post_author; 348 348 } 349 349
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)