Commit Graph

1071 Commits

Author SHA1 Message Date
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
Andrew Nacin
3b82749eba Merge the new dashboard design into core.
Merges https://github.com/growthdesigner/wp-dash.

props lessbloat, joen, helen, dbernar1, kraftbj, ryelle, tillkruess, grapplerulrich, markjaquith.
see #25824.


git-svn-id: https://develop.svn.wordpress.org/trunk@26144 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 22:08:47 +00:00
Andrew Nacin
fec84d9bd3 THX needs this file, for now. see #25948.
git-svn-id: https://develop.svn.wordpress.org/trunk@26142 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 21:03:21 +00:00
Andrew Nacin
12ccb6d136 Update the Themes screen, merging THX into core.
* Name: THX38
 * Description: Update the Themes screen with a new design and experience.
 * Tags: visually-focused, bigger-screenshots, fast, mobile-friendly, backbone-driven
 * Author: matveb, shaunandrews, melchoyce, designsimply, shelob9
 * URI: http://wordpress.org/plugins/thx38/

fixes #25948



git-svn-id: https://develop.svn.wordpress.org/trunk@26141 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 20:57:29 +00:00
Matt Thomas
e00060118b Bring in the widgets component of MP6. See #25858.
* A cleaner UI, with a simpler design for available and inactive widgets, and more emphasis on your sidebars.
* Available widgets and sidebars expand to two columns at larger screen sizes making it easier to manage sites with lots of sidebars.
* New dropzone indicator for empty sidebars.

Props shaunandrews, joen, iammattthomas.



git-svn-id: https://develop.svn.wordpress.org/trunk@26140 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 20:05:51 +00:00
Helen Hou-Sandi
2e54579af7 Turns out it helps if you add those pesky Sass files if you're going to use a preprocessor. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26139 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:53:01 +00:00
Sergey Biryukov
87b1101b49 Inline documentation for hooks in wp-admin/includes/class-wp-comments-list-table.php.
props siobhyb, kpdesign.
fixes #25662.

git-svn-id: https://develop.svn.wordpress.org/trunk@26138 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:46:20 +00:00
Helen Hou-Sandi
e84e1e8791 Merge the color schemes component from MP6. Introduces Light, Blue, and Midnight.
Color scheme selection on your own profile page gives you a preview and autosaves the selection.

Also introduces the usage of a preprocessor for core files, namely Sass. For 3.8, we will not expand its implementation past the color schemes. This does require Ruby as well as Sass 3.3.0+ due to the usage of the sourcemap option.

Note that only the default color scheme is available when running out of src. Use build to test the rest as well as the color picker.

props ryelle, melchoyce, tillkruess, drw158, littlethingsstudio, helen. see #25858, #22862.


git-svn-id: https://develop.svn.wordpress.org/trunk@26137 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:37:10 +00:00
Lance Willett
6c20964578 Twenty Fourteen: use numbered placeholders for Customizer help text in case they get swapped during translation, props obenland. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26135 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:01:34 +00:00
Matt Thomas
58f312f95e Bring in the responsive component of MP6. See #25858.
* Makes the admin fully responsive down to 320px wide.
* Adds a touch-optimized main menu that can be opened and closed from the toolbar.
* Size and positioning adjustments to icons, buttons, and text elements for better touch usability.

A few changes since MP6:

* Removed jQuery mobile. This script was used to add swipe controls to open/close the sidebar menu. This feature was apparently buggy and due to the pending demise of jQuery mobile, it was removed.
* Removed use of Backbone.js. Adding Backbone.js to this script would add a dependency of Backbone.js for all of the admin. Additionally, it was used to add a menu item. Instead of doing that, it was added via the admin menu API. This also fixes a bad delay in the item showing in the menu.
* CSS layout is standardized. Comments have also been cleaned up.
* Jetpack and Akismet code is removed.
* RTL CSS is removed.
* JS passes hinting other than one small issue that will likely be removed when parts of the code are reviewed.

A number of areas for improvement remain; we're tracking these issues in the comments of #25858.

Props to tollmanz, tillkruess, helen, dd32, and apeatling.



