Changeset 2789173
- Timestamp:
- 09/23/2022 08:34:33 AM (3 years ago)
- Location:
- apppresser/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
apppresser/trunk/apppresser.php
r2755150 r2789173 6 6 Text Domain: apppresser 7 7 Domain Path: /languages 8 Version: 4.2. 18 Version: 4.2.2 9 9 Author: AppPresser Team 10 10 Author URI: http://apppresser.com … … 33 33 class AppPresser { 34 34 35 const VERSION = '4.2. 1';35 const VERSION = '4.2.2'; 36 36 const SETTINGS_NAME = 'appp_settings'; 37 37 public static $settings = 'false'; -
apppresser/trunk/inc/AppPresser_User.php
r2387202 r2789173 75 75 76 76 if (class_exists('Jwt_Auth')) { 77 return JWT::encode($token, $secretKey); 77 return JWT::encode( 78 apply_filters('jwt_auth_token_before_sign', $token, $user), 79 $secretKey, 80 apply_filters('jwt_auth_algorithm', 'HS256') 81 ); 78 82 } else { 79 83 return null; -
apppresser/trunk/inc/AppPresser_WPAPI_Mods.php
r2695596 r2789173 738 738 require_once(ABSPATH . 'wp-admin/includes/plugin.php'); 739 739 } 740 // Plugins 740 741 $plugins = array(); 741 742 $plugins[]['apppresser'] = AppPresser::VERSION; … … 752 753 $plugins[]['appsocial'] = $this->getAppSocialData(); 753 754 $plugins[]['apppresser-camera'] = $this->getAppCameraData(); 755 $plugins[]['apppresser-bridge'] = $this->getAppBridgeData(); 754 756 $response['plugins'] = $plugins; 757 // Themes 758 $themes = array(); 759 $themes[]['ion-theme'] = $this->getIonThemeData(); 760 $response['themes'] = $themes; 755 761 $response['success'] = $this->verifySiteSlugAppId($request); 756 762 … … 828 834 if (class_exists('AppPresser_Camera')) { 829 835 return AppPresser_Camera::VERSION; 836 } 837 838 return false; 839 } 840 841 private function getAppBridgeData() 842 { 843 if (class_exists('AppPresserBridge')) { 844 return AppPresserBridge::VERSION; 845 } 846 847 return false; 848 } 849 850 private function getIonThemeData() 851 { 852 $ionTheme = wp_get_theme('ap3-ion-theme'); 853 if ($ionTheme) { 854 return $ionTheme->Version; 830 855 } 831 856 -
apppresser/trunk/readme.txt
r2755150 r2789173 5 5 Requires at least: 4.7.0 6 6 Tested up to: 6.0 7 Stable tag: 4.2. 17 Stable tag: 4.2.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 47 47 48 48 == Changelog == 49 50 = 4.2.2 = 51 * Support latest version of JWT plugin 52 * Add AppPresser Bridge and IonTheme to the myappp verifier 49 53 50 54 = 4.2.1 =
Note: See TracChangeset
for help on using the changeset viewer.