Meta Box - Version 4.3.10

Version Description

  • Bug fix: upload & reorder for image fields
  • Bug fix: not saving meta caused by page template issue
  • Bug fix: filter names for helper and shortcode callback functions
  • Bug fix: loads correct locale JS files for jQueryUI date/time picker
Download this release

Release Info

Developer rilwis
Plugin Icon 128x128 Meta Box
Version 4.3.10
Comparing to
See all releases

Code changes from version 4.3.9 to 4.3.10

Files changed (238) hide show
  1. css/color.css +0 -0
  2. css/divider.css +0 -0
  3. css/file.css +0 -0
  4. css/heading.css +0 -0
  5. css/image-select.css +0 -0
  6. css/image.css +0 -0
  7. css/jqueryui/jquery-ui-timepicker-addon.css +0 -0
  8. css/jqueryui/jquery.ui.core.css +0 -0
  9. css/jqueryui/jquery.ui.datepicker.css +0 -0
  10. css/jqueryui/jquery.ui.slider.css +0 -0
  11. css/jqueryui/jquery.ui.theme.css +0 -0
  12. css/oembed.css +0 -0
  13. css/plupload-image.css +0 -0
  14. css/range.css +0 -0
  15. css/select-advanced.css +0 -0
  16. css/select.css +0 -0
  17. css/select2/select2.css +0 -0
  18. css/select2/select2.png +0 -0
  19. css/select2/select2x2.png +0 -0
  20. css/select2/spinner.gif +0 -0
  21. css/slider.css +0 -0
  22. css/style.css +0 -0
  23. css/taxonomy.css +0 -0
  24. css/wysiwyg.css +0 -0
  25. img/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  26. img/jqueryui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  27. img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  28. img/jqueryui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  29. img/jqueryui/ui-bg_glass_75_dadada_1x400.png +0 -0
  30. img/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  31. img/jqueryui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  32. img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  33. img/jqueryui/ui-icons_222222_256x240.png +0 -0
  34. img/jqueryui/ui-icons_2e83ff_256x240.png +0 -0
  35. img/jqueryui/ui-icons_454545_256x240.png +0 -0
  36. img/jqueryui/ui-icons_888888_256x240.png +0 -0
  37. img/jqueryui/ui-icons_cd0a0a_256x240.png +0 -0
  38. img/loader.gif +0 -0
  39. inc/common.php +0 -0
  40. inc/field.php +0 -0
  41. inc/fields/button.php +0 -0
  42. inc/fields/checkbox-list.php +0 -0
  43. inc/fields/checkbox.php +0 -0
  44. inc/fields/color.php +0 -0
  45. inc/fields/date.php +10 -4
  46. inc/fields/datetime.php +22 -8
  47. inc/fields/divider.php +0 -0
  48. inc/fields/email.php +0 -0
  49. inc/fields/fieldset-text.php +0 -0
  50. inc/fields/file-advanced.php +1 -1
  51. inc/fields/file-input.php +0 -0
  52. inc/fields/file.php +1 -1
  53. inc/fields/heading.php +0 -0
  54. inc/fields/hidden.php +0 -0
  55. inc/fields/image-advanced.php +1 -1
  56. inc/fields/image-select.php +0 -0
  57. inc/fields/image.php +2 -2
  58. inc/fields/map.php +0 -0
  59. inc/fields/number.php +0 -0
  60. inc/fields/oembed.php +0 -0
  61. inc/fields/password.php +0 -0
  62. inc/fields/plupload-image.php +2 -2
  63. inc/fields/post.php +0 -0
  64. inc/fields/radio.php +0 -0
  65. inc/fields/range.php +0 -0
  66. inc/fields/select-advanced.php +0 -0
  67. inc/fields/select.php +0 -0
  68. inc/fields/slider.php +0 -0
  69. inc/fields/taxonomy-advanced.php +0 -0
  70. inc/fields/taxonomy.php +0 -0
  71. inc/fields/text-list.php +0 -0
  72. inc/fields/text.php +0 -0
  73. inc/fields/textarea.php +0 -0
  74. inc/fields/thickbox-image.php +0 -0
  75. inc/fields/time.php +16 -2
  76. inc/fields/url.php +0 -0
  77. inc/fields/user.php +0 -0
  78. inc/fields/wysiwyg.php +0 -0
  79. inc/helpers.php +2 -2
  80. inc/init.php +23 -1
  81. inc/meta-box.php +0 -0
  82. js/autosave.js +0 -0
  83. js/clone.js +0 -0
  84. js/color.js +0 -0
  85. js/date.js +0 -0
  86. js/datetime.js +0 -0
  87. js/file-advanced.js +0 -0
  88. js/file-input.js +0 -0
  89. js/file.js +0 -0
  90. js/image-advanced.js +0 -0
  91. js/image-select.js +0 -0
  92. js/image.js +0 -0
  93. js/jquery.validate.min.js +0 -0
  94. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-af.js +0 -0
  95. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ar-DZ.js +0 -0
  96. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ar.js +0 -0
  97. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-az.js +0 -0
  98. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-be.js +0 -0
  99. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-bg.js +0 -0
  100. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-bs.js +0 -0
  101. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ca.js +0 -0
  102. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-cs.js +0 -0
  103. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-cy-GB.js +0 -0
  104. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-da.js +0 -0
  105. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-de.js +0 -0
  106. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-el.js +0 -0
  107. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-en-AU.js +0 -0
  108. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-en-GB.js +0 -0
  109. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-en-NZ.js +0 -0
  110. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-eo.js +0 -0
  111. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-es.js +0 -0
  112. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-et.js +0 -0
  113. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-eu.js +0 -0
  114. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fa.js +0 -0
  115. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fi.js +0 -0
  116. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fo.js +0 -0
  117. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fr-CA.js +0 -0
  118. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fr-CH.js +0 -0
  119. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fr.js +0 -0
  120. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-gl.js +0 -0
  121. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-he.js +0 -0
  122. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hi.js +0 -0
  123. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hr.js +0 -0
  124. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hu.js +0 -0
  125. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hy.js +0 -0
  126. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-id.js +0 -0
  127. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-is.js +0 -0
  128. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-it.js +0 -0
  129. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ja.js +0 -0
  130. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ka.js +0 -0
  131. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-kk.js +0 -0
  132. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-km.js +0 -0
  133. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ko.js +0 -0
  134. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ky.js +0 -0
  135. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-lb.js +0 -0
  136. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-lt.js +0 -0
  137. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-lv.js +0 -0
  138. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-mk.js +0 -0
  139. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ml.js +0 -0
  140. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ms.js +0 -0
  141. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nb.js +0 -0
  142. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nl-BE.js +0 -0
  143. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nl.js +0 -0
  144. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nn.js +0 -0
  145. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-no.js +0 -0
  146. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-pl.js +0 -0
  147. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-pt-BR.js +0 -0
  148. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-pt.js +0 -0
  149. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-rm.js +0 -0
  150. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ro.js +0 -0
  151. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ru.js +0 -0
  152. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sk.js +0 -0
  153. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sl.js +0 -0
  154. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sq.js +0 -0
  155. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sr-SR.js +0 -0
  156. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sr.js +0 -0
  157. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sv.js +0 -0
  158. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ta.js +0 -0
  159. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-th.js +0 -0
  160. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-tj.js +0 -0
  161. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-tr.js +0 -0
  162. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-uk.js +0 -0
  163. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-vi.js +0 -0
  164. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-zh-CN.js +0 -0
  165. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-zh-HK.js +0 -0
  166. js/jqueryui/datepicker-i18n/jquery.ui.datepicker-zh-TW.js +0 -0
  167. js/jqueryui/jquery-ui-timepicker-addon.js +0 -0
  168. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-af.js +0 -0
  169. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-bg.js +0 -0
  170. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ca.js +0 -0
  171. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-cs.js +0 -0
  172. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-de.js +0 -0
  173. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-el.js +0 -0
  174. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-es.js +0 -0
  175. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-et.js +0 -0
  176. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-eu.js +0 -0
  177. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-fi.js +0 -0
  178. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-fr.js +0 -0
  179. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-gl.js +0 -0
  180. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-he.js +0 -0
  181. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-hu.js +0 -0
  182. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-id.js +0 -0
  183. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-it.js +0 -0
  184. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ja.js +0 -0
  185. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ko.js +0 -0
  186. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-lt.js +0 -0
  187. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-nl.js +0 -0
  188. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-no.js +0 -0
  189. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-pl.js +0 -0
  190. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-pt-BR.js +0 -0
  191. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-pt.js +0 -0
  192. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ro.js +0 -0
  193. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ru.js +0 -0
  194. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-sk.js +0 -0
  195. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-sv.js +0 -0
  196. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-th.js +0 -0
  197. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-tr.js +0 -0
  198. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-uk.js +0 -0
  199. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-vi.js +0 -0
  200. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-zh-CN.js +0 -0
  201. js/jqueryui/timepicker-i18n/jquery-ui-timepicker-zh-TW.js +0 -0
  202. js/map.js +0 -0
  203. js/oembed.js +0 -0
  204. js/plupload-image.js +0 -0
  205. js/select-advanced.js +0 -0
  206. js/select2/select2.min.js +0 -0
  207. js/slider.js +0 -0
  208. js/taxonomy.js +0 -0
  209. js/thickbox-image.js +0 -0
  210. js/time.js +0 -0
  211. js/validate.js +0 -0
  212. lang/ar.mo +0 -0
  213. lang/ar.po +0 -0
  214. lang/de_DE.mo +0 -0
  215. lang/de_DE.po +0 -0
  216. lang/default.mo +0 -0
  217. lang/default.po +0 -0
  218. lang/es.mo +0 -0
  219. lang/es.po +0 -0
  220. lang/it_IT.mo +0 -0
  221. lang/it_IT.po +0 -0
  222. lang/nb_NO.mo +0 -0
  223. lang/nb_NO.po +0 -0
  224. lang/nl.mo +0 -0
  225. lang/nl.po +0 -0
  226. lang/pt_BR.mo +0 -0
  227. lang/pt_BR.po +0 -0
  228. lang/sv_SE.mo +0 -0
  229. lang/sv_SE.po +0 -0
  230. lang/tr_TR.mo +0 -0
  231. lang/tr_TR.po +0 -0
  232. lang/vi.mo +0 -0
  233. lang/vi.po +0 -0
  234. lang/zh_CN.mo +0 -0
  235. lang/zh_CN.po +0 -0
  236. meta-box.php +1 -1
  237. readme.txt +31 -14
  238. screenshot-1.png +0 -0
css/color.css CHANGED
File without changes
css/divider.css CHANGED
File without changes
css/file.css CHANGED
File without changes
css/heading.css CHANGED
File without changes
css/image-select.css CHANGED
File without changes
css/image.css CHANGED
File without changes
css/jqueryui/jquery-ui-timepicker-addon.css CHANGED
File without changes
css/jqueryui/jquery.ui.core.css CHANGED
File without changes
css/jqueryui/jquery.ui.datepicker.css CHANGED
File without changes
css/jqueryui/jquery.ui.slider.css CHANGED
File without changes
css/jqueryui/jquery.ui.theme.css CHANGED
File without changes
css/oembed.css CHANGED
File without changes
css/plupload-image.css CHANGED
File without changes
css/range.css CHANGED
File without changes
css/select-advanced.css CHANGED
File without changes
css/select.css CHANGED
File without changes
css/select2/select2.css CHANGED
File without changes
css/select2/select2.png CHANGED
File without changes
css/select2/select2x2.png CHANGED
File without changes
css/select2/spinner.gif CHANGED
File without changes
css/slider.css CHANGED
File without changes
css/style.css CHANGED
File without changes
css/taxonomy.css CHANGED
File without changes
css/wysiwyg.css CHANGED
File without changes
img/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png CHANGED
File without changes
img/jqueryui/ui-bg_flat_75_ffffff_40x100.png CHANGED
File without changes
img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png CHANGED
File without changes
img/jqueryui/ui-bg_glass_65_ffffff_1x400.png CHANGED
File without changes
img/jqueryui/ui-bg_glass_75_dadada_1x400.png CHANGED
File without changes
img/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png CHANGED
File without changes
img/jqueryui/ui-bg_glass_95_fef1ec_1x400.png CHANGED
File without changes
img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png CHANGED
File without changes
img/jqueryui/ui-icons_222222_256x240.png CHANGED
File without changes
img/jqueryui/ui-icons_2e83ff_256x240.png CHANGED
File without changes
img/jqueryui/ui-icons_454545_256x240.png CHANGED
File without changes
img/jqueryui/ui-icons_888888_256x240.png CHANGED
File without changes
img/jqueryui/ui-icons_cd0a0a_256x240.png CHANGED
File without changes
img/loader.gif CHANGED
File without changes
inc/common.php CHANGED
File without changes
inc/field.php CHANGED
File without changes
inc/fields/button.php CHANGED
File without changes
inc/fields/checkbox-list.php CHANGED
File without changes
inc/fields/checkbox.php CHANGED
File without changes
inc/fields/color.php CHANGED
File without changes
inc/fields/date.php CHANGED
@@ -20,12 +20,18 @@ if ( ! class_exists( 'RWMB_Date_Field' ) )
20
 
21
  // Load localized scripts
22
  $locale = str_replace( '_', '-', get_locale() );
23
- $file_path = 'jqueryui/datepicker-i18n/jquery.ui.datepicker-' . $locale . '.js';
 
 
24
  $deps = array( 'jquery-ui-datepicker' );
25
- if ( file_exists( RWMB_DIR . 'js/' . $file_path ) )
26
  {
27
- wp_register_script( 'jquery-ui-datepicker-i18n', RWMB_JS_URL . $file_path, $deps, '1.8.17', true );
28
- $deps[] = 'jquery-ui-datepicker-i18n';
 
 
 
 
29
  }
30
 
31
  wp_enqueue_script( 'rwmb-date', RWMB_JS_URL . 'date.js', $deps, RWMB_VER, true );
20
 
21
  // Load localized scripts
22
  $locale = str_replace( '_', '-', get_locale() );
23
+ $file_paths = array( 'jqueryui/datepicker-i18n/jquery.ui.datepicker-' . $locale . '.js' );
24
+ // Also check alternate i18n filename (e.g. jquery.ui.datepicker-de.js instead of jquery.ui.datepicker-de-DE.js)
25
+ if ( strlen( $locale ) > 2 ) $file_paths[] = 'jqueryui/datepicker-i18n/jquery.ui.datepicker-' . substr( $locale, 0, 2 ) . '.js';
26
  $deps = array( 'jquery-ui-datepicker' );
27
+ foreach ( $file_paths as $file_path )
28
  {
29
+ if ( file_exists( RWMB_DIR . 'js/' . $file_path ) )
30
+ {
31
+ wp_register_script( 'jquery-ui-datepicker-i18n', RWMB_JS_URL . $file_path, $deps, '1.8.17', true );
32
+ $deps[] = 'jquery-ui-datepicker-i18n';
33
+ break;
34
+ }
35
  }
36
 
37
  wp_enqueue_script( 'rwmb-date', RWMB_JS_URL . 'date.js', $deps, RWMB_VER, true );
inc/fields/datetime.php CHANGED
@@ -24,18 +24,32 @@ if ( ! class_exists( 'RWMB_Datetime_Field' ) )
24
 
25
  // Load localized scripts
26
  $locale = str_replace( '_', '-', get_locale() );
27
- $date_path = 'jqueryui/datepicker-i18n/jquery.ui.datepicker-' . $locale . '.js';
28
- $time_path = 'jqueryui/timepicker-i18n/jquery-ui-timepicker-' . $locale . '.js';
 
 
 
 
 
 
29
  $deps = array( 'jquery-ui-datepicker', 'jquery-ui-timepicker' );
