Simple History - Version 2.0.25

Version Description

  • Added: Plugin installs now shows the source of the plugin. Supported sources are "WordPress plugin repository" and "uploaded ZIP archives".
  • Added: Plugin installs via upload now shows the uploaded file name.
  • Added: Support for showing plugin info-link for plugins from GitHub, installed with uploaded ZIP-archive. Only tested with a few plugins. Please let me know if it works or not!
  • Fixed: Messages for disabled loggers was not shown.
  • Fixed: An error when trying to show edit link for deleted comments.
  • Fixed: Use a safer way to get editable roles. Hopefully fixes https://wordpress.org/support/topic/php-warnings-simpleloggerphp-on-line-162.
  • Fixed: Some notice warnings from the comments logger.
  • Changed: Some other small things too.
Download this release

Release Info

Developer eskapism
Plugin Icon 128x128 Simple History
Version 2.0.25
Comparing to
See all releases

Code changes from version 2.0.24 to 2.0.25

dropins/SimpleHistoryDonateDropin.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /*
4
  Dropin Name: Donate things
5
  Dropin URI: http://simple-history.com/
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /*
6
  Dropin Name: Donate things
7
  Dropin URI: http://simple-history.com/
dropins/SimpleHistoryFilterDropin.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /*
4
  Dropin Name: Filter GUI
5
  Dropin URI: http://simple-history.com/
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /*
6
  Dropin Name: Filter GUI
7
  Dropin URI: http://simple-history.com/
dropins/SimpleHistoryIpInfoDropin.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /*
4
  Dropin Name: IP Info
5
  Dropin URI: http://simple-history.com/
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /*
6
  Dropin Name: IP Info
7
  Dropin URI: http://simple-history.com/
dropins/SimpleHistoryNewRowsNotifier.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Dropin Name: New Items Notifier
5
  * Dropin Description: Checks for new rows and displays a info bar when new items are available
@@ -35,7 +37,7 @@ class SimpleHistoryNewRowsNotifier {
35
 
36
  $arr_localize_data = array(
37
  "interval" => $this->interval,
38
- "errorCheck" =>_x('An error occured while checking for new log rows', 'New rows notifier: error while checking for new rows', 'simple-history')
39
  );
40
 
41
  wp_localize_script( "simple_history_NewRowsNotifierDropin", "simple_history_NewRowsNotifierDropin", $arr_localize_data );
@@ -77,7 +79,7 @@ class SimpleHistoryNewRowsNotifier {
77
  // We have new rows
78
 
79
  // Append strings
80
- $textRowsFound = sprintf( _n( '1 new row', '%d new rows', $numNewRows, 'simple-history' ), $numNewRows );
81
  $json_data["strings"] = array(
82
  "newRowsFound" => $textRowsFound
83
  );
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Dropin Name: New Items Notifier
7
  * Dropin Description: Checks for new rows and displays a info bar when new items are available
37
 
38
  $arr_localize_data = array(
39
  "interval" => $this->interval,
40
+ "errorCheck" =>_x('An error occured while checking for new events', 'New rows notifier: error while checking for new rows', 'simple-history')
41
  );
42
 
43
  wp_localize_script( "simple_history_NewRowsNotifierDropin", "simple_history_NewRowsNotifierDropin", $arr_localize_data );
79
  // We have new rows
80
 
81
  // Append strings
82
+ $textRowsFound = sprintf( _n( '1 new event', '%d new events', $numNewRows, 'simple-history' ), $numNewRows );
83
  $json_data["strings"] = array(
84
  "newRowsFound" => $textRowsFound
85
  );
dropins/SimpleHistoryRSSDropin.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /*
4
  Dropin Name: Global RSS Feed
5
  Dropin URI: http://simple-history.com/
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /*
6
  Dropin Name: Global RSS Feed
7
  Dropin URI: http://simple-history.com/
dropins/SimpleHistorySettingsLogtestDropin.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  class SimpleHistorySettingsLogtestDropin {
4
 
5
  // Simple History instance
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  class SimpleHistorySettingsLogtestDropin {
6
 
7
  // Simple History instance
dropins/SimpleHistorySettingsStatsDropin.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /*
4
  Dropin Name: Settings stats
5
  Dropin Description: Adds a tab with stats
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /*
6
  Dropin Name: Settings stats
7
  Dropin Description: Adds a tab with stats
dropins/SimpleHistorySidebarDropin.php CHANGED
@@ -1,4 +1,7 @@
1
  <?php
 
 
 
2
  /*
3
  Dropin Name: Sidebar
4
  Drop Description: Outputs HTML and filters for a sidebar
1
  <?php
2
+
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /*
6
  Dropin Name: Sidebar
7
  Drop Description: Outputs HTML and filters for a sidebar
examples/examples.php CHANGED
@@ -17,6 +17,7 @@ define("SIMPLE_HISTORY_LOG_DEBUG", true);
17
  */
18
 
19
 
 
20
  // Skip loading of loggers
