Make WordPress Core

Changeset 4416


Ignore:
Timestamp:
10/23/2006 05:54:54 AM (18 years ago)
Author:
markjaquith
Message:

Treat those chars specially, and sanitize inline-uploading params

Location:
branches/2.0/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/inline-uploading.php

    r3982 r4416  
    2525}
    2626
     27$all = ( 'true' == $all ) ? 'true' : 'false';
     28$start = (int) $start;
    2729$post = (int) $post;
    2830$images_width = 1;
  • branches/2.0/wp-admin/templates.php

    r4315 r4416  
    112112echo '<ol>';
    113113foreach ($recents as $recent) :
    114     echo "<li><a href='templates.php?file=$recent'>" . get_file_description(basename($recent)) . "</a></li>";
     114    echo "<li><a href='templates.php?file=" . wp_specialchars($recent, true) . "'>" . get_file_description(basename($recent)) . "</a></li>";
    115115endforeach;
    116116echo '</ol>';
Note: See TracChangeset for help on using the changeset viewer.