[wp-trac] [WordPress Trac] #37757: Add `allowed_classes` to `maybe_unserialize` When WordPress is running on PHP 7+

WordPress Trac noreply at wordpress.org
Sat Sep 9 14:20:04 UTC 2017


#37757: Add `allowed_classes` to `maybe_unserialize` When WordPress is running on
PHP 7+
--------------------------------------+------------------------------
 Reporter:  chrisguitarguy            |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by seuser):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests


Comment:

 Added a new patch with unit tests including coverage for ensuring
 vulnerabilities aren't introduced in interface or extended classes.
 Updated the defined() to add single quotes to match phpdoc for that and
 fixed minor coding standards issues.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37757#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list