WordPress.org

Make WordPress Core

Ticket #21012: 21012.diff

File 21012.diff, 593 bytes (added by georgestephanis, 22 months ago)
  • wp-admin/includes/dashboard.php

     
    962962                        continue; 
    963963 
    964964                // current bbPress feed item titles are: user on "topic title" 
    965                 if ( preg_match( '/"(.*)"/s', $item->get_title(), $matches ) ) 
     965                if ( preg_match( '/ on "(.*)"/s', $item->get_title(), $matches ) ) 
    966966                        $title = $matches[1]; 
    967967                else // but let's make it forward compatible if things change 
    968968                        $title = $item->get_title();