Changeset 458725
- Timestamp:
- 11/02/2011 04:51:13 PM (14 years ago)
- Location:
- simplereach-slide/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
srslide.php (modified) (4 diffs)
-
srslide_admin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simplereach-slide/trunk/readme.txt
r456047 r458725 6 6 Requires at least: 2.7 7 7 Tested up to: 3.2.1 8 Stable tag: 0.5. 68 Stable tag: 0.5.7 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. … … 58 58 59 59 == Changelog == 60 61 = 0.5.7 = 62 * Don't show Slide on attachment pages 60 63 61 64 = 0.5.6 = -
simplereach-slide/trunk/srslide.php
r456047 r458725 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. 66 Version: 0.5.7 7 7 Author: SimpleReach 8 8 Author URI: https://www.simplereach.com 9 9 */ 10 10 11 define('SRSLIDE_PLUGIN_VERSION', '0.5. 6');11 define('SRSLIDE_PLUGIN_VERSION', '0.5.7'); 12 12 define('SRSLIDE_PLUGIN_DIR', dirname(__FILE__)); 13 13 define('SRSLIDE_PLUGIN_URL', plugin_dir_url(__FILE__)); … … 25 25 function srslide_insert_slide($content) 26 26 { 27 // static var to ensure slide is only inserted once28 static $inserted = 0;29 if ($inserted) {30 return $content;31 }32 27 global $post; 33 28 $post_id = $post; … … 41 36 $recommend_pages = false; 42 37 } 43 if (!is_sing le() && !is_page()) {38 if (!is_singular() || is_attachment()) { // Don't show slide on attachment pages 44 39 return $content; 45 40 } … … 113 108 SRSLIDE_SCRIPT_TAG; 114 109 115 // Since we are adding the tag to the content, we set the116 // $inserted static var117 $inserted = 1;118 110 return $content . $rv; 119 111 } -
simplereach-slide/trunk/srslide_admin.php
r455311 r458725 152 152 _e("Your login name must be a valid email address. Please try again."); 153 153 } else if ($resp->{'error'} == 'Invalid password') { 154 _e("Your password must be at least 6 characters long not more than 100 . Please try again.");154 _e("Your password must be at least 6 characters long not more than 100 alphanumeric characters long. Please try again."); 155 155 } else if ($resp->{'error'} == 'Incorrect Timestamp') { 156 156 _e("There was an error while you were attempting to register. Please try again or contact $supportLink if you believe you have received this message in error.", 'srslide');
Note: See TracChangeset
for help on using the changeset viewer.