Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
2. Read the full diff since that tag: run `git diff <tag>..HEAD` to understand what actually changed in the code
3. Read the existing changelog in README.TXT to understand the format (look at the first 3-4 entries after `== Changelog ==`)
4. Based on the actual code changes (not just commit messages), write a changelog entry and insert it into README.TXT right after the `== Changelog ==` line
5. Remove the oldest changelog entry from the bottom of the changelog section (the last `= x.x.x =` block and its bullet lines). Preserve any trailing links or text after the changelog entries.

Changelog format rules:
- First line: = ${{ inputs.version }} =
Expand Down
20 changes: 10 additions & 10 deletions README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: listings, classified ads, classified, classifieds, directory plugin, class
Requires at least: 6.2
Requires PHP: 5.6
Tested up to: 7.0
Stable tag: 4.4.7
Stable tag: 4.4.8
License: GPLv2 or later

Create a classified listings directory, from auto listings to yard sales with AWP Classifieds plugin.
Expand Down Expand Up @@ -208,6 +208,15 @@ Yes it can. Our Classifieds directory plugin comes with many user-provided trans
Yes it is. However, you cannot "network-activate" the plugin (as this will share the database). Activate it on only the subsites on which you need a directory. This can be done under Plugins->Add New as the Administrator user. Do not "network activate" AWPCP as the "super admin".

== Changelog ==
= 4.4.8 =
* Fix: Category counts not updating after deleting a listing from the front end.
* Fix: User Listings page not redirecting guests to the custom login URL.
* Fix: Image approval alert still showing when listing images are disabled.
* Fix: Terms of Service not shown or required for admins on Place Ad.
* Fix: AWPCPBROWSECATS shortcode not rendering the categories list.
* Fix: Missing space between access keys in notification emails.
* Fix: Plain text formatting in the ad approved user email.
Comment thread
sorinmarta marked this conversation as resolved.

