bjoernklose / wordpress-api-cors Goto Github PK
View Code? Open in Web Editor NEWsimple hack/plugin that will allow the new WP-API to also work in a cross-domain environment (enable CORS)
License: GNU General Public License v2.0
simple hack/plugin that will allow the new WP-API to also work in a cross-domain environment (enable CORS)
License: GNU General Public License v2.0
Hi and thank you for trying to find a solution to the problem. I have installed the plugin on a client site so I can get json data into a mobile app but once installed errors are thrown in the admin as follows:
Warning: Cannot modify header information - headers already sent by (output started at /home/ryanvps/auctionreport.net/wp-content/plugins/wordpress-api-cors-master/wp-json-api-cors.php:1) in
lhome/ryanvps/auctionreport.net/wp-content/pluginslwordpress-apiccors-masterlwp-json-api-cors.php on line 21
Warning: Cannot modify header information - headers already sent by (output started at /home/ryanvps/auctionreportrnet/wp-content/plugins/wordpress-api-cors-master/wp-json-api-cors.php:1) in
lhome/ryanvps/auctionreport.net/wp-contentlplugins/wordpress-api-cors-masterlwp-json-api-cors.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at /home/ryanvps/auctionreport.net/wp-content/plugins/wordpress-api-cors-master/wp-json-api-cors.php:1) in
lhome/ryanvps/auctionreport.netlwp-contentlplugins/wordpress-api-cors-masterlwp-json-api-cors.php on line 23
Warning: Cannot modify header information - headers already sent by (output started at /home/ryanvps/auctionreport.net/wp-content/plugins/wordpress-api-cors-master/wp-json-api-cors.php:1) in
lhome/ryanvps/auctionreport.net/wp-contentlpluginslwordpress-api-cors-masterlwp-json-api-cors.php on line 24
even after removing the few blank lines at the end of the plugin the error remains. Any suggestion? Looking forward to your reply, thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.