WordPress.org

Plugin Directory

Changeset 608644


Ignore:
Timestamp:
10/05/12 19:00:27 (19 months ago)
Author:
andy
Message:

jetpack notes: remove debug link for non-admins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/branches/notes/jetpack.php

    r608642 r608644  
    19971997                    <a href="http://automattic.com/privacy/" target="_blank"><?php _e( 'Privacy Policy', 'jetpack' ); ?></a> | 
    19981998                    <a href="http://wordpress.com/tos/" target="_blank"><?php _e( 'Terms of Service', 'jetpack' ); ?></a> | 
     1999<?php if ( current_user_can( 'manage_options' ) ) : ?> 
    19992000                    <a href="<?php echo esc_url( wp_nonce_url( admin_url( 'admin-ajax.php?action=jetpack_debug' ), 'jetpack_debug' ) ); ?>" id="jp-debug"><?php _e( 'Debug', 'jetpack' ); ?></a> | 
     2001<?php endif; ?> 
    20002002                    <a href="http://jetpack.me/support/" target="_blank"><?php _e( 'Support', 'jetpack' ); ?></a> 
    20012003                </p> 
Note: See TracChangeset for help on using the changeset viewer.