Page 2 of 2

Re: How to ignore wp-toolkit process?

Posted: 21 Aug 2023, 05:10
by alexf
If you have more than 1 version of PHP running on your server, you will need a version specific rule for each version.

Re: How to ignore wp-toolkit process?

Posted: 21 Aug 2023, 05:18
by Sergio
No, as you can write your regex to take care of all PHP versions in just one line.

Re: How to ignore wp-toolkit process?

Posted: 21 Aug 2023, 05:26
by alexf
Sergio wrote: 21 Aug 2023, 05:18 No, as you can write your regex to take care of all PHP versions in just one line.
Sergio,
Thank you. I never thought to code the line with a regex [74|80|81].
I will take it as my birthday present today, 21-Aug.

Re: How to ignore wp-toolkit process?

Posted: 21 Aug 2023, 05:36
by Sergio
You can do it simpler, just write \d+ instead of [74|80|81], using \d+ you will take care of any PHP version old or future.

Happy Birthday!