Make WordPress Core

Changeset 62350


Ignore:
Timestamp:
05/11/2026 01:41:46 PM (19 hours ago)
Author:
wildworks
Message:

Connectors: Expose isFileModDisabled flag to connector script module data.

Adds an isFileModDisabled boolean — derived from wp_is_file_mod_allowed( 'install_plugins' ) — to the data exposed via the script_module_data_options-connectors-wp-admin filter, so the connectors UI can adapt when file modifications are disabled.

Reviewed by wildworks.
Merges [62341] to the 7.0 branch.

Props jorgefilipecosta, westonruter, jeffpaul.
Fixes #65209.

Location:
branches/7.0
Files:
2 edited

Legend:

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