Upgrade WordPress core to version 7.0.3 and implement various security hardening measures, including improved input sanitization, enhanced URL validation for HTTP requests, and stricter CSS filtering. - Update version to 7.0.3 in version.php and about.php - Implement stricter IP address validation in wp_http_validate_url() - Add escaping to user-related error messages and authentication flows - Improve sanitization in block rendering (post-content, post-date) - Enhance CSS filtering in kses.php to handle PCRE errors - Add validation for tagName attributes in post-content block - Update emoji loader to use more secure DOM selection patterns - Enable WP_DEBUG and error logging in wp-config.php - Add new ifnex theme directory
12 lines
679 B
PHP
12 lines
679 B
PHP
<?php get_header(); ?>
|
|
|
|
<section style="min-height:100vh;display:flex;align-items:center;justify-content:center;padding-top:72px;">
|
|
<div style="text-align:center;">
|
|
<h1 style="font-size:6rem;font-weight:900;color:var(--primary);">۴۰۴</h1>
|
|
<h2 style="font-size:1.5rem;margin-bottom:12px;">صفحه مورد نظر یافت نشد</h2>
|
|
<p style="color:var(--gray-500);margin-bottom:24px;">ممکن است آدرس اشتباه باشد یا صفحه حذف شده باشد.</p>
|
|
<a href="<?php echo esc_url(home_url('/')); ?>" class="btn btn-primary btn-lg">بازگشت به صفحه اصلی</a>
|
|
</div>
|
|
</section>
|
|
|
|
<?php get_footer(); ?>
|