Making WordPress.org

Changeset 13173


Ignore:
Timestamp:
02/05/2024 10:05:12 PM (3 years ago)
Author:
coffee2code
Message:

Photo Directory, Photo: Use continue 2 instead of break since focal length shouldn't be added at all if condition is true.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/photo.php

    r13156 r13173  
    944944                                        $value = number_format( (float) $value, 2 );
    945945                                        if ( 0 >= $value ) {
    946                                                 break;
     946                                                continue 2;
    947947                                        }
    948948                                        // Trim trailing zeroes after the decimal place, and potentially the decimal itself, then append 'mm'.
Note: See TracChangeset for help on using the changeset viewer.