Plugin Directory

Changeset 3462017


Ignore:
Timestamp:
02/15/2026 07:33:02 PM (6 weeks ago)
Author:
jackdewey
Message:

3.5.17

  • Removal of code condition option to avoid potential security issues with plugin
Location:
modal-dialog/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • modal-dialog/trunk/modal-dialog-admin.php

    r2902065 r3462017  
    420420                'bottomposition',
    421421                'transitionmode',
    422                 'excludeurlstrings',
    423                 'codecondition'
     422                'excludeurlstrings'
    424423            ) as $option_name
    425424        ) {
     
    702701            </tr>
    703702            <tr>
    704                 <td>PHP Condition string ( E.g. in_category(3) || is_archive(3) )</td>
    705                 <td colspan="3">
    706                     <input type="text" id="codecondition" name="codecondition" style="width: 100%" value="<?php echo esc_html( stripslashes( $options['codecondition'] ) ); ?>" />
    707                 </td>
    708             </tr>
    709             <tr>
    710703                <td>Javascript Dialog Closure Callback</td>
    711704                <td>
  • modal-dialog/trunk/modal-dialog-defaults.php

    r2087954 r3462017  
    5656    $options['excludeurlstrings']      = '';
    5757    $options['showregisterpage']       = false;
    58     $options['codecondition']          = '';
    5958
    6059    if ( 'return_and_set' == $setoptions ) {
  • modal-dialog/trunk/modal-dialog.php

    r3369265 r3462017  
    33Plugin URI: https://ylefebvre.github.io/wordpress-plugins/modal-dialog/
    44Description: A plugin used to display a modal dialog to visitors with text content or the contents of an external web site
    5 Version: 3.5.16
     5Version: 3.5.17
    66Author: Yannick Lefebvre
    77Author URI: https://ylefebvre.github.io/
    8 Copyright 2025  Yannick Lefebvre  (email : [email protected])
     8Copyright 2026  Yannick Lefebvre  (email : [email protected])
    99
    1010This program is free software; you can redistribute it and/or modify
     
    270270                            $dialogname = $optionsname;
    271271                            break;
    272                         } elseif ( !empty( $options['codecondition'] ) && eval( 'return ' . stripslashes($options['codecondition']) . ';' ) ) {
    273                             $display = true;
    274                             $dialogname = $optionsname;
    275                             break;
    276                         } elseif ( $options['showfrontpage'] == false && is_front_page() ) {
     272                        } elseif ( $options['showfrontpage'] == false && is_front_page() ) {
    277273                            $display = false;
    278274                        } elseif ( $options['forcepagelist'] == true ) {
     
    423419                            $display = true;
    424420                            break;
    425                         } elseif ( !empty( $options['codecondition'] ) && eval( 'return ' . stripslashes( $options['codecondition'] ) . ';' ) ) {
    426                             $display = true;
    427                             break;
    428421                        } elseif ( $options['showfrontpage'] == false && is_front_page() ) {
    429422                            $display = false;
  • modal-dialog/trunk/readme.txt

    r3369265 r3462017  
    44Tags: modal, dialog, pop-up, window, multiple
    55Requires at least: 2.8
    6 Tested up to: 6.8.2
    7 Stable tag: 3.5.16
     6Tested up to: 6.9
     7Stable tag: 3.5.17
    88
    99The purpose of this plugin is to allow users to create one or more modal dialog(s) / pop-up window(s) that will appear when a user visits their site. The number of times that these can load is configurable. They can load content from external sites or custom HTML code into the dialog.
     
    2424
    2525== Changelog ==
     26
     27= 3.5.17 =
     28* Removal of code condition option to avoid potential security issues with plugin
    2629
    2730= 3.5.16 =
Note: See TracChangeset for help on using the changeset viewer.