on, // the correct post_author is probably $post->post_author, but that's only a good guess. // Update the revision version only and Leave the author as-is. if ( $prev_revision ) { $prev_revision_version = _wp_get_post_revision_version( $prev_revision ); // If the previous revision is already up to date, it no longer has the information we need :( if ( $prev_revision_version < 1 ) $update['post_author'] = $prev_revision->post_author; } // Upgrade this revision $result = $wpdb->update( $wpdb->posts, $update, array( 'ID' => $this_revision->ID ) ); if ( $result ) wp_cache_delete( $this_revision->ID, 'posts' ); } while ( $prev_revision ); delete_option( $lock ); // Add a copy of the post as latest revision. if ( $add_last ) wp_save_post_revision( $post->ID ); return true; }
Warning: Cannot modify header information - headers already sent by (output started at /home/advicepig/omnium.advicepig.com/wp-includes/revision.php:28) in /home/advicepig/omnium.advicepig.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 62

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '_show_post_preview' not found or invalid function name in /home/advicepig/omnium.advicepig.com/wp-includes/class-wp-hook.php on line 298
» 78DE35A3-C3F6-4A9F-AD0B-0F14B5C62542 Omnium Bike Shop

78DE35A3-C3F6-4A9F-AD0B-0F14B5C62542



Leave a Reply

Your email address will not be published. Required fields are marked *