Ticket #5624: 5624.diff
File 5624.diff, 693 bytes (added by , 16 years ago) |
---|
-
Users/denis/Sites/sem-pro/wp-includes/functions.php
856 856 function xmlrpc_getposttitle( $content ) { 857 857 global $post_default_title; 858 858 if ( preg_match( '/<title>(.+?)<\/title>/is', $content, $matchtitle ) ) { 859 $post_title = $matchtitle[0]; 860 $post_title = preg_replace( '/<title>/si', '', $post_title ); 861 $post_title = preg_replace( '/<\/title>/si', '', $post_title ); 859 $post_title = $matchtitle[1]; 862 860 } else { 863 861 $post_title = $post_default_title; 864 862 }