WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Fan box
patch for deprecated functions (1 post)

  1. PowerKiKi
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by PowerKiKi
  • This topic is not a support question
  • WordPress version: 3.2.1