[wp-trac] [WordPress Trac] #25964: Appearance Themes: find a way to provide a no-js fallback

WordPress Trac noreply at wordpress.org
Fri Dec 6 07:54:54 UTC 2013


#25964: Appearance Themes: find a way to provide a no-js fallback
-----------------------------+--------------------
 Reporter:  matveb           |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  highest omg bbq  |   Milestone:  3.8
Component:  Appearance       |     Version:  trunk
 Severity:  blocker          |  Resolution:
 Keywords:                   |
-----------------------------+--------------------

Comment (by adamsilverstein):

 possible nojs solution, uses themes.php from 3.7.1: [attachment:
 25964.diff​]
 * include a copy of themes.php from WordPress 3.7.1 renamed as themes-no-
 js and includes removed
 * include this file wrapped in a div in new themes.php
 * add JS to app startup that removes old page html from DOM
 * tested a bit with js off seems to work fine, new HTML already wrapped in
 <script> tags so not displayed

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


More information about the wp-trac mailing list