Commit Graph

258 Commits

Author SHA1 Message Date
Sergey Biryukov 8b16c9bba8 Deprecate wp_nav_menu_locations_meta_box(), unused since [23441]. props DrewAPicture. fixes #24942.
git-svn-id: https://develop.svn.wordpress.org/trunk@25209 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-02 11:25:16 +00:00
Sergey Biryukov a82593e4e4 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@25208 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-02 11:18:35 +00:00
Sergey Biryukov f64a9d63d8 Fix a grammar error on Permalink Settings screen. props celloexpressions. fixes #25210.
git-svn-id: https://develop.svn.wordpress.org/trunk@25206 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-02 10:03:58 +00:00
Sergey Biryukov 6bef163456 Update phpdoc for get_user_to_edit(), get_userdata(), and get_user_by(). props tivnet. fixes #24992.
git-svn-id: https://develop.svn.wordpress.org/trunk@25204 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-02 03:24:33 +00:00
Sergey Biryukov 4e75fe1bf1 Move get_real_file_to_edit() to wp-admin/includes/deprecated.php. props iamfriendly. fixes #23680.
git-svn-id: https://develop.svn.wordpress.org/trunk@25201 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-01 12:36:45 +00:00
Andrew Nacin a86a9f671d Nav menus: Allow assigning a new menu to an existing location when no theme setting is currently saved.
props ocean90.
see #25064, for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@25195 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-31 01:36:49 +00:00
Andrew Nacin 67f42435fe Hide 'Database Upgrade Required' on admin/network/upgrade.php when you are not being asked to upgrade, to prevent confusion.
props duck_.
see #24845. see #23540.


git-svn-id: https://develop.svn.wordpress.org/trunk@25191 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-31 00:56:31 +00:00
Andrew Ozz fdafa8b480 Fix folding/unfolding of the admin menu on new installs, props SergeyBiryukov, fixes #24921 for 3.6.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@25186 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-30 17:10:11 +00:00
Dion Hulse b518606d42 Plugin Upgrader: Plugin_Upgrader::upgrade() returns nothing in event of success, every other install(), upgrade() and bulk_upgrade() method returns true, so return true;
git-svn-id: https://develop.svn.wordpress.org/trunk@25181 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-30 07:37:32 +00:00
Dion Hulse e320a48146 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
git-svn-id: https://develop.svn.wordpress.org/trunk@25180 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-30 07:34:24 +00:00
Andrew Nacin 21b61a9e6f Add signup_id primary key to $wpdb->signups, and add better indexes.
props josephscott, pento, barry.
see #15004.


git-svn-id: https://develop.svn.wordpress.org/trunk@25179 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-30 04:29:06 +00:00
Andrew Nacin 0494df8152 Move wp-config-sample.php to the root of develop.svn.
wp-config.php is now created in the root. wp-config-sample.php is properly copied over to the build directory for syncing to core.svn.

Add some ignores.

fixes #25185, see #24976.



git-svn-id: https://develop.svn.wordpress.org/trunk@25173 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-29 20:45:17 +00:00
Andrew Nacin fba8c3dabe Avoid validating wildcard hostnames in populate_network() when multisite is already activated.
props jeremyfelt.
fixes #25182.


git-svn-id: https://develop.svn.wordpress.org/trunk@25171 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-29 19:30:46 +00:00
Andrew Nacin 0b9a70d548 Return to 'Item' for term updated messages for the link_category taxonomy.
props SergeyBiryukov, pavelevap.
fixes #18714.


git-svn-id: https://develop.svn.wordpress.org/trunk@25158 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-28 18:58:57 +00:00
Andrew Nacin 444d333872 Use Dropbox's zxcvbn library for our password meter.
The library was added in [25156].

props duck_.
see #21737.


git-svn-id: https://develop.svn.wordpress.org/trunk@25157 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-28 16:08:19 +00:00
Dominik Schilling (ocean90) c1827f73cd Replace duplicated lines in [25143] with an assignment. see #18714.
git-svn-id: https://develop.svn.wordpress.org/trunk@25144 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-27 21:24:59 +00:00
Andrew Nacin d37203df8e Add a terms_updated_messages filter to edit-tags.php, along with taxonomy-specific strings.
props johnbillion.
fixes #18714.


git-svn-id: https://develop.svn.wordpress.org/trunk@25143 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-27 21:12:40 +00:00
Helen Hou-Sandi 6ce20d366c Make shift-click checkbox range selection work in both directions. props c3mdigital, SergeyBiryukov. fixes #23427.
git-svn-id: https://develop.svn.wordpress.org/trunk@25141 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-27 20:49:33 +00:00
Andrew Nacin 65465e9c88 Don't create an edit link to a non-UI post type in the media list table.
props johnbillion.
fixes #20453.


