Why need compat.php
-
Hii,
I’m trying to learn wordpress core and when I saw thecompat.php
file inwp-include
I didn’t understand why they checking for functions that exist in php and then if it not defined they define it. It does not make any sense to me. Why trying to write function that already exist in php core and why even to check if those function exist in the first place, if they suppose to be (I am talking about functions like mb_substr() ).I would appreciate any help.
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Why need compat.php’ is closed to new replies.