Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-wpdesk-activation-reminder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
Library
wp-wpdesk-activation-reminder
Merge requests
!3
feature(popup): popup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
feature(popup): popup
feature/popup
into
main
Overview
12
Commits
15
Pipelines
1
Changes
1
Merged
Krzysztof Dyszczyk
requested to merge
feature/popup
into
main
3 years ago
Overview
12
Commits
15
Pipelines
1
Changes
1
0
0
Merge request reports
Viewing commit
9e0ea3a2
Prev
Next
Show latest version
1 file
+
2
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
9e0ea3a2
refactor(code review): cr chenges
· 9e0ea3a2
Grzegorz Rola
authored
3 years ago
src/Reminder.php
+
2
−
4
View file @ 9e0ea3a2
Edit in single-file editor
Open in Web IDE
Show full file
@@ -13,22 +13,20 @@ class Reminder {
public
function
enqueue_reminder_script
()
{
if
(
!
$this
->
is_plugin_activated
()
)
{
wp_
register
_script
(
wp_
enqueue
_script
(
'wpdesk-activation-reminder'
,
plugins_url
(
'popup-javascript-file'
),
array
(),
'script-version'
,
true
);
wp_enqueue_script
(
'wpdesk-activation-reminder'
);
wp_
register
_style
(
wp_
enqueue
_style
(
'wpdesk-activation-reminder'
,
plugins_url
(
'popup-css-file'
),
array
(),
'script-version'
);
wp_enqueue_style
(
'wpdesk-activation-reminder'
);
}
}
Loading