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

WordPress Trac noreply at wordpress.org
Thu Feb 1 08:24:05 UTC 2018


#43041: Rename the capital_P_dangit function
------------------------------+-------------------------------
 Reporter:  danieltj          |       Owner:  jrf
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  5.0
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  coding-standards
------------------------------+-------------------------------

Comment (by danieltj):

 Replying to [comment:1 pento]:
 > Renaming it is definitely out, but I agree that the coding standards
 warnings are a problem. Let's see what I can do... 😉

 How come?

 The description even says:
 > Violating our coding standards for a good function name.

 Surely the idea is to ensure everything is kept consistent across the code
 base? I'd insist that it's changed to be more appropriate as whilst it's
 amusing to begin with, '''violating code standards for a joke wouldn't be
 tolerated elsewhere'''.

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


More information about the wp-trac mailing list