[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
Mon Feb 7 14:58:36 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:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration, coding-standards
--------------------------+-----------------------------------------------
Changes (by azouamauriac):

 * keywords:   => has-patch


Comment:

 @SergeyBiryukov i renamed "$tax" to "$taxonomy_object" since there is
 already another variable named "$taxonomy" in the same function...

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


More information about the wp-trac mailing list