Display Tweets is an easy to use, future proof Twitter feed plugin that uses PHP to make requests to the v1.1 Twitter REST API.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
121
14 issue groups
Security
100
9 issue groups
I18n
39
2 issue groups
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$access_token".
Sample message
Mismatched text domain. Expected 'display-tweets-php' but got 'displaytweets'.
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 '"<p>{$this->format_tweet( $tweet->text )}<br /><small class=\"muted\">- {$posted_since}</small></p>"'.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "DT_Widget".
Sample message
Detected usage of a non-sanitized input variable: $_ENV['CONTENT_TYPE']
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
Detected usage of a possibly undefined superglobal array index: $_REQUEST['oauth_verifier']. Check that the array index exists before using it.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
$_POST['settings'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Expired timestamp, yours $timestamp, ours $now"'.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized, non-validated input variable _GET: "displaytweets-save_{$_GET['page']}"
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "CONSUMER_KEY".
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Display Tweets" - contains the restricted term "tweet" which cannot be used at all in your plugin name.
Sample message
The use of function create_function() is forbidden
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "twitteroauth_header".
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
The $text parameter must be a single text string literal. Found: 'Twitter\'s v1.1 API requires authentication. For this you need to <a href="'. self::$registration_url .'">register an application here</a>. Follow the instructions and that\'s it, you\'re authenticated.'
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Use placeholders and $wpdb->prepare(); found $query
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Using date_default_timezone_set() and similar isn't allowed, instead use WP internal timezone support.
Potential connections found in static code analysis.
Outbound calls
20
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
First score snapshot
v1.0.3
29
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 29 | 270 | 135 | 135 | v1.0.3 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.