Changes between Version 1 and Version 2 of Ticket #51463, comment 2
- Timestamp:
- 10/07/2020 04:21:24 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51463, comment 2
v1 v2 1 I tend to think that the parameters passed to an action shouldn't include ones it can directly derive from what it has already got. So, here, the Carmenfunction can already call is_user_logged_in() and has_action() itself.1 I tend to think that the parameters passed to an action shouldn't include ones it can directly derive from what it has already got. So, here, the called function can already call is_user_logged_in() and has_action() itself.