WordPress.org

Making WordPress.org

Changeset 6283


Ignore:
Timestamp:
12/15/2017 07:47:02 PM (3 years ago)
Author:
coreymckrill
Message:

WordCamp Post Types: More escaping on session categories lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/wc-post-types.php

    r6268 r6283  
    14141414        if ( $session_categories_list ) {
    14151415            $session_categories_html = sprintf(
    1416                 '<span class="session-categories-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
    1417                 _x( 'Categories', 'Used before session category names.', 'wordcamporg' ),
    1418                 $session_categories_list
     1416                '<span class="session-categories-links"><span class="screen-reader-text">%1$s</span> %2$s</span>',
     1417                esc_html_x( 'Categories', 'Used before session category names.', 'wordcamporg' ),
     1418                wp_kses_post( $session_categories_list )
    14191419            );
    14201420        }
Note: See TracChangeset for help on using the changeset viewer.