Changeset 1567606
- Timestamp:
- 01/04/2017 05:13:58 AM (9 years ago)
- Location:
- nlpcaptcha/trunk
- Files:
-
- 1 added
- 1 deleted
- 6 edited
-
LICENSE (deleted)
-
NLPCAPTCHA_LICENSE (added)
-
nlpcaptcha.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
settings.php (modified) (1 diff)
-
uninstall.php (modified) (1 diff)
-
wp-nlpcaptcha.php (modified) (1 diff)
-
wp-plugin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nlpcaptcha/trunk/nlpcaptcha.php
r604124 r1567606 1 1 <?php 2 2 3 require_once('wp-plugin.php'); 4 3 require_once( plugin_dir_path(__FILE__) . 'nlpcaptcha/wp-plugin.php'); 5 4 if (!class_exists('NLPCaptcha')) { 6 5 class NLPCaptcha extends WPPlugin { -
nlpcaptcha/trunk/readme.txt
r1561995 r1567606 1 1 === Plugin Name === 2 2 Contributors: NLPCaptcha 3 TDonate link: http://www.nlpcaptcha.in 3 4 Tags: comments, registration, nlpcaptcha, antispam, mailhide, captcha 4 5 Requires at least: 2.7 … … 40 41 * Initial Release 41 42 43 == Upgrade Notice == 44 45 = 1.0 = 46 This is initial version of the kommentbox for wordpress plugin 42 47 43 48 == Frequently Asked Questions == -
nlpcaptcha/trunk/settings.php
r603606 r1567606 3 3 if (defined('ALLOW_INCLUDE') === false) 4 4 die('no direct access'); 5 6 5 ?> 7 6 -
nlpcaptcha/trunk/uninstall.php
r1561995 r1567606 3 3 // include unregister_setting, delete_option, and other uninstall behavior here 4 4 5 require_once('wp-plugin.php'); 6 7 function uninstall_options($name) { 8 unregister_setting("${name}_group", $name); 9 WPPlugin::remove_options($name); 5 if (!defined('WP_UNINSTALL_PLUGIN')) 6 { 7 die; 10 8 } 11 9 include( plugin_dir_path(__FILE__) . 'nlpcaptcha/wp-plugin.php'); 10 $options = 'komentbox_options'; 11 unregister_setting("${name}_group", $name); 12 WPPlugin::remove_options($options); 12 13 // nlpcaptcha 13 14 uninstall_options('nlpcaptcha_options'); -
nlpcaptcha/trunk/wp-nlpcaptcha.php
r1213990 r1567606 40 40 define('ALLOW_INCLUDE', true); 41 41 42 require_once('nlpcaptcha.php'); 42 require_once( plugin_dir_path(__FILE__) . 'nlpcaptcha/nlpcaptcha.php'); 43 43 44 44 45 $nlpcaptcha = new NLPCaptcha('nlpcaptcha_options'); -
nlpcaptcha/trunk/wp-plugin.php
r603606 r1567606 1 1 <?php 2 2 3 // just making sure the constant is defined4 if (!defined('WP_CONTENT_DIR'))5 define('WP_CONTENT_DIR', ABSPATH . 'wp-content');6 7 3 8 if (!class_exists('Environment')) {9 4 class Environment { 10 5 const WordPress = 1; // regular wordpress … … 12 7 const WordPressMS = 3; // wordpress multi-site 13 8 } 14 }15 9 16 if (!class_exists('WPPlugin')) { 10 17 11 abstract class WPPlugin { 18 12 protected $environment; // what environment are we in … … 128 122 } 129 123 } 130 } 124 131 125 132 126 ?>
Note: See TracChangeset
for help on using the changeset viewer.