[wp-trac] [WordPress Trac] #39373: url_to_postid() returning post ID for external URL

WordPress Trac noreply at wordpress.org
Tue Jul 11 08:41:41 UTC 2017


#39373: url_to_postid() returning post ID for external URL
--------------------------------------+-------------------------
 Reporter:  jkhongusc                 |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.9
Component:  Embeds                    |     Version:  4.5.3
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:
--------------------------------------+-------------------------

Comment (by ivankristianto):

 I agree to do direct check in url_to_postid so it won't cause any future
 false positive anymore.

 I attached my patch above.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39373#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list