Got rid of cruft code lines in admin user payhistory (artifacts from first implementation)
Showing
1 changed file
with
0 additions
and
7 deletions
| ... | @@ -247,13 +247,6 @@ use WP_User; | ... | @@ -247,13 +247,6 @@ use WP_User; |
| 247 | //} | 247 | //} |
| 248 | $html .= '</p>'; | 248 | $html .= '</p>'; |
| 249 | 249 | ||
| 250 | // Loop through each of the payment items | ||
| 251 | foreach ($invoice->payment as $key => $item) { | ||
| 252 | // Skip any fields that don't start with 'bt_' | ||
| 253 | if (substr($key, 0, 3) != 'bt_') { | ||
| 254 | continue; | ||
| 255 | } | ||
| 256 | } | ||
| 257 | if ($status == 'unpaid') { | 250 | if ($status == 'unpaid') { |
| 258 | // Get the user's profile preference | 251 | // Get the user's profile preference |
| 259 | $preference = strtolower($user->profile_preference); | 252 | $preference = strtolower($user->profile_preference); | ... | ... |
-
Please register or sign in to post a comment