Skip to content

Commit 1a0ba66

Browse files
committedMar 21, 2025
hide for now
1 parent 7ccb5ce commit 1a0ba66

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed
 

‎php/Video.php

+1-7
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,7 @@ public function build_video() {
168168

169169
private function oembed_data_errors(): void {
170170

171-
unset( $this->oembed_data->arve_error ); // ignore old errors.
172-
173-
foreach ( (array) $this->oembed_data as $key => $value ) {
174-
if ( str_contains( $key, 'error' ) ) {
175-
arve_errors()->add( $key, $value, $this->oembed_data );
176-
}
177-
}
171+
// TODO: add error message for missing oembed data
178172
}
179173

180174
private function process_shortcode_atts(): void {

0 commit comments

Comments
 (0)