Saving widget gets an undefined variable

I am willing to be that since you have not initialized the widgets pool it cannot be duplicated. So within your main class or plugin file you would add this: For Class: add_action ( ‘widgets_init’, array ( &$this, ‘my_widgets’ ) ); For .php file add_action ( ‘widgets_init’, ‘my_widgets’); then create your function public function my_widgets(){ … Read more

WP_editor problem

It doesn’t look like you’re calling add_action() correctly. It should be more like: add_action( ‘edit_page_form’, ‘wpse96952_editor’ ); function wpse96952_editor() { wp_editor( “Sample”, ‘mycontent’, array( ‘textarea_name’ => ‘mycontent’ ) ); } (content changed to mycontent after I read @vancoder’s comment)

Strange bug on post/page save

In my experience this happens when you initiate an operation (Save/Update) and then try to leave the page to do something else before the requested operation has completed. Next time you save/update a post wait until the edit page returns to normal and displays your content. Then navigate away from the edit page. Chances are … Read more

Icons are missing from Visual Editor

After a few more days of frustrating testing, I managed to track the issue down to the External Links Rewrite option in Siteground’s Site Tools, under SSL options. When HTTP Enforce is enabled with the optional External Links Rewrite option (being able to see these changes virtually immediately in the browser requires a Force Refresh, … Read more