Commit Graph

319 Commits

Author SHA1 Message Date
westi
8cdb268183 Attempt at a fix for url encoding issues with UTF8 chars. See #10249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 14:50:58 +00:00
scribu
7c7af674b4 Get rid of $taxonomy_query_vars altogether. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 12:12:31 +00:00
scribu
21af801a5a Fix 'taxonomy' and 'term' query var logic. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 12:07:23 +00:00
dd32
0c56811154 Fix current-cat & current-cat-parent classes for Category listings for non-category taxonomies. General cleanup of wp_list_categories() sanity checking. Props TheDeadMedic for the initial taxonomy patch. Fixes #15143
git-svn-id: http://svn.automattic.com/wordpress/trunk@15847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 10:10:11 +00:00
dd32
81924ad20b Merge Category/Tag URL creation/rewriting into general Taxonomy system. Removes the legacy handling for these url's. See #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@15825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 05:41:22 +00:00
scribu
b43424f94e Don't look in in WP->parse_request(). See #15112
git-svn-id: http://svn.automattic.com/wordpress/trunk@15796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 16:55:58 +00:00
scribu
810b3a215f Don't attempt to convert objects to strings in WP->parse_request(). Fixes #14330
git-svn-id: http://svn.automattic.com/wordpress/trunk@15793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 15:21:19 +00:00
scribu
47b8974ca6 Make parse_reques() set empty variables. Props filosofo for initial patch. Fixes #10710
git-svn-id: http://svn.automattic.com/wordpress/trunk@15770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-10 20:02:26 +00:00
scribu
e157f923ed Get rid of redundant $this->meta_query. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 10:48:13 +00:00
scribu
50dc04d43b Get rid of redundant ->tax_query. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 10:19:15 +00:00
nacin
b7bacd1bf2 s/Wether/Whether/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 02:35:06 +00:00
nacin
137796ddbd Add NOT LIKE/BETWEEN/IN. props AaronCampbell, fixes #9124.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 02:27:22 +00:00
westi
f964eed6b5 Avoid Notice if the query doesn't have a post set e.g. on a 404 . Fixes #15059 props chrisbliss18.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 21:23:50 +00:00
scribu
6c0eb6bf79 Proper handling of array query variables. Props loushou. Fixes #14330
git-svn-id: http://svn.automattic.com/wordpress/trunk@15737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 23:18:42 +00:00
scribu
54304cc2d4 Prevent db error when dealing with unexistant parent term. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 12:06:23 +00:00
scribu
a8367fa6f2 Generalize taxonomy queries:
* transform wp_tax_query() into WP_Object_Query::get_tax_sql()
	* create parse_tax_query() method in WP_Query
	* add doc-block for $tax_query and $meta_query
See #15032. See #12891.


