Changeset 2030899
- Timestamp:
- 02/14/2019 10:52:33 PM (7 years ago)
- Location:
- sermon-manager-for-wordpress/trunk
- Files:
-
- 2 edited
-
includes/admin/class-sm-admin-settings.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sermon-manager-for-wordpress/trunk/includes/admin/class-sm-admin-settings.php
r1987696 r2030899 676 676 } elseif ( is_array( $options ) ) { 677 677 if ( count( $options ) === 1 ) { 678 foreach ( $options as $function => $args ) {679 // Let's assume that it's a function with arguments.680 if ( is_array( $args ) ) { 681 break;682 }678 $function = key( $options ); 679 $args = $options[ $function ]; 680 681 if ( ! function_exists( $function ) ) { 682 return $options; 683 683 } 684 684 } else { … … 699 699 700 700 if ( count( $options ) === 0 ) { 701 $options = array( 0 => '-- ' . __( 'None' ) . ' --' ); 701 $options = array( 0 => '-- ' . __( 'None' ) . ' --' ); // phpcs:ignore 702 702 } 703 703 } else { 704 704 $options = array( 705 0 => __( 'Error .' ),705 0 => __( 'Error in populating field options.', 'sermon-manager-for-wordpress' ), 706 706 ); 707 707 } -
sermon-manager-for-wordpress/trunk/readme.txt
r2028748 r2030899 129 129 * Fix: Improve [latest_series] shortcode 130 130 * Fix: Service Type filter in backend not working when slug is different from default 131 * Dev: Fix select field returning error when only one option is defined for it 131 132 132 133 ### 2.15.13 ###
Note: See TracChangeset
for help on using the changeset viewer.