Making WordPress.org


Ignore:
Timestamp:
05/20/2016 10:10:58 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Define widget args at top of file.

Also uses widget args now for widgets on plugin-single.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/front-page.php

    r3200 r3204  
    1414    'trending' => __( 'Trending Plugins', 'wporg-plugins' ),
    1515    'beta'     => __( 'Beta Plugins', 'wporg-plugins' ),
     16);
     17
     18$widget_args = array(
     19    'before_title' => '<h4 class="widget-title">',
     20    'after_title'  => '</h4>',
    1621);
    1722
     
    4449    <aside id="secondary" class="widget-area" role="complementary">
    4550        <?php
    46             $widget_args = array(
    47                 'before_title' => '<h4 class="widget-title">',
    48                 'after_title'  => '</h4>',
    49             );
    50 
    5151            the_widget( 'WP_Widget_Text', array(
    5252                'title' => __( 'Plugin Authors', 'wporg-plugins' ),
Note: See TracChangeset for help on using the changeset viewer.