Postie - Version 1.6.9

Version Description

(2014.12.1) = * Post status list is now read from WordPress settings, rather than being a hard-coded list. * Settings look & feel matching WP default style. * Testing against WP 4.0.1

Download this release

Release Info

Developer WayneAllen
Plugin Icon 128x128 Postie
Version 1.6.9
Comparing to
See all releases

Code changes from version 1.6.8 to 1.6.9

Files changed (7) hide show
  1. config_form.php +96 -124
  2. css/style.css +1 -2
  3. docs/Changes.txt +5 -0
  4. docs/Postie.txt +2 -2
  5. postie-functions.php +13 -10
  6. postie.php +3 -3
  7. readme.txt +7 -2
config_form.php CHANGED
@@ -128,60 +128,57 @@
128
  <table class='form-table'>
129
 
130
  <tr>
131
- <th scope="row"><?php _e('Mail Protocol:', 'postie') ?> </th>
132
- <td>
133
- <select name='postie-settings[input_protocol]' id='postie-settings-input_protocol'>
134
- <option value="pop3" <?php echo (($input_protocol == "pop3") ? " selected='selected' " : "") ?>>POP3</option>
135
- <?php if (HasIMAPSupport(false)): ?>
136
- <option value="imap" <?php echo ($input_protocol == "imap") ? "selected='selected' " : "" ?>>IMAP</option>
137
- <option value="pop3-ssl" <?php echo ($input_protocol == "pop3-ssl") ? "selected='selected' " : "" ?>>POP3-SSL</option>
138
- <option value="imap-ssl" <?php echo ($input_protocol == "imap-ssl") ? "selected='selected' " : "" ?>>IMAP-SSL</option>
139
- <?php endif; ?>
140
- </select>
141
- <?php if (!HasIMAPSupport(false)): ?>
142
- <span class="recommendation">IMAP/IMAP-SSL/POP3-SSL unavailable</span>
143
  <?php endif; ?>
144
- </td>
 
 
 
 
145
  </tr>
146
 
147
  <?php echo BuildBooleanSelect(__("Use Transport Layer Security (TLS)", "postie"), 'postie-settings[email_tls]', $email_tls, __("Choose Yes if your server requres TLS", "postie")); ?>
148
 
149
  <tr>
150
- <th scope="row"><?php _e('Port:', 'postie') ?><br />
151
- <span class='recommendation'><?php _e("Standard Ports:", 'postie'); ?><br />
 
 
152
  <?php _e("POP3", 'postie'); ?> - 110<br />
153
  <?php _e("IMAP", 'postie'); ?> - 143<br />
154
  <?php _e("IMAP-SSL", 'postie'); ?>- 993 <br />
155
  <?php _e("POP3-SSL", 'postie'); ?> - 995 <br />
156
- </span>
157
- </th>
158
- <td valign="top">
159
- <br/><input name='postie-settings[mail_server_port]' style="width: 70px;" type="number" min="0" id='postie-settings-mail_server_port' value="<?php echo esc_attr($mail_server_port); ?>" size="6" />
160
  </td>
161
  </tr>
162
  <tr valign="top">
163
- <th scope="row"><?php _e('Mail Server:', 'postie') ?></th>
164
  <td><input name='postie-settings[mail_server]' type="text" id='postie-settings-mail_server' value="<?php echo esc_attr($mail_server); ?>" size="40" />
165
  </td>
166
  </tr>
167
  <tr valign="top">
168
- <th width="33%" scope="row"><?php _e('Mail Userid:', 'postie') ?></th>
169
  <td><input name='postie-settings[mail_userid]' type="text" id='postie-settings-mail_userid' autocomplete='off' value="<?php echo esc_attr($mail_userid); ?>" size="40" /></td>
170
  </tr>
171
  <tr valign="top">
172
- <th scope="row"><?php _e('Mail Password:', 'postie') ?></th>
173
  <td>
174
  <input name='postie-settings[mail_password]' type="password" id='postie-settings-mail_password' autocomplete='off' value="<?php echo esc_attr($mail_password); ?>" size="40" />
175
  </td>
176
  </tr>
177
  <tr>
178
- <th scope="row"><?php _e('Postie Time Correction:', 'postie') ?>
179
- <br />
180
- <span class='recommendation'><?php _e("Should be the same as your normal offset, but this lets you adjust it in cases where that doesn't work.", 'postie'); ?></span>
181
  </th>
182
  <td><input style="width: 50px;" name='postie-settings[time_offset]' type="number" id='postie-settings-time_offset' size="2" value="<?php echo esc_attr($time_offset); ?>" />
183
  <?php _e('hours', 'postie') ?>
184
-
185
  </td>
186
  </tr>
187
  <tr>
@@ -230,7 +227,7 @@
230
  </tr>
231
  <tr>
232
  <th>
233
- <?php _e('Maximum number of emails to process:', 'postie'); ?>
234
  </th>
235
  <td>
236
  <select name='postie-settings[maxemails]' id='postie-settings-maxemails'>
@@ -254,11 +251,9 @@
254
  <?php echo BuildBooleanSelect(__("Allow Anyone To Post Via Email", "postie"), "postie-settings[turn_authorization_off]", $turn_authorization_off, __("Changing this to yes <b style='color: red'>is not recommended</b> - anything that gets sent in will automatically be posted.", "postie")); ?>
255
  <tr>
256
  <th scope="row">
257
- <?php _e('Roles That Can Post:', 'postie') ?><br />
258
- <span class='recommendation'><?php _e("This allows you to grant access to other users to post if they have the proper access level. Administrators can always post.", 'postie'); ?></span>
259
  </th>
260
  <td>
261
- <br />
262
  <table class="checkbox-table">
263
  <?php
264
  foreach ($wp_roles->role_names as $roleId => $name) {
@@ -284,16 +279,15 @@
284
  }
285
  }
286
  ?>
 
 
287
  </table>
288
  </td>
289
  </tr>
290
 
291
  <?php echo BuildTextArea(__("Authorized Addresses", "postie"), "postie-settings[authorized_addresses]", $authorized_addresses, __("Put each email address on a single line. Posts from emails in this list will be treated as if they came from the admin. If you would prefer to have users post under their own name - create a WordPress user with the correct access level.", "postie")); ?>
292
  <tr>
293
- <th width="33%" valign="top" scope="row">
294
- <?php _e('Default Poster:', 'postie') ?> <br />
295
- <span class='recommendation'><?php _e("This will be the poster if you allow posting from emails that are not a registered blog user.", 'postie'); ?></span>
296
- </th>
297
  <td>
