Support » Plugin: SiteTree » "Cheatin' uh?" When Posting Pages – Question About Access Levels

  • Resolved Obfuscated

    (@obfuscated)


    Hi, I have a multi-site setup here at work. We started getting “Cheatin’ uh?” messages when creating or updating pages (other post types were fine) when someone who wasn’t an admin was making the change. I traced the error to the SiteTree plugin, specifically the sitetree-metabox.class.php file, process_metadata() function, line 117.

    It looks like it’s getting hung up on the second condition, we’re running multisite and the user is not a super admin. Am I interpreting the purpose of the code correctly: that in multisite, only super admins can make page posts? If so, this seems kind of restrictive.

    Thanks for your help.

    http://wordpress.org/extend/plugins/sitetree/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Luigi

    (@_luigi)

    Hi,
    yes, that’s the meaning of that line of code but the second part of the OR expression shouldn’t be there. It’s part of an old piece of code I reused from another class but left unedited by mistake. In other words: you run into a bug.

    (I’m going to release SiteTree 1.5 in the next days.)

    Thank you for the note.

    Tested the new 1.5 release and didn’t have this issue in the new version. Thanks for the prompt fix.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘"Cheatin' uh?" When Posting Pages – Question About Access Levels’ is closed to new replies.