[wp-trac] [WordPress Trac] #15995: query is separating post_type 'post' from custom post_types when retrieving custom field

WordPress Trac noreply at wordpress.org
Sun Jul 28 21:11:53 UTC 2013


#15995: query is separating post_type 'post' from custom post_types when retrieving
custom field
--------------------------+------------------------------
 Reporter:  bowstreet     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Post Types    |     Version:  3.0.3
 Severity:  normal        |  Resolution:  invalid
 Keywords:  close         |
--------------------------+------------------------------
Changes (by theaussiepea):

 * cc: theaussiepea (added)
 * keywords:  dev-feedback => close
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Tested this at Contributor Day 2013:
 Sticky posts currently use the following format in the postmeta table:

 {{{
 meta_key => 'sticky',
 meta_value => 'sticky',
 }}}

 If the provided files in stickybug_theme.zip are modified to reflect this,
 but in saving the post meta and in the meta query arguments, the posts
 sort correctly. (See attached screenshot)

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


More information about the wp-trac mailing list