Skip to content

Commit 9e61951

Browse files
committed
fix(svn): use correct HTTPS URL for SVN check
Same fix as PR Zodiac1978#81 — the old http://svn.wp-plugins.org URL is broken, causing closed plugins to show as "Not found" instead of "Closed".
1 parent 55fd049 commit 9e61951

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rt-plugin-report.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ private function assemble_plugin_report( $slug ) {
420420
*/
421421
private function check_exists_in_svn( $slug ) {
422422
// Attempt to load the plugin's SVN repo page.
423-
$response = wp_remote_get( 'http://svn.wp-plugins.org/' . $slug . '/' );
423+
$response = wp_remote_get( 'https://plugins.svn.wordpress.org/' . rawurlencode( $slug ) . '/' );
424424
// If the return value was a WP_Error, assume the answer is no.
425425
if ( is_wp_error( $response ) ) {
426426
return false;

0 commit comments

Comments
 (0)