WordPress.org

Making WordPress.org

Ticket #1982: meta-1982.patch

File meta-1982.patch, 832 bytes (added by SergeyBiryukov, 4 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/header.php

     
    3131                $welcome->post_content = "<div class='content-area'>\n\n{$columns[0]}</div><div class='widget-area'>\n\n{$columns[1]}</div>";
    3232        }
    3333        setup_postdata( $welcome );
     34        // Disable Jetpack sharing buttons
     35        add_filter( 'sharing_show', '__return_false' );
    3436?>
    3537<div class="make-welcome">
    3638        <div class="entry-meta">
     
    4244        </div>
    4345</div>
    4446<?php
     47        remove_filter( 'sharing_show', '__return_false' );
    4548        wp_reset_postdata();
    4649endif;
    4750?>