Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all…
About Autopost for X (formerly Autoshare for Twitter)
Autopost for X is a WordPress plugin that automatically shares your posts to X (formerly Autoshare for Twitter) as soon as they're published. It focuses solely on X/Twitter and allows developers to customize various aspects of the posts. It is compatible with the Distributor plugin and supports custom post types.Screenshots




Changelog
2.3.0 – 2025-02-05
Note that this version bumps the WordPress minimum supported version from 5.7 to 6.5.
- Added: Expose the X headers to the
autoshare_for_twitter_after_status_updatehook (props @s3rgiosan, @iamdharmesh via #353). - Added: Admin dashboard widget for easy access to API usage statistics (props @s3rgiosan, @iamdharmesh via #354).
- Changed: Display API usage statistics in the “Autopost to X/Twitter” block editor panel (props @s3rgiosan, @iamdharmesh via #354).
- Changed: Bump WordPress “tested up to” version 6.7 (props @sudip-md, @dkotter, @thrijith, @jeffpaul, @iamdharmesh via #335, #347, #348).
- Changed: Bump WordPress minimum from 5.7 to 6.5 (props @thrijith, @jeffpaul, @iamdharmesh via #347, #348).
- Security: Bump
bracesfrom 3.0.2 to 3.0.3,pac-resolverfrom 7.0.0 to 7.0.1,socksfrom 2.7.1 to 2.8.3,wsfrom 7.5.9 to 7.5.10 and removesip(props @dependabot, @iamdharmesh via #327). - Security: Bump
axiosfrom 1.6.7 to 1.7.4 (props @dependabot, @faisal-alvi, @dkotter via #336, #337). - Security: Bump
webpackfrom 5.90.0 to 5.94.0 (props @dependabot, @iamdharmesh via #339). - Security: Bump
wsfrom 7.5.10 to 8.18.0,serve-staticfrom 1.15.0 to 1.16.2 andexpressfrom 4.19.2 to 4.21.0 (props @dependabot, @Sidsector9 via #343).
2.2.1 – 2024-07-08
- Changed: Bump WordPress “tested up to” version 6.5 (props @iamdharmesh, @dkotter, @sudip-md, @jeffpaul via #319).
- Fixed: Ampersands no longer converted to HTML entities when adding query parameters to the post URL with the
autoshare_for_twitter_post_urlfilter (props @justinmaurerdotdev, @iamdharmesh via #324). - Security: Bump
expressfrom 4.18.2 to 4.19.2 (props @dependabot, @iamdharmesh via #321). - Security: Bump
follow-redirectsfrom 1.15.5 to 1.15.6 (props @dependabot, @iamdharmesh via #321). - Security: Bump
ipfrom 1.1.8 to 1.1.9 (props @dependabot, @iamdharmesh via #321). - Security: Bump
webpack-dev-middlewarefrom 5.3.3 to 5.3.4 (props @dependabot, @iamdharmesh via #321).
2.0.0 – 2023-01-04
Autoshare for Twitter rebranded / renamed to Autopost for X.
* Changed: Updated repo automator workflow (props @iamdharmesh, @peterwilsoncc via #273).
* Changed: Bump Cypress version from 11.2.0 to 13.0.0 (props @iamdharmesh, @Sidsector9 via #281).
* Changed: Bump @10up/cypress-wp-utils version from 0.1.0 to 0.2.0 (props @iamdharmesh, @Sidsector9 via #281).
* Changed: Bump @wordpress/env version from 5.7.0 to 8.6.0 (props @iamdharmesh, @Sidsector9 via #281).
* Changed: Replaced the custom build process with WP-Scripts (props @iamdharmesh, @peterwilsoncc, @ravinderk via #282).
* Changed: Disabled auto-sync for pull requests with the target branch (props @iamdharmesh, @jeffpaul via #291).
* Changed: Bump WordPress “tested up to” version 6.4 (props @qasumitbagthariya, @jeffpaul via #292).
* Changed: Renamed plugin from “Autoshare for Twitter” to “Autopost for X (formerly Autoshare for Twitter)” (props @jeffpaul, @iamdharmesh, Morgan Hartnett via #293).
* Fixed: Resolved the issue with Twitter accounts’ visibility in the classic editor (props @iamdharmesh, @ravinderk via #277).
* Fixed: Fixed bugs related to calculating tweet length (props @justinmaurerdotdev, @iamdharmesh via #288).
* Fixed: Addressed auto-posting tweets for automatically published posts (props @iamdharmesh, @sunnmagic, @peterwilsoncc, @jeffpaul via #294).
* Fixed: Fixed deprecation warning regarding implicit float-to-int conversion in PHP 8.2 (props @justinmaurerdotdev, @iamdharmesh via #301).
* Security: Bump @babel/traverse from 7.22.17 to 7.23.2 (props @dependabot[bot], @iamdharmesh via #289).
* Security: Bump `@wordpress/scripts“ from 26.12.0 to 26.19.0 (props @dependabot[bot], @iamdharmesh via #298).
Further changelog entries can be found in the CHANGELOG.md file.
