Commit Graph

544 Commits

Author SHA1 Message Date
Ryan Boren 41697f3910 Attachment editor improvements. Put the non-editable metadata into the submit/publish box.
Props helenyhou
see #21391


git-svn-id: https://develop.svn.wordpress.org/trunk@22364 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 14:04:22 +00:00
Ryan Boren 308c702183 Use the create_posts capability in more places.
In get_post_type_capabilities(), make sure create_posts reflects customizations to the edit_posts capability when create_posts is not specifically set.


git-svn-id: https://develop.svn.wordpress.org/trunk@22291 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-24 22:15:43 +00:00
Daryl Koopersmith 1758d1aae3 Add QuickPress support for new media workflow.
* Adds the code required to include the new media scripts, styles, and settings to `media_button()`.
* Improves script dependencies, namely making `media-upload` require `media-views`.
* Some CSS tweaks for the making the new button work well with QuickPress.

see #21390, fixes #22021.


git-svn-id: https://develop.svn.wordpress.org/trunk@22072 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 20:04:34 +00:00
Andrew Ozz 5ad7fe8cd6 Main editor: maintain the height when switching Visual to Text and back, save the height when resizing as user state, output the height in the textarea tag when loading, (thanks @nacin for the help), fixes #21718
git-svn-id: https://develop.svn.wordpress.org/trunk@22007 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 03:30:21 +00:00
Ryan Boren 48cd2a2299 Add help to the attachment editor. Props DrewAPicture. see #21391
git-svn-id: https://develop.svn.wordpress.org/trunk@21968 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-24 13:13:09 +00:00
Daryl Koopersmith 0a0732f9ab Makes custom TinyMCE views easier to implement.
For details and examples, see the ticket.

props azaozz, fixes #21812.


git-svn-id: https://develop.svn.wordpress.org/trunk@21961 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-24 00:13:18 +00:00
Andrew Nacin 991be145a9 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: https://develop.svn.wordpress.org/trunk@21948 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-21 22:52:54 +00:00
Andrew Nacin 1c58ef9f33 Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598.
git-svn-id: https://develop.svn.wordpress.org/trunk@21944 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-21 19:34:23 +00:00
Daryl Koopersmith 7d6e53317c New button styles.
Using the new buttons:

* Button classes are now stackable.
* All buttons should use a base class of "button".
* Buttons default to the gray style (formerly "button-secondary"). Buttons can add a style by adding additional classes. To make a primary button, add the "button-primary" class.
* Buttons can be rendered in various sizes. In addition to the default size, you can add "button-large", "button-small", or "button-tiny".

For backwards compatibility reasons, "button-primary" and "button-secondary" both work as standalone classes.

get_submit_button() has been adjusted to handle shorthand button classes (i.e. button classes can be passed without the "button-" prefix).

props lessbloat, helenyhou, trepmal, nacin. see #21598.



git-svn-id: https://develop.svn.wordpress.org/trunk@21789 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-08 04:58:34 +00:00
Daryl Koopersmith 5a4a17687a Add new media workflow scripts, styles, and templates.
Please note that this commit does not integrate media into the existing UI. If you would like to see the new UI, navigate to the post editor and run the following in your browser's Javascript console:

	new wp.media.controller.Workflow().render().modal.open();


The Javascript is broken up into two files, with the slugs media-models and media-views.

* media-models: The models are UI agnostic, and can be used independent of the views. If you'd like to create custom UIs, this is the script for you.

* media-views: This is the Media Experience. The views (and controllers) depend on the models (which are listed as a dependency and will automatically be included thanks to wp_enqueue_script). The views also require the media templates, media-view styles, and the plupload bridge settings. Perhaps we should create a function to include the whole shebang, but in the meantime...

To include media-views in the admin, run the following PHP in or after 'admin_enqueue_scripts':

	wp_enqueue_script( 'media-views' );
	wp_enqueue_style( 'media-views' );
	wp_plupload_default_settings();
	add_action( 'admin_footer', 'wp_print_media_templates' );

see #21390.



git-svn-id: https://develop.svn.wordpress.org/trunk@21683 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-31 04:54:23 +00:00
Andrew Ozz 877e8f6a2a Don't hide the label for the Title on the Edit Post screen, use 'screen-reader-text' instead, props SergeyBiryukov, fixes #21458
git-svn-id: https://develop.svn.wordpress.org/trunk@21584 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 17:40:17 +00:00
Ryan Boren 4974f5f233 Remove post type from post nonces. Fixes attachment deletion when EMPTY_TRASH_DAYS is 0. Props c3mdigital, kurtpayne, SergeyBiryukov. fixes #21194
git-svn-id: https://develop.svn.wordpress.org/trunk@21504 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 18:39:15 +00:00
Andrew Ozz 6e6b727315 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: https://develop.svn.wordpress.org/trunk@21311 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-24 00:15:15 +00:00
Andrew Ozz 446b40235f TinyMCE: fix tabbig in and out of the editor, fixes #20834
git-svn-id: https://develop.svn.wordpress.org/trunk@21300 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-22 02:33:53 +00:00
Mark Jaquith 5d74a50af4 Switch "HTML" tab to "Text" in DFW mode. Update documentation and inline comments to refer to the "Text" tab or mode instead of "HTML". see #20993
git-svn-id: https://develop.svn.wordpress.org/trunk@21212 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 15:28:13 +00:00
Andrew Ozz 3ca0c089f2 Fix closing div position when post doesn't support editor, props markoheijnen, SergeyBiryukov, fixes #20709
git-svn-id: https://develop.svn.wordpress.org/trunk@20832 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-20 22:20:00 +00:00
Ryan Boren d04dbfb0e5 Clean out layout columns API in WP_Screen.
* Move layout column setup into render_screen_meta() so that the number of columns is available earlier.
* Store the user provisioned number of columns in an instance var.
* Access the var with get_columns()
* Move all templates away from the screen_layout_columns global to the get_columns() method.
* Deprecate the global
* Remove the no longer needed check for 'auto' in the user option.
* Cast the user option to an int.

Props griffinjt
fixes #20506


git-svn-id: https://develop.svn.wordpress.org/trunk@20579 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 20:46:04 +00:00
Andrew Ozz aff09817e7 Dashboard and write screen columns: remove unneeded class from the .wrap div on Write/Edit screens, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20570 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 22:40:59 +00:00
Andrew Ozz 3b9e5468e1 Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20433 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 02:20:51 +00:00
Andrew Ozz 74cfcd36e3 Responsive columns on the dashboard and write screens, first run, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20272 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 21:41:00 +00:00
Ryan Boren 676ba7043e Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Daryl Koopersmith 9270d2e101 Fix grammar and remove references to 'new in 3.2' in the post editor help text. props dougwrites, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19475 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 17:47:35 +00:00
Andrew Ozz 596034c7c9 Fix tabbing from 'title' to 'content', see #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19206 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 19:49:50 +00:00
Andrew Nacin 6114e7218d Only call wp_comment_reply() on post.php if the post type supports comments. props zeo, fixes #17931.
git-svn-id: https://develop.svn.wordpress.org/trunk@19170 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 05:41:25 +00:00
Andrew Nacin 33ee9a7d04 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: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:14:10 +00:00
Ryan Boren 4709ef3dc2 Chain off of get_current_screen() instead of using global. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19110 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 02:38:37 +00:00
Ryan Boren fd10e500e4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:13:23 +00:00
Ryan Boren 5914353c06 Update meta box functions to handle WP_Screen objects and pass objects instead of IDs to them in core files. Allow passing emptiness to get the current screen. see #18958
git-svn-id: https://develop.svn.wordpress.org/trunk@19013 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:43:02 +00:00
Andrew Nacin 8f0389b3e9 Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18941 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 19:29:09 +00:00
Andrew Nacin 2efff75050 Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18911 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:57:12 +00:00
Andrew Nacin 0a6ff4024f Kill the multisite mu_media_buttons option. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18892 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:04:09 +00:00
Andrew Ozz 22f4cdc7d7 Revert 'auto' column setting, props markjaquith, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18889 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:46:21 +00:00
Andrew Ozz 98554b4bb6 Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18867 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 04:00:57 +00:00
Andrew Ozz d0d3855285 Add screen_options with contextual content, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18864 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 06:59:36 +00:00
Daryl Koopersmith a5acbaa574 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Andrew Ozz b969d2ea80 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: https://develop.svn.wordpress.org/trunk@18823 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:52 +00:00
Andrew Nacin 35edc4264d Release a user's post lock when the user leaves a post. see #18515.
git-svn-id: https://develop.svn.wordpress.org/trunk@18796 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 20:52:07 +00:00
Daryl Koopersmith 0b3d90ee53 Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:03:38 +00:00
Andrew Ozz f465d0e766 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18736 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 06:16:24 +00:00
Andrew Ozz 13c777eb39 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18667 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 07:02:46 +00:00
Andrew Ozz e4fdcbd347 Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18625 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 23:18:18 +00:00
Andrew Ozz 77892dfba6 Improve auto column switching for post.php, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18607 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 22:55:39 +00:00
Andrew Ozz 9734668734 Fix Press This editors, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18570 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 01:14:56 +00:00
Andrew Ozz 461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Mark Jaquith 2aea6faf97 Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
git-svn-id: https://develop.svn.wordpress.org/trunk@18234 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 17:02:03 +00:00
Ryan Boren 424f188ce1 Remove redundant hidden parent_id input from edit form. Props solarissmoke. fixes #17656
git-svn-id: https://develop.svn.wordpress.org/trunk@18112 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 15:26:01 +00:00
Peter Westwood 7fa99c4253 Help Tab text updatates. Fixes #17312 prop dougwrites.
git-svn-id: https://develop.svn.wordpress.org/trunk@18092 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 15:37:04 +00:00
Andrew Ozz 276131adc7 s/autosave/autosave-message to show these messages again, fixes #17624
git-svn-id: https://develop.svn.wordpress.org/trunk@18076 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 19:53:18 +00:00
Mark Jaquith 414d10d316 Add New links when editing content. fixes #17499
git-svn-id: https://develop.svn.wordpress.org/trunk@17962 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 01:34:34 +00:00
Andrew Ozz 8b325c5f71 Maximum i18n flexibility for word count, props nacin, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17940 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 04:25:15 +00:00
Andrew Ozz 89b108095f Fix autosave and word count for DFW HTML editor, always update word count on autosave, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17936 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-16 06:17:44 +00:00
Andrew Nacin f504e221e1 Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: https://develop.svn.wordpress.org/trunk@17748 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:24:49 +00:00
Andrew Ozz 07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Mark Jaquith 2c7004c199 Do not output an HTML ID on the (potentially duplicate) hidden parent_id field. props nacin. fixes #13179 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17445 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-13 14:44:16 +00:00
Andrew Nacin 861b32c855 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17372 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-31 12:18:57 +00:00
Andrew Nacin c55cecbcfb s/Discuusion/Discussion/. props dougwrites, fixes #15870.
git-svn-id: https://develop.svn.wordpress.org/trunk@17035 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 22:21:58 +00:00
Andrew Nacin 7feeb0a320 Help text edits. props dougwrites, fixes #15346.
git-svn-id: https://develop.svn.wordpress.org/trunk@16980 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:37:03 +00:00
Andrew Nacin 87bd5a6187 Italicize. see #15376.
git-svn-id: https://develop.svn.wordpress.org/trunk@16971 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:25:39 +00:00
Andrew Nacin dd73d5d9d3 Post formats help text. fixes #15376.
git-svn-id: https://develop.svn.wordpress.org/trunk@16969 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:24:34 +00:00
Mark Jaquith 86ab422fcc Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@16678 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 02:42:38 +00:00
scribu 1a294648a8 Don't show permalink box unless the post type is publicly queryable. Props filosofo. Fixes #14321
git-svn-id: https://develop.svn.wordpress.org/trunk@16666 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:21:00 +00:00
scribu 8485c47b61 Prevent post_parent from being reset when there's no page attributes box. Props mikeschinkel. Fixes #13179
git-svn-id: https://develop.svn.wordpress.org/trunk@16657 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 18:50:24 +00:00
Peter Westwood c137fac98d Add Post formats info to the help text. Fixes #15376 props vegasgeek
git-svn-id: https://develop.svn.wordpress.org/trunk@16583 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 09:20:29 +00:00
Andrew Nacin b5178cd956 enter_title_here filter. fixes #13386.
git-svn-id: https://develop.svn.wordpress.org/trunk@16247 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:49:19 +00:00
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