Andrew Nacin
e23582cd09
Treat a single taxonomy passed as an array the same as when passed as a string in get_terms(). props wonderboymusic, fixes #17955 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22417 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 09:03:40 +00:00
Andrew Nacin
f9abbced91
Use correct variable name in code comment. props SergeyBiryukov, fixes #21962 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22416 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 08:57:49 +00:00
Daryl Koopersmith
c0ab768faa
Use Mustache-insipired template tags.
...
Underscore's default ERB-style templates are incompatible with PHP when asp_tags is enabled. As a result, we've settled on an alternative syntax that should be familiar to devs: Mustache-inspired for interpolating and escaping content, and ERB-inspired for execution.
`{{{a}}}` - interpolating
`{{ a }}` - escaping
`<# a #>` - execution
props rmccue. fixes #22344 , see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22415 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 08:41:17 +00:00
Andrew Nacin
4cf1dbe0f8
restrict_manage_users action. props jakemgold, johnjamesjacoby. fixes #19295 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22414 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 07:59:46 +00:00
Andrew Nacin
aeabe30d20
Revert type="email" on the registration form to avoid validation issues. see #22183 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22413 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 07:47:52 +00:00
Andrew Nacin
ba7fb93e4e
Check for WP_Error in get_the_category(). props batmoo. fixes #21155 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22412 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 23:47:14 +00:00
Andrew Ozz
49d5e725ce
Allow commonly used obsolete HTML5 attributes in TinyMCE, table[summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor] and a[name], fixes #22175
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22411 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 23:36:10 +00:00
Andrew Nacin
1d1417ec55
Always return an integer from post_exists(). props barrykooij. fixes #21607 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22410 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 23:27:21 +00:00
Andrew Nacin
8d1e29d8b6
Stop adding title attributes to images (in the old media uploader). props martythornley. fixes #18984 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22409 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 23:23:03 +00:00
Andrew Nacin
003319cdf6
Proper default background color for Twenty Eleven. props miqrogroove. fixes #22347 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22408 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 23:14:00 +00:00
bumpbot
75201ce1e5
Compress scripts/styles: 3.5-beta2-22407.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22407 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 22:58:35 +00:00
Andrew Nacin
b59c8c73f1
Revert [22387]. see #14466 . see #22374 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22406 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 22:36:24 +00:00
Andrew Nacin
9f4d6a2ebe
Don't show a hand cursor when hovering over a disabled button. props sabreuse, fixes #22371 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22405 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 22:30:41 +00:00
Andrew Nacin
866259c3d6
Use inline-block for wrapping filter links. props ocean90, SergeyBiryukov. fixes #21985 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22404 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 22:29:48 +00:00
Ryan Boren
ba7dbbe78d
Revert [22365]. see #21167
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22403 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 19:45:51 +00:00
Jon Cave
d5f47d78fc
Rename filter on $args sent to export_wp() for clarity. See #19863 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22402 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 14:51:45 +00:00
Jon Cave
397efc640f
Update shortcode regular expression commentary. See #17657 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22401 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 14:47:33 +00:00
Andrew Nacin
67ac51fe73
Keyboard accessibility for the theme customizer. props lessbloat, jorbin, JustinSainton. fixes #21283 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22400 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 14:47:25 +00:00
Jon Cave
452976110d
Correctly associate new menu items with a menu when using wp_update_nav_menu_item()
...
wp_update_nav_menu_item() must pass tax_input to wp_insert_post() when creating items
otherwise the menu-item relationship isn't made.
See #22189 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22399 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 14:46:56 +00:00
Jon Cave
65f6490eca
Actually pass old permalink structure with permalink_structure_changed action
...
Props doublesharp. Fixes #22351 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22398 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 12:41:33 +00:00
Daryl Koopersmith
f70612501d
Media JS: Move state-related logic from sidebar views to the state controllers. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22397 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 01:19:39 +00:00
Andrew Ozz
330c10d1a9
Kill use of colons in class names, props SergeyBiryukov, fixes #21152
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22396 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 01:01:52 +00:00
Andrew Nacin
fc2e20c4a7
Remove methods that override but do nothing. props jeremyfelt for initial patch. fixes #22368 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22395 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 00:52:49 +00:00
Andrew Ozz
4902853127
Remove the Alt + Shift + G (old fullscreen mode) shortcut from the TinyMCE help popup, props SergeyBiryukov, see #21197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22394 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 00:28:01 +00:00
Andrew Nacin
e59bf3e6d5
HiDPI versions of the generic menu page icon. props empireoflight, lessbloat. see #21019 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22393 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 00:25:18 +00:00
Andrew Nacin
0c2e06909d
Add the export_filters and wp_export_args hooks. props MartyThornley, brandondove. fixes #19863 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22392 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 00:06:44 +00:00
Andrew Nacin
1d1313833d
For postboxes, only show arrows/handles on hover when JS is enabled. props TobiasBg. fixes #21611 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22391 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 00:05:47 +00:00
Andrew Ozz
99a47fb677
Fix the right border of the editor textarea, props SergeyBiryukov, fixes #21906
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22390 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 23:55:10 +00:00
Andrew Ozz
b709af4d63
Fix border at the bottom of active tabs in postboxes, fixes #17699
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22389 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 23:38:16 +00:00
Ryan Boren
afb19edd41
Update contextual help for 'Search Engine Visibility' to reflect UI changes. Props DrewAPicture. see #16416
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22388 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 23:17:28 +00:00
Andrew Nacin
f10e3e59c5
Prefix sidebar IDs on the widgets screen with "sidebar-". props batmoo. fixes #14466 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22387 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 23:17:25 +00:00
Andrew Nacin
2a9536d817
Add a $public_only argument to count_many_users_posts() and get_posts_by_author_sql(). Defaults to false, and allows the counts to be returned for only public posts. props ryan, westi. fixes #21431 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22386 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 23:11:25 +00:00
Ryan Boren
f6d899210a
Restore keyboard accessibility to the color picker. Props lessbloat. see #21206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22385 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 23:00:15 +00:00
bumpbot
0d86cdf176
Compress scripts/styles: 3.5-beta2-22384.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22384 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 22:58:34 +00:00
Ryan Boren
0d977c4042
Fix field alignment in the "Insert/edit link" dialog.
...
Props SergeyBiryukov
fixes #22275
git-svn-id: https://develop.svn.wordpress.org/trunk@22383 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 22:42:22 +00:00
Ryan Boren
24a69e1602
Allow hyphens in shortcode names.
...
Props kovshenin, solarissmoke, aaroncampbell
fixes #17657
git-svn-id: https://develop.svn.wordpress.org/trunk@22382 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 22:27:36 +00:00
Andrew Nacin
c65abf0993
Add back Update Services help. props DrewAPicture, fixes #22365 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22381 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 21:38:48 +00:00
Ryan Boren
8b91148577
Remove 'Remote Publishing' contextual help section.
...
Don't show the 'Post Via Email' contextual help section if enable_post_by_email_configuration is not enabled.
Don't show the 'Update Services' contextual help section if enable_update_services_configuration is not enabled.
Props DrewAPicture
fixes #22365
git-svn-id: https://develop.svn.wordpress.org/trunk@22380 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 21:19:15 +00:00
Ryan Boren
6fd9916a18
Welcome screen refresh. Now with icons. Props lessbloat, empireoflight. fixes #21368
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22379 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 21:12:46 +00:00
Andrew Nacin
a23e6ae4ec
Update Thickbox images for HiDPI. props lessbloat. see #21019 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22378 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 21:00:15 +00:00
Andrew Nacin
f1af48e6dc
HiDPI Press This bookmarklet image. props empireoflight. see #21019 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22377 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 20:32:50 +00:00
Ryan Boren
580abb3c60
Fix strict warnings for WP_Plugins_List_Table::bulk_actions() and WP_Plugins_List_Table::single_row(). Props kurtpayne. fixes #22224
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22376 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 18:29:20 +00:00
Ryan Boren
da6ad55599
Consistent escaping in admin_color_scheme_picker(). Props johnjamesjacoby. fixes #22326
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22375 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 18:16:23 +00:00
Ryan Boren
b9890981c5
Use esc_attr() for attributes. Props johnjamesjacoby. fixes #22327
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22373 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 18:04:50 +00:00
Andrew Nacin
52e69011ad
When approving and then replying to a comment, approve the parent comment before inserting the reply. props trepmal, fixes #22000 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22370 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 16:49:10 +00:00
Andrew Nacin
502908fa4c
Invalidate oEmbed caches on pre_post_update instead of save_post so existing metadata caches may be used. fixes #22190 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22369 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 16:47:04 +00:00
Ryan Boren
b1eccdd12d
In wp_xmlrpc_server::_insert_post(), preservea valid post status instead of overwriting it with 'draft'. This preserves the 'inherit' status of attachments. Props markoheijnen. fixes #22335
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22368 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 14:44:25 +00:00
Ryan Boren
5e6ced774e
Use wp_basename() instead of basename() so that multibyte characters are not stomped. Props SergeyBiryukov. fixes #21217
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22367 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 14:33:56 +00:00
Ryan Boren
80653d0e73
Update SimplePie to 1.3.1. Props rmccue, ocean90. fixes #22321
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22366 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 14:25:25 +00:00
Ryan Boren
38b29deb8e
preg_quote() the permalink structure so that regex special chars such as dots are correctly handled. Props SergeyBiryukov. fixes #21167
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22365 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 14:13:29 +00:00