| @@ -121,8 +121,14 @@ | ||
| 121 | 121 | function() { |
| 122 | 122 | if ( ! function_exists( 'get_current_screen' ) ) { |
| 123 | 123 | require_once ABSPATH . 'wp-admin/includes/screen.php'; |
| 124 | 124 | } |
| 125 | + | |
| 126 | + if ( ! class_exists( 'WP_Screen', false ) ) { | |
| 127 | + require_once ABSPATH . 'wp-admin/includes/class-wp-screen.php'; | |
| 128 | + } | |
| 129 | + | |
| 130 | + FrmAppHelper::set_current_screen_and_hook_suffix(); | |
| 125 | 131 | }, |
| 126 | 132 | 1 |
| 127 | 133 | ); |
| 128 | 134 | } |