| @@ -51,9 +51,9 @@ | ||
| 51 | 51 | * |
| 52 | 52 | * @return void |
| 53 | 53 | */ |
| 54 | 54 | public function render_menu_editor_page() { |
| 55 | - $editor = filter_input( INPUT_GET, 'editor', FILTER_SANITIZE_STRING ); | |
| 55 | + $editor = filter_input( INPUT_GET, 'editor', FILTER_SANITIZE_URL ); | |
| 56 | 56 | if ( ! empty( $editor ) && 'rmp_menu' === get_post_type() && current_user_can( 'administrator' ) ) { |
| 57 | 57 | set_current_screen(); |
| 58 | 58 | include RMP_PLUGIN_PATH_V4 . '/templates/rmp-editor.php'; |
| 59 | 59 | exit; |
| @@ -189,9 +189,9 @@ | ||
| 189 | 189 | * Filters the editor footer html. |
| 190 | 190 | * |
| 191 | 191 | * @param string|HTML $html |
| 192 | 192 | */ |
| 193 | - echo apply_filters( 'rmp_editor_footer_html', $html ); | |
| 193 | + echo apply_filters( 'rmp_editor_footer_html', '' ); | |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | /** |
| 197 | 197 | * Function to return the markups for sidebar drawers. |