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
Andrew Ozz
41c6f84cd9
Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18579 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 16:44:02 +00:00
Andrew Ozz
4e6957a730
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: https://develop.svn.wordpress.org/trunk@18578 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 15:38:14 +00:00
Andrew Ozz
dde77fd41b
Merge most admin css files, first run, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Ozz
3f921df606
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: https://develop.svn.wordpress.org/trunk@18576 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-20 19:55:51 +00:00
Andrew Ozz
4bff812918
Fix the "close tags" button in quicktags, props SergeyBiryukov, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18575 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 21:23:31 +00:00
Dion Hulse
8fc9270239
Clarify %d is an integer in wpdb documentation. See #18407
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18573 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 15:01:35 +00:00
Dion Hulse
54b87b6531
Load all Parent theme stylesheets before Child theme stylesheets in the TinyMCE Editor. props SergeyBiryukov. Fixes #18457
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18572 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 14:56:34 +00:00
Dion Hulse
67704f12f2
Only include extra TinyMCE stylesheets once. props SergeyBiryukov. Fixes #18456
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18571 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 14:47:45 +00:00
Andrew Ozz
9734668734
Fix Press This editors, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18570 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 01:14:56 +00:00
Andrew Nacin
1881a56cb5
Remove old $base/BASE MU check. props mdawaffe, fixes #18479 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18568 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 22:27:30 +00:00
Jon Cave
ce57212c90
add_option() should always return a boolean, see #18422
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18567 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 18:17:37 +00:00
Jon Cave
f960996aa4
Fix rewrite documentation typo and clarify with "rules array" over "this/the structure". props SergeyBiryukov. see #16687
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18566 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 17:57:22 +00:00
Andrew Nacin
5464b1abc2
Some more class instantiations. props eko-fr, fixes #18049 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18563 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 06:16:57 +00:00
Andrew Nacin
d92c1440ed
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: https://develop.svn.wordpress.org/trunk@18561 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 21:02:43 +00:00
Andrew Nacin
87ec764c57
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: https://develop.svn.wordpress.org/trunk@18560 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 17:49:57 +00:00
Peter Westwood
1b3b0e211c
Fix html for back link in _default_wp_die_handler. Fixes #18459 props tenpura.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18559 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 10:54:48 +00:00
Dion Hulse
395a623c52
Harden up is_user_logged_in() against empty $current_user instances to prevent PHP Notices on XML-RPC requests. Fixes #18458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18558 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 08:51:36 +00:00
Andrew Ozz
e139b9e2a0
Don't call debug_backtrace() in wp_scripts_init() and wp_styles_init(), props dd32, see #11526
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18557 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 06:26:41 +00:00
Andrew Ozz
05515996a7
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: https://develop.svn.wordpress.org/trunk@18556 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 05:48:13 +00:00
Andrew Ozz
f68214a20a
Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18553 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 04:54:51 +00:00
Jon Cave
2498d24c9b
Replace regex in path_is_absolute() with simpler equality checks. props coffee2code. fixes #17754
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18551 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 00:21:56 +00:00
Andrew Nacin
7a67f00494
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: https://develop.svn.wordpress.org/trunk@18548 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-15 04:51:41 +00:00
Peter Westwood
0c6d0349f4
Add a general filter to wp_unique_post_slug to allow for full customisation of the uniqueness functionality. Fixes #14111 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18546 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 21:00:24 +00:00
Andrew Nacin
bde0e2ff31
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: https://develop.svn.wordpress.org/trunk@18545 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 18:59:05 +00:00
Andrew Nacin
242f97f7db
Pedantic whitespace in validate_file().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18543 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 06:10:02 +00:00
Mark Jaquith
4d13f33024
bump the db
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18542 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-12 02:03:29 +00:00
Mark Jaquith
48d294e7ea
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: https://develop.svn.wordpress.org/trunk@18541 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-12 01:55:08 +00:00
Andrew Nacin
c8412b5037
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: https://develop.svn.wordpress.org/trunk@18540 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-12 01:41:23 +00:00
Mark Jaquith
0cfde3f19e
Whitespace oops
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18539 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 23:57:33 +00:00
Mark Jaquith
681494971f
Direct rdf/rss redirects, to save a double redirect. props westi. see #4967
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18538 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 23:45:02 +00:00
Mark Jaquith
47bf346a9f
Deprecate RSS 0.92 and RDF feeds, and 301 them to the default feed. props johnpbloch. fixes #4967
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18537 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 23:30:59 +00:00
Peter Westwood
f55ab7feaa
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: https://develop.svn.wordpress.org/trunk@18534 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 19:06:59 +00:00
Nikolay Bachiyski
13181c96c8
Explicitly globalize some variables, so that unit tests can run WordPress inside a function. Fixes #17749
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18532 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:45:14 +00:00
Nikolay Bachiyski
c273e4949f
Sync pomo library with the current GlotPress version
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18528 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:29:35 +00:00
Andrew Nacin
666b55d3c0
Use preg_match more efficiently. props solarissmoke, fixes #17287 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18524 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:18:18 +00:00
Andrew Nacin
0c5290d9e3
Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18523 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:17:26 +00:00
Andrew Nacin
45bd2b05b8
Pass old value to update_site_option hooks. props westi, fixes #17974 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18521 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 18:59:50 +00:00
Andrew Ozz
4feac2cbde
WP_Editor: don't show empty div if no editor-buttons and media-buttons are shown, props ocean90, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18519 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-07 17:03:18 +00:00
Andrew Ozz
aabac42c0f
Fix i18n for wp_editor, props SergeyBiryukov, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18518 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-07 16:26:31 +00:00
Andrew Ozz
aad319a3ac
Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18516 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 01:35:02 +00:00
Ryan Boren
afe083447f
Handle id back compat in isset magic method. see #15458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18515 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 20:54:08 +00:00
Ryan Boren
f9becd5d16
Update @deprecated. Props scribu. see #18333
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18514 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 18:44:43 +00:00
Ryan Boren
eda7d43e85
Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18513 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 16:57:31 +00:00
Ryan Boren
15507ec835
Remove first_name and last_name properties. Props scribu. see #15458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18512 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 16:45:11 +00:00
Andrew Ozz
6ce85719a7
Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18511 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 04:09:22 +00:00
Ryan Boren
19b936f2a8
Return true upon success in remove_user_from_blog(). Props eightamrock. fixes #17344
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18510 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:36:50 +00:00
Ryan Boren
916cdd6586
Grammar fix. Props lukeschlather, markmcwilliams. fixes #17315
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18507 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:03:53 +00:00
Ryan Boren
35d92b5e1e
Handle deprecation of id in __set(). Props scribu. see #15458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18506 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 15:42:38 +00:00
Ryan Boren
8eea785bcb
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: https://develop.svn.wordpress.org/trunk@18504 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 03:09:27 +00:00
Andrew Ozz
5b4ac17cc5
Fix editor icons when no SCRIPT_DEBUG, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18503 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 23:56:21 +00:00
Ryan Boren
7edcf1b07e
Use *_metadata_by_mid() API in set_custom_fields(). Handle slashing when checking caps for key. see #18195
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18501 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 18:20:15 +00:00
Ryan Boren
dbb0b7c8d6
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: https://develop.svn.wordpress.org/trunk@18500 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 16:48:37 +00:00
Andrew Ozz
461ceba60d
Editor API enhancement, first run (still needs some work), see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz
d5a6cf3dfd
Refactor Quicktags, props garyc40, see #16695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18497 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:11:12 +00:00
Andrew Ozz
27e866dfd1
Optimize script-loader a bit, see #11520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18496 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 01:54:29 +00:00
Andrew Ozz
6ed41b7ed1
Admin bar: fix the Shortlink menu when using jQuery, see #18299
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18495 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-01 23:33:56 +00:00
Ryan Boren
0ac95fd5a6
update_metadata_by_mid() and delete_metadata_by_mid(). Props kovshenin. see #18195
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18494 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-01 17:01:54 +00:00
Andrew Ozz
26c194af80
Completely remove wp_add_script_data(), props ocean90, see #11520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18491 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 13:59:23 +00:00
Andrew Ozz
c641a1d27a
Bring back wp_localize_script(), see #11520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18490 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 09:11:24 +00:00
Andrew Ozz
804284c665
Admin bar: use jQuery if loaded to improve UX, fixes #18299
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18488 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 22:57:30 +00:00
Ryan Boren
668849b388
s/login/log in/. Props johnbillion. fixes #18294
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18486 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 21:34:43 +00:00
Ryan Boren
fe742b417f
Better double encoding handling in _wp_special_chars(). Props miqrogroove.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18485 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 20:43:45 +00:00
Andrew Ozz
57bff0b6d8
Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18484 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 19:21:21 +00:00
Andrew Ozz
12a7d989e0
Pluploader take 1, props jacobwg, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18482 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 08:59:35 +00:00
Andrew Ozz
0191ed92cd
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: https://develop.svn.wordpress.org/trunk@18480 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 18:24:00 +00:00
Ryan Boren
d6f842b4c2
Removed unused strings in script-loader. Props SergeyBiryukov. fixes #16332
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18479 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:35:37 +00:00
Andrew Nacin
d367634aea
Fire _deprecated_argument() for get_adjacent_post()'s crazy excluded_categories 'and' thing. fixes #17673 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18478 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:30:18 +00:00
Ryan Boren
a3b77d3e95
Support an array or comma-seperated list of excluded category IDs in get_adjacent_post(). Props solarissmoke. fixes #17673
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18477 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:19:51 +00:00
Ryan Boren
58d9d5ea5d
Remove return by ref from get_role(). Props scribu, elyobo. fixes #18237
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18476 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:12:18 +00:00
Andrew Ozz
3fff132530
Fix URL in wp-link when editing, props SergeyBiryukov, fixes #18149
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18474 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-27 23:02:54 +00:00
Ryan Boren
431cc66a5f
phpdoc for all_items and menu_name. Props ocean90. fixes #18036
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18472 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:31:36 +00:00
Ryan Boren
1567de3aaf
Allow sorting by id in get_bookmarks(). Props SergeyBiryukov. see #18234 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18470 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:22:13 +00:00
Ryan Boren
4a1c73746f
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: https://develop.svn.wordpress.org/trunk@18469 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 19:44:18 +00:00
Ryan Boren
5d649a9235
Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18468 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 18:39:57 +00:00
Ryan Boren
6395eb9ab6
Explain the empty req_uri branch. Props duck_. fixes #17177
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18467 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 20:20:07 +00:00
Ryan Boren
12b5c9c93e
Optimize parse_request for the home page. Props duck_. see #17177
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18466 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 20:18:07 +00:00
Peter Westwood
fe2dc7c083
Make [18456] more obvious. Fixes #16432 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18465 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 13:20:07 +00:00
Andrew Ozz
06f33f29ba
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: https://develop.svn.wordpress.org/trunk@18464 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 00:36:06 +00:00
Andrew Nacin
685221ec7d
Context for the color scheme strings. props SergeyBiryukov, fixes #18208 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18461 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 06:29:14 +00:00
Andrew Ozz
9bcfc3da39
<!DOCTYPE html> for all, fixes #18202
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Ryan Boren
90ec88ca6e
Empty headers instance var instead of unsetting to avoid warning. Props chrisbliss18. fixes #18157
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18457 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:44:35 +00:00
Andrew Nacin
ac3ab55d1e
Add pre_ent2ncr filter. props GaryJ, fixes #16432 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18456 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:41:21 +00:00
Ryan Boren
6a85dc6dc1
Strip trailing slashes form WP_HOME and WP_SITEURL. Props xknown. fixes #17898
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18454 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:35:23 +00:00
Andrew Ozz
ebbf92afc1
UI fix for select form elements, props ptahdunbar, fixes #17043
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18453 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:15:27 +00:00
Ryan Boren
0689b1b8a0
Show admin bar in single site backend by default. Props dimadin. fixes #17899
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18451 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 19:41:18 +00:00
Ryan Boren
985e2affd1
phpdoc typo fixes for functions.php. Props coffee2code. fixes #17752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18448 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 17:48:25 +00:00
Andrew Ozz
c1779932f1
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: https://develop.svn.wordpress.org/trunk@18446 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 16:32:01 +00:00
Ryan Boren
6b5d8397b0
Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18445 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-20 22:04:35 +00:00
Andrew Nacin
14853ed87e
Use login_post context for wp_login_form action. props mdawaffe, see #18137 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18444 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 23:11:36 +00:00
Ryan Boren
f39604511e
Fix CPT rewrite generation when turning on permalinks. Props andy. see #18040 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18443 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 15:49:42 +00:00
Andrew Ozz
36144f6484
Fix resetting of page number when entering it manually, fixes #18002 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18436 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 21:53:29 +00:00
Andrew Ozz
4a2626dd4c
Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18428 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 19:16:09 +00:00
Andrew Nacin
bb7c1ac6d7
Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18426 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 19:03:04 +00:00
Andrew Nacin
486b75c370
A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18424 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 18:55:39 +00:00
Andrew Nacin
cfcb6d0ecc
Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18420 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:50:34 +00:00
Andrew Nacin
d81744097b
Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18416 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:36:47 +00:00
Andrew Nacin
f733b63c93
Shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18414 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:34:15 +00:00
Andrew Nacin
57b3d031a7
Restore page-template-default body class. props peterwilsoncc, fixes #18018 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18412 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:31:57 +00:00
Ryan Boren
f8c336ca41
Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18406 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-07 18:03:30 +00:00
Andrew Nacin
c8947a4f44
Restore compat for json_decode and json_encode. fixes #18015 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18404 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-06 23:33:05 +00:00
Peter Westwood
e9dc68fc4d
Update the version in trunk. Props MarkJaquith.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18400 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-05 10:04:17 +00:00
Andrew Ozz
576466e544
Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18399 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-05 07:03:26 +00:00
Ryan Boren
4e3b568f1b
Bump, 3.2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18395 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-04 20:19:42 +00:00
Andrew Nacin
14b1a150b3
Bump core/version-check endpoint. see #17759 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18392 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-04 12:42:19 +00:00
Andrew Nacin
cf643efb45
Bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18391 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-03 18:22:01 +00:00
Andrew Ozz
bb5f063809
Revert overriding the font color for the editor textarea in [18102], as it is a regression, fixes #17971
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18390 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-03 18:15:04 +00:00
Ryan Boren
e9bfcfbbff
Bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18387 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 22:02:58 +00:00
Andrew Ozz
1d8d8bffc9
Change shadow on menu "notification" badge, props shakenstirred, nacin, fixes #17941
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18381 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 19:46:00 +00:00
Andrew Ozz
dc77ebee3a
Fix DFW autoresizing in WebKit when zoom != 100%, fixes #17927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18379 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 07:33:08 +00:00
Ryan Boren
112a6319cf
Bump, RC3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18376 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 18:20:22 +00:00
Andrew Nacin
b40bdc3928
Mark a few files as needing to be parsable by PHP4 in order to show the proper error messages. Non-exhaustive. see #17934 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18375 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:50:07 +00:00
Andrew Nacin
85d77664fb
wp_check_php_mysql_versions() during setup and install. see #17934 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18374 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:46:46 +00:00
Andrew Ozz
131af255ff
Add the new TinyMCE icons to two more buttons, fixes #17925
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18373 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:10:57 +00:00
Ryan Boren
17fc1c2471
Bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18371 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:49:55 +00:00
Ryan Boren
acc022ea36
Unset filter when inserting/updating posts. For trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18367 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:46:18 +00:00
Andrew Ozz
520081cec7
User Profile JS cleanup, props dd32, fixes #17910 for 3.2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18364 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 16:17:49 +00:00
Dion Hulse
100f17c96d
Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18362 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 06:47:34 +00:00
Ryan Boren
f0fc6bd2f3
Bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18358 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 21:42:08 +00:00
Andrew Ozz
8649cfa2e9
Fix phpdoc for register_post_status(), props aaroncampbell, fixes #17900
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18352 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 21:22:31 +00:00
Ryan Boren
cdd05b3c9f
Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18350 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:47:04 +00:00
Andrew Ozz
c2c5456fd1
Fix unfolding of the admin menu when no JS, fixes #17897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18349 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:40:04 +00:00
Andrew Ozz
5bdde5667e
Fix text color in the browser nag when no JS, props duck_, fixes #17889
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18347 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 19:35:26 +00:00
Ryan Boren
091ec81919
Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18346 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:56:42 +00:00
Ryan Boren
7a9c81cdb1
Sanitize order and orderby in get_bookmarks()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18345 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:46:11 +00:00
Ryan Boren
bb7af108f5
Sanitize order and orderby in get_terms()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18344 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:45:12 +00:00
Ryan Boren
c3a151dcd5
RC2 bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18341 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 21:58:36 +00:00
Ryan Boren
fec6f56351
Fix display of color icon for menus that don't have submenus. Props duck_. fixes #17881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18340 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 21:49:22 +00:00
Ryan Boren
8be45e1409
Avoid PHP 4 parse error prior to version checks. Props dd32. see #17880
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18339 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 21:32:40 +00:00
Ryan Boren
5068db5bb8
Add menu id for admin-bar's dashboard and view-site link. Props szadok. fixes #17873
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18333 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 20:05:43 +00:00
Ryan Boren
ba11fe1ed2
Added padding for 'Storage Space' in RTL. Props rasheed, yoavf. fixes #17871
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18332 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 19:57:21 +00:00
Ryan Boren
bb75e13b17
Don't attempt old slug redirect for multi-post_type queries. Props aaroncampbell. see #16949
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18330 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 16:35:34 +00:00
Ryan Boren
35ebb06f22
Admin bar rtl fixes. Props johnjamesjacoby. fixes #17854
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18329 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 21:14:36 +00:00
Ryan Boren
a0ae9633d4
Fix handing of super admins that don't have a blog in get_dashboard_url() and login. Props nacin. fixes #17829
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18328 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:45:28 +00:00
Ryan Boren
6ca6c82d2b
Fix notice in wp_tag_cloud. Props greuben. fixes #17213
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18326 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:37:05 +00:00
Ryan Boren
b1e314fbf7
Add theme support option for turning on random default headers. fixes #17832
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18325 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:09:23 +00:00
Ryan Boren
80640b5e25
Allow plus '+' character when sanitizing mime type. Props cyberhobo. fixes #17855
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18324 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-20 20:05:57 +00:00
Peter Westwood
41d548231e
Ensure we have a valid timezone identifier before trying to use it.
...
Validate the new timezone identifier during option update.
Fixes #17840 .
git-svn-id: https://develop.svn.wordpress.org/trunk@18323 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-20 14:58:50 +00:00
Dion Hulse
e1af5b5cb2
Twenty Eleven trumps it's pretenders. Fixes #17841
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18322 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-20 03:07:24 +00:00
Andrew Nacin
6a82127a91
Remove undiscussed FIXME from add_option. fixes #16813 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18321 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-19 21:37:47 +00:00
Andrew Nacin
087ad68a23
Move the sekrit full screen editor width shortcut keys below the common bold/italic/etc keys on the editor keyboard shortcuts help tab. No strings were harmed in the making of this commit.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18316 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-16 10:28:29 +00:00
Dion Hulse
aa8edae1a1
Bump the CSS versions for RTL changes. See #17790 #17791 #17796 & #17799
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18311 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 14:00:57 +00:00
Ryan Boren
78575ecabf
The dance is your chance to do the bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18306 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 02:29:58 +00:00
Andrew Ozz
3ff031ae87
Make sure the browser nag in shown first on the dashboard no matter what! See #17323
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18295 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 00:24:47 +00:00
Andrew Nacin
2a4706af64
Avoid _deprecated_function() in wp_clone(). An object cache gets loaded before i18n functions exist. Maybe a better solution in 3.3. see #17206 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18293 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 20:36:47 +00:00
Andrew Nacin
a3e602baec
Login is not a verb. props dcowgill, fixes #17770 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18289 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 08:00:22 +00:00
Andrew Nacin
e59cd1d706
'Dashboard' should be to the right of 'My Sites' for visual hierarchy reasons. see #17705 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18284 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 02:47:02 +00:00
Andrew Ozz
01cf7a93ba
Press This RTL css fixes, props ocean90, fixes #17757
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18282 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 21:17:34 +00:00
Andrew Nacin
89590d3872
Remove my debug cruft. No, you're not looking in a mirror. props dcowgill, fixes #17769 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18280 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 20:32:39 +00:00
Andrew Nacin
1914c5464e
UI refresh for Press This. props koopersmith, see #17757 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18279 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 19:37:23 +00:00
Andrew Nacin
54caf260f6
Fix display of browser nag, use lowercase hex values, move identical styles out of colors-* and into dashboard.css. props duck_, fixes #17765 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18278 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 19:32:19 +00:00
Ryan Boren
7d7509eabd
Improvements to invalid menu item handling. Props ocean90. fixes #13958
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18277 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 15:52:15 +00:00
Ryan Boren
feaf2597bf
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18276 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 15:44:06 +00:00
Andrew Nacin
a657a1986c
@since s/3.2/3.2.0/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18268 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 04:40:18 +00:00
Andrew Nacin
240e0f44d6
Introduce name_admin_bar label and the show_in_admin_bar (Add New menu) argument for post types. Allows for proper translations of these strings and provides for consolidated logic. fixes #16406 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18261 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 02:20:18 +00:00
Andrew Nacin
c24e4daf5a
Mark menu items tied to invalid taxonomies and post types as invalid. props ocean90, see #13958 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18260 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 00:55:48 +00:00
Daryl Koopersmith
76a8b918db
The Lightening, Part 2: Return of the Luminous Hex Codes. Make the admin styles a bit brighter. see #17324 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18258 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:47:28 +00:00
Ryan Boren
46d96c7704
Bring out the pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:45 +00:00
Andrew Ozz
e3a1054bef
Add context to _e('Name'), props valentinas, fixes #16531
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18247 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:13:26 +00:00
Andrew Ozz
48951ad388
DFW: show the toolbar only when the mouse is near the top of the window, see #17503
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18241 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 21:08:49 +00:00
Daryl Koopersmith
76ddc16e4a
Improve contrast on login screen by darkening shadow. Props iammattthomas. see #17324 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18238 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 19:48:25 +00:00
Andrew Ozz
44ade04f5b
Fix pagination when searching or filtering, props solarissmoke, koopersmith, fixes #17685
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18237 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 19:33:45 +00:00
Daryl Koopersmith
98084cd724
The Lightening, Part One: Lighten tabs UI on new post and menus screens. see #17324 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18236 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 19:10:40 +00:00
Mark Jaquith
2aea6faf97
Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18234 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 17:02:03 +00:00
Ryan Boren
740272025b
Disambiguation for Add New links in admin bar. Props nacin. see #16406
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18233 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 16:43:48 +00:00
Andrew Ozz
810a349ea8
H2 font weight = normal as Helvetica Neue Light doesn't scale well for lighter setting, props dd32, fixes #17743
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18230 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 16:24:10 +00:00
Andrew Nacin
e304611748
Extra check for partial updates: Make sure the API response matches the current version of WP. see #10611 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18227 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 06:22:33 +00:00
Andrew Nacin
c6876acffa
Bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18226 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 05:50:23 +00:00
Andrew Nacin
b2c50ddc56
Core support for partial updates. see #10611 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18225 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 05:47:44 +00:00
Daryl Koopersmith
832e86d2e1
Refresh login form styles to match admin style refresh. Props iammattthomas. see #17324 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18223 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 02:37:37 +00:00
Andrew Ozz
fc4915fb0f
Do not run bulk edit when the user clicks on a filter, fixes #17733
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18222 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 00:01:16 +00:00
Daryl Koopersmith
1acc61df32
Darken h2 subtitles on post pages to improve readability. see #17634 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18221 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 21:55:39 +00:00
Andrew Nacin
68308f3735
PHPdoc fixes. props trepmal. fixes #17734 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18220 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 21:47:28 +00:00
Peter Westwood
182b1bdb51
Only show the Dashboard link if you are logged in. See #17705 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18213 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 11:16:07 +00:00
Peter Westwood
29a53e3eb0
Only show Comments are Closed when they are supported.
...
Tidy up the logic to be clearer.
Mark attachements as supporting comments.
Fixes #17568 props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@18211 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 11:12:39 +00:00