Changeset 1074626
- Timestamp:
- 01/24/2015 03:53:40 AM (11 years ago)
- Location:
- change-howdy
- Files:
-
- 4 added
- 2 edited
- 2 copied
-
tags/1.1 (added)
-
tags/1.1/change-howdy.php (copied) (copied from change-howdy/trunk/change-howdy.php)
-
tags/1.1/readme.txt (copied) (copied from change-howdy/trunk/readme.txt)
-
tags/1.2 (added)
-
tags/1.2/change-howdy.php (added)
-
tags/1.2/readme.txt (added)
-
trunk/change-howdy.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
change-howdy/trunk/change-howdy.php
r603770 r1074626 2 2 /* 3 3 Plugin Name: Change Howdy 4 Plugin URI: http://pankajanupam. in/wordpress-plugins/subdomains/5 Description: Change howdy text to welcome 6 Version: 1.17 Author: PANKAJ ANUPAM8 Author URI: http://pankajanupam. in4 Plugin URI: http://pankajanupam.com/wordpress-plugins/change-howdy/ 5 Description: Change howdy text to welcome or any other custom text 6 Version: 2.0 7 Author: BigBrother 8 Author URI: http://pankajanupam.com 9 9 10 10 * LICENSE … … 28 28 <?php 29 29 add_filter('gettext', 'change_howdy', 10, 3); 30 30 31 function change_howdy($translated, $text, $domain) { 31 32 if (!is_admin() || 'default' != $domain) 32 33 return $translated; 34 33 35 if (false !== strpos($translated, 'Howdy')) 34 36 return str_replace('Howdy', 'Welcome', $translated); 37 35 38 return $translated; 36 39 } -
change-howdy/trunk/readme.txt
r603770 r1074626 3 3 Tags: change howdy, admin bar 4 4 Requires at least: 2.8 5 Tested up to: 3.4.25 Tested up to: 4.1 6 6 7 Change Howdy to welcome 7 Change Howdy to welcome or any other text 8 8 9 9 == Description == 10 Change Howdy to welcome 10 Change Howdy to welcome or any other text 11 11 12 12 == Installation == … … 41 41 42 42 == Changelog == 43 =2.0= 44 add compatibility tag 45 46 =1.2= 47 add compatibility tag 48 43 49 =1.1= 44 50 add compatibility tag
Note: See TracChangeset
for help on using the changeset viewer.