[wp-trac] [WordPress Trac] #39254: When in Customizer Preview, starter content posts are not displayed in the loop

WordPress Trac noreply at wordpress.org
Sat Mar 25 04:48:03 UTC 2017


#39254: When in Customizer Preview, starter content posts are not displayed in the
loop
-------------------------------------+-------------------------------------
 Reporter:  tiagonoronha             |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.7.4
Component:  Customize                |     Version:  4.7
 Severity:  normal                   |  Resolution:
 Keywords:  needs-unit-tests has-    |     Focuses:  administration,
  patch needs-testing                |  template
-------------------------------------+-------------------------------------

Comment (by westonruter):

 @tiagonoronha you're absolutely right. Not sure how I missed that. I just
 pushed up another change that both fixes and simplifies the logic for
 including the starter content posts in queries for posts that have a
 `publish` post status. See
 https://gist.github.com/westonruter/5e8fc5b2a972392d85af4d7befcbb8da

 Could you give it another test?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39254#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list