[wp-trac] [WordPress Trac] #41090: is_admin() weakens semantics

WordPress Trac noreply at wordpress.org
Sun Jun 18 05:42:56 UTC 2017


#41090: is_admin() weakens semantics
-------------------------+-----------------------------
 Reporter:  pmbaldha     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Many new wordpress developed are feeling confused that is_admin() function
 check whether admin user logged in or admin side of wordpress. I would
 like to suggest that is_admin should become as is_admin_side() function
 and is_admin should be deprecated. The function name should be self
 explainatory.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41090>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list