21
  add_filter("simple_history/logger/load_logger", function($load_logger, $oneLoggerFile) {
22
 
@@ -29,6 +30,22 @@ add_filter("simple_history/logger/load_logger", function($load_logger, $oneLogge
29
 
30
  }, 10, 2);
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  // Skip the loading of dropins
34
  add_filter("simple_history/dropin/load_dropin", function($load_dropin, $dropinFileBasename) {
17
  */
18
 
19
 
20
+
21
  // Skip loading of loggers
22
  add_filter("simple_history/logger/load_logger", function($load_logger, $oneLoggerFile) {
23
 
30
 
31
  }, 10, 2);
32
 
33
+ /**
34
+ * Load only the loggers that are specified in the $do_log_us array
35
+ */
36
+ add_filter("simple_history/logger/load_logger", function($load_logger, $logger_basename) {
37
+
38
+ $load_logger = false;
39
+ $do_log_us = array("SimplePostLogger", "SimplePluginLogger", "SimpleLogger");
40
+
41
+ if ( in_array( $logger_basename, $do_log_us ) ) {
42
+ $load_logger = true;
43
+ }
44
+
45
+ return $load_logger;
46
+
47
+ }, 10, 2 );
48
+
49
 
50
  // Skip the loading of dropins
51
  add_filter("simple_history/dropin/load_dropin", function($load_dropin, $dropinFileBasename) {
inc/SimpleHistory.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Main class for Simple History
5
  */
@@ -8,7 +10,7 @@ class SimpleHistory {
8
  const NAME = "Simple History";
9
 
10
  // Dont use this any more! Will be removed in future versions. Use global SIMPLE_HISTORY_VERSION instead.
11
- const VERSION = "2.0.24";
12
 
13
  /**
14
  * For singleton
@@ -136,6 +138,7 @@ class SimpleHistory {
136
  $context["_debug_get"] = $sh->json_encode( $_GET );
137
  $context["_debug_post"] = $sh->json_encode( $_POST );
138
  $context["_debug_server"] = $sh->json_encode( $_SERVER );
 
139
  $context["_debug_php_sapi_name"] = php_sapi_name();
140
 
141
  global $argv;
@@ -1910,15 +1913,24 @@ foreach ($arr_settings_tabs as $one_tab) {
1910
 
1911
  }
1912
 
 
1913
  $data_attrs = "";
1914
  $data_attrs .= sprintf(' data-row-id="%1$d" ', $oneLogRow->id);
1915
  $data_attrs .= sprintf(' data-occasions-count="%1$d" ', $occasions_count);
1916
- $data_attrs .= sprintf(' data-occasions-id="%1$s" ', $oneLogRow->occasionsID);
1917
- $data_attrs .= sprintf(' data-ip-address="%1$s" ', esc_attr($oneLogRow->context["_server_remote_addr"]));
 
 
 
 
 
 
 
 
1918
 
1919
  // If type is single then include more details
1920
  $more_details_html = "";
1921
- if ($args["type"] == "single") {
1922
 
1923
  $more_details_html .= sprintf('<h2 class="SimpleHistoryLogitem__moreDetailsHeadline">%1$s</h2>', __("Context data", "simple-history"));
1924
  $more_details_html .= "<p>" . __("This is potentially useful meta data that a logger has saved.", "simple-history") . "</p>";
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Main class for Simple History
7
  */
10
  const NAME = "Simple History";
11
 
12
  // Dont use this any more! Will be removed in future versions. Use global SIMPLE_HISTORY_VERSION instead.
13
+ const VERSION = "2.0.25";
14
 
15
  /**
16
  * For singleton
138
  $context["_debug_get"] = $sh->json_encode( $_GET );
139
  $context["_debug_post"] = $sh->json_encode( $_POST );
140
  $context["_debug_server"] = $sh->json_encode( $_SERVER );
141
+ $context["_debug_files"] = $sh->json_encode( $_FILES );
142
  $context["_debug_php_sapi_name"] = php_sapi_name();
143
 
144
  global $argv;
1913
 
1914
  }
1915
 
1916
+ // Add data atributes to log row, so plugins can do stuff
1917
  $data_attrs = "";
1918
  $data_attrs .= sprintf(' data-row-id="%1$d" ', $oneLogRow->id);
1919
  $data_attrs .= sprintf(' data-occasions-count="%1$d" ', $occasions_count);
1920
+ $data_attrs .= sprintf(' data-occasions-id="%1$s" ', esc_attr( $oneLogRow->occasionsID ));
1921
+ $data_attrs .= sprintf(' data-ip-address="%1$s" ', esc_attr( $oneLogRow->context["_server_remote_addr"] ) );
1922
+ $data_attrs .= sprintf(' data-logger="%1$s" ', esc_attr( $oneLogRow->logger ) );
1923
+ $data_attrs .= sprintf(' data-level="%1$s" ', esc_attr( $oneLogRow->level ) );
1924
+ $data_attrs .= sprintf(' data-date="%1$s" ', esc_attr( $oneLogRow->date ) );
1925
+ $data_attrs .= sprintf(' data-initiator="%1$s" ', esc_attr( $oneLogRow->initiator ) );
1926
+
1927
+ if ( isset( $oneLogRow->context["_user_id"] ) ) {
1928
+ $data_attrs .= sprintf(' data-initiator-user-id="%1$d" ', $oneLogRow->context["_user_id"] );
1929
+ }
1930
 
1931
  // If type is single then include more details
1932
  $more_details_html = "";
1933
+ if ( $args["type"] == "single" ) {
1934
 
1935
  $more_details_html .= sprintf('<h2 class="SimpleHistoryLogitem__moreDetailsHeadline">%1$s</h2>', __("Context data", "simple-history"));
1936
  $more_details_html .= "<p>" . __("This is potentially useful meta data that a logger has saved.", "simple-history") . "</p>";
inc/SimpleHistoryLogQuery.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Queries the Simple History Log
5
  */
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Queries the Simple History Log
7
  */
index.php CHANGED
@@ -42,7 +42,7 @@ if ( version_compare( phpversion(), "5.3", ">=") ) {
42
  */
43
  // register_activation_hook( trailingslashit(WP_PLUGIN_DIR) . trailingslashit( plugin_basename(__DIR__) ) . "index.php" , array("SimpleHistory", "on_plugin_activate" ) );
44
 
45
- define( 'SIMPLE_HISTORY_VERSION', '2.0.24' );
46
 
47
  define( 'SIMPLE_HISTORY_FILE', __FILE__ );
48
  define( 'SIMPLE_HISTORY_PATH', plugin_dir_path( SIMPLE_HISTORY_FILE ) );
42
  */
43
  // register_activation_hook( trailingslashit(WP_PLUGIN_DIR) . trailingslashit( plugin_basename(__DIR__) ) . "index.php" , array("SimpleHistory", "on_plugin_activate" ) );
44
 
45
+ define( 'SIMPLE_HISTORY_VERSION', '2.0.25' );
46
 
47
  define( 'SIMPLE_HISTORY_FILE', __FILE__ );
48
  define( 'SIMPLE_HISTORY_PATH', plugin_dir_path( SIMPLE_HISTORY_FILE ) );
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.23\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
7
- "POT-Creation-Date: 2015-03-12 22:36:43+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,279 +24,279 @@ msgstr ""
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
- #: dropins/SimpleHistoryDonateDropin.php:36
28
  msgid "Donate"
29
  msgstr ""
30
 
31
- #: dropins/SimpleHistoryDonateDropin.php:72
32
  msgid ""
33
  "If you find Simple History useful please <a href=\"%1$s\">donate</a> or <a "
34
  "href=\"%2$s\">buy me something from my Amazon wish list</a>."
35
  msgstr ""
36
 
37
- #: dropins/SimpleHistoryFilterDropin.php:44
38
  msgid "Filter history"
39
  msgstr ""
40
 
41
- #: dropins/SimpleHistoryFilterDropin.php:48
42
- #: dropins/SimpleHistoryFilterDropin.php:159
43
  msgid "Search events"
44
  msgstr ""
45
 
46
- #: dropins/SimpleHistoryFilterDropin.php:56
47
  msgid "All log levels"
48
  msgstr ""
49
 
50
- #: dropins/SimpleHistoryFilterDropin.php:70
51
  msgid "All messages"
52
  msgstr ""
53
 
54
- #: dropins/SimpleHistoryFilterDropin.php:124
55
  msgid "All users"
56
  msgstr ""
57
 
58
- #: dropins/SimpleHistoryFilterDropin.php:145
59
  msgid "All dates"
60
  msgstr ""
61
 
62
- #: dropins/SimpleHistoryFilterDropin.php:168
63
  msgid "Search"
64
  msgstr ""
65
 
66
- #: dropins/SimpleHistoryNewRowsNotifier.php:80
67
- msgid "1 new row"
68
- msgid_plural "%d new rows"
69
  msgstr[0] ""
70
  msgstr[1] ""
71
 
72
- #: dropins/SimpleHistoryRSSDropin.php:55
73
  msgid "Address"
74
  msgstr ""
75
 
76
- #: dropins/SimpleHistoryRSSDropin.php:64
77
  msgid "Regenerate"
78
  msgstr ""
79
 
80
- #: dropins/SimpleHistoryRSSDropin.php:81
81
  msgid "Created new secret RSS address"
82
  msgstr ""
83
 
84
- #: dropins/SimpleHistoryRSSDropin.php:148
85
- #: dropins/SimpleHistoryRSSDropin.php:275
86
  msgid "History for %s"
87
  msgstr ""
88
 
89
- #: dropins/SimpleHistoryRSSDropin.php:149
90
- #: dropins/SimpleHistoryRSSDropin.php:276
91
  msgid "WordPress History for %s"
92
  msgstr ""
93
 
94
- #: dropins/SimpleHistoryRSSDropin.php:199
95
  msgid "Severity level: %1$s"
96
  msgstr ""
97
 
98
- #: dropins/SimpleHistoryRSSDropin.php:212
99
  msgid "+%1$s occasion"
100
  msgid_plural "+%1$s occasions"
101
  msgstr[0] ""
102
  msgstr[1] ""
103
 
104
- #: dropins/SimpleHistoryRSSDropin.php:279
105
  msgid "Wrong RSS secret"
106
  msgstr ""
107
 
108
- #: dropins/SimpleHistoryRSSDropin.php:280
109
  msgid ""
110
  "Your RSS secret for Simple History RSS feed is wrong. Please see WordPress "
111
  "settings for current link to the RSS feed."
112
  msgstr ""
113
 
114
- #: dropins/SimpleHistoryRSSDropin.php:331
115
  msgid ""
116
  "You can generate a new address for the RSS feed. This is useful if you "
117
  "think that the address has fallen into the wrong hands."
118
  msgstr ""
119
 
120
- #: dropins/SimpleHistoryRSSDropin.php:334
121
  msgid "Generate new address"
122
  msgstr ""
123
 
124
- #: dropins/SimpleHistoryRSSDropin.php:362
125
  msgid ""
126
  "Simple History has a RSS feed which you can subscribe to and receive log "
127
  "updates. Make sure you only share the feed with people you trust, since it "
128
  "can contain sensitive or confidential information."
129
  msgstr ""
130
 
131
- #: dropins/SimpleHistorySettingsLogtestDropin.php:20
132
  msgid "Test data (debug)"
133
  msgstr ""
134
 
135
- #: dropins/SimpleHistorySettingsLogtestDropin.php:225
136
  msgid "Plugin"
137
  msgstr ""
138
 
139
- #: dropins/SimpleHistorySettingsLogtestDropin.php:226
140
  msgid "Enter title of new page"
141
  msgstr ""
142
 
143
- #: dropins/SimpleHistorySettingsStatsDropin.php:27
144
  msgid "Stats"
145
  msgstr ""
146
 
147
- #: dropins/SimpleHistorySidebarDropin.php:159 loggers/SimpleLogger.php:300
148
  msgid "Just now"
149
  msgstr ""
150
 
151
- #: inc/SimpleHistory.php:535 inc/SimpleHistory.php:826
152
  msgid "Settings"
153
  msgstr ""
154
 
155
- #: inc/SimpleHistory.php:546
156
  msgid "Log (debug)"
157
  msgstr ""
158
 
159
- #: inc/SimpleHistory.php:551
160
  msgid "Styles example (debug)"
161
  msgstr ""
162
 
163
- #: inc/SimpleHistory.php:851
164
- #. #-#-#-#-# Simple-History.pot (Simple History 2.0.23) #-#-#-#-#
165
  #. Plugin Name of the plugin/theme
166
  msgid "Simple History"
167
  msgstr ""
168
 
169
- #: inc/SimpleHistory.php:929
170
  msgid "Remove all log items?"
171
  msgstr ""
172
 
173
- #: inc/SimpleHistory.php:931
174
  msgid "Go to the first page"
175
  msgstr ""
176
 
177
- #: inc/SimpleHistory.php:932
178
  msgid "Go to the previous page"
179
  msgstr ""
180
 
181
- #: inc/SimpleHistory.php:933
182
  msgid "Go to the next page"
183
  msgstr ""
184
 
185
- #: inc/SimpleHistory.php:934
186
  msgid "Go to the last page"
187
  msgstr ""
188
 
189
- #: inc/SimpleHistory.php:935
190
  msgid "Current page"
191
  msgstr ""
192
 
193
- #: inc/SimpleHistory.php:937
194
  msgid "Oups, the log could not be loaded right now."
195
  msgstr ""
196
 
197
- #: inc/SimpleHistory.php:938
198
  msgid "Your search did not match any history events."
199
  msgstr ""
200
 
201
- #: inc/SimpleHistory.php:1222 inc/SimpleHistory.php:1337
202
  msgid "Simple History Settings"
203
  msgstr ""
204
 
205
- #: inc/SimpleHistory.php:1256
206
  msgid "No valid callback found"
207
  msgstr ""
208
 
209
- #: inc/SimpleHistory.php:1358
210
  msgid "Cleared database"
211
  msgstr ""
212
 
213
- #: inc/SimpleHistory.php:1385
214
  msgid "Show history"
215
  msgstr ""
216
 
217
- #: inc/SimpleHistory.php:1398
218
  msgid "Number of items per page"
219
  msgstr ""
220
 
221
- #: inc/SimpleHistory.php:1410
222
  msgid "Clear log"
223
  msgstr ""
224
 
225
- #: inc/SimpleHistory.php:1549
226
  msgid "on the dashboard"
227
  msgstr ""
228
 
229
- #: inc/SimpleHistory.php:1554
230
  msgid "as a page under the dashboard menu"
231
  msgstr ""
232
 
233
- #: inc/SimpleHistory.php:1570
234
  msgid "Items in the database are automatically removed after %1$s days."
235
  msgstr ""
236
 
237
- #: inc/SimpleHistory.php:1572
238
  msgid "Items in the database are kept forever."
239
  msgstr ""
240
 
241
- #: inc/SimpleHistory.php:1576
242
  msgid "Clear log now"
243
  msgstr ""
244
 
245
- #: inc/SimpleHistory.php:1626
246
  msgid "The log for Simple History was cleared ({num_rows} rows were removed)."
247
  msgstr ""
248
 
249
- #: inc/SimpleHistory.php:1890
250
  msgid "+%1$s similar event"
251
  msgid_plural "+%1$s similar events"
252
  msgstr[0] ""
253
  msgstr[1] ""
254
 
255
- #: inc/SimpleHistory.php:1897
256
  msgid "Loading…"
257
  msgstr ""
258
 
259
- #: inc/SimpleHistory.php:1904
260
  msgid "Showing %1$s more"
261
  msgstr ""
262
 
263
- #: inc/SimpleHistory.php:1923
264
  msgid "Context data"
265
  msgstr ""
266
 
267
- #: inc/SimpleHistory.php:1924
268
  msgid "This is potentially useful meta data that a logger has saved."
269
  msgstr ""
270
 
271
- #: inc/SimpleHistory.php:2444
272
  msgid "No events today so far."
273
  msgstr ""
274
 
275
- #: inc/SimpleHistory.php:2463
276
  msgid "One event today from one user."
277
  msgstr ""
278
 
279
- #: inc/SimpleHistory.php:2469
280
  msgid "One event today from one source."
281
  msgstr ""
282
 
283
- #: inc/SimpleHistory.php:2475
284
  msgid "%1$d events today from one user."
285
  msgstr ""
286
 
287
- #: inc/SimpleHistory.php:2481
288
  msgid "%1$d events today from %2$d users."
289
  msgstr ""
290
 
291
- #: inc/SimpleHistory.php:2487 inc/SimpleHistory.php:2493
292
  msgid "%1$d events today from one user and one other source."
293
  msgstr ""
294
 
295
- #: inc/SimpleHistory.php:2499
296
  msgid "%1$d events today from one user and %3$d other sources."
297
  msgstr ""
298
 
299
- #: inc/SimpleHistory.php:2505
300
  msgid "%1$s events today from %2$d users and %3$d other sources."
301
  msgstr ""
302
 
@@ -306,263 +306,285 @@ msgid ""
306
  "least PHP 5.3 installed (you have version %s)."
307
  msgstr ""
308
 
309
- #: loggers/SimpleCommentsLogger.php:685
310
  msgid "Spam"
311
  msgstr ""
312
 
313
- #: loggers/SimpleCommentsLogger.php:687
314
  msgid "Approved"
315
  msgstr ""
316
 
317
- #: loggers/SimpleCommentsLogger.php:689
318
  msgid "Pending"
319
  msgstr ""
320
 
321
- #: loggers/SimpleCommentsLogger.php:703
322
  msgid "Trackback"
323
  msgstr ""
324
 
325
- #: loggers/SimpleCommentsLogger.php:705
326
  msgid "Pingback"
327
  msgstr ""
328
 
329
- #: loggers/SimpleCommentsLogger.php:707
330
  msgid "Comment"
331
  msgstr ""
332
 
333
- #: loggers/SimpleCoreUpdatesLogger.php:29
334
- msgid "Updated WordPress from {prev_version} to {new_version}"
335
  msgstr ""
336
 
337
- #: loggers/SimpleCoreUpdatesLogger.php:30
338
  msgid "WordPress auto-updated to {new_version} from {prev_version}"
339
  msgstr ""
340
 
341
- #: loggers/SimpleExportLogger.php:23
342
  msgid "Created XML export"
343
  msgstr ""
344
 
345
- #: loggers/SimpleLegacyLogger.php:88
346
  msgid "By %s"
347
  msgstr ""
348
 
349
- #: loggers/SimpleLegacyLogger.php:93
350
  msgid "%d occasions"
351
  msgstr ""
352
 
353
- #: loggers/SimpleLogger.php:207
354
  msgid "Deleted user (had id %1$s, email %2$s, login %3$s)"
355
  msgstr ""
356
 
357
- #: loggers/SimpleLogger.php:222
358
  msgid "Anonymous web user"
359
  msgstr ""
360
 
361
- #: loggers/SimpleLogger.php:230
362
  msgid "Anonymous user from %1$s"
363
  msgstr ""
364
 
365
- #: loggers/SimpleLogger.php:305
366
  #. translators: Date format for log row header, see http:php.net/date
367
  msgid "M j, Y \\a\\t G:i"
368
  msgstr ""
369
 
370
- #: loggers/SimpleLogger.php:313
371
  #. translators: 1: last modified date and time in human time diff-format
372
  msgid "%1$s ago"
373
  msgstr ""
374
 
375
- #: loggers/SimpleMediaLogger.php:23
376
  msgid "Created {post_type} \"{attachment_title}\""
377
  msgstr ""
378
 
379
- #: loggers/SimpleMediaLogger.php:24
380
  msgid "Edited {post_type} \"{attachment_title}\""
381
  msgstr ""
382
 
383
- #: loggers/SimpleMediaLogger.php:25
384
  msgid "Deleted {post_type} \"{attachment_title}\" (\"{attachment_filename}\")"
385
  msgstr ""
386
 
387
- #: loggers/SimpleMediaLogger.php:119
388
  msgid "Edited {post_type} <a href=\"{edit_link}\">\"{attachment_title}\"</a>"
389
  msgstr ""
390
 
391
- #: loggers/SimpleMediaLogger.php:123
392
  msgid "Uploaded {post_type} <a href=\"{edit_link}\">\"{attachment_title}\"</a>"
393
  msgstr ""
394
 
395
- #: loggers/SimpleMediaLogger.php:235
396
  msgid "{attachment_thumb}"
397
  msgstr ""
398
 
399
- #: loggers/SimpleMediaLogger.php:244
400
  msgid "{attachment_size_format}"
401
  msgstr ""
402
 
403
- #: loggers/SimpleMediaLogger.php:245
404
  msgid "{attachment_filetype_extension}"
405
  msgstr ""
406
 
407
- #: loggers/SimpleMediaLogger.php:247
408
  msgid "{full_image_width} × {full_image_height}"
409
  msgstr ""
410
 
411
- #: loggers/SimpleMenuLogger.php:23
412
  msgid "Created menu \"{menu_name}\""
413
  msgstr ""
414
 
415
- #: loggers/SimpleMenuLogger.php:24
416
  msgid "Edited menu \"{menu_name}\""
417
  msgstr ""
418
 
419
- #: loggers/SimpleMenuLogger.php:25
420
  msgid "Deleted menu \"{menu_name}\""
421
  msgstr ""
422
 
423
- #: loggers/SimpleMenuLogger.php:26
424
  msgid "Edited a menu item"
425
  msgstr ""
426
 
427
- #: loggers/SimpleMenuLogger.php:27
428
  msgid "Updated menu locations"
429
  msgstr ""
430
 
431
- #: loggers/SimpleOptionsLogger.php:140
432
  msgid "Updated option \"{option}\""
433
  msgstr ""
434
 
435
- #: loggers/SimpleOptionsLogger.php:242 loggers/SimpleThemeLogger.php:570
436
  msgid "New value"
437
  msgstr ""
438
 
439
- #: loggers/SimpleOptionsLogger.php:253 loggers/SimpleThemeLogger.php:582
440
  msgid "Old value"
441
  msgstr ""
442
 
443
- #: loggers/SimpleOptionsLogger.php:268 loggers/SimpleOptionsLogger.php:285
444
  msgid "Settings page"
445
  msgstr ""
446
 
447
- #: loggers/SimplePluginLogger.php:169
 
 
 
 
 
 
 
 
 
 
 
 
 
 
448
  msgid "You do not have sufficient permissions to delete plugins for this site."
449
  msgstr ""
450
 
451
- #: loggers/SimplePostLogger.php:182
 
 
 
 
 
 
 
 
452
  msgid "Created {post_type} \"{post_title}\""
453
  msgstr ""
454
 
455
- #: loggers/SimplePostLogger.php:183
456
  msgid "Updated {post_type} \"{post_title}\""
457
  msgstr ""
458
 
459
- #: loggers/SimplePostLogger.php:184
460
  msgid "Restored {post_type} \"{post_title}\" from trash"
461
  msgstr ""
462
 
463
- #: loggers/SimplePostLogger.php:185 loggers/SimplePostLogger.php:454
464
  msgid "Deleted {post_type} \"{post_title}\""
465
  msgstr ""
466
 
467
- #: loggers/SimplePostLogger.php:186
468
  msgid "Moved {post_type} \"{post_title}\" to the trash"
469
  msgstr ""
470
 
471
- #: loggers/SimplePostLogger.php:450
472
  msgid "Updated {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a>"
473
  msgstr ""
474
 
475
- #: loggers/SimplePostLogger.php:458
476
  msgid "Created {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a>"
477
  msgstr ""
478
 
479
- #: loggers/SimplePostLogger.php:463
480
  msgid "Moved {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> to the trash"
481
  msgstr ""
482
 
483
- #: loggers/SimpleThemeLogger.php:26
484
  msgid "Switched theme to \"{theme_name}\" from \"{prev_theme_name}\""
485
  msgstr ""
486
 
487
- #: loggers/SimpleThemeLogger.php:27
488
  msgid "Customized theme appearance \"{setting_id}\""
489
  msgstr ""
490
 
491
- #: loggers/SimpleThemeLogger.php:28
492
  msgid "Removed widget \"{widget_id_base}\" from sidebar \"{sidebar_id}\""
493
  msgstr ""
494
 
495
- #: loggers/SimpleThemeLogger.php:29
496
  msgid "Added widget \"{widget_id_base}\" to sidebar \"{sidebar_id}\""
497
  msgstr ""
498
 
499
- #: loggers/SimpleThemeLogger.php:30
500
  msgid "Changed widget order \"{widget_id_base}\" in sidebar \"{sidebar_id}\""
501
  msgstr ""
502
 
503
- #: loggers/SimpleThemeLogger.php:31
504
  msgid "Changed widget \"{widget_id_base}\" in sidebar \"{sidebar_id}\""
505
  msgstr ""
506
 
507
- #: loggers/SimpleThemeLogger.php:32
508
  msgid "Changed settings for the theme custom background"
509
  msgstr ""
510
 
511
- #: loggers/SimpleThemeLogger.php:532
512
  msgid "Section"
513
  msgstr ""
514
 
515
- #: loggers/SimpleUserLogger.php:22
516
  msgid ""
517
  "Failed to login to account with username \"{login_user_login}\" because an "
518
  "incorrect password was entered"
519
  msgstr ""
520
 
521
- #: loggers/SimpleUserLogger.php:23
522
  msgid ""
523
  "Failed to login with username \"{failed_login_username}\" because no user "
524
  "with that username exists"
525
  msgstr ""
526
 
527
- #: loggers/SimpleUserLogger.php:24
528
  msgid "Logged in"
529
  msgstr ""
530
 
531
- #: loggers/SimpleUserLogger.php:25
532
  msgid "Unknown user logged in"
533
  msgstr ""
534
 
535
- #: loggers/SimpleUserLogger.php:26
536
  msgid "Logged out"
537
  msgstr ""
538
 
539
- #: loggers/SimpleUserLogger.php:27
540
  msgid "Edited the profile for user {edited_user_login} ({edited_user_email})"
541
  msgstr ""
542
 
543
- #: loggers/SimpleUserLogger.php:28
544
  msgid ""
545
  "Created user {created_user_login} ({created_user_email}) with role "
546
  "{created_user_role}"
547
  msgstr ""
548
 
549
- #: loggers/SimpleUserLogger.php:29
550
  msgid "Deleted user {deleted_user_login} ({deleted_user_email})"
551
  msgstr ""
552
 
553
- #: loggers/SimpleUserLogger.php:227
554
  msgid "Edited <a href=\"{edit_profile_link}\">your profile</a>"
555
  msgstr ""
556
 
557
- #: loggers/SimpleUserLogger.php:231
558
  msgid "Edited <a href=\"{edit_profile_link}\">their profile</a>"
559
  msgstr ""
560
 
561
- #: loggers/SimpleUserLogger.php:240
562
  msgid "Edited your profile"
563
  msgstr ""
564
 
565
- #: loggers/SimpleUserLogger.php:251
566
  msgid ""
567
  "Edited the profile for user <a "
568
  "href=\"{edit_profile_link}\">{edited_user_login} ({edited_user_email})</a>"
@@ -583,35 +605,35 @@ msgstr ""
583
  msgid "String"
584
  msgstr ""
585
 
586
- #: templates/settings-statsIntro.php:19
587
  msgid "<b>%1$s rows</b> have been logged the last <b>%2$s days</b>"
588
  msgstr ""
589
 
590
- #: templates/settings-statsLogLevels.php:4
591
  msgid "Log levels"
592
  msgstr ""
593
 
594
- #: templates/settings-statsLogLevels.php:6
595
  msgid "Number of rows logged for each log level."
596
  msgstr ""
597
 
598
- #: templates/settings-statsLoggers.php:4
599
  msgid "Loggers"
600
  msgstr ""
601
 
602
- #: templates/settings-statsRowsPerDay.php:4
603
  msgid "Rows per day"
604
  msgstr ""
605
 
606
- #: templates/settings-statsUsers.php:4
607
  msgid "Users"
608
  msgstr ""
609
 
610
- #: templates/settings-statsUsers.php:6
611
  msgid "Number of logged items for the 5 users with most logged rows."
612
  msgstr ""
613
 
614
- #: templates/settings-statsUsers.php:7
615
  msgid "Deleted users are also included."
616
  msgstr ""
617
 
@@ -633,830 +655,825 @@ msgstr ""
633
  msgid "http://simple-history.com/"
634
  msgstr ""
635
 
636
- #: dropins/SimpleHistoryDonateDropin.php:51
637
  msgctxt "donate settings headline"
638
  msgid "Donate"
639
  msgstr ""
640
 
641
- #: dropins/SimpleHistoryFilterDropin.php:50
642
  msgctxt "Filter dropin: button to show more search options"
643
  msgid "Show options"
644
  msgstr ""
645
 
646
- #: dropins/SimpleHistoryFilterDropin.php:160
647
  msgctxt "Filter dropin: button to hide more search options"
648
  msgid "Hide options"
649
  msgstr ""
650
 
651
- #: dropins/SimpleHistoryIpInfoDropin.php:66
652
  msgctxt "IP Info Dropin"
653
  msgid "That IP address does not seem like a public one."
654
  msgstr ""
655
 
656
- #: dropins/SimpleHistoryIpInfoDropin.php:85
657
  msgctxt "IP Info Dropin"
658
  msgid "IP address"
659
  msgstr ""
660
 
661
- #: dropins/SimpleHistoryIpInfoDropin.php:96
662
  msgctxt "IP Info Dropin"
663
  msgid "Hostname"
664
  msgstr ""
665
 
666
- #: dropins/SimpleHistoryIpInfoDropin.php:107
667
- #: dropins/SimpleHistoryIpInfoDropin.php:118
668
  msgctxt "IP Info Dropin"
669
  msgid "Network"
670
  msgstr ""
671
 
672
- #: dropins/SimpleHistoryIpInfoDropin.php:129
673
  msgctxt "IP Info Dropin"
674
  msgid "City"
675
  msgstr ""
676
 
677
- #: dropins/SimpleHistoryIpInfoDropin.php:140
678
  msgctxt "IP Info Dropin"
679
  msgid "Region"
680
  msgstr ""
681
 
682
- #: dropins/SimpleHistoryIpInfoDropin.php:151
683
  msgctxt "IP Info Dropin"
684
  msgid "Country"
685
  msgstr ""
686
 
687
- #: dropins/SimpleHistoryIpInfoDropin.php:162
688
  msgctxt "IP Info Dropin"
689
  msgid "IP info provided by %1$s ipinfo.io %2$s"
690
  msgstr ""
691
 
692
- #: dropins/SimpleHistoryNewRowsNotifier.php:38
693
  msgctxt "New rows notifier: error while checking for new rows"
694
- msgid "An error occured while checking for new log rows"
695
  msgstr ""
696
 
697
- #: dropins/SimpleHistoryRSSDropin.php:47
698
  msgctxt "rss settings headline"
699
  msgid "RSS feed"
700
  msgstr ""
701
 
702
- #: dropins/SimpleHistorySidebarDropin.php:31
703
  msgctxt "Sidebar box"
704
  msgid "Simple History is on GitHub"
705
  msgstr ""
706
 
707
- #: dropins/SimpleHistorySidebarDropin.php:34
708
  msgctxt "Sidebar box"
709
  msgid ""
710
  "You can star, fork, or report issues with this plugin over at the <a "
711
  "href=\"%1$s\">GitHub page</a>."
712
  msgstr ""
713
 
714
- #: dropins/SimpleHistorySidebarDropin.php:48
715
  msgctxt "Sidebar box"
716
  msgid "Donate to support development"
717
  msgstr ""
718
 
719
- #: dropins/SimpleHistorySidebarDropin.php:51
720
  msgctxt "Sidebar box"
721
  msgid ""
722
  "If you like and use Simple History you should <a href=\"%1$s\">donate to "
723
  "keep this plugin free</a>."
724
  msgstr ""
725
 
726
- #: dropins/SimpleHistorySidebarDropin.php:65
727
  msgctxt "Sidebar box"
728
  msgid "Review this plugin if you like it"
729
  msgstr ""
730
 
731
- #: dropins/SimpleHistorySidebarDropin.php:68
732
  msgctxt "Sidebar box"
733
  msgid ""
734
  "If you like Simple History then please <a href=\"%1$s\">give it a nice "
735
  "review over at wordpress.org</a>."
736
  msgstr ""
737
 
738
- #: dropins/SimpleHistorySidebarDropin.php:72
739
  msgctxt "Sidebar box"
740
  msgid ""
741
  "A good review will help new users find this plugin. And it will make the "
742
  "plugin author very happy :)"
743
  msgstr ""
744
 
745
- #: inc/SimpleHistory.php:279
746
  msgctxt "Message visible while waiting for log to load from server the first time"
747
  msgid "Loading history..."
748
  msgstr ""
749
 
750
- #: inc/SimpleHistory.php:316
751
  msgctxt "page n of n"
752
  msgid "of"
753
  msgstr ""
754
 
755
- #: inc/SimpleHistory.php:387
756
  msgctxt "API: not enought arguments passed"
757
  msgid "Not enough args specified"
758
  msgstr ""
759
 
760
- #: inc/SimpleHistory.php:1319
761
  msgctxt "dashboard menu name"
762
  msgid "Simple History"
763
  msgstr ""
764
 
765
- #: inc/SimpleHistory.php:1446
766
  msgctxt "history page headline"
767
  msgid "Simple History"
768
  msgstr ""
769
 
770
- #: inc/SimpleHistory.php:1714
771
  msgctxt "simple-history"
772
  msgid "Simple History removed one event that were older than {days} days"
773
  msgid_plural "Simple History removed {num_rows} events that were older than {days} days"
774
  msgstr[0] ""
775
  msgstr[1] ""
776
 
777
- #: inc/SimpleHistory.php:2060
778
  msgctxt "Log level in gui"
779
  msgid "emergency"
780
  msgstr ""
781
 
782
- #: inc/SimpleHistory.php:2064
783
  msgctxt "Log level in gui"
784
  msgid "alert"
785
  msgstr ""
786
 
787
- #: inc/SimpleHistory.php:2068
788
  msgctxt "Log level in gui"
789
  msgid "critical"
790
  msgstr ""
791
 
792
- #: inc/SimpleHistory.php:2072
793
  msgctxt "Log level in gui"
794
  msgid "error"
795
  msgstr ""
796
 
797
- #: inc/SimpleHistory.php:2076
798
  msgctxt "Log level in gui"
799
  msgid "warning"
800
  msgstr ""
801
 
802
- #: inc/SimpleHistory.php:2080
803
  msgctxt "Log level in gui"
804
  msgid "notice"
805
  msgstr ""
806
 
807
- #: inc/SimpleHistory.php:2084
808
  msgctxt "Log level in gui"
809
  msgid "info"
810
  msgstr ""
811
 
812
- #: inc/SimpleHistory.php:2088
813
  msgctxt "Log level in gui"
814
  msgid "debug"
815
  msgstr ""
816
 
817
- #: inc/SimpleHistory.php:2093
818
  msgctxt "Log level in gui"
819
  msgid "Emergency"
820
  msgstr ""
821
 
822
- #: inc/SimpleHistory.php:2097
823
  msgctxt "Log level in gui"
824
  msgid "Alert"
825
  msgstr ""
826
 
827
- #: inc/SimpleHistory.php:2101
828
  msgctxt "Log level in gui"
829
  msgid "Critical"
830
  msgstr ""
831
 
832
- #: inc/SimpleHistory.php:2105
833
  msgctxt "Log level in gui"
834
  msgid "Error"
835
  msgstr ""
836
 
837
- #: inc/SimpleHistory.php:2109
838
  msgctxt "Log level in gui"
839
  msgid "Warning"
840
  msgstr ""
841
 
842
- #: inc/SimpleHistory.php:2113
843
  msgctxt "Log level in gui"
844
  msgid "Notice"
845
  msgstr ""
846
 
847
- #: inc/SimpleHistory.php:2117
848
  msgctxt "Log level in gui"
849
  msgid "Info"
850
  msgstr ""
851
 
852
- #: inc/SimpleHistory.php:2121
853
  msgctxt "Log level in gui"
854
  msgid "Debug"
855
  msgstr ""
856
 
857
- #: loggers/SimpleCommentsLogger.php:95
858
  msgctxt "A comment was added to the database by a non-logged in internet user"
859
  msgid "Added a comment to {comment_post_type} \"{comment_post_title}\""
860
  msgstr ""
861
 
862
- #: loggers/SimpleCommentsLogger.php:101
863
  msgctxt "A comment was added to the database by a logged in user"
864
  msgid "Added a comment to {comment_post_type} \"{comment_post_title}\""
865
  msgstr ""
866
 
867
- #: loggers/SimpleCommentsLogger.php:107
868
  msgctxt "A comment was approved"
869
  msgid ""
870
  "Approved a comment to \"{comment_post_title}\" by {comment_author} "
871
  "({comment_author_email})"
872
  msgstr ""
873
 
874
- #: loggers/SimpleCommentsLogger.php:113
875
  msgctxt "A comment was was unapproved"
876
  msgid ""
877
  "Unapproved a comment to \"{comment_post_title}\" by {comment_author} "
878
  "({comment_author_email})"
879
  msgstr ""
880
 
881
- #: loggers/SimpleCommentsLogger.php:119
882
  msgctxt "A comment was marked as spam"
883
  msgid "Marked a comment to post \"{comment_post_title}\" as spam"
884
  msgstr ""
885
 
886
- #: loggers/SimpleCommentsLogger.php:125
887
  msgctxt "A comment was marked moved to the trash"
888
  msgid ""
889
  "Trashed a comment to \"{comment_post_title}\" by {comment_author} "
890
  "({comment_author_email})"
891
  msgstr ""
892
 
893
- #: loggers/SimpleCommentsLogger.php:131
894
  msgctxt "A comment was restored from the trash"
895
  msgid ""
896
  "Restored a comment to \"{comment_post_title}\" by {comment_author} "
897
  "({comment_author_email}) from the trash"
898
  msgstr ""
899
 
900
- #: loggers/SimpleCommentsLogger.php:137
901
  msgctxt "A comment was deleted"
902
  msgid ""
903
  "Deleted a comment to \"{comment_post_title}\" by {comment_author} "
904
  "({comment_author_email})"
905
  msgstr ""
906
 
907
- #: loggers/SimpleCommentsLogger.php:143
908
  msgctxt "A comment was edited"
909
  msgid ""
910
  "Edited a comment to \"{comment_post_title}\" by {comment_author} "
911
  "({comment_author_email})"
912
  msgstr ""
913
 
914
- #: loggers/SimpleCommentsLogger.php:150
915
  msgctxt "A trackback was added to the database by a non-logged in internet user"
916
  msgid "Added a trackback to {comment_post_type} \"{comment_post_title}\""
917
  msgstr ""
918
 
919
- #: loggers/SimpleCommentsLogger.php:205
920
  msgctxt "A trackback was added to the database by a non-logged in internet user"
921
  msgid "Added a pingback to {comment_post_type} \"{comment_post_title}\""
922
  msgstr ""
923
 
924
- #: loggers/SimpleCommentsLogger.php:156
925
  msgctxt "A trackback was added to the database by a logged in user"
926
  msgid "Added a trackback to {comment_post_type} \"{comment_post_title}\""
927
  msgstr ""
928
 
929
- #: loggers/SimpleCommentsLogger.php:162
930
  msgctxt "A trackback was approved"
931
  msgid ""
932
  "Approved a trackback to \"{comment_post_title}\" by {comment_author} "
933
  "({comment_author_email})"
934
  msgstr ""
935
 
936
- #: loggers/SimpleCommentsLogger.php:168
937
  msgctxt "A trackback was was unapproved"
938
  msgid ""
939
  "Unapproved a trackback to \"{comment_post_title}\" by {comment_author} "
940
  "({comment_author_email})"
941
  msgstr ""
942
 
943
- #: loggers/SimpleCommentsLogger.php:174
944
  msgctxt "A trackback was marked as spam"
945
  msgid "Marked a trackback to post \"{comment_post_title}\" as spam"
946
  msgstr ""
947
 
948
- #: loggers/SimpleCommentsLogger.php:180
949
  msgctxt "A trackback was marked moved to the trash"
950
  msgid ""
951
  "Trashed a trackback to \"{comment_post_title}\" by {comment_author} "
952
  "({comment_author_email})"
953
  msgstr ""
954
 
955
- #: loggers/SimpleCommentsLogger.php:186
956
  msgctxt "A trackback was restored from the trash"
957
  msgid ""
958
  "Restored a trackback to \"{comment_post_title}\" by {comment_author} "
959
  "({comment_author_email}) from the trash"
960
  msgstr ""
961
 
962
- #: loggers/SimpleCommentsLogger.php:192
963
  msgctxt "A trackback was deleted"
964
  msgid ""
965
  "Deleted a trackback to \"{comment_post_title}\" by {comment_author} "
966
  "({comment_author_email})"
967
  msgstr ""
968
 
969
- #: loggers/SimpleCommentsLogger.php:198
970
  msgctxt "A trackback was edited"
971
  msgid ""
972
  "Edited a trackback to \"{comment_post_title}\" by {comment_author} "
973
  "({comment_author_email})"
974
  msgstr ""
975
 
976
- #: loggers/SimpleCommentsLogger.php:211
977
  msgctxt "A pingback was added to the database by a logged in user"
978
  msgid "Added a pingback to {comment_post_type} \"{comment_post_title}\""
979
  msgstr ""
980
 
981
- #: loggers/SimpleCommentsLogger.php:217
982
  msgctxt "A pingback was approved"
983
  msgid ""
984
  "Approved a pingback to \"{comment_post_title}\" by \"{comment_author}\"\" "
985
  "({comment_author_email})"
986
  msgstr ""
987
 
988
- #: loggers/SimpleCommentsLogger.php:223
989
  msgctxt "A pingback was was unapproved"
990
  msgid ""
991
  "Unapproved a pingback to \"{comment_post_title}\" by \"{comment_author}\" "
992
  "({comment_author_email})"
993
  msgstr ""
994
 
995
- #: loggers/SimpleCommentsLogger.php:229
996
  msgctxt "A pingback was marked as spam"
997
  msgid "Marked a pingback to post \"{comment_post_title}\" as spam"
998
  msgstr ""
999
 
1000
- #: loggers/SimpleCommentsLogger.php:235
1001
  msgctxt "A pingback was marked moved to the trash"
1002
  msgid ""
1003
  "Trashed a pingback to \"{comment_post_title}\" by {comment_author} "
1004
  "({comment_author_email})"
1005
  msgstr ""
1006
 
1007
- #: loggers/SimpleCommentsLogger.php:241
1008
  msgctxt "A pingback was restored from the trash"
1009
  msgid ""
1010
  "Restored a pingback to \"{comment_post_title}\" by {comment_author} "
1011
  "({comment_author_email}) from the trash"
1012
  msgstr ""
1013
 
1014
- #: loggers/SimpleCommentsLogger.php:247
1015
  msgctxt "A pingback was deleted"
1016
  msgid ""
1017
  "Deleted a pingback to \"{comment_post_title}\" by {comment_author} "
1018
  "({comment_author_email})"
1019
  msgstr ""
1020
 
1021
- #: loggers/SimpleCommentsLogger.php:253
1022
  msgctxt "A pingback was edited"
1023
  msgid ""
1024
  "Edited a pingback to \"{comment_post_title}\" by {comment_author} "
1025
  "({comment_author_email})"
1026
  msgstr ""
1027
 
1028
- #: loggers/SimpleCommentsLogger.php:264
1029
  msgctxt "Comments logger: search"
1030
  msgid "Comments"
1031
  msgstr ""
1032
 
1033
- #: loggers/SimpleCommentsLogger.php:265
1034
  msgctxt "Comments logger: search"
1035
  msgid "All comments activity"
1036
  msgstr ""
1037
 
1038
- #: loggers/SimpleCommentsLogger.php:267
1039
  msgctxt "Comments logger: search"
1040
  msgid "Added comments"
1041
  msgstr ""
1042
 
1043
- #: loggers/SimpleCommentsLogger.php:275
1044
  msgctxt "Comments logger: search"
1045
  msgid "Edited comments"
1046
  msgstr ""
1047
 
1048
- #: loggers/SimpleCommentsLogger.php:280
1049
  msgctxt "Comments logger: search"
1050
  msgid "Approved comments"
1051
  msgstr ""
1052
 
1053
- #: loggers/SimpleCommentsLogger.php:285
1054
  msgctxt "Comments logger: search"
1055
  msgid "Held comments"
1056
  msgstr ""
1057
 
1058
- #: loggers/SimpleCommentsLogger.php:290
1059
  msgctxt "Comments logger: search"
1060
  msgid "Comments status changed to spam"
1061
  msgstr ""
1062
 
1063
- #: loggers/SimpleCommentsLogger.php:295
1064
  msgctxt "Comments logger: search"
1065
  msgid "Trashed comments"
1066
  msgstr ""
1067
 
1068
- #: loggers/SimpleCommentsLogger.php:300
1069
  msgctxt "Comments logger: search"
1070
  msgid "Untrashed comments"
1071
  msgstr ""
1072
 
1073
- #: loggers/SimpleCommentsLogger.php:305
1074
  msgctxt "Comments logger: search"
1075
  msgid "Deleted comments"
1076
  msgstr ""
1077
 
1078
- #: loggers/SimpleCommentsLogger.php:602 loggers/SimpleCommentsLogger.php:615
1079
- #: loggers/SimpleCommentsLogger.php:629
1080
  msgctxt "comments logger - detailed output comment status"
1081
  msgid "Status"
1082
  msgstr ""
1083
 
1084
- #: loggers/SimpleCommentsLogger.php:604 loggers/SimpleCommentsLogger.php:617
1085
- #: loggers/SimpleCommentsLogger.php:631
1086
  msgctxt "comments logger - detailed output author"
1087
  msgid "Name"
1088
  msgstr ""
1089
 
1090
- #: loggers/SimpleCommentsLogger.php:605 loggers/SimpleCommentsLogger.php:618
1091
- #: loggers/SimpleCommentsLogger.php:632
1092
  msgctxt "comments logger - detailed output email"
1093
  msgid "Email"
1094
  msgstr ""
1095
 
1096
- #: loggers/SimpleCommentsLogger.php:606 loggers/SimpleCommentsLogger.php:619
1097
  msgctxt "comments logger - detailed output content"
1098
  msgid "Content"
1099
  msgstr ""
1100
 
1101
- #: loggers/SimpleCommentsLogger.php:633
1102
  msgctxt "comments logger - detailed output content"
1103
  msgid "Comment"
1104
  msgstr ""
1105
 
1106
- #: loggers/SimpleCommentsLogger.php:759
1107
  msgctxt "comments logger - edit comment"
1108
  msgid "View/Edit"
1109
  msgstr ""
1110
 
1111
- #: loggers/SimpleCoreUpdatesLogger.php:34
1112
  msgctxt "User logger: search"
1113
  msgid "WordPress Core"
1114
  msgstr ""
1115
 
1116
- #: loggers/SimpleCoreUpdatesLogger.php:36
1117
  msgctxt "User logger: search"
1118
  msgid "WordPress core updates"
1119
  msgstr ""
1120
 
1121
- #: loggers/SimpleUserLogger.php:54
1122
  msgctxt "User logger: search"
1123
  msgid "Users"
1124
  msgstr ""
1125
 
1126
- #: loggers/SimpleUserLogger.php:55
1127
  msgctxt "User logger: search"
1128
  msgid "All user activity"
1129
  msgstr ""
1130
 
1131
- #: loggers/SimpleUserLogger.php:57
1132
  msgctxt "User logger: search"
1133
  msgid "Successful user logins"
1134
  msgstr ""
1135
 
1136
- #: loggers/SimpleUserLogger.php:61
1137
  msgctxt "User logger: search"
1138
  msgid "Failed user logins"
1139
  msgstr ""
1140
 
1141
- #: loggers/SimpleUserLogger.php:65
1142
  msgctxt "User logger: search"
1143
  msgid "User logouts"
1144
  msgstr ""
1145
 
1146
- #: loggers/SimpleUserLogger.php:68
1147
  msgctxt "User logger: search"
1148
  msgid "Created users"
1149
  msgstr ""
1150
 
1151
- #: loggers/SimpleUserLogger.php:71
1152
  msgctxt "User logger: search"
1153
  msgid "User profile updates"
1154
  msgstr ""
1155
 
1156
- #: loggers/SimpleUserLogger.php:74
1157
  msgctxt "User logger: search"
1158
  msgid "User deletions"
1159
  msgstr ""
1160
 
1161
- #: loggers/SimpleExportLogger.php:27
1162
  msgctxt "Export logger: search"
1163
  msgid "Export"
1164
  msgstr ""
1165
 
1166
- #: loggers/SimpleExportLogger.php:29
1167
  msgctxt "Export logger: search"
1168
  msgid "Created exports"
1169
  msgstr ""
1170
 
1171
- #: loggers/SimpleLogger.php:194
1172
  msgctxt "header output when initiator is the currently logged in user"
1173
  msgid "You"
1174
  msgstr ""
1175
 
1176
- #: loggers/SimpleMediaLogger.php:29
1177
  msgctxt "Media logger: search"
1178
  msgid "Media"
1179
  msgstr ""
1180
 
1181
- #: loggers/SimpleMediaLogger.php:31
1182
  msgctxt "Media logger: search"
1183
  msgid "Added media"
1184
  msgstr ""
1185
 
1186
- #: loggers/SimpleMediaLogger.php:34
1187
  msgctxt "Media logger: search"
1188
  msgid "Updated media"
1189
  msgstr ""
1190
 
1191
- #: loggers/SimpleMediaLogger.php:37
1192
  msgctxt "Media logger: search"
1193
  msgid "Deleted media"
1194
  msgstr ""
1195
 
1196
- #: loggers/SimpleMenuLogger.php:31
1197
  msgctxt "Menu logger: search"
1198
  msgid "Menus"
1199
  msgstr ""
1200
 
1201
- #: loggers/SimpleMenuLogger.php:33
1202
  msgctxt "Menu updates logger: search"
1203
  msgid "Created menus"
1204
  msgstr ""
1205
 
1206
- #: loggers/SimpleMenuLogger.php:36
1207
  msgctxt "Menu updates logger: search"
1208
  msgid "Edited menus"
1209
  msgstr ""
1210
 
1211
- #: loggers/SimpleMenuLogger.php:41
1212
  msgctxt "Menu updates logger: search"
1213
  msgid "Deleted menus"
1214
  msgstr ""
1215
 
1216
- #: loggers/SimpleMenuLogger.php:326
1217
  msgctxt "menu logger"
1218
  msgid "%1$s menu item added"
1219
  msgid_plural "%1$s menu items added"
1220
  msgstr[0] ""
1221
  msgstr[1] ""
1222
 
1223
- #: loggers/SimpleMenuLogger.php:333
1224
  msgctxt "menu logger"
1225
  msgid "%1$s menu item removed"
1226
  msgid_plural "%1$s menu items removed"
1227
  msgstr[0] ""
1228
  msgstr[1] ""
1229
 
1230
- #: loggers/SimpleOptionsLogger.php:153
1231
  msgctxt "Options logger: search"
1232
  msgid "Options"
1233
  msgstr ""
1234
 
1235
- #: loggers/SimpleOptionsLogger.php:155
1236
  msgctxt "Options logger: search"
1237
  msgid "Changed options"
1238
  msgstr ""
1239
 
1240
- #: loggers/SimplePluginLogger.php:25
1241
  msgctxt "Plugin was non-silently activated by a user"
1242
  msgid "Activated plugin \"{plugin_name}\""
1243
  msgstr ""
1244
 
1245
- #: loggers/SimplePluginLogger.php:31
1246
  msgctxt "Plugin was non-silently deactivated by a user"
1247
  msgid "Deactivated plugin \"{plugin_name}\""
1248
  msgstr ""
1249
 
1250
- #: loggers/SimplePluginLogger.php:37
1251
  msgctxt "Plugin was installed"
1252
  msgid "Installed plugin \"{plugin_name}\""
1253
  msgstr ""
1254
 
1255
- #: loggers/SimplePluginLogger.php:43
1256
  msgctxt "Plugin failed to install"
1257
  msgid "Failed to install plugin \"{plugin_name}\""
1258
  msgstr ""
1259
 
1260
- #: loggers/SimplePluginLogger.php:49
1261
  msgctxt "Plugin was updated"
1262
  msgid ""
1263
  "Updated plugin \"{plugin_name}\" to version {plugin_version} from "
1264
  "{plugin_prev_version}"
1265
  msgstr ""
1266
 
1267
- #: loggers/SimplePluginLogger.php:55
1268
  msgctxt "Plugin update failed"
1269
  msgid "Updated plugin \"{plugin_name}\""
1270
  msgstr ""
1271
 
1272
- #: loggers/SimplePluginLogger.php:61
1273
  msgctxt "Plugin file edited"
1274
  msgid "Edited plugin file \"{plugin_edited_file}\""
1275
  msgstr ""
1276
 
1277
- #: loggers/SimplePluginLogger.php:67
1278
  msgctxt "Plugin files was deleted"
1279
  msgid "Deleted plugin \"{plugin_name}\""
1280
  msgstr ""
1281
 
1282
- #: loggers/SimplePluginLogger.php:74
1283
  msgctxt "Plugin was updated in bulk"
1284
  msgid ""
1285
  "Updated plugin \"{plugin_name}\" to {plugin_version} from "
1286
  "{plugin_prev_version}"
1287
  msgstr ""
1288
 
1289
- #: loggers/SimplePluginLogger.php:82
1290
  msgctxt "Plugin logger: search"
1291
  msgid "Plugins"
1292
  msgstr ""
1293
 
1294
- #: loggers/SimplePluginLogger.php:84
1295
  msgctxt "Plugin logger: search"
1296
  msgid "Activated plugins"
1297
  msgstr ""
1298
 
1299
- #: loggers/SimplePluginLogger.php:87
1300
  msgctxt "Plugin logger: search"
1301
  msgid "Deactivated plugins"
1302
  msgstr ""
1303
 
1304
- #: loggers/SimplePluginLogger.php:90
1305
  msgctxt "Plugin logger: search"
1306
  msgid "Installed plugins"
1307
  msgstr ""
1308
 
1309
- #: loggers/SimplePluginLogger.php:93
1310
  msgctxt "Plugin logger: search"
1311
  msgid "Failed plugin installs"
1312
  msgstr ""
1313
 
1314
- #: loggers/SimplePluginLogger.php:96
1315
  msgctxt "Plugin logger: search"
1316
  msgid "Updated plugins"
1317
  msgstr ""
1318
 
1319
- #: loggers/SimplePluginLogger.php:100
1320
  msgctxt "Plugin logger: search"
1321
  msgid "Failed plugin updates"
1322
  msgstr ""
1323
 
1324
- #: loggers/SimplePluginLogger.php:103
1325
  msgctxt "Plugin logger: search"
1326
  msgid "Edited plugin files"
1327
  msgstr ""
1328
 
1329
- #: loggers/SimplePluginLogger.php:106
1330
  msgctxt "Plugin logger: search"
1331
  msgid "Deleted plugins"
1332
  msgstr ""
1333
 
1334
- #: loggers/SimplePluginLogger.php:891
 
 
 
 
 
 
 
 
 
 
1335
  msgctxt "plugin logger - detailed output version"
1336
  msgid "Version"
1337
  msgstr ""
1338
 
1339
- #: loggers/SimplePluginLogger.php:893
1340
  msgctxt "plugin logger - detailed output author"
1341
  msgid "Author"
1342
  msgstr ""
1343
 
1344
- #: loggers/SimplePluginLogger.php:895
1345
- msgctxt "plugin logger - detailed output author"
1346
- msgid "Requires"
1347
- msgstr ""
1348
-
1349
- #: loggers/SimplePluginLogger.php:894
1350
  msgctxt "plugin logger - detailed output url"
1351
  msgid "URL"
1352
  msgstr ""
1353
 
1354
- #: loggers/SimplePluginLogger.php:896
1355
- msgctxt "plugin logger - detailed output compatible"
1356
- msgid "Compatible up to"
1357
- msgstr ""
1358
-
1359
- #: loggers/SimplePluginLogger.php:897
1360
- msgctxt "plugin logger - detailed output downloaded"
1361
- msgid "Downloads"
1362
- msgstr ""
1363
-
1364
- #: loggers/SimplePluginLogger.php:957
1365
  msgctxt "plugin logger: plugin info thickbox title view all info"
1366
  msgid "View plugin info"
1367
  msgstr ""
1368
 
1369
- #: loggers/SimplePluginLogger.php:972
1370
  msgctxt "plugin logger: plugin info thickbox title"
1371
  msgid "View plugin info"
1372
  msgstr ""
1373
 
1374
- #: loggers/SimplePluginLogger.php:976
1375
  msgctxt "plugin logger: plugin info thickbox title"
1376
  msgid "View changelog"
1377
  msgstr ""
1378
 
1379
- #: loggers/SimplePostLogger.php:190
1380
  msgctxt "Post logger: search"
1381
  msgid "Posts & Pages"
1382
  msgstr ""
1383
 
1384
- #: loggers/SimplePostLogger.php:192
1385
  msgctxt "Post logger: search"
1386
  msgid "Posts created"
1387
  msgstr ""
1388
 
1389
- #: loggers/SimplePostLogger.php:195
1390
  msgctxt "Post logger: search"
1391
  msgid "Posts updated"
1392
  msgstr ""
1393
 
1394
- #: loggers/SimplePostLogger.php:198
1395
  msgctxt "Post logger: search"
1396
  msgid "Posts trashed"
1397
  msgstr ""
1398
 
1399
- #: loggers/SimplePostLogger.php:201
1400
  msgctxt "Post logger: search"
1401
  msgid "Posts deleted"
1402
  msgstr ""
1403
 
1404
- #: loggers/SimplePostLogger.php:204
1405
  msgctxt "Post logger: search"
1406
  msgid "Posts restored"
1407
  msgstr ""
1408
 
1409
- #: loggers/SimpleThemeLogger.php:36
1410
  msgctxt "Theme logger: search"
1411
  msgid "Themes & Widgets"
1412
  msgstr ""
1413
 
1414
- #: loggers/SimpleThemeLogger.php:38
1415
  msgctxt "Theme logger: search"
1416
  msgid "Switched themes"
1417
  msgstr ""
1418
 
1419
- #: loggers/SimpleThemeLogger.php:41
1420
  msgctxt "Theme logger: search"
1421
  msgid "Changed appearance of themes"
1422
  msgstr ""
1423
 
1424
- #: loggers/SimpleThemeLogger.php:44
1425
  msgctxt "Theme logger: search"
1426
  msgid "Added widgets"
1427
  msgstr ""
1428
 
1429
- #: loggers/SimpleThemeLogger.php:47
1430
  msgctxt "Theme logger: search"
1431
  msgid "Removed widgets"
1432
  msgstr ""
1433
 
1434
- #: loggers/SimpleThemeLogger.php:50
1435
  msgctxt "Theme logger: search"
1436
  msgid "Changed widgets order"
1437
  msgstr ""
1438
 
1439
- #: loggers/SimpleThemeLogger.php:53
1440
  msgctxt "Theme logger: search"
1441
  msgid "Edited widgets"
1442
  msgstr ""
1443
 
1444
- #: loggers/SimpleThemeLogger.php:56
1445
  msgctxt "Theme logger: search"
1446
  msgid "Background of themes changed"
1447
  msgstr ""
1448
 
1449
- #: loggers/SimpleUserLogger.php:36
1450
  msgctxt "User destroys other login sessions for themself"
1451
  msgid "Logged out from all other sessions"
1452
  msgstr ""
1453
 
1454
- #: loggers/SimpleUserLogger.php:45
1455
  msgctxt "User destroys all login sessions for a user"
1456
  msgid "Logged out \"{user_display_name}\" from all sessions"
1457
  msgstr ""
1458
 
1459
- #: templates/settings-statsRowsPerDay.php:36
1460
  msgctxt "stats: date in rows per day chart"
1461
  msgid "M j"
1462
  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.24\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
7
+ "POT-Creation-Date: 2015-03-29 13:33:45+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
+ #: dropins/SimpleHistoryDonateDropin.php:38
28
  msgid "Donate"
29
  msgstr ""
30
 
31
+ #: dropins/SimpleHistoryDonateDropin.php:74
32
  msgid ""
33
  "If you find Simple History useful please <a href=\"%1$s\">donate</a> or <a "
34
  "href=\"%2$s\">buy me something from my Amazon wish list</a>."
35
  msgstr ""
36
 
37
+ #: dropins/SimpleHistoryFilterDropin.php:46
38
  msgid "Filter history"
39
  msgstr ""
40
 
41
+ #: dropins/SimpleHistoryFilterDropin.php:50
42
+ #: dropins/SimpleHistoryFilterDropin.php:161
43
  msgid "Search events"
44
  msgstr ""
45
 
46
+ #: dropins/SimpleHistoryFilterDropin.php:58
47
  msgid "All log levels"
48
  msgstr ""
49
 
50
+ #: dropins/SimpleHistoryFilterDropin.php:72
51
  msgid "All messages"
52
  msgstr ""
53
 
54
+ #: dropins/SimpleHistoryFilterDropin.php:126
55
  msgid "All users"
56
  msgstr ""
57
 
58
+ #: dropins/SimpleHistoryFilterDropin.php:147
59
  msgid "All dates"
60
  msgstr ""
61
 
62
+ #: dropins/SimpleHistoryFilterDropin.php:170
63
  msgid "Search"
64
  msgstr ""
65
 
66
+ #: dropins/SimpleHistoryNewRowsNotifier.php:82
67
+ msgid "1 new event"
68
+ msgid_plural "%d new events"
69
  msgstr[0] ""
70
  msgstr[1] ""
71
 
72
+ #: dropins/SimpleHistoryRSSDropin.php:57
73
  msgid "Address"
74
  msgstr ""
75
 
76
+ #: dropins/SimpleHistoryRSSDropin.php:66
77
  msgid "Regenerate"
78
  msgstr ""
79
 
80
+ #: dropins/SimpleHistoryRSSDropin.php:83
81
  msgid "Created new secret RSS address"
82
  msgstr ""
83
 
84
+ #: dropins/SimpleHistoryRSSDropin.php:150
85
+ #: dropins/SimpleHistoryRSSDropin.php:277
86
  msgid "History for %s"
87
  msgstr ""
88
 
89
+ #: dropins/SimpleHistoryRSSDropin.php:151
90
+ #: dropins/SimpleHistoryRSSDropin.php:278
91
  msgid "WordPress History for %s"
92
  msgstr ""
93
 
94
+ #: dropins/SimpleHistoryRSSDropin.php:201
95
  msgid "Severity level: %1$s"
96
  msgstr ""
97
 
98
+ #: dropins/SimpleHistoryRSSDropin.php:214
99
  msgid "+%1$s occasion"
100
  msgid_plural "+%1$s occasions"
101
  msgstr[0] ""
102
  msgstr[1] ""
103
 
104
+ #: dropins/SimpleHistoryRSSDropin.php:281
105
  msgid "Wrong RSS secret"
106
  msgstr ""
107
 
108
+ #: dropins/SimpleHistoryRSSDropin.php:282
109
  msgid ""
110
  "Your RSS secret for Simple History RSS feed is wrong. Please see WordPress "
111
  "settings for current link to the RSS feed."
112
  msgstr ""
113
 
114
+ #: dropins/SimpleHistoryRSSDropin.php:333
115
  msgid ""
116
  "You can generate a new address for the RSS feed. This is useful if you "
117
  "think that the address has fallen into the wrong hands."
118
  msgstr ""
119
 
120
+ #: dropins/SimpleHistoryRSSDropin.php:336
121
  msgid "Generate new address"
122
  msgstr ""
123
 
124
+ #: dropins/SimpleHistoryRSSDropin.php:364
125
  msgid ""
126
  "Simple History has a RSS feed which you can subscribe to and receive log "
127
  "updates. Make sure you only share the feed with people you trust, since it "
128
  "can contain sensitive or confidential information."
129
  msgstr ""
130
 
131
+ #: dropins/SimpleHistorySettingsLogtestDropin.php:22
132
  msgid "Test data (debug)"
133
  msgstr ""
134
 
135
+ #: dropins/SimpleHistorySettingsLogtestDropin.php:227
136
  msgid "Plugin"
137
  msgstr ""
138
 
139
+ #: dropins/SimpleHistorySettingsLogtestDropin.php:228
140
  msgid "Enter title of new page"
141
  msgstr ""
142
 
143
+ #: dropins/SimpleHistorySettingsStatsDropin.php:29
144
  msgid "Stats"
145
  msgstr ""
146
 
147
+ #: dropins/SimpleHistorySidebarDropin.php:162 loggers/SimpleLogger.php:305
148
  msgid "Just now"
149
  msgstr ""
150
 
151
+ #: inc/SimpleHistory.php:538 inc/SimpleHistory.php:829
152
  msgid "Settings"
153
  msgstr ""
154
 
155
+ #: inc/SimpleHistory.php:549
156
  msgid "Log (debug)"
157
  msgstr ""
158
 
159
+ #: inc/SimpleHistory.php:554
160
  msgid "Styles example (debug)"
161
  msgstr ""
162
 
163
+ #: inc/SimpleHistory.php:854
164
+ #. #-#-#-#-# Simple-History.pot (Simple History 2.0.24) #-#-#-#-#
165
  #. Plugin Name of the plugin/theme
166
  msgid "Simple History"
167
  msgstr ""
168
 
169
+ #: inc/SimpleHistory.php:932
170
  msgid "Remove all log items?"
171
  msgstr ""
172
 
173
+ #: inc/SimpleHistory.php:934
174
  msgid "Go to the first page"
175
  msgstr ""
176
 
177
+ #: inc/SimpleHistory.php:935
178
  msgid "Go to the previous page"
179
  msgstr ""
180
 
181
+ #: inc/SimpleHistory.php:936
182
  msgid "Go to the next page"
183
  msgstr ""
184
 
185
+ #: inc/SimpleHistory.php:937
186
  msgid "Go to the last page"
187
  msgstr ""
188
 
189
+ #: inc/SimpleHistory.php:938
190
  msgid "Current page"
191
  msgstr ""
192
 
193
+ #: inc/SimpleHistory.php:940
194
  msgid "Oups, the log could not be loaded right now."
195
  msgstr ""
196
 
197
+ #: inc/SimpleHistory.php:941
198
  msgid "Your search did not match any history events."
199
  msgstr ""
200
 
201
+ #: inc/SimpleHistory.php:1225 inc/SimpleHistory.php:1340
202
  msgid "Simple History Settings"
203
  msgstr ""
204
 
205
+ #: inc/SimpleHistory.php:1259
206
  msgid "No valid callback found"
207
  msgstr ""
208
 
209
+ #: inc/SimpleHistory.php:1361
210
  msgid "Cleared database"
211
  msgstr ""
212
 
213
+ #: inc/SimpleHistory.php:1388
214
  msgid "Show history"
215
  msgstr ""
216
 
217
+ #: inc/SimpleHistory.php:1401
218
  msgid "Number of items per page"
219
  msgstr ""
220
 
221
+ #: inc/SimpleHistory.php:1413
222
  msgid "Clear log"
223
  msgstr ""
224
 
225
+ #: inc/SimpleHistory.php:1552
226
  msgid "on the dashboard"
227
  msgstr ""
228
 
229
+ #: inc/SimpleHistory.php:1557
230
  msgid "as a page under the dashboard menu"
231
  msgstr ""
232
 
233
+ #: inc/SimpleHistory.php:1573
234
  msgid "Items in the database are automatically removed after %1$s days."
235
  msgstr ""
236
 
237
+ #: inc/SimpleHistory.php:1575
238
  msgid "Items in the database are kept forever."
239
  msgstr ""
240
 
241
+ #: inc/SimpleHistory.php:1579
242
  msgid "Clear log now"
243
  msgstr ""
244
 
245
+ #: inc/SimpleHistory.php:1629
246
  msgid "The log for Simple History was cleared ({num_rows} rows were removed)."
247
  msgstr ""
248
 
249
+ #: inc/SimpleHistory.php:1893
250
  msgid "+%1$s similar event"
251
  msgid_plural "+%1$s similar events"
252
  msgstr[0] ""
253
  msgstr[1] ""
254
 
255
+ #: inc/SimpleHistory.php:1900
256
  msgid "Loading…"
257
  msgstr ""
258
 
259
+ #: inc/SimpleHistory.php:1907
260
  msgid "Showing %1$s more"
261
  msgstr ""
262
 
263
+ #: inc/SimpleHistory.php:1935
264
  msgid "Context data"
265
  msgstr ""
266
 
267
+ #: inc/SimpleHistory.php:1936
268
  msgid "This is potentially useful meta data that a logger has saved."
269
  msgstr ""
270
 
271
+ #: inc/SimpleHistory.php:2456
272
  msgid "No events today so far."
273
  msgstr ""
274
 
275
+ #: inc/SimpleHistory.php:2475
276
  msgid "One event today from one user."
277
  msgstr ""
278
 
279
+ #: inc/SimpleHistory.php:2481
280
  msgid "One event today from one source."
281
  msgstr ""
282
 
283
+ #: inc/SimpleHistory.php:2487
284
  msgid "%1$d events today from one user."
285
  msgstr ""
286
 
287
+ #: inc/SimpleHistory.php:2493
288
  msgid "%1$d events today from %2$d users."
289
  msgstr ""
290
 
291
+ #: inc/SimpleHistory.php:2499 inc/SimpleHistory.php:2505
292
  msgid "%1$d events today from one user and one other source."
293
  msgstr ""
294
 
295
+ #: inc/SimpleHistory.php:2511
296
  msgid "%1$d events today from one user and %3$d other sources."
297
  msgstr ""
298
 
299
+ #: inc/SimpleHistory.php:2517
300
  msgid "%1$s events today from %2$d users and %3$d other sources."
301
  msgstr ""
302
 
306
  "least PHP 5.3 installed (you have version %s)."
307
  msgstr ""
308
 
309
+ #: loggers/SimpleCommentsLogger.php:689
310
  msgid "Spam"
311
  msgstr ""
312
 
313
+ #: loggers/SimpleCommentsLogger.php:691
314
  msgid "Approved"
315
  msgstr ""
316
 
317
+ #: loggers/SimpleCommentsLogger.php:693
318
  msgid "Pending"
319
  msgstr ""
320
 
321
+ #: loggers/SimpleCommentsLogger.php:707
322
  msgid "Trackback"
323
  msgstr ""
324
 
325
+ #: loggers/SimpleCommentsLogger.php:709
326
  msgid "Pingback"
327
  msgstr ""
328
 
329
+ #: loggers/SimpleCommentsLogger.php:711
330
  msgid "Comment"
331
  msgstr ""
332
 
333
+ #: loggers/SimpleCoreUpdatesLogger.php:31
334
+ msgid "Updated WordPress to {new_version} from {prev_version}"
335
  msgstr ""
336
 
337
+ #: loggers/SimpleCoreUpdatesLogger.php:32
338
  msgid "WordPress auto-updated to {new_version} from {prev_version}"
339
  msgstr ""
340
 
341
+ #: loggers/SimpleExportLogger.php:25
342
  msgid "Created XML export"
343
  msgstr ""
344
 
345
+ #: loggers/SimpleLegacyLogger.php:90
346
  msgid "By %s"
347
  msgstr ""
348
 
349
+ #: loggers/SimpleLegacyLogger.php:95
350
  msgid "%d occasions"
351
  msgstr ""
352
 
353
+ #: loggers/SimpleLogger.php:212
354
  msgid "Deleted user (had id %1$s, email %2$s, login %3$s)"
355
  msgstr ""
356
 
357
+ #: loggers/SimpleLogger.php:227
358
  msgid "Anonymous web user"
359
  msgstr ""
360
 
361
+ #: loggers/SimpleLogger.php:235
362
  msgid "Anonymous user from %1$s"
363
  msgstr ""
364
 
365
+ #: loggers/SimpleLogger.php:310
366
  #. translators: Date format for log row header, see http:php.net/date
367
  msgid "M j, Y \\a\\t G:i"
368
  msgstr ""
369
 
370
+ #: loggers/SimpleLogger.php:318
371
  #. translators: 1: last modified date and time in human time diff-format
372
  msgid "%1$s ago"
373
  msgstr ""
374
 
375
+ #: loggers/SimpleMediaLogger.php:25
376
  msgid "Created {post_type} \"{attachment_title}\""
377
  msgstr ""
378
 
379
+ #: loggers/SimpleMediaLogger.php:26
380
  msgid "Edited {post_type} \"{attachment_title}\""
381
  msgstr ""
382
 
383
+ #: loggers/SimpleMediaLogger.php:27
384
  msgid "Deleted {post_type} \"{attachment_title}\" (\"{attachment_filename}\")"
385
  msgstr ""
386
 
387
+ #: loggers/SimpleMediaLogger.php:121
388
  msgid "Edited {post_type} <a href=\"{edit_link}\">\"{attachment_title}\"</a>"
389
  msgstr ""
390
 
391
+ #: loggers/SimpleMediaLogger.php:125
392
  msgid "Uploaded {post_type} <a href=\"{edit_link}\">\"{attachment_title}\"</a>"
393
  msgstr ""
394
 
395
+ #: loggers/SimpleMediaLogger.php:237
396
  msgid "{attachment_thumb}"
397
  msgstr ""
398
 
399
+ #: loggers/SimpleMediaLogger.php:246
400
  msgid "{attachment_size_format}"
401
  msgstr ""
402
 
403
+ #: loggers/SimpleMediaLogger.php:247
404
  msgid "{attachment_filetype_extension}"
405
  msgstr ""
406
 
407
+ #: loggers/SimpleMediaLogger.php:249
408
  msgid "{full_image_width} × {full_image_height}"
409
  msgstr ""
410
 
411
+ #: loggers/SimpleMenuLogger.php:25
412
  msgid "Created menu \"{menu_name}\""
413
  msgstr ""
414
 
415
+ #: loggers/SimpleMenuLogger.php:26
416
  msgid "Edited menu \"{menu_name}\""
417
  msgstr ""
418
 
419
+ #: loggers/SimpleMenuLogger.php:27
420
  msgid "Deleted menu \"{menu_name}\""
421
  msgstr ""
422
 
423
+ #: loggers/SimpleMenuLogger.php:28
424
  msgid "Edited a menu item"
425
  msgstr ""
426
 
427
+ #: loggers/SimpleMenuLogger.php:29
428
  msgid "Updated menu locations"
429
  msgstr ""
430
 
431
+ #: loggers/SimpleOptionsLogger.php:142
432
  msgid "Updated option \"{option}\""
433
  msgstr ""
434
 
435
+ #: loggers/SimpleOptionsLogger.php:244 loggers/SimpleThemeLogger.php:571
436
  msgid "New value"
437
  msgstr ""
438
 
439
+ #: loggers/SimpleOptionsLogger.php:255 loggers/SimpleThemeLogger.php:583
440
  msgid "Old value"
441
  msgstr ""
442
 
443
+ #: loggers/SimpleOptionsLogger.php:270 loggers/SimpleOptionsLogger.php:287
444
  msgid "Settings page"
445
  msgstr ""
446
 
447
+ #: loggers/SimplePluginLogger.php:170
448
+ msgid "You don't have access to this page."
449
+ msgstr ""
450
+
451
+ #: loggers/SimplePluginLogger.php:176 loggers/SimplePluginLogger.php:181
452
+ msgid "Could not find GitHub repository."
453
+ msgstr ""
454
+
455
+ #: loggers/SimplePluginLogger.php:201
456
+ msgid ""
457
+ "<p>Viewing <code>readme</code> from repository <code><a target=\"_blank\" "
458
+ "href=\"%1$s\">%2$s</a></code>.</p>"
459
+ msgstr ""
460
+
461
+ #: loggers/SimplePluginLogger.php:274
462
  msgid "You do not have sufficient permissions to delete plugins for this site."
463
  msgstr ""
464
 
465
+ #: loggers/SimplePluginLogger.php:1120
466
+ msgid "WordPress Plugin Repository"
467
+ msgstr ""
468
+
469
+ #: loggers/SimplePluginLogger.php:1123
470
+ msgid "Uploaded ZIP archive"
471
+ msgstr ""
472
+
473
+ #: loggers/SimplePostLogger.php:184
474
  msgid "Created {post_type} \"{post_title}\""
475
  msgstr ""
476
 
477
+ #: loggers/SimplePostLogger.php:185
478
  msgid "Updated {post_type} \"{post_title}\""
479
  msgstr ""
480
 
481
+ #: loggers/SimplePostLogger.php:186
482
  msgid "Restored {post_type} \"{post_title}\" from trash"
483
  msgstr ""
484
 
485
+ #: loggers/SimplePostLogger.php:187 loggers/SimplePostLogger.php:456
486
  msgid "Deleted {post_type} \"{post_title}\""
487
  msgstr ""
488
 
489
+ #: loggers/SimplePostLogger.php:188
490
  msgid "Moved {post_type} \"{post_title}\" to the trash"
491
  msgstr ""
492
 
493
+ #: loggers/SimplePostLogger.php:452
494
  msgid "Updated {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a>"
495
  msgstr ""
496
 
497
+ #: loggers/SimplePostLogger.php:460
498
  msgid "Created {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a>"
499
  msgstr ""
500
 
501
+ #: loggers/SimplePostLogger.php:465
502
  msgid "Moved {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> to the trash"
503
  msgstr ""
504
 
505
+ #: loggers/SimpleThemeLogger.php:27
506
  msgid "Switched theme to \"{theme_name}\" from \"{prev_theme_name}\""
507
  msgstr ""
508
 
509
+ #: loggers/SimpleThemeLogger.php:28
510
  msgid "Customized theme appearance \"{setting_id}\""
511
  msgstr ""
512
 
513
+ #: loggers/SimpleThemeLogger.php:29
514
  msgid "Removed widget \"{widget_id_base}\" from sidebar \"{sidebar_id}\""
515
  msgstr ""
516
 
517
+ #: loggers/SimpleThemeLogger.php:30
518
  msgid "Added widget \"{widget_id_base}\" to sidebar \"{sidebar_id}\""
519
  msgstr ""
520
 
521
+ #: loggers/SimpleThemeLogger.php:31
522
  msgid "Changed widget order \"{widget_id_base}\" in sidebar \"{sidebar_id}\""
523
  msgstr ""
524
 
525
+ #: loggers/SimpleThemeLogger.php:32
526
  msgid "Changed widget \"{widget_id_base}\" in sidebar \"{sidebar_id}\""
527
  msgstr ""
528
 
529
+ #: loggers/SimpleThemeLogger.php:33
530
  msgid "Changed settings for the theme custom background"
531
  msgstr ""
532
 
533
+ #: loggers/SimpleThemeLogger.php:533
534
  msgid "Section"
535
  msgstr ""
536
 
537
+ #: loggers/SimpleUserLogger.php:24
538
  msgid ""
539
  "Failed to login to account with username \"{login_user_login}\" because an "
540
  "incorrect password was entered"
541
  msgstr ""
542
 
543
+ #: loggers/SimpleUserLogger.php:25
544
  msgid ""
545
  "Failed to login with username \"{failed_login_username}\" because no user "
546
  "with that username exists"
547
  msgstr ""
548
 
549
+ #: loggers/SimpleUserLogger.php:26
550
  msgid "Logged in"
551
  msgstr ""
552
 
553
+ #: loggers/SimpleUserLogger.php:27
554
  msgid "Unknown user logged in"
555
  msgstr ""
556
 
557
+ #: loggers/SimpleUserLogger.php:28
558
  msgid "Logged out"
559
  msgstr ""
560
 
561
+ #: loggers/SimpleUserLogger.php:29
562
  msgid "Edited the profile for user {edited_user_login} ({edited_user_email})"
563
  msgstr ""
564
 
565
+ #: loggers/SimpleUserLogger.php:30
566
  msgid ""
567
  "Created user {created_user_login} ({created_user_email}) with role "
568
  "{created_user_role}"
569
  msgstr ""
570
 
571
+ #: loggers/SimpleUserLogger.php:31
572
  msgid "Deleted user {deleted_user_login} ({deleted_user_email})"
573
  msgstr ""
574
 
575
+ #: loggers/SimpleUserLogger.php:229
576
  msgid "Edited <a href=\"{edit_profile_link}\">your profile</a>"
577
  msgstr ""
578
 
579
+ #: loggers/SimpleUserLogger.php:233
580
  msgid "Edited <a href=\"{edit_profile_link}\">their profile</a>"
581
  msgstr ""
582
 
583
+ #: loggers/SimpleUserLogger.php:242
584
  msgid "Edited your profile"
585
  msgstr ""
586
 
587
+ #: loggers/SimpleUserLogger.php:253
588
  msgid ""
589
  "Edited the profile for user <a "
590
  "href=\"{edit_profile_link}\">{edited_user_login} ({edited_user_email})</a>"
605
  msgid "String"
606
  msgstr ""
607
 
608
+ #: templates/settings-statsIntro.php:21
609
  msgid "<b>%1$s rows</b> have been logged the last <b>%2$s days</b>"
610
  msgstr ""
611
 
612
+ #: templates/settings-statsLogLevels.php:6
613
  msgid "Log levels"
614
  msgstr ""
615
 
616
+ #: templates/settings-statsLogLevels.php:8
617
  msgid "Number of rows logged for each log level."
618
  msgstr ""
619
 
620
+ #: templates/settings-statsLoggers.php:5
621
  msgid "Loggers"
622
  msgstr ""
623
 
624
+ #: templates/settings-statsRowsPerDay.php:6
625
  msgid "Rows per day"
626
  msgstr ""
627
 
628
+ #: templates/settings-statsUsers.php:7
629
  msgid "Users"
630
  msgstr ""
631
 
632
+ #: templates/settings-statsUsers.php:9
633
  msgid "Number of logged items for the 5 users with most logged rows."
634
  msgstr ""
635
 
636
+ #: templates/settings-statsUsers.php:10
637
  msgid "Deleted users are also included."
638
  msgstr ""
639
 
655
  msgid "http://simple-history.com/"
656
  msgstr ""
657
 
658
+ #: dropins/SimpleHistoryDonateDropin.php:53
659
  msgctxt "donate settings headline"
660
  msgid "Donate"
661
  msgstr ""
662
 
663
+ #: dropins/SimpleHistoryFilterDropin.php:52
664
  msgctxt "Filter dropin: button to show more search options"
665
  msgid "Show options"
666
  msgstr ""
667
 
668
+ #: dropins/SimpleHistoryFilterDropin.php:162
669
  msgctxt "Filter dropin: button to hide more search options"
670
  msgid "Hide options"
671
  msgstr ""
672
 
673
+ #: dropins/SimpleHistoryIpInfoDropin.php:68
674
  msgctxt "IP Info Dropin"
675
  msgid "That IP address does not seem like a public one."
676
  msgstr ""
677
 
678
+ #: dropins/SimpleHistoryIpInfoDropin.php:87
679
  msgctxt "IP Info Dropin"
680
  msgid "IP address"
681
  msgstr ""
682
 
683
+ #: dropins/SimpleHistoryIpInfoDropin.php:98
684
  msgctxt "IP Info Dropin"
685
  msgid "Hostname"
686
  msgstr ""
687
 
688
+ #: dropins/SimpleHistoryIpInfoDropin.php:109
689
+ #: dropins/SimpleHistoryIpInfoDropin.php:120
690
  msgctxt "IP Info Dropin"
691
  msgid "Network"
692
  msgstr ""
693
 
694
+ #: dropins/SimpleHistoryIpInfoDropin.php:131
695
  msgctxt "IP Info Dropin"
696
  msgid "City"
697
  msgstr ""
698
 
699
+ #: dropins/SimpleHistoryIpInfoDropin.php:142
700
  msgctxt "IP Info Dropin"
701
  msgid "Region"
702
  msgstr ""
703
 
704
+ #: dropins/SimpleHistoryIpInfoDropin.php:153
705
  msgctxt "IP Info Dropin"
706
  msgid "Country"
707
  msgstr ""
708
 
709
+ #: dropins/SimpleHistoryIpInfoDropin.php:164
710
  msgctxt "IP Info Dropin"
711
  msgid "IP info provided by %1$s ipinfo.io %2$s"
712
  msgstr ""
713
 
714
+ #: dropins/SimpleHistoryNewRowsNotifier.php:40
715
  msgctxt "New rows notifier: error while checking for new rows"
716
+ msgid "An error occured while checking for new events"
717
  msgstr ""
718
 
719
+ #: dropins/SimpleHistoryRSSDropin.php:49
720
  msgctxt "rss settings headline"
721
  msgid "RSS feed"
722
  msgstr ""
723
 
724
+ #: dropins/SimpleHistorySidebarDropin.php:34
725
  msgctxt "Sidebar box"
726
  msgid "Simple History is on GitHub"
727
  msgstr ""
728
 
729
+ #: dropins/SimpleHistorySidebarDropin.php:37
730
  msgctxt "Sidebar box"
731
  msgid ""
732
  "You can star, fork, or report issues with this plugin over at the <a "
733
  "href=\"%1$s\">GitHub page</a>."
734
  msgstr ""
735
 
736
+ #: dropins/SimpleHistorySidebarDropin.php:51
737
  msgctxt "Sidebar box"
738
  msgid "Donate to support development"
739
  msgstr ""
740
 
741
+ #: dropins/SimpleHistorySidebarDropin.php:54
742
  msgctxt "Sidebar box"
743
  msgid ""
744
  "If you like and use Simple History you should <a href=\"%1$s\">donate to "
745
  "keep this plugin free</a>."
746
  msgstr ""
747
 
748
+ #: dropins/SimpleHistorySidebarDropin.php:68
749
  msgctxt "Sidebar box"
750
  msgid "Review this plugin if you like it"
751
  msgstr ""
752
 
753
+ #: dropins/SimpleHistorySidebarDropin.php:71
754
  msgctxt "Sidebar box"
755
  msgid ""
756
  "If you like Simple History then please <a href=\"%1$s\">give it a nice "
757
  "review over at wordpress.org</a>."
758
  msgstr ""
759
 
760
+ #: dropins/SimpleHistorySidebarDropin.php:75
761
  msgctxt "Sidebar box"
762
  msgid ""
763
  "A good review will help new users find this plugin. And it will make the "
764
  "plugin author very happy :)"
765
  msgstr ""
766
 
767
+ #: inc/SimpleHistory.php:282
768
  msgctxt "Message visible while waiting for log to load from server the first time"
769
  msgid "Loading history..."
770
  msgstr ""
771
 
772
+ #: inc/SimpleHistory.php:319
773
  msgctxt "page n of n"
774
  msgid "of"
775
  msgstr ""
776
 
777
+ #: inc/SimpleHistory.php:390
778
  msgctxt "API: not enought arguments passed"
779
  msgid "Not enough args specified"
780
  msgstr ""
781
 
782
+ #: inc/SimpleHistory.php:1322
783
  msgctxt "dashboard menu name"
784
  msgid "Simple History"
785
  msgstr ""
786
 
787
+ #: inc/SimpleHistory.php:1449
788
  msgctxt "history page headline"
789
  msgid "Simple History"
790
  msgstr ""
791
 
792
+ #: inc/SimpleHistory.php:1717
793
  msgctxt "simple-history"
794
  msgid "Simple History removed one event that were older than {days} days"
795
  msgid_plural "Simple History removed {num_rows} events that were older than {days} days"
796
  msgstr[0] ""
797
  msgstr[1] ""
798
 
799
+ #: inc/SimpleHistory.php:2072
800
  msgctxt "Log level in gui"
801
  msgid "emergency"
802
  msgstr ""
803
 
804
+ #: inc/SimpleHistory.php:2076
805
  msgctxt "Log level in gui"
806
  msgid "alert"
807
  msgstr ""
808
 
809
+ #: inc/SimpleHistory.php:2080
810
  msgctxt "Log level in gui"
811
  msgid "critical"
812
  msgstr ""
813
 
814
+ #: inc/SimpleHistory.php:2084
815
  msgctxt "Log level in gui"
816
  msgid "error"
817
  msgstr ""
818
 
819
+ #: inc/SimpleHistory.php:2088
820
  msgctxt "Log level in gui"
821
  msgid "warning"
822
  msgstr ""
823
 
824
+ #: inc/SimpleHistory.php:2092
825
  msgctxt "Log level in gui"
826
  msgid "notice"
827
  msgstr ""
828
 
829
+ #: inc/SimpleHistory.php:2096
830
  msgctxt "Log level in gui"
831
  msgid "info"
832
  msgstr ""
833
 
834
+ #: inc/SimpleHistory.php:2100
835
  msgctxt "Log level in gui"
836
  msgid "debug"
837
  msgstr ""
838
 
839
+ #: inc/SimpleHistory.php:2105
840
  msgctxt "Log level in gui"
841
  msgid "Emergency"
842
  msgstr ""
843
 
844
+ #: inc/SimpleHistory.php:2109
845
  msgctxt "Log level in gui"
846
  msgid "Alert"
847
  msgstr ""
848
 
849
+ #: inc/SimpleHistory.php:2113
850
  msgctxt "Log level in gui"
851
  msgid "Critical"
852
  msgstr ""
853
 
854
+ #: inc/SimpleHistory.php:2117
855
  msgctxt "Log level in gui"
856
  msgid "Error"
857
  msgstr ""
858
 
859
+ #: inc/SimpleHistory.php:2121
860
  msgctxt "Log level in gui"
861
  msgid "Warning"
862
  msgstr ""
863
 
864
+ #: inc/SimpleHistory.php:2125
865
  msgctxt "Log level in gui"
866
  msgid "Notice"
867
  msgstr ""
868
 
869
+ #: inc/SimpleHistory.php:2129
870
  msgctxt "Log level in gui"
871
  msgid "Info"
872
  msgstr ""
873
 
874
+ #: inc/SimpleHistory.php:2133
875
  msgctxt "Log level in gui"
876
  msgid "Debug"
877
  msgstr ""
878
 
879
+ #: loggers/SimpleCommentsLogger.php:97
880
  msgctxt "A comment was added to the database by a non-logged in internet user"
881
  msgid "Added a comment to {comment_post_type} \"{comment_post_title}\""
882
  msgstr ""
883
 
884
+ #: loggers/SimpleCommentsLogger.php:103
885
  msgctxt "A comment was added to the database by a logged in user"
886
  msgid "Added a comment to {comment_post_type} \"{comment_post_title}\""
887
  msgstr ""
888
 
889
+ #: loggers/SimpleCommentsLogger.php:109
890
  msgctxt "A comment was approved"
891
  msgid ""
892
  "Approved a comment to \"{comment_post_title}\" by {comment_author} "
893
  "({comment_author_email})"
894
  msgstr ""
895
 
896
+ #: loggers/SimpleCommentsLogger.php:115
897
  msgctxt "A comment was was unapproved"
898
  msgid ""
899
  "Unapproved a comment to \"{comment_post_title}\" by {comment_author} "
900
  "({comment_author_email})"
901
  msgstr ""
902
 
903
+ #: loggers/SimpleCommentsLogger.php:121
904
  msgctxt "A comment was marked as spam"
905
  msgid "Marked a comment to post \"{comment_post_title}\" as spam"
906
  msgstr ""
907
 
908
+ #: loggers/SimpleCommentsLogger.php:127
909
  msgctxt "A comment was marked moved to the trash"
910
  msgid ""
911
  "Trashed a comment to \"{comment_post_title}\" by {comment_author} "
912
  "({comment_author_email})"
913
  msgstr ""
914
 
915
+ #: loggers/SimpleCommentsLogger.php:133
916
  msgctxt "A comment was restored from the trash"
917
  msgid ""
918
  "Restored a comment to \"{comment_post_title}\" by {comment_author} "
919
  "({comment_author_email}) from the trash"
920
  msgstr ""
921
 
922
+ #: loggers/SimpleCommentsLogger.php:139
923
  msgctxt "A comment was deleted"
924
  msgid ""
925
  "Deleted a comment to \"{comment_post_title}\" by {comment_author} "
926
  "({comment_author_email})"
927
  msgstr ""
928
 
929
+ #: loggers/SimpleCommentsLogger.php:145
930
  msgctxt "A comment was edited"
931
  msgid ""
932
  "Edited a comment to \"{comment_post_title}\" by {comment_author} "
933
  "({comment_author_email})"
934
  msgstr ""
935
 
936
+ #: loggers/SimpleCommentsLogger.php:152
937
  msgctxt "A trackback was added to the database by a non-logged in internet user"
938
  msgid "Added a trackback to {comment_post_type} \"{comment_post_title}\""
939
  msgstr ""
940
 
941
+ #: loggers/SimpleCommentsLogger.php:207
942
  msgctxt "A trackback was added to the database by a non-logged in internet user"
943
  msgid "Added a pingback to {comment_post_type} \"{comment_post_title}\""
944
  msgstr ""
945
 
946
+ #: loggers/SimpleCommentsLogger.php:158
947
  msgctxt "A trackback was added to the database by a logged in user"
948
  msgid "Added a trackback to {comment_post_type} \"{comment_post_title}\""
949
  msgstr ""
950
 
951
+ #: loggers/SimpleCommentsLogger.php:164
952
  msgctxt "A trackback was approved"
953
  msgid ""
954
  "Approved a trackback to \"{comment_post_title}\" by {comment_author} "
955
  "({comment_author_email})"
956
  msgstr ""
957
 
958
+ #: loggers/SimpleCommentsLogger.php:170
959
  msgctxt "A trackback was was unapproved"
960
  msgid ""
961
  "Unapproved a trackback to \"{comment_post_title}\" by {comment_author} "
962
  "({comment_author_email})"
963
  msgstr ""
964
 
965
+ #: loggers/SimpleCommentsLogger.php:176
966
  msgctxt "A trackback was marked as spam"
967
  msgid "Marked a trackback to post \"{comment_post_title}\" as spam"
968
  msgstr ""
969
 
970
+ #: loggers/SimpleCommentsLogger.php:182
971
  msgctxt "A trackback was marked moved to the trash"
972
  msgid ""
973
  "Trashed a trackback to \"{comment_post_title}\" by {comment_author} "
974
  "({comment_author_email})"
975
  msgstr ""
976
 
977
+ #: loggers/SimpleCommentsLogger.php:188
978
  msgctxt "A trackback was restored from the trash"
979
  msgid ""
980
  "Restored a trackback to \"{comment_post_title}\" by {comment_author} "
981
  "({comment_author_email}) from the trash"
982
  msgstr ""
983
 
984
+ #: loggers/SimpleCommentsLogger.php:194
985
  msgctxt "A trackback was deleted"
986
  msgid ""
987
  "Deleted a trackback to \"{comment_post_title}\" by {comment_author} "
988
  "({comment_author_email})"
989
  msgstr ""
990
 
991
+ #: loggers/SimpleCommentsLogger.php:200
992
  msgctxt "A trackback was edited"
993
  msgid ""
994
  "Edited a trackback to \"{comment_post_title}\" by {comment_author} "
995
  "({comment_author_email})"
996
  msgstr ""
997
 
998
+ #: loggers/SimpleCommentsLogger.php:213
999
  msgctxt "A pingback was added to the database by a logged in user"
1000
  msgid "Added a pingback to {comment_post_type} \"{comment_post_title}\""
1001
  msgstr ""
1002
 
1003
+ #: loggers/SimpleCommentsLogger.php:219
1004
  msgctxt "A pingback was approved"
1005
  msgid ""
1006
  "Approved a pingback to \"{comment_post_title}\" by \"{comment_author}\"\" "
1007
  "({comment_author_email})"
1008
  msgstr ""
1009
 
1010
+ #: loggers/SimpleCommentsLogger.php:225
1011
  msgctxt "A pingback was was unapproved"
1012
  msgid ""
1013
  "Unapproved a pingback to \"{comment_post_title}\" by \"{comment_author}\" "
1014
  "({comment_author_email})"
1015
  msgstr ""
1016
 
1017
+ #: loggers/SimpleCommentsLogger.php:231
1018
  msgctxt "A pingback was marked as spam"
1019
  msgid "Marked a pingback to post \"{comment_post_title}\" as spam"
1020
  msgstr ""
1021
 
1022
+ #: loggers/SimpleCommentsLogger.php:237
1023
  msgctxt "A pingback was marked moved to the trash"
1024
  msgid ""
1025
  "Trashed a pingback to \"{comment_post_title}\" by {comment_author} "
1026
  "({comment_author_email})"
1027
  msgstr ""
1028
 
1029
+ #: loggers/SimpleCommentsLogger.php:243
1030
  msgctxt "A pingback was restored from the trash"
1031
  msgid ""
1032
  "Restored a pingback to \"{comment_post_title}\" by {comment_author} "
1033
  "({comment_author_email}) from the trash"
1034
  msgstr ""
1035
 
1036
+ #: loggers/SimpleCommentsLogger.php:249
1037
  msgctxt "A pingback was deleted"
1038
  msgid ""
1039
  "Deleted a pingback to \"{comment_post_title}\" by {comment_author} "
1040
  "({comment_author_email})"
1041
  msgstr ""
1042
 
1043
+ #: loggers/SimpleCommentsLogger.php:255
1044
  msgctxt "A pingback was edited"
1045
  msgid ""
1046
  "Edited a pingback to \"{comment_post_title}\" by {comment_author} "
1047
  "({comment_author_email})"
1048
  msgstr ""
1049
 
1050
+ #: loggers/SimpleCommentsLogger.php:266
1051
  msgctxt "Comments logger: search"
1052
  msgid "Comments"
1053
  msgstr ""
1054
 
1055
+ #: loggers/SimpleCommentsLogger.php:267
1056
  msgctxt "Comments logger: search"
1057
  msgid "All comments activity"
1058
  msgstr ""
1059
 
1060
+ #: loggers/SimpleCommentsLogger.php:269
1061
  msgctxt "Comments logger: search"
1062
  msgid "Added comments"
1063
  msgstr ""
1064
 
1065
+ #: loggers/SimpleCommentsLogger.php:277
1066
  msgctxt "Comments logger: search"
1067
  msgid "Edited comments"
1068
  msgstr ""
1069
 
1070
+ #: loggers/SimpleCommentsLogger.php:282
1071
  msgctxt "Comments logger: search"
1072
  msgid "Approved comments"
1073
  msgstr ""
1074
 
1075
+ #: loggers/SimpleCommentsLogger.php:287
1076
  msgctxt "Comments logger: search"
1077
  msgid "Held comments"
1078
  msgstr ""
1079
 
1080
+ #: loggers/SimpleCommentsLogger.php:292
1081
  msgctxt "Comments logger: search"
1082
  msgid "Comments status changed to spam"
1083
  msgstr ""
1084
 
1085
+ #: loggers/SimpleCommentsLogger.php:297
1086
  msgctxt "Comments logger: search"
1087
  msgid "Trashed comments"
1088
  msgstr ""
1089
 
1090
+ #: loggers/SimpleCommentsLogger.php:302
1091
  msgctxt "Comments logger: search"
1092
  msgid "Untrashed comments"
1093
  msgstr ""
1094
 
1095
+ #: loggers/SimpleCommentsLogger.php:307
1096
  msgctxt "Comments logger: search"
1097
  msgid "Deleted comments"
1098
  msgstr ""
1099
 
1100
+ #: loggers/SimpleCommentsLogger.php:604 loggers/SimpleCommentsLogger.php:617
1101
+ #: loggers/SimpleCommentsLogger.php:631
1102
  msgctxt "comments logger - detailed output comment status"
1103
  msgid "Status"
1104
  msgstr ""
1105
 
1106
+ #: loggers/SimpleCommentsLogger.php:606 loggers/SimpleCommentsLogger.php:619
1107
+ #: loggers/SimpleCommentsLogger.php:633
1108
  msgctxt "comments logger - detailed output author"
1109
  msgid "Name"
1110
  msgstr ""
1111
 
1112
+ #: loggers/SimpleCommentsLogger.php:607 loggers/SimpleCommentsLogger.php:620
1113
+ #: loggers/SimpleCommentsLogger.php:634
1114
  msgctxt "comments logger - detailed output email"
1115
  msgid "Email"
1116
  msgstr ""
1117
 
1118
+ #: loggers/SimpleCommentsLogger.php:608 loggers/SimpleCommentsLogger.php:621
1119
  msgctxt "comments logger - detailed output content"
1120
  msgid "Content"
1121
  msgstr ""
1122
 
1123
+ #: loggers/SimpleCommentsLogger.php:635
1124
  msgctxt "comments logger - detailed output content"
1125
  msgid "Comment"
1126
  msgstr ""
1127
 
1128
+ #: loggers/SimpleCommentsLogger.php:771
1129
  msgctxt "comments logger - edit comment"
1130
  msgid "View/Edit"
1131
  msgstr ""
1132
 
1133
+ #: loggers/SimpleCoreUpdatesLogger.php:36
1134
  msgctxt "User logger: search"
1135
  msgid "WordPress Core"
1136
  msgstr ""
1137
 
1138
+ #: loggers/SimpleCoreUpdatesLogger.php:38
1139
  msgctxt "User logger: search"
1140
  msgid "WordPress core updates"
1141
  msgstr ""
1142
 
1143
+ #: loggers/SimpleUserLogger.php:56
1144
  msgctxt "User logger: search"
1145
  msgid "Users"
1146
  msgstr ""
1147
 
1148
+ #: loggers/SimpleUserLogger.php:57
1149
  msgctxt "User logger: search"
1150
  msgid "All user activity"
1151
  msgstr ""
1152
 
1153
+ #: loggers/SimpleUserLogger.php:59
1154
  msgctxt "User logger: search"
1155
  msgid "Successful user logins"
1156
  msgstr ""
1157
 
1158
+ #: loggers/SimpleUserLogger.php:63
1159
  msgctxt "User logger: search"
1160
  msgid "Failed user logins"
1161
  msgstr ""
1162
 
1163
+ #: loggers/SimpleUserLogger.php:67
1164
  msgctxt "User logger: search"
1165
  msgid "User logouts"
1166
  msgstr ""
1167
 
1168
+ #: loggers/SimpleUserLogger.php:70
1169
  msgctxt "User logger: search"
1170
  msgid "Created users"
1171
  msgstr ""
1172
 
1173
+ #: loggers/SimpleUserLogger.php:73
1174
  msgctxt "User logger: search"
1175
  msgid "User profile updates"
1176
  msgstr ""
1177
 
1178
+ #: loggers/SimpleUserLogger.php:76
1179
  msgctxt "User logger: search"
1180
  msgid "User deletions"
1181
  msgstr ""
1182
 
1183
+ #: loggers/SimpleExportLogger.php:29
1184
  msgctxt "Export logger: search"
1185
  msgid "Export"
1186
  msgstr ""
1187
 
1188
+ #: loggers/SimpleExportLogger.php:31
1189
  msgctxt "Export logger: search"
1190
  msgid "Created exports"
1191
  msgstr ""
1192
 
1193
+ #: loggers/SimpleLogger.php:199
1194
  msgctxt "header output when initiator is the currently logged in user"
1195
  msgid "You"
1196
  msgstr ""
1197
 
1198
+ #: loggers/SimpleMediaLogger.php:31
1199
  msgctxt "Media logger: search"
1200
  msgid "Media"
1201
  msgstr ""
1202
 
1203
+ #: loggers/SimpleMediaLogger.php:33
1204
  msgctxt "Media logger: search"
1205
  msgid "Added media"
1206
  msgstr ""
1207
 
1208
+ #: loggers/SimpleMediaLogger.php:36
1209
  msgctxt "Media logger: search"
1210
  msgid "Updated media"
1211
  msgstr ""
1212
 
1213
+ #: loggers/SimpleMediaLogger.php:39
1214
  msgctxt "Media logger: search"
1215
  msgid "Deleted media"
1216
  msgstr ""
1217
 
1218
+ #: loggers/SimpleMenuLogger.php:33
1219
  msgctxt "Menu logger: search"
1220
  msgid "Menus"
1221
  msgstr ""
1222
 
1223
+ #: loggers/SimpleMenuLogger.php:35
1224
  msgctxt "Menu updates logger: search"
1225
  msgid "Created menus"
1226
  msgstr ""
1227
 
1228
+ #: loggers/SimpleMenuLogger.php:38
1229
  msgctxt "Menu updates logger: search"
1230
  msgid "Edited menus"
1231
  msgstr ""
1232
 
1233
+ #: loggers/SimpleMenuLogger.php:43
1234
  msgctxt "Menu updates logger: search"
1235
  msgid "Deleted menus"
1236
  msgstr ""
1237
 
1238
+ #: loggers/SimpleMenuLogger.php:328
1239
  msgctxt "menu logger"
1240
  msgid "%1$s menu item added"
1241
  msgid_plural "%1$s menu items added"
1242
  msgstr[0] ""
1243
  msgstr[1] ""
1244
 
1245
+ #: loggers/SimpleMenuLogger.php:335
1246
  msgctxt "menu logger"
1247
  msgid "%1$s menu item removed"
1248
  msgid_plural "%1$s menu items removed"
1249
  msgstr[0] ""
1250
  msgstr[1] ""
1251
 
1252
+ #: loggers/SimpleOptionsLogger.php:155
1253
  msgctxt "Options logger: search"
1254
  msgid "Options"
1255
  msgstr ""
1256
 
1257
+ #: loggers/SimpleOptionsLogger.php:157
1258
  msgctxt "Options logger: search"
1259
  msgid "Changed options"
1260
  msgstr ""
1261
 
1262
+ #: loggers/SimplePluginLogger.php:27
1263
  msgctxt "Plugin was non-silently activated by a user"
1264
  msgid "Activated plugin \"{plugin_name}\""
1265
  msgstr ""
1266
 
1267
+ #: loggers/SimplePluginLogger.php:33
1268
  msgctxt "Plugin was non-silently deactivated by a user"
1269
  msgid "Deactivated plugin \"{plugin_name}\""
1270
  msgstr ""
1271
 
1272
+ #: loggers/SimplePluginLogger.php:39
1273
  msgctxt "Plugin was installed"
1274
  msgid "Installed plugin \"{plugin_name}\""
1275
  msgstr ""
1276
 
1277
+ #: loggers/SimplePluginLogger.php:45
1278
  msgctxt "Plugin failed to install"
1279
  msgid "Failed to install plugin \"{plugin_name}\""
1280
  msgstr ""
1281
 
1282
+ #: loggers/SimplePluginLogger.php:51
1283
  msgctxt "Plugin was updated"
1284
  msgid ""
1285
  "Updated plugin \"{plugin_name}\" to version {plugin_version} from "
1286
  "{plugin_prev_version}"
1287
  msgstr ""
1288
 
1289
+ #: loggers/SimplePluginLogger.php:57
1290
  msgctxt "Plugin update failed"
1291
  msgid "Updated plugin \"{plugin_name}\""
1292
  msgstr ""
1293
 
1294
+ #: loggers/SimplePluginLogger.php:63
1295
  msgctxt "Plugin file edited"
1296
  msgid "Edited plugin file \"{plugin_edited_file}\""
1297
  msgstr ""
1298
 
1299
+ #: loggers/SimplePluginLogger.php:69
1300
  msgctxt "Plugin files was deleted"
1301
  msgid "Deleted plugin \"{plugin_name}\""
1302
  msgstr ""
1303
 
1304
+ #: loggers/SimplePluginLogger.php:76
1305
  msgctxt "Plugin was updated in bulk"
1306
  msgid ""
1307
  "Updated plugin \"{plugin_name}\" to {plugin_version} from "
1308
  "{plugin_prev_version}"
1309
  msgstr ""
1310
 
1311
+ #: loggers/SimplePluginLogger.php:84
1312
  msgctxt "Plugin logger: search"
1313
  msgid "Plugins"
1314
  msgstr ""
1315
 
1316
+ #: loggers/SimplePluginLogger.php:86
1317
  msgctxt "Plugin logger: search"
1318
  msgid "Activated plugins"
1319
  msgstr ""
1320
 
1321
+ #: loggers/SimplePluginLogger.php:89
1322
  msgctxt "Plugin logger: search"
1323
  msgid "Deactivated plugins"
1324
  msgstr ""
1325
 
1326
+ #: loggers/SimplePluginLogger.php:92
1327
  msgctxt "Plugin logger: search"
1328
  msgid "Installed plugins"
1329
  msgstr ""
1330
 
1331
+ #: loggers/SimplePluginLogger.php:95
1332
  msgctxt "Plugin logger: search"
1333
  msgid "Failed plugin installs"
1334
  msgstr ""
1335
 
1336
+ #: loggers/SimplePluginLogger.php:98
1337
  msgctxt "Plugin logger: search"
1338
  msgid "Updated plugins"
1339
  msgstr ""
1340
 
1341
+ #: loggers/SimplePluginLogger.php:102
1342
  msgctxt "Plugin logger: search"
1343
  msgid "Failed plugin updates"
1344
  msgstr ""
1345
 
1346
+ #: loggers/SimplePluginLogger.php:105
1347
  msgctxt "Plugin logger: search"
1348
  msgid "Edited plugin files"
1349
  msgstr ""
1350
 
1351
+ #: loggers/SimplePluginLogger.php:108
1352
  msgctxt "Plugin logger: search"
1353
  msgid "Deleted plugins"
1354
  msgstr ""
1355
 
1356
+ #: loggers/SimplePluginLogger.php:1075
1357
+ msgctxt "plugin logger - detailed output install source"
1358
+ msgid "Source"
1359
+ msgstr ""
1360
+
1361
+ #: loggers/SimplePluginLogger.php:1076
1362
+ msgctxt "plugin logger - detailed output install source"
1363
+ msgid "Source file name"
1364
+ msgstr ""
1365
+
1366
+ #: loggers/SimplePluginLogger.php:1077
1367
  msgctxt "plugin logger - detailed output version"
1368
  msgid "Version"
1369
  msgstr ""
1370
 
1371
+ #: loggers/SimplePluginLogger.php:1078
1372
  msgctxt "plugin logger - detailed output author"
1373
  msgid "Author"
1374
  msgstr ""
1375
 
1376
+ #: loggers/SimplePluginLogger.php:1079
 
 
 
 
 
1377
  msgctxt "plugin logger - detailed output url"
1378
  msgid "URL"
1379
  msgstr ""
1380
 
1381
+ #: loggers/SimplePluginLogger.php:1181 loggers/SimplePluginLogger.php:1200
 
 
 
 
 
 
 
 
 
 
1382
  msgctxt "plugin logger: plugin info thickbox title view all info"
1383
  msgid "View plugin info"
1384
  msgstr ""
1385
 
1386
+ #: loggers/SimplePluginLogger.php:1216
1387
  msgctxt "plugin logger: plugin info thickbox title"
1388
  msgid "View plugin info"
1389
  msgstr ""
1390
 
1391
+ #: loggers/SimplePluginLogger.php:1220
1392
  msgctxt "plugin logger: plugin info thickbox title"
1393
  msgid "View changelog"
1394
  msgstr ""
1395
 
1396
+ #: loggers/SimplePostLogger.php:192
1397
  msgctxt "Post logger: search"
1398
  msgid "Posts & Pages"
1399
  msgstr ""
1400
 
1401
+ #: loggers/SimplePostLogger.php:194
1402
  msgctxt "Post logger: search"
1403
  msgid "Posts created"
1404
  msgstr ""
1405
 
1406
+ #: loggers/SimplePostLogger.php:197
1407
  msgctxt "Post logger: search"
1408
  msgid "Posts updated"
1409
  msgstr ""
1410
 
1411
+ #: loggers/SimplePostLogger.php:200
1412
  msgctxt "Post logger: search"
1413
  msgid "Posts trashed"
1414
  msgstr ""
1415
 
1416
+ #: loggers/SimplePostLogger.php:203
1417
  msgctxt "Post logger: search"
1418
  msgid "Posts deleted"
1419
  msgstr ""
1420
 
1421
+ #: loggers/SimplePostLogger.php:206
1422
  msgctxt "Post logger: search"
1423
  msgid "Posts restored"
1424
  msgstr ""
1425
 
1426
+ #: loggers/SimpleThemeLogger.php:37
1427
  msgctxt "Theme logger: search"
1428
  msgid "Themes & Widgets"
1429
  msgstr ""
1430
 
1431
+ #: loggers/SimpleThemeLogger.php:39
1432
  msgctxt "Theme logger: search"
1433
  msgid "Switched themes"
1434
  msgstr ""
1435
 
1436
+ #: loggers/SimpleThemeLogger.php:42
1437
  msgctxt "Theme logger: search"
1438
  msgid "Changed appearance of themes"
1439
  msgstr ""
1440
 
1441
+ #: loggers/SimpleThemeLogger.php:45
1442
  msgctxt "Theme logger: search"
1443
  msgid "Added widgets"
1444
  msgstr ""
1445
 
1446
+ #: loggers/SimpleThemeLogger.php:48
1447
  msgctxt "Theme logger: search"
1448
  msgid "Removed widgets"
1449
  msgstr ""
1450
 
1451
+ #: loggers/SimpleThemeLogger.php:51
1452
  msgctxt "Theme logger: search"
1453
  msgid "Changed widgets order"
1454
  msgstr ""
1455
 
1456
+ #: loggers/SimpleThemeLogger.php:54
1457
  msgctxt "Theme logger: search"
1458
  msgid "Edited widgets"
1459
  msgstr ""
1460
 
1461
+ #: loggers/SimpleThemeLogger.php:57
1462
  msgctxt "Theme logger: search"
1463
  msgid "Background of themes changed"
1464
  msgstr ""
1465
 
1466
+ #: loggers/SimpleUserLogger.php:38
1467
  msgctxt "User destroys other login sessions for themself"
1468
  msgid "Logged out from all other sessions"
1469
  msgstr ""
1470
 
1471
+ #: loggers/SimpleUserLogger.php:47
1472
  msgctxt "User destroys all login sessions for a user"
1473
  msgid "Logged out \"{user_display_name}\" from all sessions"
1474
  msgstr ""
1475
 
1476
+ #: templates/settings-statsRowsPerDay.php:38
1477
  msgctxt "stats: date in rows per day chart"
1478
  msgid "M j"
1479
  msgstr ""
loggers/SimpleCommentsLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Logs things related to comments
5
  */
@@ -661,7 +663,9 @@ class SimpleCommentsLogger extends SimpleLogger
661
 
662
  $desc_output = "";
663
 
664
- $desc_output .= esc_html( $context[ $key ] );
 
 
665
 
666
  /*
667
  if ( isset( $context["comment_author_email"] ) ) {
@@ -714,12 +718,16 @@ class SimpleCommentsLogger extends SimpleLogger
714
  break;
715
 
716
  default;
717
- $desc_output = esc_html( $context[ $key ] );
 
 
 
 
718
  break;
719
  }
720
 
721
  // Skip empty rows
722
- if (empty( $desc_output )) {
723
  continue;
724
  }
725
 
@@ -741,28 +749,34 @@ class SimpleCommentsLogger extends SimpleLogger
741
 
742
  if ( $comment_ID ) {
743
 
744
- // http://site.local/wp/wp-admin/comment.php?action=editcomment&c=
745
- $edit_comment_link = get_edit_comment_link( $comment_ID );
746
-
747
- // Edit link sometimes does not contain comment ID
748
- // Probably because comment has been removed or something
749
- // So only continue if link does not end with "=""
750
- if ( $edit_comment_link && $edit_comment_link[strlen($edit_comment_link)-1] !== "=" ) {
751
-
752
- $output .= sprintf(
753
- '
754
- <tr>
755
- <td></td>
756
- <td><a href="%2$s">%1$s</a></td>
757
- </tr>
758
- ',
759
- _x("View/Edit", "comments logger - edit comment", "simple-history"),
760
- $edit_comment_link
761
- );
762
 
763
- }
764
 
765
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
766
 
767
  // End table
768
  $output .= "</table>";
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Logs things related to comments
7
  */
663
 
664
  $desc_output = "";
665
 
666
+ if ( isset( $context[ $key ] ) ) {
667
+ $desc_output .= esc_html( $context[ $key ] );
668
+ }
669
 
670
  /*
671
  if ( isset( $context["comment_author_email"] ) ) {
718
  break;
719
 
720
  default;
721
+
722
+ if ( isset( $context[ $key ] ) ) {
723
+ $desc_output = esc_html( $context[ $key ] );
724
+ }
725
+
726
  break;
727
  }
728
 
729
  // Skip empty rows
730
+ if ( empty( $desc_output ) ) {
731
  continue;
732
  }
733
 
749
 
750
  if ( $comment_ID ) {
751
 
752
+ $comment = get_comment( $comment_ID );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
753
 
754
+ if ( $comment ) {
755
 
756
+ // http://site.local/wp/wp-admin/comment.php?action=editcomment&c=
757
+ $edit_comment_link = get_edit_comment_link( $comment_ID );
758
+
759
+ // Edit link sometimes does not contain comment ID
760
+ // Probably because comment has been removed or something
761
+ // So only continue if link does not end with "=""
762
+ if ( $edit_comment_link && $edit_comment_link[strlen($edit_comment_link)-1] !== "=" ) {
763
+
764
+ $output .= sprintf(
765
+ '
766
+ <tr>
767
+ <td></td>
768
+ <td><a href="%2$s">%1$s</a></td>
769
+ </tr>
770
+ ',
771
+ _x("View/Edit", "comments logger - edit comment", "simple-history"),
772
+ $edit_comment_link
773
+ );
774
+
775
+ }
776
+
777
+ } // if comment
778
+
779
+ } // if comment id
780
 
781
  // End table
782
  $output .= "</table>";
loggers/SimpleCoreUpdatesLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Logs WordPress core updates
5
  */
@@ -26,7 +28,7 @@ class SimpleCoreUpdatesLogger extends SimpleLogger
26
  "description" => "Logs the update of WordPress (manual and automatic updates)",
27
  "capability" => "update_core",
28
  "messages" => array(
29
- 'core_updated' => __('Updated WordPress from {prev_version} to {new_version}', 'simple-history'),
30
  'core_auto_updated' => __('WordPress auto-updated to {new_version} from {prev_version}', 'simple-history')
31
  ),
32
  "labels" => array(
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Logs WordPress core updates
7
  */
28
  "description" => "Logs the update of WordPress (manual and automatic updates)",
29
  "capability" => "update_core",
30
  "messages" => array(
31
+ 'core_updated' => __('Updated WordPress to {new_version} from {prev_version}', 'simple-history'),
32
  'core_auto_updated' => __('WordPress auto-updated to {new_version} from {prev_version}', 'simple-history')
33
  ),
34
  "labels" => array(
loggers/SimpleExportLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Logs WordPress exports
5
  */
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Logs WordPress exports
7
  */
loggers/SimpleLegacyLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Logger for events stored earlier than v2
5
  * and for events added via simple_history_add
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Logger for events stored earlier than v2
7
  * and for events added via simple_history_add
loggers/SimpleLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * A PSR-3 inspired logger class
5
  * This class logs + formats logs for display in the Simple History GUI/Viewer
@@ -159,8 +161,11 @@ class SimpleLogger {
159
  $is_current_user = ($user_id == get_current_user_id()) ? true : false;
160
 
161
  // get user role, as done in user-edit.php
162
- $user_roles = array_intersect(array_values($user->roles), array_keys(get_editable_roles()));
163
- $user_role = array_shift($user_roles);
 
 
 
164
  $user_display_name = $user->display_name;
165
 
166
  $tmpl_initiator_html = '
@@ -396,7 +401,14 @@ class SimpleLogger {
396
 
397
  } else {
398
 
399
- $message = $this->messages[$message_key]["translated_text"];
 
 
 
 
 
 
 
400
 
401
  }
402
 
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * A PSR-3 inspired logger class
7
  * This class logs + formats logs for display in the Simple History GUI/Viewer
161
  $is_current_user = ($user_id == get_current_user_id()) ? true : false;
162
 
163
  // get user role, as done in user-edit.php
164
+ $wp_roles = $GLOBALS["wp_roles"];
165
+ $all_roles = (array) $wp_roles->roles;
166
+ $user_roles = array_intersect( array_values( (array) $user->roles ), array_keys( (array) $wp_roles->roles ));
167
+ $user_role = array_shift( $user_roles );
168
+
169
  $user_display_name = $user->display_name;
170
 
171
  $tmpl_initiator_html = '
401
 
402
  } else {
403
 
404
+ // Check that messages does exist
405
+ // If we for example disable a Logger we may have references
406
+ // to message keys that are unavailable. If so then fallback to message.
407
+ if ( isset( $this->messages[$message_key]["translated_text"] ) ) {
408
+ $message = $this->messages[$message_key]["translated_text"];
409
+ } else {
410
+ // Not message exists for message key. Just keep using message.
411
+ }
412
 
413
  }
414
 
loggers/SimpleMediaLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Logs media uploads
5
  */
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Logs media uploads
7
  */
loggers/SimpleMenuLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Logs WordPress menu edits
5
  */
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Logs WordPress menu edits
7
  */
loggers/SimpleOptionsLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /*
4
 
5
  <form> is posted to options.php
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /*
6
 
7
  <form> is posted to options.php
loggers/SimplePluginLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Logs plugin installs, updates, and deletions
5
  */
@@ -154,6 +156,109 @@ class SimplePluginLogger extends SimpleLogger
154
 
155
  add_action("admin_action_delete-selected", array($this, "on_action_delete_selected"), 10, 1);
156
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
 
158
  }
159
 
@@ -475,6 +580,7 @@ class SimplePluginLogger extends SimpleLogger
475
 
476
  );
477
 
 
478
  /*
479
  Detect install plugin from wordpress.org
480
  - options[type] = "web"
@@ -483,7 +589,37 @@ class SimplePluginLogger extends SimpleLogger
483
  Detect install from upload ZIP
484
  - options[type] = "upload"
485
 
 
486
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
487
 
488
  if ( is_a( $plugin_upgrader_instance->skin->result, "WP_Error" ) ) {
489
 
@@ -506,17 +642,36 @@ class SimplePluginLogger extends SimpleLogger
506
  // Would be nice to grab a screenshot, but that is difficult since they often are stored remotely
507
  $plugin_destination = isset( $plugin_upgrader_instance->result["destination"] ) ? $plugin_upgrader_instance->result["destination"] : null;
508
 
509
- if ($plugin_destination) {
 
 
 
 
 
 
 
510
 
511
  $plugin_info = $plugin_upgrader_instance->plugin_info();
512
- $plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin_info );
 
 
 
 
 
513
  $context["plugin_name"] = isset( $plugin_data["Name"] ) ? $plugin_data["Name"] : "";
514
  $context["plugin_description"] = isset( $plugin_data["Description"] ) ? $plugin_data["Description"] : "";
515
  $context["plugin_url"] = isset( $plugin_data["PluginURI"] ) ? $plugin_data["PluginURI"] : "";
516
  $context["plugin_version"] = isset( $plugin_data["Version"] ) ? $plugin_data["Version"] : "";
517
  $context["plugin_author"] = isset( $plugin_data["AuthorName"] ) ? $plugin_data["AuthorName"] : "";
 
 
518
  #$context["debug_plugin_data"] = $this->simpleHistory->json_encode( $plugin_data );
519
-
 
 
 
 
 
520
  }
521
 
522
  $this->infoMessage(
@@ -526,7 +681,7 @@ class SimplePluginLogger extends SimpleLogger
526
 
527
  $did_log = true;
528
 
529
- }
530
 
531
  } // install single
532
 
@@ -534,7 +689,10 @@ class SimplePluginLogger extends SimpleLogger
534
  if ( isset( $arr_data["action"] ) && "update" == $arr_data["action"] && ! $plugin_upgrader_instance->bulk ) {
535
 
536
  // No plugin info in instance, so get it ourself
537
- $plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $arr_data["plugin"] );
 
 
 
538
 
539
  // autoptimize/autoptimize.php
540
  $plugin_slug = dirname( $arr_data["plugin"] );
@@ -914,6 +1072,8 @@ class SimplePluginLogger extends SimpleLogger
914
  // Keys to show
915
  $arr_plugin_keys = array(
916
  "plugin_description" => "Description",
 
 
917
  "plugin_version" => _x("Version", "plugin logger - detailed output version", "simple-history"),
918
  "plugin_author" => _x("Author", "plugin logger - detailed output author", "simple-history"),
919
  "plugin_url" => _x("URL", "plugin logger - detailed output url", "simple-history"),
@@ -933,7 +1093,7 @@ class SimplePluginLogger extends SimpleLogger
933
  switch ($key) {
934
 
935
  case "plugin_downloaded":
936
- $desc_output = esc_attr( number_format_i18n( (int) $context[ $key ] ) );
937
  break;
938
 
939
  // author is already formatted
@@ -943,13 +1103,45 @@ class SimplePluginLogger extends SimpleLogger
943
 
944
  // URL needs a link
945
  case "plugin_url":
946
- $desc_output = sprintf('<a href="%1$s">%1$s</a>', esc_attr( $context["plugin_url"] ));
947
  break;
948
 
949
  case "plugin_description":
950
  $desc_output = $plugin_description;
951
  break;
952
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953
  default;
954
  $desc_output = esc_html( $context[ $key ] );
955
  break;
@@ -968,8 +1160,15 @@ class SimplePluginLogger extends SimpleLogger
968
 
969
  }
970
 
971
- $plugin_slug = ! empty($context["plugin_slug"]) ? $context["plugin_slug"] : "";
972
- if ( $plugin_slug ) {
 
 
 
 
 
 
 
973
 
974
  $output .= sprintf(
975
  '
@@ -982,7 +1181,27 @@ class SimplePluginLogger extends SimpleLogger
982
  esc_html_x("View plugin info", "plugin logger: plugin info thickbox title view all info", "simple-history")
983
  );
984
 
985
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
986
 
987
  $output .= "</table>";
988
 
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Logs plugin installs, updates, and deletions
7
  */
156
 
157
  add_action("admin_action_delete-selected", array($this, "on_action_delete_selected"), 10, 1);
158
 
159
+ // Ajax function to get info from GitHub repo. Used by "View plugin info"-link for plugin installs
160
+ add_action("wp_ajax_SimplePluginLogger_GetGitHubPluginInfo", array($this, "ajax_GetGitHubPluginInfo"));
161
+
162
+ }
163
+
164
+ /**
165
+ * Show readme from github in a modal win
166
+ */
167
+ function ajax_GetGitHubPluginInfo() {
168
+
169
+ if ( ! current_user_can("install_plugins") ) {
170
+ wp_die( __("You don't have access to this page.", "simple-history" ));
171
+ }
172
+
173
+ $repo = isset( $_GET["repo"] ) ? (string) $_GET["repo"] : "";
174
+
175
+ if ( ! $repo ) {
176
+ wp_die( __("Could not find GitHub repository.", "simple-history" ));
177
+ }
178
+
179
+ $repo_parts = explode("/", $repo);
180
+ if ( count($repo_parts) !== 5 ) {
181
+ wp_die( __("Could not find GitHub repository.", "simple-history" ));
182
+ }
183
+
184
+ $repo_username = $repo_parts[3];
185
+ $repo_repo = $repo_parts[4];
186
+
187
+ // https://developer.github.com/v3/repos/contents/
188
+ // https://api.github.com/repos/<username>/<repo>/readme
189
+ $api_url = sprintf('https://api.github.com/repos/%1$s/%2$s/readme', urlencode( $repo_username ), urlencode( $repo_repo ));
190
+
191
+ // Get file. Use accept-header to get file as HTML instead of JSON
192
+ $response = wp_remote_get( $api_url, array(
193
+ "headers" => array(
194
+ "accept" => "application/vnd.github.VERSION.html"
195
+ )
196
+ ) );
197
+
198
+ $response_body = wp_remote_retrieve_body( $response );
199
+
200
+ $repo_info = sprintf(
201
+ __('<p>Viewing <code>readme</code> from repository <code><a target="_blank" href="%1$s">%2$s</a></code>.</p>', "simple-history"),
202
+ esc_url( $repo ),
203
+ esc_html( $repo )
204
+ );
205
+
206
+ ob_start();
207
+ ?>
208
+ @font-face{font-family:octicons-anchor;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+h5j//yEk/3KoSgZGNgYYk4GRCUgwMaACRoZhDwCs7QgGAAAAIgKIAAAAAf//AAJ4nHWMMQrCQBBF/0zWrCCIKUQsTDCL2EXMohYGSSmorScInsRGL2DOYJe0Ntp7BK+gJ1BxF1stZvjz/v8DRghQzEc4kIgKwiAppcA9LtzKLSkdNhKFY3HF4lK69ExKslx7Xa+vPRVS43G98vG1DnkDMIBUgFN0MDXflU8tbaZOUkXUH0+U27RoRpOIyCKjbMCVejwypzJJG4jIwb43rfl6wbwanocrJm9XFYfskuVC5K/TPyczNU7b84CXcbxks1Un6H6tLH9vf2LRnn8Ax7A5WQAAAHicY2BkYGAA4teL1+yI57f5ysDNwgAC529f0kOmWRiYVgEpDgYmEA8AUzEKsQAAAHicY2BkYGB2+O/AEMPCAAJAkpEBFbAAADgKAe0EAAAiAAAAAAQAAAAEAAAAAAAAKgAqACoAiAAAeJxjYGRgYGBhsGFgYgABEMkFhAwM/xn0QAIAD6YBhwB4nI1Ty07cMBS9QwKlQapQW3VXySvEqDCZGbGaHULiIQ1FKgjWMxknMfLEke2A+IJu+wntrt/QbVf9gG75jK577Lg8K1qQPCfnnnt8fX1NRC/pmjrk/zprC+8D7tBy9DHgBXoWfQ44Av8t4Bj4Z8CLtBL9CniJluPXASf0Lm4CXqFX8Q84dOLnMB17N4c7tBo1AS/Qi+hTwBH4rwHHwN8DXqQ30XXAS7QaLwSc0Gn8NuAVWou/gFmnjLrEaEh9GmDdDGgL3B4JsrRPDU2hTOiMSuJUIdKQQayiAth69r6akSSFqIJuA19TrzCIaY8sIoxyrNIrL//pw7A2iMygkX5vDj+G+kuoLdX4GlGK/8Lnlz6/h9MpmoO9rafrz7ILXEHHaAx95s9lsI7AHNMBWEZHULnfAXwG9/ZqdzLI08iuwRloXE8kfhXYAvE23+23DU3t626rbs8/8adv+9DWknsHp3E17oCf+Z48rvEQNZ78paYM38qfk3v/u3l3u3GXN2Dmvmvpf1Srwk3pB/VSsp512bA/GG5i2WJ7wu430yQ5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format('woff')}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#333;overflow:hidden;font-family:"Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif;font-size:16px;line-height:1.6;word-wrap:break-word}.markdown-body a{background:0 0}.markdown-body a:active,.markdown-body a:hover{outline:0}.markdown-body strong{font-weight:700}.markdown-body h1{margin:.67em 0}.markdown-body img{border:0}.markdown-body hr{box-sizing:content-box}.markdown-body input{color:inherit;margin:0}.markdown-body html input[disabled]{cursor:default}.markdown-body input{line-height:normal}.markdown-body input[type=checkbox]{box-sizing:border-box;padding:0}.markdown-body table{border-collapse:collapse;border-spacing:0}.markdown-body td,.markdown-body th{padding:0}.markdown-body *{box-sizing:border-box}.markdown-body input{font:13px/1.4 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Segoe UI Emoji","Segoe UI Symbol"}.markdown-body a{color:#4183c4;text-decoration:none}.markdown-body a:active,.markdown-body a:hover{text-decoration:underline}.markdown-body hr{overflow:hidden;background:0 0}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace}.markdown-body pre{font:12px Consolas,"Liberation Mono",Menlo,Courier,monospace}.markdown-body .octicon{font:normal normal normal 16px/1 octicons-anchor;display:inline-block;text-decoration:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-body .octicon-link:before{content:'\f05c'}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not(:link):not(:visited){color:inherit;text-decoration:none}.markdown-body .anchor{position:absolute;top:0;left:0;display:block;padding-right:6px;padding-left:30px;margin-left:-30px}.markdown-body .anchor:focus{outline:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{position:relative;margin-top:1em;margin-bottom:16px;font-weight:700;line-height:1.4}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{display:none;color:#000;vertical-align:middle}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{padding-left:8px;margin-left:-30px;text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{display:inline-block}.markdown-body h1{padding-bottom:.3em;font-size:2.25em;line-height:1.2;border-bottom:1px solid #eee}.markdown-body h1 .anchor{line-height:1}.markdown-body h2{padding-bottom:.3em;font-size:1.75em;line-height:1.225;border-bottom:1px solid #eee}.markdown-body h2 .anchor{line-height:1}.markdown-body h3{font-size:1.5em;line-height:1.43}.markdown-body h3 .anchor{line-height:1.2}.markdown-body h4{font-size:1.25em}.markdown-body h4 .anchor{line-height:1.2}.markdown-body h5{font-size:1em}.markdown-body h5 .anchor{line-height:1.1}.markdown-body h6{font-size:1em;color:#777}.markdown-body h6 .anchor{line-height:1.1}.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:4px;padding:0;margin:16px 0;background-color:#e7e7e7;border:0}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:700}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body blockquote{padding:0 15px;color:#777;border-left:4px solid #ddd}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}.markdown-body table th{font-weight:700}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #ddd}.markdown-body table tr{background-color:#fff;border-top:1px solid #ccc}.markdown-body table tr:nth-child(2n){background-color:#f8f8f8}.markdown-body img{max-width:100%;box-sizing:border-box}.markdown-body code{padding:.2em 0;margin:0;font-size:85%;background-color:rgba(0,0,0,.04);border-radius:3px}.markdown-body code:after,.markdown-body code:before{letter-spacing:-.2em;content:"\00a0"}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:0 0;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body pre{word-wrap:normal}.markdown-body pre code{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body pre code:after,.markdown-body pre code:before{content:normal}.markdown-body .pl-c{color:#969896}.markdown-body .pl-c1,.markdown-body .pl-mdh,.markdown-body .pl-mm,.markdown-body .pl-mp,.markdown-body .pl-mr,.markdown-body .pl-s1 .pl-v,.markdown-body .pl-s3,.markdown-body .pl-sc,.markdown-body .pl-sv{color:#0086b3}.markdown-body .pl-e,.markdown-body .pl-en{color:#795da3}.markdown-body .pl-s1 .pl-s2,.markdown-body .pl-smi,.markdown-body .pl-smp,.markdown-body .pl-stj,.markdown-body .pl-vo,.markdown-body .pl-vpf{color:#333}.markdown-body .pl-ent{color:#63a35c}.markdown-body .pl-k,.markdown-body .pl-s,.markdown-body .pl-st{color:#a71d5d}.markdown-body .pl-pds,.markdown-body .pl-s1,.markdown-body .pl-s1 .pl-pse .pl-s2,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-src{color:#183691}.markdown-body .pl-v{color:#ed6a43}.markdown-body .pl-id{color:#b52a1d}.markdown-body .pl-ii{background-color:#b52a1d;color:#f8f8f8}.markdown-body .pl-sr .pl-cce{color:#63a35c;font-weight:700}.markdown-body .pl-ml{color:#693a17}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{color:#1d3e81;font-weight:700}.markdown-body .pl-mq{color:teal}.markdown-body .pl-mi{color:#333;font-style:italic}.markdown-body .pl-mb{color:#333;font-weight:700}.markdown-body .pl-md,.markdown-body .pl-mdhf{background-color:#ffecec;color:#bd2c00}.markdown-body .pl-mdht,.markdown-body .pl-mi1{background-color:#eaffea;color:#55a532}.markdown-body .pl-mdr{color:#795da3;font-weight:700}.markdown-body .pl-mo{color:#1d3e81}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px Consolas,"Liberation Mono",Menlo,Courier,monospace;line-height:10px;color:#555;vertical-align:middle;background-color:#fcfcfc;border:1px solid #ccc;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .35em .25em -1.6em;vertical-align:middle}.markdown-body :checked+.radio-label{z-index:1;position:relative;border-color:#4183c4}
209
+ <?php
210
+ $github_markdown_css = ob_get_clean();
211
+
212
+ printf(
213
+ '
214
+ <!doctype html>
215
+ <style>
216
+ body {
217
+ font-family: sans-serif;
218
+ font-size: 16px;
219
+ }
220
+ .repo-info {
221
+ padding: 1.25em 1em;
222
+ background: #fafafa;
223
+ line-height: 1;
224
+ }
225
+ .repo-info p {
226
+ margin: 0;
227
+ }
228
+ .markdown-body {
229
+ min-width: 200px;
230
+ max-width: 790px;
231
+ margin: 0 auto;
232
+ padding: 30px;
233
+ }
234
+
235
+ /*
236
+ github-markdown-css from https://github.com/sindresorhus/github-markdown-css
237
+ License: MIT © Sindre Sorhus
238
+ Compressed using http://cssminifier.com/
239
+ */
240
+ %3$s
241
+
242
+ </style>
243
+ <!-- <base href="%1$s/blob/master/"> -->
244
+
245
+
246
+ <header class="repo-info">
247
+ %1$s
248
+ </header>
249
+
250
+ <div class="markdown-body readme-contents">
251
+ %2$s
252
+ </div>
253
+ ',
254
+ $repo_info,
255
+ $response_body,
256
+ $github_markdown_css
257
+ );
258
+
259
+ #echo($response_body);
260
+
261
+ exit;
262
 
263
  }
264
 
580
 
581
  );
582
 
583
+
584
  /*
585
  Detect install plugin from wordpress.org
586
  - options[type] = "web"
589
  Detect install from upload ZIP
590
  - options[type] = "upload"
591
 
592
+ Also: plugins hosted at GitHub have a de-facto standard field of "GitHub Plugin URI"
593
  */
594
+ $install_source = "unknown";
595
+ if ( isset( $upgrader_skin_options["type"] ) ) {
596
+ $install_source = (string) $upgrader_skin_options["type"];
597
+ }
598
+
599
+ $context["plugin_install_source"] = $install_source;
600
+
601
+ // If uploaded plugin store name of ZIP
602
+ if ( "upload" == $install_source ) {
603
+
604
+ /*_debug_files
605
+ {
606
+ "pluginzip": {
607
+ "name": "WPThumb-master.zip",
608
+ "type": "application\/zip",
609
+ "tmp_name": "\/Applications\/MAMP\/tmp\/php\/phpnThImc",
610
+ "error": 0,
611
+ "size": 2394625
612
+ }
613
+ }
614
+ */
615
+
616
+ if ( isset( $_FILES["pluginzip"]["name"] ) ) {
617
+ $plugin_upload_name = $_FILES["pluginzip"]["name"];
618
+ $context["plugin_upload_name"] = $plugin_upload_name;
619
+ }
620
+
621
+ }
622
+
623
 
624
  if ( is_a( $plugin_upgrader_instance->skin->result, "WP_Error" ) ) {
625
 
642
  // Would be nice to grab a screenshot, but that is difficult since they often are stored remotely
643
  $plugin_destination = isset( $plugin_upgrader_instance->result["destination"] ) ? $plugin_upgrader_instance->result["destination"] : null;
644
 
645
+ if ( $plugin_destination ) {
646
+
647
+ // If the Github Update plugin is not installed we will not get extra fields used by it.
648
+ // So need to hook filter "extra_plugin_headers" ourself.
649
+ add_filter( "extra_plugin_headers", function($arr_headers) {
650
+ $arr_headers[] = "GitHub Plugin URI";
651
+ return $arr_headers;
652
+ } );
653
 
654
  $plugin_info = $plugin_upgrader_instance->plugin_info();
655
+
656
+ $plugin_data = array();
657
+ if ( file_exists( WP_PLUGIN_DIR . '/' . $plugin_info ) ) {
658
+ $plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin_info );
659
+ }
660
+
661
  $context["plugin_name"] = isset( $plugin_data["Name"] ) ? $plugin_data["Name"] : "";
662
  $context["plugin_description"] = isset( $plugin_data["Description"] ) ? $plugin_data["Description"] : "";
663
  $context["plugin_url"] = isset( $plugin_data["PluginURI"] ) ? $plugin_data["PluginURI"] : "";
664
  $context["plugin_version"] = isset( $plugin_data["Version"] ) ? $plugin_data["Version"] : "";
665
  $context["plugin_author"] = isset( $plugin_data["AuthorName"] ) ? $plugin_data["AuthorName"] : "";
666
+
667
+ // Comment out these to debug plugin installs
668
  #$context["debug_plugin_data"] = $this->simpleHistory->json_encode( $plugin_data );
669
+ #$context["debug_plugin_info"] = $this->simpleHistory->json_encode( $plugin_info );
670
+
671
+ if ( isset( $plugin_data["GitHub Plugin URI"] ) ) {
672
+ $context["plugin_github_url"] = $plugin_data["GitHub Plugin URI"];
673
+ }
674
+
675
  }
676
 
677
  $this->infoMessage(
681
 
682
  $did_log = true;
683
 
684
+ } // if error or not
685
 
686
  } // install single
687
 
689
  if ( isset( $arr_data["action"] ) && "update" == $arr_data["action"] && ! $plugin_upgrader_instance->bulk ) {
690
 
691
  // No plugin info in instance, so get it ourself
692
+ $plugin_data = array();
693
+ if ( file_exists( WP_PLUGIN_DIR . '/' . $arr_data["plugin"] ) ) {
694
+ $plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $arr_data["plugin"] );
695
+ }
696
 
697
  // autoptimize/autoptimize.php
698
  $plugin_slug = dirname( $arr_data["plugin"] );
1072
  // Keys to show
1073
  $arr_plugin_keys = array(
1074
  "plugin_description" => "Description",
1075
+ "plugin_install_source" => _x("Source", "plugin logger - detailed output install source", "simple-history"),
1076
+ "plugin_install_source_file" => _x("Source file name", "plugin logger - detailed output install source", "simple-history"),
1077
  "plugin_version" => _x("Version", "plugin logger - detailed output version", "simple-history"),
1078
  "plugin_author" => _x("Author", "plugin logger - detailed output author", "simple-history"),
1079
  "plugin_url" => _x("URL", "plugin logger - detailed output url", "simple-history"),
1093
  switch ($key) {
1094
 
1095
  case "plugin_downloaded":
1096
+ $desc_output = esc_html( number_format_i18n( (int) $context[ $key ] ) );
1097
  break;
1098
 
1099
  // author is already formatted
1103
 
1104
  // URL needs a link
1105
  case "plugin_url":
1106
+ $desc_output = sprintf('<a href="%1$s">%2$s</a>', esc_attr( $context["plugin_url"] ), esc_html( $context["plugin_url"] ));
1107
  break;
1108
 
1109
  case "plugin_description":
1110
  $desc_output = $plugin_description;
1111
  break;
1112
 
1113
+ case "plugin_install_source":
1114
+
1115
+ if ( ! isset( $context[ $key ] ) ) {
1116
+ continue;
1117
+ }
1118
+
1119
+ if ( "web" == $context[ $key ] ) {
1120
+ $desc_output = esc_html( __("WordPress Plugin Repository", "simple-history") );
1121
+ } else if ( "upload" == $context[ $key ] ) {
1122
+ #$plugin_upload_name = isset( $context["plugin_upload_name"] ) ? $context["plugin_upload_name"] : __("Unknown archive name", "simple-history");
1123
+ $desc_output = esc_html( __('Uploaded ZIP archive', "simple-history") );
1124
+ #$desc_output = esc_html( sprintf( __('Uploaded ZIP archive (%1$s)', "simple-history"), $plugin_upload_name ) );
1125
+ #$desc_output = esc_html( sprintf( __('%1$s (uploaded ZIP archive)', "simple-history"), $plugin_upload_name ) );
1126
+ } else {
1127
+ $desc_output = esc_html( $context[ $key ] );
1128
+ }
1129
+
1130
+ break;
1131
+
1132
+ case "plugin_install_source_file":
1133
+
1134
+ if ( ! isset( $context["plugin_upload_name"] ) || ! isset( $context["plugin_install_source"] ) ) {
1135
+ continue;
1136
+ }
1137
+
1138
+ if ( "upload" == $context["plugin_install_source"] ) {
1139
+ $plugin_upload_name = $context["plugin_upload_name"];
1140
+ $desc_output = esc_html( $plugin_upload_name );
1141
+ }
1142
+
1143
+ break;
1144
+
1145
  default;
1146
  $desc_output = esc_html( $context[ $key ] );
1147
  break;
1160
 
1161
  }
1162
 
1163
+ // Add link with more info about the plugin
1164
+ // If plugin_install_source = web then it should be a wordpress.org-plugin
1165
+ // If plugin_github_url is set then it's a zip from a github thingie
1166
+ // so use link to that.
1167
+
1168
+ $plugin_slug = ! empty( $context["plugin_slug"] ) ? $context["plugin_slug"] : "";
1169
+
1170
+ // Slug + web as install source = show link to wordpress.org
1171
+ if ( $plugin_slug && isset( $context["plugin_install_source"] ) && $context["plugin_install_source"] == "web" ) {
1172
 
1173
  $output .= sprintf(
1174
  '
1181
  esc_html_x("View plugin info", "plugin logger: plugin info thickbox title view all info", "simple-history")
1182
  );
1183
 
1184
+ }
1185
+ // GitHub plugin url set = show link to github repo
1186
+ else if ( isset( $context["plugin_install_source"] ) && $context["plugin_install_source"] == "upload" && ! empty( $context["plugin_github_url"] ) ) {
1187
+
1188
+ // Can't embed iframe
1189
+ // Must use API instead
1190
+ // https://api.github.com/repos/<username>/<repo>/readme?callback=<callbackname>
1191
+
1192
+ $output .= sprintf(
1193
+ '
1194
+ <tr>
1195
+ <td></td>
1196
+ <td><a title="%2$s" class="thickbox" href="%1$s">%2$s</a></td>
1197
+ </tr>
1198
+ ',
1199
+ admin_url(sprintf('admin-ajax.php?action=SimplePluginLogger_GetGitHubPluginInfo&getrepo&amp;repo=%1$s&amp;TB_iframe=true&amp;width=640&amp;height=550', esc_url_raw( $context["plugin_github_url"] ) ) ),
1200
+ esc_html_x("View plugin info", "plugin logger: plugin info thickbox title view all info", "simple-history")
1201
+ );
1202
+
1203
+ }
1204
+
1205
 
1206
  $output .= "</table>";
1207
 
loggers/SimplePostLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /*
4
  - vid start av app: login, körs titt som tätt
5
  - XMLRPC_REQUEST": true
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /*
6
  - vid start av app: login, körs titt som tätt
7
  - XMLRPC_REQUEST": true
loggers/SimpleThemeLogger.php CHANGED
@@ -1,10 +1,11 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Logs WordPress theme edits
5
  */
6
- class SimpleThemeLogger extends SimpleLogger
7
- {
8
 
9
  public $slug = __CLASS__;
10
 
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Logs WordPress theme edits
7
  */
8
+ class SimpleThemeLogger extends SimpleLogger {
 
9
 
10
  public $slug = __CLASS__;
11
 
loggers/SimpleUserLogger.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  /**
4
  * Logs changes to user logins (and logouts)
5
  */
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  /**
6
  * Logs changes to user logins (and logouts)
7
  */
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.24
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
@@ -115,6 +115,17 @@ initiated by a specific user.
115
 
116
  ## Changelog
117
 
 
 
 
 
 
 
 
 
 
 
 
118
  = 2.0.24 =
119
 
120
  - Fixed: Plugin installs from uploaded ZIP files are now logged correctly. Fixes https://github.com/bonny/WordPress-Simple-History/issues/59.
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.25
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
115
 
116
  ## Changelog
117
 
118
+ = 2.0.25 =
119
+
120
+ - Added: Plugin installs now shows the source of the plugin. Supported sources are "WordPress plugin repository" and "uploaded ZIP archives".
121
+ - Added: Plugin installs via upload now shows the uploaded file name.
122
+ - Added: Support for showing plugin info-link for plugins from GitHub, installed with uploaded ZIP-archive. Only tested with a few plugins. Please let me know if it works or not!
123
+ - Fixed: Messages for disabled loggers was not shown.
124
+ - Fixed: An error when trying to show edit link for deleted comments.
125
+ - Fixed: Use a safer way to get editable roles. Hopefully fixes https://wordpress.org/support/topic/php-warnings-simpleloggerphp-on-line-162.
126
+ - Fixed: Some notice warnings from the comments logger.
127
+ - Changed: Some other small things too.
128
+
129
  = 2.0.24 =
130
 
131
  - Fixed: Plugin installs from uploaded ZIP files are now logged correctly. Fixes https://github.com/bonny/WordPress-Simple-History/issues/59.
templates/settings-general.php CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  <form method="post" action="options.php">
2
 
3
  <?php
1
+ <?php
2
+ defined( 'ABSPATH' ) or die();
3
+ ?>
4
+
5
  <form method="post" action="options.php">
6
 
7
  <?php
templates/settings-log.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  $pager_size = $this->get_pager_size();
4
 
5
  /**
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  $pager_size = $this->get_pager_size();
6
 
7
  /**
templates/settings-statsForGeeks.php CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  <script>
2
 
3
  jQuery(function($) {
1
+ <?php
2
+ defined( 'ABSPATH' ) or die();
3
+ ?>
4
+
5
  <script>
6
 
7
  jQuery(function($) {
templates/settings-statsInitiators.php CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  <?php
2
  // Stats based by initiator
3
 
1
+ <?php
2
+ defined( 'ABSPATH' ) or die();
3
+ ?>
4
+
5
+
6
  <?php
7
  // Stats based by initiator
8
 
templates/settings-statsIntro.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  // Number of rows the last n days
4
  function get_num_rows_last_n_days($period_days) {
5
 
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  // Number of rows the last n days
6
  function get_num_rows_last_n_days($period_days) {
7
 
templates/settings-statsLogLevels.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  // Stats på level (notice, warning, debug, etc.)
4
  echo "<h3>" . __("Log levels", "simple-history") . "</h3>";
5
 
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  // Stats på level (notice, warning, debug, etc.)
6
  echo "<h3>" . __("Log levels", "simple-history") . "</h3>";
7
 
templates/settings-statsLoggers.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  echo "<h4 class=''>";
4
  echo __("Loggers", "simple-history");
1
  <?php
2
+ defined( 'ABSPATH' ) or die();
3
 
4
  echo "<h4 class=''>";
5
  echo __("Loggers", "simple-history");
templates/settings-statsRowsPerDay.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
 
 
 
3
  echo "<h4 class=''>";
4
  echo __("Rows per day", "simple-history");
5
  echo "</h4>";
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
  echo "<h4 class=''>";
6
  echo __("Rows per day", "simple-history");
7
  echo "</h4>";
templates/settings-statsUsers.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
 
 
 
 
3
  // Output users
4
  echo "<h3>" . __("Users", "simple-history") . "</h3>";
5
 
1
  <?php
2
 
3
+ defined( 'ABSPATH' ) or die();
4
+
5
+
6
  // Output users
7
  echo "<h3>" . __("Users", "simple-history") . "</h3>";
8
 
templates/settings-style-example.php CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  <div class="SimpleHistoryGuiExample">
2
 
3
  <ul class="SimpleHistoryLogitems">
1
+ <?php
2
+ defined( 'ABSPATH' ) or die();
3
+ ?>
4
+
5
  <div class="SimpleHistoryGuiExample">
6
 
7
  <ul class="SimpleHistoryLogitems">