WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #43159, comment 1


Ignore:
Timestamp:
01/26/2018 03:10:14 PM (3 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43159, comment 1

    v2 v3  
    88- It removes the {{{|| defined( 'DOING_AJAX' )}}} check in {{{is_admin_bar_showing()}}}. I think that removal must have been accidental and should be reverted.
    99- I found an extra {{{defined( 'XMLRPC_REQUEST' )}}} check in {{{spawn_cron()}}} ([https://core.trac.wordpress.org/browser/tags/4.9/src/wp-includes/cron.php#L275 src]), but I noticed that {{{defined( 'DOING_AJAX' )}}} and {{{defined( 'DOING_CRON' )}}} have not been replaced. Most likely a reason for that, but we could look further into that.
    10 - I also found an extra {{{defined( 'XMLRPC_REQUEST' )}}} check in {{{_publish_post_hook()}}} ([https://core.trac.wordpress.org/browser/tags/4.9/src/wp-includes/post.php#L6003 src]), that seems to be a valid replacement for {{{wp_doing_xmlrpc()}}}.
     10- I also found an extra {{{defined( 'XMLRPC_REQUEST' )}}} check in {{{_publish_post_hook()}}} ([https://core.trac.wordpress.org/browser/tags/4.9/src/wp-includes/post.php#L6003 src]), that seems to be valid for replacement with {{{wp_doing_xmlrpc()}}}.