[wp-trac] [WordPress Trac] #35101: image_default_link_type option not being respected
WordPress Trac
noreply at wordpress.org
Mon Jan 4 04:51:09 UTC 2016
#35101: image_default_link_type option not being respected
-------------------------------------------+-------------------------
Reporter: ben1390 | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 4.4
Severity: normal | Resolution: worksforme
Keywords: has-patch needs-testing close | Focuses:
-------------------------------------------+-------------------------
Comment (by wetapplemedia):
Replying to [comment:15 azaozz]:
> Replying to [comment:13 wetapplemedia]:
> > ...the image defaults overrides set by my default theme should
override any visitor or editor's choices on initial load of edit screens.
>
> This is how it works now but only until the editors select another
setting. Then their choice overrides the default. If you want to force
them to always use the default for all attachments that are inserted into
the editor, see the example in [#comment:10 comment 10].
>
> For me keeping the last selected value feels better, but I agree that
always starting with the defaults is also a possibility. I'm not sure
which is the better UX.
>
> Thinking it is worth it to check how other open source software is
handling similar cases, even do some user testing, and then change the way
this works in core.
>
> Going to close this ticket as it is a bug against a minor release, but
feel free to open an enhancement ticket with some examples from other open
source software, etc.
Two things:
1) I actually thought that the code I put in the theme functions.php file
(see comment #6) was the override for the default behavior. So, are you
saying that there is now just a new way of overriding the default
behavior, using the code you outlined in comment #10?
2) In my case, the theme is designed to work with image insertions that
always start on the right side, and enforcing the behavior with our
editors is ...needed. ;-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35101#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list