Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #44972


Ignore:
Timestamp:
09/23/2018 02:54:22 PM (6 years ago)
Author:
SergeyBiryukov
Comment:

Related: #14024, #43869.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44972

    • Property Component changed from General to Users
  • Ticket #44972 – Description

    initial v2  
    771) directly in plugin php file (i mean out of the hook, just directly as a new line),
    88
    9 2) or sometimes that code is used in `class` __construct  method (not different than first one - you know, constructor is executed directly too).
     92) or sometimes that code is used in `class` `__construct`  method (not different than first one - you know, constructor is executed directly too).
    1010
    1111to reproduce the problem, just place that line in any plugin/functions.php, then enter WP dashboard, and you get: