[wp-trac] [WordPress Trac] #25330: Twenty Fourteen: Filter the home page posts and remove post formatted posts that are visible in the ephemera widgets

WordPress Trac noreply at wordpress.org
Fri Sep 20 13:10:26 UTC 2013


#25330: Twenty Fourteen: Filter the home page posts and remove post formatted posts
that are visible in the ephemera widgets
-------------------------------------+--------------------
 Reporter:  iamtakashi               |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.8
Component:  Bundled Theme            |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------
Changes (by Frank Klein):

 * cc: contact@… (removed)


Comment:

 Updated patch with the following modifications:
 * Use `get_posts()` instead of a `WP_Query`
 * Make sure the IDs to exclude are unique via `array_unique()`
 * Add documentation
 * Formatting fixes

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


More information about the wp-trac mailing list