[wp-trac] [WordPress Trac] #37222: Add better add_shortcode documentation
WordPress Trac
noreply at wordpress.org
Sun Aug 20 19:47:24 UTC 2017
#37222: Add better add_shortcode documentation
----------------------------+---------------------------
Reporter: grapplerulrich | Owner: DrewAPicture
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9
Component: Shortcodes | Version: 2.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
----------------------------+---------------------------
Comment (by DrewAPicture):
In [changeset:"41282"]:
{{{
#!CommitTicketReference repository="" revision="41282"
Shortcodes: Rename the `$func` parameter for `add_shortcode()` to
`$callback` to improve clarity.
See #37222. See #41017.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37222#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list