298
  <select name='postie-settings[admin_username]' id='postie-settings[admin_username]'>
299
  <?php
@@ -307,6 +301,7 @@
307
  }
308
  ?>
309
  </select>
 
310
  </td>
311
  </tr>
312
  </table>
@@ -315,7 +310,7 @@
315
  <div id = "simpleTabs-content-3" class = "simpleTabs-content">
316
  <table class = 'form-table'>
317
  <tr valign = "top">
318
- <th scope = "row"><?php _e('Default post by mail category:', 'postie') ?></th>
319
  <td>
320
  <?php
321
  $defaultCat = $default_post_category;
@@ -323,50 +318,40 @@
323
  wp_dropdown_categories($args);
324
  ?>
325
  </tr>
326
- <?php echo BuildBooleanSelect(__("Match short category", "postie") , "postie-settings[category_match]", $category_match, __("Try to match categories using 'starts with logic' otherwise only do exact matches.<br />Note that custom taxonomies will not be found if this setting is 'No'", "postie")); ?>
327
 
328
  <tr valign="top">
329
  <th scope="row">
330
  <?php _e('Default post by mail tag(s)', 'postie') ?>:<br />
331
- <span
332
- class='recommendation'><?php _e('separated by commas', 'postie') ?>
333
- </span>
334
  </th>
335
  <td>
336
  <input type='text' name='postie-settings[default_post_tags]' id='postie-settings-default_post_tags' value='<?php echo esc_attr($default_post_tags) ?>' />
 
337
  </td>
338
  </tr>
339
 
340
  <tr>
341
- <th width="33%" valign="top" scope="row"><?php _e('Default Post Status:', 'postie') ?> </th>
342
  <td>
343
- <select name='postie-settings[post_status]' id='postie-settings-post_status'>
344
- <option value="publish" <?php
345
- if ($post_status == "publish") {
346
- echo "selected";
347
- }
348
- ?>><?php _e('Published', 'postie') ?></option>
349
- <option value="draft" <?php
350
- if ($post_status == "draft") {
351
- echo "selected";
352
- }
353
- ?>><?php _e('Draft', 'postie') ?></option>
354
- <option value="pending" <?php
355
- if ($post_status == "pending") {
356
- echo "selected";
357
- }
358
- ?>><?php _e('Pending Review', 'postie') ?></option>
359
- <option value="private" <?php
360
- if ($post_status == "private") {
361
- echo "selected";
362
  }
363
- ?>><?php _e('Private', 'postie') ?></option>
364
  </select>
365
  </td>
366
  </tr>
367
 
368
  <tr>
369
- <th width="33%" valign="top" scope="row"><?php _e('Default Post Format:', 'postie') ?> </th>
370
  <td>
371
  <select name='postie-settings[post_format]' id='postie-settings-post_format'>
372
  <?php
@@ -390,7 +375,7 @@
390
  </tr>
391
 
392
  <tr>
393
- <th width="33%" valign="top" scope="row"><?php _e('Default Post Type:', 'postie') ?> </th>
394
  <td>
395
  <select name='postie-settings[post_type]' id='postie-settings-post_type'>
396
  <?php
@@ -409,13 +394,13 @@
409
  </tr>
410
 
411
  <tr>
412
- <th width="33%" valign="top" scope="row"><?php _e('Default Title:', 'postie') ?> </th>
413
  <td>
414
  <input name='postie-settings[default_title]' type="text" id='postie-settings-default_title' value="<?php echo esc_attr($default_title); ?>" size="50" /><br />
415
  </td>
416
  </tr>
417
  <tr>
418
- <th width="33%" valign="top" scope="row"><?php _e('Preferred Text Type:', 'postie') ?> </th>
419
  <td>
420
  <select name='postie-settings[prefer_text_type]' id='postie-settings-prefer_text_type'>
421
  <?php printf('<option value="plain" %s>plain</option>', ($prefer_text_type == "plain") ? "selected" : "") ?>
@@ -428,17 +413,17 @@
428
  <?php echo BuildBooleanSelect(__("Allow HTML In Mail Subject", "postie"), "postie-settings[allow_html_in_subject]", $allow_html_in_subject); ?>
429
  <?php echo BuildBooleanSelect(__("Allow HTML In Mail Body", "postie"), "postie-settings[allow_html_in_body]", $allow_html_in_body); ?>
430
  <tr>
431
- <th width="33%" valign="top" scope="row"><?php _e('Tag Of Message Start:', 'postie') ?> <br />
432
- <span class='recommendation'><?php _e('Use to remove any text from a message that the email provider puts at the top of the message', 'postie') ?></span></th>
433
  <td>
434
  <input name='postie-settings[message_start]' type="text" id='postie-settings-message_start' value="<?php echo esc_attr($message_start); ?>" size="50" /><br />
 
435
  </td>
436
  </tr>
437
  <tr>
438
- <th width="33%" valign="top" scope="row"><?php _e('Tag Of Message End:', 'postie') ?> <br />
439
- <span class='recommendation'><?php _e('Use to remove any text from a message that the email provider puts at the end of the message', 'postie') ?></span></th>
440
  <td>
441
  <input name='postie-settings[message_end]' type="text" id='postie-settings-message_end' value="<?php echo esc_attr($message_end); ?>" size="50" /><br />
 
442
  </td>
443
  </tr>
444
 
@@ -467,11 +452,11 @@
467
  echo BuildBooleanSelect(__("Use shortcode for embedding video (youtube and others)", "postie"), "postie-settings[shortcode]", $shortcode);
468
  ?>
469
  <tr>
470
- <th width="33%" valign="top" scope="row"><?php _e('Encoding for pages and feeds:', 'postie') ?> <br />
471
- <span class='recommendation'><?php _e('The character set for your blog.', 'postie') ?></span></th>
472
  <td>
473
  <input name='postie-settings[message_encoding]' type="text" id='postie-settings-message_encoding' value="<?php echo esc_attr($message_encoding); ?>" size="10" />
474
- <span class='recommendation'>UTF-8 <?php _e("should handle ISO-8859-1 as well", 'postie'); ?></span>
 
475
  </td>
476
  </tr>
477
  <?php echo BuildBooleanSelect(__("Decode Quoted Printable Data", "postie"), "postie-settings[message_dequote]", $message_dequote); ?>
