Opened 10 years ago
Closed 10 years ago
#25440 closed defect (bug) (fixed)
Wrong doc block for translate_smiley()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | minor | Version: | 2.8 |
Component: | Inline Docs | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (2)
Change History (5)
#1
@
10 years ago
- Milestone changed from Awaiting Review to 3.7
25440.patch also renames the parameter for clarity and consistency with wp_rel_nofollow_callback()
and _make_*_clickable_cb()
.
Note: See
TracTickets for help on using
tickets.
Fix doc block