Making WordPress.org

Opened 7 years ago

Closed 7 years ago

#4858 closed enhancement (fixed)

Add guard clauses for themes repo package

Reported by: dingo_d Owned by: dd32
Priority: normal Milestone:
Component: Theme Directory Keywords: has-patch dev-feedback
Cc:

Description

Locally when running the meta repository in VVV I got errors when creating fake theme packages where version, theme url, author url and ticket id go. Also the status (which is stored in the post meta is also not defined).

This patch adds guard clauses that prevent these errors from occurring locally.

Attachments (1)

4858.diff (1.4 KB ) - added by dingo_d 7 years ago.

Download all attachments as: .zip

Change History (2)

@dingo_d
7 years ago

#1 @dd32
7 years ago

  • Owner set to dd32
  • Resolutionfixed
  • Status newclosed

In 9303:

Theme Directory: Add some guard clauses to prevent PHP Notices in Meta Development environments where the full data is not available.

Props dingo_d.
Fixes #4858.

Note: See TracTickets for help on using tickets.