[wp-trac] [WordPress Trac] #51652: Inconsistent naming in JavaScript function

WordPress Trac noreply at wordpress.org
Wed Oct 28 00:30:47 UTC 2020


#51652: Inconsistent naming in JavaScript function
-----------------------------+-------------------------------------------
 Reporter:  ribaricplusplus  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  4.0
 Severity:  trivial          |  Resolution:
 Keywords:  has-patch        |     Focuses:  javascript, coding-standards
-----------------------------+-------------------------------------------
Changes (by davidbaumwald):

 * version:  trunk => 4.0


Comment:

 Hi @ribaricplusplus and welcome to Core Trac!  Great catch!

 This goes back to [https://core.trac.wordpress.org/changeset/29450 this
 commit] back in the 4.0 cycle.  Interestingly, the docs directly above the
 method refer to the param as `staticProps`.

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


More information about the wp-trac mailing list