[wp-trac] [WordPress Trac] #12955: Add get_post filter

WordPress Trac noreply at wordpress.org
Wed May 30 20:29:05 UTC 2018


#12955: Add get_post filter
-------------------------------------------------+-------------------------
 Reporter:  JohnLamansky                         |       Owner:  (none)
     Type:  feature request                      |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-        |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by MikeSchinkel):

 Replying to [comment:80 danieltj]:
 > I'm slightly confused as to the direction of this ticket, sorry. I've
 had a quick skim through the recent discussion here but how come the
 original patch that was suggested is no longer valid here? The original
 direction is to add a filter and it seems it's shifted into wrapper
 classes for a different purpose?

 Sorry, I can see how I made it confusing.

 To hopefully clarify I made an alternate proposal in #43740 but soon after
 realized **there are really two (2) use-cases** and that **the original
 use-case in this ticket is valid for custom post types**.

 So I am proposing we continue with a modified version of this ticket as
 per [comment:76 comment:76] and also that we implement the hooks
 identified in [comment:69 comment:96] as proposed in #43740.

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


More information about the wp-trac mailing list