The contents of the Contextual Help are read from certain sections of the readme.txt.
While clever, this:
is fragile, as a change in order of the documentation sections means the wrong content is shown.
requires a large markdown library class, which doesn't confirm to WordPress Coding Standards, isn't a proper dependency and so is likely out of date, and difficult to keep up to date.
no longer words as I've deleted the readme.txt file as it was mostly duplicating the README.md file.
[ ] Remove common/lib/markdown.php file.
[ ] Remove parse_readme_into_contextual_help() and any similar functions.
[ ] Update the contextual_help() with any information that is useful for the user audience.
The contents of the Contextual Help are read from certain sections of the
readme.txt
.While clever, this:
readme.txt
file as it was mostly duplicating theREADME.md
file.parse_readme_into_contextual_help()
and any similar functions.contextual_help()
with any information that is useful for the user audience.