Version Description
- Release date: 2015-09-28
- Fixed a problem with get_plugins() function is some Installer actions.
Download this release
Release Info
| Developer | iworks |
| Plugin | |
| Version | 1.8.6.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.8.6 to 1.8.6.1
- embedded/bootstrap.php +1 -1
- embedded/plugin.php +1 -1
- embedded/readme.txt +1 -1
- plus/installer/includes/installer.class.php +19 -11
- readme.txt +6 -1
- wpcf.php +2 -2
embedded/bootstrap.php
CHANGED
|
@@ -156,7 +156,7 @@ function wpcf_embedded_init() {
|
|
| 156 |
// Define necessary constants if plugin is not present
|
| 157 |
// This ones are skipped if used as embedded code!
|
| 158 |
if ( !defined( 'WPCF_VERSION' ) ) {
|
| 159 |
-
define( 'WPCF_VERSION', '1.8.6' );
|
| 160 |
define( 'WPCF_META_PREFIX', 'wpcf-' );
|
| 161 |
}
|
| 162 |
|
| 156 |
// Define necessary constants if plugin is not present
|
| 157 |
// This ones are skipped if used as embedded code!
|
| 158 |
if ( !defined( 'WPCF_VERSION' ) ) {
|
| 159 |
+
define( 'WPCF_VERSION', '1.8.6.1' );
|
| 160 |
define( 'WPCF_META_PREFIX', 'wpcf-' );
|
| 161 |
}
|
| 162 |
|
embedded/plugin.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
Description: Define custom post types, custom taxonomies and custom fields.
|
| 6 |
Author: OnTheGoSystems
|
| 7 |
Author URI: http://www.onthegosystems.com
|
| 8 |
-
Version: 1.8.6
|
| 9 |
*/
|
| 10 |
/**
|
| 11 |
*
|
| 5 |
Description: Define custom post types, custom taxonomies and custom fields.
|
| 6 |
Author: OnTheGoSystems
|
| 7 |
Author URI: http://www.onthegosystems.com
|
| 8 |
+
Version: 1.8.6.1
|
| 9 |
*/
|
| 10 |
/**
|
| 11 |
*
|
embedded/readme.txt
CHANGED
|
@@ -5,7 +5,7 @@ Tags: CMS, custom field, custom fields, custom post type, custom post types, fie
|
|
| 5 |
License: GPLv2
|
| 6 |
Requires at least: 3.4
|
| 7 |
Tested up to: 4.3
|
| 8 |
-
Stable tag: 1.8.6
|
| 9 |
|
| 10 |
The Embedded version lets you create custom types, taxonomies and fields for your theme or plugin, without requiring any plugin.
|
| 11 |
|
| 5 |
License: GPLv2
|
| 6 |
Requires at least: 3.4
|
| 7 |
Tested up to: 4.3
|
| 8 |
+
Stable tag: 1.8.6.1
|
| 9 |
|
| 10 |
The Embedded version lets you create custom types, taxonomies and fields for your theme or plugin, without requiring any plugin.
|
| 11 |
|
plus/installer/includes/installer.class.php
CHANGED
|
@@ -263,8 +263,8 @@ final class WP_Installer{
|
|
| 263 |
}
|
| 264 |
|
| 265 |
public function setup_plugins_action_links(){
|
| 266 |
-
|
| 267 |
-
$plugins = get_plugins();
|
| 268 |
|
| 269 |
$repositories_plugins = array();
|
| 270 |
|
|
@@ -1261,7 +1261,7 @@ final class WP_Installer{
|
|
| 1261 |
|
| 1262 |
public function setup_plugins_renew_warnings(){
|
| 1263 |
|
| 1264 |
-
$plugins = get_plugins();
|
| 1265 |
|
| 1266 |
$subscriptions_with_warnings = array();
|
| 1267 |
foreach($this->settings['repositories'] as $repository_id => $repository){
|
|
@@ -1515,7 +1515,7 @@ final class WP_Installer{
|
|
| 1515 |
|
| 1516 |
$is = false;
|
| 1517 |
|
| 1518 |
-
$plugins = get_plugins();
|
| 1519 |
|
| 1520 |
foreach($plugins as $plugin_id => $plugin){
|
| 1521 |
|
|
@@ -1547,7 +1547,7 @@ final class WP_Installer{
|
|
| 1547 |
public function plugin_is_embedded_version($name, $slug){
|
| 1548 |
$is = false;
|
| 1549 |
|
| 1550 |
-
$plugins = get_plugins();
|
| 1551 |
|
| 1552 |
//false if teh full version is also installed
|
| 1553 |
$is_full_installed = false;
|
|
@@ -1662,7 +1662,7 @@ final class WP_Installer{
|
|
| 1662 |
|
| 1663 |
remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
|
| 1664 |
|
| 1665 |
-
$plugins = get_plugins();
|
| 1666 |
|
| 1667 |
//upgrade or install?
|
| 1668 |
foreach($plugins as $id => $plugin){
|
|
@@ -1711,7 +1711,7 @@ final class WP_Installer{
|
|
| 1711 |
}
|
| 1712 |
}
|
| 1713 |
|
| 1714 |
-
$plugins = get_plugins(); //read again
|
| 1715 |
|
| 1716 |
if($ret && !empty($_POST['activate'])){
|
| 1717 |
foreach($plugins as $id => $plugin){
|
|
@@ -1754,7 +1754,7 @@ final class WP_Installer{
|
|
| 1754 |
|
| 1755 |
remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
|
| 1756 |
|
| 1757 |
-
$plugins = get_plugins();
|
| 1758 |
|
| 1759 |
$plugin_id = false;
|
| 1760 |
|
|
@@ -1891,7 +1891,7 @@ final class WP_Installer{
|
|
| 1891 |
|
| 1892 |
$this->filter_downloads_by_icl(); //downloads for ICL users
|
| 1893 |
|
| 1894 |
-
$plugins = get_plugins();
|
| 1895 |
|
| 1896 |
foreach($plugins as $plugin_id => $plugin){
|
| 1897 |
|
|
@@ -1956,7 +1956,7 @@ final class WP_Installer{
|
|
| 1956 |
|
| 1957 |
public function setup_plugins_page_notices(){
|
| 1958 |
|
| 1959 |
-
$plugins = get_plugins();
|
| 1960 |
|
| 1961 |
foreach($plugins as $plugin_id => $plugin){
|
| 1962 |
|
|
@@ -2303,7 +2303,7 @@ final class WP_Installer{
|
|
| 2303 |
|
| 2304 |
// Exception: WPML before 3.2 should not be able to upgrade to 3.2+ automatically
|
| 2305 |
// Only when the exact folder name is used: sitepress-multilignaul-cms
|
| 2306 |
-
$plugins = get_plugins();
|
| 2307 |
foreach($plugins as $id => $plugin){
|
| 2308 |
if( dirname($id) == 'sitepress-multilingual-cms' ){
|
| 2309 |
$wpml_version = $plugin['Version'];
|
|
@@ -2528,4 +2528,12 @@ final class WP_Installer{
|
|
| 2528 |
|
| 2529 |
}
|
| 2530 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2531 |
}
|
| 263 |
}
|
| 264 |
|
| 265 |
public function setup_plugins_action_links(){
|
| 266 |
+
|
| 267 |
+
$plugins = $this->get_plugins();
|
| 268 |
|
| 269 |
$repositories_plugins = array();
|
| 270 |
|
| 1261 |
|
| 1262 |
public function setup_plugins_renew_warnings(){
|
| 1263 |
|
| 1264 |
+
$plugins = $this->get_plugins();
|
| 1265 |
|
| 1266 |
$subscriptions_with_warnings = array();
|
| 1267 |
foreach($this->settings['repositories'] as $repository_id => $repository){
|
| 1515 |
|
| 1516 |
$is = false;
|
| 1517 |
|
| 1518 |
+
$plugins = $this->get_plugins();
|
| 1519 |
|
| 1520 |
foreach($plugins as $plugin_id => $plugin){
|
| 1521 |
|
| 1547 |
public function plugin_is_embedded_version($name, $slug){
|
| 1548 |
$is = false;
|
| 1549 |
|
| 1550 |
+
$plugins = $this->get_plugins();
|
| 1551 |
|
| 1552 |
//false if teh full version is also installed
|
| 1553 |
$is_full_installed = false;
|
| 1662 |
|
| 1663 |
remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
|
| 1664 |
|
| 1665 |
+
$plugins = $this->get_plugins();
|
| 1666 |
|
| 1667 |
//upgrade or install?
|
| 1668 |
foreach($plugins as $id => $plugin){
|
| 1711 |
}
|
| 1712 |
}
|
| 1713 |
|
| 1714 |
+
$plugins = $this->get_plugins(); //read again
|
| 1715 |
|
| 1716 |
if($ret && !empty($_POST['activate'])){
|
| 1717 |
foreach($plugins as $id => $plugin){
|
| 1754 |
|
| 1755 |
remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
|
| 1756 |
|
| 1757 |
+
$plugins = $this->get_plugins();
|
| 1758 |
|
| 1759 |
$plugin_id = false;
|
| 1760 |
|
| 1891 |
|
| 1892 |
$this->filter_downloads_by_icl(); //downloads for ICL users
|
| 1893 |
|
| 1894 |
+
$plugins = $this->get_plugins();
|
| 1895 |
|
| 1896 |
foreach($plugins as $plugin_id => $plugin){
|
| 1897 |
|
| 1956 |
|
| 1957 |
public function setup_plugins_page_notices(){
|
| 1958 |
|
| 1959 |
+
$plugins = $this->get_plugins();
|
| 1960 |
|
| 1961 |
foreach($plugins as $plugin_id => $plugin){
|
| 1962 |
|
| 2303 |
|
| 2304 |
// Exception: WPML before 3.2 should not be able to upgrade to 3.2+ automatically
|
| 2305 |
// Only when the exact folder name is used: sitepress-multilignaul-cms
|
| 2306 |
+
$plugins = $this->get_plugins();
|
| 2307 |
foreach($plugins as $id => $plugin){
|
| 2308 |
if( dirname($id) == 'sitepress-multilingual-cms' ){
|
| 2309 |
$wpml_version = $plugin['Version'];
|
| 2528 |
|
| 2529 |
}
|
| 2530 |
|
| 2531 |
+
private function get_plugins()
|
| 2532 |
+
{
|
| 2533 |
+
if ( ! function_exists( 'get_plugins' ) ) {
|
| 2534 |
+
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
| 2535 |
+
}
|
| 2536 |
+
return get_plugins();
|
| 2537 |
+
}
|
| 2538 |
+
|
| 2539 |
}
|
readme.txt
CHANGED
|
@@ -5,7 +5,7 @@ Tags: CMS, custom field, custom fields, custom post type, custom post types, fie
|
|
| 5 |
License: GPLv2
|
| 6 |
Requires at least: 3.4
|
| 7 |
Tested up to: 4.3
|
| 8 |
-
Stable tag: 1.8.6
|
| 9 |
|
| 10 |
The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
|
| 11 |
|
|
@@ -155,6 +155,11 @@ Additionally, Types is the only plugin that lets you define parent/child relatio
|
|
| 155 |
|
| 156 |
== Changelog ==
|
| 157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 158 |
= 1.8.6 =
|
| 159 |
|
| 160 |
* Release date: 2015-09-28
|
| 5 |
License: GPLv2
|
| 6 |
Requires at least: 3.4
|
| 7 |
Tested up to: 4.3
|
| 8 |
+
Stable tag: 1.8.6.1
|
| 9 |
|
| 10 |
The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
|
| 11 |
|
| 155 |
|
| 156 |
== Changelog ==
|
| 157 |
|
| 158 |
+
= 1.8.6.1 =
|
| 159 |
+
|
| 160 |
+
* Release date: 2015-09-28
|
| 161 |
+
* Fixed a problem with get_plugins() function is some Installer actions.
|
| 162 |
+
|
| 163 |
= 1.8.6 =
|
| 164 |
|
| 165 |
* Release date: 2015-09-28
|
wpcf.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
Description: Define custom post types, custom taxonomies and custom fields.
|
| 6 |
Author: OnTheGoSystems
|
| 7 |
Author URI: http://www.onthegosystems.com
|
| 8 |
-
Version: 1.8.6
|
| 9 |
*/
|
| 10 |
/**
|
| 11 |
*
|
|
@@ -16,7 +16,7 @@ if ( !defined( 'WPCF_VERSION' ) ) {
|
|
| 16 |
/**
|
| 17 |
* make sure that WPCF_VERSION in embedded/bootstrap.php is the same!
|
| 18 |
*/
|
| 19 |
-
define( 'WPCF_VERSION', '1.8.6' );
|
| 20 |
}
|
| 21 |
|
| 22 |
define( 'WPCF_REPOSITORY', 'http://api.wp-types.com/' );
|
| 5 |
Description: Define custom post types, custom taxonomies and custom fields.
|
| 6 |
Author: OnTheGoSystems
|
| 7 |
Author URI: http://www.onthegosystems.com
|
| 8 |
+
Version: 1.8.6.1
|
| 9 |
*/
|
| 10 |
/**
|
| 11 |
*
|
| 16 |
/**
|
| 17 |
* make sure that WPCF_VERSION in embedded/bootstrap.php is the same!
|
| 18 |
*/
|
| 19 |
+
define( 'WPCF_VERSION', '1.8.6.1' );
|
| 20 |
}
|
| 21 |
|
| 22 |
define( 'WPCF_REPOSITORY', 'http://api.wp-types.com/' );
|
