Commit Graph

202 Commits

Author SHA1 Message Date
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
ryan
036a36a7e8 Add redirect param to wp_loginout(). Props Denis-de-Bernardy. fixes #9241
git-svn-id: http://svn.automattic.com/wordpress/trunk@11101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 20:00:59 +00:00
ryan
08ae2f5ee2 Add WAI-ARIA landmark roles to default theme. Props peterkz. fixes #9408
git-svn-id: http://svn.automattic.com/wordpress/trunk@10945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 16:42:32 +00:00
ryan
fe648c9e20 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: http://svn.automattic.com/wordpress/trunk@10931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-14 18:31:49 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
azaozz
2416f426d9 feed_links_extra() DRY, props scribu, fixes #9291
git-svn-id: http://svn.automattic.com/wordpress/trunk@10741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 21:34:01 +00:00
ryan
0b1292e1d2 Fix calendar widget when there are no posts. Optimize query. Props Denis-de-Bernardy. fixes #6442
git-svn-id: http://svn.automattic.com/wordpress/trunk@10708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:28:45 +00:00
westi
420b597cfe Put search string into <title> of search results page. Fixes #9103 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 17:46:13 +00:00
ryan
5719faff71 Revert get_calendar() changes from [10602]. Broke calendar links. see #8351
git-svn-id: http://svn.automattic.com/wordpress/trunk@10646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 17:09:29 +00:00
ryan
2238d7148b Remove extra new line after generator. fixes #9095
git-svn-id: http://svn.automattic.com/wordpress/trunk@10630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 05:24:14 +00:00
ryan
4694b6c752 Better archives and calendar queries. Props vladimir_kolesnikov. fixes #8351
git-svn-id: http://svn.automattic.com/wordpress/trunk@10602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 22:53:19 +00:00
azaozz
3a9798b04f Feed links: fix arg name, props nbachiyski, fixes #8878
git-svn-id: http://svn.automattic.com/wordpress/trunk@10558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 08:52:08 +00:00
azaozz
7f7214bb4d Automatic fees links: better option name and grammar fix for translation comment, props Viper007Bond, fixes #8878
git-svn-id: http://svn.automattic.com/wordpress/trunk@10534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-10 14:36:14 +00:00
ryan
c26b1324f6 Add some attribute_escape()s for good measure. see #8878
git-svn-id: http://svn.automattic.com/wordpress/trunk@10532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-09 22:59:54 +00:00
azaozz
81610facb1 Ensure get_the_title() is escaped in feed links, props Viper007Bond, fixes #8878
git-svn-id: http://svn.automattic.com/wordpress/trunk@10467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-30 13:50:08 +00:00
westi
c9c4d306ef PHPdoc updates. See €8805 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 21:17:52 +00:00
azaozz
3949fb7e90 Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: http://svn.automattic.com/wordpress/trunk@10377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 05:04:58 +00:00
azaozz
cc2b577fbe Fix invalid HTML in get_search_form(), props jcraig90210, fixes #8851
git-svn-id: http://svn.automattic.com/wordpress/trunk@10356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-14 02:40:04 +00:00
azaozz
1c9353ad2e Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: http://svn.automattic.com/wordpress/trunk@10348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-12 13:43:17 +00:00
ryan
66bd2ed3dc Fix html doctype check. Props zekrap. fixes #8745 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 18:35:31 +00:00
ryan
61ff0372e4 Make sure get_calendar cache is an array
git-svn-id: http://svn.automattic.com/wordpress/trunk@10228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-19 07:05:00 +00:00
matt
d58297955d Update pagination links on edit-comments when approving/deleting/etc. Hat tip: mdawaffe. Fixes #8584.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-14 12:13:30 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
7050ada441 get_search_form() fixes from juergen. fixes #8512
git-svn-id: http://svn.automattic.com/wordpress/trunk@10100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 05:09:47 +00:00
ryan
4b5e8f8994 Escape gettext in attribute. Props nbachiyski. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 17:03:31 +00:00
markjaquith
67b3b12fa5 "Login" is a noun. The verb is "Log In"
git-svn-id: http://svn.automattic.com/wordpress/trunk@9804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 03:23:15 +00:00
azaozz
ec0a4a9ebf 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: http://svn.automattic.com/wordpress/trunk@9784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 12:02:28 +00:00
ryan
b58bb24748 Format page numbers. see #8266
git-svn-id: http://svn.automattic.com/wordpress/trunk@9749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 01:10:40 +00:00
markjaquith
9928e82e36 Do not show Media Upload buttons in Visual Editor if user lacks the capabilities to upload files. fixes #8110
git-svn-id: http://svn.automattic.com/wordpress/trunk@9660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 07:45:11 +00:00
ryan
e11ee489f1 Don't descend into single post title for the home page. see #3805
git-svn-id: http://svn.automattic.com/wordpress/trunk@9486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:22:36 +00:00
westi
b40db2b6ab Notice Fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 22:24:42 +00:00
ryan
63f6b5312b Fix drafts module
git-svn-id: http://svn.automattic.com/wordpress/trunk@9476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 21:05:38 +00:00
azaozz
acfc26ecd6 More edit comment page fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 16:52:55 +00:00
azaozz
da113155e8 Write page styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 10:59:26 +00:00
markjaquith
acfecce577 Make wp_title() sort titles based on separator direction. Reverse the titles in bundled theme. Better SEO. fixes #7338
git-svn-id: http://svn.automattic.com/wordpress/trunk@9376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 04:53:52 +00:00
westi
c170ec5dce Show and error in the page title for 404 pages. Fixes #6835.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 13:11:34 +00:00