- Timestamp:
- 09/23/2019 06:54:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-thing.php
r44903 r46262 80 80 public function create_and_get( $args = array(), $generation_definitions = null ) { 81 81 $object_id = $this->create( $args, $generation_definitions ); 82 83 if ( is_wp_error( $object_id ) ) { 84 return $object_id; 85 } 86 82 87 return $this->get_object_by_id( $object_id ); 83 88 }
Note: See TracChangeset
for help on using the changeset viewer.