#26951 closed enhancement (fixed)
Add has_image_size()
| Reported by: | mordauk | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9 |
| Component: | Media | Version: | 3.8 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description (last modified by )
The remove_image_size() function is proposed as being introduced in #26768.
markoheijnen suggested that has_image_size() also be added.
I can recall a few scenarios when I've needed to check if an image size exists, so I'm all for it.
Attachments (1)
Change History (11)
#1
@
12 years ago
Unit tests for this (also add_image_size() and remove_image_size()) added in ticket:26768:26768-tests.patch on #26768
This ticket was mentioned in Slack in #core-media by desrosj. View the logs.
9 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds has_image_size()