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 @@

-←' ); ?>post_parent ) ); ?> +←' ); ?>post_parent ) ); ?>
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 @@ - +

diff --git a/archive.php b/archive.php index 60c9ae0..a0e139a 100644 --- a/archive.php +++ b/archive.php @@ -1,4 +1,12 @@ - +

diff --git a/comments.php b/comments.php index 220d7bb..9f27872 100644 --- a/comments.php +++ b/comments.php @@ -1,3 +1,11 @@ +
- +' . esc_html__( 'Tags: ', 'static-core' ), ', ', '' ); ?> | ' . sprintf( esc_html__( 'Comments', 'static-core' ) ) . ''; } ?> \ No newline at end of file diff --git a/entry-summary.php b/entry-summary.php index 586aa89..28a2845 100644 --- a/entry-summary.php +++ b/entry-summary.php @@ -1,6 +1,6 @@
- + the_title_attribute( array( 'echo' => false ) ) ) ); ?>
diff --git a/footer.php b/footer.php index 24c208f..98d9b95 100644 --- a/footer.php +++ b/footer.php @@ -1,3 +1,11 @@ +
diff --git a/functions.php b/functions.php index a8a8f6b..8b2fd9c 100644 --- a/functions.php +++ b/functions.php @@ -1,4 +1,11 @@ > diff --git a/index.php b/index.php index 48cacb7..48b02e0 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,11 @@ +