Changeset 422260
- Timestamp:
- 08/11/2011 07:48:36 PM (15 years ago)
- Location:
- simplereach-slide/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (3 diffs)
-
srslide.php (modified) (3 diffs)
-
srslide_functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simplereach-slide/trunk/readme.txt
r422192 r422260 6 6 Requires at least: 2.7 7 7 Tested up to: 3.2.1 8 Stable tag: 0.5. 08 Stable tag: 0.5.1 9 9 10 10 The Slide recommends related posts from within your site on a widget that "slides" in at the bottom of the page. … … 50 50 51 51 == Upgrade Notice == 52 * None52 * Do not use version 0.5.0. There is a bug in tags that can prevent the page from loading properly. 53 53 54 54 == Screenshots == … … 57 57 58 58 == Changelog == 59 60 = 0.5.1 = 61 * Fixed bug relating to tag escaping 59 62 60 63 = 0.5.0 = -
simplereach-slide/trunk/srslide.php
r422192 r422260 4 4 Plugin URI: https://www.simplereach.com 5 5 Description: After installation, you must click '<a href='options-general.php?page=SimpleReach-Slide'>Settings → SimpleReach Slide</a>' to turn on The Slide. 6 Version: 0.5. 06 Version: 0.5.1 7 7 Author: SimpleReach 8 8 Author URI: https://www.simplereach.com 9 9 */ 10 10 11 define('SRSLIDE_PLUGIN_VERSION', '0.5. 0');11 define('SRSLIDE_PLUGIN_VERSION', '0.5.1'); 12 12 define('SRSLIDE_PLUGIN_URL', plugin_dir_url(__FILE__)); 13 13 define('SRSLIDE_PLUGIN_SUPPORT_EMAIL', 'support@simplereach.com'); … … 67 67 } 68 68 69 $SRSLIDE_PLUGIN_VERSION = SRSLIDE_PLUGIN_VERSION; 70 69 71 // Get the JS ready to go 70 72 $rv = <<< SRSLIDE_SCRIPT_TAG 71 <!-- SimpleReach Slide Plugin Version: ". {SRSLIDE_PLUGIN_VERSION} ."-->73 <!-- SimpleReach Slide Plugin Version: {$SRSLIDE_PLUGIN_VERSION} --> 72 74 <script type='text/javascript' id='simplereach-slide-tag'> 73 75 __spr_config = { … … 100 102 101 103 /** 102 * srslide_admin_init 104 * srslide_admin_init 103 105 * Inititalize admin / register and load srslide.css 104 * 106 * 105 107 * @access public 106 108 * @return void -
simplereach-slide/trunk/srslide_functions.php
r422192 r422260 122 122 if (empty($tags)) { 123 123 $wptags = wp_get_post_tags($post->ID); 124 $tags = join(',', $wptags); 124 $myTags = array(); 125 foreach ($wptags as $tag) { 126 $myTags = (is_object($tag)) ? $tag->name : $tag; 127 } 128 $tags = join(',', $myTags); 125 129 } 126 130 return addslashes($tags);
Note: See TracChangeset
for help on using the changeset viewer.