Changeset 41346
- Timestamp:
- 09/08/2017 02:02:43 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r41152 r41346 1624 1624 $get_posts = new WP_Query; 1625 1625 $posts = $get_posts->query( $query ); 1626 // Check if any posts were found.1627 if ( ! $get_posts->post_count )1628 return false;1629 1626 1630 1627 // Build results. … … 1666 1663 * @param array $query An array of WP_Query arguments. 1667 1664 */ 1668 return apply_filters( 'wp_link_query', $results, $query ); 1665 $results = apply_filters( 'wp_link_query', $results, $query ); 1666 1667 return ! empty( $results ) ? $results : false; 1669 1668 } 1670 1669
Note: See TracChangeset
for help on using the changeset viewer.