Skip to content

Commit cc9ce65

Browse files
author
Evgeny
committed
FIX: Show Version
1 parent a99d313 commit cc9ce65

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

controller/SmmpostingController.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
<?php
2-
/*
3-
Description: Posting in social networks
4-
Version: 1.0.0
5-
Author: SmmPosting
6-
*/
72

83
class SmmpostingController {
94

@@ -69,8 +64,7 @@ public function smmposting_scripts()
6964
public function config()
7065
{
7166

72-
$plugin_data = get_plugin_data( __FILE__ );
73-
$data['version'] = isset($plugin_data['Version']) ? $plugin_data['Version'] : null;
67+
$data['version'] = SMMP_PLUGIN_VERSION;
7468
$data['route'] = isset($this->request->get['route']) ? $this->request->get['route'] : '';
7569

7670
switch ($data['route']) {

0 commit comments

Comments
 (0)