{"id":376173,"date":"2026-10-05T10:31:48","date_gmt":"2026-10-05T10:31:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/negaresh\/"},"modified":"2026-10-05T10:46:30","modified_gmt":"2026-10-05T10:46:30","slug":"negaresh","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/negaresh\/","author":20937342,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"5.2.3","stable_tag":"5.2.3","tested":"7.1.2","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Negaresh","header_author":"Lord Arma","header_description":"Negaresh tries to fix your Farsi (Persian) typos in WordPress.","assets_banners_color":"74bab3","last_updated":"2026-10-05 10:46:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/LordArma\/negaresh","header_author_uri":"https:\/\/LordArma.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":32,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"5.2.3":{"tag":"5.2.3","author":"lordarma","date":"2026-10-05 10:46:30","revision":3728696}},"upgrade_notice":{"5.0.0":"<p>Adds optional fixing of comments and <code>wp negaresh status<\/code>. Includes the 4.4.0 fix for dates written with Persian digits.<\/p>","4.4.0":"<p>Fixes Persian and Arabic digit dates being scrambled. Please upgrade.<\/p>","4.1.0":"<p>4.0.0 damaged how posts were displayed and blocked logins. Please upgrade.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3728649,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3728649,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500-fa_IR.png":{"filename":"banner-1544x500-fa_IR.png","revision":3728649,"resolution":"1544x500","location":"assets","locale":"fa_IR","width":1544,"height":500},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3728649,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250-fa_IR.png":{"filename":"banner-772x250-fa_IR.png","revision":3728649,"resolution":"772x250","location":"assets","locale":"fa_IR","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3728649,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3728696,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/wp-admin\\\/options-general.php?page=negaresh-options\",\"preferredVersions\":{\"php\":\"8.3\",\"wp\":\"latest\"},\"login\":true,\"steps\":[{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"negaresh\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":[],"tagged_versions":["5.2.3"],"block_files":[],"assets_screenshots":{"screenshot-1-fa_IR.png":{"filename":"screenshot-1-fa_IR.png","revision":3728649,"resolution":"1","location":"assets","locale":"fa_IR","width":1120,"height":860},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3728649,"resolution":"1","location":"assets","locale":"","width":1120,"height":860},"screenshot-2-fa_IR.png":{"filename":"screenshot-2-fa_IR.png","revision":3728649,"resolution":"2","location":"assets","locale":"fa_IR","width":1280,"height":900},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3728649,"resolution":"2","location":"assets","locale":"","width":1280,"height":900},"screenshot-3-fa_IR.png":{"filename":"screenshot-3-fa_IR.png","revision":3728649,"resolution":"3","location":"assets","locale":"fa_IR","width":1120,"height":560},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3728649,"resolution":"3","location":"assets","locale":"","width":1120,"height":560},"screenshot-4-fa_IR.png":{"filename":"screenshot-4-fa_IR.png","revision":3728649,"resolution":"4","location":"assets","locale":"fa_IR","width":557,"height":298},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3728649,"resolution":"4","location":"assets","locale":"","width":557,"height":298},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3728649,"resolution":"5","location":"assets","locale":"","width":1120,"height":860}},"screenshots":{"1":"Settings \u2192 Negaresh: try the rules on your own text before saving, choose when to fix, pick the rules.","2":"The Negaresh panel in the block editor: leave a post alone, or fix it now (Undo reverts it).","3":"Tools \u2192 Negaresh: scan existing posts, see the changed lines, then fix them.","4":"The dashboard widget: how many posts are fixed, waiting to be checked or left alone.","5":"The rules and their examples, in Persian (with the Persian language pack)."}},"plugin_section":[262246],"plugin_tags":[1261,1260,5811,5126,284469],"plugin_category":[43],"plugin_contributors":[284470],"plugin_business_model":[],"class_list":["post-376173","plugin","type-plugin","status-publish","hentry","plugin_section-dashboard-widgets","plugin_tags-farsi","plugin_tags-persian","plugin_tags-rtl","plugin_tags-typography","plugin_tags-virastar","plugin_category-customization","plugin_contributors-lordarma","plugin_committers-lordarma"],"banners":{"banner":"https:\/\/ps.w.org\/negaresh\/assets\/banner-772x250.png?rev=3728649","banner_2x":"https:\/\/ps.w.org\/negaresh\/assets\/banner-1544x500.png?rev=3728649","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/negaresh\/assets\/icon-128x128.png?rev=3728649","icon_2x":"https:\/\/ps.w.org\/negaresh\/assets\/icon-256x256.png?rev=3728649","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/negaresh\/assets\/screenshot-1.png?rev=3728649","caption":"Settings \u2192 Negaresh: try the rules on your own text before saving, choose when to fix, pick the rules."},{"src":"https:\/\/ps.w.org\/negaresh\/assets\/screenshot-2.png?rev=3728649","caption":"The Negaresh panel in the block editor: leave a post alone, or fix it now (Undo reverts it)."},{"src":"https:\/\/ps.w.org\/negaresh\/assets\/screenshot-3.png?rev=3728649","caption":"Tools \u2192 Negaresh: scan existing posts, see the changed lines, then fix them."},{"src":"https:\/\/ps.w.org\/negaresh\/assets\/screenshot-4.png?rev=3728649","caption":"The dashboard widget: how many posts are fixed, waiting to be checked or left alone."},{"src":"https:\/\/ps.w.org\/negaresh\/assets\/screenshot-5.png?rev=3728649","caption":"The rules and their examples, in Persian (with the Persian language pack)."}],"raw_content":"<!--section=description-->\n<p>Negaresh (\u0646\u06af\u0627\u0631\u0634) corrects common Persian typing mistakes in WordPress, using a patched copy of the <a href=\"https:\/\/github.com\/AlirezaSedghi\/Virastar\">Virastar<\/a> library.<\/p>\n\n<ul>\n<li><strong>Fix before saving or on display.<\/strong> Correct the stored text when a post is saved, so the editor shows what readers get, or fix only what is displayed and never change the stored text.<\/li>\n<li><strong>33 rules you choose<\/strong>, each with an example: Persian digits, half spaces (ZWNJ) for prefixes and suffixes, Persian comma, semicolon and question mark, \u00abguillemets\u00bb, ellipsis, dashes, Kashida cleanup, spacing and more.<\/li>\n<li><strong>Try it<\/strong> on the settings page: paste text and see it fixed with the boxes you have checked, before saving.<\/li>\n<li><strong>Only text is changed.<\/strong> HTML tags, attributes, links, shortcodes and code (<code>pre<\/code>, <code>code<\/code>, <code>script<\/code>, <code>style<\/code> \u2026) are never touched, and neither is text written only in English.<\/li>\n<li><strong>Leave a post alone<\/strong> from the editor sidebar, or part of a post with the CSS class <code>negaresh-skip<\/code>.<\/li>\n<li><strong>Fix this post now<\/strong> button in the block editor; Undo reverts it.<\/li>\n<li><strong>Fix existing posts<\/strong> in Tools \u2192 Negaresh or with <code>wp negaresh fix<\/code>: see the changed lines first, and every change is kept in the post's revisions.<\/li>\n<li>Titles, hand written excerpts and comments can be fixed too (off by default).<\/li>\n<li>Words to leave alone: brand names, quotations and other words Negaresh must never change.<\/li>\n<li>A dashboard widget shows how many posts are fixed or waiting.<\/li>\n<li>Multisite: set defaults for the whole network.<\/li>\n<li>Persian translation included.<\/li>\n<\/ul>\n\n<p>Read more about Negaresh (in Persian) on the author's blog: <a href=\"https:\/\/lordarma.com\/%d8%a7%d9%81%d8%b2%d9%88%d9%86%d9%87-%d9%86%da%af%d8%a7%d8%b1%d8%b4-%d9%81%d8%a7%d8%b1%d8%b3%db%8c\/\">\u0627\u0641\u0632\u0648\u0646\u0647\u0654 \u0646\u06af\u0627\u0631\u0634 \u0641\u0627\u0631\u0633\u06cc<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin in <em>Plugins \u2192 Add New \u2192 Upload Plugin<\/em>, or copy the <code>negaresh<\/code> folder to <code>wp-content\/plugins<\/code>.<\/li>\n<li>Activate it.<\/li>\n<li>Choose the rules and when to fix in <em>Settings \u2192 Negaresh<\/em>.<\/li>\n<li>To fix posts you already have, use <em>Tools \u2192 Negaresh<\/em> (or <code>wp negaresh fix --apply<\/code>).<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20change%20my%20posts%3F\"><h3>Does it change my posts?<\/h3><\/dt>\n<dd><p>In \"when a post is saved\" mode (the default for new installs) the stored text is corrected when you save. In \"when a post is displayed\" mode (kept by sites upgrading from 4.x) nothing stored is ever changed. Posts you mark \"Leave this post alone\" are never changed.<\/p><\/dd>\n<dt id=\"can%20i%20undo%20a%20bulk%20fix%3F\"><h3>Can I undo a bulk fix?<\/h3><\/dt>\n<dd><p>Yes. Before Negaresh changes an existing post it keeps the text as a revision, so each post can be restored from its revisions screen (when your site keeps revisions).<\/p><\/dd>\n<dt id=\"will%20it%20break%20my%20html%2C%20shortcodes%20or%20code%20samples%3F\"><h3>Will it break my HTML, shortcodes or code samples?<\/h3><\/dt>\n<dd><p>No. Only the text between tags is fixed; tags, attributes, shortcodes and the contents of <code>pre<\/code>, <code>code<\/code>, <code>script<\/code>, <code>style<\/code>, <code>textarea<\/code>, <code>svg<\/code> and <code>math<\/code> are left exactly as they are.<\/p><\/dd>\n<dt id=\"how%20do%20i%20keep%20a%20quote%20or%20a%20paragraph%20as%20it%20is%3F\"><h3>How do I keep a quote or a paragraph as it is?<\/h3><\/dt>\n<dd><p>In the block editor add <code>negaresh-skip<\/code> in <em>Advanced \u2192 Additional CSS class(es)<\/em>, or add <code>data-negaresh=\"off\"<\/code> to an element in HTML.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>5.2.3<\/h4>\n\n<ul>\n<li>Settings page: the rule examples with numbers or punctuation are shown right to left again (they looked reversed), and the \"Words to leave alone\" box types Persian right to left.<\/li>\n<\/ul>\n\n<h4>5.2.2<\/h4>\n\n<ul>\n<li>Security hardening: text changed by the display filters (titles, content, excerpts, comments) is escaped before WordPress outputs it.<\/li>\n<\/ul>\n\n<h4>5.2.1<\/h4>\n\n<ul>\n<li>Translations now come from translate.wordpress.org language packs (wordpress.org guidelines).<\/li>\n<\/ul>\n\n<h4>5.2.0<\/h4>\n\n<ul>\n<li>Dashboard widget with how many posts are fixed, waiting or left alone, and a dismissible notice when posts are waiting.<\/li>\n<li>Words to leave alone: a list of words and phrases Negaresh never changes.<\/li>\n<li>Multisite: network defaults for sites without their own settings.<\/li>\n<\/ul>\n\n<h4>5.1.0<\/h4>\n\n<ul>\n<li>When fixing on display, results are kept in the object cache (faster with Redis or Memcached).<\/li>\n<li>The admin screens are checked for accessibility (WCAG 2 A\/AA) in the test suite.<\/li>\n<\/ul>\n\n<h4>5.0.0<\/h4>\n\n<ul>\n<li>Ready for wordpress.org: passes the official Plugin Check, license files included.<\/li>\n<li>Optional fixing of comments (off by default).<\/li>\n<li><code>wp negaresh status<\/code>, and a \"Fix existing posts\" link on the Plugins screen.<\/li>\n<\/ul>\n\n<h4>4.4.0<\/h4>\n\n<ul>\n<li>Fix: dates written with Persian or Arabic digits were scrambled (\u06f3\/\u06f1\/\u06f1\u06f3\u06f5\u06f5 became \u06f1\u06f3\/\u06f1\/\u06f3\u06f5\u06f5). Upgrade recommended.<\/li>\n<li>Fix: rules with several steps ran them in the wrong order (---, repeated !?, Kashida between numbers, times).<\/li>\n<li>Leave this post alone, Fix this post now, Tools \u2192 Negaresh and wp negaresh fix for existing posts.<\/li>\n<\/ul>\n\n<h4>4.3.0<\/h4>\n\n<ul>\n<li>Try it box, reset rules to defaults, Settings link, optional titles and excerpts.<\/li>\n<\/ul>\n\n<h4>4.2.0<\/h4>\n\n<ul>\n<li>Fix before saving. Only text between tags is fixed. Fixes for spaces around links and for attributes containing \"&gt;\".<\/li>\n<\/ul>\n\n<h4>4.1.0<\/h4>\n\n<ul>\n<li>Bug fix release: 4.0.0 removed the HTML of posts on display and prevented logging in. Upgrade strongly recommended.<\/li>\n<\/ul>\n\n<p>The full changelog is at https:\/\/github.com\/LordArma\/negaresh\/blob\/master\/CHANGELOG.md<\/p>","raw_excerpt":"Fixes Persian (Farsi) typography in your posts: half spaces, Persian digits, punctuation, quotes and more.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/376173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=376173"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lordarma"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=376173"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=376173"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=376173"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=376173"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=376173"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=376173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}