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
30a15b7c87
Combine two strings. props jiehanzheng. fixes #20500 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 06:40:31 +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
nacin
0f7b30d9c6
3.4-beta3.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 13:23:21 +00:00
nacin
fe63ec5dec
If a cached theme root is no longer registered, skip it. Assume the cache is out of date. see #20103 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 13:22:54 +00:00
duck_
6d13f920fd
Add $id parameter to get_the_tag_list() for consistency with get_the_(category|term)_list(). Props kawauso. Fixes #20072 .
...
Also remove 'default' value of 0 for $id parameter in generic taxonomy functions
as it is a required parameter, and fix a notice when get_the_terms() is called
when $id = 0 and the $post global is not an object.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 10:06:05 +00:00
bumpbot
ad4bfd0a45
Compress scripts/styles: 3.4-beta2-20548.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 04:58:21 +00:00
koopersmith
3668ad4516
Theme Customizer: Firefox CSS love. props helenyhou, see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 04:46:02 +00:00
bumpbot
ca047faab9
Compress scripts/styles: 3.4-beta2-20546.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 02:58:21 +00:00
koopersmith
a20bfcd6b1
Theme Customizer: Improve image picker control. see #19910 .
...
Overhauled image pickers:
* Add support for drag and drop uploads to image controls.
* Improve the 'uploaded' tab in image controls: automatically add images uploaded during the current session, hide the tab when no uploaded images exist.
* Move the header image control to the WP_Customize_Header_Image_Control class. Remove wp_customize_print_uploaded_headers() and wp_customize_print_uploaded_headers() functions.
* Abstract the dropdown functionality from the color picker to the .dropdown class.
* In wp.Uploader, unset element keys if passed an empty jQuery collection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 02:39:55 +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
nacin
a7ef8337be
Handle multiple feed: schemes.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 21:48:12 +00:00
nacin
b7e407cce8
Add sanity checks to WP_oEmbed::data2html() to ensure we are working with scalar values. Always use the filter. props mdawaffe, fixes #20322 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 19:46:34 +00:00
nacin
87d9d6f1c9
3.4-beta2-20538
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 16:44:20 +00:00
duck_
9eaf6fc4c3
Handle uppercase HTML entities in get_previous_posts_link(). Props ounziw. See #4152 , fixes #19803 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 15:08:06 +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
nacin
4fae1f64c2
Do not block file mod/edit caps when DISALLOW_UNFILTERED_HTML is set. There are separate constants (DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS for those). fixes #20488 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 14:05:05 +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
duck_
9694d46b27
Don't deprecate cleaning the user cache by ID. See #20460 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 11:51:27 +00:00
bumpbot
f8201ed9e2
Compress scripts/styles: 3.4-beta2-20531.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 06:58:24 +00:00
koopersmith
4900af30f1
Theme Customizer: Box model fixes for image picker thumbnails. see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 06:45:31 +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
koopersmith
c0cc088cb5
Theme Customizer: Begin improving image picker markup/styles. see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 06:29:54 +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
nacin
abd8d6a4c2
Always return a WP_Theme object from wp_get_theme(). If we can't find the theme root, assume the default theme root. (Which will probably result in a WP_Theme object that returns false for the exists() method, which is fine.) see #20361 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 03:33:42 +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
b85e997156
Remove extra slash when opening the gallery thickbox popup from the visual editor, props SergeyBiryukov, fixes #19850
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:43:28 +00:00
koopersmith
43c9e81c40
Remove jQuery postMessage plugin, as it is no longer used (as of [20517]). see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:32:13 +00:00
koopersmith
9b5c6a917c
Theme Customizer: Use native postMessage for wp.customize.Messenger. see #19910 .
...
* Removes use of jquery.postmessage.js
* Fixes bug where Opera would attempt to use the hash transport and redirect to the dashboard.
* Fixes bug where multiple postMessage connections could not coexist in a single frame.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:25:31 +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
646ae32016
Only output the class attribute in wp_nav_menu() if we have classes to add. Don't waste time on an strlen() call. props niallkennedy, fixes #20483 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 19:06:22 +00:00
bumpbot
1aa1918f28
Compress scripts/styles: 3.4-beta2-20512.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 18:58:19 +00:00
potbot
1ae7ecb2e2
POT, generated from r20510
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 18:18:06 +00:00
koopersmith
8acedf47a9
Theme Customizer: Color control hover styles. see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 18:01:20 +00:00
bumpbot
5cdef8c5fc
Compress scripts/styles: 3.4-beta2-20509.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 17:58:18 +00:00
nacin
00ab660e01
Check for wp_get_theme() in Twenty Eleven before using it, for compatibility down to WP 3.2 when Twenty Eleven was first released. see #20103 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 17:32:53 +00:00
koopersmith
6b32b6a9fa
Theme Customizer: Remove redundant call to wp_enqueue_script. see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 17:17:14 +00:00
koopersmith
1d73aae054
Remove 'visibility' parameter from WP_Customize_Control. Handle control visibility in JS instead. see #19910 .
...
* Have the header text color picker display only when header_textcolor != 'blank'
git-svn-id: http://svn.automattic.com/wordpress/trunk@20506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 17:13:31 +00:00
bumpbot
1085d4ecb7
Compress scripts/styles: 3.4-beta2-20505.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 14:58:20 +00:00
koopersmith
5e5a6446d1
Theme Customizer: Improve markup/styles for opened color picker. see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 14:32:05 +00:00
nacin
cd290bf2ce
Update swfobject
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 13:36:32 +00:00
bumpbot
83f549b02d
Compress scripts/styles: 3.4-beta2-20500.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 23:58:21 +00:00