Making WordPress.org


Ignore:
Timestamp:
04/18/2017 09:14:59 PM (8 years ago)
Author:
Otto42
Message:

Plugin Directory: Add div wrappers around pieces of the Developers section, for future styling purposes.

File:
1 edited

Legend:

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

    r5325 r5361  
    1818        $slug   = $post->post_name;
    1919        $title  = get_the_title( $post );
    20         $output = '<p>' . sprintf( __( '%s is open source software. The following people have contributed to this plugin.', 'wporg-plugins' ), $title ) . '</p>';
     20        $output = '<div class="plugin-contributors"><p>' . sprintf( __( '%s is open source software. The following people have contributed to this plugin.', 'wporg-plugins' ), $title ) . '</p>';
    2121
    2222        ob_start();
     
    2929
    3030        $output .= ob_get_clean();
     31        $output .= '</div>';
    3132
    3233        $locales = Plugin_I18n::instance()->get_locales();
    33         $output .= '<p>';
     34        $output .= '<div class="plugin-development"><p>';
    3435
    3536        if ( ! empty( $locales ) ) {
     
    8384            ) . '</p>';
    8485        }
    85 
     86        $output .= '</div>';
    8687        return $output;
    8788    }
Note: See TracChangeset for help on using the changeset viewer.