Skip to content

Commit

Permalink
Version 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
skito committed Oct 12, 2023
1 parent 97e752a commit 4f72416
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Entase\Plugins\WP;

abstract class Conf {
const Version = '1.0';
const Version = '1.5';

// Backend
const BasePath = __DIR__;
Expand Down
2 changes: 1 addition & 1 deletion entase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: Entase
Description: Sell event tickets directly from your website with Entase integrated API.
Author: Entase
Version: 1.4
Version: 1.5
Author URI: http://www.entase.bg
Plugin URI: https://github.com/entaseteam/plugin.wp/
Update URI: https://github.com/entaseteam/plugin.wp/releases/latest/download/package.json
Expand Down
1 change: 1 addition & 0 deletions src/Core/ATMF.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public static function GetEngine()
{
require_once(\Entase\Plugins\WP\Conf::VendorPath.'/ATMF/engine.php');
require_once(\Entase\Plugins\WP\Conf::VendorPath.'/ATMF-EXT/scripts.php');
require_once(\Entase\Plugins\WP\Conf::VendorPath.'/ATMF-EXT/version.php');


self::$atmf = new \ATMF\Engine();
Expand Down
4 changes: 2 additions & 2 deletions src/Templates/Masters/DashboardSettings.mtpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@

<div class="entaseadmin-footer">
<div>
© 2023 Entase
© {/date Y} Entase
</div>
<div>
Plugin version 1.5.28
Plugin version {/version}
</div>
</div>

Expand Down
17 changes: 17 additions & 0 deletions src/Vendor/ATMF-EXT/version.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

namespace ATMF\CoreExtensions;

use Entase\Plugins\WP\Conf;

class Version implements \ATMF\Extension
{
public function __construct() {}
public function Get($args)
{
return Conf::Version;
}

public function Set($args, $value) {return false;}
}
\ATMF\Extensions::Register('version', new Version());

0 comments on commit 4f72416

Please sign in to comment.