Commit Graph

335 Commits

Author SHA1 Message Date
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
Ryan Boren bab6fa872c Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8069 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-11 17:25:55 +00:00
Ryan Boren 5d786d179c More use of site_url(), admin_url(), and site_url(). Force login and admin links to be https if FORCE_SSL_LOGIN. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8058 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 07:39:11 +00:00
Ryan Boren 6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren 3aa6501d8e inline docs for wp_admin_css(). Props mdawaffe. see #7033
git-svn-id: https://develop.svn.wordpress.org/trunk@7994 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 21:23:22 +00:00
Ryan Boren ab6c52cdf7 Use style loader for gears manifest. Props azaozz. fixes #7015
git-svn-id: https://develop.svn.wordpress.org/trunk@7981 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 15:27:28 +00:00
Ryan Boren 0198c04b6d wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7979 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:06:41 +00:00
Ryan Boren ce3388a5ea Add wp_default_styles(), convert wp_admin_css(). Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7976 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 23:24:23 +00:00
Ryan Boren 58a9595df2 Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: https://develop.svn.wordpress.org/trunk@7961 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 17:19:33 +00:00
Ryan Boren 9d294b6342 get_archives_link filter. Props codealsatian. fixes #5530 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7959 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 16:43:44 +00:00
Matt Mullenweg ea8035697d get_queried_object should not return an array of terms, and wp_title should check is_tax. Hat tip: andy
git-svn-id: https://develop.svn.wordpress.org/trunk@7941 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 03:57:09 +00:00
Ryan Boren 5b1eff3aaf Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7634 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:33:42 +00:00
Peter Westwood cc2dd59c98 Remove the slash from html generators and camelcase WP. Fixes #6440 props lloydbudd.
git-svn-id: https://develop.svn.wordpress.org/trunk@7562 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 19:05:22 +00:00
Mark Jaquith 5e779414fd Clean up the Write Post/Write Page/Edit Comment screens for people without JS. Introduce the hide-if-no-js and hide-if-js automagical classes. fixes #6395
git-svn-id: https://develop.svn.wordpress.org/trunk@7529 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:06:18 +00:00
Ryan Boren 215d0c769c Fix loading of colors RTL css. Props mani_monaj. see #6296
git-svn-id: https://develop.svn.wordpress.org/trunk@7477 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 18:33:31 +00:00
Mark Jaquith 9de58b184a Autosave when title has content and loses focus. props ryan. see #5749
git-svn-id: https://develop.svn.wordpress.org/trunk@7394 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 05:38:58 +00:00
Matt Mullenweg 0d07e27f8e So fresh and so clean, clean.
git-svn-id: https://develop.svn.wordpress.org/trunk@7313 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 17:02:16 +00:00
Ryan Boren c9a9b9373a Admin color selector. see #6167
git-svn-id: https://develop.svn.wordpress.org/trunk@7249 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 21:06:03 +00:00
Ryan Boren 6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren 59057e6250 Fix edit comment form tab indices. fixes #5712
git-svn-id: https://develop.svn.wordpress.org/trunk@7032 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 04:53:48 +00:00
Ryan Boren 579698f0b1 Media library work from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6974 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 05:53:47 +00:00
Ryan Boren 98779e9752 Don't show Add Media when editing comments. Props azaozz. fixes #5910
git-svn-id: https://develop.svn.wordpress.org/trunk@6930 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 05:39:04 +00:00
Ryan Boren 679cd738b9 TinyMCE config enhancements from azaozz. fixes #5896 #5888
git-svn-id: https://develop.svn.wordpress.org/trunk@6894 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 17:11:12 +00:00
Ryan Boren 3c1a115108 htmlspecialchars when loading content into html editor. Props DD32 and andy. fixes #5796
git-svn-id: https://develop.svn.wordpress.org/trunk@6767 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-09 07:29:36 +00:00
Ryan Boren 7b16c13118 Show media upload buttons when RTE is not enabled. Props tellyworth. fixes #5764
git-svn-id: https://develop.svn.wordpress.org/trunk@6746 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-07 04:21:22 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren 4be56a17b1 TinyMCE 3.0 Final from azaozz. see #5674
git-svn-id: https://develop.svn.wordpress.org/trunk@6694 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-31 18:10:46 +00:00
Peter Westwood 4f1971cfdb Switch from abs(intval()) to absint(). See #4762.
git-svn-id: https://develop.svn.wordpress.org/trunk@6682 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 18:48:38 +00:00
Ryan Boren 2b0713315f TinyMCE 3.0 RC1. First cut, eexpect regressions. Props azaozz. see #5674
git-svn-id: https://develop.svn.wordpress.org/trunk@6632 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-17 15:44:05 +00:00
Ryan Boren c606c5bc63 Get named sidebars. Props AaronCampbell. fixes #5615
git-svn-id: https://develop.svn.wordpress.org/trunk@6609 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-14 04:51:29 +00:00
Matt Mullenweg 93f3010e7f Don't try fancy tab focus if the WYSIWYG isn't active. Hat tip: skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@6601 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-12 01:55:51 +00:00
Ryan Boren edbba502ed Remember last editor chosen. Props mdawaffe. fixes #3978
git-svn-id: https://develop.svn.wordpress.org/trunk@6567 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-06 19:01:32 +00:00
Matt Mullenweg 090108bfc8 Post screen improvements^H^H^H, er, changes. Will file tickets for todos.
git-svn-id: https://develop.svn.wordpress.org/trunk@6544 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-03 08:03:29 +00:00
Ryan Boren 5546161120 Add separator location arg to wp_title. Props cpoteet. fixes #4407
git-svn-id: https://develop.svn.wordpress.org/trunk@6538 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-02 20:45:17 +00:00
Peter Westwood c4b97ae9e3 Beautify. Fixes #5561 props fitztrev.
git-svn-id: https://develop.svn.wordpress.org/trunk@6536 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-02 18:21:19 +00:00
Ryan Boren 4ed01307bb Localize calendar caption. Props takayukister. fixes #5562
git-svn-id: https://develop.svn.wordpress.org/trunk@6533 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-01 18:38:32 +00:00
Ryan Boren d8876f4dba language_attributes() improvements from ionfish. fixes #5393
git-svn-id: https://develop.svn.wordpress.org/trunk@6408 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 17:44:02 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren 930a39d235 Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296
git-svn-id: https://develop.svn.wordpress.org/trunk@6343 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-26 21:40:00 +00:00
Ryan Boren dd19fe2a27 wp_get_archives caching. fixes #5275
git-svn-id: https://develop.svn.wordpress.org/trunk@6296 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-30 06:03:11 +00:00
Peter Westwood 3c2cc79a46 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@6195 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 06:55:24 +00:00
Ryan Boren f1aa921ebf WLW manifest from josephscott. fixes #5023 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6192 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-05 17:29:34 +00:00
Mark Jaquith 11e69b6820 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6180 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-02 18:45:47 +00:00