Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/blogs-gentoo:master commit in: themes/mantra/admin/, themes/mantra/
Date: Sat, 02 Sep 2017 00:16:43
Message-Id: 1504311021.d4182370a6143665718f09f1e27384b987a7d6fb.blueness@gentoo
1 commit: d4182370a6143665718f09f1e27384b987a7d6fb
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 2 00:10:21 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 00:10:21 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/blogs-gentoo.git/commit/?id=d4182370
7
8 Update mantra 2.6.1.1
9
10 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
11
12 themes/mantra/admin/admin-functions.php | 15 +--------------
13 themes/mantra/functions.php | 2 +-
14 themes/mantra/readme.txt | 7 +++++--
15 themes/mantra/style.css | 2 +-
16 4 files changed, 8 insertions(+), 18 deletions(-)
17
18 diff --git a/themes/mantra/admin/admin-functions.php b/themes/mantra/admin/admin-functions.php
19 index a7d8b83..937504d 100644
20 --- a/themes/mantra/admin/admin-functions.php
21 +++ b/themes/mantra/admin/admin-functions.php
22 @@ -210,17 +210,4 @@ function mantra_truncate_words($string,$words=20, $ellipsis=' ...') {
23 return $new.$ellipsis;
24 }
25
26 -// Synchronizing the tinymce width with the content width
27 -add_filter('tiny_mce_before_init', 'mantra_dynamic_editor_styles', 10);
28 -function mantra_dynamic_editor_styles($settings){
29 - $settings['content_css'] .= ",".admin_url('admin-ajax.php') ."/?action=dynamic_styles";
30 - return $settings;
31 -}
32 -
33 -// add wp_ajax callback
34 -add_action('wp_ajax_dynamic_styles', 'mantra_dynamic_styles_callback');
35 -function mantra_dynamic_styles_callback(){
36 - global $mantra_options;
37 - echo "html .mceContentBody , .mceContentBody img {max-width:".$mantra_options['mantra_sidewidth']."px;}";
38 -}
39 -?>
40 \ No newline at end of file
41 +// FIN
42 \ No newline at end of file
43
44 diff --git a/themes/mantra/functions.php b/themes/mantra/functions.php
45 index 06a86ec..354ac3a 100644
46 --- a/themes/mantra/functions.php
47 +++ b/themes/mantra/functions.php
48 @@ -9,7 +9,7 @@
49
50 // theme specifics
51 define ('_CRYOUT_THEME_NAME','mantra');
52 -define ('_CRYOUT_THEME_VERSION','2.6.1');
53 +define ('_CRYOUT_THEME_VERSION','2.6.1.1');
54
55 require_once(get_template_directory() . "/admin/main.php"); // Load necessary admin files
56
57
58 diff --git a/themes/mantra/readme.txt b/themes/mantra/readme.txt
59 index 88b7dfb..f52485e 100644
60 --- a/themes/mantra/readme.txt
61 +++ b/themes/mantra/readme.txt
62 @@ -4,8 +4,8 @@ Copyright 2011-17 Cryout Creations
63
64 Author: Cryout Creations
65 Requires at least: 4.0
66 -Tested up to: 4.7.4
67 -Stable tag: 2.6.1
68 +Tested up to: 4.8.0
69 +Stable tag: 2.6.1.1
70 License: GPLv3
71 License URI: http://www.gnu.org/licenses/gpl.html
72 Donate link: https://www.cryoutcreations.eu/donate/
73 @@ -80,6 +80,9 @@ Turkish - Emre Dalkili
74
75 == Changelog ==
76
77 += 2.6.1.1 =
78 +* Fixed TinyMCE editor error on WordPress 4.8
79 +
80 = 2.6.1 =
81 * Added support for external sliders in the presentation page using shortcodes
82 * Updated header image support to allow crop skipping
83
84 diff --git a/themes/mantra/style.css b/themes/mantra/style.css
85 index 8ac5c71..67896c0 100644
86 --- a/themes/mantra/style.css
87 +++ b/themes/mantra/style.css
88 @@ -4,7 +4,7 @@ Theme URI: https://www.cryoutcreations.eu/wordpress-themes/mantra
89 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.
90 Author: Cryout Creations
91 Author URI: https://www.cryoutcreations.eu
92 -Version: 2.6.1
93 +Version: 2.6.1.1
94 License: GNU General Public License v2.0
95 License URI: http://www.gnu.org/licenses/gpl-2.0.html
96 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