Plugin Directory

Changeset 2768723


Ignore:
Timestamp:
08/10/2022 07:52:28 AM (4 years ago)
Author:
chahuang
Message:

Update to version 1.0.4 from GitHub

Location:
tencentcloud-vod
Files:
4 deleted
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • tencentcloud-vod/tags/1.0.4/TencentCloudVodActions.php

    r2552077 r2768723  
    11<?php
    22/*
    3  * Copyright (C) 2020 Tencent Cloud.
     3 * Copyright (C) 2021 Tencent Cloud.
    44 *
    55 * Licensed under the Apache License, Version 2.0 (the "License");
     
    237237            return 'SDKAppId 未填写.';
    238238        }
    239         if (empty($transcode)) {
    240             return '是否转码未填写.';
    241         }
    242239        return true;
    243240    }
  • tencentcloud-vod/tags/1.0.4/TencentCloudVodOptions.php

    r2552077 r2768723  
    11<?php
    22/*
    3  * Copyright (C) 2020 Tencent Cloud.
     3 * Copyright (C) 2021 Tencent Cloud.
    44 *
    55 * Licensed under the Apache License, Version 2.0 (the "License");
     
    5959
    6060    public function setTranscode($transcode) {
    61         if ( empty($transcode)) {
    62             wp_send_json_error(array('msg' => 'transcode不能为空'));
    63             // throw new \Exception('transcode不能为空');
     61        if ( !in_array($transcode, array(self::DO_NOT_TRANSCODE, self::HLS_TRANSCODE)) ) {
     62            wp_send_json_error(array('msg' => '开启自适应码流传参错误'));
    6463        }
    6564        $this->transcode = intval($transcode);
  • tencentcloud-vod/tags/1.0.4/TencentCloudVodSettingPage.php

    r2552077 r2768723  
    11<?php
    22/*
    3  * Copyright (C) 2020 Tencent Cloud.
     3 * Copyright (C) 2021 Tencent Cloud.
    44 *
    55 * Licensed under the Apache License, Version 2.0 (the "License");
  • tencentcloud-vod/tags/1.0.4/readme.txt

    r2552077 r2768723  
    66Requires at least: 4.5.0
    77Tested up to: 5.7
    8 Stable tag: 1.0.3
     8Stable tag: 1.0.4
    99License:Apache 2.0
    1010License URI:http://www.apache.org/licenses/LICENSE-2.0
     
    4545* 3、change remote call curl_init to wp_remote_post;
    4646* 4、modify generic function/class/define/namespace names;
    47 * 5、remove redundant style and script files
     47
     48= 1.0.3 =
     49* 1、remove redundant script and style files;
     50
     51= 1.0.4 =
     52* 1. fixed an issue where the adaptive stream option could not be turned off;
  • tencentcloud-vod/tags/1.0.4/tencentcloud-vod.php

    r2552077 r2768723  
    44 * Plugin URI:  https://wordpress.org/plugins/tencentcloud-vod
    55 * Description: 通过腾讯云云点播技术,为有音视频应用相关需求的客户提供包括音视频存储管理、音视频转码处理、音视频加速播放和音视频通信服务的一站式解决方案。
    6  * Version: 1.0.3
     6 * Version: 1.0.4
    77 * Author: 腾讯云
    88 * Author URI: https://www.tencent.com/
    9  * Copyright (C) 2020 Tencent Cloud.
     9 * Copyright (C) 2021 Tencent Cloud.
    1010 *
    1111 * Licensed under the Apache License, Version 2.0 (the "License");
     
    2121 * limitations under the License.
    2222 */
    23 define('TENCENT_WORDPRESS_VOD_VERSION', '1.0.3');
     23define('TENCENT_WORDPRESS_VOD_VERSION', '1.0.4');
    2424define('TENCENT_WORDPRESS_VOD_DIR', plugin_dir_path(__FILE__));
    2525define('TENCNET_WORDPRESS_VOD_BASENAME', plugin_basename(__FILE__));
  • tencentcloud-vod/tags/1.0.4/uninstall.php

    r2552077 r2768723  
    11<?php
    22/*
    3  * Copyright (C) 2020 Tencent Cloud.
     3 * Copyright (C) 2021 Tencent Cloud.
    44 *
    55 * Licensed under the Apache License, Version 2.0 (the "License");
  • tencentcloud-vod/tags/1.0.4/vendor/symfony/polyfill-intl-idn/bootstrap80.php

    r2552077 r2768723  
    122122
    123123if (!function_exists('idn_to_ascii')) {
    124     function idn_to_ascii(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_ascii((string) $domain, (int) $flags, (int) $variant, $idna_info); }
     124    function idn_to_ascii(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_ascii((string) $domain, (int) $flags, (int) $variant, $idna_info); }
    125125}
    126126if (!function_exists('idn_to_utf8')) {
    127     function idn_to_utf8(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_utf8((string) $domain, (int) $flags, (int) $variant, $idna_info); }
     127    function idn_to_utf8(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_utf8((string) $domain, (int) $flags, (int) $variant, $idna_info); }
    128128}
  • tencentcloud-vod/tags/1.0.4/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php

    r2552077 r2768723  
    1313
    1414if (!function_exists('normalizer_is_normalized')) {
    15     function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized((string) $string, (int) $form); }
     15    function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C): bool { return p\Normalizer::isNormalized((string) $string, (int) $form); }
    1616}
    1717if (!function_exists('normalizer_normalize')) {
    18     function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize((string) $string, (int) $form); }
     18    function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C): string|false { return p\Normalizer::normalize((string) $string, (int) $form); }
    1919}
  • tencentcloud-vod/trunk/TencentCloudVodActions.php

    r2552077 r2768723  
    11<?php
    22/*
    3  * Copyright (C) 2020 Tencent Cloud.
     3 * Copyright (C) 2021 Tencent Cloud.
    44 *
    55 * Licensed under the Apache License, Version 2.0 (the "License");
     
    237237            return 'SDKAppId 未填写.';
    238238        }
    239         if (empty($transcode)) {
    240             return '是否转码未填写.';
    241         }
    242239        return true;
    243240    }
  • tencentcloud-vod/trunk/TencentCloudVodOptions.php

    r2552077 r2768723  
    11<?php
    22/*
    3  * Copyright (C) 2020 Tencent Cloud.
     3 * Copyright (C) 2021 Tencent Cloud.
    44 *
    55 * Licensed under the Apache License, Version 2.0 (the "License");
     
    5959
    6060    public function setTranscode($transcode) {
    61         if ( empty($transcode)) {
    62             wp_send_json_error(array('msg' => 'transcode不能为空'));
    63             // throw new \Exception('transcode不能为空');
     61        if ( !in_array($transcode, array(self::DO_NOT_TRANSCODE, self::HLS_TRANSCODE)) ) {
     62            wp_send_json_error(array('msg' => '开启自适应码流传参错误'));
    6463        }
    6564        $this->transcode = intval($transcode);
  • tencentcloud-vod/trunk/TencentCloudVodSettingPage.php

    r2552077 r2768723  
    11<?php
    22/*
    3  * Copyright (C) 2020 Tencent Cloud.
     3 * Copyright (C) 2021 Tencent Cloud.
    44 *
    55 * Licensed under the Apache License, Version 2.0 (the "License");
  • tencentcloud-vod/trunk/readme.txt

    r2552077 r2768723  
    66Requires at least: 4.5.0
    77Tested up to: 5.7
    8 Stable tag: 1.0.3
     8Stable tag: 1.0.4
    99License:Apache 2.0
    1010License URI:http://www.apache.org/licenses/LICENSE-2.0
     
    4545* 3、change remote call curl_init to wp_remote_post;
    4646* 4、modify generic function/class/define/namespace names;
    47 * 5、remove redundant style and script files
     47
     48= 1.0.3 =
     49* 1、remove redundant script and style files;
     50
     51= 1.0.4 =
     52* 1. fixed an issue where the adaptive stream option could not be turned off;
  • tencentcloud-vod/trunk/tencentcloud-vod.php

    r2552077 r2768723  
    44 * Plugin URI:  https://wordpress.org/plugins/tencentcloud-vod
    55 * Description: 通过腾讯云云点播技术,为有音视频应用相关需求的客户提供包括音视频存储管理、音视频转码处理、音视频加速播放和音视频通信服务的一站式解决方案。
    6  * Version: 1.0.3
     6 * Version: 1.0.4
    77 * Author: 腾讯云
    88 * Author URI: https://www.tencent.com/
    9  * Copyright (C) 2020 Tencent Cloud.
     9 * Copyright (C) 2021 Tencent Cloud.
    1010 *
    1111 * Licensed under the Apache License, Version 2.0 (the "License");
     
    2121 * limitations under the License.
    2222 */
    23 define('TENCENT_WORDPRESS_VOD_VERSION', '1.0.3');
     23define('TENCENT_WORDPRESS_VOD_VERSION', '1.0.4');
    2424define('TENCENT_WORDPRESS_VOD_DIR', plugin_dir_path(__FILE__));
    2525define('TENCNET_WORDPRESS_VOD_BASENAME', plugin_basename(__FILE__));
  • tencentcloud-vod/trunk/uninstall.php

    r2552077 r2768723  
    11<?php
    22/*
    3  * Copyright (C) 2020 Tencent Cloud.
     3 * Copyright (C) 2021 Tencent Cloud.
    44 *
    55 * Licensed under the Apache License, Version 2.0 (the "License");
  • tencentcloud-vod/trunk/vendor/symfony/polyfill-intl-idn/bootstrap80.php

    r2552077 r2768723  
    122122
    123123if (!function_exists('idn_to_ascii')) {
    124     function idn_to_ascii(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_ascii((string) $domain, (int) $flags, (int) $variant, $idna_info); }
     124    function idn_to_ascii(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_ascii((string) $domain, (int) $flags, (int) $variant, $idna_info); }
    125125}
    126126if (!function_exists('idn_to_utf8')) {
    127     function idn_to_utf8(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_utf8((string) $domain, (int) $flags, (int) $variant, $idna_info); }
     127    function idn_to_utf8(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_utf8((string) $domain, (int) $flags, (int) $variant, $idna_info); }
    128128}
  • tencentcloud-vod/trunk/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php

    r2552077 r2768723  
    1313
    1414if (!function_exists('normalizer_is_normalized')) {
    15     function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized((string) $string, (int) $form); }
     15    function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C): bool { return p\Normalizer::isNormalized((string) $string, (int) $form); }
    1616}
    1717if (!function_exists('normalizer_normalize')) {
    18     function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize((string) $string, (int) $form); }
     18    function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C): string|false { return p\Normalizer::normalize((string) $string, (int) $form); }
    1919}
Note: See TracChangeset for help on using the changeset viewer.