From 9af3568f291fbf4ed2539a8af50a7fc6a71c11b3 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 20 Nov 2008 18:20:25 +0000 Subject: [PATCH] Use default text only if === null. Props DD32. fixes #8156 git-svn-id: https://develop.svn.wordpress.org/trunk@9816 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 6f853a5b93..875d400db0 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 = '';