Commit Graph

21671 Commits

Author SHA1 Message Date
Andrew Nacin
8fe09a809c In insert_blog(), make sure we retrieve the insertion ID from wpdb before calling a function that could invoke queries. props feedmeastraycat. fixes #23400.
git-svn-id: http://core.svn.wordpress.org/trunk@23511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:53:48 +00:00
Andrew Nacin
699262666b Ensure we strictly compare 'alloptions' and 'notoptions' when protecting these special options.
Trim and check for emptiness of $option in delete_option(), as done for get, update, and add.

fixes #23289.



git-svn-id: http://core.svn.wordpress.org/trunk@23510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:49:20 +00:00
Peter Westwood
5c533c9b27 Revisions: Fix up some half renamed variables that break the view and display a mismash of split and combined views. See #23497 props adamsilverstein.
git-svn-id: http://core.svn.wordpress.org/trunk@23509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:48:33 +00:00
Peter Westwood
5133b4990b Revisions: Fix up some bugs I introduced while reviewing the mega revisions patch - when comparing two historical revisions only one half of the diff would load
See #23497 props adamsilverstein.


git-svn-id: http://core.svn.wordpress.org/trunk@23508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 16:10:45 +00:00
Helen Hou-Sandí
23e05a6301 Merge revisions.css into wp-admin.css. Move misplaced block of revisions CSS in wp-admin.css into appropriate section. Some standards clean up and selector merging. see #23497.
git-svn-id: http://core.svn.wordpress.org/trunk@23507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 15:40:44 +00:00
Peter Westwood
9bd192fab3 Revisions: First pass an implementing a new UI/UX for reviewing the revisions of posts. See #23497 props adamsilverstein for the initial patch.
This implements a new revisions ui using Backbone and preserves all the old methods of "integration" so the change should be transparent to plugins using revisi
ons with CPTs.

This is the first pass and so there are a number of things still to be resolved, more details in the ticket. Feedback welcomed.


git-svn-id: http://core.svn.wordpress.org/trunk@23506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 15:14:34 +00:00
Andrew Ozz
766d96db5d Logged out warnings: remove debug leftovers, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 09:03:10 +00:00
Andrew Ozz
0910d5755e Improved logged out warnings, first run, props mintindeed, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 08:57:17 +00:00
Sergey Biryukov
ccd6e6aeec Don't override filtered screen options on Widgets screen. props bradyvercher. fixes #23239.
git-svn-id: http://core.svn.wordpress.org/trunk@23503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 07:40:11 +00:00
Sergey Biryukov
0cff4a5ea9 Avoid an undefined offset notice in wp_convert_bytes_to_hr(). props soulseekah. fixes #23626.
git-svn-id: http://core.svn.wordpress.org/trunk@23502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 05:25:15 +00:00
Helen Hou-Sandí
b6e33d56f9 Revert [23369] and [23370]: the icons. see #23333.
git-svn-id: http://core.svn.wordpress.org/trunk@23501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 01:15:20 +00:00
Helen Hou-Sandí
05515ffbfb Revert [23407], thereby restoring gradients and shadows. see #23415.
git-svn-id: http://core.svn.wordpress.org/trunk@23500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 00:58:26 +00:00
Helen Hou-Sandí
dabc31a559 Remove default content from post format compat output. We shouldn't magically create content for display not specified by the user, especially given that the current compat is handling the case of new data, old theme. see #23347.
git-svn-id: http://core.svn.wordpress.org/trunk@23499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-27 22:10:08 +00:00
Lance Willett
236ecdd8f4 Twenty Thirteen: style comments correctly when show_avatars option is turned off in Discussion settings. Props SriniG, fixes #23558.
git-svn-id: http://core.svn.wordpress.org/trunk@23498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-27 04:25:14 +00:00
Lance Willett
9aa9bda5d3 Twenty Thirteen: adjust line-height to be consistently applied across elements, props chriswallace and obenland. Fixes #23514.
git-svn-id: http://core.svn.wordpress.org/trunk@23497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-27 04:17:33 +00:00
Lance Willett
5fc6352f0f Twenty Thirteen: consistent link color for video post format, see #23545. Props taupecat.
git-svn-id: http://core.svn.wordpress.org/trunk@23496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-27 03:54:30 +00:00
Bot (Assets)
a38763c2be Compress scripts/styles: 3.6-alpha-23495.
git-svn-id: http://core.svn.wordpress.org/trunk@23495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 22:58:42 +00:00
Lance Willett
5e94c0a5c0 Twenty Thirteen: first pass at cleaning up unneeded browser prefixes, props Jayjdk. See #23582.
git-svn-id: http://core.svn.wordpress.org/trunk@23494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 05:10:25 +00:00
Lance Willett
4aec9565df Twenty Thirteen: instantly preview header text color changes in the Theme Customizer. Fixes #23585, props SriniG.
git-svn-id: http://core.svn.wordpress.org/trunk@23493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:59:35 +00:00
Lance Willett
4ba9ccd643 Twenty Thirteen: header area with no site title or tagline should still be clickable to home. Fixes #23549.
Fix also removes several `!important` flags that aren't necessary, relating to header text color.

