Andrew Ozz
99868b2742
Always hide the admin menu arrow in IE8 (doesn't work there), props casben79, SergeyBiryukov, fixes #19586
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20633 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 20:55:56 +00:00
Andrew Nacin
c072db3732
Clean up the XML-RPC 3.4 methods with regards to consistency and future compatibility.
...
* Limit returned taxonomy and post type objects to a specific type-cast whitelist of fields.
* Add $filter and $fields to wp.getTaxonomies to match the functionality of wp.getPostTypes.
* Prevent the post type from being chnaged in _insert_post().
* Don't check post_type_supports() in _insert_post().
* Align handling of sticky posts with those of core.
* Force tags and categories to go through terms and terms_names, rather than tags_input and post_category.
fixes #20566 . props nacin, maxcutler.
git-svn-id: https://develop.svn.wordpress.org/trunk@20632 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 18:48:10 +00:00
Andrew Nacin
82ceeca5de
After adding a user, take them back to users.php with an 'Edit user' link in the message.
...
This removes the (possibly ineffective) search from the redirect, as well as the URL hash that will get covered up by the toolbar.
fixes #19470 . props merty and SergeyBiryukov for initial patches.
git-svn-id: https://develop.svn.wordpress.org/trunk@20631 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 23:13:39 +00:00
Andrew Nacin
1c9dcbeb0b
Clean up messages on edit.php. see #19470 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20630 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 22:54:02 +00:00
bumpbot
caeec90610
Compress scripts/styles: 3.4-beta3-20629.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20629 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 20:58:24 +00:00
Andrew Ozz
29e2ec2ac5
Widgets: remove the widget title shown in the widget header when empty or doesn't exist, part props kawauso, fixes #19925
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20628 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 20:34:35 +00:00
bumpbot
001e92a1f2
Compress scripts/styles: 3.4-beta3-20627.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20627 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:58:23 +00:00
Andrew Ozz
2637447a05
Put back "max-width: 100%" for all <select> in the admin. Doesn't seem to work for IE7 but doesn't seem to break anything either. Props Master Jake, fixes #19613
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20626 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:52:13 +00:00
Andrew Nacin
e3e988bf58
Add a max of 999 to the screen options items per page input. props georgestephanis. fixes #20420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20625 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:46:33 +00:00
Andrew Nacin
b32a2a4f01
Remove img width/height from the readme.html WP logo. props soulseekah. fixes #19955 . see #20293 for any follow-ups.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20624 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:39:35 +00:00
Jon Cave
858ba1fabd
Check that $post_type_object exists before accessing its properties. Props markoheijnen. Fixes #20064 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20623 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:32:32 +00:00
Andrew Nacin
a49867ae66
Don't call get_the_category() in get_the_category_list() unless the post type supports categories. props niallkennedy. fixes #19671 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20622 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:23:57 +00:00
Andrew Nacin
d8e2eb8943
Do not break a domain on network/site-new.php across two lines. props SergeyBiryukov, fixes #19895 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20621 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:02:10 +00:00
bumpbot
7f0d1f1a6b
Compress scripts/styles: 3.4-beta3-20620.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20620 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:58:22 +00:00
Andrew Nacin
27f74ce583
Check if update_core() exists before calling it in Core_Upgrader. If not, issue an error message that the copy failed likely due to disk space. fixes #19883 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20619 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:57:59 +00:00
Andrew Nacin
5b0664dde5
Int cast a step variable. see #19786 . props Caspie.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20618 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:57:08 +00:00
Andrew Nacin
75bd431c76
Force the plugin details to be LTR for all screens. props dd32. fixes #19778 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20617 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:52:58 +00:00
Andrew Nacin
efd16eb622
Wrap text in the theme filter, rather than using a min-width. Makes things look a little better in languages with long words and phrases. props SergeyBirukov, fixes #18131 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20616 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:22:47 +00:00
Andrew Nacin
c6689953bb
Add 'author' to rel attribute for get_the_author_link(). props sirzooro, CoenJacobs, Ipstenu. fixes #20047 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20615 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:17:41 +00:00
Andrew Nacin
8f0e83ffdc
Add a 200ms delay when dragging a meta box on mobile devices, to prevent inadvertently dragging meta boxes around on a touch screen.
...
props helenyhou, georgestephanis. fixes #20557 .
git-svn-id: https://develop.svn.wordpress.org/trunk@20614 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:05:43 +00:00
Andrew Nacin
5f902262d1
Return false in get_attached_file() when the file does not exist, rather than a path to the base uploads directory. props mikeschinkel. fixes #18855 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20613 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 16:08:58 +00:00
Andrew Nacin
07fce717e7
Use maybe_serialize() where appropriate. fixes #19617 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20612 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 15:57:51 +00:00
Andrew Nacin
ef79a85f78
Run rawurlencode_deep() through the parsed query in canonical. (Introduces rawurlencode_deep().) props toppa for the initial patch. fixes #20143 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20611 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 15:40:00 +00:00
Andrew Nacin
98f553c3b2
Deprecate require_if_theme_supports(). Always require post-thumbnail-template.php. fixes #20556 . fixes #20409 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20610 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 04:54:36 +00:00
Andrew Nacin
4fa4a3339e
Make the Recent Comments dashboard widget more performant on sites with large amounts of comments, in particular with a heavy spam ratio.
...
Simplifies the query by avoiding a join, and leverages the API now rather than a direct query.
fixes #14222 .
git-svn-id: https://develop.svn.wordpress.org/trunk@20609 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 21:09:51 +00:00
Ryan Boren
9250cf00d4
XML-RPC featured image and media preparation cleanup.
...
* Introduce _prepare_media_item().
* Use it to prepare post_thumbnail info in _prepare_post().
* Also use _prepare_media_item() in wp_getMediaLibrary() and wp_getMediaItem() so that all media is prepared consistently and uses the same filters.
Props maxcutler
Fixes #20409
git-svn-id: https://develop.svn.wordpress.org/trunk@20608 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 20:56:52 +00:00
Andrew Nacin
5d550a9e59
Remove duplicated do_action wp.getPosts call. props maxcutler.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20607 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 16:28:06 +00:00
Andrew Nacin
4ef14acef3
Re-pin to Akismet 2.5.6 tag. props josephscott. fixes #20550 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20606 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 04:59:14 +00:00
Andrew Nacin
eb4dd3e15f
Add line breaks before most form field descriptions (the italicized gray text on General Settings and other screens). props johnbillion, helenyhou, fixes #17390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20605 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 00:58:16 +00:00
Andrew Nacin
c38e6d3603
Remove extra underscore from four XML-RPC filters. props maxcutler. fixes #20549 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20604 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 22:28:43 +00:00
bumpbot
b75a2d8d3d
Compress scripts/styles: 3.4-beta3-20603.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20603 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:58:24 +00:00
Andrew Nacin
3cd8e8300f
Update jQuery imgAreaSelect plugin to 0.9.8. props ocean90. fixes #19881 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20602 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:49:57 +00:00
Andrew Nacin
c1dbe37e51
Bail from wp-langs.php if we don't already have a WordPress environment. fixes #20119 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20601 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:40:20 +00:00
Andrew Nacin
60e9ca67ec
Initialize the WP_Customize class in a prefixed global. props mattonomics. fixes #20465 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20600 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:30:02 +00:00
Andrew Nacin
9cd594ef4f
Remove touch-punch.dev.js, as .js is appropriate for an external, unmodified script. see #20014 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20599 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:17:55 +00:00
Daryl Koopersmith
092d648b8a
Theme Customizer: Add statuses to the color and image controls. see #19910 .
...
Move the color control from the switch statement to WP_Customize_Color_Control.
Markup improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@20598 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:03:29 +00:00
Andrew Nacin
a14e7a1e8f
Move to pixels to avoid off-by-one rendering in Chrome. props trepmal. fixes #20402 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20597 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:56:26 +00:00
Andrew Nacin
b75eefda56
Remove wp-register.php.
...
* Don't remove it on update. If you have it now, you'll keep it. New installs won't get it.
* Peform a redirect using rewrite + canonical to the new location, if the file doesn't exist.
props SergeyBiryukov.
fixes #18544 .
git-svn-id: https://develop.svn.wordpress.org/trunk@20596 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:49:57 +00:00
Ryan Boren
577286e19d
Always show search-results or search-no-results for searches, even archive searches. Props johnbillion. fixes #20435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20595 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:38:40 +00:00
Ryan Boren
91edc71696
Pass the upload iframe src url as an arg to sprintf to avoid treating octets as
...
format specifiers. Fixes setting the featured image on blogs containing spaces in the install path. Props rosshanney. fixes #20443
git-svn-id: https://develop.svn.wordpress.org/trunk@20594 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:24:20 +00:00
Andrew Nacin
af4b4bb752
Remove monospace from TinyMCE caption/alignment image edit popup. see #18311 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20593 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 19:54:04 +00:00
Andrew Nacin
cfe73da905
Reduce clutter and repetive functionality from the initial landing page for installing plugins and themes by removing the tag/author/term dropdown.
...
The tag cloud (plugins) and feature filter (themes) is sufficient for tag functionality. All three "search by" fields are already weighted for a standard keyword search through the WP.org API.
fixes #19619 for 3.4.
git-svn-id: https://develop.svn.wordpress.org/trunk@20592 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 19:37:19 +00:00
Andrew Ozz
de55e6200e
Fix typo in a comment, props SergeyBiryukov, fixes #20506
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20591 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:49:48 +00:00
Andrew Nacin
fca5a81af2
Remove support from WP_Theme for multiple screenshots until we bring it to the UI. fixes #20546 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20590 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:40:43 +00:00
Andrew Nacin
b7101b038f
Remove WP_Theme::is_child_theme() in favor of WP_Theme::parent(). see #20546 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20589 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:34:19 +00:00
Andrew Nacin
ac64d57b03
Make WP_Theme::get_files() a general method for retrieving any file types, at any depth, optionally to include parent files. see #20546 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20588 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:31:39 +00:00
bumpbot
46a0b56c82
Compress scripts/styles: 3.4-beta3-20587.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20587 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 16:58:21 +00:00
Andrew Nacin
1b233e27af
Documentation and visibility cleanups in WP_Theme.
...
* Declare `__toString()` as public.
* Use parent() and error() internally, rather than the properties.
* Add and correct inline documentation throughout.
* Attempt to clarify that display() is superior to get().
see #20546 , see #20103 .
git-svn-id: https://develop.svn.wordpress.org/trunk@20586 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 16:37:49 +00:00
Daryl Koopersmith
dfd80ddc57
Theme Customizer: For clarity, wp.customize.Setting.method to wp.customize.Setting.transport. Add WP_Customize_Setting->transport to allow setting the transport method via PHP. see #19910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20585 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 16:04:51 +00:00
Daryl Koopersmith
9c6a0682cc
Theme Customizer: Preview the target theme during save to ensure all settings are properly registered. Temporarily revert to the active theme when running switch_theme. fixes #20508 , see #19910 .
...
Introduces WP_Customize->start_previewing_theme() and WP_Customize->stop_previewing_theme() to easily enable/disable the theme filters as needed.
git-svn-id: https://develop.svn.wordpress.org/trunk@20584 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 15:44:06 +00:00