[wp-trac] [WordPress Trac] #24458: Remove attachment_url_to_postid()

WordPress Trac noreply at wordpress.org
Wed Jun 5 20:53:54 UTC 2013


#24458: Remove attachment_url_to_postid()
-------------------------------------+------------------
 Reporter:  aaroncampbell            |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.6
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch needs-codex  |
-------------------------------------+------------------
Description changed by aaroncampbell:

Old description:

> For A/V shortcodes, include the attachment ID instead of just the URL,
> making attachment_url_to_postid() unnecessary.
>
> As per http://make.wordpress.org/core/2013/05/29/post-formats-ui-is-
> exiting-core-will-live-as-a-plugin/

New description:

 For A/V shortcodes, include the attachment ID instead of just the URL,
 making attachment_url_to_postid() unnecessary.

 Transition those IDs on import

 Remove attachment_url_to_postid()

 As per http://make.wordpress.org/core/2013/05/29/post-formats-ui-is-
 exiting-core-will-live-as-a-plugin/

--

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24458#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list