Plugin Directory

Changeset 556288


Ignore:
Timestamp:
06/11/2012 08:13:33 PM (14 years ago)
Author:
anubisthejackle
Message:

Added support for older versions of PHP by removing the anonymous function in automation-suite.php

Location:
wordpress-automation-suite
Files:
24 added
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-automation-suite/trunk/automation-suite.php

    r550015 r556288  
    66Author URI: http://travisweston.com/
    77Description: With the help of this automation suite you are able to forget about creating excerpts, you can forget about manually inserting new pages for your posts. With this suite, all of these actions can, and will, be automated for you!
    8 Version: 2.6
     8Version: 2.7
    99*/
    1010if(!defined('WESTON_NETWORKS_AUTOMATION_SUITE')){
     
    5151                    $this->_modules['auto-tagger'] = new AutoTagger();
    5252                }else{
    53                     add_action('admin_notices', function() {
    54                                                     echo '<div id="message" class="error"><h4>ERROR:</h4>Auto Tagger Module requires PHP cURL extension to be installed.</div>';
    55                                                     update_option("AutomationSuite_AutoTagger", false);
    56                                                 }
    57                                 );
     53                    add_action('admin_notices', array($this, 'autoTaggerFail'));
    5854                }
    5955            }
     
    6258            add_action('admin_notices', array($this, 'begForMoney'));
    6359            self::$_instance = $this;
     60        }
     61       
     62        public function autoTaggerFail() {
     63            echo '<div id="message" class="error"><h4>ERROR:</h4>Auto Tagger Module requires PHP cURL extension to be installed.</div>';
     64            update_option("AutomationSuite_AutoTagger", false);
    6465        }
    6566       
  • wordpress-automation-suite/trunk/readme.txt

    r550015 r556288  
    88Requires at least: 3.0
    99Tested up to: 3.3.2
    10 Stable tag: 2.6
     10Stable tag: 2.7
    1111
    1212Makes your life easier by automating the mundane tasks of writing blog posts, so you can focus on the content.
     
    8787
    8888== Changelog ==
     89= 2.7 =
     90Added support for older versions of PHP by removing the anonymous function in automation-suite.php
     91
    8992= 2.6 =
    9093Another error fix
     
    118121
    119122== Upgrade Notice ==
     123= 2.7 =
     124Added support for older versions of PHP by removing the anonymous function in automation-suite.php
     125
    120126= 2.6 =
    121127Another error fix
Note: See TracChangeset for help on using the changeset viewer.