WordPress.org

Ready to get started?Download WordPress

Forums

Quick fix for localisation in feeds (1 post)

  1. anty
    Member
    Posted 6 years ago #

    Hi,

    I needed to translate the (more...)-link in the feeds and wondered why they wheren't translated already by the *.mo-files.

    Please include this fix in the next WP-update:

    wp-includes/post-template.php
    line: 124 is currently:
    $output .= ' <a href="'. get_permalink() . "#more-$id\" class=\"more-link\">$more_link_text</a>";

    but it should read:
    $output .= ' <a href="'. get_permalink() . "#more-$id\" class=\"more-link\">". __($more_link_text) ."</a>";

    anty

Topic Closed

This topic has been closed to new replies.

About this Topic