adding min. php version line
Peter Molnar hello@petermolnar.eu
Thu, 10 Dec 2015 10:48:26 +0000
2 files changed,
6 insertions(+),
4 deletions(-)
M
blogroll2email.php
→
blogroll2email.php
@@ -8,6 +8,7 @@ Version: 0.2.2
Author: Peter Molnar <hello@petermolnar.eu> Author URI: http://petermolnar.eu/ License: GPLv3 +Required minimum PHP version: 5.3 */ /* Copyright 2015 Peter Molnar ( hello@petermolnar.eu )@@ -85,7 +86,7 @@ /**
* activation hook function */ public function plugin_activate() { - self::debug('activating'); + static::debug('activating'); }@@ -93,7 +94,7 @@ /**
* deactivation hook function; clears schedules */ public function plugin_deactivate () { - self::debug('deactivating'); + static::debug('deactivating'); wp_unschedule_event( time(), static::schedule ); wp_clear_scheduled_hook( static::schedule ); }@@ -104,7 +105,7 @@ * gets them, processes them, sends the new entries
* */ public function worker () { - self::debug('worker started'); + static::debug('worker started'); $args = array( 'orderby' => 'owner', 'order' => 'ASC',@@ -205,7 +206,7 @@ 'From: "' . $fromname .'" <'. static::schedule . '@'. $sitedomain .'>',
'Date: ' . date( 'r', $time ), ); - self::debug('sending ' . $title . ' to ' . $to ); + static::debug('sending ' . $title . ' to ' . $to ); // for debung & specific reasons, there is a dry run mode if ( !$dry )
M
readme.txt
→
readme.txt
@@ -7,6 +7,7 @@ Tested up to: 4.4
Stable tag: 0.2.2 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html +Required minimum PHP version: 5.3 Bring back the good ol' web: pull RSS, Atom and microformat feeds from your blogroll links and receive them as email.