An error occurred when processing the import file.
-
This started after the move to json.
PHP:
https://gist.github.com/octalmage/07f26e0d1f25cea9a8ca92ebc67a3a14
<?php /* Plugin Name: PHP Compatibility Custom Timeout */ function custom_timeout( $timeout ) { return 0; } add_filter( 'wpephpcompat_scan_timeout', 'custom_timeout', 10 );
JSON:
{ "generator": "Code Snippets v2.10.0", "date_created": "2018-01-22 21:31", "snippets": [{ "name": "PHP Compatibility Custom Timeout", "scope": "global", "code": " \r\n\/*\r\nPlugin Name: PHP Compatibility Custom Timeout\r\n*\/\r\n\r\nfunction custom_timeout( $timeout ) {\r\n\treturn 0;\r\n}\r\n\r\nadd_filter( 'wpephpcompat_scan_timeout', 'custom_timeout', 10 );" }] }
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘An error occurred when processing the import file.’ is closed to new replies.