ianmjones / options-pixie Goto Github PK
View Code? Open in Web Editor NEWA WordPress plugin to list, sort, search and view your WordPress site's options records with style.
A WordPress plugin to list, sort, search and view your WordPress site's options records with style.
The form currently relies on the inbuilt form security nonces, it should use a custom nonce that can be verified.
If a record has been deleted after display, trying to expand the serialized option value produces this error.
It used to be H2, but from WordPress 4.3 the titles of admin pages are now using the H1 tag.
At present Options Pixie can only determine if data has been Base 64 encoded if the contained data is Serialized, JSON or an Object.
It should be possible to test straight Base 64 encoded strings too.
usermeta
table.Expect: Page refreshes and data from selected subsite shown and selected subsite shown in site selector.
Actual: Page refreshes but data from default subsite shown and still selected in site selector.
Using the "Switch Site" button from then on works as normal, even on return to page.
If any other search or sorting performed before first use of "Switch SIte" problem does not manifest.
WP 4.3 has issues when the primary column is not the first column while being shown in mobile mode, an easy fix is to make sure the primary column (Option Name in our case) is the first column.
This would also be a good time to make the Option Name column the default sort order as it will be the first column, most people will be looking at this field and so it makes sense to have it sorted by default.
Need to add far more details to repo readme to help developers get started etc.
The readme is very minimal at present and needs a much better description of what Options Pixie offers.
Should also update tags, for definite add "wp_options".
After entering a new search term into the search box and submitting, the page refreshes and links are showing the new "s" term correctly, but the page's URL includes the old search term.
When the unit tests run against WordPress 3.9 they fail as the trunk of the WordPress unit test libs are no longer compatible with WordPress 3.9.
Unit tests should pull version specific branch of unit test libs.
See https://make.wordpress.org/core/2015/08/08/list-table-changes-in-4-3/
Support what we can but still try and keep compatibility back to WordPress 3.9 if possible.
For example, searching for "s:39" (without quotes) will cause redirect loop.
Only "S" is shown.
The core classes for manipulating data should be covered by unit tests.
At present Options Pixie shows any HTML as is, which nice, but not secure as an option_value
of "<script>alert('xss')</script>" will be run and show the alert.
WordPress does have security in place that would counter attempts to meddle with the server, and Options Pixie does not enable any destructive callbacks, but it's best not to tempt fate.
The JavaScript and CSS should only be enqueued when on the Options Pixie page.
Automated Travis CI building will help ensure unit tests are not failing and that the plugin builds without errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.