[wp-trac] [WordPress Trac] #32417: Add new core widget: image widget
WordPress Trac
noreply at wordpress.org
Sat May 30 02:30:27 UTC 2015
#32417: Add new core widget: image widget
------------------------------------------+--------------------------------
Reporter: melchoyce | Owner: wonderboymusic
Type: feature request | Status: assigned
Priority: normal | Milestone: 4.3
Component: Widgets | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: ui,
| administration
------------------------------------------+--------------------------------
Comment (by valendesigns):
These plugins have something in common that doesn't work, which is support
for other media types and they save additional input fields which over
complicates the situation. I agree we should not reinvent the wheel here,
but none of them are a simple patch away from being merged. So even though
they are stress-tested they only solve 1/4 of the problem.
I feel like we could make this work if we used AJAX to load the markup and
saved data as a shortcode. Obviously I would need to qualify that further,
but we shouldn't rule it out completely based on what others tried to do
in the past. We also don't need to run `shortcode_unautop` like was part
of the issue in #10457.
However, we should be cautious and do a POC if we decide to go the preview
route. And if we do not have previews, besides image, that is 100% ok with
me too. Though I still think we should treat this like a feature plugin
for testing purposes and the fact it would likely be a healthy patch. One
of my main concerns is that it must work flawlessly in the Customizer when
it's all complete.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32417#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list