Make WordPress Core


Ignore:
Timestamp:
11/30/2014 11:23:37 PM (10 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs.

See #30224.

File:
1 edited

Legend:

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

    r30660 r30674  
    20382038 * @param int $width Image width
    20392039 * @param int $height Image height
    2040  * @return image resource
     2040 * @return resource resource
    20412041 */
    20422042function wp_imagecreatetruecolor($width, $height) {
     
    20542054 * @since 2.9.0
    20552055 * @see WP_Embed::register_handler()
     2056 *
     2057 * @global WP_Embed $wp_embed
     2058 * @param string   $id
     2059 * @param string   $regex
     2060 * @param callable $callback
     2061 * @param int      $priority
    20562062 */
    20572063function wp_embed_register_handler( $id, $regex, $callback, $priority = 10 ) {
     
    20652071 * @since 2.9.0
    20662072 * @see WP_Embed::unregister_handler()
     2073 *
     2074 * @global WP_Embed $wp_embed
     2075 * @param string $id
     2076 * @param int    $priority
    20672077 */
    20682078function wp_embed_unregister_handler( $id, $priority = 10 ) {
     
    21362146 * @param string $url The URL that should be embedded.
    21372147 * @param array $args Additional arguments and parameters.
    2138  * @return bool|string False on failure or the embed HTML on success.
     2148 * @return false|string False on failure or the embed HTML on success.
    21392149 */
    21402150function wp_oembed_get( $url, $args = '' ) {
Note: See TracChangeset for help on using the changeset viewer.