Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#57234 assigned defect (bug)

oembed_cache created in post affects the post_author on export

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

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
3 years ago

  • Owner set to gziolo
  • Resolution → fixed
  • Status new → 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
3 years ago

  • Resolution fixed
  • Status closed → reopened

I referenced a wrong ticket number by accident. Reopening

#3 @gziolo
3 years ago

  • Owner gziolo removed
  • Status reopened → assigned
Note: See TracTickets for help on using tickets.