Theme API Audit
See original GitHub issueI’m currently working through, reviewing all the open (and many closed) issues & PRs with the themes
label. In doing this, I’m collecting together a set of quick wins & bigger changes I want to make as part of the alpha process.
This should feed into a set of subtasks/issues, and ultimately into a blog post about what’s changing.
- review open issues w/ theme label
Known things which need extended reviews:
- asset helper + envs
- excerpts?
- deprecations
Other tasks:
- write up the new package.json spec
- create a validator for the new package.json spec in gscan
- write a blog post about all the changes
The plan is that, with the exception of features that have been deprecated for over a year, like some of the body classes and page_url
, although some changes may be required for a theme to work with Ghost 1.0.0, themes that work with 1.0.0 should also work on the 0.11 LTS branch. E.g, themes can be prepared in advance of the release of Ghost 1.0.0.
- Remove the deprecated features
- Get rid of validateActiveTheme
- scan themes with gscan when copied themes manual to themes folder (we could scan the active theme on the first http request to ensure it’s 100% valid or similar ideas)
Error handling:
- Revisit stack printing
- Simplify logic for finding the error template
- https://github.com/TryGhost/Ghost/issues/6894#issuecomment-221700724
- Split templates for error rendering in themes (see comment here
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Performing DIY Theme Security Audit Before Launching a ...
Theme security audit includes, the process of finding, fixing, and enhancing the security of themes within the design, development, ...
Read more >API Audit | OpenAPI contract Security Audit & Linter - 42Crunch
API Audit performs over 300+ checks on your OpenAPI definition file and provides instant security scoring for prioritization and remediation advice.
Read more >Audit WordPress Themes - ThemeForest
Get 132 audit WordPress themes on ThemeForest such as Auditing | Accounting Consultant, Finance WordPress Theme, Finbuzz - Corporate Business WordPress ...
Read more >Audit API by SE Ranking
Get programmatic access to the data gathered from the SE Ranking platform with Audit API.
Read more >Audit Your Theme - YouTube
andrewozoneThemes can become a beast. Over time, features get added and new patterns get introduced. Tight deadlines may also cause you to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have raised #8219, #8221 & #8222 to capture what’s left here.
@ErisDS Could we raise one or two separate issues with the missing pieces and close this big issue? Let me know 👍