Commit Graph

21648 Commits

Author SHA1 Message Date
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
Lance Willett 1f36e99fdd Twenty Thirteen: bump priority for `twentythirteen_aside_date()` to add date output after embeds. Fixes #23511, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-21 05:42:56 +00:00
Lance Willett 6263d728ec Twenty Thirteen: proper alignment for featured images on pages with a sidebar. Props kwight, fixes #23527.
git-svn-id: http://core.svn.wordpress.org/trunk@23460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-20 04:32:31 +00:00
Lance Willett 33034aff5f Twenty Thirteen: fix incorrect CSS selector in ie.css, props FStop. Fixes #23548.
git-svn-id: http://core.svn.wordpress.org/trunk@23459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-20 04:22:02 +00:00
Sergey Biryukov 69bd474ac6 Remove unused global reference. props aaroncampbell. fixes #23541.
git-svn-id: http://core.svn.wordpress.org/trunk@23458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-20 00:18:15 +00:00
Sergey Biryukov b5c34dc411 Fix typo in phpdoc. see #17515.
git-svn-id: http://core.svn.wordpress.org/trunk@23457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-19 23:40:03 +00:00
Helen Hou-Sandí b63559cc89 Prevent a notice for post types that don't support post formats. props ethitter. fixes #23534.
git-svn-id: http://core.svn.wordpress.org/trunk@23456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-19 20:54:03 +00:00
Sergey Biryukov a5e0b8cba3 Revert to esc_attr_e() in setup-config.php to prevent a fatal error.
kses.php is not loaded at this point, so esc_url() cannot be used.

props csixty4, JustinSainton.
fixes #23516. see #23334.

git-svn-id: http://core.svn.wordpress.org/trunk@23455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-19 05:36:16 +00:00
Sergey Biryukov 7b62637af7 Add a missing closing tag. fixes #23510. see #14358.
git-svn-id: http://core.svn.wordpress.org/trunk@23454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-19 02:06:21 +00:00
Sergey Biryukov 2baf2d5b56 Fix a warning on Menus screen if $menu_locations is false.
Fix menu selection after creating a first menu on new install.

props jkudish.
fixes #23508. see #23119.

git-svn-id: http://core.svn.wordpress.org/trunk@23453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-19 01:31:42 +00:00
Mark Jaquith d1d3076d5a Introduce the Twenty Thirteen theme.
props matt, joen, obenland, lancewillett. see #23504

git-svn-id: http://core.svn.wordpress.org/trunk@23452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-18 23:08:56 +00:00
Bot (Assets) 6f6c650b43 Compress scripts/styles: 3.6-alpha-23451.
git-svn-id: http://core.svn.wordpress.org/trunk@23451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-18 22:26:00 +00:00
Helen Hou-Sandí 6d49a9cc8c Output fallbacks / theme compat for post format metadata.
* Currently handles link, quote, image, gallery, audio, and video formats.
* `add_theme_support()` for a given post format is now an indicator that the theme handles format-specific metadata.
* If no support for a given format is defined, fallback output will be generated and hooked onto the_content if a post has metadata for that format.
* Fallbacks attempt to be smart about not duplicating data already appearing in the post content itself. Gallery is particularly liberal, looking for any instance of the gallery shortcode in the content, not just an exact match to the gallery shortcode defined in the format-specific meta.
* Compat output defaults to being wrapped in a `div` with a class of `post-format-content`.

Theme authors: please test and evaluate, keeping in mind that the goal is to support user expectations of not losing format-specific data they've entered in the admin when viewing the front-end of their site.

props wonderboymusic, beaulebens, helen. see #23347.


git-svn-id: http://core.svn.wordpress.org/trunk@23450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-18 19:22:58 +00:00
Helen Hou-Sandí ad85d07189 Edit screen UI for post formats: a first run for functionality.
* Adds a very basic tabbed interface for selecting a post format (requires JS).
* Extra fields, which are post meta, are shown/hidden based on the selected format.
* Introduce a helper function for retrieving formats-specific metadata: `get_post_format_meta()`.
* Image selection uses the media modal, although without filtering or from URL support at the moment.

props rachelbaker, wonderboymusic, aaroncampbell, helen. see #19570.


git-svn-id: http://core.svn.wordpress.org/trunk@23449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-18 19:11:24 +00:00
Sergey Biryukov b59879bc6d Fix typo in phpdoc. see #23498.
git-svn-id: http://core.svn.wordpress.org/trunk@23448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-18 18:56:51 +00:00
Bot (Assets) a0d37232f2 Compress scripts/styles: 3.6-alpha-23447.
git-svn-id: http://core.svn.wordpress.org/trunk@23447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 22:58:41 +00:00
Andrew Nacin ea9e0c317d Remove unused admin-categories and admin-custom-fields JavaScript files. props ocean90. fixes #23486.
git-svn-id: http://core.svn.wordpress.org/trunk@23446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 19:03:59 +00:00
Andrew Nacin 83e0ce2ac1 Remove unused variables reset by wp_reset_vars(). Many of these haven't been used since b2. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 18:28:41 +00:00
Andrew Nacin 2a956dd5b7 Stop using jQuery.live(). props ocean90. see #22975.
git-svn-id: http://core.svn.wordpress.org/trunk@23444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 17:46:12 +00:00
Andrew Nacin ac621213df Update the Iris color picker to version 1.0.3, which stops using the deprecated jQuery.browser property.
props mattwiebe.
fixes #23484.



git-svn-id: http://core.svn.wordpress.org/trunk@23443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 17:44:41 +00:00
Andrew Nacin c4dc002689 jQuery UI 1.10.1.
props ocean90. see #23370.



git-svn-id: http://core.svn.wordpress.org/trunk@23442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 17:40:37 +00:00
Mark Jaquith 52c46736df Improve the UX of the Nav Menus screen. Kill the tabs, and change to a
dropdown, unless you have zero or one menus (which is the most common),
in which case you jump right into editing your sole menu.

Do assignment to location using checkboxes in the main menu editing
section instead of the backwards menu => location assignment in a
random meta box.

More to come, but this gets us started.

props lessbloat, DrewAPicture, jkudish. see #23119

git-svn-id: http://core.svn.wordpress.org/trunk@23441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 04:53:59 +00:00
Sergey Biryukov 7863062678 Restore the original wp_convert_bytes_to_hr() code. fixes #19067.
git-svn-id: http://core.svn.wordpress.org/trunk@23440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 03:59:37 +00:00
Sergey Biryukov bc2ff9d342 Deprecate wp_convert_bytes_to_hr() in favor of size_format(). props F J Kaiser. fixes #19067.
git-svn-id: http://core.svn.wordpress.org/trunk@23439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 03:07:56 +00:00