Making WordPress.org

Opened 8 years ago

Closed 8 years ago

#1400 closed defect (bug) (fixed)

Plugin projects page is not working on the VVV Meta Environment

Reported by: akirk's profile akirk Owned by: ocean90's profile ocean90
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:
Cc:

Description

It is currently impossible to view a plugin projects page on a VVV Meta Environment install because of this error message"

Fatal error: Call to undefined function wporg_get_plugin_icon() in /srv/www/wordpress-meta-environment/translate.wordpressorg.dev/public_html/gp-plugins/wporg-routes/routes/wp-plugins.php on line 84

There are already other places that account for the non-existance of the function.

Attachments (2)

1400.diff (635 bytes) - added by akirk 8 years ago.
1400.2.diff (634 bytes) - added by akirk 8 years ago.
typo

Download all attachments as: .zip

Change History (4)

@akirk
8 years ago

@akirk
8 years ago

typo

This ticket was mentioned in Slack in #meta-i18n by akirk. View the logs.


8 years ago

#2 @ocean90
8 years ago

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

In 2089:

Translate: Check if wporg_get_plugin_icon() exists before using it.

Fall back to a dashicon if the function doesn't exist.

Props akirk.
Fixes #1400.

Note: See TracTickets for help on using tickets.