Opened 14 months ago
Closed 10 months ago
#20427 closed enhancement (fixed)
Remove unused _insert_into_post_button() function
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch needs-refresh |
| Cc: |
Description
_insert_into_post_button() is no longer used in core since [18831].
It's a private function which doesn't seem to be used in any plugins, so I guess it can be removed without deprecation.
Attachments (1)
Change History (6)
SergeyBiryukov — 14 months ago
comment:1
SergeyBiryukov — 11 months ago
I had left it there as-is originally in case anyone was using it. We can probably empty and deprecate it.
comment:3
SergeyBiryukov — 10 months ago
Related: #21317
- Keywords needs-refresh added
- Milestone changed from Awaiting Review to 3.5
Let's put it in admin/includes/deprecated.php as a stub.
Note: See
TracTickets for help on using
tickets.

Searching through the plugins repository gives 6 results:
Mostly code highlighters, it doesn't look like any of them would break.
If removing the function is still too risky, we could deprecate it just in case.