Make WordPress Core


Ignore:
Timestamp:
08/20/2007 10:50:04 PM (17 years ago)
Author:
ryan
Message:

bookmark sanitizer funcs and default filter cleanup. see #4546

File:
1 edited

Legend:

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

    r5855 r5906  
    478478    } else {
    479479        // Use display filters by default.
    480         $value = apply_filters("post_$field", $value, $post_id, $context);
     480        if ( $prefixed )
     481            $value = apply_filters($field, $value, $post_id, $context);
     482        else
     483            $value = apply_filters("post_$field", $value, $post_id, $context);
    481484    }
    482485
Note: See TracChangeset for help on using the changeset viewer.