WP Alchemy library
-
Hi,
In our project we are using different plugins that include same file which contains class WPAlchemy_MetaBox along with other constants and actions. Problem is that you have modified original file and still labeled it as original.
//add_action('admin_head', array('WPAlchemy_MetaBox', '_global_head')); //add_action('admin_footer', array('WPAlchemy_MetaBox', '_global_foot'));
if (!isset($arr['skip_admin_head']) || $arr['skip_admin_head'] == false) { add_action('admin_head', array($this, '_global_head')); } add_action('admin_footer', array($this, '_global_foot'));
Those parts are not in the original. Maybe it doesn’t have significant impact but it’s still not the same, including your version of file might break another one who naively thinks it’s the original (as in our case).
Another issue is that you are using tabs instead of spaces in that file (I didn’t look others). So basically comparing original file with yours looks completely different. Anyway, it’s not good practice to put tabs.
- The topic ‘WP Alchemy library’ is closed to new replies.