eval problem in classes.php and rewrite.php
|Reported by:||obsidiandh||Owned by:||westi|
One of the moderators on the support forums said I should raise a ticket for this.
wp-includes/classes.php and wp-includes/rewrite.php both use the eval function.
This function is disabled by suhosin (and sometimes in php.ini) for security reasons.
I've written a patch for the files which under my limited testing seems to have no ill effects.
I expect you can find a cleaner way to do this but here is the patch (see attached files).
Hopefully this will help you get wordpress installed on more locked down systems.
Change History (28)
- Component changed from General to Security
- Owner changed from anonymous to ryan
- Keywords has-patch added
- Milestone changed from Unassigned to 2.8
- Component changed from Security to Permalinks
- Keywords needs-patch added; has-patch removed
- Priority changed from normal to low
- Severity changed from normal to minor
comment:6 in reply to: ↑ 4 @Denis-de-Bernardy — 6 years ago
- Keywords dev-feedback added; 2nd-opinion removed
- Keywords needs-patch added; has-patch dev-feedback removed
comment:17 @westi — 6 years ago
- Owner changed from ryan to westi
- Status changed from new to reviewing