Index: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-codexify/wporg-bbp-codexify.php
===================================================================
--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-codexify/wporg-bbp-codexify.php	(revision 4174)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-codexify/wporg-bbp-codexify.php	(working copy)
@@ -49,8 +49,8 @@
 	 * @return string
 	 */
 	public static function convert_base_wiki_link( $matches ) {
-		$matches[1] = preg_replace( '/[\s]+/', '', trim( $matches[1] ) );
-		return '<a href="' . esc_url( self::BASE_URI . strtr( $matches[1], ' ', '_' ) ) . '">' . esc_html( $matches[1] ) . '</a>';
+		$path = preg_replace( '/[\s]+/', '_', trim( $matches[1] ) );
+		return '<a href="' . esc_url( self::BASE_URI . $path ) . '">' . esc_html( $matches[1] ) . '</a>';
 	}
 
 	/**
@@ -61,8 +61,8 @@
 	 * @return string
 	 */
 	public static function convert_vbar_wiki_link( $matches ) {
-		$matches[1] = preg_replace( '/[\s]+/', '_', trim( $matches[1] ) );
-		return '<a href="' . esc_url( self::BASE_URI . strtr( $matches[1], ' ', '_' ) ) . '">' . esc_html( $matches[2] ) . '</a>';
+		$path = preg_replace( '/[\s]+/', '_', trim( $matches[1] ) );
+		return '<a href="' . esc_url( self::BASE_URI . $path ) . '">' . esc_html( $matches[2] ) . '</a>';
 	}
 } }
 
