Making WordPress.org


Ignore:
Timestamp:
06/28/2019 05:06:08 AM (7 years ago)
Author:
coffee2code
Message:

Credits: Add trailing slash to profiles URLs produced by the wpcredits shortcode.

Props jonoaldersonwp, coffee2code.
Fixes #4542.

File:
1 edited

Legend:

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

    r543 r9001  
    3333        $output = array();
    3434        foreach ( $props as $username => $name ) {
    35                 $output[] = '<a href="' . sprintf( $results['data']['profiles'], $username ) . '">' . $name . '</a>';
     35                $output[] = '<a href="' . sprintf( $results['data']['profiles'], $username ) . '/">' . $name . '</a>';
    3636        }
    3737        return wp_sprintf( '%l.', $output );
Note: See TracChangeset for help on using the changeset viewer.