Cherry Projects - Version 1.2.8

Version Description

  • CherryFramework version
Download this release

Release Info

Developer TemplateMonster 2002
Plugin Icon 128x128 Cherry Projects
Version 1.2.8
Comparing to
See all releases

Code changes from version 1.2.7 to 1.2.8

cherry-framework/cherry-core.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Class Cherry Core
4
- * Version: 1.5.1
5
  *
6
  * @package Cherry_Framework
7
  * @subpackage Class
@@ -378,9 +378,9 @@ if ( ! class_exists( 'Cherry_Core' ) ) {
378
  $theme_dir = "$theme_root/$stylesheet";
379
 
380
  if ( 0 === strpos( $module_dir, $plugin_dir ) ) {
381
- $home_url = home_url();
382
  $abs_path = wp_normalize_path( ABSPATH );
383
- $url = str_replace( untrailingslashit( $abs_path ), $home_url, $module_dir );
384
  } else if ( false !== strpos( $module_path, $theme_dir ) ) {
385
  $explode = explode( $theme_dir, $module_dir );
386
  $url = get_stylesheet_directory_uri() . end( $explode );
1
  <?php
2
  /**
3
  * Class Cherry Core
4
+ * Version: 1.5.2
5
  *
6
  * @package Cherry_Framework
7
  * @subpackage Class
378
  $theme_dir = "$theme_root/$stylesheet";
379
 
380
  if ( 0 === strpos( $module_dir, $plugin_dir ) ) {
381
+ $site_url = site_url();
382
  $abs_path = wp_normalize_path( ABSPATH );
383
+ $url = str_replace( untrailingslashit( $abs_path ), $site_url, $module_dir );
384
  } else if ( false !== strpos( $module_path, $theme_dir ) ) {
385
  $explode = explode( $theme_dir, $module_dir );
386
  $url = get_stylesheet_directory_uri() . end( $explode );
cherry-projects.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Cherry Projects
4
  * Plugin URI: http://www.cherryframework.com/
5
  * Description: A projects plugin for WordPress.
6
- * Version: 1.2.7
7
  * Author: Cherry Team
8
  * Author URI: http://www.cherryframework.com/
9
  * Text Domain: cherry-projects
@@ -13,7 +13,7 @@
13
  *
14
  * @package Cherry_Projects
15
  * @author Cherry Team
16
- * @version 1.2.7
17
  * @license GPL-3.0+
18
  * @copyright 2002-2016, Cherry Team
19
  */
@@ -144,7 +144,7 @@ if ( ! class_exists( 'Cherry_Projects' ) ) {
144
  *
145
  * @since 1.0.0
146
  */
147
- define( 'CHERRY_PROJECTS_VERSION', '1.2.7' );
148
 
149
  /**
150
  * Set the slug of the plugin.
3
  * Plugin Name: Cherry Projects
4
  * Plugin URI: http://www.cherryframework.com/
5
  * Description: A projects plugin for WordPress.
6
+ * Version: 1.2.8
7
  * Author: Cherry Team
8
  * Author URI: http://www.cherryframework.com/
9
  * Text Domain: cherry-projects
13
  *
14
  * @package Cherry_Projects
15
  * @author Cherry Team
16
+ * @version 1.2.8
17
  * @license GPL-3.0+
18
  * @copyright 2002-2016, Cherry Team
19
  */
144
  *
145
  * @since 1.0.0
146
  */
147
+ define( 'CHERRY_PROJECTS_VERSION', '1.2.8' );
148
 
149
  /**
150
  * Set the slug of the plugin.
public/assets/js/cherry-projects-scripts.js CHANGED
@@ -71,7 +71,7 @@ var cherryProjectsFrontScripts = null;
71
  $loader = $( '.cherry-projects-ajax-loader' , $projectsTermWrapper );
72
 
73
  $loader.css( { 'display': 'block' } ).fadeTo( 500, 1 );
74
- console.log($projectsTermInstance);
75
  $projectsTermInstance.each( function( index ) {
76
  var $instance = $( this ),
77
  instanceSettings = $instance.data( 'settings' ),
71
  $loader = $( '.cherry-projects-ajax-loader' , $projectsTermWrapper );
72
 
73
  $loader.css( { 'display': 'block' } ).fadeTo( 500, 1 );
74
+
75
  $projectsTermInstance.each( function( index ) {
76
  var $instance = $( this ),
77
  instanceSettings = $instance.data( 'settings' ),
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: TemplateMonster 2002
4
  Tags: custom post type, projects, portfolio, cherry framework, elementor, elementor page builder
5
  Requires at least: 4.5
6
  Tested up to: 4.8.0
7
- Stable tag: 1.2.7
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -172,3 +172,7 @@ Standard templates can be rewritten in the theme. For that you need to create ch
172
  = 1.2.7 =
173
 
174
  * Fixed bugs
 
 
 
 
4
  Tags: custom post type, projects, portfolio, cherry framework, elementor, elementor page builder
5
  Requires at least: 4.5
6
  Tested up to: 4.8.0
7
+ Stable tag: 1.2.8
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
172
  = 1.2.7 =
173
 
174
  * Fixed bugs
175
+
176
+ = 1.2.8 =
177
+
178
+ * CherryFramework version