[wp-trac] [WordPress Trac] #26543: Backbone Routing doesn't support query arguments as parseable route components. WordPress uses them extensively, so it'd be worthwhile to support them in wp-backbone.js for ease of use.

WordPress Trac noreply at wordpress.org
Fri Feb 14 19:28:01 UTC 2014


#26543: Backbone Routing doesn't support query arguments as parseable route
components. WordPress uses them extensively, so it'd be worthwhile to
support them in wp-backbone.js for ease of use.
-------------------------------------+------------------------------
 Reporter:  matveb                   |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  3.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+------------------------------

Comment (by matveb):

 Thanks for the patch, ehg.

 From Backbone 1.1.1 release notes: ''Added an execute hook to the Router,
 which allows you to hook in and custom-parse route arguments, like query
 strings, for example.'' Hat-tip mattwiebe

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


More information about the wp-trac mailing list