Changeset 3768645
- Timestamp:
- 10/27/2026 01:13:06 PM (5 days ago)
- Location:
- hubu-panel
- Files:
-
- 10 edited
- 1 copied
-
tags/1.0.1 (copied) (copied from hubu-panel/trunk )
-
tags/1.0.1/hubu.php (modified) (2 diffs)
-
tags/1.0.1/includes/admin/class-registration.php (modified) (4 diffs)
-
tags/1.0.1/package.json (modified) (1 diff)
-
tags/1.0.1/readme.txt (modified) (3 diffs)
-
tags/1.0.1/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/hubu.php (modified) (2 diffs)
-
trunk/includes/admin/class-registration.php (modified) (4 diffs)
-
trunk/package.json (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hubu-panel/tags/1.0.1/hubu.php
r3768148 r3768645 10 10 * @wordpress-plugin 11 11 * Plugin Name: Hubu Panel 12 * Version: 1.0. 012 * Version: 1.0.1 13 13 * Description: Hubu is a special product that creates a beautiful user dashboard for your WordPress site. 14 14 * Author: HUBU Team … … 36 36 * @var string 37 37 */ 38 public $version = '1.0. 0';38 public $version = '1.0.1'; 39 39 40 40 /** -
hubu-panel/tags/1.0.1/includes/admin/class-registration.php
r3768148 r3768645 126 126 } 127 127 128 // Redirect to the wizard is registration successful.128 // Back to the dashboard once the connection succeeds. 129 129 if ( Param::get( 'page' ) === 'hubu-registration' ) { 130 return Helper::get_admin_url( 'wizard');130 return Helper::get_admin_url(); 131 131 } 132 132 … … 180 180 $this->invalid = Helper::is_invalid_activation(); 181 181 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() ); 190 183 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(); 191 198 } 192 199 … … 222 229 } 223 230 224 $url = Admin_Helper::get_activate_url( Helper::get_admin_url( 'registration') );231 $url = Admin_Helper::get_activate_url( Helper::get_admin_url() ); 225 232 226 233 // Deliberately wp_redirect(): this leaves the site for hubu.pro's … … 249 256 $page = isset( $_GET['page'] ) ? sanitize_key( wp_unslash( $_GET['page'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Screen detection, see above. 250 257 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' ) ) { 252 262 return false; 253 263 } -
hubu-panel/tags/1.0.1/package.json
r3768148 r3768645 1 1 { 2 2 "name": "hubu", 3 "version": "1.0. 0",3 "version": "1.0.1", 4 4 "private": true, 5 5 "description": "Hubu \u2014 a front-end user dashboard, login and registration for WordPress.", -
hubu-panel/tags/1.0.1/readme.txt
r3768148 r3768645 5 5 Tested up to: 7.1 6 6 Requires PHP: 8.0 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 123 123 == Changelog == 124 124 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 125 129 = 1.0.0 = 126 130 * First public release. … … 134 138 == Upgrade Notice == 135 139 140 = 1.0.1 = 141 Fixes an error on the first screen after activating the plugin. 142 136 143 = 1.0.0 = 137 144 First public release. -
hubu-panel/tags/1.0.1/vendor/composer/installed.php
r3768148 r3768645 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' e17d26abfbc3a25a03c4cd6865a6d45b8c0e6a2d',6 'reference' => '3b1027831415e08d01189a3ac216575be3f1341c', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 68 68 'pretty_version' => 'dev-main', 69 69 'version' => 'dev-main', 70 'reference' => ' e17d26abfbc3a25a03c4cd6865a6d45b8c0e6a2d',70 'reference' => '3b1027831415e08d01189a3ac216575be3f1341c', 71 71 'type' => 'wordpress-plugin', 72 72 'install_path' => __DIR__ . '/../../', -
hubu-panel/trunk/hubu.php
r3768148 r3768645 10 10 * @wordpress-plugin 11 11 * Plugin Name: Hubu Panel 12 * Version: 1.0. 012 * Version: 1.0.1 13 13 * Description: Hubu is a special product that creates a beautiful user dashboard for your WordPress site. 14 14 * Author: HUBU Team … … 36 36 * @var string 37 37 */ 38 public $version = '1.0. 0';38 public $version = '1.0.1'; 39 39 40 40 /** -
hubu-panel/trunk/includes/admin/class-registration.php
r3768148 r3768645 126 126 } 127 127 128 // Redirect to the wizard is registration successful.128 // Back to the dashboard once the connection succeeds. 129 129 if ( Param::get( 'page' ) === 'hubu-registration' ) { 130 return Helper::get_admin_url( 'wizard');130 return Helper::get_admin_url(); 131 131 } 132 132 … … 180 180 $this->invalid = Helper::is_invalid_activation(); 181 181 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() ); 190 183 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(); 191 198 } 192 199 … … 222 229 } 223 230 224 $url = Admin_Helper::get_activate_url( Helper::get_admin_url( 'registration') );231 $url = Admin_Helper::get_activate_url( Helper::get_admin_url() ); 225 232 226 233 // Deliberately wp_redirect(): this leaves the site for hubu.pro's … … 249 256 $page = isset( $_GET['page'] ) ? sanitize_key( wp_unslash( $_GET['page'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Screen detection, see above. 250 257 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' ) ) { 252 262 return false; 253 263 } -
hubu-panel/trunk/package.json
r3768148 r3768645 1 1 { 2 2 "name": "hubu", 3 "version": "1.0. 0",3 "version": "1.0.1", 4 4 "private": true, 5 5 "description": "Hubu \u2014 a front-end user dashboard, login and registration for WordPress.", -
hubu-panel/trunk/readme.txt
r3768148 r3768645 5 5 Tested up to: 7.1 6 6 Requires PHP: 8.0 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 123 123 == Changelog == 124 124 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 125 129 = 1.0.0 = 126 130 * First public release. … … 134 138 == Upgrade Notice == 135 139 140 = 1.0.1 = 141 Fixes an error on the first screen after activating the plugin. 142 136 143 = 1.0.0 = 137 144 First public release. -
hubu-panel/trunk/vendor/composer/installed.php
r3768148 r3768645 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' e17d26abfbc3a25a03c4cd6865a6d45b8c0e6a2d',6 'reference' => '3b1027831415e08d01189a3ac216575be3f1341c', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 68 68 'pretty_version' => 'dev-main', 69 69 'version' => 'dev-main', 70 'reference' => ' e17d26abfbc3a25a03c4cd6865a6d45b8c0e6a2d',70 'reference' => '3b1027831415e08d01189a3ac216575be3f1341c', 71 71 'type' => 'wordpress-plugin', 72 72 'install_path' => __DIR__ . '/../../',
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)