Changeset 184122
- Timestamp:
- 12/17/2009 10:42:36 PM (16 years ago)
- Location:
- wp-konami/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-konami.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-konami/trunk/readme.txt
r139024 r184122 3 3 Tags: jquery, konami 4 4 Requires at least: 2.7 5 Tested up to: 2.8. 26 Stable tag: 1. 15 Tested up to: 2.8.6 6 Stable tag: 1.2 7 7 Author: Pier-Luc Petitclerc 8 8 Author URI: http://blog.fusi0n.org … … 29 29 == ChangeLog == 30 30 31 = Version 1.2 = 32 33 * Ensured WordPress 2.8.6 Compatibility 34 31 35 = Version 1.1 = 32 36 -
wp-konami/trunk/wp-konami.php
r139024 r184122 4 4 Plugin URI: http://blog.fusi0n.org/category/wp-konami 5 5 Description: Add the Konami Code to your WordPress blog and redirect to a custom URL on successful input sequence 6 Version: 1. 16 Version: 1.2 7 7 Author: Pier-Luc Petitclerc 8 8 Author URI: http://blog.fusi0n.org … … 79 79 public function wpk_activation_hook() { 80 80 foreach ($this->opts as $k=>$v) { 81 register_setting('misc', $k);82 81 if (get_option($k) == false) { update_option($k, $this->opts[$k]['default']); } 83 82 } … … 94 93 add_settings_section('wp-konami', 'WP-Konami Options', array(&$this, 'wpk_section_callback'), 'misc'); 95 94 foreach ($this->opts as $optName => &$optVal) { 95 register_setting('konami', $k); 96 96 add_settings_field($optName, $optVal['name'], array(&$this, 'wpk_settings_'.$optName), 'misc', 'wp-konami'); 97 97 } … … 119 119 break; 120 120 } 121 if ($opt == 'wpk_replace') { settings_fields('konami'); } 121 122 echo "<br />\n"; 122 123 }
Note: See TracChangeset
for help on using the changeset viewer.