Changeset 2553218
- Timestamp:
- 06/24/2021 08:48:18 AM (5 years ago)
- Location:
- wp-discussion-board/trunk
- Files:
-
- 5 edited
-
includes/classes/class-ct-db-registration.php (modified) (1 diff)
-
includes/config/config.php (modified) (1 diff)
-
includes/helpers/customizer.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wp-discussion-board.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-discussion-board/trunk/includes/classes/class-ct-db-registration.php
r2515159 r2553218 998 998 */ 999 999 public function redirect_to_login_page() { 1000 1001 1000 global $pagenow; 1002 1001 $options = get_option( 'ctdb_options_settings' ); 1003 1002 1004 // Check we're not trying to log out or recover password 1005 if( isset( $_GET['action'] ) &&( $_GET['action'] == 'logout' || $_GET['action'] == 'lostpassword' || $_GET['action'] == 'rp' ) ) return; 1003 // Check we're not trying to log out or recover password. 1004 if ( 1005 ! empty( $_GET['action'] ) && 1006 ( 1007 'logout' === sanitize_text_field( wp_unslash( $_GET['action'] ) ) || 1008 'lostpassword' === sanitize_text_field( wp_unslash( $_GET['action'] ) ) || 1009 'rp' === sanitize_text_field( wp_unslash( $_GET['action'] ) ) || 1010 'resetpass' === sanitize_text_field( wp_unslash( $_GET['action'] ) ) 1011 ) 1012 ) { 1013 return; 1014 } 1006 1015 1007 1016 // If we're heading towards wp-login.php and our settings are right -
wp-discussion-board/trunk/includes/config/config.php
r2531338 r2553218 19 19 20 20 if ( ! defined( 'WPDBD_PLUGIN_VERSION' ) ) { 21 define( 'WPDBD_PLUGIN_VERSION', '2.4 ' );21 define( 'WPDBD_PLUGIN_VERSION', '2.4.1' ); 22 22 } -
wp-discussion-board/trunk/includes/helpers/customizer.php
r2531338 r2553218 259 259 return false; 260 260 } 261 262 /** 263 * Enqueue the color picker scripts in case they are not already enqueued. 264 * 265 * @since 2.4.1 266 */ 267 function wpdbd_enqueue_color_picker() { 268 wp_enqueue_style( 'wp-color-picker' ); 269 wp_enqueue_script( 'wp-color-picker' ); 270 } 271 add_action( 'customize_controls_enqueue_scripts', 'wpdbd_enqueue_color_picker' ); -
wp-discussion-board/trunk/readme.txt
r2531334 r2553218 6 6 Tested up to: 5.7 7 7 Requires PHP: 5.2.4 8 Stable tag: 2.4 8 Stable tag: 2.4.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 178 178 == Changelog == 179 179 180 = 2.4.1, June 24 2021 = 181 * Fixed: Always enqueue customizer color picker as some themes don't include it 182 * Fixed: Allow user to reset password when forcing the plugin login form 183 180 184 = 2.4, May 13 2021 = 181 185 * Major update, please test before upgrading -
wp-discussion-board/trunk/wp-discussion-board.php
r2531334 r2553218 4 4 Plugin URI: https://wpdiscussionboard.com 5 5 Description: Provide a simple discussion board for your site 6 Version: 2.4 6 Version: 2.4.1 7 7 Author: WP Discussion Board 8 8 Author URI: https://wpdiscussionboard.com
Note: See TracChangeset
for help on using the changeset viewer.