Creating directory in uploads – wp_mkdir_p() or WP_Filesystem?

wp-content/uploads/ should be writable for the server (otherwise it would be impossible to upload a file, no?). If you are going to create something under this directory, it is safe to use wp_mkdir_p(). I would only use WP_Filesystem if there is a chance the server does not have permissions to write to the location, like … Read more

What is the difference between the .po .mo and .pot localization files?

These are not any kind of WP’s own format but rather just gettext file types which WP implements. Translate Handbook has following definitions in its Glossary: MO files: MO, or Machine Object is a binary data file that contains object data referenced by a program. It is typically used to translate program code, and may … Read more