[wp-trac] [WordPress Trac] #19055: Post type check on top of wp-admin/edit.php enhancement

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 27 19:46:59 UTC 2011


#19055: Post type check on top of wp-admin/edit.php enhancement
------------------------------------+------------------------------
 Reporter:  markoheijnen            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Post Types              |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------

Comment (by CoenJacobs):

 Replying to [comment:5 kawauso]:
 > Attached a patch that condenses it down to just
 > {{{
 > $post_type = isset( $_GET['post_type'] ) ? $_GET['post_type'] : 'post';
 > }}}
 > and checks that instead.
 That still defaults to the post type: post. That is exactly what we're
 trying to get away from.

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


More information about the wp-trac mailing list