[wp-hackers] Bug in /wp-admin/post-new.php?
Stephane Daury
wordpress at tekartist.org
Sat Sep 29 14:32:26 GMT 2007
Scratch that, $user_ID is set to -1 in the "others_drafts" case, and
is therefore working as expected.
The html entity issue is the only one left.
Stephane
On Sep 29, 2007, at 10:12, Stephane Daury wrote:
>
> 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
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list