Changeset 588159
- Timestamp:
- 08/21/2012 04:10:33 AM (14 years ago)
- Location:
- message-flow
- Files:
-
- 1 added
- 2 edited
- 10 copied
-
tags/1.1.2 (added)
-
tags/1.1.2/trunk (copied) (copied from message-flow/trunk)
-
tags/1.1.2/trunk/contentflow (copied) (copied from message-flow/trunk/contentflow)
-
tags/1.1.2/trunk/css (copied) (copied from message-flow/trunk/css)
-
tags/1.1.2/trunk/images (copied) (copied from message-flow/trunk/images)
-
tags/1.1.2/trunk/js (copied) (copied from message-flow/trunk/js)
-
tags/1.1.2/trunk/main.php (copied) (copied from message-flow/trunk/main.php) (5 diffs)
-
tags/1.1.2/trunk/mediaelementjs (copied) (copied from message-flow/trunk/mediaelementjs)
-
tags/1.1.2/trunk/readme.txt (copied) (copied from message-flow/trunk/readme.txt) (2 diffs)
-
tags/1.1.2/trunk/screenshot-1.png (copied) (copied from message-flow/trunk/screenshot-1.png)
-
tags/1.1.2/trunk/screenshot-2.png (copied) (copied from message-flow/trunk/screenshot-2.png)
-
trunk/main.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
message-flow/tags/1.1.2/trunk/main.php
r588156 r588159 4 4 Plugin URI: http://JoeAnzalone.com/plugins/message-flow 5 5 Description: Provides a shortcode that generates a cover flow-like interface for all podcasts in a given category or feed: [message-flow category="11"] 6 Version: 1.1. 16 Version: 1.1.2 7 7 Author: Joe Anzalone 8 8 Author URI: http://JoeAnzalone.com … … 104 104 <div class="flow">'; 105 105 106 if(empty($posts_array)){ 107 return NULL; 108 } 106 109 foreach($posts_array as $post){ 107 110 if(empty($post->from_external_feed)){ … … 110 113 $enclosure = get_post_meta($post->ID, 'enclosure', TRUE); 111 114 if(!empty($post->podcast_episode_url) OR (!$post->from_external_feed && !empty($enclosure))){ 112 $podcast_episode_text_content = $post->post_content; 115 if(!empty($post->post_content)){ 116 $podcast_episode_text_content = $post->post_content; 117 } 113 118 114 119 if(!empty($post->podcast_episode_url)){ … … 151 156 </div>'; 152 157 153 $podcast_episodes_text_contents[$post->ID] = $podcast_episode_text_content; 158 if(!empty($podcast_episode_text_content)){ 159 $podcast_episodes_text_contents[$post->ID] = $podcast_episode_text_content; 160 } 154 161 } 155 162 } … … 179 186 180 187 $html .= '<div class="current podcast-episode-text-content">'; 181 $html .= $podcast_episode_text_content; 188 189 if(!empty($podcast_episode_text_content)){ 190 $html .= $podcast_episode_text_content; 191 } 182 192 183 193 $html .= '</div>'; -
message-flow/tags/1.1.2/trunk/readme.txt
r588156 r588159 17 17 18 18 = Usage = 19 Show the ten latest podcast episodes 19 Show the ten latest podcast episodes: 20 20 `[message-flow]` 21 21 … … 44 44 == Changelog == 45 45 46 = 1.1.2 = 47 * Fixed WP_DEBUG errors that appear when site has no podcast episodes 48 46 49 = 1.1.1 = 47 50 * Fixed WP_DEBUG errors -
message-flow/trunk/main.php
r588156 r588159 4 4 Plugin URI: http://JoeAnzalone.com/plugins/message-flow 5 5 Description: Provides a shortcode that generates a cover flow-like interface for all podcasts in a given category or feed: [message-flow category="11"] 6 Version: 1.1. 16 Version: 1.1.2 7 7 Author: Joe Anzalone 8 8 Author URI: http://JoeAnzalone.com … … 104 104 <div class="flow">'; 105 105 106 if(empty($posts_array)){ 107 return NULL; 108 } 106 109 foreach($posts_array as $post){ 107 110 if(empty($post->from_external_feed)){ … … 110 113 $enclosure = get_post_meta($post->ID, 'enclosure', TRUE); 111 114 if(!empty($post->podcast_episode_url) OR (!$post->from_external_feed && !empty($enclosure))){ 112 $podcast_episode_text_content = $post->post_content; 115 if(!empty($post->post_content)){ 116 $podcast_episode_text_content = $post->post_content; 117 } 113 118 114 119 if(!empty($post->podcast_episode_url)){ … … 151 156 </div>'; 152 157 153 $podcast_episodes_text_contents[$post->ID] = $podcast_episode_text_content; 158 if(!empty($podcast_episode_text_content)){ 159 $podcast_episodes_text_contents[$post->ID] = $podcast_episode_text_content; 160 } 154 161 } 155 162 } … … 179 186 180 187 $html .= '<div class="current podcast-episode-text-content">'; 181 $html .= $podcast_episode_text_content; 188 189 if(!empty($podcast_episode_text_content)){ 190 $html .= $podcast_episode_text_content; 191 } 182 192 183 193 $html .= '</div>'; -
message-flow/trunk/readme.txt
r588156 r588159 17 17 18 18 = Usage = 19 Show the ten latest podcast episodes 19 Show the ten latest podcast episodes: 20 20 `[message-flow]` 21 21 … … 44 44 == Changelog == 45 45 46 = 1.1.2 = 47 * Fixed WP_DEBUG errors that appear when site has no podcast episodes 48 46 49 = 1.1.1 = 47 50 * Fixed WP_DEBUG errors
Note: See TracChangeset
for help on using the changeset viewer.