Fixed import to include __DIR__ instead of assuming relative path (#5449)

This commit is contained in:
Jason Crist 2022-02-02 17:10:48 -05:00 committed by GitHub
parent 4f0433932a
commit 7045feb98a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
<?php
require_once 'wp-customize-color-palette-control.php';
require_once ( __DIR__ . '/wp-customize-color-palette-control.php' );
class GlobalStylesColorPalettes {
private $palettes = array();

View file

@ -1,7 +1,7 @@
<?php
require_once 'wp-customize-global-styles-setting.php';
require_once 'wp-customize-utils.php';
require_once ( __DIR__ . '/wp-customize-global-styles-setting.php' );
require_once ( __DIR__ . '/wp-customize-utils.php' );
class GlobalStylesColorCustomizer {

View file

@ -1,7 +1,7 @@
<?php
require_once 'wp-customize-global-styles-setting.php';
require_once 'wp-customize-utils.php';
require_once ( __DIR__ . '/wp-customize-global-styles-setting.php' );
require_once ( __DIR__ . '/wp-customize-utils.php' );
class GlobalStylesFontsCustomizer {