Plugin Directory

Changeset 3390585


Ignore:
Timestamp:
11/05/2025 04:20:38 PM (5 months ago)
Author:
getpantheon
Message:

Update to version 1.3.3 from GitHub

Location:
pantheon-content-publisher
Files:
24 added
12 deleted
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pantheon-content-publisher/tags/1.3.3/README.txt

    r3389974 r3390585  
    44Requires at least: 5.7
    55Tested up to: 6.8.1
    6 Stable tag: 1.3.2
     6Stable tag: 1.3.3
    77Requires PHP: 8.0.0
    88License: GPLv2 or later
     
    6262
    6363== Changelog ==
     64
     65= 1.3.3 (5 November 2025) =
     66* Fix: Fixed plugin not loading on WordPress.org due to missing build files
    6467
    6568= 1.3.2 =
  • pantheon-content-publisher/tags/1.3.3/app/Admin.php

    r3389815 r3390585  
    9191    private function enqueueProdAssets(string $handle): void
    9292    {
    93         $manifestPath = CPUB_PLUGIN_DIR . 'dist/build/.vite/manifest.json';
     93        $manifestPath = CPUB_PLUGIN_DIR . 'assets/dist/build/.vite/manifest.json';
    9494        if (!file_exists($manifestPath)) {
    9595            error_log('Manifest file not found');
     
    106106        $cssFiles = $entry['css'] ?? [];
    107107        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);
    109109            $this->addBootstrap();
    110110        }
    111111        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);
    113113        }
    114114    }
  • pantheon-content-publisher/tags/1.3.3/app/Settings.php

    r3389815 r3390585  
    708708        wp_enqueue_script(
    709709            'pantheon-content-publisher',
    710             CPUB_PLUGIN_DIR_URL . 'dist/app.js',
     710            CPUB_PLUGIN_DIR_URL . 'assets/dist/app.js',
    711711            [],
    712             filemtime(CPUB_PLUGIN_DIR . 'dist/app.js'),
     712            filemtime(CPUB_PLUGIN_DIR . 'assets/dist/app.js'),
    713713            true
    714714        );
     
    716716        wp_enqueue_style(
    717717            'pantheon-content-publisher',
    718             CPUB_PLUGIN_DIR_URL . 'dist/app.css',
     718            CPUB_PLUGIN_DIR_URL . 'assets/dist/app.css',
    719719            [],
    720             filemtime(CPUB_PLUGIN_DIR . 'dist/app.css')
     720            filemtime(CPUB_PLUGIN_DIR . 'assets/dist/app.css')
    721721        );
    722722
     
    750750        wp_enqueue_script(
    751751            'pantheon-content-publisher',
    752             CPUB_PLUGIN_DIR_URL . 'dist/pcc-front.js',
     752            CPUB_PLUGIN_DIR_URL . 'assets/dist/pcc-front.js',
    753753            [],
    754             filemtime(CPUB_PLUGIN_DIR . 'dist/pcc-front.js'),
     754            filemtime(CPUB_PLUGIN_DIR . 'assets/dist/pcc-front.js'),
    755755            true
    756756        );
  • pantheon-content-publisher/tags/1.3.3/pantheon-content-publisher.php

    r3389974 r3390585  
    66 * Plugin Name: Pantheon Content Publisher
    77 * 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/
    99 * Author: Pantheon
    1010 * Author URI: https://pantheon.io
    11  * Version: 1.3.2
     11 * Version: 1.3.3
    1212 * License: GPLv2 or later
    1313 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636define('CPUB_WEBHOOK_SECRET_OPTION_KEY', 'cpub_webhook_secret');
    3737define('CPUB_WEBHOOK_NOTICE_DISMISSED_OPTION_KEY', 'cpub_webhook_notice_dismissed');
    38 define('CPUB_VERSION', '1.3.2');
     38define('CPUB_VERSION', '1.3.3');
    3939
    4040call_user_func(static function ($rootPath) {
  • pantheon-content-publisher/tags/1.3.3/vendor/composer/installed.php

    r3389974 r3390585  
    44        'pretty_version' => 'dev-release',
    55        'version' => 'dev-release',
    6         'reference' => '6594edbe20b95dffbf4e94603cc90a7d58565c49',
     6        'reference' => '7e572769dd4ef31cd82c0908a28c6ade07d97955',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    5959            'pretty_version' => 'dev-release',
    6060            'version' => 'dev-release',
    61             'reference' => '6594edbe20b95dffbf4e94603cc90a7d58565c49',
     61            'reference' => '7e572769dd4ef31cd82c0908a28c6ade07d97955',
    6262            'type' => 'wordpress-plugin',
    6363            'install_path' => __DIR__ . '/../../',
  • pantheon-content-publisher/trunk/README.txt

    r3389974 r3390585  
    44Requires at least: 5.7
    55Tested up to: 6.8.1
    6 Stable tag: 1.3.2
     6Stable tag: 1.3.3
    77Requires PHP: 8.0.0
    88License: GPLv2 or later
     
    6262
    6363== Changelog ==
     64
     65= 1.3.3 (5 November 2025) =
     66* Fix: Fixed plugin not loading on WordPress.org due to missing build files
    6467
    6568= 1.3.2 =
  • pantheon-content-publisher/trunk/app/Admin.php

    r3389815 r3390585  
    9191    private function enqueueProdAssets(string $handle): void
    9292    {
    93         $manifestPath = CPUB_PLUGIN_DIR . 'dist/build/.vite/manifest.json';
     93        $manifestPath = CPUB_PLUGIN_DIR . 'assets/dist/build/.vite/manifest.json';
    9494        if (!file_exists($manifestPath)) {
    9595            error_log('Manifest file not found');
     
    106106        $cssFiles = $entry['css'] ?? [];
    107107        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);
    109109            $this->addBootstrap();
    110110        }
    111111        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);
    113113        }
    114114    }
  • pantheon-content-publisher/trunk/app/Settings.php

    r3389815 r3390585  
    708708        wp_enqueue_script(
    709709            'pantheon-content-publisher',
    710             CPUB_PLUGIN_DIR_URL . 'dist/app.js',
     710            CPUB_PLUGIN_DIR_URL . 'assets/dist/app.js',
    711711            [],
    712             filemtime(CPUB_PLUGIN_DIR . 'dist/app.js'),
     712            filemtime(CPUB_PLUGIN_DIR . 'assets/dist/app.js'),
    713713            true
    714714        );
     
    716716        wp_enqueue_style(
    717717            'pantheon-content-publisher',
    718             CPUB_PLUGIN_DIR_URL . 'dist/app.css',
     718            CPUB_PLUGIN_DIR_URL . 'assets/dist/app.css',
    719719            [],
    720             filemtime(CPUB_PLUGIN_DIR . 'dist/app.css')
     720            filemtime(CPUB_PLUGIN_DIR . 'assets/dist/app.css')
    721721        );
    722722
     
    750750        wp_enqueue_script(
    751751            'pantheon-content-publisher',
    752             CPUB_PLUGIN_DIR_URL . 'dist/pcc-front.js',
     752            CPUB_PLUGIN_DIR_URL . 'assets/dist/pcc-front.js',
    753753            [],
    754             filemtime(CPUB_PLUGIN_DIR . 'dist/pcc-front.js'),
     754            filemtime(CPUB_PLUGIN_DIR . 'assets/dist/pcc-front.js'),
    755755            true
    756756        );
  • pantheon-content-publisher/trunk/pantheon-content-publisher.php

    r3389974 r3390585  
    66 * Plugin Name: Pantheon Content Publisher
    77 * 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/
    99 * Author: Pantheon
    1010 * Author URI: https://pantheon.io
    11  * Version: 1.3.2
     11 * Version: 1.3.3
    1212 * License: GPLv2 or later
    1313 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636define('CPUB_WEBHOOK_SECRET_OPTION_KEY', 'cpub_webhook_secret');
    3737define('CPUB_WEBHOOK_NOTICE_DISMISSED_OPTION_KEY', 'cpub_webhook_notice_dismissed');
    38 define('CPUB_VERSION', '1.3.2');
     38define('CPUB_VERSION', '1.3.3');
    3939
    4040call_user_func(static function ($rootPath) {
  • pantheon-content-publisher/trunk/vendor/composer/installed.php

    r3389974 r3390585  
    44        'pretty_version' => 'dev-release',
    55        'version' => 'dev-release',
    6         'reference' => '6594edbe20b95dffbf4e94603cc90a7d58565c49',
     6        'reference' => '7e572769dd4ef31cd82c0908a28c6ade07d97955',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    5959            'pretty_version' => 'dev-release',
    6060            'version' => 'dev-release',
    61             'reference' => '6594edbe20b95dffbf4e94603cc90a7d58565c49',
     61            'reference' => '7e572769dd4ef31cd82c0908a28c6ade07d97955',
    6262            'type' => 'wordpress-plugin',
    6363            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.