[wp-trac] [WordPress Trac] #17584: Add post_type_supports filter

WordPress Trac wp-trac at lists.automattic.com
Fri May 27 07:17:40 UTC 2011


#17584: Add post_type_supports filter
-----------------------------+------------------------------
 Reporter:  mitchoyoshitaka  |       Owner:  mitchoyoshitaka
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Types       |     Version:
 Severity:  trivial          |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by nacin):

 I'm thinking that `$args` as in `array_slice( func_get_args(), 2 );`
 should get passed along. That can be quite helpful. As an example, we use
 it for post thumbnails by post type. We can also remove the otherwise
 commented code.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17584#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list