Skip to content

Commit

Permalink
load 'after_setup_theme'
Browse files Browse the repository at this point in the history
so that the plugin can handle the theme-support. see #30
  • Loading branch information
pfefferle committed Feb 18, 2018
1 parent ca0fb51 commit 6a352b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-uf2.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Text Domain: wp-uf2
*/

add_action( 'plugins_loaded', array( 'UF2_Plugin', 'init' ) );
add_action( 'after_setup_theme', array( 'UF2_Plugin', 'init' ), 99 );

/**
* Adds Microformats 2 support to your WordPress theme
Expand Down

0 comments on commit 6a352b5

Please sign in to comment.