diff --git src/wp-content/plugins/hello.php src/wp-content/plugins/hello.php
index cd9b375689..3cf136f7bb 100644
|
|
Author URI: http://ma.tt/ |
15 | 15 | function hello_dolly_get_lyric() { |
16 | 16 | /** These are the lyrics to Hello Dolly */ |
17 | 17 | $lyrics = "Hello, Dolly |
18 | | Well, hello, Dolly |
| 18 | This is miss Dolly |
19 | 19 | It's so nice to have you back where you belong |
20 | 20 | You're lookin' swell, Dolly |
21 | 21 | I can tell, Dolly |
22 | 22 | You're still glowin', you're still crowin' |
23 | 23 | You're still goin' strong |
24 | | We feel the room swayin' |
| 24 | I feel the room swayin' |
25 | 25 | While the band's playin' |
26 | | One of your old favourite songs from way back when |
| 26 | One of our old favorite songs from way back when |
27 | 27 | So, take her wrap, fellas |
28 | 28 | Find her an empty lap, fellas |
29 | | Dolly'll never go away again |
| 29 | Dolly, never go away again |
30 | 30 | Hello, Dolly |
31 | 31 | Well, hello, Dolly |
32 | 32 | It's so nice to have you back where you belong |
… |
… |
You're lookin' swell, Dolly |
34 | 34 | I can tell, Dolly |
35 | 35 | You're still glowin', you're still crowin' |
36 | 36 | You're still goin' strong |
37 | | We feel the room swayin' |
| 37 | I feel the room swayin' |
38 | 38 | While the band's playin' |
39 | | One of your old favourite songs from way back when |
40 | | Golly, gee, fellas |
41 | | Find her a vacant knee, fellas |
42 | | Dolly'll never go away |
43 | | Dolly'll never go away |
44 | | Dolly'll never go away again"; |
| 39 | One of our old favorite songs from way back when |
| 40 | So, golly, gee, fellas |
| 41 | Have a little faith in me, fellas |
| 42 | Dolly, never go away |
| 43 | Promise, you'll never go away |
| 44 | Dolly, never go away again"; |
45 | 45 | |
46 | 46 | // Here we split it into lines |
47 | 47 | $lyrics = explode( "\n", $lyrics ); |
48 | 48 | |
| 49 | // Ensure certain lines aren't shown out of context. |
| 50 | $unshown = array( |
| 51 | 'So, take her wrap, fellas', |
| 52 | 'Find her an empty lap, fellas', |
| 53 | ); |
| 54 | |
| 55 | $lyrics = array_diff( $lyrics, $unshown ); |
| 56 | |
49 | 57 | // And then randomly choose a line |
50 | 58 | return wptexturize( $lyrics[ mt_rand( 0, count( $lyrics ) - 1 ) ] ); |
51 | 59 | } |