tommcfarlin/WordPress-Plugin-Boilerplate — pull request #72 by GaryJones (2013-08-30 10:05:30+00:00)
Title: Make WP_LANG_DIR constant safer

We assume that someone defining WP_LANG_DIR will do so without a trailing slash, since we then add our own before adding in the rest of the path to the .mo file.

This change gets removes that assumption by removing our own slash from the string, and wrapping WP_LANG_DIR in trailingslashit() instead.