Make WordPress Core


Ignore:
Timestamp:
04/28/2009 05:58:45 AM (16 years ago)
Author:
ryan
Message:

s/attribute_escape/attr/. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r11055 r11109  
    140140                    <?php
    141141                        foreach ( (array)$plugins as $plugin )
    142                             echo '<input type="hidden" name="checked[]" value="' . attribute_escape($plugin) . '" />';
     142                            echo '<input type="hidden" name="checked[]" value="' . attr($plugin) . '" />';
    143143                    ?>
    144144                    <?php wp_nonce_field('bulk-manage-plugins') ?>
     
    195195    <?php
    196196        if ( wp_verify_nonce($_GET['_error_nonce'], 'plugin-activation-error_' . $plugin) ) { ?>
    197     <iframe style="border:0" width="100%" height="70px" src="<?php echo admin_url('plugins.php?action=error_scrape&amp;plugin=' . attribute_escape($plugin) . '&amp;_wpnonce=' . attribute_escape($_GET['_error_nonce'])); ?>"></iframe>
     197    <iframe style="border:0" width="100%" height="70px" src="<?php echo admin_url('plugins.php?action=error_scrape&amp;plugin=' . attr($plugin) . '&amp;_wpnonce=' . attr($_GET['_error_nonce'])); ?>"></iframe>
    198198    <?php
    199199        }
     
    370370        echo "
    371371    <tr class='$class'>
    372         <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . attribute_escape($plugin_file) . "' /></th>
     372        <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . attr($plugin_file) . "' /></th>
    373373        <td class='plugin-title'><strong>{$plugin_data['Title']}</strong>";
    374374        $i = 0;
     
    433433<form method="post" action="<?php echo admin_url('plugins.php') ?>">
    434434<?php wp_nonce_field('bulk-manage-plugins') ?>
    435 <input type="hidden" name="plugin_status" value="<?php echo attribute_escape($status) ?>" />
    436 <input type="hidden" name="paged" value="<?php echo attribute_escape($page) ?>" />
     435<input type="hidden" name="plugin_status" value="<?php echo attr($status) ?>" />
     436<input type="hidden" name="paged" value="<?php echo attr($page) ?>" />
    437437
    438438<ul class="subsubsub">
Note: See TracChangeset for help on using the changeset viewer.