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
Ryan Boren
9f9f401c42
Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17113 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 19:03:43 +00:00
Ryan Boren
ef34db239b
Use term_taxonomy_id instead of term_id. Props duck_, nootron. fixes #15941
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17108 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 17:38:22 +00:00
Mark Jaquith
63ff32198f
Display placeholder when no comments found. props garyc40. fixes #15937
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17103 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:34:29 +00:00
Ryan Boren
34ef8c8df9
Translations in title attributes require esc_attr().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Ryan Boren
280f384b72
Add delete support to network themes. Props PeteMall. fixes #15707
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17101 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 16:50:16 +00:00
Andrew Nacin
d3729a2484
New help strings in internal linking. props jane, see #15739 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17099 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 15:04:59 +00:00
Andrew Nacin
408eb985c8
Add missing translation for 'Page Template' in the theme editor. props SergeyBiryukov, fixes #15933 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17098 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 14:58:54 +00:00
Andrew Nacin
fbc4c6980e
Don't include trash posts in the sticky posts count. props garyc40, fixes #15934 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17097 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 14:58:17 +00:00
Ryan Boren
1f3ea01d78
List table spinner. Props scribu. see #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17090 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 18:45:05 +00:00
Ryan Boren
aca2b86eaf
Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17088 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:25:39 +00:00
Andrew Nacin
f5ab190c44
Don't check the upload space site option if the option is disabled. props greuben, fixes #13601 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17085 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:44:33 +00:00
Ryan Boren
76e77b1790
Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17084 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:25:35 +00:00
Ryan Boren
b69af5ae31
Consistently use edit_posts_per_page. Props sorich87. fixes #14135
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17082 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:18:13 +00:00
Andrew Nacin
ed9ce46089
Fix placeholder issues when removing comments. props garyc40, fixes #15879 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Ryan Boren
b677baf564
Restrict meta update/delete to the current post. Props kawauso. fixes #15276
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17078 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 12:38:21 +00:00
Andrew Nacin
18edc09e6a
More @since. props SergeyBiryukov, fixes #15445 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Andrew Nacin
19c95bfae2
Don't double-slash list table include. props wpmuguru, fixes #15904 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17070 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:14:15 +00:00
Mark Jaquith
acd961d4f8
Only set default post format on new posts – not old ones. props nacin. fixes #15882
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17062 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 19:22:31 +00:00
Andrew Nacin
f660585656
Allow dfault post format selections. fixes #15882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17056 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 05:36:11 +00:00
Ryan Boren
b209dadc63
Remove 'Search Results filter from ms themes. fixes #15872
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17050 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 01:11:38 +00:00
Ryan Boren
b0b270dc34
Search query string tweaks for net plugins. Props PeteMall. see #15872
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17038 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 23:47:40 +00:00
Ryan Boren
8ec123bd34
Remove the delete action link from the network admin if the plugin is active on the main site. Remove the plugin(s) from the deletion list for the bulk actions and shows an error if no other plugin was selected for bulk-deletion. Props PeteMall. see #15709
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17033 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:53:47 +00:00
Ryan Boren
bf811456b4
Admin bar visibility prefs. Props duck_. see #15829
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17032 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:48:30 +00:00
scribu
4259d00a2f
Fix notices in quick-edit. See #15285
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17027 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 13:20:17 +00:00
scribu
ac11ac7bc8
Always show term search box. See #15857
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17026 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 11:41:59 +00:00
scribu
a2d38faed6
Display categories again. Props garyc40. Fixes #15857
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17025 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 11:17:41 +00:00
scribu
e58993fe2e
Disable sorting by post count for now. See #15861
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17024 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 10:25:27 +00:00
Peter Westwood
e7e3b8fde9
Make note that this is a preview_iframe. See #15856
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17018 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:30:33 +00:00
scribu
e452616f40
Make WP_User_Query return regular objects by default. Fixes #15854
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17013 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:38:15 +00:00
scribu
48141dcc84
Get only required fields in populate_network(). See #15854
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17012 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:11:21 +00:00
Ryan Boren
748f5f0154
phpdoc notation fixes. Props demetris. fixes #15852
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17009 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 22:46:13 +00:00
Peter Westwood
96129e7e4b
Give the button an id so it validates.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17008 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 21:35:39 +00:00
Peter Westwood
f3490db600
Give the screen options Apply button an id so it validates.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17007 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 21:08:37 +00:00
scribu
0f40bb19cd
Introduce WP_List_Table::search_box(). See #15353
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17006 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 20:45:10 +00:00
Pete Mall
ad14a8f5f4
New filter for network admin plugins action link. Fixes #15850 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17004 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:22:46 +00:00
scribu
96e692baed
Always display the table, with a placeholder row when there are no items. Fixes #15849
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17002 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:05:14 +00:00
Ryan Boren
de072fe02a
Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17001 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:48:20 +00:00
Andrew Nacin
541c45ba0e
Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:31:42 +00:00
Andrew Nacin
266cd3f5df
Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16992 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:18:28 +00:00
Andrew Nacin
8661cbc56e
Move check_permissions() out of ajax_response(). see #15326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16991 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:48:16 +00:00
Andrew Nacin
afecafe7ab
Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16990 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:43:22 +00:00
Andrew Nacin
e06249b885
We don't apply markup here. see #15742 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16988 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:04:54 +00:00
Andrew Nacin
3653bb7926
Use maybe_network_admin_url. see #15840 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16978 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:12:55 +00:00
Pete Mall
c500dc3d90
s/<? /<?php / in [16963].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16973 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 23:21:07 +00:00
Andrew Nacin
dd73d5d9d3
Post formats help text. fixes #15376 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16969 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:24:34 +00:00
Pete Mall
8b2dc546cf
This is only for use in the Network admin when it is always multisite.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16968 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:11:55 +00:00
Peter Westwood
ca8fa5e2bd
This is only for use in the Network admin when it is always multisite.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16967 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:09:50 +00:00
Peter Westwood
d48ff05f70
Re-instate this code so AJAX still works
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16966 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:04:31 +00:00
Peter Westwood
424a82f2ef
Move post_type var setup back into edit.php and reinstate the cap check. See #15326
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16965 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:58:05 +00:00
Andrew Nacin
31a1806d2e
Revert [16645]. see #15625 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16964 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:50:39 +00:00
Andrew Nacin
98aac89317
Plugin install and thickbox for the network admin. props ocean90, fixes #15510 , fixes #15750 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:48:40 +00:00
Peter Westwood
f03dece666
Fix HTML validation errors. Fixes #15716 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16962 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:34:59 +00:00
Andrew Nacin
951bc1b23b
s/example-about-page/sample-page/. see #14973 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16959 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:55:49 +00:00
Andrew Nacin
4904a251a5
Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16938 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:27:38 +00:00
scribu
510942bbfb
Limit height only to iframe body. Fixes #15679
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16937 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 10:39:50 +00:00
Ryan Boren
5df71d4669
Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16931 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 02:36:24 +00:00
Andrew Nacin
fc524daa7f
Remove unneeded stripslashes. see #14543 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16923 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 18:56:15 +00:00
Andrew Nacin
dc821cedbf
Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16922 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 17:58:47 +00:00
scribu
1d3a1c1460
Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16911 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:53:31 +00:00
scribu
a8ad040d3c
Run parent title through 'the_title'. Props garyc40. Fixes #13968
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16908 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 10:22:06 +00:00
Dion Hulse
c6f239ae68
Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16904 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:31:33 +00:00
Ryan Boren
7f21740324
Use https for preview links if is_ssl(). Props nacin, filosofo. fixes #13328
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16903 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 22:38:27 +00:00
Ryan Boren
04e1d8553a
Add user id to lock. Props duck_. see #15130
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16901 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:23:46 +00:00
Ryan Boren
6dc2d07bc4
Pink trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Ryan Boren
c5e9c0ce99
Bump ver.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16895 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 15:33:39 +00:00
Dion Hulse
3fcf08fe17
Add missing global for r16881 See #15781
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16882 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 06:40:52 +00:00
Dion Hulse
81e923a291
Include Javascript Global variables in iframe_header(); Add extra style/script actions which are missing from iframe_header() to bring it inline with admin-header.php. Fixes #15781
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16881 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 05:43:35 +00:00
Peter Westwood
721f2b01cf
Fix row hilighting when user is spam. See #15558 props beaulebens.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16879 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:40:49 +00:00
Andrew Nacin
3ebb27ae3e
Always exit after wp_redirect. props filosofo, fixes #15518 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16847 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 18:02:54 +00:00
Ryan Boren
c120fd98ee
Don't show the WP plugins widget in multisite in the site admin. Props ocean90. fixes #15748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16841 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:37:16 +00:00
Andrew Nacin
63d7b51d01
Adjust branching and errors in WP_Themes_List_Table::no_items(). fixes #15751 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16838 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:12:04 +00:00
scribu
a3c3dc3273
Fix strange JS error when trashing a comment. Props greuben. Fixes #15746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16836 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 14:16:35 +00:00
Andrew Nacin
bac58b8e62
Example About Page. props jane, studionashvegas. fixes #14973 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16835 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 13:20:40 +00:00
Andrew Nacin
f11e53166e
s/can_edit_site/can_edit_network/g. see #15720 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16833 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 12:36:39 +00:00
scribu
9835b5ff25
Add @return to add_*menu_page() docs. Fixes #15747
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16831 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 06:54:48 +00:00
Andrew Nacin
684d85ff2f
Fix menu_page_url() for submenu pages attached to custom menu pages. props duck_, see #14159 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16829 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 04:02:37 +00:00
Andrew Nacin
fc9815537d
Add the for atteibute to internal linking labels. props batmoo, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16827 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 01:46:31 +00:00
Mark Jaquith
596471065a
Keep Dashboard RSS widgets in same place when configuring. props duck_. fixes #14785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16814 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:53:26 +00:00
Dion Hulse
d81779a74d
Remove visit site button gradient images from pre-3.0. see [16417]. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16796 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 10:01:18 +00:00
Andrew Nacin
19677466aa
Fix logic inversion. see #15699 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16794 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:28:20 +00:00
Andrew Nacin
668956d2ff
Handle posts without titles better in internal linking. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16784 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 00:22:43 +00:00
Andrew Nacin
137601189d
Don't show plugin edit link in the site admin. fixes #15722 . fixes logic in [16777].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16778 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:14:44 +00:00
Andrew Nacin
35d7a02cba
Don't show plugin edit link in the site admin. fixes #15722 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16777 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:06:44 +00:00
Andrew Nacin
aa29bef29a
Don't check post counts in the network admin. props scribu, fixes #15699 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16775 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 20:54:04 +00:00
Andrew Nacin
b8569cefb7
Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16773 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 19:42:57 +00:00
Ryan Boren
5eb199f6f3
Fix return the themes links. Props duck_. fixes #15718
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16766 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:01:58 +00:00
Peter Westwood
f6b9beb519
Use a span so we mark up the all the info about the site. See #15716 - allows for css targetting based on site.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16765 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 15:00:30 +00:00
Peter Westwood
9c2a7dc314
Introduce can_edit_site to replace inline checks on whether or not the site_id is for the current Network. See #15716 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16764 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 14:28:40 +00:00
Peter Westwood
0485062f5d
Allow for the callee of download_url() to specify a different timeout if they want to - maybe they don't want to wait that long.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16763 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 12:45:24 +00:00
Andrew Nacin
a63bf413ad
Move [14551] to after the is_wp_error check. see #13133 , fixes #15511 , props alexdunae.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16761 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 07:12:55 +00:00
Andrew Nacin
689a65c8e6
Don't reference nonexistent tabs. see #15707 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16759 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 21:37:35 +00:00
Andrew Nacin
efa71cfe2c
Set AuthorName even when no translation or markup is processed. see #15662 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16758 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 21:18:18 +00:00
Andrew Nacin
efbe42fc1c
Add AuthorName to get_plugins() and use it when deleting a plugin. fixes #15662 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16757 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 20:49:54 +00:00
Andrew Nacin
975fb7af21
Don't show theme deletion link in multisite in the site admin. Also, link to proper theme-install when using multisite if there are no themes. see #15707 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16756 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 20:48:41 +00:00
Andrew Nacin
e6dbe89d7d
Fix handling of no titles and long titles in internal linking. see #11240 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16750 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:28:06 +00:00
Andrew Nacin
cad9b99f1e
Use correct variable. props ocean90, fixes #15693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16748 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:44:30 +00:00
Andrew Nacin
8abcb8e5ce
Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16747 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:41:19 +00:00
Andrew Nacin
2c44ffcc57
Restore bottom padding in plugin rows. fixes #15547 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16745 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:15:09 +00:00
Andrew Nacin
4bc60bd62a
String fixes. props demetris. fixes #15688 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16734 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 14:31:18 +00:00
Andrew Nacin
e16287f1fa
Export filtering JS and minor tweaks. props duck_, see #15197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16733 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 11:21:08 +00:00
Andrew Nacin
d6ae552b4e
Fix notice. props vericgar, fixes #11976 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16729 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 03:01:42 +00:00
Andrew Nacin
7cf388085a
Add 'Visual Editor RTL Stylesheet' to the list of theme file descriptions. see #15672 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16717 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 04:22:48 +00:00
scribu
a01db8b692
Check correct cap in WP_Terms_List_Table::check_permissions. Props duck_. Fixes #15673
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16713 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 23:18:02 +00:00
scribu
9efb88a3ac
Use more specific view classes in plugin & theme install screens. Props batmoo. Fixes #15658
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16710 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 18:51:24 +00:00
Pete Mall
2cda8d6dd2
Show network only plugins for !is_multisite. Fixes #15666
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16709 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 18:05:37 +00:00
Peter Westwood
4e3458f227
Actions and Filters for the Network Admin sites panel to make it easier to add custom actions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16707 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 12:12:44 +00:00
Mark Jaquith
2158fc7445
Backwards compat for plugin use of updated=1. fixes #15660
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16706 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 10:59:20 +00:00
scribu
8d2cf2d793
More s/upgrade/update. Props michaelh. See #15656
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16701 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 09:16:28 +00:00
Pete Mall
9ad4ce2511
s/Enable/Network Enable for net admin themes. Fixes #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16700 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:49:18 +00:00
Andrew Nacin
872372d68c
s/occured/occurred/. props aldenta, fixes #15653 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16699 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:30:21 +00:00
Mark Jaquith
13ed00f2d4
Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16696 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:45:47 +00:00
scribu
6708e2ea42
Fix compression test 404. Props duck_. Fixes #15496
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16689 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 14:15:25 +00:00
Andrew Nacin
4a8c7f3dfa
add_editor_style should include the parent theme CSS before the child theme CSS for override reasons. props JohnPBloch. fixes #14430 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16688 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 13:54:56 +00:00
Andrew Nacin
45051d8206
define isRtl in the media upload iframe. props filosofo, fixes #15639 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16687 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 12:44:48 +00:00
Mark Jaquith
a2a3977b3c
PHPDoc. see #15638
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16684 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 05:47:17 +00:00
Andrew Nacin
e86dc10b71
Revert [15742]. Custom post types and sticky posts don't mix. fixes #12702 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16680 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 03:39:26 +00:00
Mark Jaquith
c821bc7ca2
The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16679 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 03:19:14 +00:00
Mark Jaquith
86ab422fcc
Move Post Format UI out of Publish meta box and into its own box. see #15638
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16678 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 02:42:38 +00:00
Ryan Boren
14a1be89f6
Deprecate and ignore the refresh arg. fixes #15605
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16673 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 22:12:09 +00:00
Mark Jaquith
c9b4b18cf9
Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16669 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:41:47 +00:00
Ryan Boren
36a4508140
Update since phpdoc. Props demetris. fixes #15445
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
Ryan Boren
b9b0e7215c
Save meta id before performing actions since the insert_id can change. Props cyberhobo. fixes #15465
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16659 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:11:47 +00:00
Ryan Boren
51879abf56
Export filtering. Props duck_. fixes #15197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16652 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:21:58 +00:00
Ryan Boren
ca60ed1d07
Don’t nag to Change Permalinks if permalink structure is defined. Props demetris. fixes #13918
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16651 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:16:22 +00:00
Peter Westwood
80c79e5607
Don't show the Post Format if the current theme doesn't support them. Fixes #15625 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16645 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 12:31:27 +00:00
Nikolay Bachiyski
508084aba6
Add another pair of parentheses, so that the right-hand win_is_writable() isn't always called. Fixes #15616
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16635 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 21:41:57 +00:00
Nikolay Bachiyski
d79653915b
Run the iis7_supports_permalinks() check first
...
* It's cheapest, most of the others involve disk operations
* Doesn't go through win_is_writable(), which can't avoid relying on the @ operator
git-svn-id: https://develop.svn.wordpress.org/trunk@16634 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:50:59 +00:00
Pete Mall
4331aa9663
Remove update notifications from site-themes. See #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16629 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:31:49 +00:00
Nikolay Bachiyski
757aeb2121
Rename the $rm variable so that the logic in win_is_writable() makes more sense
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16623 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:57:39 +00:00
Nikolay Bachiyski
8a45977efc
Proper spacing in win_is_writable(), according to the coding standards
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16622 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:13:27 +00:00
Nikolay Bachiyski
17ad180ca0
COonvert spaces to tabs
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16621 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:11:09 +00:00
Pete Mall
04b78e6ab2
Remove theme udpate notification from site admin for multisite installs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16620 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 03:03:40 +00:00
scribu
907353550e
Get rid of in favor of . Fixes #15607 . See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16617 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:15:04 +00:00
Ryan Boren
b15476c5fd
Remove unnecessary addslashes. Props duck_. fixes #15325
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16608 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 14:40:43 +00:00