Admin and Site Enhancements (ASE)

Admin and Site Enhancements (ASE) 8.7.2

No permission to download
* **[IMPROVED in Free and Pro] Utilities >> View Admin as Role**: add an additional note to create a backup admin user before using this module. This backup admin user is useful when for whatever reason and in very rare occasions, the primary admin user is not able to return / login as an admin.

* **[FIXED in Pro] Disable Components >> Disable REST API**: fixed an issue where the /wp-json route is still publicly accessible. Props to Pavan K. for reporting the issue.

* **[FIXED in Pro] Admin Interface >> Admin Columns Manager**:
* fix the link for "Manage Columns" button in the "All Posts" listing page.
* fix PHP warning that occurs in a certain scenario

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [35 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: Updated Spanish (Spain), Spanish (Chile), Portuguese (Brazil), Polish, Norwegian, Dutch, Chinese (Taiwan)
* ASE Pro: Added Bulgarian (partial).
* **[IMPROVED in Free and Pro] Disable Components >> Disable Comments**: only post types that has support for comments will be listed as options now. Props to [DJABHipHop](https://wordpress.org/support/users/pressthemes1/) for [prompting](https://wordpress.org/support/topic/suggestion-for-the-disable-comments-feature/) this improvement.

* **[IMPROVED in Pro] Disable Components >> Disable REST API**: improved the logic to always enable certain endpoints, e.g. /wp-json/wc/store/v1/cart, especially for authenticated user roles which have not been explicitly been allowed access in the module settings. Special props to Eric C. for spotting this unobvious oversight, reporting it in detail and with clarity, and on top of that, providing the code fix.

* **[FIXED in Pro] Utilities >> Display System Summary**: fixed a fatal error that occurs in a certain scenario when trying to calculate the size of a folder/file in a must-use plugin. Props to someone from creatives.hu for reporting the issue and facilitating the troubleshooting process.

* **[FIXED in Pro] Admin Interface >> Admin Menu Organizer**: fixed an issue where the AMO settings page is not working properly when a certain custom menu item is manually added via a PHP code snippet. Props to Theodore for reporting the issue.

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [35 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: Updated Portuguese (Brazil), Polish, Norwegian, Korean, Japanese, German, Danish.
* ASE Pro: Updated Danish, Norwegian, Hungarian, Portuguese (Brazil).
* **[FIXED in Free and Pro] Content Management >> Content Duplication**:
* fixed a fatal error that occurs in a specific scenario. Props to [@afrigols](https://wordpress.org/support/users/afrigols/) for [reporting](https://wordpress.org/support/topic/php-fatal-error-in-the-latest-plugin-update-v8-0-0/) the issue.
* improved fix of missing admin bar duplication link in the frontend view of posts.

* **[IMPROVED and FIXED in Pro] Admin Interface >> Admin Menu Organizer**:
* improved reset logic to also work when no settings has been saved.
* prevent several of [MainWP Dashboard](https://wordpress.org/plugins/mainwp/) and [Smash Balloon Social Post Feed](https://wordpress.org/plugins/custom-facebook-feed/) submenu items from showing up blank in the AMO settings page.
* fixed an edge case where hidden menu item toggle (Show All/Less) was not shown in a rare scenario for users with multiple roles.

* **[FIXED in Pro] Security >> CAPTCHA Protection**: fixed a CSS issue with ALTCHA, where the checkbox label turned white and unreadable. Props to Shawn B. for reporting the issue.

* **[FIXED in Pro] Content Management >> Custom Content Types >> Custom Field Groups**:
* fixed a fatal error when `update_cf()` is invoked. Props to Pierre A. for reporting the issue.
* fixed PHP warning when rendering relationship field in a certain scenario in Bricks. Props to Tadea T. for reporting the issue with the relevant error/debug log entry.

* **[FIXED in Pro] Utilities >> Form Builder**: fixed a typo in the UI (English). Props to Morten E.L. for catching and reporting it.

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [35 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: Added Bulgarian. Updated Russian, Portuguese (Portugal), Portuguese (Brazil), Polish, Norwegian, French, Dutch, Danish, Bengali (Bangladesh), Arabic.
* ASE Pro: Updated Danish.
* **[ADDED in Free and Pro] Disable Components >> Disable Embeds**: Prevent your site content from being embedded on other sites. Prevent embedding of non-whitelisted sites in your site. Disable all, related JavaScript. Removes support for the embed block.

* **[FIXED in Pro] Admin Interface >> Admin Columns Manager**: fixed PHP warning that occurs in a certain scenario. Props to Andrew A. for reporting the issue and suggesting the fix.

* **[FIXED in Pro] Content Management >> Content Duplication**: fixed a bug where the duplication link is not properly showing up in the admin bar on the frontend when viewing single pages / posts /CPT post, and when viewing the homepage that uses a specific page. Props to Lee B. for prompting this fix.

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [34 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: updated Serbian, Portuguese (Brazil), Polish, Norwegian, Korean, Japanese, Danish.
* **[IMPROVED in Free and Pro] Content Management >> Content Duplication**: re-enable duplication of Elementor templates and landing pages as data for both post types are confirmed to be stored only in the default wp_posts and wp_postmeta tables. Props to Marcel N. and Celeste W.

* **[FIXED in Pro] Custom Code >> Code Snippets Manager**: fixed sorting based on the "Modified" date time / column not properly working in the snippets listing page. Props to Oliver S. for reporting the issue and facilitating the troubleshooting process.

* **[FIXED in Pro] Content Management >> Custom Content Types >> Custom Field Groups**: fixed a bug where update_cf() doesn't work when a field in a custom field group has an empty 'Name'. Props to @compwj for reporting the issue.

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [34 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: updated Spanish (Chile), Portuguese (Brazil), Polish, Norwegian, German (Formal), Danish.
* ASE Pro: updated Arabic.
* **[FIXED in Free and Pro] Admin Interface >> Wider Admin Menu**: fixed the admin menu overlapping Formidable Form plugin's admin pages. Props to Stijn V. for reporting the issue.

* **[IMPROVED in Pro] Utilities >> Form Builder**: matrix fields are now responsive (mobile-friendly). Props to Uli L. for prompting this improvement.

* **[FIXED in Pro] Custom Code >> Code Snippets Manager**: fix an issue where the "is not / not any of" operator in an AND/OR conditional reverts back to "is / one of" upon saving. Props to Dexx W. for reporting the issue.

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [34 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: updated Portuguese (Brazil), Polish, Norwegian, German, Danish.
* ASE Pro: updated German.
* **[FIXED in Free and Pro] Disable Components >> Disable Smaller Components >> Disable shortlink tag in head**: fixed priority for `remove_action()` for the `template_redirect` hook, so it is properly removed. Props to [@robertmichalski](https://wordpress.org/support/users/robertmichalski/) for [reporting the issue](https://wordpress.org/support/topic/removing-shortlink-header-fails/) and providing the fix.

* **[FIXED in Pro] Admin Interface >> Show Custom Taxonomy Filters**: fixed an issue where frontend 404 page is not properly being displayed when additional filters for non-hierarchical taxonomies are set to be shown and the permalink structure is set to /%category%/%postname%/. Props to John C. for reporting the issue and facilitating the troubleshooting process.

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [34 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: Updated Spanish (Spain), Portuguese (Brazil), Polish, Norwegian, Danish, Arabic
* **[SECURITY FIX in Free and Pro] Content Management >> SVG Upload**: fix Stored XSS vulnerability when a user with media upload privilege uploads a malicioius SVG via xmlrpc.php. Props to Willow, a security researcher from WPScan and Jetpack for responsibly disclosing the vulnerability.

* **[IMPROVED in Free and Pro] Log In/Out and Register >> Change Login URL**: legitimate cURL requests to /wp-admin/admin-post.php is now allowed when Change Login URL is enabled. This is sometimes needed to utilize the admin_post_nopriv_action hook. Props to Maxime for prompting this improvement.

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [34 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: Updated Portuguese (Brazil), Polish, Norwegian, German (Formal), French, Danish
* **[FIXED in Free and Pro] Admin Interface >> Admin Menu Organizer**: fixed PHP notice "\_load_textdomain_just_in_time was called incorrectly". Props to Matteo for reporting the issue.

* **[FIXED in Pro] Content Management >> Custom Content Types**: fixed PHP warning and error that occurs in a certain scenario when viewing the Custom Post Types listing page. Props to Kol N. for reporting the issue and facilitating the troubleshooting process.

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [34 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: Updated Vietnamese, Slovak, Portuguese (Brazil), Polish, Norwegian, Dutch, Danish.
* ASE Pro: Updated Hungarian.
* **[FIXED in Free and Pro] Admin Interface >> Admin Menu Organizer**: fix PHP warnings that occurs when using "wp list post" command via WP CLI. Props to [Apostolos P.T.](https://wordpress.org/support/users/monotropos/) for [reporting](https://wordpress.org/support/topic/2-warnings-when-getting-page-from-cli/) this issue.

* **[CHANGED in Pro] Custom Code >> Code Snippets Manager**: The snippet description field/editor is now placed below the code editor, so you can immediately work on the code upon page load / saving changes. This also fixes an issue where the snippet description field very occasionally shows a blank white box rendering it unusable. Props to Kilian H. for prompting this change.

* **[TRANSLATION in Free and Pro]** ASE is now being translated into [34 languages](https://translate.wpase.com/):
* **Added new/improved translation** for:
* ASE Free: Updated Russian, Portuguese (Brazil), Polish, Norwegian, Japanese, German (formal), Dutch, Bengali.
Top