Commit Graph

10072 Commits

Author SHA1 Message Date
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