Changeset 11109 for trunk/wp-includes/script-loader.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r11093 r11109 75 75 'quickLinks' => __('(Quick Links)'), 76 76 'wordLookup' => __('Enter a word to look up:'), 77 'dictionaryLookup' => attr ibute_escape(__('Dictionary lookup')),78 'lookup' => attr ibute_escape(__('lookup')),79 'closeAllOpenTags' => attr ibute_escape(__('Close all open tags')),80 'closeTags' => attr ibute_escape(__('close tags')),77 'dictionaryLookup' => attr(__('Dictionary lookup')), 78 'lookup' => attr(__('lookup')), 79 'closeAllOpenTags' => attr(__('Close all open tags')), 80 'closeTags' => attr(__('close tags')), 81 81 'enterURL' => __('Enter the URL'), 82 82 'enterImageURL' => __('Enter the URL of the image'), … … 213 213 $scripts->add_data( 'ajaxcat', 'group', 1 ); 214 214 $scripts->localize( 'ajaxcat', 'catL10n', array( 215 'add' => attr ibute_escape(__('Add')),215 'add' => attr(__('Add')), 216 216 'how' => __('Separate multiple categories with commas.'), 217 217 'l10n_print_after' => 'try{convertEntities(catL10n);}catch(e){};' … … 267 267 $scripts->localize( 'post', 'postL10n', array( 268 268 'tagsUsed' => __('Tags used on this post:'), 269 'add' => attr ibute_escape(__('Add')),270 'addTag' => attr ibute_escape(__('Add new tag')),269 'add' => attr(__('Add')), 270 'addTag' => attr(__('Add new tag')), 271 271 'separate' => __('Separate tags with commas'), 272 272 'cancel' => __('Cancel'), … … 605 605 $ver = md5("$wp_scripts->concat_version"); 606 606 $src = $wp_scripts->base_url . "/wp-admin/load-scripts.php?c={$zip}&load=" . trim($wp_scripts->concat, ', ') . "&ver=$ver"; 607 echo "<script type='text/javascript' src='" . attr ibute_escape($src) . "'></script>\n";607 echo "<script type='text/javascript' src='" . attr($src) . "'></script>\n"; 608 608 } 609 609 … … 672 672 $ver = md5("$wp_styles->concat_version{$dir}"); 673 673 $href = $wp_styles->base_url . "/wp-admin/load-styles.php?c={$zip}&dir={$dir}&load=" . trim($wp_styles->concat, ', ') . "&ver=$ver"; 674 echo "<link rel='stylesheet' href='" . attr ibute_escape($href) . "' type='text/css' media='all' />\n";674 echo "<link rel='stylesheet' href='" . attr($href) . "' type='text/css' media='all' />\n"; 675 675 } 676 676
Note: See TracChangeset
for help on using the changeset viewer.