[wp-trac] [WordPress Trac] #41484: PHP 7.1 error in wp_star_rating()
WordPress Trac
noreply at wordpress.org
Sat Jul 29 18:14:55 UTC 2017
#41484: PHP 7.1 error in wp_star_rating()
-----------------------------+-----------------------------
Reporter: afragen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: trunk
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
In PHP 7.1, passing a null or empty value to {{{ round() }}} results in a
PHP warning on the Add Plugin page. This happens when the star rating is
0.
This from line 2121 from {{{ /wp-admin/includes/template.php }}}.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41484>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list