Commit Graph

13555 Commits

Author SHA1 Message Date
Nikolay Bachiyski de9e77a9c6 Prevent a notice if $_REQUEST['post_id'] is missing. Just use 0 in this case, which will be the same as using intval on an undefined value.
git-svn-id: https://develop.svn.wordpress.org/trunk@14987 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:42:46 +00:00
Dion Hulse 86f16a1881 Change Install link to Activate link in Importer if plugin appears to be already installed. See #13566
git-svn-id: https://develop.svn.wordpress.org/trunk@14986 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:23:07 +00:00
Dion Hulse 94487bb9ea Add Importer support to Plugin Install workflow, Offers to Activate Plugin & Run installer, and returning to Imports upon successful Importer Plugin Installation. See #13566
git-svn-id: https://develop.svn.wordpress.org/trunk@14985 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:04:08 +00:00
Dion Hulse a6194f1e0c Fully implement the 'delete_themes' capability. See also r13547
git-svn-id: https://develop.svn.wordpress.org/trunk@14984 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 09:49:38 +00:00
Peter Westwood b98c14cc34 Improved translation of the comment count in theme-compat. Props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@14983 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 08:52:14 +00:00
Andrew Nacin f32d9858c1 Remove stray tag. props Daniel Koskinen, fixes #13570.
git-svn-id: https://develop.svn.wordpress.org/trunk@14982 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 06:16:48 +00:00
Andrew Nacin ae9acca74d Add some educational tips. Suggest using add_image_size() in the inline docs for image_get_intermediate_size() and wp_get_attachment_image(). props jorbin. see #13556.
git-svn-id: https://develop.svn.wordpress.org/trunk@14981 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 05:03:46 +00:00
Andrew Nacin 4e04b51d7b Use orange for the plugin install thickbox button, not the new gray for update notification bubbles. fixes #13474.
git-svn-id: https://develop.svn.wordpress.org/trunk@14980 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:50:11 +00:00
Mark Jaquith b499437681 Use the correct array members of image_resize_dimensions() result when calculating best match for dynamic HTML image resize. fixes #13556
git-svn-id: https://develop.svn.wordpress.org/trunk@14979 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:40:14 +00:00
Andrew Nacin b5da1545f4 Revert [14853], [14778], returning tag/cat converter to tools.php and edit-tags.php. Link to import.php instead of the converter directly as it may not be installed. see #13566.
git-svn-id: https://develop.svn.wordpress.org/trunk@14978 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:35:11 +00:00
Andrew Nacin 9b8998cb46 Clean up the menu name/actions section. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14977 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:19:23 +00:00
Andrew Nacin 4bcefca0ca Fix order of params to strpos. props ampt, fixes #12115.
git-svn-id: https://develop.svn.wordpress.org/trunk@14976 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:14:35 +00:00
Andrew Nacin 62d4016045 gettext. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14975 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:51:09 +00:00
Andrew Nacin 32565eeeb2 Implement the Cancel menu item link for no JS. props ocean90, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14974 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:49:11 +00:00
Andrew Nacin 939c73a317 Force menu AYS when a menu item is deleted. props ocean90, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14973 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:31:23 +00:00
Andrew Nacin e549305dd4 Don't show expand/collapse menu bit for menu meta boxes except on hover. props duck_, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14972 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:28:23 +00:00
Andrew Nacin 9b4a85cdaf Move the "Add Home Link" functionality to a checkbox on the View All tab of the Pages metabox. Also makes it work non-JS. props filosofo, fixes #13213.
git-svn-id: https://develop.svn.wordpress.org/trunk@14971 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:24:33 +00:00
Andrew Nacin fdf4f195df Nicer message for an uninstalled/invalid importer. see #13566.
git-svn-id: https://develop.svn.wordpress.org/trunk@14970 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:03:06 +00:00
Andrew Nacin 91651abeed Remove debug. see #13566
git-svn-id: https://develop.svn.wordpress.org/trunk@14969 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 00:34:53 +00:00
Andrew Nacin 7dfa8b6bf6 Match up plugin slugs with importer slugs when checking if they're installed. They're different for MT and wpcat2tag currently. see #13566
git-svn-id: https://develop.svn.wordpress.org/trunk@14968 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 00:32:01 +00:00
Andrew Nacin c510c0d0a6 Call the 'Attributes' meta box 'Page Attributes' for pages. Add some help text. fixes #13539.
git-svn-id: https://develop.svn.wordpress.org/trunk@14967 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 00:16:34 +00:00
Ryan Boren de0488a920 Tools help. Props duck_. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14966 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 22:18:19 +00:00
Ryan Boren 1762f15347 Help cleanup. Props duck_. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14965 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:32:30 +00:00
Andrew Nacin f5f97a46d3 Always pass post ID to the_title filter. props dndrnkrd, fixes #13558
git-svn-id: https://develop.svn.wordpress.org/trunk@14964 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:30:00 +00:00
Andrew Nacin 37e54a0ef1 Add Press This to options-writing.php. Re-order sections a little. Plugin authors: tools.php will likely go away in 3.1, as it will be empty when Press This is removed. fixes #13563
git-svn-id: https://develop.svn.wordpress.org/trunk@14963 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:20:05 +00:00
Ryan Boren daa8ea56bc strong FMI. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14962 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:08:23 +00:00
Ryan Boren ab192e1c7b strong FMI. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14961 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:07:53 +00:00
Peter Westwood 7ea705db5b tick tock
git-svn-id: https://develop.svn.wordpress.org/trunk@14960 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:55:51 +00:00
Ryan Boren c6f462c0f6 Help for plugin-editor.php. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14959 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:40:57 +00:00
Ryan Boren d3196fcab6 Help for plugin-install.php. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14958 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:26:51 +00:00
potbot cd98aa57a7 POT, generated from r14956
git-svn-id: https://develop.svn.wordpress.org/trunk@14957 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:21:06 +00:00
Ryan Boren 042f5bdeee Update help for plugins.php. Props jane. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14956 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:19:59 +00:00
Mark Jaquith fc7bcd0e63 Do not display category blurb for post types that do not support that taxonomy.
git-svn-id: https://develop.svn.wordpress.org/trunk@14955 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:06:54 +00:00
Mark Jaquith 10ceba3686 Properly redirect custom post type URLs in redirect_canonical(). fixes #13561
git-svn-id: https://develop.svn.wordpress.org/trunk@14954 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 19:56:26 +00:00
Ryan Boren 96aac845a9 Show taxonomies registered against the page type in the Pages submenus. Props markauk. fixes #13560
git-svn-id: https://develop.svn.wordpress.org/trunk@14953 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 19:03:46 +00:00
Andrew Nacin 42bad1e654 Final bit of escaping in feeds. fixes #13555
git-svn-id: https://develop.svn.wordpress.org/trunk@14952 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 18:30:51 +00:00
Ryan Boren 2c97921f07 Help for Appearance screens. Props duck_, jane. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14951 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 18:27:13 +00:00
Peter Westwood de09357409 Some more url escaping in feeds. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14950 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:47:29 +00:00
Peter Westwood 31be303930 Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14949 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:27:18 +00:00
Andrew Nacin 12a45498b6 Consider 'auto-draft' a draft in get_post_permalink(). prevents custom post types from getting borked GUIDs. see #13555
git-svn-id: https://develop.svn.wordpress.org/trunk@14948 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:25:57 +00:00
Peter Westwood 41a560ec0b Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14947 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:01:21 +00:00
Ryan Boren 5391057c8f Child menu stlying fixes. Props filosofo. fixes #13552
git-svn-id: https://develop.svn.wordpress.org/trunk@14946 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 16:32:36 +00:00
Ryan Boren 22cb105416 No default value for pass by ref. Props filosofo. fixes #13553
git-svn-id: https://develop.svn.wordpress.org/trunk@14945 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 16:25:29 +00:00
Ryan Boren 6c79e1395d Make classes property for menus an array. Props filosofo. fixes #13551
git-svn-id: https://develop.svn.wordpress.org/trunk@14944 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 15:41:21 +00:00
Ryan Boren 5cceae73e3 Ajaxify pagination requests in menu boxes. Props filosofo. fixes #13204
git-svn-id: https://develop.svn.wordpress.org/trunk@14943 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 14:49:43 +00:00
Ryan Boren f333c16f10 More menu class back compat. Props filosofo. fixes #13543
git-svn-id: https://develop.svn.wordpress.org/trunk@14942 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 14:18:46 +00:00
Ryan Boren c28268ccc0 RTL updates for twentyten. Props yoavf. fixes #13233
git-svn-id: https://develop.svn.wordpress.org/trunk@14941 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 14:15:27 +00:00
Nikolay Bachiyski f4084990ea Focus on category field when adding a new category in the write panel
git-svn-id: https://develop.svn.wordpress.org/trunk@14940 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 09:17:40 +00:00
potbot 2d2ad40b9e POT, generated from r14938
git-svn-id: https://develop.svn.wordpress.org/trunk@14939 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 08:21:07 +00:00
Andrew Nacin cbd7f7baef In the page attributes box, generalize the screen reader text, also remove the help text which is now in the 'Help' tab. see #13539. subject to final UX review.
git-svn-id: https://develop.svn.wordpress.org/trunk@14938 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 07:14:42 +00:00