[wp-trac] [WordPress Trac] #26565: revisions.js routing doesn't actually do anything. Remove dead code.

WordPress Trac noreply at wordpress.org
Thu Dec 12 00:22:35 UTC 2013


#26565: revisions.js routing doesn't actually do anything. Remove dead code.
----------------------------+-----------------------------
 Reporter:  markjaquith     |      Owner:
     Type:  task (blessed)  |     Status:  new
 Priority:  low             |  Milestone:  Awaiting Review
Component:  Revisions       |    Version:  3.6
 Severity:  trivial         |   Keywords:
----------------------------+-----------------------------
 matveb and adamsilverstein pointed out to me that the revisions.js routing
 doesn't actually do anything because Backbone doesn't support parsing of
 query args. The reason that it works is that we're pre-populating the
 variables in PHP and handing them off to the JS. So the routes and their
 callback are dead code that can just be removed.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26565>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list