Plugin Directory

Changeset 1722904


Ignore:
Timestamp:
08/31/2017 08:05:38 PM (9 years ago)
Author:
infracontentools
Message:

allowed cors

Location:
wp-contentools/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-contentools/trunk/readme.txt

    r1713290 r1722904  
    4949== Changelog ==
    5050
     51= 2.2 =
     52* Added allowed methods
     53
    5154= 2.1 =
    5255* Fixed X-Frame-Options not showing in a few screens
  • wp-contentools/trunk/wp-contentools.php

    r1713290 r1722904  
    1616@header("Access-Control-Allow-Origin: *");
    1717@header("Access-Control-Expose-Headers: X-WP-Contentools");
     18@header("Access-Control-Allow-Methods: HEAD, PATCH, GET, PUT, POST, DELETE, OPTIONS");
    1819
    1920/*Check if the .htaccess file has the http auth, if not, adds it*/
Note: See TracChangeset for help on using the changeset viewer.