Changes between Version 1 and Version 2 of Ticket #56975, comment 51
- Timestamp:
- 01/19/2023 02:09:17 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56975, comment 51
v1 v2 1 Summarizing solution options: 1 == Summarizing solution options 2 2 3 **Option 1: Adding a `is_admin()` check as a wrapper:** 3 === Option 1: Adding a `is_admin()` check as a wrapper 4 5 Implemented in [https://github.com/WordPress/wordpress-develop/pull/3867 PR 3867] 4 6 5 7 * Pros: … … 10 12 * Could cause confusion later for why `is_admin()` is being used. 11 13 12 **Option 2: Stubbing the functions in `wp-admin/includes/noop.php`** 14 === Option 2: Stubbing the functions in `wp-admin/includes/noop.php` 15 16 Implemented in [https://github.com/WordPress/wordpress-develop/pull/3872 PR 3872] 13 17 14 18 {{{#!php