git-svn-id: https://develop.svn.wordpress.org/trunk@26134 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 17:59:32 +00:00
Lance Willett
bedae470cd Twenty Fourteen: style multisite pages wp-activate.php and wp-signup.php, props obenland. Fixes #25479.
git-svn-id: https://develop.svn.wordpress.org/trunk@26133 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 16:23:30 +00:00
Matt Thomas
24b68b6152 Reinstating this fix for the issue described in #18868, wherein some versions of Chrome open the About/"W" dropdown menu inadvertantly, like when clicking a select element. Fix was removed in the initial MP6 commit r26072, this brings it back. See #25858; props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@26132 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 15:35:35 +00:00
Matt Thomas
1dee61d8b6 Clean up the new svg-painter.js so that it passes our jshint; see #25858. Props jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26131 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 15:25:20 +00:00
Sergey Biryukov
e196d64613 Better description for WP_Locale::_strings_for_pot(). props dimadin. fixes #25937.
git-svn-id: https://develop.svn.wordpress.org/trunk@26130 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 14:00:59 +00:00
Sergey Biryukov
4006e4a233 Inline documentation for hooks in wp-mail.php.
props kpdesign, radices.
fixes #25551.

git-svn-id: https://develop.svn.wordpress.org/trunk@26129 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 11:57:11 +00:00
Andrew Nacin
7d2ba3675e Fix new RTL file loading when style concatenation is enabled.
see #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26128 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 05:09:40 +00:00
Andrew Nacin
d57f3a4442 3.8-alpha-26127 to bust all the caches.
git-svn-id: https://develop.svn.wordpress.org/trunk@26127 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:43:58 +00:00
Sergey Biryukov
323524abef Inline documentation for hooks in wp-includes/capabilities.php.
props ptahdunbar, kpdesign.
fixes #25531.

git-svn-id: https://develop.svn.wordpress.org/trunk@26126 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:38:13 +00:00
Helen Hou-Sandi
0074ad2d90 Merge the sticky menu component from MP6. The admin menu is now fixed if the viewport is large enough. props tollmanz, tillkruess, dd32. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26125 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:29:27 +00:00
Sergey Biryukov
d97f64f9f7 Restore the $current_site global in wp-admin/admin-header.php to avoid an undefined function error in single site.
see #25158.

git-svn-id: https://develop.svn.wordpress.org/trunk@26124 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:16:43 +00:00
Sergey Biryukov
d3cee0734e Change jQuery selector in Quick Edit to avoid losing data in IE8.
fixes #24923 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26123 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:05:57 +00:00
Sergey Biryukov
4f0bb96602 Use a simple replacement for 'wp_title' filter in capital_P_dangit(), like we do for 'the_title'.
props nacin.
fixes #25796.

git-svn-id: https://develop.svn.wordpress.org/trunk@26122 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:55:33 +00:00
Sergey Biryukov
a6f9656497 Remove redundant cleanup of PHPMailer addresses in wp_mail().
props bananastalktome.
fixes #25789.

git-svn-id: https://develop.svn.wordpress.org/trunk@26121 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:44:16 +00:00
Sergey Biryukov
39d55fddb8 Use get_current_site() instead of the $current_site global when possible.
props jeremyfelt.
fixes #25158.

git-svn-id: https://develop.svn.wordpress.org/trunk@26120 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:22:48 +00:00
Lance Willett
f13e9a6796 Twenty Fourteen: remove unnecessary width rule that broke responsiveness. Props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@26119 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:20:44 +00:00
Lance Willett
76a9f245ae Twenty Fourteen: updated (and more PNG crushing) screenshot. Props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@26118 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:07:11 +00:00
Lance Willett
2c76ed028f Twenty Fourteen: enhanced styles for logged-out comment form "required" mark and comment moderation text. Props iamtakashi, fixes #25932.
git-svn-id: https://develop.svn.wordpress.org/trunk@26117 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:50:40 +00:00
Lance Willett
3f49cd224e Twenty Fourteen: fix low-contrast input elements in Firefox by explicitly setting opacity: 1 for the placeholder text. Also brighten the border styles a bit. Props iamtakashi, fixes #25930.
git-svn-id: https://develop.svn.wordpress.org/trunk@26116 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:45:15 +00:00
Sergey Biryukov
7cd8d225a3 Use case-insensitive comparison for email addresses. fixes #25779.
git-svn-id: https://develop.svn.wordpress.org/trunk@26115 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:40:28 +00:00
Sergey Biryukov
c7c382b077 Avoid PHP notices in wp_notify_postauthor() when using a custom comment type.
Use a switch statement for consistency with wp_notify_moderator().

fixes #25880.

git-svn-id: https://develop.svn.wordpress.org/trunk@26114 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:31:15 +00:00
Sergey Biryukov
9149d49677 Remove no_update_actions(), unused since [12157]. props jdgrimes. fixes #25923.
git-svn-id: https://develop.svn.wordpress.org/trunk@26113 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:17:52 +00:00
Andrew Nacin
40f762f894 Free common.js of JSHint errors.
props jorbin.
fixes #25912.


