Photo Gallery by Envira – Responsive Image Gallery for WordPress - Version 1.3.5.1

Version Description

  • Fix: Gallery shortcodes using slugs working with WordPress 4.3+
Download this release

Release Info

Developer n7studios
Plugin Icon 128x128 Photo Gallery by Envira – Responsive Image Gallery for WordPress
Version 1.3.5.1
Comparing to
See all releases

Code changes from version 1.3.5.0 to 1.3.5.1

envira-gallery-lite.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
6
  * Author: Thomas Griffin
7
  * Author URI: http://thomasgriffinmedia.com
8
- * Version: 1.3.5.0
9
  * Text Domain: envira-gallery-lite
10
  *
11
  * Envira Gallery is free software: you can redistribute it and/or modify
@@ -53,7 +53,7 @@ class Envira_Gallery_Lite {
53
  *
54
  * @var string
55
  */
56
- public $version = '1.3.5.0';
57
 
58
  /**
59
  * Unique plugin slug identifier.
5
  * Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
6
  * Author: Thomas Griffin
7
  * Author URI: http://thomasgriffinmedia.com
8
+ * Version: 1.3.5.1
9
  * Text Domain: envira-gallery-lite
10
  *
11
  * Envira Gallery is free software: you can redistribute it and/or modify
53
  *
54
  * @var string
55
  */
56
+ public $version = '1.3.5.1';
57
 
58
  /**
59
  * Unique plugin slug identifier.
includes/global/posttype.php CHANGED
@@ -64,15 +64,12 @@ class Envira_Gallery_Posttype_Lite {
64
  )
65
  );
66
 
67
- // Define exclude_from_search depending on whether we're in the admin or frontend
68
- $exclude_from_search = ( is_admin() ? false : true );
69
-
70
  // Build out the post type arguments.
71
  $args = apply_filters( 'envira_gallery_post_type_args',
72
  array(
73
  'labels' => $labels,
74
  'public' => false,
75
- 'exclude_from_search' => $exclude_from_search,
76
  'show_ui' => true,
77
  'show_in_admin_bar' => false,
78
  'rewrite' => false,
64
  )
65
  );
66
 
 
 
 
67
  // Build out the post type arguments.
68
  $args = apply_filters( 'envira_gallery_post_type_args',
69
  array(
70
  'labels' => $labels,
71
  'public' => false,
72
+ 'exclude_from_search' => false,
73
  'show_ui' => true,
74
  'show_in_admin_bar' => false,
75
  'rewrite' => false,
readme.txt CHANGED
@@ -57,6 +57,9 @@ Also, I'm an <a href="https://thomasgriffin.io" rel="me" title="WordPress Develo
57
 
58
  == Changelog ==
59
 
 
 
 
60
  = 1.3.5.0 =
61
  * Fix: Prevent Envira Custom Post Type from appearing in search results, which would result in a 404
62
 
57
 
58
  == Changelog ==
59
 
60
+ = 1.3.5.1 =
61
+ * Fix: Gallery shortcodes using slugs working with WordPress 4.3+
62
+
63
  = 1.3.5.0 =
64
  * Fix: Prevent Envira Custom Post Type from appearing in search results, which would result in a 404
65