Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#41941 closed defect (bug) (fixed)

Incorrect parameter order of document for has_filter function

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

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 9 years ago.

Download all attachments as: .zip

Change History (3)

@munyagu
9 years ago

#1 @SergeyBiryukov
9 years ago

  • Component General → Plugins
  • Milestone Awaiting Review → 4.9

#2 @SergeyBiryukov
9 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → 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.