Making WordPress.org

Changeset 5660


Ignore:
Timestamp:
07/12/2017 02:55:23 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Support Forums, User Notes: Make plain text URLs in notes clickable.

See #2272.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-user-notes.php

    r5659 r5660  
    260260            $this->user_notes[ $user_id ]->html .= sprintf(
    261261                '<div class="bbp-template-notice warning"><p>%s</p> %s</div>' . "\n",
    262                 wp_kses( $note->text, array( 'a' => array( 'href' => true ) ) ),
     262                make_clickable( wp_kses( $note->text, array( 'a' => array( 'href' => true ) ) ) ),
    263263                sprintf( '<p class="wporg-bbp-user-note-meta">%s</p>' . "\n",
    264264                    implode( ' | ', $note_meta )
Note: See TracChangeset for help on using the changeset viewer.