WordPress.org

Making WordPress.org

Changeset 3422


Ignore:
Timestamp:
06/18/2016 04:33:51 AM (3 years ago)
Author:
obenland
Message:

Plugin Directory: Add a widget for donate links.

Fixes #1599.

Location:
sites/trunk/wordpress.org/public_html/wp-content
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php

    r3420 r3422  
    251251
    252252    public function register_widgets() {
     253        register_widget( __NAMESPACE__ . '\Widgets\Donate' );
    253254        register_widget( __NAMESPACE__ . '\Widgets\Meta' );
    254255        register_widget( __NAMESPACE__ . '\Widgets\Ratings' );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php

    r3420 r3422  
    6767    <div class="entry-meta">
    6868        <?php
    69             the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Ratings', array(), $widget_args );
    70             the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Support', array(), $widget_args );
    71             the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Meta',    array(), $widget_args );
     69        the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Meta',    array(), $widget_args );
     70        the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Ratings', array(), $widget_args );
     71        the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Support', array(), $widget_args );
     72        the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Donate', array(), $widget_args );
    7273        ?>
    7374    </div><!-- .entry-meta -->
Note: See TracChangeset for help on using the changeset viewer.