[wp-meta] [Making WordPress.org] #395: Unexpected preview result on Themes Directory

Making WordPress.org noreply at wordpress.org
Wed Jul 25 18:57:02 UTC 2018


#395: Unexpected preview result on Themes Directory
-----------------------------+-----------------------
 Reporter:  wikicms          |       Owner:  (none)
     Type:  defect           |      Status:  assigned
 Priority:  low              |   Milestone:
Component:  Theme Directory  |  Resolution:
 Keywords:  has-screenshots  |
-----------------------------+-----------------------

Comment (by Otto42):

 I think I've worked out a simpler solution by adjusting the type of URLs
 we use in the previewer.

 Right now, the previewer uses basic default permalinks for everything:
 https://wp-themes.com/?p=19

 However, it uses this type of format to set the initial theme (and the
 cookie):
 https://wp-themes.com/twentyfourteen/

 If we change the base URL to that, and thus generate all internal links
 like this, as if it was in a subdirectory:
 https://wp-themes.com/twentyfourteen/?p=19

 Then we don't need the cookie anymore. Some adjustment of rewrites might
 be needed, but seems like it should work for any theme.

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


More information about the wp-meta mailing list