Commit Graph

238 Commits

Author SHA1 Message Date
ryan
dbfb51c6e0 Trim trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@13268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:03:42 +00:00
ryan
76017ffbd7 Rename file. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 23:18:57 +00:00
wpmuguru
4d203a02c6 introduce custom menus, props jeffikus, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:57:43 +00:00
dd32
679250491d Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 02:01:46 +00:00
dd32
0cf65f18a6 Make better use of $wp_query->get_queried_object() instead of duplicating its functionality. See [13143]
git-svn-id: http://svn.automattic.com/wordpress/trunk@13219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:45:29 +00:00
westi
aa5f4d55b7 Move more references from default to WP_FALLBACK_THEME. To make 'default' theme transition smoother in the future.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 22:09:06 +00:00
westi
067e66c8f6 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: http://svn.automattic.com/wordpress/trunk@13146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 09:32:23 +00:00
dd32
0b8b9ef52a 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: http://svn.automattic.com/wordpress/trunk@13143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 07:38:00 +00:00
nacin
cfa428b8d2 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: http://svn.automattic.com/wordpress/trunk@13132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:27:19 +00:00
westi
d8490aeea2 Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 16:45:16 +00:00
ryan
224b82e5e0 Fix notices
git-svn-id: http://svn.automattic.com/wordpress/trunk@13068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 20:14:17 +00:00
ryan
561bb70bb7 Add an echo arg to some general template functions. Props ShaneF. fixes #11842
git-svn-id: http://svn.automattic.com/wordpress/trunk@13048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 18:37:14 +00:00
dd32
16a769cde9 Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: http://svn.automattic.com/wordpress/trunk@12982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 05:15:26 +00:00
ryan
92aef4cc3c Make calendar valid HTML 5. Props iammattthomas. fixes #11554
git-svn-id: http://svn.automattic.com/wordpress/trunk@12943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 16:06:58 +00:00
ryan
f1a954d944 Introduce get_the_date(). Props jeremyclarke. fixes #11264
git-svn-id: http://svn.automattic.com/wordpress/trunk@12917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 16:28:54 +00:00
ryan
6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
westi
6cab12999b @since version for wp_login_form. See #11172 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 22:33:28 +00:00
ryan
fd5266e0a9 wp_login_form(). Props beaulebens. see #11172
git-svn-id: http://svn.automattic.com/wordpress/trunk@12696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:48:43 +00:00
ryan
158b615cd2 phpdoc updates. Props sirzooro. fixes #11853
git-svn-id: http://svn.automattic.com/wordpress/trunk@12687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 15:50:17 +00:00
ryan
ec8e347792 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: http://svn.automattic.com/wordpress/trunk@12598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 17:23:29 +00:00
ryan
d375ef7d54 Use current_time() to calculate current time. Props filosofo. fixes #10915
git-svn-id: http://svn.automattic.com/wordpress/trunk@12590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:56:09 +00:00
westi
9105b46360 Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:05:02 +00:00
westi
0b517ae013 Extend the_modified_date() to support before/after/echo. Fixes #11255 props ShaneF.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:22:08 +00:00
ryan
354607036c Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: http://svn.automattic.com/wordpress/trunk@12513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:16:53 +00:00
markjaquith
d58c6a5dda Do not double-stripslashes() on get_search_query(). fixes #11374
git-svn-id: http://svn.automattic.com/wordpress/trunk@12356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:07:19 +00:00
westi
5fae5d7d61 Urlencode the redirect url for the logout links as well as login in links. Fixes #10991 props Utkarsh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:38:59 +00:00
ryan
8085eddc56 Add translator comment. Props nbachiyski. fixes #10737
git-svn-id: http://svn.automattic.com/wordpress/trunk@12201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 20:54:38 +00:00
westi
4eeff37a6f Remove duplicate action addition of delete_get_calendar_cache() on update_option_start_of_week. Fixes #10718 props johnjosephbachir.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-02 07:11:07 +00:00
ryan
8513b29792 Prophylactic escapes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 16:05:07 +00:00
azaozz
4a60e70973 Fix check for a published post in calendar widget, props Denis-de-Bernardy, fixes #10091
git-svn-id: http://svn.automattic.com/wordpress/trunk@11548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-11 00:04:20 +00:00
ryan
d026ea7673 Pass name to sidebar, footer, and header get actions. Props scribu. fixes #10022
git-svn-id: http://svn.automattic.com/wordpress/trunk@11521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-04 17:59:14 +00:00
azaozz
7182b0dbb4 Add more translator comments for placeholders, props nbachiyski, fixes #10002
git-svn-id: http://svn.automattic.com/wordpress/trunk@11506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-02 07:21:42 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
westi
e48a11f1fd Add a wp_lostpassword_url() function to complete the set. Based on patch from ramiy fixes #9932.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 20:58:22 +00:00
ryan
7bada8f202 Allow multiple search form templates. Props mtdewvirus. fixes #9908
git-svn-id: http://svn.automattic.com/wordpress/trunk@11430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 16:04:49 +00:00
ryan
0e7c7e8657 Fix display of titles for front pages. Props sivel. fixes #9288
git-svn-id: http://svn.automattic.com/wordpress/trunk@11395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 15:48:47 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
westi
f4331cacbd Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 22:32:48 +00:00
ryan
d0e5cc1409 Use get_post_modified_time filter in get_post_modified_time(). Props Denis-de-Bernardy. fixes #9734
git-svn-id: http://svn.automattic.com/wordpress/trunk@11347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 22:33:33 +00:00
ryan
7d84965ef7 urlencode login redirect. Props Viper007Bond. fixes #9817
git-svn-id: http://svn.automattic.com/wordpress/trunk@11328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 16:11:01 +00:00
ryan
1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
markjaquith
bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
ryan
bf92d8a323 Escape title attributes in calendar links. fixes #8967
git-svn-id: http://svn.automattic.com/wordpress/trunk@11215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 04:56:32 +00:00
markjaquith
6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz
83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan
808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
ryan
12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
azaozz
bf88b244cd Hide text while editor is loading, show html editor on error
git-svn-id: http://svn.automattic.com/wordpress/trunk@11171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 10:34:50 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00