@@ -482,6 +467,7 @@
482
  <?php echo BuildTextArea(__("Allowed SMTP servers", "postie"), "postie-settings[smtp]", $smtp, __("Only allow messages which have been sent throught the following smtp servers. Put each server on a separate line. Leave blank to not check smtp servers.", "postie")); ?>
483
  </table>
484
  </div>
 
485
  <div id="simpleTabs-content-4" class="simpleTabs-content">
486
  <table class='form-table'>
487
 
@@ -493,19 +479,14 @@
493
  echo BuildBooleanSelect(__("Generate Thumbnails", "postie"), "postie-settings[generate_thumbnails]", $generate_thumbnails, __("Some hosts crash during thumbnail generation. Set this to 'No' if you have this issue.", "postie"));
494
  ?>
495
  <tr>
496
- <th width="33%" valign="top" scope="row"><?php _e('Image Place Holder Tag:', 'postie') ?> <br />
497
- <span class='recommendation'><?php _e("For use in 'plain' messages. The code for inserting an image. I.e. put \"#img1# in your email where you want the first image to show. See also \"Start Image Count At\"" , 'postie') ?></span>
498
- </th>
499
  <td>
500
  <input name='postie-settings[image_placeholder]' type="text" id='postie-settings-image_placeholder' value="<?php echo esc_attr($image_placeholder); ?>" size="50" /><br />
 
501
  </td>
502
  </tr>
503
  <tr>
504
- <th width="33%" valign="top" scope="row"><?php _e('Image Template', 'postie') ?>:<br />
505
- <span class='recommendation'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie'); ?></span><br /><br />
506
- <span class='recommendation'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></span><br /><br />
507
- <span class='recommendation'><?php _e('Sizes for thumbnail, medium, and large images can be chosen in the <a href="options-media.php">Media Settings</a>. The samples here use the default sizes, and will not reflect the sizes you have chosen.', 'postie'); ?></span>
508
- </th>
509
  <td>
510
  <input type='hidden' id='postie-settings-selected_imagetemplate' name='postie-settings[selected_imagetemplate]'
511
  value="<?php echo esc_attr($selected_imagetemplate) ?>" />
@@ -531,9 +512,10 @@
531
  }
532
  ?>
533
  </select>
534
- <div>
535
- <?php _e('Preview', 'postie'); ?>
536
- </div>
 
537
  <div id='imageTemplatePreview'></div>
538
  <textarea onchange='changeStyle("imageTemplatePreview", "postie-settings-imagetemplate", "imagetemplateselect",
539
  "postie-settings-selected_imagetemplate", "smiling.jpg", true);' cols='70' rows='7' id='postie-settings-imagetemplate' name='postie-settings[imagetemplate]'>
@@ -579,10 +561,7 @@
579
  <table class='form-table'>
580
 
581
  <tr>
582
- <th scope='row'><?php _e('Video template 1', 'postie') ?>:<br />
583
- <span class='recommendation'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie') ?></span><br />
584
- <span class='recommendation'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></span><br />
585
- </th>
586
  <?php $templateDir = get_option('siteurl') . '/' . PLUGINDIR . '/postie/templates'; ?>
587
  <td>
588
  <input type='hidden' id='postie-settings-selected_video1template' name='postie-settings[selected_video1template]'
@@ -608,9 +587,10 @@
608
  }
609
  ?>
610
  </select>
611
- <div>
612
- <?php _e('Preview', 'postie'); ?>
613
- </div>
 
614
  <div id='video1TemplatePreview'></div>
615
  <textarea onchange="changeStyle('video1TemplatePreview', 'postie-settings-video1template',
616
  'video1templateselect', 'postie-settings-selected_video1template', 'hi.mp4', true);" cols='70' rows='7' id='postie-settings-video1template'
@@ -618,20 +598,17 @@
618
  </td>
619
  </tr>
620
  <tr>
621
- <th width="33%" valign="top" scope="row">
622
- <?php _e('Video 1 file extensions:', 'postie') ?><br /><span class='recommendation'>
623
- <?php _e('Use video template 1 for files with these extensions (separated by commas)', 'postie') ?></span> </th>
624
  <td>
625
  <br/><input name='postie-settings[video1types]' type="text" id='postie-settings-video1types'
626
  value="<?php if ($video1types != '') echo esc_attr($video1types); ?>" size="40" />
 
 
627
  </td>
628
  </tr>
629
  <tr><td colspan="2"><hr /></td></tr>
630
  <tr>
631
- <th scope='row'><?php _e('Video template 2', 'postie') ?>:<br />
632
- <span class='recommendation'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie') ?></span><br/>
633
- <span class='recommendation'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></span><br />
634
- </th>
635
  <td>
636
  <input type='hidden' id='postie-settings-selected_video2template' name='postie-settings[selected_video2template]'
637
  value="<?php echo esc_attr($selected_video2template) ?>" />
@@ -656,9 +633,10 @@
656
  }
657
  ?>
658
  </select>
659
- <div>
660
- <?php _e('Preview', 'postie'); ?>
661
- </div>
 
662
  <div id='video2TemplatePreview'></div>
663
  <textarea onchange="changeStyle('video2TemplatePreview', 'postie-settings-video2template',
664
  'video2templateselect', 'postie-settings-selected_video2template', 'hi.flv', true);" cols='70' rows='7' id='postie-settings-video2template'
@@ -668,22 +646,17 @@
668
  </td>
669
  </tr>
670
  <tr>
671
- <th width="33%" valign="top" scope="row">
672
- <?php _e('Video 2 file extensions:', 'postie') ?><br /><span class='recommendation'>
673
- <?php _e('Use video template 2 for files with these extensions (separated by commas)', 'postie') ?></span> <br />
674
- </th>
675
  <td>
676
  <br/><input name='postie-settings[video2types]' type="text" id='postie-settings-video2types'
677
  value="<?php if ($video2types != '') echo esc_attr($video2types); ?>" size="40" />
 
 
678
  </td>
679
  </tr>
680
  <tr><td colspan="2"><hr /></td></tr>
681
  <tr>
682
- <th scope='row'><?php _e('Audio template', 'postie') ?>:<br />
683
- <span class='recommendation'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie') ?></span>
684
- <br />
685
- <span class='recommendation'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></span><br />
686
- </th>
687
  <td>
688
  <input type='hidden' id='postie-settings-selected_audiotemplate' name='postie-settings[selected_audiotemplate]'
