From 6ec201f6650234e605b3c0a30331e53f56f2fbfb Mon Sep 17 00:00:00 2001 From: Vanesa Reinerth Date: Mon, 4 Feb 2019 16:54:37 +0200 Subject: [PATCH 1/3] fix editor styles enqueue issue --- includes/gbt-blocks/index.php | 14 ++++++++------ the-retailer-extender.php | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/includes/gbt-blocks/index.php b/includes/gbt-blocks/index.php index 3f6a55c..a7357da 100644 --- a/includes/gbt-blocks/index.php +++ b/includes/gbt-blocks/index.php @@ -5,11 +5,13 @@ //============================================================================== // Main Editor Styles //============================================================================== -wp_enqueue_style( - 'getbowtied-tr-product-blocks-editor-styles', - plugins_url( 'assets/css/editor.css', __FILE__ ), - array( 'wp-edit-blocks' ) -); +add_action( 'enqueue_block_editor_assets', function() { + wp_enqueue_style( + 'getbowtied-tr-blocks-editor-styles', + plugins_url( 'assets/css/editor.css', __FILE__ ), + array( 'wp-edit-blocks' ) + ); +}); //============================================================================== // Main JS @@ -19,7 +21,7 @@ function getbowtied_tr_product_blocks_scripts() { wp_enqueue_script( - 'getbowtied-tr-product-blocks-editor-scripts', + 'getbowtied-tr-blocks-editor-scripts', plugins_url( 'assets/js/main.js', __FILE__ ), array( 'wp-blocks', 'jquery' ) ); diff --git a/the-retailer-extender.php b/the-retailer-extender.php index 2912f1b..4ee509e 100755 --- a/the-retailer-extender.php +++ b/the-retailer-extender.php @@ -49,7 +49,7 @@ function tr_theme_warning() { ?> -
+

The Retailer Extender plugin couldn't find the Block Editor (Gutenberg) on this site. It requires WordPress 5+ or Gutenberg installed as a plugin.

