[wp-trac] [WordPress Trac] #20560: url_to_postid() string matching is not strict enough, can lead to incorrect results
WordPress Trac
noreply at wordpress.org
Thu Sep 5 17:28:54 UTC 2013
#20560: url_to_postid() string matching is not strict enough, can lead to incorrect
results
-------------------------------------+-----------------------------
Reporter: gradyetc | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.7
Component: Query | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing |
-------------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"25258"]:
{{{
#!CommitTicketReference repository="" revision="25258"
Avoids incorrect results when `url_to_postid()` checking is not strict
enough. Adds a bunch of Unit Tests for `url_to_postid()', which is
currently only tested lightly in some XML-RPC tests.
Props gcorne, gradyetc.
Fixes #20560.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20560#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list