Toolset Types – Custom Post Types, Custom Fields and Taxonomies - Version 1.6.5.1

Version Description

  • Release date: 2015-02-24
  • Fix Installer patch to plugins.
  • Fix problem with "Access Control and User Roles" menu in Types, when Access is active http://wp-types.com/forums/topic/update-issues-fatal-error-require_once-failed-opening-required-wpcf_access_/
  • Change utm_media used in links on "Getting Started" pages.
Download this release

Release Info

Developer iworks
Plugin Icon 128x128 Toolset Types – Custom Post Types, Custom Fields and Taxonomies
Version 1.6.5.1
Comparing to
See all releases

Code changes from version 1.6.5 to 1.6.5.1

Files changed (94) hide show
  1. admin.php +1 -1
  2. classes/class.wpcf-marketing-messages.php +4 -4
  3. classes/class.wpcf-marketing-tutorial.php +4 -4
  4. classes/class.wpcf-marketing.php +5 -5
  5. embedded/admin.php +1 -1
  6. embedded/bootstrap.php +4 -4
  7. embedded/classes/class.wpcf-post-types.php +1 -1
  8. embedded/classes/field.php +1 -1
  9. embedded/classes/fields.php +1 -1
  10. embedded/classes/forms.php +1 -1
  11. embedded/classes/loader.php +1 -1
  12. embedded/classes/path.php +1 -1
  13. embedded/classes/post-types/messages.php +1 -1
  14. embedded/classes/relationship.php +1 -1
  15. embedded/common/classes/forms.php +1 -1
  16. embedded/common/debug/debug-information.php +1 -1
  17. embedded/common/debug/functions_debug_information.php +1 -1
  18. embedded/common/toolset-forms/api.php +1 -1
  19. embedded/common/toolset-forms/bootstrap.php +1 -1
  20. embedded/common/toolset-forms/classes/class.audio.php +1 -1
  21. embedded/common/toolset-forms/classes/class.checkbox.php +1 -1
  22. embedded/common/toolset-forms/classes/class.checkboxes.php +1 -1
  23. embedded/common/toolset-forms/classes/class.colorpicker.php +1 -1
  24. embedded/common/toolset-forms/classes/class.credaudio.php +1 -1
  25. embedded/common/toolset-forms/classes/class.credfile.php +1 -1
  26. embedded/common/toolset-forms/classes/class.credimage.php +1 -1
  27. embedded/common/toolset-forms/classes/class.credvideo.php +1 -1
  28. embedded/common/toolset-forms/classes/class.eforms.php +1 -1
  29. embedded/common/toolset-forms/classes/class.field_factory.php +1 -1
  30. embedded/common/toolset-forms/classes/class.fieldconfig.php +1 -1
  31. embedded/common/toolset-forms/classes/class.file.php +1 -1
  32. embedded/common/toolset-forms/classes/class.form_factory.php +1 -1
  33. embedded/common/toolset-forms/classes/class.image.php +1 -1
  34. embedded/common/toolset-forms/classes/class.radios.php +1 -1
  35. embedded/common/toolset-forms/classes/class.repetitive.php +1 -1
  36. embedded/common/toolset-forms/classes/class.select.php +1 -1
  37. embedded/common/toolset-forms/classes/class.skype.php +1 -1
  38. embedded/common/toolset-forms/classes/class.submit.php +1 -1
  39. embedded/common/toolset-forms/classes/class.taxonomy.php +1 -1
  40. embedded/common/toolset-forms/classes/class.taxonomyhierarchical.php +1 -1
  41. embedded/common/toolset-forms/classes/class.textarea.php +1 -1
  42. embedded/common/toolset-forms/classes/class.textfield.php +1 -1
  43. embedded/common/toolset-forms/classes/class.types.php +1 -1
  44. embedded/common/toolset-forms/classes/class.video.php +1 -1
  45. embedded/common/toolset-forms/classes/class.wysiwyg.php +1 -1
  46. embedded/common/toolset-forms/external/autocompleter.php +1 -1
  47. embedded/common/toolset-forms/js/conditional.js +1 -1
  48. embedded/common/toolset-forms/js/file.js +1 -1
  49. embedded/common/toolset-forms/js/repetitive.js +1 -1
  50. embedded/common/toolset-forms/js/validation.js +1 -1
  51. embedded/common/toolset-forms/templates/metaform-item.php +1 -1
  52. embedded/common/toolset-forms/templates/metaform.php +1 -1
  53. embedded/frontend.php +1 -1
  54. embedded/functions.php +1 -1
  55. embedded/includes/custom-types.php +1 -1
  56. embedded/includes/fields-post.php +1 -1
  57. embedded/includes/fields/audio.php +1 -1
  58. embedded/includes/fields/checkbox.php +1 -1
  59. embedded/includes/fields/file.php +1 -1
  60. embedded/includes/fields/image.php +1 -1
  61. embedded/includes/fields/skype.php +1 -1
  62. embedded/includes/fields/textarea.php +1 -1
  63. embedded/includes/fields/video.php +1 -1
  64. embedded/includes/import-export.php +1 -1
  65. embedded/includes/module-manager.php +1 -1
  66. embedded/includes/post-relationship.php +1 -1
  67. embedded/includes/wpml.php +1 -1
  68. embedded/plugin.php +1 -1
  69. embedded/resources/css/dashicons.css +1 -1
  70. embedded/resources/js/basic.js +1 -1
  71. embedded/resources/js/fields-form.js +1 -1
  72. embedded/usermeta-init.php +1 -1
  73. help.php +1 -1
  74. includes/common-functions.php +1 -1
  75. includes/custom-taxonomies-form.php +1 -1
  76. includes/custom-types-form.php +1 -1
  77. includes/fields-control.php +1 -1
  78. includes/fields-form.php +1 -1
  79. includes/fields-list.php +1 -1
  80. includes/fields.php +1 -1
  81. includes/import-export.php +1 -1
  82. includes/migration.php +1 -1
  83. includes/usermeta-control.php +1 -1
  84. includes/usermeta-form.php +1 -1
  85. plus/installer/changelog.txt +4 -0
  86. plus/installer/includes/deps-loader.class.php +558 -557
  87. plus/installer/installer.php +1 -1
  88. plus/installer/loader.php +2 -2
  89. plus/installer/repositories.xml +2 -2
  90. plus/types-access.php +4 -4
  91. readme.txt +10 -2
  92. resources/js/basic.js +1 -1
  93. resources/js/custom-types-form.js +1 -1
  94. wpcf.php +5 -5
admin.php CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * Admin functions
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/admin.php $
7
  * $LastChangedDate: 2015-02-04 13:43:06 +0000 (Wed, 04 Feb 2015) $
8
  * $LastChangedRevision: 1082328 $
9
  * $LastChangedBy: iworks $
3
  *
4
  * Admin functions
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/admin.php $
7
  * $LastChangedDate: 2015-02-04 13:43:06 +0000 (Wed, 04 Feb 2015) $
8
  * $LastChangedRevision: 1082328 $
9
  * $LastChangedBy: iworks $
classes/class.wpcf-marketing-messages.php CHANGED
@@ -3,9 +3,9 @@
3
  *
4
  * Types Marketing Class
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/classes/class.wpcf-marketing-messages.php $
7
- * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
8
- * $LastChangedRevision: 1077234 $
9
  * $LastChangedBy: iworks $
10
  *
11
  */
