Skip to content

Commit bc605a9

Browse files
authored
Merge branch 'master' into fix/spartacusSourceforge
2 parents 7e39e9f + f20b675 commit bc605a9

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

docs/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Version 2.6-beta2 ()
44
* Removed Sourceforge from Spartacus' mirror list, as it caused HTML
55
to be written to the plugin files instead of the wanted PHP code.
66

7+
* Removed obsolete Pragma header from some responses, controlling
8+
brwoser cache behaviour. Alternative headers were already set.
9+
710
* Fix: clean blog's sticky header (that appears when scrolling up)
811
was positioned with a gap, when it contained too many
912
navigation links

include/functions_routing.inc.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ function serveJS($js_mode) {
131131
header('Cache-Control: no-cache');
132132
} else {
133133
header('Cache-Control:');
134-
header('Pragma:');
135134
header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time()+3600));
136135
}
137136

index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
header('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
2121
}
2222
header('Expires: 0');
23-
header('Pragma: no-cache');
2423
}
2524
$uri = $_SERVER['REQUEST_URI'];
2625

plugins/serendipity_event_gravatar/ChangeLog

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
Version 2.0.1:
2+
------------------------------------------------------------------------
3+
* Remove obsolete Pragma http header
4+
15
Version 2.0:
26
------------------------------------------------------------------------
37
* Fix gravatar: Avatars could not be fetched
48
* Remove the defunct avatar options identica and twitter
59
* Reimplement favatar and pavatar options for better reliability
610
* Update wavatar generator
711
* Update documentation and translation
8-
* Additional fixes for PH 8 compatibility
12+
* Additional fixes for PHP 8 compatibility
913

1014
Version 1.63.1:
1115
------------------------------------------------------------------------

plugins/serendipity_event_gravatar/serendipity_event_gravatar.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@serendipity_plugin_api::load_language(dirname(__FILE__));
99

1010
// Actual version of this plugin
11-
@define('PLUGIN_EVENT_GRAVATAR_VERSION', '2.0');
11+
@define('PLUGIN_EVENT_GRAVATAR_VERSION', '2.0.1');
1212

1313
// Defines the maximum available method slots in the configuration.
1414
@define('PLUGIN_EVENT_GRAVATAR_METHOD_MAX', 6);
@@ -1207,7 +1207,6 @@ function show($filename)
12071207
// HTTP 1.1
12081208
$max_age_seconds = $filemtime + $this->cache_seconds - time();
12091209
header("Cache-Control: public, max-age=" . $max_age_seconds, true); // delta seconds
1210-
header("Pragma:", true);
12111210
}
12121211
fpassthru($fp);
12131212
fclose($fp);

serendipity.css.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ function serendipity_printStylesheet($file, $dir = '') {
5959
header('Cache-Control: no-cache');
6060
} else {
6161
header('Cache-Control:');
62-
header('Pragma:');
6362
header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time()+3600));
6463
}
6564
header('Content-type: text/css; charset=' . LANG_CHARSET);

0 commit comments

Comments
 (0)