Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#49179 new enhancement

Manage Post trackbacks within the REST API

Reported by: imath's profile imath 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)

49179.patch (8.7 KB) - added by imath 3 years ago.

Download all attachments as: .zip

Change History (5)

@imath
3 years ago

This ticket was mentioned in Slack in #core by imath. View the logs.


3 years ago

#2 @andraganescu
3 years ago

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.

#3 @TimothyBlynJacobs
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.

#4 @TimothyBlynJacobs
3 years ago

  • Type changed from defect (bug) to enhancement
Note: See TracTickets for help on using tickets.