Yesterday had a quick look at podPress, the premier plugin for podcasting. It has a small incompatibility with the new Post Revisions feature introduced in WordPress 2.6.
PodPress seems to be in the middle of a large update. I’ve used the “experimental” version (8.9) of the plugin and emailed the proposed fix to the authors, however for the more impatient here is the patch:
view plaincopy to clipboardprintfunction post_edit($post_id) { GLOBAL $post; if($this->justposted) { return; } $this->justposted = true; if ( isset($_POST['post_ID']) && (int) $_POST['post_ID'] ) $post_id = (int) $_POST['post_ID']; $this->settings_item_save($post_id, $_POST); }
function post_edit($post_id) {
GLOBAL $post;
if($this->justposted) {
return;
}
$this->justposted = true;
if ( isset($_POST['post_ID']) && (int) $_POST['post_ID'] )
$post_id = (int) $_POST['post_ID'];
$this->settings_item_save($post_id, $_POST);
}
It goes in podpress/podpress_admin_class.php, around line 51. What it does is to make sure the custom post meta fields used by podPress are attached to the actual Post, not one of the revisions.
1 - 5 of 5
Showing 20▼ items per page