[wp-trac] [WordPress Trac] #34875: Allow developers to use an extended version of WP_Post (also WP_Term & WP_Comment)

WordPress Trac noreply at wordpress.org
Sun Dec 6 19:57:58 UTC 2015


#34875: Allow developers to use an extended version of WP_Post (also WP_Term &
WP_Comment)
-------------------------------+------------------------------
 Reporter:  flixos90           |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.4
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by nacin):

 I think I'm still against this. I'd like to see us start to add methods to
 these functions. If others are allowed to extend `WP_Post` et al., core
 will end up breaking their code, and I don't think core should take on
 this responsibility right now.

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


More information about the wp-trac mailing list