site address:
web.archive.org/web/20210817023629/https://github.com/xwp/wp-customize-setting-validation
site title:
GitHub - xwp/wp-customize-setting-validation: [OBSOLETE] Customize Setting Validation plugin for WordPress. See htt????/core.trac.wordpress.org/changeset/37476
|
|
|
Our opinion (on Friday 25 September 2026 6:48:52 UTC):
- no comments
|
|
|
|
After content analysis of this website we propose the following hashtags:
|
|
|
|
Meta tags:
description= [OBSOLETE] Customize Setting Validation plugin for WordPress. See htt????/core.trac.wordpress.org/changeset/37476 - GitHub - xwp/wp-customize-setting-validation: [OBSOLETE] Customize Setting Validation plugin for WordPress. See htt????/core.trac.wordpress.org/changeset/37476;
Headings (most frequently used words):
launching, invalid, title, customize, setting, validation, github, desktop, xwp, wp, latest, commit, git, stats, files, readme, md, description, screenshots, changelog, about, releases, packages, languages, site, widget, nav, menu, item, resources, learn, and, contribute, connect, with, others, xcode, visual, studio, code,
Text of the page (most frequently used words):
the (64), #validation (30), setting (27), and (21), github (19), value (16), #customize (15), this (13), for (12), from (12), customizer (12), with (11), plugin (11), all (11), that (9), wordpress (9), settings (9), php (8), invalid (8), not (8), can (7), message (7), title (7), values (7), tags (6), org (6), obsolete (6), see (6), error (6), client (6), are (6), method (6), saved (6), any (6), again (6), there (6), code (6), readme (5), https (5), core (5), trac (5), will (5), validate (5), server (5), valid (5), sanitization (5), nothing (5), desktop (5), jump (5), your (4), security (4), nav (4), menu (4), item (4), widget (4), site (4), saving (4), back (4), persisted (4), would (4), which (4), xwp (4), commit (4), try (4), launching (4), download (4), branches (4), you (3), about (3), packages (3), changeset (3), 37476 (3), being (3), show (3), titles (3), populated (3), return (3), 1900 (3), 2100 (3), null (3), transactional (3), atomic (3), controls (3), save (3), once (3), way (3), state (3), get (3), user (3), standard (3), default (3), view (3), dev (3), latest (3), load (3), open (3), happens (3), web (3), actions (3), issues (3), sign (3), repository (3), signed (2), another (2), tab (2), window (2), refresh (2), session (2), reload (2), time (2), api (2), pricing (2), contact (2), 2021 (2), css (2), javascript (2), published (2), plugins (2), release (2), add (2), reset (2), element (2), prevent (2), notice (2), changelog (2), screenshots (2), functionality (2), side (2), name (2), done (2), both (2), set (2), extended (2), validationmessage (2), wp_error (2), customize_validate_settings (2), when (2), sanitize (2), during (2), type (2), here (2), two (2), should (2), committed (2), until (2), sanitized (2), ensure (2), one (2), messages (2), successfully (2), blocked (2), completely (2), they (2), others (2), successful (2), failed (2), showing (2), only (2), database (2), case (2), but (2), does (2), data (2), preview (2), generally (2), allows (2), errors (2), via (2), why (2), 34893 (2), feature (2), was (2), description (2), xml (2), json (2), yml (2), lib (2), git (2), codespace (2), xcode (2), cli (2), learn (2), more (2), refname (2), could (2), insights (2), wiki (2), projects (2), pull (2), requests (2), notifications (2), star (2), stars (2), education (2), plans (2), explore (2), out, perform, action, blog, training, docs, status, privacy, terms, inc, languages, releases, resources, initial, missing, util, dependency, height, auto, after, slidedown, finishes, sliding, down, repeatedly, banner, icon, directory, handle, relative, locate_plugin, wp_content_dir, accepted, due, logic, variable, leaking, into, next, loop, iteration, short, circuit, admin, uninstalled, demonstration, made, possible, including, how, fully, blogname, customize_validate_entitled_settings, also, programmatically, calling, example, inspired, html5, max, min, year, must, between, invalid_value, new, doing_action, apply, strict, callback, called, intval, function, sanitize_callback, option, array, year_established, add_setting, wp_customize, implement, sanitizer, returns, object, note, same, although, complimentary, transaction, its, transactions, proposal, sync, actual, performing, rejecting, displaying, validating, before, aims, solve, these, problems, lastly, differs, difference, apparent, furthermore, means, other, may, very, well, thus, result, some, whereas, wouldn, know, were, since, mechanism, partially, isn, good, where, rejected, provide, display, entering, just, stop, seeing, making, changes, without, feedback, even, worse, actually, manipulates, make, strange, behavior, provides, input, likely, having, binding, instances, prototype, rely, passed, through, enforce, blocks, large, part, because, facility, relating, raise, returning, returned, however, modified, disappears, indication, seems, customize_sanitize_, setting_id, wp_customize_setting, demo, video, forces, labels, start, upper, letter, entitled, proposed, inclusion, improve, model, validated, block, additionally, performed, have, resulting, differ, updated, match, while, retaining, non, dirty, cycle, r37476, alpha, gplv2, later, license, stable, tag, tested, requires, least, westonruter, contributors, messaging, saves, txt, phpunit, dist, phpcs, ruleset, package, instance, contributing, composer, gruntfile, travis, jshintrc, jshintignore, jscsrc, gitmodules, gitignore, david, coveralls, assets, tests, df4f01f, information, permalink, files, commits, stats, problem, preparing, please, ready, visual, studio, zip, work, fast, our, official, use, checkout, svn, using, url, clone, branch, switch, master, forks, fork, organization, suggested, results, sales, compare, marketplace, program, community, forum, events, project, connect, source, guides, learning, lab, trending, collections, topics, contribute, enterprise, team, customer, stories, sponsors, integrations, review, codespaces, mobile, features, skip, content, wayback, machine, http, archive, 20210817023629, com, timestamps, capture, fail, success, 2022, 2020, sep, aug, jul, jun, 2018, oct, 2024, captures,
Text of the page (random words):
github xwp wp customize setting validation obsolete customize setting validation plugin for wordpress see https core trac wordpress org changeset 37476 5 captures 11 jun 2018 17 oct 2024 jul aug sep 17 2020 2021 2022 success fail about this capture timestamps the wayback machine http web archive org web 20210817023629 https github com xwp wp customize setting validation skip to content sign up why github features mobile actions codespaces packages security code review issues integrations github sponsors customer stories team enterprise explore explore github learn and contribute topics collections trending learning lab open source guides connect with others the readme project events community forum github education github stars program marketplace pricing plans compare plans contact sales education in this repository all github jump to no suggested jump to results in this repository all github jump to in this organization all github jump to in this repository all github jump to sign in sign up message xwp wp customize setting validation notifications star 17 fork 2 obsolete customize setting validation plugin for wordpress see https core trac wordpress org changeset 37476 wordpress org plugins customize setting validation 17 stars 2 forks star notifications code issues 1 pull requests 0 actions projects 0 wiki security insights more code issues pull requests actions projects wiki security insights master switch branches tags branches tags could not load branches nothing to show refname default view all branches could not load tags nothing to show refname default view all tags 1 branch 4 tags code clone https github cli use git or checkout with svn using the web url work fast with our official cli learn more open with github desktop download zip launching github desktop if nothing happens download github desktop and try again go back launching github desktop if nothing happens download github desktop and try again go back launching xcode if nothing happens download xcode and try again go back launching visual studio code your codespace will open once ready there was a problem preparing your codespace please try again latest commit git stats 52 commits files permalink failed to load latest commit information type name latest commit message commit time css dev lib df4f01f js php tests wp assets coveralls yml david dev dev lib gitignore gitmodules jscsrc jshintignore jshintrc travis yml gruntfile js composer json contributing md customize setting validation php instance php package json phpcs ruleset xml phpunit xml dist readme md readme txt view code customize setting validation description screenshots invalid site title invalid widget title invalid nav menu item title changelog 0 1 3 0 1 2 0 1 1 0 1 readme md customize setting validation obsolete core feature plugin for customizer setting validation error messaging and transactional atomic saves see trac 34893 contributors westonruter xwp requires at least 4 4 tested up to 4 6 alpha stable tag 0 1 3 license gplv2 or later description notice the customize setting validation plugin is obsolete it was committed during the 4 6 release cycle in r37476 this feature plugin allows setting values to be validated and for any validation errors to block the customizer from saving any setting until all are valid additionally once a successful save is performed on the server any settings that have resulting php sanitized values which differ from the js values will be updated on the client to match while retaining the non dirty saved state the functionality here will be proposed for inclusion in wordpress core via trac 34893 improve customizer setting validation model see demo video of customize validate entitled settings plugin which forces the site title widget titles and nav menu item labels to all be populated and to start with an upper case letter settings in the customizer rely on sanitization to ensure that only valid values get persisted to the database the sanitization in the customizer generally allows values to be passed through to be persisted and does not enforce validation that blocks the saving of the value this is in large part because there is no standard facility for showing error messages relating to customizer controls and there is no standard method to raise validation errors a customizer setting can be blocked from being saved by returning null from the wp_customize_setting sanitize method i e generally returned via customize_sanitize_ setting_id when this is done however the modified value completely disappears from the preview with no indication for why the value seems to be reset to the default in javascript there is the wp customize setting prototype validate method that can be extended to return null in the case where the value should be rejected but again this does not provide a way to display a validation message the user can be entering data but they just stop seeing the value making changes in the preview without any feedback even worse if the js validate method actually manipulates the value to make it valid there can be strange behavior in the ui as the user provides input likely having to do with the two way data binding of wp customize element instances furthermore if one setting is blocked from being saved by means of validation in the sanitization method the other settings in the customizer state may very well be completely valid and thus they would save successfully the result is that some settings would get saved whereas others would not and the user wouldn t know which were successful and which failed again since there is no standard mechanism for showing validation error message the customizer state would only partially get persisted to the database this isn t good lastly once the settings are successfully saved if any of the php sanitization differs in any way from the js sanitization on the client the difference in value will not be apparent in the customizer controls so this plugin aims to solve both these problems by validating settings on server before save displaying validation error messages from server and from js client performing transactional atomic setting saving rejecting all settings if one is invalid sync back the php sanitized saved setting values to the js client and ensure controls are populated with the actual persisted values note that the transactional atomic saving here in setting validation is not the same as the customizer transactions proposal although the two are complimentary a transaction should not be published committed until all of its settings are valid to do server side validation of a setting implement a setting sanitizer that returns null or a wp_error object php wp_customize add_setting year_established array type option sanitize_callback function value value intval value apply strict validation when the sanitize callback is called during customize_validate_settings if doing_action customize_validate_settings value 1900 value 2100 return new wp_error invalid_value __ year must be between 1900 and 2100 value min 2100 max value 1900 return value the validation error message can also be set programmatically by js by calling setting validationmessage set for example from an extended setting validate method the validationmessage is inspired by html5 for a demonstration of the functionality made possible with this customizer setting validation api including how to do client side validation see the customize_validate_entitled_settings plugin it will validate that the site name blogname nav menu item titles and widget titles are all fully populated the validation is done both on the client and on the server screenshots invalid site title invalid widget title invalid nav menu item title changelog 0 1 3 short circuit and show admin notice if plugin is obsolete and can be uninstalled 0 1 2 prevent invalid value from being accepted due to logic error with a variable leaking into the next loop iteration 0 1 1 handle relative wp_content_dir in locate_plugin add banner and icon for wp plugin directory prevent validation message from sliding up down repeatedly reset validation message element height to auto after slidedown finishes add missing wp util dependency 0 1 initial release about obsolete customize setting validation plugin for wordpress see https core trac wordpress org changeset 37476 wordpress org plugins customize setting validation resources readme releases 4 tags packages 0 no packages published languages php 67 0 javascript 31 3 css 1 7 2021 github inc terms privacy security status docs contact github pricing api training blog about you can t perform that action at this time you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session
|
|
Images from subpage: "web.archive.org/web/20210817023629/https://github.com/custom... "
Verify
Images from subpage: "web.archive.org/web/20210817023629/https://github.com/team... "
Verify
Images from subpage: "web.archive.org/web/20210817023629/https://github.com/enterp... "
Verify
Images from subpage: "web.archive.org/web/20210817023629/https://github.com/explor... "
Verify
Images from subpage: "web.archive.org/web/20210817023629/https://github.com/topics... "
Verify
|
Verified site has: 110 subpage(s). Do you want to verify them? Verify pages:
|
The site also has references to the 2 subdomain(s)
|
|
|
Pages verified in the last hours (randomly selected):
|
|
Top 50 hastags from of all verified websites.
| |
|
|
|
|
|
|
Load Info| page size | 42268 | | load time (s) | 2.201828 | | redirect count | 0 | | speed download | 19203 | | server IP | 207.241.237.3 |
|
|
|
|
|
|
|
|
* Image may be subject to copyright.
|
|