mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Show 0 titles - http://mosquito.wordpress.org/view.php?id=1266 Hat tip: Mark
git-svn-id: http://svn.automattic.com/wordpress/trunk@2567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
87ae97a740
commit
797c0e896f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user