Andrew Nacin
caf4f48e31
Fix JSHint errors in six files.
...
props mdbitz.
fixes ##26011, #26012 , #26013 , #26014 , #26038 , #26039 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26195 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:41:51 +00:00
Andrew Nacin
895e8edada
Fix JSHint errors for customize-loader.
...
props mdbitz.
fixes #26040 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26194 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:30:26 +00:00
Andrew Nacin
61eedb9d34
Fix JSHint errors in wplink.js.
...
props jorbin.
fixes #25914 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26193 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:27:31 +00:00
Dion Hulse
c4e0aa63d9
Updates: Force an update check to occur when the 'Check Again' button is used in the Dashboard. Fixes #25831
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26192 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 03:04:00 +00:00
Scott Taylor
15c1c2f130
Don't place smilies inside of pre or code tags. Don't skip smilie after a smilie with an 8 in it. Fix regular expression used for smiley translations to work when there is only one registered emoticon.
...
Props solarissmoke, soulseekah, mdbitz, yonasy. ht to mdbitz for the Unit Tests and a comprehensive patch.
Fixes #16448 , #20124 , #25303 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26191 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:45:39 +00:00
Lance Willett
e7fc90c34e
Twenty Fourteen: remove unneeded translator context from theme Help tab text, props domain. See #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26190 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:42:05 +00:00
Scott Taylor
0f9564807b
Don't call is_home() before the query is run in Featured Content's pre_get_posts hook callback.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26189 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:36:30 +00:00
Dion Hulse
c7710e4238
Invalidate the 'update_core' Update check transient when $wp_version changes. See #25831
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26188 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:34:37 +00:00
Scott Taylor
5de39fc2f1
Remove the Featured Content term filters when running Unit Tests. Set the return value of wp_get_object_terms()
to a var before passing to array_shift()
in test_get_object_terms_types()
, which expects a var to be passed by reference.
...
See #25282 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26187 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:32:16 +00:00
Dion Hulse
8c01596a75
Updates: When a failed Background Update occurs, only show the failed update nag if the user hasn't yet updated if it was an early abort. Props SergeyBiryukov. Fixes #25887 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26186 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:30:30 +00:00
Helen Hou-Sandi
3f6c11bf0a
We only need to declare Open Sans once in wp-admin.css. See #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26185 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 00:14:41 +00:00
Matt Thomas
bee7eda2aa
Fixing some inconsistent behavior on toolbar icons:
...
- Use .ab-icon:before, .ab-item:before, and #adminbarsearch:before to select all toolbar icons.
- Rewrite the selector for toolbar icon hover styles so they're not overridden by default colors.
- Add #adminbarsearch:before to color schemes, so its icon color is changed with the others.
- Remove duplicate color rule on #adminbarsearch:before.
See #25858 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26184 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 00:08:38 +00:00
Andrew Nacin
513f36d6f7
Clean up wp-admin/index.php after dash merge. see #25824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26183 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:58:55 +00:00
Helen Hou-Sandi
17a8516d2e
Remove now-unused #adminmenushadow. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26182 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:48:44 +00:00
Matt Thomas
e525f62b27
Color schemes should use .ab-icon:before instead of .ab-item:before to target adminbar icons. See #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26181 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:45:11 +00:00
Matt Thomas
c7a7d8f5f8
Move the color rule for adminbar icons to a less-specific selector so that color schemes correctly affect icon color in the toolbar.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26180 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:29:26 +00:00
Matt Thomas
7c4caaff13
Reduce responsive menu transition animation from .2s to .05s to reduce lag. See #25969 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26179 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:12:52 +00:00
Matt Thomas
efd1e19044
In multisite, set storage space labels to nowrap to prevent unnecessary line breaks. Fixes #25919 , props SergeyBiryukov.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26178 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:47:06 +00:00
Matt Thomas
062ffefbc5
Move the responsive padding for html.wp-toolbar to wp-admin.css since it affects the page content, not the toolbar.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26177 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:43:00 +00:00
Matt Thomas
7c4e2caf01
Move #wpadminbar responsive styles from wp-admin.css to admin-bar.css. Remove unneeded font overrides and !importants where possible. Make sure the site menu item uses the globe icon consistently instead of switching to the home icon <782px. Fixes #25971 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26176 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:36:34 +00:00
Andrew Nacin
e299fef83d
More specific CSS for the dashboard activity widget.
...
props iammattthomas.
see #26028 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26175 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:10:24 +00:00
Andrew Nacin
c137a8979a
JSHint and coding style fixes for xfn.js.
...
props dougwollison.
fixes #26030 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26174 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 21:57:11 +00:00
Matt Thomas
c380f3276a
Make the menu location screen full-width at responsive sizes. Fixes #25975 , props johnbillion.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26173 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 20:43:00 +00:00
Matt Thomas
14e585a645
In bulk editing mode, make all columns full-width and increase the font size when at responsive sizes. Fixes #25978 , props johnbillion.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26172 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 20:40:13 +00:00
Matt Thomas
6a2adc2663
Replace icon-pointer-flag.png with the flag Dashicon. Fixes #25982 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26171 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 20:16:31 +00:00
Matt Thomas
896777db21
Add a :disabled style for radio inputs and checkboxes. Fixes #26004 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26170 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 19:45:25 +00:00
Andrew Ozz
8dc91f3646
Heartbeat: clean up code style, better naming, better code structure. Props carldanley, props evansolomon.
...
Changes:
- Add connectNow() public method to trigger a connection immediately.
- Remove the "skipping" when no data to send.
- Change the default interval to 60 sec.
- Fix resetting the next connection time when changing the interval.
See #25073 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26169 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 18:40:03 +00:00
Andrew Ozz
518cac37de
Grunt jshint: ensure the file passed with --file=filename.js matches all or part of the filepath before checking string lengths. Makes it possible to pass a file with full or partial path. All of these would work properly:
...
admin-bar.js, wp-includes/js/admin-bar.js, src/wp-includes/js/admin-bar.js. Props atimmer, fixes #25992 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26168 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 18:16:59 +00:00
Andrew Nacin
cf748f9c6d
Fix JSHint errors in postbox.js.
...
props atimmer.
fixes #26006 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26167 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 18:09:27 +00:00
Andrew Nacin
4bb79a2ce3
Add a unit test to confirm that the version number in readme.html matches version.php.
...
3.7.1 shipped with 3.7 in the readme. Not a big deal, but this should prevent it in the future.
git-svn-id: https://develop.svn.wordpress.org/trunk@26166 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 16:50:21 +00:00
Helen Hou-Sandi
cc62157248
Remove old control/accordion section title gradients that were still appearing in the customizer and reinstate a divider between the customizer sidebar and the preview. props ryelle, helen. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26165 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 16:41:36 +00:00
Dion Hulse
53748cebe1
Bacground Updates: Move the 'automatic_updates_complete' hook to only fire when some updates have actually been completed. Props nacin. Fixes #25841
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26164 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 06:28:42 +00:00
Andrew Nacin
3b3bb985fa
Fix JSHint errors in nav-menu.js.
...
props atimmer.
fixes #25953 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26163 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 06:08:11 +00:00
Andrew Nacin
c22a544c89
Fix JSHint errors (again) for revisions.js.
...
props adamsilverstein.
fixes #25955 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26162 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:55:46 +00:00
Andrew Nacin
6a08d485dc
Fix JSHint errors in media-views.js.
...
props kadamwhite.
fixes #25974 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26161 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:53:15 +00:00
Andrew Nacin
6e585ecd0c
Fix JSHint errors in admin-bar.js.
...
props kadamwhite.
fixes #25970 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26160 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:50:40 +00:00
Andrew Nacin
c0207f3bfb
Fix JSHint errors in the old XML-based ajax response JS.
...
props OriginalEXE.
fixes #25954 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26159 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:42:06 +00:00
Andrew Nacin
efe54a3ac6
Fix JSHint errors in custom-header.js and custom-background.js.
...
props jorbin.
fixes #25915 , #25916 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26158 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:39:28 +00:00
Andrew Nacin
1e02e255eb
JSHint: Make commentReply a declared global from elsewhere.
...
props adamsilverstein.
see #25979 , [26156].
git-svn-id: https://develop.svn.wordpress.org/trunk@26157 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:29:01 +00:00
Andrew Nacin
01f59af277
Avoid jshint errors in edit-comment.js.
...
props adamsilverstein.
fixes #25979 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26156 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:09:46 +00:00
Dion Hulse
707082fd12
Background Updates: Add a 'automatic_updates_complete' hook that fires after any updates have run. Props pento. Fixes #25841
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26155 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:07:19 +00:00
Lance Willett
eab85bc5d8
Twenty Fourteen: fix tabs to spaces in two files. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26154 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:56:27 +00:00
Lance Willett
96569b0075
Twenty Fourteen: first pass at adding help text to to "Help" tab for edit.php
and themes.php
screens. Props obenland for starter patch, see #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26153 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:52:06 +00:00
Lance Willett
3345e88fad
Twenty Fourteen: simplify and prefix post thumbnail sizes, props obenland. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26152 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:49:19 +00:00
Lance Willett
21ed02204d
Twenty Fourteen: remove unused class name, props obenland. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26151 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:45:45 +00:00
Lance Willett
ad44560149
Twenty Fourteen: make sure styles for featured content on a static page are limited to posts within the main content area. Props iamtakashi, fixes #25938 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26150 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:19:21 +00:00
Dion Hulse
6d70a797be
Background Updates: Spread them over the hour. Props Pento. Fixes #25833 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26149 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:03:27 +00:00
Dion Hulse
a23ead1467
Background Updates: Fix a PHP Fatal error which could be encountered on some systems when using FTP. Fixes #25817 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26148 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 02:01:30 +00:00
Andrew Nacin
e7986b035c
Remove SCRIPT_DEBUG reference from register_admin_color_schemes().
...
Instead, script-loader.php handles converting .min.css to .css when SCRIPT_DEBUG is on, and has since r21592. (This was done for compatibility with plugin color schemes that used .css and .dev.css.)
see #25858 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26147 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 00:02:36 +00:00
Helen Hou-Sandi
37b14a653a
Avoid a notice when SCRIPT_DEBUG is not defined. props MikeHansenMe. see #25824 , #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26146 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 23:58:32 +00:00