Commit Graph

11816 Commits

Author SHA1 Message Date
Andrew Nacin
daef59322c Modify a few jQuery selectors to prevent overflows and lagging. Todo, rewrite wp-lists and improve all of these selectors.
props SergeyBiryukov. fixes #21106 for trunk. see #21152.



git-svn-id: http://core.svn.wordpress.org/trunk@21737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:27:14 +00:00
Andrew Nacin
d31f7b3793 Restore global references that broke the media and comment list tables. Todo, make list tables rely far less on global state. see #21309.
git-svn-id: http://core.svn.wordpress.org/trunk@21736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 18:23:51 +00:00
Ryan Boren
cfb35a9d85 Use get_post() instead of global $post.
Make the $post argument to get_post() optional, defaulting to the current post in The Loop.

Props nacin
see #21309


git-svn-id: http://core.svn.wordpress.org/trunk@21735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 16:29:28 +00:00
Andrew Nacin
b1dcde1798 setup-config.php must be parseable by PHP4 so we can show a sane error message. wp-admin/index.php should ideally be as well. props SergeyBiryukov, see #21316.
git-svn-id: http://core.svn.wordpress.org/trunk@21716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 02:46:01 +00:00
Andrew Nacin
c97452d955 Don't include functions.php in wp_load_translations_early()
to avoid a parse error in a PHP4 environment (caused by use of
the clone keyword in option.php).

Manually include functions.php in the rare situations where it
is not already included by the time we need to load translations
early.

Remove the functions.php dependency by switching the wp_die() calls
to die(), in wp_check_php_mysql_versions().

props SergeyBiryukov, see #21316, for trunk.




git-svn-id: http://core.svn.wordpress.org/trunk@21715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 02:38:37 +00:00
Andrew Nacin
3cd8b94ba1 Fix placeholders in 'Welcome to WordPress' successful update messages. props SergeyBiryukov. see #21511.
git-svn-id: http://core.svn.wordpress.org/trunk@21703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 21:57:53 +00:00
Andrew Nacin
b3cd5dacb1 Don't call self_admin_url() or esc_url() when declaring that WordPress updated successfully, as they may not exist in the current (just updated) version.
props SergeyBiryukov.
see #21511.
for trunk.



git-svn-id: http://core.svn.wordpress.org/trunk@21702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 21:56:12 +00:00
Andrew Nacin
55e3541896 Only show network-only plugins in the network admin. props SergeyBiryukov. see #21187, for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 19:42:31 +00:00
Bot (Assets)
95de46bf19 Compress scripts/styles: 3.5-alpha-21698.
git-svn-id: http://core.svn.wordpress.org/trunk@21698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 15:59:27 +00:00
Andrew Nacin
51fc60634a Load the meta box sortables JS on the Edit Comment screen. props SergeyBiryukov. fixes #21499.
git-svn-id: http://core.svn.wordpress.org/trunk@21697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 15:39:06 +00:00
Andrew Nacin
b2553f0cb9 Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies. props SergeyBiryukov. fixes #21777.
git-svn-id: http://core.svn.wordpress.org/trunk@21696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 15:35:22 +00:00
Bot (Assets)
9bd2e882ee Compress scripts/styles: 3.5-alpha-21690.
git-svn-id: http://core.svn.wordpress.org/trunk@21690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 18:59:24 +00:00
Mark Jaquith
77563d1614 Fix the adding of link categories through the "Add Link" screen. props yoavf. fixes #21590 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 18:20:28 +00:00
Ryan Boren
f0c8b8d0e7 Introduce WP_Screen::in_admin() for determining which admin the screen is in.
Change is_*_admin() to reference in_admin() with fallback to the WP_*_ADMIN constants during early bootstrap. This allows unit tests and ajax handlers to set the admin context.

fixes #21742


git-svn-id: http://core.svn.wordpress.org/trunk@21687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 17:16:46 +00:00
Daryl Koopersmith
c217397faa Add new media workflow scripts, styles, and templates.
Please note that this commit does not integrate media into the existing UI. If you would like to see the new UI, navigate to the post editor and run the following in your browser's Javascript console:

	new wp.media.controller.Workflow().render().modal.open();


The Javascript is broken up into two files, with the slugs media-models and media-views.

* media-models: The models are UI agnostic, and can be used independent of the views. If you'd like to create custom UIs, this is the script for you.

* media-views: This is the Media Experience. The views (and controllers) depend on the models (which are listed as a dependency and will automatically be included thanks to wp_enqueue_script). The views also require the media templates, media-view styles, and the plupload bridge settings. Perhaps we should create a function to include the whole shebang, but in the meantime...

To include media-views in the admin, run the following PHP in or after 'admin_enqueue_scripts':

	wp_enqueue_script( 'media-views' );
	wp_enqueue_style( 'media-views' );
	wp_plupload_default_settings();
	add_action( 'admin_footer', 'wp_print_media_templates' );

see #21390.



git-svn-id: http://core.svn.wordpress.org/trunk@21683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 04:54:23 +00:00
Daryl Koopersmith
a54da100ce Fix a misnamed variable, which caused the query-attachments ajax handler to ignore all input. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@21682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 04:32:25 +00:00
Andrew Nacin
75052955cc Add get-attachment and query-attachments Ajax handlers. props koopersmith. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@21681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 02:58:51 +00:00
Bot (Assets)
59d7efa87b Compress scripts/styles: 3.5-alpha-21673.
git-svn-id: http://core.svn.wordpress.org/trunk@21673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 18:59:30 +00:00
Andrew Ozz
a2580a80d1 Fix min row height in .widefat, see #21324
git-svn-id: http://core.svn.wordpress.org/trunk@21671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 18:47:22 +00:00
Ryan Boren
c55cf716da Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759
git-svn-id: http://core.svn.wordpress.org/trunk@21664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 13:33:00 +00:00
Bot (Assets)
e0835b5fc4 Compress scripts/styles: 3.5-alpha-21663.
git-svn-id: http://core.svn.wordpress.org/trunk@21663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 04:09:57 +00:00
Andrew Nacin
9a07332682 Update old files array:
* Remove old names for jQuery UI Effects files. see #21736.
 * Remove un-minified version of Jcrop and jQuery Color. see #21692, #20728.
 * Remove .dev.css and .dev.js. see #21633.



git-svn-id: http://core.svn.wordpress.org/trunk@21660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 02:35:30 +00:00
Andrew Nacin
3331a345bc Update some code comments from .dev.js to .js. props georgestephanis. see #21633.
git-svn-id: http://core.svn.wordpress.org/trunk@21659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 02:15:57 +00:00
Andrew Nacin
f7cff2fd4d Remove reference to blog_charset option in Settings > Reading help. fixes #21507.
git-svn-id: http://core.svn.wordpress.org/trunk@21653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-29 05:50:10 +00:00
Ryan Boren
52b3f498e6 Add tags_input, page_template, and post_category get magic to WP_Post.
Deprecate get_post_to_edit() and wp_get_single_post().
Props scribu
see #21309


git-svn-id: http://core.svn.wordpress.org/trunk@21651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 19:08:28 +00:00
Andrew Nacin
bdec91100c Remove paths to where theme files are located from theme details on themes.php. props lessbloat, see #17944.
git-svn-id: http://core.svn.wordpress.org/trunk@21650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 18:48:50 +00:00
Ryan Boren
9267d41910 Initialize to avoid 'Creating default object from empty value' warning in PHP 5.4.4.
git-svn-id: http://core.svn.wordpress.org/trunk@21647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 18:03:12 +00:00
Andrew Nacin
e5848ee150 Set jQuery Color to be a dependency for wp-lists, rather than enqueueing it everywhere.
Any plugin wishing to use jQuery color animations must set jquery-color as a dependency
(or enqueue it).

Remove the un-minified version of jQuery Color.

props scribu.
fixes #21692.



git-svn-id: http://core.svn.wordpress.org/trunk@21646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:51:35 +00:00
Andrew Ozz
3980c183a1 More visible :focus style for form elements, props lessbloat, see #21324
git-svn-id: http://core.svn.wordpress.org/trunk@21641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 05:48:58 +00:00
Andrew Ozz
b2e4e665be Fix admin menu glitch with pending count bubbles, props SergeyBiryukov, fixes #20502
git-svn-id: http://core.svn.wordpress.org/trunk@21631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 22:39:01 +00:00
Andrew Nacin
7de27aaab7 Clean attachment cache after a manual update, not before. props mdawaffe. fixes #20786.
git-svn-id: http://core.svn.wordpress.org/trunk@21605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 15:32:23 +00:00
Andrew Nacin
770ee9720a Add new 'flexible-header' tag for themes. Add it to Twenty Ten and Twenty Eleven. [21533] added it for Twenty Twelve.
props lancewillett. fixes #21065.



git-svn-id: http://core.svn.wordpress.org/trunk@21604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 15:22:14 +00:00
Ryan Boren
18a1783423 Update phpdoc for functions that return WP_Post. Soft deprecate get_page(). see #21309
git-svn-id: http://core.svn.wordpress.org/trunk@21598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 20:34:41 +00:00
Ryan Boren
f56d8278bb Remove return ref from all calls to get_post()
Return WP_Post from get_default_post_to_edit()
Replace all calls to get_page() with get_post()
see #21309


git-svn-id: http://core.svn.wordpress.org/trunk@21597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 20:01:10 +00:00
Andrew Nacin
33d56c303c Remove references to still-existing files from the old files array. see #20980.
git-svn-id: http://core.svn.wordpress.org/trunk@21594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:58:43 +00:00
Andrew Nacin
aec38ee1af Remove Prototype and script.aculo.us from core.
Continue to register them, pulling from ajax.googleapis.com. This is only being done for backwards compatibility;
libraries in use will continue to be local sources.

In the process, update to the latest versions of Prototype (1.7.1, June 5) and script.aculo.us (1.9.0, from 2010).

props helenyhou.
fixes #21661, #16664, #16665.



git-svn-id: http://core.svn.wordpress.org/trunk@21593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:51:08 +00:00
Andrew Nacin
2710bcade1 Switch to .min for compressed JS and CSS files.
* This moves our "development" versions from .dev.js to .js (same for css).
 * The compressed version then moves from .js to .min.js (same for css).

By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.

fixes #21633.



git-svn-id: http://core.svn.wordpress.org/trunk@21592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:04:18 +00:00
Bot (Assets)
975b727abd Compress scripts/styles: 3.5-alpha-21589.
git-svn-id: http://core.svn.wordpress.org/trunk@21589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 20:58:31 +00:00
Andrew Ozz
4fee15a9b4 Better styling of theme filter, props SergeyBiryukov, fixes #21637
git-svn-id: http://core.svn.wordpress.org/trunk@21588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 19:16:31 +00:00
Bot (Assets)
245cb4acba Compress scripts/styles: 3.5-alpha-21587.
git-svn-id: http://core.svn.wordpress.org/trunk@21587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 18:58:32 +00:00
Andrew Ozz
9f02c68a00 Don't hide the label for the Title on the Edit Post screen, use 'screen-reader-text' instead, props SergeyBiryukov, fixes #21458
git-svn-id: http://core.svn.wordpress.org/trunk@21584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 17:40:17 +00:00
Bot (Assets)
4f587a0515 Compress scripts/styles: 3.5-alpha-21583.
git-svn-id: http://core.svn.wordpress.org/trunk@21583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 16:58:25 +00:00
Andrew Ozz
a9229369ce Remove erroneous vertical-align: center values, props helenyhou, fixes #20586
git-svn-id: http://core.svn.wordpress.org/trunk@21582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 15:23:10 +00:00
Bot (Assets)
4ce88d3d0f Compress scripts/styles: 3.5-alpha-21580. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@21580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:58:28 +00:00
Andrew Ozz
af85f3afe2 Fix help text on the Install Themes screen, props SergeyBiryukov, fixes #20925
git-svn-id: http://core.svn.wordpress.org/trunk@21579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:28:30 +00:00
Andrew Ozz
b35d8b150d Remove text-shadow on hover from update and comments bubbles in the admin menu, props markjaquith, fixes #21449
git-svn-id: http://core.svn.wordpress.org/trunk@21578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:25:28 +00:00
Andrew Ozz
e00b17aac6 Replace the dark spinner with the light on the widgets screen and retire wpspin_dark.gif, props helenyhou and lessbloat, fixes #20957
git-svn-id: http://core.svn.wordpress.org/trunk@21577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:02:37 +00:00
Bot (Assets)
9bd7b4811b Compress scripts/styles: 3.5-alpha-21575.
git-svn-id: http://core.svn.wordpress.org/trunk@21575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:58:27 +00:00
Andrew Ozz
0b92d7c941 Improve the layout and accessibility of the admin menu: simplify the HTML structure, move the submenus off the viewport (still visible for screen readers) instead of hiding them with display: none, make it possible to unfold the menu on small/narrow screens, see #21349
git-svn-id: http://core.svn.wordpress.org/trunk@21574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:46:30 +00:00
Andrew Nacin
bfaaa3d8ab Remove unused multisite option 'language'. props wonderboymusic. fixes #21545.
git-svn-id: http://core.svn.wordpress.org/trunk@21551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 16:43:44 +00:00
Bot (Assets)
4313374dad Compress scripts/styles: 3.5-alpha-21548.
git-svn-id: http://core.svn.wordpress.org/trunk@21548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-19 18:58:22 +00:00
Mark Jaquith
9739261969 Fix the display of widgets in wp-admin when their descriptions wrap to two lines. props mattdanner. fixes #15180
git-svn-id: http://core.svn.wordpress.org/trunk@21547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-19 18:16:52 +00:00
Andrew Nacin
c1816c4bfe Output a hidden input of blog_charset when we are hiding the option. props SergeyBiryukov. see #21507.
git-svn-id: http://core.svn.wordpress.org/trunk@21539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-17 16:46:47 +00:00
Ryan Boren
65f5267604 Send Content-Type with charset for iframe_header(). Props SergeyBiryukov, sergey.s.betke@novgaro.ru. fixes #19454
git-svn-id: http://core.svn.wordpress.org/trunk@21538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-17 14:19:03 +00:00
Andrew Nacin
e79a56793c Disable the Link Manager on any future upgrade if it is still enabled but there are no links. see #21307.
git-svn-id: http://core.svn.wordpress.org/trunk@21536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-16 23:08:07 +00:00
Bot (Assets)
95e5cafc63 Compress scripts/styles: 3.5-alpha-21535.
git-svn-id: http://core.svn.wordpress.org/trunk@21535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-16 16:58:26 +00:00
Andrew Ozz
5dcccb312f Fix typo in [21529], props toscho. Simplify the :focus styles for the Screen Options and Help toggles, see #21324
git-svn-id: http://core.svn.wordpress.org/trunk@21534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-16 15:45:31 +00:00
Bot (Assets)
b104249ef2 Compress scripts/styles: 3.5-alpha-21530.
git-svn-id: http://core.svn.wordpress.org/trunk@21530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:58:27 +00:00
Andrew Ozz
8bc0381f7f Add :focus style to all links, use JS to blur() them on click so the style is only visible when tabbing, props lessbloat, see #21324
git-svn-id: http://core.svn.wordpress.org/trunk@21529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:40:11 +00:00
Bot (Assets)
29621a23ad Compress scripts/styles: 3.5-alpha-21514.
git-svn-id: http://core.svn.wordpress.org/trunk@21514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 20:58:23 +00:00
Andrew Ozz
96156ac36c Stop Chrome from applying outline to DIVs that have tabindex="-1", see #21324
git-svn-id: http://core.svn.wordpress.org/trunk@21510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 19:37:27 +00:00
Ryan Boren
77fdb14c2c Fix display issues in the custom header screen when height is not specified. Use get_header_image() instead of header_image() so that esc_url() can do its job. Props JarretC, SergeyBiryukov, georgestephanis. fixes #21130 #21433
git-svn-id: http://core.svn.wordpress.org/trunk@21508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 19:24:36 +00:00
Bot (Assets)
a84e9aebfd Compress scripts/styles: 3.5-alpha-21505.
git-svn-id: http://core.svn.wordpress.org/trunk@21505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:58:20 +00:00
Ryan Boren
15dd7f70b0 Remove post type from post nonces. Fixes attachment deletion when EMPTY_TRASH_DAYS is 0. Props c3mdigital, kurtpayne, SergeyBiryukov. fixes #21194
git-svn-id: http://core.svn.wordpress.org/trunk@21504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:39:15 +00:00
Ryan Boren
076868e109 Better instruction text on custom header screen. Props jane, JustinSainton fixes #20992
git-svn-id: http://core.svn.wordpress.org/trunk@21502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:32:26 +00:00
Andrew Nacin
84c3a86036 Hide the link manager from the UI on upgrade, if the site has no links. New DB option, link_manager_enabled.
Enforce this by denying the 'manage_links' capability, which hides the All Links, Add New Link, and Link Categories screens. Hide WP_Widget_Links and the UI for the default_link_category as well.

Convert all references to 'posts and links' when handling reassignment on user deletion to just 'posts'.

see #21307.



git-svn-id: http://core.svn.wordpress.org/trunk@21501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-13 16:18:42 +00:00
Andrew Nacin
720e09ff5b Stop adding default links and the 'Blogroll' link category on install. props wonderboymusic. see #21307.
git-svn-id: http://core.svn.wordpress.org/trunk@21500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-13 15:55:15 +00:00
Bot (Assets)
0802777be2 Compress scripts/styles: 3.5-alpha-21499.
git-svn-id: http://core.svn.wordpress.org/trunk@21499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-11 02:58:19 +00:00
Andrew Ozz
64033c4645 Remove unused images, props helenyhou, coffee2code, ocean90, fixes #20980
git-svn-id: http://core.svn.wordpress.org/trunk@21498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-11 02:36:01 +00:00
Ryan Boren
cbd6a8becd Allow passing stdClass and WP_User to wp_insert_user() and wp_update_user(). Introduce WP_User::to_array(). Eliminate uses of get_object_vars() when passing to wp_*_user(). fixes #21429
git-svn-id: http://core.svn.wordpress.org/trunk@21496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-10 15:36:54 +00:00
westi
c702fe6657 Multisite: Fix the new get_space_used() function to correctly calculate Megabytes used and update some phpdoc. Props SergeyBiryukov.
git-svn-id: http://core.svn.wordpress.org/trunk@21474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 07:17:33 +00:00
nacin
4e5fd4de46 Introduce wpdb::get_charset_collate() to return the DEFAULT CHARACTER SET and COLLATE for use in table schemas.
props simonwheatley, pento. fixes #18451.



git-svn-id: http://core.svn.wordpress.org/trunk@21471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 06:13:48 +00:00
nacin
3d479c0b51 Hide the charset setting for installs that have a charset of UTF-8 already. fixes #21507.
git-svn-id: http://core.svn.wordpress.org/trunk@21467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-07 03:10:59 +00:00
bumpbot
e27c374cf0 Compress scripts/styles: 3.5-alpha-21466.
git-svn-id: http://core.svn.wordpress.org/trunk@21466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 22:58:30 +00:00
azaozz
45469ac3a8 Fix .screen-reader-text in RTL, see #21471
git-svn-id: http://core.svn.wordpress.org/trunk@21465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 21:29:27 +00:00
bumpbot
704304d6fe Compress scripts/styles: 3.5-alpha-21463.
git-svn-id: http://core.svn.wordpress.org/trunk@21463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 20:58:37 +00:00
azaozz
01cb9e569e CSS cleanup: remove references to .wp-menu-toggle, props ocean90, fixes #21502
git-svn-id: http://core.svn.wordpress.org/trunk@21461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 19:59:28 +00:00
bumpbot
cbacfc849c Compress scripts/styles: 3.5-alpha-21460.
git-svn-id: http://core.svn.wordpress.org/trunk@21460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 18:58:29 +00:00
azaozz
853df37fe8 Replace last remaining gradients with css, standardize the gradient css cascade, props ocean90, fixes #16461
git-svn-id: http://core.svn.wordpress.org/trunk@21459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 17:21:41 +00:00
bumpbot
59eb150fdc Compress scripts/styles: 3.5-alpha-21458.
git-svn-id: http://core.svn.wordpress.org/trunk@21458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 04:58:26 +00:00
azaozz
6a5a3a81b6 Accessibility: enhance the Screen Options and Help tabs open/close, see #21326
git-svn-id: http://core.svn.wordpress.org/trunk@21457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 04:26:37 +00:00
bumpbot
6ce8c8872b Compress scripts/styles: 3.5-alpha-21456.
git-svn-id: http://core.svn.wordpress.org/trunk@21456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 02:58:33 +00:00
koopersmith
35c324c0ef Align headings and form elements on tags and categories pages. After seven and a half years... props hanni. fixes #21496.
git-svn-id: http://core.svn.wordpress.org/trunk@21455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 02:32:55 +00:00
bumpbot
fc62ad5e57 Compress scripts/styles: 3.5-alpha-21443.
git-svn-id: http://core.svn.wordpress.org/trunk@21443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:58:29 +00:00
azaozz
83d04bb82a CSS cleanup: take out -moz-box-shadow, fixes #21482
git-svn-id: http://core.svn.wordpress.org/trunk@21439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:41:49 +00:00
azaozz
c368f0e6a1 Accessibility: fix the Skip to content link, show it on :focus, improve the styling of the skip links when shown, see #21310, see #21471
git-svn-id: http://core.svn.wordpress.org/trunk@21435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:37:57 +00:00
markjaquith
de3514a705 About ten percent
git-svn-id: http://core.svn.wordpress.org/trunk@21422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 18:32:39 +00:00
ryan
5ca54e7d2f Deprecate get_blog_option(), add_blog_option(), update_blog_option(), and delete_blog_option().
Use the regular option functions wrapped in switch_to_blog() and restore_current_blog() instead.

Group multiple operations within a single switch where possible.

fixes #21432


git-svn-id: http://core.svn.wordpress.org/trunk@21414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-03 17:51:42 +00:00
nacin
7127ed1197 Move most instances of new WP_User to get_userdata(). see #21120.
git-svn-id: http://core.svn.wordpress.org/trunk@21413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-03 01:06:05 +00:00
bumpbot
606c472881 Compress scripts/styles: 3.5-alpha-21400.
git-svn-id: http://core.svn.wordpress.org/trunk@21400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 22:58:25 +00:00
azaozz
9baca94459 Retina: add image editor 2x icons, props empireoflight, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@21399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 22:50:52 +00:00
westi
4443baaab9 Multisite: Rework the upload space usage tracking code so as to be fully pluggable.
* Moves some admin only functions into wp-admin/includes/ms.php from wp-includes/ms-functions.php
 * Reworked the variable naming to be more in line with the Coding Standards
 * Introduced a new get_space_used() function instead of calculating it in multiple places.

Fixes #21181 props dllh and jkudish for inital work on this.


git-svn-id: http://core.svn.wordpress.org/trunk@21387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 13:52:06 +00:00
bumpbot
506492de67 Compress scripts/styles: 3.5-alpha-21384.
git-svn-id: http://core.svn.wordpress.org/trunk@21384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 06:58:20 +00:00
koopersmith
86b352faea Remove the ability to upload custom headers in the customizer. Properly handle selecting the correct first tab, and removing the control/section if no tabs exist. see #21355.
To check if the control has any potential tabs and headers, added:
* WP_Customize_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->default_headers
* WP_Customize_Header_Image_Control->uploaded_headers



git-svn-id: http://core.svn.wordpress.org/trunk@21383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 06:45:54 +00:00
nacin
7c9d817511 Improve code readability and execution in admin-footer by removing a now-unnecessary implode(). props TobiasBg, fixes #21422.
git-svn-id: http://core.svn.wordpress.org/trunk@21366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:37:51 +00:00
ryan
c76116505e Give Add New button on edit taxonomy pages primary button styling. Props JustinSainton. fixes #21406
git-svn-id: http://core.svn.wordpress.org/trunk@21365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 18:41:42 +00:00
ryan
7b49ad8493 Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307
git-svn-id: http://core.svn.wordpress.org/trunk@21364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 18:30:03 +00:00
ryan
104b50cf58 s/newuserconfimation/newuserconfirmation/
Props Jayjdk, lesteph
fixes #21415


git-svn-id: http://core.svn.wordpress.org/trunk@21362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 16:13:18 +00:00
azaozz
67d4a5f71a Move the description for tabbing out of the plugin and theme editors textareas to the Help tab, fixes #21347
git-svn-id: http://core.svn.wordpress.org/trunk@21358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-27 16:49:48 +00:00
azaozz
99496fb30c Widgets: add localization context for 'Add' and 'Edit', props nacin, fixes #21338
git-svn-id: http://core.svn.wordpress.org/trunk@21356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-27 03:56:27 +00:00
azaozz
93979aa0ef Widgets: Add the name of the widget to the Add and Edit buttons on the Accessible Widget Management Screen, props cannona, fixes #21338
git-svn-id: http://core.svn.wordpress.org/trunk@21355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-27 03:33:38 +00:00
ryan
44ef6d8e80 Deprecate and stub _media_button. fixes #21317
git-svn-id: http://core.svn.wordpress.org/trunk@21353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 21:33:01 +00:00
ryan
1c175f829e Deprecate and stub _insert_into_post_button(). fixes #20427
git-svn-id: http://core.svn.wordpress.org/trunk@21352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 21:30:06 +00:00
ryan
2417e42fe5 Improved phpdoc for file.php. Props tommcfarlin. fixes #21328
git-svn-id: http://core.svn.wordpress.org/trunk@21350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 15:08:30 +00:00
ryan
e02ea8023e Remove debug cruft. Props ocean90. fixes #21315
git-svn-id: http://core.svn.wordpress.org/trunk@21349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 15:01:44 +00:00
ryan
fdae8f9b42 Fix some spelling errors. Props thee17. fixes #21191
git-svn-id: http://core.svn.wordpress.org/trunk@21333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:06:13 +00:00
ryan
73addbbd24 More screen reader text for list table checkboxes and theme install search. Props MikeLittle, SergeyBiryukov. see #21325
git-svn-id: http://core.svn.wordpress.org/trunk@21323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:18:14 +00:00
ryan
f45383244d Fix per_page screen option for custom post types and taxonomies. Don't convert taxonomy and post type slugs from hyphen to underscore when saving the per_page usermeta. Props nacin. see #18958
git-svn-id: http://core.svn.wordpress.org/trunk@21322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:13:13 +00:00
ryan
72e4f612e2 Add screen reader text for search fields in theme-install.php. Props MikeLittle. see #21325
git-svn-id: http://core.svn.wordpress.org/trunk@21318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 18:31:03 +00:00
ryan
c36145c9aa Add screen reader text to checkboxes in list tables. Props MikeLittle, nacin. see #21325
git-svn-id: http://core.svn.wordpress.org/trunk@21317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 18:01:22 +00:00
ryan
5ac8a32840 Translate role names in the new user notification email. Props obenland. fixes #20764
git-svn-id: http://core.svn.wordpress.org/trunk@21316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 17:32:40 +00:00
ryan
91ab52d443 For get_settings_errors(), make sure errors from transient get added to the global variable and not unset when checking for an error of a specific setting. Also always return an array, as noted in the documentation. Props obenland. fixes #20833
git-svn-id: http://core.svn.wordpress.org/trunk@21315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 15:13:46 +00:00
bumpbot
ab56412645 Compress scripts/styles: 3.5-alpha-21314.
git-svn-id: http://core.svn.wordpress.org/trunk@21314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 02:58:23 +00:00
azaozz
21141ab1c0 Remove left-over style for the Categories postbox that had a typo and wasn't used, props tommcfarlin fixes #21360
git-svn-id: http://core.svn.wordpress.org/trunk@21313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 01:33:43 +00:00
bumpbot
8167046e99 Compress scripts/styles: 3.5-alpha-21312.
git-svn-id: http://core.svn.wordpress.org/trunk@21312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 00:58:22 +00:00
azaozz
34535097b7 Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar).
Add tabindex="-1" for the menu images links to avoid double tab stops there when the menu is expanded.

Fix/add auto-focus on the first input fields on the Add/Edit Post, all taxonomy, all edit taxonomy, Log In and Edit Comment screens.

See #21340.

git-svn-id: http://core.svn.wordpress.org/trunk@21311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 00:15:15 +00:00
azaozz
6d556cbcdb Make it possible to tab out of the plugin and theme editors textareas by pressing Esc followed by Tab, fixes #21347
git-svn-id: http://core.svn.wordpress.org/trunk@21310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 23:46:27 +00:00
bumpbot
63df9ad5e0 Compress scripts/styles: 3.5-alpha-21309.
git-svn-id: http://core.svn.wordpress.org/trunk@21309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:58:26 +00:00
azaozz
c176634781 Prevent WebKit from adding outline to #wpbody-content as a result of tabindex="-1", see #21361
git-svn-id: http://core.svn.wordpress.org/trunk@21308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:49:50 +00:00
azaozz
3df1783276 Add "Skip to content" link to all screens in the admin, fixes #21361
git-svn-id: http://core.svn.wordpress.org/trunk@21305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:00:06 +00:00
azaozz
2309fcb9d7 TinyMCE: fix tabbig in and out of the editor, fixes #20834
git-svn-id: http://core.svn.wordpress.org/trunk@21300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-22 02:33:53 +00:00
nacin
dcb200efc9 Fix order of @param's for deactivate_plugins(). props Viper007Bond, fixes #21269.
git-svn-id: http://core.svn.wordpress.org/trunk@21291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 15:09:40 +00:00
bumpbot
b87b0ab2c2 Compress scripts/styles: 3.5-alpha-21284.
git-svn-id: http://core.svn.wordpress.org/trunk@21284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-19 16:58:20 +00:00
azaozz
ef3ecb87ca Admin menu: add z-index to the pending/updates count bubbles, props ocean90, fixes #20502
git-svn-id: http://core.svn.wordpress.org/trunk@21283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-19 16:51:02 +00:00
bumpbot
2e494f8e08 Compress scripts/styles: 3.5-alpha-21282.
git-svn-id: http://core.svn.wordpress.org/trunk@21282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 22:58:20 +00:00
azaozz
3c0c21747a Widgets UI: make the whole "header" clickable to open/close the widget (same as postboxes), remove deprecated jQuery .live(), part props lessbloat, fixes #21247
git-svn-id: http://core.svn.wordpress.org/trunk@21281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 22:41:43 +00:00
bumpbot
1d6f5e03e4 Compress scripts/styles: 3.5-alpha-21271.
git-svn-id: http://core.svn.wordpress.org/trunk@21271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 02:58:22 +00:00
azaozz
618fdf1535 Widgets: ensure the "drop zone" matches the height of the Inactive Widgets container, fixes #21250
git-svn-id: http://core.svn.wordpress.org/trunk@21270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 01:47:16 +00:00
westi
4c33feb5ef Multisite: Tidy up [21256] and introduce/correct PHPDoc for a few other media upload functions.
Fixes #21179 props SergeyBiryukov.


git-svn-id: http://core.svn.wordpress.org/trunk@21260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-11 10:20:15 +00:00
westi
2039e3a8f0 Multisite: Make it easy to replace or augment the over-quota message displayed when you try and upload new media and you have reached your quota.
Fixes #21179 props dllh, jkudish. 


git-svn-id: http://core.svn.wordpress.org/trunk@21256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 13:33:44 +00:00
nacin
cacce8add0 Fix the 'Display item date' configuration option for the Incoming Links dashboard widget. props Latz, SergeyBiryukov, fixes #20644.
git-svn-id: http://core.svn.wordpress.org/trunk@21249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 19:16:53 +00:00
bumpbot
878db9bd76 Compress scripts/styles: 3.5-alpha-21247.
git-svn-id: http://core.svn.wordpress.org/trunk@21247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 06:58:24 +00:00
azaozz
d47fd9d12c Add 2x icons for the list/excerpt switch on the Posts screen, props empireoflight, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@21246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 06:53:43 +00:00
markjaquith
d80cb05db0 Increase the height of the widget drag/drop placeholder by one pixel so it matches the size of the dragged widget. props alexvorn2. props SergeyBiryukov. fixes #21054
git-svn-id: http://core.svn.wordpress.org/trunk@21244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 05:21:59 +00:00
markjaquith
109768b788 Hide UI for Attachment taxonomies if show_ui is false for that taxonomy. props simonwheatley. fixes #21104
git-svn-id: http://core.svn.wordpress.org/trunk@21240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 04:56:50 +00:00
markjaquith
09f66013f5 Do not display an error message when a plugin or theme being updated is found to already be up to date. Note the fact, and call it success. props solarissmoke. fixes #19752
git-svn-id: http://core.svn.wordpress.org/trunk@21236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 03:40:32 +00:00
markjaquith
ecea277a8a Insert a proper line break (instead of an HTML line break) into the "first comment". props nacin. fixes #16712
git-svn-id: http://core.svn.wordpress.org/trunk@21234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 03:19:02 +00:00
dd32
509b845abc Make get_home_path() work in more cases by being case insensitive and sanitzing Windows paths. In some cases (such as differing case of hostnames or paths in the site/home options, or when SCRIPT_FILENAME contains forward slashes) the function was failing to return the correct path, and would instead return /. Props to SergeyBiryukov for the initial patch. Fixes #20449 Fixes #10447
git-svn-id: http://core.svn.wordpress.org/trunk@21224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-06 13:54:15 +00:00
dd32
2a708450ec WP_Filesystem: Return symlinked directory names correctly, previously the FTP extensions would return it as 'source -> dest' instead of simply 'source'. Props kurtpayne. Fixes #17846
git-svn-id: http://core.svn.wordpress.org/trunk@21223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-06 11:39:39 +00:00
dd32
18e83f9c36 WP_Filesystem: When recursivly searching for a directory path, only search for unfound directory entries. This solves a case where the same directory may be entered twice inadvertantly when nested directories using the same name exist. Fixes #20652
git-svn-id: http://core.svn.wordpress.org/trunk@21222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-06 11:19:46 +00:00
dd32
6c6d746637 WP_Filesystem: Correct a rare case where the FTP directory will be detected incorrectly when the final path token exists higher in the chain, for example /x/x/Z/x/Z/ would be detected as /x/x/Z/. Fixes #20934
git-svn-id: http://core.svn.wordpress.org/trunk@21221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-06 10:41:32 +00:00
bumpbot
02192b7f71 Compress scripts/styles: 3.5-alpha-21220.
git-svn-id: http://core.svn.wordpress.org/trunk@21220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:58:21 +00:00
markjaquith
6a1d888ea5 Better image extension regexes, so we don't just grab the "jpe" from "jpeg" files in media_sideload_image(). props sivel. fixes #16693
git-svn-id: http://core.svn.wordpress.org/trunk@21219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:51:55 +00:00
azaozz
e7b985db6f Clarify that 'html' refers to the Text editor tab, see #20993
git-svn-id: http://core.svn.wordpress.org/trunk@21218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:28:01 +00:00
markjaquith
52e3f32f5d Periods at the ends of sentences should be in the translated string, not outside it. Fixes an instance of that on the Tags page. props Nao. fixes #21131
git-svn-id: http://core.svn.wordpress.org/trunk@21216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:06:19 +00:00
markjaquith
fb0754d3d3 Increase the z-index of widgets so they don't appear behind menu portions while dragging. props jkudish. fixes #20300
git-svn-id: http://core.svn.wordpress.org/trunk@21214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 19:24:57 +00:00
markjaquith
813ca40b2f Switch "HTML" tab to "Text" in DFW mode. Update documentation and inline comments to refer to the "Text" tab or mode instead of "HTML". see #20993
git-svn-id: http://core.svn.wordpress.org/trunk@21212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 15:28:13 +00:00
bumpbot
a81a68b862 Compress scripts/styles: 3.5-alpha-21210.
git-svn-id: http://core.svn.wordpress.org/trunk@21210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 14:58:19 +00:00
markjaquith
57b977d781 Uncheck the "select all" checkbox when one of the child checkboxes is manually unchecked. props SergeyBiryukov. fixes #20261
git-svn-id: http://core.svn.wordpress.org/trunk@21209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 14:08:20 +00:00
nacin
a9ee3b61f5 Remove charset attribute from script elements. props neoxx, fixes #21146.
git-svn-id: http://core.svn.wordpress.org/trunk@21204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-03 13:27:14 +00:00
nacin
4b82f5c42d require_once dashboard.php in wp_ajax_dashboard_widgets() so it is testable. props kurtpayne. fixes #UT41.
git-svn-id: http://core.svn.wordpress.org/trunk@21203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 15:07:39 +00:00
nacin
bc33fe2e0e Remove more code not specific to updating core from core_upgrade_preamble(). fixes #21124.
git-svn-id: http://core.svn.wordpress.org/trunk@21201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 12:58:03 +00:00
nacin
5b285e0803 Un-indent after [21198]. see #19824.
git-svn-id: http://core.svn.wordpress.org/trunk@21200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 12:55:09 +00:00
nacin
fbd46fbc8c Allow the 'WordPress Updates' page to be accessible even if you cannot update core, as long as you can update plugins or themes. fixes #21124.
git-svn-id: http://core.svn.wordpress.org/trunk@21199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 12:54:05 +00:00
nacin
9d20dfc4e1 Enforce multisite plugins menu preference in map_meta_cap(). This means a simple current_user_can('activate_plugins') check will handle the 'Enable administration menus' setting.
Remove bogus checks for enabling/disabling the 'themes' menu (something core does not handle out of the box) when in the network admin.

