Dion Hulse
|
068df26686
|
Switch to using HTTPS connections for Plugin and Theme API requests when SSL is available. See #18577
Built from https://develop.svn.wordpress.org/trunk@25308
git-svn-id: http://core.svn.wordpress.org/trunk@25270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-09 07:54:11 +00:00 |
|
Dion Hulse
|
2caf5fe381
|
Upgrader: Deprecate a few mostly unused functions, wp_update_plugin(), wp_update_theme(), and, wp_update_core().
wp_update_core() was still used, as it was never updated to make use of the newer Skins. Fixes #21874
Built from https://develop.svn.wordpress.org/trunk@25307
git-svn-id: http://core.svn.wordpress.org/trunk@25269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-09 06:45:08 +00:00 |
|
Dion Hulse
|
023a4c7336
|
WP_Filesyste: SSH2 PHP Extension support: Fix a case where defining a custom FS_CHMOD_FILE / FS_CHMOD_DIR constant wouldn't take effect due to chmod() failing with a invalid path. Fixes #23589
Built from https://develop.svn.wordpress.org/trunk@25306
git-svn-id: http://core.svn.wordpress.org/trunk@25268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-09 03:05:09 +00:00 |
|
Dion Hulse
|
7a6fad844a
|
WP_Filesystem: Let the code breathe, add some additional whitespace between method definitions and comments.
Built from https://develop.svn.wordpress.org/trunk@25305
git-svn-id: http://core.svn.wordpress.org/trunk@25267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-09 02:55:09 +00:00 |
|
Dion Hulse
|
6d1ffc62ea
|
WP_Filesystem: Ensure that all files are read/written correctly by verifying the return values from fwrite() and using FTP_BINARY mode (ASCII converts line endings as per the spec). See #25237
Built from https://develop.svn.wordpress.org/trunk@25304
git-svn-id: http://core.svn.wordpress.org/trunk@25266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-09 02:43:08 +00:00 |
|
Helen Hou-Sandí
|
8798685de5
|
Alignment standards for [25296]. props DrewAPicture. see #25171.
Built from https://develop.svn.wordpress.org/trunk@25300
git-svn-id: http://core.svn.wordpress.org/trunk@25263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-07 22:07:09 +00:00 |
|
Sergey Biryukov
|
05d55a400b
|
Avoid PHP notices when configuring the Incoming Links dashboard widget. fixes #25250.
Built from https://develop.svn.wordpress.org/trunk@25298
git-svn-id: http://core.svn.wordpress.org/trunk@25261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-07 18:17:10 +00:00 |
|
Helen Hou-Sandí
|
304426cece
|
Add dynamic classes for attachment metadata submitbox sections. see #22333, #25171.
Built from https://develop.svn.wordpress.org/trunk@25297
git-svn-id: http://core.svn.wordpress.org/trunk@25260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-07 16:20:09 +00:00 |
|
Helen Hou-Sandí
|
89421ddeaa
|
Add media_submitbox_misc_sections and audio_submitbox_misc_sections filters to allow removing or adding of attachment submitbox sections containing attachment metadata. props desroj, DrewAPicture. fixes #25171.
Built from https://develop.svn.wordpress.org/trunk@25296
git-svn-id: http://core.svn.wordpress.org/trunk@25259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-07 16:19:10 +00:00 |
|
Scott Taylor
|
a4841da471
|
Use get_the_title() when dealing with post_type -like items in the admin.
Props nacin, DrewAPicture.
Fixes #14975.
Built from https://develop.svn.wordpress.org/trunk@25285
git-svn-id: http://core.svn.wordpress.org/trunk@25249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-06 17:08:08 +00:00 |
|
Andrew Nacin
|
5e0040a6ca
|
Add new ajax_query_attachments_args filter.
props alex-ye.
fixes #24285.
Built from https://develop.svn.wordpress.org/trunk@25279
git-svn-id: http://core.svn.wordpress.org/trunk@25243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-06 15:18:09 +00:00 |
|
Sergey Biryukov
|
897ddbd76c
|
Use correct array key for filling the attachment title in image_attachment_fields_to_save(). props pross.
Use wp_basename() to avoid issues with UTF-8 characters.
fixes #25236.
Built from https://develop.svn.wordpress.org/trunk@25277
git-svn-id: http://core.svn.wordpress.org/trunk@25242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-06 14:10:09 +00:00 |
|
Dion Hulse
|
db6cf37f91
|
WP_Filesystem: FTP Sockets: Avoid using the file_exists() / is_exists() / exists() PemFTP functionality as it's buggy on ncFTPd servers, switching to listing the file instead which is what we use for the FTP Extension transport. Fixes #14049
Built from https://develop.svn.wordpress.org/trunk@25274
git-svn-id: http://core.svn.wordpress.org/trunk@25240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-06 08:29:09 +00:00 |
|
Dion Hulse
|
443aa35cfc
|
Upgrader: Make clearing the Plugin and Theme update caches optional during install and upgrade proceedures. See #22704
Built from https://develop.svn.wordpress.org/trunk@25272
git-svn-id: http://core.svn.wordpress.org/trunk@25238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-06 01:33:09 +00:00 |
|
Scott Taylor
|
bb0761e475
|
Remove redundant checks in some update functions. Adds some readability/coding standards cleanup.
Props miqrogroove, azaozz.
Fixes #22828.
Built from https://develop.svn.wordpress.org/trunk@25256
git-svn-id: http://core.svn.wordpress.org/trunk@25224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-05 17:05:15 +00:00 |
|
Scott Taylor
|
31f26dc3ce
|
Remove lingering instances of call time pass-by-reference, limited to instances of callable - use $this instead of &$this .
Props jdgrimes.
See #25160.
Built from https://develop.svn.wordpress.org/trunk@25254
git-svn-id: http://core.svn.wordpress.org/trunk@25222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-05 16:34:09 +00:00 |
|
Scott Taylor
|
ffe8f1b13a
|
Remove unnecessary checks before setting $wp_settings_* arrays. Adds unit test for setting a nonexistent variable to a multi-dimensional array .
Props scribu.
Fixes #17884.
Built from https://develop.svn.wordpress.org/trunk@25240
git-svn-id: http://core.svn.wordpress.org/trunk@25210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-04 19:07:09 +00:00 |
|
Dion Hulse
|
4231f4668a
|
Core Auto Updates: Add a initial skin to allow capturing the output from the upgrader without displaying it (such as we need during cron calls).
This has been copied almost verbatim from the automatic-updater plugin with a few style tweaks and additional upgrade-possible check. See #22704
Built from https://develop.svn.wordpress.org/trunk@25228
git-svn-id: http://core.svn.wordpress.org/trunk@25198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-04 07:17:09 +00:00 |
|
Dion Hulse
|
bc02809fe3
|
Upgrader: Split the UI "skins" out from the main Upgrader file into a seperate file to reduce the length of the files. See #22704
Built from https://develop.svn.wordpress.org/trunk@25227
git-svn-id: http://core.svn.wordpress.org/trunk@25197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-04 06:35:10 +00:00 |
|
Sergey Biryukov
|
89aed6d7e8
|
Avoid 'Only variables should be passed by reference' notice on plugin search. props daankortenbach. fixes #25217.
Built from https://develop.svn.wordpress.org/trunk@25210
git-svn-id: http://core.svn.wordpress.org/trunk@25182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-02 13:54:10 +00:00 |
|
Sergey Biryukov
|
eccd3e42df
|
Deprecate wp_nav_menu_locations_meta_box(), unused since [23441]. props DrewAPicture. fixes #24942.
Built from https://develop.svn.wordpress.org/trunk@25209
git-svn-id: http://core.svn.wordpress.org/trunk@25181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-02 11:26:09 +00:00 |
|
Sergey Biryukov
|
0d0c87041c
|
Move get_real_file_to_edit() upper in the file for consistency with the existing order of functions. Some phpdoc fixes and additions. see #23680.
Built from https://develop.svn.wordpress.org/trunk@25208
git-svn-id: http://core.svn.wordpress.org/trunk@25180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-02 11:19:10 +00:00 |
|
Sergey Biryukov
|
6760d294bb
|
Update phpdoc for get_user_to_edit(), get_userdata(), and get_user_by(). props tivnet. fixes #24992.
Built from https://develop.svn.wordpress.org/trunk@25204
git-svn-id: http://core.svn.wordpress.org/trunk@25176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-02 03:25:09 +00:00 |
|
Sergey Biryukov
|
00c9232a19
|
Move get_real_file_to_edit() to wp-admin/includes/deprecated.php. props iamfriendly. fixes #23680.
Built from https://develop.svn.wordpress.org/trunk@25201
git-svn-id: http://core.svn.wordpress.org/trunk@25173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-09-01 12:37:12 +00:00 |
|
Dion Hulse
|
d221f04e60
|
Plugin Upgrader: Plugin_Upgrader::upgrade() returns nothing in event of success, every other install(), upgrade() and bulk_upgrade() method returns true, so return true;
Built from https://develop.svn.wordpress.org/trunk@25181
git-svn-id: http://core.svn.wordpress.org/trunk@25153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-30 07:38:09 +00:00 |
|
Dion Hulse
|
d3bd82f0ac
|
Theme Upgrader: Be super-careful and check the contents of the $wp_theme_directories variable before merging it, if someone has changed it directly, or worse, unset it, this could've resulted in the $protected_directories being empty. See [25082] See #22501
Built from https://develop.svn.wordpress.org/trunk@25180
git-svn-id: http://core.svn.wordpress.org/trunk@25152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-30 07:35:09 +00:00 |
|
Andrew Nacin
|
af70c14d6d
|
Add signup_id primary key to $wpdb->signups, and add better indexes.
props josephscott, pento, barry.
see #15004.
Built from https://develop.svn.wordpress.org/trunk@25179
git-svn-id: http://core.svn.wordpress.org/trunk@25151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-30 04:30:08 +00:00 |
|
Andrew Nacin
|
f16aee063e
|
Avoid validating wildcard hostnames in populate_network() when multisite is already activated.
props jeremyfelt.
fixes #25182.
Built from https://develop.svn.wordpress.org/trunk@25171
git-svn-id: http://core.svn.wordpress.org/trunk@25146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-29 19:31:09 +00:00 |
|
Andrew Nacin
|
aa6d5ddb3e
|
Don't create an edit link to a non-UI post type in the media list table.
props johnbillion.
fixes #20453.
Built from https://develop.svn.wordpress.org/trunk@25140
git-svn-id: http://core.svn.wordpress.org/trunk@25120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-27 20:49:10 +00:00 |
|
Andrew Nacin
|
f137f63e13
|
Network Admin: Hide the bulk actions checkbox for the main site.
props ericlewis.
fixes #24463.
Built from https://develop.svn.wordpress.org/trunk@25125
git-svn-id: http://core.svn.wordpress.org/trunk@25105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-26 18:46:08 +00:00 |
|
Sergey Biryukov
|
ca17a6161a
|
Avoid displaying multiple instances of the same feature pointers on a single screen. props nacin. fixes #25022 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25117
git-svn-id: http://core.svn.wordpress.org/trunk@25097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-24 22:34:10 +00:00 |
|
Sergey Biryukov
|
61e5d3e5c1
|
Remove unused variable. props jeremyfelt. fixes #25121.
Built from https://develop.svn.wordpress.org/trunk@25098
git-svn-id: http://core.svn.wordpress.org/trunk@25080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-23 00:19:09 +00:00 |
|
Andrew Nacin
|
d06c049d51
|
Fix various typos in inline documentation. props nofearinc, fixes #25119.
Built from https://develop.svn.wordpress.org/trunk@25094
git-svn-id: http://core.svn.wordpress.org/trunk@25078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-22 22:01:08 +00:00 |
|
Andrew Nacin
|
9b0e21493d
|
In the admin, do not use auto-generated Gravatar images for comment authors.
This makes it easier to recognize Gravatars (or lack thereof) when moderating comments.
props solarissmoke.
fixes #7054.
Built from https://develop.svn.wordpress.org/trunk@25091
git-svn-id: http://core.svn.wordpress.org/trunk@25075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-22 20:08:08 +00:00 |
|
Helen Hou-Sandí
|
eb44516e48
|
Add more descriptive classes to submit meta box sections. props nofearinc. fixes #22333.
Built from https://develop.svn.wordpress.org/trunk@25083
git-svn-id: http://core.svn.wordpress.org/trunk@25068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-22 15:24:10 +00:00 |
|
Dion Hulse
|
8a70215404
|
Theme Installer/Updater: Handle custom Theme directories when updating themes, and installing new themes. Fixes #22501
Built from https://develop.svn.wordpress.org/trunk@25082
git-svn-id: http://core.svn.wordpress.org/trunk@25067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-22 04:50:09 +00:00 |
|
Dion Hulse
|
46daa240b9
|
Sanitize the plugin path in _get_plugin_data_markup_translate() to a WP_PLUGIN_DIR-relative path. The function is designed in mind for receiving relative paths, but may be used with a absolute path.
This change makes the function path-agnostic, and can accept either relative or absolute (converting to relative internally). Fixes #20813
Built from https://develop.svn.wordpress.org/trunk@25081
git-svn-id: http://core.svn.wordpress.org/trunk@25066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-22 04:03:09 +00:00 |
|
Dion Hulse
|
ff290a88bf
|
Add a note that the FTP Password will not be stored on the server to the FTP credentials page. Fixes #16492
Built from https://develop.svn.wordpress.org/trunk@25071
git-svn-id: http://core.svn.wordpress.org/trunk@25056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-21 07:07:09 +00:00 |
|
Dion Hulse
|
907ca6cd30
|
Add a filter on the Plugin and Theme installers table listing API args, this allows for plugins to hook in and add custom args to plugins_api() and themes_api() for the Plugin/Theme listing tabls. Fixes #18169
Built from https://develop.svn.wordpress.org/trunk@25070
git-svn-id: http://core.svn.wordpress.org/trunk@25055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-21 06:52:12 +00:00 |
|
Dion Hulse
|
1b9ab9f66f
|
WP_Filesystem: Use the FTP_* path override constants during upgrades for prefixed paths, ie. use FTP_BASE for ABSPATH/sub-dir as well as just for ABSPATH/. Props vericgar for initial patch. See #14401
Built from https://develop.svn.wordpress.org/trunk@25057
git-svn-id: http://core.svn.wordpress.org/trunk@25043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-20 06:47:08 +00:00 |
|
Dion Hulse
|
ad980384f2
|
Check to see if mbstring.func_overload is configured to affect string functions before switching charsets. Props SergeyBiryukov. Fixes #25063
Built from https://develop.svn.wordpress.org/trunk@25056
git-svn-id: http://core.svn.wordpress.org/trunk@25042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-20 06:24:09 +00:00 |
|
Dion Hulse
|
8156e29a98
|
WP_Upgrader: Don't activate maintenance mode in bulk_upgrade() when no Themes or Plugins are specified. This doesn't affect Core, but rather, plugins who use the upgrade routines and do not do precautionary tests. Props jamescollins. Fixes #24496
Built from https://develop.svn.wordpress.org/trunk@25048
git-svn-id: http://core.svn.wordpress.org/trunk@25035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-17 05:36:11 +00:00 |
|
Andrew Nacin
|
19e485ce42
|
In populate_network(), insert the first site as blog_id 1, overriding any auto-increment DB seed. props wpmuguru, fixes #16568.
Built from https://develop.svn.wordpress.org/trunk@25038
git-svn-id: http://core.svn.wordpress.org/trunk@25025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-16 20:08:09 +00:00 |
|
Andrew Nacin
|
f71a4ae220
|
Add a maxlength attribute to the post password input, reflecting the current DB field length.\
props RayBernard, DrewAPicture.
see #24792.
Built from https://develop.svn.wordpress.org/trunk@25035
git-svn-id: http://core.svn.wordpress.org/trunk@25022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-16 19:56:09 +00:00 |
|
Ryan Boren
|
e2c8edc22d
|
Be consistent with the arguments passed to the theme_action_links filter. Stop passing stylesheet from class-wp-ms-themes-list-table.php.
Props georgestephanis
fixes #24478
Built from https://develop.svn.wordpress.org/trunk@25032
git-svn-id: http://core.svn.wordpress.org/trunk@25019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-16 15:47:10 +00:00 |
|
Sergey Biryukov
|
aadd546d48
|
Avoid PHP notices in get_sample_permalink() and get_sample_permalink_html(). Remove unused global reference. props ocean90. fixes #25005.
Built from https://develop.svn.wordpress.org/trunk@25028
git-svn-id: http://core.svn.wordpress.org/trunk@25015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-15 16:25:12 +00:00 |
|
Dominik Schilling
|
129e4a6e3b
|
Remove unused cat JavaScript file. props carldanley. fixes #24989.
Built from https://develop.svn.wordpress.org/trunk@25020
git-svn-id: http://core.svn.wordpress.org/trunk@25011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-15 03:13:20 +00:00 |
|
Jon Cave
|
ee8ac47db1
|
Add javascript files deleted in [25013] to $_old_files. See #23486.
Built from https://develop.svn.wordpress.org/trunk@25019
git-svn-id: http://core.svn.wordpress.org/trunk@25010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-15 03:13:12 +00:00 |
|
Ryan Boren
|
3a5f483e14
|
Set RTL body class for iframes.
Props mitchoyoshitaka
see #24149
git-svn-id: http://core.svn.wordpress.org/trunk@24994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-06 17:35:43 +00:00 |
|
Andrew Nacin
|
8211e6172a
|
Add data types to @param documentation for the _page_rows() method of the posts list table. props c3mdigital, fixes #24872.
git-svn-id: http://core.svn.wordpress.org/trunk@24985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-08-05 22:10:03 +00:00 |
|