funkhaus / fuxt-backend

A theme that turns WordPress into a true Headless CMS. Optimized for the fuxt frontend boilerplate and fuxt-api plugin.
GNU General Public License v3.0
101 stars 19 forks source link

PHPCS fix #41

Closed rsm0128 closed 2 years ago

rsm0128 commented 2 years ago
rsm0128 commented 2 years ago

@drewbaker This PR is ready for review. Next step is to update the function names with prefix to avoid any conflict or we can convert to Class structure like acf-functions.php

drewbaker commented 2 years ago

@rsm0128 can you update the readme with some instructions on how to use this? We use VS Code at Funkhaus, so any tips on how to run the linting with VS code would be helpful.

rsm0128 commented 2 years ago

@drewbaker I added MD file to configure PHPCS and WPCS

rsm0128 commented 2 years ago

Also, added code to disable SameSite="None" for non-secure HTTP sites