Ticket #3574: 3574.diff
File 3574.diff, 1.3 KB (added by , 6 years ago) |
---|
-
wp-content/plugins/plugin-directory/widgets/class-meta.php
62 62 <?php if ( $requires = (string) get_post_meta( $post->ID, 'requires', true ) ) : ?> 63 63 <li> 64 64 <?php 65 _e( 'Requires WordPress Version:', 'wporg-plugins' ); 66 echo '<strong>' . esc_html( $requires ) . '</strong>'; 65 _e( 'WordPress Version:', 'wporg-plugins' ); 66 printf( 67 /* translators: Minimum version number required. */ 68 esc_html__( '%s or higher', 'wporg-plugins' ), 69 '<strong>' . esc_html( $requires ) . '</strong>' 70 ); 67 71 ?> 68 72 </li> 69 73 <?php endif; ?> … … 75 79 <?php if ( $requires_php = (string) get_post_meta( $post->ID, 'requires_php', true ) ) : ?> 76 80 <li> 77 81 <?php 78 _e( 'Requires PHP Version:', 'wporg-plugins' ); 79 echo '<strong>' . esc_html( $requires_php ) . '</strong>'; 82 _e( 'PHP Version:', 'wporg-plugins' ); 83 printf( 84 /* translators: Minimum version number required. */ 85 esc_html__( '%s or higher', 'wporg-plugins' ), 86 '<strong>' . esc_html( $requires_php ) . '</strong>' 87 ); 80 88 ?> 81 89 </li> 82 90 <?php endif; ?>