Skip to content

Commit

Permalink
Changed TGMPA Carbon Fields 'version' attribute to use plugin.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhendricks committed Mar 17, 2018
1 parent feebcce commit 4ea6c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/TGMPA.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function register_required_plugins() {
'slug' => 'carbon-fields', // The plugin slug (typically the folder name).
'source' => 'https://carbonfields.net/zip/latest/', // The plugin source.
'required' => true, // If false, the plugin is only 'recommended' instead of required.
'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.
'version' => self::$config->get( 'dependencies/carbon_fields' ), // 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.
'force_activation' => true // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch.
)

Expand Down

0 comments on commit 4ea6c4a

Please sign in to comment.