[wp-trac] [WordPress Trac] #12267: Upgrade loop objects to provide identical presentational interfaces

WordPress Trac noreply at wordpress.org
Thu Mar 17 08:10:30 UTC 2016


#12267: Upgrade loop objects to provide identical presentational interfaces
-------------------------+------------------------------
 Reporter:  andy         |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by DrewAPicture):

 * keywords:   => has-patch


Comment:

 @sebastian.pisula looking at [attachment:36235.patch], seems like there's
 inconsistency in method naming. I think we should err on the side of
 always excluding `_post_` in method names because it's mostly moot in the
 scope of a post object class.

 This also promotes consistency in later decorating other objects with
 similar methods.

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


More information about the wp-trac mailing list