[wp-trac] [WordPress Trac] #12702: Enable sticky post checkbox for custom post type Publish metabox

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 30 09:38:00 UTC 2010


#12702: Enable sticky post checkbox for custom post type Publish metabox
-----------------------------+----------------------------------------------
 Reporter:  phlux0r          |       Owner:                
     Type:  feature request  |      Status:  new           
 Priority:  normal           |   Milestone:  Future Release
Component:  Post Types       |     Version:                
 Severity:  normal           |    Keywords:  needs-patch   
-----------------------------+----------------------------------------------

Comment(by nacin):

 Reviewing the second patch:

 Instead of `sticky_{post_type}` we can do a single option that holds all
 sticky IDs, grouped by post type. We can then just keep sticky_posts
 sync'd for theme usage purposes.

 It's actually not the O(N) options that concern me, but the fact that
 they're not properly set up and thus we may be running queries on
 nonexistent options. That's no fun.

 Anyone else have an idea on how to store it all?

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


More information about the wp-trac mailing list