Skip to content

Commit ed74a14

Browse files
authored
Update
1 parent e5af20d commit ed74a14

3 files changed

Lines changed: 23 additions & 28 deletions

File tree

.github/workflows/wp-compatibility-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# This workflow performs comprehensive WordPress plugin compatibility and quality checks.Add commentMore actions
1+
# This workflow performs comprehensive WordPress plugin compatibility and quality checks.
22
# It runs multiple validation processes including:
33
# - WordPress Plugin Check for WordPress.org compatibility
4-
# - PHP compatibility testing across multiple PHP versions (7.4, 8.0, 8.1, 8.2, 8.3)
5-
# - WordPress compatibility testing across multiple WP versions (6.4, 6.5, 6.6, 6.7, 6.8)
4+
# - PHP compatibility testing across multiple PHP versions (7.4, 8.0, 8.1, 8.2, 8.3, 8.4)
5+
# - WordPress compatibility testing across multiple WP versions (6.0, latest, nightly)
66
# - PHPStan static analysis for WordPress-specific code quality
77
# - WordPress security vulnerability scanning using pattern analysis
88
# - PHPCS code standards validation for WordPress coding standards

readme.txt

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,14 @@
11
=== Simple WP Site Exporter ===
22
Contributors: enginescript
3-
Tags: backup,== Changelog ==
4-
5-
= 1.6.8 =
6-
* Fallback Removal and Security Hardening: Removed all fallback mechanisms to simplify codebase
7-
* Enhanced SSRF Protection: Strengthened Server-Side Request Forgery prevention with pre-validation
8-
* Text Domain Compliance: Fixed remaining lowercase text domain instances in WP-CLI validation
9-
* Code Simplification: Reduced overall complexity by 15% through fallback removal
10-
* Security Audit: Comprehensive review ensuring OWASP and WordPress security best practices
11-
* Logging Enhancement: Uses only wp_debug_log() (WordPress 5.1+), removed error_log() fallback
12-
* Directory Validation: Requires realpath() success for security, removed normalized path fallback
13-
* File Output: Uses only readfile() for performance and security, removed WP_Filesystem fallback
14-
* ZIP File Paths: Requires getRealPath() success for security, removed pathname fallback
15-
16-
= 1.6.7 =
17-
* PHPMD, PHPStan, Security, and WordPress Standards Compliance update
18-
* Variable Naming: Fixed all CamelCase variable naming violations for PHPMD compliance
19-
* Function Complexity: Broke down complex functions to reduce cyclomatic complexity
20-
* Security Enhancements: Comprehensive input sanitization and output escaping
21-
* PHPStan Level 8: Resolved all type handling and unreachable code issues
22-
* WordPress Plugin Check: Fixed text domain consistency and translator comments
23-
* Performance Optimization: Streamlined code paths and removed redundant operations
24-
25-
= 1.6.1 =port, migration, site export, database export
3+
Tags: backup, export, migration, site export, database export
264
Requires at least: 5.8
275
Tested up to: 6.8
286
Stable tag: 1.6.8
297
Requires PHP: 7.4
308
License: GPLv3 or later
319
License URI: https://www.gnu.org/licenses/gpl-3.0.html
3210

33-
Export your entire WordPress site, including files and database, as a secure downloadable ZIP archive.
11+
Export your entire WordPress site as a secure downloadable ZIP archive.
3412

3513
== Description ==
3614

@@ -92,6 +70,23 @@ Absolutely! While the plugin integrates seamlessly with EngineScript servers, it
9270

9371
Yes, the plugin is designed to be compatible with most shared hosting environments. However, large sites may encounter timeout or memory limitations on restrictive hosting plans.
9472

73+
== License ==
74+
75+
This plugin is licensed under the GPL v3 or later.
76+
77+
This program is free software: you can redistribute it and/or modify
78+
it under the terms of the GNU General Public License as published by
79+
the Free Software Foundation, either version 3 of the License, or
80+
(at your option) any later version.
81+
82+
This program is distributed in the hope that it will be useful,
83+
but WITHOUT ANY WARRANTY; without even the implied warranty of
84+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
85+
GNU General Public License for more details.
86+
87+
You should have received a copy of the GNU General Public License
88+
along with this program. If not, see <https://www.gnu.org/licenses/>.
89+
9590
== Changelog ==
9691

9792
= 1.6.8 =

simple-wp-site-exporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function sse_store_log_in_database($message, $level) {
5151
'level' => $level,
5252
'message' => $message,
5353
'user_id' => get_current_user_id(),
54-
'ip' => isset($_SERVER['REMOTE_ADDR']) ? sanitize_text_field($_SERVER['REMOTE_ADDR']) : 'unknown'
54+
'ip' => isset($_SERVER['REMOTE_ADDR']) ? sanitize_text_field(wp_unslash($_SERVER['REMOTE_ADDR'])) : 'unknown'
5555
);
5656

5757
// Keep only the most recent 20 logs

0 commit comments

Comments
 (0)