@@ -274,7 +274,7 @@ class WPCF_Types_Marketing_Messages extends WPCF_Types_Marketing
274
  if ( isset($data['link']) ) {
275
  $content .= sprintf(
276
  '<a href="%s">%s</a>',
277
- $this->add_ga_campain($data['link']),
278
  $data['description']
279
  );
280
  } else {
3
  *
4
  * Types Marketing Class
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/classes/class.wpcf-marketing-messages.php $
7
+ * $LastChangedDate: 2015-02-24 10:05:51 +0000 (Tue, 24 Feb 2015) $
8
+ * $LastChangedRevision: 1097977 $
9
  * $LastChangedBy: iworks $
10
  *
11
  */
274
  if ( isset($data['link']) ) {
275
  $content .= sprintf(
276
  '<a href="%s">%s</a>',
277
+ $this->add_ga_campain($data['link'], 'save-updated'),
278
  $data['description']
279
  );
280
  } else {
classes/class.wpcf-marketing-tutorial.php CHANGED
@@ -3,9 +3,9 @@
3
  *
4
  * Types Tutorial Class
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/classes/class.wpcf-marketing-tutorial.php $
7
- * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
8
- * $LastChangedRevision: 1077234 $
9
  * $LastChangedBy: iworks $
10
  *
11
  */
@@ -71,7 +71,7 @@ class WPCF_Types_Marketing_Tutorial extends WPCF_Types_Marketing
71
  if ( empty($url) ) {
72
  return $this->error('empty url');
73
  }
74
- $url = $this->add_ga_campain($url);
75
 
76
  $resp = wp_remote_get($url);
77
 
3
  *
4
  * Types Tutorial Class
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/classes/class.wpcf-marketing-tutorial.php $
7
+ * $LastChangedDate: 2015-02-24 10:05:51 +0000 (Tue, 24 Feb 2015) $
8
+ * $LastChangedRevision: 1097977 $
9
  * $LastChangedBy: iworks $
10
  *
11
  */
71
  if ( empty($url) ) {
72
  return $this->error('empty url');
73
  }
74
+ $url = $this->add_ga_campain($url, 'fetch-data');
75
 
76
  $resp = wp_remote_get($url);
77
 
classes/class.wpcf-marketing.php CHANGED
@@ -3,9 +3,9 @@
3
  *
4
  * Types Marketing Class
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/classes/class.wpcf-marketing.php $
7
- * $LastChangedDate: 2015-02-04 13:43:06 +0000 (Wed, 04 Feb 2015) $
8
- * $LastChangedRevision: 1082328 $
9
  * $LastChangedBy: iworks $
10
  *
11
  */
@@ -127,12 +127,12 @@ class WPCF_Types_Marketing
127
  return $this->option_disable;
128
  }
129
 
130
- protected function add_ga_campain($url)
131
  {
132
  $url = add_query_arg(
133
  array(
134
  'utm_source' => 'typesplugin',
135
- 'utm_medium' => 'save-updated',
136
  'utm_campaig' => sprintf('%s-howto', $this->get_kind() ),
137
  ),
138
  $url
3
  *
4
  * Types Marketing Class
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/classes/class.wpcf-marketing.php $
7
+ * $LastChangedDate: 2015-02-24 10:05:51 +0000 (Tue, 24 Feb 2015) $
8
+ * $LastChangedRevision: 1097977 $
9
  * $LastChangedBy: iworks $
10
  *
11
  */
127
  return $this->option_disable;
128
  }
129
 
130
+ protected function add_ga_campain($url, $utm_medium = 'getting-started')
131
  {
132
  $url = add_query_arg(
133
  array(
134
  'utm_source' => 'typesplugin',
135
+ 'utm_medium' => $utm_medium,
136
  'utm_campaig' => sprintf('%s-howto', $this->get_kind() ),
137
  ),
138
  $url
embedded/admin.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/admin.php $
5
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
6
  * $LastChangedRevision: 1069430 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/admin.php $
5
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
6
  * $LastChangedRevision: 1069430 $
7
  * $LastChangedBy: iworks $
embedded/bootstrap.php CHANGED
@@ -7,9 +7,9 @@
7
  *
8
  * @since Types 1.2
9
  *
10
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/bootstrap.php $
11
- * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
12
- * $LastChangedRevision: 1069430 $
13
  * $LastChangedBy: iworks $
14
  *
15
  */
@@ -131,7 +131,7 @@ function wpcf_embedded_init() {
131
  // Define necessary constants if plugin is not present
132
  // This ones are skipped if used as embedded code!
133
  if ( !defined( 'WPCF_VERSION' ) ) {
134
- define( 'WPCF_VERSION', '1.6.5' );
135
  define( 'WPCF_META_PREFIX', 'wpcf-' );
136
  }
137
 
7
  *
8
  * @since Types 1.2
9
  *
10
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/bootstrap.php $
11
+ * $LastChangedDate: 2015-02-24 10:05:51 +0000 (Tue, 24 Feb 2015) $
12
+ * $LastChangedRevision: 1097977 $
13
  * $LastChangedBy: iworks $
14
  *
15
  */
131
  // Define necessary constants if plugin is not present
132
  // This ones are skipped if used as embedded code!
133
  if ( !defined( 'WPCF_VERSION' ) ) {
134
+ define( 'WPCF_VERSION', '1.6.5.1' );
135
  define( 'WPCF_META_PREFIX', 'wpcf-' );
136
  }
137
 
embedded/classes/class.wpcf-post-types.php CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * Post Types Class
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/classes/class.wpcf-post-types.php $
7
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
8
  * $LastChangedRevision: 1027712 $
9
  * $LastChangedBy: iworks $
3
  *
4
  * Post Types Class
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/classes/class.wpcf-post-types.php $
7
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
8
  * $LastChangedRevision: 1027712 $
9
  * $LastChangedBy: iworks $
embedded/classes/field.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Field class.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/classes/field.php $
6
  * $LastChangedDate: 2014-10-23 10:33:39 +0000 (Thu, 23 Oct 2014) $
7
  * $LastChangedRevision: 1012677 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Field class.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/classes/field.php $
6
  * $LastChangedDate: 2014-10-23 10:33:39 +0000 (Thu, 23 Oct 2014) $
7
  * $LastChangedRevision: 1012677 $
8
  * $LastChangedBy: iworks $
embedded/classes/fields.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Fields class.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/classes/fields.php $
6
  * $LastChangedDate: 2014-05-07 06:56:23 +0000 (Wed, 07 May 2014) $
7
  * $LastChangedRevision: 909470 $
8
  * $LastChangedBy: iworks $
2
  /**
3
  * Fields class.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/classes/fields.php $
6
  * $LastChangedDate: 2014-05-07 06:56:23 +0000 (Wed, 07 May 2014) $
7
  * $LastChangedRevision: 909470 $
8
  * $LastChangedBy: iworks $
embedded/classes/forms.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Returns HTML formatted output for elements and handles form submission.
6
  *
7
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/classes/forms.php $
8
  * $LastChangedDate: 2014-08-22 01:02:43 +0000 (Fri, 22 Aug 2014) $
9
  * $LastChangedRevision: 970205 $
10
  * $LastChangedBy: brucepearson $
4
  *
5
  * Returns HTML formatted output for elements and handles form submission.
6
  *
7
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/classes/forms.php $
8
  * $LastChangedDate: 2014-08-22 01:02:43 +0000 (Fri, 22 Aug 2014) $
9
  * $LastChangedRevision: 970205 $
10
  * $LastChangedBy: brucepearson $
embedded/classes/loader.php CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * Loader class
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/classes/loader.php $
7
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
8
  * $LastChangedRevision: 1027712 $
9
  * $LastChangedBy: iworks $
3
  *
4
  * Loader class
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/classes/loader.php $
7
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
8
  * $LastChangedRevision: 1027712 $
9
  * $LastChangedBy: iworks $
embedded/classes/path.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * WPCF_Path
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/classes/path.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
  /**
3
  * WPCF_Path
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/classes/path.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
embedded/classes/post-types/messages.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Messages.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/classes/post-types/messages.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Messages.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/classes/post-types/messages.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
embedded/classes/relationship.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Post relationship class.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/classes/relationship.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Post relationship class.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/classes/relationship.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
embedded/common/classes/forms.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Returns HTML formatted output for elements and handles form submission.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/classes/forms.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
  /**
3
  * Returns HTML formatted output for elements and handles form submission.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/classes/forms.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
embedded/common/debug/debug-information.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  * produce debug information
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/debug/debug-information.php $
7
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
8
  * $LastChangedRevision: 1027712 $
9
  * $LastChangedBy: iworks $
3
  /**
4
  * produce debug information
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/debug/debug-information.php $
7
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
8
  * $LastChangedRevision: 1027712 $
9
  * $LastChangedBy: iworks $
embedded/common/debug/functions_debug_information.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * produce debug information
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/debug/functions_debug_information.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
  /**
3
  * produce debug information
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/debug/functions_debug_information.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/api.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /**
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/api.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
 
3
  /**
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/api.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/bootstrap.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /**
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/bootstrap.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
2
 
3
  /**
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/bootstrap.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.audio.php CHANGED
@@ -6,7 +6,7 @@ require_once 'class.file.php';
6
  *
7
  * @author Srdjan
8
  *
9
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.audio.php $
10
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
11
  * $LastChangedRevision: 1027712 $
12
  * $LastChangedBy: iworks $
6
  *
7
  * @author Srdjan
8
  *
9
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.audio.php $
10
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
11
  * $LastChangedRevision: 1027712 $
12
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.checkbox.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.checkbox.php $
5
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
6
  * $LastChangedRevision: 1069430 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.checkbox.php $
5
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
6
  * $LastChangedRevision: 1069430 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.checkboxes.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Srdjan
6
  *
7
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.checkboxes.php $
8
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
9
  * $LastChangedRevision: 1069430 $
10
  * $LastChangedBy: iworks $
4
  *
5
  * @author Srdjan
6
  *
7
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.checkboxes.php $
8
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
9
  * $LastChangedRevision: 1069430 $
10
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.colorpicker.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.colorpicker.php $
5
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
6
  * $LastChangedRevision: 1069430 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.colorpicker.php $
5
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
6
  * $LastChangedRevision: 1069430 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.credaudio.php CHANGED
@@ -7,7 +7,7 @@ require_once 'class.audio.php';
7
  *
8
  * @author Srdjan
9
  *
10
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.credaudio.php $
11
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
12
  * $LastChangedRevision: 1027712 $
13
  * $LastChangedBy: iworks $
7
  *
8
  * @author Srdjan
9
  *
10
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.credaudio.php $
11
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
12
  * $LastChangedRevision: 1027712 $
13
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.credfile.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.credfile.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.credfile.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.credimage.php CHANGED
@@ -7,7 +7,7 @@ require_once 'class.image.php';
7
  *
8
  * @author Srdjan
9
  *
10
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.credimage.php $
11
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
12
  * $LastChangedRevision: 1027712 $
13
  * $LastChangedBy: iworks $
7
  *
8
  * @author Srdjan
9
  *
10
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.credimage.php $
11
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
12
  * $LastChangedRevision: 1027712 $
13
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.credvideo.php CHANGED
@@ -7,7 +7,7 @@ require_once 'class.video.php';
7
  *
8
  * @author Srdjan
9
  *
10
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.credvideo.php $
11
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
12
  * $LastChangedRevision: 1027712 $
13
  * $LastChangedBy: iworks $
7
  *
8
  * @author Srdjan
9
  *
10
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.credvideo.php $
11
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
12
  * $LastChangedRevision: 1027712 $
13
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.eforms.php CHANGED
@@ -28,7 +28,7 @@
28
  * @link http://enlimbo.net/forms
29
  * @author srdjan <srdjan@enlimbo.net>
30
  *
31
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.eforms.php $
32
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
33
  * $LastChangedRevision: 1069430 $
34
  * $LastChangedBy: iworks $
28
  * @link http://enlimbo.net/forms
29
  * @author srdjan <srdjan@enlimbo.net>
30
  *
31
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.eforms.php $
32
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
33
  * $LastChangedRevision: 1069430 $
34
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.field_factory.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /**
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.field_factory.php $
6
  * $LastChangedDate: 2014-10-23 10:33:39 +0000 (Thu, 23 Oct 2014) $
7
  * $LastChangedRevision: 1012677 $
8
  * $LastChangedBy: iworks $
2
 
3
  /**
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.field_factory.php $
6
  * $LastChangedDate: 2014-10-23 10:33:39 +0000 (Thu, 23 Oct 2014) $
7
  * $LastChangedRevision: 1012677 $
8
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.fieldconfig.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /**
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.fieldconfig.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
2
 
3
  /**
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.fieldconfig.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.file.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.file.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.file.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.form_factory.php CHANGED
@@ -10,7 +10,7 @@ define( "CLASS_NAME_PREFIX", "WPToolset_Field_" );
10
  * Creation Form Class
11
  * @author onTheGo System
12
  *
13
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.form_factory.php $
14
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
15
  * $LastChangedRevision: 1077234 $
16
  * $LastChangedBy: iworks $
10
  * Creation Form Class
11
  * @author onTheGo System
12
  *
13
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.form_factory.php $
14
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
15
  * $LastChangedRevision: 1077234 $
16
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.image.php CHANGED
@@ -6,7 +6,7 @@ require_once 'class.file.php';
6
  *
7
  * @author Srdjan
8
  *
9
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.image.php $
10
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
11
  * $LastChangedRevision: 1027712 $
12
  * $LastChangedBy: iworks $
6
  *
7
  * @author Srdjan
8
  *
9
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.image.php $
10
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
11
  * $LastChangedRevision: 1027712 $
12
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.radios.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.radios.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.radios.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.repetitive.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Repetitive controller
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.repetitive.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Repetitive controller
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.repetitive.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.select.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.select.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.select.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.skype.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.skype.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.skype.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.submit.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.submit.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.submit.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.taxonomy.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /**
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.taxonomy.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
 
3
  /**
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.taxonomy.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.taxonomyhierarchical.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.taxonomyhierarchical.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.taxonomyhierarchical.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.textarea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.textarea.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.textarea.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.textfield.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.textfield.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.textfield.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.types.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Types fields specific
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.types.php $
6
  * $LastChangedDate: 2014-10-23 10:33:39 +0000 (Thu, 23 Oct 2014) $
7
  * $LastChangedRevision: 1012677 $
8
  * $LastChangedBy: iworks $
2
  /**
3
  * Types fields specific
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.types.php $
6
  * $LastChangedDate: 2014-10-23 10:33:39 +0000 (Thu, 23 Oct 2014) $
7
  * $LastChangedRevision: 1012677 $
8
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.video.php CHANGED
@@ -6,7 +6,7 @@ require_once 'class.file.php';
6
  *
7
  * @author Srdjan
8
  *
9
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.video.php $
10
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
11
  * $LastChangedRevision: 1027712 $
12
  * $LastChangedBy: iworks $
6
  *
7
  * @author Srdjan
8
  *
9
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.video.php $
10
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
11
  * $LastChangedRevision: 1027712 $
12
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/classes/class.wysiwyg.php CHANGED
@@ -6,7 +6,7 @@ require_once 'class.textarea.php';
6
  *
7
  * @author Srdjan
8
  *
9
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/classes/class.wysiwyg.php $
10
  * $LastChangedDate: 2014-10-29 15:57:36 +0000 (Wed, 29 Oct 2014) $
11
  * $LastChangedRevision: 1016002 $
12
  * $LastChangedBy: iworks $
6
  *
7
  * @author Srdjan
8
  *
9
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/classes/class.wysiwyg.php $
10
  * $LastChangedDate: 2014-10-29 15:57:36 +0000 (Wed, 29 Oct 2014) $
11
  * $LastChangedRevision: 1016002 $
12
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/external/autocompleter.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/external/autocompleter.php $
5
  * $LastChangedDate: 2014-05-29 08:44:10 +0000 (Thu, 29 May 2014) $
6
  * $LastChangedRevision: 922956 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/external/autocompleter.php $
5
  * $LastChangedDate: 2014-05-29 08:44:10 +0000 (Thu, 29 May 2014) $
6
  * $LastChangedRevision: 922956 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/js/conditional.js CHANGED
@@ -1,7 +1,7 @@
1
  /**
2
  * @see WPToolset_Forms_Conditional (classes/conditional.php)
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/js/conditional.js $
5
  * $LastChangedDate: 2015-02-10 17:10:42 +0000 (Tue, 10 Feb 2015) $
6
  * $LastChangedRevision: 1086547 $
7
  * $LastChangedBy: AmirHelzer $ Riccardo
1
  /**
2
  * @see WPToolset_Forms_Conditional (classes/conditional.php)
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/js/conditional.js $
5
  * $LastChangedDate: 2015-02-10 17:10:42 +0000 (Tue, 10 Feb 2015) $
6
  * $LastChangedRevision: 1086547 $
7
  * $LastChangedBy: AmirHelzer $ Riccardo
embedded/common/toolset-forms/js/file.js CHANGED
@@ -1,6 +1,6 @@
1
  /**
2
  *
3
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/js/file.js $
4
  * $LastChangedDate: 2014-08-22 01:02:43 +0000 (Fri, 22 Aug 2014) $
5
  * $LastChangedRevision: 970205 $
6
  * $LastChangedBy: brucepearson $
1
  /**
2
  *
3
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/js/file.js $
4
  * $LastChangedDate: 2014-08-22 01:02:43 +0000 (Fri, 22 Aug 2014) $
5
  * $LastChangedRevision: 970205 $
6
  * $LastChangedBy: brucepearson $
embedded/common/toolset-forms/js/repetitive.js CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
  * Repetitive JS.
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/js/repetitive.js $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  /*
2
  * Repetitive JS.
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/js/repetitive.js $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/js/validation.js CHANGED
@@ -7,7 +7,7 @@
7
  *
8
  * @see class WPToolset_Validation
9
  *
10
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/js/validation.js $
11
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
12
  * $LastChangedRevision: 1077234 $
13
  * $LastChangedBy: iworks $
7
  *
8
  * @see class WPToolset_Validation
9
  *
10
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/js/validation.js $
11
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
12
  * $LastChangedRevision: 1077234 $
13
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/templates/metaform-item.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/templates/metaform-item.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/templates/metaform-item.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/common/toolset-forms/templates/metaform.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/common/toolset-forms/templates/metaform.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/common/toolset-forms/templates/metaform.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/frontend.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Frontend functions.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/frontend.php $
6
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
7
  * $LastChangedRevision: 1077234 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Frontend functions.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/frontend.php $
6
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
7
  * $LastChangedRevision: 1077234 $
8
  * $LastChangedBy: iworks $
embedded/functions.php CHANGED
@@ -3,7 +3,7 @@
3
  * Basic and init functions.
4
  * Since Types 1.2 moved from /embedded/types.php
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/functions.php $
7
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
8
  * $LastChangedRevision: 1069430 $
9
  * $LastChangedBy: iworks $
3
  * Basic and init functions.
4
  * Since Types 1.2 moved from /embedded/types.php
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/functions.php $
7
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
8
  * $LastChangedRevision: 1069430 $
9
  * $LastChangedBy: iworks $
embedded/includes/custom-types.php CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * Custom Post Types embedded code.
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/custom-types.php $
7
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
8
  * $LastChangedRevision: 1027712 $
9
  * $LastChangedBy: iworks $
3
  *
4
  * Custom Post Types embedded code.
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/custom-types.php $
7
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
8
  * $LastChangedRevision: 1027712 $
9
  * $LastChangedBy: iworks $
embedded/includes/fields-post.php CHANGED
@@ -4,7 +4,7 @@
4
  * Edit post page functions
5
  *
6
  *
7
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/fields-post.php $
8
  * $LastChangedDate: 2014-10-29 15:57:36 +0000 (Wed, 29 Oct 2014) $
9
  * $LastChangedRevision: 1016002 $
10
  * $LastChangedBy: iworks $
4
  * Edit post page functions
5
  *
6
  *
7
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/fields-post.php $
8
  * $LastChangedDate: 2014-10-29 15:57:36 +0000 (Wed, 29 Oct 2014) $
9
  * $LastChangedRevision: 1016002 $
10
  * $LastChangedBy: iworks $
embedded/includes/fields/audio.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/fields/audio.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/fields/audio.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/includes/fields/checkbox.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/fields/checkbox.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/fields/checkbox.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/includes/fields/file.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/fields/file.php $
5
  * $LastChangedDate: 2014-08-22 01:02:43 +0000 (Fri, 22 Aug 2014) $
6
  * $LastChangedRevision: 970205 $
7
  * $LastChangedBy: brucepearson $
1
  <?php
2
  /*
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/fields/file.php $
5
  * $LastChangedDate: 2014-08-22 01:02:43 +0000 (Fri, 22 Aug 2014) $
6
  * $LastChangedRevision: 970205 $
7
  * $LastChangedBy: brucepearson $
embedded/includes/fields/image.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/fields/image.php $
5
  * $LastChangedDate: 2014-11-21 08:53:16 +0000 (Fri, 21 Nov 2014) $
6
  * $LastChangedRevision: 1029976 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/fields/image.php $
5
  * $LastChangedDate: 2014-11-21 08:53:16 +0000 (Fri, 21 Nov 2014) $
6
  * $LastChangedRevision: 1029976 $
7
  * $LastChangedBy: iworks $
embedded/includes/fields/skype.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/fields/skype.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/fields/skype.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/includes/fields/textarea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/fields/textarea.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/fields/textarea.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/includes/fields/video.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/fields/video.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
1
  <?php
2
  /**
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/fields/video.php $
5
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
6
  * $LastChangedRevision: 1027712 $
7
  * $LastChangedBy: iworks $
embedded/includes/import-export.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Import/export data.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/import-export.php $
6
  * $LastChangedDate: 2014-08-22 01:02:43 +0000 (Fri, 22 Aug 2014) $
7
  * $LastChangedRevision: 970205 $
8
  * $LastChangedBy: brucepearson $
2
  /*
3
  * Import/export data.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/import-export.php $
6
  * $LastChangedDate: 2014-08-22 01:02:43 +0000 (Fri, 22 Aug 2014) $
7
  * $LastChangedRevision: 970205 $
8
  * $LastChangedBy: brucepearson $
embedded/includes/module-manager.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Since Types 1.2
6
  *
7
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/module-manager.php $
8
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
9
  * $LastChangedRevision: 1027712 $
10
  * $LastChangedBy: iworks $
4
  *
5
  * Since Types 1.2
6
  *
7
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/module-manager.php $
8
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
9
  * $LastChangedRevision: 1027712 $
10
  * $LastChangedBy: iworks $
embedded/includes/post-relationship.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Post relationship code.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/post-relationship.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Post relationship code.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/post-relationship.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
embedded/includes/wpml.php CHANGED
@@ -8,7 +8,7 @@
8
  * Values:
9
  * 0 nothing (ignore), 1 copy, 2 translate
10
  *
11
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/includes/wpml.php $
12
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
13
  * $LastChangedRevision: 1077234 $
14
  * $LastChangedBy: iworks $
8
  * Values:
9
  * 0 nothing (ignore), 1 copy, 2 translate
10
  *
11
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/includes/wpml.php $
12
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
13
  * $LastChangedRevision: 1077234 $
14
  * $LastChangedBy: iworks $
embedded/plugin.php CHANGED
@@ -9,7 +9,7 @@
9
  */
10
  /**
11
  *
12
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/plugin.php $
13
  * $LastChangedDate: 2015-02-10 17:10:42 +0000 (Tue, 10 Feb 2015) $
14
  * $LastChangedRevision: 1086547 $
15
  * $LastChangedBy: AmirHelzer $
9
  */
10
  /**
11
  *
12
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/plugin.php $
13
  * $LastChangedDate: 2015-02-10 17:10:42 +0000 (Tue, 10 Feb 2015) $
14
  * $LastChangedRevision: 1086547 $
15
  * $LastChangedBy: AmirHelzer $
embedded/resources/css/dashicons.css CHANGED
@@ -1,6 +1,6 @@
1
  /**
2
  *
3
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/resources/css/dashicons.css $
4
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
5
  * $LastChangedRevision: 1027712 $
6
  * $LastChangedBy: iworks $
1
  /**
2
  *
3
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/resources/css/dashicons.css $
4
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
5
  * $LastChangedRevision: 1027712 $
6
  * $LastChangedBy: iworks $
embedded/resources/js/basic.js CHANGED
@@ -4,7 +4,7 @@
4
  * For now full and embedded version use this script.
5
  * Before moving full-version-only code - make sure it's not needed here.
6
  *
7
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/resources/js/basic.js $
8
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
9
  * $LastChangedRevision: 1077234 $
10
  * $LastChangedBy: iworks $
4
  * For now full and embedded version use this script.
5
  * Before moving full-version-only code - make sure it's not needed here.
6
  *
7
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/resources/js/basic.js $
8
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
9
  * $LastChangedRevision: 1077234 $
10
  * $LastChangedBy: iworks $
embedded/resources/js/fields-form.js CHANGED
@@ -9,7 +9,7 @@
9
  * @since Types 1.1.5
10
  * @autor srdjan
11
  *
12
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/resources/js/fields-form.js $
13
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
14
  * $LastChangedRevision: 1027712 $
15
  * $LastChangedBy: iworks $
9
  * @since Types 1.1.5
10
  * @autor srdjan
11
  *
12
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/resources/js/fields-form.js $
13
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
14
  * $LastChangedRevision: 1027712 $
15
  * $LastChangedBy: iworks $
embedded/usermeta-init.php CHANGED
@@ -10,7 +10,7 @@ $fields_access = new Post_Fields_Access;
10
  * @author Gen gen.i@icanlocalize.com
11
  * @since Types 1.3
12
  *
13
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/embedded/usermeta-init.php $
14
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
15
  * $LastChangedRevision: 1027712 $
16
  * $LastChangedBy: iworks $
10
  * @author Gen gen.i@icanlocalize.com
11
  * @since Types 1.3
12
  *
13
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/usermeta-init.php $
14
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
15
  * $LastChangedRevision: 1027712 $
16
  * $LastChangedBy: iworks $
help.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Plugin contextual help
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/help.php $
6
  * $LastChangedDate: 2014-05-29 08:44:10 +0000 (Thu, 29 May 2014) $
7
  * $LastChangedRevision: 922956 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Plugin contextual help
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/help.php $
6
  * $LastChangedDate: 2014-05-29 08:44:10 +0000 (Thu, 29 May 2014) $
7
  * $LastChangedRevision: 922956 $
8
  * $LastChangedBy: iworks $
includes/common-functions.php CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * Custom types form - common functions
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/common-functions.php $
7
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
8
  * $LastChangedRevision: 1069430 $
9
  * $LastChangedBy: iworks $
3
  *
4
  * Custom types form - common functions
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/common-functions.php $
7
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
8
  * $LastChangedRevision: 1069430 $
9
  * $LastChangedBy: iworks $
includes/custom-taxonomies-form.php CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * Custom taxonomies form
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/custom-taxonomies-form.php $
7
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
8
  * $LastChangedRevision: 1069430 $
9
  * $LastChangedBy: iworks $
3
  *
4
  * Custom taxonomies form
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/custom-taxonomies-form.php $
7
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
8
  * $LastChangedRevision: 1069430 $
9
  * $LastChangedBy: iworks $
includes/custom-types-form.php CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * Custom types form
5
  *
6
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/custom-types-form.php $
7
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
8
  * $LastChangedRevision: 1069430 $
9
  * $LastChangedBy: iworks $
3
  *
4
  * Custom types form
5
  *
6
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/custom-types-form.php $
7
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
8
  * $LastChangedRevision: 1069430 $
9
  * $LastChangedBy: iworks $
includes/fields-control.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Custom Fields Control Screen
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/fields-control.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Custom Fields Control Screen
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/fields-control.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
includes/fields-form.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Fields and groups form functions.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/fields-form.php $
6
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
7
  * $LastChangedRevision: 1077234 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Fields and groups form functions.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/fields-form.php $
6
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
7
  * $LastChangedRevision: 1077234 $
8
  * $LastChangedBy: iworks $
includes/fields-list.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Fields and groups list functions
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/fields-list.php $
6
  * $LastChangedDate: 2015-02-04 13:43:06 +0000 (Wed, 04 Feb 2015) $
7
  * $LastChangedRevision: 1082328 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Fields and groups list functions
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/fields-list.php $
6
  * $LastChangedDate: 2015-02-04 13:43:06 +0000 (Wed, 04 Feb 2015) $
7
  * $LastChangedRevision: 1082328 $
8
  * $LastChangedBy: iworks $
includes/fields.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Fields and groups functions
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/fields.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Fields and groups functions
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/fields.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
includes/import-export.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Import/export data.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/import-export.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Import/export data.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/import-export.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
includes/migration.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Migration functions
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/migration.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Migration functions
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/migration.php $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
includes/usermeta-control.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Custom Fields Control Screen
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/usermeta-control.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Custom Fields Control Screen
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/usermeta-control.php $
6
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
7
  * $LastChangedRevision: 1069430 $
8
  * $LastChangedBy: iworks $
includes/usermeta-form.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Fields and groups form functions.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/includes/usermeta-form.php $
6
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
7
  * $LastChangedRevision: 1077234 $
8
  * $LastChangedBy: iworks $
2
  /*
3
  * Fields and groups form functions.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/includes/usermeta-form.php $
6
  * $LastChangedDate: 2015-01-28 06:42:34 +0000 (Wed, 28 Jan 2015) $
7
  * $LastChangedRevision: 1077234 $
8
  * $LastChangedBy: iworks $
plus/installer/changelog.txt CHANGED
@@ -1,4 +1,8 @@
 
 
 
1
  = 1.5.1 =
 
2
  * Fix for allowing embedded plugins to be updated
3
  * Logic for the migration from embedded plugins to full plugins
4
 
1
+ = 1.5.1.1 =
2
+ * Changed products urls from S3 to CF
3
+
4
  = 1.5.1 =
5
+
6
  * Fix for allowing embedded plugins to be updated
7
  * Logic for the migration from embedded plugins to full plugins
8
 
plus/installer/includes/deps-loader.class.php CHANGED
@@ -1,557 +1,558 @@
1
- <?php
2
-
3
- class Installer_Deps_Loader{
4
-
5
- private $config = array();
6
- private $missing = array();
7
-
8
- function __construct(){
9
-
10
- //_disable_wp_redirects
11
- if(isset($_POST['action']) && $_POST['action'] == 'wp_installer_fix_deps'){
12
- add_filter('wp_redirect', '__return_false', 10000);
13
- }
14
-
15
- add_action('admin_init', array($this, 'init'), 30);
16
- add_filter('installer_deps_missing', array($this, 'get_missing_deps'));
17
- }
18
-
19
- public function init(){
20
- global $wp_installer_instances;
21
-
22
- $repositories = array();
23
-
24
- add_action('wp_ajax_wp_installer_fix_deps', array($this, 'run'));
25
-
26
- foreach($wp_installer_instances as $instance) {
27
-
28
- $config_file = dirname($instance['bootfile']) . '/deps.xml';
29
-
30
- if (file_exists($config_file) && is_readable($config_file)) {
31
-
32
- $config = $this->read_config($config_file);
33
- $config_arr_key = md5($config_file) . '|' . $config['name'];
34
-
35
- foreach ($config['repositories'] as $repository_id => $repository) {
36
-
37
- foreach ($repository['plugins'] as $plugin) {
38
-
39
- if(empty($plugin['version']) || $plugin['version'] == 'latest'){
40
- $plugin['version'] = WP_Installer()->get_plugin_repository_version($repository_id, $plugin['name']);
41
- }
42
-
43
-
44
- $plugin_full_name = $this->get_plugin_full_name($repository_id, $plugin['name'], $config);
45
- if (!$plugin_full_name) continue;
46
-
47
- $real_basename = $plugin['name'];
48
- if (isset($plugin['format'])) {
49
- $real_basename .= '-' . $plugin['format'];
50
- }
51
-
52
- $latest_version = WP_Installer()->get_plugin_repository_version($repository_id, $plugin['name']);
53
- $installed_version = WP_Installer()->get_plugin_installed_version($plugin_full_name, $plugin['name']);
54
-
55
- if ($this->is_plugin_installed($plugin['name']) && !$this->is_plugin_installed($real_basename)) { //FULL PLUGIN INSTALLED?
56
- if (!$this->is_plugin_active($plugin['name'])) {
57
- $this->missing[$config_arr_key][] = array(
58
- 'basename' => $plugin['name'],
59
- 'name' => $plugin_full_name,
60
- 'url' => $this->get_plugin_download_url($repository_id, $plugin['name'], $config),
61
- 'repository_id' => $repository_id,
62
- 'status' => __('inactive', 'installer')
63
- );
64
- } else {
65
- continue;
66
- }
67
- } elseif (!$this->is_plugin_installed($real_basename)) {
68
- $this->missing[$config_arr_key][] = array(
69
- 'basename' => $plugin['name'],
70
- 'name' => $plugin_full_name,
71
- 'url' => $this->get_plugin_download_url($repository_id, $plugin['name'], $config),
72
- 'repository_id' => $repository_id,
73
- 'status' => __('not installed', 'installer')
74
- );
75
- } elseif (version_compare($latest_version, $installed_version)) {
76
-
77
- if(!$this->is_plugin_active($real_basename) && !$this->is_plugin_active($plugin['name'])){
78
- $status = sprintf(__('inactive and out of date: installed - %s, available - %s', 'installer'), $installed_version, $latest_version);
79
- }else{
80
- $status = sprintf(__('out of date: installed - %s, available - %s', 'installer'), $installed_version, $latest_version);
81
- }
82
-
83
- $this->missing[$config_arr_key][] = array(
84
- 'basename' => $plugin['name'],
85
- 'name' => $plugin_full_name,
86
- 'url' => $this->get_plugin_download_url($repository_id, $plugin['name'], $config),
87
- 'repository_id' => $repository_id,
88
- 'status' => $status
89
- );
90
- } elseif (!$this->is_plugin_active($real_basename) && !$this->is_plugin_active($plugin['name'])) {
91
- $this->missing[$config_arr_key][] = array(
92
- 'basename' => $plugin['name'],
93
- 'name' => $plugin_full_name,
94
- 'url' => $this->get_plugin_download_url($repository_id, $plugin['name'], $config),
95
- 'repository_id' => $repository_id,
96
- 'status' => __('inactive', 'installer')
97
- );
98
- }
99
-
100
- //set affiliate info if any
101
- if (isset($repository['affiliate_id']) && isset($repository['affiliate_key'])) {
102
- WP_Installer()->set_config('affiliate_id:' . $repository_id, $repository['affiliate_id']);
103
- WP_Installer()->set_config('affiliate_key:' . $repository_id, $repository['affiliate_key']);
104
- }
105
-
106
- }
107
-
108
- }
109
-
110
- $this->config[$config_arr_key] = $config;
111
-
112
- }
113
-
114
- }
115
-
116
- if($this->missing){
117
- add_action('admin_notices', array($this, 'setup_notice'));
118
- add_action('admin_footer', array($this, 'js_footer'));
119
-
120
- }
121
-
122
- }
123
-
124
- public function read_config($config_file){
125
-
126
- $repositories = array();
127
-
128
- $repositories_xml = simplexml_load_file($config_file);
129
-
130
- $array = json_decode(json_encode($repositories_xml), true);
131
-
132
- $repositories_arr = isset($array['repositories']['repository'][0]) ? $array['repositories']['repository'] : array($array['repositories']['repository']);
133
-
134
- foreach($repositories_arr as $r){
135
- $r['plugins'] = isset($r['plugins']['plugin'][0]) ? $r['plugins']['plugin'] : array($r['plugins']['plugin']);
136
-
137
- $repositories[$r['id']] = $r;
138
- }
139
-
140
- $config['repositories'] = $repositories;
141
- $config['name'] = $array['name'];
142
-
143
- return $config;
144
-
145
- }
146
-
147
- public function get_missing_deps(){
148
- return $this->missing;
149
- }
150
-
151
- public function setup_notice(){
152
- ?>
153
- <div class="updated" id="wp_installer_fix_deps_notice" >
154
- <?php foreach($this->missing as $key => $missing): ?>
155
- <?php list($null, $name) = explode('|', $key); ?>
156
- <p><strong><?php printf(__('%s needs these plugins to work:', 'installer'), $name); ?></strong></p>
157
- <ul>
158
- <?php foreach($missing as $p): ?>
159
- <li>
160
- <?php echo $p['name'] ?> (<?php echo $p['status'] ?>)
161
- <?php if(!WP_Installer()->is_uploading_allowed()): ?>
162
- | <a href="<?php echo $p['url'] ?>"><?php _e('Download', 'installer') ?></a>
163
- <?php endif; ?>
164
- </li>
165
- <?php endforeach;?>
166
- </ul>
167
-
168
- <?php endforeach; ?>
169
-
170
- <?php if(!WP_Installer()->is_uploading_allowed()): ?>
171
- <p class="installer-warn-box">
172
- <?php _e('Automatic downloading is not possible because WordPress cannot write into the plugins folder. Please use the download links above to get the zip files, unpack and upload to the plugins folder. If folders with the same name exist, please replace with the new ones.', 'installer') ?>
173
- </p>
174
- <?php endif; ?>
175
-
176
- <p class="submit">
177
- <input id="wp_installer_fix_deps" type="button" class="button-primary" value="<?php esc_attr_e('Install and activate', 'installer') ?>" <?php
178
- disabled(!WP_Installer()->is_uploading_allowed()); ?> />
179
- <span class="spinner"></span>&nbsp;<span id="wp_installer_fix_deps_status"></span>
180
- </p>
181
-
182
- </div>
183
-
184
- <?php
185
-
186
- }
187
-
188
- public function is_plugin_installed($basename, $version = false, $compare = '='){
189
-
190
- $is = false;
191
- $plugins = get_plugins();
192
- foreach($plugins as $plugin_id => $plugin_data){
193
-
194
- if(dirname($plugin_id) == $basename){
195
- if($version !== false ){
196
- if(version_compare($plugin_data['Version'], $version, $compare)){
197
- $is = true;
198
- }
199
- }else{
200
- $is = true;
201
-
202
- }
203
- break;
204
-
205
- }
206
- }
207
-
208
- return $is;
209
-
210
- }
211
-
212
- public function is_plugin_active($basename){
213
-
214
- $is = false;
215
- $plugins = get_plugins();
216
- foreach($plugins as $plugin_id => $plugin_data){
217
- if(dirname($plugin_id) == $basename && is_plugin_active($plugin_id)){
218
- $is = true;
219
- break;
220
-
221
- }
222
- }
223
-
224
- return $is;
225
-
226
- }
227
-
228
- public function get_plugin_id($basename){
229
-
230
- $plugin_wp_id = false;
231
-
232
- $plugins = get_plugins();
233
- foreach($plugins as $plugin_id => $plugin_data){
234
- if(dirname($plugin_id) == $basename){
235
- $plugin_wp_id = $plugin_id;
236
- break;
237
-
238
- }
239
- }
240
-
241
- return $plugin_wp_id;
242
-
243
- }
244
-
245
- function plugins_upgrade_check($update_plugins){
246
- global $wp_installer_instances;
247
-
248
- foreach($wp_installer_instances as $instance) {
249
-
250
- $config_file = dirname($instance['bootfile']) . '/deps.xml';
251
-
252
- if (file_exists($config_file) && is_readable($config_file)) {
253
-
254
- $config = $this->read_config($config_file);
255
- $config_arr_key = md5($config_file) . '|' . $config['name'];
256
-
257
- foreach($config['repositories'] as $repository_id => $repository){
258
-
259
- $downloads = $this->get_repository_downloads($repository_id, $config);
260
-
261
- foreach($repository['plugins'] as $plugin){
262
-
263
- if(!isset($downloads[$plugin['name']])) continue;
264
-
265
- $real_basename = $plugin['name'];
266
- if(isset($plugin['format']) && $plugin['format'] != 'standard'){
267
- $real_basename .= '-' . $plugin['format'];
268
- }
269
- $plugin_wp_id = $this->get_plugin_id($real_basename);
270
- if($plugin_wp_id){
271
-
272
- $latest_version = WP_Installer()->get_plugin_repository_version($repository_id, $plugin['name']);
273
-
274
- $response = new stdClass();
275
- $response->id = 0;
276
- $response->slug = $real_basename;
277
- $response->plugin = $plugin_wp_id;
278
- $response->new_version = $latest_version;
279
- $response->upgrade_notice = '';
280
- $response->url = $this->get_plugin_download_url($repository_id, $plugin['name'], $config);
281
- $response->package = $this->get_plugin_download_url($repository_id, $plugin['name'], $config);
282
- $update_plugins->checked[$plugin_wp_id] = $latest_version;
283
- $update_plugins->response[$plugin_wp_id] = $response;
284
-
285
-
286
- }
287
-
288
- }
289
-
290
- }
291
-
292
- }
293
- }
294
-
295
- return $update_plugins;
296
- }
297
-
298
- public function run(){
299
- global $wp_installer_instances;
300
-
301
- $return['stop'] = 0;
302
-
303
- foreach($wp_installer_instances as $instance) {
304
-
305
- $config_file = dirname($instance['bootfile']) . '/deps.xml';
306
-
307
- if (file_exists($config_file) && is_readable($config_file)) {
308
-
309
- $config = $this->read_config($config_file);
310
- $config_arr_key = md5($config_file) . '|' . $config['name'];
311
-
312
- foreach($config['repositories'] as $repository_id => $repository){
313
-
314
- $downloads = $this->get_repository_downloads($repository_id, $config);
315
-
316
- foreach($repository['plugins'] as $plugin){
317
-
318
- if(!isset($downloads[$plugin['name']])) continue;
319
-
320
- $plugin_full_name = $this->get_plugin_full_name($repository_id, $plugin['name'], $config);
321
-
322
- $latest_version = WP_Installer()->get_plugin_repository_version($repository_id, $plugin['name']);
323
- $installed_version = WP_Installer()->get_plugin_installed_version($plugin_full_name, $plugin['name']);
324
-
325
- $real_basename = $plugin['name'];
326
- if(isset($plugin['format']) && $plugin['format'] != 'standard'){
327
- $real_basename .= '-' . $plugin['format'];
328
- }
329
-
330
- if(isset($_POST['plugins_downloaded'])){
331
- $return['plugins_downloaded'] = $_POST['plugins_downloaded'];
332
- if(in_array($real_basename, $_POST['plugins_downloaded'])){
333
- continue;
334
- }
335
- }else{
336
- $return['plugins_downloaded'] = array();
337
- }
338
-
339
- if($this->is_plugin_installed($plugin['name']) && !$this->is_plugin_active($plugin['name']) && !$this->is_plugin_active($real_basename)){ // FULL PLUGIN PRESENT BUT INACTIVE
340
- if($plugin_wp_id = $this->get_plugin_id($plugin['name'])){
341
- //prevent redirects
342
- add_filter('wp_redirect', '__return_false', 10000);
343
- $ret = activate_plugin($plugin_wp_id);
344
- $return['status_message'] = sprintf(__('Activated %s', 'installer'), $downloads[$plugin['name']]['name']);
345
- }else{
346
-
347
- $return['status_message'] = sprintf(__('Plugin not found: %s', 'installer'), $downloads[$plugin['name']]['name']);
348
- $return['stop'] = 1;
349
- }
350
- break; // one operation at the time
351
- }elseif(!$this->is_plugin_installed($real_basename)){
352
- $ret = WP_Installer()->download_plugin($downloads[$plugin['name']]['basename'],
353
- $downloads[$plugin['name']]['url']);
354
- if($ret){
355
- $return['status_message'] = sprintf(__('Installed %s', 'installer'), $downloads[$plugin['name']]['name']);
356
- }else{
357
- $return['status_message'] = sprintf(__('Failed to download %s', 'installer'), $downloads[$plugin['name']]['name']);
358
- $return['stop'] = 1;
359
- }
360
- $return['plugins_downloaded'][] = $real_basename;
361
- break; // one operation at the time
362
-
363
- } elseif (version_compare($latest_version, $installed_version)) {
364
-
365
- require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
366
- require_once WP_Installer()->plugin_path() . '/includes/installer-upgrader-skins.php';
367
-
368
- $upgrader_skins = new Installer_Upgrader_Skins(); //use our custom (mute) Skin
369
- $upgrader = new Plugin_Upgrader($upgrader_skins);
370
-
371
- remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
372
- add_filter( 'site_transient_update_plugins', array( $this, 'plugins_upgrade_check') );
373
-
374
- $plugin_wp_id = $this->get_plugin_id($real_basename);
375
- $ret = $upgrader->upgrade($plugin_wp_id);
376
-
377
- if($ret){
378
- activate_plugin($plugin_wp_id);
379
- $return['status_message'] = sprintf(__('Upgraded %s', 'installer'), $downloads[$plugin['name']]['name']);
380
- }else{
381
- $return['status_message'] = sprintf(__('Failed to upgrade %s', 'installer'), $downloads[$plugin['name']]['name']);
382
- $return['stop'] = 1;
383
- }
384
-
385
- $return['plugins_downloaded'][] = $real_basename;
386
-
387
- break; // one operation at the time
388
-
389
- }elseif(!$this->is_plugin_active($real_basename) && !$this->is_plugin_active($plugin['name'])){
390
-
391
- if($plugin_wp_id = $this->get_plugin_id($real_basename)){
392
- //prevent redirects
393
- add_filter('wp_redirect', '__return_false', 10000);
394
-
395
- $ret = activate_plugin($plugin_wp_id);
396
- $return['status_message'] = sprintf(__('Activated %s', 'installer'), $downloads[$plugin['name']]['name']);
397
- }else{
398
-
399
- $return['status_message'] = sprintf(__('Plugin not found: %s', 'installer'), $downloads[$plugin['name']]['name']);
400
- $return['stop'] = 1;
401
- }
402
- break; // one operation at the time
403
-
404
- }
405
-
406
- }
407
-
408
- }
409
-
410
- }
411
- }
412
-
413
- if(empty($return['status_message'])){
414
- $return['status_message'] = __('Operation complete!', 'installer');
415
- $return['status_message'] .= '&nbsp;<a href="#" id="wp_installer_fix_deps_dismiss">'. __('Dismiss', 'installer') . '</a>';
416
- $return['stop'] = 1;
417
- }
418
-
419
- echo json_encode($return);
420
- exit;
421
-
422
- }
423
-
424
- public function get_repository_downloads($repository_id, $config){
425
-
426
- if(!isset($this->repository_downloads[md5(serialize($config))][$repository_id])) {
427
-
428
- $downloads = array();
429
- $installer_settings = WP_Installer()->get_settings();
430
-
431
- if (isset($installer_settings['repositories'][$repository_id])) {
432
-
433
- foreach ($installer_settings['repositories'][$repository_id]['data']['packages'] as $package) {
434
-
435
- foreach ($package['products'] as $product) {
436
-
437
- $available_in_installer = WP_Installer()->is_product_available_for_download($product['name'], $repository_id);
438
-
439
- foreach ($product['downloads'] as $download) {
440
-
441
- if (!isset($downloads[$download['basename']]) || (empty($d['_installer_download_url']) && $available_in_installer)) {
442
-
443
- $d['name'] = $download['name'];
444
- $d['basename'] = $download['basename'];
445
- $d['version'] = $download['version'];
446
- $d['date'] = $download['date'];
447
- $d['_installer_url'] = $available_in_installer;
448
-
449
- /*
450
- $format = 'standard';
451
- foreach($config['repositories'][$repository_id]['plugins'] as $p){
452
- if($p['name'] == $d['basename']){
453
- if(isset($p['format'])){
454
- $format = $p['format'];
455
- }
456
- break;
457
- }
458
- }
459
- */
460
-
461
- //case of valid subscription
462
- if($available_in_installer){
463
- $d['url'] = WP_Installer()->append_site_key_to_download_url($download['url'], WP_Installer()->get_site_key($repository_id), $repository_id);
464
-
465
- }else{
466
-
467
- $d['url'] = $download['url'] . '&theme_key=' . $config['repositories'][$repository_id]['key']
468
- . '&theme_name=' . urlencode($config['name']);
469
- //. '&format=' . $format;
470
- }
471
-
472
-
473
- $downloads[$d['basename']] = $d;
474
- }
475
-
476
- }
477
-
478
- }
479
-
480
- }
481
-
482
- }
483
-
484
- $this->repository_downloads[md5(serialize($config))][$repository_id] = $downloads;
485
-
486
- }
487
-
488
- return $this->repository_downloads[md5(serialize($config))][$repository_id];
489
-
490
- }
491
-
492
- public function get_plugin_download_url($repository_id, $basename, $config){
493
-
494
- $downloads = $this->get_repository_downloads($repository_id, $config);
495
-
496
- return isset($downloads[$basename]) ? $downloads[$basename]['url'] : false;
497
-
498
- }
499
-
500
- public function get_plugin_full_name($repository_id, $basename, $config){
501
-
502
- $downloads = $this->get_repository_downloads($repository_id, $config);
503
-
504
- return isset($downloads[$basename]) ? $downloads[$basename]['name'] : false;
505
-
506
- }
507
-
508
- public function js_footer(){
509
- ?>
510
- <script type='text/javascript'>
511
- /* <![CDATA[ */
512
-
513
- jQuery('#wp_installer_fix_deps').click(function(){
514
-
515
- jQuery('#wp_installer_fix_deps').attr('disabled', 'disabled');
516
- jQuery('#wp_installer_fix_deps_notice').find('.spinner').addClass('spinner-inline').show();
517
-
518
- var plugins_downloaded = [];
519
- wp_installer_deps_load_run(plugins_downloaded);
520
- return false;
521
- })
522
-
523
- function wp_installer_deps_load_run(plugins_downloaded){
524
-
525
- jQuery.ajax({
526
- url: ajaxurl,
527
- type: 'post',
528
- dataType: 'json',
529
- data: {action: 'wp_installer_fix_deps', plugins_downloaded: plugins_downloaded},
530
- success: function(ret){
531
-
532
- plugins_downloaded = ret.plugins_downloaded;
533
- jQuery('#wp_installer_fix_deps_status').html(ret.status_message);
534
-
535
- if(ret.stop){
536
- jQuery('#wp_installer_fix_deps_notice').find('.spinner').removeClass('spinner-inline').hide();
537
-
538
- }else{
539
-
540
- wp_installer_deps_load_run(plugins_downloaded);
541
- }
542
-
543
- }
544
- })
545
- }
546
-
547
- jQuery('#wp_installer_fix_deps_status').on('click', '#wp_installer_fix_deps_dismiss', function(){
548
- jQuery('#wp_installer_fix_deps_notice').fadeOut();
549
- return false;
550
- })
551
-
552
- /* ]]> */
553
- </script>
554
- <?php
555
- }
556
-
557
- }
 