689
  value="<?php echo esc_attr($selected_audiotemplate) ?>" />
@@ -709,9 +682,10 @@
709
  }
710
  ?>
711
  </select>
712
- <div>
713
- <?php _e('Preview', 'postie'); ?>
714
- </div>
 
715
  <div id='audioTemplatePreview'></div>
716
  <textarea onchange="changeStyle('audioTemplatePreview', 'postie-settings-audiotemplate',
717
  'audiotemplateselect', 'postie-settings-selected_audiotemplate', 'funky.mp3', true);" cols='70' rows='7' id='postie-settings-audiotemplate'
@@ -719,22 +693,20 @@
719
  </td>
720
  </tr>
721
  <tr>
722
- <th width="33%" valign="top" scope="row">
723
- <?php _e('Audio file extensions:', 'postie') ?><br />
724
- <span class='recommendation'><?php _e('Use the audio template for files with these extensions (separated by commas)', 'postie') ?></span> <br />
725
-
726
- </th>
727
  <td>
728
- <br/><input name='postie-settings[audiotypes]' type="text" id='postie-settings-audiotypes' value="<?php echo esc_attr($audiotypes); ?>" size="40" />
 
729
  </td>
730
  </tr>
731
  </table>
732
  </div>
 
733
  <div id="simpleTabs-content-6" class="simpleTabs-content">
734
  <table class='form-table'>
735
 
736
  <tr>
737
- <th scope='row'><?php _e('Attachment icon set', 'postie') ?>:<br /></th>
738
  <td>
739
  <input type='hidden' id='postie-settings-icon_set' name='postie-settings[icon_set]'
740
  value="<?php echo esc_attr($icon_set) ?>" />
@@ -763,7 +735,7 @@
763
  </td>
764
  </tr>
765
  <tr>
766
- <th scope='row'><?php _e('Attachment icon size (in pixels)', 'postie') ?>:<br /></th>
767
  <td>
768
  <input type='hidden' id='postie-settings-icon_size' name='postie-settings[icon_size]'
769
  value="<?php echo esc_attr($icon_size) ?>" />
@@ -787,9 +759,6 @@
787
  </tr>
788
  <tr>
789
  <th scope='row'><?php _e('Attachment template', 'postie') ?>:<br />
790
- <span class='recommendation'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie') ?></span>
791
- <br />
792
- <span class='recommendation'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></span><br />
793
  </th>
794
  <td>
795
  <input type='hidden' id='postie-settings-selected_generaltemplate' name='postie-settings[selected_generaltemplate]'
@@ -815,7 +784,10 @@
815
  }
816
  ?>
817
  </select>
818
- <div>
 
 
 
819
  <?php _e('Preview', 'postie'); ?>
820
  </div>
821
  <div id='generalTemplatePreview'></div>
@@ -856,7 +828,7 @@
856
  <form id="postie-options" name="postie-options" method="post">
857
  <input type="hidden" name="action" value="reset" />
858
  <input name="Submit" value="<?php _e("Reset Settings To Defaults", 'postie') ?>" type="submit" class='button'>
859
- <span>&nbsp;<?php _e('(Your Mail server settings will be retained)' , 'postie') ?></span>
860
  </form>
861
  </div>
862
 
128
  <table class='form-table'>
129
 
130
  <tr>
131
+ <th scope="row"><lable for="postie-settings-input_protocol"><?php _e('Mail Protocol', 'postie') ?></lable></th>
132
+ <td>
133
+ <select name='postie-settings[input_protocol]' id='postie-settings-input_protocol'>
134
+ <option value="pop3" <?php echo (($input_protocol == "pop3") ? " selected='selected' " : "") ?>>POP3</option>
135
+ <?php if (HasIMAPSupport(false)): ?>
136
+ <option value="imap" <?php echo ($input_protocol == "imap") ? "selected='selected' " : "" ?>>IMAP</option>
137
+ <option value="pop3-ssl" <?php echo ($input_protocol == "pop3-ssl") ? "selected='selected' " : "" ?>>POP3-SSL</option>
138
+ <option value="imap-ssl" <?php echo ($input_protocol == "imap-ssl") ? "selected='selected' " : "" ?>>IMAP-SSL</option>
 
 
 
 
139
  <?php endif; ?>
140
+ </select>
141
+ <?php if (!HasIMAPSupport(false)): ?>
142
+ <span class="recommendation">IMAP/IMAP-SSL/POP3-SSL unavailable</span>
143
+ <?php endif; ?>
144
+ </td>
145
  </tr>
146
 
147
  <?php echo BuildBooleanSelect(__("Use Transport Layer Security (TLS)", "postie"), 'postie-settings[email_tls]', $email_tls, __("Choose Yes if your server requres TLS", "postie")); ?>
148
 
149
  <tr>
150
+ <th scope="row"><label for="postie-settings-mail_server_port"><?php _e('Port', 'postie') ?></label></th>
151
+ <td valign="top">
152
+ <input name='postie-settings[mail_server_port]' style="width: 70px;" type="number" min="0" id='postie-settings-mail_server_port' value="<?php echo esc_attr($mail_server_port); ?>" size="6" />
153
+ <p class='description'><?php _e("Standard Ports:", 'postie'); ?><br />
154
  <?php _e("POP3", 'postie'); ?> - 110<br />
155
  <?php _e("IMAP", 'postie'); ?> - 143<br />
156
  <?php _e("IMAP-SSL", 'postie'); ?>- 993 <br />
157
  <?php _e("POP3-SSL", 'postie'); ?> - 995 <br />
158
+ </p>
 
 
 
159
  </td>
160
  </tr>
161
  <tr valign="top">
162
+ <th scope="row"><?php _e('Mail Server', 'postie') ?></th>
163
  <td><input name='postie-settings[mail_server]' type="text" id='postie-settings-mail_server' value="<?php echo esc_attr($mail_server); ?>" size="40" />
164
  </td>
165
  </tr>
166
  <tr valign="top">
167
+ <th scope="row"><?php _e('Mail Userid', 'postie') ?></th>
168
  <td><input name='postie-settings[mail_userid]' type="text" id='postie-settings-mail_userid' autocomplete='off' value="<?php echo esc_attr($mail_userid); ?>" size="40" /></td>
169
  </tr>
170
  <tr valign="top">
171
+ <th scope="row"><?php _e('Mail Password', 'postie') ?></th>
172
  <td>
