Skip to content

Commit

Permalink
Merge branch 'main' into bugfix/10788-storybook-hot-reload
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Apr 5, 2022
2 parents 1cb05fd + c8d961c commit 5f1c855
Show file tree
Hide file tree
Showing 106 changed files with 4,390 additions and 2,157 deletions.
98 changes: 49 additions & 49 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion includes/AMP/Traits/Sanitization_Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ private function change_tag_name( DOMElement $node, string $tag_name ): void {
*
* @var DOMAttr $attr Attribute.
*/
$new_node->setAttribute( $attr->nodeName, $attr->nodeValue );
$new_node->setAttribute( $attr->nodeName, $attr->nodeValue ?? '' );
}
}

Expand Down
11 changes: 11 additions & 0 deletions includes/Experiments.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,17 @@ public function get_experiments(): array {
'description' => __( 'Enable recording from webcam/microphone', 'web-stories' ),
'group' => 'editor',
],
/**
* Author: @spacedmonkey
* Issue: #11081
* Creation date: 2022-03-30
*/
[
'name' => 'captionHotlinking',
'label' => __( 'Caption hotlinking', 'web-stories' ),
'description' => __( 'Enable hotlinking of captions', 'web-stories' ),
'group' => 'editor',
],
];
}

Expand Down
Loading

0 comments on commit 5f1c855

Please sign in to comment.