Making WordPress.org

Changeset 10795


Ignore:
Timestamp:
03/08/2021 12:45:14 AM (6 years ago)
Author:
dd32
Message:

Theme Directory: Allow theme updates to include files with the @ character in the filename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php

    r10789 r10795  
    971971
    972972                // Process file additions and removals.
    973                 $this->exec_with_notify( self::SVN . " st {$new_version_dir} | grep '^?' | cut -c 2- | xargs -I% " . self::SVN . " add %", $output );
    974                 $this->exec_with_notify( self::SVN . " st {$new_version_dir} | grep '^!' | cut -c 2- | xargs -I% " . self::SVN . " rm %", $output );
     973                $this->exec_with_notify( self::SVN . " st {$new_version_dir} | grep '^?' | cut -c 2- | xargs -I% " . self::SVN . " add '%@'", $output );
     974                $this->exec_with_notify( self::SVN . " st {$new_version_dir} | grep '^!' | cut -c 2- | xargs -I% " . self::SVN . " rm '%@'", $output );
    975975
    976976                // Commit it to SVN.
Note: See TracChangeset for help on using the changeset viewer.