You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,14 @@ applyTo: '**'
17
17
## 📋 Essential Requirements
18
18
19
19
### WordPress Compatibility
20
+
20
21
-**WordPress:** 6.5+ minimum
21
22
-**PHP:** 7.4+ minimum
22
23
-**WooCommerce:** 5.0+ (when applicable)
23
24
- Follow [WordPress Coding Standards](https://developer.wordpress.org/coding-standards/) for PHP, JS, CSS, HTML, and accessibility
24
25
25
26
### Code Quality Standards
27
+
26
28
1.**Security First:** Always sanitize input (`sanitize_*()`) and escape output (`esc_*()`)
27
29
2.**WordPress APIs:** Use WP functions instead of raw PHP/SQL
28
30
3.**Hook System:** Proper use of `add_action()` and `add_filter()`
@@ -55,8 +57,7 @@ applyTo: '**'
55
57
56
58
**Version Release Process (only when instructed):**
57
59
- Follow semantic versioning (MAJOR.MINOR.PATCH)
58
-
- Update version in: plugin header, README.md, readme.txt, CHANGELOG.md
59
-
- Update version in: constants section, .pot files, package.json, composer.json
60
+
- Update version in: plugin header, README.md, readme.txt, CHANGELOG.md, GEMINI.md, and `.pot` language files, constants section, package.json, and composer.json
60
61
- Move "Unreleased" changes to new version section in both changelogs
61
62
-**Never auto-update versions** - wait for explicit instruction
62
63
@@ -65,6 +66,11 @@ applyTo: '**'
65
66
- Write clear function/class descriptions
66
67
- Document security considerations and hooks used
67
68
69
+
**Internationalization (i18n):**
70
+
- Update `.pot` language files when adding or modifying translatable strings
71
+
- Always use the correct text domain when dealing with translation functions
72
+
- Mark all user-facing strings with `__()`, `_e()`, `esc_html__()`, `esc_attr__()`, etc.
Copy file name to clipboardExpand all lines: GEMINI.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,11 @@
1
-
# Project-specific instructions for Gemini AI
2
-
# This file provides context about the Simple WP Site Exporter WordPress plugin
3
-
# to help Gemini understand the codebase and provide better analysis
4
-
5
1
# Simple WP Site Exporter - WordPress Plugin
6
2
7
3
## Project Overview
4
+
8
5
This is a secure WordPress site export plugin that creates complete site backups including files and database as downloadable ZIP archives. Designed for WordPress administrators who need reliable, secure site exports for migrations, backups, or development purposes.
9
6
10
7
## Plugin Details
8
+
11
9
-**Name:** Simple WP Site Exporter
12
10
-**Version:** 1.8.4
13
11
-**WordPress Compatibility:** 6.5+
@@ -18,7 +16,9 @@ This is a secure WordPress site export plugin that creates complete site backups
18
16
## Architecture & Design Patterns
19
17
20
18
### Single-File Plugin Architecture
19
+
21
20
The plugin follows a single-file architecture pattern for simplicity:
21
+
22
22
```php
23
23
// All functionality contained in simple-wp-site-exporter.php
24
24
// Functions prefixed with 'sse_' for namespace consistency
@@ -28,7 +28,9 @@ function sse_function_name() {
28
28
```
29
29
30
30
### Plugin Initialization
31
+
31
32
The plugin uses proper WordPress initialization patterns:
0 commit comments