Changeset 1864799
- Timestamp:
- 04/26/2018 01:20:40 PM (8 years ago)
- Location:
- yumjam-require-login/trunk
- Files:
-
- 8 added
- 2 edited
-
lib (added)
-
lib/chosen (added)
-
lib/chosen/chosen-sprite.png (added)
-
lib/chosen/chosen-sprite@2x.png (added)
-
lib/chosen/chosen.css (added)
-
lib/chosen/chosen.jquery.js (added)
-
lib/chosen/chosen.jquery.min.js (added)
-
lib/chosen/chosen.min.css (added)
-
readme.txt (modified) (1 diff)
-
require_login.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yumjam-require-login/trunk/readme.txt
r1852463 r1864799 45 45 == Changelog == 46 46 47 = 1.1.1 = 48 * Add Chosen library for multi select lists 49 47 50 = 1.1.0 = 48 51 * add ability to select "No Logo" to remove the image from the Login Page -
yumjam-require-login/trunk/require_login.php
r1858902 r1864799 12 12 * Plugin URI: http://www.yumjam.co.uk/yumjam-wordpress-plugins/require-login/ 13 13 * Description: Disable the public site functionality, always prompt for a login before showing content, make wordpress and intranet style site 14 * Version: 1.1. 014 * Version: 1.1.1 15 15 * Author: YumJam 16 16 * Author URI: http://www.yumjam.co.uk … … 20 20 * Tags: comments 21 21 * Requires at least: 4.0 22 * Tested up to: 4.9. 423 * Stable tag: 4.9. 422 * Tested up to: 4.9.5 23 * Stable tag: 4.9.5 24 24 */ 25 25 if (!defined('ABSPATH')) { … … 420 420 */ 421 421 public function rl_backend_scripts($hook) { 422 /* if ('edit.php' != $hook) { 423 return; 424 } */ 422 wp_enqueue_media(); 423 424 if (wp_style_is( 'chosen', 'registered' )) { 425 //remove old chosen style 426 wp_deregister_style('chosen'); 427 } 428 429 wp_register_style('chosen', YJRL_PLUGIN_URL . 'lib/chosen/chosen.css'); 430 wp_enqueue_style('chosen'); 431 425 432 wp_enqueue_style('rl-back-style', YJRL_PLUGIN_URL . 'css/admin.css'); 426 433 wp_enqueue_script('rl-front', YJRL_PLUGIN_URL . 'js/admin.js', array('jquery'), '1.0.0', true); 434 wp_enqueue_script('yj-chosen', YJRL_PLUGIN_URL . 'lib/chosen/chosen.jquery.js', array('jquery', 'wp-color-picker', 'jquery-ui-core', 'jquery-ui-slider'), '1.5.1', true); 427 435 } 428 436
Note: See TracChangeset
for help on using the changeset viewer.