Title: dphiffer's Replies | WordPress.org

---

# dphiffer

  [  ](https://wordpress.org/support/users/dphiffer/)

 *   [Profile](https://wordpress.org/support/users/dphiffer/)
 *   [Topics Started](https://wordpress.org/support/users/dphiffer/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dphiffer/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dphiffer/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dphiffer/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dphiffer/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dphiffer/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 89 total)

1 [2](https://wordpress.org/support/users/dphiffer/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/dphiffer/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/dphiffer/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/dphiffer/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/dphiffer/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/dphiffer/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP 5.7 editor sometimes has mysterious “gray bar”](https://wordpress.org/support/topic/wp-5-7-editor-sometimes-has-mysterious-gray-bar/)
 *  Thread Starter [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/wp-5-7-editor-sometimes-has-mysterious-gray-bar/#post-14219186)
 * Ok, I have solved the one remaining mystery on this. It turns out we have a second
   WordPress installation on our nginx container that I did not know was there. 
   I assume this was done to optimize for serving static files. The downside is 
   that I didn’t know upgrading one WordPress install would only make my local environment
   half-upgraded!
 * Thanks for your help, [@macmanx](https://wordpress.org/support/users/macmanx/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP 5.7 editor sometimes has mysterious “gray bar”](https://wordpress.org/support/topic/wp-5-7-editor-sometimes-has-mysterious-gray-bar/)
 *  Thread Starter [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/wp-5-7-editor-sometimes-has-mysterious-gray-bar/#post-14211936)
 * Aha, I figured out the customization that is making the gray bar appear. Something
   I did before to work around some editor CSS that had been breaking our blocks.
 *     ```
       add_filter( 'block_editor_settings', function( $editor_settings ) {
           // Remove the default editor styles
           array_shift( $editor_settings['styles'] );
           return $editor_settings;
       });
       ```
   
 * But I am still wondering why it doesn’t happen on my local environment.
    -  This reply was modified 5 years, 1 month ago by [dphiffer](https://wordpress.org/support/users/dphiffer/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP 5.7 editor sometimes has mysterious “gray bar”](https://wordpress.org/support/topic/wp-5-7-editor-sometimes-has-mysterious-gray-bar/)
 *  Thread Starter [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/wp-5-7-editor-sometimes-has-mysterious-gray-bar/#post-14211913)
 * Thanks James! I switched to the twentytwentyone theme, which made the mystery
   bar go away, so it must be due to one of my editor customizations.
 * I tried disabling all the CSS and JS I’m adding onto the editor page and that
   didn’t fix it. We do have hooks for `admin_init`, `get_user_option_admin_color`,`
   admin_enqueue_scripts`, `admin_print_styles-post.php` so there’s a lot of ways
   this might be breaking. Disabling them all did not make the gray bar disappear,
   sadly.
 * The Health Check feature does not seem to like our style of running WordPress:
   headless, with the default REST API endpoints disabled, not accessible to the
   open internet, and behind an SSO reverse-proxy. So there are some issues reported,
   but none of them seem actionable without reconsidering some fundamental architecture
   decisions.
 * Then again, I suspect that whatever makes my local environment different from
   staging is somehow endemic to the way we are running things. Or perhaps the editor
   is trying to imitate the look/feel of a front-end that doesn’t actually run in
   WordPress.
 * I’m still baffled about the DOM being different in one than the other. I wish
   there were some way to ask `wp.editor` for a version number in the JS console.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Copy/paste breaks on Microsoft Word comments](https://wordpress.org/support/topic/copy-paste-breaks-on-microsoft-word-comments/)
 *  Thread Starter [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/copy-paste-breaks-on-microsoft-word-comments/#post-11806745)
 * Thanks again, for reference here is an issue I just filed:
    [https://github.com/WordPress/gutenberg/issues/16936](https://github.com/WordPress/gutenberg/issues/16936)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Copy/paste breaks on Microsoft Word comments](https://wordpress.org/support/topic/copy-paste-breaks-on-microsoft-word-comments/)
 *  Thread Starter [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/copy-paste-breaks-on-microsoft-word-comments/#post-11806554)
 * Thanks for your quick reply, [@macmanx](https://wordpress.org/support/users/macmanx/).
   I would add to this report that the issue only applies to the Gutenberg editor,
   sites that have the Classic Editor plugin enabled _are_ able to copy/paste commented-
   on text, in both the Visual and Text tabs.
    -  This reply was modified 6 years, 9 months ago by [dphiffer](https://wordpress.org/support/users/dphiffer/).
    -  This reply was modified 6 years, 9 months ago by [dphiffer](https://wordpress.org/support/users/dphiffer/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Please don't let this AWESOME plugin die!](https://wordpress.org/support/topic/please-dont-let-this-awesome-plugin-die/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/please-dont-let-this-awesome-plugin-die/#post-6371023)
 * Marking resolved 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Get posts with any post status](https://wordpress.org/support/topic/get-posts-with-any-post-status/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/get-posts-with-any-post-status/#post-6350633)
 * Gonna mark this as resolved.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Request by a specific custom fields](https://wordpress.org/support/topic/request-by-a-specific-custom-fields/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/request-by-a-specific-custom-fields/#post-6223572)
 * Gonna mark this as resolved.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Method get_post redirects to post's page](https://wordpress.org/support/topic/method-get_post-redirects-to-posts-page/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/method-get_post-redirects-to-posts-page/#post-6408341)
 * Ah, I figured it out! The `id` thing was a mistake, I think it was just ignoring
   that and giving you back the most recent post.
 * I found a way to avoid the redirect when the `p` argument is present. Should 
   be fixed in the next release.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Request by a specific custom fields](https://wordpress.org/support/topic/request-by-a-specific-custom-fields/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/request-by-a-specific-custom-fields/#post-6223570)
 * This is an impressive response, and in multiple languages no less! Thanks cristophergv!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Get posts with any post status](https://wordpress.org/support/topic/get-posts-with-any-post-status/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/get-posts-with-any-post-status/#post-6350632)
 * Yeah, I would suggest avoiding modifying the plugin files. I’ve just released
   version 1.1.3 that includes a new filter [`json_api_query_args`](https://github.com/dphiffer/wp-json-api#filter-json_api_query_args)
   that will let you override the post_status setting.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Method get_post redirects to post's page](https://wordpress.org/support/topic/method-get_post-redirects-to-posts-page/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/method-get_post-redirects-to-posts-page/#post-6408338)
 * Not sure if my last reply will make it through the spam filters, but try converting
   the `p` argument to `id` and adding one extra one: `count=1`.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Method get_post redirects to post's page](https://wordpress.org/support/topic/method-get_post-redirects-to-posts-page/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/method-get_post-redirects-to-posts-page/#post-6408337)
 * Ah, yeah I think the `?p=123` argument triggers a built-in redirection from WordPress.
   I should look into disabling that, but in the meantime here are some workarounds:
 * [http://es-factory.nl/blog/api/get_posts/?id=9540&count=1](http://es-factory.nl/blog/api/get_posts/?id=9540&count=1)
   
   [http://bmwblog.ro/api/get_posts/?id=73792&count=1](http://bmwblog.ro/api/get_posts/?id=73792&count=1)
   [http://www.nakko.com/api/get_posts/?id=2052&count=1](http://www.nakko.com/api/get_posts/?id=2052&count=1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Please don't let this AWESOME plugin die!](https://wordpress.org/support/topic/please-dont-let-this-awesome-plugin-die/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/please-dont-let-this-awesome-plugin-die/#post-6371022)
 * Yeah, I think that filter option was already on my list of things to release.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Please don't let this AWESOME plugin die!](https://wordpress.org/support/topic/please-dont-let-this-awesome-plugin-die/)
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/please-dont-let-this-awesome-plugin-die/#post-6371019)
 * Hello, I’m still updating the plugin. I’m just trying to work out what should
   go into the next release.

Viewing 15 replies - 1 through 15 (of 89 total)

1 [2](https://wordpress.org/support/users/dphiffer/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/dphiffer/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/dphiffer/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/dphiffer/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/dphiffer/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/dphiffer/replies/page/2/?output_format=md)