[wp-trac] [WordPress Trac] #25661: Inline Docs: Array notation documentation for shortcode attributes
WordPress Trac
noreply at wordpress.org
Tue Oct 22 00:02:38 UTC 2013
#25661: Inline Docs: Array notation documentation for shortcode attributes
--------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Inline Docs | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by DrewAPicture):
Replying to [comment:3 SergeyBiryukov]:
> `$output = ''` and `$html = ''` should probably be moved above the
docblocks.
Actually, a couple of weeks ago we opted to take the approach of leaving
the original value in the hook call and referencing a nonexistent variable
in the phpdoc. So rather than creating a one-time variable, we'd just
continue to pass `''` and reference `$html` in the doc block.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25661#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list