Bug?: warning for static method
-
WordPress shows the following error message:
Strict Standards: Non-static method MathJax::init() should not be called statically in /var/www/wp/wp-content/plugins/mathjax-latex/mathjax-latex.php on line 191So I propose the following patch.
$diff mathjax-latex.php mathjax-latex.php.orig 40c40 < static function init(){ --- > function init(){ 181c181 < static function mathjax_settings_link( $links, $file ) { --- > function mathjax_settings_link( $links, $file ) {This symptom started to appear since I migrated an existing wordpress server, so it might be because of the setting of the server (or maybe because of the version of PHP), but I think it is reasonable to modify MathJax-LaTeX to make it warning free.
The topic ‘Bug?: warning for static method’ is closed to new replies.