Opened 10 years ago
Closed 10 years ago
#31044 closed defect (bug) (fixed)
attachment_url_to_postid() does not always return result
Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | good-first-bug has-patch |
Focuses: | Cc: |
Description
attachment_url_to_postid() should always return an integer, like url_to_postid() does.
Currently, if the ID is not found, it returns nothing.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch for attachment_url_to_postid