Skip to content

Commit

Permalink
Deprecate the preferences migration function
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Feb 11, 2019
1 parent f15248b commit d4832c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/data/src/plugins/persistence/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ const persistencePlugin = function( registry, pluginOptions ) {
};
};

/**
* Deprecated: Remove this function once WordPress 5.3 is released.
*/

persistencePlugin.__unstableMigrate = ( pluginOptions ) => {
const persistence = createPersistenceInterface( pluginOptions );

Expand Down

0 comments on commit d4832c4

Please sign in to comment.