Making WordPress.org

Changeset 4754


Ignore:
Timestamp:
01/21/2017 10:19:40 AM (8 years ago)
Author:
pento
Message:

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

Props kraftbj.
Fixes #2419.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-cli/wporg-cli.php

    r4745 r4754  
    1919add_action( 'save_post', array( 'WPOrg_Cli\Markdown_Import', 'action_save_post' ) );
    2020
    21 add_filter( 'get_edit_post_link', array( 'WPOrg_Cli\Handbook', 'redirect_edit_link_to_github' ), 10, 2 );
     21add_filter( 'get_edit_post_link', array( 'WPOrg_Cli\Handbook', 'redirect_edit_link_to_github' ), 10, 3 );
    2222add_filter( 'o2_filter_post_actions', array( 'WPOrg_Cli\Handbook', 'redirect_o2_edit_link_to_github' ), 11, 2 );
    2323
Note: See TracChangeset for help on using the changeset viewer.