Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] yarpp-pt_PT.po filename is bad (3 posts)

  1. Dougal Campbell
    Posted 5 years ago #

    I reported this before, but I'm not sure that I explained it well, and the problem still exists...

    The language file 'yarpp-pt_PT.po' has a bad filename. In SVN (and so also in the ZIP), the filename has an embedded space at the end, so that it is actually 'yarpp-pt_PT.po '.

    There is a bug in the PHP ssh2.sftp file wrappers such that it cannot handle filenames with spaces at the end (the space gets silently discarded as the filenames in a directory are fetched, so that it no longer matches the real filename). As a result, I can't use the automated WP plugin upgrade feature with the SSH2 login method. In fact, anyone using the SSH2 login method who attempts to upgrade the plugin will end up with the plugin being deleted.

    To fix:
    svn mv "yet-another-related-posts-plugin/lang/yarpp-pt_PT.po " "yet-another-related-posts-plugin/lang/yarpp-pt_PT.po"


  2. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 5 years ago #

    Yup, this is fixed in YARPP 3.3 which I just pushed.

  3. Dougal Campbell
    Posted 5 years ago #

    Was just able to confirm the fix with the update to 3.3.1. Thanks for taking care of it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic