Commit Graph

430 Commits

Author SHA1 Message Date
Ryan Boren 9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
scribu 33f73ce32f Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15542 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 01:07:21 +00:00
scribu 8993abd1be use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15539 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:18:57 +00:00
Ryan Boren 5dc92cb07f Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
git-svn-id: https://develop.svn.wordpress.org/trunk@15183 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 21:59:13 +00:00
Andrew Nacin 53d3846f6a target=blank for help. props jorbin, see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@15132 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 21:00:39 +00:00
Andrew Nacin b86872f25f Don't add the Featured Image meta box in MS if image uploads are disabled. fixes #13700
git-svn-id: https://develop.svn.wordpress.org/trunk@15119 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 21:38:26 +00:00
Andrew Nacin 8c693e492e Help fixes, props jane. fixes #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15103 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 05:54:14 +00:00
Ryan Boren 52246de342 Entities cleanup for help. Props zeo. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@15094 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 17:44:38 +00:00
Andrew Nacin e89212637d Help whitespace/punctuation cleanup. props zeo, see #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15054 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 16:16:40 +00:00
Nikolay Bachiyski 4078b8a301 Take out <strong> of translatable string For more information:
git-svn-id: https://develop.svn.wordpress.org/trunk@15031 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 10:14:09 +00:00
Andrew Nacin 4309532104 Help text typo fixes. props jorbin, dougwrites. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@15001 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 19:20:52 +00:00
Nikolay Bachiyski 432ac03fb2 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: https://develop.svn.wordpress.org/trunk@14989 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:52:15 +00:00
Andrew Nacin c510c0d0a6 Call the 'Attributes' meta box 'Page Attributes' for pages. Add some help text. fixes #13539.
git-svn-id: https://develop.svn.wordpress.org/trunk@14967 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 00:16:34 +00:00
Ryan Boren ab192e1c7b strong FMI. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14961 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:07:53 +00:00
Ryan Boren cd201ff6b2 Post and page help. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14929 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 03:36:04 +00:00
Ryan Boren ef30927604 Help text for edit form. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14868 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 01:43:07 +00:00
Andrew Nacin 2d64541566 Add post_updated_messages filter. Include explicit indexes in the arrays to make it easier for plugin authors to follow. fixes #13444.
git-svn-id: https://develop.svn.wordpress.org/trunk@14801 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 05:40:29 +00:00
Nikolay Bachiyski 599c19481e I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:34:04 +00:00
Andrew Nacin 323342deec Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14585 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 20:45:18 +00:00
Ron Rennick b30b30b943 allow super admins to edit authors on all sites, props mtdewvirus, fixes #13270
git-svn-id: https://develop.svn.wordpress.org/trunk@14554 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 22:46:35 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Dion Hulse 64340690f9 Move nonces into better locations, Currently nested within the Editor support, which is not always enabled. Props duck_. Fixes #12867
git-svn-id: https://develop.svn.wordpress.org/trunk@14148 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 09:23:03 +00:00
Andrew Nacin ec4f5b83bf Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +00:00
Andrew Nacin d76c69f054 Escape some permalinks. add_query_arg will &, not &amp;, so we need to use esc_url those when used in an attribute. fixes #12126.
git-svn-id: https://develop.svn.wordpress.org/trunk@14137 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:01:19 +00:00
Andrew Nacin e3e9a8e5c8 Don't enqueue unnecessary scripts when the post type doesn't support the editor. fixes #12590, props scribu, _duck.
git-svn-id: https://develop.svn.wordpress.org/trunk@14107 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 14:03:48 +00:00
Andrew Nacin 25a910c025 Add actions to the form tags of user-new, user-edit, and post edit. props sivel, fixes #11933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14106 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 13:57:57 +00:00
Andrew Nacin 7456b2d56c Fix display of 'enter title here'. see #12591
git-svn-id: https://develop.svn.wordpress.org/trunk@13969 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 12:27:46 +00:00
Andrew Nacin 76049e428d Add 'enter title here' text to title box. see #12591
git-svn-id: https://develop.svn.wordpress.org/trunk@13964 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 10:23:17 +00:00
Ryan Boren af71e20215 Move wp-ajax_add-tax hook back to registration. Reverts part of [13924]. see #10437
git-svn-id: https://develop.svn.wordpress.org/trunk@13946 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 17:07:30 +00:00
Dion Hulse 842e844bc5 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: https://develop.svn.wordpress.org/trunk@13940 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 06:12:49 +00:00
Dion Hulse 312438ad06 Use the taxonomy show_ui flag to control if all WordPress generated UI is exposed (Menu previously, This affects metaboxes). See #10437
git-svn-id: https://develop.svn.wordpress.org/trunk@13924 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 01:23:58 +00:00
Mark Jaquith 6d32e21468 Use correct post type label in a few key places.
git-svn-id: https://develop.svn.wordpress.org/trunk@13916 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 20:14:26 +00:00
Ryan Boren b8fb00fc92 Allow enabling/disabling title and editor per post type. Introdoce remove_post_type_support(). Add enable/disable for author override. Props scribu. fixes #12590
git-svn-id: https://develop.svn.wordpress.org/trunk@13710 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 21:16:41 +00:00
Ryan Boren 96ace89041 wp_get_shortlink() and pluggable shortlink generation. fixes #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13635 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 19:36:38 +00:00
Dion Hulse 897529ea59 More Taxonomy cap checks. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13217 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:26:44 +00:00
Mark Jaquith 2d54780d5e Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +00:00
Ryan Boren 5bc5965535 Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12937 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:54:42 +00:00
Ryan Boren 12c49c44f4 Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12927 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 17:37:03 +00:00
Ryan Boren 8d029acd42 Don't hardcode post type. Props typeomedia. fixes #12067
git-svn-id: https://develop.svn.wordpress.org/trunk@12887 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:21:26 +00:00
Dion Hulse 8c6e15b457 First scratch at Taxonomy Capabilities. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12833 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 11:32:04 +00:00
Ryan Boren e5a67cebd5 Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren 2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Dion Hulse 333b3c517c Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674. Fixes #11703
git-svn-id: https://develop.svn.wordpress.org/trunk@12751 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 11:44:51 +00:00
Ryan Boren b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00
Ryan Boren aa053ad0cc Always use post.php for form action. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12710 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 19:03:03 +00:00
Ryan Boren 9b510ecec4 Merge page.php into post.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12708 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 16:50:37 +00:00
Ryan Boren 397ae0d74b Merge edit-page-form.php into edit-form-advanced.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12695 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:42:45 +00:00
Ryan Boren c4c46a3070 Post type caps. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12682 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 01:23:14 +00:00
Ryan Boren 7e6f603296 Revert extra bits that snuck in with [12650]
git-svn-id: https://develop.svn.wordpress.org/trunk@12651 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 19:55:48 +00:00