Making WordPress.org


Ignore:
Timestamp:
10/22/2014 02:08:37 AM (12 years ago)
Author:
coffee2code
Message:

Code Reference: allow dashes in auto-detected credited usernames

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php

    r901 r927  
    485485        if ( is_single( 'credits' ) || is_single( 'credits-2' ) ) {
    486486                $content = preg_replace_callback(
    487                         '/\B@(\w+)/i',
     487                        '/\B@([\w\-]+)/i',
    488488                        function ( $matches ) {
    489489                                return sprintf(
Note: See TracChangeset for help on using the changeset viewer.