Index: wp-includes/default-filters.php
===================================================================
--- wp-includes/default-filters.php	(revision 38414)
+++ wp-includes/default-filters.php	(working copy)
@@ -217,7 +217,7 @@
 
 // REST API filters.
 add_action( 'xmlrpc_rsd_apis',            'rest_output_rsd' );
-add_action( 'wp_head',                    'rest_output_link_wp_head', 10, 0 );
+add_action( 'wp_head',                    'rest_output_link_wp_head', 6, 0 );
 add_action( 'template_redirect',          'rest_output_link_header', 11, 0 );
 add_action( 'auth_cookie_malformed',      'rest_cookie_collect_status' );
 add_action( 'auth_cookie_expired',        'rest_cookie_collect_status' );
@@ -230,11 +230,11 @@
 add_action( 'wp_head',             '_wp_render_title_tag',            1     );
 add_action( 'wp_head',             'wp_enqueue_scripts',              1     );
 add_action( 'wp_head',             'wp_resource_hints',               2     );
-add_action( 'wp_head',             'feed_links',                      2     );
-add_action( 'wp_head',             'feed_links_extra',                3     );
-add_action( 'wp_head',             'rsd_link'                               );
-add_action( 'wp_head',             'wlwmanifest_link'                       );
-add_action( 'wp_head',             'adjacent_posts_rel_link_wp_head', 10, 0 );
+add_action( 'wp_head',             'feed_links',                      5     );
+add_action( 'wp_head',             'feed_links_extra',                5     );
+add_action( 'wp_head',             'rsd_link',                        2     );
+add_action( 'wp_head',             'wlwmanifest_link',                2     );
+add_action( 'wp_head',             'adjacent_posts_rel_link_wp_head', 4,  0 );
 add_action( 'wp_head',             'locale_stylesheet'                      );
 add_action( 'publish_future_post', 'check_and_publish_future_post',   10, 1 );
 add_action( 'wp_head',             'noindex',                          1    );
@@ -241,10 +241,10 @@
 add_action( 'wp_head',             'print_emoji_detection_script',     7    );
 add_action( 'wp_head',             'wp_print_styles',                  8    );
 add_action( 'wp_head',             'wp_print_head_scripts',            9    );
-add_action( 'wp_head',             'wp_generator'                           );
-add_action( 'wp_head',             'rel_canonical'                          );
-add_action( 'wp_head',             'wp_shortlink_wp_head',            10, 0 );
-add_action( 'wp_head',             'wp_site_icon',                    99    );
+add_action( 'wp_head',             'wp_generator',                     1    );
+add_action( 'wp_head',             'rel_canonical',                    3    );
+add_action( 'wp_head',             'wp_shortlink_wp_head',             3, 0 );
+add_action( 'wp_head',             'wp_site_icon',                     4    );
 add_action( 'wp_footer',           'wp_print_footer_scripts',         20    );
 add_action( 'template_redirect',   'wp_shortlink_header',             11, 0 );
 add_action( 'wp_print_footer_scripts', '_wp_footer_scripts'                 );
@@ -253,7 +253,7 @@
 add_action( 'wp_print_styles',     'print_emoji_styles'                     );
 
 if ( isset( $_GET['replytocom'] ) )
-    add_action( 'wp_head', 'wp_no_robots' );
+    add_action( 'wp_head', 'wp_no_robots', 1 );
 
 // Login actions
 add_filter( 'login_head',          'wp_resource_hints',             8     );
@@ -460,7 +460,7 @@
 add_action( 'rest_api_init',          'wp_oembed_register_route'              );
 add_filter( 'rest_pre_serve_request', '_oembed_rest_pre_serve_request', 10, 4 );
 
-add_action( 'wp_head',                'wp_oembed_add_discovery_links'         );
+add_action( 'wp_head',                'wp_oembed_add_discovery_links',   6    );
 add_action( 'wp_head',                'wp_oembed_add_host_js'                 );
 
 add_action( 'embed_head',             'enqueue_embed_scripts',           1    );