= 4.4.7 =
* New: WebP support for listing images.
* Enhancement: Social share updated from Twitter to X.
Expand Down Expand Up @@ -263,13 +272,4 @@ Yes it is. However, you cannot "network-activate" the plugin (as this will share
* Fix: Bug with broken thumbnail images after WordPress 6.7
* Fix: PHP warning when OpenGraph metadata is loaded

= 4.3.3 =
* New: Updates for better PHP 8 support.
* Security: Add more nonce and user role protection for uninstalling and other ajax functions.
* Security: Hardening for escaping output and SQL queries.
* Update SelectWoo script version.
* Fix: Fallback to native dropdowns if there is a conflict with Select2.
* Fix: SEO Framework updatesfor outdated code.
* Code: Update to phpcs 3 standards.

<a href="https://awpcp.com/plugins/awp-classifieds/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">See changelog for all versions</a>
4 changes: 2 additions & 2 deletions awpcp.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin Name: AWP Classifieds
* Plugin URI: https://awpcp.com/
* Description: Run a free or paid classified ads service on your WordPress site.
* Version: 4.4.7
* Version: 4.4.8
* Author: AWP Classifieds Team
* Author URI: https://awpcp.com/
* License: GPLv2 or later
Expand Down Expand Up @@ -61,7 +61,7 @@
global $hasregionsmodule;
global $hasextrafieldsmodule;

$awpcp_db_version = '4.4.7';
$awpcp_db_version = '4.4.8';

$awpcp_imagesurl = AWPCP_URL . '/resources/images';
$hascaticonsmodule = 0;
Expand Down
2 changes: 1 addition & 1 deletion frontend/class-query.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function is_reply_to_listing_page() {
}

/**
* @since x.x
* @since 4.4.8
*/
public function is_user_listings_page() {
return $this->is_page_that_has_shortcode( 'AWPCPUSERLISTINGS' );
Expand Down
2 changes: 1 addition & 1 deletion frontend/shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function search_ads() {
*
* Previously aliased to Browse Ads for backwards compatibility.
*
* @since x.x
* @since 4.4.8
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/class-authentication-redirection-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private function reply_to_listing_page_requires_autentication() {
}

/**
* @since x.x
* @since 4.4.8
*/
private function user_listings_page_requires_authentication() {
return $this->settings->get_option( 'requireuserregistration' );
Expand Down
2 changes: 1 addition & 1 deletion includes/listings/class-delete-listing-event-listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function before_delete_post( $post_id ) {
* null after the post row has been removed.
*
* @since 4.0.0
* @since x.x Accepts the deleted WP_Post from after_delete_post.
* @since 4.4.8 Accepts the deleted WP_Post from after_delete_post.
*
* @param int $post_id Post ID.
* @param WP_Post|null $post Deleted post object (available since WP 5.5).
Expand Down
2 changes: 1 addition & 1 deletion includes/models/payment-transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public function verify_payment_conditions(&$errors) {
/**
* Verify that the payment can be marked as completed.
*
* @since x.x
* @since 4.4.8
*
* @param array &$errors
* @return bool
Expand Down
4 changes: 2 additions & 2 deletions includes/regions-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function save( $region ) {
/**
* Allowlist region array keys to valid DB columns only.
*
* @since x.x
* @since 4.4.8
*
* @param mixed $region Region data.
*
Expand All @@ -91,7 +91,7 @@ private function filter_region_columns( $region ) {
/**
* Sanitise a user-submitted region to editable fields only.
*
* @since x.x
* @since 4.4.8
*
* @param mixed $region Region data.
*
Expand Down
2 changes: 1 addition & 1 deletion resources/css/awpcp-admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/css/awpcpstyle.css

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions tests/suite/Payments/Gateways/test-PayPalStandard.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class PayPalStandardTest extends AWPCP_UnitTestCase {

/**
* @since x.x
* @since 4.4.8
*
* @return void
*/
Expand All @@ -22,7 +22,7 @@ public function tearDown(): void {
}

/**
* @since x.x
* @since 4.4.8
*/
public function test_invalid_user_return_waits_for_ipn_verification() {
$request = Phake::mock( 'AWPCP_Request' );
Expand All @@ -39,7 +39,7 @@ public function test_invalid_user_return_waits_for_ipn_verification() {
}

/**
* @since x.x
* @since 4.4.8
*/
public function test_invalid_ipn_marks_payment_as_invalid() {
$request = Phake::mock( 'AWPCP_Request' );
Expand All @@ -58,7 +58,7 @@ public function test_invalid_ipn_marks_payment_as_invalid() {
}

/**
* @since x.x
* @since 4.4.8
*/
public function test_verified_paypal_pending_payment_remains_pending() {
$_POST = array(
Expand All @@ -85,7 +85,7 @@ public function test_verified_paypal_pending_payment_remains_pending() {
}

/**
* @since x.x
* @since 4.4.8
*/
public function test_verified_payment_with_mismatched_transaction_id_is_invalid() {
$_POST = array(
Expand All @@ -111,7 +111,7 @@ public function test_verified_payment_with_mismatched_transaction_id_is_invalid(
}

/**
* @since x.x
* @since 4.4.8
*
* @return AWPCP_Payment_Transaction
*/
Expand Down
6 changes: 3 additions & 3 deletions tests/suite/Payments/test-payment-transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class AWPCP_TestPaymentTransaction extends AWPCP_UnitTestCase {

/**
* @since x.x
* @since 4.4.8
*/
public function test_unverified_payment_cannot_complete_transaction() {
$transaction = $this->create_transaction();
Expand All @@ -26,7 +26,7 @@ public function test_unverified_payment_cannot_complete_transaction() {
}

/**
* @since x.x
* @since 4.4.8
*/
public function test_pending_payment_can_complete_transaction() {
$transaction = $this->create_transaction();
Expand All @@ -40,7 +40,7 @@ public function test_pending_payment_can_complete_transaction() {
}

/**
* @since x.x
* @since 4.4.8
*
* @return AWPCP_Payment_Transaction
*/
Expand Down
8 changes: 4 additions & 4 deletions tests/suite/functions/test-email-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class AWPCP_TestEmailFunctions extends AWPCP_UnitTestCase {
/**
* Test access key.
*
* @since x.x
* @since 4.4.8
*
* @var string
*/
Expand Down Expand Up @@ -65,7 +65,7 @@ private function create_test_listing_with_key( $key ) {
/**
* Tests ad enabled user email body uses plain text escaping.
*
* @since x.x
* @since 4.4.8
*/
public function test_ad_enabled_user_email_body_is_escaped_for_plain_text() {
$listing = $this->create_test_listing_with_key( $this->key );
Expand All @@ -88,7 +88,7 @@ public function test_ad_enabled_user_email_body_is_escaped_for_plain_text() {
/**
* Tests ad enabled user email footer separates site name and URL.
*
* @since x.x
* @since 4.4.8
*/
public function test_ad_enabled_user_email_footer_has_line_break_between_site_name_and_url() {
$listing = $this->create_test_listing_with_key( $this->key );
Expand All @@ -106,7 +106,7 @@ public function test_ad_enabled_user_email_footer_has_line_break_between_site_na
/**
* Prepares the body generated by the ad enabled user email template.
*
* @since x.x
* @since 4.4.8
*
* @param WP_Post $listing Listing.
* @return string
Expand Down
Loading