WordPress.org

Making WordPress.org


Ignore:
Timestamp:
12/18/2017 05:42:35 PM (3 years ago)
Author:
obenland
Message:

Plugins: Conform to WPCS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-sidebar-advanced.php

    r5867 r6284  
    1515);
    1616
    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    
     17the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Meta', array(), $widget_args );
     18the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Ratings', array(), $widget_args );
     19the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Support', array(), $widget_args );
     20
    2121// If the user is not a contributor/committer for the plugin, we'll show the Donate metabox instead of the committer metabox.
    2222if ( current_user_can( 'plugin_admin_view', $post ) ) {
     
    2828
    2929the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Contributors', array(), array(
    30     'before_title' => '<h4 class="widget-title">',
    31     'after_title'  => '</h4>',
     30    'before_title'  => '<h4 class="widget-title">',
     31    'after_title'   => '</h4>',
    3232    'before_widget' => '<div id="plugin-contributors" class="widget plugin-contributors read-more" aria-expanded="false">',
    33     'after_widget' => sprintf( '</div><button type="button" class="button-link section-toggle" aria-controls="plugin-contributors">%s</button>', __( 'View more', 'wporg-plugins' ) ),
     33    'after_widget'  => sprintf( '</div><button type="button" class="button-link section-toggle" aria-controls="plugin-contributors">%s</button>', __( 'View more', 'wporg-plugins' ) ),
    3434) );
Note: See TracChangeset for help on using the changeset viewer.