173
  <input name='postie-settings[mail_password]' type="password" id='postie-settings-mail_password' autocomplete='off' value="<?php echo esc_attr($mail_password); ?>" size="40" />
174
  </td>
175
  </tr>
176
  <tr>
177
+ <th scope="row"><?php _e('Postie Time Correction', 'postie') ?>
 
 
178
  </th>
179
  <td><input style="width: 50px;" name='postie-settings[time_offset]' type="number" id='postie-settings-time_offset' size="2" value="<?php echo esc_attr($time_offset); ?>" />
180
  <?php _e('hours', 'postie') ?>
181
+ <p class='description'><?php _e("Should be the same as your normal offset, but this lets you adjust it in cases where that doesn't work.", 'postie'); ?></p>
182
  </td>
183
  </tr>
184
  <tr>
227
  </tr>
228
  <tr>
229
  <th>
230
+ <?php _e('Maximum number of emails to process', 'postie'); ?>
231
  </th>
232
  <td>
233
  <select name='postie-settings[maxemails]' id='postie-settings-maxemails'>
251
  <?php echo BuildBooleanSelect(__("Allow Anyone To Post Via Email", "postie"), "postie-settings[turn_authorization_off]", $turn_authorization_off, __("Changing this to yes <b style='color: red'>is not recommended</b> - anything that gets sent in will automatically be posted.", "postie")); ?>
252
  <tr>
253
  <th scope="row">
254
+ <?php _e('Roles That Can Post', 'postie') ?><br />
 
255
  </th>
256
  <td>
 
257
  <table class="checkbox-table">
258
  <?php
259
  foreach ($wp_roles->role_names as $roleId => $name) {
279
  }
280
  }
281
  ?>
282
+ <p class='description'><?php _e("This allows you to grant access to other users to post if they have the proper access level. Administrators can always post.", 'postie'); ?></p>
283
+
284
  </table>
285
  </td>
286
  </tr>
287
 
288
  <?php echo BuildTextArea(__("Authorized Addresses", "postie"), "postie-settings[authorized_addresses]", $authorized_addresses, __("Put each email address on a single line. Posts from emails in this list will be treated as if they came from the admin. If you would prefer to have users post under their own name - create a WordPress user with the correct access level.", "postie")); ?>
289
  <tr>
290
+ <th scope="row"><?php _e('Default Poster', 'postie') ?></th>
 
 
 
291
  <td>
292
  <select name='postie-settings[admin_username]' id='postie-settings[admin_username]'>
293
  <?php
301
  }
302
  ?>
303
  </select>
304
+ <p class='description'><?php _e("This will be the poster if you allow posting from emails that are not a registered blog user.", 'postie'); ?></p>
305
  </td>
306
  </tr>
307
  </table>
310
  <div id = "simpleTabs-content-3" class = "simpleTabs-content">
311
  <table class = 'form-table'>
312
  <tr valign = "top">
313
+ <th scope = "row"><?php _e('Default post by mail category', 'postie') ?></th>
314
  <td>
315
  <?php
316
  $defaultCat = $default_post_category;
318
  wp_dropdown_categories($args);
319
  ?>
320
  </tr>
321
+ <?php echo BuildBooleanSelect(__("Match short category", "postie"), "postie-settings[category_match]", $category_match, __("Try to match categories using 'starts with logic' otherwise only do exact matches.<br />Note that custom taxonomies will not be found if this setting is 'No'", "postie")); ?>
322
 
323
  <tr valign="top">
324
  <th scope="row">
325
  <?php _e('Default post by mail tag(s)', 'postie') ?>:<br />
 
 
 
326
  </th>
327
  <td>
328
  <input type='text' name='postie-settings[default_post_tags]' id='postie-settings-default_post_tags' value='<?php echo esc_attr($default_post_tags) ?>' />
329
+ <p class='description'><?php _e('separated by commas', 'postie') ?></p>
330
  </td>
331
  </tr>
332
 
333
  <tr>
334
+ <th scope="row"><?php _e('Default Post Status', 'postie') ?> </th>
335
  <td>
336
+ <select name='postie-settings[post_status]' id='postie-settings-post_status'>
337
+ <?php
338
+ $stati = get_post_stati();
339
+ //DebugEcho($config['post_status']);
340
+ //DebugDump($stati);
341
+ foreach ($stati as $status) {
342
+ $selected = "";
343
+ if ($config['post_status'] == $status) {
344
+ $selected = " selected='selected'";
345
+ }
346
+ echo "<option value='$status'$selected>$status</option>";
 
 
 
 
 
 
 
 
347
  }
348
+ ?>
349
  </select>
350
  </td>
351
  </tr>
352
 
353
  <tr>
354
+ <th scope="row"><?php _e('Default Post Format', 'postie') ?> </th>
355
  <td>
356
  <select name='postie-settings[post_format]' id='postie-settings-post_format'>
357
  <?php
375
  </tr>
376
 
377
  <tr>
378
+ <th scope="row"><?php _e('Default Post Type', 'postie') ?> </th>
379
  <td>
380
  <select name='postie-settings[post_type]' id='postie-settings-post_type'>
381
  <?php
394
  </tr>
395
 
396
  <tr>
397
+ <th scope="row"><?php _e('Default Title', 'postie') ?> </th>
398
  <td>
399
  <input name='postie-settings[default_title]' type="text" id='postie-settings-default_title' value="<?php echo esc_attr($default_title); ?>" size="50" /><br />
400
  </td>
401
  </tr>
402
  <tr>
403
+ <th scope="row"><?php _e('Preferred Text Type', 'postie') ?> </th>
404
  <td>
405
  <select name='postie-settings[prefer_text_type]' id='postie-settings-prefer_text_type'>
406
  <?php printf('<option value="plain" %s>plain</option>', ($prefer_text_type == "plain") ? "selected" : "") ?>
413
  <?php echo BuildBooleanSelect(__("Allow HTML In Mail Subject", "postie"), "postie-settings[allow_html_in_subject]", $allow_html_in_subject); ?>
414
  <?php echo BuildBooleanSelect(__("Allow HTML In Mail Body", "postie"), "postie-settings[allow_html_in_body]", $allow_html_in_body); ?>
415
  <tr>
416
+ <th scope="row"><?php _e('Text for Message Start', 'postie') ?> </th>
 
417
  <td>
418
  <input name='postie-settings[message_start]' type="text" id='postie-settings-message_start' value="<?php echo esc_attr($message_start); ?>" size="50" /><br />
