Changeset 2929815
- Timestamp:
- 06/22/2023 06:31:18 PM (3 years ago)
- Location:
- wp-user-signups/trunk
- Files:
-
- 1 added
- 3 edited
-
readme.txt (modified) (3 diffs)
-
wp-user-signups.php (modified) (3 diffs)
-
wp-user-signups/includes/classes/class-wp-signup.php (modified) (4 diffs)
-
wp-user-signups/includes/functions/sponsor.php (added)
Legend:
- Unmodified
- Added
- Removed
-
wp-user-signups/trunk/readme.txt
r2298697 r2929815 1 1 === WP User Signups === 2 Contributors: johnjamesjacoby, stuttter 3 Tags: users, signups, admin, multisite 4 Requires at least: 5.0 5 Tested up to: 5.3 6 Stable tag: 5.0.0 7 License: GPLv2 or later 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html 9 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9Q4F4EL5YJ62J 2 Author: Triple J Software, Inc. 3 Author URI: https://jjj.software 4 Donate link: https://buy.stripe.com/7sI3cd2tK1Cy2lydQR 5 Plugin URI: https://wordpress.org/plugins/wp-user-signups/ 6 License URI: https://www.gnu.org/licenses/gpl-2.0.html 7 License: GPLv2 or later 8 Contributors: johnjamesjacoby 9 Tags: user, signups, admin, multisite 10 Requires PHP: 7.2 11 Requires at least: 5.2 12 Tested up to: 5.8 13 Stable tag: 5.0.2 10 14 11 15 == Description == … … 19 23 * Manually edit & activate sign-ups for users who are having trouble 20 24 21 = Also checkout=25 = Recommended Plugins = 22 26 23 * [WP Chosen](https://wordpress.org/plugins/wp-chosen/ "Make long, unwieldy select boxes much more user-friendly.") 24 * [WP Pretty Filters](https://wordpress.org/plugins/wp-pretty-filters/ "Makes post filters better match what's already in Media & Attachments.") 25 * [WP Media Categories](https://wordpress.org/plugins/wp-media-categories/ "Add categories to media & attachments.") 26 * [WP Term Order](https://wordpress.org/plugins/wp-term-order/ "Sort taxonomy terms, your way.") 27 If you like this plugin, you'll probably like these! 28 29 * [WP User Profiles](https://wordpress.org/plugins/wp-user-profiles/ "A sophisticated way to edit users in WordPress.") 30 * [WP User Activity](https://wordpress.org/plugins/wp-user-activity/ "The best way to log activity in WordPress.") 31 * [WP User Avatars](https://wordpress.org/plugins/wp-user-avatars/ "Allow users to upload avatars or choose them from your media library.") 32 * [WP User Groups](https://wordpress.org/plugins/wp-user-groups/ "Group users together with taxonomies & terms.") 33 * [WP User Signups](https://wordpress.org/plugins/wp-user-signups/ "The best way to manage user & site sign-ups in WordPress.") 27 34 * [WP Term Authors](https://wordpress.org/plugins/wp-term-authors/ "Authors for categories, tags, and other taxonomy terms.") 28 35 * [WP Term Colors](https://wordpress.org/plugins/wp-term-colors/ "Pretty colors for categories, tags, and other taxonomy terms.") 36 * [WP Term Families](https://wordpress.org/plugins/wp-term-families/ "Associate taxonomy terms with other taxonomy terms.") 29 37 * [WP Term Icons](https://wordpress.org/plugins/wp-term-icons/ "Pretty icons for categories, tags, and other taxonomy terms.") 38 * [WP Term Images](https://wordpress.org/plugins/wp-term-images/ "Pretty images for categories, tags, and other taxonomy terms.") 39 * [WP Term Locks](https://wordpress.org/plugins/wp-term-locks/ "Protect categories, tags, and other taxonomy terms from being edited or deleted.") 40 * [WP Term Order](https://wordpress.org/plugins/wp-term-order/ "Sort taxonomy terms, your way.") 30 41 * [WP Term Visibility](https://wordpress.org/plugins/wp-term-visibility/ "Visibilities for categories, tags, and other taxonomy terms.") 31 * [WP User Groups](https://wordpress.org/plugins/wp-user-groups/ "Group users together with taxonomies & terms.")32 * [WP User Activity](https://wordpress.org/plugins/wp-user-activity/ "The best way to log activity in WordPress.")33 * [WP User Avatars](https://wordpress.org/plugins/wp-user-avatars/ "Allow users to upload avatars or choose them from your media library.")42 * [WP Media Categories](https://wordpress.org/plugins/wp-media-categories/ "Add categories to media & attachments.") 43 * [WP Pretty Filters](https://wordpress.org/plugins/wp-pretty-filters/ "Makes post filters better match what's already in Media & Attachments.") 44 * [WP Chosen](https://wordpress.org/plugins/wp-chosen/ "Make long, unwieldy select boxes much more user-friendly.") 34 45 35 46 = Credits = … … 63 74 = Does this work with other membership plugins? = 64 75 65 Ya know, I'm not really sure.Please test it with your favorite ones and let me know!76 I'm not really sure! Please test it with your favorite ones and let me know! 66 77 67 78 = Where can I get support? = 68 79 69 This plugin is free for anyone to use. 70 71 [Community support](https://wordpress.org/support/plugin/wp-user-signups) is provided for free by existing users. 72 73 If you require immediate assistance, please consider a paid support subscription. 74 75 = Where can I find documentation? = 76 77 http://github.com/stuttter/wp-user-signups 80 * Community: https://wordpress.org/support/plugin/wp-user-signups 81 * Development: https://github.com/stuttter/wp-user-signups/discussions 78 82 79 83 == Changelog == 84 85 = [5.0.2] - 2021-05-29 = 86 * Update author info 87 * Add sponsor link 88 89 = [5.0.1] - 2021-03-21 = 90 * Improved PHP 7.4 support 80 91 81 92 = [5.0.0] - 2020-05-05 = -
wp-user-signups/trunk/wp-user-signups.php
r2298697 r2929815 2 2 3 3 /** 4 * Plugin Name: WP Signups 5 * Plugin URI: https://wordpress.org/plugins/wp-user-signups/ 6 * Author: John James Jacoby 7 * Author URI: https://profiles.wordpress.org/johnjamesjacoby/ 8 * License: GPLv2 or later 9 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 * Description: Signup management for WordPress 11 * Version: 5.0.0 12 * Text Domain: wp-user-signups 13 * Domain Path: /wp-user-signups/assets/languages/ 4 * Plugin Name: WP Signups 5 * Description: Signup management for WordPress 6 * Plugin URI: https://wordpress.org/plugins/wp-user-signups/ 7 * Author: Triple J Software, Inc. 8 * Author URI: https://jjj.software 9 * License: GPLv2 or later 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 * Text Domain: wp-user-signups 12 * Domain Path: /wp-user-signups/assets/languages 13 * Requires at least: 5.2 14 * Requires PHP: 7.2 15 * Tested up to: 5.8 16 * Version: 5.0.2 14 17 */ 15 18 … … 49 52 require_once $plugin_path . 'includes/functions/capabilities.php'; 50 53 require_once $plugin_path . 'includes/functions/metadata.php'; 54 require_once $plugin_path . 'includes/functions/sponsor.php'; 51 55 require_once $plugin_path . 'includes/functions/hooks.php'; 52 56 … … 100 104 */ 101 105 function wp_signups_get_asset_version() { 102 return 202005050001; 106 return defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG 107 ? time() 108 : 202105290001; 103 109 } -
wp-user-signups/trunk/wp-user-signups/includes/classes/class-wp-signup.php
r2298697 r2929815 168 168 169 169 if ( ! is_numeric( $signup ) ) { 170 return new WP_Error( 'wp_signups_invalid_id', esc_html__( 'Signup not found.', 'wp-user-signups' ), $ this);170 return new WP_Error( 'wp_signups_invalid_id', esc_html__( 'Signup not found.', 'wp-user-signups' ), $signup ); 171 171 } 172 172 … … 208 208 // Bail if missing login or email 209 209 if ( empty( $r['user_login'] ) || empty( $r['user_email'] ) ) { 210 return new WP_Error( 'wp_signups_empty_id', esc_html__( 'Signup not found.', 'wp-user-signups' ), $ this);210 return new WP_Error( 'wp_signups_empty_id', esc_html__( 'Signup not found.', 'wp-user-signups' ), $r ); 211 211 } 212 212 … … 220 220 // Domain exists already... 221 221 if ( ! empty( $existing ) ) { 222 return new WP_Error( 'wp_signups_domain_exists', esc_html__( 'That signup already exists.', 'wp-user-signups' ), $ this);222 return new WP_Error( 'wp_signups_domain_exists', esc_html__( 'That signup already exists.', 'wp-user-signups' ), $existing ); 223 223 } 224 224 … … 241 241 } 242 242 243 return new WP_Error( 'wp_signups_insert_failed', esc_html__( 'Signup creation failed.', 'wp-user-signups' ), $ this );243 return new WP_Error( 'wp_signups_insert_failed', esc_html__( 'Signup creation failed.', 'wp-user-signups' ), $recent_errors ); 244 244 } 245 245
Note: See TracChangeset
for help on using the changeset viewer.