kpumuk/codecolorer

View on GitHub

Showing 289 of 289 total issues

Call to undeclared function \plugins_url()
Open

        $url = plugins_url(basename(dirname(__FILE__)) . '/js/quicktags.js');
Severity: Critical
Found in codecolorer.php by phan

Call to undeclared function \plugins_url()
Open

        $url = plugins_url(basename(dirname(__FILE__)) . '/js/tinymce_plugin.js');
Severity: Critical
Found in codecolorer.php by phan

Possibly zero references to function \codecolorer_highlight()
Open

function codecolorer_highlight($code)
Severity: Minor
Found in codecolorer.php by phan

Call to undeclared function \add_filter()
Open

        add_filter('plugin_row_meta', array('CodeColorerLoader', 'addPluginLinks'), 10, 2);
Severity: Critical
Found in codecolorer.php by phan

Call to undeclared function \add_filter()
Open

        add_filter('book_review', array('CodeColorerLoader', 'callAfterHighlightCodeBlock'), 1000);
Severity: Critical
Found in codecolorer.php by phan

Call to undeclared function \register_setting()
Open

        register_setting('codecolorer', 'codecolorer_height', '');
Severity: Critical
Found in codecolorer.php by phan

Call to undeclared function \register_setting()
Open

        register_setting('codecolorer', 'codecolorer_rss_width', '');
Severity: Critical
Found in codecolorer.php by phan

Call to undeclared function \get_option()
Open

                                <input name="codecolorer_line_numbers" type="checkbox" id="codecolorer_line_numbers" value="1" <?php checked(true, get_option('codecolorer_line_numbers')); ?> />
Severity: Critical
Found in codecolorer-admin.php by phan

Call to undeclared function \_e() (Did you mean _())
Open

                        <th scope="row"><label for="codecolorer_css_class"><?php _e('Custom CSS Classes', 'codecolorer') ?>:</label></th>
Severity: Critical
Found in codecolorer-admin.php by phan

Call to method __construct from undeclared class \GeSHi
Open

            $this->geshi = new GeSHi();
Severity: Critical
Found in codecolorer-core.php by phan

Call to method set_tab_width from undeclared class \GeSHi
Open

        $geshi->set_tab_width($options['tab_size']);
Severity: Critical
Found in codecolorer-core.php by phan

Reference to undeclared constant \GESHI_HEADER_DIV
Open

        $geshi->set_header_type($options['inline'] ? GESHI_HEADER_NONE : GESHI_HEADER_DIV);
Severity: Minor
Found in codecolorer-core.php by phan

Call to undeclared function \__() (Did you mean _())
Open

            $this->showWarning('concurrent', __('CodeColorer has detected a problem.', 'codecolorer'), sprintf(__('We found another plugin based on GeSHi library in your system. CodeColorer will work, but our version of GeSHi contain some patches, so we can\'t guarantee an ideal code highlighting now. Please review your <a href="%1$s">plugins</a>, maybe you don\'t need them all.', 'codecolorer'), "plugins.php"));
Severity: Critical
Found in codecolorer-core.php by phan

Call to undeclared function \add_action()
Open

        add_action('plugin_action_links_' . plugin_basename(__FILE__), array('CodeColorerLoader', 'addPluginActions'));
Severity: Critical
Found in codecolorer.php by phan

Call to undeclared function \_e() (Did you mean _())
Open

                                <?php _e('Show line numbers', 'codecolorer') ?>
Severity: Critical
Found in codecolorer-admin.php by phan

Reference to undeclared constant \GESHI_NO_LINE_NUMBERS
Open

            $this->geshi->enable_line_numbers(GESHI_NO_LINE_NUMBERS, 1);
Severity: Minor
Found in codecolorer-core.php by phan

Call to method enable_keyword_links from undeclared class \GeSHi
Open

            $geshi->enable_keyword_links(false);
Severity: Critical
Found in codecolorer-core.php by phan

Call to undeclared function \add_action()
Open

        add_action('admin_init', array('CodeColorerLoader', 'adminInit'));
Severity: Critical
Found in codecolorer.php by phan

Call to undeclared function \add_filter()
Open

            add_filter('tiny_mce_before_init', array('CodeColorerLoader', 'addTinyMCEValidElements'));
Severity: Critical
Found in codecolorer.php by phan

Call to undeclared function \is_admin()
Open

        if (!is_admin()) {
Severity: Critical
Found in codecolorer.php by phan
Severity
Category
Status
Source
Language