Title: stenberg.me's Replies | WordPress.org

---

# stenberg.me

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] Delete Content?](https://wordpress.org/support/topic/delete-content/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418555)
 * Fixed and merged to the master branch.
 * [https://github.com/stenberg/content-staging](https://github.com/stenberg/content-staging)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] Delete Content?](https://wordpress.org/support/topic/delete-content/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418553)
 * Thanks, that’s really helpful!
 * So the problem seems to be that the delete functionality relies on the class `
   DOMDocument` – part of the PHP DOM extension. Most likely you don’t have this
   extension in your PHP package, causing the fatal error.
 * I’ll get rid of the DOM extension dependency somehow. Created an issue for this:
 * [https://github.com/stenberg/content-staging/issues/76](https://github.com/stenberg/content-staging/issues/76)
 * For now I’ve moved the delete functionality to its own branch.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] WPML support](https://wordpress.org/support/topic/wpml-support-38/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wpml-support-38/#post-6571954)
 * Thanks, that’s certainly inspiring!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] WPML support](https://wordpress.org/support/topic/wpml-support-38/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wpml-support-38/#post-6571944)
 * Hi,
 * Thanks for giving the plugin a try!
 * No attempts to support the WPML plugin has been made yet. I believe WPML creates
   some custom tables in the database, if that’s the case it’s unlikely that the
   Content Staging plugin supports WPML out of the box.
 * The ambition is to support popular plugins, when that will happen for WPML is
   unclear.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] Delete Content?](https://wordpress.org/support/topic/delete-content/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418551)
 * Does this happen with any batch that you try to deploy? Can you have a look at
   the debug.log and see if there is any clues in there?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] Delete Content?](https://wordpress.org/support/topic/delete-content/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/delete-content/#post-6418435)
 * I’ve added support for deleting posts, will be included in next plugin release.
   If you want to try it out immediately, see [https://github.com/stenberg/content-staging](https://github.com/stenberg/content-staging)
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] Delete Content?](https://wordpress.org/support/topic/delete-content/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/delete-content/#post-6418427)
 * Actually built an extension doing just that, will see if I can integrate it with
   the main plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] Import never finishes](https://wordpress.org/support/topic/import-never-finishes/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/import-never-finishes/#post-6280318)
 * Hi,
 * These are the messages that you see?
 * Prepare import on xyz
    Importing…
 * Take a look at the debug.log, anything shows up there during deploy?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] transport error – HTTP status code was not 200 (401) – on host](https://wordpress.org/support/topic/transport-error-http-status-code-was-not-200-401-on-host/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/transport-error-http-status-code-was-not-200-401-on-host/#post-6226482)
 * What message(s) do you get during pre-flight?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] parse error. not well formed (error code -32700)](https://wordpress.org/support/topic/parse-error-not-well-formed-error-code-32700/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parse-error-not-well-formed-error-code-32700/#post-6271993)
 * Thanks for reporting back on this!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] Media staging](https://wordpress.org/support/topic/media-staging/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/media-staging/#post-6244837)
 * Hi Shonu,
 * Not possible at the moment, but absolutely something we will look at going forward,
   created an issue for this [https://github.com/stenberg/content-staging/issues/72](https://github.com/stenberg/content-staging/issues/72).
 * Inline media is not supported, but in scope [https://github.com/stenberg/content-staging/issues/7](https://github.com/stenberg/content-staging/issues/7).
 * Featured images are currently working.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] transport error – HTTP status code was not 200 (401) – on host](https://wordpress.org/support/topic/transport-error-http-status-code-was-not-200-401-on-host/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/transport-error-http-status-code-was-not-200-401-on-host/#post-6226466)
 * Alright, are you sending content from your production environment to your content
   stage?
 * Normally it’s the other way around, but whatever works for you is fine.
 * What you probably have to do is to include an Authorization header when making
   a request to the environment protected by Basic Auth.
 * Here is an example of doing that, add it to e.g. functions.php:
 *     ```
       function set_content_staging_client_headers( $headers ) {
   
       	if ( defined( 'CONTENT_STAGING_BASIC_AUTH_USER' ) && defined( 'CONTENT_STAGING_BASIC_AUTH_PASSWORD' ) ) {
       		$headers['Authorization'] = 'Basic ' . base64_encode( CONTENT_STAGING_BASIC_AUTH_USER . ':' . CONTENT_STAGING_BASIC_AUTH_PASSWORD );
       	}
   
       	return $headers;
       }
   
       add_filter( 'sme_client_headers', 'set_content_staging_client_headers' );
       ```
   
 * Then in your configuration file (wp-config.php) on the host that is **NOT** Basic
   Auth protected, add the constants:
 *     ```
       define( 'CONTENT_STAGING_BASIC_AUTH_USER', '_YOUR_BA_USERNAME_HERE' );
       define( 'CONTENT_STAGING_BASIC_AUTH_PASSWORD', '_YOUR_BA_PASSWORD_HERE' );
       ```
   
 * Probably something worth including in the plugin, but for now I hope this helps!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] Export and deploy media files (Multiste only?)](https://wordpress.org/support/topic/export-and-deploy-media-files-multiste-only/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/export-and-deploy-media-files-multiste-only/#post-6267788)
 * Hi Shonu,
 * Thanks for reporting this!
 * Transferring images linked to a post remains one of the key things to fix in 
   the plugin, currently only featured images are correctly deployed.
 * Have a look at [https://github.com/stenberg/content-staging/issues/7](https://github.com/stenberg/content-staging/issues/7)
   for more information.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] Needed improvements for Content Staging plugin](https://wordpress.org/support/topic/needed-improvements-for-content-staging-plugin/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/needed-improvements-for-content-staging-plugin/#post-5433857)
 * Hi Shonu,
 * Great suggestion, I’ve created an issue for this, [https://github.com/stenberg/content-staging/issues/71](https://github.com/stenberg/content-staging/issues/71)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Staging] transport error – HTTP status code was not 200 (401) – on host](https://wordpress.org/support/topic/transport-error-http-status-code-was-not-200-401-on-host/)
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [11 years ago](https://wordpress.org/support/topic/transport-error-http-status-code-was-not-200-401-on-host/#post-6226410)
 * Hi,
 * Sounds like your target environment (production) is protected by e.g. basic auth.
   Is that the case?

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

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