File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -100,20 +100,17 @@ function _wp_ajax_menu_quick_search( $request = array() ) {
100100 * @param array $args {
101101 * Menu quick search arguments.
102102 *
103- * @type boolean $no_found_rows Whether to return found rows data. Default true.
103+ * @type boolean $no_found_rows Whether to return found rows data. Default true.
104104 * @type boolean $update_post_meta_cache Whether to update post meta cache. Default false.
105105 * @type boolean $update_post_term_cache Whether to update post term cache. Default false.
106- * @type int $posts_per_page Number of posts to return. Default 10.
107- * @type string $post_type Type of post to return.
108- * @type string $s Search query.
109- * @type array $search_columns Which post table columns to query.
106+ * @type int $posts_per_page Number of posts to return. Default 10.
107+ * @type string $post_type Type of post to return.
108+ * @type string $s Search query.
109+ * @type array $search_columns Which post table columns to query.
110110 * }
111111 */
112112 $ query_args = apply_filters ( 'wp_ajax_menu_quick_search_args ' , $ query_args );
113- $ args = array_merge (
114- $ args ,
115- $ query_args
116- );
113+ $ args = array_merge ( $ args , $ query_args );
117114
118115 if ( isset ( $ post_type_obj ->_default_query ) ) {
119116 $ args = array_merge ( $ args , (array ) $ post_type_obj ->_default_query );
You can’t perform that action at this time.
0 commit comments