Commit Graph

313 Commits

Author SHA1 Message Date
Sergey Biryukov a66fde2ea1 Add 'taxonomy_parent_dropdown_args' filter for the parent dropdown on taxonomy term editing screens. props leewillis77. fixes #18166.
Built from https://develop.svn.wordpress.org/trunk@25123


git-svn-id: http://core.svn.wordpress.org/trunk@25103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-26 17:31:09 +00:00
Andrew Nacin 88af5fa369 Add actions for term editing/creation form tags, for adding enctype attributes. Matches the pattern we've used elsewhere. props JustinSainton, fixes #15261.
Built from https://develop.svn.wordpress.org/trunk@25034


git-svn-id: http://core.svn.wordpress.org/trunk@25021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-16 19:54:09 +00:00
Ryan Boren 5f809d1d22 Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:00:25 +00:00
Ryan Boren 43a7e695e9 Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767
git-svn-id: http://core.svn.wordpress.org/trunk@23554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:28:40 +00:00
Ryan Boren cc5ed3a485 Change all core API to expect unslashed rather than slashed arguments.
The exceptions to this are update_post_meta() and add_post_meta() which are often used by plugins in POST handlers and will continue accepting slashed data for now.

Introduce wp_upate_post_meta() and wp_add_post_meta() as unslashed alternatives to update_post_meta() and add_post_meta(). These functions could become methods in WP_Post so don't use them too heavily yet.

Remove all escape() calls from wp_xmlrpc_server. Now that core expects unslashed data this is no longer needed.

Remove addslashes(), addslashes_gpc(), add_magic_quotes() calls on data being prepared for handoff to core functions that until now expected slashed data. Adding slashes in no longer necessary.

Introduce wp_unslash() and use to it remove slashes from GPCS data before using it in core API. Almost every instance of stripslashes() in core should now be wp_unslash(). In the future (a release or three) when GPCS is no longer slashed, wp_unslash() will stop stripping slashes and simply return what is passed. At this point wp_unslash() calls can be removed from core.

Introduce wp_slash() for slashing GPCS data. This will also turn into a noop once GPCS is no longer slashed. wp_slash() should almost never be used. It is mainly of use in unit tests.

Plugins should use wp_unslash() on data being passed to core API.

Plugins should no longer slash data being passed to core. So when you get_post() and then wp_insert_post() the post data from get_post() no longer needs addslashes(). Most plugins were not bothering with this. They will magically start doing the right thing. Unfortunately, those few souls who did it properly will now have to avoid calling addslashes() for 3.6 and newer.

Use wp_kses_post() and wp_kses_data(), which expect unslashed data, instead of wp_filter_post_kses() and wp_filter_kses(), which expect slashed data. Filters are no longer passed slashed data.

Remove many no longer necessary calls to $wpdb->escape() and esc_sql().

In wp_get_referer() and wp_get_original_referer(), return unslashed data.

Remove old stripslashes() calls from WP_Widget::update() handlers. These haven't been necessary since WP_Widget.

Switch several queries over to prepare().

Expect something to break.

Props alexkingorg
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-14 22:51:06 +00:00
Andrew Nacin 9bba27f4e5 Fix various typos and omissions across a number of help tabs. props DrewAPicture, Ipstenu. see #22451.
git-svn-id: http://core.svn.wordpress.org/trunk@22812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-22 08:45:15 +00:00
Andrew Nacin 33af30eb7f Use the regular post type UI for editing single media items (attachments).
* Attachments now go through post.php, edit_post(), the like, and have show_ui set to true.
 * Taxonomies attached to the media library now appear in the admin menu (if show_ui).
 * Editing, cropping, uploading, etc. is still very rough, but mostly functional.

API-wise:
 * New function: get_taxonomies_for_attachments(). Like get_taxonomies(), for taxonomies specifically registered against attachments.
 * Brings taxonomy support from the posts list table to the media list table. Expect them to converge soon.
 * wp_insert_attachment() now handles taxonomies like wp_insert_post(). Also expect them to converge soon.
 * New edit_form_after_title hook.

props helenyhou, ocean90. see #21391.



