Changeset 1385629
- Timestamp:
- 04/03/2016 01:28:32 PM (10 years ago)
- Location:
- spodelime/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
spodelime.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spodelime/trunk/readme.txt
r326463 r1385629 3 3 Tags: share, sharing, bookmark, bookmarking, button, Facebook, Twitter, social, Bulgaria 4 4 Requires at least: 2.0 5 Tested up to: 3.0.35 Tested up to: 4.4.2 6 6 Stable tag: trunk 7 7 … … 25 25 == Changelog == 26 26 27 = 1.5 = 28 * Добавена е поддръжка на HTTPS. Бутонът е с нов по-добър дизайн. Други оптимизации по кода. 29 27 30 = 1.4 = 28 31 * Кодът на бутона вече работи в асинхронен режим по стандартите на HTML5 чрез async атрибут. -
spodelime/trunk/spodelime.php
r326463 r1385629 6 6 Author: Васил Тошков 7 7 Author URI: http://spodelime.com/ 8 Version: 1. 48 Version: 1.5 9 9 */ 10 10 … … 23 23 $anchor[] = "сподели бутон"; 24 24 $anchor[] = "социални мрежи"; 25 $anchor[] = "социални бутони"; 26 $anchor[] = "социално споделяне"; 27 $anchor[] = "spodelime"; 28 $anchor[] = "spodelime.com"; 29 $anchor[] = "споделяне във facebook"; 25 30 26 31 $salt = crc32($_SERVER['REQUEST_URI']); … … 30 35 $content.= "<p>"; 31 36 $content.= "<a href=\"http://spodelime.com/\" class=\"spodelime\">{$anchor[$index]}</a>"; 32 $content.= "<script src=\" http://spodelime.com/sm.js\" type=\"text/javascript\" async=\"async\"></script>";37 $content.= "<script src=\"//spodelime.com/sm.js\" async></script>"; 33 38 $content.= "</p>\n"; 34 39 } … … 36 41 } 37 42 add_filter("the_content", "spodelime"); 38 39 ?>
Note: See TracChangeset
for help on using the changeset viewer.