From e4683d1ec480fa1a4a58c61631de0eb50b1270df Mon Sep 17 00:00:00 2001 From: Vanesa Reinerth Date: Mon, 4 Feb 2019 16:56:35 +0200 Subject: [PATCH 2/3] better file organization --- {updater => core/updater}/.editorconfig | 0 {updater => core/updater}/Puc/v4/Factory.php | 0 {updater => core/updater}/Puc/v4p5/Autoloader.php | 0 .../updater}/Puc/v4p5/DebugBar/Extension.php | 0 .../updater}/Puc/v4p5/DebugBar/Panel.php | 0 .../updater}/Puc/v4p5/DebugBar/PluginExtension.php | 0 .../updater}/Puc/v4p5/DebugBar/PluginPanel.php | 0 .../updater}/Puc/v4p5/DebugBar/ThemePanel.php | 0 {updater => core/updater}/Puc/v4p5/Factory.php | 0 .../updater}/Puc/v4p5/InstalledPackage.php | 0 {updater => core/updater}/Puc/v4p5/Metadata.php | 0 .../updater}/Puc/v4p5/OAuthSignature.php | 0 {updater => core/updater}/Puc/v4p5/Plugin/Info.php | 0 .../updater}/Puc/v4p5/Plugin/Package.php | 0 {updater => core/updater}/Puc/v4p5/Plugin/Ui.php | 0 .../updater}/Puc/v4p5/Plugin/Update.php | 0 .../updater}/Puc/v4p5/Plugin/UpdateChecker.php | 0 {updater => core/updater}/Puc/v4p5/Scheduler.php | 0 {updater => core/updater}/Puc/v4p5/StateStore.php | 0 .../updater}/Puc/v4p5/Theme/Package.php | 0 {updater => core/updater}/Puc/v4p5/Theme/Update.php | 0 .../updater}/Puc/v4p5/Theme/UpdateChecker.php | 0 {updater => core/updater}/Puc/v4p5/Update.php | 0 .../updater}/Puc/v4p5/UpdateChecker.php | 0 .../updater}/Puc/v4p5/UpgraderStatus.php | 0 {updater => core/updater}/Puc/v4p5/Utils.php | 0 {updater => core/updater}/Puc/v4p5/Vcs/Api.php | 0 .../updater}/Puc/v4p5/Vcs/BaseChecker.php | 0 .../updater}/Puc/v4p5/Vcs/BitBucketApi.php | 0 .../updater}/Puc/v4p5/Vcs/GitHubApi.php | 0 .../updater}/Puc/v4p5/Vcs/GitLabApi.php | 0 .../updater}/Puc/v4p5/Vcs/PluginUpdateChecker.php | 0 .../updater}/Puc/v4p5/Vcs/Reference.php | 0 .../updater}/Puc/v4p5/Vcs/ThemeUpdateChecker.php | 0 {updater => core/updater}/README.md | 0 .../assets/images/theretailer-banner-1544x500.png | Bin .../assets/images/theretailer-banner-772x250.png | Bin .../assets/images/theretailer-extender-128x128.png | Bin .../assets/images/theretailer-extender-256x256.png | Bin {updater => core/updater}/assets/plugin.json | 8 ++++---- {updater => core/updater}/composer.json | 0 {updater => core/updater}/css/puc-debug-bar.css | 0 {updater => core/updater}/js/debug-bar.js | 0 .../languages/plugin-update-checker-cs_CZ.mo | Bin .../languages/plugin-update-checker-cs_CZ.po | 0 .../languages/plugin-update-checker-da_DK.mo | Bin .../languages/plugin-update-checker-da_DK.po | 0 .../languages/plugin-update-checker-de_DE.mo | Bin .../languages/plugin-update-checker-de_DE.po | 0 .../languages/plugin-update-checker-fa_IR.mo | Bin .../languages/plugin-update-checker-fa_IR.po | 0 .../languages/plugin-update-checker-fr_CA.mo | Bin .../languages/plugin-update-checker-fr_CA.po | 0 .../languages/plugin-update-checker-fr_FR.mo | Bin .../languages/plugin-update-checker-fr_FR.po | 0 .../languages/plugin-update-checker-hu_HU.mo | Bin .../languages/plugin-update-checker-hu_HU.po | 0 .../languages/plugin-update-checker-it_IT.mo | Bin .../languages/plugin-update-checker-it_IT.po | 0 .../updater}/languages/plugin-update-checker-ja.mo | Bin .../updater}/languages/plugin-update-checker-ja.po | 0 .../languages/plugin-update-checker-nl_BE.mo | Bin .../languages/plugin-update-checker-nl_BE.po | 0 .../languages/plugin-update-checker-nl_NL.mo | Bin .../languages/plugin-update-checker-nl_NL.po | 0 .../languages/plugin-update-checker-pt_BR.mo | Bin .../languages/plugin-update-checker-pt_BR.po | 0 .../languages/plugin-update-checker-sv_SE.mo | Bin .../languages/plugin-update-checker-sv_SE.po | 0 .../updater}/languages/plugin-update-checker.pot | 0 {updater => core/updater}/license.txt | 0 {updater => core/updater}/plugin-update-checker.php | 0 {updater => core/updater}/vendor/Parsedown.php | 0 .../updater}/vendor/ParsedownLegacy.php | 0 {updater => core/updater}/vendor/readme-parser.php | 0 the-retailer-extender.php | 4 ++-- 76 files changed, 6 insertions(+), 6 deletions(-) rename {updater => core/updater}/.editorconfig (100%) rename {updater => core/updater}/Puc/v4/Factory.php (100%) rename {updater => core/updater}/Puc/v4p5/Autoloader.php (100%) rename {updater => core/updater}/Puc/v4p5/DebugBar/Extension.php (100%) rename {updater => core/updater}/Puc/v4p5/DebugBar/Panel.php (100%) rename {updater => core/updater}/Puc/v4p5/DebugBar/PluginExtension.php (100%) rename {updater => core/updater}/Puc/v4p5/DebugBar/PluginPanel.php (100%) rename {updater => core/updater}/Puc/v4p5/DebugBar/ThemePanel.php (100%) rename {updater => core/updater}/Puc/v4p5/Factory.php (100%) rename {updater => core/updater}/Puc/v4p5/InstalledPackage.php (100%) rename {updater => core/updater}/Puc/v4p5/Metadata.php (100%) rename {updater => core/updater}/Puc/v4p5/OAuthSignature.php (100%) rename {updater => core/updater}/Puc/v4p5/Plugin/Info.php (100%) rename {updater => core/updater}/Puc/v4p5/Plugin/Package.php (100%) rename {updater => core/updater}/Puc/v4p5/Plugin/Ui.php (100%) rename {updater => core/updater}/Puc/v4p5/Plugin/Update.php (100%) rename {updater => core/updater}/Puc/v4p5/Plugin/UpdateChecker.php (100%) rename {updater => core/updater}/Puc/v4p5/Scheduler.php (100%) rename {updater => core/updater}/Puc/v4p5/StateStore.php (100%) rename {updater => core/updater}/Puc/v4p5/Theme/Package.php (100%) rename {updater => core/updater}/Puc/v4p5/Theme/Update.php (100%) rename {updater => core/updater}/Puc/v4p5/Theme/UpdateChecker.php (100%) rename {updater => core/updater}/Puc/v4p5/Update.php (100%) rename {updater => core/updater}/Puc/v4p5/UpdateChecker.php (100%) rename {updater => core/updater}/Puc/v4p5/UpgraderStatus.php (100%) rename {updater => core/updater}/Puc/v4p5/Utils.php (100%) rename {updater => core/updater}/Puc/v4p5/Vcs/Api.php (100%) rename {updater => core/updater}/Puc/v4p5/Vcs/BaseChecker.php (100%) rename {updater => core/updater}/Puc/v4p5/Vcs/BitBucketApi.php (100%) rename {updater => core/updater}/Puc/v4p5/Vcs/GitHubApi.php (100%) rename {updater => core/updater}/Puc/v4p5/Vcs/GitLabApi.php (100%) rename {updater => core/updater}/Puc/v4p5/Vcs/PluginUpdateChecker.php (100%) rename {updater => core/updater}/Puc/v4p5/Vcs/Reference.php (100%) rename {updater => core/updater}/Puc/v4p5/Vcs/ThemeUpdateChecker.php (100%) rename {updater => core/updater}/README.md (100%) rename {updater => core/updater}/assets/images/theretailer-banner-1544x500.png (100%) rename {updater => core/updater}/assets/images/theretailer-banner-772x250.png (100%) rename {updater => core/updater}/assets/images/theretailer-extender-128x128.png (100%) rename {updater => core/updater}/assets/images/theretailer-extender-256x256.png (100%) rename {updater => core/updater}/assets/plugin.json (78%) rename {updater => core/updater}/composer.json (100%) rename {updater => core/updater}/css/puc-debug-bar.css (100%) rename {updater => core/updater}/js/debug-bar.js (100%) rename {updater => core/updater}/languages/plugin-update-checker-cs_CZ.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-cs_CZ.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-da_DK.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-da_DK.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-de_DE.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-de_DE.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-fa_IR.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-fa_IR.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-fr_CA.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-fr_CA.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-fr_FR.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-fr_FR.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-hu_HU.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-hu_HU.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-it_IT.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-it_IT.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-ja.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-ja.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-nl_BE.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-nl_BE.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-nl_NL.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-nl_NL.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-pt_BR.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-pt_BR.po (100%) rename {updater => core/updater}/languages/plugin-update-checker-sv_SE.mo (100%) rename {updater => core/updater}/languages/plugin-update-checker-sv_SE.po (100%) rename {updater => core/updater}/languages/plugin-update-checker.pot (100%) rename {updater => core/updater}/license.txt (100%) rename {updater => core/updater}/plugin-update-checker.php (100%) rename {updater => core/updater}/vendor/Parsedown.php (100%) rename {updater => core/updater}/vendor/ParsedownLegacy.php (100%) rename {updater => core/updater}/vendor/readme-parser.php (100%) diff --git a/updater/.editorconfig b/core/updater/.editorconfig similarity index 100% rename from updater/.editorconfig rename to core/updater/.editorconfig diff --git a/updater/Puc/v4/Factory.php b/core/updater/Puc/v4/Factory.php similarity index 100% rename from updater/Puc/v4/Factory.php rename to core/updater/Puc/v4/Factory.php diff --git a/updater/Puc/v4p5/Autoloader.php b/core/updater/Puc/v4p5/Autoloader.php similarity index 100% rename from updater/Puc/v4p5/Autoloader.php rename to core/updater/Puc/v4p5/Autoloader.php diff --git a/updater/Puc/v4p5/DebugBar/Extension.php b/core/updater/Puc/v4p5/DebugBar/Extension.php similarity index 100% rename from updater/Puc/v4p5/DebugBar/Extension.php rename to core/updater/Puc/v4p5/DebugBar/Extension.php diff --git a/updater/Puc/v4p5/DebugBar/Panel.php b/core/updater/Puc/v4p5/DebugBar/Panel.php similarity index 100% rename from updater/Puc/v4p5/DebugBar/Panel.php rename to core/updater/Puc/v4p5/DebugBar/Panel.php diff --git a/updater/Puc/v4p5/DebugBar/PluginExtension.php b/core/updater/Puc/v4p5/DebugBar/PluginExtension.php similarity index 100% rename from updater/Puc/v4p5/DebugBar/PluginExtension.php rename to core/updater/Puc/v4p5/DebugBar/PluginExtension.php diff --git a/updater/Puc/v4p5/DebugBar/PluginPanel.php b/core/updater/Puc/v4p5/DebugBar/PluginPanel.php similarity index 100% rename from updater/Puc/v4p5/DebugBar/PluginPanel.php rename to core/updater/Puc/v4p5/DebugBar/PluginPanel.php diff --git a/updater/Puc/v4p5/DebugBar/ThemePanel.php b/core/updater/Puc/v4p5/DebugBar/ThemePanel.php similarity index 100% rename from updater/Puc/v4p5/DebugBar/ThemePanel.php rename to core/updater/Puc/v4p5/DebugBar/ThemePanel.php diff --git a/updater/Puc/v4p5/Factory.php b/core/updater/Puc/v4p5/Factory.php similarity index 100% rename from updater/Puc/v4p5/Factory.php rename to core/updater/Puc/v4p5/Factory.php diff --git a/updater/Puc/v4p5/InstalledPackage.php b/core/updater/Puc/v4p5/InstalledPackage.php similarity index 100% rename from updater/Puc/v4p5/InstalledPackage.php rename to core/updater/Puc/v4p5/InstalledPackage.php diff --git a/updater/Puc/v4p5/Metadata.php b/core/updater/Puc/v4p5/Metadata.php similarity index 100% rename from updater/Puc/v4p5/Metadata.php rename to core/updater/Puc/v4p5/Metadata.php diff --git a/updater/Puc/v4p5/OAuthSignature.php b/core/updater/Puc/v4p5/OAuthSignature.php similarity index 100% rename from updater/Puc/v4p5/OAuthSignature.php rename to core/updater/Puc/v4p5/OAuthSignature.php diff --git a/updater/Puc/v4p5/Plugin/Info.php b/core/updater/Puc/v4p5/Plugin/Info.php similarity index 100% rename from updater/Puc/v4p5/Plugin/Info.php rename to core/updater/Puc/v4p5/Plugin/Info.php diff --git a/updater/Puc/v4p5/Plugin/Package.php b/core/updater/Puc/v4p5/Plugin/Package.php similarity index 100% rename from updater/Puc/v4p5/Plugin/Package.php rename to core/updater/Puc/v4p5/Plugin/Package.php diff --git a/updater/Puc/v4p5/Plugin/Ui.php b/core/updater/Puc/v4p5/Plugin/Ui.php similarity index 100% rename from updater/Puc/v4p5/Plugin/Ui.php rename to core/updater/Puc/v4p5/Plugin/Ui.php diff --git a/updater/Puc/v4p5/Plugin/Update.php b/core/updater/Puc/v4p5/Plugin/Update.php similarity index 100% rename from updater/Puc/v4p5/Plugin/Update.php rename to core/updater/Puc/v4p5/Plugin/Update.php diff --git a/updater/Puc/v4p5/Plugin/UpdateChecker.php b/core/updater/Puc/v4p5/Plugin/UpdateChecker.php similarity index 100% rename from updater/Puc/v4p5/Plugin/UpdateChecker.php rename to core/updater/Puc/v4p5/Plugin/UpdateChecker.php diff --git a/updater/Puc/v4p5/Scheduler.php b/core/updater/Puc/v4p5/Scheduler.php similarity index 100% rename from updater/Puc/v4p5/Scheduler.php rename to core/updater/Puc/v4p5/Scheduler.php diff --git a/updater/Puc/v4p5/StateStore.php b/core/updater/Puc/v4p5/StateStore.php similarity index 100% rename from updater/Puc/v4p5/StateStore.php rename to core/updater/Puc/v4p5/StateStore.php diff --git a/updater/Puc/v4p5/Theme/Package.php b/core/updater/Puc/v4p5/Theme/Package.php similarity index 100% rename from updater/Puc/v4p5/Theme/Package.php rename to core/updater/Puc/v4p5/Theme/Package.php diff --git a/updater/Puc/v4p5/Theme/Update.php b/core/updater/Puc/v4p5/Theme/Update.php similarity index 100% rename from updater/Puc/v4p5/Theme/Update.php rename to core/updater/Puc/v4p5/Theme/Update.php diff --git a/updater/Puc/v4p5/Theme/UpdateChecker.php b/core/updater/Puc/v4p5/Theme/UpdateChecker.php similarity index 100% rename from updater/Puc/v4p5/Theme/UpdateChecker.php rename to core/updater/Puc/v4p5/Theme/UpdateChecker.php diff --git a/updater/Puc/v4p5/Update.php b/core/updater/Puc/v4p5/Update.php similarity index 100% rename from updater/Puc/v4p5/Update.php rename to core/updater/Puc/v4p5/Update.php diff --git a/updater/Puc/v4p5/UpdateChecker.php b/core/updater/Puc/v4p5/UpdateChecker.php similarity index 100% rename from updater/Puc/v4p5/UpdateChecker.php rename to core/updater/Puc/v4p5/UpdateChecker.php diff --git a/updater/Puc/v4p5/UpgraderStatus.php b/core/updater/Puc/v4p5/UpgraderStatus.php similarity index 100% rename from updater/Puc/v4p5/UpgraderStatus.php rename to core/updater/Puc/v4p5/UpgraderStatus.php diff --git a/updater/Puc/v4p5/Utils.php b/core/updater/Puc/v4p5/Utils.php similarity index 100% rename from updater/Puc/v4p5/Utils.php rename to core/updater/Puc/v4p5/Utils.php diff --git a/updater/Puc/v4p5/Vcs/Api.php b/core/updater/Puc/v4p5/Vcs/Api.php similarity index 100% rename from updater/Puc/v4p5/Vcs/Api.php rename to core/updater/Puc/v4p5/Vcs/Api.php diff --git a/updater/Puc/v4p5/Vcs/BaseChecker.php b/core/updater/Puc/v4p5/Vcs/BaseChecker.php similarity index 100% rename from updater/Puc/v4p5/Vcs/BaseChecker.php rename to core/updater/Puc/v4p5/Vcs/BaseChecker.php diff --git a/updater/Puc/v4p5/Vcs/BitBucketApi.php b/core/updater/Puc/v4p5/Vcs/BitBucketApi.php similarity index 100% rename from updater/Puc/v4p5/Vcs/BitBucketApi.php rename to core/updater/Puc/v4p5/Vcs/BitBucketApi.php diff --git a/updater/Puc/v4p5/Vcs/GitHubApi.php b/core/updater/Puc/v4p5/Vcs/GitHubApi.php similarity index 100% rename from updater/Puc/v4p5/Vcs/GitHubApi.php rename to core/updater/Puc/v4p5/Vcs/GitHubApi.php diff --git a/updater/Puc/v4p5/Vcs/GitLabApi.php b/core/updater/Puc/v4p5/Vcs/GitLabApi.php similarity index 100% rename from updater/Puc/v4p5/Vcs/GitLabApi.php rename to core/updater/Puc/v4p5/Vcs/GitLabApi.php diff --git a/updater/Puc/v4p5/Vcs/PluginUpdateChecker.php b/core/updater/Puc/v4p5/Vcs/PluginUpdateChecker.php similarity index 100% rename from updater/Puc/v4p5/Vcs/PluginUpdateChecker.php rename to core/updater/Puc/v4p5/Vcs/PluginUpdateChecker.php diff --git a/updater/Puc/v4p5/Vcs/Reference.php b/core/updater/Puc/v4p5/Vcs/Reference.php similarity index 100% rename from updater/Puc/v4p5/Vcs/Reference.php rename to core/updater/Puc/v4p5/Vcs/Reference.php diff --git a/updater/Puc/v4p5/Vcs/ThemeUpdateChecker.php b/core/updater/Puc/v4p5/Vcs/ThemeUpdateChecker.php similarity index 100% rename from updater/Puc/v4p5/Vcs/ThemeUpdateChecker.php rename to core/updater/Puc/v4p5/Vcs/ThemeUpdateChecker.php diff --git a/updater/README.md b/core/updater/README.md similarity index 100% rename from updater/README.md rename to core/updater/README.md diff --git a/updater/assets/images/theretailer-banner-1544x500.png b/core/updater/assets/images/theretailer-banner-1544x500.png similarity index 100% rename from updater/assets/images/theretailer-banner-1544x500.png rename to core/updater/assets/images/theretailer-banner-1544x500.png diff --git a/updater/assets/images/theretailer-banner-772x250.png b/core/updater/assets/images/theretailer-banner-772x250.png similarity index 100% rename from updater/assets/images/theretailer-banner-772x250.png rename to core/updater/assets/images/theretailer-banner-772x250.png diff --git a/updater/assets/images/theretailer-extender-128x128.png b/core/updater/assets/images/theretailer-extender-128x128.png similarity index 100% rename from updater/assets/images/theretailer-extender-128x128.png rename to core/updater/assets/images/theretailer-extender-128x128.png diff --git a/updater/assets/images/theretailer-extender-256x256.png b/core/updater/assets/images/theretailer-extender-256x256.png similarity index 100% rename from updater/assets/images/theretailer-extender-256x256.png rename to core/updater/assets/images/theretailer-extender-256x256.png diff --git a/updater/assets/plugin.json b/core/updater/assets/plugin.json similarity index 78% rename from updater/assets/plugin.json rename to core/updater/assets/plugin.json index 06a84fd..1b44a6d 100755 --- a/updater/assets/plugin.json +++ b/core/updater/assets/plugin.json @@ -17,12 +17,12 @@ }, "icons" : { - "1x" : "https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/updater/assets/images/theretailer-extender-128x128.png", - "2x" : "https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/updater/assets/images/theretailer-extender-256x256.png" + "1x" : "https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/core/updater/assets/images/theretailer-extender-128x128.png", + "2x" : "https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/core/updater/assets/images/theretailer-extender-256x256.png" }, "banners": { - "low": "https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/updater/assets/images/theretailer-banner-772x250.png", - "high": "https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/updater/assets/images/theretailer-banner-1544x500.png" + "low": "https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/core/updater/assets/images/theretailer-banner-772x250.png", + "high": "https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/core/updater/assets/images/theretailer-banner-1544x500.png" } } \ No newline at end of file diff --git a/updater/composer.json b/core/updater/composer.json similarity index 100% rename from updater/composer.json rename to core/updater/composer.json diff --git a/updater/css/puc-debug-bar.css b/core/updater/css/puc-debug-bar.css similarity index 100% rename from updater/css/puc-debug-bar.css rename to core/updater/css/puc-debug-bar.css diff --git a/updater/js/debug-bar.js b/core/updater/js/debug-bar.js similarity index 100% rename from updater/js/debug-bar.js rename to core/updater/js/debug-bar.js diff --git a/updater/languages/plugin-update-checker-cs_CZ.mo b/core/updater/languages/plugin-update-checker-cs_CZ.mo similarity index 100% rename from updater/languages/plugin-update-checker-cs_CZ.mo rename to core/updater/languages/plugin-update-checker-cs_CZ.mo diff --git a/updater/languages/plugin-update-checker-cs_CZ.po b/core/updater/languages/plugin-update-checker-cs_CZ.po similarity index 100% rename from updater/languages/plugin-update-checker-cs_CZ.po rename to core/updater/languages/plugin-update-checker-cs_CZ.po diff --git a/updater/languages/plugin-update-checker-da_DK.mo b/core/updater/languages/plugin-update-checker-da_DK.mo similarity index 100% rename from updater/languages/plugin-update-checker-da_DK.mo rename to core/updater/languages/plugin-update-checker-da_DK.mo diff --git a/updater/languages/plugin-update-checker-da_DK.po b/core/updater/languages/plugin-update-checker-da_DK.po similarity index 100% rename from updater/languages/plugin-update-checker-da_DK.po rename to core/updater/languages/plugin-update-checker-da_DK.po diff --git a/updater/languages/plugin-update-checker-de_DE.mo b/core/updater/languages/plugin-update-checker-de_DE.mo similarity index 100% rename from updater/languages/plugin-update-checker-de_DE.mo rename to core/updater/languages/plugin-update-checker-de_DE.mo diff --git a/updater/languages/plugin-update-checker-de_DE.po b/core/updater/languages/plugin-update-checker-de_DE.po similarity index 100% rename from updater/languages/plugin-update-checker-de_DE.po rename to core/updater/languages/plugin-update-checker-de_DE.po diff --git a/updater/languages/plugin-update-checker-fa_IR.mo b/core/updater/languages/plugin-update-checker-fa_IR.mo similarity index 100% rename from updater/languages/plugin-update-checker-fa_IR.mo rename to core/updater/languages/plugin-update-checker-fa_IR.mo diff --git a/updater/languages/plugin-update-checker-fa_IR.po b/core/updater/languages/plugin-update-checker-fa_IR.po similarity index 100% rename from updater/languages/plugin-update-checker-fa_IR.po rename to core/updater/languages/plugin-update-checker-fa_IR.po diff --git a/updater/languages/plugin-update-checker-fr_CA.mo b/core/updater/languages/plugin-update-checker-fr_CA.mo similarity index 100% rename from updater/languages/plugin-update-checker-fr_CA.mo rename to core/updater/languages/plugin-update-checker-fr_CA.mo diff --git a/updater/languages/plugin-update-checker-fr_CA.po b/core/updater/languages/plugin-update-checker-fr_CA.po similarity index 100% rename from updater/languages/plugin-update-checker-fr_CA.po rename to core/updater/languages/plugin-update-checker-fr_CA.po diff --git a/updater/languages/plugin-update-checker-fr_FR.mo b/core/updater/languages/plugin-update-checker-fr_FR.mo similarity index 100% rename from updater/languages/plugin-update-checker-fr_FR.mo rename to core/updater/languages/plugin-update-checker-fr_FR.mo diff --git a/updater/languages/plugin-update-checker-fr_FR.po b/core/updater/languages/plugin-update-checker-fr_FR.po similarity index 100% rename from updater/languages/plugin-update-checker-fr_FR.po rename to core/updater/languages/plugin-update-checker-fr_FR.po diff --git a/updater/languages/plugin-update-checker-hu_HU.mo b/core/updater/languages/plugin-update-checker-hu_HU.mo similarity index 100% rename from updater/languages/plugin-update-checker-hu_HU.mo rename to core/updater/languages/plugin-update-checker-hu_HU.mo diff --git a/updater/languages/plugin-update-checker-hu_HU.po b/core/updater/languages/plugin-update-checker-hu_HU.po similarity index 100% rename from updater/languages/plugin-update-checker-hu_HU.po rename to core/updater/languages/plugin-update-checker-hu_HU.po diff --git a/updater/languages/plugin-update-checker-it_IT.mo b/core/updater/languages/plugin-update-checker-it_IT.mo similarity index 100% rename from updater/languages/plugin-update-checker-it_IT.mo rename to core/updater/languages/plugin-update-checker-it_IT.mo diff --git a/updater/languages/plugin-update-checker-it_IT.po b/core/updater/languages/plugin-update-checker-it_IT.po similarity index 100% rename from updater/languages/plugin-update-checker-it_IT.po rename to core/updater/languages/plugin-update-checker-it_IT.po diff --git a/updater/languages/plugin-update-checker-ja.mo b/core/updater/languages/plugin-update-checker-ja.mo similarity index 100% rename from updater/languages/plugin-update-checker-ja.mo rename to core/updater/languages/plugin-update-checker-ja.mo diff --git a/updater/languages/plugin-update-checker-ja.po b/core/updater/languages/plugin-update-checker-ja.po similarity index 100% rename from updater/languages/plugin-update-checker-ja.po rename to core/updater/languages/plugin-update-checker-ja.po diff --git a/updater/languages/plugin-update-checker-nl_BE.mo b/core/updater/languages/plugin-update-checker-nl_BE.mo similarity index 100% rename from updater/languages/plugin-update-checker-nl_BE.mo rename to core/updater/languages/plugin-update-checker-nl_BE.mo diff --git a/updater/languages/plugin-update-checker-nl_BE.po b/core/updater/languages/plugin-update-checker-nl_BE.po similarity index 100% rename from updater/languages/plugin-update-checker-nl_BE.po rename to core/updater/languages/plugin-update-checker-nl_BE.po diff --git a/updater/languages/plugin-update-checker-nl_NL.mo b/core/updater/languages/plugin-update-checker-nl_NL.mo similarity index 100% rename from updater/languages/plugin-update-checker-nl_NL.mo rename to core/updater/languages/plugin-update-checker-nl_NL.mo diff --git a/updater/languages/plugin-update-checker-nl_NL.po b/core/updater/languages/plugin-update-checker-nl_NL.po similarity index 100% rename from updater/languages/plugin-update-checker-nl_NL.po rename to core/updater/languages/plugin-update-checker-nl_NL.po diff --git a/updater/languages/plugin-update-checker-pt_BR.mo b/core/updater/languages/plugin-update-checker-pt_BR.mo similarity index 100% rename from updater/languages/plugin-update-checker-pt_BR.mo rename to core/updater/languages/plugin-update-checker-pt_BR.mo diff --git a/updater/languages/plugin-update-checker-pt_BR.po b/core/updater/languages/plugin-update-checker-pt_BR.po similarity index 100% rename from updater/languages/plugin-update-checker-pt_BR.po rename to core/updater/languages/plugin-update-checker-pt_BR.po diff --git a/updater/languages/plugin-update-checker-sv_SE.mo b/core/updater/languages/plugin-update-checker-sv_SE.mo similarity index 100% rename from updater/languages/plugin-update-checker-sv_SE.mo rename to core/updater/languages/plugin-update-checker-sv_SE.mo diff --git a/updater/languages/plugin-update-checker-sv_SE.po b/core/updater/languages/plugin-update-checker-sv_SE.po similarity index 100% rename from updater/languages/plugin-update-checker-sv_SE.po rename to core/updater/languages/plugin-update-checker-sv_SE.po diff --git a/updater/languages/plugin-update-checker.pot b/core/updater/languages/plugin-update-checker.pot similarity index 100% rename from updater/languages/plugin-update-checker.pot rename to core/updater/languages/plugin-update-checker.pot diff --git a/updater/license.txt b/core/updater/license.txt similarity index 100% rename from updater/license.txt rename to core/updater/license.txt diff --git a/updater/plugin-update-checker.php b/core/updater/plugin-update-checker.php similarity index 100% rename from updater/plugin-update-checker.php rename to core/updater/plugin-update-checker.php diff --git a/updater/vendor/Parsedown.php b/core/updater/vendor/Parsedown.php similarity index 100% rename from updater/vendor/Parsedown.php rename to core/updater/vendor/Parsedown.php diff --git a/updater/vendor/ParsedownLegacy.php b/core/updater/vendor/ParsedownLegacy.php similarity index 100% rename from updater/vendor/ParsedownLegacy.php rename to core/updater/vendor/ParsedownLegacy.php diff --git a/updater/vendor/readme-parser.php b/core/updater/vendor/readme-parser.php similarity index 100% rename from updater/vendor/readme-parser.php rename to core/updater/vendor/readme-parser.php diff --git a/the-retailer-extender.php b/the-retailer-extender.php index 4ee509e..61d8366 100755 --- a/the-retailer-extender.php +++ b/the-retailer-extender.php @@ -25,9 +25,9 @@ global $theme; $theme = wp_get_theme(); -require 'updater/plugin-update-checker.php'; +require 'core/updater/plugin-update-checker.php'; $myUpdateChecker = Puc_v4_Factory::buildUpdateChecker( - 'https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/updater/assets/plugin.json', + 'https://raw.githubusercontent.com/getbowtied/the-retailer-extender/master/core/updater/assets/plugin.json', __FILE__, 'the-retailer-extender' ); From fbacd0582d8a19b4cbed7ee0f861f9b5840146f1 Mon Sep 17 00:00:00 2001 From: Vanesa Reinerth Date: Mon, 4 Feb 2019 17:01:10 +0200 Subject: [PATCH 3/3] v.1.2.1 --- README.txt | 7 +++++-- core/updater/assets/plugin.json | 6 +++--- includes/gbt-blocks/assets/css/editor.css | 3 ++- includes/gbt-blocks/assets/css/editor.scss | 1 + the-retailer-extender.php | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.txt b/README.txt index 06c0734..5d9cc2b 100755 --- a/README.txt +++ b/README.txt @@ -3,11 +3,11 @@ Contributors: getbowtied, vanesareinerth, adrianlbs Tags: gutenberg, blocks Requires at least: 5.0 Tested up to: 5.0.3 -Stable tag: 1.2 +Stable tag: 1.2.1 Requires PHP: 5.5.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -~Current Version:1.2~ +~Current Version:1.2.1~ Extends the functionality of The Retailer theme by adding theme specific features. @@ -24,6 +24,9 @@ Companion plugin for **The Retailer** theme. Extends the functionality by adding == Changelog == += 1.2.1 = +- Fixed: Columns Block displaying issue + = 1.2 = - WordPress 5+ compatibility improvements - Improved styles for theme neutrality diff --git a/core/updater/assets/plugin.json b/core/updater/assets/plugin.json index 1b44a6d..70a6c52 100755 --- a/core/updater/assets/plugin.json +++ b/core/updater/assets/plugin.json @@ -1,19 +1,19 @@ { "name": "The Retailer Extender", - "version": "1.2", + "version": "1.2.1", "download_url": "https://github.com/getbowtied/the-retailer-extender/zipball/master", "homepage": "https://themeforest.net/item/the-retailer-responsive-wordpress-theme/4287447", "requires": "5.0", "tested": "5.0.3", - "last_updated": "2019-01-18 10:00:00", + "last_updated": "2019-02-04 12:00:00", "author": "GetBowtied", "author_homepage": "https://getbowtied.com/", "sections": { "description": "

Companion plugin for the The Retailer theme. Extends the functionality by adding theme specific features.

Gutenberg Blocks:

  • Image Slider
  • Banner
  • Posts Grid
  • Social Media Profiles
  • Portfolio
", - "changelog": "

1.2

  • WordPress 5+ compatibility improvements
  • Improved styles for theme neutrality
  • Localization issues with the Posts Grid Block

1.1

  • WordPress 5+ compatibility improvements

1.0

  • Initial Version
" + "changelog": "

1.2.1

  • Fixed: Columns Block displaying issue

1.2

  • WordPress 5+ compatibility improvements
  • Improved styles for theme neutrality
  • Localization issues with the Posts Grid Block

1.1

  • WordPress 5+ compatibility improvements

1.0

  • Initial Version
" }, "icons" : { diff --git a/includes/gbt-blocks/assets/css/editor.css b/includes/gbt-blocks/assets/css/editor.css index 2baedd3..a2a7742 100644 --- a/includes/gbt-blocks/assets/css/editor.css +++ b/includes/gbt-blocks/assets/css/editor.css @@ -229,7 +229,8 @@ overflow-y: auto; overflow-x: hidden; margin-bottom: 20px; - padding-left: 3px; } + padding-left: 3px; + margin-top: 10px; } .main-inspector-wrapper .category-result-wrapper ul { list-style: none; margin: 0; diff --git a/includes/gbt-blocks/assets/css/editor.scss b/includes/gbt-blocks/assets/css/editor.scss index a67643c..c672ef9 100644 --- a/includes/gbt-blocks/assets/css/editor.scss +++ b/includes/gbt-blocks/assets/css/editor.scss @@ -279,6 +279,7 @@ overflow-x: hidden; margin-bottom: 20px; padding-left: 3px; + margin-top: 10px; ul { list-style: none; diff --git a/the-retailer-extender.php b/the-retailer-extender.php index 61d8366..e1e839f 100755 --- a/the-retailer-extender.php +++ b/the-retailer-extender.php @@ -4,7 +4,7 @@ * Plugin Name: The Retailer Extender * Plugin URI: https://github.com/getbowtied/the-retailer-extender * Description: Extends the functionality of The Retailer with Gutenberg elements. - * Version: 1.2 + * Version: 1.2.1 * Author: GetBowtied * Author URI: https://getbowtied.com * Requires at least: 5.0