Opened 7 years ago

Closed 7 years ago

#2419 closed defect (bug) (fixed) wporg-cli plugin: Filter not passing all args

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


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 7 years ago.
from svn external for wporg-cli

Download all attachments as: .zip

Change History (3)

7 years ago

from svn external for wporg-cli

#1 @SergeyBiryukov
7 years ago

  • Keywords has-patch commit added

#2 @pento
7 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.