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

WordPress Trac noreply at wordpress.org
Tue Jul 2 03:48:03 UTC 2013


#24672: Remove final from WP_Post class
---------------------------+-----------------------------
 Reporter:  carlalexander  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  trunk
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 After discussing it with stephdau and reading through #21309, I think a
 discussion should be had on the validity of using the final keyword on the
 class.

 While I agree that a decorator pattern is probably best for building the
 class, there is still no reason for the keyword to be used. If someone
 wants to extend the class then they should be allowed to do so.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24672>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list