#31048 closed defect (bug) (fixed)
Missing PHPDoc $content param text in shortcode.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.2 | Priority: | normal |
| Severity: | normal | Version: | 3.6 |
| Component: | Shortcodes | Keywords: | |
| Focuses: | docs | Cc: |
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
Notice some other inconsistencies, see 31048.2.patch.
Version 0, edited 11 years ago
by
(next)
#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.
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?