AnsPress 4.4.1

[fix] Allowing uploading other file types while posting

AnsPress 4.4.0

## What’s Changed
* [Fix] Tags addon – unsupported argument passed to count function by @Kudratullah in https://github.com/anspress/anspress/pull/773
* Update/composer npm packages by @rahularyan in https://github.com/anspress/anspress/pull/774
* Depreacted: ap_reponce_message by @rahularyan in https://github.com/anspress/anspress/pull/775
* Fixed #603 by @rahularyan in https://github.com/anspress/anspress/pull/776
* [Fix] Plugin Welcome Page Design by @mebishalnapit in https://github.com/anspress/anspress/pull/777
* [Fix] PHP warning on (AnsPress) Ask form widget by @mebishalnapit in https://github.com/anspress/anspress/pull/779
* [Fix] PHP warning on (AnsPress) Categories widget by @mebishalnapit in https://github.com/anspress/anspress/pull/780
* [Fix] Welcome Page Questions Date only Displays in the Latest Question only for the same date by @mebishalnapit in https://github.com/anspress/anspress/pull/786
* [Fix] Issue with RTL.css by @mebishalnapit in https://github.com/anspress/anspress/pull/801
* [Fix] Double Multiple answers options in the User Access Control option section by @mebishalnapit in https://github.com/anspress/anspress/pull/800
* [Fix] PHP warning on the menu edit page by @mebishalnapit in https://github.com/anspress/anspress/pull/797
* [Fix] Quick tags editor does not work when enabled for Answer editor? plugin option by @mebishalnapit in https://github.com/anspress/anspress/pull/795
* [Fix] Extra > added after the title in New Answer page by @mebishalnapit in https://github.com/anspress/anspress/pull/793
* [Fix] User registration is done even though WordPress Membership option is disabled by @mebishalnapit in https://github.com/anspress/anspress/pull/824
* [Fix] Clear avatar cache does not have confirm option before deleting the Avatar cache by @mebishalnapit in https://github.com/anspress/anspress/pull/827
* [Fix] Answer editor default placeholder image by @mebishalnapit in https://github.com/anspress/anspress/pull/862
* [Fix] Features enable and disable reloads the page by @mebishalnapit in https://github.com/anspress/anspress/pull/791
* [Fix] PHP warning on (AnsPress) Search widget by @mebishalnapit in https://github.com/anspress/anspress/pull/778
* [Fix] Options Page Closed Options Content Design by @mebishalnapit in https://github.com/anspress/anspress/pull/781
* [Fix] PHP warning on Pages option save when page selected is Select an option by @mebishalnapit in https://github.com/anspress/anspress/pull/782
* [Fix] jQuery.trim and jQuery.isArray is deprecated by @mebishalnapit in https://github.com/anspress/anspress/pull/784
* [Fix] Documents and FAQ AnsPress Welcome Page Link Target by @mebishalnapit in https://github.com/anspress/anspress/pull/785
* [Fix] Welcome Page Answers Section Empty by @mebishalnapit in https://github.com/anspress/anspress/pull/787
* [Fix] jQuery.fn.change() event shorthand is deprecated by @mebishalnapit in https://github.com/anspress/anspress/pull/792
* [Fix] Reputation link goes to 404 Error page if the User Profile feature is not enabled by @mebishalnapit in https://github.com/anspress/anspress/pull/789
* [Fix] Features enabled active section not proper for some cases by @mebishalnapit in https://github.com/anspress/anspress/pull/790
* [Fix] Subscribed/Unsubscribed to the Question Ajax message by @mebishalnapit in https://github.com/anspress/anspress/pull/794
* [Fix] Select all menu items created via AnsPress plugin reloads the custom menu management page by @mebishalnapit in https://github.com/anspress/anspress/pull/798
* [Fix] Reputations options when saved does not notify the user that the options are updated in any way by @mebishalnapit in https://github.com/anspress/anspress/pull/803
* [Fix] PHP Warning: Undefined array key image by @mebishalnapit in https://github.com/anspress/anspress/pull/804
* [Fix] User profile page Answers tab Load more answers button does not hide even though all answers provided by the user is already loaded by @mebishalnapit in https://github.com/anspress/anspress/pull/807
* [Fix] PHP Undefined array key warning for AnsPress pages options after Permanently delete all AnsPress options is done by @mebishalnapit in https://github.com/anspress/anspress/pull/788
* [Fix] Theme & Extensions Submenu Item Link Target by @mebishalnapit in https://github.com/anspress/anspress/pull/783
* [Fix] Answer editor does not close by itself after answering the question if Quick Tags editor is enabled by @mebishalnapit in https://github.com/anspress/anspress/pull/796
* Revert “[Fix] Answer editor does not close by itself after answering the question if Quick Tags editor is enabled” by @rahularyan in https://github.com/anspress/anspress/pull/889
* [Fix] Fatal error: Uncaught Error: array_keys(): Argument #1 ($array) must be of type array by @mebishalnapit in https://github.com/anspress/anspress/pull/802
* [Fix] PHP warning message when using (AnsPress) Question Stats widget by @mebishalnapit in https://github.com/anspress/anspress/pull/805
* [Fix] When a Question or an Answer is flagged then, in AnsPress main menu item, double the number shows as total count number required attention by @mebishalnapit in https://github.com/anspress/anspress/pull/806
* [Fix] Function name collision with Actions Pack Plugin by @mebishalnapit in https://github.com/anspress/anspress/pull/808
* [Fix] PHP Warning: Undefined array key 0 by @mebishalnapit in https://github.com/anspress/anspress/pull/809
* [Fix] Enqueue scripts has a unrequired double directory separators by @mebishalnapit in https://github.com/anspress/anspress/pull/811
* [Fix] Show solved prefix plugin option not adding the [Solved] prefix before the question title by @mebishalnapit in https://github.com/anspress/anspress/pull/812
* [Fix] Ask form category order plugin option not working by @mebishalnapit in https://github.com/anspress/anspress/pull/813
* [Fix] OP can answer? plugin option is working in opposite way by @mebishalnapit in https://github.com/anspress/anspress/pull/814
* [Fix] Plugin activate on fresh WordPress install generates PHP error(warning) messages by @mebishalnapit in https://github.com/anspress/anspress/pull/815
* [Fix] Post status updated successfully Ajax message on question and answer status changes by @mebishalnapit in https://github.com/anspress/anspress/pull/817
* [Fix] Flagged question and answer Ajax message by @mebishalnapit in https://github.com/anspress/anspress/pull/818
* [Fix] Question and Answer action links title by @mebishalnapit in https://github.com/anspress/anspress/pull/819
* [Fix] Default plugin features(addons) activated automatically on plugin activation by @mebishalnapit in https://github.com/anspress/anspress/pull/816
* [Fix] Answer editor does not close by itself after answering the question if Quick Tags editor is enabled by @mebishalnapit in https://github.com/anspress/anspress/pull/891
* [Fix] Some of the allowed tags is not working on email notifications set via Email Templates options by @mebishalnapit in https://github.com/anspress/anspress/pull/799
* [Fix] Notifications page Seen filter displays the Mark all as seen button by @mebishalnapit in https://github.com/anspress/anspress/pull/821
* [Fix] Unrequired enqueue of custom JS files by @mebishalnapit in https://github.com/anspress/anspress/pull/822
* [Fix] Post updated and bulk post updated messages by @mebishalnapit in https://github.com/anspress/anspress/pull/823
* [Fix] Post status for Question and Answer post types not displaying in Question and Answer edit page by @mebishalnapit in https://github.com/anspress/anspress/pull/825
* [Fix] Warning: Attempt to read property post_author on null by @mebishalnapit in https://github.com/anspress/anspress/pull/826
* [Fix] Improper description for Font icon class, if image not set category option by @mebishalnapit in https://github.com/anspress/anspress/pull/831
* [Fix] PHP Deprecated message regarding BuddyPress addon by @mebishalnapit in https://github.com/anspress/anspress/pull/832
* [Fix] Empty breadcrumb trail on the User Profile page for user name by @mebishalnapit in https://github.com/anspress/anspress/pull/833
* [Fix] jQuery error if Load assets in AnsPress page only? option is enabled by @mebishalnapit in https://github.com/anspress/anspress/pull/835
* [Fix] Empty border on the activities page if there are no user activities found by @mebishalnapit in https://github.com/anspress/anspress/pull/836
* [Fix] Questions Order by filter Solved filter option by @mebishalnapit in https://github.com/anspress/anspress/pull/837
* [Fix] Max upload size plugin option can exceed the value to be set inside it more than max_upload_size php.ini settings by @mebishalnapit in https://github.com/anspress/anspress/pull/829
* [Fix] Attempt to read property name on bool by @mebishalnapit in https://github.com/anspress/anspress/pull/830
* [Fix] Syntax Highlighter addon is not working when Quick tags editor is enabled by @mebishalnapit in https://github.com/anspress/anspress/pull/828
* [Fix] Notifications unseen filter shows the seen notifications by @mebishalnapit in https://github.com/anspress/anspress/pull/820
* [Fix] Blank contents on AnsPress related pages if Block theme is used by @mebishalnapit in https://github.com/anspress/anspress/pull/838
* [Fix] TinyMCE editor fails to load when WordPress Jetpack CDN option “Speed up static file load times” is enabled by @mebishalnapit in https://github.com/anspress/anspress/pull/839
* [Fix] Mark all as seen notification button click does not reset the notification counter number by @mebishalnapit in https://github.com/anspress/anspress/pull/840
* [Fix] Insert image button on Question and Answer form always available by @mebishalnapit in https://github.com/anspress/anspress/pull/841
* [Fix] Uncaught TypeError: jQuery.apParseParams is not a function by @mebishalnapit in https://github.com/anspress/anspress/pull/843
* [Fix] Homepage questions pagination does not work directly if the home page is set to Your latest posts by @mebishalnapit in https://github.com/anspress/anspress/pull/844
* [Fix] Hide the Admin Bar by @mebishalnapit in https://github.com/anspress/anspress/pull/847
* [Fix] Single question page breadcrumb trail does not display the last trail item by @mebishalnapit in https://github.com/anspress/anspress/pull/850
* [Fix] Breadcrumb trail link does not follow the link to the page set within plugin Pages options by @mebishalnapit in https://github.com/anspress/anspress/pull/851
* [Fix] Marked as closed question activity always shown even when reverted back by @mebishalnapit in https://github.com/anspress/anspress/pull/853
* [Fix] Marked as featured question question activity always shown even when reverted back by @mebishalnapit in https://github.com/anspress/anspress/pull/854
* [Fix] Allow editing question slug in wp-admin by @mebishalnapit in https://github.com/anspress/anspress/pull/857
* [Fix] Recheck AnsPress with Polylang by @mebishalnapit in https://github.com/anspress/anspress/pull/858
* [Fix] [BuddyPress Integration] Comments to answers not displayed in activity? by @mebishalnapit in https://github.com/anspress/anspress/pull/861
* [Fix] PHP Warning: Attempt to read property “comment_ID” on int by @mebishalnapit in https://github.com/anspress/anspress/pull/856
* [Fix] Uploading larger image size via Insert image button on Question and Answer editor never gets completed by @mebishalnapit in https://github.com/anspress/anspress/pull/845
* [Fix] Deleting comment, question, and answer is done without notifying the user by @mebishalnapit in https://github.com/anspress/anspress/pull/846
* [Fix] Ask a Question page and Activities page breadcrumb trail does not display the last trail item by @mebishalnapit in https://github.com/anspress/anspress/pull/849
* [Fix] Single Tag Page Displays The Tag Filter by @mebishalnapit in https://github.com/anspress/anspress/pull/864
* [Fix] Trashed Question Available On The New Answer Page by @mebishalnapit in https://github.com/anspress/anspress/pull/866
* [Fix] Categories page the category icon is not placed exactly in the center by @mebishalnapit in https://github.com/anspress/anspress/pull/868
* [Fix] All looks fine gets displayed even though there is a flagged and moderate answer available by @mebishalnapit in https://github.com/anspress/anspress/pull/870
* [Fix] Links in the Require Attention section reloads the page by @mebishalnapit in https://github.com/anspress/anspress/pull/872
* [Fix] Social links on the settings page by @mebishalnapit in https://github.com/anspress/anspress/pull/874
* [Fix] New Answer page is not responsive by @mebishalnapit in https://github.com/anspress/anspress/pull/876
* [Fix] When deleting a question, only the answers with publish status will get deleted by @mebishalnapit in https://github.com/anspress/anspress/pull/878
* [Fix] AnsPress options page is not responsive by @mebishalnapit in https://github.com/anspress/anspress/pull/882
* [Fix] PHP warning message when viewing the invalid comment via popup by @mebishalnapit in https://github.com/anspress/anspress/pull/884
* [Fix] Code added via Insert Code could not be edited by @mebishalnapit in https://github.com/anspress/anspress/pull/880
* [Fix] Option: prevent thrashing question if there are any answers by @mebishalnapit in https://github.com/anspress/anspress/pull/860
* [Fix] Reputation events icon not displayed on the users’ reputation page by @mebishalnapit in https://github.com/anspress/anspress/pull/859
* [Fix] Up vote and Down vote title by @mebishalnapit in https://github.com/anspress/anspress/pull/852
* Add/unit tests by @rahularyan in https://github.com/anspress/anspress/pull/893
* [Fix] Uncaught TypeError: Cannot read properties of null (reading ‘ownerDocument’) by @mebishalnapit in https://github.com/anspress/anspress/pull/892

