Version Description
- Optimize: Symbolic link handing for file/directory paths.
Download this release
Release Info
Developer | Archetyped |
Plugin | Simple Lightbox |
Version | 2.9.2 |
Comparing to | |
See all releases |
Code changes from version 2.9.1 to 2.9.2
- .editorconfig +0 -15
- .github/ISSUE_TEMPLATE/0_support-ticket.md +0 -19
- .github/ISSUE_TEMPLATE/1_feature-request.md +0 -23
- .github/ISSUE_TEMPLATE/config.yml +0 -5
- .github/ISSUE_TEMPLATE/feedback.md +0 -10
- .gitignore +0 -5
- CONTRIBUTING.md +0 -0
- COPYING +0 -0
- Gruntfile.js +0 -0
- README.md +0 -0
- changelog.txt +4 -0
- client/css/admin.css +0 -0
- client/css/app.css +0 -0
- client/js/dev/lib.admin.js +0 -0
- client/js/dev/lib.core.js +0 -0
- client/js/dev/lib.view.js +0 -0
- client/js/prod/lib.admin.js +0 -0
- client/js/prod/lib.core.js +0 -0
- client/js/prod/lib.view.js +0 -0
- client/sass/admin.scss +0 -0
- client/sass/app.scss +0 -0
- composer.json +0 -0
- composer.lock +0 -0
- content-handlers/image/js/dev/handler.image.js +0 -0
- content-handlers/image/js/prod/handler.image.js +0 -0
- controller.php +0 -0
- functions.php +0 -0
- grunt/jshint.js +0 -0
- grunt/phplint.js +0 -0
- grunt/sass.js +0 -0
- grunt/uglify.js +0 -0
- grunt/watch.js +0 -0
- includes/class-requirements-check.php +0 -0
- includes/class.admin.php +0 -0
- includes/class.admin_action.php +0 -0
- includes/class.admin_menu.php +0 -0
- includes/class.admin_page.php +0 -0
- includes/class.admin_section.php +0 -0
- includes/class.admin_view.php +0 -0
- includes/class.base.php +0 -0
- includes/class.base_collection.php +0 -0
- includes/class.base_object.php +0 -0
- includes/class.collection_controller.php +0 -0
- includes/class.component.php +0 -0
- includes/class.content_handler.php +0 -0
- includes/class.content_handlers.php +0 -0
- includes/class.field.php +0 -0
- includes/class.field_base.php +0 -0
- includes/class.field_collection.php +0 -0
- includes/class.field_type.php +0 -0
- includes/class.fields.php +0 -0
- includes/class.option.php +0 -0
- includes/class.options.php +0 -0
- includes/class.template_tag.php +0 -0
- includes/class.template_tags.php +0 -0
- includes/class.theme.php +0 -0
- includes/class.themes.php +0 -0
- includes/class.utilities.php +10 -2
- l10n/simple-lightbox-tr_TR.mo +0 -0
- l10n/simple-lightbox-tr_TR.po +0 -0
- l10n/simple-lightbox.pot +0 -0
- load.php +0 -0
- main.php +1 -1
- package-lock.json +2 -2
- package.json +1 -1
- phpcs.xml.dist +0 -0
- readme.txt +4 -0
- template-tags/item/js/dev/tag.item.js +0 -0
- template-tags/item/js/prod/tag.item.js +0 -0
- template-tags/ui/js/dev/tag.ui.js +0 -0
- template-tags/ui/js/prod/tag.ui.js +0 -0
- themes/baseline/css/style.css +0 -0
- themes/baseline/images/loading.gif +0 -0
- themes/baseline/js/dev/client.js +0 -0
- themes/baseline/js/prod/client.js +0 -0
- themes/baseline/layout.html +0 -0
- themes/baseline/sass/style.scss +0 -0
- themes/black/css/style.css +0 -0
- themes/black/images/loading.gif +0 -0
- themes/black/images/nav_next.png +0 -0
- themes/black/images/nav_prev.png +0 -0
- themes/black/sass/style.scss +0 -0
- themes/default/css/style.css +0 -0
- themes/default/fonts/OFL.txt +0 -0
- themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.eot +0 -0
- themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.svg +0 -0
- themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.ttf +0 -0
- themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.woff +0 -0
- themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.woff2 +0 -0
- themes/default/images/loading.gif +0 -0
- themes/default/images/nav_next.png +0 -0
- themes/default/images/nav_prev.png +0 -0
- themes/default/images/ui_close.png +0 -0
- themes/default/images/ui_slideshow_pause.png +0 -0
- themes/default/images/ui_slideshow_play.png +0 -0
- themes/default/js/dev/client.js +0 -0
- themes/default/js/prod/client.js +0 -0
- themes/default/sass/_fonts.scss +0 -0
- themes/default/sass/style.scss +0 -0
.editorconfig
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
root = true
|
2 |
-
|
3 |
-
[*]
|
4 |
-
charset = utf-8
|
5 |
-
indent_style = space
|
6 |
-
indent_size = 4
|
7 |
-
end_of_line = lf
|
8 |
-
trim_trailing_whitespace = true
|
9 |
-
|
10 |
-
[*.{php,css,js,html}]
|
11 |
-
indent_style = tab
|
12 |
-
insert_final_newline = true
|
13 |
-
|
14 |
-
[package*.json]
|
15 |
-
indent_size = 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.github/ISSUE_TEMPLATE/0_support-ticket.md
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
---
|
2 |
-
name: Support Ticket
|
3 |
-
about: Get support for an issue you are experiencing
|
4 |
-
title: ""
|
5 |
-
labels: support
|
6 |
-
assignees: ''
|
7 |
-
|
8 |
-
---
|
9 |
-
|
10 |
-
## Description of Problem
|
11 |
-
|
12 |
-
(Clearly describe the issue you are experiencing here, and fill in the necessary details below)
|
13 |
-
|
14 |
-
## Details
|
15 |
-
|
16 |
-
* URL of Page exhibiting problem:
|
17 |
-
* Browser(s) exhibiting problem (Firefox, Chrome, etc.):
|
18 |
-
* Version of SLB Installed:
|
19 |
-
* Other plugins installed:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.github/ISSUE_TEMPLATE/1_feature-request.md
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
---
|
2 |
-
name: Feature request
|
3 |
-
about: Enhance! Suggest an idea for SLB.
|
4 |
-
title: "[Request]: "
|
5 |
-
labels: enhancement
|
6 |
-
assignees: ''
|
7 |
-
|
8 |
-
---
|
9 |
-
|
10 |
-
## Description of feature
|
11 |
-
|
12 |
-
(Describe your feature or idea here)
|
13 |
-
|
14 |
-
## This feature would be used to
|
15 |
-
|
16 |
-
(Describe usage here)
|
17 |
-
|
18 |
-
## If you added this feature, I would:
|
19 |
-
|
20 |
-
a) Eat my hat
|
21 |
-
b) Jump for joy
|
22 |
-
c) Shave my cat
|
23 |
-
d) All of the above
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.github/ISSUE_TEMPLATE/config.yml
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
blank_issues_enabled: false
|
2 |
-
contact_links:
|
3 |
-
- name: Feedback & Support
|
4 |
-
url: https://github.com/archetyped/simple-lightbox/wiki/Feedback-&-Support
|
5 |
-
about: How to share feedback and get support for Simple Lightbox
|
|
|
|
|
|
|
|
|
|
.github/ISSUE_TEMPLATE/feedback.md
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
---
|
2 |
-
name: Feedback
|
3 |
-
about: Share your feedback
|
4 |
-
title: "[Feedback]: "
|
5 |
-
labels: feedback
|
6 |
-
assignees: ''
|
7 |
-
|
8 |
-
---
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gitignore
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
.ds_store
|
2 |
-
.vscode
|
3 |
-
.sass-cache
|
4 |
-
node_modules/
|
5 |
-
vendor/
|
|
|
|
|
|
|
|
|
|
CONTRIBUTING.md
CHANGED
File without changes
|
COPYING
CHANGED
File without changes
|
Gruntfile.js
CHANGED
File without changes
|
README.md
CHANGED
File without changes
|
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 2.9.1 =
|
2 |
|
3 |
* Fix: Validate hook priority values (Let's Getz Prioritized)
|
1 |
+
= 2.9.2 =
|
2 |
+
|
3 |
+
* Optimize: Symbolic link handing for file/directory paths.
|
4 |
+
|
5 |
= 2.9.1 =
|
6 |
|
7 |
* Fix: Validate hook priority values (Let's Getz Prioritized)
|
client/css/admin.css
CHANGED
File without changes
|
client/css/app.css
CHANGED
File without changes
|
client/js/dev/lib.admin.js
CHANGED
File without changes
|
client/js/dev/lib.core.js
CHANGED
File without changes
|
client/js/dev/lib.view.js
CHANGED
File without changes
|
client/js/prod/lib.admin.js
CHANGED
File without changes
|
client/js/prod/lib.core.js
CHANGED
File without changes
|
client/js/prod/lib.view.js
CHANGED
File without changes
|
client/sass/admin.scss
CHANGED
File without changes
|
client/sass/app.scss
CHANGED
File without changes
|
composer.json
CHANGED
File without changes
|
composer.lock
CHANGED
File without changes
|
content-handlers/image/js/dev/handler.image.js
CHANGED
File without changes
|
content-handlers/image/js/prod/handler.image.js
CHANGED
File without changes
|
controller.php
CHANGED
File without changes
|
functions.php
CHANGED
File without changes
|
grunt/jshint.js
CHANGED
File without changes
|
grunt/phplint.js
CHANGED
File without changes
|
grunt/sass.js
CHANGED
File without changes
|
grunt/uglify.js
CHANGED
File without changes
|
grunt/watch.js
CHANGED
File without changes
|
includes/class-requirements-check.php
CHANGED
File without changes
|
includes/class.admin.php
CHANGED
File without changes
|
includes/class.admin_action.php
CHANGED
File without changes
|
includes/class.admin_menu.php
CHANGED
File without changes
|
includes/class.admin_page.php
CHANGED
File without changes
|
includes/class.admin_section.php
CHANGED
File without changes
|
includes/class.admin_view.php
CHANGED
File without changes
|
includes/class.base.php
CHANGED
File without changes
|
includes/class.base_collection.php
CHANGED
File without changes
|
includes/class.base_object.php
CHANGED
File without changes
|
includes/class.collection_controller.php
CHANGED
File without changes
|
includes/class.component.php
CHANGED
File without changes
|
includes/class.content_handler.php
CHANGED
File without changes
|
includes/class.content_handlers.php
CHANGED
File without changes
|
includes/class.field.php
CHANGED
File without changes
|
includes/class.field_base.php
CHANGED
File without changes
|
includes/class.field_collection.php
CHANGED
File without changes
|
includes/class.field_type.php
CHANGED
File without changes
|
includes/class.fields.php
CHANGED
File without changes
|
includes/class.option.php
CHANGED
File without changes
|
includes/class.options.php
CHANGED
File without changes
|
includes/class.template_tag.php
CHANGED
File without changes
|
includes/class.template_tags.php
CHANGED
File without changes
|
includes/class.theme.php
CHANGED
File without changes
|
includes/class.themes.php
CHANGED
File without changes
|
includes/class.utilities.php
CHANGED
@@ -1251,10 +1251,18 @@ class SLB_Utilities {
|
|
1251 |
}
|
1252 |
// Extract base path
|
1253 |
$base = $this->normalize_path( $base );
|
1254 |
-
|
1255 |
-
|
|
|
1256 |
$base = substr( $base, 0, $end );
|
1257 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1258 |
// Save base path.
|
1259 |
$this->_path_base = $base;
|
1260 |
}
|
1251 |
}
|
1252 |
// Extract base path
|
1253 |
$base = $this->normalize_path( $base );
|
1254 |
+
$wp_plugin_dir = $this->normalize_path( realpath( WP_PLUGIN_DIR ) );
|
1255 |
+
if ( 0 === strpos( $base, $wp_plugin_dir ) ) {
|
1256 |
+
$end = strpos( $base, '/', strlen( $wp_plugin_dir ) + 1 );
|
1257 |
$base = substr( $base, 0, $end );
|
1258 |
}
|
1259 |
+
// Validate path.
|
1260 |
+
if ( !is_dir( $base ) || !is_readable( $base ) ) {
|
1261 |
+
// Fallback: Merge `WP_PLUGIN_DIR` and top-level directory from `plugin_basename()`.
|
1262 |
+
$base = plugin_basename( __FILE__ );
|
1263 |
+
$base = substr( $base, 0, strpos( $base, '/') );
|
1264 |
+
$base = $this->normalize_path( WP_PLUGIN_DIR, $base, false );
|
1265 |
+
}
|
1266 |
// Save base path.
|
1267 |
$this->_path_base = $base;
|
1268 |
}
|
l10n/simple-lightbox-tr_TR.mo
CHANGED
File without changes
|
l10n/simple-lightbox-tr_TR.po
CHANGED
File without changes
|
l10n/simple-lightbox.pot
CHANGED
File without changes
|
load.php
CHANGED
File without changes
|
main.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
* Plugin Name: Simple Lightbox
|
10 |
* Plugin URI: http://archetyped.com/tools/simple-lightbox/
|
11 |
* Description: The highly customizable lightbox for WordPress
|
12 |
-
* Version: 2.9.
|
13 |
* Requires at least: 5.3
|
14 |
* Requires PHP: 5.6.20
|
15 |
* Text Domain: simple-lightbox
|
9 |
* Plugin Name: Simple Lightbox
|
10 |
* Plugin URI: http://archetyped.com/tools/simple-lightbox/
|
11 |
* Description: The highly customizable lightbox for WordPress
|
12 |
+
* Version: 2.9.2
|
13 |
* Requires at least: 5.3
|
14 |
* Requires PHP: 5.6.20
|
15 |
* Text Domain: simple-lightbox
|
package-lock.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
{
|
2 |
"name": "simple-lightbox",
|
3 |
-
"version": "2.9.
|
4 |
"lockfileVersion": 2,
|
5 |
"requires": true,
|
6 |
"packages": {
|
7 |
"": {
|
8 |
-
"version": "2.9.
|
9 |
"license": "GPLv2",
|
10 |
"devDependencies": {
|
11 |
"grunt": "^1.5.3",
|
1 |
{
|
2 |
"name": "simple-lightbox",
|
3 |
+
"version": "2.9.2",
|
4 |
"lockfileVersion": 2,
|
5 |
"requires": true,
|
6 |
"packages": {
|
7 |
"": {
|
8 |
+
"version": "2.9.2",
|
9 |
"license": "GPLv2",
|
10 |
"devDependencies": {
|
11 |
"grunt": "^1.5.3",
|
package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "simple-lightbox",
|
3 |
-
"version": "2.9.
|
4 |
"title": "Simple Lightbox",
|
5 |
"description": "The highly-customizable lightbox for WordPress",
|
6 |
"author": "Archetyped <support@archetyped.com>",
|
1 |
{
|
2 |
"name": "simple-lightbox",
|
3 |
+
"version": "2.9.2",
|
4 |
"title": "Simple Lightbox",
|
5 |
"description": "The highly-customizable lightbox for WordPress",
|
6 |
"author": "Archetyped <support@archetyped.com>",
|
phpcs.xml.dist
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -65,6 +65,10 @@ Get more information on [Simple Lightbox's official page](http://archetyped.com/
|
|
65 |
|
66 |
== Changelog ==
|
67 |
|
|
|
|
|
|
|
|
|
68 |
= 2.9.1 =
|
69 |
|
70 |
* Fix: Validate hook priority values (Let's Getz Prioritized)
|
65 |
|
66 |
== Changelog ==
|
67 |
|
68 |
+
= 2.9.2 =
|
69 |
+
|
70 |
+
* Optimize: Symbolic link handing for file/directory paths.
|
71 |
+
|
72 |
= 2.9.1 =
|
73 |
|
74 |
* Fix: Validate hook priority values (Let's Getz Prioritized)
|
template-tags/item/js/dev/tag.item.js
CHANGED
File without changes
|
template-tags/item/js/prod/tag.item.js
CHANGED
File without changes
|
template-tags/ui/js/dev/tag.ui.js
CHANGED
File without changes
|
template-tags/ui/js/prod/tag.ui.js
CHANGED
File without changes
|
themes/baseline/css/style.css
CHANGED
File without changes
|
themes/baseline/images/loading.gif
CHANGED
File without changes
|
themes/baseline/js/dev/client.js
CHANGED
File without changes
|
themes/baseline/js/prod/client.js
CHANGED
File without changes
|
themes/baseline/layout.html
CHANGED
File without changes
|
themes/baseline/sass/style.scss
CHANGED
File without changes
|
themes/black/css/style.css
CHANGED
File without changes
|
themes/black/images/loading.gif
CHANGED
File without changes
|
themes/black/images/nav_next.png
CHANGED
File without changes
|
themes/black/images/nav_prev.png
CHANGED
File without changes
|
themes/black/sass/style.scss
CHANGED
File without changes
|
themes/default/css/style.css
CHANGED
File without changes
|
themes/default/fonts/OFL.txt
CHANGED
File without changes
|
themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.eot
CHANGED
File without changes
|
themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.svg
CHANGED
File without changes
|
themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.ttf
CHANGED
File without changes
|
themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.woff
CHANGED
File without changes
|
themes/default/fonts/yanone-kaffeesatz-v9-latin-regular.woff2
CHANGED
File without changes
|
themes/default/images/loading.gif
CHANGED
File without changes
|
themes/default/images/nav_next.png
CHANGED
File without changes
|
themes/default/images/nav_prev.png
CHANGED
File without changes
|
themes/default/images/ui_close.png
CHANGED
File without changes
|
themes/default/images/ui_slideshow_pause.png
CHANGED
File without changes
|
themes/default/images/ui_slideshow_play.png
CHANGED
File without changes
|
themes/default/js/dev/client.js
CHANGED
File without changes
|
themes/default/js/prod/client.js
CHANGED
File without changes
|
themes/default/sass/_fonts.scss
CHANGED
File without changes
|
themes/default/sass/style.scss
CHANGED
File without changes
|