Changeset 13619
- Timestamp:
- 04/30/2024 05:22:33 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-readme-validator.php
r13513 r13619 15 15 if ( ! empty( $_REQUEST['readme'] ) && is_string( $_REQUEST['readme'] ) ) { 16 16 $readme_url = wp_unslash( $_REQUEST['readme'] ); 17 18 // If it's a slug.. 19 if ( $readme_url === sanitize_title_with_dashes( $readme_url ) ) { 20 $readme_url = 'https://wordpress.org/plugins/' . $readme_url . '/'; 21 } 17 22 } 18 23
Note: See TracChangeset
for help on using the changeset viewer.