otti
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: For translation: where can I find the word “Commefile: wp-includes/template-functions-comment.php
line: 160
in the function comment_type() the words “comment”, “track-back” and “ping-back” are echoed. So if you put the tranlation-function _e() around the text you get the right tranlated text at “Comment by…” Here is a snippet of it with the three minor changes at the “echo”s:
function comment_type($commenttxt = 'Comment', $trackbacktxt
= 'Trackback',
$pi
global $comment;
if (preg_match('|<trackback />|', $comment->comment_content))
echo _e($trackbacktxt);
elseif (preg_match('|<pingback />|', $comment->comment_content))
echo _e($pingbacktxt);
else
echo _e($commenttxt);
}
Best regards
OttiForum: Fixing WordPress
In reply to: Clean urls breaks ArchivesHi folks,
I got similar problems after using permalinks. Everything works fine inspite of the links in the calendar. The archive-links in the calendar are constructed wrong and break up at the first “%”. For example in my calendar:
href="http://www.ortegalink.com/blog/cl/%"
(Could be studied at http://www.ortegalink.com/blog/ )
Did anyone fix the construction of the URL in the calendar-code? My research only directed me to the ./wp-include/template-functions-general.php (or something like this). I could imagine, that the function get_archive_link() could be buggy with permalinks.
I would appreciate if anyone could post one patch for this problem.
Thanks and best regards
Otti