Version Description
- [Fixed] Integrate with Shopp plugin
Download this release
Release Info
Developer | elliotcondon |
Plugin | Advanced Custom Fields |
Version | 3.3.2 |
Comparing to | |
See all releases |
Code changes from version 3.3.1 to 3.3.2
- acf.php +3 -3
- core/controllers/input.php +7 -0
- core/controllers/settings.php +2 -2
- css/input.css +4 -0
- readme.txt +3 -0
acf.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: http://www.advancedcustomfields.com/
|
5 |
-
Description: Fully customise WordPress edit screens with powerful fields. Boasting a professional interface and a powerfull API, it’s a must have for any web developer working with WordPress.Field types include: Wysiwyg, text, textarea, image, file, select, checkbox, page link, post object, date picker, color picker and more!
|
6 |
-
Version: 3.3.
|
7 |
Author: Elliot Condon
|
8 |
Author URI: http://www.elliotcondon.com/
|
9 |
License: GPL
|
@@ -47,7 +47,7 @@ class Acf
|
|
47 |
// vars
|
48 |
$this->path = plugin_dir_path(__FILE__);
|
49 |
$this->dir = plugins_url('',__FILE__);
|
50 |
-
$this->version = '3.3.
|
51 |
$this->upgrade_version = '3.2.5'; // this is the latest version which requires an upgrade
|
52 |
$this->cache = array(); // basic array cache to hold data throughout the page load
|
53 |
|
2 |
/*
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: http://www.advancedcustomfields.com/
|
5 |
+
Description: Fully customise WordPress edit screens with powerful fields. Boasting a professional interface and a powerfull API, it’s a must have for any web developer working with WordPress. Field types include: Wysiwyg, text, textarea, image, file, select, checkbox, page link, post object, date picker, color picker, repeater, flexible content, gallery and more!
|
6 |
+
Version: 3.3.2
|
7 |
Author: Elliot Condon
|
8 |
Author URI: http://www.elliotcondon.com/
|
9 |
License: GPL
|
47 |
// vars
|
48 |
$this->path = plugin_dir_path(__FILE__);
|
49 |
$this->dir = plugins_url('',__FILE__);
|
50 |
+
$this->version = '3.3.2';
|
51 |
$this->upgrade_version = '3.2.5'; // this is the latest version which requires an upgrade
|
52 |
$this->cache = array(); // basic array cache to hold data throughout the page load
|
53 |
|
core/controllers/input.php
CHANGED
@@ -88,6 +88,13 @@ class acf_input
|
|
88 |
}
|
89 |
|
90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
// return
|
92 |
return $return;
|
93 |
}
|
88 |
}
|
89 |
|
90 |
|
91 |
+
// validate page (Shopp)
|
92 |
+
if( $pagenow == "admin.php" && isset( $_GET['page'] ) && $_GET['page'] == "shopp-products" && isset( $_GET['id'] ) )
|
93 |
+
{
|
94 |
+
$return = true;
|
95 |
+
}
|
96 |
+
|
97 |
+
|
98 |
// return
|
99 |
return $return;
|
100 |
}
|
core/controllers/settings.php
CHANGED
@@ -289,7 +289,7 @@ if($action == ""):
|
|
289 |
<form method="post" action="<?php echo $this->parent->dir; ?>/core/actions/export.php">
|
290 |
<div class="wp-box">
|
291 |
<div class="wp-box-half left">
|
292 |
-
<div class="inner">
|
293 |
<h2><?php _e("Export Field Groups to XML",'acf'); ?></h2>
|
294 |
|
295 |
<?php
|
@@ -356,7 +356,7 @@ if($action == ""):
|
|
356 |
<input type="hidden" name="action" value="export_php" />
|
357 |
<div class="wp-box">
|
358 |
<div class="wp-box-half left">
|
359 |
-
<div class="inner">
|
360 |
<h2><?php _e("Export Field Groups to PHP",'acf'); ?></h2>
|
361 |
|
362 |
<?php
|
289 |
<form method="post" action="<?php echo $this->parent->dir; ?>/core/actions/export.php">
|
290 |
<div class="wp-box">
|
291 |
<div class="wp-box-half left">
|
292 |
+
<div class="inner" style="min-height:130px;">
|
293 |
<h2><?php _e("Export Field Groups to XML",'acf'); ?></h2>
|
294 |
|
295 |
<?php
|
356 |
<input type="hidden" name="action" value="export_php" />
|
357 |
<div class="wp-box">
|
358 |
<div class="wp-box-half left">
|
359 |
+
<div class="inner" style="min-height:130px;">
|
360 |
<h2><?php _e("Export Field Groups to PHP",'acf'); ?></h2>
|
361 |
|
362 |
<?php
|
css/input.css
CHANGED
@@ -112,6 +112,10 @@
|
|
112 |
resize: none;
|
113 |
}
|
114 |
|
|
|
|
|
|
|
|
|
115 |
.acf_postbox .field select{
|
116 |
width: 100%;
|
117 |
padding: 2px;
|
112 |
resize: none;
|
113 |
}
|
114 |
|
115 |
+
.acf_postbox .field textarea {
|
116 |
+
resize: vertical;
|
117 |
+
}
|
118 |
+
|
119 |
.acf_postbox .field select{
|
120 |
width: 100%;
|
121 |
padding: 2px;
|
readme.txt
CHANGED
@@ -85,6 +85,9 @@ http://www.advancedcustomfields.com/support/
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
88 |
= 3.3.1 =
|
89 |
* [Fixed] Fix gallery sortable in repeater - http://support.advancedcustomfields.com/discussion/2463/gallery-within-a-repeater-image-reorder-not-working
|
90 |
* [Fixed] Test / Fix two gallery fields - http://support.advancedcustomfields.com/discussion/2467/gallery-two-gallery-fieldss
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 3.3.2 =
|
89 |
+
* [Fixed] Integrate with Shopp plugin
|
90 |
+
|
91 |
= 3.3.1 =
|
92 |
* [Fixed] Fix gallery sortable in repeater - http://support.advancedcustomfields.com/discussion/2463/gallery-within-a-repeater-image-reorder-not-working
|
93 |
* [Fixed] Test / Fix two gallery fields - http://support.advancedcustomfields.com/discussion/2467/gallery-two-gallery-fieldss
|