[wp-meta] [Making WordPress.org] #895: Direct links to preview don't trigger the preview overlay

Making WordPress.org noreply at wordpress.org
Tue Mar 24 23:39:08 UTC 2015


#895: Direct links to preview don't trigger the preview overlay
--------------------------+-----------------------------
  Reporter:  chriscct7    |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Component:  Theme Directory
Resolution:               |   Keywords:
--------------------------+-----------------------------

Comment (by dd32):

 * Disable the /preview/ link, and replace it with a wp-themes.com/ link,
 handle the preview within JS only
 * Handle the condition, with a rewrite rule
 * Handle the condition within PHP/WordPress with a rewrite rule

 Ditch server-side rendering for anything that isn't required, and use the
 fallbacks where appropriate, in this case, a direct link to wp-themes.com
 as a non-JS fallback seems correct.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/895#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list