## New Contributors
* @Kudratullah made their first contribution in https://github.com/anspress/anspress/pull/773

**Full Changelog**: https://github.com/anspress/anspress/compare/4.3.2…4.4.0

AnsPress 4.3.0

Today AnsPress version 4.3.0 was released and this update introduces a new top reputation leaderboard widget you can add to your AnsPress. This leaderboard will display the top most reputable contributors to your Q and A sections.

The widget comes with the following customizations:

  • Widget location
  • Number of users to display
  • Size of avatars to display
  • Size of grid to display users in

We hope you find this update exciting and useful as a way to drive more engagement on your website.  You can find this feature under Appearance > Widgets.

For more detailed changes, please see the github links below:

  • Updated node dependencies
  • Added leaderboard widget

Development Changelog: https://github.com/anspress/anspress/compare/4.2.3…4.3.0

AnsPress 4.1.23

Today we are publishing the next small update to AnsPress, bringing it to version 4.1.23

Here are the changes you can expect in this version:

– For developers: Added docker config.
– For developer: Removed old CI config files.
– Replaced deprecated jQuery functions.
– Removed enqueueing of minified files.
– Removed the white background in the body. This should help AnsPress work with dark themes.

Thank you for using and supporting AnsPress.

AnsPress 4.1.24

Today we are publishing the next small update to AnsPress, bringing it to version 4.1.23

