Making WordPress.org


Ignore:
Timestamp:
02/21/2022 08:18:07 AM (3 years ago)
Author:
dd32
Message:

Theme Directory: Add an email for failed theme imports from SVN.

Theme Check still runs on theme updates via SVN, and will reject themes that do not need requirements.

See #5899.

File:
1 edited

Legend:

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

    r11511 r11588  
    5353     * @var string
    5454     */
    55     protected $tmp_dir = '';
     55    public $tmp_dir = '';
    5656
    5757    /**
     
    6060     * @var string
    6161     */
    62     protected $tmp_svn_dir = '';
     62    public $tmp_svn_dir = '';
    6363
    6464    /**
     
    6767     * @var string
    6868     */
    69     protected $theme_dir = '';
     69    public $theme_dir = '';
    7070
    7171    /**
     
    7474     * @var WP_Theme
    7575     */
    76     protected $theme;
     76    public $theme;
    7777
    7878    /**
     
    8181     * @var string
    8282     */
    83     protected $theme_slug = '';
     83    public $theme_slug = '';
    8484
    8585    /**
     
    8888     * @var WP_Post
    8989     */
    90     protected $theme_post;
     90    public $theme_post;
    9191
    9292    /**
     
    9595     * @var WP_User
    9696     */
    97     protected $author;
     97    public $author;
    9898
    9999    /**
     
    102102     * @var array
    103103     */
    104     protected $readme = array();
     104    public $readme = array();
    105105
    106106    /**
     
    109109     * @var object
    110110     */
    111     protected $trac_ticket;
     111    public $trac_ticket;
    112112
    113113    /**
     
    116116     * @var int
    117117     */
    118     protected $trac_changeset = 0;
     118    public $trac_changeset = 0;
    119119
    120120    /**
     
    123123     * @var Trac
    124124     */
    125     protected $trac;
     125    public $trac;
    126126
    127127    /**
     
    144144     * @var string
    145145     */
    146     protected $commit_msg = '';
     146    public $commit_msg = '';
    147147
    148148    /**
     
    17611761                            // When importing from SVN, include a 'Compare' link as the Changeset likely won't show a Diff unless the author did a `svn cp`.
    17621762                            'svn' === $this->importing_from && ! empty( $this->theme_post->max_version ) ?
    1763                             "<https://themes.trac.wordpress.org/changeset?old_path={$this->theme_slug}/{$this->theme_post->max_version}&new_path={$this->theme_slug}/{$this->theme->display( 'Version' )}|Compare>" :
     1763                            "<https://themes.trac.wordpress.org/changeset?old_path={$this->theme_slug}/{$this->theme_post->_last_live_version}&new_path={$this->theme_slug}/{$this->theme->display( 'Version' )}|Compare>" :
    17641764                            ''
    17651765                        ),
Note: See TracChangeset for help on using the changeset viewer.