Ticket #1400: 1400.2.diff
File 1400.2.diff, 634 bytes (added by , 9 years ago) |
---|
-
wporg-routes/routes/wp-plugins.php
80 80 } 81 81 } ); 82 82 83 $project->icon = wporg_get_plugin_icon( $project->slug, 64 ); 83 if ( function_exists( 'wporg_get_plugin_icon' ) ) { 84 $project->icon = wporg_get_plugin_icon( $project->slug, 64 ); 85 } else { 86 $project->icon = '<div class="default-icon"><span class="dashicons dashicons-admin-plugins"></span></div>'; 87 } 84 88 85 89 $this->tmpl( 'projects-wp-plugins', get_defined_vars() ); 86 90 }