• If you upgrade or install wordpress and find that you are no more able to add new posts or pages (no PUBLISH button), but are able to edit and update old posts here is what you do.

    Update these two files : –

    1) /wp-admin/includes/schema.php
    Replace ‘0000-00-00 00:00:00’ with ‘1000-01-01 00:00:00’

    2) /wp-includes/post.php

    replace every ‘0000-00-00 00:00:00’ with ‘1000-01-01 00:00:00’

    You will get your PUBLISH button again for all your new posts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • No! Never, ever, edit core WordPress files!

    Thread Starter nowfals

    (@nowfals)

    Most of the MySql hosted on the web do not set SQL-MODE set to Traditional (AKA Strict).

    In my case of 12+ hours ( finding no solution for STRICT Mode) of fixing this on a SQL-MODE Strict, it would never work. Hence you have to change the core files.

    All variations of installing a new version of wordpress, new database from scratch would also not work if the mode is STRICT.

    If you think there’s an issue in core, submit a patch.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Submit for Review for Admin Users – Solution’ is closed to new replies.