Plugin Directory

Changeset 815673


Ignore:
Timestamp:
12/05/2013 11:00:02 PM (12 years ago)
Author:
v-media
Message:

Foodlist version 1.3

Location:
foodlist/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • foodlist/trunk/plugin.php

    r814888 r815673  
    1212Author: Artprima
    1313Author URI: http://artprima.eu/
    14 Version: 1.2
     14Version: 1.3
    1515*/
    1616
    17 define('FOODLIST_VERSION', '1.2');
     17define('FOODLIST_VERSION', '1.3');
    1818define('FOODLIST_MIN_PHP_VERSION', '5.3.0');
    1919define('FOODLIST_MIN_WP_VERSION', '3.4.0');
     
    2121if (version_compare(PHP_VERSION, FOODLIST_MIN_PHP_VERSION, '<')) {
    2222    add_action('admin_notices', 'foodlist_lib_admin_notice_php');
    23     function foodlist_admin_notice_php() {
     23    function foodlist_lib_admin_notice_php() {
    2424         echo sprintf(
    2525            __('<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'),
     
    2828} elseif (version_compare(get_bloginfo('version'), FOODLIST_MIN_WP_VERSION, '<')) {
    2929    add_action('admin_notices', 'foodlist_lib_admin_notice_wp');
    30     function foodlist_admin_notice_wp() {
     30    function foodlist_lib_admin_notice_wp() {
    3131        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'),
    3232            get_bloginfo('version'), FOODLIST_MIN_WP_VERSION
  • foodlist/trunk/readme.txt

    r814888 r815673  
    4747== ChangeLog ==
    4848
     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
    4953= Version 1.2 =
    5054
Note: See TracChangeset for help on using the changeset viewer.