WordPress.org

Support

Support » Plugins and Hacks » Facebook Fan box » [Plugin: Facebook Fan box] patch for deprecated functions

[Plugin: Facebook Fan box] patch for deprecated functions

  • PowerKiKi

    @powerkiki

    Hi,

    I wrote a patch for your plugin to avoid call of deprecated functions. I hope it it can be integrated in /trunk. Here it is:

    Index: facebook-fan-box.php
    ===================================================================
    --- facebook-fan-box.php	(revision 462584)
    +++ facebook-fan-box.php	(working copy)
    @@ -155,9 +155,9 @@
     	function widget_ffb_register() {
         $title = 'Facebook Fan Box';
         // Register widget for use
    -    register_sidebar_widget($title, 'widget_ffb');
    +	wp_register_sidebar_widget('facebook-fan-box', $title, 'widget_ffb');
         // Register settings for use, 300x100 pixel form
    -    register_widget_control($title, 'widget_ffb_control');
    +	wp_register_widget_control('facebook-fan-box', $title, 'widget_ffb_control');
     	}
    
     	widget_ffb_register();

    http://wordpress.org/extend/plugins/facebook-fan-box/

  • The topic ‘[Plugin: Facebook Fan box] patch for deprecated functions’ is closed to new replies.
Skip to toolbar