[wp-trac] [WordPress Trac] #65209: Connectors: Expose isFileModDisabled flag to connector script module data.
WordPress Trac
noreply at wordpress.org
Fri May 8 19:02:24 UTC 2026
#65209: Connectors: Expose isFileModDisabled flag to connector script module data.
------------------------------+---------------------
Reporter: jorgefilipecosta | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Comment (by jorgefilipecosta):
In [changeset:"62341" 62341]:
{{{
#!CommitTicketReference repository="" revision="62341"
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.
Props jorgefilipecosta, westonruter, jeffpaul.
See #65209.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65209#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list