Commit Graph

378 Commits

Author SHA1 Message Date
Mark Jaquith ad682bb2dd More efficient calendar queries. fixes #8351. props vladimir_kolesnikov
git-svn-id: https://develop.svn.wordpress.org/trunk@15585 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:22:56 +00:00
Andrew Nacin af29b5d5cf phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15564 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 02:45:39 +00:00
Andrew Nacin 77d5cf7160 Disable the visual editor in iOS. props azaozz, simonwheatley. fixes #13326 for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@15460 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 17:23:44 +00:00
Peter Westwood 8d72c5172c Fix the theme compat file require paths to be fully absolute so they don't rely on a particular php path to work. Fixes #14315 for trunk props dougal.
git-svn-id: https://develop.svn.wordpress.org/trunk@15433 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-16 09:40:09 +00:00
Dion Hulse 7efc4efdaa Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 00:05:18 +00:00
Andrew Nacin e45ec0a52c Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: https://develop.svn.wordpress.org/trunk@15227 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:04:06 +00:00
Ron Rennick f08169848f fix warning when page on front missing, see #13830
git-svn-id: https://develop.svn.wordpress.org/trunk@15224 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:30:59 +00:00
Andrew Nacin 6f57a1a3ec s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: https://develop.svn.wordpress.org/trunk@15148 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 05:16:32 +00:00
Andrew Nacin f5f97a46d3 Always pass post ID to the_title filter. props dndrnkrd, fixes #13558
git-svn-id: https://develop.svn.wordpress.org/trunk@14964 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:30:00 +00:00
Ryan Boren c219c46cbb Use filters instead of action in wp_login_form(). see #11172
git-svn-id: https://develop.svn.wordpress.org/trunk@14804 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 13:52:25 +00:00
Peter Westwood 7d675404ca Restore the correct behaviour of bloginfo('text_direction'). Fixes #13360. See #13206.
git-svn-id: https://develop.svn.wordpress.org/trunk@14646 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:22:14 +00:00
Nikolay Bachiyski 599c19481e I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:34:04 +00:00
Ryan Boren dd9c60ef64 Force reauth when auth_redirect() redirects to login. see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14556 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 13:44:40 +00:00
Andrew Nacin c100b80c20 Fix start of week and SQL WEEK handling. props mdawaffe, fixes #10397.
git-svn-id: https://develop.svn.wordpress.org/trunk@14499 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 05:01:29 +00:00
Andrew Nacin 7fcb6fef4b Use wp_cache_set instead of wp_cache_add in recent posts and archives widgets. props Denis-de-Bernardy, fixes #11580.
git-svn-id: https://develop.svn.wordpress.org/trunk@14486 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 20:40:10 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Peter Westwood 473772f395 First pass of compatibility code for old themes which relied on using templates from the default theme without expressly identifying it as the parent theme.
Fixes #12425 and #13009.
The fallback to these template files is now depreceated and will be removed in a future version.


git-svn-id: https://develop.svn.wordpress.org/trunk@14365 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 09:57:24 +00:00
Andrew Nacin d5e5ccdd72 Introduce is_rtl(). Use it in core. It only becomes defined when locale is loaded, so it's impossible to use it too early. Deprecate the get_bloginfo('text_direction') call. fixes #13206.
git-svn-id: https://develop.svn.wordpress.org/trunk@14360 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 05:49:19 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin 881e9cc8a4 Remove Twenty Ten's searchform.php and use the core get_search_form() markup. fixes #13053
git-svn-id: https://develop.svn.wordpress.org/trunk@14331 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 18:10:42 +00:00
Ryan Boren 3479e68ff8 Return after echoing cached calendar. Fixes double output. Props mtdewvirus. fixes #13077
git-svn-id: https://develop.svn.wordpress.org/trunk@14183 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 21:35:39 +00:00
Andrew Nacin 7d823cbc23 Don't use require_once for get_template_part(). fixes #12958.
git-svn-id: https://develop.svn.wordpress.org/trunk@14075 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 17:26:03 +00:00
Dion Hulse 491063c698 Tweak new strings for better typography. Props demetris. Fixes #12962
git-svn-id: https://develop.svn.wordpress.org/trunk@14070 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 10:41:54 +00:00
Andrew Nacin 2254f7d6e9 Tweaks to the action in get_template_part(). fixes #12248, fixes #12941.
git-svn-id: https://develop.svn.wordpress.org/trunk@14047 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 10:40:47 +00:00
Andrew Nacin ebd39b1233 Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: https://develop.svn.wordpress.org/trunk@13978 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 23:38:38 +00:00
Andrew Nacin 0459129e69 Remove references to wp-ajax.php. props TobiasBg, fixes #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13831 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:44:43 +00:00
Peter Westwood 8003673862 Rename get_specific_template as get_template_part so as to make it clearer as to the point of the function. See #12371
git-svn-id: https://develop.svn.wordpress.org/trunk@13815 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 22:02:45 +00:00
Andrew Nacin 90182075c0 Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13658 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:34:27 +00:00
Dion Hulse 81b675575d Use $wp_query->get_queried_object() in single_post_title(). Fixes #11731
git-svn-id: https://develop.svn.wordpress.org/trunk@13502 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 13:00:27 +00:00
Dion Hulse f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Andrew Nacin 98a2f10711 Add filter to the links in paginate_links(). fixes #10826, props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@13478 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:42:25 +00:00
Andrew Nacin da5a212bff get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@13474 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:22:56 +00:00
Andrew Nacin d448472adf Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13467 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:57:04 +00:00
Ron Rennick 97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Andrew Nacin 9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Dion Hulse 49dce31f70 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:56:19 +00:00
Andrew Nacin c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Ryan Boren d357c80caf Reorg nav menu files. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00
Ryan Boren f6e79cc66c s/custom_nav()/wp_nav_menu()/. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13361 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:18:13 +00:00
Ryan Boren f24e88359e Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Ryan Boren 12b118e514 Rename file. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13262 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:18:57 +00:00
Ron Rennick f97af13505 introduce custom menus, props jeffikus, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13257 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:57:43 +00:00
Dion Hulse 468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse 5c9b1907a7 Make better use of $wp_query->get_queried_object() instead of duplicating its functionality. See [13143]
git-svn-id: https://develop.svn.wordpress.org/trunk@13219 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:45:29 +00:00
Peter Westwood 6c53a37d5b Move more references from default to WP_FALLBACK_THEME. To make 'default' theme transition smoother in the future.
git-svn-id: https://develop.svn.wordpress.org/trunk@13202 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 22:09:06 +00:00
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
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 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
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
Ryan Boren 48d12af9f6 Fix notices
git-svn-id: https://develop.svn.wordpress.org/trunk@13068 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 20:14:17 +00:00
Ryan Boren 5c5ceba9bf Add an echo arg to some general template functions. Props ShaneF. fixes #11842
git-svn-id: https://develop.svn.wordpress.org/trunk@13048 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 18:37:14 +00:00
Dion Hulse 8b38dceeca Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: https://develop.svn.wordpress.org/trunk@12982 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 05:15:26 +00:00
Ryan Boren 0d85cbf999 Make calendar valid HTML 5. Props iammattthomas. fixes #11554
git-svn-id: https://develop.svn.wordpress.org/trunk@12943 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 16:06:58 +00:00
Ryan Boren edd0157375 Introduce get_the_date(). Props jeremyclarke. fixes #11264
git-svn-id: https://develop.svn.wordpress.org/trunk@12917 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 16:28:54 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Peter Westwood 72bc28a2ad @since version for wp_login_form. See #11172 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@12701 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:33:28 +00:00
Ryan Boren 234f4f0025 wp_login_form(). Props beaulebens. see #11172
git-svn-id: https://develop.svn.wordpress.org/trunk@12696 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:48:43 +00:00
Ryan Boren 45b15868ca phpdoc updates. Props sirzooro. fixes #11853
git-svn-id: https://develop.svn.wordpress.org/trunk@12687 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 15:50:17 +00:00
Ryan Boren 974b6c1ce4 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +00:00
Ryan Boren 3d8c08b96a Use current_time() to calculate current time. Props filosofo. fixes #10915
git-svn-id: https://develop.svn.wordpress.org/trunk@12590 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:56:09 +00:00
Peter Westwood c38846defd Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12587 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:05:02 +00:00
Peter Westwood 30e399b3e7 Extend the_modified_date() to support before/after/echo. Fixes #11255 props ShaneF.
git-svn-id: https://develop.svn.wordpress.org/trunk@12514 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:22:08 +00:00
Ryan Boren 6de4fcc190 Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Mark Jaquith 7caab9d8e3 Do not double-stripslashes() on get_search_query(). fixes #11374
git-svn-id: https://develop.svn.wordpress.org/trunk@12356 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:07:19 +00:00
Peter Westwood 073884cb99 Urlencode the redirect url for the logout links as well as login in links. Fixes #10991 props Utkarsh.
git-svn-id: https://develop.svn.wordpress.org/trunk@12340 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:38:59 +00:00
Ryan Boren 76fdc4d91e Add translator comment. Props nbachiyski. fixes #10737
git-svn-id: https://develop.svn.wordpress.org/trunk@12201 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 20:54:38 +00:00
Peter Westwood df78ed2118 Remove duplicate action addition of delete_get_calendar_cache() on update_option_start_of_week. Fixes #10718 props johnjosephbachir.
git-svn-id: https://develop.svn.wordpress.org/trunk@11898 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-02 07:11:07 +00:00
Ryan Boren f4f70a6479 Prophylactic escapes
git-svn-id: https://develop.svn.wordpress.org/trunk@11838 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 16:05:07 +00:00
Andrew Ozz ad0b56690a Fix check for a published post in calendar widget, props Denis-de-Bernardy, fixes #10091
git-svn-id: https://develop.svn.wordpress.org/trunk@11548 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-11 00:04:20 +00:00
Ryan Boren 5ef10c1dba Pass name to sidebar, footer, and header get actions. Props scribu. fixes #10022
git-svn-id: https://develop.svn.wordpress.org/trunk@11521 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-04 17:59:14 +00:00
Andrew Ozz e6d33b952a Add more translator comments for placeholders, props nbachiyski, fixes #10002
git-svn-id: https://develop.svn.wordpress.org/trunk@11506 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-02 07:21:42 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Peter Westwood 76eabb6d25 Add a wp_lostpassword_url() function to complete the set. Based on patch from ramiy fixes #9932.
git-svn-id: https://develop.svn.wordpress.org/trunk@11448 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 20:58:22 +00:00
Ryan Boren 783f4ea189 Allow multiple search form templates. Props mtdewvirus. fixes #9908
git-svn-id: https://develop.svn.wordpress.org/trunk@11430 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 16:04:49 +00:00
Ryan Boren 1ce4fb03fd Fix display of titles for front pages. Props sivel. fixes #9288
git-svn-id: https://develop.svn.wordpress.org/trunk@11395 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 15:48:47 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Peter Westwood c98f9104b6 Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@11370 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 22:32:48 +00:00
Ryan Boren 4fefdf5498 Use get_post_modified_time filter in get_post_modified_time(). Props Denis-de-Bernardy. fixes #9734
git-svn-id: https://develop.svn.wordpress.org/trunk@11347 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 22:33:33 +00:00
Ryan Boren fe335afb5f urlencode login redirect. Props Viper007Bond. fixes #9817
git-svn-id: https://develop.svn.wordpress.org/trunk@11328 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 16:11:01 +00:00
Ryan Boren c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Mark Jaquith a2bf4db52b Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 22:40:56 +00:00
Ryan Boren 9d41d07f40 Escape title attributes in calendar links. fixes #8967
git-svn-id: https://develop.svn.wordpress.org/trunk@11215 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 04:56:32 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz 3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren 4a047f4240 Use invisible class for hiding labels and legends.
git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 21:28:58 +00:00
Ryan Boren cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Andrew Ozz 687a400776 Hide text while editor is loading, show html editor on error
git-svn-id: https://develop.svn.wordpress.org/trunk@11171 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 10:34:50 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren 8f15c79dda Add redirect param to wp_loginout(). Props Denis-de-Bernardy. fixes #9241
git-svn-id: https://develop.svn.wordpress.org/trunk@11101 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 20:00:59 +00:00
Ryan Boren eef293ff04 Add WAI-ARIA landmark roles to default theme. Props peterkz. fixes #9408
git-svn-id: https://develop.svn.wordpress.org/trunk@10945 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 16:42:32 +00:00
Ryan Boren 2eae08c088 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: https://develop.svn.wordpress.org/trunk@10931 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 18:31:49 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren 5d8651d6f3 gettext comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 03:53:39 +00:00
Andrew Ozz 88cae82656 feed_links_extra() DRY, props scribu, fixes #9291
git-svn-id: https://develop.svn.wordpress.org/trunk@10741 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 21:34:01 +00:00
Ryan Boren d6978c424f Fix calendar widget when there are no posts. Optimize query. Props Denis-de-Bernardy. fixes #6442
git-svn-id: https://develop.svn.wordpress.org/trunk@10708 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 22:28:45 +00:00
Peter Westwood 8b613d0854 Put search string into <title> of search results page. Fixes #9103 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@10660 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 17:46:13 +00:00
Ryan Boren 7fee5dee72 Revert get_calendar() changes from [10602]. Broke calendar links. see #8351
git-svn-id: https://develop.svn.wordpress.org/trunk@10646 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-25 17:09:29 +00:00
Ryan Boren a6850c37ee Remove extra new line after generator. fixes #9095
git-svn-id: https://develop.svn.wordpress.org/trunk@10630 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 05:24:14 +00:00
Ryan Boren f90ad3f54d Better archives and calendar queries. Props vladimir_kolesnikov. fixes #8351
git-svn-id: https://develop.svn.wordpress.org/trunk@10602 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 22:53:19 +00:00
Andrew Ozz 0b4692c400 Feed links: fix arg name, props nbachiyski, fixes #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10558 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-12 08:52:08 +00:00
Andrew Ozz bfe3dfd22d Automatic fees links: better option name and grammar fix for translation comment, props Viper007Bond, fixes #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10534 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 14:36:14 +00:00
Ryan Boren c85b18238a Add some attribute_escape()s for good measure. see #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10532 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-09 22:59:54 +00:00
Andrew Ozz 0474a02663 Ensure get_the_title() is escaped in feed links, props Viper007Bond, fixes #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10467 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-30 13:50:08 +00:00
Peter Westwood 4b9f870485 PHPdoc updates. See €8805 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@10411 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 21:17:52 +00:00
Andrew Ozz 19577d0a8d Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10377 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 05:04:58 +00:00
Andrew Ozz 1677a33778 Fix invalid HTML in get_search_form(), props jcraig90210, fixes #8851
git-svn-id: https://develop.svn.wordpress.org/trunk@10356 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-14 02:40:04 +00:00
Andrew Ozz 80fb5c79ce Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: https://develop.svn.wordpress.org/trunk@10348 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-12 13:43:17 +00:00
Ryan Boren d02a3b83af Fix html doctype check. Props zekrap. fixes #8745 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10265 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-30 18:35:31 +00:00
Ryan Boren 12035893fc Make sure get_calendar cache is an array
git-svn-id: https://develop.svn.wordpress.org/trunk@10228 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-19 07:05:00 +00:00
Matt Mullenweg 9577892237 Update pagination links on edit-comments when approving/deleting/etc. Hat tip: mdawaffe. Fixes #8584.
git-svn-id: https://develop.svn.wordpress.org/trunk@10204 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-14 12:13:30 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 79ed97571c get_search_form() fixes from juergen. fixes #8512
git-svn-id: https://develop.svn.wordpress.org/trunk@10100 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 05:09:47 +00:00
Ryan Boren 9b95f1a52e Escape gettext in attribute. Props nbachiyski. fixes #8142
git-svn-id: https://develop.svn.wordpress.org/trunk@9813 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 17:03:31 +00:00
Mark Jaquith 62adbc1528 "Login" is a noun. The verb is "Log In"
git-svn-id: https://develop.svn.wordpress.org/trunk@9804 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 03:23:15 +00:00
Andrew Ozz 59ab1f6366 Fix tab button on the write screen in Opera, add tabindex to the menu, don't 'lock' the tab key between the title and the editor. Fixes #8197
git-svn-id: https://develop.svn.wordpress.org/trunk@9784 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 12:02:28 +00:00
Ryan Boren 1e035082cc Format page numbers. see #8266
git-svn-id: https://develop.svn.wordpress.org/trunk@9749 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-18 01:10:40 +00:00
Mark Jaquith 634e2ab151 Do not show Media Upload buttons in Visual Editor if user lacks the capabilities to upload files. fixes #8110
git-svn-id: https://develop.svn.wordpress.org/trunk@9660 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 07:45:11 +00:00
Ryan Boren 9c1e9910e0 Don't descend into single post title for the home page. see #3805
git-svn-id: https://develop.svn.wordpress.org/trunk@9486 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 06:22:36 +00:00
Peter Westwood fbd3dc396c Notice Fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@9479 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-02 22:24:42 +00:00
Ryan Boren c9718cf8e2 Fix drafts module
git-svn-id: https://develop.svn.wordpress.org/trunk@9476 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-02 21:05:38 +00:00
Andrew Ozz bb44218132 More edit comment page fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9434 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 16:52:55 +00:00
Andrew Ozz 70443d9dbb Write page styling
git-svn-id: https://develop.svn.wordpress.org/trunk@9384 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 10:59:26 +00:00
Mark Jaquith c33b1bc527 Make wp_title() sort titles based on separator direction. Reverse the titles in bundled theme. Better SEO. fixes #7338
git-svn-id: https://develop.svn.wordpress.org/trunk@9376 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 04:53:52 +00:00
Peter Westwood 3940c8b9f1 Show and error in the page title for 404 pages. Fixes #6835.
git-svn-id: https://develop.svn.wordpress.org/trunk@9356 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-26 13:11:34 +00:00
Peter Westwood 2f9e6bd6b3 Better page titles when blog is not shown on the front page. Fixes #3805 props anderswc.
git-svn-id: https://develop.svn.wordpress.org/trunk@9355 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-26 13:03:50 +00:00
Ryan Boren ecaf4dbec8 Move echo/return outside of loops. Props DD32. fixes #7749
git-svn-id: https://develop.svn.wordpress.org/trunk@9333 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 20:47:12 +00:00
Ryan Boren b406bec607 phpdoc corrections from jacobsantos. see #7918
git-svn-id: https://develop.svn.wordpress.org/trunk@9243 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-18 20:46:30 +00:00
Ryan Boren 5413ecde13 get_search_form from technosailor. fixes #7910
git-svn-id: https://develop.svn.wordpress.org/trunk@9234 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:39:56 +00:00
Ryan Boren 608a92c414 paginate_comments_links(). see #7769
git-svn-id: https://develop.svn.wordpress.org/trunk@9097 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-07 22:41:51 +00:00
Peter Westwood 15f99a6338 Protect log out actions against CSRF. Props markjaquith and ionfish. Fixes #7790.
git-svn-id: https://develop.svn.wordpress.org/trunk@9025 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-28 21:05:37 +00:00
Andrew Ozz 24418ce142 Ensure default editor is selected
git-svn-id: https://develop.svn.wordpress.org/trunk@9019 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-28 14:21:00 +00:00
Andrew Ozz 8701662229 phpDoc fixes for general-template.php and update.php, props jacobsantos, see #7550
git-svn-id: https://develop.svn.wordpress.org/trunk@8929 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-18 17:32:18 +00:00
Ryan Boren c5bc4b90c3 Add echo option to wp_get_archives(). Props ShaneF. fixes #7749
git-svn-id: https://develop.svn.wordpress.org/trunk@8902 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-16 04:52:47 +00:00
Andrew Ozz 248ee4a909 Inline Documentation for general-template.php, props jacobsantos, fixes #5640
git-svn-id: https://develop.svn.wordpress.org/trunk@8874 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-12 04:31:41 +00:00
Peter Westwood c3d87db6a0 General Template function phpdoc updates. See #5640 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8835 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-06 06:38:26 +00:00
Peter Westwood 8b0beb2e8e Update the General Template phpdoc see #5640.
git-svn-id: https://develop.svn.wordpress.org/trunk@8823 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 21:47:53 +00:00
Peter Westwood 205d8386c7 phpdoc for general template functions see #5640 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8822 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 19:19:01 +00:00
Andrew Ozz 9ed6500c5b Saving/restoring the user interface state, see #7654
git-svn-id: https://develop.svn.wordpress.org/trunk@8784 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-31 06:34:43 +00:00
Andrew Ozz 539565c49a Remove extra filter, fixes #7585
git-svn-id: https://develop.svn.wordpress.org/trunk@8721 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-24 14:19:05 +00:00
Andrew Ozz 3e9d31fc8f Reply to comments from admin, first run, see #7435
git-svn-id: https://develop.svn.wordpress.org/trunk@8720 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-24 06:56:22 +00:00
Ryan Boren 6db75e59d4 Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 21:42:31 +00:00
Ryan Boren d93d32ae99 Support named headers and footers in get_footer() and get_header(). Props AaronCampbell. fixes #7549 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8673 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 20:57:48 +00:00
Peter Westwood da46c93af9 Refactor template location code to reduce duplication.
Also make it easier for theme authors to pull in seperate files into templates while making theme overrideable. See #7492.

git-svn-id: https://develop.svn.wordpress.org/trunk@8624 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 20:18:05 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Peter Westwood 16e673b165 Switch to get_theme_root()
git-svn-id: https://develop.svn.wordpress.org/trunk@8498 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:26:59 +00:00
Peter Westwood 8b8928d5ac Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
git-svn-id: https://develop.svn.wordpress.org/trunk@8497 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:21:14 +00:00
Ryan Boren 28ae8ab3dc Pass to wp_title filter. Props Viper007Bond. fixes #7382
git-svn-id: https://develop.svn.wordpress.org/trunk@8415 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 16:44:06 +00:00