[wp-trac] [WordPress Trac] #39649: $doaction variable doesn't follow the naming conventions in edit-comments.php:98

WordPress Trac noreply at wordpress.org
Sat Jan 21 02:01:14 UTC 2017


#39649: $doaction variable doesn't follow the naming conventions in edit-
comments.php:98
-------------------------+------------------------------
 Reporter:  xayer        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:  close        |     Focuses:
-------------------------+------------------------------
Changes (by azaozz):

 * keywords:   => close
 * component:  Quick/Bulk Edit => General


Comment:

 Unfortunately `$doaction` is a global that has been used for many years,
 long before there were any guidelines or naming conventions. Renaming it
 is out of the question (break back-compat).

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


More information about the wp-trac mailing list