[wp-trac] [WordPress Trac] #24672: Remove final from WP_Post class

WordPress Trac noreply at wordpress.org
Wed Mar 30 00:24:29 UTC 2016


#24672: Remove final from WP_Post class
-------------------------------+-------------------------
 Reporter:  carlalexander      |       Owner:
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  3.5
 Severity:  normal             |  Resolution:  maybelater
 Keywords:                     |     Focuses:
-------------------------------+-------------------------
Changes (by Gerkin):

 * type:  defect (bug) => enhancement


Comment:

 Hi WordPress team,
 I'd like to extend WP_Post in my plugins too. Why don't you plan to create
 a new class for the junction with WP_Term, WP_Comment, etc etc, and let us
 extend WP_Post with plugin-specific logic?

 Thank you for your attention.

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


More information about the wp-trac mailing list