Plugin Directory

Changeset 3810481


Ignore:
Timestamp:
11/19/2026 01:03:59 AM (less than one hour ago)
Author:
blootrue
Message:

Release 1.3.2

Location:
blootrue-reviews-widget
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • blootrue-reviews-widget/tags/1.3.2/blootrue-reviews-widget.php

    r3806314 r3810481  
    44 * Plugin URI:        https://www.blootrue.com/widgets?utm_source=wordpress-plugin&utm_medium=plugin&utm_campaign=plugin_uri
    55 * Description:       Show your Google, Yelp, Facebook, TripAdvisor and 20+ platform reviews on your site in animated widgets, plus a before/after Work Showcase and a photo-quote form. Block, shortcode and sidebar widget. Free plan, no coding.
    6  * Version:           1.3.1
     6 * Version:           1.3.2
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
    … …  
    2020}
    2121
    22 define( 'BLOOTRUE_WP_VERSION', '1.3.1' );
     22define( 'BLOOTRUE_WP_VERSION', '1.3.2' );
    2323define( 'BLOOTRUE_WP_FILE', __FILE__ );
    2424define( 'BLOOTRUE_WP_DIR', plugin_dir_path( __FILE__ ) );
  • blootrue-reviews-widget/tags/1.3.2/includes/class-blootrue-admin.php

    r3737416 r3810481  
    266266                $msg_raw = isset( $_GET['blootrue_msg'] ) ? sanitize_text_field( wp_unslash( $_GET['blootrue_msg'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only notice text.
    267267                $msg     = sanitize_text_field( rawurldecode( $msg_raw ) );
    268                 $signup  = BLOOTRUE_APP_ORIGIN . '/signup?utm_source=wordpress-plugin&utm_medium=plugin&utm_campaign=settings';
    269268                $app     = BLOOTRUE_APP_ORIGIN . '/widgets?utm_source=wordpress-plugin&utm_medium=plugin&utm_campaign=settings';
    270269                ?>
    … …  
    338337                                                                        <?php esc_html_e( 'Add one from your BlooTrue widgets above.', 'blootrue-reviews-widget' ); ?>
    339338                                                                <?php else : ?>
    340                                                                         <a href="<?php echo esc_url( $signup ); ?>" target="_blank" rel="noopener"><?php esc_html_e( 'Create a free widget in BlooTrue', 'blootrue-reviews-widget' ); ?></a>
    341                                                                         <?php esc_html_e( '(about a minute), then connect above and add it.', 'blootrue-reviews-widget' ); ?>
     339                                                                        <a href="<?php echo esc_url( Blootrue_Connect::start_url( 'list' ) ); ?>"><?php esc_html_e( 'Create a free widget in BlooTrue', 'blootrue-reviews-widget' ); ?></a>
     340                                                                        <?php esc_html_e( '(about a minute). You come straight back here to add it.', 'blootrue-reviews-widget' ); ?>
    342341                                                                <?php endif; ?>
    343342                                                        </p>
    … …  
    414413                                                        <li><?php esc_html_e( 'Free widgets show the latest 10 reviews from the day they are created. New reviews sync every day on Starter.', 'blootrue-reviews-widget' ); ?></li>
    415414                                                </ul>
    416                                                 <p><a class="button" href="<?php echo esc_url( Blootrue_Connect::connection() ? Blootrue_Connect::create_url() : $signup ); ?>" target="_blank" rel="noopener"><?php esc_html_e( 'Create a free widget', 'blootrue-reviews-widget' ); ?></a></p>
     415                                                <?php if ( Blootrue_Connect::connection() ) : ?>
     416                                                        <p><a class="button" href="<?php echo esc_url( Blootrue_Connect::create_url() ); ?>" target="_blank" rel="noopener"><?php esc_html_e( 'Create a free widget', 'blootrue-reviews-widget' ); ?></a></p>
     417                                                <?php else : ?>
     418                                                        <p><a class="button" href="<?php echo esc_url( Blootrue_Connect::start_url( 'create' ) ); ?>"><?php esc_html_e( 'Create a free widget', 'blootrue-reviews-widget' ); ?></a></p>
     419                                                <?php endif; ?>
    417420                                        </div>
    418421                                        <div class="blootrue-card blootrue-card--muted">
  • blootrue-reviews-widget/tags/1.3.2/includes/class-blootrue-block.php

    r3737416 r3810481  
    7575                        'typeLabels'  => Blootrue_Registry::type_labels(),
    7676                        'settingsUrl' => admin_url( 'options-general.php?page=' . Blootrue_Admin::PAGE ),
    77                         'appUrl'      => BLOOTRUE_APP_ORIGIN . '/signup?utm_source=wordpress-plugin&utm_medium=plugin&utm_campaign=block',
     77                        // Not connected: the link connects (and signs up), then comes back
     78                        // to the plugin page. It was a plain sign-up with no way back
     79                        // (Mike 2026-11-18). Connected: create in the app, with the way back.
     80                        'appUrl'      => Blootrue_Connect::connection() ? Blootrue_Connect::create_url() : Blootrue_Connect::start_url( 'block' ),
    7881                        'apiOrigin'   => Blootrue_Render::api_origin(),
    7982                        'iconUrl'     => BLOOTRUE_WP_URL . 'assets/icon.svg',
  • blootrue-reviews-widget/tags/1.3.2/includes/class-blootrue-connect.php

    r3806314 r3810481  
    8181
    8282        /**
     83         * Where a link may start connecting from, and the utm_campaign it gets.
     84         * Mike 2026-11-18: the "Create a free widget" links on a site that was not
     85         * connected went to a plain BlooTrue sign-up with no way back, so people
     86         * signed up, pasted the code into their page and never connected the
     87         * plugin. Those links now start connecting (which signs people up too).
     88         */
     89        const START_FROM = array( 'create', 'list', 'block' );
     90
     91        /**
     92         * A link that starts connecting, the same as the Connect BlooTrue button.
     93         * Admin-only and nonce-checked by handle_start().
     94         *
     95         * @param string $from One of START_FROM: which link it is.
     96         * @return string
     97         */
     98        public static function start_url( $from ) {
     99                return wp_nonce_url(
     100                        add_query_arg(
     101                                array(
     102                                        'action' => 'blootrue_connect_start',
     103                                        'from'   => in_array( $from, self::START_FROM, true ) ? $from : 'create',
     104                                ),
     105                                admin_url( 'admin-post.php' )
     106                        ),
     107                        self::NONCE_START
     108                );
     109        }
     110
     111        /**
    83112         * "Create a new widget" in the app, with the way back to this page.
    84113         *
    … …  
    247276
    248277        /**
    249          * POST: start connecting. Off to BlooTrue with a one-time state.
     278         * Start connecting (the button posts, the create links are GET links with
     279         * the same nonce). Off to BlooTrue with a one-time state.
    250280         */
    251281        public static function handle_start() {
    252282                self::guard( self::NONCE_START );
     283                $from     = isset( $_REQUEST['from'] ) ? sanitize_key( wp_unslash( $_REQUEST['from'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- checked by guard() above.
     284                $campaign = in_array( $from, self::START_FROM, true ) ? 'connect_' . $from : 'connect';
    253285                $state = wp_generate_password( 32, false, false );
    254286                update_user_meta(
    … …  
    263295                $url    = add_query_arg(
    264296                        array_merge(
    265                                 self::utm( 'connect' ),
     297                                self::utm( $campaign ),
    266298                                array(
    267299                                        'site'   => rawurlencode( self::site() ),
  • blootrue-reviews-widget/tags/1.3.2/readme.txt

    r3806314 r3810481  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    3838* Edit the design in BlooTrue and your site updates by itself. No re-paste.
    3939
    40 **Free plan**: one widget, one review source, unlimited views, the latest 10 reviews from the day the widget is created. Starter ($9/month or $84/year) syncs new reviews every day, removes the BlooTrue badge and unlocks every style and animation.
     40**Free plan**: one widget, one review source, unlimited views, the latest 10 reviews from the day the widget is created. Starter ($7/month, billed yearly) syncs new reviews every day, removes the BlooTrue badge and unlocks every style and animation.
    4141
    4242== Installation ==
    … …  
    117117== Changelog ==
    118118
     119= 1.3.2 =
     120* “Create a free widget” now connects this site to BlooTrue first (creating your free account if you need one) and brings you back here to add the widget. No code to copy.
     121
    119122= 1.3.1 =
    120123* When your site is connected to BlooTrue, the plugin tells your account when it is deactivated, activated again or deleted, so the account shows whether it is still on your site.
    … …  
    141144== Upgrade Notice ==
    142145
     146= 1.3.2 =
     147“Create a free widget” connects your site and brings you back to add it.
     148
    143149= 1.3.1 =
    144150Adds a dismissible review request, 2 days after your first live widget.
  • blootrue-reviews-widget/trunk/blootrue-reviews-widget.php

    r3806314 r3810481  
    44 * Plugin URI:        https://www.blootrue.com/widgets?utm_source=wordpress-plugin&utm_medium=plugin&utm_campaign=plugin_uri
    55 * Description:       Show your Google, Yelp, Facebook, TripAdvisor and 20+ platform reviews on your site in animated widgets, plus a before/after Work Showcase and a photo-quote form. Block, shortcode and sidebar widget. Free plan, no coding.
    6  * Version:           1.3.1
     6 * Version:           1.3.2
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
    … …  
    2020}
    2121
    22 define( 'BLOOTRUE_WP_VERSION', '1.3.1' );
     22define( 'BLOOTRUE_WP_VERSION', '1.3.2' );
    2323define( 'BLOOTRUE_WP_FILE', __FILE__ );
    2424define( 'BLOOTRUE_WP_DIR', plugin_dir_path( __FILE__ ) );
  • blootrue-reviews-widget/trunk/includes/class-blootrue-admin.php

    r3737416 r3810481  
    266266                $msg_raw = isset( $_GET['blootrue_msg'] ) ? sanitize_text_field( wp_unslash( $_GET['blootrue_msg'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only notice text.
    267267                $msg     = sanitize_text_field( rawurldecode( $msg_raw ) );
    268                 $signup  = BLOOTRUE_APP_ORIGIN . '/signup?utm_source=wordpress-plugin&utm_medium=plugin&utm_campaign=settings';
    269268                $app     = BLOOTRUE_APP_ORIGIN . '/widgets?utm_source=wordpress-plugin&utm_medium=plugin&utm_campaign=settings';
    270269                ?>
    … …  
    338337                                                                        <?php esc_html_e( 'Add one from your BlooTrue widgets above.', 'blootrue-reviews-widget' ); ?>
    339338                                                                <?php else : ?>
    340                                                                         <a href="<?php echo esc_url( $signup ); ?>" target="_blank" rel="noopener"><?php esc_html_e( 'Create a free widget in BlooTrue', 'blootrue-reviews-widget' ); ?></a>
    341                                                                         <?php esc_html_e( '(about a minute), then connect above and add it.', 'blootrue-reviews-widget' ); ?>
     339                                                                        <a href="<?php echo esc_url( Blootrue_Connect::start_url( 'list' ) ); ?>"><?php esc_html_e( 'Create a free widget in BlooTrue', 'blootrue-reviews-widget' ); ?></a>
     340                                                                        <?php esc_html_e( '(about a minute). You come straight back here to add it.', 'blootrue-reviews-widget' ); ?>
    342341                                                                <?php endif; ?>
    343342                                                        </p>
    … …  
    414413                                                        <li><?php esc_html_e( 'Free widgets show the latest 10 reviews from the day they are created. New reviews sync every day on Starter.', 'blootrue-reviews-widget' ); ?></li>
    415414                                                </ul>
    416                                                 <p><a class="button" href="<?php echo esc_url( Blootrue_Connect::connection() ? Blootrue_Connect::create_url() : $signup ); ?>" target="_blank" rel="noopener"><?php esc_html_e( 'Create a free widget', 'blootrue-reviews-widget' ); ?></a></p>
     415                                                <?php if ( Blootrue_Connect::connection() ) : ?>
     416                                                        <p><a class="button" href="<?php echo esc_url( Blootrue_Connect::create_url() ); ?>" target="_blank" rel="noopener"><?php esc_html_e( 'Create a free widget', 'blootrue-reviews-widget' ); ?></a></p>
     417                                                <?php else : ?>
     418                                                        <p><a class="button" href="<?php echo esc_url( Blootrue_Connect::start_url( 'create' ) ); ?>"><?php esc_html_e( 'Create a free widget', 'blootrue-reviews-widget' ); ?></a></p>
     419                                                <?php endif; ?>
    417420                                        </div>
    418421                                        <div class="blootrue-card blootrue-card--muted">
  • blootrue-reviews-widget/trunk/includes/class-blootrue-block.php

    r3737416 r3810481  
    7575                        'typeLabels'  => Blootrue_Registry::type_labels(),
    7676                        'settingsUrl' => admin_url( 'options-general.php?page=' . Blootrue_Admin::PAGE ),
    77                         'appUrl'      => BLOOTRUE_APP_ORIGIN . '/signup?utm_source=wordpress-plugin&utm_medium=plugin&utm_campaign=block',
     77                        // Not connected: the link connects (and signs up), then comes back
     78                        // to the plugin page. It was a plain sign-up with no way back
     79                        // (Mike 2026-11-18). Connected: create in the app, with the way back.
     80                        'appUrl'      => Blootrue_Connect::connection() ? Blootrue_Connect::create_url() : Blootrue_Connect::start_url( 'block' ),
    7881                        'apiOrigin'   => Blootrue_Render::api_origin(),
    7982                        'iconUrl'     => BLOOTRUE_WP_URL . 'assets/icon.svg',
  • blootrue-reviews-widget/trunk/includes/class-blootrue-connect.php

    r3806314 r3810481  
    8181
    8282        /**
     83         * Where a link may start connecting from, and the utm_campaign it gets.
     84         * Mike 2026-11-18: the "Create a free widget" links on a site that was not
     85         * connected went to a plain BlooTrue sign-up with no way back, so people
     86         * signed up, pasted the code into their page and never connected the
     87         * plugin. Those links now start connecting (which signs people up too).
     88         */
     89        const START_FROM = array( 'create', 'list', 'block' );
     90
     91        /**
     92         * A link that starts connecting, the same as the Connect BlooTrue button.
     93         * Admin-only and nonce-checked by handle_start().
     94         *
     95         * @param string $from One of START_FROM: which link it is.
     96         * @return string
     97         */
     98        public static function start_url( $from ) {
     99                return wp_nonce_url(
     100                        add_query_arg(
     101                                array(
     102                                        'action' => 'blootrue_connect_start',
     103                                        'from'   => in_array( $from, self::START_FROM, true ) ? $from : 'create',
     104                                ),
     105                                admin_url( 'admin-post.php' )
     106                        ),
     107                        self::NONCE_START
     108                );
     109        }
     110
     111        /**
    83112         * "Create a new widget" in the app, with the way back to this page.
    84113         *
    … …  
    247276
    248277        /**
    249          * POST: start connecting. Off to BlooTrue with a one-time state.
     278         * Start connecting (the button posts, the create links are GET links with
     279         * the same nonce). Off to BlooTrue with a one-time state.
    250280         */
    251281        public static function handle_start() {
    252282                self::guard( self::NONCE_START );
     283                $from     = isset( $_REQUEST['from'] ) ? sanitize_key( wp_unslash( $_REQUEST['from'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- checked by guard() above.
     284                $campaign = in_array( $from, self::START_FROM, true ) ? 'connect_' . $from : 'connect';
    253285                $state = wp_generate_password( 32, false, false );
    254286                update_user_meta(
    … …  
    263295                $url    = add_query_arg(
    264296                        array_merge(
    265                                 self::utm( 'connect' ),
     297                                self::utm( $campaign ),
    266298                                array(
    267299                                        'site'   => rawurlencode( self::site() ),
  • blootrue-reviews-widget/trunk/readme.txt

    r3806314 r3810481  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    3838* Edit the design in BlooTrue and your site updates by itself. No re-paste.
    3939
    40 **Free plan**: one widget, one review source, unlimited views, the latest 10 reviews from the day the widget is created. Starter ($9/month or $84/year) syncs new reviews every day, removes the BlooTrue badge and unlocks every style and animation.
     40**Free plan**: one widget, one review source, unlimited views, the latest 10 reviews from the day the widget is created. Starter ($7/month, billed yearly) syncs new reviews every day, removes the BlooTrue badge and unlocks every style and animation.
    4141
    4242== Installation ==
    … …  
    117117== Changelog ==
    118118
     119= 1.3.2 =
     120* “Create a free widget” now connects this site to BlooTrue first (creating your free account if you need one) and brings you back here to add the widget. No code to copy.
     121
    119122= 1.3.1 =
    120123* When your site is connected to BlooTrue, the plugin tells your account when it is deactivated, activated again or deleted, so the account shows whether it is still on your site.
    … …  
    141144== Upgrade Notice ==
    142145
     146= 1.3.2 =
     147“Create a free widget” connects your site and brings you back to add it.
     148
    143149= 1.3.1 =
    144150Adds a dismissible review request, 2 days after your first live widget.
Note: See TracChangeset for help on using the changeset viewer.