1
+ <?php
2
+
3
+ class Installer_Deps_Loader{
4
+
5
+ private $config = array();
6
+ private $missing = array();
7
+
8
+ function __construct(){
9
+
10
+ //_disable_wp_redirects
11
+ if(isset($_POST['action']) && $_POST['action'] == 'wp_installer_fix_deps'){
12
+ add_filter('wp_redirect', '__return_false', 10000);
13
+ }
14
+
15
+ add_action('admin_init', array($this, 'init'), 30);
16
+ add_filter('installer_deps_missing', array($this, 'get_missing_deps'));
17
+ }
18
+
19
+ public function init(){
20
+ global $wp_installer_instances;
21
+
22
+ $repositories = array();
23
+
24
+ add_action('wp_ajax_wp_installer_fix_deps', array($this, 'run'));
25
+
26
+ foreach($wp_installer_instances as $instance) {
27
+
28
+ $config_file = dirname($instance['bootfile']) . '/deps.xml';
29
+
30
+ if (file_exists($config_file) && is_readable($config_file)) {
31
+
32
+ $config = $this->read_config($config_file);
33
+ $config_arr_key = md5($config_file) . '|' . $config['name'];
34
+
35
+ foreach ($config['repositories'] as $repository_id => $repository) {
36
+
37
+ foreach ($repository['plugins'] as $plugin) {
38
+
39
+ if(empty($plugin['version']) || $plugin['version'] == 'latest'){
40
+ $plugin['version'] = WP_Installer()->get_plugin_repository_version($repository_id, $plugin['name']);
41
+ }
42
+
43
+
44
+ $plugin_full_name = $this->get_plugin_full_name($repository_id, $plugin['name'], $config);
45
+ if (!$plugin_full_name) continue;
46
+
47
+ $real_basename = $plugin['name'];
48
+ if (isset($plugin['format'])) {
49
+ $real_basename .= '-' . $plugin['format'];
50
+ }
51
+
52
+ $latest_version = WP_Installer()->get_plugin_repository_version($repository_id, $plugin['name']);
53
+ $installed_version = WP_Installer()->get_plugin_installed_version($plugin_full_name, $plugin['name']);
54
+
55
+ if ($this->is_plugin_installed($plugin['name']) && !$this->is_plugin_installed($real_basename)) { //FULL PLUGIN INSTALLED?
56
+ if (!$this->is_plugin_active($plugin['name'])) {
57
+ $this->missing[$config_arr_key][] = array(
58
+ 'basename' => $plugin['name'],
59
+ 'name' => $plugin_full_name,
60
+ 'url' => $this->get_plugin_download_url($repository_id, $plugin['name'], $config),
61
+ 'repository_id' => $repository_id,
62
+ 'status' => __('inactive', 'installer')
63
+ );
64
+ } else {
65
+ continue;
66
+ }
67
+ } elseif (!$this->is_plugin_installed($real_basename)) {
68
+ $this->missing[$config_arr_key][] = array(
69
+ 'basename' => $plugin['name'],
70
+ 'name' => $plugin_full_name,
71
+ 'url' => $this->get_plugin_download_url($repository_id, $plugin['name'], $config),
72
+ 'repository_id' => $repository_id,
73
+ 'status' => __('not installed', 'installer')
74
+ );
75
+ } elseif (version_compare($latest_version, $installed_version)) {
76
+
77
+ if(!$this->is_plugin_active($real_basename) && !$this->is_plugin_active($plugin['name'])){
78
+ $status = sprintf(__('inactive and out of date: installed - %s, available - %s', 'installer'), $installed_version, $latest_version);
79
+ }else{
80
+ $status = sprintf(__('out of date: installed - %s, available - %s', 'installer'), $installed_version, $latest_version);
81
+ }
82
+
83
+ $this->missing[$config_arr_key][] = array(
84
+ 'basename' => $plugin['name'],
85
+ 'name' => $plugin_full_name,
86
+ 'url' => $this->get_plugin_download_url($repository_id, $plugin['name'], $config),
87
+ 'repository_id' => $repository_id,
88
+ 'status' => $status
89
+ );
90
+ } elseif (!$this->is_plugin_active($real_basename) && !$this->is_plugin_active($plugin['name'])) {
91
+ $this->missing[$config_arr_key][] = array(
92
+ 'basename' => $plugin['name'],
93
+ 'name' => $plugin_full_name,
94
+ 'url' => $this->get_plugin_download_url($repository_id, $plugin['name'], $config),
95
+ 'repository_id' => $repository_id,
96
+ 'status' => __('inactive', 'installer')
97
+ );
98
+ }
99
+
100
+ //set affiliate info if any
101
+ if (isset($repository['affiliate_id']) && isset($repository['affiliate_key'])) {
102
+ WP_Installer()->set_config('affiliate_id:' . $repository_id, $repository['affiliate_id']);
103
+ WP_Installer()->set_config('affiliate_key:' . $repository_id, $repository['affiliate_key']);
104
+ }
105
+
106
+ }
107
+
108
+ }
109
+
110
+ $this->config[$config_arr_key] = $config;
111
+
112
+ }
113
+
114
+ }
115
+
116
+ if($this->missing){
117
+ add_action('admin_notices', array($this, 'setup_notice'));
118
+ add_action('admin_footer', array($this, 'js_footer'));
119
+
120
+ }
121
+
122
+ }
123
+
124
+ public function read_config($config_file){
125
+
126
+ $repositories = array();
127
+
128
+ $repositories_xml = simplexml_load_file($config_file);
129
+
130
+ $array = json_decode(json_encode($repositories_xml), true);
131
+
132
+ $repositories_arr = isset($array['repositories']['repository'][0]) ? $array['repositories']['repository'] : array($array['repositories']['repository']);
133
+
134
+ foreach($repositories_arr as $r){
135
+ $r['plugins'] = isset($r['plugins']['plugin'][0]) ? $r['plugins']['plugin'] : array($r['plugins']['plugin']);
136
+
137
+ $repositories[$r['id']] = $r;
138
+ }
139
+
140
+ $config['repositories'] = $repositories;
141
+ $config['name'] = $array['name'];
142
+
143
+ return $config;
144
+
145
+ }
146
+
147
+ public function get_missing_deps(){
148
+ return $this->missing;
149
+ }
150
+
151
+ public function setup_notice(){
152
+ ?>
153
+ <div class="updated" id="wp_installer_fix_deps_notice" >
154
+ <?php foreach($this->missing as $key => $missing): ?>
155
+ <?php list($null, $name) = explode('|', $key); ?>
156
+ <p><strong><?php printf(__('%s needs these plugins to work:', 'installer'), $name); ?></strong></p>
157
+ <ul>
158
+ <?php foreach($missing as $p): ?>
159
+ <li>
160
+ <?php echo $p['name'] ?> (<?php echo $p['status'] ?>)
161
+ <?php if(!WP_Installer()->is_uploading_allowed()): ?>
162
+ | <a href="<?php echo $p['url'] ?>"><?php _e('Download', 'installer') ?></a>
163
+ <?php endif; ?>
164
+ </li>
165
+ <?php endforeach;?>
166
+ </ul>
167
+
168
+ <?php endforeach; ?>
169
+
170
+ <?php if(!WP_Installer()->is_uploading_allowed()): ?>
171
+ <p class="installer-warn-box">
172
+ <?php _e('Automatic downloading is not possible because WordPress cannot write into the plugins folder. Please use the download links above to get the zip files, unpack and upload to the plugins folder. If folders with the same name exist, please replace with the new ones.', 'installer') ?>
173
+ </p>
174
+ <?php endif; ?>
175
+
176
+ <p class="submit">
177
+ <input id="wp_installer_fix_deps" type="button" class="button-primary" value="<?php esc_attr_e('Install and activate', 'installer') ?>" <?php
178
+ disabled(!WP_Installer()->is_uploading_allowed()); ?> />
179
+ <span class="spinner"></span>&nbsp;<span id="wp_installer_fix_deps_status"></span>
180
+ </p>
181
+
182
+ </div>
183
+
184
+ <?php
185
+
186
+ }
187
+
188
+ public function is_plugin_installed($basename, $version = false, $compare = '='){
189
+
190
+ $is = false;
191
+ $plugins = get_plugins();
192
+ foreach($plugins as $plugin_id => $plugin_data){
193
+
194
+ if(dirname($plugin_id) == $basename){
195
+ if($version !== false ){
196
+ if(version_compare($plugin_data['Version'], $version, $compare)){
197
+ $is = true;
198
+ }
199
+ }else{
200
+ $is = true;
201
+
202
+ }
203
+ break;
204
+
205
+ }
206
+ }
207
+
208
+ return $is;
209
+
210
+ }
211
+
212
+ public function is_plugin_active($basename){
213
+
214
+ $is = false;
215
+ $plugins = get_plugins();
216
+ foreach($plugins as $plugin_id => $plugin_data){
217
+ if(dirname($plugin_id) == $basename && is_plugin_active($plugin_id)){
218
+ $is = true;
219
+ break;
220
+
221
+ }
222
+ }
223
+
224
+ return $is;
225
+
226
+ }
227
+
228
+ public function get_plugin_id($basename){
229
+
230
+ $plugin_wp_id = false;
231
+
232
+ $plugins = get_plugins();
233
+ foreach($plugins as $plugin_id => $plugin_data){
234
+ if(dirname($plugin_id) == $basename){
235
+ $plugin_wp_id = $plugin_id;
236
+ break;
237
+
238
+ }
239
+ }
240
+
241
+ return $plugin_wp_id;
242
+
243
+ }
244
+
245
+ function plugins_upgrade_check($update_plugins){
246
+ global $wp_installer_instances;
247
+
248
+ foreach($wp_installer_instances as $instance) {
249
+
250
+ $config_file = dirname($instance['bootfile']) . '/deps.xml';
251
+
252
+ if (file_exists($config_file) && is_readable($config_file)) {
253
+
254
+ $config = $this->read_config($config_file);
255
+ $config_arr_key = md5($config_file) . '|' . $config['name'];
256
+
257
+ foreach($config['repositories'] as $repository_id => $repository){
258
+
259
+ $downloads = $this->get_repository_downloads($repository_id, $config);
260
+
261
+ foreach($repository['plugins'] as $plugin){
262
+
263
+ if(!isset($downloads[$plugin['name']])) continue;
264
+
265
+ $real_basename = $plugin['name'];
266
+ if(isset($plugin['format']) && $plugin['format'] != 'standard'){
267
+ $real_basename .= '-' . $plugin['format'];
268
+ }
269
+ $plugin_wp_id = $this->get_plugin_id($real_basename);
270
+ if($plugin_wp_id){
271
+
272
+ $latest_version = WP_Installer()->get_plugin_repository_version($repository_id, $plugin['name']);
273
+
274
+ $response = new stdClass();
275
+ $response->id = 0;
276
+ $response->slug = $real_basename;
277
+ $response->plugin = $plugin_wp_id;
278
+ $response->new_version = $latest_version;
279
+ $response->upgrade_notice = '';
280
+ $response->url = $this->get_plugin_download_url($repository_id, $plugin['name'], $config);
281
+ $response->package = $this->get_plugin_download_url($repository_id, $plugin['name'], $config);
282
+ $update_plugins->checked[$plugin_wp_id] = $latest_version;
283
+ $update_plugins->response[$plugin_wp_id] = $response;
284
+
285
+
286
+ }
287
+
288
+ }
289
+
290
+ }
291
+
292
+ }
293
+ }
294
+
295
+ return $update_plugins;
296
+ }
297
+
298
+ public function run(){
299
+ global $wp_installer_instances;
300
+
301
+ $return['stop'] = 0;
302
+
303
+ foreach($wp_installer_instances as $instance) {
304
+
305
+ $config_file = dirname($instance['bootfile']) . '/deps.xml';
306
+
307
+ if (file_exists($config_file) && is_readable($config_file)) {
308
+
309
+ $config = $this->read_config($config_file);
310
+ $config_arr_key = md5($config_file) . '|' . $config['name'];
311
+
312
+ foreach($config['repositories'] as $repository_id => $repository){
313
+
314
+ $downloads = $this->get_repository_downloads($repository_id, $config);
315
+
316
+ foreach($repository['plugins'] as $plugin){
317
+
318
+ if(!isset($downloads[$plugin['name']])) continue;
319
+
320
+ $plugin_full_name = $this->get_plugin_full_name($repository_id, $plugin['name'], $config);
321
+
322
+ $latest_version = WP_Installer()->get_plugin_repository_version($repository_id, $plugin['name']);
323
+ $installed_version = WP_Installer()->get_plugin_installed_version($plugin_full_name, $plugin['name']);
324
+
325
+ $real_basename = $plugin['name'];
326
+ if(isset($plugin['format']) && $plugin['format'] != 'standard'){
327
+ $real_basename .= '-' . $plugin['format'];
328
+ }
329
+
330
+ $plugin_downloaded_once = false;
331
+ if(isset($_POST['plugins_downloaded'])){
332
+ $return['plugins_downloaded'] = $_POST['plugins_downloaded'];
333
+ if(in_array($real_basename, $_POST['plugins_downloaded'])){
334
+ $plugin_downloaded_once = true;
335
+ }
336
+ }else{
337
+ $return['plugins_downloaded'] = array();
338
+ }
339
+
340
+ if(!$plugin_downloaded_once && $this->is_plugin_installed($plugin['name']) && !$this->is_plugin_active($plugin['name']) && !$this->is_plugin_active($real_basename)){ // FULL PLUGIN PRESENT BUT INACTIVE
341
+ if($plugin_wp_id = $this->get_plugin_id($plugin['name'])){
342
+ //prevent redirects
343
+ add_filter('wp_redirect', '__return_false', 10000);
344
+ $ret = activate_plugin($plugin_wp_id);
345
+ $return['status_message'] = sprintf(__('Activated %s', 'installer'), $downloads[$plugin['name']]['name']);
346
+ }else{
347
+
348
+ $return['status_message'] = sprintf(__('Plugin not found: %s', 'installer'), $downloads[$plugin['name']]['name']);
349
+ $return['stop'] = 1;
350
+ }
351
+ break; // one operation at the time
352
+ }elseif(!$plugin_downloaded_once && !$this->is_plugin_installed($real_basename) && !$this->is_plugin_installed($plugin['name'])){
353
+ $ret = WP_Installer()->download_plugin($downloads[$plugin['name']]['basename'],
354
+ $downloads[$plugin['name']]['url']);
355
+ if($ret){
356
+ $return['status_message'] = sprintf(__('Installed %s', 'installer'), $downloads[$plugin['name']]['name']);
357
+ }else{
358
+ $return['status_message'] = sprintf(__('Failed to download %s', 'installer'), $downloads[$plugin['name']]['name']);
359
+ $return['stop'] = 1;
360
+ }
361
+ $return['plugins_downloaded'][] = $real_basename;
362
+ break; // one operation at the time
363
+
364
+ } elseif (version_compare($latest_version, $installed_version)) {
365
+
366
+ require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
367
+ require_once WP_Installer()->plugin_path() . '/includes/installer-upgrader-skins.php';
368
+
369
+ $upgrader_skins = new Installer_Upgrader_Skins(); //use our custom (mute) Skin
370
+ $upgrader = new Plugin_Upgrader($upgrader_skins);
371
+
372
+ remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
373
+ add_filter( 'site_transient_update_plugins', array( $this, 'plugins_upgrade_check') );
374
+
375
+ $plugin_wp_id = $this->get_plugin_id($real_basename);
376
+ $ret = $upgrader->upgrade($plugin_wp_id);
377
+
378
+ if($ret){
379
+ activate_plugin($plugin_wp_id);
380
+ $return['status_message'] = sprintf(__('Upgraded %s', 'installer'), $downloads[$plugin['name']]['name']);
381
+ }else{
382
+ $return['status_message'] = sprintf(__('Failed to upgrade %s', 'installer'), $downloads[$plugin['name']]['name']);
383
+ $return['stop'] = 1;
384
+ }
385
+
386
+ $return['plugins_downloaded'][] = $real_basename;
387
+
388
+ break; // one operation at the time
389
+
390
+ }elseif(!$this->is_plugin_active($real_basename) && !$this->is_plugin_active($plugin['name'])){
391
+
392
+ if($plugin_wp_id = $this->get_plugin_id($real_basename)){
393
+ //prevent redirects
394
+ add_filter('wp_redirect', '__return_false', 10000);
395
+
396
+ $ret = activate_plugin($plugin_wp_id);
397
+ $return['status_message'] = sprintf(__('Activated %s', 'installer'), $downloads[$plugin['name']]['name']);
398
+ }else{
399
+
400
+ $return['status_message'] = sprintf(__('Plugin not found: %s', 'installer'), $downloads[$plugin['name']]['name']);
401
+ $return['stop'] = 1;
402
+ }
403
+ break; // one operation at the time
404
+
405
+ }
406
+
407
+ }
408
+
409
+ }
410
+
411
+ }
412
+ }
413
+
414
+ if(empty($return['status_message'])){
415
+ $return['status_message'] = __('Operation complete!', 'installer');
416
+ $return['status_message'] .= '&nbsp;<a href="#" id="wp_installer_fix_deps_dismiss">'. __('Dismiss', 'installer') . '</a>';
417
+ $return['stop'] = 1;
418
+ }
419
+
420
+ echo json_encode($return);
421
+ exit;
422
+
423
+ }
424
+
425
+ public function get_repository_downloads($repository_id, $config){
426
+
427
+ if(!isset($this->repository_downloads[md5(serialize($config))][$repository_id])) {
428
+
429
+ $downloads = array();
430
+ $installer_settings = WP_Installer()->get_settings();
431
+
432
+ if (isset($installer_settings['repositories'][$repository_id])) {
433
+
434
+ foreach ($installer_settings['repositories'][$repository_id]['data']['packages'] as $package) {
435
+
436
+ foreach ($package['products'] as $product) {
437
+
438
+ $available_in_installer = WP_Installer()->is_product_available_for_download($product['name'], $repository_id);
439
+
440
+ foreach ($product['downloads'] as $download) {
441
+
442
+ if (!isset($downloads[$download['basename']]) || (empty($d['_installer_download_url']) && $available_in_installer)) {
443
+
444
+ $d['name'] = $download['name'];
445
+ $d['basename'] = $download['basename'];
446
+ $d['version'] = $download['version'];
447
+ $d['date'] = $download['date'];
448
+ $d['_installer_url'] = $available_in_installer;
449
+
450
+ /*
451
+ $format = 'standard';
452
+ foreach($config['repositories'][$repository_id]['plugins'] as $p){
453
+ if($p['name'] == $d['basename']){
454
+ if(isset($p['format'])){
455
+ $format = $p['format'];
456
+ }
457
+ break;
458
+ }
459
+ }
460
+ */
461
+
462
+ //case of valid subscription
463
+ if($available_in_installer){
464
+ $d['url'] = WP_Installer()->append_site_key_to_download_url($download['url'], WP_Installer()->get_site_key($repository_id), $repository_id);
465
+
466
+ }else{
467
+
468
+ $d['url'] = $download['url'] . '&theme_key=' . $config['repositories'][$repository_id]['key']
469
+ . '&theme_name=' . urlencode($config['name']);
470
+ //. '&format=' . $format;
471
+ }
472
+
473
+
474
+ $downloads[$d['basename']] = $d;
475
+ }
476
+
477
+ }
478
+
479
+ }
480
+
481
+ }
482
+
483
+ }
484
+
485
+ $this->repository_downloads[md5(serialize($config))][$repository_id] = $downloads;
486
+
487
+ }
488
+
489
+ return $this->repository_downloads[md5(serialize($config))][$repository_id];
490
+
491
+ }
492
+
493
+ public function get_plugin_download_url($repository_id, $basename, $config){
494
+
495
+ $downloads = $this->get_repository_downloads($repository_id, $config);
496
+
497
+ return isset($downloads[$basename]) ? $downloads[$basename]['url'] : false;
498
+
499
+ }
500
+
501
+ public function get_plugin_full_name($repository_id, $basename, $config){
502
+
503
+ $downloads = $this->get_repository_downloads($repository_id, $config);
504
+
505
+ return isset($downloads[$basename]) ? $downloads[$basename]['name'] : false;
506
+
507
+ }
508
+
509
+ public function js_footer(){
510
+ ?>
511
+ <script type='text/javascript'>
512
+ /* <![CDATA[ */
513
+
514
+ jQuery('#wp_installer_fix_deps').click(function(){
515
+
516
+ jQuery('#wp_installer_fix_deps').attr('disabled', 'disabled');
517
+ jQuery('#wp_installer_fix_deps_notice').find('.spinner').addClass('spinner-inline').show();
518
+
519
+ var plugins_downloaded = [];
520
+ wp_installer_deps_load_run(plugins_downloaded);
521
+ return false;
522
+ })
523
+
524
+ function wp_installer_deps_load_run(plugins_downloaded){
525
+
526
+ jQuery.ajax({
527
+ url: ajaxurl,
528
+ type: 'post',
529
+ dataType: 'json',
530
+ data: {action: 'wp_installer_fix_deps', plugins_downloaded: plugins_downloaded},
531
+ success: function(ret){
532
+
533
+ plugins_downloaded = ret.plugins_downloaded;
534
+ jQuery('#wp_installer_fix_deps_status').html(ret.status_message);
535
+
536
+ if(ret.stop){
537
+ jQuery('#wp_installer_fix_deps_notice').find('.spinner').removeClass('spinner-inline').hide();
538
+
539
+ }else{
540
+
541
+ wp_installer_deps_load_run(plugins_downloaded);
542
+ }
543
+
544
+ }
545
+ })
546
+ }
547
+
548
+ jQuery('#wp_installer_fix_deps_status').on('click', '#wp_installer_fix_deps_dismiss', function(){
549
+ jQuery('#wp_installer_fix_deps_notice').fadeOut();
550
+ return false;
551
+ })
552
+
553
+ /* ]]> */
554
+ </script>
555
+ <?php
556
+ }
557
+
558
+ }
plus/installer/installer.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- define('WP_INSTALLER_VERSION', '1.5.1');
3
 
