Make WordPress Core


Ignore:
Timestamp:
03/31/2011 01:28:36 PM (14 years ago)
Author:
dd32
Message:

Be a party-pooper; No more Akismet Dancing upon upgrade; Respect custom WP_CONTENT_DIR for bundled plugins/theme installation; Respect custom WP_CONTENT_DIR/WP_LANG_DIR for Language files when upgrading; Standardise WP_Filesystem path method returns (They're trailing slash'd). Adds an exclusion list to copy_dir() as well as WP_Filesystem_Base::wp_lang_dir(). See #14484 See #11495

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-base.php

    r14810 r17576  
    8383     */
    8484    function wp_themes_dir() {
    85         return $this->wp_content_dir() . '/themes';
     85        return $this->wp_content_dir() . 'themes/';
     86    }
     87    /**
     88     * Returns the path on the remote filesystem of WP_LANG_DIR
     89     *
     90     * @since 3.2
     91     * @access public
     92     *
     93     * @return string The location of the remote path.
     94     */
     95    function wp_lang_dir() {
     96        return $this->find_folder(WP_LANG_DIR);
    8697    }
    8798
Note: See TracChangeset for help on using the changeset viewer.