[wp-trac] [WordPress Trac] #42423: redirect_guess_404_permalink passes array of post types with single placeholder

WordPress Trac noreply at wordpress.org
Fri Feb 1 12:29:08 UTC 2019


#42423: redirect_guess_404_permalink passes array of post types with single
placeholder
--------------------------+------------------------------
 Reporter:  augustuswm    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Canonical     |     Version:  4.8.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by DaveFX):

 I can confirm this error. According to WP_Query class, post_type could be
 a string or an array of strings. However, these lines only support the
 single-string case.

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


More information about the wp-trac mailing list