Plugin Directory

Changeset 3116091


Ignore:
Timestamp:
07/11/2024 06:56:28 AM (18 months ago)
Author:
grimmdude
Message:

v4.5 - XSS vulnerability fix and deprecation notice.

Location:
simple-popup-plugin
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • simple-popup-plugin/trunk/readme.txt

    r2764900 r3116091  
    44Tags: popup,simple,tools,music,bands,musicians,pop-up,pop up,window,widget
    55Requires at least: 2.8
    6 Tested up to: 6.0
    7 Stable tag: 4.4
     6Tested up to: 6.5
     7Stable tag: 4.5
    88
    99This plugin makes it easy to create a simple, modifiable popup window.
     
    1313
    1414Use this plugin to easily create links to simple popup windows.  It supports multiple popup links on posts/pages/widgets and window positioning/centering options.
    15 
    16 NEW to 4.2 - Fixed issue of toolbar/scrollbar/location bar options not working correctly.
    1715
    1816== Installation ==
     
    7270* Cleaned up options screen.
    7371
    74 == Upgrade Notice ==
    75 
    76 = 4.4 =
    77 * Fixed PHP7 depricated class constructor.
    78 * Fixed widget.
    79 * Cleaned up options screen.
     72= 4.5 =
     73* Fix XSS vulnerability.
     74* Address has_cap deprecation notice.
  • simple-popup-plugin/trunk/simple_popup_admin.php

    r1641818 r3116091  
    2020                </th>
    2121                <td>
    22                     <input type="text" id="popup_window_height" name="popup_window_height" value="<?php echo get_option('popup_window_height'); ?>" />
     22                    <input type="text" id="popup_window_height" name="popup_window_height" value="<?php echo esc_attr(get_option('popup_window_height')); ?>" />
    2323                </td>
    2424            </tr>
     
    2828                </th>
    2929                <td>
    30                     <input type="text" id="popup_window_width" name="popup_window_width" value="<?php echo get_option('popup_window_width'); ?>" />
     30                    <input type="text" id="popup_window_width" name="popup_window_width" value="<?php echo esc_attr(get_option('popup_window_width')); ?>" />
    3131                </td>
    3232            </tr>
     
    4242                </th>
    4343                <td>
    44                     <input type="text" id="popup_window_top" name="popup_window_top" value="<?php echo get_option('popup_window_top'); ?>" />
     44                    <input type="text" id="popup_window_top" name="popup_window_top" value="<?php echo esc_attr(get_option('popup_window_top')); ?>" />
    4545                </td>
    4646            </tr>
     
    5050                </th>
    5151                <td>
    52                     <input type="text" id="popup_window_left" name="popup_window_left" value="<?php echo get_option('popup_window_left'); ?>" />
     52                    <input type="text" id="popup_window_left" name="popup_window_left" value="<?php echo esc_attr(get_option('popup_window_left')); ?>" />
    5353                </td>
    5454            </tr>
  • simple-popup-plugin/trunk/simple_popup_plugin.php

    r1641818 r3116091  
    44Plugin URI: http://www.grimmdude.com/wordpress-simple-popup-plugin
    55Description: This plugin makes it easy to create a simple, modifiable popup window.  Using the shortcode you can create a popup link and set the dimensions of each individual popup.
    6 Version: 4.4
     6Version: 4.5
    77Author: Garrett Grimm
    8 Author URI: http://www.grimmdude.com
     8Author URI: https://grimmdude.com
    99*/
    1010
     
    7878
    7979function simple_popup_menu() {
    80     add_options_page('Simple Popup Plugin Options', 'Simple Popup Plugin', 8, __FILE__, 'simple_popup_options');
     80    add_options_page('Simple Popup Plugin Options', 'Simple Popup Plugin', 'administrator', __FILE__, 'simple_popup_options');
    8181}
    8282
Note: See TracChangeset for help on using the changeset viewer.