From 36b6f389c1e0f5875989c63d2a4febac2e2c0d0d Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 20 Nov 2008 18:20:25 +0000 Subject: [PATCH] Use default text only if === null. Props DD32. fixes #8156 git-svn-id: http://svn.automattic.com/wordpress/trunk@9816 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 6f853a5b9..875d400db 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -179,7 +179,7 @@ function the_content($more_link_text = null, $stripteaser = 0, $more_file = '') function get_the_content($more_link_text = null, $stripteaser = 0, $more_file = '') { global $id, $post, $more, $page, $pages, $multipage, $preview, $pagenow; - if ( null == $more_link_text ) + if ( null === $more_link_text ) $more_link_text = __( '(more...)' ); $output = '';