"Read more" links use the new syntax now.
authorDan
Thu, 16 Apr 2009 22:09:08 -0400
changeset 14 a5263dadedf3
parent 13 4d8ce84092c9
child 15 f0cf0b512fbb
"Read more" links use the new syntax now.
plugins/Newsboy.php
--- a/plugins/Newsboy.php	Thu Apr 16 20:35:28 2009 -0400
+++ b/plugins/Newsboy.php	Thu Apr 16 22:09:08 2009 -0400
@@ -448,7 +448,7 @@
         }
         if ( $trimmed )
         {
-          $link = ' <a href="' . makeUrlNS('NewsBoy', $row['urlname'], false, true) . '">Read more...</a>';
+          $link = ' <a href="' . nb_make_article_url($row['urlname'], $row['name']) . '">Read more...</a>';
           $content = preg_replace('/(.+?)<\/(p|ul|table|div|pre)>([\s]*?)$/Usi', '\\1' . $link . '</\\2>\\3', $content, 1);
           if ( !strstr($content, $link) )
           {