Crayon Syntax Highlighter - Version 1.5.4

Version Description

  • Recommended update for everyone
  • Fixed a bug that caused the default theme not to load if was anything but "classic" - Thanks to Ralph!
Download this release

Release Info

Developer akarmenia
Plugin Icon wp plugin Crayon Syntax Highlighter
Version 1.5.4
Comparing to
See all releases

Code changes from version 1.5.3 to 1.5.4

crayon_resource.class.php CHANGED
@@ -234,6 +234,15 @@ class CrayonUsedResourceCollection extends CrayonResourceCollection {
234
  }
235
  }
236
 
 
 
 
 
 
 
 
 
 
237
  public function get_used() {
238
  $used = array();
239
  foreach ($this->get() as $resource) {
234
  }
235
  }
236
 
237
+ public function set_used($id, $value = TRUE) {
238
+ $resource = $this->get($id);
239
+ if ($resource !== NULL && !$resource->used()) {
240
+ $resource->used($value == TRUE);
241
+ return TRUE;
242
+ }
243
+ return FALSE;
244
+ }
245
+
246
  public function get_used() {
247
  $used = array();
248
  foreach ($this->get() as $resource) {
crayon_themes.class.php CHANGED
@@ -44,16 +44,12 @@ class CrayonThemes extends CrayonUsedResourceCollection {
44
  }
45
 
46
  public function get_used_theme_css() {
47
- CrayonLog::log('get_used_theme_css');
48
  $used = $this->get_used();
49
- CrayonLog::log($used, 'used');
50
  $css = array();
51
  foreach ($used as $theme) {
52
  $url = self::get_theme_url($theme);
53
- CrayonLog::log($url, 'url');
54
  $css[$theme->id()] = $url;
55
  }
56
- CrayonLog::log($css, 'css');
57
  return $css;
58
  }
59
 
44
  }
45
 
46
  public function get_used_theme_css() {
 
47
  $used = $this->get_used();
 
48
  $css = array();
49
  foreach ($used as $theme) {
50
  $url = self::get_theme_url($theme);
 
51
  $css[$theme->id()] = $url;
52
  }
 
53
  return $css;
54
  }
55
 
crayon_wp.class.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Crayon Syntax Highlighter
4
  Plugin URI: http://ak.net84.net/
5
  Description: Supports multiple languages, themes, highlighting from a URL, local file or post text. <a href="options-general.php?page=crayon_settings">View Settings.</a>
6
- Version: 1.5.3
7
  Author: Aram Kocharyan
8
  Author URI: http://ak.net84.net/
9
  License: GPL2
@@ -153,8 +153,6 @@ class CrayonWP {
153
  // Whether to enqueue syles/scripts
154
  $enqueue = FALSE;
155
 
156
- //CrayonLog::log('enqueue false');
157
-
158
  // Search for shortcode in query
159
  foreach ($wp_query->posts as $post) {
160
 
@@ -178,11 +176,10 @@ class CrayonWP {
178
  // Make sure we enqueue the styles/scripts
179
  $enqueue = TRUE;
180
 
181
- //CrayonLog::log('enqueue true');
182
-
183
  // Mark the default theme as being used
184
- $default_theme = CrayonResources::themes()->get_default();
185
- $default_theme->used(TRUE);
 
186
 
187
  for ($i = 0; $i < count($full_matches); $i++) {
188
  // Get attributes
@@ -204,14 +201,9 @@ class CrayonWP {
204
  }
205
 
206
  // Detect if a theme is used
207
-
208
- //CrayonLog::log($atts_array, 'atts_array');
209
-
210
  if (array_key_exists('theme', $atts_array)) {
211
  $theme_id = $atts_array['theme'];
212
- if ( ($theme = CrayonResources::themes()->get($theme_id)) !== NULL) {
213
- $theme->used(TRUE);
214
- }
215
  }
216
 
217
  // Add array of atts and content to post queue with key as post ID
@@ -221,10 +213,6 @@ class CrayonWP {
221
  }
222
  }
223
 
224
- //CrayonLog::log(is_admin(), 'is_admin()');
225
- //CrayonLog::log($enqueue, 'enqueue');
226
- //CrayonLog::log(self::$included, 'included');
227
-
228
  if (!is_admin() && $enqueue && !self::$included) {
229
  self::enqueue_resources();
230
  }
@@ -241,7 +229,6 @@ class CrayonWP {
241
  }
242
 
243
  private static function enqueue_resources() {
244
- //CrayonLog::log('enqueue_resources');
245
  global $CRAYON_VERSION;
246
  wp_enqueue_style('crayon-style', plugins_url(CRAYON_STYLE, __FILE__), array(), $CRAYON_VERSION);
247
 
3
  Plugin Name: Crayon Syntax Highlighter
4
  Plugin URI: http://ak.net84.net/
5
  Description: Supports multiple languages, themes, highlighting from a URL, local file or post text. <a href="options-general.php?page=crayon_settings">View Settings.</a>
6
+ Version: 1.5.4
7
  Author: Aram Kocharyan
8
  Author URI: http://ak.net84.net/
9
  License: GPL2
153
  // Whether to enqueue syles/scripts
154
  $enqueue = FALSE;
155
 
 
 
156
  // Search for shortcode in query
157
  foreach ($wp_query->posts as $post) {
158
 
176
  // Make sure we enqueue the styles/scripts
177
  $enqueue = TRUE;
178
 
 
 
179
  // Mark the default theme as being used
180
+ if ( ($default_theme_id = CrayonGlobalSettings::val(CrayonSettings::THEME)) != NULL ) {
181
+ CrayonResources::themes()->set_used($default_theme_id);
182
+ }
183
 
184
  for ($i = 0; $i < count($full_matches); $i++) {
185
  // Get attributes
201
  }
202
 
203
  // Detect if a theme is used
 
 
 
204
  if (array_key_exists('theme', $atts_array)) {
205
  $theme_id = $atts_array['theme'];
206
+ CrayonResources::themes()->set_used($theme_id);
 
 
207
  }
208
 
209
  // Add array of atts and content to post queue with key as post ID
213
  }
214
  }
215
 
 
 
 
 
216
  if (!is_admin() && $enqueue && !self::$included) {
217
  self::enqueue_resources();
218
  }
229
  }
230
 
231
  private static function enqueue_resources() {
 
232
  global $CRAYON_VERSION;
233
  wp_enqueue_style('crayon-style', plugins_url(CRAYON_STYLE, __FILE__), array(), $CRAYON_VERSION);
234
 
langs/c/sh.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### SHELL LANGUAGE ###
2
+
3
+ # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
+
5
+ NAME Shell Script
6
+ VERSION 1.0
7
+
8
+ COMMENT (?default)|(#.*?$)
9
+ STRING (?default)
10
+
11
+ STATEMENT (?default)|\b(?alt:statement.txt)\b
12
+ RESERVED (?default)|\b(?alt:reserved.txt)\b
13
+ TYPE (?default)
14
+
15
+ ENTITY (?default)|(\.[a-z_]\w*\b)
16
+ VARIABLE (?default)|(\$[a-z_]\w*\b)
17
+ IDENTIFIER (?default)
18
+ CONSTANT (?default)
19
+ OPERATOR (?default)
20
+ SYMBOL (?default)
langs/c/statement.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ until
2
+ esac
3
+ done
4
+ elif
5
+ fi
log.txt CHANGED
@@ -1,530 +0,0 @@
1
- The log has been truncated since it exceeded 50000 bytes.
2
- ------------------------------------------------------------------------------
3
- 2:05:42 PM - 23 Nov 2011
4
- string(18) "get_used_theme_css"
5
- ------------------------------------------------------------------------------
6
- [used] 2:05:42 PM - 23 Nov 2011
7
- array(3) {
8
- [0]=>
9
- object(CrayonUsedResource)#222 (3) {
10
- ["used:private"]=>
11
- bool(true)
12
- ["id:private"]=>
13
- string(7) "classic"
14
- ["name:private"]=>
15
- string(7) "Classic"
16
- }
17
- [1]=>
18
- object(CrayonUsedResource)#221 (3) {
19
- ["used:private"]=>
20
- bool(true)
21
- ["id:private"]=>
22
- string(9) "epicgeeks"
23
- ["name:private"]=>
24
- string(9) "Epicgeeks"
25
- }
26
- [2]=>
27
- object(CrayonUsedResource)#220 (3) {
28
- ["used:private"]=>
29
- bool(true)
30
- ["id:private"]=>
31
- string(8) "twilight"
32
- ["name:private"]=>
33
- string(8) "Twilight"
34
- }
35
- }
36
- ------------------------------------------------------------------------------
37
- [url] 2:05:42 PM - 23 Nov 2011
38
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
39
- ------------------------------------------------------------------------------
40
- [url] 2:05:42 PM - 23 Nov 2011
41
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
42
- ------------------------------------------------------------------------------
43
- [url] 2:05:42 PM - 23 Nov 2011
44
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
45
- ------------------------------------------------------------------------------
46
- [css] 2:05:42 PM - 23 Nov 2011
47
- array(3) {
48
- ["classic"]=>
49
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
50
- ["epicgeeks"]=>
51
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
52
- ["twilight"]=>
53
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
54
- }
55
- ------------------------------------------------------------------------------
56
- 2:05:42 PM - 23 Nov 2011
57
- string(55) "The specified URL is empty, please provide a valid URL."
58
- ------------------------------------------------------------------------------
59
- ==============================================================================
60
- Crayon Syntax Highlighter Log Entry
61
- ==============================================================================
62
- 2:07:10 PM - 23 Nov 2011
63
- string(18) "get_used_theme_css"
64
- ------------------------------------------------------------------------------
65
- [used] 2:07:10 PM - 23 Nov 2011
66
- array(3) {
67
- [0]=>
68
- object(CrayonUsedResource)#222 (3) {
69
- ["used:private"]=>
70
- bool(true)
71
- ["id:private"]=>
72
- string(7) "classic"
73
- ["name:private"]=>
74
- string(7) "Classic"
75
- }
76
- [1]=>
77
- object(CrayonUsedResource)#221 (3) {
78
- ["used:private"]=>
79
- bool(true)
80
- ["id:private"]=>
81
- string(9) "epicgeeks"
82
- ["name:private"]=>
83
- string(9) "Epicgeeks"
84
- }
85
- [2]=>
86
- object(CrayonUsedResource)#220 (3) {
87
- ["used:private"]=>
88
- bool(true)
89
- ["id:private"]=>
90
- string(8) "twilight"
91
- ["name:private"]=>
92
- string(8) "Twilight"
93
- }
94
- }
95
- ------------------------------------------------------------------------------
96
- [url] 2:07:10 PM - 23 Nov 2011
97
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
98
- ------------------------------------------------------------------------------
99
- [url] 2:07:10 PM - 23 Nov 2011
100
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
101
- ------------------------------------------------------------------------------
102
- [url] 2:07:10 PM - 23 Nov 2011
103
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
104
- ------------------------------------------------------------------------------
105
- [css] 2:07:10 PM - 23 Nov 2011
106
- array(3) {
107
- ["classic"]=>
108
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
109
- ["epicgeeks"]=>
110
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
111
- ["twilight"]=>
112
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
113
- }
114
- ------------------------------------------------------------------------------
115
- 2:07:10 PM - 23 Nov 2011
116
- string(55) "The specified URL is empty, please provide a valid URL."
117
- ------------------------------------------------------------------------------
118
- ==============================================================================
119
- Crayon Syntax Highlighter Log Entry
120
- ==============================================================================
121
- 2:07:43 PM - 23 Nov 2011
122
- string(18) "get_used_theme_css"
123
- ------------------------------------------------------------------------------
124
- [used] 2:07:43 PM - 23 Nov 2011
125
- array(3) {
126
- [0]=>
127
- object(CrayonUsedResource)#222 (3) {
128
- ["used:private"]=>
129
- bool(true)
130
- ["id:private"]=>
131
- string(7) "classic"
132
- ["name:private"]=>
133
- string(7) "Classic"
134
- }
135
- [1]=>
136
- object(CrayonUsedResource)#221 (3) {
137
- ["used:private"]=>
138
- bool(true)
139
- ["id:private"]=>
140
- string(9) "epicgeeks"
141
- ["name:private"]=>
142
- string(9) "Epicgeeks"
143
- }
144
- [2]=>
145
- object(CrayonUsedResource)#220 (3) {
146
- ["used:private"]=>
147
- bool(true)
148
- ["id:private"]=>
149
- string(8) "twilight"
150
- ["name:private"]=>
151
- string(8) "Twilight"
152
- }
153
- }
154
- ------------------------------------------------------------------------------
155
- [url] 2:07:43 PM - 23 Nov 2011
156
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
157
- ------------------------------------------------------------------------------
158
- [url] 2:07:43 PM - 23 Nov 2011
159
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
160
- ------------------------------------------------------------------------------
161
- [url] 2:07:43 PM - 23 Nov 2011
162
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
163
- ------------------------------------------------------------------------------
164
- [css] 2:07:43 PM - 23 Nov 2011
165
- array(3) {
166
- ["classic"]=>
167
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
168
- ["epicgeeks"]=>
169
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
170
- ["twilight"]=>
171
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
172
- }
173
- ------------------------------------------------------------------------------
174
- 2:07:43 PM - 23 Nov 2011
175
- string(55) "The specified URL is empty, please provide a valid URL."
176
- ------------------------------------------------------------------------------
177
- ==============================================================================
178
- Crayon Syntax Highlighter Log Entry
179
- ==============================================================================
180
- 2:07:50 PM - 23 Nov 2011
181
- string(18) "get_used_theme_css"
182
- ------------------------------------------------------------------------------
183
- [used] 2:07:50 PM - 23 Nov 2011
184
- array(3) {
185
- [0]=>
186
- object(CrayonUsedResource)#222 (3) {
187
- ["used:private"]=>
188
- bool(true)
189
- ["id:private"]=>
190
- string(7) "classic"
191
- ["name:private"]=>
192
- string(7) "Classic"
193
- }
194
- [1]=>
195
- object(CrayonUsedResource)#221 (3) {
196
- ["used:private"]=>
197
- bool(true)
198
- ["id:private"]=>
199
- string(9) "epicgeeks"
200
- ["name:private"]=>
201
- string(9) "Epicgeeks"
202
- }
203
- [2]=>
204
- object(CrayonUsedResource)#220 (3) {
205
- ["used:private"]=>
206
- bool(true)
207
- ["id:private"]=>
208
- string(8) "twilight"
209
- ["name:private"]=>
210
- string(8) "Twilight"
211
- }
212
- }
213
- ------------------------------------------------------------------------------
214
- [url] 2:07:50 PM - 23 Nov 2011
215
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
216
- ------------------------------------------------------------------------------
217
- [url] 2:07:50 PM - 23 Nov 2011
218
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
219
- ------------------------------------------------------------------------------
220
- [url] 2:07:50 PM - 23 Nov 2011
221
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
222
- ------------------------------------------------------------------------------
223
- [css] 2:07:50 PM - 23 Nov 2011
224
- array(3) {
225
- ["classic"]=>
226
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
227
- ["epicgeeks"]=>
228
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
229
- ["twilight"]=>
230
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
231
- }
232
- ------------------------------------------------------------------------------
233
- 2:07:50 PM - 23 Nov 2011
234
- string(55) "The specified URL is empty, please provide a valid URL."
235
- ------------------------------------------------------------------------------
236
- ==============================================================================
237
- Crayon Syntax Highlighter Log Entry
238
- ==============================================================================
239
- 2:07:55 PM - 23 Nov 2011
240
- string(18) "get_used_theme_css"
241
- ------------------------------------------------------------------------------
242
- [used] 2:07:55 PM - 23 Nov 2011
243
- array(3) {
244
- [0]=>
245
- object(CrayonUsedResource)#222 (3) {
246
- ["used:private"]=>
247
- bool(true)
248
- ["id:private"]=>
249
- string(7) "classic"
250
- ["name:private"]=>
251
- string(7) "Classic"
252
- }
253
- [1]=>
254
- object(CrayonUsedResource)#221 (3) {
255
- ["used:private"]=>
256
- bool(true)
257
- ["id:private"]=>
258
- string(9) "epicgeeks"
259
- ["name:private"]=>
260
- string(9) "Epicgeeks"
261
- }
262
- [2]=>
263
- object(CrayonUsedResource)#220 (3) {
264
- ["used:private"]=>
265
- bool(true)
266
- ["id:private"]=>
267
- string(8) "twilight"
268
- ["name:private"]=>
269
- string(8) "Twilight"
270
- }
271
- }
272
- ------------------------------------------------------------------------------
273
- [url] 2:07:55 PM - 23 Nov 2011
274
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
275
- ------------------------------------------------------------------------------
276
- [url] 2:07:55 PM - 23 Nov 2011
277
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
278
- ------------------------------------------------------------------------------
279
- [url] 2:07:55 PM - 23 Nov 2011
280
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
281
- ------------------------------------------------------------------------------
282
- [css] 2:07:55 PM - 23 Nov 2011
283
- array(3) {
284
- ["classic"]=>
285
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
286
- ["epicgeeks"]=>
287
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
288
- ["twilight"]=>
289
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
290
- }
291
- ------------------------------------------------------------------------------
292
- 2:07:55 PM - 23 Nov 2011
293
- string(55) "The specified URL is empty, please provide a valid URL."
294
- ------------------------------------------------------------------------------
295
- ==============================================================================
296
- Crayon Syntax Highlighter Log Entry
297
- ==============================================================================
298
- 2:08:19 PM - 23 Nov 2011
299
- string(18) "get_used_theme_css"
300
- ------------------------------------------------------------------------------
301
- [used] 2:08:19 PM - 23 Nov 2011
302
- array(3) {
303
- [0]=>
304
- object(CrayonUsedResource)#222 (3) {
305
- ["used:private"]=>
306
- bool(true)
307
- ["id:private"]=>
308
- string(7) "classic"
309
- ["name:private"]=>
310
- string(7) "Classic"
311
- }
312
- [1]=>
313
- object(CrayonUsedResource)#221 (3) {
314
- ["used:private"]=>
315
- bool(true)
316
- ["id:private"]=>
317
- string(9) "epicgeeks"
318
- ["name:private"]=>
319
- string(9) "Epicgeeks"
320
- }
321
- [2]=>
322
- object(CrayonUsedResource)#220 (3) {
323
- ["used:private"]=>
324
- bool(true)
325
- ["id:private"]=>
326
- string(8) "twilight"
327
- ["name:private"]=>
328
- string(8) "Twilight"
329
- }
330
- }
331
- ------------------------------------------------------------------------------
332
- [url] 2:08:19 PM - 23 Nov 2011
333
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
334
- ------------------------------------------------------------------------------
335
- [url] 2:08:19 PM - 23 Nov 2011
336
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
337
- ------------------------------------------------------------------------------
338
- [url] 2:08:19 PM - 23 Nov 2011
339
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
340
- ------------------------------------------------------------------------------
341
- [css] 2:08:19 PM - 23 Nov 2011
342
- array(3) {
343
- ["classic"]=>
344
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
345
- ["epicgeeks"]=>
346
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
347
- ["twilight"]=>
348
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
349
- }
350
- ------------------------------------------------------------------------------
351
- 2:08:19 PM - 23 Nov 2011
352
- string(55) "The specified URL is empty, please provide a valid URL."
353
- ------------------------------------------------------------------------------
354
- ==============================================================================
355
- Crayon Syntax Highlighter Log Entry
356
- ==============================================================================
357
- 2:08:29 PM - 23 Nov 2011
358
- string(18) "get_used_theme_css"
359
- ------------------------------------------------------------------------------
360
- [used] 2:08:29 PM - 23 Nov 2011
361
- array(3) {
362
- [0]=>
363
- object(CrayonUsedResource)#222 (3) {
364
- ["used:private"]=>
365
- bool(true)
366
- ["id:private"]=>
367
- string(7) "classic"
368
- ["name:private"]=>
369
- string(7) "Classic"
370
- }
371
- [1]=>
372
- object(CrayonUsedResource)#221 (3) {
373
- ["used:private"]=>
374
- bool(true)
375
- ["id:private"]=>
376
- string(9) "epicgeeks"
377
- ["name:private"]=>
378
- string(9) "Epicgeeks"
379
- }
380
- [2]=>
381
- object(CrayonUsedResource)#220 (3) {
382
- ["used:private"]=>
383
- bool(true)
384
- ["id:private"]=>
385
- string(8) "twilight"
386
- ["name:private"]=>
387
- string(8) "Twilight"
388
- }
389
- }
390
- ------------------------------------------------------------------------------
391
- [url] 2:08:29 PM - 23 Nov 2011
392
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
393
- ------------------------------------------------------------------------------
394
- [url] 2:08:29 PM - 23 Nov 2011
395
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
396
- ------------------------------------------------------------------------------
397
- [url] 2:08:29 PM - 23 Nov 2011
398
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
399
- ------------------------------------------------------------------------------
400
- [css] 2:08:29 PM - 23 Nov 2011
401
- array(3) {
402
- ["classic"]=>
403
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
404
- ["epicgeeks"]=>
405
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
406
- ["twilight"]=>
407
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
408
- }
409
- ------------------------------------------------------------------------------
410
- 2:08:29 PM - 23 Nov 2011
411
- string(55) "The specified URL is empty, please provide a valid URL."
412
- ------------------------------------------------------------------------------
413
- ==============================================================================
414
- Crayon Syntax Highlighter Log Entry
415
- ==============================================================================
416
- 2:10:00 PM - 23 Nov 2011
417
- string(18) "get_used_theme_css"
418
- ------------------------------------------------------------------------------
419
- [used] 2:10:00 PM - 23 Nov 2011
420
- array(3) {
421
- [0]=>
422
- object(CrayonUsedResource)#122 (3) {
423
- ["used:private"]=>
424
- bool(true)
425
- ["id:private"]=>
426
- string(7) "classic"
427
- ["name:private"]=>
428
- string(7) "Classic"
429
- }
430
- [1]=>
431
- object(CrayonUsedResource)#123 (3) {
432
- ["used:private"]=>
433
- bool(true)
434
- ["id:private"]=>
435
- string(9) "epicgeeks"
436
- ["name:private"]=>
437
- string(9) "Epicgeeks"
438
- }
439
- [2]=>
440
- object(CrayonUsedResource)#124 (3) {
441
- ["used:private"]=>
442
- bool(true)
443
- ["id:private"]=>
444
- string(8) "twilight"
445
- ["name:private"]=>
446
- string(8) "Twilight"
447
- }
448
- }
449
- ------------------------------------------------------------------------------
450
- [url] 2:10:00 PM - 23 Nov 2011
451
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
452
- ------------------------------------------------------------------------------
453
- [url] 2:10:00 PM - 23 Nov 2011
454
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
455
- ------------------------------------------------------------------------------
456
- [url] 2:10:00 PM - 23 Nov 2011
457
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
458
- ------------------------------------------------------------------------------
459
- [css] 2:10:00 PM - 23 Nov 2011
460
- array(3) {
461
- ["classic"]=>
462
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
463
- ["epicgeeks"]=>
464
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
465
- ["twilight"]=>
466
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
467
- }
468
- ------------------------------------------------------------------------------
469
- 2:10:00 PM - 23 Nov 2011
470
- string(55) "The specified URL is empty, please provide a valid URL."
471
- ------------------------------------------------------------------------------
472
- ==============================================================================
473
- Crayon Syntax Highlighter Log Entry
474
- ==============================================================================
475
- 2:46:10 PM - 23 Nov 2011
476
- string(18) "get_used_theme_css"
477
- ------------------------------------------------------------------------------
478
- [used] 2:46:10 PM - 23 Nov 2011
479
- array(3) {
480
- [0]=>
481
- object(CrayonUsedResource)#221 (3) {
482
- ["used:private"]=>
483
- bool(true)
484
- ["id:private"]=>
485
- string(7) "classic"
486
- ["name:private"]=>
487
- string(7) "Classic"
488
- }
489
- [1]=>
490
- object(CrayonUsedResource)#220 (3) {
491
- ["used:private"]=>
492
- bool(true)
493
- ["id:private"]=>
494
- string(9) "epicgeeks"
495
- ["name:private"]=>
496
- string(9) "Epicgeeks"
497
- }
498
- [2]=>
499
- object(CrayonUsedResource)#219 (3) {
500
- ["used:private"]=>
501
- bool(true)
502
- ["id:private"]=>
503
- string(8) "twilight"
504
- ["name:private"]=>
505
- string(8) "Twilight"
506
- }
507
- }
508
- ------------------------------------------------------------------------------
509
- [url] 2:46:10 PM - 23 Nov 2011
510
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
511
- ------------------------------------------------------------------------------
512
- [url] 2:46:10 PM - 23 Nov 2011
513
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
514
- ------------------------------------------------------------------------------
515
- [url] 2:46:10 PM - 23 Nov 2011
516
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
517
- ------------------------------------------------------------------------------
518
- [css] 2:46:10 PM - 23 Nov 2011
519
- array(3) {
520
- ["classic"]=>
521
- string(95) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css"
522
- ["epicgeeks"]=>
523
- string(99) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/epicgeeks/epicgeeks.css"
524
- ["twilight"]=>
525
- string(97) "http://localhost/crayon/wp-content/plugins/crayon-syntax-highlighter/themes/twilight/twilight.css"
526
- }
527
- ------------------------------------------------------------------------------
528
- 2:46:10 PM - 23 Nov 2011
529
- string(55) "The specified URL is empty, please provide a valid URL."
530
- ------------------------------------------------------------------------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://ak.net84.net/
4
  Tags: syntax highlighter, syntax, highlighter, highlighting, crayon, code highlighter
5
  Requires at least: 3.0
6
  Tested up to: 3.3
7
- Stable tag: 1.5.3
8
 
9
  Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
10
 
@@ -90,6 +90,10 @@ Contact me at http://twitter.com/crayonsyntax or crayon.syntax@gmail.com.
90
 
91
  == Changelog ==
92
 
 
 
 
 
93
  = 1.5.3 =
94
  * Fixed issue with incorrectly specified theme causing crash
95
  * Email Developer improved
4
  Tags: syntax highlighter, syntax, highlighter, highlighting, crayon, code highlighter
5
  Requires at least: 3.0
6
  Tested up to: 3.3
7
+ Stable tag: 1.5.4
8
 
9
  Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
10
 
90
 
91
  == Changelog ==
92
 
93
+ = 1.5.4 =
94
+ * Recommended update for everyone
95
+ * Fixed a bug that caused the default theme not to load if was anything but "classic" - Thanks to Ralph!
96
+
97
  = 1.5.3 =
98
  * Fixed issue with incorrectly specified theme causing crash
99
  * Email Developer improved