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
Andrew Nacin
5fc7b13692
Send an associative array to the display_post_states filter. props greenshady, kawauso, fixes #15421 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17544 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:57:12 +00:00
Andrew Nacin
711abb67bc
Avoid functions.php from ever being treated as a page template. fixes #16689 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17539 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:40:52 +00:00
Dion Hulse
1a22b56c53
Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17534 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 11:35:41 +00:00
Dion Hulse
1359ecd06b
Optimisations to WP_Filesystem; Pass known information to called functions. Props aldenta (John Ford) for investigation and patch. See #10913
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17525 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 00:04:15 +00:00
Mark Jaquith
97587c5374
Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17523 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-21 18:30:56 +00:00
Andrew Ozz
80e0029a13
Allow JS functions in the TinyMCE init array, fixes #15596
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17522 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-17 22:01:40 +00:00
Ryan Boren
4cb526a5b1
Mark theme preview iframe as a preview_iframe so that the admin bar doesn't show. Props tetele. fixes #16659 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17502 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 21:54:05 +00:00
Andrew Nacin
b905438706
Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17496 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 18:33:55 +00:00
Andrew Nacin
22230cb94e
Avoid printf entirely. props SergeyBiryukov, fixes #16611 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17481 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 10:12:38 +00:00
Andrew Nacin
6970857abf
Use get_comments_number() in comments_bubble() method. Removes chance of sprintf arguments error due to percent encoding in URLs and kills unnecessary translations. Escape translations into attributes. esc_url on admin_url. fixes #16611 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17475 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 04:24:20 +00:00
Ryan Boren
e7ceede332
Don't allow changing the post type. Props nacin. For trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17457 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 18:58:06 +00:00
Ryan Boren
2394a8d68d
Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17449 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 03:43:47 +00:00
Ryan Boren
e431f630a2
Disallow and hide user removal (as opposed to deletion) for single site installs. Removal is a multisite concept. Props nacin. fixes #16501 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17439 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-10 20:37:26 +00:00
Ryan Boren
451d7d8ffb
Pink the whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:36 +00:00
Ryan Boren
7c37c82691
Add additional promote_users checks. Show Add existing button only for multisite. Don't show bulk actions if user can't promote users. Show add new user menu if user has create_users but not promote_users. Props nacin. fixes #16501 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17431 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:30:26 +00:00
Mark Jaquith
a701db272d
Skip authors that no longer exist when doing an export. props nacin. fixes #16479
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17415 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 19:58:41 +00:00
Mark Jaquith
fd3c1fd8e3
A little escaping paranoia, just to be safe. (Already sanitized, higher up). for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17410 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 19:11:17 +00:00
Ryan Boren
9aa164cfc8
Properly encode the post title. Props koopersmith, nacin. For trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17395 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:26:46 +00:00
Ryan Boren
b625dbb1bb
Remove debug cruft. Props markmcwilliams. fixes #15530
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17383 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-03 20:00:21 +00:00
Andrew Nacin
cea40dfbeb
Use array_intersec_assoc. props duck_, fixes #16378 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17369 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-27 19:37:38 +00:00
Mark Jaquith
e0f37101f7
Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17356 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-24 04:16:55 +00:00
Ryan Boren
bdd25aad05
Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17354 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:47:42 +00:00
Andrew Nacin
3b7734f41a
Add orderby and order hidden fields to each list form, to allow for state. props SergeyBiryukov, fixes #16341 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17353 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:36:54 +00:00
Andrew Nacin
3949bb8c60
doaction buttons don't need a name, only an ID. fixes #16345 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17352 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:31:35 +00:00
Andrew Nacin
d59f1e165e
Global comment_type in WP_Comments_List_Table::prepare_items(). props jorbin, fixes #16344 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17350 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:27:04 +00:00
Andrew Nacin
a399fa0529
Use only an ID, no name, on the 'Filter' buttons on list screens. see #16345 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17349 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:25:32 +00:00
Ryan Boren
a73eee9c84
Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17347 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 03:25:29 +00:00
Mark Jaquith
4bca42b961
Fix the comments "river." issue 9. props garyc40. see #16262
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17344 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 21:17:12 +00:00
Mark Jaquith
19b385450e
Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17343 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 20:28:41 +00:00
Andrew Nacin
04f552b7d5
Use get_column_count() instead of manual logic. props scribu, fixes #16279 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17342 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 07:39:21 +00:00
Andrew Nacin
e8040ea42d
Properly account for columns shown in the list table display_rows_or_placeholder methods. props garyc40, fixes #16279 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17339 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:19:34 +00:00
Andrew Nacin
28e3e0a809
Don't sort the plugin name column. It doesn't stick between actions and is quite useless, so out it goes. fixes #16322 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17338 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:09:46 +00:00
Andrew Nacin
acd01861fb
Don't allow the 'Path' column on sites.php to be hidden. see #16322 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17337 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:09:01 +00:00
Andrew Nacin
b789eb1ace
Link to site-users and network/user-edit on sites.php. props PeteMall, see #16322 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17336 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:08:24 +00:00
Peter Westwood
1827a3df9b
Don't touch web.config when flushing rewrite rules if it is a multisite install. Fixes #16076 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17328 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 16:49:46 +00:00
Mark Jaquith
5a60e327c2
Fix the "Back to Authors and Users" link on Edit Users page. props SergeyBiryukov. fixes #16275
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17324 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-17 23:36:23 +00:00
Andrew Nacin
2b4674a3b4
Remove AJAX from list tables. first pass. see #16262 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Andrew Nacin
71b24d4577
Revert [17270], [17273], see #16166 , see #16262 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17321 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:34:38 +00:00
Andrew Nacin
8030796b65
Remove assignment that is later overridden. props PeteMall.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17319 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 05:47:21 +00:00
Mark Jaquith
4c70887da7
Append -network or -user suffix in convert_to_screen(). props kawauso. fixes #16238
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17318 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 05:38:44 +00:00
Andrew Nacin
6227ef5aa2
Offer the standard tags for the plugin name datapoint. props Kawauso, fixes #16241 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17310 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 07:26:45 +00:00
Peter Westwood
966477d6f7
Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17309 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 03:40:52 +00:00
Ryan Boren
5844e953a8
Improve presentation when there are no available themes. Props solarissmoke, garyc40. fixes #16196
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17303 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 00:35:29 +00:00
Andrew Nacin
fa0584e236
Prevent new bulk actions from being added through the bulk_actions-screen filter. fixes #16031 at least for 3.1.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17297 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 07:20:13 +00:00
Andrew Nacin
96fa9d4b56
Hide the many extraneous meta boxes for pages by default too. see #14212 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17294 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 01:02:15 +00:00
Peter Westwood
1f730d43b8
The old methods are good enough in alot of cases where plugins want to extend simply. So un deprecate for now.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17293 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 23:19:51 +00:00
Andrew Nacin
af64a47f5d
Remove the button too. props ryan, see #14647 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17291 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 22:56:10 +00:00
Andrew Nacin
599875b5b9
Old files removal for 3.1, against r17285.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17290 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 22:19:05 +00:00
Andrew Nacin
a711d9b671
Remove the TinyMCE media plugin. fixes #14647 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17288 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 21:57:30 +00:00
Mark Jaquith
9ce71fde62
Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17284 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 07:14:12 +00:00
Andrew Nacin
4fcde740f1
Fix plugin-install column hiding and widths. props PeteMall, fixes #16210 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17281 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:50:23 +00:00
Andrew Nacin
911530b2fe
Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17278 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:21:30 +00:00
Andrew Nacin
03582ad585
Revert [17275] and [17276]. The rabbit hole is too deep. see #16166 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17277 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:50:35 +00:00
Andrew Nacin
aa8519609e
Move edit.php bulk actions code to a handler in the list table class. see #16166 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17276 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:34:18 +00:00
Andrew Nacin
51b498aec2
Force get_pagenum to validate max pages. Add sanity redirect code to upload.php. see #16187 . props MarkJaquith, greuben.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17271 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 17:24:34 +00:00
Andrew Nacin
19122c3516
Keep sorting and paging for bulk actions. props garyc40, see #16166 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17270 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 17:06:33 +00:00
Andrew Nacin
6356b0a0b8
Document abstract methods in WP_List_Table.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17268 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 08:05:23 +00:00
Andrew Nacin
84e50d906f
Leave the 'Try Again' link for the wp_die() when the themes API fails. props solarissmoke, fixes #16132 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17264 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 00:18:23 +00:00
Andrew Nacin
6d0af32ea7
Add nonces to instances where the list table display() method is overridden. see #16188 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17262 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 22:42:22 +00:00
Andrew Nacin
4c869552ff
Nonce checks for internal linking and list table ajax. fixes #16188 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17255 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:03:50 +00:00
Mark Jaquith
d25923ae63
Remove the help prompt text on the Post Format UI. It gets annoying quickly. see #15638
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17250 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:56:23 +00:00
Ryan Boren
d95ed80091
Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17239 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 20:52:42 +00:00
Ryan Boren
5cd255f193
Fix net admin theme deletion over FTP. see #16117
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17237 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 19:01:34 +00:00
Ryan Boren
ecfd980687
Use edit_comment cap. Props casben79. fixes #16129
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17232 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:17:05 +00:00
Ryan Boren
eba71eb7c0
Bring out the shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Andrew Nacin
cc3ed56b35
More room for your content! Increase default post edit rows as the meta boxes are all hidden by default. see #14212 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17225 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 00:57:24 +00:00
Ryan Boren
b27d7ad9b0
Avoid notice.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17223 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-05 18:18:31 +00:00
Ryan Boren
b9d0f9fd0b
Don't show button in placeholder row. Props SergeyBiryukov. fixes #16095
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17222 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-05 16:27:39 +00:00
Andrew Nacin
10a9702a4d
Alter admin_notices usage in admin/includes/ms.php due to changes in the action with the network/user admin. props PeteMall, see #16063 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17215 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-04 07:26:57 +00:00
Ryan Boren
457989ce16
PHP4 compat. Props SergeyBiryukov, westi. see #16080
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17211 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-03 19:19:34 +00:00
Andrew Nacin
70c1166ad1
Use correct variables. props garyc40, see #15503 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17206 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-02 10:55:10 +00:00
Andrew Nacin
4f947ac5b9
Disabled states for first/prev and next/last pagination buttons when they should noop. see #15503 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17202 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 23:19:26 +00:00
Andrew Nacin
e1ffe72def
Allow us to return from whence we came. Specify wp_http_referer for user-edit in the network admin, as we may come from network/users or site-users. props PeteMall, SergeyBiryukov, fixes #16053 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17201 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 22:30:46 +00:00
Andrew Nacin
bce405d0f2
Don't esc_html the default error string. props SergeyBiryukov, fixes #16058 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17200 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 22:14:42 +00:00
Ryan Boren
7fe3731637
Introduce include_selected arg for wp_dropdown_users(). Add current author to dropdown in post_author_meta_box(). fixes #16045
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17198 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 01:52:03 +00:00
Andrew Nacin
92fe9ad043
Remove a random nacin typo introduced in 3.0. see [12976], #16055 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17196 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 23:58:02 +00:00
Andrew Nacin
8ace5bbf91
div.alignleft.actions needs to wrap the 'Empty Trash' button too, otherwise they're not aligned. see #15580 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17195 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 23:56:38 +00:00
Andrew Nacin
714124263f
Restore original argument order for the taxonomy quick_edit_custom_box hook. fixes #15285 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17193 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 16:34:08 +00:00
Andrew Nacin
31285457f2
Small visual improvements to post formats on edit.php. see #16047 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17191 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 04:49:27 +00:00
Ryan Boren
a0a77f0380
Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17189 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 23:38:21 +00:00
Andrew Nacin
2d0e34b310
Typo fix. props Kawauso.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17188 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 21:58:44 +00:00
Ryan Boren
1ac9d9092d
Fix registered and path column sorting. Props garyc40. fixes #16034
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17180 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 18:06:33 +00:00
Mark Jaquith
04c38b28f7
urlencode() theme name when creating theme edit link. props tomthewebmaster. fixes #16028
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17177 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 16:09:01 +00:00
Ryan Boren
d554c850ac
Hard limit to 10 comments on edit post screen. Props greuben. fixes #15998
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17168 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-29 15:58:46 +00:00
Ryan Boren
bf86ab0a2d
Issue manage_pages_custom_column for hierarchical post types. Props mrwok, duck_. fixes #16000
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17160 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 19:34:31 +00:00
Ryan Boren
b6ff912589
Link Links columns to link manager. Props nacin. fixes #15994
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17159 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-27 16:57:19 +00:00
Ryan Boren
3edaa30bed
Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17156 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:06:15 +00:00
Ryan Boren
2b54d5a3b6
RTL pagination fixes. Props yoavf. fixes #15974
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17153 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 21:54:52 +00:00
Ryan Boren
1430acde73
Give search submit buttons a unique ID. Props dd32. fixes #15979
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17151 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 21:49:51 +00:00
Andrew Nacin
00eaa56f22
RTL for theme installer. props yoavf, fixes #15984 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17149 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 06:31:46 +00:00
Andrew Nacin
50820cb116
Revert to esc_html when escaping the textarea for nav menu item description. see #15454 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17143 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 18:42:59 +00:00
Andrew Nacin
ae22a6d462
Tag textareas escaped earlier with textarea_escaped. see #15454 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17141 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 17:58:01 +00:00
Andrew Nacin
b98ffad893
RTL for the new style pagination links. fixes #15974 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17139 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 13:48:13 +00:00
Ryan Boren
b58a795627
MS themes fixes. Fix bulk actions when no items selected. Props SergeyBiryukov, nacin. fixes #15920
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17130 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:41:36 +00:00
Andrew Nacin
de8fda19e3
Validation fixes. props ocean90, fixes #15287 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17129 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 14:19:41 +00:00
Ryan Boren
ee09d38544
Fix comment reply colspan. Props garyc40. fixes #15876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17124 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:21:29 +00:00
Peter Westwood
64e7465e1c
Ensure that images added using Press This get the correct source url set. Fixes #15841 props duck_.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17120 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 15:41:05 +00:00
Ryan Boren
b6b6693135
Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17117 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 14:44:51 +00:00
Ryan Boren
fea14d8ba6
Set the correct plural. Use plugins class on the table. Props scribu. fixes #15922
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17115 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 14:34:14 +00:00