Add Hungarian language support and update author and repository metadata
Tests / tests (push) Successful in 5s
Release / upload-asset (push) Successful in 4s

This commit is contained in:
sandros committed 2026-09-27 23:08:51 +02:00
1 parent 7a0aa56433
commit a30722c751
12 files changed
+385 -69

No files matched your search

+9 -3
View File
@@ -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();