admin delete problem (4 posts)

  1. rowland
    Posted 12 years ago #

    I have seen the same problem in one of my installations, but I have a test installation that does not have the problem. The only difference I know of is that I changed my nickname for admin on the system with the problem while on the test system I created a separate user for myself... besides the different base system name differences. I'll diff the two installations and see if I can notice anything of interest. Even with the error messages my posts are deleted.
    I believe I tried to delete a post as admin on my test system, but I will double check that.

  2. rowland
    Posted 12 years ago #

    I changed line 377 of wp-admin/post.php to be:
    $postdata = get_postdata($post_id) or die('Oops, no post with this ID. <
    a href="post.php">Go back!');
    instead of using "get_postdata($post)" and the errors went away. This seems to confirm why the deletion worked since it was when it was trying to get data about the post that the error occured. I don't know why this works on my test installation without change. My mysqldump output seems to confirm this works now as intended.

  3. rowland
    Posted 12 years ago #

    I should note that this is now fixed in the latest nightly build I checked.

  4. dome
    Posted 12 years ago #

    yup, that fixed it... thanks a bunch!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.