Changeset 1710865
- Timestamp:
- 08/09/2017 10:22:57 AM (9 years ago)
- Location:
- wp-simple-seo/trunk
- Files:
-
- 4 edited
-
_modules/licensing/lum.php (modified) (3 diffs)
-
includes/global/settings.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
wp-simple-seo.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-simple-seo/trunk/_modules/licensing/lum.php
r1639262 r1710865 97 97 add_action( 'admin_enqueue_scripts', array( $this, 'register_admin_scripts_css' ) ); 98 98 99 99 100 // Hook the Addons screen and Licensing functionality 100 101 add_action( 'wp_loaded', array( $this, 'save_license_key' ), 1 ); 101 102 add_action( 'init', array( $this, 'manage_addons' ), 2 ); 102 103 add_action( str_replace( '-', '_', $this->plugin->name ) . '_admin_menu', array( $this, 'admin_menu' ), 98 ); 103 104 // Reviews105 add_action( 'wp_ajax_' . str_replace( '-', '_', $this->plugin->name ) . '_dismiss_review', array( $this, 'dismiss_review' ) );106 add_action( 'admin_notices', array( $this, 'display_review_request' ) );107 104 108 105 // Check for Addon Updates … … 115 112 add_action( 'activated_plugin', array( $this, 'clear_transients' ) ); 116 113 add_action( 'deactivated_plugin', array( $this, 'clear_transients' ) ); 114 115 // Reviews 116 add_action( 'wp_ajax_' . str_replace( '-', '_', $this->plugin->name ) . '_dismiss_review', array( $this, 'dismiss_review' ) ); 117 add_action( 'admin_notices', array( $this, 'display_review_request' ) ); 117 118 } 118 119 … … 409 410 public function is_license_key_defined_as_constant() { 410 411 411 return defined( strtoupper( $this->plugin->name ) . '_LICENSE_KEY' ) && ! empty( constant( strtoupper( $this->plugin->name ) . '_LICENSE_KEY' ) ); 412 // If the license key is defined in wp-config, use that 413 if ( defined( strtoupper( $this->plugin->name ) . '_LICENSE_KEY' ) ) { 414 return true; 415 } 416 417 return false; 412 418 413 419 } -
wp-simple-seo/trunk/includes/global/settings.php
r1573510 r1710865 834 834 835 835 // Special check for Posts 836 if ( $post_type->name == 'post' && get_option( 'show_on_front' ) == 'page' && ! empty( get_option( 'page_for_posts' ) ) ) { 836 $page_for_posts = get_option( 'page_for_posts' ); 837 if ( $post_type->name == 'post' && get_option( 'show_on_front' ) == 'page' && ! empty( get_option( $page_for_posts ) ) ) { 837 838 return true; 838 839 } -
wp-simple-seo/trunk/readme.txt
r1639262 r1710865 4 4 Tags: bing, canonical, google, google search console, google sitemap, google webmaster tools, meta, meta description, robots, search engine optimization, seo, sitemap, sitemaps, social, xml sitemap 5 5 Requires at least: 4.5 6 Tested up to: 4. 7.36 Tested up to: 4.8.1 7 7 Stable tag: trunk 8 8 License: GPLv2 or later … … 158 158 == Changelog == 159 159 160 = 1.0.4 = 161 * Fix: Fatal error: Can't use function return value in write context in _modules/licensing/lum.php on line 411 162 * Fix: Fatal error: Can't use function return value in write context in includes/global/settings.php on line 836 163 160 164 = 1.0.3 = 161 165 * Fix: Only display Review Helper for Super Admin and Admin … … 163 167 * Fix: Stripslashes from meta and title output 164 168 * Fix: Undefined function get_author_ids() in sitemaps.php 169 * Fix: Import Sources 165 170 166 171 = 1.0.2 = -
wp-simple-seo/trunk/wp-simple-seo.php
r1639262 r1710865 3 3 * Plugin Name: WP Simple SEO 4 4 * Plugin URI: https://wpsimpleseo.com 5 * Version: 1.0. 35 * Version: 1.0.4 6 6 * Author: WP Simple SEO 7 7 * Author URI: https://wpsimpleseo.com … … 59 59 $this->plugin->folder = plugin_dir_path( __FILE__ ); 60 60 $this->plugin->url = plugin_dir_url( __FILE__ ); 61 $this->plugin->version = '1.0. 3';61 $this->plugin->version = '1.0.4'; 62 62 $this->plugin->home_url = 'https://wpsimpleseo.com'; 63 63 $this->plugin->support_url = 'https://wpsimpleseo.com/documentation/support';
Note: See TracChangeset
for help on using the changeset viewer.