Plugin Directory

Changeset 2719537


Ignore:
Timestamp:
05/06/2022 05:10:31 PM (4 years ago)
Author:
avify
Message:

Update to version 1.0.1 from GitHub

Location:
avify
Files:
50 added
28 deleted
20 edited
1 copied

Legend:

Unmodified
Added
Removed
  • avify/tags/1.0.1/.git/FETCH_HEAD

    r2717763 r2719537  
    1 270a340bfd0e5f2e122b480c069f893950b6a08c        '270a340bfd0e5f2e122b480c069f893950b6a08c' of https://github.com/avify-com/avify-wordpress-plugin
     1660b057b9b606fa60e75971fbb1595bd22755a9e        '660b057b9b606fa60e75971fbb1595bd22755a9e' of https://github.com/avify-com/avify-wordpress-plugin
  • avify/tags/1.0.1/.git/HEAD

    r2717763 r2719537  
    1 270a340bfd0e5f2e122b480c069f893950b6a08c
     1660b057b9b606fa60e75971fbb1595bd22755a9e
  • avify/tags/1.0.1/.git/config

    r2717763 r2719537  
    1010    auto = 0
    1111[http "https://github.com/"]
    12     extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX3RYemhBNExoWkZPemxyWFU3bFNEbG5IempPQWh4TTJYQ3pPaQ==
     12    extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX0llS2VvOE9Va3hjaGRYS3h2TU52VXMyZUZzMkd2aDNDR01QYg==
  • avify/tags/1.0.1/.git/logs/HEAD

    r2717763 r2719537  
    1 0000000000000000000000000000000000000000 270a340bfd0e5f2e122b480c069f893950b6a08c runner <runner@fv-az224-788.bi4zmy1qo3tuniz3adueuvvcza.cx.internal.cloudapp.net> 1651610939 +0000 checkout: moving from master to refs/tags/1.0.0
     10000000000000000000000000000000000000000 660b057b9b606fa60e75971fbb1595bd22755a9e runner <runner@fv-az198-826.gjkxsqtjg41etoza45cw35jkyb.bx.internal.cloudapp.net> 1651857000 +0000 checkout: moving from master to refs/tags/1.0.1
  • avify/tags/1.0.1/.git/shallow

    r2717763 r2719537  
    1 270a340bfd0e5f2e122b480c069f893950b6a08c
     1660b057b9b606fa60e75971fbb1595bd22755a9e
  • avify/tags/1.0.1/composer.lock

    r2717763 r2719537  
    99        {
    1010            "name": "avify/avify-php-client",
    11             "version": "1.0.1",
     11            "version": "1.0.2",
    1212            "source": {
    1313                "type": "git",
    1414                "url": "https://github.com/avify-com/avify-php-client.git",
    15                 "reference": "3b8235d17de431cd3d885b2e7545db453379a04e"
     15                "reference": "1cb6e1de7b46f90472616a026a3904dbe845abfd"
    1616            },
    1717            "dist": {
    1818                "type": "zip",
    19                 "url": "https://api.github.com/repos/avify-com/avify-php-client/zipball/3b8235d17de431cd3d885b2e7545db453379a04e",
    20                 "reference": "3b8235d17de431cd3d885b2e7545db453379a04e",
     19                "url": "https://api.github.com/repos/avify-com/avify-php-client/zipball/1cb6e1de7b46f90472616a026a3904dbe845abfd",
     20                "reference": "1cb6e1de7b46f90472616a026a3904dbe845abfd",
    2121                "shasum": ""
    2222            },
     
    4343            "support": {
    4444                "issues": "https://github.com/avify-com/avify-php-client/issues",
    45                 "source": "https://github.com/avify-com/avify-php-client/tree/1.0.1"
     45                "source": "https://github.com/avify-com/avify-php-client/tree/1.0.2"
    4646            },
    47             "time": "2022-02-24T00:35:26+00:00"
     47            "time": "2022-05-06T16:47:40+00:00"
    4848        }
    4949    ],
  • avify/tags/1.0.1/vendor/avify/avify-php-client/src/Avify.php

    r2717763 r2719537  
    6060    public function set_locale(string $locale) {
    6161        $available_locales = array('en', 'es');
    62         $locale_primary_language = locale_get_primary_language($locale);
     62        $default_locale = 'es';
    6363
    64         if (isset($locale_primary_language) && in_array($locale_primary_language, $available_locales)) {
    65             $this->locale = $locale_primary_language;
     64        if (function_exists('locale_get_primary_language')) {
     65            $locale_language = locale_get_primary_language($locale);
     66            if (isset($locale_language) && in_array($locale_language, $available_locales)) {
     67                $this->locale = $locale_language;
     68            } else {
     69                $this->locale = $default_locale;
     70            }
     71        } else {
     72            $this->locale = $default_locale;
    6673        }
    6774    }
  • avify/tags/1.0.1/vendor/composer/installed.json

    r2717763 r2719537  
    33        {
    44            "name": "avify/avify-php-client",
    5             "version": "1.0.1",
    6             "version_normalized": "1.0.1.0",
     5            "version": "1.0.2",
     6            "version_normalized": "1.0.2.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/avify-com/avify-php-client.git",
    10                 "reference": "3b8235d17de431cd3d885b2e7545db453379a04e"
     10                "reference": "1cb6e1de7b46f90472616a026a3904dbe845abfd"
    1111            },
    1212            "dist": {
    1313                "type": "zip",
    14                 "url": "https://api.github.com/repos/avify-com/avify-php-client/zipball/3b8235d17de431cd3d885b2e7545db453379a04e",
    15                 "reference": "3b8235d17de431cd3d885b2e7545db453379a04e",
     14                "url": "https://api.github.com/repos/avify-com/avify-php-client/zipball/1cb6e1de7b46f90472616a026a3904dbe845abfd",
     15                "reference": "1cb6e1de7b46f90472616a026a3904dbe845abfd",
    1616                "shasum": ""
    1717            },
     
    1919                "php": ">=5.6.0"
    2020            },
    21             "time": "2022-02-24T00:35:26+00:00",
     21            "time": "2022-05-06T16:47:40+00:00",
    2222            "type": "library",
    2323            "installation-source": "dist",
     
    4040            "support": {
    4141                "issues": "https://github.com/avify-com/avify-php-client/issues",
    42                 "source": "https://github.com/avify-com/avify-php-client/tree/1.0.1"
     42                "source": "https://github.com/avify-com/avify-php-client/tree/1.0.2"
    4343            },
    4444            "install-path": "../avify/avify-php-client"
  • avify/tags/1.0.1/vendor/composer/installed.php

    r2717763 r2719537  
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => 'b447834b4c8955d75711fc609c04039fb88bf93a',
     8        'reference' => '270a340bfd0e5f2e122b480c069f893950b6a08c',
    99        'name' => 'avify/avify-payments',
    1010        'dev' => true,
     
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => 'b447834b4c8955d75711fc609c04039fb88bf93a',
     19            'reference' => '270a340bfd0e5f2e122b480c069f893950b6a08c',
    2020            'dev_requirement' => false,
    2121        ),
    2222        'avify/avify-php-client' => array(
    23             'pretty_version' => '1.0.1',
    24             'version' => '1.0.1.0',
     23            'pretty_version' => '1.0.2',
     24            'version' => '1.0.2.0',
    2525            'type' => 'library',
    2626            'install_path' => __DIR__ . '/../avify/avify-php-client',
    2727            'aliases' => array(),
    28             'reference' => '3b8235d17de431cd3d885b2e7545db453379a04e',
     28            'reference' => '1cb6e1de7b46f90472616a026a3904dbe845abfd',
    2929            'dev_requirement' => false,
    3030        ),
  • avify/trunk/.git/FETCH_HEAD

    r2717763 r2719537  
    1 270a340bfd0e5f2e122b480c069f893950b6a08c        '270a340bfd0e5f2e122b480c069f893950b6a08c' of https://github.com/avify-com/avify-wordpress-plugin
     1660b057b9b606fa60e75971fbb1595bd22755a9e        '660b057b9b606fa60e75971fbb1595bd22755a9e' of https://github.com/avify-com/avify-wordpress-plugin
  • avify/trunk/.git/HEAD

    r2717763 r2719537  
    1 270a340bfd0e5f2e122b480c069f893950b6a08c
     1660b057b9b606fa60e75971fbb1595bd22755a9e
  • avify/trunk/.git/config

    r2717763 r2719537  
    1010    auto = 0
    1111[http "https://github.com/"]
    12     extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX3RYemhBNExoWkZPemxyWFU3bFNEbG5IempPQWh4TTJYQ3pPaQ==
     12    extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX0llS2VvOE9Va3hjaGRYS3h2TU52VXMyZUZzMkd2aDNDR01QYg==
  • avify/trunk/.git/logs/HEAD

    r2717763 r2719537  
    1 0000000000000000000000000000000000000000 270a340bfd0e5f2e122b480c069f893950b6a08c runner <runner@fv-az224-788.bi4zmy1qo3tuniz3adueuvvcza.cx.internal.cloudapp.net> 1651610939 +0000 checkout: moving from master to refs/tags/1.0.0
     10000000000000000000000000000000000000000 660b057b9b606fa60e75971fbb1595bd22755a9e runner <runner@fv-az198-826.gjkxsqtjg41etoza45cw35jkyb.bx.internal.cloudapp.net> 1651857000 +0000 checkout: moving from master to refs/tags/1.0.1
  • avify/trunk/.git/shallow

    r2717763 r2719537  
    1 270a340bfd0e5f2e122b480c069f893950b6a08c
     1660b057b9b606fa60e75971fbb1595bd22755a9e
  • avify/trunk/composer.lock

    r2717763 r2719537  
    99        {
    1010            "name": "avify/avify-php-client",
    11             "version": "1.0.1",
     11            "version": "1.0.2",
    1212            "source": {
    1313                "type": "git",
    1414                "url": "https://github.com/avify-com/avify-php-client.git",
    15                 "reference": "3b8235d17de431cd3d885b2e7545db453379a04e"
     15                "reference": "1cb6e1de7b46f90472616a026a3904dbe845abfd"
    1616            },
    1717            "dist": {
    1818                "type": "zip",
    19                 "url": "https://api.github.com/repos/avify-com/avify-php-client/zipball/3b8235d17de431cd3d885b2e7545db453379a04e",
    20                 "reference": "3b8235d17de431cd3d885b2e7545db453379a04e",
     19                "url": "https://api.github.com/repos/avify-com/avify-php-client/zipball/1cb6e1de7b46f90472616a026a3904dbe845abfd",
     20                "reference": "1cb6e1de7b46f90472616a026a3904dbe845abfd",
    2121                "shasum": ""
    2222            },
     
    4343            "support": {
    4444                "issues": "https://github.com/avify-com/avify-php-client/issues",
    45                 "source": "https://github.com/avify-com/avify-php-client/tree/1.0.1"
     45                "source": "https://github.com/avify-com/avify-php-client/tree/1.0.2"
    4646            },
    47             "time": "2022-02-24T00:35:26+00:00"
     47            "time": "2022-05-06T16:47:40+00:00"
    4848        }
    4949    ],
  • avify/trunk/vendor/avify/avify-php-client/src/Avify.php

    r2717763 r2719537  
    6060    public function set_locale(string $locale) {
    6161        $available_locales = array('en', 'es');
    62         $locale_primary_language = locale_get_primary_language($locale);
     62        $default_locale = 'es';
    6363
    64         if (isset($locale_primary_language) && in_array($locale_primary_language, $available_locales)) {
    65             $this->locale = $locale_primary_language;
     64        if (function_exists('locale_get_primary_language')) {
     65            $locale_language = locale_get_primary_language($locale);
     66            if (isset($locale_language) && in_array($locale_language, $available_locales)) {
     67                $this->locale = $locale_language;
     68            } else {
     69                $this->locale = $default_locale;
     70            }
     71        } else {
     72            $this->locale = $default_locale;
    6673        }
    6774    }
  • avify/trunk/vendor/composer/installed.json

    r2717763 r2719537  
    33        {
    44            "name": "avify/avify-php-client",
    5             "version": "1.0.1",
    6             "version_normalized": "1.0.1.0",
     5            "version": "1.0.2",
     6            "version_normalized": "1.0.2.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/avify-com/avify-php-client.git",
    10                 "reference": "3b8235d17de431cd3d885b2e7545db453379a04e"
     10                "reference": "1cb6e1de7b46f90472616a026a3904dbe845abfd"
    1111            },
    1212            "dist": {
    1313                "type": "zip",
    14                 "url": "https://api.github.com/repos/avify-com/avify-php-client/zipball/3b8235d17de431cd3d885b2e7545db453379a04e",
    15                 "reference": "3b8235d17de431cd3d885b2e7545db453379a04e",
     14                "url": "https://api.github.com/repos/avify-com/avify-php-client/zipball/1cb6e1de7b46f90472616a026a3904dbe845abfd",
     15                "reference": "1cb6e1de7b46f90472616a026a3904dbe845abfd",
    1616                "shasum": ""
    1717            },
     
    1919                "php": ">=5.6.0"
    2020            },
    21             "time": "2022-02-24T00:35:26+00:00",
     21            "time": "2022-05-06T16:47:40+00:00",
    2222            "type": "library",
    2323            "installation-source": "dist",
     
    4040            "support": {
    4141                "issues": "https://github.com/avify-com/avify-php-client/issues",
    42                 "source": "https://github.com/avify-com/avify-php-client/tree/1.0.1"
     42                "source": "https://github.com/avify-com/avify-php-client/tree/1.0.2"
    4343            },
    4444            "install-path": "../avify/avify-php-client"
  • avify/trunk/vendor/composer/installed.php

    r2717763 r2719537  
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => 'b447834b4c8955d75711fc609c04039fb88bf93a',
     8        'reference' => '270a340bfd0e5f2e122b480c069f893950b6a08c',
    99        'name' => 'avify/avify-payments',
    1010        'dev' => true,
     
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => 'b447834b4c8955d75711fc609c04039fb88bf93a',
     19            'reference' => '270a340bfd0e5f2e122b480c069f893950b6a08c',
    2020            'dev_requirement' => false,
    2121        ),
    2222        'avify/avify-php-client' => array(
    23             'pretty_version' => '1.0.1',
    24             'version' => '1.0.1.0',
     23            'pretty_version' => '1.0.2',
     24            'version' => '1.0.2.0',
    2525            'type' => 'library',
    2626            'install_path' => __DIR__ . '/../avify/avify-php-client',
    2727            'aliases' => array(),
    28             'reference' => '3b8235d17de431cd3d885b2e7545db453379a04e',
     28            'reference' => '1cb6e1de7b46f90472616a026a3904dbe845abfd',
    2929            'dev_requirement' => false,
    3030        ),
Note: See TracChangeset for help on using the changeset viewer.