| @@ -162,8 +162,9 @@ | ||
| 162 | 162 | 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch. |
| 163 | 163 | 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins. |
| 164 | 164 | 'external_url' => '', // If set, overrides default API URL and points to an external URL. |
| 165 | 165 | 'is_callable' => '', // If set, this callable will be be checked for availability to determine if a plugin is active. |
| 166 | + 'has_notices' => false, | |
| 166 | 167 | ); |
| 167 | 168 | } |
| 168 | 169 | |
| 169 | 170 | if(file_exists( get_stylesheet_directory() .'/addons/profile-picture-uploader.zip')) { |
| @@ -254,9 +255,9 @@ | ||
| 254 | 255 | |
| 255 | 256 | if(file_exists( get_stylesheet_directory() .'/addons/wdk-compare-listing.zip')) { |
| 256 | 257 | $plugins [] = array( |
| 257 | 258 | 'name' => 'WDK Compare Listings', // The plugin name. |
| 258 | - 'slug' => 'wdk-compare-listing', // The plugin slug (typically the folder name). | |
| 259 | + 'slug' => 'wpdirectorykit', // The plugin slug (typically the folder name). | |
| 259 | 260 | 'source' => get_stylesheet_directory() . '/addons/wdk-compare-listing.zip', // The plugin source. |
| 260 | 261 | 'required' => false, // If false, the plugin is only 'recommended' instead of required. |
| 261 | 262 | 'version' => '1.0.1', // 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. |
| 262 | 263 | 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch. |