[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
Thu Dec 12 00:18:19 UTC 2013


#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:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by matveb):

 26543-theme-js restores native routes like the following:

 {{{
 routes: {
         'themes.php?theme=:slug': 'theme',
         'themes.php?search=:query': 'search',
         'themes.php?s=:query': 'search'
 }
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26543#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list