fixes #21123.



git-svn-id: http://core.svn.wordpress.org/trunk@21198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 12:40:25 +00:00
nacin
b43393e9db Cap checks for links in the upgrader, for plugins. fixes #19824.
git-svn-id: http://core.svn.wordpress.org/trunk@21197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 12:19:13 +00:00
nacin
5bda140dbc Have the correct screen icon in place when the top level Plugins menu is plugin-install.php. This occurs when the user can install but not activate plugins. see #19824.
git-svn-id: http://core.svn.wordpress.org/trunk@21196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 12:12:26 +00:00
nacin
fffff45c25 Cap checks in the upgrader so we do not show links the user cannot access. props linuxologos for the initial patch. see #19824.
Also fixes a rare fatal error when theme_info is not set when updating a theme that is already up to date.



git-svn-id: http://core.svn.wordpress.org/trunk@21195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 12:08:18 +00:00
markjaquith
f010e00284 Prevent child pages from being visually promoted to the top level after Quick Edit. props ssamture. fixes #18615
git-svn-id: http://core.svn.wordpress.org/trunk@21192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 09:28:15 +00:00
markjaquith
ab1c5db441 Prevent child categories from being visually promoted to the top level after Quick Edit. props ssamture. fixes #19474
git-svn-id: http://core.svn.wordpress.org/trunk@21191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 09:00:26 +00:00
bumpbot
b66f319c10 Compress scripts/styles: 3.5-alpha-21190.
git-svn-id: http://core.svn.wordpress.org/trunk@21190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 08:58:22 +00:00
markjaquith
70eae0e09b Standardize our "View Post" new-tab/no-new-tab behavior. Committed this thirtieth day of June, Anno Domini MMXII. May peace and good sense forever reign in this realm. Uh... Amen.
props SergeyBiryukov. fixes #11406.

git-svn-id: http://core.svn.wordpress.org/trunk@21189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 08:49:26 +00:00
markjaquith
a34aba2eb0 border-right-color: none; should be border-right-color: transparent; props sabreuse. fixes #20587
git-svn-id: http://core.svn.wordpress.org/trunk@21188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-30 08:00:37 +00:00
nacin
76defb20d4 load-importer-$importer hook. props simonwheatley. fixes #21071.
git-svn-id: http://core.svn.wordpress.org/trunk@21183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-29 19:24:15 +00:00
nacin
dfa7b94b83 Add inline documentation for wp_edit_attachments_query(). props simonwheatley, SergeyBiryukov. fixes #21105.
git-svn-id: http://core.svn.wordpress.org/trunk@21179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-29 15:09:14 +00:00
markjaquith
0d124a2286 Google Gears is dead. Long live its HTML5 replacement that does not in any way work for our purposes. props azaozz. fixes #20981
git-svn-id: http://core.svn.wordpress.org/trunk@21176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-29 03:34:02 +00:00
bumpbot
fec4d7e563 Compress scripts/styles: 3.5-alpha-21175.
git-svn-id: http://core.svn.wordpress.org/trunk@21175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:58:22 +00:00
markjaquith
55278fa7a4 Pass the post ID to the admin_post_thumbnail_html filter. props helenyhou. fixes #20891
git-svn-id: http://core.svn.wordpress.org/trunk@21173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:41:04 +00:00
nacin
a90957aca0 Inline documentation for image_attachment_fields_to_save(). props Moraleida.me. fixes #20803.
git-svn-id: http://core.svn.wordpress.org/trunk@21171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:31:28 +00:00
markjaquith
168cc20a42 Allow tel: and fax: protocols. Wrangle the last hardcoded protocol enumeration so that it uses wp_allowed_protocols(). fixes #21081
git-svn-id: http://core.svn.wordpress.org/trunk@21170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:30:10 +00:00
nacin
ef1edca872 Remove duplicated style, overridden by a more specific selector. props SergeyBiryukov, fixes #20581.
git-svn-id: http://core.svn.wordpress.org/trunk@21167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:20:33 +00:00
nacin
a7249bfee8 Move the 'Delete' bulk action to the bottom in the network themes list tables. Symmetry with the plugins list tables. props trepmal. fixes #21032.
git-svn-id: http://core.svn.wordpress.org/trunk@21164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:05:15 +00:00
nacin
868ce1dfdd Remove dead conditionals from the media and post list tables. props wpmuguru, SergeyBiryukov. fixes #20781.
git-svn-id: http://core.svn.wordpress.org/trunk@21162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 19:58:43 +00:00
nacin
149eff94a1 WP.org no longer returns this old structure. The title of the item is the plugin name in full. fixes #21012.
git-svn-id: http://core.svn.wordpress.org/trunk@21160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 19:34:25 +00:00
bumpbot
b624dd94d5 Compress scripts/styles: 3.5-alpha-21148.
git-svn-id: http://core.svn.wordpress.org/trunk@21148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 21:50:58 +00:00
markjaquith
06bc3bf328 Autofocus the search box on the Theme and Plugin installation pages. Faster flow for people who know what they are looking for. props SergeyBiryukov. fixes #21080. see #21027.
git-svn-id: http://core.svn.wordpress.org/trunk@21143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 20:55:46 +00:00
nacin
69112517ed Refresh nonces in the customizer. props koopersmith. see #20876.
git-svn-id: http://core.svn.wordpress.org/trunk@21135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 18:48:18 +00:00
nacin
bc2655affc If a plugin triggers the WP_Scripts constructor prior to init, fire wp_default_scripts()
then and again on init.

Only add our localized strings once we've fired init, in case we do have the situation
where we fire wp_default_scripts() twice.

Fixes issues where plugins or themes try to enqueue a default script handle prior to
init. Does not allow #19959 to regress.

see #20971 for trunk.



git-svn-id: http://core.svn.wordpress.org/trunk@21132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 05:33:19 +00:00
nacin
3a215028ea Allow switch_theme() to take a single $stylesheet argument.
It now effectively has two function definitions:
function switch_theme( $stylesheet )
function switch_theme( $template, $stylesheet )

fixes #21075.



git-svn-id: http://core.svn.wordpress.org/trunk@21131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 05:21:04 +00:00
nacin
83e526249e Fix 'View version details' link for network/themes.php. In 3.5 these should stop pointing to WP.org. props SergeyBiryukov, fixes #20961 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 20:28:33 +00:00
markjaquith
4a0d729415 Properly show comments on Page edit screen. props duck_. fixes #20937 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 19:56:48 +00:00
nacin
4e0b099e6a We still need thickbox on themes.php for update overlays. props duck_. see #20960 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 19:42:08 +00:00
nacin
efb07c689e Back compat for plugins looking for networkwide=1 during a plugin activation hook.
Proper way to detect this: An activation hook callback receives (bool) $network_wide as the first argument.

see #20995 for trunk.



git-svn-id: http://core.svn.wordpress.org/trunk@21104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 19:32:34 +00:00
bumpbot
fc36a8fc45 Compress scripts/styles: 3.5-alpha-21100.
git-svn-id: http://core.svn.wordpress.org/trunk@21100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-21 20:58:20 +00:00
azaozz
cbc2a6833a Fix dragging to empty second column in IE8, fixes #21021 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-21 19:45:31 +00:00
bumpbot
dc34bddae6 Compress scripts/styles: 3.5-alpha-21095.
git-svn-id: http://core.svn.wordpress.org/trunk@21095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 21:58:23 +00:00
azaozz
e560532e94 Fix dragging to empty second column on dashboard, props helenyhou, fixes #21021 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 21:56:00 +00:00
bumpbot
12e243bda4 Compress scripts/styles: 3.5-alpha-21092.
git-svn-id: http://core.svn.wordpress.org/trunk@21092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 15:58:25 +00:00
azaozz
77cb52144e Respect user settings when auto-switching postbox columns on mobile devices, fixes #21005
git-svn-id: http://core.svn.wordpress.org/trunk@21091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 05:03:08 +00:00
azaozz
5f973a17e2 Admin menu: reset sub-menus position on mouseleave so they don't break when auto-expanded, props phill_brown SergeyBiryukov, fixes #19562
git-svn-id: http://core.svn.wordpress.org/trunk@21090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 01:46:05 +00:00
nacin
222425a917 Introduce wp_clean_themes_cache() for upgrades and testing. fixes #20954.
git-svn-id: http://core.svn.wordpress.org/trunk@21080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-14 14:24:25 +00:00
duck_
ea548d7891 Hide pointers introduced in 3.4 from new users. Fixes #20941.
git-svn-id: http://core.svn.wordpress.org/trunk@21075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-13 17:38:42 +00:00
bumpbot
a10e86c351 Compress scripts/styles: 3.4-RC3-21072.
git-svn-id: http://core.svn.wordpress.org/trunk@21072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 22:52:24 +00:00
ryan
2429659e9b Customize: If the preview is not logged in but the admin is, perform a front page request to setup any mapped domain cookies and then retry loading the preview.
Props nacin, koopersmith
fixes #20926


git-svn-id: http://core.svn.wordpress.org/trunk@21071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 22:51:55 +00:00
ryan
2f3839da9c Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@21070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 19:27:41 +00:00
nacin
2abd3ad571 Theme Customizer: Validate themes with more than just an existence check.
* The current theme goes through validate_current_theme().
 * If doing a preview of a different theme, we check theme->errors().

Also:
 * Don't attach previewing hooks when previewing the current theme.
Aside from being unnecessary, this prevents issues with a theme with
the error of theme_parent_invalid.
 * Call send_origin_headers() earlier, to allow wp_die( '0' ) to properly
be returned in a domain mapping situation.
 * Fix the 'Save & Activate' message on themes.php.

fixes #20921.



git-svn-id: http://core.svn.wordpress.org/trunk@21069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 18:39:16 +00:00
bumpbot
d0b70cc350 Compress scripts/styles: 3.4-RC3-21068.
git-svn-id: http://core.svn.wordpress.org/trunk@21068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 17:58:23 +00:00
koopersmith
c59520aa1e Prevent delete theme link from bumping against theme action links. If it doesn't fit, it doesn't fit, man. props SergeyBiryukov, fixes #20918.
git-svn-id: http://core.svn.wordpress.org/trunk@21067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 17:11:09 +00:00
bumpbot
b2024263ae Compress scripts/styles: 3.4-RC3-21066.
git-svn-id: http://core.svn.wordpress.org/trunk@21066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 16:58:23 +00:00
koopersmith
4811176a7c Prevent hoverIntent from shifting open, expanded admin menus if the entire submenu is not visible. props SergeyBiryukov, fixes #20857.
git-svn-id: http://core.svn.wordpress.org/trunk@21065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 16:36:32 +00:00
ryan
21436ed8b9 Force a theme directory scan after installing and upgrading themes. Props nacin. fixes #20919
git-svn-id: http://core.svn.wordpress.org/trunk@21064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 15:59:53 +00:00
ryan
bbb1494919 Use the stylesheet rather than the template to create the network enable theme nonce. Fix network enable redirect following theme installation. Props duck_, nacin. fixes #20916
git-svn-id: http://core.svn.wordpress.org/trunk@21062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 15:31:25 +00:00
nacin
551f88dbcb Use the proper value for the switch-theme nonce in the upgrader. Fixes child theme activation after install. props duck_. fixes #20914.
git-svn-id: http://core.svn.wordpress.org/trunk@21061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 14:36:24 +00:00
bumpbot
e8685a74f6 Compress scripts/styles: 3.4-RC2-21058.
git-svn-id: http://core.svn.wordpress.org/trunk@21058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 23:58:20 +00:00
nacin
06ac2ae2e9 Add remaining CSS properties for [21056]. props azaozz. see #20911.
git-svn-id: http://core.svn.wordpress.org/trunk@21057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 23:54:13 +00:00
nacin
263a0bd031 Restore CSS rules for div.inner-sidebar, for backwards compatibility with plugins using these classes manually. props azaozz, fixes #20911.
git-svn-id: http://core.svn.wordpress.org/trunk@21056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 23:41:59 +00:00
bumpbot
19ccdf7b41 Compress scripts/styles: 3.4-RC2-21055.
git-svn-id: http://core.svn.wordpress.org/trunk@21055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 21:28:44 +00:00
ryan
7c214624b6 Add RTL and locale classes to the press this body. Props SergeyBiryukov. fixes #19603
git-svn-id: http://core.svn.wordpress.org/trunk@21052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 20:34:42 +00:00
ryan
7859542799 Remove obsolete help string. Props SergeyBiryukov. fixes #20909
git-svn-id: http://core.svn.wordpress.org/trunk@21051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 20:32:21 +00:00
ryan
b49c243443 Restrict post IDs
git-svn-id: http://core.svn.wordpress.org/trunk@21048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 17:37:49 +00:00
ryan
e035513157 In excerpt view, show the excerpt only if the user can read_post.
git-svn-id: http://core.svn.wordpress.org/trunk@21047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 16:22:55 +00:00
bumpbot
8753c6739e Compress scripts/styles: 3.4-RC2-21043.
git-svn-id: http://core.svn.wordpress.org/trunk@21043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 14:38:44 +00:00
azaozz
2940a51a17 When using the max-width: 100% fix for <select> tags that exceed the width of parent elements, add it only on affected tags. IE8 doesn't like it everywhere, props SergeyBiryukov, fixes #19613
git-svn-id: http://core.svn.wordpress.org/trunk@21042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 14:36:47 +00:00
azaozz
4f3e8f207a Fix Quicktags buttons in IE7, fixes #20894
git-svn-id: http://core.svn.wordpress.org/trunk@21041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 14:26:38 +00:00
ryan
bce8cd343a Make sure the path exists before copying. see #20657
git-svn-id: http://core.svn.wordpress.org/trunk@21039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 01:26:12 +00:00
bumpbot
4e735c5227 Compress scripts/styles: 3.4-RC2-21038.
git-svn-id: http://core.svn.wordpress.org/trunk@21038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 00:32:52 +00:00
ryan
808ce796ae * Introduce remove_header_image(), reset_header_image(), set_header_image(), and get_header_image_data() for Custom_Image_Header.
* Handle all set/get of header theme mod through these methods.
* Use these methods in the customizer.

Props kovshenin, nacin, SergeyBiryukov, koopersmith.
fixes #20871


git-svn-id: http://core.svn.wordpress.org/trunk@21037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 00:32:19 +00:00
bumpbot
e04cfd76f5 Compress scripts/styles: 3.4-RC2-21034.
git-svn-id: http://core.svn.wordpress.org/trunk@21034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 23:02:40 +00:00
koopersmith
6c273ba9e4 Theme Customizer: Separate message url from preview url in customizer JS Previewer and PreviewFrame objects. fixes #20892.
git-svn-id: http://core.svn.wordpress.org/trunk@21033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 22:59:48 +00:00
bumpbot
82e9205d58 Compress scripts/styles: 3.4-RC2-21032.
git-svn-id: http://core.svn.wordpress.org/trunk@21032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 19:40:31 +00:00
ryan
9115435213 Customizer: Gravefully handle cookie expipration. Prompt for log in in the preview. Props ocean90, koopersmith, nacin. fixes #20876
git-svn-id: http://core.svn.wordpress.org/trunk@21031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 19:22:11 +00:00
bumpbot
dce23895de Compress scripts/styles: 3.4-RC2-21030.
git-svn-id: http://core.svn.wordpress.org/trunk@21030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 18:58:24 +00:00
ryan
f826e49a72 Customizer: fix stuck urls and preview white screens after repeated save and activates. Props koopersmith. fixes #20868
git-svn-id: http://core.svn.wordpress.org/trunk@21029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 18:52:44 +00:00
ryan
69ad7a68ff Customizer: Redirect back to referrer. If referrer is a front end page, load that page in the customizer preview. Props nacin, koopersmith. fixes #20877
git-svn-id: http://core.svn.wordpress.org/trunk@21028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 18:45:12 +00:00
bumpbot
3f729457f4 Compress scripts/styles: 3.4-RC2-21026.
git-svn-id: http://core.svn.wordpress.org/trunk@21026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 22:58:22 +00:00
nacin
08c3cb242a Prevent a scrollbar in the admin caused by padding given to the toolbar. props SergeyBiryukov, ocean90. fixes #19196.
git-svn-id: http://core.svn.wordpress.org/trunk@21025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 22:05:01 +00:00
ryan
6e0e62a063 Customizer: Add keyup events to sync textarea values. Props koopersmith. fixes #20879
git-svn-id: http://core.svn.wordpress.org/trunk@21024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 22:00:59 +00:00
bumpbot
882813ef82 Compress scripts/styles: 3.4-RC2-21023.
git-svn-id: http://core.svn.wordpress.org/trunk@21023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 17:58:27 +00:00
koopersmith
00ccc5f790 Theme Customizer: Allow color control inputs to change the corresponding setting (use sync instead of link). fixes #20873.
git-svn-id: http://core.svn.wordpress.org/trunk@21022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 17:25:00 +00:00
nacin
3a2ea5ed37 Copy 3.4 about.php header text to credits and freedoms. props pavelevap. fixes #20794.
git-svn-id: http://core.svn.wordpress.org/trunk@21021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 15:34:21 +00:00
bumpbot
d356284803 Compress scripts/styles: 3.4-RC1-21017.
git-svn-id: http://core.svn.wordpress.org/trunk@21017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 01:31:49 +00:00
ryan
07140847b2 Namespace the customize request arg to prevent collision with plugins and themes. Props nacin. fixes #20862
git-svn-id: http://core.svn.wordpress.org/trunk@21016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 01:29:57 +00:00
bumpbot
d15f104e4b Compress scripts/styles: 3.4-RC1-21015.
git-svn-id: http://core.svn.wordpress.org/trunk@21015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 21:51:13 +00:00
koopersmith
14f04132af Theme Customizer: Fix scrolling on iOS and Kindle Fire. props azaozz, helenyhou. fixes #20805.
Also fixes uploader UIs on iOS and Kindle Fire by improving wp.Uploader.
Adds mobile viewport specifications.
Moves scrollbar back to fixed positioning.


git-svn-id: http://core.svn.wordpress.org/trunk@21014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 21:45:17 +00:00
ryan
44dc454f53 Fix admin menu hover. Props koopersmith. fixes #20857
git-svn-id: http://core.svn.wordpress.org/trunk@21012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 21:15:43 +00:00
nacin
98b61d9a17 Theme Customizer: Block non-existent or non-allowed themes, unless the non-allowed theme is the active theme. Support a user having edit_theme_options xor switch_themes. fixes #20852.
git-svn-id: http://core.svn.wordpress.org/trunk@21010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 20:34:24 +00:00
ryan
23104564f0 Check context before adding media upload filters. Props SergeyBiryukov. fixes #20819
git-svn-id: http://core.svn.wordpress.org/trunk@21009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 16:48:53 +00:00
ryan
6e030d2ed4 Preserve context when searching in the media upload form. Props SergeyBiryukov. fixes #20856
git-svn-id: http://core.svn.wordpress.org/trunk@21008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 16:00:08 +00:00
bumpbot
53b7eae7dd Compress scripts/styles: 3.4-RC1-21007.
git-svn-id: http://core.svn.wordpress.org/trunk@21007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 20:58:24 +00:00
nacin
729e723e1d Darken the hover/on states for the customizer section titles. Switch Collapse arrow and label. Improve text contrast. props helenyhou. fixes #20828.
git-svn-id: http://core.svn.wordpress.org/trunk@21006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 20:57:02 +00:00
bumpbot
e14451d9f6 Compress scripts/styles: 3.4-RC1-21005.
git-svn-id: http://core.svn.wordpress.org/trunk@21005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 18:58:25 +00:00
nacin
fff6be1510 Custom background color: Show the 'Default' link when the input is empty and there is a default color registered. fixes #20448. see #20734.
git-svn-id: http://core.svn.wordpress.org/trunk@21004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 18:57:49 +00:00
nacin
3ebea2f218 Remove user/site suggestions (autocompletion) from search inputs, as the UX isn't proper.
* Removes all instances of site-search, so away it goes. Sidesteps a number of bugs with site-search.
 * Renames user-search to user-suggest, which means it better describes the current behavior (autocompletion) while allowing for future behavior (instant search).
 * Ties user suggestions to a single .wp-suggest-user class.

with help from markjaquith, helenyhou, wonderboymusic. 
fixes #20835.



git-svn-id: http://core.svn.wordpress.org/trunk@21003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 18:51:33 +00:00
bumpbot
05393d38f0 Compress scripts/styles: 3.4-RC1-21000.
git-svn-id: http://core.svn.wordpress.org/trunk@21000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 17:58:23 +00:00
ryan
d298afac46 Remove text-align on search input. Props SergeyBiryukov. fixes #20841
git-svn-id: http://core.svn.wordpress.org/trunk@20999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 17:57:07 +00:00
ryan
6acf5205ce RTL fixes. Props SergeyBiryukov, helenyhou. fixes #20841
git-svn-id: http://core.svn.wordpress.org/trunk@20998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 17:05:30 +00:00
ryan
64e7278e99 The image selector arrows should not do a 4g inverted dive. Props helenyhou. fixes #20843
git-svn-id: http://core.svn.wordpress.org/trunk@20997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 17:02:31 +00:00
nacin
c0f8ad074e Fix typo in the word 'administrator'.
translate.wordpress.org was manually updated to correct the typo,
so this will not result in a string change.

props ocean90
fixes #20829



git-svn-id: http://core.svn.wordpress.org/trunk@20993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 18:06:32 +00:00
bumpbot
14aacd2bca Compress scripts/styles: 3.4-RC1-20992.
git-svn-id: http://core.svn.wordpress.org/trunk@20992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 17:58:27 +00:00
ryan
9f7f4d338e Customizer UI tweaks.
* Don't flip arrow when for open section.
* Give the open section a white background.
* Provide a darker hover state for section headers.

Props helenyhou, SergeyBiryukov
fixes #20828


git-svn-id: http://core.svn.wordpress.org/trunk@20991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 17:02:56 +00:00
bumpbot
d35556e69a Compress scripts/styles: 3.4-RC1-20989.
git-svn-id: http://core.svn.wordpress.org/trunk@20989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 15:58:26 +00:00
ryan
e69299af51 Theme Customizer: Fix race condition in previewer and use message channels. Props koopersmith. fixes #20811
git-svn-id: http://core.svn.wordpress.org/trunk@20988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 15:51:46 +00:00
bumpbot
811d4d517d Compress scripts/styles: 3.4-RC1-20985.
git-svn-id: http://core.svn.wordpress.org/trunk@20985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 14:58:23 +00:00
ryan
fcd2923953 Site/user autocomplete fixes.
* Lengthen the inputs in the Right Now network dashboard widget
* Border around the whole autocomplete widget/list
* Handle long strings
* Remove some CSS color cruft from the main stylesheet and de-dupe the JS closures for open/close callbacks.

Props helenyhou
fixes #20584


git-svn-id: http://core.svn.wordpress.org/trunk@20984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 14:50:50 +00:00
ryan
82122d2ba8 Don't show mime type filter links when choosing an image header from the media library. Props SergeyBiryukov, georgestephanis. fixes #20819
git-svn-id: http://core.svn.wordpress.org/trunk@20982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 14:37:57 +00:00
ryan
e6e9f59761 Update custom header help text to reflect recent UI changes. Props SergeyBiryukov, rasheed. fixes #20827
git-svn-id: http://core.svn.wordpress.org/trunk@20981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 14:13:20 +00:00
ryan
9f9ae83e87 Make the Skip Cropping button secondary. Props SergeyBiryukov, nacin. fixes #20815
git-svn-id: http://core.svn.wordpress.org/trunk@20980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-02 16:57:10 +00:00
bumpbot
9b23e86b63 Compress scripts/styles: 3.4-RC1-20979.
git-svn-id: http://core.svn.wordpress.org/trunk@20979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-02 01:58:27 +00:00
azaozz
cb71d2fe62 Fix notice in wp_read_image_metadata() when EXIF ISOSpeedRatings is array, props nacin, fixes #20807
git-svn-id: http://core.svn.wordpress.org/trunk@20978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-02 01:39:00 +00:00
nacin
f3526bbbdd New section on Twitter Embeds on the about page. props georgestephanis, chexee, azaozz, SergeyBiryukov, jane. fixes #20796.
git-svn-id: http://core.svn.wordpress.org/trunk@20977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-02 01:16:35 +00:00
ryan
af5697e83b Refresh whimsy. fixes #20794
git-svn-id: http://core.svn.wordpress.org/trunk@20971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 16:12:07 +00:00
bumpbot
ba20e754d1 Compress scripts/styles: 3.4-RC1-20970.
git-svn-id: http://core.svn.wordpress.org/trunk@20970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 15:58:23 +00:00
ryan
c4d5b1806e Theme Customizer: Reduce reliance on fixed positioning and make sidebar UI flexible. Props koopersmith, ocean90, helenyhou. fixes #20799
git-svn-id: http://core.svn.wordpress.org/trunk@20969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 15:48:09 +00:00
ryan
cedff2638e Fix collapse button and return link markup for theme install preview. Props koopersmith. fixes #20800
git-svn-id: http://core.svn.wordpress.org/trunk@20968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 15:03:50 +00:00
ryan
9b39ae6629 Theme help text updates. Consistently use Live Preview. Props SergeyBiryukov. fixes #20795
git-svn-id: http://core.svn.wordpress.org/trunk@20967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 13:13:32 +00:00
nacin
b545454ceb When the current image is the default image, don't show buttons to restore to that image, for both custom headers and backgrounds. props mfields, SergeyBiryukov. fixes #20763.
git-svn-id: http://core.svn.wordpress.org/trunk@20966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 21:58:27 +00:00
bumpbot
3300b5fbfb Compress scripts/styles: 3.4-RC1-20965.
git-svn-id: http://core.svn.wordpress.org/trunk@20965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 21:58:23 +00:00
azaozz
9855eccd45 Do not clear the old values in "Display name publicly as" drop-down on the user profile screen, append new values there when the user changes any of20747 the name fields, fixes #20747
git-svn-id: http://core.svn.wordpress.org/trunk@20964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 21:54:33 +00:00
nacin
1d9c8f9aed Move customize-controls RTL CSS to wp-admin. see #20785.
git-svn-id: http://core.svn.wordpress.org/trunk@20963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 21:12:36 +00:00
bumpbot
97456fdfb4 Compress scripts/styles: 3.4-RC1-20962.
git-svn-id: http://core.svn.wordpress.org/trunk@20962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 20:58:22 +00:00
nacin
1757e3cbe7 RTL: For the list table items count, don't italicize the text. Remove a typo that tried to convert the text to bold; normal is the preferred route here so we are not going to set a font-weight. props yoavf, georgestephanis. fixes #20754.
git-svn-id: http://core.svn.wordpress.org/trunk@20961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 20:47:25 +00:00
nacin
b698913b10 Move customize-controls CSS and JS to wp-admin. fixes #20785.
git-svn-id: http://core.svn.wordpress.org/trunk@20960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 20:11:04 +00:00
ryan
b2fd3955a2 Better description for 'Faster WP_Query'. Props simonwheatley. fixes #20789
git-svn-id: http://core.svn.wordpress.org/trunk@20959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 19:12:45 +00:00
ryan
d00954f12e Post theme upgrade/install tweaks.
* Add title attributes to Live Preview links.
* Show Customize instead of Live Preview after upgrading current theme.
* Hide activate and preview links after theme upgrade when in the network admin.

Props SergeyBiryukov
fixes #20784


git-svn-id: http://core.svn.wordpress.org/trunk@20958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 18:55:20 +00:00
ryan
03daf400c5 "Live Preview" rather than "Customize" after installing/upgrading a theme. Props SergeyBiryukov. fixes #20784
git-svn-id: http://core.svn.wordpress.org/trunk@20957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 17:15:57 +00:00
nacin
df1a904b9a Theme Customizer: Add the theme name to the 'You are previewing' string in the left pane, using a placeholder. props SergeyBiryukov, xibe. fixes #20782.
git-svn-id: http://core.svn.wordpress.org/trunk@20955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:57:44 +00:00
ryan
5e27e6c788 Update help text to reflect new location of the customizer save buttons. Props tai. fixes #20775
git-svn-id: http://core.svn.wordpress.org/trunk@20954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:31:30 +00:00
nacin
f96b41dd3f Do not perform nonce checks in maint/repair.php.
If the options table is damaged and the keys/salts fall back to the database,
the nonce will never validate.

fixes #20780. see #20779.



git-svn-id: http://core.svn.wordpress.org/trunk@20953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:22:53 +00:00
duck_
e506b3eaee wpmu_delete_user() should actually delete the user. Fixes #20792.
User meta is removed by delete_metadata_by_mid() already.


git-svn-id: http://core.svn.wordpress.org/trunk@20952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:14:57 +00:00
nacin
6ab387f666 Update 'Under the Hood' on about.php. Add XML-RPC. Add more about i18n work. Rearrange to even out the columns and to create logical groups (performance x 2, themes x 2, external x 2). fixes #20766.
git-svn-id: http://core.svn.wordpress.org/trunk@20947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 16:46:44 +00:00
ryan
c0339644ea Shears of vigorous pinking.
git-svn-id: http://core.svn.wordpress.org/trunk@20944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 16:25:43 +00:00
bumpbot
6a7daba342 Compress scripts/styles: 3.4-beta4-20943.
git-svn-id: http://core.svn.wordpress.org/trunk@20943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 07:58:23 +00:00
azaozz
dd2bae8931 Remove leftover JS global, see #18198
git-svn-id: http://core.svn.wordpress.org/trunk@20942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 07:56:40 +00:00
koopersmith
c2c3f2ba7f Theme Customizer: Don't expand theme title if there are no details to show. props nacin, fixes #20757, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 20:47:55 +00:00
bumpbot
0b1958f333 Compress scripts/styles: 3.4-beta4-20935.
git-svn-id: http://core.svn.wordpress.org/trunk@20935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 15:58:30 +00:00
nacin
26e0d68be0 Theme Customizer: As customize.php without a theme parameter defaults to the current theme, update wp_customize_url() to make $stylesheet optional and update references for the current theme.
see #19910, #20751, #20575.



git-svn-id: http://core.svn.wordpress.org/trunk@20934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 15:32:05 +00:00
nacin
8766391117 Theme Customizer: More RTL. props ocean90. fixes #20585.
git-svn-id: http://core.svn.wordpress.org/trunk@20932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 15:22:02 +00:00
bumpbot
3f5a35aa11 Compress scripts/styles: 3.4-beta4-20923.
git-svn-id: http://core.svn.wordpress.org/trunk@20923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 00:58:26 +00:00
koopersmith
da8f2fe9c3 Theme Customizer: Reduce size of box shadow to minimize scrollbar overlap in Firefox. props azaozz, fixes #20753, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 00:21:34 +00:00
koopersmith
69c970a4a1 Hide 'Customize' toolbar item when customizer is not supported. fixes #20751, see #19910.
Removes script queue check for 'customize-loader' from wp_customize_support_script(), because we may want to check for customize-support on a page without the loader.


git-svn-id: http://core.svn.wordpress.org/trunk@20918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:26:00 +00:00
koopersmith
beb401b533 Theme Customizer: Improve background image control, add correct meta key to custom headers and backgrounds uploaded using the customizer. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 20:26:25 +00:00
bumpbot
f895adb49c Compress scripts/styles: 3.4-beta4-20911.
git-svn-id: http://core.svn.wordpress.org/trunk@20911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:58:23 +00:00
nacin
f28ecbabc4 Skip cached credits if version number doesn't match. props duck_. fixes #20270.
git-svn-id: http://core.svn.wordpress.org/trunk@20909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:52:13 +00:00
nacin
8b3f9ff9b2 Add the old root feed files to the $_old_files array, commented the way we've done for wp-register.php and wp-pass.php. see #20727.
git-svn-id: http://core.svn.wordpress.org/trunk@20902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:12:29 +00:00
nacin
afad27974e Preview by default the registered default image for custom backgrounds. props mfields, billerickson.
If there is a default color registered, show a 'Default' action rather than a 'Clear' action, as clearing the value would simply return to the default.

Make current_theme_supports() accept a second argument for 'custom-background' requests, the same as get_theme_support(). Missed in earlier changes, see #20249.

fixes #20734, fixes #18041.



git-svn-id: http://core.svn.wordpress.org/trunk@20901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 17:58:57 +00:00
bumpbot
f58b088cfd Compress scripts/styles: 3.4-beta4-20900.
git-svn-id: http://core.svn.wordpress.org/trunk@20900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 17:58:22 +00:00
koopersmith
b3c12bada3 Theme Customizer: Improve activate and publish flow, make customizer states easier to track. fixes #20743, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 17:42:06 +00:00
nacin
ff8b21eb47 s/sumbit/submit/. props tollmanz, fixes #20744.
git-svn-id: http://core.svn.wordpress.org/trunk@20896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 13:45:16 +00:00
nacin
4c7e03281b Run _redirect_to_about_wordpress() in 3.4 due to the change in [20894] and the reliance on ?updated in [20887]. see #19599.
git-svn-id: http://core.svn.wordpress.org/trunk@20895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 13:43:35 +00:00
nacin
206e266cad Use correct variable when redirecting to about.php from update-core.php. fixes #19599.
git-svn-id: http://core.svn.wordpress.org/trunk@20894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 13:41:01 +00:00
koopersmith
d8abece877 Theme Customizer: Add CORS checks to the initial check for customize support. Prevents flash of customize links on large pages. see #20582, #19910.
Add wp_customize_support_script(), to quickly alter the body class based on whether customize is supported.


git-svn-id: http://core.svn.wordpress.org/trunk@20893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 00:15:12 +00:00
azaozz
c4942fae11 Pointers: fix check for defer_loading, fixes #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 22:50:30 +00:00
nacin
d928ce089a _wp_ajax_add_hierarchical_term() no longer gets passed an action, so pull it from POST. see #20699.
git-svn-id: http://core.svn.wordpress.org/trunk@20888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:38:01 +00:00
koopersmith
c3e7ce5320 Theme Customizer: Check for CORS support when the preview and admin urls are cross-domain. Add a fallback to the customize control frame, and check support there as well. see #20582, #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:13:21 +00:00
nacin
92423061e4 Move from 'Upload Image' to 'Select Image' as this section now includes choosing an image from the media library. see #20737.
git-svn-id: http://core.svn.wordpress.org/trunk@20885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:07:39 +00:00
ryan
4cad786961 Improve appearance of "choose from library" link for headers and backgrounds. Props SergeyBiryukov, sabreuse. see #20737
git-svn-id: http://core.svn.wordpress.org/trunk@20884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:03:38 +00:00
koopersmith
84cc00a6e8 Theme Customizer: Improve accuracy of identifying internal urls. see #20507, #19910.
The 'customize_preview_link' filter has been replaced by 'customize_allowed_urls'.
Improved accuracy when checking for wp-admin.
Improved accuracy when attempting to match the schemes of the control and preview frames.
Improved accuracy of internal link whitelist.


git-svn-id: http://core.svn.wordpress.org/trunk@20882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 19:17:49 +00:00
azaozz
7729e3742e Pointers: center pointer on Themes screen, fixes #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 16:34:51 +00:00
westi
b1dc47cc32 Update the About page description of the improvements to the translations loading to more user facing language. Fixes #20742 props vanillalounge.
git-svn-id: http://core.svn.wordpress.org/trunk@20879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 16:15:18 +00:00
ryan
35d5894c27 "Save & Activate", "Save & Publish" for customizer save button. Props jane. see #20692 #19910
git-svn-id: http://core.svn.wordpress.org/trunk@20877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 14:44:13 +00:00
nacin
9dc633d261 Add space between 'Plugins' title and 'Add New' button on plugins.php, like all other screens. [20868] was not meant to hit the 3.3 branch.
git-svn-id: http://core.svn.wordpress.org/trunk@20871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:05:32 +00:00
azaozz
453ab841d0 s/deffer/defer, see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:02:25 +00:00
azaozz
b0e634031f Pointers: add arg to pointer options to load at window.loaded (after all images have been loaded and the layout is finalized) and use it on the custom header screen, see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 06:45:49 +00:00
markjaquith
02ed477f1b Set $action for core ajax callbacks, as it will not be provided by the do_action() call until WordPress 3.5. props kurtpayne. fixes #20699
git-svn-id: http://core.svn.wordpress.org/trunk@20866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 06:40:53 +00:00
koopersmith
4973f92107 Theme Customizer: Change 'Return to...' link to 'Cancel' and move 'Save' button to header. props helenyhou, fixes #20692, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 03:29:51 +00:00
nacin
397fc6f8c9 Refine early bailing checks in customize.php. see #20852.
git-svn-id: http://core.svn.wordpress.org/trunk@20858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 21:00:02 +00:00
ryan
5ed25d4725 Don't pass action ID to the ajax actions to avoid possible back compat problems. Props sivel. fixes #20699
git-svn-id: http://core.svn.wordpress.org/trunk@20857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 20:46:38 +00:00
duck_
c4ff39edf8 Fix minor typos in about.php. See #20423.
git-svn-id: http://core.svn.wordpress.org/trunk@20855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 20:36:46 +00:00
ryan
2f97993537 Updated text for Customize pointer. Props jane. see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 19:49:14 +00:00
nacin
f3ec4f06c6 Remove debug cruft from [20852].
git-svn-id: http://core.svn.wordpress.org/trunk@20853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 18:00:09 +00:00
nacin
95e1c32720 Customize API shuffling.
* Rename WP_Customize to WP_Customize_Manager.
 * Move customize-controls.php to wp-admin/customize.php.
 * Make customize.php the formal entry point, rather than admin.php?customize=on.
 * Rename is_current_theme_active() to is_theme_active().
 * Add getters for the theme, settings, controls, and sections properties.
 * Allow customize.php (no ?theme=) to load the active theme. Not used yet.
