| [21565]
|
lancewillett
|
Twenty Twelve: update RTL stylsheet based on recent layout changes, see #21441.
|
| [21564]
|
lancewillett
|
Twenty Twelve: in small menu give sub-menu items a bit of indentation to denote the hierarchy of items. See #21562.
|
| [21563]
|
nacin
|
Move the optimization done to get_user_by() in [21376] higher up the stack, into map_meta_cap() and is_super_admin().
This provides nearly the same benefits without possibly receiving a stale object from get_userdata(),
which could affect authentication, and introduce side effects for plugins.
see #21120.
|
| [21562]
|
lancewillett
|
Twenty Twelve: minor style fixes for small navigation menu (line-height) -- see #21562; featured image on homepage timeplate (space below image in small layouts).
|
| [21561]
|
ryan
|
s/is_ms_switched/ms_is_switched/ see #21459
|
| [21560]
|
ryan
|
Introduce is_ms_switched(). see #21459
|
| [21559]
|
ryan
|
Introduce WP_Post class. Clean up ancestors handling. Props scribu, toppa. fixes #10381 see #21309
|
| [21558]
|
lancewillett
|
Twenty Twelve: better naming for the homepage widget areas, props nacin. See #21619.
|
| [21557]
|
lancewillett
|
Twenty Twelve: re-implement the hiding of toggle element when empty menu is present, see #21562 and r21520 props cfinke.
|
| [21556]
|
lancewillett
|
Twenty Twelve: patch IE7 for clip styles (hidden elements were displaying incorrectly).
|
| [21555]
|
lancewillett
|
Twenty Twelve: change homepage widget areas to use columns or multiple areas instead of one big area. Fixes #21619, props obenland.
|
| [21554]
|
lancewillett
|
Twenty Twelve: improve navigation to be mobile-first and not rely on JS for hiding and showing, props obenland for patches. See #21562.
|
| [21553]
|
ryan
|
Reduce calls to sanitize_title_with_dashes in register_(post_type|taxonomy). Props ocean90. fixes #21600
|
| [21552]
|
nacin
|
Add term_taxonomy_id field handling to WP_Tax_Query::transform_query(), allowing the transformation to be bypassed when tt ids are passed.
props wonderboymusic.
fixes #21228.
|
| [21551]
|
nacin
|
Remove unused multisite option 'language'. props wonderboymusic. fixes #21545.
|
| [21550]
|
nacin
|
Always return a variable reference from get_pages(). props wonderboymusic, foxinni. fixes #20756.
|
| [21549]
|
azaozz
|
Fix screen reader text in IE7 and 8 in the toolbar "Updates" menu, props SergeyBiryukov, fixes #21333
|
| [21548]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21548.
|
| [21547]
|
markjaquith
|
Fix the display of widgets in wp-admin when their descriptions wrap to two lines. props mattdanner. fixes #15180
|
| [21546]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21546. TinyMCE updated.
|
| [21545]
|
azaozz
|
Update TinyMCE to 3.5.6, see #21173
|
| [21544]
|
nacin
|
We no longer need to check function_exists() for date_default_timezone_set(). props Gary-J, j-idris. fixes #20501.
|
| [21543]
|
lancewillett
|
Twenty Twelve: remove twentytwelve_is_categorized_site() in favor of a theme-agnostic future core fix for this issue, see #21479.
Also simplify the logic for checking tag and categories, props SergeyBiryukov and obenland.
|
| [21542]
|
lancewillett
|
Twenty Twelve: output dynamic end comment ID value for navigation container (above|below).
|
| [21541]
|
ryan
|
Introduce wp_get_mime_types() for fetching the complete list of mime types. Remove the static caching of the types so that filters other than the first filter work. Use wp_get_mime_types() in do_enclose(). fixes #21299 #21594
|
| [21540]
|
lancewillett
|
Twenty Twelve: minor CSS cleanup for extra trailing selector comma, spacing, and too-specific class selector.
|
| [21539]
|
nacin
|
Output a hidden input of blog_charset when we are hiding the option. props SergeyBiryukov. see #21507.
|
| [21538]
|
ryan
|
Send Content-Type with charset for iframe_header(). Props SergeyBiryukov, sergey.s.betke@novgaro.ru. fixes #19454
|
| [21537]
|
nacin
|
If the DB upgrade hasn't yet been run, assume the Link Manager is disabled. Important for multisite installs. props ryan. see #21307.
|
| [21536]
|
nacin
|
Disable the Link Manager on any future upgrade if it is still enabled but there are no links. see #21307.
|
| [21535]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21535.
|
| [21534]
|
azaozz
|
Fix typo in [21529], props toscho. Simplify the :focus styles for the Screen Options and Help toggles, see #21324
|
| [21533]
|
lancewillett
|
Twenty Twelve: add flexible-header tag back into style.css, in anticipation of it being a core-allowed tag, see #21065.
Remove responsive-width since it's not decided yet, see #21065.
|
| [21532]
|
azaozz
|
Revert [21495]. Discussed in dev-chat: it's better if the themes implement this or something similar.
|
| [21531]
|
ryan
|
Specify the encoding in IXR_Server::output(). Props solarissmoke, sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #4794
|
| [21530]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21530.
|
| [21529]
|
azaozz
|
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
|
| [21528]
|
ryan
|
Specify the charset in WP_Ajax_Response::send(). Props sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #19448
|
| [21527]
|
ryan
|
Fix MS Office mime types. Group the mime list in get_allowed_mime_types() by type. Props hebbet, markel, SergeyBiryukov. fixes #17117
|
| [21526]
|
ryan
|
Return post_parent, menu_order, guid, and post_mime_type from wp.getPost(). Props maxcutler. fixes #21308
|
| [21525]
|
lancewillett
|
Twenty Twelve: remove `initial-scale` value from viewport meta element to avoid iOS zoom bug. Props bradthomas127, see #21577.
|
| [21524]
|
lancewillett
|
Twenty Twelve: s/"/'/ in array notation, props JarretC. Fixes #21587.
|
| [21523]
|
ryan
|
Fix phpdoc for switch_to_blog() and restore_current_blog(). Props SergeyBiryukov. fixes #21459
|
| [21522]
|
ryan
|
Add @since for _wp_get_user_contactmethods() and _get_additional_user_keys(). Props SergeyBiryukov. fixes #21246
|
| [21521]
|
ryan
|
Update @since for various wpdb properties. Props SergeyBiryukov. fixes #21582
|
| [21520]
|
lancewillett
|
Twenty Twelve: selector for navigation menu should style the menu list element, props obenland, see #21562.
Also remove duplicate line-height rule, props bradthomas127. See #21577.
|
| [21519]
|
lancewillett
|
Twenty Twelve: stop nav slide animation when clicking the button multiple times in a row. Props Jayjdk, fixes #21531.
|
| [21518]
|
lancewillett
|
Twenty Twelve: fix centering of image captions on image attachment view. Fixes #21530.
|
| [21517]
|
lancewillett
|
Twenty Twelve: better fix for long words getting hidden in widgets, putting the rules in the correct selector, props obenland. Closes #21503.
|
| [21516]
|
lancewillett
|
Twenty Twelve: move IE8 styles to specific IE selector, props obenland. Closes #21440.
|
| [21515]
|
lancewillett
|
Twenty Twelve: editor RTL style fixes props yoavf, see #21441.
|
| [21514]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21514.
|
| [21513]
|
nacin
|
@since for wpdb's result property. props SergeyBiryukov. see #21533.
|
| [21512]
|
nacin
|
Add magic set, isset, and unset to wpdb. props pento.
These magic methods allow us to mark properties as protected or private, without breaking compatibility, as they were once accessible. The joys of PHP4.
fixes #18510.
|
| [21511]
|
nacin
|
Eliminate error suppression for mysql_free_result() and only call it when the result is actually a resource. Depending on the query, mysql_query() can return a boolean rather than a resource, hence the original use of error suppression.
Fixes a warning introduced in [21472] when calling mysql_free_result() was moved to flush().
fixes #20838.
|
| [21510]
|
azaozz
|
Stop Chrome from applying outline to DIVs that have tabindex="-1", see #21324
|
| [21509]
|
ryan
|
Update wp_update_user() phpdoc to reflect a possible return of WP_Error. Props SergeyBiryukov. fixes #21439
|
| [21508]
|
ryan
|
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
|
| [21507]
|
ryan
|
Use admin_url() instead of get_edit_user_link() in wp-login.php since cookies are not yet set. Props SergeyBiryukov. fixes #14787
|
| [21506]
|
ryan
|
Add isset() check to avoid notice. Props c3mdigital. fixes #21512
|
| [21505]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21505.
|
| [21504]
|
ryan
|
Remove post type from post nonces. Fixes attachment deletion when EMPTY_TRASH_DAYS is 0. Props c3mdigital, kurtpayne, SergeyBiryukov. fixes #21194
|
| [21503]
|
nacin
|
Fix WP_Theme's get_template_directory_uri() method. props batmoo. see #21549 for trunk.
|
| [21502]
|
ryan
|
Better instruction text on custom header screen. Props jane, JustinSainton fixes #20992
|
| [21501]
|
nacin
|
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.
|
| [21500]
|
nacin
|
Stop adding default links and the 'Blogroll' link category on install. props wonderboymusic. see #21307.
|
| [21499]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21499.
|
| [21498]
|
azaozz
|
Remove unused images, props helenyhou, coffee2code, ocean90, fixes #20980
|
| [21497]
|
ryan
|
Avoid fatal error in the customizer when the current theme doesn't support custom headers. Props c3mdigital. fixes #21515
|
| [21496]
|
ryan
|
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
|
| [21495]
|
azaozz
|
Better editor background, take one, see #21536
|
| [21494]
|
potbot
|
POT, generated from r21492
|
| [21493]
|
potbot
|
POT, generated from r21492
|
| [21492]
|
lancewillett
|
Twenty Twelve: pinking shears for header.php
|
| [21491]
|
lancewillett
|
Twenty Eleven: allow content-single.php to be overridden for post formats, props murky. Closes #17996.
|
| [21490]
|
lancewillett
|
Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500. Props nacin and SergeyBiryukov.
|
| [21489]
|
lancewillett
|
Twenty Twelve: make twentytwelve_is_categorized_site() pluggable, see #21479.
|
| [21488]
|
lancewillett
|
Twenty Eleven: fix gallery thumbnail image overflow, props chellycat. Fixes #20478.
|
| [21487]
|
lancewillett
|
Twenty Eleven: fix long URLs in comments overflow content area, fixes #21491. Props SergeyBiryukov jkudish andrewspittle.
Also minor pinking shears in stylesheet and functions file.
|
| [21486]
|
lancewillett
|
Twenty Ten: code readability in twentyten_comment, props kovshenin, fixes #21474. (And minor pinking shears.)
|
| [21485]
|
ryan
|
switch_to_blog() and restore_current_blog() housekeeping.
wp-includes/admin-bar.php:
* Replace get_admin_url() and get_home_url() with admin_url() and home_url() and place them inside a switch/restore. Likewise replace current_user_can_for_blog() with current_user_can(). This avoids doing multiple switch restores.
wp-includes/ms-blogs.php:
* Deprecate the $validate argument to switch_to_blog(). This avoids a not very necessary call to get_blog_details(), possibly saving a few queries.
* Use $_wp_switched and $_wp_switched_stack instead of $switched and $switched_stack to make it less likely these globals will be stomped.
* Use GLOBALS to access blog_id and other globals. I've preferred this style lately since it makes it obvious a global is being used and avoids global blog_id being stomped by a local variable.
* Lose some is_object() checks. wp_get_current_user() always returns an object, for example.
* Call the new WP_Roles::reinit() method.
wp-includes/class-wp-xmlrpc-server.php:
* Replace current_user_can_for_blog() with current_user_can() and move it inside the switch/restore pair. This eliminates a switch/restore.
wp-includes/capabilities.php:
* Use array_keys() instead of $role => $data since $data is unused. I *think* this is a bit faster.
* Introduce WP_Roles::reinit(). This reinitializes WP_Roles and is used after switch_to_blog() has already update the blog ID in the wpdb object. If a global roles array is being used instead of the db, reinit is skipped.
* current_user_can_for_blog() now does a switch/restore. It didn't before meaning it could be reinitializing the user with the wrong role information for the current blog.
wp-includes/ms-settings.php:
* Define $_wp_switched_stack and $_wp_switched. This way switch_to_blog() and restore_current_blog() can rely on it being set.
wp-settings.php:
* Instantiate the WP_Roles global. This was it is always defined during init. To remove the WP_Roles checks from WP_Role and WP_User this would probably have to move before plugins are loaded, which might not be a good thing.
wp-includes/functions.php:
* Update wp_upload_dir() to reference _wp_switched.
|
| [21484]
|
ryan
|
Move get_current_blog_id() to load.php so it is available during multisite bootstrap. fixes #21432
|
| [21483]
|
lancewillett
|
Twenty Twelve: fix bypostauthor styling, probs obenland and SergeyBiryukov (also improves the RTL layout, see #21441).
|
| [21482]
|
lancewillett
|
Twenty Twelve: add basic styles for IE7 and IE8, supports basic layout now with the small-nav styles. Props obenland, closes #21440.
|
| [21481]
|
azaozz
|
When WP_Dependencies accept a string for a single dependency, make sure the string is not empty, see #20683
|
| [21480]
|
ryan
|
Undeprecate *_blog_option() by popular demand. Put them back in ms-blogs.php since direct inclusion of ms-blogs.php/ms-functions.php is unforntunately common.
see #21432
|
| [21479]
|
lancewillett
|
Twenty Twelve: cleanup up extra space in functions.php
|
| [21478]
|
lancewillett
|
Twenty Twelve: better gallery columns support, and CSS cleanup. Closes #21475, props philiparthurmoore and pdclark.
|
| [21477]
|
lancewillett
|
Twenty Twelve: fix for long words getting hidden in widgets. Props DrewAPicture, closes #21503.
|
| [21476]
|
lancewillett
|
Twenty Twelve: make nav toggle button same height as other buttons.
|
| [21475]
|
lancewillett
|
Twenty Twelve: add polyfill JS for matchMedia rules, avoids JS error in older IE versions. See #21440.
|
| [21474]
|
westi
|
Multisite: Fix the new get_space_used() function to correctly calculate Megabytes used and update some phpdoc. Props SergeyBiryukov.
|
| [21473]
|
nacin
|
Declare, document, and protect $dbuser, $dbpassword, $dbname, $dbhost and $dbh in wpdb.
These properties, while protected, are still accessible thanks to the magic getter added in [21472].
props pento, nvartolomei, joelhardi. fixes #18510.
|
| [21472]
|
nacin
|
Lazy-load column info in wpdb. props pento. fixes #20838.
|
| [21471]
|
nacin
|
Introduce wpdb::get_charset_collate() to return the DEFAULT CHARACTER SET and COLLATE for use in table schemas.
props simonwheatley, pento. fixes #18451.
|
| [21470]
|
nacin
|
Deprecate wpdb::supports_collation() in favor of wpdb::has_cap().
props hakre, pento. fixes #16757.
|
| [21469]
|
azaozz
|
Fix typo in wp_login_form(), props greenshady, fixes #21514
|
| [21468]
|
azaozz
|
TinyMCE: fix typo in button tooltips.
|
| [21467]
|
nacin
|
Hide the charset setting for installs that have a charset of UTF-8 already. fixes #21507.
|
| [21466]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21466.
|