• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

WordPoints / wordpoints
54%
master: 53%

Build:
Build:
LAST BUILD BRANCH: 1.10.4
DEFAULT BRANCH: master
Repo Added 03 Jan 2015 09:43PM UTC
Files 38
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH issue/222
branch: issue/222
CHANGE BRANCH
x
Reset
  • issue/222
  • 1.10
  • 1.10.0
  • 1.10.1
  • 1.10.2
  • 1.10.4
  • 1.5
  • 1.9
  • 1.9.0
  • 1.9.1
  • 1.9.2
  • 2.0
  • 2.0.0
  • 2.0.1
  • 2.0.2
  • feature/296
  • feature/misc
  • issue-210
  • issue-221
  • issue-256
  • issue/211
  • issue/220
  • issue/262
  • issue/263
  • issue/273
  • issue/277
  • issue/298
  • issue/300
  • issue/307
  • issue/317
  • issue/326
  • issue/328
  • issue/330
  • issue/335
  • issue/337
  • issue/345
  • issue/349
  • master
  • release/2.0.0
  • release/2.0.1
  • release/2.0.2
  • security/77231
  • stable

pending completion
414

push

travis-ci

JDGrimes
Update admin notice dismiss to use Ajax

WordPress 4.2 introduced the ability to mark an admin notice as
dismissible by adding the `is-dismissible` class to the notice element.
This adds support for dismissible notices to our template function. It
also updates the code for dismissible notices that are tied to an
option. The option must be deleted for the notice to be dismissed.
Previously, this was done by the user clicking a button to submit a
form. We still do that for non-js users, but when JS is present, we
hide the form and trigger an Ajax action to delete the option when the
user clicks the dismiss button added by WordPress instead. This brings
us better parity with the notice dismissal UI that is familiar to users.

See #222

1463 of 2729 relevant lines covered (53.61%)

4.96 hits per line

Relevant lines Covered
Build:
Build:
2729 RELEVANT LINES 1463 COVERED LINES
4.96 HITS PER LINE
Source Files on issue/222
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
414 issue/222 Update admin notice dismiss to use Ajax WordPress 4.2 introduced the ability to mark an admin notice as dismissible by adding the `is-dismissible` class to the notice element. This adds support for dismissible notices to our template function. It... push 30 Jun 2015 08:37PM UTC JDGrimes travis-ci pending completion  
See All Builds (121)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc