Make WordPress Core

Changeset 841


Ignore:
Timestamp:
02/06/2004 08:28:26 PM (22 years ago)
Author:
saxmatt
Message:

the_excerpt should get autop goodness. Excerpt should fake it by default.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-post.php

    r808 r841  
    203203}
    204204
    205 function get_the_excerpt($fakeit = false) {
     205function get_the_excerpt($fakeit = true) {
    206206    global $id, $post;
    207207    global $HTTP_SERVER_VARS, $HTTP_COOKIE_VARS, $preview, $cookiehash;
  • trunk/wp-includes/vars.php

    r803 r841  
    271271add_filter('the_content', 'wpautop');
    272272add_filter('comment_text', 'wpautop');
     273add_falter('the_excerpt', 'wpautop');
    273274
    274275// Uncomment the following for Textile support
Note: See TracChangeset for help on using the changeset viewer.