You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/TGMPA.php
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ public function register_required_plugins() {
29
29
'slug' => 'carbon-fields-loader', // The plugin slug (typically the folder name).
30
30
'source' => 'https://github.com/dmhendricks/carbon-fields-loader/archive/master.zip', // The plugin source.
31
31
'required' => true, // If false, the plugin is only 'recommended' instead of required.
32
-
'version' => '2.0.0', // E.g. 1.0.0. If set, the active plugin must be this version or higher. If the plugin version is higher than the plugin version installed, the user will be notified to update the plugin.
32
+
'version' => '2.1.0', // E.g. 1.0.0. If set, the active plugin must be this version or higher. If the plugin version is higher than the plugin version installed, the user will be notified to update the plugin.
33
33
'force_activation' => true// If true, plugin is activated upon theme activation and cannot be deactivated until theme switch.
34
34
)
35
35
@@ -51,7 +51,14 @@ public function register_required_plugins() {
51
51
'capability' => 'edit_theme_options', // Capability needed to view plugin install page, should be a capability associated with the parent menu used.
52
52
'has_notices' => true, // Show admin notices or not.
53
53
'dismissable' => true, // If false, a user cannot dismiss the nag message.
54
-
'is_automatic' => true// Automatically activate plugins after installation or not.
54
+
'is_automatic' => true, // Automatically activate plugins after installation or not.
55
+
'strings' => array(
56
+
'notice_can_install_required' => _n_noop(
57
+
'This plugin has the following dependency: %1$s.',
58
+
'This plugin has the following dependencies: %1$s.',
0 commit comments