-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
It seems some entry points are missing to prepare the plugin for translation:
- Text Domain declaration
* Text Domain: security-headers
is missing in readme.txt and in http-headers.php
- load_plugin_textdomain() missing
function security_headers_text_domain() {
load_plugin_textdomain('security-headers', false, basename( dirname( __FILE__ ) ) . '/languages/');
}
is missing in http-headers.php
-
Using Gettext
Texts are hardcoded in http-headers.php. Should use __('Default String', 'security-headers') -
Create languages dir
-
Current repo?
I'm not sure which one of the repos are the current one. This one on GH, or
https://plugins.svn.wordpress.org/security-headers/
Metadata
Metadata
Assignees
Labels
No labels