Making WordPress.org

Changeset 8886


Ignore:
Timestamp:
05/27/2019 08:00:04 PM (5 years ago)
Author:
vedjain
Message:

WC Report: Use return b/c this action may be hooked to admin_init.

In r7902, we added a wp_die statement if nonce is not verified for Meetup Events report. However, when opening WordCamp Report, this method gets hooked to admin_init, and cause all reports that are loaded after it, like Meetup Details report to break.

Replacing wp_die with return makes the behavior consistent with other reports and fix this bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.