[wp-trac] [WordPress Trac] #36217: WP_Post_Type class

WordPress Trac noreply at wordpress.org
Tue May 10 07:51:20 UTC 2016


#36217: WP_Post_Type class
------------------------------------+------------------
 Reporter:  swissspidy              |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  4.6
Component:  Posts, Post Types       |     Version:  2.9
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+------------------

Comment (by Frank Klein):

 Great work so far. A small detail, not limited to this class, is the use
 of underscores before public method names.

 An example would be `_register()`. I've seen this naming convention used
 in older code, to mark private methods, but this method isn't private.

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


More information about the wp-trac mailing list