Changeset 2364264
- Timestamp:
- 08/18/2020 07:37:55 PM (6 years ago)
- Location:
- custom-facebook-feed/tags/2.16
- Files:
-
- 2 edited
-
custom-facebook-feed-admin.php (modified) (1 diff)
-
custom-facebook-feed.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
custom-facebook-feed/tags/2.16/custom-facebook-feed-admin.php
r2355776 r2364264 4093 4093 4094 4094 <tr> 4095 <th class="bump-left"><label class="bump-left"><?php _e('Is Facebook Page restricted?'); ?></label><code class="cff_shortcode"> restric edpage4096 Eg: restric edpage=true</code></th>4095 <th class="bump-left"><label class="bump-left"><?php _e('Is Facebook Page restricted?'); ?></label><code class="cff_shortcode"> restrictedpage 4096 Eg: restrictedpage=true</code></th> 4097 4097 <td> 4098 4098 <input name="cff_restricted_page" type="checkbox" id="cff_restricted_page" <?php if($cff_restricted_page == true) echo "checked"; ?> /> -
custom-facebook-feed/tags/2.16/custom-facebook-feed.php
r2359204 r2364264 2173 2173 //Remove "see more" text from post text so isn't included when shared 2174 2174 $cff_post_text_to_share = ''; 2175 if( strpos($cff_post_text, '<span class="cff-expand">') ){ 2176 $cff_post_text_to_share = explode('<span class="cff-expand">', $cff_post_text)[0]; 2175 if( strpos($cff_post_text, '<span class="cff-expand">') !== false ){ 2176 $cff_post_text_to_share = explode('<span class="cff-expand">', $cff_post_text); 2177 if( is_array($cff_post_text_to_share) ) $cff_post_text_to_share = $cff_post_text_to_share[0]; 2177 2178 } 2178 2179
Note: See TracChangeset
for help on using the changeset viewer.