Worst Codebase i have ever seen!!!!!!
-
The codebase is an abomination!!!
I’ve spent 6 hours just trying to find a hook for successful user registration and no luck. Obviously you’ve never heard of clean code? It seems quite clear that you guys never even thought about the design and logic behind what it was you where trying to create.
As an example, can you try and explain the logic behind this?
c_ws_plugin__s2member_pro_stripe_utilities::create_customer_charge($stripe_customer->id, $cost_calculations['total'], $cost_calculations['cur'], $cost_calculations['desc'], array(), $post_vars, $cost_calculations)Here’s a golden one:
foreach(array_keys(get_defined_vars()) as $__v) $__refs[$__v] =& $$__v; do_action('ws_plugin__s2member_before_custom_registration_field_errors_4bp', get_defined_vars()); unset($__refs, $__v); // Housekeeping.The above code examples are just some of the nonsensical code I have seen throughout your codebase.
So, can someone please explain to me how I can hook into a successful user registration action? If you plan to reference me to the notifications, don’t. It’s not reliable.
Regards
The topic ‘Worst Codebase i have ever seen!!!!!!’ is closed to new replies.