Make WordPress Core

Opened 20 months ago

Last modified 5 months ago

#57234 assigned defect (bug)

oembed_cache created in post affects the post_author on export

Reported by: wecanwang's profile wecanwang Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Embeds Keywords: needs-patch
Focuses: Cc:

Description

To fix ticket #34115 we've introduced a custom type oembed_cache in the post table. However, once an oembed_cache is created the post_author will be the user who triggers it instead of the site owner. Because of the reason above, when you try to export the blog, it'll show up as a <wp:author> in the file which is pretty confusing. It probably makes more sense to set the post_author as 0 or set it to the site owner.

Change History (3)

#1 @gziolo
5 months ago

  • Owner set to gziolo
  • Resolution set to fixed
  • Status changed from new to closed

In 57559:

Editor: Make asset file optional for block scripts

It is no longer a hard requirement that a *.asset.php file is present to register a script for block.

Fixes #57234.
Props joefusco, gziolo, spacedmonkey, colorful-tones.

#2 @gziolo
5 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

I referenced a wrong ticket number by accident. Reopening

#3 @gziolo
5 months ago

  • Owner gziolo deleted
  • Status changed from reopened to assigned
Note: See TracTickets for help on using tickets.