Make WordPress Core

Changeset 38010


Ignore:
Timestamp:
07/08/2016 06:06:36 AM (8 years ago)
Author:
peterwilsoncc
Message:

Embeds: Include locale stylesheets after default styles.

Fire locale_stylesheet action after the wp_print_styles action in the embeds header to match the order in wp_head.

Props swissspidy.
Fixes #36839.

File:
1 edited

Legend:

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

    r37924 r38010  
    469469add_action( 'embed_head',             'wp_no_robots'                          );
    470470add_action( 'embed_head',             'rel_canonical'                         );
    471 add_action( 'embed_head',             'locale_stylesheet'                     );
     471add_action( 'embed_head',             'locale_stylesheet',              30    );
    472472
    473473add_action( 'embed_content_meta',     'print_embed_comments_button'           );
Note: See TracChangeset for help on using the changeset viewer.