WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/20/2015 06:26:35 AM (7 years ago)
Author:
pento
Message:

Correctly escape theme version numbers when displaying them.

Props collinsinternet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/themes.php

    r32116 r32170  
    379379                    <span class="current-label"><?php _e( 'Current Theme' ); ?></span>
    380380                <# } #>
    381                 <h3 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{{ data.version }}}' ); ?></span></h3>
     381                <h3 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></span></h3>
    382382                <h4 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></h4>
    383383
Note: See TracChangeset for help on using the changeset viewer.