4
  include_once dirname(__FILE__) . '/includes/installer.class.php';
5
  include_once dirname(__FILE__) . '/includes/deps-loader.class.php';
1
  <?php
2
+ define('WP_INSTALLER_VERSION', '1.5.1.1');
3
 
4
  include_once dirname(__FILE__) . '/includes/installer.class.php';
5
  include_once dirname(__FILE__) . '/includes/deps-loader.class.php';
plus/installer/loader.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Installer
4
  Plugin URI: http://wp-compatibility.com/installer-plugin/
5
  Description: Need help buying, installing and upgrading commercial themes and plugins? **Installer** handles all this for you, right from the WordPress admin. Installer lets you find themes and plugins from different sources, then, buy them from within the WordPress admin. Instead of manually uploading and unpacking, you'll see those themes and plugins available, just like any other plugin you're getting from WordPress.org.
6
- Version: 1.5.1
7
  Author: OnTheGoSystems Inc.
8
  Author URI: http://www.onthegosystems.com/
9
  */
@@ -20,7 +20,7 @@ $wp_installer_instance = dirname(__FILE__) . '/installer.php';
20
  global $wp_installer_instances;
21
  $wp_installer_instances[$wp_installer_instance] = array(
22
  'bootfile' => $wp_installer_instance,
23
- 'version' => '1.5.1'
24
  );
