Changeset 395812
- Timestamp:
- 06/11/2011 02:10:28 AM (15 years ago)
- Location:
- better-howdy
- Files:
-
- 4 deleted
- 4 edited
- 1 copied
-
tags/1.2 (copied) (copied from better-howdy/trunk)
-
tags/1.2/better-howdy.php (modified) (1 diff)
-
tags/1.2/readme.txt (modified) (3 diffs)
-
tags/1.2/screenshot-1.png (deleted)
-
tags/1.2/screenshot-2.png (deleted)
-
trunk/better-howdy.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/screenshot-1.png (deleted)
-
trunk/screenshot-2.png (deleted)
Legend:
- Unmodified
- Added
- Removed
-
better-howdy/tags/1.2/better-howdy.php
r114471 r395812 5 5 Description: Remove 'Howdy' and restructure the 'Howdy' line. Props to Ozh for <a href="http://planetozh.com/blog/my-projects/no-howdy-a-plugin-for-wordpress/">No Howdy</a>. 6 6 Author: Matt Martz 7 Version: 1. 17 Version: 1.2 8 8 Author URI: http://sivel.net/ 9 9 10 Copyright (c) 2008 Matt Martz (http://sivel.net)10 Copyright (c) 2008-2011 Matt Martz (http://sivel.net) 11 11 Better Howdy is released under the GNU General Public License (GPL) 12 12 http://www.gnu.org/licenses/gpl-2.0.txt 13 14 13 */ 15 14 16 // Hook in 17 if (is_admin()) { 18 add_action('init', 'better_howdy_h'); 19 add_action('admin_footer', 'better_howdy_f'); 15 if ( ! is_admin() ) 16 return; 20 17 21 // Load jQuery 22 function better_howdy_h() { 23 wp_enqueue_script('jquery'); 24 } 18 add_filter( 'admin_user_info_links', 'better_howdy' ); 25 19 26 // Modify 27 function better_howdy_f() { 28 ?> 29 <!-- Begin Bettery Howdy --> 30 <script type="text/javascript"> 31 /* <![CDATA[ */ 32 var user = jQuery('#user_info p a:first').text(); 33 var howdy = jQuery('#user_info p') 34 .html() 35 .replace(/<.+>/ig,'') 36 .replace(/\ \|\n/ig,''); 37 jQuery('#user_info p') 38 .html( 39 jQuery('#user_info p') 40 .html() 41 .replace(user,'My Profile') 42 .replace(howdy,'Logged in as ' + user + ' | ') 43 .replace('!',' |') 44 .replace('| |','|') 45 ); 46 /* ]]> */ 47 </script> 48 <!-- End Better Howdy --> 49 <?php 50 } 20 function better_howdy( $links ) { 21 $links[5] = str_replace( 'Howdy,', 'Logged in as', $links[5] ); 22 return $links; 51 23 } 52 ?> -
better-howdy/tags/1.2/readme.txt
r127766 r395812 1 1 === Better Howdy === 2 2 Contributors: sivel 3 Donate Link: http s://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=C3UA7TDWM4NLQ&lc=US&item_name=Donations%20for%20Sivel%2enet%20WordPress%20Plugins&cn=Add%20special%20instructions%20to%20the%20seller&no_shipping=1&rm=1&return=http%3a%2f%2fsivel%2enet%2fthanks¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted4 Tags: howdy, jquery,profile5 Requires at least: 2.56 Tested up to: 2.97 Stable tag: 1. 13 Donate Link: http://sivel.net/donate 4 Tags: howdy, profile 5 Requires at least: 3.0 6 Tested up to: 3.2 7 Stable tag: 1.2 8 8 9 Remove 'Howdy' and restructure the 'Howdy' line.9 Remove and restructure the 'Howdy' line by changing 'Howdy' to 'Logged in as'. 10 10 11 11 == Description == 12 12 13 Remove 'Howdy'and restructure the 'Howdy' line. Props to Ozh for [No Howdy](http://planetozh.com/blog/my-projects/no-howdy-a-plugin-for-wordpress/).13 Remove and restructure the 'Howdy' line. Props to Ozh for [No Howdy](http://planetozh.com/blog/my-projects/no-howdy-a-plugin-for-wordpress/). 14 14 15 People have always seemed to complain about the 'Howdy' on the admin pages. I personally don't care about the use of the word but think that the 'Howdy area' could be more functional and user friendly. See the 'Screenshots' page examples.15 People have always seemed to complain about the 'Howdy' on the admin pages. I personally don't care about the use of the word but think that the 'Howdy area' could be more functional and user friendly. 16 16 17 17 == Installation == … … 19 19 1. Upload the `better-howdy` folder to the `/wp-content/plugins/` directory 20 20 1. Activate the plugin through the 'Plugins' menu in WordPress 21 22 NOTE: See "Other Notes" for Upgrade and Usage Instructions as well as other pertinent topics.23 24 == Frequently Asked Questions ==25 26 = I have the plugin activated but I do not see anything different. Whats wrong? =27 28 This plugin utilizes Javascript/jQuery to make the modifications. If you have Javascript disabled in your browser you will not see the change.29 30 == Screenshots ==31 32 1. WordPress 2.633 2. WordPress 2.734 35 == Upgrade ==36 37 1. Delete the previous `better-howdy` folder from the `/wp-content/plugins/` directory38 1. Upload the new `better-howdy` folder to the `/wp-content/plugins/` directory39 21 40 22 == Usage == … … 44 26 == Changelog == 45 27 28 = 1.2 (2011-06-11): = 29 * Use a proper filter now that it exists 30 46 31 = 1.1 (2008-10-17): = 47 32 * Changes for the ever changing WordPress 2.7 -
better-howdy/trunk/better-howdy.php
r114471 r395812 5 5 Description: Remove 'Howdy' and restructure the 'Howdy' line. Props to Ozh for <a href="http://planetozh.com/blog/my-projects/no-howdy-a-plugin-for-wordpress/">No Howdy</a>. 6 6 Author: Matt Martz 7 Version: 1. 17 Version: 1.2 8 8 Author URI: http://sivel.net/ 9 9 10 Copyright (c) 2008 Matt Martz (http://sivel.net)10 Copyright (c) 2008-2011 Matt Martz (http://sivel.net) 11 11 Better Howdy is released under the GNU General Public License (GPL) 12 12 http://www.gnu.org/licenses/gpl-2.0.txt 13 14 13 */ 15 14 16 // Hook in 17 if (is_admin()) { 18 add_action('init', 'better_howdy_h'); 19 add_action('admin_footer', 'better_howdy_f'); 15 if ( ! is_admin() ) 16 return; 20 17 21 // Load jQuery 22 function better_howdy_h() { 23 wp_enqueue_script('jquery'); 24 } 18 add_filter( 'admin_user_info_links', 'better_howdy' ); 25 19 26 // Modify 27 function better_howdy_f() { 28 ?> 29 <!-- Begin Bettery Howdy --> 30 <script type="text/javascript"> 31 /* <![CDATA[ */ 32 var user = jQuery('#user_info p a:first').text(); 33 var howdy = jQuery('#user_info p') 34 .html() 35 .replace(/<.+>/ig,'') 36 .replace(/\ \|\n/ig,''); 37 jQuery('#user_info p') 38 .html( 39 jQuery('#user_info p') 40 .html() 41 .replace(user,'My Profile') 42 .replace(howdy,'Logged in as ' + user + ' | ') 43 .replace('!',' |') 44 .replace('| |','|') 45 ); 46 /* ]]> */ 47 </script> 48 <!-- End Better Howdy --> 49 <?php 50 } 20 function better_howdy( $links ) { 21 $links[5] = str_replace( 'Howdy,', 'Logged in as', $links[5] ); 22 return $links; 51 23 } 52 ?> -
better-howdy/trunk/readme.txt
r127766 r395812 1 1 === Better Howdy === 2 2 Contributors: sivel 3 Donate Link: http s://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=C3UA7TDWM4NLQ&lc=US&item_name=Donations%20for%20Sivel%2enet%20WordPress%20Plugins&cn=Add%20special%20instructions%20to%20the%20seller&no_shipping=1&rm=1&return=http%3a%2f%2fsivel%2enet%2fthanks¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted4 Tags: howdy, jquery,profile5 Requires at least: 2.56 Tested up to: 2.97 Stable tag: 1. 13 Donate Link: http://sivel.net/donate 4 Tags: howdy, profile 5 Requires at least: 3.0 6 Tested up to: 3.2 7 Stable tag: 1.2 8 8 9 Remove 'Howdy' and restructure the 'Howdy' line.9 Remove and restructure the 'Howdy' line by changing 'Howdy' to 'Logged in as'. 10 10 11 11 == Description == 12 12 13 Remove 'Howdy'and restructure the 'Howdy' line. Props to Ozh for [No Howdy](http://planetozh.com/blog/my-projects/no-howdy-a-plugin-for-wordpress/).13 Remove and restructure the 'Howdy' line. Props to Ozh for [No Howdy](http://planetozh.com/blog/my-projects/no-howdy-a-plugin-for-wordpress/). 14 14 15 People have always seemed to complain about the 'Howdy' on the admin pages. I personally don't care about the use of the word but think that the 'Howdy area' could be more functional and user friendly. See the 'Screenshots' page examples.15 People have always seemed to complain about the 'Howdy' on the admin pages. I personally don't care about the use of the word but think that the 'Howdy area' could be more functional and user friendly. 16 16 17 17 == Installation == … … 19 19 1. Upload the `better-howdy` folder to the `/wp-content/plugins/` directory 20 20 1. Activate the plugin through the 'Plugins' menu in WordPress 21 22 NOTE: See "Other Notes" for Upgrade and Usage Instructions as well as other pertinent topics.23 24 == Frequently Asked Questions ==25 26 = I have the plugin activated but I do not see anything different. Whats wrong? =27 28 This plugin utilizes Javascript/jQuery to make the modifications. If you have Javascript disabled in your browser you will not see the change.29 30 == Screenshots ==31 32 1. WordPress 2.633 2. WordPress 2.734 35 == Upgrade ==36 37 1. Delete the previous `better-howdy` folder from the `/wp-content/plugins/` directory38 1. Upload the new `better-howdy` folder to the `/wp-content/plugins/` directory39 21 40 22 == Usage == … … 44 26 == Changelog == 45 27 28 = 1.2 (2011-06-11): = 29 * Use a proper filter now that it exists 30 46 31 = 1.1 (2008-10-17): = 47 32 * Changes for the ever changing WordPress 2.7
Note: See TracChangeset
for help on using the changeset viewer.