Support » Plugin: UpdraftPlus WordPress Backup Plugin » Endpoint of AzureChinaCloud is wrong

  • Resolved guochaons

    (@guochaons)


    Hi, i contacted UpdraftPlus Team a few months ago for i needed to upload backups to azure china cloud but there is no such option. and happily i’m instructed to add the endpoint manually and i’m told that the option will be added to later releases.

    the problem is that the endpoint in update is wrong. a line of option need to be replaced. the patch is pasted below

    diff -r updraftplus.2.16.16/updraftplus{,-patched}
    diff -r updraftplus.2.16.16/updraftplus/addons/azure.php updraftplus.2.16.16/updraftplus-patched/addons/azure.php
    654c654
    < 					<option {{#ifeq "core.chinacloudapi.cn" endpoint}}selected="selected"{{/ifeq}} value="core.chinacloudapi.cn">'.__('Azure China', 'updraftplus').'</option>
    ---
    > 					<option {{#ifeq "blog.core.chinacloudapi.cn" endpoint}}selected="selected"{{/ifeq}} value="blob.core.chinacloudapi.cn">'.__('Azure China', 'updraftplus').'</option>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.