Forums

ShareThis: Share, Email, Tweet, Like, +1 Made Simple
Patch for warming errors (1 post)

  1. deardooley
    Member
    Posted 3 months ago #

    I just updated the plugin on a WordPress 3.3.1 install and ran across a few annoying warming messages caused by an unquoted variable name in line 604 of sharethis.php. Here is a patch you can apply. Just replace the st_menu_items function with this snippet and you're good.

    function st_menu_items() {
    	if (ak_can_update_options()) {
    		add_options_page(
    		__('ShareThis Options', 'sharethis')
    		, __('ShareThis', 'sharethis')
    		, 'manage_options'
    		, basename(__FILE__)
    		, 'st_options_form'
    		);
    	}
    }

    http://wordpress.org/extend/plugins/share-this/

Reply

You must log in to post.

About this Plugin

About this Topic