Make WordPress Core


Ignore:
Timestamp:
09/25/2015 11:57:46 PM (11 years ago)
Author:
johnbillion
Message:

callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead.

Fixes #34032

File:
1 edited

Legend:

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

    r34565 r34566  
    136136 * @param string   $widget_id
    137137 * @param string   $widget_name
    138  * @param callback $callback
    139  * @param callback $control_callback
     138 * @param callable $callback
     139 * @param callable $control_callback
    140140 * @param array    $callback_args
    141141 */
    … …  
    887887 *
    888888 * @param string $widget_id
    889  * @param callback $callback
     889 * @param callable $callback
    890890 * @param array $check_urls RSS feeds
    891891 * @return bool False on failure. True on success.
Note: See TracChangeset for help on using the changeset viewer.