git-svn-id: http://core.svn.wordpress.org/trunk@21948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 22:52:54 +00:00
ryan c76116505e Give Add New button on edit taxonomy pages primary button styling. Props JustinSainton. fixes #21406
git-svn-id: http://core.svn.wordpress.org/trunk@21365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 18:41:42 +00:00
ryan fdae8f9b42 Fix some spelling errors. Props thee17. fixes #21191
git-svn-id: http://core.svn.wordpress.org/trunk@21333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:06:13 +00:00
ryan f45383244d Fix per_page screen option for custom post types and taxonomies. Don't convert taxonomy and post type slugs from hyphen to underscore when saving the per_page usermeta. Props nacin. see #18958
git-svn-id: http://core.svn.wordpress.org/trunk@21322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:13:13 +00:00
azaozz 34535097b7 Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar).
Add tabindex="-1" for the menu images links to avoid double tab stops there when the menu is expanded.

Fix/add auto-focus on the first input fields on the Add/Edit Post, all taxonomy, all edit taxonomy, Log In and Edit Comment screens.

See #21340.

git-svn-id: http://core.svn.wordpress.org/trunk@21311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 00:15:15 +00:00
markjaquith 52e3f32f5d Periods at the ends of sentences should be in the translated string, not outside it. Fixes an instance of that on the Tags page. props Nao. fixes #21131
git-svn-id: http://core.svn.wordpress.org/trunk@21216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:06:19 +00:00
ryan e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan 07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
ryan 6bba5a265b Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:51:35 +00:00
ryan 8ace5a6b4c Use WP_Screen::add_help_tab(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:22:07 +00:00
nacin 10cd387b2e Split chunk of help text on edit-tags.php into 'Adding Categories' and 'Adding Tags' tabs, respectively. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:51:34 +00:00
koopersmith fcdf942e04 Use 3.3 help API on edit tags page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:37:04 +00:00
ryan efbbab1b3c Help tabs. Props chexee. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:21:39 +00:00
ryan 73432f9c5a Use taxnow to determine the taxonomy for GET and POST requests in edit-tags.php. Props nacin. fixes #19131
git-svn-id: http://svn.automattic.com/wordpress/trunk@19253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:44:16 +00:00
nacin bfb98c193e s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:14:10 +00:00
ryan 3ad1f67958 Use add_help_sidebar(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 03:12:37 +00:00
ryan 62afab8db3 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:13:23 +00:00
ryan 3dc95bc55a Don't filter taxonomy list. see #18983
git-svn-id: http://svn.automattic.com/wordpress/trunk@18990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 16:33:31 +00:00
ryan 99d80d6b4a Avoid notices when viewing non-existent taxonomy. Props ocean90, johnbillion. fixes #18716
git-svn-id: http://svn.automattic.com/wordpress/trunk@18966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 18:55:40 +00:00
ryan c28bd6af03 Die when attempting to edit non-existent term. Props johnbillion. fixes #18718
git-svn-id: http://svn.automattic.com/wordpress/trunk@18954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 20:30:50 +00:00
nacin 795ca8d394 Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 04:57:12 +00:00
azaozz bbafdfa0e5 Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 04:00:57 +00:00
azaozz 3575537e5f Add screen_options with contextual content, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 06:59:36 +00:00
nacin 4319712d64 Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 17:52:46 +00:00
ryan 8192d0dae8 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
nacin 9cb6e158fc Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:24:49 +00:00
ryan f63ccddadb Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:36 +00:00
westi 9400a59207 Don't redirect continually on empty search results pages. Fixes #16357 props garyc40
git-svn-id: http://svn.automattic.com/wordpress/trunk@17366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-26 09:56:17 +00:00
ryan b345e996c7 Pagination fixes. Props garyc40. fixes #16357
git-svn-id: http://svn.automattic.com/wordpress/trunk@17361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:20:20 +00:00
nacin 37075f7f71 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:47:24 +00:00
nacin 94eb65baa0 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:34:38 +00:00
nacin 7c5fd789ac Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:06:33 +00:00
ryan 0a2e59988d Fix menu highlight for link category edit. Props duck_. fixes #15877
git-svn-id: http://svn.automattic.com/wordpress/trunk@17041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 16:48:20 +00:00
nacin 411b6fed54 Help fixes. props zeo, fixes #15346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 03:32:46 +00:00
scribu cfe09b99e5 Introduce WP_List_Table::search_box(). See #15353
git-svn-id: http://svn.automattic.com/wordpress/trunk@17006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 20:45:10 +00:00
scribu 5fce5c6d14 Always display the table, with a placeholder row when there are no items. Fixes #15849
git-svn-id: http://svn.automattic.com/wordpress/trunk@17002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:05:14 +00:00
westi ad2ab9b7ae Ensure we always have a $help to append to. Fixes #15845 props garyc40.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 13:09:16 +00:00
nacin cc08068dba Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:43:22 +00:00
nacin 1cd758dc89 Help text edits. props dougwrites, fixes #15346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:37:03 +00:00
scribu f75da0a4ab Fix edit-tags button conflict. Props batmoo. Fixes #15356
git-svn-id: http://svn.automattic.com/wordpress/trunk@16655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 18:21:42 +00:00
ryan 847499e531 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
scribu 866c6e1faa submit_button() fixes. Props sbressler. See #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:49:53 +00:00
nacin dc07485821 Set $tax as the taxonomy object, and kill off our colliding global from menu construction. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 03:28:09 +00:00
westi 3f5ab5b9bf Extra cap checks. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 10:07:35 +00:00
westi 5e90c5d1c3 Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:07:03 +00:00
scribu 3ded7f7c68 complete the renaming. props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 22:06:45 +00:00
westi ad92d629d6 The big renaming of the list-table class files.
See #14579

git-svn-id: http://svn.automattic.com/wordpress/trunk@16128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:19:50 +00:00
markjaquith fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
nacin 76637b68e3 Fix comment.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 06:52:33 +00:00
nacin 48d8763734 Commit the rest of [15955]. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 02:58:25 +00:00
dd32 508bbe1fe8 The Hook that never was. Use correct / Revert back-compat hookname changes in [15820]. See #12285
git-svn-id: http://svn.automattic.com/wordpress/trunk@15823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-16 23:50:09 +00:00
scribu 0999cc3cdf Get rid of old link category management files. Fixes #12285
git-svn-id: http://svn.automattic.com/wordpress/trunk@15820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-16 13:26:54 +00:00
ryan 9c31fd7c70 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
scribu e975e650cf Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 00:10:39 +00:00
scribu 75219a5110 Introduce get_list_table(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 00:51:44 +00:00
scribu cae0e969ce replace $table with $wp_list_table. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 11:22:46 +00:00
scribu c6056827ed Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:21:05 +00:00
scribu 020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
ryan d9f3dd305a Add cap check. see #14343
git-svn-id: http://svn.automattic.com/wordpress/trunk@15441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-18 13:59:53 +00:00
ryan 59b28172be Add cap check. Props duck_. see #14343
git-svn-id: http://svn.automattic.com/wordpress/trunk@15439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-18 13:53:58 +00:00
nacin 57bc2fd164 Make Categories/Tags columns on edit.php properly aware of post types. Also ensure AJAX add-tag on edit-tags.php is given the post type. fixes #14061 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 01:05:53 +00:00
markjaquith e3d5fb602b Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: http://svn.automattic.com/wordpress/trunk@15263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-15 20:07:02 +00:00
ryan c614b6d0a2 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: http://svn.automattic.com/wordpress/trunk@15220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:53:41 +00:00
nacin 6f289a7be8 Check for the import cap before showing links to the tag/cat converter. props kpdesign, fixes #13834.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 00:00:47 +00:00
ryan 2439833a7e Set the screen for add-tag ajax requests. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 16:52:25 +00:00
ryan 1849b362b0 Make set_current_screen() taxonomy aware. Use current_screen when setting up table headers for edit-tags.php. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 15:34:42 +00:00
ryan a4d9ebdd9b Don't call wp_tag_cloud() at all for hierarchical taxonomies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 19:18:09 +00:00
ryan b5ed0f428a Don't show a cloud for hierarchical taxonomies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 19:14:27 +00:00
nacin 6c7120ff14 target=blank help fixes. props zeo, fixes #13467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 03:42:43 +00:00
nacin fc172d4d9a Help whitespace/punctuation cleanup. props zeo, see #13467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 16:16:40 +00:00
nbachiyski bb00d56a67 Menu translatable strings cleanup.
* Take out <strong> of the translatable part of For more information:
 * Include support forums and Codex links inside translations, because most translators would want to change them to their local documentation sites or Codex prefixes


git-svn-id: http://svn.automattic.com/wordpress/trunk@14989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:52:15 +00:00
nacin 5398fafd1b Revert [14853], [14778], returning tag/cat converter to tools.php and edit-tags.php. Link to import.php instead of the converter directly as it may not be installed. see #13566.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:35:11 +00:00
ryan 5890576cf9 strong FMI. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 21:08:23 +00:00
nacin c214836ce3 Only show slug help text when global terms are disabled. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 00:09:49 +00:00
ryan 68bfd98708 Help for cats and tags. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 23:49:40 +00:00
ryan bb0e7c967c Don't link to cat2tag importer since it might not be installed. see #13465
git-svn-id: http://svn.automattic.com/wordpress/trunk@14853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:54:46 +00:00
nacin c6d21e7fbb Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 21:46:25 +00:00
nbachiyski 4cf46b6d96 I18n for custom taxonomies. Fixes #13357
git-svn-id: http://svn.automattic.com/wordpress/trunk@14614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:34:04 +00:00
nacin 44de0d4ff9 Change is_multisite check for hiding a term slug on edit-tags.php to checking for global terms.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:12:57 +00:00
nacin af91e5264a Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:10:17 +00:00
nacin 6ec7cb4540 Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
dd32 e97deb4b05 Display "Edit $taxonomy" on edit-tags.php Edit screen. Props jfarthing84. See #12746
git-svn-id: http://svn.automattic.com/wordpress/trunk@13876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 10:23:25 +00:00
dd32 8c6fb6f8ec Change form field ID's to prevent ID clashes with listing table column headers. See #11937
git-svn-id: http://svn.automattic.com/wordpress/trunk@13852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:42:34 +00:00
nacin 30d6eb32c6 Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
ryan e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
dd32 2209054062 Fix no-redirect on no-js taxonomy term additions
git-svn-id: http://svn.automattic.com/wordpress/trunk@13693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 10:37:41 +00:00
dd32 1b564b41f5 Use get_terms() in wp_count_terms(). Props scribu. Fixes #10746
git-svn-id: http://svn.automattic.com/wordpress/trunk@13491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 07:37:24 +00:00
dd32 2cc01f59cb Add Tag::Cat converters to the Tools page. Props ninjaWR. Add Tag->Cat converter links on Manage Tags page. Fixes #8634
git-svn-id: http://svn.automattic.com/wordpress/trunk@13450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 04:04:36 +00:00
ryan dbfb51c6e0 Trim trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@13268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:03:42 +00:00
dd32 fa9cd83410 Use the public query param instead of show_ui to determine if the Post Type is displayable. Props jfarthing84. See #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:05:13 +00:00
dd32 8c26cffe1b Fix $post_type handling/passing in the Taxonomy edit links. Fix the Tag selection query var for edit.php in the Posts links. See #12270, See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 09:54:18 +00:00
nacin 6597e399cc Only show "Popular Terms" header when there is a tag cloud to show. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 09:05:56 +00:00
dd32 ea6e709e1d Fix Terms Per Page for taxonomies, Apply old Category filter to value. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:52:33 +00:00
dd32 8a5c11e08c Introduce Custom Taxonomies Translation strings, Correctly identifies the taxonomy in the Strings of the edit pages. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:08:16 +00:00
ryan a35ead034f Use show_ui instead of _show. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 17:43:29 +00:00
dd32 d7f782322a Rename new taxonomy page hooks to prevent hook conflicts. See #12171
git-svn-id: http://svn.automattic.com/wordpress/trunk@13035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 10:56:39 +00:00
ryan c9d92fc859 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:02:23 +00:00
dd32 fc39e39397 Migrate Category Edit UI hooks, Standardise on custom-taxonomies hooks, add custom-fields for taxonomies UI hooks. See #11838, Fixes #11191
git-svn-id: http://svn.automattic.com/wordpress/trunk@12941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 10:51:58 +00:00
dd32 bebd9a060a Display correct Taxonomy heading. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 12:13:24 +00:00
dd32 32adec13a9 First scratch at Taxonomy Capabilities. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@12833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:32:04 +00:00
dd32 34cc6ab57e Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 11:00:27 +00:00
dd32 5d46993b15 Fix Tag paging number whilst searching. Fixes #11989
git-svn-id: http://svn.automattic.com/wordpress/trunk@12816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 02:07:13 +00:00
ryan 6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
wpmuguru 346f859e12 merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:11:52 +00:00
ryan 2ff7f83b99 Add post_type inputs. Fix submenu highlighting. Props dd32. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:24:56 +00:00
ryan 45ec04e3e9 Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: http://svn.automattic.com/wordpress/trunk@12616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:01:52 +00:00
ryan da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
azaozz 4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
azaozz 29f3124366 Fix typo in edit-tags.php (proper patch), props nacin, fixes #11350 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 06:30:16 +00:00
azaozz 61dda68ef7 Fix typo in edit-tags.php, props nacin, fixes #11350 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 06:22:44 +00:00
ryan 657aa5adc3 Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
git-svn-id: http://svn.automattic.com/wordpress/trunk@12375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 23:14:43 +00:00
azaozz ae20d06e94 Fix errors when bulk actions executed on empty list, props nacin, see #11184
git-svn-id: http://svn.automattic.com/wordpress/trunk@12317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 01:43:49 +00:00
westi 492be21173 Some admin copy improvements fixes. #6362 props xenlab and ninjaWR.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:16:16 +00:00
azaozz f385e7da46 Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
git-svn-id: http://svn.automattic.com/wordpress/trunk@11676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 08:12:39 +00:00
ryan 26a7d0ef4f Fix search for custom taxonomies. Props gortsleigh. fixes #9971
git-svn-id: http://svn.automattic.com/wordpress/trunk@11481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-29 02:54:44 +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
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
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
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 9ef2afc85b attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 06:37:51 +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
azaozz 29f9a48eaa CSS cleanup and fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 04:41:05 +00:00
ryan f2208f3c91 Add per page screen option for tags
git-svn-id: http://svn.automattic.com/wordpress/trunk@10909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 21:52:57 +00:00
azaozz 9d35395cb5 Tag descriptions, props aaroncampbell, fixes #9381
git-svn-id: http://svn.automattic.com/wordpress/trunk@10903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-09 16:00:40 +00:00
ryan 94e5cffaa7 Remember page when redirecting after tag edit. Props Viper007Bond. fixes #9220 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 05:24:20 +00:00
azaozz 90aeee2ce4 Fix highlighting for custom taxonomies menus
git-svn-id: http://svn.automattic.com/wordpress/trunk@10569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-14 02:37:10 +00:00
ryan 53d6b4e598 Bail if invalid taxonomy given
git-svn-id: http://svn.automattic.com/wordpress/trunk@10556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 00:19:42 +00:00
ryan 556a4b2a05 More custom taxonomy support for edit-tags.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@10555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 00:00:01 +00:00
ryan 57c3eba439 Add taxonomy argument to wp_tag_cloud()
git-svn-id: http://svn.automattic.com/wordpress/trunk@10554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-11 23:41:29 +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 22a1c35cea get_previous_comments_link() and get_next_comments_link(). Props Viper007Bond. fixes #8058 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-22 19:33:09 +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
azaozz 0927fbcc0d Action -> Bulk Action for manage screens, props FFEMTcJ, fixes #8375
git-svn-id: http://svn.automattic.com/wordpress/trunk@10049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:57:56 +00:00
azaozz 0284ef6ae0 Easier translation for search strings in H2s
git-svn-id: http://svn.automattic.com/wordpress/trunk@10035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 12:01:02 +00:00
azaozz e53337ede8 Add search string to H2s, fixes #8373
git-svn-id: http://svn.automattic.com/wordpress/trunk@10034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 09:20:52 +00:00
azaozz b2ded29b9f Fix QE colspan in ie6/7, fixes #8262
git-svn-id: http://svn.automattic.com/wordpress/trunk@9969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 23:09:04 +00:00
azaozz f36c6cf666 Pagination arrow replacement, fixes #8363
git-svn-id: http://svn.automattic.com/wordpress/trunk@9914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 00:28:24 +00:00
azaozz 7c68e6945a Screen icons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 13:51:25 +00:00
westi 72038d2df4 Allow a plugin to control the number of tags per edit tags page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 08:48:57 +00:00
ryan cf333304bb Page link styling improvements. Props iammattthomas. fixes #8266
git-svn-id: http://svn.automattic.com/wordpress/trunk@9746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 00:59:57 +00:00
ryan 5c5d1aef4d Key screen meta off of page hook. fixes #8246
git-svn-id: http://svn.automattic.com/wordpress/trunk@9735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 19:16:26 +00:00
azaozz a4da82e877 CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:01:00 +00:00
azaozz 7e200d589d Consolidate six more js files
git-svn-id: http://svn.automattic.com/wordpress/trunk@9631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 09:35:50 +00:00
ryan cc7c443f62 Move screen_meta() to admin header. Add all meta boxes before requiring admin-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 22:40:16 +00:00