[wp-trac] [WordPress Trac] #37222: Add better add_shortcode documentation
WordPress Trac
noreply at wordpress.org
Sun Aug 20 19:44:00 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
----------------------------+---------------------------
Changes (by DrewAPicture):
* owner: => DrewAPicture
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"41281"]:
{{{
#!CommitTicketReference repository="" revision="41281"
Docs: Improve documentation for `add_shortcode()` by:
* Removing inline examples already listed in the Code Reference
* Improving the summary and description to explain how tag conflicts are
handled
* Supplement the docs for the `$func` parameter by describing the three
arguments passed to a shortcode callback.
Props grapplerulrich for the initial patch.
Fixes #37222.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37222#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list