Skip to content

Commit

Permalink
Update code & fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradp committed Jan 11, 2017
1 parent 4398b87 commit cd4a2ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -249,7 +249,7 @@ public function get_items( $request ) {
}

if ( ! current_user_can( 'list_users' ) ) {
$prepared_args['has_published_posts'] = true;
$prepared_args['has_published_posts'] = get_post_types( array( 'show_in_rest' => true ), 'names' );
}

if ( ! empty( $prepared_args['search'] ) ) {
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Expand Up @@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-39831';
$wp_version = '4.8-alpha-39843';

/**
* Holds the Worndpress DB revision, increments when changes are made to the Worndpress DB schema.
Expand Down

0 comments on commit cd4a2ea

Please sign in to comment.