Plugin Directory

Changeset 800723


Ignore:
Timestamp:
11/07/2013 10:50:31 PM (12 years ago)
Author:
petroffm
Message:

Updated to version 1.1.1.

Location:
slenderbox/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • slenderbox/trunk/readme.txt

    r677242 r800723  
    1 === Slenderbox ===
     1=== Slenderbox ===
    22Contributors: petroffm
    33Tags: slenderbox, lightbox, image, photo, picture
    44Requires at least: 2.6
    55Tested up to: 3.5.1
    6 Stable tag: 1.1.0
     6Stable tag: 1.1.1
    77License: MIT
    88License URI: http://www.opensource.org/licenses/MIT
     
    1313
    1414This 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).
    1518
    1619= 1.1 (2013-03-06) =
     
    5154== Changelog ==
    5255
     56= 1.1.1 (2013-11-07) =
     57* Use proper way to enqueue scripts (thanks Monika Thon-Soun).
     58
    5359= 1.1 (2013-03-06) =
    5460* 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  
    44 * Plugin URI: https://github.com/mpetroff/slenderbox-wp
    55 * 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.0
     6 * Version: 1.1.1
    77 * Author: Matthew Petroff
    88 * Author URI: http://www.mpetroff.net/
     
    1111/*
    1212 * Slenderbox - A Lightweight Lightbox Script
    13  * Copyright (c) 2012 Matthew Petroff
     13 * Copyright (c) 2012-2013 Matthew Petroff
    1414 *
    1515 * Permission is hereby granted, free of charge, to any person obtaining a copy
     
    9494// Include script if not viewing an admin page
    9595if(!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');
    97100}
    98101
Note: See TracChangeset for help on using the changeset viewer.