Commit Graph

7166 Commits

Author SHA1 Message Date
Dion Hulse 309a88827b Coding standards clean-up of admin template.php. No logic changes. Removal of multiple spaces, addition of whitespace, addition of ;, s/"/'/g where appropriate, case changes of constants, removal of $output = '..'; echo $output.
git-svn-id: https://develop.svn.wordpress.org/trunk@15278 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:32:01 +00:00
Ryan Boren 94efed64a0 Allow only super admins to see plugins.php if the Plugins menu is not exposed. Props ocean90. fixes #13944
git-svn-id: https://develop.svn.wordpress.org/trunk@15271 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 15:57:02 +00:00
Andrew Nacin 44bb966035 Use add_query_arg() in menu_page_url(). fixes #13923.
git-svn-id: https://develop.svn.wordpress.org/trunk@15268 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 20:08:58 +00:00
Andrew Nacin 3e337cf0fb Two birds with one stone. fixes #13902, props ocean90, wahgnube. fixes #13555, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@15264 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:31:44 +00:00
Mark Jaquith 8abb12ffc6 Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: https://develop.svn.wordpress.org/trunk@15263 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:07:02 +00:00
Andrew Nacin a85abb3763 Remove errant closing label tag. props wahgnube, fixes #13901.
git-svn-id: https://develop.svn.wordpress.org/trunk@15260 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 11:33:52 +00:00
Ryan Boren ab9c5796b3 Remove trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@15259 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 23:39:35 +00:00
Andrew Nacin 42ee42dee0 Fix IE8 line-height of title input. props ocean90, fixes #13890.
git-svn-id: https://develop.svn.wordpress.org/trunk@15255 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 20:48:24 +00:00
Andrew Nacin 09f7a954bf Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.
git-svn-id: https://develop.svn.wordpress.org/trunk@15254 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:52:30 +00:00
Ryan Boren 9968a51d0d Differentiate between edit and new via an action field for the screen. Fix favorite_actions(). fixes #13876
git-svn-id: https://develop.svn.wordpress.org/trunk@15253 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:33:04 +00:00
Ryan Boren 815f93e80b set_current_screen() before calling _tag_row in the inlin-save-tax ajax handler. Props batmoo. fixes #13892
git-svn-id: https://develop.svn.wordpress.org/trunk@15252 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 18:08:32 +00:00
Andrew Nacin b354c95af3 Add admin UI labels for menu items of unpublished posts. props koopersmith, fixes #13822. #stringchange
git-svn-id: https://develop.svn.wordpress.org/trunk@15250 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:40:52 +00:00
Andrew Nacin 3ca83773a7 Use more specific selector. props CAMWebDesign, fixes #13880.
git-svn-id: https://develop.svn.wordpress.org/trunk@15248 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:25:34 +00:00
Ron Rennick 4e2c4c4c71 use site details on confirm delete site, props sivel, fixes #13873.diff
git-svn-id: https://develop.svn.wordpress.org/trunk@15245 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 23:47:05 +00:00
Peter Westwood 7eddc7a833 Fix typo in translation. Fixes #13872 props Angeloverona.
git-svn-id: https://develop.svn.wordpress.org/trunk@15244 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 16:19:04 +00:00
Andrew Nacin 95256b14b9 Don't use deprecated functions. props koopersmith, fixes #13854.
git-svn-id: https://develop.svn.wordpress.org/trunk@15242 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 06:20:51 +00:00
Mark Jaquith 5b51d69bfa WEAPON LOCKED. http://txfx.net/s/34 props Left Bank Pictures (Strike Back).
git-svn-id: https://develop.svn.wordpress.org/trunk@15239 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-12 09:45:32 +00:00
Andrew Nacin b7fe818d58 Use correct variable in populate_network(). props wpmuguru, fixes #13859.
git-svn-id: https://develop.svn.wordpress.org/trunk@15238 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-12 05:16:21 +00:00
Ryan Boren 82be9621ec Trim trailing whitespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@15235 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 20:19:35 +00:00
Ron Rennick 1a8683be07 non js support in options permalink, props filosofo, fixes #13856
git-svn-id: https://develop.svn.wordpress.org/trunk@15233 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 18:15:30 +00:00
Andrew Nacin 616e2e1185 Missing links for custom background, header, and GUU. props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15231 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 18:00:29 +00:00
Ron Rennick 3e360da417 add create site link to My Sites page, original patch props filosofo, fixes #13852
git-svn-id: https://develop.svn.wordpress.org/trunk@15228 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:18:17 +00:00
Andrew Nacin e45ec0a52c Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: https://develop.svn.wordpress.org/trunk@15227 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:04:06 +00:00
Andrew Nacin f680252c00 Add a constant for allow_subdirectory_install as conventional plugins have to be disabled on network.php. fixes #13844.
git-svn-id: https://develop.svn.wordpress.org/trunk@15225 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:38:11 +00:00
Ryan Boren fc2793bd46 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:53:41 +00:00
Ron Rennick 9c74b84590 hide unpublished items on frontend nav menus, props filosofo, fixes #13822
git-svn-id: https://develop.svn.wordpress.org/trunk@15219 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:34:32 +00:00
Ryan Boren 5dca05f13b IE RTL fixes. Props koopersmith. fixes #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15218 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:30:12 +00:00
Dion Hulse 6c71a5d1e4 re-minify wp-admin.dev.css after r15215. See #12225
git-svn-id: https://develop.svn.wordpress.org/trunk@15216 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 12:42:40 +00:00
Dion Hulse 16ccc13e00 Commit .dev version of wp-admin.css for r14816. See #12225
git-svn-id: https://develop.svn.wordpress.org/trunk@15215 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 12:32:09 +00:00
Andrew Nacin e8f7f12adf Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15214 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 05:19:36 +00:00
Andrew Nacin 7a7a294de0 dbDelta needs all the comments it can get. Restore the one removed in [15210].
git-svn-id: https://develop.svn.wordpress.org/trunk@15211 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:03:17 +00:00
Andrew Nacin 58951fbf39 Reset variables back to empty arrays instead of unsetting them in dbDelta. prevents a warning. props mitchoyoshitaka, fixes #13715.
git-svn-id: https://develop.svn.wordpress.org/trunk@15210 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:01:51 +00:00
Andrew Nacin 28d8b1a98e Fix admin menu background for long names. props JohnONolan, fixes #13803.
git-svn-id: https://develop.svn.wordpress.org/trunk@15206 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 00:42:09 +00:00
Andrew Nacin 8a82d39002 Check for the import cap before showing links to the tag/cat converter. props kpdesign, fixes #13834.
git-svn-id: https://develop.svn.wordpress.org/trunk@15205 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 00:00:47 +00:00
Peter Westwood 063ca11e7a Introduce menu_page_url() for plugins to use to get the url for the pages they have added. Fixes #13829 props o'malley for all the cuteness.
git-svn-id: https://develop.svn.wordpress.org/trunk@15203 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 21:38:41 +00:00
Ron Rennick 06dadab38b alway update fileupload_url during initial network install, see #13828
git-svn-id: https://develop.svn.wordpress.org/trunk@15202 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 21:31:46 +00:00
Andrew Nacin 825032bbf6 Provide context for screen options plural labels. fixes #13369.
git-svn-id: https://develop.svn.wordpress.org/trunk@15201 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:56:14 +00:00
Andrew Nacin a052939dfc Revert accidental commit. see [15199], see #13369
git-svn-id: https://develop.svn.wordpress.org/trunk@15200 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:48:04 +00:00
Andrew Nacin 0ed6a9bbb2 Valid HTML for wp-signup. fixes #13369, props ocean90, snumb130.
git-svn-id: https://develop.svn.wordpress.org/trunk@15199 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:44:54 +00:00
Andrew Nacin 2621ba04fe Improve the custom background front-end callback. Also, background-attachment should default to scroll, not fixed. fixes #13751.
git-svn-id: https://develop.svn.wordpress.org/trunk@15196 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 18:28:25 +00:00
Andrew Nacin a53e7e3018 Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15193 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:57:30 +00:00
Andrew Nacin 5dcf82f22f Don't show an error when the theme supports widgets but not menus. see #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15191 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:37:15 +00:00
Andrew Nacin 9d38c0af9e Move 'helps' argument to the taxonomy labels object. Also move over help_nojs and help_cloud, both introduced in 3.0. This adds three new core labels for non-hierarchical taxonomies, for tweaking the meta box strings. fixes #13805.
git-svn-id: https://develop.svn.wordpress.org/trunk@15190 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 16:07:33 +00:00
Andrew Nacin acbc109260 Server-side check for an empty menu name on save. props ocean90, fixes #13703.
git-svn-id: https://develop.svn.wordpress.org/trunk@15189 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 15:28:39 +00:00
Ryan Boren d61154542c Remove old hidden columns usermeta keys. fixes #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15187 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 14:41:51 +00:00
Andrew Nacin fa5dd80231 Use entity. props zeo, see #13720.
git-svn-id: https://develop.svn.wordpress.org/trunk@15185 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 22:32:08 +00:00
Ryan Boren 5dc92cb07f Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
git-svn-id: https://develop.svn.wordpress.org/trunk@15183 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 21:59:13 +00:00
Ryan Boren 5eb178ac14 Sort only when importers exist. Props aaroncampbell. fixes #13806
git-svn-id: https://develop.svn.wordpress.org/trunk@15181 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 20:33:16 +00:00
Peter Westwood 537fcf4970 Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
git-svn-id: https://develop.svn.wordpress.org/trunk@15180 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 20:21:43 +00:00
Ryan Boren 8dc054b4ed Warning and styling fixes. Props ocean90. fixes #13775
git-svn-id: https://develop.svn.wordpress.org/trunk@15179 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 18:13:29 +00:00