PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | templates/theme-builder/header.php +7 -12 2.9.1 → 2.14.0 View file →
@@ -1,25 +1,21 @@
1 1 <?php
2 2 if ( ! defined( 'ABSPATH' ) ) {
3 - exit; // Exit if accessed directly.
3 + exit;
4 4 }
5 -
6 5 ?>
7 6 <!DOCTYPE html>
8 7 <html <?php language_attributes(); ?>>
9 8 <head>
10 - <meta charset="<?php bloginfo( 'charset' ); ?>">
9 + <meta charset="<?php echo esc_attr( get_bloginfo( 'charset' ) ); ?>">
11 10 <meta name="viewport" content="width=device-width, initial-scale=1" />
12 - <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
13 - <link rel="profile" href="http://gmpg.org/xfn/11" />
11 + <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>" />
12 + <link rel="profile" href="<?php echo esc_url( 'http://gmpg.org/xfn/11' ); ?>" />
13 +
14 14 <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
15 - <title>
16 - <?php
17 - // PHPCS - already escaped by WordPress.
18 - echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
19 - ?>
20 - </title>
15 + <title><?php echo esc_html( wp_get_document_title() ); ?></title>
21 16 <?php endif; ?>
17 +
22 18 <?php wp_head(); ?>
23 19 </head>
24 20 <body <?php body_class(); ?>>
25 21 <?php
@@ -25,5 +21,4 @@
25 21 <?php
26 22 wp_body_open();
27 23
28 24 do_action( 'ablocks/templates/theme_builder/header' );
29 -