#31048 closed defect (bug) (fixed)
Missing PHPDoc $content param text in shortcode.php
Reported by: | cais | Owned by: | DrewAPicture |
---|---|---|---|
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
@
10 years ago
Noticed some other inconsistencies, see 31048.2.patch.
#3
in reply to:
↑ 1
@
10 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
$tag
and 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
$tag
and the return value. Would you care to include those in your patch?