git-svn-id: https://develop.svn.wordpress.org/trunk@26112 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:55:23 +00:00
Andrew Nacin
b1dfc8ef61 Mark zxcvbn global to avoid JSHint errors.
props jorbin.
fixes #25911.


git-svn-id: https://develop.svn.wordpress.org/trunk@26111 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:42:17 +00:00
Andrew Nacin
d416108af5 Use CSSJanus via a Grunt task to generate right-to-left CSS.
RTL files are now created on build for core CSS files. These files replace the LTR file completely, rather than being in addition to the existing LTR file.

Benefits:
 * For the user: less CSS is served in RTL, less HTTP requests on the frontend, and less work for the browser.
 * For the core developer: Let the tools do the work.

Notes for core development:
 * The file generation task is `grunt rtl`.
 * `grunt watch` now handles generating RTL files in /build when a CSS file in /src is saved.
 * /src is now locked to LTR. RTL testing must occur via /build. When attempting to run an RTL text direction with /src, an admin notice will display.

Expect RTL bugs. Please report them.

props yoavf.
see #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26107 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 21:18:45 +00:00
Lance Willett
e2922ff103 Twenty Fourteen: remove extra newline from footer.php file.
git-svn-id: https://develop.svn.wordpress.org/trunk@26106 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 20:14:18 +00:00
Lance Willett
dc242fbc80 Twenty Fourteen: move page templates into their own directory. See #25929.
git-svn-id: https://develop.svn.wordpress.org/trunk@26105 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 19:02:09 +00:00
Lance Willett
0b4c3fde55 Twenty Fourteen: move CSS files except for rtl.css and style.css into new css directory. See #25929.
git-svn-id: https://develop.svn.wordpress.org/trunk@26104 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 18:56:18 +00:00
Lance Willett
839325fe34 Twenty Fourteen: rename fonts to genericons. See #25929.
git-svn-id: https://develop.svn.wordpress.org/trunk@26103 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 18:37:51 +00:00
Lance Willett
d37cefbdfc Twenty Fourteen: update two over-qualified selectors in main stylesheet.
git-svn-id: https://develop.svn.wordpress.org/trunk@26102 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 18:18:04 +00:00
Lance Willett
ddb8e58f8d Twenty Fourteen: add in more contextual help for setting up Featured Content, links to "featured" tag posts and "sticky" posts from inside the Customizer. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26101 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 17:12:08 +00:00
Lance Willett
4a39bb0d00 Twenty Fourteen: adjust fixed header top margin now that MP6 is merged. See #25906 props celloexpressions.
git-svn-id: https://develop.svn.wordpress.org/trunk@26100 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 17:10:29 +00:00
Lance Willett
d220b3fd88 Twenty Fourteen: don't load unused font weights. Props iamtakashi, fixes #25922.
git-svn-id: https://develop.svn.wordpress.org/trunk@26099 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 16:47:46 +00:00
Lance Willett
4b63213b62 Twenty Fourteen: full-width page template should display a full-width featured image, except for mobile. Fixes #25925, props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@26098 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 16:46:31 +00:00
Lance Willett
cc0f0d8c6e Twenty Fourteen: first pass at older Internet Explorer browser support. Props iamtakashi, see #25036.
git-svn-id: https://develop.svn.wordpress.org/trunk@26097 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 04:17:07 +00:00
Scott Taylor
5f1180ca0f Change nofollow to follow in wp_robots_noindex(). "The noindex is fine, the nofollow stops any link equity from that URL, so that's actually a bad idea."
Props joostdevalk.
Fixes #22876.



git-svn-id: https://develop.svn.wordpress.org/trunk@26096 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 22:26:33 +00:00
Scott Taylor
2ccc101050 Make HTML tag searches for <code> and <pre> case-insensitive in make_clickable().
Props bpetty.
Fixes #23756.



git-svn-id: https://develop.svn.wordpress.org/trunk@26094 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 21:53:08 +00:00
Lance Willett
270ba8b564 Twenty Fourteen: update the theme description with more information about theme features such as Featured Content and how to set it up. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26092 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 19:31:24 +00:00
Scott Taylor
95a00fb920 Fix canonical redirection of cat as described in #15256 by rolling the cat query var into tax_query, instead of category__in / category__not_in. Top-level categories were only redirecting properly if they had no children.
All unit tests pass. Tests marked for #15256 are no longer skipped.

Fixes #15256.
Props dd32.



