[wp-trac] [WordPress Trac] #35915: Documentation of `get_preview_post_link` declares missing return variable type information

WordPress Trac noreply at wordpress.org
Wed May 25 18:24:35 UTC 2016


#35915: Documentation of `get_preview_post_link` declares missing return variable
type information
----------------------------------------------------+-------------------
 Reporter:  chris_dev                               |       Owner:
     Type:  defect (bug)                            |      Status:  new
 Priority:  normal                                  |   Milestone:  4.6
Component:  General                                 |     Version:  4.4
 Severity:  trivial                                 |  Resolution:
 Keywords:  has-patch has-unit-tests needs-refresh  |     Focuses:  docs
----------------------------------------------------+-------------------

Comment (by DrewAPicture):

 In [changeset:"37564"]:
 {{{
 #!CommitTicketReference repository="" revision="37564"
 Docs: Update the return description for `get_preview_post_link()` to note
 that it can also return null.

 Props chris_dev, swissspidy.
 See #35915.
 }}}

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


More information about the wp-trac mailing list