Changes between Initial Version and Version 1 of Ticket #21601, comment 3
- Timestamp:
- 08/16/12 01:25:59 (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21601, comment 3
initial v1 1 Actually, you could just do `!empty( $user->get( 'user_url' ) )`, since get() doesn't throw a notice for undefined properties. 1 Actually, since get() doesn't throw a notice for undefined properties, you could just do this: 2 3 {{{ 4 $value = $user->get( 'user_url' ); 5 if ( !empty( $value ) ) 6 ... 7 }}}
