WordPress.org

Support

Support » Themes and Templates » Update Theme System

Update Theme System

  • Users who use my constructor theme have a trouble with update of it.
    It’s because automatic update is clears destination folder:

    // from upgrade method in Theme_Upgrader class
    $options = array(
    	'package' => $r['package'],
    	'destination' => WP_CONTENT_DIR . '/themes',
    	'clear_destination' => true, // !!!
    	'clear_working' => true,
    	'hook_extra' => array('theme' => $theme);

    How I can avoid this error?

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Update Theme System’ is closed to new replies.