Support » Fixing WordPress » Advanced Post Screen Option

Viewing 3 replies - 1 through 3 (of 3 total)
  • Spoke too soon….all kinds of errors when posting with it turned on. I’ll see if I can find where they are coming from.

    Should be doing an INSERT instead of an update here…but that is what CVS is for. 😉
    SQL/DB Error:
    [You have an error in your SQL syntax near ” at line 13]
    UPDATE wp_posts SET post_content = ‘TESTING…’, post_excerpt = ”, post_title = ‘Test’, post_status = ‘publish’, comment_status = ‘open’, ping_status = ‘open’, post_password = ”, post_name = ‘test’, to_ping = ”, post_modified = ‘2004-02-28 02:41:06’ WHERE ID =

    mmmm. I think that comes from the fact that before to get into advance edit mode it first saved the post (even if blank) then switched over. Once the user is done, since the post exists, it did an update. Simply changing it to an INSERT may not be the best thign to do. Maybe check for Post_id first? then update/insert as necessary.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Advanced Post Screen Option’ is closed to new replies.