Opened 3 years ago
Last modified 3 years ago
#49179 new enhancement
Manage Post trackbacks within the REST API
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | REST API | Keywords: | has-patch needs-unit-tests |
Focuses: | Cc: |
Description
Hi,
I've noticed, unlike the Classic Editor, the Blocks Editor does not include a place to add trackbacks to a post. After looking more into it, I've found a possible reason for it could be that the WP_REST_Posts_Controller
doesn't support adding trackbacks.
I believe it's weird the Blocks Editor includes a Discussion panel saying Allow pingback and trackbacks
although it's only possible to add trackbacks from the Classic Editor.
I suggest the attached as a primarily step before working from the Gutenberg GH repo to suggest a way to deal with this feature.
In the meantime, if some of you need to send trackbacks from the Blocks Editor, you can use this plugin.
Attachments (1)
Change History (5)
This ticket was mentioned in Slack in #core by imath. View the logs.
3 years ago
#3
@
3 years ago
- Keywords needs-unit-tests added
- Milestone changed from Awaiting Review to Future Release
- Version set to 4.7
Thanks for working on this @imath! I think this makes sense to add.
Disabling sanitization and validation by setting sanitize
and validate
callbacks to null shouldn't be necessary, were you running into issues without that?
This will also need unit tests.
Howdy @imath :)
What is the best way to manually test this patch? I tried pinking from two local installs (a dev setup and an instance in a local vagrant) but couldn't see any effect.