WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/14/2010 03:50:02 PM (9 years ago)
Author:
scribu
Message:

Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r16174 r16365  
    10231023        if ( !empty($uri) )
    10241024            $uri .= '/';
    1025         $permalink = str_replace('%pagename%', "${uri}%pagename%", $permalink);
     1025        $permalink = str_replace('%pagename%', "{$uri}%pagename%", $permalink);
    10261026    }
    10271027
Note: See TracChangeset for help on using the changeset viewer.