Skip to content

Commit

Permalink
Always load the Hybrid Media Grabber. No longer a need for add_theme_…
Browse files Browse the repository at this point in the history
…support( 'hybrid-core-media-grabber' ).
  • Loading branch information
Justin Tadlock committed Nov 4, 2013
1 parent c4c89b3 commit de95d33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hybrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ function functions() {
/* Load the media meta class. */
require_once( trailingslashit( HYBRID_CLASSES ) . 'hybrid-media-meta.php' );

/* Load the media grabber class. */
require_once( trailingslashit( HYBRID_CLASSES ) . 'hybrid-media-grabber.php' );

/* Load the template functions. */
require_once( trailingslashit( HYBRID_FUNCTIONS ) . 'template.php' );

Expand All @@ -286,9 +289,6 @@ function functions() {
/* Load the scripts if supported. */
require_if_theme_supports( 'hybrid-core-scripts', trailingslashit( HYBRID_FUNCTIONS ) . 'scripts.php' );

/* Load the media grabber script if supported. */
require_if_theme_supports( 'hybrid-core-media-grabber', trailingslashit( HYBRID_CLASSES ) . 'hybrid-media-grabber.php' );

/* Load the post format functionality if post formats are supported. */
require_if_theme_supports( 'post-formats', trailingslashit( HYBRID_FUNCTIONS ) . 'post-formats.php' );

Expand Down

0 comments on commit de95d33

Please sign in to comment.