git-svn-id: https://develop.svn.wordpress.org/trunk@26090 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 18:35:21 +00:00
Andrew Ozz
88138fbf3a Fix the X-UA-Compatible header for IE8, fixes #25575
git-svn-id: https://develop.svn.wordpress.org/trunk@26089 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 18:01:40 +00:00
Sergey Biryukov
315681a8ed Remove the code for increasing z-index for the tag suggestion script from Twenty Fourteen.
fixes #25867.

git-svn-id: https://develop.svn.wordpress.org/trunk@26086 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:42:04 +00:00
Sergey Biryukov
6592f4cb73 Make suggest script visible in the customizer.
props celloexpressions for initial patch.
see #25867.

git-svn-id: https://develop.svn.wordpress.org/trunk@26085 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:38:49 +00:00
Lance Willett
8cc1529de8 Twenty Fourteen: changes to JavaScript files to pass jshint, props jorbin. Fixes #25908 #25909 #25910.
* Add global variable flags to top of JS files.
 * Group variable declarations correctly.

git-svn-id: https://develop.svn.wordpress.org/trunk@26084 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:26:24 +00:00
Sergey Biryukov
f2bd2d8359 Remove the code for setting ajaxurl from Twenty Fourteen.
props celloexpressions.
fixes #25866.

git-svn-id: https://develop.svn.wordpress.org/trunk@26083 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 15:50:49 +00:00
Sergey Biryukov
adb2e127c1 Define ajaxurl in the customizer.
props celloexpressions.
see #25866.

git-svn-id: https://develop.svn.wordpress.org/trunk@26082 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 15:46:36 +00:00
Sergey Biryukov
a2aed7b119 Fix docblock formatting. fixes #25893.
git-svn-id: https://develop.svn.wordpress.org/trunk@26081 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 13:31:19 +00:00
Sergey Biryukov
eb8f223cd0 Inline documentation for hooks in wp-admin/edit-link-form.php.
props raamdev.
fixes #25447.

git-svn-id: https://develop.svn.wordpress.org/trunk@26080 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 13:15:57 +00:00
Lance Willett
7d112ad590 Twenty Fourteen: improve Featured Content experience in the Customizer. Better preview and cache clearing, props obenland and rachelbaker. Fixes #25549.
git-svn-id: https://develop.svn.wordpress.org/trunk@26079 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 23:37:36 +00:00
Andrew Ozz
1d57e79726 Widgets screen: adjust the placeholder to match the new widget "handle" height, and the spinner's margins so the sidebar titles don't "jump" when it is shown. See #25821, see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26078 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 18:32:01 +00:00
Dion Hulse
325cc9f120 Add a white WordPress logo for use on the about pages. See #25858
git-svn-id: https://develop.svn.wordpress.org/trunk@26077 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 06:11:25 +00:00
Matt Thomas
c8df5459d8 Fixing a typo, see #25858. Props designsimply.
git-svn-id: https://develop.svn.wordpress.org/trunk@26076 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 03:52:06 +00:00
Matt Thomas
78ee1a4a22 Add missing wordpress-logo.svg, see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26075 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 03:49:10 +00:00
Andrew Nacin
974737e832 Fix order, declaration, tabbing of vars in color-picker.js.
props kadamwhite.
fixes #25877.


git-svn-id: https://develop.svn.wordpress.org/trunk@26074 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 02:42:32 +00:00
Helen Hou-Sandi
b0c601170c Add spinner images that were inadvertently left out of [26072]. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26073 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 00:39:38 +00:00
Helen Hou-Sandi
17287af965 Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.

see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.


git-svn-id: https://develop.svn.wordpress.org/trunk@26072 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 00:26:50 +00:00
Lance Willett
8f85054cd0 Twenty Fourteen: allow slider "Previous" and "Next" labels to be translated, props michahwave. Fixes #25897.
git-svn-id: https://develop.svn.wordpress.org/trunk@26071 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 23:27:28 +00:00
Lance Willett
896ae4e6ef Bundled Themes: implement Microsoft-specific @viewport rules for better responsive styling in Windows 8 "snapped" views. Props celloexpressions, fixes #25888.
git-svn-id: https://develop.svn.wordpress.org/trunk@26070 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 23:19:35 +00:00
Lance Willett
0081ce7c81 Twenty Fourteen: implement UX features in spite of being non-standard CSS selectors that won't validate. @viewport for a better touch experience on Windows, and ::selection for better text selection styles. See #25888 and #25898, props celloexpressions.
git-svn-id: https://develop.svn.wordpress.org/trunk@26069 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 23:15:15 +00:00
Andrew Nacin
6072e1d4cb Avoid JSHint errors in admin comment.js. Declare globals, use single quotes.
props jorbin.
fixes #25885. 


