Changes between Initial Version and Version 1 of Ticket #43884, comment 2
- Timestamp:
- 04/29/2018 10:14:51 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43884, comment 2
initial v1 1 1 Yes, I examine core code more carefully, we don't need to check `is_blog_admin(), is_network_admin(), is_user_admin()` in this case. 2 2 3 But, my main idea was to add a new function `is_front()` in core. It's more clear (understandable) to write `if( is_front() )` than `if( ! is_admin )`...3 But, my main idea was to add a new function `is_front()` in core. It's more clear (understandable) to write `if( is_front() )` than `if( ! is_admin() )`...