[wp-trac] [WordPress Trac] #39373: url_to_postid() returning post ID for external URL
WordPress Trac
noreply at wordpress.org
Fri Oct 6 23:28:40 UTC 2017
#39373: url_to_postid() returning post ID for external URL
--------------------------------------+-------------------------
Reporter: jkhongusc | Owner: swissspidy
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9
Component: Embeds | Version: 4.5.3
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"41786"]:
{{{
#!CommitTicketReference repository="" revision="41786"
Rewrite: In `url_to_postid()`, bail early if the URL does not belong to
the site.
Props ivankristianto, swissspidy, jkhongusc, SergeyBiryukov.
Fixes #39373.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39373#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list