Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29355234: Issue 4293 - Make Textpattern use our current website content as template (Closed)

Created:
Sept. 28, 2016, 10:02 a.m. by Wladimir Palant
Modified:
Sept. 28, 2016, 2:46 p.m.
Reviewers:
kzar
CC:
saroyanm, juliandoucette
Visibility:
Public.

Description

This is a Textpattern plugin, not tracked in any repository. A cron job will download https://adblockplus.org/en/documentation regularly and save it as site_template file.

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixed nit #

Patch Set 3 : Don't remove hamburger menu #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -20 lines) Patch
M plugin.php View 1 2 1 chunk +16 lines, -20 lines 0 comments Download

Messages

Total messages: 10
Wladimir Palant
Sept. 28, 2016, 10:02 a.m. (2016-09-28 10:02:42 UTC) #1
kzar
https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php File plugin.php (right): https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php#newcode1 plugin.php:1: $template_data = FALSE; Nit: I guess this should be ...
Sept. 28, 2016, 10:11 a.m. (2016-09-28 10:11:07 UTC) #2
Wladimir Palant
Added Julian to CC on this review.
Sept. 28, 2016, 10:11 a.m. (2016-09-28 10:11:12 UTC) #3
Wladimir Palant
https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php File plugin.php (right): https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php#newcode1 plugin.php:1: $template_data = FALSE; On 2016/09/28 10:11:07, kzar wrote: > ...
Sept. 28, 2016, 10:14 a.m. (2016-09-28 10:14:42 UTC) #4
kzar
https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php File plugin.php (right): https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php#newcode19 plugin.php:19: $header = preg_replace('/<a\b[^>]*\bid="hamburger".*?<\\/a>/s', '', $header); On 2016/09/28 10:14:42, Wladimir ...
Sept. 28, 2016, 10:19 a.m. (2016-09-28 10:19:12 UTC) #5
kzar
https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php File plugin.php (right): https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php#newcode19 plugin.php:19: $header = preg_replace('/<a\b[^>]*\bid="hamburger".*?<\\/a>/s', '', $header); On 2016/09/28 10:19:11, kzar ...
Sept. 28, 2016, 10:28 a.m. (2016-09-28 10:28:26 UTC) #6
Wladimir Palant
https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php File plugin.php (right): https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php#newcode19 plugin.php:19: $header = preg_replace('/<a\b[^>]*\bid="hamburger".*?<\\/a>/s', '', $header); On 2016/09/28 10:19:11, kzar ...
Sept. 28, 2016, 10:32 a.m. (2016-09-28 10:32:48 UTC) #7
kzar
LGTM https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php File plugin.php (right): https://codereview.adblockplus.org/29355234/diff/29355235/plugin.php#newcode19 plugin.php:19: $header = preg_replace('/<a\b[^>]*\bid="hamburger".*?<\\/a>/s', '', $header); On 2016/09/28 10:32:48, ...
Sept. 28, 2016, 10:39 a.m. (2016-09-28 10:39:07 UTC) #8
Wladimir Palant
One more changeset - I realized that the hamburger menu should be present on the ...
Sept. 28, 2016, 1:30 p.m. (2016-09-28 13:30:20 UTC) #9
kzar
Sept. 28, 2016, 1:54 p.m. (2016-09-28 13:54:29 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld