Changeset 9949 for sites/trunk/buddypress.org/public_html/wp-content/plugins/buddypress-org/buddypress-dot-org.php
- Timestamp:
- 06/01/2020 05:58:14 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/buddypress.org/public_html/wp-content/plugins/buddypress-org/buddypress-dot-org.php
r447 r9949 18 18 if ( 'profiles.wordpress.org' != $_SERVER['HTTP_HOST'] ) 19 19 add_filter( 'show_admin_bar', '__return_true' ); 20 21 /**22 * This function forces the encoding to utf823 */24 function bporg_force_encoding() {25 global $wpdb;26 27 // Set dbhs to an empty array - unsetting it causes headaches28 $wpdb->dbhs = array();29 $wpdb->charset = 'utf8';30 }31 bporg_force_encoding();32 20 33 21 function bporg_maintenance() {
Note: See TracChangeset
for help on using the changeset viewer.