419
+ <p class='description'><?php _e('Use to remove any text from a message that the email provider puts at the top of the message', 'postie') ?></p>
420
  </td>
421
  </tr>
422
  <tr>
423
+ <th scope="row"><?php _e('Text for Message End', 'postie') ?> </th>
 
424
  <td>
425
  <input name='postie-settings[message_end]' type="text" id='postie-settings-message_end' value="<?php echo esc_attr($message_end); ?>" size="50" /><br />
426
+ <p class='description'><?php _e('Use to remove any text from a message that the email provider puts at the end of the message', 'postie') ?></p>
427
  </td>
428
  </tr>
429
 
452
  echo BuildBooleanSelect(__("Use shortcode for embedding video (youtube and others)", "postie"), "postie-settings[shortcode]", $shortcode);
453
  ?>
454
  <tr>
455
+ <th scope="row"><?php _e('Encoding for pages and feeds', 'postie') ?> </th>
 
456
  <td>
457
  <input name='postie-settings[message_encoding]' type="text" id='postie-settings-message_encoding' value="<?php echo esc_attr($message_encoding); ?>" size="10" />
458
+ <p class='description'><?php _e('The character set for your blog.', 'postie') ?></p>
459
+ <p class='description'>UTF-8 <?php _e("should handle ISO-8859-1 as well", 'postie'); ?></p>
460
  </td>
461
  </tr>
462
  <?php echo BuildBooleanSelect(__("Decode Quoted Printable Data", "postie"), "postie-settings[message_dequote]", $message_dequote); ?>
467
  <?php echo BuildTextArea(__("Allowed SMTP servers", "postie"), "postie-settings[smtp]", $smtp, __("Only allow messages which have been sent throught the following smtp servers. Put each server on a separate line. Leave blank to not check smtp servers.", "postie")); ?>
468
  </table>
469
  </div>
470
+
471
  <div id="simpleTabs-content-4" class="simpleTabs-content">
472
  <table class='form-table'>
473
 
479
  echo BuildBooleanSelect(__("Generate Thumbnails", "postie"), "postie-settings[generate_thumbnails]", $generate_thumbnails, __("Some hosts crash during thumbnail generation. Set this to 'No' if you have this issue.", "postie"));
480
  ?>
481
  <tr>
482
+ <th scope="row"><?php _e('Image Place Holder Tag', 'postie') ?></th>
 
 
483
  <td>
484
  <input name='postie-settings[image_placeholder]' type="text" id='postie-settings-image_placeholder' value="<?php echo esc_attr($image_placeholder); ?>" size="50" /><br />
485
+ <p class='description'><?php _e("For use in 'plain' messages. The code for inserting an image. I.e. put \"#img1# in your email where you want the first image to show. See also \"Start Image Count At\"", 'postie') ?></p>
486
  </td>
487
  </tr>
488
  <tr>
489
+ <th scope="row"><?php _e('Image Template', 'postie') ?></th>
 
 
 
 
490
  <td>
491
  <input type='hidden' id='postie-settings-selected_imagetemplate' name='postie-settings[selected_imagetemplate]'
492
  value="<?php echo esc_attr($selected_imagetemplate) ?>" />
512
  }
513
  ?>
514
  </select>
515
+ <p class='description'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie'); ?></p>
516
+ <p class='description'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></p>
517
+ <p class='description'><?php _e('Sizes for thumbnail, medium, and large images can be chosen in the <a href="options-media.php">Media Settings</a>. The samples here use the default sizes, and will not reflect the sizes you have chosen.', 'postie'); ?></p>
518
+ <div style="margin-top: 10px; font-weight: bold;"><?php _e('Preview', 'postie'); ?></div>
519
  <div id='imageTemplatePreview'></div>
520
  <textarea onchange='changeStyle("imageTemplatePreview", "postie-settings-imagetemplate", "imagetemplateselect",
521
  "postie-settings-selected_imagetemplate", "smiling.jpg", true);' cols='70' rows='7' id='postie-settings-imagetemplate' name='postie-settings[imagetemplate]'>
561
  <table class='form-table'>
562
 
563
  <tr>
564
+ <th scope='row'><?php _e('Video template 1', 'postie') ?></th>
 
 
 
565
  <?php $templateDir = get_option('siteurl') . '/' . PLUGINDIR . '/postie/templates'; ?>
566
  <td>
567
  <input type='hidden' id='postie-settings-selected_video1template' name='postie-settings[selected_video1template]'
587
  }
588
  ?>
589
  </select>
590
+ <p class='description'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie') ?></p>
591
+ <p class='description'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></p>
592
+
593
+ <div style="margin-top: 10px; font-weight: bold;"><?php _e('Preview', 'postie'); ?></div>
594
  <div id='video1TemplatePreview'></div>
595
  <textarea onchange="changeStyle('video1TemplatePreview', 'postie-settings-video1template',
596
  'video1templateselect', 'postie-settings-selected_video1template', 'hi.mp4', true);" cols='70' rows='7' id='postie-settings-video1template'
598
  </td>
599
  </tr>
600
  <tr>
601
+ <th scope="row"><?php _e('Video 1 file extensions', 'postie') ?></th>
 
 
602
  <td>
603
  <br/><input name='postie-settings[video1types]' type="text" id='postie-settings-video1types'
604
  value="<?php if ($video1types != '') echo esc_attr($video1types); ?>" size="40" />
605
+ <p class='description'>
606
+ <?php _e('Use video template 1 for files with these extensions (separated by commas)', 'postie') ?></p>
607
  </td>
608
  </tr>
609
  <tr><td colspan="2"><hr /></td></tr>
610
  <tr>
611
+ <th scope='row'><?php _e('Video template 2', 'postie') ?></th>
 
 
 
612
  <td>
613
  <input type='hidden' id='postie-settings-selected_video2template' name='postie-settings[selected_video2template]'
614
  value="<?php echo esc_attr($selected_video2template) ?>" />
633
  }
634
  ?>
635
  </select>
636
+ <p class='description'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie') ?></p>
637
+ <p class='description'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></p>
638
+
639
+ <div style="margin-top: 10px; font-weight: bold;"><?php _e('Preview', 'postie'); ?></div>
640
  <div id='video2TemplatePreview'></div>
641
  <textarea onchange="changeStyle('video2TemplatePreview', 'postie-settings-video2template',
642
  'video2templateselect', 'postie-settings-selected_video2template', 'hi.flv', true);" cols='70' rows='7' id='postie-settings-video2template'
