[wp-trac] [WordPress Trac] #47454: BC Math isn't used in WordPress core

WordPress Trac noreply at wordpress.org
Sat Sep 21 11:44:18 UTC 2019

#47454: BC Math isn't used in WordPress core
 Reporter:  bronsonquick                      |       Owner:  (none)
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  5.3
Component:  Site Health                       |     Version:  5.2
 Severity:  normal                            |  Resolution:
 Keywords:  has-patch has-screenshots commit  |     Focuses:
Changes (by Clorith):

 * keywords:  has-patch site-health has-screenshots => has-patch has-
     screenshots commit


 [attachment:"47454.patch"] updates the tests to reflect the current state
 of the Hosting Teams handbook recommendations.

 This includes removing the `bcmath` function, and introduce some new ones
 used by core in various locations for certain scenarios.

 It also extends the test feature to be more flexible, now also allowing
 for inclusion of constant and class names to be checked for. This also
 provides a more robust test platform, as certain attributes may exist,
 while others are not available, most notably the `libsodium` check which
 now looks for the `SODIUM_LIBRARY_VERSION` constant, instead of the
 `sodium_compare` function as the function check was unreliable for that.

Ticket URL: <https://core.trac.wordpress.org/ticket/47454#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list