lpointet / prepare-new-version Goto Github PK
View Code? Open in Web Editor NEWWordPress plugin for copy, duplication and replacement of posts
WordPress plugin for copy, duplication and replacement of posts
The plugin is currently completely automatic and the user cannot choose any of its functions to be activated or not.
We should create a option screen to let the user choose some things, like:
These options should be saved through the WordPress Options API (http://codex.wordpress.org/Options_API).
There are already some methods in the include/option.php file of the plugin to get some of those data. For example, PNV_Option::get_post_types() returns supported post types.
The PNV::is_filtered_meta() method should be reviewed to call one PNV_Option method and get filtered metas from it, instead of creating a static array.
The plugin should give the user the ability to schedule the date and hour of an erasement.
For example, let's say a site contains a master post A, and one of its pending versions B. The main action for B is to erase its master: A.
Now, if the user wants to publish this new content at one time in particular (january the first at midnight for example...), we should let them choose that time and do it automagically, like WordPress does with regular scheduled posts.
It think we should then use the actions provided by WordPress core itself for the post scheduling machine: studying is needed here to see if it's possible to schedule a duplicata and then not publishing it, but its master instead...
When an original post has been modified since a pending version has been created, we should inform the user that there could be some lost during the update.
When activating the plugin with a French WordPress install, the WP-Pointer that should appear... doesn't.
When activating "WCK" plugin, an error occurs because of the use of 'add_meta_boxes' hook: this plugin calls it without the second argument ($post).
We should be sure that this argument is present and maybe fill it with a default value.
Hide post status select box for a duplicate when the user click on "quick edit" in the post list.
Use post edition URL to handle duplication actions: this will be more accurate for rights verification.
The French translation of 'None' is currently 'Aucun' instead of 'Aucune' since we're now talking about 'versions' which is a feminine word.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.