Plugin Directory

Changeset 3166316


Ignore:
Timestamp:
10/10/2024 08:10:24 AM (18 months ago)
Author:
mnchga
Message:

Committing changes for 5.1.2

Location:
eduadmin-booking/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • eduadmin-booking/trunk/CHANGELOG.md

    r3153720 r3166316  
    22
    33All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
     4
     5### [5.1.2](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.1.1...v5.1.2) (2024-10-10)
     6
     7
     8### Security
     9
     10* Fix potential LFI vulnerability ([89a8479](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/89a84796caaf40187c0272850632da92ee01477f))
    411
    512### [5.1.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.1.0...v5.1.1) (2024-09-18)
  • eduadmin-booking/trunk/PLUGIN-CHECKSUM

    r3153720 r3166316  
    1 82f331131f31fd66cae9790bd4a79bc3
     1a2c2b6df1eecfb08168b748f3a2c45be
  • eduadmin-booking/trunk/eduadmin.php

    r3153720 r3166316  
    1010 * Description: EduAdmin plugin to allow visitors to book courses at your website
    1111 * Tags:    booking, participants, courses, events, eduadmin, lega online
    12  * Version: 5.1.1
     12 * Version: 5.1.2
    1313 * GitHub Plugin URI: multinetinteractive/eduadmin-wordpress
    1414 * GitHub Plugin URI: https://github.com/multinetinteractive/eduadmin-wordpress
  • eduadmin-booking/trunk/includes/edu-shortcodes.php

    r2993847 r3166316  
    108108    wp_enqueue_style( 'eduadmin_frontend_detail' );
    109109
    110     $attributes                  = shortcode_atts(
     110    $attributes = shortcode_atts(
    111111        array(
    112112            'template'       => $selected_template,
     
    119119        'eduadmin-detailview'
    120120    );
     121
     122    switch ( $attributes['template'] ) {
     123        case "template_A":
     124        case "template_B":
     125            break;
     126        default:
     127            $attributes['template'] = "template_A";
     128            break;
     129    }
     130
    121131    EDU()->session['checkEmail'] = null;
    122132    EDU()->session['needsLogin'] = null;
     
    198208        'eduadmin-bookingview'
    199209    );
     210
     211    switch ( $attributes['template'] ) {
     212        case "template_A":
     213        case "template_B":
     214            break;
     215        default:
     216            $attributes['template'] = "template_A";
     217            break;
     218    }
     219
    200220    if ( ! EDU()->is_checked( 'eduadmin-useLogin', false ) || ( isset( EDU()->session['eduadmin-loginUser'] ) && ( ( isset( EDU()->session['eduadmin-loginUser']->Contact->PersonId ) && 0 !== EDU()->session['eduadmin-loginUser']->Contact->PersonId ) || isset( EDU()->session['eduadmin-loginUser']->NewCustomer ) ) ) ) {
    201221        $str = include_once EDUADMIN_PLUGIN_PATH . '/content/template/bookingTemplate/' . $attributes['template'] . '.php';
  • eduadmin-booking/trunk/includes/eduadmin-api-phpclient/subclasses/rest/eduadmin-person.php

    r2699541 r3166316  
    5858    public function LoginById( $person_id, $password ) {
    5959        return parent::POST( "/$person_id/Login",
    60                              array( '' => $password ),
    61                              get_called_class() . '|' . __FUNCTION__,
    62                              false
     60                             $password,
     61                             get_called_class() . '|' . __FUNCTION__
    6362        );
    6463    }
  • eduadmin-booking/trunk/readme.txt

    r3153720 r3166316  
    44Requires at least: 6.0
    55Tested up to: 6.6
    6 Stable tag: 5.1.1
     6Stable tag: 5.1.2
    77Requires PHP: 8.1
    88License: GPL3
     
    4646The full changelog available on [GitHub](https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md)
    4747
     48### [5.1.2](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.1.1...v5.1.2) (2024-10-10)
     49
     50
     51#### Security
     52
     53* Fix potential LFI vulnerability ([89a8479](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/89a84796caaf40187c0272850632da92ee01477f))
     54
    4855### [5.1.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v5.1.0...v5.1.1) (2024-09-18)
    4956
     
    7279* Some null handling that is deprecated in newer versions of PHP ([d89c27d](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/d89c27d1dcf6b245ff6fd982ebccdacc1a7a4527))
    7380
    74 ### [5.0.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.3.0...v5.0.0) (2024-04-08)
    7581
    7682
    77 #### ⚠ BREAKING CHANGES
    78 
    79 * Updated required WP and PHP, changes are already made in code (353e4dd7c1bfa5aa31ee67e0572220acca3a6387)
    80 
    81 #### Bug Fixes
    82 
    83 * Updated required WP and PHP, changes are already made in code (353e4dd7c1bfa5aa31ee67e0572220acca3a6387) ([29b0adc](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/29b0adc497a8d60d906784dd65ef04c824b42184))
    84 
    85 
    86 
Note: See TracChangeset for help on using the changeset viewer.