Version Description
(January 2015) =
- Fixed: RSS feed is now valid according to http://validator.w3.org/. Fixes https://wordpress.org/support/topic/a-feed-which-was-valid-under-v206-is-no-longer-under-v209-latest.
- Translation fixes. Thanks ThomasDK81!
Download this release
Release Info
Developer | eskapism |
Plugin | Simple History |
Version | 2.0.13 |
Comparing to | |
See all releases |
Code changes from version 2.0.12 to 2.0.13
- SimpleHistory.php +1 -1
- dropins/SimpleHistoryRSSDropin.php +27 -24
- index.php +1 -1
- languages/simple-history.pot +29 -29
- loggers/SimpleLogger.php +1 -1
- loggers/SimpleMediaLogger.php +1 -1
- loggers/SimplePostLogger.php +1 -1
- loggers/SimpleThemeLogger.php +1 -1
- readme.txt +7 -1
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
SimpleHistory.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
class SimpleHistory {
|
7 |
|
8 |
const NAME = "Simple History";
|
9 |
-
const VERSION = "2.0.
|
10 |
|
11 |
/**
|
12 |
* Capability required to view the history log
|
6 |
class SimpleHistory {
|
7 |
|
8 |
const NAME = "Simple History";
|
9 |
+
const VERSION = "2.0.13";
|
10 |
|
11 |
/**
|
12 |
* Capability required to view the history log
|
dropins/SimpleHistoryRSSDropin.php
CHANGED
@@ -12,7 +12,7 @@ Author: Pär Thernström
|
|
12 |
class SimpleHistoryRSSDropin {
|
13 |
|
14 |
function __construct($sh) {
|
15 |
-
|
16 |
$this->sh = $sh;
|
17 |
|
18 |
if ( ! function_exists('get_editable_roles') ) {
|
@@ -32,7 +32,7 @@ class SimpleHistoryRSSDropin {
|
|
32 |
}
|
33 |
|
34 |
/**
|
35 |
-
* Add settings for the RSS feed
|
36 |
* + also regenerates the secret if requested
|
37 |
*/
|
38 |
public function add_settings() {
|
@@ -43,15 +43,15 @@ class SimpleHistoryRSSDropin {
|
|
43 |
$settings_section_rss_id = "simple_history_settings_section_rss";
|
44 |
|
45 |
add_settings_section(
|
46 |
-
$settings_section_rss_id,
|
47 |
-
_x("RSS feed", "rss settings headline", "simple-history"), // No title __("General", "simple-history"),
|
48 |
-
array($this, "settings_section_output"),
|
49 |
SimpleHistory::SETTINGS_MENU_SLUG // same slug as for options menu page
|
50 |
);
|
51 |
|
52 |
// RSS address
|
53 |
add_settings_field(
|
54 |
-
"simple_history_rss_feed",
|
55 |
__("Address", "simple-history"),
|
56 |
array($this, "settings_field_rss"),
|
57 |
SimpleHistory::SETTINGS_MENU_SLUG,
|
@@ -60,7 +60,7 @@ class SimpleHistoryRSSDropin {
|
|
60 |
|
61 |
// Regnerate address
|
62 |
add_settings_field(
|
63 |
-
"simple_history_rss_feed_regenerate_secret",
|
64 |
__("Regenerate", "simple-history"),
|
65 |
array($this, "settings_field_rss_regenerate"),
|
66 |
SimpleHistory::SETTINGS_MENU_SLUG,
|
@@ -70,7 +70,7 @@ class SimpleHistoryRSSDropin {
|
|
70 |
// Create new RSS secret
|
71 |
$create_new_secret = false;
|
72 |
$create_secret_nonce_name = "simple_history_rss_secret_regenerate_nonce";
|
73 |
-
|
74 |
if ( isset( $_GET[$create_secret_nonce_name] ) && wp_verify_nonce( $_GET[$create_secret_nonce_name], 'simple_history_rss_update_secret')) {
|
75 |
|
76 |
$create_new_secret = true;
|
@@ -95,7 +95,7 @@ class SimpleHistoryRSSDropin {
|
|
95 |
* Check if current request is a request for the RSS feed
|
96 |
*/
|
97 |
function check_for_rss_feed_request() {
|
98 |
-
|
99 |
// check for RSS
|
100 |
// don't know if this is the right way to do this, but it seems to work!
|
101 |
if ( isset( $_GET["simple_history_get_rss"] ) ) {
|
@@ -104,7 +104,7 @@ class SimpleHistoryRSSDropin {
|
|
104 |
exit;
|
105 |
|
106 |
}
|
107 |
-
|
108 |
}
|
109 |
|
110 |
/**
|
@@ -136,12 +136,12 @@ class SimpleHistoryRSSDropin {
|
|
136 |
wp_die( 'Nothing here.' );
|
137 |
}
|
138 |
|
139 |
-
header
|
140 |
echo '<?xml version="1.0" encoding="UTF-8"?>';
|
141 |
$self_link = $this->get_rss_address();
|
142 |
-
|
143 |
if ( $rss_secret_option === $rss_secret_get ) {
|
144 |
-
|
145 |
?>
|
146 |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
147 |
<channel>
|
@@ -166,7 +166,7 @@ class SimpleHistoryRSSDropin {
|
|
166 |
);
|
167 |
|
168 |
$args = apply_filters("simple_history/rss_feed_args", $args);
|
169 |
-
|
170 |
$logQuery = new SimpleHistoryLogQuery();
|
171 |
$queryResults = $logQuery->query($args);
|
172 |
|
@@ -174,7 +174,7 @@ class SimpleHistoryRSSDropin {
|
|
174 |
// remove_action( $action_tag, array($this, "on_can_read_single_logger") );
|
175 |
|
176 |
foreach ($queryResults["log_rows"] as $row) {
|
177 |
-
|
178 |
$header_output = $this->sh->getLogRowHeaderOutput( $row );
|
179 |
$text_output = $this->sh->getLogRowPlainTextOutput( $row );
|
180 |
$details_output = $this->sh->getLogRowDetailsOutput( $row );
|
@@ -182,7 +182,7 @@ class SimpleHistoryRSSDropin {
|
|
182 |
|
183 |
#$item_title = wp_kses( $header_output . ": " . $text_output, array() );
|
184 |
$item_title = wp_kses( $text_output, array() );
|
185 |
-
|
186 |
?>
|
187 |
<item>
|
188 |
<title><?php echo $item_title; ?></title>
|
@@ -193,11 +193,14 @@ class SimpleHistoryRSSDropin {
|
|
193 |
<?php
|
194 |
$occasions = $row->subsequentOccasions - 1;
|
195 |
if ( $occasions ) {
|
196 |
-
printf( _n('+%1$s occasion', '+%1$s occasions',
|
197 |
}
|
198 |
?>
|
199 |
]]></description>
|
200 |
-
|
|
|
|
|
|
|
201 |
<pubDate><?php echo date("D, d M Y H:i:s", strtotime($row->date)) ?> GMT</pubDate>
|
202 |
<guid isPermaLink="false"><?php echo $item_guid ?></guid>
|
203 |
<link><?php echo $item_guid ?></link>
|
@@ -211,7 +214,7 @@ class SimpleHistoryRSSDropin {
|
|
211 |
[level] => info
|
212 |
[date] => 2014-10-15 06:50:01
|
213 |
[message] => Updated plugin "{plugin_name}" from {plugin_prev_version} to {plugin_version}
|
214 |
-
[type] =>
|
215 |
[initiator] => wp_user
|
216 |
[occasionsID] => 75e8aeab3e43b37f8a458f3744c4995f
|
217 |
[subsequentOccasions] => 1
|
@@ -265,7 +268,7 @@ class SimpleHistoryRSSDropin {
|
|
265 |
</channel>
|
266 |
</rss>
|
267 |
<?php
|
268 |
-
|
269 |
}
|
270 |
|
271 |
} // rss
|
@@ -277,9 +280,9 @@ class SimpleHistoryRSSDropin {
|
|
277 |
* @return string new secret
|
278 |
*/
|
279 |
function update_rss_secret() {
|
280 |
-
|
281 |
$rss_secret = "";
|
282 |
-
|
283 |
for ($i=0; $i<20; $i++) {
|
284 |
$rss_secret .= chr(rand(97,122));
|
285 |
}
|
@@ -304,7 +307,7 @@ class SimpleHistoryRSSDropin {
|
|
304 |
* Output for settings field that regenerates the RSS adress/secret
|
305 |
*/
|
306 |
function settings_field_rss_regenerate() {
|
307 |
-
|
308 |
$update_link = add_query_arg("", "");
|
309 |
$update_link = wp_nonce_url( $update_link, "simple_history_rss_update_secret", "simple_history_rss_secret_regenerate_nonce" );
|
310 |
|
@@ -324,7 +327,7 @@ class SimpleHistoryRSSDropin {
|
|
324 |
* @return string URL
|
325 |
*/
|
326 |
function get_rss_address() {
|
327 |
-
|
328 |
$rss_secret = get_option("simple_history_rss_secret");
|
329 |
$rss_address = add_query_arg(array("simple_history_get_rss" => "1", "rss_secret" => $rss_secret), get_bloginfo("url") . "/");
|
330 |
$rss_address = htmlspecialchars($rss_address, ENT_COMPAT, "UTF-8");
|
12 |
class SimpleHistoryRSSDropin {
|
13 |
|
14 |
function __construct($sh) {
|
15 |
+
|
16 |
$this->sh = $sh;
|
17 |
|
18 |
if ( ! function_exists('get_editable_roles') ) {
|
32 |
}
|
33 |
|
34 |
/**
|
35 |
+
* Add settings for the RSS feed
|
36 |
* + also regenerates the secret if requested
|
37 |
*/
|
38 |
public function add_settings() {
|
43 |
$settings_section_rss_id = "simple_history_settings_section_rss";
|
44 |
|
45 |
add_settings_section(
|
46 |
+
$settings_section_rss_id,
|
47 |
+
_x("RSS feed", "rss settings headline", "simple-history"), // No title __("General", "simple-history"),
|
48 |
+
array($this, "settings_section_output"),
|
49 |
SimpleHistory::SETTINGS_MENU_SLUG // same slug as for options menu page
|
50 |
);
|
51 |
|
52 |
// RSS address
|
53 |
add_settings_field(
|
54 |
+
"simple_history_rss_feed",
|
55 |
__("Address", "simple-history"),
|
56 |
array($this, "settings_field_rss"),
|
57 |
SimpleHistory::SETTINGS_MENU_SLUG,
|
60 |
|
61 |
// Regnerate address
|
62 |
add_settings_field(
|
63 |
+
"simple_history_rss_feed_regenerate_secret",
|
64 |
__("Regenerate", "simple-history"),
|
65 |
array($this, "settings_field_rss_regenerate"),
|
66 |
SimpleHistory::SETTINGS_MENU_SLUG,
|
70 |
// Create new RSS secret
|
71 |
$create_new_secret = false;
|
72 |
$create_secret_nonce_name = "simple_history_rss_secret_regenerate_nonce";
|
73 |
+
|
74 |
if ( isset( $_GET[$create_secret_nonce_name] ) && wp_verify_nonce( $_GET[$create_secret_nonce_name], 'simple_history_rss_update_secret')) {
|
75 |
|
76 |
$create_new_secret = true;
|
95 |
* Check if current request is a request for the RSS feed
|
96 |
*/
|
97 |
function check_for_rss_feed_request() {
|
98 |
+
|
99 |
// check for RSS
|
100 |
// don't know if this is the right way to do this, but it seems to work!
|
101 |
if ( isset( $_GET["simple_history_get_rss"] ) ) {
|
104 |
exit;
|
105 |
|
106 |
}
|
107 |
+
|
108 |
}
|
109 |
|
110 |
/**
|
136 |
wp_die( 'Nothing here.' );
|
137 |
}
|
138 |
|
139 |
+
header("Content-Type: text/xml; charset=utf-8");
|
140 |
echo '<?xml version="1.0" encoding="UTF-8"?>';
|
141 |
$self_link = $this->get_rss_address();
|
142 |
+
|
143 |
if ( $rss_secret_option === $rss_secret_get ) {
|
144 |
+
|
145 |
?>
|
146 |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
147 |
<channel>
|
166 |
);
|
167 |
|
168 |
$args = apply_filters("simple_history/rss_feed_args", $args);
|
169 |
+
|
170 |
$logQuery = new SimpleHistoryLogQuery();
|
171 |
$queryResults = $logQuery->query($args);
|
172 |
|
174 |
// remove_action( $action_tag, array($this, "on_can_read_single_logger") );
|
175 |
|
176 |
foreach ($queryResults["log_rows"] as $row) {
|
177 |
+
|
178 |
$header_output = $this->sh->getLogRowHeaderOutput( $row );
|
179 |
$text_output = $this->sh->getLogRowPlainTextOutput( $row );
|
180 |
$details_output = $this->sh->getLogRowDetailsOutput( $row );
|
182 |
|
183 |
#$item_title = wp_kses( $header_output . ": " . $text_output, array() );
|
184 |
$item_title = wp_kses( $text_output, array() );
|
185 |
+
|
186 |
?>
|
187 |
<item>
|
188 |
<title><?php echo $item_title; ?></title>
|
193 |
<?php
|
194 |
$occasions = $row->subsequentOccasions - 1;
|
195 |
if ( $occasions ) {
|
196 |
+
printf( _n( '+%1$s occasion', '+%1$s occasions', $occasions, 'simple-history' ), $occasions );
|
197 |
}
|
198 |
?>
|
199 |
]]></description>
|
200 |
+
<?php
|
201 |
+
// author must be email to validate, but the field is optional, so we skip it
|
202 |
+
/* <author><?php echo $row->initiator ?></author> */
|
203 |
+
?>
|
204 |
<pubDate><?php echo date("D, d M Y H:i:s", strtotime($row->date)) ?> GMT</pubDate>
|
205 |
<guid isPermaLink="false"><?php echo $item_guid ?></guid>
|
206 |
<link><?php echo $item_guid ?></link>
|
214 |
[level] => info
|
215 |
[date] => 2014-10-15 06:50:01
|
216 |
[message] => Updated plugin "{plugin_name}" from {plugin_prev_version} to {plugin_version}
|
217 |
+
[type] =>
|
218 |
[initiator] => wp_user
|
219 |
[occasionsID] => 75e8aeab3e43b37f8a458f3744c4995f
|
220 |
[subsequentOccasions] => 1
|
268 |
</channel>
|
269 |
</rss>
|
270 |
<?php
|
271 |
+
|
272 |
}
|
273 |
|
274 |
} // rss
|
280 |
* @return string new secret
|
281 |
*/
|
282 |
function update_rss_secret() {
|
283 |
+
|
284 |
$rss_secret = "";
|
285 |
+
|
286 |
for ($i=0; $i<20; $i++) {
|
287 |
$rss_secret .= chr(rand(97,122));
|
288 |
}
|
307 |
* Output for settings field that regenerates the RSS adress/secret
|
308 |
*/
|
309 |
function settings_field_rss_regenerate() {
|
310 |
+
|
311 |
$update_link = add_query_arg("", "");
|
312 |
$update_link = wp_nonce_url( $update_link, "simple_history_rss_update_secret", "simple_history_rss_secret_regenerate_nonce" );
|
313 |
|
327 |
* @return string URL
|
328 |
*/
|
329 |
function get_rss_address() {
|
330 |
+
|
331 |
$rss_secret = get_option("simple_history_rss_secret");
|
332 |
$rss_address = add_query_arg(array("simple_history_get_rss" => "1", "rss_secret" => $rss_secret), get_bloginfo("url") . "/");
|
333 |
$rss_address = htmlspecialchars($rss_address, ENT_COMPAT, "UTF-8");
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Simple History
|
4 |
Plugin URI: http://simple-history.com
|
5 |
Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
|
6 |
-
Version: 2.0.
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://simple-history.com/
|
9 |
License: GPL2
|
3 |
Plugin Name: Simple History
|
4 |
Plugin URI: http://simple-history.com
|
5 |
Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
|
6 |
+
Version: 2.0.13
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://simple-history.com/
|
9 |
License: GPL2
|
languages/simple-history.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Simple History package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Simple History 2.0.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
|
7 |
-
"POT-Creation-Date: 2015-01-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -37,7 +37,7 @@ msgid "Styles example (debug)"
|
|
37 |
msgstr ""
|
38 |
|
39 |
#: SimpleHistory.php:711
|
40 |
-
#. #-#-#-#-# Simple-History.pot (Simple History 2.0.
|
41 |
#. Plugin Name of the plugin/theme
|
42 |
msgid "Simple History"
|
43 |
msgstr ""
|
@@ -207,12 +207,12 @@ msgid "Created new secret RSS address"
|
|
207 |
msgstr ""
|
208 |
|
209 |
#: dropins/SimpleHistoryRSSDropin.php:148
|
210 |
-
#: dropins/SimpleHistoryRSSDropin.php:
|
211 |
msgid "History for %s"
|
212 |
msgstr ""
|
213 |
|
214 |
#: dropins/SimpleHistoryRSSDropin.php:149
|
215 |
-
#: dropins/SimpleHistoryRSSDropin.php:
|
216 |
msgid "WordPress History for %s"
|
217 |
msgstr ""
|
218 |
|
@@ -222,27 +222,27 @@ msgid_plural "+%1$s occasions"
|
|
222 |
msgstr[0] ""
|
223 |
msgstr[1] ""
|
224 |
|
225 |
-
#: dropins/SimpleHistoryRSSDropin.php:
|
226 |
msgid "Wrong RSS secret"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: dropins/SimpleHistoryRSSDropin.php:
|
230 |
msgid ""
|
231 |
"Your RSS secret for Simple History RSS feed is wrong. Please see WordPress "
|
232 |
"settings for current link to the RSS feed."
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: dropins/SimpleHistoryRSSDropin.php:
|
236 |
msgid ""
|
237 |
"You can generate a new address for the RSS feed. This is useful if you "
|
238 |
"think that the address has fallen into the wrong hands."
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: dropins/SimpleHistoryRSSDropin.php:
|
242 |
msgid "Generate new address"
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: dropins/SimpleHistoryRSSDropin.php:
|
246 |
msgid ""
|
247 |
"Simple History has a RSS feed which you can subscribe to and receive log "
|
248 |
"updates. Make sure you only share the feed with people you trust, since it "
|
@@ -263,27 +263,27 @@ msgid ""
|
|
263 |
"least PHP 5.3 installed (you have version %s)."
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: loggers/SimpleCommentsLogger.php:
|
267 |
msgid "Spam"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: loggers/SimpleCommentsLogger.php:
|
271 |
msgid "Approved"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: loggers/SimpleCommentsLogger.php:
|
275 |
msgid "Pending"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: loggers/SimpleCommentsLogger.php:
|
279 |
msgid "Trackback"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: loggers/SimpleCommentsLogger.php:
|
283 |
msgid "Pingback"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: loggers/SimpleCommentsLogger.php:
|
287 |
msgid "Comment"
|
288 |
msgstr ""
|
289 |
|
@@ -353,19 +353,19 @@ msgstr ""
|
|
353 |
msgid "Uploaded {post_type} <a href=\"{edit_link}\">\"{attachment_title}\"</a>"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: loggers/SimpleMediaLogger.php:
|
357 |
msgid "{attachment_thumb}"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: loggers/SimpleMediaLogger.php:
|
361 |
msgid "{attachment_size_format}"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: loggers/SimpleMediaLogger.php:
|
365 |
msgid "{attachment_filetype_extension}"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: loggers/SimpleMediaLogger.php:
|
369 |
msgid "{full_image_width} × {full_image_height}"
|
370 |
msgstr ""
|
371 |
|
@@ -892,35 +892,35 @@ msgctxt "Comments logger: search"
|
|
892 |
msgid "Deleted comments"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: loggers/SimpleCommentsLogger.php:
|
896 |
-
#: loggers/SimpleCommentsLogger.php:
|
897 |
msgctxt "comments logger - detailed output comment status"
|
898 |
msgid "Status"
|
899 |
msgstr ""
|
900 |
|
901 |
-
#: loggers/SimpleCommentsLogger.php:
|
902 |
-
#: loggers/SimpleCommentsLogger.php:
|
903 |
msgctxt "comments logger - detailed output author"
|
904 |
msgid "Name"
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: loggers/SimpleCommentsLogger.php:
|
908 |
-
#: loggers/SimpleCommentsLogger.php:
|
909 |
msgctxt "comments logger - detailed output email"
|
910 |
msgid "Email"
|
911 |
msgstr ""
|
912 |
|
913 |
-
#: loggers/SimpleCommentsLogger.php:
|
914 |
msgctxt "comments logger - detailed output content"
|
915 |
msgid "Content"
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: loggers/SimpleCommentsLogger.php:
|
919 |
msgctxt "comments logger - detailed output content"
|
920 |
msgid "Comment"
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: loggers/SimpleCommentsLogger.php:
|
924 |
msgctxt "comments logger - edit comment"
|
925 |
msgid "View/Edit"
|
926 |
msgstr ""
|
2 |
# This file is distributed under the same license as the Simple History package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Simple History 2.0.13\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
|
7 |
+
"POT-Creation-Date: 2015-01-06 09:40:58+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
37 |
msgstr ""
|
38 |
|
39 |
#: SimpleHistory.php:711
|
40 |
+
#. #-#-#-#-# Simple-History.pot (Simple History 2.0.13) #-#-#-#-#
|
41 |
#. Plugin Name of the plugin/theme
|
42 |
msgid "Simple History"
|
43 |
msgstr ""
|
207 |
msgstr ""
|
208 |
|
209 |
#: dropins/SimpleHistoryRSSDropin.php:148
|
210 |
+
#: dropins/SimpleHistoryRSSDropin.php:259
|
211 |
msgid "History for %s"
|
212 |
msgstr ""
|
213 |
|
214 |
#: dropins/SimpleHistoryRSSDropin.php:149
|
215 |
+
#: dropins/SimpleHistoryRSSDropin.php:260
|
216 |
msgid "WordPress History for %s"
|
217 |
msgstr ""
|
218 |
|
222 |
msgstr[0] ""
|
223 |
msgstr[1] ""
|
224 |
|
225 |
+
#: dropins/SimpleHistoryRSSDropin.php:263
|
226 |
msgid "Wrong RSS secret"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: dropins/SimpleHistoryRSSDropin.php:264
|
230 |
msgid ""
|
231 |
"Your RSS secret for Simple History RSS feed is wrong. Please see WordPress "
|
232 |
"settings for current link to the RSS feed."
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: dropins/SimpleHistoryRSSDropin.php:315
|
236 |
msgid ""
|
237 |
"You can generate a new address for the RSS feed. This is useful if you "
|
238 |
"think that the address has fallen into the wrong hands."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: dropins/SimpleHistoryRSSDropin.php:318
|
242 |
msgid "Generate new address"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: dropins/SimpleHistoryRSSDropin.php:346
|
246 |
msgid ""
|
247 |
"Simple History has a RSS feed which you can subscribe to and receive log "
|
248 |
"updates. Make sure you only share the feed with people you trust, since it "
|
263 |
"least PHP 5.3 installed (you have version %s)."
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: loggers/SimpleCommentsLogger.php:694
|
267 |
msgid "Spam"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: loggers/SimpleCommentsLogger.php:696
|
271 |
msgid "Approved"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: loggers/SimpleCommentsLogger.php:698
|
275 |
msgid "Pending"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: loggers/SimpleCommentsLogger.php:712
|
279 |
msgid "Trackback"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: loggers/SimpleCommentsLogger.php:714
|
283 |
msgid "Pingback"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: loggers/SimpleCommentsLogger.php:716
|
287 |
msgid "Comment"
|
288 |
msgstr ""
|
289 |
|
353 |
msgid "Uploaded {post_type} <a href=\"{edit_link}\">\"{attachment_title}\"</a>"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: loggers/SimpleMediaLogger.php:197
|
357 |
msgid "{attachment_thumb}"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: loggers/SimpleMediaLogger.php:206
|
361 |
msgid "{attachment_size_format}"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: loggers/SimpleMediaLogger.php:207
|
365 |
msgid "{attachment_filetype_extension}"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: loggers/SimpleMediaLogger.php:209
|
369 |
msgid "{full_image_width} × {full_image_height}"
|
370 |
msgstr ""
|
371 |
|
892 |
msgid "Deleted comments"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: loggers/SimpleCommentsLogger.php:611 loggers/SimpleCommentsLogger.php:624
|
896 |
+
#: loggers/SimpleCommentsLogger.php:638
|
897 |
msgctxt "comments logger - detailed output comment status"
|
898 |
msgid "Status"
|
899 |
msgstr ""
|
900 |
|
901 |
+
#: loggers/SimpleCommentsLogger.php:613 loggers/SimpleCommentsLogger.php:626
|
902 |
+
#: loggers/SimpleCommentsLogger.php:640
|
903 |
msgctxt "comments logger - detailed output author"
|
904 |
msgid "Name"
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: loggers/SimpleCommentsLogger.php:614 loggers/SimpleCommentsLogger.php:627
|
908 |
+
#: loggers/SimpleCommentsLogger.php:641
|
909 |
msgctxt "comments logger - detailed output email"
|
910 |
msgid "Email"
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: loggers/SimpleCommentsLogger.php:615 loggers/SimpleCommentsLogger.php:628
|
914 |
msgctxt "comments logger - detailed output content"
|
915 |
msgid "Content"
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: loggers/SimpleCommentsLogger.php:642
|
919 |
msgctxt "comments logger - detailed output content"
|
920 |
msgid "Comment"
|
921 |
msgstr ""
|
922 |
|
923 |
+
#: loggers/SimpleCommentsLogger.php:768
|
924 |
msgctxt "comments logger - edit comment"
|
925 |
msgid "View/Edit"
|
926 |
msgstr ""
|
loggers/SimpleLogger.php
CHANGED
@@ -217,7 +217,7 @@ class SimpleLogger
|
|
217 |
|
218 |
if ( empty( $context["_server_remote_addr"] ) ) {
|
219 |
|
220 |
-
$initiator_html .= "<strong class='SimpleHistoryLogitem__inlineDivided'>" . __("Anonymous web user") . "</strong> ";
|
221 |
|
222 |
} else {
|
223 |
|
217 |
|
218 |
if ( empty( $context["_server_remote_addr"] ) ) {
|
219 |
|
220 |
+
$initiator_html .= "<strong class='SimpleHistoryLogitem__inlineDivided'>" . __("Anonymous web user", "simple-history") . "</strong> ";
|
221 |
|
222 |
} else {
|
223 |
|
loggers/SimpleMediaLogger.php
CHANGED
@@ -206,7 +206,7 @@ class SimpleMediaLogger extends SimpleLogger
|
|
206 |
$message .= "<span class='SimpleHistoryLogitem__inlineDivided'>" . __('{attachment_size_format}', "simple-history") . "</span> ";
|
207 |
$message .= "<span class='SimpleHistoryLogitem__inlineDivided'>" . __('{attachment_filetype_extension}', "simple-history") . "</span>";
|
208 |
if ($full_image_width && $full_image_height) {
|
209 |
-
$message .= " <span class='SimpleHistoryLogitem__inlineDivided'>" . __('{full_image_width} × {full_image_height}') . "</span>";
|
210 |
}
|
211 |
//$message .= " <span class='SimpleHistoryLogitem__inlineDivided'>" . sprintf( __('<a href="%1$s">Edit attachment</a>'), $edit_link ) . "</span>";
|
212 |
$message .= "</p>";
|
206 |
$message .= "<span class='SimpleHistoryLogitem__inlineDivided'>" . __('{attachment_size_format}', "simple-history") . "</span> ";
|
207 |
$message .= "<span class='SimpleHistoryLogitem__inlineDivided'>" . __('{attachment_filetype_extension}', "simple-history") . "</span>";
|
208 |
if ($full_image_width && $full_image_height) {
|
209 |
+
$message .= " <span class='SimpleHistoryLogitem__inlineDivided'>" . __('{full_image_width} × {full_image_height}', "simple-history") . "</span>";
|
210 |
}
|
211 |
//$message .= " <span class='SimpleHistoryLogitem__inlineDivided'>" . sprintf( __('<a href="%1$s">Edit attachment</a>'), $edit_link ) . "</span>";
|
212 |
$message .= "</p>";
|
loggers/SimplePostLogger.php
CHANGED
@@ -233,7 +233,7 @@ class SimplePostLogger extends SimpleLogger
|
|
233 |
|
234 |
} else if ( "post_deleted" == $message_key ) {
|
235 |
|
236 |
-
$message = __('Deleted {post_type} "{post_title}"');
|
237 |
|
238 |
} else if ( "post_created" == $message_key ) {
|
239 |
|
233 |
|
234 |
} else if ( "post_deleted" == $message_key ) {
|
235 |
|
236 |
+
$message = __('Deleted {post_type} "{post_title}"', 'simple-history');
|
237 |
|
238 |
} else if ( "post_created" == $message_key ) {
|
239 |
|
loggers/SimpleThemeLogger.php
CHANGED
@@ -29,7 +29,7 @@ class SimpleThemeLogger extends SimpleLogger
|
|
29 |
'widget_added' => __('Added widget "{widget_id_base}" to sidebar "{sidebar_id}"', "simple-history"),
|
30 |
'widget_order_changed' => __('Changed widget order "{widget_id_base}" in sidebar "{sidebar_id}"', "simple-history"),
|
31 |
'widget_edited' => __('Changed widget "{widget_id_base}" in sidebar "{sidebar_id}"', "simple-history"),
|
32 |
-
"custom_background_changed" => __("Changed settings for the theme custom background", "
|
33 |
),
|
34 |
"labels" => array(
|
35 |
"search" => array(
|
29 |
'widget_added' => __('Added widget "{widget_id_base}" to sidebar "{sidebar_id}"', "simple-history"),
|
30 |
'widget_order_changed' => __('Changed widget order "{widget_id_base}" in sidebar "{sidebar_id}"', "simple-history"),
|
31 |
'widget_edited' => __('Changed widget "{widget_id_base}" in sidebar "{sidebar_id}"', "simple-history"),
|
32 |
+
"custom_background_changed" => __("Changed settings for the theme custom background", "simple-history")
|
33 |
),
|
34 |
"labels" => array(
|
35 |
"search" => array(
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://eskapism.se/sida/donate/
|
|
4 |
Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin, syslog, feed, activity, stream
|
5 |
Requires at least: 3.6.0
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 2.0.
|
8 |
|
9 |
View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
|
10 |
|
@@ -105,9 +105,15 @@ initiated by a specific user.
|
|
105 |
|
106 |
3. Events have context with extra details - Each logged event can include useful rich formatted extra information. For example: a plugin install can contain author info and a the url to the plugin, and an uploaded image can contain a thumbnail of the image.
|
107 |
|
|
|
108 |
|
109 |
== Changelog ==
|
110 |
|
|
|
|
|
|
|
|
|
|
|
111 |
= 2.0.12 (January 2015) =
|
112 |
|
113 |
- Fixed: Deleted attachments did not get translations.
|
4 |
Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin, syslog, feed, activity, stream
|
5 |
Requires at least: 3.6.0
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 2.0.13
|
8 |
|
9 |
View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
|
10 |
|
105 |
|
106 |
3. Events have context with extra details - Each logged event can include useful rich formatted extra information. For example: a plugin install can contain author info and a the url to the plugin, and an uploaded image can contain a thumbnail of the image.
|
107 |
|
108 |
+
4. Click on the IP address of an entry to view the location of for example a failed login attempt.
|
109 |
|
110 |
== Changelog ==
|
111 |
|
112 |
+
= 2.0.13 (January 2015) =
|
113 |
+
|
114 |
+
- Fixed: RSS feed is now valid according to http://validator.w3.org/. Fixes https://wordpress.org/support/topic/a-feed-which-was-valid-under-v206-is-no-longer-under-v209-latest.
|
115 |
+
- Translation fixes. Thanks [ThomasDK81](https://github.com/ThomasDK81)!
|
116 |
+
|
117 |
= 2.0.12 (January 2015) =
|
118 |
|
119 |
- Fixed: Deleted attachments did not get translations.
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
CHANGED
Binary file
|
screenshot-4.png
ADDED
Binary file
|