We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a99d313 commit cc9ce65Copy full SHA for cc9ce65
controller/SmmpostingController.php
@@ -1,9 +1,4 @@
1
<?php
2
-/*
3
-Description: Posting in social networks
4
-Version: 1.0.0
5
-Author: SmmPosting
6
- */
7
8
class SmmpostingController {
9
@@ -69,8 +64,7 @@ public function smmposting_scripts()
69
64
public function config()
70
65
{
71
66
72
- $plugin_data = get_plugin_data( __FILE__ );
73
- $data['version'] = isset($plugin_data['Version']) ? $plugin_data['Version'] : null;
67
+ $data['version'] = SMMP_PLUGIN_VERSION;
74
68
$data['route'] = isset($this->request->get['route']) ? $this->request->get['route'] : '';
75
76
switch ($data['route']) {
0 commit comments