Changeset 5248 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-sidebar-advanced.php
- Timestamp:
- 04/05/2017 04:50:33 AM (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-sidebar-advanced.php
r5243 r5248 15 15 ); 16 16 17 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Meta', array(), $widget_args ); 18 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Committers', array(), $widget_args ); 19 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Contributors', array(), array( 17 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Meta', array(), $widget_args ); 18 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Ratings', array(), $widget_args ); 19 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Support', array(), $widget_args ); 20 21 // If the user is not a contributor/committer for the plugin, we'll show the Donate metabox instead of the committer metabox. 22 if ( current_user_can( 'plugin_admin_view', $post ) ) { 23 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Committers', array(), $widget_args ); 24 } else { 25 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Donate', array(), $widget_args ); 26 } 27 28 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Contributors', array(), array( 20 29 'before_title' => '<h4 class="widget-title">', 21 30 'after_title' => '</h4>',
Note: See TracChangeset
for help on using the changeset viewer.