Make WordPress Core


Ignore:
Timestamp:
01/08/2015 06:01:08 AM (9 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r30681 r31083  
    273273     * @return false|string False on failure, otherwise the UNSANITIZED (and potentially unsafe) HTML that should be used to embed.
    274274     */
    275     function get_html( $url, $args = '' ) {
     275    public function get_html( $url, $args = '' ) {
    276276        $provider = $this->get_provider( $url, $args );
    277277
Note: See TracChangeset for help on using the changeset viewer.