[wp-trac] [WordPress Trac] #48149: Suggestion: Optional parameter to remove width and height attribute from attachment image markup
WordPress Trac
noreply at wordpress.org
Thu Sep 26 12:31:52 UTC 2019
#48149: Suggestion: Optional parameter to remove width and height attribute from
attachment image markup
-----------------------------------+------------------------------
Reporter: subrataemfluence | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.2.3
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------------
Comment (by SergeyBiryukov):
Previously: #14110, #20358, #30525.
Thanks for the patch! Just a quick note that new parameters cannot be
added in the middle of an existing function signature, as that breaks
backward compatibility. They can only be added at the end.
It would also be good to revisit the discussions from the previous tickets
linked above.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48149#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list