Commit 88612f5
committed
Connectors: Expose
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@62341 602fd350-edb4-49c9-b593-d223f7449a82isFileModDisabled flag to connector script module data.1 parent a5905ab commit 88612f5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
| 726 | + | |
| 727 | + | |
727 | 728 | | |
728 | 729 | | |
729 | 730 | | |
0 commit comments