Peter Westwood
|
e7d1e80302
|
Introduce new get_generic_template() function for themes to use to bring in pieces of template.
Use in twentyten for loop.php including. See #9015.
git-svn-id: https://develop.svn.wordpress.org/trunk@13146 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 09:32:23 +00:00 |
|
Mark Jaquith
|
af0d39b38b
|
Skip intermediate sizes of a different aspect ratio than the original image when considering which image to use in image_get_intermediate_size(). fixes #12218
git-svn-id: https://develop.svn.wordpress.org/trunk@13145 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 08:21:07 +00:00 |
|
Andrew Nacin
|
76091e3e9d
|
Use automatic_feed_links() in twentyten, see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13144 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 08:07:55 +00:00 |
|
Dion Hulse
|
f33e66e512
|
Optimize single_post_title(), single_tag_title() & single_cat_title() to use WP_Query globals if available. Removes an extra DB Query in single_post_title() in most cases.
git-svn-id: https://develop.svn.wordpress.org/trunk@13143 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 07:38:00 +00:00 |
|
Andrew Nacin
|
396f458c51
|
More cleanups of the options/transients APIs. More inline documentation, better return values (always true on success, false on failure). Only call actions that are after wpdb delete/update operations if the operation was successful. See #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13142 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 07:21:15 +00:00 |
|
Dion Hulse
|
68d7f0d172
|
Move the Loop into a separate file. Reduces code duplication and adds Gallery/Aside styling to all archive views. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13141 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 07:13:34 +00:00 |
|
Mark Jaquith
|
daea21aade
|
Revert r13103 and merely restrict \$content_width obeying to is_admin(). fixes #12146
git-svn-id: https://develop.svn.wordpress.org/trunk@13140 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 06:34:47 +00:00 |
|
Andrew Nacin
|
79715e7a4c
|
Whitespace, phpdoc, standard variable names, better return values for options and transients APIs. See #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13139 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 06:17:42 +00:00 |
|
Andrew Nacin
|
4acf280647
|
home_url() returns a value, needs to be echoed in twentyten header and footer. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13138 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 06:12:12 +00:00 |
|
Andrew Nacin
|
d1e195db99
|
Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13137 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 04:06:30 +00:00 |
|
Andrew Nacin
|
fb08796f48
|
Actually remove stray line ref. [13135]. see #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13136 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 03:28:34 +00:00 |
|
Andrew Nacin
|
db5b2edbf6
|
Manual L10n JS strings in install.php. Remove stray line, see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@13135 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 03:24:25 +00:00 |
|
Dion Hulse
|
ae5ba76658
|
First pass at allowing username/password selection upon install. Includes some extra cleanup of the patch. Props dancole. See #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13134 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 03:07:47 +00:00 |
|
Andrew Nacin
|
43d5926b6b
|
Fall back to wp_generate_password() in setup-config.php if HTTPS request for secret keys fails. Also use pretty link to secret-key API, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13133 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 02:47:45 +00:00 |
|
Andrew Nacin
|
0fc1312800
|
Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 02:27:19 +00:00 |
|
Andrew Nacin
|
b38b545ed4
|
Allow tab intents in plugin/theme editors. Utilizes the Tabby jQuery plugin, see #12204
git-svn-id: https://develop.svn.wordpress.org/trunk@13131 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 02:14:59 +00:00 |
|
Dion Hulse
|
fa61e1409d
|
Comments.php PHP cleanup. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13130 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 01:16:58 +00:00 |
|
Dion Hulse
|
c095bc880d
|
Fix comment listing, Correct Indentations. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13129 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 01:12:51 +00:00 |
|
Dion Hulse
|
ba7701007b
|
Formatting, Translations & Whitespace. Props ptahdunbar. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13128 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 01:00:22 +00:00 |
|
Ron Rennick
|
0a4e820ba1
|
use current site domain for cookie domain when cookie domain not set, See #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@13127 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 00:12:08 +00:00 |
|
Ryan Boren
|
3da1c8bb17
|
Add ability to query by domain and/or path to get_blog_details(). Improve blog details caching. Use get_blog_details() in ms-settings.php so queries are cached. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13126 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 23:09:54 +00:00 |
|
Ryan Boren
|
67bb939654
|
Move blogs table related functions to blogs.php. Include it before ms-settings.php so that caching API can be used instead of direct queries. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13125 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 22:35:11 +00:00 |
|
Andrew Nacin
|
4ce1c841cb
|
install.php whitespace cleanup, inline docs, function @sinces, fixes #11491
git-svn-id: https://develop.svn.wordpress.org/trunk@13124 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 20:40:42 +00:00 |
|
Andrew Nacin
|
9682c32c7b
|
s/$blog/$blog_id/ as an argument in wp_dropdown_users(), for consistency, see #11086
git-svn-id: https://develop.svn.wordpress.org/trunk@13123 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 20:17:15 +00:00 |
|
Andrew Nacin
|
e2e67c91cb
|
Don't query against entire users table in wp_dropdown_users() to be multisite friendly. Fixes #11086
git-svn-id: https://develop.svn.wordpress.org/trunk@13122 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 20:12:08 +00:00 |
|
Andrew Nacin
|
0210cf3c6e
|
Add is_multisite() check to wpdb::get_blog_prefix() to fix get_blog_prefix($blog_id) call on a non-MS install. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13121 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 19:57:43 +00:00 |
|
Ryan Boren
|
a7c3d02452
|
Add trash to edit cap check.
git-svn-id: https://develop.svn.wordpress.org/trunk@13118 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 19:05:10 +00:00 |
|
Ron Rennick
|
b39f3fd7f5
|
use object cache on get_blog_option on current blog, props sivel, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13116 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 18:56:50 +00:00 |
|
Ron Rennick
|
a2e14c070b
|
strip slashes, block arrays in ms-edit.php, fixes #11778
git-svn-id: https://develop.svn.wordpress.org/trunk@13115 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 17:49:38 +00:00 |
|
Ron Rennick
|
ad16d49cbb
|
use cached data in ms-admin.php stats, props ddebernardy, fixes #11772
git-svn-id: https://develop.svn.wordpress.org/trunk@13114 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 17:10:50 +00:00 |
|
Peter Westwood
|
1600c4610f
|
Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13113 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 16:45:16 +00:00 |
|
Dion Hulse
|
c43fd055e8
|
Whitespace cleanup, TwentyTen <title> standardisation & gettext. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13112 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 13:35:03 +00:00 |
|
Dion Hulse
|
093ef40c06
|
s/the_time()/get_the_date/ for dates. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13111 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 11:20:56 +00:00 |
|
Dion Hulse
|
f5c9054956
|
Always set $link_text.
git-svn-id: https://develop.svn.wordpress.org/trunk@13110 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 11:12:47 +00:00 |
|
Dion Hulse
|
04a1493757
|
Remove extra get_option() calls (the functions default to that), Use the Media API for attachment image HTML, Replace deprecated function use(1.2~2.9 deprecated). See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13109 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 11:09:51 +00:00 |
|
Andrew Nacin
|
91bfbda120
|
Fix typos in inline docs for clean_url() and esc_url().
git-svn-id: https://develop.svn.wordpress.org/trunk@13108 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 10:58:01 +00:00 |
|
Andrew Nacin
|
a93c96ef98
|
Fix arg order in [13104]
git-svn-id: https://develop.svn.wordpress.org/trunk@13107 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 10:46:38 +00:00 |
|
Andrew Nacin
|
d43ba9114b
|
Don't use deprecated functions. see #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13106 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 10:35:10 +00:00 |
|
Dion Hulse
|
013ab6d764
|
Remove Direct SQL, Use new esc_html() function, Correct the case of the ID keys. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13105 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 09:59:16 +00:00 |
|
Andrew Nacin
|
cedafb8a9b
|
Add ?preview=true to edit post rows when draft|pending. Props MMN-o, fixes #11688
git-svn-id: https://develop.svn.wordpress.org/trunk@13104 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 09:49:44 +00:00 |
|
Mark Jaquith
|
561cca07d5
|
Do not limit thumbnails by the content_width. props Viper007Bond. fixes #12146
git-svn-id: https://develop.svn.wordpress.org/trunk@13103 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 09:40:04 +00:00 |
|
Andrew Nacin
|
9e25bff4a0
|
Some phpdoc for functions.php. Props miqrogroove, see #12215
git-svn-id: https://develop.svn.wordpress.org/trunk@13102 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 08:59:04 +00:00 |
|
Dion Hulse
|
4b66bf7c74
|
Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: https://develop.svn.wordpress.org/trunk@13101 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 08:56:38 +00:00 |
|
Andrew Nacin
|
8be6c296b1
|
Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086
git-svn-id: https://develop.svn.wordpress.org/trunk@13100 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 08:49:27 +00:00 |
|
Dion Hulse
|
a5ad001b73
|
s/$original/$redirect/ in [13091]. Props miqrogroove. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13099 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 08:29:55 +00:00 |
|
Andrew Nacin
|
03695fa9ae
|
Move deprecated pre-2.8 widget API to deprecated.php. Deprecate register_sidebar_widget, unregister_sidebar_widget, register_widget_control, unregister_widget_control, in favor of their wp_* counterparts. See #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13098 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 07:55:28 +00:00 |
|
Andrew Nacin
|
e139dea4d1
|
Deprecate old category admin template functions. Deprecate dropdown_categories(), dropdown_link_categories(), wp_dropdown_cats() in favor of wp_category_checklist, wp_link_category_checklist, wp_dropdown_categories. See #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13097 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 07:42:02 +00:00 |
|
Andrew Nacin
|
0470fb90ea
|
Deprecate old l10n and sanitization APIs. Deprecate __ngettext() for _n(), __ngettext_noop() for _n_noop(), translate_with_context() for _x(). Deprecate sanitize_url for esc_url_raw, js_escape for esc_js, wp_specialchars for esc_html, attribute_escape for esc_attr. See #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13096 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 07:28:19 +00:00 |
|
Dion Hulse
|
75705ed4c3
|
Correctly save checkbox-style MS options and display "No" checked value correctly. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13095 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 07:09:04 +00:00 |
|
Dion Hulse
|
68039969c1
|
Banish User_level 10 use from Network Menu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13094 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 07:00:09 +00:00 |
|