646
  </td>
647
  </tr>
648
  <tr>
649
+ <th scope="row"><?php _e('Video 2 file extensions', 'postie') ?></th>
 
 
 
650
  <td>
651
  <br/><input name='postie-settings[video2types]' type="text" id='postie-settings-video2types'
652
  value="<?php if ($video2types != '') echo esc_attr($video2types); ?>" size="40" />
653
+ <p class='description'>
654
+ <?php _e('Use video template 2 for files with these extensions (separated by commas)', 'postie') ?></p>
655
  </td>
656
  </tr>
657
  <tr><td colspan="2"><hr /></td></tr>
658
  <tr>
659
+ <th scope='row'><?php _e('Audio template', 'postie') ?></th>
 
 
 
 
660
  <td>
661
  <input type='hidden' id='postie-settings-selected_audiotemplate' name='postie-settings[selected_audiotemplate]'
662
  value="<?php echo esc_attr($selected_audiotemplate) ?>" />
682
  }
683
  ?>
684
  </select>
685
+ <p class='description'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie') ?></p>
686
+ <p class='description'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></p>
687
+
688
+ <div style="margin-top: 10px; font-weight: bold;"><?php _e('Preview', 'postie'); ?></div>
689
  <div id='audioTemplatePreview'></div>
690
  <textarea onchange="changeStyle('audioTemplatePreview', 'postie-settings-audiotemplate',
691
  'audiotemplateselect', 'postie-settings-selected_audiotemplate', 'funky.mp3', true);" cols='70' rows='7' id='postie-settings-audiotemplate'
693
  </td>
694
  </tr>
695
  <tr>
696
+ <th scope="row"><?php _e('Audio file extensions', 'postie') ?></th>
 
 
 
 
697
  <td>
698
+ <input name='postie-settings[audiotypes]' type="text" id='postie-settings-audiotypes' value="<?php echo esc_attr($audiotypes); ?>" size="40" />
699
+ <p class='description'><?php _e('Use the audio template for files with these extensions (separated by commas)', 'postie') ?></p>
700
  </td>
701
  </tr>
702
  </table>
703
  </div>
704
+
705
  <div id="simpleTabs-content-6" class="simpleTabs-content">
706
  <table class='form-table'>
707
 
708
  <tr>
709
+ <th scope='row'><?php _e('Attachment icon set', 'postie') ?></th>
710
  <td>
711
  <input type='hidden' id='postie-settings-icon_set' name='postie-settings[icon_set]'
712
  value="<?php echo esc_attr($icon_set) ?>" />
735
  </td>
736
  </tr>
737
  <tr>
738
+ <th scope='row'><?php _e('Attachment icon size (in pixels)', 'postie') ?></th>
739
  <td>
740
  <input type='hidden' id='postie-settings-icon_size' name='postie-settings[icon_size]'
741
  value="<?php echo esc_attr($icon_size) ?>" />
759
  </tr>
760
  <tr>
761
  <th scope='row'><?php _e('Attachment template', 'postie') ?>:<br />
 
 
 
762
  </th>
763
  <td>
764
  <input type='hidden' id='postie-settings-selected_generaltemplate' name='postie-settings[selected_generaltemplate]'
784
  }
785
  ?>
786
  </select>
787
+ <p class='description'><?php _e('Choose a default template, then customize to your liking in the text box', 'postie') ?></p>
788
+ <p class='description'><?php _e('Note that this template are only used if the "Preferred Text Type" setting is set to "plain"', 'postie'); ?></p>
789
+
790
+ <div style="margin-top: 10px; font-weight: bold;">
791
  <?php _e('Preview', 'postie'); ?>
792
  </div>
793
  <div id='generalTemplatePreview'></div>
828
  <form id="postie-options" name="postie-options" method="post">
829
  <input type="hidden" name="action" value="reset" />
830
  <input name="Submit" value="<?php _e("Reset Settings To Defaults", 'postie') ?>" type="submit" class='button'>
831
+ <span>&nbsp;<?php _e('(Your Mail server settings will be retained)', 'postie') ?></span>
832
  </form>
833
  </div>
834
 
css/style.css CHANGED
@@ -20,8 +20,7 @@ table.form-table td {
20
  padding:10px;
21
  }
22
  table.form-table th {
23
- width:40%;
24
- font-weight:bold;
25
  }
26
  .recommendation {
27
  font-size: 10px;
20
  padding:10px;
21
  }
22
  table.form-table th {
23
+ width: 300px;
 
24
  }
