~canonical-sysadmins/wordpress/4.2.4

« back to all changes in this revision

Viewing changes to wp-includes/default-filters.php

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:05:37 UTC
  • mfrom: (1.1.1 wp4-upstream)
  • Revision ID: nick.moffitt@canonical.com-20150115110537-8bp1y42eyg0jsa7c
Tags: 4.1
MergeĀ upstreamĀ versionĀ 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
add_filter( 'nav_menu_meta_box_object', '_wp_nav_menu_meta_box_object'        );
192
192
add_filter( 'pingback_ping_source_uri', 'pingback_ping_source_uri'            );
193
193
add_filter( 'xmlrpc_pingback_error',    'xmlrpc_pingback_error'               );
 
194
add_filter( 'title_save_pre',           'trim'                                );
194
195
 
195
196
add_filter( 'http_request_host_is_external', 'allowed_http_request_hosts', 10, 2 );
196
197
 
197
198
// Actions
 
199
add_action( 'wp_head',             '_wp_render_title_tag',            1     );
198
200
add_action( 'wp_head',             'wp_enqueue_scripts',              1     );
199
201
add_action( 'wp_head',             'feed_links',                      2     );
200
202
add_action( 'wp_head',             'feed_links_extra',                3     );
248
250
add_action( 'plugins_loaded',             'wp_maybe_load_widgets',                    0    );
249
251
add_action( 'plugins_loaded',             'wp_maybe_load_embeds',                     0    );
250
252
add_action( 'shutdown',                   'wp_ob_end_flush_all',                      1    );
 
253
// Create a revision whenever a post is updated.
251
254
add_action( 'post_updated',               'wp_save_post_revision',                   10, 1 );
252
255
add_action( 'publish_post',               '_publish_post_hook',                       5, 1 );
253
256
add_action( 'transition_post_status',     '_transition_post_status',                  5, 3 );