Plugin Directory

Changeset 1658986


Ignore:
Timestamp:
05/17/2017 01:27:05 AM (9 years ago)
Author:
mlteal
Message:

Remove anonymous function for PHP 5.2 compatibility.

Location:
wordpress-beta-tester/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-beta-tester/trunk/readme.txt

    r1657363 r1658986  
    2222
    2323== Changelog ==
     24
     25= 1.1.2 =
     26* Remove anonymous function for PHP 5.2 compatibility.
    2427
    2528= 1.1.1 =
  • wordpress-beta-tester/trunk/wp-beta-tester.php

    r1657363 r1658986  
    55    Description: Allows you to easily upgrade to Beta releases.
    66    Author: Peter Westwood
    7     Version: 1.1.1
     7    Version: 1.1.2
    88    Network: true
    99    Author URI: http://blog.ftwr.co.uk/
     
    253253
    254254/* Initialise ourselves */
    255 add_action( 'plugins_loaded', function() {
     255add_action( 'plugins_loaded', 'load_beta_tester_plugin' );
     256
     257function load_beta_tester_plugin() {
    256258    global $wp_beta_tester_instance;
    257259    $wp_beta_tester_instance = new wp_beta_tester();
    258 } );
     260}
    259261
    260262// Clear down
Note: See TracChangeset for help on using the changeset viewer.