OptionTree - Version 2.4.4

Version Description

  • Hotfix - Fixed undefined index caused by shorthand conditional.
  • Hotfix - Fixed jQuery UI style conflicts created by the Easy Digital Downloads plugin.
  • Hotfix - Added placeholder to background-image. Contributors via github @BassemN.
Download this release

Release Info

Developer valendesigns
Plugin Icon wp plugin OptionTree
Version 2.4.4
Comparing to
See all releases

Code changes from version 2.4.3 to 2.4.4

includes/ot-functions-admin.php CHANGED
@@ -581,7 +581,7 @@ if ( ! function_exists( 'ot_validate_setting' ) ) {
581
  if ( ! function_exists( 'ot_admin_styles' ) ) {
582
 
583
  function ot_admin_styles() {
584
- global $wp_styles;
585
 
586
  /* execute styles before actions */
587
  do_action( 'ot_admin_styles_before' );
@@ -595,6 +595,10 @@ if ( ! function_exists( 'ot_admin_styles' ) ) {
595
  /* load the RTL stylesheet */
596
  $wp_styles->add_data( 'ot-admin-css','rtl', true );
597
 
 
 
 
 
598
  /* execute styles after actions */
599
  do_action( 'ot_admin_styles_after' );
600
 
581
  if ( ! function_exists( 'ot_admin_styles' ) ) {
582
 
583
  function ot_admin_styles() {
584
+ global $wp_styles, $post;
585
 
586
  /* execute styles before actions */
587
  do_action( 'ot_admin_styles_before' );
595
  /* load the RTL stylesheet */
596
  $wp_styles->add_data( 'ot-admin-css','rtl', true );
597
 
598
+ /* Remove styles added by the Easy Digital Downloads plugin */
599
+ if ( isset( $post->post_type ) && $post->post_type == 'post' )
600
+ wp_dequeue_style( 'jquery-ui-css' );
601
+
602
  /* execute styles after actions */
603
  do_action( 'ot_admin_styles_after' );
604
 
includes/ot-functions-option-types.php CHANGED
@@ -235,7 +235,7 @@ if ( ! function_exists( 'ot_type_background' ) ) {
235
  echo '<div class="option-tree-ui-upload-parent">';
236
 
237
  /* input */
238
- echo '<input type="text" name="' . esc_attr( $field_name ) . '[background-image]" id="' . esc_attr( $field_id ) . '" value="' . ( isset( $field_value['background-image'] ) ? esc_attr( $field_value['background-image'] ) : '' ) . '" class="widefat option-tree-ui-upload-input ' . esc_attr( $field_class ) . '" />';
239
 
240
  /* add media button */
241
  echo '<a href="javascript:void(0);" class="ot_upload_media option-tree-ui-button button button-primary light" rel="' . $post_id . '" title="' . __( 'Add Media', 'option-tree' ) . '"><span class="icon ot-icon-plus-circle"></span>' . __( 'Add Media', 'option-tree' ) . '</a>';
235
  echo '<div class="option-tree-ui-upload-parent">';
236
 
237
  /* input */
238
+ echo '<input type="text" name="' . esc_attr( $field_name ) . '[background-image]" id="' . esc_attr( $field_id ) . '" value="' . ( isset( $field_value['background-image'] ) ? esc_attr( $field_value['background-image'] ) : '' ) . '" class="widefat option-tree-ui-upload-input ' . esc_attr( $field_class ) . '" placeholder="' . __( 'background-image', 'option-tree' ) . '" />';
239
 
240
  /* add media button */
241
  echo '<a href="javascript:void(0);" class="ot_upload_media option-tree-ui-button button button-primary light" rel="' . $post_id . '" title="' . __( 'Add Media', 'option-tree' ) . '"><span class="icon ot-icon-plus-circle"></span>' . __( 'Add Media', 'option-tree' ) . '</a>';
languages/option-tree.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: OptionTree\n"
4
- "POT-Creation-Date: 2014-11-03 23:58-0800\n"
5
- "PO-Revision-Date: 2014-11-03 23:58-0800\n"
6
  "Last-Translator: Derek Herman <derek@valendesigns.com>\n"
7
  "Language-Team: Valen Designs\n"
8
  "Language: English\n"
@@ -25,7 +25,7 @@ msgid ""
25
  msgstr ""
26
 
27
  #: ../ot-loader.php:749 ../assets/theme-mode/demo-theme-options.php:639
28
- #: ../includes/ot-functions-admin.php:653
29
  #: ../includes/ot-functions-docs-page.php:374
30
  #: ../includes/ot-functions-settings-page.php:170
31
  msgid "Send to OptionTree"
@@ -54,8 +54,8 @@ msgstr ""
54
 
55
  #: ../assets/theme-mode/demo-meta-boxes.php:50
56
  #: ../assets/theme-mode/demo-theme-options.php:208
57
- #: ../includes/ot-functions-admin.php:2230
58
- #: ../includes/ot-functions-admin.php:4707
59
  #: ../includes/ot-functions-docs-page.php:156
60
  msgid "Gallery"
61
  msgstr ""
@@ -71,7 +71,7 @@ msgstr ""
71
 
72
  #: ../assets/theme-mode/demo-meta-boxes.php:62
73
  #: ../assets/theme-mode/demo-theme-options.php:548
74
- #: ../includes/ot-functions-admin.php:2250
75
  #: ../includes/ot-functions-docs-page.php:269
76
  msgid "Text"
77
  msgstr ""
@@ -82,7 +82,7 @@ msgstr ""
82
 
83
  #: ../assets/theme-mode/demo-meta-boxes.php:68
84
  #: ../assets/theme-mode/demo-theme-options.php:563
85
- #: ../includes/ot-functions-admin.php:2251
86
  #: ../includes/ot-functions-docs-page.php:272
87
  msgid "Textarea"
88
  msgstr ""
@@ -106,7 +106,7 @@ msgid "Sidebar content goes here!"
106
  msgstr ""
107
 
108
  #: ../assets/theme-mode/demo-theme-options.php:44
109
- #: ../includes/ot-functions-admin.php:2220
110
  #: ../includes/ot-functions-docs-page.php:110
111
  msgid "Background"
112
  msgstr ""
@@ -125,14 +125,14 @@ msgstr ""
125
 
126
  #: ../assets/theme-mode/demo-theme-options.php:45
127
  #: ../assets/theme-mode/demo-theme-options.php:624
128
- #: ../includes/ot-functions-admin.php:3634
129
  #: ../includes/ot-functions-docs-page.php:111
130
  #: ../includes/ot-functions-docs-page.php:354
131
  msgid "and"
132
  msgstr ""
133
 
134
  #: ../assets/theme-mode/demo-theme-options.php:59
135
- #: ../includes/ot-functions-admin.php:2221
136
  #: ../includes/ot-functions-docs-page.php:113
137
  msgid "Category Checkbox"
138
  msgstr ""
@@ -146,7 +146,7 @@ msgid ""
146
  msgstr ""
147
 
148
  #: ../assets/theme-mode/demo-theme-options.php:74
149
- #: ../includes/ot-functions-admin.php:2222
150
  #: ../includes/ot-functions-docs-page.php:116
151
  msgid "Category Select"
152
  msgstr ""
@@ -160,7 +160,7 @@ msgid ""
160
  msgstr ""
161
 
162
  #: ../assets/theme-mode/demo-theme-options.php:89
163
- #: ../includes/ot-functions-admin.php:2223
164
  #: ../includes/ot-functions-docs-page.php:119
165
  msgid "Checkbox"
166
  msgstr ""
@@ -198,7 +198,7 @@ msgid ""
198
  msgstr ""
199
 
200
  #: ../assets/theme-mode/demo-theme-options.php:131
201
- #: ../includes/ot-functions-admin.php:2225
202
  #: ../includes/ot-functions-docs-page.php:125
203
  msgid "CSS"
204
  msgstr ""
@@ -227,7 +227,7 @@ msgid ""
227
  msgstr ""
228
 
229
  #: ../assets/theme-mode/demo-theme-options.php:148
230
- #: ../includes/ot-functions-admin.php:2226
231
  #: ../includes/ot-functions-docs-page.php:144
232
  msgid "Custom Post Type Checkbox"
233
  msgstr ""
@@ -243,7 +243,7 @@ msgid ""
243
  msgstr ""
244
 
245
  #: ../assets/theme-mode/demo-theme-options.php:163
246
- #: ../includes/ot-functions-admin.php:2227
247
  #: ../includes/ot-functions-docs-page.php:147
248
  msgid "Custom Post Type Select"
249
  msgstr ""
@@ -259,7 +259,7 @@ msgid ""
259
  msgstr ""
260
 
261
  #: ../assets/theme-mode/demo-theme-options.php:178
262
- #: ../includes/ot-functions-admin.php:2228
263
  #: ../includes/ot-functions-docs-page.php:150
264
  msgid "Date Picker"
265
  msgstr ""
@@ -273,7 +273,7 @@ msgid ""
273
  msgstr ""
274
 
275
  #: ../assets/theme-mode/demo-theme-options.php:193
276
- #: ../includes/ot-functions-admin.php:2229
277
  #: ../includes/ot-functions-docs-page.php:153
278
  msgid "Date Time Picker"
279
  msgstr ""
@@ -309,7 +309,7 @@ msgid ""
309
  msgstr ""
310
 
311
  #: ../assets/theme-mode/demo-theme-options.php:238
312
- #: ../includes/ot-functions-admin.php:2231
313
  #: ../includes/ot-functions-docs-page.php:159
314
  msgid "List Item"
315
  msgstr ""
@@ -327,7 +327,7 @@ msgid "Content"
327
  msgstr ""
328
 
329
  #: ../assets/theme-mode/demo-theme-options.php:269
330
- #: ../includes/ot-functions-admin.php:2232
331
  #: ../includes/ot-functions-docs-page.php:162
332
  msgid "Measurement"
333
  msgstr ""
@@ -343,7 +343,7 @@ msgid ""
343
  msgstr ""
344
 
345
  #: ../assets/theme-mode/demo-theme-options.php:284
346
- #: ../includes/ot-functions-admin.php:2233
347
  #: ../includes/ot-functions-docs-page.php:193
348
  msgid "Numeric Slider"
349
  msgstr ""
@@ -356,7 +356,7 @@ msgid ""
356
  msgstr ""
357
 
358
  #: ../assets/theme-mode/demo-theme-options.php:299
359
- #: ../includes/ot-functions-admin.php:2234
360
  #: ../includes/ot-functions-docs-page.php:196
361
  msgid "On/Off"
362
  msgstr ""
@@ -370,7 +370,7 @@ msgid ""
370
  msgstr ""
371
 
372
  #: ../assets/theme-mode/demo-theme-options.php:314
373
- #: ../includes/ot-functions-admin.php:2235
374
  #: ../includes/ot-functions-docs-page.php:199
375
  msgid "Page Checkbox"
376
  msgstr ""
@@ -383,7 +383,7 @@ msgid ""
383
  msgstr ""
384
 
385
  #: ../assets/theme-mode/demo-theme-options.php:329
386
- #: ../includes/ot-functions-admin.php:2236
387
  #: ../includes/ot-functions-docs-page.php:202
388
  msgid "Page Select"
389
  msgstr ""
@@ -396,7 +396,7 @@ msgid ""
396
  msgstr ""
397
 
398
  #: ../assets/theme-mode/demo-theme-options.php:344
399
- #: ../includes/ot-functions-admin.php:2237
400
  #: ../includes/ot-functions-docs-page.php:205
401
  msgid "Post Checkbox"
402
  msgstr ""
@@ -409,7 +409,7 @@ msgid ""
409
  msgstr ""
410
 
411
  #: ../assets/theme-mode/demo-theme-options.php:359
412
- #: ../includes/ot-functions-admin.php:2238
413
  #: ../includes/ot-functions-docs-page.php:208
414
  msgid "Post Select"
415
  msgstr ""
@@ -422,7 +422,7 @@ msgid ""
422
  msgstr ""
423
 
424
  #: ../assets/theme-mode/demo-theme-options.php:374
425
- #: ../includes/ot-functions-admin.php:2239
426
  #: ../includes/ot-functions-docs-page.php:211
427
  msgid "Radio"
428
  msgstr ""
@@ -441,7 +441,7 @@ msgid "Maybe"
441
  msgstr ""
442
 
443
  #: ../assets/theme-mode/demo-theme-options.php:406
444
- #: ../includes/ot-functions-admin.php:2240
445
  #: ../includes/ot-functions-docs-page.php:214
446
  msgid "Radio Image"
447
  msgstr ""
@@ -456,7 +456,7 @@ msgid ""
456
  msgstr ""
457
 
458
  #: ../assets/theme-mode/demo-theme-options.php:421
459
- #: ../includes/ot-functions-admin.php:2241
460
  #: ../includes/ot-functions-docs-page.php:241
461
  msgid "Select"
462
  msgstr ""
@@ -473,7 +473,7 @@ msgid "-- Choose One --"
473
  msgstr ""
474
 
475
  #: ../assets/theme-mode/demo-theme-options.php:458
476
- #: ../includes/ot-functions-admin.php:2242
477
  #: ../includes/ot-functions-docs-page.php:244
478
  msgid "Sidebar Select"
479
  msgstr ""
@@ -499,7 +499,7 @@ msgid ""
499
  msgstr ""
500
 
501
  #: ../assets/theme-mode/demo-theme-options.php:473
502
- #: ../includes/ot-functions-admin.php:2246
503
  #: ../includes/ot-functions-docs-page.php:257
504
  msgid "Tag Checkbox"
505
  msgstr ""
@@ -513,7 +513,7 @@ msgid ""
513
  msgstr ""
514
 
515
  #: ../assets/theme-mode/demo-theme-options.php:488
516
- #: ../includes/ot-functions-admin.php:2247
517
  #: ../includes/ot-functions-docs-page.php:260
518
  msgid "Tag Select"
519
  msgstr ""
@@ -527,7 +527,7 @@ msgid ""
527
  msgstr ""
528
 
529
  #: ../assets/theme-mode/demo-theme-options.php:503
530
- #: ../includes/ot-functions-admin.php:2244
531
  #: ../includes/ot-functions-docs-page.php:251
532
  msgid "Social Links"
533
  msgstr ""
@@ -544,7 +544,7 @@ msgid ""
544
  msgstr ""
545
 
546
  #: ../assets/theme-mode/demo-theme-options.php:518
547
- #: ../includes/ot-functions-admin.php:2248
548
  #: ../includes/ot-functions-docs-page.php:263
549
  msgid "Taxonomy Checkbox"
550
  msgstr ""
@@ -558,7 +558,7 @@ msgid ""
558
  msgstr ""
559
 
560
  #: ../assets/theme-mode/demo-theme-options.php:533
561
- #: ../includes/ot-functions-admin.php:2249
562
  #: ../includes/ot-functions-docs-page.php:266
563
  msgid "Taxonomy Select"
564
  msgstr ""
@@ -588,7 +588,7 @@ msgid ""
588
  msgstr ""
589
 
590
  #: ../assets/theme-mode/demo-theme-options.php:578
591
- #: ../includes/ot-functions-admin.php:2252
592
  #: ../includes/ot-functions-docs-page.php:331
593
  msgid "Textarea Simple"
594
  msgstr ""
@@ -601,7 +601,7 @@ msgid ""
601
  msgstr ""
602
 
603
  #: ../assets/theme-mode/demo-theme-options.php:593
604
- #: ../includes/ot-functions-admin.php:2253
605
  #: ../includes/ot-functions-docs-page.php:347
606
  msgid "Textblock"
607
  msgstr ""
@@ -617,7 +617,7 @@ msgid ""
617
  msgstr ""
618
 
619
  #: ../assets/theme-mode/demo-theme-options.php:608
620
- #: ../includes/ot-functions-admin.php:2254
621
  #: ../includes/ot-functions-docs-page.php:350
622
  msgid "Textblock Titled"
623
  msgstr ""
@@ -633,7 +633,7 @@ msgid ""
633
  msgstr ""
634
 
635
  #: ../assets/theme-mode/demo-theme-options.php:623
636
- #: ../includes/ot-functions-admin.php:2255
637
  #: ../includes/ot-functions-docs-page.php:353
638
  msgid "Typography"
639
  msgstr ""
@@ -651,7 +651,7 @@ msgid ""
651
  msgstr ""
652
 
653
  #: ../assets/theme-mode/demo-theme-options.php:638
654
- #: ../includes/ot-functions-admin.php:2256
655
  #: ../includes/ot-functions-docs-page.php:373
656
  msgid "Upload"
657
  msgstr ""
@@ -822,330 +822,330 @@ msgstr ""
822
  msgid "The Colorpicker only allows valid hexadecimal values."
823
  msgstr ""
824
 
825
- #: ../includes/ot-functions-admin.php:654
826
  #: ../includes/ot-functions-option-types.php:257
827
  #: ../includes/ot-functions-option-types.php:2453
828
  msgid "Remove Media"
829
  msgstr ""
830
 
831
- #: ../includes/ot-functions-admin.php:655
832
  msgid "Are you sure you want to reset back to the defaults?"
833
  msgstr ""
834
 
835
- #: ../includes/ot-functions-admin.php:656
836
  msgid "You can't remove this! But you can edit the values."
837
  msgstr ""
838
 
839
- #: ../includes/ot-functions-admin.php:657
840
  msgid "Are you sure you want to remove this?"
841
  msgstr ""
842
 
843
- #: ../includes/ot-functions-admin.php:658
844
  msgid "Are you sure you want to activate this layout?"
845
  msgstr ""
846
 
847
- #: ../includes/ot-functions-admin.php:659
848
  msgid "Sorry, you can't have settings three levels deep."
849
  msgstr ""
850
 
851
- #: ../includes/ot-functions-admin.php:660
852
  #: ../includes/ot-functions-option-types.php:812
853
  msgid "Delete Gallery"
854
  msgstr ""
855
 
856
- #: ../includes/ot-functions-admin.php:661
857
  #: ../includes/ot-functions-option-types.php:813
858
  msgid "Edit Gallery"
859
  msgstr ""
860
 
861
- #: ../includes/ot-functions-admin.php:662
862
  #: ../includes/ot-functions-option-types.php:820
863
  msgid "Create Gallery"
864
  msgstr ""
865
 
866
- #: ../includes/ot-functions-admin.php:663
867
  msgid "Are you sure you want to delete this Gallery?"
868
  msgstr ""
869
 
870
- #: ../includes/ot-functions-admin.php:664
871
  msgid "Today"
872
  msgstr ""
873
 
874
- #: ../includes/ot-functions-admin.php:665
875
  msgid "Now"
876
  msgstr ""
877
 
878
- #: ../includes/ot-functions-admin.php:666
879
  msgid "Close"
880
  msgstr ""
881
 
882
- #: ../includes/ot-functions-admin.php:667
883
  msgid "Featured Image"
884
  msgstr ""
885
 
886
- #: ../includes/ot-functions-admin.php:668
887
- #: ../includes/ot-functions-admin.php:2804
888
- #: ../includes/ot-functions-admin.php:2865
889
  msgid "Image"
890
  msgstr ""
891
 
892
- #: ../includes/ot-functions-admin.php:734
893
  msgid "Option Tree"
894
  msgstr ""
895
 
896
- #: ../includes/ot-functions-admin.php:871
897
  msgid "General"
898
  msgstr ""
899
 
900
- #: ../includes/ot-functions-admin.php:877
901
  msgid "Sample Text Field Label"
902
  msgstr ""
903
 
904
- #: ../includes/ot-functions-admin.php:878
905
  msgid "Description for the sample text field."
906
  msgstr ""
907
 
908
- #: ../includes/ot-functions-admin.php:2120
909
  msgid "Settings updated."
910
  msgstr ""
911
 
912
- #: ../includes/ot-functions-admin.php:2124
913
  msgid "Settings could not be saved."
914
  msgstr ""
915
 
916
- #: ../includes/ot-functions-admin.php:2132
917
  msgid "Settings Imported."
918
  msgstr ""
919
 
920
- #: ../includes/ot-functions-admin.php:2136
921
  msgid "Settings could not be imported."
922
  msgstr ""
923
 
924
- #: ../includes/ot-functions-admin.php:2143
925
  msgid "Data Imported."
926
  msgstr ""
927
 
928
- #: ../includes/ot-functions-admin.php:2147
929
  msgid "Data could not be imported."
930
  msgstr ""
931
 
932
- #: ../includes/ot-functions-admin.php:2155
933
  msgid "Layouts Imported."
934
  msgstr ""
935
 
936
- #: ../includes/ot-functions-admin.php:2159
937
  msgid "Layouts could not be imported."
938
  msgstr ""
939
 
940
- #: ../includes/ot-functions-admin.php:2167
941
  msgid "Layouts Updated."
942
  msgstr ""
943
 
944
- #: ../includes/ot-functions-admin.php:2171
945
  msgid "Layouts could not be updated."
946
  msgstr ""
947
 
948
- #: ../includes/ot-functions-admin.php:2175
949
  msgid "Layouts have been deleted."
950
  msgstr ""
951
 
952
- #: ../includes/ot-functions-admin.php:2181
953
  msgid "Layout activated."
954
  msgstr ""
955
 
956
- #: ../includes/ot-functions-admin.php:2224
957
  msgid "Color Picker"
958
  msgstr ""
959
 
960
- #: ../includes/ot-functions-admin.php:2243
961
  #: ../includes/ot-functions-docs-page.php:248
962
  msgid "Slider"
963
  msgstr ""
964
 
965
- #: ../includes/ot-functions-admin.php:2245
966
  #: ../includes/ot-functions-docs-page.php:254
967
  msgid "Tab"
968
  msgstr ""
969
 
970
- #: ../includes/ot-functions-admin.php:2749
971
  msgid "Left Sidebar"
972
  msgstr ""
973
 
974
- #: ../includes/ot-functions-admin.php:2754
975
  msgid "Right Sidebar"
976
  msgstr ""
977
 
978
- #: ../includes/ot-functions-admin.php:2759
979
  msgid "Full Width (no sidebar)"
980
  msgstr ""
981
 
982
- #: ../includes/ot-functions-admin.php:2764
983
  msgid "Dual Sidebar"
984
  msgstr ""
985
 
986
- #: ../includes/ot-functions-admin.php:2769
987
  msgid "Left Dual Sidebar"
988
  msgstr ""
989
 
990
- #: ../includes/ot-functions-admin.php:2774
991
  msgid "Right Dual Sidebar"
992
  msgstr ""
993
 
994
- #: ../includes/ot-functions-admin.php:2815
995
- #: ../includes/ot-functions-admin.php:2871
996
- #: ../includes/ot-functions-admin.php:4747
997
  msgid "Link"
998
  msgstr ""
999
 
1000
- #: ../includes/ot-functions-admin.php:2826
1001
- #: ../includes/ot-functions-admin.php:2877
1002
  #: ../includes/ot-functions-docs-page.php:43
1003
  #: ../includes/ot-functions-docs-page.php:404
1004
  #: ../includes/ot-functions-docs-page.php:454
1005
  msgid "Description"
1006
  msgstr ""
1007
 
1008
- #: ../includes/ot-functions-admin.php:2941
1009
  msgid "Name"
1010
  msgstr ""
1011
 
1012
- #: ../includes/ot-functions-admin.php:2942
1013
  msgid "Enter the name of the social website."
1014
  msgstr ""
1015
 
1016
- #: ../includes/ot-functions-admin.php:2950
1017
  msgid "Enter the text shown in the title attribute of the link."
1018
  msgstr ""
1019
 
1020
- #: ../includes/ot-functions-admin.php:2956
1021
  #, php-format
1022
  msgid ""
1023
  "Enter a link to the profile or page on the social website. Remember to add "
1024
  "the %s part to the front of the link."
1025
  msgstr ""
1026
 
1027
- #: ../includes/ot-functions-admin.php:3439
1028
  msgid "edit"
1029
  msgstr ""
1030
 
1031
- #: ../includes/ot-functions-admin.php:3440
1032
- #: ../includes/ot-functions-admin.php:3508
1033
- #: ../includes/ot-functions-admin.php:3509
1034
- #: ../includes/ot-functions-admin.php:3671
1035
- #: ../includes/ot-functions-admin.php:3672
1036
- #: ../includes/ot-functions-admin.php:3737
1037
- #: ../includes/ot-functions-admin.php:3738
1038
- #: ../includes/ot-functions-admin.php:3865
1039
- #: ../includes/ot-functions-admin.php:3866
1040
- #: ../includes/ot-functions-admin.php:4018
1041
- #: ../includes/ot-functions-admin.php:4019
1042
- msgid "Edit"
1043
- msgstr ""
1044
-
1045
- #: ../includes/ot-functions-admin.php:3442
1046
- #: ../includes/ot-functions-admin.php:3443
1047
- #: ../includes/ot-functions-admin.php:3511
1048
  #: ../includes/ot-functions-admin.php:3512
1049
- #: ../includes/ot-functions-admin.php:3674
1050
  #: ../includes/ot-functions-admin.php:3675
1051
- #: ../includes/ot-functions-admin.php:3740
1052
  #: ../includes/ot-functions-admin.php:3741
1053
- #: ../includes/ot-functions-admin.php:3799
1054
- #: ../includes/ot-functions-admin.php:3800
1055
- #: ../includes/ot-functions-admin.php:3868
1056
  #: ../includes/ot-functions-admin.php:3869
1057
- #: ../includes/ot-functions-admin.php:4021
1058
  #: ../includes/ot-functions-admin.php:4022
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1059
  msgid "Delete"
1060
  msgstr ""
1061
 
1062
- #: ../includes/ot-functions-admin.php:3449
1063
  msgid ""
1064
  "<strong>Section Title</strong>: Displayed as a menu item on the Theme "
1065
  "Options page."
1066
  msgstr ""
1067
 
1068
- #: ../includes/ot-functions-admin.php:3457
1069
  msgid ""
1070
  "<strong>Section ID</strong>: A unique lower case alphanumeric string, "
1071
  "underscores allowed."
1072
  msgstr ""
1073
 
1074
- #: ../includes/ot-functions-admin.php:3518
1075
  msgid ""
1076
  "<strong>Label</strong>: Displayed as the label of a form element on the "
1077
  "Theme Options page."
1078
  msgstr ""
1079
 
1080
- #: ../includes/ot-functions-admin.php:3526
1081
- #: ../includes/ot-functions-admin.php:3755
1082
  msgid ""
1083
  "<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
1084
  "allowed."
1085
  msgstr ""
1086
 
1087
- #: ../includes/ot-functions-admin.php:3534
1088
  msgid ""
1089
  "<strong>Type</strong>: Choose one of the available option types from the "
1090
  "dropdown."
1091
  msgstr ""
1092
 
1093
- #: ../includes/ot-functions-admin.php:3545
1094
  msgid ""
1095
  "<strong>Description</strong>: Enter a detailed description for the users to "
1096
  "read on the Theme Options page, HTML is allowed. This is also where you "
1097
  "enter content for both the Textblock & Textblock Titled option types."
1098
  msgstr ""
1099
 
1100
- #: ../includes/ot-functions-admin.php:3553
1101
  msgid ""
1102
  "<strong>Choices</strong>: This will only affect the following option types: "
1103
  "Checkbox, Radio, Select & Select Image."
1104
  msgstr ""
1105
 
1106
- #: ../includes/ot-functions-admin.php:3558
1107
  msgid "Add Choice"
1108
  msgstr ""
1109
 
1110
- #: ../includes/ot-functions-admin.php:3564
1111
  msgid ""
1112
  "<strong>Settings</strong>: This will only affect the List Item option type."
1113
  msgstr ""
1114
 
1115
- #: ../includes/ot-functions-admin.php:3569
1116
  #: ../includes/ot-functions-settings-page.php:93
1117
  msgid "Add Setting"
1118
  msgstr ""
1119
 
1120
- #: ../includes/ot-functions-admin.php:3575
1121
  msgid ""
1122
  "<strong>Standard</strong>: Setting the standard value for your option only "
1123
  "works for some option types. Read the <code>OptionTree->Documentation</code> "
1124
  "for more information on which ones."
1125
  msgstr ""
1126
 
1127
- #: ../includes/ot-functions-admin.php:3583
1128
  msgid ""
1129
  "<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
1130
  "textarea. This will only affect the following option types: CSS, Textarea, & "
1131
  "Textarea Simple."
1132
  msgstr ""
1133
 
1134
- #: ../includes/ot-functions-admin.php:3591
1135
  msgid ""
1136
  "<strong>Post Type</strong>: Add a comma separated list of post type like "
1137
  "'post,page'. This will only affect the following option types: Custom Post "
1138
  "Type Checkbox, & Custom Post Type Select."
1139
  msgstr ""
1140
 
1141
- #: ../includes/ot-functions-admin.php:3599
1142
  msgid ""
1143
  "<strong>Taxonomy</strong>: Add a comma separated list of any registered "
1144
  "taxonomy like 'category,post_tag'. This will only affect the following "
1145
  "option types: Taxonomy Checkbox, & Taxonomy Select."
1146
  msgstr ""
1147
 
1148
- #: ../includes/ot-functions-admin.php:3607
1149
  msgid ""
1150
  "<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
1151
  "the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
@@ -1154,11 +1154,11 @@ msgid ""
1154
  "type."
1155
  msgstr ""
1156
 
1157
- #: ../includes/ot-functions-admin.php:3615
1158
  msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
1159
  msgstr ""
1160
 
1161
- #: ../includes/ot-functions-admin.php:3623
1162
  #, php-format
1163
  msgid ""
1164
  "<strong>Condition</strong>: Add a comma separated list (no spaces) of "
@@ -1167,92 +1167,92 @@ msgid ""
1167
  "placeholder for your condition, which can be in the form of %s."
1168
  msgstr ""
1169
 
1170
- #: ../includes/ot-functions-admin.php:3631
1171
  msgid ""
1172
  "<strong>Operator</strong>: Choose the logical operator to compute the result "
1173
  "of the conditions."
1174
  msgstr ""
1175
 
1176
- #: ../includes/ot-functions-admin.php:3635
1177
  msgid "or"
1178
  msgstr ""
1179
 
1180
- #: ../includes/ot-functions-admin.php:3681
1181
  #: ../includes/ot-functions-docs-page.php:29
1182
  msgid "Label"
1183
  msgstr ""
1184
 
1185
- #: ../includes/ot-functions-admin.php:3691
1186
  msgid "Value"
1187
  msgstr ""
1188
 
1189
- #: ../includes/ot-functions-admin.php:3701
1190
  msgid "Image Source (Radio Image only)"
1191
  msgstr ""
1192
 
1193
- #: ../includes/ot-functions-admin.php:3747
1194
  msgid ""
1195
  "<strong>Title</strong>: Displayed as a contextual help menu item on the "
1196
  "Theme Options page."
1197
  msgstr ""
1198
 
1199
- #: ../includes/ot-functions-admin.php:3763
1200
  msgid ""
1201
  "<strong>Content</strong>: Enter the HTML content about this contextual help "
1202
  "item displayed on the Theme Option page for end users to read."
1203
  msgstr ""
1204
 
1205
- #: ../includes/ot-functions-admin.php:3794
1206
  msgid "Layout"
1207
  msgstr ""
1208
 
1209
- #: ../includes/ot-functions-admin.php:3796
1210
- #: ../includes/ot-functions-admin.php:3797
1211
  msgid "Activate"
1212
  msgstr ""
1213
 
1214
- #: ../includes/ot-functions-admin.php:3833 ../includes/ot-meta-box-api.php:223
1215
  #: ../includes/ot-settings-api.php:594
1216
  msgid "Title"
1217
  msgstr ""
1218
 
1219
- #: ../includes/ot-functions-admin.php:4173
1220
  msgid "New Layout"
1221
  msgstr ""
1222
 
1223
- #: ../includes/ot-functions-admin.php:4756
1224
  msgid "Link URL"
1225
  msgstr ""
1226
 
1227
- #: ../includes/ot-functions-admin.php:4763
1228
  msgid "Link Title"
1229
  msgstr ""
1230
 
1231
- #: ../includes/ot-functions-admin.php:4793
1232
  msgid "Quote"
1233
  msgstr ""
1234
 
1235
- #: ../includes/ot-functions-admin.php:4802
1236
  msgid "Source Name (ex. author, singer, actor)"
1237
  msgstr ""
1238
 
1239
- #: ../includes/ot-functions-admin.php:4809
1240
  msgid "Source URL"
1241
  msgstr ""
1242
 
1243
- #: ../includes/ot-functions-admin.php:4816
1244
  msgid "Source Title (ex. book, song, movie)"
1245
  msgstr ""
1246
 
1247
- #: ../includes/ot-functions-admin.php:4823
1248
  msgid "Source Date"
1249
  msgstr ""
1250
 
1251
- #: ../includes/ot-functions-admin.php:4853
1252
  msgid "Video"
1253
  msgstr ""
1254
 
1255
- #: ../includes/ot-functions-admin.php:4862
1256
  #, php-format
1257
  msgid ""
1258
  "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list "
@@ -1260,16 +1260,16 @@ msgid ""
1260
  "built-in %2$s shortcode."
1261
  msgstr ""
1262
 
1263
- #: ../includes/ot-functions-admin.php:4862
1264
- #: ../includes/ot-functions-admin.php:4901
1265
  msgid "Wordpress Codex"
1266
  msgstr ""
1267
 
1268
- #: ../includes/ot-functions-admin.php:4892
1269
  msgid "Audio"
1270
  msgstr ""
1271
 
1272
- #: ../includes/ot-functions-admin.php:4901
1273
  #, php-format
1274
  msgid ""
1275
  "Embed audio from services like SoundCloud and Rdio. You can find a list of "
@@ -1976,6 +1976,10 @@ msgstr ""
1976
  msgid "background-size"
1977
  msgstr ""
1978
 
 
 
 
 
1979
  #: ../includes/ot-functions-option-types.php:241
1980
  #: ../includes/ot-functions-option-types.php:2437
1981
  msgid "Add Media"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: OptionTree\n"
4
+ "POT-Creation-Date: 2014-11-10 13:38-0800\n"
5
+ "PO-Revision-Date: 2014-11-10 13:38-0800\n"
6
  "Last-Translator: Derek Herman <derek@valendesigns.com>\n"
7
  "Language-Team: Valen Designs\n"
8
  "Language: English\n"
25
  msgstr ""
26
 
27
  #: ../ot-loader.php:749 ../assets/theme-mode/demo-theme-options.php:639
28
+ #: ../includes/ot-functions-admin.php:657
29
  #: ../includes/ot-functions-docs-page.php:374
30
  #: ../includes/ot-functions-settings-page.php:170
31
  msgid "Send to OptionTree"
54
 
55
  #: ../assets/theme-mode/demo-meta-boxes.php:50
56
  #: ../assets/theme-mode/demo-theme-options.php:208
57
+ #: ../includes/ot-functions-admin.php:2234
58
+ #: ../includes/ot-functions-admin.php:4711
59
  #: ../includes/ot-functions-docs-page.php:156
60
  msgid "Gallery"
61
  msgstr ""
71
 
72
  #: ../assets/theme-mode/demo-meta-boxes.php:62
73
  #: ../assets/theme-mode/demo-theme-options.php:548
74
+ #: ../includes/ot-functions-admin.php:2254
75
  #: ../includes/ot-functions-docs-page.php:269
76
  msgid "Text"
77
  msgstr ""
82
 
83
  #: ../assets/theme-mode/demo-meta-boxes.php:68
84
  #: ../assets/theme-mode/demo-theme-options.php:563
85
+ #: ../includes/ot-functions-admin.php:2255
86
  #: ../includes/ot-functions-docs-page.php:272
87
  msgid "Textarea"
88
  msgstr ""
106
  msgstr ""
107
 
108
  #: ../assets/theme-mode/demo-theme-options.php:44
109
+ #: ../includes/ot-functions-admin.php:2224
110
  #: ../includes/ot-functions-docs-page.php:110
111
  msgid "Background"
112
  msgstr ""
125
 
126
  #: ../assets/theme-mode/demo-theme-options.php:45
127
  #: ../assets/theme-mode/demo-theme-options.php:624
128
+ #: ../includes/ot-functions-admin.php:3638
129
  #: ../includes/ot-functions-docs-page.php:111
130
  #: ../includes/ot-functions-docs-page.php:354
131
  msgid "and"
132
  msgstr ""
133
 
134
  #: ../assets/theme-mode/demo-theme-options.php:59
135
+ #: ../includes/ot-functions-admin.php:2225
136
  #: ../includes/ot-functions-docs-page.php:113
137
  msgid "Category Checkbox"
138
  msgstr ""
146
  msgstr ""
147
 
148
  #: ../assets/theme-mode/demo-theme-options.php:74
149
+ #: ../includes/ot-functions-admin.php:2226
150
  #: ../includes/ot-functions-docs-page.php:116
151
  msgid "Category Select"
152
  msgstr ""
160
  msgstr ""
161
 
162
  #: ../assets/theme-mode/demo-theme-options.php:89
163
+ #: ../includes/ot-functions-admin.php:2227
164
  #: ../includes/ot-functions-docs-page.php:119
165
  msgid "Checkbox"
166
  msgstr ""
198
  msgstr ""
199
 
200
  #: ../assets/theme-mode/demo-theme-options.php:131
201
+ #: ../includes/ot-functions-admin.php:2229
202
  #: ../includes/ot-functions-docs-page.php:125
203
  msgid "CSS"
204
  msgstr ""
227
  msgstr ""
228
 
229
  #: ../assets/theme-mode/demo-theme-options.php:148
230
+ #: ../includes/ot-functions-admin.php:2230
231
  #: ../includes/ot-functions-docs-page.php:144
232
  msgid "Custom Post Type Checkbox"
233
  msgstr ""
243
  msgstr ""
244
 
245
  #: ../assets/theme-mode/demo-theme-options.php:163
246
+ #: ../includes/ot-functions-admin.php:2231
247
  #: ../includes/ot-functions-docs-page.php:147
248
  msgid "Custom Post Type Select"
249
  msgstr ""
259
  msgstr ""
260
 
261
  #: ../assets/theme-mode/demo-theme-options.php:178
262
+ #: ../includes/ot-functions-admin.php:2232
263
  #: ../includes/ot-functions-docs-page.php:150
264
  msgid "Date Picker"
265
  msgstr ""
273
  msgstr ""
274
 
275
  #: ../assets/theme-mode/demo-theme-options.php:193
276
+ #: ../includes/ot-functions-admin.php:2233
277
  #: ../includes/ot-functions-docs-page.php:153
278
  msgid "Date Time Picker"
279
  msgstr ""
309
  msgstr ""
310
 
311
  #: ../assets/theme-mode/demo-theme-options.php:238
312
+ #: ../includes/ot-functions-admin.php:2235
313
  #: ../includes/ot-functions-docs-page.php:159
314
  msgid "List Item"
315
  msgstr ""
327
  msgstr ""
328
 
329
  #: ../assets/theme-mode/demo-theme-options.php:269
330
+ #: ../includes/ot-functions-admin.php:2236
331
  #: ../includes/ot-functions-docs-page.php:162
332
  msgid "Measurement"
333
  msgstr ""
343
  msgstr ""
344
 
345
  #: ../assets/theme-mode/demo-theme-options.php:284
346
+ #: ../includes/ot-functions-admin.php:2237
347
  #: ../includes/ot-functions-docs-page.php:193
348
  msgid "Numeric Slider"
349
  msgstr ""
356
  msgstr ""
357
 
358
  #: ../assets/theme-mode/demo-theme-options.php:299
359
+ #: ../includes/ot-functions-admin.php:2238
360
  #: ../includes/ot-functions-docs-page.php:196
361
  msgid "On/Off"
362
  msgstr ""
370
  msgstr ""
371
 
372
  #: ../assets/theme-mode/demo-theme-options.php:314
373
+ #: ../includes/ot-functions-admin.php:2239
374
  #: ../includes/ot-functions-docs-page.php:199
375
  msgid "Page Checkbox"
376
  msgstr ""
383
  msgstr ""
384
 
385
  #: ../assets/theme-mode/demo-theme-options.php:329
386
+ #: ../includes/ot-functions-admin.php:2240
387
  #: ../includes/ot-functions-docs-page.php:202
388
  msgid "Page Select"
389
  msgstr ""
396
  msgstr ""
397
 
398
  #: ../assets/theme-mode/demo-theme-options.php:344
399
+ #: ../includes/ot-functions-admin.php:2241
400
  #: ../includes/ot-functions-docs-page.php:205
401
  msgid "Post Checkbox"
402
  msgstr ""
409
  msgstr ""
410
 
411
  #: ../assets/theme-mode/demo-theme-options.php:359
412
+ #: ../includes/ot-functions-admin.php:2242
413
  #: ../includes/ot-functions-docs-page.php:208
414
  msgid "Post Select"
415
  msgstr ""
422
  msgstr ""
423
 
424
  #: ../assets/theme-mode/demo-theme-options.php:374
425
+ #: ../includes/ot-functions-admin.php:2243
426
  #: ../includes/ot-functions-docs-page.php:211
427
  msgid "Radio"
428
  msgstr ""
441
  msgstr ""
442
 
443
  #: ../assets/theme-mode/demo-theme-options.php:406
444
+ #: ../includes/ot-functions-admin.php:2244
445
  #: ../includes/ot-functions-docs-page.php:214
446
  msgid "Radio Image"
447
  msgstr ""
456
  msgstr ""
457
 
458
  #: ../assets/theme-mode/demo-theme-options.php:421
459
+ #: ../includes/ot-functions-admin.php:2245
460
  #: ../includes/ot-functions-docs-page.php:241
461
  msgid "Select"
462
  msgstr ""
473
  msgstr ""
474
 
475
  #: ../assets/theme-mode/demo-theme-options.php:458
476
+ #: ../includes/ot-functions-admin.php:2246
477
  #: ../includes/ot-functions-docs-page.php:244
478
  msgid "Sidebar Select"
479
  msgstr ""
499
  msgstr ""
500
 
501
  #: ../assets/theme-mode/demo-theme-options.php:473
502
+ #: ../includes/ot-functions-admin.php:2250
503
  #: ../includes/ot-functions-docs-page.php:257
504
  msgid "Tag Checkbox"
505
  msgstr ""
513
  msgstr ""
514
 
515
  #: ../assets/theme-mode/demo-theme-options.php:488
516
+ #: ../includes/ot-functions-admin.php:2251
517
  #: ../includes/ot-functions-docs-page.php:260
518
  msgid "Tag Select"
519
  msgstr ""
527
  msgstr ""
528
 
529
  #: ../assets/theme-mode/demo-theme-options.php:503
530
+ #: ../includes/ot-functions-admin.php:2248
531
  #: ../includes/ot-functions-docs-page.php:251
532
  msgid "Social Links"
533
  msgstr ""
544
  msgstr ""
545
 
546
  #: ../assets/theme-mode/demo-theme-options.php:518
547
+ #: ../includes/ot-functions-admin.php:2252
548
  #: ../includes/ot-functions-docs-page.php:263
549
  msgid "Taxonomy Checkbox"
550
  msgstr ""
558
  msgstr ""
559
 
560
  #: ../assets/theme-mode/demo-theme-options.php:533
561
+ #: ../includes/ot-functions-admin.php:2253
562
  #: ../includes/ot-functions-docs-page.php:266
563
  msgid "Taxonomy Select"
564
  msgstr ""
588
  msgstr ""
589
 
590
  #: ../assets/theme-mode/demo-theme-options.php:578
591
+ #: ../includes/ot-functions-admin.php:2256
592
  #: ../includes/ot-functions-docs-page.php:331
593
  msgid "Textarea Simple"
594
  msgstr ""
601
  msgstr ""
602
 
603
  #: ../assets/theme-mode/demo-theme-options.php:593
604
+ #: ../includes/ot-functions-admin.php:2257
605
  #: ../includes/ot-functions-docs-page.php:347
606
  msgid "Textblock"
607
  msgstr ""
617
  msgstr ""
618
 
619
  #: ../assets/theme-mode/demo-theme-options.php:608
620
+ #: ../includes/ot-functions-admin.php:2258
621
  #: ../includes/ot-functions-docs-page.php:350
622
  msgid "Textblock Titled"
623
  msgstr ""
633
  msgstr ""
634
 
635
  #: ../assets/theme-mode/demo-theme-options.php:623
636
+ #: ../includes/ot-functions-admin.php:2259
637
  #: ../includes/ot-functions-docs-page.php:353
638
  msgid "Typography"
639
  msgstr ""
651
  msgstr ""
652
 
653
  #: ../assets/theme-mode/demo-theme-options.php:638
654
+ #: ../includes/ot-functions-admin.php:2260
655
  #: ../includes/ot-functions-docs-page.php:373
656
  msgid "Upload"
657
  msgstr ""
822
  msgid "The Colorpicker only allows valid hexadecimal values."
823
  msgstr ""
824
 
825
+ #: ../includes/ot-functions-admin.php:658
826
  #: ../includes/ot-functions-option-types.php:257
827
  #: ../includes/ot-functions-option-types.php:2453
828
  msgid "Remove Media"
829
  msgstr ""
830
 
831
+ #: ../includes/ot-functions-admin.php:659
832
  msgid "Are you sure you want to reset back to the defaults?"
833
  msgstr ""
834
 
835
+ #: ../includes/ot-functions-admin.php:660
836
  msgid "You can't remove this! But you can edit the values."
837
  msgstr ""
838
 
839
+ #: ../includes/ot-functions-admin.php:661
840
  msgid "Are you sure you want to remove this?"
841
  msgstr ""
842
 
843
+ #: ../includes/ot-functions-admin.php:662
844
  msgid "Are you sure you want to activate this layout?"
845
  msgstr ""
846
 
847
+ #: ../includes/ot-functions-admin.php:663
848
  msgid "Sorry, you can't have settings three levels deep."
849
  msgstr ""
850
 
851
+ #: ../includes/ot-functions-admin.php:664
852
  #: ../includes/ot-functions-option-types.php:812
853
  msgid "Delete Gallery"
854
  msgstr ""
855
 
856
+ #: ../includes/ot-functions-admin.php:665
857
  #: ../includes/ot-functions-option-types.php:813
858
  msgid "Edit Gallery"
859
  msgstr ""
860
 
861
+ #: ../includes/ot-functions-admin.php:666
862
  #: ../includes/ot-functions-option-types.php:820
863
  msgid "Create Gallery"
864
  msgstr ""
865
 
866
+ #: ../includes/ot-functions-admin.php:667
867
  msgid "Are you sure you want to delete this Gallery?"
868
  msgstr ""
869
 
870
+ #: ../includes/ot-functions-admin.php:668
871
  msgid "Today"
872
  msgstr ""
873
 
874
+ #: ../includes/ot-functions-admin.php:669
875
  msgid "Now"
876
  msgstr ""
877
 
878
+ #: ../includes/ot-functions-admin.php:670
879
  msgid "Close"
880
  msgstr ""
881
 
882
+ #: ../includes/ot-functions-admin.php:671
883
  msgid "Featured Image"
884
  msgstr ""
885
 
886
+ #: ../includes/ot-functions-admin.php:672
887
+ #: ../includes/ot-functions-admin.php:2808
888
+ #: ../includes/ot-functions-admin.php:2869
889
  msgid "Image"
890
  msgstr ""
891
 
892
+ #: ../includes/ot-functions-admin.php:738
893
  msgid "Option Tree"
894
  msgstr ""
895
 
896
+ #: ../includes/ot-functions-admin.php:875
897
  msgid "General"
898
  msgstr ""
899
 
900
+ #: ../includes/ot-functions-admin.php:881
901
  msgid "Sample Text Field Label"
902
  msgstr ""
903
 
904
+ #: ../includes/ot-functions-admin.php:882
905
  msgid "Description for the sample text field."
906
  msgstr ""
907
 
908
+ #: ../includes/ot-functions-admin.php:2124
909
  msgid "Settings updated."
910
  msgstr ""
911
 
912
+ #: ../includes/ot-functions-admin.php:2128
913
  msgid "Settings could not be saved."
914
  msgstr ""
915
 
916
+ #: ../includes/ot-functions-admin.php:2136
917
  msgid "Settings Imported."
918
  msgstr ""
919
 
920
+ #: ../includes/ot-functions-admin.php:2140
921
  msgid "Settings could not be imported."
922
  msgstr ""
923
 
924
+ #: ../includes/ot-functions-admin.php:2147
925
  msgid "Data Imported."
926
  msgstr ""
927
 
928
+ #: ../includes/ot-functions-admin.php:2151
929
  msgid "Data could not be imported."
930
  msgstr ""
931
 
932
+ #: ../includes/ot-functions-admin.php:2159
933
  msgid "Layouts Imported."
934
  msgstr ""
935
 
936
+ #: ../includes/ot-functions-admin.php:2163
937
  msgid "Layouts could not be imported."
938
  msgstr ""
939
 
940
+ #: ../includes/ot-functions-admin.php:2171
941
  msgid "Layouts Updated."
942
  msgstr ""
943
 
944
+ #: ../includes/ot-functions-admin.php:2175
945
  msgid "Layouts could not be updated."
946
  msgstr ""
947
 
948
+ #: ../includes/ot-functions-admin.php:2179
949
  msgid "Layouts have been deleted."
950
  msgstr ""
951
 
952
+ #: ../includes/ot-functions-admin.php:2185
953
  msgid "Layout activated."
954
  msgstr ""
955
 
956
+ #: ../includes/ot-functions-admin.php:2228
957
  msgid "Color Picker"
958
  msgstr ""
959
 
960
+ #: ../includes/ot-functions-admin.php:2247
961
  #: ../includes/ot-functions-docs-page.php:248
962
  msgid "Slider"
963
  msgstr ""
964
 
965
+ #: ../includes/ot-functions-admin.php:2249
966
  #: ../includes/ot-functions-docs-page.php:254
967
  msgid "Tab"
968
  msgstr ""
969
 
970
+ #: ../includes/ot-functions-admin.php:2753
971
  msgid "Left Sidebar"
972
  msgstr ""
973
 
974
+ #: ../includes/ot-functions-admin.php:2758
975
  msgid "Right Sidebar"
976
  msgstr ""
977
 
978
+ #: ../includes/ot-functions-admin.php:2763
979
  msgid "Full Width (no sidebar)"
980
  msgstr ""
981
 
982
+ #: ../includes/ot-functions-admin.php:2768
983
  msgid "Dual Sidebar"
984
  msgstr ""
985
 
986
+ #: ../includes/ot-functions-admin.php:2773
987
  msgid "Left Dual Sidebar"
988
  msgstr ""
989
 
990
+ #: ../includes/ot-functions-admin.php:2778
991
  msgid "Right Dual Sidebar"
992
  msgstr ""
993
 
994
+ #: ../includes/ot-functions-admin.php:2819
995
+ #: ../includes/ot-functions-admin.php:2875
996
+ #: ../includes/ot-functions-admin.php:4751
997
  msgid "Link"
998
  msgstr ""
999
 
1000
+ #: ../includes/ot-functions-admin.php:2830
1001
+ #: ../includes/ot-functions-admin.php:2881
1002
  #: ../includes/ot-functions-docs-page.php:43
1003
  #: ../includes/ot-functions-docs-page.php:404
1004
  #: ../includes/ot-functions-docs-page.php:454
1005
  msgid "Description"
1006
  msgstr ""
1007
 
1008
+ #: ../includes/ot-functions-admin.php:2945
1009
  msgid "Name"
1010
  msgstr ""
1011
 
1012
+ #: ../includes/ot-functions-admin.php:2946
1013
  msgid "Enter the name of the social website."
1014
  msgstr ""
1015
 
1016
+ #: ../includes/ot-functions-admin.php:2954
1017
  msgid "Enter the text shown in the title attribute of the link."
1018
  msgstr ""
1019
 
1020
+ #: ../includes/ot-functions-admin.php:2960
1021
  #, php-format
1022
  msgid ""
1023
  "Enter a link to the profile or page on the social website. Remember to add "
1024
  "the %s part to the front of the link."
1025
  msgstr ""
1026
 
1027
+ #: ../includes/ot-functions-admin.php:3443
1028
  msgid "edit"
1029
  msgstr ""
1030
 
1031
+ #: ../includes/ot-functions-admin.php:3444
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1032
  #: ../includes/ot-functions-admin.php:3512
1033
+ #: ../includes/ot-functions-admin.php:3513
1034
  #: ../includes/ot-functions-admin.php:3675
1035
+ #: ../includes/ot-functions-admin.php:3676
1036
  #: ../includes/ot-functions-admin.php:3741
1037
+ #: ../includes/ot-functions-admin.php:3742
 
 
1038
  #: ../includes/ot-functions-admin.php:3869
1039
+ #: ../includes/ot-functions-admin.php:3870
1040
  #: ../includes/ot-functions-admin.php:4022
1041
+ #: ../includes/ot-functions-admin.php:4023
1042
+ msgid "Edit"
1043
+ msgstr ""
1044
+
1045
+ #: ../includes/ot-functions-admin.php:3446
1046
+ #: ../includes/ot-functions-admin.php:3447
1047
+ #: ../includes/ot-functions-admin.php:3515
1048
+ #: ../includes/ot-functions-admin.php:3516
1049
+ #: ../includes/ot-functions-admin.php:3678
1050
+ #: ../includes/ot-functions-admin.php:3679
1051
+ #: ../includes/ot-functions-admin.php:3744
1052
+ #: ../includes/ot-functions-admin.php:3745
1053
+ #: ../includes/ot-functions-admin.php:3803
1054
+ #: ../includes/ot-functions-admin.php:3804
1055
+ #: ../includes/ot-functions-admin.php:3872
1056
+ #: ../includes/ot-functions-admin.php:3873
1057
+ #: ../includes/ot-functions-admin.php:4025
1058
+ #: ../includes/ot-functions-admin.php:4026
1059
  msgid "Delete"
1060
  msgstr ""
1061
 
1062
+ #: ../includes/ot-functions-admin.php:3453
1063
  msgid ""
1064
  "<strong>Section Title</strong>: Displayed as a menu item on the Theme "
1065
  "Options page."
1066
  msgstr ""
1067
 
1068
+ #: ../includes/ot-functions-admin.php:3461
1069
  msgid ""
1070
  "<strong>Section ID</strong>: A unique lower case alphanumeric string, "
1071
  "underscores allowed."
1072
  msgstr ""
1073
 
1074
+ #: ../includes/ot-functions-admin.php:3522
1075
  msgid ""
1076
  "<strong>Label</strong>: Displayed as the label of a form element on the "
1077
  "Theme Options page."
1078
  msgstr ""
1079
 
1080
+ #: ../includes/ot-functions-admin.php:3530
1081
+ #: ../includes/ot-functions-admin.php:3759
1082
  msgid ""
1083
  "<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
1084
  "allowed."
1085
  msgstr ""
1086
 
1087
+ #: ../includes/ot-functions-admin.php:3538
1088
  msgid ""
1089
  "<strong>Type</strong>: Choose one of the available option types from the "
1090
  "dropdown."
1091
  msgstr ""
1092
 
1093
+ #: ../includes/ot-functions-admin.php:3549
1094
  msgid ""
1095
  "<strong>Description</strong>: Enter a detailed description for the users to "
1096
  "read on the Theme Options page, HTML is allowed. This is also where you "
1097
  "enter content for both the Textblock & Textblock Titled option types."
1098
  msgstr ""
1099
 
1100
+ #: ../includes/ot-functions-admin.php:3557
1101
  msgid ""
1102
  "<strong>Choices</strong>: This will only affect the following option types: "
1103
  "Checkbox, Radio, Select & Select Image."
1104
  msgstr ""
1105
 
1106
+ #: ../includes/ot-functions-admin.php:3562
1107
  msgid "Add Choice"
1108
  msgstr ""
1109
 
1110
+ #: ../includes/ot-functions-admin.php:3568
1111
  msgid ""
1112
  "<strong>Settings</strong>: This will only affect the List Item option type."
1113
  msgstr ""
1114
 
1115
+ #: ../includes/ot-functions-admin.php:3573
1116
  #: ../includes/ot-functions-settings-page.php:93
1117
  msgid "Add Setting"
1118
  msgstr ""
1119
 
1120
+ #: ../includes/ot-functions-admin.php:3579
1121
  msgid ""
1122
  "<strong>Standard</strong>: Setting the standard value for your option only "
1123
  "works for some option types. Read the <code>OptionTree->Documentation</code> "
1124
  "for more information on which ones."
1125
  msgstr ""
1126
 
1127
+ #: ../includes/ot-functions-admin.php:3587
1128
  msgid ""
1129
  "<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
1130
  "textarea. This will only affect the following option types: CSS, Textarea, & "
1131
  "Textarea Simple."
1132
  msgstr ""
1133
 
1134
+ #: ../includes/ot-functions-admin.php:3595
1135
  msgid ""
1136
  "<strong>Post Type</strong>: Add a comma separated list of post type like "
1137
  "'post,page'. This will only affect the following option types: Custom Post "
1138
  "Type Checkbox, & Custom Post Type Select."
1139
  msgstr ""
1140
 
1141
+ #: ../includes/ot-functions-admin.php:3603
1142
  msgid ""
1143
  "<strong>Taxonomy</strong>: Add a comma separated list of any registered "
1144
  "taxonomy like 'category,post_tag'. This will only affect the following "
1145
  "option types: Taxonomy Checkbox, & Taxonomy Select."
1146
  msgstr ""
1147
 
1148
+ #: ../includes/ot-functions-admin.php:3611
1149
  msgid ""
1150
  "<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
1151
  "the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
1154
  "type."
1155
  msgstr ""
1156
 
1157
+ #: ../includes/ot-functions-admin.php:3619
1158
  msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
1159
  msgstr ""
1160
 
1161
+ #: ../includes/ot-functions-admin.php:3627
1162
  #, php-format
1163
  msgid ""
1164
  "<strong>Condition</strong>: Add a comma separated list (no spaces) of "
1167
  "placeholder for your condition, which can be in the form of %s."
1168
  msgstr ""
1169
 
1170
+ #: ../includes/ot-functions-admin.php:3635
1171
  msgid ""
1172
  "<strong>Operator</strong>: Choose the logical operator to compute the result "
1173
  "of the conditions."
1174
  msgstr ""
1175
 
1176
+ #: ../includes/ot-functions-admin.php:3639
1177
  msgid "or"
1178
  msgstr ""
1179
 
1180
+ #: ../includes/ot-functions-admin.php:3685
1181
  #: ../includes/ot-functions-docs-page.php:29
1182
  msgid "Label"
1183
  msgstr ""
1184
 
1185
+ #: ../includes/ot-functions-admin.php:3695
1186
  msgid "Value"
1187
  msgstr ""
1188
 
1189
+ #: ../includes/ot-functions-admin.php:3705
1190
  msgid "Image Source (Radio Image only)"
1191
  msgstr ""
1192
 
1193
+ #: ../includes/ot-functions-admin.php:3751
1194
  msgid ""
1195
  "<strong>Title</strong>: Displayed as a contextual help menu item on the "
1196
  "Theme Options page."
1197
  msgstr ""
1198
 
1199
+ #: ../includes/ot-functions-admin.php:3767
1200
  msgid ""
1201
  "<strong>Content</strong>: Enter the HTML content about this contextual help "
1202
  "item displayed on the Theme Option page for end users to read."
1203
  msgstr ""
1204
 
1205
+ #: ../includes/ot-functions-admin.php:3798
1206
  msgid "Layout"
1207
  msgstr ""
1208
 
1209
+ #: ../includes/ot-functions-admin.php:3800
1210
+ #: ../includes/ot-functions-admin.php:3801
1211
  msgid "Activate"
1212
  msgstr ""
1213
 
1214
+ #: ../includes/ot-functions-admin.php:3837 ../includes/ot-meta-box-api.php:223
1215
  #: ../includes/ot-settings-api.php:594
1216
  msgid "Title"
1217
  msgstr ""
1218
 
1219
+ #: ../includes/ot-functions-admin.php:4177
1220
  msgid "New Layout"
1221
  msgstr ""
1222
 
1223
+ #: ../includes/ot-functions-admin.php:4760
1224
  msgid "Link URL"
1225
  msgstr ""
1226
 
1227
+ #: ../includes/ot-functions-admin.php:4767
1228
  msgid "Link Title"
1229
  msgstr ""
1230
 
1231
+ #: ../includes/ot-functions-admin.php:4797
1232
  msgid "Quote"
1233
  msgstr ""
1234
 
1235
+ #: ../includes/ot-functions-admin.php:4806
1236
  msgid "Source Name (ex. author, singer, actor)"
1237
  msgstr ""
1238
 
1239
+ #: ../includes/ot-functions-admin.php:4813
1240
  msgid "Source URL"
1241
  msgstr ""
1242
 
1243
+ #: ../includes/ot-functions-admin.php:4820
1244
  msgid "Source Title (ex. book, song, movie)"
1245
  msgstr ""
1246
 
1247
+ #: ../includes/ot-functions-admin.php:4827
1248
  msgid "Source Date"
1249
  msgstr ""
1250
 
1251
+ #: ../includes/ot-functions-admin.php:4857
1252
  msgid "Video"
1253
  msgstr ""
1254
 
1255
+ #: ../includes/ot-functions-admin.php:4866
1256
  #, php-format
1257
  msgid ""
1258
  "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list "
1260
  "built-in %2$s shortcode."
1261
  msgstr ""
1262
 
1263
+ #: ../includes/ot-functions-admin.php:4866
1264
+ #: ../includes/ot-functions-admin.php:4905
1265
  msgid "Wordpress Codex"
1266
  msgstr ""
1267
 
1268
+ #: ../includes/ot-functions-admin.php:4896
1269
  msgid "Audio"
1270
  msgstr ""
1271
 
1272
+ #: ../includes/ot-functions-admin.php:4905
1273
  #, php-format
1274
  msgid ""
1275
  "Embed audio from services like SoundCloud and Rdio. You can find a list of "
1976
  msgid "background-size"
1977
  msgstr ""
1978
 
1979
+ #: ../includes/ot-functions-option-types.php:238
1980
+ msgid "background-image"
1981
+ msgstr ""
1982
+
1983
  #: ../includes/ot-functions-option-types.php:241
1984
  #: ../includes/ot-functions-option-types.php:2437
1985
  msgid "Add Media"
ot-loader.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: OptionTree
4
  * Plugin URI: https://github.com/valendesigns/option-tree/
5
  * Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
6
- * Version: 2.4.3
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv3
@@ -178,7 +178,7 @@ if ( ! class_exists( 'OT_Loader' ) ) {
178
  /**
179
  * Current Version number.
180
  */
181
- define( 'OT_VERSION', '2.4.3' );
182
 
183
  /**
184
  * For developers: Theme mode.
@@ -683,7 +683,7 @@ if ( ! class_exists( 'OT_Loader' ) ) {
683
 
684
  // Set the OptionTree post ID
685
  if ( ! is_object( $post ) ) {
686
- $post_id = isset( $_GET['post'] ) ? $_GET['post'] : isset( $_GET['post_ID'] ) ? $_GET['post_ID'] : 0;
687
  if ( $post_id == 0 && function_exists( 'ot_get_media_post_ID' ) ) {
688
  $post_id = ot_get_media_post_ID();
689
  }
3
  * Plugin Name: OptionTree
4
  * Plugin URI: https://github.com/valendesigns/option-tree/
5
  * Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
6
+ * Version: 2.4.4
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv3
178
  /**
179
  * Current Version number.
180
  */
181
+ define( 'OT_VERSION', '2.4.4' );
182
 
183
  /**
184
  * For developers: Theme mode.
683
 
684
  // Set the OptionTree post ID
685
  if ( ! is_object( $post ) ) {
686
+ $post_id = isset( $_GET['post'] ) ? $_GET['post'] : ( isset( $_GET['post_ID'] ) ? $_GET['post_ID'] : 0 );
687
  if ( $post_id == 0 && function_exists( 'ot_get_media_post_ID' ) ) {
688
  $post_id = ot_get_media_post_ID();
689
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/NuXI3T
4
  Tags: options, theme options, meta boxes
5
  Requires at least: 3.5
6
  Tested up to: 4.0
7
- Stable tag: 2.4.3
8
  License: GPLv3
9
 
10
  Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
@@ -118,6 +118,11 @@ The most likely scenario is your theme already has OptionTree installed in Theme
118
 
119
  == Changelog ==
120
 
 
 
 
 
 
121
  = 2.4.3 =
122
  * Hotfix - WordPress 4.0 compatible.
123
  * Hotfix - Fixed an issue where all media was being attached to the default OptionTree media post.
4
  Tags: options, theme options, meta boxes
5
  Requires at least: 3.5
6
  Tested up to: 4.0
7
+ Stable tag: 2.4.4
8
  License: GPLv3
9
 
10
  Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
118
 
119
  == Changelog ==
120
 
121
+ = 2.4.4 =
122
+ * Hotfix - Fixed undefined index caused by shorthand conditional.
123
+ * Hotfix - Fixed jQuery UI style conflicts created by the Easy Digital Downloads plugin.
124
+ * Hotfix - Added placeholder to background-image. Contributors via github @BassemN.
125
+
126
  = 2.4.3 =
127
  * Hotfix - WordPress 4.0 compatible.
128
  * Hotfix - Fixed an issue where all media was being attached to the default OptionTree media post.