Andrew Ozz
8c9d5285ac
Toggle the pinkynails properly, props goto10, fixes #17212
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18851 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:12:39 +00:00
Andrew Ozz
3a696e6995
Speed up the admin bar drop-downs a bit when using hoverIntent, props johnbillion, fixes #18299
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18849 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:31:15 +00:00
Andrew Ozz
6840264a43
Fix thickbox (again!), props SergeyBiryukov, fixes #18796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18848 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:24:34 +00:00
Ryan Boren
c3212d522e
Avoid refetching a post in get_post() when passed a post object that has already been raw sanitized. Clean up sanitize loop. Props scribu. fixes #18822
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18846 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 19:06:18 +00:00
Ryan Boren
2678fd4f60
Restore sorting by post_name in get_pages(). Props SergeyBiryukov. fixes #18805
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18845 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 18:12:14 +00:00
Ryan Boren
0fb49c10e3
Consult the main query when determining whether to show the edit menu in the admin bar. This insulates the admin bar from query_posts() queries made by themes and plugins. Props SergeyBiryukov. fixes #16798
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18844 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 18:07:14 +00:00
Mark Jaquith
a3bdf19206
Be more consistent with ERROR: messages. fixes #15887
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18841 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:18:35 +00:00
Andrew Nacin
028a3ee8ec
Allow 'id' to work in get_bookmarks(). Add link_notes even though such sorting is a bad idea. see #18068 for 3.3.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18840 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:03:46 +00:00
Ryan Boren
cff31ae5f5
Add name to list of allowed keys. Props MarcusPope. fixes #18638
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18838 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:43:57 +00:00
Andrew Ozz
e8fd0746c8
Fix editor detection when inserting image, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18837 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:00:11 +00:00
Ryan Boren
83551cc744
Pass the query object to _close_comments_for_old_posts() so that is_singular is checked for the proper query. Props kawauso. fixes #18109
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18836 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:35:50 +00:00
Jon Cave
4219b8b03f
Fix back compat issues with delete_postmeta and deleted_postmeta actions as these should be passed the meta ID. Fixes #18825 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18835 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:19:32 +00:00
Ryan Boren
805762af8f
Deprecate wpmu_admin_redirect_add_updated_param() and wpmu_admin_do_redirect(). Props SergeyBiryukov. fixes #18619
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18834 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:13:13 +00:00
Peter Westwood
2421e0ecc6
Fire an action when a post type or taxonomy is registered so plugins can react. Fixes #18802 props simonwheatley.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18833 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 09:53:35 +00:00
Andrew Nacin
5efcc6e8fc
Compress and bump media.css. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18832 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:23:46 +00:00
Andrew Ozz
242c897d96
Attempt to keep the textarea still while loading the editor, see #18820
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18829 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 04:13:44 +00:00
Andrew Ozz
cfc8bd3d53
Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18828 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:59:49 +00:00
Ryan Boren
4e081d3171
phpdoc typo and readability fixes. Props SergeyBiryukov. fixes #18560
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18827 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:57:43 +00:00
Jon Cave
9f6d53a66f
Introduce wp_allowed_protocols() for use in wp_kses() and esc_url(). See #18268 .
...
This allows plugins to filter the list of protocols used for esc_url() too, and helps us keep the list of protocols in sync.
git-svn-id: https://develop.svn.wordpress.org/trunk@18826 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:33:51 +00:00
Jon Cave
55609b863e
Automatically set 'compare' => 'IN' in WP_Meta_Query::get_sql() when the meta value is an array. Props ldebrouwer, SergeyBiryukov. Fixes #16829 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18825 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:10:56 +00:00
Mark Jaquith
76251c5287
Allow the text parameter in wp_trim_excerpt() to be omitted altogether, instead of requiring a blank string. props SergeyBiryukov. fixes #17492
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18824 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:48:03 +00:00
Andrew Ozz
b969d2ea80
Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18823 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:52 +00:00
Ryan Boren
25df5fe335
Disallow indexing wp-admin and wp-includes in robots.txt. Props SergeyBiryukov. fixes #18465
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18822 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:04 +00:00
Ryan Boren
8e77c91883
* Move the old sidebars_widgets array upgrade code to wp-admin/includes/upgrade.php
...
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from wp_get_sidebars_widgets().
* Combine a couple of !empty( $sidebars_widgets ) checks in retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598
git-svn-id: https://develop.svn.wordpress.org/trunk@18821 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:41:22 +00:00
Andrew Nacin
0cd9b83b64
Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18820 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:39:55 +00:00
Andrew Nacin
106a94406e
Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18818 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:21:15 +00:00
Andrew Nacin
4aee3254f3
Kill the tables in install.php. props andrewryno. see #16413 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18817 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 19:57:36 +00:00
Andrew Nacin
32ba775ad7
Pass unslashed values from update_metadata() to add_metadata(). fixes #17343 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18816 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 19:37:58 +00:00
Andrew Nacin
d9b37f77c8
Make the sort-by-object-property functions generic. see #14424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18815 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 17:20:34 +00:00
Ryan Boren
9ad9ff1282
Use _wp_tag_cloud_count_sort_cb instead of an anonymous function. Props ocean90. see #14424
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18814 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 17:09:04 +00:00
Andrew Ozz
03375fa844
Recursively convert html entities in script localization strings, see #11520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18813 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 06:43:46 +00:00
Andrew Nacin
bb89b80c5b
Remove remnants of show_admin_bar_admin. see #18811 , see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18812 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 06:12:51 +00:00
Andrew Nacin
2c6d998b91
Revert [18804] until we have a proper solution. see #11520 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18810 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:50:44 +00:00
Andrew Nacin
cd0ad3ead4
Revert [18783], as it breaks term relationship counts for attachment taxonomies. see #17548 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18809 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:29:20 +00:00
Mark Jaquith
2aa3f3c353
Add note about why double-serialization is done. props SergeyBiryukov. fixes #16597
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18807 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 02:23:26 +00:00
Dion Hulse
6069fe3c61
Document the Magic numbering in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18806 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 02:10:35 +00:00
Dion Hulse
36f2e9a22f
Pass $args and $url to the http_api_debug action to improve debugging. Props johnbillion. Fixes #18732
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18805 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 01:42:09 +00:00
Andrew Ozz
440ea79d5e
Convert html entities in script localization strings, see #11520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18804 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 00:34:24 +00:00
Andrew Ozz
c9c3eb7a6d
Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348 , see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18803 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 21:07:08 +00:00
Andrew Ozz
bbd210992d
Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18802 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 17:27:48 +00:00
Andrew Ozz
412422f15c
Remove max-width from list tables. Better to limit the width on individual fields or areas where readability is impacted, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18801 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 16:05:59 +00:00
Andrew Ozz
13c72ba193
Fix enqueueing of the right scripts when more than one instance of the editor, fix inserting images in full screen mode, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18799 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 07:26:34 +00:00
Andrew Ozz
2a7b8b4764
Add error message when loading the preview image in the image editor fails, fixes #18723
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18798 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 06:08:56 +00:00
Daryl Koopersmith
91c746f586
Add dashboard help tabs, revise help tab layout and code. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18797 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 00:57:56 +00:00
Andrew Nacin
35edc4264d
Release a user's post lock when the user leaves a post. see #18515 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18796 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 20:52:07 +00:00
Andrew Nacin
ad6e08124f
Correct the src for jquery-ui-datepicker. props danielbachhuber, fixes #18793 . see #17952 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18795 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 19:50:15 +00:00
Andrew Nacin
8439f8cd5c
Ensure we have a full blog object in get_active_blog_for_user(). fixes #18789 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18791 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 07:36:36 +00:00
Andrew Nacin
e0889f848c
Fix docs for get_meta_sql(). First arg cannot be optional. props duck_, fixes #18717 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18789 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 05:13:07 +00:00
Andrew Nacin
319264bd0d
Cleanup in wp_admin_bar_new_content_menu. current() instead of array_shift(), remove unused index 1 from the arrays, remove ?post_type=post from the Post link. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18788 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 04:04:10 +00:00
Daryl Koopersmith
5abb139f0d
Add secondary section to 'Add New' admin bar menu. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18787 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 03:53:43 +00:00
Daryl Koopersmith
a00a36ad5a
Prevent multiple-word admin bar items from overflowing in Firefox. props chrisbliss18, helenyhou. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18786 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 03:16:05 +00:00
Andrew Nacin
425560c739
Pass instance and id_base to widget_tirle filter in WP_Widget_Recent_Comments. props scribu, fixes #18393 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18785 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 02:38:31 +00:00
Ryan Boren
f63662aa82
Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. fixes #17548
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18783 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 22:24:46 +00:00
Daryl Koopersmith
0b3d90ee53
Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:03:38 +00:00
Andrew Ozz
3009977ccd
Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18778 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 19:23:43 +00:00
Peter Westwood
f8f9a7c6d7
Only show 'About this version' menu item to logged in users.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18777 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 08:40:31 +00:00
Daryl Koopersmith
a7767fbcec
Second pass, admin bar overhaul. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18776 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 23:30:40 +00:00
Andrew Ozz
8c8d048749
Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18774 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 18:53:34 +00:00
Andrew Ozz
10d60279b9
Add border radius to .postbox .hndle, props Jick, fixes #18657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18773 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 17:17:51 +00:00
Jon Cave
57768a1a80
Remove .js .item-order style made redundant by r18755. See #18314 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18770 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:57:52 +00:00
Andrew Nacin
492a5d031c
Update esc_url() phpdoc. props sirzooro, fixes #18766 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18769 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:52:26 +00:00
Jon Cave
45c26903bf
Fix copy+paste error in documentation. Props masonjames, SergeyBiryukov. Fixes #18545 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18768 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:37:34 +00:00
Andrew Nacin
0f4a1e5e3c
delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18767 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:31:38 +00:00
Andrew Ozz
be87523fed
Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18766 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:43:19 +00:00
Andrew Nacin
8a1c8168b8
Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18762 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 21:12:43 +00:00
Daryl Koopersmith
62559dd0b0
Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18761 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 20:22:52 +00:00
Daryl Koopersmith
1ad904fb1a
Correct text widget background color. It was really messing with our feng shui.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18760 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 20:05:13 +00:00
Andrew Nacin
d76e4bea9e
Combine some CSS definitions. props DH-Shredder, see #18314 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18759 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 18:52:51 +00:00
Andrew Ozz
e42c40167f
Update jQuery to 1.6.4, update jQuery UI to 1.8.16, add the rest of UI, add workaround for a regression in UI Draggable, see #17952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18757 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 05:03:31 +00:00
Daryl Koopersmith
60c59fb4a7
Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18755 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 22:33:27 +00:00
Daryl Koopersmith
1db2584cd2
Remove expanded class from flyout menus. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18754 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 20:24:12 +00:00
Jon Cave
b60222700e
Documentation fixes. See #18560 .
...
- Add missing parameters
- Add missing @param data types
- s/format_where/where_format/
git-svn-id: https://develop.svn.wordpress.org/trunk@18753 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 12:02:31 +00:00
Peter Westwood
80cc1062af
Revert [18747] until we can discuss it further. See #18453 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18752 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 09:15:45 +00:00
Peter Westwood
cdf5d84b73
Add support for rar and 7x file uploading. Fixes #16412 props Caspie.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18751 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 08:29:35 +00:00
Andrew Ozz
033ed78e03
Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18747 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 02:27:00 +00:00
Andrew Nacin
c0682ee59b
Detect current menu items for root-relative URLs. props filosofo, fixes #15954 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18746 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 02:25:57 +00:00
Daryl Koopersmith
3094ed7733
Add new 'about this version' page (with filler content) and menu item. see #18742 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18745 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 23:20:26 +00:00
Andrew Ozz
ecb902c53d
Fix inconsistent css handling of .wide-screen, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18743 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 21:44:44 +00:00
Jon Cave
92054191a1
wp_strip_all_tags() in wp_trim_words() to remove CSS and JS within tags. Props evansolomon. Fixes #18726 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18742 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 20:39:21 +00:00
Ryan Boren
c7f61b2857
Pass the authenticated user_login to the wp_login action. Props Otto42, SergeyBiryukov. fixes #15473
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18741 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 20:26:39 +00:00
Ryan Boren
1ea42bc9b5
Do not output title attributes in the page walker since they match the anchor and are thus superfluous. Props logiclord. fixes #16783
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18739 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 20:04:14 +00:00
Ryan Boren
6ed92f4fb1
Run the sanitize_option_* filter for all options in sanitize_option(). Add some sanity checks for the permalink options while in there. fixes #18737
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18738 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 19:05:06 +00:00
Andrew Ozz
41b4edd1a3
Remove the scrollbar from the login screen, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18737 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 18:47:12 +00:00
Andrew Ozz
f465d0e766
Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18736 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 06:16:24 +00:00
Jon Cave
0753dd9764
Rescue those who created menu items before r18733. Trim menu item descriptions. See #16799 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18734 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 22:57:47 +00:00
Jon Cave
df9f6eb62a
Make new nav menu items have a blank description and attr_title. See #16799 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18733 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 21:58:37 +00:00
Jon Cave
ed5fdbb499
Abstract word-trimming from wp_trim_excerpt() into wp_trim_words(). Props nacin. Fixes #16372 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18732 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 17:14:23 +00:00
Andrew Ozz
865ccf2acb
Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18730 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 03:37:17 +00:00
Andrew Ozz
91d248fce8
Merge all border-radius: 3px, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18728 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 03:02:53 +00:00
Andrew Ozz
efbfde27eb
Quicktags: fix closing of the first tag in an empty textarea, allow closing of all tags without the button, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18727 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 02:22:43 +00:00
Andrew Ozz
7c4e4d17e6
Remove unnecessary vendor prefixes, props ocean90, see #18700
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18726 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 01:27:14 +00:00
Andrew Ozz
268911c313
Fix quicktags buttons fir self-closing tags, remove unneeded arg when adding a button, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18725 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 20:47:20 +00:00
Ryan Boren
15f12c55f9
Mark some string in dead_db() for translation. Props mako09, SergeyBiryukov. fixes #17815
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18724 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 20:21:39 +00:00
Ryan Boren
1cd6cf0f0c
phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18723 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 19:01:03 +00:00
Jon Cave
83f0e2c349
Add post formats to quick edit and bulk edit. Fixes #18083 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18722 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 17:02:58 +00:00
Jon Cave
7c0d6373af
Allow current_theme_supports() to be used to check for specific post formats. Props ericmann. Fixes #18691 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18720 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 16:29:03 +00:00
Andrew Ozz
0ec131e16f
Remove dependency from ie.css, props SergeyBiryukov, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18719 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 16:28:53 +00:00
Dion Hulse
d07aeb8b07
Add inflation support for java.util.zip.Deflater in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18718 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 14:43:43 +00:00
Peter Westwood
d01e2af94b
Improve the parsing of email addresses in wp_mail to re-support RFC2822 nameless "<address@tld.com>" style. Fixes #18463 props kitchin and SergeyBiryukov.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18717 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 14:30:50 +00:00
Peter Westwood
442590c211
Set up the post global variable in the comment feed loops so that any calls to post related template tags work correctly.
...
Ensures that atom feeds show threading for top-level comments correctly.
Fixes #14908 props solarissmoke and SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@18716 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 12:39:59 +00:00
Peter Westwood
814faf7f4f
Escape the dot so that it only matches dot any not any character in the old feed files redirect.
...
Bump the db version so the rules regenerate.
See #18384
git-svn-id: https://develop.svn.wordpress.org/trunk@18715 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 12:15:43 +00:00
Dion Hulse
670784bcc3
Add documentation for floats (%f) to wpdb::prepare() and friends. Props dllh. Fixes #18407
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18714 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 05:15:44 +00:00
Dion Hulse
ad6fac44d4
Allow Apostrophes in Post Passwords. $_POST and $_COOKIE are always slashed. Fixes #17145
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18712 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 04:17:26 +00:00
Dion Hulse
56c20818e5
Fix wp_list_filter() OR operator. Props kevinB. Fixes #18092
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18711 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 03:59:52 +00:00
Andrew Ozz
945d4500b4
Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992 , fixes #18697 , see $17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18710 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 00:47:23 +00:00
Daryl Koopersmith
342180470d
Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18707 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:17:09 +00:00
Andrew Nacin
5c6b6c074f
Strip a number of special characters in sanitize_title_with_dashes on save. Includes quotes (curly, angle), dashes, marks, etc. props SergeyBiryukov. props ampt for the unit tests in [UT438]. see #10797 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18705 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 19:53:59 +00:00
Andrew Ozz
2f8ab419ac
Importers and Install themes thickbox fixes, props helenyhou, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18704 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 19:39:49 +00:00
Andrew Ozz
ff6097e6ee
Add the styling for "drop area" to Media->Add New, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18703 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 17:03:34 +00:00
Andrew Ozz
c0f4b1a326
Improve the image drag-resize detection in the visual editor (supported in FF and IE only), remove the size-* class if the image is soft-resized, see #18107
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18702 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 03:00:13 +00:00
Andrew Ozz
1948c952a4
Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18701 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 02:25:23 +00:00
Andrew Nacin
d021bbd1d4
Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18700 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 22:26:01 +00:00
Andrew Nacin
68c1b54796
is_main_query(). fixes #18677 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18699 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 20:46:35 +00:00
Dion Hulse
1bc9770151
Use http_build_query in the Core Update check to encode version numbers. Props kurtpayne. Fixes #18051
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18697 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 09:14:27 +00:00
Daryl Koopersmith
6244ba8f6e
Improve comments item in admin bar. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18696 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 01:11:52 +00:00
Daryl Koopersmith
edeae501f1
Admin bar styles, take 1. Props iammmattthomas, see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18695 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 00:41:04 +00:00
Andrew Ozz
2c70f62b72
The rest of add missing var in postbox.js, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18694 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 23:28:40 +00:00
Jon Cave
d98a9d0b0c
Fix several CSS syntax errors. Props demetris. Fixes #18640 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18691 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 20:41:47 +00:00
Peter Westwood
1688cde0e2
Remove the unimplemented user locale code in the admin bar until we actually implement it for real.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18690 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 11:12:37 +00:00
Peter Westwood
af72ac6ff5
Get out quick if we have been passed the ID of the 'logged out' user.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18689 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:57:31 +00:00
Peter Westwood
44821916ca
We don't need to do this if the user isn't logged in.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18688 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:56:06 +00:00
Peter Westwood
cc5c326c37
Don't try showing these links to non-logged in users either.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18687 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:50:55 +00:00
Peter Westwood
30121b77d9
Don't show this menu for users who are not logged in.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18686 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:46:12 +00:00
Daryl Koopersmith
50f062f711
Show correct blogs in the admin bar sites menu. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18685 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 07:18:05 +00:00
Daryl Koopersmith
dca85a7db7
Improve appearance of Screen Options/Help panels, see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18684 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 07:10:04 +00:00
Daryl Koopersmith
e1038932b9
Admin bar UX improvements. First pass, see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18683 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 05:01:54 +00:00
Jon Cave
461af47e10
Remove the non_existent_objects property from WP_Object_Cache. Fixes #16274 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18682 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 20:28:06 +00:00
Jon Cave
6d75218f6a
Introduce wp_suspend_cache_addition() to allow reduced memory usage when cache additions aren't useful. Fixes #5389 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18681 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 20:23:00 +00:00
Andrew Nacin
b4b2a1847b
Remove support for <link rel=start>, end, up, and index. These rel="" values have been dropped by the HTML Working Group. props Elpie, kawauso, fixes #18128 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18680 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 16:54:59 +00:00
Peter Westwood
a8f99a3d72
Remove the accidental commit of the cache avoiding test code in [18677] props vnsavage
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18679 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 10:43:22 +00:00
Peter Westwood
321e31c58b
A little bit of whitespace keeps the code readable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18678 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 10:09:45 +00:00
Peter Westwood
3aac6e630b
Set a consistent cache key when using the_widget to display the Recent Posts and Recent Comments widgets so that they get cached. See #16761 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18677 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 10:08:43 +00:00
Peter Westwood
2d6257665d
Fix Notices in default Widgets when called using the_widget(). Fixes #16761 props mfields and SergeyBiryukov
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18676 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 09:41:17 +00:00
Andrew Ozz
d20435eb03
Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18674 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 05:30:58 +00:00
Andrew Ozz
aea659a859
Responsive themes screen, props helenyhou, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18673 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 04:26:26 +00:00
Andrew Ozz
22f08b499f
Limit max width of .widefat list tables, props helenyhou, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18670 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 21:08:44 +00:00
Andrew Ozz
a638573362
Responsive tag and category pages, props saracannon, see #18189
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18669 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 21:03:13 +00:00
Andrew Ozz
9e23297d6a
Revert [18664] and handle any similar cases separately, props SergeyBiryukov, fixes #16810 , fixes #18656
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18668 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 20:23:33 +00:00
Andrew Ozz
13c777eb39
Auto-column switching for the dashboard (js based), see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18667 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 07:02:46 +00:00
Andrew Ozz
59f69e6ea3
Make DFW content width match exactly the reported width from the theme, props helenyhou, fixes #18138
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18666 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-13 20:03:28 +00:00
Andrew Nacin
486670f072
Use get_template_part() in get_header(), get_sidebar(), get_footer(). props scribu, see #18331 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18665 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-13 16:17:14 +00:00
Andrew Ozz
bcb073c403
Make hide-if-no-js and hide-if-js important, props solarissmoke, fixes #16810
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18664 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-13 02:52:02 +00:00
Andrew Nacin
598184f98c
Allow get_blog_option(null,...) to hit the cache for the current blog. New return values for add_blog_option, update_blog_option, delete_blog_option. Don't set the cache in those functions if add/update/delete_option failed. see #17883 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18662 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-11 18:53:09 +00:00
Andrew Nacin
fb58d06f1c
Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18661 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-11 17:52:46 +00:00
Andrew Ozz
5c2de1a6fc
TinyMCE 3.4.5, fixes #18107
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18660 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 20:08:40 +00:00
Ryan Boren
332d6d1351
Improve cron locking. Avoid multiple cron processes looping over the same events. fixes #17462
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18659 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 19:59:44 +00:00
Andrew Nacin
d893b9568c
Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18658 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 17:53:41 +00:00
Andrew Nacin
4d2f247e41
Update blog last_updated time only on publish_post. Both private_to_published and publish_phone are overly broad and otherwise redundant. props mdawaffe, fixes #18624 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18657 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 17:49:30 +00:00
Andrew Ozz
647031a087
Rename the newly added action 'after_theme_change' to 'after_switch_theme' so it matches the 'switch_theme' action, props scribu, see #17979
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18656 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 20:59:41 +00:00
Andrew Ozz
7b2c49d219
Make check_theme_switched() run an action so this enhancement is available to plugins and themes too, see #17979
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18655 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 20:07:15 +00:00
Andrew Ozz
808ea899ad
Use theme mods instead of transients for storing the previous theme's widgets config, props aaroncampbell, see #17979
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18654 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 19:25:20 +00:00
Ryan Boren
048c04c07c
Update cache.php phpdoc. Props SergeyBiryukov. fixes #18607
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18653 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 17:19:09 +00:00
Ryan Boren
9651a4b5b0
Don't send page slugs through prepare() to avoid breaking octets in i18n page slugs. Props SergeyBiryukov. see #10249 #166687
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18652 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 17:17:17 +00:00
Jon Cave
e65cce15f2
Only add the post format body classes when the post type supports post formats. props ocean90. fixes #18228 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18651 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-07 20:10:42 +00:00
Jon Cave
3dbb79d859
Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18650 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-07 19:48:25 +00:00
Andrew Nacin
e9a78f4ad7
Add a filter to is_multi_author(). props Viper007Bond, fixes #18600 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18649 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-07 13:53:53 +00:00
Andrew Nacin
c37a788332
s/robot/robots/. props madjax, fixes #18612 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18647 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-07 13:45:06 +00:00
Ryan Boren
750065c50b
Standardize variable names. Consistently use and . fixes #18607
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18644 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-06 21:13:11 +00:00
Andrew Nacin
a0cd13553b
trailingslashit isn't normally available in ms-files. props davecpage, fixes #18592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18642 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-06 15:41:57 +00:00
Jon Cave
82c0f09c09
Fix typos in documentation (wp-includes/[i-z]). See #18560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18639 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 19:08:15 +00:00
Andrew Nacin
6fa5b1ed74
Force a trailing slash on BLOGUPLOADDIR in ms-files.php. props wonderboymusic, see #18592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18638 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 16:55:05 +00:00
Andrew Nacin
78b5130751
Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18637 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 16:53:19 +00:00
Andrew Ozz
b744e5937e
Remove unneeded .siblings() from widgets.js, props aaroncampbell, fixes #18582
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18634 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 21:19:36 +00:00
Jon Cave
205aa5ba5c
Fix typos in documentation (wp-includes/[a-h]). See #18560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18633 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 16:02:41 +00:00
Andrew Ozz
bcd9d1a36e
Moves orphaned sidebars to main content area above Inactive Widgets, props aaroncampbell, see #17979
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18631 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 03:01:11 +00:00
Andrew Ozz
4782c3dc6f
Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18630 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-02 22:13:55 +00:00
Andrew Nacin
46773a16ea
s/hask/hack/. props scribu, see #16695 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18629 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-02 21:25:42 +00:00
Andrew Ozz
1205b09cf6
More quicktags back-compat, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18628 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-02 20:40:47 +00:00
Mark Jaquith
8094c89b39
Cast to array in get_page_by_path() foreach
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18627 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-31 06:46:16 +00:00
Andrew Ozz
e4fdcbd347
Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18625 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 23:18:18 +00:00
Andrew Ozz
ca2ccb3baa
Disable js moving of dashboard postboxes, add all of them in the first column on 'auto', see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18624 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 22:29:37 +00:00
Andrew Ozz
fb2a6c0f6d
Fix typo in quicktags.js, props westi, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18623 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 17:50:12 +00:00
Daryl Koopersmith
43d6595503
Switch admin menus to flyouts from dropdowns. First pass, see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18621 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 01:12:26 +00:00
Andrew Ozz
8e64c7199c
Fix silverlight uploading when not resizing files on the fly, props kurtpayne, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18620 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-29 23:59:22 +00:00
Andrew Ozz
ea03cd66fd
Fix styling and quicktags error in press this, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18619 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 20:48:05 +00:00
Dion Hulse
06338d1653
Store Plugin/Theme uploads in the Media Library properly. Add Scheduled cleanup +2hrs to clean up any aborted installation attempts. See #18182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18617 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 08:42:07 +00:00
Dion Hulse
c370cd58f1
Display 'Edit Media' instead of 'Edit Post' for Attachments/Media in the admin bar. Props johnbillion. Fixes #18529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18613 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 03:39:06 +00:00
Andrew Ozz
2419657db5
Properly reset vars, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18612 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-27 16:30:36 +00:00
Andrew Ozz
ec6fc2ea80
Improve quicktags back-compat, add method instance.getButtonElement(id), see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18611 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 23:30:01 +00:00
Andrew Ozz
83275816df
Fix action 'wp_print_footer_scropts' (on the front-end), see #11520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18610 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 20:31:30 +00:00
Andrew Ozz
61c8958e4b
Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18609 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 19:33:14 +00:00
Andrew Ozz
77892dfba6
Improve auto column switching for post.php, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18607 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 22:55:39 +00:00
Ryan Boren
965dcf7bf9
Properly handle nested arrays in wp_list_filter(). Props scribu, SergeyBiryukov. fixes #16137
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18606 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 19:50:29 +00:00
Ryan Boren
aee898a1e7
Remove unused global. Props ocean90. fixes #18484
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18605 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 19:35:22 +00:00
Ryan Boren
83a1dfb6b5
Don't set the site_name cache on every call to get_current_site_name(). Props mark-k, solarissmoke. fixes #16676
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18604 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 19:29:47 +00:00
Ryan Boren
ad3b0cacc4
Support fields = slugs in wp_get_object_terms(). Props lancewillett, SergeyBiryukov. fixes #15835
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18603 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 18:49:46 +00:00
Ryan Boren
2b4d72c471
wp_list_pluck() performance improvement. Props Otto42. fixes #18230
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18602 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 18:22:17 +00:00
Ryan Boren
51f1d1adf0
Use update_blog_details() in wpmu_update_blogs_date(). Props jakub.tyrcha. fixes #18122
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18601 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 18:01:49 +00:00
Ryan Boren
9e2aa32657
Handle null user ID in the WP_User constructor. Props kawauso. fixes #17894
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18598 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 19:47:35 +00:00
Ryan Boren
1d3e616495
Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18597 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 19:32:59 +00:00
Peter Westwood
edec48d754
Whitespace and code layout tidyup.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18593 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 10:59:06 +00:00
Peter Westwood
087b273a40
Parse shortcodes in text widgets by default. Fixes #10457 props tmoorewp, sillybean, jamescollins.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18592 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 10:54:48 +00:00
Peter Westwood
89a6ae387e
Optimise get_term to not query for term_id = 0. Also improve the prepared query to use %d for the term_id.
...
Fixes #18076 props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@18591 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 10:39:52 +00:00
Jon Cave
4c849e806f
Allow update_site_option to add false-y values. Fixes #15497
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18589 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 21:12:14 +00:00
Jon Cave
f66d6581a7
Use get_site_option in add/update_site_option for caching and filtering benefits. fixes #18478
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18588 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 20:45:48 +00:00
Jon Cave
bfdc119315
add_site_option should not update existing options, should return a boolean and should only run actions on success. fixes #18422
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18587 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 20:24:35 +00:00
Andrew Nacin
a73c0ef107
Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18585 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 15:37:38 +00:00
Andrew Nacin
4b3374e66d
Check for comment existence before checking edit_comment meta cap. props xknown, fixes #18104 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18584 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 10:22:34 +00:00
Andrew Ozz
2ae505d0c6
Auto column switching (post.php only for now), see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18581 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 19:41:11 +00:00
Ryan Boren
ee123a28d5
Introduce wp_cache_incr() and wp_cache_decr(). fixes #18494
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18580 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 17:39:44 +00:00