30
- if ( file_exists( RWMB_DIR . 'js/' . $date_path ) )
31
  {
32
- wp_register_script( 'jquery-ui-datepicker-i18n', RWMB_JS_URL . $date_path, array( 'jquery-ui-datepicker' ), '1.8.17', true );
33
- $deps[] = 'jquery-ui-datepicker-i18n';
 
 
 
 
34
  }
35
- if ( file_exists( RWMB_DIR . 'js/' . $time_path ) )
36
  {
37
- wp_register_script( 'jquery-ui-timepicker-i18n', RWMB_JS_URL . $time_path, array( 'jquery-ui-timepicker' ), '1.8.17', true );
38
- $deps[] = 'jquery-ui-timepicker-i18n';
 
 
 
 
39
  }
40
 
41
  wp_enqueue_script( 'rwmb-datetime', RWMB_JS_URL . 'datetime.js', $deps, RWMB_VER, true );
24
 
25
  // Load localized scripts
26
  $locale = str_replace( '_', '-', get_locale() );
27
+ $date_paths = array( 'jqueryui/datepicker-i18n/jquery.ui.datepicker-' . $locale . '.js' );
28
+ $time_paths = array( 'jqueryui/timepicker-i18n/jquery-ui-timepicker-' . $locale . '.js' );
29
+ if ( strlen( $locale ) > 2 ) {
30
+ // Also check alternate i18n filenames
31
+ // (e.g. jquery.ui.datepicker-de.js instead of jquery.ui.datepicker-de-DE.js)
32
+ $date_paths[] = 'jqueryui/datepicker-i18n/jquery.ui.datepicker-' . substr( $locale, 0, 2 ) . '.js';
33
+ $time_paths[] = 'jqueryui/timepicker-i18n/jquery-ui-timepicker-' . substr( $locale, 0, 2 ) . '.js';
34
+ }
35
  $deps = array( 'jquery-ui-datepicker', 'jquery-ui-timepicker' );
36
+ foreach ( $date_paths as $date_path )
37
  {
38
+ if ( file_exists( RWMB_DIR . 'js/' . $date_path ) )
39
+ {
40
+ wp_register_script( 'jquery-ui-datepicker-i18n', RWMB_JS_URL . $date_path, array( 'jquery-ui-datepicker' ), '1.8.17', true );
41
+ $deps[] = 'jquery-ui-datepicker-i18n';
42
+ break;
43
+ }
44
  }
45
+ foreach ( $time_paths as $time_path )
46
  {
47
+ if ( file_exists( RWMB_DIR . 'js/' . $time_path ) )
48
+ {
49
+ wp_register_script( 'jquery-ui-timepicker-i18n', RWMB_JS_URL . $time_path, array( 'jquery-ui-timepicker' ), '1.8.17', true );
50
+ $deps[] = 'jquery-ui-timepicker-i18n';
51
+ break;
52
+ }
53
  }
54
 
55
  wp_enqueue_script( 'rwmb-datetime', RWMB_JS_URL . 'datetime.js', $deps, RWMB_VER, true );
inc/fields/divider.php CHANGED
File without changes
inc/fields/email.php CHANGED
File without changes
inc/fields/fieldset-text.php CHANGED
File without changes
inc/fields/file-advanced.php CHANGED
@@ -41,7 +41,7 @@ if ( ! class_exists( 'RWMB_File_Advanced_Field' ) )
41
  static function wp_ajax_attach_file()
