WordPress.org

Making WordPress.org

Opened 2 years ago

Closed 2 years ago

#2419 closed defect (fixed)

w.org: wporg-cli plugin: Filter not passing all args

Reported by: kraftbj Owned by: pento
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords: has-patch commit
Cc:

Description

The wporg-cli plugin uses the get_edit_post_link filter with a function requiring 3 arguments, but only having two passed.

wporg-cli/wporg-cli.php line 21 needs to change from 10,2 to 10,3.

Attachments (1)

2419.diff (738 bytes) - added by kraftbj 2 years ago.
from svn external for wporg-cli

Download all attachments as: .zip

Change History (3)

@kraftbj
2 years ago

from svn external for wporg-cli

#1 @SergeyBiryukov
2 years ago

  • Keywords has-patch commit added

#2 @pento
2 years ago

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

In 4754:

make/cli: The get_edit_post_link filter was incorrectly being hooked with 2 parameters, instead of 3.

Props kraftbj.
Fixes #2419.

Note: See TracTickets for help on using tickets.