Making WordPress.org


Ignore:
Timestamp:
10/01/2014 06:47:20 PM (10 years ago)
Author:
iandunn
Message:

SSL Workarounds: Move wcorg_bbpress_post_login_to_main_site() from mu-plugins-private.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/ssl.php

    r840 r881  
    9797}
    9898add_action( 'admin_enqueue_scripts', 'wcorg_load_select_plugin_styles_from_cdn' );
     99
     100/* The bbPress login widget POSTs to the HTTPS login page on individual sites, but the SSL certificate is broken on those, so we need it to post to the main site instead */
     101add_action( 'bbp_wp_login_action', 'wcorg_bbpress_post_login_to_main_site' );
     102function wcorg_bbpress_post_login_to_main_site( $form_action_url ) {
     103    return 'https://wordcamp.org/wp-login.php';
     104}
Note: See TracChangeset for help on using the changeset viewer.