Plugin Directory

Changeset 184122


Ignore:
Timestamp:
12/17/2009 10:42:36 PM (16 years ago)
Author:
plpetitclerc
Message:
 
Location:
wp-konami/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-konami/trunk/readme.txt

    r139024 r184122  
    33Tags: jquery, konami
    44Requires at least: 2.7
    5 Tested up to: 2.8.2
    6 Stable tag: 1.1
     5Tested up to: 2.8.6
     6Stable tag: 1.2
    77Author: Pier-Luc Petitclerc
    88Author URI: http://blog.fusi0n.org
     
    2929== ChangeLog ==
    3030
     31= Version 1.2 =
     32
     33* Ensured WordPress 2.8.6 Compatibility
     34
    3135= Version 1.1 =
    3236
  • wp-konami/trunk/wp-konami.php

    r139024 r184122  
    44Plugin URI: http://blog.fusi0n.org/category/wp-konami
    55Description: Add the Konami Code to your WordPress blog and redirect to a custom URL on successful input sequence
    6 Version: 1.1
     6Version: 1.2
    77Author: Pier-Luc Petitclerc
    88Author URI: http://blog.fusi0n.org
     
    7979  public function wpk_activation_hook() {
    8080    foreach ($this->opts as $k=>$v) {
    81       register_setting('misc', $k);
    8281            if (get_option($k) == false) { update_option($k, $this->opts[$k]['default']); }
    8382    }
     
    9493    add_settings_section('wp-konami', 'WP-Konami Options', array(&$this, 'wpk_section_callback'), 'misc');
    9594    foreach ($this->opts as $optName => &$optVal) {
     95      register_setting('konami', $k);
    9696      add_settings_field($optName, $optVal['name'], array(&$this, 'wpk_settings_'.$optName), 'misc', 'wp-konami');
    9797    }
     
    119119        break;
    120120    }
     121    if ($opt == 'wpk_replace') { settings_fields('konami'); }
    121122    echo "<br />\n";
    122123  }
Note: See TracChangeset for help on using the changeset viewer.