Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ai-global-activity-plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
ai-global-activity-plugin
Commits
48616644
Commit
48616644
authored
3 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Update ai-global-activity.php
parent
3a39a7e7
No related branches found
No related tags found
No related merge requests found
Pipeline
#22378
passed
3 years ago
Stage: release
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ai-global-activity.php
+1
-1
1 addition, 1 deletion
ai-global-activity.php
with
1 addition
and
1 deletion
ai-global-activity.php
+
1
−
1
View file @
48616644
...
...
@@ -78,7 +78,7 @@ function ai_activity_publish_post($post_id) {
$post_excerpt
=
get_the_excerpt
(
$post
);
$post_author
=
apply_filters
(
'the_author'
,
$post
->
post_author
);
$post_date
=
get_the_date
(
'Y-m-d H:i:s'
,
$post
);
$post_thumbnail_url
=
get_the_post_thumbnail_url
(
$post
);
$post_thumbnail_url
=
get_the_post_thumbnail_url
(
$post
,
'thumbnail'
);
// Rewrite false to null in the get_the_post_thumbnail_url() response.
if
(
!
$post_thumbnail_url
)
{
$post_thumbnail_url
=
null
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment