Changeset 5180 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
- Timestamp:
- 03/28/2017 09:28:04 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r5178 r5180 1042 1042 1043 1043 // Otherwise, handle a plugin redirect. 1044 if ( $p lugin = self::get_plugin_post( $path[2]) ) {1044 if ( $path[2] && ( $plugin = self::get_plugin_post( $path[2] ) ) ) { 1045 1045 $permalink = get_permalink( $plugin->ID ); 1046 1046 if ( parse_url( $permalink, PHP_URL_PATH ) != $_SERVER['REQUEST_URI'] ) {
Note: See TracChangeset
for help on using the changeset viewer.