Server IP : 52.91.253.208 / Your IP : 18.226.177.86 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins_old/jetpack/modules/ |
Upload File : |
/* global WPGroHo:true, Gravatar */ WPGroHo = jQuery.extend( { my_hash: '', data: {}, renderers: {}, syncProfileData: function( hash, id ) { if ( !WPGroHo.data[hash] ) { WPGroHo.data[hash] = {}; jQuery( 'div.grofile-hash-map-' + hash + ' span' ).each( function() { WPGroHo.data[hash][this.className] = jQuery( this ).text(); } ); } WPGroHo.appendProfileData( WPGroHo.data[hash], hash, id ); }, appendProfileData: function( data, hash, id ) { for ( var key in data ) { if ( jQuery.isFunction( WPGroHo.renderers[key] ) ) { return WPGroHo.renderers[key]( data[key], hash, id, key ); } jQuery( '#' + id ).find( 'h4' ).after( jQuery( '<p class="grav-extra ' + key + '" />' ).html( data[key] ) ); } } }, WPGroHo ); jQuery( document ).ready( function() { if ( 'undefined' === typeof Gravatar ) { return; } Gravatar.profile_cb = function( h, d ) { WPGroHo.syncProfileData( h, d ); }; Gravatar.my_hash = WPGroHo.my_hash; Gravatar.init( 'body', '#wpadminbar' ); } );