Make WordPress Core


Ignore:
Timestamp:
12/20/2014 08:55:21 PM (10 years ago)
Author:
wonderboymusic
Message:

Improve some docs for @param. Remove an unneeded $wpdb global import.

See #30799.

File:
1 edited

Legend:

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

    r30681 r30979  
    127127     * }
    128128     * @param string $url The URL attempting to be embedded.
    129      * @return string The embed HTML on success, otherwise the original URL.
     129     * @return string|false The embed HTML on success, otherwise the original URL.
     130     *                      `->maybe_make_link()` can return false on failure.
    130131     */
    131132    public function shortcode( $attr, $url = '' ) {
Note: See TracChangeset for help on using the changeset viewer.