Commit Graph

278 Commits

Author SHA1 Message Date
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
e3cd873481 Restore [13194] which was accidentally overwritten in [13315]. See #12256
git-svn-id: https://develop.svn.wordpress.org/trunk@13323 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 07:10:47 +00:00
Ryan Boren
b2471216cd Revert [13187] pending further debate. see #12267
git-svn-id: https://develop.svn.wordpress.org/trunk@13318 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 01:13:37 +00:00
Mark Jaquith
7ff8d50bd4 Serve a real 404 for ?p=does-not-exist, ?cat=does-not-exist, etc. fixes #12250. fixes #10930.
git-svn-id: https://develop.svn.wordpress.org/trunk@13315 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 22:54:21 +00:00
Dion Hulse
5318997d5f Display robots.txt even on blogs with 0 posts on the home page. See #12256
git-svn-id: https://develop.svn.wordpress.org/trunk@13194 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 10:57:49 +00:00
Ron Rennick
f3a3e63a5b introduce post & comment classes, props skeltoac, See #12267
git-svn-id: https://develop.svn.wordpress.org/trunk@13187 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 01:52:37 +00:00
Dion Hulse
3674f4a101 Do not poison query vars with /&foo=bar/ in requested URL. See #8949
git-svn-id: https://develop.svn.wordpress.org/trunk@13071 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 00:02:47 +00:00
Mark Jaquith
845df4462a Initialize $post_type_query_vars to avoid is_array() warning. see #12923
git-svn-id: https://develop.svn.wordpress.org/trunk@12925 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 03:18:27 +00:00
Ryan Boren
46b701d830 Permalinks for custom post types. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12923 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 23:12:26 +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
43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Peter Westwood
885fce4ea9 Replace eval usage in request processing with new WP_MatchesMapRegex() class usage. See #9602 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@11853 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 20:09:36 +00:00
Ryan Boren
036031cbab Remove global regs that can poison query objects. fixes #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11406 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:05:23 +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
Ryan Boren
fc80cdec6b Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: https://develop.svn.wordpress.org/trunk@11318 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 22:28:56 +00:00
Andrew Ozz
ef540360eb Strip tags from category description when used as title, props demetris, fixes #9753
git-svn-id: https://develop.svn.wordpress.org/trunk@11239 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-08 13:47:26 +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
Ryan Boren
1f47d7d591 Fix registration of default taxonomies so that proper rewrite rules are written.
git-svn-id: https://develop.svn.wordpress.org/trunk@11141 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 19:05:32 +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
12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Peter Westwood
88600c7fdb Allow a plugin to filter the classes applied in wp_list_pages. Fixes #9304 props willnorris.
git-svn-id: https://develop.svn.wordpress.org/trunk@10814 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 21:43:51 +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
b114706bcb s/WP_Widgets/WP_Widget/ and move class to widgets.php
git-svn-id: https://develop.svn.wordpress.org/trunk@10782 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 23:18:57 +00:00
Andrew Ozz
3689f64ee3 WP_Widgets: make save_settings() and get_settings() separate methods, convert defined single widgets settings to multi-widget format, small fixes for the Links widget, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10781 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 22:27:38 +00:00
Andrew Ozz
bcb764b964 Add WP_Widget class, first run - only the Links widget is using it at the moment, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10764 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 19:42:22 +00:00
Peter Westwood
17b27fa618 Make the exit call explicit so that it works. Fixes #9248.
git-svn-id: https://develop.svn.wordpress.org/trunk@10672 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-28 09:30:46 +00:00
Peter Westwood
271e0f7742 Allow for the HTTP headers returned by WordPress to be filtered by a plugin. Fixes #9205 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10619 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 21:39:06 +00:00
Peter Westwood
306580c200 Use # as the delimiter for preg_match in rewrite rules to allow them to contain !. Fixes #7486 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@10573 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 11:16:54 +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
b6a0df1678 post_parent dropdown fixes. get_pages() cache fix to eliminate duplicate queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@10070 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 19:19:24 +00:00
Ryan Boren
5e9d071992 Notice fix from Malaiac. fixes #8453
git-svn-id: https://develop.svn.wordpress.org/trunk@10013 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-02 19:05:24 +00:00
Peter Westwood
33e4ff5f55 Make arguments to start_el consistent and ensure that page walking is consistent. Fixes #8303 and #8091 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@9830 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-21 17:17:18 +00:00
Mark Jaquith
294e85160b Add a "parent" class to comment LIs with children. props filosofo. fixes #8091
git-svn-id: https://develop.svn.wordpress.org/trunk@9812 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 13:36:44 +00:00
Ryan Boren
7011c77128 Walker fix for when non elements are top-level. Props hailin. fixes #8150
git-svn-id: https://develop.svn.wordpress.org/trunk@9685 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 18:10:58 +00:00
Ryan Boren
0623c49a93 Notice fixes from Viper007Bond. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9515 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-04 20:16:54 +00:00
Ryan Boren
2ed35e776e Use get_option instead of get_settings
git-svn-id: https://develop.svn.wordpress.org/trunk@9485 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 06:10:18 +00:00
Ryan Boren
81a0168123 link_before and link_after for wp_list_pages(). Props thee17. fixes #8041
git-svn-id: https://develop.svn.wordpress.org/trunk@9484 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 06:07:39 +00:00
Ryan Boren
2b064834f0 Set current_page_parent when using page_for_posts. Props betsyk. fixes #7518
git-svn-id: https://develop.svn.wordpress.org/trunk@9299 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 18:01:57 +00:00
Ryan Boren
873a5b075b Comment paging and sorting from Viper007Bond. see #7927
git-svn-id: https://develop.svn.wordpress.org/trunk@9296 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 16:08:47 +00:00
Andrew Ozz
603dbcdf4f Quick Edit for Tags, Categories and Link Categories, improvements to handling errors in quick and bulk edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@9083 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-05 04:43:52 +00:00
Ryan Boren
1811b9a81a Fix comment display when paging is off. see #7769
git-svn-id: https://develop.svn.wordpress.org/trunk@8964 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-24 05:20:17 +00:00
Ryan Boren
23fd52bd85 First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8961 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-23 21:11:27 +00:00
Ryan Boren
be4a2fc77a Add paging to Walker class. Props hailin. fixes #7743
git-svn-id: https://develop.svn.wordpress.org/trunk@8939 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-19 06:59:47 +00:00
Ryan Boren
2c91b887e7 phpdoc for classes.php from jacobsantos. fixes #5635
git-svn-id: https://develop.svn.wordpress.org/trunk@8900 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-16 00:37:05 +00:00
Ryan Boren
6e53d55b55 Don't 404 for categories, tags, and authors that exist but have no posts. see #5324
git-svn-id: https://develop.svn.wordpress.org/trunk@8761 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-28 19:58:57 +00:00
Ryan Boren
197fc1d118 Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8646 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 17:00:37 +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
Ryan Boren
22497fb74f Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@8510 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 17:17:38 +00:00
Ryan Boren
a9751a9ee9 Walker improvements from hailin. fixes #7353
git-svn-id: https://develop.svn.wordpress.org/trunk@8494 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:50:57 +00:00