-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-2.3.0-b2' into releases
- Loading branch information
Showing
16 changed files
with
127 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
/** | ||
* Functions | ||
* Provides global access to specific functionality | ||
* @package Simple Lightbox | ||
* @author Archetyped | ||
*/ | ||
|
||
/* Template Tags */ | ||
|
||
/** | ||
* Activate links in user-defined content | ||
* @param string $content | ||
* @return string Updated content with activated links | ||
*/ | ||
function slb_activate($content) { | ||
// Validate | ||
if ( empty($content) ) { | ||
return $content; | ||
} | ||
// Activate links | ||
$content = $GLOBALS['slb']->activate_links($content); | ||
return $content; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ | |
Plugin Name: Simple Lightbox | ||
Plugin URI: http://archetyped.com/lab/slb-2_3_0-beta/ | ||
Description: The highly customizable lightbox for WordPress | ||
Version: 2.3.0-b1 (BETA) | ||
Version: 2.3.0-b2 (BETA) | ||
Author: Archetyped | ||
Author URI: http://archetyped.com | ||
Support URI: https://github.com/archetyped/simple-lightbox/wiki/Reporting-Issues | ||
Support URI: https://github.com/archetyped/simple-lightbox/wiki/Feedback-&-Support | ||
*/ | ||
/* | ||
Copyright 2013 Sol Marchessault ([email protected]) | ||
Copyright 2014 Sol Marchessault ([email protected]) | ||
*/ | ||
$slb = null; | ||
/** | ||
|
@@ -18,8 +18,6 @@ | |
function slb_init() { | ||
$path = dirname(__FILE__) . '/'; | ||
require_once $path . 'load.php'; | ||
require_once $path . 'controller.php'; | ||
$GLOBALS['slb'] = new SLB_Lightbox(); | ||
} | ||
|
||
add_action('init', 'slb_init', 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "simple-lightbox", | ||
"version": "2.3.0-b1", | ||
"version": "2.3.0-b2", | ||
"title": "Simple Lightbox", | ||
"description": "The highly-customizable lightbox for WordPress", | ||
"author": "Sol Marchessault <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters