A fixed position (header) HTML with jQuery drop-down announcement bar using Custom Post Types.
Prioritized issue groups from the latest Plugin Check scan
Security
132
8 issue groups
I18n
107
6 issue groups
Maintainability
10
7 issue groups
Repo Compliance
4
4 issue groups
Sample message
The $domain parameter must be a single text string literal. Found: Announcement_Bar::domain
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value='$i' "'.
Sample message
Missing $domain parameter in function call to __().
Sample message
The $text parameter must be a single text string literal. Found: Announcement_Bar::get_setting( 'a_color' )
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_GET['updated']
Sample message
$_GET['updated'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['_announcement_content']. Check that the array index exists before using it.
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Processing form data without nonce verification.
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "the_frosty_dashboard".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "thefrosty_network_feed".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$the_frosty_dashboard".
Sample message
screen_icon() has been deprecated since WordPress version 3.8.0.
Sample message
The parameter "null" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Use "" instead.
Sample message
query_posts() is discouraged. Use WP_Query instead.
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Please add a <a href="%s">post</a>. Powered by <a href="%s">Announcement Bar</a>'.
Sample message
Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.
Sample message
Tested up to: 4.2 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.
Not analyzed yet.
First score snapshot
v0.4.1
38
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 38 | 253 | 192 | 61 | v0.4.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.