[wp-trac] [WordPress Trac] #47427: deleted pages for a plugin prevent page creation during re-installation of plugin
WordPress Trac
noreply at wordpress.org
Wed May 29 13:56:00 UTC 2019
#47427: deleted pages for a plugin prevent page creation during re-installation of
plugin
--------------------------+-----------------------------
Reporter: nbi1 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.2.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Plugin xyz creates pages 'login' and 'registration' when it is installed.
Those pages are subsequently deleted (moved to trash) and the plugin is
uninstalled. If the plugin is then re-installed it will not be able to
create 'login' and 'registration' because these pages are sitting in
trash. That should not happen because an active 'login' page should not be
equal to a 'login' page in trash, they should be separate and distinct
page instances which cannot affect each other unless the user takes
explicit action (similar to the philosophy behind package installation in
Linux):
1. The current behavior should be modified to allow concurrent active and
trash instances of the same page.
2. A plugin should have a force option for creating pages.
3. There should be a force restore from trash option. The user would need
to be warned, but it should be their choice.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47427>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list