WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 months ago

#13005 accepted enhancement

Add plugin hook for ajax-tag-search

Reported by: jimmcq Owned by: westi
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch needs-testing
Focuses: administration Cc:

Description

I would like to have a new plugin action hook added in the ajax-tag-search section of wp-admin/admin-ajax.php

Attachments (1)

admin-ajax.php.diff (538 bytes) - added by jimmcq 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 jimmcq4 years ago

  • Priority changed from normal to high
  • Type changed from feature request to enhancement

In case it wasn't entirely clear, the goal is to be able to modify the results (suggested tag list) that gets sent back to the ajax call.

Would it make sense to insert something right between to $results=$wpdb->get_col line and the echo join($results,"\n") line?

jimmcq4 years ago

comment:2 jimmcq4 years ago

  • Keywords has-patch needs-testing added; plugin hook removed

comment:3 westi4 years ago

  • Component changed from Plugins to Administration
  • Milestone changed from Unassigned to Future Release
  • Status changed from new to accepted

This feels like a good thing to do.

I wonder if we shouldn't be using an API to get those rather than having a hardcoded query there.

Moving into Future Release for now but this doesn't mean it will get forgotten :-)

comment:4 bedex7812 months ago

I just came across a need for this (http://wordpress.stackexchange.com/q/95868/1044). bbpress seems to have this functionality (http://bbpress.trac.wordpress.org/attachment/ticket/459/459.3.diff). Maybe we can learn from it?

Last edited 12 months ago by bedex78 (previous) (diff)

comment:5 SergeyBiryukov12 months ago

  • Priority changed from high to normal

Related: #13580

comment:6 nacin3 months ago

  • Component changed from Administration to Posts, Post Types
  • Focuses administration added
Note: See TracTickets for help on using tickets.