Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

need to escape "" #2

Open
wants to merge 1,705 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
1705 commits
Select commit Hold shift + click to select a range
7f297e2
update feature settings to disable in order to use legacy settings
rocketgeek Aug 3, 2021
36b10b5
new default emails reflect default new feature settings
rocketgeek Aug 3, 2021
914d4ba
replace $wpmem->get_text() / wpmem_gettext() with wpmem_get_text()
rocketgeek Aug 3, 2021
012208b
use wpmem_form_field() instead of deprecated functions
rocketgeek Aug 14, 2021
bc8c587
use wpmem_sanitize_class() via api
rocketgeek Aug 14, 2021
58cb0f9
fix bug in cli
rocketgeek Aug 14, 2021
cc66a36
added width property for membership (to match other field classes)
rocketgeek Aug 27, 2021
8afc01e
added params to securify_rest filter
rocketgeek Aug 27, 2021
c4197e8
cleanup
rocketgeek Aug 27, 2021
b9afe70
remove defaults
rocketgeek Aug 27, 2021
0c08310
cleanup
rocketgeek Aug 27, 2021
f12df31
added class to field
rocketgeek Aug 27, 2021
491b3de
added default text if no memberships are created
rocketgeek Aug 27, 2021
5410171
added rocketgeek utility library
rocketgeek Aug 27, 2021
648d61c
use rocketgeek utilities library
rocketgeek Aug 27, 2021
f156ea3
bug fix and api alias updates
rocketgeek Sep 6, 2021
4874bb8
add wpmem_is_reg_form_showing()
rocketgeek Sep 6, 2021
a92f8b1
add invisible captcha (if enabled) to all pages
rocketgeek Sep 6, 2021
ed04c86
cleanup, mostly inline docs w/ some formatting
rocketgeek Oct 6, 2021
698b354
update email api to allow for default values
rocketgeek Oct 6, 2021
0ed8fd8
add products api functions
rocketgeek Oct 6, 2021
b4d244f
fix (temp?) for membership post column width
rocketgeek Oct 6, 2021
5332a6b
tighten up how jquery is loaded
rocketgeek Oct 6, 2021
b33075c
update logout to match wp_logout action with $user_id
rocketgeek Oct 6, 2021
5a9c485
jetpack_mobile_theme_menu is deprecated with no replacement
rocketgeek Oct 6, 2021
cf5db61
update hidden posts from transient to option
rocketgeek Oct 6, 2021
b9fc19b
overhaul widget class and assoc text tags
rocketgeek Oct 6, 2021
a4ee36c
revise message handling for products class
rocketgeek Oct 6, 2021
0e94f03
add wp_editor to product message editor
rocketgeek Oct 6, 2021
40d262d
load user products on wpmem_after_init rather than during class load
rocketgeek Oct 6, 2021
41ed459
cleanup login form builder for wpmem_login_form() function revisions
rocketgeek Oct 6, 2021
e3c9a29
loginfailed is now a default dialog tag
rocketgeek Oct 6, 2021
17036f8
readme updates
rocketgeek Oct 6, 2021
e4ac113
rebuild and rename user export class
rocketgeek Oct 6, 2021
ff2bfcc
allow wpmem_update_option() to return a boolean for success/failure
rocketgeek Oct 6, 2021
65784b6
fixes checking for individual post ids
rocketgeek Oct 7, 2021
ece4a2d
pass original content to wpmem_securify
rocketgeek Oct 7, 2021
77b575c
handle html email sending (if enabled)
rocketgeek Oct 7, 2021
6d707a2
update default css
rocketgeek Oct 9, 2021
129c2fc
clone menus is deprecated
rocketgeek Oct 9, 2021
d26d7c2
form shortcodes function revisions
rocketgeek Oct 9, 2021
340eda5
cleanup
rocketgeek Oct 9, 2021
df2f3f5
prepare for future update: add default custom dialogs for translation
rocketgeek Oct 13, 2021
a0c70d5
move login failed into main dialogs function
rocketgeek Oct 13, 2021
9ccaa74
condense/revise login/reg form display logic
rocketgeek Oct 13, 2021
2b8b63e
get rid of hard p tags and alignment
rocketgeek Oct 13, 2021
ce980d6
condense unnecessary foreach loops
rocketgeek Oct 13, 2021
3f83129
cleanup @todo tags
rocketgeek Oct 13, 2021
194e61a
removed texturize process - no longer used
rocketgeek Oct 23, 2021
0008cb4
public/private functions in email class
rocketgeek Oct 23, 2021
ad11486
move add_new_user function to main user api
rocketgeek Oct 23, 2021
69cba74
add content type to email api
rocketgeek Oct 23, 2021
a5198b4
added regular blocked content view to customizer
rocketgeek Oct 23, 2021
21809ac
public/private functions in email class
rocketgeek Oct 23, 2021
02d216c
remove deprecated texturizing functions
rocketgeek Oct 23, 2021
c7558e0
use moved new user function
rocketgeek Oct 23, 2021
cef5c81
regchk no longer used here as global
rocketgeek Oct 23, 2021
2964c6a
update readme
rocketgeek Oct 23, 2021
9c976f1
fixes checkbox size issues on the add new user admin screen
rocketgeek Dec 3, 2021
df0c9b1
fixes bug in autoexcerpt causing double read more when length is zero
rocketgeek Dec 3, 2021
97c8428
function is obsolete
rocketgeek Dec 3, 2021
b62bb1c
get_reg_row_keys is a function not a variable
rocketgeek Dec 3, 2021
0450318
improve select field type handling and add user available api functions
rocketgeek Dec 3, 2021
0ef2975
fixes a minor error in the screen
rocketgeek Dec 3, 2021
3443375
changing button text (to make it more intuitive)
rocketgeek Dec 3, 2021
74606fc
add action in settings display (can be used by extensions)
rocketgeek Dec 3, 2021
b73ad0d
fixes an issue with select2 that squashes the field when empty
rocketgeek Dec 3, 2021
8d1a8e9
forward/backward compatibility for wpmem_mail_content_type()
rocketgeek Dec 3, 2021
83513aa
clean up and update readme
rocketgeek Dec 3, 2021
9c08a60
fix jquery tabs on user profile
rocketgeek Dec 3, 2021
3fc53c5
user screen count transient 5 minutes (instead of 30 seconds)
rocketgeek Dec 3, 2021
64c159f
updates to user profile membership section
rocketgeek Dec 3, 2021
454bf1b
update license to gpl v3
rocketgeek Dec 3, 2021
13fe973
update utilities library
rocketgeek Dec 4, 2021
2eb8d73
reposition loading of utilities library
rocketgeek Dec 4, 2021
f79d460
debug dialogs
rocketgeek Dec 4, 2021
279a1a0
style adjments for wpmem_msg
rocketgeek Dec 5, 2021
6c8e164
add wpmem_get_display_message() and debug
rocketgeek Dec 5, 2021
ff0533c
update wpmem_sanitize_field() as an alias for rktgk_sanitize_field()
rocketgeek Dec 6, 2021
dfffe11
use wpmem_sanitize_field()
rocketgeek Dec 6, 2021
35c51d3
fix logic for using default login error vs wp native
rocketgeek Dec 6, 2021
d6ee063
updates for swapping default settings
rocketgeek Dec 6, 2021
2ddc0aa
incorrect sanitize function name
rocketgeek Dec 6, 2021
74e888c
improve membership display in user screen
rocketgeek Dec 7, 2021
e4a35f8
added filter for all users screen membership column html
rocketgeek Dec 7, 2021
3108b32
debug if screen loads with no $post (i.e. 404)
rocketgeek Dec 10, 2021
0d7d4df
comment updates
rocketgeek Dec 13, 2021
bc9ea55
additional backward compatibility for dialogs (if legacy key is reque…
rocketgeek Dec 13, 2021
33018aa
code consolidation
rocketgeek Dec 13, 2021
efafd06
fix bug in hidden posts upgrade routine
rocketgeek Dec 14, 2021
b607646
complete integration of registration_errors filter
rocketgeek Dec 14, 2021
fc322a3
one last (hopefully) change, moving confirmation link to general sett…
rocketgeek Dec 14, 2021
9c6c62c
adjustment to array keys based on settings move
rocketgeek Dec 14, 2021
5a1e65b
bug fix (3.4.0.1) to avoid captcha validation being run twice
rocketgeek Dec 24, 2021
d182f10
bug fix (3.4.0.2) to fix error in user export
rocketgeek Dec 24, 2021
8ac45fa
fix bug in wpmem_get_ip()
rocketgeek Dec 27, 2021
4dbd202
api functions to get plugin version and url
rocketgeek Dec 27, 2021
fa0a16e
cleanup
rocketgeek Dec 27, 2021
4437717
check load_textdomain() explicitly
rocketgeek Dec 27, 2021
08f58b6
change "libraries" to "vendor", move external assets to vendor
rocketgeek Dec 27, 2021
c232b38
new tab color
rocketgeek Dec 27, 2021
0c511ba
prepare for 3.4.1
rocketgeek Dec 27, 2021
83792df
cleanup
rocketgeek Dec 27, 2021
6e68dc8
added attachments to email functions
rocketgeek Dec 27, 2021
970c00c
added wpmem_is_user_current() api function
rocketgeek Dec 27, 2021
ed7c9c0
remove use of wpmem_page_pwd_reset(), deprecated as of 3.4.0.
rocketgeek Jan 6, 2022
e8e94fb
fix list table cursor issue to only change on fields tab screen (not …
rocketgeek Jan 6, 2022
c788a6f
fix scalable logic issue with child membership products
rocketgeek Jan 6, 2022
edf2335
cleanup
rocketgeek Jan 6, 2022
63e4ee8
revise membership hierarchy validation
rocketgeek Jan 6, 2022
260d006
change "product" to "membership" and "block" to "restricted"
rocketgeek Jan 6, 2022
629ec62
sanitize membership product screen vars
rocketgeek Jan 6, 2022
e23e819
cleanup
rocketgeek Jan 6, 2022
a22f841
update translation files
rocketgeek Jan 10, 2022
7ee8524
change function name for backwards compatibility in paypal extension
rocketgeek Jan 10, 2022
2942ad2
correct syntax
rocketgeek Jan 10, 2022
5af916e
bug fix release
rocketgeek Jan 10, 2022
5c7bb51
copyright date change
rocketgeek Jan 10, 2022
0349aaf
only apply pwd reset override on frontend (login error)
rocketgeek Jan 10, 2022
eeaf7c0
add index.php
rocketgeek Jan 10, 2022
86cf3e2
add index.php
rocketgeek Jan 10, 2022
c193389
css fix for checkboxes on add new user screen
rocketgeek Jan 11, 2022
540f03d
added wpmem_recaptcha_url filter
rocketgeek Jan 11, 2022
093005d
code consolidation, get rid of wpmem_use_ssl()
rocketgeek Jan 11, 2022
79077fa
only allow pwdreset override on front end
rocketgeek Jan 23, 2022
ec6c23f
fixes undefined $wpmem->reg_form_showing
rocketgeek Jan 23, 2022
5e5c32a
3.4.1.2 updates
rocketgeek Jan 23, 2022
5cd812e
cleanup
rocketgeek Jan 23, 2022
d4e832f
fix to pass memberships to apply_custom_access_message()
rocketgeek Jan 23, 2022
a975582
should explode product if not array
rocketgeek Jan 23, 2022
c7ff8c9
fixes undefined replacement value in loginout function & shortcode
rocketgeek Feb 2, 2022
d1a7268
change load_admin to load on init, reorganize into logical order
rocketgeek Apr 7, 2022
220195c
wpmem_page_forgot_username() is deprecated
rocketgeek Apr 7, 2022
3f7e1dd
utilities library update
rocketgeek Apr 7, 2022
3b189b8
remove echo as this is not currently used
rocketgeek Apr 7, 2022
05d0175
revise replacement for deprecated function
rocketgeek Apr 7, 2022
f8468ef
add default linebreak and fix html formatted notification email
rocketgeek Apr 7, 2022
b461521
improve product restricted message for non-logged in state, add div id
rocketgeek Apr 7, 2022
f292450
wpmem_wp_login_form() set echo to false by default
rocketgeek Apr 7, 2022
2737b25
[wpmem_form wp_login] shortcode improve
rocketgeek Apr 7, 2022
d24c460
fix $user_id validation
rocketgeek Apr 7, 2022
d042a4b
cleanup
rocketgeek Apr 7, 2022
472f9ba
add action as a parameter fo the wpmem_get_action hook
butlerblog Apr 28, 2022
b50e802
load and validate settings in a single action before settings filter
butlerblog Apr 28, 2022
859b07a
load and validate settings in a single action before settings filter
butlerblog Apr 28, 2022
4dde784
set dialog for password reset link to match message used elsewhere (t…
butlerblog Apr 28, 2022
25f74bc
add user_id to email filters
butlerblog Apr 28, 2022
f4bce4f
add id, class, and wrapper attributes to [wpmem_logged_in] shortcode
butlerblog Apr 28, 2022
3ba8d96
add user confirmed field to default export fields (if confirmation li…
butlerblog Apr 28, 2022
b6d85c8
new api functions (and moving some in forms to user api)
butlerblog Apr 28, 2022
24f40f6
cleanup
butlerblog Apr 28, 2022
3f3fdb8
fix validation key param for wpmem_user_set_as_confirmed action
butlerblog Apr 28, 2022
65ebf98
fixes compatibility issues with plugins that use "authenticate" but r…
butlerblog Apr 28, 2022
1c7502c
reorder where settings are loaded
butlerblog Jun 7, 2022
a3b86a5
fixes for password reset
butlerblog Jun 7, 2022
3636403
update to pass user_id in register/update actions
butlerblog Jun 7, 2022
b4daab0
fix in wpmem_is_reg_type() that returned invalid var
butlerblog Jun 7, 2022
3b85f52
change input labels for paypal ext for clarity
butlerblog Jun 7, 2022
f573e40
update uninstall for missed settings
butlerblog Jun 7, 2022
b837806
update inline docs
butlerblog Jun 7, 2022
ea32059
add onboarding
butlerblog Jun 7, 2022
dfa4b07
version 3.4.2 ready for beta
butlerblog Jun 7, 2022
7984268
adds url display to fields shortcode
butlerblog Jun 13, 2022
f400414
add null to check_activated/validated, add filters for each
butlerblog Jun 13, 2022
70736b8
move location of functions in file
butlerblog Jun 13, 2022
cc8cdd9
move onboarding towards compartmentalization
butlerblog Jun 13, 2022
cab00a6
set var for optin, add to options
butlerblog Jun 13, 2022
56e9478
move export object class file to mainspace
butlerblog Jul 8, 2022
9664086
move admin object load back to init
butlerblog Jul 8, 2022
811f497
onboarding updates
butlerblog Jul 8, 2022
78b8aaa
cli fixes
butlerblog Jul 8, 2022
fbb154d
fix undefined variable
butlerblog Jul 8, 2022
a9bc4c0
move export class to load from mainspace rather than admin
butlerblog Jul 8, 2022
dd2f8f8
fix potential issue in [wpmem_field] shortcode if field does not have…
butlerblog Jul 8, 2022
5a04247
admin object needs to load on init for legacy reasons
butlerblog Jul 8, 2022
51e9567
don't load user update on front end (during password reset)
butlerblog Jul 8, 2022
acd5278
cleanup
butlerblog Jul 8, 2022
aa3dabe
fixes for password reset (in case the_content is run more than once)
butlerblog Jul 8, 2022
b0b0301
add [memberships] shortcode for admin notification email
butlerblog Jul 8, 2022
ab5633e
move add options page function
butlerblog Jul 8, 2022
66e401a
move dependency load to after settings are loaded
butlerblog Jul 8, 2022
d232873
further fixes/improvements for password reset (the_content no longer …
butlerblog Jul 8, 2022
f0599bd
fix/improve membership required messaging (show excerpt if logged in)
butlerblog Jul 8, 2022
27f50b5
only load membership features if memberships enabled
butlerblog Jul 8, 2022
f17e42a
release version 3.4.4
butlerblog Jul 8, 2022
9fefbc5
column width adjustments
butlerblog Aug 13, 2022
1619bfc
api updates
butlerblog Aug 13, 2022
7a239a7
add wpmem_login_form_button_rows filter
butlerblog Aug 13, 2022
3ad84de
use new api functions
butlerblog Aug 13, 2022
ad74ad2
use new api functions
butlerblog Aug 13, 2022
5aae201
correct deprecated function
butlerblog Aug 13, 2022
db0d63c
cleanup
butlerblog Aug 13, 2022
060763b
$current_user unnecessary in wpmem_user_has_role()
butlerblog Aug 15, 2022
13d91d9
add wpmem_pwd_reset_email_link
butlerblog Aug 15, 2022
ee5148c
rollback of only loading memberships if enabled (causes compatibility…
butlerblog Aug 15, 2022
11f2de8
return slug if product does not have a title
butlerblog Aug 15, 2022
e464d3a
wpmem_get_membership_name() will always return value
butlerblog Aug 15, 2022
c858ed0
cleanup
butlerblog Aug 15, 2022
025dcd6
comments
butlerblog Sep 2, 2022
b292bbc
add rktgk_build_html_tag() to vendor library (1.1.0)
butlerblog Sep 2, 2022
ecd3f29
add new options and filters for html display of certain fields
butlerblog Sep 2, 2022
d2bdee8
delete utilities to re-add as submodule
butlerblog Sep 15, 2022
ded2bb4
add utilities library as submodule
butlerblog Sep 15, 2022
2464a43
batch update of submodules
butlerblog Sep 15, 2022
c77f66e
batch update of rocketgeek-utilities submodule
butlerblog Sep 15, 2022
01fbf0c
avoid php errors if user misuses the [wpmem_field] shortcode
butlerblog Sep 19, 2022
17e1d43
replace deprecated function
butlerblog Sep 19, 2022
1d68fa2
add index files
butlerblog Sep 19, 2022
033fd9f
beta testing for rc3
butlerblog Sep 19, 2022
0537570
remove bak file
butlerblog Sep 19, 2022
247f9bf
finalize 3.4.5
butlerblog Sep 20, 2022
bc68b2f
coding standards
butlerblog Oct 3, 2022
3b8b4fa
add whitespace to appended message
butlerblog Oct 3, 2022
b08a60a
add login/reg link api functions
butlerblog Oct 3, 2022
34bc1f6
update deprecated functions
butlerblog Oct 3, 2022
0dbc08b
batch update of rocketgeek-utilities submodule
butlerblog Nov 3, 2022
d03047e
adjust new dialogs
butlerblog Nov 26, 2022
df8b52e
new settings api functions
butlerblog Nov 26, 2022
6ffca3b
refine password reset messaging when mod reg and/or confirm link is e…
butlerblog Nov 26, 2022
515df7e
add wpmem_get_user_by_meta_key()
butlerblog Nov 26, 2022
9dc715c
add/refine new membership api functions
butlerblog Nov 26, 2022
0beb6ac
code cleanup
butlerblog Nov 26, 2022
756369a
add "author" attribute support for [wpmem_field]
butlerblog Nov 26, 2022
c1ddf5b
add filter support for [wpmem_profile]
butlerblog Nov 26, 2022
011c71a
fix bug in profile that prevented non-admins from updating custom fields
butlerblog Nov 26, 2022
1d9f6a5
adjust messaging if user validates but still needs to be approved
butlerblog Nov 26, 2022
f88db80
readme updates for 3.4.6
butlerblog Nov 26, 2022
8994af0
batch update of rocketgeek-utilities submodule
butlerblog Jan 22, 2023
30e7611
cleanup
butlerblog Jan 30, 2023
835f999
add membership shortcodes
butlerblog Jan 30, 2023
7ad74de
adding timestamp fieldtype support
butlerblog Jan 30, 2023
73d86ed
adding timestamp fieldtype support
butlerblog Jan 30, 2023
3cd71ad
only check current_screen on admin
butlerblog Jan 30, 2023
c0762b4
move wc settings to subclass, move options out of new feature settings
butlerblog Jan 30, 2023
78f5327
fix user dashboard profile required fields while leaving admin optional
butlerblog Jan 30, 2023
3ee95b7
fields table updates (without wc and profile options yet)
butlerblog Jan 30, 2023
2866eb1
3.4.7 beta release candidate 1
butlerblog Jan 30, 2023
4ca7301
cleanup dev code
rocketgeek Feb 15, 2023
6906094
add check for $current_screen to allow front end ajax triggers
rocketgeek Feb 15, 2023
f459ace
add check for forgot pwd reset
rocketgeek Feb 15, 2023
612c2ea
css fixes
rocketgeek Mar 9, 2023
d3330c0
cleanup of inline comments, typos, and var names
rocketgeek Mar 9, 2023
7a0d9c7
using explicit checks tends to cause problems
rocketgeek Mar 9, 2023
d287884
add wpmem_file_uploaded action hook
rocketgeek Mar 9, 2023
6e7a1a1
batch update of rocketgeek-utilities submodule
butlerblog Mar 14, 2023
9d37a07
batch update of rocketgeek-utilities submodule
butlerblog Mar 22, 2023
380ff8a
update copyright date
butlerblog Mar 28, 2023
d8e5afd
fix dynamically declared object vars for php 8.2 compatibility
butlerblog Mar 28, 2023
e60495a
fix update of new product_restrict setting
butlerblog Mar 28, 2023
8975178
prepare package for 3.4.7 release
butlerblog Mar 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup
rocketgeek committed Aug 27, 2021
commit c4197e80aa226ab69b4f29f8ad990db1cbeb7223
2 changes: 1 addition & 1 deletion includes/admin/class-wp-members-admin-api.php
Original file line number Diff line number Diff line change
@@ -353,7 +353,7 @@ function add_dialog( $args ) {
'label' => $args['label'],
//'input' => $args['name'] . '_dialog',
'value' => $args['value'],
//'value' => ( $args['value'] ) ? $args['value'] : $wpmem->get_text( $key ),
//'value' => ( $args['value'] ) ? $args['value'] : wpmem_get_text( $key ),
);

// Merge args with settings.
2 changes: 1 addition & 1 deletion includes/api/api-forms.php
Original file line number Diff line number Diff line change
@@ -201,7 +201,7 @@ function wpmem_woo_register_form() {
}

/**
* Wrapper for $wpmem->create_form_field().
* Alias for $wpmem->create_form_field().
*
* @since 3.1.2
* @since 3.2.0 Accepts wpmem_create_formfield() arguments.
3 changes: 2 additions & 1 deletion includes/class-wp-members-forms.php
Original file line number Diff line number Diff line change
@@ -383,7 +383,7 @@ function create_form_field( $args ) {
if ( isset( $pieces[1] ) && '' != $pieces[1] ) {
$id_value = esc_attr( $id . '[' . $pieces[1] . ']' );
$label = wpmem_form_label( array( 'meta_key'=>$id_value, 'label'=>esc_html( __( $pieces[0], 'wp-members' ) ), 'type'=>'multicheckbox', 'id'=>$id_value ) );
$str = $str . $this->create_form_field( array(
$str = $str . wpmem_form_field( array(
'id' => $id_value,
'name' => $name . '[]',
'type' => 'checkbox',
@@ -1974,6 +1974,7 @@ function wp_newuser_form() {

case( 'file' ):
case( 'image' ):
echo 'Not currently supported for this form';
break;

default: