Commit Graph

136 Commits

Author SHA1 Message Date
ryan
1039d131fe Don't cache filtered term objects. see #8146
git-svn-id: http://svn.automattic.com/wordpress/trunk@9737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 20:03:31 +00:00
ryan
031a280fd0 get_terms() improvements from filosofo. fixes #8087
git-svn-id: http://svn.automattic.com/wordpress/trunk@9652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 00:20:12 +00:00
westi
eddacb0872 Notice fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 23:03:34 +00:00
ryan
545da15950 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:54:18 +00:00
ryan
0a8415ae7a Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 23:52:49 +00:00
ryan
4b7b8b4958 phpdoc updates. see #7358
git-svn-id: http://svn.automattic.com/wordpress/trunk@9397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 06:54:53 +00:00
westi
1f079aa071 Better variable naming. See #7358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 22:56:02 +00:00
ryan
dd0d70f411 Don't double escape in get_cat_ID(). fixes #7849
git-svn-id: http://svn.automattic.com/wordpress/trunk@9229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 18:56:56 +00:00
ryan
5d1f8b93eb New caching style for term queries
git-svn-id: http://svn.automattic.com/wordpress/trunk@9102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 22:50:46 +00:00
westi
95e26235ad Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:41:25 +00:00
westi
9e89b4a99e phpDoc corrections for wp-includes. See #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-30 21:23:43 +00:00
ryan
19a1e9682b Notice fixes. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 21:50:11 +00:00
ryan
113c014920 Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 17:00:37 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
markjaquith
74c46749cb Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:31:54 +00:00
ryan
e8cba9f0cb Check both slug and name when determining if is_term(). fixes #6593 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-24 19:28:40 +00:00
ryan
364d78f689 Don't allow empty term names. Props scohoust. fixes #7336 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 21:53:32 +00:00
ryan
d845973d7b Revert accidental bits that snuck in with [8376]. see #7227
git-svn-id: http://svn.automattic.com/wordpress/trunk@8377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-19 19:00:56 +00:00
ryan
8831ea942b IXR 0.71. Props jacobsantos. fixes #7227
git-svn-id: http://svn.automattic.com/wordpress/trunk@8376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-19 17:56:35 +00:00
ryan
fe9866dc79 Fix is_term query prepare() so that tag slugs that percent signs in them don't break. fixes #6867 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-17 16:59:40 +00:00
ryan
270555de54 Account for term exclusion filter when creating cache key. Props filosofo. fixes #7213
git-svn-id: http://svn.automattic.com/wordpress/trunk@8225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-01 15:54:58 +00:00
ryan
683acd8245 phpdoc updates from jacobsantos. see #7038
git-svn-id: http://svn.automattic.com/wordpress/trunk@8164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-22 20:23:23 +00:00
ryan
96c73cc917 Make sure taxonomy args are set before using. Props Sam_a. fixes #6960 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 18:47:33 +00:00
matt
7b0c0703f5 Fix default taxonomy query var. Populate taxonomy and term query vars ASAP. Fixes template fall-through. Hat tip: andy
git-svn-id: http://svn.automattic.com/wordpress/trunk@7940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 02:35:24 +00:00
matt
691eccf400 Use TT ids instead of term ids. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 01:43:35 +00:00
ryan
3495bf80e0 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 17:42:13 +00:00
ryan
248a0c06e2 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
ryan
a480e4e55b Allow register_taxonomy() to be called before init for back compat with impatient plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 06:30:20 +00:00
ryan
f2d7699045 get_term_link() fixes for core taxonomies. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 18:26:22 +00:00
ryan
e1b1845154 Taxonomy links and template tags from andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:37:19 +00:00
ryan
faff475746 Accept array of object types when registering a taxonomy. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 22:43:20 +00:00
ryan
cce67416a3 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 17:02:11 +00:00
ryan
bc1e8fd755 Make sure IDs are >= 0. see #6305
git-svn-id: http://svn.automattic.com/wordpress/trunk@7481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 00:55:11 +00:00
ryan
da37142561 Capture last db error. Pass it in WP_Error data when term inserts fail. Fix typo in WP_Ajax_Response
git-svn-id: http://svn.automattic.com/wordpress/trunk@7431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 23:34:32 +00:00
ryan
4784e3bd97 Return error if term DB insert fails
git-svn-id: http://svn.automattic.com/wordpress/trunk@7430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 22:33:34 +00:00
ryan
dce0978cee Notice fixes from nbachiyski. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:43:56 +00:00
ryan
5ed843d6d8 Support ordering for term relationships. Props andy. fixes #5857
git-svn-id: http://svn.automattic.com/wordpress/trunk@6851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 17:17:57 +00:00
ryan
e3b7a9c202 Add more sort options to wp_get_object_terms(). Props andy. fixes #5245
git-svn-id: http://svn.automattic.com/wordpress/trunk@6843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 05:40:19 +00:00
ryan
8bd0691aa3 Manage categories redesign. Add categories search.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 09:02:02 +00:00
ryan
6c312db33c Fix fields=names query in get_terms(). Props Sarky-de. fixes #5780
git-svn-id: http://svn.automattic.com/wordpress/trunk@6738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 20:42:03 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
879f7f4766 First cut at Manage->Tags. Props jhodgdon. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:29:01 +00:00
westi
1aaec4ff30 Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:51:07 +00:00
ryan
1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan
5cb5750259 Don't create blank terms. Props ionfish and jhodgdon. fixes #5494
git-svn-id: http://svn.automattic.com/wordpress/trunk@6424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 23:25:11 +00:00
ryan
fdebf7ba34 Allows 0 titles when sanitizing. Props mdawaffe. fixes #5293
git-svn-id: http://svn.automattic.com/wordpress/trunk@6409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:45:50 +00:00
ryan
6a27406096 Taxonomy phpdoc from darkdragon. fixes #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@6378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 00:25:39 +00:00
ryan
805e41198c Defer term counting during import. Props tellyworth. fixes #5377
git-svn-id: http://svn.automattic.com/wordpress/trunk@6376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:14:00 +00:00
ryan
028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
ryan
0ad360cc00 Don't return all taxonomies for an object type of 0. Props tellyworth and nbachiyski. fixes #5417
git-svn-id: http://svn.automattic.com/wordpress/trunk@6355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:31:54 +00:00