git-svn-id: http://svn.automattic.com/wordpress/trunk@2567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-04-21 00:55:30 +00:00
parent 87ae97a740
commit 797c0e896f

View File

@ -16,7 +16,7 @@ function the_ID() {
function the_title($before = '', $after = '', $echo = true) {
$title = get_the_title();
if (!empty($title)) {
if ( strlen($title) > 0 ) {
$title = apply_filters('the_title', $before . $title . $after, $before, $after);
if ($echo)
echo $title;