[wp-trac] [WordPress Trac] #40081: Remove wp-admin links from all Core emails

WordPress Trac noreply at wordpress.org
Thu Mar 9 15:50:45 UTC 2017


#40081: Remove wp-admin links from all Core emails
--------------------------+------------------------------
 Reporter:  iandunn       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Mail          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by skithund):

 Replying to [comment:1 SergeyBiryukov]:
 > > So, I think we should consider removing all links to wp-admin, and
 replace them with a message asking users to log in to their site instead.
 >
 > I don't think that would work for [source:tags/4.7.3/src/wp-
 includes/pluggable.php#L1627 comment moderation links]. They could
 probably be replaced with non-admin links.

 The full regexp for `URI_WPADMIN` is `,/wp-admin/\w+/,i` so it shouldn't
 match `/wp-admin/comment.php?action=approve…`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40081#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list