Making WordPress.org


Ignore:
Timestamp:
05/22/2026 01:31:52 AM (5 months ago)
Author:
dd32
Message:

Credits Shortcode: Remove trailing double slash from profile URLs

Props huzaifaalmesbah.
Closes ​https://github.com/WordPress/wordpress.org/pull/645.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/core/credits/shortcode.php

    r11711 r14909  
    5555        $output = array();
    5656        foreach ( $props as $username => $name ) {
    57                 $output[] = '<a href="' . sprintf( $results['data']['profiles'], $username ) . '/">' . $name . '</a>';
     57                $output[] = '<a href="' . sprintf( $results['data']['profiles'], $username ) . '">' . $name . '</a>';
    5858        }
    5959
Note: See TracChangeset for help on using the changeset viewer.