Changeset 4263
- Timestamp:
- 10/19/2016 06:23:13 AM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 5 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r4260 r4263 340 340 */ 341 341 public function register_widgets() { 342 register_widget( __NAMESPACE__ . '\Widgets\Donate' ); 343 register_widget( __NAMESPACE__ . '\Widgets\Meta' ); 344 register_widget( __NAMESPACE__ . '\Widgets\Ratings' ); 345 register_widget( __NAMESPACE__ . '\Widgets\Support' ); 342 register_widget( __NAMESPACE__ . '\Widgets\Donate' ); 343 register_widget( __NAMESPACE__ . '\Widgets\Meta' ); 344 register_widget( __NAMESPACE__ . '\Widgets\Ratings' ); 345 register_widget( __NAMESPACE__ . '\Widgets\Support' ); 346 register_widget( __NAMESPACE__ . '\Widgets\Committers' ); 347 register_widget( __NAMESPACE__ . '\Widgets\Contributors' ); 348 register_widget( __NAMESPACE__ . '\Widgets\Plugin_Review' ); 346 349 } 347 350 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r3935 r4263 176 176 177 177 case 'developers': 178 $title = _x( ' Contributors & Developers', 'plugin tab title', 'wporg-plugins' );178 $title = _x( 'Authors', 'plugin tab title', 'wporg-plugins' ); 179 179 $url = trailingslashit( $permalink ) . '/' . $section_slug . '/'; 180 180 break; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/developers/index.jsx
r4223 r4263 10 10 <div> 11 11 <div id="developers" className="read-more" aria-expanded="false"> 12 <h2> Contributors & Developers</h2>12 <h2>Authors</h2> 13 13 <DeveloperList contributors={ this.props.contributors } /> 14 14 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/faq/style.scss
r4223 r4263 50 50 } 51 51 } 52 53 .no-js .plugin-faqs dd { 54 display: block; 55 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/style.scss
r4223 r4263 52 52 } 53 53 54 .no-js .read-more { 55 overflow: auto; 56 max-height: none; 57 } 58 54 59 .section-toggle { 55 60 color: $color__link; … … 70 75 } 71 76 } 77 78 .no-js .section-toggle { 79 display: none; 80 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style-rtl.css
r4224 r4263 2199 2199 } 2200 2200 2201 .no-js .plugin-faqs dd { 2202 display: block; 2203 } 2204 2201 2205 .plugin-reviews { 2202 2206 list-style-type: none; … … 2470 2474 } 2471 2475 2476 .no-js .read-more, 2472 2477 .read-more#reviews { 2473 2478 max-height: none; … … 2538 2543 .toggled + .section-toggle:after { 2539 2544 content: "\f343"; 2545 } 2546 2547 .no-js .section-toggle { 2548 display: none; 2540 2549 } 2541 2550 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css
r4224 r4263 2199 2199 } 2200 2200 2201 .no-js .plugin-faqs dd { 2202 display: block; 2203 } 2204 2201 2205 .plugin-reviews { 2202 2206 list-style-type: none; … … 2470 2474 } 2471 2475 2476 .no-js .read-more, 2472 2477 .read-more#reviews { 2473 2478 max-height: none; … … 2538 2543 .toggled + .section-toggle:after { 2539 2544 content: "\f343"; 2545 } 2546 2547 .no-js .section-toggle { 2548 display: none; 2540 2549 } 2541 2550 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r4260 r4263 143 143 144 144 145 function custom_body_class( $classes ) { 146 $classes[] = 'no-js'; 147 return $classes; 148 } 149 add_filter( 'body_class', __NAMESPACE__ . '\custom_body_class' ); 150 145 151 /** 146 152 * Adds hreflang link attributes to plugin pages. -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php
r4260 r4263 15 15 16 16 $content = Plugin_Directory::instance()->split_post_content_into_pages( get_the_content() ); 17 18 $widget_args = array(19 'before_title' => '<h4 class="widget-title">',20 'after_title' => '</h4>',21 );22 17 23 18 ?><article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> … … 144 139 <div class="entry-meta"> 145 140 <?php 146 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Meta', array(), $widget_args ); 147 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Ratings', array(), $widget_args ); 148 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Support', array(), $widget_args ); 149 the_widget( 'WordPressdotorg\Plugin_Directory\Widgets\Donate', array(), $widget_args ); 141 get_template_part( 'template-parts/plugin-sidebar', ( get_query_var( 'plugin_admin' ) ? 'admin' : '' ) ); 150 142 ?> 151 143 </div><!-- .entry-meta -->
Note: See TracChangeset
for help on using the changeset viewer.