git-svn-id: http://core.svn.wordpress.org/trunk@23492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:50:09 +00:00
Lance Willett
b4ee9342b1 Twenty Thirteen: improve styling for RSS widget title, fixes #23571.
git-svn-id: http://core.svn.wordpress.org/trunk@23491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:42:46 +00:00
Lance Willett
64b5cec3ef Twenty Thirteen: better selector for widget titles. Fixes #23580.
git-svn-id: http://core.svn.wordpress.org/trunk@23490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:37:19 +00:00
Lance Willett
8b5576c2fa Twenty Thirteen: minor adjustments to bundled "star" header image. Props joen.
git-svn-id: http://core.svn.wordpress.org/trunk@23489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-26 04:35:00 +00:00
Andrew Ozz
5f4ab78505 Add edit-post.min.js for bumpbot's sake, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 23:38:59 +00:00
Andrew Ozz
9a827a485e Post locks: use heartbeat to dynamically update locked posts on the Posts screen, first run, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 23:17:10 +00:00
Bot (Assets)
34c96ccbf4 Compress scripts/styles: 3.6-alpha-23486.
git-svn-id: http://core.svn.wordpress.org/trunk@23486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 22:58:42 +00:00
Andrew Ozz
580b083e47 Post locks: don't check hidden checkboxes on bulk select/deselect, props dh-shredder, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 21:24:19 +00:00
Sergey Biryukov
5777e5a949 Rename 'no_tagcloud' taxonomy label to 'not_found', for consistency with the post type label of the same key. fixes #23597.
git-svn-id: http://core.svn.wordpress.org/trunk@23484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 19:39:38 +00:00
Sergey Biryukov
bf1ca6b9ca Move 'no_tagcloud' argument to the taxonomy labels object. props DrewAPicture for initial patch. fixes #23597.
git-svn-id: http://core.svn.wordpress.org/trunk@23483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 18:35:05 +00:00
Andrew Ozz
f8ecd2719c Fix typo in wp_heartbeat_settings, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@23482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 04:19:51 +00:00
Andrew Ozz
9c2ebc4c60 Heartbeat API: add nopriv actions, add JS 'heartbeat-send' event, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@23481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-25 02:32:22 +00:00
Andrew Nacin
e91f4bd35f Add \n to end of Twenty Thirteen's font exception file.
git-svn-id: http://core.svn.wordpress.org/trunk@23480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-24 17:31:03 +00:00
Bot (Translations)
34d0d57f8f POT, generated from r23478
git-svn-id: http://core.svn.wordpress.org/trunk@23479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 18:19:47 +00:00
Lance Willett
abb81f4cbc Twenty Ten: prevent overflow for large, captioned images. Fixes #22820, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 17:42:04 +00:00
Lance Willett
c615bf76e4 Twenty Ten: add helpful descriptions to sidebars. Fixes #15401.
git-svn-id: http://core.svn.wordpress.org/trunk@23477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 17:32:48 +00:00
Bot (Translations)
e3860e499f POT, generated from r23475
git-svn-id: http://core.svn.wordpress.org/trunk@23476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 17:20:03 +00:00
Lance Willett
d76dad3e44 Twenty Ten: better color contrast for links and text, props elfin. Fixes #14794.
git-svn-id: http://core.svn.wordpress.org/trunk@23475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 16:54:01 +00:00
Lance Willett
3dd379a1be Twenty Eleven: ensure twentyeleven_url_grabber() is pluggable by wrapping in a function_exists check.
git-svn-id: http://core.svn.wordpress.org/trunk@23474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 16:50:40 +00:00
Bot (Translations)
e17790bff2 POT, generated from r23472
git-svn-id: http://core.svn.wordpress.org/trunk@23473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 16:19:58 +00:00
Lance Willett
dcf72bbda1 Twenty Twelve: better layout for floated image captions. Fixes #23147.
git-svn-id: http://core.svn.wordpress.org/trunk@23472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 16:09:28 +00:00
Lance Willett
e0fac43f8d Twenty Twelve: show featured image in single page views. Fixes #22943, props MikeHansenMe.
git-svn-id: http://core.svn.wordpress.org/trunk@23471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 16:07:28 +00:00
Lance Willett
1e1a5358f7 Twenty Thirteen: add hover/focus style for buttons and organize button and input selectors a bit for a better cascade. Fixes #23536, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 06:08:25 +00:00
Lance Willett
1b73111794 Twenty Thirteen: update post formats for consistent post meta display, fixes #23553.
Fix a few typos for "tags-links" selectors and remove extraneous newlines.

