Make WordPress Core

Changeset 1488


Ignore:
Timestamp:
07/27/2004 03:12:18 PM (22 years ago)
Author:
rboren
Message:

strip_tags from title in sanitize_title(). Patch from Masquerade for bugs 0000181 and 00000107.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions-formatting.php

    r1481 r1488  
    122122function sanitize_title($title, $fallback_title = '') {
    123123    $title = apply_filters('sanitize_title', $title);
    124 
     124    $title = strip_tags($title);
    125125    if (empty($title)) {
    126126        $title = $fallback_title;
Note: See TracChangeset for help on using the changeset viewer.