farinspace / wpalchemy

Thin framework for wordpress
http://wpalchemy.com/
Other
416 stars 110 forks source link

Fixes bunch of PHP 5.4 strict notices. Not fully tested! #82

Closed mch0lic closed 8 years ago

mch0lic commented 10 years ago

Small changes that should solve PHP 5.4 strict notices. Please test code before merging.

helgatheviking commented 10 years ago

Just confirming that I too am seeing several strict notices:

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method WPAlchemy_MetaBox::_global_head() should not be called statically in D:\web\www\wordpress\wp-includes\plugin.php on line 468

Strict Standards: Non-static method WPAlchemy_MetaBox::_is_post() should not be called statically in D:\web\www\wordpress\wp-content\wpalchemy\MetaBox.php on line 1352

Strict Standards: Non-static method WPAlchemy_MetaBox::_is_post_or_page() should not be called statically in D:\web\www\wordpress\wp-content\wpalchemy\MetaBox.php on line 986

Strict Standards: Non-static method WPAlchemy_MetaBox::_get_current_post_type() should not be called statically in D:\web\www\wordpress\wp-content\wpalchemy\MetaBox.php on line 1024

Strict Standards: Non-static method WPAlchemy_MetaBox::_get_post_id() should not be called statically in D:\web\www\wordpress\wp-content\wpalchemy\MetaBox.php on line 1061

helgatheviking commented 10 years ago

89 should resolve this.

helgatheviking commented 9 years ago

This should have been closed by #89

farinspace commented 8 years ago

old .. latest version(s) has code which implements this merge request. please reopen if issues still exists