Skip to content

Commit

Permalink
v1.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Jun 6, 2024
1 parent 57a0cbb commit 2c54634
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Advanced Custom Fields: Editor Palette Field
* Plugin URI: https://github.com/log1x/acf-editor-palette
* Description: A Gutenberg-like editor palette color picker field for Advanced Custom Fields.
* Version: 1.1.7
* Version: 1.1.8
* Author: Brandon Nifong
* Author URI: https://github.com/log1x
*/
Expand All @@ -13,7 +13,7 @@

add_filter('after_setup_theme', new class
{
/**
/**
* The field label.
*
* @var string
Expand Down Expand Up @@ -59,10 +59,10 @@ public function __invoke()
return;
}

$this->uri = plugin_dir_url(__FILE__) . $this->path;
$this->path = plugin_dir_path(__FILE__) . $this->path;
$this->uri = plugin_dir_url(__FILE__).$this->path;
$this->path = plugin_dir_path(__FILE__).$this->path;

if (file_exists($composer = __DIR__ . '/vendor/autoload.php')) {
if (file_exists($composer = __DIR__.'/vendor/autoload.php')) {
require_once $composer;
}

Expand Down

0 comments on commit 2c54634

Please sign in to comment.