[wp-cvs] wordpress/wp-includes template-functions-post.php, 1.27, 1.28

Ryan Boren rboren at users.sourceforge.net
Fri Jun 11 03:11:52 CDT 2004


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10568

Modified Files:
	template-functions-post.php 
Log Message:
Remove more stripslashes().

Index: template-functions-post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-post.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** template-functions-post.php	11 Jun 2004 08:02:40 -0000	1.27
--- template-functions-post.php	11 Jun 2004 08:11:49 -0000	1.28
***************
*** 49,53 ****
  function get_the_title() {
  	global $post;
! 	$output = stripslashes($post->post_title);
  	if (!empty($post->post_password)) { // if there's a password
  		$output = 'Protected: ' . $output;
--- 49,53 ----
  function get_the_title() {
  	global $post;
! 	$output = $post->post_title;
  	if (!empty($post->post_password)) { // if there's a password
  		$output = 'Protected: ' . $output;
***************
*** 189,193 ****
      // If we haven't got an excerpt, make one in the style of the rss ones
      if (($output == '') && $fakeit) {
!         $output = stripslashes($post->post_content);
          $output = strip_tags($output);
          $blah = explode(' ', $output);
--- 189,193 ----
      // If we haven't got an excerpt, make one in the style of the rss ones
      if (($output == '') && $fakeit) {
!         $output = $post->post_content;
          $output = strip_tags($output);
          $blah = explode(' ', $output);




More information about the cvs mailing list