Changeset 1405 for trunk/wp-includes/template-functions-post.php
- Timestamp:
- 06/11/2004 08:02:40 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-post.php
r1393 r1405 103 103 104 104 if (!empty($post->post_password)) { // if there's a password 105 if ( $_COOKIE['wp-postpass_'.$cookiehash]!= $post->post_password) { // and it doesn't match the cookie105 if (stripslashes($_COOKIE['wp-postpass_'.$cookiehash]) != $post->post_password) { // and it doesn't match the cookie 106 106 $output = get_the_password_form(); 107 107 return $output; … … 179 179 global $cookiehash; 180 180 $output = ''; 181 $output = stripslashes($post->post_excerpt);181 $output = $post->post_excerpt; 182 182 if (!empty($post->post_password)) { // if there's a password 183 183 if ($_COOKIE['wp-postpass_'.$cookiehash] != $post->post_password) { // and it doesn't match the cookie … … 189 189 // If we haven't got an excerpt, make one in the style of the rss ones 190 190 if (($output == '') && $fakeit) { 191 $output = $post->post_content;191 $output = stripslashes($post->post_content); 192 192 $output = strip_tags($output); 193 193 $blah = explode(' ', $output);
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)