Changeset 3357762
- Timestamp:
- 09/08/2025 09:55:02 AM (6 months ago)
- Location:
- smaily-connect
- Files:
-
- 12 edited
- 1 copied
-
tags/1.3.1 (copied) (copied from smaily-connect/trunk)
-
tags/1.3.1/admin/css/smaily-admin.css (modified) (1 diff)
-
tags/1.3.1/admin/smaily-admin-renderer.class.php (modified) (1 diff)
-
tags/1.3.1/includes/smaily-api.class.php (modified) (1 diff)
-
tags/1.3.1/includes/smaily-helper.class.php (modified) (2 diffs)
-
tags/1.3.1/readme.txt (modified) (2 diffs)
-
tags/1.3.1/smaily-connect.php (modified) (2 diffs)
-
trunk/admin/css/smaily-admin.css (modified) (1 diff)
-
trunk/admin/smaily-admin-renderer.class.php (modified) (1 diff)
-
trunk/includes/smaily-api.class.php (modified) (1 diff)
-
trunk/includes/smaily-helper.class.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/smaily-connect.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smaily-connect/tags/1.3.1/admin/css/smaily-admin.css
r3280976 r3357762 4 4 color: #1d2327; 5 5 letter-spacing: 2%; 6 } 7 8 .smaily-connect-admin-notice { 9 background-color: #fff3f6; 10 padding: 10px 20px; 11 margin-bottom: 20px; 12 } 13 14 .smaily-connect-admin-notice.notice-error { 15 border-left: 4px solid #e91e63; 6 16 } 7 17 -
smaily-connect/tags/1.3.1/admin/smaily-admin-renderer.class.php
r3283436 r3357762 33 33 ?> 34 34 <?php if ( ! $this->are_credentials_valid() ) : ?> 35 <div class=" error smaily-notice is-dismissible">35 <div class="smaily-connect-admin-notice notice-error"> 36 36 <p> 37 37 <?php -
smaily-connect/tags/1.3.1/includes/smaily-api.class.php
r3280976 r3357762 109 109 * @param string $methods Methods accepted by the endpoint. 110 110 * @param string $callback Function name for the endpoint logic. 111 * @param array $args Extra arguments for register_rest_route.111 * @param array $args Extra arguments for register_rest_route. 112 112 */ 113 113 private function register_endpoint( $version, $path, $methods, $callback, $args = array() ) { -
smaily-connect/tags/1.3.1/includes/smaily-helper.class.php
r3283436 r3357762 22 22 $result = $request->list_autoresponders(); 23 23 24 if ( empty( $result['body'] ) ) {24 if ( ! isset( $result['body'] ) || empty( $result['body'] ) ) { 25 25 return array(); 26 26 } … … 28 28 $autoresponder_list = array(); 29 29 foreach ( $result['body'] as $autoresponder ) { 30 if ( ! is_array( $autoresponder ) ) { 31 continue; 32 } 33 34 if ( ! isset( $autoresponder['id'] ) || ! isset( $autoresponder['title'] ) ) { 35 continue; 36 } 37 38 if ( empty( $autoresponder['id'] ) || empty( $autoresponder['title'] ) ) { 39 continue; 40 } 41 30 42 $id = $autoresponder['id']; 31 43 $title = $autoresponder['title']; 32 44 $autoresponder_list[ $id ] = $title; 33 45 } 46 34 47 return $autoresponder_list; 35 48 } -
smaily-connect/tags/1.3.1/readme.txt
r3356475 r3357762 6 6 Tested up to: 6.8 7 7 WC tested up to: 9.6.1 8 Stable tag: 1.3. 08 Stable tag: 1.3.1 9 9 License: GPLv3 or later 10 10 … … 61 61 == Changelog == 62 62 63 = 1.3.1 = 64 65 - Improved the admin notice when the Smaily API credentials are invalid. Now the notice is rendered closer to the credentials input fields for better visibility. 66 - Improved autoresponder listing function validation to handle edge cases and ensure robust performance. 67 63 68 = 1.3.0 = 64 69 -
smaily-connect/tags/1.3.1/smaily-connect.php
r3356475 r3357762 12 12 * Plugin URI: https://smaily.com/help/user-manual/smaily-connect-for-wordpress/ 13 13 * Text Domain: smaily-connect 14 * Version: 1.3. 014 * Version: 1.3.1 15 15 */ 16 16 … … 23 23 * Current plugin version. 24 24 */ 25 define( 'SMAILY_CONNECT_PLUGIN_VERSION', '1.3. 0' );25 define( 'SMAILY_CONNECT_PLUGIN_VERSION', '1.3.1' ); 26 26 27 27 /** -
smaily-connect/trunk/admin/css/smaily-admin.css
r3280976 r3357762 4 4 color: #1d2327; 5 5 letter-spacing: 2%; 6 } 7 8 .smaily-connect-admin-notice { 9 background-color: #fff3f6; 10 padding: 10px 20px; 11 margin-bottom: 20px; 12 } 13 14 .smaily-connect-admin-notice.notice-error { 15 border-left: 4px solid #e91e63; 6 16 } 7 17 -
smaily-connect/trunk/admin/smaily-admin-renderer.class.php
r3283436 r3357762 33 33 ?> 34 34 <?php if ( ! $this->are_credentials_valid() ) : ?> 35 <div class=" error smaily-notice is-dismissible">35 <div class="smaily-connect-admin-notice notice-error"> 36 36 <p> 37 37 <?php -
smaily-connect/trunk/includes/smaily-api.class.php
r3280976 r3357762 109 109 * @param string $methods Methods accepted by the endpoint. 110 110 * @param string $callback Function name for the endpoint logic. 111 * @param array $args Extra arguments for register_rest_route.111 * @param array $args Extra arguments for register_rest_route. 112 112 */ 113 113 private function register_endpoint( $version, $path, $methods, $callback, $args = array() ) { -
smaily-connect/trunk/includes/smaily-helper.class.php
r3283436 r3357762 22 22 $result = $request->list_autoresponders(); 23 23 24 if ( empty( $result['body'] ) ) {24 if ( ! isset( $result['body'] ) || empty( $result['body'] ) ) { 25 25 return array(); 26 26 } … … 28 28 $autoresponder_list = array(); 29 29 foreach ( $result['body'] as $autoresponder ) { 30 if ( ! is_array( $autoresponder ) ) { 31 continue; 32 } 33 34 if ( ! isset( $autoresponder['id'] ) || ! isset( $autoresponder['title'] ) ) { 35 continue; 36 } 37 38 if ( empty( $autoresponder['id'] ) || empty( $autoresponder['title'] ) ) { 39 continue; 40 } 41 30 42 $id = $autoresponder['id']; 31 43 $title = $autoresponder['title']; 32 44 $autoresponder_list[ $id ] = $title; 33 45 } 46 34 47 return $autoresponder_list; 35 48 } -
smaily-connect/trunk/readme.txt
r3356475 r3357762 6 6 Tested up to: 6.8 7 7 WC tested up to: 9.6.1 8 Stable tag: 1.3. 08 Stable tag: 1.3.1 9 9 License: GPLv3 or later 10 10 … … 61 61 == Changelog == 62 62 63 = 1.3.1 = 64 65 - Improved the admin notice when the Smaily API credentials are invalid. Now the notice is rendered closer to the credentials input fields for better visibility. 66 - Improved autoresponder listing function validation to handle edge cases and ensure robust performance. 67 63 68 = 1.3.0 = 64 69 -
smaily-connect/trunk/smaily-connect.php
r3356475 r3357762 12 12 * Plugin URI: https://smaily.com/help/user-manual/smaily-connect-for-wordpress/ 13 13 * Text Domain: smaily-connect 14 * Version: 1.3. 014 * Version: 1.3.1 15 15 */ 16 16 … … 23 23 * Current plugin version. 24 24 */ 25 define( 'SMAILY_CONNECT_PLUGIN_VERSION', '1.3. 0' );25 define( 'SMAILY_CONNECT_PLUGIN_VERSION', '1.3.1' ); 26 26 27 27 /**
Note: See TracChangeset
for help on using the changeset viewer.