Opened 13 years ago
Closed 13 years ago
#24270 closed defect (bug) (fixed)
Post Formats: get_post_gallery() can return an array when asked for a string
| Reported by: | kovshenin | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Post Formats | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description (last modified by )
If the requested post is not found or does not contain a gallery shortcode, get_post_gallery returns an empty array, regardless of what the $html argument is set to.
Attachments (4)
Change History (12)
#2
@
13 years ago
- Description modified (diff)
- Summary Post Formats: get_post_galleries() can return an array when asked for a string → Post Formats: get_post_gallery() can return an array when asked for a string
#6
@
13 years ago
- Keywords commit added
my new patch applies cleanly and handles both cases 24270.3.diff
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Sorry, blamed the wrong function :)
get_post_galleryis the one and 24270.2.diff is the fix.