Plugin Directory

Changeset 3768645


Ignore:
Timestamp:
10/27/2026 01:13:06 PM (5 days ago)
Author:
hubupro
Message:

Release 1.0.1

Location:
hubu-panel
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • hubu-panel/tags/1.0.1/hubu.php

    r3768148 r3768645  
    1010 * @wordpress-plugin
    1111 * Plugin Name:       Hubu Panel
    12  * Version:           1.0.0
     12 * Version:           1.0.1
    1313 * Description:       Hubu is a special product that creates a beautiful user dashboard for your WordPress site.
    1414 * Author:            HUBU Team
    … …  
    3636         * @var string
    3737         */
    38         public $version = '1.0.0';
     38        public $version = '1.0.1';
    3939
    4040        /**
  • hubu-panel/tags/1.0.1/includes/admin/class-registration.php

    r3768148 r3768645  
    126126                        }
    127127
    128                         // Redirect to the wizard is registration successful.
     128                        // Back to the dashboard once the connection succeeds.
    129129                        if ( Param::get( 'page' ) === 'hubu-registration' ) {
    130                                 return Helper::get_admin_url( 'wizard' );
     130                                return Helper::get_admin_url();
    131131                        }
    132132
    … …  
    180180                $this->invalid = Helper::is_invalid_activation();
    181181
    182                 $url = '';
    183                 if ( $this->invalid ) {
    184                         $url = 'registration';
    185                 } elseif ( ! get_option( 'hubu_wizard_completed' ) ) {
    186                         $url = 'wizard';
    187                 }
    188 
    189                 Helper::redirect( Helper::get_admin_url( $url ) );
     182                Helper::redirect( $this->welcome_url() );
    190183                exit;
     184        }
     185
     186        /**
     187         * Where a first activation lands.
     188         *
     189         * Always the Hubu dashboard. There is no registration or wizard screen any
     190         * more, and a site without a Pro licence is the normal state of the free
     191         * plugin, so sending it to `hubu-registration` / `hubu-wizard` ended on
     192         * WordPress's "not allowed to access this page" error straight after install.
     193         *
     194         * @return string
     195         */
     196        public function welcome_url() {
     197                return Helper::get_admin_url();
    191198        }
    192199
    … …  
    222229                }
    223230
    224                 $url = Admin_Helper::get_activate_url( Helper::get_admin_url( 'registration' ) );
     231                $url = Admin_Helper::get_activate_url( Helper::get_admin_url() );
    225232
    226233                // Deliberately wp_redirect(): this leaves the site for hubu.pro's
    … …  
    249256                $page = isset( $_GET['page'] ) ? sanitize_key( wp_unslash( $_GET['page'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Screen detection, see above.
    250257
    251                 if ( in_array( $page, [ 'hubu-registration', 'hubu-wizard' ], true ) || ! current_user_can( 'manage_options' ) ) {
     258                // Bulk activation (plugins.php?activate-multi) must not hijack the screen.
     259                $bulk = isset( $_GET['activate-multi'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only screen detection, see above.
     260
     261                if ( $bulk || in_array( $page, [ 'hubu', 'hubu-registration', 'hubu-wizard' ], true ) || ! current_user_can( 'manage_options' ) ) {
    252262                        return false;
    253263                }
  • hubu-panel/tags/1.0.1/package.json

    r3768148 r3768645  
    11{
    22  "name": "hubu",
    3   "version": "1.0.0",
     3  "version": "1.0.1",
    44  "private": true,
    55  "description": "Hubu \u2014 a front-end user dashboard, login and registration for WordPress.",
  • hubu-panel/tags/1.0.1/readme.txt

    r3768148 r3768645  
    55Tested up to: 7.1
    66Requires PHP: 8.0
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
    … …  
    123123== Changelog ==
    124124
     125= 1.0.1 =
     126* Fix: the screen shown right after the first activation ended on a "Sorry, you are not allowed to access this page" error. It now opens the Hubu dashboard.
     127* Fix: login, registration and password-recovery validation, OTP code entry and the registration consent checkbox.
     128
    125129= 1.0.0 =
    126130* First public release.
    … …  
    134138== Upgrade Notice ==
    135139
     140= 1.0.1 =
     141Fixes an error on the first screen after activating the plugin.
     142
    136143= 1.0.0 =
    137144First public release.
  • hubu-panel/tags/1.0.1/vendor/composer/installed.php

    r3768148 r3768645  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => 'e17d26abfbc3a25a03c4cd6865a6d45b8c0e6a2d',
     6        'reference' => '3b1027831415e08d01189a3ac216575be3f1341c',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
    … …  
    6868            'pretty_version' => 'dev-main',
    6969            'version' => 'dev-main',
    70             'reference' => 'e17d26abfbc3a25a03c4cd6865a6d45b8c0e6a2d',
     70            'reference' => '3b1027831415e08d01189a3ac216575be3f1341c',
    7171            'type' => 'wordpress-plugin',
    7272            'install_path' => __DIR__ . '/../../',
  • hubu-panel/trunk/hubu.php

    r3768148 r3768645  
    1010 * @wordpress-plugin
    1111 * Plugin Name:       Hubu Panel
    12  * Version:           1.0.0
     12 * Version:           1.0.1
    1313 * Description:       Hubu is a special product that creates a beautiful user dashboard for your WordPress site.
    1414 * Author:            HUBU Team
    … …  
    3636         * @var string
    3737         */
    38         public $version = '1.0.0';
     38        public $version = '1.0.1';
    3939
    4040        /**
  • hubu-panel/trunk/includes/admin/class-registration.php

    r3768148 r3768645  
    126126                        }
    127127
    128                         // Redirect to the wizard is registration successful.
     128                        // Back to the dashboard once the connection succeeds.
    129129                        if ( Param::get( 'page' ) === 'hubu-registration' ) {
    130                                 return Helper::get_admin_url( 'wizard' );
     130                                return Helper::get_admin_url();
    131131                        }
    132132
    … …  
    180180                $this->invalid = Helper::is_invalid_activation();
    181181
    182                 $url = '';
    183                 if ( $this->invalid ) {
    184                         $url = 'registration';
    185                 } elseif ( ! get_option( 'hubu_wizard_completed' ) ) {
    186                         $url = 'wizard';
    187                 }
    188 
    189                 Helper::redirect( Helper::get_admin_url( $url ) );
     182                Helper::redirect( $this->welcome_url() );
    190183                exit;
     184        }
     185
     186        /**
     187         * Where a first activation lands.
     188         *
     189         * Always the Hubu dashboard. There is no registration or wizard screen any
     190         * more, and a site without a Pro licence is the normal state of the free
     191         * plugin, so sending it to `hubu-registration` / `hubu-wizard` ended on
     192         * WordPress's "not allowed to access this page" error straight after install.
     193         *
     194         * @return string
     195         */
     196        public function welcome_url() {
     197                return Helper::get_admin_url();
    191198        }
    192199
    … …  
    222229                }
    223230
    224                 $url = Admin_Helper::get_activate_url( Helper::get_admin_url( 'registration' ) );
     231                $url = Admin_Helper::get_activate_url( Helper::get_admin_url() );
    225232
    226233                // Deliberately wp_redirect(): this leaves the site for hubu.pro's
    … …  
    249256                $page = isset( $_GET['page'] ) ? sanitize_key( wp_unslash( $_GET['page'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Screen detection, see above.
    250257
    251                 if ( in_array( $page, [ 'hubu-registration', 'hubu-wizard' ], true ) || ! current_user_can( 'manage_options' ) ) {
     258                // Bulk activation (plugins.php?activate-multi) must not hijack the screen.
     259                $bulk = isset( $_GET['activate-multi'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only screen detection, see above.
     260
     261                if ( $bulk || in_array( $page, [ 'hubu', 'hubu-registration', 'hubu-wizard' ], true ) || ! current_user_can( 'manage_options' ) ) {
    252262                        return false;
    253263                }
  • hubu-panel/trunk/package.json

    r3768148 r3768645  
    11{
    22  "name": "hubu",
    3   "version": "1.0.0",
     3  "version": "1.0.1",
    44  "private": true,
    55  "description": "Hubu \u2014 a front-end user dashboard, login and registration for WordPress.",
  • hubu-panel/trunk/readme.txt

    r3768148 r3768645  
    55Tested up to: 7.1
    66Requires PHP: 8.0
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
    … …  
    123123== Changelog ==
    124124
     125= 1.0.1 =
     126* Fix: the screen shown right after the first activation ended on a "Sorry, you are not allowed to access this page" error. It now opens the Hubu dashboard.
     127* Fix: login, registration and password-recovery validation, OTP code entry and the registration consent checkbox.
     128
    125129= 1.0.0 =
    126130* First public release.
    … …  
    134138== Upgrade Notice ==
    135139
     140= 1.0.1 =
     141Fixes an error on the first screen after activating the plugin.
     142
    136143= 1.0.0 =
    137144First public release.
  • hubu-panel/trunk/vendor/composer/installed.php

    r3768148 r3768645  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => 'e17d26abfbc3a25a03c4cd6865a6d45b8c0e6a2d',
     6        'reference' => '3b1027831415e08d01189a3ac216575be3f1341c',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
    … …  
    6868            'pretty_version' => 'dev-main',
    6969            'version' => 'dev-main',
    70             'reference' => 'e17d26abfbc3a25a03c4cd6865a6d45b8c0e6a2d',
     70            'reference' => '3b1027831415e08d01189a3ac216575be3f1341c',
    7171            'type' => 'wordpress-plugin',
    7272            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.