git-svn-id: https://develop.svn.wordpress.org/trunk@2567 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-04-21 00:55:30 +00:00
parent b7c7267534
commit 9859c8dc9f

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;