Plugin translations not installed but… strings are translated!

Yes, Recent Tweets Widget is one of the many plugins which their translations are managed through translate.wordpress.org, and this means that upon installing the plugin (*remember, installing and activating are different), WordPress (on your site) will automatically download the plugin’s language pack (.po and .mo files) from translate.wordpress.org, and then store the translation files in … Read more

MITM risk of not sanitizing?

This is the official answer from the WordPress Plugin Review Team: PHP runs processes one at a time. If step 1 is “Validate” and step 2 is save, then between step 1 and 2 is where a MITM happens. Now. You may be thinking “But come on, nothing could possibly happen there! That’s too fast!” … Read more

Callback is not called in add_settings_field() when passed as part of an array, but recognises that it’s there. It’s passed Class to Class using OOP

From what I could see, the problem is not with the field callback, but it’s the section ID whereby you’re setting it to default — see $field[“section”] = ‘default’ below: // In the foreach in AddSettings.php add_settings_field( $field[“id”], $field[“title”], isset( $field[“callback”] ) ? $field[“callback”] : “”, $field[“page”], $field[“section”] = ‘default’, $field[“args”] = array() ); So … Read more