Opened 2 years ago
Closed 2 years ago
#60581 closed enhancement (fixed)
Redundant variable type check
| Reported by: | david.binda | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6 |
| Component: | Shortcodes | Version: | 6.5 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
Description
After the r57597, which is ensuring that the return type of the shortcode_parse_atts function is always an array, the is_array check in get_post_galleries function is, IMHO, no longer needed.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Makes sense, good catch.