Showing 749 of 749 total issues
Call to undeclared function \plugin_dir_url()
Open
Open
\wp_enqueue_style("dashkit-bundle", plugin_dir_url(__FILE__) . "public/theme.bundle.css", [], "1.0");
- Exclude checks
Argument 2 (user_string)
is ?string
but \hash_equals()
takes string
Open
Open
if (hash_equals($hash, $data->at("hmac"))) { debug("config key wp match [%s]", $name); return true; }
- Exclude checks
Reference to undeclared constant \WP_CONTENT_DIR
(Did you mean $content_dir) Open
Open
$content_dir = WP_CONTENT_DIR;
- Exclude checks
Possibly zero references to use statement for classlike/namespace FileData
(\ThreadFin\FileData)
Open
Open
use ThreadFin\FileData;
- Exclude checks
Call to undeclared function \esc_html()
Open
Open
$cve = esc_html($plugin["cve"]??"unknown");
- Exclude checks
Call to undeclared function \get_locale()
Open
Open
return get_locale();
- Exclude checks
Call to undeclared function \add_action()
Open
Open
add_action('wp_dashboard_setup', 'BitFirePlugin\dashboard_init');
- Exclude checks
Reference to undeclared constant \WP_CONTENT_DIR
Open
Open
if (defined("WP_CONTENT_DIR") && \WP_CONTENT_DIR != CFG::str("cms_content_dir")) {
- Exclude checks
Function verify_admin_effect
defined at /code/wordpress-plugin/bitfire-plugin.php:166
was previously defined at /code/custom-plugin/bitfire-plugin.php:106
Open
Open
function verify_admin_effect(Request $request) : Effect {
- Exclude checks
Call to undeclared function \plugin_dir_url()
Open
Open
\wp_register_script("dashkit-chart", plugin_dir_url(__FILE__) . "public/chart.min.js", ["jquery"], "1.0", true);
- Exclude checks
Reference to undeclared constant \ABSPATH
Open
Open
if (defined("ABSPATH")) { trace("ABS_PATH"); $root = \ABSPATH; }
- Exclude checks
Call to undeclared function \wp_register_script()
Open
Open
\wp_register_script("dashkit-diff", plugin_dir_url(__FILE__) . "public/difflib.js", ["jquery"], "1.0", true);
- Exclude checks
Reference to undeclared constant \WP_CONTENT_DIR
Open
Open
mkdir(WP_CONTENT_DIR . "/bitfire", 0775, false);
- Exclude checks
Call to undeclared function \wp_enqueue_script()
Open
Open
\wp_enqueue_script("dashkit-chart", plugin_dir_url(__FILE__) . "public/chart.min.js", ["jquery"], "1.0", false);
- Exclude checks
Call to undeclared function \plugin_dir_path()
Open
Open
include_once \plugin_dir_path(__FILE__) . "bitfire-admin.php";
- Exclude checks
Call to undeclared function \add_action()
Open
Open
add_action("admin_enqueue_scripts", "\BitFirePlugin\bitfire_styles");
- Exclude checks
Reference to undeclared constant \WP_CONTENT_DIR
(Did you mean $content_dir) Open
Open
if (defined(WP_CONTENT_DIR)) {
- Exclude checks
Call to undeclared function \add_action()
Open
Open
add_action('show_user_profile', '\BitFirePlugin\mfa_field');
- Exclude checks
Call to undeclared function \add_action()
Open
Open
\add_action("admin_menu", "BitFirePlugin\bitfire_add_menu");
- Exclude checks
Call to undeclared function \add_action()
Open
Open
add_action('edit_user_profile', '\BitFirePlugin\mfa_field');
- Exclude checks