git-svn-id: https://develop.svn.wordpress.org/trunk@26068 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:29:43 +00:00
Andrew Nacin
c8ab2675f4 Avoid JSHint errors in color-picker.js. One var, single quotes, add missing semicolon, declare wpColorPickerL10n as global.
props jorbin.
fixes #25877.


git-svn-id: https://develop.svn.wordpress.org/trunk@26067 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:28:27 +00:00
Andrew Nacin
a5ec5e4cd7 Avoid JSHint errors. Use dot notation when able and declare pwsL10n as a global.
props jorbin.
fixes #25870.


git-svn-id: https://develop.svn.wordpress.org/trunk@26065 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:20:25 +00:00
Lance Willett
4d3e26f321 Twenty Fourteen: remove non-standard ::selection selectors. Closes #25898.
git-svn-id: https://develop.svn.wordpress.org/trunk@26062 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 18:46:41 +00:00
Sergey Biryukov
82878e0859 Add @return for WP_Query::parse_search(). props tivnet. fixes #25894.
git-svn-id: https://develop.svn.wordpress.org/trunk@26061 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 16:04:02 +00:00
Sergey Biryukov
8a87a2345b Declare the variable before using it. props tivnet. fixes #25895 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26060 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 15:52:30 +00:00
Lance Willett
14ce5221ae Twenty Fourteen: when header is more than 48px tall (like two lines of menu items), unfix the header so it doesn't overlap the page content. Props iamtakashi, fixes #25554.
git-svn-id: https://develop.svn.wordpress.org/trunk@26059 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 15:31:29 +00:00
Andrew Nacin
f5f951ab3c Remove the empty about.min.js. See [25912] for the 3.7 branch.
props tollmanz.
fixes #25855.


git-svn-id: https://develop.svn.wordpress.org/trunk@26058 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 04:56:36 +00:00
Lance Willett
539b3a254b Twenty Fourteen: fix gallery layout issue in IE, props jartes and iamtakashi. Fixes #25625.
git-svn-id: https://develop.svn.wordpress.org/trunk@26057 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 00:17:57 +00:00
Scott Taylor
047f7fb8bd Produce proper CAST for DECIMAL and NUMERIC in Meta Query. Adds a bunch of unit tests.
Props ericlewis.
Fixes #23033.



git-svn-id: https://develop.svn.wordpress.org/trunk@26055 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 23:10:41 +00:00
Andrew Ozz
8ee904343b Merge the Widgets Area Chooser feature plugin. First run, see #25821
git-svn-id: https://develop.svn.wordpress.org/trunk@26054 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 23:04:35 +00:00
Scott Taylor
cc19bb3a57 Respect the compare operator value in meta_query when value evaluates to null. Adds Unit Test.
Props bradyvercher, gradyetc.
Fixes #22967.



git-svn-id: https://develop.svn.wordpress.org/trunk@26053 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:51:03 +00:00
Scott Taylor
0670cf7cc4 Don't convert URLs inside <pre> and <code> tags when parsing string using make_clickable().
Adds Unit Tests.

Props johnjamesjacoby, helen, nacin, adamsilverstein, sirbrillig. 
Fixes #23756.



git-svn-id: https://develop.svn.wordpress.org/trunk@26052 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:37:41 +00:00
Sergey Biryukov
9f9bc20bde Remove old debug comment. props nofearinc. fixes #25865.
git-svn-id: https://develop.svn.wordpress.org/trunk@26051 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:23:58 +00:00
Scott Taylor
2a8b83fbb0 Split the content to balance open tags when <!--nextpage--> and <!--more.*?--> are used. Needs filter inline docs. The 4 unit tests that were previously failing for ticket 6297 now pass.
See #6297. 
Props devesine.



