WordPress.org

Making WordPress.org

Ticket #2872: 2872.diff

File 2872.diff, 2.4 KB (added by Kau-Boy, 2 years ago)
  • wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/includes/html-badges.php

    diff --git wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/includes/html-badges.php wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/includes/html-badges.php
    index 67afedc..fbc6f95 100644
    function remove_all_previewer_styles() { 
    228228
    229229        remove_all_actions( 'wp_print_styles' );
    230230
    231         remove_action( 'wp_head', 'wp_custom_css_cb', 11 ); // todo compat with WP 4.7. this line can be removed when r39616 is merged to the 4.7 branch
    232231        remove_action( 'wp_head', 'wp_custom_css_cb', 101 );
    233232}
    234233
  • wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/classes/wordcamp-coming-soon-page.php

    diff --git wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/classes/wordcamp-coming-soon-page.php wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/classes/wordcamp-coming-soon-page.php
    index c054aa5..3d2873c 100644
    class WordCamp_Coming_Soon_Page { 
    7373                        wp_dequeue_style( $stylesheet );
    7474                }
    7575
    76                 remove_action( 'wp_head', 'wp_custom_css_cb', 11 ); // todo compat with WP 4.7. this line can be removed when r39616 is merged to the 4.7 branch
    7776                remove_action( 'wp_head', 'wp_custom_css_cb', 101 );
    7877        }
    7978
  • wordcamp.org/public_html/wp-content/plugins/wordcamp-site-cloner/includes/source-site-id-setting.php

    diff --git wordcamp.org/public_html/wp-content/plugins/wordcamp-site-cloner/includes/source-site-id-setting.php wordcamp.org/public_html/wp-content/plugins/wordcamp-site-cloner/includes/source-site-id-setting.php
    index aa300b2..70026b7 100644
    class Source_Site_ID_Setting extends \WP_Customize_Setting { 
    3434                add_filter( 'safecss_skip_stylesheet', array( $this, 'preview_skip_stylesheet'  ), 15 );   // After Jetpack_Custom_CSS_Enhancements::preview_skip_stylesheet()
    3535
    3636                // Disable the current site's Custom CSS from being output
    37                 remove_action( 'wp_head', 'wp_custom_css_cb', 11 ); // todo compat with WP 4.7. this line can be removed when r39616 is merged to the 4.7 branch
    3837                remove_action( 'wp_head', 'wp_custom_css_cb', 101 );
    3938        }
    4039