Changeset 50131 for trunk/src/wp-includes/default-filters.php
- Timestamp:
- 02/02/2021 12:08:01 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r50109 r50131 177 177 add_filter( 'the_content', 'prepend_attachment' ); 178 178 add_filter( 'the_content', 'wp_filter_content_tags' ); 179 add_filter( 'the_content', 'wp_replace_insecure_home_url' ); 179 180 180 181 add_filter( 'the_excerpt', 'wptexturize' ); … … 184 185 add_filter( 'the_excerpt', 'shortcode_unautop' ); 185 186 add_filter( 'the_excerpt', 'wp_filter_content_tags' ); 187 add_filter( 'the_excerpt', 'wp_replace_insecure_home_url' ); 186 188 add_filter( 'get_the_excerpt', 'wp_trim_excerpt', 10, 2 ); 187 189 … … 210 212 add_filter( 'widget_text_content', 'shortcode_unautop' ); 211 213 add_filter( 'widget_text_content', 'wp_filter_content_tags' ); 214 add_filter( 'widget_text_content', 'wp_replace_insecure_home_url' ); 212 215 add_filter( 'widget_text_content', 'do_shortcode', 11 ); // Runs after wpautop(); note that $post global will be null when shortcodes run. 216 217 add_filter( 'wp_get_custom_css', 'wp_replace_insecure_home_url' ); 213 218 214 219 // RSS filters. … … 347 352 add_action( 'wp_https_detection', 'wp_update_https_detection_errors' ); 348 353 add_filter( 'cron_request', 'wp_cron_conditionally_prevent_sslverify', 9999 ); 354 355 // HTTPS migration. 356 add_action( 'update_option_home', 'wp_update_https_migration_required', 10, 2 ); 349 357 350 358 // 2 Actions 2 Furious.
Note: See TracChangeset
for help on using the changeset viewer.