Commit Graph

31 Commits

Author SHA1 Message Date
Andrew Nacin 6d07d415ec Have wp_delete_category wrap wp_delete_term. Move wp_delete_category into wp-includes scope for consistency. fixes #15008, props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@15690 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 07:29:44 +00:00
Andrew Nacin ea2f90c70e Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15688 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 02:58:59 +00:00
Ryan Boren fc2793bd46 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:53:41 +00:00
Dion Hulse 0f8fd11400 PHPDocs update. Props miqrogroove. See #12422
git-svn-id: https://develop.svn.wordpress.org/trunk@13482 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 03:18:40 +00:00
Dion Hulse bc3fbede7f Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12818 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 11:00:27 +00:00
Ryan Boren c64564251a Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12694 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 19:27:44 +00:00
Ryan Boren 70c55846ac Pass parent to category_exists(). Props thetoine. fixes #11825
git-svn-id: https://develop.svn.wordpress.org/trunk@12662 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 17:58:13 +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 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 86b731ec7a Remove deubg
git-svn-id: https://develop.svn.wordpress.org/trunk@10906 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 21:18:58 +00:00
Ryan Boren f7df1f116e Add option to check if term exists with given parent. Update ajax add-cat check to pass parent when checking if cat exists.
git-svn-id: https://develop.svn.wordpress.org/trunk@10905 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 20:58:25 +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 3c7eca56ab Allow muliple tag-like taxonomies in the post editor. see #6387
git-svn-id: https://develop.svn.wordpress.org/trunk@10222 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-18 19:12:26 +00:00
Ryan Boren 0b0632ccf1 Warning fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9481 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-02 23:52:49 +00:00
Ryan Boren f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +00:00
Ryan Boren f25dd822ec Fix tag duplication when saving posts with multiple tags that have custom slugs. Props mtekk and count_0. fixes #6593 see #6313
git-svn-id: https://develop.svn.wordpress.org/trunk@8603 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 17:13:40 +00:00
Ryan Boren 020a8cacad Use array calling style. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@7911 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 19:19:58 +00:00
Ryan Boren 54e1b16a80 Make sure cat parents are >= 0. see #6305
git-svn-id: https://develop.svn.wordpress.org/trunk@7483 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 01:10:46 +00:00
Ryan Boren 27f4dc5ba4 Parse default args and return WP_Error for emprt cat name in wp_insert_category.
git-svn-id: https://develop.svn.wordpress.org/trunk@7423 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 20:19:25 +00:00
Ryan Boren 7ed364b2ce Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:43:56 +00:00
Matt Mullenweg 2a77958de3 New experimental category interface, fixes #5618. Hat tip: mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6588 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 09:39:35 +00:00
Ryan Boren 029a74ca44 Remove unused variables. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6363 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 06:37:30 +00:00
Ryan Boren f9e3a4df2a Output WP_Error message when adding categories via AJAX. fixes #5342
git-svn-id: https://develop.svn.wordpress.org/trunk@6329 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:12:49 +00:00
Ryan Boren c93bdc05d1 Term with slug that conflicts with existing term with different parent gets a new term entry with a unique slug. see #5034
git-svn-id: https://develop.svn.wordpress.org/trunk@6157 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 18:01:08 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren a1b51966d7 Don't pass cat as ref. Fix some term sanitization. fixes #4702
git-svn-id: https://develop.svn.wordpress.org/trunk@5938 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 18:41:01 +00:00
Ryan Boren 240cfc467c EXTR_SKIP. See #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5712 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 17:30:37 +00:00
Ryan Boren 4feb85438d Fix category renaming. fixes #4415 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5659 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:12:02 +00:00
Ryan Boren 67013eb065 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5637 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 02:53:09 +00:00
Ryan Boren f1a0a595d7 attribute_escape()s and int casts. see #4333
git-svn-id: https://develop.svn.wordpress.org/trunk@5543 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 09:41:04 +00:00
Ryan Boren 09f70467e0 Admin includes reorg. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 07:16:21 +00:00