Opened 5 years ago

Closed 5 years ago

#4858 closed enhancement (fixed)

Add guard clauses for themes repo package

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


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 5 years ago.

Download all attachments as: .zip

Change History (2)

5 years ago

#1 @dd32
5 years ago

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

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.