[wp-trac] [WordPress Trac] #55098: Use meaningful variable name for "$s" and "$tax" in wp_ajax_ajax_tag_search()

WordPress Trac noreply at wordpress.org
Sun Feb 6 20:42:32 UTC 2022


#55098: Use meaningful variable name for "$s" and "$tax" in
wp_ajax_ajax_tag_search()
------------------------------+-----------------------------
 Reporter:  azouamauriac      |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 Change name of followings variables to give them more meaning: $tax, $s.

 update documentation too
 https://developer.wordpress.org/reference/hooks/term_search_min_chars/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55098>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list