[wp-trac] [WordPress Trac] #39785: posts_selection hook incorrectly concatenates selection query strings

WordPress Trac noreply at wordpress.org
Fri Feb 17 03:36:29 UTC 2017


#39785: posts_selection hook incorrectly concatenates selection query strings
--------------------------+----------------------
 Reporter:  bigevilbrain  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  4.7.2
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 @bigevilbrain Thanks for the ticket, and welcome to WordPress Trac!

 Very strange - I have seen this action before, but never noticed the way
 it concatenated query fragments. The hook was introduced in [5916] #4799
 and hasn't been touched since. I don't see any meaningful use of it on
 GitHub, and while I haven't done a proper search of the plugin repo, I'd
 be quite surprised if anyone's done anything meaningful with it there
 either.

 That said, it's harmless. And changing the data passed to the action could
 potentially break someone who *is* managing to use it in the right way. So
 I think we should probably leave it as is.

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


More information about the wp-trac mailing list