[wp-trac] [WordPress Trac] #16830: url_to_postid() doesn't resolve attachments when rewrite rules are disabled
WordPress Trac
noreply at wordpress.org
Sat Aug 17 20:44:11 UTC 2013
#16830: url_to_postid() doesn't resolve attachments when rewrite rules are disabled
---------------------------+------------------------------
Reporter: Coolkevman | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 1.2
Severity: normal | Resolution: invalid
Keywords: |
---------------------------+------------------------------
Changes (by c3mdigital):
* status: new => closed
* version: 3.1 => 1.2
* resolution: => invalid
Comment:
I can't think of a use case for needing the attachment_id when you have
the full url to the actual image, maybe to get the attachment meta data?
I'm closing but if anyone has a use case that I'm missing please reopen.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16830#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list