Changeset 1748911
- Timestamp:
- 10/18/2017 09:54:02 PM (8 years ago)
- File:
-
- 1 edited
-
likecheese/trunk/like-cheese.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
likecheese/trunk/like-cheese.php
r1516159 r1748911 69 69 {//find img 70 70 $finalstring = ""; 71 while( $postimagecount != 0)71 while( ($postimagecount != 0) || ($content != '') ) 72 72 { 73 73 $checkstring =strstr( $content, 'img' ); //remaining string inc img … … 111 111 112 112 $totallikecount = count($arruserslike); 113 if (is_user_logged_in()){ 114 113 115 $userid = get_current_user_id(); 114 116 $like_user_info = get_userdata( $userid ); … … 119 121 if($likect != 0){$imageheart = plugin_dir_url(__FILE__) . 'images/filledc3.jpg';} 120 122 else{$imageheart = plugin_dir_url(__FILE__) . 'images/defaultc3.jpg';} 123 124 } 125 else $imageheart = plugin_dir_url(__FILE__) . 'images/defaultc3.jpg'; 121 126 122 127 //Create site_url capture
Note: See TracChangeset
for help on using the changeset viewer.