[wp-trac] [WordPress Trac] #14530: "Cheatin', uh?" is not helpful feedback for users or developers

WordPress Trac noreply at wordpress.org
Thu Sep 3 13:48:16 UTC 2015


#14530: "Cheatin', uh?" is not helpful feedback for users or developers
-----------------------------+-----------------------
 Reporter:  shidouhikari     |       Owner:
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:  4.4
Component:  Role/Capability  |     Version:
 Severity:  minor            |  Resolution:
 Keywords:  has-patch        |     Focuses:  ui
-----------------------------+-----------------------

Comment (by paulwilde):

 Out of interest why not create a separate `wp_die()` function which wraps
 the heading and accepts the paragraph text as an argument? It would reduce
 a lot of repetition and then the upside would be that if things need to be
 expanded/altered in the future it's just one function to alter rather than
 multiple files.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14530#comment:83>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list