[wp-meta] [Making WordPress.org] #1110: Site Cloner: Add support for importing widgets

Making WordPress.org noreply at wordpress.org
Fri Mar 18 18:46:47 UTC 2016


#1110: Site Cloner: Add support for importing widgets
----------------------------------------+-----------------------
 Reporter:  iandunn                     |       Owner:  iandunn
     Type:  enhancement                 |      Status:  accepted
 Priority:  normal                      |   Milestone:
Component:  wordcamp.org                |  Resolution:
 Keywords:  needs-patch good-first-bug  |
----------------------------------------+-----------------------

Comment (by iandunn):

 @satwant5, were you able to see it working in your development
 environment? When I apply the patch and try to clone a site, I don't see
 the widgets appear during the live preview process, and then if I try to
 clone a site I get a fatal error:

 {{{
 [18-Mar-2016 18:32:45 UTC] PHP Fatal error:  Call to undefined function
 WordCamp\Site_Cloner\update_css() in /srv/www/wordcamp.dev/public_html/wp-
 content/plugins/wordcamp-site-cloner/includes/source-site-id-setting.php
 on line 150
 [18-Mar-2016 18:32:45 UTC] PHP Stack trace:
 [18-Mar-2016 18:32:45 UTC] PHP   1. {main}()
 /srv/www/wordcamp.dev/public_html/wordpress/wp-admin/admin-ajax.php:0
 [18-Mar-2016 18:32:45 UTC] PHP   2. do_action()
 /srv/www/wordcamp.dev/public_html/wordpress/wp-admin/admin-ajax.php:89
 [18-Mar-2016 18:32:45 UTC] PHP   3.
 call_user_func_array:{/srv/www/wordcamp.dev/public_html/wordpress/wp-
 includes/plugin.php:525}() /srv/www/wordcamp.dev/public_html/wordpress/wp-
 includes/plugin.php:525
 [18-Mar-2016 18:32:45 UTC] PHP   4. WP_Customize_Manager->save()
 /srv/www/wordcamp.dev/public_html/wordpress/wp-includes/plugin.php:525
 [18-Mar-2016 18:32:45 UTC] PHP   5. WP_Customize_Setting->save()
 /srv/www/wordcamp.dev/public_html/wordpress/wp-includes/class-wp-
 customize-manager.php:1010
 [18-Mar-2016 18:32:45 UTC] PHP   6.
 WordCamp\Site_Cloner\Source_Site_ID_Setting->update()
 /srv/www/wordcamp.dev/public_html/wordpress/wp-includes/class-wp-
 customize-setting.php:475
 }}}

 Even if I fix the error, it doesn't look like the widgets exist on the
 site after the cloning process finishes.

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


More information about the wp-meta mailing list