-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add migration scripts for site blurb #1423
Comments
Is this just specifically for this one thing, or as part of a larger strategy to write from A to B? How much of Largo 0.5.5.3's update functions do you want to import? All of the pre-0.5.5.3 stuff can be removed, but the broad strokes might be worth importing and switching over from the of_get_option mode: https://github.com/INN/Largo/blob/v0.5.5.3/inc/update.php Of the stuff in the 0.5.5.3 file, I think we should keep these:
Notes on other bigs:
|
Also, will we want tests in Largo 1.x? |
=> part of a larger strategy to write from A to B I think we'll unfortunately need to keep everything in the updates file. What if someone tries to update from Largo < .5 to Largo 1.0? We'll need to have it run all the upgrade scripts. |
Re: testing, I think we should try to use https://codex.wordpress.org/Theme_Unit_Test instead of writing unit tests, which is more standard for plugins than themes |
Notes from talk with RC yesterday:
So, as regards the general update script:
|
… improved logic on when to run what update functions
of_get_option( 'site_blurb' )
=>get_option( 'site_description' )
The text was updated successfully, but these errors were encountered: