Conflicting save_post using Custom Type
-
Hi all, i’m having conflicts with an inhouse developed plugin that uses custom-post. When it comes to saving a form this message is shown:
Notice: Undefined index: always_edit_in_html_noncename in /var/webbase/desarrollo.local/webroot/site/mytestsite/wp-content/plugins/always-edit-in-html/always-edit-in-html.php on line 133
Then everything goes blank. Problem got resolved changing line 133 to this:
if( !isset($_POST['always_edit_in_html_noncename']) or !wp_verify_nonce( $_POST['always_edit_in_html_noncename'], plugin_basename( __FILE__ ) ) ){
I think conflict arise because our plugin fires save_post hook (priority stuff) defined in AEIH.
Great plugin Will!!, one of my “never use WP without it” favorites
WP 3.9.2
AEIH 1.5
PHP 5.5.3-1 Ubuntu
- The topic ‘Conflicting save_post using Custom Type’ is closed to new replies.