Changeset 1954188
- Timestamp:
- 10/09/2018 08:10:23 PM (7 years ago)
- Location:
- simple-streamwood/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
simple-streamwood.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simple-streamwood/trunk/README.txt
r1938349 r1954188 2 2 Contributors: hayk 3 3 Tags: javascript, streamwood 4 Requires at least: 4.5.0 4 5 Tested up to: 4.9.8 5 6 License: GPL3 -
simple-streamwood/trunk/simple-streamwood.php
r1938349 r1954188 27 27 */ 28 28 29 if (!defined('WP_CONTENT_URL')) 30 { 29 if (!defined('WP_CONTENT_URL')) { 31 30 define ('WP_CONTENT_URL', get_option('siteurl').'/wp-content'); 32 31 } 33 if (!defined('WP_CONTENT_DIR')) 34 { 32 if (!defined('WP_CONTENT_DIR')) { 35 33 define ('WP_CONTENT_DIR', ABSPATH.'wp-content'); 36 34 } 37 if (!defined('WP_PLUGIN_URL')) 38 { 35 if (!defined('WP_PLUGIN_URL')) { 39 36 define ('WP_PLUGIN_URL', WP_CONTENT_URL.'/plugins'); 40 37 } 41 if (!defined('WP_PLUGIN_DIR')) 42 { 38 if (!defined('WP_PLUGIN_DIR')) { 43 39 define ('WP_PLUGIN_DIR', WP_CONTENT_DIR.'/plugins'); 44 40 } 45 41 46 42 function activate_simple_streamwood() { 47 if (!get_option('simple_streamwood_key')) 48 { 43 if (!get_option('simple_streamwood_key')) { 49 44 add_option('simple_streamwood_key', '0'); 50 45 } 51 if (!get_option('simple_streamwood_domain_key')) 52 { 46 if (!get_option('simple_streamwood_domain_key')) { 53 47 add_option('simple_streamwood_domain_key', '0'); 54 48 }
Note: See TracChangeset
for help on using the changeset viewer.