From d4182370a6143665718f09f1e27384b987a7d6fb Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 1 Sep 2017 20:10:21 -0400 Subject: Update mantra 2.6.1.1 Signed-off-by: Anthony G. Basile --- themes/mantra/admin/admin-functions.php | 15 +-------------- themes/mantra/functions.php | 2 +- themes/mantra/readme.txt | 7 +++++-- themes/mantra/style.css | 2 +- 4 files changed, 8 insertions(+), 18 deletions(-) diff --git a/themes/mantra/admin/admin-functions.php b/themes/mantra/admin/admin-functions.php index a7d8b83e..937504d3 100644 --- a/themes/mantra/admin/admin-functions.php +++ b/themes/mantra/admin/admin-functions.php @@ -210,17 +210,4 @@ function mantra_truncate_words($string,$words=20, $ellipsis=' ...') { return $new.$ellipsis; } -// Synchronizing the tinymce width with the content width -add_filter('tiny_mce_before_init', 'mantra_dynamic_editor_styles', 10); -function mantra_dynamic_editor_styles($settings){ - $settings['content_css'] .= ",".admin_url('admin-ajax.php') ."/?action=dynamic_styles"; - return $settings; -} - -// add wp_ajax callback -add_action('wp_ajax_dynamic_styles', 'mantra_dynamic_styles_callback'); -function mantra_dynamic_styles_callback(){ - global $mantra_options; - echo "html .mceContentBody , .mceContentBody img {max-width:".$mantra_options['mantra_sidewidth']."px;}"; -} -?> \ No newline at end of file +// FIN \ No newline at end of file diff --git a/themes/mantra/functions.php b/themes/mantra/functions.php index 06a86ec2..354ac3ac 100644 --- a/themes/mantra/functions.php +++ b/themes/mantra/functions.php @@ -9,7 +9,7 @@ // theme specifics define ('_CRYOUT_THEME_NAME','mantra'); -define ('_CRYOUT_THEME_VERSION','2.6.1'); +define ('_CRYOUT_THEME_VERSION','2.6.1.1'); require_once(get_template_directory() . "/admin/main.php"); // Load necessary admin files diff --git a/themes/mantra/readme.txt b/themes/mantra/readme.txt index 88b7dfbf..f52485e3 100644 --- a/themes/mantra/readme.txt +++ b/themes/mantra/readme.txt @@ -4,8 +4,8 @@ Copyright 2011-17 Cryout Creations Author: Cryout Creations Requires at least: 4.0 -Tested up to: 4.7.4 -Stable tag: 2.6.1 +Tested up to: 4.8.0 +Stable tag: 2.6.1.1 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl.html Donate link: https://www.cryoutcreations.eu/donate/ @@ -80,6 +80,9 @@ Turkish - Emre Dalkili == Changelog == += 2.6.1.1 = +* Fixed TinyMCE editor error on WordPress 4.8 + = 2.6.1 = * Added support for external sliders in the presentation page using shortcodes * Updated header image support to allow crop skipping diff --git a/themes/mantra/style.css b/themes/mantra/style.css index 8ac5c719..67896c0a 100644 --- a/themes/mantra/style.css +++ b/themes/mantra/style.css @@ -4,7 +4,7 @@ Theme URI: https://www.cryoutcreations.eu/wordpress-themes/mantra Description: Mantra is a do-it-yourself WordPress theme, featuring a pack of over 100 customization options and easy to use tweaks capable of tuning WordPress to your very specific needs and likes. With the help of a simple and efficient user interface you can customize everything:the layout (1,2 or 3 columns), total and partial site widths, colors (all texts, links, backgrounds etc.), fonts (over 35 font-families plus all Google Fonts), text and header sizes, post metas, post excerpts, post formats, header and background images, custom menus, 27 social media links and icons, pins, bullets and much much more. With a fully responsive layout,a customizable showcase presentation page, animated slider, magazine and blog layouts, 8 widget areas, modern graphics and an easy and intuitive admin section, you can start creating your dream site right now. Author: Cryout Creations Author URI: https://www.cryoutcreations.eu -Version: 2.6.1 +Version: 2.6.1.1 License: GNU General Public License v2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: one-column, two-columns, three-columns, right-sidebar, left-sidebar, footer-widgets, grid-layout, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, front-page-post-form, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce, entertainment, news -- cgit v1.2.3