Changeset 3462017
- Timestamp:
- 02/15/2026 07:33:02 PM (6 weeks ago)
- Location:
- modal-dialog/trunk
- Files:
-
- 4 edited
-
modal-dialog-admin.php (modified) (2 diffs)
-
modal-dialog-defaults.php (modified) (1 diff)
-
modal-dialog.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modal-dialog/trunk/modal-dialog-admin.php
r2902065 r3462017 420 420 'bottomposition', 421 421 'transitionmode', 422 'excludeurlstrings', 423 'codecondition' 422 'excludeurlstrings' 424 423 ) as $option_name 425 424 ) { … … 702 701 </tr> 703 702 <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>710 703 <td>Javascript Dialog Closure Callback</td> 711 704 <td> -
modal-dialog/trunk/modal-dialog-defaults.php
r2087954 r3462017 56 56 $options['excludeurlstrings'] = ''; 57 57 $options['showregisterpage'] = false; 58 $options['codecondition'] = '';59 58 60 59 if ( 'return_and_set' == $setoptions ) { -
modal-dialog/trunk/modal-dialog.php
r3369265 r3462017 3 3 Plugin URI: https://ylefebvre.github.io/wordpress-plugins/modal-dialog/ 4 4 Description: 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.1 65 Version: 3.5.17 6 6 Author: Yannick Lefebvre 7 7 Author URI: https://ylefebvre.github.io/ 8 Copyright 202 5Yannick Lefebvre (email : [email protected])8 Copyright 2026 Yannick Lefebvre (email : [email protected]) 9 9 10 10 This program is free software; you can redistribute it and/or modify … … 270 270 $dialogname = $optionsname; 271 271 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() ) { 277 273 $display = false; 278 274 } elseif ( $options['forcepagelist'] == true ) { … … 423 419 $display = true; 424 420 break; 425 } elseif ( !empty( $options['codecondition'] ) && eval( 'return ' . stripslashes( $options['codecondition'] ) . ';' ) ) {426 $display = true;427 break;428 421 } elseif ( $options['showfrontpage'] == false && is_front_page() ) { 429 422 $display = false; -
modal-dialog/trunk/readme.txt
r3369265 r3462017 4 4 Tags: modal, dialog, pop-up, window, multiple 5 5 Requires at least: 2.8 6 Tested up to: 6. 8.27 Stable tag: 3.5.1 66 Tested up to: 6.9 7 Stable tag: 3.5.17 8 8 9 9 The 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. … … 24 24 25 25 == Changelog == 26 27 = 3.5.17 = 28 * Removal of code condition option to avoid potential security issues with plugin 26 29 27 30 = 3.5.16 =
Note: See TracChangeset
for help on using the changeset viewer.