Make WordPress Core


Ignore:
Timestamp:
05/04/2009 05:54:08 PM (17 years ago)
Author:
ryan
Message:

Attr escaping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/theme-editor.php

    r11110 r11173  
    9797                        $docs_select .= '<option value="">' . _a( 'Function Name...' ) . '</option>';
    9898                        foreach ( $functions as $function ) {
    99                                 $docs_select .= '<option value="' . urlencode( $function ) . '">' . htmlspecialchars( $function ) . '()</option>';
     99                                $docs_select .= '<option value="' . attr( urlencode( $function ) ) . '">' . htmlspecialchars( $function ) . '()</option>';
    100100                        }
    101101                        $docs_select .= '</select>';
Note: See TracChangeset for help on using the changeset viewer.