Absolutely cool plugin to repair all posts and images after data-import or when your database is messed up!
| Author: | Philipp Stracker (profile at wordpress.org) |
| WordPress version required: | 3.0.1 |
| WordPress version tested: | 3.8.1 |
| Plugin version: | 1.2 |
| Added to WordPress repository: | 09-02-2014 |
| Last updated: | 14-03-2014
Warning! This plugin has not 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.
|
| Rating, %: | 60 |
| Rated by: | 6 |
| Plugin URI: | http://wordpress.org/plugins/fix-my-posts |
| Total downloads: | 3 513 |
| Active installs: | 100+ |
![]() Click to start download |
|
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.
}
?>
