mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 23:27:39 +02:00
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
This commit is contained in:
parent
87cf441193
commit
36b6f389c1
@ -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 = '') {
|
function get_the_content($more_link_text = null, $stripteaser = 0, $more_file = '') {
|
||||||
global $id, $post, $more, $page, $pages, $multipage, $preview, $pagenow;
|
global $id, $post, $more, $page, $pages, $multipage, $preview, $pagenow;
|
||||||
|
|
||||||
if ( null == $more_link_text )
|
if ( null === $more_link_text )
|
||||||
$more_link_text = __( '(more...)' );
|
$more_link_text = __( '(more...)' );
|
||||||
|
|
||||||
$output = '';
|
$output = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user