Comments (2)
Added methods version_update()
and do_version_updates()
. A new option called update_version
will be tracked, and compared against the currently running plugin version. If the plugin is newer than the last stored update_version
, then it will call do_version_updates($old_version)
, which can then perform any maintenance tasks needed between the old version and the current version.
from all-in-one-seo-pack.
@dougalcampbell Make sure this can distinguish between pro and free. Keep in mind that many people upgrade to pro by activating pro while free is still active, and free only deactivates on admin_init (even then, only in the dev version, 2.3.2.3 and lower doesn't even do this)... so we'll need to test upgrading from various versions, including from various version of free to new free and various versions of free to pro (and maybe various versions of pro to newest pro?)
from all-in-one-seo-pack.
Related Issues (20)
- Critical bug: AIOSEO initialize $wp_roles global variable prematurely and broke wordpress role management HOT 4
- Bug: AIOSEO removes the "dashicons" stylesheet from WP frontend HOT 2
- The editor has encountered an unexpected error. HOT 2
- meta og:site_name generated despite being left blank HOT 2
- Robots.php error with PHP 8.1 HOT 2
- Call to Undefined Method - When saving a menu HOT 2
- Ping not working HOT 1
- The aiosp_opengraph_meta filter isn't working – cannot re-write og:url... HOT 2
- Updating link editor modal styles for WordPress 6.1 HOT 2
- Remove version number from generator meta tag HOT 1
- Version 4.3.3 broke query loop to cpt, pages, post after updating to WordPress 6.2 HOT 3
- Person/sameAs invalid type issue HOT 1
- Custom Archive and Polylang HOT 1
- Please remove "table.wp-list-table .column-name" css rule HOT 2
- Warning: Undefined array key "dashboardWidgets" after plugin update HOT 1
- Deprecated: Function print_emoji_styles in /wp-admin/index.php?page=aioseo-setup-wizard HOT 1
- TypeError in custom robots.txt editor HOT 2
- High number of deprecated notices HOT 2
- Does aioseo_options_internal need to be autoloaded? HOT 2
- aioseo_save_post filter not saving/persisting data HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from all-in-one-seo-pack.