25
 
26
  // Only one of these in the end
3
  Plugin Name: Installer
4
  Plugin URI: http://wp-compatibility.com/installer-plugin/
5
  Description: Need help buying, installing and upgrading commercial themes and plugins? **Installer** handles all this for you, right from the WordPress admin. Installer lets you find themes and plugins from different sources, then, buy them from within the WordPress admin. Instead of manually uploading and unpacking, you'll see those themes and plugins available, just like any other plugin you're getting from WordPress.org.
6
+ Version: 1.5.1.1
7
  Author: OnTheGoSystems Inc.
8
  Author URI: http://www.onthegosystems.com/
9
  */
20
  global $wp_installer_instances;
21
  $wp_installer_instances[$wp_installer_instance] = array(
22
  'bootfile' => $wp_installer_instance,
23
+ 'version' => '1.5.1.1'
24
  );
25
 
26
  // Only one of these in the end
plus/installer/repositories.xml CHANGED
@@ -3,11 +3,11 @@
3
  <repository>
4
  <id>wpml</id>
5
  <apiurl>http://api.wpml.org/</apiurl>
6
- <products>https://wpmlorg.s3.amazonaws.com/wpml-products.json</products>
7
  </repository>
8
  <repository>
9
  <id>toolset</id>
10
  <apiurl>http://api.wp-types.com/</apiurl>
