[wp-trac] [WordPress Trac] #40780: Update docblocks & parameters in wp-includes/link-template.php for post-related functions
WordPress Trac
noreply at wordpress.org
Tue May 16 19:11:22 UTC 2017
#40780: Update docblocks & parameters in wp-includes/link-template.php for post-
related functions
-------------------------+-----------------------------
Reporter: GunGeekATX | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
The following functions have docblocks and parameters that appear to only
accept the post ID, but the underlying code calls `get_post()` so either
post ID or a post object can be accepted.
* get_post_permalink()
* get_edit_post_link()
* edit_post_link()
* get_delete_post_link()
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40780>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list