42
  {
43
  $post_id = isset( $_REQUEST['post_id'] ) ? intval( $_REQUEST['post_id'] ) : 0;
44
- $field_id = isset( $_POST['field_id'] ) ? sanitize_key( $_POST['field_id'] ) : 0;
45
  $attachment_ids = isset( $_POST['attachment_ids'] ) ? (array) $_POST['attachment_ids'] : array();
46
 
47
  check_ajax_referer( "rwmb-attach-file_{$field_id}" );
41
  static function wp_ajax_attach_file()
42
  {
43
  $post_id = isset( $_REQUEST['post_id'] ) ? intval( $_REQUEST['post_id'] ) : 0;
44
+ $field_id = isset( $_POST['field_id'] ) ? $_POST['field_id'] : 0;
45
  $attachment_ids = isset( $_POST['attachment_ids'] ) ? (array) $_POST['attachment_ids'] : array();
46
 
47
  check_ajax_referer( "rwmb-attach-file_{$field_id}" );
inc/fields/file-input.php CHANGED
File without changes
inc/fields/file.php CHANGED
@@ -55,7 +55,7 @@ if ( ! class_exists( 'RWMB_File_Field' ) )
55
  static function wp_ajax_delete_file()
56
  {
57
  $post_id = isset( $_POST['post_id'] ) ? intval( $_POST['post_id'] ) : 0;
58
- $field_id = isset( $_POST['field_id'] ) ? sanitize_key( $_POST['field_id'] ) : 0;
59
  $attachment_id = isset( $_POST['attachment_id'] ) ? intval( $_POST['attachment_id'] ) : 0;
60
  $force_delete = isset( $_POST['force_delete'] ) ? intval( $_POST['force_delete'] ) : 0;
61
 
55
  static function wp_ajax_delete_file()
56
  {
57
  $post_id = isset( $_POST['post_id'] ) ? intval( $_POST['post_id'] ) : 0;
58
+ $field_id = isset( $_POST['field_id'] ) ? $_POST['field_id'] : 0;
59
  $attachment_id = isset( $_POST['attachment_id'] ) ? intval( $_POST['attachment_id'] ) : 0;
60
  $force_delete = isset( $_POST['force_delete'] ) ? intval( $_POST['force_delete'] ) : 0;
61
 
inc/fields/heading.php CHANGED
File without changes
inc/fields/hidden.php CHANGED
File without changes
inc/fields/image-advanced.php CHANGED
@@ -46,7 +46,7 @@ if ( ! class_exists( 'RWMB_Image_Advanced_Field' ) )
46
  static function wp_ajax_attach_media()
47
  {
48
  $post_id = isset( $_REQUEST['post_id'] ) ? intval( $_REQUEST['post_id'] ) : 0;
49
- $field_id = isset( $_POST['field_id'] ) ? sanitize_key( $_POST['field_id'] ) : 0;
50
  $attachment_ids = isset( $_POST['attachment_ids'] ) ? (array) $_POST['attachment_ids'] : array();
51
 
52
  check_ajax_referer( "rwmb-attach-media_{$field_id}" );
46
  static function wp_ajax_attach_media()
47
  {
48
  $post_id = isset( $_REQUEST['post_id'] ) ? intval( $_REQUEST['post_id'] ) : 0;
49
+ $field_id = isset( $_POST['field_id'] ) ? $_POST['field_id'] : 0;
50
  $attachment_ids = isset( $_POST['attachment_ids'] ) ? (array) $_POST['attachment_ids'] : array();
51
 
52
  check_ajax_referer( "rwmb-attach-media_{$field_id}" );
inc/fields/image-select.php CHANGED
File without changes
inc/fields/image.php CHANGED
@@ -41,8 +41,8 @@ if ( ! class_exists( 'RWMB_Image_Field' ) )
41
  */
42
  static function wp_ajax_reorder_images()
43
  {
44
- $field_id = isset( $_POST['field_id'] ) ? intval( $_POST['field_id'] ) : 0;
45
- $order = isset( $_POST['order'] ) ? $_POST['order'] : 0;
46
  $post_id = isset( $_POST['post_id'] ) ? intval( $_POST['post_id'] ) : 0;
47
 
48
  check_ajax_referer( "rwmb-reorder-images_{$field_id}" );
41
  */
42
  static function wp_ajax_reorder_images()
43
  {
44
+ $field_id = isset( $_POST['field_id'] ) ? $_POST['field_id'] : 0;
45
+ $order = isset( $_POST['order'] ) ? $_POST['order'] : '';
46
  $post_id = isset( $_POST['post_id'] ) ? intval( $_POST['post_id'] ) : 0;
47
 
48
  check_ajax_referer( "rwmb-reorder-images_{$field_id}" );
inc/fields/map.php CHANGED
File without changes
inc/fields/number.php CHANGED
File without changes
inc/fields/oembed.php CHANGED
File without changes
inc/fields/password.php CHANGED
File without changes
inc/fields/plupload-image.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  // Prevent loading this file directly
3
  defined( 'ABSPATH' ) || exit;
4
-
5
  if ( ! class_exists( 'RWMB_Plupload_Image_Field' ) )
6
  {
7
  class RWMB_Plupload_Image_Field extends RWMB_Image_Field
@@ -27,7 +27,7 @@ if ( ! class_exists( 'RWMB_Plupload_Image_Field' ) )
27
  {
28
  global $wpdb;
29
  $post_id = isset( $_REQUEST['post_id'] ) ? intval( $_REQUEST['post_id'] ) : 0;
30
- $field_id = isset( $_REQUEST['field_id'] ) ? sanitize_key( $_REQUEST['field_id'] ) : '';
31
 
32
  check_ajax_referer( "rwmb-upload-images_{$field_id}" );
33
 
1
  <?php
2
  // Prevent loading this file directly
3
  defined( 'ABSPATH' ) || exit;
4
+ require_once RWMB_FIELDS_DIR . 'image.php';
5
  if ( ! class_exists( 'RWMB_Plupload_Image_Field' ) )
6
  {
7
  class RWMB_Plupload_Image_Field extends RWMB_Image_Field
27
  {
28
  global $wpdb;
29
  $post_id = isset( $_REQUEST['post_id'] ) ? intval( $_REQUEST['post_id'] ) : 0;
30
+ $field_id = isset( $_REQUEST['field_id'] ) ? $_REQUEST['field_id'] : '';
31
 
32
  check_ajax_referer( "rwmb-upload-images_{$field_id}" );
33
 
inc/fields/post.php CHANGED
File without changes
inc/fields/radio.php CHANGED
File without changes
inc/fields/range.php CHANGED
File without changes
inc/fields/select-advanced.php CHANGED
File without changes
inc/fields/select.php CHANGED
File without changes
inc/fields/slider.php CHANGED
File without changes
inc/fields/taxonomy-advanced.php CHANGED
File without changes
inc/fields/taxonomy.php CHANGED
File without changes
inc/fields/text-list.php CHANGED
File without changes
inc/fields/text.php CHANGED
File without changes
inc/fields/textarea.php CHANGED
File without changes
inc/fields/thickbox-image.php CHANGED
File without changes
inc/fields/time.php CHANGED
@@ -22,11 +22,25 @@ if ( ! class_exists( 'RWMB_Time_Field' ) )
22
 
23
  $url = RWMB_JS_URL . 'jqueryui';
24
  wp_register_script( 'jquery-ui-timepicker', "{$url}/jquery-ui-timepicker-addon.js", array( 'jquery-ui-datepicker', 'jquery-ui-slider' ), '0.9.7', true );
 
25
 
26
  $locale = str_replace( '_', '-', get_locale() );
27
- wp_register_script( 'jquery-ui-timepicker-i18n', "{$url}/timepicker-i18n/jquery-ui-timepicker-{$locale}.js", array( 'jquery-ui-timepicker' ), '0.9.7', true );
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
- wp_enqueue_script( 'rwmb-time', RWMB_JS_URL.'time.js', array( 'jquery-ui-timepicker' ), RWMB_VER, true );
30
  wp_localize_script( 'rwmb-time', 'RWMB_Timepicker', array( 'lang' => $locale ) );
31
  }
32
 
22
 
23
  $url = RWMB_JS_URL . 'jqueryui';
24
  wp_register_script( 'jquery-ui-timepicker', "{$url}/jquery-ui-timepicker-addon.js", array( 'jquery-ui-datepicker', 'jquery-ui-slider' ), '0.9.7', true );
25
+ $deps = array( 'jquery-ui-timepicker' );
26
 
27
  $locale = str_replace( '_', '-', get_locale() );
28
+ $timepicker_locale_js_url = '';
29
+ if ( file_exists( RWMB_DIR . "js/jqueryui/timepicker-i18n/jquery-ui-timepicker-{$locale}.js" ) )
30
+ {
31
+ $timepicker_locale_js_url = "{$url}/timepicker-i18n/jquery-ui-timepicker-{$locale}.js";
32
+ }
33
+ elseif ( strlen( $locale ) > 2 && file_exists( RWMB_DIR . 'js/jqueryui/timepicker-i18n/jquery-ui-timepicker-' . substr( $locale, 0, 2 ) . '.js' ) )
34
+ {
35
+ $timepicker_locale_js_url = "{$url}/timepicker-i18n/jquery-ui-timepicker-" . substr( $locale, 0, 2 ) . '.js';
36
+ }
37
+ if ( $timepicker_locale_js_url )
38
+ {
39
+ wp_register_script( 'jquery-ui-timepicker-i18n', $timepicker_locale_js_url, array( 'jquery-ui-timepicker' ), '0.9.7', true );
40
+ $deps = array( 'jquery-ui-timepicker-i18n' );
41
+ }
42
 
43
+ wp_enqueue_script( 'rwmb-time', RWMB_JS_URL.'time.js', $deps, RWMB_VER, true );
44
  wp_localize_script( 'rwmb-time', 'RWMB_Timepicker', array( 'lang' => $locale ) );
45
  }
46
 
inc/fields/url.php CHANGED
File without changes
inc/fields/user.php CHANGED
File without changes
inc/fields/wysiwyg.php CHANGED
File without changes
inc/helpers.php CHANGED
@@ -117,7 +117,7 @@ if ( ! class_exists( 'RWMB_Helper' ) )
117
  $content = $meta;
118
  }
119
 
120
- return apply_filters( __FUNCTION__, $content );
121
  }
122
 
123
  /**
@@ -213,7 +213,7 @@ if ( ! class_exists( 'RWMB_Helper' ) )
213
  $meta = self::map( $key, $args, $post_id );
214
  }
215
 
216
- return apply_filters( __FUNCTION__, $meta, $key, $args, $post_id );
217
  }
218
 
219
  /**
117
  $content = $meta;
118
  }
119
 
120
+ return apply_filters( 'rwmb_shortcode', $content );
121
  }
122
 
123
  /**
213
  $meta = self::map( $key, $args, $post_id );
214
  }
215
 
216
+ return apply_filters( 'rwmb_meta', $meta, $key, $args, $post_id );
217
  }
218
 
219
  /**
inc/init.php CHANGED
@@ -18,4 +18,26 @@ function rwmb_register_meta_boxes()
18
  {
19
  new RW_Meta_Box( $meta_box );
20
  }
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  {
19
  new RW_Meta_Box( $meta_box );
20
  }
21
+ }
22
+
23
+ add_action( 'edit_page_form', 'rwmb_fix_page_template' );
24
+
25
+ /**
26
+ * WordPress will prevent post data saving if a page template has been selected that does not exist
27
+ * This is especially a problem when switching to our theme, and old page templates are in the post data
28
+ * Unset the page template if the page does not exist to allow the post to save
29
+ *
30
+ * @param WP_Post $post
31
+ *
32
+ * @return void
33
+ * @since 4.3.10
34
+ */
35
+ function rwmb_fix_page_template( $post )
36
+ {
37
+ $template = get_post_meta( $post->ID, '_wp_page_template', true );
38
+ $page_templates = wp_get_theme()->get_page_templates();
39
+
40
+ // If the template doesn't exists, remove the data to allow WordPress to save
41
+ if ( ! isset( $page_templates[$template] ) )
42
+ delete_post_meta( $post->ID, '_wp_page_template' );
43
+ }
inc/meta-box.php CHANGED
File without changes
js/autosave.js CHANGED
File without changes
js/clone.js CHANGED
File without changes
js/color.js CHANGED
File without changes
js/date.js CHANGED
File without changes
js/datetime.js CHANGED
File without changes
js/file-advanced.js CHANGED
File without changes
js/file-input.js CHANGED
File without changes
js/file.js CHANGED
File without changes
js/image-advanced.js CHANGED
File without changes
js/image-select.js CHANGED
File without changes
js/image.js CHANGED
File without changes
js/jquery.validate.min.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-af.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ar-DZ.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ar.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-az.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-be.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-bg.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-bs.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ca.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-cs.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-cy-GB.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-da.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-de.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-el.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-en-AU.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-en-GB.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-en-NZ.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-eo.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-es.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-et.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-eu.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fa.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fi.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fo.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fr-CA.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fr-CH.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fr.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-gl.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-he.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hi.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hr.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hu.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hy.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-id.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-is.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-it.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ja.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ka.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-kk.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-km.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ko.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ky.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-lb.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-lt.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-lv.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-mk.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ml.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ms.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nb.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nl-BE.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nl.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nn.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-no.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-pl.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-pt-BR.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-pt.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-rm.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ro.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ru.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sk.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sl.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sq.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sr-SR.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sr.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sv.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ta.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-th.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-tj.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-tr.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-uk.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-vi.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-zh-CN.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-zh-HK.js CHANGED
File without changes
js/jqueryui/datepicker-i18n/jquery.ui.datepicker-zh-TW.js CHANGED
File without changes
js/jqueryui/jquery-ui-timepicker-addon.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-af.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-bg.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ca.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-cs.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-de.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-el.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-es.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-et.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-eu.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-fi.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-fr.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-gl.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-he.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-hu.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-id.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-it.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ja.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ko.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-lt.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-nl.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-no.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-pl.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-pt-BR.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-pt.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ro.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ru.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-sk.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-sv.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-th.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-tr.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-uk.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-vi.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-zh-CN.js CHANGED
File without changes
js/jqueryui/timepicker-i18n/jquery-ui-timepicker-zh-TW.js CHANGED
File without changes
js/map.js CHANGED
File without changes
js/oembed.js CHANGED
File without changes
js/plupload-image.js CHANGED
File without changes
js/select-advanced.js CHANGED
File without changes
js/select2/select2.min.js CHANGED
File without changes
js/slider.js CHANGED
File without changes
js/taxonomy.js CHANGED
File without changes
js/thickbox-image.js CHANGED
File without changes
js/time.js CHANGED
File without changes
js/validate.js CHANGED
File without changes
lang/ar.mo CHANGED
File without changes
lang/ar.po CHANGED
File without changes
lang/de_DE.mo CHANGED
File without changes
lang/de_DE.po CHANGED
File without changes
lang/default.mo CHANGED
File without changes
lang/default.po CHANGED
File without changes
lang/es.mo CHANGED
File without changes
lang/es.po CHANGED
File without changes
lang/it_IT.mo CHANGED
File without changes
lang/it_IT.po CHANGED
File without changes
lang/nb_NO.mo CHANGED
File without changes
lang/nb_NO.po CHANGED
File without changes
lang/nl.mo CHANGED
File without changes
lang/nl.po CHANGED
File without changes
lang/pt_BR.mo CHANGED
File without changes
lang/pt_BR.po CHANGED
File without changes
lang/sv_SE.mo CHANGED
File without changes
lang/sv_SE.po CHANGED
File without changes
lang/tr_TR.mo CHANGED
File without changes
lang/tr_TR.po CHANGED
File without changes
lang/vi.mo CHANGED
File without changes
lang/vi.po CHANGED
File without changes
lang/zh_CN.mo CHANGED
File without changes
lang/zh_CN.po CHANGED
File without changes
meta-box.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Meta Box
4
  Plugin URI: http://www.deluxeblogtips.com/meta-box
5
  Description: Create meta box for editing pages in WordPress. Compatible with custom post types since WP 3.0
6
- Version: 4.3.9
7
  Author: Rilwis
8
  Author URI: http://www.deluxeblogtips.com
9
  License: GPL2+
3
  Plugin Name: Meta Box
4
  Plugin URI: http://www.deluxeblogtips.com/meta-box
5
  Description: Create meta box for editing pages in WordPress. Compatible with custom post types since WP 3.0
6
+ Version: 4.3.10
7
  Author: Rilwis
8
  Author URI: http://www.deluxeblogtips.com
9
  License: GPL2+
readme.txt CHANGED
@@ -3,24 +3,25 @@ Contributors: rilwis, franz-josef-kaiser, Omnicia, funkedgeek, PerWiklander, rua
3
  Donate link: http://www.deluxeblogtips.com/donate
4
  Tags: meta-box, custom-fields, custom-field, meta, meta-boxes
5
  Requires at least: 3.5
6
- Tested up to: 3.9.1
7
- Stable tag: 4.3.9
 
8
 
9
- Meta Box plugin helps you easily implement multiple meta boxes in editing pages in WordPress. Works with custom post types and various field types.
10
 
11
  == Description ==
12
 
13
- Meta Box plugin provides an API to easily implement custom meta boxes in editing pages (add new/edit post) in WordPress. It works with custom post types and supports various field types.
14
 
15
- **Features**
16
 
17
  * Easily registers multiple custom meta boxes for posts, pages or custom post types
18
  * Has built-in hooks which allow you to change the appearance and behavior of meta boxes
19
  * Easily integrated with themes
20
 
21
- **You can also add more features to meta box via [premium extensions](http://premium.deluxeblogtips.com)**.
22
 
23
- **Supported fields**
24
 
25
  - button
26
  - checkbox, checkbox_list
@@ -38,16 +39,27 @@ Meta Box plugin provides an API to easily implement custom meta boxes in editing
38
  - select, select_advanced (uses [select2](http://ivaynberg.github.com/select2/))
39
  - slider, range
40
  - taxonomy
 
41
  - text, url, email, number, oembed
42
  - textarea
43
  - wysiwyg
44
 
45
- **Plugin Links**
46
 
47
- - [Project Page](http://www.deluxeblogtips.com/meta-box/)
48
- - [Documentation](http://www.deluxeblogtips.com/meta-box/getting-started/)
 
 
 
 
 
 
 
 
 
 
49
  - [Report Bugs/Issues](https://github.com/rilwis/meta-box/issues)
50
- - [Premium Extensions](http://premium.deluxeblogtips.com)
51
 
52
  == Installation ==
53
 
@@ -55,16 +67,21 @@ Meta Box plugin provides an API to easily implement custom meta boxes in editing
55
  1. Upload `meta-box` to the `/wp-content/plugins/` directory
56
  1. Activate the plugin through the 'Plugins' menu in WordPress
57
 
58
- To getting started with the plugin API, please read [this tutorial](http://www.deluxeblogtips.com/meta-box/getting-started/).
59
 
60
  == Frequently Asked Questions ==
61
 
62
  == Screenshots ==
63
- 1. Basic fields
64
- 2. Advanced fields
65
 
66
  == Changelog ==
67
 
 
 
 
 
 
 
68
  = 4.3.9 =
69
  * Bug fix: `text-list` field type
70
  * Improvement: better coding styles
3
  Donate link: http://www.deluxeblogtips.com/donate
4
  Tags: meta-box, custom-fields, custom-field, meta, meta-boxes
5
  Requires at least: 3.5
6
+ Tested up to: 4.0
7
+ Stable tag: 4.3.10
8
+ License: GPLv2 or later
9
 
10
+ Meta Box plugin is a complete tool to create meta box and custom fields in WordPress: lightweight, powerful and easy-to-use.
11
 
12
  == Description ==
13
 
14
+ Meta Box plugin provides powerful API to implement custom meta boxes and custom fields in editing pages (add new/edit post) in WordPress. It works with any custom post type and supports lots of field types.
15
 
16
+ ### Features
17
 
18
  * Easily registers multiple custom meta boxes for posts, pages or custom post types
19
  * Has built-in hooks which allow you to change the appearance and behavior of meta boxes
20
  * Easily integrated with themes
21
 
22
+ **You can also add more features to meta box via [premium extensions](http://metabox.io)**.
23
 
24
+ ### Supported fields
25
 
26
  - button
27
  - checkbox, checkbox_list
39
  - select, select_advanced (uses [select2](http://ivaynberg.github.com/select2/))
40
  - slider, range
41
  - taxonomy
42
+ - taxonomy_advanced
43
  - text, url, email, number, oembed
44
  - textarea
45
  - wysiwyg
46
 
47
+ ### Premium Extensions
48
 
49
+ - [Meta Box Tooltip](http://metabox.io/plugins/meta-box-tooltip/): Display help information for fields using beautiful tooltips.
50
+ - [Meta Box Show Hide (Javascript)](http://metabox.io/plugins/meta-box-show-hide-javascript/): Toggle meta boxes by page template, post format, taxonomy (including category) via Javascript.
51
+ - [Meta Box Tabs](http://metabox.io/plugins/meta-box-tabs/): Create tabs for meta boxes easily. Support 3 WordPress-native tab styles and tab icon.
52
+ - [Meta Box Columns](http://metabox.io/plugins/meta-box-columns/): Display fields more beautiful by putting them into 12-columns grid.
53
+ - [Meta Box Include Exclude](http://metabox.io/plugins/meta-box-include-exclude/): Show/hide meta boxes by ID, page template, taxonomy or custom function.
54
+
55
+ See all premium extensions [here](http://metabox.io).
56
+
57
+ ### Plugin Links
58
+
59
+ - [Project Page](http://metabox.io)
60
+ - [Documentation](http://metabox.io/docs/)
61
  - [Report Bugs/Issues](https://github.com/rilwis/meta-box/issues)
62
+ - [Premium Extensions](http://metabox.io)
63
 
64
  == Installation ==
65
 
67
  1. Upload `meta-box` to the `/wp-content/plugins/` directory
68
  1. Activate the plugin through the 'Plugins' menu in WordPress
69
 
70
+ To getting started with the plugin API, please read [this tutorial](http://metabox.io/docs/getting-started/).
71
 
72
  == Frequently Asked Questions ==
73
 
74
  == Screenshots ==
75
+ 1. Supported fields
 
76
 
77
  == Changelog ==
78
 
79
+ = 4.3.10 =
80
+ * Bug fix: upload & reorder for image fields
81
+ * Bug fix: not saving meta caused by page template issue
82
+ * Bug fix: filter names for helper and shortcode callback functions
83
+ * Bug fix: loads correct locale JS files for jQueryUI date/time picker
84
+
85
  = 4.3.9 =
86
  * Bug fix: `text-list` field type
87
  * Improvement: better coding styles
screenshot-1.png DELETED
Binary file