| @@ -27,8 +27,13 @@ | ||
| 27 | 27 | |
| 28 | 28 | function pagelayer_live_body(){ |
| 29 | 29 | |
| 30 | 30 | global $post, $pagelayer; |
| 31 | + | |
| 32 | + // XSS BLOCK (defense at the source): If the post contains XSS injected | |
| 33 | + if(pagelayer_should_show_xss_warning()){ | |
| 34 | + pagelayer_render_xss_warning_block(); | |
| 35 | + } | |
| 31 | 36 | |
| 32 | 37 | $icons = pagelayer_enabled_icons(); |
| 33 | 38 | $icons_list = array(); |
| 34 | 39 | |
| @@ -67,9 +72,9 @@ | ||
| 67 | 72 | echo ' |
| 68 | 73 | <html> |
| 69 | 74 | <head> |
| 70 | 75 | <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"> |
| 71 | - <link rel="stylesheet" href="'.$css_url.'give=pagelayer-editor.css,trumbowyg.min.css,pagelayer-icons.css,'.implode(',' ,$icons_list).'&ver='.PAGELAYER_VERSION.'">'; | |
| 76 | + <link rel="stylesheet" href="'.$css_url.'give=pagelayer-editor.css,trumbowyg.min.css,pagelayer-icons.css,pagelayer-ai.css,'.implode(',' ,$icons_list).'&ver='.PAGELAYER_VERSION.'">'; | |
| 72 | 77 | |
| 73 | 78 | do_action('pagelayer_live_body_head'); |
| 74 | 79 | |
| 75 | 80 | // Brand Name |