Changeset 800723
- Timestamp:
- 11/07/2013 10:50:31 PM (12 years ago)
- Location:
- slenderbox/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
slenderbox.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
slenderbox/trunk/readme.txt
r677242 r800723 1 === Slenderbox ===1 === Slenderbox === 2 2 Contributors: petroffm 3 3 Tags: slenderbox, lightbox, image, photo, picture 4 4 Requires at least: 2.6 5 5 Tested up to: 3.5.1 6 Stable tag: 1.1. 06 Stable tag: 1.1.1 7 7 License: MIT 8 8 License URI: http://www.opensource.org/licenses/MIT … … 13 13 14 14 This plugin overlays images on the current page using [Slenderbox](http://mpetroff.github.com/slenderbox/). 15 16 = 1.1.1 (2013-11-07) = 17 * Use proper way to enqueue scripts (thanks Monika Thon-Soun). 15 18 16 19 = 1.1 (2013-03-06) = … … 51 54 == Changelog == 52 55 56 = 1.1.1 (2013-11-07) = 57 * Use proper way to enqueue scripts (thanks Monika Thon-Soun). 58 53 59 = 1.1 (2013-03-06) = 54 60 * Updated to Slenderbox v1.1: Switched loading icon from a SMIL animated SVG to a CSS3 animation for full IE 10 support. -
slenderbox/trunk/slenderbox.php
r677273 r800723 4 4 * Plugin URI: https://github.com/mpetroff/slenderbox-wp 5 5 * Description: Overlays images on the current page using Slenderbox, a lightweight and framework-free lightbox plugin that can be used with valid HTML5. 6 * Version: 1.1. 06 * Version: 1.1.1 7 7 * Author: Matthew Petroff 8 8 * Author URI: http://www.mpetroff.net/ … … 11 11 /* 12 12 * Slenderbox - A Lightweight Lightbox Script 13 * Copyright (c) 2012 Matthew Petroff13 * Copyright (c) 2012-2013 Matthew Petroff 14 14 * 15 15 * Permission is hereby granted, free of charge, to any person obtaining a copy … … 94 94 // Include script if not viewing an admin page 95 95 if(!is_admin()) { 96 wp_enqueue_script('slenderbox', plugins_url('slenderbox.js', __FILE__)); 96 function slenderbox_scripts() { 97 wp_enqueue_script('slenderbox', plugins_url('slenderbox.js', __FILE__)); 98 } 99 add_action('wp_enqueue_scripts', 'slenderbox_scripts'); 97 100 } 98 101
Note: See TracChangeset
for help on using the changeset viewer.