Changeset 47219 for trunk/src/wp-includes/revision.php
- Timestamp:
- 02/09/2020 04:52:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/revision.php
r47122 r47219 355 355 } 356 356 357 if ( $output == OBJECT) {357 if ( OBJECT == $output ) { 358 358 return $revision; 359 } elseif ( $output == ARRAY_A) {359 } elseif ( ARRAY_A == $output ) { 360 360 $_revision = get_object_vars( $revision ); 361 361 return $_revision; 362 } elseif ( $output == ARRAY_N) {362 } elseif ( ARRAY_N == $output ) { 363 363 $_revision = array_values( get_object_vars( $revision ) ); 364 364 return $_revision;
Note: See TracChangeset
for help on using the changeset viewer.