Changeset 1049803
- Timestamp:
- 12/19/2014 09:48:01 PM (11 years ago)
- Location:
- content-scheduler/trunk
- Files:
-
- 3 edited
-
content-scheduler-settings.php (modified) (1 diff)
-
content-scheduler.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
content-scheduler/trunk/content-scheduler-settings.php
r1049705 r1049803 6 6 } 7 7 8 define( 'PEK_CONTENT_SCHEDULER_VERSION', '2.0. 2' );8 define( 'PEK_CONTENT_SCHEDULER_VERSION', '2.0.3' ); 9 9 10 10 if ( !class_exists( "Content_Scheduler_Settings" ) ) { -
content-scheduler/trunk/content-scheduler.php
r1049705 r1049803 4 4 Plugin URI: http://paulekaiser.com/wordpress-plugins/content-scheduler/ 5 5 Description: Set Posts and Pages to automatically expire. Upon expiration, delete, change categories, status, or unstick posts. Also notify admin and author of expiration. 6 Version: 2.0. 26 Version: 2.0.3 7 7 Author: Paul Kaiser 8 8 Author URI: http://paulekaiser.com … … 32 32 33 33 // assign some constants if they didn't already get taken care of 34 define( 'PEK_CONTENT_SCHEDULER_VERSION', '2.0. 2' );34 define( 'PEK_CONTENT_SCHEDULER_VERSION', '2.0.3' ); 35 35 define( 'PEK_CONTENT_SCHEDULER_DIR', plugin_dir_path( __FILE__ ) ); 36 36 define( 'PEK_CONTENT_SCHEDULER_URL', plugin_dir_url( __FILE__ ) ); … … 219 219 // make sure we have added any updated options 220 220 if( $this->options ) { 221 $new_options = array_replace( $arr_defaults, $this->options ); 221 // $new_options = array_replace( $arr_defaults, $this->options ); // array_replace only in PHP 5.3+ 222 foreach( $this->options as $key => $val ) { 223 $arr_defaults[$key] = $val; 224 } 225 $new_options = $arr_defaults; 222 226 } else { 223 227 $new_options = $arr_defaults; 224 228 } 225 $this->options = $new_options; // just to be safe229 $this->options = $new_options; 226 230 update_option('ContentScheduler_Options', $new_options); 227 231 -
content-scheduler/trunk/readme.txt
r1049705 r1049803 8 8 Requires at least: 2.9 9 9 Tested up to: 4.1.0 10 Stable tag: 2.0. 210 Stable tag: 2.0.3 11 11 12 12 Schedule content to automatically expire and change at a certain time, and notify people of expiration. … … 62 62 63 63 == Changelog == 64 65 = 2.0.3 = 66 * FIX: Change array_replace for PHP 5.2.x compatibility, oops! 64 67 65 68 = 2.0.2 =
Note: See TracChangeset
for help on using the changeset viewer.