From 0f4e4826bdcd0537df7e6891226485659497ca77 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 17 Feb 2026 00:09:22 +0000
Subject: [PATCH 1/5] Initial plan
From 44d99fa0e4c384141662bdef47bdaed6fd8e2513 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 17 Feb 2026 00:13:42 +0000
Subject: [PATCH 2/5] Fix text domain, security issues, deprecated code, and
add theme.json
Co-authored-by: embeeML <114015510+embeeML@users.noreply.github.com>
---
404.php | 4 +-
attachment.php | 2 +-
entry-footer.php | 4 +-
footer.php | 2 +-
functions.php | 16 +++---
header.php | 38 +++++++-------
nav-below.php | 4 +-
search.php | 6 +--
style.css | 10 +++-
theme.json | 126 +++++++++++++++++++++++++++++++++++++++++++++++
10 files changed, 172 insertions(+), 40 deletions(-)
create mode 100644 theme.json
diff --git a/404.php b/404.php
index e1752a7..452bc66 100644
--- a/404.php
+++ b/404.php
@@ -1,10 +1,10 @@
diff --git a/attachment.php b/attachment.php
index 71c3fff..1ed40be 100644
--- a/attachment.php
+++ b/attachment.php
@@ -5,7 +5,7 @@
diff --git a/nav-below.php b/nav-below.php
index 16b6ee8..d71dfb7 100644
--- a/nav-below.php
+++ b/nav-below.php
@@ -1,5 +1,5 @@
sprintf( esc_html__( '%s older', 'generic' ), '←' ),
-'next_text' => sprintf( esc_html__( 'newer %s', 'generic' ), '→' )
+'prev_text' => sprintf( esc_html__( '%s older', 'static-core' ), '←' ),
+'next_text' => sprintf( esc_html__( 'newer %s', 'static-core' ), '→' )
);
the_posts_navigation( $args );
\ No newline at end of file
diff --git a/search.php b/search.php
index 0cfa293..613cc39 100644
--- a/search.php
+++ b/search.php
@@ -1,7 +1,7 @@
@@ -10,10 +10,10 @@
diff --git a/style.css b/style.css
index a444949..3a29506 100644
--- a/style.css
+++ b/style.css
@@ -10,7 +10,7 @@ Tested up to: 6.6.2
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
-Text Domain: staticCore WordPress Theme
+Text Domain: static-core
© Matthew Boyles Media 2023-2025
staticCore Wordpress Theme is distributed under the terms of the GNU GPL
@@ -251,7 +251,13 @@ section {
* {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
- transition: all 0.5s ease
+}
+
+a,
+button,
+input[type="submit"],
+input[type="button"] {
+ transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
body {
diff --git a/theme.json b/theme.json
new file mode 100644
index 0000000..5bbd211
--- /dev/null
+++ b/theme.json
@@ -0,0 +1,126 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/theme.json",
+ "version": 2,
+ "settings": {
+ "appearanceTools": true,
+ "layout": {
+ "contentSize": "840px",
+ "wideSize": "1100px"
+ },
+ "color": {
+ "defaultPalette": false,
+ "palette": [
+ {
+ "slug": "primary",
+ "color": "#0073aa",
+ "name": "Primary"
+ },
+ {
+ "slug": "secondary",
+ "color": "#23282d",
+ "name": "Secondary"
+ },
+ {
+ "slug": "foreground",
+ "color": "#000000",
+ "name": "Foreground"
+ },
+ {
+ "slug": "background",
+ "color": "#ffffff",
+ "name": "Background"
+ },
+ {
+ "slug": "tertiary",
+ "color": "#f0f0f0",
+ "name": "Tertiary"
+ }
+ ]
+ },
+ "typography": {
+ "fontFamilies": [
+ {
+ "fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
+ "slug": "system-font",
+ "name": "System Font"
+ }
+ ],
+ "fontSizes": [
+ {
+ "size": "0.875rem",
+ "slug": "small",
+ "name": "Small"
+ },
+ {
+ "size": "1rem",
+ "slug": "normal",
+ "name": "Normal"
+ },
+ {
+ "size": "1.25rem",
+ "slug": "medium",
+ "name": "Medium"
+ },
+ {
+ "size": "1.5rem",
+ "slug": "large",
+ "name": "Large"
+ },
+ {
+ "size": "2rem",
+ "slug": "x-large",
+ "name": "Extra Large"
+ }
+ ]
+ },
+ "spacing": {
+ "units": [ "px", "em", "rem", "vh", "vw", "%" ],
+ "padding": true,
+ "margin": true
+ }
+ },
+ "styles": {
+ "spacing": {
+ "blockGap": "1.5rem"
+ },
+ "typography": {
+ "fontFamily": "var(--wp--preset--font-family--system-font)",
+ "fontSize": "var(--wp--preset--font-size--normal)",
+ "lineHeight": "1.6"
+ },
+ "color": {
+ "text": "var(--wp--preset--color--foreground)",
+ "background": "var(--wp--preset--color--background)"
+ },
+ "elements": {
+ "link": {
+ "color": {
+ "text": "var(--wp--preset--color--primary)"
+ },
+ ":hover": {
+ "color": {
+ "text": "var(--wp--preset--color--secondary)"
+ }
+ }
+ },
+ "h1": {
+ "typography": {
+ "fontSize": "var(--wp--preset--font-size--x-large)",
+ "lineHeight": "1.2"
+ }
+ },
+ "h2": {
+ "typography": {
+ "fontSize": "var(--wp--preset--font-size--large)",
+ "lineHeight": "1.3"
+ }
+ },
+ "h3": {
+ "typography": {
+ "fontSize": "var(--wp--preset--font-size--medium)",
+ "lineHeight": "1.4"
+ }
+ }
+ }
+ }
+}
From 79590922b0661dced227a1b03ea06054065f32d8 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 17 Feb 2026 00:14:37 +0000
Subject: [PATCH 3/5] Add file documentation headers and improve template
accessibility
Co-authored-by: embeeML <114015510+embeeML@users.noreply.github.com>
---
404.php | 10 +++++++++-
archive.php | 10 +++++++++-
comments.php | 8 ++++++++
entry-footer.php | 2 +-
entry-summary.php | 2 +-
footer.php | 8 ++++++++
functions.php | 7 +++++++
header.php | 8 ++++++++
index.php | 7 +++++++
page.php | 10 +++++++++-
search.php | 10 +++++++++-
sidebar.php | 10 +++++++++-
single.php | 10 +++++++++-
13 files changed, 94 insertions(+), 8 deletions(-)
diff --git a/404.php b/404.php
index 452bc66..07dce67 100644
--- a/404.php
+++ b/404.php
@@ -1,4 +1,12 @@
-
+