Skip to content

Commit

Permalink
- WPCS;
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitasinelnikov committed Sep 17, 2024
1 parent b203127 commit b85c75f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 2 additions & 1 deletion includes/admin/class-forms.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php namespace jb\admin;
<?php
namespace jb\admin;

if ( ! defined( 'ABSPATH' ) ) {
exit;
Expand Down
2 changes: 1 addition & 1 deletion includes/class-jb-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ public function get_allowed_html( $context = '' ) {
'code' => array(),
);

$allowed_html = array_merge( $global_allowed, $allowed_html );
$allowed_html = array_merge_recursive( $global_allowed, $allowed_html );
$allowed_html = array_map( '_wp_add_global_attributes', $allowed_html );

/**
Expand Down
7 changes: 2 additions & 5 deletions includes/frontend/class-enqueue.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
<?php namespace jb\frontend;
<?php
namespace jb\frontend;

if ( ! defined( 'ABSPATH' ) ) {
exit;
}


if ( ! class_exists( 'jb\frontend\Enqueue' ) ) {


/**
* Class Enqueue
*
* @package jb\frontend
*/
class Enqueue extends \jb\common\Enqueue {


/**
* Enqueue constructor.
*/
Expand All @@ -31,7 +29,6 @@ public function __construct() {
add_action( 'wp_enqueue_scripts', array( &$this, 'enqueue_gmap' ), 19 );
}


/**
* Google Maps enqueue
*
Expand Down

0 comments on commit b85c75f

Please sign in to comment.