WordPress.org

Making WordPress.org

Ticket #3206: 3206.0.diff

File 3206.0.diff, 1.1 KB (added by Mirucon, 2 months ago)
  • wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php

     
    546546                // Diff line. 
    547547                $this->trac_ticket->diff_line = ''; 
    548548                if ( ! empty( $this->theme_post->max_version ) ) { 
    549                         $this->trac_ticket->diff_line = "\n" . sprintf( __( 'Diff with previous version: %s', 'wporg-themes' ), "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' )}\n" ); 
     549                        $this->trac_ticket->diff_line = "\n" . sprintf( 'Diff with previous version: %s', "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' )}\n" ); 
    550550                } 
    551551 
    552552                // Description