git-svn-id: https://develop.svn.wordpress.org/trunk@26050 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:21:02 +00:00
Sergey Biryukov
c815622e87 Pass correct 'type' parameter to 'upgrader_process_complete' action in Theme_Upgrader.
props bamadesigner.
fixes #25882 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26049 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 17:03:19 +00:00
Lance Willett
15173413e5 Twenty Fourteen: fix case of featured posts has_tag() check that was adding an empty footer element. See #25868, props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@26048 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 05:53:48 +00:00
Lance Willett
2ae699bcf2 Twenty Fourteen: performance win by reducing the number of post thumbnail sizes needed in the theme. Props iamtakashi, closes #25876.
git-svn-id: https://develop.svn.wordpress.org/trunk@26047 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 05:30:45 +00:00
Dion Hulse
deda988368 Add some missing braces to get_bookmarks() which was causing an early return. Introduced in [25934]. See #25468. Fixes #25874
git-svn-id: https://develop.svn.wordpress.org/trunk@26046 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 02:19:22 +00:00
Lance Willett
fcc86be587 Twenty Fourteen: add brief inline help text for Featured Content controls in Customizer. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26045 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 01:08:18 +00:00
Lance Willett
db7ec86731 Twenty Fourteen: legibility improvements for small sidebar text. Fixes #25827 props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@26044 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 00:54:24 +00:00
Lance Willett
f7c0b07d98 Twenty Fourteen: better override for Background and Colors descriptions in Customizer, props obenland. See #25869.
git-svn-id: https://develop.svn.wordpress.org/trunk@26039 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 20:36:09 +00:00
Lance Willett
d3bd9f465c Twenty Fourteen: add contextual help text to Background and Colors controls in Customizer, using the description field. Props rachelbaker, see #25869.
git-svn-id: https://develop.svn.wordpress.org/trunk@26038 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 20:27:05 +00:00
Lance Willett
daad8899b1 Twenty Fourteen: move all controls for managing Featured Content to the Customizer. Also implement smart fallbacks to not using a custom tag with the "featured" tag and sticky posts. Props obenland and celloexpressions, see #25549.
git-svn-id: https://develop.svn.wordpress.org/trunk@26037 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 20:24:24 +00:00
Lance Willett
976df5f9ed Twenty Fourteen: clean up inconsistencies in content template files. Props iamtakashi, fixes #25868.
git-svn-id: https://develop.svn.wordpress.org/trunk@26036 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 19:04:56 +00:00
Andrew Ozz
1a396b5d8a jshint: fixes for revisions.js, props adamsilverstein, fixes #25864.
git-svn-id: https://develop.svn.wordpress.org/trunk@26035 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 18:13:33 +00:00
Lance Willett
48d44afbb9 Twenty Fourteen: remove the pattern image used as a placeholder for featured images. This greatly improves the "first run" experience of the theme and gives it a more general appeal as a blog theme by putting less of a requirement on featured images. Props iamtakashi, fixes #25859.
git-svn-id: https://develop.svn.wordpress.org/trunk@26034 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 17:28:56 +00:00
Sergey Biryukov
bc9ca186e5 Add missing semicolon after wpLink object definition. props mt8.biz. fixes #25862.
git-svn-id: https://develop.svn.wordpress.org/trunk@26033 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 10:41:15 +00:00
Dion Hulse
24c2774076 Fix a case where wp_guess_url() would leave a prefixed path in the generated URL when symlinks were involved. Fixes #25797
git-svn-id: https://develop.svn.wordpress.org/trunk@26031 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 03:33:11 +00:00
Lance Willett
245b99ceb1 Twenty Fourteen: minor template fixes and a placeholder screenshot.
git-svn-id: https://develop.svn.wordpress.org/trunk@26030 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 23:53:13 +00:00
Andrew Ozz
859516cd19 Add X-UA-Compatible meta tag in the admin, locking the compatibility mode in IE to the highest supported document mode. Fixes #25575.
git-svn-id: https://develop.svn.wordpress.org/trunk@26029 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 23:48:02 +00:00
Sergey Biryukov
fc8d09e2a6 A negative term parent value should be sanitized to 0, not 1. Fix a regression in sanitize_term_field() caused by [26010].
props mattheu for initial patch.
fixes #25852.

