| 1 |
<?php |
| 2 |
/** |
| 3 |
* Load all files for the HTML Tag Processor. |
| 4 |
* |
| 5 |
* @package gutenberg |
| 6 |
*/ |
| 7 |
|
| 8 |
// All class files necessary for the HTML Tag Processor. |
| 9 |
if ( ! class_exists( 'WP_HTML_Attribute_Token' ) ) { |
| 10 |
require_once __DIR__ . '/class-wp-html-attribute-token.php'; |
| 11 |
} |
| 12 |
|
| 13 |
if ( ! class_exists( 'WP_HTML_Span' ) ) { |
| 14 |
require_once __DIR__ . '/class-wp-html-span.php'; |
| 15 |
} |
| 16 |
|
| 17 |
if ( ! class_exists( 'WP_HTML_Text_Replacement' ) ) { |
| 18 |
require_once __DIR__ . '/class-wp-html-text-replacement.php'; |
| 19 |
} |
| 20 |
|
| 21 |
if ( ! class_exists( 'WP_HTML_Tag_Processor' ) ) { |
| 22 |
require_once __DIR__ . '/class-wp-html-tag-processor.php'; |
| 23 |
} |
| 24 |
|