11
- <products>https://wptypes.s3.amazonaws.com/toolset-products.json</products>
12
  </repository>
13
  </repositories>
3
  <repository>
4
  <id>wpml</id>
5
  <apiurl>http://api.wpml.org/</apiurl>
6
+ <products>http://d2salfytceyqoe.cloudfront.net/wpml-products.json</products>
7
  </repository>
8
  <repository>
9
  <id>toolset</id>
10
  <apiurl>http://api.wp-types.com/</apiurl>
11
+ <products>http://d7j863fr5jhrr.cloudfront.net/toolset-products.json</products>
12
  </repository>
13
  </repositories>
plus/types-access.php CHANGED
@@ -2,15 +2,14 @@
2
  /*
3
  * Types Access teaser.
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/plus/types-access.php $
6
- * $LastChangedDate: 2015-02-04 13:43:06 +0000 (Wed, 04 Feb 2015) $
7
- * $LastChangedRevision: 1082328 $
8
  * $LastChangedBy: iworks $
9
  *
10
  */
11
 
12
  add_action( 'plugins_loaded', 'wpcf_access_teaser_init', 15 );
13
- add_action( 'wpcf_menu_plus', 'wpcf_access_teaser_admin_menu' );
14
 
15
  /**
16
  * Teaser init.
@@ -32,6 +31,7 @@ function wpcf_access_teaser_init() {
32
  $locale = get_locale();
33
  load_textdomain( 'wpcf_access',
34
  WPCF_ACCESS_ABSPATH . '/locale/types-access-' . $locale . '.mo' );
 
35
  }
36
  }
37
 
2
  /*
3
  * Types Access teaser.
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/plus/types-access.php $
6
+ * $LastChangedDate: 2015-02-24 10:05:51 +0000 (Tue, 24 Feb 2015) $
7
+ * $LastChangedRevision: 1097977 $
8
  * $LastChangedBy: iworks $
9
  *
10
  */
