Skip to content

Commit

Permalink
Deprecate FT_PLATTFORM_VERSION constant, use a fn instead (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion authored Sep 13, 2023
2 parents cbc9f71 + 0c9f4b5 commit d97777f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 23 deletions.
51 changes: 29 additions & 22 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion inc/mode/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

namespace Figuren_Theater\Maintenance\Mode;

use Figuren_Theater;

use function add_action;
use function add_filter;
use function current_user_can;
Expand Down Expand Up @@ -87,7 +89,7 @@ function output_dropin_note( array $meta, string $file, array $data, string $sta
'https://github.com/figuren-theater/ft-maintenance',
sprintf(
esc_html__( 'Version %s', 'figurentheater' ),
FT_PLATTFORM_VERSION
Figuren_Theater\get_platform_version()
),
__NAMESPACE__
),
Expand Down

0 comments on commit d97777f

Please sign in to comment.