git-svn-id: http://svn.automattic.com/wordpress/trunk@15731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 10:40:30 +00:00
scribu
ef709f8953 further meta query optimization. props aaroncampbell. fixes #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@15730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-05 23:06:20 +00:00
scribu
62176cc636 Don't revalidate $meta_type in get_meta_sql(). Props Viper007Bond. See #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@15726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 22:51:31 +00:00
scribu
be24b1998b Use elseif in get_meta_sql(). Props Viper007Bond. See #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@15725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 22:47:04 +00:00
scribu
390ec67a52 Enhance get_meta_sql. Props aaroncampbell. Fixes #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@15724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 21:37:08 +00:00
scribu
31797f691a Move _wp_search_sql() into WP_Object_Query. Introduce WP_Comment_Search. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@15723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 21:05:31 +00:00
scribu
8d138e0c4c Put the simple meta query first, so that orderby=meta_value works even when using 'meta_query'. See #15031
git-svn-id: http://svn.automattic.com/wordpress/trunk@15721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 20:19:21 +00:00
scribu
f558d12bf0 Introduce WP_Object_Query. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@15715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 18:57:13 +00:00
nacin
5a20c05d27 Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
markjaquith
b01b411b45 Support custom post type links in wp_list_pages(). fixes #14177. props scribu
git-svn-id: http://svn.automattic.com/wordpress/trunk@15587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 04:31:07 +00:00
markjaquith
48ca617449 Make the second (taxonomy) parameter for get_term_link() optional if you pass in a term object as the first argument (which has the taxonomy in it). fixes #13081. props scribu
git-svn-id: http://svn.automattic.com/wordpress/trunk@15586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 04:29:00 +00:00
nacin
e3dcb82e26 Don't throw 404 in the backend. fixes #14088 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:47:12 +00:00
nacin
2019e0a25c Always pass post ID to the_title filter. props dndrnkrd, fixes #13558
git-svn-id: http://svn.automattic.com/wordpress/trunk@14964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 21:30:00 +00:00
westi
b5b2fd3c8f Mark the ULs containing child pages in the page Walker. Fixes #13254 props GDragoN.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 17:24:28 +00:00
ryan
8f777718c9 Introduce get_term_feed_link(). Use it in wp_list_categories(). Props blepoxp. see #13058
git-svn-id: http://svn.automattic.com/wordpress/trunk@14711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:21:12 +00:00
ryan
e879a9ab0e New menu UI. Props filosofo. see #12713
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 01:05:58 +00:00
ryan
78930c4964 Fix custom tax and post type query var checks. Props prettyboymp. fixes #12857 #13076
git-svn-id: http://svn.automattic.com/wordpress/trunk@14246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 00:22:04 +00:00
nacin
757d3ba8ae Strip tags before escaping the title element in wp_list_pages(). props scribu. fixes #11040.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 13:49:52 +00:00
ryan
96bc63439a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:25:48 +00:00
nacin
8e436271ed Ensure we're escaping css classes for front end nav menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:04:37 +00:00
nacin
589997d8cb Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
dd32
3f20b53b12 Don't prevent 404'ing on tax/author pages when a paged page is requested which doesnt contain posts. For example, /category/animal/page/9999999/. Allows for /category/empty_cat/ to not 404. Fixes #11857
git-svn-id: http://svn.automattic.com/wordpress/trunk@13944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 08:16:20 +00:00
dd32
0e4aaa13d3 Update wp_list_categories() to be custom taxonomy aware. Props jfarthing84. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:07:31 +00:00
nacin
40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
nacin
ba6f1cba07 Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 19:56:16 +00:00
markjaquith
58d47426cc More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 04:39:50 +00:00
nacin
8b4e58529b A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: http://svn.automattic.com/wordpress/trunk@13425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 05:46:08 +00:00
dd32
3f35e43429 Restore [13194] which was accidentally overwritten in [13315]. See #12256
git-svn-id: http://svn.automattic.com/wordpress/trunk@13323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 07:10:47 +00:00
ryan
981e0c66b3 Revert [13187] pending further debate. see #12267
git-svn-id: http://svn.automattic.com/wordpress/trunk@13318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 01:13:37 +00:00
markjaquith
c1b647bb52 Serve a real 404 for ?p=does-not-exist, ?cat=does-not-exist, etc. fixes #12250. fixes #10930.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 22:54:21 +00:00
dd32
4f460639c8 Display robots.txt even on blogs with 0 posts on the home page. See #12256
git-svn-id: http://svn.automattic.com/wordpress/trunk@13194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 10:57:49 +00:00
wpmuguru
79f04413f4 introduce post & comment classes, props skeltoac, See #12267
git-svn-id: http://svn.automattic.com/wordpress/trunk@13187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 01:52:37 +00:00
dd32
6a4a3631e3 Do not poison query vars with /&foo=bar/ in requested URL. See #8949
git-svn-id: http://svn.automattic.com/wordpress/trunk@13071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 00:02:47 +00:00
markjaquith
3e0f3f54d6 Initialize $post_type_query_vars to avoid is_array() warning. see #12923
git-svn-id: http://svn.automattic.com/wordpress/trunk@12925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 03:18:27 +00:00
ryan
ed24c3dd40 Permalinks for custom post types. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 23:12:26 +00:00