Bug patch


Hello Thierry,

the code that generates the previous post link has a typo, here is a patch:

--- tm-beans/lib/templates/fragments/post.php   2017-05-11 14:21:57.706995385 -0400
+++ tm-beans/lib/templates/fragments/post.php.dist      2017-05-11 14:22:36.824995380 -0400
@@ -385,7 +385,7 @@

        $output = beans_open_markup( 'beans_previous_link[_post_navigation]', 'a', array(
                'href'  => get_permalink( $post ), // Automatically escaped.
-               'rel'   => 'previous',
+               'ref'   => 'previous',                                                                                                                                         'title' => $post->post_title, // Automatically escaped.
        ) );

Thanks for reporting this Marc, here is the commit which fixes the issue. Feel free to submit a pull request on the Github repo for future references 🙂

Thanks,

Write a reply

Login or register to write a reply, it's free!