[wp-trac] [WordPress Trac] #61468: DivisionByZero issue for comments on PHP8.0+

WordPress Trac noreply at wordpress.org
Tue Apr 1 17:06:41 UTC 2025


#61468: DivisionByZero issue for comments on PHP8.0+
------------------------------------+------------------------------
 Reporter:  hideandgeek404          |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Comments                |     Version:
 Severity:  major                   |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by burhi):

 Thanks @Presskopp The codes are not compatible, I couldn't find it. The
 current (6.7.2) options-discussion.php file contains the following codes;

 {{{

         __( 'Hold a comment in the queue if it contains %s or more links.
 (A common characteristic of comment spam is a large number of
 hyperlinks.)' ),
         '<input name="comment_max_links" type="number" step="1" min="0"
 id="comment_max_links" value="' . esc_attr( get_option(
 'comment_max_links' ) ) . '" class="small-text" />'
 }}}

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


More information about the wp-trac mailing list