[wp-trac] [WordPress Trac] #43056: Notice in redirect_guess_404_permalink() when post type is an array

WordPress Trac noreply at wordpress.org
Sun Oct 18 23:21:19 UTC 2020


#43056: Notice in redirect_guess_404_permalink() when post type is an array
--------------------------------------+----------------------------
 Reporter:  junaidbhura               |       Owner:  peterwilsoncc
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.6
Component:  Canonical                 |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------------
Changes (by peterwilsoncc):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49200" 49200]:
 {{{
 #!CommitTicketReference repository="" revision="49200"
 Canonical: Support multiple post types in
 `redirect_guess_404_permalink()`.

 Prevent `redirect_guess_404_permalink()` from throwing a notice when
 multiple post types are included in the `post_type` query.

 Props junaidbhura.
 Fixes #43056.
 }}}

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


More information about the wp-trac mailing list