Plugin Directory

Changeset 3089885


Ignore:
Timestamp:
05/21/2024 06:03:19 AM (23 months ago)
Author:
ce21com
Message:

update version 2.1.8 to 2.1.9

Location:
ce21-suite
Files:
3 edited
3 copied

Legend:

Unmodified
Added
Removed
  • ce21-suite/tags/2.1.8/README.txt

    r3089862 r3089885  
    44Tags: virtual event services, education online courses, hybrid conference
    55Requires at least: 4.0
    6 Tested up to: 6.5
     6Tested up to: 6.1
    77Stable tag: 2.1.8
    88Requires PHP: 5.4
  • ce21-suite/trunk/README.txt

    r3089862 r3089885  
    55Requires at least: 4.0
    66Tested up to: 6.5
    7 Stable tag: 2.1.8
     7Stable tag: 2.1.9
    88Requires PHP: 5.4
    99License: GPLv2 or later
  • ce21-suite/trunk/programs/ce21-programs-settings-page.php

    r2843982 r3089885  
    134134                        <option value="11">Publish Date</option>
    135135                        <option value="31">Program Date</option>
    136                         <option value="21">Media type</option>
    137136                        <option value="41">Title</option>
    138137                    </select>
  • ce21-suite/trunk/single-sign-on-ce21.php

    r3089862 r3089885  
    1616 * Plugin URI:        https://www.ce21.com
    1717 * Description:       CE21 Suite.
    18  * Version:           2.1.8
     18 * Version:           2.1.9
    1919 * Author:            CE21
    2020 * Author URI:        https://www.ce21.com
     
    514514        if (isset( $_POST['post_type']) ) {
    515515            $values_to_save = array();
    516             $new_values     = $_POST["_post_authentication_custom_metabox_ce21"];
    517 
    518             if (!empty($new_values)) {
    519                foreach($new_values as $new_value ) {
    520                   $values_to_save[] = $new_value ;
    521                }
     516            if(isset($_POST["_post_authentication_custom_metabox_ce21"]) and !empty($_POST["_post_authentication_custom_metabox_ce21"])){
     517                $new_values     = $_POST["_post_authentication_custom_metabox_ce21"];
     518
     519                if (!empty($new_values)) {
     520                foreach($new_values as $new_value ) {
     521                    $values_to_save[] = $new_value ;
     522                }
     523                }
     524                update_post_meta( $post_id, '_post_authentication_custom_metabox_ce21',$values_to_save );
    522525            }
    523             update_post_meta( $post_id, '_post_authentication_custom_metabox_ce21',$values_to_save );
    524526        }
    525527    } catch (Exception $e){
Note: See TracChangeset for help on using the changeset viewer.