25
  .recommendation {
26
  font-size: 10px;
docs/Changes.txt CHANGED
@@ -27,6 +27,11 @@ All script, style and body tags are stripped from html emails.
27
  Attachments are now processed in the order they were attached.
28
 
29
  == CHANGELOG ==
 
 
 
 
 
30
  = 1.6.8 (2014.11.14) =
31
  * Fixed bug where the #img tag was being used as the subject if it is the very first line in the email.
32
  * Fixed bug where the allow subject in body setting was being ignored.
27
  Attachments are now processed in the order they were attached.
28
 
29
  == CHANGELOG ==
30
+ = 1.6.9 (2014.12.1) =
31
+ * Post status list is now read from WordPress settings, rather than being a hard-coded list.
32
+ * Settings look & feel matching WP default style.
33
+ * Testing against WP 4.0.1
34
+
35
  = 1.6.8 (2014.11.14) =
36
  * Fixed bug where the #img tag was being used as the subject if it is the very first line in the email.
37
  * Fixed bug where the allow subject in body setting was being ignored.
docs/Postie.txt CHANGED
@@ -5,8 +5,8 @@ Author URI: http://allens-home.com/
5
  Plugin URI: http://PostiePlugin.com/
6
  Tags: e-mail, email, post-by-email
7
  Requires at least: 3.0
8
- Tested up to: 4.0
9
- Stable tag: 1.6.8
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
5
  Plugin URI: http://PostiePlugin.com/
6
  Tags: e-mail, email, post-by-email
7
  Requires at least: 3.0
8
+ Tested up to: 4.0.1
9
+ Stable tag: 1.6.9
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
postie-functions.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- $Id: postie-functions.php 1025546 2014-11-14 06:40:07Z WayneAllen $
4
  */
5
 
6
  //to turn on debug output add the following line to wp-config.php
@@ -2756,10 +2756,8 @@ function DisplayEmailPost($details) {
2756
  function BuildBooleanSelect($label, $id, $current_value, $recommendation = NULL, $options = null) {
2757
 
2758
  $html = "<tr>
2759
- <th scope='row'>" . $label . ":";
2760
- if (!empty($recommendation)) {
2761
- $html.='<br /><span class = "recommendation">' . $recommendation . '</span>';
2762
- }
2763
 
2764
  if (!(is_array($options) && count($options) == 2)) {
2765
  $options = Array('Yes', 'No');
@@ -2770,6 +2768,9 @@ function BuildBooleanSelect($label, $id, $current_value, $recommendation = NULL,
2770
  <option value='1'>" . __($options[0], 'postie') . "</option>
2771
  <option value='0' " . (!$current_value ? "selected='selected'" : "") . ">" . __($options[1], 'postie') . '</option>
2772
  </select>';
 
 
 
2773
  $html.="</td>\n</tr>";
2774
 
2775
  return $html;
@@ -2783,10 +2784,8 @@ function BuildBooleanSelect($label, $id, $current_value, $recommendation = NULL,
2783
  * @param string
2784
  */
2785
  function BuildTextArea($label, $id, $current_value, $recommendation = NULL) {
2786
- $html = "<tr> <th scope='row'>" . $label . ":";
2787
- if ($recommendation) {
2788
- $html.="<br /><span class='recommendation'>" . $recommendation . "</span>";
2789
- }
2790
  $html.="</th>";
2791
 
2792
  $html .="<td><br /><textarea cols=40 rows=3 name='$id' id='$id'>";
@@ -2796,7 +2795,11 @@ function BuildTextArea($label, $id, $current_value, $recommendation = NULL) {
2796
  $html .= "$item\n";
2797
  }
2798
  }
2799
- $html .= "</textarea></td></tr>";
 
 
 
 
2800
  return $html;
2801
  }
2802
 
1
  <?php
2
  /*
3
+ $Id: postie-functions.php 1036173 2014-12-01 20:03:04Z WayneAllen $
4
  */
5
 
6
  //to turn on debug output add the following line to wp-config.php
2756
  function BuildBooleanSelect($label, $id, $current_value, $recommendation = NULL, $options = null) {
2757
 
2758
  $html = "<tr>
2759
+ <th scope='row'><label for='$id'>$label</label>";
2760
+
 
 
2761
 
2762
  if (!(is_array($options) && count($options) == 2)) {
2763
  $options = Array('Yes', 'No');
2768
  <option value='1'>" . __($options[0], 'postie') . "</option>
2769
  <option value='0' " . (!$current_value ? "selected='selected'" : "") . ">" . __($options[1], 'postie') . '</option>
2770
  </select>';
2771
+ if (!empty($recommendation)) {
2772
+ $html.='<p class = "description">' . $recommendation . '</p>';
2773
+ }
2774
  $html.="</td>\n</tr>";
2775
 
2776
  return $html;
2784
  * @param string
2785
  */
2786
  function BuildTextArea($label, $id, $current_value, $recommendation = NULL) {
2787
+ $html = "<tr><th scope='row'><label for='$id'>$label</label>";
2788
+
 
 
2789
  $html.="</th>";
2790
 
2791
  $html .="<td><br /><textarea cols=40 rows=3 name='$id' id='$id'>";
2795
  $html .= "$item\n";
2796
  }
2797
  }
2798
+ $html .= "</textarea>";
2799
+ if ($recommendation) {
2800
+ $html.="<p class='description'>" . $recommendation . "</p>";
2801
+ }
2802
+ $html .="</td></tr>";
2803
  return $html;
2804
  }
2805
 
postie.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Postie
5
  Plugin URI: http://PostiePlugin.com/
6
  Description: Create posts via email. Signifigantly upgrades the Post by Email features of Word Press.
7
- Version: 1.6.8
8
  Author: Wayne Allen
9
  Author URI: http://allens-home.com/
10
  License: GPL2
@@ -27,11 +27,11 @@
27
  */
28
 
29
  /*
30
- $Id: postie.php 1025547 2014-11-14 06:42:18Z WayneAllen $
31
  */
32
  require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-functions.php");
33
 
34
- define('POSTIE_VERSION', '1.6.8');
35
  define("POSTIE_ROOT", dirname(__FILE__));
36
  define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
37
 
4
  Plugin Name: Postie
5
  Plugin URI: http://PostiePlugin.com/
6
  Description: Create posts via email. Signifigantly upgrades the Post by Email features of Word Press.
7
+ Version: 1.6.9
8
  Author: Wayne Allen
9
  Author URI: http://allens-home.com/
10
  License: GPL2
27
  */
28
 
29
  /*
30
+ $Id: postie.php 1036193 2014-12-01 20:20:35Z WayneAllen $
31
  */
32
  require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-functions.php");
33
 
34
+ define('POSTIE_VERSION', '1.6.9');
35
  define("POSTIE_ROOT", dirname(__FILE__));
36
  define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
37
 
readme.txt CHANGED
@@ -5,8 +5,8 @@ Author URI: http://allens-home.com/
5
  Plugin URI: http://PostiePlugin.com/
6
  Tags: e-mail, email, post-by-email
7
  Requires at least: 3.0
8
- Tested up to: 4.0
9
- Stable tag: 1.6.8
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -238,6 +238,11 @@ All script, style and body tags are stripped from html emails.
238
  Attachments are now processed in the order they were attached.
239
 
240
  == CHANGELOG ==
 
 
 
 
 
241
  = 1.6.8 (2014.11.14) =
242
  * Fixed bug where the #img tag was being used as the subject if it is the very first line in the email.
243
  * Fixed bug where the allow subject in body setting was being ignored.
5
  Plugin URI: http://PostiePlugin.com/
6
  Tags: e-mail, email, post-by-email
7
  Requires at least: 3.0
8
+ Tested up to: 4.0.1
9
+ Stable tag: 1.6.9
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
238
  Attachments are now processed in the order they were attached.
239
 
240
  == CHANGELOG ==
241
+ = 1.6.9 (2014.12.1) =
242
+ * Post status list is now read from WordPress settings, rather than being a hard-coded list.
243
+ * Settings look & feel matching WP default style.
244
+ * Testing against WP 4.0.1
245
+
246
  = 1.6.8 (2014.11.14) =
247
  * Fixed bug where the #img tag was being used as the subject if it is the very first line in the email.
248
  * Fixed bug where the allow subject in body setting was being ignored.