Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #56975, comment 51


Ignore:
Timestamp:
01/19/2023 02:09:17 PM (2 years ago)
Author:
hellofromTonya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56975, comment 51

    v1 v2  
    1 Summarizing solution options:
     1== Summarizing solution options
    22
    3 **Option 1: Adding a `is_admin()` check as a wrapper:**
     3=== Option 1: Adding a `is_admin()` check as a wrapper
     4
     5Implemented in [https://github.com/WordPress/wordpress-develop/pull/3867 PR 3867]
    46
    57* Pros:
     
    1012   * Could cause confusion later for why `is_admin()` is being used.
    1113
    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
     16Implemented in [https://github.com/WordPress/wordpress-develop/pull/3872 PR 3872]
    1317
    1418{{{#!php