[wp-hackers] Cannot publish anymore, just pending

Carlo Gandolfo carlo at artilibere.com
Thu Aug 26 10:43:06 UTC 2010

ouch, it was trivial...
checking again the problem was with the template i was using, in
functions.php i found:

if (!is_site_admin() && $post_status == 'publish') return 'pending';

hooked to "status_save_pre", hidden in box-inthe-box functions.

sorry guys, and thanks indeed.

2010/8/26 Andrew Nacin <wp at andrewnacin.com>

> On Thu, Aug 26, 2010 at 5:17 AM, Carlo Gandolfo <carlo at artilibere.com
> >wrote:
> > I also discovered that to publish a user can be just a simple subscriber
> > with "Grant this user super admin privileges for the Network" flagged on.
> > It looks even stranger...
> I'm not sure what's going on here (unfiltered HTML getting in the way?),
> but
> super admin privileges are network wide, while roles are per blog. You can
> be a subscriber on one blog, an administrator on another, and no role on 30
> other blogs, but you still have super admin privileges across the entire
> network.
> _______________________________________________
> 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