WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 8 months ago

#37959 closed feature request (wontfix)

Add wp_alert() function

Reported by: mifr45 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:
PR Number:

Description

<?php
function wp_alert($string){
?><script>alert('<?php echo $string;?>');</script><?php
}
?>

Change History (1)

#1 @desrosj
8 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Hey there!

Thanks for this feature request! I don't think that this would be a beneficial addition to WordPress Core. I am going to close this out. If there are others that feel this would be valuable, we can revisit.

Note: See TracTickets for help on using tickets.