|
@@ 866-870 (lines=5) @@
|
| 863 |
|
|
| 864 |
|
$block_def = self::get_block_definition( $block['name'] ); |
| 865 |
|
|
| 866 |
|
if ( isset( $block_def['content'] ) && count( $block_def['content'] ) > 0 ) { |
| 867 |
|
$tags = $block_def['content']; |
| 868 |
|
} else { |
| 869 |
|
$tags = array( 'content' ); |
| 870 |
|
} |
| 871 |
|
|
| 872 |
|
$tag_content = self::extract_tag_content_from_html( $tags, $block['block']['innerHTML'] ); |
| 873 |
|
|
|
@@ 1060-1064 (lines=5) @@
|
| 1057 |
|
} |
| 1058 |
|
|
| 1059 |
|
// Find out which tags we need to extract content from. |
| 1060 |
|
if ( isset( $block_def['content'] ) && count( $block_def['content'] ) > 0 ) { |
| 1061 |
|
$tags = $block_def['content']; |
| 1062 |
|
} else { |
| 1063 |
|
$tags = array( 'content' ); |
| 1064 |
|
} |
| 1065 |
|
|
| 1066 |
|
$tag_values = self::extract_tag_content_from_html( $tags, $block['innerHTML'] ); |
| 1067 |
|
|