Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #12955, comment 54


Ignore:
Timestamp:
11/19/2016 01:25:24 AM (8 years ago)
Author:
MikeSchinkel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12955, comment 54

    initial v1  
    44> 1. The WP_Post class needs to have Final removed so it can be extended properly.
    55
    6 Do that, and this filter is much less needed.  For me this ticket is a workaround to `WP_Post` being `final`.
     6Do that, and this filter is much less needed. 
     7
     8For me the entire point of this ticket is a workaround to `WP_Post` being `final`.
    79
    810> @MikeSchinkel - here is a full example based on the extendable Post class I linked above and how we are using it in a themeable plugin.