PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.18.0
GiveWP – Donation Plugin and Fundraising Platform v4.18.0
4.18.0 4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 All 257 releases
← All changes | includes/admin/shortcodes/shortcode-give-login.php +22 -12 2.3.0 → 4.18.0 View file →
@@ -3,9 +3,9 @@
3 3 * The [give_login] Shortcode Generator class
4 4 *
5 5 * @package Give
6 6 * @subpackage Admin
7 - * @copyright Copyright (c) 2016, WordImpress
7 + * @copyright Copyright (c) 2016, GiveWP
8 8 * @license https://opensource.org/licenses/gpl-license GNU Public License
9 9 * @since 1.3.0
10 10 */
11 11
@@ -44,19 +44,29 @@
44 44 'name' => 'login-redirect',
45 45 'minWidth' => 320,
46 46 'tooltip' => esc_attr__( 'Enter an URL here to redirect to after login.', 'give' ),
47 47 ),
48 - array(
49 - 'type' => 'container',
50 - 'html' => sprintf( '<p class="no-margin">%s</p>', esc_html__( 'Logout Redirect URL (optional):', 'give' ) ),
51 - ),
52 - array(
53 - 'type' => 'textbox',
54 - 'name' => 'logout-redirect',
55 - 'minWidth' => 320,
56 - 'tooltip' => esc_attr__( 'Enter an URL here to redirect to after logout.', 'give' ),
57 - ),
48 + array(
49 + 'type' => 'container',
50 + 'html' => sprintf( '<p class="no-margin">%s</p>', esc_html__( 'Logout Redirect URL (optional):', 'give' ) ),
51 + ),
52 + array(
53 + 'type' => 'textbox',
54 + 'name' => 'logout-redirect',
55 + 'minWidth' => 320,
56 + 'tooltip' => esc_attr__( 'Enter an URL here to redirect to after logout.', 'give' ),
57 + ),
58 + array(
59 + 'type' => 'docs_link',
60 + 'text' => esc_html__( 'Learn more about the Login Shortcode', 'give' ),
61 + 'link' => 'http://docs.givewp.com/shortcode-give-login',
62 + ),
58 63 );
59 64 }
60 65 }
61 66
62 -new Give_Shortcode_Login;
67 +/**
68 + * @since 4.3.0 use init action
69 + */
70 +add_action( 'init', static function () {
71 + new Give_Shortcode_Login();
72 +});