Changeset 517093
- Timestamp:
- 03/10/2012 03:31:12 AM (14 years ago)
- Location:
- wp-user-control/trunk
- Files:
-
- 6 edited
-
inc/SidebarWidget.php (modified) (2 diffs)
-
inc/Utilities.php (modified) (1 diff)
-
inc/WPUserControlWidget.php (modified) (2 diffs)
-
js/wp-user-control-widget.js (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
-
wp_uc_widget.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-user-control/trunk/inc/SidebarWidget.php
r516378 r517093 31 31 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 32 33 This is the Googlyzerwp_SidebarWidget PHP base class file.33 This is the WP User Control wp_SidebarWidget PHP base class file. 34 34 */ 35 35 … … 222 222 // check to make sure selections is an array 223 223 if ( is_array( $selections ) ) { 224 if ( ! googlyzer_Utilities::isAssociative( $selections ) ) {224 if ( !wp_PluginUtilities::isAssociative( $selections ) ) { 225 225 foreach ( $selections as $key => $item ) { 226 226 if ( $type === 'dropdown' ) { -
wp-user-control/trunk/inc/Utilities.php
r516378 r517093 96 96 } 97 97 98 /** 99 * 100 * method to check if array is associative 101 * 102 * @param array $arr 103 * 104 * @return boolean 105 */ 106 public function isAssociative( $arr ) { 107 if ( is_array( $arr ) ) { 108 foreach ( $arr as $key => $value ) { 109 if ( !is_int( $key ) ) { 110 return true; 111 } 112 } 113 } 114 return false; 115 } 116 98 117 } // end class wp_PluginUtilities 99 118 -
wp-user-control/trunk/inc/WPUserControlWidget.php
r516378 r517093 175 175 function wp_user_control_Widget() { 176 176 // initialize widget 177 $my_locale = ( get_locale() ) ? get_locale() : 'en_US'; 177 178 $this->init( array( 178 179 'widgetDescription' => __( 'Customizable user control widget for login, registration, lost password, etc. within sidebar.', 'wp-user-control' ), 179 180 'widgetDomain' => 'wp-user-control', 180 'widgetLocale' => get_locale(),181 'widgetLocale' => $my_locale, 181 182 'widgetName' => 'WP User Control Widget', 182 183 'widgetSlug' => 'wp-user-control-widget', … … 184 185 'widgetStyleHandle' => 'wp-user-control-widget-style' 185 186 ) ); 186 187 187 // add action hooks 188 188 add_action( -
wp-user-control/trunk/js/wp-user-control-widget.js
r516378 r517093 2 2 WP User Control 3 3 Contact: Bill Edgar (bill.edgar@oaktondata.com) 4 http://www.oaktondata.com/ googlyzer4 http://www.oaktondata.com/wp-user-control 5 5 6 Copyright (c) 201 1-2012, Oakton Data LLC6 Copyright (c) 2012, Oakton Data LLC 7 7 All rights reserved. 8 8 … … 35 35 function wp_user_control_widget_js( target ) { 36 36 37 // jQuery( "#" + target + "_tab" ).addClass( "active_login" );38 37 jQuery( ".tab_content_login" ).hide(); 39 38 jQuery( "ul.tabs_login #" + target + "_tab" ).addClass( "active_login" ).show(); -
wp-user-control/trunk/readme.txt
r516378 r517093 5 5 Requires at least: 2.9 6 6 Tested up to: 3.3.1 7 Stable tag: 1.2 7 Stable tag: 1.2.1 8 8 9 9 Add a WordPress login widget that allows a user to login, register, or reset their password, ALL without leaving their current location! … … 12 12 13 13 WP User Control adds a WordPress login widget (sidebar) that allows a user to login, register, retrieve lost passwords, etc. without leaving a specific location within your site. 14 15 14 <strong>Key Features:</strong> 16 15 <ul> … … 69 68 == Changelog == 70 69 70 = 1.2.1 = 71 * Fixed bug preventing options screen from displaying resulting from incorrect internal function call. 72 71 73 = 1.2 = 72 74 * Fixed bug preventing javascript from activating on some systems. Separated JS into separate file and loaded using WP enqueuing method to make sure jQuery is properly loaded. … … 91 93 == Upgrade Notice == 92 94 95 = 1.1.2 = 96 * IMPORTANT: Fixed bug preventing options screen from displaying resulting from incorrect internal function call. 97 93 98 = 1.2 = 94 99 * Added a bunch of new features (custom links, choose default tab, internationalization, etc.) and fixed some minor bugs (javascript not loading for some users, handling of password reset for invalid userid or emails, etc.) -
wp-user-control/trunk/wp_uc_widget.php
r516378 r517093 5 5 Plugin Name: WP User Control 6 6 Plugin URI: http://oaktondata.com/wp-user-control/ 7 Version: 1.2 7 Version: 1.2.1 8 8 Author: Bill Edgar 9 9 Author URI: http://oaktondata.com … … 43 43 44 44 // define constants 45 define( 'WP_USER_CONTROL_WIDGET_VERSION', '1.2 ' );45 define( 'WP_USER_CONTROL_WIDGET_VERSION', '1.2.1' ); 46 46 define( 'WP_USER_CONTROL_WIDGET_BASE_URL', network_site_url() ); 47 47
Note: See TracChangeset
for help on using the changeset viewer.