Make WordPress Core

Changeset 36267


Ignore:
Timestamp:
01/12/2016 08:57:41 AM (9 years ago)
Author:
afercia
Message:

After [36263] escape filterable HTML output.

Props adamsilverstein.
Fixes #35064.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-general.php

    r36263 r36267  
    244244            $custom = false;
    245245        }
    246         echo ' /> <span class="date-time-text format-i18n">' . date_i18n( $format ) . '</span><code>' . $format . "</code></label><br />\n";
     246        echo ' /> <span class="date-time-text format-i18n">' . date_i18n( $format ) . '</span><code>' . esc_html( $format ) . "</code></label><br />\n";
    247247    }
    248248
     
    280280            $custom = false;
    281281        }
    282         echo ' /> <span class="date-time-text format-i18n">' . date_i18n( $format ) . '</span><code>' . $format . "</code></label><br />\n";
     282        echo ' /> <span class="date-time-text format-i18n">' . date_i18n( $format ) . '</span><code>' . esc_html( $format ) . "</code></label><br />\n";
    283283    }
    284284
Note: See TracChangeset for help on using the changeset viewer.