Changeset 6411
- Timestamp:
- 01/22/2018 06:32:54 PM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r6407 r6411 1133 1133 } 1134 1134 1135 // Browse 404 's1135 // Browse 404s. 1136 1136 if ( 'browse' === $path[2] ) { 1137 1137 wp_safe_redirect( home_url( '/' ) ); 1138 die(); 1139 } 1140 1141 // The readme.txt page. 1142 if ( 'readme.txt' === $path[2] ) { 1143 header( 'Content-type: text/plain' ); 1144 echo file_get_contents( __DIR__ . '/readme/readme.txt' ); 1138 1145 die(); 1139 1146 } … … 1148 1155 } 1149 1156 1150 // Otherwise, let's redirect to the search page 1157 // Otherwise, let's redirect to the search page. 1151 1158 if ( isset( $path[2] ) && ! empty( $path[2] ) ) { 1152 1159 wp_safe_redirect( home_url( '/search/' . urlencode( $path[2] ) . '/' ) ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/page-developers.php
r6392 r6411 104 104 <?php 105 105 /* translators: 1: URL to readme file; 2: URL to readme validator; */ 106 printf( wp_kses_post( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-plugins' ) ), esc_url( home_url( ' files/2018/01/readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) );106 printf( wp_kses_post( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-plugins' ) ), esc_url( home_url( 'readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) ); 107 107 ?> 108 108 </p>
Note: See TracChangeset
for help on using the changeset viewer.