Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.14 #518

Merged
merged 103 commits into from
Sep 16, 2015
Merged

Version 1.14 #518

merged 103 commits into from
Sep 16, 2015

Conversation

zackkatz
Copy link
Member

@zackkatz zackkatz commented Sep 14, 2015

┆Issue is synchronized with this Asana task

bordoni and others added 30 commits June 19, 2015 02:21
Saves up to 2kb of whitespace per response.
* Checking for loop_start prevents themes and plugins that pre-process
shortcodes from triggering the action before displaying. Like, ahem,
the Divi theme and WordPress SEO plugin
* Use `include()` instead of `include_once()` to fix pre-processing
issue

Fixes #488
Fix theme conflicts when themes have shortcode pre-processors
Only generate the container HTML if there's a field label.
Instead of sorting by username, sort by display name, which makes a lot
of sense.

See https://secure.helpscout.net/conversation/116708081/3190/
- To better Gravity Forms and Gravity View loading and shutdown functions
- Fix @Covers issues with local phpunit (removed the problem functions for now)
- Mark any failed unit tests as incomplete (needs attention)
Conflicts:
	.gitignore
- Move Gravity Forms database setup after Gravity Forms is loaded
It was taking forever.
@blueliquiddesigns Can you confirm?
Add testing - thanks @blueliquiddesigns !
Remove redundant jquery-ui close icon
This enables overriding the logic that makes sure an entry is part of a
View's search results.
Previously, there were only hooks that would also possibly trigger GF
actions as well.
*Major database resource and speed improvement*

Affects Search Bar and GravityView Search Widgets with "Submitted by"
fields, and Edit Entry screen with the Change Entry Creator.

Instead of fetching `all` fields, define a limited set of fields to
return. This way, they're all returned in a *single query* instead of
what was happening before: a main query, then another query for each
user returned.

* Before:  1.6 ms query + ( .3ms * 750 users ) = 226ms; 751 queries per
page load
* After:  1.3 ms query; 1 query per page load

Because of the speed improvements, I've increased the default # of
users returned to 2000.
Override default args for get_users() query.
Otherwise, when returning from GFAPI::get_entry(), the result could be
a `WP_Error`, which we don't want.
Search Bar enhancements: Search Mode & Labels
*Major database resource and speed improvement*

Affects Search Bar and GravityView Search Widgets with "Submitted by"
fields, and Edit Entry screen with the Change Entry Creator.

Instead of fetching `all` fields, define a limited set of fields to
return. This way, they're all returned in a *single query* instead of
what was happening before: a main query, then another query for each
user returned.

* Before:  1.6 ms query + ( .3ms * 750 users ) = 226ms; 751 queries per
page load
* After:  1.3 ms query; 1 query per page load

Because of the speed improvements, I've increased the default # of
users returned to 2000.
Override default args for get_users() query.
Otherwise, when returning from GFAPI::get_entry(), the result could be
a `WP_Error`, which we don't want.
Before, it was always showing the full time in 12-hour (US) format.
Now, it checks the form field configuration, then displays the
input-appropriate value.
We devolve into hacking SQL queries in order to get sorting by time to
work with Gravity Forms. Eesh.

Works nicely though, by converting values to TIME_FORMAT() and then
counting their pesky seconds as necessary.

Solves #492
I don't think it's likely anyone *wants* their display name or roles
changed without warning. So, let's reset them both, then add a filter
to modify the user before update.
Users receive "Password Updated" emails in WordPress 4.3+, even if the
password wasn't changed.
zackkatz added a commit that referenced this pull request Sep 16, 2015
@zackkatz zackkatz merged commit 6bc75f8 into master Sep 16, 2015
@zackkatz zackkatz deleted the version/1.14 branch September 16, 2015 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants