Commit Graph

21625 Commits

Author SHA1 Message Date
Andrew Nacin
11ab449a89 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: https://develop.svn.wordpress.org/trunk@23510 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 16:49:20 +00:00
Peter Westwood
79d635459e 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: https://develop.svn.wordpress.org/trunk@23509 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 16:48:33 +00:00
Peter Westwood
b1db3a3aa0 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: https://develop.svn.wordpress.org/trunk@23508 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 16:10:45 +00:00
Helen Hou-Sandi
7f7f9a805c 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: https://develop.svn.wordpress.org/trunk@23507 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 15:40:44 +00:00
Peter Westwood
554627a0d5 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: https://develop.svn.wordpress.org/trunk@23506 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 15:14:34 +00:00
Andrew Ozz
1ad1ce8db9 Logged out warnings: remove debug leftovers, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23505 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 09:03:10 +00:00
Andrew Ozz
780ee565aa Improved logged out warnings, first run, props mintindeed, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23504 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 08:57:17 +00:00
Sergey Biryukov
c79cef4654 Don't override filtered screen options on Widgets screen. props bradyvercher. fixes #23239.
git-svn-id: https://develop.svn.wordpress.org/trunk@23503 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 07:40:11 +00:00
Sergey Biryukov
9430601021 Avoid an undefined offset notice in wp_convert_bytes_to_hr(). props soulseekah. fixes #23626.
git-svn-id: https://develop.svn.wordpress.org/trunk@23502 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 05:25:15 +00:00
Helen Hou-Sandi
a766d178db Revert [23369] and [23370]: the icons. see #23333.
git-svn-id: https://develop.svn.wordpress.org/trunk@23501 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 01:15:20 +00:00
Helen Hou-Sandi
6ef89f92c7 Revert [23407], thereby restoring gradients and shadows. see #23415.
git-svn-id: https://develop.svn.wordpress.org/trunk@23500 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 00:58:26 +00:00
Helen Hou-Sandi
8b26ed504c 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: https://develop.svn.wordpress.org/trunk@23499 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-27 22:10:08 +00:00
Lance Willett
ac4ab9cd60 Twenty Thirteen: style comments correctly when show_avatars option is turned off in Discussion settings. Props SriniG, fixes #23558.
git-svn-id: https://develop.svn.wordpress.org/trunk@23498 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-27 04:25:14 +00:00
Lance Willett
6a7684d99f Twenty Thirteen: adjust line-height to be consistently applied across elements, props chriswallace and obenland. Fixes #23514.
git-svn-id: https://develop.svn.wordpress.org/trunk@23497 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-27 04:17:33 +00:00
Lance Willett
0116f4b0cd Twenty Thirteen: consistent link color for video post format, see #23545. Props taupecat.
git-svn-id: https://develop.svn.wordpress.org/trunk@23496 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-27 03:54:30 +00:00
bumpbot
ffce5ab757 Compress scripts/styles: 3.6-alpha-23495.
git-svn-id: https://develop.svn.wordpress.org/trunk@23495 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 22:58:42 +00:00
Lance Willett
e8d2d29ea5 Twenty Thirteen: first pass at cleaning up unneeded browser prefixes, props Jayjdk. See #23582.
git-svn-id: https://develop.svn.wordpress.org/trunk@23494 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 05:10:25 +00:00
Lance Willett
6b98d184f6 Twenty Thirteen: instantly preview header text color changes in the Theme Customizer. Fixes #23585, props SriniG.
git-svn-id: https://develop.svn.wordpress.org/trunk@23493 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 04:59:35 +00:00
Lance Willett
fb4ae83cc5 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: https://develop.svn.wordpress.org/trunk@23492 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 04:50:09 +00:00
Lance Willett
3d15ae0301 Twenty Thirteen: improve styling for RSS widget title, fixes #23571.
git-svn-id: https://develop.svn.wordpress.org/trunk@23491 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 04:42:46 +00:00
Lance Willett
676282a34a Twenty Thirteen: better selector for widget titles. Fixes #23580.
git-svn-id: https://develop.svn.wordpress.org/trunk@23490 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 04:37:19 +00:00
Lance Willett
2714136c37 Twenty Thirteen: minor adjustments to bundled "star" header image. Props joen.
git-svn-id: https://develop.svn.wordpress.org/trunk@23489 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 04:35:00 +00:00
Andrew Ozz
202941ad5b Add edit-post.min.js for bumpbot's sake, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23488 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 23:38:59 +00:00
Andrew Ozz
756c28bf5c Post locks: use heartbeat to dynamically update locked posts on the Posts screen, first run, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23487 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 23:17:10 +00:00
bumpbot
12a8779a74 Compress scripts/styles: 3.6-alpha-23486.
git-svn-id: https://develop.svn.wordpress.org/trunk@23486 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 22:58:42 +00:00
Andrew Ozz
c8586336d1 Post locks: don't check hidden checkboxes on bulk select/deselect, props dh-shredder, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23485 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 21:24:19 +00:00
Sergey Biryukov
6a59a28f12 Rename 'no_tagcloud' taxonomy label to 'not_found', for consistency with the post type label of the same key. fixes #23597.
git-svn-id: https://develop.svn.wordpress.org/trunk@23484 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 19:39:38 +00:00
Sergey Biryukov
41919e97fb Move 'no_tagcloud' argument to the taxonomy labels object. props DrewAPicture for initial patch. fixes #23597.
git-svn-id: https://develop.svn.wordpress.org/trunk@23483 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 18:35:05 +00:00
Andrew Ozz
d5719ec648 Fix typo in wp_heartbeat_settings, see #23216
git-svn-id: https://develop.svn.wordpress.org/trunk@23482 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 04:19:51 +00:00
Andrew Ozz
9b691a21b0 Heartbeat API: add nopriv actions, add JS 'heartbeat-send' event, see #23216
git-svn-id: https://develop.svn.wordpress.org/trunk@23481 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-25 02:32:22 +00:00
Andrew Nacin
06f456167b Add \n to end of Twenty Thirteen's font exception file.
git-svn-id: https://develop.svn.wordpress.org/trunk@23480 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-24 17:31:03 +00:00
potbot
979a213506 POT, generated from r23478
git-svn-id: https://develop.svn.wordpress.org/trunk@23479 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 18:19:47 +00:00
Lance Willett
0fd0860e5c Twenty Ten: prevent overflow for large, captioned images. Fixes #22820, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@23478 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 17:42:04 +00:00
Lance Willett
ab0a5f6c72 Twenty Ten: add helpful descriptions to sidebars. Fixes #15401.
git-svn-id: https://develop.svn.wordpress.org/trunk@23477 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 17:32:48 +00:00
potbot
5d401fee3d POT, generated from r23475
git-svn-id: https://develop.svn.wordpress.org/trunk@23476 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 17:20:03 +00:00
Lance Willett
a67dd02a73 Twenty Ten: better color contrast for links and text, props elfin. Fixes #14794.
git-svn-id: https://develop.svn.wordpress.org/trunk@23475 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 16:54:01 +00:00
Lance Willett
0d07a3b110 Twenty Eleven: ensure twentyeleven_url_grabber() is pluggable by wrapping in a function_exists check.
git-svn-id: https://develop.svn.wordpress.org/trunk@23474 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 16:50:40 +00:00
potbot
cfb21ab63b POT, generated from r23472
git-svn-id: https://develop.svn.wordpress.org/trunk@23473 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 16:19:58 +00:00
Lance Willett
42bbca4bf0 Twenty Twelve: better layout for floated image captions. Fixes #23147.
git-svn-id: https://develop.svn.wordpress.org/trunk@23472 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 16:09:28 +00:00
Lance Willett
7a30f68c8a Twenty Twelve: show featured image in single page views. Fixes #22943, props MikeHansenMe.
git-svn-id: https://develop.svn.wordpress.org/trunk@23471 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 16:07:28 +00:00
Lance Willett
12ccb9626e 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: https://develop.svn.wordpress.org/trunk@23470 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 06:08:25 +00:00
Lance Willett
8798dcefdd 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: https://develop.svn.wordpress.org/trunk@23469 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 06:05:00 +00:00
Helen Hou-Sandi
a3afd6e989 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: https://develop.svn.wordpress.org/trunk@23468 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 23:02:00 +00:00
Helen Hou-Sandi
e599566ce4 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: https://develop.svn.wordpress.org/trunk@23467 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 22:48:09 +00:00
Andrew Nacin
e1b603bbc3 Move revisions/autosave and post format functions from wp-includes/post.php into revision.php and post-formats.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@23466 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 21:24:34 +00:00
Lance Willett
5dd8fbe675 Twenty Thirteen: style the hr element. Fixes #23529.
git-svn-id: https://develop.svn.wordpress.org/trunk@23465 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 06:00:00 +00:00
Lance Willett
c0879ab325 Twenty Thirteen: fix typo in browser transition prefix. Fixes #23568, props Jayjdk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23464 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 05:57:19 +00:00
Lance Willett
3ce372ce62 Twenty Thirteen: show featured image on single posts, fixes #23528. Props kwight.
git-svn-id: https://develop.svn.wordpress.org/trunk@23463 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 05:54:19 +00:00
Lance Willett
2b60f0259d 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: https://develop.svn.wordpress.org/trunk@23462 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 05:49:57 +00:00
Lance Willett
78e082dd6d Twenty Thirteen: bump priority for twentythirteen_aside_date() to add date output after embeds. Fixes #23511, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@23461 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 05:42:56 +00:00