Skip to content

v1.6.2 — Plugin Directory Review Fixes (round 2)

Choose a tag to compare

@codermillat codermillat released this 04 Sep 16:21
· 4 commits to main since this release

Plugin Directory review fixes only — no functional changes from 1.6.1

Round 2 review feedback addressed:

  • External-service URLs: three links in the readme were returning 404. Replaced with the working equivalents (Nominatim → OSM Foundation Usage Policy, MapTiler privacy, Geoapify terms-and-conditions).
  • "Tested up to" was declared in both the main plugin PHP header and readme.txt — the reviewer requires it ONLY in readme.txt (declaring it in both creates ambiguity about which version users see). Removed from the main file.
  • label_count registration was passing a variable ($label) into _n_noop(). Admin-configurable status labels cannot be in the .pot file (the gettext parser sees a non-literal because $label varies per stage), so the canonical WP pattern for custom dynamic statuses is to drop label_count from the post-status registration — counts are rendered by our own deliveries dashboard.
  • 25 inline-SVG icon echoes in the agent templates were missing late-escape. Added a routew_agent_icon_e() helper that wraps wp_kses_post(routew_agent_icon()), replaced all 25 call sites. Plugin Check's escaping audit now passes.

Quality: test suite 308 pass (the 4 pre-existing private-vendor Leaflet misses are unrelated); Plugin Check on the shipped zip: 0 errors, 0 warnings.

Upload via https://wordpress.org/plugins/developers/add/ (the upload form, not 'Add your plugin' — there's already a submission in review). The 1.6.2 zip replaces the 1.6.1 in the queue. Reply to the review email thread noting that these review items are addressed.