@@ -36,6 +36,9 @@ |
||
36 | 36 | add_action( 'init', array( &$this, 'action_init' ) ); |
37 | 37 | } |
38 | 38 | |
39 | + /** |
|
40 | + * @param string $file |
|
41 | + */ |
|
39 | 42 | function wpcom_static_url($file) { |
40 | 43 | $i = hexdec( substr( md5( $file ), -1 ) ) % 2; |
41 | 44 | return 'https://s' . $i . '.wp.com' . $file; |