see #20736.



git-svn-id: http://core.svn.wordpress.org/trunk@20852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 17:56:42 +00:00
ryan
f550bc01e5 Update old_files. fixes #20727
git-svn-id: http://core.svn.wordpress.org/trunk@20850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 15:05:29 +00:00
azaozz
1b0677795c About screen: fix typo, see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 02:29:58 +00:00
nacin
1627a8cb52 Use mdash. see #20423.
git-svn-id: http://core.svn.wordpress.org/trunk@20848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 02:22:43 +00:00
azaozz
c29d5f423b About screen: make the text translatable again and escape <img src=admin_url(), see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 02:03:52 +00:00
ryan
4685f9ea04 Don't concatenate. see #19910
git-svn-id: http://core.svn.wordpress.org/trunk@20845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 20:34:45 +00:00
ryan
b66fb16fe5 Show the template name instead of just the filename. Props arieputranto, SergeyBiryukov. fixes #20718
git-svn-id: http://core.svn.wordpress.org/trunk@20844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 15:25:35 +00:00
ryan
cb33ac7824 about.php text. Props jane. see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 14:45:50 +00:00
azaozz
901e0b36ed Crush flex-header-media-library.png, see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 02:46:59 +00:00
bumpbot
df1279bd04 Compress scripts/styles: 3.4-beta4-20841.
git-svn-id: http://core.svn.wordpress.org/trunk@20841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 01:58:24 +00:00
azaozz
5027e30a81 Simpler layout for the about screen (still needs text), props chexee, see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 01:58:00 +00:00
ryan
17f9635a45 Feature pointers for choosing an image from the library on the custom header and background pages. see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 20:34:20 +00:00
bumpbot
d8ed87e9e1 Compress scripts/styles: 3.4-beta4-20838.
git-svn-id: http://core.svn.wordpress.org/trunk@20838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 19:58:25 +00:00
ryan
b531b488cf Fix path to customizer collpase arrows. Props markjaquith. fixes #20701
git-svn-id: http://core.svn.wordpress.org/trunk@20835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 19:49:51 +00:00
azaozz
7380c0be3e Fix closing div position when post doesn't support editor, props markoheijnen, SergeyBiryukov, fixes #20709
git-svn-id: http://core.svn.wordpress.org/trunk@20832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-20 22:20:00 +00:00
ryan
15b9961b52 set_url_scheme() for header and background image srcs. see #20702
git-svn-id: http://core.svn.wordpress.org/trunk@20830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 20:22:57 +00:00
ryan
eb09282a9c 'Live Preview' instead of 'Customize' for the customizer links in the theme browser. see #19910
git-svn-id: http://core.svn.wordpress.org/trunk@20827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 16:27:24 +00:00
azaozz
6499a905a3 Image captions: revert label change back to "Caption", fixes #18311
git-svn-id: http://core.svn.wordpress.org/trunk@20826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 02:50:05 +00:00
bumpbot
95ecb49c92 Compress scripts/styles: 3.4-beta4-20825.
git-svn-id: http://core.svn.wordpress.org/trunk@20825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 21:58:27 +00:00
koopersmith
4e5c3519ea Theme Customizer: RTL fixes. props ocean90, fixes #20585, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 21:37:00 +00:00
bumpbot
8f5251dc61 Compress scripts/styles: 3.4-beta4-20819.
git-svn-id: http://core.svn.wordpress.org/trunk@20819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 01:58:25 +00:00
azaozz
1e1a743b2c Retina display icons: add 2x image for wp-badge.png, props chexee, fixes #20293
git-svn-id: http://core.svn.wordpress.org/trunk@20818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 01:04:20 +00:00
bumpbot
9047cffc73 Compress scripts/styles: 3.4-beta4-20815.
git-svn-id: http://core.svn.wordpress.org/trunk@20815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:58:26 +00:00
koopersmith
3940ec2b59 Theme Installer: IE7 compatibility. props ocean90, fixes #20696.
git-svn-id: http://core.svn.wordpress.org/trunk@20813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:41:33 +00:00
koopersmith
32ed08e42b Theme Installer: Prevent unnecessary admin code from printing and print markup in correct order. Remove dead code. props ocean90, fixes #20695.
git-svn-id: http://core.svn.wordpress.org/trunk@20812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:38:53 +00:00
koopersmith
cf81f30e05 Install Themes: Add link to the no-js theme previewer to the 'Preview' link. props ocean90, fixes #20694.
git-svn-id: http://core.svn.wordpress.org/trunk@20811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 21:08:10 +00:00
koopersmith
21384672a4 Manage Themes: Show current theme screen shot when customize is not supported. props ocean90, fixes #20693, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 21:05:11 +00:00
ryan
b212ead08c Remove debug cruft. Fix typo. Props SergeyBiryukov. fixes #20657
git-svn-id: http://core.svn.wordpress.org/trunk@20808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 18:11:19 +00:00
ryan
a6894d0b59 Create a new attachment and make a copy of the image when selecting an image from the image library. This prevents orphaning the header if the original attachment is deleted. This also prevents stomping of meta.
Add a button to skip cropping.

Props SergeyBiryukov
Fixes #20657 #20667


git-svn-id: http://core.svn.wordpress.org/trunk@20806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 17:47:55 +00:00
bumpbot
5181e0abd3 Compress scripts/styles: 3.4-beta4-20803.
git-svn-id: http://core.svn.wordpress.org/trunk@20803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 05:58:24 +00:00
koopersmith
bc99ad372e Theme Customizer: Properly change state when theme is switched. fixes #20610, see #19910.
* Causes the Manage Themes page to refresh if the customizer is closed after the active theme is switched.
* Changes the text of the 'Save and Activate' button once the theme has been activated.
* Improves the naming of the customize control settings.
* Add events to customize.Loader and make callbacks more flexible.
* Makes the customize-loader l10n compatible with non-admin settings.
* Adds WP_Customize->is_current_theme_active().
* Minor style corrections, including jQuery.attr/prop changes.



git-svn-id: http://core.svn.wordpress.org/trunk@20802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 05:55:54 +00:00
bumpbot
d8b1541f91 Compress scripts/styles: 3.4-beta4-20792.
git-svn-id: http://core.svn.wordpress.org/trunk@20792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:58:21 +00:00
koopersmith
ae14873b96 Theme Customizer: Prevent sidebar scrollbar from overlapping sidebar header or footer. fixes #20649, #20650, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:03:31 +00:00
bumpbot
2387c0248f Compress scripts/styles: 3.4-beta4-20790.
git-svn-id: http://core.svn.wordpress.org/trunk@20790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 19:58:19 +00:00
koopersmith
e7f13cd496 Theme Customizer: Fix Opera bug where, once the sidebar was collapsed, it could not be re-opened. props rosshanney. fixes #20452, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 19:19:34 +00:00
ryan
52e7e65d2d Make the file names unique for cropped header images. Props SergeyBiryukov. fixes #20666
git-svn-id: http://core.svn.wordpress.org/trunk@20787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 17:53:03 +00:00
ryan
28d2b205d8 Remove activate/deactivate messages from plugin upgrades. Props toppa. fixes #17833
git-svn-id: http://core.svn.wordpress.org/trunk@20786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-14 17:24:44 +00:00
nacin
d3f640c9ac Revert [20776], and instead pass the current locale to browsehappy.com.
git-svn-id: http://core.svn.wordpress.org/trunk@20781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-13 22:44:01 +00:00
nacin
c183c30303 Translate the 'http://browsehappy.com/' URL. See http://wp.me/p10SQN-r8.
git-svn-id: http://core.svn.wordpress.org/trunk@20776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 21:29:01 +00:00
ryan
e44a0c3930 First pass at 3.4 pointers. Add pointer to the customize link for the current theme on themes.php. Support multiple pointers per page. Props scribu. see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 20:29:08 +00:00
bumpbot
eefdd33f6c Compress scripts/styles: 3.4-beta4-20773.
git-svn-id: http://core.svn.wordpress.org/trunk@20773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 19:58:22 +00:00
ryan
07e415d940 Lighten login form input foreground. Props helenyhou. fixes #20648
git-svn-id: http://core.svn.wordpress.org/trunk@20771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 19:33:09 +00:00
ryan
a0f07732d4 Check wp_crop_image() for a false return value. Don't delete original image if crop not sucessful. Don't delete the original image when wp_crop_image() returns it untouched. Prevents deletion of header image when no cropping is done to the originally uploaded image. Props SergeyBiryukov, westi. fixes #20657
git-svn-id: http://core.svn.wordpress.org/trunk@20769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 16:15:15 +00:00
duck_
ae9ce57153 Fix typo in Custom Header contextual help. Props klagraff. Fixes #20518.
git-svn-id: http://core.svn.wordpress.org/trunk@20768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-11 07:12:20 +00:00
bumpbot
dfbb0b3a07 Compress scripts/styles: 3.4-beta4-20766.
git-svn-id: http://core.svn.wordpress.org/trunk@20766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 20:58:24 +00:00
ryan
260b3b07fb Normalize star ratings markup. Props helenyhou. fixes #20655
git-svn-id: http://core.svn.wordpress.org/trunk@20765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 19:59:48 +00:00
bumpbot
65a3d05fdf Compress scripts/styles: 3.4-beta4-20764.
git-svn-id: http://core.svn.wordpress.org/trunk@20764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 19:58:25 +00:00
ryan
2cfd8210e7 Use stars-rtl.png for RTL start support in the theme installer. Props helenyhou, ocean90. fixes #20583
git-svn-id: http://core.svn.wordpress.org/trunk@20763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 19:37:16 +00:00
bumpbot
572fc170fe Compress scripts/styles: 3.4-beta4-20760.
git-svn-id: http://core.svn.wordpress.org/trunk@20760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:58:31 +00:00
koopersmith
e7f756c669 Theme Customizer: Remove !important declarations from hide-if-customize and hide-if-no-customize classes. Use a default no-customize-support class on the body so we can use an element's original display property when visible. fixes #20565, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:47:15 +00:00
ryan
7e3010ef46 Use correct translation function. Props kobenland, SergeyBiryukov. fixes #20646
git-svn-id: http://core.svn.wordpress.org/trunk@20757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:13:22 +00:00
bumpbot
8c2cc130f6 Compress scripts/styles: 3.4-beta4-20755.
git-svn-id: http://core.svn.wordpress.org/trunk@20755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 16:58:29 +00:00
ryan
1f3da6568d Update plugin install screens to use the new stars. Add stars-rtl.png. Remove star.png and gray-star.png and add to old files list.
Props helenyhou
Fixes #20626



git-svn-id: http://core.svn.wordpress.org/trunk@20754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 16:27:24 +00:00
ryan
df7e72511a Restrict the media editor to posts with the attachment post type. Props helenyhou. fixes #20625
git-svn-id: http://core.svn.wordpress.org/trunk@20753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 16:16:03 +00:00
ryan
1a5249997e Friendlier strings with links to the support forums when experiencing problems talking to api.wordpress.org. fixes #20605
git-svn-id: http://core.svn.wordpress.org/trunk@20752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 15:55:59 +00:00
ryan
519af69e93 When showing already installed themes in the theme installer list, indicate in the row actions that the theme is installed and offer an update link if updates are available.
Props SergeyBiryukov
Fixes #20618


git-svn-id: http://core.svn.wordpress.org/trunk@20751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 15:01:49 +00:00
bumpbot
b78ade049f Compress scripts/styles: 3.4-beta4-20750.
git-svn-id: http://core.svn.wordpress.org/trunk@20750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 03:58:27 +00:00
azaozz
1f44403272 Auto-fold the admin menu with CSS, fixes #20642
git-svn-id: http://core.svn.wordpress.org/trunk@20749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 03:56:40 +00:00
koopersmith
3fc77d1465 Lighten foreground color for inputs to match the standard body text. Also lighten several other instances of pure black. props helenyhou, fixes #19923.
git-svn-id: http://core.svn.wordpress.org/trunk@20748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 03:25:22 +00:00
koopersmith
931ce249e4 Theme Customizer: Link the current theme screenshot to the customizer. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 01:38:54 +00:00
bumpbot
d5cf655ad3 Compress scripts/styles: 3.4-beta4-20744.
git-svn-id: http://core.svn.wordpress.org/trunk@20744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 23:58:24 +00:00
koopersmith
d5d0a73719 Theme Customizer: Add basic loading indicator when loading the customizer inside an iframe. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 23:37:05 +00:00
ryan
f5366a2ccf Don't delete nav menu items when the user that owns them is deleted.
* Introduce delete_with_user flag to register_post_type
* Set delete_with_user to false for the nav_menu_item post type
* Set it to true for all other core post types
* If delete_with_user is not set, fallback to post_type_supports('author')

Props nacin
Fixes #16358


git-svn-id: http://core.svn.wordpress.org/trunk@20739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-08 17:01:50 +00:00
ryan
fbe317f406 Contextual help updates for themes.php and theme-install.php. Props TomAuger. fixes #20515
git-svn-id: http://core.svn.wordpress.org/trunk@20736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 17:26:16 +00:00
ryan
fa13d2cf18 Update upload-html-bypass string to reflect that the uploader is no longer new. Props Ipstenu. fixes #20627
git-svn-id: http://core.svn.wordpress.org/trunk@20735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 16:48:35 +00:00
ryan
796d0fd692 Switch to WP_Theme::display() in theme update message. Props SergeyBiryukov. fixes #20623
git-svn-id: http://core.svn.wordpress.org/trunk@20733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-07 16:16:17 +00:00
bumpbot
21992b16ee Compress scripts/styles: 3.4-beta4-20731.
git-svn-id: http://core.svn.wordpress.org/trunk@20731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-06 23:58:23 +00:00
koopersmith
8d3c911831 Add 'Install now', 'Preview', and 'Details' links to theme install list items. fixes #20403.
git-svn-id: http://core.svn.wordpress.org/trunk@20730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-06 23:06:47 +00:00
ryan
d855864867 Remove editor_template_src.js from old files list. It should not be deleted. Props Jayjdk. fixes #20539
git-svn-id: http://core.svn.wordpress.org/trunk@20728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-05 21:10:18 +00:00
ryan
7492cefdf5 Update contextual help for Tools screen. Props SergeyBiryukov, ajacommerce, DrewAPicture. fixes #19523
git-svn-id: http://core.svn.wordpress.org/trunk@20727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-05 19:09:08 +00:00
nacin
5030fa458d Remove the Ryan Boren Comedy Script from the POT file.
git-svn-id: http://core.svn.wordpress.org/trunk@20722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-04 01:17:27 +00:00
ryan
7856b1bf65 Dummy test for about.php. see #20423
git-svn-id: http://core.svn.wordpress.org/trunk@20720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-04 00:39:28 +00:00
ryan
9dfe713b5a Don't concatenate translated strings. see #20518
git-svn-id: http://core.svn.wordpress.org/trunk@20719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 22:00:25 +00:00
ryan
1e54f64be5 Custom header contextual help updates. Props TomAuger. see #20518
git-svn-id: http://core.svn.wordpress.org/trunk@20718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 21:54:50 +00:00
bumpbot
37d49fc7b4 Compress scripts/styles: 3.4-beta4-20717.
git-svn-id: http://core.svn.wordpress.org/trunk@20717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 17:58:27 +00:00
koopersmith
8f17fd5034 Fix markup in wp-admin/themes.php. see #20403.
* Always print opening form tag.
* Always ensure table content clears to the next line. This prevents table content from bunching next to the 'Available Themes' headline, which occurred when only one theme was active on a multisite install.


git-svn-id: http://core.svn.wordpress.org/trunk@20716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 17:54:20 +00:00
ryan
8c114f0c54 Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@20715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 16:41:59 +00:00
nacin
eb8e069932 Correct the link to http://codex.wordpress.org/Network_Admin_Sites_Screen in the network admin help sidebars. props Nao. fixes #20607.
git-svn-id: http://core.svn.wordpress.org/trunk@20713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 13:34:33 +00:00
nacin
15b661ecab Make admin-head-callback optional for custom headers. Reverts part of [20684]. fixes #20603.
git-svn-id: http://core.svn.wordpress.org/trunk@20712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 13:30:55 +00:00
nacin
1963cc8070 Add a filter to wp_terms_checklist() that wraps the function's arguments.
Mainly designed to allow checked_ontop to be turned off.

props husobj.
fixes #20054.



git-svn-id: http://core.svn.wordpress.org/trunk@20710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 01:15:18 +00:00
bumpbot
a5e53687b9 Compress scripts/styles: 3.4-beta3-20709.
git-svn-id: http://core.svn.wordpress.org/trunk@20709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 22:58:29 +00:00
azaozz
1e07a49337 Fix columns in IE7 on Appearance -> Themes screen, props SergeyBiryukov, fixes #20591
git-svn-id: http://core.svn.wordpress.org/trunk@20708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 22:11:58 +00:00
bumpbot
74e51d0f80 Compress scripts/styles: 3.4-beta3-20707.
git-svn-id: http://core.svn.wordpress.org/trunk@20707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:58:30 +00:00
ryan
61ffb70037 Don't convert png to jpg when cropping a header. Prevents stomping transparency. Props SergeyBiryukov, kovshenin. fixes #20555
git-svn-id: http://core.svn.wordpress.org/trunk@20706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:35:56 +00:00
ryan
de86b02f42 Styling and RTL style fixes for user/site autocomplete. Props ocean90, helenyhou. fixes #20584
git-svn-id: http://core.svn.wordpress.org/trunk@20705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:33:43 +00:00
nacin
c64ed056ac Do not force table names to be lowercase in dbDelta, as this breaks sites using capital letters in table prefixes. props netweblogic. fixes #19748.
git-svn-id: http://core.svn.wordpress.org/trunk@20704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:19:37 +00:00
azaozz
83e29ead52 Add blue sprite for icons32, props SergeyBiryukov, fixes #20293
git-svn-id: http://core.svn.wordpress.org/trunk@20702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 21:01:21 +00:00
nacin
026289fa33 A more resilient check for the base table prefix. see #19970.
git-svn-id: http://core.svn.wordpress.org/trunk@20700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:38:58 +00:00
nacin
c02d96890a Issue an error during the WordPress install process if wp-config.php is configured with an empty database table prefix, which is not supported.
props SergeyBiryukov.
fixes #19970.



git-svn-id: http://core.svn.wordpress.org/trunk@20699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:37:18 +00:00
azaozz
a0beb9a1d1 Admin menu: change to strip_tags() for the aria-label attributes as it's faster, fixes #20373
git-svn-id: http://core.svn.wordpress.org/trunk@20698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:36:07 +00:00
koopersmith
1c102d3180 Add quote to fix 'Customize' link after new theme install on Chrome. props DH-Shredder, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:22:02 +00:00
bumpbot
803b3aa13a Compress scripts/styles: 3.4-beta3-20693.
git-svn-id: http://core.svn.wordpress.org/trunk@20693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 19:58:23 +00:00
nacin
3818ab7abf Widen fields for QuickPress and Quick Edit for the lt_LT locale. props settle. see #19603.
git-svn-id: http://core.svn.wordpress.org/trunk@20692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 19:30:38 +00:00
bumpbot
dad497a12a Compress scripts/styles: 3.4-beta3-20690.
git-svn-id: http://core.svn.wordpress.org/trunk@20690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 17:58:25 +00:00
nacin
153112bb3a Fix the image overlap with the Press This bookmarklet in RTL. props dd32 for the initial patch. fixes #19502.
git-svn-id: http://core.svn.wordpress.org/trunk@20689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 17:54:20 +00:00
bumpbot
5a37c2f523 Compress scripts/styles: 3.4-beta3-20681. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@20681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:58:25 +00:00
azaozz
46839c23eb Admin menu: add aria-label attributes to the links around menu images for the sake of screen readers, fixes #20373
git-svn-id: http://core.svn.wordpress.org/trunk@20680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:41:15 +00:00
azaozz
e8beafd57b Change the image caption shortcode format to [caption ...]<a><img /></a> caption text + html[/caption]. That way HTML tags in captions are better supported and the shortcode wouldn't break when using the wrong quotes. Props sushkov, nacin, fixes #18311
git-svn-id: http://core.svn.wordpress.org/trunk@20679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:14:52 +00:00
bumpbot
a9263fe649 Compress scripts/styles: 3.4-beta3-20678.
git-svn-id: http://core.svn.wordpress.org/trunk@20678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:58:23 +00:00
azaozz
08924f3439 Move the check for body.mobile in postbox.js to a variable as it's used in more than one place, props georgestephanis, scribu, fixes #20561
git-svn-id: http://core.svn.wordpress.org/trunk@20677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:50:47 +00:00
ryan
6670a497dd Clarify the uploading options in the media-new.php contextual help.
Props Ipstenu, DrewAPicture
fixes #19442


git-svn-id: http://core.svn.wordpress.org/trunk@20676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:23:15 +00:00
nacin
886ee992be Replace commas with periods when converting ratings float values to strings, to avoid issues with localized decimal points.
In these cases, we want a period because it is going to be used by CSS.

props SergeyBiryukov.
fixes #19593.



git-svn-id: http://core.svn.wordpress.org/trunk@20675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:09:55 +00:00
ryan
52c4490065 RTL style fixes for the Theme Customizer. Props ocean90, helenyhou.
git-svn-id: http://core.svn.wordpress.org/trunk@20674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:06:53 +00:00
ryan
1491c8c531 RTL style fixes for the install theme info sidebar. Props ocean90. fixes #20583
git-svn-id: http://core.svn.wordpress.org/trunk@20673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:05:35 +00:00
nacin
74eecbbdb7 Don't show the 'Preview Changes' button for a non-public post type. props intoxstudio, see #17609.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 17:52:08 +00:00
bumpbot
01b652696f Compress scripts/styles: 3.4-beta3-20663.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:58:31 +00:00
nacin
d6a3b4de6f Make the Press This draggable bookmarklet a flexible width to support languages with long words. props SergeyBiryukov, fixes #19957.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:57:11 +00:00
ryan
e0ba13d56c setup-config.php cleanups
* Don't allow an empty prefix
* Make slashing consistent and sane

Props SergeyBiryukov
Fixes #13839


git-svn-id: http://svn.automattic.com/wordpress/trunk@20661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:56:32 +00:00
ryan
7221a98a89 Set foreground color to #000 for form inputs. Props helenyhou, convissor. fixes #19923
git-svn-id: http://svn.automattic.com/wordpress/trunk@20659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:45:10 +00:00
nacin
23533ab628 Remove ru_RU-specific CSS that is no longer necessary after [20616]. props SergeyBiryukov. fixes #20568.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:42:47 +00:00
nacin
659bcd078e Fix some unused/bad CSS for Press This backgrounds and gradients. props georgestephanis, helenyhou. fixes #20573.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:32:44 +00:00
bumpbot
8f97933671 Compress scripts/styles: 3.4-beta3-20651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 20:58:24 +00:00
ryan
93d9788068 Prevent accidental multiple click when creating new categories. Props mdawaffe. fixes #17936
git-svn-id: http://svn.automattic.com/wordpress/trunk@20650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 20:50:50 +00:00
nacin
608b26589e Default to keyword searches for the plugin and theme installers in case no search type is posted back. fixes #19619.
props georgestephanis, SergeyBiryukov for initial patches.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 00:44:47 +00:00
bumpbot
90e0f66bf1 Compress scripts/styles: 3.4-beta3-20634.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-28 20:58:20 +00:00
azaozz
3ff4f1fc69 Always hide the admin menu arrow in IE8 (doesn't work there), props casben79, SergeyBiryukov, fixes #19586
git-svn-id: http://svn.automattic.com/wordpress/trunk@20633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-28 20:55:56 +00:00
nacin
4ffc5dd0f4 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: http://svn.automattic.com/wordpress/trunk@20631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 23:13:39 +00:00
nacin
2a615d274e Clean up messages on edit.php. see #19470.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 22:54:02 +00:00
bumpbot
c600e21e43 Compress scripts/styles: 3.4-beta3-20629.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 20:58:24 +00:00
azaozz
641650117e Widgets: remove the widget title shown in the widget header when empty or doesn't exist, part props kawauso, fixes #19925
git-svn-id: http://svn.automattic.com/wordpress/trunk@20628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 20:34:35 +00:00
bumpbot
8929b78ae2 Compress scripts/styles: 3.4-beta3-20627.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:58:23 +00:00
azaozz
ec8b201777 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: http://svn.automattic.com/wordpress/trunk@20626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:52:13 +00:00
nacin
48fde56f29 Add a max of 999 to the screen options items per page input. props georgestephanis. fixes #20420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:46:33 +00:00
duck_
a442d476fe Check that $post_type_object exists before accessing its properties. Props markoheijnen. Fixes #20064.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:32:32 +00:00
nacin
b82ddbd98b Do not break a domain on network/site-new.php across two lines. props SergeyBiryukov, fixes #19895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:02:10 +00:00
bumpbot
2dfc4aa101 Compress scripts/styles: 3.4-beta3-20620.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:58:22 +00:00
nacin
0af650a02c 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: http://svn.automattic.com/wordpress/trunk@20619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:57:59 +00:00
nacin
2f26bbdf8d Int cast a step variable. see #19786. props Caspie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:57:08 +00:00
nacin
e949a5bd93 Force the plugin details to be LTR for all screens. props dd32. fixes #19778.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:52:58 +00:00
nacin
a5cdba485d 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: http://svn.automattic.com/wordpress/trunk@20616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:22:47 +00:00
nacin
82aacfe420 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: http://svn.automattic.com/wordpress/trunk@20614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:05:43 +00:00
nacin
c68f8c46f0 Use maybe_serialize() where appropriate. fixes #19617.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 15:57:51 +00:00
nacin
45d66d7d62 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: http://svn.automattic.com/wordpress/trunk@20609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-26 21:09:51 +00:00
nacin
e09d2e6f76 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: http://svn.automattic.com/wordpress/trunk@20605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-26 00:58:16 +00:00
ryan
25ec571dae 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: http://svn.automattic.com/wordpress/trunk@20594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 20:24:20 +00:00
nacin
d17afd15a4 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: http://svn.automattic.com/wordpress/trunk@20592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 19:37:19 +00:00
azaozz
a1e92cae9d Fix typo in a comment, props SergeyBiryukov, fixes #20506
git-svn-id: http://svn.automattic.com/wordpress/trunk@20591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 17:49:48 +00:00
nacin
1e500bd76a Remove WP_Theme::is_child_theme() in favor of WP_Theme::parent(). see #20546.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 17:34:19 +00:00
bumpbot
103ecdf368 Compress scripts/styles: 3.4-beta3-20582.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 22:58:22 +00:00
ryan
646cb4e2ce * Return empty arrays instead of false for all conditions in get_blogs_of_user().
* When deleting a user, use a delete_metadata_by_mid() loop over the meta so that the meta cache is cleared.
* Use remove_user_from_blog() for DRYness.

Props nacin, duck_
Fixes #19500


git-svn-id: http://svn.automattic.com/wordpress/trunk@20581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 22:13:47 +00:00
azaozz
b6b321a203 Uploader: fix check for error message send from async-upload on failed uploads, improve styling it a bit, props trepmal, SergeyBiryukov, fixes #20445
git-svn-id: http://svn.automattic.com/wordpress/trunk@20580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 22:06:55 +00:00
ryan
df7bd632f2 Clean out layout columns API in WP_Screen.
* Move layout column setup into render_screen_meta() so that the number of columns is available earlier.
* Store the user provisioned number of columns in an instance var.
* Access the var with get_columns()
* Move all templates away from the screen_layout_columns global to the get_columns() method.
* Deprecate the global
* Remove the no longer needed check for 'auto' in the user option.
* Cast the user option to an int.

Props griffinjt
fixes #20506


git-svn-id: http://svn.automattic.com/wordpress/trunk@20579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 20:46:04 +00:00
bumpbot
300ea7891d Compress scripts/styles: 3.4-beta3-20574.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 23:58:22 +00:00
azaozz
03a977b18e Remove one more duplicate of .screen-per-page, props ocean90, fixes #20526
git-svn-id: http://svn.automattic.com/wordpress/trunk@20573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 23:36:09 +00:00
azaozz
f092bf9a71 Lengthen the "screen-per-page" input box to prevent cutoff caused by setting type="number", remove some duplicate css, props thezman84, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 23:00:14 +00:00
azaozz
f5095b91d4 Dashboard and write screen columns: remove unneeded class from the .wrap div on Write/Edit screens, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 22:40:59 +00:00
duck_
1e76fdfb4b Accept a post object in clean_post_cache(). Fixes #20486.
The post_type can then be accessed to properly clean the taxonomy relationships cache.
The full object is useful in situations when an ID might reference a post that has been
removed from the database (e.g. wp_delete_post()).


git-svn-id: http://svn.automattic.com/wordpress/trunk@20569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 22:04:35 +00:00
ryan
348c188871 Add additional files/dirs for removal and tidy up $_old_files.
Props aldenta
Fixes #20472


git-svn-id: http://svn.automattic.com/wordpress/trunk@20567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 21:48:09 +00:00
azaozz
589792fca1 Move closing HTML tag outside _e(), props jiehanzheng, fixes #20510
git-svn-id: http://svn.automattic.com/wordpress/trunk@20564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-22 23:29:52 +00:00
nacin
53bdf5bffc Issue a 'This theme is broken' error (when applicable) on the theme editor. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 21:23:27 +00:00
nacin
d62b91f228 Adjust [20557] and check only parent(), as it is more semantic. We don't care if the theme considers itself to be a child theme, we care if it has a valid parent. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 21:03:23 +00:00
nacin
a5a13979bd A child theme with a missing parent might be is_child_theme() but not have a valid parent() object, so we need to check parent() too. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 21:00:24 +00:00
nacin
f73524c272 Don't allow themes without a style.css editor to be edited. These themes are too broken to be salvaged by the theme editor. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 20:57:54 +00:00
nacin
e098306abe Correct logic in deactivate_plugins() where network_wide = null. props SergeyBiryukov. fixes #20497.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 00:45:53 +00:00
azaozz
f58a801e62 Fix typo in the error message shown when a device doesn't support uploading, props SergeyBiryukov, fixes #20410
git-svn-id: http://svn.automattic.com/wordpress/trunk@20544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 01:10:39 +00:00
bumpbot
539bffd7fa Compress scripts/styles: 3.4-beta2-20536.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 14:58:27 +00:00
duck_
192a2e2f31 Don't call updatePending() if the pending count hasn't changed. See #19905.
Stops a zero pending count bubble being shown when unspamming and approved comment
when there are no pending comments.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 14:32:45 +00:00
duck_
9e8ebc70f1 Remove "Approve" bulk action when viewing spam comments as it isn't shown in the row actions. Props russellwwest. Fixes #20123.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 14:00:44 +00:00
nacin
3dadfd1316 Add missing variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 06:38:19 +00:00
nacin
c23bf21079 Clean up plugins.php with regards to recently edited files, deactivations, and the network admin. see #20468, #20104.
* Limit recently_activated to the site dashboard, and properly remove bulk-activated plugins from the array.
 * Remove code used from before the network admin, such as the unused 'network' plugin_status.
 * Don't try to deactivate a plugin already deactivated.
 * Use more specific caps (manage_network_plugins) rather than is_super_admin().



git-svn-id: http://svn.automattic.com/wordpress/trunk@20525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 03:41:29 +00:00
duck_
53e6ba7959 clean_user_cache() after the DELETE query in wp_delete_user(). See #20460.
This is to prevent plugins managing to hook in between the cache cleaning and the actual deletion.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 21:24:53 +00:00
duck_
e641c48a72 Pass full user objects to clean_user_cache(). See #19500, fixes #20460.
Prevents notices when clean_user_cache() is called for a user that has been removed from the database.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 21:07:31 +00:00
bumpbot
715efd86f0 Compress scripts/styles: 3.4-beta2-20521. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:58:24 +00:00
koopersmith
73246fa076 Theme Customizer: Remove unused 'template' argument from wp_customize_url. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:57:06 +00:00
azaozz
88752323cb Fix floated #post-body-content on the Appearance -> Menus screen, props SergeyBiryukov, fixes #20467
git-svn-id: http://svn.automattic.com/wordpress/trunk@20516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:05:48 +00:00
bumpbot
2aff17ee0e Compress scripts/styles: 3.4-beta2-20515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 19:58:21 +00:00
koopersmith
a011f7f4b0 RTL styles for theme browsing. props ocean90, fixes #20391, see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 19:28:36 +00:00
nacin
dad05727fc Check for the response property in tue update_plugins transient object. props ampt, fixes #20441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 02:43:13 +00:00
nacin
456206c741 Do sanity checks for register_globals and magic quotes in setup-config.php. see #13839.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 21:52:02 +00:00
koopersmith
3f148d4e8f Theme Customizer: If the customize loader is enqueued, then add the 'customize-support' class early. This prevents a flash of unstyled content. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:59:09 +00:00
bumpbot
2884dc969d Compress scripts/styles: 3.4-beta2-20478.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:58:23 +00:00
nacin
aab399efbc Theme Customizer: Stick to wp_customize_url() instead of wp_customize_href(). Switch argument order so it is stylesheet-template. (Template is hypothetically optional, but the function will not support that.) see #19910.
Move to ->display('Name'), as ->get('Name') is a raw, untranslated version of the header.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:36:47 +00:00
koopersmith
a5dacf7da5 Theme Customizer: Allow the customize iframe to be accessed directly (with full feature support). see #19910.
* Move the 'Return to Manage Themes' and 'Collapse Sidebar' actions from themes.php to customize-controls.php.
* Create a postMessage connection between themes.php and customize-controls.php.
* Allow the theme customizer to be accessed directly (independent of themes.php and the customize loader).
* Add wp_customize_href() and wp_customize_url().
* Remove wp_customize_loader(). To include the loader, use wp_enqueue_script( 'customize-loader' ).
* The theme customizer now requires postMessage browser support.
* Add .hide-if-customize and .hide-if-no-customize CSS classes.
* Clean up customize-preview.js.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:02:28 +00:00
bumpbot
64303ca4e8 Compress scripts/styles: 3.4-beta2-20460.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 22:58:24 +00:00
koopersmith
24c818ec0b Manage Themes: Improved separators (markup/styles) for current theme options menu. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 22:16:51 +00:00
koopersmith
76e5f1d012 Manage Themes: Improved separators (markup/styles) for current theme author/version. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 22:03:57 +00:00
bumpbot
ee1bfeb6ab Compress scripts/styles: 3.4-beta2-20457.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:58:23 +00:00
koopersmith
017c1a2b81 Theme Customizer: RTL styles. props ocean90. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:53:19 +00:00
koopersmith
1ec7a95c8b Theme list table style improvements. Make 'delete' link red and separate from other actions. New action separators. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:10:40 +00:00
ryan
54b3b79dea Use correct var name. Props mattonomics. fixes #20432
git-svn-id: http://svn.automattic.com/wordpress/trunk@20454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:02:24 +00:00
ryan
27630a4286 Schedule auto-draft deletion from post-new.php instead of from admin.php. This provides better throttling for large multisite installs and reduces the risk of a delete avalanche.
fixes #19663


git-svn-id: http://svn.automattic.com/wordpress/trunk@20453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 18:49:48 +00:00
azaozz
817b932ed1 Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410
git-svn-id: http://svn.automattic.com/wordpress/trunk@20449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 00:16:37 +00:00
bumpbot
ae65b6a352 Compress scripts/styles: 3.4-beta1-20447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 21:58:22 +00:00
koopersmith
892307d36c Shrink theme screenshots for smaller screen resolutions. props helenyhou, see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 21:54:56 +00:00
koopersmith
e1d8dcddef CSS improvements for the 'Current Theme' section. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 21:19:32 +00:00
nacin
2dd485a823 s/website/network/ on the network settings screen. props Ipstenu, fixes #20314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:45:03 +00:00
ryan
28f8e7a63d Move deletion of auto-draft posts to the wp_scheduled_delete cron function. Props mgolawala. fixes #19663
git-svn-id: http://svn.automattic.com/wordpress/trunk@20440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:39:09 +00:00
nacin
5e6d499889 Use home_url() instead of get_bloginfo('url'). props Mamaduka, fixes #20371.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:22:48 +00:00
nacin
8789d023b2 Check if the response property is set before continuing with the update_themes transient return value. props johnbillion, fixes #20378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:15:31 +00:00
azaozz
6aaf0dad43 Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014
git-svn-id: http://svn.automattic.com/wordpress/trunk@20433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 02:20:51 +00:00
bumpbot
f89c8b2910 Compress scripts/styles: 3.4-beta1-20432.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 01:58:23 +00:00
azaozz
31b26e343a Add New User screen: don't bind to blur event on the user_name fields when the <select> doesn't exist, props SergeyBiryukov, fixes #20392
git-svn-id: http://svn.automattic.com/wordpress/trunk@20431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 01:57:58 +00:00
azaozz
000b7a9313 Move mobile devices CSS from wp-login.php to wp-admin.css, props SergeyBiryukov, fixes #19673
git-svn-id: http://svn.automattic.com/wordpress/trunk@20430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 01:45:01 +00:00
bumpbot
339a365bb3 Compress scripts/styles: 3.4-beta1-20427.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 21:58:27 +00:00
koopersmith
9f64b56973 Larger screenshots in theme list tables. see #20403, #19816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 21:09:14 +00:00
ryan
baf681233f Pass post_type to clean_post_cache() instead of attempting to fetch a post object since the post may have been deleted.
Props leewillis77
see #19690


git-svn-id: http://svn.automattic.com/wordpress/trunk@20423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 16:09:44 +00:00
azaozz
5de5c9a64d Consistently remove links to media-new.php for mobile devices, props SergeyBiryukov, see #20405
git-svn-id: http://svn.automattic.com/wordpress/trunk@20422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 03:18:48 +00:00
azaozz
66a7dd4697 Move the wp_is_mobile() check after the admin bootstrap in media-new.php, props SergeyBiryukov, see #20014
git-svn-id: http://svn.automattic.com/wordpress/trunk@20420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 02:34:47 +00:00
koopersmith
c2fb0c425b Replace all instances of thickbox theme preview with the theme customizer. fixes #20404.
* Use theme customizer in theme install/update screens.
* Separate the customize loader from the customizer. Use wp_customize_loader() to include the loader script and markup.
* Deprecated: wp-admin/js/theme-preview.js is now no longer used by core.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 02:25:03 +00:00
bumpbot
b15a9dde67 Compress scripts/styles: 3.4-beta1-20418.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 01:58:27 +00:00
azaozz
1d12cd07b0 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
git-svn-id: http://svn.automattic.com/wordpress/trunk@20417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 01:19:30 +00:00
bumpbot
36a725ff82 Compress scripts/styles: 3.4-beta1-20416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 00:58:23 +00:00
koopersmith
10d045358d Fix showing/hiding theme details and move code from theme-preview.js to theme.js. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 00:34:39 +00:00
koopersmith
b909e55294 Theme browsing UX improvements. see #20403.
* On manage/install themes pages, moved author under theme name.
* On manage themes page, moved version number to details.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 00:15:13 +00:00
bumpbot
14a2452d72 Compress scripts/styles: 3.4-beta1-20413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 23:58:24 +00:00
koopersmith
7c66ca2021 Remove CSS involving unused '#theme-information' selector. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 23:48:12 +00:00
koopersmith
c5d236110a Remove CSS involving unused '.theme-listing' selector. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 23:22:59 +00:00
bumpbot
63818c06a2 Compress scripts/styles: 3.4-beta1-20408.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 18:58:20 +00:00
azaozz
04f6979a13 Don't try to append "Display Name" options when on the Add New User screen (the <select> doesn't exist there), props pbiron, SergeyBiryukov, fixes #20392
git-svn-id: http://svn.automattic.com/wordpress/trunk@20407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-09 18:46:36 +00:00
bumpbot
3c980edec3 Compress scripts/styles: 3.4-beta1-20401.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 20:58:27 +00:00
azaozz
30575854ec Center the menu icons when the menu is folded. For proper display in RTL the width of .wp-menu-image has to be 30px. Props helenyhou, fixes #20382
git-svn-id: http://svn.automattic.com/wordpress/trunk@20400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 20:18:18 +00:00
bumpbot
e60bdb8dc3 Compress scripts/styles: 3.4-beta1-20394.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 00:58:21 +00:00
koopersmith
3230ba3987 Theme Customizer: Move 'collapse' button to footer and add a visible text label. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 00:10:22 +00:00
bumpbot
0dab6433cf Compress scripts/styles: 3.4-beta1-20388.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 21:58:20 +00:00
azaozz
810a02cc4c Reset negative top margin on submenus when folding/unfolding the admin menu, fixes #20380
git-svn-id: http://svn.automattic.com/wordpress/trunk@20387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 21:40:57 +00:00
bumpbot
4eca3fb67e Compress scripts/styles: 3.4-beta1-20385.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 20:58:21 +00:00
ryan
a7f2d67f6d Make choosing a header image from the media library play nicely with file replication plugins that do not guarantee images will be retained in the local filesystem.
* When passing an attachment ID to wp_crop_image(), use load_image_to_edit() to fetch the image via a url fopen when the image does not exist in the filesystem.
* Move load_image_to_edit() to wp-admin/includes/image.php so that it is always available for admin pages loads.
* Fallback to the height and width stored in the attachment meta when the image no longer exists in the filesystem.

