Automating version display in migration documentation

Updated DOC to reflect that [the migration plugin now supports WP 5.8.1]

Thank you - but - we should not be manually updating anything in the documentation each time a new version is released or something is updated!

These manual steps have a way of accumulating over time, and it’s fairly easy to keep up with them 3 or 4 or 5 times but they always get out of date!

Always look for ways to do the work once and set up something that just keeps working later on, instead of requiring more steps every single time we do a release or an update.

I assume you are talking about Installing ClassicPress | ClassicPress Documentation here. In this case we have already solved that problem on the main site How to Install ClassicPress CMS | Download ClassicPress

The code for that shortcode is here: site-www/wp-content/mu-plugins/cp-migration-get-latest-ver.php at 9de1031c7f61f07f420225a41741a54729785174 · ClassicPress/site-www · GitHub

Then let’s Add that shortcode that returns latest supported version in doc site as well
It’s the only way I know to make a plain text entry dynamic…

I’ll add it to the git repo as pr?

We can skip a couple of steps there too. I can add the code now and you can update the doc content?

Done on my end: Add [cp_migration_get_wp_ver] shortcode · ClassicPress/site-docs@176e02b · GitHub

yeah sure, the shortcode is added:
[cp_migration_get_wp_ver]