Changeset 1940 for trunk/wp-includes/template-functions-post.php
- Timestamp:
- 12/12/2004 08:41:19 PM (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
r1768 r1940 70 70 } 71 71 if ($encode_html == 1) { 72 $content = htmlspecialchars($content);72 $content = wp_specialchars($content); 73 73 $cut = 0; 74 74 } elseif ($encode_html == 0) { … … 147 147 } 148 148 if ($encode_html == 1) { 149 $output = htmlspecialchars($output);149 $output = wp_specialchars($output); 150 150 $cut = 0; 151 151 } elseif ($encode_html == 0) { … … 335 335 $title = apply_filters('the_title', $page->post_title); 336 336 337 echo '<a href="' . get_page_link($page->ID) . '" title="' . htmlspecialchars($title) . '">' . $title . '</a>';337 echo '<a href="' . get_page_link($page->ID) . '" title="' . wp_specialchars($title) . '">' . $title . '</a>'; 338 338 echo '</li>'; 339 339 }
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)