[wp-trac] [WordPress Trac] #48937: Auto-refresh maintenance mode screen
WordPress Trac
noreply at wordpress.org
Wed Jan 15 14:27:14 UTC 2020
#48937: Auto-refresh maintenance mode screen
--------------------------------------+-----------------------------
Reporter: Paddy Landau | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses: ui
--------------------------------------+-----------------------------
Comment (by apieschel):
Replying to [comment:4 Paddy Landau]:
> @apieschel — Thank you for this work!
>
> I'd love to help out by testing the patch, but I have no idea how to go
about it.
>
> Is there a dummy's guide to incorporating the patch for testing?
There is a guide https://make.wordpress.org/core/handbook/testing/patch/,
though it requires some prior knowledge of setting up a local development
environment, which is by no means intuitive. I can try to answer any
questions you have though. In terms of more informal, manual testing, an
option would be to manually download a clean copy of WordPress, set up an
install on a local server, and simply copy and paste the code to the
relevant files.
To try it out, you would need to force maintenance mode by creating a file
called ".maintenance." in the root directory (where wp-config.php lives),
and adding this line of code:
{{{
<?php $upgrading = time(); ?>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48937#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list