Make WordPress Core


Ignore:
Timestamp:
10/15/2009 02:27:04 PM (16 years ago)
Author:
markjaquith
Message:

Add wp-post-image CSS class to post images. see #10928

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r12023 r12039  
    216216add_action('transition_post_status', '_transition_post_status', 5, 3);
    217217add_action('comment_form', 'wp_comment_form_unfiltered_html_nonce');
     218// Post Image CSS class filtering
     219add_action( 'begin_fetch_post_image_html', '_wp_post_image_class_filter_add' );
     220add_action( 'end_fetch_post_image_html', '_wp_post_image_class_filter_remove' );
    218221// Redirect Old Slugs
    219222add_action('template_redirect', 'wp_old_slug_redirect');
Note: See TracChangeset for help on using the changeset viewer.