Support » Plugin: PressForward » `pf_options_admin_page_save` catches form submits from other plugins

  • In the Core/Admin/Menu.php file the pf_options_admin_page_save method is hooked to the admin_init in order to check for form submits. Further it checks only if $pagenow is ‘admin.php’ and if there is a $_POST[‘submit’]. Of course this will catch also any other form submits from the admin where it happens to be an input called “submit”.

    Could you please add a check similar to:
    if ( false == pressforward( 'controller.template_factory' )->is_a_pf_page() ) return false; so this doesn’t mess up other plugins?

    • This topic was modified 8 months, 3 weeks ago by  Diana Burduja.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘`pf_options_admin_page_save` catches form submits from other plugins’ is closed to new replies.