[wp-trac] [WordPress Trac] #24405: Hide revisions' edit links if no-js

WordPress Trac noreply at wordpress.org
Thu May 23 21:42:30 UTC 2013


#24405: Hide revisions' edit links if no-js
--------------------------+-----------------------------------
 Reporter:  DrewAPicture  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  3.6
Component:  Revisions     |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch ux-feedback
--------------------------+-----------------------------------
 Since editing, comparing and restoring revisions requires javascript, we
 should not make it possible open revisions from the editing screen.

 In the patch, I took a stab at adding an error message to the Revisions
 metabox as well as a solution for disabling the edit link if no-js. Not a
 huge fan of tacking on an extra span to `$date` just for no-js, but as far
 as I'm aware, we don't have a way to test for javascript support in PHP.

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


More information about the wp-trac mailing list