Plugin Directory

Changeset 2817802


Ignore:
Timestamp:
11/14/2022 04:55:29 PM (3 years ago)
Author:
memberspace
Message:

Release MemberSpace plugin v2.1.4

Location:
memberspace
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • memberspace/tags/2.1.4/includes/memberspace.php

    r2767964 r2817802  
    8383    public function render_notification_bar() {
    8484        $notification_types = array( 'error', 'warning', 'success', 'info' );
     85
     86        if (
     87            !isset( $_GET['notification_type'] ) ||
     88            !isset( $_GET['notification'] ) ||
     89            !in_array( $_GET['notification_type'], $notification_types, true )
     90        ) return;
     91
    8592        $type = $_GET['notification_type'];
    8693        $message = $_GET['notification'];
    87 
    88         if (
    89             !isset( $type ) ||
    90             !in_array( $type, $notification_types, true ) ||
    91             !isset( $message )
    92         ) return;
    9394
    9495        if ( $type === 'success' ) {
     
    198199
    199200    public function handle_registration_complete_callback() {
    200         if( $_GET['ms-registration-complete'] !== 'true' ) return;
     201        if( !isset($_GET['ms-registration-complete']) || $_GET['ms-registration-complete'] !== 'true' ) return;
    201202
    202203        $result = $this->refresh_site_config();
  • memberspace/tags/2.1.4/memberspace.php

    r2805123 r2817802  
    55 * Plugin URI:            http://www.memberspace.com/
    66 * Description:           The official MemberSpace plugin allows you to protect your WordPress content using MemberSpace memberships.
    7  * Version:               2.1.3
     7 * Version:               2.1.4
    88 * Author:                MemberSpace
    99 * Author URI:            http://www.memberspace.com/
     
    3333defined( 'ABSPATH' ) || exit;
    3434
    35 define( 'MEMBERSPACE_PLUGIN_VERSION', '2.1.3' );
    36 define( 'MEMBERSPACE_PLUGIN_BUILD_ID', '20221026T162140X304059658' );
     35define( 'MEMBERSPACE_PLUGIN_VERSION', '2.1.4' );
     36define( 'MEMBERSPACE_PLUGIN_BUILD_ID', '20221114T165519X045827899' );
    3737define( 'MEMBERSPACE_PLUGIN_MIN_PHP_VERSION', '7.4' );
    3838
  • memberspace/tags/2.1.4/readme.md

    r2805123 r2817802  
    44Requires at least: 5.8
    55Tested up to: 6.1
    6 Stable tag: 2.1.3
     6Stable tag: 2.1.4
    77Requires PHP: 7.4
    88License: GPLv3
     
    121121== Changelog ==
    122122
     123= 2.1.4 =
     124
     125- Fix php warning on registration complete query param check
     126
    123127= 2.1.3 =
    124128
  • memberspace/trunk/includes/memberspace.php

    r2767964 r2817802  
    8383    public function render_notification_bar() {
    8484        $notification_types = array( 'error', 'warning', 'success', 'info' );
     85
     86        if (
     87            !isset( $_GET['notification_type'] ) ||
     88            !isset( $_GET['notification'] ) ||
     89            !in_array( $_GET['notification_type'], $notification_types, true )
     90        ) return;
     91
    8592        $type = $_GET['notification_type'];
    8693        $message = $_GET['notification'];
    87 
    88         if (
    89             !isset( $type ) ||
    90             !in_array( $type, $notification_types, true ) ||
    91             !isset( $message )
    92         ) return;
    9394
    9495        if ( $type === 'success' ) {
     
    198199
    199200    public function handle_registration_complete_callback() {
    200         if( $_GET['ms-registration-complete'] !== 'true' ) return;
     201        if( !isset($_GET['ms-registration-complete']) || $_GET['ms-registration-complete'] !== 'true' ) return;
    201202
    202203        $result = $this->refresh_site_config();
  • memberspace/trunk/memberspace.php

    r2805123 r2817802  
    55 * Plugin URI:            http://www.memberspace.com/
    66 * Description:           The official MemberSpace plugin allows you to protect your WordPress content using MemberSpace memberships.
    7  * Version:               2.1.3
     7 * Version:               2.1.4
    88 * Author:                MemberSpace
    99 * Author URI:            http://www.memberspace.com/
     
    3333defined( 'ABSPATH' ) || exit;
    3434
    35 define( 'MEMBERSPACE_PLUGIN_VERSION', '2.1.3' );
    36 define( 'MEMBERSPACE_PLUGIN_BUILD_ID', '20221026T162140X304059658' );
     35define( 'MEMBERSPACE_PLUGIN_VERSION', '2.1.4' );
     36define( 'MEMBERSPACE_PLUGIN_BUILD_ID', '20221114T165519X045827899' );
    3737define( 'MEMBERSPACE_PLUGIN_MIN_PHP_VERSION', '7.4' );
    3838
  • memberspace/trunk/readme.md

    r2805123 r2817802  
    44Requires at least: 5.8
    55Tested up to: 6.1
    6 Stable tag: 2.1.3
     6Stable tag: 2.1.4
    77Requires PHP: 7.4
    88License: GPLv3
     
    121121== Changelog ==
    122122
     123= 2.1.4 =
     124
     125- Fix php warning on registration complete query param check
     126
    123127= 2.1.3 =
    124128
Note: See TracChangeset for help on using the changeset viewer.