Plugin Directory

Changeset 3015023


Ignore:
Timestamp:
12/28/2023 09:58:21 AM (2 years ago)
Author:
flywp
Message:

Update to version 0.4.2 from GitHub

Location:
flywp
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • flywp/tags/0.4.2/flywp.php

    r3014205 r3015023  
    44 * Plugin URI: https://flywp.com
    55 * Description: Helper plugin for FlyWP
    6  * Version: 0.4.1
     6 * Version: 0.4.2
    77 * Author: FlyWP
    88 * Author URI: https://flywp.com/?utm_source=wporg&utm_medium=banner&utm_campaign=author-uri
     
    4242     * @var string
    4343     */
    44     public $version = '0.4.1';
     44    public $version = '0.4.2';
    4545
    4646    /**
  • flywp/tags/0.4.2/includes/Api/Plugins.php

    r3014203 r3015023  
    2727        if ( ! function_exists( 'get_plugin_updates' ) ) {
    2828            require_once ABSPATH . 'wp-admin/includes/update.php';
     29        }
     30
     31        // Update the update cache if requested.
     32        if ( isset( $args['force'] ) && $args['force'] === 'true' ) {
     33            wp_update_plugins();
    2934        }
    3035
  • flywp/tags/0.4.2/includes/Api/Themes.php

    r3014203 r3015023  
    1919    public function respond( $args ) {
    2020        $response = [];
     21
     22        // Update the update cache if requested.
     23        if ( isset( $args['force'] ) && $args['force'] === 'true' ) {
     24            wp_update_themes();
     25        }
    2126
    2227        $themes  = wp_get_themes();
  • flywp/tags/0.4.2/includes/Api/Updates.php

    r3014203 r3015023  
    6060
    6161        wp_send_json_success( [
    62             'message' => 'Updated successfully.',
     62            'message' => 'Plugins updated successfully.',
    6363        ] );
    6464    }
     
    7171     * @return void
    7272     */
    73     public function update_theme( $args ) {
     73    public function update_themes( $args ) {
    7474        if ( ! isset( $args['themes'] ) || ! is_array( $args['themes'] ) ) {
    7575            wp_send_json_error( 'Missing theme name(s)' );
     
    8787
    8888        wp_send_json_success( [
    89             'message' => 'Updated successfully.',
     89            'message' => 'Themes updated successfully.',
    9090        ] );
    9191    }
     
    132132
    133133        wp_send_json_success( [
    134             'message' => 'Updated successfully.',
     134            'message' => 'WordPress core updated successfully.',
    135135        ] );
    136136    }
  • flywp/tags/0.4.2/languages/flywp.pot

    r3014205 r3015023  
    22msgid ""
    33msgstr ""
    4 "Project-Id-Version: FlyWP 0.4.1\n"
     4"Project-Id-Version: FlyWP 0.4.2\n"
    55"Report-Msgid-Bugs-To: https://github.com/flywp/flywp-helper/issues\n"
    66"Last-Translator: [email protected]\n"
     
    99"Content-Type: text/plain; charset=UTF-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "POT-Creation-Date: 2023-12-26T06:07:48+00:00\n"
     11"POT-Creation-Date: 2023-12-28T09:57:15+00:00\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"X-Generator: WP-CLI 2.9.0\n"
  • flywp/tags/0.4.2/readme.txt

    r3014205 r3015023  
    55Tested up to: 6.4
    66Requires PHP: 7.4
    7 Stable tag: 0.4.1
     7Stable tag: 0.4.2
    88Requires PHP: 7.1 or higher
    99License: GPLv2 or later
     
    5454
    5555== Changelog ==
     56
     57= v0.4.2 (28 December, 2023) =
     58
     59 * **Fix:** Theme REST API had a typo, hence was not working.
     60 * **Improved:** Added a parameter to forcefully update the theme and plugin list to have the latest changes.
    5661
    5762= v0.4.1 (26 December, 2023) =
  • flywp/tags/0.4.2/vendor/composer/installed.php

    r3014205 r3015023  
    22    'root' => array(
    33        'name' => 'flywp/flywp',
    4         'pretty_version' => '0.4.1',
    5         'version' => '0.4.1.0',
     4        'pretty_version' => '0.4.2',
     5        'version' => '0.4.2.0',
    66        'reference' => NULL,
    77        'type' => 'wordpress-plugin',
     
    1212    'versions' => array(
    1313        'flywp/flywp' => array(
    14             'pretty_version' => '0.4.1',
    15             'version' => '0.4.1.0',
     14            'pretty_version' => '0.4.2',
     15            'version' => '0.4.2.0',
    1616            'reference' => NULL,
    1717            'type' => 'wordpress-plugin',
  • flywp/trunk/flywp.php

    r3014205 r3015023  
    44 * Plugin URI: https://flywp.com
    55 * Description: Helper plugin for FlyWP
    6  * Version: 0.4.1
     6 * Version: 0.4.2
    77 * Author: FlyWP
    88 * Author URI: https://flywp.com/?utm_source=wporg&utm_medium=banner&utm_campaign=author-uri
     
    4242     * @var string
    4343     */
    44     public $version = '0.4.1';
     44    public $version = '0.4.2';
    4545
    4646    /**
  • flywp/trunk/includes/Api/Plugins.php

    r3014203 r3015023  
    2727        if ( ! function_exists( 'get_plugin_updates' ) ) {
    2828            require_once ABSPATH . 'wp-admin/includes/update.php';
     29        }
     30
     31        // Update the update cache if requested.
     32        if ( isset( $args['force'] ) && $args['force'] === 'true' ) {
     33            wp_update_plugins();
    2934        }
    3035
  • flywp/trunk/includes/Api/Themes.php

    r3014203 r3015023  
    1919    public function respond( $args ) {
    2020        $response = [];
     21
     22        // Update the update cache if requested.
     23        if ( isset( $args['force'] ) && $args['force'] === 'true' ) {
     24            wp_update_themes();
     25        }
    2126
    2227        $themes  = wp_get_themes();
  • flywp/trunk/includes/Api/Updates.php

    r3014203 r3015023  
    6060
    6161        wp_send_json_success( [
    62             'message' => 'Updated successfully.',
     62            'message' => 'Plugins updated successfully.',
    6363        ] );
    6464    }
     
    7171     * @return void
    7272     */
    73     public function update_theme( $args ) {
     73    public function update_themes( $args ) {
    7474        if ( ! isset( $args['themes'] ) || ! is_array( $args['themes'] ) ) {
    7575            wp_send_json_error( 'Missing theme name(s)' );
     
    8787
    8888        wp_send_json_success( [
    89             'message' => 'Updated successfully.',
     89            'message' => 'Themes updated successfully.',
    9090        ] );
    9191    }
     
    132132
    133133        wp_send_json_success( [
    134             'message' => 'Updated successfully.',
     134            'message' => 'WordPress core updated successfully.',
    135135        ] );
    136136    }
  • flywp/trunk/languages/flywp.pot

    r3014205 r3015023  
    22msgid ""
    33msgstr ""
    4 "Project-Id-Version: FlyWP 0.4.1\n"
     4"Project-Id-Version: FlyWP 0.4.2\n"
    55"Report-Msgid-Bugs-To: https://github.com/flywp/flywp-helper/issues\n"
    66"Last-Translator: [email protected]\n"
     
    99"Content-Type: text/plain; charset=UTF-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "POT-Creation-Date: 2023-12-26T06:07:48+00:00\n"
     11"POT-Creation-Date: 2023-12-28T09:57:15+00:00\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"X-Generator: WP-CLI 2.9.0\n"
  • flywp/trunk/readme.txt

    r3014205 r3015023  
    55Tested up to: 6.4
    66Requires PHP: 7.4
    7 Stable tag: 0.4.1
     7Stable tag: 0.4.2
    88Requires PHP: 7.1 or higher
    99License: GPLv2 or later
     
    5454
    5555== Changelog ==
     56
     57= v0.4.2 (28 December, 2023) =
     58
     59 * **Fix:** Theme REST API had a typo, hence was not working.
     60 * **Improved:** Added a parameter to forcefully update the theme and plugin list to have the latest changes.
    5661
    5762= v0.4.1 (26 December, 2023) =
  • flywp/trunk/vendor/composer/installed.php

    r3014205 r3015023  
    22    'root' => array(
    33        'name' => 'flywp/flywp',
    4         'pretty_version' => '0.4.1',
    5         'version' => '0.4.1.0',
     4        'pretty_version' => '0.4.2',
     5        'version' => '0.4.2.0',
    66        'reference' => NULL,
    77        'type' => 'wordpress-plugin',
     
    1212    'versions' => array(
    1313        'flywp/flywp' => array(
    14             'pretty_version' => '0.4.1',
    15             'version' => '0.4.1.0',
     14            'pretty_version' => '0.4.2',
     15            'version' => '0.4.2.0',
    1616            'reference' => NULL,
    1717            'type' => 'wordpress-plugin',
Note: See TracChangeset for help on using the changeset viewer.