git-svn-id: https://develop.svn.wordpress.org/trunk@25140 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-27 20:48:40 +00:00
Andrew Nacin 328117ffbf Only show 'Preview' on the custom header screen if there is something to show.
props nickmomrik.
fixes #14531.


git-svn-id: https://develop.svn.wordpress.org/trunk@25135 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-27 12:27:00 +00:00
Dominik Schilling (ocean90) ad422b8366 Introduce show_in_menu for register_taxonomy.
Accepts boolean: true to show, false to hide. If not set, the default is inherited from show_ui.

fixes #20930.

git-svn-id: https://develop.svn.wordpress.org/trunk@25133 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 22:34:56 +00:00
Andrew Nacin 7694a64c06 Press This: Add admin_head-like hooks that are specific to the page.
props sillybean.
fixes #18843.


git-svn-id: https://develop.svn.wordpress.org/trunk@25131 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 20:59:44 +00:00
Andrew Nacin d41c30be7a Network Admin: Hide the bulk actions checkbox for the main site.
props ericlewis.
fixes #24463.


git-svn-id: https://develop.svn.wordpress.org/trunk@25125 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 18:45:30 +00:00
Andrew Nacin 42dee6ccf0 Add post-type-$post_type and taxonomy-$taxonomy admin body classes.
props johnbillion.
fixes #19247.


git-svn-id: https://develop.svn.wordpress.org/trunk@25124 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 18:17:23 +00:00
Sergey Biryukov a679d43131 Add 'taxonomy_parent_dropdown_args' filter for the parent dropdown on taxonomy term editing screens. props leewillis77. fixes #18166.
git-svn-id: https://develop.svn.wordpress.org/trunk@25123 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 17:30:46 +00:00
Ryan Boren 71793b661c Don't show the "Get Shortlink" button for pages with a ?page_id=x permalink.
Props sillybean
fixes #14760


git-svn-id: https://develop.svn.wordpress.org/trunk@25122 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-26 16:05:46 +00:00
Sergey Biryukov 6edecc378d Avoid displaying multiple instances of the same feature pointers on a single screen. props nacin. fixes #25022 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@25117 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-24 22:33:51 +00:00
Sergey Biryukov bcd97dac0a Remove 'admin' as a fallback for username in install. props tivnet, DrewAPicture. fixes #24078.
git-svn-id: https://develop.svn.wordpress.org/trunk@25115 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-24 13:56:47 +00:00
Andrew Nacin 9211de7232 Add network name to <title> tags in the network admin and user admin (global dashboard).
props johnbillion.
fixes #19753.



git-svn-id: https://develop.svn.wordpress.org/trunk@25103 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 18:57:33 +00:00
Sergey Biryukov b449f5bbb8 Correct phpdoc for wp-admin/menu.php. props neoxx. fixes #25124.
git-svn-id: https://develop.svn.wordpress.org/trunk@25100 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 13:52:12 +00:00
Sergey Biryukov 2a3c60f37d Remove redundant context for Child Themes link. fixes #25079.
git-svn-id: https://develop.svn.wordpress.org/trunk@25099 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 00:30:50 +00:00
Sergey Biryukov 107d2b8716 Remove unused variable. props jeremyfelt. fixes #25121.
git-svn-id: https://develop.svn.wordpress.org/trunk@25098 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-23 00:18:48 +00:00
Andrew Nacin f57bd31f2d Fix various typos in inline documentation. props nofearinc, fixes #25119.
git-svn-id: https://develop.svn.wordpress.org/trunk@25094 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 22:00:41 +00:00
Andrew Nacin 0c24a916d4 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@25091 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 20:07:51 +00:00
Helen Hou-Sandi 5ea9e40fed Add more descriptive classes to submit meta box sections. props nofearinc. fixes #22333.
git-svn-id: https://develop.svn.wordpress.org/trunk@25083 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 15:23:41 +00:00
Dion Hulse 2ceaba8b30 Theme Installer/Updater: Handle custom Theme directories when updating themes, and installing new themes. Fixes #22501
git-svn-id: https://develop.svn.wordpress.org/trunk@25082 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 04:49:06 +00:00
Dion Hulse ddad24c82c 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


