Changeset 2061522
- Timestamp:
- 04/02/2019 12:09:15 PM (7 years ago)
- Location:
- custom-field-suite/trunk
- Files:
-
- 6 edited
-
assets/js/validation.js (modified) (1 diff)
-
cfs.php (modified) (2 diffs)
-
includes/api.php (modified) (1 diff)
-
includes/field_group.php (modified) (1 diff)
-
includes/third_party.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-field-suite/trunk/assets/js/validation.js
r1646166 r2061522 71 71 'loop': function(el) { 72 72 var rows = []; 73 el.find(' .loop_wrapper').each(function(index) {73 el.find('> .cfs_loop > .loop_wrapper').each(function(index) { 74 74 rows.push(index); 75 75 }); -
custom-field-suite/trunk/cfs.php
r1784827 r2061522 4 4 Plugin URI: http://customfieldsuite.com/ 5 5 Description: Visually add custom fields to your WordPress edit pages. 6 Version: 2.5.1 26 Version: 2.5.13 7 7 Author: Matt Gibbs 8 8 Text Domain: cfs … … 23 23 24 24 // setup variables 25 define( 'CFS_VERSION', '2.5.1 2' );25 define( 'CFS_VERSION', '2.5.13' ); 26 26 define( 'CFS_DIR', dirname( __FILE__ ) ); 27 define( 'CFS_URL', plugins_url( ' custom-field-suite') );27 define( 'CFS_URL', plugins_url( '', __FILE__ ) ); 28 28 29 29 // get the gears turning -
custom-field-suite/trunk/includes/api.php
r1581223 r2061522 130 130 } 131 131 132 $field_data[ $hierarchy ][] = $result->meta_value; 132 if ( is_array( $field_data[ $hierarchy ] ) ) { 133 $field_data[ $hierarchy ][] = $result->meta_value; 134 } 135 else { 136 $field_data[ $hierarchy ] = [ $result->meta_value ]; 137 } 133 138 } 134 139 -
custom-field-suite/trunk/includes/field_group.php
r1269996 r2061522 254 254 $deleted_field_ids = array_diff( array_keys( $prev_fields ), $current_field_ids ); 255 255 256 // Filter deleted field IDs before deleting meta 257 $deleted_field_ids = apply_filters( 'cfs_deleted_field_ids', $deleted_field_ids ); 258 256 259 if ( 0 < count( $deleted_field_ids ) ) { 257 260 $deleted_field_ids = implode( ',', $deleted_field_ids ); -
custom-field-suite/trunk/includes/third_party.php
r1269996 r2061522 13 13 14 14 // Duplicate Post - http://wordpress.org/plugins/duplicate-post/ 15 add_action( 'dp_duplicate_post', array( $this, 'duplicate_post' ), 20, 2 );16 add_action( 'dp_duplicate_page', array( $this, 'duplicate_post' ), 20, 2 );15 add_action( 'dp_duplicate_post', array( $this, 'duplicate_post' ), 100, 2 ); 16 add_action( 'dp_duplicate_page', array( $this, 'duplicate_post' ), 100, 2 ); 17 17 } 18 18 -
custom-field-suite/trunk/readme.txt
r1853629 r2061522 2 2 Contributors: mgibbs189 3 3 Tags: custom fields, fields, postmeta, relationship, repeater, file upload 4 Requires at least: 4. 75 Tested up to: 4.9.54 Requires at least: 4.9 5 Tested up to: 5.1.1 6 6 Stable tag: trunk 7 7 License: GPLv2 … … 47 47 == Changelog == 48 48 49 = 2.5.13 = 50 * New: ability to filter IDs before deleting associated meta (props @chrisvanpatten) 51 * Fix: nested loops count validation (props @felipeelia) 52 * Fix: PHP 7.1+ compatibility in api.php (props @adrianwaler) 53 * Fix: change the priority of the `duplicate_post` hook 54 49 55 = 2.5.12 = 50 56 * Fix: WP 4.9+ TinyMCE javascript issue
Note: See TracChangeset
for help on using the changeset viewer.