Changeset 2894111
- Timestamp:
- 04/05/2023 07:17:19 AM (3 years ago)
- Location:
- gleap
- Files:
-
- 4 edited
- 5 copied
-
tags/8.0.5/includes/class-gleap-activator.php (modified) (1 diff)
-
tags/9.0.0 (copied) (copied from gleap/trunk)
-
tags/9.0.0/README.txt (copied) (copied from gleap/trunk/README.txt) (2 diffs)
-
tags/9.0.0/admin/class-gleap-admin.php (copied) (copied from gleap/trunk/admin/class-gleap-admin.php)
-
tags/9.0.0/gleap.php (copied) (copied from gleap/trunk/gleap.php) (2 diffs)
-
tags/9.0.0/public/class-gleap-public.php (copied) (copied from gleap/trunk/public/class-gleap-public.php) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/gleap.php (modified) (2 diffs)
-
trunk/public/class-gleap-public.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gleap/tags/8.0.5/includes/class-gleap-activator.php
r2775558 r2894111 21 21 * @author Gleap <hello@gleap.io> 22 22 */ 23 class Gleap_Activator { 23 class Gleap_Activator 24 { 24 25 25 /** 26 * Short Description. (use period) 27 * 28 * Long Description. 29 * 30 * @since 1.0.0 31 */ 32 public static function activate() { 26 /** 27 * Short Description. (use period) 28 * 29 * Long Description. 30 * 31 * @since 1.0.0 32 */ 33 public static function activate() 34 { 33 35 $custom_cap = 'report_feedback'; 34 36 $grant = true; 35 37 36 $roles = ['administrator', 'contributor', 'editor', 'author' ];38 $roles = ['administrator', 'contributor', 'editor', 'author', 'shop_manager']; 37 39 38 foreach ($roles as $roleName) { 39 $role = get_role($roleName); 40 if ($role && !$role->has_cap( $custom_cap )) { 41 $role->add_cap( $custom_cap, $grant ); 40 try { 41 foreach ($roles as $roleName) { 42 $role = get_role($roleName); 43 if ($role && !$role->has_cap($custom_cap)) { 44 $role->add_cap($custom_cap, $grant); 45 } 42 46 } 43 } 44 }47 } catch (Exception $e) {} 48 } 45 49 } -
gleap/tags/9.0.0/README.txt
r2813372 r2894111 3 3 Tags: bug-tracking, bug-reporting, user-feedback, support, feedback, customer-feedback, live-chat, chat 4 4 Requires at least: 4.1.5 5 Tested up to: 6. 1.06 Stable tag: 8.0.55 Tested up to: 6.2.0 6 Stable tag: 9.0.0 7 7 License: Commercial 8 8 License URI: https://github.com/Gleap/Wordpress/blob/main/README.txt … … 39 39 == Changelog == 40 40 41 = 9.0.0 = 42 * Updated to Gleap Widget 9.0.0 43 41 44 = 8.0.5 = 42 45 * Improved the settings menu. -
gleap/tags/9.0.0/gleap.php
r2813372 r2894111 17 17 * Plugin Name: Gleap 18 18 * Description: Gleap helps developers build the best software faster. It is your affordable in-app bug reporting tool for apps, websites and industrial applications. 19 * Version: 8.0.519 * Version: 9.0.0 20 20 * Author: Gleap 21 21 * Author URI: https://www.gleap.io … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'GLEAP_VERSION', ' 8.0.5' );38 define( 'GLEAP_VERSION', '9.0.0' ); 39 39 40 40 /** -
gleap/tags/9.0.0/public/class-gleap-public.php
r2784731 r2894111 101 101 $identify_script = ""; 102 102 $gleap_identity_token = carbon_get_theme_option('gleap_identity_token'); 103 if (is_user_logged_in() ) {103 if (is_user_logged_in() && $gleap_identity_token) { 104 104 $user_data = get_userdata(get_current_user_id()); 105 105 $login = $user_data->user_login; -
gleap/trunk/README.txt
r2813372 r2894111 3 3 Tags: bug-tracking, bug-reporting, user-feedback, support, feedback, customer-feedback, live-chat, chat 4 4 Requires at least: 4.1.5 5 Tested up to: 6. 1.06 Stable tag: 8.0.55 Tested up to: 6.2.0 6 Stable tag: 9.0.0 7 7 License: Commercial 8 8 License URI: https://github.com/Gleap/Wordpress/blob/main/README.txt … … 39 39 == Changelog == 40 40 41 = 9.0.0 = 42 * Updated to Gleap Widget 9.0.0 43 41 44 = 8.0.5 = 42 45 * Improved the settings menu. -
gleap/trunk/gleap.php
r2813372 r2894111 17 17 * Plugin Name: Gleap 18 18 * Description: Gleap helps developers build the best software faster. It is your affordable in-app bug reporting tool for apps, websites and industrial applications. 19 * Version: 8.0.519 * Version: 9.0.0 20 20 * Author: Gleap 21 21 * Author URI: https://www.gleap.io … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'GLEAP_VERSION', ' 8.0.5' );38 define( 'GLEAP_VERSION', '9.0.0' ); 39 39 40 40 /** -
gleap/trunk/public/class-gleap-public.php
r2784731 r2894111 101 101 $identify_script = ""; 102 102 $gleap_identity_token = carbon_get_theme_option('gleap_identity_token'); 103 if (is_user_logged_in() ) {103 if (is_user_logged_in() && $gleap_identity_token) { 104 104 $user_data = get_userdata(get_current_user_id()); 105 105 $login = $user_data->user_login;
Note: See TracChangeset
for help on using the changeset viewer.