git-svn-id: https://develop.svn.wordpress.org/trunk@26028 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 23:40:46 +00:00
Sergey Biryukov
2564c74a57 Fix inverted logic for displaying the 'Broken Theme' string. props pavelevap. fixes #25465.
git-svn-id: https://develop.svn.wordpress.org/trunk@26027 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 22:39:35 +00:00
Lance Willett
8b481f300b Twenty Fourteen: add full-width featured images for layouts without a content sidebar, but use wp_is_mobile() to load smaller-sized images for mobile. Props iamtakashi, fixes #25758.
git-svn-id: https://develop.svn.wordpress.org/trunk@26026 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 20:39:50 +00:00
Sergey Biryukov
cd7deb0e7b Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702.
git-svn-id: https://develop.svn.wordpress.org/trunk@26024 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 20:01:54 +00:00
Lance Willett
8f46d50138 Twenty Fourteen: add missing sidebar for post format archives. Props iamtakashi, fixes #25842.
git-svn-id: https://develop.svn.wordpress.org/trunk@26023 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 16:11:51 +00:00
Sergey Biryukov
3d26edf1fe Remove irrelevant @see references. props mt8.biz. fixes #25843.
git-svn-id: https://develop.svn.wordpress.org/trunk@26022 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 10:16:55 +00:00
Lance Willett
e20baa48d8 Twenty Fourteen: improvements to Accent Color behavior, including a case where options were published too soon. Props celloexpressions, fixes #25580.
git-svn-id: https://develop.svn.wordpress.org/trunk@26021 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 23:28:07 +00:00
Lance Willett
e2bf98b1d3 Twenty Fourteen: add Audio post format support. Props celloexpressions, closes #25807.
git-svn-id: https://develop.svn.wordpress.org/trunk@26020 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 21:51:03 +00:00
Lance Willett
a009e64c18 Twenty Fourteen: remove a todo.
git-svn-id: https://develop.svn.wordpress.org/trunk@26019 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 21:48:29 +00:00
Lance Willett
b3722a1edd Twenty Fourteen: add print styles, props iamtakashi. Closes #25830.
git-svn-id: https://develop.svn.wordpress.org/trunk@26018 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 16:42:29 +00:00
Dion Hulse
34fa8af8bb Core Upgrader: Include an unmodified $wp_version in Core_Upgrader::upgrade(). This protects against cases where the global $wp_version has been modified. See #25772
git-svn-id: https://develop.svn.wordpress.org/trunk@26017 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 06:22:23 +00:00
Dion Hulse
18e173ae80 Core Upgrader success statistics: Pass the version of WordPress we're upgrading from, as well as the version being upgraded to. Props nacin. See #25772 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@26016 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 06:19:05 +00:00
Dion Hulse
83754e1636 Remove dead code from the Plugin Upgrader class. Props jdgrimes. Fixes #25470
git-svn-id: https://develop.svn.wordpress.org/trunk@26015 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 05:47:41 +00:00
Dion Hulse
58e4a21f07 When checking filesystem permissions for core updates, only check the permissions of the files which we need to alter. Props nacin for initial patch. Fixes #25771 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@26014 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 05:42:23 +00:00
Dion Hulse
43d50e9c9e Add a filter to the Background Updates debug email, matches the filter used on the non-debug post-update emails. Props pento. Fixes #25756
git-svn-id: https://develop.svn.wordpress.org/trunk@26013 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 02:14:34 +00:00
Scott Taylor
d8f57f88ad Respect paged when offset is used in WP_Query. Adds unit tests.
Props coffee2code.
Fixes #18897.



git-svn-id: https://develop.svn.wordpress.org/trunk@26012 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 01:34:44 +00:00
Scott Taylor
5643e3ca17 Pass $args to the export_wp action in export_wp(), which is currently passed no arguments.
Props nickdaugherty.
Fixes #25574.



git-svn-id: https://develop.svn.wordpress.org/trunk@26011 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 01:26:49 +00:00
Scott Taylor
ed22220a0f Cast proper fields to int when returning from wp_get_object_terms(). Add term_taxonomy_id and object_id to the list in sanitize_term() and sanitize_term_field().
Fixes #17646. Adds unit tests.
Props simonwheatley, dd32, kovshenin.



git-svn-id: https://develop.svn.wordpress.org/trunk@26010 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 01:18:02 +00:00
Scott Taylor
67443e080c Don't globalize version variables twice. See #23685.
git-svn-id: https://develop.svn.wordpress.org/trunk@26009 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 00:57:52 +00:00
Scott Taylor
268667e170 When WordPress is loaded in a function (e.g. unit tests) the variables initialized at the top level aren't globals, but we expect them to be. Explicitly make the version variables global.
Props nbachiyski.
Fixes #23685.



git-svn-id: https://develop.svn.wordpress.org/trunk@26008 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 00:23:38 +00:00
Scott Taylor
0923b7b93a Category and tag are typically checked before checking for a custom taxonomy. If the global query matches category or tag (even if it also has tax_query set), return category/tag as the queried object, instead of arbitrarily returning the first term in the tax_query stack (typically those added with 'pre_get_posts').
Real world example: http://www.emusic.com/17dots/topics/daily-download/ - "tag" page, regionalized for US-only content using `pre_get_posts` passing in the terms "US" and "ALL" for "region" (custom tax). All of the theme functions would output "ALL" as the term name. Even though it was a tag archive, the queried object was an arbitrary term from `tax_query`.

