#31048 closed defect (bug) (fixed)
Missing PHPDoc $content param text in shortcode.php
| Reported by: | cais | Owned by: | DrewAPicture |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Shortcodes | Version: | 3.6 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | docs |
Description
There appears to be no PHPDoc param text for the $content variable being passed to has_shortcode(). The attached patch uses the same text for $content as used in do_shortcode().
Attachments (2)
Change History (8)
#2
@
11 years ago
Noticed some other inconsistencies, see 31048.2.patch.
#3
in reply to: ↑ 1
@
11 years ago
Replying to DrewAPicture:
Hi cais, thanks for the patch.
I think if we're in there adding a missing parameter and description, we should probably also cover the description for
$tagand the return value. Would you care to include those in your patch?
... looks like I wasn't quick enough. Sergey appears to have covered those.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi cais, thanks for the patch.
I think if we're in there adding a missing parameter and description, we should probably also cover the description for
$tagand the return value. Would you care to include those in your patch?