Skip to:

Opened 3 years ago

Closed 3 years ago

#3174 closed enhancement (invalid)

Allow access to the admin hooks on WP_CLI

Reported by: espellcaste Owned by:
Milestone: Priority: high
Severity: major Version: trunk
Component: General - Integration Keywords: has-patch


bbPress only loads the reset/upgrade related functions on admin related pages:

That makes total sense. But on we those functions available when WP_CLI is defined as well.

Patch allows that. In the future, after wp-cli-bbpress is merged into bbPress, we can see a better way.

Attachments (1)

3174.diff (441 bytes) - added by espellcaste 3 years ago.

Download all attachments as: .zip

Change History (3)

3 years ago

#1 @espellcaste
3 years ago

Relate to #3058.

#2 @espellcaste
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I found another way of adding the necessary files. Closing this as invalid.

Note: See TracTickets for help on using tickets.