Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-notice
Manage
Activity
Members
Labels
Plan
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
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
wp-notice
Merge requests
!12
Bugfix/init file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Bugfix/init file
bugfix/init-file
into
master
Overview
1
Commits
5
Pipelines
1
Changes
10
All threads resolved!
Hide all comments
Merged
Krzysztof Dyszczyk
requested to merge
bugfix/init-file
into
master
6 years ago
Overview
1
Commits
5
Pipelines
1
Changes
10
All threads resolved!
Hide all comments
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
9e464890
5 commits,
6 years ago
10 files
+
97
−
31
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
assets/js/notice.js
+
0
−
1
View file @ 9e464890
Edit in single-file editor
Open in Web IDE
Show full file
jQuery
(
document
).
on
(
'
click
'
,
'
.notice-dismiss
'
,
function
()
{
var
notice_name
=
jQuery
(
this
).
closest
(
'
div.notice
'
).
data
(
'
notice-name
'
);
console
.
log
(
notice_name
);
if
(
''
!==
notice_name
)
{
jQuery
.
ajax
({
url
:
ajaxurl
,
Loading