[wp-trac] [WordPress Trac] #42423: Warning in redirect_guess_404_permalink if $query->post_type is an array instead of a string

WordPress Trac noreply at wordpress.org
Mon Feb 4 04:29:03 UTC 2019


#42423: Warning in redirect_guess_404_permalink if $query->post_type is an array
instead of a string
--------------------------+------------------------------
 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:
--------------------------+------------------------------
Changes (by nikhiltechahead):

 * Attachment "42423.diff" added.

 Remove warning in redirect_guess_404_permalink. It supports post_type only
 single-case-string but this could be array or string both.

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


More information about the wp-trac mailing list