Commit Graph

702 Commits

Author SHA1 Message Date
Andrew Ozz
522376a1f1 Improve AYS comparison on the Edit Attachment screen, props nacin, fixes #22491
git-svn-id: http://core.svn.wordpress.org/trunk@22795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-21 21:11:21 +00:00
Andrew Nacin
51f2e14b46 Use a variable that is set a few lines up. $post_id is set only in post.php, not post-new.php. fixes #21092.
git-svn-id: http://core.svn.wordpress.org/trunk@22742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-21 09:35:23 +00:00
Andrew Nacin
418c9985f7 Media: For pages, use 'Insert into page' rather than 'Insert into post'.
Custom post types can use the media_view_strings filter. No new post type "labels" for now.

see #22712. see #21092 (and #19696).



git-svn-id: http://core.svn.wordpress.org/trunk@22735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-20 23:22:03 +00:00
Andrew Ozz
0e38402629 Don't load autosave.js on the attachment editing screen, add simple AYS on unload if there are changes, props helenyhou, fixes #22491
git-svn-id: http://core.svn.wordpress.org/trunk@22725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-20 19:46:38 +00:00
Andrew Nacin
7e0061375a No-JS fixes.
* Hide QuickPress.
 * Hide the gap between the title and content editor.
 * Hide 'select all' checkboxes in list tables.
 * Hide a non-functioning link in the custom fields metabox.
 * Hide non-functioning buttons in the featured image box (same as in 3.4).
 * RTL and miscellany.

props TobiasBg, lessbloat, ocean90. fixes #22456.



git-svn-id: http://core.svn.wordpress.org/trunk@22719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-20 18:20:14 +00:00
Daryl Koopersmith
ce619e07f0 Media: Ensure media and its dependencies are included when a post type supports the editor or featured images. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-09 05:10:07 +00:00
Daryl Koopersmith
0a67c025e5 Media: Add wp_enqueue_media to easily include all media dependencies.
Also, media templates now print on `wp_footer`.

props sushkov. fixes #22060, see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-09 04:57:25 +00:00
Andrew Nacin
9acf7ceb26 edit_form_after_editor action. props helenyhou. fixes #19658.
git-svn-id: http://core.svn.wordpress.org/trunk@22446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-07 21:49:47 +00:00
Ryan Boren
ad724f3b7b Attachment editor improvements. Put the non-editable metadata into the submit/publish box.
Props helenyhou
see #21391


git-svn-id: http://core.svn.wordpress.org/trunk@22364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 14:04:22 +00:00
Ryan Boren
a550a6d489 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: http://core.svn.wordpress.org/trunk@22291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-24 22:15:43 +00:00
Daryl Koopersmith
0c42e6121a 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: http://core.svn.wordpress.org/trunk@22072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 20:04:34 +00:00
Andrew Ozz
563c7caac5 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: http://core.svn.wordpress.org/trunk@22007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 03:30:21 +00:00
Ryan Boren
a678273b61 Add help to the attachment editor. Props DrewAPicture. see #21391
git-svn-id: http://core.svn.wordpress.org/trunk@21968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 13:13:09 +00:00
Daryl Koopersmith
cd5f64584e Makes custom TinyMCE views easier to implement.
For details and examples, see the ticket.

props azaozz, fixes #21812.


