[wp-trac] [WordPress Trac] #43041: Rename the capital_P_dangit function

WordPress Trac noreply at wordpress.org
Mon Jan 8 10:35:16 UTC 2018


#43041: Rename the capital_P_dangit function
-------------------------+-------------------------------
 Reporter:  danieltj     |       Owner:  pento
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.0
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |     Focuses:  coding-standards
-------------------------+-------------------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42429"]:
 {{{
 #!CommitTicketReference repository="" revision="42429"
 Formatting: Fix capital_P_dangit() not capital P-ing, dangit.

 Unfortunately, in my overzealous desire to fix all the un-capitalised Ps,
 [42343] capitalled some Ps that intentionally should not be capitals.

 This commit fixes the incorrectly capitalling of Ps, as well as including
 unit tests and PHPCS instructions to ensure we never capitulate to
 capitalisationing them again.

 Props superdav42.
 Fixes #43040.
 Fixes #43041.
 }}}

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


More information about the wp-trac mailing list