Opened 11 years ago
Closed 11 years ago
#34522 closed defect (bug) (fixed)
Incorrect docblock for embed_defaults filter
| Reported by: | swissspidy | Owned by: | DrewAPicture |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Embeds | Version: | 2.9 |
| Severity: | trivial | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs |
Description (last modified by )
The embed_defaults filter passes width and height in an array (using compact), and the url as a second param. The docblock lists three params though.
It should be made clear that only two paerams are passed to the filter callback.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 35485: