Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch WSODs and provide a means for recovery for end users #3

Closed
wants to merge 73 commits into from

Commits on Jul 30, 2018

  1. Port-over 44458.6.diff from Trac.

    Felix Arntz committed Jul 30, 2018
    Copy the full SHA
    bc7c925 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2018

  1. Copy the full SHA
    e2621f2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    421ac71 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    15a1dc2 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e472c52 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2018

  1. Copy the full SHA
    9ca6a03 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    128dca1 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    80eee40 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2018

  1. Copy the full SHA
    4852467 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fc7263a View commit details
    Browse the repository at this point in the history
  3. Fix typo in comment

    schlessera committed Aug 21, 2018
    Copy the full SHA
    741f614 View commit details
    Browse the repository at this point in the history
  4. Add redirection on protected endpoints

    When we are on a protected endpoint, we redirect to the same page after we paused a plugin.
    
    This has two effects:
    
    * The protected endpoints are always immediately available, they don't show the error message on first encounter.
    * The flow is exactly the same, whether only one plugin or multiple plugins are broken. So, if you update PHP and ten plugins break at once, you still get into the admin backend with one click, and the ten plugins will be paused already.
    schlessera committed Aug 21, 2018
    Copy the full SHA
    63ff519 View commit details
    Browse the repository at this point in the history
  5. Combine two conditionals

    schlessera committed Aug 21, 2018
    Copy the full SHA
    0d3a399 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2018

  1. Copy the full SHA
    f870c66 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2018

  1. Copy the full SHA
    6341d89 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d762d2e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    dbe5bc0 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2018

  1. Copy the full SHA
    17a4bec View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ffde485 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8e69ea3 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e028d5e View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    1fc6ea1 View commit details
    Browse the repository at this point in the history
  6. Move redirection logic for multiple errors above custom php-error.php…

    … drop-in and clarify its usage.
    felixarntz committed Oct 2, 2018
    Copy the full SHA
    671d27a View commit details
    Browse the repository at this point in the history
  7. Fix typo.

    felixarntz committed Oct 2, 2018
    Copy the full SHA
    48c4b18 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2018

  1. Copy the full SHA
    20ed46d View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7a9ac8e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    1ca98a9 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ea160ac View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    4a1e0e1 View commit details
    Browse the repository at this point in the history
  6. Introduce a simple class for storing paused extensions and store erro…

    …rs in a multisite-friendly way.
    felixarntz committed Oct 8, 2018
    Copy the full SHA
    6637b5c View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    fa7211f View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    fe38caf View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    bd8fae2 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    47d386b View commit details
    Browse the repository at this point in the history
  11. Introduce support for resuming plugins network-wide and displaying in…

    …formation about the number of affected sites.
    felixarntz committed Oct 8, 2018
    Copy the full SHA
    3e8bfe7 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2018

  1. Copy the full SHA
    4c02213 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2018

  1. Copy the full SHA
    3145368 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7cbb4e3 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    42b1205 View commit details
    Browse the repository at this point in the history
  4. Fix incorrect doc.

    felixarntz committed Dec 27, 2018
    Copy the full SHA
    2c7810b View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    11b6deb View commit details
    Browse the repository at this point in the history
  6. Introduce function to retrieve active themes, filtering out paused th…

    …emes, and use the logic to load functions.php in wp-settings.php.
    felixarntz committed Dec 27, 2018
    Copy the full SHA
    52aea23 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    d7003fb View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    fb60bea View commit details
    Browse the repository at this point in the history
  9. Add admin functions for detecting whether a theme is paused, retrievi…

    …ng its error and querying sites by the theme being paused.
    felixarntz committed Dec 27, 2018
    Copy the full SHA
    d1cae9c View commit details
    Browse the repository at this point in the history
  10. Include error in theme instance when it is paused, so that it renders…

    … as broken on Themes admin pages.
    felixarntz committed Dec 27, 2018
    Copy the full SHA
    ad88019 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    4f84f08 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    489e43e View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    5220f85 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2018

  1. Copy the full SHA
    54e9d0b View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2019

  1. Copy the full SHA
    f147375 View commit details
    Browse the repository at this point in the history
  2. Introduce WP_Shutdown_Handler class for the WSOD protection and allow…

    … overriding via a drop-in.
    felixarntz committed Jan 7, 2019
    Copy the full SHA
    851cfe7 View commit details
    Browse the repository at this point in the history
  3. Add two missing periods.

    felixarntz committed Jan 7, 2019
    Copy the full SHA
    9753e40 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2019

  1. Copy the full SHA
    3809a1c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2b73834 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    3061589 View commit details
    Browse the repository at this point in the history
  4. Revert "Be extra safe with multisite load status"

    This reverts commit 3061589.
    schlessera committed Jan 9, 2019
    Copy the full SHA
    bd47606 View commit details
    Browse the repository at this point in the history
  5. Change storage methods from set/unset to add/remove to avoid conflict…

    … with the PHP unset keyword
    schlessera committed Jan 9, 2019
    Copy the full SHA
    0a595a5 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    ea95b60 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    885bae6 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    6c63be1 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    9bfabcc View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    0528ff5 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    e9f6b84 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    f0c175e View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    ce30fc3 View commit details
    Browse the repository at this point in the history
  14. Fix bug in isset logic

    schlessera committed Jan 9, 2019
    Copy the full SHA
    c433600 View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    5d38162 View commit details
    Browse the repository at this point in the history
  16. Revert "Skip pausing of security-related plugins to avoid opening up …

    …an attack vector"
    
    This reverts commit 5d38162 as it
    requires another discussion.
    felixarntz committed Jan 9, 2019
    Copy the full SHA
    489495f View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    d9e59f9 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    d3ede87 View commit details
    Browse the repository at this point in the history
  19. Adjust translation strings to get rid of the term execution and match…

    … existing labels in admin.
    felixarntz committed Jan 9, 2019
    Copy the full SHA
    9c078c1 View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    ecfd731 View commit details
    Browse the repository at this point in the history