Plugin Directory

Changeset 226327


Ignore:
Timestamp:
04/08/2010 09:40:24 AM (16 years ago)
Author:
Zamango
Message:

bugfix: fix wrong function pointer definition
changes: bump version up to 1.1

Location:
zamango-page-navigation/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • zamango-page-navigation/trunk/readme.ru.txt

    r225981 r226327  
    55Requires at least: 2.8.0
    66Tested up to: 2.9.2
    7 Stable tag: 1.0
     7Stable tag: 1.1
     8Version: 1.1
    89
    910Плагин создает настраиваемую полосу навигации в списках, а также ссылки на предыдущий и следующий посты на странице поста.
     
    6061== Changelog ==
    6162
     63= 1.1 =
     64* Исправления: исправлено неверное определение указателя на функцию
     65
    6266= 1.0 =
    6367* Код оптимизирован. JavaScript и CSS файлы подгружаются только на соответствующие страницы. Хуки активации и деактивации вешаются только на /wp-admin/plugins.php (ускоряет WP). Полная реструктизация кода (включая названия файлов). Админская часть сверстана в стиле wp-admin (меняется с темами wp-admin). Единый вид всех плагинов от Zamango.
  • zamango-page-navigation/trunk/readme.txt

    r225981 r226327  
    55Requires at least: 2.8.0
    66Tested up to: 2.9.2
    7 Stable tag: 1.0
     7Version: 1.1
     8Stable tag: 1.1
    89
    910It creates  pagebar on lists (for ex. on category or search results) and Next Post & Previous Post links on each post.
     
    6364== Changelog ==
    6465
     66= 1.1 =
     67* Bugfix: fix wrong function pointer definition
     68
    6569= 1.0 =
    6670* Changes: code rewritten from scratch and optimized, reduced CSS and JS files includes, activation and deactivation hooks are binded only to /wp-admin/plugins.php (increases WP performance), human readable plugin URL in admin page, new admin UI (suitable for WP themes).
  • zamango-page-navigation/trunk/zmg_admin.php

    r225981 r226327  
    2626if (!class_exists('zmg_admin'))
    2727{
    28     define('ZMG_ADMIN', '1.0');
     28    define('ZMG_ADMIN', '1.1');
    2929    define('ZMG_ADMIN_DIR_NAME', basename(dirname(__FILE__)));
    3030    define('ZMG_ADMIN_URL', WP_PLUGIN_URL . '/' . ZMG_ADMIN_DIR_NAME);
     
    281281                        stripslashes($_POST[$opt_name]);
    282282
    283                     if (isset($options["regs"]))
    284                         foreach ($options["regs"] as $reg)
     283                    if (isset($option["regs"]))
     284                        foreach ($option["regs"] as $reg)
    285285                            if (! preg_match($reg, $this->options[$opt_name]))
    286286                    {
     
    688688            if (count ($options) < count($values)) return;
    689689
    690             $id = $this->hook . "-" . $name;
     690            $id = $this->hook . "-" . $name . "-" . $value;
    691691
    692692            $content  = '<select name="' . $name . '" id="' . $id . '"';
  • zamango-page-navigation/trunk/zmg_page_navigation.php

    r225981 r226327  
    1111Description: This plugin adds an advanced page navigation to Wordpress
    1212Author: Zamango
    13 Version: 1.0
     13Version: 1.1
    1414Requires at least: 2.8
    1515Author URI: http://www.zamango.com/
     
    2525    {
    2626        var $hook        = 'zmg-page-navigation';
    27         var $version     = '1.0';
     27        var $version     = '1.1';
    2828        var $page_title  = 'Page Navigation';
    2929        var $menu_title  = 'Page Navigation';
  • zamango-page-navigation/trunk/zmg_page_navigation_defaults.php

    r225981 r226327  
    9797            "default"      => "Page [zmg_pn:page] of [zmg_pn:total]",
    9898            "minlen"       => 1,
    99             "stoper"       => function() {
    100                 return ! isset($_POST['tooltips']);
    101             }
     99            "stoper"       => create_function('',
     100                'return ! isset($_POST[\'tooltips\']);')
    102101        ),
    103102        "is_zmg_css"       => array(
Note: See TracChangeset for help on using the changeset viewer.