Pinking shears

git-svn-id: https://develop.svn.wordpress.org/trunk@24303 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2013-05-20 12:10:58 +00:00
parent f1068cbe96
commit 687d1a2ce9
5 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -611,7 +611,7 @@ function wp_refresh_post_lock( $response, $data, $screen_id ) {
$error = array(
'text' => sprintf( __( '%s has taken over and is currently editing.' ), $user->display_name )
);
if ( $avatar = get_avatar( $user->ID, 64 ) ) {
if ( preg_match( "|src='([^']+)'|", $avatar, $matches ) )
$error['avatar_src'] = $matches[1];