Changeset 607602
- Timestamp:
- 10/03/2012 06:50:47 PM (13 years ago)
- Location:
- favparser
- Files:
-
- 3 edited
-
tags/1.0/readme.txt (modified) (2 diffs)
-
tags/1.1/favparser.php (modified) (5 diffs)
-
trunk/favparser.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
favparser/tags/1.0/readme.txt
r583595 r607602 1 1 === FavParser === 2 2 Contributors: emcode 3 Donate link: 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SPY83T4ZJM26Y 4 4 Tags: favicon, links, posts, url, parse 5 5 Requires at least: 2.5 6 6 Tested up to: 3.4 7 Stable tag: 1. 07 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 16 16 You can see the demo at http://kupimito.com/ 17 17 18 [Plugin website](http://www.kupimito.com) 18 19 19 20 == Installation == -
favparser/tags/1.1/favparser.php
r582088 r607602 1 1 <?php 2 3 4 5 2 /* 6 7 3 Plugin Name: FavParser 8 9 4 Plugin URI: http://www.emcode.net 10 11 5 Description: This plugin parses posts and adds favicon to every external link it finds, next to it. Liven up your links! 12 13 6 Version: 1.1 14 15 7 Author: Ivan Ciric 16 17 8 Author URI: http://www.emcode.net 18 19 9 License: GPL2 20 21 10 */ 22 23 24 25 11 /* Copyright 2012 Ivan Ciric (email : office@emcode.net) 26 27 28 29 12 This program is free software; you can redistribute it and/or modify 30 31 13 it under the terms of the GNU General Public License, version 2, as 32 33 14 published by the Free Software Foundation. 34 35 36 37 15 This program is distributed in the hope that it will be useful, 38 39 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 40 41 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 42 43 18 GNU General Public License for more details. 44 45 46 47 19 You should have received a copy of the GNU General Public License 48 49 20 along with this program; if not, write to the Free Software 50 51 21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 52 53 22 */ 54 55 23 /* Version check */ 56 24 global $wp_version; … … 65 33 } 66 34 67 68 69 70 35 register_activation_hook( __FILE__, array('favparser', 'putFavicon')); 71 36 add_filter( 'the_content', array('favparser', 'putFavicon'), 5); … … 78 43 */ 79 44 public static function putFavicon(){ 80 81 82 45 83 46 //call WP global variable … … 129 92 $text = $replaced; 130 93 131 132 133 94 $i++; 134 95 135 96 } 136 137 138 97 //return post contents to be displayed 139 98 return $text; … … 142 101 143 102 } 144 145 146 103 ?> -
favparser/trunk/favparser.php
r582085 r607602 1 1 <?php 2 3 4 5 2 /* 6 7 3 Plugin Name: FavParser 8 9 4 Plugin URI: http://www.emcode.net 10 11 5 Description: This plugin parses posts and adds favicon to every external link it finds, next to it. Liven up your links! 12 13 6 Version: 1.1 14 15 7 Author: Ivan Ciric 16 17 8 Author URI: http://www.emcode.net 18 19 9 License: GPL2 20 21 10 */ 22 23 24 25 11 /* Copyright 2012 Ivan Ciric (email : office@emcode.net) 26 27 28 29 12 This program is free software; you can redistribute it and/or modify 30 31 13 it under the terms of the GNU General Public License, version 2, as 32 33 14 published by the Free Software Foundation. 34 35 36 37 15 This program is distributed in the hope that it will be useful, 38 39 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 40 41 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 42 43 18 GNU General Public License for more details. 44 45 46 47 19 You should have received a copy of the GNU General Public License 48 49 20 along with this program; if not, write to the Free Software 50 51 21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 52 53 22 */ 54 55 23 /* Version check */ 56 24 global $wp_version; … … 65 33 } 66 34 67 68 69 70 35 register_activation_hook( __FILE__, array('favparser', 'putFavicon')); 71 36 add_filter( 'the_content', array('favparser', 'putFavicon'), 5); … … 78 43 */ 79 44 public static function putFavicon(){ 80 81 82 45 83 46 //call WP global variable … … 129 92 $text = $replaced; 130 93 131 132 133 94 $i++; 134 95 135 96 } 136 137 138 97 //return post contents to be displayed 139 98 return $text; … … 142 101 143 102 } 144 145 146 103 ?>
Note: See TracChangeset
for help on using the changeset viewer.