Permalink
Browse files

Create a stdClass with the global $hybrid object.

  • Loading branch information...
1 parent ef4ff21 commit 9d7bc0f65f24decafe4aae2c93da0ba28faa1a69 @justintadlock committed Jun 22, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 hybrid.php
View
@@ -53,6 +53,10 @@ class Hybrid {
* @since 1.0.0
*/
function __construct() {
+ global $hybrid;
+
+ /* Set up an empty class for the global $hybrid object. */
+ $hybrid = new stdClass;
/* Define framework, parent theme, and child theme constants. */
add_action( 'after_setup_theme', array( &$this, 'constants' ), 1 );

0 comments on commit 9d7bc0f

Please sign in to comment.