tree checksum vpatch file split hunks

all signers: billymg hanbot

antecedents: mp-wp_genesis mp-wp_update-image-references-to-svg

press order:

mp-wp_genesishanbot
mp-wp_add-footnotes-and-textselectionjsbillymg hanbot
mp-wp_update-image-references-to-svgbillymg hanbot
mp-wp_html-comments-regrindhanbot

patch:

- C42BEE644C7FB1E7245DBDEB7A401CE15B07BFB628349DA487DF3F208F256C0D2CC57C0A538D8BDD57C9EFAA861341A98F376015B7725425685C0B8A93AD7270
+ 32A1554660DC266A80310DCFAEFDB9AE997ADDC1D6DC33519A307E289B947E540BA81A59D4D0E751D96756D13E35DB368FE9B948A04DB2E1E16264A06A8FC2CC
mp-wp/manifest
(1 . 3)(1 . 4)
5 526913 mp-wp_genesis hanbot The historical MP-WP: WordPress with better antispam, SVG-enated images, and very basic themes, with a view towards minimalizing Mullenweg & Co.'s crud.
6 558366 mp-wp_add-footnotes-and-textselectionjs billymg Add the footnotes and text selection features to mp-wp as seen on Trilema and other republican blogs
7 558370 mp-wp_update-image-references-to-svg billymg Update all internal image references to use .svg extensions
8 568792 mp-wp_html-comments-regrind hanbot Anonymous function in kses.php given variables to allow for html and other desired tags in comments compatible with PHP versions 5 and above. Also, trilema-specific database parameter for spam cleanup converted to (reground: correct) variable table name for compatibility. Spurious trilema-specific commented-out code deleted.
- E9AAF0AAF32DFFB5B8BB8379A618FAFE0F36E23A48736031530A03A8A4C0A9EE3825E8D825703F313B164453C1F145941C79E3CBB7B55729CFA827FFEE6FBE41
+ E1266BE5F283A603704E6A1541A122FC956D320BFC7D6144DCBB3AA75DF924396807AE84D64B30FDA19BAE83ACA09B6BB45740F6A4D7D7A8A94D4E8FA8DF4B7E
mp-wp/wp-comments-post.php
(45 . 14)(45 . 6)
13 $comment_time = $comment_check[0];^M
14 $comment_IP = $comment_check[1];^M
15 ^M
16 // Special handle for idiots.^M
17 /*^M
18 if (($comment_author_email == "icriss78@yahoo.com")||($comment_author_url == "http://blog.matinal.org")) {^M
19 $comment_author_url = "";^M
20 $comment_content.= "\n\n<em>Eu sunt <a href=http://polimedia.us/trilema/2011/trolul-perfect/>o simpla fictiune</a>. Luati ce-am scris mai sus ca atare.</em>";^M
21 }^M
22 */^M
23 ^M
24 // GPG catchall.^M
25 ^M
26 if (strpos($comment_content,"BEGIN PGP")>0) $comment_content = "<code>".$comment_content."</code>";^M
(61 . 7)(53 . 7)
28 ^M
29 if (((time() - $comment_time) < 3)||(time() - $comment_time > 5000)||($comment_IP <> $_SERVER['REMOTE_ADDR'])) wp_die( __('Looks like you tried to comment off a stale page. Reload the article, count to three and try again.') );^M
30 ^M
31 $myrows = $wpdb->get_var('SELECT comment_ID FROM tril_comments WHERE comment_author_IP = "'.$_SERVER["REMOTE_ADDR"].'" and comment_approved = "spam";');^M
32 $myrows = $wpdb->get_var('SELECT comment_ID FROM '.$wpdb->comments.' WHERE comment_author_IP = "'.$_SERVER["REMOTE_ADDR"].'" and comment_approved = "spam";');^M
33 if ($myrows > 0) wp_die( __('Spammers need not apply.') );^M
34 ^M
35 // If the user is logged in^M
- AD0707F4063782A4AD2492D7B6E85AF27FBD9AC946B7F18071F0B88A490A0A33FE2E67BCFD774D39B7A79B93B044A4D005AE063BE1558BA2F3DA3A97C96C1218
+ B8E96543EE87627A53B15078674EFF735CB65AA13854DD2A7035EB5AE8F9ACDAAEAEBD654B0E83400CF130C644CDA96954D42CFA8AD2218F1336660CE8EF46A2
mp-wp/wp-includes/kses.php
(395 . 7)(395 . 7)
40 */
41 function wp_kses_split($string, $allowed_html, $allowed_protocols) {
42 return preg_replace_callback('%((<!--.*?(-->|$))|(<[^>]*(>|$)|>))%',
43 function($match) {
44 function($match) use ($allowed_html, $allowed_protocols) {
45 return wp_kses_split2($match[1], $allowed_html, $allowed_protocols);
46 }, $string);
47 }