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

WordPress Trac noreply at wordpress.org
Tue Feb 23 07:57:14 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:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 Super simple, but I just noticed that the inline documentation for the
 `get_preview_post_link` says it returns `string` but actually it returns
 void as well.

 Trivial patch attached.

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


More information about the wp-trac mailing list