[wp-trac] [WordPress Trac] #37770: Docs improvements for 4.7

WordPress Trac noreply at wordpress.org
Sun Sep 4 03:40:06 UTC 2016


#37770: Docs improvements for 4.7
----------------------------+--------------------
 Reporter:  johnbillion     |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.7
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  ongoing         |     Focuses:  docs
----------------------------+--------------------

Comment (by DrewAPicture):

 In [changeset:"38518"]:
 {{{
 #!CommitTicketReference repository="" revision="38518"
 Docs: Update the `$message` parameter for `_default_wp_die_handler()` to
 notate that it can also accept a `WP_Error` object.

 Additionally, update the `$message` parameter description in the DocBlock
 for `wp_die()` to make it explicitly clear messages derived from a passed
 `WP_Error` object will only be evaluated if not performing an Ajax or XML-
 RPC request (as both default handlers completely ignore `WP_Error` object
 messages).

 See #37770.
 }}}

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


More information about the wp-trac mailing list