see #19840


git-svn-id: http://svn.automattic.com/wordpress/trunk@20384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 20:47:24 +00:00
azaozz
2578d9e12a Ensure the first icon is not covered by the wrapper div in the Welcome tab on the dashboard, fixes #20366
git-svn-id: http://svn.automattic.com/wordpress/trunk@20383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 20:15:14 +00:00
nacin
d5cc12048e Use _callback, rather than an unhelpful 2, for a preg_replace callback function name. Add proper phpdoc. see #20369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 20:05:31 +00:00
duck_
1480a33d25 Simplify caption cleanup callbacks; if the function was called we know that the 0 index is set. See #20369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 19:52:34 +00:00
nacin
789b3714d3 Use WP_Theme::exists(). see #20361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 19:21:31 +00:00
ryan
de41bc288b Introduce WP_User::exists(). see #20372
git-svn-id: http://svn.automattic.com/wordpress/trunk@20378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 19:18:45 +00:00
azaozz
f06fb15878 Pluck a tab (whitespace), props SergeyBiryukov, see #20369
git-svn-id: http://svn.automattic.com/wordpress/trunk@20377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 18:26:14 +00:00
azaozz
2441cb0cae Fix second callback when filtering caption text for shortcode, props SergeyBiryukov, fixes #20369
git-svn-id: http://svn.automattic.com/wordpress/trunk@20376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 17:38:49 +00:00
bumpbot
a682a7adaf Compress scripts/styles: 3.4-beta1-20370.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 11:58:23 +00:00
duck_
72c5403630 Remove duplicate JavaScript. Props aaroncampbell. See #19840, fixes #20363.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 11:14:32 +00:00
bumpbot
7946faa804 Compress scripts/styles: 3.4-beta1-20368.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:57:33 +00:00
azaozz
a4b22b61a2 Dashboard icon back in, see #20293
git-svn-id: http://svn.automattic.com/wordpress/trunk@20367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:55:35 +00:00
bumpbot
69d06ff2ef Compress scripts/styles: 3.4-alpha-20365.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:34:01 +00:00
azaozz
0b5f4018d2 More specific selectors for the 2x images take 2, don't specify background-size for the 1x background, see #20293
git-svn-id: http://svn.automattic.com/wordpress/trunk@20364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:30:06 +00:00
nacin
a54b4f9c9e Always return a WP_Theme object from wp_get_theme(). Check \$theme->exists() or \$theme->errors() to confirm the requested theme actually exists. see #20361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:05:49 +00:00
azaozz
6683f9813d More specific selectors for the 2x images, see #20293
git-svn-id: http://svn.automattic.com/wordpress/trunk@20362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 01:02:36 +00:00
bumpbot
756a8141df Compress scripts/styles: 3.4-alpha-20361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 00:58:26 +00:00
nacin
8209573a08 Empty media-gallery.js - bumpbot hungry. see [20359].
git-svn-id: http://svn.automattic.com/wordpress/trunk@20360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 00:23:12 +00:00
ryan
f455e41154 Add media-gallery js. see #19840
git-svn-id: http://svn.automattic.com/wordpress/trunk@20359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 00:21:28 +00:00
ryan
d3134e2688 Allow selecting custom header and background images from the media library. Props aaroncampbell, sabreuse, greuben. fixes #19840
git-svn-id: http://svn.automattic.com/wordpress/trunk@20358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-05 00:20:28 +00:00
bumpbot
a5946c3e4c Compress scripts/styles: 3.4-alpha-20357.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 23:58:25 +00:00
azaozz
605c927a5d Double-size icons and WordPress logo for retina displays, props chexee, props empireoflight, props iammattthomas, see #20293
git-svn-id: http://svn.automattic.com/wordpress/trunk@20356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 23:02:51 +00:00
bumpbot
d660121e01 Compress scripts/styles: 3.4-alpha-20355.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 21:58:23 +00:00
koopersmith
d62266817b Theme Customizer: Add a link to customize the current theme. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 21:41:51 +00:00
koopersmith
2fd59af7a6 Theme Customizer: Improve the customize loader and themes list table markup. see #19910.
* Use event delegation for triggering the customize loader (so we play nicely with infinite scroll).
* Use data attributes on .load-customize links instead of parsing the href.
* Properly translate the 'Customize' string instead of injecting the replacement with JS.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 21:02:29 +00:00
duck_
3738a692a3 Make comment type filter persist across views (e.g. approved, spam) of the list of comments. Fixes #20281.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 17:36:23 +00:00
duck_
457d2db64b Add some missing documentation and fix a couple of typos. Props roscius. Fixes #19756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 17:32:03 +00:00
bumpbot
c3cf0b5dd6 Compress scripts/styles: 3.4-alpha-20348.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 02:58:22 +00:00
azaozz
a70d52fb97 RTL for the responsive columns, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 02:46:38 +00:00
azaozz
d3a9ab7e26 Make the layout of the tables on edit link screen "liquid" so they can be shown on the side, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-04 02:45:30 +00:00
bumpbot
841ef3b24e Compress scripts/styles: 3.4-alpha-20339.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-01 22:58:18 +00:00
azaozz
c9897903ed Fix getting the checked radio button when attaching orphan attachments, props solarissmoke SergeyBiryukov, fixes #16655
git-svn-id: http://svn.automattic.com/wordpress/trunk@20338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-01 22:46:29 +00:00
bumpbot
d088df8566 Compress scripts/styles: 3.4-alpha-20336.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-31 17:58:19 +00:00
azaozz
c2e2a8bc5c Switch to one column on the edit/write screens at 850px (the editor becomes unusable at narrower screens and two columns), see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-31 17:00:08 +00:00
nacin
d7d0da4193 Use 'Keyword' instead of 'Term' in the search type selector in the plugin and theme installers. see #19619.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 21:17:22 +00:00
nacin
81407efd05 Clean up cap checks for autocompletes for sites and users in a network. see #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 21:04:48 +00:00
nacin
0507fd7a00 Ensure we get a theme back from wp_get_theme() before checking ->errors(). see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 16:35:51 +00:00
nacin
2a29da4d31 Clear WP_Theme caches on update. fixes #20331.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 14:46:52 +00:00
nacin
70aa7f9607 Clear theme cache after editing. Reduce default cache persistence to 1800. (Could go lower.) see #20331.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 14:39:05 +00:00
koopersmith
79f8b89fbc Theme Customizer: Move upload and image controls to subclasses. see #19910.
Instead of grouping together every control parameter into a single  array and passing them all to the JS, use subclasses with custom parameters to implement additional PHP functionality and the  parameter to send only the necessary variables to the JavaScript control.

Replaces WP_Customize_Control->control_params with WP_Customize_Control->json and WP_Customize_Control->to_json(). The to_json() method refreshes the json array passed to the JavaScript control (set to control.param by default).

Creates WP_Customize_Upload_Control and WP_Customize_Image_Control.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 06:35:54 +00:00
nacin
5b8037afe6 Always set WP_Theme->template even when there is an error and we have no idea what the template is. (Assume it is the stylesheet.) Prevents a number of issues including WP_Theme->is_child_theme() lying. Tidy the theme editor for broken themes and themes with no templates (PHP files), or no template (parent), or are broken. Allow broken themes to be edited. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 04:16:17 +00:00
nacin
107733e263 urldecode() the incoming $file in the theme editor. see [20313] when the encode was added. see #2994 for the original bug report. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 03:34:51 +00:00
nacin
23abe58a59 Rewrite theme-editor.php to use the new WP_Theme API. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 03:00:38 +00:00
dd32
3a722f41d7 WP_Filesystem: PemFTP: Detect dl() being disabled in order to avoid any fatals which may be produced when the Sockets extension is not available. Props to kurtpayne for initial patch, Fixes #20187
git-svn-id: http://svn.automattic.com/wordpress/trunk@20311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 02:15:06 +00:00
nacin
a95f3d243a Revert label change in [20282]. see #18311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 20:32:29 +00:00
markjaquith
dc82254e2f Wrap attachment delete link in <p> for semantics and alignment. props aaroncampbell, lancewillett. fixes #19785
git-svn-id: http://svn.automattic.com/wordpress/trunk@20309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 20:28:34 +00:00
azaozz
f350421746 Improve _fix_attachment_links(), replace attachment URLs with the real permalink only for published posts, re-save only when there are changes, see #13429
git-svn-id: http://svn.automattic.com/wordpress/trunk@20308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 16:02:12 +00:00
bumpbot
7dd14bbd09 Compress scripts/styles: 3.4-alpha-20294.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 02:58:21 +00:00
azaozz
09360b1a92 Don't show dashed border on empty postbox containers under the editor, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 02:10:19 +00:00
nacin
959160e789 Remove step="" from upload size inputs, as the step is enforced in the spec, rather than being a recommendation. finally fixes #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-25 13:02:01 +00:00
nacin
a1a764cbc9 Send X-Robots-Tag: noindex in admin-ajax. props ryan, joostdevalk. fixes #18465.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-25 12:53:17 +00:00
nacin
0730535015 Introduce $wpdb->delete(). props justindgivens, scribu. fixes #18948.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 15:24:31 +00:00
bumpbot
89423eba89 Compress scripts/styles: 3.4-alpha-20284.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 13:58:30 +00:00
nacin
9cca792f6c Revert UI for caption fields to pre-[19982], keeping textarea for the caption field. No monospaced font, revert label. see #18311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 13:37:42 +00:00
bumpbot
e52ee97665 Compress scripts/styles: 3.4-alpha-20280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 04:58:29 +00:00
markjaquith
2a8c7bbc7a Autocomplete site names in Network Admin. More user completion areas. props Japh, DrewAPicture. see #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 04:54:58 +00:00
bumpbot
6879033b3a Compress scripts/styles: 3.4-alpha-20273.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-23 21:58:28 +00:00
azaozz
bba9c91990 Responsive columns on the dashboard and write screens, first run, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-23 21:41:00 +00:00
nacin
8c46a71af6 Leverage WP_Theme in the upgrader. Remove debug line from [20267]. Stop using get_theme_data() as it will be deprecated. see #13774. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-23 10:20:26 +00:00
nacin
98862a975b Support child theme installation in the theme installer. props otto42, dd32. fixes #13774.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-23 10:10:06 +00:00
nacin
6ae2e315fa Instantiate an object in get_default_link_to_edit(). fixes #20280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-22 05:07:27 +00:00
bumpbot
30e00cd456 Compress scripts/styles: 3.4-alpha-20249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 22:58:23 +00:00
azaozz
3015057d58 Don't use class="code" for the captions textareas as it resets RTL, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 22:48:36 +00:00
bumpbot
77d36b1e55 Compress scripts/styles: 3.4-alpha-20244.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 20:58:20 +00:00
nacin
59b84a01ea Properly intercept the main form being submitted when checking for the display-header-text checkbox. see #18887.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 20:55:58 +00:00
nacin
e0fa1f427c Tidy up sanity checks in theme.dev.js. props DH-Shredder, fixes #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 20:17:47 +00:00
nacin
22863bd9c3 Use display_header_text() in custom-header.php. Rework the UI to be a 'Show header text' checkbox (rather than radio buttons). Remove lame 'blank' hack for no-JS -- checkboxes work without JS. Move 'Select a Color' to a link like it is for custom background. Nearby code cleanup. see #18887.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 19:10:13 +00:00
bumpbot
35a551427a Compress scripts/styles: 3.4-alpha-20237.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 16:58:20 +00:00
nacin
29bc67a989 Visually merge a plugin with its update notice. Same applies to themes in the network admin. Move from 'update automatically' to 'update now'. fixes #20273.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 16:19:27 +00:00
nacin
3184f9891a Clean up get_plugin_data() and _get_plugin_data_markup_translate(), and standardize sanitization. fixes #20266.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 23:04:59 +00:00
azaozz
47feb0640f Revert type="number" for the date/time fields as it introduces UI/styling issues, fixes #20217, see #17863
git-svn-id: http://svn.automattic.com/wordpress/trunk@20217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-19 19:30:07 +00:00
nacin
6593186cb7 Introduce new registration methods for custom headers and custom backgrounds. Backwards compatible, but old methods will be deprecated. see #20249. see #17242.
Custom header: Use add_theme_support('custom-header', $args) instead of add_custom_image_header(). Deprecates all use of constants.
 * HEADER_TEXTCOLOR is now (string) 'default-text-color'.
 * NO_HEADER_TEXT is nowi ! (bool) 'header-text'.
 * HEADER_IMAGE_WIDTH (and _HEIGHT) are now (int) 'width' and 'height'.
 * HEADER_IMAGE is now (string) 'default-image'.
 * The 3.4 arguments 'suggested-width' and 'suggested-height' are now just 'width' and 'height' (they are "suggested" when flex-width and flex-height are set).
 * Callback arguments for add_custom_image_header() can now be passed to add_theme_support().

