[wp-meta] [Making WordPress.org] #686: Searching functions with parenthesis returns no results for valid funtion names

Making WordPress.org noreply at wordpress.org
Tue Oct 28 20:04:46 UTC 2014


#686: Searching functions with parenthesis returns no results for valid funtion
names
---------------------+-------------------------------------
Reporter:  blobaugh  |      Owner:
    Type:  defect    |     Status:  new
Priority:  normal    |  Component:  developer.wordpress.org
Keywords:            |
---------------------+-------------------------------------
 When using the code reference search form at
 https://developer.wordpress.org/reference/ for functions by name with and
 without the parenthesis changes the results.

 For example, searching for 'sanitize_text_field()' will return zero
 results
 https://developer.wordpress.org/?s=sanitize_text_field%28%29&post_type
 []=wp-parser-function&post_type[]=wp-parser-hook&post_type[]=wp-parser-
 class&post_type[]=wp-parser-method

 While searching for 'sanitize_text_field' returns multiple results
 https://developer.wordpress.org/?s=sanitize_text_field&post_type[]=wp-
 parser-function&post_type[]=wp-parser-hook&post_type[]=wp-parser-
 class&post_type[]=wp-parser-method

 Searching with the () should return the function and searching without ()
 should return both the function and the hook.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/686>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list