Plugin Directory

Changeset 2956441


Ignore:
Timestamp:
08/21/2023 09:56:58 PM (3 years ago)
Author:
brettshumaker
Message:

tagging version 2.2.4

Location:
simple-staff-list
Files:
72 added
5 edited

Legend:

Unmodified
Added
Removed
  • simple-staff-list/trunk/README.txt

    r2850439 r2956441  
    33Tags: staff list, staff directory, employee list, staff, employee, employees
    44Requires at least: 3.0
    5 Tested up to: 6.1.1
     5Tested up to: 6.3
    66Requires PHP: 5.4
    7 Stable tag: 2.2.3
     7Stable tag: 2.2.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747
    4848== Changelog ==
     49
     50= 2.2.4 =
     51- FIXED: Added additional escaping
    4952
    5053= 2.2.3 =
  • simple-staff-list/trunk/admin/partials/simple-staff-list-options-display.php

    r1895343 r2956441  
    5757            $output .= '<fieldset id="staff-listing-field-slug" class="sslp-fieldset">';
    5858            $output .= '<legend class="sslp-field-label">' . __( 'Staff Members URL Slug', 'simple-staff-list' ) . '</legend>';
    59             $output .= '<input type="text" name="staff-listing-slug" value="' . $custom_slug . '"></fieldset>';
     59            $output .= '<input type="text" name="staff-listing-slug" value="' . esc_attr( $custom_slug ) . '"></fieldset>';
    6060            $output .= '<p>' . __( 'The slug used for building the staff members URL. The current URL is: ', 'simple-staff-list' );
    61             $output .= site_url( $custom_slug ) . '/';
     61            $output .= site_url( esc_url( $custom_slug ) ) . '/';
    6262            $output .= '</p>';
    6363            $output .= '<fieldset id="staff-listing-field-name-plural" class="sslp-fieldset">';
    6464            $output .= '<legend class="sslp-field-label">' . __( 'Staff Member title', 'simple-staff-list' ) . '</legend>';
    65             $output .= '<input type="text" name="staff-listing-name-plural" value="' . $custom_name_plural . '"></fieldset>';
     65            $output .= '<input type="text" name="staff-listing-name-plural" value="' . esc_attr( $custom_name_plural ) . '"></fieldset>';
    6666            $output .= '<p>' . __( 'The title that displays on the Staff Member archive page. Default is "Staff Members"', 'simple-staff-list' ) . '</p>';
    6767            $output .= '<fieldset id="staff-listing-field-name-singular" class="sslp-fieldset">';
    6868            $output .= '<legend class="sslp-field-label">' . __( 'Staff Member singular title', 'simple-staff-list' ) . '</legend>';
    69             $output .= '<input type="text" name="staff-listing-name-singular" value="' . $custom_name_singular . '"></fieldset>';
     69            $output .= '<input type="text" name="staff-listing-name-singular" value="' . esc_attr( $custom_name_singular ) . '"></fieldset>';
    7070            $output .= '<p>' . __( 'The Staff Member taxonomy singular name. No need to change this unless you need to use the singular_name field in your theme. Default is "Staff Member"', 'simple-staff-list' ) . '</p>';
    7171
  • simple-staff-list/trunk/includes/class-simple-staff-list.php

    r2850439 r2956441  
    6969
    7070        $this->plugin_name = 'simple-staff-list';
    71         $this->version     = '2.2.3';
     71        $this->version     = '2.2.4';
    7272
    7373        $this->load_dependencies();
  • simple-staff-list/trunk/public/class-simple-staff-list-public.php

    r2094774 r2956441  
    144144        // Get user options for post type labels.
    145145        if ( ! get_option( '_staff_listing_custom_slug' ) ) {
    146             $slug = get_option( '_staff_listing_default_slug' );
     146            $slug = esc_html( get_option( '_staff_listing_default_slug' ) );
    147147        } else {
    148             $slug = get_option( '_staff_listing_custom_slug' );
     148            $slug = esc_html( get_option( '_staff_listing_custom_slug' ) );
    149149        }
    150150        if ( ! get_option( '_staff_listing_custom_name_singular' ) ) {
    151             $singular_name = get_option( '_staff_listing_default_name_singular' );
     151            $singular_name = esc_html( get_option( '_staff_listing_default_name_singular' ) );
    152152        } else {
    153             $singular_name = get_option( '_staff_listing_custom_name_singular' );
     153            $singular_name = esc_html( get_option( '_staff_listing_custom_name_singular' ) );
    154154        }
    155155        if ( ! get_option( '_staff_listing_custom_name_plural' ) ) {
    156             $name = get_option( '_staff_listing_default_name_plural' );
     156            $name = esc_html( get_option( '_staff_listing_default_name_plural' ) );
    157157        } else {
    158             $name = get_option( '_staff_listing_custom_name_plural' );
     158            $name = esc_html( get_option( '_staff_listing_custom_name_plural' ) );
    159159        }
    160160
  • simple-staff-list/trunk/simple-staff-list.php

    r2850439 r2956441  
    1616 * Plugin URI:        https://wordpress.org/plugins/simple-staff-list/
    1717 * Description:       A simple plugin to build and display a staff listing for your website.
    18  * Version:           2.2.3
     18 * Version:           2.2.4
    1919 * Author:            Brett Shumaker
    2020 * Author URI:        http://www.brettshumaker.com
Note: See TracChangeset for help on using the changeset viewer.