WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#41941 closed defect (bug) (fixed)

Incorrect parameter order of document for has_filter function

Reported by: munyagu Owned by: SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.9
Component: Plugins Keywords:
Focuses: docs Cc:

Description

Incorrect parameter order of PHPdoc for has_filter function in class-wp-hook.php.

document
first $function_to_check
second $tag

function
first $tag
second $function_to_check

Attachments (1)

41941.diff (850 bytes) - added by munyagu 4 years ago.

Download all attachments as: .zip

Change History (3)

@munyagu
4 years ago

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Plugins
  • Milestone changed from Awaiting Review to 4.9

#2 @SergeyBiryukov
4 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 41551:

Docs: Use correct order of arguments in the DocBlock for WP_Hook::has_filter().

Props munyagu.
Fixes #41941.

Note: See TracTickets for help on using tickets.