Changeset 2779
- Timestamp:
- 03/22/2016 07:29:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
r2767 r2779 59 59 <p class="desc"> 60 60 <?php if ( ! empty( $param['types'] ) ) : ?> 61 <span class="type"> (<?php echo wp_kses_post( $param['types'] ); ?>)</span>61 <span class="type"><?php printf( __( '(%s)', 'wporg' ), wp_kses_post( $param['types'] ) ); ?></span> 62 62 <?php endif; ?> 63 63 <?php if ( ! empty( $param['required'] ) && 'wp-parser-hook' !== get_post_type() ) : ?> 64 <span class="required"> (<?php echo esc_html( $param['required'] ); ?>)</span>64 <span class="required"><?php printf( __( '(%s)', 'wporg' ), esc_html( $param['required'] ) ); ?></span> 65 65 <?php endif; ?> 66 66 <?php if ( ! empty( $param['content'] ) ) : ?> … … 212 212 <ul> 213 213 <?php foreach ( $changelog_data as $version => $data ) : ?> 214 <li><?php _e( '<strong>Since:</strong> WordPress', 'wporg' ); ?> <a href="<?php echo esc_url( $data['since_url'] ); ?>"><?php echo esc_html( $version ); ?></a> <?php echo $data['description']; // escaped in get_changelog_data() ?></li> 214 <li> 215 <strong><?php _e( 'Since:', 'wporg' ); ?></strong> 216 <?php printf( 217 /* translators: %s: WordPress version */ 218 __( 'WordPress %s', 'wporg' ), 219 sprintf( '<a href="%1$s">%2$s</a>', esc_url( $data['since_url'] ), esc_html( $version ) ) 220 ); ?> 221 <?php echo $data['description']; // escaped in get_changelog_data() ?> 222 </li> 215 223 <?php endforeach; ?> 216 224 </ul>
Note: See TracChangeset
for help on using the changeset viewer.