Skip to content

Commit

Permalink
fix php names conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan-shafi committed Sep 1, 2022
1 parent d446cab commit 2675ac2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions includes/class-editorskit-block-typography-addon-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Class to handle block level typography
*/

class Editorskit_Block_Typography_Manager
class Editorskit_Block_Typography_Addon_Manager
{

/**
Expand Down Expand Up @@ -184,4 +184,4 @@ public function apply_editorskit_typography($block_content, $block)
}
}

new Editorskit_Block_Typography_Manager();
new Editorskit_Block_Typography_Addon_Manager();
8 changes: 4 additions & 4 deletions includes/class-editorskit-typography-addon-font-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
*
* @since 1.0
*/
class EditorsKit_Typography_Font_Loader
class EditorsKit_Typography_addon_Font_Loader
{
/**
* This plugin's instance.
*
* @var EditorsKit_Typography_Font_Loader
* @var EditorsKit_Typography_addon_Font_Loader
*/
private static $instance;
/**
Expand All @@ -29,7 +29,7 @@ public static function register()
{

if (null === self::$instance) {
self::$instance = new EditorsKit_Typography_Font_Loader();
self::$instance = new EditorsKit_Typography_addon_Font_Loader();
}
}
/**
Expand Down Expand Up @@ -464,4 +464,4 @@ public function resource_hints($urls, $relation_type)
return $urls;
}
}
EditorsKit_Typography_Font_Loader::register();
EditorsKit_Typography_addon_Font_Loader::register();
6 changes: 3 additions & 3 deletions includes/class-editorskit-typography-addon-post-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
}

/**
* EditorsKit_Post_Meta Class
* EditorsKit__Typography_addon_Post_Meta Class
*
* @since 1.6.0
*/
class EditorsKit_Post_Meta
class EditorsKit__Typography_addon_Post_Meta
{

/**
Expand Down Expand Up @@ -218,4 +218,4 @@ public function auth_callback()
}
}

return new EditorsKit_Post_Meta();
return new EditorsKit__Typography_addon_Post_Meta();

0 comments on commit 2675ac2

Please sign in to comment.