From 4ced49976c850ec27e84f0c9a21884ca53993d3b Mon Sep 17 00:00:00 2001 From: Sabbir Hasan Date: Tue, 14 Apr 2015 23:54:14 +0600 Subject: [PATCH 01/13] Fix Select Option Value Changes. --- assets/js/ot-admin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/js/ot-admin.js b/assets/js/ot-admin.js index b20fe28..0c5d7ce 100755 --- a/assets/js/ot-admin.js +++ b/assets/js/ot-admin.js @@ -580,14 +580,14 @@ init_select_wrapper: function(scope) { scope = scope || document; $('.option-tree-ui-select', scope).each(function () { - if ( ! $(this).parent().hasClass('select-wrapper') ) { + $(this).wrap('
'); $(this).parent('.select-wrapper').prepend('' + $(this).find('option:selected').text() + ''); - } + }); }, bind_select_wrapper: function() { - $('.option-tree-ui-select').on('change', function () { + $(document).on('change', '.option-tree-ui-select', function () { $(this).prev('span').replaceWith('' + $(this).find('option:selected').text() + ''); }); }, @@ -1289,4 +1289,4 @@ $('.hide-color-picker.ot-colorpicker-opacity').ot_wpColorPicker(); }); -})( jQuery, window, document ); \ No newline at end of file +})( jQuery, window, document ); From d1400c48b04ea1734445d078f3d0ef0e219ab771 Mon Sep 17 00:00:00 2001 From: Sabbir Hasan Date: Tue, 14 Apr 2015 23:59:56 +0600 Subject: [PATCH 02/13] Fix Select Option Value Changes. --- assets/js/ot-admin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/ot-admin.js b/assets/js/ot-admin.js index 0c5d7ce..641aad1 100755 --- a/assets/js/ot-admin.js +++ b/assets/js/ot-admin.js @@ -580,10 +580,10 @@ init_select_wrapper: function(scope) { scope = scope || document; $('.option-tree-ui-select', scope).each(function () { - + if ( ! $(this).parent().hasClass('select-wrapper') ) { $(this).wrap('
'); $(this).parent('.select-wrapper').prepend('' + $(this).find('option:selected').text() + ''); - + } }); }, bind_select_wrapper: function() { From e19d4dab70eaff9a8c38633b9a03fb06e31e2bec Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Mon, 20 Apr 2015 13:16:23 -0700 Subject: [PATCH 03/13] merge select fix & document --- assets/js/ot-admin.js | 2 +- readme.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/js/ot-admin.js b/assets/js/ot-admin.js index 641aad1..c4134f1 100755 --- a/assets/js/ot-admin.js +++ b/assets/js/ot-admin.js @@ -1289,4 +1289,4 @@ $('.hide-color-picker.ot-colorpicker-opacity').ot_wpColorPicker(); }); -})( jQuery, window, document ); +})( jQuery, window, document ); \ No newline at end of file diff --git a/readme.txt b/readme.txt index 85e24b7..7fffbe8 100755 --- a/readme.txt +++ b/readme.txt @@ -126,6 +126,9 @@ The most likely scenario is your theme already has OptionTree installed in Theme == Changelog == += 2.5.4 = +* Hotfix - Fixed an issue where the select field value was not visible. Contributors via github @sabbirk15. + = 2.5.3 = * Hotfix - Added `inherit` fallback to the `border` option type in dynamic.css. * Hotfix - Added `none` fallback to the `box-shadow` option type in dynamic.css. From 3d7d7e257695396ae9e417c38e94a9612ac0f52e Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Mon, 20 Apr 2015 13:17:04 -0700 Subject: [PATCH 04/13] version bump --- ot-loader.php | 4 ++-- readme.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ot-loader.php b/ot-loader.php index 3691602..a3f7123 100755 --- a/ot-loader.php +++ b/ot-loader.php @@ -3,7 +3,7 @@ * Plugin Name: OptionTree * Plugin URI: https://github.com/valendesigns/option-tree/ * Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes. - * Version: 2.5.3 + * Version: 2.5.4 * Author: Derek Herman * Author URI: http://valendesigns.com * License: GPLv3 @@ -178,7 +178,7 @@ private function constants() { /** * Current Version number. */ - define( 'OT_VERSION', '2.5.3' ); + define( 'OT_VERSION', '2.5.4' ); /** * For developers: Theme mode. diff --git a/readme.txt b/readme.txt index 7fffbe8..cd6931e 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: http://bit.ly/NuXI3T Tags: options, theme options, meta boxes Requires at least: 3.8 Tested up to: 4.2-beta3 -Stable tag: 2.5.3 +Stable tag: 2.5.4 License: GPLv3 Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes. From 242855caf157af63d159503e23761a2b0eafd608 Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Mon, 20 Apr 2015 14:47:46 -0700 Subject: [PATCH 05/13] fix table errors --- includes/ot-cleanup-api.php | 7 +++++-- readme.txt | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/includes/ot-cleanup-api.php b/includes/ot-cleanup-api.php index 3d05fd7..b4637db 100755 --- a/includes/ot-cleanup-api.php +++ b/includes/ot-cleanup-api.php @@ -63,10 +63,13 @@ function styles() { */ public function maybe_cleanup() { global $wpdb, $table_prefix, $ot_maybe_cleanup_posts, $ot_maybe_cleanup_table; - + + $wpdb->hide_errors(); $posts = $wpdb->get_results( "SELECT * FROM $wpdb->posts WHERE post_type = 'option-tree' LIMIT 2" ); $table = $wpdb->get_results( "SHOW TABLES LIKE '{$table_prefix}option_tree'" ); - + $wpdb->show_errors(); + $wpdb->flush(); + $ot_maybe_cleanup_posts = count( $posts ) > 1; $ot_maybe_cleanup_table = count( $table ) == 1; $page = isset( $_GET['page'] ) ? $_GET['page'] : ''; diff --git a/readme.txt b/readme.txt index cd6931e..ea9c2b4 100755 --- a/readme.txt +++ b/readme.txt @@ -128,6 +128,7 @@ The most likely scenario is your theme already has OptionTree installed in Theme = 2.5.4 = * Hotfix - Fixed an issue where the select field value was not visible. Contributors via github @sabbirk15. +* Hotfix - Fixed and issue where database errors would display due to a deprecated missing table. = 2.5.3 = * Hotfix - Added `inherit` fallback to the `border` option type in dynamic.css. From 051c5f405e4e11db750e5c957a964d733846bee7 Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Mon, 20 Apr 2015 15:31:38 -0700 Subject: [PATCH 06/13] this is better! --- includes/ot-cleanup-api.php | 20 ++++++++------------ includes/ot-functions-admin.php | 5 +++-- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/includes/ot-cleanup-api.php b/includes/ot-cleanup-api.php index b4637db..f8494c1 100755 --- a/includes/ot-cleanup-api.php +++ b/includes/ot-cleanup-api.php @@ -62,18 +62,14 @@ function styles() { * @since 2.4.6 */ public function maybe_cleanup() { - global $wpdb, $table_prefix, $ot_maybe_cleanup_posts, $ot_maybe_cleanup_table; + global $wpdb, $ot_maybe_cleanup_posts, $ot_maybe_cleanup_table; - $wpdb->hide_errors(); - $posts = $wpdb->get_results( "SELECT * FROM $wpdb->posts WHERE post_type = 'option-tree' LIMIT 2" ); - $table = $wpdb->get_results( "SHOW TABLES LIKE '{$table_prefix}option_tree'" ); - $wpdb->show_errors(); - $wpdb->flush(); - - $ot_maybe_cleanup_posts = count( $posts ) > 1; - $ot_maybe_cleanup_table = count( $table ) == 1; + $table_name = $wpdb->prefix . 'option_tree'; $page = isset( $_GET['page'] ) ? $_GET['page'] : ''; + $ot_maybe_cleanup_posts = count( $wpdb->get_results( "SELECT * FROM $wpdb->posts WHERE post_type = 'option-tree' LIMIT 2" ) ) > 1; + $ot_maybe_cleanup_table = in_array( $table_name, $wpdb->tables() ); + if ( ! $ot_maybe_cleanup_posts && ! $ot_maybe_cleanup_table && $page == 'ot-cleanup' ) { wp_redirect( apply_filters( 'ot_theme_options_parent_slug', 'themes.php' ) . '?page=' . apply_filters( 'ot_theme_options_menu_slug', 'ot-theme-options' ) ); exit; @@ -116,7 +112,7 @@ public function cleanup_notice() { * @since 2.4.6 */ public function options_page() { - global $wpdb, $table_prefix, $ot_maybe_cleanup_posts, $ot_maybe_cleanup_table; + global $wpdb, $ot_maybe_cleanup_posts, $ot_maybe_cleanup_table; // Option ID $option_id = 'ot_media_post_ID'; @@ -228,7 +224,7 @@ function ot_script_reload() { if ( $ot_maybe_cleanup_table ) { - $table_name = $table_prefix . 'option_tree'; + $table_name = $wpdb->prefix . 'option_tree'; echo $ot_maybe_cleanup_posts ? '
' : ''; @@ -244,7 +240,7 @@ function ot_script_reload() { $wpdb->query( "DROP TABLE IF EXISTS $table_name" ); - if ( count( $wpdb->get_results( "SHOW TABLES LIKE '{$table_prefix}option_tree'" ) ) == 0 ) { + if ( ! in_array( $table_name, $wpdb->tables() ) ) { echo '

' . sprintf( __( 'The %s table has been successfully deleted. The page will now reload...', 'option-tree' ), '' . $table_name . '' ) . '

'; diff --git a/includes/ot-functions-admin.php b/includes/ot-functions-admin.php index 58c6af5..b012aa6 100755 --- a/includes/ot-functions-admin.php +++ b/includes/ot-functions-admin.php @@ -973,15 +973,16 @@ function ot_create_media_post() { if ( ! function_exists( 'ot_default_settings' ) ) { function ot_default_settings() { - global $wpdb, $table_prefix; + global $wpdb; if ( ! get_option( ot_settings_id() ) ) { $section_count = 0; $settings_count = 0; $settings = array(); + $table_name = $wpdb->prefix . 'option_tree'; - if ( count( $wpdb->get_results( "SHOW TABLES LIKE '{$table_prefix}option_tree'" ) ) == 1 && $old_settings = $wpdb->get_results( "SELECT * FROM {$table_prefix}option_tree ORDER BY item_sort ASC" ) ) { + if ( in_array( $table_name, $wpdb->tables() ) && $old_settings = $wpdb->get_results( "SELECT * FROM $table_name ORDER BY item_sort ASC" ) ) { foreach ( $old_settings as $setting ) { From 4fce6a88ef9ddc6581210e5e8cf22f464d12e114 Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Mon, 20 Apr 2015 18:57:19 -0700 Subject: [PATCH 07/13] Visual Composer fix --- includes/ot-meta-box-api.php | 2 +- readme.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/ot-meta-box-api.php b/includes/ot-meta-box-api.php index 1ed116e..fe19e2d 100755 --- a/includes/ot-meta-box-api.php +++ b/includes/ot-meta-box-api.php @@ -177,7 +177,7 @@ function save_meta_box( $post_id, $post_object ) { global $pagenow; /* don't save if $_POST is empty */ - if ( empty( $_POST ) ) + if ( empty( $_POST ) || ( isset( $_POST['vc_inline'] ) && $_POST['vc_inline'] == true ) ) return $post_id; /* don't save during quick edit */ diff --git a/readme.txt b/readme.txt index ea9c2b4..e578ed9 100755 --- a/readme.txt +++ b/readme.txt @@ -127,6 +127,7 @@ The most likely scenario is your theme already has OptionTree installed in Theme == Changelog == = 2.5.4 = +* Hotfix - Fixed an issue where Visual Composer was indirectly destroying OptionTree meta box values. * Hotfix - Fixed an issue where the select field value was not visible. Contributors via github @sabbirk15. * Hotfix - Fixed and issue where database errors would display due to a deprecated missing table. From bf02d8c530bf6be0abe6344063d864d125281fe7 Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Mon, 20 Apr 2015 20:54:15 -0700 Subject: [PATCH 08/13] remove whitespace --- includes/ot-functions-admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ot-functions-admin.php b/includes/ot-functions-admin.php index b012aa6..71554a9 100755 --- a/includes/ot-functions-admin.php +++ b/includes/ot-functions-admin.php @@ -5707,4 +5707,4 @@ function ot_get_option_type_by_id( $option_id, $settings_id = '' ) { } /* End of file ot-functions-admin.php */ -/* Location: ./includes/ot-functions-admin.php */ +/* Location: ./includes/ot-functions-admin.php */ \ No newline at end of file From 15cc988ad87fb663a32385a7b65cef63eceea0bc Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Mon, 20 Apr 2015 21:31:24 -0700 Subject: [PATCH 09/13] revert table check --- includes/ot-cleanup-api.php | 5 ++--- includes/ot-functions-admin.php | 2 +- readme.txt | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/includes/ot-cleanup-api.php b/includes/ot-cleanup-api.php index f8494c1..479e85b 100755 --- a/includes/ot-cleanup-api.php +++ b/includes/ot-cleanup-api.php @@ -66,9 +66,8 @@ public function maybe_cleanup() { $table_name = $wpdb->prefix . 'option_tree'; $page = isset( $_GET['page'] ) ? $_GET['page'] : ''; - $ot_maybe_cleanup_posts = count( $wpdb->get_results( "SELECT * FROM $wpdb->posts WHERE post_type = 'option-tree' LIMIT 2" ) ) > 1; - $ot_maybe_cleanup_table = in_array( $table_name, $wpdb->tables() ); + $ot_maybe_cleanup_table = $wpdb->get_var( $wpdb->prepare( "SHOW TABLES LIKE %s", $table_name ) ) == $table_name; if ( ! $ot_maybe_cleanup_posts && ! $ot_maybe_cleanup_table && $page == 'ot-cleanup' ) { wp_redirect( apply_filters( 'ot_theme_options_parent_slug', 'themes.php' ) . '?page=' . apply_filters( 'ot_theme_options_menu_slug', 'ot-theme-options' ) ); @@ -240,7 +239,7 @@ function ot_script_reload() { $wpdb->query( "DROP TABLE IF EXISTS $table_name" ); - if ( ! in_array( $table_name, $wpdb->tables() ) ) { + if ( $wpdb->get_var( $wpdb->prepare( "SHOW TABLES LIKE %s", $table_name ) ) != $table_name ) { echo '

' . sprintf( __( 'The %s table has been successfully deleted. The page will now reload...', 'option-tree' ), '' . $table_name . '' ) . '

'; diff --git a/includes/ot-functions-admin.php b/includes/ot-functions-admin.php index 71554a9..61230c6 100755 --- a/includes/ot-functions-admin.php +++ b/includes/ot-functions-admin.php @@ -982,7 +982,7 @@ function ot_default_settings() { $settings = array(); $table_name = $wpdb->prefix . 'option_tree'; - if ( in_array( $table_name, $wpdb->tables() ) && $old_settings = $wpdb->get_results( "SELECT * FROM $table_name ORDER BY item_sort ASC" ) ) { + if ( $wpdb->get_var( $wpdb->prepare( "SHOW TABLES LIKE %s", $table_name ) ) == $table_name && $old_settings = $wpdb->get_results( "SELECT * FROM $table_name ORDER BY item_sort ASC" ) ) { foreach ( $old_settings as $setting ) { diff --git a/readme.txt b/readme.txt index e578ed9..0a9e515 100755 --- a/readme.txt +++ b/readme.txt @@ -129,7 +129,6 @@ The most likely scenario is your theme already has OptionTree installed in Theme = 2.5.4 = * Hotfix - Fixed an issue where Visual Composer was indirectly destroying OptionTree meta box values. * Hotfix - Fixed an issue where the select field value was not visible. Contributors via github @sabbirk15. -* Hotfix - Fixed and issue where database errors would display due to a deprecated missing table. = 2.5.3 = * Hotfix - Added `inherit` fallback to the `border` option type in dynamic.css. From 9bd221a37a2381737eca89d9c63d2744b6dac335 Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Tue, 21 Apr 2015 05:56:41 -0700 Subject: [PATCH 10/13] term splitting --- includes/ot-functions-admin.php | 392 ++++++++++++++++++++++++++++++++ includes/ot-meta-box-api.php | 20 +- readme.txt | 3 +- 3 files changed, 408 insertions(+), 7 deletions(-) diff --git a/includes/ot-functions-admin.php b/includes/ot-functions-admin.php index 61230c6..48dd669 100755 --- a/includes/ot-functions-admin.php +++ b/includes/ot-functions-admin.php @@ -5706,5 +5706,397 @@ function ot_get_option_type_by_id( $option_id, $settings_id = '' ) { } +/** + * Build an array of potential Theme Options that could share terms + * + * @return array + * + * @access private + * @since 2.5.4 + */ +function _ot_settings_potential_shared_terms() { + + $options = array(); + $settings = get_option( ot_settings_id(), array() ); + $option_types = array( + 'category-checkbox', + 'category-select', + 'tag-checkbox', + 'tag-select', + 'taxonomy-checkbox', + 'taxonomy-select' + ); + + if ( isset( $settings['settings'] ) ) { + + foreach( $settings['settings'] as $value ) { + + if ( isset( $value['type'] ) ) { + + if ( $value['type'] == 'list-item' && isset( $value['settings'] ) ) { + + $saved = ot_get_option( $value['id'] ); + + foreach( $value['settings'] as $item ) { + + if ( isset( $value['id'] ) && isset( $item['type'] ) && in_array( $item['type'], $option_types ) ) { + $sub_options = array(); + + foreach( $saved as $sub_key => $sub_value ) { + if ( isset( $sub_value[$item['id']] ) ) { + $sub_options[$sub_key] = $sub_value[$item['id']]; + } + } + + if ( ! empty( $sub_options ) ) { + $options[] = array( + 'id' => $item['id'], + 'parent' => $value['id'], + 'value' => $sub_options + ); + } + } + + } + + } + + if ( in_array( $value['type'], $option_types ) ) { + $saved = ot_get_option( $value['id'] ); + if ( ! empty( $saved ) ) { + $options[] = array( + 'id' => $value['id'], + 'value' => $saved + ); + } + } + + } + + } + + } + + return $options; + +} + +/** + * Build an array of potential Meta Box options that could share terms + * + * @return array + * + * @access private + * @since 2.5.4 + */ +function _ot_meta_box_potential_shared_terms() { + global $ot_meta_boxes; + + $options = array(); + $settings = $ot_meta_boxes; + $option_types = array( + 'category-checkbox', + 'category-select', + 'tag-checkbox', + 'tag-select', + 'taxonomy-checkbox', + 'taxonomy-select' + ); + + foreach( $settings as $setting ) { + + if ( isset( $setting['fields'] ) ) { + + foreach( $setting['fields'] as $value ) { + + if ( isset( $value['type'] ) ) { + + if ( $value['type'] == 'list-item' && isset( $value['settings'] ) ) { + + $children = array(); + + foreach( $value['settings'] as $item ) { + + if ( isset( $value['id'] ) && isset( $item['type'] ) && in_array( $item['type'], $option_types ) ) { + + $children[$value['id']][] = $item['id']; + + } + + } + + if ( ! empty( $children[$value['id']] ) ) { + $options[] = array( + 'id' => $value['id'], + 'children' => $children[$value['id']], + ); + } + + } + + if ( in_array( $value['type'], $option_types ) ) { + + $options[] = array( + 'id' => $value['id'], + ); + + } + + } + + } + + } + + } + + return $options; + +} + +/** + * Update terms when a term gets split. + * + * @param int $term_id ID of the formerly shared term. + * @param int $new_term_id ID of the new term created for the $term_taxonomy_id. + * @param int $term_taxonomy_id ID for the term_taxonomy row affected by the split. + * @param string $taxonomy Taxonomy for the split term. + * @return void + * + * @access public + * @since 2.5.4 + */ +function ot_split_shared_term( $term_id, $new_term_id, $term_taxonomy_id, $taxonomy ) { + + // Process the Theme Options + $settings = _ot_settings_potential_shared_terms(); + $old_options = get_option( ot_options_id(), array() ); + $new_options = $old_options; + + // Process the saved settings + if ( ! empty( $settings ) && ! empty( $old_options ) ) { + + // Loop over the Theme Options + foreach( $settings as $option ) { + + // The option ID was found + if ( array_key_exists( $option['id'], $old_options ) || ( isset( $option['parent'] ) && array_key_exists( $option['parent'], $old_options ) ) ) { + + // This is a list item, we have to go deeper + if ( isset( $option['parent'] ) ) { + + // Loop over the array + foreach( $option['value'] as $key => $value ) { + + // The value is an array of IDs + if ( is_array( $value ) ) { + + // Loop over the sub array + foreach( $value as $sub_key => $sub_value ) { + + if ( $sub_value == $term_id ) { + + unset( $new_options[$option['parent']][$key][$option['id']][$sub_key] ); + $new_options[$option['parent']][$key][$option['id']][$new_term_id] = $new_term_id; + + } + + } + + } else if ( $value == $term_id ) { + + unset( $new_options[$option['parent']][$key][$option['id']] ); + $new_options[$option['parent']][$key][$option['id']] = $new_term_id; + + } + + } + + } else { + + // The value is an array of IDs + if ( is_array( $option['value'] ) ) { + + // Loop over the array + foreach( $option['value'] as $key => $value ) { + + // It's a single value, just replace it + if ( $value == $term_id ) { + + unset( $new_options[$option['id']][$key] ); + $new_options[$option['id']][$new_term_id] = $new_term_id; + + } + + } + + // It's a single value, just replace it + } else if ( $option['value'] == $term_id ) { + + $new_options[$option['id']] = $new_term_id; + + } + + } + + } + + } + + } + + // Options need to be updated + if ( $old_options !== $new_options ) { + update_option( ot_options_id(), $new_options ); + } + + // Process the Meta Boxes + $meta_settings = _ot_meta_box_potential_shared_terms(); + $option_types = array( + 'category-checkbox', + 'category-select', + 'tag-checkbox', + 'tag-select', + 'taxonomy-checkbox', + 'taxonomy-select' + ); + + if ( ! empty( $meta_settings ) ) { + $old_meta = array(); + + foreach( $meta_settings as $option ) { + + if ( isset( $option['children'] ) ) { + $post_ids = get_posts( array( + 'fields' => 'ids', + 'meta_key' => $option['id'], + ) ); + + if ( $post_ids ) { + + foreach( $post_ids as $post_id ) { + + // Get the meta + $old_meta = get_post_meta( $post_id, $option['id'], true ); + $new_meta = $old_meta; + + // Has a saved value + if ( ! empty( $old_meta ) && is_array( $old_meta ) ) { + + // Loop over the array + foreach( $old_meta as $key => $value ) { + + foreach( $value as $sub_key => $sub_value ) { + + if ( in_array( $sub_key, $option['children'] ) ) { + + // The value is an array of IDs + if ( is_array( $sub_value ) ) { + + // Loop over the array + foreach( $sub_value as $sub_sub_key => $sub_sub_value ) { + + // It's a single value, just replace it + if ( $sub_sub_value == $term_id ) { + + unset( $new_meta[$key][$sub_key][$sub_sub_key] ); + $new_meta[$key][$sub_key][$new_term_id] = $new_term_id; + + } + + } + + // It's a single value, just replace it + } else if ( $sub_value == $term_id ) { + + $new_meta[$key][$sub_key] = $new_term_id; + + } + + } + + } + + } + + // Update + if ( $old_meta !== $new_meta ) { + + update_post_meta( $post_id, $option['id'], $new_meta, $old_meta ); + + } + + } + + } + + } + + } else { + $post_ids = get_posts( array( + 'fields' => 'ids', + 'meta_query' => array( + 'key' => $option['id'], + 'value' => $term_id, + 'compare' => 'IN' + ), + ) ); + + if ( $post_ids ) { + + foreach( $post_ids as $post_id ) { + + // Get the meta + $old_meta = get_post_meta( $post_id, $option['id'], true ); + $new_meta = $old_meta; + + // Has a saved value + if ( ! empty( $old_meta ) ) { + + // The value is an array of IDs + if ( is_array( $old_meta ) ) { + + // Loop over the array + foreach( $old_meta as $key => $value ) { + + // It's a single value, just replace it + if ( $value == $term_id ) { + + unset( $new_meta[$key] ); + $new_meta[$new_term_id] = $new_term_id; + + } + + } + + // It's a single value, just replace it + } else if ( $old_meta == $term_id ) { + + $new_meta = $new_term_id; + + } + + // Update + if ( $old_meta !== $new_meta ) { + + update_post_meta( $post_id, $option['id'], $new_meta, $old_meta ); + + } + + } + + } + + } + + } + + } + + } + +} +add_action( 'split_shared_term', 'ot_split_shared_term', 10, 4 ); + /* End of file ot-functions-admin.php */ /* Location: ./includes/ot-functions-admin.php */ \ No newline at end of file diff --git a/includes/ot-meta-box-api.php b/includes/ot-meta-box-api.php index fe19e2d..2dc957f 100755 --- a/includes/ot-meta-box-api.php +++ b/includes/ot-meta-box-api.php @@ -30,13 +30,21 @@ class OT_Meta_Box { function __construct( $meta_box ) { if ( ! is_admin() ) return; - + + global $ot_meta_boxes; + + if ( ! isset( $ot_meta_boxes ) ) { + $ot_meta_boxes = array(); + } + + $ot_meta_boxes[] = $meta_box; + $this->meta_box = $meta_box; - + add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ) ); - + add_action( 'save_post', array( $this, 'save_meta_box' ), 1, 2 ); - + } /** @@ -64,9 +72,9 @@ function add_meta_boxes() { * @since 1.0 */ function build_meta_box( $post, $metabox ) { - + echo '
'; - + /* Use nonce for verification */ echo ''; diff --git a/readme.txt b/readme.txt index 0a9e515..07a4b03 100755 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: valendesigns Donate link: http://bit.ly/NuXI3T Tags: options, theme options, meta boxes Requires at least: 3.8 -Tested up to: 4.2-beta3 +Tested up to: 4.2 Stable tag: 2.5.4 License: GPLv3 @@ -127,6 +127,7 @@ The most likely scenario is your theme already has OptionTree installed in Theme == Changelog == = 2.5.4 = +* Hotfix - Support for WordPress 4.2 term splitting. * Hotfix - Fixed an issue where Visual Composer was indirectly destroying OptionTree meta box values. * Hotfix - Fixed an issue where the select field value was not visible. Contributors via github @sabbirk15. From 69e9286f9b9a355cb4ad841ec6d481004fe89e71 Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Tue, 21 Apr 2015 06:03:30 -0700 Subject: [PATCH 11/13] escape that junk --- includes/ot-functions-admin.php | 16 ++++++++-------- readme.txt | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/includes/ot-functions-admin.php b/includes/ot-functions-admin.php index 48dd669..c3510d0 100755 --- a/includes/ot-functions-admin.php +++ b/includes/ot-functions-admin.php @@ -1276,7 +1276,7 @@ function ot_import() { } /* redirect */ - wp_redirect( add_query_arg( array( 'action' => 'import-xml', 'message' => $message ), $_POST['_wp_http_referer'] ) ); + wp_redirect( esc_url_raw( add_query_arg( array( 'action' => 'import-xml', 'message' => $message ), $_POST['_wp_http_referer'] ) ) ); exit; } @@ -1297,7 +1297,7 @@ function ot_import() { } /* redirect */ - wp_redirect( add_query_arg( array( 'action' => 'import-settings', 'message' => $message ), $_POST['_wp_http_referer'] ) ); + wp_redirect( esc_url_raw( add_query_arg( array( 'action' => 'import-settings', 'message' => $message ), $_POST['_wp_http_referer'] ) ) ); exit; } @@ -1345,7 +1345,7 @@ function ot_import() { } /* redirect accordingly */ - wp_redirect( add_query_arg( array( 'action' => 'import-data', 'message' => $message ), $_POST['_wp_http_referer'] ) ); + wp_redirect( esc_url_raw( add_query_arg( array( 'action' => 'import-data', 'message' => $message ), $_POST['_wp_http_referer'] ) ) ); exit; } @@ -1413,7 +1413,7 @@ function ot_import() { } /* redirect accordingly */ - wp_redirect( add_query_arg( array( 'action' => 'import-layouts', 'message' => $message ), $_POST['_wp_http_referer'] ) ); + wp_redirect( esc_url_raw( add_query_arg( array( 'action' => 'import-layouts', 'message' => $message ), $_POST['_wp_http_referer'] ) ) ); exit; } @@ -2043,7 +2043,7 @@ function ot_save_settings() { } /* redirect */ - wp_redirect( add_query_arg( array( 'action' => 'save-settings', 'message' => $message ), $_POST['_wp_http_referer'] ) ); + wp_redirect( esc_url_raw( add_query_arg( array( 'action' => 'save-settings', 'message' => $message ), $_POST['_wp_http_referer'] ) ) ); exit; } @@ -2268,9 +2268,9 @@ function ot_modify_layouts() { /* redirect */ if ( isset( $_REQUEST['page'] ) && $_REQUEST['page'] == apply_filters( 'ot_theme_options_menu_slug', 'ot-theme-options' ) ) { - $query_args = add_query_arg( array( 'settings-updated' => 'layout' ), remove_query_arg( array( 'action', 'message' ), $_POST['_wp_http_referer'] ) ); + $query_args = esc_url_raw( add_query_arg( array( 'settings-updated' => 'layout' ), remove_query_arg( array( 'action', 'message' ), $_POST['_wp_http_referer'] ) ) ); } else { - $query_args = add_query_arg( array( 'action' => 'save-layouts', 'message' => $message ), $_POST['_wp_http_referer'] ); + $query_args = esc_url_raw( add_query_arg( array( 'action' => 'save-layouts', 'message' => $message ), $_POST['_wp_http_referer'] ) ); } wp_redirect( $query_args ); exit; @@ -5227,7 +5227,7 @@ function ot_fetch_google_fonts( $normalize = true, $force_rebuild = false ) { ); /* Build and make the request */ - $ot_google_fonts_query = add_query_arg( $ot_google_fonts_query_args, $ot_google_fonts_api_url ); + $ot_google_fonts_query = esc_url_raw( add_query_arg( $ot_google_fonts_query_args, $ot_google_fonts_api_url ) ); $ot_google_fonts_response = wp_safe_remote_get( $ot_google_fonts_query, array( 'sslverify' => false, 'timeout' => 15 ) ); /* continue if we got a valid response */ diff --git a/readme.txt b/readme.txt index 07a4b03..648ed46 100755 --- a/readme.txt +++ b/readme.txt @@ -128,6 +128,7 @@ The most likely scenario is your theme already has OptionTree installed in Theme = 2.5.4 = * Hotfix - Support for WordPress 4.2 term splitting. +* Hotfix - Removed any potential XSS security issues with `add_query_arg` by escaping it. * Hotfix - Fixed an issue where Visual Composer was indirectly destroying OptionTree meta box values. * Hotfix - Fixed an issue where the select field value was not visible. Contributors via github @sabbirk15. From a8366e9d1bf02d4d8326ece6a93ea884d2f11c13 Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Tue, 21 Apr 2015 22:07:38 -0700 Subject: [PATCH 12/13] term splitting for the win --- includes/ot-functions-admin.php | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/includes/ot-functions-admin.php b/includes/ot-functions-admin.php index c3510d0..18c6ad2 100755 --- a/includes/ot-functions-admin.php +++ b/includes/ot-functions-admin.php @@ -5750,9 +5750,10 @@ function _ot_settings_potential_shared_terms() { if ( ! empty( $sub_options ) ) { $options[] = array( - 'id' => $item['id'], - 'parent' => $value['id'], - 'value' => $sub_options + 'id' => $item['id'], + 'taxonomy' => $value['taxonomy'], + 'parent' => $value['id'], + 'value' => $sub_options ); } } @@ -5765,8 +5766,9 @@ function _ot_settings_potential_shared_terms() { $saved = ot_get_option( $value['id'] ); if ( ! empty( $saved ) ) { $options[] = array( - 'id' => $value['id'], - 'value' => $saved + 'id' => $value['id'], + 'taxonomy' => $value['taxonomy'], + 'value' => $saved ); } } @@ -5829,6 +5831,7 @@ function _ot_meta_box_potential_shared_terms() { $options[] = array( 'id' => $value['id'], 'children' => $children[$value['id']], + 'taxonomy' => $value['taxonomy'], ); } @@ -5837,7 +5840,8 @@ function _ot_meta_box_potential_shared_terms() { if ( in_array( $value['type'], $option_types ) ) { $options[] = array( - 'id' => $value['id'], + 'id' => $value['id'], + 'taxonomy' => $value['taxonomy'], ); } @@ -5879,6 +5883,14 @@ function ot_split_shared_term( $term_id, $new_term_id, $term_taxonomy_id, $taxon // Loop over the Theme Options foreach( $settings as $option ) { + if ( ! is_array( $option['taxonomy'] ) ) { + $option['taxonomy'] = explode( ',', $option['taxonomy'] ); + } + + if ( ! in_array( $taxonomy, $option['taxonomy'] ) ) { + continue; + } + // The option ID was found if ( array_key_exists( $option['id'], $old_options ) || ( isset( $option['parent'] ) && array_key_exists( $option['parent'], $old_options ) ) ) { @@ -5966,6 +5978,14 @@ function ot_split_shared_term( $term_id, $new_term_id, $term_taxonomy_id, $taxon foreach( $meta_settings as $option ) { + if ( ! is_array( $option['taxonomy'] ) ) { + $option['taxonomy'] = explode( ',', $option['taxonomy'] ); + } + + if ( ! in_array( $taxonomy, $option['taxonomy'] ) ) { + continue; + } + if ( isset( $option['children'] ) ) { $post_ids = get_posts( array( 'fields' => 'ids', From bd37ad758c4a24203a2570097656b6613dfa45b3 Mon Sep 17 00:00:00 2001 From: Derek Herman Date: Tue, 21 Apr 2015 22:12:06 -0700 Subject: [PATCH 13/13] 2.5.4 i18n --- languages/option-tree-et.mo | Bin 82270 -> 82270 bytes languages/option-tree-et.po | 312 ++++++++++++++++++------------------ languages/option-tree.po | 312 ++++++++++++++++++------------------ 3 files changed, 312 insertions(+), 312 deletions(-) diff --git a/languages/option-tree-et.mo b/languages/option-tree-et.mo index cbb37c426086b6e2524003173adb0e4b683b5bc7..3009b21f6e85d372afcc2551cfaabef3a38a055f 100644 GIT binary patch delta 42 qcmccD#CorZb;FU397cu;Mn+bKhLg{1R6uaPY`nv0w)x_w-aY_Xxe(F- delta 42 qcmccD#CorZb;FU390ryOhK5!~W|PlsR6uaPY`nv0y7}U!-aY_ZT@d8} diff --git a/languages/option-tree-et.po b/languages/option-tree-et.po index 494fb65..321acaf 100644 --- a/languages/option-tree-et.po +++ b/languages/option-tree-et.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: OptionTree\n" -"POT-Creation-Date: 2015-04-09 11:26-0800\n" -"PO-Revision-Date: 2015-04-09 11:26-0800\n" +"POT-Creation-Date: 2015-04-21 22:11-0800\n" +"PO-Revision-Date: 2015-04-21 22:11-0800\n" "Last-Translator: Derek Herman \n" "Language-Team: Valen Designs\n" "Language: et_EE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.7.5\n" +"X-Generator: Poedit 1.7.6\n" "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;" "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" @@ -20,12 +20,12 @@ msgstr "" "X-Poedit-SearchPathExcluded-1: ../composer.json\n" "X-Poedit-SearchPathExcluded-2: ../assets\n" -#: ../includes/ot-cleanup-api.php:86 ../includes/ot-cleanup-api.php:103 -#: ../includes/ot-cleanup-api.php:132 +#: ../includes/ot-cleanup-api.php:84 ../includes/ot-cleanup-api.php:101 +#: ../includes/ot-cleanup-api.php:130 msgid "OptionTree Cleanup" msgstr "OptionTree puhastus" -#: ../includes/ot-cleanup-api.php:103 +#: ../includes/ot-cleanup-api.php:101 #, php-format msgid "" "OptionTree has outdated data that should be removed. Please go to %s for " @@ -34,11 +34,11 @@ msgstr "" "OptionTreel on aegunud andmeid, mis tuleks eemaldada. Lisainformatsiooni " "saamiseks mine palun %s." -#: ../includes/ot-cleanup-api.php:138 +#: ../includes/ot-cleanup-api.php:136 msgid "Multiple Media Posts" msgstr "Mitme meediaga postitused" -#: ../includes/ot-cleanup-api.php:140 +#: ../includes/ot-cleanup-api.php:138 #, php-format msgid "" "There are currently %s OptionTree media posts in your database. At some " @@ -54,7 +54,7 @@ msgstr "" "maht on suurem. Õnneks on nende orbudeks jäänud postituste eemaldamiseks " "moodus olemas, nii et saab andmebaasi jälle puhtaks." -#: ../includes/ot-cleanup-api.php:142 +#: ../includes/ot-cleanup-api.php:140 #, php-format msgid "" "By clicking the button below, OptionTree will delete %s records and " @@ -66,7 +66,7 @@ msgstr "" "ainsasse OptionTree meedia postitusse, kuhu manuseid üles laaditakse. Lisaks " "määratakse nende manuste vanema ID-le õige väärtus." -#: ../includes/ot-cleanup-api.php:144 +#: ../includes/ot-cleanup-api.php:142 msgid "" "This could take a while to fully process depending on how many records you " "have in your database, so please be patient and wait for the script to " @@ -75,7 +75,7 @@ msgstr "" "See protsess võtab aega sõltuvalt andmebaasis olevate kirjete arvust, seega " "palun olge kannatlikud ja laske skriptil oma töö lõpetada." -#: ../includes/ot-cleanup-api.php:146 +#: ../includes/ot-cleanup-api.php:144 #, php-format msgid "" "%s Your server is running in safe mode. Which means this page will " @@ -87,23 +87,23 @@ msgstr "" "postituse töötlemisega probleeme, siis on seda numbrit võimalik %s filtriga " "muuta." -#: ../includes/ot-cleanup-api.php:148 +#: ../includes/ot-cleanup-api.php:146 msgid "Consolidate Posts" msgstr "Konsolideeri postitused" -#: ../includes/ot-cleanup-api.php:176 +#: ../includes/ot-cleanup-api.php:174 msgid "Reloading..." msgstr "Värskendame..." -#: ../includes/ot-cleanup-api.php:212 +#: ../includes/ot-cleanup-api.php:210 msgid "Clean up script has completed, the page will now reload..." msgstr "Puhastusskript on töö lõpetanud, leht laeb end kohe uuesti..." -#: ../includes/ot-cleanup-api.php:232 +#: ../includes/ot-cleanup-api.php:230 msgid "Outdated Table" msgstr "Aegunud tabel" -#: ../includes/ot-cleanup-api.php:234 +#: ../includes/ot-cleanup-api.php:232 #, php-format msgid "" "If you have upgraded from an old 1.x version of OptionTree at some point, " @@ -115,21 +115,21 @@ msgstr "" "andmebaasis üleliigne tabel %s, mille saaks eemaldada. See ei tee midagi " "halba ning ei pea seal olema. Eemaldamiseks vajuta allolevat nuppu." -#: ../includes/ot-cleanup-api.php:236 +#: ../includes/ot-cleanup-api.php:234 msgid "Drop Table" msgstr "Eemalda tabel" -#: ../includes/ot-cleanup-api.php:240 +#: ../includes/ot-cleanup-api.php:238 #, php-format msgid "Deleting the outdated and unused %s table..." msgstr "Kustutan aegunud ja kasutamata tabeli %s..." -#: ../includes/ot-cleanup-api.php:246 +#: ../includes/ot-cleanup-api.php:244 #, php-format msgid "The %s table has been successfully deleted. The page will now reload..." msgstr "Tabel %s kustutatu edukalt. Leht laetakse kohe uuesti..." -#: ../includes/ot-cleanup-api.php:258 +#: ../includes/ot-cleanup-api.php:256 #, php-format msgid "Something went wrong. The %s table was not deleted." msgstr "Midagi läks valesti. Tabelit %s ei kustutatud." @@ -360,8 +360,8 @@ msgid "Featured Image" msgstr "Tunuuspilt" #: ../includes/ot-functions-admin.php:861 -#: ../includes/ot-functions-admin.php:3249 -#: ../includes/ot-functions-admin.php:3310 +#: ../includes/ot-functions-admin.php:3250 +#: ../includes/ot-functions-admin.php:3311 msgid "Image" msgstr "Pilt" @@ -369,343 +369,343 @@ msgstr "Pilt" msgid "Option Tree" msgstr "Option Tree" -#: ../includes/ot-functions-admin.php:1066 +#: ../includes/ot-functions-admin.php:1067 msgid "General" msgstr "Üldseaded" -#: ../includes/ot-functions-admin.php:1072 +#: ../includes/ot-functions-admin.php:1073 msgid "Sample Text Field Label" msgstr "Tekstisisendi nimetuse näide" -#: ../includes/ot-functions-admin.php:1073 +#: ../includes/ot-functions-admin.php:1074 msgid "Description for the sample text field." msgstr "Tekstisisendi kirjelduse näide" -#: ../includes/ot-functions-admin.php:2315 +#: ../includes/ot-functions-admin.php:2316 msgid "Settings updated." msgstr "Seaded on uuendatud." -#: ../includes/ot-functions-admin.php:2319 +#: ../includes/ot-functions-admin.php:2320 msgid "Settings could not be saved." msgstr "Seadeid ei suudetud uuendada." -#: ../includes/ot-functions-admin.php:2327 +#: ../includes/ot-functions-admin.php:2328 msgid "Settings Imported." msgstr "Seaded on imporditud." -#: ../includes/ot-functions-admin.php:2331 +#: ../includes/ot-functions-admin.php:2332 msgid "Settings could not be imported." msgstr "Seadeid ei suudetud importida." -#: ../includes/ot-functions-admin.php:2338 +#: ../includes/ot-functions-admin.php:2339 msgid "Data Imported." msgstr "Andmed on imporditud." -#: ../includes/ot-functions-admin.php:2342 +#: ../includes/ot-functions-admin.php:2343 msgid "Data could not be imported." msgstr "Andmeid ei suudetud importida." -#: ../includes/ot-functions-admin.php:2350 +#: ../includes/ot-functions-admin.php:2351 msgid "Layouts Imported." msgstr "Paigutused on imporditud." -#: ../includes/ot-functions-admin.php:2354 +#: ../includes/ot-functions-admin.php:2355 msgid "Layouts could not be imported." msgstr "Paigutusi ei suudetud importida." -#: ../includes/ot-functions-admin.php:2362 +#: ../includes/ot-functions-admin.php:2363 msgid "Layouts Updated." msgstr "Paigutused on uuendatud." -#: ../includes/ot-functions-admin.php:2366 +#: ../includes/ot-functions-admin.php:2367 msgid "Layouts could not be updated." msgstr "Paigutusi ei suudetud uuendada." -#: ../includes/ot-functions-admin.php:2370 +#: ../includes/ot-functions-admin.php:2371 msgid "Layouts have been deleted." msgstr "Paigutused on kustutatud." -#: ../includes/ot-functions-admin.php:2376 +#: ../includes/ot-functions-admin.php:2377 msgid "Layout activated." msgstr "Paigutus on aktiveeritud." -#: ../includes/ot-functions-admin.php:2415 +#: ../includes/ot-functions-admin.php:2416 #: ../includes/ot-functions-docs-page.php:110 msgid "Background" msgstr "Taust" -#: ../includes/ot-functions-admin.php:2416 +#: ../includes/ot-functions-admin.php:2417 #: ../includes/ot-functions-docs-page.php:113 msgid "Border" msgstr "Ääris" -#: ../includes/ot-functions-admin.php:2417 +#: ../includes/ot-functions-admin.php:2418 #: ../includes/ot-functions-docs-page.php:116 msgid "Box Shadow" msgstr "Kasti vari" -#: ../includes/ot-functions-admin.php:2418 +#: ../includes/ot-functions-admin.php:2419 #: ../includes/ot-functions-docs-page.php:119 msgid "Category Checkbox" msgstr "Kategooriate valikkastid" -#: ../includes/ot-functions-admin.php:2419 +#: ../includes/ot-functions-admin.php:2420 #: ../includes/ot-functions-docs-page.php:122 msgid "Category Select" msgstr "Kategooria rippvalik" -#: ../includes/ot-functions-admin.php:2420 +#: ../includes/ot-functions-admin.php:2421 #: ../includes/ot-functions-docs-page.php:125 msgid "Checkbox" msgstr "Valikkastid" -#: ../includes/ot-functions-admin.php:2421 +#: ../includes/ot-functions-admin.php:2422 #: ../includes/ot-functions-docs-page.php:128 msgid "Colorpicker" msgstr "Värvivalik" -#: ../includes/ot-functions-admin.php:2422 +#: ../includes/ot-functions-admin.php:2423 #: ../includes/ot-functions-docs-page.php:131 msgid "Colorpicker Opacity" msgstr "Värvivalija läbipaistmatus" -#: ../includes/ot-functions-admin.php:2423 +#: ../includes/ot-functions-admin.php:2424 #: ../includes/ot-functions-docs-page.php:134 msgid "CSS" msgstr "CSS" -#: ../includes/ot-functions-admin.php:2424 +#: ../includes/ot-functions-admin.php:2425 #: ../includes/ot-functions-docs-page.php:153 msgid "Custom Post Type Checkbox" msgstr "Enda loodud postitüübi valikkastid" -#: ../includes/ot-functions-admin.php:2425 +#: ../includes/ot-functions-admin.php:2426 #: ../includes/ot-functions-docs-page.php:156 msgid "Custom Post Type Select" msgstr "Enda loodud postitüübi rippvalik" -#: ../includes/ot-functions-admin.php:2426 +#: ../includes/ot-functions-admin.php:2427 #: ../includes/ot-functions-docs-page.php:159 msgid "Date Picker" msgstr "Kuupäev valija" -#: ../includes/ot-functions-admin.php:2427 +#: ../includes/ot-functions-admin.php:2428 #: ../includes/ot-functions-docs-page.php:162 msgid "Date Time Picker" msgstr "Kuupäeva ja kellaaja valija" -#: ../includes/ot-functions-admin.php:2428 +#: ../includes/ot-functions-admin.php:2429 #: ../includes/ot-functions-docs-page.php:165 msgid "Dimension" msgstr "Mõõtmed" -#: ../includes/ot-functions-admin.php:2429 -#: ../includes/ot-functions-admin.php:5463 +#: ../includes/ot-functions-admin.php:2430 +#: ../includes/ot-functions-admin.php:5464 #: ../includes/ot-functions-docs-page.php:168 msgid "Gallery" msgstr "Galerii" -#: ../includes/ot-functions-admin.php:2430 +#: ../includes/ot-functions-admin.php:2431 #: ../includes/ot-functions-docs-page.php:171 msgid "Google Fonts" msgstr "Google Fondid" -#: ../includes/ot-functions-admin.php:2431 +#: ../includes/ot-functions-admin.php:2432 #: ../includes/ot-functions-docs-page.php:174 msgid "JavaScript" msgstr "JavaScript" -#: ../includes/ot-functions-admin.php:2432 +#: ../includes/ot-functions-admin.php:2433 #: ../includes/ot-functions-docs-page.php:177 msgid "Link Color" msgstr "Lingi värv" -#: ../includes/ot-functions-admin.php:2433 +#: ../includes/ot-functions-admin.php:2434 #: ../includes/ot-functions-docs-page.php:180 msgid "List Item" msgstr "Nimekirja element" -#: ../includes/ot-functions-admin.php:2434 +#: ../includes/ot-functions-admin.php:2435 #: ../includes/ot-functions-docs-page.php:183 msgid "Measurement" msgstr "Mõõt" -#: ../includes/ot-functions-admin.php:2435 +#: ../includes/ot-functions-admin.php:2436 #: ../includes/ot-functions-docs-page.php:214 msgid "Numeric Slider" msgstr "Numbriskaala" -#: ../includes/ot-functions-admin.php:2436 +#: ../includes/ot-functions-admin.php:2437 #: ../includes/ot-functions-docs-page.php:217 msgid "On/Off" msgstr "Sees/väljas" -#: ../includes/ot-functions-admin.php:2437 +#: ../includes/ot-functions-admin.php:2438 #: ../includes/ot-functions-docs-page.php:220 msgid "Page Checkbox" msgstr "Lehekülgede valikkastid" -#: ../includes/ot-functions-admin.php:2438 +#: ../includes/ot-functions-admin.php:2439 #: ../includes/ot-functions-docs-page.php:223 msgid "Page Select" msgstr "Lehekülje rippvalik" -#: ../includes/ot-functions-admin.php:2439 +#: ../includes/ot-functions-admin.php:2440 #: ../includes/ot-functions-docs-page.php:226 msgid "Post Checkbox" msgstr "Postituste valikkastid" -#: ../includes/ot-functions-admin.php:2440 +#: ../includes/ot-functions-admin.php:2441 #: ../includes/ot-functions-docs-page.php:229 msgid "Post Select" msgstr "Postituse rippvalik" -#: ../includes/ot-functions-admin.php:2441 +#: ../includes/ot-functions-admin.php:2442 #: ../includes/ot-functions-docs-page.php:232 msgid "Radio" msgstr "Raadiokastid" -#: ../includes/ot-functions-admin.php:2442 +#: ../includes/ot-functions-admin.php:2443 #: ../includes/ot-functions-docs-page.php:235 msgid "Radio Image" msgstr "Pildiga raadiokastid" -#: ../includes/ot-functions-admin.php:2443 +#: ../includes/ot-functions-admin.php:2444 #: ../includes/ot-functions-docs-page.php:262 msgid "Select" msgstr "Rippvalik" -#: ../includes/ot-functions-admin.php:2444 +#: ../includes/ot-functions-admin.php:2445 #: ../includes/ot-functions-docs-page.php:265 msgid "Sidebar Select" msgstr "Küljeriba rippvalik" -#: ../includes/ot-functions-admin.php:2445 +#: ../includes/ot-functions-admin.php:2446 #: ../includes/ot-functions-docs-page.php:269 msgid "Slider" msgstr "Slaidiesitaja" -#: ../includes/ot-functions-admin.php:2446 +#: ../includes/ot-functions-admin.php:2447 #: ../includes/ot-functions-docs-page.php:272 msgid "Social Links" msgstr "Sotsiaalmeedia" -#: ../includes/ot-functions-admin.php:2447 +#: ../includes/ot-functions-admin.php:2448 #: ../includes/ot-functions-docs-page.php:275 msgid "Spacing" msgstr "Vahed" -#: ../includes/ot-functions-admin.php:2448 +#: ../includes/ot-functions-admin.php:2449 #: ../includes/ot-functions-docs-page.php:278 msgid "Tab" msgstr "Sakk" -#: ../includes/ot-functions-admin.php:2449 +#: ../includes/ot-functions-admin.php:2450 #: ../includes/ot-functions-docs-page.php:281 msgid "Tag Checkbox" msgstr "Sildi valikkastid" -#: ../includes/ot-functions-admin.php:2450 +#: ../includes/ot-functions-admin.php:2451 #: ../includes/ot-functions-docs-page.php:284 msgid "Tag Select" msgstr "Sildi rippvalik" -#: ../includes/ot-functions-admin.php:2451 +#: ../includes/ot-functions-admin.php:2452 #: ../includes/ot-functions-docs-page.php:287 msgid "Taxonomy Checkbox" msgstr "Taksonoomia valikkastid" -#: ../includes/ot-functions-admin.php:2452 +#: ../includes/ot-functions-admin.php:2453 #: ../includes/ot-functions-docs-page.php:290 msgid "Taxonomy Select" msgstr "Taksonoomia rippvalik" -#: ../includes/ot-functions-admin.php:2453 +#: ../includes/ot-functions-admin.php:2454 #: ../includes/ot-functions-docs-page.php:293 msgid "Text" msgstr "Tekstisisend" -#: ../includes/ot-functions-admin.php:2454 +#: ../includes/ot-functions-admin.php:2455 #: ../includes/ot-functions-docs-page.php:296 msgid "Textarea" msgstr "Tekstiväli" -#: ../includes/ot-functions-admin.php:2455 +#: ../includes/ot-functions-admin.php:2456 #: ../includes/ot-functions-docs-page.php:355 msgid "Textarea Simple" msgstr "Lihtne tekstiväli" -#: ../includes/ot-functions-admin.php:2456 +#: ../includes/ot-functions-admin.php:2457 #: ../includes/ot-functions-docs-page.php:371 msgid "Textblock" msgstr "Tekstiblokk" -#: ../includes/ot-functions-admin.php:2457 +#: ../includes/ot-functions-admin.php:2458 #: ../includes/ot-functions-docs-page.php:374 msgid "Textblock Titled" msgstr "Pealkirjaga tekstiblokk" -#: ../includes/ot-functions-admin.php:2458 +#: ../includes/ot-functions-admin.php:2459 #: ../includes/ot-functions-docs-page.php:377 msgid "Typography" msgstr "Tüpograafia" -#: ../includes/ot-functions-admin.php:2459 +#: ../includes/ot-functions-admin.php:2460 #: ../includes/ot-functions-docs-page.php:397 msgid "Upload" msgstr "Lae üles" -#: ../includes/ot-functions-admin.php:3194 +#: ../includes/ot-functions-admin.php:3195 msgid "Left Sidebar" msgstr "Vasak küljendusmenüü" -#: ../includes/ot-functions-admin.php:3199 +#: ../includes/ot-functions-admin.php:3200 msgid "Right Sidebar" msgstr "Parem küljendusmenüü" -#: ../includes/ot-functions-admin.php:3204 +#: ../includes/ot-functions-admin.php:3205 msgid "Full Width (no sidebar)" msgstr "Täies pikkuses (ilma küljendusmenüüta)" -#: ../includes/ot-functions-admin.php:3209 +#: ../includes/ot-functions-admin.php:3210 msgid "Dual Sidebar" msgstr "Topelt küljendusmenüü" -#: ../includes/ot-functions-admin.php:3214 +#: ../includes/ot-functions-admin.php:3215 msgid "Left Dual Sidebar" msgstr "Kaks küljendusmenüüd vasakul" -#: ../includes/ot-functions-admin.php:3219 +#: ../includes/ot-functions-admin.php:3220 msgid "Right Dual Sidebar" msgstr "Kaks küljendusmenüüd paremal" -#: ../includes/ot-functions-admin.php:3260 -#: ../includes/ot-functions-admin.php:3316 -#: ../includes/ot-functions-admin.php:5503 +#: ../includes/ot-functions-admin.php:3261 +#: ../includes/ot-functions-admin.php:3317 +#: ../includes/ot-functions-admin.php:5504 msgid "Link" msgstr "Viide" -#: ../includes/ot-functions-admin.php:3271 -#: ../includes/ot-functions-admin.php:3322 +#: ../includes/ot-functions-admin.php:3272 +#: ../includes/ot-functions-admin.php:3323 #: ../includes/ot-functions-docs-page.php:43 #: ../includes/ot-functions-docs-page.php:428 #: ../includes/ot-functions-docs-page.php:478 msgid "Description" msgstr "Kirjeldus" -#: ../includes/ot-functions-admin.php:3386 +#: ../includes/ot-functions-admin.php:3387 msgid "Name" msgstr "Nimetus" -#: ../includes/ot-functions-admin.php:3387 +#: ../includes/ot-functions-admin.php:3388 msgid "Enter the name of the social website." msgstr "Sisesta sotsiaalmeedia veebilehe nimi." -#: ../includes/ot-functions-admin.php:3395 +#: ../includes/ot-functions-admin.php:3396 msgid "Enter the text shown in the title attribute of the link." msgstr "Sisesta tekst, mida näidatakse lingi pealkirja atribuudis." -#: ../includes/ot-functions-admin.php:3401 +#: ../includes/ot-functions-admin.php:3402 #, php-format msgid "" "Enter a link to the profile or page on the social website. Remember to add " @@ -714,47 +714,47 @@ msgstr "" "Sisesta link profiilile või lehele sellel sotsiaalmeedia veebilehel. Ära " "unusta lisada lingi ette %s osa." -#: ../includes/ot-functions-admin.php:3753 +#: ../includes/ot-functions-admin.php:3754 #, php-format msgid "Unable to write to file %s." msgstr "" -#: ../includes/ot-functions-admin.php:4023 +#: ../includes/ot-functions-admin.php:4024 msgid "edit" msgstr "muuda" -#: ../includes/ot-functions-admin.php:4024 -#: ../includes/ot-functions-admin.php:4092 +#: ../includes/ot-functions-admin.php:4025 #: ../includes/ot-functions-admin.php:4093 -#: ../includes/ot-functions-admin.php:4255 +#: ../includes/ot-functions-admin.php:4094 #: ../includes/ot-functions-admin.php:4256 -#: ../includes/ot-functions-admin.php:4321 +#: ../includes/ot-functions-admin.php:4257 #: ../includes/ot-functions-admin.php:4322 -#: ../includes/ot-functions-admin.php:4449 +#: ../includes/ot-functions-admin.php:4323 #: ../includes/ot-functions-admin.php:4450 -#: ../includes/ot-functions-admin.php:4602 +#: ../includes/ot-functions-admin.php:4451 #: ../includes/ot-functions-admin.php:4603 +#: ../includes/ot-functions-admin.php:4604 msgid "Edit" msgstr "Muuda" -#: ../includes/ot-functions-admin.php:4026 #: ../includes/ot-functions-admin.php:4027 -#: ../includes/ot-functions-admin.php:4095 +#: ../includes/ot-functions-admin.php:4028 #: ../includes/ot-functions-admin.php:4096 -#: ../includes/ot-functions-admin.php:4258 +#: ../includes/ot-functions-admin.php:4097 #: ../includes/ot-functions-admin.php:4259 -#: ../includes/ot-functions-admin.php:4324 +#: ../includes/ot-functions-admin.php:4260 #: ../includes/ot-functions-admin.php:4325 -#: ../includes/ot-functions-admin.php:4383 +#: ../includes/ot-functions-admin.php:4326 #: ../includes/ot-functions-admin.php:4384 -#: ../includes/ot-functions-admin.php:4452 +#: ../includes/ot-functions-admin.php:4385 #: ../includes/ot-functions-admin.php:4453 -#: ../includes/ot-functions-admin.php:4605 +#: ../includes/ot-functions-admin.php:4454 #: ../includes/ot-functions-admin.php:4606 +#: ../includes/ot-functions-admin.php:4607 msgid "Delete" msgstr "Kustuta" -#: ../includes/ot-functions-admin.php:4033 +#: ../includes/ot-functions-admin.php:4034 msgid "" "Section Title: Displayed as a menu item on the Theme " "Options page." @@ -762,7 +762,7 @@ msgstr "" "Sektsiooni pealkiri: Näidatakse menüü elemendina teema " "valikute lehel." -#: ../includes/ot-functions-admin.php:4041 +#: ../includes/ot-functions-admin.php:4042 msgid "" "Section ID: A unique lower case alphanumeric string, " "underscores allowed." @@ -770,7 +770,7 @@ msgstr "" "Sektsiooni ID: unikaalne väiketähtedega tähtnumbriline " "string, alakriipsud lubatud." -#: ../includes/ot-functions-admin.php:4102 +#: ../includes/ot-functions-admin.php:4103 msgid "" "Label: Displayed as the label of a form element on the " "Theme Options page." @@ -778,8 +778,8 @@ msgstr "" "Nimetus: Näidatakse kui vormi elemendi nimetust teema " "valikute lehel." -#: ../includes/ot-functions-admin.php:4110 -#: ../includes/ot-functions-admin.php:4339 +#: ../includes/ot-functions-admin.php:4111 +#: ../includes/ot-functions-admin.php:4340 msgid "" "ID: A unique lower case alphanumeric string, underscores " "allowed." @@ -787,14 +787,14 @@ msgstr "" "ID: unikaalne väiketähtedega tähtnumbriline string, " "alakriipsud lubatud." -#: ../includes/ot-functions-admin.php:4118 +#: ../includes/ot-functions-admin.php:4119 msgid "" "Type: Choose one of the available option types from the " "dropdown." msgstr "" "Tüüp: vali rippmenüüst üks pakutavatest valiku tüüpidest." -#: ../includes/ot-functions-admin.php:4129 +#: ../includes/ot-functions-admin.php:4130 msgid "" "Description: Enter a detailed description for the users to " "read on the Theme Options page, HTML is allowed. This is also where you " @@ -804,7 +804,7 @@ msgstr "" "saavad lugeda teema valikute lehel. HTML on lubatud. See on ühtlasi ka koht, " "kuhu sisestada tekstibloki ja pealkirjaga tekstibloki valikutüüpide sisu." -#: ../includes/ot-functions-admin.php:4137 +#: ../includes/ot-functions-admin.php:4138 msgid "" "Choices: This will only affect the following option types: " "Checkbox, Radio, Select & Select Image." @@ -812,21 +812,21 @@ msgstr "" "Valikud: mõjutab vaid järgnevaid valikutüüpe: valikkastid, " "raadiokastid, rippvalik ja pildi valik." -#: ../includes/ot-functions-admin.php:4142 +#: ../includes/ot-functions-admin.php:4143 msgid "Add Choice" msgstr "Lisa valik" -#: ../includes/ot-functions-admin.php:4148 +#: ../includes/ot-functions-admin.php:4149 msgid "" "Settings: This will only affect the List Item option type." msgstr "Sätted: mõjutab vaid nimekirja elemendi valikutüüpi." -#: ../includes/ot-functions-admin.php:4153 +#: ../includes/ot-functions-admin.php:4154 #: ../includes/ot-functions-settings-page.php:93 msgid "Add Setting" msgstr "Lisa säte" -#: ../includes/ot-functions-admin.php:4159 +#: ../includes/ot-functions-admin.php:4160 msgid "" "Standard: Setting the standard value for your option only " "works for some option types. Read the OptionTree->Documentation " @@ -836,7 +836,7 @@ msgstr "" "valikutüübile. Lisainfot leiad OptionTree->Dokumentatsioon " "lehelt." -#: ../includes/ot-functions-admin.php:4167 +#: ../includes/ot-functions-admin.php:4168 msgid "" "Rows: Enter a numeric value for the number of rows in your " "textarea. This will only affect the following option types: CSS, Textarea, & " @@ -846,7 +846,7 @@ msgstr "" "tekstiväljal. Mõjutab vaid järgnevaid valikutüüpe: CSS, tekstiväli ja lihtne " "tekstiväli." -#: ../includes/ot-functions-admin.php:4175 +#: ../includes/ot-functions-admin.php:4176 msgid "" "Post Type: Add a comma separated list of post type like " "'post,page'. This will only affect the following option types: Custom Post " @@ -857,7 +857,7 @@ msgstr "" "valikutüüpe: enda loodud postitüübi valikkastid ja enda loodud postitüübi " "rippvalik." -#: ../includes/ot-functions-admin.php:4183 +#: ../includes/ot-functions-admin.php:4184 msgid "" "Taxonomy: Add a comma separated list of any registered " "taxonomy like 'category,post_tag'. This will only affect the following " @@ -867,7 +867,7 @@ msgstr "" "taksonoomiatest nagu 'category,post_tag'. See mõjutab vaid järgnevaid " "valikutüüpe: taksonoomia valikukastid & taksonoomia rippvalik." -#: ../includes/ot-functions-admin.php:4191 +#: ../includes/ot-functions-admin.php:4192 msgid "" "Min, Max, & Step: Add a comma separated list of options in " "the following format 0,100,1 (slide from 0-100 in " @@ -880,12 +880,12 @@ msgstr "" "code> intervalliga 1 ). Need kolm väärtust näitavad miinimumi, " "maksimumi ja astme valikuid ning mõjutavad vaid numbriliuguri valikutüüpi." -#: ../includes/ot-functions-admin.php:4199 +#: ../includes/ot-functions-admin.php:4200 msgid "CSS Class: Add and optional class to this option type." msgstr "" "CSS klass: Soovi korral lisa sellele valikutüübile klass." -#: ../includes/ot-functions-admin.php:4207 +#: ../includes/ot-functions-admin.php:4208 #, php-format msgid "" "Condition: Add a comma separated list (no spaces) of " @@ -898,7 +898,7 @@ msgstr "" "tühjaks. Nendes näidetes on value kohahoidja teie tingimustele, " "mis võivad olla kujul %s." -#: ../includes/ot-functions-admin.php:4215 +#: ../includes/ot-functions-admin.php:4216 msgid "" "Operator: Choose the logical operator to compute the result " "of the conditions." @@ -906,30 +906,30 @@ msgstr "" "Operaator: vali loogiline operaator, millega arvutada välja " "tingimuste tulemus." -#: ../includes/ot-functions-admin.php:4218 +#: ../includes/ot-functions-admin.php:4219 #: ../includes/ot-functions-docs-page.php:111 #: ../includes/ot-functions-docs-page.php:378 msgid "and" msgstr "ja" -#: ../includes/ot-functions-admin.php:4219 +#: ../includes/ot-functions-admin.php:4220 msgid "or" msgstr "või" -#: ../includes/ot-functions-admin.php:4265 +#: ../includes/ot-functions-admin.php:4266 #: ../includes/ot-functions-docs-page.php:29 msgid "Label" msgstr "Nimetus" -#: ../includes/ot-functions-admin.php:4275 +#: ../includes/ot-functions-admin.php:4276 msgid "Value" msgstr "Väärtus" -#: ../includes/ot-functions-admin.php:4285 +#: ../includes/ot-functions-admin.php:4286 msgid "Image Source (Radio Image only)" msgstr "Pildi allikas ( ainult pildiga raadiovaliku jaoks )" -#: ../includes/ot-functions-admin.php:4331 +#: ../includes/ot-functions-admin.php:4332 msgid "" "Title: Displayed as a contextual help menu item on the " "Theme Options page." @@ -937,7 +937,7 @@ msgstr "" "Pealkiri: kuvatakse kui kontekstipõhine abimenüü element " "teema valikute lehel." -#: ../includes/ot-functions-admin.php:4347 +#: ../includes/ot-functions-admin.php:4348 msgid "" "Content: Enter the HTML content about this contextual help " "item displayed on the Theme Option page for end users to read." @@ -945,57 +945,57 @@ msgstr "" "Sisu: sisesta HTML sisu selle kontekstipõhise elemendi " "kohta. Näidatakse teema valikute lehel lõppkasutajatele." -#: ../includes/ot-functions-admin.php:4378 +#: ../includes/ot-functions-admin.php:4379 msgid "Layout" msgstr "Paigutus" -#: ../includes/ot-functions-admin.php:4380 #: ../includes/ot-functions-admin.php:4381 +#: ../includes/ot-functions-admin.php:4382 msgid "Activate" msgstr "Aktiveeri" -#: ../includes/ot-functions-admin.php:4417 ../includes/ot-meta-box-api.php:223 +#: ../includes/ot-functions-admin.php:4418 ../includes/ot-meta-box-api.php:231 #: ../includes/ot-settings-api.php:610 msgid "Title" msgstr "Pealkiri" -#: ../includes/ot-functions-admin.php:4757 +#: ../includes/ot-functions-admin.php:4758 msgid "New Layout" msgstr "Uus paigutus" -#: ../includes/ot-functions-admin.php:5512 +#: ../includes/ot-functions-admin.php:5513 msgid "Link URL" msgstr "Viide" -#: ../includes/ot-functions-admin.php:5519 +#: ../includes/ot-functions-admin.php:5520 msgid "Link Title" msgstr "Lingi pealkiri" -#: ../includes/ot-functions-admin.php:5549 +#: ../includes/ot-functions-admin.php:5550 msgid "Quote" msgstr "Tsitaat" -#: ../includes/ot-functions-admin.php:5558 +#: ../includes/ot-functions-admin.php:5559 msgid "Source Name (ex. author, singer, actor)" msgstr "Allika nimi (nt autor, laulja, näitleja)" -#: ../includes/ot-functions-admin.php:5565 +#: ../includes/ot-functions-admin.php:5566 msgid "Source URL" msgstr "Allika URL" -#: ../includes/ot-functions-admin.php:5572 +#: ../includes/ot-functions-admin.php:5573 msgid "Source Title (ex. book, song, movie)" msgstr "Allika pealkiri (nt raamat, laul, film)" -#: ../includes/ot-functions-admin.php:5579 +#: ../includes/ot-functions-admin.php:5580 msgid "Source Date" msgstr "Allika kuupäev" -#: ../includes/ot-functions-admin.php:5609 +#: ../includes/ot-functions-admin.php:5610 msgid "Video" msgstr "Video" -#: ../includes/ot-functions-admin.php:5618 +#: ../includes/ot-functions-admin.php:5619 #, php-format msgid "" "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list " @@ -1006,16 +1006,16 @@ msgstr "" "Nimekirja toetatud oEmbed veebilehtedest leiad %1$s. Teine variant oleks " "kasutada sisse ehitatud lühikoodi %2$s." -#: ../includes/ot-functions-admin.php:5618 -#: ../includes/ot-functions-admin.php:5657 +#: ../includes/ot-functions-admin.php:5619 +#: ../includes/ot-functions-admin.php:5658 msgid "Wordpress Codex" msgstr "Wordpress Codex" -#: ../includes/ot-functions-admin.php:5648 +#: ../includes/ot-functions-admin.php:5649 msgid "Audio" msgstr "Audio" -#: ../includes/ot-functions-admin.php:5657 +#: ../includes/ot-functions-admin.php:5658 #, php-format msgid "" "Embed audio from services like SoundCloud and Rdio. You can find a list of " diff --git a/languages/option-tree.po b/languages/option-tree.po index c378afa..e4ba625 100644 --- a/languages/option-tree.po +++ b/languages/option-tree.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: OptionTree\n" -"POT-Creation-Date: 2015-04-09 11:25-0800\n" -"PO-Revision-Date: 2015-04-09 11:25-0800\n" +"POT-Creation-Date: 2015-04-21 22:10-0800\n" +"PO-Revision-Date: 2015-04-21 22:10-0800\n" "Last-Translator: Derek Herman \n" "Language-Team: Valen Designs\n" "Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.7.5\n" +"X-Generator: Poedit 1.7.6\n" "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;" "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" @@ -20,23 +20,23 @@ msgstr "" "X-Poedit-SearchPathExcluded-1: ../composer.json\n" "X-Poedit-SearchPathExcluded-2: ../assets\n" -#: ../includes/ot-cleanup-api.php:86 ../includes/ot-cleanup-api.php:103 -#: ../includes/ot-cleanup-api.php:132 +#: ../includes/ot-cleanup-api.php:84 ../includes/ot-cleanup-api.php:101 +#: ../includes/ot-cleanup-api.php:130 msgid "OptionTree Cleanup" msgstr "" -#: ../includes/ot-cleanup-api.php:103 +#: ../includes/ot-cleanup-api.php:101 #, php-format msgid "" "OptionTree has outdated data that should be removed. Please go to %s for " "more information." msgstr "" -#: ../includes/ot-cleanup-api.php:138 +#: ../includes/ot-cleanup-api.php:136 msgid "Multiple Media Posts" msgstr "" -#: ../includes/ot-cleanup-api.php:140 +#: ../includes/ot-cleanup-api.php:138 #, php-format msgid "" "There are currently %s OptionTree media posts in your database. At some " @@ -47,7 +47,7 @@ msgid "" "posts and get your database cleaned up." msgstr "" -#: ../includes/ot-cleanup-api.php:142 +#: ../includes/ot-cleanup-api.php:140 #, php-format msgid "" "By clicking the button below, OptionTree will delete %s records and " @@ -56,14 +56,14 @@ msgid "" "updated to the correct media post." msgstr "" -#: ../includes/ot-cleanup-api.php:144 +#: ../includes/ot-cleanup-api.php:142 msgid "" "This could take a while to fully process depending on how many records you " "have in your database, so please be patient and wait for the script to " "finish." msgstr "" -#: ../includes/ot-cleanup-api.php:146 +#: ../includes/ot-cleanup-api.php:144 #, php-format msgid "" "%s Your server is running in safe mode. Which means this page will " @@ -71,23 +71,23 @@ msgid "" "using %s if your server is having trouble processing that many at one time." msgstr "" -#: ../includes/ot-cleanup-api.php:148 +#: ../includes/ot-cleanup-api.php:146 msgid "Consolidate Posts" msgstr "" -#: ../includes/ot-cleanup-api.php:176 +#: ../includes/ot-cleanup-api.php:174 msgid "Reloading..." msgstr "" -#: ../includes/ot-cleanup-api.php:212 +#: ../includes/ot-cleanup-api.php:210 msgid "Clean up script has completed, the page will now reload..." msgstr "" -#: ../includes/ot-cleanup-api.php:232 +#: ../includes/ot-cleanup-api.php:230 msgid "Outdated Table" msgstr "" -#: ../includes/ot-cleanup-api.php:234 +#: ../includes/ot-cleanup-api.php:232 #, php-format msgid "" "If you have upgraded from an old 1.x version of OptionTree at some point, " @@ -96,21 +96,21 @@ msgid "" "Click the button below." msgstr "" -#: ../includes/ot-cleanup-api.php:236 +#: ../includes/ot-cleanup-api.php:234 msgid "Drop Table" msgstr "" -#: ../includes/ot-cleanup-api.php:240 +#: ../includes/ot-cleanup-api.php:238 #, php-format msgid "Deleting the outdated and unused %s table..." msgstr "" -#: ../includes/ot-cleanup-api.php:246 +#: ../includes/ot-cleanup-api.php:244 #, php-format msgid "The %s table has been successfully deleted. The page will now reload..." msgstr "" -#: ../includes/ot-cleanup-api.php:258 +#: ../includes/ot-cleanup-api.php:256 #, php-format msgid "Something went wrong. The %s table was not deleted." msgstr "" @@ -338,8 +338,8 @@ msgid "Featured Image" msgstr "" #: ../includes/ot-functions-admin.php:861 -#: ../includes/ot-functions-admin.php:3249 -#: ../includes/ot-functions-admin.php:3310 +#: ../includes/ot-functions-admin.php:3250 +#: ../includes/ot-functions-admin.php:3311 msgid "Image" msgstr "" @@ -347,476 +347,476 @@ msgstr "" msgid "Option Tree" msgstr "" -#: ../includes/ot-functions-admin.php:1066 +#: ../includes/ot-functions-admin.php:1067 msgid "General" msgstr "" -#: ../includes/ot-functions-admin.php:1072 +#: ../includes/ot-functions-admin.php:1073 msgid "Sample Text Field Label" msgstr "" -#: ../includes/ot-functions-admin.php:1073 +#: ../includes/ot-functions-admin.php:1074 msgid "Description for the sample text field." msgstr "" -#: ../includes/ot-functions-admin.php:2315 +#: ../includes/ot-functions-admin.php:2316 msgid "Settings updated." msgstr "" -#: ../includes/ot-functions-admin.php:2319 +#: ../includes/ot-functions-admin.php:2320 msgid "Settings could not be saved." msgstr "" -#: ../includes/ot-functions-admin.php:2327 +#: ../includes/ot-functions-admin.php:2328 msgid "Settings Imported." msgstr "" -#: ../includes/ot-functions-admin.php:2331 +#: ../includes/ot-functions-admin.php:2332 msgid "Settings could not be imported." msgstr "" -#: ../includes/ot-functions-admin.php:2338 +#: ../includes/ot-functions-admin.php:2339 msgid "Data Imported." msgstr "" -#: ../includes/ot-functions-admin.php:2342 +#: ../includes/ot-functions-admin.php:2343 msgid "Data could not be imported." msgstr "" -#: ../includes/ot-functions-admin.php:2350 +#: ../includes/ot-functions-admin.php:2351 msgid "Layouts Imported." msgstr "" -#: ../includes/ot-functions-admin.php:2354 +#: ../includes/ot-functions-admin.php:2355 msgid "Layouts could not be imported." msgstr "" -#: ../includes/ot-functions-admin.php:2362 +#: ../includes/ot-functions-admin.php:2363 msgid "Layouts Updated." msgstr "" -#: ../includes/ot-functions-admin.php:2366 +#: ../includes/ot-functions-admin.php:2367 msgid "Layouts could not be updated." msgstr "" -#: ../includes/ot-functions-admin.php:2370 +#: ../includes/ot-functions-admin.php:2371 msgid "Layouts have been deleted." msgstr "" -#: ../includes/ot-functions-admin.php:2376 +#: ../includes/ot-functions-admin.php:2377 msgid "Layout activated." msgstr "" -#: ../includes/ot-functions-admin.php:2415 +#: ../includes/ot-functions-admin.php:2416 #: ../includes/ot-functions-docs-page.php:110 msgid "Background" msgstr "" -#: ../includes/ot-functions-admin.php:2416 +#: ../includes/ot-functions-admin.php:2417 #: ../includes/ot-functions-docs-page.php:113 msgid "Border" msgstr "" -#: ../includes/ot-functions-admin.php:2417 +#: ../includes/ot-functions-admin.php:2418 #: ../includes/ot-functions-docs-page.php:116 msgid "Box Shadow" msgstr "" -#: ../includes/ot-functions-admin.php:2418 +#: ../includes/ot-functions-admin.php:2419 #: ../includes/ot-functions-docs-page.php:119 msgid "Category Checkbox" msgstr "" -#: ../includes/ot-functions-admin.php:2419 +#: ../includes/ot-functions-admin.php:2420 #: ../includes/ot-functions-docs-page.php:122 msgid "Category Select" msgstr "" -#: ../includes/ot-functions-admin.php:2420 +#: ../includes/ot-functions-admin.php:2421 #: ../includes/ot-functions-docs-page.php:125 msgid "Checkbox" msgstr "" -#: ../includes/ot-functions-admin.php:2421 +#: ../includes/ot-functions-admin.php:2422 #: ../includes/ot-functions-docs-page.php:128 msgid "Colorpicker" msgstr "" -#: ../includes/ot-functions-admin.php:2422 +#: ../includes/ot-functions-admin.php:2423 #: ../includes/ot-functions-docs-page.php:131 msgid "Colorpicker Opacity" msgstr "" -#: ../includes/ot-functions-admin.php:2423 +#: ../includes/ot-functions-admin.php:2424 #: ../includes/ot-functions-docs-page.php:134 msgid "CSS" msgstr "" -#: ../includes/ot-functions-admin.php:2424 +#: ../includes/ot-functions-admin.php:2425 #: ../includes/ot-functions-docs-page.php:153 msgid "Custom Post Type Checkbox" msgstr "" -#: ../includes/ot-functions-admin.php:2425 +#: ../includes/ot-functions-admin.php:2426 #: ../includes/ot-functions-docs-page.php:156 msgid "Custom Post Type Select" msgstr "" -#: ../includes/ot-functions-admin.php:2426 +#: ../includes/ot-functions-admin.php:2427 #: ../includes/ot-functions-docs-page.php:159 msgid "Date Picker" msgstr "" -#: ../includes/ot-functions-admin.php:2427 +#: ../includes/ot-functions-admin.php:2428 #: ../includes/ot-functions-docs-page.php:162 msgid "Date Time Picker" msgstr "" -#: ../includes/ot-functions-admin.php:2428 +#: ../includes/ot-functions-admin.php:2429 #: ../includes/ot-functions-docs-page.php:165 msgid "Dimension" msgstr "" -#: ../includes/ot-functions-admin.php:2429 -#: ../includes/ot-functions-admin.php:5463 +#: ../includes/ot-functions-admin.php:2430 +#: ../includes/ot-functions-admin.php:5464 #: ../includes/ot-functions-docs-page.php:168 msgid "Gallery" msgstr "" -#: ../includes/ot-functions-admin.php:2430 +#: ../includes/ot-functions-admin.php:2431 #: ../includes/ot-functions-docs-page.php:171 msgid "Google Fonts" msgstr "" -#: ../includes/ot-functions-admin.php:2431 +#: ../includes/ot-functions-admin.php:2432 #: ../includes/ot-functions-docs-page.php:174 msgid "JavaScript" msgstr "" -#: ../includes/ot-functions-admin.php:2432 +#: ../includes/ot-functions-admin.php:2433 #: ../includes/ot-functions-docs-page.php:177 msgid "Link Color" msgstr "" -#: ../includes/ot-functions-admin.php:2433 +#: ../includes/ot-functions-admin.php:2434 #: ../includes/ot-functions-docs-page.php:180 msgid "List Item" msgstr "" -#: ../includes/ot-functions-admin.php:2434 +#: ../includes/ot-functions-admin.php:2435 #: ../includes/ot-functions-docs-page.php:183 msgid "Measurement" msgstr "" -#: ../includes/ot-functions-admin.php:2435 +#: ../includes/ot-functions-admin.php:2436 #: ../includes/ot-functions-docs-page.php:214 msgid "Numeric Slider" msgstr "" -#: ../includes/ot-functions-admin.php:2436 +#: ../includes/ot-functions-admin.php:2437 #: ../includes/ot-functions-docs-page.php:217 msgid "On/Off" msgstr "" -#: ../includes/ot-functions-admin.php:2437 +#: ../includes/ot-functions-admin.php:2438 #: ../includes/ot-functions-docs-page.php:220 msgid "Page Checkbox" msgstr "" -#: ../includes/ot-functions-admin.php:2438 +#: ../includes/ot-functions-admin.php:2439 #: ../includes/ot-functions-docs-page.php:223 msgid "Page Select" msgstr "" -#: ../includes/ot-functions-admin.php:2439 +#: ../includes/ot-functions-admin.php:2440 #: ../includes/ot-functions-docs-page.php:226 msgid "Post Checkbox" msgstr "" -#: ../includes/ot-functions-admin.php:2440 +#: ../includes/ot-functions-admin.php:2441 #: ../includes/ot-functions-docs-page.php:229 msgid "Post Select" msgstr "" -#: ../includes/ot-functions-admin.php:2441 +#: ../includes/ot-functions-admin.php:2442 #: ../includes/ot-functions-docs-page.php:232 msgid "Radio" msgstr "" -#: ../includes/ot-functions-admin.php:2442 +#: ../includes/ot-functions-admin.php:2443 #: ../includes/ot-functions-docs-page.php:235 msgid "Radio Image" msgstr "" -#: ../includes/ot-functions-admin.php:2443 +#: ../includes/ot-functions-admin.php:2444 #: ../includes/ot-functions-docs-page.php:262 msgid "Select" msgstr "" -#: ../includes/ot-functions-admin.php:2444 +#: ../includes/ot-functions-admin.php:2445 #: ../includes/ot-functions-docs-page.php:265 msgid "Sidebar Select" msgstr "" -#: ../includes/ot-functions-admin.php:2445 +#: ../includes/ot-functions-admin.php:2446 #: ../includes/ot-functions-docs-page.php:269 msgid "Slider" msgstr "" -#: ../includes/ot-functions-admin.php:2446 +#: ../includes/ot-functions-admin.php:2447 #: ../includes/ot-functions-docs-page.php:272 msgid "Social Links" msgstr "" -#: ../includes/ot-functions-admin.php:2447 +#: ../includes/ot-functions-admin.php:2448 #: ../includes/ot-functions-docs-page.php:275 msgid "Spacing" msgstr "" -#: ../includes/ot-functions-admin.php:2448 +#: ../includes/ot-functions-admin.php:2449 #: ../includes/ot-functions-docs-page.php:278 msgid "Tab" msgstr "" -#: ../includes/ot-functions-admin.php:2449 +#: ../includes/ot-functions-admin.php:2450 #: ../includes/ot-functions-docs-page.php:281 msgid "Tag Checkbox" msgstr "" -#: ../includes/ot-functions-admin.php:2450 +#: ../includes/ot-functions-admin.php:2451 #: ../includes/ot-functions-docs-page.php:284 msgid "Tag Select" msgstr "" -#: ../includes/ot-functions-admin.php:2451 +#: ../includes/ot-functions-admin.php:2452 #: ../includes/ot-functions-docs-page.php:287 msgid "Taxonomy Checkbox" msgstr "" -#: ../includes/ot-functions-admin.php:2452 +#: ../includes/ot-functions-admin.php:2453 #: ../includes/ot-functions-docs-page.php:290 msgid "Taxonomy Select" msgstr "" -#: ../includes/ot-functions-admin.php:2453 +#: ../includes/ot-functions-admin.php:2454 #: ../includes/ot-functions-docs-page.php:293 msgid "Text" msgstr "" -#: ../includes/ot-functions-admin.php:2454 +#: ../includes/ot-functions-admin.php:2455 #: ../includes/ot-functions-docs-page.php:296 msgid "Textarea" msgstr "" -#: ../includes/ot-functions-admin.php:2455 +#: ../includes/ot-functions-admin.php:2456 #: ../includes/ot-functions-docs-page.php:355 msgid "Textarea Simple" msgstr "" -#: ../includes/ot-functions-admin.php:2456 +#: ../includes/ot-functions-admin.php:2457 #: ../includes/ot-functions-docs-page.php:371 msgid "Textblock" msgstr "" -#: ../includes/ot-functions-admin.php:2457 +#: ../includes/ot-functions-admin.php:2458 #: ../includes/ot-functions-docs-page.php:374 msgid "Textblock Titled" msgstr "" -#: ../includes/ot-functions-admin.php:2458 +#: ../includes/ot-functions-admin.php:2459 #: ../includes/ot-functions-docs-page.php:377 msgid "Typography" msgstr "" -#: ../includes/ot-functions-admin.php:2459 +#: ../includes/ot-functions-admin.php:2460 #: ../includes/ot-functions-docs-page.php:397 msgid "Upload" msgstr "" -#: ../includes/ot-functions-admin.php:3194 +#: ../includes/ot-functions-admin.php:3195 msgid "Left Sidebar" msgstr "" -#: ../includes/ot-functions-admin.php:3199 +#: ../includes/ot-functions-admin.php:3200 msgid "Right Sidebar" msgstr "" -#: ../includes/ot-functions-admin.php:3204 +#: ../includes/ot-functions-admin.php:3205 msgid "Full Width (no sidebar)" msgstr "" -#: ../includes/ot-functions-admin.php:3209 +#: ../includes/ot-functions-admin.php:3210 msgid "Dual Sidebar" msgstr "" -#: ../includes/ot-functions-admin.php:3214 +#: ../includes/ot-functions-admin.php:3215 msgid "Left Dual Sidebar" msgstr "" -#: ../includes/ot-functions-admin.php:3219 +#: ../includes/ot-functions-admin.php:3220 msgid "Right Dual Sidebar" msgstr "" -#: ../includes/ot-functions-admin.php:3260 -#: ../includes/ot-functions-admin.php:3316 -#: ../includes/ot-functions-admin.php:5503 +#: ../includes/ot-functions-admin.php:3261 +#: ../includes/ot-functions-admin.php:3317 +#: ../includes/ot-functions-admin.php:5504 msgid "Link" msgstr "" -#: ../includes/ot-functions-admin.php:3271 -#: ../includes/ot-functions-admin.php:3322 +#: ../includes/ot-functions-admin.php:3272 +#: ../includes/ot-functions-admin.php:3323 #: ../includes/ot-functions-docs-page.php:43 #: ../includes/ot-functions-docs-page.php:428 #: ../includes/ot-functions-docs-page.php:478 msgid "Description" msgstr "" -#: ../includes/ot-functions-admin.php:3386 +#: ../includes/ot-functions-admin.php:3387 msgid "Name" msgstr "" -#: ../includes/ot-functions-admin.php:3387 +#: ../includes/ot-functions-admin.php:3388 msgid "Enter the name of the social website." msgstr "" -#: ../includes/ot-functions-admin.php:3395 +#: ../includes/ot-functions-admin.php:3396 msgid "Enter the text shown in the title attribute of the link." msgstr "" -#: ../includes/ot-functions-admin.php:3401 +#: ../includes/ot-functions-admin.php:3402 #, php-format msgid "" "Enter a link to the profile or page on the social website. Remember to add " "the %s part to the front of the link." msgstr "" -#: ../includes/ot-functions-admin.php:3753 +#: ../includes/ot-functions-admin.php:3754 #, php-format msgid "Unable to write to file %s." msgstr "" -#: ../includes/ot-functions-admin.php:4023 +#: ../includes/ot-functions-admin.php:4024 msgid "edit" msgstr "" -#: ../includes/ot-functions-admin.php:4024 -#: ../includes/ot-functions-admin.php:4092 +#: ../includes/ot-functions-admin.php:4025 #: ../includes/ot-functions-admin.php:4093 -#: ../includes/ot-functions-admin.php:4255 +#: ../includes/ot-functions-admin.php:4094 #: ../includes/ot-functions-admin.php:4256 -#: ../includes/ot-functions-admin.php:4321 +#: ../includes/ot-functions-admin.php:4257 #: ../includes/ot-functions-admin.php:4322 -#: ../includes/ot-functions-admin.php:4449 +#: ../includes/ot-functions-admin.php:4323 #: ../includes/ot-functions-admin.php:4450 -#: ../includes/ot-functions-admin.php:4602 +#: ../includes/ot-functions-admin.php:4451 #: ../includes/ot-functions-admin.php:4603 +#: ../includes/ot-functions-admin.php:4604 msgid "Edit" msgstr "" -#: ../includes/ot-functions-admin.php:4026 #: ../includes/ot-functions-admin.php:4027 -#: ../includes/ot-functions-admin.php:4095 +#: ../includes/ot-functions-admin.php:4028 #: ../includes/ot-functions-admin.php:4096 -#: ../includes/ot-functions-admin.php:4258 +#: ../includes/ot-functions-admin.php:4097 #: ../includes/ot-functions-admin.php:4259 -#: ../includes/ot-functions-admin.php:4324 +#: ../includes/ot-functions-admin.php:4260 #: ../includes/ot-functions-admin.php:4325 -#: ../includes/ot-functions-admin.php:4383 +#: ../includes/ot-functions-admin.php:4326 #: ../includes/ot-functions-admin.php:4384 -#: ../includes/ot-functions-admin.php:4452 +#: ../includes/ot-functions-admin.php:4385 #: ../includes/ot-functions-admin.php:4453 -#: ../includes/ot-functions-admin.php:4605 +#: ../includes/ot-functions-admin.php:4454 #: ../includes/ot-functions-admin.php:4606 +#: ../includes/ot-functions-admin.php:4607 msgid "Delete" msgstr "" -#: ../includes/ot-functions-admin.php:4033 +#: ../includes/ot-functions-admin.php:4034 msgid "" "Section Title: Displayed as a menu item on the Theme " "Options page." msgstr "" -#: ../includes/ot-functions-admin.php:4041 +#: ../includes/ot-functions-admin.php:4042 msgid "" "Section ID: A unique lower case alphanumeric string, " "underscores allowed." msgstr "" -#: ../includes/ot-functions-admin.php:4102 +#: ../includes/ot-functions-admin.php:4103 msgid "" "Label: Displayed as the label of a form element on the " "Theme Options page." msgstr "" -#: ../includes/ot-functions-admin.php:4110 -#: ../includes/ot-functions-admin.php:4339 +#: ../includes/ot-functions-admin.php:4111 +#: ../includes/ot-functions-admin.php:4340 msgid "" "ID: A unique lower case alphanumeric string, underscores " "allowed." msgstr "" -#: ../includes/ot-functions-admin.php:4118 +#: ../includes/ot-functions-admin.php:4119 msgid "" "Type: Choose one of the available option types from the " "dropdown." msgstr "" -#: ../includes/ot-functions-admin.php:4129 +#: ../includes/ot-functions-admin.php:4130 msgid "" "Description: Enter a detailed description for the users to " "read on the Theme Options page, HTML is allowed. This is also where you " "enter content for both the Textblock & Textblock Titled option types." msgstr "" -#: ../includes/ot-functions-admin.php:4137 +#: ../includes/ot-functions-admin.php:4138 msgid "" "Choices: This will only affect the following option types: " "Checkbox, Radio, Select & Select Image." msgstr "" -#: ../includes/ot-functions-admin.php:4142 +#: ../includes/ot-functions-admin.php:4143 msgid "Add Choice" msgstr "" -#: ../includes/ot-functions-admin.php:4148 +#: ../includes/ot-functions-admin.php:4149 msgid "" "Settings: This will only affect the List Item option type." msgstr "" -#: ../includes/ot-functions-admin.php:4153 +#: ../includes/ot-functions-admin.php:4154 #: ../includes/ot-functions-settings-page.php:93 msgid "Add Setting" msgstr "" -#: ../includes/ot-functions-admin.php:4159 +#: ../includes/ot-functions-admin.php:4160 msgid "" "Standard: Setting the standard value for your option only " "works for some option types. Read the OptionTree->Documentation " "for more information on which ones." msgstr "" -#: ../includes/ot-functions-admin.php:4167 +#: ../includes/ot-functions-admin.php:4168 msgid "" "Rows: Enter a numeric value for the number of rows in your " "textarea. This will only affect the following option types: CSS, Textarea, & " "Textarea Simple." msgstr "" -#: ../includes/ot-functions-admin.php:4175 +#: ../includes/ot-functions-admin.php:4176 msgid "" "Post Type: Add a comma separated list of post type like " "'post,page'. This will only affect the following option types: Custom Post " "Type Checkbox, & Custom Post Type Select." msgstr "" -#: ../includes/ot-functions-admin.php:4183 +#: ../includes/ot-functions-admin.php:4184 msgid "" "Taxonomy: Add a comma separated list of any registered " "taxonomy like 'category,post_tag'. This will only affect the following " "option types: Taxonomy Checkbox, & Taxonomy Select." msgstr "" -#: ../includes/ot-functions-admin.php:4191 +#: ../includes/ot-functions-admin.php:4192 msgid "" "Min, Max, & Step: Add a comma separated list of options in " "the following format 0,100,1 (slide from 0-100 in " @@ -825,11 +825,11 @@ msgid "" "type." msgstr "" -#: ../includes/ot-functions-admin.php:4199 +#: ../includes/ot-functions-admin.php:4200 msgid "CSS Class: Add and optional class to this option type." msgstr "" -#: ../includes/ot-functions-admin.php:4207 +#: ../includes/ot-functions-admin.php:4208 #, php-format msgid "" "Condition: Add a comma separated list (no spaces) of " @@ -838,98 +838,98 @@ msgid "" "placeholder for your condition, which can be in the form of %s." msgstr "" -#: ../includes/ot-functions-admin.php:4215 +#: ../includes/ot-functions-admin.php:4216 msgid "" "Operator: Choose the logical operator to compute the result " "of the conditions." msgstr "" -#: ../includes/ot-functions-admin.php:4218 +#: ../includes/ot-functions-admin.php:4219 #: ../includes/ot-functions-docs-page.php:111 #: ../includes/ot-functions-docs-page.php:378 msgid "and" msgstr "" -#: ../includes/ot-functions-admin.php:4219 +#: ../includes/ot-functions-admin.php:4220 msgid "or" msgstr "" -#: ../includes/ot-functions-admin.php:4265 +#: ../includes/ot-functions-admin.php:4266 #: ../includes/ot-functions-docs-page.php:29 msgid "Label" msgstr "" -#: ../includes/ot-functions-admin.php:4275 +#: ../includes/ot-functions-admin.php:4276 msgid "Value" msgstr "" -#: ../includes/ot-functions-admin.php:4285 +#: ../includes/ot-functions-admin.php:4286 msgid "Image Source (Radio Image only)" msgstr "" -#: ../includes/ot-functions-admin.php:4331 +#: ../includes/ot-functions-admin.php:4332 msgid "" "Title: Displayed as a contextual help menu item on the " "Theme Options page." msgstr "" -#: ../includes/ot-functions-admin.php:4347 +#: ../includes/ot-functions-admin.php:4348 msgid "" "Content: Enter the HTML content about this contextual help " "item displayed on the Theme Option page for end users to read." msgstr "" -#: ../includes/ot-functions-admin.php:4378 +#: ../includes/ot-functions-admin.php:4379 msgid "Layout" msgstr "" -#: ../includes/ot-functions-admin.php:4380 #: ../includes/ot-functions-admin.php:4381 +#: ../includes/ot-functions-admin.php:4382 msgid "Activate" msgstr "" -#: ../includes/ot-functions-admin.php:4417 ../includes/ot-meta-box-api.php:223 +#: ../includes/ot-functions-admin.php:4418 ../includes/ot-meta-box-api.php:231 #: ../includes/ot-settings-api.php:610 msgid "Title" msgstr "" -#: ../includes/ot-functions-admin.php:4757 +#: ../includes/ot-functions-admin.php:4758 msgid "New Layout" msgstr "" -#: ../includes/ot-functions-admin.php:5512 +#: ../includes/ot-functions-admin.php:5513 msgid "Link URL" msgstr "" -#: ../includes/ot-functions-admin.php:5519 +#: ../includes/ot-functions-admin.php:5520 msgid "Link Title" msgstr "" -#: ../includes/ot-functions-admin.php:5549 +#: ../includes/ot-functions-admin.php:5550 msgid "Quote" msgstr "" -#: ../includes/ot-functions-admin.php:5558 +#: ../includes/ot-functions-admin.php:5559 msgid "Source Name (ex. author, singer, actor)" msgstr "" -#: ../includes/ot-functions-admin.php:5565 +#: ../includes/ot-functions-admin.php:5566 msgid "Source URL" msgstr "" -#: ../includes/ot-functions-admin.php:5572 +#: ../includes/ot-functions-admin.php:5573 msgid "Source Title (ex. book, song, movie)" msgstr "" -#: ../includes/ot-functions-admin.php:5579 +#: ../includes/ot-functions-admin.php:5580 msgid "Source Date" msgstr "" -#: ../includes/ot-functions-admin.php:5609 +#: ../includes/ot-functions-admin.php:5610 msgid "Video" msgstr "" -#: ../includes/ot-functions-admin.php:5618 +#: ../includes/ot-functions-admin.php:5619 #, php-format msgid "" "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list " @@ -937,16 +937,16 @@ msgid "" "built-in %2$s shortcode." msgstr "" -#: ../includes/ot-functions-admin.php:5618 -#: ../includes/ot-functions-admin.php:5657 +#: ../includes/ot-functions-admin.php:5619 +#: ../includes/ot-functions-admin.php:5658 msgid "Wordpress Codex" msgstr "" -#: ../includes/ot-functions-admin.php:5648 +#: ../includes/ot-functions-admin.php:5649 msgid "Audio" msgstr "" -#: ../includes/ot-functions-admin.php:5657 +#: ../includes/ot-functions-admin.php:5658 #, php-format msgid "" "Embed audio from services like SoundCloud and Rdio. You can find a list of "