Making WordPress.org

Opened 6 years ago

Closed 6 years ago

#1400 closed defect (fixed)

Plugin projects page is not working on the VVV Meta Environment

Reported by: akirk Owned by: ocean90
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:


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 6 years ago.
1400.2.diff (634 bytes) - added by akirk 6 years ago.

Download all attachments as: .zip

Change History (4)

6 years ago

6 years ago


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

6 years ago

#2 @ocean90
6 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.