Make WordPress Core


Ignore:
Timestamp:
05/06/2009 04:56:32 AM (16 years ago)
Author:
ryan
Message:

Escape title attributes in calendar links. fixes #8967

File:
1 edited

Legend:

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

    r11204 r11215  
    201201 * @return string The encoded text with HTML entities.
    202202 */
    203 function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false )
    204 {
     203function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) {
    205204    $string = (string) $string;
    206205
     
    278277 * @return string The decoded text without HTML entities.
    279278 */
    280 function wp_specialchars_decode( $string, $quote_style = ENT_NOQUOTES )
    281 {
     279function wp_specialchars_decode( $string, $quote_style = ENT_NOQUOTES ) {
    282280    $string = (string) $string;
    283281
     
    336334 * @return string The checked text.
    337335 */
    338 function wp_check_invalid_utf8( $string, $strip = false )
    339 {
     336function wp_check_invalid_utf8( $string, $strip = false ) {
    340337    $string = (string) $string;
    341338
Note: See TracChangeset for help on using the changeset viewer.