Plugin Directory

Changeset 3445565


Ignore:
Timestamp:
01/23/2026 12:25:36 PM (2 months ago)
Author:
whiteshadow
Message:

Minor: Move a comment out of a foreach() because a user reported that it's triggering a false positive in their anti-malware scanner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-menu-editor/trunk/modules/content-permissions/editor-ui.php

    r3442051 r3445565  
    6767
    6868        if ( $module->areTermPermissionsEnabled() ) {
    69             foreach (['load-term.php', 'load-edit-tags.php' /* <- only for saving */] as $hook) {
     69            //Note: The "load-edit-tags.php" hook is only needed for saving policies.
     70            foreach (['load-term.php', 'load-edit-tags.php'] as $hook) {
    7071                add_action($hook, [$this, 'addTermUiHooks']);
    7172            }
Note: See TracChangeset for help on using the changeset viewer.