Ticket #7449: 7449.viper.patch
| File 7449.viper.patch, 1.1 KB (added by Viper007Bond, 4 years ago) |
|---|
-
wp-includes/post-template.php
74 74 return apply_filters('get_the_guid', $post->guid); 75 75 } 76 76 77 function the_content($more_link_text = '(more...)', $stripteaser = 0, $more_file = '') { 77 function the_content($more_link_text = NULL, $stripteaser = 0, $more_file = '') { 78 if ( NULL == $more_link_text ) 79 $more_link_text = __( '(more...)' ); 80 78 81 $content = get_the_content($more_link_text, $stripteaser, $more_file); 79 82 $content = apply_filters('the_content', $content); 80 83 $content = str_replace(']]>', ']]>', $content); … … 82 85 } 83 86 84 87 85 function get_the_content($more_link_text = '(more...)', $stripteaser = 0, $more_file = '') {88 function get_the_content($more_link_text = NULL, $stripteaser = 0, $more_file = '') { 86 89 global $id, $post, $more, $page, $pages, $multipage, $preview, $pagenow; 87 90 91 if ( NULL == $more_link_text ) 92 $more_link_text = __( '(more...)' ); 93 88 94 $output = ''; 89 95 90 96 if ( !empty($post->post_password) ) { // if there's a password
