This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Fix my posts!

Description

This plugin is meant for admins/people that have basic understanding of how WordPress works.

This is very useful after you import posts/images from another CMS via direct SQL or when you somehow messed up your posts/images.

The Plugin will process your posts one-by-one and repair some basic things when it finds a problem:

General repair

  • Create a valid post_name for all posts

Image repair

  • Fix image-metadata
  • Creates missing image-thumbnails

(The plugin uses core WordPress methods to fix images. So the result is exactly same, as if you re-uploaded the images via WordPress)

Custom repair

Simply create an action handler to manually check each single post-item in the database and repair it if required!

<?php
add_action( 'fix-the-post', 'your_handler' );
function your_handler( $the_post ) {
    $the_post->title = 'new title';
    wp_update_post( $post );
    echo 'Title updated!'; // You will see this in the repair-log on screen.
}
?>

Screenshots

  • That's the plugin screen. Nothing fancy, just a button and a progress bar...

  • New in 1.2: A repair log and a custom-repair hook!

Installation

  1. Upload fix-my-posts.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You will get a new ‘Fix my posts’ menu-item in the ‘Tools’ menu

FAQ

Who is this plugin for?

This plugin is meant for admins/people that have basic understanding of how WordPress works.
It is intended to help admins with setting up or fixing their WordPress sites

Reviews

Great tool

This thing saved me tons of work, especially to import the images properly…

Succesfully repair all image metadata

Read all 6 reviews

Contributors & Developers

“Fix my posts!” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Fix my posts!” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2

  • Updated the image-correction code by implementing changes suggested by Fred (http://www.adam-makes-websites.com/discoveries/fixing_messed_up_image_attachments_in_wordpress_that_have_no_postmeta_values)
  • New action-hook added for custom repair actions.
  • Display repair-log to the user.
  • Some smaller bugfixes and improvements.

1.1

  • Bugfix in the image-repair code.
  • Added a cancel button to stop the current process-loop.

1.0

  • Initial version released.