| @@ -56,9 +56,9 @@ | ||
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | public function wprsecAdminMenu($hook) { |
| 60 | - if ($hook === 'toplevel_page_wpremote' || WPRHelper::safePregMatch("/wpr_add_account$/", $hook) || WPRHelper::safePregMatch("/wpr_account_details$/", $hook)) { | |
| 60 | + if ($hook === 'toplevel_page_wpremote' || preg_match("/wpr_add_account$/", $hook) || preg_match("/wpr_account_details$/", $hook)) { | |
| 61 | 61 | wp_enqueue_style( 'bootstrap', plugins_url('css/bootstrap.min.css', __FILE__)); |
| 62 | 62 | wp_enqueue_style( 'bvplugin', plugins_url('css/bvplugin.min.css', __FILE__)); |
| 63 | 63 | } |
| 64 | 64 | } |