git-svn-id: http://core.svn.wordpress.org/trunk@21961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 00:13:18 +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
Andrew Nacin
c1b0670c2d 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: http://core.svn.wordpress.org/trunk@21944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 19:34:23 +00:00
Daryl Koopersmith
67894a3407 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: http://core.svn.wordpress.org/trunk@21789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-08 04:58:34 +00:00
Daryl Koopersmith
c217397faa 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: http://core.svn.wordpress.org/trunk@21683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 04:54:23 +00:00
Andrew Ozz
9f02c68a00 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: http://core.svn.wordpress.org/trunk@21584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 17:40:17 +00:00
Ryan Boren
15dd7f70b0 Remove post type from post nonces. Fixes attachment deletion when EMPTY_TRASH_DAYS is 0. Props c3mdigital, kurtpayne, SergeyBiryukov. fixes #21194
git-svn-id: http://core.svn.wordpress.org/trunk@21504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 18:39:15 +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
azaozz
2309fcb9d7 TinyMCE: fix tabbig in and out of the editor, fixes #20834
git-svn-id: http://core.svn.wordpress.org/trunk@21300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-22 02:33:53 +00:00
markjaquith
813ca40b2f 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: http://core.svn.wordpress.org/trunk@21212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 15:28:13 +00:00
azaozz
7380c0be3e Fix closing div position when post doesn't support editor, props markoheijnen, SergeyBiryukov, fixes #20709
git-svn-id: http://core.svn.wordpress.org/trunk@20832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-20 22:20:00 +00:00
ryan
df7bd632f2 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: http://svn.automattic.com/wordpress/trunk@20579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 20:46:04 +00:00
azaozz
f5095b91d4 Dashboard and write screen columns: remove unneeded class from the .wrap div on Write/Edit screens, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-23 22:40:59 +00:00
azaozz
6aaf0dad43 Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014
git-svn-id: http://svn.automattic.com/wordpress/trunk@20433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 02:20:51 +00:00
azaozz
bba9c91990 Responsive columns on the dashboard and write screens, first run, see #20015
git-svn-id: http://svn.automattic.com/wordpress/trunk@20272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-23 21:41:00 +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
koopersmith
58191c0b6b Fix grammar and remove references to 'new in 3.2' in the post editor help text. props dougwrites, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:47:35 +00:00
azaozz
307f243ee4 Fix tabbing from 'title' to 'content', see #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 19:49:50 +00:00
nacin
fa76992c20 Only call wp_comment_reply() on post.php if the post type supports comments. props zeo, fixes #17931.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:41:25 +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
97d61ca5a2 Chain off of get_current_screen() instead of using global. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 02:38: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
d0d8eb2aaf 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: http://svn.automattic.com/wordpress/trunk@19013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:02 +00:00
nacin
35dd66044a Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 19:29:09 +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
nacin
5d33f15fb3 Kill the multisite mu_media_buttons option. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 22:04:09 +00:00
azaozz
f9ebf31d4a Revert 'auto' column setting, props markjaquith, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 18:46:21 +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
koopersmith
2d3fa6fcb8 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:24:44 +00:00
azaozz
75432d53b0 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: http://svn.automattic.com/wordpress/trunk@18823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:47:52 +00:00
nacin
de8cc0eae1 Release a user's post lock when the user leaves a post. see #18515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 20:52:07 +00:00
koopersmith
d417524b4a Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:03:38 +00:00
azaozz
ffca93b1f2 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 06:16:24 +00:00
azaozz
debc12b386 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 07:02:46 +00:00
azaozz
63969dbca7 Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 23:18:18 +00:00
azaozz
4e323dd08f Improve auto column switching for post.php, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 22:55:39 +00:00
azaozz
97ff3b4c7a Fix Press This editors, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 01:14:56 +00:00
azaozz
f634dd5af4 Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00
markjaquith
856c2742ca Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
git-svn-id: http://svn.automattic.com/wordpress/trunk@18234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 17:02:03 +00:00
ryan
3f7c9b5b76 Remove redundant hidden parent_id input from edit form. Props solarissmoke. fixes #17656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 15:26:01 +00:00
westi
1443193079 Help Tab text updatates. Fixes #17312 prop dougwrites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 15:37:04 +00:00
azaozz
c215525c41 s/autosave/autosave-message to show these messages again, fixes #17624
git-svn-id: http://svn.automattic.com/wordpress/trunk@18076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 19:53:18 +00:00
markjaquith
188f57edfa Add New links when editing content. fixes #17499
git-svn-id: http://svn.automattic.com/wordpress/trunk@17962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 01:34:34 +00:00
azaozz
19c80ff93c Maximum i18n flexibility for word count, props nacin, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 04:25:15 +00:00
azaozz
3bb59dbc9c Fix autosave and word count for DFW HTML editor, always update word count on autosave, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-16 06:17:44 +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
azaozz
258a8f6844 Distraction Free Writing mode, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:01:34 +00:00
markjaquith
4dbc1e1549 Do not output an HTML ID on the (potentially duplicate) hidden parent_id field. props nacin. fixes #13179 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-13 14:44:16 +00:00
nacin
95ef90de64 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 12:18:57 +00:00
nacin
6ce74f9c0a s/Discuusion/Discussion/. props dougwrites, fixes #15870.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 22:21:58 +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
nacin
2e3644a3d7 Italicize. see #15376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:25:39 +00:00
nacin
50669e46f6 Post formats help text. fixes #15376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 19:24:34 +00:00
markjaquith
ff7ac5a045 Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@16678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 02:42:38 +00:00
scribu
9c8582d681 Don't show permalink box unless the post type is publicly queryable. Props filosofo. Fixes #14321
git-svn-id: http://svn.automattic.com/wordpress/trunk@16666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:21:00 +00:00
scribu
98208ed882 Prevent post_parent from being reset when there's no page attributes box. Props mikeschinkel. Fixes #13179
git-svn-id: http://svn.automattic.com/wordpress/trunk@16657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 18:50:24 +00:00
westi
a92ac54131 Add Post formats info to the help text. Fixes #15376 props vegasgeek
git-svn-id: http://svn.automattic.com/wordpress/trunk@16583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 09:20:29 +00:00
nacin
0c0fec0abc enter_title_here filter. fixes #13386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:49:19 +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
253faa4bbe Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 01:07:21 +00:00
scribu
e7a6f6f967 use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:18:57 +00:00
ryan
15e9538874 Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
git-svn-id: http://svn.automattic.com/wordpress/trunk@15183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 21:59:13 +00:00
nacin
34c1fa6d0b target=blank for help. props jorbin, see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@15132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-03 21:00:39 +00:00
nacin
2f3eca5f4a Don't add the Featured Image meta box in MS if image uploads are disabled. fixes #13700
git-svn-id: http://svn.automattic.com/wordpress/trunk@15119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 21:38:26 +00:00
nacin
a51aba7dd9 Help fixes, props jane. fixes #13467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 05:54:14 +00:00
ryan
08334aed6e Entities cleanup for help. Props zeo. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@15094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 17:44:38 +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
165495d292 Take out <strong> of translatable string For more information:
git-svn-id: http://svn.automattic.com/wordpress/trunk@15031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 10:14:09 +00:00
nacin
7fd6e707da Help text typo fixes. props jorbin, dougwrites. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@15001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 19:20:52 +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
bdb28315de Call the 'Attributes' meta box 'Page Attributes' for pages. Add some help text. fixes #13539.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 00:16:34 +00:00
ryan
39efc9e5ca strong FMI. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 21:07:53 +00:00
ryan
6c8ec25985 Post and page help. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 03:36:04 +00:00
ryan
da4ce19ea1 Help text for edit form. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 01:43:07 +00:00
nacin
ab0a18d048 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: http://svn.automattic.com/wordpress/trunk@14801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 05:40:29 +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
7734a07cb2 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: http://svn.automattic.com/wordpress/trunk@14585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 20:45:18 +00:00
wpmuguru
2e6e3ba76b allow super admins to edit authors on all sites, props mtdewvirus, fixes #13270
git-svn-id: http://svn.automattic.com/wordpress/trunk@14554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 22:46:35 +00:00
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
dd32
810775c865 Move nonces into better locations, Currently nested within the Editor support, which is not always enabled. Props duck_. Fixes #12867
git-svn-id: http://svn.automattic.com/wordpress/trunk@14148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:23:03 +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
nacin
f0a9c50f18 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: http://svn.automattic.com/wordpress/trunk@14137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:01:19 +00:00
nacin
340acf8263 Don't enqueue unnecessary scripts when the post type doesn't support the editor. fixes #12590, props scribu, _duck.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 14:03:48 +00:00
nacin
1c25af8cb6 Add actions to the form tags of user-new, user-edit, and post edit. props sivel, fixes #11933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 13:57:57 +00:00
nacin
baa8cd08bb Fix display of 'enter title here'. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:27:46 +00:00
nacin
d05e120d44 Add 'enter title here' text to title box. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 10:23:17 +00:00
ryan
7095a9b0d3 Move wp-ajax_add-tax hook back to registration. Reverts part of [13924]. see #10437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 17:07:30 +00:00
dd32
ee058cca62 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: http://svn.automattic.com/wordpress/trunk@13940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:12:49 +00:00
dd32
44ae35ec09 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: http://svn.automattic.com/wordpress/trunk@13924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 01:23:58 +00:00
markjaquith
e64f2d30f0 Use correct post type label in a few key places.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 20:14:26 +00:00
ryan
81d6e1e8b3 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: http://svn.automattic.com/wordpress/trunk@13710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 21:16:41 +00:00
ryan
fcbca58853 wp_get_shortlink() and pluggable shortlink generation. fixes #10640
git-svn-id: http://svn.automattic.com/wordpress/trunk@13635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 19:36:38 +00:00
dd32
35cdac687c More Taxonomy cap checks. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:26:44 +00:00
markjaquith
0f924eee99 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: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
ryan
d45311c9fb 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: http://svn.automattic.com/wordpress/trunk@12937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:54:42 +00:00
ryan
5922f7e2c4 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: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
ryan
6eb6fbf151 Don't hardcode post type. Props typeomedia. fixes #12067
git-svn-id: http://svn.automattic.com/wordpress/trunk@12887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:21:26 +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
ryan
b1b44019ff Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 19:30:05 +00:00
ryan
94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
dd32
7f34057330 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: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 11:44:51 +00:00
ryan
05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
ryan
6ce726545b Always use post.php for form action. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 19:03:03 +00:00
ryan
c616e65733 Merge page.php into post.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 16:50:37 +00:00
ryan
ad30e86462 Merge edit-page-form.php into edit-form-advanced.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:42:45 +00:00
ryan
25e152a58b Post type caps. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:23:14 +00:00
ryan
083064e628 Revert extra bits that snuck in with [12650]
git-svn-id: http://svn.automattic.com/wordpress/trunk@12651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:55:48 +00:00
ryan
8c875db5b4 Assume current user of user ID is not passed. Props filosofo. fixes #11808
git-svn-id: http://svn.automattic.com/wordpress/trunk@12650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:45:57 +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
ryan
c6bba74d06 Remove target from view post/page links. Props scribu. fixes #11406
git-svn-id: http://svn.automattic.com/wordpress/trunk@12406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 18:36:57 +00:00
markjaquith
bf264bb66d Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
ryan
1c90385918 Allow registering post image support per post type. fixes #11364
git-svn-id: http://svn.automattic.com/wordpress/trunk@12350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 15:39:20 +00:00
markjaquith
f74935eb92 More standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:24:32 +00:00
markjaquith
0415ab7b42 Standardize around "post image" instead of "post thumbnail"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
markjaquith
408b217622 Reverting [12324] and [12322] after some discussion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 04:31:44 +00:00
markjaquith
8b8dbd3205 Display Post/Page Thumbnail meta box even if theme does not support it -- just display an info message. props janeforshort
git-svn-id: http://svn.automattic.com/wordpress/trunk@12322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:02:51 +00:00
markjaquith
a8c96db902 Introducing add_theme_support(feature) and current_theme_supports(feature) for announcing and checking theme support for various features. Implement it for post/page thumbanils, hiding UI if not supported.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 05:27:39 +00:00
azaozz
c790ebcdd9 Remove remains from the old bookmarklet code
git-svn-id: http://svn.automattic.com/wordpress/trunk@12029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 05:53:49 +00:00
azaozz
b2966fba30 Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 10:02:42 +00:00
azaozz
bc9fb32835 Open View/Preview post in a new window from the link in the Saved/Updated message, cleanup messages code, add Draft updated for Pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-11 00:37:26 +00:00
azaozz
3d1fa0d0d1 Show "Draft updated" instead of "Post updated" when saving drafts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 07:24:05 +00:00
markjaquith
d7a30e235f First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
westi
2918ccefd5 Better feedback on publishing of future posts and pages. Fixes #10711 based on patch from scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 21:15:20 +00:00
westi
e2a720ee12 Refactor the meta boxes out of the edit pages and into an include file. See #9674 props wnorris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 17:37:40 +00:00
azaozz
4105845402 Stop direct loading of files in wp-admin that should only be included, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-03 00:04:45 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +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
ryan
1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +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
ryan
f14028d743 Better excerpt text and linkage. Props demetris, Denis-de-Bernardy. fixes #9371
git-svn-id: http://svn.automattic.com/wordpress/trunk@11267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:36:43 +00:00
markjaquith
d7b015645d esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
azaozz
0ba921274d Change CSS classes to avoid collisions with ui.tabs, fixes #9740
git-svn-id: http://svn.automattic.com/wordpress/trunk@11224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 21:31:07 +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
azaozz
12924135ce Add wpspin_light and wpspin_dark spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 18:57:43 +00:00
azaozz
84591d777c Some cleanup for edit-page-form.php and edit-form-advanced.php, props simek, fixes #9501
git-svn-id: http://svn.automattic.com/wordpress/trunk@11183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 02:14:25 +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
azaozz
6c74505f59 Make tags accessible without js on the edit screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 12:13:44 +00:00
ryan
87b704d710 Clean up save mssage. see #8713
git-svn-id: http://svn.automattic.com/wordpress/trunk@11159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-02 21:44:09 +00:00
ryan
ef0b1dc621 Add labels to text inputs. see #9445
git-svn-id: http://svn.automattic.com/wordpress/trunk@11152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 21:52:34 +00:00
azaozz
d409315d8c Add wpspin.gif and replace all spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 19:43:22 +00:00
ryan
922fd9cdc0 Add labels to titles. see #9445
git-svn-id: http://svn.automattic.com/wordpress/trunk@11149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 17:54:05 +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
ryan
c2ff1cd44a Some attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 23:09:08 +00:00
azaozz
67d841770a Add "code" class to more URL input fields, props johnbillion, fixes #8383
git-svn-id: http://svn.automattic.com/wordpress/trunk@10995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-18 06:47:56 +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
azaozz
8c7f6cb6ee Fix flash upload button, right sidebar on write pages in IE6
git-svn-id: http://svn.automattic.com/wordpress/trunk@10865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 10:21:43 +00:00
azaozz
52cddcbd2f Fix typo, props hakre, fixes #9431
git-svn-id: http://svn.automattic.com/wordpress/trunk@10854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 00:14:38 +00:00
azaozz
61ff5addca jQuery 1.3.2 and UI 1.7.1, may still have some regressions, add screen columns setting to the write/edit post/page screen options, fixes #8867
git-svn-id: http://svn.automattic.com/wordpress/trunk@10834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 14:29:22 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
azaozz
361b70792f Fully escape Post/Page titles, props Viper007Bond, fixes #9322
git-svn-id: http://svn.automattic.com/wordpress/trunk@10787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 07:59:12 +00:00
ryan
0bf194de3b Use _x() and extracted comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 19:20:19 +00:00
westi
4e787135ea Don't pass defaulted argument to checked(). Fixes #9032 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 22:15:14 +00:00
azaozz
12676c8e03 Show comments on the Edit Post screen in separate postbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@10480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-02 03:41:19 +00:00
azaozz
981ae0bb18 Show the permalink even when not "pretty" and add "View Post" button if the post is published, see #8976
git-svn-id: http://svn.automattic.com/wordpress/trunk@10458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-29 12:11:52 +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
azaozz
e7b78b9292 Fix tags postboxes when no js
git-svn-id: http://svn.automattic.com/wordpress/trunk@10345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-10 15:10:06 +00:00
ryan
8a8ac376bf Allow muliple tag-like taxonomies in the post editor. see #6387
git-svn-id: http://svn.automattic.com/wordpress/trunk@10222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 19:12:26 +00:00
azaozz
5fec33de25 Show "Post submitted" message when contributors submit a post for review, props mdawaffe, fixes #8519
git-svn-id: http://svn.automattic.com/wordpress/trunk@10094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 03:39:00 +00:00
markjaquith
fc5e8dfe58 Make Password protected and private mutually exclusive when using Quick Edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 11:10:24 +00:00
ryan
bc8627c841 Hide slug box by default. Allow turning it on via screen options. fixes #8332
git-svn-id: http://svn.automattic.com/wordpress/trunk@9956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 22:35:01 +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
ryan
a313f9ee63 Comment screen tweaks. see #8344
git-svn-id: http://svn.automattic.com/wordpress/trunk@9879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 21:11:05 +00:00
ryan
ceee359abf Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: http://svn.automattic.com/wordpress/trunk@9871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 18:33:04 +00:00
westi
61fb6ea540 Give context to more translations to allow for differentiation between plural noun, verb and adjective translations. Fixes #8154 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 18:16:44 +00:00
markjaquith
481f264e04 Remove errant nbsps
git-svn-id: http://svn.automattic.com/wordpress/trunk@9806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 03:29:44 +00:00
markjaquith
15bc8f4e74 Remove Visbility stubs since I actually did it for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@9755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 08:43:31 +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
ryan
54f3e3561d Swap Save Draft and Preview button locations
git-svn-id: http://svn.automattic.com/wordpress/trunk@9723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 19:33:20 +00:00
ryan
40c754df1d Unused var fixes. Props DD32. see #8220
git-svn-id: http://svn.automattic.com/wordpress/trunk@9716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:10:35 +00:00
azaozz
818ef0d5f4 Preview button: add permalink as a fallback and remove "View Post" when no js, see #8096
git-svn-id: http://svn.automattic.com/wordpress/trunk@9711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 10:42:28 +00:00
markjaquith
9928e82e36 Do not show Media Upload buttons in Visual Editor if user lacks the capabilities to upload files. fixes #8110
git-svn-id: http://svn.automattic.com/wordpress/trunk@9660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 07:45:11 +00:00
markjaquith
41b43c1d03 Visibility section for the Publish Module for Pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 19:31:39 +00:00
markjaquith
d6c4fac277 Visibility section of Publish Module for Posts. Pages later.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 18:36:48 +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
ryan
e635db2ee6 Discussion and Send Trackbacks meta boxes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:25:30 +00:00
azaozz
330e07bfa4 Move error notice to the top of Custom Fields postbox, props Simek, fixes #8138
git-svn-id: http://svn.automattic.com/wordpress/trunk@9608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 12:12:34 +00:00
ryan
bf433456ce Don't show category adder to users without manage_categories cap. fixes #8114
git-svn-id: http://svn.automattic.com/wordpress/trunk@9574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 23:10:31 +00:00
azaozz
ea03719b8b Styling for custom fields
git-svn-id: http://svn.automattic.com/wordpress/trunk@9564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 02:15:53 +00:00
ryan
88d2ecbb4e screen_meta() fixes. Show Help on more pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 22:21:27 +00:00
ryan
0e20f26fe7 Add view link to publish notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@9555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 21:26:11 +00:00
azaozz
268c7cdd71 Help tab
git-svn-id: http://svn.automattic.com/wordpress/trunk@9545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 08:13:50 +00:00
ryan
7663bd0168 Move notices below h2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 19:17:22 +00:00
azaozz
8d65096069 Add "Choose from popular tags" to the tags postbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@9518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 23:15:59 +00:00
ryan
2fdde1e736 Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 03:22:24 +00:00
markjaquith
ef37aa39aa Update to publish box styles. More horizontal room, consistent button placement, better for i18n, better wording.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 07:06:36 +00:00
azaozz
9fba444f3b Preview for both drafts and published posts/pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 22:47:07 +00:00
ryan
4a2fb422f3 Default privacy box to the side
git-svn-id: http://svn.automattic.com/wordpress/trunk@9448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 21:48:00 +00:00
markjaquith
8be1ba6191 Disable "Visibility" placeholder for now. Propagate new Publish box formatting and functionality to Edit Page form.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 05:38:31 +00:00
ryan
166ccef6c3 Revert [9413]
git-svn-id: http://svn.automattic.com/wordpress/trunk@9414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 15:50:21 +00:00
azaozz
016942b825 Better comments listing, props Matt
git-svn-id: http://svn.automattic.com/wordpress/trunk@9413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 12:24:11 +00:00
markjaquith
0e01062062 Publish postbox layout tweaks for Main Column Mode.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 03:50:23 +00:00
markjaquith
3a0dc54a26 More work on Publish postbox. Post status tweaks, post date tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 19:22:56 +00:00
markjaquith
c9db5d9061 Publish box tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@9398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 08:19:15 +00:00
markjaquith
3eb1cd5ade Numerous Publish postbox tweaks, fixes, and flourishes. Still WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@9394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 06:00:22 +00:00
azaozz
da113155e8 Write page styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 10:59:26 +00:00
markjaquith
8b07a301c5 More work on publishing module. WIP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 06:07:59 +00:00
azaozz
2e6d9f228e Attach 'Screen Options' button to the sliding layer and related changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 01:22:24 +00:00
markjaquith
682428cda9 Screen Options tab, rough draft
git-svn-id: http://svn.automattic.com/wordpress/trunk@9319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 10:29:07 +00:00
ryan
33f8a5e080 Introduce normalize_whitespace(). Use it instead of wp_text_diff() when checking for identical autosave revisions. Props tellyworth. fixes #7691
git-svn-id: http://svn.automattic.com/wordpress/trunk@9302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 20:03:16 +00:00
azaozz
408600ce58 Postboxes drag/drop for all browsers, some base css fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 22:08:58 +00:00
markjaquith
b9a948d5b5 Initial work on Publish box. Very rough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 04:36:35 +00:00
azaozz
a8f998d914 Comments post-box: show 10 comments at load only if the postbox is not hidden
git-svn-id: http://svn.automattic.com/wordpress/trunk@9241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 17:00:20 +00:00
markjaquith
4d2d655490 Covering our XSS bases
git-svn-id: http://svn.automattic.com/wordpress/trunk@9233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:06:22 +00:00
azaozz
b7959c1d28 Comments post-box: show comments on the currently edited post with ajax, 20 at a time
git-svn-id: http://svn.automattic.com/wordpress/trunk@9225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 09:44:22 +00:00
ryan
d457e3d181 Bring back h2 for add/edit post
git-svn-id: http://svn.automattic.com/wordpress/trunk@9221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 00:36:18 +00:00
ryan
2b74b0ad04 Punt media box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 17:29:38 +00:00
ryan
13212c4b3b Remove dead markup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 17:09:41 +00:00
ryan
9ce46d3937 phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
ryan
637cca38da Draggable dash, first cut. Props mdawaffe. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 23:32:34 +00:00
markjaquith
15ff2bf868 Do not allow contributors to set the post slug for pending review posts. fixes #7805
git-svn-id: http://svn.automattic.com/wordpress/trunk@9055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 04:10:54 +00:00
azaozz
28d9d8fde9 Move Page Options button to the header
git-svn-id: http://svn.automattic.com/wordpress/trunk@9054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:32:27 +00:00
ryan
6ba60d72ad Show Publish Immediately instead of dave time for drafts. fixes #7806
git-svn-id: http://svn.automattic.com/wordpress/trunk@9044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 23:02:49 +00:00
ryan
ea0ce44d87 h2 removal per wireframes. Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 22:06:23 +00:00
azaozz
94dc5f67bd Move and adjust "Page Options" box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 04:11:27 +00:00
westi
2fc5044a80 post password admin template tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 21:10:14 +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
ryan
659463e56d Rename some media text. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 17:12:32 +00:00
azaozz
203530fe88 Publish postbox and post status select updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-14 12:58:00 +00:00
ryan
460f30e7dd Move Show Settings into header and rename Advanced Options. Move preview links into submit box. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-13 19:12:55 +00:00
azaozz
3c789c1cb3 Edit/Save buttons and post status select changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-12 13:12:28 +00:00
ryan
581ac55f04 Privacy Options for pages. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 06:04:51 +00:00
ryan
589df9dcfd Remove privacy checkbox from submitbox. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 04:19:19 +00:00
azaozz
e2b4009e66 Saving/restoring the user interface state, see #7654
git-svn-id: http://svn.automattic.com/wordpress/trunk@8784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-31 06:34:43 +00:00
azaozz
01a8c764b3 Reply to comments from admin, small improvements and fixes, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 05:07:40 +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
azaozz
06f4448c13 Some 'Show on screen' metabox settings styling, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 10:17:41 +00:00
azaozz
95fa29a208 Reply to comments from admin, first run, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-24 06:56:22 +00:00
ryan
b314e60f74 First cut of 'Show on screen' metabox show/hide. Needs styling. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 18:58:42 +00:00
markjaquith
e0f519adc5 Consolidate our hide-if-no-js CSS/jQuery stuff. Now, just: hide-if-js, hide-if-no-js. Simple, easy to remember.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 06:42:19 +00:00
azaozz
39e0608b33 Some css cleanup and fixes after the merge, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 02:25:14 +00:00
ryan
d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
westi
c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +00:00
westi
fa410bb8f4 Give plugins the ability to do extra processing on a post before it is inserted/updated. See #5196.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 05:53:48 +00:00