Changeset 11089 for sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-redirects.php
- Timestamp:
- 07/02/2021 04:48:12 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-redirects.php
r10879 r11089 133 133 134 134 // Remove any `<a>` attributes from the URL. 135 $new_path = preg_replace( '!(target|rel|href)= ?(.+)$!i', '', $new_path );135 $new_path = preg_replace( '!(target|rel|href)=.*$!i', '', $new_path ); 136 136 137 137 // Remove any trailing punctuation.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)