Initial
This commit is contained in:
BIN
.devops/db/wp_init_db.gz
Normal file
BIN
.devops/db/wp_init_db.gz
Normal file
Binary file not shown.
28
.env.example
Normal file
28
.env.example
Normal file
@@ -0,0 +1,28 @@
|
||||
DB_NAME='database_name'
|
||||
DB_USER='database_user'
|
||||
DB_PASSWORD='database_password'
|
||||
|
||||
# Optionally, you can use a data source name (DSN)
|
||||
# When using a DSN, you can remove the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST variables
|
||||
# DATABASE_URL='mysql://database_user:database_password@database_host:database_port/database_name'
|
||||
|
||||
# Optional database variables
|
||||
# DB_HOST='localhost'
|
||||
# DB_PREFIX='wp_'
|
||||
|
||||
WP_ENV='development'
|
||||
WP_HOME='http://example.com'
|
||||
WP_SITEURL="${WP_HOME}/wp"
|
||||
|
||||
# Specify optional debug.log path
|
||||
# WP_DEBUG_LOG='/path/to/debug.log'
|
||||
|
||||
# Generate your keys here: https://roots.io/salts.html
|
||||
AUTH_KEY='generateme'
|
||||
SECURE_AUTH_KEY='generateme'
|
||||
LOGGED_IN_KEY='generateme'
|
||||
NONCE_KEY='generateme'
|
||||
AUTH_SALT='generateme'
|
||||
SECURE_AUTH_SALT='generateme'
|
||||
LOGGED_IN_SALT='generateme'
|
||||
NONCE_SALT='generateme'
|
||||
49
.gitignore
vendored
Normal file
49
.gitignore
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
# Application
|
||||
#web/app/languages/*
|
||||
#!web/app/languages/.gitkeep
|
||||
web/app/plugins/*
|
||||
!web/app/plugins/.gitkeep
|
||||
!web/app/plugins/hunsail-race-calendar/
|
||||
web/app/mu-plugins/*/
|
||||
web/app/themes/twentytwentyfive/
|
||||
web/app/themes/hvg-blog-general/
|
||||
web/app/upgrade
|
||||
web/app/uploads/*
|
||||
!web/app/uploads/.gitkeep
|
||||
web/app/cache/*
|
||||
|
||||
# WordPress
|
||||
web/wp
|
||||
web/.htaccess
|
||||
|
||||
.gpg/*
|
||||
!.gpg/.getkeep
|
||||
# Logs
|
||||
*.log
|
||||
|
||||
# Dotenv
|
||||
.env
|
||||
.env.*
|
||||
*.env
|
||||
!.env.example
|
||||
|
||||
# Heroku bin
|
||||
.heroku/*
|
||||
!.heroku/xdebug-install.sh
|
||||
!.heroku/xdebug.ini
|
||||
|
||||
# Composer
|
||||
/vendor
|
||||
|
||||
# WP-CLI
|
||||
wp-cli.local.yml
|
||||
|
||||
.kube/*
|
||||
!.kube/.gitkeep
|
||||
|
||||
# Local gpg
|
||||
/.gpg
|
||||
|
||||
# Local db backips
|
||||
*.sql
|
||||
*.sql.gz
|
||||
19
.lando.yml
Normal file
19
.lando.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: blog
|
||||
proxy:
|
||||
appserver_nginx:
|
||||
- blog.hvgdev.website
|
||||
|
||||
recipe: wordpress
|
||||
config:
|
||||
php: '8.3'
|
||||
via: nginx
|
||||
database: mariadb:11.4.5
|
||||
webroot: web
|
||||
xdebug: true
|
||||
config:
|
||||
php: config/php.ini
|
||||
vhosts: config/lando.conf.tpl
|
||||
|
||||
services:
|
||||
mailhog:
|
||||
type: mailhog
|
||||
7
Brewfile
Normal file
7
Brewfile
Normal file
@@ -0,0 +1,7 @@
|
||||
brew "editorconfig-checker"
|
||||
brew "composer"
|
||||
brew "wp-cli"
|
||||
tap "shivammathur/php"
|
||||
brew "php@8.3"
|
||||
brew "php-code-sniffer"
|
||||
vscode "Command is only available in WSL or inside a Visual Studio Code terminal."
|
||||
19
LICENSE.md
Normal file
19
LICENSE.md
Normal file
@@ -0,0 +1,19 @@
|
||||
Copyright (c) HVG Kiado ZRT
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
2
Procfile
Normal file
2
Procfile
Normal file
@@ -0,0 +1,2 @@
|
||||
web: heroku-php-nginx -C config/nginx.conf -i config/php.ini web
|
||||
release: composer project-init
|
||||
61
README.md
Normal file
61
README.md
Normal file
@@ -0,0 +1,61 @@
|
||||
<p align="center">
|
||||
<a href="https://roots.io/bedrock/">
|
||||
<img alt="Bedrock" src="https://cdn.roots.io/app/uploads/logo-bedrock.svg" height="100">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://packagist.org/packages/roots/bedrock">
|
||||
<img alt="Packagist Installs" src="https://img.shields.io/packagist/dt/roots/bedrock?label=projects%20created&colorB=2b3072&colorA=525ddc&style=flat-square">
|
||||
</a>
|
||||
|
||||
<a href="https://packagist.org/packages/roots/wordpress">
|
||||
<img alt="roots/wordpress Packagist Downloads" src="https://img.shields.io/packagist/dt/roots/wordpress?label=roots%2Fwordpress%20downloads&logo=roots&logoColor=white&colorB=2b3072&colorA=525ddc&style=flat-square">
|
||||
</a>
|
||||
|
||||
<img src="https://img.shields.io/badge/dynamic/json.svg?url=https://raw.githubusercontent.com/roots/bedrock/master/composer.json&label=wordpress&logo=roots&logoColor=white&query=$.require[%22roots/wordpress%22]&colorB=2b3072&colorA=525ddc&style=flat-square">
|
||||
|
||||
<a href="https://github.com/roots/bedrock/actions/workflows/ci.yml">
|
||||
<img alt="Build Status" src="https://img.shields.io/github/actions/workflow/status/roots/bedrock/ci.yml?branch=master&logo=github&label=CI&style=flat-square">
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/rootswp">
|
||||
<img alt="Follow Roots" src="https://img.shields.io/badge/follow%20@rootswp-1da1f2?logo=twitter&logoColor=ffffff&message=&style=flat-square">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p align="center">WordPress boilerplate with Composer, easier configuration, and an improved folder structure</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://roots.io/bedrock/">Website</a> <a href="https://roots.io/bedrock/docs/installation/">Documentation</a> <a href="https://github.com/roots/bedrock/releases">Releases</a> <a href="https://discourse.roots.io/">Community</a>
|
||||
</p>
|
||||
|
||||
## Sponsors
|
||||
|
||||
Bedrock is an open source project and completely free to use. If you've benefited from our projects and would like to support our future endeavors, please consider [sponsoring Roots](https://github.com/sponsors/roots).
|
||||
|
||||
<div align="center">
|
||||
<a href="https://carrot.com/"><img src="https://cdn.roots.io/app/uploads/carrot.svg" alt="Carrot" width="120" height="90"></a> <a href="https://wordpress.com/"><img src="https://cdn.roots.io/app/uploads/wordpress.svg" alt="WordPress.com" width="120" height="90"></a> <a href="https://worksitesafety.ca/careers/"><img src="https://cdn.roots.io/app/uploads/worksite-safety.svg" alt="Worksite Safety" width="120" height="90"></a> <a href="https://www.itineris.co.uk/"><img src="https://cdn.roots.io/app/uploads/itineris.svg" alt="Itineris" width="120" height="90"></a> <a href="https://bonsai.so/"><img src="https://cdn.roots.io/app/uploads/bonsai.svg" alt="Bonsai" width="120" height="90"></a>
|
||||
</div>
|
||||
|
||||
## Overview
|
||||
|
||||
Bedrock is a WordPress boilerplate for developers that want to manage their projects with Git and Composer. Much of the philosophy behind Bedrock is inspired by the [Twelve-Factor App](http://12factor.net/) methodology, including the [WordPress specific version](https://roots.io/twelve-factor-wordpress/).
|
||||
|
||||
- Better folder structure
|
||||
- Dependency management with [Composer](https://getcomposer.org)
|
||||
- Easy WordPress configuration with environment specific files
|
||||
- Environment variables with [Dotenv](https://github.com/vlucas/phpdotenv)
|
||||
- Autoloader for mu-plugins (use regular plugins as mu-plugins)
|
||||
|
||||
## Getting Started
|
||||
|
||||
See the [Bedrock installation documentation](https://roots.io/bedrock/docs/installation/).
|
||||
|
||||
## Stay Connected
|
||||
|
||||
- Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)
|
||||
- Participate on [Roots Discourse](https://discourse.roots.io/)
|
||||
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
|
||||
- Read the [Roots Blog](https://roots.io/blog/)
|
||||
- Subscribe to the [Roots Newsletter](https://roots.io/newsletter/)
|
||||
103
composer.json
Normal file
103
composer.json
Normal file
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"name": "hvg/blog",
|
||||
"type": "project",
|
||||
"license": "MIT",
|
||||
"description": "WordPress boilerplate with Composer, easier configuration, and an improved folder structure",
|
||||
"homepage": "https://roots.io/bedrock/",
|
||||
"authors": [
|
||||
{
|
||||
"name": "HVG Development",
|
||||
"email": "dev@hvg.hu",
|
||||
"homepage": "https://github.com/hvg-dev"
|
||||
},
|
||||
{
|
||||
"name": "Scott Walkinshaw",
|
||||
"email": "scott.walkinshaw@gmail.com",
|
||||
"homepage": "https://github.com/swalkinshaw"
|
||||
},
|
||||
{
|
||||
"name": "Ben Word",
|
||||
"email": "ben@benword.com",
|
||||
"homepage": "https://github.com/retlehs"
|
||||
}
|
||||
],
|
||||
"keywords": [
|
||||
"bedrock", "composer", "roots", "wordpress", "wp", "wp-config"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/roots/bedrock/issues",
|
||||
"forum": "https://discourse.roots.io/category/bedrock"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"type": "composer",
|
||||
"url": "https://wpackagist.org",
|
||||
"only": ["wpackagist-plugin/*", "wpackagist-theme/*"]
|
||||
},
|
||||
{
|
||||
"type": "vcs",
|
||||
"url": "https://github.com/hvg-dev/hvg-blog-general"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.4 <8.4",
|
||||
"ext-gd": "*",
|
||||
"ext-redis": "*",
|
||||
"ext-mbstring": "*",
|
||||
"ext-soap": "*",
|
||||
"ext-exif": "*",
|
||||
"ext-imagick": "*",
|
||||
"ext-intl": "*",
|
||||
"composer/installers": "~2.2",
|
||||
"vlucas/phpdotenv": "^5.5",
|
||||
"oscarotero/env": "^2.1",
|
||||
"roots/bedrock-autoloader": "^1.0",
|
||||
"roots/bedrock-disallow-indexing": "^2.0",
|
||||
"roots/wordpress": "^6.8.1",
|
||||
"roots/wp-config": "^1.0.0",
|
||||
"humanmade/s3-uploads": "^3.0",
|
||||
"hvg-dev/hvg-blog-general": "dev-main",
|
||||
"wpackagist-theme/twentytwentyfive": "^1.0",
|
||||
"wpackagist-plugin/disable-wordpress-updates": "^1.8",
|
||||
"wpackagist-plugin/disable-comments": "^2.5",
|
||||
"wpackagist-plugin/wp-webhooks": "^3.3",
|
||||
"wpackagist-plugin/two-factor": "^0.14.0",
|
||||
"wpackagist-plugin/user-role-editor": "^4.64",
|
||||
"wpackagist-plugin/comments-from-facebook": "^2.6",
|
||||
"wpackagist-plugin/acme-fix-images": "^2.0",
|
||||
"wpackagist-plugin/ad-inserter": "^2.8",
|
||||
"wpackagist-plugin/wp-api-swaggerui": "^1.2",
|
||||
"wpackagist-plugin/cloudflare": "^4.12",
|
||||
"wpackagist-plugin/menu-image": "^3.13",
|
||||
"wpackagist-plugin/code-snippets": "^3.6"
|
||||
|
||||
},
|
||||
"require-dev": {
|
||||
"heroku/heroku-buildpack-php": "*",
|
||||
"roave/security-advisories": "dev-latest",
|
||||
"laravel/pint": "^1.18"
|
||||
},
|
||||
"config": {
|
||||
"optimize-autoloader": true,
|
||||
"preferred-install": "dist",
|
||||
"allow-plugins": {
|
||||
"composer/installers": true,
|
||||
"roots/wordpress-core-installer": true
|
||||
}
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"extra": {
|
||||
"installer-paths": {
|
||||
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
|
||||
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
|
||||
"web/app/themes/{$name}/": ["type:wordpress-theme"]
|
||||
},
|
||||
"wordpress-install-dir": "web/wp"
|
||||
},
|
||||
"scripts": {
|
||||
"project-init": "php -v",
|
||||
"lint": "pint --test",
|
||||
"lint:fix": "pint"
|
||||
}
|
||||
}
|
||||
3268
composer.lock
generated
Normal file
3268
composer.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
50
config/app/base.php
Normal file
50
config/app/base.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
use Roots\WPConfig\Config;
|
||||
use function Env\env;
|
||||
|
||||
$env_keys = array();
|
||||
|
||||
# App Base environment keys
|
||||
array_push($env_keys, 'BLOG_SLUG');
|
||||
array_push($env_keys, 'USE_CDN');
|
||||
array_push($env_keys, 'GA_CODE');
|
||||
array_push($env_keys, 'GTM_CODE');
|
||||
array_push($env_keys, 'FORCE_SSL_ADMIN');
|
||||
array_push($env_keys, 'FORCE_SSL_LOGIN');
|
||||
array_push($env_keys, 'S3_UPLOADS_BUCKET');
|
||||
array_push($env_keys, 'S3_UPLOADS_REGION');
|
||||
array_push($env_keys, 'S3_UPLOADS_ENDPOINT');
|
||||
array_push($env_keys, 'S3_UPLOADS_BUCKET_URL');
|
||||
array_push($env_keys, 'S3_UPLOADS_DISABLE_REPLACE_UPLOAD_URL');
|
||||
array_push($env_keys, 'S3_UPLOADS_HTTP_CACHE_CONTROL');
|
||||
array_push($env_keys, 'S3_UPLOADS_USE_LOCAL');
|
||||
array_push($env_keys, 'SMTP_ENABLED');
|
||||
array_push($env_keys, 'SMTP_DEBUG');
|
||||
array_push($env_keys, 'SMTP_DOMAIN');
|
||||
array_push($env_keys, 'SMTP_PORT');
|
||||
array_push($env_keys, 'SMTP_SERVER');
|
||||
array_push($env_keys, 'SMTP_SECURE');
|
||||
array_push($env_keys, 'SMTP_LOGIN');
|
||||
array_push($env_keys, 'CLOUDFLARE_EMAIL');
|
||||
array_push($env_keys, 'WP_CF_ACCESS_AUTH_DOMAIN');
|
||||
array_push($env_keys, 'WP_CF_ACCESS_JWT_AUD');
|
||||
array_push($env_keys, 'WP_CF_ACCESS_REDIRECT_LOGIN');
|
||||
###
|
||||
|
||||
# App Secret environment keys
|
||||
array_push($env_keys, 'CLOUDFLARE_API_KEY');
|
||||
array_push($env_keys, 'PUSH_ALERT_WEBSITE_ID');
|
||||
array_push($env_keys, 'S3_UPLOADS_KEY');
|
||||
array_push($env_keys, 'S3_UPLOADS_SECRET');
|
||||
array_push($env_keys, 'SMTP_PASSWORD');
|
||||
###
|
||||
|
||||
foreach ($env_keys as &$env_key) {
|
||||
if (env($env_key)) {
|
||||
Config::define($env_key, env($env_key));
|
||||
}
|
||||
}
|
||||
|
||||
unset($env_key);
|
||||
unset($env_keys);
|
||||
176
config/application.php
Normal file
176
config/application.php
Normal file
@@ -0,0 +1,176 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Your base production configuration goes in this file. Environment-specific
|
||||
* overrides go in their respective config/environments/{{WP_ENV}}.php file.
|
||||
*
|
||||
* A good default policy is to deviate from the production config as little as
|
||||
* possible. Try to define as much of your configuration in this file as you
|
||||
* can.
|
||||
*/
|
||||
|
||||
use Roots\WPConfig\Config;
|
||||
|
||||
use function Env\env;
|
||||
|
||||
// USE_ENV_ARRAY + CONVERT_* + STRIP_QUOTES
|
||||
Env\Env::$options = 31;
|
||||
|
||||
/**
|
||||
* Directory containing all of the site's files
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
$root_dir = dirname(__DIR__);
|
||||
|
||||
/**
|
||||
* Document Root
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
$webroot_dir = $root_dir . '/web';
|
||||
|
||||
/**
|
||||
* Use Dotenv to set required environment variables and load .env file in root
|
||||
* .env.local will override .env if it exists
|
||||
*/
|
||||
if (file_exists($root_dir . '/.env')) {
|
||||
$env_files = file_exists($root_dir . '/.env.local')
|
||||
? ['.env', '.env.local']
|
||||
: ['.env'];
|
||||
|
||||
$repository = Dotenv\Repository\RepositoryBuilder::createWithNoAdapters()
|
||||
->addAdapter(Dotenv\Repository\Adapter\EnvConstAdapter::class)
|
||||
->addAdapter(Dotenv\Repository\Adapter\PutenvAdapter::class)
|
||||
->immutable()
|
||||
->make();
|
||||
|
||||
$dotenv = Dotenv\Dotenv::create($repository, $root_dir, $env_files, false);
|
||||
$dotenv->load();
|
||||
|
||||
$dotenv->required(['WP_HOME', 'WP_SITEURL']);
|
||||
if (!env('DATABASE_URL')) {
|
||||
$dotenv->required(['DB_NAME', 'DB_USER', 'DB_PASSWORD']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up our global environment constant and load its config first
|
||||
* Default: production
|
||||
*/
|
||||
define('WP_ENV', env('WP_ENV') ?: 'production');
|
||||
|
||||
/**
|
||||
* Infer WP_ENVIRONMENT_TYPE based on WP_ENV
|
||||
*/
|
||||
if (!env('WP_ENVIRONMENT_TYPE') && in_array(WP_ENV, ['production', 'staging', 'development', 'local'])) {
|
||||
Config::define('WP_ENVIRONMENT_TYPE', WP_ENV);
|
||||
}
|
||||
|
||||
/**
|
||||
* URLs
|
||||
*/
|
||||
Config::define('WP_HOME', env('WP_HOME'));
|
||||
Config::define('WP_SITEURL', env('WP_SITEURL'));
|
||||
|
||||
/**
|
||||
* Custom Content Directory
|
||||
*/
|
||||
Config::define('CONTENT_DIR', '/app');
|
||||
Config::define('WP_CONTENT_DIR', $webroot_dir . Config::get('CONTENT_DIR'));
|
||||
Config::define('WP_CONTENT_URL', Config::get('WP_HOME') . Config::get('CONTENT_DIR'));
|
||||
|
||||
/**
|
||||
* DB settings
|
||||
*/
|
||||
if (env('DB_SSL')) {
|
||||
Config::define('MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL);
|
||||
}
|
||||
|
||||
Config::define('DB_NAME', env('DB_NAME'));
|
||||
Config::define('DB_USER', env('DB_USER'));
|
||||
Config::define('DB_PASSWORD', env('DB_PASSWORD'));
|
||||
Config::define('DB_HOST', env('DB_HOST') ?: 'localhost');
|
||||
Config::define('DB_CHARSET', 'utf8mb4');
|
||||
Config::define('DB_COLLATE', '');
|
||||
$table_prefix = env('DB_PREFIX') ?: 'wp_';
|
||||
|
||||
if (env('DATABASE_URL')) {
|
||||
$dsn = (object) parse_url(env('DATABASE_URL'));
|
||||
|
||||
Config::define('DB_NAME', substr($dsn->path, 1));
|
||||
Config::define('DB_USER', $dsn->user);
|
||||
Config::define('DB_PASSWORD', isset($dsn->pass) ? $dsn->pass : null);
|
||||
Config::define('DB_HOST', isset($dsn->port) ? "{$dsn->host}:{$dsn->port}" : $dsn->host);
|
||||
}
|
||||
|
||||
/**
|
||||
* Authentication Unique Keys and Salts
|
||||
*/
|
||||
Config::define('AUTH_KEY', env('AUTH_KEY'));
|
||||
Config::define('SECURE_AUTH_KEY', env('SECURE_AUTH_KEY'));
|
||||
Config::define('LOGGED_IN_KEY', env('LOGGED_IN_KEY'));
|
||||
Config::define('NONCE_KEY', env('NONCE_KEY'));
|
||||
Config::define('AUTH_SALT', env('AUTH_SALT'));
|
||||
Config::define('SECURE_AUTH_SALT', env('SECURE_AUTH_SALT'));
|
||||
Config::define('LOGGED_IN_SALT', env('LOGGED_IN_SALT'));
|
||||
Config::define('NONCE_SALT', env('NONCE_SALT'));
|
||||
|
||||
/**
|
||||
* Custom Settings
|
||||
*/
|
||||
Config::define('AUTOMATIC_UPDATER_DISABLED', true);
|
||||
Config::define('DISABLE_WP_CRON', env('DISABLE_WP_CRON') ?: false);
|
||||
|
||||
// Disable the plugin and theme file editor in the admin
|
||||
Config::define('DISALLOW_FILE_EDIT', true);
|
||||
|
||||
// Disable plugin and theme updates and installation from the admin
|
||||
Config::define('DISALLOW_FILE_MODS', true);
|
||||
|
||||
// Limit the number of post revisions
|
||||
Config::define('WP_POST_REVISIONS', env('WP_POST_REVISIONS') ?? true);
|
||||
|
||||
// Disable script concatenation
|
||||
Config::define('CONCATENATE_SCRIPTS', false);
|
||||
|
||||
/**
|
||||
* Debugging Settings
|
||||
*/
|
||||
Config::define('WP_DEBUG_DISPLAY', false);
|
||||
Config::define('WP_DEBUG_LOG', false);
|
||||
Config::define('SCRIPT_DEBUG', false);
|
||||
ini_set('display_errors', '0');
|
||||
|
||||
/**
|
||||
* Allow WordPress to detect HTTPS when used behind a reverse proxy or a load balancer
|
||||
* See https://codex.wordpress.org/Function_Reference/is_ssl#Notes
|
||||
*/
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
|
||||
$_SERVER['HTTPS'] = 'on';
|
||||
}
|
||||
|
||||
### app config
|
||||
$app_configs = glob(__DIR__ . '/app/' . "/*.php");
|
||||
|
||||
foreach ($app_configs as $app_config) {
|
||||
if (file_exists($app_config)) {
|
||||
require_once $app_config;
|
||||
}
|
||||
}
|
||||
###
|
||||
|
||||
$env_config = __DIR__ . '/environments/' . WP_ENV . '.php';
|
||||
|
||||
if (file_exists($env_config)) {
|
||||
require_once $env_config;
|
||||
}
|
||||
|
||||
Config::apply();
|
||||
|
||||
/**
|
||||
* Bootstrap WordPress
|
||||
*/
|
||||
if (!defined('ABSPATH')) {
|
||||
define('ABSPATH', $webroot_dir . '/wp/');
|
||||
}
|
||||
22
config/environments/development.php
Normal file
22
config/environments/development.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Configuration overrides for WP_ENV === 'development'
|
||||
*/
|
||||
|
||||
use Roots\WPConfig\Config;
|
||||
|
||||
use function Env\env;
|
||||
|
||||
Config::define('SAVEQUERIES', true);
|
||||
Config::define('WP_DEBUG', true);
|
||||
Config::define('WP_DEBUG_DISPLAY', true);
|
||||
Config::define('WP_DEBUG_LOG', env('WP_DEBUG_LOG') ?? true);
|
||||
Config::define('WP_DISABLE_FATAL_ERROR_HANDLER', true);
|
||||
Config::define('SCRIPT_DEBUG', true);
|
||||
Config::define('DISALLOW_INDEXING', true);
|
||||
|
||||
ini_set('display_errors', '1');
|
||||
|
||||
// Enable plugin and theme updates and installation from the admin
|
||||
Config::define('DISALLOW_FILE_MODS', false);
|
||||
18
config/environments/staging.php
Normal file
18
config/environments/staging.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Configuration overrides for WP_ENV === 'staging'
|
||||
*/
|
||||
|
||||
use Roots\WPConfig\Config;
|
||||
|
||||
/**
|
||||
* You should try to keep staging as close to production as possible. However,
|
||||
* should you need to, you can always override production configuration values
|
||||
* with `Config::define`.
|
||||
*
|
||||
* Example: `Config::define('WP_DEBUG', true);`
|
||||
* Example: `Config::define('DISALLOW_FILE_MODS', false);`
|
||||
*/
|
||||
|
||||
Config::define('DISALLOW_INDEXING', true);
|
||||
33
config/lando.conf.tpl
Normal file
33
config/lando.conf.tpl
Normal file
@@ -0,0 +1,33 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen 80;
|
||||
listen [::]:80 default ipv6only=on;
|
||||
server_name localhost;
|
||||
|
||||
ssl_certificate /certs/cert.crt;
|
||||
ssl_certificate_key /certs/cert.key;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
root "{{LANDO_WEBROOT}}";
|
||||
|
||||
include /app/config/nginx.conf;
|
||||
|
||||
index index.php index.html index.htm;
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass fpm:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_buffers 256 128k;
|
||||
fastcgi_connect_timeout 300s;
|
||||
fastcgi_send_timeout 300s;
|
||||
fastcgi_read_timeout 300s;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
||||
92
config/nginx.conf
Normal file
92
config/nginx.conf
Normal file
@@ -0,0 +1,92 @@
|
||||
server_tokens off;
|
||||
|
||||
index index.php index.html;
|
||||
charset UTF-8;
|
||||
default_type text/html;
|
||||
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
|
||||
gzip_vary on;
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 6;
|
||||
gzip_buffers 16 8k;
|
||||
gzip_min_length 10;
|
||||
gzip_http_version 1.1;
|
||||
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript image/png image/gif image/jpeg;
|
||||
|
||||
client_max_body_size 1024M;
|
||||
|
||||
include /app/config/nginx/*.conf;
|
||||
|
||||
# Force installation to /wp-admin/install.php so siteurl is always correct
|
||||
rewrite ^/wp/wp-admin/install.php(.*) $scheme://$http_host/wp-admin/install.php permanent;
|
||||
|
||||
# Rewrite rules to allow for an application-like wordpress directory structure
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^/wp-admin$ $scheme://$http_host/wp-admin/ permanent;
|
||||
rewrite ^/(wp-.*.php)$ /wp/$1 last;
|
||||
rewrite ^/(wp-(content|admin|includes).*) /wp/$1 last;
|
||||
}
|
||||
|
||||
# Enable XML-RPC for WordPress
|
||||
rewrite ^/(xmlrpc\.php)$ /wp/$1 last;
|
||||
|
||||
# Hide often probed WordPress file so that finding out the WordPress install
|
||||
# and version would not be too easy
|
||||
location /wp/readme.html {
|
||||
return 404;
|
||||
}
|
||||
|
||||
location = /favicon.ico {
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location = /ads.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# Block direct access to WooCommerce digital downloads. They can be accessed
|
||||
# via the X-Accel-Redirect mechanism for fast and protected downloads.
|
||||
location /wp/wp-content/uploads/woocommerce_uploads/ {
|
||||
internal;
|
||||
}
|
||||
|
||||
# Deny access to any other dot file
|
||||
# ~ matches using regular expression all requests that contain '/.'
|
||||
# anywhere in the URL, eg '/.htaccess' and '/wp-content/.htpasswd'.
|
||||
# This regex will override all non-regex rules, except ^~ rules due
|
||||
# how to Nginx location parsing and priorities works.
|
||||
location ~ \/\. {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~* ^.+\.(css|js|ogg|ogv|svg|svgz|eot|otf|woff|woff2|mp4|ttf|rss|atom|jpg|jpeg|gif|png|webp|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
|
||||
try_files $uri =404;
|
||||
expires max;
|
||||
add_header Pragma "public";
|
||||
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# Use actual file if exists, otherwise pass request to WordPress
|
||||
# Last rule: match all requests (= URLs that start with /)
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
# If front page is requested, skip all other regex and rewrite rules and
|
||||
# pass request directly to WordPress (= URLS that are exactly /)
|
||||
# Tip from https://www.scalescale.com/tips/nginx/nginx-location-directive/
|
||||
location = / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
0
config/nginx/.gitkeep
Normal file
0
config/nginx/.gitkeep
Normal file
0
config/php.ini
Normal file
0
config/php.ini
Normal file
333
nginx.conf
Normal file
333
nginx.conf
Normal file
@@ -0,0 +1,333 @@
|
||||
# configuration file /opt/bitnami/nginx/conf/nginx.conf:
|
||||
# Based on https://www.nginx.com/resources/wiki/start/topics/examples/full/#nginx-conf
|
||||
user daemon daemon; ## Default: nobody
|
||||
|
||||
worker_processes auto;
|
||||
error_log "/opt/bitnami/nginx/logs/error.log";
|
||||
pid "/opt/bitnami/nginx/tmp/nginx.pid";
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
|
||||
default_type application/octet-stream;
|
||||
|
||||
fastcgi_buffers 16 16k;
|
||||
fastcgi_buffer_size 32k;
|
||||
|
||||
client_body_temp_path "/opt/bitnami/nginx/tmp/client_body" 1 2;
|
||||
proxy_temp_path "/opt/bitnami/nginx/tmp/proxy" 1 2;
|
||||
fastcgi_temp_path "/opt/bitnami/nginx/tmp/fastcgi" 1 2;
|
||||
scgi_temp_path "/opt/bitnami/nginx/tmp/scgi" 1 2;
|
||||
uwsgi_temp_path "/opt/bitnami/nginx/tmp/uwsgi" 1 2;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] '
|
||||
'"$request" $status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log "/opt/bitnami/nginx/logs/access.log";
|
||||
|
||||
sendfile on;
|
||||
|
||||
tcp_nopush on;
|
||||
tcp_nodelay off;
|
||||
|
||||
keepalive_timeout 65;
|
||||
gzip on;
|
||||
gzip_http_version 1.0;
|
||||
gzip_comp_level 2;
|
||||
gzip_proxied any;
|
||||
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
|
||||
map $http_x_forwarded_proto $lando_https {
|
||||
default '';
|
||||
https on;
|
||||
}
|
||||
|
||||
map $http_x_forwarded_proto $http_user_agent_https {
|
||||
default '';
|
||||
https ON;
|
||||
}
|
||||
|
||||
client_max_body_size 80M;
|
||||
server_tokens off;
|
||||
include "/opt/bitnami/nginx/conf/vhosts/*.conf";
|
||||
|
||||
# HTTP Server
|
||||
server {
|
||||
# port to listen on. Can also be set to an IP:PORT
|
||||
listen 80;
|
||||
|
||||
location /status {
|
||||
stub_status on;
|
||||
access_log off;
|
||||
allow 127.0.0.1;
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# configuration file /opt/bitnami/nginx/conf/mime.types:
|
||||
|
||||
types {
|
||||
text/html html htm shtml;
|
||||
text/css css;
|
||||
text/xml xml;
|
||||
image/gif gif;
|
||||
image/jpeg jpeg jpg;
|
||||
application/javascript js;
|
||||
application/atom+xml atom;
|
||||
application/rss+xml rss;
|
||||
|
||||
text/mathml mml;
|
||||
text/plain txt;
|
||||
text/vnd.sun.j2me.app-descriptor jad;
|
||||
text/vnd.wap.wml wml;
|
||||
text/x-component htc;
|
||||
|
||||
image/avif avif;
|
||||
image/png png;
|
||||
image/svg+xml svg svgz;
|
||||
image/tiff tif tiff;
|
||||
image/vnd.wap.wbmp wbmp;
|
||||
image/webp webp;
|
||||
image/x-icon ico;
|
||||
image/x-jng jng;
|
||||
image/x-ms-bmp bmp;
|
||||
|
||||
font/woff woff;
|
||||
font/woff2 woff2;
|
||||
|
||||
application/java-archive jar war ear;
|
||||
application/json json;
|
||||
application/mac-binhex40 hqx;
|
||||
application/msword doc;
|
||||
application/pdf pdf;
|
||||
application/postscript ps eps ai;
|
||||
application/rtf rtf;
|
||||
application/vnd.apple.mpegurl m3u8;
|
||||
application/vnd.google-earth.kml+xml kml;
|
||||
application/vnd.google-earth.kmz kmz;
|
||||
application/vnd.ms-excel xls;
|
||||
application/vnd.ms-fontobject eot;
|
||||
application/vnd.ms-powerpoint ppt;
|
||||
application/vnd.oasis.opendocument.graphics odg;
|
||||
application/vnd.oasis.opendocument.presentation odp;
|
||||
application/vnd.oasis.opendocument.spreadsheet ods;
|
||||
application/vnd.oasis.opendocument.text odt;
|
||||
application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||
pptx;
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
||||
xlsx;
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
||||
docx;
|
||||
application/vnd.wap.wmlc wmlc;
|
||||
application/wasm wasm;
|
||||
application/x-7z-compressed 7z;
|
||||
application/x-cocoa cco;
|
||||
application/x-java-archive-diff jardiff;
|
||||
application/x-java-jnlp-file jnlp;
|
||||
application/x-makeself run;
|
||||
application/x-perl pl pm;
|
||||
application/x-pilot prc pdb;
|
||||
application/x-rar-compressed rar;
|
||||
application/x-redhat-package-manager rpm;
|
||||
application/x-sea sea;
|
||||
application/x-shockwave-flash swf;
|
||||
application/x-stuffit sit;
|
||||
application/x-tcl tcl tk;
|
||||
application/x-x509-ca-cert der pem crt;
|
||||
application/x-xpinstall xpi;
|
||||
application/xhtml+xml xhtml;
|
||||
application/xspf+xml xspf;
|
||||
application/zip zip;
|
||||
|
||||
application/octet-stream bin exe dll;
|
||||
application/octet-stream deb;
|
||||
application/octet-stream dmg;
|
||||
application/octet-stream iso img;
|
||||
application/octet-stream msi msp msm;
|
||||
|
||||
audio/midi mid midi kar;
|
||||
audio/mpeg mp3;
|
||||
audio/ogg ogg;
|
||||
audio/x-m4a m4a;
|
||||
audio/x-realaudio ra;
|
||||
|
||||
video/3gpp 3gpp 3gp;
|
||||
video/mp2t ts;
|
||||
video/mp4 mp4;
|
||||
video/mpeg mpeg mpg;
|
||||
video/quicktime mov;
|
||||
video/webm webm;
|
||||
video/x-flv flv;
|
||||
video/x-m4v m4v;
|
||||
video/x-mng mng;
|
||||
video/x-ms-asf asx asf;
|
||||
video/x-ms-wmv wmv;
|
||||
video/x-msvideo avi;
|
||||
}
|
||||
|
||||
# configuration file /opt/bitnami/nginx/conf/vhosts/lando.conf:
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen 80;
|
||||
listen [::]:80 default ipv6only=on;
|
||||
server_name localhost;
|
||||
|
||||
ssl_certificate /certs/cert.crt;
|
||||
ssl_certificate_key /certs/cert.key;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
root "/app/web";
|
||||
|
||||
include /app/config/nginx.conf;
|
||||
|
||||
index index.php index.html index.htm;
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass fpm:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_buffers 256 128k;
|
||||
fastcgi_connect_timeout 300s;
|
||||
fastcgi_send_timeout 300s;
|
||||
fastcgi_read_timeout 300s;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
||||
# configuration file /app/config/nginx.conf:
|
||||
server_tokens off;
|
||||
|
||||
index index.php index.html;
|
||||
charset UTF-8;
|
||||
default_type text/html;
|
||||
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
|
||||
gzip_vary on;
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 6;
|
||||
gzip_buffers 16 8k;
|
||||
gzip_min_length 10;
|
||||
gzip_http_version 1.1;
|
||||
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript image/png image/gif image/jpeg;
|
||||
|
||||
client_max_body_size 1024M;
|
||||
|
||||
include /app/config/nginx/*.conf;
|
||||
|
||||
# Force installation to /wp-admin/install.php so siteurl is always correct
|
||||
rewrite ^/wp/wp-admin/install.php(.*) $scheme://$http_host/wp-admin/install.php permanent;
|
||||
|
||||
# Rewrite rules to allow for an application-like wordpress directory structure
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^/wp-admin$ $scheme://$http_host/wp-admin/ permanent;
|
||||
rewrite ^/(wp-.*.php)$ /wp/$1 last;
|
||||
rewrite ^/(wp-(content|admin|includes).*) /wp/$1 last;
|
||||
}
|
||||
|
||||
# Enable XML-RPC for WordPress
|
||||
rewrite ^/(xmlrpc\.php)$ /wp/$1 last;
|
||||
|
||||
# Hide often probed WordPress file so that finding out the WordPress install
|
||||
# and version would not be too easy
|
||||
location /wp/readme.html {
|
||||
return 404;
|
||||
}
|
||||
|
||||
location = /favicon.ico {
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location = /ads.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# Block direct access to WooCommerce digital downloads. They can be accessed
|
||||
# via the X-Accel-Redirect mechanism for fast and protected downloads.
|
||||
location /wp/wp-content/uploads/woocommerce_uploads/ {
|
||||
internal;
|
||||
}
|
||||
|
||||
# Deny access to any other dot file
|
||||
# ~ matches using regular expression all requests that contain '/.'
|
||||
# anywhere in the URL, eg '/.htaccess' and '/wp-content/.htpasswd'.
|
||||
# This regex will override all non-regex rules, except ^~ rules due
|
||||
# how to Nginx location parsing and priorities works.
|
||||
location ~ \/\. {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~* ^.+\.(css|js|ogg|ogv|svg|svgz|eot|otf|woff|woff2|mp4|ttf|rss|atom|jpg|jpeg|gif|png|webp|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
|
||||
try_files $uri =404;
|
||||
expires max;
|
||||
add_header Pragma "public";
|
||||
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# Use actual file if exists, otherwise pass request to WordPress
|
||||
# Last rule: match all requests (= URLs that start with /)
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
# If front page is requested, skip all other regex and rewrite rules and
|
||||
# pass request directly to WordPress (= URLS that are exactly /)
|
||||
# Tip from https://www.scalescale.com/tips/nginx/nginx-location-directive/
|
||||
location = / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
# configuration file /opt/bitnami/nginx/conf/fastcgi_params:
|
||||
fastcgi_param QUERY_STRING $query_string;
|
||||
fastcgi_param REQUEST_METHOD $request_method;
|
||||
fastcgi_param CONTENT_TYPE $content_type;
|
||||
fastcgi_param CONTENT_LENGTH $content_length;
|
||||
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
||||
fastcgi_param REQUEST_URI $request_uri;
|
||||
fastcgi_param DOCUMENT_URI $document_uri;
|
||||
fastcgi_param DOCUMENT_ROOT $document_root;
|
||||
fastcgi_param SERVER_PROTOCOL $server_protocol;
|
||||
|
||||
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
|
||||
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
|
||||
|
||||
fastcgi_param REMOTE_ADDR $remote_addr;
|
||||
fastcgi_param REMOTE_PORT $remote_port;
|
||||
fastcgi_param SERVER_ADDR $server_addr;
|
||||
fastcgi_param SERVER_PORT $server_port;
|
||||
fastcgi_param SERVER_NAME $server_name;
|
||||
|
||||
fastcgi_param HTTPS $lando_https if_not_empty;
|
||||
fastcgi_param HTTP_USER_AGENT_HTTPS $http_user_agent_https if_not_empty;
|
||||
|
||||
# PHP only, required if PHP was built with --enable-force-cgi-redirect
|
||||
fastcgi_param REDIRECT_STATUS 200;
|
||||
|
||||
9
pint.json
Normal file
9
pint.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"preset": "per",
|
||||
"exclude": [
|
||||
"web/wp",
|
||||
"web/app/mu-plugins/bedrock-disallow-indexing",
|
||||
"web/app/plugins",
|
||||
"web/app/themes/twentytwentyfive"
|
||||
]
|
||||
}
|
||||
19
project.toml
Normal file
19
project.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[_]
|
||||
schema-version = "0.2"
|
||||
|
||||
[_.metadata]
|
||||
org.opencontainers.image.source = "https://github.com/HVG/wp"
|
||||
org.opencontainers.image.description= "HVG Blog cnb image"
|
||||
|
||||
|
||||
[io.buildpacks]
|
||||
builder = "heroku/builder:24"
|
||||
include = [
|
||||
".profile.d",
|
||||
"Procfile",
|
||||
"config",
|
||||
"web",
|
||||
"wp-cli.yml",
|
||||
"composer.json",
|
||||
"composer.lock"
|
||||
]
|
||||
186
web/app/languages/admin-hu_HU.l10n.php
Normal file
186
web/app/languages/admin-hu_HU.l10n.php
Normal file
File diff suppressed because one or more lines are too long
BIN
web/app/languages/admin-hu_HU.mo
Normal file
BIN
web/app/languages/admin-hu_HU.mo
Normal file
Binary file not shown.
16415
web/app/languages/admin-hu_HU.po
Normal file
16415
web/app/languages/admin-hu_HU.po
Normal file
File diff suppressed because it is too large
Load Diff
3
web/app/languages/admin-network-hu_HU.l10n.php
Normal file
3
web/app/languages/admin-network-hu_HU.l10n.php
Normal file
File diff suppressed because one or more lines are too long
BIN
web/app/languages/admin-network-hu_HU.mo
Normal file
BIN
web/app/languages/admin-network-hu_HU.mo
Normal file
Binary file not shown.
1456
web/app/languages/admin-network-hu_HU.po
Normal file
1456
web/app/languages/admin-network-hu_HU.po
Normal file
File diff suppressed because it is too large
Load Diff
2
web/app/languages/continents-cities-hu_HU.l10n.php
Normal file
2
web/app/languages/continents-cities-hu_HU.l10n.php
Normal file
File diff suppressed because one or more lines are too long
BIN
web/app/languages/continents-cities-hu_HU.mo
Normal file
BIN
web/app/languages/continents-cities-hu_HU.mo
Normal file
Binary file not shown.
2124
web/app/languages/continents-cities-hu_HU.po
Normal file
2124
web/app/languages/continents-cities-hu_HU.po
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"The suggested policy text has been copied to your clipboard.":["A javasolt adatv\u00e9delmi sz\u00f6veg a v\u00e1g\u00f3lapra m\u00e1solva."],"This user’s personal data export file was downloaded.":["A felhaszn\u00e1l\u00f3 szem\u00e9lyes adatainak export\u00e1l\u00e1si f\u00e1jlj\u00e1t let\u00f6lt\u00f6tte."],"This user’s personal data export link was sent.":["A felhaszn\u00e1l\u00f3 szem\u00e9lyes adatainak export\u00e1l\u00e1si linkj\u00e9t elk\u00fcldt\u00fck."],"An error occurred while attempting to find and erase personal data.":["Szem\u00e9lyes adat el\u0151keres\u00e9si \u00e9s elt\u00e1vol\u00edt\u00e1si k\u00eds\u00e9rlete sor\u00e1n hiba t\u00f6rt\u00e9nt."],"Personal data was found for this user but some of the personal data found was not erased.":["Tal\u00e1ltunk a felhaszn\u00e1l\u00f3hoz k\u00f6thet\u0151 szem\u00e9lyes adatot, de ezek k\u00f6z\u00fcl n\u00e9h\u00e1ny nem t\u00e1vol\u00edthat\u00f3 el."],"All of the personal data found for this user was erased.":["Ehhez a felhaszn\u00e1l\u00f3hoz tartoz\u00f3 minden adat t\u00f6r\u00f6lve lett."],"Personal data was found for this user but was not erased.":["Tal\u00e1ltunk a felhaszn\u00e1l\u00f3hoz k\u00f6thet\u0151 szem\u00e9lyes adatot, de nem ker\u00fclt t\u00f6rl\u00e9sre."],"No personal data was found for this user.":["Ehhez a felhaszn\u00e1l\u00f3hoz k\u00f6thet\u0151 szem\u00e9lyes adatot nem tal\u00e1ltunk."],"An error occurred while attempting to export personal data.":["Hiba t\u00f6rt\u00e9nt a szem\u00e9lyes adatok export\u00e1l\u00e1sa sor\u00e1n."],"No personal data export file was generated.":["Nem j\u00f6tt l\u00e9tre szem\u00e9lyes adatok export\u00e1l\u00f3 f\u00e1jlja."]}},"comment":{"reference":"wp-admin\/js\/privacy-tools.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Editor tips":["Szerkeszt\u0151i aj\u00e1nl\u00e1sok"],"Disable tips":["Tippek kikapcsol\u00e1sa"],"Got it":["\u00c9rtem"],"See next tip":["K\u00f6vetkez\u0151 tipp"]}},"comment":{"reference":"wp-includes\/js\/dist\/nux.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"%1$s is deprecated since version %2$s! Use %3$s instead. Please consider writing more inclusive code.":["%1$s elavult, mivel a(z) %2$s verzi\u00f3! Haszn\u00e1lja helyette a(z) %3$s verzi\u00f3t. K\u00e9rj\u00fck, fontoljon meg egy befogad\u00f3bb k\u00f3d meg\u00edr\u00e1s\u00e1t."]}},"comment":{"reference":"wp-admin\/js\/password-strength-meter.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"%s applied.":["%s alkalmazva."],"%s removed.":["%s elt\u00e1vol\u00edtva."]}},"comment":{"reference":"wp-includes\/js\/dist\/rich-text.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"pattern (singular)\u0004Synced":["Szinkroniz\u00e1lva"],"Sync this pattern across multiple locations.":["Szinkroniz\u00e1ljuk a mint\u00e1t t\u00f6bb helysz\u00ednen."],"Unsynced pattern created: %s":["Nem szinkroniz\u00e1lt minta l\u00e9trehozva: %s"],"Synced pattern created: %s":["Szinkroniz\u00e1lt minta l\u00e9trehozva: %s"],"Untitled pattern block":["C\u00edm n\u00e9lk\u00fcli minta blokk"],"My pattern":["Mint\u00e1m"],"Create pattern":["Minta l\u00e9trehoz\u00e1sa"],"Manage patterns":["Mint\u00e1k kezel\u00e9se"],"Create":["L\u00e9trehoz\u00e1s"],"Detach":["Lev\u00e1laszt\u00e1s"],"Cancel":["M\u00e9gsem"],"Name":["N\u00e9v"]}},"comment":{"reference":"wp-includes\/js\/dist\/reusable-blocks.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"%1$s Block. Row %2$d":["%1$s blokk. %2$d. sor"],"Design":["Kin\u00e9zet"],"%s Block":["%s Blokk"],"%1$s Block. %2$s":["%1$s Blokk. %2$s"],"%1$s Block. Column %2$d":["%1$s blokk. %2$d oszlop"],"%1$s Block. Column %2$d. %3$s":["%1$s Blokk. Oszlop: %2$d. %3$s"],"%1$s Block. Row %2$d. %3$s":["%1$s blokk. %2$d. sor %3$s"],"Reusable blocks":["\u00dajrafelhaszn\u00e1lhat\u00f3 blokkok"],"Embeds":["Be\u00e1gyaz\u00e1sok"],"Text":["Sz\u00f6veg"],"Widgets":["Widgetek"],"Theme":["Sablon"],"Media":["M\u00e9dia"]}},"comment":{"reference":"wp-includes\/js\/dist\/blocks.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"You are probably offline.":["Val\u00f3sz\u00edn\u0171leg offline vagyunk."],"Media upload failed. If this is a photo or a large image, please scale it down and try again.":["A m\u00e9dia felt\u00f6lt\u00e9se nem siker\u00fclt. Ha, ez egy f\u00e9nyk\u00e9p vagy egy nagy k\u00e9p, akkor m\u00e9retezz\u00fck \u00e1t, \u00e9s pr\u00f3b\u00e1ljuk \u00fajra."],"The response is not a valid JSON response.":["A v\u00e1lasz egy \u00e9rv\u00e9nytelen JSON v\u00e1lasz."],"An unknown error occurred.":["Ismeretlen hiba t\u00f6rt\u00e9nt."]}},"comment":{"reference":"wp-includes\/js\/dist\/api-fetch.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Submitted on:":["Elk\u00fcldve:"],"%1$s %2$s, %3$s at %4$s:%5$s":["%3$s. %1$s %2$s. %4$s:%5$s"]}},"comment":{"reference":"wp-admin\/js\/comment.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Selected crop ratio exceeds the boundaries of the image. Try a different ratio.":["A kiv\u00e1lasztott kiv\u00e1g\u00e1si ar\u00e1ny t\u00falterjeszkedik a k\u00e9p m\u00e9ret\u00e9n. Pr\u00f3b\u00e1ljunk ki m\u00e1sikat."],"Could not load the preview image.":["Nem siker\u00fclt bet\u00f6lteni az el\u0151n\u00e9zeti k\u00e9pet."],"Could not load the preview image. Please reload the page and try again.":["Az el\u0151n\u00e9zeti k\u00e9p nem olvashat\u00f3 be. Friss\u00edts\u00fck a b\u00f6ng\u00e9sz\u0151nkben az oldalt, \u00e9s pr\u00f3b\u00e1ljuk meg \u00fajra."],"Image updated.":["K\u00e9p friss\u00edtve."]}},"comment":{"reference":"wp-admin\/js\/image-edit.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"pattern\u0004\"%s\" duplicated.":["\"%s\" megkett\u0151zve."],"pattern\u0004%s (Copy)":["%s (M\u00e1sol)"],"These blocks are editable using overrides.":["Ezek a blokkok fel\u00fclb\u00edr\u00e1l\u00e1sokkal szerkeszthet\u0151k."],"This %1$s is editable using the \"%2$s\" override.":["Ez a %1$s szerkeszthet\u0151 a \u201e%2$s\u201d fel\u00fcl\u00edr\u00e1ssal."],"Allow changes to this block throughout instances of this pattern.":["Enged\u00e9lyezz\u00fck a blokk m\u00f3dos\u00edt\u00e1sait a minta minden p\u00e9ld\u00e1ny\u00e1n."],"Overrides currently don't support image captions or links. Remove the caption or link first before enabling overrides.":["A fel\u00fclb\u00edr\u00e1l\u00e1sok jelenleg nem t\u00e1mogatj\u00e1k a k\u00e9pal\u00e1\u00edr\u00e1sokat vagy linkeket. A fel\u00fcl\u00edr\u00e1sok enged\u00e9lyez\u00e9se el\u0151tt t\u00e1vol\u00edtsa el a feliratot vagy a hivatkoz\u00e1st."],"Disable":["Kikapcsol\u00e1s"],"Are you sure you want to disable overrides? Disabling overrides will revert all applied overrides for this block throughout instances of this pattern.":["Biztos, hogy kikapcsoljuk a fel\u00fclb\u00edr\u00e1l\u00e1st? A fel\u00fclb\u00edr\u00e1l\u00e1sok letilt\u00e1sa vissza\u00e1ll\u00edtja az \u00f6sszes alkalmazott fel\u00fclb\u00edr\u00e1l\u00e1st erre a blokkra a minta \u00f6sszes p\u00e9ld\u00e1ny\u00e1ban."],"Disable overrides":["Fel\u00fclb\u00edr\u00e1l\u00e1sok tilt\u00e1sa"],"For example, if you are creating a recipe pattern, you use \"Recipe Title\", \"Recipe Description\", etc.":["P\u00e9ld\u00e1ul, ha recept mint\u00e1t hozunk l\u00e9tre, haszn\u00e1ljuk a \u201eRecept c\u00edme\u201d, \u201eRecept le\u00edr\u00e1s\u201d stb."],"Overrides are changes you make to a block within a synced pattern instance. Use overrides to customize a synced pattern instance to suit its new context. Name this block to specify an override.":["A fel\u00fcl\u00edr\u00e1sok a szinkroniz\u00e1lt mintap\u00e9ld\u00e1nyon bel\u00fcli blokkon v\u00e9grehajtott m\u00f3dos\u00edt\u00e1sok. A fel\u00fcl\u00edr\u00e1sok haszn\u00e1lat\u00e1val testreszabhatja a szinkroniz\u00e1lt mintap\u00e9ld\u00e1nyokat az \u00faj kontextusnak megfelel\u0151en. Nevezze el ezt a blokkot egy fel\u00fcl\u00edr\u00e1s megad\u00e1s\u00e1hoz."],"Enable overrides":["Fel\u00fclb\u00edr\u00e1l\u00e1sok enged\u00e9lyez\u00e9se"],"Overrides":["Fel\u00fcl\u00edr\u00e1sok"],"pattern (singular)\u0004Synced":["Szinkroniz\u00e1lva"],"Pattern category renamed.":["Mintakateg\u00f3ria \u00e1tnevezve."],"This category already exists. Please use a different name.":["Ez a kateg\u00f3ria m\u00e1r l\u00e9tezik. Haszn\u00e1ljunk m\u00e1sik nevet!"],"Please enter a new name for this category.":["Adjunk meg \u00faj nevet ehhez a kateg\u00f3ri\u00e1hoz!"],"Pattern renamed":["Minta \u00e1tnevezve"],"Sync this pattern across multiple locations.":["Szinkroniz\u00e1ljuk a mint\u00e1t t\u00f6bb helysz\u00ednen."],"Duplicate pattern":["Minta duplik\u00e1l\u00e1sa"],"Block name changed to: \"%s\".":["A blokk neve megv\u00e1ltoztatva: \"%s\"."],"Unsynced pattern created: %s":["Nem szinkroniz\u00e1lt minta l\u00e9trehozva: %s"],"Synced pattern created: %s":["Szinkroniz\u00e1lt minta l\u00e9trehozva: %s"],"My pattern":["Mint\u00e1m"],"Create pattern":["Minta l\u00e9trehoz\u00e1sa"],"An error occurred while renaming the pattern.":["Hiba t\u00f6rt\u00e9nt a minta \u00e1tnevez\u00e9se k\u00f6zben."],"Manage patterns":["Mint\u00e1k kezel\u00e9se"],"Rename":["\u00c1tnevez\u00e9s"],"Duplicate":["M\u00e1solat"],"Reset":["Vissza\u00e1ll\u00edt"],"Detach":["Lev\u00e1laszt\u00e1s"],"Enable":["Bekapcsol\u00e1s"],"Add":["Hozz\u00e1ad"],"Cancel":["M\u00e9gsem"],"Name":["N\u00e9v"],"Categories":["Kateg\u00f3ri\u00e1k"],"Save":["Ment\u00e9s"]}},"comment":{"reference":"wp-includes\/js\/dist\/patterns.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Search commands and settings":["Parancsok \u00e9s be\u00e1ll\u00edt\u00e1sok keres\u00e9se"],"Command suggestions":["Parancs javaslatok"],"Command palette":["Parancs Paletta"],"Open the command palette.":["Parancs paletta megnyit\u00e1sa."],"No results found.":["Nincs ilyen adat."]}},"comment":{"reference":"wp-includes\/js\/dist\/commands.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Pattern imported successfully!":["Minta import\u00e1l\u00e1sa sikeres!"],"Invalid pattern JSON file":["\u00c9rv\u00e9nytelen minta JSON f\u00e1jl"],"button label\u0004Import":["Import\u00e1l\u00e1s"],"Unknown error":["Ismeretlen hiba"],"Invalid JSON file":["\u00c9rv\u00e9nytelen JSON f\u00e1jl"],"Import from JSON":["Import\u00e1l\u00e1s JSON-b\u00f3l"],"File":["F\u00e1jl"]}},"comment":{"reference":"wp-includes\/js\/dist\/list-reusable-blocks.js"}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Annotation":["Magyar\u00e1zat"]}},"comment":{"reference":"wp-includes\/js\/dist\/annotations.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Notifications":["\u00c9rtes\u00edt\u00e9sek"]}},"comment":{"reference":"wp-includes\/js\/dist\/a11y.js"}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Global Styles":["Glob\u00e1lis st\u00edlusok"],"Widget types":["Widget t\u00edpusok"],"Menu Item":["Men\u00fc elem"],"Comment":["Hozz\u00e1sz\u00f3l\u00e1s"],"Widget areas":["Widget ter\u00fcletek"],"Site":["Webhely"],"Post Type":["Bejegyz\u00e9s t\u00edpus"],"Taxonomy":["Oszt\u00e1lyoz\u00e1si rendszer"],"Menu Location":["Men\u00fc helye"],"Status":["\u00c1llapot"],"Menu":["Men\u00fc"],"User":["Felhaszn\u00e1l\u00f3"],"Base":["Base"],"Widgets":["Widgetek"],"Themes":["Sablonok"],"(no title)":["(nincs c\u00edm)"],"Media":["M\u00e9dia"],"Plugins":["B\u0151v\u00edtm\u00e9nyek"]}},"comment":{"reference":"wp-includes\/js\/dist\/core-data.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Running additional tests... please wait.":["Tov\u00e1bbi tesztek futtat\u00e1sa... egy kis t\u00fcrelem."],"All site health tests have finished running. There are items that should be addressed.":["Valamennyi ellen\u0151rz\u00e9s sikeresen lefutott, de van n\u00e9h\u00e1ny t\u00e9tel, amellyel foglalkozni kell."],"All site health tests have finished running. Your site is looking good.":["Valamennyi ellen\u0151rz\u00e9s sikeresen lefutott. Nincs sz\u00fcks\u00e9g beavatkoz\u00e1sra."],"Unavailable":["Nem \u00e9rhet\u0151 el"],"No details available":["A r\u00e9szletek nem \u00e1llnak rendelkez\u00e9sre"],"A test is unavailable":["Egy teszt nem \u00e9rhet\u0151 el"],"Should be improved":["Fejleszt\u00e9sre szorul"],"Good":["J\u00f3"],"%s critical issue":["%s kritikus probl\u00e9ma","%s kritikus probl\u00e9ma"],"%s item with no issues detected":["%s probl\u00e9ma n\u00e9lk\u00fcli elem","%s probl\u00e9ma n\u00e9lk\u00fcli elem"],"%s recommended improvement":["%s jav\u00edt\u00e1sra aj\u00e1nlott","%s jav\u00edt\u00e1sra aj\u00e1nlott"],"Site information has been copied to your clipboard.":["A weboldal adatai a v\u00e1g\u00f3lapra ker\u00fcltek."]}},"comment":{"reference":"wp-admin\/js\/site-health.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Use as featured image":["Haszn\u00e1lat kiemelt k\u00e9pk\u00e9nt"],"Saving\u2026":["Ment\u00e9s..."],"Could not set that as the thumbnail image. Try a different attachment.":["A b\u00e9lyegk\u00e9p nem \u00e1ll\u00edthat\u00f3 be. Egy m\u00e1sikkal kellene pr\u00f3b\u00e1lkozni."],"Done":["K\u00e9sz"]}},"comment":{"reference":"wp-admin\/js\/set-post-thumbnail.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Screen Options updated.":["K\u00e9perny\u0151 opci\u00f3k friss\u00fcltek."],"Drag boxes here":["H\u00fazzunk ide dobozokat"],"Add boxes from the Screen Options menu":["Dobozok hozz\u00e1ad\u00e1sa a K\u00e9perny\u0151 opci\u00f3k men\u00fcb\u0151l"],"The boxes order has been saved.":["A dobozok sorrendje ment\u00e9sre ker\u00fclt."],"The box is on the last position":["A doboz az utols\u00f3 helyen van"],"The box is on the first position":["A doboz az els\u0151 helyen van"]}},"comment":{"reference":"wp-admin\/js\/postbox.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Widget has been added to the selected sidebar":["A widget hozz\u00e1adva a kijel\u00f6lt oldals\u00e1vhoz."],"Saved":["Elmentve"],"The changes you made will be lost if you navigate away from this page.":["A v\u00e1ltoztat\u00e1sok elvesznek, ha elhagyjuk az oldalt."],"Save":["Ment\u00e9s"]}},"comment":{"reference":"wp-admin\/js\/widgets.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"All application passwords revoked.":["Minden alkalmaz\u00e1s jelsz\u00f3 visszavonva."],"Are you sure you want to revoke all passwords? This action cannot be undone.":["Biztosan visszavonja az \u00f6sszes jelsz\u00f3t? Ez a m\u0171velet nem vonhat\u00f3 vissza."],"Application password revoked.":["Az alkalmaz\u00e1s jelszav\u00e1t visszavont\u00e1k."],"Are you sure you want to revoke this password? This action cannot be undone.":["Biztosan visszavonja ezt a jelsz\u00f3t? Ez a m\u0171velet nem vonhat\u00f3 vissza."],"Dismiss this notice.":["\u00c9rtes\u00edt\u00e9s elvet\u00e9se."]}},"comment":{"reference":"wp-admin\/js\/application-passwords.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"URL Slug":["URL c\u00edm"],"Permalink saved":["A k\u00f6zvetlen hivatkoz\u00e1s elmentve"],"Published on:":["K\u00f6zz\u00e9t\u00e9ve:"],"Publish on:":["K\u00f6zz\u00e9t\u00e9tel:"],"Schedule for:":["\u00dctemez\u00e9s:"],"Saving Draft\u2026":["V\u00e1zlat ment\u00e9se\u2026"],"No more comments found.":["Nincsenek tov\u00e1bbi hozz\u00e1sz\u00f3l\u00e1sok."],"Show more comments":["Tov\u00e1bbi hozz\u00e1sz\u00f3l\u00e1sok mutat\u00e1sa"],"post action\/button label\u0004Schedule":["Id\u0151z\u00edt\u00e9s"],"%1$s %2$s, %3$s at %4$s:%5$s":["%3$s. %1$s %2$s. %4$s:%5$s"],"Public, Sticky":["Nyilv\u00e1nos, Kiemelt"],"Privately Published":["Mag\u00e1njelleg\u0171k\u00e9nt k\u00f6zz\u00e9t\u00e9ve"],"Save as Pending":["Ment\u00e9s, mint f\u00fcgg\u0151ben l\u00e9v\u0151"],"Password Protected":["Jelsz\u00f3val v\u00e9dett"],"The file URL has been copied to your clipboard":["A f\u00e1jl URL a v\u00e1g\u00f3lapra ker\u00fclt."],"Could not set that as the thumbnail image. Try a different attachment.":["A b\u00e9lyegk\u00e9p nem \u00e1ll\u00edthat\u00f3 be. Egy m\u00e1sikkal kellene pr\u00f3b\u00e1lkozni."],"The changes you made will be lost if you navigate away from this page.":["A v\u00e1ltoztat\u00e1sok elvesznek, ha elhagyjuk az oldalt."],"Update":["Friss\u00edt\u00e9s"],"Public":["Nyilv\u00e1nos"],"Private":["Mag\u00e1n"],"OK":["OK"],"Save Draft":["Ment\u00e9s v\u00e1zlatk\u00e9nt"],"Cancel":["M\u00e9gsem"],"Publish":["K\u00f6zz\u00e9t\u00e9tel"],"Published":["K\u00f6zz\u00e9t\u00e9ve"]}},"comment":{"reference":"wp-admin\/js\/post.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Are you sure you want to do this?\nThe comment changes you made will be lost.":["Eg\u00e9szen bizonyos, hogy ezt szeretn\u00e9nk tenni?\nA hozz\u00e1sz\u00f3l\u00e1s m\u00f3dos\u00edt\u00e1sok el fognak veszni."],"Are you sure you want to edit this comment?\nThe changes you made will be lost.":["Biztos, hogy szerkeszten\u00e9nk ezt a hozz\u00e1sz\u00f3l\u00e1st?\nAz eddigi m\u00f3dos\u00edt\u00e1sok el fognak veszni."],"Approve and Reply":["Elfogad\u00e1s \u00e9s v\u00e1lasz"],"Comments (%s)":["(%s) hozz\u00e1sz\u00f3l\u00e1s"],"Reply":["V\u00e1lasz"],"Comments":["Hozz\u00e1sz\u00f3l\u00e1sok"]}},"comment":{"reference":"wp-admin\/js\/edit-comments.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Preference activated - %s":["Be\u00e1ll\u00edt\u00e1s aktiv\u00e1lva - %s"],"Preference deactivated - %s":["Be\u00e1ll\u00edt\u00e1s inaktiv\u00e1lva - %s"],"Preferences":["Be\u00e1ll\u00edt\u00e1sok"],"Back":["Vissza"]}},"comment":{"reference":"wp-includes\/js\/dist\/preferences.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Non breaking space":["Nem t\u00f6rhet\u0151 sz\u00f3k\u00f6z"],"https:\/\/www.w3.org\/WAI\/tutorials\/images\/decision-tree\/":["https:\/\/www.w3.org\/WAI\/tutorials\/images\/decision-tree\/"],"Mark as nofollow":["Megjel\u00f6l\u00e9s nofollow-k\u00e9nt"],"Text direction":["Sz\u00f6veg ir\u00e1ny"],"A valid language attribute, like \"en\" or \"fr\".":["Egy val\u00f3s nyelvi attrib\u00fatum, pl \"en\" vagy \"hu\""],"Leave empty if decorative.":["Hagyjuk \u00fcresen, ha dekorat\u00edv."],"Clear Unknown Formatting":["Ismeretlen form\u00e1z\u00e1sok t\u00f6rl\u00e9se"],"Create page: <mark>%s<\/mark>":["Oldal l\u00e9trehoz\u00e1sa: <mark>%s<\/mark>"],"Highlight":["Kiemel\u00e9s"],"Keyboard input":["Billenty\u0171zet"],"Inline code":["Be\u00e1gyazott k\u00f3d"],"Describe the purpose of the image.":["Hat\u00e1rozzuk meg a k\u00e9p c\u00e9lj\u00e1t."],"Link edited.":["Hivatkoz\u00e1s szerkesztve."],"Link removed.":["Hivatkoz\u00e1s elt\u00e1vol\u00edtva."],"Inline image":["Sork\u00f6zi k\u00e9p"],"media":["m\u00e9dia"],"photo":["f\u00e9nyk\u00e9p"],"Warning: the link has been inserted but may have errors. Please test it.":["Figyelem! A hivatkoz\u00e1s beillesztve, de lehet, hogy hib\u00e1s. Tesztelj\u00fck le a hivatkoz\u00e1s helyess\u00e9g\u00e9t."],"Link inserted.":["Hivatkoz\u00e1s beillesztve."],"Left to right":["Balr\u00f3l jobbra"],"Right to left":["Jobbr\u00f3l balra"],"Link":["Link"],"Background":["H\u00e1tt\u00e9r"],"Superscript":["Fels\u0151index"],"Subscript":["Als\u00f3index"],"Strikethrough":["\u00c1th\u00fazott"],"Underline":["Al\u00e1h\u00faz\u00e1s"],"Italic":["D\u0151lt"],"Bold":["F\u00e9lk\u00f6v\u00e9r"],"Language":["Nyelv"],"Text":["Sz\u00f6veg"],"Width":["Sz\u00e9less\u00e9g"],"Alternative text":["Helyettes\u00edt\u0151 sz\u00f6veg"],"Apply":["Alkalmaz"]}},"comment":{"reference":"wp-includes\/js\/dist\/format-library.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Legacy widget":["R\u00e9gi widget"],"Create a classic widget layout with a title that\u2019s styled by your theme for your widget areas.":["Hozzunk l\u00e9tre egy klasszikus widget-elrendez\u00e9st a sablon st\u00edlus\u00e1nak megfelel\u0151en, a widget ter\u00fcletekhez."],"Widget Group":["Widget csoport"],"The \"%s\" block was affected by errors and may not function properly. Check the developer tools for more details.":["A(z) \"%s\" blokk valamilyen hib\u00e1t okozott \u00e9s lehet, hogy nem m\u0171k\u00f6dik megfelel\u0151en. Tov\u00e1bbi r\u00e9szletek\u00e9rt n\u00e9zd meg a fejleszt\u0151i eszk\u00f6z\u00f6ket."],"Move to widget area":["Mozgassuk \u00e1t a widget ter\u00fcletre"],"Widget is missing.":["A widget hi\u00e1nyzik."],"No preview available.":["Nem \u00e9rhet\u0151 el el\u0151n\u00e9zet."],"Legacy Widget Preview":["R\u00e9gi widget el\u0151n\u00e9zet"],"Select widget":["Widget kiv\u00e1laszt\u00e1sa"],"Convert to blocks":["\u00c1talak\u00edt\u00e1s blokkokk\u00e1"],"Move to":["Mozgat\u00e1s"],"Legacy Widget":["\u00d6r\u00f6k\u00f6lt widget"],"There are no widgets available.":["Nincs el\u00e9rhet\u0151 widget."],"Save":["Ment\u00e9s"],"Title":["C\u00edm"]}},"comment":{"reference":"wp-includes\/js\/dist\/widgets.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"The file URL has been copied to your clipboard":["A f\u00e1jl URL a v\u00e1g\u00f3lapra ker\u00fclt."],"An error has occurred. Please reload the page and try again.":["Hiba t\u00f6rt\u00e9nt. T\u00f6lts\u00fck \u00fajra az oldalt, \u00e9s pr\u00f3b\u00e1ljuk \u00fajra."]}},"comment":{"reference":"wp-admin\/js\/media.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Plugin details":["B\u0151v\u00edtm\u00e9ny r\u00e9szletei"],"Plugin: %s":["B\u0151v\u00edtm\u00e9ny: %s"]}},"comment":{"reference":"wp-admin\/js\/plugin-install.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Screen Options updated.":["K\u00e9perny\u0151 opci\u00f3k friss\u00fcltek."],"%1$s is deprecated since version %2$s with no alternative available.":["%1$s haszn\u00e1lata nem t\u00e1mogatott, mivel a(z) %2$s verzi\u00f3 nem \u00e1ll rendelkez\u00e9sre."],"%1$s is deprecated since version %2$s! Use %3$s instead.":["%1$s a(z) %2$s verzi\u00f3 \u00f3ta elavult! Haszn\u00e1lja a(z) %3$s alkalmaz\u00e1st."],"Please select at least one item to perform this action on.":["Legal\u00e1bb egy t\u00e9telt ki kell jel\u00f6lni a m\u0171velet v\u00e9grehajthat\u00f3s\u00e1g\u00e1hoz."],"Expand Main menu":["F\u0151men\u00fc kinyit\u00e1sa"],"Dismiss this notice.":["\u00c9rtes\u00edt\u00e9s elvet\u00e9se."],"You are about to permanently delete these items from your site.\nThis action cannot be undone.\n'Cancel' to stop, 'OK' to delete.":["A d\u00f6nt\u00e9s\u00fcnknek megfelel\u0151en ezt a t\u00e9telt v\u00e9glegesen t\u00f6r\u00f6lj\u00fck a honlapr\u00f3l..\nA m\u0171velet eredm\u00e9nye visszaford\u00edthatatlan.\n'Kil\u00e9p\u00e9s' a megszak\u00edt\u00e1shoz, 'OK' a t\u00f6rl\u00e9shez."],"Collapse Main menu":["F\u0151men\u00fc \u00f6sszecsuk\u00e1sa"]}},"comment":{"reference":"wp-admin\/js\/common.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"An error occurred while processing your request. Please try again later.":["Hiba t\u00f6rt\u00e9nt a k\u00e9r\u00e9s feldolgoz\u00e1sa k\u00f6zben. Pr\u00f3b\u00e1ljuk meg k\u00e9s\u0151bb."],"Sorry, you are not allowed to do that.":["Eln\u00e9z\u00e9st, nincs megfelel\u0151 jogosults\u00e1g a k\u00edv\u00e1nt m\u0171velethez."]}},"comment":{"reference":"wp-admin\/js\/tags.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Hide":["Elrejt\u00e9s"],"Hide password":["Jelsz\u00f3 elrejt\u00e9se"],"Show password":["Jelsz\u00f3 mutat\u00e1sa"],"Show":["Mutat"]}},"comment":{"reference":"wp-admin\/js\/password-toggle.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"%d result found. Use up and down arrow keys to navigate.":["%d tal\u00e1lat. Haszn\u00e1ljuk a fel \u00e9s le gombokat a navig\u00e1l\u00e1shoz.","%d tal\u00e1lat. Haszn\u00e1ljuk a fel \u00e9s le gombokat a navig\u00e1l\u00e1shoz."],"Term selected.":["Kifejez\u00e9s kijel\u00f6lve."],"tag delimiter\u0004,":[","],"No results found.":["Nincs ilyen adat."]}},"comment":{"reference":"wp-admin\/js\/tags-suggest.js"}}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Showing %1$s of %2$s media items":["%1$s \/ %2$s m\u00e9diaelem megjelen\u00edt\u00e9se"],"Jump to first loaded item":["Ugr\u00e1s az el\u0151sz\u00f6r bet\u00f6lt\u00f6tt elemre"],"Load more":["Tov\u00e1bbiak bet\u00f6lt\u00e9se"],"Number of media items displayed: %d. Click load more for more results.":["A megjelen\u00edtett m\u00e9diaelemek sz\u00e1ma: %d. Kattintsunk a tov\u00e1bbi tal\u00e1latokhoz."],"The file URL has been copied to your clipboard":["A f\u00e1jl URL a v\u00e1g\u00f3lapra ker\u00fclt."],"%s item selected":["%s elem kijel\u00f6lve","%s elem kijel\u00f6lve"],"Number of media items displayed: %d. Scroll the page for more results.":["A megjelen\u00edtett m\u00e9diaelemek sz\u00e1ma: %d. G\u00f6rgess\u00fcnk az oldalon tov\u00e1bbi tal\u00e1latokhoz."]}},"comment":{"reference":"wp-includes\/js\/media-views.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Application password has been copied to your clipboard.":["Az alkalmaz\u00e1s jelszava a v\u00e1g\u00f3lapra m\u00e1solva."],"Your new password has not been saved.":["Az \u00faj jelsz\u00f3 nem ker\u00fclt ment\u00e9sre."],"Hide":["Elrejt\u00e9s"],"Confirm use of weak password":["Gyenge jelsz\u00f3 haszn\u00e1lat\u00e1nak meger\u0151s\u00edt\u00e9se"],"Hide password":["Jelsz\u00f3 elrejt\u00e9se"],"Show password":["Jelsz\u00f3 mutat\u00e1sa"],"Show":["Mutat"],"The changes you made will be lost if you navigate away from this page.":["A v\u00e1ltoztat\u00e1sok elvesznek, ha elhagyjuk az oldalt."]}},"comment":{"reference":"wp-admin\/js\/user-profile.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"An error occurred while saving your changes. Please try again. If the problem persists, you may need to manually update the file via FTP.":["Hiba t\u00f6rt\u00e9nt a m\u00f3dos\u00edt\u00e1sok ment\u00e9se k\u00f6zben. Pr\u00f3b\u00e1ljuk meg \u00fajra. Ha a probl\u00e9ma tov\u00e1bbra is fenn\u00e1ll, el\u0151fordulhat, hogy manu\u00e1lisan, FTP-n kereszt\u00fcl kell friss\u00edteni a f\u00e1jlt."],"There is %s error which must be fixed before you can update this file.":["%s hiba t\u00f6rt\u00e9nt, amelyet jav\u00edtani kell a f\u00e1jl friss\u00edt\u00e9se el\u0151tt.","%s hiba t\u00f6rt\u00e9nt, amelyet jav\u00edtani kell a f\u00e1jl friss\u00edt\u00e9se el\u0151tt."],"The changes you made will be lost if you navigate away from this page.":["A v\u00e1ltoztat\u00e1sok elvesznek, ha elhagyjuk az oldalt."]}},"comment":{"reference":"wp-admin\/js\/theme-plugin-editor.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Explore all blocks":["Fedezz\u00fck fel az \u00f6sszes blokkot"],"Customize each block":["Minden blokk testreszab\u00e1sa"],"Welcome to the editor":["\u00dcdv a Szerkeszt\u0151ben"],"Enable or disable fullscreen mode.":["Teljes k\u00e9perny\u0151s m\u00f3d be- vagy kikapcsol\u00e1sa."],"Use up and down arrow keys to resize the meta box panel.":["Haszn\u00e1ljuk a fel \u00e9s le ny\u00edlakat a metadoboz \u00e1tm\u00e9retez\u00e9s\u00e9hez."],"Meta Boxes":["Meta dobozok"],"New to the block editor? Want to learn more about using it? <a>Here's a detailed guide.<\/a>":["\u00daj a blokkszerkeszt\u0151ben? Szeretn\u00e9nk t\u00f6bbet megtudni a haszn\u00e1lat\u00e1r\u00f3l? <a>Itt egy r\u00e9szletes \u00fatmutat\u00f3.<\/a>"],"pattern (singular)\u0004Synced":["Szinkroniz\u00e1lva"],"Sync this pattern across multiple locations.":["Szinkroniz\u00e1ljuk a mint\u00e1t t\u00f6bb helysz\u00ednen."],"Fullscreen on.":["Teljes k\u00e9perny\u0151s bekapcsolva."],"Fullscreen off.":["Teljes k\u00e9perny\u0151s m\u00f3d kikapcsolva."],"Show and hide the admin user interface":["Az adminifel\u00fclet megjelen\u00edt\u00e9se \u00e9s elrejt\u00e9se"],"Enter fullscreen":["V\u00e1lt\u00e1s teljes k\u00e9perny\u0151re"],"My pattern":["Mint\u00e1m"],"Create pattern":["Minta l\u00e9trehoz\u00e1sa"],"Hide & Reload Page":["Elrejt\u00e9s & \u00dajrat\u00f6lt\u00e9s"],"Show & Reload Page":["Megjelen\u00edt\u00e9s & \u00dajrat\u00f6lt\u00e9s"],"Manage patterns":["Mint\u00e1k kezel\u00e9se"],"https:\/\/wordpress.org\/documentation\/article\/wordpress-block-editor\/":["https:\/\/wordpress.org\/documentation\/article\/wordpress-block-editor\/"],"\"%s\" successfully created.":["\"%s\" sikeresen l\u00e9trehozva."],"The \"%s\" plugin has encountered an error and cannot be rendered.":["A(z) \"%s\" b\u0151v\u00edtm\u00e9ny hib\u00e1ba \u00fctk\u00f6z\u00f6tt, \u00e9s nem jelen\u00edthet\u0151 meg."],"Drag to resize":["Huzz\u00fak megfelel\u0151 m\u00e9ret\u0171re"],"Templates help define the layout of the site. You can customize all aspects of your posts and pages using blocks and patterns in this editor.":["A sablonok seg\u00edtenek meghat\u00e1rozni a webhely elrendez\u00e9s\u00e9t. Ebben a szerkeszt\u0151ben blokkokkal \u00e9s mint\u00e1kkal testreszabhatjuk bejegyz\u00e9seink \u00e9s oldalaink minden aspektus\u00e1t."],"Welcome to the template editor":["\u00dcdv\u00f6zl\u00fcnk a mintasablon szerkeszt\u0151ben"],"Use theme styles":["Sablon st\u00edlusok haszn\u00e1lata"],"Make the editor look like your theme.":["A szerkeszt\u0151 n\u00e9zzen \u00fagy ki, mint a sablonunk."],"All of the blocks available to you live in the block library. You\u2019ll find it wherever you see the <InserterIconImage \/> icon.":["Minden blokk megtal\u00e1lhat\u00f3 a Blokkt\u00e1rban, amit a <InserterIconImage \/> ikonra kattintva \u00e9rsz el."],"Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.":["Minden blokknak vannak be\u00e1ll\u00edt\u00e1sai, amivel ak\u00e1r a sz\u00edneket, sz\u00e9less\u00e9get vagy igaz\u00edt\u00e1sokat lehet vez\u00e9relni. Ezek automatikusan megjelennek, amikor kijel\u00f6lsz egy blokkot."],"In the WordPress editor, each paragraph, image, or video is presented as a distinct \u201cblock\u201d of content.":["A WordPress szerkeszt\u0151ben, minden bekezd\u00e9s, k\u00e9p vagy vide\u00f3 egy j\u00f3l elk\u00fcl\u00f6n\u00edthet\u0151 \"blokkban\" jelenik meg."],"Get started":["Kezdj\u00fck el"],"inserter":["besz\u00far\u00f3"],"Welcome Guide":["\u00dcdv\u00f6zl\u0151 \u00fatmutat\u00f3"],"A page reload is required for this change. Make sure your content is saved before reloading.":["A m\u00f3dos\u00edt\u00e1sok hat\u00e1lyba l\u00e9p\u00e9s\u00e9hez sz\u00fcks\u00e9ges az oldal \u00fajraolvastat\u00e1sa. A m\u0171velet el\u0151tt gy\u0151z\u0151dj\u00fcnk meg r\u00f3la, hogy elmentett\u00fck-e az \u00faj tartalmat."],"Fullscreen mode deactivated.":["Teljes k\u00e9perny\u0151s m\u00f3d kikapcsolva."],"Fullscreen mode activated.":["Teljes k\u00e9perny\u0151s m\u00f3d bekapcsolva."],"Custom fields":["Egy\u00e9ni mez\u0151k"],"Create":["L\u00e9trehoz\u00e1s"],"Fullscreen mode":["Teljes-k\u00e9perny\u0151s m\u00f3d"],"Site Icon":["Honlap ikon"],"Back":["Vissza"],"Exit fullscreen":["Kil\u00e9p\u00e9s a teljes k\u00e9perny\u0151s m\u00f3db\u00f3l"],"Learn more":["Tov\u00e1bbi tudnival\u00f3k"],"Name":["N\u00e9v"],"Advanced":["Halad\u00f3"],"Undo":["Visszavon\u00e1s"],"Edit":["Szerkeszt\u00e9s"]}},"comment":{"reference":"wp-includes\/js\/dist\/edit-post.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Your session has expired. You can log in again from this page or go to the login page.":["Lej\u00e1rt a munkamenet\u00fcnk. Ezen az oldalon \u00fajra be tudunk jelentkezni, vagy \u00e1tmehet\u00fcnk a bejelentkez\u00e9si fel\u00fcletre."]}},"comment":{"reference":"wp-includes\/js\/wp-auth-check.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Get started here":["Els\u0151 l\u00e9p\u00e9sek itt"],"Interested in creating your own block?":["Szeretn\u00e9nk saj\u00e1t blokkot l\u00e9trehozni?"],"Select a block to install and add it to your post.":["V\u00e1lasszuk ki a telep\u00edteni k\u00edv\u00e1nt blokkot, \u00e9s adjuk a bejegyz\u00e9shez."],"Available to install":["Telep\u00edthet\u0151"],"No results available from your installed blocks.":["Nincsenek tal\u00e1latok a telep\u00edtett blokkok k\u00f6z\u00f6tt."],"%d additional block is available to install.":["%d tov\u00e1bbi blokk telep\u00edthet\u0151.","%d tov\u00e1bbi blokkok telep\u00edthet\u0151ek"],"Blocks available for install":["Telep\u00edthet\u0151 blokkok"],"Install block":["Blokk telep\u00edt\u00e9se"],"%1$s <span>by %2$s<\/span>":["%1$s <span>k\u00e9sz\u00edtette %2$s<\/span>"],"Installing\u2026":["Telep\u00edt\u00e9s..."],"Install %1$s. %2$s stars with %3$s review.":["A %1$s telep\u00edt\u00e9se. %2$s csillag %3$s \u00e9rt\u00e9kel\u00e9ssel.","A %1$s telep\u00edt\u00e9se. %2$s csillag %3$s \u00e9rt\u00e9kel\u00e9ssel."],"Try reloading the page.":["Pr\u00f3b\u00e1ljuk \u00fajrat\u00f6lteni az oldalt."],"Block %s installed and added.":["%s blokk telep\u00edtve \u00e9s hozz\u00e1adva."],"Your site doesn\u2019t include support for the %s block. You can try installing the block, convert it to a Custom HTML block, or remove it entirely.":["A webhely nem t\u00e1mogatja %s blokkot. Megpr\u00f3b\u00e1lhatjuk telep\u00edteni, vagy egyedi HTML blokk\u00e1 alak\u00edtani, esetleg teljesen elt\u00e1vol\u00edtani."],"Your site doesn\u2019t include support for the %s block. You can try installing the block or remove it entirely.":["A webhely nem t\u00e1mogatja a k\u00f6vetkez\u0151 blokkot: %s. Megpr\u00f3b\u00e1lhatjuk telep\u00edteni azt, vagy teljesen elt\u00e1vol\u00edtani."],"The following block has been added to your site.":["A blokkot hozz\u00e1adtuk az oldalhoz.","A blokkokat hozz\u00e1adtuk az oldalhoz."],"Added: %d block":["Hozz\u00e1adva: %d blokk","Hozz\u00e1adva: %d blokk"],"Error installing block. You can reload the page and try again.":["A blokk telep\u00edt\u00e9se nem siker\u00fclt. Friss\u00edts\u00fck az oldalt, \u00e9s pr\u00f3b\u00e1ljuk meg \u00fajra."],"This block is already installed. Try reloading the page.":["Ez a blokk m\u00e1r telep\u00edtve van, Pr\u00f3b\u00e1ljuk meg \u00fajrat\u00f6lteni az oldalt."],"An error occurred.":["Hiba t\u00f6rt\u00e9nt."],"Error registering block. Try reloading the page.":["Nem siker\u00fclt a blokkot bejegyezni. Pr\u00f3b\u00e1ljuk \u00fajrat\u00f6lteni az oldalt."],"%s out of 5 stars":["%s az 5 csillagb\u00f3l"],"Keep as HTML":["HTML megtart\u00e1sa"],"Install %s":["%s telep\u00edt\u00e9se"],"Installed!":["Telep\u00edtve."],"No results found.":["Nincs ilyen adat."],"By %s":["Szerz\u0151: %s"]}},"comment":{"reference":"wp-includes\/js\/dist\/block-directory.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Some selected posts have this category":["N\u00e9h\u00e1ny kiv\u00e1lasztott bejegyz\u00e9s ehhez a kateg\u00f3ri\u00e1hoz tartozik"],"All selected items have been removed. Select new items to use Bulk Actions.":["Az \u00f6sszes kiv\u00e1lasztott elem elt\u00e1vol\u00edtva. V\u00e1lasszunk \u00fajakat a t\u00f6meges m\u0171velethez."],"Remove “%s” from Bulk Edit":["T\u00e1vol\u00edtsa el “%s” a t\u00f6meges szerkeszt\u00e9sb\u0151l"],"Error while saving the changes.":["Hiba t\u00f6rt\u00e9nt a m\u00f3dos\u00edt\u00e1sok ment\u00e9se k\u00f6zben."],"Changes saved.":["V\u00e1ltoz\u00e1sok elmentve."],"Item removed.":["Elem elt\u00e1vol\u00edtva."],"tag delimiter\u0004,":[","],"(no title)":["(nincs c\u00edm)"]}},"comment":{"reference":"wp-admin\/js\/inline-edit-post.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Clear color":["Sz\u00edn t\u00f6rl\u00e9se"],"Select default color":["Alap\u00e9rtelmezett sz\u00edn kiv\u00e1laszt\u00e1sa"],"Color value":["Sz\u00edn\u00e9rt\u00e9k"],"Select Color":["Sz\u00edn kiv\u00e1laszt\u00e1sa"],"Clear":["Ki\u00fcr\u00edt\u00e9s"],"Default":["Alap\u00e9rtelmezett"]}},"comment":{"reference":"wp-admin\/js\/color-picker.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Term added.":["Kifejez\u00e9s hozz\u00e1adva."],"Term removed.":["Kifejez\u00e9s elt\u00e1vol\u00edtva."],"Remove term:":["Kifejez\u00e9s elt\u00e1vol\u00edt\u00e1sa:"],"tag delimiter\u0004,":[","]}},"comment":{"reference":"wp-admin\/js\/tags-box.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Tilde":["Hull\u00e1mvonal"],"Backtick":["Tompa \u00e9kezet (`)"],"Period":["Id\u0151szak"],"Comma":["Vessz\u0151"]}},"comment":{"reference":"wp-includes\/js\/dist\/keycodes.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"App icon preview: The current image has no alternative text. The file name is: %s":["Alkalmaz\u00e1sikon el\u0151n\u00e9zete: Az aktu\u00e1lis k\u00e9pnek nincs alternat\u00edv sz\u00f6vege. A f\u00e1jl neve: %s"],"App icon preview: Current image: %s":["Alkalmaz\u00e1sikon el\u0151n\u00e9zet: Jelenlegi k\u00e9p: %s"],"Browser icon preview: The current image has no alternative text. The file name is: %s":["B\u00f6ng\u00e9sz\u0151 ikon el\u0151n\u00e9zete: Az aktu\u00e1lis k\u00e9pnek nincs alternat\u00edv sz\u00f6vege. A f\u00e1jl neve: %s"],"Browser icon preview: Current image: %s":["B\u00f6ng\u00e9sz\u0151 ikon el\u0151n\u00e9zete: Jelenlegi k\u00e9p: %s"]}},"comment":{"reference":"wp-admin\/js\/site-icon.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"part of a total number of menu items\u0004%1$s of %2$s":["%1$s \/ %2$s"],"menu item without a parent in navigation menu\u0004No Parent":["Nincs sz\u00fcl\u0151"],"You are about to permanently delete this menu.\n'Cancel' to stop, 'OK' to delete.":["Biztos, hogy v\u00e9glegesen t\u00f6r\u00f6lj\u00fck a kiv\u00e1lasztott men\u00fct?\n'Megszak\u00edt\u00e1s', ha m\u00e9gsem, vagy 'OK', ha t\u00f6r\u00f6lhet\u0151ek"],"missing menu item navigation label\u0004(no label)":["(nincs felirat)"],"The changes you made will be lost if you navigate away from this page.":["A v\u00e1ltoztat\u00e1sok elvesznek, ha elhagyjuk az oldalt."],"No results found.":["Nincs ilyen adat."]}},"comment":{"reference":"wp-admin\/js\/nav-menu.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Your new password for %s is:":["Az \u00faj %s alkalmaz\u00e1s jelsz\u00f3:"],"Be sure to save this in a safe location. You will not be able to retrieve it.":["Ezt mindenk\u00e9ppen mentse biztons\u00e1gos helyre. Nem lesz k\u00e9pes let\u00f6lteni."]}},"comment":{"reference":"wp-admin\/js\/auth-app.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"text direction\u0004ltr":["ltr"]}},"comment":{"reference":"wp-includes\/js\/dist\/i18n.js"}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Dismiss":["Bez\u00e1r\u00e1s"]}},"comment":{"reference":"wp-includes\/js\/wp-pointer.js"}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Error while saving the changes.":["Hiba t\u00f6rt\u00e9nt a m\u00f3dos\u00edt\u00e1sok ment\u00e9se k\u00f6zben."],"Changes saved.":["V\u00e1ltoz\u00e1sok elmentve."]}},"comment":{"reference":"wp-admin\/js\/inline-edit-tax.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Error while sideloading file %s to the server.":["%s f\u00e1jl oldalbeolvas\u00e1s k\u00f6zben a szerveroldalon hiba t\u00f6rt\u00e9nt."],"Only one file can be used here.":["Ezen a helyen csak egy f\u00e1jl haszn\u00e1lhat\u00f3."],"%s: Sorry, you are not allowed to upload this file type.":["%s: Eln\u00e9z\u00e9st, a megadott f\u00e1jlt\u00edpus felt\u00f6lt\u00e9s\u00e9hez nincs megfelel\u0151 jogosults\u00e1g."],"Select or Upload Media":["M\u00e9dia kijel\u00f6l\u00e9se vagy felt\u00f6lt\u00e9se"],"Error while uploading file %s to the media library.":["%s f\u00e1jl m\u00e9diak\u00f6nyvt\u00e1rba t\u00f6rt\u00e9n\u0151 felt\u00f6lt\u00e9se sor\u00e1n hiba l\u00e9pett fel."],"%s: This file is empty.":["%s: Ez a f\u00e1jl \u00fcres."],"%s: Sorry, this file type is not supported here.":["%s: Sajn\u00e1ljuk, ez a f\u00e1jlt\u00edpus itt nem t\u00e1mogatott."],"%s: This file exceeds the maximum upload size for this site.":["%s: A f\u00e1jl t\u00fal nagy a honlapon enged\u00e9lyezett m\u00e9rethez k\u00e9pest."]}},"comment":{"reference":"wp-includes\/js\/dist\/media-utils.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Block rendered as empty.":["A blokk tartalma \u00fcres."],"Error loading block: %s":["Blokkbet\u00f6lt\u00e9si hiba: %s"]}},"comment":{"reference":"wp-includes\/js\/dist\/server-side-render.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-06-09 13:56:03+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Screen Options updated.":["K\u00e9perny\u0151 opci\u00f3k friss\u00fcltek."],"Attend an upcoming event near you.":["R\u00e9szv\u00e9tel egy k\u00f6zelg\u0151 esem\u00e9nyen a k\u00f6zel\u00e9ben."],"Events widget offset prefix\u0004GMT":["GMT"],"%1$s %2$d \u2013 %3$s %4$d, %5$d":["%1$s %2$d \u2013 %3$s %4$d, %5$d"],"upcoming events year format\u0004Y":["Y"],"upcoming events day format\u0004j":["j"],"%1$s %2$d\u2013%3$d, %4$d":["%1$s %2$d\u2013%3$d, %4$d"],"upcoming events month format\u0004F":["F"],"City updated. Listing events near %s.":["Telep\u00fcl\u00e9s friss\u00edtve. Esem\u00e9nyek %s k\u00f6zel\u00e9ben."],"We couldn\u2019t locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.":["%s telep\u00fcl\u00e9st nem tal\u00e1ljuk, pr\u00f3b\u00e1lkozzunk egy m\u00e1sik k\u00f6zeli telep\u00fcl\u00e9ssel, mint pl. Vill\u00e1ny; Sikl\u00f3s; P\u00e9cs."],"An error occurred. Please try again.":["Hiba t\u00f6rt\u00e9nt. K\u00e9rj\u00fck, pr\u00f3b\u00e1lja \u00fajra."],"Enter your closest city to find nearby events.":["Adjuk meg az esem\u00e9nyhez legk\u00f6zelebbi telep\u00fcl\u00e9s nev\u00e9t."],"l, M j, Y":["Y.m.d. l"]}},"comment":{"reference":"wp-admin\/js\/dashboard.js"}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Could not set that as the thumbnail image. Try a different attachment.":["A b\u00e9lyegk\u00e9p nem \u00e1ll\u00edthat\u00f3 be. Egy m\u00e1sikkal kellene pr\u00f3b\u00e1lkozni."]}},"comment":{"reference":"wp-includes\/js\/media-editor.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"translation-revision-date":"2025-05-23 14:44:30+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"Add new post":["\u00daj bejegyz\u00e9s hozz\u00e1ad\u00e1sa"],"Template parts":["Sablonr\u00e9szek"],"Templates":["Mintasablonok"],"Patterns":["Mint\u00e1k"],"Navigation":["Navig\u00e1ci\u00f3"],"Styles":["St\u00edluslapok"],"Add new page":["\u00daj oldal l\u00e9trehoz\u00e1sa"],"An error occurred while creating the item.":["Hiba t\u00f6rt\u00e9nt az elem l\u00e9trehoz\u00e1sa k\u00f6zben."],"(no title)":["(nincs c\u00edm)"],"Pages":["Oldalak"]}},"comment":{"reference":"wp-includes\/js\/dist\/core-commands.js"}}
|
||||
File diff suppressed because one or more lines are too long
370
web/app/languages/hu_HU.l10n.php
Normal file
370
web/app/languages/hu_HU.l10n.php
Normal file
File diff suppressed because one or more lines are too long
BIN
web/app/languages/hu_HU.mo
Normal file
BIN
web/app/languages/hu_HU.mo
Normal file
Binary file not shown.
21827
web/app/languages/hu_HU.po
Normal file
21827
web/app/languages/hu_HU.po
Normal file
File diff suppressed because it is too large
Load Diff
189
web/app/mu-plugins/app-mu.php
Normal file
189
web/app/mu-plugins/app-mu.php
Normal file
@@ -0,0 +1,189 @@
|
||||
<?php
|
||||
/**
|
||||
* Plugin Name: App config
|
||||
* Description: App configuration must use functions
|
||||
* - Add SVG to mime_types.
|
||||
* - Clean file name when uploading files in WordPress.
|
||||
* - Disable Login errors.
|
||||
* - Add Security headers.
|
||||
* - Add s3 uploads custom endpoint (S3_UPLOADS_ENDPOINT)
|
||||
* - Remove WordPress version from HTML source.
|
||||
* - WP error log to stdout (ERROR_LOG_TO_STDOUT)
|
||||
* - Setup PHPMailer with SMTP (SMTP_SERVER, SMTP_PORT, SMTP_LOGIN, SMTP_PASSWORD and SMTP_SECURE)
|
||||
* Version: 202309-01
|
||||
* Author: felegy
|
||||
* Author URI: https://github.com/felegy
|
||||
*/
|
||||
|
||||
defined( 'ABSPATH' ) || die('Restricted Area');
|
||||
|
||||
|
||||
class AppMuPlugin
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
// Define constants
|
||||
$this->define_constants();
|
||||
|
||||
if (defined('ERROR_LOG_TO_STDOUT')) {
|
||||
if (ERROR_LOG_TO_STDOUT) {
|
||||
// WP error log to stdout
|
||||
$this->error_log_to_stdout();
|
||||
}
|
||||
}
|
||||
if (defined('S3_UPLOADS_ENDPOINT')) {
|
||||
// Filter S3 Uploads params.
|
||||
$this->s3_uploads_endpoint();
|
||||
}
|
||||
|
||||
if (defined('SMTP_ENABLED') && SMTP_ENABLED) {
|
||||
// If SMTP is enabled, setup PHPMailer
|
||||
if (defined('SMTP_SERVER') && defined('SMTP_PORT')) {
|
||||
$this->setup_phpmailer();
|
||||
}
|
||||
}
|
||||
|
||||
$this->header_security();
|
||||
$this->no_wordpress_errors();
|
||||
$this->sanitize_file_name();
|
||||
$this->remove_wp_version();
|
||||
$this->cc_mime_types();
|
||||
$this->two_factor_default();
|
||||
}
|
||||
|
||||
|
||||
private function define_constants() {
|
||||
|
||||
if ( ! defined( 'SMTP_SERVER') ) {
|
||||
define( 'SMTP_SERVER', '127.0.0.1' );
|
||||
}
|
||||
|
||||
if ( ! defined( 'SMTP_PORT') ) {
|
||||
define( 'SMTP_PORT', 1025 );
|
||||
}
|
||||
|
||||
if ( ! defined( 'BLOG_SLUG') ) {
|
||||
define( 'BLOG_SLUG', 'wp' );
|
||||
}
|
||||
}
|
||||
|
||||
private function error_log_to_stdout() {
|
||||
// Add your initialization code here.
|
||||
// WP error log to stdout
|
||||
add_action('init', function () {
|
||||
ini_set ('error_log', '/dev/stdout'); // phpcs:ignore
|
||||
}, 10);
|
||||
|
||||
}
|
||||
|
||||
private function s3_uploads_endpoint() {
|
||||
// Filter S3 Uploads params.
|
||||
add_filter('s3_uploads_s3_client_params', function ($params) {
|
||||
$params['endpoint'] = defined('S3_UPLOADS_ENDPOINT') ? S3_UPLOADS_ENDPOINT : "";
|
||||
$params['use_path_style_endpoint'] = true;
|
||||
$params['debug'] = false; // Set to true if uploads are failing.
|
||||
return $params;
|
||||
});
|
||||
}
|
||||
|
||||
private function header_security() {
|
||||
// Add Security headers.
|
||||
add_filter('wp_headers',
|
||||
function ($headers) {
|
||||
$headers['X-Frame-Options'] = 'SAMEORIGIN';
|
||||
$headers['X-Content-Type-Options'] = 'nosniff';
|
||||
$headers['X-XSS-Protection'] = '1; mode=block';
|
||||
$headers['Strict-Transport-Security'] = 'max-age=31536000; includeSubDomains';
|
||||
$headers['Referrer-Policy'] = 'same-origin';
|
||||
$headers['Permissions-Policy'] = 'geolocation=()';
|
||||
$headers['Content-Security-Policy'] = 'upgrade-insecure-requests';
|
||||
|
||||
return $headers;
|
||||
});
|
||||
}
|
||||
|
||||
private function no_wordpress_errors()
|
||||
{
|
||||
add_filter('login_errors', function () {
|
||||
return 'Hiba történt a belépés során!';
|
||||
});
|
||||
}
|
||||
|
||||
private function sanitize_file_name()
|
||||
{
|
||||
// Clean file name when uploading files in WordPress.
|
||||
add_filter('sanitize_file_name', function ($filename){
|
||||
$extension = substr($filename, strrpos($filename, '.') + 1);
|
||||
$filename = substr($filename, 0, strrpos($filename, '.'));
|
||||
|
||||
return sanitize_title($filename) . '.' . $extension;
|
||||
});
|
||||
}
|
||||
|
||||
private function remove_wp_version() {
|
||||
// Remove WordPress version from HTML source.
|
||||
add_filter('the_generator', '__return_empty_string');
|
||||
}
|
||||
|
||||
private function cc_mime_types() {
|
||||
// Add SVG to mime_types.
|
||||
add_filter('upload_mimes', function ($mimes)
|
||||
{
|
||||
$mimes['svg'] = 'image/svg+xml';
|
||||
return $mimes;
|
||||
});
|
||||
}
|
||||
|
||||
private function setup_phpmailer() {
|
||||
add_action('phpmailer_init', function ($phpmailer) {
|
||||
$phpmailer->Host = SMTP_SERVER;
|
||||
$phpmailer->Port = SMTP_PORT;
|
||||
|
||||
// If SMTP_LOGIN is defined, use it for authentication
|
||||
if (defined('SMTP_LOGIN')) {
|
||||
$phpmailer->SMTPAuth = true; // Enable SMTP authentication
|
||||
$phpmailer->Username = SMTP_LOGIN; // Set the SMTP username
|
||||
$phpmailer->Password = defined('SMTP_PASSWORD') ? SMTP_PASSWORD : '';
|
||||
} else {
|
||||
$phpmailer->SMTPAuth = false; // Disable SMTP authentication
|
||||
}
|
||||
|
||||
if (defined('SMTP_DEBUG') && SMTP_DEBUG) {
|
||||
$phpmailer->SMTPDebug = 2; // Enable verbose debug output
|
||||
} else {
|
||||
$phpmailer->SMTPDebug = 0; // Disable debug output
|
||||
}
|
||||
|
||||
if (defined('SMTP_SECURE') && SMTP_SECURE) {
|
||||
$phpmailer->SMTPSecure = SMTP_SECURE; // Set the encryption type
|
||||
} else {
|
||||
$phpmailer->SMTPSecure = false; // Disable encryption
|
||||
}
|
||||
|
||||
if(defined('SMTP_DOMAIN')) {
|
||||
$phpmailer->From = BLOG_SLUG . '@' . SMTP_DOMAIN;
|
||||
}
|
||||
else {
|
||||
$dsn = (object) parse_url(get_bloginfo('url'));
|
||||
$phpmailer->From = BLOG_SLUG . '@' . $dsn->host;
|
||||
}
|
||||
|
||||
$phpmailer->FromName = get_bloginfo('name');
|
||||
|
||||
$phpmailer->isSMTP();
|
||||
});
|
||||
}
|
||||
|
||||
private function two_factor_default() {
|
||||
add_filter('two_factor_enabled_providers_for_user', function ($providers)
|
||||
{
|
||||
if (! in_array('Two_Factor_Email', $providers))
|
||||
{
|
||||
array_push($providers, 'Two_Factor_Email');
|
||||
}
|
||||
return $providers;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
new AppMuPlugin();
|
||||
16
web/app/mu-plugins/bedrock-autoloader.php
Normal file
16
web/app/mu-plugins/bedrock-autoloader.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Plugin Name: Bedrock Autoloader
|
||||
* Plugin URI: https://github.com/roots/bedrock-autoloader
|
||||
* Description: An autoloader that enables standard plugins to be required just like must-use plugins. The autoloaded plugins are included during mu-plugin loading. An asterisk (*) next to the name of the plugin designates the plugins that have been autoloaded.
|
||||
* Author: Roots
|
||||
* Author URI: https://roots.io/
|
||||
* License: MIT License
|
||||
*/
|
||||
|
||||
namespace Roots\Bedrock;
|
||||
|
||||
if (is_blog_installed() && class_exists(Autoloader::class)) {
|
||||
new Autoloader();
|
||||
}
|
||||
0
web/app/plugins/.gitkeep
Normal file
0
web/app/plugins/.gitkeep
Normal file
0
web/app/themes/.gitkeep
Normal file
0
web/app/themes/.gitkeep
Normal file
0
web/app/uploads/.gitkeep
Normal file
0
web/app/uploads/.gitkeep
Normal file
7
web/index.php
Normal file
7
web/index.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* WordPress View Bootstrapper
|
||||
*/
|
||||
define('WP_USE_THEMES', true);
|
||||
require __DIR__ . '/wp/wp-blog-header.php';
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user