Skip to content

Commit

Permalink
Update: Grunt string-replace
Browse files Browse the repository at this point in the history
  • Loading branch information
mehedi-bb committed May 15, 2024
1 parent 77a5a10 commit 7475ff4
Show file tree
Hide file tree
Showing 19 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
},
"license": "GPL-2.0-or-later",
"version": "3.1.0",
"BBVersion": "2.6.00"
"BBVersion": "2.6.10"
}
14 changes: 7 additions & 7 deletions src/bp-activity/bp-activity-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7165,7 +7165,7 @@ function bb_validate_activity_privacy( $args ) {
/**
* Check whether activity schedule posts are enabled.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return bool true if activity schedule posts are enabled, otherwise false.
*/
Expand All @@ -7174,7 +7174,7 @@ function bb_is_enabled_activity_schedule_posts() {
/**
* Filters whether activity schedule posts are enabled.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param bool $value Whether activity schedule posts are enabled.
*/
Expand All @@ -7184,7 +7184,7 @@ function bb_is_enabled_activity_schedule_posts() {
/**
* Return the activity published status.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return string
*/
Expand All @@ -7195,7 +7195,7 @@ function bb_get_activity_published_status() {
/**
* Return the activity scheduled status.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return string
*/
Expand All @@ -7206,7 +7206,7 @@ function bb_get_activity_scheduled_status() {
/**
* Update the activity media scheduled status to published on clearing schedule.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param array $media_ids Array for media ids.
*/
Expand Down Expand Up @@ -7257,7 +7257,7 @@ function_exists( 'bb_media_get_published_status' ) &&
/**
* Update the activity video scheduled status to published on clearing schedule.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param array $video_ids Array for video ids.
*/
Expand Down Expand Up @@ -7308,7 +7308,7 @@ function_exists( 'bb_video_get_published_status' ) &&
/**
* Update the activity document scheduled status to published on clearing schedule.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param array $document_ids Array for document ids.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/bp-activity/classes/class-bp-activity-activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class BP_Activity_Activity {
/**
* Status of the current item.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @var string
*/
Expand Down Expand Up @@ -2372,7 +2372,7 @@ public static function bb_get_all_activity_comment_children_count( $args = array
/**
* Get activity status by id.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param int $activity_id Activity Id.
*
Expand Down
2 changes: 1 addition & 1 deletion src/bp-core/admin/settings/bp-admin-setting-activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public function bb_admin_activity_comments_settings_tutorial() {
/**
* Allow schedule activity posts.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*/
public function bb_admin_setting_callback_enable_activity_schedule_posts() {
$notice = bb_get_pro_label_notice( 'schedule_posts' );
Expand Down
2 changes: 1 addition & 1 deletion src/bp-core/bp-core-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -9760,7 +9760,7 @@ function bb_mention_add_user_dynamic_link( $content ) {
/**
* Function to return the minimum pro version to show notice.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return string
*/
Expand Down
4 changes: 2 additions & 2 deletions src/bp-core/bp-core-update.php
Original file line number Diff line number Diff line change
Expand Up @@ -3502,7 +3502,7 @@ function bb_update_to_2_5_80() {
* Purge the existing old cache to implement the new 30 days cache expiry system.
* Remove symlinks of media, documents and videos.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return void
*/
Expand Down Expand Up @@ -3573,7 +3573,7 @@ function bb_update_to_2_6_10() {
/**
* Remove from the directory symlinks of media, documents and videos.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param string $folder_path The folder path.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function( $builder_load_requests ) {
* Include compatible file when the plugin is activated.
* Support CDN Enabler.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*/
if ( in_array( 'cdn-enabler/cdn-enabler.php', $bp_plugins ) && class_exists( 'CDN_Enabler_Engine' ) ) {
require buddypress()->compatibility_dir . '/class-bb-cdn-helpers.php';
Expand Down
14 changes: 7 additions & 7 deletions src/bp-core/compatibility/class-bb-cdn-helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package BuddyBoss
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*/

// Exit if accessed directly.
Expand All @@ -22,7 +22,7 @@ class BB_CDN_Helpers {
/**
* The single instance of the class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @var self
*/
Expand All @@ -31,7 +31,7 @@ class BB_CDN_Helpers {
/**
* BB_CDN_Helpers constructor.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*/
public function __construct() {
$this->compatibility_init();
Expand All @@ -40,7 +40,7 @@ public function __construct() {
/**
* Get the instance of this class.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return Controller|null
*/
Expand All @@ -57,7 +57,7 @@ public static function instance() {
/**
* Register the compatibility hooks for the plugin.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*/
public function compatibility_init() {
add_filter( 'bp_nouveau_object_template_result', array( $this, 'bb_template_ajax_content_add_cdn' ), 10, 1 );
Expand All @@ -71,7 +71,7 @@ public function compatibility_init() {
/**
* Function to add CDN URL to ajax content.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param array $result data array.
*
Expand All @@ -88,7 +88,7 @@ public function bb_template_ajax_content_add_cdn( $result ) {
/**
* Function to add CDN URL to media preview symlink URL.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param string $attachment_url Attachment URL.
*
Expand Down
8 changes: 4 additions & 4 deletions src/bp-document/bp-document-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4414,7 +4414,7 @@ function bp_document_get_preview_url( $document_id, $attachment_id, $size = 'bb-
* Filters the attachment URL.
* Added support for CDN URL.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param string $attachment_url URL for the given attachment.
* @param int $attachment_id Attachment post ID.
Expand Down Expand Up @@ -4522,7 +4522,7 @@ function bp_document_get_preview_url( $document_id, $attachment_id, $size = 'bb-
/**
* Filters the attachment URL.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param string $attachment_url URL for the given attachment.
* @param int $attachment_id Attachment post ID.
Expand Down Expand Up @@ -5274,7 +5274,7 @@ function bb_document_get_activity_document( $activity = '', $args = array() ) {
/**
* Return the document published status.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return string
*/
Expand All @@ -5285,7 +5285,7 @@ function bb_document_get_published_status() {
/**
* Return the document scheduled status.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion src/bp-document/classes/class-bp-document.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class BP_Document {
/**
* Status of the current document item.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @var string
*/
Expand Down
6 changes: 3 additions & 3 deletions src/bp-groups/bp-groups-filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ function bb_groups_unsubscribe_group_forums_topic( $group_id, $user_id ) {
/**
* Remove suspended user and assign site admin as group organizer only when a single group organizer.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param int $user_id User id.
*
Expand Down Expand Up @@ -1563,7 +1563,7 @@ function_exists( 'bp_moderation_is_user_suspended' ) &&
/**
* Re-assign user when unsuspend to the group only when a single group organizer.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param int $user_id User id.
*
Expand Down Expand Up @@ -1629,7 +1629,7 @@ function bb_group_add_unsuspended_user( $user_id ) {
* Function will not allow to record group activity when group organizer
* unsuspend where group have only one organizer.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return bool Return false.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/bp-groups/bp-groups-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ function groups_join_group( $group_id, $user_id = 0 ) {
/**
* Apply filter to modified value to record group activity for group join.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param bool $value Allow record activity.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/bp-media/bp-media-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3451,7 +3451,7 @@ function bp_media_get_preview_image_url( $media_id, $attachment_id, $size = 'bb-
/**
* Filters the attachment URL.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param string $attachment_url URL for the given attachment.
* @param int $attachment_id Attachment post ID.
Expand Down Expand Up @@ -4245,7 +4245,7 @@ function bb_media_get_activity_max_thumb_length() {
/**
* Return the media published status.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return string
*/
Expand All @@ -4256,7 +4256,7 @@ function bb_media_get_published_status() {
/**
* Return the media scheduled status.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion src/bp-media/classes/class-bp-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class BP_Media {
/**
* Status of the current media item.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @var string
*/
Expand Down
10 changes: 5 additions & 5 deletions src/bp-performance/classes/class-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ public function purge_user_groups( $user_id, $group_names ) {
/**
* Returns the cache expiry time.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return int Cache expiry in seconds.
*/
Expand All @@ -521,7 +521,7 @@ public static function cache_expiry() {
/**
* Filters the cache expiry time.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param int $cache_expiry Expiry time for cache.
*/
Expand All @@ -531,7 +531,7 @@ public static function cache_expiry() {
/**
* Purges expired cache via background job.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return void
*/
Expand All @@ -552,7 +552,7 @@ public function purge_expired_cache() {
/**
* Schedule performance cache purge cron event.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return void
*/
Expand All @@ -574,7 +574,7 @@ public function bb_performance_purge_schedule_cron() {
/**
* Re-Schedule event to clear the cron for cache.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @param string $option Name of the option to update.
* @param mixed $old_value The old option value.
Expand Down
2 changes: 1 addition & 1 deletion src/bp-templates/bp-nouveau/includes/activity/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ function bb_nouveau_ajax_toggle_activity_notification_status() {
/**
* Deletes the scheduled Activity item received via a POST request.
*
* @since BuddyBoss [BBVERSION]
* @since BuddyBoss 2.6.10
*
* @return void JSON reply.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/bp-templates/bp-nouveau/includes/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function bp_nouveau_ajax_object_template_loader() {
* Filters the server path for the template loader.
*
* @since BuddyPress 3.0.0
* @since BuddyBoss [BBVERSION] Added the `$object` parameter.
* @since BuddyBoss 2.6.10 Added the `$object` parameter.
*
* @param string Template file path.
*/
Expand Down
Loading

0 comments on commit 7475ff4

Please sign in to comment.