[wp-trac] [WordPress Trac] #65209: Connectors: Expose isFileModDisabled flag to connector script module data.

WordPress Trac noreply at wordpress.org
Mon May 11 13:42:01 UTC 2026


#65209: Connectors: Expose isFileModDisabled flag to connector script module data.
-------------------------------------------------+-------------------------
 Reporter:  jorgefilipecosta                     |       Owner:  wildworks
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  7.0
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-reviewed gutenberg-    |     Focuses:
  merge                                          |
-------------------------------------------------+-------------------------
Changes (by wildworks):

 * owner:  (none) => wildworks
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"62350" 62350]:
 {{{
 #!CommitTicketReference repository="" revision="62350"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65209#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list