Andrew Nacin
3de47877d6
Remove default help text. Keep the default_help filter in place for plugins. fixes #19154 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19185 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:13:06 +00:00
Andrew Nacin
feca4c4984
Space out two strings. props ocean90, fixes #19167 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19181 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 20:21:12 +00:00
Andrew Ozz
cb40252565
Uploader: split "Drop files here -or-..." on two lines, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19177 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:09:38 +00:00
Daryl Koopersmith
986602c14c
Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19163 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:17:50 +00:00
Andrew Nacin
731127e61b
Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19155 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:06:11 +00:00
Andrew Nacin
53891da7c8
Pass $tab array to callback execution for help tabs. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19154 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:04:58 +00:00
Daryl Koopersmith
bfd8e1a095
First half of new welcome panel formatting. props chexee. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19145 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 01:31:31 +00:00
Andrew Nacin
14c3606e1f
Allow is_network and is_user to work for all screen instances. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19132 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:00:46 +00:00
Andrew Ozz
e3cb75932b
Revert the look and functionality of Screen Options ans Help links/tabs, see #18197 , see #18785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19131 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 20:26:09 +00:00
Andrew Ozz
882574b78c
Revert placement of Help and Screen Options to under the admin bar on the right, see #18197 , see #18785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19130 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 17:08:12 +00:00
Andrew Ozz
3700b57fdc
Remove the Cancel Upload button, fixes #19050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19127 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:47:12 +00:00
Andrew Nacin
33ee9a7d04
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: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:14:10 +00:00
Dion Hulse
b37514a7fd
Tabs > Spaces. Props SergeyBiryukov. See #14999
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19115 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 12:16:47 +00:00
Andrew Nacin
c69f53c37d
Reverse variable assignment order. D'oh. see #19108 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19113 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 04:24:17 +00:00
Andrew Nacin
809c1558e3
Remove cruft. see #19106 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19112 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 04:14:14 +00:00
Mark Jaquith
41d1ab35f3
Use %s instead of %d in plugin install notice strings. props johnbillion. fixes #19106
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19109 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 02:36:18 +00:00
Andrew Nacin
45c23f2fcf
Use more obvious variables in WP_Screen. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19108 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:36:04 +00:00
Andrew Ozz
1746c2af62
Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19099 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:38:28 +00:00
Andrew Nacin
3a15274807
Always run the old contextual_help filter. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19098 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:37:43 +00:00
Andrew Nacin
d91bf70dd7
Consistently set taxnow/typenow and the current screen's post_type/taxnomy, whenever it can be detected. Allow WP_Screen::get() to accept a post type as a hook_name. Fixes issues with the meta box $page/$screen argument. fixes #19080 . see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19097 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:28:17 +00:00
Andrew Nacin
a5c6da9a2e
Move from quickpress_post_ID to post_ID. fixes #19095 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19093 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 17:08:36 +00:00
Andrew Nacin
8d01fc1f9a
Fix copypasta in in WP_Screen. see #19095 , props SergeyBiryukov.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19092 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 16:57:29 +00:00
Andrew Nacin
115014be64
Require show_ui rather than public for a taxonomy's parent post type. see #19080 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19089 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 05:30:57 +00:00
Ryan Boren
722c6d7003
Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19074 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 15:48:44 +00:00
Ryan Boren
f8ed38f26c
Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19072 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 20:00:09 +00:00
Andrew Nacin
b7b6a7e5ae
Use correct object. props adambackstrom. fixes #19045 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19066 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:08:24 +00:00
Andrew Nacin
fa00acb382
Add missing keyword. fixes #19046 , see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19064 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:05:39 +00:00
Andrew Nacin
219bc246bc
Make convert_to_screen() more resilient. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19063 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 06:54:23 +00:00
Andrew Nacin
261ee73e3d
Merge upgrade_old_widgets_order_array() into upgrade_330(). see #18811 , see #18821 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19062 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:50:39 +00:00
Andrew Nacin
96e4fffaa9
Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19061 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:48:09 +00:00
Andrew Nacin
fcf1696de4
Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19060 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:29:28 +00:00
Dion Hulse
f869eb56b8
Themes not within a subdirectory of the zip need to have the working directory Trailingslashed. See #14999
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19057 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 04:25:52 +00:00
Ryan Boren
fd10e500e4
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:13:23 +00:00
Ryan Boren
5fecc93721
Fallback to the default post type only if it is registed for the taxonomy. Props nacin. see #18785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19053 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:10:56 +00:00
Andrew Nacin
cc5f01a784
Move WP_Screen to a full registry. Have convert_to_screen() return a WP_Screen object. Improve and verify values for post_type and taxonomy. see #18785 . also fixes #14886 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19052 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 18:34:08 +00:00
Andrew Nacin
16c6875d29
screen.php tidying. Doc fixes and improvements. Improve logic in ::show_screen_options(). Remove regex in ::set_parentage(). Better variable names. Streamline get_screen_icon(). Whitespace. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19051 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 06:40:15 +00:00
Andrew Nacin
38440b5e9a
Deprecate favorite_actions(). see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19050 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 06:10:36 +00:00
Andrew Nacin
de3bf760b6
Rework get_hidden_meta_boxes() to leverage a full WP_Screen object. Prevents custom post types from having their explicity supported meta boxes being hidden by default. see #18958 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19049 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 19:22:27 +00:00
Andrew Nacin
7121150930
Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19047 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 18:01:33 +00:00
Andrew Nacin
ed8f3c3f95
Deprecate media_upload_(image|audio|video|file)(), type_url_form_(image|audio|video|file)(). These now wrap wp_media_upload_handler() and wp_media_insert_url_form(). see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19046 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:58:06 +00:00
Andrew Nacin
79ff2e030c
Fix [16249]. $typenow is considered empty on edit-tags screens, rather than displaying the parent post type. Switch to the $post_type global for now, which is set in the terms list table constructor. see #14886 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19043 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:48:58 +00:00
Andrew Nacin
f3e64d5112
Undent (by two tabs) a whole lot of code in dbDelta(). Thx. see #17998 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19041 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:40:30 +00:00
Andrew Nacin
c64486425a
Have dbDelta() loop through tables it knows about, rather than loop through a potentially expensive and definitely unnecessary SHOW TABLES. fixes #17998 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19040 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:35:33 +00:00
Andrew Nacin
cab3d35ee0
Make wpmu_delete_blog() slightly less crappy. Prevents the entire network from being dropped in a particularly rare edge case. Removes some zombie code. fixes #19009 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19038 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:04:52 +00:00
Jon Cave
939b085f54
Correct @param text ordering to put "Optional." in description, see r19019 and #18958 . Also remove empty docblock tag.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19030 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:53:57 +00:00
Andrew Nacin
1287ec492a
Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19028 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:04:46 +00:00
Andrew Nacin
420fe65fca
Sanitize plural and singular args for list tables. props sbressler, fixes #18875 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19020 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 23:51:06 +00:00
Andrew Nacin
c55e62a9ae
Make $screen argument for add_meta_box() (previously $page) optional. see #18958 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19019 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 23:01:55 +00:00
Andrew Nacin
b3b1b00cff
Strip out the show_wp_pointer_admin_bar for now. see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19015 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:52:14 +00:00
Andrew Nacin
6c8c746dbc
Move welcome panel link to a 'Show on screen' checkbox. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19014 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:43:21 +00:00
Ryan Boren
5914353c06
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: https://develop.svn.wordpress.org/trunk@19013 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:43:02 +00:00
Jon Cave
d7ee58c7e2
Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19011 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 17:48:07 +00:00
Mark Jaquith
f32a070480
Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18551
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19010 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 17:08:57 +00:00
Daryl Koopersmith
9e0ccd9fdf
In welcome panel, move periods outside of links. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19009 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 17:05:12 +00:00
Daryl Koopersmith
c1945d5c69
Welcome panel contents and functionality. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19007 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:41:26 +00:00
Ryan Boren
789dab3f20
Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18998 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:44:39 +00:00
Ryan Boren
9683b05c4e
Avoid pass by ref warning. Props arena. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18997 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:38:18 +00:00
Andrew Nacin
f95cb305ea
Use get_intermediate_image_sizes() in image edit functions. props mau, fixes #17475 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18996 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:33:34 +00:00
Andrew Nacin
c56c7320a3
Fix media/audio/file URL insertion. Strip slashes off title text. Leave red X to images only. fixes #14996 . fixes #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18992 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:32:40 +00:00
Dion Hulse
527935e883
Fix Undefined Variable Notices when no charset/collate is set for $wpdb. See #12028
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18986 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 02:48:07 +00:00
Andrew Ozz
d1b8509e83
Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Jon Cave
d197a1d865
Fix notices in wp_iframe() and iframe_header() by referencing $wp_htmltag_class as a global. See r18975 and #18314 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18977 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 10:43:55 +00:00
Andrew Ozz
573a1813dc
RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Daryl Koopersmith
ed7c3fb655
Simplify pointer API with smarter positioning. see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18969 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:33:46 +00:00
Dion Hulse
b158ddc175
WP_Filesystem_*::mkdir() untrailingslash path consistently, don't waste time attempting to create an "empty" path. See #15575 . Props lordandrei and SergeyBiryukov for initial patches.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18964 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 10:43:38 +00:00
Andrew Ozz
e10d951cce
Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918 , see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18957 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 22:24:53 +00:00
Jon Cave
83d7fbe1a6
Revert r18887 due to back compat issues. Fixes #18914 .
...
For example 'intval' couldn't be used as a sanitisation callback.
git-svn-id: https://develop.svn.wordpress.org/trunk@18951 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:35:33 +00:00
Andrew Nacin
103666d6b3
Restore object handling in add_contextual_help(). see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18950 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:24:55 +00:00
Andrew Nacin
bdc8ac11ea
Don't instantiate WP_Screen in convert_to_screen() for now. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18949 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:22:50 +00:00
Andrew Nacin
beb1613be7
Restore $screen argument for contextual_help* filters. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18945 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:45:28 +00:00
Andrew Nacin
3940109c7f
Store screen help and options as static data against WP_Screen. Individual screen objects no longer hold data it can't re-generate on construction or otherwise fetch. convert_to_screen() now returns a WP_Screen object. Various globals are gone. Introduces WP_Screen::get_option(). Allows for a formal factory to be introduced later. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18943 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:32:16 +00:00
Andrew Nacin
8f0389b3e9
Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18941 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 19:29:09 +00:00
Ryan Boren
db7795de32
Do the beta bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18938 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:50:20 +00:00
Andrew Nacin
1db90d21e0
Use AJAX request and usermeta rather than user settings for dismissing admin bar pointers. see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18937 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:31:36 +00:00
Andrew Nacin
b827c657fb
Check post_type_supports before adding comments column to attachments. Translate a string. props johnbillion, SergeyBiryukov. fixes #18644 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18931 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:56:35 +00:00
Andrew Nacin
f9bba8610d
Make the Browse Happy box look somewhat okay in Internet Explorer. Remove html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18930 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:54:26 +00:00
Andrew Ozz
619caa5c73
Make iPad support usable again, add viewport meta, see #18863
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18926 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 04:19:05 +00:00
Andrew Ozz
cfcb553dfb
Add translation comment, props ocean90, fixes #18881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18922 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 03:14:41 +00:00
Andrew Ozz
2b2bff2fca
Fix insetring images in Quick Press and Press This, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18920 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:14:21 +00:00
Andrew Ozz
70a7bb3fe0
Fix prepending $editor_id to the Add Media link, see #17578
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18918 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:12:55 +00:00
Andrew Ozz
a115821842
Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18917 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 16:59:33 +00:00
Andrew Nacin
bc94322a01
Use local method when handling back compat screen layout column filter. The function serves as a wrapper for but one object. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18915 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:26:44 +00:00
Andrew Nacin
fa861b4bf3
Move the Screen Options tab to the top and introduce a new 'overview' screen option, which accepts content for the top of this tab. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18914 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:23:33 +00:00
Andrew Nacin
e6292eed96
Remove redundant help tab title from the tab body. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18913 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:00:38 +00:00
Andrew Nacin
2efff75050
Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18911 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:57:12 +00:00
Andrew Nacin
237d132595
@since for screen_meta(), screen_options(), screen_layout(). props SergeyBiryukov, see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18904 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 16:24:14 +00:00
Andrew Ozz
390650f410
As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18902 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:57:50 +00:00
Ryan Boren
319d070078
Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18899 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 00:21:24 +00:00
Daryl Koopersmith
d9d201289e
Refine new help styles. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18896 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:15:19 +00:00
Andrew Nacin
a8638d222d
Align the bytes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18895 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:57:17 +00:00
Andrew Nacin
7b1d7c6f12
type_url_form_image() becomes wp_media_insert_url_form(), media_upload_image() becomes wp_media_upload_handler(). type_url_form_* and media_upload_* are restored as wrappers. Don't deprecate yet. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18894 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:36:03 +00:00
Andrew Nacin
e386cb17c5
UI touches for the single media button. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18890 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:07:04 +00:00
Andrew Ozz
22f4cdc7d7
Revert 'auto' column setting, props markjaquith, see #18863
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18889 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:46:21 +00:00
Mark Jaquith
46737bef61
Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18887 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 17:48:41 +00:00
Dion Hulse
c91838bd7d
Fix admin_body_class filter for Menu's and Widgets pages, Include the filter in Iframe's. Props SergeyBiryukov & johnbillion. Fixes #18853
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18882 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:09:51 +00:00
Andrew Ozz
48be8d03eb
Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18880 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 23:10:02 +00:00
Andrew Ozz
fec0286bb3
Make $current_screen->add_option() easier to use, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18879 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 17:21:59 +00:00
Ryan Boren
c8cbea1d66
Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18878 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:09:24 +00:00
Andrew Ozz
fee1fe1b36
Deprecate favorite_actions(), add_contextual_help(), add_screen_option(), move meta_box_prefs() and get_screen_icon() in WP_Screen, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18874 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 03:32:12 +00:00
Ryan Boren
ac34546770
Consolidate larg network criteria into wp_is_large_network(). Allow plugins to change this criteria via filter. Props PeteMall. fixes #18464
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18871 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:30:07 +00:00
Ryan Boren
7dd1ec898b
Use 'View Post' instead of '#' for view post links in comment rows. Props SergeyBiryukov. fixes #18846
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18868 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 14:03:01 +00:00
Andrew Ozz
98554b4bb6
Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18867 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 04:00:57 +00:00
Daryl Koopersmith
d6f613fcd3
Help style refresh, part 1. A few elements left to add/tweak. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18866 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 18:19:49 +00:00
Andrew Ozz
d0d3855285
Add screen_options with contextual content, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18864 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 06:59:36 +00:00
Andrew Nacin
da55be56a6
Add phpdoc for two WP_Screen methods. props jorbin, see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18863 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 00:04:30 +00:00
Andrew Ozz
b59e63f01f
Add phpdoc for the section title, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18862 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 22:22:33 +00:00
Andrew Ozz
f928bc51eb
Separate the tab title from the help section title, see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18861 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 21:18:04 +00:00
Andrew Ozz
4f289db37a
Change month dropdown display in date pickers to include month number, fixes #18838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18860 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 20:50:08 +00:00
Andrew Nacin
8bbc643454
Deprecate screen_meta(). see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18859 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:13:27 +00:00
Andrew Nacin
f214ef7d99
Deprecate secreen_options(), screen_layout(). see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18858 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:07:41 +00:00
Andrew Nacin
c0b2567366
Move all new WP_Screen properties to private. We should introduce getters. Correct legacy (and ideally read-only) properties to @access public. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18857 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 17:59:46 +00:00
Daryl Koopersmith
206aa49499
Properly print per-page options. see #18690 , [18853].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18854 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 03:21:36 +00:00
Daryl Koopersmith
a5acbaa574
Make screen options a help tab. Move screen option functions into WP_Screen. see #18690 , #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Andrew Ozz
1aad45debc
Fix unfiltered_html_comment nonce, props nacin, fixes #18319
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18852 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:19:07 +00:00
Andrew Nacin
c4d4799424
Initialize the post object in get_default_post_to_edit(). props tech163. fixes #18049 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18847 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 21:35:05 +00:00
Mark Jaquith
b587d4c2ac
More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15545
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18843 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:31:52 +00:00
Mark Jaquith
a3bdf19206
Be more consistent with ERROR: messages. fixes #15887
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18841 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:18:35 +00:00
Andrew Nacin
19d613fed2
Merge the four media buttons into one.
...
* Lots of red.
* Removes the type_url_form_\$type filter, where \$type is audio, video, file, or image.
* Replacement filter is a generic type_url_form_media filter for the new unified form.
* Some functions have gone missing; they'll be restored and deprecated in a later pass.
see #17578 .
git-svn-id: https://develop.svn.wordpress.org/trunk@18831 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:22:29 +00:00
Andrew Ozz
b969d2ea80
Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18823 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:52 +00:00
Ryan Boren
8e77c91883
* Move the old sidebars_widgets array upgrade code to wp-admin/includes/upgrade.php
...
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from wp_get_sidebars_widgets().
* Combine a couple of !empty( $sidebars_widgets ) checks in retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598
git-svn-id: https://develop.svn.wordpress.org/trunk@18821 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:41:22 +00:00
Andrew Nacin
106a94406e
Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18818 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:21:15 +00:00
Andrew Nacin
bb89b80c5b
Remove remnants of show_admin_bar_admin. see #18811 , see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18812 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 06:12:51 +00:00
Andrew Nacin
a854604f54
Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18811 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:54:05 +00:00
Andrew Nacin
8585471f13
Space out and capitalize 'Auto' in screen options.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18808 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:28:00 +00:00
Andrew Ozz
c9c3eb7a6d
Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348 , see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18803 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 21:07:08 +00:00
Andrew Ozz
bbd210992d
Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18802 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 17:27:48 +00:00
Daryl Koopersmith
91c746f586
Add dashboard help tabs, revise help tab layout and code. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18797 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 00:57:56 +00:00
Andrew Nacin
35edc4264d
Release a user's post lock when the user leaves a post. see #18515 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18796 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 20:52:07 +00:00
Ryan Boren
d7d3a5c41b
Revert fat fingers in [18793]. see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18794 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:33:51 +00:00
Ryan Boren
fddfc14c88
First pass of WP_Screen phpdoc. see #18690
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18793 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:30:56 +00:00
Andrew Nacin
4b03f4253b
wp_set_post_lock() only takes one argument. see #18515 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18790 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 06:11:30 +00:00
Andrew Nacin
30f64015c2
Make WP_Screen final until we know which direction we want to go with it. Other keyword decorations. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18784 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 23:31:54 +00:00
Andrew Nacin
44724de2e8
Move WP_Screen and friends (15 functions) into admin/includes/screen.php. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18782 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:32:10 +00:00
Andrew Nacin
601a70fe8e
And fix this variable. props ocean90.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18781 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:15:57 +00:00
Andrew Nacin
d5dee542e5
Use correct variable. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18780 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:11:46 +00:00
Daryl Koopersmith
0b3d90ee53
Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:03:38 +00:00
Jon Cave
3c4d0639ae
Use correct post_type in HTML returned by inline-save-tax AJAX. Fixes #18038 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18771 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 20:26:51 +00:00
Dion Hulse
cc0d6fdf67
Fix typo in languages directory creation for new installations. Props SergeyBiryukov. Fixes #18741 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18765 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:18:44 +00:00
Jon Cave
85c211d2fe
Remove extraneous closing script tag. Props ryanhellyer. See r18482, #18206 . Fixes #18760 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18758 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 14:36:57 +00:00
Daryl Koopersmith
60c59fb4a7
Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18755 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 22:33:27 +00:00
Peter Westwood
80cc1062af
Revert [18747] until we can discuss it further. See #18453 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18752 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 09:15:45 +00:00
Daryl Koopersmith
f30457e6d3
Add frame for welcome panel on dashboard (currently hidden). see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18749 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 06:23:10 +00:00
Andrew Ozz
23824f9f30
Change the menus Link Target to checkbox, props nacin, fixes #17521
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18748 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 05:44:25 +00:00
Andrew Ozz
033ed78e03
Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18747 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 02:27:00 +00:00
Ryan Boren
53b042285c
Avoid notice with empty menu. Props ansimation, SergeyBiryukov. fixes #18085
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18740 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 20:17:22 +00:00
Andrew Ozz
f465d0e766
Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18736 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 06:16:24 +00:00
Andrew Nacin
c2cf751035
number_format_i18n for role user counts. props sirzooro, fixes #18305 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18735 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 05:35:57 +00:00
Jon Cave
83f0e2c349
Add post formats to quick edit and bulk edit. Fixes #18083 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18722 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 17:02:58 +00:00
Jon Cave
6db13f488f
Make use of specific post format support in current_theme_supports(). See #18691 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18721 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 16:31:33 +00:00
Andrew Nacin
29fca1ba49
Don't burden translators with a few strings we'll be changing.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18708 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:45:23 +00:00
Daryl Koopersmith
342180470d
Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18707 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:17:09 +00:00
Andrew Nacin
be4c3e1d86
Use get_post_class() in the posts list table. props brandondove, fixes #18516 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18706 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:11:28 +00:00
Andrew Ozz
1948c952a4
Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18701 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 02:25:23 +00:00
Jon Cave
73744eb96c
Don't obliterate $title if $desc isn't set. Props kawauso. Fixes #18185 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18698 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 18:27:32 +00:00
Daryl Koopersmith
e1038932b9
Admin bar UX improvements. First pass, see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18683 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 05:01:54 +00:00
Andrew Ozz
d20435eb03
Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18674 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 05:30:58 +00:00
Andrew Ozz
aea659a859
Responsive themes screen, props helenyhou, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18673 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 04:26:26 +00:00
Andrew Ozz
feae81313d
Fix default widgets for the default theme (Twenty Eleven), props SergeyBiryukov, see #17979
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18643 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-06 16:15:47 +00:00
Jon Cave
d6eb11b05b
s/overridding/overriding/. Props trepmal, see #18560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18641 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 19:25:55 +00:00
Andrew Nacin
78b5130751
Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18637 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 16:53:19 +00:00
Jon Cave
60d321b14b
Fix typos in documentation (wp-admin/). See #18560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18632 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 14:18:10 +00:00
Dion Hulse
39458e741e
First slice of rejecting invalid Plugin and Theme zip uploads (Incompatible file structure, not containing a Plugin/Theme, etc). See #14999
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18618 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 15:02:48 +00:00
Dion Hulse
06338d1653
Store Plugin/Theme uploads in the Media Library properly. Add Scheduled cleanup +2hrs to clean up any aborted installation attempts. See #18182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18617 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 08:42:07 +00:00
Dion Hulse
4f8bd53070
Only clean up the uploaded files after a successful (or failed) install. Allows files to persist past the FTP credential screen. See #18182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18616 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 05:51:38 +00:00
Dion Hulse
9c571521a3
Clean up Plugin/Theme uploads after successfully installing them. Restores pre-3.2 behaviour. See #18182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18614 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 03:51:35 +00:00
Andrew Ozz
77892dfba6
Improve auto column switching for post.php, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18607 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 22:55:39 +00:00
Ryan Boren
28851bb6fe
Update phpdoc for WP_List_Table::views(). Props Viper007Bond. fixes #18358
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18600 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 17:56:34 +00:00
Peter Westwood
ab660228ab
Fix the action links broken by [18594]. Fixes #18447 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18599 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 08:05:15 +00:00
Ryan Boren
1d3e616495
Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18597 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 19:32:59 +00:00
Peter Westwood
a60b4ff564
When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18596 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 11:37:25 +00:00
Peter Westwood
ade9233305
End each row with a new line to make the raw HTML easier to read.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18595 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 11:13:33 +00:00
Peter Westwood
4dfdd2e9b2
Include all comment css classes when outputing the rows in the Comments admin page to allow for easy customisation by plugins. Fixes #18447 props josephscott.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18594 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 11:12:07 +00:00
Andrew Nacin
8d5241c094
Check if property exists on plugins_api() returned object in install_plugin_information(). props hakre, fixes #18181 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18586 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 15:56:14 +00:00
Andrew Ozz
1e0034e8fd
Auto column switching for the dashboard, see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18582 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 04:00:56 +00:00
Andrew Ozz
2ae505d0c6
Auto column switching (post.php only for now), see #18198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18581 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 19:41:11 +00:00
Andrew Ozz
dde77fd41b
Merge most admin css files, first run, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Nacin
193baf96e7
Add 'Network Enable' link after installing a theme in the network admin. props PeteMall, fixes #18468 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18569 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 22:40:37 +00:00
Andrew Nacin
5464b1abc2
Some more class instantiations. props eko-fr, fixes #18049 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18563 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 06:16:57 +00:00
Andrew Nacin
13999695f1
Dissolve wp-admin/network/edit.php. props PeteMall, fixes #18379 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18562 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 02:29:06 +00:00
Andrew Ozz
182f43c74d
Fix HTML IDs on the uploader buttons on the dashboard, props SergeyBiryukov, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18555 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 14:32:36 +00:00
Andrew Ozz
f68214a20a
Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18553 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 04:54:51 +00:00
Andrew Nacin
92092a0249
Remove beta upgrade code from 3.0.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18552 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 02:26:59 +00:00
Nikolay Bachiyski
c5b4e06e15
Add filters for install/upgrade queries, so that unit tests installer can force creating InnoDB tables, so that we can use transactions to revert the database to its initial state after each test. See #17749
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18531 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:42:59 +00:00
Andrew Nacin
7665b28755
Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18527 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 03:02:01 +00:00
Andrew Nacin
3e14a6675b
Initialize in the Theme_Upgrader class. props mitchoyoshitaka, fixes #18367 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18525 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:26:36 +00:00
Andrew Nacin
51982620ce
Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18522 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:00:45 +00:00
Andrew Ozz
b7e35b3f6c
Fix handling of resizing images after upload, props ocean90, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18517 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 21:04:15 +00:00
Andrew Ozz
aad319a3ac
Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18516 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 01:35:02 +00:00
Ryan Boren
eda7d43e85
Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18513 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 16:57:31 +00:00
Ryan Boren
8eea785bcb
Add magic get/set/isset methods to WP_User to avoid data duplication. Standardize on WP_User::ID. Props scribu. see #15458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18504 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 03:09:27 +00:00
Ryan Boren
dbb0b7c8d6
Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18500 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 16:48:37 +00:00
Andrew Ozz
461ceba60d
Editor API enhancement, first run (still needs some work), see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz
54eb9f1f3c
Remove tabs from JS, props duck_, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18489 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 08:44:29 +00:00
Andrew Ozz
57bff0b6d8
Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18484 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 19:21:21 +00:00
Andrew Ozz
4e81b893e9
Remove debug bits, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18483 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 09:03:24 +00:00
Andrew Ozz
12a7d989e0
Pluploader take 1, props jacobwg, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18482 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 08:59:35 +00:00
Andrew Nacin
f81a0e5a3c
Link tab=upload when referenced on 'Install Plugins.' fixes #18290 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18481 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 06:07:38 +00:00
Dion Hulse
4429d66a15
Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18462 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 10:57:34 +00:00
Andrew Ozz
9bcfc3da39
<!DOCTYPE html> for all, fixes #18202
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Ryan Boren
b4b82c9725
Check caps for both old and new meta keys when changing the key for a mid. Properly handle slashes when checking meta caps. Props xknown. see #17850
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18449 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 19:32:12 +00:00
Ryan Boren
f6153bcf5d
Typo fix. Props kawauso. fixes #18177
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18447 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 17:46:01 +00:00
Ryan Boren
6b5d8397b0
Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18445 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-20 22:04:35 +00:00
Ryan Boren
4dcfeabff1
Sites search improvements. fixes #18013
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18442 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 15:42:26 +00:00
Andrew Nacin
bdf534021b
Don't echo empty <h3>s if we don't pass a section title to add_settings_section(). see #18045 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18432 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 20:22:24 +00:00
Andrew Nacin
bb7c1ac6d7
Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18426 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 19:03:04 +00:00
Andrew Nacin
c8947a4f44
Restore compat for json_decode and json_encode. fixes #18015 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18404 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-06 23:33:05 +00:00
Ryan Boren
9e7890c3f6
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18386 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 21:59:45 +00:00
Andrew Ozz
9977a6a559
DFW: check if the Add Image button is enabled in ms mode before using it, props nacin, fixes #17942
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18380 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 19:23:09 +00:00
Ryan Boren
6022d6e39c
Block editing of post_mime_type and guid in bulk_edit_posts(). More filter unsets. For trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18369 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:47:35 +00:00
Ryan Boren
2258beaf3c
Perform a cap check on attachments in media_upload_form_handler(). For trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18365 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:44:56 +00:00
Ryan Boren
cdd05b3c9f
Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18350 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:47:04 +00:00
Andrew Ozz
c2c5456fd1
Fix unfolding of the admin menu when no JS, fixes #17897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18349 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:40:04 +00:00
Ryan Boren
091ec81919
Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18346 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:56:42 +00:00
Nikolay Bachiyski
497b25df66
Fix typo, fixes #17868 , props rasheed2 and vanillalounge
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18337 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 11:18:20 +00:00
Andrew Ozz
1598bef0d5
Fix warning when DFW is loaded and the $post global is not set, props SidHarrell, fixes #17874
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18331 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 19:41:42 +00:00
Andrew Nacin
5244cdb17e
Add theme feature strings for translation. These are already being returned by the API. props lancewillett, fixes #17359 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18327 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:45:21 +00:00
Andrew Nacin
fdbc800dcc
Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18320 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-18 15:05:46 +00:00
Andrew Nacin
5ef9f551a3
Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18319 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-18 15:02:58 +00:00
Dion Hulse
2ed7ccf052
Add new star.gif replacement with a Grey background (& White counterpart). Props chexee for star icons. Fixes #17428
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18318 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-17 05:41:35 +00:00
Andrew Nacin
d75f27ab80
Anchor the Browse Happy dashboard widget to the top. Reverts [18295], [18296]. Fixes #17781 , #17323 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18314 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-15 19:23:35 +00:00
Andrew Nacin
caa6046220
[18294] was a bit too quick to eliminate backslashed apostrophes in translated strings. $s as a placeholder becomes a variable. Switch to %s and %s, as the href will always come before the text, so no need for numbered placeholders. fixes #17781 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18297 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 08:30:53 +00:00
Andrew Ozz
afa3e61432
Always use curly brackets with foreach, see [18295]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18296 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 01:03:55 +00:00
Andrew Ozz
3ff031ae87
Make sure the browser nag in shown first on the dashboard no matter what! See #17323
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18295 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 00:24:47 +00:00
Andrew Nacin
8e9b972098
Only warn about 'unsafe' for IE6/7. props jane, fixes #17440 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18294 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 21:38:57 +00:00
Dion Hulse
577f585169
Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18290 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 12:47:18 +00:00
Andrew Nacin
80d166905a
Browser nag dismiss: hide-if-no-js. props duck_, see #17766 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18281 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 21:14:03 +00:00
Ryan Boren
7d7509eabd
Improvements to invalid menu item handling. Props ocean90. fixes #13958
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18277 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 15:52:15 +00:00
Andrew Nacin
a657a1986c
@since s/3.2/3.2.0/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18268 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 04:40:18 +00:00
Dion Hulse
1b36a05e18
Restore the md5 in the Dash widget cache key, prevents issues with long widget ids. Props nacin. Fixes #16927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18265 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:33:17 +00:00
Dion Hulse
4963d5f945
Key the Dashboard widget cache off the Widget ID & clear cache upon options changing. Props ocean90. Fixes #16927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18264 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:16:42 +00:00
Andrew Nacin
9ebb57dafd
Make update-core only do sanity checks against readme.html and version.php, both always included even in partial builds. fixes #17760 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18262 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 02:35:00 +00:00
Andrew Nacin
c24e4daf5a
Mark menu items tied to invalid taxonomies and post types as invalid. props ocean90, see #13958 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18260 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 00:55:48 +00:00
Ryan Boren
9216255ee3
Update _old_files for 3.2. see #17759
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18256 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:15:01 +00:00
Ryan Boren
46d96c7704
Bring out the pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:45 +00:00
Andrew Ozz
e3a1054bef
Add context to _e('Name'), props valentinas, fixes #16531
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18247 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:13:26 +00:00
Mark Jaquith
2aea6faf97
Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18234 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 17:02:03 +00:00
Dion Hulse
9cb7da13d2
Cache the Dashboard RSS Widgets HTML output to reduce the memory footprint of including SimplePie. Fixes #16927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18228 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 06:31:39 +00:00
Andrew Nacin
e304611748
Extra check for partial updates: Make sure the API response matches the current version of WP. see #10611 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18227 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 06:22:33 +00:00
Andrew Nacin
b2c50ddc56
Core support for partial updates. see #10611 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18225 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 05:47:44 +00:00
Andrew Ozz
fc4915fb0f
Do not run bulk edit when the user clicks on a filter, fixes #17733
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18222 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 00:01:16 +00:00
Andrew Ozz
ba1211237c
Enable autocomplete on the href and title fields in the link popup, props nacin, fixes #17101
...
Remove unneeded for=".." attributes from the <label> tags there.
git-svn-id: https://develop.svn.wordpress.org/trunk@18207 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 22:39:08 +00:00
Andrew Nacin
24d38bc521
Admin Bar: Add View Site/Dashboard links, 'View X' links in the admin, 'View' action link for terms. New custom taxonomy string: view_item, defaulting to 'View Tag' and View Category'. fixes #17705 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18194 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 16:49:27 +00:00
Mark Jaquith
ac81c1fef8
Remove code formatting from uploaded file size error messages, for now. props JohnONolan. fixes #17674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18193 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 16:27:57 +00:00
Ryan Boren
4efc4641ac
Don't add search wildcards to an empty string. fixes #17719
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18179 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 16:05:04 +00:00
Andrew Ozz
76f9fca002
Fix quick edit error message styling, props solarissmoke, fixes #16912 , fixes #14317
...
Fix top margin in bulk edit posts
git-svn-id: https://develop.svn.wordpress.org/trunk@18158 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 01:14:26 +00:00
Ryan Boren
b6eed7bea8
Check return value of wp_check_browser_version(). Make return value consistent. Props duck_, aaroncampbell. fixes #17682
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18150 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 15:14:51 +00:00
Andrew Ozz
35ba083b00
DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503 , fixes #17644 , fixes #17664 , fixes #17596
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18137 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 00:46:47 +00:00
Andrew Nacin
4e3cdbfc61
Document that add_submenu_page() might return false if ! current_user_can(). see #17677 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18136 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 23:30:46 +00:00
Ryan Boren
332d95b648
Validation fixes. Props ocean90, xknown. fixes #17364
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18114 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:05:55 +00:00
Andrew Nacin
36f1805ec4
Take that, PHP 5.0.5. Good riddens. see #14160 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18110 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 22:03:36 +00:00
Ryan Boren
218486fb46
Use array_pop( array_keys() ) instead of end() to find the end of the array. end() finds that last item added, which is not reliable with plugins that add items to the end and then sort them up with custom_menu_order. see #17629
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18109 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 21:27:42 +00:00
Ryan Boren
45486df91d
Apply editable_slug filter in post_slug_meta_box(). Props yoavf, ramiy. fixes #17598
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18106 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:33:45 +00:00
Ryan Boren
7cb543f37f
Apply editable_slug filter to parent page slugs in get_sample_permalink(). Props solarissmoke, ramiy. fixes #16999
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18105 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:30:29 +00:00
Andrew Ozz
715e5a905b
Remove reference to wp-fullscreen-content-css, see #17644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18104 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:08:41 +00:00
Ryan Boren
ac3a991b17
Fix paging through plugin search results. Props dd32. fixes #17285
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18093 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 16:03:41 +00:00
Peter Westwood
f3b35cf893
Add a ms_user_row_actions filter on the actions array for the Network Users table. Fixes #15932 props sorich87
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18090 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 14:44:10 +00:00
Ryan Boren
2960bcac77
Use wp-menu-separator after Settings and before the first plugin top-level. Remove trailing separators. fixes #17629
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18089 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 14:41:43 +00:00
Ryan Boren
89561d578e
s/seperator/separator/. Props brandonburke. fixes #17610
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18084 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 19:58:36 +00:00
Ryan Boren
d5e77eefbf
Don't set fields to empty values in _wp_translate_data(). Props scribu, johnjamesjacoby. fixes #16673
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18082 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 16:08:46 +00:00
Andrew Ozz
b0ff53d233
Fix notice, props greuben, fixes #17613
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18074 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 14:12:08 +00:00
Andrew Ozz
be987907b8
Improve JS array/object detection when outputting the TinyMCE init array.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18071 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 21:18:58 +00:00
Andrew Nacin
cec199aa57
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: https://develop.svn.wordpress.org/trunk@18053 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 05:41:34 +00:00
Ryan Boren
657155ed7c
Remove duplicate IDs before passing comment post IDs to get_pending_comments_num()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18041 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:36:26 +00:00
Ryan Boren
385262f36e
Fix notices. Props ocean90. fixes #17528
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18038 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:46:40 +00:00
Ryan Boren
64367f2de7
If there is only one submenu and it is has same destination as the parent, remove the submenu. fixes #17528
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18034 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:05:52 +00:00
Andrew Ozz
1ed0c5b42d
Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18025 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-24 21:55:59 +00:00
Ryan Boren
ccba8dfbf3
Validation fixes. Props ocean90, peaceablewhale. see #17364
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Ryan Boren
ab6db3e04f
Don't show _access_denied_splash() for network admin pages. Props sorich87. fixes #17511
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18009 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:11:03 +00:00
Ryan Boren
c9566759db
Don't show _access_denied_splash() if the user has permissions for the site but insufficient perms for a particular page. Props sorich87. fixes #17514
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18008 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:08:19 +00:00
Ryan Boren
da02537bb0
Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17999 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:25:28 +00:00
Ryan Boren
f82a14802e
Use correct keys
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17996 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:21:34 +00:00
Ryan Boren
57b6c9aeda
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: https://develop.svn.wordpress.org/trunk@17994 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:19:42 +00:00
Andrew Nacin
6076211cc6
Code readability improvements. props niallkennedy, fixes #17166 , #17182 , #17231 , #16474 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17989 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 22:30:05 +00:00
Andrew Nacin
8e17573655
Move the closing tags inside the same conditional in wp_plugin_update_row. props mitchoyoshitaka, fixes #17536 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17984 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 21:24:32 +00:00
Andrew Nacin
9e71942528
Only show multisite upload space when user has upload_files, rather than edit_posts. props johnbillion, fixes #17510 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17973 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 17:43:19 +00:00
Andrew Ozz
0f691b3af3
Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17971 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 16:12:13 +00:00
Andrew Ozz
15c2f28085
More IE7 fixes, see #17324
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17964 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 05:35:08 +00:00
Andrew Ozz
7262bec3c2
IE7 fixes, see #17324
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17963 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 02:23:02 +00:00
Mark Jaquith
b24303228b
Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441 . see #17323 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17952 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:06:04 +00:00
Mark Jaquith
cc877850ac
Add a per-post-type nav menu items filter for plugin control. props aaroncampbell. see #16075
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17951 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 16:44:21 +00:00
Andrew Ozz
9b7b96ba51
Use the "media" admin menu icon for the add media button in DFW, move the tagline, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17947 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 17:33:22 +00:00
Andrew Ozz
8b325c5f71
Maximum i18n flexibility for word count, props nacin, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17940 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 04:25:15 +00:00
Andrew Nacin
02e8db225f
Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17928 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 19:45:07 +00:00
Peter Westwood
5178cdbfe8
More phpdoc typo fixes. See #17414 props Utkarsh
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17926 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 09:56:59 +00:00
Mark Jaquith
4f8b646e03
Centralize pagination bound exceeding redirects for list tables. props garyc40. props johnjamesjacoby. fixes #16208
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17900 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 06:09:42 +00:00
Andrew Nacin
c96930408d
Don't show broken 'View' links when a CPT isn't publicly queryable. fixes #13301 , props johnbillion.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17899 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 06:04:47 +00:00
Andrew Nacin
66d2117c54
Shorten key used for browse happy site transient so it fits in option_name. fixes #17323 , props AaronCampbell.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17895 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 05:45:02 +00:00
Andrew Nacin
b7af529e35
Document img_src_ssl in wp_check_browser_version(), see #17323 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17888 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:45:25 +00:00
Andrew Ozz
44ac70d063
Warning for out of date and insecure browsers, props aaroncampbell, fixes #17323
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17887 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:33:27 +00:00
Andrew Ozz
8e3eb0a86b
Allow plugins to disable screen options with filter, props yoavf, fixes #17187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17884 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:12:41 +00:00
Andrew Ozz
9b3f26faa4
Improve code for DFW buttons, fix colors in some rare TinyMCE popups, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17880 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 01:53:51 +00:00
Peter Westwood
f1389ef76c
Switch this to be inside the else to match previous functionality more closely.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17860 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 17:05:35 +00:00
Peter Westwood
29ffaab1b2
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: https://develop.svn.wordpress.org/trunk@17857 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 16:57:00 +00:00
Andrew Ozz
0b4a1378b9
DFW: add tagline, move the Word count under the editor, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17856 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 09:18:32 +00:00
Andrew Ozz
6b810b990f
DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17852 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-10 23:21:34 +00:00
Andrew Ozz
98d4435ba5
Add the new grey TinyMCE icons, see #15986
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17842 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 03:20:50 +00:00
Andrew Ozz
f9eb2a0ed4
Close >> Exit fullscreen, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17840 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 15:37:28 +00:00
Andrew Ozz
223162e568
DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17838 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 06:32:44 +00:00
Andrew Ozz
13ad310c3f
DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17837 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 02:01:53 +00:00
Mark Jaquith
72608a1197
A few "login" used as a verb fixes. props xibe. fixes #17335
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17831 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 03:26:23 +00:00
Daryl Koopersmith
5622362093
Move 'Search Engines Blocked' to 'Right Now' from admin header. see #17324 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17829 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 23:42:37 +00:00
Dion Hulse
0822d55016
* Allow Pagination for Must-Use/Dropin plugins
...
* Respect WP_CONTENT_DIR & WPMU_PLUGIN_DIR for help text
* Move help text into WP_Plugins_List_Table
See #17327
git-svn-id: https://develop.svn.wordpress.org/trunk@17806 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 05:24:15 +00:00
Ryan Boren
db6f86d7bb
Make "Space Used" gray instead of green in multisite Right Now box. Props ocean90. fixes #17283
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17799 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 19:49:25 +00:00
Ryan Boren
237f1c3e78
Always show # items text. Props johnbillion. fixes #17260
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17798 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 19:45:41 +00:00
Ryan Boren
b0b8e59268
Change View All Buttons into plain links. Show full set of status links in recent comments box. Drop Change Theme button.Props ryanimel. fixes #17282
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17797 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 19:18:20 +00:00
Ryan Boren
5cb3ed94ae
Show hierarchy for pages and taxonomies in nav menus admin. Props greuben. fixes #17029
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17796 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 18:59:40 +00:00
Ryan Boren
a5572fa5ef
Denote images that are headers or backgrounds in the media ui. Props ocean90. fixes #17291
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17793 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 18:28:31 +00:00
Andrew Ozz
4e6c7c2281
Fix action handling code, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17786 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 08:28:58 +00:00
Andrew Ozz
6e8cefd437
HTML mode for Distraction Free Writing, props koopersmith, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17785 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 08:10:23 +00:00
Mark Jaquith
703a0e99e1
Provide no-js message on the dashboard when the cache is not hot and an XHR is required. props ocean90. see #16927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17782 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-30 17:24:06 +00:00
Ryan Boren
9730cb8d15
Constructor cleanup. Props ocean90. fixes #16768
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 20:05:12 +00:00
Andrew Nacin
f1747e6f35
Remove unused variable. props ocean90.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17769 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 18:21:38 +00:00
Andrew Nacin
586f141545
Revert unrelated code from [17765].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17766 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 14:46:27 +00:00
Andrew Nacin
c3ed3b072e
Update the self-referential destruction sequence in WP_Widget_RSS to account for trailing slashes. TODO: Strengthen our validation here.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17765 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 14:44:43 +00:00
Andrew Nacin
a9c3fe4136
Don't load dashboard widgets via XHR when the feed cache is hot. What a difference it makes, too. Reverts part of [11613], fixes #16927 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17764 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 06:54:03 +00:00
Andrew Nacin
b8cd2bfce8
Use proper placeholders. No need to exit after wp_die(). fixes #17121 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17763 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 01:51:53 +00:00
Ryan Boren
8b8e347d0a
Show access denied page and list a user's sites if they visit an admin they don't have permissions for rather than redirecting to the users' primary blog. fixes #17121
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17762 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 00:43:48 +00:00
Peter Westwood
8f1955ddf5
Introduce WP_MAX_MEMORY_LIMIT constant for the high memory limit we set when image processing and unzipping.
...
Ensure it is always filterable by plugins as well as configurable in wp-config
Fixes #13847 props hakre
git-svn-id: https://develop.svn.wordpress.org/trunk@17749 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 16:25:36 +00:00
Andrew Nacin
f504e221e1
Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17748 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:24:49 +00:00
Andrew Nacin
28a5ec7c1c
Don't load the QuickPress widget via XHR. see #16927 . Reverts [16725] as it's no longer needed. Reverts part of [14815], which introduced the behavior, see #10917 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17743 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 12:02:24 +00:00
Dion Hulse
d16db9ae27
Include TwentyEleven in the 3.2 upgrade process. Props markmcwilliams. See #14484
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17736 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 09:08:39 +00:00
Andrew Nacin
c4cbbe4762
Only show the sticky posts checkbox when edit_others_posts. Doesn't work without it. props solarissmoke, linuxologos, fixes #16947 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17724 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 11:27:08 +00:00
Ryan Boren
d8c335930f
Export commentmeta. Props duck_. see #12871
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17700 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 19:25:45 +00:00
Andrew Ozz
07a62334de
Distraction Free Writing mode, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Dion Hulse
48ac6604b0
Handle zip error's in PclZip better. PclZip::extract() returns an array on success, 0 on failure. Fixes #17224
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17693 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 14:30:44 +00:00
Dion Hulse
912ede4176
Ensure all theme searching is done case-insensitive. Props solarissmoke for initial path. Fixes #17059
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17691 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 13:01:52 +00:00
Andrew Nacin
e312fa6050
Add the filter in display_rows, rather than _display_rows.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17684 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-22 18:33:53 +00:00
Andrew Nacin
d4aad7cf1e
Remove vestige code, prevent over-escaping of post titles when using Quick Edit for hierarchical post types. fixes #17218 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17682 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-22 18:20:49 +00:00
Andrew Nacin
6d852e5f67
This folder is back now under new management. Quit killing it on auto updates.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17664 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-20 16:55:48 +00:00
Dion Hulse
7314d2ff87
Do not delete local package files in WP_Upgrader. Props joelhardi. Fixes #14963
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17660 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-19 05:54:01 +00:00
Ryan Boren
06bb9f1a17
Introduce get_screen_icon(). Props aaroncampbell. fixes #15377
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17656 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 21:51:54 +00:00
Andrew Nacin
ac0c1a2a77
Clarify the return value of get_page_templates(). props kovshenin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17633 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 11:50:27 +00:00
Ryan Boren
2d5559bb8f
Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17630 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 18:55:11 +00:00
Andrew Ozz
4c572d1f03
Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17625 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-10 18:36:05 +00:00
Dion Hulse
e849d6437d
Move closedir() to better locations to prevent the need for error suppression, prevents suppressed Warnings/Notices to be thrown during Plugin Installation. Fixes #16547
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17617 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 09:07:56 +00:00
Andrew Nacin
6aabec9e3c
Remove type attribute from textarea. props solarissmoke.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17615 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 08:30:08 +00:00
Ryan Boren
9691cb5eb2
Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17603 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 17:13:04 +00:00
Dion Hulse
d61b17049e
Set the mb_string internal encoding to ISO-8859-1 whilst uncompressing archives using PclZip. Fixes 'PCLZIP_ERR_BAD_FORMAT (-10) : Invalid block size' errors on systems utilising mbstring.func_overload. Fixes #15789
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17592 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 12:32:06 +00:00
Dion Hulse
8fafc66e84
Remove debug cruft from [17590]. See #14182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17591 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 11:55:27 +00:00
Dion Hulse
3c3304e25f
When upgrading plugins|themes, if the new destination folder is different from the previous folder, delete the old folder upon upgrade. Fixes #14182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17590 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 11:54:07 +00:00
Dion Hulse
0483fd3e64
@ignore for _copy_dir(). Props duck_. See #14484
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17581 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 10:40:55 +00:00
Dion Hulse
b688575c19
Back-compat for core upgrades with pre-3.2. Utilises a temporary _copy_dir() function which can be removed in 3.3-dev to bring immediate wp-content relief to the 3.1-3.2 upgrades. See #14484
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17580 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:50:01 +00:00
Dion Hulse
abb6e01681
Add an extra FTP_LANG_DIR override constant to short-circuit WP_Filesystem_Base::find_folder(WP_LANG_DIR);. See #11495
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17579 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:17:27 +00:00
Dion Hulse
64686e2515
Back-compat for upgrades with WP_LANG_DIR. See #11495
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17578 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:13:50 +00:00
Dion Hulse
69e93e978a
Typo in r17576, Twentyten isn't new to 3.2. See #14484 See #11495
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17577 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 13:32:58 +00:00
Dion Hulse
20603ca19c
Be a party-pooper; No more Akismet Dancing upon upgrade; Respect custom WP_CONTENT_DIR for bundled plugins/theme installation; Respect custom WP_CONTENT_DIR/WP_LANG_DIR for Language files when upgrading; Standardise WP_Filesystem path method returns (They're trailing slash'd). Adds an exclusion list to copy_dir() as well as WP_Filesystem_Base::wp_lang_dir(). See #14484 See #11495
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17576 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 13:28:36 +00:00
Ryan Boren
642f81dd68
Add some nonce checks to the uploaders. Props duck_. For trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17568 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-28 21:30:59 +00:00
Andrew Nacin
289a5e5c8f
Bump update-core and readme for 3.2.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17561 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 21:14:46 +00:00
Andrew Ozz
9c18de1484
Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17556 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 20:12:32 +00:00
Dion Hulse
ec8280cfd8
First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17555 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 02:42:20 +00:00