[wp-trac] [WordPress Trac] #48304: Big Image: Revisit 'threshold' suffix on file names
WordPress Trac
noreply at wordpress.org
Mon Oct 21 19:27:14 UTC 2019
#48304: Big Image: Revisit 'threshold' suffix on file names
--------------------------+---------------------
Reporter: kraftbj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by chrisvanpatten):
For whatever it's worth, I want to note that to me the simpler format here
is a major advantage of this approach as it allows us to construct the URL
to the "threshold" version from ''any'' size, without knowing exact
dimensions. We were previously filtering core in gross/scary ways to get
this behavior, and it's been amazing to be able to revert this code and
use a simpler approach in core.
Frankly, I'd like to see this change rolled out across the board; using
the image size name as the suffix instead of exact dimensions.
I'd be very disappointed to see this go away.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48304#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list