Custom background: Use add_theme_support('custom-background, $args) instead of add_custom_background(). Deprecates all use of constants.
 * BACKGROUND_COLOR is now (string) 'default-color'.
 * BACKGROUND_IMAGE is now (string) 'default-image'.
 * Callback arguments for add_custom_background() can now be passed to add_theme_support().

Inheritance: add_theme_support() arguments for custom headers and custom backgrounds is a first-one-wins situation. This is not an unusual paradigm for theming as a child theme (which is included first) overrides a parent theme.
 * Once an argument is explicitly set, it cannot be overridden. You must hook in earlier and set it first.
 * Any argument that is not explicitly set before WP is loaded will inherit the default value for that argument.
 * It is therefore possible for a child theme to pass minimal arguments as long as the parent theme specifies others that may be necessary.
 * Allows for a child theme to alter callbacks for <head> and preview (previously, calling add_custom_image_header more than once broke things).
 * The just-in-time bits ensure that arguments fall back to default values, that the values of all constants are considered (such as one defined after an old add_custom_image_header call), and that all constants are defined (so as to be backwards compatible).

get_theme_support(): Introduce new second argument, which headers and backgrounds leverage to return an argument. current_theme_supports() already supported checking the truthiness of the argument.
 * For example, get_theme_support( 'custom-header', 'width' ) will return the width specified during registration.
 * If you had wanted the default image, use get_theme_support( 'custom-header', 'default-image' ) instead of HEADER_IMAGE. 

Deprecate remove_custom_image_header(), remove_custom_background(). Use remove_theme_support('custom-header'), 'custom-background'.

Deprecate short-lived custom-header-uploads internal support; this is now (bool) 'uploads' for add_theme_support().

New 3.4 functions renamed or removed: Rename get_current_header_data() to get_custom_header(). Remove get_header_image_width() and _height() in favor of get_custom_header()->width and height.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-19 17:12:44 +00:00
nacin
28f421fa6f Return to step 1 on custom-header.php if not POST data is sent. Good for if step=2 or 3 is in the URL and the page is refreshed (otherwise a nonce check fails). see #20249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-19 14:45:29 +00:00
nacin
d37429e4c7 Remove jQuery Masonry from Appearance > Header until we figure out sporadic issues relating to overlapping images (probably due to lame markup). see #17242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 21:05:00 +00:00
bumpbot
7f141db255 Compress scripts/styles: 3.4-alpha-20205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:58:24 +00:00
nacin
63537a2fc6 upload_url_path is a relative URL path, not an absolute URL. Remove type='url' as that enforces absoluteness. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:43:20 +00:00
nacin
7bf5069573 Size options on options-media.php are allowed to be 0 or otherwise empty. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:37:49 +00:00
nacin
c2fc56c67c It is possible for comments_per_page to be 0, which turns off pagination. See sanitize_option(); wp_list_commnts(); get_comment_link(). see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:36:12 +00:00
nacin
83df0439ba Only grow input.small-text if type='number'. see [20168], see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:28:32 +00:00
nacin
27c3c56ed6 comment_max_links may be zero to bypass the moderation check entirely. [20168] erred. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:26:25 +00:00
nacin
35ba4853bf Adjust site upload space HTML5 type='number' validation. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:16:21 +00:00
nacin
1af728f890 Remove type='number' from list table page inputs out of a concern for UX, as well as styling issues. fixes #20247. see #17863 for further discussion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-16 04:04:07 +00:00
nacin
8c841df86d Revert type="email" (HTML5) as some browsers that do validation on these fields do not work for IDN domains yet. Core does not support these well either, but server-side validation can at least be dealt with by a plugin. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 18:09:14 +00:00
nacin
0fdd30d5f1 Change 'Post Format' bulk/quick edit label to 'Format'. Consistent with the UI and prevents word wrapping. Tidy logic. see #20245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 17:19:30 +00:00
nacin
df4ef64baf Hide unsupported post formats from bulk edit. fixes #20245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 17:17:56 +00:00
nacin
962fae26f4 Updates to WP_Theme, wp_get_themes(), and related deprecated functions, after [UT570] [UT578] [UT579]. see #20103.
* ['Template Files'] and ['Stylesheet Files'] need to return files from the parent theme as well.
 * Don't strip links from the Author header. Some themes rely on the previous behavior, such as to link multiple authors (Sandbox, for example.) Don't restore links to the Name, that's just a bad idea.
 * Ensure we are always passing around arrays in get_files/scandir.
 * Better inline doc for wp_get_themes() arguments.
 * Introduce a 'force' flag for search_theme_directories() to re-scan, rather than return the cache. We will use this to re-build the theme_roots transient in get_theme_roots(), but it is more helpful for unit tests. Since search_theme_directories() is cached, don't cache again in wp_get_themes(). (Again benefits testing.)
 * Handle duplicate theme names in the old get_themes() when two themes match (and neither are a default theme, which is already handled). wp_get_themes() will consider both names to be the same; this is just for back compat since get_themes() is keyed by name.
 * Include an old array key in wp_broken_themes().



git-svn-id: http://svn.automattic.com/wordpress/trunk@20193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 15:39:21 +00:00
bumpbot
af84dbcf93 Compress scripts/styles: 3.4-alpha-20192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 13:58:27 +00:00
nacin
e515dde625 Use ajaxurl rather than direct references to admin-ajax.php. see #18952.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 13:30:28 +00:00
nacin
1db1017721 Remove index-extra.php. Move dashboard widget XHR callbacks to ajax-actions.php. fixes #20242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 13:20:00 +00:00
koopersmith
c06576d410 Theme Customizer: First pass for upload controls, using background image as an example. Add a wrapper for Plupload that allows for custom upload UIs. see #19910.
wp.Uploader is a wrapper that provides a simple way to upload an attachment (using the wp_ajax_upload_attachment handler). It is intentionally decoupled from the UI. When an upload succeeds, it will receive the attachment information (id, url, meta, etc) as a JSON response. If the upload fails, the wrapper handles both WordPress and plupload errors through a single handler.

As todos, we should add drag classes for the uploader dropzone and account for the rough 100mb filesize limit in most browsers. The UI for the customizer upload controls could be improved as well.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 04:14:05 +00:00
bumpbot
d675c19762 Compress scripts/styles: 3.4-alpha-20175. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-14 22:00:22 +00:00
azaozz
ca3ab6c5c2 Add support for line breaks to the caption textareas, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-14 21:53:11 +00:00
nacin
f76fd8e6e6 Increase default upload space for sites on a network from 10M to 100M. props andrea_r. fixes #18831.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-10 22:07:17 +00:00
bumpbot
5e279326b7 Compress scripts/styles: 3.4-alpha-20169.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-10 01:30:30 +00:00
azaozz
f3b63e4537 Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863
git-svn-id: http://svn.automattic.com/wordpress/trunk@20168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-10 01:23:48 +00:00
bumpbot
a7de50f6b0 Compress scripts/styles: 3.4-alpha-20167. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 23:30:29 +00:00
azaozz
dcb5dc204c Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: http://svn.automattic.com/wordpress/trunk@20166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 23:23:10 +00:00
bumpbot
3bf6b4ab5a Compress scripts/styles: 3.4-alpha-20165.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 01:45:40 +00:00
azaozz
52f321913a Add new comment from post edit screen, partial props: garyc40, see #15527
git-svn-id: http://svn.automattic.com/wordpress/trunk@20164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 01:30:11 +00:00
nacin
98245701cb Don't show the Network Enable link for broken themes. Include broken themes in searching on network/themes.php. fixes #20099, see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 17:08:55 +00:00
nacin
7bac1174bf In multisite, list broken themes on network/themes.php instead of on individual Manage Themes pages. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 07:32:42 +00:00
bumpbot
62cfbb074c Compress scripts/styles: 3.4-alpha-20150.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 07:00:38 +00:00
nacin
14a60cd39e Add missing CSS selectors for when these admin menus are missing submenus. fixes #20199.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 06:59:02 +00:00
nacin
2a6b9ea6db The allowed_themes rolling upgrade for individual sites should not add empty allowedthemes arrays. If there are no allowed themes, don't add an empty option. Move the network rolling upgrade to upgrade_network(). see #20146.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 03:22:39 +00:00
nacin
b16b7d770a Always print the Author in the MS themes list table. display('Author') will be 'Anonymous' if no author is specified. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-08 00:01:35 +00:00
koopersmith
71eee3357d Combine two strings. Cheatin', uh?
git-svn-id: http://svn.automattic.com/wordpress/trunk@20143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 19:00:12 +00:00
bumpbot
e8bbb5cf22 Compress scripts/styles: 3.4-alpha-20142.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 18:30:21 +00:00
nacin
292f1e5f79 Deprecate display_theme(). see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 18:29:36 +00:00
koopersmith
fba11c56e1 Theme Customizer: Make theme installer no-js compatible. Fix JS click handler that caught clicks on the 'Activate' link. Relocate display_theme() to WP_Theme_Install_List_Table->single_row(). see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 18:24:34 +00:00
bumpbot
b1ac47a0f0 Compress scripts/styles: 3.4-alpha-20139.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 17:45:21 +00:00
koopersmith
315033ca2a Theme Customizer: Begin integration into the install process. Combine previews, details, and install into a single workflow. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 17:35:17 +00:00
bumpbot
15d3cc2c9f Compress scripts/styles: 3.4-alpha-20134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 03:30:21 +00:00
koopersmith
d4f20e47b7 Theme Customizer: Move contents of customize.loader.css to wp-admin.css. Make markup/CSS for the full-screen overlay modular. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 03:19:35 +00:00
duck_
3385cbbd6f Use WP_Rewrite::set_permalink_structure instead of plain update_option() in populate_network(). Fixes #20174.
This has the benefit of calling WP_Rewrite::init() which correctly resets the permalink_structure
property of the $wp_rewrite global so that the rewrite rules generated on the next flush are correct.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 17:39:26 +00:00
bumpbot
769e6a9a39 Compress scripts/styles: 3.4-alpha-20115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 07:45:20 +00:00
azaozz
9f4408c741 Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 07:31:31 +00:00
nacin
71fb0d40d9 Use new WP_Theme API in list_theme_updates(). fixes #20173. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 13:03:48 +00:00
koopersmith
e251ff1c04 Partially revert [20100]. The list_args JS variable cannot be extended due to its use as an argument in fetch-list. see #19815.
We should reattempt extending the args created in WP_List_Table, but will need to deprecate the current list_args to do so.

Also, infinite scroll on themes pages is no longer broken. Go team.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-03 02:40:43 +00:00
bumpbot
46daef9849 Compress scripts/styles: 3.4-alpha-20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-03 00:30:21 +00:00
nacin
8292f4127a Don't hide PHP warnings under the toolbar in the admin. fixes #19196.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-03 00:29:50 +00:00
nacin
1fed7c5c11 Allow WP_List_Table::_js_vars() to take an array of additional args to add. Allows us to have a single variable printing data when child classes need more data. Also, fix compact() call in [20094]. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 23:06:31 +00:00
nacin
177d1efb9f Use sanitize_key(). sanitize_title_with_dashes() is more than we need. see #19815. see [20096], [20097].
git-svn-id: http://svn.automattic.com/wordpress/trunk@20098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:32:29 +00:00
nacin
21663b39ea Revert [20096] which was an accidental partial revert of [20094]. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:31:15 +00:00
nacin
4805a38f7d Use sanitize_key() for theme search tags/features. sanitize_title_with_dashes() is overkill. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:26:58 +00:00
bumpbot
234d355ef7 Compress scripts/styles: 3.4-alpha-20095.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:15:21 +00:00
nacin
05313daa77 Output themes and theme-install infinite scrolling args in JS, rather than parsing query strings. props DH-Shredder, helenyhou. Make WP_Theme_Install_List_Table extend WP_Themes_List_Table. Doesn't help much yet, but we should be able to dry things up further. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:09:26 +00:00
duck_
2ce9545bff Use tabs for indentation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:03:15 +00:00
duck_
da535ce54e Drop unnecessary if-statements which also have some strange logic. Fixes #20159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 22:01:41 +00:00
bumpbot
085a053c22 Compress scripts/styles: 3.4-alpha-20090.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 21:15:21 +00:00
duck_
50fea9b10f Bail from AJAX success callback if wp_ajax_add_tag() returns errors. Props solarissmoke. Fixes #20086.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 21:01:51 +00:00
bumpbot
9852aaa561 Compress scripts/styles: 3.4-alpha-20084.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:30:19 +00:00
nacin
97c8276f68 Use blue arrows for blue admin's screen options and help tabs. Adjust baseline to be more compatible with Firefox. props helenyhou. fixes #16114.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:23:26 +00:00
nacin
3985eae452 Don't autoload the uninstall_plugins option. fixes #16741.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:13:35 +00:00
bumpbot
f693f33f87 Compress scripts/styles: 3.4-alpha-20079.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 20:00:21 +00:00
nacin
13be6d8fb9 In miscellaneous publishing actions, use :last-child instead of a separate misc-pub-section-last class to control borders. Allows for sane use of the post_submitbox_misc_actions hook. (Actually uses :first-child for browser compat reasons.) fixes #19604.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 19:52:23 +00:00
nacin
ee35957ab0 Improve background, styling, and alignment of the Help and Screen Options tabs. props helenyhou. props johnjamesjacoby for initial patch. see #16114.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 19:47:08 +00:00
nacin
a147fd1d0b Add the wp_edit_nav_menu_walker filter to the ajax request. props wonderslug, ocean90. fixes #14527.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 17:50:01 +00:00
dd32
86577f34ea Fix a small typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 11:00:51 +00:00
nacin
9f6ebb6533 Use correct name for feature filter REQUEST data to ensure that the search/filter form is present when a filter is active. see #20147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 00:41:00 +00:00
nacin
2b32b9bb8c Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 00:13:05 +00:00
nacin
140408d200 Remove inline styles for 'Apply Filters' feature filter button. Don't <small> the 'Close filters' text. see #20147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 00:01:55 +00:00
bumpbot
2e1c113173 Compress scripts/styles: 3.4-alpha-20066.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-02 00:00:20 +00:00
nacin
f283ed40c6 Remove theme tags from the themes.php UI. They just take up room and are redundant with the feature filter. The installer already does not show tags. props DH-Shredder, fixes #20147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 23:58:10 +00:00
nacin
d4005958ec Line up elements on themes.php. Line up 'Available Themes' header and search/feature form. Switch to padding instead of margin for #current-theme to prevent margin-uncollapse jitters when animating the feature filter. Move 'Current Theme' inside #current-theme so it is hidden by the feature filter. see #20147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 23:55:09 +00:00
ryan
4f47fe6e31 Introduce jQuery Masonry. Use it to arrange header thumbnails on custom header screen. Props aaroncampbell. fixes #17242
git-svn-id: http://svn.automattic.com/wordpress/trunk@20060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-01 18:57:28 +00:00
nacin
57f8d7715f Remove extra $. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 22:54:50 +00:00
nacin
b1621b75bb In WP_Themes_List_Table, don't perform unnecessary sanitization on search terms or filter features. We only use these for case-insensitive comparison. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 22:19:18 +00:00
nacin
f11938fde4 'Network Activate' should be the bulk action on network/plugins.php, to match the action link. props ampt, fixes #19946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 21:52:27 +00:00
nacin
8ba92a52f8 Have WP_Theme::get_screenshot() default to an absolute URI. Allow 'relative' to be requested. see #20103, see #19816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:31:56 +00:00
nacin
0dc52c8043 Translate page template names! Have WP_Theme::get_page_templates() return templates keyed by filename, not by template name, as it makes more sense. Flip this in get_page_templates() to be compatible. fixes #6007.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:18:53 +00:00
nacin
966a27513f Use proper object. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 18:11:49 +00:00
nacin
6321f9060c Use wp_get_theme() rather than get_theme_data() in the verify theme deletion (multisite network) screen. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 07:50:56 +00:00
nacin
d130a63e25 Introduce WP_Theme, wp_get_themes(), and wp_get_theme() to replace get_themes(), get_theme(), get_theme_data(), current_theme_info(), and others.
* Getters and Helpers: Introduces a series of methods to allow for easy generation of headers for display, and other theme metadata, including page templates.
 * Screenshots: Handles support for multiple screenshots. (see # Additional screenshots must be PNG and start with screenshot-2.png, and be sequential to be counted. see #19816.
 * Error Handling: Broken themes have a WP_Error object attached to them.
 * Caching: Introduces a wp_cache_themes_persistently filter (also in [20020]) to enable persistent caching of all filesystem and sanitization operations normally handled by WP_Theme (and formerly get_file_data() and get_themes()). Themes are cached individually and across five different cache keys for different data pieces.
 * Compatibility: A WP_Theme object is backwards compatible with a theme's array formerly returned by get_themes() and get_theme(), and an stdClass object formerly returned by current_theme_info().
 * i18n/L10n: Theme headers are now localizable with proper Text Domain and Domain Path headers, like plugins. (Language packs may remove the requirement for headers.) For page templates, see #6007 (not fixed yet, but will be easy now). For headers, fixes #15858.
 * PHP and CSS files: New methods that fetch a list of theme files (for the theme editor) only on demand, rather than only loading them into memory. fixes #11214.

Functions deprecated:
 * get_themes(), get_allowed_themes() and get_broken_themes() -- use wp_get_themes()
 * get_theme() and current_theme_info() -- use wp_get_theme()
 * get_site_allowed_themes() -- use WP_Theme::get_allowed_on_network()
 * wpmu_get_blog_allowedthemes() -- use WP_theme::get_allowed_on_site()

see also [20016], [20018], [20019], [20020], [20021], [20022], [20025], [20026], [20027]. also fixes #19244.

see #20103.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 21:24:44 +00:00
nacin
7959828e48 Faster theme searching. Only calculate what is necessary -- if the theme doesn't have all of the features, bail. If a word matches a tag or header, jump to the next word, we don't care how many times it matches. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:51:19 +00:00
nacin
2a15b783aa Don't sanitize theme tags while trying to search through them, as it is unnecessary. It is also very expensive -- 50% of the pageload for a search was spent sanitizing tags. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:41:53 +00:00
nacin
9b49096f5e Add argument to get_theme_feature_list() to allow the tags to be returned without hitting the WP.org API. We'll be using this to translate tags. Remove trailing space in the 'Light' string. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:38:09 +00:00
duck_
a395e06896 Reduce references to the $wp_rewrite global because it's no longer used or a wrapper function can be used instead. Fixes #14546.#14546.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:29:33 +00:00
nacin
b367a71d1a Do not save the last visited tab on the multisite Network Themes page and Site Themes tab. These are poor UX, see #18810 for plugins. Entering these screens will always default to 'all' themes view. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:13:21 +00:00
duck_
bb94e702f8 Drop image resizing code from wp_handle_upload(). Fixes #19800.
This code stops wp_handle_upload() from reporting errors when the upload couldn't be moved to its final local and it was a non-JS fallback that is unused.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 20:02:43 +00:00
ryan
d910c26182 Pinking shears 6-20000
git-svn-id: http://svn.automattic.com/wordpress/trunk@20000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-27 19:46:52 +00:00
ryan
e4ce1046b0 Pass post id to get_upload_iframe_src() instead of relying on a global. Props tott. fixes #20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@19999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-27 19:23:03 +00:00
nacin
69f037f8cc Remove out-of-place double quote. props niallkennedy. fixes #20113.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 20:49:54 +00:00
bumpbot
a24bfc4d47 Compress scripts/styles: 3.4-alpha-19983.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 02:00:58 +00:00
azaozz
73c87020c7 HTML in image captions, first run, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@19982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 01:58:18 +00:00
westi
a1d2e646ab Make sure to echo out the comment_post_ID when building the edit comment form otherwise the post comment counts will get out of sync. Fixes #20108 props dllh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-23 18:16:46 +00:00
nacin
013b783a05 Preserve keys when splitting themes up for pagination. props Utkarsh. fixes #15306.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-23 14:42:01 +00:00
nacin
097be218c8 Use version_compare() when checking installed themes in the theme installer. fixes #20097.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-22 14:03:59 +00:00
bumpbot
5c984c150e Compress scripts/styles: 3.4-alpha-19972.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 19:46:03 +00:00
koopersmith
c4f08de854 Second pass at infinite scroll for themes, including polling, fixed paging, and fewer ajax calls. props DH-Shredder, helenyhou, garyc40. see #19815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 19:44:10 +00:00
bumpbot
95f3fb0e57 Compress scripts/styles: 3.4-alpha-19967.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:45:56 +00:00
nacin
0d2018f4d0 Allow counting by characters in lieu of a word count, for East Asian languages. First pass. see #8759.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:35:05 +00:00
nacin
4a9e14a011 Allow bundled plugin headers to be translated. see #19597.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:26:08 +00:00
nacin
0674ddc846 Align the spacing of the multisite constants with what has been long-established in wp-config and wp-config-sample. props ryanduff, fixes #19869.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-20 16:35:03 +00:00
bumpbot
becc83aba8 Compress scripts/styles: 3.4-alpha-19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-20 00:30:57 +00:00
azaozz
2dff362a1f Refresh wpCookie, fixes #20078
git-svn-id: http://svn.automattic.com/wordpress/trunk@19954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-19 23:08:10 +00:00
nacin
cbbef554e9 Add an @return. fixes #19974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 21:59:47 +00:00
nacin
fe96801c4b Add WP_Screen methods get_help_tabs(), get_help_tab( $id ), get_help_sidebar(). Store help tabs by tab ID, not numeric key; allows proper removal with remove_help_tab( $id ). props BenChapman, npetetin for initial getter patch. fixes #19974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 23:40:02 +00:00
nacin
bc73871a55 Only show 'Show on screen' once in screen options. fixes #17431.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 23:19:52 +00:00
nacin
a40a97dbc9 Use class name for @return. props markuak, fixes #20063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 23:15:05 +00:00
koopersmith
86c37ba7a7 Don't unintentionally override the global variable. props ocean90, see #20062.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 19:17:38 +00:00
nacin
7167c79364 Remove unused logo-login.png after all. fixes #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 05:06:09 +00:00
bumpbot
3c5726a1c4 Compress scripts/styles: 3.4-alpha-19939.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 05:00:52 +00:00
nacin
87bc44fa86 Remove old logo-login.gif from manifest. props edward mindreantre, see #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 04:59:42 +00:00
nacin
5ecb56896f Update login-logo.png to use proper color. Copy it over wordpress-logo.png. Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 04:57:56 +00:00
nacin
aefde50081 Deprecate ancient "debugging" tools.
* logIO() and the global $xmlrpc_logging in XML-RPC.
 * log_app() and the global $app_logging in APP.
 * debug_fwrite(), debug_fopen(), debug_fclose(), and $debug.
see #20051.



git-svn-id: http://svn.automattic.com/wordpress/trunk@19935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 00:02:42 +00:00
duck_
af2eb34f8a Correct faulty logic when dealing with autocomplete_users_for_site_admins, and break logic into multiple lines. See #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-16 17:12:10 +00:00
bumpbot
a1fa25ee77 Compress scripts/styles: 3.4-alpha-19931.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-15 19:27:20 +00:00
duck_
b7dd19a963 Display menu_order value in quick edit for non-hierarchical post types. Props nikolay.yordanov. Fixes #19911, see #18352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-15 17:19:59 +00:00
duck_
010396ab1a Remove use of nonexistent include_last_update_time arg from get_terms() call. See #19953.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-15 16:48:27 +00:00
ryan
7ff7850931 Lose unnecessary space. Props SergeyBiryukov. fixes #19964
git-svn-id: http://svn.automattic.com/wordpress/trunk@19921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 17:25:40 +00:00
nacin
6484e3cda6 Cap check help text. see #19933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 17:23:31 +00:00
ryan
4b16686727 Cap check help text. Add mention of Welcome box. Props dougwrites, nacin. fixes #19933
git-svn-id: http://svn.automattic.com/wordpress/trunk@19919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 17:12:27 +00:00
duck_
751ce362db s/oembed_cache/oembed-cache/ in admin AJAX $core_actions_*. Props jeremyfelt. Fixes #20038.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 10:01:00 +00:00
bumpbot
03a40a476b Compress scripts/styles: 3.4-alpha-19904.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 18:30:49 +00:00
koopersmith
27c0170224 Trailing commas make JS cry. see #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 18:05:20 +00:00
ryan
86901353cf Add post ID argument to _wp_post_thumbnail_html() rather than relying on a global. Post the ID from wp_ajax_set_post_thumbnail(). Props batmoo. fixes #20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@19902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 17:41:37 +00:00
bumpbot
70a6d8fb9c Compress scripts/styles: 3.4-alpha-19898.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 09:00:50 +00:00
markjaquith
481959acec Autocomplete for add-user screens in multisite. props boonebgorges, Japh, DrewAPicture, PeteMall, nacin, koopersmith, markjaquith. see #19810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 08:45:17 +00:00
bumpbot
570a54053f Compress scripts/styles: 3.4-alpha-19896.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 23:30:50 +00:00
duck_
0d06815963 Fix incorrect pending comment count updates for filtered views. Fixes #19905.
Pass the difference (i.e. 1 or -1) to updatePending() so that the current
pending count is changed for each element independently. Also move several
functions back out of the global scope, see r17832 for their introduction.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 23:29:24 +00:00
bumpbot
10222bac79 Compress scripts/styles: 3.4-alpha-19894.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 22:00:49 +00:00
ryan
5cb35a7dfb Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
git-svn-id: http://svn.automattic.com/wordpress/trunk@19893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 21:40:46 +00:00
bumpbot
03791d4ad6 Compress scripts/styles: 3.4-alpha-19888.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 17:30:50 +00:00
ryan
723bb1a99c Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
git-svn-id: http://svn.automattic.com/wordpress/trunk@19887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 17:20:26 +00:00
nacin
6ef54c2016 Tabs, not spaces. Props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 17:05:40 +00:00
nacin
bfeb575df9 Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:12:11 +00:00
ryan
a575cd242e Switch post_content_filtered from text to longtext so that it matches post_content. Props ejdanderson. fixes #19387
git-svn-id: http://svn.automattic.com/wordpress/trunk@19863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 14:51:18 +00:00
nacin
81bb2f7ed7 Use is_rtl() for html direction when possible. In sites.php, language_attributes() will always exist (MU vestige). When the DB is dead, language_attributes() is worse than a simple is_rtl() check. is_rtl() exists here due to wp_load_translations_early(). see #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 06:05:35 +00:00
bumpbot
a9daac7bec Compress scripts/styles: 3.4-alpha-19861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 06:00:51 +00:00
nacin
0f8515abd9 Add some RTL misses for setup-config. props SergeyBiryukov, fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 05:55:54 +00:00
duck_
4d600fe454 Bump WXR_VERSION because of r19858 which affects the regex based importer. See #15203.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:51:14 +00:00
duck_
6f343f700f Export valid XML by escaping the closing CDATA sequence "]]>". Props ceefour. See #15203.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:48:45 +00:00
ryan
c1f604e78e Change feature filter from post to get so feature selections aren't lost when paging. Props SergeyBiryukov. fixes #18094
git-svn-id: http://svn.automattic.com/wordpress/trunk@19857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:06:52 +00:00
nacin
2f9f7e3280 Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977, see #18340.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 19:13:30 +00:00
bumpbot
afb70b3f36 Compress scripts/styles: 3.4-alpha-19854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 18:30:51 +00:00
nacin
72c995441a Allow localized commas to be used as tag separators. see #7897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 18:06:12 +00:00
bumpbot
69326c8063 Compress scripts/styles: 3.4-alpha-19841.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 21:00:50 +00:00
ryan
f3a546d0fd Hide theme details by default. Props helenyhou, DH-Shredder. fixes #19853
git-svn-id: http://svn.automattic.com/wordpress/trunk@19840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 20:54:01 +00:00
bumpbot
60c5026d4b Compress scripts/styles: 3.4-alpha-19839.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 20:00:50 +00:00
nacin
d7fd5c3d42 In general, password fields should always be LTR. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 19:33:19 +00:00
nacin
720ad9b14d LTR for user-edit.php password fields and disabled user_login field. fixes #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 19:31:33 +00:00
azaozz
3a6154bc1f Fix typo in $core_actions_get in admin-ajax.php, see #15327
git-svn-id: http://svn.automattic.com/wordpress/trunk@19831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 17:56:55 +00:00
azaozz
6981611202 Remove unused TinyMCE media plugin images, props SergeyBiryukov, fixes #19963
git-svn-id: http://svn.automattic.com/wordpress/trunk@19828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 17:58:41 +00:00
bumpbot
813a2dfdac Compress scripts/styles: 3.4-alpha-19827.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 01:16:30 +00:00
nacin
d4d7fb52a4 Add ru_RU CSS. see #19603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 00:58:09 +00:00
nacin
cb3b946d8c Initial import of localized CSS, for Chinese and Hebrew. see #19603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 00:54:42 +00:00
ryan
a2618da365 Setup now that global is not used. see #15327
git-svn-id: http://svn.automattic.com/wordpress/trunk@19822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 20:13:22 +00:00
nacin
dad0c4ed9f Translate the monthnum/month abbreviation construct in the Publish box. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:23:25 +00:00
nacin
e23bba5249 Use existing string to properly translate month + year combo. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:11:01 +00:00
nacin
16e038dcc5 mailserver_login and mailserver_pass should always be LTR. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:05:43 +00:00
nacin
f2da91e134 New .ltr class for forcing elements to be LTR when using an RTL language. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 00:03:26 +00:00
nacin
10410be1f7 Code is still code: force LTR for .code and <code>, and the function lists in plugin/theme editors. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-02 23:58:46 +00:00
ryan
c43ddd7284 Allow flexible sizes for custom header uploads. Round 1. Props aaroncampbell, sabreuse. see #17242
git-svn-id: http://svn.automattic.com/wordpress/trunk@19815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-02 23:35:37 +00:00
bumpbot
7faa30a11c Compress scripts/styles: 3.4-alpha-19814.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 22:41:34 +00:00
ryan
3462b907d6 New gear icon. Props empireoflight. fixes #10318
git-svn-id: http://svn.automattic.com/wordpress/trunk@19813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 22:39:24 +00:00
nacin
cbafaaea36 Use home_url() rather than get_option() + is_ssl(). props ocean90, fixes #19942.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 22:31:35 +00:00
nacin
162546a7fc s/plugin/theme/ in an edge case string in the theme updater. props pavelevap, fixes #19940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 16:08:36 +00:00
nacin
b94b02b316 Provide a more WordPress-like context for 'Welcome' on the install screen. see #19698.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:49:41 +00:00
nacin
c1b4310367 Provide contexts for a 'Welcome' string. Sometimes we're saying hello, other times referring to the welcome panel. props pavelevap, fixes #19698.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:47:49 +00:00
nacin
00db8b7053 Convert a bulleted list to paragraphs in the Moderating Comments help tab. props pavelevap, see #19788.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:45:19 +00:00
bumpbot
f9f2bb6bd9 Compress scripts/styles: 3.4-alpha-19805.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:43:00 +00:00
nacin
4d8609635c Don't add in an extra space when inserting a name into the string produced by wp_comment_trashnotice(). props pavelevap, see #19788.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:39:52 +00:00
nacin
bd5d732b05 Compress CSS/JS using the latest version of YUI Compressor, 2.4.7. Removes final semicolon in a CSS declaration block. Previously, committers used 2.4.2. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:37:52 +00:00
nacin
568fbf24e0 Use wp_die() in ajax-actions. props kurtpayne. see [19801], fixes #15327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 22:14:39 +00:00
bumpbot
8bd826e43b Compress scripts/styles: 3.4-alpha-19800.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 19:59:09 +00:00
ryan
5fd633b48b Drop the comment_approved index from the comments table. comment_approved_date_gmt is sufficient. fixes #19935
git-svn-id: http://svn.automattic.com/wordpress/trunk@19799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 18:26:07 +00:00
ryan
0f80145c67 Drop the blog_id column from the options table during upgrade. Props barry. fixes #17188
git-svn-id: http://svn.automattic.com/wordpress/trunk@19798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 17:45:22 +00:00
ryan
81b39f50fb Remove references to specific search engines. fixes #18605
git-svn-id: http://svn.automattic.com/wordpress/trunk@19794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 20:51:00 +00:00
ryan
36d2989fed Remove blog_id column from wp_options. Props scribu. fixes #17188
git-svn-id: http://svn.automattic.com/wordpress/trunk@19793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 20:47:25 +00:00
ryan
5fce3217ad Check the return of wp_insert_term() for WP_Error or array. Prevents fatal erros and failure to add categories when adding terms via ajax. Props mdawaffe. fixes #17938 #17939
git-svn-id: http://svn.automattic.com/wordpress/trunk@19792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 18:19:27 +00:00
nacin
92e46cf396 Poka-yoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 17:49:50 +00:00
nacin
9f4f2e85ce Give install.css on setup-config.php some cache busting. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 17:37:13 +00:00
nacin
788d169f31 LTR for fields on setup-config.php. see #19603, fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 17:28:04 +00:00
nacin
17ac9ebf82 Use the _x context function. props Mamaduka. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 23:43:14 +00:00
nacin
5d761c1cb6 Switch to Feedback, from Suggest Ideas, for a default link, based on 3.3 toolbar. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 20:25:59 +00:00
nacin
fda09f5124 Allow translators to specify a default timezone string OR GMT offset. Stop doing date('Z')/3600 math for default gmt_offset, as since WP 2.9, we set server time to UTC. Server time is unreliable, so no workarounds for now. fixes #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 20:04:11 +00:00
nacin
bdd70470e2 Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 19:56:33 +00:00
nacin
19be993edd Kill the exclamation points off an error message for easier translation. props wojtek.szkutnik, fixes #11270.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 08:12:09 +00:00
nacin
b905dc7122 Offer default links and applicable URLs for translation. Some of these are already translatable elsewhere. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 05:14:59 +00:00
nacin
0b169b5361 Offer start_of_week for translation. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 04:21:53 +00:00
ryan
b2d61dab8a Load the new admin and network admin mo files, if present. see #19852
git-svn-id: http://svn.automattic.com/wordpress/trunk@19772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-27 22:19:56 +00:00
nacin
5d036c9b34 Make 0 the default status for admin-ajax.php. props TobiasBg. fixes #15327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-26 21:21:30 +00:00
nacin
81ed9a7563 Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-26 20:34:27 +00:00
nacin
0c141a4721 Formatting and i18n cleanup of repair.php. props zeo for initial patch. fixes #18770.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-25 23:27:13 +00:00
nacin
6ca86ae3a8 Revert [19745].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-24 22:14:42 +00:00
nacin
bba7742b9f --no-auth-cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@19745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-24 22:12:53 +00:00
nacin
ba2c3e345e Strip down admin-ajax.php to be a bare ajax handler. Move core ajax handlers to admin/includes/ajax-actions.php. props kurtpayne, ryan. see #15327. see [19738] for initial commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-23 19:31:15 +00:00
nacin
61abfcd3c7 Add 'ep_mask' as an argument to the 'rewrite' array for register_post_type() and register_taxonomy(). Keeps 'permalink_epmask' compatible as an argument for post type registrations. Fixes endpoints for category and tag pages. fixes #19275.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-23 19:12:04 +00:00
duck_
cd43f96110 Prevent "Undefined index: settings-updated" notice in settings_errors(). Props garyc40. Fixes #19377.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-13 18:15:55 +00:00
duck_
f17cb006cf Remove extraneous single quote. Props garyc40. Fixes #19801.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-11 23:35:35 +00:00
duck_
81a7ad2c81 split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 21:20:51 +00:00
nacin
ed3a628088 'No comments awaiting moderation.' props demetris. fixes #15689.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 19:53:51 +00:00
nacin
d6fb70098f Prefix table name against the post_parent field in _edit_attachments_query_helper() to avoid ambiguous queries. props benbalter. fixes #19779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 15:55:30 +00:00
nacin
2ca88e2c25 Revert character encoding issue in [19716].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 23:17:46 +00:00
bumpbot
f15b9aa2e7 Compress scripts/styles: 3.4-alpha-19716.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 23:05:52 +00:00
bumpbot
e590227dba Compress scripts/styles: 3.4-alpha-19713.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 22:53:10 +00:00
ryan
e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
dd32
3fe0d5e688 Show Changelog by default for "View version x.y.z details" links for Plugin updates. Props linuxologos. Fixes #19208
git-svn-id: http://svn.automattic.com/wordpress/trunk@19711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 12:36:17 +00:00
dd32
f60ca6da11 Better indentation. Props SergeyBiryukov. See #16580
git-svn-id: http://svn.automattic.com/wordpress/trunk@19710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 09:18:56 +00:00
dd32
aa4bd6dc9b Clean up the Plugin installer Screenshots page, Adds CSS resize support to the images to prevent them requiring scrolling and falling below the FYI box. Fixes #19777
git-svn-id: http://svn.automattic.com/wordpress/trunk@19709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 05:53:19 +00:00
dd32
3928e40daf s/Faq/FAQ/ for Plugin Installer tabs, Gains Translation support for Tabs/Titles as well. Fixes #16580
git-svn-id: http://svn.automattic.com/wordpress/trunk@19708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 05:39:49 +00:00
dd32
3686bc4b6e use maybe_unserialize() in update and API checks, Tighten up the checks on expected return data to avoid processing invalid responses after change. See #19617
git-svn-id: http://svn.automattic.com/wordpress/trunk@19707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 03:48:05 +00:00
bumpbot
d50e2a9633 Compress scripts/styles: 3.4-alpha-19704.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:43:22 +00:00
duck_
65b840b565 Fix mistakes in parameter documentation and add some missing param docs. See #19756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:31:43 +00:00
nacin
e5589e02b7 Use regex to fill in config-sample. Prevents translators from needing to manually translate 'database_name_here' (and friends). see #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:23:51 +00:00
nacin
f9b554814e about.php and friends for the global dashboard. see #19762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:08:45 +00:00
nacin
aa6c34ac3e Create a network/about.php page and leverage it, to prevent the dashboard from switching to the blog admin. fixes #19762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 17:53:41 +00:00
dd32
e15f5275a8 Fix edge case in get_home_path() where the incorrect path may be returned. Props ptahdunbar. Fixes #18768
git-svn-id: http://svn.automattic.com/wordpress/trunk@19697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 13:46:22 +00:00
azaozz
b3fe8fca18 Wrap long titles in dashboard recent drafts, props Lardjo SergeyBiryukov, fixes #17424
git-svn-id: http://svn.automattic.com/wordpress/trunk@19694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 06:35:12 +00:00
nacin
277a8131d2 Use array_filter() to remove empty values from an array, not jankiness.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:22:44 +00:00
nacin
c94b474b17 Update some old upgrade functions to use untrailingslashit().
git-svn-id: http://svn.automattic.com/wordpress/trunk@19690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:21:51 +00:00
duck_
5fbd6657f4 s/add_user()/edit_user()/, see r19686 and #18749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:02:42 +00:00
ryan
83b131f8e3 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: http://svn.automattic.com/wordpress/trunk@19687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:50:54 +00:00
duck_
965a71033e Remove "the hackiest hack that ever did hack" from add_user(). wp_insert_user()/edit_user() can deal with adding new users of any defined role. Fixes #18749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:38:40 +00:00
ryan
616c35e71c One newline is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
nacin
d5d55f62a7 Fix typo in [19052]. Believe it or not, it worked as is. props TobiasBg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:06:49 +00:00
ryan
fd1393ab7a Clear strict notices for the walkers. fixes #19249
git-svn-id: http://svn.automattic.com/wordpress/trunk@19679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:03:46 +00:00
ryan
85304c2dc7 Introduce term_is_ancestor_of(). Finish taxonomy support for wp_insert_category(). Props garyc40. fixes #15581
git-svn-id: http://svn.automattic.com/wordpress/trunk@19678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 22:44:19 +00:00
ryan
37e65bddcd Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 20:02:11 +00:00
ryan
aa8a3f89d8 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:29:03 +00:00
ryan
d1ba11c7d1 Update some @since. Props dgwyer. fixes #19638
git-svn-id: http://svn.automattic.com/wordpress/trunk@19673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:03:33 +00:00
nacin
8323ba5cc7 Compress scripts/styles: 3.4-alpha-19672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 17:50:23 +00:00
nacin
fdd79a0960 Merge Press This inline styles into wp-admin.css. fixes #19735.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 17:44:15 +00:00
nacin
5372ac002b Fix tabbing for comment reply and edit. see #19727, for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 20:18:31 +00:00
nacin
b776fe7071 Revert a piece of [19424], go back to cloning a div for adding images in Press This. props azaozz, see #19498 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 19:05:05 +00:00
nacin
21dbfa40b6 Revert. Wasn't meant for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:58:24 +00:00
nacin
b566f92218 Fix header/message alignment in Press This. for trunk. see #19725.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:57:31 +00:00
nacin
54016f80f2 Add a space.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:06:03 +00:00
nacin
7bfc537c54 Remove esc_js() as this content now gets json encoded rather than a straight echo. props ocean90. see #19644, for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:04:56 +00:00
nacin
b66ca19aec Fix widget count on dashboard to account for orphaned widgets. see #19553 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 17:53:31 +00:00
nacin
33f5a73a63 Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 17:24:51 +00:00
ryan
85dff92772 Immediately close a flyout when opening another one. Prevents brief occurrence of two flyouts at once. Props SergeyBiryukov. fixes #19575 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@19647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-02 21:49:58 +00:00
nacin
9aa60c4066 Only allow _multisite_ super admins to demote themselves on a site. props linuxologos, see #19684 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-30 23:13:48 +00:00
nacin
7931ec33f1 Better checking for values for multisite upload limits. see #19538 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-30 23:10:54 +00:00
ryan
5f0013ec51 Remove Recently Updated from dash Plugins widget. see #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-23 00:26:58 +00:00
ryan
3f94d307b3 About face. Revert [19628]. Gonna improve Plugins widget instead of tossing it. see #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-23 00:25:09 +00:00
ryan
40345f1d63 Remove Plugins dashboard widget. fixes #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-22 21:57:21 +00:00
ryan
301b9aed41 Remove 'Recently Updated' from plugin installer. Props nacin. see #19573
git-svn-id: http://svn.automattic.com/wordpress/trunk@19627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-22 21:21:57 +00:00
duck_
29d5e3c83c Show correct export date range for pages. The query should use provided $post_type instead of always 'post'. Props sorich87. Fixes #19312.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-22 12:08:26 +00:00
ryan
c924060858 Remove extraneuos newlines
git-svn-id: http://svn.automattic.com/wordpress/trunk@19623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 18:42:11 +00:00
nacin
212e7bfc01 '3.4-alpha-19618'
git-svn-id: http://svn.automattic.com/wordpress/trunk@19618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 04:22:21 +00:00
nacin
d39a1d4b1b Remove dead variables and strings from edit-form-comment. props ocean90, fixes #19481.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 21:39:46 +00:00
nacin
e8b954fe7d Eliminate a string in options-permalink and end strings with full stops. fixes #19472.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-20 21:15:13 +00:00
nacin
31e5be0b66 Define json_encode() in load-scripts.php. see #19524 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 23:02:42 +00:00
ryan
340e93324c Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: http://svn.automattic.com/wordpress/trunk@19596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 17:36:38 +00:00
markjaquith
429faf564a Fix a spelling error in user-new.php. props SergeyBiryukov. fixes #19518
git-svn-id: http://svn.automattic.com/wordpress/trunk@19595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 02:56:59 +00:00
ryan
95754aacc9 Trunk is now 3.4 alpha
git-svn-id: http://svn.automattic.com/wordpress/trunk@19594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:47:39 +00:00
ryan
07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
ryan
d5c2ccde9e Update _old_files for 3.3. fixes #19517
git-svn-id: http://svn.automattic.com/wordpress/trunk@19588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-12 20:24:19 +00:00
ryan
0358498b0a Use text/html to appease IE < 9. Props azaozz. fixes #19494
git-svn-id: http://svn.automattic.com/wordpress/trunk@19586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-11 00:03:24 +00:00
ryan
02a1dd7ccb Best practice, use wp_safe_redirect() when dealing with referrers. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-10 18:26:48 +00:00
ryan
9d03183e6d Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 23:02:33 +00:00
ryan
b6efe20e16 Fix list styling. Props koopersmith, azaozz, trepmal. fixes #19453
git-svn-id: http://svn.automattic.com/wordpress/trunk@19576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 22:55:18 +00:00
ryan
fc5c8d52d4 RTL fixes for the about page. Props helenyhou, SergeyBiryukov. fixes #19477
git-svn-id: http://svn.automattic.com/wordpress/trunk@19575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 22:50:17 +00:00
nacin
247dc83ecb Don't show new feature pointers for new installs and users. fixes #19382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 21:55:39 +00:00
nacin
ee72413797 Don't use esc_attr_e() function for a non-translatable context. props zeo. fixes #19479.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 17:56:03 +00:00
nacin
6cb23aebab Add 'Contributing Developers' string to credits.php so it makes it into the POT. fixes #19480.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 16:55:55 +00:00
ryan
837d46fe67 Don't use a gettext function for a non-translatable context. Props nacin. fixes #19479
git-svn-id: http://svn.automattic.com/wordpress/trunk@19570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 16:51:52 +00:00
ryan
88b1f65116 s/Admin Bar/Toolbar/. Props ocean90. fixes #19461
git-svn-id: http://svn.automattic.com/wordpress/trunk@19569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 16:49:16 +00:00
nacin
958b4d73b7 Compress and bump colors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 01:06:02 +00:00
nacin
3d9e7c46e0 Update the bigger comments icon to reflect earlier 3.3 changes for the 16x16 icon. props empireoflight.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 00:37:34 +00:00
ryan
c6fcc03bcf Contextual help: Remove dead overview code. Prepend old- to back compat ID. Props nacin. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 00:13:52 +00:00
ryan
0e16b63274 Update screenshot for feature pointer. Props EmpireofLight, chexee. fixes #19422
git-svn-id: http://svn.automattic.com/wordpress/trunk@19560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 03:54:01 +00:00
ryan
ebc1019651 Add missing comma to selector. Props nacin. fixes #19436
git-svn-id: http://svn.automattic.com/wordpress/trunk@19553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:56:45 +00:00
azaozz
f6047c397e Remove role="menu" and role="menuitem" for now, fixes #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 17:47:23 +00:00
azaozz
01fa7bdf7f Make the Add new Category fields up to 260px wide, fixes #19339
git-svn-id: http://svn.automattic.com/wordpress/trunk@19546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 21:49:37 +00:00
ryan
fe9de5f4a4 Handle themes that have no customization screens. fixes #19408
git-svn-id: http://svn.automattic.com/wordpress/trunk@19545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 20:48:47 +00:00
nacin
b000d19be4 Don't restrict width of the Parent Taxonomy dropdown. props jgadbois, fixes #19339.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 20:32:45 +00:00
nacin
35d5377887 CSS for the about.php point release changelog. props chexee, fixes #19346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 17:21:24 +00:00
nacin
f046807b64 Tweak strings for point release changelogs. see #19346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 17:17:08 +00:00
nacin
15ceab2647 Standardize some final help strings. We're done, aside from typos. props zeo, jane, duck_, fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 04:31:01 +00:00
nacin
d0c1dfcaf3 Add about.php maintenance/security release strings for translation. see #19346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 23:13:56 +00:00
nacin
46efcf6fdb Remove duplicated line. props ocean90, fixes #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 23:04:26 +00:00
nacin
9f2f75c7fb Copy about text to credits.php and freedoms.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 23:02:19 +00:00
nacin
de11d4cb22 Remove debug cruft and fix variable collision. fixes #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 06:02:18 +00:00
ryan
a6091e18e7 English, less butchering of it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 05:03:19 +00:00
nacin
3aed7560f6 Push logic into _redirect_to_about_wordpress() and be more specific about which context this runs under. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 05:03:11 +00:00
ryan
6bba5a265b Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:51:35 +00:00
nacin
d9983a790c Use GLOBALS. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:49:57 +00:00
nacin
e209ce5948 Finalize the code which redirects to about.php after a core update. Only triggers on update-core.php in case wp_update_core() is called in a different context.
props ocean90 for initial patch. fixes #18467.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:38:51 +00:00
nacin
b1935deee4 Call set_current_screen() again in admin-header.php in case a plugin includes admin-header.php before admin.php completes. Rare and silly, but seen in the wild. props ryan, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:37:22 +00:00
nacin
2c789f296a Make current_screen an action, not a filter. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:34:55 +00:00
nacin
a16fe7f86f Deprecate add_contextual_help() for get_current_screen()->add_help_tab(). fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:29:55 +00:00
ryan
32915a8574 Fix indent. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:28:47 +00:00
ryan
8ace5a6b4c Use WP_Screen::add_help_tab(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:22:07 +00:00
nacin
10cd387b2e Split chunk of help text on edit-tags.php into 'Adding Categories' and 'Adding Tags' tabs, respectively. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:51:34 +00:00
nacin
7ff19d7485 Remove add_screen_option('overview') from dashboard (from earlier 3.3 help incarnation), add 'Overview' tab. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:39:21 +00:00
nacin
c0dcf616c1 Help tweaks for comments, media, edit.php, update-core.php. props jane, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:33:26 +00:00
nacin
65a10cedbb Help tweaks for themes, plugins screens. props jane, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:24:39 +00:00
nacin
3d51303ca3 Help tweaks for users, tools. props jane, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:17:14 +00:00
nacin
4c566cebc6 Help text tweaks for the Settings screens. props jane. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:52:31 +00:00
azaozz
6e11173bd4 When tabbing: on Enter open the current submenu and close other submenus if open, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:43:18 +00:00
nacin
cc50764a8b They call me multisite. props ryan, zeo. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:36:19 +00:00
nacin
02dfdbbbf4 s/Screen Info/Overview/g, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:34:31 +00:00
nacin
9dc5cf45a8 Features are packaged by weight, not by volume. These features settled during shipping. fixes #19402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 22:34:16 +00:00
nacin
1d9b3eeb30 Don't use hard-coded version number. props duck_. see #19402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:34:15 +00:00
koopersmith
3424f94b08 Optimize about pages for a lovely 960px semi-fluid grid. props helenyhou, fixes #19386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:19:39 +00:00
azaozz
5ec6bd4833 Sanitize options for resizing in the uploader, props mhauan, nacin, fixes #19399
git-svn-id: http://svn.automattic.com/wordpress/trunk@19494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:05:22 +00:00
nacin
5b248a72c8 'Overview' for old-style help tabs, not 'Screen Info.' props jane. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 20:58:39 +00:00
azaozz
ccfb36ace5 Fix css selectors mismatch in Press This, see #19341
git-svn-id: http://svn.automattic.com/wordpress/trunk@19492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 17:51:34 +00:00
nacin
b0ecdeeca2 Remove margin from h3's in press this. fixes #19341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:44:36 +00:00
nacin
532d1561f4 Allow scratch beta/RC installs to experience pointers. Uncomment this before release. see #19360, #19382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:08:29 +00:00
nacin
31c8813108 Don't show pointers for new users. Works for new installs, too. fixes #19360.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:05:59 +00:00
nacin
63b2f4c6e7 Cap checks for pointers. see #19360.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 15:59:55 +00:00
azaozz
880ac093a1 When the submenu is too long to fit on the screen, place the top if it under the admin bar (the rest is scrollable with a wheel mouse), fixes #19323
git-svn-id: http://svn.automattic.com/wordpress/trunk@19487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 03:37:15 +00:00
azaozz
69cd88fc6f Reset aria_arrtibutes when reaching admin submenu, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 02:23:21 +00:00
azaozz
4408443814 Add tabbing JS to the admin menu, same functionality as the top menu, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 02:15:24 +00:00
azaozz
7f81dbfe3f Add ARIA related attributes (first take), props DrewAPicture, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 01:27:33 +00:00
koopersmith
ba3f815726 Optimize about screen for 960px width. props chexee, fixes #19386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:40:34 +00:00
nacin
798ccd0c97 Fix tags suggest for bulk edit, for post_type post and taxonomy post_tag. Address all non-hierarchical taxonomies in 3.4. fixes #19716, props scottbasgaard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:25:49 +00:00
koopersmith
3ede56505b In multisite, hide help text for single-site only options. props dougwrites, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:23:04 +00:00
koopersmith
58191c0b6b Fix grammar and remove references to 'new in 3.2' in the post editor help text. props dougwrites, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:47:35 +00:00
koopersmith
fcdf942e04 Use 3.3 help API on edit tags page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:37:04 +00:00
koopersmith
0575de32a7 Update help text on themes page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:34:08 +00:00
koopersmith
ed2c35ad0a Update help text on settings pages. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 16:58:58 +00:00
nacin
65fde75e85 WP_Screen: Whitelist -new and -add screens, and prevent edit-comments and edit-tags from being mashed on. fixes #19353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 22:58:51 +00:00
ryan
b6b8a588bb Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: http://svn.automattic.com/wordpress/trunk@19470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:35:36 +00:00
nacin
28276e825c Move multisite-specific upgrade code from upgrade_330() to upgrade_network(). see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:04:00 +00:00
nacin
f9ee8ccfd2 Use a scalpel to dissect names passed to convert_to_screen(). Carefully watch for post type names, suffixes we need to detect and remove, and when we need to remove 'edit-' from the start of a hookname. see #19353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 18:33:40 +00:00
nacin
6e648d2356 Bump final db_version for 3.3, otherwise no new beta installs will see the pointers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 17:47:26 +00:00
nacin
416b6749f4 RTL for 'Dismiss' on the welcome panel. props rasheed, SergeyBiryukov, fixes #19376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:47:11 +00:00
koopersmith
68a166cca7 Update help content for tools page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:44:08 +00:00
nacin
ad56beed8f Update comments icon in the menu sprite to match the rounded admin bar icon. props empireoflight. fixes #19379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:42:36 +00:00
koopersmith
93808a4a55 Update help content for export page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:40:36 +00:00
koopersmith
626751a2f6 Update help content for import page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:38:13 +00:00
koopersmith
90f4fb3dd5 Update help content for user edit page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:32:33 +00:00
azaozz
a55d901b12 Check the sidebar class for orphaned sidebars, match sidebars by id while retrieving orphans and the theme has not changed, props SergeyBiryukov, fixes #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 06:16:43 +00:00
dd32
6da2f73c78 Add a missing translation. Props yuraz, vanillalounge. Fixes #19359
git-svn-id: http://svn.automattic.com/wordpress/trunk@19454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 04:08:38 +00:00
azaozz
952187eb76 Update the text for inactive sidebars, props chrisbliss18 SergeyBiryukov, fixes #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 20:00:21 +00:00
azaozz
f1ef47ded2 Make sure all orphaned sidebars are shown on the left (under Available Widgets), see #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 19:46:41 +00:00
nacin
572dcb6205 Use class_exists() rather than is_admin() as otherwise the unit tests won't work without a WP_ADMIN hack. see #19342.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 05:15:28 +00:00
azaozz
e8638a517a Move the check whether the theme supports widgets before we register any extra sidebars, fixes #19352
git-svn-id: http://svn.automattic.com/wordpress/trunk@19449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 17:44:53 +00:00
nacin
97dcf902db Revert [19372] for 3.3. see #13473.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 16:06:17 +00:00
azaozz
32267a39dd Few more RTL and IE7 fixes, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:40:31 +00:00
ryan
efbbab1b3c Help tabs. Props chexee. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:21:39 +00:00
dd32
c85525aece Switch to sanitize_title_for_query() for Query sanitization (allows for pre-3.3 page slugs to be viewable), Don't update page slugs to new slug-types when the slug is not being changed, Don't issue a XHR if the page slug hasn't changed. Group effort props xknown, markjaquith, nacin. See #19292
git-svn-id: http://svn.automattic.com/wordpress/trunk@19444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:20:21 +00:00
koopersmith
1611327f11 Remove help tab from credits page, tweak about page CSS. props chexee, see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:49:33 +00:00
nacin
fd676baa81 Redirect to about.php on update. props ocean90. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:38:36 +00:00
nacin
470a2bb683 Hide unrelated maintenance message on update-core when you are running the latest version, and show a link to about.php. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:28:50 +00:00
azaozz
cd153ba4fb Tweak the active help tab padding to line it up, see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:23:05 +00:00
koopersmith
e73fcd8c4a In expanded admin menus, block the shadow when hovering over a childless item. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:19:12 +00:00
ryan
094ebdb120 Indent cleanup. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:08:02 +00:00
nacin
c563977e85 Update jQuery version on about.php. Force ltr for 'is_main_query()'. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:07:48 +00:00
ryan
c4b72bf705 Help tabs. Props Ipstenu. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:06:52 +00:00
ryan
0e95236e14 Help tabs. Props chexee. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:02:22 +00:00
koopersmith
a854e80a19 In the collapsed admin menu, retain the arrow when hovering over a childless item. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:50:46 +00:00
koopersmith
5ff76fd777 Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:14:03 +00:00
ryan
ff358379c9 Move convert_to_screen() back to template.php to avoid fatal errors with plugins and themes that direct include template.php into the front end. Flag this bad behavior with _doing_it_wrong(). Props nacin. fixes #19342
git-svn-id: http://svn.automattic.com/wordpress/trunk@19428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:29:33 +00:00
azaozz
b2a114b952 DOn't show flyouts on tabbing for now (not accessible), fixes #19191
git-svn-id: http://svn.automattic.com/wordpress/trunk@19426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:17:20 +00:00
nacin
974108d57c Select the submenu item for post-new.php when using show_in_menu = 'some-parent-file' for post types. Continue to select the post-new.php submenu item if it has been separately added with add_submenu_page(). fixes #19125.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 20:45:23 +00:00
azaozz
d170df731a Fix inserting images from url in Press This, fixes #19341
git-svn-id: http://svn.automattic.com/wordpress/trunk@19424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 20:32:21 +00:00
duck_
5a84496f20 Fix about.php RTL issues and image vertical alignment. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:23:59 +00:00
nacin
388986f5b0 Punctuation tweaks to about.php. props jane. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:22:46 +00:00
nacin
a7c296dd47 Move WP_Editor to a _WP_Editors encapsulation.
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
 * TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
 * Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes #19320.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00
koopersmith
689dade993 RTL styles for pointers. props helenyhou, fixes #19335.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:53:11 +00:00
nacin
dd697967bf Change show/hide storage mechanism for show_welcome_panel. 0 = hide, 1 = show, 2 = show if the multisite owner. Make welcome panel dismissable without JS (openable too via the URL). fixes #19338, fixes #19127.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:30:45 +00:00
duck_
84b34160fa Go back to $post_type global as get_current_screen()->post_type is empty during add/edit-tag AJAX requests. Fixes #18722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 15:20:45 +00:00
duck_
ae41efe347 Texturized apostrophes. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 22:14:48 +00:00
markjaquith
279615ea59 Fix "wp_db_current_db_version" typo. see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@19411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 22:05:42 +00:00
markjaquith
a1fb35ca98 Introduce initial_db_version and leverage it so that pointers only get shown to updated installs, not new 3.3 installs. props nacin. see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@19410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:50:50 +00:00
duck_
91746f3179 Further tweaks to What's New layout and content. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:28 +00:00
azaozz
fb79e5e64c Restore back-compat with wp_tiny_mce(), see #19320
git-svn-id: http://svn.automattic.com/wordpress/trunk@19408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:01 +00:00
azaozz
9d4c2efa7a RTL fix for Login screen, props SergeyBiryukov, fixes #19316
git-svn-id: http://svn.automattic.com/wordpress/trunk@19404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 20:54:41 +00:00
markjaquith
a5b0f9d666 Remove the the typo that no one noticed on the the credits screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 20:34:34 +00:00
duck_
0c58e7b1a9 Revert r18875. Sorting arrows should be displayed when the screen is too narrow. See #15993.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 17:11:06 +00:00
duck_
ca3bdacd5e Remove unused admin-bar.png image. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 16:16:54 +00:00
duck_
a0a892eaca Update "What's New" content and layout. Re-add i18n. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 16:07:36 +00:00
nacin
9cda4c5982 Remove 'update' from site-users.php on redirect. props PeteMall, fixes #18895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 05:55:55 +00:00
nacin
62b662cc14 Hide admin notices on the about/credits/freedoms screens. props devinreams, fixes #19237.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 04:07:34 +00:00
dd32
e06a8cc7d5 Add some height to the Login button in Chrome/IE. Props SergeyBiryukov. Fixes #19319
git-svn-id: http://svn.automattic.com/wordpress/trunk@19392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 03:23:48 +00:00
nacin
00823b1deb Remove old dismissed pointers as the IDs have changed. Switch to underscores that way we don't need to translate them for method names. Avoid an empty pointer in the array. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 23:04:35 +00:00
koopersmith
f00103b488 Add new 3.3 pointer content, encapsulate 3.3 internal pointers in a final class. props ocean90, see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 22:39:48 +00:00
azaozz
96681a7e56 Extend the workaround for adding the Press This bookmarklet to IE, props dllh SergeyBiryukov, fixes #18487
git-svn-id: http://svn.automattic.com/wordpress/trunk@19387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 22:23:39 +00:00
nacin
390394eaff New string on credits.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 21:25:27 +00:00
nacin
5f60ab4076 Remove $post_type global usage from media list table. Correct $post_type to 'attachment' for upload screens. see #18722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 20:48:57 +00:00
azaozz
3fcae6d702 Output the "After a file has been uploaded..." message by using the post-upload-ui action, fixes #18764
git-svn-id: http://svn.automattic.com/wordpress/trunk@19384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 20:46:15 +00:00
duck_
16cce52b9f Link the posts count on taxonomy list table for non-public taxonomies. Instead check if the post type has show_ui => true as we're linking to the post list table. Fixes #18722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 20:44:48 +00:00
azaozz
8c67ff6831 Press This: fix duplicate HTML IDs, add the 'default_post_to_edit' ID, fix minor RTL css, fixes #18989
git-svn-id: http://svn.automattic.com/wordpress/trunk@19381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 18:32:39 +00:00
nacin
75c741cd8b Revert other stuffs from [19374].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 15:43:57 +00:00
nacin
5e69bd0caf Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 15:35:57 +00:00
westi
a29b2945ae Respect the default comment/ping status for new posts even when someone has hidden the meta box which lets you alter them on a per-post basis.
Fixes #13473 props solarissmoke. 


git-svn-id: http://svn.automattic.com/wordpress/trunk@19372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 13:45:10 +00:00
azaozz
cd1621c23b Help tabs RTL fixes, props helenyhou, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 03:40:56 +00:00
azaozz
eb5dbde246 Admin bar IE7, iPad and rtl refresh, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 02:03:02 +00:00
azaozz
3287ef6d9c Change the drop target border color, props ocean90, fixes #19298
git-svn-id: http://svn.automattic.com/wordpress/trunk@19367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 19:16:35 +00:00
nacin
3374c6e672 Undo clever gradient backgrounds for the WP welcome badge. Doesn't degrade well in Android and possibly other browsers. props Chexee, see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 18:59:49 +00:00
azaozz
eeedb253a7 Improve RTL for Welcome panel, refresh css files, see #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 02:10:10 +00:00
koopersmith
c65d96de08 Help tabs: remove scrollbar and max-height. see #19155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 01:03:17 +00:00
azaozz
2dd43e3337 Remove old styling for rtl progress bar, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 21:50:33 +00:00
azaozz
bc6ecba6de Fix the border color on Menus screen, props ocean90, fixes #19234
git-svn-id: http://svn.automattic.com/wordpress/trunk@19359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 20:11:27 +00:00
azaozz
87794e8973 Restore the handle arrow in Post publish metabox, props ocean90, fixes #19299
git-svn-id: http://svn.automattic.com/wordpress/trunk@19358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 20:03:58 +00:00
azaozz
9d8a007f27 Fix Quickpress labels in FF, props ocean90, fixes #19170
git-svn-id: http://svn.automattic.com/wordpress/trunk@19357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 20:00:50 +00:00
azaozz
d333309975 RTL refresh for Welcome panel, fixes #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 19:49:20 +00:00
azaozz
a715cedef2 Remove the gap on folded admin menu item with submenu above a divider, props helenyhou, fixes #19269
git-svn-id: http://svn.automattic.com/wordpress/trunk@19355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 18:33:20 +00:00
azaozz
40058cb1b7 More RTL for the admin menu, props ocean90, see#19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 17:54:24 +00:00
azaozz
c71b4ada24 Update RTL bullet alignment on New Install Dashboard Welcome Area, props chexee, see #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 04:33:51 +00:00
azaozz
6c38abc51d Show Insert into post button in the media library when the current post supports editor (not the attachment parent), props SergeyBiryukov, fixes #18912
git-svn-id: http://svn.automattic.com/wordpress/trunk@19350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 04:28:39 +00:00
markjaquith
b144c63c74 Start documenting under the hood features for WordPress 3.3. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 04:18:54 +00:00
azaozz
507643807a Welcome Screen: remove white space, make the second dismiss link work, see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 00:42:22 +00:00
koopersmith
931fbf8b36 Remove repetitive title on Credits and Freedoms pages. props ocean90, fixes #19294.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 00:35:13 +00:00
koopersmith
d5f9da0dfd Center admin menu img icons. props trepmal, fixes #19133.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 00:32:15 +00:00
koopersmith
2f808f68d4 Shift welcome panel columns below WP badge. Improve column grid. props chexee, see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 23:33:11 +00:00
azaozz
27531f0f9b Welcome Screen: update column widths to show 3-col view on 1280 wide screens. Props helenyhou chexee, see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 20:11:39 +00:00
ryan
d89f81d168 Welcome Screen styling. Props chexee. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 18:58:46 +00:00
ryan
396d5a0184 Welcome Panel: Add 'First Steps With WordPress' link. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 15:32:23 +00:00
ryan
f42169fabb Welcome Panel: Consult current theme capabilities. Remove trailing punc from list items. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 15:30:31 +00:00
azaozz
7f9b0fcc1e Don't show the uploader on iPads (it's pointless), fixes #19004
git-svn-id: http://svn.automattic.com/wordpress/trunk@19335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 08:43:16 +00:00
azaozz
2d6d3c748a Prevent errors in assigning widgets to sidebars for themes with dynamic sidebars, props batmoo, fixes #19274
git-svn-id: http://svn.automattic.com/wordpress/trunk@19334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 07:00:26 +00:00
azaozz
042635b68c Tweak install.php CSS to better fit translations, props SergeyBiryukov, fixes #19281
git-svn-id: http://svn.automattic.com/wordpress/trunk@19331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 01:56:50 +00:00
azaozz
af14c4fdb0 Change text prompt in HTML uploader, props jane, fixes #19276
git-svn-id: http://svn.automattic.com/wordpress/trunk@19330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 01:25:27 +00:00
ryan
76283bae32 First pass at Welcome Screen content. Props jane. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 22:54:54 +00:00
ryan
258bed4b6f Change Close tab in Welcome Screen to a Dismiss link. Aligh bullets with paragraphs. Props georgestephanis, chexee. fixes #19271
git-svn-id: http://svn.automattic.com/wordpress/trunk@19326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 20:48:40 +00:00
nacin
304a36041a WP_Screen->post_type is always set. see #19131.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 19:50:14 +00:00
ryan
1dda3e01dd Don't die in my-sites.php if the user has no sites. Intead, display message within admin chrome. Props trepmal. fixes #18935
git-svn-id: http://svn.automattic.com/wordpress/trunk@19323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 18:52:58 +00:00
ryan
66388c185e Don't fallback to default post type or taxonomy if given an invalid post type or taxonomy. Use typenow as the canonical post type. Props nacin. see #19131
git-svn-id: http://svn.automattic.com/wordpress/trunk@19321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 18:01:08 +00:00
azaozz
930cd0862f mode == 'tmce' || mode == 'tinymce', see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 15:50:01 +00:00
nacin
f0eebf3376 Remove extra space. props danielbachhuber.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 04:41:51 +00:00
azaozz
44472ebcff Make switchEditors.go() fully back-compat, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 02:44:28 +00:00
markjaquith
2e2c07f094 Only fall back to get_site_option() if blog_upload_space value is === false. Zero should not fall back. fixes #18119. props jakub.tyrcha
git-svn-id: http://svn.automattic.com/wordpress/trunk@19314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 22:02:01 +00:00
markjaquith
cb220fd555 Fix various login form and password strength meter CSS issues. fixes #18740. see #19201. props Sergey Biryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 21:58:20 +00:00
nacin
cd33a2118d Fix typo in filler text cause we all know it'll slip through accidentally. props paulhastings0, fixes #19255.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 01:58:13 +00:00
nacin
a14dd3db8b Allow enter to trigger a new custom link on nav-menus.php. props mattwiebe, fixes #18255.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 01:45:11 +00:00
azaozz
ae3a4343e9 More RTL fixes, props rosshanney, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:58:42 +00:00
azaozz
28ec7872a2 Make the Save All Changes initially hidden on Media -> Add New screen, improve the progress bar "progress" to 1px ticks, see #19190
git-svn-id: http://svn.automattic.com/wordpress/trunk@19306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:22:27 +00:00
ryan
45ddf08e07 Introduce wp_no_robots(). Call it for pages that should never be indexed, regardless of blog privacy settings. Props nacin. fixes #19251
git-svn-id: http://svn.automattic.com/wordpress/trunk@19304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 20:44:48 +00:00
duck_
5e3fe22bac Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 17:57:53 +00:00
azaozz
52b5e282bd Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: http://svn.automattic.com/wordpress/trunk@19297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 15:47:07 +00:00
ryan
7f10cf4814 Don't show edit links for spam comments. Props DH-Shredder. fixes #18340
git-svn-id: http://svn.automattic.com/wordpress/trunk@19296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 14:02:42 +00:00
nacin
c657c79258 Use REQUEST rather than GET to check the current post status page in _post_states(). Addresses a Quick Edit display issue. fixes #18611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 03:51:28 +00:00
azaozz
a25b873fd4 Add some more padding to the Dismiss link in the uploader notices, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 02:48:21 +00:00
nacin
836051d1e9 Pass 'id' on network/site-themes in the case of disabled referers. props Viper007Bond, fixes #18936.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 02:24:30 +00:00
azaozz
8f4fd39550 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 23:21:16 +00:00
nacin
0f3e2f79bd Show 'Profile updated' for profile.php. props johnbillion, fixes #19053.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 22:09:15 +00:00
nacin
30ff37104d Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:35:44 +00:00
koopersmith
f04a3d38e8 Fix folded flyout overlaps for current items. props trepmal. fixes #19119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:03:14 +00:00
nacin
8fd2bc97a6 ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:40:31 +00:00
koopersmith
699b72940f Fix off-by-one pixel error in folded admin menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:10:14 +00:00
azaozz
e09e8f465c Filter the link href when inserting external image in the editor, props DrewAPicture, fixes #18445
git-svn-id: http://svn.automattic.com/wordpress/trunk@19275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 19:35:32 +00:00
ryan
0ec7ae44ca Fix edit.php row action redirects when referrers are not sent. Return false from wp_get_referer() when no referrer found. Props mitchoyoshitaka. fixes #17628
git-svn-id: http://svn.automattic.com/wordpress/trunk@19272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 16:59:45 +00:00
koopersmith
8740d2c65d New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 10:30:14 +00:00
azaozz
a491abfbb2 Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 18:37:30 +00:00
ryan
23d963c967 Use correct var. Props ocean90. fixes #18176
git-svn-id: http://svn.automattic.com/wordpress/trunk@19267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 15:20:25 +00:00
azaozz
7123026a3b Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 02:01:13 +00:00
azaozz
9961962861 Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:52:26 +00:00
nacin
64ab05ab09 Normal sentence case. see #19228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 20:32:20 +00:00
ryan
c4d9f38dce Fix message concatentation. Remove no longer used 'posted' message. fixes #16380
git-svn-id: http://svn.automattic.com/wordpress/trunk@19259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 20:01:56 +00:00
azaozz
a37b440bac Bring back the multi-file/html uploader switching, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:40:23 +00:00
ryan
61fca35691 Don't show 'Use as featured image' in the image insert dialog if the post type does not support thumbnails. Props SergeyBiryukov. fixes #18669
git-svn-id: http://svn.automattic.com/wordpress/trunk@19256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:38:34 +00:00
ryan
04831b81ec Used numbered format specifiers. Add translator note. Props SergeyBiryukov. fixes #19090
git-svn-id: http://svn.automattic.com/wordpress/trunk@19255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 18:37:04 +00:00
ryan
73432f9c5a Use taxnow to determine the taxonomy for GET and POST requests in edit-tags.php. Props nacin. fixes #19131
git-svn-id: http://svn.automattic.com/wordpress/trunk@19253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:44:16 +00:00
ryan
4c837e9522 Check caps when showing media edit and attach links. Clean up formatting. Props kurtpayne, DH-Shredder, solarissmoke. fixes #17419
git-svn-id: http://svn.automattic.com/wordpress/trunk@19252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:04:54 +00:00
ryan
6bbc8d4ce4 Avoid notice when themes dir is empty or missing. Don't reset current theme in current_theme_info() if there are no themes. Show warning in Right Now if there are no themes. Props azaozz. fixes #19089
git-svn-id: http://svn.automattic.com/wordpress/trunk@19251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 14:10:54 +00:00
nacin
58cdff8ce9 Style updates to translators list on Credits page. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 23:16:21 +00:00
ryan
ba9bd2e208 Properly handle child themes for WP_DEFAULT_THEME. Props SergeyBiryukov. fixes #18591
git-svn-id: http://svn.automattic.com/wordpress/trunk@19249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 21:06:57 +00:00
azaozz
6074eda69d Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 20:33:26 +00:00
ryan
872428d60d More specific error strings for failed theme and plugin package uploads. Props dd32. fixes #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:41:44 +00:00
nacin
22cf9f0fe4 New WordPress badge for welcome panel and about screens. props chexee, ocean90. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:05:01 +00:00
nacin
89c5a967d6 Add wxr_export_skip_postmeta filter for skipping postmeta in exports. props westi, fixes #18280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:32:44 +00:00
nacin
087eb4e30a Rename attachment link button from 'Post URL' to 'Attachment Post URL.' props jeremyclarke, fixes #13544.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:23:31 +00:00
duck_
a57f6b0271 Stop multiple loading spinners showing when repeatedly accessing Press This Add Photos box. Fixes #18992.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 16:46:05 +00:00
nacin
4fa61390ef Fix link in welcome panel. see #19217, props cebradesign, SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 15:21:26 +00:00
azaozz
eca4184725 Revert media.php too, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:42:20 +00:00
azaozz
331b242bcd Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:34:09 +00:00
azaozz
623220187a Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:23:40 +00:00
koopersmith
b297f9061c Make top level admin menu items show an arrow when selected. fixes #19209.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 21:32:03 +00:00
azaozz
ee227a7e48 Fix inline/block switching for the Categories postbox tabs, props linuxologos, fixes #19129
git-svn-id: http://svn.automattic.com/wordpress/trunk@19219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:24:55 +00:00
azaozz
10859e2b8f Ressurect WP_Scripts::localize() and fix public function names, fixes #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@19217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:05:59 +00:00
ryan
91bf9d9bae Don't show the view link for a future post unless the current user has the permissions to edit the post. Treat future posts as a preview case. Props ocean90. fixes #18894
git-svn-id: http://svn.automattic.com/wordpress/trunk@19213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:24:14 +00:00
ryan
81a03236ec Use get_site_url() instead of hard-coding the protocol. Props SergeyBiryukov, exell.christopher. fixes #17466
git-svn-id: http://svn.automattic.com/wordpress/trunk@19211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:13:42 +00:00
azaozz
307f243ee4 Fix tabbing from 'title' to 'content', see #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 19:49:50 +00:00
nacin
02f57cbf59 Merge and update variable declarations. fixes #19176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:45:24 +00:00
nacin
461685f74f Allow tags autosuggest to work in quick edit when there are no tags. props solarissmoke, see #19176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:43:04 +00:00
nacin
3a3c7e2334 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:32:24 +00:00
nacin
3526f8a7da Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:28:20 +00:00
koopersmith
dae0be0711 Improve display logic for admin menu arrows. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 04:18:50 +00:00
koopersmith
91aaf6bdf5 Improve admin menu tab navigation for expanded menus. Folded menus require a few markup improvements. see #19191.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 03:59:00 +00:00
koopersmith
df818bec66 Blue theme improvements for welcome panel. Add .icon16 definitions. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 00:39:46 +00:00
azaozz
0ec64132db Fixes for the blue theme, props helenyhou, see #19183
git-svn-id: http://svn.automattic.com/wordpress/trunk@19195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 23:01:51 +00:00
azaozz
a31f0ad164 Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
git-svn-id: http://svn.automattic.com/wordpress/trunk@19194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:46:24 +00:00
nacin
84280671d4 Don't use $post_type global in the posts list table. props scribu, see #18475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:14:27 +00:00
nacin
f30f2e5c17 Correct the position of the resizer for the visual editor (not the main editor). props jakemgold, fixes #19177.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 20:42:20 +00:00
azaozz
8284ef87fb Fix lag when opening help tab if screen options was opened before, fixes #19172
git-svn-id: http://svn.automattic.com/wordpress/trunk@19186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:18:45 +00:00
nacin
ab5f3aa79c Remove default help text. Keep the default_help filter in place for plugins. fixes #19154.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:13:06 +00:00
nacin
534578f339 Space out two strings. props ocean90, fixes #19167.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 20:21:12 +00:00
duck_
81587cecf4 Only hide "Most Used" category tab when the body has .no-js class. See #16810, fixes #19129.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:35:49 +00:00
azaozz
f7fa2684e8 Uploader: split "Drop files here -or-..." on two lines, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:09:38 +00:00
azaozz
9ca4a9a39a Update Comment -> Update, props ocean90, fixes #19166
git-svn-id: http://svn.automattic.com/wordpress/trunk@19176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:03:33 +00:00
azaozz
6e9010c128 Blue theme HTML editor fixes, min-width -> width for .inner-sidebar, props ocean90, fixes #19162
git-svn-id: http://svn.automattic.com/wordpress/trunk@19175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 17:03:17 +00:00
azaozz
63c55f4058 Remove min-width from #post-body-content, props ocean90, fixes #19062
git-svn-id: http://svn.automattic.com/wordpress/trunk@19174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 16:53:26 +00:00
nacin
fa76992c20 Only call wp_comment_reply() on post.php if the post type supports comments. props zeo, fixes #17931.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:41:25 +00:00
koopersmith
854684b63b Blue theme styles for welcome panel and about pages. see #11651, 18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 02:06:56 +00:00
koopersmith
eec22244dc Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:17:50 +00:00
azaozz
94ef5dd13f Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:13:18 +00:00
nacin
31c84c9d7b Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:06:11 +00:00
nacin
0a825c74be Pass $tab array to callback execution for help tabs. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:04:58 +00:00
nacin
7c0be8f0e5 Remove i18n until text settles. see #18795.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 13:57:45 +00:00
azaozz
a7d3a67b46 RTL adjustments for the About screens, props SergeyBiryukov, fixes #19143
git-svn-id: http://svn.automattic.com/wordpress/trunk@19149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 13:09:53 +00:00
azaozz
9e6883bb8f Remove unused .toggle-arrow styling, props SergeyBiryukov, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 12:22:46 +00:00
azaozz
b9d481d371 Help and Screen Options RTL adjustments, props SergeyBiryukov, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 12:19:09 +00:00
nacin
75ec2f756d RTL for credits. props SergeyBiryukov, see #19143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 04:35:06 +00:00
koopersmith
51741405a0 First half of new welcome panel formatting. props chexee. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 01:31:31 +00:00
koopersmith
84b6adf701 The about pages are lonely orphans. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:45:11 +00:00
koopersmith
011ade3db6 Formatting and CSS for credits and freedoms pages. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:37:56 +00:00
duck_
4516c37a11 Fix double border on right side of contextual help when no help sidebar exists. See #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:07:57 +00:00
nacin
dffd88b194 Remove copy-pasted classes. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:59:19 +00:00
nacin
3f606d28b0 Yank version numbers out of translated strings. TODO decide whether this should be major version only, which probably means about.php should also contain text about x.y vs x.y.z. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:55:03 +00:00
nacin
17c3514a7f Two style tweaks to the update nag so it blends well with help/option panels and the admin bar.
* Add a top border to it, but hide it under the admin bar. Helps appearance as the page is rendered (as admin bar is last).
 * Bring the update nag slightly off center again (see [19130]) to ensure it lines up with help/options panels.
see #18197.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:41:45 +00:00
koopersmith
ac9486b7f8 Move about page CSS to main CSS files. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:32:44 +00:00
nacin
4454d5e50c Only show #screen-meta (which encloses the panels) when a panel is showing. Otherwise there's a one-pixel gray line that's really aggravating my OCD. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:30:55 +00:00
nacin
230d3d62ce Add about.php text/tabs to credits.php and freedoms.php. (Caution: Styles may settle during shipping.) see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:23:31 +00:00
koopersmith
8576e8d07f Layout and filler content for new about page. CSS will be moved to the main files. props chexee. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:13:50 +00:00
nacin
1494ca6b9f Use a better method for [19133]. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:09:59 +00:00
nacin
04915a9b07 Show the welcome screen when one shows it from Screen Options, advances to a page, then uses the browser's back button to return. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:08:24 +00:00
nacin
9741ce2773 Allow is_network and is_user to work for all screen instances. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:00:46 +00:00
azaozz
8454367edf Revert the look and functionality of Screen Options ans Help links/tabs, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 20:26:09 +00:00
azaozz
f73e6b3228 Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 17:08:12 +00:00
azaozz
84a23bfd81 Remove the Cancel Upload button, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:47:12 +00:00
azaozz
1fcdc41bdb Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@19126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:31:27 +00:00
nacin
1e12e6713d More help sidebars. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 21:42:57 +00:00
nacin
cece838d8f More s/add_help_sidebar/set_help_sidebar/. fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 21:32:16 +00:00
nacin
e62b1ce3c9 More help sidebars. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:54:56 +00:00
nacin
bfb98c193e s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:14:10 +00:00
ryan
b2bfe42593 Blue admin color scheme updates for the contextual help tabs. Props chexee. see #18964
git-svn-id: http://svn.automattic.com/wordpress/trunk@19118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 17:21:50 +00:00
azaozz
ee93344f32 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 15:24:56 +00:00
dd32
16697d503e Tabs > Spaces. Props SergeyBiryukov. See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 12:16:47 +00:00
ryan
366db8c10b Use add_help_sidebar(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 05:33:53 +00:00
nacin
3932addc50 Reverse variable assignment order. D'oh. see #19108.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 04:24:17 +00:00
nacin
fff2457234 Remove cruft. see #19106.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 04:14:14 +00:00
ryan
3ad1f67958 Use add_help_sidebar(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 03:12:37 +00:00
ryan
97d61ca5a2 Chain off of get_current_screen() instead of using global. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 02:38:37 +00:00
markjaquith
c59f813e32 Use %s instead of %d in plugin install notice strings. props johnbillion. fixes #19106
git-svn-id: http://svn.automattic.com/wordpress/trunk@19109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 02:36:18 +00:00
nacin
6c9e82de0a Use more obvious variables in WP_Screen. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:36:04 +00:00
nacin
687642fead Simplify logic in wp-fullscreen-save-post. Most of this came from post.php but that's been cut down as well. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:23:05 +00:00
ryan
9e397bfb12 No need to setup current screen in wp-fullscreen-save-post handler. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 21:15:18 +00:00
duck_
0ca4df123a Remove dead code left by r18621. Props ocean90. Fixes #19087.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 12:36:14 +00:00
azaozz
a2e4511e5f Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 11:56:20 +00:00
azaozz
b63ffa3f38 Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:38:28 +00:00
nacin
13db43d2d3 Always run the old contextual_help filter. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:37:43 +00:00
nacin
29e469f151 Consistently set taxnow/typenow and the current screen's post_type/taxnomy, whenever it can be detected. Allow WP_Screen::get() to accept a post type as a hook_name. Fixes issues with the meta box $page/$screen argument. fixes #19080. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:28:17 +00:00
ryan
6bc11ddcfe Use key(). Props scribu. fixes #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 19:46:10 +00:00
nacin
c2064f9976 Move from quickpress_post_ID to post_ID. fixes #19095.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 17:08:36 +00:00
nacin
aa6eb9729a Fix copypasta in in WP_Screen. see #19095, props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 16:57:29 +00:00
azaozz
efc7ca76d7 Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
git-svn-id: http://svn.automattic.com/wordpress/trunk@19091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 21:56:27 +00:00
azaozz
10c836c382 Some more css cleanup, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 21:50:32 +00:00
nacin
4c9afe489a Require show_ui rather than public for a taxonomy's parent post type. see #19080.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 05:30:57 +00:00
azaozz
12b9d51e2e Theme and plugin editor textarea direction in RTL, props SergeyBiryukov, fixes #18021
git-svn-id: http://svn.automattic.com/wordpress/trunk@19087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 00:55:58 +00:00
azaozz
697f2371e6 Browse Happy RTL fix, props SergeyBiryukov, fixes #18093
git-svn-id: http://svn.automattic.com/wordpress/trunk@19086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 00:52:21 +00:00
azaozz
55fdf0eaaf Fix help tabs in RTL, props rosshanney, fixes #19024
git-svn-id: http://svn.automattic.com/wordpress/trunk@19083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 23:05:58 +00:00
azaozz
08ecc0293a RTL CSS cleanup for credits.php, props SergeyBiryukov, fixes #18420
git-svn-id: http://svn.automattic.com/wordpress/trunk@19082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:42:36 +00:00
azaozz
eeec5eeda1 RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000, fixes #17988, fixes #19006
git-svn-id: http://svn.automattic.com/wordpress/trunk@19080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:14:59 +00:00
ryan
31e3ff3fb1 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 15:48:44 +00:00
ryan
9c4728942f gettext fix. Props ocean90. fixes #18770
git-svn-id: http://svn.automattic.com/wordpress/trunk@19073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 21:14:14 +00:00
ryan
e261ac43e7 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 20:00:09 +00:00
ryan
c23e0cc0bc Make repair.php fully translatable. Props ocean90. fixes #18770
git-svn-id: http://svn.automattic.com/wordpress/trunk@19070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 18:31:45 +00:00
duck_
7ba5b2f7a3 Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029.
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".


git-svn-id: http://svn.automattic.com/wordpress/trunk@19068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-26 08:47:16 +00:00
nacin
1c9abd21ca Use correct object. props adambackstrom. fixes #19045.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:08:24 +00:00
nacin
1e6e52e1c1 Add missing keyword. fixes #19046, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:05:39 +00:00
nacin
68225fdf13 Make convert_to_screen() more resilient. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 06:54:23 +00:00
nacin
f9d807d649 Merge upgrade_old_widgets_order_array() into upgrade_330(). see #18811, see #18821.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:50:39 +00:00
nacin
66125a116f Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:48:09 +00:00
nacin
6f9612f45c Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:29:28 +00:00
dd32
68037f4ac1 Themes not within a subdirectory of the zip need to have the working directory Trailingslashed. See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 04:25:52 +00:00
ryan
62afab8db3 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:13:23 +00:00
ryan
ad3eb8f7ab Fallback to the default post type only if it is registed for the taxonomy. Props nacin. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:10:56 +00:00
nacin
12de7d1e2d Move WP_Screen to a full registry. Have convert_to_screen() return a WP_Screen object. Improve and verify values for post_type and taxonomy. see #18785. also fixes #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 18:34:08 +00:00
nacin
29f6c203cd screen.php tidying. Doc fixes and improvements. Improve logic in ::show_screen_options(). Remove regex in ::set_parentage(). Better variable names. Streamline get_screen_icon(). Whitespace. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 06:40:15 +00:00
nacin
a4a58839d0 Deprecate favorite_actions(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 06:10:36 +00:00
nacin
c62a9fe508 Rework get_hidden_meta_boxes() to leverage a full WP_Screen object. Prevents custom post types from having their explicity supported meta boxes being hidden by default. see #18958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 19:22:27 +00:00
ryan
d01f93226d Fix sub menu highlighting for post type pages. see #13662
git-svn-id: http://svn.automattic.com/wordpress/trunk@19048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 18:45:06 +00:00
nacin
f6368c50c4 Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 18:01:33 +00:00
nacin
7ed04cc2f3 Deprecate media_upload_(image|audio|video|file)(), type_url_form_(image|audio|video|file)(). These now wrap wp_media_upload_handler() and wp_media_insert_url_form(). see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:58:06 +00:00
nacin
ad0e83c165 Adjust the height of the help columns on 'Help' tab open. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:55:24 +00:00
nacin
1a37559654 Fix [16249]. $typenow is considered empty on edit-tags screens, rather than displaying the parent post type. Switch to the $post_type global for now, which is set in the terms list table constructor. see #14886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:48:58 +00:00
nacin
2b4b7aa211 Undent (by two tabs) a whole lot of code in dbDelta(). Thx. see #17998.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:40:30 +00:00
nacin
870d7860fd Have dbDelta() loop through tables it knows about, rather than loop through a potentially expensive and definitely unnecessary SHOW TABLES. fixes #17998.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:35:33 +00:00
nacin
f708c5eaff Make wpmu_delete_blog() slightly less crappy. Prevents the entire network from being dropped in a particularly rare edge case. Removes some zombie code. fixes #19009.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:04:52 +00:00
duck_
424cd58652 Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:53:57 +00:00
nacin
43eae59235 Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: http://svn.automattic.com/wordpress/trunk@19028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:04:46 +00:00
nacin
023143f7cd Allow a super admin to demote themselves on a site to a role that does not contain the promote_users cap. props fonglh, fixes #18164.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:12:25 +00:00
nacin
3e61e179d9 Sanitize plural and singular args for list tables. props sbressler, fixes #18875.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 23:51:06 +00:00
nacin
51657715c1 Make $screen argument for add_meta_box() (previously $page) optional. see #18958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 23:01:55 +00:00
nacin
f11bc146f7 Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:57:37 +00:00
nacin
db86ea12d4 Strip out the show_wp_pointer_admin_bar for now. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:52:14 +00:00
nacin
11a800a3d9 Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:21 +00:00
ryan
d0d8eb2aaf Update meta box functions to handle WP_Screen objects and pass objects instead of IDs to them in core files. Allow passing emptiness to get the current screen. see #18958
git-svn-id: http://svn.automattic.com/wordpress/trunk@19013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:02 +00:00
duck_
16daac44ec Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:48:07 +00:00
markjaquith
aa64ec5d1d Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18551
git-svn-id: http://svn.automattic.com/wordpress/trunk@19010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:08:57 +00:00
koopersmith
52829ad92f In welcome panel, move periods outside of links. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:05:12 +00:00
koopersmith
1391717cfa Welcome panel contents and functionality. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:41:26 +00:00
nacin
9bfad4c43e Better padding and information on the plugins list on Dashboard/Updates. props otto42. fixes #17406.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 14:51:48 +00:00
azaozz
6d3c45d333 Few more RTL fixes, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:42:41 +00:00
azaozz
9d05f1f94a Press This CSS cleanup, props andrewryno, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:16:15 +00:00
ryan
67661f7181 Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:44:39 +00:00
ryan
6623ea4b4a Avoid pass by ref warning. Props arena. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:38:18 +00:00
nacin
0b9a1f68da Use get_intermediate_image_sizes() in image edit functions. props mau, fixes #17475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:33:34 +00:00
nacin
1387dfd1f2 Fix media/audio/file URL insertion. Strip slashes off title text. Leave red X to images only. fixes #14996. fixes #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:32:40 +00:00
ryan
f1ec92751f Use get method for plugin search form. Avoid lingering notices. Props garyc40. fixes #16549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:18:08 +00:00
ryan
3dc95bc55a Don't filter taxonomy list. see #18983
git-svn-id: http://svn.automattic.com/wordpress/trunk@18990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 16:33:31 +00:00
dd32
5194428741 Fix Undefined Variable Notices when no charset/collate is set for $wpdb. See #12028
git-svn-id: http://svn.automattic.com/wordpress/trunk@18986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 02:48:07 +00:00
dd32
8e82c7560c Add the Tumblr importer to the Importers List. Fixes #18976
git-svn-id: http://svn.automattic.com/wordpress/trunk@18985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 02:32:28 +00:00
koopersmith
5990b8ca14 Fix the admin menu in the blue theme. props ocean90. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 21:04:29 +00:00
azaozz
e849d3b270 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: http://svn.automattic.com/wordpress/trunk@18982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 20:57:32 +00:00
nacin
b040745a22 Add basic help styles to colors-classic. props ocean90, see #18964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 19:18:28 +00:00
nacin
2ce5a485ed Close strong tag. props scribu. fixes #18970.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 18:57:06 +00:00
duck_
6926503ebf Fix notices in wp_iframe() and iframe_header() by referencing $wp_htmltag_class as a global. See r18975 and #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 10:43:55 +00:00
azaozz
9127076d34 Clean up styles for #wphead, #favorite-actions and the old editor buttons, props andrewryno, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:46:58 +00:00
azaozz
0f2431e25a RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:33:01 +00:00
koopersmith
c47765dedb Simplify pointer API with smarter positioning. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 03:33:46 +00:00
azaozz
6141f8039b Menu RTL css refresh, fixes #18906
git-svn-id: http://svn.automattic.com/wordpress/trunk@18968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 01:06:23 +00:00
ryan
99d80d6b4a Avoid notices when viewing non-existent taxonomy. Props ocean90, johnbillion. fixes #18716
git-svn-id: http://svn.automattic.com/wordpress/trunk@18966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 18:55:40 +00:00
ryan
a733b40730 Fix inviting existing users to a site with email confirmation. Props johnbillion. fixes #18295
git-svn-id: http://svn.automattic.com/wordpress/trunk@18965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 18:32:31 +00:00
dd32
53062d6414 WP_Filesystem_*::mkdir() untrailingslash path consistently, don't waste time attempting to create an "empty" path. See #15575. Props lordandrei and SergeyBiryukov for initial patches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 10:43:38 +00:00
azaozz
32fa9f7d6c Remove unnecessary vendor prefixes from wp-admin-rtl.css, props ryanimel, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 06:33:10 +00:00
azaozz
c630639e8c Remove borders from iframes and images in IE, props dd32, andrewryno, fixes #18922
git-svn-id: http://svn.automattic.com/wordpress/trunk@18961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 06:27:32 +00:00
azaozz
6b3786b425 Remove iPad rotation tweak (not needed in iOS 5), see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 02:47:00 +00:00
azaozz
5865cc92fc Bottom out checkboxes and radio buttons (seems to line them up nicely in most browsers).
git-svn-id: http://svn.automattic.com/wordpress/trunk@18959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 00:37:39 +00:00
azaozz
331b416756 IE7 fixes for the admin menu, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 00:06:07 +00:00
azaozz
000208b86d Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 22:24:53 +00:00
ryan
c28bd6af03 Die when attempting to edit non-existent term. Props johnbillion. fixes #18718
git-svn-id: http://svn.automattic.com/wordpress/trunk@18954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 20:30:50 +00:00
ryan
28a6d49c1a Validation fix for user-edit.php. Props sorich87. fixes #18921
git-svn-id: http://svn.automattic.com/wordpress/trunk@18953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 19:47:00 +00:00
duck_
ba7651277e Revert r18887 due to back compat issues. Fixes #18914.
For example 'intval' couldn't be used as a sanitisation callback.


git-svn-id: http://svn.automattic.com/wordpress/trunk@18951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:35:33 +00:00
nacin
936107846c Restore object handling in add_contextual_help(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:24:55 +00:00
nacin
aa06a7de9f Don't instantiate WP_Screen in convert_to_screen() for now. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:22:50 +00:00
azaozz
0d8b1bdc51 Fix dashboard postboxes in RTL, fixes #18907
git-svn-id: http://svn.automattic.com/wordpress/trunk@18948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 00:01:39 +00:00
koopersmith
d60869e490 Improve padding on admin menu submenus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:52:40 +00:00
koopersmith
bd56b8dbfc Prevent admin menu sub-items from crowding the arrows when the menu is expanded. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:48:20 +00:00
nacin
07a664da92 Restore $screen argument for contextual_help* filters. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:45:28 +00:00
koopersmith
97201b0a7d Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:38:12 +00:00
nacin
7bf1ec1a01 Store screen help and options as static data against WP_Screen. Individual screen objects no longer hold data it can't re-generate on construction or otherwise fetch. convert_to_screen() now returns a WP_Screen object. Various globals are gone. Introduces WP_Screen::get_option(). Allows for a formal factory to be introduced later. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:32:16 +00:00
koopersmith
e10f6876d4 Create admin menu arrows using CSS3 transforms. props chexee. see #18382, fixes #18902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:25:38 +00:00
nacin
35dd66044a Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 19:29:09 +00:00
azaozz
3804ef7519 Don't move current open submenus, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 17:59:51 +00:00
azaozz
96c3fa3274 More CSS cleanup, props olleicua, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 06:25:25 +00:00
ryan
82bcca520b Do the beta bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@18938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 23:50:20 +00:00
nacin
24d7c61eb5 Use AJAX request and usermeta rather than user settings for dismissing admin bar pointers. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 23:31:36 +00:00
nacin
4dfdd9ea97 Check post_type_supports before adding comments column to attachments. Translate a string. props johnbillion, SergeyBiryukov. fixes #18644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:56:35 +00:00
nacin
0a1fe6dc02 Make the Browse Happy box look somewhat okay in Internet Explorer. Remove html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:54:26 +00:00
azaozz
f85e0b3f00 Make iPad support usable again, add viewport meta, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 04:19:05 +00:00
azaozz
1050e0023a Add/remove the border to postbox containers when the last postbox is hidden/shown from Screen Options, props ocean90, fixes #18882
git-svn-id: http://svn.automattic.com/wordpress/trunk@18925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-09 17:30:51 +00:00
azaozz
c86787bbd3 Fix postbox containers when there are no visible postboxes in them, fixes #18882
git-svn-id: http://svn.automattic.com/wordpress/trunk@18924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-09 00:05:38 +00:00
azaozz
eb792ad204 Add translation comment, props ocean90, fixes #18881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-08 03:14:41 +00:00
azaozz
cce2047bc6 Actually the Press This styles changed in [18920] are not needed, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 20:24:29 +00:00
azaozz
7efc9306f9 Fix insetring images in Quick Press and Press This, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 20:14:21 +00:00
azaozz
7672731d95 Fix prepending $editor_id to the Add Media link, see #17578
git-svn-id: http://svn.automattic.com/wordpress/trunk@18918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 19:12:55 +00:00
azaozz
18630a3d5a Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 16:59:33 +00:00
nacin
50078431dc Use local method when handling back compat screen layout column filter. The function serves as a wrapper for but one object. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 05:26:44 +00:00
nacin
850ea83baf Move the Screen Options tab to the top and introduce a new 'overview' screen option, which accepts content for the top of this tab. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 05:23:33 +00:00
nacin
cc199b6358 Remove redundant help tab title from the tab body. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 05:00:38 +00:00
nacin
d23f035e62 Compress and bump wp-admin.css. CSS in [18867] and [18874] will need to be explained and re-committed. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 04:58:36 +00:00
nacin
795ca8d394 Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 04:57:12 +00:00
nacin
e88d2d7e5b Revert CSS that slipped into [18874]. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 03:29:49 +00:00
nacin
653a6c1108 Match plugins-per-page viewed defaults when no user option exists. fixes #18878 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 23:43:20 +00:00
nacin
af704000f6 @since for screen_meta(), screen_options(), screen_layout(). props SergeyBiryukov, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 16:24:14 +00:00
azaozz
f67f9729b8 Combine few styles for column containers, props olleicua, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 14:37:55 +00:00
azaozz
4878bc6ca0 As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 09:57:50 +00:00
azaozz
0e358f2179 Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 09:18:56 +00:00
azaozz
53ac6d4a37 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 08:43:01 +00:00
ryan
a0f6c4469d Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
git-svn-id: http://svn.automattic.com/wordpress/trunk@18899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 00:21:24 +00:00
nacin
44590b1d78 Revert [18817]. Adding the new HTML to setup-config would make translation files stale, and I'd rather i18n that file first (see #18180). fixes #18865, see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 23:42:11 +00:00
koopersmith
fb31c6f302 Refine new help styles. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 23:15:19 +00:00
nacin
7afd7005aa Align the bytes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:57:17 +00:00
nacin
330cf9d4a4 type_url_form_image() becomes wp_media_insert_url_form(), media_upload_image() becomes wp_media_upload_handler(). type_url_form_* and media_upload_* are restored as wrappers. Don't deprecate yet. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:36:03 +00:00
nacin
4179013f06 Oops. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:05:43 +00:00
nacin
5d33f15fb3 Kill the multisite mu_media_buttons option. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:04:09 +00:00
nacin
337699e1cf Compress and bump scripts for [18890]. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 21:08:16 +00:00
nacin
593bce9f3e UI touches for the single media button. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 21:07:04 +00:00
azaozz
f9ebf31d4a Revert 'auto' column setting, props markjaquith, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 18:46:21 +00:00
koopersmith
dcf34868ed Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 18:45:32 +00:00
markjaquith
bc3fc076e1 Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
git-svn-id: http://svn.automattic.com/wordpress/trunk@18887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 17:48:41 +00:00
dd32
ecbc046a59 Use transparent delete icon. Props Caspie. Fixes #17991
git-svn-id: http://svn.automattic.com/wordpress/trunk@18883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 07:14:41 +00:00
dd32
5ad995f089 Fix admin_body_class filter for Menu's and Widgets pages, Include the filter in Iframe's. Props SergeyBiryukov & johnbillion. Fixes #18853
git-svn-id: http://svn.automattic.com/wordpress/trunk@18882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 07:09:51 +00:00
koopersmith
725bcef080 Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 06:39:30 +00:00
azaozz
92cba72bef Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@18880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 23:10:02 +00:00
azaozz
d0ceca2496 Make $current_screen->add_option() easier to use, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 17:21:59 +00:00
ryan
760a1f8b6c Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
git-svn-id: http://svn.automattic.com/wordpress/trunk@18878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:09:24 +00:00
ryan
5e247750a1 Avoid notice when performing bulk actions with now rows selected. Props SergeyBiryukov. fixes #18774
git-svn-id: http://svn.automattic.com/wordpress/trunk@18876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:00:36 +00:00
azaozz
41429f32a9 Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
git-svn-id: http://svn.automattic.com/wordpress/trunk@18875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 04:14:36 +00:00
azaozz
bc6411bb52 Deprecate favorite_actions(), add_contextual_help(), add_screen_option(), move meta_box_prefs() and get_screen_icon() in WP_Screen, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 03:32:12 +00:00
azaozz
6e0729790f Combine font-family, remove few unused bits, props ocean90, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:36:19 +00:00
ryan
69994de5d1 Consolidate larg network criteria into wp_is_large_network(). Allow plugins to change this criteria via filter. Props PeteMall. fixes #18464
git-svn-id: http://svn.automattic.com/wordpress/trunk@18871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:30:07 +00:00
azaozz
40794ebcd5 Fix typo when setting post_format in Press This.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:22:38 +00:00
ryan
435b3a0177 Implement bulk update for network/themes.php. Props ocean90. fixes #18687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 14:35:43 +00:00
ryan
401c841c93 Use 'View Post' instead of '#' for view post links in comment rows. Props SergeyBiryukov. fixes #18846
git-svn-id: http://svn.automattic.com/wordpress/trunk@18868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 14:03:01 +00:00
azaozz
bbafdfa0e5 Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 04:00:57 +00:00
koopersmith
dbd18bea3d Help style refresh, part 1. A few elements left to add/tweak. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 18:19:49 +00:00
azaozz
3575537e5f Add screen_options with contextual content, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 06:59:36 +00:00
nacin
f626113f33 Add phpdoc for two WP_Screen methods. props jorbin, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 00:04:30 +00:00
azaozz
9662f2f87e Add phpdoc for the section title, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 22:22:33 +00:00
azaozz
0df31fc3c4 Separate the tab title from the help section title, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 21:18:04 +00:00
azaozz
9e37d9490d Change month dropdown display in date pickers to include month number, fixes #18838
git-svn-id: http://svn.automattic.com/wordpress/trunk@18860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 20:50:08 +00:00
nacin
fcba7735c0 Deprecate screen_meta(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:13:27 +00:00
nacin
e635d0befc Deprecate secreen_options(), screen_layout(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:07:41 +00:00
nacin
5522818ed3 Move all new WP_Screen properties to private. We should introduce getters. Correct legacy (and ideally read-only) properties to @access public. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 17:59:46 +00:00
koopersmith
322c2bde5e Properly print per-page options. see #18690, [18853].
git-svn-id: http://svn.automattic.com/wordpress/trunk@18854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 03:21:36 +00:00
koopersmith
2d3fa6fcb8 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:24:44 +00:00
azaozz
7be002d642 Fix unfiltered_html_comment nonce, props nacin, fixes #18319
git-svn-id: http://svn.automattic.com/wordpress/trunk@18852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:19:07 +00:00
azaozz
ccb65a88b4 Toggle the pinkynails properly, props goto10, fixes #17212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:12:39 +00:00
azaozz
d7a9037fec Prevent the uploader getting stuck when deleting the only image from the gallery, props ocean90, fixes #15118
git-svn-id: http://svn.automattic.com/wordpress/trunk@18850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 22:52:29 +00:00
nacin
8721427446 Initialize the post object in get_default_post_to_edit(). props tech163. fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 21:35:05 +00:00
markjaquith
f1a1d07a13 More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15545
git-svn-id: http://svn.automattic.com/wordpress/trunk@18843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:31:52 +00:00
ryan
ed4c502e16 s/Settings/Network Settings/. Props wpmuguru. fixes #16027
git-svn-id: http://svn.automattic.com/wordpress/trunk@18842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:26:14 +00:00
markjaquith
37e23be4ed Be more consistent with ERROR: messages. fixes #15887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:18:35 +00:00
ryan
33113c01c7 Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751
git-svn-id: http://svn.automattic.com/wordpress/trunk@18839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:47:02 +00:00
azaozz
816fcad9e2 Fix editor detection when inserting image, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:00:11 +00:00
nacin
cb3ab86c7c Compress and bump media.css. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:23:46 +00:00
nacin
cb1477ecfd Merge the four media buttons into one.
* Lots of red.
 * Removes the type_url_form_\$type filter, where \$type is audio, video, file, or image.
 * Replacement filter is a generic type_url_form_media filter for the new unified form.
 * Some functions have gone missing; they'll be restored and deprecated in a later pass.
see #17578.



git-svn-id: http://svn.automattic.com/wordpress/trunk@18831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:22:29 +00:00
nacin
4adc74c379 Update Feedback support URL.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 05:26:40 +00:00
azaozz
f5e6304ca6 Attempt to keep the textarea still while loading the editor, see #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@18829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 04:13:44 +00:00
azaozz
3be0b41d68 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: http://svn.automattic.com/wordpress/trunk@18828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:59:49 +00:00
azaozz
75432d53b0 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: http://svn.automattic.com/wordpress/trunk@18823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:47:52 +00:00
ryan
2edc82cd61 * Move the old sidebars_widgets array upgrade code to wp-admin/includes/upgrade.php
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from wp_get_sidebars_widgets().
* Combine  a couple of !empty( $sidebars_widgets ) checks in retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598


git-svn-id: http://svn.automattic.com/wordpress/trunk@18821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:41:22 +00:00
nacin
f186494c9a Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:39:55 +00:00
nacin
2a38f122ab Don't split names across multiple lines on the credits page. props zeo, fixes #17940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:28:29 +00:00
nacin
3440dbb182 Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:21:15 +00:00
nacin
a418189fe2 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 19:57:36 +00:00
nacin
ccf47d55c4 Remove remnants of show_admin_bar_admin. see #18811, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 06:12:51 +00:00
nacin
e296e48b3d Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:54:05 +00:00
nacin
8c731f1cb2 Space out and capitalize 'Auto' in screen options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:28:00 +00:00
azaozz
d58e337d24 Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 21:07:08 +00:00
azaozz
fea5c38ef4 Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 17:27:48 +00:00
azaozz
21d9701150 Remove max-width from list tables. Better to limit the width on individual fields or areas where readability is impacted, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 16:05:59 +00:00
azaozz
e076a246fd Fix enqueueing of the right scripts when more than one instance of the editor, fix inserting images in full screen mode, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 07:26:34 +00:00
azaozz
8315e48d3a Add error message when loading the preview image in the image editor fails, fixes #18723
git-svn-id: http://svn.automattic.com/wordpress/trunk@18798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 06:08:56 +00:00
koopersmith
8c1bc6831a Add dashboard help tabs, revise help tab layout and code. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 00:57:56 +00:00
nacin
de8cc0eae1 Release a user's post lock when the user leaves a post. see #18515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 20:52:07 +00:00
ryan
6c1f1b642a Revert fat fingers in [18793]. see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 14:33:51 +00:00
ryan
022dcf68c0 First pass of WP_Screen phpdoc. see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 14:30:56 +00:00
duck_
2b11174785 _wp_menu_output() speed up and clean up. Props dragoonis. Fixes #13662.
Attempt file_exists() last and cache an array index lookup for speed up. Whitespace and appropriate parentheses for readability.


git-svn-id: http://svn.automattic.com/wordpress/trunk@18792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 10:22:58 +00:00
nacin
d415ceabeb wp_set_post_lock() only takes one argument. see #18515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 06:11:30 +00:00
nacin
30c473c4e0 Make WP_Screen final until we know which direction we want to go with it. Other keyword decorations. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 23:31:54 +00:00
nacin
49fae8d60b Move WP_Screen and friends (15 functions) into admin/includes/screen.php. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:32:10 +00:00
nacin
95087c5947 And fix this variable. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:15:57 +00:00
nacin
1a70603eb2 Use correct variable. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:11:46 +00:00
koopersmith
d417524b4a Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:03:38 +00:00
azaozz
5ca2255bba Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 19:23:43 +00:00
nacin
b9bd6e3632 Use WP_PLUGIN_DIR, not PLUGINDIR. props ocean90, fixes #18772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 19:24:15 +00:00
azaozz
ce992634cc Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
git-svn-id: http://svn.automattic.com/wordpress/trunk@18774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 18:53:34 +00:00
azaozz
1e145adb97 Add border radius to .postbox .hndle, props Jick, fixes #18657
git-svn-id: http://svn.automattic.com/wordpress/trunk@18773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 17:17:51 +00:00
azaozz
728c4379d7 Fix line-height inside postbox and stuffbox, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 20:48:41 +00:00
duck_
53f5e8344e Use correct post_type in HTML returned by inline-save-tax AJAX. Fixes #18038.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 20:26:51 +00:00
duck_
26d36e6eda Remove .js .item-order style made redundant by r18755. See #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:57:52 +00:00
nacin
9f216ad715 delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:31:38 +00:00
azaozz
eb8878fbfc Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:43:19 +00:00
dd32
ef11d05989 Fix typo in languages directory creation for new installations. Props SergeyBiryukov. Fixes #18741 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:18:44 +00:00
nacin
55a0bfcdc8 Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 21:12:43 +00:00
koopersmith
27d6351a64 Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:22:52 +00:00
koopersmith
1b6afc2077 Correct text widget background color. It was really messing with our feng shui.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:05:13 +00:00
nacin
5254f5f78f Combine some CSS definitions. props DH-Shredder, see #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 18:52:51 +00:00
duck_
29c5eaadfd Remove extraneous closing script tag. Props ryanhellyer. See r18482, #18206. Fixes #18760.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 14:36:57 +00:00
azaozz
e7e4ceed22 Update jQuery to 1.6.4, update jQuery UI to 1.8.16, add the rest of UI, add workaround for a regression in UI Draggable, see #17952
git-svn-id: http://svn.automattic.com/wordpress/trunk@18757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 05:03:31 +00:00
koopersmith
48d20c1839 Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 22:33:27 +00:00
koopersmith
f40872acdd Remove expanded class from flyout menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 20:24:12 +00:00
westi
b816f54124 Revert [18747] until we can discuss it further. See #18453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 09:15:45 +00:00
nacin
f2a6d07a9d Add 'Visit Dashboard' and 'Edit Site' links to the site added message on site-new.php. props vegasgeek, SergeyBiryukov. fixes #18047. fixes #17313.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 07:17:27 +00:00
koopersmith
d7ce0f762b Add frame for welcome panel on dashboard (currently hidden). see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 06:23:10 +00:00
azaozz
29f13c28b3 Change the menus Link Target to checkbox, props nacin, fixes #17521
git-svn-id: http://svn.automattic.com/wordpress/trunk@18748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 05:44:25 +00:00
azaozz
95e8b34104 Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
git-svn-id: http://svn.automattic.com/wordpress/trunk@18747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:27:00 +00:00
koopersmith
723e50230e Add new 'about this version' page (with filler content) and menu item. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 23:20:26 +00:00
azaozz
08f904ace5 Remove some duplicates and combine some css selectors, props DH-Shredder, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 22:23:09 +00:00
azaozz
1cdd3d5154 Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 21:44:44 +00:00
ryan
9a1be60235 Avoid notice with empty menu. Props ansimation, SergeyBiryukov. fixes #18085
git-svn-id: http://svn.automattic.com/wordpress/trunk@18740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:17:22 +00:00
azaozz
4228aa301c Remove the scrollbar from the login screen, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 18:47:12 +00:00
azaozz
ffca93b1f2 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 06:16:24 +00:00
nacin
0fd3915e9f number_format_i18n for role user counts. props sirzooro, fixes #18305.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 05:35:57 +00:00
dd32
5daf7aa2b0 Don't trigger Database Upgrades for POST requests with a body. Fixes #18712
git-svn-id: http://svn.automattic.com/wordpress/trunk@18731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 04:17:55 +00:00
azaozz
456753acce Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:37:17 +00:00
azaozz
2f59ff622a Add the borders to the border-radius merge, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:21:18 +00:00
azaozz
eba25e47a6 Merge all border-radius: 3px, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:02:53 +00:00
azaozz
f4acbe5a0a Remove unnecessary vendor prefixes, props ocean90, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 01:27:14 +00:00
duck_
698957e40e Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 17:02:58 +00:00
duck_
5a4061bb13 Make use of specific post format support in current_theme_supports(). See #18691.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:31:33 +00:00
azaozz
4b38d0833e Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992, fixes #18697, see $17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 00:47:23 +00:00
nacin
e216db1950 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: http://svn.automattic.com/wordpress/trunk@18709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 23:23:39 +00:00
nacin
5f3f71c0f2 Don't burden translators with a few strings we'll be changing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:45:23 +00:00
koopersmith
7efa3a5df8 Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:17:09 +00:00
nacin
0179ece052 Use get_post_class() in the posts list table. props brandondove, fixes #18516.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:11:28 +00:00
azaozz
80720acfc4 Importers and Install themes thickbox fixes, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:39:49 +00:00
azaozz
9601be8055 Add the styling for "drop area" to Media->Add New, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 17:03:34 +00:00
azaozz
ae2219cd30 Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 02:25:23 +00:00
nacin
2ee655428d Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 22:26:01 +00:00
duck_
551198c5ca Don't obliterate $title if $desc isn't set. Props kawauso. Fixes #18185.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 18:27:32 +00:00
azaozz
f6b2da9388 The rest of add missing var in postbox.js, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:28:40 +00:00
azaozz
5025fd9b02 Add missing var in postbox.js, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:26:42 +00:00
duck_
708f95adba Fix undefined index "subdomain_install" in wp-admin/network.php. Props cyberhobo, SergeyBiryukov. Fixes #17697.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 21:20:43 +00:00
duck_
c93578bfbe Fix several CSS syntax errors. Props demetris. Fixes #18640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 20:41:47 +00:00
koopersmith
9229f1f7ed Improve appearance of Screen Options/Help panels, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:10:04 +00:00
koopersmith
834dc9ff5e Admin bar UX improvements. First pass, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
westi
26b57f09a2 Reorder the titles in the Network Admin and Global Dashboard to put the locations first. Fixes #18304 props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 09:26:07 +00:00
azaozz
2605391379 Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 05:30:58 +00:00
azaozz
bff7722dd1 Responsive themes screen, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 04:26:26 +00:00
azaozz
64e98fd257 Put back float: left for postbox containers, fixes #18665
git-svn-id: http://svn.automattic.com/wordpress/trunk@18672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 02:55:31 +00:00
azaozz
05a76c78f4 Remove max-width for .widefat, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 00:50:35 +00:00
azaozz
c032d9a1ed Limit max width of .widefat list tables, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:08:44 +00:00
azaozz
ee74f3a9a6 Responsive tag and category pages, props saracannon, see #18189
git-svn-id: http://svn.automattic.com/wordpress/trunk@18669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:03:13 +00:00
azaozz
d868f40f99 Revert [18664] and handle any similar cases separately, props SergeyBiryukov, fixes #16810, fixes #18656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 20:23:33 +00:00
azaozz
debc12b386 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 07:02:46 +00:00
azaozz
01d0ae4ad9 Make hide-if-no-js and hide-if-js important, props solarissmoke, fixes #16810
git-svn-id: http://svn.automattic.com/wordpress/trunk@18664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 02:52:02 +00:00
nacin
c9301a30be Loosen validation regex to use sanitize_key() in a few AJAX locations for things like pages, orders, columns. Change return value to 0 for failure, as -1 is reserved for authentication/intention. props ocean90, azaozz, fixes #18637.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-12 21:48:44 +00:00
nacin
4319712d64 Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 17:52:46 +00:00
duck_
6841d365e5 Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 19:48:25 +00:00
nacin
fab91dd3d0 Fix attribute spacing. props mfields, fixes #18570.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:53:02 +00:00
azaozz
9223d74720 Fix default widgets for the default theme (Twenty Eleven), props SergeyBiryukov, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 16:15:47 +00:00
duck_
a8c3f1145e s/overridding/overriding/. Props trepmal, see #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:25:55 +00:00
duck_
9a5d3d4155 Pull out old import remnant from when importers were shipped in core. Fixes #15844.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:18:36 +00:00
nacin
a4c18fc053 Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:53:19 +00:00
azaozz
fb970629fb '.widget', not '.postbox' in [18635], props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:45:01 +00:00
azaozz
b645d74be4 Remove orphaned sidebars from the page when the user drags all widgets out of them, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:26:32 +00:00
azaozz
21dc8794bc Remove unneeded .siblings() from widgets.js, props aaroncampbell, fixes #18582
git-svn-id: http://svn.automattic.com/wordpress/trunk@18634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:19:36 +00:00
duck_
c1d1590171 Fix typos in documentation (wp-admin/). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 14:18:10 +00:00
azaozz
d83b14c165 Moves orphaned sidebars to main content area above Inactive Widgets, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 03:01:11 +00:00
azaozz
4852c5887f Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 22:13:55 +00:00
azaozz
9813047aa0 Fix styling of the editors for the blue theme, props saracannon, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-31 00:58:41 +00:00
azaozz
63969dbca7 Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 23:18:18 +00:00
azaozz
7865d5c451 Disable js moving of dashboard postboxes, add all of them in the first column on 'auto', see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 22:29:37 +00:00
dd32
6f5da88d81 Mark the install page as rtl for styling purposes. Props SergeyBiryukov. See #18314 and #18180
git-svn-id: http://svn.automattic.com/wordpress/trunk@18622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 03:55:40 +00:00
koopersmith
51fa6f62f2 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 01:12:26 +00:00
azaozz
b9d9d11f4e Fix styling and quicktags error in press this, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 20:48:05 +00:00
dd32
e089db6cf4 First slice of rejecting invalid Plugin and Theme zip uploads (Incompatible file structure, not containing a Plugin/Theme, etc). See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@18618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 15:02:48 +00:00
dd32
ef278df299 Store Plugin/Theme uploads in the Media Library properly. Add Scheduled cleanup +2hrs to clean up any aborted installation attempts. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 08:42:07 +00:00
dd32
b16b6f8a31 Only clean up the uploaded files after a successful (or failed) install. Allows files to persist past the FTP credential screen. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 05:51:38 +00:00
dd32
ea3a169b6f Clean up Plugin/Theme uploads after successfully installing them. Restores pre-3.2 behaviour. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 03:51:35 +00:00
azaozz
12c6ba5771 Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:33:14 +00:00
ryan
39ba82bb3f Handle locales that use a comma as a separator when generating version classes. Props olivM. fixes #18460
git-svn-id: http://svn.automattic.com/wordpress/trunk@18608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:00:07 +00:00
azaozz
4e323dd08f Improve auto column switching for post.php, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 22:55:39 +00:00
ryan
2521eb5f17 Update phpdoc for WP_List_Table::views(). Props Viper007Bond. fixes #18358
git-svn-id: http://svn.automattic.com/wordpress/trunk@18600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 17:56:34 +00:00
westi
ca0474c9fb Fix the action links broken by [18594]. Fixes #18447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 08:05:15 +00:00
ryan
0f06334e11 Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:32:59 +00:00
westi
0668193437 When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:37:25 +00:00
westi
633f13ca72 End each row with a new line to make the raw HTML easier to read.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:13:33 +00:00
westi
6afa141b4e Include all comment css classes when outputing the rows in the Comments admin page to allow for easy customisation by plugins. Fixes #18447 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:12:07 +00:00
dd32
392ef4c88c Don't check 'Custom Structure' Permalink radio option for the default permastruct. Fixes #18507
git-svn-id: http://svn.automattic.com/wordpress/trunk@18590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 07:48:13 +00:00
nacin
fdedc8a500 Check if property exists on plugins_api() returned object in install_plugin_information(). props hakre, fixes #18181.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 15:56:14 +00:00
azaozz
c8af09ed2c Ensure text in the dashboard recent comments widget wraps up properly, props SergeyBiryukov, fixes #18212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:36:21 +00:00
azaozz
f3f79602b9 Auto column switching for the dashboard, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:00:56 +00:00
azaozz
18fd646bc3 Auto column switching (post.php only for now), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 19:41:11 +00:00
azaozz
3d679a03e2 Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 16:44:02 +00:00
azaozz
ba3ad76771 Merged install.css with install-rtl.css (it is used only when installing so it makes sense to be a separate stylesheet), merged farbtastic.css with farbtastic-rtl.css, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 15:38:14 +00:00
azaozz
1cdec6ff6e Merge most admin css files, first run, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 03:46:43 +00:00
azaozz
6041cd0410 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: http://svn.automattic.com/wordpress/trunk@18576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-20 19:55:51 +00:00
azaozz
4cca01b8c3 Another fix for Press This, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 17:04:16 +00:00
azaozz
97ff3b4c7a Fix Press This editors, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 01:14:56 +00:00
nacin
0fe8ea2f72 Add 'Network Enable' link after installing a theme in the network admin. props PeteMall, fixes #18468.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 22:40:37 +00:00
nacin
dbc5a36a14 Remove duplicated current_action() call. props PeteMall, fixes #18389.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:26:18 +00:00
nacin
e00bc528b6 Redirect to network_admin_url() in network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:17:47 +00:00
nacin
ba5c2141bb Some more class instantiations. props eko-fr, fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:16:57 +00:00
nacin
0caf6ee451 Dissolve wp-admin/network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 02:29:06 +00:00
azaozz
05b62b9b8e Fix HTML IDs on the uploader buttons on the dashboard, props SergeyBiryukov, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 14:32:36 +00:00
nacin
b5d445aa84 First pass on clarifying Settings > Privacy. props designsimply, markjaquith. see #16416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 06:53:19 +00:00
azaozz
87dff720e9 Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 04:54:51 +00:00
nacin
3503cc4b8d Remove beta upgrade code from 3.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 02:26:59 +00:00
nacin
51d2aef086 Clean up message handling logic in upload.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 00:12:02 +00:00
nacin
02831e8b84 Add postname to Settings > Permalinks and remove the help text talking about permalink performance. Make the slugs (and /archives/ rewrite base) translatable. see #18541.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-14 22:23:22 +00:00
nacin
4e4932296f Use wp_print_scripts() in install.php. Fixes issues with SCRIPT_DEBUG, removes l10n.js reference. fixes #18394.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 18:01:26 +00:00
nacin
ae91e0dfcd Move network/settings.php POST handling out of network/edit.php. props PeteMall, see #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 22:32:35 +00:00
duck_
f98e622c39 Direct a user to the main site to install importers, fixes #17990
git-svn-id: http://svn.automattic.com/wordpress/trunk@18535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 20:49:47 +00:00
ryan
4207722006 Use title case. Props trepmal. fixes #17773
git-svn-id: http://svn.automattic.com/wordpress/trunk@18533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 18:17:30 +00:00
nbachiyski
4870176ad0 Add filters for install/upgrade queries, so that unit tests installer can force creating InnoDB tables, so that we can use transactions to revert the database to its initial state after each test. See #17749
git-svn-id: http://svn.automattic.com/wordpress/trunk@18531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:42:59 +00:00
nbachiyski
c8721d2600 Add a gettext context to the Standard post format string in Press This to match other usages of Standard in a post format context
git-svn-id: http://svn.automattic.com/wordpress/trunk@18530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:36:18 +00:00
nbachiyski
51e91e68c3 Exclude link tags from internationalized strings in Credits and Freedoms links in the admin footer
git-svn-id: http://svn.automattic.com/wordpress/trunk@18529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:33:22 +00:00
nacin
cdb9e49b8c Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 03:02:01 +00:00
nacin
5dab7294bd Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:54:59 +00:00
nacin
97730f64fa Initialize in the Theme_Upgrader class. props mitchoyoshitaka, fixes #18367.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:26:36 +00:00
nacin
5372572b3d Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:17:26 +00:00
nacin
45f2e1a527 Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:00:45 +00:00
nacin
bce03b27a6 Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 18:53:54 +00:00
azaozz
9a65f6e237 Fix handling of resizing images after upload, props ocean90, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 21:04:15 +00:00
azaozz
d012143326 Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 01:35:02 +00:00
ryan
ec4ccf2900 Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: http://svn.automattic.com/wordpress/trunk@18513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 16:57:31 +00:00
azaozz
042a03f384 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 04:09:22 +00:00
ryan
1cf9dfacbf Add gettext. Props Latz. fixes #18173
git-svn-id: http://svn.automattic.com/wordpress/trunk@18509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:29:46 +00:00
ryan
f5762a2aab Remove gratuitous periods. Add some semicolons. Props SergeyBiryukov. fixes #16186
git-svn-id: http://svn.automattic.com/wordpress/trunk@18508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:07:51 +00:00
nacin
ba9ae611eb Call get_(template|stylesheet)_directory_uri() only once in process_default_headers. props mitchoyoshitaka, fixes #17353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 12:40:15 +00:00
ryan
6c81d023bb Add magic get/set/isset methods to WP_User to avoid data duplication. Standardize on WP_User::ID. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 03:09:27 +00:00
azaozz
6e3e6da9bd Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 23:56:21 +00:00
ryan
514632d860 Use *_metadata_by_mid() API when updating post meta in admin ajax. Fix slashing. see #18195
git-svn-id: http://svn.automattic.com/wordpress/trunk@18502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 19:14:06 +00:00
ryan
24d480d088 Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
git-svn-id: http://svn.automattic.com/wordpress/trunk@18500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 16:48:37 +00:00
azaozz
3713abe855 Remove debug remnants, props scribu, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:36:18 +00:00
azaozz
f634dd5af4 Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00
azaozz
230fb8f3e3 Refactor Quicktags, props garyc40, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:11:12 +00:00
nacin
77cf05fbb7 Remove duplicated id attribute. props pagesimplify. (wp-testers)
git-svn-id: http://svn.automattic.com/wordpress/trunk@18493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 22:20:06 +00:00
nacin
592e3c5d8f Use correct closing tag. props pagesimplify. (wp-hackers)
git-svn-id: http://svn.automattic.com/wordpress/trunk@18492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 22:16:19 +00:00
azaozz
07bf8b352e Remove tabs from JS, props duck_, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 08:44:29 +00:00
ryan
7e94f474cd Grammar fix. Props SergeyBiryukov, johnbillion. fixes #18291
git-svn-id: http://svn.automattic.com/wordpress/trunk@18487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 21:36:45 +00:00
azaozz
34467767ff Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 19:21:21 +00:00
azaozz
c5657820fb Remove debug bits, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 09:03:24 +00:00
azaozz
91a8720fff Pluploader take 1, props jacobwg, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 08:59:35 +00:00
nacin
3aff9d9464 Link tab=upload when referenced on 'Install Plugins.' fixes #18290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 06:07:38 +00:00
ryan
ee12592231 Inline docs typo fix. Props dougwrites. fixes #17753
git-svn-id: http://svn.automattic.com/wordpress/trunk@18475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:10:00 +00:00
ryan
e3418e214e Allow creating sites with IDN domains. Props SergeyBiryukov, wpmuguru. fixes #15554
git-svn-id: http://svn.automattic.com/wordpress/trunk@18473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 21:35:39 +00:00
ryan
c2d37a3d65 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: http://svn.automattic.com/wordpress/trunk@18468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 18:39:57 +00:00
azaozz
21058cf460 Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 00:36:06 +00:00
dd32
adbcddd6eb Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
git-svn-id: http://svn.automattic.com/wordpress/trunk@18462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 10:57:34 +00:00
azaozz
5256d7951f <!DOCTYPE html> for all, fixes #18202
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
azaozz
49c71bc6db UI fix for select form elements, props ptahdunbar, fixes #17043
git-svn-id: http://svn.automattic.com/wordpress/trunk@18453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:15:27 +00:00
ryan
3c930bc018 Fix redirects for plugin searches containing spaces in the search string. Props SergeyBiryukov. fixes #16548
git-svn-id: http://svn.automattic.com/wordpress/trunk@18452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:04:12 +00:00
ryan
4e538ea9c8 Check caps for both old and new meta keys when changing the key for a mid. Properly handle slashes when checking meta caps. Props xknown. see #17850
git-svn-id: http://svn.automattic.com/wordpress/trunk@18449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 19:32:12 +00:00
ryan
a117773fc8 Typo fix. Props kawauso. fixes #18177
git-svn-id: http://svn.automattic.com/wordpress/trunk@18447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 17:46:01 +00:00
ryan
4ad0954961 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: http://svn.automattic.com/wordpress/trunk@18445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-20 22:04:35 +00:00
ryan
7f88e6ee2f Sites search improvements. fixes #18013
git-svn-id: http://svn.automattic.com/wordpress/trunk@18442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-15 15:42:26 +00:00
azaozz
b87d9d50d6 Fix resetting of page number when entering it manually, fixes #18002 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:53:29 +00:00
nacin
6fba9adeaf Use edit_comment rather than edit_post in admin-ajax. props ejdanderson, see #17909. for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:48:43 +00:00
nacin
916a1c943c Don't echo empty <h3>s if we don't pass a section title to add_settings_section(). see #18045.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 20:22:24 +00:00
azaozz
fcc103f0b2 Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:16:09 +00:00
nacin
61afb5def3 Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:03:04 +00:00
nacin
8ead4891b9 A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 18:55:39 +00:00
nacin
bac625849e Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:50:34 +00:00
nacin
0904773260 Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:36:47 +00:00
ryan
7697960abe Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-07 18:03:30 +00:00
nacin
c8e85fcb81 Restore compat for json_decode and json_encode. fixes #18015 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-06 23:33:05 +00:00
azaozz
9d23dd8753 Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-05 07:03:26 +00:00
nacin
4a387dc4f0 Affirm current credits timeout. see #17759.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-04 15:58:43 +00:00
azaozz
86067bcf74 Revert overriding the font color for the editor textarea in [18102], as it is a regression, fixes #17971
git-svn-id: http://svn.automattic.com/wordpress/trunk@18390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-03 18:15:04 +00:00
ryan
98ea343717 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 21:59:45 +00:00
azaozz
a1beac9a44 Change shadow on menu "notification" badge, props shakenstirred, nacin, fixes #17941
git-svn-id: http://svn.automattic.com/wordpress/trunk@18381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 19:46:00 +00:00
azaozz
f158ed15d2 DFW: check if the Add Image button is enabled in ms mode before using it, props nacin, fixes #17942
git-svn-id: http://svn.automattic.com/wordpress/trunk@18380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 19:23:09 +00:00
nacin
db78833264 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: http://svn.automattic.com/wordpress/trunk@18375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:50:07 +00:00
nacin
ad1e1df0f2 wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:46:46 +00:00
ryan
68d8691cc8 Block editing of post_mime_type and guid in bulk_edit_posts(). More filter unsets. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:47:35 +00:00
ryan
db253a3fe7 Perform a cap check on attachments in media_upload_form_handler(). For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:44:56 +00:00
azaozz
b80ad7a9cf User Profile JS cleanup, props dd32, fixes #17910 for 3.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@18364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 16:17:49 +00:00
dd32
4e0de4a1d3 Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 06:47:34 +00:00
ryan
08b6aa116e 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: http://svn.automattic.com/wordpress/trunk@18350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:47:04 +00:00
azaozz
06fd2002c5 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: http://svn.automattic.com/wordpress/trunk@18349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:40:04 +00:00
azaozz
df0cca6ae4 Fix text color in the browser nag when no JS, props duck_, fixes #17889
git-svn-id: http://svn.automattic.com/wordpress/trunk@18347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 19:35:26 +00:00
ryan
593659b8d0 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 15:56:42 +00:00
ryan
65332fb735 Fix display of color icon for menus that don't have submenus. Props duck_. fixes #17881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-24 21:49:22 +00:00
nbachiyski
f76ad7a71a Fix typo, fixes #17868, props rasheed2 and vanillalounge
git-svn-id: http://svn.automattic.com/wordpress/trunk@18337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-24 11:18:20 +00:00
ryan
5eaf7b7e05 Added padding for 'Storage Space' in RTL. Props rasheed, yoavf. fixes #17871
git-svn-id: http://svn.automattic.com/wordpress/trunk@18332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 19:57:21 +00:00
azaozz
7ba19933f3 Fix warning when DFW is loaded and the $post global is not set, props SidHarrell, fixes #17874
git-svn-id: http://svn.automattic.com/wordpress/trunk@18331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 19:41:42 +00:00
nacin
9096c1a3c6 Add theme feature strings for translation. These are already being returned by the API. props lancewillett, fixes #17359.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-22 19:45:21 +00:00
westi
fda24a53ed 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: http://svn.automattic.com/wordpress/trunk@18323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-20 14:58:50 +00:00
nacin
c774b1b42d Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-18 15:05:46 +00:00
nacin
7b3569ab29 Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-18 15:02:58 +00:00
dd32
6de00a0495 Add new star.gif replacement with a Grey background (& White counterpart). Props chexee for star icons. Fixes #17428
git-svn-id: http://svn.automattic.com/wordpress/trunk@18318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-17 05:41:35 +00:00
nacin
c5f8e9a376 Add missing translate() call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-16 00:18:51 +00:00
nacin
e169b152bd Anchor the Browse Happy dashboard widget to the top. Reverts [18295], [18296]. Fixes #17781, #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-15 19:23:35 +00:00
dd32
2f3d9c768f Fix positioning of TinyMCE Resize handler for RTL. Props yoavf. Fixes #17796
git-svn-id: http://svn.automattic.com/wordpress/trunk@18310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:55:04 +00:00
dd32
d8a6868d99 Flip the Gallery header sort buttons to the left for RTL. Props yoavf. Fixes #17790
git-svn-id: http://svn.automattic.com/wordpress/trunk@18309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:40:38 +00:00
dd32
aee92ce43b Fix the Margins in the Tag metabox for RTL. Props yoavf. Fixes #17799
git-svn-id: http://svn.automattic.com/wordpress/trunk@18308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:31:35 +00:00
dd32
9903d372b6 Fix Gallery re-ordering draggable handle area in RTL. Props yoavf. Fixes #17791
git-svn-id: http://svn.automattic.com/wordpress/trunk@18307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 12:39:11 +00:00
nacin
e149164921 Sanity int casts in custom header step_3. props xknown, fixes #17779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 08:50:16 +00:00
nacin
9d2edcd9ac [18294] was a bit too quick to eliminate backslashed apostrophes in translated strings. $s as a placeholder becomes a variable. Switch to %s and %s, as the href will always come before the text, so no need for numbered placeholders. fixes #17781.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 08:30:53 +00:00
azaozz
626fa3b3d3 Always use curly brackets with foreach, see [18295]
git-svn-id: http://svn.automattic.com/wordpress/trunk@18296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 01:03:55 +00:00
azaozz
8416d1c0e0 Make sure the browser nag in shown first on the dashboard no matter what! See #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@18295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 00:24:47 +00:00
nacin
7271998aa6 Only warn about 'unsafe' for IE6/7. props jane, fixes #17440.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-12 21:38:57 +00:00
dd32
ed5785c9ef Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
git-svn-id: http://svn.automattic.com/wordpress/trunk@18290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-12 12:47:18 +00:00
azaozz
192a616b7f More Press This cleanup and fixes, see #17757
git-svn-id: http://svn.automattic.com/wordpress/trunk@18283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 23:12:21 +00:00
azaozz
caf4a20ae8 Press This RTL css fixes, props ocean90, fixes #17757
git-svn-id: http://svn.automattic.com/wordpress/trunk@18282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 21:17:34 +00:00
nacin
ea1c1a370b Browser nag dismiss: hide-if-no-js. props duck_, see #17766.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 21:14:03 +00:00
nacin
7542e878f0 UI refresh for Press This. props koopersmith, see #17757.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 19:37:23 +00:00
nacin
1a62cfa691 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: http://svn.automattic.com/wordpress/trunk@18278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 19:32:19 +00:00
ryan
4bb54d8f68 Improvements to invalid menu item handling. Props ocean90. fixes #13958
git-svn-id: http://svn.automattic.com/wordpress/trunk@18277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:52:15 +00:00
ryan
46f63a6b1e Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:44:06 +00:00
nacin
2571545ec0 @since s/3.2/3.2.0/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 04:40:18 +00:00
dd32
7123b0b62a Restore the md5 in the Dash widget cache key, prevents issues with long widget ids. Props nacin. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 03:33:17 +00:00
dd32
694ec284a8 Key the Dashboard widget cache off the Widget ID & clear cache upon options changing. Props ocean90. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 03:16:42 +00:00
nacin
fcf8586289 Make update-core only do sanity checks against readme.html and version.php, both always included even in partial builds. fixes #17760.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 02:35:00 +00:00
nacin
d648585363 Mark menu items tied to invalid taxonomies and post types as invalid. props ocean90, see #13958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 00:55:48 +00:00
koopersmith
0f85a171c2 The Lightening, Part 2: Return of the Luminous Hex Codes. Make the admin styles a bit brighter. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:47:28 +00:00
ryan
a9ddd3474c Update _old_files for 3.2. see #17759
git-svn-id: http://svn.automattic.com/wordpress/trunk@18256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:15:01 +00:00
ryan
daa14c36f9 Bring out the pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:45 +00:00
nacin
bfe6bef203 Remove 'Development.' fixes #15991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:55:28 +00:00
nacin
60bdbe765f Don't add extra spaces. props duck_, see #16861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:30:54 +00:00
nacin
57f51582b1 Translate a missing string. props ldebrouwer, fixes #16861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:28:02 +00:00
nacin
343d07bb5a Fix whitespace discrepancy between Manage Themes and Install Themes tabs. props trepmal. Don't show a single Manage Themes heading as a tab if the user doesn't have install_themes. fixes #17758.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:16:30 +00:00
azaozz
12dd9113cb Add context to _e('Name'), props valentinas, fixes #16531
git-svn-id: http://svn.automattic.com/wordpress/trunk@18247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:13:26 +00:00
nacin
9d31daac05 Revert [18243].
git-svn-id: http://svn.automattic.com/wordpress/trunk@18246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:01:52 +00:00
nacin
ca53db156d s/Blue/Classic/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:37:14 +00:00
nacin
d6b239adf1 Some more credits strings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:27:14 +00:00
azaozz
2c0b56039f DFW: show the toolbar only when the mouse is near the top of the window, see #17503
git-svn-id: http://svn.automattic.com/wordpress/trunk@18241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:08:49 +00:00
koopersmith
262b95b4ad Improve contrast on login screen by darkening shadow. Props iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:48:25 +00:00
azaozz
692bc46e6c Fix pagination when searching or filtering, props solarissmoke, koopersmith, fixes #17685
git-svn-id: http://svn.automattic.com/wordpress/trunk@18237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:33:45 +00:00
koopersmith
3b4443b140 The Lightening, Part One: Lighten tabs UI on new post and menus screens. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:10:40 +00:00
markjaquith
856c2742ca Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
git-svn-id: http://svn.automattic.com/wordpress/trunk@18234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 17:02:03 +00:00
ryan
e5765caf3b Add Howdy back to the admin_user_info_links filtered array. Props trepmal. fixes #17740
git-svn-id: http://svn.automattic.com/wordpress/trunk@18232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:40:42 +00:00
markjaquith
e67a3b2e32 Be less specific about theme and plugin repo licenses (as they can vary in specifics). They are all compatible with the license WordPress uses, which is what matters. fixes #16514
git-svn-id: http://svn.automattic.com/wordpress/trunk@18231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:35:32 +00:00
azaozz
a866368997 H2 font weight = normal as Helvetica Neue Light doesn't scale well for lighter setting, props dd32, fixes #17743
git-svn-id: http://svn.automattic.com/wordpress/trunk@18230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:24:10 +00:00
dd32
5df56d4bba Cache the Dashboard RSS Widgets HTML output to reduce the memory footprint of including SimplePie. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 06:31:39 +00:00
nacin
bf9c99e1fa Extra check for partial updates: Make sure the API response matches the current version of WP. see #10611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 06:22:33 +00:00
nacin
493ac83f33 Core support for partial updates. see #10611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 05:47:44 +00:00
nacin
fa2d658ab7 Update Core UI changes:
* Update Now instead of Update Automatically.
 * The first core update is now a primary button.
 * Hide the version number from the 'You are about to install WP in English' warning for development versions, as it lies and suggests you will be downgraded.
see #10611.


git-svn-id: http://svn.automattic.com/wordpress/trunk@18224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 05:37:51 +00:00
koopersmith
bc7d8a9dca Refresh login form styles to match admin style refresh. Props iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 02:37:37 +00:00
azaozz
ec2778daa9 Do not run bulk edit when the user clicks on a filter, fixes #17733
git-svn-id: http://svn.automattic.com/wordpress/trunk@18222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 00:01:16 +00:00
koopersmith
d831ae7504 Darken h2 subtitles on post pages to improve readability. see #17634.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-09 21:55:39 +00:00
azaozz
c0cec1175e Enable autocomplete on the href and title fields in the link popup, props nacin, fixes #17101
Remove unneeded for=".." attributes from the <label> tags there.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 22:39:08 +00:00
koopersmith
e1b8dfc8fa Prevent items from overflowing from the 'howdy' menu. Props Otto42. fixes #17148.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 22:18:52 +00:00
koopersmith
a0485323c9 DFW: When hiding DFW, switch to correct main editors before saving content. Otherwise, some content will be lost. fixes #17729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 20:55:33 +00:00
azaozz
07356cc1a7 Fix borders at the bottom of tabs in postboxes, props dcowgill, fixes #17699
Fix color of active tab in Categories postbox.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 18:23:49 +00:00
ryan
152af39f98 Add padding to search subtitle. Props kawauso. fixes #17634
git-svn-id: http://svn.automattic.com/wordpress/trunk@18199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 17:52:18 +00:00
nacin
71c2782b1c Admin Bar: Add View Site/Dashboard links, 'View X' links in the admin, 'View' action link for terms. New custom taxonomy string: view_item, defaulting to 'View Tag' and View Category'. fixes #17705.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 16:49:27 +00:00
markjaquith
029a8d1bef Remove code formatting from uploaded file size error messages, for now. props JohnONolan. fixes #17674
git-svn-id: http://svn.automattic.com/wordpress/trunk@18193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 16:27:57 +00:00
azaozz
d697ce638b Make copying the PressThis bookmarklet code easier in WebKit browsers, fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@18187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 01:33:07 +00:00
ryan
6c6db6a54e Don't add search wildcards to an empty string. fixes #17719
git-svn-id: http://svn.automattic.com/wordpress/trunk@18179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-07 16:05:04 +00:00
azaozz
9855641210 Some CSS cleanup and tuning, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@18173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 22:27:03 +00:00
azaozz
245d007ab2 Workaround for removeAttr('style') in Chromium, props duck_, fixes #17706
git-svn-id: http://svn.automattic.com/wordpress/trunk@18170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 18:59:10 +00:00
ryan
ebdc0d02b6 Fix warnings in menu.php when plugins.php is enabled for non-supes. Props PeteMall. fixes #17702
git-svn-id: http://svn.automattic.com/wordpress/trunk@18169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 16:59:24 +00:00
nacin
21abd80ac5 Oops. Credits API version remain unchanged. see #17518.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 06:46:11 +00:00
nacin
cef8b6662f Credits screen redux. Add external libraries, gravatars for language validators. Backed by a new API. fixes #17518, fixes #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 06:38:29 +00:00
azaozz
af360e4077 Remove the title attribute from the Press This link as it needlessly repeats the text, props johnjamesjacoby, fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@18160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 02:36:00 +00:00
azaozz
31e257b3c9 Fix quick edit error message styling, props solarissmoke, fixes #16912, fixes #14317
Fix top margin in bulk edit posts

git-svn-id: http://svn.automattic.com/wordpress/trunk@18158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 01:14:26 +00:00
nacin
e811e73322 s/Themes Updates/Theme Updates/. props mitchoyoshitaka. fixes #17701.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 00:30:17 +00:00
azaozz
71373b3fea Change cursor on hover on dashboard box toggles, props andrewryno, fixes #16440
git-svn-id: http://svn.automattic.com/wordpress/trunk@18156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 23:41:37 +00:00
azaozz
55c55c8f7d Fix JS error in Press This, props greuben, fixes #17501
git-svn-id: http://svn.automattic.com/wordpress/trunk@18155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 23:12:51 +00:00
koopersmith
4fc66df097 Update RTL blue admin theme. Props saracannon. fixes #17696.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 22:09:26 +00:00
azaozz
c1638ee025 Properly add shadow to folded admin menu in RTL, props ocean90, fixes #17692
git-svn-id: http://svn.automattic.com/wordpress/trunk@18153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 21:29:28 +00:00
ryan
ffd5c4416d Check return value of wp_check_browser_version(). Make return value consistent. Props duck_, aaroncampbell. fixes #17682
git-svn-id: http://svn.automattic.com/wordpress/trunk@18150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 15:14:51 +00:00
ryan
741a724b53 RTL fixes for credits.php. fixes #17602
git-svn-id: http://svn.automattic.com/wordpress/trunk@18149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 15:09:44 +00:00
westi
a9e78ba4a6 Output TinyMCE HTML inside the body for Press This. Fixes #17500 props greuben
git-svn-id: http://svn.automattic.com/wordpress/trunk@18148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 12:36:12 +00:00
westi
866b39c617 Move the in_admin_footer action out of p#footer-left.alignleft so it is just in div#footer to allow for it to be used more flexibly. Fixes #17358 props aaroncampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 12:04:19 +00:00
westi
898e239ee2 Scroll up to the top when bulk editing so the form is completely visible. Fixes #17208 props greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:56:12 +00:00
westi
45552f72d3 Whitespace fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@18144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:04:29 +00:00
westi
0397b60c04 Mark two missed strings in Press This for translation. Fixes #16334 props SergeyBiryukov and ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:02:08 +00:00
azaozz
1c9a877290 Fix collapsed menu transition glitch, props rosshanney, fixes #17534
git-svn-id: http://svn.automattic.com/wordpress/trunk@18138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-04 06:23:06 +00:00
azaozz
190670e218 DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503, fixes #17644, fixes #17664, fixes #17596
git-svn-id: http://svn.automattic.com/wordpress/trunk@18137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-04 00:46:47 +00:00
nacin
9a023b8378 Document that add_submenu_page() might return false if ! current_user_can(). see #17677.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 23:30:46 +00:00
ryan
20ad00f2f1 Make user validation when adding a user via network admin consistent with adding a user elsewhere. Provide better feedback for validation problems. Props sorich87. fixes #17239
git-svn-id: http://svn.automattic.com/wordpress/trunk@18131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 18:59:12 +00:00
ryan
f938faa814 Link to site being edited. Props lloydbudd. fixes #17257
git-svn-id: http://svn.automattic.com/wordpress/trunk@18129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 15:35:45 +00:00
markjaquith
372f48b7a0 Tighten up the Credits page so it's not so spaced out.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 09:00:49 +00:00
ryan
209f213f56 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: http://svn.automattic.com/wordpress/trunk@18125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 22:19:58 +00:00
azaozz
8d5a2a6cdf Also move the dark arrows, props ocean90, see #17544
git-svn-id: http://svn.automattic.com/wordpress/trunk@18124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 22:04:01 +00:00
azaozz
b0804966b2 Squeeze 10 more pixels for longer menu names, fixes #17544
git-svn-id: http://svn.automattic.com/wordpress/trunk@18122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 21:21:15 +00:00
koopersmith
e62e01b928 Remove Courier from the monospace font stack. fixes #17640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 19:55:27 +00:00
ryan
bc6a3ba8f8 RTL fixes for credits.php. Props BenChapman, rasheed. fixes #17602
git-svn-id: http://svn.automattic.com/wordpress/trunk@18116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 17:21:28 +00:00
ryan
15a6a89eb0 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 17:05:55 +00:00
ryan
46d0e53c7b RTL fixes for dfw tagline, permalink editing, and hscroll. Props yoavf. fixes #17639
git-svn-id: http://svn.automattic.com/wordpress/trunk@18113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 16:04:02 +00:00
ryan
3f7c9b5b76 Remove redundant hidden parent_id input from edit form. Props solarissmoke. fixes #17656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 15:26:01 +00:00
nacin
30729cc791 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 22:03:36 +00:00
ryan
538658c4de Use array_pop( array_keys() ) instead of end() to find the end of the array. end() finds that last item added, which is not reliable with plugins that add items to the end and then sort them up with custom_menu_order. see #17629
git-svn-id: http://svn.automattic.com/wordpress/trunk@18109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 21:27:42 +00:00
azaozz
92343666f3 Set DFW background color to match the admin theme's background, see #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:50:04 +00:00
ryan
9b82395409 Apply editable_slug filter in post_slug_meta_box(). Props yoavf, ramiy. fixes #17598
git-svn-id: http://svn.automattic.com/wordpress/trunk@18106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:33:45 +00:00
ryan
a0c3f4ce25 Apply editable_slug filter to parent page slugs in get_sample_permalink(). Props solarissmoke, ramiy. fixes #16999
git-svn-id: http://svn.automattic.com/wordpress/trunk@18105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:30:29 +00:00
azaozz
a7189cbaa9 Remove reference to wp-fullscreen-content-css, see #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:08:41 +00:00
azaozz
40c95fc8f7 Make DFW use the exact same style as the normal editor, remove width resizing in DFW as it would clash with editor-style.css for some themes, fixes #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:01:29 +00:00
markjaquith
fb76d8852b Use monospaced font for HTML editor. props iammattthomas. fixes #17640
git-svn-id: http://svn.automattic.com/wordpress/trunk@18102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:31:42 +00:00
ryan
3d3fe65798 Decrement pending count after Approve and Reply. Props DH-Shredder. fixes #17380
git-svn-id: http://svn.automattic.com/wordpress/trunk@18100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:23:19 +00:00
azaozz
9972597f91 Widgets RTL fixes, props yoavf, fixes #16082
git-svn-id: http://svn.automattic.com/wordpress/trunk@18095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:29:10 +00:00
ryan
03602f19e6 url_encode file names in theme and plugin editor urls. Props kawauso. fixes #17038
git-svn-id: http://svn.automattic.com/wordpress/trunk@18094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:14:58 +00:00
ryan
44a218c639 Fix paging through plugin search results. Props dd32. fixes #17285
git-svn-id: http://svn.automattic.com/wordpress/trunk@18093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:03:41 +00:00
westi
1443193079 Help Tab text updatates. Fixes #17312 prop dougwrites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 15:37:04 +00:00
westi
b64c0fb2f9 Add a ms_user_row_actions filter on the actions array for the Network Users table. Fixes #15932 props sorich87
git-svn-id: http://svn.automattic.com/wordpress/trunk@18090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:44:10 +00:00
ryan
9f677a0847 Use wp-menu-separator after Settings and before the first plugin top-level. Remove trailing separators. fixes #17629
git-svn-id: http://svn.automattic.com/wordpress/trunk@18089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:41:43 +00:00
westi
ea720f6a36 Make the css for the row status highlighting more specific so that it works regardless of the ordering of the CSS loading. Fixes #16827 props wpmuguru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 13:52:49 +00:00
ryan
3fc5956921 s/seperator/separator/. Props brandonburke. fixes #17610
git-svn-id: http://svn.automattic.com/wordpress/trunk@18084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 19:58:36 +00:00
ryan
10334eff33 Don't set fields to empty values in _wp_translate_data(). Props scribu, johnjamesjacoby. fixes #16673
git-svn-id: http://svn.automattic.com/wordpress/trunk@18082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 16:08:46 +00:00
dd32
fc52dfeec4 Correct the logic for Taxonomy edit page actions. Props michaeltyson for initial patch. Fixes #17617
git-svn-id: http://svn.automattic.com/wordpress/trunk@18078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 05:05:42 +00:00
azaozz
c215525c41 s/autosave/autosave-message to show these messages again, fixes #17624
git-svn-id: http://svn.automattic.com/wordpress/trunk@18076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 19:53:18 +00:00
azaozz
e18aac6f90 Force-hide the adminbar when DFW opens to keep IE7 users happy, fixes #17622
git-svn-id: http://svn.automattic.com/wordpress/trunk@18075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 19:22:09 +00:00
azaozz
ab43381c33 Fix notice, props greuben, fixes #17613
git-svn-id: http://svn.automattic.com/wordpress/trunk@18074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 14:12:08 +00:00
azaozz
7536a1107e Improve JS array/object detection when outputting the TinyMCE init array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 21:18:58 +00:00
azaozz
2d2f8d4c6f s/Colse/Close/, props nacin, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 05:07:32 +00:00
azaozz
9739cfea3c Don't close DFW when closing modal dialogs with Escape key, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 02:04:52 +00:00
nacin
5a63a11c7c Remove accidental tint on the post-box div. Should be a white background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 19:29:32 +00:00
azaozz
b6fff6534a Fix background color for approved comments, props DH-Shredder, fixes #17405
git-svn-id: http://svn.automattic.com/wordpress/trunk@18065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 02:30:04 +00:00
nacin
cbba3fe581 Don't use array calling for post_status in wp_edit_attachments_query() to prevent any use of the deprecated query_string filter (as in, don't use it) from tanking the page. see #17556, #17559. for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 05:41:34 +00:00
ryan
eb825b2b40 Remove duplicate IDs before passing comment post IDs to get_pending_comments_num()
git-svn-id: http://svn.automattic.com/wordpress/trunk@18041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 17:36:26 +00:00
ryan
e68292421d Fix notices. Props ocean90. fixes #17528
git-svn-id: http://svn.automattic.com/wordpress/trunk@18038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:46:40 +00:00
ryan
3462aab64e Fix name of plugins submenu. Props ocean90. fixes #17530
git-svn-id: http://svn.automattic.com/wordpress/trunk@18035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:06:42 +00:00
ryan
ae8f4a2a80 If there is only one submenu and it is has same destination as the parent, remove the submenu. fixes #17528
git-svn-id: http://svn.automattic.com/wordpress/trunk@18034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:05:52 +00:00
azaozz
d5a2ea7d13 Remove wp-admin/js/list-table.js, not used anywhere and not listed in script-loader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:06:24 +00:00
azaozz
65f9c441a7 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: http://svn.automattic.com/wordpress/trunk@18027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:04:12 +00:00
ryan
51fe428865 Rename network admin submenus to not clash with top level menus. Props ocean90, markmcwilliams. see #17378
git-svn-id: http://svn.automattic.com/wordpress/trunk@18026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:58:01 +00:00
azaozz
27a001b635 Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:55:59 +00:00
azaozz
5d756ba5d2 Fix another .attr() vs .prop() case, props ocean90, fixes #17546
git-svn-id: http://svn.automattic.com/wordpress/trunk@18024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 16:49:01 +00:00
ryan
8192d0dae8 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
ryan
9aeffe1487 Don't show _access_denied_splash() for network admin pages. Props sorich87. fixes #17511
git-svn-id: http://svn.automattic.com/wordpress/trunk@18009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:11:03 +00:00
ryan
2e2807147c Don't show _access_denied_splash() if the user has permissions for the site but insufficient perms for a particular page. Props sorich87. fixes #17514
git-svn-id: http://svn.automattic.com/wordpress/trunk@18008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:08:19 +00:00
nacin
666e71d69b String swap. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 18:32:17 +00:00
westi
30f64bdbb5 Use context to tell the translators what to do and thereby remove a unused string.
Add a comment as to why we have translations after a return.
See #17532

git-svn-id: http://svn.automattic.com/wordpress/trunk@18005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 11:02:12 +00:00
nacin
02aad2f192 Add paragraph tags around the blocks of contributors. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 05:49:44 +00:00
nacin
d265a3a79d Prepare the Credits page to handle translators. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 05:33:33 +00:00
nacin
ab840f8074 Update the Credits page for changes in the API. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 00:08:51 +00:00
ryan
2cfb1592f0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:25:28 +00:00
ryan
cb44c14449 Use correct keys
git-svn-id: http://svn.automattic.com/wordpress/trunk@17996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:21:34 +00:00
ryan
81a5f821fb Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:42 +00:00
ryan
117d081812 Use esc_url() once again.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:12 +00:00
ryan
0c93cb66be Add a nonce.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:18:58 +00:00
nacin
fad60afa23 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 22:30:05 +00:00
nacin
40b0b6c65e Add option_page_capability_$option_page filter. see #14365.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:32:22 +00:00
nacin
e813941988 Move the closing tags inside the same conditional in wp_plugin_update_row. props mitchoyoshitaka, fixes #17536.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:24:32 +00:00
azaozz
7815408b7a Fix Reply and Approve when replying from the comment moderation page, see #15898
git-svn-id: http://svn.automattic.com/wordpress/trunk@17983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 17:11:13 +00:00
nacin
c6e93b74ea s/add_css/_wp_credits_add_css/. props dimadin, see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 14:01:03 +00:00
azaozz
a34fe128c2 Fix select all checkboxes JS function, another .attr() vs .prop() case in jQuery 1.6.1, fixes #17527
git-svn-id: http://svn.automattic.com/wordpress/trunk@17979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 22:47:36 +00:00
nacin
69b3acb8db Remove non-functional vestigal code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 06:02:03 +00:00
nacin
1fdf0b9430 Add 'Add New' buttons to edit links, edit media, and edit user screens. props sbressler, fixes #17499.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 19:52:11 +00:00
nacin
b101aa6781 Only show multisite upload space when user has upload_files, rather than edit_posts. props johnbillion, fixes #17510.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 17:43:19 +00:00
azaozz
33b0327924 Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
git-svn-id: http://svn.automattic.com/wordpress/trunk@17971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 16:12:13 +00:00
azaozz
7ecc640949 FIx the position of Enter title here, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 15:34:37 +00:00
westi
a55c86ffbc Move the codex link into a seperate translation so you don't have to translate it if you have not got a version in your language and you only have to translate it once. Fixes #17480
git-svn-id: http://svn.automattic.com/wordpress/trunk@17967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 08:11:10 +00:00
azaozz
96c6667c5c Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 07:34:54 +00:00
azaozz
af3ce311a0 More IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 05:35:08 +00:00
azaozz
5175149c03 IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 02:23:02 +00:00
markjaquith
188f57edfa Add New links when editing content. fixes #17499
git-svn-id: http://svn.automattic.com/wordpress/trunk@17962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 01:34:34 +00:00
nacin
6d8fa2f388 Allow Codex URLs to be translated. Don't offer wp.org/about/ URLs for translation. props zeo, xibe. fixes #17480.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 19:39:24 +00:00
nacin
9c7fce4ed5 Add admin body classes for the WP branch, WP version, and current admin color. props andy, fixes #17496.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 18:11:48 +00:00
markjaquith
9f11444c89 Better CSS background color fallback for TinyMCE icons (for browsers without gradient support). props greuben. fixes #17469
git-svn-id: http://svn.automattic.com/wordpress/trunk@17956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:40:49 +00:00
markjaquith
33aba110ee Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441. see #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:06:04 +00:00
markjaquith
bb8978972e Add a per-post-type nav menu items filter for plugin control. props aaroncampbell. see #16075
git-svn-id: http://svn.automattic.com/wordpress/trunk@17951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 16:44:21 +00:00
azaozz
d2e54b7932 Revert [17943] as it breaks plugins, props johnjamesjacoby, fixes #17484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 06:20:30 +00:00
azaozz
24f315692d Fix width shortcuts in DFW, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 00:59:12 +00:00
nacin
dba8ade461 Fix inverse logic in [17946].
git-svn-id: http://svn.automattic.com/wordpress/trunk@17948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:36:58 +00:00
azaozz
dcb9985b13 Use the "media" admin menu icon for the add media button in DFW, move the tagline, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:33:22 +00:00
markjaquith
cb62ef2b58 Even better poka-yoke on Credits page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:14:08 +00:00
markjaquith
4eaf5b3ed9 Make sure we have an array on the Credits page. Handles situations where non-array data is sometimes cached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 16:36:37 +00:00
azaozz
46c545cdba Remove links from the menu separators, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 06:19:00 +00:00
nacin
e46b1da6f4 Credits page HTML closing tag and alt fix, props Utkarsh. Link gravatars to profiles. fixes #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 05:58:40 +00:00
azaozz
c8f51203cf RTL styles, props yoavf, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 05:45:49 +00:00
azaozz
19c80ff93c Maximum i18n flexibility for word count, props nacin, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 04:25:15 +00:00
azaozz
5869d175f6 Blue styles for DFW toolbar, props jorbin, fixes #17436
git-svn-id: http://svn.automattic.com/wordpress/trunk@17939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 03:58:27 +00:00
westi
e8ecf0f599 Use the correct cap for the export menu item. Fixes #17452
git-svn-id: http://svn.automattic.com/wordpress/trunk@17937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-16 10:44:42 +00:00
azaozz
3bb59dbc9c Fix autosave and word count for DFW HTML editor, always update word count on autosave, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-16 06:17:44 +00:00
azaozz
3a9f1dcc5c Center admin menu icons when menu is folded, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-15 22:50:26 +00:00
azaozz
b42b310743 Refresh word count when switching editors in DFW.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-15 05:51:33 +00:00
koopersmith
8cae005972 Blue theme revisions. Migrate colors from nav-menu.css to colors-*.css. Props saracannon. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:57:24 +00:00
nacin
da2732c7de Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:45:07 +00:00
nacin
57a5e26a27 Search Installed Plugins, Search Installed Themes. props garyc40, fixes #16543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:41:42 +00:00
westi
53ce9d6f50 More phpdoc typo fixes. See #17414 props Utkarsh
git-svn-id: http://svn.automattic.com/wordpress/trunk@17926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 09:56:59 +00:00
westi
65e341d0cb Fix typos and inconsistencies in PHPdoc / function declarations. See #17414 props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@17925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 09:50:20 +00:00
markjaquith
c379a72852 Blue admin theme updates for the new UI style. props saracannon. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 04:40:48 +00:00
azaozz
44cfe9d8b3 FIx static front page selector in Settings-Writing, props JDTrower duck_, fixes #17421
git-svn-id: http://svn.automattic.com/wordpress/trunk@17923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 00:43:58 +00:00
ryan
18335b5516 Update some network admin help text. Props dougwrites. fixes #16988
git-svn-id: http://svn.automattic.com/wordpress/trunk@17921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 19:25:38 +00:00
ryan
5316894390 Fix broken help link. Props SergeyBiryukov. fixes #17265
git-svn-id: http://svn.automattic.com/wordpress/trunk@17919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 19:08:09 +00:00
azaozz
799e614e68 DFW: scroll to top when opening so the user is not disoriented, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 06:27:49 +00:00
nacin
9ddadbd830 Use correct variable, see #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 02:08:35 +00:00
nacin
ecc65d1f21 Show display names from wp.org profiles on the credits page. see #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 01:46:08 +00:00
nacin
fe04318dc8 Add core contributors to credits page, first pass. see #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 00:49:53 +00:00
azaozz
b1fe99c5ce jQuery 1.6.1 and fix for some small bugs that popped up while testing it, props JDTrower, fixes #17311
git-svn-id: http://svn.automattic.com/wordpress/trunk@17907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 22:00:31 +00:00
nacin
bd7956b4f5 Update wp-logo.png version number. props zekeweeks, fixes #17402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 18:26:17 +00:00
markjaquith
096426deb9 Fix URL typo in freedoms.php. props duck_. see #17383
git-svn-id: http://svn.automattic.com/wordpress/trunk@17904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 08:10:59 +00:00
markjaquith
0e57bd3a37 Centralize pagination bound exceeding redirects for list tables. props garyc40. props johnjamesjacoby. fixes #16208
git-svn-id: http://svn.automattic.com/wordpress/trunk@17900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 06:09:42 +00:00
nacin
8abc94a139 Don't show broken 'View' links when a CPT isn't publicly queryable. fixes #13301, props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 06:04:47 +00:00
koopersmith
b1a2d38dc8 Prevent shadow from showing in dfw visual editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:51:33 +00:00
nacin
351b6ce13e Move output buffering out of a loop, collapsing it into one buffer. props mitchoyoshitaka, fixes #17352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:50:53 +00:00
koopersmith
a5e724c025 Fix padding on 'save draft' button. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:48:37 +00:00
nacin
815d4fd975 Shorten key used for browse happy site transient so it fits in option_name. fixes #17323, props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:45:02 +00:00
nacin
54f42be38d Switch to 'Freedoms'. see #17383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:17:28 +00:00