Here are the changes you can expect in this version:

  • For developers: Added docker config.
  • For developer: Removed old CI config files.
  • Replaced deprecated jQuery functions.
  • Removed enqueueing of minified files.
  • Removed the white background in the body. This should help AnsPress work with dark themes.

Thank you for using and supporting AnsPress.

AnsPress 4.1.22

We have just released a small update for AnsPress, version 4.1.22. In this update you will find the following fixes and improvements: Fixed: Duplicate fields issue when using SEO plugins. Fixed: deprecated jQuery shorthand functions. Fixed: Question shortcode not working. Fixed: ap_insert_reputation action had wrong reputation id.    

AnsPress 4.1.20

We have just released the next update for AnsPress, version 4.1.20.

In this update you will find the following fixes and improvements:

* Fixed: wrong date time in get_adjacent_post query
* Fixed: Uncaught Error Call to a member function has_cap() on bool
* Fixed: Tags not being saved from frontend form
* Warning: Creating default object from empty value in wp-content/plugins/anspress-question-answer/includes/functions.php on line 2461 Fixes #550
* Disable cache for function ap_get_post
* Improved question filters UI
* Added condition for existence of index (#548)

The contributor list system is back online and you can see the details of the commits below.

We would like to send a big thank you to all of our contributors donating their time to this project, and the users leaving feedback on Github and in our community. We are very grateful for your help in making AnsPress the best it can be.

AnsPress 4.1.19

We are excited to announce a new update to AnsPress, as well as some news about the future of this plugin.

First, we have just released AnsPress version 4.1.19, which includes these changes:

  • Automated post status no longer added when ap_current_user_ignore is set.
  • Margin and padding class conflicts with tailwind resolved.
  • Now prevents processing tags field when saving from wp-admin.
  • Fixed query hook preventing preventing filtering questions in wp-admin.
  • Updated the donation link in readme.txt
  • Fixed translation not working for ap_human_time.
  • Moved json parsing to try catch block.
  • “Add” in tags field translatable is now translatable.
  • Removed aggressive query caching in favour of 3rd party caching.

Second, we are happy to announce that AnsPress has received increased resources to bolster its development. Work on the plugin and the associated AskBug WP theme has resumed. What this means is that we will be implementing a regular update schedule for AnsPress and the associated AskBug theme. We have also re-opened our community and requests for custom AnsPress work. Please drop by the AnsPress Community to leave feedback, interact with other members, and lend a helping hand. When considering what updates we are making next, we will be listening to community feedback.

To be clear, the base AnsPress plugin will always be Open Source and available to those who want it, and that is not going to change.

Work will also continue on the AskBug theme, and we have re-opened the purchases and updates of licenses of the theme for anyone interested. If you run into any issues there, please email us at support “at” anspress.net. Our first major update to the theme should be incoming within the month, and focuses on increasing the customization options and quality of life fixes.

Please note our system for publishing the contributions and our changelog was not working since 4.1.1.5 so the below info includes information from 4.1.1.5 to now. We greatly appreciate everyone who has contributed to the project and we hope to see more in the future.

After going through almost a year’s worth of questions and requests, we are touched that AnsPress has such dedicated users and we are looking forward to continuing to improve AnsPress for all of you.

 

AnsPress 4.1.13

  1. Show unpublished questions of user’s separately
  2. Do not include session posts to question query
  3. Fix: including session posts in query creating lots of issue
  4. Allow html in single-category.php Description. Author: Brad Griffin
  5. Category is not selected in ask form when category parameter is passed
  6. New feature: Create account for user
  7. Removed some deprecated methods and functions
  8. Fixed: class ‘AnsPress_Post_Table_Hooks’ does not have a method ‘filter_comments_query’
  9. Send post_title to akismet
  10. Fixed pagination issue when in main user page. Fixes #486
  11. Check post updated before delete images
  12. Fixed conflict in `human_time_diff`
  13. Minor fixes by Author YOONBYEONGIN 
  14. AP_Activate would be invalid without activate.php Author: awijasa
  15. Improved modal
  16. Allow excluding session posts

AnsPress 4.1.12

Bug fixes and UI improvents.