[wp-trac] [WordPress Trac] #42439: Update random_compat external library for PHP 7 linting failure

WordPress Trac noreply at wordpress.org
Thu Dec 7 04:27:55 UTC 2017


#42439: Update random_compat external library for PHP 7 linting failure
--------------------------------+---------------------
 Reporter:  jrdelarosa          |       Owner:  dd32
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.9.2
Component:  External Libraries  |     Version:  4.9
 Severity:  normal              |  Resolution:  fixed
 Keywords:  fixed-major         |     Focuses:
--------------------------------+---------------------

Comment (by dd32):

 Plugins calling `random_int()` and `random_bytes()` should be fine with
 the changes made here, I'm not really sure why the plugins list was posted
 :)

 Something I am going to note here, is that [42130] Updated Random_Compat
 from 1.2.1 to 2.0.11, which in the process dropped the OpenSSL provider
 for WordPress 5.0.

 It's possible that the loss of OpenSSL here could be an issue for some
 environments, notably locked down linux environments and older Windows
 systems off the top of my head.

 I'm contemplating if we shouldn't add the OpenSSL Handler back in, it'll
 mean we diverge from upstream, but might be the safest option overall for
 WordPress.

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


More information about the wp-trac mailing list