Go to file
Ian Dunn 4773a48012 Privacy: Reposition pointer to ensure dismiss link is always visible.
r43158 introduced a new admin pointer for the privacy tools added in 4.9.6. With the previous positioning, though, sometimes the `Dismiss` link would be fixed off screen, making it impossible for the user to dismiss the pointer. This happened when there were enough extra menu items, or when the viewport height was short enough.

This commit repositions the pointer to work around that problem. One down side of this workaround is that the arrow will not always be positioned next to the `Tools` menu, where it should be. That's an acceptable compromise given the current time constraints, though. A long term solution would be to make `WP_Pointer` robust enough to handle this use case.

Props imath, audrasjb, desrosj.
Fixes #44045.


git-svn-id: https://develop.svn.wordpress.org/trunk@43246 602fd350-edb4-49c9-b593-d223f7449a82
2018-05-12 17:28:30 +00:00
src Privacy: Reposition pointer to ensure dismiss link is always visible. 2018-05-12 17:28:30 +00:00
tests General: Skip `test_is_countable_ResourceBundle()` on PHP 5.3 and below. 2018-05-10 20:15:18 +00:00
tools/i18n Remove the `svn:executable` property from files that don't need it. 2017-11-17 02:57:27 +00:00
.editorconfig General: Instruct file editors not to trim trailing whitespace in markdown files. 2018-03-20 22:14:53 +00:00
.gitignore Build/Test Tools: Remove `vendor` file name entry from `.gitignore`. 2018-02-25 11:29:25 +00:00
.jshintrc General: Remove `.jshintrc` and `*.json` from the 2-space-indent `.editorconfig` group. 2017-10-12 01:57:45 +00:00
.travis.yml BUILD/TEST TOOLS: Report Travis test results to make/hosting PHPUnit test results 2018-01-16 20:28:42 +00:00
Gruntfile.js Media: Update minified version of imgAreaSelect after [42874]. 2018-04-03 19:45:39 +00:00
composer.json Build Tools: Update the description in package.json and composer.json. 2018-04-05 07:15:25 +00:00
composer.lock Build Tools: Add a composer.json for development environments. 2018-04-05 07:04:08 +00:00
jsdoc.conf.json Docs: Improve wp-admin JSDoc structural data globally. 2017-12-15 13:41:56 +00:00
package.json Wow. I really shouldn't try to fix the build. 2018-04-19 00:25:52 +00:00
phpcs.xml.dist Build/Test Tools: Don't trigger the global variable override PHPCS sniff for core. 2018-04-28 00:44:50 +00:00
phpunit.xml.dist Build/Test Tools: Allow code coverage reports to be generated. 2018-02-07 22:20:25 +00:00
webpack.config.dev.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
webpack.config.prod.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
wp-cli.yml Remove debug mode from WP-CLI by default, as it now outputs too much debugging information to be of use during normal development. 2015-11-28 18:36:06 +00:00
wp-config-sample.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wp-tests-config-sample.php Code is Poetry. 2017-11-30 23:09:33 +00:00