| [20052]
|
nacin
|
Remove extra $. see #20103.
|
| [20051]
|
koopersmith
|
Theme Customizer: Load the preview iframe with the same scheme as the admin to prevent security warnings. props ocean90. fixes #20137, see #19910.
|
| [20050]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-20050.
|
| [20049]
|
koopersmith
|
Theme Customizer: Bind the preview iframe load event when triggering refresh instead of when creating the iframe. see #19910.
The loaded event should only fire when we've actually triggered a refresh. If loaded is bound when the iframe is created, sometimes the blank iframe will fire a 'load' event before a refresh is triggered (this occurred with relative frequency in firefox). By binding the loaded event in the refresh function, we prevent this from occurring.
|
| [20048]
|
nacin
|
In WP_Themes_List_Table, don't perform unnecessary sanitization on search terms or filter features. We only use these for case-insensitive comparison. see #19815.
|
| [20047]
|
nacin
|
Add widget_comments_args and widget_post_args filters. props ramiy, fixes #16159.
|
| [20046]
|
nacin
|
'Network Activate' should be the bulk action on network/plugins.php, to match the action link. props ampt, fixes #19946.
|
| [20045]
|
nacin
|
Use correct variable; return correct value for get_screenshot() when value is uncached. see #20103.
|
| [20044]
|
nacin
|
Remove debug cruft. see #20103.
|
| [20043]
|
nacin
|
Have WP_Theme::get_screenshot() default to an absolute URI. Allow 'relative' to be requested. see #20103, see #19816.
|
| [20042]
|
nacin
|
Can haz recursion? get_current_theme() is deprecated in favor of wp_get_theme(), not itself. props duck_. see #20138.
|
| [20041]
|
nacin
|
Translate page template names! Have WP_Theme::get_page_templates() return templates keyed by filename, not by template name, as it makes more sense. Flip this in get_page_templates() to be compatible. fixes #6007.
|
| [20040]
|
nacin
|
Deprecate get_current_theme(). Use (string) wp_get_theme() to get the translated name of the theme. Keep the current_theme option for now. see #20103, see #20138.
|
| [20039]
|
nacin
|
(string) WP_Theme is now the theme name, translated. Good replacement for get_current_theme(); better than wp_get_theme()->display('Name'). see #20103, see #20138.
|
| [20038]
|
nacin
|
Use proper object. see #20103.
|
| [20037]
|
nacin
|
Use wp_get_theme() rather than get_theme_data() in the verify theme deletion (multisite network) screen. see #20103.
|
| [20036]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-20036.
|
| [20035]
|
koopersmith
|
Theme Customizer: Don't switch themes and update settings when the enter key is pressed. see #19910.
|
| [20034]
|
koopersmith
|
Theme Customizer: Trigger UI updates only when necessary.
|
| [20033]
|
nacin
|
Update switch_theme() to use wp_get_theme(). see #20103, #20138.
|
| [20032]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-20032.
|
| [20031]
|
koopersmith
|
Improve page loads in the theme customizer by layering loading iframes. Automate refreshing, but debounce multiple refresh events to prevent hammering the server with requests. see #19910.
|
| [20030]
|
koopersmith
|
Update customize-controls.php to use new WP_Theme API. see #19910, [20029].
|
| [20029]
|
nacin
|
Introduce WP_Theme, wp_get_themes(), and wp_get_theme() to replace get_themes(), get_theme(), get_theme_data(), current_theme_info(), and others.
* Getters and Helpers: Introduces a series of methods to allow for easy generation of headers for display, and other theme metadata, including page templates.
* Screenshots: Handles support for multiple screenshots. (see # Additional screenshots must be PNG and start with screenshot-2.png, and be sequential to be counted. see #19816.
* Error Handling: Broken themes have a WP_Error object attached to them.
* Caching: Introduces a wp_cache_themes_persistently filter (also in [20020]) to enable persistent caching of all filesystem and sanitization operations normally handled by WP_Theme (and formerly get_file_data() and get_themes()). Themes are cached individually and across five different cache keys for different data pieces.
* Compatibility: A WP_Theme object is backwards compatible with a theme's array formerly returned by get_themes() and get_theme(), and an stdClass object formerly returned by current_theme_info().
* i18n/L10n: Theme headers are now localizable with proper Text Domain and Domain Path headers, like plugins. (Language packs may remove the requirement for headers.) For page templates, see #6007 (not fixed yet, but will be easy now). For headers, fixes #15858.
* PHP and CSS files: New methods that fetch a list of theme files (for the theme editor) only on demand, rather than only loading them into memory. fixes #11214.
Functions deprecated:
* get_themes(), get_allowed_themes() and get_broken_themes() -- use wp_get_themes()
* get_theme() and current_theme_info() -- use wp_get_theme()
* get_site_allowed_themes() -- use WP_Theme::get_allowed_on_network()
* wpmu_get_blog_allowedthemes() -- use WP_theme::get_allowed_on_site()
see also [20016], [20018], [20019], [20020], [20021], [20022], [20025], [20026], [20027]. also fixes #19244.
see #20103.
|
| [20028]
|
koopersmith
|
Theme Customizer: Strip slashes when sanitizing previewed values. see #19910.
|
| [20027]
|
nacin
|
Faster theme searching. Only calculate what is necessary -- if the theme doesn't have all of the features, bail. If a word matches a tag or header, jump to the next word, we don't care how many times it matches. see #20103.
|
| [20026]
|
nacin
|
Don't sanitize theme tags while trying to search through them, as it is unnecessary. It is also very expensive -- 50% of the pageload for a search was spent sanitizing tags. see #20103.
|
| [20025]
|
nacin
|
Add argument to get_theme_feature_list() to allow the tags to be returned without hitting the WP.org API. We'll be using this to translate tags. Remove trailing space in the 'Light' string. see #20103.
|
| [20024]
|
ryan
|
Return to apply_filters_ref_array() for back compat with callbacks that specify a ref for the args. Props scribu. see #18536
|
| [20023]
|
duck_
|
Reduce references to the $wp_rewrite global because it's no longer used or a wrapper function can be used instead. Fixes #14546.#14546.
|
| [20022]
|
nacin
|
Do not save the last visited tab on the multisite Network Themes page and Site Themes tab. These are poor UX, see #18810 for plugins. Entering these screens will always default to 'all' themes view. see #20103.
|
| [20021]
|
nacin
|
Theme root transient caching is now in search_theme_directories(), not get_themes(). see #20103.
|
| [20020]
|
nacin
|
Rewrite search_theme_directories() -- better performance and allow for caching.
* Update it to use PHP5 scandir().
* Don't scan individual theme dirs -- we only need to check for style.css. (Solid performance gains.)
* Improve and simplify branching.
* Introduce wp_cache_themes_persistently filter to enable persistent caching of the return value, based on the theme_roots transient.
see #20103.
|
| [20019]
|
duck_
|
Drop image resizing code from wp_handle_upload(). Fixes #19800.
This code stops wp_handle_upload() from reporting errors when the upload couldn't be moved to its final local and it was a non-JS fallback that is unused.
|
| [20018]
|
nacin
|
Clarify second argument for get_raw_theme_root() as the multiple negatives can get confusing. see #20103.
|
| [20017]
|
lancewillett
|
Twenty Twelve: make proper use of the cached jQuery collection in navigation.js, props mattwiebe. Fixes #20131.
|
| [20016]
|
nacin
|
Fix the return value of get_theme_root() when the theme root is outside of WP_CONTENT_DIR, thus making it absolute rather than the typical relative theme root.
Make get_theme_root_uri() tolerate an absolute path for a theme root. It will now make an attempt to find a corresponding URL for absolute paths as well.
see #17597.
|
| [20015]
|
nacin
|
Revert [20001]. Theme roots that are passed around, stored, and cached can be valid as absolute paths or paths relative to wp-content. We'll have to patch this elsewhere. see #17597.
|
| [20014]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-20014.
|
| [20013]
|
azaozz
|
HTML in image captions: improve converting the caption html elements to a shortcode, catch some rare cases where image with a caption is pasted in the visual editor, see #18311
|
| [20012]
|
potbot
|
POT, generated from r20011
|
| [20011]
|
lancewillett
|
Twenty Twelve: remove an unneeded, presentational class value, see #19978.
|
| [20010]
|
lancewillett
|
Twenty Twelve: better comment markup and styles, props drewstrojny. See #19978.
|
| [20009]
|
lancewillett
|
Twenty Twelve: correctly enqueue the fonts CSS file, see #19978.
|
| [20008]
|
potbot
|
POT, generated from r20007
|
| [20007]
|
lancewillett
|
Twenty Twelve: add support for toggling the navigation menu in small screens. See #19978.
Triggered when a viewport is under 600 pixels wide. This functionality depends on JS being enabled, and will naturally fall back to a normal, expanded menu for a client without JS.
Props iandstewart for the original JS file and concept.
|
| [20006]
|
lancewillett
|
Twenty Twelve: better "no posts found" message and action for index view. If a logged-in user can edit posts, show an appropriate message. Otherwise, show the normal "no posts found" message. See #19978.
|
| [20005]
|
potbot
|
POT, generated from r20003
|
| [20004]
|
lancewillett
|
Twenty Twelve: remove test lines from r20003
|
| [20003]
|
lancewillett
|
Twenty Twelve: use the time element for image attachment views, and `esc_html()` for `get_the_date()` in the element's output. Props iandstewart, see #19978.
|
| [20002]
|
nacin
|
Move the template loading functions from wp-includes/theme.php to wp-includes/template.php. This includes get_query_template(), locate_template(), and friends. see #20103.
|
| [20001]
|
nacin
|
Always return an absolute path in get_raw_theme_root() and get_theme_roots().
These functions were changed in [15641] to avoid any calculations when only one theme directory is registered. However, the short-circuit ended up being relative to WP_CONTENT_DIR, rather than absolute. This broke situations where theme roots are outside the content directory (technically allowed), and made return values inconsistent, as when multiple roots were registered, absolute paths were always returned.
fixes #17597. see #20103. see #14911.
|
| [20000]
|
ryan
|
Pinking shears 6-20000
|
| [19999]
|
ryan
|
Pass post id to get_upload_iframe_src() instead of relying on a global. Props tott. fixes #20003
|
| [19998]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19998.
|
| [19997]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19996.
|
| [19996]
|
nacin
|
Correct [19952]. see #19592.
|
| [19995]
|
koopersmith
|
Introduce new theme customizer to replace theme preview. Rough first pass. props koopersmith, ocean90. see #19910.
Merges in http://plugins.svn.wordpress.org/gandalf/branches/dev/ rev 510148.
|
| [19994]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19994.
|
| [19993]
|
azaozz
|
Use json_encode when outputting translated strings for use in TinyMCE, fixes #20119
|
| [19992]
|
nacin
|
Add jQuery postMessage v 0.2. Dual licensed MIT/GPL. see #19910.
|
| [19991]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19991.
|
| [19990]
|
azaozz
|
TinyMCE: move the WordPress plugins styles to the theme's stylesheet, fixes #20118
|
| [19989]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19989.
|
| [19988]
|
azaozz
|
Close TinyMCE popups/dialogs when clicking on the background, fixes #20117
|
| [19987]
|
nacin
|
Remove out-of-place double quote. props niallkennedy. fixes #20113.
|
| [19986]
|
azaozz
|
Add new string to the proper i18n object, see #18311
|
| [19985]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19985.
|
| [19984]
|
azaozz
|
Don't show edit/remove image buttons in the visual editor when an image is floated, doesn't have a caption and there is text in the same paragraph, props solarissmoke, fixes #19611
|
| [19983]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19983.
|
| [19982]
|
azaozz
|
HTML in image captions, first run, see #18311
|
| [19981]
|
westi
|
Make sure to echo out the comment_post_ID when building the edit comment form otherwise the post comment counts will get out of sync. Fixes #20108 props dllh.
|
| [19980]
|
nacin
|
Preserve keys when splitting themes up for pagination. props Utkarsh. fixes #15306.
|
| [19979]
|
nacin
|
Use version_compare() when checking installed themes in the theme installer. fixes #20097.
|
| [19978]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19978.
|
| [19977]
|
azaozz
|
Use native TinyMCE popup for the image properties dialog, fixes #20096, see #20094
|
| [19976]
|
duck_
|
Reduce memory usage in wp-includes/kses.php by switching unnecessary empty arrays to boolean. Fixes #20017.
safecss_filter_attr() block for style tags must be moved out of the is_array() only branch of wp_kses_attr() to accommodate for this.
|
| [19975]
|
duck_
|
Stop invalid SQL syntax by bailing from wp_get_object_terms() if $object_ids or $taxonomies is empty. Props batmoo. Fixes #19952.
|
| [19974]
|
duck_
|
Overhaul mysql2date() documentation and parameter names. See #20056.
|
| [19973]
|
duck_
|
Remove obsolete mysql2date documentation. Props Viper007Bond. Fixes #20056.
|
| [19972]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19972.
|
| [19971]
|
koopersmith
|
Second pass at infinite scroll for themes, including polling, fixed paging, and fewer ajax calls. props DH-Shredder, helenyhou, garyc40. see #19815.
|
| [19970]
|
duck_
|
Ensure that a category is part of the query before redirecting permalink structures containing %category%. Fixes #19241.
This fixes incorrect canonical redirects for singular queries using custom rewrite rules.
|
| [19969]
|
nacin
|
Twenty Twelve always trumps its pretenders. see #19978.
|
| [19968]
|
nacin
|
Add template names to theme pots. see #6007.
|
| [19967]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19967.
|
| [19966]
|
nacin
|
Allow counting by characters in lieu of a word count, for East Asian languages. First pass. see #8759.
|
| [19965]
|
nacin
|
Allow bundled plugin headers to be translated. see #19597.
|
| [19964]
|
potbot
|
POT, generated from r19963
|
| [19963]
|
nacin
|
Revert [19959]. The footer generator URL should be translated (think pt.wordpress.org). see #19978.
|
| [19962]
|
potbot
|
POT, generated from r19961
|
| [19961]
|
lancewillett
|
Twenty Twelve: no need for threaded comment reply JS to load if comments are closed. Props iandstewart, see #19978.
|
| [19960]
|
lancewillett
|
Twenty Twelve: add ARIA role of "navigation" to the all nav elements. Props iandstewart, see #19978.
|
| [19959]
|
lancewillett
|
Twenty Twelve: no need to translate the footer generator URL. See #19978.
|
| [19958]
|
lancewillett
|
Twenty Twelve style updates, props drewstrojny. See #19978.
And, use a simpler and more consistent `site-header` class value. Props iandstewart.
|
| [19957]
|
lancewillett
|
Twenty Eleven and Twenty Twelve: fix incorrect end HTML comment left over from Twenty Ten.
See #19978.
|
| [19956]
|
nacin
|
Align the spacing of the multisite constants with what has been long-established in wp-config and wp-config-sample. props ryanduff, fixes #19869.
|
| [19955]
|
bumpbot
|
Compress scripts/styles: 3.4-alpha-19955.
|
| [19954]
|
azaozz
|
Refresh wpCookie, fixes #20078
|
| [19953]
|
nacin
|
Update wp-tinymce.js.gz.
* Plugins are now sorted alphabetically during concatenation, to ensure consistent generation.
* Key tinymce/wp-tinymce.js.gz off the revision number, rather than the date.
see #19592.
|