Skip to content

Commit

Permalink
Merge pull request #1822 from publishpress/release-v4.6.0
Browse files Browse the repository at this point in the history
Release v4.6.0
  • Loading branch information
olatechpro authored Jan 21, 2025
2 parents afb9632 + 13cce9c commit 84930a2
Show file tree
Hide file tree
Showing 18 changed files with 697 additions and 465 deletions.
6 changes: 3 additions & 3 deletions common/php/class-module.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function get_post_statuses()
{
global $publishpress;

return $publishpress->getPostStatuses();
return apply_filters('publishpress_calendar_post_statuses', $publishpress->getPostStatuses());
}


Expand Down Expand Up @@ -895,7 +895,7 @@ public function getUserAuthorizedPostStatusOptions($postType)

$pp_post_type_status_options[$postType] = $postStatuses;

return $postStatuses;
return apply_filters('publishpress_user_post_status_options', $postStatuses);
}

public function getPostStatusOptions()
Expand All @@ -918,7 +918,7 @@ public function getPostStatusOptions()
];
}

return $postStatuses;
return apply_filters('publishpress_post_status_options', $postStatuses);
}

/**
Expand Down
550 changes: 269 additions & 281 deletions composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
if (! defined('PP_LOADED')) {
if (! defined('PUBLISHPRESS_VERSION')) {
// Define constants
define('PUBLISHPRESS_VERSION', '4.5.1');
define('PUBLISHPRESS_VERSION', '4.6.0');
define('PUBLISHPRESS_BASE_PATH', __DIR__);
define('PUBLISHPRESS_VIEWS_PATH', __DIR__ . '/views');
define('PUBLISHPRESS_FILE_PATH', PUBLISHPRESS_BASE_PATH . '/publishpress.php');
Expand Down
Loading

0 comments on commit 84930a2

Please sign in to comment.