[wp-trac] [WordPress Trac] #24202: Self-explanatory argument values for new media functions
WordPress Trac
noreply at wordpress.org
Thu May 2 17:52:22 UTC 2013
#24202: Self-explanatory argument values for new media functions
--------------------------------------+--------------------
Reporter: SergeyBiryukov | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback 2nd-opinion |
--------------------------------------+--------------------
Comment (by DrewAPicture):
[attachment:24202.diff] takes a stab at a first pass converting args to
arrays. I didn't really touch the docblocks yet.
{{{
$type – becomes – 'type' (string)
$content – becomes – 'content' (string)
$html – becomes – 'return_html' (bool)
$remove – becomes – 'remove_from_content' (bool)
$limit – becomes – 'media_count' (int)
$replace – becomes - 'replace_with' (string)
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24202#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list