Permalink
Browse files

Small check for class

  • Loading branch information...
1 parent 03979ed commit c53d5427b5e42ce0107ea1c77a8f8e089646ea5f @bueltge committed Oct 16, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 inc/theme-customize.php
View
@@ -25,7 +25,9 @@ class Documentation_Customize {
*/
public function __construct( $args = NULL ) {
- require_once( 'class-documentation_customize_textarea_control.php' );
+ // Include the custom class for textarea
+ if ( ! class_exists( 'Documentation_Customize_Textarea_Control' ) )
+ require_once( 'class-documentation_customize_textarea_control.php' );
// Set option key based on get_stylesheet()
if ( NULL === $args )

0 comments on commit c53d542

Please sign in to comment.