Changeset 3390585
- Timestamp:
- 11/05/2025 04:20:38 PM (5 months ago)
- Location:
- pantheon-content-publisher
- Files:
-
- 24 added
- 12 deleted
- 10 edited
- 1 copied
-
tags/1.3.3 (copied) (copied from pantheon-content-publisher/trunk)
-
tags/1.3.3/.eslint.config.js (deleted)
-
tags/1.3.3/.prettierrc (deleted)
-
tags/1.3.3/Contributing.md (deleted)
-
tags/1.3.3/LICENSE (added)
-
tags/1.3.3/README.txt (modified) (2 diffs)
-
tags/1.3.3/app/Admin.php (modified) (2 diffs)
-
tags/1.3.3/app/Settings.php (modified) (3 diffs)
-
tags/1.3.3/assets/dist (added)
-
tags/1.3.3/assets/dist/app.css (added)
-
tags/1.3.3/assets/dist/app.js (added)
-
tags/1.3.3/assets/dist/app.js.LICENSE.txt (added)
-
tags/1.3.3/assets/dist/build (added)
-
tags/1.3.3/assets/dist/build/.vite (added)
-
tags/1.3.3/assets/dist/build/.vite/manifest.json (added)
-
tags/1.3.3/assets/dist/build/admin-app-I3sX5iY8.js (added)
-
tags/1.3.3/assets/dist/build/admin-app-_R6rdtju.css (added)
-
tags/1.3.3/assets/dist/pcc-front.js (added)
-
tags/1.3.3/assets/dist/pcc-front.js.LICENSE.txt (added)
-
tags/1.3.3/pantheon-content-publisher.php (modified) (2 diffs)
-
tags/1.3.3/phpunit.xml (deleted)
-
tags/1.3.3/tsconfig.json (deleted)
-
tags/1.3.3/vendor/composer/installed.php (modified) (2 diffs)
-
tags/1.3.3/vite.config.ts (deleted)
-
trunk/.eslint.config.js (deleted)
-
trunk/.prettierrc (deleted)
-
trunk/Contributing.md (deleted)
-
trunk/LICENSE (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/app/Admin.php (modified) (2 diffs)
-
trunk/app/Settings.php (modified) (3 diffs)
-
trunk/assets/dist (added)
-
trunk/assets/dist/app.css (added)
-
trunk/assets/dist/app.js (added)
-
trunk/assets/dist/app.js.LICENSE.txt (added)
-
trunk/assets/dist/build (added)
-
trunk/assets/dist/build/.vite (added)
-
trunk/assets/dist/build/.vite/manifest.json (added)
-
trunk/assets/dist/build/admin-app-I3sX5iY8.js (added)
-
trunk/assets/dist/build/admin-app-_R6rdtju.css (added)
-
trunk/assets/dist/pcc-front.js (added)
-
trunk/assets/dist/pcc-front.js.LICENSE.txt (added)
-
trunk/pantheon-content-publisher.php (modified) (2 diffs)
-
trunk/phpunit.xml (deleted)
-
trunk/tsconfig.json (deleted)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/vite.config.ts (deleted)
Legend:
- Unmodified
- Added
- Removed
-
pantheon-content-publisher/tags/1.3.3/README.txt
r3389974 r3390585 4 4 Requires at least: 5.7 5 5 Tested up to: 6.8.1 6 Stable tag: 1.3. 26 Stable tag: 1.3.3 7 7 Requires PHP: 8.0.0 8 8 License: GPLv2 or later … … 62 62 63 63 == Changelog == 64 65 = 1.3.3 (5 November 2025) = 66 * Fix: Fixed plugin not loading on WordPress.org due to missing build files 64 67 65 68 = 1.3.2 = -
pantheon-content-publisher/tags/1.3.3/app/Admin.php
r3389815 r3390585 91 91 private function enqueueProdAssets(string $handle): void 92 92 { 93 $manifestPath = CPUB_PLUGIN_DIR . ' dist/build/.vite/manifest.json';93 $manifestPath = CPUB_PLUGIN_DIR . 'assets/dist/build/.vite/manifest.json'; 94 94 if (!file_exists($manifestPath)) { 95 95 error_log('Manifest file not found'); … … 106 106 $cssFiles = $entry['css'] ?? []; 107 107 if ($jsFile) { 108 wp_enqueue_script_module($handle, CPUB_PLUGIN_DIR_URL . ' dist/build/' . $jsFile, [], null, true);108 wp_enqueue_script_module($handle, CPUB_PLUGIN_DIR_URL . 'assets/dist/build/' . $jsFile, [], null, true); 109 109 $this->addBootstrap(); 110 110 } 111 111 foreach ($cssFiles as $css) { 112 wp_enqueue_style($handle, CPUB_PLUGIN_DIR_URL . ' dist/build/' . $css, [], null);112 wp_enqueue_style($handle, CPUB_PLUGIN_DIR_URL . 'assets/dist/build/' . $css, [], null); 113 113 } 114 114 } -
pantheon-content-publisher/tags/1.3.3/app/Settings.php
r3389815 r3390585 708 708 wp_enqueue_script( 709 709 'pantheon-content-publisher', 710 CPUB_PLUGIN_DIR_URL . ' dist/app.js',710 CPUB_PLUGIN_DIR_URL . 'assets/dist/app.js', 711 711 [], 712 filemtime(CPUB_PLUGIN_DIR . ' dist/app.js'),712 filemtime(CPUB_PLUGIN_DIR . 'assets/dist/app.js'), 713 713 true 714 714 ); … … 716 716 wp_enqueue_style( 717 717 'pantheon-content-publisher', 718 CPUB_PLUGIN_DIR_URL . ' dist/app.css',718 CPUB_PLUGIN_DIR_URL . 'assets/dist/app.css', 719 719 [], 720 filemtime(CPUB_PLUGIN_DIR . ' dist/app.css')720 filemtime(CPUB_PLUGIN_DIR . 'assets/dist/app.css') 721 721 ); 722 722 … … 750 750 wp_enqueue_script( 751 751 'pantheon-content-publisher', 752 CPUB_PLUGIN_DIR_URL . ' dist/pcc-front.js',752 CPUB_PLUGIN_DIR_URL . 'assets/dist/pcc-front.js', 753 753 [], 754 filemtime(CPUB_PLUGIN_DIR . ' dist/pcc-front.js'),754 filemtime(CPUB_PLUGIN_DIR . 'assets/dist/pcc-front.js'), 755 755 true 756 756 ); -
pantheon-content-publisher/tags/1.3.3/pantheon-content-publisher.php
r3389974 r3390585 6 6 * Plugin Name: Pantheon Content Publisher 7 7 * Description: Publish WordPress content from Google Docs with Pantheon Content Cloud. 8 * Plugin URI: https:// github.com/pantheon-systems/pantheon-content-publisher-wordpress/8 * Plugin URI: https://wordpress.org/plugins/pantheon-content-publisher/ 9 9 * Author: Pantheon 10 10 * Author URI: https://pantheon.io 11 * Version: 1.3. 211 * Version: 1.3.3 12 12 * License: GPLv2 or later 13 13 * License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 36 36 define('CPUB_WEBHOOK_SECRET_OPTION_KEY', 'cpub_webhook_secret'); 37 37 define('CPUB_WEBHOOK_NOTICE_DISMISSED_OPTION_KEY', 'cpub_webhook_notice_dismissed'); 38 define('CPUB_VERSION', '1.3. 2');38 define('CPUB_VERSION', '1.3.3'); 39 39 40 40 call_user_func(static function ($rootPath) { -
pantheon-content-publisher/tags/1.3.3/vendor/composer/installed.php
r3389974 r3390585 4 4 'pretty_version' => 'dev-release', 5 5 'version' => 'dev-release', 6 'reference' => ' 6594edbe20b95dffbf4e94603cc90a7d58565c49',6 'reference' => '7e572769dd4ef31cd82c0908a28c6ade07d97955', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 59 59 'pretty_version' => 'dev-release', 60 60 'version' => 'dev-release', 61 'reference' => ' 6594edbe20b95dffbf4e94603cc90a7d58565c49',61 'reference' => '7e572769dd4ef31cd82c0908a28c6ade07d97955', 62 62 'type' => 'wordpress-plugin', 63 63 'install_path' => __DIR__ . '/../../', -
pantheon-content-publisher/trunk/README.txt
r3389974 r3390585 4 4 Requires at least: 5.7 5 5 Tested up to: 6.8.1 6 Stable tag: 1.3. 26 Stable tag: 1.3.3 7 7 Requires PHP: 8.0.0 8 8 License: GPLv2 or later … … 62 62 63 63 == Changelog == 64 65 = 1.3.3 (5 November 2025) = 66 * Fix: Fixed plugin not loading on WordPress.org due to missing build files 64 67 65 68 = 1.3.2 = -
pantheon-content-publisher/trunk/app/Admin.php
r3389815 r3390585 91 91 private function enqueueProdAssets(string $handle): void 92 92 { 93 $manifestPath = CPUB_PLUGIN_DIR . ' dist/build/.vite/manifest.json';93 $manifestPath = CPUB_PLUGIN_DIR . 'assets/dist/build/.vite/manifest.json'; 94 94 if (!file_exists($manifestPath)) { 95 95 error_log('Manifest file not found'); … … 106 106 $cssFiles = $entry['css'] ?? []; 107 107 if ($jsFile) { 108 wp_enqueue_script_module($handle, CPUB_PLUGIN_DIR_URL . ' dist/build/' . $jsFile, [], null, true);108 wp_enqueue_script_module($handle, CPUB_PLUGIN_DIR_URL . 'assets/dist/build/' . $jsFile, [], null, true); 109 109 $this->addBootstrap(); 110 110 } 111 111 foreach ($cssFiles as $css) { 112 wp_enqueue_style($handle, CPUB_PLUGIN_DIR_URL . ' dist/build/' . $css, [], null);112 wp_enqueue_style($handle, CPUB_PLUGIN_DIR_URL . 'assets/dist/build/' . $css, [], null); 113 113 } 114 114 } -
pantheon-content-publisher/trunk/app/Settings.php
r3389815 r3390585 708 708 wp_enqueue_script( 709 709 'pantheon-content-publisher', 710 CPUB_PLUGIN_DIR_URL . ' dist/app.js',710 CPUB_PLUGIN_DIR_URL . 'assets/dist/app.js', 711 711 [], 712 filemtime(CPUB_PLUGIN_DIR . ' dist/app.js'),712 filemtime(CPUB_PLUGIN_DIR . 'assets/dist/app.js'), 713 713 true 714 714 ); … … 716 716 wp_enqueue_style( 717 717 'pantheon-content-publisher', 718 CPUB_PLUGIN_DIR_URL . ' dist/app.css',718 CPUB_PLUGIN_DIR_URL . 'assets/dist/app.css', 719 719 [], 720 filemtime(CPUB_PLUGIN_DIR . ' dist/app.css')720 filemtime(CPUB_PLUGIN_DIR . 'assets/dist/app.css') 721 721 ); 722 722 … … 750 750 wp_enqueue_script( 751 751 'pantheon-content-publisher', 752 CPUB_PLUGIN_DIR_URL . ' dist/pcc-front.js',752 CPUB_PLUGIN_DIR_URL . 'assets/dist/pcc-front.js', 753 753 [], 754 filemtime(CPUB_PLUGIN_DIR . ' dist/pcc-front.js'),754 filemtime(CPUB_PLUGIN_DIR . 'assets/dist/pcc-front.js'), 755 755 true 756 756 ); -
pantheon-content-publisher/trunk/pantheon-content-publisher.php
r3389974 r3390585 6 6 * Plugin Name: Pantheon Content Publisher 7 7 * Description: Publish WordPress content from Google Docs with Pantheon Content Cloud. 8 * Plugin URI: https:// github.com/pantheon-systems/pantheon-content-publisher-wordpress/8 * Plugin URI: https://wordpress.org/plugins/pantheon-content-publisher/ 9 9 * Author: Pantheon 10 10 * Author URI: https://pantheon.io 11 * Version: 1.3. 211 * Version: 1.3.3 12 12 * License: GPLv2 or later 13 13 * License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 36 36 define('CPUB_WEBHOOK_SECRET_OPTION_KEY', 'cpub_webhook_secret'); 37 37 define('CPUB_WEBHOOK_NOTICE_DISMISSED_OPTION_KEY', 'cpub_webhook_notice_dismissed'); 38 define('CPUB_VERSION', '1.3. 2');38 define('CPUB_VERSION', '1.3.3'); 39 39 40 40 call_user_func(static function ($rootPath) { -
pantheon-content-publisher/trunk/vendor/composer/installed.php
r3389974 r3390585 4 4 'pretty_version' => 'dev-release', 5 5 'version' => 'dev-release', 6 'reference' => ' 6594edbe20b95dffbf4e94603cc90a7d58565c49',6 'reference' => '7e572769dd4ef31cd82c0908a28c6ade07d97955', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 59 59 'pretty_version' => 'dev-release', 60 60 'version' => 'dev-release', 61 'reference' => ' 6594edbe20b95dffbf4e94603cc90a7d58565c49',61 'reference' => '7e572769dd4ef31cd82c0908a28c6ade07d97955', 62 62 'type' => 'wordpress-plugin', 63 63 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.