Commit Graph

393 Commits

Author SHA1 Message Date
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