Changeset 1785777
- Timestamp:
- 12/12/2017 09:25:19 PM (8 years ago)
- Location:
- proper-profile
- Files:
-
- 5 edited
- 22 copied
-
tags/1.1.11 (copied) (copied from proper-profile/trunk)
-
tags/1.1.11/LICENSE.txt (copied) (copied from proper-profile/trunk/LICENSE.txt)
-
tags/1.1.11/README.txt (copied) (copied from proper-profile/trunk/README.txt) (2 diffs)
-
tags/1.1.11/admin (copied) (copied from proper-profile/trunk/admin)
-
tags/1.1.11/admin/class-proper-profile-admin.php (copied) (copied from proper-profile/trunk/admin/class-proper-profile-admin.php) (1 diff)
-
tags/1.1.11/admin/css/proper-profile-admin.css (copied) (copied from proper-profile/trunk/admin/css/proper-profile-admin.css)
-
tags/1.1.11/admin/css/tooltipster-sideTip-shadow.min.css (copied) (copied from proper-profile/trunk/admin/css/tooltipster-sideTip-shadow.min.css)
-
tags/1.1.11/admin/css/tooltipster.bundle.min.css (copied) (copied from proper-profile/trunk/admin/css/tooltipster.bundle.min.css)
-
tags/1.1.11/admin/images (copied) (copied from proper-profile/trunk/admin/images)
-
tags/1.1.11/admin/js/proper-profile-admin.js (copied) (copied from proper-profile/trunk/admin/js/proper-profile-admin.js)
-
tags/1.1.11/admin/js/tooltipster.bundle.min.js (copied) (copied from proper-profile/trunk/admin/js/tooltipster.bundle.min.js)
-
tags/1.1.11/admin/partials/admin-notice-bad-api-key.php (copied) (copied from proper-profile/trunk/admin/partials/admin-notice-bad-api-key.php)
-
tags/1.1.11/admin/partials/admin-notice-missing-api-key.php (copied) (copied from proper-profile/trunk/admin/partials/admin-notice-missing-api-key.php)
-
tags/1.1.11/admin/partials/admin-notice-upgrade-required.php (copied) (copied from proper-profile/trunk/admin/partials/admin-notice-upgrade-required.php)
-
tags/1.1.11/includes (copied) (copied from proper-profile/trunk/includes)
-
tags/1.1.11/includes/class-proper-profile-activator.php (copied) (copied from proper-profile/trunk/includes/class-proper-profile-activator.php) (1 diff)
-
tags/1.1.11/includes/class-proper-profile.php (copied) (copied from proper-profile/trunk/includes/class-proper-profile.php) (1 diff)
-
tags/1.1.11/index.php (copied) (copied from proper-profile/trunk/index.php)
-
tags/1.1.11/languages (copied) (copied from proper-profile/trunk/languages)
-
tags/1.1.11/proper-profile.php (copied) (copied from proper-profile/trunk/proper-profile.php) (2 diffs)
-
tags/1.1.11/public (copied) (copied from proper-profile/trunk/public)
-
tags/1.1.11/uninstall.php (copied) (copied from proper-profile/trunk/uninstall.php)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-proper-profile-admin.php (modified) (1 diff)
-
trunk/includes/class-proper-profile-activator.php (modified) (1 diff)
-
trunk/includes/class-proper-profile.php (modified) (1 diff)
-
trunk/proper-profile.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
proper-profile/tags/1.1.11/README.txt
r1784941 r1785777 4 4 Requires at least: 4.4 5 5 Tested up to: 4.8.9 6 Stable tag: 1.1.1 06 Stable tag: 1.1.11 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 71 71 == Changelog == 72 72 73 = 1.1.11 = 74 * Redirect to options page after activation. 75 73 76 = 1.1.10 = 74 77 * Fixed a broken upgrade button. -
proper-profile/tags/1.1.11/admin/class-proper-profile-admin.php
r1784941 r1785777 106 106 wp_enqueue_script( $this->proper_profile . '-tooltipster', plugin_dir_url( __FILE__ ) . 'js/tooltipster.bundle.min.js', array( 'jquery' ), $this->version, false ); 107 107 108 } 109 110 public function redirect_after_activation(){ 111 if(get_option('proper_profile_activation_redirect')){ 112 delete_option('proper_profile_activation_redirect'); 113 if(!isset($_GET['activate-multi'])){ 114 wp_redirect(admin_url( 'options-general.php?page=proper-profile' )); 115 } 116 } 108 117 } 109 118 -
proper-profile/tags/1.1.11/includes/class-proper-profile-activator.php
r1784272 r1785777 32 32 public static function activate() { 33 33 self::update_database(); 34 add_option('proper_profile_activation_redirect',true); 34 35 } 35 36 -
proper-profile/tags/1.1.11/includes/class-proper-profile.php
r1784698 r1785777 163 163 164 164 $this->loader->add_action( 'admin_init', $plugin_admin, 'settings_init' ); 165 $this->loader->add_action( 'admin_init', $plugin_admin, 'redirect_after_activation' ); 166 165 167 $this->loader->add_action( 'admin_menu', $plugin_admin, 'proper_profile_options_page' ); 166 168 $this->loader->add_action( 'admin_notices', $plugin_admin, 'admin_notices' ); -
proper-profile/tags/1.1.11/proper-profile.php
r1784941 r1785777 17 17 * Plugin URI: http://example.com/proper-profile-uri/ 18 18 * Description: Automagically gets all available public data on your customers, so you can make better informed decisions. 19 * Version: 1.1.1 019 * Version: 1.1.11 20 20 * Author: Proper Profile 21 21 * Author URI: https://properprofile.com/ … … 31 31 } 32 32 33 define( 'PROPER_PROFILE_VERSION', '1.1.1 0' );33 define( 'PROPER_PROFILE_VERSION', '1.1.11' ); 34 34 define( 'PROPER_PROFILE_DB_VERSION', '1.1.6' ); 35 35 -
proper-profile/trunk/README.txt
r1784941 r1785777 4 4 Requires at least: 4.4 5 5 Tested up to: 4.8.9 6 Stable tag: 1.1.1 06 Stable tag: 1.1.11 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 71 71 == Changelog == 72 72 73 = 1.1.11 = 74 * Redirect to options page after activation. 75 73 76 = 1.1.10 = 74 77 * Fixed a broken upgrade button. -
proper-profile/trunk/admin/class-proper-profile-admin.php
r1784941 r1785777 106 106 wp_enqueue_script( $this->proper_profile . '-tooltipster', plugin_dir_url( __FILE__ ) . 'js/tooltipster.bundle.min.js', array( 'jquery' ), $this->version, false ); 107 107 108 } 109 110 public function redirect_after_activation(){ 111 if(get_option('proper_profile_activation_redirect')){ 112 delete_option('proper_profile_activation_redirect'); 113 if(!isset($_GET['activate-multi'])){ 114 wp_redirect(admin_url( 'options-general.php?page=proper-profile' )); 115 } 116 } 108 117 } 109 118 -
proper-profile/trunk/includes/class-proper-profile-activator.php
r1784272 r1785777 32 32 public static function activate() { 33 33 self::update_database(); 34 add_option('proper_profile_activation_redirect',true); 34 35 } 35 36 -
proper-profile/trunk/includes/class-proper-profile.php
r1784698 r1785777 163 163 164 164 $this->loader->add_action( 'admin_init', $plugin_admin, 'settings_init' ); 165 $this->loader->add_action( 'admin_init', $plugin_admin, 'redirect_after_activation' ); 166 165 167 $this->loader->add_action( 'admin_menu', $plugin_admin, 'proper_profile_options_page' ); 166 168 $this->loader->add_action( 'admin_notices', $plugin_admin, 'admin_notices' ); -
proper-profile/trunk/proper-profile.php
r1784941 r1785777 17 17 * Plugin URI: http://example.com/proper-profile-uri/ 18 18 * Description: Automagically gets all available public data on your customers, so you can make better informed decisions. 19 * Version: 1.1.1 019 * Version: 1.1.11 20 20 * Author: Proper Profile 21 21 * Author URI: https://properprofile.com/ … … 31 31 } 32 32 33 define( 'PROPER_PROFILE_VERSION', '1.1.1 0' );33 define( 'PROPER_PROFILE_VERSION', '1.1.11' ); 34 34 define( 'PROPER_PROFILE_DB_VERSION', '1.1.6' ); 35 35
Note: See TracChangeset
for help on using the changeset viewer.