File tree Expand file tree Collapse file tree 4 files changed +2
-7
lines changed
Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ $RECYCLE.BIN/
2424
2525# COMPOSER
2626vendor
27- composer.lock
27+ composer.lock
Original file line number Diff line number Diff line change 44 */
55namespace Embed \Adapters ;
66
7- use Embed \Url ;
87use Embed \Request ;
98use Embed \Utils ;
109
@@ -32,9 +31,6 @@ public function getCode()
3231 ->withQueryParameters ([]);
3332
3433 return Utils::iframe ($ url );
35-
36- //this code of google maps no longer works
37- //return Utils::iframe($url->withQueryParameter('output', 'embed')->withQueryParameter('s', ''));
3834 }
3935
4036 /**
Original file line number Diff line number Diff line change 55 * Class WordPress
66 * WordPress.tv embeds
77 * @package Embed\Providers\OEmbed
8- * @todo Class is named 'WordPress' to fit existing naming scheme, but could be confused with WordPress.com or WordPress.org
98 */
109class WordPress extends OEmbedImplementation
1110{
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ protected function resolve()
146146 $ charset = substr (strtoupper (strstr ($ charset , '= ' )), 1 );
147147
148148 if (!empty ($ charset ) && !empty ($ this ->content ) && ($ charset !== 'UTF-8 ' )) {
149- $ this ->content = @ mb_convert_encoding ($ this ->content , 'UTF-8 ' , $ charset );
149+ $ this ->content = mb_convert_encoding ($ this ->content , 'UTF-8 ' , $ charset );
150150 }
151151 } elseif (strpos ($ content_type , '/ ' ) !== false ) {
152152 $ this ->result ['mime_type ' ] = $ content_type ;
You can’t perform that action at this time.
0 commit comments