[wp-trac] [WordPress Trac] #45329: get_post_permalink tries is_wp_error on get_post which it will never be

WordPress Trac noreply at wordpress.org
Wed Jul 20 15:44:24 UTC 2022


#45329: get_post_permalink tries is_wp_error on get_post which it will never be
------------------------------------------+-----------------------------
 Reporter:  renegeuze                     |       Owner:  SergeyBiryukov
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  6.1
Component:  Posts, Post Types             |     Version:
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53734" 53734]:
 {{{
 #!CommitTicketReference repository="" revision="53734"
 Docs: Add a `@since` note for `get_post_permalink()` returning `false` on
 failure.

 Follow-up to [53733].

 See #45329.
 }}}

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


More information about the wp-trac mailing list