[wp-cvs] wordpress/wp-admin moderation.php,1.26,1.27

Matthew Mullenweg saxmatt at users.sourceforge.net
Mon Jan 24 08:21:34 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11602/wp-admin

Modified Files:
	moderation.php 
Log Message:
It should tell you how you've modded even if register_globals off

Index: moderation.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/moderation.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** moderation.php	20 Dec 2004 20:22:26 -0000	1.26
--- moderation.php	24 Jan 2005 08:21:31 -0000	1.27
***************
*** 5,9 ****
  $parent_file = 'edit.php';
  
! $wpvarstoreset = array('action', 'item_ignored', 'item_deleted', 'item_approved', 'feelinglucky');
  for ($i=0; $i<count($wpvarstoreset); $i += 1) {
  	$wpvar = $wpvarstoreset[$i];
--- 5,9 ----
  $parent_file = 'edit.php';
  
! $wpvarstoreset = array('action', 'item_ignored', 'item_deleted', 'item_approved', 'feelinglucky', 'ignored', 'deleted', 'approved');
  for ($i=0; $i<count($wpvarstoreset); $i += 1) {
  	$wpvar = $wpvarstoreset[$i];
***************
*** 73,79 ****
  default:
  
! 	require_once('admin-header.php');
  
! if (isset($deleted) || isset($approved) || isset($ignored)) {
  	echo "<div class='updated'>\n<p>";
  	if ($approved) {
--- 73,79 ----
  default:
  
! require_once('admin-header.php');
  
! if ( isset($deleted) || isset($approved) || isset($ignored) ) {
  	echo "<div class='updated'>\n<p>";
  	if ($approved) {



More information about the cvs mailing list