Plugin Directory


Ignore:
Timestamp:
10/07/2014 11:38:03 PM (11 years ago)
Author:
Otto42
Message:

Update tested up to 4.0, new constructor form for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • php-code-widget/trunk/execphp.php

    r791993 r1003528  
    1111
    1212class PHP_Code_Widget extends WP_Widget {
    13     function PHP_Code_Widget() {
     13    function __construct() {
    1414        load_plugin_textdomain( 'php-code-widget', false, dirname( plugin_basename( __FILE__ ) ) );
    1515        $widget_ops = array('classname' => 'widget_execphp', 'description' => __('Arbitrary text, HTML, or PHP Code', 'php-code-widget'));
Note: See TracChangeset for help on using the changeset viewer.