git-svn-id: https://develop.svn.wordpress.org/trunk@25081 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 04:02:13 +00:00
Dion Hulse ead4efa78a Add a note that the FTP Password will not be stored on the server to the FTP credentials page. Fixes #16492
git-svn-id: https://develop.svn.wordpress.org/trunk@25071 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 07:06:12 +00:00
Dion Hulse b4f0fbd985 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
git-svn-id: https://develop.svn.wordpress.org/trunk@25070 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-21 06:51:51 +00:00
Dion Hulse 318a1c9c52 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
git-svn-id: https://develop.svn.wordpress.org/trunk@25057 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 06:46:37 +00:00
Dion Hulse e4361d8f96 Check to see if mbstring.func_overload is configured to affect string functions before switching charsets. Props SergeyBiryukov. Fixes #25063
git-svn-id: https://develop.svn.wordpress.org/trunk@25056 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-20 06:23:48 +00:00
Dion Hulse c6e43f5327 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
git-svn-id: https://develop.svn.wordpress.org/trunk@25048 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-17 05:35:17 +00:00
Helen Hou-Sandi becf161fb8 Make sure quick edited non-alternate list table rows don't become alternate. props mordauk. fixes #24951.
git-svn-id: https://develop.svn.wordpress.org/trunk@25039 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 20:18:31 +00:00
Andrew Nacin 81248f6568 In populate_network(), insert the first site as blog_id 1, overriding any auto-increment DB seed. props wpmuguru, fixes #16568.
git-svn-id: https://develop.svn.wordpress.org/trunk@25038 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 20:07:05 +00:00
Andrew Nacin 38b4ca010a send_origin_headers() in admin-post.php.
props nickdaugherty, fixes #24600.



git-svn-id: https://develop.svn.wordpress.org/trunk@25036 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:58:42 +00:00
Andrew Nacin ea7196081f Add a maxlength attribute to the post password input, reflecting the current DB field length.\
props RayBernard, DrewAPicture.
see #24792.



git-svn-id: https://develop.svn.wordpress.org/trunk@25035 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:55:19 +00:00
Andrew Nacin a1ff9555a9 Add actions for term editing/creation form tags, for adding enctype attributes. Matches the pattern we've used elsewhere. props JustinSainton, fixes #15261.
git-svn-id: https://develop.svn.wordpress.org/trunk@25034 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:53:50 +00:00
Ryan Boren 5125650b72 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


git-svn-id: https://develop.svn.wordpress.org/trunk@25032 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 15:46:08 +00:00
Ryan Boren 17267dd999 wp_get_shortlink() improvements.
* Return shortlinks for pages and public CPTs.
* Return shortlinks even when cruft-free links are not enabled.
* Unit tests

Props sillybean, layotte, cais
fixes #18632
see #14760



git-svn-id: https://develop.svn.wordpress.org/trunk@25030 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 20:08:06 +00:00
Helen Hou-Sandi 0de512789e Better align the x icons with tag names. props TobiasBg. fixes #25050.
git-svn-id: https://develop.svn.wordpress.org/trunk@25029 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 19:58:04 +00:00
Sergey Biryukov 6c3b030245 Avoid PHP notices in get_sample_permalink() and get_sample_permalink_html(). Remove unused global reference. props ocean90. fixes #25005.
git-svn-id: https://develop.svn.wordpress.org/trunk@25028 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 16:24:08 +00:00
Helen Hou-Sandi 2225b6ff1f Make sure the close button in the Customizer still works after a refresh. props lessbloat. fixes #22682.
git-svn-id: https://develop.svn.wordpress.org/trunk@25027 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 13:48:05 +00:00
Dion Hulse b971127bac Remove the usage of @$_GET and @$_POST and just check to see if the indicies are set. Fixes #22429
git-svn-id: https://develop.svn.wordpress.org/trunk@25025 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 06:05:54 +00:00
Dion Hulse 51c3faba5d WP_Filesystem: Make WP_Filesystem_Base::search_for_folder() a bit more usable on the command-line when the $verbose mode is used, additionally, bail early from the function rather than repeating itself if the CWD is the root directory already.
git-svn-id: https://develop.svn.wordpress.org/trunk@25024 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 05:59:36 +00:00
Dominik Schilling (ocean90) bf8e3cab1e Remove unused cat JavaScript file. props carldanley. fixes #24989.
git-svn-id: https://develop.svn.wordpress.org/trunk@25020 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 15:43:03 +00:00
Jon Cave 38345135a1 Add javascript files deleted in [25013] to $_old_files. See #23486.
git-svn-id: https://develop.svn.wordpress.org/trunk@25019 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 15:18:04 +00:00
Andrew Nacin 4483b947a4 Remove zero-byte files that were meant to be deleted in [23446]. see #23486.
git-svn-id: https://develop.svn.wordpress.org/trunk@25013 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 17:43:50 +00:00
Andrew Nacin b43712e0f7 New develop.svn.wordpress.org repository based on the old core.svn repository.
* All WordPress files move to a src/ directory.
 * New task runner (Grunt), configured to copy a built WordPress to build/.
 * svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
 * Remove Akismet external from develop.svn. Still exists in core.svn.
 * Drop minified files from src/. The build process will now generate these.

props koop.
see #24976.

and see http://wp.me/p2AvED-1AI.



git-svn-id: https://develop.svn.wordpress.org/trunk@25001 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 05:25:25 +00:00