[wp-trac] [WordPress Trac] #16119: Incorrect variable assignment in wp-admin/network/themes.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 6 08:34:17 UTC 2011
#16119: Incorrect variable assignment in wp-admin/network/themes.php
---------------------------+-----------------------------
Reporter: westi | Owner: westi
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Network Admin | Version: 3.1
Severity: normal | Keywords:
---------------------------+-----------------------------
{{{
$_GET['disabled'] = absint( $_GET['deleted'] );
echo '<div id="message" class="updated"><p>' . sprintf( _n( 'Theme
deleted.', '%s themes deleted.', $_GET['deleted'] ), number_format_i18n(
$_GET['deleted'] ) ) . '</p></div>';
}}}
Should be:
{{{
$_GET['deleted'] = absint( $_GET['deleted'] );
echo '<div id="message" class="updated"><p>' . sprintf( _n( 'Theme
deleted.', '%s themes deleted.', $_GET['deleted'] ), number_format_i18n(
$_GET['deleted'] ) ) . '</p></div>';
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16119>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list