WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/13/2016 02:48:37 AM (4 years ago)
Author:
joehoyle
Message:

Add support for 451 http status code (Unavailable For Legal Reasons.)

Though this is technically still in the proposal stage, there is support from the core team and precedent in #16914

Props andizer.
Fixes #35333.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r36266 r36273  
    10221022            429 => 'Too Many Requests',
    10231023            431 => 'Request Header Fields Too Large',
     1024            451 => 'Unavailable For Legal Reasons',
    10241025
    10251026            500 => 'Internal Server Error',
Note: See TracChangeset for help on using the changeset viewer.