[wp-trac] [WordPress Trac] #45059: Changed meaningless variable name "$r" (was: Changed meaningless variable name "$r" from wp-include/category-template.php file)

WordPress Trac noreply at wordpress.org
Sun Oct 7 16:16:39 UTC 2018


#45059: Changed meaningless variable name "$r"
-------------------------------------------------+-------------------------
 Reporter:  freewebmentor                        |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:  4.9.8
 Severity:  minor                                |  Resolution:
 Keywords:  has-patch dev-feedback needs-        |     Focuses:  coding-
  refresh                                        |  standards
-------------------------------------------------+-------------------------
Changes (by mukesh27):

 * keywords:  has-patch => has-patch dev-feedback needs-refresh
 * focuses:  template => coding-standards
 * severity:  normal => minor


Comment:

 Hi @freewebmentor, Welcome to WordPress Trac! Thank you for your ticket.

 We have to change all meaningless variables in core as per coding
 standards.

 Also there are many files which used {{{ $r }}} as array so if we have to
 change {{{ $r }}} variable then we have to change that variable from all
 files.

 For your information WordPress core {{{ wp-includes }}} folder **33
 files** and {{{ wp-admin }}} folder **12 files** contain {{{ $r }}}
 variables.

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


More information about the wp-trac mailing list