See [26006]. All unit tests pass.
Fixes #20767.




git-svn-id: https://develop.svn.wordpress.org/trunk@26007 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 23:53:55 +00:00
Scott Taylor
5321bc4957 WP_UnitTestCase::go_to() tried its best to clean up global space, but ultimately fell short. Because it was blowing away WP every time it was called, it was dropping all the query vars that were registered for custom taxonomies and custom post types (ouch).
Introduces `_cleanup_query_vars()`. This is a prerequisite for the unit tests on #20767. All unit tests pass with this change.

See #20767.
Fixes #25818.



git-svn-id: https://develop.svn.wordpress.org/trunk@26006 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 22:46:44 +00:00
Lance Willett
e512f03e75 Twenty Fourteen: update bundled Genericons to the latest version, 3.0.2. Props iamtakashi, closes #25812.
git-svn-id: https://develop.svn.wordpress.org/trunk@26003 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 18:07:18 +00:00
Lance Willett
848937c672 Twenty Thirteen: capitalize "Not Found" string for use in a page title, see #24891 and r25907.
git-svn-id: https://develop.svn.wordpress.org/trunk@26002 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 17:56:32 +00:00
Sergey Biryukov
6fa1c89458 Pass comment ID and comment post ID to get_comment_class() in WP_Comments_List_Table::single_row().
props drozdz.
fixes #25814.

git-svn-id: https://develop.svn.wordpress.org/trunk@26001 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 10:59:58 +00:00
Sergey Biryukov
acc8ac64b8 Fall back to comment author email in get_avatar() if the user who left the comment no longer exists.
props mauryaratan, lite3.
fixes #25803.

git-svn-id: https://develop.svn.wordpress.org/trunk@26000 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-02 12:19:43 +00:00
Lance Willett
fcc1bb0b65 Twenty Fourteen: revamp the RTL stylesheet and related cleanup. Props iamtakashi, see #25801.
git-svn-id: https://develop.svn.wordpress.org/trunk@25999 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-02 04:35:35 +00:00
Lance Willett
b604102332 Twenty Fourteen: second pass at revamping the main CSS file. Update pattern graphics to fix issue with orientation changes on tablets. Props iamtakashi, fixes #25592.
git-svn-id: https://develop.svn.wordpress.org/trunk@25998 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-31 04:27:51 +00:00
Sergey Biryukov
3c625347e6 Correct $user_id parameter description. props mauryaratan, Corphi. fixes #25774.
git-svn-id: https://develop.svn.wordpress.org/trunk@25997 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 20:17:21 +00:00
Andrew Nacin
90202aed35 Explicitly globalize $is_nginx in vars.php.
props johnjamesjacoby.
fixes #25776.


git-svn-id: https://develop.svn.wordpress.org/trunk@25996 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 19:36:39 +00:00
Lance Willett
34139288e8 Twenty Fourteen: JavaScript fixes after running jshint, see r25960:
* Enforce `===` instead of `==`
 * Fix confusing use of `!`
 * Remove unused variables like `calcNext`, defined but never used
 * Proper use of braces
 * Move functions out of if/else statements
 * Document unknown functions as Microsoft-specific

git-svn-id: https://develop.svn.wordpress.org/trunk@25995 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 18:52:54 +00:00
Drew Jaynes
206d47a9c2 Inline documentation for hooks in wp-admin/network/edit.php and wp-admin/network/users.php.
Props aralbald for the initial patch.
Fixes #25728.


git-svn-id: https://develop.svn.wordpress.org/trunk@25994 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 16:03:14 +00:00
Drew Jaynes
3dc92bdd03 Inline documentation for hooks in wp-admin/nav-menus.php.
Props pauldewouters for the intial patch.
Fixes #25528.


git-svn-id: https://develop.svn.wordpress.org/trunk@25993 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 15:44:32 +00:00
Sergey Biryukov
bc6c0c9b0f Correct @since values for various hooks. fixes #25766.
git-svn-id: https://develop.svn.wordpress.org/trunk@25991 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 03:19:16 +00:00
Sergey Biryukov
a1fe0926b3 Remove incorrect @return value from status_header(). Rename some variables for clarity.
props tivnet for initial patch.
fixes #25451.

git-svn-id: https://develop.svn.wordpress.org/trunk@25990 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 22:43:08 +00:00
Andrew Nacin
23ad7058fb Internal linking: Remove explicit orderby, thus allowing the relevancy improvements in #7394 to work.
see #25763.


git-svn-id: https://develop.svn.wordpress.org/trunk@25988 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 21:20:59 +00:00