Skip to content

Commit

Permalink
Remove other comment to make PHPCS happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jun 8, 2020
1 parent fde1244 commit e3e9763
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,6 @@ function filter_rest_wp_template_collection_params( $query_params ) {
* @return array Filtered $args.
*/
function filter_rest_wp_template_query( $args, $request ) {
/**
* @see filter_rest_wp_template_part_query
*/
if ( $request['resolved'] ) {
$template_ids = array( 0 ); // Return nothing by default (the 0 is needed for `post__in`).
$template_types = $request['slug'] ? $request['slug'] : get_template_types();
Expand Down

0 comments on commit e3e9763

Please sign in to comment.