11
 
12
  add_action( 'plugins_loaded', 'wpcf_access_teaser_init', 15 );
 
13
 
14
  /**
15
  * Teaser init.
31
  $locale = get_locale();
32
  load_textdomain( 'wpcf_access',
33
  WPCF_ACCESS_ABSPATH . '/locale/types-access-' . $locale . '.mo' );
34
+ add_action( 'wpcf_menu_plus', 'wpcf_access_teaser_admin_menu' );
35
  }
36
  }
37
 
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://wp-types.com
4
  Tags: CMS, custom field, custom fields, custom post type, custom post types, post, post type, post types, cck, taxonomy, fields
5
  License: GPLv2
6
  Requires at least: 3.4
7
- Tested up to: 4.1
8
- Stable tag: 1.6.5
9
 
10
  The complete and reliable plugin for managing custom post types, custom taxonomy and custom fields.
11
 
@@ -153,8 +153,16 @@ Additionally, Types is the only plugin that lets you define parent/child relatio
153
 
154
  == Changelog ==
155
 
 
 
 
 
 
 
 
156
  = 1.6.5 =
157
 
 
158
  * Change in relationships, now all posts are showed, even those which have show_ui to false.
159
  * Added ability to hide custom post types on post relationships list. https://wp-types.com/forums/topic/post-relationship-doesnt-show-post-type-events-created-by-events-espresso/ using filter add_filter('wpcf_show_ui_hide_in_relationships', '__return_false');
160
  * Fixed a problem with deleting last children on post relationships table.
4
  Tags: CMS, custom field, custom fields, custom post type, custom post types, post, post type, post types, cck, taxonomy, fields
5
  License: GPLv2
6
  Requires at least: 3.4
7
+ Tested up to: 4.1.1
8
+ Stable tag: 1.6.5.1
9
 
10
  The complete and reliable plugin for managing custom post types, custom taxonomy and custom fields.
11
 
153
 
154
  == Changelog ==
155
 
156
+ = 1.6.5.1 =
157
+
158
+ * Release date: 2015-02-24
159
+ * Fix Installer patch to plugins.
160
+ * Fix problem with "Access Control and User Roles" menu in Types, when Access is active http://wp-types.com/forums/topic/update-issues-fatal-error-require_once-failed-opening-required-wpcf_access_/
161
+ * Change utm_media used in links on "Getting Started" pages.
162
+
163
  = 1.6.5 =
164
 
165
+ * Release date: 2015-02-10
166
  * Change in relationships, now all posts are showed, even those which have show_ui to false.
167
  * Added ability to hide custom post types on post relationships list. https://wp-types.com/forums/topic/post-relationship-doesnt-show-post-type-events-created-by-events-espresso/ using filter add_filter('wpcf_show_ui_hide_in_relationships', '__return_false');
168
  * Fixed a problem with deleting last children on post relationships table.
resources/js/basic.js CHANGED
@@ -1,7 +1,7 @@
1
  /** * * Use this file only for scripts needed in full version.
2
  * Before moving from embedded JS - make sure it's needed only here.
3
  *
4
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/resources/js/basic.js $
5
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
6
  * $LastChangedRevision: 1069430 $
7
  * $LastChangedBy: iworks $
1
  /** * * Use this file only for scripts needed in full version.
2
  * Before moving from embedded JS - make sure it's needed only here.
3
  *
4
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/resources/js/basic.js $
5
  * $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
6
  * $LastChangedRevision: 1069430 $
7
  * $LastChangedBy: iworks $
resources/js/custom-types-form.js CHANGED
@@ -2,7 +2,7 @@
2
  *
3
  * Custom Types form JS
4
  *
5
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/resources/js/custom-types-form.js $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
2
  *
3
  * Custom Types form JS
4
  *
5
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/resources/js/custom-types-form.js $
6
  * $LastChangedDate: 2014-11-18 06:47:25 +0000 (Tue, 18 Nov 2014) $
7
  * $LastChangedRevision: 1027712 $
8
  * $LastChangedBy: iworks $
wpcf.php CHANGED
@@ -5,13 +5,13 @@
5
  Description: Define custom post types, custom taxonomy and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
- Version: 1.6.5
9
  */
