chore: v0.1.5 — wp.org reviewer-feedback fix
Reviewer flagged inc/about.php line 19 — an inline <style> block — asking us to use wp_enqueue_style instead. Per their hint that the team may not list every instance of an issue, fixed the entire CSS inline-styling pattern across the plugin: - inc/about.php: <style> block (lines 19-59) → moved to buddy.css - inc/about.php: <span style="color:#646970; font-weight:400;"> → .buddy-about-intro__version class - inc/about.php: <p style="margin-bottom:0;"> → .buddy-about-intro__cta - inc/settings.php: <form style="..."> → .buddy-settings-form class - inc/settings.php: <h2 style="margin-top:0;"> → scoped under form class - inc/admin-page.php: <p style="max-width:720px;"> → .buddy-admin-description utility class The only remaining inline style is in inc/dashboard-widget.php at the stat-bar width — that is a runtime-computed %d value, legitimately inline. The buddy.css file was already enqueued on the About / Settings / Admin / Dashboard pages via the existing buddy_enqueue_admin_assets function, so no new enqueue logic was needed. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+8
-1
@@ -4,7 +4,7 @@ Tags: dashboard, pet, gamification, virtual-pet, fun
|
||||
Requires at least: 5.0
|
||||
Tested up to: 7.0
|
||||
Requires PHP: 7.4
|
||||
Stable tag: 0.1.4
|
||||
Stable tag: 0.1.5
|
||||
License: GPLv2 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@@ -83,6 +83,10 @@ Yes. The plugin is GPL v2 or later and the full source is published on Gitea at
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 0.1.5 =
|
||||
* Moved the About page inline `<style>` block into the enqueued `buddy.css` stylesheet per WordPress.org reviewer feedback.
|
||||
* Replaced inline `style="..."` attributes on the Settings form, Settings name heading, and main admin page description with proper CSS classes. The only remaining inline style is the dynamic stat-bar `width:%d%%` value in the Dashboard widget, which is runtime data.
|
||||
|
||||
= 0.1.4 =
|
||||
* Renamed to RangerHQ Buddy as part of the RangerHQ plugin family naming convention.
|
||||
* Updated Plugin URI and Author URI to davidtkeane.com.
|
||||
@@ -105,5 +109,8 @@ Yes. The plugin is GPL v2 or later and the full source is published on Gitea at
|
||||
|
||||
== Upgrade Notice ==
|
||||
|
||||
= 0.1.5 =
|
||||
WordPress.org reviewer-feedback fix — all CSS now properly enqueued via wp_enqueue_style instead of inline. No user-visible behaviour changes.
|
||||
|
||||
= 0.1.4 =
|
||||
Plugin renamed to RangerHQ Buddy and prepared for the WordPress.org Plugin Directory. No user-visible behaviour changes; existing Buddy state preserved.
|
||||
|
||||
Reference in New Issue
Block a user