How to update Wordpress plugins in local copy of Wordpress for App Engine?

依然范特西╮ 提交于 2019-12-25 06:20:47

问题


When I try to update plugins in the local copy of Wordpress for App Engine, I see the following error:

Downloading update from https://downloads.wordpress.org/plugin/batcache.1.2.zip…
Download failed. Saving to a file is not currently supported.

The only reference to this error message that I could find comes from appengine-wordpress-plugin/modules/urlfetch.php:

// For now, lets not support streaming into a file and see what breaks
    if (isset($r['filename'])) {
      return new WP_Error( 'http_request_failed',
          __( 'Saving to a file is not currently supported.'));
    }

I know that I can simply add plugin files manually, but it would be nice to do it with a single click on the "Update" link. Does anyone know how to avoid this error?

I am using Mac OS 10.7.


回答1:


Apparently, Google App Engine for WordPress plugin must be deactivated in a local copy of Wordpress. It is still necessary to activate it in a production copy on App Engine.



来源:https://stackoverflow.com/questions/23504845/how-to-update-wordpress-plugins-in-local-copy-of-wordpress-for-app-engine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!