10
  /**
11
  *
12
- * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5/wpcf.php $
13
- * $LastChangedDate: 2015-02-04 13:43:06 +0000 (Wed, 04 Feb 2015) $
14
- * $LastChangedRevision: 1082328 $
15
  * $LastChangedBy: iworks $
16
  *
17
  */
@@ -20,7 +20,7 @@ if ( !defined( 'WPCF_VERSION' ) ) {
20
  /**
21
  * make sure that WPCF_VERSION in embedded/bootstrap.php is the same!
22
  */
23
- define( 'WPCF_VERSION', '1.6.5' );
24
  }
25
 
26
  define( 'WPCF_REPOSITORY', 'http://api.wp-types.com/' );
5
  Description: Define custom post types, custom taxonomy and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
+ Version: 1.6.5.1
9
  */
10
  /**
11
  *
12
+ * $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/wpcf.php $
13
+ * $LastChangedDate: 2015-02-24 10:05:51 +0000 (Tue, 24 Feb 2015) $
14
+ * $LastChangedRevision: 1097977 $
15
  * $LastChangedBy: iworks $
16
  *
17
  */
20
  /**
21
  * make sure that WPCF_VERSION in embedded/bootstrap.php is the same!
22
  */
23
+ define( 'WPCF_VERSION', '1.6.5.1' );
24
  }
25
 
26
  define( 'WPCF_REPOSITORY', 'http://api.wp-types.com/' );