azaozz
bb3196ea8e
Fix thickbox (again!), props SergeyBiryukov, fixes #18796
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 22:24:34 +00:00
ryan
d7a17b96e9
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: http://svn.automattic.com/wordpress/trunk@18846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 19:06:18 +00:00
ryan
e46e579ce5
Restore sorting by post_name in get_pages(). Props SergeyBiryukov. fixes #18805
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 18:12:14 +00:00
ryan
cd0c3f605e
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: http://svn.automattic.com/wordpress/trunk@18844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 18:07:14 +00:00
markjaquith
37e23be4ed
Be more consistent with ERROR: messages. fixes #15887
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:18:35 +00:00
nacin
acbc9144dd
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: http://svn.automattic.com/wordpress/trunk@18840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:03:46 +00:00
ryan
559085db40
Add name to list of allowed keys. Props MarcusPope. fixes #18638
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:43:57 +00:00
azaozz
816fcad9e2
Fix editor detection when inserting image, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:00:11 +00:00
ryan
96b3575b72
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: http://svn.automattic.com/wordpress/trunk@18836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 15:35:50 +00:00
duck_
d5232043ce
Fix back compat issues with delete_postmeta and deleted_postmeta actions as these should be passed the meta ID. Fixes #18825 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 15:19:32 +00:00
ryan
6febc018a9
Deprecate wpmu_admin_redirect_add_updated_param() and wpmu_admin_do_redirect(). Props SergeyBiryukov. fixes #18619
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 15:13:13 +00:00
westi
b5a3362c70
Fire an action when a post type or taxonomy is registered so plugins can react. Fixes #18802 props simonwheatley.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 09:53:35 +00:00
nacin
cb3ab86c7c
Compress and bump media.css. see #17578 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:23:46 +00:00
azaozz
f5e6304ca6
Attempt to keep the textarea still while loading the editor, see #18820
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 04:13:44 +00:00
azaozz
3be0b41d68
Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:59:49 +00:00
ryan
32e25b6aec
phpdoc typo and readability fixes. Props SergeyBiryukov. fixes #18560
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:57:43 +00:00
duck_
4171ea192b
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: http://svn.automattic.com/wordpress/trunk@18826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:33:51 +00:00
duck_
fda510aca1
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: http://svn.automattic.com/wordpress/trunk@18825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:10:56 +00:00
markjaquith
33c150d3de
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: http://svn.automattic.com/wordpress/trunk@18824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:48:03 +00:00
azaozz
75432d53b0
Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:47:52 +00:00
ryan
44029b1ef1
Disallow indexing wp-admin and wp-includes in robots.txt. Props SergeyBiryukov. fixes #18465
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:47:04 +00:00
ryan
2edc82cd61
* 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: http://svn.automattic.com/wordpress/trunk@18821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:41:22 +00:00
nacin
f186494c9a
Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:39:55 +00:00
nacin
3440dbb182
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: http://svn.automattic.com/wordpress/trunk@18818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:21:15 +00:00
nacin
a418189fe2
Kill the tables in install.php. props andrewryno. see #16413 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 19:57:36 +00:00
nacin
1066f1addb
Pass unslashed values from update_metadata() to add_metadata(). fixes #17343 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 19:37:58 +00:00
nacin
008beac918
Make the sort-by-object-property functions generic. see #14424 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 17:20:34 +00:00
ryan
476b3d9a65
Use _wp_tag_cloud_count_sort_cb instead of an anonymous function. Props ocean90. see #14424
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 17:09:04 +00:00
azaozz
b26dcf5ce6
Recursively convert html entities in script localization strings, see #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 06:43:46 +00:00
nacin
ccf47d55c4
Remove remnants of show_admin_bar_admin. see #18811 , see #18197 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 06:12:51 +00:00
nacin
fc7fb8b03e
Revert [18804] until we have a proper solution. see #11520 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:50:44 +00:00
nacin
f4c5d43326
Revert [18783], as it breaks term relationship counts for attachment taxonomies. see #17548 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:29:20 +00:00
markjaquith
58e0851786
Add note about why double-serialization is done. props SergeyBiryukov. fixes #16597
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 02:23:26 +00:00
dd32
f1ffd16440
Document the Magic numbering in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 02:10:35 +00:00
dd32
08bea55949
Pass $args and $url to the http_api_debug action to improve debugging. Props johnbillion. Fixes #18732
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 01:42:09 +00:00
azaozz
e30854e968
Convert html entities in script localization strings, see #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 00:34:24 +00:00
azaozz
d58e337d24
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: http://svn.automattic.com/wordpress/trunk@18803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 21:07:08 +00:00
azaozz
fea5c38ef4
Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 17:27:48 +00:00
azaozz
21d9701150
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: http://svn.automattic.com/wordpress/trunk@18801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 16:05:59 +00:00
azaozz
e076a246fd
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: http://svn.automattic.com/wordpress/trunk@18799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 07:26:34 +00:00
azaozz
8315e48d3a
Add error message when loading the preview image in the image editor fails, fixes #18723
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 06:08:56 +00:00
koopersmith
8c1bc6831a
Add dashboard help tabs, revise help tab layout and code. see #18690 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 00:57:56 +00:00
nacin
de8cc0eae1
Release a user's post lock when the user leaves a post. see #18515 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 20:52:07 +00:00
nacin
b171681162
Correct the src for jquery-ui-datepicker. props danielbachhuber, fixes #18793 . see #17952 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 19:50:15 +00:00
nacin
6edb31db27
Ensure we have a full blog object in get_active_blog_for_user(). fixes #18789 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 07:36:36 +00:00
nacin
cb21513a15
Fix docs for get_meta_sql(). First arg cannot be optional. props duck_, fixes #18717 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 05:13:07 +00:00
nacin
83746331cf
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: http://svn.automattic.com/wordpress/trunk@18788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 04:04:10 +00:00
koopersmith
0c79429d8b
Add secondary section to 'Add New' admin bar menu. see #18197 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 03:53:43 +00:00
koopersmith
c00a49dd7a
Prevent multiple-word admin bar items from overflowing in Firefox. props chrisbliss18, helenyhou. see #18197 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 03:16:05 +00:00
nacin
ea5730329d
Pass instance and id_base to widget_tirle filter in WP_Widget_Recent_Comments. props scribu, fixes #18393 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 02:38:31 +00:00
ryan
d187cf2559
Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. fixes #17548
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 22:24:46 +00:00
koopersmith
d417524b4a
Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:03:38 +00:00
azaozz
5ca2255bba
Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 19:23:43 +00:00
westi
59cb3c0ddd
Only show 'About this version' menu item to logged in users.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 08:40:31 +00:00
koopersmith
590868d915
Second pass, admin bar overhaul. see #18197 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 23:30:40 +00:00
azaozz
ce992634cc
Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 18:53:34 +00:00
azaozz
1e145adb97
Add border radius to .postbox .hndle, props Jick, fixes #18657
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 17:17:51 +00:00
duck_
26d36e6eda
Remove .js .item-order style made redundant by r18755. See #18314 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:57:52 +00:00
nacin
07567002bb
Update esc_url() phpdoc. props sirzooro, fixes #18766 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:52:26 +00:00
duck_
37441fac3e
Fix copy+paste error in documentation. Props masonjames, SergeyBiryukov. Fixes #18545 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:37:34 +00:00
nacin
9f216ad715
delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:31:38 +00:00
azaozz
eb8878fbfc
Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:43:19 +00:00
nacin
55a0bfcdc8
Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 21:12:43 +00:00
koopersmith
27d6351a64
Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:22:52 +00:00
koopersmith
1b6afc2077
Correct text widget background color. It was really messing with our feng shui.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:05:13 +00:00
nacin
5254f5f78f
Combine some CSS definitions. props DH-Shredder, see #18314 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 18:52:51 +00:00
azaozz
e7e4ceed22
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: http://svn.automattic.com/wordpress/trunk@18757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 05:03:31 +00:00
koopersmith
48d20c1839
Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 22:33:27 +00:00
koopersmith
f40872acdd
Remove expanded class from flyout menus. see #18382 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 20:24:12 +00:00
duck_
4a6513185a
Documentation fixes. See #18560 .
...
- Add missing parameters
- Add missing @param data types
- s/format_where/where_format/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 12:02:31 +00:00
westi
b816f54124
Revert [18747] until we can discuss it further. See #18453 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 09:15:45 +00:00
westi
19f46502c0
Add support for rar and 7x file uploading. Fixes #16412 props Caspie.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 08:29:35 +00:00
azaozz
95e8b34104
Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:27:00 +00:00
nacin
12bc347475
Detect current menu items for root-relative URLs. props filosofo, fixes #15954 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:25:57 +00:00
koopersmith
723e50230e
Add new 'about this version' page (with filler content) and menu item. see #18742 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 23:20:26 +00:00
azaozz
1cdd3d5154
Fix inconsistent css handling of .wide-screen, see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 21:44:44 +00:00
duck_
2fb95a133d
wp_strip_all_tags() in wp_trim_words() to remove CSS and JS within tags. Props evansolomon. Fixes #18726 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:39:21 +00:00
ryan
3c2ba4afed
Pass the authenticated user_login to the wp_login action. Props Otto42, SergeyBiryukov. fixes #15473
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:26:39 +00:00
ryan
69a52799a5
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: http://svn.automattic.com/wordpress/trunk@18739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:04:14 +00:00
ryan
7aedd7ec52
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: http://svn.automattic.com/wordpress/trunk@18738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 19:05:06 +00:00
azaozz
4228aa301c
Remove the scrollbar from the login screen, see #18314
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 18:47:12 +00:00
azaozz
ffca93b1f2
Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 06:16:24 +00:00
duck_
b225e5b626
Rescue those who created menu items before r18733. Trim menu item descriptions. See #16799 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 22:57:47 +00:00
duck_
bc3b3aed4d
Make new nav menu items have a blank description and attr_title. See #16799 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 21:58:37 +00:00
duck_
8cfc0fa5ec
Abstract word-trimming from wp_trim_excerpt() into wp_trim_words(). Props nacin. Fixes #16372 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 17:14:23 +00:00
azaozz
456753acce
Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:37:17 +00:00
azaozz
eba25e47a6
Merge all border-radius: 3px, see #18314
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:02:53 +00:00
azaozz
7210ddb762
Quicktags: fix closing of the first tag in an empty textarea, allow closing of all tags without the button, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 02:22:43 +00:00
azaozz
f4acbe5a0a
Remove unnecessary vendor prefixes, props ocean90, see #18700
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 01:27:14 +00:00
azaozz
64da76d23e
Fix quicktags buttons fir self-closing tags, remove unneeded arg when adding a button, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 20:47:20 +00:00
ryan
bad1132fdf
Mark some string in dead_db() for translation. Props mako09, SergeyBiryukov. fixes #17815
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 20:21:39 +00:00
ryan
2b9750b3e4
phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 19:01:03 +00:00
duck_
698957e40e
Add post formats to quick edit and bulk edit. Fixes #18083 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 17:02:58 +00:00
duck_
6e2ffdc289
Allow current_theme_supports() to be used to check for specific post formats. Props ericmann. Fixes #18691 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:29:03 +00:00
azaozz
c748eaf1f0
Remove dependency from ie.css, props SergeyBiryukov, see #18314
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:28:53 +00:00
dd32
f40bc45b6f
Add inflation support for java.util.zip.Deflater in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 14:43:43 +00:00
westi
5eef6313ef
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: http://svn.automattic.com/wordpress/trunk@18717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 14:30:50 +00:00
westi
0826f08315
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: http://svn.automattic.com/wordpress/trunk@18716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 12:39:59 +00:00
westi
738904e996
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: http://svn.automattic.com/wordpress/trunk@18715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 12:15:43 +00:00
dd32
4752a8a1aa
Add documentation for floats (%f) to wpdb::prepare() and friends. Props dllh. Fixes #18407
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 05:15:44 +00:00
dd32
bd5cf872c6
Allow Apostrophes in Post Passwords. $_POST and $_COOKIE are always slashed. Fixes #17145
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 04:17:26 +00:00
dd32
085ba95a60
Fix wp_list_filter() OR operator. Props kevinB. Fixes #18092
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 03:59:52 +00:00
azaozz
4b38d0833e
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: http://svn.automattic.com/wordpress/trunk@18710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 00:47:23 +00:00
koopersmith
7efa3a5df8
Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:17:09 +00:00
nacin
e5ca4fea40
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: http://svn.automattic.com/wordpress/trunk@18705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:53:59 +00:00
azaozz
80720acfc4
Importers and Install themes thickbox fixes, props helenyhou, see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:39:49 +00:00
azaozz
9601be8055
Add the styling for "drop area" to Media->Add New, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 17:03:34 +00:00
azaozz
4428b4c435
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: http://svn.automattic.com/wordpress/trunk@18702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 03:00:13 +00:00
azaozz
ae2219cd30
Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 02:25:23 +00:00
nacin
2ee655428d
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: http://svn.automattic.com/wordpress/trunk@18700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 22:26:01 +00:00
nacin
b3dfd9e953
is_main_query(). fixes #18677 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 20:46:35 +00:00
dd32
b7080959f6
Use http_build_query in the Core Update check to encode version numbers. Props kurtpayne. Fixes #18051
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 09:14:27 +00:00
koopersmith
053fb714ba
Improve comments item in admin bar. see #18197 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 01:11:52 +00:00
koopersmith
b188bea4c8
Admin bar styles, take 1. Props iammmattthomas, see #18197 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 00:41:04 +00:00
azaozz
f6b2da9388
The rest of add missing var in postbox.js, see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:28:40 +00:00
duck_
c93578bfbe
Fix several CSS syntax errors. Props demetris. Fixes #18640 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 20:41:47 +00:00
westi
34dbc01722
Remove the unimplemented user locale code in the admin bar until we actually implement it for real.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 11:12:37 +00:00
westi
0b4bd67034
Get out quick if we have been passed the ID of the 'logged out' user.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:57:31 +00:00
westi
96b942e891
We don't need to do this if the user isn't logged in.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:56:06 +00:00
westi
a38314000b
Don't try showing these links to non-logged in users either.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:50:55 +00:00
westi
a10f6eba7f
Don't show this menu for users who are not logged in.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:46:12 +00:00
koopersmith
5a7a91af5f
Show correct blogs in the admin bar sites menu. see #18197 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:18:05 +00:00
koopersmith
9229f1f7ed
Improve appearance of Screen Options/Help panels, see #18197 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:10:04 +00:00
koopersmith
834dc9ff5e
Admin bar UX improvements. First pass, see #18197
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
duck_
e085f4f0d6
Remove the non_existent_objects property from WP_Object_Cache. Fixes #16274 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 20:28:06 +00:00
duck_
cda68f14f9
Introduce wp_suspend_cache_addition() to allow reduced memory usage when cache additions aren't useful. Fixes #5389 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 20:23:00 +00:00
nacin
a96e0dff91
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: http://svn.automattic.com/wordpress/trunk@18680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 16:54:59 +00:00
westi
05ea44afea
Remove the accidental commit of the cache avoiding test code in [18677] props vnsavage
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:43:22 +00:00
westi
1b6398d64b
A little bit of whitespace keeps the code readable.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:09:45 +00:00
westi
5405bd3838
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: http://svn.automattic.com/wordpress/trunk@18677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:08:43 +00:00
westi
7fd6ab93c3
Fix Notices in default Widgets when called using the_widget(). Fixes #16761 props mfields and SergeyBiryukov
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 09:41:17 +00:00
azaozz
2605391379
Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 05:30:58 +00:00
azaozz
bff7722dd1
Responsive themes screen, props helenyhou, see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 04:26:26 +00:00
azaozz
c032d9a1ed
Limit max width of .widefat list tables, props helenyhou, see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:08:44 +00:00
azaozz
ee74f3a9a6
Responsive tag and category pages, props saracannon, see #18189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:03:13 +00:00
azaozz
d868f40f99
Revert [18664] and handle any similar cases separately, props SergeyBiryukov, fixes #16810 , fixes #18656
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 20:23:33 +00:00
azaozz
debc12b386
Auto-column switching for the dashboard (js based), see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 07:02:46 +00:00
azaozz
b55485592b
Make DFW content width match exactly the reported width from the theme, props helenyhou, fixes #18138
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 20:03:28 +00:00
nacin
020e620769
Use get_template_part() in get_header(), get_sidebar(), get_footer(). props scribu, see #18331 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 16:17:14 +00:00
azaozz
01d0ae4ad9
Make hide-if-no-js and hide-if-js important, props solarissmoke, fixes #16810
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 02:52:02 +00:00
nacin
feb2ba5831
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: http://svn.automattic.com/wordpress/trunk@18662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 18:53:09 +00:00
nacin
4319712d64
Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 17:52:46 +00:00
azaozz
2404c9cdf0
TinyMCE 3.4.5, fixes #18107
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 20:08:40 +00:00
ryan
5ebcc1d3ea
Improve cron locking. Avoid multiple cron processes looping over the same events. fixes #17462
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 19:59:44 +00:00
nacin
01073d5f3c
Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 17:53:41 +00:00
nacin
c8cdb0cd3d
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: http://svn.automattic.com/wordpress/trunk@18657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 17:49:30 +00:00
azaozz
dc936c54c1
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: http://svn.automattic.com/wordpress/trunk@18656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 20:59:41 +00:00
azaozz
c00346820f
Make check_theme_switched() run an action so this enhancement is available to plugins and themes too, see #17979
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 20:07:15 +00:00
azaozz
b79223097c
Use theme mods instead of transients for storing the previous theme's widgets config, props aaroncampbell, see #17979
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 19:25:20 +00:00
ryan
6e68c7bfd9
Update cache.php phpdoc. Props SergeyBiryukov. fixes #18607
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 17:19:09 +00:00
ryan
23db619491
Don't send page slugs through prepare() to avoid breaking octets in i18n page slugs. Props SergeyBiryukov. see #10249 #166687
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 17:17:17 +00:00
duck_
c8a4ab1b4c
Only add the post format body classes when the post type supports post formats. props ocean90. fixes #18228 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 20:10:42 +00:00
duck_
6841d365e5
Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 19:48:25 +00:00
nacin
12becdf50d
Add a filter to is_multi_author(). props Viper007Bond, fixes #18600 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:53:53 +00:00
nacin
db6765354d
s/robot/robots/. props madjax, fixes #18612 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:45:06 +00:00
ryan
4410168419
Standardize variable names. Consistently use and . fixes #18607
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 21:13:11 +00:00
nacin
f855a18bc1
trailingslashit isn't normally available in ms-files. props davecpage, fixes #18592 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 15:41:57 +00:00
duck_
2f51b9be0d
Fix typos in documentation (wp-includes/[i-z]). See #18560 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:08:15 +00:00
nacin
d6fe2825c9
Force a trailing slash on BLOGUPLOADDIR in ms-files.php. props wonderboymusic, see #18592 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:55:05 +00:00
nacin
a4c18fc053
Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:53:19 +00:00
azaozz
21dc8794bc
Remove unneeded .siblings() from widgets.js, props aaroncampbell, fixes #18582
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:19:36 +00:00
duck_
e4ed63fc6f
Fix typos in documentation (wp-includes/[a-h]). See #18560 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 16:02:41 +00:00
azaozz
d83b14c165
Moves orphaned sidebars to main content area above Inactive Widgets, props aaroncampbell, see #17979
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 03:01:11 +00:00
azaozz
4852c5887f
Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 22:13:55 +00:00
nacin
1fd69ecf36
s/hask/hack/. props scribu, see #16695 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 21:25:42 +00:00
azaozz
41e5e2d81e
More quicktags back-compat, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 20:40:47 +00:00
markjaquith
31a016614d
Cast to array in get_page_by_path() foreach
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-31 06:46:16 +00:00
azaozz
63969dbca7
Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 23:18:18 +00:00
azaozz
7865d5c451
Disable js moving of dashboard postboxes, add all of them in the first column on 'auto', see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 22:29:37 +00:00
azaozz
c5bf0c0903
Fix typo in quicktags.js, props westi, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 17:50:12 +00:00
koopersmith
51fa6f62f2
Switch admin menus to flyouts from dropdowns. First pass, see #18382 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 01:12:26 +00:00
azaozz
81871e05b4
Fix silverlight uploading when not resizing files on the fly, props kurtpayne, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-29 23:59:22 +00:00
azaozz
b9d9d11f4e
Fix styling and quicktags error in press this, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 20:48:05 +00:00
dd32
ef278df299
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: http://svn.automattic.com/wordpress/trunk@18617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 08:42:07 +00:00
dd32
f1ac48873b
Display 'Edit Media' instead of 'Edit Post' for Attachments/Media in the admin bar. Props johnbillion. Fixes #18529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 03:39:06 +00:00
azaozz
6ebdf41b50
Properly reset vars, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-27 16:30:36 +00:00
azaozz
a8df969ac9
Improve quicktags back-compat, add method instance.getButtonElement(id), see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 23:30:01 +00:00
azaozz
07d81969bd
Fix action 'wp_print_footer_scropts' (on the front-end), see #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 20:31:30 +00:00
azaozz
12c6ba5771
Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:33:14 +00:00
azaozz
4e323dd08f
Improve auto column switching for post.php, see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 22:55:39 +00:00
ryan
978a5984b4
Properly handle nested arrays in wp_list_filter(). Props scribu, SergeyBiryukov. fixes #16137
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:50:29 +00:00
ryan
19c3608dcc
Remove unused global. Props ocean90. fixes #18484
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:35:22 +00:00
ryan
14da950982
Don't set the site_name cache on every call to get_current_site_name(). Props mark-k, solarissmoke. fixes #16676
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:29:47 +00:00
ryan
58379895e5
Support fields = slugs in wp_get_object_terms(). Props lancewillett, SergeyBiryukov. fixes #15835
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:49:46 +00:00
ryan
8edc944b01
wp_list_pluck() performance improvement. Props Otto42. fixes #18230
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:22:17 +00:00
ryan
c7e870877c
Use update_blog_details() in wpmu_update_blogs_date(). Props jakub.tyrcha. fixes #18122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:01:49 +00:00
ryan
8edd1656f7
Handle null user ID in the WP_User constructor. Props kawauso. fixes #17894
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:47:35 +00:00
ryan
0f06334e11
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: http://svn.automattic.com/wordpress/trunk@18597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:32:59 +00:00
westi
0c0e2c180f
Whitespace and code layout tidyup.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:59:06 +00:00
westi
de05fd1569
Parse shortcodes in text widgets by default. Fixes #10457 props tmoorewp, sillybean, jamescollins.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:54:48 +00:00
westi
76eb5b8138
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: http://svn.automattic.com/wordpress/trunk@18591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:39:52 +00:00
duck_
c06290958b
Allow update_site_option to add false-y values. Fixes #15497
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 21:12:14 +00:00
duck_
7213d24276
Use get_site_option in add/update_site_option for caching and filtering benefits. fixes #18478
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 20:45:48 +00:00
duck_
56f6f97125
add_site_option should not update existing options, should return a boolean and should only run actions on success. fixes #18422
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 20:24:35 +00:00
nacin
d5cf830175
Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 15:37:38 +00:00
nacin
3ee964c10c
Check for comment existence before checking edit_comment meta cap. props xknown, fixes #18104 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 10:22:34 +00:00
azaozz
18fd646bc3
Auto column switching (post.php only for now), see #18198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 19:41:11 +00:00
ryan
c93728e287
Introduce wp_cache_incr() and wp_cache_decr(). fixes #18494
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 17:39:44 +00:00
azaozz
3d679a03e2
Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 16:44:02 +00:00
azaozz
ba3ad76771
Merged install.css with install-rtl.css (it is used only when installing so it makes sense to be a separate stylesheet), merged farbtastic.css with farbtastic-rtl.css, see #18314
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 15:38:14 +00:00
azaozz
1cdec6ff6e
Merge most admin css files, first run, see #18314
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 03:46:43 +00:00
azaozz
6041cd0410
Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695 , fixes #15911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-20 19:55:51 +00:00
azaozz
35f5d1cefb
Fix the "close tags" button in quicktags, props SergeyBiryukov, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 21:23:31 +00:00
dd32
e91e6de814
Clarify %d is an integer in wpdb documentation. See #18407
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 15:01:35 +00:00
dd32
cb90791f8e
Load all Parent theme stylesheets before Child theme stylesheets in the TinyMCE Editor. props SergeyBiryukov. Fixes #18457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 14:56:34 +00:00
dd32
8c51c16803
Only include extra TinyMCE stylesheets once. props SergeyBiryukov. Fixes #18456
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 14:47:45 +00:00
azaozz
97ff3b4c7a
Fix Press This editors, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 01:14:56 +00:00
nacin
e3117daaa8
Remove old $base/BASE MU check. props mdawaffe, fixes #18479 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 22:27:30 +00:00
duck_
48974fa6e2
add_option() should always return a boolean, see #18422
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 18:17:37 +00:00
duck_
0995987f25
Fix rewrite documentation typo and clarify with "rules array" over "this/the structure". props SergeyBiryukov. see #16687
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 17:57:22 +00:00
nacin
ba5c2141bb
Some more class instantiations. props eko-fr, fixes #18049 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:16:57 +00:00
nacin
51ca772adf
Call _doing_it_wrong() individually in wp_scripts and wp_styles functions. Partially reverts [18556], [18557], removes wp_styles_init(), wp_scripts_init(). fixes #11526 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 21:02:43 +00:00
nacin
e53fe816b2
Instantiate some MS variables as objects before using them. Spaces not tabs for vertical alignment. Remove unnecessary conditional piece. props PeteMall, see #18049 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 17:49:57 +00:00
westi
ec3476720e
Fix html for back link in _default_wp_die_handler. Fixes #18459 props tenpura.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 10:54:48 +00:00
dd32
6fa755e68e
Harden up is_user_logged_in() against empty $current_user instances to prevent PHP Notices on XML-RPC requests. Fixes #18458
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 08:51:36 +00:00
azaozz
7140ac9bf4
Don't call debug_backtrace() in wp_scripts_init() and wp_styles_init(), props dd32, see #11526
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 06:26:41 +00:00
azaozz
e5e90d732b
Add _doing_it_wrong() when a plugin or theme accesses $wp_scripts or $wp_styles too early (also fixes localization), props SergeyBiryukov, fixes #11526
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 05:48:13 +00:00
azaozz
87dff720e9
Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 04:54:51 +00:00
duck_
7abbb42d7e
Replace regex in path_is_absolute() with simpler equality checks. props coffee2code. fixes #17754
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 00:21:56 +00:00
nacin
2bdadbcc52
Break HTML comment up into two lines to prevent phpxref from choking on the rest of functions.php. props trepmal, fixes #18409 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-15 04:51:41 +00:00
westi
35838967a7
Add a general filter to wp_unique_post_slug to allow for full customisation of the uniqueness functionality. Fixes #14111 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 21:00:24 +00:00
nacin
50f5ad2216
Force display_errors to off when WP_DEBUG_DISPLAY == false. Technically a backwards incompatible change - if you want the passthrough to php.ini (which false used to provide) then use WP_DEBUG_DISPLAY === null. see #18391 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 18:59:05 +00:00
nacin
31e6144688
Pedantic whitespace in validate_file().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 06:10:02 +00:00
markjaquith
054b4f8800
bump the db
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-12 02:03:29 +00:00
markjaquith
4a610eaa7b
Eliminate verbose rewrite rules for ambiguous rewrite structures, resulting in massive performance gains. props andy, otto42, duck_. Nice work everyone! see #16687
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-12 01:55:08 +00:00
nacin
3fb35c6739
Remove the old root feed files. Bump the db version so rewrite rules can regenerate. Don't add these files to old_files to leave them on existing installs. fixes #18384 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-12 01:41:23 +00:00
markjaquith
26c33f2341
Whitespace oops
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 23:57:33 +00:00
markjaquith
9de72e9bfd
Direct rdf/rss redirects, to save a double redirect. props westi. see #4967
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 23:45:02 +00:00
markjaquith
7689657c90
Deprecate RSS 0.92 and RDF feeds, and 301 them to the default feed. props johnpbloch. fixes #4967
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 23:30:59 +00:00
westi
e8f9ea22eb
Move the CSS inline to wp_die so that it is always available. Fixes #17975 , props kawauso for the style type update.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 19:06:59 +00:00
nbachiyski
abe8b47351
Explicitly globalize some variables, so that unit tests can run WordPress inside a function. Fixes #17749
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:45:14 +00:00
nbachiyski
688eebdc26
Sync pomo library with the current GlotPress version
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:29:35 +00:00
nacin
90f6899dd1
Use preg_match more efficiently. props solarissmoke, fixes #17287 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:18:18 +00:00
nacin
5372572b3d
Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:17:26 +00:00
nacin
c3c4ced486
Pass old value to update_site_option hooks. props westi, fixes #17974 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 18:59:50 +00:00
azaozz
83c377a8ef
WP_Editor: don't show empty div if no editor-buttons and media-buttons are shown, props ocean90, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-07 17:03:18 +00:00
azaozz
c70ac59b6e
Fix i18n for wp_editor, props SergeyBiryukov, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-07 16:26:31 +00:00
azaozz
d012143326
Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 01:35:02 +00:00
ryan
902cbda424
Handle id back compat in isset magic method. see #15458
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 20:54:08 +00:00
ryan
620f8e83fd
Update @deprecated. Props scribu. see #18333
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 18:44:43 +00:00
ryan
ec4ccf2900
Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 16:57:31 +00:00
ryan
f5a33890bb
Remove first_name and last_name properties. Props scribu. see #15458
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 16:45:11 +00:00
azaozz
042a03f384
Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 04:09:22 +00:00
ryan
ef0ace0bbf
Return true upon success in remove_user_from_blog(). Props eightamrock. fixes #17344
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:36:50 +00:00
ryan
b136c576ed
Grammar fix. Props lukeschlather, markmcwilliams. fixes #17315
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:03:53 +00:00
ryan
8611d30e5e
Handle deprecation of id in __set(). Props scribu. see #15458
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 15:42:38 +00:00
ryan
6c81d023bb
Add magic get/set/isset methods to WP_User to avoid data duplication. Standardize on WP_User::ID. Props scribu. see #15458
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 03:09:27 +00:00
azaozz
6e3e6da9bd
Fix editor icons when no SCRIPT_DEBUG, see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 23:56:21 +00:00
ryan
852627fc48
Use *_metadata_by_mid() API in set_custom_fields(). Handle slashing when checking caps for key. see #18195
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 18:20:15 +00:00
ryan
24d480d088
Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 16:48:37 +00:00
azaozz
f634dd5af4
Editor API enhancement, first run (still needs some work), see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00
azaozz
230fb8f3e3
Refactor Quicktags, props garyc40, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:11:12 +00:00
azaozz
852882df30
Optimize script-loader a bit, see #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 01:54:29 +00:00
azaozz
8ff2bbf4e5
Admin bar: fix the Shortlink menu when using jQuery, see #18299
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-01 23:33:56 +00:00
ryan
cd801aad2d
update_metadata_by_mid() and delete_metadata_by_mid(). Props kovshenin. see #18195
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-01 17:01:54 +00:00
azaozz
f97aaf6ede
Completely remove wp_add_script_data(), props ocean90, see #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 13:59:23 +00:00
azaozz
b3204a0b60
Bring back wp_localize_script(), see #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 09:11:24 +00:00
azaozz
670980920d
Admin bar: use jQuery if loaded to improve UX, fixes #18299
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 22:57:30 +00:00
ryan
d6d3724e78
s/login/log in/. Props johnbillion. fixes #18294
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 21:34:43 +00:00
ryan
6c39a6f769
Better double encoding handling in _wp_special_chars(). Props miqrogroove.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 20:43:45 +00:00
azaozz
34467767ff
Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 19:21:21 +00:00
azaozz
91a8720fff
Pluploader take 1, props jacobwg, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 08:59:35 +00:00
azaozz
23b9d7759a
Introduce WP_Dependencies::get_data() method, change scripts and styles priority to follow the "natural" order in HTML, i.e. the last one wins, props scribu, see #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 18:24:00 +00:00
ryan
d18937d7d9
Removed unused strings in script-loader. Props SergeyBiryukov. fixes #16332
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:35:37 +00:00
nacin
be2717a50f
Fire _deprecated_argument() for get_adjacent_post()'s crazy excluded_categories 'and' thing. fixes #17673 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:30:18 +00:00
ryan
3209c103dc
Support an array or comma-seperated list of excluded category IDs in get_adjacent_post(). Props solarissmoke. fixes #17673
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:19:51 +00:00
ryan
1bea107db4
Remove return by ref from get_role(). Props scribu, elyobo. fixes #18237
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:12:18 +00:00
azaozz
a4d9998ce0
Fix URL in wp-link when editing, props SergeyBiryukov, fixes #18149
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-27 23:02:54 +00:00
ryan
496081f898
phpdoc for all_items and menu_name. Props ocean90. fixes #18036
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 21:31:36 +00:00
ryan
05b3172a32
Allow sorting by id in get_bookmarks(). Props SergeyBiryukov. see #18234 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 21:22:13 +00:00
ryan
55d7366c42
Recognize urls that start with a question mark as relative urls that do not require a scheme to be prepended. fixes #18260
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 19:44:18 +00:00
ryan
c2d37a3d65
Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 18:39:57 +00:00
ryan
3000ee7664
Explain the empty req_uri branch. Props duck_. fixes #17177
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 20:20:07 +00:00
ryan
b1842a700c
Optimize parse_request for the home page. Props duck_. see #17177
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 20:18:07 +00:00
westi
009b264271
Make [18456] more obvious. Fixes #16432 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 13:20:07 +00:00
azaozz
21058cf460
Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 00:36:06 +00:00
nacin
754bebe419
Context for the color scheme strings. props SergeyBiryukov, fixes #18208 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 06:29:14 +00:00
azaozz
5256d7951f
<!DOCTYPE html> for all, fixes #18202
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
ryan
28b241df2b
Empty headers instance var instead of unsetting to avoid warning. Props chrisbliss18. fixes #18157
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:44:35 +00:00
nacin
6185986c0e
Add pre_ent2ncr filter. props GaryJ, fixes #16432 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:41:21 +00:00
ryan
f0fc1f3e48
Strip trailing slashes form WP_HOME and WP_SITEURL. Props xknown. fixes #17898
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:35:23 +00:00
azaozz
49c71bc6db
UI fix for select form elements, props ptahdunbar, fixes #17043
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:15:27 +00:00
ryan
2564e26011
Show admin bar in single site backend by default. Props dimadin. fixes #17899
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 19:41:18 +00:00
ryan
62f427a096
phpdoc typo fixes for functions.php. Props coffee2code. fixes #17752
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 17:48:25 +00:00
azaozz
23f490bb02
Support for using wp_enqueue_script() and wp_enqueue_style() in the HTML body. All scripts and styles are added in the footer, fixes #9346
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 16:32:01 +00:00
ryan
4ad0954961
Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-20 22:04:35 +00:00
nacin
8d7a97abf9
Use login_post context for wp_login_form action. props mdawaffe, see #18137 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-15 23:11:36 +00:00
ryan
2d148f51de
Fix CPT rewrite generation when turning on permalinks. Props andy. see #18040 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-15 15:49:42 +00:00
azaozz
b87d9d50d6
Fix resetting of page number when entering it manually, fixes #18002 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:53:29 +00:00
azaozz
fcc103f0b2
Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:16:09 +00:00
nacin
61afb5def3
Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:03:04 +00:00
nacin
8ead4891b9
A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 18:55:39 +00:00
nacin
bac625849e
Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:50:34 +00:00
nacin
0904773260
Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:36:47 +00:00
nacin
6590faa5ba
Shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:34:15 +00:00
nacin
6a073f6d47
Restore page-template-default body class. props peterwilsoncc, fixes #18018 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:31:57 +00:00
ryan
7697960abe
Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-07 18:03:30 +00:00
nacin
c8e85fcb81
Restore compat for json_decode and json_encode. fixes #18015 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-06 23:33:05 +00:00
westi
67eed31b42
Update the version in trunk. Props MarkJaquith.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-05 10:04:17 +00:00
azaozz
9d23dd8753
Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-05 07:03:26 +00:00