[wp-hackers] Bug in /wp-admin/post-new.php?

Stephane Daury wordpress at tekartist.org
Sat Sep 29 14:12:39 GMT 2007


Heya,

Before I open a ticket for nothing, am I mistaken or is there a small  
bug in /wp-admin/post-new.php?

Code:
$nag_posts = array(
	array(
		'my_drafts',
		__('Your Drafts:'),
		'edit.php?post_status=draft&author=' . $user_ID,
		count($my_drafts)),
	array(
		'pending',
		__('Pending Review:'),
		'edit.php?post_status=pending',
		count($pending)),
	array(
		'others_drafts',
		__('Others’ Drafts:'),
		'edit.php?post_status=draft&author=-' . $user_ID,
		count($others_drafts))
	);

Should the "others_drafts" case really have the $user_ID reference in  
the "more" link?
There's also the fact that the ampersand is not "html_entit'ified" in  
the "others_drafts" case, but that not too big of a deal (though it  
probably should be consistent).

Let me know.

Stephane




More information about the wp-hackers mailing list