WordPress.org

Make WordPress Core

Ticket #17383: your_rights_and_footer.diff

File your_rights_and_footer.diff, 3.8 KB (added by jane, 4 years ago)
  • wp-admin/rights.php

     
     1<?php 
     2/** 
     3 * Your Rights administration panel. 
     4 * 
     5 * @package WordPress 
     6 * @subpackage Administration 
     7 */ 
     8 
     9/** WordPress Administration Bootstrap */ 
     10require_once( './admin.php' ); 
     11 
     12$title = __( 'Your Rights' ); 
     13$parent_file = 'index.php'; 
     14 
     15include( './admin-header.php' ); 
     16?> 
     17<div class="wrap"> 
     18<?php screen_icon(); ?> 
     19<h2><?php _e( 'Your Rights' ); ?></h2> 
     20 
     21<p><?php _e( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="http://wordpress.org/about/license/">license</a>, the GPL.' ); ?></p> 
     22 
     23<ol start="0"> 
     24        <li><?php _e( 'You have the freedom to run the program, for any purpose.' ); ?></li> 
     25        <li><?php _e( 'You have access to the source code, the freedom to study how the program works, and the freedom to change it to make it do what you wish.' ); ?></li>  
     26        <li><?php _e( 'You have the freedom to redistribute copies of the original program so you can help your neighbor.' ); ?></li> 
     27        <li><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></li> 
     28</ol>  
     29 
     30<p><?php _e( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We&#8217;re flattered every time someone spreads the good word, just make sure to <a href="http://wordpressfoundation.org/trademark-policy/">check out our trademark guidelines</a> first.' ); ?></p> 
     31 
     32<p><?php printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="http:wordpress.org/about/license/">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ), admin_url( 'plugins.php'), admin_url( 'themes.php') ); ?></p>  
     33 
     34<p><?php _e( 'Don&#8217;t you wish all software came with these freedoms? So do we! For more information, check out the <a href="http://www.fsf.org/">Free Software Foundation</a>.' ); ?></p> 
     35 
     36</div> 
     37<?php include( 'admin-footer.php' ); ?> 
     38 No newline at end of file 
  • wp-admin/admin-footer.php

     
    1919<p id="footer-left" class="alignleft"><?php 
    2020do_action( 'in_admin_footer' ); 
    2121$upgrade = apply_filters( 'update_footer', '' ); 
    22 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.').'</span> &bull; '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' &bull; '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>') ); ?> 
    23 </p> 
     22echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.').'</span> &bull; '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' &bull; '.sprintf( __( '<a href="%s">Your Rights</a>' ), admin_url( 'rights.php' ) ).' &bull; '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>') ); ?></p> 
    2423<p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p> 
    2524<div class="clear"></div> 
    2625</div>