Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41544, comment 1


Ignore:
Timestamp:
08/03/2017 11:43:47 AM (7 years ago)
Author:
knutsp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41544, comment 1

    initial v1  
    66{{{#!php
    77<?php
    8 if is_numeric( $id_or_email ) && $id_or_email > 0 {
     8if ( is_numeric( $id_or_email ) && $id_or_email > 0 ) {
    99    $user = get_user_by ( 'id', $id_or_email );
    1010} elseif ( is_email( $id_or_email ) ) {