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
Andrew Nacin
e984d8503b
Fix issue where post locks were not updating on autosaves. props benbalter, fixes #18642 . see #18515 for more on locking. broken in [12991], see #11889 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18709 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 23:23:39 +00:00
Andrew Nacin
29fca1ba49
Don't burden translators with a few strings we'll be changing.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18708 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:45: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
be4c3e1d86
Use get_post_class() in the posts list table. props brandondove, fixes #18516 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18706 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:11:28 +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
Jon Cave
73744eb96c
Don't obliterate $title if $desc isn't set. Props kawauso. Fixes #18185 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18698 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 18:27:32 +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
Andrew Ozz
a5b0615476
Add missing var in postbox.js, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18693 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 23:26:42 +00:00
Jon Cave
8a96846c8d
Fix undefined index "subdomain_install" in wp-admin/network.php. Props cyberhobo, SergeyBiryukov. Fixes #17697 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18692 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 21:20:43 +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
Peter Westwood
234c53c0c1
Reorder the titles in the Network Admin and Global Dashboard to put the locations first. Fixes #18304 props duck_
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18675 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 09:26:07 +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
8cdb767ee5
Put back float: left for postbox containers, fixes #18665
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18672 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 02:55:31 +00:00
Andrew Ozz
46ace1acb8
Remove max-width for .widefat, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18671 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 00:50:35 +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