[wp-trac] [WordPress Trac] #56304: Deprecated function mcrypt_create_iv() after PHP 7.1 update.

WordPress Trac noreply at wordpress.org
Fri Jul 29 19:38:50 UTC 2022


#56304: Deprecated function mcrypt_create_iv() after PHP 7.1 update.
--------------------------------+-------------------------------
 Reporter:  hilayt24            |       Owner:  (none)
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  External Libraries  |     Version:
 Severity:  major               |  Resolution:  invalid
 Keywords:  has-patch           |     Focuses:  coding-standards
--------------------------------+-------------------------------

Comment (by jrf):

 What @SergeyBiryukov says is correct, but more than that, if you look at
 the `random_compat/random.php` bootstrap file, you can see that the
 functionality of this external dependency will only ever be used on PHP
 5.6.

 In other words: patching this is absolutely unnecessary (and wrong).

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


More information about the wp-trac mailing list