| [21735]
|
ryan
|
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
|
| [21734]
|
ryan
|
Use set_url_scheme() in the *_url() functions to keep things DRY. Props johnbillion. fixes #20759
|
| [21733]
|
potbot
|
POT, generated from r21732
|
| [21732]
|
lancewillett
|
Twenty Twelve: remove executable bit from content-status.php, see r21726.
|
| [21731]
|
potbot
|
POT, generated from r21728
|
| [21730]
|
lancewillett
|
Twenty Twelve: s/Show Menu/Menu/ for clarity and simplicity, and maybe more semantic and accessible. Fixes #21783, props iandstewart.
|
| [21729]
|
lancewillett
|
Twenty Twelve: better bottom spacing for blockquotes, making it easier for child themes to style blockquotes followed by paragraphs. Props markjaquith and obenland, fixes #21764.
|
| [21728]
|
lancewillett
|
Twenty Twelve: list items need larger left margins to avoid cutting off the left-side (digit in the case of ordered lists). Props sixhours and obenland, fixes #21750.
|
| [21727]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21727.
|
| [21726]
|
lancewillett
|
Twenty Twelve: add support for Status post format. See #21743.
|
| [21725]
|
lancewillett
|
Twenty Twelve: review and remove unneeded overflow rules, and remove duplicate style block. Props obenland, fixes #21740.
|
| [21724]
|
nacin
|
Remove custom header uploads from the customizer.
For the 3.4 branch. It will return when crop ability is added.
props koopersmith.
see #21355. fixes #21515. fixes #21707.
merges [21379] [21380] [21383] [21385] [21386] [21497] [21722].
|
| [21723]
|
lancewillett
|
Twenty Twelve: fix edit_post_link() inconsistencies, props obenland. Fixes #21722.
|
| [21722]
|
koopersmith
|
Do not instantiate a Plupload instance when the wp-plupload bridge has neither a browse button nor a dropzone. fixes #21707.
|
| [21721]
|
lancewillett
|
Twenty Twelve: remove justified text alignment rules for small screens. Closes #21385.
|
| [21720]
|
lancewillett
|
Twenty Twelve: fix long word overflow in IE9 and FF15 by using `word-wrap` instead of `word-break`, fixes #21503.
|
| [21719]
|
nacin
|
Properly delimit URLs by \r, \n, \t *or* a space in sanitize_trackback_urls(). Fixes multiple trackback URL usage. props SergeyBiryukov, fixes #21624 for the 3.4 branch.
|
| [21718]
|
nacin
|
Properly delimit URLs by \r, \n, \t *or* a space in sanitize_trackback_urls(). Fixes multiple trackback URL usage. props SergeyBiryukov, fixes #21624 for trunk.
|
| [21717]
|
nacin
|
Merge [21205] and [21688] to the 3.4 branch. props SergeyBiryukov, yoavf. fixes #21590. see #21106.
|
| [21716]
|
nacin
|
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.
|
| [21715]
|
nacin
|
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.
|
| [21714]
|
nacin
|
URL encode the stylesheet directory values passed to WP_Theme's get_stylesheet_directory_uri() and get_template_directory_uri(). props SergeyBiryukov, see #21749. for the 3.4 branch.
|
| [21713]
|
nacin
|
URL encode the theme stylesheet passed into wp_customize_url(). see #21749.
|
| [21712]
|
nacin
|
URL encode the stylesheet directory values passed to WP_Theme's get_stylesheet_directory_uri() and get_template_directory_uri(). props SergeyBiryukov, see #21749.
|
| [21711]
|
nacin
|
Fix oEmbed when the provider only supports XML responses.
[20539] removed string casts that would have taken place on SimpleXMLElement
objects, which implement toString. Instead, convert the SimpleXMLElement object
to a stdClass object before we leave _parse_xml(), for consistency with the
simple object returned from _parse_json().
fixes #20246.
for the 3.4 branch.
|
| [21710]
|
nacin
|
Version bumps for the 3.4 branch, including a DB version bump for [21709] (see [21707]).
|
| [21709]
|
nacin
|
Reinstate paged rewrite rules for the post permalink structure.
Removal of this stopped pagination working for bare category URLs when
certain %category% based permalink structures were in used.
Reverts one more piece of [19737].
Props SergeyBiryukov.
fixes #21209 for 3.4.
|
| [21708]
|
nacin
|
Return post_parent, menu_order, guid, and post_mime_type from wp.getPost(). Props maxcutler. fixes #21308 for the 3.4 branch.
|
| [21707]
|
duck_
|
Bump $wp_db_version for [21705]
|
| [21706]
|
nacin
|
Fix a placeholder in a string without breaking said string in a branch. fixes #21511.
|
| [21705]
|
duck_
|
Reinstate paged rewrite rules for the post permalink structure.
Removal of this stopped pagination working for bare category URLs when
certain %category% based permalink structures were in used.
Reverts one more piece of [19737]. Props SergeyBiryukov. See #21209.
|
| [21704]
|
nacin
|
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 the 3.4 branch.
|
| [21703]
|
nacin
|
Fix placeholders in 'Welcome to WordPress' successful update messages. props SergeyBiryukov. see #21511.
|
| [21702]
|
nacin
|
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.
|
| [21701]
|
nacin
|
Fix oEmbed when the provider only supports XML responses.
[20539] removed string casts that would have taken place on SimpleXMLElement
objects, which implement toString. Instead, convert the SimpleXMLElement object
to a stdClass object before we leave _parse_xml(), for consistency with the
simple object returned from _parse_json().
see #20246.
for trunk.
|
| [21700]
|
nacin
|
Only show network-only plugins in the network admin. props SergeyBiryukov. see #21187, for trunk.
|
| [21699]
|
nacin
|
Restore the 'allowed_themes' filter.
This filter has wrapped the network-wide themes, outside of the network-wide
allowed function (dating back to MU), hence the unusual placement. This restores
previous behavior; we will introduce new filters to enable greater flexibility.
see #21099.
for the 3.4 branch.
|
| [21698]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21698.
|
| [21697]
|
nacin
|
Load the meta box sortables JS on the Edit Comment screen. props SergeyBiryukov. fixes #21499.
|
| [21696]
|
nacin
|
Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies. props SergeyBiryukov. fixes #21777.
|
| [21695]
|
koopersmith
|
jQuery 1.8.1 final. Also restores jQuery.noConflict(). props ocean90, fixes #21736.
|
| [21694]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21694.
|
| [21693]
|
ryan
|
s/blog/site/. see #21742
|
| [21692]
|
koopersmith
|
Add wp.media(), a function to create a default media workflow.
This will be the main entry point for basic media development, and should hopefully help less experienced developers wrangle the new media APIs.
If you would like to see the new UI, navigate to the post editor and run the following in your browser's Javascript console:
wp.media();
Well, that certainly feels a lot nicer to type.
see #21390.
|
| [21691]
|
koopersmith
|
Media: Use numeric timestamps instead of string-based timestamps when preparing an attachment for js.
We use the 'date' attribute to create Javascript Date objects. The Date() constructor has better cross-browser compatibility when numeric arguments are passed to the constructor.
see #21390.
|
| [21690]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21690.
|
| [21689]
|
koopersmith
|
Media JS: Attachments collection API improvements.
Rename watch() and unwatch() to observe() and unobserve(), respectively, to avoid conflicts with Firefox's proprietary Object.prototype.watch method.
Rename validate() to validator(), and changed() to validate(), as the latter will be more frequently used, and better explains its purpose. Also, make the new validate() more concise.
see #21390.
|
| [21688]
|
markjaquith
|
Fix the adding of link categories through the "Add Link" screen. props yoavf. fixes #21590 for trunk
|
| [21687]
|
ryan
|
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
|
| [21686]
|
nacin
|
Restore the 'allowed_themes' filter.
This filter has wrapped the network-wide themes, outside of the network-wide
allowed function (dating back to MU), hence the unusual placement. This restores
previous behavior; we will introduce new filters to enable greater flexibility.
see #21099.
for trunk.
|
| [21685]
|
westi
|
Make sure that we always generate random numbers correctly even if the PHP build is slightly broken and truncates large integers.
Fixes #19571 props mdawaffe.
|
| [21684]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21684.
|
| [21683]
|
koopersmith
|
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.
|
| [21682]
|
koopersmith
|
Fix a misnamed variable, which caused the query-attachments ajax handler to ignore all input. see #21390.
|
| [21681]
|
nacin
|
Add get-attachment and query-attachments Ajax handlers. props koopersmith. see #21390.
|
| [21680]
|
nacin
|
Introduce wp_prepare_attachment_for_js(). Prepares an attachment post object to be JSON-encoded and fitted into an Attachment model, for 3.5 media.
props koopersmith. see #21390.
|
| [21679]
|
nacin
|
Introduce wp_send_json() to json-encode a variable, print it, and die, for Ajax requests. Effectively replaces WP_Ajax_Response, which was an XML-based response.
Introduce wp_send_json_success() and wp_send_json_error(), which will allow us to fire appropriate done() or fail() callbacks in JS.
props koopersmith. see #21390.
|
| [21678]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21678.
|
| [21677]
|
azaozz
|
Update the query strings to refresh the toolbar sprites, props ocean90, see #20033
|
| [21676]
|
azaozz
|
Flip Admin Bar search icon, props empireoflight and lessbloat, fixes #20033
|
| [21675]
|
lancewillett
|
Twenty Twelve: go with `echo get_the_date()` here, added in r21670 but reverted accidentally in r21674. Props obenland.
|
| [21674]
|
lancewillett
|
Twenty Twelve: add a better permalink markup structure to content-image.php template, for usability when image posts have no title. Props obenland, fixes #21723.
|
| [21673]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21673.
|
| [21672]
|
nacin
|
Have wp_script_is() and wp_style_is() accept 'enqueued', as it reads better than 'queue' and is consistent with 'registered'. fixes #21741.
|
| [21671]
|
azaozz
|
Fix min row height in .widefat, see #21324
|
| [21670]
|
lancewillett
|
Twenty Twelve: use `get_the_date()` rather than `the_date()` in content templates to ensure a date is always output and a post permalink is visible to site visitors. Props obenland and ocean90, fixes #21721.
|
| [21669]
|
potbot
|
POT, generated from r21668
|
| [21668]
|
lancewillett
|
Twenty Twelve: move Open Sans custom font loading to a body class to allow easier overriding, fixes #21694.
* Use wp_style_is() to check for the enqueued CSS file before adding the body class value.
* Add a sample dequeue method in the comments as documentation for child themers and their ilk.
Props viniciusmassuchetto, nacin, and obenland.
|
| [21667]
|
lancewillett
|
Twenty Twelve: remove aggressive text-align rule, set to inherit instead to allow editor-added styles to justify per author's desire. Props obenland, fixes #21739.
|
| [21666]
|
lancewillett
|
Twenty Twelve: move text treatment for footer anchor element up to its parent container, to allow styling any text in the footer.
|
| [21665]
|
lancewillett
|
Twenty Twelve: remove unneeded float rule from nav list items, there is nothing to override here.
Also allows authors to assign CSS classes and float menu items with something like `alignright`.
|
| [21664]
|
ryan
|
Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759
|
| [21663]
|
bumpbot
|
Compress scripts/styles: 3.5-alpha-21663.
|
| [21662]
|
nacin
|
Fix copy-paste error in get_term_feed_link() that caused the category_feed_link filter to run for tags, rather than tag_feed_link. props andrea.r, SergeyBiryukov. fixes #21589.
|
| [21661]
|
nacin
|
Fix typo in CSS. props SergeyBiryukov. fixes #20587.
|
| [21660]
|
nacin
|
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.
|
| [21659]
|
nacin
|
Update some code comments from .dev.js to .js. props georgestephanis. see #21633.
|
| [21658]
|
nacin
|
jQuery 1.8.1-not-quite-final. fixes #21736.
|
| [21657]
|
nacin
|
jQuery UI 1.9 RC.
Adds Tooltip, Menu, and Spinner.
Autocomplete depends on Menu.
Renames Effects files.
1.9 final is expected next week.
see #21736.
|
| [21656]
|
koopersmith
|
Improve consistency in wp.Uploader callbacks; pass file objects to all handlers. see #21390.
|
| [21655]
|
ryan
|
Simplify return from WP_Post::__get() now that references are no longer returned. see #21309
|
| [21654]
|
ryan
|
Lose return ref from WP_Post::__get(). see #21309
|
| [21653]
|
nacin
|
Remove reference to blog_charset option in Settings > Reading help. fixes #21507.
|
| [21652]
|
nacin
|
Stabilize how WordPress hooks into SimplePie to implement transient caching.
Since a plugin can load a previous (< 1.3) version of SimplePie before we do,
we need to be compatible with our old method of overriding SimplePie_Cache::create().
SimplePie_Cache::create() was converted to static in 1.3 (as it was called),
requiring that we create two different definitions of WP_Feed_Cache (extends
SimplePie_Cache). Instead, we can use 1.3's new object registry, and leave
the old WP_Feed_Cache to SimplePie 1.2 versions.
see #21183.
|
| [21651]
|
ryan
|
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
|
| [21650]
|
nacin
|
Remove paths to where theme files are located from theme details on themes.php. props lessbloat, see #17944.
|
| [21649]
|
potbot
|
POT, generated from r21648
|
| [21648]
|
nacin
|
Remove Jcrop non-minified files. see #20728.
|
| [21647]
|
ryan
|
Initialize to avoid 'Creating default object from empty value' warning in PHP 5.4.4.
|
| [21646]
|
nacin
|
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.
|
| [21645]
|
nacin
|
Use ABSPATH . WPINC rather than dynamically building the include path. see #21183.
|
| [21644]
|
nacin
|
Update to SimplePie 1.3. props rmccue.
Uses individual files for each class. We now conditionally load only the pieces
we need, resulting in less memory usage. Also easier to maintain now that it is
not a single 387KB file.
fixes #21183.
|
| [21643]
|
lancewillett
|
Twenty Twelve: use sidebar ID string value for sidebar checks instead of hard-coded integer, props nacin. See #21685.
|
| [21642]
|
lancewillett
|
Twenty Twelve: rename custom page templates and place in sub-directory. Closes #21715.
|
| [21641]
|
azaozz
|
More visible :focus style for form elements, props lessbloat, see #21324
|
| [21640]
|
potbot
|
POT, generated from r21639
|
| [21639]
|
lancewillett
|
Twenty Twelve: simplify custom font loading behavior, see #21694.
* Remove theme options code and support from theme.
* Keep Open Sans font first in the stack and make it always loaded.
* Move Customizer pieces from Theme Options out of class structure and into functions.php.
|
| [21638]
|
potbot
|
POT, generated from r21637
|
| [21637]
|
lancewillett
|
Twenty Twelve: add rule to force override the fixed width for Twitter embeds. Props kovshenin, see #21680.
|
| [21636]
|
lancewillett
|
Twenty Twelve: improve line-height and font-size for text widget output without added paragraph wrappers. Props leogermani, fixes #21693.
|