[wp-trac] [WordPress Trac] #31782: Customizer: Use proper preview URL for Live Preview links

WordPress Trac noreply at wordpress.org
Thu Mar 26 23:03:21 UTC 2015


#31782: Customizer: Use proper preview URL for Live Preview links
--------------------------+-----------------------------
 Reporter:  mattwiebe     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 You're doing more work then is needed, since the theme object already has
 the `theme.actions.customize` URL built in. Also, it breaks on
 WordPress.com since our themes are in subdirectories. Using
 `theme.actions.customize` is how `wp-admin/themes.php` does it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31782>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list