| @@ -27,8 +27,10 @@ | ||
| 27 | 27 | } else { |
| 28 | 28 | $admin_full_name = 'Unknown'; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | + // phpcs:disable PluginCheck.CodeAnalysis.Offloading.OffloadedContent -- False positive for this context: these are HTML email bodies and remote documentation/tutorial links in admin help text, not offloaded plugin assets. Audited 2026-07-16. | |
| 32 | + // phpcs:disable WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet -- HTML email body; wp_enqueue_style() has no effect in a mail. Audited 2026-07-16. | |
| 31 | 33 | $emailTemplate = ' |
| 32 | 34 | <!DOCTYPE html> |
| 33 | 35 | <html lang="en"> |
| 34 | 36 | <head> |
| @@ -138,8 +140,10 @@ | ||
| 138 | 140 | </tbody> |
| 139 | 141 | </table> |
| 140 | 142 | </body> |
| 141 | 143 | </html>'; |
| 144 | + // phpcs:enable WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet | |
| 145 | + // phpcs:enable PluginCheck.CodeAnalysis.Offloading.OffloadedContent | |
| 142 | 146 | |
| 143 | 147 | return $emailTemplate; |
| 144 | 148 | } |
| 145 | 149 | } |