Changeset 1176917
- Timestamp:
- 06/08/2015 05:28:16 PM (11 years ago)
- Location:
- buckets/trunk
- Files:
-
- 21 edited
-
README.md (modified) (1 prop)
-
admin/add_bucket.php (modified) (1 prop)
-
admin/shortcode.php (modified) (1 prop)
-
buckets.php (modified) (7 diffs, 1 prop)
-
css/bucket_field.css (modified) (1 prop)
-
css/buckets.css (modified) (1 prop)
-
css/popup.css (modified) (1 prop)
-
css/tinymce.css (modified) (1 prop)
-
fields/acf-buckets-v4.php (modified) (1 prop)
-
fields/acf-buckets-v5.php (modified) (1 prop)
-
img/button_add.png (modified) (1 prop) (previous)
-
img/button_remove.png (modified) (1 prop) (previous)
-
js/buckets.js (modified) (1 prop)
-
js/media-upload.js (modified) (1 prop)
-
js/popup.js (modified) (1 prop)
-
js/tinymce.js (modified) (1 prop)
-
js/tinymce/bucket.png (modified) (1 prop) (previous)
-
js/tinymce/bucketshortcode.js (modified) (1 prop)
-
js/tinymce/bucketshortcode.php (modified) (1 prop)
-
readme.txt (modified) (1 diff, 1 prop)
-
templates/visual_editor.php (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
buckets/trunk/README.md
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/admin/add_bucket.php
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/admin/shortcode.php
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/buckets.php
-
Property
svn:executable
set to
*
r1167174 r1176917 5 5 Description: A Widget Alternative. Add reusable content inside of content. On a per page basis. 6 6 Author: Matthew Restorff 7 Version: 0.3. 07 Version: 0.3.2 8 8 Author URI: http://www.matthewrestorff.com 9 9 */ … … 17 17 * 18 18 *-------------------------------------------------------------------------------------*/ 19 $bucket_version = '0.3. 0';19 $bucket_version = '0.3.2'; 20 20 add_action('init', 'buckets_init'); 21 21 add_action( 'admin_head', 'buckets_admin_head' ); … … 75 75 )); 76 76 77 // Create TinyMCE Button78 create_tinymce_button();79 80 77 } 81 78 … … 188 185 * 189 186 *-------------------------------------------------------------------------------------*/ 190 function include_field_types_buckets($acf_version) 191 { 187 function include_field_types_buckets() 188 { 189 global $acf_version; 192 190 remove_post_type_support( 'buckets', 'editor' ); 193 191 include_once(WP_PLUGIN_DIR . '/buckets/fields/acf-buckets-v'. $acf_version . '.php'); … … 197 195 if (is_plugin_active('advanced-custom-fields-pro/acf.php')) { 198 196 add_action('acf/include_field_types', 'include_field_types_buckets'); 199 do_action('5'); // ACF v5.x197 $acf_version = '5'; 200 198 } elseif (is_plugin_active('advanced-custom-fields/acf.php')) { 201 199 add_action('acf/register_fields', 'include_field_types_buckets'); 202 do_action('4'); // ACF v4.x200 $acf_version = '4'; 203 201 } 204 202 … … 410 408 function buckets_admin_head() 411 409 { 410 412 411 global $bucket_version; 413 412 … … 429 428 array( 'thickbox' ) 430 429 ); 430 431 // Create TinyMCE Button 432 create_tinymce_button(); 433 431 434 } 432 435 -
Property
svn:executable
set to
-
buckets/trunk/css/bucket_field.css
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/css/buckets.css
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/css/popup.css
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/css/tinymce.css
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/fields/acf-buckets-v4.php
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/fields/acf-buckets-v5.php
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/img/button_add.png
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/img/button_remove.png
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/js/buckets.js
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/js/media-upload.js
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/js/popup.js
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/js/tinymce.js
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/js/tinymce/bucket.png
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/js/tinymce/bucketshortcode.js
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/js/tinymce/bucketshortcode.php
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
-
buckets/trunk/readme.txt
-
Property
svn:executable
set to
*
r1167174 r1176917 41 41 42 42 == Changelog == 43 = 0.3.2 = 44 [Fixed] - Fields weren't loading properly with ACF 4 45 46 = 0.3.1 = 47 [Fixed] - TinyMCE button CSS was loading incorrectly 48 43 49 = 0.3.0 = 44 50 [Added] - Updated Buckets for ACF Pro v5+ -
Property
svn:executable
set to
-
buckets/trunk/templates/visual_editor.php
-
Property
svn:executable
set to
*
-
Property
svn:executable
set to
Note: See TracChangeset
for help on using the changeset viewer.