Changes between Initial Version and Version 1 of Ticket #34931, comment 2
- Timestamp:
- 12/09/2015 10:06:04 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34931, comment 2
initial v1 3 3 I'll leave it to others to decide whether this filter makes sense. 4 4 5 From a code point of view I'd suggest you to follow the [https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/#4-hooks-actions-and-filters inline documentation standards] for filters. Perhaps putting `$ratio_diff `= apply_filters( 'max_srcset_image_diff_ratio', 0.002 )` on a new line for increased readability.5 From a code point of view I'd suggest you to follow the [https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/#4-hooks-actions-and-filters inline documentation standards] for filters. Perhaps putting `$ratio_diff = apply_filters( 'max_srcset_image_diff_ratio', 0.002 )` on a new line for increased readability.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)