Plugin Directory

Changeset 3389884


Ignore:
Timestamp:
11/04/2025 06:22:52 PM (4 months ago)
Author:
evcode
Message:

Update to version 1.3.5 from GitHub

Location:
myd-delivery
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • myd-delivery/tags/1.3.5/README.txt

    r3389318 r3389884  
    55Requires at least: 5.5
    66Tested up to: 6.8
    7 Stable tag: 1.3.4
     7Stable tag: 1.3.5
    88Requires PHP: 7.4
    99License: GPL-3.0+
     
    7676== Changelog ==
    7777
     78= 1.3.5 =
     79* Changed: code improvements.
     80
    7881= 1.3.4 =
    7982* Changed: code improvements.
  • myd-delivery/tags/1.3.5/includes/telemetry/class-telemetry-fallback.php

    r3389318 r3389884  
    1616     */
    1717    public static function ensure_defaults() {
    18         if ( \get_option( 'myddelivery_install_id', null ) === null ) {
     18        $install_id = \get_option( 'myddelivery_install_id', null );
     19        if ( empty( $install_id ) || ! \wp_is_uuid ( $install_id ) ) {
    1920            \update_option( 'myddelivery_install_id', \wp_generate_uuid4() );
    2021        }
    2122
    22         if ( \get_option( 'myddelivery_install_started_at', null ) === null ) {
     23        $install_started_at = \get_option( 'myddelivery_install_started_at', null );
     24        if ( empty( $install_started_at ) || ! is_string( $install_started_at ) ) {
    2325            \update_option( 'myddelivery_install_started_at', \gmdate( 'Y-m-d\TH:i:s\Z' ) );
    2426        }
    2527
    26         if ( \get_option( 'myddelivery_first_plugin_version', null ) === null ) {
     28        $first_plugin_version = \get_option( 'myddelivery_first_plugin_version', null );
     29        if ( empty( $first_plugin_version ) || ! is_string( $first_plugin_version ) ) {
    2730            \update_option( 'myddelivery_first_plugin_version', defined( 'MYDDELIVERY_VERSION' ) ? MYDDELIVERY_VERSION : 'unknown' );
    2831        }
  • myd-delivery/tags/1.3.5/myd-delivery.php

    r3389318 r3389884  
    66 * Author: EduardoVillao.me
    77 * Author URI: https://eduardovillao.me/
    8  * Version: 1.3.4
     8 * Version: 1.3.5
    99 * Requires PHP: 7.4
    1010 * Requires at least: 5.5
     
    2626define( 'MYDDELIVERY_BASENAME', plugin_basename( __FILE__ ) );
    2727define( 'MYDDELIVERY_DIRNAME', plugin_basename( __DIR__ ) );
    28 define( 'MYDDELIVERY_VERSION', '1.3.4' );
     28define( 'MYDDELIVERY_VERSION', '1.3.5' );
    2929define( 'MYDDELIVERY_MIN_PHP_VERSION', '7.4' );
    3030define( 'MYDDELIVERY_MIN_WP_VERSION', '5.5' );
  • myd-delivery/trunk/README.txt

    r3389318 r3389884  
    55Requires at least: 5.5
    66Tested up to: 6.8
    7 Stable tag: 1.3.4
     7Stable tag: 1.3.5
    88Requires PHP: 7.4
    99License: GPL-3.0+
     
    7676== Changelog ==
    7777
     78= 1.3.5 =
     79* Changed: code improvements.
     80
    7881= 1.3.4 =
    7982* Changed: code improvements.
  • myd-delivery/trunk/includes/telemetry/class-telemetry-fallback.php

    r3389318 r3389884  
    1616     */
    1717    public static function ensure_defaults() {
    18         if ( \get_option( 'myddelivery_install_id', null ) === null ) {
     18        $install_id = \get_option( 'myddelivery_install_id', null );
     19        if ( empty( $install_id ) || ! \wp_is_uuid ( $install_id ) ) {
    1920            \update_option( 'myddelivery_install_id', \wp_generate_uuid4() );
    2021        }
    2122
    22         if ( \get_option( 'myddelivery_install_started_at', null ) === null ) {
     23        $install_started_at = \get_option( 'myddelivery_install_started_at', null );
     24        if ( empty( $install_started_at ) || ! is_string( $install_started_at ) ) {
    2325            \update_option( 'myddelivery_install_started_at', \gmdate( 'Y-m-d\TH:i:s\Z' ) );
    2426        }
    2527
    26         if ( \get_option( 'myddelivery_first_plugin_version', null ) === null ) {
     28        $first_plugin_version = \get_option( 'myddelivery_first_plugin_version', null );
     29        if ( empty( $first_plugin_version ) || ! is_string( $first_plugin_version ) ) {
    2730            \update_option( 'myddelivery_first_plugin_version', defined( 'MYDDELIVERY_VERSION' ) ? MYDDELIVERY_VERSION : 'unknown' );
    2831        }
  • myd-delivery/trunk/myd-delivery.php

    r3389318 r3389884  
    66 * Author: EduardoVillao.me
    77 * Author URI: https://eduardovillao.me/
    8  * Version: 1.3.4
     8 * Version: 1.3.5
    99 * Requires PHP: 7.4
    1010 * Requires at least: 5.5
     
    2626define( 'MYDDELIVERY_BASENAME', plugin_basename( __FILE__ ) );
    2727define( 'MYDDELIVERY_DIRNAME', plugin_basename( __DIR__ ) );
    28 define( 'MYDDELIVERY_VERSION', '1.3.4' );
     28define( 'MYDDELIVERY_VERSION', '1.3.5' );
    2929define( 'MYDDELIVERY_MIN_PHP_VERSION', '7.4' );
    3030define( 'MYDDELIVERY_MIN_WP_VERSION', '5.5' );
Note: See TracChangeset for help on using the changeset viewer.