mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
In Customizer classes:
* `public final function` methods should be `final public function` - confusing Hack and aligns with PSR2 * Some methods were missing access modifiers See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31083 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -272,7 +272,7 @@ class WP_oEmbed {
|
||||
* @param array $args Optional arguments. Usually passed from a shortcode.
|
||||
* @return false|string False on failure, otherwise the UNSANITIZED (and potentially unsafe) HTML that should be used to embed.
|
||||
*/
|
||||
function get_html( $url, $args = '' ) {
|
||||
public function get_html( $url, $args = '' ) {
|
||||
$provider = $this->get_provider( $url, $args );
|
||||
|
||||
if ( !$provider || false === $data = $this->fetch( $provider, $url, $args ) )
|
||||
|
||||
Reference in New Issue
Block a user