Missing translation function
-
There is a missing translation function in the source code, which prevents the string from being translated. The location of the string is
/wp-last-modified-info/inc/Api/Callbacks/ManagerCallbacks.phpon line 166.Current line
$default = '<p class="post-modified-info">Last Updated on %post_modified% by <a href="%author_url%" target="_blank" class="last-modified-author">%author_name%</a></p>';My fix
$default = '<p class="post-modified-info">' . __( 'Last Updated on', 'wp-last-modified-info') . ' %post_modified% ' . __('by', 'wp-last-modified-info') . ' <a href="%author_url%" target="_blank" class="last-modified-author">%author_name%</a></p>';
You must be logged in to reply to this topic.