Plugin Directory

Changeset 1955297


Ignore:
Timestamp:
10/11/2018 04:37:18 PM (7 years ago)
Author:
fristopher
Message:

Fixed issue with php7 and widget

Location:
bacon-ipsum/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bacon-ipsum/trunk/includes/widget-bacon_ipsum_widget.php

    r987770 r1955297  
    311311} // end class
    312312
    313 add_action( 'widgets_init', create_function( '', 'register_widget("Widget_bacon_ipsum_widget");' ) );
     313add_action( 'widgets_init', function() { register_widget("Widget_bacon_ipsum_widget"); },20);
  • bacon-ipsum/trunk/plugincore.php

    r1243397 r1955297  
    22/**
    33 * @package   Bacon_Ipsum
    4  * @author    Chris McCoy <chris@lod.com>
     4 * @author    Chris McCoy <fris@fris.net>
    55 * @license   GPL-2.0+
    66 * @link      http://github.com/chrismccoy
     
    1111 * Plugin URI:  http://github.com/chrismccoy/bacon-ipsum
    1212 * Description: Bacon Ipsum Generator
    13  * Version:     2.3
     13 * Version:     2.4
    1414 * Author:      Chris McCoy
    1515 * Author URI:  http://github.com/chrismccoy
  • bacon-ipsum/trunk/readme.txt

    r1820966 r1955297  
    8686== Changelog ==
    8787
     88= 2.4 =
     89* Fixed Depreciated function for PHP 7.X use in Bacon Widget
     90
    8891= 2.3 =
    8992* Fixed Added Paragraph Insertion
Note: See TracChangeset for help on using the changeset viewer.