Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter bgrande

    (@bgrande)

    First problem: It seems that the problem origins from where the current revision is added at the top og the revision list. A temporary solution is to remove this line (commented out the last line below):

    if ( !empty( $rows ) ) {
            // add current revision to the top
            $date = wp_post_revision_title( $post, false );
            if ( $is_rev ) {
                $date = '<a href="' . get_permalink() . '">' . $date . '</a>';
            }
            $name = get_the_author_meta( $post->post_author );
            $title = sprintf( $titlef, $date, $name );
            //$rows = "\t<li>$title</li>\n$rows";

Viewing 1 replies (of 1 total)