git-svn-id: http://core.svn.wordpress.org/trunk@23469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 06:05:00 +00:00
Helen Hou-Sandí
65991cb964 Post formats compat output:
* Check for theme support of `structured-post-formats` rather than `post-formats`.
* Use \n instead of PHP_EOL constant.
* Add new lines after opening compat wrapper tag for some `wpautop()` treatment.

props SergeyBiryukov. see #23347.


git-svn-id: http://core.svn.wordpress.org/trunk@23468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-21 23:02:00 +00:00
Helen Hou-Sandí
7a21a5c0f6 Implement theme support for structured-post-formats, which will supercede theme support for post-formats. Usage is the same as declaring support for post-formats: add_theme_support( 'structured-post-formats', array( 'quote', 'video' ) ). Adding structured-post-formats support also adds post-formats support for the given format(s) underneath.
Declaring support for a given format indicates that the theme handles format-specific metadata; admin UI will not change based on theme-declared support of either variety as it did previously. If no `structured-post-formats` support is explicitly declared for a format, a post in that format will have fallback output utilizing that metadata applied. In this way, a theme can style core-provided output for a full post format experience without having to handle metadata in any way.

props nacin. see #23347.


git-svn-id: http://core.svn.wordpress.org/trunk@23467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-21 22:48:09 +00:00
Andrew Nacin
b88b1c1f53 Move revisions/autosave and post format functions from wp-includes/post.php into revision.php and post-formats.php.
git-svn-id: http://core.svn.wordpress.org/trunk@23466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-21 21:24:34 +00:00
Lance Willett
46a93b902f Twenty Thirteen: style the hr element. Fixes #23529.
git-svn-id: http://core.svn.wordpress.org/trunk@23465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-21 06:00:00 +00:00
Lance Willett
55d189f9ff Twenty Thirteen: fix typo in browser transition prefix. Fixes #23568, props Jayjdk.
git-svn-id: http://core.svn.wordpress.org/trunk@23464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-21 05:57:19 +00:00
Lance Willett
ba90b8bb63 Twenty Thirteen: show featured image on single posts, fixes #23528. Props kwight.
git-svn-id: http://core.svn.wordpress.org/trunk@23463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-21 05:54:19 +00:00
Lance Willett
00cad402f8 Twenty Thirteen: fix comment form layout for inline replies in wide viewports. Fixes #23524, props SriniG and obenland.
(Also fix an extra space that crept into r23461, see #23511.)


git-svn-id: http://core.svn.wordpress.org/trunk@23462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-21 05:49:57 +00:00