accelerated-mobile-pages
accelerated-mobile-pages copied to clipboard
Detect WP_DEBUG and give option of ON and OFF
Help Scout Link: https://secure.helpscout.net/conversation/845466698/64849?folderId=2770545
Please use ampforwp_get_setting and change the position of it - https://prnt.sc/oyin3g and also it should be off by default
Removed debug mode from advanced setting and added as admin notice. It will be visible when wp_debug is true in wp_config.php file
Need to remove the space from WP_DEBUG - https://take.ms/6ZfgX because if there is a space then it is not working.
- Add nonce verification in all wp_ajax
- check user capability to save option before replacing debug mode
- Show admin notice only for Administrator
escaping missing in nonce https://github.com/ahmedkaludi/accelerated-mobile-pages/commit/0376fffb128b08c2b35cce0b5ac7c03acacbbbe2#diff-4c7e8aaf3d2ea6555ce6cdd4ecae8e69R1207
Ready to mereg.
https://monosnap.com/file/AOkWQxvO6pnp4Y7D11dCuSV46aAaj1
- [ ] multiple issues, Discuss with @ahmedkaludi directly