Make WordPress Core

Changeset 28889


Ignore:
Timestamp:
06/29/2014 08:46:33 AM (11 years ago)
Author:
SergeyBiryukov
Message:

List the expected @param type first.

see #28516.

File:
1 edited

Legend:

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

    r28888 r28889  
    9696 *
    9797 * @param string        $tag               The name of the filter hook.
    98  * @param bool|callback $function_to_check Optional. The callback to check for. Default false.
     98 * @param callback|bool $function_to_check Optional. The callback to check for. Default false.
    9999 * @return mixed If $function_to_check is omitted, returns boolean for whether the hook has anything registered.
    100100 *  When checking a specific function, the priority of that hook is returned, or false if the function is not attached.
     
    299299 *
    300300 * @param string   $tag      The filter to remove hooks from.
    301  * @param bool|int $priority Optional. The priority number to remove. Default false.
     301 * @param int|bool $priority Optional. The priority number to remove. Default false.
    302302 * @return bool True when finished.
    303303 */
     
    571571 *
    572572 * @param string        $tag               The name of the action hook.
    573  * @param bool|callback $function_to_check Optional. The callback to check for. Default false.
     573 * @param callback|bool $function_to_check Optional. The callback to check for. Default false.
    574574 * @return mixed If $function_to_check is omitted, returns boolean for whether the hook has anything registered.
    575575 *  When checking a specific function, the priority of that hook is returned, or false if the function is not attached.
     
    605605 *
    606606 * @param string   $tag      The action to remove hooks from.
    607  * @param bool|int $priority The priority number to remove them from. Default false.
     607 * @param int|bool $priority The priority number to remove them from. Default false.
    608608 * @return bool True when finished.
    609609 */
Note: See TracChangeset for help on using the changeset viewer.