WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#10809 closed feature request (invalid)

add another button to "image_link_input_fields" function, or add output filtering

Reported by: aesqe Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: Media Keywords:
Focuses: Cc:

Description

"image_link_input_fields" function outputs one input field and 3 buttons in attachment data editing forms.
they are used to choose linking options for the attachments you want to insert into a post.
the options are: none, file url or post (attachment) url.

it would be great if there was another button which would let users link the attachment to the parent post (or to the post which is currently being edited), or maybe even better - add filtering to function's output.

Change History (3)

comment:1 aesqe5 years ago

  • Cc aesqe@… added

comment:2 aesqe4 years ago

  • Resolution set to invalid
  • Status changed from new to closed

OK, sorry about this one, one can quite easily add new buttons via "attachment_fields_to_edit" filter, I just didn't realize it soon enough :)

comment:3 sirzooro4 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.