[wp-trac] [WordPress Trac] #25440: Wrong doc block for translate_smiley()
WordPress Trac
noreply at wordpress.org
Sun Sep 29 07:49:19 UTC 2013
#25440: Wrong doc block for translate_smiley()
--------------------------+-----------------------------
Reporter: toscho | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 2.8
Severity: minor | Keywords: has-patch
--------------------------+-----------------------------
Currently, the doc block says the function `translate_smiley()` expects a
string as parameter. This is confusing, because it is a callback handler
for `preg_replace_callback()`, so it must be an array.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25440>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list