Make WordPress Core

Changeset 36273


Ignore:
Timestamp:
01/13/2016 02:48:37 AM (9 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.