mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 19:54:28 +00:00
For doc block types, favor bool over the few remaining booleans
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -615,7 +615,7 @@ function has_action($tag, $function_to_check = false) {
|
||||
* @param string $tag The action hook to which the function to be removed is hooked.
|
||||
* @param callback $function_to_remove The name of the function which should be removed.
|
||||
* @param int $priority Optional. The priority of the function. Default 10.
|
||||
* @return boolean Whether the function is removed.
|
||||
* @return bool Whether the function is removed.
|
||||
*/
|
||||
function remove_action( $tag, $function_to_remove, $priority = 10 ) {
|
||||
return remove_filter( $tag, $function_to_remove, $priority );
|
||||
|
||||
Reference in New Issue
Block a user