[wp-trac] [WordPress Trac] #24425: Revisions cleanup

WordPress Trac noreply at wordpress.org
Wed Jul 10 05:40:46 UTC 2013

#24425: Revisions cleanup
 Reporter:  markjaquith     |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  high            |   Milestone:  3.6
Component:  Revisions       |     Version:  trunk
 Severity:  blocker         |  Resolution:
 Keywords:                  |

Comment (by markjaquith):

 In [changeset:"24636"]:
 #!CommitTicketReference repository="" revision="24636"
 Revisions: remove some redundant code.

 * Move some slider code into the slider view that was loitering in the
 checkmark view.
 * `this.$()`, not `$()`.
 * Cache a selector.
 * `toggleClass()`, not `addClass()` with a ternary.
 * Remove two classes with a single `removeClass()`.

 See #24425.

Ticket URL: <http://core.trac.wordpress.org/ticket/24425#comment:51>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list