Opened 15 years ago
Closed 11 years ago
#18423 closed enhancement (wontfix)
Make internal linking's River + Query constructors public
| Reported by: | mitchoyoshitaka | Owned by: | koopersmith |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | 3.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | javascript |
Description
...and restructure them so that they're slightly more configurable, i.e. making the AJAX endpoint URL and result rendering overrideable.
Attachments (1)
Change History (5)
#2
@
15 years ago
- Milestone Awaiting Review → Future Release
- Version → 3.2
I like this idea, but would prefer to iterate and tighten the code up before making it publicly available. I'd also like to wait until we properly establish a JS namespace.
Mitcho, can you elaborate on your use cases for the exposed Query and River classes?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch v1, refactored so they're in wp.lookup.Query and wp.lookup.River. Also introduces wp.utils, but this should probably be moved out into a separate file in the near future.