Add Hungarian language support and update author and repository metadata
This commit is contained in:
1 parent
7a0aa56433
commit
a30722c751
12 files changed
+385
-69
No files matched your search
@@ -2,14 +2,16 @@
|
||||
|
||||
/*
|
||||
Plugin Name: Laps
|
||||
Plugin URI: https://github.com/Rarst/laps
|
||||
Plugin URI: https://git.sandros.hu/sandros/laps
|
||||
Description: Light WordPress profiler.
|
||||
Author: Andrey “Rarst” Savchenko
|
||||
Author: sandros & Rarst
|
||||
Author URI: https://git.sandros.hu/sandros/laps
|
||||
Version: 3.4.1
|
||||
Author URI: https://www.rarst.net/
|
||||
Requires at least: 6.2
|
||||
Requires PHP: 7.4
|
||||
Update URI: false
|
||||
Text Domain: laps
|
||||
Domain Path: /languages
|
||||
License: MIT
|
||||
*/
|
||||
|
||||
@@ -25,6 +27,10 @@ if ( PHP_VERSION_ID < 70400 ) {
|
||||
trigger_error( 'Laps requires PHP version >=7.4.', E_USER_ERROR );
|
||||
}
|
||||
|
||||
add_action( 'plugins_loaded', function (): void {
|
||||
load_plugin_textdomain( 'laps', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
||||
} );
|
||||
|
||||
$laps = new \Rarst\Laps\Plugin();
|
||||
|
||||
$laps->run();
|
||||
Reference in new issue
Block a user