[wp-trac] [WordPress Trac] #37222: Add better add_shortcode documentation

WordPress Trac noreply at wordpress.org
Sun Aug 20 19:55:26 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:"41283"]:
 {{{
 #!CommitTicketReference repository="" revision="41283"
 Docs: Clarify that the second parameter passed to a shortcode callback is
 the shortcode content or null, rather than the content the shortcode was
 found in.

 See #37222.
 }}}

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


More information about the wp-trac mailing list