Commit Graph

342 Commits

Author SHA1 Message Date
azaozz
a7189cbaa9 Remove reference to wp-fullscreen-content-css, see #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:08:41 +00:00
ryan
10334eff33 Don't set fields to empty values in _wp_translate_data(). Props scribu, johnjamesjacoby. fixes #16673
git-svn-id: http://svn.automattic.com/wordpress/trunk@18082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 16:08:46 +00:00
azaozz
ab43381c33 Fix notice, props greuben, fixes #17613
git-svn-id: http://svn.automattic.com/wordpress/trunk@18074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 14:12:08 +00:00
azaozz
7536a1107e Improve JS array/object detection when outputting the TinyMCE init array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 21:18:58 +00:00
nacin
cbba3fe581 Don't use array calling for post_status in wp_edit_attachments_query() to prevent any use of the deprecated query_string filter (as in, don't use it) from tanking the page. see #17556, #17559. for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 05:41:34 +00:00
azaozz
27a001b635 Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:55:59 +00:00
ryan
2cfb1592f0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:25:28 +00:00
ryan
cb44c14449 Use correct keys
git-svn-id: http://svn.automattic.com/wordpress/trunk@17996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:21:34 +00:00
ryan
81a5f821fb Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:42 +00:00
azaozz
af3ce311a0 More IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 05:35:08 +00:00
azaozz
5175149c03 IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 02:23:02 +00:00
azaozz
dcb9985b13 Use the "media" admin menu icon for the add media button in DFW, move the tagline, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:33:22 +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
beae1e56aa Improve code for DFW buttons, fix colors in some rare TinyMCE popups, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:53:51 +00:00
westi
f99e85d728 Switch this to be inside the else to match previous functionality more closely.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 17:05:35 +00:00
westi
374cba6192 Add a filter in postbox_classes on the classes being returned so you can add ones to your metabox easily if you want. See #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@17857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 16:57:00 +00:00
azaozz
e96949c9bd DFW: add tagline, move the Word count under the editor, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 09:18:32 +00:00
azaozz
55fcecdba8 DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 23:21:34 +00:00
azaozz
20528f3463 Add the new grey TinyMCE icons, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 03:20:50 +00:00
azaozz
9a12a7d908 Close >> Exit fullscreen, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 15:37:28 +00:00
azaozz
a2fcf40bd8 DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 06:32:44 +00:00
azaozz
8267ff9aae DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 02:01:53 +00:00
azaozz
cf8c91ce03 Fix action handling code, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:28:58 +00:00
azaozz
1ffb2468a5 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:10:23 +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
ryan
64552a67ee Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:55:11 +00:00
azaozz
24599d17f0 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: http://svn.automattic.com/wordpress/trunk@17625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-10 18:36:05 +00:00
azaozz
78c18602c6 Allow JS functions in the TinyMCE init array, fixes #15596
git-svn-id: http://svn.automattic.com/wordpress/trunk@17522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-17 22:01:40 +00:00
ryan
400dc5312f Don't allow changing the post type. Props nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 18:58:06 +00:00
nacin
35066d7770 Remove the button too. props ryan, see #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:56:10 +00:00
nacin
c605738e8b Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 21:57:30 +00:00
ryan
85f1feed84 Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:11:14 +00:00
ryan
bfee572698 Avoid notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 18:18:31 +00:00
ryan
8d56bc7265 Restrict meta update/delete to the current post. Props kawauso. fixes #15276
git-svn-id: http://svn.automattic.com/wordpress/trunk@17078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 12:38:21 +00:00
nacin
e1eec3925a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:25:21 +00:00
markjaquith
3469500927 Only set default post format on new posts – not old ones. props nacin. fixes #15882
git-svn-id: http://svn.automattic.com/wordpress/trunk@17062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 19:22:31 +00:00
ryan
07d2164984 Add user id to lock. Props duck_. see #15130
git-svn-id: http://svn.automattic.com/wordpress/trunk@16901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:23:46 +00:00
nacin
4dae6777c0 Move [14551] to after the is_wp_error check. see #13133, fixes #15511, props alexdunae.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 07:12:55 +00:00
nacin
c6027947e6 add_editor_style should include the parent theme CSS before the child theme CSS for override reasons. props JohnPBloch. fixes #14430.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 13:54:56 +00:00
ryan
3f72e340d6 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +00:00
ryan
e999b49423 Save meta id before performing actions since the insert_id can change. Props cyberhobo. fixes #15465
git-svn-id: http://svn.automattic.com/wordpress/trunk@16659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:11:47 +00:00
ryan
68f7ed2701 Don’t nag to Change Permalinks if permalink structure is defined. Props demetris. fixes #13918
git-svn-id: http://svn.automattic.com/wordpress/trunk@16651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:16:22 +00:00
nacin
69b3167678 Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:26 +00:00
nacin
485daddde1 Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:59:05 +00:00
nacin
3bb8ace4e2 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 06:22:13 +00:00
scribu
03dd41a0d2 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 15:50:02 +00:00
markjaquith
17fbb0e123 add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 07:41:07 +00:00
westi
5c88dc48e7 Enable the dialog for paste as plain text in the new TinyMCE paste plugin. Fixes #15278.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 15:59:48 +00:00
westi
0597ad55c4 Check for empty strings before indexing into them. Fixes #15265 props solarissmoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 09:29:57 +00:00
azaozz
28466e59f1 Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
git-svn-id: http://svn.automattic.com/wordpress/trunk@16090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 20:06:00 +00:00
nacin
a34d2bbe94 Don't check the raw edit_others_posts cap. see #12702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 08:48:55 +00:00
nacin
51b4b138af Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 08:27:45 +00:00
nacin
a583da8c45 Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 02:58:42 +00:00
nacin
4e666d5d44 Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-03 02:58:59 +00:00
azaozz
0b64e7bd0a TinyMCE 3.3 first run
git-svn-id: http://svn.automattic.com/wordpress/trunk@15683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 05:14:12 +00:00
nacin
5a20c05d27 Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
scribu
020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
ryan
fd6cc7c779 Make posts per page filters consistent and back compat. Props wpmuguru. fixes #14135 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-21 17:27:04 +00:00
ryan
2160674a67 Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-19 16:28:26 +00:00
nacin
a87c97cfee Curses on PHP 5.0.5. see #14160 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-30 22:05:27 +00:00
ryan
81e213c211 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 15:01:29 +00:00
markjaquith
8cf0dd0eaa Do proper caps check when processing bulk edited posts, and hide the checkbox on the Page edit page for users who lack permissions. props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@15032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 15:49:13 +00:00
ryan
1a552dd029 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00
nacin
3f443689ed Remove non-gzipped version of tinymce. Brace for impact. props azaozz. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:05:16 +00:00
markjaquith
20cb3ed21b Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: http://svn.automattic.com/wordpress/trunk@14730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:08:49 +00:00
ryan
53bff5059f Fix adding categories via bulk edit. Props duck_. see #13397
git-svn-id: http://svn.automattic.com/wordpress/trunk@14723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:03:54 +00:00
nacin
5463205114 Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 04:56:56 +00:00
ryan
c4aca99445 Don't allow previewing auto-draft. Props duck_. fixes #12859
git-svn-id: http://svn.automattic.com/wordpress/trunk@14643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 18:30:43 +00:00
nacin
518b19a404 esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:03:59 +00:00
nacin
af91e5264a Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:10:17 +00:00
nacin
70f36f6c41 More typos. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 21:03:33 +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
ryan
e65ae591a0 Fix bulk editing of non-hierarchical taxonomies. Props prettyboymp. fixes #13153
git-svn-id: http://svn.automattic.com/wordpress/trunk@14580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:12:18 +00:00
nbachiyski
46afe7c285 I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: http://svn.automattic.com/wordpress/trunk@14571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 19:52:50 +00:00
markjaquith
4ef8b0384d Handle manual saving of auto-drafts for Contributors without JavaScript. props jbsil. fixes #13133
git-svn-id: http://svn.automattic.com/wordpress/trunk@14551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 21:21:42 +00:00
westi
666ba09317 Remove the trash warning on permalinks for now as the current implementation doesn't work very well. See #11863
git-svn-id: http://svn.automattic.com/wordpress/trunk@14462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 07:37:51 +00:00
westi
f1e2a3a5fa Switch to a constant string to make it possible to translate. See #11863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 07:10:53 +00:00
wpmuguru
96153a63ae add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: http://svn.automattic.com/wordpress/trunk@14448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:31:24 +00:00
wpmuguru
b28c363d78 add warning on slug conflict with trash, props williamsba1, see #11863
git-svn-id: http://svn.automattic.com/wordpress/trunk@14446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 18:18:35 +00:00
ryan
7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin
aca357b327 Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:10:26 +00:00
nacin
e64a657575 s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
dd32
5bde56c788 Correct "Last Edited by" username, Updates the last edited username upon save rather than upon a edit lock being created. Props rooodini & deepak.seth. Fixes #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@14216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 04:24:38 +00:00
nacin
98b9ace627 Use is_post_type_hierarchical and is_taxonomy_hierarchical when we're fetching a post/tax object only to check the hierarchical flag. fixes #12950.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 15:54:45 +00:00
dd32
cc9c13d266 Use correct custom post_type token in get_sample_permalink()
git-svn-id: http://svn.automattic.com/wordpress/trunk@14147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:18:20 +00:00
dd32
34c57058bf Update _wp_translate_postdata() capability checks to use Post Type API capability fields. Props duck_. Fixes #12987
git-svn-id: http://svn.automattic.com/wordpress/trunk@14130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:26:39 +00:00
dd32
87bd780ca9 Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: http://svn.automattic.com/wordpress/trunk@14124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:46:28 +00:00
nacin
9b76fb2563 More tweaks for thumbnail support when no editor support for custom post types. see #12792, props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 21:45:16 +00:00
markjaquith
07a523894a Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:47 +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
nacin
e2c3b87693 Fix typos in [13729]. edit_type_cap is a primitive cap, not meta. @todo: audit ptype cap calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 13:16:28 +00:00
dd32
f3e9d332d2 Fix the Permalink editor for custom post_types. Fixes #12742
git-svn-id: http://svn.automattic.com/wordpress/trunk@13865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 05:23:49 +00:00
nacin
8c8bf5039f Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
ryan
e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
dd32
af6960601f post_type edit_cap and edit_type_cap awareness for wp-admin/includes/post.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@13729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 12:35:48 +00:00
ryan
37bfdee064 Custom taxonomy support for inline edit. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 15:48:01 +00:00
dd32
9472175b79 Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
git-svn-id: http://svn.automattic.com/wordpress/trunk@13489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 07:12:05 +00:00
nacin
9797dacaa0 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: http://svn.automattic.com/wordpress/trunk@13453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 07:36:35 +00:00
dd32
679250491d Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 02:01:46 +00:00
ryan
534e797399 Pass the default post to default_content, default_title, and default_excerpt filters. Allows filtering by post_type and other attributes. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 22:20:36 +00:00