• Resolved hugh222

    (@hugh222)


    In order to get to the root of the “cheatin uh?” problem that has been reported many times, I downloaded a copy of wordpress.zip from www.remarpro.com (WP 4.3) on 2015-09-13 and examined it on my local computer. Note that this copy contains no additional themes or customizations and has not been on a server.

    A string search for instances of “cheatin” finds there are 60 instances in 26 files.

    Php files affected include:
    custom-header.php
    customize.php
    edit-comments.php
    edit-tags.php
    edit.php
    bookmark.php
    media-upload.php
    nav-menus.php
    site-users.php
    options.php
    post-new.php
    press-this.php
    themes.php
    user-new.php
    users.php
    widgets.php
    class.akismet-admin.php
    class.wp-customize-manager.php
    script-loader.php

    js files affected include:
    customize-controls.js
    customize-controls-min.js
    customize-widgets.js
    customize-widgets-min.js

    Css files affected include the
    customize-controls*.css files.

    My conclusion is this problem is in the current release version of wordpress. Please take a look at these wordpress 4.3 source files and remove the code that produces the “Cheatin uh?” message.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter hugh222

    (@hugh222)

    Looking into this some more, I found that this kind of code has been in WordPress since at least version 4.0. Despite the remarkable poor wording of the message, it may be that this is “a feature, not a bug”.

    In a variety of circumstances wordpress will generate this error message and stop. My suggestion to the developers is to produce a more informative error message that can help users who encounter these circumstances to diagnose the problem.

    Moderator t-p

    (@t-p)

    My suggestion to the developers is to produce a more informative error message that can help users who encounter these circumstances to diagnose the problem.

    I think Requests and Feedback forum would be more appropriate for this thread. So I moved it to “Requests and Feedback” forum.

    Well, @hugh222, if you see this message, you’re definitely doing something normal users usually don’t do. For all standard cases WP has appropriate error messages, extended debug information is also available for those whom it may concern.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    The one-and-only way I know to reliably reproduce the “Cheatin” message is to open a WordPress admin page with a form in a new tab, walk away for more than 12-24 hours, then come back and try to submit the form.

    The message appears when you are trying to use an invalid nonce. This is basically considered a “hack attempt”, which is why the message. It’s been around since long before 4.0. At least back to 2.5 or so.

    It is possible that you have some plugin or something else doing things incorrectly and causing this to appear more often, or that you have a habit of leaving tabs lying around for extended periods of time. Without details on how to reproduce the issue, it’s not something easily fixed.

    I may be remembering this incorrectly, but I’m sure I’ve seen this message a few times after being returned to the dashboard automatically from the Customizer. Probably due to accessing the customizer from a page including a form.

    Not sure if that matters, or if anyone is even interested, but I thought I’m chime in! I have no issues with the wording of the “Cheatin” message myself.

    Jason King

    (@jasoncharlesstuartking)

    I’ve seen this message on various websites, including today while updating a page and yesterday while upgrading a plugin.

    Clients have seen it too and been mystified by its accusatory tone and vagueness – it’s badly worded.

    I can’t tell my clients it’s a “nonce” at fault because that means something pretty rude in England!

    Interesting, the “Cheatin” message does come across as slightly rude.

    I came across this by having the Customize page open adding new header images over a long period of time. Logging out and back in again allowed me to continue uploading. It would be nice if the error were a bit more informative or just automatically logged you out at that point.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘The "cheatin" hack of WordPress 4.3’ is closed to new replies.