Plugin Directory

Changeset 3351998


Ignore:
Timestamp:
08/28/2025 12:30:44 PM (6 months ago)
Author:
zealopensource
Message:

Update to version 1.0.5 from GitHub

Location:
smart-showcase-for-google-reviews
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smart-showcase-for-google-reviews/tags/1.0.5/inc/lib/class.zwssgr.gmbc.php

    r3339663 r3351998  
    101101                    <div class="zwssgr-gmbc-container">
    102102                        <div id="fetch-gmb-auth-url-wrapper" class="zwssgr-gmbc-inner-wrapper">
    103                             <span> '. esc_html__( 'The Smart Google Reviews plugin showcases reviews from your Google Business profile. It retrieves publicly available details using the Google Business API, such as the reviewer\'s name, profile picture, and review content. This plugin does not collect or store any personal data on this website. All displayed reviews are subject to Google’s Privacy Policy.', 'smart-showcase-for-google-reviews' ) . '</span>
    104                             <div id="fetch-gmb-auth-url-response" class="zwssgr-fetch-gmb-auth-url-response"></div>   
     103                            <span> '. esc_html__( 'The Smart Google Reviews plugin showcases reviews from your Google Business profile. It retrieves publicly available details using the Google Business API, such as the reviewer\'s name, profile picture, and review content. This plugin does not collect or store any personal data on this website. All displayed reviews are subject to Google’s Privacy Policy.', 'smart-showcase-for-google-reviews' ) . '</span>';
     104                            $zwssgr_error_notice = get_transient('zwssgr_error_notice');
     105                            if ($zwssgr_error_notice) {
     106                                echo '<div class="notice notice-error"><p>' . esc_html($zwssgr_error_notice) . '</p></div>';
     107                                delete_transient('zwssgr_error_notice');
     108                            }
     109                            echo '<div id="fetch-gmb-auth-url-response" class="zwssgr-fetch-gmb-auth-url-response"></div>   
    105110                            <a href="" class="button button-primary zwssgr-submit-btn fetch-gmb-auth-url" id="fetch-gmb-auth-url">'. esc_html__('Connect with Google', 'smart-showcase-for-google-reviews').'</a>
    106111                        </div>
     
    210215                    }
    211216                } else {
    212                     set_transient('zwssgr_auth_status', false, 600);
     217
     218                    set_transient('zwssgr_error_notice', $zwssgr_fetch_jwt_token_response['message'], 30);
    213219
    214220                    // Redirect back to the submenu page with error notice
    215                     wp_redirect(admin_url('admin.php?page=zwssgr_connect_google'));
     221                    wp_redirect(admin_url('admin.php?page=zwssgr_dashboard'));
    216222                    exit;
    217223                }
     
    385391                delete_transient('zwssgr_success_notice');
    386392            }
     393           
    387394        }
    388395    }
  • smart-showcase-for-google-reviews/tags/1.0.5/readme.txt

    r3339663 r3351998  
    66Requires at least: 5.8
    77Tested up to: 6.8
    8 Stable tag: 1.0.4
     8Stable tag: 1.0.5
    99Requires PHP: 7.0
    1010License: GPLv3 or later
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
    12 Version: 1.0.4
     12Version: 1.0.5
    1313
    1414
     
    6868
    6969== Upgrade Notice ==
     70
     71= 1.0.5 =
     72* Fixed: Improved error handling.
    7073
    7174= 1.0.4 =
     
    234237== Changelog ==
    235238
     239= 1.0.5 =
     240* Fixed: Improved error handling.
     241
    236242= 1.0.4 =
    237243* Updated tooltip content for improved clarity
  • smart-showcase-for-google-reviews/tags/1.0.5/smart-showcase-for-google-reviews.php

    r3339663 r3351998  
    44 * Plugin URL: https://wordpress.org/plugins/smart-showcase-for-google-reviews/
    55 * Description: The Smart Showcase for Google Reviews enables users to easily embed Google Reviews on your WordPress site.
    6  * Version: 1.0.4
     6 * Version: 1.0.5
    77 * Requires at least: 5.8
    88 * Requires PHP: 7.0
     
    2727 *
    2828 * @package Smart Showcase for Google Reviews
    29  * @since 1.0.4
     29 * @since 1.0.5
    3030 */
    3131
    3232if ( !defined( 'ZWSSGR_VERSION' ) ) {
    33     define( 'ZWSSGR_VERSION', '1.0.4' ); // Version of plugin
     33    define( 'ZWSSGR_VERSION', '1.0.5' ); // Version of plugin
    3434}
    3535
  • smart-showcase-for-google-reviews/trunk/inc/lib/class.zwssgr.gmbc.php

    r3339663 r3351998  
    101101                    <div class="zwssgr-gmbc-container">
    102102                        <div id="fetch-gmb-auth-url-wrapper" class="zwssgr-gmbc-inner-wrapper">
    103                             <span> '. esc_html__( 'The Smart Google Reviews plugin showcases reviews from your Google Business profile. It retrieves publicly available details using the Google Business API, such as the reviewer\'s name, profile picture, and review content. This plugin does not collect or store any personal data on this website. All displayed reviews are subject to Google’s Privacy Policy.', 'smart-showcase-for-google-reviews' ) . '</span>
    104                             <div id="fetch-gmb-auth-url-response" class="zwssgr-fetch-gmb-auth-url-response"></div>   
     103                            <span> '. esc_html__( 'The Smart Google Reviews plugin showcases reviews from your Google Business profile. It retrieves publicly available details using the Google Business API, such as the reviewer\'s name, profile picture, and review content. This plugin does not collect or store any personal data on this website. All displayed reviews are subject to Google’s Privacy Policy.', 'smart-showcase-for-google-reviews' ) . '</span>';
     104                            $zwssgr_error_notice = get_transient('zwssgr_error_notice');
     105                            if ($zwssgr_error_notice) {
     106                                echo '<div class="notice notice-error"><p>' . esc_html($zwssgr_error_notice) . '</p></div>';
     107                                delete_transient('zwssgr_error_notice');
     108                            }
     109                            echo '<div id="fetch-gmb-auth-url-response" class="zwssgr-fetch-gmb-auth-url-response"></div>   
    105110                            <a href="" class="button button-primary zwssgr-submit-btn fetch-gmb-auth-url" id="fetch-gmb-auth-url">'. esc_html__('Connect with Google', 'smart-showcase-for-google-reviews').'</a>
    106111                        </div>
     
    210215                    }
    211216                } else {
    212                     set_transient('zwssgr_auth_status', false, 600);
     217
     218                    set_transient('zwssgr_error_notice', $zwssgr_fetch_jwt_token_response['message'], 30);
    213219
    214220                    // Redirect back to the submenu page with error notice
    215                     wp_redirect(admin_url('admin.php?page=zwssgr_connect_google'));
     221                    wp_redirect(admin_url('admin.php?page=zwssgr_dashboard'));
    216222                    exit;
    217223                }
     
    385391                delete_transient('zwssgr_success_notice');
    386392            }
     393           
    387394        }
    388395    }
  • smart-showcase-for-google-reviews/trunk/readme.txt

    r3339663 r3351998  
    66Requires at least: 5.8
    77Tested up to: 6.8
    8 Stable tag: 1.0.4
     8Stable tag: 1.0.5
    99Requires PHP: 7.0
    1010License: GPLv3 or later
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
    12 Version: 1.0.4
     12Version: 1.0.5
    1313
    1414
     
    6868
    6969== Upgrade Notice ==
     70
     71= 1.0.5 =
     72* Fixed: Improved error handling.
    7073
    7174= 1.0.4 =
     
    234237== Changelog ==
    235238
     239= 1.0.5 =
     240* Fixed: Improved error handling.
     241
    236242= 1.0.4 =
    237243* Updated tooltip content for improved clarity
  • smart-showcase-for-google-reviews/trunk/smart-showcase-for-google-reviews.php

    r3339663 r3351998  
    44 * Plugin URL: https://wordpress.org/plugins/smart-showcase-for-google-reviews/
    55 * Description: The Smart Showcase for Google Reviews enables users to easily embed Google Reviews on your WordPress site.
    6  * Version: 1.0.4
     6 * Version: 1.0.5
    77 * Requires at least: 5.8
    88 * Requires PHP: 7.0
     
    2727 *
    2828 * @package Smart Showcase for Google Reviews
    29  * @since 1.0.4
     29 * @since 1.0.5
    3030 */
    3131
    3232if ( !defined( 'ZWSSGR_VERSION' ) ) {
    33     define( 'ZWSSGR_VERSION', '1.0.4' ); // Version of plugin
     33    define( 'ZWSSGR_VERSION', '1.0.5' ); // Version of plugin
    3434}
    3535
Note: See TracChangeset for help on using the changeset viewer.