bitslip6/bitfire

View on GitHub

Showing 749 of 749 total issues

Call to undeclared function \plugin_dir_url()
Open

    \wp_enqueue_style("dashkit-bundle", plugin_dir_url(__FILE__) . "public/theme.bundle.css", [], "1.0");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Argument 2 (user_string) is ?string but \hash_equals() takes string
Open

        if (hash_equals($hash, $data->at("hmac"))) { debug("config key wp match [%s]", $name); return true; }
Severity: Minor
Found in firewall/src/wordpress.php by phan

Reference to undeclared constant \WP_CONTENT_DIR (Did you mean $content_dir)
Open

        $content_dir = WP_CONTENT_DIR;
Severity: Minor
Found in wordpress-plugin/bitfire-admin.php by phan

Possibly zero references to use statement for classlike/namespace FileData (\ThreadFin\FileData)
Open

use ThreadFin\FileData;
Severity: Minor
Found in recovery.php by phan

Call to undeclared function \esc_html()
Open

            $cve = esc_html($plugin["cve"]??"unknown");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \get_locale()
Open

   return get_locale(); 
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \add_action()
Open

add_action('wp_dashboard_setup', 'BitFirePlugin\dashboard_init');
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Reference to undeclared constant \WP_CONTENT_DIR
Open

    if (defined("WP_CONTENT_DIR") && \WP_CONTENT_DIR != CFG::str("cms_content_dir")) {
Severity: Minor
Found in wordpress-plugin/bitfire-admin.php by phan

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

function verify_admin_effect(Request $request) : Effect {
Severity: Minor
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \plugin_dir_url()
Open

    \wp_register_script("dashkit-chart", plugin_dir_url(__FILE__) . "public/chart.min.js", ["jquery"], "1.0", true);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Reference to undeclared constant \ABSPATH
Open

    if (defined("ABSPATH")) { trace("ABS_PATH"); $root = \ABSPATH; }
Severity: Minor
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \wp_register_script()
Open

    \wp_register_script("dashkit-diff", plugin_dir_url(__FILE__) . "public/difflib.js", ["jquery"], "1.0", true);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Reference to undeclared constant \WP_CONTENT_DIR
Open

        mkdir(WP_CONTENT_DIR . "/bitfire", 0775, false);
Severity: Minor
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \wp_enqueue_script()
Open

    \wp_enqueue_script("dashkit-chart", plugin_dir_url(__FILE__) . "public/chart.min.js", ["jquery"], "1.0", false);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \plugin_dir_path()
Open

    include_once \plugin_dir_path(__FILE__) . "bitfire-admin.php";
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \add_action()
Open

add_action("admin_enqueue_scripts", "\BitFirePlugin\bitfire_styles");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Reference to undeclared constant \WP_CONTENT_DIR (Did you mean $content_dir)
Open

        if (defined(WP_CONTENT_DIR)) {
Severity: Minor
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \add_action()
Open

        add_action('show_user_profile', '\BitFirePlugin\mfa_field');
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \add_action()
Open

\add_action("admin_menu", "BitFirePlugin\bitfire_add_menu");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \add_action()
Open

        add_action('edit_user_profile', '\BitFirePlugin\mfa_field');
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan
Severity
Category
Status
Source
Language