[wp-trac] [WordPress Trac] #17912: WordPress not "realizing" that I'm an author on 404 error page

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 30 18:17:15 UTC 2011


#17912: WordPress not "realizing" that I'm an author on 404 error page
-------------------------------------+------------------------------
 Reporter:  itsalltech1              |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  3.2
 Severity:  normal                   |  Resolution:
 Keywords:  close reporter-feedback  |
-------------------------------------+------------------------------

Comment (by itsalltech1):

 I tried placing the following code directly in the 404.php and it still
 didn't work...


 {{{
 <?php if( current_user_can('edit_post') ) : ?> <a href="<?php
 bloginfo("url")?>/wp-admin/post-new.php"><?php _e('New Post', ''); ?></a>
 <?php endif; ?>
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17912#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list