Changeset 815673
- Timestamp:
- 12/05/2013 11:00:02 PM (12 years ago)
- Location:
- foodlist/trunk
- Files:
-
- 2 edited
-
plugin.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
foodlist/trunk/plugin.php
r814888 r815673 12 12 Author: Artprima 13 13 Author URI: http://artprima.eu/ 14 Version: 1. 214 Version: 1.3 15 15 */ 16 16 17 define('FOODLIST_VERSION', '1. 2');17 define('FOODLIST_VERSION', '1.3'); 18 18 define('FOODLIST_MIN_PHP_VERSION', '5.3.0'); 19 19 define('FOODLIST_MIN_WP_VERSION', '3.4.0'); … … 21 21 if (version_compare(PHP_VERSION, FOODLIST_MIN_PHP_VERSION, '<')) { 22 22 add_action('admin_notices', 'foodlist_lib_admin_notice_php'); 23 function foodlist_ admin_notice_php() {23 function foodlist_lib_admin_notice_php() { 24 24 echo sprintf( 25 25 __('<div class="error"><p><strong>Food List plugin error</strong>: php version %1$s detected, while %2$s or later expected! This plugin will not work, please upgrade.</p></div>', 'foodlist'), … … 28 28 } elseif (version_compare(get_bloginfo('version'), FOODLIST_MIN_WP_VERSION, '<')) { 29 29 add_action('admin_notices', 'foodlist_lib_admin_notice_wp'); 30 function foodlist_ admin_notice_wp() {30 function foodlist_lib_admin_notice_wp() { 31 31 echo sprintf(__('<div class="error"><p><strong>Food List plugin error</strong>: WordPress version %1$s detected, while %2$s or later expected!</p></div>', 'foodlist'), 32 32 get_bloginfo('version'), FOODLIST_MIN_WP_VERSION -
foodlist/trunk/readme.txt
r814888 r815673 47 47 == ChangeLog == 48 48 49 = Version 1.3 = 50 51 * Fixed wrong function names in the initialization procedure (this problem is visible when outdated PHP or WordPress version were used) 52 49 53 = Version 1.2 = 50 54
Note: See TracChangeset
for help on using the changeset viewer.