diff --git a/manifest.json b/manifest.json index 6870624..ebe0041 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "en": "Create a beautiful blog or website easily", "fr": "Logiciel de création de blog ou de site Web" }, - "version": "4.0", + "version": "4.2.2", "url": "https://wordpress.org/", "maintainer": { "name": "Maniack Crudelis", diff --git a/scripts/install b/scripts/install index 466077c..5a8f562 100644 --- a/scripts/install +++ b/scripts/install @@ -41,7 +41,8 @@ sudo yunohost app setting wordpressms mysqlpwd -v $db_pwd # Copy files to the right place final_path=/var/www/wordpressms sudo mkdir -p $final_path -sudo cp -a ../sources/wordpress/* $final_path +tar -xf ../sources/wordpress.tar.gz +sudo cp -a wordpress/.* $final_path sudo cp -a ../sources/ajouts/* $final_path sudo cp ../conf/wp-config.php $final_path/wp-config.php @@ -148,5 +149,5 @@ then fi sudo service nginx reload -# wp-cli me semble un peu trop permissif... Il a terminer son travail... +# wp-cli me semble un peu trop permissif... Il a terminé son travail... sudo rm $final_path/wp-cli.phar diff --git a/sources/wordpress.tar.gz b/sources/wordpress.tar.gz new file mode 100644 index 0000000..86323d7 Binary files /dev/null and b/sources/wordpress.tar.gz differ diff --git a/sources/wordpress/index.php b/sources/wordpress/index.php deleted file mode 100644 index dd3d554..0000000 --- a/sources/wordpress/index.php +++ /dev/null @@ -1,17 +0,0 @@ - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. - -WRITTEN OFFER - -The source code for any program binaries or compressed scripts that are -included with WordPress can be freely obtained at the following URL: - - https://wordpress.org/download/source/ diff --git a/sources/wordpress/readme.html b/sources/wordpress/readme.html deleted file mode 100644 index 06d58bd..0000000 --- a/sources/wordpress/readme.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - WordPress › À lire - - - -

- WordPress -
Version 4.0 - -

-

Plateforme de publication sémantique personnelle

- -

Préambule

-

Bienvenue. WordPress est un projet très spécial pour moi. Chaque développeur et contributeur ajoute quelque chose d'unique à ce projet, et ensemble nous créons quelque chose de beau, et dont je suis fier de faire partie. Nous avons passé des milliers d'heures sur le développement de WordPress, et nous nous attachons tous les jours à vous faciliter la vie. Merci à vous d'en faire une partie de votre monde.

-

— Matt Mullenweg

- -

Installation : la fameuse installation en 5 minutes

-
    -
  1. Décompressez l'archive dans un dossier vide de votre ordinateur, puis mettez tous ces fichiers en ligne ;
  2. -
  3. Ouvrez le fichier wp-config-sample.php avec votre éditeur de texte préféré, comme WordPad ou similaire, et complétez les informations liées à votre base de données ;
  4. -
  5. Sauvegardez le fichier sous le nom wp-config.php ;
  6. -
  7. Envoyez le tout sur votre hébergement via un logiciel client FTP ;
  8. -
  9. Ouvrez le fichier /wp-admin/install.php dans votre navigateur. Celui-ci vous guidera dans la création du fichier wp-config.php, qui contient les détails de connexion à votre base de données ; -
      -
    1. Si cela ne marchait pas, ne vous inquiétez pas : certains hébergeurs n'autorisent pas la création de fichier. Ouvrez le fichier wp-config.php avec un éditeur de texte, et saisissez-y directement les détails de connexion à votre base de données ;
    2. -
    3. Enregistrez le fichier sous le nom wp-config.php et mettez-le en ligne ;
    4. -
    5. Ouvrez le fichier wp-admin/install.php dans votre navigateur ;
    6. -
    -
  10. -
  11. Une fois le fichier de configuration correctement rempli, l'installateur met en place les tables nécessaires à votre blog. Si vous obtenez une erreur, vérifiez le contenu du fichier wp-config.php, et réessayez. Si cela échoue encore une fois, rendez-vous sur les forums d'entraide et soyez le plus précis possible dans vos explications. Si tout se passe bien, passez à l'étape suivante ;
  12. -
  13. Si vous n'avez pas précisé de mot de passe, notez bien celui qui vous est donné. Si vous n'avez pas précisé d'identifiant utilisateur, ce sera admin ;
  14. -
  15. Une fois l'installation terminée, le script d'installation vous renverra vers la page de connexion. Connectez-vous avec l'identifiant et le mot de passe précisés (ou générés) durant l'installation. Si le mot de passe a été généré pour vous, cliquez sur "Profil" pour le modifier.
  16. -
- -

Mise à jour

-

A l'aide de l'outil de mise à jour automatique

-

Si votre version de WordPress est égale ou supérieure à 2.7, vous pouvez utiliser l'outil de mise à jour automatique :

-
    -
  1. Ouvrez la page wp-admin/update-core.php dans votre navigateur, et suivez les instructions ;
  2. -
  3. Vous pensiez qu'il y aurait d'autres étapes ? C'est tout !
  4. -
- -

Mise à jour manuelle (obligatoire pour les versions de WordPress inférieures à 2.7) :

-
    -
  1. Avant tout, assurez-vous bien de disposer de copies de sauvegarde de tous les fichiers que vous avez modifiés, par exemple index.php.
  2. -
  3. Effacez vos anciens fichiers WordPress, sauf ceux que vous avez modifié, comme wp-config.php ou le contenu du dossier /wp-content/.
  4. -
  5. Mettez en ligne les nouveaux fichiers en provenance de l'archive de WordPress.
  6. -
  7. Allez sur la page /wp-admin/upgrade.php avec votre navigateur internet.
  8. -
- -

Migrer depuis d'autres logiciels/plates-formes

-

WordPress peut importer les articles en provenance de nombreux autres outils (en). Vous devez d'abord installer WordPress comme expliqué plus haut, puis utiliser un des importateurs.

- -

Prérequis fonctionnels

-
    -
  • PHP version 5.2.4 ou plus ;
  • -
  • MySQL version 5.0 ou plus.
  • -
- -

Ressources en ligne

-

Si vous vous posez des questions dont les réponses ne figurent pas sur ce document, vous disposez de nombreuses ressources en ligne :

-
-
Le Codex WordPress
-
Le Codex est l'encyclopédie liée à tout le fonctionnement de WordPress. Il s'agit de la source d'informations la plus complète qui soit.
-
Le blog de WordPress
-
C'est ici que vous trouverez les dernières informations, les annonces et les nouveautés de WordPress. Les derniers articles de ce blog sont affichés dans le Tableau de Bord de WordPress par défaut.
-
Planète WordPress
-
La Planète WordPress est un agrégateur de news qui distille les articles de plusieurs blogs WordPress à travers le web.
-
Support WordPress Francophone
-
Si vous avez cherché partout et que malgré cela vous n'avez trouvé aucune réponse, les forums sont très actifs et son immense communauté sera prête à vous aider. Pour un traitement efficace de votre problème, faites en sorte d'utiliser, lors de la création de votre sujet, un titre et une description aussi pertinents et clairs que possible.
-
Canal IRC WordPress
-
Il existe un canal IRC qui est le rendez-vous des utilisateurs WordPress, et occasionnellement, propose son aide aux sujets liés au support. La page Wiki devrait vous indiquer la bonne direction.
-
- -

Pour finir

-
    -
  • Si vous avez des suggestions, des idées, des commentaires ou si vous avez trouvé un bug (oups !), venez nous rejoindre sur les forums anglophones.
  • -
  • WordPress possède une API d'extension robuste, qui permet d'étendre les possibilités de son code de manière simple. Si vous êtes un développeur intéressé par son utilisation, rendez-vous sur la documentation des extensions sur le Codex. Vous ne devriez pas avoir à modifier une partie du code original.
  • -
- -

Faites connaître WordPress !

-

WordPress ne possède pas une kyrielle de millions de dollars pour s'offrir une campagne marketing, ni de célèbres sponsors, mais nous avons bien mieux : VOUS. Si vous appréciez WordPress, n'hésitez pas à en parler à votre entourage, vos amis, en aidant d'autres personnes ayant un niveau inférieur au vôtre, ou encore écrire un article faisant référence à notre travail.

- -

WordPress est la reprise officielle de b2/cafélog, provenant de Michel V. Le travail a continué d'être assuré par les développeurs WordPress. Si vous voulez apporter votre soutien à WordPress, n'hésitez pas à faire un don.

- -

Licence

-

WordPress est un logiciel libre, mis à disposition sous les termes de la licence GPL version 2, ou de toute version suivante, au choix (voir license.txt (en anglais)).

- - - \ No newline at end of file diff --git a/sources/wordpress/wp-activate.php b/sources/wordpress/wp-activate.php deleted file mode 100644 index a796cc5..0000000 --- a/sources/wordpress/wp-activate.php +++ /dev/null @@ -1,131 +0,0 @@ -cache_enabled = false; - -// Fix for page title -$wp_query->is_404 = false; - -/** - * Fires before the Site Activation page is loaded. - * - * @since 3.0.0 - */ -do_action( 'activate_header' ); - -/** - * Adds an action hook specific to this page that fires on wp_head - * - * @since MU - */ -function do_activate_header() { - /** - * Fires before the Site Activation page is loaded, but on the wp_head action. - * - * @since 3.0.0 - */ - do_action( 'activate_wp_head' ); -} -add_action( 'wp_head', 'do_activate_header' ); - -/** - * Loads styles specific to this page. - * - * @since MU - */ -function wpmu_activate_stylesheet() { - ?> - - - -
- - -

-
-

- -
-

-

- -

-
- - get_error_code() || 'blog_taken' == $result->get_error_code() ) { - $signup = $result->get_error_data(); - ?> -

- '; - if ( $signup->domain . $signup->path == '' ) { - printf( __('Your account has been activated. You may now log in to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can reset your password.'), network_site_url( 'wp-login.php', 'login' ), $signup->user_login, $signup->user_email, wp_lostpassword_url() ); - } else { - printf( __('Your site at %2$s is active. You may now log in to your site using your chosen username of “%3$s”. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can reset your password.'), 'http://' . $signup->domain, $signup->domain, $signup->user_login, $signup->user_email, wp_lostpassword_url() ); - } - echo '

'; - } else { - ?> -

- '.$result->get_error_message().'

'; - } - } else { - $url = isset( $result['blog_id'] ) ? get_blogaddress_by_id( (int) $result['blog_id'] ) : ''; - $user = get_userdata( (int) $result['user_id'] ); - ?> -

- -
-

user_login ?>

-

-
- - -

View your site or Log in'), $url, $url . 'wp-login.php' ); ?>

- -

Log in or go back to the homepage.' ), network_site_url('wp-login.php', 'login'), network_home_url() ); ?>

- -
- - includes_url( 'js/mediaelement/', 'relative' ), - 'pauseOtherPlayers' => '' -) ); - -$title = __( 'About' ); - -list( $display_version ) = explode( '-', $wp_version ); - -include( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
- -

- -
- -
- - - -
-

-

Version %1$s addressed some security issues and fixed %2$s bug.', - 'Version %1$s addressed some security issues and fixed %2$s bugs.', 23 ), '4.0.1', number_format_i18n( 23 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_4.0.1' ); ?> -

-
- -
-
- - - - - -
- -
- -
-
-

-

-
-
- -
-
- -
- -
-
-
- '//s.w.org/images/core/4.0/embed.mp4', - 'ogv' => '//s.w.org/images/core/4.0/embed.ogv', - 'webm' => '//s.w.org/images/core/4.0/embed.webm', - 'loop' => true, - 'autoplay' => true, - 'width' => 500, - 'height' => 352 - ) ); - ?> -
-
-
-

-

-

Check out all of the embeds that WordPress supports.' ); ?>

-
-
- -
- -
-
-

-

-
-
-
- '//s.w.org/images/core/4.0/focus.mp4', - 'ogv' => '//s.w.org/images/core/4.0/focus.ogv', - 'webm' => '//s.w.org/images/core/4.0/focus.webm', - 'loop' => true, - 'autoplay' => true, - 'width' => 500, - 'height' => 281 - ) ); - ?> -
-
-
- -
- -
-
- -
-
-

-

- -
-
-
- -
- -
-

- -
-
-

-

-
-
-

-

ORDER BY', 'WP_Query' ); - ?>

-
-
-

-

-
-
- -
- -
- - | - - -
- -
- -
-Version %1$s addressed a security issue.', - 'Version %1$s addressed some security issues.' ); - -/* translators: 1: WordPress version number, 2: plural number of bugs. */ -_n_noop( 'Version %1$s addressed %2$s bug.', - 'Version %1$s addressed %2$s bugs.' ); - -/* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */ -_n_noop( 'Version %1$s addressed a security issue and fixed %2$s bug.', - 'Version %1$s addressed a security issue and fixed %2$s bugs.' ); - -/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */ -_n_noop( 'Version %1$s addressed some security issues and fixed %2$s bug.', - 'Version %1$s addressed some security issues and fixed %2$s bugs.' ); - -__( 'For more information, see the release notes.' ); diff --git a/sources/wordpress/wp-admin/admin-ajax.php b/sources/wordpress/wp-admin/admin-ajax.php deleted file mode 100644 index 60f1778..0000000 --- a/sources/wordpress/wp-admin/admin-ajax.php +++ /dev/null @@ -1,98 +0,0 @@ - - -
-
-
- - - - -
- - - diff --git a/sources/wordpress/wp-admin/admin-functions.php b/sources/wordpress/wp-admin/admin-functions.php deleted file mode 100644 index 11bd30c..0000000 --- a/sources/wordpress/wp-admin/admin-functions.php +++ /dev/null @@ -1,15 +0,0 @@ -site_name ) ); -elseif ( is_user_admin() ) - $admin_title = sprintf( __( 'Global Dashboard: %s' ), esc_html( get_current_site()->site_name ) ); -else - $admin_title = get_bloginfo( 'name' ); - -if ( $admin_title == $title ) - $admin_title = sprintf( __( '%1$s — WordPress' ), $title ); -else - $admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title ); - -/** - * Filter the content for an admin page. - * - * @since 3.1.0 - * - * @param string $admin_title The page title, with extra context added. - * @param string $title The original page title. - */ -$admin_title = apply_filters( 'admin_title', $admin_title, $title ); - -wp_user_settings(); - -_wp_admin_html_begin(); -?> -<title><?php echo $admin_title; ?> - - - - for a specific admin page based on $hook_suffix. - * - * @since 2.1.0 - */ -do_action( "admin_head-$hook_suffix" ); - -/** - * Fires in for all admin pages. - * - * @since 2.1.0 - */ -do_action( 'admin_head' ); - -if ( get_user_setting('mfold') == 'f' ) - $admin_body_class .= ' folded'; - -if ( !get_user_setting('unfold') ) - $admin_body_class .= ' auto-fold'; - -if ( is_admin_bar_showing() ) - $admin_body_class .= ' admin-bar'; - -if ( is_rtl() ) - $admin_body_class .= ' rtl'; - -if ( $current_screen->post_type ) - $admin_body_class .= ' post-type-' . $current_screen->post_type; - -if ( $current_screen->taxonomy ) - $admin_body_class .= ' taxonomy-' . $current_screen->taxonomy; - -$admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( $wp_version ) ); -$admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) ); -$admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' ); -$admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) ); - -if ( wp_is_mobile() ) - $admin_body_class .= ' mobile'; - -if ( is_multisite() ) - $admin_body_class .= ' multisite'; - -if ( is_network_admin() ) - $admin_body_class .= ' network-admin'; - -$admin_body_class .= ' no-customize-support no-svg'; - -?> - - CSS classes. - * - * This filter differs from the post_class or body_class filters in two important ways: - * 1. $classes is a space-separated string of class names instead of an array. - * 2. Not all core admin classes are filterable, notably: wp-admin, wp-core-ui, and no-js cannot be removed. - * - * @since 2.3.0 - * - * @param string $classes Space-separated string of CSS classes. - */ -?> -"> - - - - -
- - -
- - - -
-set_parentage( $parent_file ); - -?> - -
-render_screen_meta(); - -if ( is_network_admin() ) { - /** - * Print network admin screen notices. - * - * @since 3.1.0 - */ - do_action( 'network_admin_notices' ); -} elseif ( is_user_admin() ) { - /** - * Print user admin screen notices. - * - * @since 3.1.0 - */ - do_action( 'user_admin_notices' ); -} else { - /** - * Print admin screen notices. - * - * @since 3.1.0 - */ - do_action( 'admin_notices' ); -} - -/** - * Print generic admin screen notices. - * - * @since 3.1.0 - */ -do_action( 'all_admin_notices' ); - -if ( $parent_file == 'options-general.php' ) - require(ABSPATH . 'wp-admin/options-head.php'); diff --git a/sources/wordpress/wp-admin/admin-post.php b/sources/wordpress/wp-admin/admin-post.php deleted file mode 100644 index f05cdf4..0000000 --- a/sources/wordpress/wp-admin/admin-post.php +++ /dev/null @@ -1,71 +0,0 @@ - 50 && mt_rand( 0, (int)( $c / 50 ) ) == 1 ) ) { - require_once( ABSPATH . WPINC . '/http.php' ); - $response = wp_remote_get( admin_url( 'upgrade.php?step=1' ), array( 'timeout' => 120, 'httpversion' => '1.1' ) ); - /** This action is documented in wp-admin/network/upgrade.php */ - do_action( 'after_mu_upgrade', $response ); - unset($response); - } - unset($c); - } -} - -require_once(ABSPATH . 'wp-admin/includes/admin.php'); - -auth_redirect(); - -// Schedule trash collection -if ( !wp_next_scheduled('wp_scheduled_delete') && !defined('WP_INSTALLING') ) - wp_schedule_event(time(), 'daily', 'wp_scheduled_delete'); - -set_screen_options(); - -$date_format = get_option('date_format'); -$time_format = get_option('time_format'); - -wp_enqueue_script( 'common' ); - -$editing = false; - -if ( isset($_GET['page']) ) { - $plugin_page = wp_unslash( $_GET['page'] ); - $plugin_page = plugin_basename($plugin_page); -} - -if ( isset( $_REQUEST['post_type'] ) && post_type_exists( $_REQUEST['post_type'] ) ) - $typenow = $_REQUEST['post_type']; -else - $typenow = ''; - -if ( isset( $_REQUEST['taxonomy'] ) && taxonomy_exists( $_REQUEST['taxonomy'] ) ) - $taxnow = $_REQUEST['taxonomy']; -else - $taxnow = ''; - -if ( WP_NETWORK_ADMIN ) - require(ABSPATH . 'wp-admin/network/menu.php'); -elseif ( WP_USER_ADMIN ) - require(ABSPATH . 'wp-admin/user/menu.php'); -else - require(ABSPATH . 'wp-admin/menu.php'); - -if ( current_user_can( 'manage_options' ) ) { - /** - * Filter the maximum memory limit available for administration screens. - * - * This only applies to administrators, who may require more memory for tasks like updates. - * Memory limits when processing images (uploaded or edited by users of any role) are - * handled separately. - * - * The WP_MAX_MEMORY_LIMIT constant specifically defines the maximum memory limit available - * when in the administration back-end. The default is 256M, or 256 megabytes of memory. - * - * @since 3.0.0 - * - * @param string 'WP_MAX_MEMORY_LIMIT' The maximum WordPress memory limit. Default 256M. - */ - @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) ); -} - -/** - * Fires as an admin screen or script is being initialized. - * - * Note, this does not just run on user-facing admin screens. - * It runs on admin-ajax.php and admin-post.php as well. - * - * This is roughly analgous to the more general 'init' hook, which fires earlier. - * - * @since 2.5.0 - */ -do_action( 'admin_init' ); - -if ( isset($plugin_page) ) { - if ( !empty($typenow) ) - $the_parent = $pagenow . '?post_type=' . $typenow; - else - $the_parent = $pagenow; - if ( ! $page_hook = get_plugin_page_hook($plugin_page, $the_parent) ) { - $page_hook = get_plugin_page_hook($plugin_page, $plugin_page); - - // Backwards compatibility for plugins using add_management_page(). - if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) { - // There could be plugin specific params on the URL, so we need the whole query string - if ( !empty($_SERVER[ 'QUERY_STRING' ]) ) - $query_string = $_SERVER[ 'QUERY_STRING' ]; - else - $query_string = 'page=' . $plugin_page; - wp_redirect( admin_url('tools.php?' . $query_string) ); - exit; - } - } - unset($the_parent); -} - -$hook_suffix = ''; -if ( isset($page_hook) ) - $hook_suffix = $page_hook; -else if ( isset($plugin_page) ) - $hook_suffix = $plugin_page; -else if ( isset($pagenow) ) - $hook_suffix = $pagenow; - -set_current_screen(); - -// Handle plugin admin pages. -if ( isset($plugin_page) ) { - if ( $page_hook ) { - /** - * Fires before a particular screen is loaded. - * - * The load-* hook fires in a number of contexts. This hook is for plugin screens - * where a callback is provided when the screen is registered. - * - * The dynamic portion of the hook name, $page_hook, refers to a mixture of plugin - * page information including: - * 1. The page type. If the plugin page is registered as a submenu page, such as for - * Settings, the page type would be 'settings'. Otherwise the type is 'toplevel'. - * 2. A separator of '_page_'. - * 3. The plugin basename minus the file extension. - * - * Together, the three parts form the $page_hook. Citing the example above, - * the hook name used would be 'load-settings_page_pluginbasename'. - * - * @see get_plugin_page_hook() - * - * @since 2.1.0 - */ - do_action( 'load-' . $page_hook ); - if (! isset($_GET['noheader'])) - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - /** - * Used to call the registered callback for a plugin screen. - * - * @internal - * @since 1.5.0 - */ - do_action( $page_hook ); - } else { - if ( validate_file($plugin_page) ) - wp_die(__('Invalid plugin page')); - - if ( !( file_exists(WP_PLUGIN_DIR . "/$plugin_page") && is_file(WP_PLUGIN_DIR . "/$plugin_page") ) && !( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") && is_file(WPMU_PLUGIN_DIR . "/$plugin_page") ) ) - wp_die(sprintf(__('Cannot load %s.'), htmlentities($plugin_page))); - - /** - * Fires before a particular screen is loaded. - * - * The load-* hook fires in a number of contexts. This hook is for plugin screens - * where the file to load is directly included, rather than the use of a function. - * - * The dynamic portion of the hook name, $plugin_page, refers to the plugin basename. - * - * @see plugin_basename() - * - * @since 1.5.0 - */ - do_action( 'load-' . $plugin_page ); - - if ( !isset($_GET['noheader'])) - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - if ( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") ) - include(WPMU_PLUGIN_DIR . "/$plugin_page"); - else - include(WP_PLUGIN_DIR . "/$plugin_page"); - } - - include(ABSPATH . 'wp-admin/admin-footer.php'); - - exit(); -} else if (isset($_GET['import'])) { - - $importer = $_GET['import']; - - if ( ! current_user_can('import') ) - wp_die(__('You are not allowed to import.')); - - if ( validate_file($importer) ) { - wp_redirect( admin_url( 'import.php?invalid=' . $importer ) ); - exit; - } - - if ( ! isset($wp_importers[$importer]) || ! is_callable($wp_importers[$importer][2]) ) { - wp_redirect( admin_url( 'import.php?invalid=' . $importer ) ); - exit; - } - - /** - * Fires before an importer screen is loaded. - * - * The dynamic portion of the hook name, $importer, refers to the importer slug. - * - * @since 3.5.0 - */ - do_action( 'load-importer-' . $importer ); - - $parent_file = 'tools.php'; - $submenu_file = 'import.php'; - $title = __('Import'); - - if (! isset($_GET['noheader'])) - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); - - define('WP_IMPORTING', true); - - /** - * Whether to filter imported data through kses on import. - * - * Multisite uses this hook to filter all data through kses by default, - * as a super administrator may be assisting an untrusted user. - * - * @since 3.1.0 - * - * @param bool false Whether to force data to be filtered through kses. Default false. - */ - if ( apply_filters( 'force_filtered_html_on_import', false ) ) { - kses_init_filters(); // Always filter imported data with kses on multisite. - } - - call_user_func($wp_importers[$importer][2]); - - include(ABSPATH . 'wp-admin/admin-footer.php'); - - // Make sure rules are flushed - flush_rewrite_rules(false); - - exit(); -} else { - /** - * Fires before a particular screen is loaded. - * - * The load-* hook fires in a number of contexts. This hook is for core screens. - * - * The dynamic portion of the hook name, $pagenow, is a global variable - * referring to the filename of the current page, such as 'admin.php', - * 'post-new.php' etc. A complete hook for the latter would be - * 'load-post-new.php'. - * - * @since 2.1.0 - */ - do_action( 'load-' . $pagenow ); - - /* - * The following hooks are fired to ensure backward compatibility. - * In all other cases, 'load-' . $pagenow should be used instead. - */ - if ( $typenow == 'page' ) { - if ( $pagenow == 'post-new.php' ) - do_action( 'load-page-new.php' ); - elseif ( $pagenow == 'post.php' ) - do_action( 'load-page.php' ); - } elseif ( $pagenow == 'edit-tags.php' ) { - if ( $taxnow == 'category' ) - do_action( 'load-categories.php' ); - elseif ( $taxnow == 'link_category' ) - do_action( 'load-edit-link-categories.php' ); - } -} - -if ( ! empty( $_REQUEST['action'] ) ) { - /** - * Fires when an 'action' request variable is sent. - * - * The dynamic portion of the hook name, $_REQUEST['action'], - * refers to the action derived from the GET or POST request. - * - * @since 2.6.0 - */ - do_action( 'admin_action_' . $_REQUEST['action'] ); -} diff --git a/sources/wordpress/wp-admin/async-upload.php b/sources/wordpress/wp-admin/async-upload.php deleted file mode 100644 index add6164..0000000 --- a/sources/wordpress/wp-admin/async-upload.php +++ /dev/null @@ -1,114 +0,0 @@ -post_type ) - wp_die( __( 'Unknown post type.' ) ); - if ( ! current_user_can( 'edit_post', $id ) ) - wp_die( __( 'You are not allowed to edit this item.' ) ); - - switch ( $_REQUEST['fetch'] ) { - case 3 : - if ( $thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true ) ) - echo ''; - echo '' . _x( 'Edit', 'media item' ) . ''; - $title = $post->post_title ? $post->post_title : wp_basename( $post->guid ); // title shouldn't ever be empty, but use filename just in cas.e - echo '
' . esc_html( wp_html_excerpt( $title, 60, '…' ) ) . '
'; - break; - case 2 : - add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2); - echo get_media_item($id, array( 'send' => false, 'delete' => true )); - break; - default: - add_filter('attachment_fields_to_edit', 'media_post_single_attachment_fields_to_edit', 10, 2); - echo get_media_item($id); - break; - } - exit; -} - -check_admin_referer('media-form'); - -$post_id = 0; -if ( isset( $_REQUEST['post_id'] ) ) { - $post_id = absint( $_REQUEST['post_id'] ); - if ( ! get_post( $post_id ) || ! current_user_can( 'edit_post', $post_id ) ) - $post_id = 0; -} - -$id = media_handle_upload( 'async-upload', $post_id ); -if ( is_wp_error($id) ) { - echo '
- ' . __('Dismiss') . ' - ' . sprintf(__('“%s” has failed to upload due to an error'), esc_html($_FILES['async-upload']['name']) ) . '
' . - esc_html($id->get_error_message()) . '
'; - exit; -} - -if ( $_REQUEST['short'] ) { - // Short form response - attachment ID only. - echo $id; -} else { - // Long form response - big chunk o html. - $type = $_REQUEST['type']; - - /** - * Filter the returned ID of an uploaded attachment. - * - * The dynamic portion of the hook name, $type, refers to the attachment type, - * such as 'image', 'audio', 'video', 'file', etc. - * - * @since 2.5.0 - * - * @param int $id Uploaded attachment ID. - */ - echo apply_filters( "async_upload_{$type}", $id ); -} diff --git a/sources/wordpress/wp-admin/comment.php b/sources/wordpress/wp-admin/comment.php deleted file mode 100644 index 1c46b0a..0000000 --- a/sources/wordpress/wp-admin/comment.php +++ /dev/null @@ -1,299 +0,0 @@ -

$msg

"; - include( ABSPATH . 'wp-admin/admin-footer.php' ); - die; -} - -switch( $action ) { - -case 'editcomment' : - $title = __('Edit Comment'); - - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '

' . - '

' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '

' - ) ); - - get_current_screen()->set_help_sidebar( - '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Comments' ) . '

' . - '

' . __( 'Support Forums' ) . '

' - ); - - wp_enqueue_script('comment'); - require_once( ABSPATH . 'wp-admin/admin-header.php' ); - - $comment_id = absint( $_GET['c'] ); - - if ( !$comment = get_comment( $comment_id ) ) - comment_footer_die( __('Oops, no comment with this ID.') . sprintf(' ' . __('Go back') . '.', 'javascript:history.go(-1)') ); - - if ( !current_user_can( 'edit_comment', $comment_id ) ) - comment_footer_die( __('You are not allowed to edit this comment.') ); - - if ( 'trash' == $comment->comment_approved ) - comment_footer_die( __('This comment is in the Trash. Please move it out of the Trash if you want to edit it.') ); - - $comment = get_comment_to_edit( $comment_id ); - - include( ABSPATH . 'wp-admin/edit-form-comment.php' ); - - break; - -case 'delete' : -case 'approve' : -case 'trash' : -case 'spam' : - - $title = __('Moderate Comment'); - - $comment_id = absint( $_GET['c'] ); - - if ( !$comment = get_comment_to_edit( $comment_id ) ) { - wp_redirect( admin_url('edit-comments.php?error=1') ); - die(); - } - - if ( !current_user_can( 'edit_comment', $comment->comment_ID ) ) { - wp_redirect( admin_url('edit-comments.php?error=2') ); - die(); - } - - // No need to re-approve/re-trash/re-spam a comment. - if ( $action == str_replace( '1', 'approve', $comment->comment_approved ) ) { - wp_redirect( admin_url( 'edit-comments.php?same=' . $comment_id ) ); - die(); - } - - require_once( ABSPATH . 'wp-admin/admin-header.php' ); - - $formaction = $action . 'comment'; - $nonce_action = 'approve' == $action ? 'approve-comment_' : 'delete-comment_'; - $nonce_action .= $comment_id; - -?> -
- -
- -

- -comment_approved != '0' ) { // if not unapproved - $message = ''; - switch ( $comment->comment_approved ) { - case '1' : - $message = __('This comment is currently approved.'); - break; - case 'spam' : - $message = __('This comment is currently marked as spam.'); - break; - case 'trash' : - $message = __('This comment is currently in the Trash.'); - break; - } - if ( $message ) - echo '

' . $message . '

'; -} -?> -

- - - - - - -comment_author_email ) { ?> - - - - - -comment_author_url ) { ?> - - - - - - - - - -
comment_author; ?>
comment_author_email; ?>
comment_author_url; ?>
comment_content; ?>
- -

- -
- - - - - - -
- - - - - -
- -
-
-' . __('Go back') . '.', 'edit-comments.php') ); - if ( !current_user_can( 'edit_comment', $comment->comment_ID ) ) - comment_footer_die( __('You are not allowed to edit comments on this post.') ); - - if ( '' != wp_get_referer() && ! $noredir && false === strpos(wp_get_referer(), 'comment.php') ) - $redir = wp_get_referer(); - elseif ( '' != wp_get_original_referer() && ! $noredir ) - $redir = wp_get_original_referer(); - elseif ( in_array( $action, array( 'approvecomment', 'unapprovecomment' ) ) ) - $redir = admin_url('edit-comments.php?p=' . absint( $comment->comment_post_ID ) ); - else - $redir = admin_url('edit-comments.php'); - - $redir = remove_query_arg( array('spammed', 'unspammed', 'trashed', 'untrashed', 'deleted', 'ids', 'approved', 'unapproved'), $redir ); - - switch ( $action ) { - case 'deletecomment' : - wp_delete_comment( $comment_id ); - $redir = add_query_arg( array('deleted' => '1'), $redir ); - break; - case 'trashcomment' : - wp_trash_comment($comment_id); - $redir = add_query_arg( array('trashed' => '1', 'ids' => $comment_id), $redir ); - break; - case 'untrashcomment' : - wp_untrash_comment($comment_id); - $redir = add_query_arg( array('untrashed' => '1'), $redir ); - break; - case 'spamcomment' : - wp_spam_comment($comment_id); - $redir = add_query_arg( array('spammed' => '1', 'ids' => $comment_id), $redir ); - break; - case 'unspamcomment' : - wp_unspam_comment($comment_id); - $redir = add_query_arg( array('unspammed' => '1'), $redir ); - break; - case 'approvecomment' : - wp_set_comment_status( $comment_id, 'approve' ); - $redir = add_query_arg( array( 'approved' => 1 ), $redir ); - break; - case 'unapprovecomment' : - wp_set_comment_status( $comment_id, 'hold' ); - $redir = add_query_arg( array( 'unapproved' => 1 ), $redir ); - break; - } - - wp_redirect( $redir ); - die; - -case 'editedcomment' : - - $comment_id = absint( $_POST['comment_ID'] ); - $comment_post_id = absint( $_POST['comment_post_ID'] ); - - check_admin_referer( 'update-comment_' . $comment_id ); - - edit_comment(); - - $location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id; - - /** - * Filter the URI the user is redirected to after editing a comment in the admin. - * - * @since 2.1.0 - * - * @param string $location The URI the user will be redirected to. - * @param int $comment_id The ID of the comment being edited. - */ - $location = apply_filters( 'comment_edit_redirect', $location, $comment_id ); - wp_redirect( $location ); - - exit(); - -default: - wp_die( __('Unknown action.') ); - -} // end switch - -include( ABSPATH . 'wp-admin/admin-footer.php' ); diff --git a/sources/wordpress/wp-admin/credits.php b/sources/wordpress/wp-admin/credits.php deleted file mode 100644 index 3d2e8a5..0000000 --- a/sources/wordpress/wp-admin/credits.php +++ /dev/null @@ -1,192 +0,0 @@ -' . esc_html( $display_name ) . ''; -} - -/** - * Retrieve the link to an external library used in WordPress. - * - * @access private - * @since 3.2.0 - * - * @param string &$data External library data, passed by reference. - * @return string Link to the external library. - */ -function _wp_credits_build_object_link( &$data ) { - $data = '' . $data[0] . ''; -} - -list( $display_version ) = explode( '-', $wp_version ); - -include( ABSPATH . 'wp-admin/admin-header.php' ); -?> -
- -

- -
- -
- - - -' . sprintf( __( 'WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress.' ), - 'https://wordpress.org/about/', - /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ - __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ) . '

'; - include( ABSPATH . 'wp-admin/admin-footer.php' ); - exit; -} - -echo '

' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "

\n"; - -$gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/'; - -foreach ( $credits['groups'] as $group_slug => $group_data ) { - if ( $group_data['name'] ) { - if ( 'Translators' == $group_data['name'] ) { - // Considered a special slug in the API response. (Also, will never be returned for en_US.) - $title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' ); - } elseif ( isset( $group_data['placeholders'] ) ) { - $title = vsprintf( translate( $group_data['name'] ), $group_data['placeholders'] ); - } else { - $title = translate( $group_data['name'] ); - } - - echo '

' . $title . "

\n"; - } - - if ( ! empty( $group_data['shuffle'] ) ) - shuffle( $group_data['data'] ); // We were going to sort by ability to pronounce "hierarchical," but that wouldn't be fair to Matt. - - switch ( $group_data['type'] ) { - case 'list' : - array_walk( $group_data['data'], '_wp_credits_add_profile_link', $credits['data']['profiles'] ); - echo '

' . wp_sprintf( '%l.', $group_data['data'] ) . "

\n\n"; - break; - case 'libraries' : - array_walk( $group_data['data'], '_wp_credits_build_object_link' ); - echo '

' . wp_sprintf( '%l.', $group_data['data'] ) . "

\n\n"; - break; - default: - $compact = 'compact' == $group_data['type']; - $classes = 'wp-people-group ' . ( $compact ? 'compact' : '' ); - echo '\n"; - break; - } -} - -?> -

Get involved in WordPress.' ), - /* translators: URL to the Make WordPress 'Get Involved' landing page used on the credits page */ - __( 'https://make.wordpress.org/' ) ); ?>

- -
- div { - position: relative; - width: 47.6%; - margin-left: 4.799999999%; - float: right; -} - -.about-wrap .feature-section.three-col > div { - position: relative; - width: 29.95%; - margin-left: 4.999999999%; - float: right; -} - -.about-wrap .feature-section.col .last-feature { - margin-left: 0; -} - -.about-wrap .under-the-hood .feature-section { - margin-top: 0; -} - -.about-wrap .changelog .feature-section { - overflow: hidden; -} - -.about-wrap .feature-section.two-col div p { - margin-left: 3%; -} - -.about-wrap .feature-section div p img { - float: left; - margin-right: 10px; - max-width: 20%; -} - -/* responsive videos for 4.0 */ -.about-video { - position: relative; - width: 100%; - height: 0; -} - -.about-video-embed { - padding-bottom: 70.4%; /* 352 / 500 */ -} - -.about-video-focus { - padding-bottom: 56.2%; /* 281 / 500 */ -} - -.about-video .wp-video, -.about-video .mejs-container, -.about-video video { - position: absolute; - top: 0; - right: 0; - width: 100% !important; - height: 100% !important; -} - -.about-wrap .changelog li { - list-style-type: disc; - margin-right: 3em; -} - -/* Return to Dashboard Home link */ - -.about-wrap .return-to-dashboard { - margin: 30px -5px 0 0; - font-size: 14px; - font-weight: bold; -} - -.about-wrap .return-to-dashboard a { - text-decoration: none; - padding: 0 5px; -} - -/* Credits */ - -.about-wrap h4.wp-people-group { - margin-top: 2.6em; - font-size: 16px; -} - -.about-wrap ul.wp-people-group { - overflow: hidden; - padding: 0 5px; - margin: 0 -5px 0 -15px; -} - -.about-wrap ul.compact { - margin-bottom: 0 -} - -.about-wrap li.wp-person { - float: right; - margin-left: 10px; -} - -.about-wrap li.wp-person img.gravatar { - float: right; - margin: 0 0 10px 10px; - padding: 2px; - width: 60px; - height: 60px; -} - -.about-wrap ul.compact li.wp-person img.gravatar { - width: 30px; - height: 30px; -} - -/* @todo: combine this */ -.about-wrap li.wp-person { - height: 70px; - width: 280px; - padding-bottom: 15px; -} - -.about-wrap ul.compact li.wp-person { - height: auto; - width: 180px; - padding-bottom: 0; - margin-bottom: 0; -} - -.about-wrap #wp-people-group-validators + p.wp-credits-list { - margin-top: 0; -} - -.about-wrap li.wp-person a.web { - display: block; - margin: 6px 0 2px; - font-size: 16px; - text-decoration: none; -} - -.about-wrap p.wp-credits-list a { - white-space: nowrap; -} - -/* Freedoms */ - -.freedoms-php .about-wrap ol { - margin: 40px 60px; -} - -.freedoms-php .about-wrap ol li { - list-style-type: decimal; - font-weight: bold; -} - -.freedoms-php .about-wrap ol p { - font-weight: normal; - margin: 0.6em 0; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and ( max-width: 782px ) { - .about-wrap .feature-section.one-col > div, - .about-wrap .feature-section.two-col > div, - .about-wrap .feature-section.three-col > div { - width: 100%; - margin: 0 0 40px; - padding: 0 0 40px; - float: none; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - } - - .about-wrap .under-the-hood .feature-section > div, - .about-wrap .feature-section.col > div.last-feature { - margin: 0; - padding: 0; - border-bottom: none; - } - -} - -/* Responsive release video */ -@media screen and ( max-width: 710px ) { - .about-overview { - position: relative; - padding-bottom: 56.25%; /* 360 / 640 */ - width: 100%; - height: 0; - } - - .about-overview embed { - position: absolute; - top: 0; - right: 0; - width: 100%; - height: 100%; - } -} - -@media only screen and (max-width: 500px) { - .about-wrap { - margin-left: 20px; - margin-right: 10px; - } - - .about-wrap h1, - .about-text { - margin-left: 0; - } - - .about-text { - margin-bottom: 0.25em; - } - - .about-wrap .wp-badge { - position: relative; - margin-bottom: 1.5em; - width: 100%; - } - - .about-wrap h2.nav-tab-wrapper { - padding-right: 0; - border-bottom: 0; - } - - .about-wrap h2 .nav-tab { - margin-top: 10px; - margin-left: 10px; - border-bottom: 1px solid #ccc; - } - - .about-wrap .feature-section.three-col div { - width: 100%; - float: none; - } - - .about-wrap .three-col.about-updates .col-1 { - padding: 0; - float: none; - } - - .about-wrap .three-col.about-updates .col-2 { - margin: 0 0 20px; - width: 100%; - float: none; - } -} diff --git a/sources/wordpress/wp-admin/css/about.css b/sources/wordpress/wp-admin/css/about.css deleted file mode 100644 index 50c4d92..0000000 --- a/sources/wordpress/wp-admin/css/about.css +++ /dev/null @@ -1,446 +0,0 @@ -/*------------------------------------------------------------------------------ - 22.0 - About Pages -------------------------------------------------------------------------------*/ - -.about-wrap { - position: relative; - margin: 25px 40px 0 20px; - max-width: 1050px; /* readability */ - - font-size: 15px; -} - -.about-wrap div.updated, -.about-wrap div.error { - display: none !important; -} - -.about-wrap hr { - border: 0; - height: 0; - margin: 0; - border-top: 1px solid rgba(0, 0, 0, 0.1); -} - -.about-wrap img { - margin: 0; - max-width: 100%; - height: auto; - vertical-align: middle; -} - -/* Typography */ - -.about-wrap p { - line-height: 1.6em; - font-size: 14px; -} - -.about-wrap h1 { - margin: 0.2em 200px 0 0; - color: #333; - line-height: 1.2em; - font-size: 2.8em; - font-weight: 400; -} - -.about-wrap h4 { - color: #222; -} - -.about-wrap .about-text, -.about-wrap p.about-description, -.about-wrap li.wp-person a.web { - font-weight: normal; - line-height: 1.6em; - font-size: 19px; -} - -.about-description { - margin-top: 1.4em; -} - -.about-text { - margin: 1em 200px 1em 0; - min-height: 60px; - color: #777; - font-size: 24px; -} - -.about-wrap .changelog h2.about-headline-callout { - margin: 1.1em 0 0.2em; - font-size: 2.4em; - font-weight: 300; - line-height: 1.3; - text-align: center; -} - -.about-wrap h3 { - margin: 1em 0 .6em; - font-size: 1.5em; - line-height: 1.5em; -} - -.about-wrap h3.higher { - margin-top: .5em; -} - -.customize h3 { - margin-top: 1.75em; - text-align: center; -} - -.about-wrap .feature-section h4 { - margin: 1.4em 0 0.6em 0; - font-size: 1.2em; -} - -.about-wrap .feature-section p { - margin-top: 0.6em; -} - -.about-wrap code, -.about-wrap ol li p { - font-size: 14px; -} - -.about-wrap .button.button-large { - padding: 8px 20px 10px !important; - height: 46px !important; - font-size: 14px; - line-height: 28px !important; -} - -/* 3.8 Images */ - -.about-wrap .about-overview-img { - margin: 0; -} - -/* Point Releases */ - -.about-wrap .point-releases { - margin-top: 5px; - border-bottom: 1px solid #dfdfdf; -} - -.about-wrap .changelog.point-releases h3 { - padding-top: 35px; -} - -.about-wrap .changelog.point-releases h3:first-child { - padding-top: 7px; -} - -/* WordPress Version Badge */ - -.wp-badge { - background: #0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat; - background: #0074a2, url(../images/wordpress-logo-white.svg?ver=20131110) no-repeat; /* multiple backgrounds are ignored by browsers that don't support SVGs */ - background-position: center 24px; - -webkit-background-size: 85px 85px; - background-size: 85px 85px; - color: #78c8e6; - font-size: 14px; - text-align: center; - font-weight: 600; - margin: 5px 0 0; - padding-top: 120px; - height: 40px; - display: inline-block; - width: 150px; - text-rendering: optimizeLegibility; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - box-shadow: 0 1px 3px rgba(0,0,0,0.2); -} - - -.about-wrap .wp-badge { - position: absolute; - top: 0; - right: 0; -} - -/* Tabs */ - -.about-wrap h2.nav-tab-wrapper { - padding-left: 6px; -} - -.about-wrap h2 .nav-tab { - padding: 4px 15px 6px; - margin: 0 3px -1px 0; - font-size: 18px; - vertical-align: top; - border-width: 1px; -} - -/* Changelog / Update screen */ - -.about-overview { - margin-top: 40px; - margin-bottom: 40px; - text-align: center; -} - -.about-overview p { - margin: 1em auto 50px; - max-width: 770px; - font-size: 18px; - line-height: 1.5; - text-align: center; -} - -.about-wrap .feature-section { - margin-top: 40px; - padding-bottom: 20px; -} - -.about-wrap .feature-section.two-col > div { - position: relative; - width: 47.6%; - margin-right: 4.799999999%; - float: left; -} - -.about-wrap .feature-section.three-col > div { - position: relative; - width: 29.95%; - margin-right: 4.999999999%; - float: left; -} - -.about-wrap .feature-section.col .last-feature { - margin-right: 0; -} - -.about-wrap .under-the-hood .feature-section { - margin-top: 0; -} - -.about-wrap .changelog .feature-section { - overflow: hidden; -} - -.about-wrap .feature-section.two-col div p { - margin-right: 3%; -} - -.about-wrap .feature-section div p img { - float: right; - margin-left: 10px; - max-width: 20%; -} - -/* responsive videos for 4.0 */ -.about-video { - position: relative; - width: 100%; - height: 0; -} - -.about-video-embed { - padding-bottom: 70.4%; /* 352 / 500 */ -} - -.about-video-focus { - padding-bottom: 56.2%; /* 281 / 500 */ -} - -.about-video .wp-video, -.about-video .mejs-container, -.about-video video { - position: absolute; - top: 0; - left: 0; - width: 100% !important; - height: 100% !important; -} - -.about-wrap .changelog li { - list-style-type: disc; - margin-left: 3em; -} - -/* Return to Dashboard Home link */ - -.about-wrap .return-to-dashboard { - margin: 30px 0 0 -5px; - font-size: 14px; - font-weight: bold; -} - -.about-wrap .return-to-dashboard a { - text-decoration: none; - padding: 0 5px; -} - -/* Credits */ - -.about-wrap h4.wp-people-group { - margin-top: 2.6em; - font-size: 16px; -} - -.about-wrap ul.wp-people-group { - overflow: hidden; - padding: 0 5px; - margin: 0 -15px 0 -5px; -} - -.about-wrap ul.compact { - margin-bottom: 0 -} - -.about-wrap li.wp-person { - float: left; - margin-right: 10px; -} - -.about-wrap li.wp-person img.gravatar { - float: left; - margin: 0 10px 10px 0; - padding: 2px; - width: 60px; - height: 60px; -} - -.about-wrap ul.compact li.wp-person img.gravatar { - width: 30px; - height: 30px; -} - -/* @todo: combine this */ -.about-wrap li.wp-person { - height: 70px; - width: 280px; - padding-bottom: 15px; -} - -.about-wrap ul.compact li.wp-person { - height: auto; - width: 180px; - padding-bottom: 0; - margin-bottom: 0; -} - -.about-wrap #wp-people-group-validators + p.wp-credits-list { - margin-top: 0; -} - -.about-wrap li.wp-person a.web { - display: block; - margin: 6px 0 2px; - font-size: 16px; - text-decoration: none; -} - -.about-wrap p.wp-credits-list a { - white-space: nowrap; -} - -/* Freedoms */ - -.freedoms-php .about-wrap ol { - margin: 40px 60px; -} - -.freedoms-php .about-wrap ol li { - list-style-type: decimal; - font-weight: bold; -} - -.freedoms-php .about-wrap ol p { - font-weight: normal; - margin: 0.6em 0; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and ( max-width: 782px ) { - .about-wrap .feature-section.one-col > div, - .about-wrap .feature-section.two-col > div, - .about-wrap .feature-section.three-col > div { - width: 100%; - margin: 0 0 40px; - padding: 0 0 40px; - float: none; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - } - - .about-wrap .under-the-hood .feature-section > div, - .about-wrap .feature-section.col > div.last-feature { - margin: 0; - padding: 0; - border-bottom: none; - } - -} - -/* Responsive release video */ -@media screen and ( max-width: 710px ) { - .about-overview { - position: relative; - padding-bottom: 56.25%; /* 360 / 640 */ - width: 100%; - height: 0; - } - - .about-overview embed { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - } -} - -@media only screen and (max-width: 500px) { - .about-wrap { - margin-right: 20px; - margin-left: 10px; - } - - .about-wrap h1, - .about-text { - margin-right: 0; - } - - .about-text { - margin-bottom: 0.25em; - } - - .about-wrap .wp-badge { - position: relative; - margin-bottom: 1.5em; - width: 100%; - } - - .about-wrap h2.nav-tab-wrapper { - padding-left: 0; - border-bottom: 0; - } - - .about-wrap h2 .nav-tab { - margin-top: 10px; - margin-right: 10px; - border-bottom: 1px solid #ccc; - } - - .about-wrap .feature-section.three-col div { - width: 100%; - float: none; - } - - .about-wrap .three-col.about-updates .col-1 { - padding: 0; - float: none; - } - - .about-wrap .three-col.about-updates .col-2 { - margin: 0 0 20px; - width: 100%; - float: none; - } -} diff --git a/sources/wordpress/wp-admin/css/admin-menu-rtl.css b/sources/wordpress/wp-admin/css/admin-menu-rtl.css deleted file mode 100644 index 7ea5ff6..0000000 --- a/sources/wordpress/wp-admin/css/admin-menu-rtl.css +++ /dev/null @@ -1,917 +0,0 @@ -#adminmenuback, -#adminmenuwrap, -#adminmenu, -#adminmenu .wp-submenu { - width: 160px; - background-color: #222; -} - -#adminmenuback { - position: absolute; - top: 0; - bottom: 0; - z-index: -1; -} - -#adminmenu { - clear: right; - margin: 12px 0 0; - padding: 0; - list-style: none; -} - -.folded #adminmenuback, -.folded #adminmenuwrap, -.folded #adminmenu, -.folded #adminmenu li.menu-top { - width: 36px; -} - -.icon16 { - height: 18px; - width: 18px; - padding: 6px 6px; - margin: -6px -8px 0 0; - float: right; -} - -/* New Menu icons */ - -.icon16:before { - color: #999; - font: normal 20px/1 'dashicons'; - speak: none; - padding: 6px 0; - height: 34px; - width: 20px; - display: inline-block; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -.icon16.icon-dashboard:before { - content: '\f226'; -} - -.icon16.icon-post:before { - content: '\f109'; -} - -.icon16.icon-media:before { - content: '\f104'; -} - -.icon16.icon-links:before { - content: '\f103'; -} - -.icon16.icon-page:before { - content: '\f105'; -} - -.icon16.icon-comments:before { - content: '\f101'; - margin-top: 1px; -} - -.icon16.icon-appearance:before { - content: '\f100'; -} - -.icon16.icon-plugins:before { - content: '\f106'; -} - -.icon16.icon-users:before { - content: '\f110'; -} - -.icon16.icon-tools:before { - content: '\f107'; -} - -.icon16.icon-settings:before { - content: '\f108'; -} - -.icon16.icon-site:before { - content: '\f112' -} - -.icon16.icon-generic:before { - content: '\f111'; -} - -/* hide background-image for icons above */ -.icon16.icon-dashboard, -.menu-icon-dashboard div.wp-menu-image, -.icon16.icon-post, -.menu-icon-post div.wp-menu-image, -.icon16.icon-media, -.menu-icon-media div.wp-menu-image, -.icon16.icon-links, -.menu-icon-links div.wp-menu-image, -.icon16.icon-page, -.menu-icon-page div.wp-menu-image, -.icon16.icon-comments, -.menu-icon-comments div.wp-menu-image, -.icon16.icon-appearance, -.menu-icon-appearance div.wp-menu-image, -.icon16.icon-plugins, -.menu-icon-plugins div.wp-menu-image, -.icon16.icon-users, -.menu-icon-users div.wp-menu-image, -.icon16.icon-tools, -.menu-icon-tools div.wp-menu-image, -.icon16.icon-settings, -.menu-icon-settings div.wp-menu-image, -.icon16.icon-site, -.menu-icon-site div.wp-menu-image, -.icon16.icon-generic, -.menu-icon-generic div.wp-menu-image { - background-image: none !important; -} - -/*------------------------------------------------------------------------------ - 7.0 - Main Navigation (Left Menu) -------------------------------------------------------------------------------*/ - -#adminmenuwrap { - position: relative; - float: right; -} - -/* side admin menu */ -#adminmenu * { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -#adminmenu li { - margin: 0; - padding: 0; - cursor: pointer; -} - -#adminmenu a { - display: block; - line-height: 18px; - padding: 2px 5px; - color: #eee; -} - -#adminmenu .wp-submenu a { - color: #bbb; -} - -#adminmenu .wp-submenu a:hover, -#adminmenu .wp-submenu a:focus { - background: none; -} - -#adminmenu a:hover, -#adminmenu li.menu-top > a:focus, -#adminmenu .wp-submenu a:hover, -#adminmenu .wp-submenu a:focus { - color: #2ea2cc; -} - -#adminmenu li.menu-top { - border: none; - min-height: 34px; - position: relative; -} - -#adminmenu .wp-submenu { - list-style: none; - position: absolute; - top: -1000em; - right: 160px; - overflow: visible; - word-wrap: break-word; -} - -#adminmenu .wp-submenu, -.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - padding: 7px 0 8px; - z-index: 9999; - background-color: #333; - -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2); - box-shadow: 0 3px 5px rgba(0,0,0,0.2); -} - -.js #adminmenu .sub-open, -.js #adminmenu .opensub .wp-submenu, -#adminmenu a.menu-top:focus + .wp-submenu, -.no-js li.wp-has-submenu:hover .wp-submenu { - top: -1px; -} - -#adminmenu .wp-has-current-submenu .wp-submenu, -.no-js li.wp-has-current-submenu:hover .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu.sub-open, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu { - position: relative; - z-index: 3; - top: auto; - right: auto; - left: auto; - bottom: auto; - border: 0 none; - margin-top: 0; - -webkit-box-shadow: none; - box-shadow: none; - background-color: #333; -} - -/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */ -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - position: relative; - background-color: #111; -} - -.folded #adminmenu li.menu-top:hover, -.folded #adminmenu li.opensub > a.menu-top, -.folded #adminmenu li > a.menu-top:focus { - z-index: 10000; -} - -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.current a.menu-top, -.folded #adminmenu li.wp-has-current-submenu, -.folded #adminmenu li.current.menu-top, -#adminmenu .wp-menu-arrow, -#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, -#adminmenu .wp-menu-arrow div { - background: #0074a2; - color: #fff; -} - -.folded #adminmenu .wp-submenu.sub-open, -.folded #adminmenu .opensub .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, -.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu, -.folded #adminmenu a.menu-top:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu, -.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu { - top: 0; - right: 36px; -} - -.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - position: absolute; - top: -1000em; -} - -#adminmenu .wp-not-current-submenu .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - min-width: 160px; - width: auto; -} - -#adminmenu .wp-submenu a { - font-size: 13px; - line-height: 1.2; - margin: 0; - padding: 6px 0; -} - -#adminmenu .wp-submenu li.current, -#adminmenu .wp-submenu li.current a, -#adminmenu .opensub .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus { - color: #fff; -} - -#adminmenu .wp-not-current-submenu li > a, -.folded #adminmenu .wp-has-current-submenu li > a { - padding-left: 16px; - padding-right: 14px; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -#adminmenu .wp-has-current-submenu ul > li > a, -.folded #adminmenu li.menu-top .wp-submenu > li > a { - padding: 6px 12px; -} - -#adminmenu a.menu-top, -#adminmenu .wp-submenu-head { - font-size: 14px; - font-weight: 400; - line-height: 18px; - padding: 0; -} - -#adminmenu .wp-submenu-head, -.folded #adminmenu .wp-menu-name { - display: none; -} - -.folded #adminmenu .wp-submenu-head { - display: block; -} - -#adminmenu .wp-submenu li { - padding: 0; - margin: 0; - overflow: hidden; -} - -#adminmenu .wp-menu-image img { - padding: 9px 0 0 0; - opacity: 0.6; - filter: alpha(opacity=60); -} - -#adminmenu div.wp-menu-name { - padding: 8px 0; -} - -#adminmenu div.wp-menu-image { - float: right; - width: 36px; - height: 34px; - margin: 0; - text-align: center; -} - -#adminmenu div.wp-menu-image.svg { - background-repeat: no-repeat; - background-position: center; - -webkit-background-size: 20px auto; - background-size: 20px auto; -} - -div.wp-menu-image:before { - color: #999; - padding: 7px 0; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -#adminmenu div.wp-menu-image:before { - color: #999; -} - -#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, -#adminmenu .wp-has-current-submenu div.wp-menu-image:before, -#adminmenu .current div.wp-menu-image:before, -#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before { - color: #fff; -} - -#adminmenu li:hover div.wp-menu-image:before { - color: #2ea2cc; -} - -.folded #adminmenu div.wp-menu-image { - width: 35px; - height: 30px; - position: absolute; - z-index: 25; -} - -.folded #adminmenu a.menu-top { - height: 34px; -} - -/* No @font-face support */ -.no-font-face #adminmenu .wp-menu-image { - display: none; -} - -.no-font-face #adminmenu div.wp-menu-name { - padding: 8px 12px; -} - -.no-font-face.auto-fold #adminmenu .wp-menu-name { - margin-right: 0; -} -/* End no @font-face support */ - -/* Sticky admin menu */ -.sticky-menu #adminmenuwrap { - position: fixed; - z-index: 9999; /* Match the z-index of .wp-submenu to ensure flyout menus don't appear underneath main column elements */ -} - -/* A new arrow */ - -.wp-menu-arrow { - display: none !important; -} - -ul#adminmenu a.wp-has-current-submenu { - position: relative; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - left: 0; - border: solid 8px transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-left-color: #f1f1f1; - top: 50%; - margin-top: -8px; -} - -.folded ul#adminmenu li:hover a.wp-has-current-submenu:after { - display: none; -} - -.folded ul#adminmenu a.wp-has-current-submenu:after, -.folded ul#adminmenu > li a.current:after { - border-width: 4px; - margin-top: -4px; -} - -/* flyout menu arrow */ -#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { - left: 0; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-width: 8px; - top: 10px; - z-index: 10000; -} - -.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { - border-width: 4px; - margin-top: -4px; - top: 18px; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-left-color: #333; -} - -#adminmenu li.menu-top:hover .wp-menu-image img, -#adminmenu li.wp-has-current-submenu .wp-menu-image img { - opacity: 1; - filter: alpha(opacity=100); -} - -#adminmenu li.wp-menu-separator { - height: 5px; - padding: 0; - margin: 0 0 6px 0; - cursor: inherit; -} - -/* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */ -#adminmenu div.separator { - height: 2px; - padding: 0; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #fff; - font-weight: 400; - font-size: 14px; - padding: 8px 11px 8px 4px; - margin: -7px 0px 4px; -} - -#adminmenu li.current, -.folded #adminmenu li.wp-menu-open { - border: 0 none; -} - -#adminmenu .awaiting-mod, -#adminmenu .update-plugins, -#sidemenu li a span.update-plugins { - display: inline-block; - background-color: #d54e21; - color: #fff; - font-size: 9px; - line-height: 17px; - font-weight: 600; - margin: 1px 2px 0 0; - vertical-align: top; - -webkit-border-radius: 10px; - border-radius: 10px; - z-index: 26; -} - -#adminmenu li .awaiting-mod span, -#adminmenu li span.update-plugins span, -#sidemenu li a span.update-plugins span { - display: block; - padding: 0 6px; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins { - background-color: #2ea2cc; - color: #fff; -} - -#adminmenu li span.count-0, -#sidemenu li a .count-0 { - display: none; -} - -#collapse-menu { - font-size: 13px; - line-height: 34px; - margin-top: 10px; - color: #aaa; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -#collapse-menu:hover, -#collapse-menu:hover #collapse-button div:after { - color: #2ea2cc; -} - -.folded #collapse-menu span { - display: none; -} - -#collapse-button, -#collapse-button div { - width: 15px; - height: 15px; -} - -#collapse-button { - float: right; - height: 15px; - margin: 10px 11px 10px 8px; - width: 15px; - -webkit-border-radius: 10px; - border-radius: 10px; -} - -#wpwrap #collapse-button div { - padding: 0; -} - -#collapse-button div:after { - content: '\f148'; - display: block; - line-height: 15px; - right: -3px; - top: -3px; - color: #aaa; - font: normal 20px/1 'dashicons' !important; - speak: none; - margin: 0 auto; - padding: 0 !important; - position: relative; - text-align: center; - width: 20px; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.folded #collapse-button div:after, -.rtl #collapse-button div:after { - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); -} - -.rtl.folded #collapse-button div:after { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -/** - * Toolbar menu toggle - */ -li#wp-admin-bar-menu-toggle { - display: none; -} - - -/* Auto-folding of the admin menu */ -@media only screen and (max-width: 960px) { - .auto-fold #wpcontent, - .auto-fold #wpfooter { - margin-right: 36px; - } - - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap, - .auto-fold #adminmenu, - .auto-fold #adminmenu li.menu-top { - width: 36px; - } - - .auto-fold #adminmenu .wp-submenu.sub-open, - .auto-fold #adminmenu .opensub .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, - .auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu, - .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { - top: 0px; - right: 36px; - } - - .auto-fold #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { - position: absolute; - top: -1000em; - margin-left: -1px; - padding: 7px 0 8px; - z-index: 9999; - } - - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { - min-width: 150px; - width: auto; - } - - .auto-fold #adminmenu .wp-has-current-submenu li > a { - padding-left: 16px; - padding-right: 14px; - } - - - .auto-fold #adminmenu li.menu-top .wp-submenu > li > a { - padding-right: 12px; - } - - .auto-fold #adminmenu .wp-menu-name { - display: none; - } - - .auto-fold #adminmenu .wp-submenu-head { - display: block; - } - - .auto-fold #adminmenu div.wp-menu-image { - height: 30px; - width: 34px; - position: absolute; - z-index: 25; - } - - .auto-fold #adminmenu a.menu-top { - height: 34px; - } - - .auto-fold #adminmenu li.wp-menu-open { - border: 0 none; - } - - .auto-fold #adminmenu .wp-has-current-submenu.menu-top-last { - margin-bottom: 0; - } - - .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after { - display: none; - } - - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { - border-width: 4px; - margin-top: -4px; - top: 16px; - } - - .auto-fold ul#adminmenu a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu > li a.current:after { - border-width: 4px; - margin-top: -4px; - } - - .auto-fold #adminmenu li.menu-top:hover, - .auto-fold #adminmenu li.opensub > a.menu-top, - .auto-fold #adminmenu li > a.menu-top:focus { - z-index: 10000; - } - - .auto-fold #collapse-menu span { - display: none; - } - - .auto-fold #collapse-button div { - background: none; - } - - .auto-fold #collapse-button div:after { - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - } - - .rtl.auto-fold #collapse-button div:after { - -webkit-transform: none; - -ms-transform: none; - transform: none; - } - -} - -@media screen and ( max-width: 782px ) { - .auto-fold #wpcontent { - position: relative; - margin-right: 0; - padding-right: 10px; - } - - .sticky-menu #adminmenuwrap { - position: relative; - z-index: auto; - top: 0; - } - - /* Sidebar Adjustments */ - .auto-fold #adminmenu, - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap { - position: absolute; - width: 190px; - z-index: 100; - } - - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap { - display: none; - } - - .auto-fold .wp-responsive-open #adminmenuback, - .auto-fold .wp-responsive-open #adminmenuwrap { - display: block; - } - - .auto-fold #adminmenu li.menu-top { - width: 100%; - } - - /* Resize the admin menu items to a comfortable touch size */ - .auto-fold #adminmenu li a { - font-size: 16px; - padding: 5px; - } - - .auto-fold #adminmenu li.menu-top .wp-submenu > li > a { - padding: 10px 20px 10px 10px; - } - - /* Restore the menu names */ - .auto-fold #adminmenu .wp-menu-name { - display: block; - margin-right: 35px; - } - - /* Switch the arrow side */ - .auto-fold ul#adminmenu a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu > li.current > a.current:after { - border-width: 8px; - margin-top: -8px; - } - - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { - display: none; - } - - /* Make the submenus appear correctly when tapped. */ - #adminmenu .wp-submenu { - position: relative; - display: none; - } - - .auto-fold #adminmenu .selected .wp-submenu, - .auto-fold #adminmenu .wp-menu-open .wp-submenu { - position: relative; - display: block; - top: 0; - right: -1px; - -webkit-box-shadow: none; - box-shadow: none; - } - - .auto-fold #adminmenu .selected .wp-submenu:after, - .auto-fold #adminmenu .wp-menu-open .wp-submenu:after { - display: none; - } - - .auto-fold #adminmenu .opensub .wp-submenu { - display: none; - } - - .auto-fold #adminmenu .selected .wp-submenu { - display: block; - } - - .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after { - display: block; - } - - .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { - position: relative; - right: -1px; - left: 0; - top: 0; - } - - /* Remove submenu headers and adjust sub meu*/ - #adminmenu .wp-submenu .wp-submenu-head { - display: none; - } - - /* Toolbar menu toggle */ - #wp-responsive-toggle { - position: fixed; - top: 5px; - right: 4px; - padding-left: 10px; - z-index: 99999; - border: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - - #wpadminbar #wp-admin-bar-menu-toggle a { - display: block; - padding: 0; - overflow: hidden; - outline: none; - text-decoration: none; - border: 1px solid transparent; - background: none; - height: 44px; - margin-right: -1px; - } - - .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #333; - } - - li#wp-admin-bar-menu-toggle { - display: block; - } - - #wpadminbar #wp-admin-bar-menu-toggle a:hover { - border: 1px solid transparent; - } - - #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - content: '\f228'; - display: inline-block; - float: right; - font: normal 40px/45px 'Dashicons'; - vertical-align: middle; - outline: none; - margin: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - height: 44px; - width: 50px; - padding: 0; - border: none; - text-align: center; - text-decoration: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - #adminmenuwrap, - #adminmenuback { - display: none; - } - - .wp-responsive-open #adminmenuwrap, - .wp-responsive-open #adminmenuback { - display: block; - } - - .auto-fold #adminmenu { - top: 46px; - } -} - diff --git a/sources/wordpress/wp-admin/css/admin-menu.css b/sources/wordpress/wp-admin/css/admin-menu.css deleted file mode 100644 index 7f317bd..0000000 --- a/sources/wordpress/wp-admin/css/admin-menu.css +++ /dev/null @@ -1,917 +0,0 @@ -#adminmenuback, -#adminmenuwrap, -#adminmenu, -#adminmenu .wp-submenu { - width: 160px; - background-color: #222; -} - -#adminmenuback { - position: absolute; - top: 0; - bottom: 0; - z-index: -1; -} - -#adminmenu { - clear: left; - margin: 12px 0 0; - padding: 0; - list-style: none; -} - -.folded #adminmenuback, -.folded #adminmenuwrap, -.folded #adminmenu, -.folded #adminmenu li.menu-top { - width: 36px; -} - -.icon16 { - height: 18px; - width: 18px; - padding: 6px 6px; - margin: -6px 0 0 -8px; - float: left; -} - -/* New Menu icons */ - -.icon16:before { - color: #999; - font: normal 20px/1 'dashicons'; - speak: none; - padding: 6px 0; - height: 34px; - width: 20px; - display: inline-block; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -.icon16.icon-dashboard:before { - content: '\f226'; -} - -.icon16.icon-post:before { - content: '\f109'; -} - -.icon16.icon-media:before { - content: '\f104'; -} - -.icon16.icon-links:before { - content: '\f103'; -} - -.icon16.icon-page:before { - content: '\f105'; -} - -.icon16.icon-comments:before { - content: '\f101'; - margin-top: 1px; -} - -.icon16.icon-appearance:before { - content: '\f100'; -} - -.icon16.icon-plugins:before { - content: '\f106'; -} - -.icon16.icon-users:before { - content: '\f110'; -} - -.icon16.icon-tools:before { - content: '\f107'; -} - -.icon16.icon-settings:before { - content: '\f108'; -} - -.icon16.icon-site:before { - content: '\f112' -} - -.icon16.icon-generic:before { - content: '\f111'; -} - -/* hide background-image for icons above */ -.icon16.icon-dashboard, -.menu-icon-dashboard div.wp-menu-image, -.icon16.icon-post, -.menu-icon-post div.wp-menu-image, -.icon16.icon-media, -.menu-icon-media div.wp-menu-image, -.icon16.icon-links, -.menu-icon-links div.wp-menu-image, -.icon16.icon-page, -.menu-icon-page div.wp-menu-image, -.icon16.icon-comments, -.menu-icon-comments div.wp-menu-image, -.icon16.icon-appearance, -.menu-icon-appearance div.wp-menu-image, -.icon16.icon-plugins, -.menu-icon-plugins div.wp-menu-image, -.icon16.icon-users, -.menu-icon-users div.wp-menu-image, -.icon16.icon-tools, -.menu-icon-tools div.wp-menu-image, -.icon16.icon-settings, -.menu-icon-settings div.wp-menu-image, -.icon16.icon-site, -.menu-icon-site div.wp-menu-image, -.icon16.icon-generic, -.menu-icon-generic div.wp-menu-image { - background-image: none !important; -} - -/*------------------------------------------------------------------------------ - 7.0 - Main Navigation (Left Menu) -------------------------------------------------------------------------------*/ - -#adminmenuwrap { - position: relative; - float: left; -} - -/* side admin menu */ -#adminmenu * { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -#adminmenu li { - margin: 0; - padding: 0; - cursor: pointer; -} - -#adminmenu a { - display: block; - line-height: 18px; - padding: 2px 5px; - color: #eee; -} - -#adminmenu .wp-submenu a { - color: #bbb; -} - -#adminmenu .wp-submenu a:hover, -#adminmenu .wp-submenu a:focus { - background: none; -} - -#adminmenu a:hover, -#adminmenu li.menu-top > a:focus, -#adminmenu .wp-submenu a:hover, -#adminmenu .wp-submenu a:focus { - color: #2ea2cc; -} - -#adminmenu li.menu-top { - border: none; - min-height: 34px; - position: relative; -} - -#adminmenu .wp-submenu { - list-style: none; - position: absolute; - top: -1000em; - left: 160px; - overflow: visible; - word-wrap: break-word; -} - -#adminmenu .wp-submenu, -.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - padding: 7px 0 8px; - z-index: 9999; - background-color: #333; - -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2); - box-shadow: 0 3px 5px rgba(0,0,0,0.2); -} - -.js #adminmenu .sub-open, -.js #adminmenu .opensub .wp-submenu, -#adminmenu a.menu-top:focus + .wp-submenu, -.no-js li.wp-has-submenu:hover .wp-submenu { - top: -1px; -} - -#adminmenu .wp-has-current-submenu .wp-submenu, -.no-js li.wp-has-current-submenu:hover .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu.sub-open, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu { - position: relative; - z-index: 3; - top: auto; - left: auto; - right: auto; - bottom: auto; - border: 0 none; - margin-top: 0; - -webkit-box-shadow: none; - box-shadow: none; - background-color: #333; -} - -/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */ -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - position: relative; - background-color: #111; -} - -.folded #adminmenu li.menu-top:hover, -.folded #adminmenu li.opensub > a.menu-top, -.folded #adminmenu li > a.menu-top:focus { - z-index: 10000; -} - -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.current a.menu-top, -.folded #adminmenu li.wp-has-current-submenu, -.folded #adminmenu li.current.menu-top, -#adminmenu .wp-menu-arrow, -#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, -#adminmenu .wp-menu-arrow div { - background: #0074a2; - color: #fff; -} - -.folded #adminmenu .wp-submenu.sub-open, -.folded #adminmenu .opensub .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, -.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu, -.folded #adminmenu a.menu-top:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu, -.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu { - top: 0; - left: 36px; -} - -.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - position: absolute; - top: -1000em; -} - -#adminmenu .wp-not-current-submenu .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - min-width: 160px; - width: auto; -} - -#adminmenu .wp-submenu a { - font-size: 13px; - line-height: 1.2; - margin: 0; - padding: 6px 0; -} - -#adminmenu .wp-submenu li.current, -#adminmenu .wp-submenu li.current a, -#adminmenu .opensub .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus { - color: #fff; -} - -#adminmenu .wp-not-current-submenu li > a, -.folded #adminmenu .wp-has-current-submenu li > a { - padding-right: 16px; - padding-left: 14px; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -#adminmenu .wp-has-current-submenu ul > li > a, -.folded #adminmenu li.menu-top .wp-submenu > li > a { - padding: 6px 12px; -} - -#adminmenu a.menu-top, -#adminmenu .wp-submenu-head { - font-size: 14px; - font-weight: 400; - line-height: 18px; - padding: 0; -} - -#adminmenu .wp-submenu-head, -.folded #adminmenu .wp-menu-name { - display: none; -} - -.folded #adminmenu .wp-submenu-head { - display: block; -} - -#adminmenu .wp-submenu li { - padding: 0; - margin: 0; - overflow: hidden; -} - -#adminmenu .wp-menu-image img { - padding: 9px 0 0 0; - opacity: 0.6; - filter: alpha(opacity=60); -} - -#adminmenu div.wp-menu-name { - padding: 8px 0; -} - -#adminmenu div.wp-menu-image { - float: left; - width: 36px; - height: 34px; - margin: 0; - text-align: center; -} - -#adminmenu div.wp-menu-image.svg { - background-repeat: no-repeat; - background-position: center; - -webkit-background-size: 20px auto; - background-size: 20px auto; -} - -div.wp-menu-image:before { - color: #999; - padding: 7px 0; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -#adminmenu div.wp-menu-image:before { - color: #999; -} - -#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, -#adminmenu .wp-has-current-submenu div.wp-menu-image:before, -#adminmenu .current div.wp-menu-image:before, -#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before { - color: #fff; -} - -#adminmenu li:hover div.wp-menu-image:before { - color: #2ea2cc; -} - -.folded #adminmenu div.wp-menu-image { - width: 35px; - height: 30px; - position: absolute; - z-index: 25; -} - -.folded #adminmenu a.menu-top { - height: 34px; -} - -/* No @font-face support */ -.no-font-face #adminmenu .wp-menu-image { - display: none; -} - -.no-font-face #adminmenu div.wp-menu-name { - padding: 8px 12px; -} - -.no-font-face.auto-fold #adminmenu .wp-menu-name { - margin-left: 0; -} -/* End no @font-face support */ - -/* Sticky admin menu */ -.sticky-menu #adminmenuwrap { - position: fixed; - z-index: 9999; /* Match the z-index of .wp-submenu to ensure flyout menus don't appear underneath main column elements */ -} - -/* A new arrow */ - -.wp-menu-arrow { - display: none !important; -} - -ul#adminmenu a.wp-has-current-submenu { - position: relative; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - right: 0; - border: solid 8px transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-right-color: #f1f1f1; - top: 50%; - margin-top: -8px; -} - -.folded ul#adminmenu li:hover a.wp-has-current-submenu:after { - display: none; -} - -.folded ul#adminmenu a.wp-has-current-submenu:after, -.folded ul#adminmenu > li a.current:after { - border-width: 4px; - margin-top: -4px; -} - -/* flyout menu arrow */ -#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { - right: 0; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-width: 8px; - top: 10px; - z-index: 10000; -} - -.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { - border-width: 4px; - margin-top: -4px; - top: 18px; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: #333; -} - -#adminmenu li.menu-top:hover .wp-menu-image img, -#adminmenu li.wp-has-current-submenu .wp-menu-image img { - opacity: 1; - filter: alpha(opacity=100); -} - -#adminmenu li.wp-menu-separator { - height: 5px; - padding: 0; - margin: 0 0 6px 0; - cursor: inherit; -} - -/* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */ -#adminmenu div.separator { - height: 2px; - padding: 0; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #fff; - font-weight: 400; - font-size: 14px; - padding: 8px 4px 8px 11px; - margin: -7px 0px 4px; -} - -#adminmenu li.current, -.folded #adminmenu li.wp-menu-open { - border: 0 none; -} - -#adminmenu .awaiting-mod, -#adminmenu .update-plugins, -#sidemenu li a span.update-plugins { - display: inline-block; - background-color: #d54e21; - color: #fff; - font-size: 9px; - line-height: 17px; - font-weight: 600; - margin: 1px 0 0 2px; - vertical-align: top; - -webkit-border-radius: 10px; - border-radius: 10px; - z-index: 26; -} - -#adminmenu li .awaiting-mod span, -#adminmenu li span.update-plugins span, -#sidemenu li a span.update-plugins span { - display: block; - padding: 0 6px; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins { - background-color: #2ea2cc; - color: #fff; -} - -#adminmenu li span.count-0, -#sidemenu li a .count-0 { - display: none; -} - -#collapse-menu { - font-size: 13px; - line-height: 34px; - margin-top: 10px; - color: #aaa; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -#collapse-menu:hover, -#collapse-menu:hover #collapse-button div:after { - color: #2ea2cc; -} - -.folded #collapse-menu span { - display: none; -} - -#collapse-button, -#collapse-button div { - width: 15px; - height: 15px; -} - -#collapse-button { - float: left; - height: 15px; - margin: 10px 8px 10px 11px; - width: 15px; - -webkit-border-radius: 10px; - border-radius: 10px; -} - -#wpwrap #collapse-button div { - padding: 0; -} - -#collapse-button div:after { - content: '\f148'; - display: block; - line-height: 15px; - left: -3px; - top: -3px; - color: #aaa; - font: normal 20px/1 'dashicons' !important; - speak: none; - margin: 0 auto; - padding: 0 !important; - position: relative; - text-align: center; - width: 20px; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.folded #collapse-button div:after, -.rtl #collapse-button div:after { - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); -} - -.rtl.folded #collapse-button div:after { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -/** - * Toolbar menu toggle - */ -li#wp-admin-bar-menu-toggle { - display: none; -} - - -/* Auto-folding of the admin menu */ -@media only screen and (max-width: 960px) { - .auto-fold #wpcontent, - .auto-fold #wpfooter { - margin-left: 36px; - } - - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap, - .auto-fold #adminmenu, - .auto-fold #adminmenu li.menu-top { - width: 36px; - } - - .auto-fold #adminmenu .wp-submenu.sub-open, - .auto-fold #adminmenu .opensub .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, - .auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu, - .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { - top: 0px; - left: 36px; - } - - .auto-fold #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { - position: absolute; - top: -1000em; - margin-right: -1px; - padding: 7px 0 8px; - z-index: 9999; - } - - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { - min-width: 150px; - width: auto; - } - - .auto-fold #adminmenu .wp-has-current-submenu li > a { - padding-right: 16px; - padding-left: 14px; - } - - - .auto-fold #adminmenu li.menu-top .wp-submenu > li > a { - padding-left: 12px; - } - - .auto-fold #adminmenu .wp-menu-name { - display: none; - } - - .auto-fold #adminmenu .wp-submenu-head { - display: block; - } - - .auto-fold #adminmenu div.wp-menu-image { - height: 30px; - width: 34px; - position: absolute; - z-index: 25; - } - - .auto-fold #adminmenu a.menu-top { - height: 34px; - } - - .auto-fold #adminmenu li.wp-menu-open { - border: 0 none; - } - - .auto-fold #adminmenu .wp-has-current-submenu.menu-top-last { - margin-bottom: 0; - } - - .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after { - display: none; - } - - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { - border-width: 4px; - margin-top: -4px; - top: 16px; - } - - .auto-fold ul#adminmenu a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu > li a.current:after { - border-width: 4px; - margin-top: -4px; - } - - .auto-fold #adminmenu li.menu-top:hover, - .auto-fold #adminmenu li.opensub > a.menu-top, - .auto-fold #adminmenu li > a.menu-top:focus { - z-index: 10000; - } - - .auto-fold #collapse-menu span { - display: none; - } - - .auto-fold #collapse-button div { - background: none; - } - - .auto-fold #collapse-button div:after { - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - } - - .rtl.auto-fold #collapse-button div:after { - -webkit-transform: none; - -ms-transform: none; - transform: none; - } - -} - -@media screen and ( max-width: 782px ) { - .auto-fold #wpcontent { - position: relative; - margin-left: 0; - padding-left: 10px; - } - - .sticky-menu #adminmenuwrap { - position: relative; - z-index: auto; - top: 0; - } - - /* Sidebar Adjustments */ - .auto-fold #adminmenu, - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap { - position: absolute; - width: 190px; - z-index: 100; - } - - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap { - display: none; - } - - .auto-fold .wp-responsive-open #adminmenuback, - .auto-fold .wp-responsive-open #adminmenuwrap { - display: block; - } - - .auto-fold #adminmenu li.menu-top { - width: 100%; - } - - /* Resize the admin menu items to a comfortable touch size */ - .auto-fold #adminmenu li a { - font-size: 16px; - padding: 5px; - } - - .auto-fold #adminmenu li.menu-top .wp-submenu > li > a { - padding: 10px 10px 10px 20px; - } - - /* Restore the menu names */ - .auto-fold #adminmenu .wp-menu-name { - display: block; - margin-left: 35px; - } - - /* Switch the arrow side */ - .auto-fold ul#adminmenu a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu > li.current > a.current:after { - border-width: 8px; - margin-top: -8px; - } - - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { - display: none; - } - - /* Make the submenus appear correctly when tapped. */ - #adminmenu .wp-submenu { - position: relative; - display: none; - } - - .auto-fold #adminmenu .selected .wp-submenu, - .auto-fold #adminmenu .wp-menu-open .wp-submenu { - position: relative; - display: block; - top: 0; - left: -1px; - -webkit-box-shadow: none; - box-shadow: none; - } - - .auto-fold #adminmenu .selected .wp-submenu:after, - .auto-fold #adminmenu .wp-menu-open .wp-submenu:after { - display: none; - } - - .auto-fold #adminmenu .opensub .wp-submenu { - display: none; - } - - .auto-fold #adminmenu .selected .wp-submenu { - display: block; - } - - .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after { - display: block; - } - - .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { - position: relative; - left: -1px; - right: 0; - top: 0; - } - - /* Remove submenu headers and adjust sub meu*/ - #adminmenu .wp-submenu .wp-submenu-head { - display: none; - } - - /* Toolbar menu toggle */ - #wp-responsive-toggle { - position: fixed; - top: 5px; - left: 4px; - padding-right: 10px; - z-index: 99999; - border: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - - #wpadminbar #wp-admin-bar-menu-toggle a { - display: block; - padding: 0; - overflow: hidden; - outline: none; - text-decoration: none; - border: 1px solid transparent; - background: none; - height: 44px; - margin-left: -1px; - } - - .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #333; - } - - li#wp-admin-bar-menu-toggle { - display: block; - } - - #wpadminbar #wp-admin-bar-menu-toggle a:hover { - border: 1px solid transparent; - } - - #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - content: '\f228'; - display: inline-block; - float: left; - font: normal 40px/45px 'Dashicons'; - vertical-align: middle; - outline: none; - margin: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - height: 44px; - width: 50px; - padding: 0; - border: none; - text-align: center; - text-decoration: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - #adminmenuwrap, - #adminmenuback { - display: none; - } - - .wp-responsive-open #adminmenuwrap, - .wp-responsive-open #adminmenuback { - display: block; - } - - .auto-fold #adminmenu { - top: 46px; - } -} - diff --git a/sources/wordpress/wp-admin/css/color-picker-rtl.css b/sources/wordpress/wp-admin/css/color-picker-rtl.css deleted file mode 100644 index 257ad53..0000000 --- a/sources/wordpress/wp-admin/css/color-picker-rtl.css +++ /dev/null @@ -1,127 +0,0 @@ -.wp-color-picker { - width: 80px; -} - -.wp-picker-container .hidden { - display: none; -} - -.wp-color-result { - background-color: #f7f7f7; - border: 1px solid #ccc; - -webkit-border-radius: 3px; - border-radius: 3px; - cursor: pointer; - display: inline-block; - height: 22px; - margin: 0 0px 6px 6px; - position: relative; - top: 1px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - vertical-align: bottom; - display: inline-block; - padding-right: 30px; - -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.08); - box-shadow: 0 1px 0 rgba(0,0,0,.08); -} - -.wp-color-result:after { - background: #f7f7f7; - -webkit-border-radius: 2px 0 0 2px; - border-radius: 2px 0 0 2px; - border-right: 1px solid #ccc; - color: #555; - content: attr( title ); - display: block; - font-size: 11px; - line-height: 22px; - padding: 0 6px; - position: relative; - left: 0; - text-align: center; - top: 0; - -webkit-box-shadow: inset 0 1px 0 #fff; - box-shadow: inset 0 1px 0 #fff; -} - -.wp-color-result:hover, -.wp-color-result:focus { - background: #fafafa; - border-color: #999; - color: #222; -} - -.wp-color-result:hover:after, -.wp-color-result:focus:after { - color: #222; - border-color: #aaa; - border-right: 1px solid #999; -} - -.wp-color-result { - top: 0; -} - -.wp-color-result.wp-picker-open:after { - content: attr( data-current ); -} - -.wp-picker-container, .wp-picker-container:active { - display: inline-block; - outline: 0; -} - -.wp-color-result:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); -} - -.wp-picker-open + .wp-picker-input-wrap { - display: inline-block; - vertical-align: top; -} - -.wp-picker-container .button { - margin-right: 6px; -} - -.wp-picker-container .iris-square-slider .ui-slider-handle:focus { - background-color: #555 -} - -.wp-picker-container .iris-picker { - -webkit-border-radius: 0; - border-radius: 0; - border-color: #dfdfdf; - margin-top: 6px; -} - -.wp-picker-container input[type="text"].wp-color-picker { - width: 65px; - font-size: 12px; - font-family: monospace; - text-align: center; - line-height: 16px; - margin: 0; -} - -.wp-picker-container input[type="text"].wp-color-picker:focus::-webkit-input-placeholder { - color: transparent; -} - -.wp-picker-container input[type="text"].wp-color-picker:-moz-placeholder { - color: #999; -} - -.wp-picker-container input[type="text"].iris-error { - background-color: #ffebe8; - border-color: #c00; - color: #000; -} diff --git a/sources/wordpress/wp-admin/css/color-picker-rtl.min.css b/sources/wordpress/wp-admin/css/color-picker-rtl.min.css deleted file mode 100644 index ee70a9d..0000000 --- a/sources/wordpress/wp-admin/css/color-picker-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#222}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#222;border-color:#aaa;border-right:1px solid #999}.wp-color-result{top:0}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#dfdfdf;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;text-align:center;line-height:16px;margin:0}.wp-picker-container input[type=text].wp-color-picker:focus::-webkit-input-placeholder{color:transparent}.wp-picker-container input[type=text].wp-color-picker:-moz-placeholder{color:#999}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/color-picker.css b/sources/wordpress/wp-admin/css/color-picker.css deleted file mode 100644 index 4229402..0000000 --- a/sources/wordpress/wp-admin/css/color-picker.css +++ /dev/null @@ -1,127 +0,0 @@ -.wp-color-picker { - width: 80px; -} - -.wp-picker-container .hidden { - display: none; -} - -.wp-color-result { - background-color: #f7f7f7; - border: 1px solid #ccc; - -webkit-border-radius: 3px; - border-radius: 3px; - cursor: pointer; - display: inline-block; - height: 22px; - margin: 0 6px 6px 0px; - position: relative; - top: 1px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - vertical-align: bottom; - display: inline-block; - padding-left: 30px; - -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.08); - box-shadow: 0 1px 0 rgba(0,0,0,.08); -} - -.wp-color-result:after { - background: #f7f7f7; - -webkit-border-radius: 0 2px 2px 0; - border-radius: 0 2px 2px 0; - border-left: 1px solid #ccc; - color: #555; - content: attr( title ); - display: block; - font-size: 11px; - line-height: 22px; - padding: 0 6px; - position: relative; - right: 0; - text-align: center; - top: 0; - -webkit-box-shadow: inset 0 1px 0 #fff; - box-shadow: inset 0 1px 0 #fff; -} - -.wp-color-result:hover, -.wp-color-result:focus { - background: #fafafa; - border-color: #999; - color: #222; -} - -.wp-color-result:hover:after, -.wp-color-result:focus:after { - color: #222; - border-color: #aaa; - border-left: 1px solid #999; -} - -.wp-color-result { - top: 0; -} - -.wp-color-result.wp-picker-open:after { - content: attr( data-current ); -} - -.wp-picker-container, .wp-picker-container:active { - display: inline-block; - outline: 0; -} - -.wp-color-result:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); -} - -.wp-picker-open + .wp-picker-input-wrap { - display: inline-block; - vertical-align: top; -} - -.wp-picker-container .button { - margin-left: 6px; -} - -.wp-picker-container .iris-square-slider .ui-slider-handle:focus { - background-color: #555 -} - -.wp-picker-container .iris-picker { - -webkit-border-radius: 0; - border-radius: 0; - border-color: #dfdfdf; - margin-top: 6px; -} - -.wp-picker-container input[type="text"].wp-color-picker { - width: 65px; - font-size: 12px; - font-family: monospace; - text-align: center; - line-height: 16px; - margin: 0; -} - -.wp-picker-container input[type="text"].wp-color-picker:focus::-webkit-input-placeholder { - color: transparent; -} - -.wp-picker-container input[type="text"].wp-color-picker:-moz-placeholder { - color: #999; -} - -.wp-picker-container input[type="text"].iris-error { - background-color: #ffebe8; - border-color: #c00; - color: #000; -} diff --git a/sources/wordpress/wp-admin/css/color-picker.min.css b/sources/wordpress/wp-admin/css/color-picker.min.css deleted file mode 100644 index 362cb2a..0000000 --- a/sources/wordpress/wp-admin/css/color-picker.min.css +++ /dev/null @@ -1 +0,0 @@ -.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#222}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#222;border-color:#aaa;border-left:1px solid #999}.wp-color-result{top:0}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#dfdfdf;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;text-align:center;line-height:16px;margin:0}.wp-picker-container input[type=text].wp-color-picker:focus::-webkit-input-placeholder{color:transparent}.wp-picker-container input[type=text].wp-color-picker:-moz-placeholder{color:#999}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/_admin.scss b/sources/wordpress/wp-admin/css/colors/_admin.scss deleted file mode 100644 index 032e3a0..0000000 --- a/sources/wordpress/wp-admin/css/colors/_admin.scss +++ /dev/null @@ -1,525 +0,0 @@ - -@import 'variables'; -@import 'mixins'; - - -html { - background: $body-background; -} - - -/* Links */ - -a { - color: $link; - - &:hover, - &:active, - &:focus { - color: $link-focus; - } -} - -#media-upload a.del-link:hover, -div.dashboard-widget-submit input:hover, -.subsubsub a:hover, -.subsubsub a.current:hover { - color: $link-focus; -} - - -/* Forms */ - -input[type=checkbox]:checked:before { - color: $form-checked; -} - -input[type=radio]:checked:before { - background: $form-checked; -} - -.wp-core-ui input[type="reset"]:hover, -.wp-core-ui input[type="reset"]:active { - color: $link-focus; -} - - -/* Core UI */ - -.wp-core-ui { - .button-primary { - @include button( $button-color ); - } - - .wp-ui-primary { - color: $text-color; - background-color: $base-color; - } - .wp-ui-text-primary { - color: $base-color; - } - - .wp-ui-highlight { - color: $menu-highlight-text; - background-color: $menu-highlight-background; - } - .wp-ui-text-highlight { - color: $menu-highlight-background; - } - - .wp-ui-notification { - color: $menu-bubble-text; - background-color: $menu-bubble-background; - } - .wp-ui-text-notification { - color: $menu-bubble-background; - } - - .wp-ui-text-icon { - color: $menu-icon; - } -} - - -/* List tables */ - -.wrap .add-new-h2:hover, -#add-new-comment a:hover, -.tablenav .tablenav-pages a:hover, -.tablenav .tablenav-pages a:focus { - color: $menu-text; - background-color: $menu-background; -} - -.view-switch a.current:before { - color: $menu-background; -} - -.view-switch a:hover:before { - color: $menu-bubble-background; -} - -.post-com-count:hover:after { - border-top-color: $menu-background; -} -.post-com-count:hover span { - color: $menu-text; - background-color: $menu-background; -} - -strong .post-com-count:after { - border-top-color: $menu-bubble-background; -} -strong .post-com-count span { - background-color: $menu-bubble-background; -} - - -/* Admin Menu */ - -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: $menu-background; -} - -#adminmenu a { - color: $menu-text; -} - -#adminmenu div.wp-menu-image:before { - color: $menu-icon; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: $menu-highlight-text; - background-color: $menu-highlight-background; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: $menu-highlight-icon; -} - - -/* Active tabs use a bottom border color that matches the page background color. */ - -.about-wrap h2 .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: $body-background; - border-bottom-color: $body-background; -} - - -/* Admin Menu: submenu */ - -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: $menu-submenu-background; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: $menu-submenu-background; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: $menu-submenu-text; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -.folded #adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: $menu-submenu-text; - - &:focus, &:hover { - color: $menu-submenu-focus-text; - } -} - - -/* Admin Menu: current */ - -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: $menu-submenu-current-text; - - &:hover, &:focus { - color: $menu-submenu-focus-text; - } -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: $body-background; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: $menu-current-text; - background: $menu-current-background; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: $menu-current-icon; -} - - -/* Admin Menu: bubble */ - -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: $menu-bubble-text; - background: $menu-bubble-background; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: $menu-bubble-current-text; - background: $menu-bubble-current-background; -} - - -/* Admin Menu: collapse button */ - -#collapse-menu { - color: $menu-collapse-text; -} - -#collapse-menu:hover { - color: $menu-collapse-focus-text; -} - -#collapse-button div:after { - color: $menu-collapse-icon; -} - -#collapse-menu:hover #collapse-button div:after { - color: $menu-collapse-focus-icon; -} - - -/* Admin Bar */ - -#wpadminbar { - color: $menu-text; - background: $menu-background; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: $menu-text; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: $menu-icon; -} - -#wpadminbar .ab-top-menu > li:hover > .ab-item, -#wpadminbar .ab-top-menu > li.hover > .ab-item, -#wpadminbar .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: $menu-submenu-focus-text; - background: $menu-submenu-background; -} - -#wpadminbar > #wp-toolbar li:hover span.ab-label, -#wpadminbar > #wp-toolbar li.hover span.ab-label, -#wpadminbar > #wp-toolbar a:focus span.ab-label { - color: $menu-submenu-focus-text; -} - -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li:hover .ab-item:after, -#wpadminbar li:hover #adminbarsearch:before { - color: $menu-highlight-icon; -} - - -/* Admin Bar: submenu */ - -#wpadminbar .menupop .ab-sub-wrapper { - background: $menu-submenu-background; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: $menu-submenu-background-alt; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: $menu-submenu-text; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: $menu-icon; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover .ab-item:after, -#wpadminbar li.hover .ab-item:after, -#wpadminbar li:hover #adminbarsearch:before { - color: $menu-submenu-focus-text; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before { - color: $menu-submenu-focus-text; -} - - -/* Admin Bar: search */ - -#wpadminbar #adminbarsearch:before { - color: $menu-icon; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: $menu-text; - background: $adminbar-input-background; -} - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { color: $menu-text; opacity: .7; } -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { color: $menu-text; opacity: .7; } -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { color: $menu-text; opacity: .7; } -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { color: $menu-text; opacity: .7; } - - -/* Admin Bar: my account */ - -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: $adminbar-avatar-frame; - background-color: $adminbar-avatar-frame; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: $menu-text; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: $menu-submenu-focus-text; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: $menu-submenu-text; -} - - -/* Pointers */ - -.wp-pointer .wp-pointer-content h3 { - background-color: $highlight-color; - border-color: darken( $highlight-color, 5% ); -} - -.wp-pointer .wp-pointer-content h3:before { - color: $highlight-color; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: $highlight-color; -} - - -/* Media */ - -.media-item .bar, -.media-progress-bar div { - background-color: $highlight-color; -} - -.details.attachment { - box-shadow: - inset 0 0 0 3px #fff, - inset 0 0 0 7px $highlight-color; -} - -.attachment.details .check { - background-color: $highlight-color; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px $highlight-color; -} - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: - 0px 0px 0px 1px #fff, - 0px 0px 0px 3px $highlight-color; - box-shadow: - 0px 0px 0px 1px #fff, - 0px 0px 0px 3px $highlight-color; -} - - -/* Themes */ - -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme:hover:after { - background: $highlight-color; -} - -.theme-browser .theme.add-new-theme:hover span:after { - color: $highlight-color; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: $menu-background; -} - -body.more-filters-opened .more-filters { - color: $menu-text; - background-color: $menu-background; -} - -body.more-filters-opened .more-filters:before { - color: $menu-text; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: $menu-highlight-background; - color: $menu-highlight-text; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: $menu-highlight-text; -} - -/* Widgets */ - -.widgets-chooser li.widgets-chooser-selected { - background-color: $menu-highlight-background; - color: $menu-highlight-text; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: $menu-highlight-text; -} - -/* Customize */ - -#customize-theme-controls .widget-area-select .selected { - background-color: $menu-highlight-background; - color: $menu-highlight-text; -} - -/* jQuery UI Slider */ - -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: $button-color; - border-color: darken( $button-color, 10% ); - box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15); -} - -/* Thickbox: Plugin information */ - -#sidemenu a.current { - background: $body-background; - border-bottom-color: $body-background; -} - -#plugin-information .action-button { - background: $button-color; -} - -/* Responsive Component */ - -div#wp-responsive-toggle a:before { - color: $menu-icon; -} - -.wp-responsive-open div#wp-responsive-toggle a { - // ToDo: make inset border - border-color: transparent; - background: $menu-highlight-background; -} - -.star-rating .star { - color: $highlight-color; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: $menu-submenu-background; -} diff --git a/sources/wordpress/wp-admin/css/colors/_mixins.scss b/sources/wordpress/wp-admin/css/colors/_mixins.scss deleted file mode 100644 index 9c196e0..0000000 --- a/sources/wordpress/wp-admin/css/colors/_mixins.scss +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -@mixin button( $button-color, $text-color: white ) { - background: $button-color; - border-color: darken( $button-color, 10% ); - color: $text-color; - box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15); - - &:hover, - &:focus { - background: darken( $button-color, 5% ); - border-color: darken( $button-color, 15% ); - color: $text-color; - box-shadow: inset 0 1px 0 lighten( $button-color, 10% ); - } - - &:focus { - box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, .8 ); - } - - &:active { - background: darken( $button-color, 10% ); - border-color: darken( $button-color, 15% ); - color: $text-color; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, .8 ); - } - - &[disabled], - &:disabled, - &.button-primary-disabled, - &.disabled { - color: hsl( hue( $button-color ), 10%, 80% ) !important; - background: darken( $button-color, 8% ) !important; - border-color: darken( $button-color, 15% ) !important; - text-shadow: none !important; - } -} diff --git a/sources/wordpress/wp-admin/css/colors/_variables.scss b/sources/wordpress/wp-admin/css/colors/_variables.scss deleted file mode 100644 index 05e46ba..0000000 --- a/sources/wordpress/wp-admin/css/colors/_variables.scss +++ /dev/null @@ -1,58 +0,0 @@ -// assign default value to all undefined variables - - -// core variables - -$text-color: #fff !default; -$base-color: #222 !default; -$icon-color: hsl( hue( $base-color ), 7%, 95% ) !default; -$highlight-color: #0074a2 !default; -$notification-color: #d54e21 !default; - - -// global - -$body-background: #f1f1f1 !default; - -$link: #0074a2 !default; -$link-focus: lighten( $link, 10% ) !default; - -$button-color: $highlight-color !default; -$form-checked: $highlight-color !default; - - -// admin menu & admin-bar - -$menu-text: $text-color !default; -$menu-icon: $icon-color !default; -$menu-background: $base-color !default; - -$menu-highlight-text: $text-color !default; -$menu-highlight-icon: $text-color !default; -$menu-highlight-background: $highlight-color !default; - -$menu-current-text: $menu-highlight-text !default; -$menu-current-icon: $menu-highlight-icon !default; -$menu-current-background: $menu-highlight-background !default; - -$menu-submenu-text: mix( $base-color, $text-color, 30% ) !default; -$menu-submenu-background: darken( $base-color, 7% ) !default; -$menu-submenu-background-alt: desaturate( lighten( $menu-background, 7% ), 7% ) !default; - -$menu-submenu-focus-text: $highlight-color !default; -$menu-submenu-current-text: $text-color !default; - -$menu-bubble-text: $text-color !default; -$menu-bubble-background: $notification-color !default; -$menu-bubble-current-text: $text-color !default; -$menu-bubble-current-background: $menu-submenu-background !default; - -$menu-collapse-text: $menu-icon !default; -$menu-collapse-icon: $menu-icon !default; -$menu-collapse-focus-text: $text-color !default; -$menu-collapse-focus-icon: $menu-highlight-icon !default; - -$adminbar-avatar-frame: lighten( $menu-background, 7% ) !default; -$adminbar-input-background: lighten( $menu-background, 7% ) !default; - -$menu-customizer-text: mix( $base-color, $text-color, 40% ) !default; diff --git a/sources/wordpress/wp-admin/css/colors/blue/colors-rtl.css b/sources/wordpress/wp-admin/css/colors/blue/colors-rtl.css deleted file mode 100644 index 7eb1e75..0000000 --- a/sources/wordpress/wp-admin/css/colors/blue/colors-rtl.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #096484; } - -input[type=radio]:checked:before { - background: #096484; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #e1a948; - border-color: #d39323; - color: white; - -webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #dd9f32; - border-color: #bd831f; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e8be74; - box-shadow: inset 0 1px 0 #e8be74; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e8be74, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e8be74, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #d39323; - border-color: #bd831f; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #d1cdc7 !important; - background: #db9825 !important; - border-color: #bd831f !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #52accc; } -.wp-core-ui .wp-ui-text-primary { - color: #52accc; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #096484; } -.wp-core-ui .wp-ui-text-highlight { - color: #096484; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #e1a948; } -.wp-core-ui .wp-ui-text-notification { - color: #e1a948; } -.wp-core-ui .wp-ui-text-icon { - color: #e5f8ff; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #52accc; } - -.view-switch a.current:before { - color: #52accc; } - -.view-switch a:hover:before { - color: #e1a948; } - -.post-com-count:hover:after { - border-top-color: #52accc; } - -.post-com-count:hover span { - color: #fff; - background-color: #52accc; } - -strong .post-com-count:after { - border-top-color: #e1a948; } - -strong .post-com-count span { - background-color: #e1a948; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #52accc; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #e5f8ff; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #096484; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #4796b3; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-left-color: #4796b3; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #e2ecf1; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #e2ecf1; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #fff; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #fff; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #096484; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #e1a948; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #4796b3; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #e5f8ff; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #e5f8ff; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #52accc; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #e5f8ff; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #fff; - background: #4796b3; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #fff; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #4796b3; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #74b7ce; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #e2ecf1; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #e5f8ff; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #fff; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #e5f8ff; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #6ebad4; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #6ebad4; - background-color: #6ebad4; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #e2ecf1; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #096484; - border-color: #07536c; } - -.wp-pointer .wp-pointer-content h3:before { - color: #096484; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #096484; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #096484; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484; } - -.attachment.details .check { - background-color: #096484; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #096484; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #096484; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #52accc; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #52accc; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #096484; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #096484; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #096484; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #e1a948; - border-color: #d39323; - -webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #e1a948; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #e5f8ff; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #096484; } - -.star-rating .star { - color: #096484; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #4796b3; } diff --git a/sources/wordpress/wp-admin/css/colors/blue/colors-rtl.min.css b/sources/wordpress/wp-admin/css/colors/blue/colors-rtl.min.css deleted file mode 100644 index 9796192..0000000 --- a/sources/wordpress/wp-admin/css/colors/blue/colors-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#096484}input[type=radio]:checked:before{background:#096484}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#dd9f32;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74;box-shadow:inset 0 1px 0 #e8be74}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e8be74,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e8be74,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#d39323;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cdc7!important;background:#db9825!important;border-color:#bd831f!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#52accc}.wp-core-ui .wp-ui-text-primary{color:#52accc}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#096484}.wp-core-ui .wp-ui-text-highlight{color:#096484}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#e1a948}.wp-core-ui .wp-ui-text-notification{color:#e1a948}.wp-core-ui .wp-ui-text-icon{color:#e5f8ff}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#52accc}.view-switch a.current:before{color:#52accc}.view-switch a:hover:before{color:#e1a948}.post-com-count:hover:after{border-top-color:#52accc}.post-com-count:hover span{color:#fff;background-color:#52accc}strong .post-com-count:after{border-top-color:#e1a948}strong .post-com-count span{background-color:#e1a948}#adminmenu,#adminmenuback,#adminmenuwrap{background:#52accc}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#e5f8ff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#096484}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#4796b3}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#4796b3}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#fff}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#096484}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#e1a948}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#4796b3}#collapse-menu{color:#e5f8ff}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#e5f8ff}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#52accc}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#e5f8ff}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#fff;background:#4796b3}#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#4796b3}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#74b7ce}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#e2ecf1}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#e5f8ff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#fff}#wpadminbar #adminbarsearch:before{color:#e5f8ff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6ebad4}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6ebad4;background-color:#6ebad4}#wpadminbar #wp-admin-bar-user-info .display-name,#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info .username{color:#e2ecf1}.wp-pointer .wp-pointer-content h3{background-color:#096484;border-color:#07536c}.wp-pointer .wp-pointer-content h3:before{color:#096484}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#096484}.media-item .bar,.media-progress-bar div{background-color:#096484}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484}.attachment.details .check{background-color:#096484;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #096484;box-shadow:0 0 0 1px #fff,0 0 0 2px #096484}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #096484;box-shadow:0 0 0 1px #fff,0 0 0 3px #096484}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#096484}.theme-browser .theme.add-new-theme:hover span:after{color:#096484}.theme-filter.current,.theme-section.current{border-bottom-color:#52accc}body.more-filters-opened .more-filters{color:#fff;background-color:#52accc}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#096484;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#096484;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#e1a948;border-color:#d39323;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#e1a948}div#wp-responsive-toggle a:before{color:#e5f8ff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#096484}.star-rating .star{color:#096484}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4796b3} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/blue/colors.css b/sources/wordpress/wp-admin/css/colors/blue/colors.css deleted file mode 100644 index fc8b05d..0000000 --- a/sources/wordpress/wp-admin/css/colors/blue/colors.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #096484; } - -input[type=radio]:checked:before { - background: #096484; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #e1a948; - border-color: #d39323; - color: white; - -webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #dd9f32; - border-color: #bd831f; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e8be74; - box-shadow: inset 0 1px 0 #e8be74; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e8be74, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e8be74, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #d39323; - border-color: #bd831f; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #d1cdc7 !important; - background: #db9825 !important; - border-color: #bd831f !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #52accc; } -.wp-core-ui .wp-ui-text-primary { - color: #52accc; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #096484; } -.wp-core-ui .wp-ui-text-highlight { - color: #096484; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #e1a948; } -.wp-core-ui .wp-ui-text-notification { - color: #e1a948; } -.wp-core-ui .wp-ui-text-icon { - color: #e5f8ff; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #52accc; } - -.view-switch a.current:before { - color: #52accc; } - -.view-switch a:hover:before { - color: #e1a948; } - -.post-com-count:hover:after { - border-top-color: #52accc; } - -.post-com-count:hover span { - color: #fff; - background-color: #52accc; } - -strong .post-com-count:after { - border-top-color: #e1a948; } - -strong .post-com-count span { - background-color: #e1a948; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #52accc; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #e5f8ff; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #096484; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #4796b3; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: #4796b3; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #e2ecf1; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #e2ecf1; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #fff; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #fff; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #096484; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #e1a948; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #4796b3; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #e5f8ff; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #e5f8ff; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #52accc; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #e5f8ff; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #fff; - background: #4796b3; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #fff; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #4796b3; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #74b7ce; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #e2ecf1; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #e5f8ff; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #fff; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #e5f8ff; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #6ebad4; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #6ebad4; - background-color: #6ebad4; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #e2ecf1; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #096484; - border-color: #07536c; } - -.wp-pointer .wp-pointer-content h3:before { - color: #096484; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #096484; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #096484; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484; } - -.attachment.details .check { - background-color: #096484; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #096484; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #096484; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #52accc; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #52accc; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #096484; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #096484; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #096484; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #e1a948; - border-color: #d39323; - -webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #e1a948; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #e5f8ff; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #096484; } - -.star-rating .star { - color: #096484; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #4796b3; } diff --git a/sources/wordpress/wp-admin/css/colors/blue/colors.min.css b/sources/wordpress/wp-admin/css/colors/blue/colors.min.css deleted file mode 100644 index a6bde24..0000000 --- a/sources/wordpress/wp-admin/css/colors/blue/colors.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#096484}input[type=radio]:checked:before{background:#096484}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#dd9f32;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74;box-shadow:inset 0 1px 0 #e8be74}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e8be74,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e8be74,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#d39323;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cdc7!important;background:#db9825!important;border-color:#bd831f!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#52accc}.wp-core-ui .wp-ui-text-primary{color:#52accc}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#096484}.wp-core-ui .wp-ui-text-highlight{color:#096484}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#e1a948}.wp-core-ui .wp-ui-text-notification{color:#e1a948}.wp-core-ui .wp-ui-text-icon{color:#e5f8ff}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#52accc}.view-switch a.current:before{color:#52accc}.view-switch a:hover:before{color:#e1a948}.post-com-count:hover:after{border-top-color:#52accc}.post-com-count:hover span{color:#fff;background-color:#52accc}strong .post-com-count:after{border-top-color:#e1a948}strong .post-com-count span{background-color:#e1a948}#adminmenu,#adminmenuback,#adminmenuwrap{background:#52accc}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#e5f8ff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#096484}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#4796b3}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#4796b3}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#fff}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#096484}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#e1a948}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#4796b3}#collapse-menu{color:#e5f8ff}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#e5f8ff}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#52accc}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#e5f8ff}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#fff;background:#4796b3}#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#4796b3}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#74b7ce}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#e2ecf1}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#e5f8ff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#fff}#wpadminbar #adminbarsearch:before{color:#e5f8ff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6ebad4}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6ebad4;background-color:#6ebad4}#wpadminbar #wp-admin-bar-user-info .display-name,#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info .username{color:#e2ecf1}.wp-pointer .wp-pointer-content h3{background-color:#096484;border-color:#07536c}.wp-pointer .wp-pointer-content h3:before{color:#096484}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#096484}.media-item .bar,.media-progress-bar div{background-color:#096484}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484}.attachment.details .check{background-color:#096484;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #096484;box-shadow:0 0 0 1px #fff,0 0 0 2px #096484}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #096484;box-shadow:0 0 0 1px #fff,0 0 0 3px #096484}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#096484}.theme-browser .theme.add-new-theme:hover span:after{color:#096484}.theme-filter.current,.theme-section.current{border-bottom-color:#52accc}body.more-filters-opened .more-filters{color:#fff;background-color:#52accc}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#096484;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#096484;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#e1a948;border-color:#d39323;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#e1a948}div#wp-responsive-toggle a:before{color:#e5f8ff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#096484}.star-rating .star{color:#096484}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4796b3} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/blue/colors.scss b/sources/wordpress/wp-admin/css/colors/blue/colors.scss deleted file mode 100644 index b254d73..0000000 --- a/sources/wordpress/wp-admin/css/colors/blue/colors.scss +++ /dev/null @@ -1,11 +0,0 @@ -$base-color: #52accc; -$icon-color: #e5f8ff; -$highlight-color: #096484; -$notification-color: #e1a948; -$button-color: #e1a948; - -$menu-submenu-text: #e2ecf1; -$menu-submenu-focus-text: #fff; -$menu-submenu-background: #4796b3; - -@import "../_admin.scss"; diff --git a/sources/wordpress/wp-admin/css/colors/coffee/colors-rtl.css b/sources/wordpress/wp-admin/css/colors/coffee/colors-rtl.css deleted file mode 100644 index 653a80d..0000000 --- a/sources/wordpress/wp-admin/css/colors/coffee/colors-rtl.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #59524c; } - -input[type=radio]:checked:before { - background: #59524c; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #c7a589; - border-color: #b78a66; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #bf9878; - border-color: #ae7d55; - color: white; - -webkit-box-shadow: inset 0 1px 0 #d7bfac; - box-shadow: inset 0 1px 0 #d7bfac; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #d7bfac, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #d7bfac, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #b78a66; - border-color: #ae7d55; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #d1cbc7 !important; - background: #ba906d !important; - border-color: #ae7d55 !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #59524c; } -.wp-core-ui .wp-ui-text-primary { - color: #59524c; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #c7a589; } -.wp-core-ui .wp-ui-text-highlight { - color: #c7a589; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #9ea476; } -.wp-core-ui .wp-ui-text-notification { - color: #9ea476; } -.wp-core-ui .wp-ui-text-icon { - color: #f3f2f1; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #59524c; } - -.view-switch a.current:before { - color: #59524c; } - -.view-switch a:hover:before { - color: #9ea476; } - -.post-com-count:hover:after { - border-top-color: #59524c; } - -.post-com-count:hover span { - color: #fff; - background-color: #59524c; } - -strong .post-com-count:after { - border-top-color: #9ea476; } - -strong .post-com-count span { - background-color: #9ea476; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #59524c; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #f3f2f1; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #c7a589; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #46403c; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-left-color: #46403c; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #cdcbc9; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #cdcbc9; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #c7a589; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #c7a589; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #c7a589; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #9ea476; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #46403c; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #f3f2f1; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #f3f2f1; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #59524c; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #f3f2f1; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #c7a589; - background: #46403c; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #c7a589; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #46403c; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #656463; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #cdcbc9; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #f3f2f1; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #c7a589; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #c7a589; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f3f2f1; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #6c645c; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #6c645c; - background-color: #6c645c; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #c7a589; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #cdcbc9; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #c7a589; - border-color: #bf9878; } - -.wp-pointer .wp-pointer-content h3:before { - color: #c7a589; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #c7a589; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #c7a589; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589; } - -.attachment.details .check { - background-color: #c7a589; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #c7a589; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #c7a589; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #59524c; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #59524c; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #c7a589; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #c7a589; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #c7a589; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #c7a589; - border-color: #b78a66; - -webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #c7a589; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f3f2f1; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #c7a589; } - -.star-rating .star { - color: #c7a589; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #46403c; } diff --git a/sources/wordpress/wp-admin/css/colors/coffee/colors-rtl.min.css b/sources/wordpress/wp-admin/css/colors/coffee/colors-rtl.min.css deleted file mode 100644 index 20d4e49..0000000 --- a/sources/wordpress/wp-admin/css/colors/coffee/colors-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#59524c}input[type=radio]:checked:before{background:#59524c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#c7a589;border-color:#b78a66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#bf9878;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac;box-shadow:inset 0 1px 0 #d7bfac}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #d7bfac,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#b78a66;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cbc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#59524c}.wp-core-ui .wp-ui-text-primary{color:#59524c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#c7a589}.wp-core-ui .wp-ui-text-highlight{color:#c7a589}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#9ea476}.wp-core-ui .wp-ui-text-notification{color:#9ea476}.wp-core-ui .wp-ui-text-icon{color:#f3f2f1}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#59524c}.view-switch a.current:before{color:#59524c}.view-switch a:hover:before{color:#9ea476}.post-com-count:hover:after{border-top-color:#59524c}.post-com-count:hover span{color:#fff;background-color:#59524c}strong .post-com-count:after{border-top-color:#9ea476}strong .post-com-count span{background-color:#9ea476}#adminmenu,#adminmenuback,#adminmenuwrap{background:#59524c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f2f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#c7a589}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#46403c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#46403c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#c7a589}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#c7a589}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#c7a589}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#9ea476}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#46403c}#collapse-menu{color:#f3f2f1}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f3f2f1}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#59524c}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f2f1}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#c7a589;background:#46403c}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#c7a589}#wpadminbar .menupop .ab-sub-wrapper{background:#46403c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#656463}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#cdcbc9}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f2f1}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#c7a589}#wpadminbar #adminbarsearch:before{color:#f3f2f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6c645c}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6c645c;background-color:#6c645c}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c7a589}#wpadminbar #wp-admin-bar-user-info .username{color:#cdcbc9}.wp-pointer .wp-pointer-content h3{background-color:#c7a589;border-color:#bf9878}.wp-pointer .wp-pointer-content h3:before{color:#c7a589}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#c7a589}.media-item .bar,.media-progress-bar div{background-color:#c7a589}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589}.attachment.details .check{background-color:#c7a589;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#c7a589}.theme-browser .theme.add-new-theme:hover span:after{color:#c7a589}.theme-filter.current,.theme-section.current{border-bottom-color:#59524c}body.more-filters-opened .more-filters{color:#fff;background-color:#59524c}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#c7a589;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#c7a589;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#c7a589;border-color:#b78a66;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#c7a589}div#wp-responsive-toggle a:before{color:#f3f2f1}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#c7a589}.star-rating .star{color:#c7a589}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#46403c} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/coffee/colors.css b/sources/wordpress/wp-admin/css/colors/coffee/colors.css deleted file mode 100644 index 3fd812e..0000000 --- a/sources/wordpress/wp-admin/css/colors/coffee/colors.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #59524c; } - -input[type=radio]:checked:before { - background: #59524c; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #c7a589; - border-color: #b78a66; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #bf9878; - border-color: #ae7d55; - color: white; - -webkit-box-shadow: inset 0 1px 0 #d7bfac; - box-shadow: inset 0 1px 0 #d7bfac; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #d7bfac, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #d7bfac, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #b78a66; - border-color: #ae7d55; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #d1cbc7 !important; - background: #ba906d !important; - border-color: #ae7d55 !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #59524c; } -.wp-core-ui .wp-ui-text-primary { - color: #59524c; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #c7a589; } -.wp-core-ui .wp-ui-text-highlight { - color: #c7a589; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #9ea476; } -.wp-core-ui .wp-ui-text-notification { - color: #9ea476; } -.wp-core-ui .wp-ui-text-icon { - color: #f3f2f1; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #59524c; } - -.view-switch a.current:before { - color: #59524c; } - -.view-switch a:hover:before { - color: #9ea476; } - -.post-com-count:hover:after { - border-top-color: #59524c; } - -.post-com-count:hover span { - color: #fff; - background-color: #59524c; } - -strong .post-com-count:after { - border-top-color: #9ea476; } - -strong .post-com-count span { - background-color: #9ea476; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #59524c; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #f3f2f1; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #c7a589; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #46403c; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: #46403c; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #cdcbc9; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #cdcbc9; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #c7a589; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #c7a589; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #c7a589; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #9ea476; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #46403c; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #f3f2f1; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #f3f2f1; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #59524c; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #f3f2f1; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #c7a589; - background: #46403c; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #c7a589; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #46403c; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #656463; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #cdcbc9; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #f3f2f1; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #c7a589; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #c7a589; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f3f2f1; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #6c645c; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #6c645c; - background-color: #6c645c; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #c7a589; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #cdcbc9; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #c7a589; - border-color: #bf9878; } - -.wp-pointer .wp-pointer-content h3:before { - color: #c7a589; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #c7a589; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #c7a589; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589; } - -.attachment.details .check { - background-color: #c7a589; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #c7a589; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #c7a589; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #59524c; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #59524c; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #c7a589; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #c7a589; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #c7a589; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #c7a589; - border-color: #b78a66; - -webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #c7a589; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f3f2f1; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #c7a589; } - -.star-rating .star { - color: #c7a589; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #46403c; } diff --git a/sources/wordpress/wp-admin/css/colors/coffee/colors.min.css b/sources/wordpress/wp-admin/css/colors/coffee/colors.min.css deleted file mode 100644 index 1272763..0000000 --- a/sources/wordpress/wp-admin/css/colors/coffee/colors.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#59524c}input[type=radio]:checked:before{background:#59524c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#c7a589;border-color:#b78a66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#bf9878;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac;box-shadow:inset 0 1px 0 #d7bfac}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #d7bfac,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#b78a66;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cbc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#59524c}.wp-core-ui .wp-ui-text-primary{color:#59524c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#c7a589}.wp-core-ui .wp-ui-text-highlight{color:#c7a589}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#9ea476}.wp-core-ui .wp-ui-text-notification{color:#9ea476}.wp-core-ui .wp-ui-text-icon{color:#f3f2f1}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#59524c}.view-switch a.current:before{color:#59524c}.view-switch a:hover:before{color:#9ea476}.post-com-count:hover:after{border-top-color:#59524c}.post-com-count:hover span{color:#fff;background-color:#59524c}strong .post-com-count:after{border-top-color:#9ea476}strong .post-com-count span{background-color:#9ea476}#adminmenu,#adminmenuback,#adminmenuwrap{background:#59524c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f2f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#c7a589}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#46403c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#46403c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#c7a589}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#c7a589}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#c7a589}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#9ea476}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#46403c}#collapse-menu{color:#f3f2f1}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f3f2f1}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#59524c}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f2f1}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#c7a589;background:#46403c}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#c7a589}#wpadminbar .menupop .ab-sub-wrapper{background:#46403c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#656463}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#cdcbc9}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f2f1}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#c7a589}#wpadminbar #adminbarsearch:before{color:#f3f2f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6c645c}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6c645c;background-color:#6c645c}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c7a589}#wpadminbar #wp-admin-bar-user-info .username{color:#cdcbc9}.wp-pointer .wp-pointer-content h3{background-color:#c7a589;border-color:#bf9878}.wp-pointer .wp-pointer-content h3:before{color:#c7a589}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#c7a589}.media-item .bar,.media-progress-bar div{background-color:#c7a589}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589}.attachment.details .check{background-color:#c7a589;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#c7a589}.theme-browser .theme.add-new-theme:hover span:after{color:#c7a589}.theme-filter.current,.theme-section.current{border-bottom-color:#59524c}body.more-filters-opened .more-filters{color:#fff;background-color:#59524c}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#c7a589;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#c7a589;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#c7a589;border-color:#b78a66;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#c7a589}div#wp-responsive-toggle a:before{color:#f3f2f1}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#c7a589}.star-rating .star{color:#c7a589}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#46403c} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/coffee/colors.scss b/sources/wordpress/wp-admin/css/colors/coffee/colors.scss deleted file mode 100644 index 49bee9b..0000000 --- a/sources/wordpress/wp-admin/css/colors/coffee/colors.scss +++ /dev/null @@ -1,7 +0,0 @@ -$base-color: #59524c; -$highlight-color: #c7a589; -$notification-color: #9ea476; - -$form-checked: $base-color; - -@import "../_admin.scss"; diff --git a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors-rtl.css b/sources/wordpress/wp-admin/css/colors/ectoplasm/colors-rtl.css deleted file mode 100644 index f060a88..0000000 --- a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors-rtl.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #523f6d; } - -input[type=radio]:checked:before { - background: #523f6d; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #a3b745; - border-color: #839237; - color: white; - -webkit-box-shadow: inset 0 1px 0 #c0cd7b, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #c0cd7b, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #93a43e; - border-color: #727f30; - color: white; - -webkit-box-shadow: inset 0 1px 0 #b7c669; - box-shadow: inset 0 1px 0 #b7c669; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #b7c669, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #b7c669, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #839237; - border-color: #727f30; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #cfd1c7 !important; - background: #89993a !important; - border-color: #727f30 !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #523f6d; } -.wp-core-ui .wp-ui-text-primary { - color: #523f6d; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #a3b745; } -.wp-core-ui .wp-ui-text-highlight { - color: #a3b745; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #d46f15; } -.wp-core-ui .wp-ui-text-notification { - color: #d46f15; } -.wp-core-ui .wp-ui-text-icon { - color: #ece6f6; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #523f6d; } - -.view-switch a.current:before { - color: #523f6d; } - -.view-switch a:hover:before { - color: #d46f15; } - -.post-com-count:hover:after { - border-top-color: #523f6d; } - -.post-com-count:hover span { - color: #fff; - background-color: #523f6d; } - -strong .post-com-count:after { - border-top-color: #d46f15; } - -strong .post-com-count span { - background-color: #d46f15; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #523f6d; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #ece6f6; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #a3b745; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #413256; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-left-color: #413256; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #cbc5d3; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #cbc5d3; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #a3b745; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #a3b745; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #a3b745; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #d46f15; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #413256; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #ece6f6; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #ece6f6; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #523f6d; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #ece6f6; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #a3b745; - background: #413256; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #a3b745; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #413256; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #64537c; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #cbc5d3; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #ece6f6; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #a3b745; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #a3b745; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #ece6f6; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #624c84; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #624c84; - background-color: #624c84; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #a3b745; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #cbc5d3; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #a3b745; - border-color: #93a43e; } - -.wp-pointer .wp-pointer-content h3:before { - color: #a3b745; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #a3b745; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #a3b745; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745; } - -.attachment.details .check { - background-color: #a3b745; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #a3b745; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #a3b745; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #523f6d; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #523f6d; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #a3b745; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #a3b745; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #a3b745; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #a3b745; - border-color: #839237; - -webkit-box-shadow: inset 0 1px 0 #c0cd7b, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #c0cd7b, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #a3b745; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #ece6f6; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #a3b745; } - -.star-rating .star { - color: #a3b745; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #413256; } diff --git a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors-rtl.min.css b/sources/wordpress/wp-admin/css/colors/ectoplasm/colors-rtl.min.css deleted file mode 100644 index 3ab7e83..0000000 --- a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#523f6d}input[type=radio]:checked:before{background:#523f6d}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#a3b745;border-color:#839237;color:#fff;-webkit-box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#93a43e;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 1px 0 #b7c669;box-shadow:inset 0 1px 0 #b7c669}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #b7c669,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #b7c669,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#839237;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#cfd1c7!important;background:#89993a!important;border-color:#727f30!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#523f6d}.wp-core-ui .wp-ui-text-primary{color:#523f6d}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#a3b745}.wp-core-ui .wp-ui-text-highlight{color:#a3b745}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d46f15}.wp-core-ui .wp-ui-text-notification{color:#d46f15}.wp-core-ui .wp-ui-text-icon{color:#ece6f6}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#523f6d}.view-switch a.current:before{color:#523f6d}.view-switch a:hover:before{color:#d46f15}.post-com-count:hover:after{border-top-color:#523f6d}.post-com-count:hover span{color:#fff;background-color:#523f6d}strong .post-com-count:after{border-top-color:#d46f15}strong .post-com-count span{background-color:#d46f15}#adminmenu,#adminmenuback,#adminmenuwrap{background:#523f6d}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#ece6f6}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#a3b745}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#413256}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#413256}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#a3b745}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#a3b745}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#a3b745}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d46f15}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#413256}#collapse-menu{color:#ece6f6}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#ece6f6}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#523f6d}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#ece6f6}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#a3b745;background:#413256}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#a3b745}#wpadminbar .menupop .ab-sub-wrapper{background:#413256}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#64537c}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#cbc5d3}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#ece6f6}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#a3b745}#wpadminbar #adminbarsearch:before{color:#ece6f6}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#624c84}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#624c84;background-color:#624c84}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#a3b745}#wpadminbar #wp-admin-bar-user-info .username{color:#cbc5d3}.wp-pointer .wp-pointer-content h3{background-color:#a3b745;border-color:#93a43e}.wp-pointer .wp-pointer-content h3:before{color:#a3b745}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#a3b745}.media-item .bar,.media-progress-bar div{background-color:#a3b745}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745}.attachment.details .check{background-color:#a3b745;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#a3b745}.theme-browser .theme.add-new-theme:hover span:after{color:#a3b745}.theme-filter.current,.theme-section.current{border-bottom-color:#523f6d}body.more-filters-opened .more-filters{color:#fff;background-color:#523f6d}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#a3b745;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#a3b745;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#a3b745;border-color:#839237;-webkit-box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#a3b745}div#wp-responsive-toggle a:before{color:#ece6f6}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#a3b745}.star-rating .star{color:#a3b745}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#413256} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors.css b/sources/wordpress/wp-admin/css/colors/ectoplasm/colors.css deleted file mode 100644 index d3566ce..0000000 --- a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #523f6d; } - -input[type=radio]:checked:before { - background: #523f6d; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #a3b745; - border-color: #839237; - color: white; - -webkit-box-shadow: inset 0 1px 0 #c0cd7b, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #c0cd7b, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #93a43e; - border-color: #727f30; - color: white; - -webkit-box-shadow: inset 0 1px 0 #b7c669; - box-shadow: inset 0 1px 0 #b7c669; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #b7c669, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #b7c669, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #839237; - border-color: #727f30; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #cfd1c7 !important; - background: #89993a !important; - border-color: #727f30 !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #523f6d; } -.wp-core-ui .wp-ui-text-primary { - color: #523f6d; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #a3b745; } -.wp-core-ui .wp-ui-text-highlight { - color: #a3b745; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #d46f15; } -.wp-core-ui .wp-ui-text-notification { - color: #d46f15; } -.wp-core-ui .wp-ui-text-icon { - color: #ece6f6; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #523f6d; } - -.view-switch a.current:before { - color: #523f6d; } - -.view-switch a:hover:before { - color: #d46f15; } - -.post-com-count:hover:after { - border-top-color: #523f6d; } - -.post-com-count:hover span { - color: #fff; - background-color: #523f6d; } - -strong .post-com-count:after { - border-top-color: #d46f15; } - -strong .post-com-count span { - background-color: #d46f15; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #523f6d; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #ece6f6; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #a3b745; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #413256; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: #413256; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #cbc5d3; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #cbc5d3; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #a3b745; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #a3b745; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #a3b745; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #d46f15; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #413256; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #ece6f6; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #ece6f6; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #523f6d; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #ece6f6; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #a3b745; - background: #413256; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #a3b745; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #413256; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #64537c; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #cbc5d3; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #ece6f6; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #a3b745; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #a3b745; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #ece6f6; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #624c84; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #624c84; - background-color: #624c84; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #a3b745; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #cbc5d3; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #a3b745; - border-color: #93a43e; } - -.wp-pointer .wp-pointer-content h3:before { - color: #a3b745; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #a3b745; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #a3b745; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745; } - -.attachment.details .check { - background-color: #a3b745; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #a3b745; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #a3b745; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #523f6d; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #523f6d; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #a3b745; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #a3b745; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #a3b745; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #a3b745; - border-color: #839237; - -webkit-box-shadow: inset 0 1px 0 #c0cd7b, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #c0cd7b, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #a3b745; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #ece6f6; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #a3b745; } - -.star-rating .star { - color: #a3b745; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #413256; } diff --git a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors.min.css b/sources/wordpress/wp-admin/css/colors/ectoplasm/colors.min.css deleted file mode 100644 index 82e28b4..0000000 --- a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#523f6d}input[type=radio]:checked:before{background:#523f6d}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#a3b745;border-color:#839237;color:#fff;-webkit-box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#93a43e;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 1px 0 #b7c669;box-shadow:inset 0 1px 0 #b7c669}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #b7c669,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #b7c669,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#839237;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#cfd1c7!important;background:#89993a!important;border-color:#727f30!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#523f6d}.wp-core-ui .wp-ui-text-primary{color:#523f6d}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#a3b745}.wp-core-ui .wp-ui-text-highlight{color:#a3b745}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d46f15}.wp-core-ui .wp-ui-text-notification{color:#d46f15}.wp-core-ui .wp-ui-text-icon{color:#ece6f6}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#523f6d}.view-switch a.current:before{color:#523f6d}.view-switch a:hover:before{color:#d46f15}.post-com-count:hover:after{border-top-color:#523f6d}.post-com-count:hover span{color:#fff;background-color:#523f6d}strong .post-com-count:after{border-top-color:#d46f15}strong .post-com-count span{background-color:#d46f15}#adminmenu,#adminmenuback,#adminmenuwrap{background:#523f6d}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#ece6f6}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#a3b745}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#413256}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#413256}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#a3b745}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#a3b745}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#a3b745}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d46f15}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#413256}#collapse-menu{color:#ece6f6}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#ece6f6}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#523f6d}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#ece6f6}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#a3b745;background:#413256}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#a3b745}#wpadminbar .menupop .ab-sub-wrapper{background:#413256}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#64537c}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#cbc5d3}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#ece6f6}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#a3b745}#wpadminbar #adminbarsearch:before{color:#ece6f6}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#624c84}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#624c84;background-color:#624c84}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#a3b745}#wpadminbar #wp-admin-bar-user-info .username{color:#cbc5d3}.wp-pointer .wp-pointer-content h3{background-color:#a3b745;border-color:#93a43e}.wp-pointer .wp-pointer-content h3:before{color:#a3b745}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#a3b745}.media-item .bar,.media-progress-bar div{background-color:#a3b745}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745}.attachment.details .check{background-color:#a3b745;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#a3b745}.theme-browser .theme.add-new-theme:hover span:after{color:#a3b745}.theme-filter.current,.theme-section.current{border-bottom-color:#523f6d}body.more-filters-opened .more-filters{color:#fff;background-color:#523f6d}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#a3b745;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#a3b745;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#a3b745;border-color:#839237;-webkit-box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#a3b745}div#wp-responsive-toggle a:before{color:#ece6f6}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#a3b745}.star-rating .star{color:#a3b745}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#413256} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors.scss b/sources/wordpress/wp-admin/css/colors/ectoplasm/colors.scss deleted file mode 100644 index 8d14570..0000000 --- a/sources/wordpress/wp-admin/css/colors/ectoplasm/colors.scss +++ /dev/null @@ -1,8 +0,0 @@ -$base-color: #523f6d; -$icon-color: #ece6f6; -$highlight-color: #a3b745; -$notification-color: #d46f15; - -$form-checked: $base-color; - -@import "../_admin.scss"; diff --git a/sources/wordpress/wp-admin/css/colors/light/colors-rtl.css b/sources/wordpress/wp-admin/css/colors/light/colors-rtl.css deleted file mode 100644 index a8bb615..0000000 --- a/sources/wordpress/wp-admin/css/colors/light/colors-rtl.css +++ /dev/null @@ -1,349 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f5f5f5; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #04a4cc; } - -input[type=radio]:checked:before { - background: #04a4cc; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #04a4cc; - border-color: #037c9a; - color: white; - -webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #0490b3; - border-color: #036881; - color: white; - -webkit-box-shadow: inset 0 1px 0 #09cafa; - box-shadow: inset 0 1px 0 #09cafa; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #09cafa, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #09cafa, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #037c9a; - border-color: #036881; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #c7cfd1 !important; - background: #0384a4 !important; - border-color: #036881 !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #333; - background-color: #e5e5e5; } -.wp-core-ui .wp-ui-text-primary { - color: #e5e5e5; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #888; } -.wp-core-ui .wp-ui-text-highlight { - color: #888; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #d64e07; } -.wp-core-ui .wp-ui-text-notification { - color: #d64e07; } -.wp-core-ui .wp-ui-text-icon { - color: #999; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #333; - background-color: #e5e5e5; } - -.view-switch a.current:before { - color: #e5e5e5; } - -.view-switch a:hover:before { - color: #d64e07; } - -.post-com-count:hover:after { - border-top-color: #e5e5e5; } - -.post-com-count:hover span { - color: #333; - background-color: #e5e5e5; } - -strong .post-com-count:after { - border-top-color: #d64e07; } - -strong .post-com-count span { - background-color: #d64e07; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #e5e5e5; } - -#adminmenu a { - color: #333; } - -#adminmenu div.wp-menu-image:before { - color: #999; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #888; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #ccc; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f5f5f5; - border-bottom-color: #f5f5f5; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #fff; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-left-color: #fff; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #686868; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #686868; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #04a4cc; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #333; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #04a4cc; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-left-color: #f5f5f5; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #888; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #ccc; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #d64e07; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #333; - background: #fff; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #777; } - -#collapse-menu:hover { - color: #333; } - -#collapse-button div:after { - color: #999; } - -#collapse-menu:hover #collapse-button div:after { - color: #555; } - -/* Admin Bar */ -#wpadminbar { - color: #333; - background: #e5e5e5; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #333; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #999; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #04a4cc; - background: #fff; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #04a4cc; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #ccc; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #fff; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #f6f7f7; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #686868; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #999; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #04a4cc; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #04a4cc; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #999; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #333; - background: #f7f7f7; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #333; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #333; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #333; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #333; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #f7f7f7; - background-color: #f7f7f7; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #333; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #04a4cc; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #686868; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #04a4cc; - border-color: #0490b3; } - -.wp-pointer .wp-pointer-content h3:before { - color: #04a4cc; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #04a4cc; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #04a4cc; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc; } - -.attachment.details .check { - background-color: #04a4cc; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #04a4cc; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #04a4cc; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #e5e5e5; } - -body.more-filters-opened .more-filters { - color: #333; - background-color: #e5e5e5; } - -body.more-filters-opened .more-filters:before { - color: #333; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #888; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #888; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #888; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #04a4cc; - border-color: #037c9a; - -webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f5f5f5; - border-bottom-color: #f5f5f5; } - -#plugin-information .action-button { - background: #04a4cc; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #999; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #888; } - -.star-rating .star { - color: #04a4cc; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #fff; } - -/* temporary fix for admin-bar hover color */ -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label, #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #333; } - -/* Override the theme filter highlight color for this scheme */ -.theme-section.current, .theme-filter.current { - border-bottom-color: #04a4cc; } diff --git a/sources/wordpress/wp-admin/css/colors/light/colors-rtl.min.css b/sources/wordpress/wp-admin/css/colors/light/colors-rtl.min.css deleted file mode 100644 index 81d93fb..0000000 --- a/sources/wordpress/wp-admin/css/colors/light/colors-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f5f5f5}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#04a4cc}input[type=radio]:checked:before{background:#04a4cc}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#04a4cc;border-color:#037c9a;color:#fff;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#0490b3;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 1px 0 #09cafa;box-shadow:inset 0 1px 0 #09cafa}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #09cafa,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #09cafa,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#037c9a;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7cfd1!important;background:#0384a4!important;border-color:#036881!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#333;background-color:#e5e5e5}.wp-core-ui .wp-ui-text-primary{color:#e5e5e5}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#888}.wp-core-ui .wp-ui-text-highlight{color:#888}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d64e07}.wp-core-ui .wp-ui-text-notification{color:#d64e07}.wp-core-ui .wp-ui-text-icon{color:#999}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#333;background-color:#e5e5e5}.view-switch a.current:before{color:#e5e5e5}.view-switch a:hover:before{color:#d64e07}.post-com-count:hover:after{border-top-color:#e5e5e5}.post-com-count:hover span{color:#333;background-color:#e5e5e5}strong .post-com-count:after{border-top-color:#d64e07}strong .post-com-count span{background-color:#d64e07}#adminmenu,#adminmenuback,#adminmenuwrap{background:#e5e5e5}#adminmenu a{color:#333}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#888}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#ccc}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f5f5f5;border-bottom-color:#f5f5f5}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#fff}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#fff}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#04a4cc}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#333}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#04a4cc}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f5f5f5}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#888}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#ccc}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d64e07}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#333;background:#fff}#collapse-menu{color:#777}#collapse-menu:hover{color:#333}#collapse-button div:after{color:#999}#collapse-menu:hover #collapse-button div:after{color:#555}#wpadminbar{color:#333;background:#e5e5e5}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#333}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#999}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{background:#fff}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#04a4cc}#wpadminbar .menupop .ab-sub-wrapper{background:#fff}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f6f7f7}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#686868}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#999}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#04a4cc}#wpadminbar #adminbarsearch:before{color:#999}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#333;background:#f7f7f7}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#333;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#f7f7f7;background-color:#f7f7f7}#wpadminbar #wp-admin-bar-user-info .display-name{color:#333}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#04a4cc}#wpadminbar #wp-admin-bar-user-info .username{color:#686868}.wp-pointer .wp-pointer-content h3{background-color:#04a4cc;border-color:#0490b3}.wp-pointer .wp-pointer-content h3:before{color:#04a4cc}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#04a4cc}.media-item .bar,.media-progress-bar div{background-color:#04a4cc}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc}.attachment.details .check{background-color:#04a4cc;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#04a4cc}.theme-browser .theme.add-new-theme:hover span:after{color:#04a4cc}body.more-filters-opened .more-filters{color:#333;background-color:#e5e5e5}body.more-filters-opened .more-filters:before{color:#333}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#888;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#888;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#04a4cc;border-color:#037c9a;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f5f5f5;border-bottom-color:#f5f5f5}#plugin-information .action-button{background:#04a4cc}div#wp-responsive-toggle a:before{color:#999}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#888}.star-rating .star{color:#04a4cc}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#fff}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default li:hover span.ab-label,#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary li.hover span.ab-label{color:#333}.theme-filter.current,.theme-section.current{border-bottom-color:#04a4cc} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/light/colors.css b/sources/wordpress/wp-admin/css/colors/light/colors.css deleted file mode 100644 index 441b352..0000000 --- a/sources/wordpress/wp-admin/css/colors/light/colors.css +++ /dev/null @@ -1,349 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f5f5f5; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #04a4cc; } - -input[type=radio]:checked:before { - background: #04a4cc; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #04a4cc; - border-color: #037c9a; - color: white; - -webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #0490b3; - border-color: #036881; - color: white; - -webkit-box-shadow: inset 0 1px 0 #09cafa; - box-shadow: inset 0 1px 0 #09cafa; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #09cafa, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #09cafa, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #037c9a; - border-color: #036881; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #c7cfd1 !important; - background: #0384a4 !important; - border-color: #036881 !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #333; - background-color: #e5e5e5; } -.wp-core-ui .wp-ui-text-primary { - color: #e5e5e5; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #888; } -.wp-core-ui .wp-ui-text-highlight { - color: #888; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #d64e07; } -.wp-core-ui .wp-ui-text-notification { - color: #d64e07; } -.wp-core-ui .wp-ui-text-icon { - color: #999; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #333; - background-color: #e5e5e5; } - -.view-switch a.current:before { - color: #e5e5e5; } - -.view-switch a:hover:before { - color: #d64e07; } - -.post-com-count:hover:after { - border-top-color: #e5e5e5; } - -.post-com-count:hover span { - color: #333; - background-color: #e5e5e5; } - -strong .post-com-count:after { - border-top-color: #d64e07; } - -strong .post-com-count span { - background-color: #d64e07; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #e5e5e5; } - -#adminmenu a { - color: #333; } - -#adminmenu div.wp-menu-image:before { - color: #999; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #888; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #ccc; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f5f5f5; - border-bottom-color: #f5f5f5; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #fff; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: #fff; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #686868; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #686868; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #04a4cc; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #333; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #04a4cc; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-right-color: #f5f5f5; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #888; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #ccc; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #d64e07; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #333; - background: #fff; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #777; } - -#collapse-menu:hover { - color: #333; } - -#collapse-button div:after { - color: #999; } - -#collapse-menu:hover #collapse-button div:after { - color: #555; } - -/* Admin Bar */ -#wpadminbar { - color: #333; - background: #e5e5e5; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #333; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #999; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #04a4cc; - background: #fff; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #04a4cc; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #ccc; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #fff; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #f6f7f7; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #686868; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #999; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #04a4cc; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #04a4cc; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #999; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #333; - background: #f7f7f7; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #333; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #333; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #333; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #333; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #f7f7f7; - background-color: #f7f7f7; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #333; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #04a4cc; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #686868; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #04a4cc; - border-color: #0490b3; } - -.wp-pointer .wp-pointer-content h3:before { - color: #04a4cc; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #04a4cc; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #04a4cc; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc; } - -.attachment.details .check { - background-color: #04a4cc; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #04a4cc; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #04a4cc; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #e5e5e5; } - -body.more-filters-opened .more-filters { - color: #333; - background-color: #e5e5e5; } - -body.more-filters-opened .more-filters:before { - color: #333; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #888; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #888; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #888; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #04a4cc; - border-color: #037c9a; - -webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f5f5f5; - border-bottom-color: #f5f5f5; } - -#plugin-information .action-button { - background: #04a4cc; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #999; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #888; } - -.star-rating .star { - color: #04a4cc; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #fff; } - -/* temporary fix for admin-bar hover color */ -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label, #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #333; } - -/* Override the theme filter highlight color for this scheme */ -.theme-section.current, .theme-filter.current { - border-bottom-color: #04a4cc; } diff --git a/sources/wordpress/wp-admin/css/colors/light/colors.min.css b/sources/wordpress/wp-admin/css/colors/light/colors.min.css deleted file mode 100644 index 60643d0..0000000 --- a/sources/wordpress/wp-admin/css/colors/light/colors.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f5f5f5}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#04a4cc}input[type=radio]:checked:before{background:#04a4cc}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#04a4cc;border-color:#037c9a;color:#fff;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#0490b3;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 1px 0 #09cafa;box-shadow:inset 0 1px 0 #09cafa}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #09cafa,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #09cafa,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#037c9a;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7cfd1!important;background:#0384a4!important;border-color:#036881!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#333;background-color:#e5e5e5}.wp-core-ui .wp-ui-text-primary{color:#e5e5e5}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#888}.wp-core-ui .wp-ui-text-highlight{color:#888}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d64e07}.wp-core-ui .wp-ui-text-notification{color:#d64e07}.wp-core-ui .wp-ui-text-icon{color:#999}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#333;background-color:#e5e5e5}.view-switch a.current:before{color:#e5e5e5}.view-switch a:hover:before{color:#d64e07}.post-com-count:hover:after{border-top-color:#e5e5e5}.post-com-count:hover span{color:#333;background-color:#e5e5e5}strong .post-com-count:after{border-top-color:#d64e07}strong .post-com-count span{background-color:#d64e07}#adminmenu,#adminmenuback,#adminmenuwrap{background:#e5e5e5}#adminmenu a{color:#333}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#888}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#ccc}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f5f5f5;border-bottom-color:#f5f5f5}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#fff}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#fff}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#04a4cc}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#333}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#04a4cc}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f5f5f5}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#888}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#ccc}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d64e07}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#333;background:#fff}#collapse-menu{color:#777}#collapse-menu:hover{color:#333}#collapse-button div:after{color:#999}#collapse-menu:hover #collapse-button div:after{color:#555}#wpadminbar{color:#333;background:#e5e5e5}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#333}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#999}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{background:#fff}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#04a4cc}#wpadminbar .menupop .ab-sub-wrapper{background:#fff}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f6f7f7}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#686868}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#999}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#04a4cc}#wpadminbar #adminbarsearch:before{color:#999}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#333;background:#f7f7f7}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#333;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#f7f7f7;background-color:#f7f7f7}#wpadminbar #wp-admin-bar-user-info .display-name{color:#333}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#04a4cc}#wpadminbar #wp-admin-bar-user-info .username{color:#686868}.wp-pointer .wp-pointer-content h3{background-color:#04a4cc;border-color:#0490b3}.wp-pointer .wp-pointer-content h3:before{color:#04a4cc}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#04a4cc}.media-item .bar,.media-progress-bar div{background-color:#04a4cc}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc}.attachment.details .check{background-color:#04a4cc;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#04a4cc}.theme-browser .theme.add-new-theme:hover span:after{color:#04a4cc}body.more-filters-opened .more-filters{color:#333;background-color:#e5e5e5}body.more-filters-opened .more-filters:before{color:#333}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#888;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#888;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#04a4cc;border-color:#037c9a;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f5f5f5;border-bottom-color:#f5f5f5}#plugin-information .action-button{background:#04a4cc}div#wp-responsive-toggle a:before{color:#999}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#888}.star-rating .star{color:#04a4cc}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#fff}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default li:hover span.ab-label,#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary li.hover span.ab-label{color:#333}.theme-filter.current,.theme-section.current{border-bottom-color:#04a4cc} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/light/colors.scss b/sources/wordpress/wp-admin/css/colors/light/colors.scss deleted file mode 100644 index b12774c..0000000 --- a/sources/wordpress/wp-admin/css/colors/light/colors.scss +++ /dev/null @@ -1,38 +0,0 @@ -$base-color: #e5e5e5; -$icon-color: #999; -$text-color: #333; -$highlight-color: #04a4cc; -$notification-color: #d64e07; - -$body-background: #f5f5f5; - -$menu-highlight-text: #fff; -$menu-highlight-icon: #ccc; -$menu-highlight-background: #888; - -$menu-bubble-text: #fff; -$menu-avatar-frame: #aaa; -$menu-submenu-background: #fff; - -$menu-collapse-text: #777; -$menu-collapse-focus-icon: #555; - -@import "../_admin.scss"; - -/* temporary fix for admin-bar hover color */ -#wpadminbar .ab-top-menu > li:hover > .ab-item, -#wpadminbar .ab-top-menu > li.hover > .ab-item, -#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label, -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label, -#wpadminbar .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: $text-color; -} - -/* Override the theme filter highlight color for this scheme */ -.theme-section.current, -.theme-filter.current { - border-bottom-color: $highlight-color; -} diff --git a/sources/wordpress/wp-admin/css/colors/midnight/colors-rtl.css b/sources/wordpress/wp-admin/css/colors/midnight/colors-rtl.css deleted file mode 100644 index c804c30..0000000 --- a/sources/wordpress/wp-admin/css/colors/midnight/colors-rtl.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #e14d43; } - -input[type=radio]:checked:before { - background: #e14d43; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #e14d43; - border-color: #d02a21; - color: white; - -webkit-box-shadow: inset 0 1px 0 #ec8a85, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ec8a85, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #dd362d; - border-color: #ba251e; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e8756f; - box-shadow: inset 0 1px 0 #e8756f; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e8756f, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e8756f, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #d02a21; - border-color: #ba251e; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #d1c7c7 !important; - background: #d92c23 !important; - border-color: #ba251e !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #363b3f; } -.wp-core-ui .wp-ui-text-primary { - color: #363b3f; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #e14d43; } -.wp-core-ui .wp-ui-text-highlight { - color: #e14d43; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #69a8bb; } -.wp-core-ui .wp-ui-text-notification { - color: #69a8bb; } -.wp-core-ui .wp-ui-text-icon { - color: #f1f2f3; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #363b3f; } - -.view-switch a.current:before { - color: #363b3f; } - -.view-switch a:hover:before { - color: #69a8bb; } - -.post-com-count:hover:after { - border-top-color: #363b3f; } - -.post-com-count:hover span { - color: #fff; - background-color: #363b3f; } - -strong .post-com-count:after { - border-top-color: #69a8bb; } - -strong .post-com-count span { - background-color: #69a8bb; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #363b3f; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #f1f2f3; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #e14d43; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #26292c; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-left-color: #26292c; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #c2c4c5; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #c2c4c5; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #e14d43; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #e14d43; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #e14d43; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #69a8bb; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #26292c; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #f1f2f3; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #f1f2f3; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #363b3f; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #f1f2f3; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #e14d43; - background: #26292c; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #e14d43; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #26292c; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #4c4c4d; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #c2c4c5; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #f1f2f3; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #e14d43; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #e14d43; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f1f2f3; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #464d52; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #464d52; - background-color: #464d52; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #e14d43; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #c2c4c5; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #e14d43; - border-color: #dd362d; } - -.wp-pointer .wp-pointer-content h3:before { - color: #e14d43; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #e14d43; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #e14d43; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43; } - -.attachment.details .check { - background-color: #e14d43; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #e14d43; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #e14d43; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #363b3f; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #363b3f; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #e14d43; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #e14d43; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #e14d43; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #e14d43; - border-color: #d02a21; - -webkit-box-shadow: inset 0 1px 0 #ec8a85, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ec8a85, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #e14d43; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f1f2f3; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #e14d43; } - -.star-rating .star { - color: #e14d43; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #26292c; } diff --git a/sources/wordpress/wp-admin/css/colors/midnight/colors-rtl.min.css b/sources/wordpress/wp-admin/css/colors/midnight/colors-rtl.min.css deleted file mode 100644 index cbaa8b4..0000000 --- a/sources/wordpress/wp-admin/css/colors/midnight/colors-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#e14d43}input[type=radio]:checked:before{background:#e14d43}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#e14d43;border-color:#d02a21;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#dd362d;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8756f;box-shadow:inset 0 1px 0 #e8756f}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e8756f,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e8756f,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#d02a21;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1c7c7!important;background:#d92c23!important;border-color:#ba251e!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#363b3f}.wp-core-ui .wp-ui-text-primary{color:#363b3f}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#e14d43}.wp-core-ui .wp-ui-text-highlight{color:#e14d43}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#69a8bb}.wp-core-ui .wp-ui-text-notification{color:#69a8bb}.wp-core-ui .wp-ui-text-icon{color:#f1f2f3}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#363b3f}.view-switch a.current:before{color:#363b3f}.view-switch a:hover:before{color:#69a8bb}.post-com-count:hover:after{border-top-color:#363b3f}.post-com-count:hover span{color:#fff;background-color:#363b3f}strong .post-com-count:after{border-top-color:#69a8bb}strong .post-com-count span{background-color:#69a8bb}#adminmenu,#adminmenuback,#adminmenuwrap{background:#363b3f}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f1f2f3}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#e14d43}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#26292c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#26292c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#c2c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#e14d43}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#e14d43}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#e14d43}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#69a8bb}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#26292c}#collapse-menu{color:#f1f2f3}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f1f2f3}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#363b3f}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f1f2f3}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#e14d43;background:#26292c}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#e14d43}#wpadminbar .menupop .ab-sub-wrapper{background:#26292c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4c4c4d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#c2c4c5}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f1f2f3}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#e14d43}#wpadminbar #adminbarsearch:before{color:#f1f2f3}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#464d52}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#464d52;background-color:#464d52}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e14d43}#wpadminbar #wp-admin-bar-user-info .username{color:#c2c4c5}.wp-pointer .wp-pointer-content h3{background-color:#e14d43;border-color:#dd362d}.wp-pointer .wp-pointer-content h3:before{color:#e14d43}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#e14d43}.media-item .bar,.media-progress-bar div{background-color:#e14d43}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43}.attachment.details .check{background-color:#e14d43;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#e14d43}.theme-browser .theme.add-new-theme:hover span:after{color:#e14d43}.theme-filter.current,.theme-section.current{border-bottom-color:#363b3f}body.more-filters-opened .more-filters{color:#fff;background-color:#363b3f}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#e14d43;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#e14d43;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#e14d43;border-color:#d02a21;-webkit-box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#e14d43}div#wp-responsive-toggle a:before{color:#f1f2f3}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#e14d43}.star-rating .star{color:#e14d43}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#26292c} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/midnight/colors.css b/sources/wordpress/wp-admin/css/colors/midnight/colors.css deleted file mode 100644 index 85287b2..0000000 --- a/sources/wordpress/wp-admin/css/colors/midnight/colors.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #e14d43; } - -input[type=radio]:checked:before { - background: #e14d43; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #e14d43; - border-color: #d02a21; - color: white; - -webkit-box-shadow: inset 0 1px 0 #ec8a85, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ec8a85, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #dd362d; - border-color: #ba251e; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e8756f; - box-shadow: inset 0 1px 0 #e8756f; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e8756f, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e8756f, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #d02a21; - border-color: #ba251e; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #d1c7c7 !important; - background: #d92c23 !important; - border-color: #ba251e !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #363b3f; } -.wp-core-ui .wp-ui-text-primary { - color: #363b3f; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #e14d43; } -.wp-core-ui .wp-ui-text-highlight { - color: #e14d43; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #69a8bb; } -.wp-core-ui .wp-ui-text-notification { - color: #69a8bb; } -.wp-core-ui .wp-ui-text-icon { - color: #f1f2f3; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #363b3f; } - -.view-switch a.current:before { - color: #363b3f; } - -.view-switch a:hover:before { - color: #69a8bb; } - -.post-com-count:hover:after { - border-top-color: #363b3f; } - -.post-com-count:hover span { - color: #fff; - background-color: #363b3f; } - -strong .post-com-count:after { - border-top-color: #69a8bb; } - -strong .post-com-count span { - background-color: #69a8bb; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #363b3f; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #f1f2f3; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #e14d43; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #26292c; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: #26292c; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #c2c4c5; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #c2c4c5; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #e14d43; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #e14d43; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #e14d43; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #69a8bb; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #26292c; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #f1f2f3; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #f1f2f3; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #363b3f; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #f1f2f3; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #e14d43; - background: #26292c; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #e14d43; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #26292c; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #4c4c4d; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #c2c4c5; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #f1f2f3; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #e14d43; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #e14d43; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f1f2f3; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #464d52; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #464d52; - background-color: #464d52; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #e14d43; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #c2c4c5; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #e14d43; - border-color: #dd362d; } - -.wp-pointer .wp-pointer-content h3:before { - color: #e14d43; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #e14d43; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #e14d43; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43; } - -.attachment.details .check { - background-color: #e14d43; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #e14d43; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #e14d43; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #363b3f; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #363b3f; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #e14d43; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #e14d43; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #e14d43; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #e14d43; - border-color: #d02a21; - -webkit-box-shadow: inset 0 1px 0 #ec8a85, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ec8a85, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #e14d43; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f1f2f3; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #e14d43; } - -.star-rating .star { - color: #e14d43; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #26292c; } diff --git a/sources/wordpress/wp-admin/css/colors/midnight/colors.min.css b/sources/wordpress/wp-admin/css/colors/midnight/colors.min.css deleted file mode 100644 index 6d1affa..0000000 --- a/sources/wordpress/wp-admin/css/colors/midnight/colors.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#e14d43}input[type=radio]:checked:before{background:#e14d43}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#e14d43;border-color:#d02a21;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#dd362d;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8756f;box-shadow:inset 0 1px 0 #e8756f}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e8756f,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e8756f,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#d02a21;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1c7c7!important;background:#d92c23!important;border-color:#ba251e!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#363b3f}.wp-core-ui .wp-ui-text-primary{color:#363b3f}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#e14d43}.wp-core-ui .wp-ui-text-highlight{color:#e14d43}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#69a8bb}.wp-core-ui .wp-ui-text-notification{color:#69a8bb}.wp-core-ui .wp-ui-text-icon{color:#f1f2f3}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#363b3f}.view-switch a.current:before{color:#363b3f}.view-switch a:hover:before{color:#69a8bb}.post-com-count:hover:after{border-top-color:#363b3f}.post-com-count:hover span{color:#fff;background-color:#363b3f}strong .post-com-count:after{border-top-color:#69a8bb}strong .post-com-count span{background-color:#69a8bb}#adminmenu,#adminmenuback,#adminmenuwrap{background:#363b3f}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f1f2f3}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#e14d43}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#26292c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#26292c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#c2c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#e14d43}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#e14d43}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#e14d43}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#69a8bb}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#26292c}#collapse-menu{color:#f1f2f3}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f1f2f3}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#363b3f}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f1f2f3}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#e14d43;background:#26292c}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#e14d43}#wpadminbar .menupop .ab-sub-wrapper{background:#26292c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4c4c4d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#c2c4c5}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f1f2f3}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#e14d43}#wpadminbar #adminbarsearch:before{color:#f1f2f3}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#464d52}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#464d52;background-color:#464d52}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e14d43}#wpadminbar #wp-admin-bar-user-info .username{color:#c2c4c5}.wp-pointer .wp-pointer-content h3{background-color:#e14d43;border-color:#dd362d}.wp-pointer .wp-pointer-content h3:before{color:#e14d43}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#e14d43}.media-item .bar,.media-progress-bar div{background-color:#e14d43}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43}.attachment.details .check{background-color:#e14d43;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#e14d43}.theme-browser .theme.add-new-theme:hover span:after{color:#e14d43}.theme-filter.current,.theme-section.current{border-bottom-color:#363b3f}body.more-filters-opened .more-filters{color:#fff;background-color:#363b3f}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#e14d43;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#e14d43;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#e14d43;border-color:#d02a21;-webkit-box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#e14d43}div#wp-responsive-toggle a:before{color:#f1f2f3}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#e14d43}.star-rating .star{color:#e14d43}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#26292c} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/midnight/colors.scss b/sources/wordpress/wp-admin/css/colors/midnight/colors.scss deleted file mode 100644 index 591232b..0000000 --- a/sources/wordpress/wp-admin/css/colors/midnight/colors.scss +++ /dev/null @@ -1,5 +0,0 @@ -$base-color: #363b3f; -$highlight-color: #e14d43; -$notification-color: #69a8bb; - -@import "../_admin.scss"; diff --git a/sources/wordpress/wp-admin/css/colors/ocean/colors-rtl.css b/sources/wordpress/wp-admin/css/colors/ocean/colors-rtl.css deleted file mode 100644 index ee84d5a..0000000 --- a/sources/wordpress/wp-admin/css/colors/ocean/colors-rtl.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #738e96; } - -input[type=radio]:checked:before { - background: #738e96; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #9ebaa0; - border-color: #80a583; - color: white; - -webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #8faf91; - border-color: #719a74; - color: white; - -webkit-box-shadow: inset 0 1px 0 #bccfbd; - box-shadow: inset 0 1px 0 #bccfbd; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #bccfbd, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #bccfbd, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #80a583; - border-color: #719a74; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #c7d1c8 !important; - background: #86a988 !important; - border-color: #719a74 !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #738e96; } -.wp-core-ui .wp-ui-text-primary { - color: #738e96; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #9ebaa0; } -.wp-core-ui .wp-ui-text-highlight { - color: #9ebaa0; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #aa9d88; } -.wp-core-ui .wp-ui-text-notification { - color: #aa9d88; } -.wp-core-ui .wp-ui-text-icon { - color: #f2fcff; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #738e96; } - -.view-switch a.current:before { - color: #738e96; } - -.view-switch a:hover:before { - color: #aa9d88; } - -.post-com-count:hover:after { - border-top-color: #738e96; } - -.post-com-count:hover span { - color: #fff; - background-color: #738e96; } - -strong .post-com-count:after { - border-top-color: #aa9d88; } - -strong .post-com-count span { - background-color: #aa9d88; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #738e96; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #f2fcff; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #9ebaa0; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #627c83; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-left-color: #627c83; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #d5dddf; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #d5dddf; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #9ebaa0; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #9ebaa0; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #9ebaa0; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #aa9d88; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #627c83; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #f2fcff; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #f2fcff; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #738e96; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #f2fcff; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #9ebaa0; - background: #627c83; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #9ebaa0; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #627c83; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #8f9b9e; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #d5dddf; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #f2fcff; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #9ebaa0; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #9ebaa0; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f2fcff; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #879fa5; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #879fa5; - background-color: #879fa5; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #9ebaa0; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #d5dddf; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #9ebaa0; - border-color: #8faf91; } - -.wp-pointer .wp-pointer-content h3:before { - color: #9ebaa0; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #9ebaa0; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #9ebaa0; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0; } - -.attachment.details .check { - background-color: #9ebaa0; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #9ebaa0; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #9ebaa0; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #738e96; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #738e96; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #9ebaa0; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #9ebaa0; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #9ebaa0; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #9ebaa0; - border-color: #80a583; - -webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #9ebaa0; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f2fcff; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #9ebaa0; } - -.star-rating .star { - color: #9ebaa0; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #627c83; } diff --git a/sources/wordpress/wp-admin/css/colors/ocean/colors-rtl.min.css b/sources/wordpress/wp-admin/css/colors/ocean/colors-rtl.min.css deleted file mode 100644 index b3cbfa7..0000000 --- a/sources/wordpress/wp-admin/css/colors/ocean/colors-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#738e96}input[type=radio]:checked:before{background:#738e96}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#9ebaa0;border-color:#80a583;color:#fff;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#8faf91;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 1px 0 #bccfbd;box-shadow:inset 0 1px 0 #bccfbd}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #bccfbd,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #bccfbd,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#80a583;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7d1c8!important;background:#86a988!important;border-color:#719a74!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#738e96}.wp-core-ui .wp-ui-text-primary{color:#738e96}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#9ebaa0}.wp-core-ui .wp-ui-text-highlight{color:#9ebaa0}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#aa9d88}.wp-core-ui .wp-ui-text-notification{color:#aa9d88}.wp-core-ui .wp-ui-text-icon{color:#f2fcff}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#738e96}.view-switch a.current:before{color:#738e96}.view-switch a:hover:before{color:#aa9d88}.post-com-count:hover:after{border-top-color:#738e96}.post-com-count:hover span{color:#fff;background-color:#738e96}strong .post-com-count:after{border-top-color:#aa9d88}strong .post-com-count span{background-color:#aa9d88}#adminmenu,#adminmenuback,#adminmenuwrap{background:#738e96}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f2fcff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#9ebaa0}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#627c83}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#627c83}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#d5dddf}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#9ebaa0}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#9ebaa0}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#9ebaa0}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#aa9d88}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#627c83}#collapse-menu{color:#f2fcff}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f2fcff}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#738e96}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f2fcff}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#9ebaa0;background:#627c83}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#9ebaa0}#wpadminbar .menupop .ab-sub-wrapper{background:#627c83}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#8f9b9e}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#d5dddf}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f2fcff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#9ebaa0}#wpadminbar #adminbarsearch:before{color:#f2fcff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#879fa5}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#879fa5;background-color:#879fa5}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#9ebaa0}#wpadminbar #wp-admin-bar-user-info .username{color:#d5dddf}.wp-pointer .wp-pointer-content h3{background-color:#9ebaa0;border-color:#8faf91}.wp-pointer .wp-pointer-content h3:before{color:#9ebaa0}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#9ebaa0}.media-item .bar,.media-progress-bar div{background-color:#9ebaa0}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0}.attachment.details .check{background-color:#9ebaa0;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#9ebaa0}.theme-browser .theme.add-new-theme:hover span:after{color:#9ebaa0}.theme-filter.current,.theme-section.current{border-bottom-color:#738e96}body.more-filters-opened .more-filters{color:#fff;background-color:#738e96}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#9ebaa0;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#9ebaa0;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#9ebaa0;border-color:#80a583;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#9ebaa0}div#wp-responsive-toggle a:before{color:#f2fcff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#9ebaa0}.star-rating .star{color:#9ebaa0}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#627c83} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/ocean/colors.css b/sources/wordpress/wp-admin/css/colors/ocean/colors.css deleted file mode 100644 index 0c76a81..0000000 --- a/sources/wordpress/wp-admin/css/colors/ocean/colors.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #738e96; } - -input[type=radio]:checked:before { - background: #738e96; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #9ebaa0; - border-color: #80a583; - color: white; - -webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #8faf91; - border-color: #719a74; - color: white; - -webkit-box-shadow: inset 0 1px 0 #bccfbd; - box-shadow: inset 0 1px 0 #bccfbd; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #bccfbd, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #bccfbd, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #80a583; - border-color: #719a74; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #c7d1c8 !important; - background: #86a988 !important; - border-color: #719a74 !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #738e96; } -.wp-core-ui .wp-ui-text-primary { - color: #738e96; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #9ebaa0; } -.wp-core-ui .wp-ui-text-highlight { - color: #9ebaa0; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #aa9d88; } -.wp-core-ui .wp-ui-text-notification { - color: #aa9d88; } -.wp-core-ui .wp-ui-text-icon { - color: #f2fcff; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #738e96; } - -.view-switch a.current:before { - color: #738e96; } - -.view-switch a:hover:before { - color: #aa9d88; } - -.post-com-count:hover:after { - border-top-color: #738e96; } - -.post-com-count:hover span { - color: #fff; - background-color: #738e96; } - -strong .post-com-count:after { - border-top-color: #aa9d88; } - -strong .post-com-count span { - background-color: #aa9d88; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #738e96; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #f2fcff; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #9ebaa0; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #627c83; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: #627c83; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #d5dddf; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #d5dddf; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #9ebaa0; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #9ebaa0; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #9ebaa0; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #aa9d88; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #627c83; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #f2fcff; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #f2fcff; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #738e96; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #f2fcff; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #9ebaa0; - background: #627c83; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #9ebaa0; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #627c83; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #8f9b9e; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #d5dddf; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #f2fcff; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #9ebaa0; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #9ebaa0; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f2fcff; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #879fa5; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #879fa5; - background-color: #879fa5; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #9ebaa0; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #d5dddf; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #9ebaa0; - border-color: #8faf91; } - -.wp-pointer .wp-pointer-content h3:before { - color: #9ebaa0; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #9ebaa0; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #9ebaa0; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0; } - -.attachment.details .check { - background-color: #9ebaa0; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #9ebaa0; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #9ebaa0; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #738e96; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #738e96; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #9ebaa0; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #9ebaa0; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #9ebaa0; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #9ebaa0; - border-color: #80a583; - -webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #9ebaa0; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f2fcff; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #9ebaa0; } - -.star-rating .star { - color: #9ebaa0; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #627c83; } diff --git a/sources/wordpress/wp-admin/css/colors/ocean/colors.min.css b/sources/wordpress/wp-admin/css/colors/ocean/colors.min.css deleted file mode 100644 index df45994..0000000 --- a/sources/wordpress/wp-admin/css/colors/ocean/colors.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#738e96}input[type=radio]:checked:before{background:#738e96}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#9ebaa0;border-color:#80a583;color:#fff;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#8faf91;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 1px 0 #bccfbd;box-shadow:inset 0 1px 0 #bccfbd}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #bccfbd,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #bccfbd,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#80a583;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7d1c8!important;background:#86a988!important;border-color:#719a74!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#738e96}.wp-core-ui .wp-ui-text-primary{color:#738e96}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#9ebaa0}.wp-core-ui .wp-ui-text-highlight{color:#9ebaa0}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#aa9d88}.wp-core-ui .wp-ui-text-notification{color:#aa9d88}.wp-core-ui .wp-ui-text-icon{color:#f2fcff}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#738e96}.view-switch a.current:before{color:#738e96}.view-switch a:hover:before{color:#aa9d88}.post-com-count:hover:after{border-top-color:#738e96}.post-com-count:hover span{color:#fff;background-color:#738e96}strong .post-com-count:after{border-top-color:#aa9d88}strong .post-com-count span{background-color:#aa9d88}#adminmenu,#adminmenuback,#adminmenuwrap{background:#738e96}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f2fcff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#9ebaa0}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#627c83}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#627c83}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#d5dddf}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#9ebaa0}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#9ebaa0}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#9ebaa0}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#aa9d88}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#627c83}#collapse-menu{color:#f2fcff}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f2fcff}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#738e96}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f2fcff}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#9ebaa0;background:#627c83}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#9ebaa0}#wpadminbar .menupop .ab-sub-wrapper{background:#627c83}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#8f9b9e}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#d5dddf}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f2fcff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#9ebaa0}#wpadminbar #adminbarsearch:before{color:#f2fcff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#879fa5}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#879fa5;background-color:#879fa5}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#9ebaa0}#wpadminbar #wp-admin-bar-user-info .username{color:#d5dddf}.wp-pointer .wp-pointer-content h3{background-color:#9ebaa0;border-color:#8faf91}.wp-pointer .wp-pointer-content h3:before{color:#9ebaa0}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#9ebaa0}.media-item .bar,.media-progress-bar div{background-color:#9ebaa0}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0}.attachment.details .check{background-color:#9ebaa0;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#9ebaa0}.theme-browser .theme.add-new-theme:hover span:after{color:#9ebaa0}.theme-filter.current,.theme-section.current{border-bottom-color:#738e96}body.more-filters-opened .more-filters{color:#fff;background-color:#738e96}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#9ebaa0;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#9ebaa0;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#9ebaa0;border-color:#80a583;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#9ebaa0}div#wp-responsive-toggle a:before{color:#f2fcff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#9ebaa0}.star-rating .star{color:#9ebaa0}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#627c83} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/ocean/colors.scss b/sources/wordpress/wp-admin/css/colors/ocean/colors.scss deleted file mode 100644 index d52339c..0000000 --- a/sources/wordpress/wp-admin/css/colors/ocean/colors.scss +++ /dev/null @@ -1,8 +0,0 @@ -$base-color: #738e96; -$icon-color: #f2fcff; -$highlight-color: #9ebaa0; -$notification-color: #aa9d88; - -$form-checked: $base-color; - -@import "../_admin.scss"; diff --git a/sources/wordpress/wp-admin/css/colors/sunrise/colors-rtl.css b/sources/wordpress/wp-admin/css/colors/sunrise/colors-rtl.css deleted file mode 100644 index 496914c..0000000 --- a/sources/wordpress/wp-admin/css/colors/sunrise/colors-rtl.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #dd823b; } - -input[type=radio]:checked:before { - background: #dd823b; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #dd823b; - border-color: #c36822; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e8ab7c, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e8ab7c, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #d97326; - border-color: #ad5c1e; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e59d66; - box-shadow: inset 0 1px 0 #e59d66; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e59d66, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e59d66, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #c36822; - border-color: #ad5c1e; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #d1cbc7 !important; - background: #cc6c23 !important; - border-color: #ad5c1e !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #cf4944; } -.wp-core-ui .wp-ui-text-primary { - color: #cf4944; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #dd823b; } -.wp-core-ui .wp-ui-text-highlight { - color: #dd823b; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #ccaf0b; } -.wp-core-ui .wp-ui-text-notification { - color: #ccaf0b; } -.wp-core-ui .wp-ui-text-icon { - color: #f3f1f1; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #cf4944; } - -.view-switch a.current:before { - color: #cf4944; } - -.view-switch a:hover:before { - color: #ccaf0b; } - -.post-com-count:hover:after { - border-top-color: #cf4944; } - -.post-com-count:hover span { - color: #fff; - background-color: #cf4944; } - -strong .post-com-count:after { - border-top-color: #ccaf0b; } - -strong .post-com-count span { - background-color: #ccaf0b; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #cf4944; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #f3f1f1; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #dd823b; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #be3631; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-left-color: #be3631; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #f0c8c6; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #f0c8c6; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #f7e3d3; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #f7e3d3; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #dd823b; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #ccaf0b; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #be3631; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #f3f1f1; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #f3f1f1; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #cf4944; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #f3f1f1; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #f7e3d3; - background: #be3631; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #f7e3d3; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #be3631; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #cf6b67; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #f0c8c6; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #f3f1f1; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #f7e3d3; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #f7e3d3; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f3f1f1; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #d66460; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #d66460; - background-color: #d66460; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #f7e3d3; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #f0c8c6; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #dd823b; - border-color: #d97326; } - -.wp-pointer .wp-pointer-content h3:before { - color: #dd823b; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #dd823b; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #dd823b; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b; } - -.attachment.details .check { - background-color: #dd823b; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #dd823b; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #dd823b; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #cf4944; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #cf4944; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #dd823b; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #dd823b; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #dd823b; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #dd823b; - border-color: #c36822; - -webkit-box-shadow: inset 0 1px 0 #e8ab7c, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e8ab7c, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #dd823b; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f3f1f1; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #dd823b; } - -.star-rating .star { - color: #dd823b; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #be3631; } diff --git a/sources/wordpress/wp-admin/css/colors/sunrise/colors-rtl.min.css b/sources/wordpress/wp-admin/css/colors/sunrise/colors-rtl.min.css deleted file mode 100644 index 48d86a7..0000000 --- a/sources/wordpress/wp-admin/css/colors/sunrise/colors-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#dd823b}input[type=radio]:checked:before{background:#dd823b}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#dd823b;border-color:#c36822;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#d97326;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e59d66;box-shadow:inset 0 1px 0 #e59d66}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e59d66,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e59d66,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#c36822;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cbc7!important;background:#cc6c23!important;border-color:#ad5c1e!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#cf4944}.wp-core-ui .wp-ui-text-primary{color:#cf4944}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#dd823b}.wp-core-ui .wp-ui-text-highlight{color:#dd823b}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#ccaf0b}.wp-core-ui .wp-ui-text-notification{color:#ccaf0b}.wp-core-ui .wp-ui-text-icon{color:#f3f1f1}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#cf4944}.view-switch a.current:before{color:#cf4944}.view-switch a:hover:before{color:#ccaf0b}.post-com-count:hover:after{border-top-color:#cf4944}.post-com-count:hover span{color:#fff;background-color:#cf4944}strong .post-com-count:after{border-top-color:#ccaf0b}strong .post-com-count span{background-color:#ccaf0b}#adminmenu,#adminmenuback,#adminmenuwrap{background:#cf4944}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f1f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#dd823b}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#be3631}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#be3631}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#f0c8c6}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#f7e3d3}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f7e3d3}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#dd823b}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#ccaf0b}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#be3631}#collapse-menu{color:#f3f1f1}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f3f1f1}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#cf4944}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f1f1}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#f7e3d3;background:#be3631}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#f7e3d3}#wpadminbar .menupop .ab-sub-wrapper{background:#be3631}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#cf6b67}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#f0c8c6}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f1f1}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f7e3d3}#wpadminbar #adminbarsearch:before{color:#f3f1f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#d66460}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#d66460;background-color:#d66460}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f7e3d3}#wpadminbar #wp-admin-bar-user-info .username{color:#f0c8c6}.wp-pointer .wp-pointer-content h3{background-color:#dd823b;border-color:#d97326}.wp-pointer .wp-pointer-content h3:before{color:#dd823b}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#dd823b}.media-item .bar,.media-progress-bar div{background-color:#dd823b}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b}.attachment.details .check{background-color:#dd823b;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#dd823b}.theme-browser .theme.add-new-theme:hover span:after{color:#dd823b}.theme-filter.current,.theme-section.current{border-bottom-color:#cf4944}body.more-filters-opened .more-filters{color:#fff;background-color:#cf4944}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#dd823b;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#dd823b;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#dd823b;border-color:#c36822;-webkit-box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#dd823b}div#wp-responsive-toggle a:before{color:#f3f1f1}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#dd823b}.star-rating .star{color:#dd823b}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#be3631} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/sunrise/colors.css b/sources/wordpress/wp-admin/css/colors/sunrise/colors.css deleted file mode 100644 index 943bc8a..0000000 --- a/sources/wordpress/wp-admin/css/colors/sunrise/colors.css +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -html { - background: #f1f1f1; } - -/* Links */ -a { - color: #0074a2; } - a:hover, a:active, a:focus { - color: #0099d5; } - -#media-upload a.del-link:hover, div.dashboard-widget-submit input:hover, .subsubsub a:hover, .subsubsub a.current:hover { - color: #0099d5; } - -/* Forms */ -input[type=checkbox]:checked:before { - color: #dd823b; } - -input[type=radio]:checked:before { - background: #dd823b; } - -.wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #0099d5; } - -/* Core UI */ -.wp-core-ui .button-primary { - background: #dd823b; - border-color: #c36822; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e8ab7c, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e8ab7c, 0 1px 0 rgba(0, 0, 0, 0.15); } - .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #d97326; - border-color: #ad5c1e; - color: white; - -webkit-box-shadow: inset 0 1px 0 #e59d66; - box-shadow: inset 0 1px 0 #e59d66; } - .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e59d66, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e59d66, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary:active { - background: #c36822; - border-color: #ad5c1e; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } - .wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { - color: #d1cbc7 !important; - background: #cc6c23 !important; - border-color: #ad5c1e !important; - text-shadow: none !important; } -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #cf4944; } -.wp-core-ui .wp-ui-text-primary { - color: #cf4944; } -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #dd823b; } -.wp-core-ui .wp-ui-text-highlight { - color: #dd823b; } -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #ccaf0b; } -.wp-core-ui .wp-ui-text-notification { - color: #ccaf0b; } -.wp-core-ui .wp-ui-text-icon { - color: #f3f1f1; } - -/* List tables */ -.wrap .add-new-h2:hover, #add-new-comment a:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { - color: #fff; - background-color: #cf4944; } - -.view-switch a.current:before { - color: #cf4944; } - -.view-switch a:hover:before { - color: #ccaf0b; } - -.post-com-count:hover:after { - border-top-color: #cf4944; } - -.post-com-count:hover span { - color: #fff; - background-color: #cf4944; } - -strong .post-com-count:after { - border-top-color: #ccaf0b; } - -strong .post-com-count span { - background-color: #ccaf0b; } - -/* Admin Menu */ -#adminmenuback, #adminmenuwrap, #adminmenu { - background: #cf4944; } - -#adminmenu a { - color: #fff; } - -#adminmenu div.wp-menu-image:before { - color: #f3f1f1; } - -#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #dd823b; } - -#adminmenu li.menu-top:hover div.wp-menu-image:before, #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; } - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap h2 .nav-tab-active, .nav-tab-active, .nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; } - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #be3631; } - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: #be3631; } - -#adminmenu .wp-submenu .wp-submenu-head { - color: #f0c8c6; } - -#adminmenu .wp-submenu a, #adminmenu .wp-has-current-submenu .wp-submenu a, .folded #adminmenu .wp-has-current-submenu .wp-submenu a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #f0c8c6; } - #adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #f7e3d3; } - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; } - #adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #f7e3d3; } - -ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; } - -#adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu li.current.menu-top { - color: #fff; - background: #dd823b; } - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before { - color: #fff; } - -/* Admin Menu: bubble */ -#adminmenu .awaiting-mod, #adminmenu .update-plugins { - color: #fff; - background: #ccaf0b; } - -#adminmenu li.current a .awaiting-mod, #adminmenu li a.wp-has-current-submenu .update-plugins, #adminmenu li:hover a .awaiting-mod, #adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #be3631; } - -/* Admin Menu: collapse button */ -#collapse-menu { - color: #f3f1f1; } - -#collapse-menu:hover { - color: #fff; } - -#collapse-button div:after { - color: #f3f1f1; } - -#collapse-menu:hover #collapse-button div:after { - color: #fff; } - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #cf4944; } - -#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { - color: #fff; } - -#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { - color: #f3f1f1; } - -#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #f7e3d3; - background: #be3631; } - -#wpadminbar > #wp-toolbar li:hover span.ab-label, #wpadminbar > #wp-toolbar li.hover span.ab-label, #wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #f7e3d3; } - -#wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #fff; } - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #be3631; } - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #cf6b67; } - -#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a { - color: #f0c8c6; } - -#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before { - color: #f3f1f1; } - -#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover .ab-item:after, #wpadminbar li.hover .ab-item:after, #wpadminbar li:hover #adminbarsearch:before { - color: #f7e3d3; } - -#wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before { - color: #f7e3d3; } - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f3f1f1; } - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #d66460; } - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #fff; - opacity: 0.7; } - -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #fff; - opacity: 0.7; } - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #d66460; - background-color: #d66460; } - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; } - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #f7e3d3; } - -#wpadminbar #wp-admin-bar-user-info .username { - color: #f0c8c6; } - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #dd823b; - border-color: #d97326; } - -.wp-pointer .wp-pointer-content h3:before { - color: #dd823b; } - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, .wp-pointer.wp-pointer-undefined .wp-pointer-arrow { - border-bottom-color: #dd823b; } - -/* Media */ -.media-item .bar, .media-progress-bar div { - background-color: #dd823b; } - -.details.attachment { - -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b; - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b; } - -.attachment.details .check { - background-color: #dd823b; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b; } - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b; - box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b; } - -/* Themes */ -.theme-browser .theme.active .theme-name, .theme-browser .theme.add-new-theme:hover:after { - background: #dd823b; } - -.theme-browser .theme.add-new-theme:hover span:after { - color: #dd823b; } - -.theme-section.current, .theme-filter.current { - border-bottom-color: #cf4944; } - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #cf4944; } - -body.more-filters-opened .more-filters:before { - color: #fff; } - -body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:focus { - background-color: #dd823b; - color: #fff; } - -body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:focus:before { - color: #fff; } - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #dd823b; - color: #fff; } - -.widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; } - -/* Customize */ -#customize-theme-controls .widget-area-select .selected { - background-color: #dd823b; - color: #fff; } - -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, .wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #dd823b; - border-color: #c36822; - -webkit-box-shadow: inset 0 1px 0 #e8ab7c, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e8ab7c, 0 1px 0 rgba(0, 0, 0, 0.15); } - -/* Thickbox: Plugin information */ -#sidemenu a.current { - background: #f1f1f1; - border-bottom-color: #f1f1f1; } - -#plugin-information .action-button { - background: #dd823b; } - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f3f1f1; } - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #dd823b; } - -.star-rating .star { - color: #dd823b; } - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #be3631; } diff --git a/sources/wordpress/wp-admin/css/colors/sunrise/colors.min.css b/sources/wordpress/wp-admin/css/colors/sunrise/colors.min.css deleted file mode 100644 index 228ff80..0000000 --- a/sources/wordpress/wp-admin/css/colors/sunrise/colors.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1}a{color:#0074a2}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0099d5}input[type=checkbox]:checked:before{color:#dd823b}input[type=radio]:checked:before{background:#dd823b}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0099d5}.wp-core-ui .button-primary{background:#dd823b;border-color:#c36822;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#d97326;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e59d66;box-shadow:inset 0 1px 0 #e59d66}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e59d66,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e59d66,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#c36822;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cbc7!important;background:#cc6c23!important;border-color:#ad5c1e!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#cf4944}.wp-core-ui .wp-ui-text-primary{color:#cf4944}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#dd823b}.wp-core-ui .wp-ui-text-highlight{color:#dd823b}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#ccaf0b}.wp-core-ui .wp-ui-text-notification{color:#ccaf0b}.wp-core-ui .wp-ui-text-icon{color:#f3f1f1}#add-new-comment a:hover,.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover{color:#fff;background-color:#cf4944}.view-switch a.current:before{color:#cf4944}.view-switch a:hover:before{color:#ccaf0b}.post-com-count:hover:after{border-top-color:#cf4944}.post-com-count:hover span{color:#fff;background-color:#cf4944}strong .post-com-count:after{border-top-color:#ccaf0b}strong .post-com-count span{background-color:#ccaf0b}#adminmenu,#adminmenuback,#adminmenuwrap{background:#cf4944}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f1f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#dd823b}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#be3631}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#be3631}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#f0c8c6}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#f7e3d3}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f7e3d3}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#dd823b}#adminmenu li.wp-has-current-submenu div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#ccaf0b}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#be3631}#collapse-menu{color:#f3f1f1}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f3f1f1}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#cf4944}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f1f1}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar-nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{color:#f7e3d3;background:#be3631}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#f7e3d3}#wpadminbar .menupop .ab-sub-wrapper{background:#be3631}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#cf6b67}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar-nojs .quicklinks .menupop:hover ul li a{color:#f0c8c6}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f1f1}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:after,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:after,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f7e3d3}#wpadminbar #adminbarsearch:before{color:#f3f1f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#d66460}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#d66460;background-color:#d66460}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f7e3d3}#wpadminbar #wp-admin-bar-user-info .username{color:#f0c8c6}.wp-pointer .wp-pointer-content h3{background-color:#dd823b;border-color:#d97326}.wp-pointer .wp-pointer-content h3:before{color:#dd823b}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow{border-bottom-color:#dd823b}.media-item .bar,.media-progress-bar div{background-color:#dd823b}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b}.attachment.details .check{background-color:#dd823b;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme:hover:after{background:#dd823b}.theme-browser .theme.add-new-theme:hover span:after{color:#dd823b}.theme-filter.current,.theme-section.current{border-bottom-color:#cf4944}body.more-filters-opened .more-filters{color:#fff;background-color:#cf4944}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#dd823b;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#dd823b;color:#fff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#dd823b;border-color:#c36822;-webkit-box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15)}#sidemenu a.current{background:#f1f1f1;border-bottom-color:#f1f1f1}#plugin-information .action-button{background:#dd823b}div#wp-responsive-toggle a:before{color:#f3f1f1}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#dd823b}.star-rating .star{color:#dd823b}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#be3631} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/colors/sunrise/colors.scss b/sources/wordpress/wp-admin/css/colors/sunrise/colors.scss deleted file mode 100644 index 5dd8d82..0000000 --- a/sources/wordpress/wp-admin/css/colors/sunrise/colors.scss +++ /dev/null @@ -1,6 +0,0 @@ -$base-color: #cf4944; -$highlight-color: #dd823b; -$notification-color: #ccaf0b; -$menu-submenu-focus-text: lighten( $highlight-color, 35% ); - -@import "../_admin.scss"; diff --git a/sources/wordpress/wp-admin/css/common-rtl.css b/sources/wordpress/wp-admin/css/common-rtl.css deleted file mode 100644 index 9ae620f..0000000 --- a/sources/wordpress/wp-admin/css/common-rtl.css +++ /dev/null @@ -1,3210 +0,0 @@ -/* 2 column liquid layout */ -#wpwrap { - height: auto; - min-height: 100%; - width: 100%; - position: relative; - -webkit-font-smoothing: subpixel-antialiased; -} - -#wpcontent { - height: 100%; - padding-right: 20px; -} - -#wpcontent, -#wpfooter { - margin-right: 160px; -} - -.folded #wpcontent, -.folded #wpfooter { - margin-right: 36px; -} - -#wpbody-content { - padding-bottom: 65px; - float: right; - width: 100%; - overflow: visible !important; -} - -/* inner 2 column liquid layout */ - -.inner-sidebar { - float: left; - clear: left; - display: none; - width: 281px; - position: relative; -} - -.columns-2 .inner-sidebar { - margin-left: auto; - width: 286px; - display: block; -} - -.inner-sidebar #side-sortables, -.columns-2 .inner-sidebar #side-sortables { - min-height: 300px; - width: 280px; - padding: 0; -} - -.has-right-sidebar .inner-sidebar { - display: block; -} - -.has-right-sidebar #post-body { - float: right; - clear: right; - width: 100%; - margin-left: -2000px; -} - -.has-right-sidebar #post-body-content { - margin-left: 300px; - float: none; - width: auto; -} - -/* 2 columns main area */ - -#col-container, -#col-left, -#col-right { - overflow: hidden; - padding: 0; - margin: 0; -} - -#col-left { - width: 35%; -} - -#col-right { - float: left; - clear: left; - width: 65%; -} - -.col-wrap { - padding: 0 7px; -} - -/* utility classes */ -.alignleft { - float: right; -} - -.alignright { - float: left; -} - -.textleft { - text-align: right; -} - -.textright { - text-align: left; -} - -.clear { - clear: both; -} - -/* Hide visually but not from screen readers */ -.screen-reader-text, -.screen-reader-text span, -.ui-helper-hidden-accessible { - position: absolute; - margin: -1px; - padding: 0; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(0 0 0 0); - border: 0; -} - -.screen-reader-shortcut { - position: absolute; - top: -1000em; -} - -.screen-reader-shortcut:focus { - right: 6px; - top: -25px; - height: auto; - width: auto; - display: block; - font-size: 14px; - font-weight: 600; - padding: 15px 23px 14px; - background: #f1f1f1; - color: #21759b; - z-index: 100000; - line-height: normal; - -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6); - box-shadow: 0 0 2px 2px rgba(0,0,0,.6); - text-decoration: none; - outline: none; -} - -.hidden, -.js .closed .inside, -.js .hide-if-js, -.no-js .hide-if-no-js, -.js.wp-core-ui .hide-if-js, -.js .wp-core-ui .hide-if-js, -.no-js.wp-core-ui .hide-if-no-js, -.no-js .wp-core-ui .hide-if-no-js { - display: none; -} - -/* @todo: Take a second look. Large chunks of shared color, from the colors.css merge */ -.widget-top, -.menu-item-handle, -.widget-inside, -#menu-settings-column .accordion-container, -#menu-management .menu-edit, -.manage-menus, -table.widefat, -.stuffbox, -p.popular-tags, -.widgets-holder-wrap, -.wp-editor-container, -.popular-tags, -.feature-filter, -.imgedit-group { - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); -} - -table.widefat, -.wp-editor-container, -.stuffbox, -p.popular-tags, -.widgets-holder-wrap, -.popular-tags, -.feature-filter, -.imgedit-group { - background: #fff; -} - -/* general */ -html, -body { - height: 100%; - margin: 0; - padding: 0; -} - -html { - background: #f1f1f1; -} - -body { - color: #444; - font-family: "Open Sans", sans-serif; - font-size: 13px; - line-height: 1.4em; - min-width: 600px; -} - -body.iframe { - min-width: 0; - padding-top: 1px; -} - -body.modal-open { - overflow: hidden; -} - -iframe, -img { - border: 0; -} - -td { - font-family: inherit; - font-size: inherit; - font-weight: inherit; - line-height: inherit; -} - -a { - color: #0074a2; - -webkit-transition-property: border, background, color; - transition-property: border, background, color; - -webkit-transition-duration: .05s; - transition-duration: .05s; - -webkit-transition-timing-function: ease-in-out; - transition-timing-function: ease-in-out; -} - -a, -div { - outline: 0; -} - -a:hover, -a:active { - color: #2ea2cc; -} - -a:focus { - color: #124964; - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -.ie8 a:focus { - outline: #5b9dd9 solid 1px; -} - -#adminmenu a:focus, -.screen-reader-text:focus { - -webkit-box-shadow: none; - box-shadow: none; - outline: none; -} - -blockquote, -q { - quotes: none; -} - -blockquote:before, -blockquote:after, -q:before, -q:after { - content: ''; - content: none; -} - -p { - font-size: 13px; - line-height: 1.5; - margin: 1em 0; -} - -blockquote { - margin: 1em; -} - -li, -dd { - margin-bottom: 6px; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - display: block; - font-weight: 600; -} - -h1 { - font-size: 2em; - margin: .67em 0; -} - -h2 { - color: #222; - font-size: 1.5em; - margin: .83em 0; - font-weight: 400; -} - -h3 { - color: #222; - font-size: 1.3em; - margin: 1em 0; -} - -h4 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.67em; - margin: 2.33em 0; -} - -ul, -ol { - padding: 0; -} - -ul { - list-style: none; -} - -ol { - list-style-type: decimal; - margin-right: 2em; -} - -ul.ul-disc { - list-style: disc outside; -} - -ul.ul-square { - list-style: square outside; -} - -ol.ol-decimal { - list-style: decimal outside; -} - -ul.ul-disc, -ul.ul-square, -ol.ol-decimal { - margin-right: 1.8em; -} - -ul.ul-disc > li, -ul.ul-square > li, -ol.ol-decimal > li { - margin: 0 0 0.5em; -} - -/* @noflip */ -.ltr { - direction: ltr; -} - -/* @noflip */ -.code, -code { - font-family: Consolas, Monaco, monospace; - direction: ltr; -} - -kbd, -code { - padding: 3px 5px 2px 5px; - margin: 0 1px; - background: #eaeaea; - background: rgba(0,0,0,0.07); - font-size: 13px; -} - -.subsubsub { - list-style: none; - margin: 8px 0 0; - padding: 0; - font-size: 13px; - float: right; - color: #666; -} - -.subsubsub a { - line-height: 2; - padding: .2em; - text-decoration: none; -} - -.subsubsub a .count, -.subsubsub a.current .count { - color: #999; - font-weight: normal; -} - -.subsubsub a.current { - font-weight: 600; - border: none; -} - -.subsubsub li { - display: inline-block; - margin: 0; - padding: 0; - white-space: nowrap; -} - -/* .widefat - main style for tables */ -.widefat { - border-spacing: 0; - width: 100%; - clear: both; - margin: 0; -} - -.widefat * { - word-wrap: break-word; -} - -.widefat a { - text-decoration: none; -} - -.widefat td, -.widefat th { - padding: 8px 10px; -} - -.widefat thead th { - border-bottom: 1px solid #e1e1e1; -} - -.widefat tfoot th { - border-top: 1px solid #e1e1e1; - border-bottom: none; -} - -.widefat .no-items td { - border-bottom-width: 0; -} - -.widefat td { - vertical-align: top; -} - -.widefat td, -.widefat td p, -.widefat td ol, -.widefat td ul { - font-size: 13px; - line-height: 1.5em; -} - -.widefat th { - text-align: right; - line-height: 1.3em; - font-size: 14px; -} - -.widefat th input { - margin: 0 8px 0 0; - padding: 0; - vertical-align: text-top; -} - -.widefat .check-column { - width: 2.2em; - padding: 6px 0 25px; - vertical-align: top; -} - -.widefat th input[type=checkbox] { - margin-top: -1px; -} - -.widefat tbody th.check-column { - padding: 9px 0 22px; -} - -.widefat.media .check-column { - padding-top: 8px; -} - -.widefat thead th.check-column, -.widefat tbody th.check-column, -.widefat tfoot th.check-column { - padding: 11px 3px 0 0; -} - -.widefat thead th.check-column { - padding-top: 10px; -} - -.update-php div.updated, -.update-php div.error { - margin-right: 0; -} - -.no-js .widefat thead .check-column input, -.no-js .widefat tfoot .check-column input { - display: none; -} - -.widefat .num, -.column-comments, -.column-links, -.column-posts { - text-align: center; -} - -.widefat th#comments { - vertical-align: middle; -} - -.wrap { - margin: 10px 2px 0 20px; -} - -div.updated, -div.error { - padding: 0 0.6em; - margin: 5px 15px 2px; -} - -div.updated p, -div.error p { - margin: 0.5em 0; - padding: 2px; -} - -.wrap div.updated, -.wrap div.error, -.media-upload-form div.error { - margin: 5px 0 15px; -} - -div.updated { - border-right: 4px solid #7ad03a; - padding: 1px 12px; - background-color: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -div.error { - border-right: 4px solid #dd3d36; - background: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - padding: 1px 12px; -} - -.attention { - color: #2ea2cc; -} - -.wrap h2, -.subtitle { - font-weight: normal; - margin: 0; -} - -.wrap h2 { - font-size: 23px; - font-weight: 400; - padding: 9px 0 4px 15px; - line-height: 29px; -} - -.subtitle { - color: #777; - font-size: 14px; - padding-right: 25px; -} - -.wrap .add-new-h2, -.wrap .add-new-h2:active { - margin-right: 4px; - padding: 4px 8px; - position: relative; - top: -3px; - text-decoration: none; - border: none; - -webkit-border-radius: 2px; - border-radius: 2px; - background: #e0e0e0; - text-shadow: none; - font-weight: 600; - font-size: 13px; -} - -.wrap .add-new-h2:hover { - background: #2ea2cc; - color: #fff; -} - -.wrap h2.long-header { - padding-left: 0; -} - -.wp-dialog { - background-color: #fff; -} - -.widgets-chooser ul, -#widgets-left .widget-in-question .widget-top, -#available-widgets .widget-top:hover, -div#widgets-right .widget-top:hover, -#widgets-left .widget-top:hover { - border-color: #999; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1); - box-shadow: 0 1px 2px rgba(0,0,0,0.1); -} - -.sorthelper { - background-color: #ccf3fa; -} - -.ac_match, -.subsubsub a.current { - color: #000; -} - -.alternate, -.alt { - background-color: #f9f9f9; -} - -.bar { - background-color: #e8e8e8; - border-left-color: #99d; -} - -.media-upload-form label.form-help, -td.help { - color: #9a9a9a; -} - -/* Helper classes for plugins to leverage the active WordPress color scheme */ - -.highlight { - background-color: #e4f2fd; - color: #000; -} - -.wp-ui-primary { - color: #fff; - background-color: #333; -} -.wp-ui-text-primary { - color: #333; -} - -.wp-ui-highlight { - color: white; - background-color: #1e8cbe; -} -.wp-ui-text-highlight { - color: #1e8cbe; -} - -.wp-ui-notification { - color: #fff; - background-color: #d54e21; -} -.wp-ui-text-notification { - color: #d54e21; -} - -.wp-ui-text-icon { - color: #999; -} - -/*------------------------------------------------------------------------------ - 1.0 - Text Styles -------------------------------------------------------------------------------*/ - -.widget .widget-top, -.postbox .hndle, -.stuffbox .hndle, -.control-section .accordion-section-title, -.sidebar-name, -#nav-menu-header, -#nav-menu-footer, -.menu-item-handle, -.checkbox, -.side-info, -#your-profile #rich_editing, -.widefat thead th, -.widefat tfoot th { - line-height: 1.4em; -} - -.widget .widget-top, -.menu-item-handle { - background: #fafafa; - color: #222; -} - -.postbox .hndle, -.stuffbox .hndle { - border-bottom: 1px solid #eee; -} - -.quicktags, -.search { - background-color: #ccc; - color: #000; - font-size: 12px; -} - -.icon32 { - display: none; -} - -/* @todo can we combine these into a class or use an existing dashicon one? */ -#welcome-panel.welcome-panel .welcome-panel-close:before, -.tagchecklist span a:before, -#bulk-titles div a:before { - background: none; - color: #bbb; - content: '\f153'; - display: block !important; - font: normal 16px/1 'dashicons'; - speak: none; - height: 20px; - text-align: center; - width: 20px; - -webkit-font-smoothing: antialiased !important; -} - -#welcome-panel.welcome-panel .welcome-panel-close:before { - margin: 0; -} - -.tagchecklist span a:before, -#bulk-titles div a:before { - margin: 2px 0; -} - -#welcome-panel.welcome-panel .welcome-panel-close:hover:before, -.tagchecklist span a:hover:before, -#bulk-titles div a:hover:before { - color: #c00; -} - -.key-labels label { - line-height: 24px; -} - -strong, b { - font-weight: 600; -} - -.pre { - /* https://developer.mozilla.org/en-US/docs/CSS/white-space */ - white-space: pre-wrap; /* css-3 */ - word-wrap: break-word; /* IE 5.5 - 7 */ -} - -.howto { - color: #666; - font-style: italic; - display: block; -} - -p.install-help { - margin: 8px 0; - font-style: italic; -} - -.no-break { - white-space: nowrap; -} - -hr { - border: 0; - border-top: 1px solid #ddd; - border-bottom: 1px solid #fafafa; -} - -.row-actions span.delete a, -.row-actions span.trash a, -.row-actions span.spam a, -.plugins a.delete, -#all-plugins-table .plugins a.delete, -#search-plugins-table .plugins a.delete, -.submitbox .submitdelete, -#media-items a.delete, -#media-items a.delete-permanently, -#nav-menu-footer .menu-delete { - color: #a00; -} - -abbr.required, -.file-error, -.widget-control-remove:hover, -.row-actions .delete a:hover, -.row-actions .trash a:hover, -.row-actions .spam a:hover, -.plugins a.delete:hover, -#all-plugins-table .plugins a.delete:hover, -#search-plugins-table .plugins a.delete:hover, -.submitbox .submitdelete:hover, -#media-items a.delete:hover, -#media-items a.delete-permanently:hover, -#nav-menu-footer .menu-delete:hover { - color: #f00; - text-decoration: none; - border: none; -} - -/*------------------------------------------------------------------------------ - 3.0 - Actions -------------------------------------------------------------------------------*/ - -#major-publishing-actions { - padding: 10px; - clear: both; - border-top: 1px solid #ddd; - background: #f5f5f5; -} - -#delete-action { - line-height: 28px; - vertical-align: middle; - text-align: right; - float: right; -} - -#publishing-action { - text-align: left; - float: left; - line-height: 23px; -} - -#publishing-action .spinner { - float: right; -} - -#misc-publishing-actions { - padding: 6px 0 0; -} - -.misc-pub-section { - padding: 6px 10px 8px; -} - -#minor-publishing-actions { - padding: 10px 10px 0 10px; - text-align: left; -} - -#save-post { - float: right; -} - -.preview { - float: left; -} - -#sticky-span { - margin-right: 18px; -} - -.side-info { - margin: 0; - padding: 4px; - font-size: 11px; -} - -.side-info h5 { - padding-bottom: 7px; - font-size: 14px; - margin: 12px 2px 5px; - border-bottom: 1px solid #dadada; -} - -.side-info ul { - margin: 0; - padding-right: 18px; - list-style: square; - color: #666; -} - -.approve, -.unapproved .unapprove { - display: none; -} - -.unapproved .approve, -.spam .approve, -.trash .approve { - display: inline; -} - -td.action-links, -th.action-links { - text-align: left; -} - -/* Filter bar */ -.wp-filter { - display: inline-block; - position: relative; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 12px 0 25px; - padding: 0 20px; - width: 100%; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - border: 1px solid #e5e5e5; - background: #fff; - color: #555; - font-size: 13px; -} - -.wp-filter a { - text-decoration: none; -} - -.filter-count { - display: inline-block; - vertical-align: middle; - min-width: 4em; -} - -.title-count, -.filter-count .count { - display: inline-block; - position: relative; - top: -1px; - padding: 4px 10px; - -webkit-border-radius: 30px; - border-radius: 30px; - background: #777; - color: #fff; - font-size: 14px; - font-weight: 600; -} - -/* not a part of filter bar, but derived from it, so here for now */ -.title-count { - display: inline; - top: -3px; - margin-right: 5px; - margin-left: 20px; -} - -.filter-links { - display: inline-block; - margin: 0; -} - -.filter-links li { - display: inline-block; - margin: 0; -} - -.filter-links li > a { - display: inline-block; - margin: 0 10px; - padding: 15px 0; - border-bottom: 4px solid #fff; - color: #666; - cursor: pointer; -} - -.filter-links .current { - -webkit-box-shadow: none; - box-shadow: none; - border-bottom: 4px solid #666; - color: #222; -} - -.filter-links li > a:hover, -.filter-links li > a:focus, -.show-filters .filter-links a.current:hover, -.show-filters .filter-links a.current:focus { - color: #2ea2cc; -} - -.wp-filter .search-form { - float: left; - margin-top: 9px; -} - -.wp-filter .search-form input[type="search"] { - margin: 0; - padding: 3px 5px; - width: 280px; - font-size: 16px; - font-weight: 300; - line-height: 1.5; -} - -.wp-filter .search-form select { - height: 33px; - vertical-align: top; -} - -.wp-filter .drawer-toggle { - display: inline-block; - margin: 0 10px; - padding: 4px 6px; - color: #666; - cursor: pointer; -} - -.wp-filter .drawer-toggle:before { - display: inline-block; - vertical-align: top; - content: "\f111"; - margin: 0 0 0 5px; - width: 16px; - height: 16px; - color: #777; - -webkit-transition: color .1s ease-in 0; - transition: color .1s ease-in 0; - font-family: "dashicons"; - font-size: 16px; - line-height: 1; - text-align: center; - text-decoration: inherit; - font-weight: normal; - font-style: normal; - -webkit-font-smoothing: antialiased; -} - -.wp-filter .drawer-toggle:hover, -.wp-filter .drawer-toggle:hover:before { - color: #2ea2cc; -} - -.wp-filter .drawer-toggle.current:before { - color: #fff; -} - -.filter-drawer { - display: none; - margin: 0 -20px; - padding: 20px; - border-top: 1px solid #eee; - background: #fafafa; -} - -.show-filters .filter-drawer { - display: block; - overflow: hidden; -} - -.show-filters .wp-filter .drawer-toggle:hover, -.show-filters .wp-filter .drawer-toggle:focus { - background: rgb(46, 162, 204); -} - -.show-filters .filter-links a.current { - border-bottom: none; -} - -.show-filters .wp-filter .drawer-toggle { - -webkit-border-radius: 2px; - border-radius: 2px; - border: none; - background: #777; - color: #fff; -} - -.show-filters .wp-filter .drawer-toggle:before { - color: #fff; -} - -.filter-group { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: right; - margin: 0 0 0 1%; - padding: 10px; - width: 19%; - background: #fff; - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); -} - -.filter-group.wide { - width: 38%; -} - -.filter-group h4 { - position: relative; - margin: 0; -} - -.filter-drawer ol { - margin: 20px 0 0; - list-style-type: none; - font-size: 12px; -} - -.filter-drawer li { - display: inline-block; - vertical-align: top; - margin: 5px 0; - padding-left: 25px; - width: 160px; - list-style-type: none; -} - -.filter-drawer .buttons { - margin-bottom: 20px; -} - -.filter-drawer .buttons .button span { - display: inline-block; - opacity: 0.8; - font-size: 12px; - text-indent: 10px; -} - -.wp-filter .button.clear-filters { - display: none; - margin: 0 10px 20px 0; -} - -.filtered-by { - display: none; - margin: 0; -} - -.filtered-by > span { - font-weight: 600; -} - -.filtered-by a { - margin-right: 10px; -} - -.filtered-by .tags { - display: inline; -} - -.filtered-by .tag { - margin: 0 5px; - padding: 4px 8px; - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - background: #fff; - font-size: 11px; -} - -.filters-applied .filter-group, -.filters-applied .filter-drawer .buttons, -.filters-applied .filter-drawer br { - display: none !important; -} - -.filters-applied .filtered-by { - display: block; -} - -.filters-applied .filter-drawer { - padding: 20px; -} - -.show-filters .content-filterable, -.show-filters.filters-applied.loading-content .content-filterable, -.loading-content .content-filterable, -.error .content-filterable { - display: none; -} - -.show-filters.filters-applied .content-filterable { - display: block; -} - -.loading-content .spinner { - display: block; - margin: 40px auto 0; - float: none; -} - -@media only screen and (max-width: 1120px) { - .wp-filter .search-form { - float: none; - margin: 20px 0; - } - - .filter-drawer { - border-bottom: 1px solid #eee; - } - - .filter-group { - margin-bottom: 0; - margin-top: 5px; - width: 100%; - } - - .filter-group li { - margin: 10px 0; - } -} - -@media only screen and (max-width: 782px) { - .filter-group, - .filter-group li { - width: 100%; - } - -} - - -/*------------------------------------------------------------------------------ - 4.0 - Notifications -------------------------------------------------------------------------------*/ - -#update-nag, -.update-nag { - display: inline-block; - line-height: 19px; - padding: 11px 15px; - font-size: 14px; - text-align: right; - margin: 25px 2px 0 20px; - background-color: #fff; - border-right: 4px solid #ffba00; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -.update-message { - color: #000; -} - -ul#dismissed-updates { - display: none; -} - -form.upgrade { - margin-top: 8px; -} - -form.upgrade .hint { - font-style: italic; - font-size: 85%; - margin: -0.5em 0 2em 0; -} - -.update-php .spinner { - float: none; - margin: -4px 0; -} - -#ajax-loading, -.ajax-loading, -.ajax-feedback, -.imgedit-wait-spin, -.list-ajax-loading { /* deprecated */ - visibility: hidden; -} - -#ajax-response.alignleft { - margin-right: 2em; -} - -/* @todo: this does not need its own section anymore */ -/*------------------------------------------------------------------------------ - 6.0 - Admin Header -------------------------------------------------------------------------------*/ -#adminmenu a, -#sidemenu a, -#taglist a, -#catlist a { - text-decoration: none; -} - -/*------------------------------------------------------------------------------ - 6.1 - Screen Options Tabs -------------------------------------------------------------------------------*/ - -#screen-options-wrap, -#contextual-help-wrap { - margin: 0; - padding: 8px 20px 12px; - position: relative; -} - -#contextual-help-wrap { - overflow: auto; - margin-right: 0 !important; -} - -#screen-meta .screen-reader-text { - visibility: hidden; -} - -#screen-meta-links { - margin: 0 0 0 20px; -} - -#screen-meta-links a { - padding: 3px 16px 3px 6px; -} - -#screen-meta-links a:focus { - outline: none; -} - -/* screen options and help tabs revert */ -#screen-meta { - display: none; - margin: 0 0px -1px 20px; - position: relative; - background-color: #fff; - border: 1px solid #ddd; - border-top: none; - -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.025); - box-shadow: 0 1px 0 rgba(0,0,0,.025); -} - -#screen-options-link-wrap, -#contextual-help-link-wrap { - float: left; - height: 28px; - margin: 0 6px 0 0; - border: 1px solid #ddd; - border-top: none; - background: #fff; - -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); - box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); -} - -#screen-meta-links .screen-meta-toggle { - position: relative; - top: 0; -} - -#screen-meta-links a { - color: #777; -} - -#screen-meta-links a:hover, -#screen-meta-links a:active, -#screen-meta-links a:focus { - color: #333; -} - -#screen-meta-links a.show-settings { - display: block; - font-size: 13px; - height: 22px; - line-height: 22px; - text-decoration: none; - z-index: 1; -} - -#screen-meta-links a:after { - left: 0; - content: '\f140'; - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 0 0 0 5px; - bottom: 2px; - position: relative; - vertical-align: bottom; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #bbb; -} - -#screen-meta-links a.screen-meta-active:after { - content: '\f142'; -} - -#screen-meta-links a.show-settings:hover { - text-decoration: none; -} -/* end screen options and help tabs */ - -.toggle-arrow { - background-repeat: no-repeat; - background-position: top right; - background-color: transparent; - height: 22px; - line-height: 22px; - display: block; -} - -.toggle-arrow-active { - background-position: bottom right; -} - -#screen-options-wrap h5, -#contextual-help-wrap h5 { - margin: 8px 0; - font-size: 13px; -} - -.metabox-prefs label { - display: inline-block; - padding-left: 15px; - line-height: 30px; -} - -.metabox-prefs label input[type=checkbox] { - margin-top: -4px; - margin-left: 6px; -} - -.metabox-prefs label input { - margin: 0 2px 0 5px; -} - -.metabox-prefs .columns-prefs label input { - margin: 0 2px; -} - -.metabox-prefs label a { - display: none; -} - -/*------------------------------------------------------------------------------ - 6.2 - Help Menu -------------------------------------------------------------------------------*/ - -#contextual-help-wrap { - padding: 0; -} - -#contextual-help-columns { - position: relative; -} - -#contextual-help-back { - position: absolute; - top: 0; - bottom: 0; - right: 150px; - left: 170px; - border: 1px solid #e1e1e1; - border-top: none; - border-bottom: none; - background: #f6fbfd; -} - -#contextual-help-wrap.no-sidebar #contextual-help-back { - left: 0; - border-left-width: 0; - -webkit-border-bottom-left-radius: 2px; - border-bottom-left-radius: 2px; -} - -.contextual-help-tabs { - float: right; - width: 150px; - margin: 0; -} - -.contextual-help-tabs ul { - margin: 1em 0; -} - -.contextual-help-tabs li { - margin-bottom: 0; - list-style-type: none; - border-style: solid; - border-width: 0 2px 0 0; - border-color: transparent; -} - -.contextual-help-tabs a { - display: block; - padding: 5px 12px 5px 5px; - line-height: 18px; - text-decoration: none; - border: 1px solid transparent; - border-left: none; - border-right: none; -} - -.contextual-help-tabs a:hover { - color: #333; -} - -.contextual-help-tabs .active { - padding: 0; - margin: 0 0 0 -1px; - border-right: 2px solid #2ea2cc; - background: #f6fbfd; - -webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02); - box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02); -} - -.contextual-help-tabs .active a { - border-color: #e1e1e1; - color: #333; -} - -.contextual-help-tabs-wrap { - padding: 0 20px; - overflow: auto; -} - -.help-tab-content { - display: none; - margin: 0 0 12px 22px; - line-height: 1.6em; -} - -.help-tab-content.active { - display: block; -} - -.help-tab-content ul li { - list-style-type: disc; - margin-right: 18px; -} - -.contextual-help-sidebar { - width: 150px; - float: left; - padding: 0 12px 0 8px; - overflow: auto; -} - -/*------------------------------------------------------------------------------ - 8.0 - Layout Blocks -------------------------------------------------------------------------------*/ - -html.wp-toolbar { - padding-top: 32px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.narrow { - width: 70%; - margin-bottom: 40px; -} - -.narrow p { - line-height: 150%; -} - -.widefat th, -.widefat td { - overflow: hidden; - color: #555; -} - -.widefat th { - font-weight: normal; -} - -.widefat thead tr th, -.widefat tfoot tr th { - color: #333; -} - -.widefat td p { - margin: 2px 0 0.8em; -} - -.widefat p, -.widefat ol, -.widefat ul { - color: #333; -} - -.widefat .column-comment p { - margin: 0.6em 0; -} - -/* Screens with postboxes */ -.postbox-container { - float: right; -} - -.postbox-container .meta-box-sortables { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -#wpbody-content .metabox-holder { - padding-top: 10px; -} - -.metabox-holder .postbox-container .empty-container { - border: 3px dashed #bbb; - height: 250px; -} - -.metabox-holder.columns-1 .postbox-container .empty-container, -.columns-2 #postbox-container-3 .empty-container, -.columns-2 #postbox-container-4 .empty-container, -.columns-3 #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; -} - -#post-body-content { - width: 100%; - min-width: 463px; - float: right; -} - -#post-body.columns-2 #postbox-container-1 { - float: left; - margin-left: -300px; - width: 280px; -} - -#post-body.columns-2 #side-sortables { - min-height: 250px; -} - -/* one column on the dash */ -@media only screen and (max-width: 799px) { - #wpbody-content .metabox-holder .postbox-container .empty-container { - border: 0 none; - height: 0; - min-height: 0; - } -} - -.js .widget .widget-top, -.js .postbox .hndle { - cursor: move; -} - -.hndle a { - font-size: 11px; - font-weight: normal; -} - -.postbox .handlediv { - float: left; - width: 27px; - height: 30px; -} - -.js .postbox .handlediv { - cursor: pointer; -} - -.sortable-placeholder { - border: 1px dashed #bbb; - margin-bottom: 20px; -} - -.postbox, -.stuffbox { - margin-bottom: 20px; - padding: 0; - line-height: 1; -} - -/* user-select is not a part of the CSS standard - may change behavior in the future */ -.postbox .hndle, -.stuffbox .hndle { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.postbox .inside, -.stuffbox .inside { - padding: 0 12px 12px; - line-height: 1.4em; - font-size: 13px; -} - -.postbox .inside { - margin: 11px 0; - position: relative; -} - -.postbox .inside > p:last-child, -.rss-widget ul li:last-child { - margin-bottom: 1px !important; -} - -.postbox.closed h3 { - border: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.postbox table.form-table { - margin-bottom: 0; -} - -.postbox table.widefat { - -webkit-box-shadow: none; - box-shadow: none; -} - -.temp-border { - border: 1px dotted #ccc; -} - -.columns-prefs label { - padding: 0 5px; -} - -/* @todo: what is this doing here */ -#dashboard_right_now .versions .b, -#post-status-display, -#post-visibility-display, -#adminmenu .wp-submenu li.current, -#adminmenu .wp-submenu li.current a, -#adminmenu .wp-submenu li.current a:hover, -.media-item .percent, -.plugins .name, -#pass-strength-result.strong, -#pass-strength-result.short, -#ed_reply_toolbar #ed_reply_strong, -.item-controls .item-order a, -.feature-filter .feature-name { - font-weight: 600; -} - -/*------------------------------------------------------------------------------ - 21.0 - Admin Footer -------------------------------------------------------------------------------*/ - -#wpfooter { - position: absolute; - bottom: 0; - right: 0; - left: 0; - padding: 10px 20px; - color: #777; -} - -#wpfooter p { - font-size: 13px; - margin: 0; - line-height: 20px; -} - -#footer-thankyou { - font-style: italic; -} - -#wpfooter a { - text-decoration: none; -} - -#wpfooter a:hover { - text-decoration: underline; -} - -/*------------------------------------------------------------------------------ - 25.0 - Tabbed Admin Screen Interface (Experimental) -------------------------------------------------------------------------------*/ - -.nav-tab { - border: 1px solid #ccc; - border-bottom: none; - background: #e4e4e4; - color: #555; - font-size: 12px; - line-height: 16px; - display: inline-block; - padding: 4px 14px 6px; - text-decoration: none; - margin: -4px 0 -1px 4px; -} - -.nav-tab:hover { - background-color: #fff; - color: #464646; -} - -.nav-tab-active { - color: #464646; -} - -.nav-tab-active, -.nav-tab-active:hover { - border-bottom: 1px solid #f1f1f1; - background: #f1f1f1; - color: #000; -} - -h2.nav-tab-wrapper, -h3.nav-tab-wrapper { - border-bottom: 1px solid #ccc; - padding-bottom: 0; - padding-right: 10px; -} - -h2 .nav-tab { - padding: 6px 10px; - font-weight: bold; - font-size: 15px; - line-height: 24px; -} - - -/*------------------------------------------------------------------------------ - 26.0 - Misc -------------------------------------------------------------------------------*/ - -.spinner { - background: url(../images/spinner.gif) no-repeat; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - display: none; - float: left; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 2px 5px 0; -} - -#template div { - margin-left: 190px; -} - -.metabox-holder h3 { - font-size: 14px; - padding: 8px 12px; - margin: 0; - line-height: 1.4; -} - -#templateside ul li a { - text-decoration: none; -} - -#sidemenu { - margin: -30px 315px 0 15px; - list-style: none; - position: relative; - float: left; - padding-right: 10px; - font-size: 12px; -} - -#sidemenu a { - padding: 0 7px; - display: block; - float: right; - line-height: 28px; - border-top: 1px solid #f9f9f9; - border-bottom: 1px solid #dfdfdf; - background-color: #f9f9f9; - -webkit-transition: none; - transition: none; -} - -#sidemenu li { - display: inline; - line-height: 200%; - list-style: none; - text-align: center; - white-space: nowrap; - margin: 0; - padding: 0; -} - -/* @todo: remove border radius */ -#sidemenu a.current { - font-weight: normal; - padding-right: 6px; - padding-left: 6px; - -webkit-border-top-right-radius: 3px; - border-top-right-radius: 3px; - -webkit-border-top-left-radius: 3px; - border-top-left-radius: 3px; - border: 1px solid #dfdfdf; - border-bottom-color: #f1f1f1; - background-color: #f1f1f1; - color: #000; -} - -#sidemenu li a .count-0 { - display: none; -} - -.plugin-install #description, -.plugin-install-network #description { - width: 60%; -} - -table .vers, -table .column-visible, -table .column-rating { - text-align: right; -} - -.error-message { - color: red; - font-weight: 600; -} - -/* Scrollbar fix for bulk upgrade iframe */ -body.iframe { - height: 98%; -} - -/* Upgrader styles, Specific to Language Packs */ -.lp-show-latest p { - display: none; -} -.lp-show-latest p:last-child, -.lp-show-latest .lp-error p { - display: block; -} - -/* - Only used once or twice in all of WP - deprecate for global style -------------------------------------------------------------------------------*/ -td.media-icon { - text-align: center; - width: 80px; - padding-top: 8px; - padding-bottom: 8px; -} - -td.media-icon img { - max-width: 80px; - max-height: 60px; -} - -td.image-icon img { - border: 1px solid rgba(0, 0, 0, 0.07); -} - -#howto { - font-size: 11px; - margin: 0 5px; - display: block; -} - -.importers td { - padding-left: 14px; -} - -.importers { - font-size: 16px; - width: auto; -} - -#post-body #post-body-content #namediv h3 { - margin-top: 0; -} - -#namediv h3 label { - vertical-align: baseline; -} - -#namediv table { - width: 100%; -} - -#namediv td.first { - width: 10px; - white-space: nowrap; -} - -#namediv input { - width: 98%; -} - -#namediv p { - margin: 10px 0; -} - -#submitdiv h3 { - margin-bottom: 0 !important; -} - -/* - Used - but could/should be deprecated with a CSS reset -------------------------------------------------------------------------------*/ -.zerosize { - height: 0; - width: 0; - margin: 0; - border: 0; - padding: 0; - overflow: hidden; - position: absolute; -} - -br.clear { - height: 2px; - line-height: 2px; -} - -.checkbox { - border: none; - margin: 0; - padding: 0; -} - -fieldset { - border: 0; - padding: 0; - margin: 0; -} - -.post-categories { - display: inline; - margin: 0; - padding: 0; -} - -.post-categories li { - display: inline; -} - -/* Star Ratings - Back-compat for pre-3.8 */ -div.star-holder { - position: relative; - height: 17px; - width: 100px; - background: url(../images/stars.png?ver=20121108) repeat-x bottom right; -} - -div.star-holder .star-rating { - background: url(../images/stars.png?ver=20121108) repeat-x top right; - height: 17px; - float: right; -} - -/* Star Ratings */ -.star-rating { - white-space: nowrap; -} -.star-rating .star { - display: inline-block; - width: 20px; - height: 20px; - -webkit-font-smoothing: antialiased; - font-size: 20px; - line-height: 1; - font-family: 'dashicons'; - text-decoration: inherit; - font-weight: normal; - font-style: normal; - vertical-align: top; - -webkit-transition: color .1s ease-in 0; - transition: color .1s ease-in 0; - text-align: center; - color: #0074a2; -} - -.star-rating .star-full:before { - content:'\f155'; -} - -.star-rating .star-half:before { - content:'\f459'; -} - -.rtl .star-rating .star-half { - -webkit-transform: rotateY(180deg); - -ms-transform: rotateY(180deg); - transform: rotateY(180deg); -} - -.star-rating .star-empty:before { - content:'\f154'; -} - -div.action-links { - font-weight: normal; - margin: 6px 0 0; -} - -/* Plugin install thickbox */ -#plugin-information { - background: #fff; - position: fixed; - top: 0; - left: 0; - bottom: 0; - right: 0; - height: 100%; - padding: 0; -} - -#plugin-information-scrollable { - overflow: auto; - height: 100%; -} - -#plugin-information-title { - padding: 0 20px; - background: #f5f5f5; - font-size: 22px; - font-weight: 600; - line-height: 56px; - position: relative; - top: 0; - left: 0; - right: 0; - height: 56px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#plugin-information-title.with-banner { - margin-left: 0; - height: 250px; - bottom: 250px; - -webkit-background-size: 100% auto; - background-size: 100% auto; -} - -#plugin-information-title h2 { - font-size: 1em; - font-weight: bold; - padding: 0; - margin: 0; - max-width: 680px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#plugin-information-title.with-banner h2 { - font-family: "Helvetica Neue", sans-serif; - display: inline-block; - font-size: 30px; - line-height: 50px; - padding: 0 15px; - margin: 174px 10px 0 0; - color: #fff; - background: rgba( 30, 30, 30, 0.9 ); - text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 ); - -webkit-box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 ); - box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 ); - -webkit-border-radius: 8px; - border-radius: 8px; -} - -#plugin-information-title div.vignette { - display: none; -} - -#plugin-information-title.with-banner div.vignette { - display: block; - float: left; - top: 0; - height: 250px; - width: 830px; - margin: 0 -20px; - background: transparent; - -webkit-box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); -} - -#plugin-information-tabs { - padding: 0 16px; - position: relative; - left: 0; - right: 0; - height: 36px; - z-index: 1; - border-bottom: 1px solid #ddd; - background: #f3f3f3; -} - -#plugin-information-tabs a { - position: relative; - float: right; - padding: 9px 10px; - margin: 0; - height: 18px; - line-height: 18px; - font-size: 14px; - text-decoration: none; - -webkit-transition: none; - transition: none; -} - -#plugin-information-tabs a.current { - margin: 0 -1px 0; - background: #fff; - border: 1px solid #ddd; - border-bottom-color: #fff; - padding-top: 8px; - color: #333; -} - -#plugin-information-tabs.with-banner a.current { - border-top: none; - padding-top: 9px; -} - -#plugin-information-tabs a:active, -#plugin-information-tabs a:focus { - outline: none; -} - -#plugin-information-content { - overflow: hidden; /* equal height column trick */ - background: #fff; - position: relative; - top: 0; - left: 0; - right: 0; - min-height: 100%; - /* Height of title + tabs + install now */ - min-height: -webkit-calc( 100% - 152px ); - min-height: calc( 100% - 152px ); -} - -#plugin-information-content.with-banner { - /* Height of banner + tabs + install now */ - min-height: -webkit-calc( 100% - 346px ); - min-height: calc( 100% - 346px ); -} - -#section-holder { - position: relative; - top: 0; - left: 250px; - bottom: 0; - right: 0; - margin-left: 250px; /* FYI box */ - padding: 10px 26px; - margin-bottom: -99930px; /* a bit less than the padding below to accommodate footer */ - padding-bottom: 99999px; /* equal height column trick */ -} - -#section-holder .updated { - margin: 16px 0; -} - -#plugin-information .fyi { - display: block; - float: left; - position: relative; - top: 0; - left: 0; - padding: 16px; - margin-bottom: -99930px; /* slightly less than the padding below to accommodate footer */ - padding-bottom: 99999px; /* equal height column trick */ - width: 217px; - border-right: 1px solid #ddd; - background: #f3f3f3; - color: #666; -} - -#plugin-information .fyi strong { - color: #464646; -} - -#plugin-information .fyi h3 { - font-weight: bold; - text-transform: uppercase; - font-size: 12px; - color: #666; - margin: 24px 0 8px; -} - -#plugin-information .fyi h2 { - font-size: 0.9em; - margin-bottom: 0; - margin-left: 0; -} - -#plugin-information .fyi ul { - padding: 0; - margin: 0; - list-style: none; -} - -#plugin-information .fyi li { - margin: 0 0 10px; -} - -#plugin-information .counter-container { - margin: 3px 0; -} - -#plugin-information .counter-label { - float: right; - margin-left: 5px; - min-width: 55px; -} - -#plugin-information .counter-back { - height: 17px; - width: 92px; - background-color: #ececec; - float: right; -} - -#plugin-information .counter-bar { - height: 17px; - background-color: #fddb5a; - float: right; -} - -#plugin-information .counter-count { - margin-right: 5px; -} - -#plugin-information .fyi ul.contributors { - margin-top: 10px; -} - -#plugin-information .fyi ul.contributors li { - display: inline-block; - margin-left: 8px; - vertical-align: middle; -} - -#plugin-information .fyi ul.contributors li { - display: inline-block; - margin-left: 8px; - vertical-align: middle; -} - -#plugin-information .fyi ul.contributors li img { - vertical-align: middle; - margin-left: 4px; -} - -#plugin-information-footer { - padding: 15px 16px; - position: absolute; - left: 0; - bottom: 0; - right: 0; - height: 28px; - border-top: 1px solid #ddd; - background: #f3f3f3; -} - -/* @noflip */ -#plugin-information .section { - direction: ltr; -} - -/* @noflip */ -#plugin-information .section ul, -#plugin-information .section ol { - list-style-type: disc; - margin-left: 24px; -} - -#plugin-information .section, -#plugin-information .section p { - font-size: 14px; - line-height: 1.7; -} - -#plugin-information #section-screenshots ol { - list-style: none; - margin: 0; -} - -#plugin-information #section-screenshots li img { - vertical-align: text-top; - margin-top: 16px; - max-width: 100%; - width: auto; - height: auto; - -webkit-box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 ); -} - -/* @noflip */ -#plugin-information #section-screenshots li p { - font-style: italic; - padding-left: 20px; -} - -#plugin-information pre { - padding: 7px; - overflow: auto; - border: 1px solid #ccc; -} - -/* @noflip */ -#plugin-information .review { - overflow: hidden; /* clearfix */ - width: 100%; - margin-bottom: 20px; - border-bottom: 1px solid #e6e6e6; -} - -#plugin-information .review-title-section { - overflow: hidden; /* clearfix */ -} - -/* @noflip */ -#plugin-information .review-title-section h4 { - display: inline-block; - float: left; - margin: 0 6px 0 0; -} - -#plugin-information .reviewer-info p { - clear: both; - margin: 0; - padding-top: 2px; -} - -/* @noflip */ -#plugin-information .reviewer-info .avatar { - float: left; - margin: 4px 6px 0 0; -} - -/* @noflip */ -#plugin-information .reviewer-info .star-rating { - float: left; -} - -/* @noflip */ -#plugin-information .review-meta { - float: left; - margin-left: 0.75em; -} - -/* @noflip */ -#plugin-information .review-body { - float: left; - width: 100%; -} - -.plugin-version-author-uri { - font-size: 13px; -} - -@media screen and ( max-width: 771px ) { - #plugin-information-title.with-banner { - height: 100px; - bottom: 100px; - } - - #plugin-information-title.with-banner h2 { - margin-top: 30px; - font-size: 20px; - line-height: 40px; - max-width: 85%; - } - - #plugin-information-title.with-banner div.vignette { - height: 100px; - bottom: 100px; - width: 800%; - } - - #plugin-information-tabs { - overflow: hidden; /* clearfix */ - padding: 0; - height: auto; /* let tabs wrap */ - } - - #plugin-information-tabs a.current { - margin-bottom: 0; - border-bottom: none; - } - - #plugin-information .fyi { - float: none; - border: 1px solid #ddd; - position: static; - width: auto; - margin: 26px 26px 0; - padding-bottom: 0; /* reset from the two column height fix */ - } - - #section-holder { - position: static; - margin: 0; - padding-bottom: 70px; /* reset from the two column height fix, plus accomodate footer */ - } - - #plugin-information .fyi h3, - #plugin-information .fyi small { - display: none; - } - - #plugin-information-footer { - padding: 12px 16px 0; - height: 46px; - } -} - -/* Thickbox for Plugin Install screen */ -body.plugin-install-php #TB_window, -body.import-php #TB_window, -body.plugins-php #TB_window, -body.update-core-php #TB_window, -body.index-php #TB_window { - background: #fcfcfc url( ../images/spinner.gif ) no-repeat center; -} - -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - body.plugin-install-php #TB_window, - body.import-php #TB_window, - body.plugins-php #TB_window, - body.update-core-php #TB_window, - body.index-php #TB_window { - background: #fcfcfc url( ../images/spinner-2x.gif ) no-repeat center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - } -} - -body.plugin-install-php #TB_title, -body.import-php #TB_title, -body.plugins-php #TB_title, -body.update-core-php #TB_title, -body.index-php #TB_title { - float: right; - height: 1px; -} - -body.plugin-install-php #TB_ajaxWindowTitle, -body.import-php #TB_ajaxWindowTitle, -body.plugins-php #TB_ajaxWindowTitle, -body.update-core-php #TB_ajaxWindowTitle, -body.index-php #TB_ajaxWindowTitle { - display: none; -} - -body.plugin-install-php .tb-close-icon, -body.import-php .tb-close-icon, -body.plugins-php .tb-close-icon, -body.update-core-php .tb-close-icon, -body.index-php .tb-close-icon { - right: auto; - left: -30px; - color: #eee; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -body.plugin-install-php #TB_closeWindowButton:focus, -body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon, -body.plugin-install-php .tb-close-icon:focus, -body.plugin-install-php .tb-close-icon:hover, -body.import-php #TB_closeWindowButton:focus, -body.import-php #TB_closeWindowButton:focus .tb-close-icon, -body.import-php .tb-close-icon:focus, -body.import-php .tb-close-icon:hover, -body.plugins-php #TB_closeWindowButton:focus, -body.plugins-php #TB_closeWindowButton:focus .tb-close-icon, -body.plugins-php .tb-close-icon:focus, -body.plugins-php .tb-close-icon:hover, -body.update-core-php #TB_closeWindowButton:focus, -body.update-core-php #TB_closeWindowButton:focus .tb-close-icon, -body.update-core-php .tb-close-icon:focus, -body.update-core-php .tb-close-icon:hover, -body.index-php #TB_closeWindowButton:focus, -body.index-php #TB_closeWindowButton:focus .tb-close-icon, -body.index-php .tb-close-icon:focus, -body.index-php .tb-close-icon:hover { - color: #2ea2cc; - outline: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -body.plugin-install-php .tb-close-icon:before, -body.import-php .tb-close-icon:before, -body.plugins-php .tb-close-icon:before, -body.update-core-php .tb-close-icon:before, -body.index-php .tb-close-icon:before { - content: "\f335"; - font-size: 32px; -} - -/* move plugin install close icon to top on narrow screens */ -@media screen and ( max-width: 830px ) { - body.plugin-install-php .tb-close-icon, - body.import-php .tb-close-icon, - body.plugins-php .tb-close-icon, - body.update-core-php .tb-close-icon, - body.index-php .tb-close-icon { - left: 0; - top: -30px; - } -} - -/* @todo: move this. */ -img { - border: none; -} - -/* Header */ -/* @todo: are these also specific to Press This? */ -#wphead { - border-bottom: 1px solid #dfdfdf; -} - -#wphead h1 a { - color: #464646; -} - -/* @todo: these seem misplaced */ -.js .meta-box-sortables .postbox:hover .handlediv { - margin-left: 0 !important; -} - -/* Metabox collapse arrow indicators */ -.js .sidebar-name .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox .handlediv:before { - left: 12px; - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 8px 10px; - top: 0; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -.js #widgets-left .sidebar-name .sidebar-name-arrow { - display: none; -} - -.js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow, -.js #widgets-left .sidebar-name:hover .sidebar-name-arrow { - display: block; -} - -/* Show the arrow only on hover */ -.js .sidebar-name .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox .handlediv:before { - content: '\f142'; -} - -.js .widgets-holder-wrap.closed .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox.closed .handlediv:before { - content: '\f140'; -} - -.error a { - text-decoration: underline; -} - -.updated a { - text-decoration: none; - padding-bottom: 2px; -} - -/* @todo: appears to be Press This only and overridden */ -#photo-add-url-div input[type="text"] { - width: 300px; -} - -/* Theme/Plugin Editor */ -.alignleft h3 { - margin: 0; -} - -#template textarea { - font-family: Consolas, Monaco, monospace; - font-size: 13px; - width: 97%; - background: #f9f9f9; - outline: none; -} - -/* @noflip */ -#template textarea, -#docs-list { - direction: ltr; -} - -#template p { - width: 97%; -} - -#templateside { - float: left; - width: 190px; - word-wrap: break-word; -} - -#templateside h3, -#postcustomstuff p.submit { - margin: 0; -} - -#templateside h4 { - margin: 1em 0 0; -} - -#templateside ol, -#templateside ul { - margin: .5em 0; - padding: 0; -} - -#templateside li { - margin: 4px 0; -} - -#templateside a, -.theme-editor-php .highlight { - display: block; - padding: 3px 12px 3px 3px; - text-decoration: none; -} - -.theme-editor-php .highlight { - margin: -3px -12px -3px 3px; -} - -#templateside .highlight { - border: none; - font-weight: bold; -} - -.nonessential { - color: #666; - font-size: 11px; - font-style: italic; - padding-right: 12px; -} - -#documentation { - margin-top: 10px; -} - -#documentation label { - line-height: 22px; - vertical-align: baseline; - font-weight: 600; -} - -.fileedit-sub { - padding: 10px 0 8px; - line-height: 180%; -} - -/* @todo: can we use a common class for these? */ -.nav-menus-php .item-edit:before, -.widget-top a.widget-action:after, -.control-section .accordion-section-title:after, -.accordion-section-title:after { - left: 0; - content: '\f140'; - border: none; - background: none; - font: normal 20px/1 'dashicons'; - speak: none; - display: block; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -.widget-action, -.handlediv, -.item-edit, -.sidebar-name-arrow, -.accordion-section-title:after { - color: #aaa; -} - -.widget-action:hover, -.handlediv:hover, -.item-edit:hover, -.sidebar-name:hover .sidebar-name-arrow, -.accordion-section-title:hover:after { - color: #777; -} - -.widget-top a.widget-action:after { - padding: 12px 12px 0; -} - -.nav-menus-php .item-edit:before { - line-height: 2.1; -} - -.control-section .accordion-section-title:after, -.accordion-section-title:after { - float: left; - left: 20px; - top: -2px; -} - -.control-section.open .accordion-section-title:after, -#customize-info.open .accordion-section-title:after, -.nav-menus-php .menu-item-edit-active .item-edit:before, -.widget.open .widget-top a.widget-action:after { - content: '\f142'; -} - -/* Enable draggable on IE10 touch events until it's rolled into jQuery UI core */ -.ui-sortable, -.ui-draggable { - -ms-touch-action: none; - touch-action: none; -} - -.meta-box-sortables.ui-sortable, -.widgets-holder-wrap .ui-draggable, -.widgets-holder-wrap .ui-sortable, -.menu.ui-sortable { - -ms-touch-action: auto; - touch-action: auto; -} - -.meta-box-sortables.ui-sortable .hndle, -.menu.ui-sortable .menu-item-handle { - -ms-touch-action: none; - touch-action: none; -} - -/* Accordion */ - -.accordion-section { - border-bottom: 1px solid #dfdfdf; - margin: 0; -} - -.accordion-section.open .accordion-section-content, -.no-js .accordion-section .accordion-section-content { - display: block; -} - -.accordion-section.open:hover { - border-bottom-color: #dfdfdf; -} - -.accordion-section-content { - display: none; - padding: 10px 20px 15px; - overflow: hidden; - background: #fff; -} - -.accordion-section-title { - margin: 0; - padding: 12px 15px 15px; - position: relative; - border-right: 1px solid #dfdfdf; - border-left: 1px solid #dfdfdf; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.js .accordion-section-title { - cursor: pointer; -} - -.js .accordion-section-title:after { - position: absolute; - top: 12px; - left: 10px; - z-index: 1; -} - -.accordion-section-title:focus { - outline: none; -} - -.accordion-section-title:hover:after, -.accordion-section-title:focus:after { - border-color: #aaa transparent; -} - -.cannot-expand .accordion-section-title { - cursor: auto; -} - -.cannot-expand .accordion-section-title:after { - display: none; -} - -.control-section .accordion-section-title { - border-right: none; - border-left: none; - padding: 10px 14px 11px 10px; - line-height: 21px; - background: #fff; -} - -.control-section .accordion-section-title:after { - top: 11px; -} - -.js .control-section:hover .accordion-section-title, -.js .control-section .accordion-section-title:hover, -.js .control-section.open .accordion-section-title, -.js .control-section .accordion-section-title:focus { - color: #222; - background: #f5f5f5; -} - -.control-section.open .accordion-section-title { - /* When expanded */ - border-bottom: 1px solid #dfdfdf; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/* @todo: de-duplication */ -@media only screen and (min-width: 769px) { - /* categories */ - #col-left { - width: 35%; - } - - #col-right { - width: 65%; - } -} - -@media only screen and (max-width: 860px) { - - /* categories */ - #col-left { - width: 35%; - } - - #col-right { - width: 65%; - } -} - -@media only screen and (min-width: 980px) { - - /* categories */ - #col-left { - width: 35%; - } - - #col-right { - width: 65%; - } -} - -@media only screen and (max-width: 768px) { - /* categories */ - #col-left { - width: 100%; - } - - #col-right { - width: 100%; - } -} - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - /* Back-compat for pre-3.8 */ - div.star-holder, - div.star-holder .star-rating { - background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom right; - -webkit-background-size: 21px 37px; - background-size: 21px 37px; - } - - .spinner { - background-image: url(../images/spinner-2x.gif); - } - - /* @todo: evaluate - most of these were likely replaced by dashicons */ - .curtime #timestamp, - #screen-meta-links a.show-settings, - .widget-top a.widget-action, - .widget-top a.widget-action:hover, - .sidebar-name-arrow, - .sidebar-name:hover .sidebar-name-arrow, - .meta-box-sortables .postbox:hover .handlediv, - .tagchecklist span a, - #bulk-titles div a, - .tagchecklist span a:hover, - #bulk-titles div a:hover { - background: none !important; - } - -} - -@-ms-viewport { - width: device-width; -} - -@media screen and ( max-width: 782px ) { - html.wp-toolbar { - padding-top: 46px; - } - - body { - min-width: 240px; - overflow-x: hidden; - } - - body * { - -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; - } - - #wpcontent { - position: relative; - margin-right: 0; - padding-right: 10px; - } - - #wpbody-content { - padding-bottom: 100px; - } - - .wrap { - margin-left: 12px; - margin-right: 0; - } - - .col-wrap { - padding: 0; - } - - /* Hidden Elements */ - #screen-meta, - #screen-meta-links, - #collapse-menu, - .post-format-select { - display: none !important; - } - - .wrap .add-new-h2, .wrap .add-new-h2:active { - padding: 10px 15px; - font-size: 14px; - } - - .wp-color-result { - height: auto; - padding-right: 45px; - } - - .wp-color-result:after { - font-size: 14px; - height: auto; - padding: 6px 14px; - } - - /* Feedback Messages */ - .wrap div.updated, .wrap div.error, .media-upload-form div.error { - margin: 20px 0 10px 0; - padding: 5px 10px; - font-size: 14px; - line-height: 175%; - } - - .wrap .icon32 + h2 { - margin-top: -2px; - } - - .wp-responsive-open #wpbody { - left: -190px; - } - - code { - word-wrap: break-word; - } - - /* General Metabox */ - .postbox { - font-size: 14px; - } - - .metabox-holder h3 { - padding: 12px; - } - - .postbox .handlediv { - margin-top: 3px; - } - - /* Subsubsub Nav */ - .subsubsub { - font-size: 16px; - text-align: center; - margin-bottom: 15px; - } - - /* Theme/Plugin File Editor */ - #templateside { - float: none; - width: auto; - } - - #templateside li { - margin: 0; - } - - #templateside li a { - display: block; - padding: 5px; - } - - #templateside .highlight { - padding: 5px; - margin-right: -5px; - margin-top: -5px; - } - - #template div { - float: none; - margin: 0; - width: auto; - } - - #template textarea { - width: 100%; - } - - .fileedit-sub .alignright { - margin-top: 15px; - } - - #wpfooter { - display: none; - } - - #comments-form .checkforspam { - display: none; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Disable horizontal scroll when responsive menu is open - since we push the main content off to the right. */ - #wpwrap.wp-responsive-open { - overflow-x: hidden; - } - - html.wp-toolbar { - padding-top: 0; - } - - #wpbody { - padding-top: 46px; - } - - /* Keep full-width boxes on Edit Post page from causing horizontal scroll */ - div#post-body.metabox-holder.columns-1 { - overflow-x: hidden; - } -} diff --git a/sources/wordpress/wp-admin/css/common.css b/sources/wordpress/wp-admin/css/common.css deleted file mode 100644 index a995ee4..0000000 --- a/sources/wordpress/wp-admin/css/common.css +++ /dev/null @@ -1,3210 +0,0 @@ -/* 2 column liquid layout */ -#wpwrap { - height: auto; - min-height: 100%; - width: 100%; - position: relative; - -webkit-font-smoothing: subpixel-antialiased; -} - -#wpcontent { - height: 100%; - padding-left: 20px; -} - -#wpcontent, -#wpfooter { - margin-left: 160px; -} - -.folded #wpcontent, -.folded #wpfooter { - margin-left: 36px; -} - -#wpbody-content { - padding-bottom: 65px; - float: left; - width: 100%; - overflow: visible !important; -} - -/* inner 2 column liquid layout */ - -.inner-sidebar { - float: right; - clear: right; - display: none; - width: 281px; - position: relative; -} - -.columns-2 .inner-sidebar { - margin-right: auto; - width: 286px; - display: block; -} - -.inner-sidebar #side-sortables, -.columns-2 .inner-sidebar #side-sortables { - min-height: 300px; - width: 280px; - padding: 0; -} - -.has-right-sidebar .inner-sidebar { - display: block; -} - -.has-right-sidebar #post-body { - float: left; - clear: left; - width: 100%; - margin-right: -2000px; -} - -.has-right-sidebar #post-body-content { - margin-right: 300px; - float: none; - width: auto; -} - -/* 2 columns main area */ - -#col-container, -#col-left, -#col-right { - overflow: hidden; - padding: 0; - margin: 0; -} - -#col-left { - width: 35%; -} - -#col-right { - float: right; - clear: right; - width: 65%; -} - -.col-wrap { - padding: 0 7px; -} - -/* utility classes */ -.alignleft { - float: left; -} - -.alignright { - float: right; -} - -.textleft { - text-align: left; -} - -.textright { - text-align: right; -} - -.clear { - clear: both; -} - -/* Hide visually but not from screen readers */ -.screen-reader-text, -.screen-reader-text span, -.ui-helper-hidden-accessible { - position: absolute; - margin: -1px; - padding: 0; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(0 0 0 0); - border: 0; -} - -.screen-reader-shortcut { - position: absolute; - top: -1000em; -} - -.screen-reader-shortcut:focus { - left: 6px; - top: -25px; - height: auto; - width: auto; - display: block; - font-size: 14px; - font-weight: 600; - padding: 15px 23px 14px; - background: #f1f1f1; - color: #21759b; - z-index: 100000; - line-height: normal; - -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6); - box-shadow: 0 0 2px 2px rgba(0,0,0,.6); - text-decoration: none; - outline: none; -} - -.hidden, -.js .closed .inside, -.js .hide-if-js, -.no-js .hide-if-no-js, -.js.wp-core-ui .hide-if-js, -.js .wp-core-ui .hide-if-js, -.no-js.wp-core-ui .hide-if-no-js, -.no-js .wp-core-ui .hide-if-no-js { - display: none; -} - -/* @todo: Take a second look. Large chunks of shared color, from the colors.css merge */ -.widget-top, -.menu-item-handle, -.widget-inside, -#menu-settings-column .accordion-container, -#menu-management .menu-edit, -.manage-menus, -table.widefat, -.stuffbox, -p.popular-tags, -.widgets-holder-wrap, -.wp-editor-container, -.popular-tags, -.feature-filter, -.imgedit-group { - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); -} - -table.widefat, -.wp-editor-container, -.stuffbox, -p.popular-tags, -.widgets-holder-wrap, -.popular-tags, -.feature-filter, -.imgedit-group { - background: #fff; -} - -/* general */ -html, -body { - height: 100%; - margin: 0; - padding: 0; -} - -html { - background: #f1f1f1; -} - -body { - color: #444; - font-family: "Open Sans", sans-serif; - font-size: 13px; - line-height: 1.4em; - min-width: 600px; -} - -body.iframe { - min-width: 0; - padding-top: 1px; -} - -body.modal-open { - overflow: hidden; -} - -iframe, -img { - border: 0; -} - -td { - font-family: inherit; - font-size: inherit; - font-weight: inherit; - line-height: inherit; -} - -a { - color: #0074a2; - -webkit-transition-property: border, background, color; - transition-property: border, background, color; - -webkit-transition-duration: .05s; - transition-duration: .05s; - -webkit-transition-timing-function: ease-in-out; - transition-timing-function: ease-in-out; -} - -a, -div { - outline: 0; -} - -a:hover, -a:active { - color: #2ea2cc; -} - -a:focus { - color: #124964; - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -.ie8 a:focus { - outline: #5b9dd9 solid 1px; -} - -#adminmenu a:focus, -.screen-reader-text:focus { - -webkit-box-shadow: none; - box-shadow: none; - outline: none; -} - -blockquote, -q { - quotes: none; -} - -blockquote:before, -blockquote:after, -q:before, -q:after { - content: ''; - content: none; -} - -p { - font-size: 13px; - line-height: 1.5; - margin: 1em 0; -} - -blockquote { - margin: 1em; -} - -li, -dd { - margin-bottom: 6px; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - display: block; - font-weight: 600; -} - -h1 { - font-size: 2em; - margin: .67em 0; -} - -h2 { - color: #222; - font-size: 1.5em; - margin: .83em 0; - font-weight: 400; -} - -h3 { - color: #222; - font-size: 1.3em; - margin: 1em 0; -} - -h4 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.67em; - margin: 2.33em 0; -} - -ul, -ol { - padding: 0; -} - -ul { - list-style: none; -} - -ol { - list-style-type: decimal; - margin-left: 2em; -} - -ul.ul-disc { - list-style: disc outside; -} - -ul.ul-square { - list-style: square outside; -} - -ol.ol-decimal { - list-style: decimal outside; -} - -ul.ul-disc, -ul.ul-square, -ol.ol-decimal { - margin-left: 1.8em; -} - -ul.ul-disc > li, -ul.ul-square > li, -ol.ol-decimal > li { - margin: 0 0 0.5em; -} - -/* @noflip */ -.ltr { - direction: ltr; -} - -/* @noflip */ -.code, -code { - font-family: Consolas, Monaco, monospace; - direction: ltr; -} - -kbd, -code { - padding: 3px 5px 2px 5px; - margin: 0 1px; - background: #eaeaea; - background: rgba(0,0,0,0.07); - font-size: 13px; -} - -.subsubsub { - list-style: none; - margin: 8px 0 0; - padding: 0; - font-size: 13px; - float: left; - color: #666; -} - -.subsubsub a { - line-height: 2; - padding: .2em; - text-decoration: none; -} - -.subsubsub a .count, -.subsubsub a.current .count { - color: #999; - font-weight: normal; -} - -.subsubsub a.current { - font-weight: 600; - border: none; -} - -.subsubsub li { - display: inline-block; - margin: 0; - padding: 0; - white-space: nowrap; -} - -/* .widefat - main style for tables */ -.widefat { - border-spacing: 0; - width: 100%; - clear: both; - margin: 0; -} - -.widefat * { - word-wrap: break-word; -} - -.widefat a { - text-decoration: none; -} - -.widefat td, -.widefat th { - padding: 8px 10px; -} - -.widefat thead th { - border-bottom: 1px solid #e1e1e1; -} - -.widefat tfoot th { - border-top: 1px solid #e1e1e1; - border-bottom: none; -} - -.widefat .no-items td { - border-bottom-width: 0; -} - -.widefat td { - vertical-align: top; -} - -.widefat td, -.widefat td p, -.widefat td ol, -.widefat td ul { - font-size: 13px; - line-height: 1.5em; -} - -.widefat th { - text-align: left; - line-height: 1.3em; - font-size: 14px; -} - -.widefat th input { - margin: 0 0 0 8px; - padding: 0; - vertical-align: text-top; -} - -.widefat .check-column { - width: 2.2em; - padding: 6px 0 25px; - vertical-align: top; -} - -.widefat th input[type=checkbox] { - margin-top: -1px; -} - -.widefat tbody th.check-column { - padding: 9px 0 22px; -} - -.widefat.media .check-column { - padding-top: 8px; -} - -.widefat thead th.check-column, -.widefat tbody th.check-column, -.widefat tfoot th.check-column { - padding: 11px 0 0 3px; -} - -.widefat thead th.check-column { - padding-top: 10px; -} - -.update-php div.updated, -.update-php div.error { - margin-left: 0; -} - -.no-js .widefat thead .check-column input, -.no-js .widefat tfoot .check-column input { - display: none; -} - -.widefat .num, -.column-comments, -.column-links, -.column-posts { - text-align: center; -} - -.widefat th#comments { - vertical-align: middle; -} - -.wrap { - margin: 10px 20px 0 2px; -} - -div.updated, -div.error { - padding: 0 0.6em; - margin: 5px 15px 2px; -} - -div.updated p, -div.error p { - margin: 0.5em 0; - padding: 2px; -} - -.wrap div.updated, -.wrap div.error, -.media-upload-form div.error { - margin: 5px 0 15px; -} - -div.updated { - border-left: 4px solid #7ad03a; - padding: 1px 12px; - background-color: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -div.error { - border-left: 4px solid #dd3d36; - background: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - padding: 1px 12px; -} - -.attention { - color: #2ea2cc; -} - -.wrap h2, -.subtitle { - font-weight: normal; - margin: 0; -} - -.wrap h2 { - font-size: 23px; - font-weight: 400; - padding: 9px 15px 4px 0; - line-height: 29px; -} - -.subtitle { - color: #777; - font-size: 14px; - padding-left: 25px; -} - -.wrap .add-new-h2, -.wrap .add-new-h2:active { - margin-left: 4px; - padding: 4px 8px; - position: relative; - top: -3px; - text-decoration: none; - border: none; - -webkit-border-radius: 2px; - border-radius: 2px; - background: #e0e0e0; - text-shadow: none; - font-weight: 600; - font-size: 13px; -} - -.wrap .add-new-h2:hover { - background: #2ea2cc; - color: #fff; -} - -.wrap h2.long-header { - padding-right: 0; -} - -.wp-dialog { - background-color: #fff; -} - -.widgets-chooser ul, -#widgets-left .widget-in-question .widget-top, -#available-widgets .widget-top:hover, -div#widgets-right .widget-top:hover, -#widgets-left .widget-top:hover { - border-color: #999; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1); - box-shadow: 0 1px 2px rgba(0,0,0,0.1); -} - -.sorthelper { - background-color: #ccf3fa; -} - -.ac_match, -.subsubsub a.current { - color: #000; -} - -.alternate, -.alt { - background-color: #f9f9f9; -} - -.bar { - background-color: #e8e8e8; - border-right-color: #99d; -} - -.media-upload-form label.form-help, -td.help { - color: #9a9a9a; -} - -/* Helper classes for plugins to leverage the active WordPress color scheme */ - -.highlight { - background-color: #e4f2fd; - color: #000; -} - -.wp-ui-primary { - color: #fff; - background-color: #333; -} -.wp-ui-text-primary { - color: #333; -} - -.wp-ui-highlight { - color: white; - background-color: #1e8cbe; -} -.wp-ui-text-highlight { - color: #1e8cbe; -} - -.wp-ui-notification { - color: #fff; - background-color: #d54e21; -} -.wp-ui-text-notification { - color: #d54e21; -} - -.wp-ui-text-icon { - color: #999; -} - -/*------------------------------------------------------------------------------ - 1.0 - Text Styles -------------------------------------------------------------------------------*/ - -.widget .widget-top, -.postbox .hndle, -.stuffbox .hndle, -.control-section .accordion-section-title, -.sidebar-name, -#nav-menu-header, -#nav-menu-footer, -.menu-item-handle, -.checkbox, -.side-info, -#your-profile #rich_editing, -.widefat thead th, -.widefat tfoot th { - line-height: 1.4em; -} - -.widget .widget-top, -.menu-item-handle { - background: #fafafa; - color: #222; -} - -.postbox .hndle, -.stuffbox .hndle { - border-bottom: 1px solid #eee; -} - -.quicktags, -.search { - background-color: #ccc; - color: #000; - font-size: 12px; -} - -.icon32 { - display: none; -} - -/* @todo can we combine these into a class or use an existing dashicon one? */ -#welcome-panel.welcome-panel .welcome-panel-close:before, -.tagchecklist span a:before, -#bulk-titles div a:before { - background: none; - color: #bbb; - content: '\f153'; - display: block !important; - font: normal 16px/1 'dashicons'; - speak: none; - height: 20px; - text-align: center; - width: 20px; - -webkit-font-smoothing: antialiased !important; -} - -#welcome-panel.welcome-panel .welcome-panel-close:before { - margin: 0; -} - -.tagchecklist span a:before, -#bulk-titles div a:before { - margin: 2px 0; -} - -#welcome-panel.welcome-panel .welcome-panel-close:hover:before, -.tagchecklist span a:hover:before, -#bulk-titles div a:hover:before { - color: #c00; -} - -.key-labels label { - line-height: 24px; -} - -strong, b { - font-weight: 600; -} - -.pre { - /* https://developer.mozilla.org/en-US/docs/CSS/white-space */ - white-space: pre-wrap; /* css-3 */ - word-wrap: break-word; /* IE 5.5 - 7 */ -} - -.howto { - color: #666; - font-style: italic; - display: block; -} - -p.install-help { - margin: 8px 0; - font-style: italic; -} - -.no-break { - white-space: nowrap; -} - -hr { - border: 0; - border-top: 1px solid #ddd; - border-bottom: 1px solid #fafafa; -} - -.row-actions span.delete a, -.row-actions span.trash a, -.row-actions span.spam a, -.plugins a.delete, -#all-plugins-table .plugins a.delete, -#search-plugins-table .plugins a.delete, -.submitbox .submitdelete, -#media-items a.delete, -#media-items a.delete-permanently, -#nav-menu-footer .menu-delete { - color: #a00; -} - -abbr.required, -.file-error, -.widget-control-remove:hover, -.row-actions .delete a:hover, -.row-actions .trash a:hover, -.row-actions .spam a:hover, -.plugins a.delete:hover, -#all-plugins-table .plugins a.delete:hover, -#search-plugins-table .plugins a.delete:hover, -.submitbox .submitdelete:hover, -#media-items a.delete:hover, -#media-items a.delete-permanently:hover, -#nav-menu-footer .menu-delete:hover { - color: #f00; - text-decoration: none; - border: none; -} - -/*------------------------------------------------------------------------------ - 3.0 - Actions -------------------------------------------------------------------------------*/ - -#major-publishing-actions { - padding: 10px; - clear: both; - border-top: 1px solid #ddd; - background: #f5f5f5; -} - -#delete-action { - line-height: 28px; - vertical-align: middle; - text-align: left; - float: left; -} - -#publishing-action { - text-align: right; - float: right; - line-height: 23px; -} - -#publishing-action .spinner { - float: left; -} - -#misc-publishing-actions { - padding: 6px 0 0; -} - -.misc-pub-section { - padding: 6px 10px 8px; -} - -#minor-publishing-actions { - padding: 10px 10px 0 10px; - text-align: right; -} - -#save-post { - float: left; -} - -.preview { - float: right; -} - -#sticky-span { - margin-left: 18px; -} - -.side-info { - margin: 0; - padding: 4px; - font-size: 11px; -} - -.side-info h5 { - padding-bottom: 7px; - font-size: 14px; - margin: 12px 2px 5px; - border-bottom: 1px solid #dadada; -} - -.side-info ul { - margin: 0; - padding-left: 18px; - list-style: square; - color: #666; -} - -.approve, -.unapproved .unapprove { - display: none; -} - -.unapproved .approve, -.spam .approve, -.trash .approve { - display: inline; -} - -td.action-links, -th.action-links { - text-align: right; -} - -/* Filter bar */ -.wp-filter { - display: inline-block; - position: relative; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 12px 0 25px; - padding: 0 20px; - width: 100%; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - border: 1px solid #e5e5e5; - background: #fff; - color: #555; - font-size: 13px; -} - -.wp-filter a { - text-decoration: none; -} - -.filter-count { - display: inline-block; - vertical-align: middle; - min-width: 4em; -} - -.title-count, -.filter-count .count { - display: inline-block; - position: relative; - top: -1px; - padding: 4px 10px; - -webkit-border-radius: 30px; - border-radius: 30px; - background: #777; - color: #fff; - font-size: 14px; - font-weight: 600; -} - -/* not a part of filter bar, but derived from it, so here for now */ -.title-count { - display: inline; - top: -3px; - margin-left: 5px; - margin-right: 20px; -} - -.filter-links { - display: inline-block; - margin: 0; -} - -.filter-links li { - display: inline-block; - margin: 0; -} - -.filter-links li > a { - display: inline-block; - margin: 0 10px; - padding: 15px 0; - border-bottom: 4px solid #fff; - color: #666; - cursor: pointer; -} - -.filter-links .current { - -webkit-box-shadow: none; - box-shadow: none; - border-bottom: 4px solid #666; - color: #222; -} - -.filter-links li > a:hover, -.filter-links li > a:focus, -.show-filters .filter-links a.current:hover, -.show-filters .filter-links a.current:focus { - color: #2ea2cc; -} - -.wp-filter .search-form { - float: right; - margin-top: 9px; -} - -.wp-filter .search-form input[type="search"] { - margin: 0; - padding: 3px 5px; - width: 280px; - font-size: 16px; - font-weight: 300; - line-height: 1.5; -} - -.wp-filter .search-form select { - height: 33px; - vertical-align: top; -} - -.wp-filter .drawer-toggle { - display: inline-block; - margin: 0 10px; - padding: 4px 6px; - color: #666; - cursor: pointer; -} - -.wp-filter .drawer-toggle:before { - display: inline-block; - vertical-align: top; - content: "\f111"; - margin: 0 5px 0 0; - width: 16px; - height: 16px; - color: #777; - -webkit-transition: color .1s ease-in 0; - transition: color .1s ease-in 0; - font-family: "dashicons"; - font-size: 16px; - line-height: 1; - text-align: center; - text-decoration: inherit; - font-weight: normal; - font-style: normal; - -webkit-font-smoothing: antialiased; -} - -.wp-filter .drawer-toggle:hover, -.wp-filter .drawer-toggle:hover:before { - color: #2ea2cc; -} - -.wp-filter .drawer-toggle.current:before { - color: #fff; -} - -.filter-drawer { - display: none; - margin: 0 -20px; - padding: 20px; - border-top: 1px solid #eee; - background: #fafafa; -} - -.show-filters .filter-drawer { - display: block; - overflow: hidden; -} - -.show-filters .wp-filter .drawer-toggle:hover, -.show-filters .wp-filter .drawer-toggle:focus { - background: rgb(46, 162, 204); -} - -.show-filters .filter-links a.current { - border-bottom: none; -} - -.show-filters .wp-filter .drawer-toggle { - -webkit-border-radius: 2px; - border-radius: 2px; - border: none; - background: #777; - color: #fff; -} - -.show-filters .wp-filter .drawer-toggle:before { - color: #fff; -} - -.filter-group { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin: 0 1% 0 0; - padding: 10px; - width: 19%; - background: #fff; - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); -} - -.filter-group.wide { - width: 38%; -} - -.filter-group h4 { - position: relative; - margin: 0; -} - -.filter-drawer ol { - margin: 20px 0 0; - list-style-type: none; - font-size: 12px; -} - -.filter-drawer li { - display: inline-block; - vertical-align: top; - margin: 5px 0; - padding-right: 25px; - width: 160px; - list-style-type: none; -} - -.filter-drawer .buttons { - margin-bottom: 20px; -} - -.filter-drawer .buttons .button span { - display: inline-block; - opacity: 0.8; - font-size: 12px; - text-indent: 10px; -} - -.wp-filter .button.clear-filters { - display: none; - margin: 0 0 20px 10px; -} - -.filtered-by { - display: none; - margin: 0; -} - -.filtered-by > span { - font-weight: 600; -} - -.filtered-by a { - margin-left: 10px; -} - -.filtered-by .tags { - display: inline; -} - -.filtered-by .tag { - margin: 0 5px; - padding: 4px 8px; - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - background: #fff; - font-size: 11px; -} - -.filters-applied .filter-group, -.filters-applied .filter-drawer .buttons, -.filters-applied .filter-drawer br { - display: none !important; -} - -.filters-applied .filtered-by { - display: block; -} - -.filters-applied .filter-drawer { - padding: 20px; -} - -.show-filters .content-filterable, -.show-filters.filters-applied.loading-content .content-filterable, -.loading-content .content-filterable, -.error .content-filterable { - display: none; -} - -.show-filters.filters-applied .content-filterable { - display: block; -} - -.loading-content .spinner { - display: block; - margin: 40px auto 0; - float: none; -} - -@media only screen and (max-width: 1120px) { - .wp-filter .search-form { - float: none; - margin: 20px 0; - } - - .filter-drawer { - border-bottom: 1px solid #eee; - } - - .filter-group { - margin-bottom: 0; - margin-top: 5px; - width: 100%; - } - - .filter-group li { - margin: 10px 0; - } -} - -@media only screen and (max-width: 782px) { - .filter-group, - .filter-group li { - width: 100%; - } - -} - - -/*------------------------------------------------------------------------------ - 4.0 - Notifications -------------------------------------------------------------------------------*/ - -#update-nag, -.update-nag { - display: inline-block; - line-height: 19px; - padding: 11px 15px; - font-size: 14px; - text-align: left; - margin: 25px 20px 0 2px; - background-color: #fff; - border-left: 4px solid #ffba00; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -.update-message { - color: #000; -} - -ul#dismissed-updates { - display: none; -} - -form.upgrade { - margin-top: 8px; -} - -form.upgrade .hint { - font-style: italic; - font-size: 85%; - margin: -0.5em 0 2em 0; -} - -.update-php .spinner { - float: none; - margin: -4px 0; -} - -#ajax-loading, -.ajax-loading, -.ajax-feedback, -.imgedit-wait-spin, -.list-ajax-loading { /* deprecated */ - visibility: hidden; -} - -#ajax-response.alignleft { - margin-left: 2em; -} - -/* @todo: this does not need its own section anymore */ -/*------------------------------------------------------------------------------ - 6.0 - Admin Header -------------------------------------------------------------------------------*/ -#adminmenu a, -#sidemenu a, -#taglist a, -#catlist a { - text-decoration: none; -} - -/*------------------------------------------------------------------------------ - 6.1 - Screen Options Tabs -------------------------------------------------------------------------------*/ - -#screen-options-wrap, -#contextual-help-wrap { - margin: 0; - padding: 8px 20px 12px; - position: relative; -} - -#contextual-help-wrap { - overflow: auto; - margin-left: 0 !important; -} - -#screen-meta .screen-reader-text { - visibility: hidden; -} - -#screen-meta-links { - margin: 0 20px 0 0; -} - -#screen-meta-links a { - padding: 3px 6px 3px 16px; -} - -#screen-meta-links a:focus { - outline: none; -} - -/* screen options and help tabs revert */ -#screen-meta { - display: none; - margin: 0 20px -1px 0px; - position: relative; - background-color: #fff; - border: 1px solid #ddd; - border-top: none; - -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.025); - box-shadow: 0 1px 0 rgba(0,0,0,.025); -} - -#screen-options-link-wrap, -#contextual-help-link-wrap { - float: right; - height: 28px; - margin: 0 0 0 6px; - border: 1px solid #ddd; - border-top: none; - background: #fff; - -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); - box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); -} - -#screen-meta-links .screen-meta-toggle { - position: relative; - top: 0; -} - -#screen-meta-links a { - color: #777; -} - -#screen-meta-links a:hover, -#screen-meta-links a:active, -#screen-meta-links a:focus { - color: #333; -} - -#screen-meta-links a.show-settings { - display: block; - font-size: 13px; - height: 22px; - line-height: 22px; - text-decoration: none; - z-index: 1; -} - -#screen-meta-links a:after { - right: 0; - content: '\f140'; - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 0 5px 0 0; - bottom: 2px; - position: relative; - vertical-align: bottom; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #bbb; -} - -#screen-meta-links a.screen-meta-active:after { - content: '\f142'; -} - -#screen-meta-links a.show-settings:hover { - text-decoration: none; -} -/* end screen options and help tabs */ - -.toggle-arrow { - background-repeat: no-repeat; - background-position: top left; - background-color: transparent; - height: 22px; - line-height: 22px; - display: block; -} - -.toggle-arrow-active { - background-position: bottom left; -} - -#screen-options-wrap h5, -#contextual-help-wrap h5 { - margin: 8px 0; - font-size: 13px; -} - -.metabox-prefs label { - display: inline-block; - padding-right: 15px; - line-height: 30px; -} - -.metabox-prefs label input[type=checkbox] { - margin-top: -4px; - margin-right: 6px; -} - -.metabox-prefs label input { - margin: 0 5px 0 2px; -} - -.metabox-prefs .columns-prefs label input { - margin: 0 2px; -} - -.metabox-prefs label a { - display: none; -} - -/*------------------------------------------------------------------------------ - 6.2 - Help Menu -------------------------------------------------------------------------------*/ - -#contextual-help-wrap { - padding: 0; -} - -#contextual-help-columns { - position: relative; -} - -#contextual-help-back { - position: absolute; - top: 0; - bottom: 0; - left: 150px; - right: 170px; - border: 1px solid #e1e1e1; - border-top: none; - border-bottom: none; - background: #f6fbfd; -} - -#contextual-help-wrap.no-sidebar #contextual-help-back { - right: 0; - border-right-width: 0; - -webkit-border-bottom-right-radius: 2px; - border-bottom-right-radius: 2px; -} - -.contextual-help-tabs { - float: left; - width: 150px; - margin: 0; -} - -.contextual-help-tabs ul { - margin: 1em 0; -} - -.contextual-help-tabs li { - margin-bottom: 0; - list-style-type: none; - border-style: solid; - border-width: 0 0 0 2px; - border-color: transparent; -} - -.contextual-help-tabs a { - display: block; - padding: 5px 5px 5px 12px; - line-height: 18px; - text-decoration: none; - border: 1px solid transparent; - border-right: none; - border-left: none; -} - -.contextual-help-tabs a:hover { - color: #333; -} - -.contextual-help-tabs .active { - padding: 0; - margin: 0 -1px 0 0; - border-left: 2px solid #2ea2cc; - background: #f6fbfd; - -webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02); - box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02); -} - -.contextual-help-tabs .active a { - border-color: #e1e1e1; - color: #333; -} - -.contextual-help-tabs-wrap { - padding: 0 20px; - overflow: auto; -} - -.help-tab-content { - display: none; - margin: 0 22px 12px 0; - line-height: 1.6em; -} - -.help-tab-content.active { - display: block; -} - -.help-tab-content ul li { - list-style-type: disc; - margin-left: 18px; -} - -.contextual-help-sidebar { - width: 150px; - float: right; - padding: 0 8px 0 12px; - overflow: auto; -} - -/*------------------------------------------------------------------------------ - 8.0 - Layout Blocks -------------------------------------------------------------------------------*/ - -html.wp-toolbar { - padding-top: 32px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.narrow { - width: 70%; - margin-bottom: 40px; -} - -.narrow p { - line-height: 150%; -} - -.widefat th, -.widefat td { - overflow: hidden; - color: #555; -} - -.widefat th { - font-weight: normal; -} - -.widefat thead tr th, -.widefat tfoot tr th { - color: #333; -} - -.widefat td p { - margin: 2px 0 0.8em; -} - -.widefat p, -.widefat ol, -.widefat ul { - color: #333; -} - -.widefat .column-comment p { - margin: 0.6em 0; -} - -/* Screens with postboxes */ -.postbox-container { - float: left; -} - -.postbox-container .meta-box-sortables { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -#wpbody-content .metabox-holder { - padding-top: 10px; -} - -.metabox-holder .postbox-container .empty-container { - border: 3px dashed #bbb; - height: 250px; -} - -.metabox-holder.columns-1 .postbox-container .empty-container, -.columns-2 #postbox-container-3 .empty-container, -.columns-2 #postbox-container-4 .empty-container, -.columns-3 #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; -} - -#post-body-content { - width: 100%; - min-width: 463px; - float: left; -} - -#post-body.columns-2 #postbox-container-1 { - float: right; - margin-right: -300px; - width: 280px; -} - -#post-body.columns-2 #side-sortables { - min-height: 250px; -} - -/* one column on the dash */ -@media only screen and (max-width: 799px) { - #wpbody-content .metabox-holder .postbox-container .empty-container { - border: 0 none; - height: 0; - min-height: 0; - } -} - -.js .widget .widget-top, -.js .postbox .hndle { - cursor: move; -} - -.hndle a { - font-size: 11px; - font-weight: normal; -} - -.postbox .handlediv { - float: right; - width: 27px; - height: 30px; -} - -.js .postbox .handlediv { - cursor: pointer; -} - -.sortable-placeholder { - border: 1px dashed #bbb; - margin-bottom: 20px; -} - -.postbox, -.stuffbox { - margin-bottom: 20px; - padding: 0; - line-height: 1; -} - -/* user-select is not a part of the CSS standard - may change behavior in the future */ -.postbox .hndle, -.stuffbox .hndle { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.postbox .inside, -.stuffbox .inside { - padding: 0 12px 12px; - line-height: 1.4em; - font-size: 13px; -} - -.postbox .inside { - margin: 11px 0; - position: relative; -} - -.postbox .inside > p:last-child, -.rss-widget ul li:last-child { - margin-bottom: 1px !important; -} - -.postbox.closed h3 { - border: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.postbox table.form-table { - margin-bottom: 0; -} - -.postbox table.widefat { - -webkit-box-shadow: none; - box-shadow: none; -} - -.temp-border { - border: 1px dotted #ccc; -} - -.columns-prefs label { - padding: 0 5px; -} - -/* @todo: what is this doing here */ -#dashboard_right_now .versions .b, -#post-status-display, -#post-visibility-display, -#adminmenu .wp-submenu li.current, -#adminmenu .wp-submenu li.current a, -#adminmenu .wp-submenu li.current a:hover, -.media-item .percent, -.plugins .name, -#pass-strength-result.strong, -#pass-strength-result.short, -#ed_reply_toolbar #ed_reply_strong, -.item-controls .item-order a, -.feature-filter .feature-name { - font-weight: 600; -} - -/*------------------------------------------------------------------------------ - 21.0 - Admin Footer -------------------------------------------------------------------------------*/ - -#wpfooter { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 10px 20px; - color: #777; -} - -#wpfooter p { - font-size: 13px; - margin: 0; - line-height: 20px; -} - -#footer-thankyou { - font-style: italic; -} - -#wpfooter a { - text-decoration: none; -} - -#wpfooter a:hover { - text-decoration: underline; -} - -/*------------------------------------------------------------------------------ - 25.0 - Tabbed Admin Screen Interface (Experimental) -------------------------------------------------------------------------------*/ - -.nav-tab { - border: 1px solid #ccc; - border-bottom: none; - background: #e4e4e4; - color: #555; - font-size: 12px; - line-height: 16px; - display: inline-block; - padding: 4px 14px 6px; - text-decoration: none; - margin: -4px 4px -1px 0; -} - -.nav-tab:hover { - background-color: #fff; - color: #464646; -} - -.nav-tab-active { - color: #464646; -} - -.nav-tab-active, -.nav-tab-active:hover { - border-bottom: 1px solid #f1f1f1; - background: #f1f1f1; - color: #000; -} - -h2.nav-tab-wrapper, -h3.nav-tab-wrapper { - border-bottom: 1px solid #ccc; - padding-bottom: 0; - padding-left: 10px; -} - -h2 .nav-tab { - padding: 6px 10px; - font-weight: bold; - font-size: 15px; - line-height: 24px; -} - - -/*------------------------------------------------------------------------------ - 26.0 - Misc -------------------------------------------------------------------------------*/ - -.spinner { - background: url(../images/spinner.gif) no-repeat; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - display: none; - float: right; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 2px 5px 0; -} - -#template div { - margin-right: 190px; -} - -.metabox-holder h3 { - font-size: 14px; - padding: 8px 12px; - margin: 0; - line-height: 1.4; -} - -#templateside ul li a { - text-decoration: none; -} - -#sidemenu { - margin: -30px 15px 0 315px; - list-style: none; - position: relative; - float: right; - padding-left: 10px; - font-size: 12px; -} - -#sidemenu a { - padding: 0 7px; - display: block; - float: left; - line-height: 28px; - border-top: 1px solid #f9f9f9; - border-bottom: 1px solid #dfdfdf; - background-color: #f9f9f9; - -webkit-transition: none; - transition: none; -} - -#sidemenu li { - display: inline; - line-height: 200%; - list-style: none; - text-align: center; - white-space: nowrap; - margin: 0; - padding: 0; -} - -/* @todo: remove border radius */ -#sidemenu a.current { - font-weight: normal; - padding-left: 6px; - padding-right: 6px; - -webkit-border-top-left-radius: 3px; - border-top-left-radius: 3px; - -webkit-border-top-right-radius: 3px; - border-top-right-radius: 3px; - border: 1px solid #dfdfdf; - border-bottom-color: #f1f1f1; - background-color: #f1f1f1; - color: #000; -} - -#sidemenu li a .count-0 { - display: none; -} - -.plugin-install #description, -.plugin-install-network #description { - width: 60%; -} - -table .vers, -table .column-visible, -table .column-rating { - text-align: left; -} - -.error-message { - color: red; - font-weight: 600; -} - -/* Scrollbar fix for bulk upgrade iframe */ -body.iframe { - height: 98%; -} - -/* Upgrader styles, Specific to Language Packs */ -.lp-show-latest p { - display: none; -} -.lp-show-latest p:last-child, -.lp-show-latest .lp-error p { - display: block; -} - -/* - Only used once or twice in all of WP - deprecate for global style -------------------------------------------------------------------------------*/ -td.media-icon { - text-align: center; - width: 80px; - padding-top: 8px; - padding-bottom: 8px; -} - -td.media-icon img { - max-width: 80px; - max-height: 60px; -} - -td.image-icon img { - border: 1px solid rgba(0, 0, 0, 0.07); -} - -#howto { - font-size: 11px; - margin: 0 5px; - display: block; -} - -.importers td { - padding-right: 14px; -} - -.importers { - font-size: 16px; - width: auto; -} - -#post-body #post-body-content #namediv h3 { - margin-top: 0; -} - -#namediv h3 label { - vertical-align: baseline; -} - -#namediv table { - width: 100%; -} - -#namediv td.first { - width: 10px; - white-space: nowrap; -} - -#namediv input { - width: 98%; -} - -#namediv p { - margin: 10px 0; -} - -#submitdiv h3 { - margin-bottom: 0 !important; -} - -/* - Used - but could/should be deprecated with a CSS reset -------------------------------------------------------------------------------*/ -.zerosize { - height: 0; - width: 0; - margin: 0; - border: 0; - padding: 0; - overflow: hidden; - position: absolute; -} - -br.clear { - height: 2px; - line-height: 2px; -} - -.checkbox { - border: none; - margin: 0; - padding: 0; -} - -fieldset { - border: 0; - padding: 0; - margin: 0; -} - -.post-categories { - display: inline; - margin: 0; - padding: 0; -} - -.post-categories li { - display: inline; -} - -/* Star Ratings - Back-compat for pre-3.8 */ -div.star-holder { - position: relative; - height: 17px; - width: 100px; - background: url(../images/stars.png?ver=20121108) repeat-x bottom left; -} - -div.star-holder .star-rating { - background: url(../images/stars.png?ver=20121108) repeat-x top left; - height: 17px; - float: left; -} - -/* Star Ratings */ -.star-rating { - white-space: nowrap; -} -.star-rating .star { - display: inline-block; - width: 20px; - height: 20px; - -webkit-font-smoothing: antialiased; - font-size: 20px; - line-height: 1; - font-family: 'dashicons'; - text-decoration: inherit; - font-weight: normal; - font-style: normal; - vertical-align: top; - -webkit-transition: color .1s ease-in 0; - transition: color .1s ease-in 0; - text-align: center; - color: #0074a2; -} - -.star-rating .star-full:before { - content:'\f155'; -} - -.star-rating .star-half:before { - content:'\f459'; -} - -.rtl .star-rating .star-half { - -webkit-transform: rotateY(180deg); - -ms-transform: rotateY(180deg); - transform: rotateY(180deg); -} - -.star-rating .star-empty:before { - content:'\f154'; -} - -div.action-links { - font-weight: normal; - margin: 6px 0 0; -} - -/* Plugin install thickbox */ -#plugin-information { - background: #fff; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - height: 100%; - padding: 0; -} - -#plugin-information-scrollable { - overflow: auto; - height: 100%; -} - -#plugin-information-title { - padding: 0 20px; - background: #f5f5f5; - font-size: 22px; - font-weight: 600; - line-height: 56px; - position: relative; - top: 0; - right: 0; - left: 0; - height: 56px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#plugin-information-title.with-banner { - margin-right: 0; - height: 250px; - bottom: 250px; - -webkit-background-size: 100% auto; - background-size: 100% auto; -} - -#plugin-information-title h2 { - font-size: 1em; - font-weight: bold; - padding: 0; - margin: 0; - max-width: 680px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#plugin-information-title.with-banner h2 { - font-family: "Helvetica Neue", sans-serif; - display: inline-block; - font-size: 30px; - line-height: 50px; - padding: 0 15px; - margin: 174px 0 0 10px; - color: #fff; - background: rgba( 30, 30, 30, 0.9 ); - text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 ); - -webkit-box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 ); - box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 ); - -webkit-border-radius: 8px; - border-radius: 8px; -} - -#plugin-information-title div.vignette { - display: none; -} - -#plugin-information-title.with-banner div.vignette { - display: block; - float: right; - top: 0; - height: 250px; - width: 830px; - margin: 0 -20px; - background: transparent; - -webkit-box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); -} - -#plugin-information-tabs { - padding: 0 16px; - position: relative; - right: 0; - left: 0; - height: 36px; - z-index: 1; - border-bottom: 1px solid #ddd; - background: #f3f3f3; -} - -#plugin-information-tabs a { - position: relative; - float: left; - padding: 9px 10px; - margin: 0; - height: 18px; - line-height: 18px; - font-size: 14px; - text-decoration: none; - -webkit-transition: none; - transition: none; -} - -#plugin-information-tabs a.current { - margin: 0 -1px 0; - background: #fff; - border: 1px solid #ddd; - border-bottom-color: #fff; - padding-top: 8px; - color: #333; -} - -#plugin-information-tabs.with-banner a.current { - border-top: none; - padding-top: 9px; -} - -#plugin-information-tabs a:active, -#plugin-information-tabs a:focus { - outline: none; -} - -#plugin-information-content { - overflow: hidden; /* equal height column trick */ - background: #fff; - position: relative; - top: 0; - right: 0; - left: 0; - min-height: 100%; - /* Height of title + tabs + install now */ - min-height: -webkit-calc( 100% - 152px ); - min-height: calc( 100% - 152px ); -} - -#plugin-information-content.with-banner { - /* Height of banner + tabs + install now */ - min-height: -webkit-calc( 100% - 346px ); - min-height: calc( 100% - 346px ); -} - -#section-holder { - position: relative; - top: 0; - right: 250px; - bottom: 0; - left: 0; - margin-right: 250px; /* FYI box */ - padding: 10px 26px; - margin-bottom: -99930px; /* a bit less than the padding below to accommodate footer */ - padding-bottom: 99999px; /* equal height column trick */ -} - -#section-holder .updated { - margin: 16px 0; -} - -#plugin-information .fyi { - display: block; - float: right; - position: relative; - top: 0; - right: 0; - padding: 16px; - margin-bottom: -99930px; /* slightly less than the padding below to accommodate footer */ - padding-bottom: 99999px; /* equal height column trick */ - width: 217px; - border-left: 1px solid #ddd; - background: #f3f3f3; - color: #666; -} - -#plugin-information .fyi strong { - color: #464646; -} - -#plugin-information .fyi h3 { - font-weight: bold; - text-transform: uppercase; - font-size: 12px; - color: #666; - margin: 24px 0 8px; -} - -#plugin-information .fyi h2 { - font-size: 0.9em; - margin-bottom: 0; - margin-right: 0; -} - -#plugin-information .fyi ul { - padding: 0; - margin: 0; - list-style: none; -} - -#plugin-information .fyi li { - margin: 0 0 10px; -} - -#plugin-information .counter-container { - margin: 3px 0; -} - -#plugin-information .counter-label { - float: left; - margin-right: 5px; - min-width: 55px; -} - -#plugin-information .counter-back { - height: 17px; - width: 92px; - background-color: #ececec; - float: left; -} - -#plugin-information .counter-bar { - height: 17px; - background-color: #fddb5a; - float: left; -} - -#plugin-information .counter-count { - margin-left: 5px; -} - -#plugin-information .fyi ul.contributors { - margin-top: 10px; -} - -#plugin-information .fyi ul.contributors li { - display: inline-block; - margin-right: 8px; - vertical-align: middle; -} - -#plugin-information .fyi ul.contributors li { - display: inline-block; - margin-right: 8px; - vertical-align: middle; -} - -#plugin-information .fyi ul.contributors li img { - vertical-align: middle; - margin-right: 4px; -} - -#plugin-information-footer { - padding: 15px 16px; - position: absolute; - right: 0; - bottom: 0; - left: 0; - height: 28px; - border-top: 1px solid #ddd; - background: #f3f3f3; -} - -/* @noflip */ -#plugin-information .section { - direction: ltr; -} - -/* @noflip */ -#plugin-information .section ul, -#plugin-information .section ol { - list-style-type: disc; - margin-left: 24px; -} - -#plugin-information .section, -#plugin-information .section p { - font-size: 14px; - line-height: 1.7; -} - -#plugin-information #section-screenshots ol { - list-style: none; - margin: 0; -} - -#plugin-information #section-screenshots li img { - vertical-align: text-top; - margin-top: 16px; - max-width: 100%; - width: auto; - height: auto; - -webkit-box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 ); -} - -/* @noflip */ -#plugin-information #section-screenshots li p { - font-style: italic; - padding-left: 20px; -} - -#plugin-information pre { - padding: 7px; - overflow: auto; - border: 1px solid #ccc; -} - -/* @noflip */ -#plugin-information .review { - overflow: hidden; /* clearfix */ - width: 100%; - margin-bottom: 20px; - border-bottom: 1px solid #e6e6e6; -} - -#plugin-information .review-title-section { - overflow: hidden; /* clearfix */ -} - -/* @noflip */ -#plugin-information .review-title-section h4 { - display: inline-block; - float: left; - margin: 0 6px 0 0; -} - -#plugin-information .reviewer-info p { - clear: both; - margin: 0; - padding-top: 2px; -} - -/* @noflip */ -#plugin-information .reviewer-info .avatar { - float: left; - margin: 4px 6px 0 0; -} - -/* @noflip */ -#plugin-information .reviewer-info .star-rating { - float: left; -} - -/* @noflip */ -#plugin-information .review-meta { - float: left; - margin-left: 0.75em; -} - -/* @noflip */ -#plugin-information .review-body { - float: left; - width: 100%; -} - -.plugin-version-author-uri { - font-size: 13px; -} - -@media screen and ( max-width: 771px ) { - #plugin-information-title.with-banner { - height: 100px; - bottom: 100px; - } - - #plugin-information-title.with-banner h2 { - margin-top: 30px; - font-size: 20px; - line-height: 40px; - max-width: 85%; - } - - #plugin-information-title.with-banner div.vignette { - height: 100px; - bottom: 100px; - width: 800%; - } - - #plugin-information-tabs { - overflow: hidden; /* clearfix */ - padding: 0; - height: auto; /* let tabs wrap */ - } - - #plugin-information-tabs a.current { - margin-bottom: 0; - border-bottom: none; - } - - #plugin-information .fyi { - float: none; - border: 1px solid #ddd; - position: static; - width: auto; - margin: 26px 26px 0; - padding-bottom: 0; /* reset from the two column height fix */ - } - - #section-holder { - position: static; - margin: 0; - padding-bottom: 70px; /* reset from the two column height fix, plus accomodate footer */ - } - - #plugin-information .fyi h3, - #plugin-information .fyi small { - display: none; - } - - #plugin-information-footer { - padding: 12px 16px 0; - height: 46px; - } -} - -/* Thickbox for Plugin Install screen */ -body.plugin-install-php #TB_window, -body.import-php #TB_window, -body.plugins-php #TB_window, -body.update-core-php #TB_window, -body.index-php #TB_window { - background: #fcfcfc url( ../images/spinner.gif ) no-repeat center; -} - -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - body.plugin-install-php #TB_window, - body.import-php #TB_window, - body.plugins-php #TB_window, - body.update-core-php #TB_window, - body.index-php #TB_window { - background: #fcfcfc url( ../images/spinner-2x.gif ) no-repeat center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - } -} - -body.plugin-install-php #TB_title, -body.import-php #TB_title, -body.plugins-php #TB_title, -body.update-core-php #TB_title, -body.index-php #TB_title { - float: left; - height: 1px; -} - -body.plugin-install-php #TB_ajaxWindowTitle, -body.import-php #TB_ajaxWindowTitle, -body.plugins-php #TB_ajaxWindowTitle, -body.update-core-php #TB_ajaxWindowTitle, -body.index-php #TB_ajaxWindowTitle { - display: none; -} - -body.plugin-install-php .tb-close-icon, -body.import-php .tb-close-icon, -body.plugins-php .tb-close-icon, -body.update-core-php .tb-close-icon, -body.index-php .tb-close-icon { - left: auto; - right: -30px; - color: #eee; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -body.plugin-install-php #TB_closeWindowButton:focus, -body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon, -body.plugin-install-php .tb-close-icon:focus, -body.plugin-install-php .tb-close-icon:hover, -body.import-php #TB_closeWindowButton:focus, -body.import-php #TB_closeWindowButton:focus .tb-close-icon, -body.import-php .tb-close-icon:focus, -body.import-php .tb-close-icon:hover, -body.plugins-php #TB_closeWindowButton:focus, -body.plugins-php #TB_closeWindowButton:focus .tb-close-icon, -body.plugins-php .tb-close-icon:focus, -body.plugins-php .tb-close-icon:hover, -body.update-core-php #TB_closeWindowButton:focus, -body.update-core-php #TB_closeWindowButton:focus .tb-close-icon, -body.update-core-php .tb-close-icon:focus, -body.update-core-php .tb-close-icon:hover, -body.index-php #TB_closeWindowButton:focus, -body.index-php #TB_closeWindowButton:focus .tb-close-icon, -body.index-php .tb-close-icon:focus, -body.index-php .tb-close-icon:hover { - color: #2ea2cc; - outline: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -body.plugin-install-php .tb-close-icon:before, -body.import-php .tb-close-icon:before, -body.plugins-php .tb-close-icon:before, -body.update-core-php .tb-close-icon:before, -body.index-php .tb-close-icon:before { - content: "\f335"; - font-size: 32px; -} - -/* move plugin install close icon to top on narrow screens */ -@media screen and ( max-width: 830px ) { - body.plugin-install-php .tb-close-icon, - body.import-php .tb-close-icon, - body.plugins-php .tb-close-icon, - body.update-core-php .tb-close-icon, - body.index-php .tb-close-icon { - right: 0; - top: -30px; - } -} - -/* @todo: move this. */ -img { - border: none; -} - -/* Header */ -/* @todo: are these also specific to Press This? */ -#wphead { - border-bottom: 1px solid #dfdfdf; -} - -#wphead h1 a { - color: #464646; -} - -/* @todo: these seem misplaced */ -.js .meta-box-sortables .postbox:hover .handlediv { - margin-right: 0 !important; -} - -/* Metabox collapse arrow indicators */ -.js .sidebar-name .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox .handlediv:before { - right: 12px; - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 8px 10px; - top: 0; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -.js #widgets-left .sidebar-name .sidebar-name-arrow { - display: none; -} - -.js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow, -.js #widgets-left .sidebar-name:hover .sidebar-name-arrow { - display: block; -} - -/* Show the arrow only on hover */ -.js .sidebar-name .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox .handlediv:before { - content: '\f142'; -} - -.js .widgets-holder-wrap.closed .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox.closed .handlediv:before { - content: '\f140'; -} - -.error a { - text-decoration: underline; -} - -.updated a { - text-decoration: none; - padding-bottom: 2px; -} - -/* @todo: appears to be Press This only and overridden */ -#photo-add-url-div input[type="text"] { - width: 300px; -} - -/* Theme/Plugin Editor */ -.alignleft h3 { - margin: 0; -} - -#template textarea { - font-family: Consolas, Monaco, monospace; - font-size: 13px; - width: 97%; - background: #f9f9f9; - outline: none; -} - -/* @noflip */ -#template textarea, -#docs-list { - direction: ltr; -} - -#template p { - width: 97%; -} - -#templateside { - float: right; - width: 190px; - word-wrap: break-word; -} - -#templateside h3, -#postcustomstuff p.submit { - margin: 0; -} - -#templateside h4 { - margin: 1em 0 0; -} - -#templateside ol, -#templateside ul { - margin: .5em 0; - padding: 0; -} - -#templateside li { - margin: 4px 0; -} - -#templateside a, -.theme-editor-php .highlight { - display: block; - padding: 3px 3px 3px 12px; - text-decoration: none; -} - -.theme-editor-php .highlight { - margin: -3px 3px -3px -12px; -} - -#templateside .highlight { - border: none; - font-weight: bold; -} - -.nonessential { - color: #666; - font-size: 11px; - font-style: italic; - padding-left: 12px; -} - -#documentation { - margin-top: 10px; -} - -#documentation label { - line-height: 22px; - vertical-align: baseline; - font-weight: 600; -} - -.fileedit-sub { - padding: 10px 0 8px; - line-height: 180%; -} - -/* @todo: can we use a common class for these? */ -.nav-menus-php .item-edit:before, -.widget-top a.widget-action:after, -.control-section .accordion-section-title:after, -.accordion-section-title:after { - right: 0; - content: '\f140'; - border: none; - background: none; - font: normal 20px/1 'dashicons'; - speak: none; - display: block; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -.widget-action, -.handlediv, -.item-edit, -.sidebar-name-arrow, -.accordion-section-title:after { - color: #aaa; -} - -.widget-action:hover, -.handlediv:hover, -.item-edit:hover, -.sidebar-name:hover .sidebar-name-arrow, -.accordion-section-title:hover:after { - color: #777; -} - -.widget-top a.widget-action:after { - padding: 12px 12px 0; -} - -.nav-menus-php .item-edit:before { - line-height: 2.1; -} - -.control-section .accordion-section-title:after, -.accordion-section-title:after { - float: right; - right: 20px; - top: -2px; -} - -.control-section.open .accordion-section-title:after, -#customize-info.open .accordion-section-title:after, -.nav-menus-php .menu-item-edit-active .item-edit:before, -.widget.open .widget-top a.widget-action:after { - content: '\f142'; -} - -/* Enable draggable on IE10 touch events until it's rolled into jQuery UI core */ -.ui-sortable, -.ui-draggable { - -ms-touch-action: none; - touch-action: none; -} - -.meta-box-sortables.ui-sortable, -.widgets-holder-wrap .ui-draggable, -.widgets-holder-wrap .ui-sortable, -.menu.ui-sortable { - -ms-touch-action: auto; - touch-action: auto; -} - -.meta-box-sortables.ui-sortable .hndle, -.menu.ui-sortable .menu-item-handle { - -ms-touch-action: none; - touch-action: none; -} - -/* Accordion */ - -.accordion-section { - border-bottom: 1px solid #dfdfdf; - margin: 0; -} - -.accordion-section.open .accordion-section-content, -.no-js .accordion-section .accordion-section-content { - display: block; -} - -.accordion-section.open:hover { - border-bottom-color: #dfdfdf; -} - -.accordion-section-content { - display: none; - padding: 10px 20px 15px; - overflow: hidden; - background: #fff; -} - -.accordion-section-title { - margin: 0; - padding: 12px 15px 15px; - position: relative; - border-left: 1px solid #dfdfdf; - border-right: 1px solid #dfdfdf; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.js .accordion-section-title { - cursor: pointer; -} - -.js .accordion-section-title:after { - position: absolute; - top: 12px; - right: 10px; - z-index: 1; -} - -.accordion-section-title:focus { - outline: none; -} - -.accordion-section-title:hover:after, -.accordion-section-title:focus:after { - border-color: #aaa transparent; -} - -.cannot-expand .accordion-section-title { - cursor: auto; -} - -.cannot-expand .accordion-section-title:after { - display: none; -} - -.control-section .accordion-section-title { - border-left: none; - border-right: none; - padding: 10px 10px 11px 14px; - line-height: 21px; - background: #fff; -} - -.control-section .accordion-section-title:after { - top: 11px; -} - -.js .control-section:hover .accordion-section-title, -.js .control-section .accordion-section-title:hover, -.js .control-section.open .accordion-section-title, -.js .control-section .accordion-section-title:focus { - color: #222; - background: #f5f5f5; -} - -.control-section.open .accordion-section-title { - /* When expanded */ - border-bottom: 1px solid #dfdfdf; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/* @todo: de-duplication */ -@media only screen and (min-width: 769px) { - /* categories */ - #col-left { - width: 35%; - } - - #col-right { - width: 65%; - } -} - -@media only screen and (max-width: 860px) { - - /* categories */ - #col-left { - width: 35%; - } - - #col-right { - width: 65%; - } -} - -@media only screen and (min-width: 980px) { - - /* categories */ - #col-left { - width: 35%; - } - - #col-right { - width: 65%; - } -} - -@media only screen and (max-width: 768px) { - /* categories */ - #col-left { - width: 100%; - } - - #col-right { - width: 100%; - } -} - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - /* Back-compat for pre-3.8 */ - div.star-holder, - div.star-holder .star-rating { - background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom left; - -webkit-background-size: 21px 37px; - background-size: 21px 37px; - } - - .spinner { - background-image: url(../images/spinner-2x.gif); - } - - /* @todo: evaluate - most of these were likely replaced by dashicons */ - .curtime #timestamp, - #screen-meta-links a.show-settings, - .widget-top a.widget-action, - .widget-top a.widget-action:hover, - .sidebar-name-arrow, - .sidebar-name:hover .sidebar-name-arrow, - .meta-box-sortables .postbox:hover .handlediv, - .tagchecklist span a, - #bulk-titles div a, - .tagchecklist span a:hover, - #bulk-titles div a:hover { - background: none !important; - } - -} - -@-ms-viewport { - width: device-width; -} - -@media screen and ( max-width: 782px ) { - html.wp-toolbar { - padding-top: 46px; - } - - body { - min-width: 240px; - overflow-x: hidden; - } - - body * { - -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; - } - - #wpcontent { - position: relative; - margin-left: 0; - padding-left: 10px; - } - - #wpbody-content { - padding-bottom: 100px; - } - - .wrap { - margin-right: 12px; - margin-left: 0; - } - - .col-wrap { - padding: 0; - } - - /* Hidden Elements */ - #screen-meta, - #screen-meta-links, - #collapse-menu, - .post-format-select { - display: none !important; - } - - .wrap .add-new-h2, .wrap .add-new-h2:active { - padding: 10px 15px; - font-size: 14px; - } - - .wp-color-result { - height: auto; - padding-left: 45px; - } - - .wp-color-result:after { - font-size: 14px; - height: auto; - padding: 6px 14px; - } - - /* Feedback Messages */ - .wrap div.updated, .wrap div.error, .media-upload-form div.error { - margin: 20px 0 10px 0; - padding: 5px 10px; - font-size: 14px; - line-height: 175%; - } - - .wrap .icon32 + h2 { - margin-top: -2px; - } - - .wp-responsive-open #wpbody { - right: -190px; - } - - code { - word-wrap: break-word; - } - - /* General Metabox */ - .postbox { - font-size: 14px; - } - - .metabox-holder h3 { - padding: 12px; - } - - .postbox .handlediv { - margin-top: 3px; - } - - /* Subsubsub Nav */ - .subsubsub { - font-size: 16px; - text-align: center; - margin-bottom: 15px; - } - - /* Theme/Plugin File Editor */ - #templateside { - float: none; - width: auto; - } - - #templateside li { - margin: 0; - } - - #templateside li a { - display: block; - padding: 5px; - } - - #templateside .highlight { - padding: 5px; - margin-left: -5px; - margin-top: -5px; - } - - #template div { - float: none; - margin: 0; - width: auto; - } - - #template textarea { - width: 100%; - } - - .fileedit-sub .alignright { - margin-top: 15px; - } - - #wpfooter { - display: none; - } - - #comments-form .checkforspam { - display: none; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Disable horizontal scroll when responsive menu is open - since we push the main content off to the right. */ - #wpwrap.wp-responsive-open { - overflow-x: hidden; - } - - html.wp-toolbar { - padding-top: 0; - } - - #wpbody { - padding-top: 46px; - } - - /* Keep full-width boxes on Edit Post page from causing horizontal scroll */ - div#post-body.metabox-holder.columns-1 { - overflow-x: hidden; - } -} diff --git a/sources/wordpress/wp-admin/css/customize-controls-rtl.css b/sources/wordpress/wp-admin/css/customize-controls-rtl.css deleted file mode 100644 index 045deca..0000000 --- a/sources/wordpress/wp-admin/css/customize-controls-rtl.css +++ /dev/null @@ -1,889 +0,0 @@ -body { - overflow: hidden; -} - -#customize-controls a { - text-decoration: none; -} - -#customize-controls h3 { - font-size: 14px; -} - -#customize-controls .submit { - text-align: center; -} - -#customize-controls .description { - color: #666666; -} - -#customize-header-actions .button-primary { - float: left; - margin-top: 9px; -} - -#customize-header-actions .spinner { - margin-top: 16px; - margin-left: 4px; -} - -.saving #customize-header-actions .spinner { - display: block; -} - -#customize-header-actions { - border-bottom: 1px solid #ddd; -} - -#customize-controls .wp-full-overlay-sidebar-content { - overflow-y: auto; - overflow-x: hidden; -} - -#customize-info { - border: none; - border-top: 1px solid #ddd; -} - -#customize-info .accordion-section-title { - background-color: #fff; - color: #666666; - border-right: none; - border-left: none; - border-bottom: 1px solid #eeeeee; -} - -#customize-info.open .accordion-section-title:after, -#customize-info .accordion-section-title:hover:after, -#customize-info .accordion-section-title:focus:after { - color: #555555; -} - -#customize-info .preview-notice { - font-size: 13px; - line-height: 24px; -} - -#customize-info .theme-name { - font-size: 20px; - font-weight: 200; - line-height: 24px; - display: block; -} - -#customize-info .theme-screenshot { - width: 258px; -} - -#customize-info .theme-description { - margin-top: 1em; - color: #666666; - line-height: 20px; -} - -#customize-theme-controls .control-section { - border: none; -} - -#customize-theme-controls .accordion-section-title { - color: #555555; - background-color: #fff; - border-bottom: 1px solid #eeeeee; -} - -#customize-theme-controls .accordion-section-content { - color: #555555; - background: #fff; -} - -#customize-info.open .accordion-section-title, -#customize-info .accordion-section-title:hover, -#customize-info .accordion-section-title:focus, -#customize-theme-controls .control-section:hover > .accordion-section-title, -#customize-theme-controls .control-section .accordion-section-title:hover, -#customize-theme-controls .control-section.open .accordion-section-title, -#customize-theme-controls .control-section .accordion-section-title:focus { - color: #222; - background: #f5f5f5; -} - -.js .control-section:hover .accordion-section-title, -.js .control-section .accordion-section-title:hover, -.js .control-section.open .accordion-section-title, -.js .control-section .accordion-section-title:focus { - background: #f5f5f5; -} - -#customize-theme-controls .control-section:hover > .accordion-section-title:after, -#customize-theme-controls .control-section .accordion-section-title:hover:after, -#customize-theme-controls .control-section.open .accordion-section-title:after, -#customize-theme-controls .control-section .accordion-section-title:focus:after { - color: #555; -} - -#customize-info.open, -#customize-theme-controls .control-section.open { - border-bottom: 1px solid #eeeeee; -} - -#customize-theme-controls .control-section.open .accordion-section-title { - border-bottom-color: #eeeeee !important; -} - -#customize-theme-controls .control-section:last-of-type.open, -#customize-theme-controls .control-section:last-of-type > .accordion-section-title { - border-bottom-color: #ddd; -} - -#customize-theme-controls > ul, -#customize-theme-controls .accordion-section-content { - margin: 0; -} - -.control-section.control-panel > .accordion-section-title { - padding-left: 54px; -} - -.control-section.control-panel > .accordion-section-title:after { - content: "\f345"; - background: #f5f5f5; - color: #555; - width: 38px; - height: 100%; - margin: -11px 0 -11px -10px; /* compensate for positioning */ - line-height: 45px; - padding-right: 5px; - border-right: 1px solid #eee; - z-index: 0; -} - -.rtl .control-section.control-panel > .accordion-section-title:after { - content: "\f341"; -} - -#customize-theme-controls .control-section.control-panel > h3.accordion-section-title:focus:after, -#customize-theme-controls .control-section.control-panel > h3.accordion-section-title:hover:after { - background: #ddd; - color: #000; - border: 1px solid #d9d9d9; - border-left: none; - margin-top: -12px; - line-height: 44px; - z-index: 1; -} - -.accordion-sub-container.control-panel-content { - display: none; - position: absolute; - right: 300px; - top: 0; - width: 300px; - border-top: 1px solid #ddd; - -webkit-transition: right ease-in-out .18s; - transition: right ease-in-out .18s; -} - -.accordion-sub-container.control-panel-content.animating { - display: block; -} - -.current-panel .accordion-sub-container.control-panel-content { - width: 100%; -} - -.customize-controls-close { - display: block; - position: absolute; - top: 0; - right: 0; - width: 45px; - height: 45px; - padding-left: 2px; - background: #eee; - border-left: 1px solid #ddd; - color: #444; - cursor: pointer; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.control-panel-back { - display: block; - position: fixed; - top: 0; - z-index: 99; - right: -48px; - width: 45px; - height: 45px; - padding-left: 2px; - background: #eee; - border-left: 1px solid #ddd; - cursor: pointer; - -webkit-transition: right .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out; - transition: right .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out; -} - -.collapsed .control-panel-back { - display: none; -} - -.customize-controls-close:focus, -.customize-controls-close:hover, -.control-panel-back:focus, -.control-panel-back:hover { - background: #ddd; - border-color: #ccc; - color: #000; - outline: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.customize-controls-close:before { - font: normal 22px/1 dashicons; - content: "\f335"; - position: relative; - top: 7px; - right: 13px; -} - -.control-panel-back:before { - font: normal 20px/1 dashicons; - content: "\f341"; - position: relative; - top: 7px; - right: 13px; -} - -.rtl .control-panel-back:before { - content: "\f344"; -} - -.in-sub-panel .control-panel-back { - right: 0; -} - -.current-panel > .accordion-section-title { - height: 22px; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header { - -webkit-transition: padding ease-in-out .18s; - transition: padding ease-in-out .18s; -} - -.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header { - padding-right: 62px; -} - -#customize-info, -#customize-theme-controls > ul > .accordion-section { - position: relative; - right: 0; - -webkit-transition: right ease-in-out .18s; - transition: right ease-in-out .18s; -} - -.in-sub-panel #customize-info, -.in-sub-panel #customize-theme-controls > ul > .accordion-section { - right: -300px; - width: 300px; -} - -.in-sub-panel #customize-theme-controls .accordion-section.current-panel { - width: 100%; -} - -#customize-theme-controls .control-section.current-panel { - padding: 0; -} - -#customize-theme-controls .control-section > h3.accordion-section-title { - position: relative; - right: 0; -} - -#customize-theme-controls .control-section.current-panel > h3.accordion-section-title { - right: -300px; - -webkit-transition: right ease-in-out .18s; - transition: right ease-in-out .18s; -} - -.control-section.control-panel .accordion-section-title .panel-title { - font-size: 20px; - font-weight: 200; - line-height: 24px; - display: block; - border: none; -} - -.control-section.control-panel .preview-notice { - font-size: 13px; - line-height: 24px; -} - -p.customize-section-description { - font-style: normal; -} - -.customize-control { - width: 100%; - float: right; - clear: both; - margin-bottom: 8px; -} - -.customize-control select, -.customize-control input[type="radio"], -.customize-control input[type="checkbox"] { - line-height: 28px; -} - -.customize-control input[type="text"], -.customize-control input[type="password"], -.customize-control input[type="email"], -.customize-control input[type="number"], -.customize-control input[type="search"], -.customize-control input[type="tel"], -.customize-control input[type="url"] { - width: 98%; - line-height: 18px; - margin: 0; -} - -.customize-control-textarea textarea { - width: 100%; - resize: vertical; -} - -.customize-control select { - min-width: 50%; - max-width: 100%; - height: 28px; - line-height: 28px; -} - -.customize-control select[multiple] { - height: auto; -} - -.customize-control-title { - display: block; - font-size: 14px; - line-height: 24px; - font-weight: 600; - margin-bottom: 5px; -} - -.customize-control-description { - display: block; - font-style: italic; - line-height: 18px; - margin-bottom: 5px; -} - -.customize-control-color .color-picker, -.customize-control-checkbox label, -.customize-control-upload div { - line-height: 28px; -} - -.customize-control-checkbox input { - margin-left: 5px; -} - -.customize-control-radio { - padding: 5px 0 10px; -} - -.customize-control-radio .customize-control-title { - margin-bottom: 0; - line-height: 22px; -} - -.customize-control-radio .customize-control-title + .customize-control-description { - margin-top: 7px; -} - -.customize-control-radio label { - line-height: 32px; -} - -.customize-control-radio input { - margin-left: 5px; -} - -#customize-preview iframe { - width: 100%; - height: 100%; -} - -.wp-full-overlay-sidebar { - background: #eeeeee; - border-left: 1px solid #ddd; -} - -.collapse-sidebar { - background-color: transparent !important; - border: none !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - -webkit-border-radius: 0 !important; - border-radius: 0 !important; -} - - -.collapse-sidebar:active, -.collapse-sidebar:active .collapse-sidebar-label, -.collapse-sidebar:active .collapse-sidebar-arrow:before { - text-shadow: none; -} - -.collapsed .collapse-sidebar-arrow:before { - color: #888; -} - -/* Style for custom settings */ - -/* - * Dropdowns - */ -.accordion-section .dropdown { - float: right; - display: block; - position: relative; - cursor: pointer; -} - -.accordion-section .dropdown-content { - overflow: hidden; - float: right; - min-width: 30px; - height: 16px; - line-height: 16px; - margin-left: 16px; - padding: 4px 5px; - border: 2px solid #eeeeee; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.customize-control .dropdown-arrow { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 20px; - background: #eeeeee; -} - -.customize-control .dropdown-arrow:after { - content: "\f140"; - font: normal 20px/1 'dashicons'; - speak: none; - display: block; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #333; -} - -.customize-control .dropdown-status { - color: #333; - background: #eeeeee; - display: none; - max-width: 112px; -} - -/* Color Picker */ -.customize-control-color .color-picker-hex { - display: none; -} - -.customize-control-color.open .color-picker-hex { - display: block; -} - -.customize-control-color .dropdown { - margin-left: 5px; - margin-bottom: 5px; -} - -.customize-control-color .dropdown .dropdown-content { - background-color: #555555; - border: 1px solid rgba(0, 0, 0, 0.15); -} - -.customize-control-color .dropdown:hover .dropdown-content { - border-color: rgba(0, 0, 0, 0.25); -} - -/* - * Image Picker - */ -.customize-control-image .library, -.customize-control-image .actions { - display: none; - float: right; - width: 100%; -} - -.customize-control-image.open .library, -.customize-control-image.open .actions { - display: block; -} - -.accordion-section .customize-control-image .dropdown-content { - height: auto; - min-height: 24px; - min-width: 40px; - padding: 0; -} - -.accordion-section .customize-control-image .dropdown-status { - padding: 4px 5px; -} - -.accordion-section .customize-control-image .preview-thumbnail img { - display: block; - width: 100%; - max-width: 122px; - max-height: 98px; - margin: 0 auto; -} - -.accordion-section .customize-control-image .actions { - text-align: left; -} - -.accordion-section .customize-control-image .library ul { - border-bottom: 1px solid #ddd; - float: right; - width: 100%; - margin: 10px 0 0; -} - -.accordion-section .customize-control-image .library li { - color: #ccc; - float: right; - padding: 3px 15px; - margin: 0; - border: 1px solid transparent; -} - -.accordion-section .customize-control-image .library li.library-selected { - margin-bottom: -1px; - padding-bottom: 4px; - color: #666666; - border-color: #ddd; - border-bottom-color: #fff; -} - -.accordion-section .customize-control-image .library .thumbnail { - display: block; - width: 100%; -} - -.accordion-section .customize-control-image .library .thumbnail img { - display: block; - max-width: 90%; - max-height: 80px; - margin: 5px auto; - padding: 2px; - background: #666666; -} - -.accordion-section .customize-control-image .library .thumbnail:hover img { - background-color: #2ea2cc; -} - -.accordion-section .customize-control-image .library-content { - display: none; - width: 100%; - float: right; - padding: 10px 0; -} - -.accordion-section .customize-control-image .library-content.library-selected { - display: block; -} - -.accordion-section .customize-control-upload .upload-fallback, -.accordion-section .customize-control-image .upload-fallback { - display: none; -} - -.accordion-section .customize-control-upload .upload-dropzone, -.accordion-section .customize-control-image .upload-dropzone { - display: none; - padding: 15px 10px; - border: 3px dashed #dfdfdf; - margin: 5px auto; - text-align: center; - position: relative; - cursor: default; -} - -.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop, -.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop { - display: block; - -webkit-transition: border-color 0.1s; - transition: border-color 0.1s; -} - -.accordion-section .customize-control-upload .library ul li, -.accordion-section .customize-control-image .library ul li { - cursor: pointer; -} - -.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop.drag-over, -.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop.drag-over { - border-color: #83b4d8; -} - -/** - * iOS can't scroll iframes, - * instead it expands the iframe size to match the size of the content - */ -.ios .wp-full-overlay { - position: relative; -} - -.ios #customize-preview { - position: relative; -} - -.ios #customize-controls .wp-full-overlay-sidebar-content { - -webkit-overflow-scrolling: touch; -} - -/** Header control **/ - -#customize-control-header_image .current { - margin-bottom: 8px; -} - -#customize-control-header_image .uploaded { - margin-bottom: 18px; -} - -#customize-control-header_image .uploaded button:not(.random), -#customize-control-header_image .default button:not(.random) { - width: 100%; - padding: 0; - margin: 0; - background: none; - border: none; - color: inherit; - cursor: pointer; -} - -#customize-control-header_image button img { - display: block; -} - -#customize-control-header_image button.new, -#customize-control-header_image button.remove { - white-space: normal; - width: 48%; - height: auto; -} - - -/* Header control: current image container */ - -#customize-control-header_image .current .container { - overflow: hidden; - -webkit-border-radius: 2px; - border: 1px solid #eee; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -#customize-control-header_image .placeholder { - width: 100%; - position: relative; - text-align: center; - cursor: default; -} - -#customize-control-header_image .inner { - display: none; - position: absolute; - width: 100%; - color: #555; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} - -#customize-control-header_image .inner, -#customize-control-header_image .inner .dashicons { - line-height: 20px; - top: 10px; -} -#customize-control-header_image .list .inner, -#customize-control-header_image .list .inner .dashicons { - top: 9px; -} - -#customize-control-header_image .header-view { - position: relative; - width: 100%; - margin-bottom: 5px; -} - -#customize-control-header_image .header-view:last-child { - margin-bottom: 0px; -} - -/* Convoluted, but 'outline' support isn't good enough yet */ -#customize-control-header_image .header-view:after { - border: 0; -} -#customize-control-header_image .header-view.selected:after { - content: ''; - position: absolute; - height: auto; - top: 0; right: 0; bottom: 0; left: 0; - border: 4px solid #2ea2cc; - -webkit-border-radius: 2px; - border-radius: 2px; -} -#customize-control-header_image .header-view.button.selected { - border: 0; -} - -/* Header control: overlay "close" button */ - -#customize-control-header_image .uploaded .header-view .close { - font-size: 2em; - color: grey; - position: absolute; - visibility: hidden; - top: 10px; - left: 10px; - z-index: 1; - width: 20px; - height: 20px; - cursor: pointer; -} - -#customize-control-header_image .uploaded .header-view .close:hover { - color: black; - text-shadow: - -1px -1px 0 #fff, - 1px -1px 0 #fff, - -1px 1px 0 #fff, - 1px 1px 0 #fff; -} - -#customize-control-header_image .header-view:hover .close { - visibility: visible; -} - -/* Header control: randomiz(s)er */ - -#customize-control-header_image .random.placeholder { - cursor: pointer; - -webkit-border-radius: 2px; - border-radius: 2px; - height: 40px; -} - -#customize-control-header_image button.random { - width: 100%; - height: auto; - min-height: 40px; - white-space: normal; -} - -#customize-control-header_image button.random .dice { - margin-top: 4px; -} - -#customize-control-header_image .placeholder:hover .dice, -#customize-control-header_image .header-view:hover > button.random .dice { - -webkit-animation: dice-color-change 3s infinite; - -ms-animation: dice-color-change 3s infinite; - animation: dice-color-change 3s infinite; -} - -@-webkit-keyframes dice-color-change { - 0% { color: #d4b146; } - 50% { color: #ef54b0; } - 75% { color: #7190d3; } - 100% { color: #d4b146; } -} - -@-ms-keyframes dice-color-change { - 0% { color: #d4b146; } - 50% { color: #ef54b0; } - 75% { color: #7190d3; } - 100% { color: #d4b146; } -} - -@keyframes dice-color-change { - 0% { color: #d4b146; } - 50% { color: #ef54b0; } - 75% { color: #7190d3; } - 100% { color: #d4b146; } -} - -/* Header control: actions and choices */ - -#customize-control-header_image .actions { - margin-bottom: 32px; -} - -#customize-control-header_image .choice { - position: relative; - display: block; - margin-bottom: 9px; -} - -#customize-control-header_image .uploaded div:last-child > .choice { - margin-bottom: 0; -} - -#customize-control-header_image img { - width: 100%; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -#customize-control-header_image .remove { - float: right; - margin-left: 3px; -} - -#customize-control-header_image .new { - float: left; -} - - -/** Handle cheaters. */ -body.cheatin { - font-size: medium; - height: auto; - background: #fff; - margin: 50px auto 2em; - padding: 1em 2em; - max-width: 700px; - min-width: 0; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13); - box-shadow: 0 1px 3px rgba(0,0,0,0.13); -} - -body.cheatin p { - font-size: 14px; - line-height: 1.5; - margin: 25px 0 20px; -} diff --git a/sources/wordpress/wp-admin/css/customize-controls-rtl.min.css b/sources/wordpress/wp-admin/css/customize-controls-rtl.min.css deleted file mode 100644 index aa9bb6c..0000000 --- a/sources/wordpress/wp-admin/css/customize-controls-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -body{overflow:hidden}#customize-controls a{text-decoration:none}#customize-controls h3{font-size:14px}#customize-controls .submit{text-align:center}#customize-controls .description{color:#666}#customize-header-actions .button-primary{float:left;margin-top:9px}#customize-header-actions .spinner{margin-top:16px;margin-left:4px}.saving #customize-header-actions .spinner{display:block}#customize-header-actions{border-bottom:1px solid #ddd}#customize-controls .wp-full-overlay-sidebar-content{overflow-y:auto;overflow-x:hidden}#customize-info{border:none;border-top:1px solid #ddd}#customize-info .accordion-section-title{background-color:#fff;color:#666;border-right:none;border-left:none;border-bottom:1px solid #eee}#customize-info .accordion-section-title:focus:after,#customize-info .accordion-section-title:hover:after,#customize-info.open .accordion-section-title:after{color:#555}#customize-info .preview-notice{font-size:13px;line-height:24px}#customize-info .theme-name{font-size:20px;font-weight:200;line-height:24px;display:block}#customize-info .theme-screenshot{width:258px}#customize-info .theme-description{margin-top:1em;color:#666;line-height:20px}#customize-theme-controls .control-section{border:none}#customize-theme-controls .accordion-section-title{color:#555;background-color:#fff;border-bottom:1px solid #eee}#customize-theme-controls .accordion-section-content{color:#555;background:#fff}#customize-info .accordion-section-title:focus,#customize-info .accordion-section-title:hover,#customize-info.open .accordion-section-title,#customize-theme-controls .control-section .accordion-section-title:focus,#customize-theme-controls .control-section .accordion-section-title:hover,#customize-theme-controls .control-section.open .accordion-section-title,#customize-theme-controls .control-section:hover>.accordion-section-title{color:#222;background:#f5f5f5}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{background:#f5f5f5}#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#555}#customize-info.open,#customize-theme-controls .control-section.open{border-bottom:1px solid #eee}#customize-theme-controls .control-section.open .accordion-section-title{border-bottom-color:#eee!important}#customize-theme-controls .control-section:last-of-type.open,#customize-theme-controls .control-section:last-of-type>.accordion-section-title{border-bottom-color:#ddd}#customize-theme-controls .accordion-section-content,#customize-theme-controls>ul{margin:0}.control-section.control-panel>.accordion-section-title{padding-left:54px}.control-section.control-panel>.accordion-section-title:after{content:"\f345";background:#f5f5f5;color:#555;width:38px;height:100%;margin:-11px 0 -11px -10px;line-height:45px;padding-right:5px;border-right:1px solid #eee;z-index:0}.rtl .control-section.control-panel>.accordion-section-title:after{content:"\f341"}#customize-theme-controls .control-section.control-panel>h3.accordion-section-title:focus:after,#customize-theme-controls .control-section.control-panel>h3.accordion-section-title:hover:after{background:#ddd;color:#000;border:1px solid #d9d9d9;border-left:none;margin-top:-12px;line-height:44px;z-index:1}.accordion-sub-container.control-panel-content{display:none;position:absolute;right:300px;top:0;width:300px;border-top:1px solid #ddd;-webkit-transition:right ease-in-out .18s;transition:right ease-in-out .18s}.accordion-sub-container.control-panel-content.animating{display:block}.current-panel .accordion-sub-container.control-panel-content{width:100%}.customize-controls-close{display:block;position:absolute;top:0;right:0;width:45px;height:45px;padding-left:2px;background:#eee;border-left:1px solid #ddd;color:#444;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.control-panel-back{display:block;position:fixed;top:0;z-index:99;right:-48px;width:45px;height:45px;padding-left:2px;background:#eee;border-left:1px solid #ddd;cursor:pointer;-webkit-transition:right .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out;transition:right .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out}.collapsed .control-panel-back{display:none}.control-panel-back:focus,.control-panel-back:hover,.customize-controls-close:focus,.customize-controls-close:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-controls-close:before{font:400 22px/1 dashicons;content:"\f335";position:relative;top:7px;right:13px}.control-panel-back:before{font:400 20px/1 dashicons;content:"\f341";position:relative;top:7px;right:13px}.rtl .control-panel-back:before{content:"\f344"}.in-sub-panel .control-panel-back{right:0}.current-panel>.accordion-section-title{height:22px}.wp-full-overlay-sidebar .wp-full-overlay-header{-webkit-transition:padding ease-in-out .18s;transition:padding ease-in-out .18s}.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header{padding-right:62px}#customize-info,#customize-theme-controls>ul>.accordion-section{position:relative;right:0;-webkit-transition:right ease-in-out .18s;transition:right ease-in-out .18s}.in-sub-panel #customize-info,.in-sub-panel #customize-theme-controls>ul>.accordion-section{right:-300px;width:300px}.in-sub-panel #customize-theme-controls .accordion-section.current-panel{width:100%}#customize-theme-controls .control-section.current-panel{padding:0}#customize-theme-controls .control-section>h3.accordion-section-title{position:relative;right:0}#customize-theme-controls .control-section.current-panel>h3.accordion-section-title{right:-300px;-webkit-transition:right ease-in-out .18s;transition:right ease-in-out .18s}.control-section.control-panel .accordion-section-title .panel-title{font-size:20px;font-weight:200;line-height:24px;display:block;border:none}.control-section.control-panel .preview-notice{font-size:13px;line-height:24px}p.customize-section-description{font-style:normal}.customize-control{width:100%;float:right;clear:both;margin-bottom:8px}.customize-control input[type=checkbox],.customize-control input[type=radio],.customize-control select{line-height:28px}.customize-control input[type=email],.customize-control input[type=number],.customize-control input[type=password],.customize-control input[type=search],.customize-control input[type=tel],.customize-control input[type=text],.customize-control input[type=url]{width:98%;line-height:18px;margin:0}.customize-control-textarea textarea{width:100%;resize:vertical}.customize-control select{min-width:50%;max-width:100%;height:28px;line-height:28px}.customize-control select[multiple]{height:auto}.customize-control-title{display:block;font-size:14px;line-height:24px;font-weight:600;margin-bottom:5px}.customize-control-description{display:block;font-style:italic;line-height:18px;margin-bottom:5px}.customize-control-checkbox label,.customize-control-color .color-picker,.customize-control-upload div{line-height:28px}.customize-control-checkbox input{margin-left:5px}.customize-control-radio{padding:5px 0 10px}.customize-control-radio .customize-control-title{margin-bottom:0;line-height:22px}.customize-control-radio .customize-control-title+.customize-control-description{margin-top:7px}.customize-control-radio label{line-height:32px}.customize-control-radio input{margin-left:5px}#customize-preview iframe{width:100%;height:100%}.wp-full-overlay-sidebar{background:#eee;border-left:1px solid #ddd}.collapse-sidebar{background-color:transparent!important;border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-border-radius:0!important;border-radius:0!important}.collapse-sidebar:active,.collapse-sidebar:active .collapse-sidebar-arrow:before,.collapse-sidebar:active .collapse-sidebar-label{text-shadow:none}.collapsed .collapse-sidebar-arrow:before{color:#888}.accordion-section .dropdown{float:right;display:block;position:relative;cursor:pointer}.accordion-section .dropdown-content{overflow:hidden;float:right;min-width:30px;height:16px;line-height:16px;margin-left:16px;padding:4px 5px;border:2px solid #eee;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.customize-control .dropdown-arrow{position:absolute;top:0;bottom:0;left:0;width:20px;background:#eee}.customize-control .dropdown-arrow:after{content:"\f140";font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#333}.customize-control .dropdown-status{color:#333;background:#eee;display:none;max-width:112px}.customize-control-color .color-picker-hex{display:none}.customize-control-color.open .color-picker-hex{display:block}.customize-control-color .dropdown{margin-left:5px;margin-bottom:5px}.customize-control-color .dropdown .dropdown-content{background-color:#555;border:1px solid rgba(0,0,0,.15)}.customize-control-color .dropdown:hover .dropdown-content{border-color:rgba(0,0,0,.25)}.customize-control-image .actions,.customize-control-image .library{display:none;float:right;width:100%}.customize-control-image.open .actions,.customize-control-image.open .library{display:block}.accordion-section .customize-control-image .dropdown-content{height:auto;min-height:24px;min-width:40px;padding:0}.accordion-section .customize-control-image .dropdown-status{padding:4px 5px}.accordion-section .customize-control-image .preview-thumbnail img{display:block;width:100%;max-width:122px;max-height:98px;margin:0 auto}.accordion-section .customize-control-image .actions{text-align:left}.accordion-section .customize-control-image .library ul{border-bottom:1px solid #ddd;float:right;width:100%;margin:10px 0 0}.accordion-section .customize-control-image .library li{color:#ccc;float:right;padding:3px 15px;margin:0;border:1px solid transparent}.accordion-section .customize-control-image .library li.library-selected{margin-bottom:-1px;padding-bottom:4px;color:#666;border-color:#ddd #ddd #fff}.accordion-section .customize-control-image .library .thumbnail{display:block;width:100%}.accordion-section .customize-control-image .library .thumbnail img{display:block;max-width:90%;max-height:80px;margin:5px auto;padding:2px;background:#666}.accordion-section .customize-control-image .library .thumbnail:hover img{background-color:#2ea2cc}.accordion-section .customize-control-image .library-content{display:none;width:100%;float:right;padding:10px 0}.accordion-section .customize-control-image .library-content.library-selected{display:block}.accordion-section .customize-control-image .upload-fallback,.accordion-section .customize-control-upload .upload-fallback{display:none}.accordion-section .customize-control-image .upload-dropzone,.accordion-section .customize-control-upload .upload-dropzone{display:none;padding:15px 10px;border:3px dashed #dfdfdf;margin:5px auto;text-align:center;position:relative;cursor:default}.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop,.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop{display:block;-webkit-transition:border-color .1s;transition:border-color .1s}.accordion-section .customize-control-image .library ul li,.accordion-section .customize-control-upload .library ul li{cursor:pointer}.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop.drag-over,.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop.drag-over{border-color:#83b4d8}.ios #customize-preview,.ios .wp-full-overlay{position:relative}.ios #customize-controls .wp-full-overlay-sidebar-content{-webkit-overflow-scrolling:touch}#customize-control-header_image .current{margin-bottom:8px}#customize-control-header_image .uploaded{margin-bottom:18px}#customize-control-header_image .default button:not(.random),#customize-control-header_image .uploaded button:not(.random){width:100%;padding:0;margin:0;background:0 0;border:none;color:inherit;cursor:pointer}#customize-control-header_image button img{display:block}#customize-control-header_image button.new,#customize-control-header_image button.remove{white-space:normal;width:48%;height:auto}#customize-control-header_image .current .container{overflow:hidden;border:1px solid #eee;-webkit-border-radius:2px;border-radius:2px}#customize-control-header_image .placeholder{width:100%;position:relative;text-align:center;cursor:default}#customize-control-header_image .inner{display:none;position:absolute;width:100%;color:#555;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#customize-control-header_image .inner,#customize-control-header_image .inner .dashicons{line-height:20px;top:10px}#customize-control-header_image .list .inner,#customize-control-header_image .list .inner .dashicons{top:9px}#customize-control-header_image .header-view{position:relative;width:100%;margin-bottom:5px}#customize-control-header_image .header-view:last-child{margin-bottom:0}#customize-control-header_image .header-view:after{border:0}#customize-control-header_image .header-view.selected:after{content:'';position:absolute;height:auto;top:0;right:0;bottom:0;left:0;border:4px solid #2ea2cc;-webkit-border-radius:2px;border-radius:2px}#customize-control-header_image .header-view.button.selected{border:0}#customize-control-header_image .uploaded .header-view .close{font-size:2em;color:grey;position:absolute;visibility:hidden;top:10px;left:10px;z-index:1;width:20px;height:20px;cursor:pointer}#customize-control-header_image .uploaded .header-view .close:hover{color:#000;text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff}#customize-control-header_image .header-view:hover .close{visibility:visible}#customize-control-header_image .random.placeholder{cursor:pointer;-webkit-border-radius:2px;border-radius:2px;height:40px}#customize-control-header_image button.random{width:100%;height:auto;min-height:40px;white-space:normal}#customize-control-header_image button.random .dice{margin-top:4px}#customize-control-header_image .header-view:hover>button.random .dice,#customize-control-header_image .placeholder:hover .dice{-webkit-animation:dice-color-change 3s infinite;-ms-animation:dice-color-change 3s infinite;animation:dice-color-change 3s infinite}@-webkit-keyframes dice-color-change{0%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}100%{color:#d4b146}}@-ms-keyframes dice-color-change{0%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}100%{color:#d4b146}}@keyframes dice-color-change{0%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}100%{color:#d4b146}}#customize-control-header_image .actions{margin-bottom:32px}#customize-control-header_image .choice{position:relative;display:block;margin-bottom:9px}#customize-control-header_image .uploaded div:last-child>.choice{margin-bottom:0}#customize-control-header_image img{width:100%;-webkit-border-radius:2px;border-radius:2px}#customize-control-header_image .remove{float:right;margin-left:3px}#customize-control-header_image .new{float:left}body.cheatin{font-size:medium;height:auto;background:#fff;margin:50px auto 2em;padding:1em 2em;max-width:700px;min-width:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}body.cheatin p{font-size:14px;line-height:1.5;margin:25px 0 20px} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/customize-controls.css b/sources/wordpress/wp-admin/css/customize-controls.css deleted file mode 100644 index f9f11b3..0000000 --- a/sources/wordpress/wp-admin/css/customize-controls.css +++ /dev/null @@ -1,889 +0,0 @@ -body { - overflow: hidden; -} - -#customize-controls a { - text-decoration: none; -} - -#customize-controls h3 { - font-size: 14px; -} - -#customize-controls .submit { - text-align: center; -} - -#customize-controls .description { - color: #666666; -} - -#customize-header-actions .button-primary { - float: right; - margin-top: 9px; -} - -#customize-header-actions .spinner { - margin-top: 16px; - margin-right: 4px; -} - -.saving #customize-header-actions .spinner { - display: block; -} - -#customize-header-actions { - border-bottom: 1px solid #ddd; -} - -#customize-controls .wp-full-overlay-sidebar-content { - overflow-y: auto; - overflow-x: hidden; -} - -#customize-info { - border: none; - border-top: 1px solid #ddd; -} - -#customize-info .accordion-section-title { - background-color: #fff; - color: #666666; - border-left: none; - border-right: none; - border-bottom: 1px solid #eeeeee; -} - -#customize-info.open .accordion-section-title:after, -#customize-info .accordion-section-title:hover:after, -#customize-info .accordion-section-title:focus:after { - color: #555555; -} - -#customize-info .preview-notice { - font-size: 13px; - line-height: 24px; -} - -#customize-info .theme-name { - font-size: 20px; - font-weight: 200; - line-height: 24px; - display: block; -} - -#customize-info .theme-screenshot { - width: 258px; -} - -#customize-info .theme-description { - margin-top: 1em; - color: #666666; - line-height: 20px; -} - -#customize-theme-controls .control-section { - border: none; -} - -#customize-theme-controls .accordion-section-title { - color: #555555; - background-color: #fff; - border-bottom: 1px solid #eeeeee; -} - -#customize-theme-controls .accordion-section-content { - color: #555555; - background: #fff; -} - -#customize-info.open .accordion-section-title, -#customize-info .accordion-section-title:hover, -#customize-info .accordion-section-title:focus, -#customize-theme-controls .control-section:hover > .accordion-section-title, -#customize-theme-controls .control-section .accordion-section-title:hover, -#customize-theme-controls .control-section.open .accordion-section-title, -#customize-theme-controls .control-section .accordion-section-title:focus { - color: #222; - background: #f5f5f5; -} - -.js .control-section:hover .accordion-section-title, -.js .control-section .accordion-section-title:hover, -.js .control-section.open .accordion-section-title, -.js .control-section .accordion-section-title:focus { - background: #f5f5f5; -} - -#customize-theme-controls .control-section:hover > .accordion-section-title:after, -#customize-theme-controls .control-section .accordion-section-title:hover:after, -#customize-theme-controls .control-section.open .accordion-section-title:after, -#customize-theme-controls .control-section .accordion-section-title:focus:after { - color: #555; -} - -#customize-info.open, -#customize-theme-controls .control-section.open { - border-bottom: 1px solid #eeeeee; -} - -#customize-theme-controls .control-section.open .accordion-section-title { - border-bottom-color: #eeeeee !important; -} - -#customize-theme-controls .control-section:last-of-type.open, -#customize-theme-controls .control-section:last-of-type > .accordion-section-title { - border-bottom-color: #ddd; -} - -#customize-theme-controls > ul, -#customize-theme-controls .accordion-section-content { - margin: 0; -} - -.control-section.control-panel > .accordion-section-title { - padding-right: 54px; -} - -.control-section.control-panel > .accordion-section-title:after { - content: "\f345"; - background: #f5f5f5; - color: #555; - width: 38px; - height: 100%; - margin: -11px -10px -11px 0; /* compensate for positioning */ - line-height: 45px; - padding-left: 5px; - border-left: 1px solid #eee; - z-index: 0; -} - -.rtl .control-section.control-panel > .accordion-section-title:after { - content: "\f341"; -} - -#customize-theme-controls .control-section.control-panel > h3.accordion-section-title:focus:after, -#customize-theme-controls .control-section.control-panel > h3.accordion-section-title:hover:after { - background: #ddd; - color: #000; - border: 1px solid #d9d9d9; - border-right: none; - margin-top: -12px; - line-height: 44px; - z-index: 1; -} - -.accordion-sub-container.control-panel-content { - display: none; - position: absolute; - left: 300px; - top: 0; - width: 300px; - border-top: 1px solid #ddd; - -webkit-transition: left ease-in-out .18s; - transition: left ease-in-out .18s; -} - -.accordion-sub-container.control-panel-content.animating { - display: block; -} - -.current-panel .accordion-sub-container.control-panel-content { - width: 100%; -} - -.customize-controls-close { - display: block; - position: absolute; - top: 0; - left: 0; - width: 45px; - height: 45px; - padding-right: 2px; - background: #eee; - border-right: 1px solid #ddd; - color: #444; - cursor: pointer; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.control-panel-back { - display: block; - position: fixed; - top: 0; - z-index: 99; - left: -48px; - width: 45px; - height: 45px; - padding-right: 2px; - background: #eee; - border-right: 1px solid #ddd; - cursor: pointer; - -webkit-transition: left .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out; - transition: left .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out; -} - -.collapsed .control-panel-back { - display: none; -} - -.customize-controls-close:focus, -.customize-controls-close:hover, -.control-panel-back:focus, -.control-panel-back:hover { - background: #ddd; - border-color: #ccc; - color: #000; - outline: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.customize-controls-close:before { - font: normal 22px/1 dashicons; - content: "\f335"; - position: relative; - top: 7px; - left: 13px; -} - -.control-panel-back:before { - font: normal 20px/1 dashicons; - content: "\f341"; - position: relative; - top: 7px; - left: 13px; -} - -.rtl .control-panel-back:before { - content: "\f344"; -} - -.in-sub-panel .control-panel-back { - left: 0; -} - -.current-panel > .accordion-section-title { - height: 22px; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header { - -webkit-transition: padding ease-in-out .18s; - transition: padding ease-in-out .18s; -} - -.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header { - padding-left: 62px; -} - -#customize-info, -#customize-theme-controls > ul > .accordion-section { - position: relative; - left: 0; - -webkit-transition: left ease-in-out .18s; - transition: left ease-in-out .18s; -} - -.in-sub-panel #customize-info, -.in-sub-panel #customize-theme-controls > ul > .accordion-section { - left: -300px; - width: 300px; -} - -.in-sub-panel #customize-theme-controls .accordion-section.current-panel { - width: 100%; -} - -#customize-theme-controls .control-section.current-panel { - padding: 0; -} - -#customize-theme-controls .control-section > h3.accordion-section-title { - position: relative; - left: 0; -} - -#customize-theme-controls .control-section.current-panel > h3.accordion-section-title { - left: -300px; - -webkit-transition: left ease-in-out .18s; - transition: left ease-in-out .18s; -} - -.control-section.control-panel .accordion-section-title .panel-title { - font-size: 20px; - font-weight: 200; - line-height: 24px; - display: block; - border: none; -} - -.control-section.control-panel .preview-notice { - font-size: 13px; - line-height: 24px; -} - -p.customize-section-description { - font-style: normal; -} - -.customize-control { - width: 100%; - float: left; - clear: both; - margin-bottom: 8px; -} - -.customize-control select, -.customize-control input[type="radio"], -.customize-control input[type="checkbox"] { - line-height: 28px; -} - -.customize-control input[type="text"], -.customize-control input[type="password"], -.customize-control input[type="email"], -.customize-control input[type="number"], -.customize-control input[type="search"], -.customize-control input[type="tel"], -.customize-control input[type="url"] { - width: 98%; - line-height: 18px; - margin: 0; -} - -.customize-control-textarea textarea { - width: 100%; - resize: vertical; -} - -.customize-control select { - min-width: 50%; - max-width: 100%; - height: 28px; - line-height: 28px; -} - -.customize-control select[multiple] { - height: auto; -} - -.customize-control-title { - display: block; - font-size: 14px; - line-height: 24px; - font-weight: 600; - margin-bottom: 5px; -} - -.customize-control-description { - display: block; - font-style: italic; - line-height: 18px; - margin-bottom: 5px; -} - -.customize-control-color .color-picker, -.customize-control-checkbox label, -.customize-control-upload div { - line-height: 28px; -} - -.customize-control-checkbox input { - margin-right: 5px; -} - -.customize-control-radio { - padding: 5px 0 10px; -} - -.customize-control-radio .customize-control-title { - margin-bottom: 0; - line-height: 22px; -} - -.customize-control-radio .customize-control-title + .customize-control-description { - margin-top: 7px; -} - -.customize-control-radio label { - line-height: 32px; -} - -.customize-control-radio input { - margin-right: 5px; -} - -#customize-preview iframe { - width: 100%; - height: 100%; -} - -.wp-full-overlay-sidebar { - background: #eeeeee; - border-right: 1px solid #ddd; -} - -.collapse-sidebar { - background-color: transparent !important; - border: none !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - -webkit-border-radius: 0 !important; - border-radius: 0 !important; -} - - -.collapse-sidebar:active, -.collapse-sidebar:active .collapse-sidebar-label, -.collapse-sidebar:active .collapse-sidebar-arrow:before { - text-shadow: none; -} - -.collapsed .collapse-sidebar-arrow:before { - color: #888; -} - -/* Style for custom settings */ - -/* - * Dropdowns - */ -.accordion-section .dropdown { - float: left; - display: block; - position: relative; - cursor: pointer; -} - -.accordion-section .dropdown-content { - overflow: hidden; - float: left; - min-width: 30px; - height: 16px; - line-height: 16px; - margin-right: 16px; - padding: 4px 5px; - border: 2px solid #eeeeee; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.customize-control .dropdown-arrow { - position: absolute; - top: 0; - bottom: 0; - right: 0; - width: 20px; - background: #eeeeee; -} - -.customize-control .dropdown-arrow:after { - content: "\f140"; - font: normal 20px/1 'dashicons'; - speak: none; - display: block; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #333; -} - -.customize-control .dropdown-status { - color: #333; - background: #eeeeee; - display: none; - max-width: 112px; -} - -/* Color Picker */ -.customize-control-color .color-picker-hex { - display: none; -} - -.customize-control-color.open .color-picker-hex { - display: block; -} - -.customize-control-color .dropdown { - margin-right: 5px; - margin-bottom: 5px; -} - -.customize-control-color .dropdown .dropdown-content { - background-color: #555555; - border: 1px solid rgba(0, 0, 0, 0.15); -} - -.customize-control-color .dropdown:hover .dropdown-content { - border-color: rgba(0, 0, 0, 0.25); -} - -/* - * Image Picker - */ -.customize-control-image .library, -.customize-control-image .actions { - display: none; - float: left; - width: 100%; -} - -.customize-control-image.open .library, -.customize-control-image.open .actions { - display: block; -} - -.accordion-section .customize-control-image .dropdown-content { - height: auto; - min-height: 24px; - min-width: 40px; - padding: 0; -} - -.accordion-section .customize-control-image .dropdown-status { - padding: 4px 5px; -} - -.accordion-section .customize-control-image .preview-thumbnail img { - display: block; - width: 100%; - max-width: 122px; - max-height: 98px; - margin: 0 auto; -} - -.accordion-section .customize-control-image .actions { - text-align: right; -} - -.accordion-section .customize-control-image .library ul { - border-bottom: 1px solid #ddd; - float: left; - width: 100%; - margin: 10px 0 0; -} - -.accordion-section .customize-control-image .library li { - color: #ccc; - float: left; - padding: 3px 15px; - margin: 0; - border: 1px solid transparent; -} - -.accordion-section .customize-control-image .library li.library-selected { - margin-bottom: -1px; - padding-bottom: 4px; - color: #666666; - border-color: #ddd; - border-bottom-color: #fff; -} - -.accordion-section .customize-control-image .library .thumbnail { - display: block; - width: 100%; -} - -.accordion-section .customize-control-image .library .thumbnail img { - display: block; - max-width: 90%; - max-height: 80px; - margin: 5px auto; - padding: 2px; - background: #666666; -} - -.accordion-section .customize-control-image .library .thumbnail:hover img { - background-color: #2ea2cc; -} - -.accordion-section .customize-control-image .library-content { - display: none; - width: 100%; - float: left; - padding: 10px 0; -} - -.accordion-section .customize-control-image .library-content.library-selected { - display: block; -} - -.accordion-section .customize-control-upload .upload-fallback, -.accordion-section .customize-control-image .upload-fallback { - display: none; -} - -.accordion-section .customize-control-upload .upload-dropzone, -.accordion-section .customize-control-image .upload-dropzone { - display: none; - padding: 15px 10px; - border: 3px dashed #dfdfdf; - margin: 5px auto; - text-align: center; - position: relative; - cursor: default; -} - -.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop, -.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop { - display: block; - -webkit-transition: border-color 0.1s; - transition: border-color 0.1s; -} - -.accordion-section .customize-control-upload .library ul li, -.accordion-section .customize-control-image .library ul li { - cursor: pointer; -} - -.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop.drag-over, -.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop.drag-over { - border-color: #83b4d8; -} - -/** - * iOS can't scroll iframes, - * instead it expands the iframe size to match the size of the content - */ -.ios .wp-full-overlay { - position: relative; -} - -.ios #customize-preview { - position: relative; -} - -.ios #customize-controls .wp-full-overlay-sidebar-content { - -webkit-overflow-scrolling: touch; -} - -/** Header control **/ - -#customize-control-header_image .current { - margin-bottom: 8px; -} - -#customize-control-header_image .uploaded { - margin-bottom: 18px; -} - -#customize-control-header_image .uploaded button:not(.random), -#customize-control-header_image .default button:not(.random) { - width: 100%; - padding: 0; - margin: 0; - background: none; - border: none; - color: inherit; - cursor: pointer; -} - -#customize-control-header_image button img { - display: block; -} - -#customize-control-header_image button.new, -#customize-control-header_image button.remove { - white-space: normal; - width: 48%; - height: auto; -} - - -/* Header control: current image container */ - -#customize-control-header_image .current .container { - overflow: hidden; - -webkit-border-radius: 2px; - border: 1px solid #eee; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -#customize-control-header_image .placeholder { - width: 100%; - position: relative; - text-align: center; - cursor: default; -} - -#customize-control-header_image .inner { - display: none; - position: absolute; - width: 100%; - color: #555; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} - -#customize-control-header_image .inner, -#customize-control-header_image .inner .dashicons { - line-height: 20px; - top: 10px; -} -#customize-control-header_image .list .inner, -#customize-control-header_image .list .inner .dashicons { - top: 9px; -} - -#customize-control-header_image .header-view { - position: relative; - width: 100%; - margin-bottom: 5px; -} - -#customize-control-header_image .header-view:last-child { - margin-bottom: 0px; -} - -/* Convoluted, but 'outline' support isn't good enough yet */ -#customize-control-header_image .header-view:after { - border: 0; -} -#customize-control-header_image .header-view.selected:after { - content: ''; - position: absolute; - height: auto; - top: 0; left: 0; bottom: 0; right: 0; - border: 4px solid #2ea2cc; - -webkit-border-radius: 2px; - border-radius: 2px; -} -#customize-control-header_image .header-view.button.selected { - border: 0; -} - -/* Header control: overlay "close" button */ - -#customize-control-header_image .uploaded .header-view .close { - font-size: 2em; - color: grey; - position: absolute; - visibility: hidden; - top: 10px; - right: 10px; - z-index: 1; - width: 20px; - height: 20px; - cursor: pointer; -} - -#customize-control-header_image .uploaded .header-view .close:hover { - color: black; - text-shadow: - -1px -1px 0 #fff, - 1px -1px 0 #fff, - -1px 1px 0 #fff, - 1px 1px 0 #fff; -} - -#customize-control-header_image .header-view:hover .close { - visibility: visible; -} - -/* Header control: randomiz(s)er */ - -#customize-control-header_image .random.placeholder { - cursor: pointer; - -webkit-border-radius: 2px; - border-radius: 2px; - height: 40px; -} - -#customize-control-header_image button.random { - width: 100%; - height: auto; - min-height: 40px; - white-space: normal; -} - -#customize-control-header_image button.random .dice { - margin-top: 4px; -} - -#customize-control-header_image .placeholder:hover .dice, -#customize-control-header_image .header-view:hover > button.random .dice { - -webkit-animation: dice-color-change 3s infinite; - -ms-animation: dice-color-change 3s infinite; - animation: dice-color-change 3s infinite; -} - -@-webkit-keyframes dice-color-change { - 0% { color: #d4b146; } - 50% { color: #ef54b0; } - 75% { color: #7190d3; } - 100% { color: #d4b146; } -} - -@-ms-keyframes dice-color-change { - 0% { color: #d4b146; } - 50% { color: #ef54b0; } - 75% { color: #7190d3; } - 100% { color: #d4b146; } -} - -@keyframes dice-color-change { - 0% { color: #d4b146; } - 50% { color: #ef54b0; } - 75% { color: #7190d3; } - 100% { color: #d4b146; } -} - -/* Header control: actions and choices */ - -#customize-control-header_image .actions { - margin-bottom: 32px; -} - -#customize-control-header_image .choice { - position: relative; - display: block; - margin-bottom: 9px; -} - -#customize-control-header_image .uploaded div:last-child > .choice { - margin-bottom: 0; -} - -#customize-control-header_image img { - width: 100%; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -#customize-control-header_image .remove { - float: left; - margin-right: 3px; -} - -#customize-control-header_image .new { - float: right; -} - - -/** Handle cheaters. */ -body.cheatin { - font-size: medium; - height: auto; - background: #fff; - margin: 50px auto 2em; - padding: 1em 2em; - max-width: 700px; - min-width: 0; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13); - box-shadow: 0 1px 3px rgba(0,0,0,0.13); -} - -body.cheatin p { - font-size: 14px; - line-height: 1.5; - margin: 25px 0 20px; -} diff --git a/sources/wordpress/wp-admin/css/customize-controls.min.css b/sources/wordpress/wp-admin/css/customize-controls.min.css deleted file mode 100644 index 21345fb..0000000 --- a/sources/wordpress/wp-admin/css/customize-controls.min.css +++ /dev/null @@ -1 +0,0 @@ -body{overflow:hidden}#customize-controls a{text-decoration:none}#customize-controls h3{font-size:14px}#customize-controls .submit{text-align:center}#customize-controls .description{color:#666}#customize-header-actions .button-primary{float:right;margin-top:9px}#customize-header-actions .spinner{margin-top:16px;margin-right:4px}.saving #customize-header-actions .spinner{display:block}#customize-header-actions{border-bottom:1px solid #ddd}#customize-controls .wp-full-overlay-sidebar-content{overflow-y:auto;overflow-x:hidden}#customize-info{border:none;border-top:1px solid #ddd}#customize-info .accordion-section-title{background-color:#fff;color:#666;border-left:none;border-right:none;border-bottom:1px solid #eee}#customize-info .accordion-section-title:focus:after,#customize-info .accordion-section-title:hover:after,#customize-info.open .accordion-section-title:after{color:#555}#customize-info .preview-notice{font-size:13px;line-height:24px}#customize-info .theme-name{font-size:20px;font-weight:200;line-height:24px;display:block}#customize-info .theme-screenshot{width:258px}#customize-info .theme-description{margin-top:1em;color:#666;line-height:20px}#customize-theme-controls .control-section{border:none}#customize-theme-controls .accordion-section-title{color:#555;background-color:#fff;border-bottom:1px solid #eee}#customize-theme-controls .accordion-section-content{color:#555;background:#fff}#customize-info .accordion-section-title:focus,#customize-info .accordion-section-title:hover,#customize-info.open .accordion-section-title,#customize-theme-controls .control-section .accordion-section-title:focus,#customize-theme-controls .control-section .accordion-section-title:hover,#customize-theme-controls .control-section.open .accordion-section-title,#customize-theme-controls .control-section:hover>.accordion-section-title{color:#222;background:#f5f5f5}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{background:#f5f5f5}#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#555}#customize-info.open,#customize-theme-controls .control-section.open{border-bottom:1px solid #eee}#customize-theme-controls .control-section.open .accordion-section-title{border-bottom-color:#eee!important}#customize-theme-controls .control-section:last-of-type.open,#customize-theme-controls .control-section:last-of-type>.accordion-section-title{border-bottom-color:#ddd}#customize-theme-controls .accordion-section-content,#customize-theme-controls>ul{margin:0}.control-section.control-panel>.accordion-section-title{padding-right:54px}.control-section.control-panel>.accordion-section-title:after{content:"\f345";background:#f5f5f5;color:#555;width:38px;height:100%;margin:-11px -10px -11px 0;line-height:45px;padding-left:5px;border-left:1px solid #eee;z-index:0}.rtl .control-section.control-panel>.accordion-section-title:after{content:"\f341"}#customize-theme-controls .control-section.control-panel>h3.accordion-section-title:focus:after,#customize-theme-controls .control-section.control-panel>h3.accordion-section-title:hover:after{background:#ddd;color:#000;border:1px solid #d9d9d9;border-right:none;margin-top:-12px;line-height:44px;z-index:1}.accordion-sub-container.control-panel-content{display:none;position:absolute;left:300px;top:0;width:300px;border-top:1px solid #ddd;-webkit-transition:left ease-in-out .18s;transition:left ease-in-out .18s}.accordion-sub-container.control-panel-content.animating{display:block}.current-panel .accordion-sub-container.control-panel-content{width:100%}.customize-controls-close{display:block;position:absolute;top:0;left:0;width:45px;height:45px;padding-right:2px;background:#eee;border-right:1px solid #ddd;color:#444;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.control-panel-back{display:block;position:fixed;top:0;z-index:99;left:-48px;width:45px;height:45px;padding-right:2px;background:#eee;border-right:1px solid #ddd;cursor:pointer;-webkit-transition:left .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out;transition:left .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out}.collapsed .control-panel-back{display:none}.control-panel-back:focus,.control-panel-back:hover,.customize-controls-close:focus,.customize-controls-close:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-controls-close:before{font:400 22px/1 dashicons;content:"\f335";position:relative;top:7px;left:13px}.control-panel-back:before{font:400 20px/1 dashicons;content:"\f341";position:relative;top:7px;left:13px}.rtl .control-panel-back:before{content:"\f344"}.in-sub-panel .control-panel-back{left:0}.current-panel>.accordion-section-title{height:22px}.wp-full-overlay-sidebar .wp-full-overlay-header{-webkit-transition:padding ease-in-out .18s;transition:padding ease-in-out .18s}.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header{padding-left:62px}#customize-info,#customize-theme-controls>ul>.accordion-section{position:relative;left:0;-webkit-transition:left ease-in-out .18s;transition:left ease-in-out .18s}.in-sub-panel #customize-info,.in-sub-panel #customize-theme-controls>ul>.accordion-section{left:-300px;width:300px}.in-sub-panel #customize-theme-controls .accordion-section.current-panel{width:100%}#customize-theme-controls .control-section.current-panel{padding:0}#customize-theme-controls .control-section>h3.accordion-section-title{position:relative;left:0}#customize-theme-controls .control-section.current-panel>h3.accordion-section-title{left:-300px;-webkit-transition:left ease-in-out .18s;transition:left ease-in-out .18s}.control-section.control-panel .accordion-section-title .panel-title{font-size:20px;font-weight:200;line-height:24px;display:block;border:none}.control-section.control-panel .preview-notice{font-size:13px;line-height:24px}p.customize-section-description{font-style:normal}.customize-control{width:100%;float:left;clear:both;margin-bottom:8px}.customize-control input[type=checkbox],.customize-control input[type=radio],.customize-control select{line-height:28px}.customize-control input[type=email],.customize-control input[type=number],.customize-control input[type=password],.customize-control input[type=search],.customize-control input[type=tel],.customize-control input[type=text],.customize-control input[type=url]{width:98%;line-height:18px;margin:0}.customize-control-textarea textarea{width:100%;resize:vertical}.customize-control select{min-width:50%;max-width:100%;height:28px;line-height:28px}.customize-control select[multiple]{height:auto}.customize-control-title{display:block;font-size:14px;line-height:24px;font-weight:600;margin-bottom:5px}.customize-control-description{display:block;font-style:italic;line-height:18px;margin-bottom:5px}.customize-control-checkbox label,.customize-control-color .color-picker,.customize-control-upload div{line-height:28px}.customize-control-checkbox input{margin-right:5px}.customize-control-radio{padding:5px 0 10px}.customize-control-radio .customize-control-title{margin-bottom:0;line-height:22px}.customize-control-radio .customize-control-title+.customize-control-description{margin-top:7px}.customize-control-radio label{line-height:32px}.customize-control-radio input{margin-right:5px}#customize-preview iframe{width:100%;height:100%}.wp-full-overlay-sidebar{background:#eee;border-right:1px solid #ddd}.collapse-sidebar{background-color:transparent!important;border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-border-radius:0!important;border-radius:0!important}.collapse-sidebar:active,.collapse-sidebar:active .collapse-sidebar-arrow:before,.collapse-sidebar:active .collapse-sidebar-label{text-shadow:none}.collapsed .collapse-sidebar-arrow:before{color:#888}.accordion-section .dropdown{float:left;display:block;position:relative;cursor:pointer}.accordion-section .dropdown-content{overflow:hidden;float:left;min-width:30px;height:16px;line-height:16px;margin-right:16px;padding:4px 5px;border:2px solid #eee;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.customize-control .dropdown-arrow{position:absolute;top:0;bottom:0;right:0;width:20px;background:#eee}.customize-control .dropdown-arrow:after{content:"\f140";font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#333}.customize-control .dropdown-status{color:#333;background:#eee;display:none;max-width:112px}.customize-control-color .color-picker-hex{display:none}.customize-control-color.open .color-picker-hex{display:block}.customize-control-color .dropdown{margin-right:5px;margin-bottom:5px}.customize-control-color .dropdown .dropdown-content{background-color:#555;border:1px solid rgba(0,0,0,.15)}.customize-control-color .dropdown:hover .dropdown-content{border-color:rgba(0,0,0,.25)}.customize-control-image .actions,.customize-control-image .library{display:none;float:left;width:100%}.customize-control-image.open .actions,.customize-control-image.open .library{display:block}.accordion-section .customize-control-image .dropdown-content{height:auto;min-height:24px;min-width:40px;padding:0}.accordion-section .customize-control-image .dropdown-status{padding:4px 5px}.accordion-section .customize-control-image .preview-thumbnail img{display:block;width:100%;max-width:122px;max-height:98px;margin:0 auto}.accordion-section .customize-control-image .actions{text-align:right}.accordion-section .customize-control-image .library ul{border-bottom:1px solid #ddd;float:left;width:100%;margin:10px 0 0}.accordion-section .customize-control-image .library li{color:#ccc;float:left;padding:3px 15px;margin:0;border:1px solid transparent}.accordion-section .customize-control-image .library li.library-selected{margin-bottom:-1px;padding-bottom:4px;color:#666;border-color:#ddd #ddd #fff}.accordion-section .customize-control-image .library .thumbnail{display:block;width:100%}.accordion-section .customize-control-image .library .thumbnail img{display:block;max-width:90%;max-height:80px;margin:5px auto;padding:2px;background:#666}.accordion-section .customize-control-image .library .thumbnail:hover img{background-color:#2ea2cc}.accordion-section .customize-control-image .library-content{display:none;width:100%;float:left;padding:10px 0}.accordion-section .customize-control-image .library-content.library-selected{display:block}.accordion-section .customize-control-image .upload-fallback,.accordion-section .customize-control-upload .upload-fallback{display:none}.accordion-section .customize-control-image .upload-dropzone,.accordion-section .customize-control-upload .upload-dropzone{display:none;padding:15px 10px;border:3px dashed #dfdfdf;margin:5px auto;text-align:center;position:relative;cursor:default}.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop,.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop{display:block;-webkit-transition:border-color .1s;transition:border-color .1s}.accordion-section .customize-control-image .library ul li,.accordion-section .customize-control-upload .library ul li{cursor:pointer}.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop.drag-over,.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop.drag-over{border-color:#83b4d8}.ios #customize-preview,.ios .wp-full-overlay{position:relative}.ios #customize-controls .wp-full-overlay-sidebar-content{-webkit-overflow-scrolling:touch}#customize-control-header_image .current{margin-bottom:8px}#customize-control-header_image .uploaded{margin-bottom:18px}#customize-control-header_image .default button:not(.random),#customize-control-header_image .uploaded button:not(.random){width:100%;padding:0;margin:0;background:0 0;border:none;color:inherit;cursor:pointer}#customize-control-header_image button img{display:block}#customize-control-header_image button.new,#customize-control-header_image button.remove{white-space:normal;width:48%;height:auto}#customize-control-header_image .current .container{overflow:hidden;border:1px solid #eee;-webkit-border-radius:2px;border-radius:2px}#customize-control-header_image .placeholder{width:100%;position:relative;text-align:center;cursor:default}#customize-control-header_image .inner{display:none;position:absolute;width:100%;color:#555;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#customize-control-header_image .inner,#customize-control-header_image .inner .dashicons{line-height:20px;top:10px}#customize-control-header_image .list .inner,#customize-control-header_image .list .inner .dashicons{top:9px}#customize-control-header_image .header-view{position:relative;width:100%;margin-bottom:5px}#customize-control-header_image .header-view:last-child{margin-bottom:0}#customize-control-header_image .header-view:after{border:0}#customize-control-header_image .header-view.selected:after{content:'';position:absolute;height:auto;top:0;left:0;bottom:0;right:0;border:4px solid #2ea2cc;-webkit-border-radius:2px;border-radius:2px}#customize-control-header_image .header-view.button.selected{border:0}#customize-control-header_image .uploaded .header-view .close{font-size:2em;color:grey;position:absolute;visibility:hidden;top:10px;right:10px;z-index:1;width:20px;height:20px;cursor:pointer}#customize-control-header_image .uploaded .header-view .close:hover{color:#000;text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff}#customize-control-header_image .header-view:hover .close{visibility:visible}#customize-control-header_image .random.placeholder{cursor:pointer;-webkit-border-radius:2px;border-radius:2px;height:40px}#customize-control-header_image button.random{width:100%;height:auto;min-height:40px;white-space:normal}#customize-control-header_image button.random .dice{margin-top:4px}#customize-control-header_image .header-view:hover>button.random .dice,#customize-control-header_image .placeholder:hover .dice{-webkit-animation:dice-color-change 3s infinite;-ms-animation:dice-color-change 3s infinite;animation:dice-color-change 3s infinite}@-webkit-keyframes dice-color-change{0%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}100%{color:#d4b146}}@-ms-keyframes dice-color-change{0%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}100%{color:#d4b146}}@keyframes dice-color-change{0%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}100%{color:#d4b146}}#customize-control-header_image .actions{margin-bottom:32px}#customize-control-header_image .choice{position:relative;display:block;margin-bottom:9px}#customize-control-header_image .uploaded div:last-child>.choice{margin-bottom:0}#customize-control-header_image img{width:100%;-webkit-border-radius:2px;border-radius:2px}#customize-control-header_image .remove{float:left;margin-right:3px}#customize-control-header_image .new{float:right}body.cheatin{font-size:medium;height:auto;background:#fff;margin:50px auto 2em;padding:1em 2em;max-width:700px;min-width:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}body.cheatin p{font-size:14px;line-height:1.5;margin:25px 0 20px} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/customize-widgets-rtl.css b/sources/wordpress/wp-admin/css/customize-widgets-rtl.css deleted file mode 100644 index a26638e..0000000 --- a/sources/wordpress/wp-admin/css/customize-widgets-rtl.css +++ /dev/null @@ -1,603 +0,0 @@ -.wp-full-overlay-sidebar { - overflow: visible; -} - -/** - * Hide all sidebar sections by default, only show them (via JS) once the - * preview loads and we know whether the sidebars are used in the template. - */ - -.control-section[id^="accordion-section-sidebar-widgets-"], -.customize-control-sidebar_widgets label, -.customize-control-sidebar_widgets .hide-if-js { - /* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */ - display:none; -} - -.customize-control-widget_form .widget-top { - -webkit-transition: opacity 0.5s; - transition: opacity 0.5s; -} - -.customize-control-widget_form:not(.widget-rendered) .widget-top { - opacity: 0.5; -} - -.customize-control-widget_form .widget-control-save, -.customize-control-widget_form .spinner { - display: none; -} - -.customize-control-widget_form.previewer-loading .spinner { - display: inline; -} - -.customize-control-widget_form.widget-form-disabled .widget-content { - opacity: 0.7; - pointer-events: none; - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.customize-control-widget_form .widget { - margin-bottom: 0; -} - -.customize-control-widget_form.wide-widget-control .widget-inside { - position: fixed; - right: 299px; - top: 25%; - border: 1px solid rgb(229, 229, 229); - overflow: auto; -} -.customize-control-widget_form.wide-widget-control .widget-inside > .form { - padding: 20px; -} - -.customize-control-widget_form.wide-widget-control .widget-top { - -webkit-transition: background-color 0.4s; - transition: background-color 0.4s; -} -.customize-control-widget_form.wide-widget-control.expanding .widget-top, -.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top { - background-color: rgb(227, 227, 227); -} - -.widget-inside { - padding: 1px 10px 10px 10px; - border-top: none; - line-height: 16px; -} - -.widget-top { - cursor: move; -} - -.customize-control-widget_form.expanded a.widget-action:after { - content: "\f142"; -} - -.customize-control-widget_form.wide-widget-control a.widget-action:after { - content: "\f139"; -} - -.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after { - content: "\f141"; -} - -.widget-title-action { - cursor: pointer; -} - -.customize-control-widget_form .widget .customize-control-title { - cursor: move; -} - -.control-section.accordion-section.highlighted > .accordion-section-title, -.customize-control-widget_form.highlighted { - outline: none; - -webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8); - box-shadow: 0 0 2px rgba(30,140,190,0.8); - position: relative; - z-index: 1; -} - -#widget-customizer-control-templates { - display: none; -} - -/** -* Widget reordering styles -**/ - -.reorder-toggle { - float: left; - padding: 5px 8px; - text-decoration: none; - cursor: pointer; - outline: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.reorder-toggle:focus { - outline: 1px dotted; -} - -.reorder-done, -.reordering .reorder { - display: none; -} - -.reordering .reorder-done { - display: block; - color: #aa0000; -} - -#customize-theme-controls .reordering .add-new-widget { - opacity: 0.2; - pointer-events: none; - cursor: not-allowed; -} - -#customize-theme-controls .widget-reorder-nav { - display: none; - float: left; - background-color: #fafafa; -} - -.widget-reorder-nav span { - position: relative; - overflow: hidden; - float: right; - display: block; - width: 33px; /* was 42px for mobile */ - height: 43px; - color: #888; - text-indent: -9999px; - cursor: pointer; - outline: none; -} - -.widget-reorder-nav span:before { - display: inline-block; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - font: normal 20px/43px 'dashicons'; - text-align: center; - text-indent: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.widget-reorder-nav span:hover, -.widget-reorder-nav span:focus { - color: #444; - background: #eee; -} - -.move-widget:before { - content: '\f504'; -} - -.move-widget-down:before { - content: '\f347'; -} - -.move-widget-up:before { - content: '\f343'; -} - -#customize-theme-controls .first-widget .move-widget-up, -#customize-theme-controls .last-widget .move-widget-down { - color: #d5d5d5; - cursor: default; -} - -#customize-theme-controls .move-widget-area { - display: none; - background: #fff; - border: 1px solid #dedede; - border-top: none; - cursor: auto; -} - -#customize-theme-controls .reordering .move-widget-area.active { - display: block; -} - -#customize-theme-controls .move-widget-area .description { - margin: 0; - padding: 15px 20px; - font-weight: 400; -} - -#customize-theme-controls .widget-area-select { - margin: 0; - padding: 0; - list-style: none; -} - -#customize-theme-controls .widget-area-select li { - position: relative; - margin: 0; - padding: 13px 42px 15px 15px; - color: #555; - border-top: 1px solid #eee; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -#customize-theme-controls .widget-area-select li:before { - display: none; - content: '\f147'; - position: absolute; - top: 12px; - right: 10px; - font: normal 20px/1 'dashicons'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#customize-theme-controls .widget-area-select li:last-child { - border-bottom: 1px solid #eee; -} - -#customize-theme-controls .widget-area-select .selected { - color: #fff; - text-shadow: 0 -1px 0 rgba(0,0,0,.4); - background: #2ea2cc; -} - -#customize-theme-controls .widget-area-select .selected:before { - display: block; -} - -#customize-theme-controls .move-widget-actions { - text-align: left; - padding: 12px; -} - -#customize-theme-controls .reordering .widget-title-action { - display: none; -} - -#customize-theme-controls .reordering .widget-reorder-nav { - display: block; -} - - -/** - * Styles for new widget addition panel - */ -.wp-full-overlay-main { - left: auto; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */ - width: 100%; -} - -#customize-theme-controls .add-new-widget { - cursor: pointer; - float: left; - margin-right: 10px; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - outline: none; -} - -.add-new-widget:before { - content: "\f132"; - display: inline-block; - position: relative; - right: -2px; - top: -1px; - font: normal 20px/1 'dashicons'; - vertical-align: middle; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -body.adding-widget .add-new-widget, -body.adding-widget .add-new-widget:hover { - background: #eee; - border-color: #999; - color: #333; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); -} -body.adding-widget .add-new-widget:before { - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); -} - -#available-widgets .widget { - position: static; -} - -/* override widgets admin page rules in wp-admin/css/wp-admin.css */ -#widgets-left #available-widgets .widget { - float: none !important; - width: auto !important; -} - -#available-widgets { - position: absolute; - overflow: auto; - top: 0; - bottom: 0; - right: -301px; - width: 300px; - margin: 0; - z-index: 1; - background: #fff; - -webkit-transition: all 0.2s; - transition: all 0.2s; - border-left: 1px solid #dddddd; -} - -#available-widgets-filter { - padding: 8px 13px 7px 17px; - border-bottom: 1px solid #e4e4e4; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -#available-widgets-filter input { - padding: 5px 10px 2px 10px; - width: 100%; -} - -#available-widgets .widget-tpl { - position: relative; - padding: 20px 60px 20px 15px; - border-bottom: 1px solid #e4e4e4; - cursor: pointer; - display: none; -} - -#available-widgets .widget-tpl:hover, -#available-widgets .widget-tpl.selected { - background: #fafafa; -} - -#available-widgets .widget-top, -#available-widgets .widget-top:hover { - border: none; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} - -#available-widgets .widget-title h4 { - padding: 0 0 5px; - font-size: 14px; -} - -#available-widgets .widget .widget-description { - padding: 0; - color: #777; -} - -#customize-preview { - -webkit-transition: all 0.2s; - transition: all 0.2s; -} - -body.adding-widget #available-widgets { - right: 0; -} - -body.adding-widget .wp-full-overlay-main { - right: 300px; -} - -body.adding-widget #customize-preview { - opacity: 0.4; -} - - -/** - * Widget Icon styling - * No plurals in naming. - * Ordered from lowest to highest specificity. - **/ -#available-widgets .widget-title { - position: relative; -} - -#available-widgets .widget-title:before { - content: "\f132"; - position: absolute; - top: -3px; - left: 100%; - margin-left: 20px; - width: 20px; - height: 20px; - color: #333; - font: normal 20px/1 'dashicons'; - text-align: center; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* smiley */ -#available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; } - -/* star-filled */ -#available-widgets [class*="super"] .widget-title:before, -#available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; } - -/* wordpress */ -#available-widgets [class*="meta"] .widget-title:before { content: "\f120"; } - -/* archive-box */ -#available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; } - -/* category */ -#available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; } - -/* comments */ -#available-widgets [class*="comment"] .widget-title:before, -#available-widgets [class*="testimonial"] .widget-title:before, -#available-widgets [class*="chat"] .widget-title:before { content: "\f101"; } - -/* post */ -#available-widgets [class*="post"] .widget-title:before { content: "\f109"; } - -/* admin-page */ -#available-widgets [class*="page"] .widget-title:before { content: "\f105"; } - -/* text */ -#available-widgets [class*="text"] .widget-title:before { content: "\f478"; } - -/* links */ -#available-widgets [class*="link"] .widget-title:before { content: "\f103"; } - -/* search */ -#available-widgets [class*="search"] .widget-title:before { content: "\f179"; } - -/* menu */ -#available-widgets [class*="menu"] .widget-title:before, -#available-widgets [class*="nav"] .widget-title:before { content: "\f333"; } - -/* tag-cloud */ -#available-widgets [class*="tag"] .widget-title:before { content: "\f479"; } - -/* rss */ -#available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; } - -/* calendar */ -#available-widgets [class*="event"] .widget-title:before, -#available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;} - -/* format-image */ -#available-widgets [class*="image"] .widget-title:before, -#available-widgets [class*="photo"] .widget-title:before, -#available-widgets [class*="slide"] .widget-title:before, -#available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; } - -/* format-gallery */ -#available-widgets [class*="album"] .widget-title:before, -#available-widgets [class*="galler"] .widget-title:before { content: "\f161"; } - -/* format-video */ -#available-widgets [class*="video"] .widget-title:before, -#available-widgets [class*="tube"] .widget-title:before { content: "\f126"; } - -/* format-audio */ -#available-widgets [class*="music"] .widget-title:before, -#available-widgets [class*="radio"] .widget-title:before, -#available-widgets [class*="audio"] .widget-title:before { content: "\f127"; } - -/* admin-users */ -#available-widgets [class*="login"] .widget-title:before, -#available-widgets [class*="user"] .widget-title:before, -#available-widgets [class*="member"] .widget-title:before, -#available-widgets [class*="avatar"] .widget-title:before, -#available-widgets [class*="subscriber"] .widget-title:before, -#available-widgets [class*="profile"] .widget-title:before, -#available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; } - -/* cart */ -#available-widgets [class*="commerce"] .widget-title:before, -#available-widgets [class*="shop"] .widget-title:before, -#available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; } - -/* shield */ -#available-widgets [class*="secur"] .widget-title:before, -#available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; } - -/* chart-bar */ -#available-widgets [class*="analytic"] .widget-title:before, -#available-widgets [class*="stat"] .widget-title:before, -#available-widgets [class*="poll"] .widget-title:before { content: "\f185"; } - -/* feedback */ -#available-widgets [class*="form"] .widget-title:before { content: "\f175"; } - -/* email-alt */ -#available-widgets [class*="subscribe"] .widget-title:before, -#available-widgets [class*="news"] .widget-title:before, -#available-widgets [class*="contact"] .widget-title:before, -#available-widgets [class*="mail"] .widget-title:before { content: "\f466"; } - -/* share */ -#available-widgets [class*="share"] .widget-title:before, -#available-widgets [class*="socia"] .widget-title:before { content: "\f237"; } - -/* translation */ -#available-widgets [class*="lang"] .widget-title:before, -#available-widgets [class*="translat"] .widget-title:before { content: "\f326"; } - -/* location-alt */ -#available-widgets [class*="locat"] .widget-title:before, -#available-widgets [class*="map"] .widget-title:before { content: "\f231"; } - -/* download */ -#available-widgets [class*="download"] .widget-title:before { content: "\f316"; } - -/* cloud */ -#available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;} - -/* facebook */ -#available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; } - -/* twitter */ -#available-widgets [class*="tweet"] .widget-title:before, -#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; } - - -@media screen and (max-height: 700px) and (min-width: 981px) { - .customize-control { - margin-bottom: 0; - } - .widget-top { - -webkit-box-shadow: none; - box-shadow: none; - margin-top: -1px; - } - .widget-top:hover { - position: relative; - z-index: 1; - } - .last-widget { - margin-bottom: 15px; - } - .widget-title h4 { - padding: 13px 15px; - } - .widget-top a.widget-action:after { - padding-top: 9px; - } - .widget-reorder-nav span { - height: 39px; - } - .widget-reorder-nav span:before { - line-height: 39px; - } - #customize-theme-controls .widget-area-select li { - padding: 9px 42px 11px 15px; - } - #customize-theme-controls .widget-area-select li:before { - top: 8px; - } -} diff --git a/sources/wordpress/wp-admin/css/customize-widgets-rtl.min.css b/sources/wordpress/wp-admin/css/customize-widgets-rtl.min.css deleted file mode 100644 index 407c087..0000000 --- a/sources/wordpress/wp-admin/css/customize-widgets-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -.wp-full-overlay-sidebar{overflow:visible}.control-section[id^=accordion-section-sidebar-widgets-],.customize-control-sidebar_widgets .hide-if-js,.customize-control-sidebar_widgets label{display:none}.customize-control-widget_form .widget-top{-webkit-transition:opacity .5s;transition:opacity .5s}.customize-control-widget_form:not(.widget-rendered) .widget-top{opacity:.5}.customize-control-widget_form .spinner,.customize-control-widget_form .widget-control-save{display:none}.customize-control-widget_form.previewer-loading .spinner{display:inline}.customize-control-widget_form.widget-form-disabled .widget-content{opacity:.7;pointer-events:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.customize-control-widget_form .widget{margin-bottom:0}.customize-control-widget_form.wide-widget-control .widget-inside{position:fixed;right:299px;top:25%;border:1px solid #e5e5e5;overflow:auto}.customize-control-widget_form.wide-widget-control .widget-inside>.form{padding:20px}.customize-control-widget_form.wide-widget-control .widget-top{-webkit-transition:background-color .4s;transition:background-color .4s}.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top,.customize-control-widget_form.wide-widget-control.expanding .widget-top{background-color:#e3e3e3}.widget-inside{padding:1px 10px 10px;border-top:none;line-height:16px}.widget-top{cursor:move}.customize-control-widget_form.expanded a.widget-action:after{content:"\f142"}.customize-control-widget_form.wide-widget-control a.widget-action:after{content:"\f139"}.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after{content:"\f141"}.widget-title-action{cursor:pointer}.customize-control-widget_form .widget .customize-control-title{cursor:move}.control-section.accordion-section.highlighted>.accordion-section-title,.customize-control-widget_form.highlighted{outline:0;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8);position:relative;z-index:1}#widget-customizer-control-templates{display:none}.reorder-toggle{float:left;padding:5px 8px;text-decoration:none;cursor:pointer;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-toggle:focus{outline:dotted 1px}.reorder-done,.reordering .reorder{display:none}.reordering .reorder-done{display:block;color:#a00}#customize-theme-controls .reordering .add-new-widget{opacity:.2;pointer-events:none;cursor:not-allowed}#customize-theme-controls .widget-reorder-nav{display:none;float:left;background-color:#fafafa}.widget-reorder-nav span{position:relative;overflow:hidden;float:right;display:block;width:33px;height:43px;color:#888;text-indent:-9999px;cursor:pointer;outline:0}.widget-reorder-nav span:before{display:inline-block;position:absolute;top:0;left:0;width:100%;height:100%;font:400 20px/43px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.widget-reorder-nav span:focus,.widget-reorder-nav span:hover{color:#444;background:#eee}.move-widget:before{content:'\f504'}.move-widget-down:before{content:'\f347'}.move-widget-up:before{content:'\f343'}#customize-theme-controls .first-widget .move-widget-up,#customize-theme-controls .last-widget .move-widget-down{color:#d5d5d5;cursor:default}#customize-theme-controls .move-widget-area{display:none;background:#fff;border:1px solid #dedede;border-top:none;cursor:auto}#customize-theme-controls .reordering .move-widget-area.active{display:block}#customize-theme-controls .move-widget-area .description{margin:0;padding:15px 20px;font-weight:400}#customize-theme-controls .widget-area-select{margin:0;padding:0;list-style:none}#customize-theme-controls .widget-area-select li{position:relative;margin:0;padding:13px 42px 15px 15px;color:#555;border-top:1px solid #eee;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#customize-theme-controls .widget-area-select li:before{display:none;content:'\f147';position:absolute;top:12px;right:10px;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#customize-theme-controls .widget-area-select li:last-child{border-bottom:1px solid #eee}#customize-theme-controls .widget-area-select .selected{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.4);background:#2ea2cc}#customize-theme-controls .widget-area-select .selected:before{display:block}#customize-theme-controls .move-widget-actions{text-align:left;padding:12px}#customize-theme-controls .reordering .widget-title-action{display:none}#customize-theme-controls .reordering .widget-reorder-nav{display:block}.wp-full-overlay-main{left:auto;width:100%}#customize-theme-controls .add-new-widget{cursor:pointer;float:left;margin-right:10px;-webkit-transition:all .2s;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.add-new-widget:before{content:"\f132";display:inline-block;position:relative;right:-2px;top:-1px;font:400 20px/1 dashicons;vertical-align:middle;-webkit-transition:all .2s;transition:all .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.adding-widget .add-new-widget,body.adding-widget .add-new-widget:hover{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}body.adding-widget .add-new-widget:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}#available-widgets .widget{position:static}#widgets-left #available-widgets .widget{float:none!important;width:auto!important}#available-widgets{position:absolute;overflow:auto;top:0;bottom:0;right:-301px;width:300px;margin:0;z-index:1;background:#fff;-webkit-transition:all .2s;transition:all .2s;border-left:1px solid #ddd}#available-widgets-filter{padding:8px 13px 7px 17px;border-bottom:1px solid #e4e4e4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-widgets-filter input{padding:5px 10px 2px;width:100%}#available-widgets .widget-tpl{position:relative;padding:20px 60px 20px 15px;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-widgets .widget-tpl.selected,#available-widgets .widget-tpl:hover{background:#fafafa}#available-widgets .widget-top,#available-widgets .widget-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-title h4{padding:0 0 5px;font-size:14px}#available-widgets .widget .widget-description{padding:0;color:#777}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-widget #available-widgets{right:0}body.adding-widget .wp-full-overlay-main{right:300px}body.adding-widget #customize-preview{opacity:.4}#available-widgets .widget-title{position:relative}#available-widgets .widget-title:before{content:"\f132";position:absolute;top:-3px;left:100%;margin-left:20px;width:20px;height:20px;color:#333;font:400 20px/1 dashicons;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-widgets [class*=easy] .widget-title:before{content:"\f328";top:-4px}#available-widgets [class*=like] .widget-title:before,#available-widgets [class*=super] .widget-title:before{content:"\f155";top:-4px}#available-widgets [class*=meta] .widget-title:before{content:"\f120"}#available-widgets [class*=archives] .widget-title:before{content:"\f480";top:-4px}#available-widgets [class*=categor] .widget-title:before{content:"\f318";top:-4px}#available-widgets [class*=chat] .widget-title:before,#available-widgets [class*=comment] .widget-title:before,#available-widgets [class*=testimonial] .widget-title:before{content:"\f101"}#available-widgets [class*=post] .widget-title:before{content:"\f109"}#available-widgets [class*=page] .widget-title:before{content:"\f105"}#available-widgets [class*=text] .widget-title:before{content:"\f478"}#available-widgets [class*=link] .widget-title:before{content:"\f103"}#available-widgets [class*=search] .widget-title:before{content:"\f179"}#available-widgets [class*=menu] .widget-title:before,#available-widgets [class*=nav] .widget-title:before{content:"\f333"}#available-widgets [class*=tag] .widget-title:before{content:"\f479"}#available-widgets [class*=rss] .widget-title:before{content:"\f303";top:-6px}#available-widgets [class*=calendar] .widget-title:before,#available-widgets [class*=event] .widget-title:before{content:"\f145";top:-4px}#available-widgets [class*=image] .widget-title:before,#available-widgets [class*=instagram] .widget-title:before,#available-widgets [class*=photo] .widget-title:before,#available-widgets [class*=slide] .widget-title:before{content:"\f128"}#available-widgets [class*=album] .widget-title:before,#available-widgets [class*=galler] .widget-title:before{content:"\f161"}#available-widgets [class*=tube] .widget-title:before,#available-widgets [class*=video] .widget-title:before{content:"\f126"}#available-widgets [class*=audio] .widget-title:before,#available-widgets [class*=music] .widget-title:before,#available-widgets [class*=radio] .widget-title:before{content:"\f127"}#available-widgets [class*=avatar] .widget-title:before,#available-widgets [class*=grofile] .widget-title:before,#available-widgets [class*=login] .widget-title:before,#available-widgets [class*=member] .widget-title:before,#available-widgets [class*=profile] .widget-title:before,#available-widgets [class*=subscriber] .widget-title:before,#available-widgets [class*=user] .widget-title:before{content:"\f110"}#available-widgets [class*=cart] .widget-title:before,#available-widgets [class*=commerce] .widget-title:before,#available-widgets [class*=shop] .widget-title:before{content:"\f174";top:-4px}#available-widgets [class*=firewall] .widget-title:before,#available-widgets [class*=secur] .widget-title:before{content:"\f332"}#available-widgets [class*=analytic] .widget-title:before,#available-widgets [class*=poll] .widget-title:before,#available-widgets [class*=stat] .widget-title:before{content:"\f185"}#available-widgets [class*=form] .widget-title:before{content:"\f175"}#available-widgets [class*=contact] .widget-title:before,#available-widgets [class*=mail] .widget-title:before,#available-widgets [class*=news] .widget-title:before,#available-widgets [class*=subscribe] .widget-title:before{content:"\f466"}#available-widgets [class*=share] .widget-title:before,#available-widgets [class*=socia] .widget-title:before{content:"\f237"}#available-widgets [class*=lang] .widget-title:before,#available-widgets [class*=translat] .widget-title:before{content:"\f326"}#available-widgets [class*=locat] .widget-title:before,#available-widgets [class*=map] .widget-title:before{content:"\f231"}#available-widgets [class*=download] .widget-title:before{content:"\f316"}#available-widgets [class*=weather] .widget-title:before{content:"\f176";top:-4px}#available-widgets [class*=facebook] .widget-title:before{content:"\f304"}#available-widgets [class*=tweet] .widget-title:before,#available-widgets [class*=twitter] .widget-title:before{content:"\f301"}@media screen and (max-height:700px) and (min-width:981px){.customize-control{margin-bottom:0}.widget-top{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}.widget-top:hover{position:relative;z-index:1}.last-widget{margin-bottom:15px}.widget-title h4{padding:13px 15px}.widget-top a.widget-action:after{padding-top:9px}.widget-reorder-nav span{height:39px}.widget-reorder-nav span:before{line-height:39px}#customize-theme-controls .widget-area-select li{padding:9px 42px 11px 15px}#customize-theme-controls .widget-area-select li:before{top:8px}} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/customize-widgets.css b/sources/wordpress/wp-admin/css/customize-widgets.css deleted file mode 100644 index f025f79..0000000 --- a/sources/wordpress/wp-admin/css/customize-widgets.css +++ /dev/null @@ -1,603 +0,0 @@ -.wp-full-overlay-sidebar { - overflow: visible; -} - -/** - * Hide all sidebar sections by default, only show them (via JS) once the - * preview loads and we know whether the sidebars are used in the template. - */ - -.control-section[id^="accordion-section-sidebar-widgets-"], -.customize-control-sidebar_widgets label, -.customize-control-sidebar_widgets .hide-if-js { - /* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */ - display:none; -} - -.customize-control-widget_form .widget-top { - -webkit-transition: opacity 0.5s; - transition: opacity 0.5s; -} - -.customize-control-widget_form:not(.widget-rendered) .widget-top { - opacity: 0.5; -} - -.customize-control-widget_form .widget-control-save, -.customize-control-widget_form .spinner { - display: none; -} - -.customize-control-widget_form.previewer-loading .spinner { - display: inline; -} - -.customize-control-widget_form.widget-form-disabled .widget-content { - opacity: 0.7; - pointer-events: none; - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.customize-control-widget_form .widget { - margin-bottom: 0; -} - -.customize-control-widget_form.wide-widget-control .widget-inside { - position: fixed; - left: 299px; - top: 25%; - border: 1px solid rgb(229, 229, 229); - overflow: auto; -} -.customize-control-widget_form.wide-widget-control .widget-inside > .form { - padding: 20px; -} - -.customize-control-widget_form.wide-widget-control .widget-top { - -webkit-transition: background-color 0.4s; - transition: background-color 0.4s; -} -.customize-control-widget_form.wide-widget-control.expanding .widget-top, -.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top { - background-color: rgb(227, 227, 227); -} - -.widget-inside { - padding: 1px 10px 10px 10px; - border-top: none; - line-height: 16px; -} - -.widget-top { - cursor: move; -} - -.customize-control-widget_form.expanded a.widget-action:after { - content: "\f142"; -} - -.customize-control-widget_form.wide-widget-control a.widget-action:after { - content: "\f139"; -} - -.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after { - content: "\f141"; -} - -.widget-title-action { - cursor: pointer; -} - -.customize-control-widget_form .widget .customize-control-title { - cursor: move; -} - -.control-section.accordion-section.highlighted > .accordion-section-title, -.customize-control-widget_form.highlighted { - outline: none; - -webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8); - box-shadow: 0 0 2px rgba(30,140,190,0.8); - position: relative; - z-index: 1; -} - -#widget-customizer-control-templates { - display: none; -} - -/** -* Widget reordering styles -**/ - -.reorder-toggle { - float: right; - padding: 5px 8px; - text-decoration: none; - cursor: pointer; - outline: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.reorder-toggle:focus { - outline: 1px dotted; -} - -.reorder-done, -.reordering .reorder { - display: none; -} - -.reordering .reorder-done { - display: block; - color: #aa0000; -} - -#customize-theme-controls .reordering .add-new-widget { - opacity: 0.2; - pointer-events: none; - cursor: not-allowed; -} - -#customize-theme-controls .widget-reorder-nav { - display: none; - float: right; - background-color: #fafafa; -} - -.widget-reorder-nav span { - position: relative; - overflow: hidden; - float: left; - display: block; - width: 33px; /* was 42px for mobile */ - height: 43px; - color: #888; - text-indent: -9999px; - cursor: pointer; - outline: none; -} - -.widget-reorder-nav span:before { - display: inline-block; - position: absolute; - top: 0; - right: 0; - width: 100%; - height: 100%; - font: normal 20px/43px 'dashicons'; - text-align: center; - text-indent: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.widget-reorder-nav span:hover, -.widget-reorder-nav span:focus { - color: #444; - background: #eee; -} - -.move-widget:before { - content: '\f504'; -} - -.move-widget-down:before { - content: '\f347'; -} - -.move-widget-up:before { - content: '\f343'; -} - -#customize-theme-controls .first-widget .move-widget-up, -#customize-theme-controls .last-widget .move-widget-down { - color: #d5d5d5; - cursor: default; -} - -#customize-theme-controls .move-widget-area { - display: none; - background: #fff; - border: 1px solid #dedede; - border-top: none; - cursor: auto; -} - -#customize-theme-controls .reordering .move-widget-area.active { - display: block; -} - -#customize-theme-controls .move-widget-area .description { - margin: 0; - padding: 15px 20px; - font-weight: 400; -} - -#customize-theme-controls .widget-area-select { - margin: 0; - padding: 0; - list-style: none; -} - -#customize-theme-controls .widget-area-select li { - position: relative; - margin: 0; - padding: 13px 15px 15px 42px; - color: #555; - border-top: 1px solid #eee; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -#customize-theme-controls .widget-area-select li:before { - display: none; - content: '\f147'; - position: absolute; - top: 12px; - left: 10px; - font: normal 20px/1 'dashicons'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#customize-theme-controls .widget-area-select li:last-child { - border-bottom: 1px solid #eee; -} - -#customize-theme-controls .widget-area-select .selected { - color: #fff; - text-shadow: 0 -1px 0 rgba(0,0,0,.4); - background: #2ea2cc; -} - -#customize-theme-controls .widget-area-select .selected:before { - display: block; -} - -#customize-theme-controls .move-widget-actions { - text-align: right; - padding: 12px; -} - -#customize-theme-controls .reordering .widget-title-action { - display: none; -} - -#customize-theme-controls .reordering .widget-reorder-nav { - display: block; -} - - -/** - * Styles for new widget addition panel - */ -.wp-full-overlay-main { - right: auto; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */ - width: 100%; -} - -#customize-theme-controls .add-new-widget { - cursor: pointer; - float: right; - margin-left: 10px; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - outline: none; -} - -.add-new-widget:before { - content: "\f132"; - display: inline-block; - position: relative; - left: -2px; - top: -1px; - font: normal 20px/1 'dashicons'; - vertical-align: middle; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -body.adding-widget .add-new-widget, -body.adding-widget .add-new-widget:hover { - background: #eee; - border-color: #999; - color: #333; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); -} -body.adding-widget .add-new-widget:before { - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); -} - -#available-widgets .widget { - position: static; -} - -/* override widgets admin page rules in wp-admin/css/wp-admin.css */ -#widgets-left #available-widgets .widget { - float: none !important; - width: auto !important; -} - -#available-widgets { - position: absolute; - overflow: auto; - top: 0; - bottom: 0; - left: -301px; - width: 300px; - margin: 0; - z-index: 1; - background: #fff; - -webkit-transition: all 0.2s; - transition: all 0.2s; - border-right: 1px solid #dddddd; -} - -#available-widgets-filter { - padding: 8px 17px 7px 13px; - border-bottom: 1px solid #e4e4e4; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -#available-widgets-filter input { - padding: 5px 10px 2px 10px; - width: 100%; -} - -#available-widgets .widget-tpl { - position: relative; - padding: 20px 15px 20px 60px; - border-bottom: 1px solid #e4e4e4; - cursor: pointer; - display: none; -} - -#available-widgets .widget-tpl:hover, -#available-widgets .widget-tpl.selected { - background: #fafafa; -} - -#available-widgets .widget-top, -#available-widgets .widget-top:hover { - border: none; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} - -#available-widgets .widget-title h4 { - padding: 0 0 5px; - font-size: 14px; -} - -#available-widgets .widget .widget-description { - padding: 0; - color: #777; -} - -#customize-preview { - -webkit-transition: all 0.2s; - transition: all 0.2s; -} - -body.adding-widget #available-widgets { - left: 0; -} - -body.adding-widget .wp-full-overlay-main { - left: 300px; -} - -body.adding-widget #customize-preview { - opacity: 0.4; -} - - -/** - * Widget Icon styling - * No plurals in naming. - * Ordered from lowest to highest specificity. - **/ -#available-widgets .widget-title { - position: relative; -} - -#available-widgets .widget-title:before { - content: "\f132"; - position: absolute; - top: -3px; - right: 100%; - margin-right: 20px; - width: 20px; - height: 20px; - color: #333; - font: normal 20px/1 'dashicons'; - text-align: center; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* smiley */ -#available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; } - -/* star-filled */ -#available-widgets [class*="super"] .widget-title:before, -#available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; } - -/* wordpress */ -#available-widgets [class*="meta"] .widget-title:before { content: "\f120"; } - -/* archive-box */ -#available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; } - -/* category */ -#available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; } - -/* comments */ -#available-widgets [class*="comment"] .widget-title:before, -#available-widgets [class*="testimonial"] .widget-title:before, -#available-widgets [class*="chat"] .widget-title:before { content: "\f101"; } - -/* post */ -#available-widgets [class*="post"] .widget-title:before { content: "\f109"; } - -/* admin-page */ -#available-widgets [class*="page"] .widget-title:before { content: "\f105"; } - -/* text */ -#available-widgets [class*="text"] .widget-title:before { content: "\f478"; } - -/* links */ -#available-widgets [class*="link"] .widget-title:before { content: "\f103"; } - -/* search */ -#available-widgets [class*="search"] .widget-title:before { content: "\f179"; } - -/* menu */ -#available-widgets [class*="menu"] .widget-title:before, -#available-widgets [class*="nav"] .widget-title:before { content: "\f333"; } - -/* tag-cloud */ -#available-widgets [class*="tag"] .widget-title:before { content: "\f479"; } - -/* rss */ -#available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; } - -/* calendar */ -#available-widgets [class*="event"] .widget-title:before, -#available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;} - -/* format-image */ -#available-widgets [class*="image"] .widget-title:before, -#available-widgets [class*="photo"] .widget-title:before, -#available-widgets [class*="slide"] .widget-title:before, -#available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; } - -/* format-gallery */ -#available-widgets [class*="album"] .widget-title:before, -#available-widgets [class*="galler"] .widget-title:before { content: "\f161"; } - -/* format-video */ -#available-widgets [class*="video"] .widget-title:before, -#available-widgets [class*="tube"] .widget-title:before { content: "\f126"; } - -/* format-audio */ -#available-widgets [class*="music"] .widget-title:before, -#available-widgets [class*="radio"] .widget-title:before, -#available-widgets [class*="audio"] .widget-title:before { content: "\f127"; } - -/* admin-users */ -#available-widgets [class*="login"] .widget-title:before, -#available-widgets [class*="user"] .widget-title:before, -#available-widgets [class*="member"] .widget-title:before, -#available-widgets [class*="avatar"] .widget-title:before, -#available-widgets [class*="subscriber"] .widget-title:before, -#available-widgets [class*="profile"] .widget-title:before, -#available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; } - -/* cart */ -#available-widgets [class*="commerce"] .widget-title:before, -#available-widgets [class*="shop"] .widget-title:before, -#available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; } - -/* shield */ -#available-widgets [class*="secur"] .widget-title:before, -#available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; } - -/* chart-bar */ -#available-widgets [class*="analytic"] .widget-title:before, -#available-widgets [class*="stat"] .widget-title:before, -#available-widgets [class*="poll"] .widget-title:before { content: "\f185"; } - -/* feedback */ -#available-widgets [class*="form"] .widget-title:before { content: "\f175"; } - -/* email-alt */ -#available-widgets [class*="subscribe"] .widget-title:before, -#available-widgets [class*="news"] .widget-title:before, -#available-widgets [class*="contact"] .widget-title:before, -#available-widgets [class*="mail"] .widget-title:before { content: "\f466"; } - -/* share */ -#available-widgets [class*="share"] .widget-title:before, -#available-widgets [class*="socia"] .widget-title:before { content: "\f237"; } - -/* translation */ -#available-widgets [class*="lang"] .widget-title:before, -#available-widgets [class*="translat"] .widget-title:before { content: "\f326"; } - -/* location-alt */ -#available-widgets [class*="locat"] .widget-title:before, -#available-widgets [class*="map"] .widget-title:before { content: "\f231"; } - -/* download */ -#available-widgets [class*="download"] .widget-title:before { content: "\f316"; } - -/* cloud */ -#available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;} - -/* facebook */ -#available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; } - -/* twitter */ -#available-widgets [class*="tweet"] .widget-title:before, -#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; } - - -@media screen and (max-height: 700px) and (min-width: 981px) { - .customize-control { - margin-bottom: 0; - } - .widget-top { - -webkit-box-shadow: none; - box-shadow: none; - margin-top: -1px; - } - .widget-top:hover { - position: relative; - z-index: 1; - } - .last-widget { - margin-bottom: 15px; - } - .widget-title h4 { - padding: 13px 15px; - } - .widget-top a.widget-action:after { - padding-top: 9px; - } - .widget-reorder-nav span { - height: 39px; - } - .widget-reorder-nav span:before { - line-height: 39px; - } - #customize-theme-controls .widget-area-select li { - padding: 9px 15px 11px 42px; - } - #customize-theme-controls .widget-area-select li:before { - top: 8px; - } -} diff --git a/sources/wordpress/wp-admin/css/customize-widgets.min.css b/sources/wordpress/wp-admin/css/customize-widgets.min.css deleted file mode 100644 index 7c7cf4a..0000000 --- a/sources/wordpress/wp-admin/css/customize-widgets.min.css +++ /dev/null @@ -1 +0,0 @@ -.wp-full-overlay-sidebar{overflow:visible}.control-section[id^=accordion-section-sidebar-widgets-],.customize-control-sidebar_widgets .hide-if-js,.customize-control-sidebar_widgets label{display:none}.customize-control-widget_form .widget-top{-webkit-transition:opacity .5s;transition:opacity .5s}.customize-control-widget_form:not(.widget-rendered) .widget-top{opacity:.5}.customize-control-widget_form .spinner,.customize-control-widget_form .widget-control-save{display:none}.customize-control-widget_form.previewer-loading .spinner{display:inline}.customize-control-widget_form.widget-form-disabled .widget-content{opacity:.7;pointer-events:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.customize-control-widget_form .widget{margin-bottom:0}.customize-control-widget_form.wide-widget-control .widget-inside{position:fixed;left:299px;top:25%;border:1px solid #e5e5e5;overflow:auto}.customize-control-widget_form.wide-widget-control .widget-inside>.form{padding:20px}.customize-control-widget_form.wide-widget-control .widget-top{-webkit-transition:background-color .4s;transition:background-color .4s}.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top,.customize-control-widget_form.wide-widget-control.expanding .widget-top{background-color:#e3e3e3}.widget-inside{padding:1px 10px 10px;border-top:none;line-height:16px}.widget-top{cursor:move}.customize-control-widget_form.expanded a.widget-action:after{content:"\f142"}.customize-control-widget_form.wide-widget-control a.widget-action:after{content:"\f139"}.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after{content:"\f141"}.widget-title-action{cursor:pointer}.customize-control-widget_form .widget .customize-control-title{cursor:move}.control-section.accordion-section.highlighted>.accordion-section-title,.customize-control-widget_form.highlighted{outline:0;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8);position:relative;z-index:1}#widget-customizer-control-templates{display:none}.reorder-toggle{float:right;padding:5px 8px;text-decoration:none;cursor:pointer;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-toggle:focus{outline:dotted 1px}.reorder-done,.reordering .reorder{display:none}.reordering .reorder-done{display:block;color:#a00}#customize-theme-controls .reordering .add-new-widget{opacity:.2;pointer-events:none;cursor:not-allowed}#customize-theme-controls .widget-reorder-nav{display:none;float:right;background-color:#fafafa}.widget-reorder-nav span{position:relative;overflow:hidden;float:left;display:block;width:33px;height:43px;color:#888;text-indent:-9999px;cursor:pointer;outline:0}.widget-reorder-nav span:before{display:inline-block;position:absolute;top:0;right:0;width:100%;height:100%;font:400 20px/43px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.widget-reorder-nav span:focus,.widget-reorder-nav span:hover{color:#444;background:#eee}.move-widget:before{content:'\f504'}.move-widget-down:before{content:'\f347'}.move-widget-up:before{content:'\f343'}#customize-theme-controls .first-widget .move-widget-up,#customize-theme-controls .last-widget .move-widget-down{color:#d5d5d5;cursor:default}#customize-theme-controls .move-widget-area{display:none;background:#fff;border:1px solid #dedede;border-top:none;cursor:auto}#customize-theme-controls .reordering .move-widget-area.active{display:block}#customize-theme-controls .move-widget-area .description{margin:0;padding:15px 20px;font-weight:400}#customize-theme-controls .widget-area-select{margin:0;padding:0;list-style:none}#customize-theme-controls .widget-area-select li{position:relative;margin:0;padding:13px 15px 15px 42px;color:#555;border-top:1px solid #eee;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#customize-theme-controls .widget-area-select li:before{display:none;content:'\f147';position:absolute;top:12px;left:10px;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#customize-theme-controls .widget-area-select li:last-child{border-bottom:1px solid #eee}#customize-theme-controls .widget-area-select .selected{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.4);background:#2ea2cc}#customize-theme-controls .widget-area-select .selected:before{display:block}#customize-theme-controls .move-widget-actions{text-align:right;padding:12px}#customize-theme-controls .reordering .widget-title-action{display:none}#customize-theme-controls .reordering .widget-reorder-nav{display:block}.wp-full-overlay-main{right:auto;width:100%}#customize-theme-controls .add-new-widget{cursor:pointer;float:right;margin-left:10px;-webkit-transition:all .2s;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.add-new-widget:before{content:"\f132";display:inline-block;position:relative;left:-2px;top:-1px;font:400 20px/1 dashicons;vertical-align:middle;-webkit-transition:all .2s;transition:all .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.adding-widget .add-new-widget,body.adding-widget .add-new-widget:hover{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}body.adding-widget .add-new-widget:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}#available-widgets .widget{position:static}#widgets-left #available-widgets .widget{float:none!important;width:auto!important}#available-widgets{position:absolute;overflow:auto;top:0;bottom:0;left:-301px;width:300px;margin:0;z-index:1;background:#fff;-webkit-transition:all .2s;transition:all .2s;border-right:1px solid #ddd}#available-widgets-filter{padding:8px 17px 7px 13px;border-bottom:1px solid #e4e4e4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-widgets-filter input{padding:5px 10px 2px;width:100%}#available-widgets .widget-tpl{position:relative;padding:20px 15px 20px 60px;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-widgets .widget-tpl.selected,#available-widgets .widget-tpl:hover{background:#fafafa}#available-widgets .widget-top,#available-widgets .widget-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-title h4{padding:0 0 5px;font-size:14px}#available-widgets .widget .widget-description{padding:0;color:#777}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-widget #available-widgets{left:0}body.adding-widget .wp-full-overlay-main{left:300px}body.adding-widget #customize-preview{opacity:.4}#available-widgets .widget-title{position:relative}#available-widgets .widget-title:before{content:"\f132";position:absolute;top:-3px;right:100%;margin-right:20px;width:20px;height:20px;color:#333;font:400 20px/1 dashicons;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-widgets [class*=easy] .widget-title:before{content:"\f328";top:-4px}#available-widgets [class*=like] .widget-title:before,#available-widgets [class*=super] .widget-title:before{content:"\f155";top:-4px}#available-widgets [class*=meta] .widget-title:before{content:"\f120"}#available-widgets [class*=archives] .widget-title:before{content:"\f480";top:-4px}#available-widgets [class*=categor] .widget-title:before{content:"\f318";top:-4px}#available-widgets [class*=chat] .widget-title:before,#available-widgets [class*=comment] .widget-title:before,#available-widgets [class*=testimonial] .widget-title:before{content:"\f101"}#available-widgets [class*=post] .widget-title:before{content:"\f109"}#available-widgets [class*=page] .widget-title:before{content:"\f105"}#available-widgets [class*=text] .widget-title:before{content:"\f478"}#available-widgets [class*=link] .widget-title:before{content:"\f103"}#available-widgets [class*=search] .widget-title:before{content:"\f179"}#available-widgets [class*=menu] .widget-title:before,#available-widgets [class*=nav] .widget-title:before{content:"\f333"}#available-widgets [class*=tag] .widget-title:before{content:"\f479"}#available-widgets [class*=rss] .widget-title:before{content:"\f303";top:-6px}#available-widgets [class*=calendar] .widget-title:before,#available-widgets [class*=event] .widget-title:before{content:"\f145";top:-4px}#available-widgets [class*=image] .widget-title:before,#available-widgets [class*=instagram] .widget-title:before,#available-widgets [class*=photo] .widget-title:before,#available-widgets [class*=slide] .widget-title:before{content:"\f128"}#available-widgets [class*=album] .widget-title:before,#available-widgets [class*=galler] .widget-title:before{content:"\f161"}#available-widgets [class*=tube] .widget-title:before,#available-widgets [class*=video] .widget-title:before{content:"\f126"}#available-widgets [class*=audio] .widget-title:before,#available-widgets [class*=music] .widget-title:before,#available-widgets [class*=radio] .widget-title:before{content:"\f127"}#available-widgets [class*=avatar] .widget-title:before,#available-widgets [class*=grofile] .widget-title:before,#available-widgets [class*=login] .widget-title:before,#available-widgets [class*=member] .widget-title:before,#available-widgets [class*=profile] .widget-title:before,#available-widgets [class*=subscriber] .widget-title:before,#available-widgets [class*=user] .widget-title:before{content:"\f110"}#available-widgets [class*=cart] .widget-title:before,#available-widgets [class*=commerce] .widget-title:before,#available-widgets [class*=shop] .widget-title:before{content:"\f174";top:-4px}#available-widgets [class*=firewall] .widget-title:before,#available-widgets [class*=secur] .widget-title:before{content:"\f332"}#available-widgets [class*=analytic] .widget-title:before,#available-widgets [class*=poll] .widget-title:before,#available-widgets [class*=stat] .widget-title:before{content:"\f185"}#available-widgets [class*=form] .widget-title:before{content:"\f175"}#available-widgets [class*=contact] .widget-title:before,#available-widgets [class*=mail] .widget-title:before,#available-widgets [class*=news] .widget-title:before,#available-widgets [class*=subscribe] .widget-title:before{content:"\f466"}#available-widgets [class*=share] .widget-title:before,#available-widgets [class*=socia] .widget-title:before{content:"\f237"}#available-widgets [class*=lang] .widget-title:before,#available-widgets [class*=translat] .widget-title:before{content:"\f326"}#available-widgets [class*=locat] .widget-title:before,#available-widgets [class*=map] .widget-title:before{content:"\f231"}#available-widgets [class*=download] .widget-title:before{content:"\f316"}#available-widgets [class*=weather] .widget-title:before{content:"\f176";top:-4px}#available-widgets [class*=facebook] .widget-title:before{content:"\f304"}#available-widgets [class*=tweet] .widget-title:before,#available-widgets [class*=twitter] .widget-title:before{content:"\f301"}@media screen and (max-height:700px) and (min-width:981px){.customize-control{margin-bottom:0}.widget-top{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}.widget-top:hover{position:relative;z-index:1}.last-widget{margin-bottom:15px}.widget-title h4{padding:13px 15px}.widget-top a.widget-action:after{padding-top:9px}.widget-reorder-nav span{height:39px}.widget-reorder-nav span:before{line-height:39px}#customize-theme-controls .widget-area-select li{padding:9px 15px 11px 42px}#customize-theme-controls .widget-area-select li:before{top:8px}} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/dashboard-rtl.css b/sources/wordpress/wp-admin/css/dashboard-rtl.css deleted file mode 100644 index d6a051b..0000000 --- a/sources/wordpress/wp-admin/css/dashboard-rtl.css +++ /dev/null @@ -1,1112 +0,0 @@ -#wpbody-content #dashboard-widgets.columns-1 .postbox-container { - width: 100%; -} - -#wpbody-content #dashboard-widgets.columns-2 .postbox-container { - width: 49.5%; -} - -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2, -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3, -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 { - float: left; - width: 50.5%; -} - -#wpbody-content #dashboard-widgets.columns-3 .postbox-container { - width: 33.5%; -} - -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1 { - width: 33%; -} - -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3, -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4 { - float: left; -} - -#wpbody-content #dashboard-widgets.columns-4 .postbox-container { - width: 25%; -} - -#dashboard-widgets .postbox-container { - width: 25%; -} - -#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container { - border: none !important; -} - -.ie8 #wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; -} - -.ie8 #wpbody-content #dashboard-widgets #postbox-container-2, -.ie8 #wpbody-content #dashboard-widgets #postbox-container-3, -.ie8 #wpbody-content #dashboard-widgets #postbox-container-4 { - float: left; - width: 50.5%; -} - -.ie8 #dashboard-widgets #postbox-container-3 .empty-container, -.ie8 #dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; -} - -/*------------------------------------------------------------------------------ - 9.0 - Dashboard -------------------------------------------------------------------------------*/ - -#dashboard-widgets-wrap { - overflow: hidden; - margin: 0 -8px; -} - -#dashboard-widgets .postbox .inside { - margin-bottom: 0; -} - -#dashboard-widgets .meta-box-sortables { - margin: 0 8px; - min-height: 100px; -} - -/* @todo: this was originally in this section, but likely belongs elsewhere */ -#the-comment-list td.comment p.comment-author { - margin-top: 0; - margin-right: 0; -} - -#the-comment-list p.comment-author img { - float: right; - margin-left: 8px; -} - -#the-comment-list p.comment-author strong a { - border: none; -} - -#the-comment-list td { - vertical-align: top; -} - -#the-comment-list td.comment { - word-wrap: break-word; -} - -#the-comment-list td.comment img { - max-width: 100%; -} - -/* Welcome Panel */ -.welcome-panel { - position: relative; - overflow: auto; - margin: 16px 0; - padding: 23px 10px 0; - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - background: #fff; - font-size: 13px; - line-height: 2.1em; -} - -.welcome-panel h3 { - margin: 0; - font-size: 21px; - font-weight: normal; - line-height: 1.2; -} - -.welcome-panel h4 { - margin: 1.33em 0 0; - font-size: 16px; -} - -.welcome-panel li { - font-size: 14px; -} - -.welcome-panel p { - color: #777; -} - -.welcome-panel a { - text-decoration: none; -} - -.welcome-panel .about-description { - font-size: 16px; - margin: 0; -} - -.welcome-panel .welcome-panel-close { - position: absolute; - top: 5px; - left: 10px; - padding: 20px 3px 0 15px; - font-size: 13px; - text-decoration: none; - line-height: 1; -} - -#welcome-panel.welcome-panel .welcome-panel-close:before { - position: absolute; - right: -18px; - margin-top: -2px; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -.wp-core-ui .welcome-panel .button.button-hero { - margin: 15px 0 3px; -} - -.welcome-panel-content { - margin-right: 13px; - max-width: 1500px; -} - -.welcome-panel .welcome-panel-column-container { - clear: both; - overflow: hidden; - position: relative; -} - -.welcome-panel .welcome-panel-column { - width: 32%; - min-width: 200px; - float: right; -} - -.ie8 .welcome-panel .welcome-panel-column { - min-width: 230px; -} - -.welcome-panel .welcome-panel-column:first-child { - width: 36%; -} - -.welcome-panel-column p.hide-if-no-customize { - margin-top: 10px; -} - -.welcome-panel-column p { - margin-top: 7px; - color: #464646; -} - -.welcome-panel .welcome-icon { - display: block; - padding: 0 0 8px; - background: transparent !important; -} - -.welcome-panel .welcome-icon:before { - color: #888; - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 0 0 0 10px; - top: -1px; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - vertical-align: top; -} - -.welcome-panel .welcome-write-blog:before, -.welcome-panel .welcome-edit-page:before { - content:'\f119'; - top: -3px; -} - -.welcome-panel .welcome-add-page:before { - content:'\f132'; -} - -.welcome-panel .welcome-view-site:before { - content:'\f115'; - top: -2px; -} - -.welcome-panel .welcome-widgets-menus:before { - content:'\f116'; - top: -2px; -} - -.welcome-panel .welcome-comments:before { - content:'\f117'; - top: -1px; -} - -.welcome-panel .welcome-learn-more:before { - content:'\f118'; - top: -1px; -} - -.welcome-panel .welcome-widgets-menus { - line-height: 16px; -} - -.welcome-panel .welcome-panel-column ul { - margin: 0.8em 0 1em 1em; -} - -.welcome-panel .welcome-panel-column li { - line-height: 16px; - list-style-type: none; -} - -/* Dashboard WordPress news */ - -#dashboard_primary .inside { - margin: 0; - padding: 0; -} - -#dashboard_primary .widget-loading, -#dashboard_primary .dashboard-widget-control-form { - padding: 12px 12px 0; -} - -body #dashboard-widgets .postbox form .submit { - margin: 0; -} - -.dashboard-widget-control-form { - overflow: hidden; -} - -.dashboard-widget-control-form p { - margin-top: 0; -} - -.rssSummary { - color: #777; - margin-top: 4px; -} - -#dashboard_primary .rss-widget { - border-bottom: 1px solid #eee; - font-size: 13px; - padding: 8px 12px 10px; -} - -#dashboard_primary .rss-widget:last-child { - border-bottom: none; - padding-bottom: 8px; -} - -#dashboard_primary .rss-widget a { - font-weight: normal; -} - -#dashboard_primary .rss-widget span, -#dashboard_primary .rss-widget span.rss-date { - color: #777; -} - -#dashboard_primary .rss-widget span.rss-date { - margin-right: 12px; -} - -#dashboard_primary .rss-widget ul li { - margin-bottom: 8px; -} - -/* Dashboard right now */ - -#dashboard_right_now ul { - margin: 0; - overflow: hidden; -} - -#dashboard_right_now li { - width: 50%; - float: right; - margin-bottom: 10px; -} - -#dashboard_right_now .inside { - overflow: hidden; - padding: 0; -} - -#dashboard_right_now .main { - overflow: hidden; - padding: 0 12px 11px; -} - -#dashboard_right_now .main p { - margin: 0; -} - -#dashboard_right_now #wp-version-message .button { - clear: left; - float: left; - position: relative; - top: -5px; -} - -.mu-storage { - overflow: hidden; -} - -#dashboard-widgets h4.mu-storage { - margin-bottom: 10px; -} - -/* Dashboard right now - Colors */ - -#dashboard_right_now li a:before, -#dashboard_right_now li span:before { - color: #888; -} - -#dashboard_right_now .sub { - color: #777; - background: #f5f5f5; - border-top: 1px solid #eee; - padding: 10px 12px 6px 12px; -} - -#dashboard_right_now .sub h4 { - color: #555; -} - -#dashboard_right_now .sub p { - margin: 0 0 1em; -} - -#dashboard_right_now .warning a:before, -#dashboard_right_now .warning span:before { - color: #d54e21; -} - -/* Dashboard right now - Icons */ -#dashboard_right_now li a:before, -#dashboard_right_now li span:before { - content: '\f159'; - font: normal 20px/1 'dashicons'; - speak: none; - display: block; - float: right; - margin: 0 0 0 5px; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - text-decoration: none !important; -} - -#dashboard_right_now .page-count a:before, -#dashboard_right_now .page-count span:before { - content: '\f105'; -} - -#dashboard_right_now .post-count a:before, -#dashboard_right_now .post-count span:before { - content: '\f109'; -} - -#dashboard_right_now .comment-count a:before { - content: '\f101'; -} - -#dashboard_right_now .comment-mod-count a:before { - content: '\f125'; -} - -#dashboard_right_now .storage-count a:before { - content: '\f104'; -} - -#dashboard_right_now .storage-count.warning a:before { - content: '\f153'; -} - -/* Dashboard Quick Draft */ - -#dashboard_quick_press .inside { - margin: 0; - padding: 0; -} - -#dashboard_quick_press div.updated { - margin-bottom: 10px; - border: 1px solid #eee; - border-width: 1px 0 1px 1px; -} - -#dashboard_quick_press form { - overflow: hidden; - margin: 12px; -} - -#dashboard_quick_press .drafts, -#dashboard_quick_press .easy-blogging { - padding: 10px 0 0; -} - -/* Dashboard Quick Draft - Form styling */ - -input#save-post { - float: right; -} - -form.initial-form.quickpress-open label.prompt { - font-style: normal; -} - -form.initial-form.quickpress-open input#title { - height: auto; -} - -#dashboard_quick_press input, -#dashboard_quick_press textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 0; -} - -#dashboard_quick_press textarea { - resize: vertical; -} - -#dashboard-widgets .postbox form .submit { - margin: -39px 0; - float: left; -} - -#description-wrap { - margin-top: 12px; -} - -#title-wrap #title-prompt-text, -.textarea-wrap #content-prompt-text { - color: #777; -} - -#title-wrap #title-prompt-text { - font-size: 1.1em; - padding: 7px 8px; -} - -.input-text-wrap, -.textarea-wrap { - position: relative; -} - -.input-text-wrap .prompt, -.textarea-wrap .prompt { - position: absolute; -} - -.textarea-wrap #content-prompt-text { - font-size: 1.1em; - padding: 7px 8px; -} - -.textarea-wrap textarea#content { - margin: 0 0 8px; - padding: 6px 7px; -} - -#quick-press textarea#content { - min-height: 90px; - max-height: 1300px; - resize: none; -} - -/* Dashboard Quick Draft - Drafts list */ - -.js #dashboard_quick_press .drafts { - border-top: 1px solid #eee; -} - -#dashboard_quick_press .drafts abbr { - border: none; -} - -#dashboard_quick_press .drafts h4 { - margin: 0 12px 8px; - font-weight: normal; -} - -#dashboard_quick_press .drafts .view-all { - float: left; - margin: 0 0 0 12px; -} - -#dashboard_primary a.rsswidget { - font-weight: normal; -} - -#dashboard_quick_press .drafts ul { - margin: 0 12px; -} - -#dashboard_quick_press .drafts li { - margin-bottom: 1em; -} -#dashboard_quick_press .drafts li time { - color: #777; -} - -#dashboard_quick_press .drafts p { - margin: 0; - word-wrap: break-word; -} - -#dashboard_quick_press .draft-title { - overflow: hidden; -} - -#dashboard_quick_press .draft-title a, -#dashboard_quick_press .draft-title time { - float: right; - margin: 0 0 0 5px; -} - -/* Dashboard activity widget */ - -#dashboard-widgets #dashboard_activity h4 { - margin: 0 12px 8px 0; - font-weight: normal; -} - -#dashboard-widgets #dashboard_activity h4.comment-meta { - margin: 0; -} - -#dashboard_activity h4.comment-meta { - margin-bottom: 4px; -} - -#dashboard_activity ul { - padding: 0 12px; -} - -#dashboard_activity .comment-meta span.approve:before { - content: '\f227'; - font: 20px/.5 "dashicons"; - margin-right: 12px; - vertical-align: middle; - position: relative; - top: -1px; - margin-left: 2px; -} - -#dashboard_activity .inside { - padding: 0; - margin: 0; -} - -#dashboard_activity .no-activity { - overflow: hidden; - padding: 0 12px 12px; - text-align: center; -} - -#dashboard_activity .no-activity p { - color: #999; - font-size: 16px; -} - -#dashboard_activity .no-activity .smiley { - margin-top: 0; -} - -#dashboard_activity .no-activity .smiley:before { - content: '\f328'; - font: normal 120px/1 'dashicons'; - speak: none; - display: block; - margin: 0 0 0 5px; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - text-decoration: none !important; -} - -#dashboard_activity .subsubsub { - float: none; - border-top: 1px solid #eeeeee; - margin-top: 0; - padding: 8px 12px 4px; -} - -#future-posts ul, -#published-posts ul { - clear: both; - margin-bottom: 0; -} - -#future-posts li, -#published-posts li { - overflow: hidden; - margin-bottom: 8px; -} - -#future-posts ul span, -#published-posts ul span { - color: #777; - float: right; - margin-left: 8px; - min-width: 150px; -} - -.activity-block { - border-bottom: 1px solid #eee; - overflow: hidden; - padding: 8px 0 4px; -} - -.activity-block:last-child { - border-bottom: none; -} - -.activity-block .subsubsub li { - color: #ddd; -} - -/* Dashboard activity widget - Comments */ -/* @todo: needs serious de-duplication */ - -#activity-widget #the-comment-list tr.undo, -#activity-widget #the-comment-list div.undo { - background: none; - padding: 6px 0; - margin-right: 12px; -} - -#activity-widget #the-comment-list .alternate, -#activity-widget #the-comment-list .alt { - background: none; -} - -#activity-widget #the-comment-list .comment-item { - background: #fafafa; - padding: 12px; - position: relative; -} - -#activity-widget #the-comment-list img { - position: absolute; - top: 13px; -} - -#activity-widget #the-comment-list .dashboard-comment-wrap { - padding-right: 63px; -} - -#activity-widget #the-comment-list .dashboard-comment-wrap blockquote { - margin: 1em 0; -} - -#activity-widget #the-comment-list .comment-item h4 { - font-size: 13px; - color: #999; -} - -#activity-widget #the-comment-list .comment-item p.row-actions { - margin: 4px 0 0 0; -} - -#activity-widget #the-comment-list .comment-item:first-child { - border-top: 1px solid #eeeeee; -} - -#activity-widget #the-comment-list .unapproved { - background-color: #fef7f1; -} - -#activity-widget #the-comment-list .unapproved:before { - content: ""; - display: block; - position: absolute; - right: 0; - top: 0; - bottom: 0; - background: #d54e21; - width: 4px; -} - -#activity-widget #the-comment-list .spam-undo-inside .avatar, -#activity-widget #the-comment-list .trash-undo-inside .avatar { - position: relative; - top: 0; -} - -/* Browse happy box */ - -#dashboard-widgets #dashboard_browser_nag.postbox .inside { - margin: 10px; -} - -.edit-box { - display: none; -} - -h3:hover .edit-box { - display: inline; -} - -#dashboard-widgets form .input-text-wrap input { - width: 100%; -} - -#dashboard-widgets form .textarea-wrap textarea { - width: 100%; -} - -#dashboard-widgets .postbox form .submit { - float: none; - margin: .5em 0 0; - padding: 0; - border: none; -} - -#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish { - min-width: 0; -} - -#dashboard-widgets a { - text-decoration: none; -} - -#dashboard-widgets h3 a { - text-decoration: underline; -} - -#dashboard-widgets h3 .postbox-title-action { - position: absolute; - left: 10px; - padding: 0; - top: 5px; -} - -.js #dashboard-widgets h3 .postbox-title-action { - left: 33px; -} - -#dashboard-widgets h4 { - color: #222; - font-weight: normal; - font-size: 14px; - margin: 0 0 .2em; - padding: 0; -} - -#dashboard_plugins h5 { - font-size: 14px; -} - -/* Recent Comments */ - -#latest-comments #the-comment-list { - position: relative; -} - -#activity-widget #the-comment-list .comment, -#activity-widget #the-comment-list .pingback { - -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); -} - -#activity-widget .comments #the-comment-list .alt { - background-color: transparent; -} - -#activity-widget #latest-comments #the-comment-list .comment-item { - padding: 1em 12px; -} - -#latest-comments #the-comment-list .pingback { - padding-right: 12px !important; -} - -#latest-comments #the-comment-list .comment-item:first-child { - border-top: none; -} - -#latest-comments #the-comment-list .comment-item h4 { - line-height: 1.5em; - margin-top: 0; - color: #666; -} - -#latest-comments #the-comment-list .comment-item h4 cite { - font-style: normal; - font-weight: normal; -} - -#latest-comments #the-comment-list .comment-item blockquote, -#latest-comments #the-comment-list .comment-item blockquote p { - margin: 0; - padding: 0; - display: inline; -} - -#latest-comments #the-comment-list .comment-item p.row-actions { - margin: 3px 0 0; - padding: 0; - font-size: 13px; -} - -/* QuickDraft */ - -#title-wrap label, -#description-wrap label { - cursor: text; -} - -#title-wrap #title { - padding: 2px 6px; - font-size: 1.3em; - outline: none; -} - -#title-wrap #title-prompt-text { - font-size: 1.1em; - padding: 5px 8px; -} - -/* Feeds */ -.rss-widget ul { - margin: 0; - padding: 0; - list-style: none; -} - -a.rsswidget { - font-size: 14px; - font-weight: 600; - line-height: 1.7em; -} - -.rss-widget ul li { - line-height: 1.5em; - margin-bottom: 12px; -} - -.rss-widget span.rss-date { - color: #999; - font-size: 13px; - margin-right: 3px; -} - -.rss-widget cite { - display: block; - text-align: left; - margin: 0 0 1em; - padding: 0; -} - -.rss-widget cite:before { - content: '\2014'; -} - -.dashboard-comment-wrap { - overflow: hidden; - word-wrap: break-word; -} - -/* Browser Nag */ -#dashboard_browser_nag a.update-browser-link { - font-size: 1.2em; - font-weight: 600; -} - -#dashboard_browser_nag a { - text-decoration: underline; -} - -#dashboard_browser_nag p.browser-update-nag.has-browser-icon { - padding-left: 125px; -} - -#dashboard_browser_nag .browser-icon { - margin-top: -35px; -} - -#dashboard_browser_nag.postbox.browser-insecure { - background-color: #ac1b1b; - border-color: #ac1b1b; -} - -#dashboard_browser_nag.postbox { - background-color: #e29808; - background-image: none; - border-color: #edc048; - color: #fff; - -webkit-box-shadow: none; - box-shadow: none; -} - -#dashboard_browser_nag.postbox.browser-insecure h3 { - border-bottom-color: #cd5a5a; - color: #fff; -} - -#dashboard_browser_nag.postbox h3 { - border-bottom-color: #f6e2ac; - background: transparent none; - color: #fff; - -webkit-box-shadow: none; - box-shadow: none; -} - -#dashboard_browser_nag a { - color: #fff; -} - -/* Make the browser nags easier to read with Open Sans */ - -#dashboard_browser_nag h3.hndle { - border: none; - font-weight: 600; - font-size: 20px; - padding-top: 10px; -} - -.postbox#dashboard_browser_nag p a.dismiss { - font-size: 14px; -} - -.postbox#dashboard_browser_nag p, -.postbox#dashboard_browser_nag a, -.postbox#dashboard_browser_nag p.browser-update-nag { - font-size: 16px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/* one column on the dash */ -@media only screen and (max-width: 799px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 100%; - } -} - -/* two columns on the dash, but keep the setting if one is selected */ -@media only screen and (min-width: 800px) and (max-width: 1499px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; - } - - #wpbody-content #dashboard-widgets #postbox-container-2, - #wpbody-content #dashboard-widgets #postbox-container-3, - #wpbody-content #dashboard-widgets #postbox-container-4 { - float: left; - width: 50.5%; - } - - #dashboard-widgets #postbox-container-3 .empty-container, - #dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; - } - - #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container { - width: 100%; - } - - #wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container { - border: 0 none; - height: 0; - min-height: 0; - } - - /* show the radio buttons for column prefs only for one or two columns */ - .index-php .screen-layout, - .index-php .columns-prefs { - display: block; - } - - .columns-prefs .columns-prefs-3, - .columns-prefs .columns-prefs-4 { - display: none; - } -} - -/* three columns on the dash */ -@media only screen and (min-width: 1500px) and (max-width: 1800px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 33.5%; - } - - #wpbody-content #dashboard-widgets #postbox-container-1 { - width: 33%; - } - - #wpbody-content #dashboard-widgets #postbox-container-3, - #wpbody-content #dashboard-widgets #postbox-container-4 { - float: left; - } - - #dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; - } -} - -@media screen and (max-width: 870px) { - .welcome-panel .welcome-panel-column, - .welcome-panel .welcome-panel-column:first-child { - display: block; - float: none; - width: 100%; - } - - .welcome-panel .welcome-panel-column li { - display: inline-block; - margin-left: 13px; - } - - .welcome-panel .welcome-panel-column ul { - margin: 0.4em 0 0; - } - -} - -@media screen and ( max-width: 782px ) { - #dashboard_recent_comments #the-comment-list .comment-item .avatar { - height: 30px; - width: 30px; - margin: 4px 0 5px 10px; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Keep the close icon from overlapping the Welcome text. */ - .welcome-panel .welcome-panel-close { - overflow: hidden; - text-indent: 100%; - white-space: nowrap; - width: 20px; - height: 20px; - left: 0; - padding: 5px; - } - - /* Make the close icon larger for tappability. */ - #welcome-panel.welcome-panel .welcome-panel-close:before { - font-size: 20px; - margin: 0; - } -} diff --git a/sources/wordpress/wp-admin/css/dashboard.css b/sources/wordpress/wp-admin/css/dashboard.css deleted file mode 100644 index 9759e40..0000000 --- a/sources/wordpress/wp-admin/css/dashboard.css +++ /dev/null @@ -1,1112 +0,0 @@ -#wpbody-content #dashboard-widgets.columns-1 .postbox-container { - width: 100%; -} - -#wpbody-content #dashboard-widgets.columns-2 .postbox-container { - width: 49.5%; -} - -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2, -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3, -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 { - float: right; - width: 50.5%; -} - -#wpbody-content #dashboard-widgets.columns-3 .postbox-container { - width: 33.5%; -} - -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1 { - width: 33%; -} - -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3, -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4 { - float: right; -} - -#wpbody-content #dashboard-widgets.columns-4 .postbox-container { - width: 25%; -} - -#dashboard-widgets .postbox-container { - width: 25%; -} - -#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container { - border: none !important; -} - -.ie8 #wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; -} - -.ie8 #wpbody-content #dashboard-widgets #postbox-container-2, -.ie8 #wpbody-content #dashboard-widgets #postbox-container-3, -.ie8 #wpbody-content #dashboard-widgets #postbox-container-4 { - float: right; - width: 50.5%; -} - -.ie8 #dashboard-widgets #postbox-container-3 .empty-container, -.ie8 #dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; -} - -/*------------------------------------------------------------------------------ - 9.0 - Dashboard -------------------------------------------------------------------------------*/ - -#dashboard-widgets-wrap { - overflow: hidden; - margin: 0 -8px; -} - -#dashboard-widgets .postbox .inside { - margin-bottom: 0; -} - -#dashboard-widgets .meta-box-sortables { - margin: 0 8px; - min-height: 100px; -} - -/* @todo: this was originally in this section, but likely belongs elsewhere */ -#the-comment-list td.comment p.comment-author { - margin-top: 0; - margin-left: 0; -} - -#the-comment-list p.comment-author img { - float: left; - margin-right: 8px; -} - -#the-comment-list p.comment-author strong a { - border: none; -} - -#the-comment-list td { - vertical-align: top; -} - -#the-comment-list td.comment { - word-wrap: break-word; -} - -#the-comment-list td.comment img { - max-width: 100%; -} - -/* Welcome Panel */ -.welcome-panel { - position: relative; - overflow: auto; - margin: 16px 0; - padding: 23px 10px 0; - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - background: #fff; - font-size: 13px; - line-height: 2.1em; -} - -.welcome-panel h3 { - margin: 0; - font-size: 21px; - font-weight: normal; - line-height: 1.2; -} - -.welcome-panel h4 { - margin: 1.33em 0 0; - font-size: 16px; -} - -.welcome-panel li { - font-size: 14px; -} - -.welcome-panel p { - color: #777; -} - -.welcome-panel a { - text-decoration: none; -} - -.welcome-panel .about-description { - font-size: 16px; - margin: 0; -} - -.welcome-panel .welcome-panel-close { - position: absolute; - top: 5px; - right: 10px; - padding: 20px 15px 0 3px; - font-size: 13px; - text-decoration: none; - line-height: 1; -} - -#welcome-panel.welcome-panel .welcome-panel-close:before { - position: absolute; - left: -18px; - margin-top: -2px; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -.wp-core-ui .welcome-panel .button.button-hero { - margin: 15px 0 3px; -} - -.welcome-panel-content { - margin-left: 13px; - max-width: 1500px; -} - -.welcome-panel .welcome-panel-column-container { - clear: both; - overflow: hidden; - position: relative; -} - -.welcome-panel .welcome-panel-column { - width: 32%; - min-width: 200px; - float: left; -} - -.ie8 .welcome-panel .welcome-panel-column { - min-width: 230px; -} - -.welcome-panel .welcome-panel-column:first-child { - width: 36%; -} - -.welcome-panel-column p.hide-if-no-customize { - margin-top: 10px; -} - -.welcome-panel-column p { - margin-top: 7px; - color: #464646; -} - -.welcome-panel .welcome-icon { - display: block; - padding: 0 0 8px; - background: transparent !important; -} - -.welcome-panel .welcome-icon:before { - color: #888; - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 0 10px 0 0; - top: -1px; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - vertical-align: top; -} - -.welcome-panel .welcome-write-blog:before, -.welcome-panel .welcome-edit-page:before { - content:'\f119'; - top: -3px; -} - -.welcome-panel .welcome-add-page:before { - content:'\f132'; -} - -.welcome-panel .welcome-view-site:before { - content:'\f115'; - top: -2px; -} - -.welcome-panel .welcome-widgets-menus:before { - content:'\f116'; - top: -2px; -} - -.welcome-panel .welcome-comments:before { - content:'\f117'; - top: -1px; -} - -.welcome-panel .welcome-learn-more:before { - content:'\f118'; - top: -1px; -} - -.welcome-panel .welcome-widgets-menus { - line-height: 16px; -} - -.welcome-panel .welcome-panel-column ul { - margin: 0.8em 1em 1em 0; -} - -.welcome-panel .welcome-panel-column li { - line-height: 16px; - list-style-type: none; -} - -/* Dashboard WordPress news */ - -#dashboard_primary .inside { - margin: 0; - padding: 0; -} - -#dashboard_primary .widget-loading, -#dashboard_primary .dashboard-widget-control-form { - padding: 12px 12px 0; -} - -body #dashboard-widgets .postbox form .submit { - margin: 0; -} - -.dashboard-widget-control-form { - overflow: hidden; -} - -.dashboard-widget-control-form p { - margin-top: 0; -} - -.rssSummary { - color: #777; - margin-top: 4px; -} - -#dashboard_primary .rss-widget { - border-bottom: 1px solid #eee; - font-size: 13px; - padding: 8px 12px 10px; -} - -#dashboard_primary .rss-widget:last-child { - border-bottom: none; - padding-bottom: 8px; -} - -#dashboard_primary .rss-widget a { - font-weight: normal; -} - -#dashboard_primary .rss-widget span, -#dashboard_primary .rss-widget span.rss-date { - color: #777; -} - -#dashboard_primary .rss-widget span.rss-date { - margin-left: 12px; -} - -#dashboard_primary .rss-widget ul li { - margin-bottom: 8px; -} - -/* Dashboard right now */ - -#dashboard_right_now ul { - margin: 0; - overflow: hidden; -} - -#dashboard_right_now li { - width: 50%; - float: left; - margin-bottom: 10px; -} - -#dashboard_right_now .inside { - overflow: hidden; - padding: 0; -} - -#dashboard_right_now .main { - overflow: hidden; - padding: 0 12px 11px; -} - -#dashboard_right_now .main p { - margin: 0; -} - -#dashboard_right_now #wp-version-message .button { - clear: right; - float: right; - position: relative; - top: -5px; -} - -.mu-storage { - overflow: hidden; -} - -#dashboard-widgets h4.mu-storage { - margin-bottom: 10px; -} - -/* Dashboard right now - Colors */ - -#dashboard_right_now li a:before, -#dashboard_right_now li span:before { - color: #888; -} - -#dashboard_right_now .sub { - color: #777; - background: #f5f5f5; - border-top: 1px solid #eee; - padding: 10px 12px 6px 12px; -} - -#dashboard_right_now .sub h4 { - color: #555; -} - -#dashboard_right_now .sub p { - margin: 0 0 1em; -} - -#dashboard_right_now .warning a:before, -#dashboard_right_now .warning span:before { - color: #d54e21; -} - -/* Dashboard right now - Icons */ -#dashboard_right_now li a:before, -#dashboard_right_now li span:before { - content: '\f159'; - font: normal 20px/1 'dashicons'; - speak: none; - display: block; - float: left; - margin: 0 5px 0 0; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - text-decoration: none !important; -} - -#dashboard_right_now .page-count a:before, -#dashboard_right_now .page-count span:before { - content: '\f105'; -} - -#dashboard_right_now .post-count a:before, -#dashboard_right_now .post-count span:before { - content: '\f109'; -} - -#dashboard_right_now .comment-count a:before { - content: '\f101'; -} - -#dashboard_right_now .comment-mod-count a:before { - content: '\f125'; -} - -#dashboard_right_now .storage-count a:before { - content: '\f104'; -} - -#dashboard_right_now .storage-count.warning a:before { - content: '\f153'; -} - -/* Dashboard Quick Draft */ - -#dashboard_quick_press .inside { - margin: 0; - padding: 0; -} - -#dashboard_quick_press div.updated { - margin-bottom: 10px; - border: 1px solid #eee; - border-width: 1px 1px 1px 0; -} - -#dashboard_quick_press form { - overflow: hidden; - margin: 12px; -} - -#dashboard_quick_press .drafts, -#dashboard_quick_press .easy-blogging { - padding: 10px 0 0; -} - -/* Dashboard Quick Draft - Form styling */ - -input#save-post { - float: left; -} - -form.initial-form.quickpress-open label.prompt { - font-style: normal; -} - -form.initial-form.quickpress-open input#title { - height: auto; -} - -#dashboard_quick_press input, -#dashboard_quick_press textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 0; -} - -#dashboard_quick_press textarea { - resize: vertical; -} - -#dashboard-widgets .postbox form .submit { - margin: -39px 0; - float: right; -} - -#description-wrap { - margin-top: 12px; -} - -#title-wrap #title-prompt-text, -.textarea-wrap #content-prompt-text { - color: #777; -} - -#title-wrap #title-prompt-text { - font-size: 1.1em; - padding: 7px 8px; -} - -.input-text-wrap, -.textarea-wrap { - position: relative; -} - -.input-text-wrap .prompt, -.textarea-wrap .prompt { - position: absolute; -} - -.textarea-wrap #content-prompt-text { - font-size: 1.1em; - padding: 7px 8px; -} - -.textarea-wrap textarea#content { - margin: 0 0 8px; - padding: 6px 7px; -} - -#quick-press textarea#content { - min-height: 90px; - max-height: 1300px; - resize: none; -} - -/* Dashboard Quick Draft - Drafts list */ - -.js #dashboard_quick_press .drafts { - border-top: 1px solid #eee; -} - -#dashboard_quick_press .drafts abbr { - border: none; -} - -#dashboard_quick_press .drafts h4 { - margin: 0 12px 8px; - font-weight: normal; -} - -#dashboard_quick_press .drafts .view-all { - float: right; - margin: 0 12px 0 0; -} - -#dashboard_primary a.rsswidget { - font-weight: normal; -} - -#dashboard_quick_press .drafts ul { - margin: 0 12px; -} - -#dashboard_quick_press .drafts li { - margin-bottom: 1em; -} -#dashboard_quick_press .drafts li time { - color: #777; -} - -#dashboard_quick_press .drafts p { - margin: 0; - word-wrap: break-word; -} - -#dashboard_quick_press .draft-title { - overflow: hidden; -} - -#dashboard_quick_press .draft-title a, -#dashboard_quick_press .draft-title time { - float: left; - margin: 0 5px 0 0; -} - -/* Dashboard activity widget */ - -#dashboard-widgets #dashboard_activity h4 { - margin: 0 0 8px 12px; - font-weight: normal; -} - -#dashboard-widgets #dashboard_activity h4.comment-meta { - margin: 0; -} - -#dashboard_activity h4.comment-meta { - margin-bottom: 4px; -} - -#dashboard_activity ul { - padding: 0 12px; -} - -#dashboard_activity .comment-meta span.approve:before { - content: '\f227'; - font: 20px/.5 "dashicons"; - margin-left: 12px; - vertical-align: middle; - position: relative; - top: -1px; - margin-right: 2px; -} - -#dashboard_activity .inside { - padding: 0; - margin: 0; -} - -#dashboard_activity .no-activity { - overflow: hidden; - padding: 0 12px 12px; - text-align: center; -} - -#dashboard_activity .no-activity p { - color: #999; - font-size: 16px; -} - -#dashboard_activity .no-activity .smiley { - margin-top: 0; -} - -#dashboard_activity .no-activity .smiley:before { - content: '\f328'; - font: normal 120px/1 'dashicons'; - speak: none; - display: block; - margin: 0 5px 0 0; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - text-decoration: none !important; -} - -#dashboard_activity .subsubsub { - float: none; - border-top: 1px solid #eeeeee; - margin-top: 0; - padding: 8px 12px 4px; -} - -#future-posts ul, -#published-posts ul { - clear: both; - margin-bottom: 0; -} - -#future-posts li, -#published-posts li { - overflow: hidden; - margin-bottom: 8px; -} - -#future-posts ul span, -#published-posts ul span { - color: #777; - float: left; - margin-right: 8px; - min-width: 150px; -} - -.activity-block { - border-bottom: 1px solid #eee; - overflow: hidden; - padding: 8px 0 4px; -} - -.activity-block:last-child { - border-bottom: none; -} - -.activity-block .subsubsub li { - color: #ddd; -} - -/* Dashboard activity widget - Comments */ -/* @todo: needs serious de-duplication */ - -#activity-widget #the-comment-list tr.undo, -#activity-widget #the-comment-list div.undo { - background: none; - padding: 6px 0; - margin-left: 12px; -} - -#activity-widget #the-comment-list .alternate, -#activity-widget #the-comment-list .alt { - background: none; -} - -#activity-widget #the-comment-list .comment-item { - background: #fafafa; - padding: 12px; - position: relative; -} - -#activity-widget #the-comment-list img { - position: absolute; - top: 13px; -} - -#activity-widget #the-comment-list .dashboard-comment-wrap { - padding-left: 63px; -} - -#activity-widget #the-comment-list .dashboard-comment-wrap blockquote { - margin: 1em 0; -} - -#activity-widget #the-comment-list .comment-item h4 { - font-size: 13px; - color: #999; -} - -#activity-widget #the-comment-list .comment-item p.row-actions { - margin: 4px 0 0 0; -} - -#activity-widget #the-comment-list .comment-item:first-child { - border-top: 1px solid #eeeeee; -} - -#activity-widget #the-comment-list .unapproved { - background-color: #fef7f1; -} - -#activity-widget #the-comment-list .unapproved:before { - content: ""; - display: block; - position: absolute; - left: 0; - top: 0; - bottom: 0; - background: #d54e21; - width: 4px; -} - -#activity-widget #the-comment-list .spam-undo-inside .avatar, -#activity-widget #the-comment-list .trash-undo-inside .avatar { - position: relative; - top: 0; -} - -/* Browse happy box */ - -#dashboard-widgets #dashboard_browser_nag.postbox .inside { - margin: 10px; -} - -.edit-box { - display: none; -} - -h3:hover .edit-box { - display: inline; -} - -#dashboard-widgets form .input-text-wrap input { - width: 100%; -} - -#dashboard-widgets form .textarea-wrap textarea { - width: 100%; -} - -#dashboard-widgets .postbox form .submit { - float: none; - margin: .5em 0 0; - padding: 0; - border: none; -} - -#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish { - min-width: 0; -} - -#dashboard-widgets a { - text-decoration: none; -} - -#dashboard-widgets h3 a { - text-decoration: underline; -} - -#dashboard-widgets h3 .postbox-title-action { - position: absolute; - right: 10px; - padding: 0; - top: 5px; -} - -.js #dashboard-widgets h3 .postbox-title-action { - right: 33px; -} - -#dashboard-widgets h4 { - color: #222; - font-weight: normal; - font-size: 14px; - margin: 0 0 .2em; - padding: 0; -} - -#dashboard_plugins h5 { - font-size: 14px; -} - -/* Recent Comments */ - -#latest-comments #the-comment-list { - position: relative; -} - -#activity-widget #the-comment-list .comment, -#activity-widget #the-comment-list .pingback { - -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); -} - -#activity-widget .comments #the-comment-list .alt { - background-color: transparent; -} - -#activity-widget #latest-comments #the-comment-list .comment-item { - padding: 1em 12px; -} - -#latest-comments #the-comment-list .pingback { - padding-left: 12px !important; -} - -#latest-comments #the-comment-list .comment-item:first-child { - border-top: none; -} - -#latest-comments #the-comment-list .comment-item h4 { - line-height: 1.5em; - margin-top: 0; - color: #666; -} - -#latest-comments #the-comment-list .comment-item h4 cite { - font-style: normal; - font-weight: normal; -} - -#latest-comments #the-comment-list .comment-item blockquote, -#latest-comments #the-comment-list .comment-item blockquote p { - margin: 0; - padding: 0; - display: inline; -} - -#latest-comments #the-comment-list .comment-item p.row-actions { - margin: 3px 0 0; - padding: 0; - font-size: 13px; -} - -/* QuickDraft */ - -#title-wrap label, -#description-wrap label { - cursor: text; -} - -#title-wrap #title { - padding: 2px 6px; - font-size: 1.3em; - outline: none; -} - -#title-wrap #title-prompt-text { - font-size: 1.1em; - padding: 5px 8px; -} - -/* Feeds */ -.rss-widget ul { - margin: 0; - padding: 0; - list-style: none; -} - -a.rsswidget { - font-size: 14px; - font-weight: 600; - line-height: 1.7em; -} - -.rss-widget ul li { - line-height: 1.5em; - margin-bottom: 12px; -} - -.rss-widget span.rss-date { - color: #999; - font-size: 13px; - margin-left: 3px; -} - -.rss-widget cite { - display: block; - text-align: right; - margin: 0 0 1em; - padding: 0; -} - -.rss-widget cite:before { - content: '\2014'; -} - -.dashboard-comment-wrap { - overflow: hidden; - word-wrap: break-word; -} - -/* Browser Nag */ -#dashboard_browser_nag a.update-browser-link { - font-size: 1.2em; - font-weight: 600; -} - -#dashboard_browser_nag a { - text-decoration: underline; -} - -#dashboard_browser_nag p.browser-update-nag.has-browser-icon { - padding-right: 125px; -} - -#dashboard_browser_nag .browser-icon { - margin-top: -35px; -} - -#dashboard_browser_nag.postbox.browser-insecure { - background-color: #ac1b1b; - border-color: #ac1b1b; -} - -#dashboard_browser_nag.postbox { - background-color: #e29808; - background-image: none; - border-color: #edc048; - color: #fff; - -webkit-box-shadow: none; - box-shadow: none; -} - -#dashboard_browser_nag.postbox.browser-insecure h3 { - border-bottom-color: #cd5a5a; - color: #fff; -} - -#dashboard_browser_nag.postbox h3 { - border-bottom-color: #f6e2ac; - background: transparent none; - color: #fff; - -webkit-box-shadow: none; - box-shadow: none; -} - -#dashboard_browser_nag a { - color: #fff; -} - -/* Make the browser nags easier to read with Open Sans */ - -#dashboard_browser_nag h3.hndle { - border: none; - font-weight: 600; - font-size: 20px; - padding-top: 10px; -} - -.postbox#dashboard_browser_nag p a.dismiss { - font-size: 14px; -} - -.postbox#dashboard_browser_nag p, -.postbox#dashboard_browser_nag a, -.postbox#dashboard_browser_nag p.browser-update-nag { - font-size: 16px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/* one column on the dash */ -@media only screen and (max-width: 799px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 100%; - } -} - -/* two columns on the dash, but keep the setting if one is selected */ -@media only screen and (min-width: 800px) and (max-width: 1499px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; - } - - #wpbody-content #dashboard-widgets #postbox-container-2, - #wpbody-content #dashboard-widgets #postbox-container-3, - #wpbody-content #dashboard-widgets #postbox-container-4 { - float: right; - width: 50.5%; - } - - #dashboard-widgets #postbox-container-3 .empty-container, - #dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; - } - - #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container { - width: 100%; - } - - #wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container { - border: 0 none; - height: 0; - min-height: 0; - } - - /* show the radio buttons for column prefs only for one or two columns */ - .index-php .screen-layout, - .index-php .columns-prefs { - display: block; - } - - .columns-prefs .columns-prefs-3, - .columns-prefs .columns-prefs-4 { - display: none; - } -} - -/* three columns on the dash */ -@media only screen and (min-width: 1500px) and (max-width: 1800px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 33.5%; - } - - #wpbody-content #dashboard-widgets #postbox-container-1 { - width: 33%; - } - - #wpbody-content #dashboard-widgets #postbox-container-3, - #wpbody-content #dashboard-widgets #postbox-container-4 { - float: right; - } - - #dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; - } -} - -@media screen and (max-width: 870px) { - .welcome-panel .welcome-panel-column, - .welcome-panel .welcome-panel-column:first-child { - display: block; - float: none; - width: 100%; - } - - .welcome-panel .welcome-panel-column li { - display: inline-block; - margin-right: 13px; - } - - .welcome-panel .welcome-panel-column ul { - margin: 0.4em 0 0; - } - -} - -@media screen and ( max-width: 782px ) { - #dashboard_recent_comments #the-comment-list .comment-item .avatar { - height: 30px; - width: 30px; - margin: 4px 10px 5px 0; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Keep the close icon from overlapping the Welcome text. */ - .welcome-panel .welcome-panel-close { - overflow: hidden; - text-indent: 100%; - white-space: nowrap; - width: 20px; - height: 20px; - right: 0; - padding: 5px; - } - - /* Make the close icon larger for tappability. */ - #welcome-panel.welcome-panel .welcome-panel-close:before { - font-size: 20px; - margin: 0; - } -} diff --git a/sources/wordpress/wp-admin/css/deprecated-media-rtl.css b/sources/wordpress/wp-admin/css/deprecated-media-rtl.css deleted file mode 100644 index ed90138..0000000 --- a/sources/wordpress/wp-admin/css/deprecated-media-rtl.css +++ /dev/null @@ -1,371 +0,0 @@ -/* Styles for the media library iframe (not used on the Library screen) */ - -div#media-upload-header { - margin: 0; - padding: 5px 5px 0; - font-weight: bold; - position: relative; - border-bottom: 1px solid #dfdfdf; - background: #f9f9f9; -} - -body#media-upload ul#sidemenu { - font-weight: normal; - margin: 0 5px; - right: 0; - bottom: -1px; - float: none; - overflow: hidden; -} - -#media-upload:after { /* clearfix */ - content: ""; - display: table; - clear: both; -} - -#media-upload .slidetoggle { - border-top-color: #dfdfdf; -} - -#media-upload input[type="radio"] { - padding: 0; -} - -form { - margin: 1em; -} - -#search-filter { - text-align: left; -} - -th { - position: relative; -} - -.media-upload-form label.form-help, td.help { - font-family: sans-serif; - font-style: italic; - font-weight: normal; -} - -.media-upload-form p.help { - margin: 0; - padding: 0; -} - -.media-upload-form fieldset { - width: 100%; - border: none; - text-align: justify; - margin: 0 0 1em 0; - padding: 0; -} - -/* specific to the image upload form */ - -.image-align-none-label { - background: url(../images/align-none.png) no-repeat center right; -} - -.image-align-left-label { - background: url(../images/align-left.png) no-repeat center right; -} - -.image-align-center-label { - background: url(../images/align-center.png) no-repeat center right; -} - -.image-align-right-label { - background: url(../images/align-right.png) no-repeat center right; -} - -tr.image-size td { - width: 460px; -} - -tr.image-size div.image-size-item { - margin: 0 0 5px; -} - -#library-form .progress, -#gallery-form .progress, -.insert-gallery, -.describe.startopen, -.describe.startclosed { - display: none; -} - -.media-item .thumbnail { - max-width: 128px; - max-height: 128px; -} - -thead.media-item-info tr { - background-color: transparent; -} - -.form-table thead.media-item-info { - border: 8px solid #fff; -} - -abbr.required { - text-decoration: none; - border: none; -} - -.describe label { - display: inline; -} - -.describe td.error { - padding: 2px 8px; -} - -.describe td.A1 { - width: 132px; -} - -.describe input[type="text"], -.describe textarea { - width: 460px; - border-width: 1px; - border-style: solid; -} - -/* Specific to Uploader */ - -#media-upload p.ml-submit { - padding: 1em 0; -} - -#media-upload p.help, -#media-upload label.help { - font-family: sans-serif; - font-style: italic; - font-weight: normal; -} - -#media-upload .ui-sortable .media-item { - cursor: move; -} - -#media-upload tr.image-size { - margin-bottom: 1em; - height: 3em; -} - -#media-upload #filter { - width: 623px; -} - -#media-upload #filter .subsubsub { - margin: 8px 0; -} - -#filter .tablenav select { - border-style: solid; - border-width: 1px; - padding: 2px; - vertical-align: top; - width: auto; -} - -#media-upload .del-attachment { - display: none; - margin: 5px 0; -} - -.menu_order { - float: left; - font-size: 11px; - margin: 8px 10px 0; -} - -.menu_order_input { - border: 1px solid #ddd; - font-size: 10px; - padding: 1px; - width: 23px; -} - -.ui-sortable-helper { - background-color: #fff; - border: 1px solid #aaa; - opacity: 0.6; - filter: alpha(opacity=60); -} - -#media-upload th.order-head { - width: 20%; - text-align: center; -} - -#media-upload th.actions-head { - width: 25%; - text-align: center; -} - -#media-upload a.wp-post-thumbnail { - margin: 0 20px; -} - -#media-upload .widefat { - border-style: solid solid none; -} - -.sorthelper { - height: 37px; - width: 623px; - display: block; -} - -#gallery-settings th.label { - width: 160px; -} - -#gallery-settings #basic th.label { - padding: 5px 0 5px 5px; -} - -#gallery-settings .title { - clear: both; - padding: 0 0 3px; - font-size: 1.6em; - border-bottom: 1px solid #DADADA; -} - -h3.media-title { - font-size: 1.6em; -} - -h4.media-sub-title { - border-bottom: 1px solid #DADADA; - font-size: 1.3em; - margin: 12px; - padding: 0 0 3px; -} - -#gallery-settings .title, -h3.media-title, -h4.media-sub-title { - font-family: Georgia,"Times New Roman",Times,serif; - font-weight: normal; - color: #5A5A5A; -} - -#gallery-settings .describe td { - vertical-align: middle; - height: 3em; -} - -#gallery-settings .describe th.label { - padding-top: .5em; - text-align: right; -} - -#gallery-settings .describe { - padding: 5px; - width: 100%; - clear: both; - cursor: default; - background: #fff; -} - -#gallery-settings .describe select { - width: 15em; -} - -#gallery-settings .describe select option, -#gallery-settings .describe td { - padding: 0; -} - -#gallery-settings label, -#gallery-settings legend { - font-size: 13px; - color: #464646; - margin-left: 15px; -} - -#gallery-settings .align .field label { - margin: 0 3px 0 1em; -} - -#gallery-settings p.ml-submit { - border-top: 1px solid #dfdfdf; -} - -#gallery-settings select#columns { - width: 6em; -} - -#sort-buttons { - font-size: 0.8em; - margin: 3px 0 -8px 25px; - text-align: left; - max-width: 625px; -} - -#sort-buttons a { - text-decoration: none; -} - -#sort-buttons #asc, -#sort-buttons #showall { - padding-right: 5px; -} - -#sort-buttons span { - margin-left: 25px; -} - -p.media-types { - padding: 1em; -} - -tr.not-image { - display: none; -} - -table.not-image tr.not-image { - display: table-row; -} - -table.not-image tr.image-only { - display: none; -} - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .image-align-none-label { - background-image: url(../images/align-none-2x.png?ver=20120916); - -webkit-background-size: 21px 15px; - background-size: 21px 15px; - } - - .image-align-left-label { - background-image: url(../images/align-left-2x.png?ver=20120916); - -webkit-background-size: 22px 15px; - background-size: 22px 15px; - } - - .image-align-center-label { - background-image: url(../images/align-center-2x.png?ver=20120916); - -webkit-background-size: 21px 15px; - background-size: 21px 15px; - } - - .image-align-right-label { - background-image: url(../images/align-right-2x.png?ver=20120916); - -webkit-background-size: 22px 15px; - background-size: 22px 15px; - } -} diff --git a/sources/wordpress/wp-admin/css/deprecated-media-rtl.min.css b/sources/wordpress/wp-admin/css/deprecated-media-rtl.min.css deleted file mode 100644 index c97733d..0000000 --- a/sources/wordpress/wp-admin/css/deprecated-media-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -div#media-upload-header{margin:0;padding:5px 5px 0;font-weight:700;position:relative;border-bottom:1px solid #dfdfdf;background:#f9f9f9}body#media-upload ul#sidemenu{font-weight:400;margin:0 5px;right:0;bottom:-1px;float:none;overflow:hidden}#media-upload:after{content:"";display:table;clear:both}#media-upload .slidetoggle{border-top-color:#dfdfdf}#media-upload input[type=radio]{padding:0}form{margin:1em}#search-filter{text-align:left}th{position:relative}.media-upload-form label.form-help,td.help{font-family:sans-serif;font-style:italic;font-weight:400}.media-upload-form p.help{margin:0;padding:0}.media-upload-form fieldset{width:100%;border:none;text-align:justify;margin:0 0 1em;padding:0}.image-align-none-label{background:url(../images/align-none.png) no-repeat center right}.image-align-left-label{background:url(../images/align-left.png) no-repeat center right}.image-align-center-label{background:url(../images/align-center.png) no-repeat center right}.image-align-right-label{background:url(../images/align-right.png) no-repeat center right}tr.image-size td{width:460px}tr.image-size div.image-size-item{margin:0 0 5px}#gallery-form .progress,#library-form .progress,.describe.startclosed,.describe.startopen,.insert-gallery{display:none}.media-item .thumbnail{max-width:128px;max-height:128px}thead.media-item-info tr{background-color:transparent}.form-table thead.media-item-info{border:8px solid #fff}abbr.required{text-decoration:none;border:none}.describe label{display:inline}.describe td.error{padding:2px 8px}.describe td.A1{width:132px}.describe input[type=text],.describe textarea{width:460px;border-width:1px;border-style:solid}#media-upload p.ml-submit{padding:1em 0}#media-upload label.help,#media-upload p.help{font-family:sans-serif;font-style:italic;font-weight:400}#media-upload .ui-sortable .media-item{cursor:move}#media-upload tr.image-size{margin-bottom:1em;height:3em}#media-upload #filter{width:623px}#media-upload #filter .subsubsub{margin:8px 0}#filter .tablenav select{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto}#media-upload .del-attachment{display:none;margin:5px 0}.menu_order{float:left;font-size:11px;margin:8px 10px 0}.menu_order_input{border:1px solid #ddd;font-size:10px;padding:1px;width:23px}.ui-sortable-helper{background-color:#fff;border:1px solid #aaa;opacity:.6;filter:alpha(opacity=60)}#media-upload th.order-head{width:20%;text-align:center}#media-upload th.actions-head{width:25%;text-align:center}#media-upload a.wp-post-thumbnail{margin:0 20px}#media-upload .widefat{border-style:solid solid none}.sorthelper{height:37px;width:623px;display:block}#gallery-settings th.label{width:160px}#gallery-settings #basic th.label{padding:5px 0 5px 5px}#gallery-settings .title{clear:both;padding:0 0 3px;font-size:1.6em;border-bottom:1px solid #DADADA}h3.media-title{font-size:1.6em}h4.media-sub-title{border-bottom:1px solid #DADADA;font-size:1.3em;margin:12px;padding:0 0 3px}#gallery-settings .title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:400;color:#5A5A5A}#gallery-settings .describe td{vertical-align:middle;height:3em}#gallery-settings .describe th.label{padding-top:.5em;text-align:right}#gallery-settings .describe{padding:5px;width:100%;clear:both;cursor:default;background:#fff}#gallery-settings .describe select{width:15em}#gallery-settings .describe select option,#gallery-settings .describe td{padding:0}#gallery-settings label,#gallery-settings legend{font-size:13px;color:#464646;margin-left:15px}#gallery-settings .align .field label{margin:0 3px 0 1em}#gallery-settings p.ml-submit{border-top:1px solid #dfdfdf}#gallery-settings select#columns{width:6em}#sort-buttons{font-size:.8em;margin:3px 0 -8px 25px;text-align:left;max-width:625px}#sort-buttons a{text-decoration:none}#sort-buttons #asc,#sort-buttons #showall{padding-right:5px}#sort-buttons span{margin-left:25px}p.media-types{padding:1em}tr.not-image{display:none}table.not-image tr.not-image{display:table-row}table.not-image tr.image-only{display:none}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.image-align-none-label{background-image:url(../images/align-none-2x.png?ver=20120916);-webkit-background-size:21px 15px;background-size:21px 15px}.image-align-left-label{background-image:url(../images/align-left-2x.png?ver=20120916);-webkit-background-size:22px 15px;background-size:22px 15px}.image-align-center-label{background-image:url(../images/align-center-2x.png?ver=20120916);-webkit-background-size:21px 15px;background-size:21px 15px}.image-align-right-label{background-image:url(../images/align-right-2x.png?ver=20120916);-webkit-background-size:22px 15px;background-size:22px 15px}} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/deprecated-media.css b/sources/wordpress/wp-admin/css/deprecated-media.css deleted file mode 100644 index ee7c08f..0000000 --- a/sources/wordpress/wp-admin/css/deprecated-media.css +++ /dev/null @@ -1,371 +0,0 @@ -/* Styles for the media library iframe (not used on the Library screen) */ - -div#media-upload-header { - margin: 0; - padding: 5px 5px 0; - font-weight: bold; - position: relative; - border-bottom: 1px solid #dfdfdf; - background: #f9f9f9; -} - -body#media-upload ul#sidemenu { - font-weight: normal; - margin: 0 5px; - left: 0; - bottom: -1px; - float: none; - overflow: hidden; -} - -#media-upload:after { /* clearfix */ - content: ""; - display: table; - clear: both; -} - -#media-upload .slidetoggle { - border-top-color: #dfdfdf; -} - -#media-upload input[type="radio"] { - padding: 0; -} - -form { - margin: 1em; -} - -#search-filter { - text-align: right; -} - -th { - position: relative; -} - -.media-upload-form label.form-help, td.help { - font-family: sans-serif; - font-style: italic; - font-weight: normal; -} - -.media-upload-form p.help { - margin: 0; - padding: 0; -} - -.media-upload-form fieldset { - width: 100%; - border: none; - text-align: justify; - margin: 0 0 1em 0; - padding: 0; -} - -/* specific to the image upload form */ - -.image-align-none-label { - background: url(../images/align-none.png) no-repeat center left; -} - -.image-align-left-label { - background: url(../images/align-left.png) no-repeat center left; -} - -.image-align-center-label { - background: url(../images/align-center.png) no-repeat center left; -} - -.image-align-right-label { - background: url(../images/align-right.png) no-repeat center left; -} - -tr.image-size td { - width: 460px; -} - -tr.image-size div.image-size-item { - margin: 0 0 5px; -} - -#library-form .progress, -#gallery-form .progress, -.insert-gallery, -.describe.startopen, -.describe.startclosed { - display: none; -} - -.media-item .thumbnail { - max-width: 128px; - max-height: 128px; -} - -thead.media-item-info tr { - background-color: transparent; -} - -.form-table thead.media-item-info { - border: 8px solid #fff; -} - -abbr.required { - text-decoration: none; - border: none; -} - -.describe label { - display: inline; -} - -.describe td.error { - padding: 2px 8px; -} - -.describe td.A1 { - width: 132px; -} - -.describe input[type="text"], -.describe textarea { - width: 460px; - border-width: 1px; - border-style: solid; -} - -/* Specific to Uploader */ - -#media-upload p.ml-submit { - padding: 1em 0; -} - -#media-upload p.help, -#media-upload label.help { - font-family: sans-serif; - font-style: italic; - font-weight: normal; -} - -#media-upload .ui-sortable .media-item { - cursor: move; -} - -#media-upload tr.image-size { - margin-bottom: 1em; - height: 3em; -} - -#media-upload #filter { - width: 623px; -} - -#media-upload #filter .subsubsub { - margin: 8px 0; -} - -#filter .tablenav select { - border-style: solid; - border-width: 1px; - padding: 2px; - vertical-align: top; - width: auto; -} - -#media-upload .del-attachment { - display: none; - margin: 5px 0; -} - -.menu_order { - float: right; - font-size: 11px; - margin: 8px 10px 0; -} - -.menu_order_input { - border: 1px solid #ddd; - font-size: 10px; - padding: 1px; - width: 23px; -} - -.ui-sortable-helper { - background-color: #fff; - border: 1px solid #aaa; - opacity: 0.6; - filter: alpha(opacity=60); -} - -#media-upload th.order-head { - width: 20%; - text-align: center; -} - -#media-upload th.actions-head { - width: 25%; - text-align: center; -} - -#media-upload a.wp-post-thumbnail { - margin: 0 20px; -} - -#media-upload .widefat { - border-style: solid solid none; -} - -.sorthelper { - height: 37px; - width: 623px; - display: block; -} - -#gallery-settings th.label { - width: 160px; -} - -#gallery-settings #basic th.label { - padding: 5px 5px 5px 0; -} - -#gallery-settings .title { - clear: both; - padding: 0 0 3px; - font-size: 1.6em; - border-bottom: 1px solid #DADADA; -} - -h3.media-title { - font-size: 1.6em; -} - -h4.media-sub-title { - border-bottom: 1px solid #DADADA; - font-size: 1.3em; - margin: 12px; - padding: 0 0 3px; -} - -#gallery-settings .title, -h3.media-title, -h4.media-sub-title { - font-family: Georgia,"Times New Roman",Times,serif; - font-weight: normal; - color: #5A5A5A; -} - -#gallery-settings .describe td { - vertical-align: middle; - height: 3em; -} - -#gallery-settings .describe th.label { - padding-top: .5em; - text-align: left; -} - -#gallery-settings .describe { - padding: 5px; - width: 100%; - clear: both; - cursor: default; - background: #fff; -} - -#gallery-settings .describe select { - width: 15em; -} - -#gallery-settings .describe select option, -#gallery-settings .describe td { - padding: 0; -} - -#gallery-settings label, -#gallery-settings legend { - font-size: 13px; - color: #464646; - margin-right: 15px; -} - -#gallery-settings .align .field label { - margin: 0 1em 0 3px; -} - -#gallery-settings p.ml-submit { - border-top: 1px solid #dfdfdf; -} - -#gallery-settings select#columns { - width: 6em; -} - -#sort-buttons { - font-size: 0.8em; - margin: 3px 25px -8px 0; - text-align: right; - max-width: 625px; -} - -#sort-buttons a { - text-decoration: none; -} - -#sort-buttons #asc, -#sort-buttons #showall { - padding-left: 5px; -} - -#sort-buttons span { - margin-right: 25px; -} - -p.media-types { - padding: 1em; -} - -tr.not-image { - display: none; -} - -table.not-image tr.not-image { - display: table-row; -} - -table.not-image tr.image-only { - display: none; -} - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .image-align-none-label { - background-image: url(../images/align-none-2x.png?ver=20120916); - -webkit-background-size: 21px 15px; - background-size: 21px 15px; - } - - .image-align-left-label { - background-image: url(../images/align-left-2x.png?ver=20120916); - -webkit-background-size: 22px 15px; - background-size: 22px 15px; - } - - .image-align-center-label { - background-image: url(../images/align-center-2x.png?ver=20120916); - -webkit-background-size: 21px 15px; - background-size: 21px 15px; - } - - .image-align-right-label { - background-image: url(../images/align-right-2x.png?ver=20120916); - -webkit-background-size: 22px 15px; - background-size: 22px 15px; - } -} diff --git a/sources/wordpress/wp-admin/css/deprecated-media.min.css b/sources/wordpress/wp-admin/css/deprecated-media.min.css deleted file mode 100644 index 59b3a68..0000000 --- a/sources/wordpress/wp-admin/css/deprecated-media.min.css +++ /dev/null @@ -1 +0,0 @@ -div#media-upload-header{margin:0;padding:5px 5px 0;font-weight:700;position:relative;border-bottom:1px solid #dfdfdf;background:#f9f9f9}body#media-upload ul#sidemenu{font-weight:400;margin:0 5px;left:0;bottom:-1px;float:none;overflow:hidden}#media-upload:after{content:"";display:table;clear:both}#media-upload .slidetoggle{border-top-color:#dfdfdf}#media-upload input[type=radio]{padding:0}form{margin:1em}#search-filter{text-align:right}th{position:relative}.media-upload-form label.form-help,td.help{font-family:sans-serif;font-style:italic;font-weight:400}.media-upload-form p.help{margin:0;padding:0}.media-upload-form fieldset{width:100%;border:none;text-align:justify;margin:0 0 1em;padding:0}.image-align-none-label{background:url(../images/align-none.png) no-repeat center left}.image-align-left-label{background:url(../images/align-left.png) no-repeat center left}.image-align-center-label{background:url(../images/align-center.png) no-repeat center left}.image-align-right-label{background:url(../images/align-right.png) no-repeat center left}tr.image-size td{width:460px}tr.image-size div.image-size-item{margin:0 0 5px}#gallery-form .progress,#library-form .progress,.describe.startclosed,.describe.startopen,.insert-gallery{display:none}.media-item .thumbnail{max-width:128px;max-height:128px}thead.media-item-info tr{background-color:transparent}.form-table thead.media-item-info{border:8px solid #fff}abbr.required{text-decoration:none;border:none}.describe label{display:inline}.describe td.error{padding:2px 8px}.describe td.A1{width:132px}.describe input[type=text],.describe textarea{width:460px;border-width:1px;border-style:solid}#media-upload p.ml-submit{padding:1em 0}#media-upload label.help,#media-upload p.help{font-family:sans-serif;font-style:italic;font-weight:400}#media-upload .ui-sortable .media-item{cursor:move}#media-upload tr.image-size{margin-bottom:1em;height:3em}#media-upload #filter{width:623px}#media-upload #filter .subsubsub{margin:8px 0}#filter .tablenav select{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto}#media-upload .del-attachment{display:none;margin:5px 0}.menu_order{float:right;font-size:11px;margin:8px 10px 0}.menu_order_input{border:1px solid #ddd;font-size:10px;padding:1px;width:23px}.ui-sortable-helper{background-color:#fff;border:1px solid #aaa;opacity:.6;filter:alpha(opacity=60)}#media-upload th.order-head{width:20%;text-align:center}#media-upload th.actions-head{width:25%;text-align:center}#media-upload a.wp-post-thumbnail{margin:0 20px}#media-upload .widefat{border-style:solid solid none}.sorthelper{height:37px;width:623px;display:block}#gallery-settings th.label{width:160px}#gallery-settings #basic th.label{padding:5px 5px 5px 0}#gallery-settings .title{clear:both;padding:0 0 3px;font-size:1.6em;border-bottom:1px solid #DADADA}h3.media-title{font-size:1.6em}h4.media-sub-title{border-bottom:1px solid #DADADA;font-size:1.3em;margin:12px;padding:0 0 3px}#gallery-settings .title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:400;color:#5A5A5A}#gallery-settings .describe td{vertical-align:middle;height:3em}#gallery-settings .describe th.label{padding-top:.5em;text-align:left}#gallery-settings .describe{padding:5px;width:100%;clear:both;cursor:default;background:#fff}#gallery-settings .describe select{width:15em}#gallery-settings .describe select option,#gallery-settings .describe td{padding:0}#gallery-settings label,#gallery-settings legend{font-size:13px;color:#464646;margin-right:15px}#gallery-settings .align .field label{margin:0 1em 0 3px}#gallery-settings p.ml-submit{border-top:1px solid #dfdfdf}#gallery-settings select#columns{width:6em}#sort-buttons{font-size:.8em;margin:3px 25px -8px 0;text-align:right;max-width:625px}#sort-buttons a{text-decoration:none}#sort-buttons #asc,#sort-buttons #showall{padding-left:5px}#sort-buttons span{margin-right:25px}p.media-types{padding:1em}tr.not-image{display:none}table.not-image tr.not-image{display:table-row}table.not-image tr.image-only{display:none}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.image-align-none-label{background-image:url(../images/align-none-2x.png?ver=20120916);-webkit-background-size:21px 15px;background-size:21px 15px}.image-align-left-label{background-image:url(../images/align-left-2x.png?ver=20120916);-webkit-background-size:22px 15px;background-size:22px 15px}.image-align-center-label{background-image:url(../images/align-center-2x.png?ver=20120916);-webkit-background-size:21px 15px;background-size:21px 15px}.image-align-right-label{background-image:url(../images/align-right-2x.png?ver=20120916);-webkit-background-size:22px 15px;background-size:22px 15px}} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/edit-rtl.css b/sources/wordpress/wp-admin/css/edit-rtl.css deleted file mode 100644 index ecda622..0000000 --- a/sources/wordpress/wp-admin/css/edit-rtl.css +++ /dev/null @@ -1,1500 +0,0 @@ -#poststuff { - padding-top: 10px; - min-width: 763px; -} - -#poststuff #post-body { - padding: 0; -} - -#poststuff .postbox-container { - width: 100%; -} - -#poststuff #post-body.columns-2 { - margin-left: 300px; -} - -/*------------------------------------------------------------------------------ - 11.0 - Write/Edit Post Screen -------------------------------------------------------------------------------*/ - -#show-comments { - overflow: hidden; -} - -#save-action .spinner, -#show-comments a, -#show-comments .spinner { - float: right; -} - -#lost-connection-notice .spinner { - display: block; - float: right; - margin: 0 0 0 5px; -} - -#titlediv { - position: relative; -} - -#titlediv label { - cursor: text; -} - -#titlediv div.inside { - margin: 0; -} - -#poststuff #titlewrap { - border: 0; - padding: 0; -} - -#titlediv #title { - padding: 3px 8px; - font-size: 1.7em; - line-height: 100%; - height: 1.7em; - width: 100%; - outline: none; - margin: 0; - background-color: #fff; -} - -#titlediv #title-prompt-text { - color: #777; - position: absolute; - font-size: 1.7em; - padding: 11px 10px; -} - -#wp-fullscreen-save .fs-saved { - color: #999; - float: left; - margin-top: 4px; -} - -#poststuff .inside-submitbox, -#side-sortables .inside-submitbox { - margin: 0 3px; - font-size: 11px; -} - -input#link_description, -input#link_url { - width: 98%; -} - -#pending { - background: 0 none; - border: 0 none; - padding: 0; - font-size: 11px; - margin-top: -1px; -} - -#edit-slug-box { - line-height: 24px; - min-height: 25px; /* Yes, line-height + 1 */ - margin-top: 5px; - padding: 0 10px; - color: #666; -} - -#edit-slug-box .cancel { - margin-left: 10px; - font-size: 11px; -} - -#editable-post-name-full { - display: none; -} - -#editable-post-name { - background-color: #fffbcc; -} - -#editable-post-name input { - font-size: 13px; - height: 22px; - margin: 0; - width: 16em; -} - -.postarea h3 label { - float: right; -} - -.submitbox .submit { - text-align: right; - padding: 12px 10px 10px; - font-size: 11px; - background-color: #464646; - color: #ccc; -} - -.submitbox .submitdelete { - text-decoration: none; - padding: 1px 2px; -} - -/* @todo: do we really need this? word on the street is we don't and this -stray rule may actually be compensated for elsewhere. */ -#normal-sortables .submitbox .submitdelete:hover { - color: #000; - background-color: #f00; - border-bottom-color: #f00; -} - -.submitbox .submit a:hover { - text-decoration: underline; -} - -.submitbox .submit input { - margin-bottom: 8px; - margin-left: 4px; - padding: 6px; -} - -.inside-submitbox #post_status { - margin: 2px -2px 2px 0; -} - -#post-status-select { - margin-top: 3px; -} - -/* Post Screen */ -#post-body #normal-sortables { - min-height: 50px; -} - -.postbox { - position: relative; - min-width: 255px; - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - background: #fff; -} - -#trackback_url { - width: 99%; -} - -#normal-sortables .postbox .submit { - background: transparent none; - border: 0 none; - float: left; - padding: 0 12px; - margin:0; -} - -.category-add input[type="text"], -.category-add select { - width: 100%; - max-width: 260px; - vertical-align: baseline; -} - -#side-sortables .category-add input[type="text"], -#side-sortables .category-add select { - margin: 0 0 1em; -} - -ul.category-tabs li, -#side-sortables .add-menu-item-tabs li, -.wp-tab-bar li { - display: inline; - line-height: 1.35em; -} - -.no-js .category-tabs li.hide-if-no-js { - display: none; -} - -.category-tabs a, -#side-sortables .add-menu-item-tabs a, -.wp-tab-bar a { - text-decoration: none; -} - -/* @todo: do these really need to be so specific? */ -#side-sortables .category-tabs .tabs a, -#side-sortables .add-menu-item-tabs .tabs a, -.wp-tab-bar .wp-tab-active a, -#post-body ul.category-tabs li.tabs a, -#post-body ul.add-menu-item-tabs li.tabs a { - color: #333; -} - -.category-tabs { - margin: 8px 0 5px; -} - -#category-adder h4 { - margin: 10px 0; -} - -#side-sortables .add-menu-item-tabs, -.wp-tab-bar { - margin-bottom: 3px; -} - -#normal-sortables .postbox #replyrow .submit { - float: none; - margin: 0; - padding: 0 7px 5px; -} - -#side-sortables .submitbox .submit input, -#side-sortables .submitbox .submit .preview, -#side-sortables .submitbox .submit a.preview:hover { - border: 0 none; -} - -#side-sortables .inside-submitbox .insidebox, -.stuffbox .insidebox { - margin: 11px 0; -} - -/* @todo: make this a more generic class */ -ul.category-tabs, -ul.add-menu-item-tabs, -ul.wp-tab-bar { - margin-top: 12px; -} - -ul.category-tabs li, -ul.add-menu-item-tabs li { - border: solid 1px transparent; - position: relative; -} - -ul.category-tabs li.tabs, -ul.add-menu-item-tabs li.tabs, -.wp-tab-active { - border: 1px solid #dfdfdf; - border-bottom-color: #fdfdfd; - background-color: #fdfdfd; -} - -ul.category-tabs li, -ul.add-menu-item-tabs li, -ul.wp-tab-bar li { - padding: 3px 5px 5px; -} - -#postimagediv .inside img { - max-width: 100%; - height: auto; -} - -form#tags-filter { - position: relative; -} - -/* Edit posts */ -td.post-title strong, -td.plugin-title strong { - display: block; - margin-bottom: .2em; - font-size: 14px; -} - -td.post-title p, -td.plugin-title p { - margin: 6px 0; -} - -/* Global classes */ -.wp-hidden-children .wp-hidden-child, -.ui-tabs-hide { - display: none; -} - -#post-body .tagsdiv #newtag { - margin-left: 5px; - width: 16em; -} - -#side-sortables input#post_password { - width: 94% -} - -#side-sortables .tagsdiv #newtag { - width: 68%; -} - -#post-status-info { - width: 100%; - border-spacing: 0; - border: 1px solid #e5e5e5; - border-top: none; - background-color: #f7f7f7; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - z-index: 999; -} - -#post-status-info td { - font-size: 12px; -} - -.autosave-info { - padding: 2px 10px; - text-align: left; -} - -#editorcontent #post-status-info { - border: none; -} - -#content-resize-handle { - background: transparent url(../images/resize.gif) no-repeat scroll left bottom; - width: 12px; - cursor: row-resize; -} - -.rtl #content-resize-handle { - background: transparent url(../images/resize-rtl.gif) no-repeat scroll right bottom; -} - -.wp-editor-expand #content-resize-handle { - display: none; -} - -#postdivrich #content { - resize: none; -} - -#wp-word-count { - display: block; - padding: 2px 10px; -} - -#wp-content-editor-container { - position: relative; -} - -#content-textarea-clone { - z-index: -1; - position: absolute; - top: 0; - visibility: hidden; - overflow: hidden; - max-width: 100%; - border: 1px solid transparent; -} - -.wp-fullscreen-wrap #content-textarea-clone { - display: none; -} - -/* editor-expand.js override */ -.wp-fullscreen-wrap { - padding-top: 0 !important; -} - -.wp-fullscreen-wrap .wp-editor-area { - margin-top: 0 !important; -} - -.wp-fullscreen-wrap .mce-edit-area { - padding-top: 0 !important; -} -/* end editor-expand.js override */ - -.wp-editor-expand #wp-content-editor-tools { - z-index: 1000; - border-bottom: 1px solid #e5e5e5; -} - -.wp-editor-expand #wp-content-editor-container { - -webkit-box-shadow: none; - box-shadow: none; - margin-top: -1px; -} - -.wp-editor-expand #wp-content-editor-container { - border-bottom: 0 none; -} - -.wp-editor-expand div.mce-statusbar { - z-index: 1; -} - -.wp-editor-expand #post-status-info { - border-top: 1px solid #e5e5e5; -} - -.wp-editor-expand div.mce-toolbar-grp { - z-index: 999; -} - -#wp-content-editor-tools { - background-color: #f1f1f1; - padding-top: 20px; -} - -#poststuff #post-body.columns-2 #side-sortables { - width: 280px; -} - -#timestampdiv select { - height: 21px; - line-height: 14px; - padding: 0; - vertical-align: top; - font-size: 12px; -} - -#aa, #jj, #hh, #mn { - padding: 1px; - font-size: 12px; -} - -#jj, #hh, #mn { - width: 2em; -} - -#aa { - width: 3.4em; -} - -.curtime #timestamp { - padding: 2px 0 1px 0; - display: inline !important; - height: auto !important; -} - -#misc-publishing-actions label[for="post_status"]:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: #888; -} - -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before { - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 0 0 0 2px; - top: 0; - right: -1px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -#post-body #visibility:before { - content: '\f177'; -} - -.curtime #timestamp:before { - content: '\f145'; - top: -1px; -} - -#post-body .misc-pub-revisions:before { - content: '\f321'; -} - -#timestampdiv { - padding-top: 5px; - line-height: 23px; -} - -#timestampdiv p { - margin: 8px 0 6px; -} - -#timestampdiv input { - border-width: 1px; - border-style: solid; -} - -.notification-dialog { - position: fixed; - top: 30%; - right: 50%; - width: 450px; - margin-right: -225px; - background: #fff; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - line-height: 1.5; - z-index: 1000005; -} - -.notification-dialog-background { - position: fixed; - top: 0; - right: 0; - left: 0; - bottom: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 1000000; -} - -#post-lock-dialog .post-locked-message, -#post-lock-dialog .post-taken-over { - margin: 25px; -} - -#post-lock-dialog .post-locked-message a.button { - margin-left: 10px; -} - -#post-lock-dialog .post-locked-avatar { - float: right; - margin: 0 0 20px 20px; -} - -#post-lock-dialog .wp-tab-first { - outline: 0; -} - -#post-lock-dialog .locked-saving img { - float: right; - margin-left: 3px; -} - -#post-lock-dialog.saving .locked-saving, -#post-lock-dialog.saved .locked-saved { - display: inline; -} - -#excerpt, -.attachmentlinks { - margin: 0; - height: 4em; - width: 98%; -} - -.tagchecklist { - margin-right: 14px; - font-size: 12px; - overflow: auto; -} - -.tagchecklist br { - display: none; -} - -.tagchecklist strong { - margin-right: -8px; - position: absolute; -} - -.tagchecklist span { - margin-left: 25px; - display: block; - float: right; - font-size: 13px; - line-height: 1.8em; - white-space: nowrap; - cursor: default; -} - -.tagchecklist span a { - margin: 1px -17px 0 0; - cursor: pointer; - width: 20px; - height: 20px; - display: block; - float: right; - text-indent: 0; - overflow: hidden; - position: absolute; -} - -#poststuff h2 { - margin-top: 20px; - font-size: 1.5em; - margin-bottom: 15px; - padding: 0 0 3px; - clear: right; -} - -#poststuff h3 { - font-size: 14px; - padding: 8px 12px; - margin: 0; - line-height: 1.4; -} - -#poststuff .inside { - margin: 6px 0 0 0; -} - -#poststuff .inside #parent_id, -#poststuff .inside #page_template { - max-width: 100%; -} - -#poststuff .inside label.spam, -#poststuff .inside label.deleted { - color: red; -} - -#poststuff .inside label.waiting { - color: orange; -} - -#poststuff .inside label.approved { - color: green; -} - -.ie8 #poststuff .inside #parent_id, -.ie8 #poststuff .inside #page_template { - width: 250px; -} - -#post-visibility-select { - line-height: 1.5em; - margin-top: 3px; -} - -#poststuff #submitdiv .inside { - margin: 0; - padding: 0; -} - -#post-body-content, -.edit-form-section { - margin-bottom: 20px; -} - -/*------------------------------------------------------------------------------ - 11.1 - Custom Fields -------------------------------------------------------------------------------*/ - -#postcustomstuff thead th { - padding: 5px 8px 8px; - background-color: #f1f1f1; -} - -#postcustom #postcustomstuff .submit { - border: 0 none; - float: none; - padding: 0 8px 8px; -} - -#side-sortables #postcustom #postcustomstuff .submit { - margin: 0; - padding: 0; -} - -#side-sortables #postcustom #postcustomstuff #the-list textarea { - height: 85px; -} - -#side-sortables #postcustom #postcustomstuff td.left input, -#side-sortables #postcustom #postcustomstuff td.left select, -#side-sortables #postcustomstuff #newmetaleft a { - margin: 3px 3px 0; -} - -#postcustomstuff table { - margin: 0; - width: 100%; - border: 1px solid #dfdfdf; - border-spacing: 0; - background-color: #f9f9f9; -} - -#postcustomstuff tr { - vertical-align: top; -} - -#postcustomstuff table input, -#postcustomstuff table select, -#postcustomstuff table textarea { - width: 96%; - margin: 8px; -} - -#side-sortables #postcustomstuff table input, -#side-sortables #postcustomstuff table select, -#side-sortables #postcustomstuff table textarea { - margin: 3px; -} - -#postcustomstuff th.left, -#postcustomstuff td.left { - width: 38%; -} - -#postcustomstuff .submit input { - margin: 0; - width: auto; -} - -#postcustomstuff #newmetaleft a { - display: inline-block; - margin: 0 8px 8px; - text-decoration: none; -} - -.no-js #postcustomstuff #enternew { - display: none; -} - -#post-body-content .compat-attachment-fields { - margin-bottom: 20px; -} - -.compat-attachment-fields th { - padding-top: 5px; - padding-left: 10px; -} - -/*------------------------------------------------------------------------------ - 11.3 - Featured Images -------------------------------------------------------------------------------*/ - -#select-featured-image { - padding: 4px 0; - overflow: hidden; -} - -#select-featured-image img { - max-width: 100%; - height: auto; - margin-bottom: 10px; -} - -#select-featured-image a { - float: right; - clear: both; -} - -#select-featured-image .remove { - display: none; - margin-top: 10px; -} - -.js #select-featured-image.has-featured-image .remove { - display: inline-block; -} - -.no-js #select-featured-image .choose { - display: none; -} - -/*------------------------------------------------------------------------------ - 11.4 - Post formats -------------------------------------------------------------------------------*/ - -.post-state-format { - overflow: hidden; - display: inline-block; - vertical-align: middle; - height: 20px; - width: 20px; - margin-left: 5px; - margin-top: -4px; -} - -.post-state-format:before { - display: block; - height: 20px; - width: 20px; - font: normal 20px/1 'dashicons' !important; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.post-state-format:before, -.post-format-icon:before { - color: #ddd; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -a.post-state-format:hover:before, -a.post-format-icon:hover:before { - color: #2ea2cc; -} - -#post-formats-select { - line-height: 2em; -} - -#post-formats-select .post-format-icon:before { - top: 5px; -} - -input.post-format { - margin-top: 1px; -} - -label.post-format-icon { - margin-right: 0px; - padding: 2px 0px 2px 0; -} - -.post-format-icon:before { - position: relative; - display: inline-block; - margin-left: 7px; - font: normal 20px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.post-state-format.post-format-standard:before, -.post-format-icon.post-format-standard:before, -a.post-state-format.format-standard:before { - content: '\f109'; -} - -.post-state-format.post-format-image:before, -.post-format-icon.post-format-image:before, -a.post-state-format.format-image:before { - content: '\f128'; -} - -.post-state-format.post-format-gallery:before, -.post-format-icon.post-format-gallery:before, -a.post-state-format.format-gallery:before { - content: '\f161'; -} - -.post-state-format.post-format-audio:before, -.post-format-icon.post-format-audio:before, -a.post-state-format.format-audio:before { - content: '\f127'; -} - -.post-state-format.post-format-video:before, -.post-format-icon.post-format-video:before, -a.post-state-format.format-video:before { - content: '\f126'; -} - -.post-state-format.post-format-chat:before, -.post-format-icon.post-format-chat:before, -a.post-state-format.format-chat:before { - content: '\f125'; -} - -.post-state-format.post-format-status:before, -.post-format-icon.post-format-status:before, -a.post-state-format.format-status:before { - content: '\f130'; -} - -.post-state-format.post-format-aside:before, -.post-format-icon.post-format-aside:before, -a.post-state-format.format-aside:before { - content: '\f123'; -} - -.post-state-format.post-format-quote:before, -.post-format-icon.post-format-quote:before, -a.post-state-format.format-quote:before { - content: '\f122'; -} - -.post-state-format.post-format-link:before, -.post-format-icon.post-format-link:before, -a.post-state-format.format-link:before { - content: '\f103'; -} - -/*------------------------------------------------------------------------------ - 12.0 - Categories -------------------------------------------------------------------------------*/ - -.category-adder { - margin-right: 120px; - padding: 4px 0; -} - -.category-adder h4 { - margin: 0 0 8px; -} - -#side-sortables .category-adder { - margin: 0; -} - -.wp-tab-panel, -.categorydiv div.tabs-panel, -.customlinkdiv div.tabs-panel, -.posttypediv div.tabs-panel, -.taxonomydiv div.tabs-panel { - min-height: 42px; - max-height: 200px; - overflow: auto; - padding: 0 0.9em; - border: solid 1px #dfdfdf; - background-color: #fdfdfd; -} - -div.tabs-panel-active { - display:block; -} - -div.tabs-panel-inactive { - display:none; -} - -#front-page-warning, -#front-static-pages ul, -ul.export-filters, -.inline-editor ul.cat-checklist ul, -.categorydiv ul.categorychecklist ul, -.customlinkdiv ul.categorychecklist ul, -.posttypediv ul.categorychecklist ul, -.taxonomydiv ul.categorychecklist ul { - margin-right: 18px; -} - -ul.categorychecklist li { - margin: 0; - padding: 0; - line-height: 22px; - word-wrap: break-word; -} - -.categorydiv .tabs-panel, -.customlinkdiv .tabs-panel, -.posttypediv .tabs-panel, -.taxonomydiv .tabs-panel { - border-width: 3px; - border-style: solid; -} - -.form-wrap p, -.form-wrap label { - font-size: 11px; -} - -.form-wrap label { - display: block; - padding: 2px; - font-size: 12px; -} - -.form-field input[type="text"], -.form-field input[type="password"], -.form-field input[type="email"], -.form-field input[type="number"], -.form-field input[type="search"], -.form-field input[type="tel"], -.form-field input[type="url"], -.form-field textarea { - border-style: solid; - border-width: 1px; - width: 95%; -} - -p.description, -.form-wrap p { - margin: 2px 0 5px; - color: #666; -} - -p.help, -p.description, -span.description, -.form-wrap p { - font-size: 13px; - font-style: italic; -} - -.form-wrap .form-field { - margin: 0 0 10px; - padding: 8px 0; -} - -.form-wrap .form-field #parent { - max-width: 100%; -} - -.col-wrap h3 { - margin: 12px 0; - font-size: 1.1em; -} - -.col-wrap p.submit { - margin-top: -10px; -} - - -/*------------------------------------------------------------------------------ - 13.0 - Tags -------------------------------------------------------------------------------*/ - -.tagsdiv { - margin-top: -8px; -} - -#poststuff .taghint { - color: #aaa; - margin: 15px 12px -24px 0; -} - -#poststuff .tagsdiv .howto { - margin: 0 0 6px 0; -} - -.ajaxtag .newtag { - position: relative; -} - -.tagsdiv .newtag { - width: 180px; -} - -.tagsdiv .the-tags { - display: block; - height: 60px; - margin: 0 auto; - overflow: auto; - width: 260px; -} - -#post-body-content .tagsdiv .the-tags { - margin: 0 5px; -} - -/* tag hints */ -.taghint { - color: #aaa; - margin: -17px 7px 0 0; - visibility: hidden; -} - -input.newtag ~ div.taghint { - visibility: visible; -} - -input.newtag:focus ~ div.taghint { - visibility: hidden; -} - -p.popular-tags { - border: none; - line-height: 2em; - padding: 8px 12px 12px; - text-align: justify; -} - -p.popular-tags a { - padding: 0 3px; -} - -.tagcloud { - width: 97%; - margin: 0 0 40px; - text-align: justify; -} - -.tagcloud h3 { - margin: 2px 0 12px; -} - -.ac_results { - padding: 0; - margin: 0; - list-style: none; - position: absolute; - z-index: 10000; - display: none; - border: 1px solid #808080; - background-color: #fff; -} - -.wp-customizer .ac_results { - z-index: 500000; -} - -.ac_results li { - padding: 2px 5px; - white-space: nowrap; - color: #101010; - text-align: right; -} - -.ac_over { - background-color: #f0f0b8; - cursor: pointer; -} - -.ac_match { - text-decoration: underline; -} - -/* Comments */ - -.comment-php .wp-editor-area { - height: 200px; -} - -.comment-ays { - margin-bottom: 0; - border-bottom-style: solid; - border-bottom-width: 1px; -} - -.comment-ays .alt { - background-color: transparent; -} - -.trash-undo-inside, -.spam-undo-inside { - margin: 1px 0 1px 8px; - line-height: 16px; -} - -.spam-undo-inside .avatar, -.trash-undo-inside .avatar { - height: 20px; - width: 20px; - margin-left: 8px; - vertical-align: middle; -} - -.stuffbox .editcomment { - clear: none; -} - -#comment-status-radio p { - margin: 3px 0 5px; -} - -#comment-status-radio input { - margin: 2px 0 5px 3px; - vertical-align: middle; -} - -#comment-status-radio label { - padding: 5px 0; -} - -/* links tables */ -table.links-table { - width: 100%; - border-spacing: 0; -} - -.links-table th { - font-weight: normal; - text-align: right; - vertical-align: top; - min-width: 80px; - width: 20%; - word-wrap: break-word; -} - -.links-table th, -.links-table td { - padding: 5px 0; -} - -.links-table td label { - margin-left: 8px; -} - -.links-table td input[type="text"], -.links-table td textarea { - width: 100%; -} - -.links-table #link_rel { - max-width: 280px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - #content-resize-handle, - #post-body .wp_themeSkin .mceStatusbar a.mceResize { - background: transparent url(../images/resize-2x.gif) no-repeat scroll left bottom; - -webkit-background-size: 11px 11px; - background-size: 11px 11px; - } - - .rtl #content-resize-handle, - .rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize { - background: transparent url(../images/resize-rtl-2x.gif) no-repeat scroll left bottom; - } -} - -/* one column on the post write/edit screen */ -@media only screen and (max-width: 850px) { - #poststuff { - min-width: 0; - } - - #wpbody-content #poststuff #post-body { - margin: 0; - } - - #wpbody-content #post-body.columns-2 #postbox-container-1 { - margin-left: 0; - width: 100%; - } - - #poststuff #postbox-container-1 .empty-container, - #poststuff #postbox-container-1 #side-sortables:empty { - border: 0 none; - height: 0; - min-height: 0; - } - - #poststuff #post-body.columns-2 #side-sortables { - min-height: 0; - width: auto; - } - - /* hide the radio buttons for column prefs */ - .screen-layout, - .columns-prefs { - display: none; - } -} - -@media screen and ( max-width: 782px ) { - #post-body-content { - min-width: 0; - } - - #titlediv #title-prompt-text { - padding: 10px 10px; - } - - #poststuff h3 { - padding: 12px; - } - - .post-format-options { - padding-left: 0; - } - - .post-format-options a { - margin-left: 5px; - margin-bottom: 5px; - min-width: 52px; - } - - .post-format-options .post-format-title { - font-size: 11px; - } - - .post-format-options a div { - height: 28px; - width: 28px; - } - - .post-format-options a div:before { - font-size: 26px !important; - } - - /* Publish Metabox Options */ - #post-visibility-select { - line-height: 280%; - } - - .wp-core-ui .save-post-visibility, - .wp-core-ui .save-timestamp { - vertical-align: middle; - margin-left: 15px; - } - - .timestamp-wrap select#mm { - display: block; - width: 100%; - margin-bottom: 10px; - } - - .timestamp-wrap #jj, - .timestamp-wrap #aa, - .timestamp-wrap #hh, - .timestamp-wrap #mn { - padding: 12px 3px; - font-size: 14px; - margin-bottom: 5px; - width: auto; - text-align: center; - } - - /* Categories Metabox */ - ul.category-tabs { - margin: 30px 0 15px; - } - - ul.category-tabs li.tabs { - padding: 15px; - } - - ul.categorychecklist li { - margin-bottom: 15px; - } - - ul.categorychecklist ul { - margin-top: 15px; - } - - .category-add input[type=text], - .category-add select { - max-width: none; - margin-bottom: 15px; - } - - /* Tags Metabox */ - .tagsdiv .newtag { - width: 100%; - height: auto; - margin-bottom: 15px; - } - - .tagchecklist { - margin: 25px 10px; - } - - .tagchecklist span { - font-size: 16px; - line-height: 120%; - } - - /* Discussion */ - #commentstatusdiv p { - line-height: 2.8; - } - - /* TinyMCE Adjustments */ - .mceToolbar * { - white-space: normal !important; - } - - .mceToolbar tr, - .mceToolbar td { - float: right !important; - } - - .wp_themeSkin a.mceButton { - width: 30px; - height: 30px; - } - - .wp_themeSkin .mceButton .mceIcon { - margin-top: 5px; - margin-right: 5px; - } - - .wp_themeSkin .mceSplitButton { - margin-top: 1px; - } - - .wp_themeSkin .mceSplitButton td a.mceAction { - padding-top: 6px; - padding-bottom: 6px; - padding-right: 6px; - padding-left: 3px; - } - - .wp_themeSkin .mceSplitButton td a.mceOpen, - .wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen { - padding-top: 6px; - padding-bottom: 6px; - background-position: 1px 6px; - } - - .wp_themeSkin table.mceListBox { - margin: 5px; - } - - div.quicktags-toolbar input { - padding: 10px 20px; - } - - a.wp-switch-editor { - font-size: 16px; - line-height: 1em; - margin: 3px 7px 0 0; - padding: 12px 15px; - } - - #wp-content-media-buttons a { - font-size: 16px; - line-height: 37px; - height: 39px; - padding: 0 15px 0 20px; - } - - .wp-media-buttons span.wp-media-buttons-icon, - .wp-media-buttons span.jetpack-contact-form-icon { - width: 22px !important; - margin-top: -3px !important; - margin-right: -5px !important; - } - - .wp-media-buttons .add_media span.wp-media-buttons-icon:before, - .wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before { - font-size: 20px !important; - } - - #content_wp_fullscreen { - display: none; - } - - .misc-pub-section { - padding: 20px 10px 20px; - } - - .misc-pub-section > a { - float: left; - font-size: 16px; - } - - #delete-action, - #publishing-action { - line-height: 47px; - } - - /* Moderate Comment */ - .comment-ays { - border-bottom: none; - } - - /* Links */ - .links-table #link_rel { - max-width: none; - } - - .links-table th, - .links-table td { - padding: 10px 0; - } -} - -@media only screen and (max-width: 500px) { - /* Align Add Media + Visual + Text tabs */ - #wp-content-media-buttons a { - font-size: 14px; - padding: 0 10px 0 10px; - } -} diff --git a/sources/wordpress/wp-admin/css/edit.css b/sources/wordpress/wp-admin/css/edit.css deleted file mode 100644 index cc64ae5..0000000 --- a/sources/wordpress/wp-admin/css/edit.css +++ /dev/null @@ -1,1500 +0,0 @@ -#poststuff { - padding-top: 10px; - min-width: 763px; -} - -#poststuff #post-body { - padding: 0; -} - -#poststuff .postbox-container { - width: 100%; -} - -#poststuff #post-body.columns-2 { - margin-right: 300px; -} - -/*------------------------------------------------------------------------------ - 11.0 - Write/Edit Post Screen -------------------------------------------------------------------------------*/ - -#show-comments { - overflow: hidden; -} - -#save-action .spinner, -#show-comments a, -#show-comments .spinner { - float: left; -} - -#lost-connection-notice .spinner { - display: block; - float: left; - margin: 0 5px 0 0; -} - -#titlediv { - position: relative; -} - -#titlediv label { - cursor: text; -} - -#titlediv div.inside { - margin: 0; -} - -#poststuff #titlewrap { - border: 0; - padding: 0; -} - -#titlediv #title { - padding: 3px 8px; - font-size: 1.7em; - line-height: 100%; - height: 1.7em; - width: 100%; - outline: none; - margin: 0; - background-color: #fff; -} - -#titlediv #title-prompt-text { - color: #777; - position: absolute; - font-size: 1.7em; - padding: 11px 10px; -} - -#wp-fullscreen-save .fs-saved { - color: #999; - float: right; - margin-top: 4px; -} - -#poststuff .inside-submitbox, -#side-sortables .inside-submitbox { - margin: 0 3px; - font-size: 11px; -} - -input#link_description, -input#link_url { - width: 98%; -} - -#pending { - background: 0 none; - border: 0 none; - padding: 0; - font-size: 11px; - margin-top: -1px; -} - -#edit-slug-box { - line-height: 24px; - min-height: 25px; /* Yes, line-height + 1 */ - margin-top: 5px; - padding: 0 10px; - color: #666; -} - -#edit-slug-box .cancel { - margin-right: 10px; - font-size: 11px; -} - -#editable-post-name-full { - display: none; -} - -#editable-post-name { - background-color: #fffbcc; -} - -#editable-post-name input { - font-size: 13px; - height: 22px; - margin: 0; - width: 16em; -} - -.postarea h3 label { - float: left; -} - -.submitbox .submit { - text-align: left; - padding: 12px 10px 10px; - font-size: 11px; - background-color: #464646; - color: #ccc; -} - -.submitbox .submitdelete { - text-decoration: none; - padding: 1px 2px; -} - -/* @todo: do we really need this? word on the street is we don't and this -stray rule may actually be compensated for elsewhere. */ -#normal-sortables .submitbox .submitdelete:hover { - color: #000; - background-color: #f00; - border-bottom-color: #f00; -} - -.submitbox .submit a:hover { - text-decoration: underline; -} - -.submitbox .submit input { - margin-bottom: 8px; - margin-right: 4px; - padding: 6px; -} - -.inside-submitbox #post_status { - margin: 2px 0 2px -2px; -} - -#post-status-select { - margin-top: 3px; -} - -/* Post Screen */ -#post-body #normal-sortables { - min-height: 50px; -} - -.postbox { - position: relative; - min-width: 255px; - border: 1px solid #e5e5e5; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - background: #fff; -} - -#trackback_url { - width: 99%; -} - -#normal-sortables .postbox .submit { - background: transparent none; - border: 0 none; - float: right; - padding: 0 12px; - margin:0; -} - -.category-add input[type="text"], -.category-add select { - width: 100%; - max-width: 260px; - vertical-align: baseline; -} - -#side-sortables .category-add input[type="text"], -#side-sortables .category-add select { - margin: 0 0 1em; -} - -ul.category-tabs li, -#side-sortables .add-menu-item-tabs li, -.wp-tab-bar li { - display: inline; - line-height: 1.35em; -} - -.no-js .category-tabs li.hide-if-no-js { - display: none; -} - -.category-tabs a, -#side-sortables .add-menu-item-tabs a, -.wp-tab-bar a { - text-decoration: none; -} - -/* @todo: do these really need to be so specific? */ -#side-sortables .category-tabs .tabs a, -#side-sortables .add-menu-item-tabs .tabs a, -.wp-tab-bar .wp-tab-active a, -#post-body ul.category-tabs li.tabs a, -#post-body ul.add-menu-item-tabs li.tabs a { - color: #333; -} - -.category-tabs { - margin: 8px 0 5px; -} - -#category-adder h4 { - margin: 10px 0; -} - -#side-sortables .add-menu-item-tabs, -.wp-tab-bar { - margin-bottom: 3px; -} - -#normal-sortables .postbox #replyrow .submit { - float: none; - margin: 0; - padding: 0 7px 5px; -} - -#side-sortables .submitbox .submit input, -#side-sortables .submitbox .submit .preview, -#side-sortables .submitbox .submit a.preview:hover { - border: 0 none; -} - -#side-sortables .inside-submitbox .insidebox, -.stuffbox .insidebox { - margin: 11px 0; -} - -/* @todo: make this a more generic class */ -ul.category-tabs, -ul.add-menu-item-tabs, -ul.wp-tab-bar { - margin-top: 12px; -} - -ul.category-tabs li, -ul.add-menu-item-tabs li { - border: solid 1px transparent; - position: relative; -} - -ul.category-tabs li.tabs, -ul.add-menu-item-tabs li.tabs, -.wp-tab-active { - border: 1px solid #dfdfdf; - border-bottom-color: #fdfdfd; - background-color: #fdfdfd; -} - -ul.category-tabs li, -ul.add-menu-item-tabs li, -ul.wp-tab-bar li { - padding: 3px 5px 5px; -} - -#postimagediv .inside img { - max-width: 100%; - height: auto; -} - -form#tags-filter { - position: relative; -} - -/* Edit posts */ -td.post-title strong, -td.plugin-title strong { - display: block; - margin-bottom: .2em; - font-size: 14px; -} - -td.post-title p, -td.plugin-title p { - margin: 6px 0; -} - -/* Global classes */ -.wp-hidden-children .wp-hidden-child, -.ui-tabs-hide { - display: none; -} - -#post-body .tagsdiv #newtag { - margin-right: 5px; - width: 16em; -} - -#side-sortables input#post_password { - width: 94% -} - -#side-sortables .tagsdiv #newtag { - width: 68%; -} - -#post-status-info { - width: 100%; - border-spacing: 0; - border: 1px solid #e5e5e5; - border-top: none; - background-color: #f7f7f7; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); - z-index: 999; -} - -#post-status-info td { - font-size: 12px; -} - -.autosave-info { - padding: 2px 10px; - text-align: right; -} - -#editorcontent #post-status-info { - border: none; -} - -#content-resize-handle { - background: transparent url(../images/resize.gif) no-repeat scroll right bottom; - width: 12px; - cursor: row-resize; -} - -.rtl #content-resize-handle { - background: transparent url(../images/resize-rtl.gif) no-repeat scroll left bottom; -} - -.wp-editor-expand #content-resize-handle { - display: none; -} - -#postdivrich #content { - resize: none; -} - -#wp-word-count { - display: block; - padding: 2px 10px; -} - -#wp-content-editor-container { - position: relative; -} - -#content-textarea-clone { - z-index: -1; - position: absolute; - top: 0; - visibility: hidden; - overflow: hidden; - max-width: 100%; - border: 1px solid transparent; -} - -.wp-fullscreen-wrap #content-textarea-clone { - display: none; -} - -/* editor-expand.js override */ -.wp-fullscreen-wrap { - padding-top: 0 !important; -} - -.wp-fullscreen-wrap .wp-editor-area { - margin-top: 0 !important; -} - -.wp-fullscreen-wrap .mce-edit-area { - padding-top: 0 !important; -} -/* end editor-expand.js override */ - -.wp-editor-expand #wp-content-editor-tools { - z-index: 1000; - border-bottom: 1px solid #e5e5e5; -} - -.wp-editor-expand #wp-content-editor-container { - -webkit-box-shadow: none; - box-shadow: none; - margin-top: -1px; -} - -.wp-editor-expand #wp-content-editor-container { - border-bottom: 0 none; -} - -.wp-editor-expand div.mce-statusbar { - z-index: 1; -} - -.wp-editor-expand #post-status-info { - border-top: 1px solid #e5e5e5; -} - -.wp-editor-expand div.mce-toolbar-grp { - z-index: 999; -} - -#wp-content-editor-tools { - background-color: #f1f1f1; - padding-top: 20px; -} - -#poststuff #post-body.columns-2 #side-sortables { - width: 280px; -} - -#timestampdiv select { - height: 21px; - line-height: 14px; - padding: 0; - vertical-align: top; - font-size: 12px; -} - -#aa, #jj, #hh, #mn { - padding: 1px; - font-size: 12px; -} - -#jj, #hh, #mn { - width: 2em; -} - -#aa { - width: 3.4em; -} - -.curtime #timestamp { - padding: 2px 0 1px 0; - display: inline !important; - height: auto !important; -} - -#misc-publishing-actions label[for="post_status"]:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: #888; -} - -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before { - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 0 2px 0 0; - top: 0; - left: -1px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -#post-body #visibility:before { - content: '\f177'; -} - -.curtime #timestamp:before { - content: '\f145'; - top: -1px; -} - -#post-body .misc-pub-revisions:before { - content: '\f321'; -} - -#timestampdiv { - padding-top: 5px; - line-height: 23px; -} - -#timestampdiv p { - margin: 8px 0 6px; -} - -#timestampdiv input { - border-width: 1px; - border-style: solid; -} - -.notification-dialog { - position: fixed; - top: 30%; - left: 50%; - width: 450px; - margin-left: -225px; - background: #fff; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - line-height: 1.5; - z-index: 1000005; -} - -.notification-dialog-background { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 1000000; -} - -#post-lock-dialog .post-locked-message, -#post-lock-dialog .post-taken-over { - margin: 25px; -} - -#post-lock-dialog .post-locked-message a.button { - margin-right: 10px; -} - -#post-lock-dialog .post-locked-avatar { - float: left; - margin: 0 20px 20px 0; -} - -#post-lock-dialog .wp-tab-first { - outline: 0; -} - -#post-lock-dialog .locked-saving img { - float: left; - margin-right: 3px; -} - -#post-lock-dialog.saving .locked-saving, -#post-lock-dialog.saved .locked-saved { - display: inline; -} - -#excerpt, -.attachmentlinks { - margin: 0; - height: 4em; - width: 98%; -} - -.tagchecklist { - margin-left: 14px; - font-size: 12px; - overflow: auto; -} - -.tagchecklist br { - display: none; -} - -.tagchecklist strong { - margin-left: -8px; - position: absolute; -} - -.tagchecklist span { - margin-right: 25px; - display: block; - float: left; - font-size: 13px; - line-height: 1.8em; - white-space: nowrap; - cursor: default; -} - -.tagchecklist span a { - margin: 1px 0 0 -17px; - cursor: pointer; - width: 20px; - height: 20px; - display: block; - float: left; - text-indent: 0; - overflow: hidden; - position: absolute; -} - -#poststuff h2 { - margin-top: 20px; - font-size: 1.5em; - margin-bottom: 15px; - padding: 0 0 3px; - clear: left; -} - -#poststuff h3 { - font-size: 14px; - padding: 8px 12px; - margin: 0; - line-height: 1.4; -} - -#poststuff .inside { - margin: 6px 0 0 0; -} - -#poststuff .inside #parent_id, -#poststuff .inside #page_template { - max-width: 100%; -} - -#poststuff .inside label.spam, -#poststuff .inside label.deleted { - color: red; -} - -#poststuff .inside label.waiting { - color: orange; -} - -#poststuff .inside label.approved { - color: green; -} - -.ie8 #poststuff .inside #parent_id, -.ie8 #poststuff .inside #page_template { - width: 250px; -} - -#post-visibility-select { - line-height: 1.5em; - margin-top: 3px; -} - -#poststuff #submitdiv .inside { - margin: 0; - padding: 0; -} - -#post-body-content, -.edit-form-section { - margin-bottom: 20px; -} - -/*------------------------------------------------------------------------------ - 11.1 - Custom Fields -------------------------------------------------------------------------------*/ - -#postcustomstuff thead th { - padding: 5px 8px 8px; - background-color: #f1f1f1; -} - -#postcustom #postcustomstuff .submit { - border: 0 none; - float: none; - padding: 0 8px 8px; -} - -#side-sortables #postcustom #postcustomstuff .submit { - margin: 0; - padding: 0; -} - -#side-sortables #postcustom #postcustomstuff #the-list textarea { - height: 85px; -} - -#side-sortables #postcustom #postcustomstuff td.left input, -#side-sortables #postcustom #postcustomstuff td.left select, -#side-sortables #postcustomstuff #newmetaleft a { - margin: 3px 3px 0; -} - -#postcustomstuff table { - margin: 0; - width: 100%; - border: 1px solid #dfdfdf; - border-spacing: 0; - background-color: #f9f9f9; -} - -#postcustomstuff tr { - vertical-align: top; -} - -#postcustomstuff table input, -#postcustomstuff table select, -#postcustomstuff table textarea { - width: 96%; - margin: 8px; -} - -#side-sortables #postcustomstuff table input, -#side-sortables #postcustomstuff table select, -#side-sortables #postcustomstuff table textarea { - margin: 3px; -} - -#postcustomstuff th.left, -#postcustomstuff td.left { - width: 38%; -} - -#postcustomstuff .submit input { - margin: 0; - width: auto; -} - -#postcustomstuff #newmetaleft a { - display: inline-block; - margin: 0 8px 8px; - text-decoration: none; -} - -.no-js #postcustomstuff #enternew { - display: none; -} - -#post-body-content .compat-attachment-fields { - margin-bottom: 20px; -} - -.compat-attachment-fields th { - padding-top: 5px; - padding-right: 10px; -} - -/*------------------------------------------------------------------------------ - 11.3 - Featured Images -------------------------------------------------------------------------------*/ - -#select-featured-image { - padding: 4px 0; - overflow: hidden; -} - -#select-featured-image img { - max-width: 100%; - height: auto; - margin-bottom: 10px; -} - -#select-featured-image a { - float: left; - clear: both; -} - -#select-featured-image .remove { - display: none; - margin-top: 10px; -} - -.js #select-featured-image.has-featured-image .remove { - display: inline-block; -} - -.no-js #select-featured-image .choose { - display: none; -} - -/*------------------------------------------------------------------------------ - 11.4 - Post formats -------------------------------------------------------------------------------*/ - -.post-state-format { - overflow: hidden; - display: inline-block; - vertical-align: middle; - height: 20px; - width: 20px; - margin-right: 5px; - margin-top: -4px; -} - -.post-state-format:before { - display: block; - height: 20px; - width: 20px; - font: normal 20px/1 'dashicons' !important; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.post-state-format:before, -.post-format-icon:before { - color: #ddd; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -a.post-state-format:hover:before, -a.post-format-icon:hover:before { - color: #2ea2cc; -} - -#post-formats-select { - line-height: 2em; -} - -#post-formats-select .post-format-icon:before { - top: 5px; -} - -input.post-format { - margin-top: 1px; -} - -label.post-format-icon { - margin-left: 0px; - padding: 2px 0 2px 0px; -} - -.post-format-icon:before { - position: relative; - display: inline-block; - margin-right: 7px; - font: normal 20px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.post-state-format.post-format-standard:before, -.post-format-icon.post-format-standard:before, -a.post-state-format.format-standard:before { - content: '\f109'; -} - -.post-state-format.post-format-image:before, -.post-format-icon.post-format-image:before, -a.post-state-format.format-image:before { - content: '\f128'; -} - -.post-state-format.post-format-gallery:before, -.post-format-icon.post-format-gallery:before, -a.post-state-format.format-gallery:before { - content: '\f161'; -} - -.post-state-format.post-format-audio:before, -.post-format-icon.post-format-audio:before, -a.post-state-format.format-audio:before { - content: '\f127'; -} - -.post-state-format.post-format-video:before, -.post-format-icon.post-format-video:before, -a.post-state-format.format-video:before { - content: '\f126'; -} - -.post-state-format.post-format-chat:before, -.post-format-icon.post-format-chat:before, -a.post-state-format.format-chat:before { - content: '\f125'; -} - -.post-state-format.post-format-status:before, -.post-format-icon.post-format-status:before, -a.post-state-format.format-status:before { - content: '\f130'; -} - -.post-state-format.post-format-aside:before, -.post-format-icon.post-format-aside:before, -a.post-state-format.format-aside:before { - content: '\f123'; -} - -.post-state-format.post-format-quote:before, -.post-format-icon.post-format-quote:before, -a.post-state-format.format-quote:before { - content: '\f122'; -} - -.post-state-format.post-format-link:before, -.post-format-icon.post-format-link:before, -a.post-state-format.format-link:before { - content: '\f103'; -} - -/*------------------------------------------------------------------------------ - 12.0 - Categories -------------------------------------------------------------------------------*/ - -.category-adder { - margin-left: 120px; - padding: 4px 0; -} - -.category-adder h4 { - margin: 0 0 8px; -} - -#side-sortables .category-adder { - margin: 0; -} - -.wp-tab-panel, -.categorydiv div.tabs-panel, -.customlinkdiv div.tabs-panel, -.posttypediv div.tabs-panel, -.taxonomydiv div.tabs-panel { - min-height: 42px; - max-height: 200px; - overflow: auto; - padding: 0 0.9em; - border: solid 1px #dfdfdf; - background-color: #fdfdfd; -} - -div.tabs-panel-active { - display:block; -} - -div.tabs-panel-inactive { - display:none; -} - -#front-page-warning, -#front-static-pages ul, -ul.export-filters, -.inline-editor ul.cat-checklist ul, -.categorydiv ul.categorychecklist ul, -.customlinkdiv ul.categorychecklist ul, -.posttypediv ul.categorychecklist ul, -.taxonomydiv ul.categorychecklist ul { - margin-left: 18px; -} - -ul.categorychecklist li { - margin: 0; - padding: 0; - line-height: 22px; - word-wrap: break-word; -} - -.categorydiv .tabs-panel, -.customlinkdiv .tabs-panel, -.posttypediv .tabs-panel, -.taxonomydiv .tabs-panel { - border-width: 3px; - border-style: solid; -} - -.form-wrap p, -.form-wrap label { - font-size: 11px; -} - -.form-wrap label { - display: block; - padding: 2px; - font-size: 12px; -} - -.form-field input[type="text"], -.form-field input[type="password"], -.form-field input[type="email"], -.form-field input[type="number"], -.form-field input[type="search"], -.form-field input[type="tel"], -.form-field input[type="url"], -.form-field textarea { - border-style: solid; - border-width: 1px; - width: 95%; -} - -p.description, -.form-wrap p { - margin: 2px 0 5px; - color: #666; -} - -p.help, -p.description, -span.description, -.form-wrap p { - font-size: 13px; - font-style: italic; -} - -.form-wrap .form-field { - margin: 0 0 10px; - padding: 8px 0; -} - -.form-wrap .form-field #parent { - max-width: 100%; -} - -.col-wrap h3 { - margin: 12px 0; - font-size: 1.1em; -} - -.col-wrap p.submit { - margin-top: -10px; -} - - -/*------------------------------------------------------------------------------ - 13.0 - Tags -------------------------------------------------------------------------------*/ - -.tagsdiv { - margin-top: -8px; -} - -#poststuff .taghint { - color: #aaa; - margin: 15px 0 -24px 12px; -} - -#poststuff .tagsdiv .howto { - margin: 0 0 6px 0; -} - -.ajaxtag .newtag { - position: relative; -} - -.tagsdiv .newtag { - width: 180px; -} - -.tagsdiv .the-tags { - display: block; - height: 60px; - margin: 0 auto; - overflow: auto; - width: 260px; -} - -#post-body-content .tagsdiv .the-tags { - margin: 0 5px; -} - -/* tag hints */ -.taghint { - color: #aaa; - margin: -17px 0 0 7px; - visibility: hidden; -} - -input.newtag ~ div.taghint { - visibility: visible; -} - -input.newtag:focus ~ div.taghint { - visibility: hidden; -} - -p.popular-tags { - border: none; - line-height: 2em; - padding: 8px 12px 12px; - text-align: justify; -} - -p.popular-tags a { - padding: 0 3px; -} - -.tagcloud { - width: 97%; - margin: 0 0 40px; - text-align: justify; -} - -.tagcloud h3 { - margin: 2px 0 12px; -} - -.ac_results { - padding: 0; - margin: 0; - list-style: none; - position: absolute; - z-index: 10000; - display: none; - border: 1px solid #808080; - background-color: #fff; -} - -.wp-customizer .ac_results { - z-index: 500000; -} - -.ac_results li { - padding: 2px 5px; - white-space: nowrap; - color: #101010; - text-align: left; -} - -.ac_over { - background-color: #f0f0b8; - cursor: pointer; -} - -.ac_match { - text-decoration: underline; -} - -/* Comments */ - -.comment-php .wp-editor-area { - height: 200px; -} - -.comment-ays { - margin-bottom: 0; - border-bottom-style: solid; - border-bottom-width: 1px; -} - -.comment-ays .alt { - background-color: transparent; -} - -.trash-undo-inside, -.spam-undo-inside { - margin: 1px 8px 1px 0; - line-height: 16px; -} - -.spam-undo-inside .avatar, -.trash-undo-inside .avatar { - height: 20px; - width: 20px; - margin-right: 8px; - vertical-align: middle; -} - -.stuffbox .editcomment { - clear: none; -} - -#comment-status-radio p { - margin: 3px 0 5px; -} - -#comment-status-radio input { - margin: 2px 3px 5px 0; - vertical-align: middle; -} - -#comment-status-radio label { - padding: 5px 0; -} - -/* links tables */ -table.links-table { - width: 100%; - border-spacing: 0; -} - -.links-table th { - font-weight: normal; - text-align: left; - vertical-align: top; - min-width: 80px; - width: 20%; - word-wrap: break-word; -} - -.links-table th, -.links-table td { - padding: 5px 0; -} - -.links-table td label { - margin-right: 8px; -} - -.links-table td input[type="text"], -.links-table td textarea { - width: 100%; -} - -.links-table #link_rel { - max-width: 280px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - #content-resize-handle, - #post-body .wp_themeSkin .mceStatusbar a.mceResize { - background: transparent url(../images/resize-2x.gif) no-repeat scroll right bottom; - -webkit-background-size: 11px 11px; - background-size: 11px 11px; - } - - .rtl #content-resize-handle, - .rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize { - background: transparent url(../images/resize-rtl-2x.gif) no-repeat scroll right bottom; - } -} - -/* one column on the post write/edit screen */ -@media only screen and (max-width: 850px) { - #poststuff { - min-width: 0; - } - - #wpbody-content #poststuff #post-body { - margin: 0; - } - - #wpbody-content #post-body.columns-2 #postbox-container-1 { - margin-right: 0; - width: 100%; - } - - #poststuff #postbox-container-1 .empty-container, - #poststuff #postbox-container-1 #side-sortables:empty { - border: 0 none; - height: 0; - min-height: 0; - } - - #poststuff #post-body.columns-2 #side-sortables { - min-height: 0; - width: auto; - } - - /* hide the radio buttons for column prefs */ - .screen-layout, - .columns-prefs { - display: none; - } -} - -@media screen and ( max-width: 782px ) { - #post-body-content { - min-width: 0; - } - - #titlediv #title-prompt-text { - padding: 10px 10px; - } - - #poststuff h3 { - padding: 12px; - } - - .post-format-options { - padding-right: 0; - } - - .post-format-options a { - margin-right: 5px; - margin-bottom: 5px; - min-width: 52px; - } - - .post-format-options .post-format-title { - font-size: 11px; - } - - .post-format-options a div { - height: 28px; - width: 28px; - } - - .post-format-options a div:before { - font-size: 26px !important; - } - - /* Publish Metabox Options */ - #post-visibility-select { - line-height: 280%; - } - - .wp-core-ui .save-post-visibility, - .wp-core-ui .save-timestamp { - vertical-align: middle; - margin-right: 15px; - } - - .timestamp-wrap select#mm { - display: block; - width: 100%; - margin-bottom: 10px; - } - - .timestamp-wrap #jj, - .timestamp-wrap #aa, - .timestamp-wrap #hh, - .timestamp-wrap #mn { - padding: 12px 3px; - font-size: 14px; - margin-bottom: 5px; - width: auto; - text-align: center; - } - - /* Categories Metabox */ - ul.category-tabs { - margin: 30px 0 15px; - } - - ul.category-tabs li.tabs { - padding: 15px; - } - - ul.categorychecklist li { - margin-bottom: 15px; - } - - ul.categorychecklist ul { - margin-top: 15px; - } - - .category-add input[type=text], - .category-add select { - max-width: none; - margin-bottom: 15px; - } - - /* Tags Metabox */ - .tagsdiv .newtag { - width: 100%; - height: auto; - margin-bottom: 15px; - } - - .tagchecklist { - margin: 25px 10px; - } - - .tagchecklist span { - font-size: 16px; - line-height: 120%; - } - - /* Discussion */ - #commentstatusdiv p { - line-height: 2.8; - } - - /* TinyMCE Adjustments */ - .mceToolbar * { - white-space: normal !important; - } - - .mceToolbar tr, - .mceToolbar td { - float: left !important; - } - - .wp_themeSkin a.mceButton { - width: 30px; - height: 30px; - } - - .wp_themeSkin .mceButton .mceIcon { - margin-top: 5px; - margin-left: 5px; - } - - .wp_themeSkin .mceSplitButton { - margin-top: 1px; - } - - .wp_themeSkin .mceSplitButton td a.mceAction { - padding-top: 6px; - padding-bottom: 6px; - padding-left: 6px; - padding-right: 3px; - } - - .wp_themeSkin .mceSplitButton td a.mceOpen, - .wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen { - padding-top: 6px; - padding-bottom: 6px; - background-position: 1px 6px; - } - - .wp_themeSkin table.mceListBox { - margin: 5px; - } - - div.quicktags-toolbar input { - padding: 10px 20px; - } - - a.wp-switch-editor { - font-size: 16px; - line-height: 1em; - margin: 3px 0 0 7px; - padding: 12px 15px; - } - - #wp-content-media-buttons a { - font-size: 16px; - line-height: 37px; - height: 39px; - padding: 0 20px 0 15px; - } - - .wp-media-buttons span.wp-media-buttons-icon, - .wp-media-buttons span.jetpack-contact-form-icon { - width: 22px !important; - margin-top: -3px !important; - margin-left: -5px !important; - } - - .wp-media-buttons .add_media span.wp-media-buttons-icon:before, - .wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before { - font-size: 20px !important; - } - - #content_wp_fullscreen { - display: none; - } - - .misc-pub-section { - padding: 20px 10px 20px; - } - - .misc-pub-section > a { - float: right; - font-size: 16px; - } - - #delete-action, - #publishing-action { - line-height: 47px; - } - - /* Moderate Comment */ - .comment-ays { - border-bottom: none; - } - - /* Links */ - .links-table #link_rel { - max-width: none; - } - - .links-table th, - .links-table td { - padding: 10px 0; - } -} - -@media only screen and (max-width: 500px) { - /* Align Add Media + Visual + Text tabs */ - #wp-content-media-buttons a { - font-size: 14px; - padding: 0 10px 0 10px; - } -} diff --git a/sources/wordpress/wp-admin/css/farbtastic-rtl.css b/sources/wordpress/wp-admin/css/farbtastic-rtl.css deleted file mode 100644 index b7aebad..0000000 --- a/sources/wordpress/wp-admin/css/farbtastic-rtl.css +++ /dev/null @@ -1,41 +0,0 @@ - -.farbtastic { - position: relative; -} - -.farbtastic * { - position: absolute; - cursor: crosshair; -} - -.farbtastic, -.farbtastic .wheel { - width: 195px; - height: 195px; -} - -.farbtastic .color, -.farbtastic .overlay { - top: 47px; - right: 47px; - width: 101px; - height: 101px; -} - -.farbtastic .wheel { - background: url(../images/wheel.png) no-repeat; - width: 195px; - height: 195px; -} - -.farbtastic .overlay { - background: url(../images/mask.png) no-repeat; -} - -.farbtastic .marker { - width: 17px; - height: 17px; - margin: -8px -8px 0 0; - overflow: hidden; - background: url(../images/marker.png) no-repeat; -} diff --git a/sources/wordpress/wp-admin/css/farbtastic.css b/sources/wordpress/wp-admin/css/farbtastic.css deleted file mode 100644 index 2bb73bf..0000000 --- a/sources/wordpress/wp-admin/css/farbtastic.css +++ /dev/null @@ -1,41 +0,0 @@ - -.farbtastic { - position: relative; -} - -.farbtastic * { - position: absolute; - cursor: crosshair; -} - -.farbtastic, -.farbtastic .wheel { - width: 195px; - height: 195px; -} - -.farbtastic .color, -.farbtastic .overlay { - top: 47px; - left: 47px; - width: 101px; - height: 101px; -} - -.farbtastic .wheel { - background: url(../images/wheel.png) no-repeat; - width: 195px; - height: 195px; -} - -.farbtastic .overlay { - background: url(../images/mask.png) no-repeat; -} - -.farbtastic .marker { - width: 17px; - height: 17px; - margin: -8px 0 0 -8px; - overflow: hidden; - background: url(../images/marker.png) no-repeat; -} diff --git a/sources/wordpress/wp-admin/css/forms-rtl.css b/sources/wordpress/wp-admin/css/forms-rtl.css deleted file mode 100644 index d897042..0000000 --- a/sources/wordpress/wp-admin/css/forms-rtl.css +++ /dev/null @@ -1,992 +0,0 @@ -/* Include margin and padding in the width calculation of input and textarea. */ -input, -textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -input[type="text"], -input[type="password"], -input[type="checkbox"], -input[type="color"], -input[type="date"], -input[type="datetime"], -input[type="datetime-local"], -input[type="email"], -input[type="month"], -input[type="number"], -input[type="password"], -input[type="search"], -input[type="radio"], -input[type="tel"], -input[type="text"], -input[type="time"], -input[type="url"], -input[type="week"], -select, -textarea { - border: 1px solid #ddd; - -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); - background-color: #fff; - color: #333; - outline: none; - -webkit-transition: 0.05s border-color ease-in-out; - transition: 0.05s border-color ease-in-out; -} - -input[type="text"]:focus, -input[type="password"]:focus, -input[type="color"]:focus, -input[type="date"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="email"]:focus, -input[type="month"]:focus, -input[type="number"]:focus, -input[type="password"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="text"]:focus, -input[type="time"]:focus, -input[type="url"]:focus, -input[type="week"]:focus, -input[type="checkbox"]:focus, -input[type="radio"]:focus, -select:focus, -textarea:focus { - border-color: #5b9dd9; - -webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); -} - -/* @noflip */ -input[type="email"], -input[type="url"] { - direction: ltr; -} - -input[type="checkbox"], -input[type="radio"] { - border: 1px solid #bbb; - background: #fff; - color: #555; - clear: none; - cursor: pointer; - display: inline-block; - line-height: 0; - height: 16px; - margin: -4px 0 0 4px; - outline: 0; - padding: 0 !important; - text-align: center; - vertical-align: middle; - width: 16px; - min-width: 16px; - -webkit-appearance: none; - -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 ); - -webkit-transition: .05s border-color ease-in-out; - transition: .05s border-color ease-in-out; -} - -input[type="radio"]:checked + label:before { - color: #888; -} - -.wp-core-ui input[type="reset"]:hover, -.wp-core-ui input[type="reset"]:active { - color: #2ea2cc; -} - -td > input[type="checkbox"], -.wp-admin p input[type="checkbox"], -.wp-admin p input[type="radio"] { - margin-top: 0; -} - -.wp-admin p label input[type="checkbox"] { - margin-top: -4px; -} - -.wp-admin p label input[type="radio"] { - margin-top: -2px; -} - -input[type="radio"] { - -webkit-border-radius: 50%; - border-radius: 50%; - margin-left: 4px; - line-height: 10px; -} - -input[type="checkbox"]:checked:before, -input[type="radio"]:checked:before { - float: right; - display: inline-block; - vertical-align: middle; - width: 16px; - font: normal 21px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -input[type="checkbox"]:checked:before { - content: '\f147'; - margin: -3px -4px 0 0; - color: #1e8cbe; -} - -input[type="radio"]:checked:before { - content: '\2022'; - text-indent: -9999px; - -webkit-border-radius: 50px; - border-radius: 50px; - font-size: 24px; - width: 6px; - height: 6px; - margin: 4px; - line-height: 16px; - background-color: #1e8cbe; -} - -@-moz-document url-prefix() { - input[type="checkbox"], - input[type="radio"], - .form-table input.tog { - margin-bottom: -1px; - } -} - -/* Search */ -input[type="search"] { - -webkit-appearance: textfield; -} - -input[type="search"]::-webkit-search-decoration { - display: none; -} - -.ie8 input[type="password"] { - font-family: sans-serif; -} - -textarea, -input, -select, -button { - font-family: inherit; - font-size: inherit; - font-weight: inherit; -} - -textarea, -input, -select { - font-size: 14px; - padding: 3px 5px; - -webkit-border-radius: 0; - border-radius: 0; /* Reset mobile webkit's default element styling */ -} - -textarea { - overflow: auto; - padding: 2px 6px; - line-height: 1.4; -} - -.wp-admin input[type="file"] { - padding: 3px 0; -} - -label { - cursor: pointer; -} - -input, -select { - margin: 1px; - padding: 3px 5px; -} - -input.code { - padding-top: 6px; -} - -textarea.code { - line-height: 1.4; - padding: 4px 6px 1px 6px; -} - -input.readonly, -input[readonly], -textarea.readonly, -textarea[readonly] { - background-color: #eee; -} - -:-moz-placeholder, -.wp-core-ui :-moz-placeholder { - color: #a9a9a9; -} - -.form-invalid { - background-color: #ffebe8 !important; -} - -.form-invalid input, -.form-invalid select { - border-color: #c00 !important; -} - -.form-input-tip { - color: #666; -} - -input:disabled, -input.disabled, -select:disabled, -select.disabled, -textarea:disabled, -textarea.disabled { - background: rgba( 255, 255, 255, 0.5 ); - border-color: rgba( 222, 222, 222, 0.75 ); - -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 ); - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 ); - color: rgba( 51, 51, 51, 0.5 ); -} - -input[type="file"]:disabled, -input[type="file"].disabled, -input[type="range"]:disabled, -input[type="range"].disabled { - background: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -input[type="checkbox"]:disabled, -input[type="checkbox"].disabled, -input[type="radio"]:disabled, -input[type="radio"].disabled, -input[type="checkbox"]:disabled:checked:before, -input[type="checkbox"].disabled:checked:before, -input[type="radio"]:disabled:checked:before, -input[type="radio"].disabled:checked:before { - opacity: 0.7; -} - -/*------------------------------------------------------------------------------ - 2.0 - Forms -------------------------------------------------------------------------------*/ - - -.wp-admin select { - padding: 2px; - line-height: 28px; - height: 28px; - vertical-align: middle; -} - -.wp-admin .button-cancel { - padding: 0 5px; - line-height: 2; -} - -.meta-box-sortables select { - max-width: 100%; -} - -.wp-admin select[multiple] { - height: auto; -} - -.submit { - padding: 1.5em 0; - margin: 5px 0; - -webkit-border-bottom-right-radius: 3px; - border-bottom-right-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - border-bottom-left-radius: 3px; - border: none; -} - -form p.submit a.cancel:hover { - text-decoration: none; -} - -p.submit { - text-align: right; - max-width: 100%; - margin-top: 20px; - padding-top: 10px; -} - -.textright p.submit { - border: none; - text-align: left; -} - -table.form-table + p.submit, -table.form-table + input + p.submit, -table.form-table + input + input + p.submit { - border-top: none; - padding-top: 0; -} - -#minor-publishing-actions input, -#major-publishing-actions input, -#minor-publishing-actions .preview { - text-align: center; -} - -textarea.all-options, -input.all-options { - width: 250px; -} - -input.large-text, -textarea.large-text { - width: 99%; -} - -input.regular-text, -#adduser .form-field input { - width: 25em; -} - -input.small-text { - width: 50px; - padding: 1px 6px; -} - -input[type="number"].small-text { - width: 65px; -} - -#doaction, -#doaction2, -#post-query-submit { - margin: 1px 0 0 8px; -} - -.tablenav #changeit, -.tablenav #delete_all, -.tablenav #clear-recent-list, -.wp-filter #delete_all { - margin-top: 1px; -} - -.tablenav .actions select { - float: right; - margin-left: 6px; - max-width: 200px; -} - -.ie8 .tablenav .actions select { - width: 155px; -} - -.ie8 .tablenav .actions select#cat { - width: 200px; -} - -#timezone_string option { - margin-right: 1em; -} - -#upload-form label { - color: #777; -} - -label, -#your-profile label + a { - vertical-align: middle; -} - -fieldset label, -#your-profile label + a { - vertical-align: middle; -} - -.options-media-php label[for*="_size_"], -#misc-publishing-actions label { - vertical-align: baseline; -} - -#misc-publishing-actions label[for="post_status"]:before { - content: '\f173'; - display: inline-block; - font: normal 20px/1 'dashicons'; - speak: none; - right: -1px; - padding: 0 0 0 5px; - position: relative; - top: 0; - text-decoration: none !important; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#pass-strength-result { - background-color: #eee; - border: 1px solid #ddd; - float: right; - margin: 13px 1px 5px 5px; - padding: 3px 5px; - text-align: center; - width: 200px; - display: none; -} - -#pass-strength-result.short { - background-color: #ffa0a0; - border-color: #f04040; -} - -#pass-strength-result.bad { - background-color: #ffb78c; - border-color: #ff853c; -} - -#pass-strength-result.good { - background-color: #ffec8b; - border-color: #fc0; -} - -#pass-strength-result.strong { - background-color: #c3ff88; - border-color: #8dff1c; -} - -.indicator-hint { - padding-top: 8px; -} - -p.search-box { - float: left; - margin: 0; -} - -.network-admin.themes-php p.search-box { - clear: right; -} - -.search-box input[name="s"], -.tablenav .search-plugins input[name="s"], -.tagsdiv .newtag { - float: right; - height: 28px; - margin: 0 0 0 4px; -} - -input[type="text"].ui-autocomplete-loading { - background: transparent url(../images/loading.gif) no-repeat left center; - visibility: visible; -} - -ul#add-to-blog-users { - margin: 0 14px 0 0; -} - -.ui-autocomplete-input.open { - -webkit-border-bottom-left-radius: 0; - border-bottom-left-radius: 0; - -webkit-border-bottom-right-radius: 0; - border-bottom-right-radius: 0; -} - -.ui-autocomplete { - padding: 0; - margin: 0; - list-style: none; - position: absolute; - z-index: 10000; - -webkit-border-bottom-left-radius: 3px; - border-bottom-left-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - border-bottom-right-radius: 3px; - border: 1px solid #aaa; - background-color: #efefef; -} - -.ui-autocomplete li { - margin-bottom: 0; - white-space: nowrap; - text-align: right; -} - -.ui-autocomplete li a { - display: block; - height: 100%; - padding: 4px 10px; - color: #444; -} - -.ui-autocomplete li a.ui-state-focus { - background-color: #ddd; - cursor: pointer; -} - -/*------------------------------------------------------------------------------ - 15.0 - Comments Screen -------------------------------------------------------------------------------*/ - -.form-table { - border-collapse: collapse; - margin-top: 0.5em; - width: 100%; - clear: both; -} - -.form-table, -.form-table td, -.form-table th, -.form-table td p, -.form-wrap label { - font-size: 14px; -} - -.form-table td { - margin-bottom: 9px; - padding: 15px 10px; - line-height: 1.3; - vertical-align: middle; -} - -.form-table th, -.form-wrap label { - color: #222; - font-weight: normal; - text-shadow: none; - vertical-align: baseline; -} - -.form-table th { - vertical-align: top; - text-align: right; - padding: 20px 0 20px 10px; - width: 200px; - line-height: 1.3; - font-weight: 600; -} - -.form-table th.th-full { - width: auto; - font-weight: 400; -} - -.form-table td p { - margin-top: 4px; - margin-bottom: 0; -} - -.form-table td fieldset label { - margin: 0.25em 0 0.5em !important; - display: inline-block; -} - -.form-table td fieldset label, -.form-table td fieldset p, -.form-table td fieldset li { - line-height: 1.4em; -} - -.form-table input.tog, -.form-table input[type="radio"] { - margin-top: -4px; - margin-left: 4px; - float: none; -} - -.form-table .pre { - padding: 8px; - margin: 0; -} - -table.form-table td .updated { - font-size: 13px; -} - -/*------------------------------------------------------------------------------ - 18.0 - Users -------------------------------------------------------------------------------*/ - -#profile-page .form-table textarea { - width: 500px; - margin-bottom: 6px; -} - -#profile-page .form-table #rich_editing { - margin-left: 5px -} - -#your-profile legend { - font-size: 22px; -} - -#display_name { - width: 15em; -} - -#createuser .form-field input { - width: 25em; -} - -.color-option { - display: inline-block; - width: 24%; - padding: 5px 15px 15px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin-bottom: 3px; -} - -.color-option:hover, -.color-option.selected { - background: #ddd; -} - -.color-palette { - width: 100%; - border-spacing: 0; - border-collapse: collapse; -} -.color-palette td { - height: 20px; - padding: 0; - border: none; -} - -.color-option { - cursor: pointer; -} - -/*------------------------------------------------------------------------------ - 19.0 - Tools -------------------------------------------------------------------------------*/ - -.tool-box .title { - margin: 8px 0; - font-size: 18px; - font-weight: normal; - line-height: 24px; -} - -.pressthis { - margin: 20px 0; -} - -.pressthis a, -.pressthis a:hover, -.pressthis a:focus, -.pressthis a:active { - display: inline-block; - position: relative; - cursor: move; - color: #333; - background: #e6e6e6; - -webkit-border-radius: 5px; - border-radius: 5px; - border: 1px solid #b4b4b4; - font-style: normal; - line-height: 16px; - font-size: 14px; - text-decoration: none; -} - -.pressthis a:active { - outline: none; -} - -.pressthis a:hover:after { - -webkit-transform: skew(20deg) rotate(9deg); - -ms-transform: skew(20deg) rotate(9deg); - transform: skew(20deg) rotate(9deg); - -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); - box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); -} - -.pressthis a span { - display: inline-block; - margin: 0px 0 0; - padding: 0px 9px 8px 12px; -} - -.pressthis a span:before { - color: #777; - font: normal 20px/1 'dashicons'; - content:'\f157'; - position: relative; - display: inline-block; - top: 4px; - margin-left: 4px; -} - -.pressthis a:after { - content: ''; - width: 70%; - height: 55%; - z-index: -1; - position: absolute; - left: 10px; - bottom: 9px; - background: transparent; - -webkit-transform: skew(20deg) rotate(6deg); - -ms-transform: skew(20deg) rotate(6deg); - transform: skew(20deg) rotate(6deg); - -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); - box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); -} - -/*------------------------------------------------------------------------------ - 20.0 - Settings -------------------------------------------------------------------------------*/ - -#utc-time, #local-time { - padding-right: 25px; - font-style: italic; -} - -.defaultavatarpicker .avatar { - margin: 2px 0; - vertical-align: middle; -} - -.options-general-php .spinner { - float: none; - margin: -3px 3px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and ( max-width: 782px ) { - /* Input Elements */ - textarea { - -webkit-appearance: none; - } - - input[type=text], input[type="search"], - input[type=password], input[type="number"] { - -webkit-appearance: none; - padding: 6px 10px; - } - - input.code { - padding-bottom: 5px; - padding-top: 10px; - } - - input[type="checkbox"], .widefat th input[type="checkbox"] { - -webkit-appearance: none; - padding: 10px; - } - - .widefat th input[type="checkbox"] { - margin-bottom: 8px; - } - - input[type="checkbox"]:checked:before, .widefat th input[type="checkbox"]:before { - font: normal 30px/1 'Dashicons'; - margin: -3px -5px; - } - - input[type="radio"], - input[type="checkbox"] { - height: 25px; - width: 25px; - } - - .wp-admin p input[type="checkbox"], - .wp-admin p input[type="radio"] { - margin-top: -3px; - } - - input[type="radio"]:checked:before { - vertical-align: middle; - width: 9px; - height: 9px; - margin: 7px; - line-height: 16px; - } - - .wp-upload-form input[type="submit"] { - margin-top: 10px; - } - - #wpbody select { - height: 36px; - font-size: 16px; - } - - .wp-admin .button-cancel { - padding: 0; - font-size: 14px; - } - - #createuser .form-field input { - width: 100%; - } - - .form-table { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - - .form-table th, - .form-table td { - display: block; - width: auto; - vertical-align: middle; - } - - .form-table .color-palette td { - display: table-cell; - width: 15px; - } - - .form-table table.color-palette { - margin-left: 10px; - } - - textarea, - input { - font-size: 16px; - } - - .form-table td input[type="text"], - .form-table td input[type="password"], - .form-table td select, - .form-table td textarea, - .form-table span.description, - #profile-page .form-table textarea { - width: 100%; - font-size: 16px; - line-height: 1.5; - padding: 7px 10px; - display: block; - max-width: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - - #wpbody .form-table td select { - height: 40px; - } - - input[type="text"].small-text, - input[type="search"].small-text, - input[type="password"].small-text, - input[type="number"].small-text, - input[type="number"].small-text, - .form-table input[type="text"].small-text { - width: auto; - max-width: 55px; - display: inline; - padding: 3px 6px; - margin: 0 3px; - } - - #pass-strength-result { - width: 100%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 8px; - } - - p.search-box { - float: none; - position: absolute; - bottom: 0; - width: 98%; - height: 90px; - margin-bottom: 20px; - } - - p.search-box input[name="s"] { - height: auto; - float: none; - width: 100%; - margin-bottom: 10px; - vertical-align: middle; - -webkit-appearance: none; - } - - p.search-box input[type="submit"] { - margin-bottom: 10px; - } - - .form-table span.description { - padding: 4px 0 0; - line-height: 1.4em; - } - - .form-table th { - padding-top: 10px; - padding-bottom: 0; - border-bottom: 0; - } - - .form-table td { - padding-top: 8px; - padding-right: 0; - } - - .form-table input.regular-text { - width: 100%; - } - - .form-table label { - font-size: 14px; - } - - .form-table fieldset label { - display: block; - } - - #utc-time { - margin-top: 10px; - } - - #utc-time, - #local-time { - display: block; - float: none; - padding: 0; - line-height: 2; - } -} - -@media only screen and (max-width: 768px) { - .form-field input, - .form-field textarea { - width: 99%; - } - - .form-wrap .form-field { - padding:0; - } - - /* users */ - #profile-page .form-table textarea { - max-width: 400px; - width: auto; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Color Picker Options */ - .color-option { - width: 49%; - } -} - diff --git a/sources/wordpress/wp-admin/css/forms.css b/sources/wordpress/wp-admin/css/forms.css deleted file mode 100644 index b80f98a..0000000 --- a/sources/wordpress/wp-admin/css/forms.css +++ /dev/null @@ -1,992 +0,0 @@ -/* Include margin and padding in the width calculation of input and textarea. */ -input, -textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -input[type="text"], -input[type="password"], -input[type="checkbox"], -input[type="color"], -input[type="date"], -input[type="datetime"], -input[type="datetime-local"], -input[type="email"], -input[type="month"], -input[type="number"], -input[type="password"], -input[type="search"], -input[type="radio"], -input[type="tel"], -input[type="text"], -input[type="time"], -input[type="url"], -input[type="week"], -select, -textarea { - border: 1px solid #ddd; - -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); - background-color: #fff; - color: #333; - outline: none; - -webkit-transition: 0.05s border-color ease-in-out; - transition: 0.05s border-color ease-in-out; -} - -input[type="text"]:focus, -input[type="password"]:focus, -input[type="color"]:focus, -input[type="date"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="email"]:focus, -input[type="month"]:focus, -input[type="number"]:focus, -input[type="password"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="text"]:focus, -input[type="time"]:focus, -input[type="url"]:focus, -input[type="week"]:focus, -input[type="checkbox"]:focus, -input[type="radio"]:focus, -select:focus, -textarea:focus { - border-color: #5b9dd9; - -webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); -} - -/* @noflip */ -input[type="email"], -input[type="url"] { - direction: ltr; -} - -input[type="checkbox"], -input[type="radio"] { - border: 1px solid #bbb; - background: #fff; - color: #555; - clear: none; - cursor: pointer; - display: inline-block; - line-height: 0; - height: 16px; - margin: -4px 4px 0 0; - outline: 0; - padding: 0 !important; - text-align: center; - vertical-align: middle; - width: 16px; - min-width: 16px; - -webkit-appearance: none; - -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 ); - -webkit-transition: .05s border-color ease-in-out; - transition: .05s border-color ease-in-out; -} - -input[type="radio"]:checked + label:before { - color: #888; -} - -.wp-core-ui input[type="reset"]:hover, -.wp-core-ui input[type="reset"]:active { - color: #2ea2cc; -} - -td > input[type="checkbox"], -.wp-admin p input[type="checkbox"], -.wp-admin p input[type="radio"] { - margin-top: 0; -} - -.wp-admin p label input[type="checkbox"] { - margin-top: -4px; -} - -.wp-admin p label input[type="radio"] { - margin-top: -2px; -} - -input[type="radio"] { - -webkit-border-radius: 50%; - border-radius: 50%; - margin-right: 4px; - line-height: 10px; -} - -input[type="checkbox"]:checked:before, -input[type="radio"]:checked:before { - float: left; - display: inline-block; - vertical-align: middle; - width: 16px; - font: normal 21px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -input[type="checkbox"]:checked:before { - content: '\f147'; - margin: -3px 0 0 -4px; - color: #1e8cbe; -} - -input[type="radio"]:checked:before { - content: '\2022'; - text-indent: -9999px; - -webkit-border-radius: 50px; - border-radius: 50px; - font-size: 24px; - width: 6px; - height: 6px; - margin: 4px; - line-height: 16px; - background-color: #1e8cbe; -} - -@-moz-document url-prefix() { - input[type="checkbox"], - input[type="radio"], - .form-table input.tog { - margin-bottom: -1px; - } -} - -/* Search */ -input[type="search"] { - -webkit-appearance: textfield; -} - -input[type="search"]::-webkit-search-decoration { - display: none; -} - -.ie8 input[type="password"] { - font-family: sans-serif; -} - -textarea, -input, -select, -button { - font-family: inherit; - font-size: inherit; - font-weight: inherit; -} - -textarea, -input, -select { - font-size: 14px; - padding: 3px 5px; - -webkit-border-radius: 0; - border-radius: 0; /* Reset mobile webkit's default element styling */ -} - -textarea { - overflow: auto; - padding: 2px 6px; - line-height: 1.4; -} - -.wp-admin input[type="file"] { - padding: 3px 0; -} - -label { - cursor: pointer; -} - -input, -select { - margin: 1px; - padding: 3px 5px; -} - -input.code { - padding-top: 6px; -} - -textarea.code { - line-height: 1.4; - padding: 4px 6px 1px 6px; -} - -input.readonly, -input[readonly], -textarea.readonly, -textarea[readonly] { - background-color: #eee; -} - -:-moz-placeholder, -.wp-core-ui :-moz-placeholder { - color: #a9a9a9; -} - -.form-invalid { - background-color: #ffebe8 !important; -} - -.form-invalid input, -.form-invalid select { - border-color: #c00 !important; -} - -.form-input-tip { - color: #666; -} - -input:disabled, -input.disabled, -select:disabled, -select.disabled, -textarea:disabled, -textarea.disabled { - background: rgba( 255, 255, 255, 0.5 ); - border-color: rgba( 222, 222, 222, 0.75 ); - -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 ); - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 ); - color: rgba( 51, 51, 51, 0.5 ); -} - -input[type="file"]:disabled, -input[type="file"].disabled, -input[type="range"]:disabled, -input[type="range"].disabled { - background: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -input[type="checkbox"]:disabled, -input[type="checkbox"].disabled, -input[type="radio"]:disabled, -input[type="radio"].disabled, -input[type="checkbox"]:disabled:checked:before, -input[type="checkbox"].disabled:checked:before, -input[type="radio"]:disabled:checked:before, -input[type="radio"].disabled:checked:before { - opacity: 0.7; -} - -/*------------------------------------------------------------------------------ - 2.0 - Forms -------------------------------------------------------------------------------*/ - - -.wp-admin select { - padding: 2px; - line-height: 28px; - height: 28px; - vertical-align: middle; -} - -.wp-admin .button-cancel { - padding: 0 5px; - line-height: 2; -} - -.meta-box-sortables select { - max-width: 100%; -} - -.wp-admin select[multiple] { - height: auto; -} - -.submit { - padding: 1.5em 0; - margin: 5px 0; - -webkit-border-bottom-left-radius: 3px; - border-bottom-left-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - border-bottom-right-radius: 3px; - border: none; -} - -form p.submit a.cancel:hover { - text-decoration: none; -} - -p.submit { - text-align: left; - max-width: 100%; - margin-top: 20px; - padding-top: 10px; -} - -.textright p.submit { - border: none; - text-align: right; -} - -table.form-table + p.submit, -table.form-table + input + p.submit, -table.form-table + input + input + p.submit { - border-top: none; - padding-top: 0; -} - -#minor-publishing-actions input, -#major-publishing-actions input, -#minor-publishing-actions .preview { - text-align: center; -} - -textarea.all-options, -input.all-options { - width: 250px; -} - -input.large-text, -textarea.large-text { - width: 99%; -} - -input.regular-text, -#adduser .form-field input { - width: 25em; -} - -input.small-text { - width: 50px; - padding: 1px 6px; -} - -input[type="number"].small-text { - width: 65px; -} - -#doaction, -#doaction2, -#post-query-submit { - margin: 1px 8px 0 0; -} - -.tablenav #changeit, -.tablenav #delete_all, -.tablenav #clear-recent-list, -.wp-filter #delete_all { - margin-top: 1px; -} - -.tablenav .actions select { - float: left; - margin-right: 6px; - max-width: 200px; -} - -.ie8 .tablenav .actions select { - width: 155px; -} - -.ie8 .tablenav .actions select#cat { - width: 200px; -} - -#timezone_string option { - margin-left: 1em; -} - -#upload-form label { - color: #777; -} - -label, -#your-profile label + a { - vertical-align: middle; -} - -fieldset label, -#your-profile label + a { - vertical-align: middle; -} - -.options-media-php label[for*="_size_"], -#misc-publishing-actions label { - vertical-align: baseline; -} - -#misc-publishing-actions label[for="post_status"]:before { - content: '\f173'; - display: inline-block; - font: normal 20px/1 'dashicons'; - speak: none; - left: -1px; - padding: 0 5px 0 0; - position: relative; - top: 0; - text-decoration: none !important; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#pass-strength-result { - background-color: #eee; - border: 1px solid #ddd; - float: left; - margin: 13px 5px 5px 1px; - padding: 3px 5px; - text-align: center; - width: 200px; - display: none; -} - -#pass-strength-result.short { - background-color: #ffa0a0; - border-color: #f04040; -} - -#pass-strength-result.bad { - background-color: #ffb78c; - border-color: #ff853c; -} - -#pass-strength-result.good { - background-color: #ffec8b; - border-color: #fc0; -} - -#pass-strength-result.strong { - background-color: #c3ff88; - border-color: #8dff1c; -} - -.indicator-hint { - padding-top: 8px; -} - -p.search-box { - float: right; - margin: 0; -} - -.network-admin.themes-php p.search-box { - clear: left; -} - -.search-box input[name="s"], -.tablenav .search-plugins input[name="s"], -.tagsdiv .newtag { - float: left; - height: 28px; - margin: 0 4px 0 0; -} - -input[type="text"].ui-autocomplete-loading { - background: transparent url(../images/loading.gif) no-repeat right center; - visibility: visible; -} - -ul#add-to-blog-users { - margin: 0 0 0 14px; -} - -.ui-autocomplete-input.open { - -webkit-border-bottom-right-radius: 0; - border-bottom-right-radius: 0; - -webkit-border-bottom-left-radius: 0; - border-bottom-left-radius: 0; -} - -.ui-autocomplete { - padding: 0; - margin: 0; - list-style: none; - position: absolute; - z-index: 10000; - -webkit-border-bottom-right-radius: 3px; - border-bottom-right-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - border-bottom-left-radius: 3px; - border: 1px solid #aaa; - background-color: #efefef; -} - -.ui-autocomplete li { - margin-bottom: 0; - white-space: nowrap; - text-align: left; -} - -.ui-autocomplete li a { - display: block; - height: 100%; - padding: 4px 10px; - color: #444; -} - -.ui-autocomplete li a.ui-state-focus { - background-color: #ddd; - cursor: pointer; -} - -/*------------------------------------------------------------------------------ - 15.0 - Comments Screen -------------------------------------------------------------------------------*/ - -.form-table { - border-collapse: collapse; - margin-top: 0.5em; - width: 100%; - clear: both; -} - -.form-table, -.form-table td, -.form-table th, -.form-table td p, -.form-wrap label { - font-size: 14px; -} - -.form-table td { - margin-bottom: 9px; - padding: 15px 10px; - line-height: 1.3; - vertical-align: middle; -} - -.form-table th, -.form-wrap label { - color: #222; - font-weight: normal; - text-shadow: none; - vertical-align: baseline; -} - -.form-table th { - vertical-align: top; - text-align: left; - padding: 20px 10px 20px 0; - width: 200px; - line-height: 1.3; - font-weight: 600; -} - -.form-table th.th-full { - width: auto; - font-weight: 400; -} - -.form-table td p { - margin-top: 4px; - margin-bottom: 0; -} - -.form-table td fieldset label { - margin: 0.25em 0 0.5em !important; - display: inline-block; -} - -.form-table td fieldset label, -.form-table td fieldset p, -.form-table td fieldset li { - line-height: 1.4em; -} - -.form-table input.tog, -.form-table input[type="radio"] { - margin-top: -4px; - margin-right: 4px; - float: none; -} - -.form-table .pre { - padding: 8px; - margin: 0; -} - -table.form-table td .updated { - font-size: 13px; -} - -/*------------------------------------------------------------------------------ - 18.0 - Users -------------------------------------------------------------------------------*/ - -#profile-page .form-table textarea { - width: 500px; - margin-bottom: 6px; -} - -#profile-page .form-table #rich_editing { - margin-right: 5px -} - -#your-profile legend { - font-size: 22px; -} - -#display_name { - width: 15em; -} - -#createuser .form-field input { - width: 25em; -} - -.color-option { - display: inline-block; - width: 24%; - padding: 5px 15px 15px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin-bottom: 3px; -} - -.color-option:hover, -.color-option.selected { - background: #ddd; -} - -.color-palette { - width: 100%; - border-spacing: 0; - border-collapse: collapse; -} -.color-palette td { - height: 20px; - padding: 0; - border: none; -} - -.color-option { - cursor: pointer; -} - -/*------------------------------------------------------------------------------ - 19.0 - Tools -------------------------------------------------------------------------------*/ - -.tool-box .title { - margin: 8px 0; - font-size: 18px; - font-weight: normal; - line-height: 24px; -} - -.pressthis { - margin: 20px 0; -} - -.pressthis a, -.pressthis a:hover, -.pressthis a:focus, -.pressthis a:active { - display: inline-block; - position: relative; - cursor: move; - color: #333; - background: #e6e6e6; - -webkit-border-radius: 5px; - border-radius: 5px; - border: 1px solid #b4b4b4; - font-style: normal; - line-height: 16px; - font-size: 14px; - text-decoration: none; -} - -.pressthis a:active { - outline: none; -} - -.pressthis a:hover:after { - -webkit-transform: skew(20deg) rotate(9deg); - -ms-transform: skew(20deg) rotate(9deg); - transform: skew(20deg) rotate(9deg); - -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); - box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); -} - -.pressthis a span { - display: inline-block; - margin: 0px 0 0; - padding: 0px 12px 8px 9px; -} - -.pressthis a span:before { - color: #777; - font: normal 20px/1 'dashicons'; - content:'\f157'; - position: relative; - display: inline-block; - top: 4px; - margin-right: 4px; -} - -.pressthis a:after { - content: ''; - width: 70%; - height: 55%; - z-index: -1; - position: absolute; - right: 10px; - bottom: 9px; - background: transparent; - -webkit-transform: skew(20deg) rotate(6deg); - -ms-transform: skew(20deg) rotate(6deg); - transform: skew(20deg) rotate(6deg); - -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); - box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); -} - -/*------------------------------------------------------------------------------ - 20.0 - Settings -------------------------------------------------------------------------------*/ - -#utc-time, #local-time { - padding-left: 25px; - font-style: italic; -} - -.defaultavatarpicker .avatar { - margin: 2px 0; - vertical-align: middle; -} - -.options-general-php .spinner { - float: none; - margin: -3px 3px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and ( max-width: 782px ) { - /* Input Elements */ - textarea { - -webkit-appearance: none; - } - - input[type=text], input[type="search"], - input[type=password], input[type="number"] { - -webkit-appearance: none; - padding: 6px 10px; - } - - input.code { - padding-bottom: 5px; - padding-top: 10px; - } - - input[type="checkbox"], .widefat th input[type="checkbox"] { - -webkit-appearance: none; - padding: 10px; - } - - .widefat th input[type="checkbox"] { - margin-bottom: 8px; - } - - input[type="checkbox"]:checked:before, .widefat th input[type="checkbox"]:before { - font: normal 30px/1 'Dashicons'; - margin: -3px -5px; - } - - input[type="radio"], - input[type="checkbox"] { - height: 25px; - width: 25px; - } - - .wp-admin p input[type="checkbox"], - .wp-admin p input[type="radio"] { - margin-top: -3px; - } - - input[type="radio"]:checked:before { - vertical-align: middle; - width: 9px; - height: 9px; - margin: 7px; - line-height: 16px; - } - - .wp-upload-form input[type="submit"] { - margin-top: 10px; - } - - #wpbody select { - height: 36px; - font-size: 16px; - } - - .wp-admin .button-cancel { - padding: 0; - font-size: 14px; - } - - #createuser .form-field input { - width: 100%; - } - - .form-table { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - - .form-table th, - .form-table td { - display: block; - width: auto; - vertical-align: middle; - } - - .form-table .color-palette td { - display: table-cell; - width: 15px; - } - - .form-table table.color-palette { - margin-right: 10px; - } - - textarea, - input { - font-size: 16px; - } - - .form-table td input[type="text"], - .form-table td input[type="password"], - .form-table td select, - .form-table td textarea, - .form-table span.description, - #profile-page .form-table textarea { - width: 100%; - font-size: 16px; - line-height: 1.5; - padding: 7px 10px; - display: block; - max-width: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - - #wpbody .form-table td select { - height: 40px; - } - - input[type="text"].small-text, - input[type="search"].small-text, - input[type="password"].small-text, - input[type="number"].small-text, - input[type="number"].small-text, - .form-table input[type="text"].small-text { - width: auto; - max-width: 55px; - display: inline; - padding: 3px 6px; - margin: 0 3px; - } - - #pass-strength-result { - width: 100%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 8px; - } - - p.search-box { - float: none; - position: absolute; - bottom: 0; - width: 98%; - height: 90px; - margin-bottom: 20px; - } - - p.search-box input[name="s"] { - height: auto; - float: none; - width: 100%; - margin-bottom: 10px; - vertical-align: middle; - -webkit-appearance: none; - } - - p.search-box input[type="submit"] { - margin-bottom: 10px; - } - - .form-table span.description { - padding: 4px 0 0; - line-height: 1.4em; - } - - .form-table th { - padding-top: 10px; - padding-bottom: 0; - border-bottom: 0; - } - - .form-table td { - padding-top: 8px; - padding-left: 0; - } - - .form-table input.regular-text { - width: 100%; - } - - .form-table label { - font-size: 14px; - } - - .form-table fieldset label { - display: block; - } - - #utc-time { - margin-top: 10px; - } - - #utc-time, - #local-time { - display: block; - float: none; - padding: 0; - line-height: 2; - } -} - -@media only screen and (max-width: 768px) { - .form-field input, - .form-field textarea { - width: 99%; - } - - .form-wrap .form-field { - padding:0; - } - - /* users */ - #profile-page .form-table textarea { - max-width: 400px; - width: auto; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Color Picker Options */ - .color-option { - width: 49%; - } -} - diff --git a/sources/wordpress/wp-admin/css/ie-rtl.css b/sources/wordpress/wp-admin/css/ie-rtl.css deleted file mode 100644 index 590d44e..0000000 --- a/sources/wordpress/wp-admin/css/ie-rtl.css +++ /dev/null @@ -1,785 +0,0 @@ -/* Fixes for IE 7 bugs */ - -#dashboard-widgets form .input-text-wrap input, -#dashboard-widgets form .textarea-wrap textarea { - width: 99%; -} - -#dashboard-widgets form #title { - width: 98%; -} - -#wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; -} - -#wpbody-content #dashboard-widgets #postbox-container-2, -#wpbody-content #dashboard-widgets #postbox-container-3, -#wpbody-content #dashboard-widgets #postbox-container-4 { - float: left; - width: 50.5%; -} - -#dashboard-widgets #postbox-container-3 .empty-container, -#dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; -} - -.wp-editor-wrap .wp-editor-tools, -.wp-editor-wrap .wp-switch-editor, -.wp-editor-wrap .wp-editor-tabs, -.wp-editor-wrap .wp-editor-container { - zoom: 100%; -} - -.wp-editor-wrap .wp-editor-container textarea.wp-editor-area { - width: 97%; -} - -#post-body.columns-2 #postbox-container-1 { - padding-right: 19px; -} - -.welcome-panel .wp-badge { - position: absolute; -} - -.welcome-panel .welcome-panel-column:first-child { - width: 35%; -} - -.wp-fullscreen-title { - width: 97%; -} - -#wp_mce_fullscreen_ifr { - background-color: #f9f9f9; -} - -#wp-fullscreen-tagline { - color: #888; - font-size: 14px; -} - -#adminmenuback { - right: 0; - background-image: none; -} - -#adminmenuwrap { - position: static; -} - -#adminmenu { - position: relative; -} - -#adminmenu, -#adminmenu a { - cursor: pointer; -} - -#adminmenu li.wp-menu-separator, -#adminmenu li.wp-menu-separator-last { - font-size: 1px; - line-height: 1; -} - -#adminmenu a.menu-top { - border-bottom: 0 none; - border-top: 1px solid #ddd; -} - -#adminmenu .separator { - font-size: 1px; - line-height: 1px; -} - -#adminmenu .wp-submenu { - right: 110px; -} - -#adminmenu .wp-submenu ul { - margin: 0; -} - -.folded #wpcontent, -.folded #wpfooter { - margin-right: 170px; -} - -.folded #adminmenuback, -.folded #adminmenuwrap, -.folded #adminmenu, -.folded #adminmenu li.menu-top { - width: 150px; -} - -.folded #adminmenu .wp-submenu { - border-top-color: transparent; -} - -.folded #adminmenu .wp-menu-name { - display: block; -} - -.folded #adminmenu .wp-submenu.sub-open, -.folded #adminmenu .opensub .wp-submenu { - right: 110px; -} - -.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - top: -1px; - position: relative; -} - -.folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { - background-color: transparent; -} - -#adminmenu .wp-submenu .wp-submenu-head { - border-top-color: #ddd; -} - -.folded #adminmenu .wp-submenu ul { - margin-right: 5px; -} - -#adminmenu li.menu-top { - margin-bottom: -2px; -} - -#adminmenu .wp-menu-arrow { - display: none !important; -} - -.js.folded #adminmenu li.menu-top { - display: block; - zoom: 100%; -} - -ul#adminmenu { - z-index: 99; -} - -#adminmenu li.menu-top a.menu-top { - min-width: auto; - width: auto; -} - -#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu { - font-style: normal; -} - -#wpcontent #adminmenu .wp-submenu li { - padding: 0; -} - -#adminmenu li.wp-has-current-submenu .wp-submenu { - right: -40px; -} - -#adminmenu .wp-menu-image { - display: none !important; -} - -#adminmenu a.menu-top .wp-menu-name { - padding-right: 8px; -} - -#collapse-menu { - line-height: 23px; -} - -#wpadminbar .ab-comments-icon { - padding-top: 7px; -} - - -.theme-browser .theme { - width: 30%; - margin: 0 0 4% 3%; - cursor: auto; -} - -.theme-browser .theme:hover, -.theme-browser .theme:focus { - cursor: auto; -} - -.theme-browser .theme .theme-screenshot { - height: 180px; -} - -.theme-browser .theme .theme-actions { - position: static; - background-color: #e8e8e8; -} - -.theme-browser .theme .more-details { - display: none; -} - -.plugins td, -.plugins th { - border-top: 1px solid #ddd; -} - -table.fixed th, -table.fixed td { - border-top: 1px solid #ddd; -} - -#wpbody-content input.button, -#wpbody-content input.button-primary, -#wpbody-content input.button-secondary { - overflow: visible; -} - -#dashboard-widgets h3 a { - height: 14px; - line-height: 14px; -} - -#dashboard_browser_nag { - color: #fff; -} - -#dashboard_browser_nag .browser-icon { - position: relative; -} - -.tablenav-pages .current-page { - vertical-align: middle; -} - -#wpbody-content .postbox { - border: 1px solid #dfdfdf; -} - -#wpbody-content .postbox .hndle { - margin-bottom: -1px; -} - -.major-publishing-actions, -.wp-submenu, -.wp-submenu li, -#template, -#template div, -#editcat, -#addcat { - zoom: 100%; -} - -.wp-menu-arrow { - height: 28px; -} - -.submitbox { - margin-top: 10px; -} - -/* Inline Editor */ -#wpbody-content .quick-edit-row-post .inline-edit-col-left { - width: 39%; -} - -#wpbody-content .inline-edit-row-post .inline-edit-col-center { - width: 19%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-left { - width: 49%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-left { - width: 29%; -} - -.inline-edit-row p.submit { - zoom: 100%; -} - -.inline-edit-row fieldset label span.title { - display: block; - float: right; - width: 5em; -} - -.inline-edit-row fieldset label span.input-text-wrap { - margin-right: 0; - zoom: 100%; -} - -#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input { - line-height: 130%; -} - -#wpbody-content .inline-edit-row .input-text-wrap input { - width: 95%; -} - -#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input { - width: 8em; -} -/* end Inline Editor */ - -#titlediv #title { - width: 98%; -} - -.button, -input[type="reset"], -input[type="button"], -input[type="submit"] { - padding: 0 8px; - line-height: 20px; - height: auto; -} - -.button.button-large, -input[type="reset"].button-large, -input[type="button"].button-large, -input[type="submit"].button-large { - padding: 0 10px; - line-height: 24px; - height: auto; -} - -.button.button-small, -input[type="reset"].button-small, -input[type="button"].button-small, -input[type="submit"].button-small { - padding: 0 6px; - line-height: 16px; - height: auto; -} - -a.button { - margin: 1px; - padding: 1px 9px 2px; -} - -a.button.button-large { - padding: 1px 11px 2px; -} - -a.button.button-small { - padding: 1px 7px 2px; -} - -#screen-options-wrap { - overflow: hidden; -} - -#the-comment-list .comment-item, -#post-status-info, -#wpwrap, -#wrap, -#postdivrich, -#postdiv, -#poststuff, -.metabox-holder, -#titlediv, -#post-body, -#editorcontainer, -.tablenav, -.widget-liquid-left, -.widget-liquid-right, -#widgets-left, -.widgets-sortables, -#dragHelper, -.widget .widget-top, -.widget-control-actions, -.tagchecklist, -#col-container, -#col-left, -#col-right, -.fileedit-sub { - display: block; - zoom: 100%; -} - -p.search-box { - position: static; - float: left; - margin: -3px 0 4px; -} - -#widget-list .widget, -.feature-filter .feature-group li { - display: inline; -} - -.feature-filter .feature-group li input { - vertical-align: middle; -} - -#editorcontainer #content { - overflow: auto; - margin: auto; - width: 98%; -} - -form#template div { - width: 100%; -} - -.wp-editor-container .quicktags-toolbar input { - overflow: visible; - padding: 0 4px; -} - -#poststuff h2 { - font-size: 1.6em; -} - -#poststuff .inside #parent_id, -#poststuff .inside #page_template, -.inline-edit-row #post_parent, -.inline-edit-row select[name="page_template"] { - width: 250px; -} - -#submitdiv input, -#submitdiv select, -#submitdiv a.button { - position: relative; -} - -#bh { - margin: 7px 0 0 10px; - float: left; -} - -/* without this dashboard widgets appear in one column for some screen widths */ -div#dashboard-widgets { - padding-left: 1px; -} - -.tagchecklist span, .tagchecklist span a { - display: inline-block; - display: block; -} - -.tablenav .button-secondary, -.nav .button-secondary { - padding-top: 2px; - padding-bottom: 2px; -} - -.tablenav select { - font-size: 13px; - display: inline-block; - vertical-align: top; - margin-top: 2px; -} - -.tablenav .actions select { - width: 155px; -} - -.subsubsub li { - display: inline; -} - -a.post-state-format { - text-indent: 0; - line-height: 0; - font-size: 0; -} - -table.ie-fixed { - table-layout: fixed; -} - -.widefat tr, -.widefat th { - margin-bottom: 0; - border-spacing: 0; -} - -.widefat th input { - margin: 0 5px 0 0; -} - -.widefat thead .check-column, -.widefat tfoot .check-column { - padding-top: 6px; -} - -.widefat tbody th.check-column, -.media.widefat tbody th.check-column { - padding: 4px 0 0; -} - -.widefat { - empty-cells: show; - border-collapse: collapse; -} - -.tablenav a.button-secondary { - display: inline-block; - padding: 2px 5px; -} - -.inactive-sidebar .widgets-sortables { - padding-bottom: 8px; -} - -#available-widgets .widget-holder { - padding-bottom: 65px; -} - -#widgets-left .inactive { - padding-bottom: 10px; -} - -.widget-liquid-right .widget, -.inactive-sidebar .widget { - position: relative; -} - -.inactive-sidebar .widget { - display: block; - float: right; -} - -#wpcontent .button-primary-disabled { - color: #9FD0D5; - background: #298CBA; -} - -#the-comment-list .unapproved tr, -#the-comment-list .unapproved td { - background-color: #ffffe0; -} - -.imgedit-submit { - width: 300px; -} - -#nav-menus-frame, -#wpbody, -.menu li { - zoom: 100%; -} - -#update-nav-menu #post-body { - overflow:hidden; -} - -.menu li { - min-width: 100%; -} - -.menu li.sortable-placeholder { - min-width: 400px; -} - -.available-theme { - display: inline; -} - -.available-theme ul { - margin: 0; -} - -.available-theme .action-links li { - padding-left: 7px; - margin-left: 7px; -} - -.about-wrap .three-col.about-updates .col-2 { - width: 15%; -} - -.about-wrap .about-password-meter input { - width: 98%; -} - -.revisions-tickmarks, -.revisions-tooltip { - display: none !important; -} - -.revisions.pinned .revisions-controls { - position: relative; -} - -input[type="password"], -.login form .input { - font-family: sans-serif; -} - -/* TinyMCE icons */ -.mce-btn i.mce-i-bold, -.mce-btn i.mce-i-italic, -.mce-btn i.mce-i-bullist, -.mce-btn i.mce-i-numlist, -.mce-btn i.mce-i-blockquote, -.mce-btn i.mce-i-alignleft, -.mce-btn i.mce-i-aligncenter, -.mce-btn i.mce-i-alignright, -.mce-btn i.mce-i-link, -.mce-btn i.mce-i-unlink, -.mce-btn i.mce-i-wp_more, -.mce-btn i.mce-i-strikethrough, -.mce-btn i.mce-i-spellchecker, -.mce-btn i.mce-i-fullscreen, -.mce-btn i.mce-i-wp_fullscreen, -.mce-btn i.mce-i-wp_adv, -.mce-btn i.mce-i-underline, -.mce-btn i.mce-i-alignjustify, -.mce-btn i.mce-i-forecolor, -.mce-btn i.mce-i-pastetext, -.mce-btn i.mce-i-pasteword, -.mce-btn i.mce-i-removeformat, -.mce-btn i.mce-i-charmap, -.mce-btn i.mce-i-outdent, -.mce-btn i.mce-i-indent, -.mce-btn i.mce-i-undo, -.mce-btn i.mce-i-redo, -.mce-btn i.mce-i-help, -.mce-btn i.mce-i-wp_help, -.mce-btn i.mce-i-wp-media-library, -.mce-btn i.mce-i-ltr, -.mce-btn i.mce-i-wp_page, -.mce-btn i.mce-i-hr, -.mce-close { - font-family: 'tinymce', Arial; - font-style: normal; - font-weight: normal; - font-variant: normal; - font-size: 16px; - margin-right: 0; - padding-left: 0; -} - -.mce-btn i.mce-i-wp_fullscreen, -.qt-fullscreen { - -ie7-icon: '\e023'; -} - -.mce-btn i.mce-i-wp_more, -.mce-btn i.mce-i-wp_page { - -ie7-icon: '\e027'; -} - -.mce-btn i.mce-i-wp_adv { - background-color: #aaa; -} - -.mce-btn i.mce-i-help, -.mce-btn i.mce-i-wp_help { - -ie7-icon: '\e016'; -} - - -/* IE6 leftovers */ -* html .row-actions { - visibility: visible; -} - -* html div.widget-liquid-right, -* html div.widget-liquid-right { - display: block; - position: relative; -} - -* html #editorcontainer { - padding: 0; -} - -* html #poststuff h2 { - margin-right: 0; -} - -* html .stuffbox, -* html .stuffbox input, -* html .stuffbox textarea { - border: 1px solid #DFDFDF; -} - -* html .feature-filter .feature-group li { - width: 145px; -} - -* html div.widget-liquid-left { - width: 99%; -} - -* html .widgets-sortables { - height: 50px; -} - -* html a#content_resize { - left: -2px; -} - -* html .widget-title h4 { - width: 205px; -} - -* html #removing-widget .in-widget-title { - display: none; -} - -* html .media-item .pinkynail { - height: 32px; - width: 40px; -} - -* html .describe .field input.text, -* html .describe .field textarea { - width: 440px; -} - -* html input { - border: 1px solid #dfdfdf; -} - -* html .edit-box { - display: inline; -} - -* html .postbox-container .meta-box-sortables { - height: 300px; -} - -* html #wpbody-content #screen-options-link-wrap { - display: inline-block; - width: 150px; - text-align: center; -} - -* html #wpbody-content #contextual-help-link-wrap { - display: inline-block; - width: 100px; - text-align: center; -} - -* html #adminmenu { - margin-right: -80px; -} - -* html .folded #adminmenu { - margin-right: -22px; -} - -* html #wpcontent #adminmenu li.menu-top { - display: inline; - padding: 0; - margin: 0; -} - -* html #wpfooter { - margin: 0; -} - -* html #adminmenu div.wp-menu-image { - height: 29px; -} diff --git a/sources/wordpress/wp-admin/css/ie-rtl.min.css b/sources/wordpress/wp-admin/css/ie-rtl.min.css deleted file mode 100644 index dee9313..0000000 --- a/sources/wordpress/wp-admin/css/ie-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:99%}#dashboard-widgets form #title{width:98%}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}.wp-editor-wrap .wp-editor-container,.wp-editor-wrap .wp-editor-tabs,.wp-editor-wrap .wp-editor-tools,.wp-editor-wrap .wp-switch-editor{zoom:100%}.wp-editor-wrap .wp-editor-container textarea.wp-editor-area{width:97%}#post-body.columns-2 #postbox-container-1{padding-right:19px}.welcome-panel .wp-badge{position:absolute}.welcome-panel .welcome-panel-column:first-child{width:35%}.wp-fullscreen-title{width:97%}#wp_mce_fullscreen_ifr{background-color:#f9f9f9}#wp-fullscreen-tagline{color:#888;font-size:14px}#adminmenuback{right:0;background-image:none}#adminmenuwrap{position:static}#adminmenu{position:relative}#adminmenu,#adminmenu a{cursor:pointer}#adminmenu li.wp-menu-separator,#adminmenu li.wp-menu-separator-last{font-size:1px;line-height:1}#adminmenu a.menu-top{border-bottom:0 none;border-top:1px solid #ddd}#adminmenu .separator{font-size:1px;line-height:1px}#adminmenu .wp-submenu{right:110px}#adminmenu .wp-submenu ul{margin:0}.folded #wpcontent,.folded #wpfooter{margin-right:170px}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:150px}.folded #adminmenu .wp-submenu{border-top-color:transparent}.folded #adminmenu .wp-menu-name{display:block}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open{right:110px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{top:-1px;position:relative}.folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background-color:transparent}#adminmenu .wp-submenu .wp-submenu-head{border-top-color:#ddd}.folded #adminmenu .wp-submenu ul{margin-right:5px}#adminmenu li.menu-top{margin-bottom:-2px}#adminmenu .wp-menu-arrow{display:none!important}.js.folded #adminmenu li.menu-top{display:block;zoom:100%}ul#adminmenu{z-index:99}#adminmenu li.menu-top a.menu-top{min-width:auto;width:auto}#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu{font-style:normal}#wpcontent #adminmenu .wp-submenu li{padding:0}#adminmenu li.wp-has-current-submenu .wp-submenu{right:-40px}#adminmenu .wp-menu-image{display:none!important}#adminmenu a.menu-top .wp-menu-name{padding-right:8px}#collapse-menu{line-height:23px}#wpadminbar .ab-comments-icon{padding-top:7px}.theme-browser .theme{width:30%;margin:0 0 4% 3%;cursor:auto}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:auto}.theme-browser .theme .theme-screenshot{height:180px}.theme-browser .theme .theme-actions{position:static;background-color:#e8e8e8}.theme-browser .theme .more-details{display:none}.plugins td,.plugins th,table.fixed td,table.fixed th{border-top:1px solid #ddd}#wpbody-content input.button,#wpbody-content input.button-primary,#wpbody-content input.button-secondary{overflow:visible}#dashboard-widgets h3 a{height:14px;line-height:14px}#dashboard_browser_nag{color:#fff}#dashboard_browser_nag .browser-icon{position:relative}.tablenav-pages .current-page{vertical-align:middle}#wpbody-content .postbox{border:1px solid #dfdfdf}#wpbody-content .postbox .hndle{margin-bottom:-1px}#addcat,#editcat,#template,#template div,.major-publishing-actions,.wp-submenu,.wp-submenu li{zoom:100%}.wp-menu-arrow{height:28px}.submitbox{margin-top:10px}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:19%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:29%}.inline-edit-row p.submit{zoom:100%}.inline-edit-row fieldset label span.title{display:block;float:right;width:5em}.inline-edit-row fieldset label span.input-text-wrap{margin-right:0;zoom:100%}#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input{line-height:130%}#wpbody-content .inline-edit-row .input-text-wrap input{width:95%}#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input{width:8em}#titlediv #title{width:98%}.button,input[type=button],input[type=reset],input[type=submit]{padding:0 8px;line-height:20px;height:auto}.button.button-large,input[type=button].button-large,input[type=reset].button-large,input[type=submit].button-large{padding:0 10px;line-height:24px;height:auto}.button.button-small,input[type=button].button-small,input[type=reset].button-small,input[type=submit].button-small{padding:0 6px;line-height:16px;height:auto}a.button{margin:1px;padding:1px 9px 2px}a.button.button-large{padding:1px 11px 2px}a.button.button-small{padding:1px 7px 2px}#screen-options-wrap{overflow:hidden}#col-container,#col-left,#col-right,#dragHelper,#editorcontainer,#post-body,#post-status-info,#postdiv,#postdivrich,#poststuff,#the-comment-list .comment-item,#titlediv,#widgets-left,#wpwrap,#wrap,.fileedit-sub,.metabox-holder,.tablenav,.tagchecklist,.widget .widget-top,.widget-control-actions,.widget-liquid-left,.widget-liquid-right,.widgets-sortables{display:block;zoom:100%}p.search-box{position:static;float:left;margin:-3px 0 4px}#widget-list .widget,.feature-filter .feature-group li{display:inline}.feature-filter .feature-group li input{vertical-align:middle}#editorcontainer #content{overflow:auto;margin:auto;width:98%}form#template div{width:100%}.wp-editor-container .quicktags-toolbar input{overflow:visible;padding:0 4px}#poststuff h2{font-size:1.6em}#poststuff .inside #page_template,#poststuff .inside #parent_id,.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{width:250px}#submitdiv a.button,#submitdiv input,#submitdiv select{position:relative}#bh{margin:7px 0 0 10px;float:left}div#dashboard-widgets{padding-left:1px}.tagchecklist span,.tagchecklist span a{display:inline-block;display:block}.nav .button-secondary,.tablenav .button-secondary{padding-top:2px;padding-bottom:2px}.tablenav select{font-size:13px;display:inline-block;vertical-align:top;margin-top:2px}.tablenav .actions select{width:155px}.subsubsub li{display:inline}a.post-state-format{text-indent:0;line-height:0;font-size:0}table.ie-fixed{table-layout:fixed}.widefat th,.widefat tr{margin-bottom:0;border-spacing:0}.widefat th input{margin:0 5px 0 0}.widefat tfoot .check-column,.widefat thead .check-column{padding-top:6px}.media.widefat tbody th.check-column,.widefat tbody th.check-column{padding:4px 0 0}.widefat{empty-cells:show;border-collapse:collapse}.tablenav a.button-secondary{display:inline-block;padding:2px 5px}.inactive-sidebar .widgets-sortables{padding-bottom:8px}#available-widgets .widget-holder{padding-bottom:65px}#widgets-left .inactive{padding-bottom:10px}.inactive-sidebar .widget,.widget-liquid-right .widget{position:relative}.inactive-sidebar .widget{display:block;float:right}#wpcontent .button-primary-disabled{color:#9FD0D5;background:#298CBA}#the-comment-list .unapproved td,#the-comment-list .unapproved tr{background-color:#ffffe0}.imgedit-submit{width:300px}#nav-menus-frame,#wpbody,.menu li{zoom:100%}#update-nav-menu #post-body{overflow:hidden}.menu li{min-width:100%}.menu li.sortable-placeholder{min-width:400px}.available-theme{display:inline}.available-theme ul{margin:0}.available-theme .action-links li{padding-left:7px;margin-left:7px}.about-wrap .three-col.about-updates .col-2{width:15%}.about-wrap .about-password-meter input{width:98%}.revisions-tickmarks,.revisions-tooltip{display:none!important}.revisions.pinned .revisions-controls{position:relative}.login form .input,input[type=password]{font-family:sans-serif}.mce-btn i.mce-i-aligncenter,.mce-btn i.mce-i-alignjustify,.mce-btn i.mce-i-alignleft,.mce-btn i.mce-i-alignright,.mce-btn i.mce-i-blockquote,.mce-btn i.mce-i-bold,.mce-btn i.mce-i-bullist,.mce-btn i.mce-i-charmap,.mce-btn i.mce-i-forecolor,.mce-btn i.mce-i-fullscreen,.mce-btn i.mce-i-help,.mce-btn i.mce-i-hr,.mce-btn i.mce-i-indent,.mce-btn i.mce-i-italic,.mce-btn i.mce-i-link,.mce-btn i.mce-i-ltr,.mce-btn i.mce-i-numlist,.mce-btn i.mce-i-outdent,.mce-btn i.mce-i-pastetext,.mce-btn i.mce-i-pasteword,.mce-btn i.mce-i-redo,.mce-btn i.mce-i-removeformat,.mce-btn i.mce-i-spellchecker,.mce-btn i.mce-i-strikethrough,.mce-btn i.mce-i-underline,.mce-btn i.mce-i-undo,.mce-btn i.mce-i-unlink,.mce-btn i.mce-i-wp-media-library,.mce-btn i.mce-i-wp_adv,.mce-btn i.mce-i-wp_fullscreen,.mce-btn i.mce-i-wp_help,.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page,.mce-close{font-family:tinymce,Arial;font-style:normal;font-weight:400;font-variant:normal;font-size:16px;margin-right:0;padding-left:0}.mce-btn i.mce-i-wp_fullscreen,.qt-fullscreen{-ie7-icon:'\e023'}.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page{-ie7-icon:'\e027'}.mce-btn i.mce-i-wp_adv{background-color:#aaa}.mce-btn i.mce-i-help,.mce-btn i.mce-i-wp_help{-ie7-icon:'\e016'}* html .row-actions{visibility:visible}* html div.widget-liquid-right{display:block;position:relative}* html #editorcontainer{padding:0}* html #poststuff h2{margin-right:0}* html .stuffbox,* html .stuffbox input,* html .stuffbox textarea{border:1px solid #DFDFDF}* html .feature-filter .feature-group li{width:145px}* html div.widget-liquid-left{width:99%}* html .widgets-sortables{height:50px}* html a#content_resize{left:-2px}* html .widget-title h4{width:205px}* html #removing-widget .in-widget-title{display:none}* html .media-item .pinkynail{height:32px;width:40px}* html .describe .field input.text,* html .describe .field textarea{width:440px}* html input{border:1px solid #dfdfdf}* html .edit-box{display:inline}* html .postbox-container .meta-box-sortables{height:300px}* html #wpbody-content #screen-options-link-wrap{display:inline-block;width:150px;text-align:center}* html #wpbody-content #contextual-help-link-wrap{display:inline-block;width:100px;text-align:center}* html #adminmenu{margin-right:-80px}* html .folded #adminmenu{margin-right:-22px}* html #wpcontent #adminmenu li.menu-top{display:inline;padding:0;margin:0}* html #wpfooter{margin:0}* html #adminmenu div.wp-menu-image{height:29px} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/ie.css b/sources/wordpress/wp-admin/css/ie.css deleted file mode 100644 index c49f576..0000000 --- a/sources/wordpress/wp-admin/css/ie.css +++ /dev/null @@ -1,785 +0,0 @@ -/* Fixes for IE 7 bugs */ - -#dashboard-widgets form .input-text-wrap input, -#dashboard-widgets form .textarea-wrap textarea { - width: 99%; -} - -#dashboard-widgets form #title { - width: 98%; -} - -#wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; -} - -#wpbody-content #dashboard-widgets #postbox-container-2, -#wpbody-content #dashboard-widgets #postbox-container-3, -#wpbody-content #dashboard-widgets #postbox-container-4 { - float: right; - width: 50.5%; -} - -#dashboard-widgets #postbox-container-3 .empty-container, -#dashboard-widgets #postbox-container-4 .empty-container { - border: 0 none; - height: 0; - min-height: 0; -} - -.wp-editor-wrap .wp-editor-tools, -.wp-editor-wrap .wp-switch-editor, -.wp-editor-wrap .wp-editor-tabs, -.wp-editor-wrap .wp-editor-container { - zoom: 100%; -} - -.wp-editor-wrap .wp-editor-container textarea.wp-editor-area { - width: 97%; -} - -#post-body.columns-2 #postbox-container-1 { - padding-left: 19px; -} - -.welcome-panel .wp-badge { - position: absolute; -} - -.welcome-panel .welcome-panel-column:first-child { - width: 35%; -} - -.wp-fullscreen-title { - width: 97%; -} - -#wp_mce_fullscreen_ifr { - background-color: #f9f9f9; -} - -#wp-fullscreen-tagline { - color: #888; - font-size: 14px; -} - -#adminmenuback { - left: 0; - background-image: none; -} - -#adminmenuwrap { - position: static; -} - -#adminmenu { - position: relative; -} - -#adminmenu, -#adminmenu a { - cursor: pointer; -} - -#adminmenu li.wp-menu-separator, -#adminmenu li.wp-menu-separator-last { - font-size: 1px; - line-height: 1; -} - -#adminmenu a.menu-top { - border-bottom: 0 none; - border-top: 1px solid #ddd; -} - -#adminmenu .separator { - font-size: 1px; - line-height: 1px; -} - -#adminmenu .wp-submenu { - left: 110px; -} - -#adminmenu .wp-submenu ul { - margin: 0; -} - -.folded #wpcontent, -.folded #wpfooter { - margin-left: 170px; -} - -.folded #adminmenuback, -.folded #adminmenuwrap, -.folded #adminmenu, -.folded #adminmenu li.menu-top { - width: 150px; -} - -.folded #adminmenu .wp-submenu { - border-top-color: transparent; -} - -.folded #adminmenu .wp-menu-name { - display: block; -} - -.folded #adminmenu .wp-submenu.sub-open, -.folded #adminmenu .opensub .wp-submenu { - left: 110px; -} - -.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - top: -1px; - position: relative; -} - -.folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { - background-color: transparent; -} - -#adminmenu .wp-submenu .wp-submenu-head { - border-top-color: #ddd; -} - -.folded #adminmenu .wp-submenu ul { - margin-left: 5px; -} - -#adminmenu li.menu-top { - margin-bottom: -2px; -} - -#adminmenu .wp-menu-arrow { - display: none !important; -} - -.js.folded #adminmenu li.menu-top { - display: block; - zoom: 100%; -} - -ul#adminmenu { - z-index: 99; -} - -#adminmenu li.menu-top a.menu-top { - min-width: auto; - width: auto; -} - -#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu { - font-style: normal; -} - -#wpcontent #adminmenu .wp-submenu li { - padding: 0; -} - -#adminmenu li.wp-has-current-submenu .wp-submenu { - left: -40px; -} - -#adminmenu .wp-menu-image { - display: none !important; -} - -#adminmenu a.menu-top .wp-menu-name { - padding-left: 8px; -} - -#collapse-menu { - line-height: 23px; -} - -#wpadminbar .ab-comments-icon { - padding-top: 7px; -} - - -.theme-browser .theme { - width: 30%; - margin: 0 3% 4% 0; - cursor: auto; -} - -.theme-browser .theme:hover, -.theme-browser .theme:focus { - cursor: auto; -} - -.theme-browser .theme .theme-screenshot { - height: 180px; -} - -.theme-browser .theme .theme-actions { - position: static; - background-color: #e8e8e8; -} - -.theme-browser .theme .more-details { - display: none; -} - -.plugins td, -.plugins th { - border-top: 1px solid #ddd; -} - -table.fixed th, -table.fixed td { - border-top: 1px solid #ddd; -} - -#wpbody-content input.button, -#wpbody-content input.button-primary, -#wpbody-content input.button-secondary { - overflow: visible; -} - -#dashboard-widgets h3 a { - height: 14px; - line-height: 14px; -} - -#dashboard_browser_nag { - color: #fff; -} - -#dashboard_browser_nag .browser-icon { - position: relative; -} - -.tablenav-pages .current-page { - vertical-align: middle; -} - -#wpbody-content .postbox { - border: 1px solid #dfdfdf; -} - -#wpbody-content .postbox .hndle { - margin-bottom: -1px; -} - -.major-publishing-actions, -.wp-submenu, -.wp-submenu li, -#template, -#template div, -#editcat, -#addcat { - zoom: 100%; -} - -.wp-menu-arrow { - height: 28px; -} - -.submitbox { - margin-top: 10px; -} - -/* Inline Editor */ -#wpbody-content .quick-edit-row-post .inline-edit-col-left { - width: 39%; -} - -#wpbody-content .inline-edit-row-post .inline-edit-col-center { - width: 19%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-left { - width: 49%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-left { - width: 29%; -} - -.inline-edit-row p.submit { - zoom: 100%; -} - -.inline-edit-row fieldset label span.title { - display: block; - float: left; - width: 5em; -} - -.inline-edit-row fieldset label span.input-text-wrap { - margin-left: 0; - zoom: 100%; -} - -#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input { - line-height: 130%; -} - -#wpbody-content .inline-edit-row .input-text-wrap input { - width: 95%; -} - -#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input { - width: 8em; -} -/* end Inline Editor */ - -#titlediv #title { - width: 98%; -} - -.button, -input[type="reset"], -input[type="button"], -input[type="submit"] { - padding: 0 8px; - line-height: 20px; - height: auto; -} - -.button.button-large, -input[type="reset"].button-large, -input[type="button"].button-large, -input[type="submit"].button-large { - padding: 0 10px; - line-height: 24px; - height: auto; -} - -.button.button-small, -input[type="reset"].button-small, -input[type="button"].button-small, -input[type="submit"].button-small { - padding: 0 6px; - line-height: 16px; - height: auto; -} - -a.button { - margin: 1px; - padding: 1px 9px 2px; -} - -a.button.button-large { - padding: 1px 11px 2px; -} - -a.button.button-small { - padding: 1px 7px 2px; -} - -#screen-options-wrap { - overflow: hidden; -} - -#the-comment-list .comment-item, -#post-status-info, -#wpwrap, -#wrap, -#postdivrich, -#postdiv, -#poststuff, -.metabox-holder, -#titlediv, -#post-body, -#editorcontainer, -.tablenav, -.widget-liquid-left, -.widget-liquid-right, -#widgets-left, -.widgets-sortables, -#dragHelper, -.widget .widget-top, -.widget-control-actions, -.tagchecklist, -#col-container, -#col-left, -#col-right, -.fileedit-sub { - display: block; - zoom: 100%; -} - -p.search-box { - position: static; - float: right; - margin: -3px 0 4px; -} - -#widget-list .widget, -.feature-filter .feature-group li { - display: inline; -} - -.feature-filter .feature-group li input { - vertical-align: middle; -} - -#editorcontainer #content { - overflow: auto; - margin: auto; - width: 98%; -} - -form#template div { - width: 100%; -} - -.wp-editor-container .quicktags-toolbar input { - overflow: visible; - padding: 0 4px; -} - -#poststuff h2 { - font-size: 1.6em; -} - -#poststuff .inside #parent_id, -#poststuff .inside #page_template, -.inline-edit-row #post_parent, -.inline-edit-row select[name="page_template"] { - width: 250px; -} - -#submitdiv input, -#submitdiv select, -#submitdiv a.button { - position: relative; -} - -#bh { - margin: 7px 10px 0 0; - float: right; -} - -/* without this dashboard widgets appear in one column for some screen widths */ -div#dashboard-widgets { - padding-right: 1px; -} - -.tagchecklist span, .tagchecklist span a { - display: inline-block; - display: block; -} - -.tablenav .button-secondary, -.nav .button-secondary { - padding-top: 2px; - padding-bottom: 2px; -} - -.tablenav select { - font-size: 13px; - display: inline-block; - vertical-align: top; - margin-top: 2px; -} - -.tablenav .actions select { - width: 155px; -} - -.subsubsub li { - display: inline; -} - -a.post-state-format { - text-indent: 0; - line-height: 0; - font-size: 0; -} - -table.ie-fixed { - table-layout: fixed; -} - -.widefat tr, -.widefat th { - margin-bottom: 0; - border-spacing: 0; -} - -.widefat th input { - margin: 0 0 0 5px; -} - -.widefat thead .check-column, -.widefat tfoot .check-column { - padding-top: 6px; -} - -.widefat tbody th.check-column, -.media.widefat tbody th.check-column { - padding: 4px 0 0; -} - -.widefat { - empty-cells: show; - border-collapse: collapse; -} - -.tablenav a.button-secondary { - display: inline-block; - padding: 2px 5px; -} - -.inactive-sidebar .widgets-sortables { - padding-bottom: 8px; -} - -#available-widgets .widget-holder { - padding-bottom: 65px; -} - -#widgets-left .inactive { - padding-bottom: 10px; -} - -.widget-liquid-right .widget, -.inactive-sidebar .widget { - position: relative; -} - -.inactive-sidebar .widget { - display: block; - float: left; -} - -#wpcontent .button-primary-disabled { - color: #9FD0D5; - background: #298CBA; -} - -#the-comment-list .unapproved tr, -#the-comment-list .unapproved td { - background-color: #ffffe0; -} - -.imgedit-submit { - width: 300px; -} - -#nav-menus-frame, -#wpbody, -.menu li { - zoom: 100%; -} - -#update-nav-menu #post-body { - overflow:hidden; -} - -.menu li { - min-width: 100%; -} - -.menu li.sortable-placeholder { - min-width: 400px; -} - -.available-theme { - display: inline; -} - -.available-theme ul { - margin: 0; -} - -.available-theme .action-links li { - padding-right: 7px; - margin-right: 7px; -} - -.about-wrap .three-col.about-updates .col-2 { - width: 15%; -} - -.about-wrap .about-password-meter input { - width: 98%; -} - -.revisions-tickmarks, -.revisions-tooltip { - display: none !important; -} - -.revisions.pinned .revisions-controls { - position: relative; -} - -input[type="password"], -.login form .input { - font-family: sans-serif; -} - -/* TinyMCE icons */ -.mce-btn i.mce-i-bold, -.mce-btn i.mce-i-italic, -.mce-btn i.mce-i-bullist, -.mce-btn i.mce-i-numlist, -.mce-btn i.mce-i-blockquote, -.mce-btn i.mce-i-alignleft, -.mce-btn i.mce-i-aligncenter, -.mce-btn i.mce-i-alignright, -.mce-btn i.mce-i-link, -.mce-btn i.mce-i-unlink, -.mce-btn i.mce-i-wp_more, -.mce-btn i.mce-i-strikethrough, -.mce-btn i.mce-i-spellchecker, -.mce-btn i.mce-i-fullscreen, -.mce-btn i.mce-i-wp_fullscreen, -.mce-btn i.mce-i-wp_adv, -.mce-btn i.mce-i-underline, -.mce-btn i.mce-i-alignjustify, -.mce-btn i.mce-i-forecolor, -.mce-btn i.mce-i-pastetext, -.mce-btn i.mce-i-pasteword, -.mce-btn i.mce-i-removeformat, -.mce-btn i.mce-i-charmap, -.mce-btn i.mce-i-outdent, -.mce-btn i.mce-i-indent, -.mce-btn i.mce-i-undo, -.mce-btn i.mce-i-redo, -.mce-btn i.mce-i-help, -.mce-btn i.mce-i-wp_help, -.mce-btn i.mce-i-wp-media-library, -.mce-btn i.mce-i-ltr, -.mce-btn i.mce-i-wp_page, -.mce-btn i.mce-i-hr, -.mce-close { - font-family: 'tinymce', Arial; - font-style: normal; - font-weight: normal; - font-variant: normal; - font-size: 16px; - margin-left: 0; - padding-right: 0; -} - -.mce-btn i.mce-i-wp_fullscreen, -.qt-fullscreen { - -ie7-icon: '\e023'; -} - -.mce-btn i.mce-i-wp_more, -.mce-btn i.mce-i-wp_page { - -ie7-icon: '\e027'; -} - -.mce-btn i.mce-i-wp_adv { - background-color: #aaa; -} - -.mce-btn i.mce-i-help, -.mce-btn i.mce-i-wp_help { - -ie7-icon: '\e016'; -} - - -/* IE6 leftovers */ -* html .row-actions { - visibility: visible; -} - -* html div.widget-liquid-left, -* html div.widget-liquid-right { - display: block; - position: relative; -} - -* html #editorcontainer { - padding: 0; -} - -* html #poststuff h2 { - margin-left: 0; -} - -* html .stuffbox, -* html .stuffbox input, -* html .stuffbox textarea { - border: 1px solid #DFDFDF; -} - -* html .feature-filter .feature-group li { - width: 145px; -} - -* html div.widget-liquid-left { - width: 99%; -} - -* html .widgets-sortables { - height: 50px; -} - -* html a#content_resize { - right: -2px; -} - -* html .widget-title h4 { - width: 205px; -} - -* html #removing-widget .in-widget-title { - display: none; -} - -* html .media-item .pinkynail { - height: 32px; - width: 40px; -} - -* html .describe .field input.text, -* html .describe .field textarea { - width: 440px; -} - -* html input { - border: 1px solid #dfdfdf; -} - -* html .edit-box { - display: inline; -} - -* html .postbox-container .meta-box-sortables { - height: 300px; -} - -* html #wpbody-content #screen-options-link-wrap { - display: inline-block; - width: 150px; - text-align: center; -} - -* html #wpbody-content #contextual-help-link-wrap { - display: inline-block; - width: 100px; - text-align: center; -} - -* html #adminmenu { - margin-left: -80px; -} - -* html .folded #adminmenu { - margin-left: -22px; -} - -* html #wpcontent #adminmenu li.menu-top { - display: inline; - padding: 0; - margin: 0; -} - -* html #wpfooter { - margin: 0; -} - -* html #adminmenu div.wp-menu-image { - height: 29px; -} diff --git a/sources/wordpress/wp-admin/css/ie.min.css b/sources/wordpress/wp-admin/css/ie.min.css deleted file mode 100644 index 0b4b692..0000000 --- a/sources/wordpress/wp-admin/css/ie.min.css +++ /dev/null @@ -1 +0,0 @@ -#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:99%}#dashboard-widgets form #title{width:98%}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}.wp-editor-wrap .wp-editor-container,.wp-editor-wrap .wp-editor-tabs,.wp-editor-wrap .wp-editor-tools,.wp-editor-wrap .wp-switch-editor{zoom:100%}.wp-editor-wrap .wp-editor-container textarea.wp-editor-area{width:97%}#post-body.columns-2 #postbox-container-1{padding-left:19px}.welcome-panel .wp-badge{position:absolute}.welcome-panel .welcome-panel-column:first-child{width:35%}.wp-fullscreen-title{width:97%}#wp_mce_fullscreen_ifr{background-color:#f9f9f9}#wp-fullscreen-tagline{color:#888;font-size:14px}#adminmenuback{left:0;background-image:none}#adminmenuwrap{position:static}#adminmenu{position:relative}#adminmenu,#adminmenu a{cursor:pointer}#adminmenu li.wp-menu-separator,#adminmenu li.wp-menu-separator-last{font-size:1px;line-height:1}#adminmenu a.menu-top{border-bottom:0 none;border-top:1px solid #ddd}#adminmenu .separator{font-size:1px;line-height:1px}#adminmenu .wp-submenu{left:110px}#adminmenu .wp-submenu ul{margin:0}.folded #wpcontent,.folded #wpfooter{margin-left:170px}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:150px}.folded #adminmenu .wp-submenu{border-top-color:transparent}.folded #adminmenu .wp-menu-name{display:block}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open{left:110px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{top:-1px;position:relative}.folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background-color:transparent}#adminmenu .wp-submenu .wp-submenu-head{border-top-color:#ddd}.folded #adminmenu .wp-submenu ul{margin-left:5px}#adminmenu li.menu-top{margin-bottom:-2px}#adminmenu .wp-menu-arrow{display:none!important}.js.folded #adminmenu li.menu-top{display:block;zoom:100%}ul#adminmenu{z-index:99}#adminmenu li.menu-top a.menu-top{min-width:auto;width:auto}#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu{font-style:normal}#wpcontent #adminmenu .wp-submenu li{padding:0}#adminmenu li.wp-has-current-submenu .wp-submenu{left:-40px}#adminmenu .wp-menu-image{display:none!important}#adminmenu a.menu-top .wp-menu-name{padding-left:8px}#collapse-menu{line-height:23px}#wpadminbar .ab-comments-icon{padding-top:7px}.theme-browser .theme{width:30%;margin:0 3% 4% 0;cursor:auto}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:auto}.theme-browser .theme .theme-screenshot{height:180px}.theme-browser .theme .theme-actions{position:static;background-color:#e8e8e8}.theme-browser .theme .more-details{display:none}.plugins td,.plugins th,table.fixed td,table.fixed th{border-top:1px solid #ddd}#wpbody-content input.button,#wpbody-content input.button-primary,#wpbody-content input.button-secondary{overflow:visible}#dashboard-widgets h3 a{height:14px;line-height:14px}#dashboard_browser_nag{color:#fff}#dashboard_browser_nag .browser-icon{position:relative}.tablenav-pages .current-page{vertical-align:middle}#wpbody-content .postbox{border:1px solid #dfdfdf}#wpbody-content .postbox .hndle{margin-bottom:-1px}#addcat,#editcat,#template,#template div,.major-publishing-actions,.wp-submenu,.wp-submenu li{zoom:100%}.wp-menu-arrow{height:28px}.submitbox{margin-top:10px}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:19%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:29%}.inline-edit-row p.submit{zoom:100%}.inline-edit-row fieldset label span.title{display:block;float:left;width:5em}.inline-edit-row fieldset label span.input-text-wrap{margin-left:0;zoom:100%}#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input{line-height:130%}#wpbody-content .inline-edit-row .input-text-wrap input{width:95%}#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input{width:8em}#titlediv #title{width:98%}.button,input[type=button],input[type=reset],input[type=submit]{padding:0 8px;line-height:20px;height:auto}.button.button-large,input[type=button].button-large,input[type=reset].button-large,input[type=submit].button-large{padding:0 10px;line-height:24px;height:auto}.button.button-small,input[type=button].button-small,input[type=reset].button-small,input[type=submit].button-small{padding:0 6px;line-height:16px;height:auto}a.button{margin:1px;padding:1px 9px 2px}a.button.button-large{padding:1px 11px 2px}a.button.button-small{padding:1px 7px 2px}#screen-options-wrap{overflow:hidden}#col-container,#col-left,#col-right,#dragHelper,#editorcontainer,#post-body,#post-status-info,#postdiv,#postdivrich,#poststuff,#the-comment-list .comment-item,#titlediv,#widgets-left,#wpwrap,#wrap,.fileedit-sub,.metabox-holder,.tablenav,.tagchecklist,.widget .widget-top,.widget-control-actions,.widget-liquid-left,.widget-liquid-right,.widgets-sortables{display:block;zoom:100%}p.search-box{position:static;float:right;margin:-3px 0 4px}#widget-list .widget,.feature-filter .feature-group li{display:inline}.feature-filter .feature-group li input{vertical-align:middle}#editorcontainer #content{overflow:auto;margin:auto;width:98%}form#template div{width:100%}.wp-editor-container .quicktags-toolbar input{overflow:visible;padding:0 4px}#poststuff h2{font-size:1.6em}#poststuff .inside #page_template,#poststuff .inside #parent_id,.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{width:250px}#submitdiv a.button,#submitdiv input,#submitdiv select{position:relative}#bh{margin:7px 10px 0 0;float:right}div#dashboard-widgets{padding-right:1px}.tagchecklist span,.tagchecklist span a{display:inline-block;display:block}.nav .button-secondary,.tablenav .button-secondary{padding-top:2px;padding-bottom:2px}.tablenav select{font-size:13px;display:inline-block;vertical-align:top;margin-top:2px}.tablenav .actions select{width:155px}.subsubsub li{display:inline}a.post-state-format{text-indent:0;line-height:0;font-size:0}table.ie-fixed{table-layout:fixed}.widefat th,.widefat tr{margin-bottom:0;border-spacing:0}.widefat th input{margin:0 0 0 5px}.widefat tfoot .check-column,.widefat thead .check-column{padding-top:6px}.media.widefat tbody th.check-column,.widefat tbody th.check-column{padding:4px 0 0}.widefat{empty-cells:show;border-collapse:collapse}.tablenav a.button-secondary{display:inline-block;padding:2px 5px}.inactive-sidebar .widgets-sortables{padding-bottom:8px}#available-widgets .widget-holder{padding-bottom:65px}#widgets-left .inactive{padding-bottom:10px}.inactive-sidebar .widget,.widget-liquid-right .widget{position:relative}.inactive-sidebar .widget{display:block;float:left}#wpcontent .button-primary-disabled{color:#9FD0D5;background:#298CBA}#the-comment-list .unapproved td,#the-comment-list .unapproved tr{background-color:#ffffe0}.imgedit-submit{width:300px}#nav-menus-frame,#wpbody,.menu li{zoom:100%}#update-nav-menu #post-body{overflow:hidden}.menu li{min-width:100%}.menu li.sortable-placeholder{min-width:400px}.available-theme{display:inline}.available-theme ul{margin:0}.available-theme .action-links li{padding-right:7px;margin-right:7px}.about-wrap .three-col.about-updates .col-2{width:15%}.about-wrap .about-password-meter input{width:98%}.revisions-tickmarks,.revisions-tooltip{display:none!important}.revisions.pinned .revisions-controls{position:relative}.login form .input,input[type=password]{font-family:sans-serif}.mce-btn i.mce-i-aligncenter,.mce-btn i.mce-i-alignjustify,.mce-btn i.mce-i-alignleft,.mce-btn i.mce-i-alignright,.mce-btn i.mce-i-blockquote,.mce-btn i.mce-i-bold,.mce-btn i.mce-i-bullist,.mce-btn i.mce-i-charmap,.mce-btn i.mce-i-forecolor,.mce-btn i.mce-i-fullscreen,.mce-btn i.mce-i-help,.mce-btn i.mce-i-hr,.mce-btn i.mce-i-indent,.mce-btn i.mce-i-italic,.mce-btn i.mce-i-link,.mce-btn i.mce-i-ltr,.mce-btn i.mce-i-numlist,.mce-btn i.mce-i-outdent,.mce-btn i.mce-i-pastetext,.mce-btn i.mce-i-pasteword,.mce-btn i.mce-i-redo,.mce-btn i.mce-i-removeformat,.mce-btn i.mce-i-spellchecker,.mce-btn i.mce-i-strikethrough,.mce-btn i.mce-i-underline,.mce-btn i.mce-i-undo,.mce-btn i.mce-i-unlink,.mce-btn i.mce-i-wp-media-library,.mce-btn i.mce-i-wp_adv,.mce-btn i.mce-i-wp_fullscreen,.mce-btn i.mce-i-wp_help,.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page,.mce-close{font-family:tinymce,Arial;font-style:normal;font-weight:400;font-variant:normal;font-size:16px;margin-left:0;padding-right:0}.mce-btn i.mce-i-wp_fullscreen,.qt-fullscreen{-ie7-icon:'\e023'}.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page{-ie7-icon:'\e027'}.mce-btn i.mce-i-wp_adv{background-color:#aaa}.mce-btn i.mce-i-help,.mce-btn i.mce-i-wp_help{-ie7-icon:'\e016'}* html .row-actions{visibility:visible}* html div.widget-liquid-left,* html div.widget-liquid-right{display:block;position:relative}* html #editorcontainer{padding:0}* html #poststuff h2{margin-left:0}* html .stuffbox,* html .stuffbox input,* html .stuffbox textarea{border:1px solid #DFDFDF}* html .feature-filter .feature-group li{width:145px}* html div.widget-liquid-left{width:99%}* html .widgets-sortables{height:50px}* html a#content_resize{right:-2px}* html .widget-title h4{width:205px}* html #removing-widget .in-widget-title{display:none}* html .media-item .pinkynail{height:32px;width:40px}* html .describe .field input.text,* html .describe .field textarea{width:440px}* html input{border:1px solid #dfdfdf}* html .edit-box{display:inline}* html .postbox-container .meta-box-sortables{height:300px}* html #wpbody-content #screen-options-link-wrap{display:inline-block;width:150px;text-align:center}* html #wpbody-content #contextual-help-link-wrap{display:inline-block;width:100px;text-align:center}* html #adminmenu{margin-left:-80px}* html .folded #adminmenu{margin-left:-22px}* html #wpcontent #adminmenu li.menu-top{display:inline;padding:0;margin:0}* html #wpfooter{margin:0}* html #adminmenu div.wp-menu-image{height:29px} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/install-rtl.css b/sources/wordpress/wp-admin/css/install-rtl.css deleted file mode 100644 index 0a9deda..0000000 --- a/sources/wordpress/wp-admin/css/install-rtl.css +++ /dev/null @@ -1,389 +0,0 @@ -html { - background: #f1f1f1; - margin: 0 20px; -} - -body { - background: #fff; - color: #444; - font-family: "Open Sans", sans-serif; - margin: 140px auto 25px; - padding: 20px 20px 10px 20px; - max-width: 700px; - -webkit-font-smoothing: subpixel-antialiased; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13); - box-shadow: 0 1px 3px rgba(0,0,0,0.13); -} - -a { - color: #0074a2; - text-decoration: none; -} - -a:hover { - color: #2ea2cc; -} - -h1 { - border-bottom: 1px solid #dedede; - clear: both; - color: #666; - font-size: 24px; - margin: 30px 0; - padding: 0; - padding-bottom: 7px; - font-weight: normal; -} - -h2 { - font-size: 16px; -} - -p, li, dd, dt { - padding-bottom: 2px; - font-size: 14px; - line-height: 1.5; -} - -code, .code { - font-family: Consolas, Monaco, monospace; -} - -ul, ol, dl { - padding: 5px 22px 5px 5px; -} - -a img { - border:0 -} -abbr { - border: 0; - font-variant: normal; -} - -label { - cursor: pointer; -} - -#logo { - margin: 6px 0 14px 0; - border-bottom: none; - text-align:center -} -#logo a { - background-image: url(../images/w-logo-blue.png?ver=20131202); - background-image: none, url(../images/wordpress-logo.svg?ver=20131107); - -webkit-background-size: 84px; - background-size: 84px; - background-position: center top; - background-repeat: no-repeat; - color: #999; - height: 84px; - font-size: 20px; - font-weight: normal; - line-height: 1.3em; - margin: -130px auto 25px; - padding: 0; - text-decoration: none; - width: 84px; - text-indent: -9999px; - outline: none; - overflow: hidden; - display: block; -} -.step { - margin: 20px 0 15px; -} -.step, th { - text-align: right; - padding: 0; -} -.language-chooser.wp-core-ui .step .button.button-large { - height: 36px; - vertical-align: middle; - font-size: 14px; -} -textarea { - border: 1px solid #dfdfdf; - font-family: "Open Sans", sans-serif; - width: 100%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.form-table { - border-collapse: collapse; - margin-top: 1em; - width: 100%; -} - -.form-table td { - margin-bottom: 9px; - padding: 10px 0 10px 20px; - border-bottom: 8px solid #fff; - font-size: 14px; - vertical-align: top -} - -.form-table th { - font-size: 14px; - text-align: right; - padding: 16px 0 10px 20px; - width: 140px; - vertical-align: top; -} - -.form-table code { - line-height: 18px; - font-size: 14px; -} - -.form-table p { - margin: 4px 0 0 0; - font-size: 11px; -} - -.form-table input { - line-height: 20px; - font-size: 15px; - padding: 3px 5px; - border: 1px solid #ddd; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); -} - -input, -submit { - font-family: "Open Sans", sans-serif; -} - -.form-table input[type=text], -.form-table input[type=email], -.form-table input[type=url], -.form-table input[type=password] { - width: 206px; -} - -.form-table th p { - font-weight: normal; -} - -.form-table.install-success td { - vertical-align: middle; - padding: 16px 0 10px 20px; -} - -.form-table.install-success td p { - margin: 0; - font-size: 14px; -} - -.form-table.install-success td code { - margin: 0; - font-size: 18px; -} - -#error-page { - margin-top: 50px; -} - -#error-page p { - font-size: 14px; - line-height: 18px; - margin: 25px 0 20px; -} - -#error-page code, .code { - font-family: Consolas, Monaco, monospace; -} - -#pass-strength-result { - background-color: #eee; - border-color: #ddd !important; - border-style: solid; - border-width: 1px; - margin: 5px 0 5px 5px; - padding: 5px; - text-align: center; - width: 200px; - display: none; -} - -#pass-strength-result.bad { - background-color: #ffb78c; - border-color: #ff853c !important; -} - -#pass-strength-result.good { - background-color: #ffec8b; - border-color: #ffcc00 !important; -} - -#pass-strength-result.short { - background-color: #ffa0a0; - border-color: #f04040 !important; -} - -#pass-strength-result.strong { - background-color: #c3ff88; - border-color: #8dff1c !important; -} - -.message { - border: 1px solid #c00; - padding: 0.5em 0.7em; - margin: 5px 0 15px; - background-color: #ffebe8; -} - -/* @noflip */ -#dbname, -#uname, -#pwd, -#dbhost, -#prefix, -#user_login, -#admin_email, -#pass1, -#pass2 { - direction: ltr; -} - - -/* localization */ -body.rtl, -.rtl textarea, -.rtl input, -.rtl submit { - font-family: Tahoma, sans-serif; -} - -:lang(he-il) body.rtl, -:lang(he-il) .rtl textarea, -:lang(he-il) .rtl input, -:lang(he-il) .rtl submit { - font-family: Arial, sans-serif; -} - -@media only screen and (max-width: 799px) { - body { - margin-top: 115px; - } - #logo a { - margin: -125px auto 30px; - } -} - -@media screen and ( max-width: 782px ) { - - .form-table { - margin-top: 0; - } - - .form-table th, - .form-table td { - display: block; - width: auto; - vertical-align: middle; - } - - .form-table th { - padding: 20px 0 0; - } - - .form-table td { - padding: 5px 0; - border: 0; - margin: 0; - } - - textarea, - input { - font-size: 16px; - } - - .form-table td input[type="text"], - .form-table td input[type="email"], - .form-table td input[type="url"], - .form-table td input[type="password"], - .form-table td select, - .form-table td textarea, - .form-table span.description { - width: 100%; - font-size: 16px; - line-height: 1.5; - padding: 7px 10px; - display: block; - max-width: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - -} - -body.language-chooser { - max-width: 300px; -} - -.language-chooser select { - padding: 8px; - width: 100%; - display: block; - border: 1px solid #ddd; - background-color: #fff; - color: #333; - font-size: 16px; - font-family: Arial, sans-serif; - font-weight: normal; -} - -.language-chooser p { - text-align: left; -} - -.screen-reader-input, -.screen-reader-text { - position: absolute; - margin: -1px; - padding: 0; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(0 0 0 0); - border: 0; -} - -.spinner { - background: url(../images/spinner.gif) no-repeat; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - visibility: hidden; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 2px 5px 0; -} - -.step .spinner { - display: inline-block; - margin-top: 8px; - margin-left: 15px; - vertical-align: top; -} - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .spinner { - background-image: url(../images/spinner-2x.gif); - } - -} diff --git a/sources/wordpress/wp-admin/css/install-rtl.min.css b/sources/wordpress/wp-admin/css/install-rtl.min.css deleted file mode 100644 index c63802d..0000000 --- a/sources/wordpress/wp-admin/css/install-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1;margin:0 20px}body{background:#fff;color:#444;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0074a2;text-decoration:none}a:hover{color:#2ea2cc}h1{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px;margin:30px 0;padding:0 0 7px;font-weight:400}h2{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 22px 5px 5px}a img{border:0}abbr{border:0;font-variant:normal}label{cursor:pointer}#logo{margin:6px 0 14px;border-bottom:none;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;color:#999;height:84px;font-size:20px;font-weight:400;line-height:1.3em;margin:-130px auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.language-chooser.wp-core-ui .step .button.button-large{height:36px;vertical-align:middle;font-size:14px}textarea{border:1px solid #dfdfdf;font-family:"Open Sans",sans-serif;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 0 10px 20px;border-bottom:8px solid #fff;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:right;padding:16px 0 10px 20px;width:140px;vertical-align:top}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}input,submit{font-family:"Open Sans",sans-serif}.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:206px}.form-table th p{font-weight:400}.form-table.install-success td{vertical-align:middle;padding:16px 0 10px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 0 5px 5px;padding:5px;text-align:center;width:200px;display:none}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #ddd;background-color:#fff;color:#333;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser p{text-align:left}.screen-reader-input,.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;margin-top:8px;margin-left:15px;vertical-align:top}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/install.css b/sources/wordpress/wp-admin/css/install.css deleted file mode 100644 index 28c071c..0000000 --- a/sources/wordpress/wp-admin/css/install.css +++ /dev/null @@ -1,389 +0,0 @@ -html { - background: #f1f1f1; - margin: 0 20px; -} - -body { - background: #fff; - color: #444; - font-family: "Open Sans", sans-serif; - margin: 140px auto 25px; - padding: 20px 20px 10px 20px; - max-width: 700px; - -webkit-font-smoothing: subpixel-antialiased; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13); - box-shadow: 0 1px 3px rgba(0,0,0,0.13); -} - -a { - color: #0074a2; - text-decoration: none; -} - -a:hover { - color: #2ea2cc; -} - -h1 { - border-bottom: 1px solid #dedede; - clear: both; - color: #666; - font-size: 24px; - margin: 30px 0; - padding: 0; - padding-bottom: 7px; - font-weight: normal; -} - -h2 { - font-size: 16px; -} - -p, li, dd, dt { - padding-bottom: 2px; - font-size: 14px; - line-height: 1.5; -} - -code, .code { - font-family: Consolas, Monaco, monospace; -} - -ul, ol, dl { - padding: 5px 5px 5px 22px; -} - -a img { - border:0 -} -abbr { - border: 0; - font-variant: normal; -} - -label { - cursor: pointer; -} - -#logo { - margin: 6px 0 14px 0; - border-bottom: none; - text-align:center -} -#logo a { - background-image: url(../images/w-logo-blue.png?ver=20131202); - background-image: none, url(../images/wordpress-logo.svg?ver=20131107); - -webkit-background-size: 84px; - background-size: 84px; - background-position: center top; - background-repeat: no-repeat; - color: #999; - height: 84px; - font-size: 20px; - font-weight: normal; - line-height: 1.3em; - margin: -130px auto 25px; - padding: 0; - text-decoration: none; - width: 84px; - text-indent: -9999px; - outline: none; - overflow: hidden; - display: block; -} -.step { - margin: 20px 0 15px; -} -.step, th { - text-align: left; - padding: 0; -} -.language-chooser.wp-core-ui .step .button.button-large { - height: 36px; - vertical-align: middle; - font-size: 14px; -} -textarea { - border: 1px solid #dfdfdf; - font-family: "Open Sans", sans-serif; - width: 100%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.form-table { - border-collapse: collapse; - margin-top: 1em; - width: 100%; -} - -.form-table td { - margin-bottom: 9px; - padding: 10px 20px 10px 0; - border-bottom: 8px solid #fff; - font-size: 14px; - vertical-align: top -} - -.form-table th { - font-size: 14px; - text-align: left; - padding: 16px 20px 10px 0; - width: 140px; - vertical-align: top; -} - -.form-table code { - line-height: 18px; - font-size: 14px; -} - -.form-table p { - margin: 4px 0 0 0; - font-size: 11px; -} - -.form-table input { - line-height: 20px; - font-size: 15px; - padding: 3px 5px; - border: 1px solid #ddd; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); -} - -input, -submit { - font-family: "Open Sans", sans-serif; -} - -.form-table input[type=text], -.form-table input[type=email], -.form-table input[type=url], -.form-table input[type=password] { - width: 206px; -} - -.form-table th p { - font-weight: normal; -} - -.form-table.install-success td { - vertical-align: middle; - padding: 16px 20px 10px 0; -} - -.form-table.install-success td p { - margin: 0; - font-size: 14px; -} - -.form-table.install-success td code { - margin: 0; - font-size: 18px; -} - -#error-page { - margin-top: 50px; -} - -#error-page p { - font-size: 14px; - line-height: 18px; - margin: 25px 0 20px; -} - -#error-page code, .code { - font-family: Consolas, Monaco, monospace; -} - -#pass-strength-result { - background-color: #eee; - border-color: #ddd !important; - border-style: solid; - border-width: 1px; - margin: 5px 5px 5px 0; - padding: 5px; - text-align: center; - width: 200px; - display: none; -} - -#pass-strength-result.bad { - background-color: #ffb78c; - border-color: #ff853c !important; -} - -#pass-strength-result.good { - background-color: #ffec8b; - border-color: #ffcc00 !important; -} - -#pass-strength-result.short { - background-color: #ffa0a0; - border-color: #f04040 !important; -} - -#pass-strength-result.strong { - background-color: #c3ff88; - border-color: #8dff1c !important; -} - -.message { - border: 1px solid #c00; - padding: 0.5em 0.7em; - margin: 5px 0 15px; - background-color: #ffebe8; -} - -/* @noflip */ -#dbname, -#uname, -#pwd, -#dbhost, -#prefix, -#user_login, -#admin_email, -#pass1, -#pass2 { - direction: ltr; -} - - -/* localization */ -body.rtl, -.rtl textarea, -.rtl input, -.rtl submit { - font-family: Tahoma, sans-serif; -} - -:lang(he-il) body.rtl, -:lang(he-il) .rtl textarea, -:lang(he-il) .rtl input, -:lang(he-il) .rtl submit { - font-family: Arial, sans-serif; -} - -@media only screen and (max-width: 799px) { - body { - margin-top: 115px; - } - #logo a { - margin: -125px auto 30px; - } -} - -@media screen and ( max-width: 782px ) { - - .form-table { - margin-top: 0; - } - - .form-table th, - .form-table td { - display: block; - width: auto; - vertical-align: middle; - } - - .form-table th { - padding: 20px 0 0; - } - - .form-table td { - padding: 5px 0; - border: 0; - margin: 0; - } - - textarea, - input { - font-size: 16px; - } - - .form-table td input[type="text"], - .form-table td input[type="email"], - .form-table td input[type="url"], - .form-table td input[type="password"], - .form-table td select, - .form-table td textarea, - .form-table span.description { - width: 100%; - font-size: 16px; - line-height: 1.5; - padding: 7px 10px; - display: block; - max-width: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - -} - -body.language-chooser { - max-width: 300px; -} - -.language-chooser select { - padding: 8px; - width: 100%; - display: block; - border: 1px solid #ddd; - background-color: #fff; - color: #333; - font-size: 16px; - font-family: Arial, sans-serif; - font-weight: normal; -} - -.language-chooser p { - text-align: right; -} - -.screen-reader-input, -.screen-reader-text { - position: absolute; - margin: -1px; - padding: 0; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(0 0 0 0); - border: 0; -} - -.spinner { - background: url(../images/spinner.gif) no-repeat; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - visibility: hidden; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 2px 5px 0; -} - -.step .spinner { - display: inline-block; - margin-top: 8px; - margin-right: 15px; - vertical-align: top; -} - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .spinner { - background-image: url(../images/spinner-2x.gif); - } - -} diff --git a/sources/wordpress/wp-admin/css/install.min.css b/sources/wordpress/wp-admin/css/install.min.css deleted file mode 100644 index 4b9b23c..0000000 --- a/sources/wordpress/wp-admin/css/install.min.css +++ /dev/null @@ -1 +0,0 @@ -html{background:#f1f1f1;margin:0 20px}body{background:#fff;color:#444;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0074a2;text-decoration:none}a:hover{color:#2ea2cc}h1{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px;margin:30px 0;padding:0 0 7px;font-weight:400}h2{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 5px 5px 22px}a img{border:0}abbr{border:0;font-variant:normal}label{cursor:pointer}#logo{margin:6px 0 14px;border-bottom:none;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;color:#999;height:84px;font-size:20px;font-weight:400;line-height:1.3em;margin:-130px auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.language-chooser.wp-core-ui .step .button.button-large{height:36px;vertical-align:middle;font-size:14px}textarea{border:1px solid #dfdfdf;font-family:"Open Sans",sans-serif;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 20px 10px 0;border-bottom:8px solid #fff;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:left;padding:16px 20px 10px 0;width:140px;vertical-align:top}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}input,submit{font-family:"Open Sans",sans-serif}.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:206px}.form-table th p{font-weight:400}.form-table.install-success td{vertical-align:middle;padding:16px 20px 10px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 5px 5px 0;padding:5px;text-align:center;width:200px;display:none}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #ddd;background-color:#fff;color:#333;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser p{text-align:right}.screen-reader-input,.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;margin-top:8px;margin-right:15px;vertical-align:top}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/l10n-rtl.css b/sources/wordpress/wp-admin/css/l10n-rtl.css deleted file mode 100644 index 3deb303..0000000 --- a/sources/wordpress/wp-admin/css/l10n-rtl.css +++ /dev/null @@ -1,101 +0,0 @@ -/*------------------------------------------------------------------------------ - 27.0 - Localization -------------------------------------------------------------------------------*/ - -/* RTL except Hebrew (see below): Tahoma as the first font; */ -body.rtl, -body.rtl .press-this a.wp-switch-editor { - font-family: Tahoma, Arial, sans-serif; -} - - -/* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */ -body.locale-he-il, -body.locale-he-il .press-this a.wp-switch-editor { - font-family: Arial, sans-serif; -} - -/* he_IL: Have be bold rather than italic. */ -.locale-he-il em { - font-style: normal; - font-weight: bold; -} - -/* zh_CN: Remove italic properties. */ -.locale-zh-cn .howto, -.locale-zh-cn .tablenav .displaying-num, -.locale-zh-cn .js .input-with-default-title, -.locale-zh-cn .link-to-original, -.locale-zh-cn .inline-edit-row fieldset span.title, -.locale-zh-cn .inline-edit-row fieldset span.checkbox-title, -.locale-zh-cn #utc-time, -.locale-zh-cn #local-time, -.locale-zh-cn p.install-help, -.locale-zh-cn p.help, -.locale-zh-cn p.description, -.locale-zh-cn span.description, -.locale-zh-cn .form-wrap p { - font-style: normal; -} - -/* zh_CN: Enlarge dashboard widget 'Configure' link */ -.locale-zh-cn .hdnle a { font-size: 12px; } - -/* zn_CH: Enlarge font size, set font-size: normal */ -.locale-zh-cn form.upgrade .hint { font-style: normal; font-size: 100%; } - -/* Zn_CH: Distraction free writing. - * More beautiful font for "Just write." - * Larger text for HTML/Visual mode. - */ -.locale-zh-cn #wp-fullscreen-tagline { font-family: KaiTi, "楷体", sans-serif; } -.locale-zh-cn #wp-fullscreen-modes a { font-size: 12px; } - -/* zh_CN: Enlarge font-size. */ -.locale-zh-cn #sort-buttons { font-size: 1em !important; } - -/* de_DE: Text needs more space for translation */ -.locale-de-de .inline-edit-row fieldset label span.title { - width: 7em; /* default 5em */ -} -.locale-de-de .inline-edit-row fieldset label span.input-text-wrap { - margin-right: 7em; /* default 5em */ -} -.locale-de-de #customize-header-actions .button { - padding: 0 5px 1px; /* default 0 10px 1px */ -} -.locale-de-de #customize-header-actions .spinner { - margin: 16px 3px 0; /* default 16px 4px 0 5px */ -} - -/* ru_RU: Text needs more room to breathe. */ -.locale-ru-ru .inline-edit-row fieldset label span.title { - width: 8em; /* default 5em */ -} -.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap { - margin-right: 8em; /* default 5em */ -} -.locale-ru-ru.post-php .tagsdiv .newtag, -.locale-ru-ru.post-new-php .tagsdiv .newtag { - width: 165px; /* default 180px - 15px */ -} -.locale-ru-ru.press-this .posting { - margin-left: 277px; /* default 252px + 25px */ -} -.locale-ru-ru .press-this-sidebar { - width: 265px; /* default 240px + 25px */ -} -.locale-ru-ru #customize-header-actions .button { - padding: 0 5px 1px; /* default 0 10px 1px */ -} -.locale-ru-ru #customize-header-actions .spinner { - margin: 16px 3px 0; /* default 16px 4px 0 5px */ -} - -/* lt_LT: QuickEdit */ -.locale-lt-lt .inline-edit-row fieldset label span.title { - width: 8em; -} -.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap { - margin-right: 8em; -} diff --git a/sources/wordpress/wp-admin/css/l10n.css b/sources/wordpress/wp-admin/css/l10n.css deleted file mode 100644 index 4e40586..0000000 --- a/sources/wordpress/wp-admin/css/l10n.css +++ /dev/null @@ -1,101 +0,0 @@ -/*------------------------------------------------------------------------------ - 27.0 - Localization -------------------------------------------------------------------------------*/ - -/* RTL except Hebrew (see below): Tahoma as the first font; */ -body.rtl, -body.rtl .press-this a.wp-switch-editor { - font-family: Tahoma, Arial, sans-serif; -} - - -/* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */ -body.locale-he-il, -body.locale-he-il .press-this a.wp-switch-editor { - font-family: Arial, sans-serif; -} - -/* he_IL: Have be bold rather than italic. */ -.locale-he-il em { - font-style: normal; - font-weight: bold; -} - -/* zh_CN: Remove italic properties. */ -.locale-zh-cn .howto, -.locale-zh-cn .tablenav .displaying-num, -.locale-zh-cn .js .input-with-default-title, -.locale-zh-cn .link-to-original, -.locale-zh-cn .inline-edit-row fieldset span.title, -.locale-zh-cn .inline-edit-row fieldset span.checkbox-title, -.locale-zh-cn #utc-time, -.locale-zh-cn #local-time, -.locale-zh-cn p.install-help, -.locale-zh-cn p.help, -.locale-zh-cn p.description, -.locale-zh-cn span.description, -.locale-zh-cn .form-wrap p { - font-style: normal; -} - -/* zh_CN: Enlarge dashboard widget 'Configure' link */ -.locale-zh-cn .hdnle a { font-size: 12px; } - -/* zn_CH: Enlarge font size, set font-size: normal */ -.locale-zh-cn form.upgrade .hint { font-style: normal; font-size: 100%; } - -/* Zn_CH: Distraction free writing. - * More beautiful font for "Just write." - * Larger text for HTML/Visual mode. - */ -.locale-zh-cn #wp-fullscreen-tagline { font-family: KaiTi, "楷体", sans-serif; } -.locale-zh-cn #wp-fullscreen-modes a { font-size: 12px; } - -/* zh_CN: Enlarge font-size. */ -.locale-zh-cn #sort-buttons { font-size: 1em !important; } - -/* de_DE: Text needs more space for translation */ -.locale-de-de .inline-edit-row fieldset label span.title { - width: 7em; /* default 5em */ -} -.locale-de-de .inline-edit-row fieldset label span.input-text-wrap { - margin-left: 7em; /* default 5em */ -} -.locale-de-de #customize-header-actions .button { - padding: 0 5px 1px; /* default 0 10px 1px */ -} -.locale-de-de #customize-header-actions .spinner { - margin: 16px 3px 0; /* default 16px 4px 0 5px */ -} - -/* ru_RU: Text needs more room to breathe. */ -.locale-ru-ru .inline-edit-row fieldset label span.title { - width: 8em; /* default 5em */ -} -.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap { - margin-left: 8em; /* default 5em */ -} -.locale-ru-ru.post-php .tagsdiv .newtag, -.locale-ru-ru.post-new-php .tagsdiv .newtag { - width: 165px; /* default 180px - 15px */ -} -.locale-ru-ru.press-this .posting { - margin-right: 277px; /* default 252px + 25px */ -} -.locale-ru-ru .press-this-sidebar { - width: 265px; /* default 240px + 25px */ -} -.locale-ru-ru #customize-header-actions .button { - padding: 0 5px 1px; /* default 0 10px 1px */ -} -.locale-ru-ru #customize-header-actions .spinner { - margin: 16px 3px 0; /* default 16px 4px 0 5px */ -} - -/* lt_LT: QuickEdit */ -.locale-lt-lt .inline-edit-row fieldset label span.title { - width: 8em; -} -.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap { - margin-left: 8em; -} diff --git a/sources/wordpress/wp-admin/css/list-tables-rtl.css b/sources/wordpress/wp-admin/css/list-tables-rtl.css deleted file mode 100644 index 59eede9..0000000 --- a/sources/wordpress/wp-admin/css/list-tables-rtl.css +++ /dev/null @@ -1,1879 +0,0 @@ -/* List table styles */ -.post-com-count-wrapper { - min-width: 22px; -} - -.post-com-count { - background: none; - height: 1.3em; - line-height: 1.1em; - display: block; - text-decoration: none; - padding: 0 0 6px; - cursor: pointer; - background-position: center -80px; - background-repeat: no-repeat; - color: #fff; -} - -.post-com-count:after { /* draw bubble connector using CSS! */ - content: ""; - display: block; - width: 0; - height: 0; - margin-right: 8px; - border-top: 5px solid #bbb; - border-left: 5px solid transparent; -} - -.post-com-count span { - font-size: 11px; - font-weight: 600; - height: 1.4em; - line-height: 1.4em; - min-width: 0.7em; - padding: 0 6px; - display: inline-block; - -webkit-border-radius: 5px; - border-radius: 5px; - background-color: #bbb; - color: #fff; -} - -.post-com-count:hover { - background-position: center -3px; -} - -.post-com-count:hover span { - background-color: #2ea2cc; -} - -.post-com-count:hover:after { - border-top: 5px solid #2ea2cc; -} - -strong .post-com-count { - background-position: center -55px; -} - -strong .post-com-count span { - background-color: #0074a2; -} - -strong .post-com-count:after { - border-top: 5px solid #0074a2; -} - -.column-response .post-com-count { - float: right; - margin-left: 5px; - text-align: center; -} - -.response-links { - float: right; -} - -/* comments */ - -.commentlist li { - padding: 1em 1em .2em; - margin: 0; - border-bottom: 1px solid #ccc; -} - -.commentlist li li { - border-bottom: 0; - padding: 0; -} - -.commentlist p { - padding: 0; - margin: 0 0 .8em; -} - -#submitted-on, -.submitted-on { - color: #777; -} - -/* reply to comments */ -#replyrow td { - padding: 2px; -} - -#replysubmit { - margin: 0; - padding: 0 5px 3px; - text-align: center; -} - -#replysubmit .spinner { - padding: 2px 0 0; - vertical-align: top; - float: left; -} - -#replysubmit .button { - margin-left: 5px; -} - -#replysubmit .error { - color: red; - line-height: 21px; - text-align: center; -} - -#replyrow h5 { - margin: .2em 0 0; - padding: 0 5px; - line-height: 1.4em; - font-size: 1em; -} - -#edithead .inside { - float: right; - padding: 3px 5px 2px 0; - margin: 0; - text-align: center; -} - -#edithead .inside input { - width: 180px; -} - -#edithead label { - padding: 2px 0; -} - -#replycontainer { - padding: 5px; -} - -#replycontent { - height: 120px; - -webkit-box-shadow: none; - box-shadow: none; -} - -#replyerror { - border-color: #ddd; - background-color: #f9f9f9; -} - -/* @todo: is this used? */ -.commentlist .avatar { - vertical-align: text-top; -} - -#the-comment-list .attachment-80x60 { - padding: 4px 8px; -} - -#the-comment-list tr.undo, -#the-comment-list div.undo { - background-color: #f4f4f4; -} - -#the-comment-list .unapproved th, -#the-comment-list .unapproved td { - background-color: #fef7f1; -} - -#the-comment-list .unapproved th.check-column { - border-right: 4px solid #d54e21; -} - -#the-comment-list .unapproved th.check-column input { - margin-right: 4px; -} - -#the-comment-list .approve a { - color: #006505; -} - -#the-comment-list .unapprove a { - color: #d98500; -} - -#the-comment-list th, -#the-comment-list td { - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -#the-comment-list tr:last-child th, -#the-comment-list tr:last-child td { - -webkit-box-shadow: none; - box-shadow: none; -} - -#the-comment-list tr.unapproved + tr.approved th, -#the-comment-list tr.unapproved + tr.approved td { - border-top: 1px solid rgba(0, 0, 0, 0.03); -} - -/* table vim shortcuts */ -.vim-current, -.vim-current th, -.vim-current td { - background-color: #e4f2fd !important; -} - -th .comment-grey-bubble { - height: 16px; - width: 16px; -} - -th .comment-grey-bubble:before { - content: '\f101'; - font: normal 20px/.5 'dashicons'; - speak: none; - display: inline-block; - padding: 0; - top: 4px; - right: -4px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #444; -} - -/*------------------------------------------------------------------------------ - 10.0 - List Posts (/Pages/etc) -------------------------------------------------------------------------------*/ - -table.fixed { - table-layout: fixed; -} - -.fixed .column-rating, -.fixed .column-visible { - width: 8%; -} - -.fixed .column-posts, -.fixed .column-date, -.fixed .column-parent, -.fixed .column-links, -.fixed .column-author, -.fixed .column-format { - width: 10%; -} - -.fixed .column-posts { - width: 74px; -} - -.fixed .column-comment .comment-author { - display: none; -} - -.fixed .column-response, -.fixed .column-categories, -.fixed .column-tags, -.fixed .column-rel, -.fixed .column-role { - width: 15%; -} - -.fixed .column-slug { - width: 25%; -} - -.fixed .column-locations { - width: 35%; -} - -.fixed .column-comments { - width: 4em; - padding: 8px 0; - text-align: right; -} - -.fixed .column-comments .vers { - padding-right: 3px; -} - -.fixed .column-comments a { - float: right; -} - -.fixed .column-icon { - width: 80px; -} - -/* @todo: pick a consistent list table selector */ -.wp-list-table a { - -webkit-transition: none; - transition: none; -} - -#the-list tr:last-child td, -#the-list tr:last-child th { - border-bottom: none !important; - -webkit-box-shadow: none; - box-shadow: none; -} - -#comments-form .fixed .column-author { - width: 20%; -} - -#commentsdiv.postbox .inside { - margin: 0; - padding: 0; -} - -#commentsdiv .inside .row-actions { - line-height:18px; -} - -#commentsdiv .inside .column-author { - width: 25%; -} - -#commentsdiv .column-comment p { - margin: 0.6em 0; - padding: 0; -} - -#commentsdiv #replyrow td { - padding: 0; -} - -#commentsdiv p { - padding: 8px 10px; - margin: 0; -} - -#commentsdiv .comments-box { - border: 0 none; -} - -#commentsdiv .comments-box thead th { - background: transparent; - padding: 0 7px 4px; - font-style: italic; -} - -#commentsdiv .comments-box tr:last-child td { - border-bottom: 0 none; -} - -#commentsdiv .spinner { - padding-right: 5px; -} - -.sorting-indicator { - display: none; - width: 10px; - height: 4px; - margin-top: 8px; - margin-right: 7px; -} - -.sorting-indicator:before { - background: none; - content: '\f142'; - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 0; - top: -4px; - right: -8px; - color: #444; - line-height: 10px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #444; -} - -.column-comments .sorting-indicator:before { - top: 0; - right: -10px; -} - -th.sorted.asc .sorting-indicator:before, -th.desc:hover span.sorting-indicator:before { - content: '\f142'; -} - -th.sorted.desc .sorting-indicator:before, -th.asc:hover span.sorting-indicator:before { - content: '\f140'; -} - -tr.wp-locked .locked-indicator { - margin-right: 6px; - height: 20px; - width: 16px; -} - -tr.wp-locked .locked-indicator:before { - color: #888; - content: '\f160'; - display: inline-block; - float: right; - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: middle; - margin-right: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -tr.wp-locked .check-column label, -tr.wp-locked .check-column input[type="checkbox"], -tr.wp-locked .row-actions .inline, -tr.wp-locked .row-actions .trash { - display: none; -} - -tr .locked-info { - height: 0; - opacity: 0; -} - -tr.wp-locked .locked-info { - margin-top: 8px; - height: auto; - opacity: 1; -} - -.locked-text { - vertical-align: top; -} - -tr.locked-info, tr.wp-locked .locked-info { - -webkit-transition: height 1s, opacity 0.5s; - transition: height 1s, opacity 0.5s; -} - -.fixed .column-comments .sorting-indicator { - margin-top: 3px; -} - -#menu-locations-wrap .widefat { - width: 60%; -} - -.widefat th.sortable, -.widefat th.sorted { - padding: 0; -} - -th.sortable a, -th.sorted a { - display: block; - overflow: hidden; - padding: 7px 10px 8px 7px; -} - -th.manage-column a, -th.sortable a:hover, -th.sortable a:active, -th.sortable a:focus { - color: #333; -} - -th.sortable a:focus { - background: #e1e1e1; -} - -.fixed .column-comments.sortable a, -.fixed .column-comments.sorted a { - padding: 8px 0; -} - -th.sortable a span, -th.sorted a span { - float: right; - cursor: pointer; -} - -th.sorted.asc .sorting-indicator, -th.desc:hover span.sorting-indicator { - display: block; - background-position: 0 0; -} - -th.sorted.desc .sorting-indicator, -th.asc:hover span.sorting-indicator { - display: block; - background-position: -7px 0; -} - -/* Bulk Actions */ -.tablenav-pages a { - font-weight: 600; - margin-left: 1px; - padding: 0 2px; -} -.tablenav-pages .current-page { - padding-top: 0; - text-align: center; -} -.tablenav-pages .next-page { - margin-right: 2px; -} - -.tablenav a.button-secondary { - display: block; - margin: 3px 0 0 8px; -} - -.tablenav { - clear: both; - height: 30px; - margin: 6px 0 4px; - vertical-align: middle; -} - -.tablenav.themes { - max-width: 98%; -} - -.tablenav .tablenav-pages { - float: left; - display: block; - cursor: default; - height: 30px; - color: #555; - line-height: 30px; - font-size: 12px; -} - -.tablenav .no-pages, -.tablenav .one-page .pagination-links { - display: none; -} - -.tablenav .tablenav-pages a, -.tablenav-pages span.current { - text-decoration: none; - padding: 3px 6px; -} - -.tablenav .tablenav-pages a { - padding: 0 10px 3px; - background: #eee; - background: rgba( 0, 0, 0, 0.05 ); - font-size: 16px; - font-weight: normal; -} - -.tablenav .tablenav-pages a:hover, -.tablenav .tablenav-pages a:focus { - color: #fff; - background: #2ea2cc; -} - -.tablenav .tablenav-pages a.disabled, -.tablenav .tablenav-pages a.disabled:hover, -.tablenav .tablenav-pages a.disabled:focus, -.tablenav .tablenav-pages a.disabled:active { - color: #aaa; - background: #eee; - background: rgba( 0, 0, 0, 0.05 ); -} - -.tablenav .displaying-num { - margin-left: 2px; - color: #777; - font-size: 12px; - font-style: italic; -} - -.tablenav .actions { - overflow: hidden; - padding: 2px 0 0 8px; -} - -.wp-filter .actions { - display: inline-block; - vertical-align: middle; -} - -.tablenav .delete { - margin-left: 20px; -} - -/* @todo: unclear if the following tablenav rules are actually used. -classes exist in paginate_links() but not seen in list table output. */ -.tablenav .dots { - border-color: transparent; -} - -.tablenav .next, -.tablenav .prev { - border-color: transparent; - color: #0074a2; -} - -.tablenav .next:hover, -.tablenav .prev:hover { - border-color: transparent; - color: #2ea2cc; -} - -.tablenav .view-switch { - float: left; - margin: 5px 8px 0 16px; -} - -.wp-filter .view-switch { - display: inline-block; - vertical-align: middle; - padding: 14px 0; - margin: 0 0 0 20px; -} - -.view-switch a { - text-decoration: none; -} - -.view-switch > a { - display: inline-block; - width: 18px; - height: 18px; -} - -.view-switch > a:before { - color: #bbb; - display: inline-block; - float: right; - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: middle; - margin-right: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.view-switch > .view-list:before { - content: '\f163'; -} - -.view-switch a:hover:before { - color: #727272; -} - -.view-switch a.current:before { - color: #0074a2; -} - -.view-switch > a + a { - margin-right: 5px; -} - -.view-switch > .view-excerpt:before { - content: '\f164'; -} - -.view-switch > .view-grid:before { - content: '\f509'; -} - -.filter { - float: right; - margin: -5px 10px 0 0; -} - -.filter .subsubsub { - margin-right: -10px; - margin-top: 13px; -} -.screen-per-page { - width: 4em; -} - -#posts-filter .wp-filter { - margin-bottom: 0; -} - -#posts-filter fieldset { - float: right; - margin: 0 0 1em 1.5ex; - padding: 0; -} - -#posts-filter fieldset legend { - padding: 0 1px .2em 0; -} - -p.pagenav { - margin: 0; - display: inline; -} - -.pagenav span { - font-weight: 600; - margin: 0 6px; -} - -.row-title { - font-size: 14px !important; - font-weight: 600; -} - -.column-comment .comment-author { - margin-bottom: 0.6em; -} - -.column-author img, -.column-username img, -.column-comment .comment-author img { - float: right; - margin-left: 10px; - margin-top: 1px; -} - -.row-actions { - color: #ddd; - font-size: 13px; - visibility: hidden; - padding: 2px 0 0; -} - -tr:hover .row-actions, -.mobile .row-actions, -.row-actions.visible, -div.comment-item:hover .row-actions { - visibility: visible; -} - -/* deprecated */ -.row-actions-visible { - padding: 2px 0 0; -} - - -/*------------------------------------------------------------------------------ - 10.1 - Inline Editing -------------------------------------------------------------------------------*/ - -/* -.quick-edit* is for Quick Edit -.bulk-edit* is for Bulk Edit -.inline-edit* is for everything -*/ - -/* Layout */ - -#wpbody-content .inline-edit-row fieldset { - font-size: 12px; - float: right; - margin: 0; - padding: 0; - width: 100%; -} - -tr.inline-edit-row td, -#wpbody-content .inline-edit-row fieldset .inline-edit-col { - padding: 0 0.5em; -} - -#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col { - border-width: 0 1px 0 0; - border-style: none none none solid; -} - -#wpbody-content .quick-edit-row-post .inline-edit-col-left { - width: 40%; -} - -#wpbody-content .quick-edit-row-post .inline-edit-col-right { - width: 39%; -} - -#wpbody-content .inline-edit-row-post .inline-edit-col-center { - width: 20%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-left { - width: 50%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-right, -#wpbody-content .bulk-edit-row-post .inline-edit-col-right { - width: 49%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-left { - width: 30%; -} - -#wpbody-content .bulk-edit-row-page .inline-edit-col-right { - width: 69%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-bottom { - float: left; - width: 69%; -} - -#wpbody-content .inline-edit-row-page .inline-edit-col-right { - margin-top: 27px; -} - -.inline-edit-row fieldset .inline-edit-group { - clear: both; -} - -.inline-edit-row fieldset .inline-edit-group:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -.inline-edit-row p.submit { - clear: both; - padding: 0.5em; - margin: 0.5em 0 0; -} - -.inline-edit-row span.error { - line-height: 22px; - margin: 0 15px; - padding: 3px 5px; -} - -/* Positioning */ -.inline-edit-row h4 { - margin: .2em 0; - padding: 0; - line-height: 23px; -} -.inline-edit-row fieldset span.title, -.inline-edit-row fieldset span.checkbox-title { - margin: 0; - padding: 0; - line-height: 27px; -} - -.inline-edit-row fieldset label, -.inline-edit-row fieldset span.inline-edit-categories-label { - display: block; - margin: .2em 0; -} - -.inline-edit-row fieldset label.inline-edit-tags { - margin-top: 0; -} - -.inline-edit-row fieldset label.inline-edit-tags span.title { - margin: .2em 0; - width: auto; -} - -.inline-edit-row fieldset label span.title { - display: block; - float: right; - width: 5em; -} - -.inline-edit-row fieldset label span.input-text-wrap { - display: block; - margin-right: 5em; -} - -.quick-edit-row-post fieldset.inline-edit-col-right label span.title { - width: auto; - padding-left: 0.5em; -} - -.inline-edit-row .input-text-wrap input[type=text] { - width: 100%; -} - -.inline-edit-row fieldset label input[type=checkbox] { - vertical-align: text-bottom; -} - -.inline-edit-row fieldset label textarea { - width: 100%; - height: 4em; -} - -#wpbody-content .bulk-edit-row fieldset .inline-edit-group label { - max-width: 50%; -} - -#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child { - margin-left: 0.5em -} - -.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input { - width: 6em; -} - -.inline-edit-save .spinner { - padding: 4px 10px 0; - vertical-align: top; - float: left; -} - -/* Styling */ -.inline-edit-row h4 { - text-transform: uppercase; -} - -.inline-edit-row fieldset span.title, -.inline-edit-row fieldset span.checkbox-title { - font-style: italic; - line-height: 1.8em; -} - -/* Specific Elements */ -.inline-edit-row fieldset .inline-edit-date { - float: right; -} - -.inline-edit-row fieldset input[name=jj], -.inline-edit-row fieldset input[name=hh], -.inline-edit-row fieldset input[name=mn] { - font-size: 12px; - width: 2.1em; -} - -.inline-edit-row fieldset input[name=aa] { - font-size: 12px; - width: 3.5em; -} - -.inline-edit-row fieldset label input.inline-edit-password-input { - width: 8em; -} - -ul.cat-checklist { - height: 12em; - border: solid 1px #ddd; - overflow-y: scroll; - padding: 0 5px; - margin: 0; - background-color: #fff; -} - -#bulk-titles { - display: block; - height: 12em; - border: 1px solid #ddd; - overflow-y: scroll; - padding: 0 5px; - margin: 0 0 5px; -} - -.inline-edit-row fieldset ul.cat-checklist li, -.inline-edit-row fieldset ul.cat-checklist input { - margin: 0; - position: relative; /* RTL fix, #WP27629 */ -} - -.inline-edit-row fieldset ul.cat-checklist label, -.inline-edit-row #bulk-titles div { - font-style: normal; - font-size: 11px; -} - -.inline-edit-row fieldset label input.inline-edit-menu-order-input { - width: 3em; -} - -.inline-edit-row fieldset label input.inline-edit-slug-input { - width: 75%; -} - -.inline-edit-row #post_parent, -.inline-edit-row select[name="page_template"] { - max-width: 80%; -} - -.ie8 .inline-edit-row #post_parent, -.ie8 .inline-edit-row select[name="page_template"] { - width: 250px; -} - -.quick-edit-row-post fieldset label.inline-edit-status { - float: right; -} - -#bulk-titles { - line-height: 140%; -} -#bulk-titles div { - margin: 0.2em 0.3em; -} - -#bulk-titles div a { - cursor: pointer; - display: block; - float: right; - height: 18px; - margin: 0 -2px 0 3px; - overflow: hidden; - position: relative; - width: 20px; -} - -#bulk-titles div a:before { - position: relative; - top: -3px; -} - -/*------------------------------------------------------------------------------ - 17.0 - Plugins -------------------------------------------------------------------------------*/ - -.plugins tbody th.check-column, -.plugins tbody { - padding: 8px 2px 0 0; -} - -.plugins tbody th.check-column input[type=checkbox] { - margin-top: 4px; -} - -#update-plugins-table tbody td p { - margin-top: 0; -} - -#update-plugins-table tbody td p strong { - font-size: 14px; -} - -.plugins thead th.check-column, -.plugins tfoot th.check-column, -.plugins .inactive th.check-column { - padding-right: 6px; -} - -#update-plugins-table thead th.check-column, -#update-plugins-table tfoot th.check-column { - padding-top: 11px; -} - -.plugins, -.plugins th, -.plugins td { - color: #000; -} - -.plugins tr { - background: #fff; -} - -.plugins p { - margin: 0 4px; - padding: 0; -} - -.plugins .desc p { - margin: 0 0 8px; -} - -.plugins td.desc { - line-height: 1.5em; -} - -.plugins .desc ul, -.plugins .desc ol { - margin: 0 2em 0 0; -} - -.plugins .desc ul { - list-style-type: disc; -} - -.plugins .row-actions { - font-size: 13px; - padding: 0; -} - -.plugins .inactive td, -.plugins .inactive th, -.plugins .active td, -.plugins .active th { - padding: 10px 9px; -} - -.plugins .active td, -.plugins .active th { - background-color: #f7fcfe; -} - -.plugins .update th, -.plugins .update td { - border-bottom: 0; -} - -.plugin-update-tr td { - border-top: 0; -} - -.plugins .inactive td, -.plugins .inactive th, -.plugins .active td, -.plugins .active th, -.plugin-install #the-list td, -.upgrade .plugins td, -.upgrade .plugins th { - -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); -} - -.plugins tr.active.plugin-update-tr + tr.inactive th, -.plugins tr.active.plugin-update-tr + tr.inactive td, -.plugins tr.active + tr.inactive th, -.plugins tr.active + tr.inactive td { - border-top: 1px solid rgba(0,0,0,0.03); - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1; -} - -.plugins .update td, -.plugins .update th, -.upgrade .plugins tr:last-of-type td, -.upgrade .plugins tr:last-of-type th, -.plugins tr.active + tr.inactive.update th, -.plugins tr.active + tr.inactive.update td { - -webkit-box-shadow: none; - box-shadow: none; -} - -.plugins .active.update td, -.plugins .active.update th, -tr.active.update + tr.plugin-update-tr .plugin-update { - background-color: #fef7f1; -} - -.plugins .active th.check-column { - border-right: 4px solid #2ea2cc; -} - -.plugins .active.update th.check-column, -.plugins .active.update + .plugin-update-tr .plugin-update { - border-right: 4px solid #d54e21; -} - -#wpbody-content .plugins .plugin-title, -#wpbody-content .plugins .theme-title { - padding-left: 12px; - white-space:nowrap; -} - -.plugins .inactive .plugin-title strong { - font-weight: 400; -} - -.plugins .second, -.plugins .row-actions { - padding: 0 0 5px; -} - -.plugins .update .second, -.plugins .update .row-actions { - padding-bottom: 0; -} - -.plugins-php .widefat tfoot th, -.plugins-php .widefat tfoot td { - border-top-style: solid; - border-top-width: 1px; -} - -.plugin-update-tr .update-message { - font-size: 13px; - font-weight: normal; - margin: 6px 12px 12px; - padding: 6px 12px; - margin: 0 31px 8px 10px; - background-color: #f7f7f7; - background-color: rgba(0,0,0,0.03); -} - -.plugin-update-tr .update-message:before { - color: #d54e21; - content: '\f463'; - display: inline-block; - font: normal 20px/1 'dashicons'; - speak: none; - margin: 0 -2px 0 8px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: top; -} - -.plugins .plugin-update { - padding: 0; - border: none; - -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); -} - -/* update notices for active plugins */ -tr.active + tr.plugin-update-tr .plugin-update { - background-color: #f7fcfe; -} - -tr.active + tr.plugin-update-tr .plugin-update .update-message { - background-color: #fcf3ef; -} - -.plugin-install-php h3 { - clear: both; -} - -.plugin-install-php h4 { - margin: 2.5em 0 8px; -} - -.plugin-install-php .wp-filter { - margin-bottom: 0; -} - -/* Plugin card table view */ -.plugin-group { - overflow: hidden; /* clearfix */ - margin-top: 1.5em; -} - -.plugin-group h3 { - margin-top: 0; -} - -.plugin-card { - float: right; - margin: 0 8px 16px; - width: 48.5%; - width: -webkit-calc( 50% - 8px ); - width: calc( 50% - 8px ); - background-color: #fff; - border: 1px solid #dedede; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.plugin-card:nth-child(odd) { - clear: both; - margin-right: 0; -} - -.plugin-card:nth-child(even) { - margin-left: 0; -} - -@media screen and ( min-width: 1600px ) { - .plugin-card { - width: 30%; - width: -webkit-calc( 33.1% - 8px ); - width: calc( 33.1% - 8px ); - } - - .plugin-card:nth-child(odd) { - clear: none; - margin-right: 8px; - } - - .plugin-card:nth-child(even) { - margin-left: 8px; - } - - .plugin-card:nth-child(3n+1) { - clear: both; - margin-right: 0; - } - - .plugin-card:nth-child(3n) { - margin-left: 0; - } -} - -@media screen and ( max-width: 782px ) { - .plugin-card { - margin-right: 0; - margin-left: 0; - width: 100%; - } -} - -.plugin-card-top { - position: relative; - padding: 20px 20px 10px; - min-height: 135px; -} - -div.action-links, -.plugin-action-buttons { - margin: 0; /* Override existing margins */ -} - -.plugin-card h4 { - margin: 0 0 12px; - font-size: 18px; - line-height: 1.3; -} - -.plugin-card .name, -.plugin-card .desc { - margin-right: 148px; /* icon + margin */ - margin-left: 120px; /* action links */ -} - -.plugin-card .action-links { - position: absolute; - top: 20px; - left: 20px; - width: 120px; -} - -.plugin-action-buttons { - clear: left; - float: left; - margin-right: 2em; - margin-bottom: 1em; - text-align: left; -} - -.plugin-action-buttons li { - margin-bottom: 10px; -} - -.plugin-card-bottom { - clear: both; - padding: 12px 20px; - background-color: #fafafa; - border-top: 1px solid #dedede; - overflow: hidden; -} - -.plugin-card-bottom .star-rating { - display: inline; -} - -.plugin-card .column-rating { - line-height: 23px; -} - -.plugin-card .column-rating, -.plugin-card .column-updated { - margin-bottom: 4px; -} - -.plugin-card .column-rating, -.plugin-card .column-downloaded { - float: right; - clear: right; - max-width: 180px; -} - -.plugin-card .column-updated, -.plugin-card .column-compatibility { - text-align: left; - float: left; - clear: left; - width: 65%; - width: -webkit-calc( 100% - 180px ); - width: calc( 100% - 180px ); -} - -.plugin-card .column-compatibility span:before { - font: normal 20px/.5 'dashicons'; - speak: none; - display: inline-block; - padding: 0; - top: 4px; - right: -2px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #444; -} - -.plugin-card .compatibility-incompatible:before { - content: '\f158'; -} - -.plugin-card .compatibility-compatible:before { - content: '\f147'; -} - -.plugin-card .compatibility-untested strong { - font-weight: normal; -} - -.plugin-icon { - position: absolute; - top: 20px; - right: 20px; - width: 128px; - height: 128px; - margin: 0 0 20px 20px; -} - -.plugin-icon img { - width: 128px; - height: 128px; -} - -.no-plugin-results { - color: #999; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0 0; - text-align: center; -} - -/* ms */ -/* Background Color for Site Status */ -.wp-list-table .site-deleted { - background: #ff8573; -} -.wp-list-table .site-spammed { - background: #faafaa; -} -.wp-list-table .site-archived { - background: #ffebe8; -} -.wp-list-table .site-mature { - background: #fecac2; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and ( max-width: 1100px ) and ( min-width: 782px ), ( max-width: 480px ) { - .plugin-card .action-links { - position: static; - margin-right: 148px; - width: auto; - } - - .plugin-action-buttons { - float: none; - margin: 1em 0 0; - text-align: right; - } - - .plugin-action-buttons li { - display: inline-block; - vertical-align: middle; - } - - .plugin-action-buttons li .button { - margin-left: 20px; - } - - .plugin-card .name, - .plugin-card .desc { - margin-left: 0; - } - - .plugin-card .desc p:first-of-type { - margin-top: 0; - } -} - -@media screen and ( max-width: 782px ) { - /* WP List Table Options & Filters */ - .tablenav { - height: auto; - } - - .tablenav.top { - margin: 20px 0 5px 0; - } - - .tablenav.bottom { - position: relative; - margin-top: 15px; - } - - .tablenav br { - display: none; - } - - .tablenav br.clear { - display: block; - } - - .tablenav.top .actions, - .tablenav .view-switch { - display: none; - } - - /* Pagination */ - .tablenav.top .displaying-num { - display: none; - } - - .tablenav.bottom .displaying-num { - position: absolute; - left: 0; - top: 10px; - font-size: 14px; - } - - .tablenav-pages { - width: 100%; - text-align: center; - margin: 0 0 25px; - } - - .tablenav.bottom .tablenav-pages { - margin-top: 25px; - } - - .tablenav.top .tablenav-pages.one-page { - display: none; - } - - .tablenav.bottom .tablenav-pages.one-page { - margin: 15px 0 0 0; - height: 0; - } - - .tablenav-pages .pagination-links .paging-input { - font-size: 18px; - } - - .tablenav-pages .pagination-links a { - padding: 8px 20px 11px; - font-size: 18px; - background: rgba(0, 0, 0, 0.05); - } - - .tablenav-pages .pagination-links .current-page { - padding: 10px; - font-size: 14px; - } - - /* WP List Table Adjustments: General */ - .form-wrap > p { - display: none; - } - - .comment-count { - font-size: 14px; - } - - /* Columns to hide */ - .fixed .column-date, - .fixed .column-author, - .column-categories, - .column-tags, - .tags .column-description, - .media .column-parent, - .users .column-email, - .users .column-name, - .sites .column-registered, - .sites .column-users { - display: none; - } - - .fixed .column-comment .comment-author { - display: block; - } - - /* Posts */ - .column-title { - width: 85%; - } - - .fixed .column-comments, .widefat .check-column { - width: 35px - } - - .widefat thead .check-column, .widefat tfoot .check-column { - padding: 10px 0 10px; - } - - .widefat * { - word-wrap: normal; - } - - /* Quick Edit and Bulk Edit */ - #wpbody-content .quick-edit-row-post .inline-edit-col-left, - #wpbody-content .quick-edit-row-post .inline-edit-col-right, - #wpbody-content .inline-edit-row-post .inline-edit-col-center, - #wpbody-content .quick-edit-row-page .inline-edit-col-left, - #wpbody-content .quick-edit-row-page .inline-edit-col-right, - #wpbody-content .bulk-edit-row-post .inline-edit-col-right, - #wpbody-content .bulk-edit-row .inline-edit-col-left, - #wpbody-content .bulk-edit-row-page .inline-edit-col-right, - #wpbody-content .bulk-edit-row .inline-edit-col-bottom { - float: none; - width: 100%; - } - - #wpbody-content .quick-edit-row fieldset .inline-edit-col label, - #wpbody-content .quick-edit-row fieldset .inline-edit-group label, - #wpbody-content .bulk-edit-row fieldset .inline-edit-col label, - #wpbody-content .bulk-edit-row fieldset .inline-edit-group label { - max-width: none; - float: none; - margin-bottom: 5px; - } - - #wpbody .bulk-edit-row fieldset select { - display: block; - width: 100%; - max-width: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - - .inline-edit-row fieldset ul.cat-checklist label, - .inline-edit-row #bulk-titles div { - font-size: 16px; - } - - .inline-edit-row fieldset label span.title { - float: none; - } - - .inline-edit-row fieldset label.inline-edit-tags { - padding: 0 0.5em; - } - - .inline-edit-row fieldset .inline-edit-col label.inline-edit-tags { - padding: 0; - } - - .inline-edit-row fieldset label span.input-text-wrap { - margin-right: 0; - } - - .inline-edit-row fieldset input[name=jj], - .inline-edit-row fieldset input[name=hh], - .inline-edit-row fieldset input[name=mn] { - width: 3em; - } - - .inline-edit-row fieldset input[name=aa] { - width: 4.5em; - } - - #bulk-titles div { - margin: 0.8em 0.3em; - } - - #bulk-titles div a { - height: 22px; - } - - /* Taxonomies */ - .tags .column-posts { - width: 74px; - } - - .tags .column-slug { - width: 30%; - } - - /* Comments */ - .comments .column-response { - width: 35%; - } - - /* Users */ - .users .column-role { - width: 35%; - } - - /* Network admin sites */ - .sites .column-blogname { - width: 55%; - } - - /* Updates */ - #wpbody-content #update-themes-table .plugin-title { - width: auto; - } - - /* Links */ - .link-manager-php #posts-filter { - margin-top: 25px; - } - - .link-manager-php .tablenav.bottom { - overflow: hidden; - } - - /* Plugin/Theme Management Page */ - .wp-list-table.plugins { - position: relative; - margin-top: 35px; - margin-bottom: 50px; - } - - .wp-list-table.plugins thead .column-description, - #wpbody-content .wp-list-table.plugins tfoot .column-description, - .wp-list-table.plugins th#description { - display: none; - } - - #wpbody-content .wp-list-table.plugins, - #wpbody-content .wp-list-table.plugins thead, - #wpbody-content .wp-list-table.plugins tbody, - #wpbody-content .wp-list-table.plugins tr, - #wpbody-content .wp-list-table.plugins .column-description, - #wpbody-content .wp-list-table.plugins .plugin-title, - #wpbody-content .wp-list-table.plugins .theme-title, - #wpbody-content .wp-list-table.plugins .plugin-update, - #wpbody-content .wp-list-table.plugins .manage-column.column-name { - display: block; - width: auto; - } - - .wp-list-table.plugins thead, - .wp-list-table.plugins tfoot { - position: absolute; - top: -35px; - right: 0; - left: 0; - width: auto; - height: 35px; - } - - .wp-list-table.plugins tfoot { - bottom: -35px; - top: auto; - } - - .active, .inactive { - padding-top: 0; - } - - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title { - padding-top: 13px; - padding-bottom: 4px; - } - - .plugins tr.active + tr.inactive th.check-column, - .plugins tr.active + tr.inactive td, - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title, - .wp-list-table.plugins tbody th { - -webkit-box-shadow: none; - box-shadow: none; - } - - .plugins tbody { - padding: 1px 0 0; - } - - .plugins tr.active + tr.inactive td.column-description { - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - } - - .plugins tr.active + tr.inactive th.check-column, - .plugins tr.active + tr.inactive td { - border-top: none; - } - - .wp-list-table.plugins .column-description { - padding-top: 0; - } - - .wp-list-table.plugins .manage-column.column-name, - .wp-list-table.plugins .column-description, - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title { - padding-left: 12px; - padding-right: 46px; - } - - .wp-list-table.plugins tr { - position: relative; - } - - .wp-list-table.plugins th.check-column, - .wp-list-table.plugins tr.update th.check-column { - position: absolute; - height: auto; - top: 0; - bottom: 0; - right: 0; - padding-right: 2px; - padding-top: 18px; - } - - .wp-list-table.plugins thead th.check-column, - .wp-list-table.plugins tfoot th.check-column { - padding-right: 3px; - padding-top: 11px; - background: none; - } - - .widefat tbody th.check-column input[type="checkbox"] { - margin-top: -3px; - margin-right: 8px; - } - - .wp-list-table.plugins .active .check-column input, - .wp-list-table.plugins .update .check-column input { - margin-right: 5px; - } - - .wp-list-table.plugins thead .check-column input, - .wp-list-table.plugins tfoot .check-column input { - margin-top: -6px; - } - - .wp-list-table.plugins .active th.check-column { - background: none; - } - - .wp-list-table.plugins .plugin-title strong, - .wp-list-table.plugins .theme-title strong { - font-size: 1.4em; - line-height: 1.6em; - } - - /* Add New plugins page */ - table.plugin-install .column-name, - table.plugin-install .column-version, - table.plugin-install .column-rating, - table.plugin-install .column-description { - display: block; - width: auto; - } - - table.plugin-install th.column-name, - table.plugin-install th.column-version, - table.plugin-install th.column-rating, - table.plugin-install th.column-description { - display: none; - } - - table.plugin-install td.column-name strong { - font-size: 1.4em; - line-height: 1.6em; - } - - table.plugin-install #the-list td { - -webkit-box-shadow: none; - box-shadow: none; - } - - table.plugin-install #the-list tr { - display: block; - -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); - } -} diff --git a/sources/wordpress/wp-admin/css/list-tables.css b/sources/wordpress/wp-admin/css/list-tables.css deleted file mode 100644 index a2fc7bc..0000000 --- a/sources/wordpress/wp-admin/css/list-tables.css +++ /dev/null @@ -1,1879 +0,0 @@ -/* List table styles */ -.post-com-count-wrapper { - min-width: 22px; -} - -.post-com-count { - background: none; - height: 1.3em; - line-height: 1.1em; - display: block; - text-decoration: none; - padding: 0 0 6px; - cursor: pointer; - background-position: center -80px; - background-repeat: no-repeat; - color: #fff; -} - -.post-com-count:after { /* draw bubble connector using CSS! */ - content: ""; - display: block; - width: 0; - height: 0; - margin-left: 8px; - border-top: 5px solid #bbb; - border-right: 5px solid transparent; -} - -.post-com-count span { - font-size: 11px; - font-weight: 600; - height: 1.4em; - line-height: 1.4em; - min-width: 0.7em; - padding: 0 6px; - display: inline-block; - -webkit-border-radius: 5px; - border-radius: 5px; - background-color: #bbb; - color: #fff; -} - -.post-com-count:hover { - background-position: center -3px; -} - -.post-com-count:hover span { - background-color: #2ea2cc; -} - -.post-com-count:hover:after { - border-top: 5px solid #2ea2cc; -} - -strong .post-com-count { - background-position: center -55px; -} - -strong .post-com-count span { - background-color: #0074a2; -} - -strong .post-com-count:after { - border-top: 5px solid #0074a2; -} - -.column-response .post-com-count { - float: left; - margin-right: 5px; - text-align: center; -} - -.response-links { - float: left; -} - -/* comments */ - -.commentlist li { - padding: 1em 1em .2em; - margin: 0; - border-bottom: 1px solid #ccc; -} - -.commentlist li li { - border-bottom: 0; - padding: 0; -} - -.commentlist p { - padding: 0; - margin: 0 0 .8em; -} - -#submitted-on, -.submitted-on { - color: #777; -} - -/* reply to comments */ -#replyrow td { - padding: 2px; -} - -#replysubmit { - margin: 0; - padding: 0 5px 3px; - text-align: center; -} - -#replysubmit .spinner { - padding: 2px 0 0; - vertical-align: top; - float: right; -} - -#replysubmit .button { - margin-right: 5px; -} - -#replysubmit .error { - color: red; - line-height: 21px; - text-align: center; -} - -#replyrow h5 { - margin: .2em 0 0; - padding: 0 5px; - line-height: 1.4em; - font-size: 1em; -} - -#edithead .inside { - float: left; - padding: 3px 0 2px 5px; - margin: 0; - text-align: center; -} - -#edithead .inside input { - width: 180px; -} - -#edithead label { - padding: 2px 0; -} - -#replycontainer { - padding: 5px; -} - -#replycontent { - height: 120px; - -webkit-box-shadow: none; - box-shadow: none; -} - -#replyerror { - border-color: #ddd; - background-color: #f9f9f9; -} - -/* @todo: is this used? */ -.commentlist .avatar { - vertical-align: text-top; -} - -#the-comment-list .attachment-80x60 { - padding: 4px 8px; -} - -#the-comment-list tr.undo, -#the-comment-list div.undo { - background-color: #f4f4f4; -} - -#the-comment-list .unapproved th, -#the-comment-list .unapproved td { - background-color: #fef7f1; -} - -#the-comment-list .unapproved th.check-column { - border-left: 4px solid #d54e21; -} - -#the-comment-list .unapproved th.check-column input { - margin-left: 4px; -} - -#the-comment-list .approve a { - color: #006505; -} - -#the-comment-list .unapprove a { - color: #d98500; -} - -#the-comment-list th, -#the-comment-list td { - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -#the-comment-list tr:last-child th, -#the-comment-list tr:last-child td { - -webkit-box-shadow: none; - box-shadow: none; -} - -#the-comment-list tr.unapproved + tr.approved th, -#the-comment-list tr.unapproved + tr.approved td { - border-top: 1px solid rgba(0, 0, 0, 0.03); -} - -/* table vim shortcuts */ -.vim-current, -.vim-current th, -.vim-current td { - background-color: #e4f2fd !important; -} - -th .comment-grey-bubble { - height: 16px; - width: 16px; -} - -th .comment-grey-bubble:before { - content: '\f101'; - font: normal 20px/.5 'dashicons'; - speak: none; - display: inline-block; - padding: 0; - top: 4px; - left: -4px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #444; -} - -/*------------------------------------------------------------------------------ - 10.0 - List Posts (/Pages/etc) -------------------------------------------------------------------------------*/ - -table.fixed { - table-layout: fixed; -} - -.fixed .column-rating, -.fixed .column-visible { - width: 8%; -} - -.fixed .column-posts, -.fixed .column-date, -.fixed .column-parent, -.fixed .column-links, -.fixed .column-author, -.fixed .column-format { - width: 10%; -} - -.fixed .column-posts { - width: 74px; -} - -.fixed .column-comment .comment-author { - display: none; -} - -.fixed .column-response, -.fixed .column-categories, -.fixed .column-tags, -.fixed .column-rel, -.fixed .column-role { - width: 15%; -} - -.fixed .column-slug { - width: 25%; -} - -.fixed .column-locations { - width: 35%; -} - -.fixed .column-comments { - width: 4em; - padding: 8px 0; - text-align: left; -} - -.fixed .column-comments .vers { - padding-left: 3px; -} - -.fixed .column-comments a { - float: left; -} - -.fixed .column-icon { - width: 80px; -} - -/* @todo: pick a consistent list table selector */ -.wp-list-table a { - -webkit-transition: none; - transition: none; -} - -#the-list tr:last-child td, -#the-list tr:last-child th { - border-bottom: none !important; - -webkit-box-shadow: none; - box-shadow: none; -} - -#comments-form .fixed .column-author { - width: 20%; -} - -#commentsdiv.postbox .inside { - margin: 0; - padding: 0; -} - -#commentsdiv .inside .row-actions { - line-height:18px; -} - -#commentsdiv .inside .column-author { - width: 25%; -} - -#commentsdiv .column-comment p { - margin: 0.6em 0; - padding: 0; -} - -#commentsdiv #replyrow td { - padding: 0; -} - -#commentsdiv p { - padding: 8px 10px; - margin: 0; -} - -#commentsdiv .comments-box { - border: 0 none; -} - -#commentsdiv .comments-box thead th { - background: transparent; - padding: 0 7px 4px; - font-style: italic; -} - -#commentsdiv .comments-box tr:last-child td { - border-bottom: 0 none; -} - -#commentsdiv .spinner { - padding-left: 5px; -} - -.sorting-indicator { - display: none; - width: 10px; - height: 4px; - margin-top: 8px; - margin-left: 7px; -} - -.sorting-indicator:before { - background: none; - content: '\f142'; - font: normal 20px/1 'dashicons'; - speak: none; - display: inline-block; - padding: 0; - top: -4px; - left: -8px; - color: #444; - line-height: 10px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #444; -} - -.column-comments .sorting-indicator:before { - top: 0; - left: -10px; -} - -th.sorted.asc .sorting-indicator:before, -th.desc:hover span.sorting-indicator:before { - content: '\f142'; -} - -th.sorted.desc .sorting-indicator:before, -th.asc:hover span.sorting-indicator:before { - content: '\f140'; -} - -tr.wp-locked .locked-indicator { - margin-left: 6px; - height: 20px; - width: 16px; -} - -tr.wp-locked .locked-indicator:before { - color: #888; - content: '\f160'; - display: inline-block; - float: left; - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: middle; - margin-left: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -tr.wp-locked .check-column label, -tr.wp-locked .check-column input[type="checkbox"], -tr.wp-locked .row-actions .inline, -tr.wp-locked .row-actions .trash { - display: none; -} - -tr .locked-info { - height: 0; - opacity: 0; -} - -tr.wp-locked .locked-info { - margin-top: 8px; - height: auto; - opacity: 1; -} - -.locked-text { - vertical-align: top; -} - -tr.locked-info, tr.wp-locked .locked-info { - -webkit-transition: height 1s, opacity 0.5s; - transition: height 1s, opacity 0.5s; -} - -.fixed .column-comments .sorting-indicator { - margin-top: 3px; -} - -#menu-locations-wrap .widefat { - width: 60%; -} - -.widefat th.sortable, -.widefat th.sorted { - padding: 0; -} - -th.sortable a, -th.sorted a { - display: block; - overflow: hidden; - padding: 7px 7px 8px 10px; -} - -th.manage-column a, -th.sortable a:hover, -th.sortable a:active, -th.sortable a:focus { - color: #333; -} - -th.sortable a:focus { - background: #e1e1e1; -} - -.fixed .column-comments.sortable a, -.fixed .column-comments.sorted a { - padding: 8px 0; -} - -th.sortable a span, -th.sorted a span { - float: left; - cursor: pointer; -} - -th.sorted.asc .sorting-indicator, -th.desc:hover span.sorting-indicator { - display: block; - background-position: 0 0; -} - -th.sorted.desc .sorting-indicator, -th.asc:hover span.sorting-indicator { - display: block; - background-position: -7px 0; -} - -/* Bulk Actions */ -.tablenav-pages a { - font-weight: 600; - margin-right: 1px; - padding: 0 2px; -} -.tablenav-pages .current-page { - padding-top: 0; - text-align: center; -} -.tablenav-pages .next-page { - margin-left: 2px; -} - -.tablenav a.button-secondary { - display: block; - margin: 3px 8px 0 0; -} - -.tablenav { - clear: both; - height: 30px; - margin: 6px 0 4px; - vertical-align: middle; -} - -.tablenav.themes { - max-width: 98%; -} - -.tablenav .tablenav-pages { - float: right; - display: block; - cursor: default; - height: 30px; - color: #555; - line-height: 30px; - font-size: 12px; -} - -.tablenav .no-pages, -.tablenav .one-page .pagination-links { - display: none; -} - -.tablenav .tablenav-pages a, -.tablenav-pages span.current { - text-decoration: none; - padding: 3px 6px; -} - -.tablenav .tablenav-pages a { - padding: 0 10px 3px; - background: #eee; - background: rgba( 0, 0, 0, 0.05 ); - font-size: 16px; - font-weight: normal; -} - -.tablenav .tablenav-pages a:hover, -.tablenav .tablenav-pages a:focus { - color: #fff; - background: #2ea2cc; -} - -.tablenav .tablenav-pages a.disabled, -.tablenav .tablenav-pages a.disabled:hover, -.tablenav .tablenav-pages a.disabled:focus, -.tablenav .tablenav-pages a.disabled:active { - color: #aaa; - background: #eee; - background: rgba( 0, 0, 0, 0.05 ); -} - -.tablenav .displaying-num { - margin-right: 2px; - color: #777; - font-size: 12px; - font-style: italic; -} - -.tablenav .actions { - overflow: hidden; - padding: 2px 8px 0 0; -} - -.wp-filter .actions { - display: inline-block; - vertical-align: middle; -} - -.tablenav .delete { - margin-right: 20px; -} - -/* @todo: unclear if the following tablenav rules are actually used. -classes exist in paginate_links() but not seen in list table output. */ -.tablenav .dots { - border-color: transparent; -} - -.tablenav .next, -.tablenav .prev { - border-color: transparent; - color: #0074a2; -} - -.tablenav .next:hover, -.tablenav .prev:hover { - border-color: transparent; - color: #2ea2cc; -} - -.tablenav .view-switch { - float: right; - margin: 5px 16px 0 8px; -} - -.wp-filter .view-switch { - display: inline-block; - vertical-align: middle; - padding: 14px 0; - margin: 0 20px 0 0; -} - -.view-switch a { - text-decoration: none; -} - -.view-switch > a { - display: inline-block; - width: 18px; - height: 18px; -} - -.view-switch > a:before { - color: #bbb; - display: inline-block; - float: left; - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: middle; - margin-left: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.view-switch > .view-list:before { - content: '\f163'; -} - -.view-switch a:hover:before { - color: #727272; -} - -.view-switch a.current:before { - color: #0074a2; -} - -.view-switch > a + a { - margin-left: 5px; -} - -.view-switch > .view-excerpt:before { - content: '\f164'; -} - -.view-switch > .view-grid:before { - content: '\f509'; -} - -.filter { - float: left; - margin: -5px 0 0 10px; -} - -.filter .subsubsub { - margin-left: -10px; - margin-top: 13px; -} -.screen-per-page { - width: 4em; -} - -#posts-filter .wp-filter { - margin-bottom: 0; -} - -#posts-filter fieldset { - float: left; - margin: 0 1.5ex 1em 0; - padding: 0; -} - -#posts-filter fieldset legend { - padding: 0 0 .2em 1px; -} - -p.pagenav { - margin: 0; - display: inline; -} - -.pagenav span { - font-weight: 600; - margin: 0 6px; -} - -.row-title { - font-size: 14px !important; - font-weight: 600; -} - -.column-comment .comment-author { - margin-bottom: 0.6em; -} - -.column-author img, -.column-username img, -.column-comment .comment-author img { - float: left; - margin-right: 10px; - margin-top: 1px; -} - -.row-actions { - color: #ddd; - font-size: 13px; - visibility: hidden; - padding: 2px 0 0; -} - -tr:hover .row-actions, -.mobile .row-actions, -.row-actions.visible, -div.comment-item:hover .row-actions { - visibility: visible; -} - -/* deprecated */ -.row-actions-visible { - padding: 2px 0 0; -} - - -/*------------------------------------------------------------------------------ - 10.1 - Inline Editing -------------------------------------------------------------------------------*/ - -/* -.quick-edit* is for Quick Edit -.bulk-edit* is for Bulk Edit -.inline-edit* is for everything -*/ - -/* Layout */ - -#wpbody-content .inline-edit-row fieldset { - font-size: 12px; - float: left; - margin: 0; - padding: 0; - width: 100%; -} - -tr.inline-edit-row td, -#wpbody-content .inline-edit-row fieldset .inline-edit-col { - padding: 0 0.5em; -} - -#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col { - border-width: 0 0 0 1px; - border-style: none none none solid; -} - -#wpbody-content .quick-edit-row-post .inline-edit-col-left { - width: 40%; -} - -#wpbody-content .quick-edit-row-post .inline-edit-col-right { - width: 39%; -} - -#wpbody-content .inline-edit-row-post .inline-edit-col-center { - width: 20%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-left { - width: 50%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-right, -#wpbody-content .bulk-edit-row-post .inline-edit-col-right { - width: 49%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-left { - width: 30%; -} - -#wpbody-content .bulk-edit-row-page .inline-edit-col-right { - width: 69%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-bottom { - float: right; - width: 69%; -} - -#wpbody-content .inline-edit-row-page .inline-edit-col-right { - margin-top: 27px; -} - -.inline-edit-row fieldset .inline-edit-group { - clear: both; -} - -.inline-edit-row fieldset .inline-edit-group:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -.inline-edit-row p.submit { - clear: both; - padding: 0.5em; - margin: 0.5em 0 0; -} - -.inline-edit-row span.error { - line-height: 22px; - margin: 0 15px; - padding: 3px 5px; -} - -/* Positioning */ -.inline-edit-row h4 { - margin: .2em 0; - padding: 0; - line-height: 23px; -} -.inline-edit-row fieldset span.title, -.inline-edit-row fieldset span.checkbox-title { - margin: 0; - padding: 0; - line-height: 27px; -} - -.inline-edit-row fieldset label, -.inline-edit-row fieldset span.inline-edit-categories-label { - display: block; - margin: .2em 0; -} - -.inline-edit-row fieldset label.inline-edit-tags { - margin-top: 0; -} - -.inline-edit-row fieldset label.inline-edit-tags span.title { - margin: .2em 0; - width: auto; -} - -.inline-edit-row fieldset label span.title { - display: block; - float: left; - width: 5em; -} - -.inline-edit-row fieldset label span.input-text-wrap { - display: block; - margin-left: 5em; -} - -.quick-edit-row-post fieldset.inline-edit-col-right label span.title { - width: auto; - padding-right: 0.5em; -} - -.inline-edit-row .input-text-wrap input[type=text] { - width: 100%; -} - -.inline-edit-row fieldset label input[type=checkbox] { - vertical-align: text-bottom; -} - -.inline-edit-row fieldset label textarea { - width: 100%; - height: 4em; -} - -#wpbody-content .bulk-edit-row fieldset .inline-edit-group label { - max-width: 50%; -} - -#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child { - margin-right: 0.5em -} - -.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input { - width: 6em; -} - -.inline-edit-save .spinner { - padding: 4px 10px 0; - vertical-align: top; - float: right; -} - -/* Styling */ -.inline-edit-row h4 { - text-transform: uppercase; -} - -.inline-edit-row fieldset span.title, -.inline-edit-row fieldset span.checkbox-title { - font-style: italic; - line-height: 1.8em; -} - -/* Specific Elements */ -.inline-edit-row fieldset .inline-edit-date { - float: left; -} - -.inline-edit-row fieldset input[name=jj], -.inline-edit-row fieldset input[name=hh], -.inline-edit-row fieldset input[name=mn] { - font-size: 12px; - width: 2.1em; -} - -.inline-edit-row fieldset input[name=aa] { - font-size: 12px; - width: 3.5em; -} - -.inline-edit-row fieldset label input.inline-edit-password-input { - width: 8em; -} - -ul.cat-checklist { - height: 12em; - border: solid 1px #ddd; - overflow-y: scroll; - padding: 0 5px; - margin: 0; - background-color: #fff; -} - -#bulk-titles { - display: block; - height: 12em; - border: 1px solid #ddd; - overflow-y: scroll; - padding: 0 5px; - margin: 0 0 5px; -} - -.inline-edit-row fieldset ul.cat-checklist li, -.inline-edit-row fieldset ul.cat-checklist input { - margin: 0; - position: relative; /* RTL fix, #WP27629 */ -} - -.inline-edit-row fieldset ul.cat-checklist label, -.inline-edit-row #bulk-titles div { - font-style: normal; - font-size: 11px; -} - -.inline-edit-row fieldset label input.inline-edit-menu-order-input { - width: 3em; -} - -.inline-edit-row fieldset label input.inline-edit-slug-input { - width: 75%; -} - -.inline-edit-row #post_parent, -.inline-edit-row select[name="page_template"] { - max-width: 80%; -} - -.ie8 .inline-edit-row #post_parent, -.ie8 .inline-edit-row select[name="page_template"] { - width: 250px; -} - -.quick-edit-row-post fieldset label.inline-edit-status { - float: left; -} - -#bulk-titles { - line-height: 140%; -} -#bulk-titles div { - margin: 0.2em 0.3em; -} - -#bulk-titles div a { - cursor: pointer; - display: block; - float: left; - height: 18px; - margin: 0 3px 0 -2px; - overflow: hidden; - position: relative; - width: 20px; -} - -#bulk-titles div a:before { - position: relative; - top: -3px; -} - -/*------------------------------------------------------------------------------ - 17.0 - Plugins -------------------------------------------------------------------------------*/ - -.plugins tbody th.check-column, -.plugins tbody { - padding: 8px 0 0 2px; -} - -.plugins tbody th.check-column input[type=checkbox] { - margin-top: 4px; -} - -#update-plugins-table tbody td p { - margin-top: 0; -} - -#update-plugins-table tbody td p strong { - font-size: 14px; -} - -.plugins thead th.check-column, -.plugins tfoot th.check-column, -.plugins .inactive th.check-column { - padding-left: 6px; -} - -#update-plugins-table thead th.check-column, -#update-plugins-table tfoot th.check-column { - padding-top: 11px; -} - -.plugins, -.plugins th, -.plugins td { - color: #000; -} - -.plugins tr { - background: #fff; -} - -.plugins p { - margin: 0 4px; - padding: 0; -} - -.plugins .desc p { - margin: 0 0 8px; -} - -.plugins td.desc { - line-height: 1.5em; -} - -.plugins .desc ul, -.plugins .desc ol { - margin: 0 0 0 2em; -} - -.plugins .desc ul { - list-style-type: disc; -} - -.plugins .row-actions { - font-size: 13px; - padding: 0; -} - -.plugins .inactive td, -.plugins .inactive th, -.plugins .active td, -.plugins .active th { - padding: 10px 9px; -} - -.plugins .active td, -.plugins .active th { - background-color: #f7fcfe; -} - -.plugins .update th, -.plugins .update td { - border-bottom: 0; -} - -.plugin-update-tr td { - border-top: 0; -} - -.plugins .inactive td, -.plugins .inactive th, -.plugins .active td, -.plugins .active th, -.plugin-install #the-list td, -.upgrade .plugins td, -.upgrade .plugins th { - -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); -} - -.plugins tr.active.plugin-update-tr + tr.inactive th, -.plugins tr.active.plugin-update-tr + tr.inactive td, -.plugins tr.active + tr.inactive th, -.plugins tr.active + tr.inactive td { - border-top: 1px solid rgba(0,0,0,0.03); - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1; -} - -.plugins .update td, -.plugins .update th, -.upgrade .plugins tr:last-of-type td, -.upgrade .plugins tr:last-of-type th, -.plugins tr.active + tr.inactive.update th, -.plugins tr.active + tr.inactive.update td { - -webkit-box-shadow: none; - box-shadow: none; -} - -.plugins .active.update td, -.plugins .active.update th, -tr.active.update + tr.plugin-update-tr .plugin-update { - background-color: #fef7f1; -} - -.plugins .active th.check-column { - border-left: 4px solid #2ea2cc; -} - -.plugins .active.update th.check-column, -.plugins .active.update + .plugin-update-tr .plugin-update { - border-left: 4px solid #d54e21; -} - -#wpbody-content .plugins .plugin-title, -#wpbody-content .plugins .theme-title { - padding-right: 12px; - white-space:nowrap; -} - -.plugins .inactive .plugin-title strong { - font-weight: 400; -} - -.plugins .second, -.plugins .row-actions { - padding: 0 0 5px; -} - -.plugins .update .second, -.plugins .update .row-actions { - padding-bottom: 0; -} - -.plugins-php .widefat tfoot th, -.plugins-php .widefat tfoot td { - border-top-style: solid; - border-top-width: 1px; -} - -.plugin-update-tr .update-message { - font-size: 13px; - font-weight: normal; - margin: 6px 12px 12px; - padding: 6px 12px; - margin: 0 10px 8px 31px; - background-color: #f7f7f7; - background-color: rgba(0,0,0,0.03); -} - -.plugin-update-tr .update-message:before { - color: #d54e21; - content: '\f463'; - display: inline-block; - font: normal 20px/1 'dashicons'; - speak: none; - margin: 0 8px 0 -2px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: top; -} - -.plugins .plugin-update { - padding: 0; - border: none; - -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); -} - -/* update notices for active plugins */ -tr.active + tr.plugin-update-tr .plugin-update { - background-color: #f7fcfe; -} - -tr.active + tr.plugin-update-tr .plugin-update .update-message { - background-color: #fcf3ef; -} - -.plugin-install-php h3 { - clear: both; -} - -.plugin-install-php h4 { - margin: 2.5em 0 8px; -} - -.plugin-install-php .wp-filter { - margin-bottom: 0; -} - -/* Plugin card table view */ -.plugin-group { - overflow: hidden; /* clearfix */ - margin-top: 1.5em; -} - -.plugin-group h3 { - margin-top: 0; -} - -.plugin-card { - float: left; - margin: 0 8px 16px; - width: 48.5%; - width: -webkit-calc( 50% - 8px ); - width: calc( 50% - 8px ); - background-color: #fff; - border: 1px solid #dedede; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.plugin-card:nth-child(odd) { - clear: both; - margin-left: 0; -} - -.plugin-card:nth-child(even) { - margin-right: 0; -} - -@media screen and ( min-width: 1600px ) { - .plugin-card { - width: 30%; - width: -webkit-calc( 33.1% - 8px ); - width: calc( 33.1% - 8px ); - } - - .plugin-card:nth-child(odd) { - clear: none; - margin-left: 8px; - } - - .plugin-card:nth-child(even) { - margin-right: 8px; - } - - .plugin-card:nth-child(3n+1) { - clear: both; - margin-left: 0; - } - - .plugin-card:nth-child(3n) { - margin-right: 0; - } -} - -@media screen and ( max-width: 782px ) { - .plugin-card { - margin-left: 0; - margin-right: 0; - width: 100%; - } -} - -.plugin-card-top { - position: relative; - padding: 20px 20px 10px; - min-height: 135px; -} - -div.action-links, -.plugin-action-buttons { - margin: 0; /* Override existing margins */ -} - -.plugin-card h4 { - margin: 0 0 12px; - font-size: 18px; - line-height: 1.3; -} - -.plugin-card .name, -.plugin-card .desc { - margin-left: 148px; /* icon + margin */ - margin-right: 120px; /* action links */ -} - -.plugin-card .action-links { - position: absolute; - top: 20px; - right: 20px; - width: 120px; -} - -.plugin-action-buttons { - clear: right; - float: right; - margin-left: 2em; - margin-bottom: 1em; - text-align: right; -} - -.plugin-action-buttons li { - margin-bottom: 10px; -} - -.plugin-card-bottom { - clear: both; - padding: 12px 20px; - background-color: #fafafa; - border-top: 1px solid #dedede; - overflow: hidden; -} - -.plugin-card-bottom .star-rating { - display: inline; -} - -.plugin-card .column-rating { - line-height: 23px; -} - -.plugin-card .column-rating, -.plugin-card .column-updated { - margin-bottom: 4px; -} - -.plugin-card .column-rating, -.plugin-card .column-downloaded { - float: left; - clear: left; - max-width: 180px; -} - -.plugin-card .column-updated, -.plugin-card .column-compatibility { - text-align: right; - float: right; - clear: right; - width: 65%; - width: -webkit-calc( 100% - 180px ); - width: calc( 100% - 180px ); -} - -.plugin-card .column-compatibility span:before { - font: normal 20px/.5 'dashicons'; - speak: none; - display: inline-block; - padding: 0; - top: 4px; - left: -2px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #444; -} - -.plugin-card .compatibility-incompatible:before { - content: '\f158'; -} - -.plugin-card .compatibility-compatible:before { - content: '\f147'; -} - -.plugin-card .compatibility-untested strong { - font-weight: normal; -} - -.plugin-icon { - position: absolute; - top: 20px; - left: 20px; - width: 128px; - height: 128px; - margin: 0 20px 20px 0; -} - -.plugin-icon img { - width: 128px; - height: 128px; -} - -.no-plugin-results { - color: #999; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0 0; - text-align: center; -} - -/* ms */ -/* Background Color for Site Status */ -.wp-list-table .site-deleted { - background: #ff8573; -} -.wp-list-table .site-spammed { - background: #faafaa; -} -.wp-list-table .site-archived { - background: #ffebe8; -} -.wp-list-table .site-mature { - background: #fecac2; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and ( max-width: 1100px ) and ( min-width: 782px ), ( max-width: 480px ) { - .plugin-card .action-links { - position: static; - margin-left: 148px; - width: auto; - } - - .plugin-action-buttons { - float: none; - margin: 1em 0 0; - text-align: left; - } - - .plugin-action-buttons li { - display: inline-block; - vertical-align: middle; - } - - .plugin-action-buttons li .button { - margin-right: 20px; - } - - .plugin-card .name, - .plugin-card .desc { - margin-right: 0; - } - - .plugin-card .desc p:first-of-type { - margin-top: 0; - } -} - -@media screen and ( max-width: 782px ) { - /* WP List Table Options & Filters */ - .tablenav { - height: auto; - } - - .tablenav.top { - margin: 20px 0 5px 0; - } - - .tablenav.bottom { - position: relative; - margin-top: 15px; - } - - .tablenav br { - display: none; - } - - .tablenav br.clear { - display: block; - } - - .tablenav.top .actions, - .tablenav .view-switch { - display: none; - } - - /* Pagination */ - .tablenav.top .displaying-num { - display: none; - } - - .tablenav.bottom .displaying-num { - position: absolute; - right: 0; - top: 10px; - font-size: 14px; - } - - .tablenav-pages { - width: 100%; - text-align: center; - margin: 0 0 25px; - } - - .tablenav.bottom .tablenav-pages { - margin-top: 25px; - } - - .tablenav.top .tablenav-pages.one-page { - display: none; - } - - .tablenav.bottom .tablenav-pages.one-page { - margin: 15px 0 0 0; - height: 0; - } - - .tablenav-pages .pagination-links .paging-input { - font-size: 18px; - } - - .tablenav-pages .pagination-links a { - padding: 8px 20px 11px; - font-size: 18px; - background: rgba(0, 0, 0, 0.05); - } - - .tablenav-pages .pagination-links .current-page { - padding: 10px; - font-size: 14px; - } - - /* WP List Table Adjustments: General */ - .form-wrap > p { - display: none; - } - - .comment-count { - font-size: 14px; - } - - /* Columns to hide */ - .fixed .column-date, - .fixed .column-author, - .column-categories, - .column-tags, - .tags .column-description, - .media .column-parent, - .users .column-email, - .users .column-name, - .sites .column-registered, - .sites .column-users { - display: none; - } - - .fixed .column-comment .comment-author { - display: block; - } - - /* Posts */ - .column-title { - width: 85%; - } - - .fixed .column-comments, .widefat .check-column { - width: 35px - } - - .widefat thead .check-column, .widefat tfoot .check-column { - padding: 10px 0 10px; - } - - .widefat * { - word-wrap: normal; - } - - /* Quick Edit and Bulk Edit */ - #wpbody-content .quick-edit-row-post .inline-edit-col-left, - #wpbody-content .quick-edit-row-post .inline-edit-col-right, - #wpbody-content .inline-edit-row-post .inline-edit-col-center, - #wpbody-content .quick-edit-row-page .inline-edit-col-left, - #wpbody-content .quick-edit-row-page .inline-edit-col-right, - #wpbody-content .bulk-edit-row-post .inline-edit-col-right, - #wpbody-content .bulk-edit-row .inline-edit-col-left, - #wpbody-content .bulk-edit-row-page .inline-edit-col-right, - #wpbody-content .bulk-edit-row .inline-edit-col-bottom { - float: none; - width: 100%; - } - - #wpbody-content .quick-edit-row fieldset .inline-edit-col label, - #wpbody-content .quick-edit-row fieldset .inline-edit-group label, - #wpbody-content .bulk-edit-row fieldset .inline-edit-col label, - #wpbody-content .bulk-edit-row fieldset .inline-edit-group label { - max-width: none; - float: none; - margin-bottom: 5px; - } - - #wpbody .bulk-edit-row fieldset select { - display: block; - width: 100%; - max-width: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } - - .inline-edit-row fieldset ul.cat-checklist label, - .inline-edit-row #bulk-titles div { - font-size: 16px; - } - - .inline-edit-row fieldset label span.title { - float: none; - } - - .inline-edit-row fieldset label.inline-edit-tags { - padding: 0 0.5em; - } - - .inline-edit-row fieldset .inline-edit-col label.inline-edit-tags { - padding: 0; - } - - .inline-edit-row fieldset label span.input-text-wrap { - margin-left: 0; - } - - .inline-edit-row fieldset input[name=jj], - .inline-edit-row fieldset input[name=hh], - .inline-edit-row fieldset input[name=mn] { - width: 3em; - } - - .inline-edit-row fieldset input[name=aa] { - width: 4.5em; - } - - #bulk-titles div { - margin: 0.8em 0.3em; - } - - #bulk-titles div a { - height: 22px; - } - - /* Taxonomies */ - .tags .column-posts { - width: 74px; - } - - .tags .column-slug { - width: 30%; - } - - /* Comments */ - .comments .column-response { - width: 35%; - } - - /* Users */ - .users .column-role { - width: 35%; - } - - /* Network admin sites */ - .sites .column-blogname { - width: 55%; - } - - /* Updates */ - #wpbody-content #update-themes-table .plugin-title { - width: auto; - } - - /* Links */ - .link-manager-php #posts-filter { - margin-top: 25px; - } - - .link-manager-php .tablenav.bottom { - overflow: hidden; - } - - /* Plugin/Theme Management Page */ - .wp-list-table.plugins { - position: relative; - margin-top: 35px; - margin-bottom: 50px; - } - - .wp-list-table.plugins thead .column-description, - #wpbody-content .wp-list-table.plugins tfoot .column-description, - .wp-list-table.plugins th#description { - display: none; - } - - #wpbody-content .wp-list-table.plugins, - #wpbody-content .wp-list-table.plugins thead, - #wpbody-content .wp-list-table.plugins tbody, - #wpbody-content .wp-list-table.plugins tr, - #wpbody-content .wp-list-table.plugins .column-description, - #wpbody-content .wp-list-table.plugins .plugin-title, - #wpbody-content .wp-list-table.plugins .theme-title, - #wpbody-content .wp-list-table.plugins .plugin-update, - #wpbody-content .wp-list-table.plugins .manage-column.column-name { - display: block; - width: auto; - } - - .wp-list-table.plugins thead, - .wp-list-table.plugins tfoot { - position: absolute; - top: -35px; - left: 0; - right: 0; - width: auto; - height: 35px; - } - - .wp-list-table.plugins tfoot { - bottom: -35px; - top: auto; - } - - .active, .inactive { - padding-top: 0; - } - - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title { - padding-top: 13px; - padding-bottom: 4px; - } - - .plugins tr.active + tr.inactive th.check-column, - .plugins tr.active + tr.inactive td, - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title, - .wp-list-table.plugins tbody th { - -webkit-box-shadow: none; - box-shadow: none; - } - - .plugins tbody { - padding: 1px 0 0; - } - - .plugins tr.active + tr.inactive td.column-description { - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - } - - .plugins tr.active + tr.inactive th.check-column, - .plugins tr.active + tr.inactive td { - border-top: none; - } - - .wp-list-table.plugins .column-description { - padding-top: 0; - } - - .wp-list-table.plugins .manage-column.column-name, - .wp-list-table.plugins .column-description, - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title { - padding-right: 12px; - padding-left: 46px; - } - - .wp-list-table.plugins tr { - position: relative; - } - - .wp-list-table.plugins th.check-column, - .wp-list-table.plugins tr.update th.check-column { - position: absolute; - height: auto; - top: 0; - bottom: 0; - left: 0; - padding-left: 2px; - padding-top: 18px; - } - - .wp-list-table.plugins thead th.check-column, - .wp-list-table.plugins tfoot th.check-column { - padding-left: 3px; - padding-top: 11px; - background: none; - } - - .widefat tbody th.check-column input[type="checkbox"] { - margin-top: -3px; - margin-left: 8px; - } - - .wp-list-table.plugins .active .check-column input, - .wp-list-table.plugins .update .check-column input { - margin-left: 5px; - } - - .wp-list-table.plugins thead .check-column input, - .wp-list-table.plugins tfoot .check-column input { - margin-top: -6px; - } - - .wp-list-table.plugins .active th.check-column { - background: none; - } - - .wp-list-table.plugins .plugin-title strong, - .wp-list-table.plugins .theme-title strong { - font-size: 1.4em; - line-height: 1.6em; - } - - /* Add New plugins page */ - table.plugin-install .column-name, - table.plugin-install .column-version, - table.plugin-install .column-rating, - table.plugin-install .column-description { - display: block; - width: auto; - } - - table.plugin-install th.column-name, - table.plugin-install th.column-version, - table.plugin-install th.column-rating, - table.plugin-install th.column-description { - display: none; - } - - table.plugin-install td.column-name strong { - font-size: 1.4em; - line-height: 1.6em; - } - - table.plugin-install #the-list td { - -webkit-box-shadow: none; - box-shadow: none; - } - - table.plugin-install #the-list tr { - display: block; - -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); - } -} diff --git a/sources/wordpress/wp-admin/css/login-rtl.css b/sources/wordpress/wp-admin/css/login-rtl.css deleted file mode 100644 index 787b81e..0000000 --- a/sources/wordpress/wp-admin/css/login-rtl.css +++ /dev/null @@ -1,269 +0,0 @@ -@import url(forms-rtl.css); -@import url(l10n-rtl.css); - -html, -body { - height: 100%; - margin: 0; - padding: 0; -} - -html { - background: #f1f1f1; -} - -body { - background: #f1f1f1; - min-width: 0; - color: #444; - font-family: "Open Sans", sans-serif; - font-size: 13px; - line-height: 1.4em; -} - -a { - color: #0074a2; - -webkit-transition-property: border, background, color; - transition-property: border, background, color; - -webkit-transition-duration: .05s; - transition-duration: .05s; - -webkit-transition-timing-function: ease-in-out; - transition-timing-function: ease-in-out; -} - -a { - outline: 0; -} - -a:hover, -a:active { - color: #2ea2cc; -} - -a:focus { - color: #124964; -} - -a:focus, -a:active { - outline: thin dotted; -} - -p { - line-height: 1.5; -} - -.login .message { - border-right: 4px solid #7ad03a; - padding: 1px 12px; - background-color: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -.login #login_error { - border-right: 4px solid #dd3d36; - background: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -#loginform p.submit, -.login-action-lostpassword p.submit { - border: none; - margin: -10px 0 20px; /* May want to revisit this */ -} - -.login * { - margin: 0; - padding: 0; -} - -.login form { - margin-top: 20px; - margin-right: 0; - padding: 26px 24px 46px; - font-weight: normal; - overflow: hidden; - background: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13); - box-shadow: 0 1px 3px rgba(0,0,0,0.13); -} - -.login form .forgetmenot { - font-weight: normal; - float: right; - margin-bottom: 0; -} - -.login .button-primary { - float: left; -} - -#login form p { - margin-bottom: 0; -} - -#login form p.submit { - margin: 0; - padding: 0; -} - -.login label { - color: #777; - font-size: 14px; -} - -.login form .forgetmenot label { - font-size: 12px; - line-height: 19px; -} - -.login h1 { - text-align: center; -} - -.login h1 a { - background-image: url(../images/w-logo-blue.png?ver=20131202); - background-image: none, url(../images/wordpress-logo.svg?ver=20131107); - -webkit-background-size: 84px; - background-size: 84px; - background-position: center top; - background-repeat: no-repeat; - color: #999; - height: 84px; - font-size: 20px; - font-weight: normal; - line-height: 1.3em; - margin: 0 auto 25px; - padding: 0; - text-decoration: none; - width: 84px; - text-indent: -9999px; - outline: none; - overflow: hidden; - display: block; -} - -#login { - width: 320px; - padding: 8% 0 0; - margin: auto; -} - -#login_error, -.login .message { - margin-right: 0; - padding: 12px; -} - -.login #nav, -.login #backtoblog { - font-size: 13px; - padding: 0 24px 0; -} - -.login #nav { - margin: 24px 0 0 0; -} - -#backtoblog { - margin: 16px 0 0 0; -} - -.login #nav a, -.login #backtoblog a { - text-decoration: none; - color: #999; -} - -.login #nav a:hover, -.login #backtoblog a:hover, -.login h1 a:hover { - color: #2ea2cc; -} - -.login form .input, -.login input[type="text"] { - font-size: 24px; - width: 100%; - padding: 3px; - margin: 2px 0 16px 6px; -} - -.login form .input, -.login input[type="text"], -.login form input[type="checkbox"] { - background: #fbfbfb; -} - -.ie7 .login form .input, -.ie8 .login form .input { - font-family: sans-serif; -} - -.login #pass-strength-result { - width: 250px; - font-weight: 600; - margin: 12px 0 6px; - padding: 6px 5px; - text-align: center; -} - -.mobile #login { - padding: 20px 0; -} - -.mobile #login form, -.mobile #login .message, -.mobile #login_error { - margin-right: 0; -} - -.mobile #login #nav, -.mobile #login #backtoblog { - margin-right: 8px; -} - -.mobile #login h1 a { - width: auto; -} - -body.interim-login { - height: auto; -} - -.interim-login #login { - padding: 0; - margin: 5px auto 20px; -} - -.interim-login.login h1 a { - width: auto; -} - -.interim-login #login_error, -.interim-login.login .message { - margin: 0 0 16px; -} - -.interim-login.login form { - margin: 0; -} - -@-ms-viewport { - width: device-width; -} - -@media screen and ( max-width: 782px ) { - .interim-login input[type=checkbox] { - height: 16px; - width: 16px; - } - - .interim-login input[type=checkbox]:checked:before { - width: 16px; - font: normal 21px/1 'dashicons'; - margin: -3px -4px 0 0; - } -} diff --git a/sources/wordpress/wp-admin/css/login-rtl.min.css b/sources/wordpress/wp-admin/css/login-rtl.min.css deleted file mode 100644 index 4b8b31f..0000000 --- a/sources/wordpress/wp-admin/css/login-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=radio],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;outline:0;-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=email],input[type=url]{direction:ltr}input[type=checkbox],input[type=radio]{border:1px solid #bbb;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#888}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#2ea2cc}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-left:4px;line-height:10px}input[type=checkbox]:checked:before,input[type=radio]:checked:before{float:right;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:'\f147';margin:-3px -4px 0 0;color:#1e8cbe}input[type=radio]:checked:before{content:'\2022';text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{overflow:auto;padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid{background-color:#ffebe8!important}.form-invalid input,.form-invalid select{border-color:#c00!important}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px;vertical-align:middle}.wp-admin .button-cancel{padding:0 5px;line-height:2}.meta-box-sortables select{max-width:100%}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:right;max-width:100%;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:left}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}#adduser .form-field input,input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}#doaction,#doaction2,#post-query-submit{margin:1px 0 0 8px}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:right;margin-left:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-right:1em}#upload-form label{color:#777}#your-profile label+a,fieldset label,label{vertical-align:middle}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:'\f173';display:inline-block;font:400 20px/1 dashicons;speak:none;right:-1px;padding:0 0 0 5px;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass-strength-result{background-color:#eee;border:1px solid #ddd;float:right;margin:13px 1px 5px 5px;padding:3px 5px;text-align:center;width:200px;display:none}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c}.indicator-hint{padding-top:8px}p.search-box{float:left;margin:0}.network-admin.themes-php p.search-box{clear:right}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:right;height:28px;margin:0 0 0 4px}input[type=text].ui-autocomplete-loading{background:url(../images/loading.gif) no-repeat left center;visibility:visible}ul#add-to-blog-users{margin:0 14px 0 0}.ui-autocomplete-input.open{-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border:1px solid #aaa;background-color:#efefef}.ui-autocomplete li{margin-bottom:0;white-space:nowrap;text-align:right}.ui-autocomplete li a{display:block;height:100%;padding:4px 10px;color:#444}.ui-autocomplete li a.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#222;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:right;padding:20px 0 20px 10px;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-left:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-left:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:3px}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.color-option{cursor:pointer}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.pressthis{margin:20px 0}.pressthis a,.pressthis a:active,.pressthis a:focus,.pressthis a:hover{display:inline-block;position:relative;cursor:move;color:#333;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis a:active{outline:0}.pressthis a:hover:after{-webkit-transform:skew(20deg) rotate(9deg);-ms-transform:skew(20deg) rotate(9deg);transform:skew(20deg) rotate(9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis a span{display:inline-block;margin:0;padding:0 9px 8px 12px}.pressthis a span:before{color:#777;font:400 20px/1 dashicons;content:'\f157';position:relative;display:inline-block;top:4px;margin-left:4px}.pressthis a:after{content:'';width:70%;height:55%;z-index:-1;position:absolute;left:10px;bottom:9px;background:0 0;-webkit-transform:skew(20deg) rotate(6deg);-ms-transform:skew(20deg) rotate(6deg);transform:skew(20deg) rotate(6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}#local-time,#utc-time{padding-right:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php .spinner{float:none;margin:-3px 3px}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=number],input[type=password],input[type=search],input[type=text]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat th input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat th input[type=checkbox]{margin-bottom:8px}.widefat th input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 Dashicons;margin:-3px -5px}input[type=checkbox],input[type=radio]{height:25px;width:25px}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-left:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=password],.form-table td input[type=text],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=number].small-text,input[type=password].small-text,input[type=search].small-text,input[type=text].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{padding:4px 0 0;line-height:1.4em}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{padding-top:8px;padding-right:0}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}}@media only screen and (max-width:768px){.form-field input,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}@media screen and (max-width:600px){.color-option{width:49%}}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-style:normal;font-weight:700}.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #wp-fullscreen-tagline{font-family:KaiTi,"楷体",sans-serif}.locale-zh-cn #wp-fullscreen-modes a{font-size:12px}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de .inline-edit-row fieldset label span.title{width:7em}.locale-de-de .inline-edit-row fieldset label span.input-text-wrap{margin-right:7em}.locale-de-de #customize-header-actions .button{padding:0 5px 1px}.locale-de-de #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru .inline-edit-row fieldset label span.title{width:8em}.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title{width:8em}.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}body,html{height:100%;margin:0;padding:0}html{background:#f1f1f1}body{background:#f1f1f1;min-width:0;color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em}a{color:#0074a2;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;outline:0}a:active,a:hover{color:#2ea2cc}a:focus{color:#124964}a:active,a:focus{outline:dotted thin}p{line-height:1.5}.login .message{border-right:4px solid #7ad03a;background-color:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login #login_error{border-right:4px solid #dd3d36;background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}#loginform p.submit,.login-action-lostpassword p.submit{border:none;margin:-10px 0 20px}.login *{margin:0;padding:0}.login form{margin-top:20px;margin-right:0;padding:26px 24px 46px;font-weight:400;overflow:hidden;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}.login form .forgetmenot{font-weight:400;float:right;margin-bottom:0}.login .button-primary{float:left}#login form p{margin-bottom:0}#login form p.submit{margin:0;padding:0}.login label{color:#777;font-size:14px}.login form .forgetmenot label{font-size:12px;line-height:19px}.login h1{text-align:center}.login h1 a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;color:#999;height:84px;font-size:20px;font-weight:400;line-height:1.3em;margin:0 auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}#login{width:320px;padding:8% 0 0;margin:auto}#login_error,.login .message{margin-right:0;padding:12px}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px}.login #nav{margin:24px 0 0}#backtoblog{margin:16px 0 0}.login #backtoblog a,.login #nav a{text-decoration:none;color:#999}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover{color:#2ea2cc}.login form .input,.login input[type=text]{font-size:24px;width:100%;padding:3px;margin:2px 0 16px 6px}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fbfbfb}.ie7 .login form .input,.ie8 .login form .input{font-family:sans-serif}.login #pass-strength-result{width:250px;font-weight:600;margin:12px 0 6px;padding:6px 5px;text-align:center}.mobile #login{padding:20px 0}.mobile #login .message,.mobile #login form,.mobile #login_error{margin-right:0}.mobile #login #backtoblog,.mobile #login #nav{margin-right:8px}.mobile #login h1 a{width:auto}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}@-ms-viewport{width:device-width}@media screen and (max-width:782px){.interim-login input[type=checkbox]{height:16px;width:16px}.interim-login input[type=checkbox]:checked:before{width:16px;font:400 21px/1 dashicons;margin:-3px -4px 0 0}} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/login.css b/sources/wordpress/wp-admin/css/login.css deleted file mode 100644 index 02ee1d8..0000000 --- a/sources/wordpress/wp-admin/css/login.css +++ /dev/null @@ -1,269 +0,0 @@ -@import url(forms.css); -@import url(l10n.css); - -html, -body { - height: 100%; - margin: 0; - padding: 0; -} - -html { - background: #f1f1f1; -} - -body { - background: #f1f1f1; - min-width: 0; - color: #444; - font-family: "Open Sans", sans-serif; - font-size: 13px; - line-height: 1.4em; -} - -a { - color: #0074a2; - -webkit-transition-property: border, background, color; - transition-property: border, background, color; - -webkit-transition-duration: .05s; - transition-duration: .05s; - -webkit-transition-timing-function: ease-in-out; - transition-timing-function: ease-in-out; -} - -a { - outline: 0; -} - -a:hover, -a:active { - color: #2ea2cc; -} - -a:focus { - color: #124964; -} - -a:focus, -a:active { - outline: thin dotted; -} - -p { - line-height: 1.5; -} - -.login .message { - border-left: 4px solid #7ad03a; - padding: 1px 12px; - background-color: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -.login #login_error { - border-left: 4px solid #dd3d36; - background: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -#loginform p.submit, -.login-action-lostpassword p.submit { - border: none; - margin: -10px 0 20px; /* May want to revisit this */ -} - -.login * { - margin: 0; - padding: 0; -} - -.login form { - margin-top: 20px; - margin-left: 0; - padding: 26px 24px 46px; - font-weight: normal; - overflow: hidden; - background: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13); - box-shadow: 0 1px 3px rgba(0,0,0,0.13); -} - -.login form .forgetmenot { - font-weight: normal; - float: left; - margin-bottom: 0; -} - -.login .button-primary { - float: right; -} - -#login form p { - margin-bottom: 0; -} - -#login form p.submit { - margin: 0; - padding: 0; -} - -.login label { - color: #777; - font-size: 14px; -} - -.login form .forgetmenot label { - font-size: 12px; - line-height: 19px; -} - -.login h1 { - text-align: center; -} - -.login h1 a { - background-image: url(../images/w-logo-blue.png?ver=20131202); - background-image: none, url(../images/wordpress-logo.svg?ver=20131107); - -webkit-background-size: 84px; - background-size: 84px; - background-position: center top; - background-repeat: no-repeat; - color: #999; - height: 84px; - font-size: 20px; - font-weight: normal; - line-height: 1.3em; - margin: 0 auto 25px; - padding: 0; - text-decoration: none; - width: 84px; - text-indent: -9999px; - outline: none; - overflow: hidden; - display: block; -} - -#login { - width: 320px; - padding: 8% 0 0; - margin: auto; -} - -#login_error, -.login .message { - margin-left: 0; - padding: 12px; -} - -.login #nav, -.login #backtoblog { - font-size: 13px; - padding: 0 24px 0; -} - -.login #nav { - margin: 24px 0 0 0; -} - -#backtoblog { - margin: 16px 0 0 0; -} - -.login #nav a, -.login #backtoblog a { - text-decoration: none; - color: #999; -} - -.login #nav a:hover, -.login #backtoblog a:hover, -.login h1 a:hover { - color: #2ea2cc; -} - -.login form .input, -.login input[type="text"] { - font-size: 24px; - width: 100%; - padding: 3px; - margin: 2px 6px 16px 0; -} - -.login form .input, -.login input[type="text"], -.login form input[type="checkbox"] { - background: #fbfbfb; -} - -.ie7 .login form .input, -.ie8 .login form .input { - font-family: sans-serif; -} - -.login #pass-strength-result { - width: 250px; - font-weight: 600; - margin: 12px 0 6px; - padding: 6px 5px; - text-align: center; -} - -.mobile #login { - padding: 20px 0; -} - -.mobile #login form, -.mobile #login .message, -.mobile #login_error { - margin-left: 0; -} - -.mobile #login #nav, -.mobile #login #backtoblog { - margin-left: 8px; -} - -.mobile #login h1 a { - width: auto; -} - -body.interim-login { - height: auto; -} - -.interim-login #login { - padding: 0; - margin: 5px auto 20px; -} - -.interim-login.login h1 a { - width: auto; -} - -.interim-login #login_error, -.interim-login.login .message { - margin: 0 0 16px; -} - -.interim-login.login form { - margin: 0; -} - -@-ms-viewport { - width: device-width; -} - -@media screen and ( max-width: 782px ) { - .interim-login input[type=checkbox] { - height: 16px; - width: 16px; - } - - .interim-login input[type=checkbox]:checked:before { - width: 16px; - font: normal 21px/1 'dashicons'; - margin: -3px 0 0 -4px; - } -} diff --git a/sources/wordpress/wp-admin/css/login.min.css b/sources/wordpress/wp-admin/css/login.min.css deleted file mode 100644 index 10df780..0000000 --- a/sources/wordpress/wp-admin/css/login.min.css +++ /dev/null @@ -1 +0,0 @@ -input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=radio],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;outline:0;-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=email],input[type=url]{direction:ltr}input[type=checkbox],input[type=radio]{border:1px solid #bbb;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 4px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#888}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#2ea2cc}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-right:4px;line-height:10px}input[type=checkbox]:checked:before,input[type=radio]:checked:before{float:left;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:'\f147';margin:-3px 0 0 -4px;color:#1e8cbe}input[type=radio]:checked:before{content:'\2022';text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{overflow:auto;padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid{background-color:#ffebe8!important}.form-invalid input,.form-invalid select{border-color:#c00!important}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px;vertical-align:middle}.wp-admin .button-cancel{padding:0 5px;line-height:2}.meta-box-sortables select{max-width:100%}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:left;max-width:100%;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:right}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}#adduser .form-field input,input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}#doaction,#doaction2,#post-query-submit{margin:1px 8px 0 0}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:left;margin-right:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-left:1em}#upload-form label{color:#777}#your-profile label+a,fieldset label,label{vertical-align:middle}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:'\f173';display:inline-block;font:400 20px/1 dashicons;speak:none;left:-1px;padding:0 5px 0 0;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass-strength-result{background-color:#eee;border:1px solid #ddd;float:left;margin:13px 5px 5px 1px;padding:3px 5px;text-align:center;width:200px;display:none}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c}.indicator-hint{padding-top:8px}p.search-box{float:right;margin:0}.network-admin.themes-php p.search-box{clear:left}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:left;height:28px;margin:0 4px 0 0}input[type=text].ui-autocomplete-loading{background:url(../images/loading.gif) no-repeat right center;visibility:visible}ul#add-to-blog-users{margin:0 0 0 14px}.ui-autocomplete-input.open{-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:1px solid #aaa;background-color:#efefef}.ui-autocomplete li{margin-bottom:0;white-space:nowrap;text-align:left}.ui-autocomplete li a{display:block;height:100%;padding:4px 10px;color:#444}.ui-autocomplete li a.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#222;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-right:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-right:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:3px}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.color-option{cursor:pointer}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.pressthis{margin:20px 0}.pressthis a,.pressthis a:active,.pressthis a:focus,.pressthis a:hover{display:inline-block;position:relative;cursor:move;color:#333;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis a:active{outline:0}.pressthis a:hover:after{-webkit-transform:skew(20deg) rotate(9deg);-ms-transform:skew(20deg) rotate(9deg);transform:skew(20deg) rotate(9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis a span{display:inline-block;margin:0;padding:0 12px 8px 9px}.pressthis a span:before{color:#777;font:400 20px/1 dashicons;content:'\f157';position:relative;display:inline-block;top:4px;margin-right:4px}.pressthis a:after{content:'';width:70%;height:55%;z-index:-1;position:absolute;right:10px;bottom:9px;background:0 0;-webkit-transform:skew(20deg) rotate(6deg);-ms-transform:skew(20deg) rotate(6deg);transform:skew(20deg) rotate(6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}#local-time,#utc-time{padding-left:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php .spinner{float:none;margin:-3px 3px}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=number],input[type=password],input[type=search],input[type=text]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat th input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat th input[type=checkbox]{margin-bottom:8px}.widefat th input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 Dashicons;margin:-3px -5px}input[type=checkbox],input[type=radio]{height:25px;width:25px}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-right:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=password],.form-table td input[type=text],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=number].small-text,input[type=password].small-text,input[type=search].small-text,input[type=text].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{padding:4px 0 0;line-height:1.4em}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{padding-top:8px;padding-left:0}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}}@media only screen and (max-width:768px){.form-field input,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}@media screen and (max-width:600px){.color-option{width:49%}}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-style:normal;font-weight:700}.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #wp-fullscreen-tagline{font-family:KaiTi,"楷体",sans-serif}.locale-zh-cn #wp-fullscreen-modes a{font-size:12px}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de .inline-edit-row fieldset label span.title{width:7em}.locale-de-de .inline-edit-row fieldset label span.input-text-wrap{margin-left:7em}.locale-de-de #customize-header-actions .button{padding:0 5px 1px}.locale-de-de #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru .inline-edit-row fieldset label span.title{width:8em}.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title{width:8em}.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}body,html{height:100%;margin:0;padding:0}html{background:#f1f1f1}body{background:#f1f1f1;min-width:0;color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em}a{color:#0074a2;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;outline:0}a:active,a:hover{color:#2ea2cc}a:focus{color:#124964}a:active,a:focus{outline:dotted thin}p{line-height:1.5}.login .message{border-left:4px solid #7ad03a;background-color:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login #login_error{border-left:4px solid #dd3d36;background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}#loginform p.submit,.login-action-lostpassword p.submit{border:none;margin:-10px 0 20px}.login *{margin:0;padding:0}.login form{margin-top:20px;margin-left:0;padding:26px 24px 46px;font-weight:400;overflow:hidden;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}.login form .forgetmenot{font-weight:400;float:left;margin-bottom:0}.login .button-primary{float:right}#login form p{margin-bottom:0}#login form p.submit{margin:0;padding:0}.login label{color:#777;font-size:14px}.login form .forgetmenot label{font-size:12px;line-height:19px}.login h1{text-align:center}.login h1 a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;color:#999;height:84px;font-size:20px;font-weight:400;line-height:1.3em;margin:0 auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}#login{width:320px;padding:8% 0 0;margin:auto}#login_error,.login .message{margin-left:0;padding:12px}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px}.login #nav{margin:24px 0 0}#backtoblog{margin:16px 0 0}.login #backtoblog a,.login #nav a{text-decoration:none;color:#999}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover{color:#2ea2cc}.login form .input,.login input[type=text]{font-size:24px;width:100%;padding:3px;margin:2px 6px 16px 0}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fbfbfb}.ie7 .login form .input,.ie8 .login form .input{font-family:sans-serif}.login #pass-strength-result{width:250px;font-weight:600;margin:12px 0 6px;padding:6px 5px;text-align:center}.mobile #login{padding:20px 0}.mobile #login .message,.mobile #login form,.mobile #login_error{margin-left:0}.mobile #login #backtoblog,.mobile #login #nav{margin-left:8px}.mobile #login h1 a{width:auto}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}@-ms-viewport{width:device-width}@media screen and (max-width:782px){.interim-login input[type=checkbox]{height:16px;width:16px}.interim-login input[type=checkbox]:checked:before{width:16px;font:400 21px/1 dashicons;margin:-3px 0 0 -4px}} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/media-rtl.css b/sources/wordpress/wp-admin/css/media-rtl.css deleted file mode 100644 index 585d1f3..0000000 --- a/sources/wordpress/wp-admin/css/media-rtl.css +++ /dev/null @@ -1,1196 +0,0 @@ -/*------------------------------------------------------------------------------ - 14.0 - Media Screen -------------------------------------------------------------------------------*/ - -.media-item .describe { - border-collapse: collapse; - width: 100%; - border-top: 1px solid #dfdfdf; - clear: both; - cursor: default; -} - -.media-item.media-blank .describe { - border: 0; -} - -.media-item .describe th { - vertical-align: top; - text-align: right; - padding: 5px 10px 10px; - width: 140px; -} - -.media-item .describe .align th { - padding-top: 0; -} - -.media-item .media-item-info tr { - background-color: transparent; -} - -.media-item .describe td { - padding: 0 0 8px 8px; - vertical-align: top; -} - -.media-item thead.media-item-info td { - padding: 4px 10px 0; -} - -.media-item .media-item-info .A1B1 { - padding: 0 10px 0 0; -} - -.media-item td.savesend { - padding-bottom: 15px; -} - -.media-item .thumbnail { - max-height: 128px; - max-width: 128px; -} - -#wpbody-content #async-upload-wrap a { - display: none; -} - -.media-upload-form { - margin-top: 20px; -} - -.media-upload-form td label { - margin-left: 6px; - margin-right: 2px; -} - -.media-upload-form .align .field label { - display: inline; - padding: 0 23px 0 0; - margin: 0 3px 0 1em; - font-weight: 600; -} - -.media-upload-form tr.image-size label { - margin: 0 5px 0 0; - font-weight: 600; -} - -.media-upload-form th.label label { - font-weight: 600; - margin: 0.5em; - font-size: 13px; -} - -.media-upload-form th.label label span { - padding: 0 5px; -} - -.media-item .describe input[type="text"], -.media-item .describe textarea { - width: 460px; -} - -.media-item .describe p.help { - margin: 0; - padding: 0 5px 0 0; -} - -.media-item .edit-attachment, -.describe-toggle-on, -.describe-toggle-off { - display: block; - line-height: 36px; - float: left; - margin-left: 10px; -} - -.media-item .describe-toggle-off, -.media-item.open .describe-toggle-on { - display: none; -} - -.media-item.open .describe-toggle-off { - display: block; -} - -.media-upload-form .media-item { - min-height: 36px; - margin-bottom: 1px; - position: relative; - width: 100%; - background: #fff; -} - -.media-upload-form .media-item, -.media-upload-form .media-item .error { - -webkit-box-shadow: 0 1px 0 #dfdfdf; - box-shadow: 0 1px 0 #dfdfdf; -} - -#media-items:empty { - border: 0 none; -} - -.media-item .filename { - line-height: 36px; - overflow: hidden; - margin-right: 6px; -} - -.media-item .pinkynail { - float: right; - margin: 2px 3px 0 10px; - max-width: 40px; - max-height: 32px; -} - -.media-item .startopen, -.media-item .startclosed { - display: none; -} - -.media-item .original { - position: relative; - height: 34px; -} - -.media-item .progress { - float: left; - height: 22px; - margin: 7px 6px; - width: 200px; - line-height: 2em; - padding: 0; - overflow: hidden; - -webkit-border-radius: 22px; - border-radius: 22px; - background: #ddd; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); -} - -.media-item .bar { - z-index: 9; - width: 0; - height: 100%; - margin-top: -22px; - -webkit-border-radius: 22px; - border-radius: 22px; - background-color: #0074a2; - -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3); - box-shadow: inset 0 0 2px rgba(0,0,0,0.3); -} - -.media-item .progress .percent { - z-index: 10; - position: relative; - width: 200px; - padding: 0; - color: #fff; - text-align: center; - line-height: 22px; - font-weight: 400; - text-shadow: 0 1px 2px rgba(0,0,0,0.2); -} - -.upload-php .fixed .column-parent { - width: 15%; -} - -.js .html-uploader #plupload-upload-ui { - display: none; -} - -.js .html-uploader #html-upload-ui { - display: block; -} - -.media-upload-form .media-item.error, -.media-upload-form .media-item .error { - width: auto; - margin: 0 0 1px 0; -} - -.media-upload-form .media-item .error { - padding: 10px 14px 10px 0; -} - -.media-item .error-div a.dismiss { - display: block; - float: left; - margin: 0 15px 0 10px; -} - -/*------------------------------------------------------------------------------ - 14.1 - Media Library -------------------------------------------------------------------------------*/ - -.find-box { - background-color: #fff; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - width: 600px; - overflow: hidden; - margin-right: -300px; - position: fixed; - top: 30px; - bottom: 30px; - right: 50%; - z-index: 100105; -} - -.find-box-head { - background: #fcfcfc; - border-bottom: 1px solid #dfdfdf; - height: 36px; - font-size: 18px; - font-weight: 600; - line-height: 36px; - padding: 0 16px 0 36px; - position: absolute; - top: 0; - right: 0; - left: 0; -} - -.find-box-inside { - overflow: auto; - padding: 16px; - background-color: #fff; - position: absolute; - top: 37px; - bottom: 45px; - overflow-y: scroll; - width: 100%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.find-box-search { - padding-bottom: 16px; -} - -.find-box-search .spinner { - float: none; - right: 110px; - position: absolute; - top: 2px; -} - -.find-box-search, -#find-posts-response { - position: relative; /* RTL fix, #WP28010 */ -} - -#find-posts-input, -#find-posts-search { - float: right; -} - -#find-posts-input { - width: 140px; - height: 28px; - margin: 0 0 0 4px; -} - -.widefat .found-radio { - padding-left: 0; - width: 16px; -} - -#find-posts-close { - width: 36px; - height: 36px; - position: absolute; - top: 0; - left: 0; - cursor: pointer; - text-align: center; - color: #666; -} - -#find-posts-close:hover { - color: #2ea2cc; -} - -#find-posts-close:before { - font: normal 20px/36px 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - content: '\f158'; -} - -.find-box-buttons { - padding: 8px 16px; - background: #fcfcfc; - border-top: 1px solid #dfdfdf; - position: absolute; - bottom: 0; - right: 0; - left: 0; -} - -@media screen and ( max-width: 782px ) { - .find-box-inside { - bottom: 57px; - } -} - -@media screen and ( max-width: 660px ) { - - .find-box { - top: 0; - bottom: 0; - right: 0; - left: 0; - margin: 0; - width: 100%; - } - -} - -.ui-find-overlay { - position: fixed; - top: 0; - right: 0; - left: 0; - bottom: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 100100; -} - -ul#dismissed-updates { - display: none; -} - -form.upgrade { - margin-top: 8px; -} - -form.upgrade .hint { - font-style: italic; - font-size: 85%; - margin: -0.5em 0 2em 0; -} - -#poststuff .inside .the-tagcloud { - margin: 5px 0 10px; - padding: 8px; - border: 1px solid #ddd; - line-height: 1.8em; - word-spacing: 3px; - -webkit-border-radius: 6px; - border-radius: 6px; -} - -.drag-drop #drag-drop-area { - border: 4px dashed #bbb; - height: 200px; -} - -.drag-drop .drag-drop-inside { - margin: 70px auto 0; - width: 250px; -} - -.drag-drop-inside p { - color: #aaa; - font-size: 14px; - margin: 5px 0; - display: none; -} - -.drag-drop .drag-drop-inside p { - text-align: center; -} - -.drag-drop-inside p.drag-drop-info { - font-size: 20px; -} - -.drag-drop .drag-drop-inside p, -.drag-drop-inside p.drag-drop-buttons { - display: block; -} - -/* -#drag-drop-area:-moz-drag-over { - border-color: #83b4d8; -} -border color while dragging a file over the uploader drop area */ -.drag-drop.drag-over #drag-drop-area { - border-color: #83b4d8; -} - -#plupload-upload-ui { - position: relative; -} - -/** - * Media Library grid view - */ - -.media-frame.mode-grid, -.media-frame.mode-grid .media-frame-content, -.media-frame.mode-grid .attachments-browser .attachments, -.media-frame.mode-grid .uploader-inline-content { - position: static; -} - -/* Regions we don't use at all */ -.media-frame.mode-grid .media-frame-title, -.media-frame.mode-grid .media-frame-router, -.media-frame.mode-grid .media-frame-menu { - display: none; -} - -.media-frame.mode-grid .media-frame-content { - background-color: transparent; - border: none; -} - -.upload-php .mode-grid .media-sidebar { - position: relative; - width: auto; - margin-bottom: 16px; - padding: 0 16px; - border: 1px solid #c00; - background-color: #feebe8; -} - -.upload-php .mode-grid .hide-sidebar .media-sidebar { - display: none; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status { - border-bottom: none; - padding-bottom: 0; - max-width: 100%; -} - -.upload-php .mode-grid .media-sidebar .upload-error { - margin: 20px 0; - padding: 0; - border: none; - background: none; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors { - font-size: 0; - top: -12px; - left: -10px; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before { - content: "\f158"; - font: normal 20px/1 dashicons; - color: #666; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before, -.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before { - color: #2ea2cc; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3 { - display: none; -} - -.media-frame.mode-grid .uploader-inline { - position: relative; - top: auto; - left: auto; - right: auto; - bottom: auto; - padding-top: 0; - margin-top: 0; - border: 4px dashed #bbb; -} - -.media-frame.mode-select .attachments-browser.fixed .attachments { - position: relative; - top: 94px; /* prevent jumping up when the toolbar becomes fixed */ - padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */ -} - -.media-frame.mode-grid .attachment:focus, -.media-frame.mode-grid .selected.attachment:focus, -.media-frame.mode-grid .attachment.details:focus { - -webkit-box-shadow: - inset 0 0 2px 3px #f1f1f1, - inset 0 0 0 7px #5b9dd9; - box-shadow: - inset 0 0 2px 3px #f1f1f1, - inset 0 0 0 7px #5b9dd9; - outline: none; -} - -.media-frame.mode-grid .selected.attachment { - -webkit-box-shadow: - inset 0 0 0 5px #f1f1f1, - inset 0 0 0 7px #ccc; - box-shadow: - inset 0 0 0 5px #f1f1f1, - inset 0 0 0 7px #ccc; -} - -.media-frame.mode-grid .attachment.details { - -webkit-box-shadow: - inset 0 0 0 3px #f1f1f1, - inset 0 0 0 7px #1e8cbe; - box-shadow: - inset 0 0 0 3px #f1f1f1, - inset 0 0 0 7px #1e8cbe; -} - -.media-frame.mode-grid.mode-select .attachment .thumbnail { - opacity: 0.65; -} - -.media-frame.mode-select .attachment.selected .thumbnail { - opacity: 1; -} - -.media-frame.mode-grid .media-toolbar { - margin-bottom: 15px; - height: auto; -} - -.media-frame.mode-grid .media-toolbar select { - margin: 0 0 0 10px; - font-size: 14px; -} - -.media-frame.mode-grid .media-toolbar-secondary > .media-button { - margin-top: 10px; - margin-bottom: 10px; -} - -.media-frame.mode-grid .attachments-browser .bulk-select { - display: inline-block; - margin: 0 0 0 10px; -} - -.media-frame.mode-grid .search { - margin-top: 0; -} - -.media-frame.mode-grid .spinner { - margin-top: 15px; -} - -.attachments-browser .media-toolbar-secondary > .select-mode-toggle-button { - margin-left: 10px; -} - -.media-frame.mode-select .attachments-browser.fixed .media-toolbar { - position: fixed; - top: 32px; - right: auto; - left: 20px; - margin-top: 0; -} - -.media-frame.mode-grid .attachments-browser { - padding: 0; -} - -.media-frame.mode-grid .attachments-browser .attachments { - padding: 2px; -} - -.media-frame.mode-grid .attachments-browser .no-media { - color: #999; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0 0; - text-align: center; -} - -/** - * Attachment details modal - */ - -.edit-attachment-frame { - display: block; - height: 100%; - width: 100%; -} - -.edit-attachment-frame .edit-media-header { - overflow: hidden; -} - -.upload-php .media-modal-close .media-modal-icon:before { - content: '\f335'; - font-size: 22px; -} - -.upload-php .media-modal-close .media-modal-icon { - margin: 14px; - width: 22px; -} - -.upload-php .media-modal-close, -.edit-attachment-frame .edit-media-header .left, -.edit-attachment-frame .edit-media-header .right { - cursor: pointer; - color: #777; - background-color: transparent; - height: 50px; - width: 50px; - padding: 0; - position: absolute; - text-align: center; - border: 0; - border-right: 1px solid #ddd; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.upload-php .media-modal-close { - top: 0; - left: 0; -} - -.edit-attachment-frame .edit-media-header .left { - left: 102px; -} - -.edit-attachment-frame .edit-media-header .right { - left: 51px; -} - -.edit-attachment-frame .media-frame-title { - right: 0; - left: 150px; /* leave space for prev/next/close */ -} - -.edit-attachment-frame .edit-media-header .right:before, -.edit-attachment-frame .edit-media-header .left:before { - font: normal 20px/50px 'dashicons' !important; - display: inline; - font-weight: 300; -} - -.upload-php .media-modal-close:hover, -.upload-php .media-modal-close:focus, -.edit-attachment-frame .edit-media-header .left:hover, -.edit-attachment-frame .edit-media-header .right:hover, -.edit-attachment-frame .edit-media-header .left:focus, -.edit-attachment-frame .edit-media-header .right:focus { - background: #ddd; - border-color: #ccc; - color: #000; - outline: none; -} - -.upload-php .media-modal-close:focus .media-modal-icon:before, -.upload-php .media-modal-close:hover .media-modal-icon:before { - color: #000; -} - -.edit-attachment-frame .edit-media-header .left:before, -.rtl .edit-attachment-frame .edit-media-header .right:before { - content: '\f341'; -} - -.edit-attachment-frame .edit-media-header .right:before, -.rtl .edit-attachment-frame .edit-media-header .left:before { - content: '\f345'; -} - -.edit-attachment-frame .edit-media-header .left.disabled, -.edit-attachment-frame .edit-media-header .right.disabled, -.edit-attachment-frame .edit-media-header .left.disabled:hover, -.edit-attachment-frame .edit-media-header .right.disabled:hover { - color: #ccc; - background: inherit; - cursor: default; - pointer-events: none; -} - -.edit-attachment-frame .media-frame-content, -.edit-attachment-frame .media-frame-router { - right: 0; -} - -.edit-attachment-frame .media-frame-content { - border-bottom: none; - bottom: 0; - top: 50px; -} - -.edit-attachment-frame .attachment-details { - position: absolute; - overflow: auto; - top: 0; - bottom: 0; - left: 0; - right: 0; - -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); - box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); -} - -.edit-attachment-frame .attachment-media-view { - float: right; - width: 65%; - height: 100%; -} - -.edit-attachment-frame .attachment-media-view .thumbnail { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 16px; - height: 100%; -} - -.edit-attachment-frame .attachment-media-view .details-image { - display: block; - margin-bottom: 16px; - max-width: 100%; - max-height: 90%; - max-height: -webkit-calc( 100% - 42px ); - max-height: calc( 100% - 42px ); /* leave space for actions underneath */ -} - -.edit-attachment-frame .wp-media-wrapper { - margin-bottom: 12px; -} - -.edit-attachment-frame input, -.edit-attachment-frame textarea { - padding: 6px 8px; - line-height: 16px; -} - -.edit-attachment-frame .attachment-info { - overflow: auto; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin-bottom: 0; - padding: 12px 16px 0; - width: 35%; - height: 100%; - -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); - box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); - border-bottom: 0; - border-right: 1px solid #ddd; - background: #f3f3f3; -} - -.edit-attachment-frame .attachment-info .details, -.edit-attachment-frame .attachment-info .settings { - position: relative; /* RTL fix, #WP29352 */ - overflow: hidden; - float: none; - margin-bottom: 15px; - padding-bottom: 15px; - border-bottom: 1px solid #ddd; -} - -.edit-attachment-frame .attachment-info .filename { - font-weight: normal; - color: #666; -} - -.edit-attachment-frame .attachment-info .thumbnail { - margin-bottom: 12px; -} - -.attachment-info .actions { - margin-bottom: 16px; -} - -.attachment-info .actions a { - display: inline; - text-decoration: none; -} - - -/*------------------------------------------------------------------------------ - 14.2 - Image Editor -------------------------------------------------------------------------------*/ - -.wp_attachment_details label[for="content"] { - font-size: 13px; - line-height: 1.5; - margin: 1em 0; -} - -.wp_attachment_details #attachment_caption { - height: 4em; -} - -.describe .image-editor { - vertical-align: top; -} - -.imgedit-wrap { - position: relative; -} - -.imgedit-settings p { - margin: 8px 0 0; -} - -.describe .imgedit-wrap .imgedit-settings { - padding: 0 5px; -} - -.wp_attachment_holder div.updated { - margin-top: 0; -} - -.wp_attachment_holder .imgedit-wrap > div { - height: auto; - overflow: hidden; -} - -.wp_attachment_holder .imgedit-wrap .imgedit-panel-content { - padding-left: 16px; - width: auto; - overflow: hidden; -} - -.wp_attachment_holder .imgedit-wrap .imgedit-settings { - float: left; - width: 250px; -} - -.imgedit-settings input { - margin-top: 0; - vertical-align: middle; -} - -.imgedit-wait { - position: absolute; - top: 0; - background: #fff url(../images/spinner.gif) no-repeat center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - opacity: 0.7; - filter: alpha(opacity=70); - width: 100%; - height: 500px; - display: none; -} - -.no-float { - float: none; -} - -.media-disabled, -.imgedit-settings .disabled { - color: grey; -} - -.wp_attachment_image, -.A1B1 { - overflow: hidden; -} - -.wp_attachment_image .button, -.A1B1 .button { - float: right; -} - -.no-js .wp_attachment_image .button { - display: none; -} - -.wp_attachment_image .spinner, -.A1B1 .spinner { - float: right; - padding: 0 0 4px 0; - vertical-align: bottom; -} - -.imgedit-menu { - margin: 0 0 12px; - min-width: 300px; -} - -.imgedit-menu div { - float: right; - width: 32px; - border: 1px solid #d5d5d5; - background: #f1f1f1; - margin: 0 0 0 8px; - height: 32px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-align: center; - line-height: 28px; - color: #777; - cursor: pointer; -} - -.imgedit-menu div:before { - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: middle; -} - -.imgedit-menu div:hover { - border-color: #c1c1c1; - background-color: #eaeaea; - color: #333; -} - -.imgedit-menu div.disabled { - border-color: #ccc; - background-color: #ddd; - color: #777; - filter: alpha(opacity=50); - opacity: 0.5; - cursor: default; -} - -.imgedit-crop:before { - content:'\f165'; -} - -.imgedit-rleft:before { - content:'\f166'; -} - -.imgedit-rright:before { - content:'\f167'; -} - -.imgedit-flipv:before { - content:'\f168'; -} - -.imgedit-fliph:before { - content:'\f169'; -} - -.imgedit-undo:before { - content:'\f171'; -} - -.imgedit-redo:before { - content:'\f172'; -} - -.imgedit-crop-wrap { - position: relative; -} - -.imgedit-crop { - margin: 0 0 0 8px; -} - -.imgedit-rleft { - margin: 0 3px; -} - -.imgedit-rright { - margin: 0 3px 0 8px; -} - -.imgedit-flipv { - margin: 0 3px; -} - -.imgedit-fliph { - margin: 0 3px 0 8px; -} - -.imgedit-undo { - margin: 0 3px; -} - -.imgedit-redo { - margin: 0 3px 0 8px; -} - -.imgedit-applyto img { - margin: 0 0 0 8px; -} - -.imgedit-group-top { - margin: 5px 0; -} - -#poststuff .imgedit-group-top h3 { - padding: 0; -} - -.imgedit-group-top h3 a { - text-decoration: none; -} - -.imgedit-applyto .imgedit-label { - padding: 2px 0 0; - display: block; -} - -.imgedit-help { - display: none; - font-style: italic; -} - -a.imgedit-help-toggle { - text-decoration: none; -} - -.form-table td.imgedit-response { - padding: 0; -} - -.imgedit-submit { - margin: 8px 0; -} - -.imgedit-submit-btn { - margin-right: 20px; -} - -.imgedit-wrap .nowrap { - white-space: nowrap; -} - -span.imgedit-scale-warn { - color: red; - font-size: 20px; - font-style: normal; - visibility: hidden; - vertical-align: middle; -} - -.imgedit-group { - margin-bottom: 8px; - padding: 2px 10px; -} - -audio, video { - display: inline-block; - max-width: 100%; -} - -.mejs-container { - width: 100%; - max-width: 100%; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .imgedit-wait { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and ( max-width: 782px ) { - .wp_attachment_details label[for="content"] { - font-size: 14px; - line-height: 1.5em; - } - - .media-upload-form .media-item.error, - .media-upload-form .media-item .error { - font-size: 13px; - line-height: 1.5; - } - - .media-upload-form .media-item.error { - padding: 1px 10px; - } - - .media-upload-form .media-item .error { - padding: 10px 12px 10px 0; - } -} - -/** - * Media queries for media grid. - */ - -@media only screen and (max-width: 1120px) { - .media-frame.mode-grid .attachments-browser .media-toolbar-secondary { - float: none; - } -} - -@media only screen and ( max-width: 782px ) { - .media-frame.mode-select .attachments-browser.fixed .media-toolbar { - top: 46px; - left: 10px; - } -} - -@media only screen and (max-width: 600px) { - .media-frame.mode-select .attachments-browser.fixed .media-toolbar { - top: 0; - } -} - -@media only screen and (max-width: 480px) { - .edit-attachment-frame .media-frame-title { - left: 110px; - } - - .upload-php .media-modal-close, - .edit-attachment-frame .edit-media-header .left, - .edit-attachment-frame .edit-media-header .right { - width: 40px; - height: 40px; - } - - .upload-php .media-modal-close .media-modal-icon { - margin: 9px 10px; - } - - .edit-attachment-frame .edit-media-header .right:before, - .edit-attachment-frame .edit-media-header .left:before { - line-height: 40px !important; - } - - .edit-attachment-frame .edit-media-header .left { - left: 82px; - } - - .edit-attachment-frame .edit-media-header .right { - left: 41px; - } - - .edit-attachment-frame .media-frame-content { - top: 40px; - } - - .edit-attachment-frame .attachment-media-view { - float: none; - height: auto; - width: 100%; - } - - .edit-attachment-frame .attachment-info { - height: auto; - width: 100%; - } -} - -@media only screen and (max-width: 640px), screen and (max-height: 400px) { - .upload-php .mode-grid .media-sidebar{ - max-width: 100%; - } -} diff --git a/sources/wordpress/wp-admin/css/media.css b/sources/wordpress/wp-admin/css/media.css deleted file mode 100644 index e27b665..0000000 --- a/sources/wordpress/wp-admin/css/media.css +++ /dev/null @@ -1,1196 +0,0 @@ -/*------------------------------------------------------------------------------ - 14.0 - Media Screen -------------------------------------------------------------------------------*/ - -.media-item .describe { - border-collapse: collapse; - width: 100%; - border-top: 1px solid #dfdfdf; - clear: both; - cursor: default; -} - -.media-item.media-blank .describe { - border: 0; -} - -.media-item .describe th { - vertical-align: top; - text-align: left; - padding: 5px 10px 10px; - width: 140px; -} - -.media-item .describe .align th { - padding-top: 0; -} - -.media-item .media-item-info tr { - background-color: transparent; -} - -.media-item .describe td { - padding: 0 8px 8px 0; - vertical-align: top; -} - -.media-item thead.media-item-info td { - padding: 4px 10px 0; -} - -.media-item .media-item-info .A1B1 { - padding: 0 0 0 10px; -} - -.media-item td.savesend { - padding-bottom: 15px; -} - -.media-item .thumbnail { - max-height: 128px; - max-width: 128px; -} - -#wpbody-content #async-upload-wrap a { - display: none; -} - -.media-upload-form { - margin-top: 20px; -} - -.media-upload-form td label { - margin-right: 6px; - margin-left: 2px; -} - -.media-upload-form .align .field label { - display: inline; - padding: 0 0 0 23px; - margin: 0 1em 0 3px; - font-weight: 600; -} - -.media-upload-form tr.image-size label { - margin: 0 0 0 5px; - font-weight: 600; -} - -.media-upload-form th.label label { - font-weight: 600; - margin: 0.5em; - font-size: 13px; -} - -.media-upload-form th.label label span { - padding: 0 5px; -} - -.media-item .describe input[type="text"], -.media-item .describe textarea { - width: 460px; -} - -.media-item .describe p.help { - margin: 0; - padding: 0 0 0 5px; -} - -.media-item .edit-attachment, -.describe-toggle-on, -.describe-toggle-off { - display: block; - line-height: 36px; - float: right; - margin-right: 10px; -} - -.media-item .describe-toggle-off, -.media-item.open .describe-toggle-on { - display: none; -} - -.media-item.open .describe-toggle-off { - display: block; -} - -.media-upload-form .media-item { - min-height: 36px; - margin-bottom: 1px; - position: relative; - width: 100%; - background: #fff; -} - -.media-upload-form .media-item, -.media-upload-form .media-item .error { - -webkit-box-shadow: 0 1px 0 #dfdfdf; - box-shadow: 0 1px 0 #dfdfdf; -} - -#media-items:empty { - border: 0 none; -} - -.media-item .filename { - line-height: 36px; - overflow: hidden; - margin-left: 6px; -} - -.media-item .pinkynail { - float: left; - margin: 2px 10px 0 3px; - max-width: 40px; - max-height: 32px; -} - -.media-item .startopen, -.media-item .startclosed { - display: none; -} - -.media-item .original { - position: relative; - height: 34px; -} - -.media-item .progress { - float: right; - height: 22px; - margin: 7px 6px; - width: 200px; - line-height: 2em; - padding: 0; - overflow: hidden; - -webkit-border-radius: 22px; - border-radius: 22px; - background: #ddd; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); -} - -.media-item .bar { - z-index: 9; - width: 0; - height: 100%; - margin-top: -22px; - -webkit-border-radius: 22px; - border-radius: 22px; - background-color: #0074a2; - -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3); - box-shadow: inset 0 0 2px rgba(0,0,0,0.3); -} - -.media-item .progress .percent { - z-index: 10; - position: relative; - width: 200px; - padding: 0; - color: #fff; - text-align: center; - line-height: 22px; - font-weight: 400; - text-shadow: 0 1px 2px rgba(0,0,0,0.2); -} - -.upload-php .fixed .column-parent { - width: 15%; -} - -.js .html-uploader #plupload-upload-ui { - display: none; -} - -.js .html-uploader #html-upload-ui { - display: block; -} - -.media-upload-form .media-item.error, -.media-upload-form .media-item .error { - width: auto; - margin: 0 0 1px 0; -} - -.media-upload-form .media-item .error { - padding: 10px 0 10px 14px; -} - -.media-item .error-div a.dismiss { - display: block; - float: right; - margin: 0 10px 0 15px; -} - -/*------------------------------------------------------------------------------ - 14.1 - Media Library -------------------------------------------------------------------------------*/ - -.find-box { - background-color: #fff; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - width: 600px; - overflow: hidden; - margin-left: -300px; - position: fixed; - top: 30px; - bottom: 30px; - left: 50%; - z-index: 100105; -} - -.find-box-head { - background: #fcfcfc; - border-bottom: 1px solid #dfdfdf; - height: 36px; - font-size: 18px; - font-weight: 600; - line-height: 36px; - padding: 0 36px 0 16px; - position: absolute; - top: 0; - left: 0; - right: 0; -} - -.find-box-inside { - overflow: auto; - padding: 16px; - background-color: #fff; - position: absolute; - top: 37px; - bottom: 45px; - overflow-y: scroll; - width: 100%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.find-box-search { - padding-bottom: 16px; -} - -.find-box-search .spinner { - float: none; - left: 110px; - position: absolute; - top: 2px; -} - -.find-box-search, -#find-posts-response { - position: relative; /* RTL fix, #WP28010 */ -} - -#find-posts-input, -#find-posts-search { - float: left; -} - -#find-posts-input { - width: 140px; - height: 28px; - margin: 0 4px 0 0; -} - -.widefat .found-radio { - padding-right: 0; - width: 16px; -} - -#find-posts-close { - width: 36px; - height: 36px; - position: absolute; - top: 0; - right: 0; - cursor: pointer; - text-align: center; - color: #666; -} - -#find-posts-close:hover { - color: #2ea2cc; -} - -#find-posts-close:before { - font: normal 20px/36px 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - content: '\f158'; -} - -.find-box-buttons { - padding: 8px 16px; - background: #fcfcfc; - border-top: 1px solid #dfdfdf; - position: absolute; - bottom: 0; - left: 0; - right: 0; -} - -@media screen and ( max-width: 782px ) { - .find-box-inside { - bottom: 57px; - } -} - -@media screen and ( max-width: 660px ) { - - .find-box { - top: 0; - bottom: 0; - left: 0; - right: 0; - margin: 0; - width: 100%; - } - -} - -.ui-find-overlay { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 100100; -} - -ul#dismissed-updates { - display: none; -} - -form.upgrade { - margin-top: 8px; -} - -form.upgrade .hint { - font-style: italic; - font-size: 85%; - margin: -0.5em 0 2em 0; -} - -#poststuff .inside .the-tagcloud { - margin: 5px 0 10px; - padding: 8px; - border: 1px solid #ddd; - line-height: 1.8em; - word-spacing: 3px; - -webkit-border-radius: 6px; - border-radius: 6px; -} - -.drag-drop #drag-drop-area { - border: 4px dashed #bbb; - height: 200px; -} - -.drag-drop .drag-drop-inside { - margin: 70px auto 0; - width: 250px; -} - -.drag-drop-inside p { - color: #aaa; - font-size: 14px; - margin: 5px 0; - display: none; -} - -.drag-drop .drag-drop-inside p { - text-align: center; -} - -.drag-drop-inside p.drag-drop-info { - font-size: 20px; -} - -.drag-drop .drag-drop-inside p, -.drag-drop-inside p.drag-drop-buttons { - display: block; -} - -/* -#drag-drop-area:-moz-drag-over { - border-color: #83b4d8; -} -border color while dragging a file over the uploader drop area */ -.drag-drop.drag-over #drag-drop-area { - border-color: #83b4d8; -} - -#plupload-upload-ui { - position: relative; -} - -/** - * Media Library grid view - */ - -.media-frame.mode-grid, -.media-frame.mode-grid .media-frame-content, -.media-frame.mode-grid .attachments-browser .attachments, -.media-frame.mode-grid .uploader-inline-content { - position: static; -} - -/* Regions we don't use at all */ -.media-frame.mode-grid .media-frame-title, -.media-frame.mode-grid .media-frame-router, -.media-frame.mode-grid .media-frame-menu { - display: none; -} - -.media-frame.mode-grid .media-frame-content { - background-color: transparent; - border: none; -} - -.upload-php .mode-grid .media-sidebar { - position: relative; - width: auto; - margin-bottom: 16px; - padding: 0 16px; - border: 1px solid #c00; - background-color: #feebe8; -} - -.upload-php .mode-grid .hide-sidebar .media-sidebar { - display: none; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status { - border-bottom: none; - padding-bottom: 0; - max-width: 100%; -} - -.upload-php .mode-grid .media-sidebar .upload-error { - margin: 20px 0; - padding: 0; - border: none; - background: none; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors { - font-size: 0; - top: -12px; - right: -10px; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before { - content: "\f158"; - font: normal 20px/1 dashicons; - color: #666; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before, -.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before { - color: #2ea2cc; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3 { - display: none; -} - -.media-frame.mode-grid .uploader-inline { - position: relative; - top: auto; - right: auto; - left: auto; - bottom: auto; - padding-top: 0; - margin-top: 0; - border: 4px dashed #bbb; -} - -.media-frame.mode-select .attachments-browser.fixed .attachments { - position: relative; - top: 94px; /* prevent jumping up when the toolbar becomes fixed */ - padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */ -} - -.media-frame.mode-grid .attachment:focus, -.media-frame.mode-grid .selected.attachment:focus, -.media-frame.mode-grid .attachment.details:focus { - -webkit-box-shadow: - inset 0 0 2px 3px #f1f1f1, - inset 0 0 0 7px #5b9dd9; - box-shadow: - inset 0 0 2px 3px #f1f1f1, - inset 0 0 0 7px #5b9dd9; - outline: none; -} - -.media-frame.mode-grid .selected.attachment { - -webkit-box-shadow: - inset 0 0 0 5px #f1f1f1, - inset 0 0 0 7px #ccc; - box-shadow: - inset 0 0 0 5px #f1f1f1, - inset 0 0 0 7px #ccc; -} - -.media-frame.mode-grid .attachment.details { - -webkit-box-shadow: - inset 0 0 0 3px #f1f1f1, - inset 0 0 0 7px #1e8cbe; - box-shadow: - inset 0 0 0 3px #f1f1f1, - inset 0 0 0 7px #1e8cbe; -} - -.media-frame.mode-grid.mode-select .attachment .thumbnail { - opacity: 0.65; -} - -.media-frame.mode-select .attachment.selected .thumbnail { - opacity: 1; -} - -.media-frame.mode-grid .media-toolbar { - margin-bottom: 15px; - height: auto; -} - -.media-frame.mode-grid .media-toolbar select { - margin: 0 10px 0 0; - font-size: 14px; -} - -.media-frame.mode-grid .media-toolbar-secondary > .media-button { - margin-top: 10px; - margin-bottom: 10px; -} - -.media-frame.mode-grid .attachments-browser .bulk-select { - display: inline-block; - margin: 0 10px 0 0; -} - -.media-frame.mode-grid .search { - margin-top: 0; -} - -.media-frame.mode-grid .spinner { - margin-top: 15px; -} - -.attachments-browser .media-toolbar-secondary > .select-mode-toggle-button { - margin-right: 10px; -} - -.media-frame.mode-select .attachments-browser.fixed .media-toolbar { - position: fixed; - top: 32px; - left: auto; - right: 20px; - margin-top: 0; -} - -.media-frame.mode-grid .attachments-browser { - padding: 0; -} - -.media-frame.mode-grid .attachments-browser .attachments { - padding: 2px; -} - -.media-frame.mode-grid .attachments-browser .no-media { - color: #999; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0 0; - text-align: center; -} - -/** - * Attachment details modal - */ - -.edit-attachment-frame { - display: block; - height: 100%; - width: 100%; -} - -.edit-attachment-frame .edit-media-header { - overflow: hidden; -} - -.upload-php .media-modal-close .media-modal-icon:before { - content: '\f335'; - font-size: 22px; -} - -.upload-php .media-modal-close .media-modal-icon { - margin: 14px; - width: 22px; -} - -.upload-php .media-modal-close, -.edit-attachment-frame .edit-media-header .left, -.edit-attachment-frame .edit-media-header .right { - cursor: pointer; - color: #777; - background-color: transparent; - height: 50px; - width: 50px; - padding: 0; - position: absolute; - text-align: center; - border: 0; - border-left: 1px solid #ddd; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.upload-php .media-modal-close { - top: 0; - right: 0; -} - -.edit-attachment-frame .edit-media-header .left { - right: 102px; -} - -.edit-attachment-frame .edit-media-header .right { - right: 51px; -} - -.edit-attachment-frame .media-frame-title { - left: 0; - right: 150px; /* leave space for prev/next/close */ -} - -.edit-attachment-frame .edit-media-header .right:before, -.edit-attachment-frame .edit-media-header .left:before { - font: normal 20px/50px 'dashicons' !important; - display: inline; - font-weight: 300; -} - -.upload-php .media-modal-close:hover, -.upload-php .media-modal-close:focus, -.edit-attachment-frame .edit-media-header .left:hover, -.edit-attachment-frame .edit-media-header .right:hover, -.edit-attachment-frame .edit-media-header .left:focus, -.edit-attachment-frame .edit-media-header .right:focus { - background: #ddd; - border-color: #ccc; - color: #000; - outline: none; -} - -.upload-php .media-modal-close:focus .media-modal-icon:before, -.upload-php .media-modal-close:hover .media-modal-icon:before { - color: #000; -} - -.edit-attachment-frame .edit-media-header .left:before, -.rtl .edit-attachment-frame .edit-media-header .right:before { - content: '\f341'; -} - -.edit-attachment-frame .edit-media-header .right:before, -.rtl .edit-attachment-frame .edit-media-header .left:before { - content: '\f345'; -} - -.edit-attachment-frame .edit-media-header .left.disabled, -.edit-attachment-frame .edit-media-header .right.disabled, -.edit-attachment-frame .edit-media-header .left.disabled:hover, -.edit-attachment-frame .edit-media-header .right.disabled:hover { - color: #ccc; - background: inherit; - cursor: default; - pointer-events: none; -} - -.edit-attachment-frame .media-frame-content, -.edit-attachment-frame .media-frame-router { - left: 0; -} - -.edit-attachment-frame .media-frame-content { - border-bottom: none; - bottom: 0; - top: 50px; -} - -.edit-attachment-frame .attachment-details { - position: absolute; - overflow: auto; - top: 0; - bottom: 0; - right: 0; - left: 0; - -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); - box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); -} - -.edit-attachment-frame .attachment-media-view { - float: left; - width: 65%; - height: 100%; -} - -.edit-attachment-frame .attachment-media-view .thumbnail { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 16px; - height: 100%; -} - -.edit-attachment-frame .attachment-media-view .details-image { - display: block; - margin-bottom: 16px; - max-width: 100%; - max-height: 90%; - max-height: -webkit-calc( 100% - 42px ); - max-height: calc( 100% - 42px ); /* leave space for actions underneath */ -} - -.edit-attachment-frame .wp-media-wrapper { - margin-bottom: 12px; -} - -.edit-attachment-frame input, -.edit-attachment-frame textarea { - padding: 6px 8px; - line-height: 16px; -} - -.edit-attachment-frame .attachment-info { - overflow: auto; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin-bottom: 0; - padding: 12px 16px 0; - width: 35%; - height: 100%; - -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); - box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); - border-bottom: 0; - border-left: 1px solid #ddd; - background: #f3f3f3; -} - -.edit-attachment-frame .attachment-info .details, -.edit-attachment-frame .attachment-info .settings { - position: relative; /* RTL fix, #WP29352 */ - overflow: hidden; - float: none; - margin-bottom: 15px; - padding-bottom: 15px; - border-bottom: 1px solid #ddd; -} - -.edit-attachment-frame .attachment-info .filename { - font-weight: normal; - color: #666; -} - -.edit-attachment-frame .attachment-info .thumbnail { - margin-bottom: 12px; -} - -.attachment-info .actions { - margin-bottom: 16px; -} - -.attachment-info .actions a { - display: inline; - text-decoration: none; -} - - -/*------------------------------------------------------------------------------ - 14.2 - Image Editor -------------------------------------------------------------------------------*/ - -.wp_attachment_details label[for="content"] { - font-size: 13px; - line-height: 1.5; - margin: 1em 0; -} - -.wp_attachment_details #attachment_caption { - height: 4em; -} - -.describe .image-editor { - vertical-align: top; -} - -.imgedit-wrap { - position: relative; -} - -.imgedit-settings p { - margin: 8px 0 0; -} - -.describe .imgedit-wrap .imgedit-settings { - padding: 0 5px; -} - -.wp_attachment_holder div.updated { - margin-top: 0; -} - -.wp_attachment_holder .imgedit-wrap > div { - height: auto; - overflow: hidden; -} - -.wp_attachment_holder .imgedit-wrap .imgedit-panel-content { - padding-right: 16px; - width: auto; - overflow: hidden; -} - -.wp_attachment_holder .imgedit-wrap .imgedit-settings { - float: right; - width: 250px; -} - -.imgedit-settings input { - margin-top: 0; - vertical-align: middle; -} - -.imgedit-wait { - position: absolute; - top: 0; - background: #fff url(../images/spinner.gif) no-repeat center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - opacity: 0.7; - filter: alpha(opacity=70); - width: 100%; - height: 500px; - display: none; -} - -.no-float { - float: none; -} - -.media-disabled, -.imgedit-settings .disabled { - color: grey; -} - -.wp_attachment_image, -.A1B1 { - overflow: hidden; -} - -.wp_attachment_image .button, -.A1B1 .button { - float: left; -} - -.no-js .wp_attachment_image .button { - display: none; -} - -.wp_attachment_image .spinner, -.A1B1 .spinner { - float: left; - padding: 0 0 4px 0; - vertical-align: bottom; -} - -.imgedit-menu { - margin: 0 0 12px; - min-width: 300px; -} - -.imgedit-menu div { - float: left; - width: 32px; - border: 1px solid #d5d5d5; - background: #f1f1f1; - margin: 0 8px 0 0; - height: 32px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-align: center; - line-height: 28px; - color: #777; - cursor: pointer; -} - -.imgedit-menu div:before { - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: middle; -} - -.imgedit-menu div:hover { - border-color: #c1c1c1; - background-color: #eaeaea; - color: #333; -} - -.imgedit-menu div.disabled { - border-color: #ccc; - background-color: #ddd; - color: #777; - filter: alpha(opacity=50); - opacity: 0.5; - cursor: default; -} - -.imgedit-crop:before { - content:'\f165'; -} - -.imgedit-rleft:before { - content:'\f166'; -} - -.imgedit-rright:before { - content:'\f167'; -} - -.imgedit-flipv:before { - content:'\f168'; -} - -.imgedit-fliph:before { - content:'\f169'; -} - -.imgedit-undo:before { - content:'\f171'; -} - -.imgedit-redo:before { - content:'\f172'; -} - -.imgedit-crop-wrap { - position: relative; -} - -.imgedit-crop { - margin: 0 8px 0 0; -} - -.imgedit-rleft { - margin: 0 3px; -} - -.imgedit-rright { - margin: 0 8px 0 3px; -} - -.imgedit-flipv { - margin: 0 3px; -} - -.imgedit-fliph { - margin: 0 8px 0 3px; -} - -.imgedit-undo { - margin: 0 3px; -} - -.imgedit-redo { - margin: 0 8px 0 3px; -} - -.imgedit-applyto img { - margin: 0 8px 0 0; -} - -.imgedit-group-top { - margin: 5px 0; -} - -#poststuff .imgedit-group-top h3 { - padding: 0; -} - -.imgedit-group-top h3 a { - text-decoration: none; -} - -.imgedit-applyto .imgedit-label { - padding: 2px 0 0; - display: block; -} - -.imgedit-help { - display: none; - font-style: italic; -} - -a.imgedit-help-toggle { - text-decoration: none; -} - -.form-table td.imgedit-response { - padding: 0; -} - -.imgedit-submit { - margin: 8px 0; -} - -.imgedit-submit-btn { - margin-left: 20px; -} - -.imgedit-wrap .nowrap { - white-space: nowrap; -} - -span.imgedit-scale-warn { - color: red; - font-size: 20px; - font-style: normal; - visibility: hidden; - vertical-align: middle; -} - -.imgedit-group { - margin-bottom: 8px; - padding: 2px 10px; -} - -audio, video { - display: inline-block; - max-width: 100%; -} - -.mejs-container { - width: 100%; - max-width: 100%; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .imgedit-wait { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and ( max-width: 782px ) { - .wp_attachment_details label[for="content"] { - font-size: 14px; - line-height: 1.5em; - } - - .media-upload-form .media-item.error, - .media-upload-form .media-item .error { - font-size: 13px; - line-height: 1.5; - } - - .media-upload-form .media-item.error { - padding: 1px 10px; - } - - .media-upload-form .media-item .error { - padding: 10px 0 10px 12px; - } -} - -/** - * Media queries for media grid. - */ - -@media only screen and (max-width: 1120px) { - .media-frame.mode-grid .attachments-browser .media-toolbar-secondary { - float: none; - } -} - -@media only screen and ( max-width: 782px ) { - .media-frame.mode-select .attachments-browser.fixed .media-toolbar { - top: 46px; - right: 10px; - } -} - -@media only screen and (max-width: 600px) { - .media-frame.mode-select .attachments-browser.fixed .media-toolbar { - top: 0; - } -} - -@media only screen and (max-width: 480px) { - .edit-attachment-frame .media-frame-title { - right: 110px; - } - - .upload-php .media-modal-close, - .edit-attachment-frame .edit-media-header .left, - .edit-attachment-frame .edit-media-header .right { - width: 40px; - height: 40px; - } - - .upload-php .media-modal-close .media-modal-icon { - margin: 9px 10px; - } - - .edit-attachment-frame .edit-media-header .right:before, - .edit-attachment-frame .edit-media-header .left:before { - line-height: 40px !important; - } - - .edit-attachment-frame .edit-media-header .left { - right: 82px; - } - - .edit-attachment-frame .edit-media-header .right { - right: 41px; - } - - .edit-attachment-frame .media-frame-content { - top: 40px; - } - - .edit-attachment-frame .attachment-media-view { - float: none; - height: auto; - width: 100%; - } - - .edit-attachment-frame .attachment-info { - height: auto; - width: 100%; - } -} - -@media only screen and (max-width: 640px), screen and (max-height: 400px) { - .upload-php .mode-grid .media-sidebar{ - max-width: 100%; - } -} diff --git a/sources/wordpress/wp-admin/css/nav-menus-rtl.css b/sources/wordpress/wp-admin/css/nav-menus-rtl.css deleted file mode 100644 index ed2405b..0000000 --- a/sources/wordpress/wp-admin/css/nav-menus-rtl.css +++ /dev/null @@ -1,857 +0,0 @@ -/* nav-menu */ - -/* @todo: determine if this is truly for nav menus only */ -.no-js #message { - display: block; -} - -ul.add-menu-item-tabs li { - padding: 3px 8px 3px 5px; -} - -.accordion-section ul.category-tabs, -.accordion-section ul.add-menu-item-tabs, -.accordion-section ul.wp-tab-bar { - margin: 0; -} - -.accordion-section .categorychecklist { - margin: 13px 0; -} - -#nav-menu-meta .accordion-section-content { - padding: 18px 13px; -} - -#nav-menu-meta .button-controls { - margin-bottom: 0; -} - -#nav-menus-frame { - margin-right: 300px; - margin-top: 23px; -} - -#wpbody-content #menu-settings-column { - display:inline; - width:281px; - margin-right: -300px; - clear: both; - float: right; - padding-top: 0; -} - -#menu-settings-column .inside { - clear: both; - margin: 10px 0 0; -} - -.metabox-holder-disabled .postbox, -.metabox-holder-disabled .accordion-section-content, -.metabox-holder-disabled .accordion-section-title { - opacity: 0.5; - filter: alpha(opacity=50); -} - -.metabox-holder-disabled .button-controls .select-all { - display: none; -} - -#wpbody { - position: relative; -} - -.blank-slate .menu-name { - height: 2em; -} - -.blank-slate .menu-settings { - border: none; - margin-top: 0; - padding-top: 0; - overflow: hidden; -} - -.is-submenu { - color: #999; - font-style: italic; - font-weight: normal; - margin-right: 4px; -} - -.manage-menus { - margin-top: 23px; - padding: 10px; - overflow: hidden; - background: #fbfbfb; -} - -.manage-menus select { - float: right; - margin-left: 6px; -} - -.manage-menus .selected-menu { - float: right; - margin: 5px 0 0 6px; -} - -.manage-menus .submit-btn { - float: right; - margin-top: 1px; -} - -.menu-edit p { - margin: .3em 0 .6em; -} - -.menu-edit #post-body-content h3 { - margin: 1em 0 10px; -} - -.menu-settings { - border-top: 1px solid #eee; - margin-top: 2em; -} - -.menu-settings dl { - margin: 0 0 10px; - overflow: hidden; - padding-right: 18%; -} - -.menu-settings dd { - float: right; - margin: 0; - width: 100%; -} - -.menu-settings dt { - float: right; - clear: both; - width: 21.951%; - padding: 3px 0 0; - margin-right: -21.951%; -} - -.menu-settings label { - vertical-align: baseline; -} - -.menu-edit .checkbox-input { - margin-top: 4px; -} - -.theme-location-set { - color: #999; - font-size: 11px; -} - -/* Menu Container */ -#menu-management-liquid { - float: right; - min-width: 100%; - margin-top: 3px; -} - -#menu-management { - position: relative; - margin-left: 20px; - margin-top: -3px; - width: 100%; - background: #f5f5f5; -} - -#menu-management .menu-edit { - margin-bottom: 20px; -} - -.nav-menus-php #post-body { - padding: 0 10px 10px; - border-top: 1px solid #fff; - border-bottom: 1px solid #dfdfdf; - background: #fff; -} - -#nav-menu-header, -#nav-menu-footer { - padding: 0 10px; -} - -#nav-menu-header { - border-bottom: 1px solid #dfdfdf; - margin-bottom: 0; -} - -#nav-menu-header .menu-name-label { - margin-top: 4px; -} - -.nav-menus-php #post-body div.updated, -.nav-menus-php #post-body div.error { - margin: 0; -} - -.nav-menus-php #post-body-content { - position: relative; - float: none; -} - -#menu-management .menu-add-new abbr { - font-weight:600; -} - -#select-nav-menu-container { - text-align: left; - padding: 0 10px 3px 10px; - margin-bottom: 5px; -} - -#select-nav-menu { - width: 100px; - display: inline; -} - -#menu-name-label { - margin-top: -2px; -} - -.widefat td.menu-location-menus { - padding-bottom: 5px; -} - -.menu-location-menus select { - float: right; -} - -#locations-nav-menu-wrapper { - padding: 5px 0; -} - -.locations-nav-menu-select select { - float: right; - width: 160px; - margin-left: 5px; -} - -.locations-row-links { - float: right; - margin: 6px 6px 0 0; -} - -.locations-edit-menu-link, -.locations-add-menu-link { - margin: 0 3px; -} - -.locations-edit-menu-link { - padding-left: 3px; - border-left: 1px solid #ccc; -} - -#wpbody .open-label { - display: block; - float:right; -} - -#wpbody .open-label span { - padding-left: 10px; -} - -.js .input-with-default-title { - color: #aaa; - font-style: italic; -} - -#menu-management .inside { - padding: 0 10px; -} - -/* Add Menu Item Boxes */ -.postbox .howto input, -.accordion-container .howto input { - width: 180px; - float: left; -} - -.accordion-container .outer-border { - margin: 0; -} - -.customlinkdiv .howto input { - width: 180px; -} - -.customlinkdiv p { - margin-top: 0 -} - -#nav-menu-theme-locations .howto select { - width: 100%; -} - -#nav-menu-theme-locations .button-controls { - text-align: left; -} - -.add-menu-item-view-all { - height: 400px; -} - -/* Button Primary Actions */ -#menu-container .submit { - margin: 0 0 10px; - padding: 0; -} - -.nav-menus-php .add-new-menu-action { - float: right; - margin: 6px 6px 0 0; - line-height: 15px; -} - -.nav-menus-php .meta-sep, -.nav-menus-php .submitdelete, -.nav-menus-php .submitcancel { - display: block; - float: right; - margin: 6px 0; - line-height: 15px; -} - -.meta-sep { - padding: 0 2px; -} - -/* @todo: is this actually used? */ -#cancel-save { - text-decoration: underline; - font-size: 12px; - margin-right: 20px; - margin-top: 5px; -} - -.button.right, .button-secondary.right, .button-primary.right { - float: left; -} - -/* Button Secondary Actions */ -.list-controls { - float: right; - margin-top: 5px; -} - -.add-to-menu { - float: left; -} - -.postbox .spinner { - display: none; - vertical-align: middle; -} - -.button-controls { - clear:both; - margin: 10px 0; -} - -.show-all, -.hide-all { - cursor: pointer; -} - -.hide-all { - display: none; -} - -/* Create Menu */ -#menu-name { - width: 270px; -} - -#manage-menu .inside { - padding: 0px 0px; -} - -/* Custom Links */ -#available-links dt { - display: block; -} - -#add-custom-link .howto { - font-size: 12px; -} - -#add-custom-link label span { - display: block; - float: right; - margin-top: 5px; - padding-left: 5px; -} - -.menu-item-textbox { - width: 180px; -} - -.nav-menus-php .howto span { - margin-top: 6px; - display: block; - float: right; -} - -/* Menu item types */ -.quick-search { - width: 190px; -} - -.nav-menus-php .list-wrap { - display: none; - clear: both; - margin-bottom: 10px; -} - -.nav-menus-php .postbox p.submit { - margin-bottom: 0; -} - -/* Listings */ -.nav-menus-php .list li { - display: none; - margin: 0; - margin-bottom: 5px; -} - -.nav-menus-php .list li .menu-item-title { - cursor: pointer; - display: block; -} - -.nav-menus-php .list li .menu-item-title input { - margin-left: 3px; - margin-top: -3px; -} - -.menu-item-title input[type=checkbox] { - display: inline-block; - margin-top: -4px; -} - -/* Nav Menu */ -#menu-container .inside { - padding-bottom: 10px; -} - -.menu { - padding-top:1em; -} - -#menu-to-edit { - margin: 0; - padding: 0.1em 0; -} - -.menu ul { - width: 100%; -} - -.menu li { - margin-bottom: 0; - position:relative; -} - -.menu-item-bar { - clear:both; - line-height:1.5em; - position:relative; - margin: 9px 0 0; -} - -.menu-item-bar .menu-item-handle { - border: 1px solid #dfdfdf; - position: relative; - padding: 10px 15px; - height: auto; - width: 382px; - line-height: 30px; - overflow: hidden; - word-wrap: break-word; -} - -.menu-item-bar .menu-item-handle:hover { - border-color: #999; -} - -#menu-to-edit .menu-item-invalid .menu-item-handle { - background: #f6c9cc; - border-color: #f1acb1; -} - -.no-js .menu-item-edit-active .item-edit { - display: none; -} - -.js .menu-item-handle { - cursor: move; -} - -.menu li.deleting .menu-item-handle { - background-image: none; - background-color: #f66; -} - -.menu-item-handle .item-title { - font-size: 13px; - font-weight: 600; - line-height: 20px; - display: block; - margin-left: 13em; -} - -.menu-item-handle .menu-item-title.no-title { - color: #999; -} - -/* Sortables */ -li.menu-item.ui-sortable-helper dl { - margin-top: 0; -} - -li.menu-item.ui-sortable-helper .menu-item-transport dl { - margin-top: 13px; -} - -.menu .sortable-placeholder { - height: 35px; - width: 410px; - margin-top: 13px; -} - -/* WARNING: The factor of 30px is hardcoded into the nav-menus javascript. */ -.menu-item-depth-0 { margin-right: 0px; } -.menu-item-depth-1 { margin-right: 30px; } -.menu-item-depth-2 { margin-right: 60px; } -.menu-item-depth-3 { margin-right: 90px; } -.menu-item-depth-4 { margin-right: 120px; } -.menu-item-depth-5 { margin-right: 150px; } -.menu-item-depth-6 { margin-right: 180px; } -.menu-item-depth-7 { margin-right: 210px; } -.menu-item-depth-8 { margin-right: 240px; } -.menu-item-depth-9 { margin-right: 270px; } -.menu-item-depth-10 { margin-right: 300px; } -.menu-item-depth-11 { margin-right: 330px; } - -.menu-item-depth-0 .menu-item-transport { margin-right: 0px; } -.menu-item-depth-1 .menu-item-transport { margin-right: -30px; } -.menu-item-depth-2 .menu-item-transport { margin-right: -60px; } -.menu-item-depth-3 .menu-item-transport { margin-right: -90px; } -.menu-item-depth-4 .menu-item-transport { margin-right: -120px; } -.menu-item-depth-5 .menu-item-transport { margin-right: -150px; } -.menu-item-depth-6 .menu-item-transport { margin-right: -180px; } -.menu-item-depth-7 .menu-item-transport { margin-right: -210px; } -.menu-item-depth-8 .menu-item-transport { margin-right: -240px; } -.menu-item-depth-9 .menu-item-transport { margin-right: -270px; } -.menu-item-depth-10 .menu-item-transport { margin-right: -300px; } -.menu-item-depth-11 .menu-item-transport { margin-right: -330px; } - -body.menu-max-depth-0 { min-width: 950px !important; } -body.menu-max-depth-1 { min-width: 980px !important; } -body.menu-max-depth-2 { min-width: 1010px !important; } -body.menu-max-depth-3 { min-width: 1040px !important; } -body.menu-max-depth-4 { min-width: 1070px !important; } -body.menu-max-depth-5 { min-width: 1100px !important; } -body.menu-max-depth-6 { min-width: 1130px !important; } -body.menu-max-depth-7 { min-width: 1160px !important; } -body.menu-max-depth-8 { min-width: 1190px !important; } -body.menu-max-depth-9 { min-width: 1220px !important; } -body.menu-max-depth-10 { min-width: 1250px !important; } -body.menu-max-depth-11 { min-width: 1280px !important; } - -/* Menu item controls */ -.item-type { - color: #777; - font-size: 12px; - padding: 12px 10px; - line-height: 18px; - display: block; -} - -.item-controls { - font-size: 12px; - position: absolute; - left: 20px; - top: -1px; -} - -.item-controls a { - text-decoration: none; -} - -.item-controls a:hover { - cursor: pointer; -} - -.item-controls .item-order { - padding-left: 10px; -} - -.nav-menus-php .item-edit { - position: absolute; - left: -20px; - top: 0; - display: block; - width: 30px; - height: 40px; - margin-left: 0 !important; - text-indent: 100%; - outline: none; - overflow: hidden; - white-space: nowrap; -} - -/* Menu editing */ -.menu-instructions-inactive { - display: none; -} - -.menu-item-settings { - display: block; - width: 402px; - padding: 10px 10px 10px 0; - position: relative; - z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */ - border: 1px solid #e5e5e5; - border-top: none; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); -} - -.menu-item-settings .field-move a { - display: none; - margin: 0 2px; -} - -.menu-item-edit-active .menu-item-settings { - display: block; -} - -.menu-item-edit-inactive .menu-item-settings { - display: none; -} - -.add-menu-item-pagelinks { - margin: .5em auto; - text-align: center; -} - -.link-to-original { - display: block; - margin: 0 0 10px; - padding: 3px 5px 5px; - border: 1px solid #dfdfdf; - color: #777; - font-size: 12px; - font-style: italic; -} - -.link-to-original a { - padding-right: 4px; - font-style: normal; -} - -.hidden-field { - display: none; -} - -.menu-item-settings .description-thin, -.menu-item-settings .description-wide { - margin-left: 10px; - float: right; -} - -.description-thin { - width: 190px; - height: 40px; -} - -.description-wide { - width: 390px; -} - -.menu-item-actions { - padding-top: 15px; -} - -#cancel-save { - cursor: pointer; -} - -/* Major/minor publishing actions (classes) */ -.nav-menus-php .major-publishing-actions { - clear: both; - padding: 3px 0 6px; -} - -.nav-menus-php .major-publishing-actions .publishing-action { - text-align: left; - float: left; - line-height: 23px; - margin: 4px 0 1px; -} - -.nav-menus-php .blank-slate .menu-settings { - display: none; -} - -.nav-menus-php .delete-action { - float: right; - margin-top: 2px; -} - -.nav-menus-php .submitbox .submitcancel { - border-bottom: 1px solid #0074a2; - padding: 1px 2px; - color: #0074a2; - text-decoration: none; -} - -.nav-menus-php .submitbox .submitcancel:hover { - background: #0074a2; - color: #fff; -} - -.nav-menus-php .major-publishing-actions .form-invalid { - padding-right: 4px; - margin-right: -4px; -} - -/* Clearfix */ -#menu-item-name-wrap:after, -#menu-item-url-wrap:after, -#menu-name-label:after, -#menu-settings-column .inside:after, -#nav-menus-frame:after, -.nav-menus-php #post-body-content:after, -.nav-menus-php .button-controls:after, -.nav-menus-php .major-publishing-actions:after, -.nav-menus-php .menu-item-settings:after { - clear: both; - content: "."; - display: block; - height: 0; - visibility: hidden; -} - -#nav-menus-frame, -.button-controls, -#menu-item-url-wrap, -#menu-item-name-wrap { - display: block; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and ( max-width: 782px ) { - body.nav-menus-php { - min-width: 0 !important; - } - - #nav-menus-frame { - margin-right: 0; - float: none; - width: 100%; - } - - #wpbody-content #menu-settings-column { - display: block; - width: 100%; - float: none; - margin-right: 0; - } - - #side-sortables .add-menu-item-tabs { - margin: 15px 0 14px; - } - - ul.add-menu-item-tabs li.tabs { - padding: 13px 15px 14px; - } - - .nav-menus-php .item-controls .item-type { - margin-top: 2px; - } - - .nav-menus-php .customlinkdiv .howto input { - width: 65%; - } - - .nav-menus-php .quick-search { - width: 85%; - } - - #menu-management-liquid { - margin-top: 25px; - } - - .nav-menus-php .menu-name-label.howto span { - margin-top: 13px - } - - .menu-name-label #menu-name { - margin-top: 4px; - } - - .nav-menus-php .major-publishing-actions .publishing-action { - margin-top: 6px; - } - - .nav-menus-php .delete-action { - font-size: 14px; - line-height: 50px; - margin-top: 12px; - } - - .menu-item-bar .menu-item-handle, - .menu-item-settings, - .description-wide { - width: auto; - } - - .menu-item-settings { - padding: 10px; - } - - .menu-item-settings .description-thin, - .menu-item-settings .description-wide { - width: 100%; - height: auto; - } - - .menu-item-settings input { - width: 100%; - } - - .menu-settings dl { - padding-right: 0; - } - - .menu-settings dd { - float: none; - width: 100%; - margin-bottom: 15px; - } - - .menu-settings dt { - float: none; - width: auto; - margin-right: 0; - margin-bottom: 15px; - } -} - -@media only screen and (max-width: 768px) { - /* menu locations */ - #menu-locations-wrap .widefat { - width: 100%; - } -} diff --git a/sources/wordpress/wp-admin/css/nav-menus.css b/sources/wordpress/wp-admin/css/nav-menus.css deleted file mode 100644 index 28e32b8..0000000 --- a/sources/wordpress/wp-admin/css/nav-menus.css +++ /dev/null @@ -1,857 +0,0 @@ -/* nav-menu */ - -/* @todo: determine if this is truly for nav menus only */ -.no-js #message { - display: block; -} - -ul.add-menu-item-tabs li { - padding: 3px 5px 3px 8px; -} - -.accordion-section ul.category-tabs, -.accordion-section ul.add-menu-item-tabs, -.accordion-section ul.wp-tab-bar { - margin: 0; -} - -.accordion-section .categorychecklist { - margin: 13px 0; -} - -#nav-menu-meta .accordion-section-content { - padding: 18px 13px; -} - -#nav-menu-meta .button-controls { - margin-bottom: 0; -} - -#nav-menus-frame { - margin-left: 300px; - margin-top: 23px; -} - -#wpbody-content #menu-settings-column { - display:inline; - width:281px; - margin-left: -300px; - clear: both; - float: left; - padding-top: 0; -} - -#menu-settings-column .inside { - clear: both; - margin: 10px 0 0; -} - -.metabox-holder-disabled .postbox, -.metabox-holder-disabled .accordion-section-content, -.metabox-holder-disabled .accordion-section-title { - opacity: 0.5; - filter: alpha(opacity=50); -} - -.metabox-holder-disabled .button-controls .select-all { - display: none; -} - -#wpbody { - position: relative; -} - -.blank-slate .menu-name { - height: 2em; -} - -.blank-slate .menu-settings { - border: none; - margin-top: 0; - padding-top: 0; - overflow: hidden; -} - -.is-submenu { - color: #999; - font-style: italic; - font-weight: normal; - margin-left: 4px; -} - -.manage-menus { - margin-top: 23px; - padding: 10px; - overflow: hidden; - background: #fbfbfb; -} - -.manage-menus select { - float: left; - margin-right: 6px; -} - -.manage-menus .selected-menu { - float: left; - margin: 5px 6px 0 0; -} - -.manage-menus .submit-btn { - float: left; - margin-top: 1px; -} - -.menu-edit p { - margin: .3em 0 .6em; -} - -.menu-edit #post-body-content h3 { - margin: 1em 0 10px; -} - -.menu-settings { - border-top: 1px solid #eee; - margin-top: 2em; -} - -.menu-settings dl { - margin: 0 0 10px; - overflow: hidden; - padding-left: 18%; -} - -.menu-settings dd { - float: left; - margin: 0; - width: 100%; -} - -.menu-settings dt { - float: left; - clear: both; - width: 21.951%; - padding: 3px 0 0; - margin-left: -21.951%; -} - -.menu-settings label { - vertical-align: baseline; -} - -.menu-edit .checkbox-input { - margin-top: 4px; -} - -.theme-location-set { - color: #999; - font-size: 11px; -} - -/* Menu Container */ -#menu-management-liquid { - float: left; - min-width: 100%; - margin-top: 3px; -} - -#menu-management { - position: relative; - margin-right: 20px; - margin-top: -3px; - width: 100%; - background: #f5f5f5; -} - -#menu-management .menu-edit { - margin-bottom: 20px; -} - -.nav-menus-php #post-body { - padding: 0 10px 10px; - border-top: 1px solid #fff; - border-bottom: 1px solid #dfdfdf; - background: #fff; -} - -#nav-menu-header, -#nav-menu-footer { - padding: 0 10px; -} - -#nav-menu-header { - border-bottom: 1px solid #dfdfdf; - margin-bottom: 0; -} - -#nav-menu-header .menu-name-label { - margin-top: 4px; -} - -.nav-menus-php #post-body div.updated, -.nav-menus-php #post-body div.error { - margin: 0; -} - -.nav-menus-php #post-body-content { - position: relative; - float: none; -} - -#menu-management .menu-add-new abbr { - font-weight:600; -} - -#select-nav-menu-container { - text-align: right; - padding: 0 10px 3px 10px; - margin-bottom: 5px; -} - -#select-nav-menu { - width: 100px; - display: inline; -} - -#menu-name-label { - margin-top: -2px; -} - -.widefat td.menu-location-menus { - padding-bottom: 5px; -} - -.menu-location-menus select { - float: left; -} - -#locations-nav-menu-wrapper { - padding: 5px 0; -} - -.locations-nav-menu-select select { - float: left; - width: 160px; - margin-right: 5px; -} - -.locations-row-links { - float: left; - margin: 6px 0 0 6px; -} - -.locations-edit-menu-link, -.locations-add-menu-link { - margin: 0 3px; -} - -.locations-edit-menu-link { - padding-right: 3px; - border-right: 1px solid #ccc; -} - -#wpbody .open-label { - display: block; - float:left; -} - -#wpbody .open-label span { - padding-right: 10px; -} - -.js .input-with-default-title { - color: #aaa; - font-style: italic; -} - -#menu-management .inside { - padding: 0 10px; -} - -/* Add Menu Item Boxes */ -.postbox .howto input, -.accordion-container .howto input { - width: 180px; - float: right; -} - -.accordion-container .outer-border { - margin: 0; -} - -.customlinkdiv .howto input { - width: 180px; -} - -.customlinkdiv p { - margin-top: 0 -} - -#nav-menu-theme-locations .howto select { - width: 100%; -} - -#nav-menu-theme-locations .button-controls { - text-align: right; -} - -.add-menu-item-view-all { - height: 400px; -} - -/* Button Primary Actions */ -#menu-container .submit { - margin: 0 0 10px; - padding: 0; -} - -.nav-menus-php .add-new-menu-action { - float: left; - margin: 6px 0 0 6px; - line-height: 15px; -} - -.nav-menus-php .meta-sep, -.nav-menus-php .submitdelete, -.nav-menus-php .submitcancel { - display: block; - float: left; - margin: 6px 0; - line-height: 15px; -} - -.meta-sep { - padding: 0 2px; -} - -/* @todo: is this actually used? */ -#cancel-save { - text-decoration: underline; - font-size: 12px; - margin-left: 20px; - margin-top: 5px; -} - -.button.right, .button-secondary.right, .button-primary.right { - float: right; -} - -/* Button Secondary Actions */ -.list-controls { - float: left; - margin-top: 5px; -} - -.add-to-menu { - float: right; -} - -.postbox .spinner { - display: none; - vertical-align: middle; -} - -.button-controls { - clear:both; - margin: 10px 0; -} - -.show-all, -.hide-all { - cursor: pointer; -} - -.hide-all { - display: none; -} - -/* Create Menu */ -#menu-name { - width: 270px; -} - -#manage-menu .inside { - padding: 0px 0px; -} - -/* Custom Links */ -#available-links dt { - display: block; -} - -#add-custom-link .howto { - font-size: 12px; -} - -#add-custom-link label span { - display: block; - float: left; - margin-top: 5px; - padding-right: 5px; -} - -.menu-item-textbox { - width: 180px; -} - -.nav-menus-php .howto span { - margin-top: 6px; - display: block; - float: left; -} - -/* Menu item types */ -.quick-search { - width: 190px; -} - -.nav-menus-php .list-wrap { - display: none; - clear: both; - margin-bottom: 10px; -} - -.nav-menus-php .postbox p.submit { - margin-bottom: 0; -} - -/* Listings */ -.nav-menus-php .list li { - display: none; - margin: 0; - margin-bottom: 5px; -} - -.nav-menus-php .list li .menu-item-title { - cursor: pointer; - display: block; -} - -.nav-menus-php .list li .menu-item-title input { - margin-right: 3px; - margin-top: -3px; -} - -.menu-item-title input[type=checkbox] { - display: inline-block; - margin-top: -4px; -} - -/* Nav Menu */ -#menu-container .inside { - padding-bottom: 10px; -} - -.menu { - padding-top:1em; -} - -#menu-to-edit { - margin: 0; - padding: 0.1em 0; -} - -.menu ul { - width: 100%; -} - -.menu li { - margin-bottom: 0; - position:relative; -} - -.menu-item-bar { - clear:both; - line-height:1.5em; - position:relative; - margin: 9px 0 0; -} - -.menu-item-bar .menu-item-handle { - border: 1px solid #dfdfdf; - position: relative; - padding: 10px 15px; - height: auto; - width: 382px; - line-height: 30px; - overflow: hidden; - word-wrap: break-word; -} - -.menu-item-bar .menu-item-handle:hover { - border-color: #999; -} - -#menu-to-edit .menu-item-invalid .menu-item-handle { - background: #f6c9cc; - border-color: #f1acb1; -} - -.no-js .menu-item-edit-active .item-edit { - display: none; -} - -.js .menu-item-handle { - cursor: move; -} - -.menu li.deleting .menu-item-handle { - background-image: none; - background-color: #f66; -} - -.menu-item-handle .item-title { - font-size: 13px; - font-weight: 600; - line-height: 20px; - display: block; - margin-right: 13em; -} - -.menu-item-handle .menu-item-title.no-title { - color: #999; -} - -/* Sortables */ -li.menu-item.ui-sortable-helper dl { - margin-top: 0; -} - -li.menu-item.ui-sortable-helper .menu-item-transport dl { - margin-top: 13px; -} - -.menu .sortable-placeholder { - height: 35px; - width: 410px; - margin-top: 13px; -} - -/* WARNING: The factor of 30px is hardcoded into the nav-menus javascript. */ -.menu-item-depth-0 { margin-left: 0px; } -.menu-item-depth-1 { margin-left: 30px; } -.menu-item-depth-2 { margin-left: 60px; } -.menu-item-depth-3 { margin-left: 90px; } -.menu-item-depth-4 { margin-left: 120px; } -.menu-item-depth-5 { margin-left: 150px; } -.menu-item-depth-6 { margin-left: 180px; } -.menu-item-depth-7 { margin-left: 210px; } -.menu-item-depth-8 { margin-left: 240px; } -.menu-item-depth-9 { margin-left: 270px; } -.menu-item-depth-10 { margin-left: 300px; } -.menu-item-depth-11 { margin-left: 330px; } - -.menu-item-depth-0 .menu-item-transport { margin-left: 0px; } -.menu-item-depth-1 .menu-item-transport { margin-left: -30px; } -.menu-item-depth-2 .menu-item-transport { margin-left: -60px; } -.menu-item-depth-3 .menu-item-transport { margin-left: -90px; } -.menu-item-depth-4 .menu-item-transport { margin-left: -120px; } -.menu-item-depth-5 .menu-item-transport { margin-left: -150px; } -.menu-item-depth-6 .menu-item-transport { margin-left: -180px; } -.menu-item-depth-7 .menu-item-transport { margin-left: -210px; } -.menu-item-depth-8 .menu-item-transport { margin-left: -240px; } -.menu-item-depth-9 .menu-item-transport { margin-left: -270px; } -.menu-item-depth-10 .menu-item-transport { margin-left: -300px; } -.menu-item-depth-11 .menu-item-transport { margin-left: -330px; } - -body.menu-max-depth-0 { min-width: 950px !important; } -body.menu-max-depth-1 { min-width: 980px !important; } -body.menu-max-depth-2 { min-width: 1010px !important; } -body.menu-max-depth-3 { min-width: 1040px !important; } -body.menu-max-depth-4 { min-width: 1070px !important; } -body.menu-max-depth-5 { min-width: 1100px !important; } -body.menu-max-depth-6 { min-width: 1130px !important; } -body.menu-max-depth-7 { min-width: 1160px !important; } -body.menu-max-depth-8 { min-width: 1190px !important; } -body.menu-max-depth-9 { min-width: 1220px !important; } -body.menu-max-depth-10 { min-width: 1250px !important; } -body.menu-max-depth-11 { min-width: 1280px !important; } - -/* Menu item controls */ -.item-type { - color: #777; - font-size: 12px; - padding: 12px 10px; - line-height: 18px; - display: block; -} - -.item-controls { - font-size: 12px; - position: absolute; - right: 20px; - top: -1px; -} - -.item-controls a { - text-decoration: none; -} - -.item-controls a:hover { - cursor: pointer; -} - -.item-controls .item-order { - padding-right: 10px; -} - -.nav-menus-php .item-edit { - position: absolute; - right: -20px; - top: 0; - display: block; - width: 30px; - height: 40px; - margin-right: 0 !important; - text-indent: 100%; - outline: none; - overflow: hidden; - white-space: nowrap; -} - -/* Menu editing */ -.menu-instructions-inactive { - display: none; -} - -.menu-item-settings { - display: block; - width: 402px; - padding: 10px 0 10px 10px; - position: relative; - z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */ - border: 1px solid #e5e5e5; - border-top: none; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); - box-shadow: 0 1px 1px rgba(0,0,0,0.04); -} - -.menu-item-settings .field-move a { - display: none; - margin: 0 2px; -} - -.menu-item-edit-active .menu-item-settings { - display: block; -} - -.menu-item-edit-inactive .menu-item-settings { - display: none; -} - -.add-menu-item-pagelinks { - margin: .5em auto; - text-align: center; -} - -.link-to-original { - display: block; - margin: 0 0 10px; - padding: 3px 5px 5px; - border: 1px solid #dfdfdf; - color: #777; - font-size: 12px; - font-style: italic; -} - -.link-to-original a { - padding-left: 4px; - font-style: normal; -} - -.hidden-field { - display: none; -} - -.menu-item-settings .description-thin, -.menu-item-settings .description-wide { - margin-right: 10px; - float: left; -} - -.description-thin { - width: 190px; - height: 40px; -} - -.description-wide { - width: 390px; -} - -.menu-item-actions { - padding-top: 15px; -} - -#cancel-save { - cursor: pointer; -} - -/* Major/minor publishing actions (classes) */ -.nav-menus-php .major-publishing-actions { - clear: both; - padding: 3px 0 6px; -} - -.nav-menus-php .major-publishing-actions .publishing-action { - text-align: right; - float: right; - line-height: 23px; - margin: 4px 0 1px; -} - -.nav-menus-php .blank-slate .menu-settings { - display: none; -} - -.nav-menus-php .delete-action { - float: left; - margin-top: 2px; -} - -.nav-menus-php .submitbox .submitcancel { - border-bottom: 1px solid #0074a2; - padding: 1px 2px; - color: #0074a2; - text-decoration: none; -} - -.nav-menus-php .submitbox .submitcancel:hover { - background: #0074a2; - color: #fff; -} - -.nav-menus-php .major-publishing-actions .form-invalid { - padding-left: 4px; - margin-left: -4px; -} - -/* Clearfix */ -#menu-item-name-wrap:after, -#menu-item-url-wrap:after, -#menu-name-label:after, -#menu-settings-column .inside:after, -#nav-menus-frame:after, -.nav-menus-php #post-body-content:after, -.nav-menus-php .button-controls:after, -.nav-menus-php .major-publishing-actions:after, -.nav-menus-php .menu-item-settings:after { - clear: both; - content: "."; - display: block; - height: 0; - visibility: hidden; -} - -#nav-menus-frame, -.button-controls, -#menu-item-url-wrap, -#menu-item-name-wrap { - display: block; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and ( max-width: 782px ) { - body.nav-menus-php { - min-width: 0 !important; - } - - #nav-menus-frame { - margin-left: 0; - float: none; - width: 100%; - } - - #wpbody-content #menu-settings-column { - display: block; - width: 100%; - float: none; - margin-left: 0; - } - - #side-sortables .add-menu-item-tabs { - margin: 15px 0 14px; - } - - ul.add-menu-item-tabs li.tabs { - padding: 13px 15px 14px; - } - - .nav-menus-php .item-controls .item-type { - margin-top: 2px; - } - - .nav-menus-php .customlinkdiv .howto input { - width: 65%; - } - - .nav-menus-php .quick-search { - width: 85%; - } - - #menu-management-liquid { - margin-top: 25px; - } - - .nav-menus-php .menu-name-label.howto span { - margin-top: 13px - } - - .menu-name-label #menu-name { - margin-top: 4px; - } - - .nav-menus-php .major-publishing-actions .publishing-action { - margin-top: 6px; - } - - .nav-menus-php .delete-action { - font-size: 14px; - line-height: 50px; - margin-top: 12px; - } - - .menu-item-bar .menu-item-handle, - .menu-item-settings, - .description-wide { - width: auto; - } - - .menu-item-settings { - padding: 10px; - } - - .menu-item-settings .description-thin, - .menu-item-settings .description-wide { - width: 100%; - height: auto; - } - - .menu-item-settings input { - width: 100%; - } - - .menu-settings dl { - padding-left: 0; - } - - .menu-settings dd { - float: none; - width: 100%; - margin-bottom: 15px; - } - - .menu-settings dt { - float: none; - width: auto; - margin-left: 0; - margin-bottom: 15px; - } -} - -@media only screen and (max-width: 768px) { - /* menu locations */ - #menu-locations-wrap .widefat { - width: 100%; - } -} diff --git a/sources/wordpress/wp-admin/css/press-this-rtl.css b/sources/wordpress/wp-admin/css/press-this-rtl.css deleted file mode 100644 index 4773ba4..0000000 --- a/sources/wordpress/wp-admin/css/press-this-rtl.css +++ /dev/null @@ -1,458 +0,0 @@ -.press-this #message { - border-right: 4px solid #7ad03a; - padding: 1px 12px; - background-color: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -.press-this #side-sortables .category-tabs li { - display: inline; - line-height: 1.35em; -} - -body.press-this ul.category-tabs li.tabs a { - color: #333; -} - -.press-this #content-resize-handle { - bottom: 2px; -} - -body.press-this { - color: #333; - margin: 0; - padding: 0; - min-width: 708px; - min-height: 400px; -} - -.press-this #titlediv #title { - font-size: 1.4em; -} - -.press-this #site-heading:before { - top: 3px; - position: relative; - display: inline-block; - font: normal 18px/1 'dashicons'; - speak: none; - color: #727272; - content: '\f120'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.press-this #wphead { - height: 32px; - margin-right: 0; - margin-left: 0; - margin-bottom: 5px; -} - -.press-this #header-logo { - float: right; - margin: 7px 7px 0; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.press-this #wphead h1 { - font-weight: normal; - font-size: 16px; - line-height: 32px; - margin: 0; - float: right; -} - -.press-this #wphead h1 a { - text-decoration: none; -} - -.press-this #wphead h1 a:hover { - text-decoration: underline; -} - -.press-this #message { - margin: 10px 0; -} - -.press-this .posting { - margin-left: 250px; -} - -.press-this-sidebar { - float: left; - width: 240px; - padding-top: 10px; -} - -.press-this #title { - margin-right: 0; - margin-left: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.press-this .tagchecklist { - margin-top: 8px; -} - -.press-this #titlediv { - margin: 0; -} - -.press-this #wp-content-wrap #wp-content-editor-tools { - padding: 0; - top: 3px; - overflow: hidden; -} - -.press-this .wp-media-buttons { - cursor: default; - padding: 8px 8px 6px; -} - -.press-this #wp-content-wrap #wp-content-media-buttons a { - padding: 0; - line-height: normal; - height: auto; - font-size: 16px; -} - -.press-this #wp-content-wrap .mce-toolbar .mce-btn-group .mce-btn { - margin: 0 1px; -} - -.press-this #wp-content-wrap .mce-toolbar .mce-btn button { - padding: 2px 3px; -} - -.press-this #wp-content-wrap div.mce-toolbar-grp, -.press-this #wp-content-wrap .quicktags-toolbar { - padding-left: 3px; -} - -.press-this .howto { - margin-top: 2px; - margin-bottom: 3px; - font-size: 12px; - font-style: italic; - display: block; -} - -.press-this #wp-content-editor-container { - clear: none; -} - -.press-this #poststuff .inside { - margin-top: 18px; -} - -.press-this .category-tabs { - margin-bottom: 3px; -} - -/* Editor/Main Column */ -.press-this #poststuff { - margin: 0 8px; - padding: 0; -} - -.press-this #photo-add-url-div input[type="text"] { - width: 220px; -} - -#poststuff #editor-toolbar { - height: 30px; -} - -.posting { - margin-left: 212px; - position: relative; -} - -.press-this .inner-sidebar { - width: 200px; -} - -.press-this .inner-sidebar .sleeve { - padding-top: 5px; -} - -.press-this #submitdiv p { - margin: 0; - padding: 6px; -} - -.press-this #submitdiv #publishing-actions { - border-bottom: 1px solid #dfdfdf; -} - -.press-this #publish { - float: left; -} - -.press-this #poststuff h2, -.press-this #poststuff h3 { - font-size: 14px; - line-height: 1; -} - -.press-this #tagsdiv-post_tag h3, -.press-this #categorydiv h3 { - cursor: pointer; -} - -.press-this #submitdiv h3 { - cursor: default; -} - -h3.tb { - font-weight: 600; - font-size: 12px; - margin-right: 5px; -} - -.press-this .postbox, -.press-this .stuffbox { - margin-bottom: 10px; - min-width: 0; -} - -.press-this #submitdiv:hover .handlediv { - background: none; -} - -.tbtitle { - font-size: 1.7em; - outline: none; - padding: 3px 4px; - border: 1px solid #dfdfdf; -} - -.press-this .actions { - float: left; - margin: -19px 0 0; -} - -.press-this #extra-fields .actions { - margin: -32px 0 0 -7px; -} - -.press-this .actions li { - float: right; - list-style: none; - margin-left: 10px; -} - -#extra-fields .button { - margin-left: 5px; -} - -/* Photo Styles */ -#photo_saving { - margin: 0 8px 8px; - vertical-align: middle; -} - -#img_container_container { - overflow: auto; -} - -#extra-fields { - margin-top: 10px; - position: relative; -} - -#extra-fields h2 { - margin: 12px; -} - -#waiting { - margin-top: 10px; - overflow: hidden; -} - -#waiting span { - float: left; - margin: 0 5px 0 0; -} - -#waiting .spinner { - display: block; -} - -#extra-fields .postbox { - margin-bottom: 5px; -} - -#extra-fields .titlewrap { - padding: 0; - overflow: auto; - height: 120px; -} - -#img_container a { - display: block; - float: right; - overflow: hidden; -} - -#img_container img, -#img_container a { - width: 68px; - height: 68px; -} - -#img_container img { - border: none; - background-color: #f4f4f4; - cursor: pointer; -} - -#img_container a, -#img_container a:link, -#img_container a:visited { - border: 1px solid #ccc; - display: block; - position: relative; -} - -#img_container a:hover, -#img_container a:active { - border-color: #000; - z-index: 1000; - border-width: 1px; -} - -/* Video */ -#embed-code { - width: 100%; - height: 98px; -} - -/* Categories */ -.press-this .categorydiv div.tabs-panel { - height: 100px; -} - -/* Tags */ -.press-this .tagsdiv .newtag { - width: 120px; -} - -.press-this #content { - margin: 5px 0; - padding: 0 5px; - border: 0 none; - height: 340px; - font-family: Consolas, Monaco, monospace; - font-size: 13px; - line-height: 19px; - background: transparent; -} - -/* Submit */ -.press-this #publishing-actions .spinner { - display: inline; - vertical-align: middle; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/* Reset responsive styles in Press This */ -@media screen and ( max-width: 782px ) { - .press-this ul.category-tabs li.tabs { - padding: 3px 5px 5px; /* Reset tabs in Press This to standard size */ - } - - .press-this a.wp-switch-editor { - font: 13px/19px "Open Sans", sans-serif; - margin: 5px 5px 0 0; - padding: 3px 8px 4px; - } - - .press-this #wp-content-media-buttons a { - padding: 0; - line-height: normal; - height: auto; - } - - .press-this #wp-content-editor-tools { - padding: 0; - top: 3px; - } - - .press-this .category-tabs { - margin-top: 0; - } - - .press-this .tagsdiv .newtag { - width: 120px; - padding: 3px 5px; - margin-bottom: 0; - } - - .press-this .tagchecklist { - padding: 0; - margin-bottom: 0; - } - - .press-this .wp_themeSkin a.mceButton { - width: 20px; - height: 20px; - } - - .press-this .wp_themeSkin .mceButton .mceIcon { - margin: 0; - } - - .press-this #poststuff h3, - .press-this .metabox-holder h3 { - padding: 7px 12px; - } - - .press-this input[type=checkbox], - .press-this input[type=radio] { - height: 16px; - width: 16px; - } - - .press-this input[type=checkbox]:checked:before { - width: 16px; - font: normal 21px/1 'dashicons'; - margin: -3px -4px 0 0; - } - - .press-this input[type=radio]:checked:before { - font: normal 21px/1 'dashicons'; - width: 6px; - height: 6px; - margin: 4px; - } - - .press-this ul.categorychecklist ul, - .press-this ul.categorychecklist li { - margin-top: 0; - margin-bottom: 0; - } - - .press-this div.quicktags-toolbar input { - padding: 2px 4px; - } - - .press-this textarea, - .press-this input { - font-size: 14px; - } - - .press-this .tagchecklist span { - font-size: 13px; - line-height: 1.8em; - } -} diff --git a/sources/wordpress/wp-admin/css/press-this.css b/sources/wordpress/wp-admin/css/press-this.css deleted file mode 100644 index dbf355a..0000000 --- a/sources/wordpress/wp-admin/css/press-this.css +++ /dev/null @@ -1,458 +0,0 @@ -.press-this #message { - border-left: 4px solid #7ad03a; - padding: 1px 12px; - background-color: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -} - -.press-this #side-sortables .category-tabs li { - display: inline; - line-height: 1.35em; -} - -body.press-this ul.category-tabs li.tabs a { - color: #333; -} - -.press-this #content-resize-handle { - bottom: 2px; -} - -body.press-this { - color: #333; - margin: 0; - padding: 0; - min-width: 708px; - min-height: 400px; -} - -.press-this #titlediv #title { - font-size: 1.4em; -} - -.press-this #site-heading:before { - top: 3px; - position: relative; - display: inline-block; - font: normal 18px/1 'dashicons'; - speak: none; - color: #727272; - content: '\f120'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.press-this #wphead { - height: 32px; - margin-left: 0; - margin-right: 0; - margin-bottom: 5px; -} - -.press-this #header-logo { - float: left; - margin: 7px 7px 0; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.press-this #wphead h1 { - font-weight: normal; - font-size: 16px; - line-height: 32px; - margin: 0; - float: left; -} - -.press-this #wphead h1 a { - text-decoration: none; -} - -.press-this #wphead h1 a:hover { - text-decoration: underline; -} - -.press-this #message { - margin: 10px 0; -} - -.press-this .posting { - margin-right: 250px; -} - -.press-this-sidebar { - float: right; - width: 240px; - padding-top: 10px; -} - -.press-this #title { - margin-left: 0; - margin-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.press-this .tagchecklist { - margin-top: 8px; -} - -.press-this #titlediv { - margin: 0; -} - -.press-this #wp-content-wrap #wp-content-editor-tools { - padding: 0; - top: 3px; - overflow: hidden; -} - -.press-this .wp-media-buttons { - cursor: default; - padding: 8px 8px 6px; -} - -.press-this #wp-content-wrap #wp-content-media-buttons a { - padding: 0; - line-height: normal; - height: auto; - font-size: 16px; -} - -.press-this #wp-content-wrap .mce-toolbar .mce-btn-group .mce-btn { - margin: 0 1px; -} - -.press-this #wp-content-wrap .mce-toolbar .mce-btn button { - padding: 2px 3px; -} - -.press-this #wp-content-wrap div.mce-toolbar-grp, -.press-this #wp-content-wrap .quicktags-toolbar { - padding-right: 3px; -} - -.press-this .howto { - margin-top: 2px; - margin-bottom: 3px; - font-size: 12px; - font-style: italic; - display: block; -} - -.press-this #wp-content-editor-container { - clear: none; -} - -.press-this #poststuff .inside { - margin-top: 18px; -} - -.press-this .category-tabs { - margin-bottom: 3px; -} - -/* Editor/Main Column */ -.press-this #poststuff { - margin: 0 8px; - padding: 0; -} - -.press-this #photo-add-url-div input[type="text"] { - width: 220px; -} - -#poststuff #editor-toolbar { - height: 30px; -} - -.posting { - margin-right: 212px; - position: relative; -} - -.press-this .inner-sidebar { - width: 200px; -} - -.press-this .inner-sidebar .sleeve { - padding-top: 5px; -} - -.press-this #submitdiv p { - margin: 0; - padding: 6px; -} - -.press-this #submitdiv #publishing-actions { - border-bottom: 1px solid #dfdfdf; -} - -.press-this #publish { - float: right; -} - -.press-this #poststuff h2, -.press-this #poststuff h3 { - font-size: 14px; - line-height: 1; -} - -.press-this #tagsdiv-post_tag h3, -.press-this #categorydiv h3 { - cursor: pointer; -} - -.press-this #submitdiv h3 { - cursor: default; -} - -h3.tb { - font-weight: 600; - font-size: 12px; - margin-left: 5px; -} - -.press-this .postbox, -.press-this .stuffbox { - margin-bottom: 10px; - min-width: 0; -} - -.press-this #submitdiv:hover .handlediv { - background: none; -} - -.tbtitle { - font-size: 1.7em; - outline: none; - padding: 3px 4px; - border: 1px solid #dfdfdf; -} - -.press-this .actions { - float: right; - margin: -19px 0 0; -} - -.press-this #extra-fields .actions { - margin: -32px -7px 0 0; -} - -.press-this .actions li { - float: left; - list-style: none; - margin-right: 10px; -} - -#extra-fields .button { - margin-right: 5px; -} - -/* Photo Styles */ -#photo_saving { - margin: 0 8px 8px; - vertical-align: middle; -} - -#img_container_container { - overflow: auto; -} - -#extra-fields { - margin-top: 10px; - position: relative; -} - -#extra-fields h2 { - margin: 12px; -} - -#waiting { - margin-top: 10px; - overflow: hidden; -} - -#waiting span { - float: right; - margin: 0 0 0 5px; -} - -#waiting .spinner { - display: block; -} - -#extra-fields .postbox { - margin-bottom: 5px; -} - -#extra-fields .titlewrap { - padding: 0; - overflow: auto; - height: 120px; -} - -#img_container a { - display: block; - float: left; - overflow: hidden; -} - -#img_container img, -#img_container a { - width: 68px; - height: 68px; -} - -#img_container img { - border: none; - background-color: #f4f4f4; - cursor: pointer; -} - -#img_container a, -#img_container a:link, -#img_container a:visited { - border: 1px solid #ccc; - display: block; - position: relative; -} - -#img_container a:hover, -#img_container a:active { - border-color: #000; - z-index: 1000; - border-width: 1px; -} - -/* Video */ -#embed-code { - width: 100%; - height: 98px; -} - -/* Categories */ -.press-this .categorydiv div.tabs-panel { - height: 100px; -} - -/* Tags */ -.press-this .tagsdiv .newtag { - width: 120px; -} - -.press-this #content { - margin: 5px 0; - padding: 0 5px; - border: 0 none; - height: 340px; - font-family: Consolas, Monaco, monospace; - font-size: 13px; - line-height: 19px; - background: transparent; -} - -/* Submit */ -.press-this #publishing-actions .spinner { - display: inline; - vertical-align: middle; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/* Reset responsive styles in Press This */ -@media screen and ( max-width: 782px ) { - .press-this ul.category-tabs li.tabs { - padding: 3px 5px 5px; /* Reset tabs in Press This to standard size */ - } - - .press-this a.wp-switch-editor { - font: 13px/19px "Open Sans", sans-serif; - margin: 5px 0 0 5px; - padding: 3px 8px 4px; - } - - .press-this #wp-content-media-buttons a { - padding: 0; - line-height: normal; - height: auto; - } - - .press-this #wp-content-editor-tools { - padding: 0; - top: 3px; - } - - .press-this .category-tabs { - margin-top: 0; - } - - .press-this .tagsdiv .newtag { - width: 120px; - padding: 3px 5px; - margin-bottom: 0; - } - - .press-this .tagchecklist { - padding: 0; - margin-bottom: 0; - } - - .press-this .wp_themeSkin a.mceButton { - width: 20px; - height: 20px; - } - - .press-this .wp_themeSkin .mceButton .mceIcon { - margin: 0; - } - - .press-this #poststuff h3, - .press-this .metabox-holder h3 { - padding: 7px 12px; - } - - .press-this input[type=checkbox], - .press-this input[type=radio] { - height: 16px; - width: 16px; - } - - .press-this input[type=checkbox]:checked:before { - width: 16px; - font: normal 21px/1 'dashicons'; - margin: -3px 0 0 -4px; - } - - .press-this input[type=radio]:checked:before { - font: normal 21px/1 'dashicons'; - width: 6px; - height: 6px; - margin: 4px; - } - - .press-this ul.categorychecklist ul, - .press-this ul.categorychecklist li { - margin-top: 0; - margin-bottom: 0; - } - - .press-this div.quicktags-toolbar input { - padding: 2px 4px; - } - - .press-this textarea, - .press-this input { - font-size: 14px; - } - - .press-this .tagchecklist span { - font-size: 13px; - line-height: 1.8em; - } -} diff --git a/sources/wordpress/wp-admin/css/revisions-rtl.css b/sources/wordpress/wp-admin/css/revisions-rtl.css deleted file mode 100644 index ee035f2..0000000 --- a/sources/wordpress/wp-admin/css/revisions-rtl.css +++ /dev/null @@ -1,574 +0,0 @@ -/*------------------------------------------------------------------------------ - 11.2 - Post Revisions -------------------------------------------------------------------------------*/ -.revisions-control-frame, -.revisions-diff-frame { - position: relative; -} - -.revisions-controls { - padding-top: 40px; - height: 100px; - z-index: 1; -} - -.revisions-controls input[type="checkbox"] { - position: relative; - top: -1px; - vertical-align: text-bottom; -} - -.revisions.pinned .revisions-controls { - position: fixed; - top: 0; - height: 82px; - background: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1); - box-shadow: 0 1px 3px rgba(0,0,0,0.1); -} - -.revisions-tickmarks { - position: relative; - margin: 0 auto; - height: 0.7em; - top: 7px; - max-width: 70%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - background-color: #fff; -} - -.revisions-tickmarks > div { - position: absolute; - height: 100%; - border-right: 1px solid #aaa; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.revisions-tickmarks > div:first-child { - border-width: 0; -} - -.comparing-two-revisions .revisions-controls { - height: 140px; -} - -.comparing-two-revisions.pinned .revisions-controls { - height: 124px; -} - -.revisions .diff-error { - position: absolute; - text-align: center; - margin: 0 auto; - width: 100%; - display: none; -} - -.revisions.diff-error .diff-error { - display: block; -} - -.revisions .loading-indicator { - position: absolute; - vertical-align: middle; - opacity: 0; - width: 100%; - width: -webkit-calc( 100% - 30px ); - width: calc( 100% - 30px ); - top: 50%; - top: -webkit-calc( 50% - 10px ); - top: calc( 50% - 10px ); - -webkit-transition: opacity 0.5s; - transition: opacity 0.5s; - filter: alpha(opacity=0); /* ie8 and earlier */ -} - -body.folded .revisions .loading-indicator { - margin-right: -32px; -} - -.revisions .loading-indicator span.spinner { - display: block; - margin: 0 auto; - float: none; -} - -.revisions.loading .loading-indicator { - opacity: 1; - filter: alpha(opacity=100); /* ie8 and earlier */ -} - -.revisions .diff { - -webkit-transition: opacity 0.5s; - transition: opacity 0.5s; -} - -.revisions.loading .diff { - opacity: 0.5; - filter: alpha(opacity=50); /* ie8 and earlier */ -} - -.revisions.diff-error .diff { - visibility: hidden; -} - -.revisions-meta { - margin-top: 20px; - background-color: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1); - box-shadow: 0 1px 3px rgba(0,0,0,0.1); -} - -.revisions.pinned .revisions-meta { - -webkit-box-shadow: none; - box-shadow: none; -} - -.revision-toggle-compare-mode { - position: absolute; - top: 0; - left: 0; -} - -.comparing-two-revisions .revisions-previous, -.comparing-two-revisions .revisions-next, -.revisions-meta .diff-meta-to strong { - display: none; -} - -.revisions-controls .author-card .date { - color: #777; -} - -.revisions-controls .author-card.autosave { - color: #d54e21; -} - -.revisions-controls .author-card .author-name { - font-weight: bold; -} - -.comparing-two-revisions .diff-meta-to strong { - display: block; -} - -.revisions.pinned .revisions-buttons { - padding: 0 11px; -} - -.revisions-previous, -.revisions-next { - position: relative; - z-index: 1; -} - -.revisions-previous { - float: right; -} - -.revisions-next { - float: left; -} - -.revisions-controls .wp-slider { - max-width: 70%; - margin: 0 auto; - top: -3px; -} - -.revisions-diff { - padding: 15px; - background-color: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1); - box-shadow: 0 1px 3px rgba(0,0,0,0.1); -} - -.revisions-diff h3:first-child { - margin-top: 0; -} - -/* Revision meta box */ -.post-revisions li img, -#revisions-meta-restored img { - vertical-align: middle; -} - -table.diff tbody tr td:nth-child(2) { - width: 4%; -} - -table.diff { - table-layout: fixed; - width: 100%; - white-space: pre-wrap; -} - -table.diff col.content { - width: auto; -} - -table.diff col.content.diffsplit { - width: 48%; -} - -table.diff col.diffsplit.middle { - width: auto; -} - -table.diff col.ltype { - width: 30px; -} - -table.diff tr { - background-color: transparent; -} - -table.diff td, -table.diff th { - font-family: Consolas, Monaco, monospace; - font-size: 14px; - line-height: 1.618; - padding: .5em; - vertical-align: top; - word-wrap: break-word; -} - -table.diff td h1, -table.diff td h2, -table.diff td h3, -table.diff td h4, -table.diff td h5, -table.diff td h6 { - margin: 0; -} - -table.diff .diff-deletedline del, -table.diff .diff-addedline ins { - text-decoration: none; -} - -table.diff .diff-deletedline { - background-color: #ffe9e9; -} - -table.diff .diff-deletedline del { - background-color: #faa; -} - -table.diff .diff-addedline { - background-color: #e9ffe9; -} - -table.diff .diff-addedline ins { - background-color: #afa; -} - -.diff-meta { - padding: 5px; - clear: both; - min-height: 32px; -} - -.diff-title strong { - line-height: 32px; - min-width: 60px; - text-align: left; - float: right; - margin-left: 5px; -} - -.revisions-controls .author-card .author-info { - font-size: 12px; - line-height: 16px; -} - -.revisions-controls .author-card .avatar, -.revisions-controls .author-card .author-info { - float: right; - margin-right: 6px; - margin-left: 6px; -} - -.revisions-controls .author-card .byline { - display: block; - font-size: 12px; -} - -.revisions-controls .author-card .avatar { - vertical-align: middle; -} - -.diff-meta input.restore-revision { - float: left; - margin-right: 6px; - margin-left: 6px; - margin-top: 4px; -} - -.diff-meta-from { - display: none; -} - -.comparing-two-revisions .diff-meta-from { - display: block; -} - -.revisions-tooltip { - position: absolute; - bottom: 105px; - margin-left: 0; - margin-right: -69px; - z-index: 0; - max-width: 350px; - min-width: 130px; - padding: 8px 4px; - display: none; - opacity: 0; -} - -.revisions-tooltip.flipped { - margin-right: 0; - margin-left: -70px; -} - -.revisions.pinned .revisions-tooltip { - display: none !important; -} - -.comparing-two-revisions .revisions-tooltip { - bottom: 145px; -} - -.revisions-tooltip-arrow { - width: 70px; - height: 15px; - overflow: hidden; - position: absolute; - right: 0; - margin-right: 35px; - bottom: -15px; -} - -.revisions-tooltip.flipped .revisions-tooltip-arrow { - margin-right: 0; - margin-left: 35px; - right: auto; - left: 0; -} - -.revisions-tooltip-arrow > span { - content: ""; - position: absolute; - right: 20px; - top: -20px; - width: 25px; - height: 25px; - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); -} - -.revisions-tooltip.flipped .revisions-tooltip-arrow > span { - right: auto; - left: 20px; -} - -.ie8 .revisions-tooltip-arrow > span { - right: 15px; - top: -25px; - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; -} - -.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow > span { - left: 25px; -} - -.revisions-tooltip, -.revisions-tooltip-arrow > span { - border: 1px solid #d7d7d7; - background-color: #fff; -} - -.revisions-tooltip { - display: none; -} - -.arrow { - width: 70px; - height: 16px; - overflow: hidden; - position: absolute; - right: 0; - margin-right: -35px; - bottom: 90px; - z-index: 10000; -} - -.arrow:after { - z-index: 9999; - background-color: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1); - box-shadow: 0 1px 3px rgba(0,0,0,0.1); -} - -.arrow.top { - top: -16px; - bottom: auto; -} - -.arrow.left { - right: 20%; -} - -.arrow:after { - content: ""; - position: absolute; - right: 20px; - top: -20px; - width: 25px; - height: 25px; - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); -} - -.revisions-tooltip, -.revisions-tooltip-arrow:after { - border-width: 1px; - border-style: solid; -} - -div.revisions-controls > .wp-slider > .ui-slider-handle { - margin-right: -10px; -} - -.rtl div.revisions-controls > .wp-slider > .ui-slider-handle { - margin-left: -10px; -} - - /* jQuery UI Slider */ -.wp-slider.ui-slider { - position: relative; - border: 1px solid #d7d7d7; - text-align: right; - cursor: pointer; -} - -.wp-slider .ui-slider-handle { - -webkit-border-radius: 50%; - border-radius: 50%; - height: 18px; - margin-top: -3px; - outline: none; - position: absolute; - width: 18px; - z-index: 2; -} - -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #2ea2cc; - border: 1px solid #0074a2; - -webkit-box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15); - box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15); -} - -.wp-slider .ui-slider-handle:before { - background: none; - position: absolute; - top: 0; - right: 0; - color: #fff; - content: "\f229"; - font: normal 18px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-slider .ui-slider-handle.from-handle:before, -.wp-slider .ui-slider-handle.to-handle:before { - font-size: 20px !important; - margin: -1px -1px 0 0; -} - -.wp-slider .ui-slider-handle.from-handle:before { - content: '\f139'; -} - -.wp-slider .ui-slider-handle.to-handle:before { - content: '\f141'; -} - -.rtl .wp-slider .ui-slider-handle.from-handle:before { - content: '\f141'; -} - -.rtl .wp-slider .ui-slider-handle.to-handle:before { - content: '\f139'; - left: -1px; -} - -.wp-slider .ui-slider-range { - position: absolute; - font-size: .7em; - display: block; - border: 0; - background-color: transparent; - background-image: none; -} - -.wp-slider.ui-slider-horizontal { - height: .7em; -} - -.wp-slider.ui-slider-horizontal .ui-slider-handle { - top: -.25em; - margin-right: -.6em; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range { - top: 0; - height: 100%; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range-min { - right: 0; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range-max { - left: 0; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .revision-tick.completed-false { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and ( max-width: 782px ) { - #diff-next-revision, - #diff-previous-revision { - margin-top: -1em; - } - - table.diff { - -ms-word-break: break-all; - word-break: break-all; - word-wrap: break-word; - } -} diff --git a/sources/wordpress/wp-admin/css/revisions.css b/sources/wordpress/wp-admin/css/revisions.css deleted file mode 100644 index f191494..0000000 --- a/sources/wordpress/wp-admin/css/revisions.css +++ /dev/null @@ -1,574 +0,0 @@ -/*------------------------------------------------------------------------------ - 11.2 - Post Revisions -------------------------------------------------------------------------------*/ -.revisions-control-frame, -.revisions-diff-frame { - position: relative; -} - -.revisions-controls { - padding-top: 40px; - height: 100px; - z-index: 1; -} - -.revisions-controls input[type="checkbox"] { - position: relative; - top: -1px; - vertical-align: text-bottom; -} - -.revisions.pinned .revisions-controls { - position: fixed; - top: 0; - height: 82px; - background: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1); - box-shadow: 0 1px 3px rgba(0,0,0,0.1); -} - -.revisions-tickmarks { - position: relative; - margin: 0 auto; - height: 0.7em; - top: 7px; - max-width: 70%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - background-color: #fff; -} - -.revisions-tickmarks > div { - position: absolute; - height: 100%; - border-left: 1px solid #aaa; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.revisions-tickmarks > div:first-child { - border-width: 0; -} - -.comparing-two-revisions .revisions-controls { - height: 140px; -} - -.comparing-two-revisions.pinned .revisions-controls { - height: 124px; -} - -.revisions .diff-error { - position: absolute; - text-align: center; - margin: 0 auto; - width: 100%; - display: none; -} - -.revisions.diff-error .diff-error { - display: block; -} - -.revisions .loading-indicator { - position: absolute; - vertical-align: middle; - opacity: 0; - width: 100%; - width: -webkit-calc( 100% - 30px ); - width: calc( 100% - 30px ); - top: 50%; - top: -webkit-calc( 50% - 10px ); - top: calc( 50% - 10px ); - -webkit-transition: opacity 0.5s; - transition: opacity 0.5s; - filter: alpha(opacity=0); /* ie8 and earlier */ -} - -body.folded .revisions .loading-indicator { - margin-left: -32px; -} - -.revisions .loading-indicator span.spinner { - display: block; - margin: 0 auto; - float: none; -} - -.revisions.loading .loading-indicator { - opacity: 1; - filter: alpha(opacity=100); /* ie8 and earlier */ -} - -.revisions .diff { - -webkit-transition: opacity 0.5s; - transition: opacity 0.5s; -} - -.revisions.loading .diff { - opacity: 0.5; - filter: alpha(opacity=50); /* ie8 and earlier */ -} - -.revisions.diff-error .diff { - visibility: hidden; -} - -.revisions-meta { - margin-top: 20px; - background-color: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1); - box-shadow: 0 1px 3px rgba(0,0,0,0.1); -} - -.revisions.pinned .revisions-meta { - -webkit-box-shadow: none; - box-shadow: none; -} - -.revision-toggle-compare-mode { - position: absolute; - top: 0; - right: 0; -} - -.comparing-two-revisions .revisions-previous, -.comparing-two-revisions .revisions-next, -.revisions-meta .diff-meta-to strong { - display: none; -} - -.revisions-controls .author-card .date { - color: #777; -} - -.revisions-controls .author-card.autosave { - color: #d54e21; -} - -.revisions-controls .author-card .author-name { - font-weight: bold; -} - -.comparing-two-revisions .diff-meta-to strong { - display: block; -} - -.revisions.pinned .revisions-buttons { - padding: 0 11px; -} - -.revisions-previous, -.revisions-next { - position: relative; - z-index: 1; -} - -.revisions-previous { - float: left; -} - -.revisions-next { - float: right; -} - -.revisions-controls .wp-slider { - max-width: 70%; - margin: 0 auto; - top: -3px; -} - -.revisions-diff { - padding: 15px; - background-color: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1); - box-shadow: 0 1px 3px rgba(0,0,0,0.1); -} - -.revisions-diff h3:first-child { - margin-top: 0; -} - -/* Revision meta box */ -.post-revisions li img, -#revisions-meta-restored img { - vertical-align: middle; -} - -table.diff tbody tr td:nth-child(2) { - width: 4%; -} - -table.diff { - table-layout: fixed; - width: 100%; - white-space: pre-wrap; -} - -table.diff col.content { - width: auto; -} - -table.diff col.content.diffsplit { - width: 48%; -} - -table.diff col.diffsplit.middle { - width: auto; -} - -table.diff col.ltype { - width: 30px; -} - -table.diff tr { - background-color: transparent; -} - -table.diff td, -table.diff th { - font-family: Consolas, Monaco, monospace; - font-size: 14px; - line-height: 1.618; - padding: .5em; - vertical-align: top; - word-wrap: break-word; -} - -table.diff td h1, -table.diff td h2, -table.diff td h3, -table.diff td h4, -table.diff td h5, -table.diff td h6 { - margin: 0; -} - -table.diff .diff-deletedline del, -table.diff .diff-addedline ins { - text-decoration: none; -} - -table.diff .diff-deletedline { - background-color: #ffe9e9; -} - -table.diff .diff-deletedline del { - background-color: #faa; -} - -table.diff .diff-addedline { - background-color: #e9ffe9; -} - -table.diff .diff-addedline ins { - background-color: #afa; -} - -.diff-meta { - padding: 5px; - clear: both; - min-height: 32px; -} - -.diff-title strong { - line-height: 32px; - min-width: 60px; - text-align: right; - float: left; - margin-right: 5px; -} - -.revisions-controls .author-card .author-info { - font-size: 12px; - line-height: 16px; -} - -.revisions-controls .author-card .avatar, -.revisions-controls .author-card .author-info { - float: left; - margin-left: 6px; - margin-right: 6px; -} - -.revisions-controls .author-card .byline { - display: block; - font-size: 12px; -} - -.revisions-controls .author-card .avatar { - vertical-align: middle; -} - -.diff-meta input.restore-revision { - float: right; - margin-left: 6px; - margin-right: 6px; - margin-top: 4px; -} - -.diff-meta-from { - display: none; -} - -.comparing-two-revisions .diff-meta-from { - display: block; -} - -.revisions-tooltip { - position: absolute; - bottom: 105px; - margin-right: 0; - margin-left: -69px; - z-index: 0; - max-width: 350px; - min-width: 130px; - padding: 8px 4px; - display: none; - opacity: 0; -} - -.revisions-tooltip.flipped { - margin-left: 0; - margin-right: -70px; -} - -.revisions.pinned .revisions-tooltip { - display: none !important; -} - -.comparing-two-revisions .revisions-tooltip { - bottom: 145px; -} - -.revisions-tooltip-arrow { - width: 70px; - height: 15px; - overflow: hidden; - position: absolute; - left: 0; - margin-left: 35px; - bottom: -15px; -} - -.revisions-tooltip.flipped .revisions-tooltip-arrow { - margin-left: 0; - margin-right: 35px; - left: auto; - right: 0; -} - -.revisions-tooltip-arrow > span { - content: ""; - position: absolute; - left: 20px; - top: -20px; - width: 25px; - height: 25px; - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); -} - -.revisions-tooltip.flipped .revisions-tooltip-arrow > span { - left: auto; - right: 20px; -} - -.ie8 .revisions-tooltip-arrow > span { - left: 15px; - top: -25px; - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; -} - -.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow > span { - right: 25px; -} - -.revisions-tooltip, -.revisions-tooltip-arrow > span { - border: 1px solid #d7d7d7; - background-color: #fff; -} - -.revisions-tooltip { - display: none; -} - -.arrow { - width: 70px; - height: 16px; - overflow: hidden; - position: absolute; - left: 0; - margin-left: -35px; - bottom: 90px; - z-index: 10000; -} - -.arrow:after { - z-index: 9999; - background-color: #fff; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1); - box-shadow: 0 1px 3px rgba(0,0,0,0.1); -} - -.arrow.top { - top: -16px; - bottom: auto; -} - -.arrow.left { - left: 20%; -} - -.arrow:after { - content: ""; - position: absolute; - left: 20px; - top: -20px; - width: 25px; - height: 25px; - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); -} - -.revisions-tooltip, -.revisions-tooltip-arrow:after { - border-width: 1px; - border-style: solid; -} - -div.revisions-controls > .wp-slider > .ui-slider-handle { - margin-left: -10px; -} - -.rtl div.revisions-controls > .wp-slider > .ui-slider-handle { - margin-right: -10px; -} - - /* jQuery UI Slider */ -.wp-slider.ui-slider { - position: relative; - border: 1px solid #d7d7d7; - text-align: left; - cursor: pointer; -} - -.wp-slider .ui-slider-handle { - -webkit-border-radius: 50%; - border-radius: 50%; - height: 18px; - margin-top: -3px; - outline: none; - position: absolute; - width: 18px; - z-index: 2; -} - -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #2ea2cc; - border: 1px solid #0074a2; - -webkit-box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15); - box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15); -} - -.wp-slider .ui-slider-handle:before { - background: none; - position: absolute; - top: 0; - left: 0; - color: #fff; - content: "\f229"; - font: normal 18px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-slider .ui-slider-handle.from-handle:before, -.wp-slider .ui-slider-handle.to-handle:before { - font-size: 20px !important; - margin: -1px 0 0 -1px; -} - -.wp-slider .ui-slider-handle.from-handle:before { - content: '\f139'; -} - -.wp-slider .ui-slider-handle.to-handle:before { - content: '\f141'; -} - -.rtl .wp-slider .ui-slider-handle.from-handle:before { - content: '\f141'; -} - -.rtl .wp-slider .ui-slider-handle.to-handle:before { - content: '\f139'; - right: -1px; -} - -.wp-slider .ui-slider-range { - position: absolute; - font-size: .7em; - display: block; - border: 0; - background-color: transparent; - background-image: none; -} - -.wp-slider.ui-slider-horizontal { - height: .7em; -} - -.wp-slider.ui-slider-horizontal .ui-slider-handle { - top: -.25em; - margin-left: -.6em; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range { - top: 0; - height: 100%; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range-min { - left: 0; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range-max { - right: 0; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .revision-tick.completed-false { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and ( max-width: 782px ) { - #diff-next-revision, - #diff-previous-revision { - margin-top: -1em; - } - - table.diff { - -ms-word-break: break-all; - word-break: break-all; - word-wrap: break-word; - } -} diff --git a/sources/wordpress/wp-admin/css/themes-rtl.css b/sources/wordpress/wp-admin/css/themes-rtl.css deleted file mode 100644 index 264eb3c..0000000 --- a/sources/wordpress/wp-admin/css/themes-rtl.css +++ /dev/null @@ -1,1732 +0,0 @@ -/*------------------------------------------------------------------------------ - 16.0 - Themes -------------------------------------------------------------------------------*/ - - -/*------------------------------------------------------------------------------ - 16.1 - Manage Themes -------------------------------------------------------------------------------*/ - -.theme-browser .themes { - clear: both; - padding: 0 0 100px; -} - -.themes-php .wrap h2 { - float: right; - margin-bottom: 15px; -} - -.network-admin.themes-php .wrap h2 { - margin-bottom: 0; -} - -.themes-php .wrap h2 .button { - margin-right: 20px; -} - -/* Search form */ -.themes-php .wp-filter-search { - position: relative; - top: -2px; - right: 20px; - margin: 0; - width: 280px; - font-size: 16px; - font-weight: 300; - line-height: 1.5; -} - -/* Position admin messages */ -.themes-php div.updated, -.themes-php div.error { - margin: 0 0 20px 0; - clear: both; -} - -.themes-php div.updated a { - text-decoration: underline; -} - -/** - * Main theme element - * (has flexible margins) - */ -.theme-browser .theme { - cursor: pointer; - float: right; - margin: 0 0 4% 4%; - position: relative; - width: 30.6%; - border: 1px solid #dedede; - -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); - box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.ie8 .theme-browser .theme { - width: 30%; - margin: 0 0 4% 3%; -} - -.theme-browser .theme:nth-child(3n) { - margin-left: 0; -} - -.theme-browser .theme:hover, -.theme-browser .theme:focus { - cursor: pointer; -} - -.theme-browser .theme .theme-name { - font-size: 15px; - font-weight: 600; - height: 18px; - margin: 0; - padding: 15px; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - background: #fff; - background: rgba(255,255,255,0.65); -} - -/* Activate and Customize buttons, shown on hover and focus */ -.theme-browser .theme .theme-actions { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - opacity: 0; - -webkit-transition: opacity 0.1s ease-in-out; - transition: opacity 0.1s ease-in-out; - position: absolute; - bottom: 0; - left: 0; - height: 38px; - padding: 9px 10px 0 10px; - background: rgba(244, 244, 244, 0.7); - border-right: 1px solid rgba(0,0,0,0.05); -} - -.theme-browser .theme:hover .theme-actions, -.theme-browser .theme.focus .theme-actions, -.theme-browser .theme:focus .theme-actions { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; -} - -.theme-browser .theme .theme-actions .button-primary { - margin-left: 3px; -} - -.theme-browser .theme .theme-actions .button-secondary { - float: none; - margin-right: 3px; -} - -/** - * Theme Screenshot - * - * Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size - * It is also responsive. - */ -.theme-browser .theme .theme-screenshot { - display: block; - overflow: hidden; - position: relative; - -webkit-transition: opacity 0.2s ease-in-out; - transition: opacity 0.2s ease-in-out; -} - -.theme-browser .theme .theme-screenshot:after { - content: ''; - display: block; - padding-top: 66.66666%; /* using a 3/2 aspect ratio */ -} - -.theme-browser .theme .theme-screenshot img { - height: auto; - position: absolute; - right: 0; - top: 0; - width: 100%; - -webkit-transform: translateZ( 0 ); /* Prevents rendering bugs in Chrome */ - -webkit-transition: opacity 0.2s ease-in-out; /* Prevents rendering bugs in Chrome */ - transition: opacity 0.2s ease-in-out; -} - -.theme-browser .theme:hover .theme-screenshot, -.theme-browser .theme:focus .theme-screenshot { - background: #fff; -} - -.theme-browser.rendered .theme:hover .theme-screenshot img, -.theme-browser.rendered .theme:focus .theme-screenshot img { - opacity: 0.4; -} - -.theme-browser .theme .more-details { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - opacity: 0; - position: absolute; - top: 35%; - left: 25%; - right: 25%; - background: #222; - background: rgba(0,0,0,0.7); - color: #fff; - font-size: 15px; - text-shadow: 0 1px 0 rgba(0,0,0,0.6); - -webkit-font-smoothing: antialiased; - font-weight: 600; - padding: 15px 12px; - text-align: center; - -webkit-border-radius: 3px; - border-radius: 3px; - -webkit-transition: opacity 0.1s ease-in-out; - transition: opacity 0.1s ease-in-out; -} - -.theme-browser .theme:focus { - border-color: #5b9dd9; - -webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); -} - -.theme-browser .theme:focus .more-details { - opacity: 1; -} - -/* Current theme needs to have its action always on view */ -.theme-browser .theme.active:focus .theme-actions { - display: block; -} - -.theme-browser.rendered .theme:hover .more-details, -.theme-browser.rendered .theme:focus .more-details { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; -} - -/** - * Displays a theme update notice - * when an update is available. - */ -.theme-browser .theme .theme-update, -.theme-browser .theme .theme-installed { - background: #d54e21; - background: rgba(213, 78, 33, 0.95); - color: #fff; - display: block; - font-size: 13px; - font-weight: 400; - height: 48px; - line-height: 48px; - padding: 0 10px; - position: absolute; - top: 0; - left: 0; - right: 0; - border-bottom: 1px solid rgba(0,0,0,0.25); - overflow: hidden; -} - -.theme-browser .theme .theme-update:before, -.theme-browser .theme .theme-installed:before { - content: '\f463'; - display: inline-block; - font: normal 20px/1 'dashicons'; - margin: 0 0 0 6px; - opacity: 0.8; - position: relative; - top: 5px; - speak: none; - -webkit-font-smoothing: antialiased; -} - - -/** - * The currently active theme - */ -.theme-browser .theme.active .theme-name { - background: #2f2f2f; - color: #fff; - padding-left: 110px; - font-weight: 300; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.5); - box-shadow: inset 0 1px 1px rgba(0,0,0,0.5); -} - -.theme-browser .theme.active .theme-name span { - font-weight: 600; -} - -.theme-browser .theme.active .theme-actions { - background: rgba(49,49,49,0.7); - border-right: none; - opacity: 1; -} - -.theme-browser .theme.active .theme-actions .button-primary { - margin-left: 0; -} - -.theme-browser .theme .theme-author { - background: #222; - color: #eee; - display: none; - font-size: 14px; - margin: 0 10px; - padding: 5px 10px; - position: absolute; - bottom: 56px; -} - -.theme-browser .theme.display-author .theme-author { - display: block; -} - -.theme-browser .theme.display-author .theme-author a { - color: inherit; - text-decoration: none; -} - -/** - * Add new theme - */ -.theme-browser .theme.add-new-theme { - border: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.theme-browser .theme.add-new-theme a { - color: #999; - text-decoration: none; - display: block; - position: relative; - z-index: 1; -} - -.theme-browser .theme.add-new-theme:after { - display: block; - content: ''; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; - background: transparent; - background: rgba(0, 0, 0, 0); - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; - padding: 10% 0 0 0; - text-shadow: none; - border: 5px dashed #d5d2ca; - border: 5px dashed rgba(0, 0, 0, 0.1); - -webkit-transition: opacity 0.2s ease-in-out; - transition: opacity 0.2s ease-in-out; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.theme-browser .theme.add-new-theme span:after { - background: #e5e5e5; - background: rgba(153, 153, 153, 0.1); - -webkit-border-radius: 50%; - border-radius: 50%; - display: inline-block; - content: '\f132'; - -webkit-font-smoothing: antialiased; - font: normal 74px/115px 'dashicons'; - width: 100px; - height: 100px; - vertical-align: middle; - text-align: center; - color: rgb(153, 153, 153); - position: absolute; - top: 30%; - right: 50%; - margin-right: -50px; - text-indent: -4px; - padding: 0; - text-shadow: none; - z-index:4; -} - -.rtl .theme-browser .theme.add-new-theme span:after { - text-indent: 4px; -} - -.theme-browser .theme.add-new-theme:hover .theme-screenshot, -.theme-browser .theme.add-new-theme:focus .theme-screenshot { - background: none; -} - -.theme-browser .theme.add-new-theme:hover span:after, -.theme-browser .theme.add-new-theme:focus span:after { - background: #fff; - color: #0074a2; -} - -.theme-browser .theme.add-new-theme:hover:after, -.theme-browser .theme.add-new-theme:focus:after { - border-color: transparent; - color: #fff; - background: #0074a2; - content: ''; -} - -.theme-browser .theme.add-new-theme .theme-name { - background: none; - text-align: center; - -webkit-box-shadow: none; - box-shadow: none; - font-weight: 400; - position: relative; - top: 0; - margin-top: -10%; - margin-bottom: 10%; -} - -.theme-browser .theme.add-new-theme:hover .theme-name, -.theme-browser .theme.add-new-theme:focus .theme-name { - color: #fff; - z-index: 2; -} - -/** - * Theme Overlay - * Shown when clicking a theme - */ -.theme-overlay .theme-backdrop { - position: absolute; - right: -20px; - left: 0; - top: 0; - bottom: 0; - background: #f1f1f1; - background: rgba( 238, 238, 238, 0.9 ); - z-index: 10; -} - -.theme-overlay .theme-header { - position: absolute; - top: 0; - right: 0; - left: 0; - height: 48px; - border-bottom: 1px solid #ddd; -} - -.theme-overlay .theme-header .close { - cursor: pointer; - height: 48px; - width: 50px; - text-align: center; - float: left; - border: 0; - border-right: 1px solid #ddd; - background-color: transparent; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-overlay .theme-header .close:before { - font: normal 22px/50px 'dashicons' !important; - color: #777; - display: inline-block; - content: '\f335'; - font-weight: 300; -} - -/* Left and right navigation */ -.theme-overlay .theme-header .right, -.theme-overlay .theme-header .left { - cursor: pointer; - color: #777; - background-color: transparent; - height: 48px; - width: 54px; - float: right; - text-align: center; - border: 0; - border-left: 1px solid #ddd; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-overlay .theme-header .close:focus, -.theme-overlay .theme-header .close:hover, -.theme-overlay .theme-header .right:focus, -.theme-overlay .theme-header .right:hover, -.theme-overlay .theme-header .left:focus, -.theme-overlay .theme-header .left:hover { - background: #ddd; - border-color: #ccc; - color: #000; -} - -.theme-overlay .theme-header .close:focus:before, -.theme-overlay .theme-header .close:hover:before { - color: #000; -} - -.theme-overlay .theme-header .close:focus, -.theme-overlay .theme-header .right:focus, -.theme-overlay .theme-header .left:focus { - -webkit-box-shadow: none; - box-shadow: none; - outline: none; -} - -.theme-overlay .theme-header .left.disabled, -.theme-overlay .theme-header .right.disabled, -.theme-overlay .theme-header .left.disabled:hover, -.theme-overlay .theme-header .right.disabled:hover { - color: #ccc; - background: inherit; - cursor: inherit; -} - -.theme-overlay .theme-header .right:before, -.theme-overlay .theme-header .left:before { - font: normal 20px/50px 'dashicons' !important; - display: inline; - font-weight: 300; -} - -.theme-overlay .theme-header .left:before, -.rtl .theme-overlay .theme-header .right:before { - content: '\f341'; -} - -.theme-overlay .theme-header .right:before, -.rtl .theme-overlay .theme-header .left:before { - content: '\f345'; -} - - - -.theme-overlay .theme-wrap { - clear: both; - position: fixed; - top: 9%; - right: 190px; - left: 30px; - bottom: 3%; - background: #fff; - -webkit-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); - z-index: 20; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.theme-overlay .theme-wrap:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -body.folded .theme-overlay .theme-wrap { - right: 70px; -} - -.theme-overlay .theme-about { - position: absolute; - top: 49px; - bottom: 57px; - right: 0; - left: 0; - overflow: auto; - padding: 2% 4%; -} -.theme-overlay .theme-about:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -.theme-overlay .theme-actions { - position: absolute; - text-align: center; - bottom: 0; - right: 0; - left: 0; - padding: 10px 25px 5px; - background: #f3f3f3; - z-index: 30; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - border-top: 1px solid #eee; -} - -.ie8 .theme-overlay .theme-actions { - border: 1px solid #eee; -} - -.theme-overlay .theme-actions a { - margin-left: 5px; - margin-bottom: 5px; -} - -.theme-overlay .theme-actions .delete-theme { - color: #a00; - position: absolute; - left: 10px; - bottom: 5px; - text-decoration: none; - border-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; - background: transparent; -} - -.theme-overlay .theme-actions .delete-theme:hover, -.theme-overlay .theme-actions .delete-theme:focus { - background: #d54e21; - color: #fff; - border-color: #d54e21; -} - -.theme-overlay .theme-actions .active-theme, -.theme-overlay.active .theme-actions .inactive-theme { - display: none; -} - -.theme-overlay .theme-actions .inactive-theme, -.theme-overlay.active .theme-actions .active-theme { - display: block; -} - -/** - * Theme Screenshots gallery - */ -.theme-overlay .theme-screenshots { - float: right; - margin: 0 0 0 30px; - width: 55%; - max-width: 880px; - text-align: center; -} - -/* First screenshot, shown big */ -.theme-overlay .screenshot { - border: 1px solid #fff; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - overflow: hidden; - position: relative; - -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.2); - box-shadow: 0 0 0 1px rgba(0,0,0,0.2); -} - -.theme-overlay .screenshot:after { - content: ''; - display: block; - padding-top: 75%; /* using a 4/3 aspect ratio */ -} - -.theme-overlay .screenshot img { - height: auto; - position: absolute; - right: 0; - top: 0; - width: 100%; -} -/* Handles old 300px screenshots */ -.theme-overlay.small-screenshot .theme-screenshots { - position: absolute; - width: 302px; -} -.theme-overlay.small-screenshot .theme-info { - margin-right: 350px; - width: auto; -} - -/* Other screenshots, shown small and square */ -.theme-overlay .screenshot.thumb { - background: #ccc; - border: 1px solid #eee; - float: none; - display: inline-block; - margin: 10px 5px 0; - width: 140px; - height: 80px; - cursor: pointer; -} - -.theme-overlay .screenshot.thumb:after { - content: ''; - display: block; - padding-top: 100%; /* using a 1/1 aspect ratio */ -} - -.theme-overlay .screenshot.thumb img { - cursor: pointer; - height: auto; - position: absolute; - right: 0; - top: 0; - width: 100%; - height: auto; -} - -.theme-overlay .screenshot.selected { - background: transparent; - border: 2px solid #2ea2cc; -} - -.theme-overlay .screenshot.selected img { - opacity: 0.8; -} - -/* No screenshot placeholder */ -.theme-browser .theme .theme-screenshot.blank, -.theme-overlay .screenshot.blank { - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=); -} - -/** - * Theme heading information - */ -.theme-overlay .theme-info { - width: 40%; - float: right; -} - -.theme-overlay .current-label { - background: #333; - color: #fff; - font-size: 11px; - display: inline-block; - padding: 2px 8px; - -webkit-border-radius: 2px; - border-radius: 2px; - margin: 0 0 -10px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.theme-overlay .theme-name { - color: #222; - font-size: 32px; - font-weight: 100; - margin: 10px 0 0; - line-height: 1.3; -} - -.theme-overlay .theme-version { - color: #999; - font-size: 13px; - font-weight: 400; - float: none; - display: inline-block; - margin-right: 10px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.theme-overlay .theme-author { - color: #686868; - font-size: 16px; - font-weight: 400; - margin: 15px 0 25px; -} - -.theme-overlay .theme-author a { - text-decoration: none; -} - -.theme-overlay .theme-description { - color: #555; - font-size: 15px; - font-weight: 400; - line-height: 1.5; - margin: 30px 0 0 0; -} - -.theme-overlay .theme-tags { - border-top: 3px solid #eee; - color: #888; - font-size: 13px; - font-weight: 400; - margin: 30px 0 0 0; - padding-top: 20px; -} - -.theme-overlay .theme-tags span { - color: #444; - font-weight: bold; - margin-left: 5px; -} - -/* Theme Updates info */ -.theme-overlay .theme-update-message { - background: #fef7f1; - border: 1px solid #eee; - border-right: 4px solid #d54e21; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 5px 20px 10px; -} - -.theme-overlay .theme-update { - color: #222; - font-size: 18px; - display: inline-block; - line-height: 40px; - margin: 0; -} - -.theme-overlay .parent-theme { - background: #f7fcfe; - border: 1px solid #eee; - border-right: 4px solid #2ea2cc; - font-size: 14px; - font-weight: normal; - margin-top: 30px; - padding: 10px 20px 10px 10px; -} - -.theme-overlay .parent-theme strong { - font-weight: 700; -} - -/** - * Single Theme Mode - * Displays detailed view inline when a user has no switch capabilities - */ -.single-theme .theme-overlay .theme-backdrop, -.single-theme .theme-overlay .theme-header, -.single-theme .theme { - display: none; -} - -.single-theme .theme-overlay .theme-wrap { - clear: both; - min-height: 330px; - position: relative; - right: auto; - left: auto; - top: auto; - bottom: auto; -} - -.single-theme .theme-overlay .theme-about { - padding: 30px 30px 70px; - position: static; -} - -.single-theme .theme-overlay .theme-actions { - position: absolute; -} - -/** - * Basic Responsive structure... - * - * Shuffles theme columns around based on screen width - */ - -@media only screen and (min-width: 2000px) { - #wpwrap .theme-browser .theme { - width: 17.6%; - margin: 0 0 3% 3%; - } - - #wpwrap .theme-browser .theme:nth-child(3n), - #wpwrap .theme-browser .theme:nth-child(4n) { - margin-left: 3%; - } - - #wpwrap .theme-browser .theme:nth-child(5n) { - margin-left: 0; - } -} - -@media only screen and (min-width: 1680px) { - .theme-overlay .theme-wrap { - width: 1450px; - margin: 0 auto; - } -} - -/* Maximum screenshot width reaches 440px */ -@media only screen and (min-width: 1640px) { - .theme-browser .theme { - width: 22.7%; - margin: 0 0 3% 3%; - } - .theme-browser .theme .theme-screenshot:after { - padding-top: 75%; /* using a 4/3 aspect ratio */ - } - - .theme-browser .theme:nth-child(3n) { - margin-left: 3%; - } - - .theme-browser .theme:nth-child(4n) { - margin-left: 0; - } -} -/* Maximum screenshot width reaches 440px */ -@media only screen and (max-width: 1120px) { - .theme-browser .theme { - width: 47.5%; - margin-left: 0; - } - - .theme-browser .theme:nth-child(even) { - margin-left: 0; - } - - .theme-browser .theme:nth-child(odd) { - margin-left: 5%; - } -} - -/* Admin menu is folded */ -@media only screen and (max-width: 900px) { - .theme-overlay .theme-wrap { - right: 65px; - } -} - -@media only screen and (max-width: 780px) { - body.folded .theme-overlay .theme-wrap, - .theme-overlay .theme-wrap { - top: 0; /* The adminmenu isn't fixed on mobile, so this can use the full viewport height */ - left: 0; - bottom: 0; - right: 0; - padding: 70px 20px 20px; - border: none; - z-index: 500; /* should overlap #wpadminbar, which is 500 on mobile. */ - position: fixed; - } - - .theme-browser .theme.active .theme-name span { - /* Hide the "Active: " label on smaller screens. */ - display: none; - } - - .theme-overlay .theme-screenshots { - width: 40%; - } - - .theme-overlay .theme-info { - width: 50%; - } - .single-theme .theme-wrap { - padding: 10px; - } - - .theme-browser .theme .theme-actions { - padding: 5px 10px 4px 10px; - } - - .theme-overlay.small-screenshot .theme-screenshots { - position: static; - float: none; - max-width: 302px; - } - - .theme-overlay.small-screenshot .theme-info { - margin-right: 0; - width: auto; - } - - .theme:not(.active):hover .theme-actions, - .theme:not(.active):focus .theme-actions, - .theme:hover .more-details, - .theme:focus .more-details { - display: none; - } - - .theme-browser.rendered .theme:hover .theme-screenshot img, - .theme-browser.rendered .theme:focus .theme-screenshot img { - opacity: 1.0; - } -} - -@media only screen and (max-width: 480px) { - .theme-browser .theme { - width: 100%; - margin-left: 0; - } - - .theme-browser .theme:nth-child(2n), - .theme-browser .theme:nth-child(3n) { - margin-left: 0; - } -} - -@media only screen and (max-width: 650px) { - .theme-overlay .theme-update, - .theme-overlay .theme-description { - margin-right: 0; - } - - .theme-overlay .theme-actions .delete-theme { - position: relative; - left: auto; - bottom: auto; - } - - .theme-overlay .theme-actions .inactive-theme { - display: inline; - } - - .theme-overlay .theme-screenshots { - width: 100%; - float: none; - } - - .theme-overlay .theme-info { - width: 100%; - } - - .theme-overlay .theme-author { - margin: 5px 0 15px 0; - } - - .theme-overlay .current-label { - margin-top: 10px; - font-size: 13px; - } - - .themes-php .wrap h2 { - width: 100%; - } - - .themes-php .wp-filter-search { - float: none; - clear: both; - right: 0; - top: 0; - left: 0; - margin: 10px 0; - width: 100%; - } - - .theme-browser .theme.add-new-theme span:after { - font: normal 60px/90px 'dashicons'; - width: 80px; - height: 80px; - top: 30%; - right: 50%; - text-indent: 0; - margin-right: -40px; - } - - .single-theme .theme-wrap { - margin: 0 -10px 0 -12px; - padding: 10px; - } - .single-theme .theme-overlay .theme-about { - padding: 10px; - overflow: visible; - } - .single-theme .current-label { - display: none; - } - .single-theme .theme-overlay .theme-actions { - position: static; - } -} - -.broken-themes { - clear: both; -} - -.broken-themes table { - text-align: right; - width: 50%; - border-spacing: 3px; - padding: 3px; -} - - -/*------------------------------------------------------------------------------ - 16.2 - Install Themes -------------------------------------------------------------------------------*/ - -/* Already installed theme */ -.theme-browser .theme .theme-installed { - background: #0074a2; -} -.theme-browser .theme .theme-installed:before { - content: '\f147'; -} -.theme-browser .theme.is-installed .theme-actions .button-primary { - display: none !important; -} - -.theme-install-php a.upload, -.theme-install-php a.browse-themes { - cursor: pointer; -} -.theme-install-php a.browse-themes, -.theme-install-php.show-upload-theme a.upload { - display: none; -} -.theme-install-php.show-upload-theme a.browse-themes { - display: inline; -} -.upload-theme, -.upload-plugin { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: none; - margin: 0; - padding: 0; - width: 100%; - overflow: hidden; - position: relative; - top: 10px; -} -body.show-upload-theme .upload-theme, -.upload-plugin { - display: block; -} -.upload-theme .wp-upload-form, -.upload-plugin .wp-upload-form { - background: #fafafa; - border: 1px solid #e5e5e5; - padding: 30px; - margin: 30px auto; - max-width: 380px; -} -.upload-theme .install-help, -.upload-plugin .install-help { - color: #999; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 40px 0 0; - text-align: center; -} -body.show-upload-theme .upload-theme + .wp-filter, -body.show-upload-theme .upload-theme + .wp-filter + .theme-browser { - display: none; -} - -p.no-themes { - color: #999; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 0; - text-align: center; - display: none; -} -body.no-results p.no-themes { - display: block; -} -body.show-upload-theme p.no-themes { - display: none !important; -} - -.theme-install-php .add-new-theme { - display: none !important; -} - -@media only screen and (max-width: 1120px) { - .upload-theme .wp-upload-form { - margin: 20px 0; - max-width: 100%; - } - .upload-theme .install-help { - font-size: 15px; - padding: 20px 0 0; - text-align: right; - } -} - -.rating { - margin: 30px 0; -} -.rating span:before { - color: #e6b800; - content: "\f154"; - display: inline-block; - -webkit-font-smoothing: antialiased; - font: normal 20px/1 'dashicons'; - vertical-align: top; -} -/* Half stars */ -.rating-10 span.one:before, -.rating-30 span.two:before, -.rating-50 span.three:before, -.rating-70 span.four:before, -.rating-90 span.five:before { - content: "\f459"; -} -/* Full stars */ -.rating-20 span.one:before { - content: "\f155"; -} -.rating-30 span.one:before, -.rating-40 span.one:before, -.rating-40 span.two:before { - content: "\f155"; -} -.rating-50 span.one:before, -.rating-50 span.two:before, -.rating-60 span.one:before, -.rating-60 span.two:before, -.rating-60 span.three:before { - content: "\f155"; -} -.rating-70 span.one:before, -.rating-70 span.two:before, -.rating-70 span.three:before, -.rating-80 span.one:before, -.rating-80 span.two:before, -.rating-80 span.three:before, -.rating-80 span.four:before { - content: "\f155"; -} -.rating-90 span.one:before, -.rating-90 span.two:before, -.rating-90 span.three:before, -.rating-90 span.four:before, -.rating-100 span.one:before, -.rating-100 span.two:before, -.rating-100 span.three:before, -.rating-100 span.four:before, -.rating-100 span.five:before { - content: "\f155"; -} -.rating .ratings { - display: inline; - margin-right: 10px; - line-height: 20px; - color: #999; -} - -/*------------------------------------------------------------------------------ - 16.3 - Custom Header Screen -------------------------------------------------------------------------------*/ - -.appearance_page_custom-header #headimg { - border: 1px solid #DFDFDF; - overflow: hidden; - width: 100%; -} - -.appearance_page_custom-header #upload-form p label { - font-size: 12px; -} - -.appearance_page_custom-header .available-headers .default-header { - float: right; - margin: 0 0 20px 20px; -} - -.appearance_page_custom-header .random-header { - clear: both; - margin: 0 0 20px 20px; - vertical-align: middle; -} - -.appearance_page_custom-header .available-headers label input, -.appearance_page_custom-header .random-header label input { - margin-left: 10px; -} - -.appearance_page_custom-header .available-headers label img { - vertical-align: middle; -} - - -/*------------------------------------------------------------------------------ - 16.4 - Custom Background Screen -------------------------------------------------------------------------------*/ - -div#custom-background-image { - min-height: 100px; - border: 1px solid #dfdfdf; -} - -div#custom-background-image img { - max-width: 400px; - max-height: 300px; -} - -/*------------------------------------------------------------------------------ - 23.0 - Full Overlay w/ Sidebar -------------------------------------------------------------------------------*/ - -body.full-overlay-active { - overflow: hidden; -} - -.wp-full-overlay { - background: transparent; - z-index: 500000; - position: fixed; - overflow: visible; - top: 0; - bottom: 0; - right: 0; - left: 0; - height: 100%; - min-width: 0; -} - -.wp-full-overlay-sidebar { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - position: fixed; - width: 300px; - height: 100%; - top: 0; - bottom: 0; - right: 0; - padding: 0; - margin: 0; - z-index: 10; - overflow: auto; - background: #eee; - border-left: none; -} - -.wp-full-overlay.collapsed .wp-full-overlay-sidebar { - overflow: visible; -} - -.wp-full-overlay.collapsed, -.wp-full-overlay.expanded .wp-full-overlay-sidebar { - margin-right: 0 !important; -} - -.wp-full-overlay.expanded { - margin-right: 300px; -} - -.wp-full-overlay.collapsed .wp-full-overlay-sidebar { - margin-right: -300px; -} - -.wp-full-overlay-sidebar:after { - content: ''; - display: block; - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 3px; - z-index: 1000; -} - -.wp-full-overlay-main { - position: absolute; - right: 0; - left: 0; - top: 0; - bottom: 0; - height: 100%; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header { - position: absolute; - right: 0; - left: 0; - height: 45px; - padding: 0 15px; - line-height: 45px; - z-index: 10; - margin: 0; - border-top: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header a.back { - margin-top: 9px; -} - -.wp-full-overlay-sidebar .wp-full-overlay-footer { - bottom: 0; - border-bottom: none; - border-top: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { - position: absolute; - top: 45px; - bottom: 45px; - right: 0; - left: 0; - overflow: auto; -} - -/* Close & Navigation Links */ -.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header { - padding: 0; -} - -.theme-install-overlay .close-full-overlay, -.theme-install-overlay .previous-theme, -.theme-install-overlay .next-theme { - display: block; - position: relative; - float: right; - width: 45px; - height: 45px; - padding-left: 2px; - background: #eee; - border-left: 1px solid #ddd; - color: #444; - cursor: pointer; - text-decoration: none; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-install-overlay .close-full-overlay:hover, -.theme-install-overlay .close-full-overlay:focus, -.theme-install-overlay .previous-theme:hover, -.theme-install-overlay .previous-theme:focus, -.theme-install-overlay .next-theme:hover, -.theme-install-overlay .next-theme:focus { - background: #ddd; - border-color: #ccc; - color: #000; - outline: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.theme-install-overlay .close-full-overlay:before { - font: normal 22px/1 dashicons; - content: "\f335"; - position: relative; - top: 7px; - right: 13px; -} - -.theme-install-overlay .previous-theme:before { - font: normal 20px/1 dashicons; - content: "\f341"; - position: relative; - top: 6px; - right: 14px; -} - -.theme-install-overlay .next-theme:before { - font: normal 20px/1 dashicons; - content: "\f345"; - position: relative; - top: 6px; - right: 13px; -} - -.theme-install-overlay .previous-theme.disabled, -.theme-install-overlay .next-theme.disabled, -.theme-install-overlay .previous-theme.disabled:hover, -.theme-install-overlay .previous-theme.disabled:focus, -.theme-install-overlay .next-theme.disabled:hover, -.theme-install-overlay .next-theme.disabled:focus { - color: #bbb; - background: #eee; - cursor: default; - pointer-events: none; -} - -.rtl .theme-install-overlay .previous-theme:before { - content: "\f345"; -} - -.rtl .theme-install-overlay .next-theme:before { - content: "\f341"; -} - -/* Collapse Button */ -.wp-full-overlay a.collapse-sidebar { - position: absolute; - bottom: 12px; - right: 0; - z-index: 50; - display: block; - width: 19px; - height: 19px; - margin-right: 15px; - padding: 0; - -webkit-border-radius: 50%; - border-radius: 50%; - color: #777; - text-decoration: none; -} - -.wp-full-overlay a.collapse-sidebar:hover { - color: #0074a2; -} - -.wp-full-overlay.collapsed .collapse-sidebar { - position: absolute; - right: 100%; -} - -.wp-full-overlay .collapse-sidebar-arrow { - position: static; - margin-top: 0; - margin-right: 0; - display: block; - width: auto; - height: auto; - background: none; -} - -.wp-full-overlay .collapse-sidebar-arrow:before { - -webkit-border-radius: 50%; - border-radius: 50%; - float: right; - content: "\f148"; - background: #eee; - font: normal 20px/1 'dashicons'; - speak: none; - display: block; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -.wp-full-overlay.collapsed .collapse-sidebar-arrow:before, -.rtl .wp-full-overlay .collapse-sidebar-arrow:before { - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); -} - -.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -.wp-full-overlay.collapsed .collapse-sidebar-arrow { - background-position: -1px -109px; -} - -.wp-full-overlay .collapse-sidebar-label { - position: absolute; - right: 100%; - line-height: 20px; - margin-right: 10px; -} - -.wp-full-overlay.collapsed .collapse-sidebar-label { - display: none; -} - -/* Animations */ -.wp-full-overlay, -.wp-full-overlay-sidebar, -.wp-full-overlay .collapse-sidebar, -.wp-full-overlay-main { - -webkit-transition-property: right, left, top, bottom, width, margin; - transition-property: right, left, top, bottom, width, margin; - -webkit-transition-duration: 0.2s; - transition-duration: 0.2s; -} - -/*------------------------------------------------------------------------------ - 24.0 - Customize Loader -------------------------------------------------------------------------------*/ - -.no-customize-support .hide-if-no-customize, -.customize-support .hide-if-customize, -.no-customize-support.wp-core-ui .hide-if-no-customize, -.no-customize-support .wp-core-ui .hide-if-no-customize, -.customize-support.wp-core-ui .hide-if-customize, -.customize-support .wp-core-ui .hide-if-customize { - display: none; -} - -#customize-container { - display: none; - background: #fff; - z-index: 500000; - position: fixed; - overflow: visible; - top: 0; - bottom: 0; - right: 0; - left: 0; - height: 100%; -} - -.customize-active #customize-container { - display: block; -} - -.customize-loading #customize-container iframe { - opacity: 0; -} - -.customize-loading #customize-container { - background: #fff url(../images/spinner.gif) no-repeat fixed center center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; -} - -#customize-container iframe, -.theme-install-overlay iframe { - height: 100%; - width: 100%; - z-index: 20; - -webkit-transition: opacity 0.3s; - transition: opacity 0.3s; -} - -#customize-container .collapse-sidebar { - bottom: 16px; -} - -#customize-controls { - margin-top: 0; -} - -.theme-install-overlay { - display: none; -} - -.theme-install-overlay.single-theme { - display: block; -} - -.install-theme-info { - display: none; - padding: 10px 20px 60px; -} - -.single-theme .install-theme-info { - padding-top: 15px; -} - -.theme-install-overlay .install-theme-info { - display: block; -} - -.install-theme-info .theme-install { - float: left; - margin-top: 18px; -} - -.install-theme-info .theme-name { - font-size: 16px; - line-height: 24px; - margin-bottom: 0; - margin-top: 0; -} - -.install-theme-info .theme-screenshot { - margin-top: 15px; - width: 258px; - border: 1px solid #ccc; -} - -.install-theme-info .theme-details { - overflow: hidden; -} - -.theme-details .theme-version { - margin: 15px 0; - float: right; -} - -.theme-details .star-rating { - margin: 7px 0; - float: left; -} - -.theme-details .theme-description { - float: right; - color: #777; - line-height: 20px; - max-width: 100%; -} - -.theme-install-overlay .wp-full-overlay-header .theme-install { - float: left; - margin: 8px 0 0 10px; - /* For when .theme-install is a span rather than a.button-primary (already installed theme) */ - line-height: 26px; -} - -.theme-install-overlay .wp-full-overlay-sidebar { - background: #eee; - border-left: 1px solid #ddd; -} - -.theme-install-overlay .wp-full-overlay-sidebar-content { - background: #fff; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; -} - -.theme-install-overlay .wp-full-overlay-main { - background: #fff url(../images/spinner.gif) no-repeat center center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .wp-full-overlay .collapse-sidebar-arrow { - background-image: url(../images/arrows-2x.png); - -webkit-background-size: 15px 123px; - background-size: 15px 123px; - } - - .customize-loading #customize-container, - .theme-install-overlay .wp-full-overlay-main { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and ( max-width: 782px ) { - .available-theme .action-links .delete-theme { - float: none; - margin: 0; - padding: 0; - clear: both; - } - - .available-theme .action-links .delete-theme a { - padding: 0; - } -} diff --git a/sources/wordpress/wp-admin/css/themes.css b/sources/wordpress/wp-admin/css/themes.css deleted file mode 100644 index 6ff0f9f..0000000 --- a/sources/wordpress/wp-admin/css/themes.css +++ /dev/null @@ -1,1732 +0,0 @@ -/*------------------------------------------------------------------------------ - 16.0 - Themes -------------------------------------------------------------------------------*/ - - -/*------------------------------------------------------------------------------ - 16.1 - Manage Themes -------------------------------------------------------------------------------*/ - -.theme-browser .themes { - clear: both; - padding: 0 0 100px; -} - -.themes-php .wrap h2 { - float: left; - margin-bottom: 15px; -} - -.network-admin.themes-php .wrap h2 { - margin-bottom: 0; -} - -.themes-php .wrap h2 .button { - margin-left: 20px; -} - -/* Search form */ -.themes-php .wp-filter-search { - position: relative; - top: -2px; - left: 20px; - margin: 0; - width: 280px; - font-size: 16px; - font-weight: 300; - line-height: 1.5; -} - -/* Position admin messages */ -.themes-php div.updated, -.themes-php div.error { - margin: 0 0 20px 0; - clear: both; -} - -.themes-php div.updated a { - text-decoration: underline; -} - -/** - * Main theme element - * (has flexible margins) - */ -.theme-browser .theme { - cursor: pointer; - float: left; - margin: 0 4% 4% 0; - position: relative; - width: 30.6%; - border: 1px solid #dedede; - -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); - box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.ie8 .theme-browser .theme { - width: 30%; - margin: 0 3% 4% 0; -} - -.theme-browser .theme:nth-child(3n) { - margin-right: 0; -} - -.theme-browser .theme:hover, -.theme-browser .theme:focus { - cursor: pointer; -} - -.theme-browser .theme .theme-name { - font-size: 15px; - font-weight: 600; - height: 18px; - margin: 0; - padding: 15px; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - background: #fff; - background: rgba(255,255,255,0.65); -} - -/* Activate and Customize buttons, shown on hover and focus */ -.theme-browser .theme .theme-actions { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - opacity: 0; - -webkit-transition: opacity 0.1s ease-in-out; - transition: opacity 0.1s ease-in-out; - position: absolute; - bottom: 0; - right: 0; - height: 38px; - padding: 9px 10px 0 10px; - background: rgba(244, 244, 244, 0.7); - border-left: 1px solid rgba(0,0,0,0.05); -} - -.theme-browser .theme:hover .theme-actions, -.theme-browser .theme.focus .theme-actions, -.theme-browser .theme:focus .theme-actions { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; -} - -.theme-browser .theme .theme-actions .button-primary { - margin-right: 3px; -} - -.theme-browser .theme .theme-actions .button-secondary { - float: none; - margin-left: 3px; -} - -/** - * Theme Screenshot - * - * Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size - * It is also responsive. - */ -.theme-browser .theme .theme-screenshot { - display: block; - overflow: hidden; - position: relative; - -webkit-transition: opacity 0.2s ease-in-out; - transition: opacity 0.2s ease-in-out; -} - -.theme-browser .theme .theme-screenshot:after { - content: ''; - display: block; - padding-top: 66.66666%; /* using a 3/2 aspect ratio */ -} - -.theme-browser .theme .theme-screenshot img { - height: auto; - position: absolute; - left: 0; - top: 0; - width: 100%; - -webkit-transform: translateZ( 0 ); /* Prevents rendering bugs in Chrome */ - -webkit-transition: opacity 0.2s ease-in-out; /* Prevents rendering bugs in Chrome */ - transition: opacity 0.2s ease-in-out; -} - -.theme-browser .theme:hover .theme-screenshot, -.theme-browser .theme:focus .theme-screenshot { - background: #fff; -} - -.theme-browser.rendered .theme:hover .theme-screenshot img, -.theme-browser.rendered .theme:focus .theme-screenshot img { - opacity: 0.4; -} - -.theme-browser .theme .more-details { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - opacity: 0; - position: absolute; - top: 35%; - right: 25%; - left: 25%; - background: #222; - background: rgba(0,0,0,0.7); - color: #fff; - font-size: 15px; - text-shadow: 0 1px 0 rgba(0,0,0,0.6); - -webkit-font-smoothing: antialiased; - font-weight: 600; - padding: 15px 12px; - text-align: center; - -webkit-border-radius: 3px; - border-radius: 3px; - -webkit-transition: opacity 0.1s ease-in-out; - transition: opacity 0.1s ease-in-out; -} - -.theme-browser .theme:focus { - border-color: #5b9dd9; - -webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); -} - -.theme-browser .theme:focus .more-details { - opacity: 1; -} - -/* Current theme needs to have its action always on view */ -.theme-browser .theme.active:focus .theme-actions { - display: block; -} - -.theme-browser.rendered .theme:hover .more-details, -.theme-browser.rendered .theme:focus .more-details { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; -} - -/** - * Displays a theme update notice - * when an update is available. - */ -.theme-browser .theme .theme-update, -.theme-browser .theme .theme-installed { - background: #d54e21; - background: rgba(213, 78, 33, 0.95); - color: #fff; - display: block; - font-size: 13px; - font-weight: 400; - height: 48px; - line-height: 48px; - padding: 0 10px; - position: absolute; - top: 0; - right: 0; - left: 0; - border-bottom: 1px solid rgba(0,0,0,0.25); - overflow: hidden; -} - -.theme-browser .theme .theme-update:before, -.theme-browser .theme .theme-installed:before { - content: '\f463'; - display: inline-block; - font: normal 20px/1 'dashicons'; - margin: 0 6px 0 0; - opacity: 0.8; - position: relative; - top: 5px; - speak: none; - -webkit-font-smoothing: antialiased; -} - - -/** - * The currently active theme - */ -.theme-browser .theme.active .theme-name { - background: #2f2f2f; - color: #fff; - padding-right: 110px; - font-weight: 300; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.5); - box-shadow: inset 0 1px 1px rgba(0,0,0,0.5); -} - -.theme-browser .theme.active .theme-name span { - font-weight: 600; -} - -.theme-browser .theme.active .theme-actions { - background: rgba(49,49,49,0.7); - border-left: none; - opacity: 1; -} - -.theme-browser .theme.active .theme-actions .button-primary { - margin-right: 0; -} - -.theme-browser .theme .theme-author { - background: #222; - color: #eee; - display: none; - font-size: 14px; - margin: 0 10px; - padding: 5px 10px; - position: absolute; - bottom: 56px; -} - -.theme-browser .theme.display-author .theme-author { - display: block; -} - -.theme-browser .theme.display-author .theme-author a { - color: inherit; - text-decoration: none; -} - -/** - * Add new theme - */ -.theme-browser .theme.add-new-theme { - border: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.theme-browser .theme.add-new-theme a { - color: #999; - text-decoration: none; - display: block; - position: relative; - z-index: 1; -} - -.theme-browser .theme.add-new-theme:after { - display: block; - content: ''; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; - background: transparent; - background: rgba(0, 0, 0, 0); - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - padding: 10% 0 0 0; - text-shadow: none; - border: 5px dashed #d5d2ca; - border: 5px dashed rgba(0, 0, 0, 0.1); - -webkit-transition: opacity 0.2s ease-in-out; - transition: opacity 0.2s ease-in-out; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.theme-browser .theme.add-new-theme span:after { - background: #e5e5e5; - background: rgba(153, 153, 153, 0.1); - -webkit-border-radius: 50%; - border-radius: 50%; - display: inline-block; - content: '\f132'; - -webkit-font-smoothing: antialiased; - font: normal 74px/115px 'dashicons'; - width: 100px; - height: 100px; - vertical-align: middle; - text-align: center; - color: rgb(153, 153, 153); - position: absolute; - top: 30%; - left: 50%; - margin-left: -50px; - text-indent: -4px; - padding: 0; - text-shadow: none; - z-index:4; -} - -.rtl .theme-browser .theme.add-new-theme span:after { - text-indent: 4px; -} - -.theme-browser .theme.add-new-theme:hover .theme-screenshot, -.theme-browser .theme.add-new-theme:focus .theme-screenshot { - background: none; -} - -.theme-browser .theme.add-new-theme:hover span:after, -.theme-browser .theme.add-new-theme:focus span:after { - background: #fff; - color: #0074a2; -} - -.theme-browser .theme.add-new-theme:hover:after, -.theme-browser .theme.add-new-theme:focus:after { - border-color: transparent; - color: #fff; - background: #0074a2; - content: ''; -} - -.theme-browser .theme.add-new-theme .theme-name { - background: none; - text-align: center; - -webkit-box-shadow: none; - box-shadow: none; - font-weight: 400; - position: relative; - top: 0; - margin-top: -10%; - margin-bottom: 10%; -} - -.theme-browser .theme.add-new-theme:hover .theme-name, -.theme-browser .theme.add-new-theme:focus .theme-name { - color: #fff; - z-index: 2; -} - -/** - * Theme Overlay - * Shown when clicking a theme - */ -.theme-overlay .theme-backdrop { - position: absolute; - left: -20px; - right: 0; - top: 0; - bottom: 0; - background: #f1f1f1; - background: rgba( 238, 238, 238, 0.9 ); - z-index: 10; -} - -.theme-overlay .theme-header { - position: absolute; - top: 0; - left: 0; - right: 0; - height: 48px; - border-bottom: 1px solid #ddd; -} - -.theme-overlay .theme-header .close { - cursor: pointer; - height: 48px; - width: 50px; - text-align: center; - float: right; - border: 0; - border-left: 1px solid #ddd; - background-color: transparent; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-overlay .theme-header .close:before { - font: normal 22px/50px 'dashicons' !important; - color: #777; - display: inline-block; - content: '\f335'; - font-weight: 300; -} - -/* Left and right navigation */ -.theme-overlay .theme-header .right, -.theme-overlay .theme-header .left { - cursor: pointer; - color: #777; - background-color: transparent; - height: 48px; - width: 54px; - float: left; - text-align: center; - border: 0; - border-right: 1px solid #ddd; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-overlay .theme-header .close:focus, -.theme-overlay .theme-header .close:hover, -.theme-overlay .theme-header .right:focus, -.theme-overlay .theme-header .right:hover, -.theme-overlay .theme-header .left:focus, -.theme-overlay .theme-header .left:hover { - background: #ddd; - border-color: #ccc; - color: #000; -} - -.theme-overlay .theme-header .close:focus:before, -.theme-overlay .theme-header .close:hover:before { - color: #000; -} - -.theme-overlay .theme-header .close:focus, -.theme-overlay .theme-header .right:focus, -.theme-overlay .theme-header .left:focus { - -webkit-box-shadow: none; - box-shadow: none; - outline: none; -} - -.theme-overlay .theme-header .left.disabled, -.theme-overlay .theme-header .right.disabled, -.theme-overlay .theme-header .left.disabled:hover, -.theme-overlay .theme-header .right.disabled:hover { - color: #ccc; - background: inherit; - cursor: inherit; -} - -.theme-overlay .theme-header .right:before, -.theme-overlay .theme-header .left:before { - font: normal 20px/50px 'dashicons' !important; - display: inline; - font-weight: 300; -} - -.theme-overlay .theme-header .left:before, -.rtl .theme-overlay .theme-header .right:before { - content: '\f341'; -} - -.theme-overlay .theme-header .right:before, -.rtl .theme-overlay .theme-header .left:before { - content: '\f345'; -} - - - -.theme-overlay .theme-wrap { - clear: both; - position: fixed; - top: 9%; - left: 190px; - right: 30px; - bottom: 3%; - background: #fff; - -webkit-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); - z-index: 20; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.theme-overlay .theme-wrap:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -body.folded .theme-overlay .theme-wrap { - left: 70px; -} - -.theme-overlay .theme-about { - position: absolute; - top: 49px; - bottom: 57px; - left: 0; - right: 0; - overflow: auto; - padding: 2% 4%; -} -.theme-overlay .theme-about:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -.theme-overlay .theme-actions { - position: absolute; - text-align: center; - bottom: 0; - left: 0; - right: 0; - padding: 10px 25px 5px; - background: #f3f3f3; - z-index: 30; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - border-top: 1px solid #eee; -} - -.ie8 .theme-overlay .theme-actions { - border: 1px solid #eee; -} - -.theme-overlay .theme-actions a { - margin-right: 5px; - margin-bottom: 5px; -} - -.theme-overlay .theme-actions .delete-theme { - color: #a00; - position: absolute; - right: 10px; - bottom: 5px; - text-decoration: none; - border-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; - background: transparent; -} - -.theme-overlay .theme-actions .delete-theme:hover, -.theme-overlay .theme-actions .delete-theme:focus { - background: #d54e21; - color: #fff; - border-color: #d54e21; -} - -.theme-overlay .theme-actions .active-theme, -.theme-overlay.active .theme-actions .inactive-theme { - display: none; -} - -.theme-overlay .theme-actions .inactive-theme, -.theme-overlay.active .theme-actions .active-theme { - display: block; -} - -/** - * Theme Screenshots gallery - */ -.theme-overlay .theme-screenshots { - float: left; - margin: 0 30px 0 0; - width: 55%; - max-width: 880px; - text-align: center; -} - -/* First screenshot, shown big */ -.theme-overlay .screenshot { - border: 1px solid #fff; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - overflow: hidden; - position: relative; - -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.2); - box-shadow: 0 0 0 1px rgba(0,0,0,0.2); -} - -.theme-overlay .screenshot:after { - content: ''; - display: block; - padding-top: 75%; /* using a 4/3 aspect ratio */ -} - -.theme-overlay .screenshot img { - height: auto; - position: absolute; - left: 0; - top: 0; - width: 100%; -} -/* Handles old 300px screenshots */ -.theme-overlay.small-screenshot .theme-screenshots { - position: absolute; - width: 302px; -} -.theme-overlay.small-screenshot .theme-info { - margin-left: 350px; - width: auto; -} - -/* Other screenshots, shown small and square */ -.theme-overlay .screenshot.thumb { - background: #ccc; - border: 1px solid #eee; - float: none; - display: inline-block; - margin: 10px 5px 0; - width: 140px; - height: 80px; - cursor: pointer; -} - -.theme-overlay .screenshot.thumb:after { - content: ''; - display: block; - padding-top: 100%; /* using a 1/1 aspect ratio */ -} - -.theme-overlay .screenshot.thumb img { - cursor: pointer; - height: auto; - position: absolute; - left: 0; - top: 0; - width: 100%; - height: auto; -} - -.theme-overlay .screenshot.selected { - background: transparent; - border: 2px solid #2ea2cc; -} - -.theme-overlay .screenshot.selected img { - opacity: 0.8; -} - -/* No screenshot placeholder */ -.theme-browser .theme .theme-screenshot.blank, -.theme-overlay .screenshot.blank { - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=); -} - -/** - * Theme heading information - */ -.theme-overlay .theme-info { - width: 40%; - float: left; -} - -.theme-overlay .current-label { - background: #333; - color: #fff; - font-size: 11px; - display: inline-block; - padding: 2px 8px; - -webkit-border-radius: 2px; - border-radius: 2px; - margin: 0 0 -10px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.theme-overlay .theme-name { - color: #222; - font-size: 32px; - font-weight: 100; - margin: 10px 0 0; - line-height: 1.3; -} - -.theme-overlay .theme-version { - color: #999; - font-size: 13px; - font-weight: 400; - float: none; - display: inline-block; - margin-left: 10px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.theme-overlay .theme-author { - color: #686868; - font-size: 16px; - font-weight: 400; - margin: 15px 0 25px; -} - -.theme-overlay .theme-author a { - text-decoration: none; -} - -.theme-overlay .theme-description { - color: #555; - font-size: 15px; - font-weight: 400; - line-height: 1.5; - margin: 30px 0 0 0; -} - -.theme-overlay .theme-tags { - border-top: 3px solid #eee; - color: #888; - font-size: 13px; - font-weight: 400; - margin: 30px 0 0 0; - padding-top: 20px; -} - -.theme-overlay .theme-tags span { - color: #444; - font-weight: bold; - margin-right: 5px; -} - -/* Theme Updates info */ -.theme-overlay .theme-update-message { - background: #fef7f1; - border: 1px solid #eee; - border-left: 4px solid #d54e21; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 5px 20px 10px; -} - -.theme-overlay .theme-update { - color: #222; - font-size: 18px; - display: inline-block; - line-height: 40px; - margin: 0; -} - -.theme-overlay .parent-theme { - background: #f7fcfe; - border: 1px solid #eee; - border-left: 4px solid #2ea2cc; - font-size: 14px; - font-weight: normal; - margin-top: 30px; - padding: 10px 10px 10px 20px; -} - -.theme-overlay .parent-theme strong { - font-weight: 700; -} - -/** - * Single Theme Mode - * Displays detailed view inline when a user has no switch capabilities - */ -.single-theme .theme-overlay .theme-backdrop, -.single-theme .theme-overlay .theme-header, -.single-theme .theme { - display: none; -} - -.single-theme .theme-overlay .theme-wrap { - clear: both; - min-height: 330px; - position: relative; - left: auto; - right: auto; - top: auto; - bottom: auto; -} - -.single-theme .theme-overlay .theme-about { - padding: 30px 30px 70px; - position: static; -} - -.single-theme .theme-overlay .theme-actions { - position: absolute; -} - -/** - * Basic Responsive structure... - * - * Shuffles theme columns around based on screen width - */ - -@media only screen and (min-width: 2000px) { - #wpwrap .theme-browser .theme { - width: 17.6%; - margin: 0 3% 3% 0; - } - - #wpwrap .theme-browser .theme:nth-child(3n), - #wpwrap .theme-browser .theme:nth-child(4n) { - margin-right: 3%; - } - - #wpwrap .theme-browser .theme:nth-child(5n) { - margin-right: 0; - } -} - -@media only screen and (min-width: 1680px) { - .theme-overlay .theme-wrap { - width: 1450px; - margin: 0 auto; - } -} - -/* Maximum screenshot width reaches 440px */ -@media only screen and (min-width: 1640px) { - .theme-browser .theme { - width: 22.7%; - margin: 0 3% 3% 0; - } - .theme-browser .theme .theme-screenshot:after { - padding-top: 75%; /* using a 4/3 aspect ratio */ - } - - .theme-browser .theme:nth-child(3n) { - margin-right: 3%; - } - - .theme-browser .theme:nth-child(4n) { - margin-right: 0; - } -} -/* Maximum screenshot width reaches 440px */ -@media only screen and (max-width: 1120px) { - .theme-browser .theme { - width: 47.5%; - margin-right: 0; - } - - .theme-browser .theme:nth-child(even) { - margin-right: 0; - } - - .theme-browser .theme:nth-child(odd) { - margin-right: 5%; - } -} - -/* Admin menu is folded */ -@media only screen and (max-width: 900px) { - .theme-overlay .theme-wrap { - left: 65px; - } -} - -@media only screen and (max-width: 780px) { - body.folded .theme-overlay .theme-wrap, - .theme-overlay .theme-wrap { - top: 0; /* The adminmenu isn't fixed on mobile, so this can use the full viewport height */ - right: 0; - bottom: 0; - left: 0; - padding: 70px 20px 20px; - border: none; - z-index: 500; /* should overlap #wpadminbar, which is 500 on mobile. */ - position: fixed; - } - - .theme-browser .theme.active .theme-name span { - /* Hide the "Active: " label on smaller screens. */ - display: none; - } - - .theme-overlay .theme-screenshots { - width: 40%; - } - - .theme-overlay .theme-info { - width: 50%; - } - .single-theme .theme-wrap { - padding: 10px; - } - - .theme-browser .theme .theme-actions { - padding: 5px 10px 4px 10px; - } - - .theme-overlay.small-screenshot .theme-screenshots { - position: static; - float: none; - max-width: 302px; - } - - .theme-overlay.small-screenshot .theme-info { - margin-left: 0; - width: auto; - } - - .theme:not(.active):hover .theme-actions, - .theme:not(.active):focus .theme-actions, - .theme:hover .more-details, - .theme:focus .more-details { - display: none; - } - - .theme-browser.rendered .theme:hover .theme-screenshot img, - .theme-browser.rendered .theme:focus .theme-screenshot img { - opacity: 1.0; - } -} - -@media only screen and (max-width: 480px) { - .theme-browser .theme { - width: 100%; - margin-right: 0; - } - - .theme-browser .theme:nth-child(2n), - .theme-browser .theme:nth-child(3n) { - margin-right: 0; - } -} - -@media only screen and (max-width: 650px) { - .theme-overlay .theme-update, - .theme-overlay .theme-description { - margin-left: 0; - } - - .theme-overlay .theme-actions .delete-theme { - position: relative; - right: auto; - bottom: auto; - } - - .theme-overlay .theme-actions .inactive-theme { - display: inline; - } - - .theme-overlay .theme-screenshots { - width: 100%; - float: none; - } - - .theme-overlay .theme-info { - width: 100%; - } - - .theme-overlay .theme-author { - margin: 5px 0 15px 0; - } - - .theme-overlay .current-label { - margin-top: 10px; - font-size: 13px; - } - - .themes-php .wrap h2 { - width: 100%; - } - - .themes-php .wp-filter-search { - float: none; - clear: both; - left: 0; - top: 0; - right: 0; - margin: 10px 0; - width: 100%; - } - - .theme-browser .theme.add-new-theme span:after { - font: normal 60px/90px 'dashicons'; - width: 80px; - height: 80px; - top: 30%; - left: 50%; - text-indent: 0; - margin-left: -40px; - } - - .single-theme .theme-wrap { - margin: 0 -12px 0 -10px; - padding: 10px; - } - .single-theme .theme-overlay .theme-about { - padding: 10px; - overflow: visible; - } - .single-theme .current-label { - display: none; - } - .single-theme .theme-overlay .theme-actions { - position: static; - } -} - -.broken-themes { - clear: both; -} - -.broken-themes table { - text-align: left; - width: 50%; - border-spacing: 3px; - padding: 3px; -} - - -/*------------------------------------------------------------------------------ - 16.2 - Install Themes -------------------------------------------------------------------------------*/ - -/* Already installed theme */ -.theme-browser .theme .theme-installed { - background: #0074a2; -} -.theme-browser .theme .theme-installed:before { - content: '\f147'; -} -.theme-browser .theme.is-installed .theme-actions .button-primary { - display: none !important; -} - -.theme-install-php a.upload, -.theme-install-php a.browse-themes { - cursor: pointer; -} -.theme-install-php a.browse-themes, -.theme-install-php.show-upload-theme a.upload { - display: none; -} -.theme-install-php.show-upload-theme a.browse-themes { - display: inline; -} -.upload-theme, -.upload-plugin { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: none; - margin: 0; - padding: 0; - width: 100%; - overflow: hidden; - position: relative; - top: 10px; -} -body.show-upload-theme .upload-theme, -.upload-plugin { - display: block; -} -.upload-theme .wp-upload-form, -.upload-plugin .wp-upload-form { - background: #fafafa; - border: 1px solid #e5e5e5; - padding: 30px; - margin: 30px auto; - max-width: 380px; -} -.upload-theme .install-help, -.upload-plugin .install-help { - color: #999; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 40px 0 0; - text-align: center; -} -body.show-upload-theme .upload-theme + .wp-filter, -body.show-upload-theme .upload-theme + .wp-filter + .theme-browser { - display: none; -} - -p.no-themes { - color: #999; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 0; - text-align: center; - display: none; -} -body.no-results p.no-themes { - display: block; -} -body.show-upload-theme p.no-themes { - display: none !important; -} - -.theme-install-php .add-new-theme { - display: none !important; -} - -@media only screen and (max-width: 1120px) { - .upload-theme .wp-upload-form { - margin: 20px 0; - max-width: 100%; - } - .upload-theme .install-help { - font-size: 15px; - padding: 20px 0 0; - text-align: left; - } -} - -.rating { - margin: 30px 0; -} -.rating span:before { - color: #e6b800; - content: "\f154"; - display: inline-block; - -webkit-font-smoothing: antialiased; - font: normal 20px/1 'dashicons'; - vertical-align: top; -} -/* Half stars */ -.rating-10 span.one:before, -.rating-30 span.two:before, -.rating-50 span.three:before, -.rating-70 span.four:before, -.rating-90 span.five:before { - content: "\f459"; -} -/* Full stars */ -.rating-20 span.one:before { - content: "\f155"; -} -.rating-30 span.one:before, -.rating-40 span.one:before, -.rating-40 span.two:before { - content: "\f155"; -} -.rating-50 span.one:before, -.rating-50 span.two:before, -.rating-60 span.one:before, -.rating-60 span.two:before, -.rating-60 span.three:before { - content: "\f155"; -} -.rating-70 span.one:before, -.rating-70 span.two:before, -.rating-70 span.three:before, -.rating-80 span.one:before, -.rating-80 span.two:before, -.rating-80 span.three:before, -.rating-80 span.four:before { - content: "\f155"; -} -.rating-90 span.one:before, -.rating-90 span.two:before, -.rating-90 span.three:before, -.rating-90 span.four:before, -.rating-100 span.one:before, -.rating-100 span.two:before, -.rating-100 span.three:before, -.rating-100 span.four:before, -.rating-100 span.five:before { - content: "\f155"; -} -.rating .ratings { - display: inline; - margin-left: 10px; - line-height: 20px; - color: #999; -} - -/*------------------------------------------------------------------------------ - 16.3 - Custom Header Screen -------------------------------------------------------------------------------*/ - -.appearance_page_custom-header #headimg { - border: 1px solid #DFDFDF; - overflow: hidden; - width: 100%; -} - -.appearance_page_custom-header #upload-form p label { - font-size: 12px; -} - -.appearance_page_custom-header .available-headers .default-header { - float: left; - margin: 0 20px 20px 0; -} - -.appearance_page_custom-header .random-header { - clear: both; - margin: 0 20px 20px 0; - vertical-align: middle; -} - -.appearance_page_custom-header .available-headers label input, -.appearance_page_custom-header .random-header label input { - margin-right: 10px; -} - -.appearance_page_custom-header .available-headers label img { - vertical-align: middle; -} - - -/*------------------------------------------------------------------------------ - 16.4 - Custom Background Screen -------------------------------------------------------------------------------*/ - -div#custom-background-image { - min-height: 100px; - border: 1px solid #dfdfdf; -} - -div#custom-background-image img { - max-width: 400px; - max-height: 300px; -} - -/*------------------------------------------------------------------------------ - 23.0 - Full Overlay w/ Sidebar -------------------------------------------------------------------------------*/ - -body.full-overlay-active { - overflow: hidden; -} - -.wp-full-overlay { - background: transparent; - z-index: 500000; - position: fixed; - overflow: visible; - top: 0; - bottom: 0; - left: 0; - right: 0; - height: 100%; - min-width: 0; -} - -.wp-full-overlay-sidebar { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - position: fixed; - width: 300px; - height: 100%; - top: 0; - bottom: 0; - left: 0; - padding: 0; - margin: 0; - z-index: 10; - overflow: auto; - background: #eee; - border-right: none; -} - -.wp-full-overlay.collapsed .wp-full-overlay-sidebar { - overflow: visible; -} - -.wp-full-overlay.collapsed, -.wp-full-overlay.expanded .wp-full-overlay-sidebar { - margin-left: 0 !important; -} - -.wp-full-overlay.expanded { - margin-left: 300px; -} - -.wp-full-overlay.collapsed .wp-full-overlay-sidebar { - margin-left: -300px; -} - -.wp-full-overlay-sidebar:after { - content: ''; - display: block; - position: absolute; - top: 0; - bottom: 0; - right: 0; - width: 3px; - z-index: 1000; -} - -.wp-full-overlay-main { - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - height: 100%; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header { - position: absolute; - left: 0; - right: 0; - height: 45px; - padding: 0 15px; - line-height: 45px; - z-index: 10; - margin: 0; - border-top: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header a.back { - margin-top: 9px; -} - -.wp-full-overlay-sidebar .wp-full-overlay-footer { - bottom: 0; - border-bottom: none; - border-top: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { - position: absolute; - top: 45px; - bottom: 45px; - left: 0; - right: 0; - overflow: auto; -} - -/* Close & Navigation Links */ -.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header { - padding: 0; -} - -.theme-install-overlay .close-full-overlay, -.theme-install-overlay .previous-theme, -.theme-install-overlay .next-theme { - display: block; - position: relative; - float: left; - width: 45px; - height: 45px; - padding-right: 2px; - background: #eee; - border-right: 1px solid #ddd; - color: #444; - cursor: pointer; - text-decoration: none; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-install-overlay .close-full-overlay:hover, -.theme-install-overlay .close-full-overlay:focus, -.theme-install-overlay .previous-theme:hover, -.theme-install-overlay .previous-theme:focus, -.theme-install-overlay .next-theme:hover, -.theme-install-overlay .next-theme:focus { - background: #ddd; - border-color: #ccc; - color: #000; - outline: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.theme-install-overlay .close-full-overlay:before { - font: normal 22px/1 dashicons; - content: "\f335"; - position: relative; - top: 7px; - left: 13px; -} - -.theme-install-overlay .previous-theme:before { - font: normal 20px/1 dashicons; - content: "\f341"; - position: relative; - top: 6px; - left: 14px; -} - -.theme-install-overlay .next-theme:before { - font: normal 20px/1 dashicons; - content: "\f345"; - position: relative; - top: 6px; - left: 13px; -} - -.theme-install-overlay .previous-theme.disabled, -.theme-install-overlay .next-theme.disabled, -.theme-install-overlay .previous-theme.disabled:hover, -.theme-install-overlay .previous-theme.disabled:focus, -.theme-install-overlay .next-theme.disabled:hover, -.theme-install-overlay .next-theme.disabled:focus { - color: #bbb; - background: #eee; - cursor: default; - pointer-events: none; -} - -.rtl .theme-install-overlay .previous-theme:before { - content: "\f345"; -} - -.rtl .theme-install-overlay .next-theme:before { - content: "\f341"; -} - -/* Collapse Button */ -.wp-full-overlay a.collapse-sidebar { - position: absolute; - bottom: 12px; - left: 0; - z-index: 50; - display: block; - width: 19px; - height: 19px; - margin-left: 15px; - padding: 0; - -webkit-border-radius: 50%; - border-radius: 50%; - color: #777; - text-decoration: none; -} - -.wp-full-overlay a.collapse-sidebar:hover { - color: #0074a2; -} - -.wp-full-overlay.collapsed .collapse-sidebar { - position: absolute; - left: 100%; -} - -.wp-full-overlay .collapse-sidebar-arrow { - position: static; - margin-top: 0; - margin-left: 0; - display: block; - width: auto; - height: auto; - background: none; -} - -.wp-full-overlay .collapse-sidebar-arrow:before { - -webkit-border-radius: 50%; - border-radius: 50%; - float: left; - content: "\f148"; - background: #eee; - font: normal 20px/1 'dashicons'; - speak: none; - display: block; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -.wp-full-overlay.collapsed .collapse-sidebar-arrow:before, -.rtl .wp-full-overlay .collapse-sidebar-arrow:before { - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); -} - -.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -.wp-full-overlay.collapsed .collapse-sidebar-arrow { - background-position: -1px -109px; -} - -.wp-full-overlay .collapse-sidebar-label { - position: absolute; - left: 100%; - line-height: 20px; - margin-left: 10px; -} - -.wp-full-overlay.collapsed .collapse-sidebar-label { - display: none; -} - -/* Animations */ -.wp-full-overlay, -.wp-full-overlay-sidebar, -.wp-full-overlay .collapse-sidebar, -.wp-full-overlay-main { - -webkit-transition-property: left, right, top, bottom, width, margin; - transition-property: left, right, top, bottom, width, margin; - -webkit-transition-duration: 0.2s; - transition-duration: 0.2s; -} - -/*------------------------------------------------------------------------------ - 24.0 - Customize Loader -------------------------------------------------------------------------------*/ - -.no-customize-support .hide-if-no-customize, -.customize-support .hide-if-customize, -.no-customize-support.wp-core-ui .hide-if-no-customize, -.no-customize-support .wp-core-ui .hide-if-no-customize, -.customize-support.wp-core-ui .hide-if-customize, -.customize-support .wp-core-ui .hide-if-customize { - display: none; -} - -#customize-container { - display: none; - background: #fff; - z-index: 500000; - position: fixed; - overflow: visible; - top: 0; - bottom: 0; - left: 0; - right: 0; - height: 100%; -} - -.customize-active #customize-container { - display: block; -} - -.customize-loading #customize-container iframe { - opacity: 0; -} - -.customize-loading #customize-container { - background: #fff url(../images/spinner.gif) no-repeat fixed center center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; -} - -#customize-container iframe, -.theme-install-overlay iframe { - height: 100%; - width: 100%; - z-index: 20; - -webkit-transition: opacity 0.3s; - transition: opacity 0.3s; -} - -#customize-container .collapse-sidebar { - bottom: 16px; -} - -#customize-controls { - margin-top: 0; -} - -.theme-install-overlay { - display: none; -} - -.theme-install-overlay.single-theme { - display: block; -} - -.install-theme-info { - display: none; - padding: 10px 20px 60px; -} - -.single-theme .install-theme-info { - padding-top: 15px; -} - -.theme-install-overlay .install-theme-info { - display: block; -} - -.install-theme-info .theme-install { - float: right; - margin-top: 18px; -} - -.install-theme-info .theme-name { - font-size: 16px; - line-height: 24px; - margin-bottom: 0; - margin-top: 0; -} - -.install-theme-info .theme-screenshot { - margin-top: 15px; - width: 258px; - border: 1px solid #ccc; -} - -.install-theme-info .theme-details { - overflow: hidden; -} - -.theme-details .theme-version { - margin: 15px 0; - float: left; -} - -.theme-details .star-rating { - margin: 7px 0; - float: right; -} - -.theme-details .theme-description { - float: left; - color: #777; - line-height: 20px; - max-width: 100%; -} - -.theme-install-overlay .wp-full-overlay-header .theme-install { - float: right; - margin: 8px 10px 0 0; - /* For when .theme-install is a span rather than a.button-primary (already installed theme) */ - line-height: 26px; -} - -.theme-install-overlay .wp-full-overlay-sidebar { - background: #eee; - border-right: 1px solid #ddd; -} - -.theme-install-overlay .wp-full-overlay-sidebar-content { - background: #fff; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; -} - -.theme-install-overlay .wp-full-overlay-main { - background: #fff url(../images/spinner.gif) no-repeat center center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .wp-full-overlay .collapse-sidebar-arrow { - background-image: url(../images/arrows-2x.png); - -webkit-background-size: 15px 123px; - background-size: 15px 123px; - } - - .customize-loading #customize-container, - .theme-install-overlay .wp-full-overlay-main { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and ( max-width: 782px ) { - .available-theme .action-links .delete-theme { - float: none; - margin: 0; - padding: 0; - clear: both; - } - - .available-theme .action-links .delete-theme a { - padding: 0; - } -} diff --git a/sources/wordpress/wp-admin/css/widgets-rtl.css b/sources/wordpress/wp-admin/css/widgets-rtl.css deleted file mode 100644 index 187f005..0000000 --- a/sources/wordpress/wp-admin/css/widgets-rtl.css +++ /dev/null @@ -1,577 +0,0 @@ -/* General Widgets Styles */ - -.widget { - margin: 0 auto 10px; - position: relative; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.widget-top { - font-size: 13px; - font-weight: 600; - background: #f7f7f7; -} - -.widget-top a.widget-action, -.widget-top a.widget-action:hover { - -webkit-box-shadow: none; - box-shadow: none; - outline: none; - text-decoration: none; -} - -.widget-title h4 { - margin: 0; - padding: 15px; - line-height: 1; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.widgets-holder-wrap .widget-inside { - border-top: none; - padding: 1px 15px 15px 15px; - line-height: 16px; -} - -.in-widget-title, -#widgets-right a.widget-control-edit, -#available-widgets .widget-description { - color: #666; -} - -.deleting .widget-title, -.deleting .widget-top a.widget-action:after { - color: #aaa; -} - -/* Widget Dragging Helpers */ -.widget.ui-draggable-dragging { - min-width: 100%; -} - -.widget.ui-sortable-helper { - opacity: 0.8; -} - -.widget-placeholder { - border: 1px dashed #bbb; - margin: 0 auto 10px; - height: 45px; - width: 100%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -#widgets-right .widget-placeholder { - margin-top: 0; -} - -#widgets-right .closed .widget-placeholder { - height: 0; - border: 0; - margin-top: -10px; -} - -/* Widget Sidebars */ -.sidebar-name { - position: relative; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.sidebar-name-arrow { - position: absolute; - top: 0; - left: 0; - bottom: 0; -} - -.js .sidebar-name { - cursor: pointer; -} - -.sidebar-name h3 { - margin: 0; - padding: 8px 10px; - overflow: hidden; - white-space: nowrap; -} - -.widgets-holder-wrap .description { - padding: 0 0 15px; - margin: 0; - font-style: normal; - color: #777; -} - -#widgets-right .widgets-holder-wrap .description { - padding-right: 7px; - padding-left: 7px; -} - -/* Widgets 2-col Layout */ -div.widget-liquid-left { - margin: 0; - width: 38%; - float: right; -} - -div.widget-liquid-right { - float: left; - width: 58%; -} - -/* Widgets Left - Available Widgets */ - -div#widgets-left { - padding-top: 12px; -} - -div#widgets-left .closed .sidebar-name, -div#widgets-left .inactive-sidebar.closed .sidebar-name { - margin-bottom: 10px; -} - -div#widgets-left .sidebar-name h3 { - padding: 10px 0; - margin: 0 0 0 10px; -} - -div#widgets-left .sidebar-name .sidebar-name-arrow:before { - left: 0; - top: 4px; - padding: 4px 4px 4px 6px; -} - -#widgets-left #available-widgets, -div#widgets-left .widget-holder { - background: transparent; - border: none; -} - -#widgets-left .widgets-holder-wrap { - border: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -#available-widgets .widget-action { - display: none; -} - -#available-widgets .widget { - margin: 0; -} - -#available-widgets .widget:nth-child(odd) { - clear: both; -} - -#available-widgets .widget .widget-description { - display: block; - padding: 10px 15px; - font-size: 12px; -} - -#available-widgets #widget-list { - position: relative; -} - -/* Inactive Sidebars */ -#widgets-left .inactive-sidebar { - clear: both; - width: 100%; - background: transparent; - padding: 0; - margin: 0 0 20px 0; - border: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -#widgets-left .inactive-sidebar.first { - margin-top: 40px; -} - -/* Not sure what this is for... */ -div#widgets-left .inactive-sidebar .widget.expanded { - right: auto; -} - -.widget-title-action { - float: left; - position: relative; -} - -div#widgets-left .inactive-sidebar .widgets-sortables { - min-height: 42px; - padding: 0; - background: transparent; - margin: 0; - position: relative; -} - -/* Widgets Right */ - -div#widgets-right:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -div#widgets-right .sidebars-column-1, -div#widgets-right .sidebars-column-2 { - max-width: 450px; -} - -div#widgets-right .widgets-holder-wrap { - margin: 10px 0 0 0; -} - -div#widgets-right .sidebar-description { - min-height: 20px; - margin-top: -5px; -} - -div#widgets-right .sidebar-name h3 { - padding: 15px 7px; -} - -div#widgets-right .sidebar-name .sidebar-name-arrow:before { - left: 0; - top: 4px; -} - -div#widgets-right .widget-top { - padding: 0; -} - -div#widgets-right .widgets-sortables { - padding: 0 8px; - margin-bottom: 9px; - position: relative; - min-height: 123px; -} - -div#widgets-right .closed .widgets-sortables { - min-height: 0; - margin-bottom: 0; -} - -.sidebar-name .spinner { - margin: -5px 5px; - float: none; -} - -/* Dragging a widget over a closed sidebar */ -#widgets-right .widgets-holder-wrap.widget-hover { - border-color: #777; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3); - box-shadow: 0 1px 2px rgba(0,0,0,0.3); -} - -/* Accessibility Mode */ -.widgets_access #widgets-left .widget .widget-top { - cursor: auto; -} - -.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description, -.widgets_access #wpwrap .widgets-holder-wrap.closed .widget, -.widgets_access #wpwrap .widget-control-edit { - display: block; -} - -.widgets_access #widgets-left .widget .widget-top:hover, -.widgets_access #widgets-right .widget .widget-top:hover { - border-color: #ddd; -} - -#available-widgets .widget-control-edit .edit, -#widgets-left .inactive-sidebar .widget-control-edit .add, -#widgets-right .widget-control-edit .add { - display: none; -} - -.widget-control-edit { - display: block; - color: #666; - background: #EEE; - padding: 0 15px; - line-height: 43px; - border-right: 1px solid #DDD; -} - -#widgets-left .widget-control-edit:hover, -#widgets-right .widget-control-edit:hover { - color: #fff; - background: #444; - border-right: 0; - outline: 1px solid #444; -} - -.widgets-holder-wrap .sidebar-name, -.widgets-holder-wrap .sidebar-description { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.editwidget { - margin: 0 auto; -} - -.editwidget .widget-inside { - display: block; - padding: 0 15px; -} - -.editwidget .widget-control-actions { - margin-top: 20px; -} - -.js .widgets-holder-wrap.closed .widget, -.js .widgets-holder-wrap.closed .sidebar-description, -.js .closed br.clear { - display: none; -} - -/* Hide Widget Settings by Default */ -.widget-inside, -.widget-description { - display: none; -} - -.widget-inside { - background: #fff; -} - -/* Dragging widgets over the available widget area show's a "Deactivate" message */ -#removing-widget { - display: none; - font-weight: normal; - padding-right: 15px; - font-size: 12px; - line-height: 1; - color: black; -} - -.js #removing-widget { - color: #2ea2cc; -} - -.widget-control-noform, -#access-off, -.widgets_access .widget-action, -.widgets_access .sidebar-name-arrow, -.widgets_access #access-on, -.widgets_access .widget-holder .description, -.no-js .widget-holder .description { - display: none; -} - -.widgets_access .widget-holder, -.widgets_access #widget-list { - padding-top: 10px; -} - -.widgets_access #access-off { - display: inline; -} - -.widgets_access .sidebar-name, -.widgets_access .widget .widget-top { - cursor: default; -} - - -/* Widgets Area Chooser */ -.widget-liquid-left #widgets-left.chooser #available-widgets .widget, -.widget-liquid-left #widgets-left.chooser .inactive-sidebar { - -webkit-transition: opacity 0.1s linear; - transition: opacity 0.1s linear; -} - -.widget-liquid-left #widgets-left.chooser #available-widgets .widget, -.widget-liquid-left #widgets-left.chooser .inactive-sidebar { - /* -webkit-filter: blur(1px); */ - opacity: 0.2; - pointer-events: none; -} - -.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question { - /* -webkit-filter: none; */ - opacity: 1; - pointer-events: auto; -} - -.widgets-chooser ul, -#widgets-left .widget-in-question .widget-top, -#available-widgets .widget-top:hover, -div#widgets-right .widget-top:hover, -#widgets-left .widget-top:hover { - border-color: #999; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1); - box-shadow: 0 1px 2px rgba(0,0,0,0.1); -} - -.widgets-chooser ul.widgets-chooser-sidebars { - margin: 0; - list-style-type: none; - max-height: 300px; - overflow: auto; -} - -.widgets-chooser { - display: none; -} - -.widgets-chooser ul { - border: 1px solid #ccc; -} - -.widgets-chooser li { - padding: 10px 35px 10px 15px; - border-bottom: 1px solid #ccc; - background: #fff; - margin: 0; - cursor: pointer; - outline: none; - position: relative; - -webkit-transition: background 0.2s ease-in-out; - transition: background 0.2s ease-in-out; -} - -.widgets-chooser li:hover, -.widgets-chooser li:focus { - background: rgba(255,255,255,0.7); -} - -.widgets-chooser li:focus:before { - content: '\f147'; - display: block; - -webkit-font-smoothing: antialiased; - font: normal 26px/1 'dashicons'; - color: #999; - position: absolute; - top: 7px; - right: 5px; -} - -.widgets-chooser li:last-child { - border: none; -} - -.widgets-chooser li.widgets-chooser-selected { - background: #2ea2cc; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - content: '\f147'; - display: block; - -webkit-font-smoothing: antialiased; - font: normal 26px/1 'dashicons'; - color: #fff; - position: absolute; - top: 7px; - right: 5px; -} - -.widgets-chooser .widgets-chooser-actions { - padding: 10px 0 12px 0; - text-align: center; -} - -.widgets-chooser button { - margin-left: 5px; -} - -#available-widgets .widget .widget-top { - cursor: pointer; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and (max-width: 480px) { - div.widget-liquid-left { - width: 100%; - float: none; - border-left: none; - padding-left: 0; - } - - #widgets-left .sidebar-name { - margin-left: 0; - } - - #widgets-left #available-widgets .widget-top { - margin-left: 0; - } - - #widgets-left .inactive-sidebar .widgets-sortables { - margin-left: 0; - } - - div.widget-liquid-right { - width: 100%; - float: none; - } - - div.widget { - margin: 0 auto 10px !important; - max-width: 480px; - } -} - -@media screen and (max-width: 320px) { - div.widget { - max-width: 320px; - } -} - -@media only screen and (min-width: 1250px) { - #widgets-left #available-widgets .widget { - width: 49%; - float: right; - } - - .widget.ui-draggable-dragging { - min-width: 49%; - } - - #widgets-left #available-widgets .widget:nth-child(even) { - float: left; - } - - #widgets-right .sidebars-column-1, - #widgets-right .sidebars-column-2 { - float: right; - width: 49%; - } - - #widgets-right .sidebars-column-1 { - margin-left: 2%; - } - - #widgets-right.single-sidebar .sidebars-column-1, - #widgets-right.single-sidebar .sidebars-column-2 { - float: none; - width: 100%; - margin: 0; - } -} diff --git a/sources/wordpress/wp-admin/css/widgets.css b/sources/wordpress/wp-admin/css/widgets.css deleted file mode 100644 index 409a393..0000000 --- a/sources/wordpress/wp-admin/css/widgets.css +++ /dev/null @@ -1,577 +0,0 @@ -/* General Widgets Styles */ - -.widget { - margin: 0 auto 10px; - position: relative; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.widget-top { - font-size: 13px; - font-weight: 600; - background: #f7f7f7; -} - -.widget-top a.widget-action, -.widget-top a.widget-action:hover { - -webkit-box-shadow: none; - box-shadow: none; - outline: none; - text-decoration: none; -} - -.widget-title h4 { - margin: 0; - padding: 15px; - line-height: 1; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.widgets-holder-wrap .widget-inside { - border-top: none; - padding: 1px 15px 15px 15px; - line-height: 16px; -} - -.in-widget-title, -#widgets-right a.widget-control-edit, -#available-widgets .widget-description { - color: #666; -} - -.deleting .widget-title, -.deleting .widget-top a.widget-action:after { - color: #aaa; -} - -/* Widget Dragging Helpers */ -.widget.ui-draggable-dragging { - min-width: 100%; -} - -.widget.ui-sortable-helper { - opacity: 0.8; -} - -.widget-placeholder { - border: 1px dashed #bbb; - margin: 0 auto 10px; - height: 45px; - width: 100%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -#widgets-right .widget-placeholder { - margin-top: 0; -} - -#widgets-right .closed .widget-placeholder { - height: 0; - border: 0; - margin-top: -10px; -} - -/* Widget Sidebars */ -.sidebar-name { - position: relative; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.sidebar-name-arrow { - position: absolute; - top: 0; - right: 0; - bottom: 0; -} - -.js .sidebar-name { - cursor: pointer; -} - -.sidebar-name h3 { - margin: 0; - padding: 8px 10px; - overflow: hidden; - white-space: nowrap; -} - -.widgets-holder-wrap .description { - padding: 0 0 15px; - margin: 0; - font-style: normal; - color: #777; -} - -#widgets-right .widgets-holder-wrap .description { - padding-left: 7px; - padding-right: 7px; -} - -/* Widgets 2-col Layout */ -div.widget-liquid-left { - margin: 0; - width: 38%; - float: left; -} - -div.widget-liquid-right { - float: right; - width: 58%; -} - -/* Widgets Left - Available Widgets */ - -div#widgets-left { - padding-top: 12px; -} - -div#widgets-left .closed .sidebar-name, -div#widgets-left .inactive-sidebar.closed .sidebar-name { - margin-bottom: 10px; -} - -div#widgets-left .sidebar-name h3 { - padding: 10px 0; - margin: 0 10px 0 0; -} - -div#widgets-left .sidebar-name .sidebar-name-arrow:before { - right: 0; - top: 4px; - padding: 4px 6px 4px 4px; -} - -#widgets-left #available-widgets, -div#widgets-left .widget-holder { - background: transparent; - border: none; -} - -#widgets-left .widgets-holder-wrap { - border: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -#available-widgets .widget-action { - display: none; -} - -#available-widgets .widget { - margin: 0; -} - -#available-widgets .widget:nth-child(odd) { - clear: both; -} - -#available-widgets .widget .widget-description { - display: block; - padding: 10px 15px; - font-size: 12px; -} - -#available-widgets #widget-list { - position: relative; -} - -/* Inactive Sidebars */ -#widgets-left .inactive-sidebar { - clear: both; - width: 100%; - background: transparent; - padding: 0; - margin: 0 0 20px 0; - border: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -#widgets-left .inactive-sidebar.first { - margin-top: 40px; -} - -/* Not sure what this is for... */ -div#widgets-left .inactive-sidebar .widget.expanded { - left: auto; -} - -.widget-title-action { - float: right; - position: relative; -} - -div#widgets-left .inactive-sidebar .widgets-sortables { - min-height: 42px; - padding: 0; - background: transparent; - margin: 0; - position: relative; -} - -/* Widgets Right */ - -div#widgets-right:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -div#widgets-right .sidebars-column-1, -div#widgets-right .sidebars-column-2 { - max-width: 450px; -} - -div#widgets-right .widgets-holder-wrap { - margin: 10px 0 0 0; -} - -div#widgets-right .sidebar-description { - min-height: 20px; - margin-top: -5px; -} - -div#widgets-right .sidebar-name h3 { - padding: 15px 7px; -} - -div#widgets-right .sidebar-name .sidebar-name-arrow:before { - right: 0; - top: 4px; -} - -div#widgets-right .widget-top { - padding: 0; -} - -div#widgets-right .widgets-sortables { - padding: 0 8px; - margin-bottom: 9px; - position: relative; - min-height: 123px; -} - -div#widgets-right .closed .widgets-sortables { - min-height: 0; - margin-bottom: 0; -} - -.sidebar-name .spinner { - margin: -5px 5px; - float: none; -} - -/* Dragging a widget over a closed sidebar */ -#widgets-right .widgets-holder-wrap.widget-hover { - border-color: #777; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3); - box-shadow: 0 1px 2px rgba(0,0,0,0.3); -} - -/* Accessibility Mode */ -.widgets_access #widgets-left .widget .widget-top { - cursor: auto; -} - -.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description, -.widgets_access #wpwrap .widgets-holder-wrap.closed .widget, -.widgets_access #wpwrap .widget-control-edit { - display: block; -} - -.widgets_access #widgets-left .widget .widget-top:hover, -.widgets_access #widgets-right .widget .widget-top:hover { - border-color: #ddd; -} - -#available-widgets .widget-control-edit .edit, -#widgets-left .inactive-sidebar .widget-control-edit .add, -#widgets-right .widget-control-edit .add { - display: none; -} - -.widget-control-edit { - display: block; - color: #666; - background: #EEE; - padding: 0 15px; - line-height: 43px; - border-left: 1px solid #DDD; -} - -#widgets-left .widget-control-edit:hover, -#widgets-right .widget-control-edit:hover { - color: #fff; - background: #444; - border-left: 0; - outline: 1px solid #444; -} - -.widgets-holder-wrap .sidebar-name, -.widgets-holder-wrap .sidebar-description { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.editwidget { - margin: 0 auto; -} - -.editwidget .widget-inside { - display: block; - padding: 0 15px; -} - -.editwidget .widget-control-actions { - margin-top: 20px; -} - -.js .widgets-holder-wrap.closed .widget, -.js .widgets-holder-wrap.closed .sidebar-description, -.js .closed br.clear { - display: none; -} - -/* Hide Widget Settings by Default */ -.widget-inside, -.widget-description { - display: none; -} - -.widget-inside { - background: #fff; -} - -/* Dragging widgets over the available widget area show's a "Deactivate" message */ -#removing-widget { - display: none; - font-weight: normal; - padding-left: 15px; - font-size: 12px; - line-height: 1; - color: black; -} - -.js #removing-widget { - color: #2ea2cc; -} - -.widget-control-noform, -#access-off, -.widgets_access .widget-action, -.widgets_access .sidebar-name-arrow, -.widgets_access #access-on, -.widgets_access .widget-holder .description, -.no-js .widget-holder .description { - display: none; -} - -.widgets_access .widget-holder, -.widgets_access #widget-list { - padding-top: 10px; -} - -.widgets_access #access-off { - display: inline; -} - -.widgets_access .sidebar-name, -.widgets_access .widget .widget-top { - cursor: default; -} - - -/* Widgets Area Chooser */ -.widget-liquid-left #widgets-left.chooser #available-widgets .widget, -.widget-liquid-left #widgets-left.chooser .inactive-sidebar { - -webkit-transition: opacity 0.1s linear; - transition: opacity 0.1s linear; -} - -.widget-liquid-left #widgets-left.chooser #available-widgets .widget, -.widget-liquid-left #widgets-left.chooser .inactive-sidebar { - /* -webkit-filter: blur(1px); */ - opacity: 0.2; - pointer-events: none; -} - -.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question { - /* -webkit-filter: none; */ - opacity: 1; - pointer-events: auto; -} - -.widgets-chooser ul, -#widgets-left .widget-in-question .widget-top, -#available-widgets .widget-top:hover, -div#widgets-right .widget-top:hover, -#widgets-left .widget-top:hover { - border-color: #999; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1); - box-shadow: 0 1px 2px rgba(0,0,0,0.1); -} - -.widgets-chooser ul.widgets-chooser-sidebars { - margin: 0; - list-style-type: none; - max-height: 300px; - overflow: auto; -} - -.widgets-chooser { - display: none; -} - -.widgets-chooser ul { - border: 1px solid #ccc; -} - -.widgets-chooser li { - padding: 10px 15px 10px 35px; - border-bottom: 1px solid #ccc; - background: #fff; - margin: 0; - cursor: pointer; - outline: none; - position: relative; - -webkit-transition: background 0.2s ease-in-out; - transition: background 0.2s ease-in-out; -} - -.widgets-chooser li:hover, -.widgets-chooser li:focus { - background: rgba(255,255,255,0.7); -} - -.widgets-chooser li:focus:before { - content: '\f147'; - display: block; - -webkit-font-smoothing: antialiased; - font: normal 26px/1 'dashicons'; - color: #999; - position: absolute; - top: 7px; - left: 5px; -} - -.widgets-chooser li:last-child { - border: none; -} - -.widgets-chooser li.widgets-chooser-selected { - background: #2ea2cc; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - content: '\f147'; - display: block; - -webkit-font-smoothing: antialiased; - font: normal 26px/1 'dashicons'; - color: #fff; - position: absolute; - top: 7px; - left: 5px; -} - -.widgets-chooser .widgets-chooser-actions { - padding: 10px 0 12px 0; - text-align: center; -} - -.widgets-chooser button { - margin-right: 5px; -} - -#available-widgets .widget .widget-top { - cursor: pointer; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and (max-width: 480px) { - div.widget-liquid-left { - width: 100%; - float: none; - border-right: none; - padding-right: 0; - } - - #widgets-left .sidebar-name { - margin-right: 0; - } - - #widgets-left #available-widgets .widget-top { - margin-right: 0; - } - - #widgets-left .inactive-sidebar .widgets-sortables { - margin-right: 0; - } - - div.widget-liquid-right { - width: 100%; - float: none; - } - - div.widget { - margin: 0 auto 10px !important; - max-width: 480px; - } -} - -@media screen and (max-width: 320px) { - div.widget { - max-width: 320px; - } -} - -@media only screen and (min-width: 1250px) { - #widgets-left #available-widgets .widget { - width: 49%; - float: left; - } - - .widget.ui-draggable-dragging { - min-width: 49%; - } - - #widgets-left #available-widgets .widget:nth-child(even) { - float: right; - } - - #widgets-right .sidebars-column-1, - #widgets-right .sidebars-column-2 { - float: left; - width: 49%; - } - - #widgets-right .sidebars-column-1 { - margin-right: 2%; - } - - #widgets-right.single-sidebar .sidebars-column-1, - #widgets-right.single-sidebar .sidebars-column-2 { - float: none; - width: 100%; - margin: 0; - } -} diff --git a/sources/wordpress/wp-admin/css/wp-admin-rtl.css b/sources/wordpress/wp-admin/css/wp-admin-rtl.css deleted file mode 100644 index c45d5b1..0000000 --- a/sources/wordpress/wp-admin/css/wp-admin-rtl.css +++ /dev/null @@ -1,14 +0,0 @@ -@import url(common-rtl.css); -@import url(forms-rtl.css); -@import url(admin-menu-rtl.css); -@import url(dashboard-rtl.css); -@import url(list-tables-rtl.css); -@import url(edit-rtl.css); -@import url(revisions-rtl.css); -@import url(media-rtl.css); -@import url(themes-rtl.css); -@import url(press-this-rtl.css); -@import url(about-rtl.css); -@import url(nav-menus-rtl.css); -@import url(widgets-rtl.css); -@import url(l10n-rtl.css); diff --git a/sources/wordpress/wp-admin/css/wp-admin-rtl.min.css b/sources/wordpress/wp-admin/css/wp-admin-rtl.min.css deleted file mode 100644 index 4c5e357..0000000 --- a/sources/wordpress/wp-admin/css/wp-admin-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -#wpwrap{height:auto;min-height:100%;width:100%;position:relative;-webkit-font-smoothing:subpixel-antialiased}#wpcontent{height:100%;padding-right:20px}#wpcontent,#wpfooter{margin-right:160px}.folded #wpcontent,.folded #wpfooter{margin-right:36px}#wpbody-content{padding-bottom:65px;float:right;width:100%;overflow:visible!important}.inner-sidebar{float:left;clear:left;display:none;width:281px;position:relative}.columns-2 .inner-sidebar{margin-left:auto;width:286px;display:block}.columns-2 .inner-sidebar #side-sortables,.inner-sidebar #side-sortables{min-height:300px;width:280px;padding:0}.has-right-sidebar .inner-sidebar{display:block}.has-right-sidebar #post-body{float:right;clear:right;width:100%;margin-left:-2000px}.has-right-sidebar #post-body-content{margin-left:300px;float:none;width:auto}#col-container,#col-left,#col-right{overflow:hidden;padding:0;margin:0}#col-left{width:35%}#col-right{float:left;clear:left;width:65%}.col-wrap{padding:0 7px}.alignleft{float:right}.alignright{float:left}.textleft{text-align:right}.textright{text-align:left}.clear{clear:both}.screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.screen-reader-shortcut{position:absolute;top:-1000em}.screen-reader-shortcut:focus{right:6px;top:-25px;height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#21759b;z-index:100000;line-height:normal;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,.6);box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:0}.hidden,.js .closed .inside,.js .hide-if-js,.js .wp-core-ui .hide-if-js,.js.wp-core-ui .hide-if-js,.no-js .hide-if-no-js,.no-js .wp-core-ui .hide-if-no-js,.no-js.wp-core-ui .hide-if-no-js{display:none}#menu-management .menu-edit,#menu-settings-column .accordion-container,.feature-filter,.imgedit-group,.manage-menus,.menu-item-handle,.popular-tags,.stuffbox,.widget-inside,.widget-top,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.feature-filter,.imgedit-group,.popular-tags,.stuffbox,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{background:#fff}body,html{height:100%;margin:0;padding:0}html{background:#f1f1f1}body{color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em;min-width:600px}body.iframe{min-width:0;padding-top:1px}body.modal-open{overflow:hidden}iframe,img{border:0}td{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}a{color:#0074a2;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}a,div{outline:0}a:active,a:hover{color:#2ea2cc}a:focus{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}#adminmenu a:focus,.screen-reader-text:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}p{font-size:13px;line-height:1.5;margin:1em 0}blockquote{margin:1em}dd,li{margin-bottom:6px}h1,h2,h3,h4,h5,h6{display:block;font-weight:600}h1{font-size:2em;margin:.67em 0}h2{color:#222;font-size:1.5em;margin:.83em 0;font-weight:400}h3{color:#222;font-size:1.3em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}ol,ul{padding:0}ul{list-style:none}ol{list-style-type:decimal;margin-right:2em}ul.ul-disc{list-style:disc}ul.ul-square{list-style:square}ol.ol-decimal{list-style:decimal}ol.ol-decimal,ul.ul-disc,ul.ul-square{margin-right:1.8em}ol.ol-decimal>li,ul.ul-disc>li,ul.ul-square>li{margin:0 0 .5em}.ltr{direction:ltr}.code,code{font-family:Consolas,Monaco,monospace;direction:ltr}code,kbd{padding:3px 5px 2px;margin:0 1px;background:#eaeaea;background:rgba(0,0,0,.07);font-size:13px}.subsubsub{list-style:none;margin:8px 0 0;padding:0;font-size:13px;float:right;color:#666}.subsubsub a{line-height:2;padding:.2em;text-decoration:none}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:400}.subsubsub a.current{font-weight:600;border:none}.subsubsub li{display:inline-block;margin:0;padding:0;white-space:nowrap}.widefat{border-spacing:0;width:100%;clear:both;margin:0}.widefat *{word-wrap:break-word}.widefat a{text-decoration:none}.widefat td,.widefat th{padding:8px 10px}.widefat thead th{border-bottom:1px solid #e1e1e1}.widefat tfoot th{border-top:1px solid #e1e1e1;border-bottom:none}.widefat .no-items td{border-bottom-width:0}.widefat td{vertical-align:top}.widefat td,.widefat td ol,.widefat td p,.widefat td ul{font-size:13px;line-height:1.5em}.widefat th{text-align:right;line-height:1.3em;font-size:14px}.widefat th input{margin:0 8px 0 0;padding:0;vertical-align:text-top}.widefat .check-column{width:2.2em;padding:6px 0 25px;vertical-align:top}.widefat th input[type=checkbox]{margin-top:-1px}.widefat.media .check-column{padding-top:8px}.widefat tbody th.check-column,.widefat tfoot th.check-column,.widefat thead th.check-column{padding:11px 3px 0 0}.widefat thead th.check-column{padding-top:10px}.update-php div.error,.update-php div.updated{margin-right:0}.no-js .widefat tfoot .check-column input,.no-js .widefat thead .check-column input{display:none}.column-comments,.column-links,.column-posts,.widefat .num{text-align:center}.widefat th#comments{vertical-align:middle}.wrap{margin:10px 2px 0 20px}div.error,div.updated{margin:5px 15px 2px}div.error p,div.updated p{margin:.5em 0;padding:2px}.media-upload-form div.error,.wrap div.error,.wrap div.updated{margin:5px 0 15px}div.updated{border-right:4px solid #7ad03a;padding:1px 12px;background-color:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}div.error{border-right:4px solid #dd3d36;background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:1px 12px}.attention{color:#2ea2cc}.subtitle,.wrap h2{font-weight:400;margin:0}.wrap h2{font-size:23px;font-weight:400;padding:9px 0 4px 15px;line-height:29px}.subtitle{color:#777;font-size:14px;padding-right:25px}.wrap .add-new-h2,.wrap .add-new-h2:active{margin-right:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:none;-webkit-border-radius:2px;border-radius:2px;background:#e0e0e0;text-shadow:none;font-weight:600;font-size:13px}.wrap .add-new-h2:hover{background:#2ea2cc;color:#fff}.wrap h2.long-header{padding-left:0}.wp-dialog{background-color:#fff}.sorthelper{background-color:#ccf3fa}.ac_match,.subsubsub a.current{color:#000}.alt,.alternate{background-color:#f9f9f9}.bar{background-color:#e8e8e8;border-left-color:#99d}.media-upload-form label.form-help,td.help{color:#9a9a9a}.highlight{background-color:#e4f2fd;color:#000}.wp-ui-primary{color:#fff;background-color:#333}.wp-ui-text-primary{color:#333}.wp-ui-highlight{color:#fff;background-color:#1e8cbe}.wp-ui-text-highlight{color:#1e8cbe}.wp-ui-notification{color:#fff;background-color:#d54e21}.wp-ui-text-notification{color:#d54e21}.wp-ui-text-icon{color:#999}#nav-menu-footer,#nav-menu-header,#your-profile #rich_editing,.checkbox,.control-section .accordion-section-title,.menu-item-handle,.postbox .hndle,.side-info,.sidebar-name,.stuffbox .hndle,.widefat tfoot th,.widefat thead th,.widget .widget-top{line-height:1.4em}.menu-item-handle,.widget .widget-top{background:#fafafa;color:#222}.postbox .hndle,.stuffbox .hndle{border-bottom:1px solid #eee}.quicktags,.search{background-color:#ccc;color:#000;font-size:12px}.icon32{display:none}#bulk-titles div a:before,#welcome-panel.welcome-panel .welcome-panel-close:before,.tagchecklist span a:before{background:0 0;color:#bbb;content:'\f153';display:block!important;font:400 16px/1 dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased!important}#welcome-panel.welcome-panel .welcome-panel-close:before{margin:0}#bulk-titles div a:before,.tagchecklist span a:before{margin:2px 0}#bulk-titles div a:hover:before,#welcome-panel.welcome-panel .welcome-panel-close:hover:before,.tagchecklist span a:hover:before{color:#c00}.key-labels label{line-height:24px}b,strong{font-weight:600}.pre{white-space:pre-wrap;word-wrap:break-word}.howto{color:#666;font-style:italic;display:block}p.install-help{margin:8px 0;font-style:italic}.no-break{white-space:nowrap}hr{border:0;border-top:1px solid #ddd;border-bottom:1px solid #fafafa}#all-plugins-table .plugins a.delete,#media-items a.delete,#media-items a.delete-permanently,#nav-menu-footer .menu-delete,#search-plugins-table .plugins a.delete,.plugins a.delete,.row-actions span.delete a,.row-actions span.spam a,.row-actions span.trash a,.submitbox .submitdelete{color:#a00}#all-plugins-table .plugins a.delete:hover,#media-items a.delete-permanently:hover,#media-items a.delete:hover,#nav-menu-footer .menu-delete:hover,#search-plugins-table .plugins a.delete:hover,.file-error,.plugins a.delete:hover,.row-actions .delete a:hover,.row-actions .spam a:hover,.row-actions .trash a:hover,.submitbox .submitdelete:hover,.widget-control-remove:hover,abbr.required{color:red;text-decoration:none;border:none}#major-publishing-actions{padding:10px;clear:both;border-top:1px solid #ddd;background:#f5f5f5}#delete-action{line-height:28px;vertical-align:middle;text-align:right;float:right}#publishing-action{text-align:left;float:left;line-height:23px}#publishing-action .spinner{float:right}#misc-publishing-actions{padding:6px 0 0}.misc-pub-section{padding:6px 10px 8px}#minor-publishing-actions{padding:10px 10px 0;text-align:left}#save-post{float:right}.preview{float:left}#sticky-span{margin-right:18px}.side-info{margin:0;padding:4px;font-size:11px}.side-info h5{padding-bottom:7px;font-size:14px;margin:12px 2px 5px;border-bottom:1px solid #dadada}.side-info ul{margin:0;padding-right:18px;list-style:square;color:#666}.approve,.unapproved .unapprove{display:none}.spam .approve,.trash .approve,.unapproved .approve{display:inline}td.action-links,th.action-links{text-align:left}.wp-filter{display:inline-block;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:12px 0 25px;padding:0 20px;width:100%;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;background:#fff;color:#555;font-size:13px}.wp-filter a{text-decoration:none}.filter-count{display:inline-block;vertical-align:middle;min-width:4em}.filter-count .count,.title-count{display:inline-block;position:relative;top:-1px;padding:4px 10px;-webkit-border-radius:30px;border-radius:30px;background:#777;color:#fff;font-size:14px;font-weight:600}.title-count{display:inline;top:-3px;margin-right:5px;margin-left:20px}.filter-links,.filter-links li{display:inline-block;margin:0}.filter-links li>a{display:inline-block;margin:0 10px;padding:15px 0;border-bottom:4px solid #fff;color:#666;cursor:pointer}.filter-links .current{-webkit-box-shadow:none;box-shadow:none;border-bottom:4px solid #666;color:#222}.filter-links li>a:focus,.filter-links li>a:hover,.show-filters .filter-links a.current:focus,.show-filters .filter-links a.current:hover{color:#2ea2cc}.wp-filter .search-form{float:left;margin-top:9px}.wp-filter .search-form input[type=search]{margin:0;padding:3px 5px;width:280px;font-size:16px;font-weight:300;line-height:1.5}.wp-filter .search-form select{height:33px;vertical-align:top}.wp-filter .drawer-toggle{display:inline-block;margin:0 10px;padding:4px 6px;color:#666;cursor:pointer}.wp-filter .drawer-toggle:before{display:inline-block;vertical-align:top;content:"\f111";margin:0 0 0 5px;width:16px;height:16px;color:#777;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;font-family:dashicons;font-size:16px;line-height:1;text-align:center;text-decoration:inherit;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased}.wp-filter .drawer-toggle:hover,.wp-filter .drawer-toggle:hover:before{color:#2ea2cc}.wp-filter .drawer-toggle.current:before{color:#fff}.filter-drawer{display:none;margin:0 -20px;padding:20px;border-top:1px solid #eee;background:#fafafa}.show-filters .filter-drawer{display:block;overflow:hidden}.show-filters .wp-filter .drawer-toggle:focus,.show-filters .wp-filter .drawer-toggle:hover{background:#2ea2cc}.show-filters .filter-links a.current{border-bottom:none}.show-filters .wp-filter .drawer-toggle{-webkit-border-radius:2px;border-radius:2px;border:none;background:#777;color:#fff}.show-filters .wp-filter .drawer-toggle:before{color:#fff}.filter-group{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:right;margin:0 0 0 1%;padding:10px;width:19%;background:#fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group.wide{width:38%}.filter-group h4{position:relative;margin:0}.filter-drawer ol{margin:20px 0 0;list-style-type:none;font-size:12px}.filter-drawer li{display:inline-block;vertical-align:top;margin:5px 0;padding-left:25px;width:160px;list-style-type:none}.filter-drawer .buttons{margin-bottom:20px}.filter-drawer .buttons .button span{display:inline-block;opacity:.8;font-size:12px;text-indent:10px}.wp-filter .button.clear-filters{display:none;margin:0 10px 20px 0}.filtered-by{display:none;margin:0}.filtered-by>span{font-weight:600}.filtered-by a{margin-right:10px}.filtered-by .tags{display:inline}.filtered-by .tag{margin:0 5px;padding:4px 8px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:11px}.filters-applied .filter-drawer .buttons,.filters-applied .filter-drawer br,.filters-applied .filter-group{display:none!important}.filters-applied .filtered-by{display:block}.filters-applied .filter-drawer{padding:20px}.error .content-filterable,.loading-content .content-filterable,.show-filters .content-filterable,.show-filters.filters-applied.loading-content .content-filterable{display:none}.show-filters.filters-applied .content-filterable{display:block}.loading-content .spinner{display:block;margin:40px auto 0;float:none}@media only screen and (max-width:1120px){.wp-filter .search-form{float:none;margin:20px 0}.filter-drawer{border-bottom:1px solid #eee}.filter-group{margin-bottom:0;margin-top:5px;width:100%}.filter-group li{margin:10px 0}}@media only screen and (max-width:782px){.filter-group,.filter-group li{width:100%}}#update-nag,.update-nag{display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:right;margin:25px 2px 0 20px;background-color:#fff;border-right:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.update-message{color:#000}.update-php .spinner{float:none;margin:-4px 0}#ajax-loading,.ajax-feedback,.ajax-loading,.imgedit-wait-spin,.list-ajax-loading{visibility:hidden}#ajax-response.alignleft{margin-right:2em}#adminmenu a,#catlist a,#sidemenu a,#taglist a{text-decoration:none}#contextual-help-wrap,#screen-options-wrap{margin:0;padding:8px 20px 12px;position:relative}#contextual-help-wrap{overflow:auto;margin-right:0!important}#screen-meta .screen-reader-text{visibility:hidden}#screen-meta-links{margin:0 0 0 20px}#screen-meta-links a{padding:3px 16px 3px 6px}#screen-meta-links a:focus{outline:0}#screen-meta{display:none;margin:0 0 -1px 20px;position:relative;background-color:#fff;border:1px solid #ddd;border-top:none;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.025);box-shadow:0 1px 0 rgba(0,0,0,.025)}#contextual-help-link-wrap,#screen-options-link-wrap{float:left;height:28px;margin:0 6px 0 0;border:1px solid #ddd;border-top:none;background:#fff;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}#screen-meta-links .screen-meta-toggle{position:relative;top:0}#screen-meta-links a{color:#777}#screen-meta-links a:active,#screen-meta-links a:focus,#screen-meta-links a:hover{color:#333}#screen-meta-links a.show-settings{display:block;font-size:13px;height:22px;line-height:22px;text-decoration:none;z-index:1}#screen-meta-links a:after{left:0;content:'\f140';font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 5px;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#bbb}#screen-meta-links a.screen-meta-active:after{content:'\f142'}#screen-meta-links a.show-settings:hover{text-decoration:none}.toggle-arrow{background-repeat:no-repeat;background-position:top right;background-color:transparent;height:22px;line-height:22px;display:block}.toggle-arrow-active{background-position:bottom right}#contextual-help-wrap h5,#screen-options-wrap h5{margin:8px 0;font-size:13px}.metabox-prefs label{display:inline-block;padding-left:15px;line-height:30px}.metabox-prefs label input[type=checkbox]{margin-top:-4px;margin-left:6px}.metabox-prefs label input{margin:0 2px 0 5px}.metabox-prefs .columns-prefs label input{margin:0 2px}.metabox-prefs label a{display:none}#contextual-help-wrap{padding:0}#contextual-help-columns{position:relative}#contextual-help-back{position:absolute;top:0;bottom:0;right:150px;left:170px;border:1px solid #e1e1e1;border-top:none;border-bottom:none;background:#f6fbfd}#contextual-help-wrap.no-sidebar #contextual-help-back{left:0;border-left-width:0;-webkit-border-bottom-left-radius:2px;border-bottom-left-radius:2px}.contextual-help-tabs{float:right;width:150px;margin:0}.contextual-help-tabs ul{margin:1em 0}.contextual-help-tabs li{margin-bottom:0;list-style-type:none;border-style:solid;border-width:0 2px 0 0;border-color:transparent}.contextual-help-tabs a{display:block;padding:5px 12px 5px 5px;line-height:18px;text-decoration:none;border:1px solid transparent;border-left:none;border-right:none}.contextual-help-tabs a:hover{color:#333}.contextual-help-tabs .active{padding:0;margin:0 0 0 -1px;border-right:2px solid #2ea2cc;background:#f6fbfd;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02);box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02)}.contextual-help-tabs .active a{border-color:#e1e1e1;color:#333}.contextual-help-tabs-wrap{padding:0 20px;overflow:auto}.help-tab-content{display:none;margin:0 0 12px 22px;line-height:1.6em}.help-tab-content.active{display:block}.help-tab-content ul li{list-style-type:disc;margin-right:18px}.contextual-help-sidebar{width:150px;float:left;padding:0 12px 0 8px;overflow:auto}html.wp-toolbar{padding-top:32px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.narrow{width:70%;margin-bottom:40px}.narrow p{line-height:150%}.widefat td,.widefat th{overflow:hidden;color:#555}.widefat th{font-weight:400}.widefat tfoot tr th,.widefat thead tr th{color:#333}.widefat td p{margin:2px 0 .8em}.widefat ol,.widefat p,.widefat ul{color:#333}.widefat .column-comment p{margin:.6em 0}.postbox-container{float:right}.postbox-container .meta-box-sortables{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpbody-content .metabox-holder{padding-top:10px}.metabox-holder .postbox-container .empty-container{border:3px dashed #bbb;height:250px}.columns-2 #postbox-container-3 .empty-container,.columns-2 #postbox-container-4 .empty-container,.columns-3 #postbox-container-4 .empty-container,.metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#post-body-content{width:100%;min-width:463px;float:right}#post-body.columns-2 #postbox-container-1{float:left;margin-left:-300px;width:280px}#post-body.columns-2 #side-sortables{min-height:250px}@media only screen and (max-width:799px){#wpbody-content .metabox-holder .postbox-container .empty-container{border:0;height:0;min-height:0}}.js .postbox .hndle,.js .widget .widget-top{cursor:move}.hndle a{font-size:11px;font-weight:400}.postbox .handlediv{float:left;width:27px;height:30px}.js .postbox .handlediv{cursor:pointer}.sortable-placeholder{border:1px dashed #bbb;margin-bottom:20px}.postbox,.stuffbox{margin-bottom:20px;padding:0;line-height:1}.postbox .hndle,.stuffbox .hndle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.postbox .inside,.stuffbox .inside{padding:0 12px 12px;line-height:1.4em;font-size:13px}.postbox .inside{margin:11px 0;position:relative}.postbox .inside>p:last-child,.rss-widget ul li:last-child{margin-bottom:1px!important}.postbox.closed h3{border:none;-webkit-box-shadow:none;box-shadow:none}.postbox table.form-table{margin-bottom:0}.postbox table.widefat{-webkit-box-shadow:none;box-shadow:none}.temp-border{border:1px dotted #ccc}.columns-prefs label{padding:0 5px}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover,#dashboard_right_now .versions .b,#ed_reply_toolbar #ed_reply_strong,#pass-strength-result.short,#pass-strength-result.strong,#post-status-display,#post-visibility-display,.feature-filter .feature-name,.item-controls .item-order a,.media-item .percent,.plugins .name{font-weight:600}#wpfooter{position:absolute;bottom:0;right:0;left:0;padding:10px 20px;color:#777}#wpfooter p{font-size:13px;margin:0;line-height:20px}#footer-thankyou{font-style:italic}#wpfooter a{text-decoration:none}#wpfooter a:hover{text-decoration:underline}.nav-tab{border:1px solid #ccc;border-bottom:none;background:#e4e4e4;color:#555;font-size:12px;line-height:16px;display:inline-block;padding:4px 14px 6px;text-decoration:none;margin:-4px 0 -1px 4px}.nav-tab:hover{background-color:#fff;color:#464646}.nav-tab-active,.nav-tab-active:hover{border-bottom:1px solid #f1f1f1;background:#f1f1f1;color:#000}h2.nav-tab-wrapper,h3.nav-tab-wrapper{border-bottom:1px solid #ccc;padding-bottom:0;padding-right:10px}h2 .nav-tab{padding:6px 10px;font-weight:700;font-size:15px;line-height:24px}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;display:none;float:left;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:2px 5px 0}#template div{margin-left:190px}.metabox-holder h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#templateside ul li a{text-decoration:none}#sidemenu{margin:-30px 315px 0 15px;list-style:none;position:relative;float:left;padding-right:10px;font-size:12px}#sidemenu a{padding:0 7px;display:block;float:right;line-height:28px;border-top:1px solid #f9f9f9;border-bottom:1px solid #dfdfdf;background-color:#f9f9f9;-webkit-transition:none;transition:none}#sidemenu li{display:inline;line-height:200%;list-style:none;text-align:center;white-space:nowrap;margin:0;padding:0}#sidemenu a.current{font-weight:400;padding-right:6px;padding-left:6px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;border:1px solid #dfdfdf;border-bottom-color:#f1f1f1;background-color:#f1f1f1;color:#000}.plugin-install #description,.plugin-install-network #description{width:60%}table .column-rating,table .column-visible,table .vers{text-align:right}.error-message{color:red;font-weight:600}body.iframe{height:98%}.lp-show-latest p{display:none}.lp-show-latest .lp-error p,.lp-show-latest p:last-child{display:block}td.media-icon{text-align:center;width:80px;padding-top:8px;padding-bottom:8px}td.media-icon img{max-width:80px;max-height:60px}td.image-icon img{border:1px solid rgba(0,0,0,.07)}#howto{font-size:11px;margin:0 5px;display:block}.importers td{padding-left:14px}.importers{font-size:16px;width:auto}#post-body #post-body-content #namediv h3{margin-top:0}#namediv h3 label{vertical-align:baseline}#namediv table{width:100%}#namediv td.first{width:10px;white-space:nowrap}#namediv input{width:98%}#namediv p{margin:10px 0}#submitdiv h3{margin-bottom:0!important}.zerosize{height:0;width:0;margin:0;border:0;padding:0;overflow:hidden;position:absolute}br.clear{height:2px;line-height:2px}.checkbox{border:none;margin:0;padding:0}fieldset{border:0;padding:0;margin:0}.post-categories{display:inline;margin:0;padding:0}.post-categories li{display:inline}div.star-holder{position:relative;height:17px;width:100px;background:url(../images/stars.png?ver=20121108) repeat-x bottom right}div.star-holder .star-rating{background:url(../images/stars.png?ver=20121108) repeat-x top right;height:17px;float:right}.star-rating{white-space:nowrap}.star-rating .star{display:inline-block;width:20px;height:20px;-webkit-font-smoothing:antialiased;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;text-align:center;color:#0074a2}.star-rating .star-full:before{content:'\f155'}.star-rating .star-half:before{content:'\f459'}.rtl .star-rating .star-half{-webkit-transform:rotateY(180deg);-ms-transform:rotateY(180deg);transform:rotateY(180deg)}.star-rating .star-empty:before{content:'\f154'}div.action-links{font-weight:400}#plugin-information{background:#fff;position:fixed;top:0;left:0;bottom:0;right:0;height:100%;padding:0}#plugin-information-scrollable{overflow:auto;height:100%}#plugin-information-title{padding:0 20px;background:#f5f5f5;font-size:22px;font-weight:600;line-height:56px;position:relative;top:0;left:0;right:0;height:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#plugin-information-title.with-banner{margin-left:0;height:250px;bottom:250px;-webkit-background-size:100% auto;background-size:100% auto}#plugin-information-title h2{font-size:1em;font-weight:700;padding:0;margin:0;max-width:680px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#plugin-information-title.with-banner h2{font-family:"Helvetica Neue",sans-serif;display:inline-block;font-size:30px;line-height:50px;padding:0 15px;margin:174px 10px 0 0;color:#fff;background:rgba(30,30,30,.9);text-shadow:0 1px 3px rgba(0,0,0,.4);-webkit-box-shadow:0 0 30px rgba(255,255,255,.1);box-shadow:0 0 30px rgba(255,255,255,.1);-webkit-border-radius:8px;border-radius:8px}#plugin-information-title div.vignette{display:none}#plugin-information-title.with-banner div.vignette{display:block;float:left;top:0;height:250px;width:830px;margin:0 -20px;background:0 0;-webkit-box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1)}#plugin-information-tabs{padding:0 16px;position:relative;left:0;right:0;height:36px;z-index:1;border-bottom:1px solid #ddd;background:#f3f3f3}#plugin-information-tabs a{position:relative;float:right;padding:9px 10px;margin:0;height:18px;line-height:18px;font-size:14px;text-decoration:none;-webkit-transition:none;transition:none}#plugin-information-tabs a.current{margin:0 -1px;background:#fff;border:1px solid #ddd;border-bottom-color:#fff;padding-top:8px;color:#333}#plugin-information-tabs.with-banner a.current{border-top:none;padding-top:9px}#plugin-information-tabs a:active,#plugin-information-tabs a:focus{outline:0}#plugin-information-content{overflow:hidden;background:#fff;position:relative;top:0;left:0;right:0;min-height:100%;min-height:-webkit-calc(100% - 152px);min-height:calc(100% - 152px)}#plugin-information-content.with-banner{min-height:-webkit-calc(100% - 346px);min-height:calc(100% - 346px)}#section-holder{position:relative;top:0;left:250px;bottom:0;right:0;margin-left:250px;padding:10px 26px 99999px;margin-bottom:-99930px}#section-holder .updated{margin:16px 0}#plugin-information .fyi{display:block;float:left;position:relative;top:0;left:0;padding:16px 16px 99999px;margin-bottom:-99930px;width:217px;border-right:1px solid #ddd;background:#f3f3f3;color:#666}#plugin-information .fyi strong{color:#464646}#plugin-information .fyi h3{font-weight:700;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-left:0}#plugin-information .fyi ul{padding:0;margin:0;list-style:none}#plugin-information .fyi li{margin:0 0 10px}#plugin-information .counter-container{margin:3px 0}#plugin-information .counter-label{float:right;margin-left:5px;min-width:55px}#plugin-information .counter-back{height:17px;width:92px;background-color:#ececec;float:right}#plugin-information .counter-bar{height:17px;background-color:#fddb5a;float:right}#plugin-information .counter-count{margin-right:5px}#plugin-information .fyi ul.contributors{margin-top:10px}#plugin-information .fyi ul.contributors li{display:inline-block;margin-left:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li img{vertical-align:middle;margin-left:4px}#plugin-information-footer{padding:15px 16px;position:absolute;left:0;bottom:0;right:0;height:28px;border-top:1px solid #ddd;background:#f3f3f3}#plugin-information .section{direction:ltr}#plugin-information .section ol,#plugin-information .section ul{list-style-type:disc;margin-left:24px}#plugin-information .section,#plugin-information .section p{font-size:14px;line-height:1.7}#plugin-information #section-screenshots ol{list-style:none;margin:0}#plugin-information #section-screenshots li img{vertical-align:text-top;margin-top:16px;max-width:100%;width:auto;height:auto;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px}#plugin-information pre{padding:7px;overflow:auto;border:1px solid #ccc}#plugin-information .review{overflow:hidden;width:100%;margin-bottom:20px;border-bottom:1px solid #e6e6e6}#plugin-information .review-title-section{overflow:hidden}#plugin-information .review-title-section h4{display:inline-block;float:left;margin:0 6px 0 0}#plugin-information .reviewer-info p{clear:both;margin:0;padding-top:2px}#plugin-information .reviewer-info .avatar{float:left;margin:4px 6px 0 0}#plugin-information .reviewer-info .star-rating{float:left}#plugin-information .review-meta{float:left;margin-left:.75em}#plugin-information .review-body{float:left;width:100%}.plugin-version-author-uri{font-size:13px}@media screen and (max-width:771px){#plugin-information-title.with-banner{height:100px;bottom:100px}#plugin-information-title.with-banner h2{margin-top:30px;font-size:20px;line-height:40px;max-width:85%}#plugin-information-title.with-banner div.vignette{height:100px;bottom:100px;width:800%}#plugin-information-tabs{overflow:hidden;padding:0;height:auto}#plugin-information-tabs a.current{margin-bottom:0;border-bottom:none}#plugin-information .fyi{float:none;border:1px solid #ddd;position:static;width:auto;margin:26px 26px 0;padding-bottom:0}#section-holder{position:static;margin:0;padding-bottom:70px}#plugin-information .fyi h3,#plugin-information .fyi small{display:none}#plugin-information-footer{padding:12px 16px 0;height:46px}}body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:#fcfcfc url(../images/spinner.gif) no-repeat center}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:#fcfcfc url(../images/spinner-2x.gif) no-repeat center;-webkit-background-size:20px 20px;background-size:20px 20px}}body.import-php #TB_title,body.index-php #TB_title,body.plugin-install-php #TB_title,body.plugins-php #TB_title,body.update-core-php #TB_title{float:right;height:1px}body.import-php #TB_ajaxWindowTitle,body.index-php #TB_ajaxWindowTitle,body.plugin-install-php #TB_ajaxWindowTitle,body.plugins-php #TB_ajaxWindowTitle,body.update-core-php #TB_ajaxWindowTitle{display:none}body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{right:auto;left:-30px;color:#eee;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}body.import-php #TB_closeWindowButton:focus,body.import-php #TB_closeWindowButton:focus .tb-close-icon,body.import-php .tb-close-icon:focus,body.import-php .tb-close-icon:hover,body.index-php #TB_closeWindowButton:focus,body.index-php #TB_closeWindowButton:focus .tb-close-icon,body.index-php .tb-close-icon:focus,body.index-php .tb-close-icon:hover,body.plugin-install-php #TB_closeWindowButton:focus,body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon,body.plugin-install-php .tb-close-icon:focus,body.plugin-install-php .tb-close-icon:hover,body.plugins-php #TB_closeWindowButton:focus,body.plugins-php #TB_closeWindowButton:focus .tb-close-icon,body.plugins-php .tb-close-icon:focus,body.plugins-php .tb-close-icon:hover,body.update-core-php #TB_closeWindowButton:focus,body.update-core-php #TB_closeWindowButton:focus .tb-close-icon,body.update-core-php .tb-close-icon:focus,body.update-core-php .tb-close-icon:hover{color:#2ea2cc;outline:0;-webkit-box-shadow:none;box-shadow:none}body.import-php .tb-close-icon:before,body.index-php .tb-close-icon:before,body.plugin-install-php .tb-close-icon:before,body.plugins-php .tb-close-icon:before,body.update-core-php .tb-close-icon:before{content:"\f335";font-size:32px}@media screen and (max-width:830px){body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{left:0;top:-30px}}img{border:none}#wphead{border-bottom:1px solid #dfdfdf}#wphead h1 a{color:#464646}.js .meta-box-sortables .postbox:hover .handlediv{margin-left:0!important}.js .meta-box-sortables .postbox .handlediv:before,.js .sidebar-name .sidebar-name-arrow:before{left:12px;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js #widgets-left .sidebar-name .sidebar-name-arrow{display:none}.js #widgets-left .sidebar-name:hover .sidebar-name-arrow,.js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow{display:block}.js .meta-box-sortables .postbox .handlediv:before,.js .sidebar-name .sidebar-name-arrow:before{content:'\f142'}.js .meta-box-sortables .postbox.closed .handlediv:before,.js .widgets-holder-wrap.closed .sidebar-name-arrow:before{content:'\f140'}.error a{text-decoration:underline}.updated a{text-decoration:none;padding-bottom:2px}#photo-add-url-div input[type=text]{width:300px}.alignleft h3{margin:0}#template textarea{font-family:Consolas,Monaco,monospace;font-size:13px;width:97%;background:#f9f9f9;outline:0}#docs-list,#template textarea{direction:ltr}#template p{width:97%}#templateside{float:left;width:190px;word-wrap:break-word}#postcustomstuff p.submit,#templateside h3{margin:0}#templateside h4{margin:1em 0 0}#templateside ol,#templateside ul{margin:.5em 0;padding:0}#templateside li{margin:4px 0}#templateside a,.theme-editor-php .highlight{display:block;padding:3px 12px 3px 3px;text-decoration:none}.theme-editor-php .highlight{margin:-3px -12px -3px 3px}#templateside .highlight{border:none;font-weight:700}.nonessential{color:#666;font-size:11px;font-style:italic;padding-right:12px}#documentation{margin-top:10px}#documentation label{line-height:22px;vertical-align:baseline;font-weight:600}.fileedit-sub{padding:10px 0 8px;line-height:180%}.accordion-section-title:after,.control-section .accordion-section-title:after,.nav-menus-php .item-edit:before,.widget-top a.widget-action:after{left:0;content:'\f140';border:none;background:0 0;font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.accordion-section-title:after,.handlediv,.item-edit,.sidebar-name-arrow,.widget-action{color:#aaa}.accordion-section-title:hover:after,.handlediv:hover,.item-edit:hover,.sidebar-name:hover .sidebar-name-arrow,.widget-action:hover{color:#777}.widget-top a.widget-action:after{padding:12px 12px 0}.nav-menus-php .item-edit:before{line-height:2.1}.accordion-section-title:after,.control-section .accordion-section-title:after{float:left;left:20px;top:-2px}#customize-info.open .accordion-section-title:after,.control-section.open .accordion-section-title:after,.nav-menus-php .menu-item-edit-active .item-edit:before,.widget.open .widget-top a.widget-action:after{content:'\f142'}.ui-draggable,.ui-sortable{-ms-touch-action:none;touch-action:none}.menu.ui-sortable,.meta-box-sortables.ui-sortable,.widgets-holder-wrap .ui-draggable,.widgets-holder-wrap .ui-sortable{-ms-touch-action:auto;touch-action:auto}.menu.ui-sortable .menu-item-handle,.meta-box-sortables.ui-sortable .hndle{-ms-touch-action:none;touch-action:none}.accordion-section{border-bottom:1px solid #dfdfdf;margin:0}.accordion-section.open .accordion-section-content,.no-js .accordion-section .accordion-section-content{display:block}.accordion-section.open:hover{border-bottom-color:#dfdfdf}.accordion-section-content{display:none;padding:10px 20px 15px;overflow:hidden;background:#fff}.accordion-section-title{margin:0;padding:12px 15px 15px;position:relative;border-right:1px solid #dfdfdf;border-left:1px solid #dfdfdf;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.js .accordion-section-title{cursor:pointer}.js .accordion-section-title:after{position:absolute;top:12px;left:10px;z-index:1}.accordion-section-title:focus{outline:0}.accordion-section-title:focus:after,.accordion-section-title:hover:after{border-color:#aaa transparent}.cannot-expand .accordion-section-title{cursor:auto}.cannot-expand .accordion-section-title:after{display:none}.control-section .accordion-section-title{border-right:none;border-left:none;padding:10px 14px 11px 10px;line-height:21px;background:#fff}.control-section .accordion-section-title:after{top:11px}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{color:#222;background:#f5f5f5}.control-section.open .accordion-section-title{border-bottom:1px solid #dfdfdf}@media only screen and (min-width:769px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:860px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (min-width:980px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:768px){#col-left,#col-right{width:100%}}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){div.star-holder,div.star-holder .star-rating{background:url(../images/stars-2x.png?ver=20121108) repeat-x bottom right;-webkit-background-size:21px 37px;background-size:21px 37px}.spinner{background-image:url(../images/spinner-2x.gif)}#bulk-titles div a,#bulk-titles div a:hover,#screen-meta-links a.show-settings,.curtime #timestamp,.meta-box-sortables .postbox:hover .handlediv,.sidebar-name-arrow,.sidebar-name:hover .sidebar-name-arrow,.tagchecklist span a,.tagchecklist span a:hover,.widget-top a.widget-action,.widget-top a.widget-action:hover{background:none!important}}@-ms-viewport{width:device-width}@media screen and (max-width:782px){html.wp-toolbar{padding-top:46px}body{min-width:240px;overflow-x:hidden}body *{-webkit-tap-highlight-color:transparent!important}#wpcontent{position:relative;margin-right:0;padding-right:10px}#wpbody-content{padding-bottom:100px}.wrap{margin-left:12px;margin-right:0}.col-wrap{padding:0}#collapse-menu,#screen-meta,#screen-meta-links,.post-format-select{display:none!important}.wrap .add-new-h2,.wrap .add-new-h2:active{padding:10px 15px;font-size:14px}.wp-color-result{height:auto;padding-right:45px}.wp-color-result:after{font-size:14px;height:auto;padding:6px 14px}.media-upload-form div.error,.wrap div.error,.wrap div.updated{margin:20px 0 10px;padding:5px 10px;font-size:14px;line-height:175%}.wrap .icon32+h2{margin-top:-2px}.wp-responsive-open #wpbody{left:-190px}code{word-wrap:break-word}.postbox{font-size:14px}.metabox-holder h3{padding:12px}.postbox .handlediv{margin-top:3px}.subsubsub{font-size:16px;text-align:center;margin-bottom:15px}#templateside{float:none;width:auto}#templateside li{margin:0}#templateside li a{display:block;padding:5px}#templateside .highlight{padding:5px;margin-right:-5px;margin-top:-5px}#template div{float:none;margin:0;width:auto}#template textarea{width:100%}.fileedit-sub .alignright{margin-top:15px}#comments-form .checkforspam,#wpfooter{display:none}}@media screen and (max-width:600px){#wpwrap.wp-responsive-open{overflow-x:hidden}html.wp-toolbar{padding-top:0}#wpbody{padding-top:46px}div#post-body.metabox-holder.columns-1{overflow-x:hidden}}input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=radio],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;outline:0;-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=email],input[type=url]{direction:ltr}input[type=checkbox],input[type=radio]{border:1px solid #bbb;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#888}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#2ea2cc}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-left:4px;line-height:10px}input[type=checkbox]:checked:before,input[type=radio]:checked:before{float:right;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:'\f147';margin:-3px -4px 0 0;color:#1e8cbe}input[type=radio]:checked:before{content:'\2022';text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{overflow:auto;padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid{background-color:#ffebe8!important}.form-invalid input,.form-invalid select{border-color:#c00!important}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px;vertical-align:middle}.wp-admin .button-cancel{padding:0 5px;line-height:2}.meta-box-sortables select{max-width:100%}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:right;max-width:100%;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:left}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}#adduser .form-field input,input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}#doaction,#doaction2,#post-query-submit{margin:1px 0 0 8px}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:right;margin-left:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-right:1em}#upload-form label{color:#777}#your-profile label+a,fieldset label,label{vertical-align:middle}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:'\f173';display:inline-block;font:400 20px/1 dashicons;speak:none;right:-1px;padding:0 0 0 5px;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass-strength-result{background-color:#eee;border:1px solid #ddd;float:right;margin:13px 1px 5px 5px;padding:3px 5px;text-align:center;width:200px;display:none}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c}.indicator-hint{padding-top:8px}p.search-box{float:left;margin:0}.network-admin.themes-php p.search-box{clear:right}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:right;height:28px;margin:0 0 0 4px}input[type=text].ui-autocomplete-loading{background:url(../images/loading.gif) no-repeat left center;visibility:visible}ul#add-to-blog-users{margin:0 14px 0 0}.ui-autocomplete-input.open{-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border:1px solid #aaa;background-color:#efefef}.ui-autocomplete li{margin-bottom:0;white-space:nowrap;text-align:right}.ui-autocomplete li a{display:block;height:100%;padding:4px 10px;color:#444}.ui-autocomplete li a.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#222;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:right;padding:20px 0 20px 10px;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-left:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-left:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:3px}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.color-option{cursor:pointer}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.pressthis{margin:20px 0}.pressthis a,.pressthis a:active,.pressthis a:focus,.pressthis a:hover{display:inline-block;position:relative;cursor:move;color:#333;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis a:active{outline:0}.pressthis a:hover:after{-webkit-transform:skew(20deg) rotate(9deg);-ms-transform:skew(20deg) rotate(9deg);transform:skew(20deg) rotate(9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis a span{display:inline-block;margin:0;padding:0 9px 8px 12px}.pressthis a span:before{color:#777;font:400 20px/1 dashicons;content:'\f157';position:relative;display:inline-block;top:4px;margin-left:4px}.pressthis a:after{content:'';width:70%;height:55%;z-index:-1;position:absolute;left:10px;bottom:9px;background:0 0;-webkit-transform:skew(20deg) rotate(6deg);-ms-transform:skew(20deg) rotate(6deg);transform:skew(20deg) rotate(6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}#local-time,#utc-time{padding-right:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php .spinner{float:none;margin:-3px 3px}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=number],input[type=password],input[type=search],input[type=text]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat th input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat th input[type=checkbox]{margin-bottom:8px}.widefat th input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 Dashicons;margin:-3px -5px}input[type=checkbox],input[type=radio]{height:25px;width:25px}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-left:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=password],.form-table td input[type=text],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=number].small-text,input[type=password].small-text,input[type=search].small-text,input[type=text].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{padding:4px 0 0;line-height:1.4em}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{padding-top:8px;padding-right:0}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}}@media only screen and (max-width:768px){.form-field input,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}@media screen and (max-width:600px){.color-option{width:49%}}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:160px;background-color:#222}#adminmenuback{position:absolute;top:0;bottom:0;z-index:-1}#adminmenu{clear:right;margin:12px 0 0;padding:0;list-style:none}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:36px}.icon16{height:18px;width:18px;padding:6px;margin:-6px -8px 0 0;float:right}.icon16:before{color:#999;font:400 20px/1 dashicons;speak:none;padding:6px 0;height:34px;width:20px;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.icon16.icon-dashboard:before{content:'\f226'}.icon16.icon-post:before{content:'\f109'}.icon16.icon-media:before{content:'\f104'}.icon16.icon-links:before{content:'\f103'}.icon16.icon-page:before{content:'\f105'}.icon16.icon-comments:before{content:'\f101';margin-top:1px}.icon16.icon-appearance:before{content:'\f100'}.icon16.icon-plugins:before{content:'\f106'}.icon16.icon-users:before{content:'\f110'}.icon16.icon-tools:before{content:'\f107'}.icon16.icon-settings:before{content:'\f108'}.icon16.icon-site:before{content:'\f112'}.icon16.icon-generic:before{content:'\f111'}.icon16.icon-appearance,.icon16.icon-comments,.icon16.icon-dashboard,.icon16.icon-generic,.icon16.icon-links,.icon16.icon-media,.icon16.icon-page,.icon16.icon-plugins,.icon16.icon-post,.icon16.icon-settings,.icon16.icon-site,.icon16.icon-tools,.icon16.icon-users,.menu-icon-appearance div.wp-menu-image,.menu-icon-comments div.wp-menu-image,.menu-icon-dashboard div.wp-menu-image,.menu-icon-generic div.wp-menu-image,.menu-icon-links div.wp-menu-image,.menu-icon-media div.wp-menu-image,.menu-icon-page div.wp-menu-image,.menu-icon-plugins div.wp-menu-image,.menu-icon-post div.wp-menu-image,.menu-icon-settings div.wp-menu-image,.menu-icon-site div.wp-menu-image,.menu-icon-tools div.wp-menu-image,.menu-icon-users div.wp-menu-image{background-image:none!important}#adminmenuwrap{position:relative;float:right}#adminmenu *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#adminmenu li{margin:0;padding:0;cursor:pointer}#adminmenu a{display:block;line-height:18px;padding:2px 5px;color:#eee}#adminmenu .wp-submenu a{color:#bbb}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover{background:0 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a:hover,#adminmenu li.menu-top>a:focus{color:#2ea2cc}#adminmenu li.menu-top{border:none;min-height:34px;position:relative}#adminmenu .wp-submenu{list-style:none;position:absolute;top:-1000em;right:160px;overflow:visible;word-wrap:break-word}#adminmenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{padding:7px 0 8px;z-index:9999;background-color:#333;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu a.menu-top:focus+.wp-submenu,.js #adminmenu .opensub .wp-submenu,.js #adminmenu .sub-open,.no-js li.wp-has-submenu:hover .wp-submenu{top:-1px}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.no-js li.wp-has-current-submenu:hover .wp-submenu{position:relative;z-index:3;top:auto;right:auto;left:auto;bottom:auto;border:0;margin-top:0;-webkit-box-shadow:none;box-shadow:none;background-color:#333}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{position:relative;background-color:#111}.folded #adminmenu li.menu-top:hover,.folded #adminmenu li.opensub>a.menu-top,.folded #adminmenu li>a.menu-top:focus{z-index:10000}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu .wp-menu-arrow,#adminmenu .wp-menu-arrow div,#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu{background:#0074a2;color:#fff}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.folded #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open,.folded #adminmenu a.menu-top:focus+.wp-submenu,.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu{top:0;right:36px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:160px;width:auto}#adminmenu .wp-submenu a{font-size:13px;line-height:1.2;margin:0;padding:6px 0}#adminmenu .opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-not-current-submenu li>a,.folded #adminmenu .wp-has-current-submenu li>a{padding-left:16px;padding-right:14px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu .wp-has-current-submenu ul>li>a,.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:6px 12px}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{font-size:14px;font-weight:400;line-height:18px;padding:0}#adminmenu .wp-submenu-head,.folded #adminmenu .wp-menu-name{display:none}.folded #adminmenu .wp-submenu-head{display:block}#adminmenu .wp-submenu li{padding:0;margin:0;overflow:hidden}#adminmenu .wp-menu-image img{padding:9px 0 0;opacity:.6;filter:alpha(opacity=60)}#adminmenu div.wp-menu-name{padding:8px 0}#adminmenu div.wp-menu-image{float:right;width:36px;height:34px;margin:0;text-align:center}#adminmenu div.wp-menu-image.svg{background-repeat:no-repeat;background-position:center;-webkit-background-size:20px auto;background-size:20px auto}div.wp-menu-image:before{color:#999;padding:7px 0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu li:hover div.wp-menu-image:before{color:#2ea2cc}.folded #adminmenu div.wp-menu-image{width:35px;height:30px;position:absolute;z-index:25}.folded #adminmenu a.menu-top{height:34px}.no-font-face #adminmenu .wp-menu-image{display:none}.no-font-face #adminmenu div.wp-menu-name{padding:8px 12px}.no-font-face.auto-fold #adminmenu .wp-menu-name{margin-right:0}.sticky-menu #adminmenuwrap{position:fixed;z-index:9999}.wp-menu-arrow{display:none!important}ul#adminmenu a.wp-has-current-submenu{position:relative}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{left:0;border:8px solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-left-color:#f1f1f1;top:50%;margin-top:-8px}.folded ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.folded ul#adminmenu a.wp-has-current-submenu:after,.folded ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{left:0;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-width:8px;top:10px;z-index:10000}.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:18px}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#333}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1;filter:alpha(opacity=100)}#adminmenu li.wp-menu-separator{height:5px;padding:0;margin:0 0 6px;cursor:inherit}#adminmenu div.separator{height:2px;padding:0}#adminmenu .wp-submenu .wp-submenu-head{color:#fff;font-weight:400;font-size:14px;padding:8px 11px 8px 4px;margin:-7px 0 4px}#adminmenu li.current,.folded #adminmenu li.wp-menu-open{border:0}#adminmenu .awaiting-mod,#adminmenu .update-plugins,#sidemenu li a span.update-plugins{display:inline-block;background-color:#d54e21;color:#fff;font-size:9px;line-height:17px;font-weight:600;margin:1px 2px 0 0;vertical-align:top;-webkit-border-radius:10px;border-radius:10px;z-index:26}#adminmenu li .awaiting-mod span,#adminmenu li span.update-plugins span,#sidemenu li a span.update-plugins span{display:block;padding:0 6px}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod{background-color:#2ea2cc;color:#fff}#adminmenu li span.count-0,#sidemenu li a .count-0{display:none}#collapse-menu{font-size:13px;line-height:34px;margin-top:10px;color:#aaa;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after{color:#2ea2cc}.folded #collapse-menu span{display:none}#collapse-button,#collapse-button div{width:15px;height:15px}#collapse-button{float:right;height:15px;margin:10px 11px 10px 8px;width:15px;-webkit-border-radius:10px;border-radius:10px}#wpwrap #collapse-button div{padding:0}#collapse-button div:after{content:'\f148';display:block;line-height:15px;right:-3px;top:-3px;color:#aaa;font:400 20px/1 dashicons!important;speak:none;margin:0 auto;padding:0!important;position:relative;text-align:center;width:20px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.folded #collapse-button div:after,.rtl #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.folded #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}li#wp-admin-bar-menu-toggle{display:none}@media only screen and (max-width:960px){.auto-fold #wpcontent,.auto-fold #wpfooter{margin-right:36px}.auto-fold #adminmenu,.auto-fold #adminmenu li.menu-top,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:36px}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.auto-fold #adminmenu .wp-submenu.sub-open,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{top:0;right:36px}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu,.auto-fold #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em;margin-left:-1px;padding:7px 0 8px;z-index:9999}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu{min-width:150px;width:auto}.auto-fold #adminmenu .wp-has-current-submenu li>a{padding-left:16px;padding-right:14px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-right:12px}.auto-fold #adminmenu .wp-menu-name{display:none}.auto-fold #adminmenu .wp-submenu-head{display:block}.auto-fold #adminmenu div.wp-menu-image{height:30px;width:34px;position:absolute;z-index:25}.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.wp-menu-open{border:0}.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last{margin-bottom:0}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:16px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}.auto-fold #adminmenu li.menu-top:hover,.auto-fold #adminmenu li.opensub>a.menu-top,.auto-fold #adminmenu li>a.menu-top:focus{z-index:10000}.auto-fold #collapse-menu span{display:none}.auto-fold #collapse-button div{background:0 0}.auto-fold #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.auto-fold #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}}@media screen and (max-width:782px){.auto-fold #wpcontent{position:relative;margin-right:0;padding-right:10px}.sticky-menu #adminmenuwrap{position:relative;z-index:auto;top:0}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{position:absolute;width:190px;z-index:100}.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{display:none}.auto-fold .wp-responsive-open #adminmenuback,.auto-fold .wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu li.menu-top{width:100%}.auto-fold #adminmenu li a{font-size:16px;padding:5px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding:10px 20px 10px 10px}.auto-fold #adminmenu .wp-menu-name{display:block;margin-right:35px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li.current>a.current:after{border-width:8px;margin-top:-8px}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{display:none}#adminmenu .wp-submenu{position:relative;display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{position:relative;display:block;top:0;right:-1px;-webkit-box-shadow:none;box-shadow:none}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .selected .wp-submenu:after,.auto-fold #adminmenu .wp-menu-open .wp-submenu:after{display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:block}.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{position:relative;right:-1px;left:0;top:0}#adminmenu .wp-submenu .wp-submenu-head{display:none}#wp-responsive-toggle{position:fixed;top:5px;right:4px;padding-left:10px;z-index:99999;border:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpadminbar #wp-admin-bar-menu-toggle a{display:block;padding:0;overflow:hidden;outline:0;text-decoration:none;border:1px solid transparent;background:0 0;height:44px;margin-right:-1px}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#333}li#wp-admin-bar-menu-toggle{display:block}#wpadminbar #wp-admin-bar-menu-toggle a:hover{border:1px solid transparent}#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{content:'\f228';display:inline-block;float:right;font:400 40px/45px Dashicons;vertical-align:middle;outline:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:44px;width:50px;padding:0;border:none;text-align:center;text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}@media screen and (max-width:600px){#adminmenuback,#adminmenuwrap{display:none}.wp-responsive-open #adminmenuback,.wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu{top:46px}}#wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody-content #dashboard-widgets.columns-2 .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4{float:left;width:50.5%}#wpbody-content #dashboard-widgets.columns-3 .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4{float:left}#dashboard-widgets .postbox-container,#wpbody-content #dashboard-widgets.columns-4 .postbox-container{width:25%}#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container{border:none!important}.ie8 #wpbody-content #dashboard-widgets .postbox-container{width:49.5%}.ie8 #wpbody-content #dashboard-widgets #postbox-container-2,.ie8 #wpbody-content #dashboard-widgets #postbox-container-3,.ie8 #wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}.ie8 #dashboard-widgets #postbox-container-3 .empty-container,.ie8 #dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}#dashboard-widgets-wrap{overflow:hidden;margin:0 -8px}#dashboard-widgets .postbox .inside{margin-bottom:0}#dashboard-widgets .meta-box-sortables{margin:0 8px;min-height:100px}#the-comment-list td.comment p.comment-author{margin-top:0;margin-right:0}#the-comment-list p.comment-author img{float:right;margin-left:8px}#the-comment-list p.comment-author strong a{border:none}#the-comment-list td{vertical-align:top}#the-comment-list td.comment{word-wrap:break-word}#the-comment-list td.comment img{max-width:100%}.welcome-panel{position:relative;overflow:auto;margin:16px 0;padding:23px 10px 0;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:13px;line-height:2.1em}.welcome-panel h3{margin:0;font-size:21px;font-weight:400;line-height:1.2}.welcome-panel h4{margin:1.33em 0 0;font-size:16px}.welcome-panel li{font-size:14px}.welcome-panel p{color:#777}.welcome-panel a{text-decoration:none}.welcome-panel .about-description{font-size:16px;margin:0}.welcome-panel .welcome-panel-close{position:absolute;top:5px;left:10px;padding:20px 3px 0 15px;font-size:13px;text-decoration:none;line-height:1}#welcome-panel.welcome-panel .welcome-panel-close:before{position:absolute;right:-18px;margin-top:-2px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.wp-core-ui .welcome-panel .button.button-hero{margin:15px 0 3px}.welcome-panel-content{margin-right:13px;max-width:1500px}.welcome-panel .welcome-panel-column-container{clear:both;overflow:hidden;position:relative}.welcome-panel .welcome-panel-column{width:32%;min-width:200px;float:right}.ie8 .welcome-panel .welcome-panel-column{min-width:230px}.welcome-panel .welcome-panel-column:first-child{width:36%}.welcome-panel-column p.hide-if-no-customize{margin-top:10px}.welcome-panel-column p{margin-top:7px;color:#464646}.welcome-panel .welcome-icon{display:block;padding:0 0 8px;background:0 0!important}.welcome-panel .welcome-icon:before{color:#888;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 10px;top:-1px;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;vertical-align:top}.welcome-panel .welcome-edit-page:before,.welcome-panel .welcome-write-blog:before{content:'\f119';top:-3px}.welcome-panel .welcome-add-page:before{content:'\f132'}.welcome-panel .welcome-view-site:before{content:'\f115';top:-2px}.welcome-panel .welcome-widgets-menus:before{content:'\f116';top:-2px}.welcome-panel .welcome-comments:before{content:'\f117';top:-1px}.welcome-panel .welcome-learn-more:before{content:'\f118';top:-1px}.welcome-panel .welcome-widgets-menus{line-height:16px}.welcome-panel .welcome-panel-column ul{margin:.8em 0 1em 1em}.welcome-panel .welcome-panel-column li{line-height:16px;list-style-type:none}#dashboard_primary .inside{margin:0;padding:0}#dashboard_primary .dashboard-widget-control-form,#dashboard_primary .widget-loading{padding:12px 12px 0}body #dashboard-widgets .postbox form .submit{margin:0}.dashboard-widget-control-form{overflow:hidden}.dashboard-widget-control-form p{margin-top:0}.rssSummary{color:#777;margin-top:4px}#dashboard_primary .rss-widget{border-bottom:1px solid #eee;font-size:13px;padding:8px 12px 10px}#dashboard_primary .rss-widget:last-child{border-bottom:none;padding-bottom:8px}#dashboard_primary .rss-widget a{font-weight:400}#dashboard_primary .rss-widget span,#dashboard_primary .rss-widget span.rss-date{color:#777}#dashboard_primary .rss-widget span.rss-date{margin-right:12px}#dashboard_primary .rss-widget ul li{margin-bottom:8px}#dashboard_right_now ul{margin:0;overflow:hidden}#dashboard_right_now li{width:50%;float:right;margin-bottom:10px}#dashboard_right_now .inside{overflow:hidden;padding:0}#dashboard_right_now .main{overflow:hidden;padding:0 12px 11px}#dashboard_right_now .main p{margin:0}#dashboard_right_now #wp-version-message .button{clear:left;float:left;position:relative;top:-5px}.mu-storage{overflow:hidden}#dashboard-widgets h4.mu-storage{margin-bottom:10px}#dashboard_right_now li a:before,#dashboard_right_now li span:before{color:#888}#dashboard_right_now .sub{color:#777;background:#f5f5f5;border-top:1px solid #eee;padding:10px 12px 6px}#dashboard_right_now .sub h4{color:#555}#dashboard_right_now .sub p{margin:0 0 1em}#dashboard_right_now .warning a:before,#dashboard_right_now .warning span:before{color:#d54e21}#dashboard_right_now li a:before,#dashboard_right_now li span:before{content:'\f159';font:400 20px/1 dashicons;speak:none;display:block;float:right;margin:0 0 0 5px;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_right_now .page-count a:before,#dashboard_right_now .page-count span:before{content:'\f105'}#dashboard_right_now .post-count a:before,#dashboard_right_now .post-count span:before{content:'\f109'}#dashboard_right_now .comment-count a:before{content:'\f101'}#dashboard_right_now .comment-mod-count a:before{content:'\f125'}#dashboard_right_now .storage-count a:before{content:'\f104'}#dashboard_right_now .storage-count.warning a:before{content:'\f153'}#dashboard_quick_press .inside{margin:0;padding:0}#dashboard_quick_press div.updated{margin-bottom:10px;border:1px solid #eee;border-width:1px 0 1px 1px}#dashboard_quick_press form{overflow:hidden;margin:12px}#dashboard_quick_press .drafts,#dashboard_quick_press .easy-blogging{padding:10px 0 0}input#save-post{float:right}form.initial-form.quickpress-open label.prompt{font-style:normal}form.initial-form.quickpress-open input#title{height:auto}#dashboard_quick_press input,#dashboard_quick_press textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0}#dashboard_quick_press textarea{resize:vertical}#description-wrap{margin-top:12px}#title-wrap #title-prompt-text,.textarea-wrap #content-prompt-text{color:#777}.input-text-wrap,.textarea-wrap{position:relative}.input-text-wrap .prompt,.textarea-wrap .prompt{position:absolute}.textarea-wrap #content-prompt-text{font-size:1.1em;padding:7px 8px}.textarea-wrap textarea#content{margin:0 0 8px;padding:6px 7px}#quick-press textarea#content{min-height:90px;max-height:1300px;resize:none}.js #dashboard_quick_press .drafts{border-top:1px solid #eee}#dashboard_quick_press .drafts abbr{border:none}#dashboard_quick_press .drafts h4{margin:0 12px 8px;font-weight:400}#dashboard_quick_press .drafts .view-all{float:left;margin:0 0 0 12px}#dashboard_primary a.rsswidget{font-weight:400}#dashboard_quick_press .drafts ul{margin:0 12px}#dashboard_quick_press .drafts li{margin-bottom:1em}#dashboard_quick_press .drafts li time{color:#777}#dashboard_quick_press .drafts p{margin:0;word-wrap:break-word}#dashboard_quick_press .draft-title{overflow:hidden}#dashboard_quick_press .draft-title a,#dashboard_quick_press .draft-title time{float:right;margin:0 0 0 5px}#dashboard-widgets #dashboard_activity h4{margin:0 12px 8px 0;font-weight:400}#dashboard-widgets #dashboard_activity h4.comment-meta{margin:0}#dashboard_activity h4.comment-meta{margin-bottom:4px}#dashboard_activity ul{padding:0 12px}#dashboard_activity .comment-meta span.approve:before{content:'\f227';font:20px/.5 dashicons;margin-right:12px;vertical-align:middle;position:relative;top:-1px;margin-left:2px}#dashboard_activity .inside{padding:0;margin:0}#dashboard_activity .no-activity{overflow:hidden;padding:0 12px 12px;text-align:center}#dashboard_activity .no-activity p{color:#999;font-size:16px}#dashboard_activity .no-activity .smiley{margin-top:0}#dashboard_activity .no-activity .smiley:before{content:'\f328';font:400 120px/1 dashicons;speak:none;display:block;margin:0 0 0 5px;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_activity .subsubsub{float:none;border-top:1px solid #eee;margin-top:0;padding:8px 12px 4px}#future-posts ul,#published-posts ul{clear:both;margin-bottom:0}#future-posts li,#published-posts li{overflow:hidden;margin-bottom:8px}#future-posts ul span,#published-posts ul span{color:#777;float:right;margin-left:8px;min-width:150px}.activity-block{border-bottom:1px solid #eee;overflow:hidden;padding:8px 0 4px}.activity-block:last-child{border-bottom:none}.activity-block .subsubsub li{color:#ddd}#activity-widget #the-comment-list div.undo,#activity-widget #the-comment-list tr.undo{background:0 0;padding:6px 0;margin-right:12px}#activity-widget #the-comment-list .alt,#activity-widget #the-comment-list .alternate{background:0 0}#activity-widget #the-comment-list .comment-item{background:#fafafa;padding:12px;position:relative}#activity-widget #the-comment-list img{position:absolute;top:13px}#activity-widget #the-comment-list .dashboard-comment-wrap{padding-right:63px}#activity-widget #the-comment-list .dashboard-comment-wrap blockquote{margin:1em 0}#activity-widget #the-comment-list .comment-item h4{font-size:13px;color:#999}#activity-widget #the-comment-list .comment-item p.row-actions{margin:4px 0 0}#activity-widget #the-comment-list .comment-item:first-child{border-top:1px solid #eee}#activity-widget #the-comment-list .unapproved{background-color:#fef7f1}#activity-widget #the-comment-list .unapproved:before{content:"";display:block;position:absolute;right:0;top:0;bottom:0;background:#d54e21;width:4px}#activity-widget #the-comment-list .spam-undo-inside .avatar,#activity-widget #the-comment-list .trash-undo-inside .avatar{position:relative;top:0}#dashboard-widgets #dashboard_browser_nag.postbox .inside{margin:10px}.edit-box{display:none}h3:hover .edit-box{display:inline}#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:100%}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0}#dashboard-widgets a{text-decoration:none}#dashboard-widgets h3 a{text-decoration:underline}#dashboard-widgets h3 .postbox-title-action{position:absolute;left:10px;padding:0;top:5px}.js #dashboard-widgets h3 .postbox-title-action{left:33px}#dashboard-widgets h4{color:#222;font-weight:400;font-size:14px;margin:0 0 .2em;padding:0}#dashboard_plugins h5{font-size:14px}#latest-comments #the-comment-list{position:relative}#activity-widget #the-comment-list .comment,#activity-widget #the-comment-list .pingback{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.06);box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}#activity-widget .comments #the-comment-list .alt{background-color:transparent}#activity-widget #latest-comments #the-comment-list .comment-item{padding:1em 12px}#latest-comments #the-comment-list .pingback{padding-right:12px!important}#latest-comments #the-comment-list .comment-item:first-child{border-top:none}#latest-comments #the-comment-list .comment-item h4{line-height:1.5em;margin-top:0;color:#666}#latest-comments #the-comment-list .comment-item h4 cite{font-style:normal;font-weight:400}#latest-comments #the-comment-list .comment-item blockquote,#latest-comments #the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline}#latest-comments #the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:13px}#description-wrap label,#title-wrap label{cursor:text}#title-wrap #title{padding:2px 6px;font-size:1.3em;outline:0}#title-wrap #title-prompt-text{font-size:1.1em;padding:5px 8px}.rss-widget ul{margin:0;padding:0;list-style:none}a.rsswidget{font-size:14px;font-weight:600;line-height:1.7em}.rss-widget ul li{line-height:1.5em;margin-bottom:12px}.rss-widget span.rss-date{color:#999;font-size:13px;margin-right:3px}.rss-widget cite{display:block;text-align:left;margin:0 0 1em;padding:0}.rss-widget cite:before{content:'\2014'}.dashboard-comment-wrap{overflow:hidden;word-wrap:break-word}#dashboard_browser_nag a.update-browser-link{font-size:1.2em;font-weight:600}#dashboard_browser_nag a{text-decoration:underline}#dashboard_browser_nag p.browser-update-nag.has-browser-icon{padding-left:125px}#dashboard_browser_nag .browser-icon{margin-top:-35px}#dashboard_browser_nag.postbox.browser-insecure{background-color:#ac1b1b;border-color:#ac1b1b}#dashboard_browser_nag.postbox{background-color:#e29808;background-image:none;border-color:#edc048;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag.postbox.browser-insecure h3{border-bottom-color:#cd5a5a;color:#fff}#dashboard_browser_nag.postbox h3{border-bottom-color:#f6e2ac;background:0 0;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag a{color:#fff}#dashboard_browser_nag h3.hndle{border:none;font-weight:600;font-size:20px;padding-top:10px}.postbox#dashboard_browser_nag p a.dismiss{font-size:14px}.postbox#dashboard_browser_nag a,.postbox#dashboard_browser_nag p,.postbox#dashboard_browser_nag p.browser-update-nag{font-size:16px}@media only screen and (max-width:799px){#wpbody-content #dashboard-widgets .postbox-container{width:100%}}@media only screen and (min-width:800px) and (max-width:1499px){#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}#wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}.index-php .columns-prefs,.index-php .screen-layout{display:block}.columns-prefs .columns-prefs-3,.columns-prefs .columns-prefs-4{display:none}}@media only screen and (min-width:1500px) and (max-width:1800px){#wpbody-content #dashboard-widgets .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left}#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}}@media screen and (max-width:870px){.welcome-panel .welcome-panel-column,.welcome-panel .welcome-panel-column:first-child{display:block;float:none;width:100%}.welcome-panel .welcome-panel-column li{display:inline-block;margin-left:13px}.welcome-panel .welcome-panel-column ul{margin:.4em 0 0}}@media screen and (max-width:782px){#dashboard_recent_comments #the-comment-list .comment-item .avatar{height:30px;width:30px;margin:4px 0 5px 10px}}@media screen and (max-width:600px){.welcome-panel .welcome-panel-close{overflow:hidden;text-indent:100%;white-space:nowrap;width:20px;height:20px;left:0;padding:5px}#welcome-panel.welcome-panel .welcome-panel-close:before{font-size:20px;margin:0}}.post-com-count-wrapper{min-width:22px}.post-com-count{background:no-repeat center -80px;height:1.3em;line-height:1.1em;display:block;text-decoration:none;padding:0 0 6px;cursor:pointer;color:#fff}.post-com-count:after{content:"";display:block;width:0;height:0;margin-right:8px;border-top:5px solid #bbb;border-left:5px solid transparent}.post-com-count span{font-size:11px;font-weight:600;height:1.4em;line-height:1.4em;min-width:.7em;padding:0 6px;display:inline-block;-webkit-border-radius:5px;border-radius:5px;background-color:#bbb;color:#fff}.post-com-count:hover{background-position:center -3px}.post-com-count:hover span{background-color:#2ea2cc}.post-com-count:hover:after{border-top:5px solid #2ea2cc}strong .post-com-count{background-position:center -55px}strong .post-com-count span{background-color:#0074a2}strong .post-com-count:after{border-top:5px solid #0074a2}.column-response .post-com-count{float:right;margin-left:5px;text-align:center}.response-links{float:right}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom:1px solid #ccc}.commentlist li li{border-bottom:0;padding:0}.commentlist p{padding:0;margin:0 0 .8em}#submitted-on,.submitted-on{color:#777}#replyrow td{padding:2px}#replysubmit{margin:0;padding:0 5px 3px;text-align:center}#replysubmit .spinner{padding:2px 0 0;vertical-align:top;float:left}#replysubmit .button{margin-left:5px}#replysubmit .error{color:red;line-height:21px;text-align:center}#replyrow h5{margin:.2em 0 0;padding:0 5px;line-height:1.4em;font-size:1em}#edithead .inside{float:right;padding:3px 5px 2px 0;margin:0;text-align:center}#edithead .inside input{width:180px}#edithead label{padding:2px 0}#replycontainer{padding:5px}#replycontent{height:120px;-webkit-box-shadow:none;box-shadow:none}#replyerror{border-color:#ddd;background-color:#f9f9f9}.commentlist .avatar{vertical-align:text-top}#the-comment-list .attachment-80x60{padding:4px 8px}#the-comment-list div.undo,#the-comment-list tr.undo{background-color:#f4f4f4}#the-comment-list .unapproved td,#the-comment-list .unapproved th{background-color:#fef7f1}#the-comment-list .unapproved th.check-column{border-right:4px solid #d54e21}#the-comment-list .unapproved th.check-column input{margin-right:4px}#the-comment-list .approve a{color:#006505}#the-comment-list .unapprove a{color:#d98500}#the-comment-list td,#the-comment-list th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}#the-comment-list tr:last-child td,#the-comment-list tr:last-child th{-webkit-box-shadow:none;box-shadow:none}#the-comment-list tr.unapproved+tr.approved td,#the-comment-list tr.unapproved+tr.approved th{border-top:1px solid rgba(0,0,0,.03)}.vim-current,.vim-current td,.vim-current th{background-color:#e4f2fd!important}th .comment-grey-bubble{height:16px;width:16px}th .comment-grey-bubble:before{content:'\f101';font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;right:-4px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}table.fixed{table-layout:fixed}.fixed .column-rating,.fixed .column-visible{width:8%}.fixed .column-author,.fixed .column-date,.fixed .column-format,.fixed .column-links,.fixed .column-parent,.fixed .column-posts{width:10%}.fixed .column-posts{width:74px}.fixed .column-comment .comment-author{display:none}.fixed .column-categories,.fixed .column-rel,.fixed .column-response,.fixed .column-role,.fixed .column-tags{width:15%}.fixed .column-slug{width:25%}.fixed .column-locations{width:35%}.fixed .column-comments{width:4em;padding:8px 0;text-align:right}.fixed .column-comments .vers{padding-right:3px}.fixed .column-comments a{float:right}.fixed .column-icon{width:80px}.wp-list-table a{-webkit-transition:none;transition:none}#the-list tr:last-child td,#the-list tr:last-child th{border-bottom:none!important;-webkit-box-shadow:none;box-shadow:none}#comments-form .fixed .column-author{width:20%}#commentsdiv.postbox .inside{margin:0;padding:0}#commentsdiv .inside .row-actions{line-height:18px}#commentsdiv .inside .column-author{width:25%}#commentsdiv .column-comment p{margin:.6em 0;padding:0}#commentsdiv #replyrow td{padding:0}#commentsdiv p{padding:8px 10px;margin:0}#commentsdiv .comments-box{border:0}#commentsdiv .comments-box thead th{background:0 0;padding:0 7px 4px;font-style:italic}#commentsdiv .comments-box tr:last-child td{border-bottom:0 none}#commentsdiv .spinner{padding-right:5px}.sorting-indicator{display:none;width:10px;height:4px;margin-top:8px;margin-right:7px}.sorting-indicator:before{background:0 0;content:'\f142';font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0;top:-4px;right:-8px;line-height:10px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.column-comments .sorting-indicator:before{top:0;right:-10px}th.desc:hover span.sorting-indicator:before,th.sorted.asc .sorting-indicator:before{content:'\f142'}th.asc:hover span.sorting-indicator:before,th.sorted.desc .sorting-indicator:before{content:'\f140'}tr.wp-locked .locked-indicator{margin-right:6px;height:20px;width:16px}tr.wp-locked .locked-indicator:before{color:#888;content:'\f160';display:inline-block;float:right;font:400 20px/1 dashicons;speak:none;vertical-align:middle;margin-right:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}tr.wp-locked .check-column input[type=checkbox],tr.wp-locked .check-column label,tr.wp-locked .row-actions .inline,tr.wp-locked .row-actions .trash{display:none}tr .locked-info{height:0;opacity:0}tr.wp-locked .locked-info{margin-top:8px;height:auto;opacity:1}.locked-text{vertical-align:top}tr.locked-info,tr.wp-locked .locked-info{-webkit-transition:height 1s,opacity .5s;transition:height 1s,opacity .5s}.fixed .column-comments .sorting-indicator{margin-top:3px}#menu-locations-wrap .widefat{width:60%}.widefat th.sortable,.widefat th.sorted{padding:0}th.sortable a,th.sorted a{display:block;overflow:hidden;padding:7px 10px 8px 7px}th.manage-column a,th.sortable a:active,th.sortable a:focus,th.sortable a:hover{color:#333}th.sortable a:focus{background:#e1e1e1}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0}th.sortable a span,th.sorted a span{float:right;cursor:pointer}th.desc:hover span.sorting-indicator,th.sorted.asc .sorting-indicator{display:block;background-position:0 0}th.asc:hover span.sorting-indicator,th.sorted.desc .sorting-indicator{display:block;background-position:-7px 0}.tablenav-pages a{font-weight:600;margin-left:1px;padding:0 2px}.tablenav-pages .current-page{padding-top:0;text-align:center}.tablenav-pages .next-page{margin-right:2px}.tablenav a.button-secondary{display:block;margin:3px 0 0 8px}.tablenav{clear:both;height:30px;margin:6px 0 4px;vertical-align:middle}.tablenav.themes{max-width:98%}.tablenav .tablenav-pages{float:left;display:block;cursor:default;height:30px;color:#555;line-height:30px;font-size:12px}.tablenav .no-pages,.tablenav .one-page .pagination-links{display:none}.tablenav .tablenav-pages a,.tablenav-pages span.current{text-decoration:none;padding:3px 6px}.tablenav .tablenav-pages a{padding:0 10px 3px;background:#eee;background:rgba(0,0,0,.05);font-size:16px;font-weight:400}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover{color:#fff;background:#2ea2cc}.tablenav .tablenav-pages a.disabled,.tablenav .tablenav-pages a.disabled:active,.tablenav .tablenav-pages a.disabled:focus,.tablenav .tablenav-pages a.disabled:hover{color:#aaa;background:#eee;background:rgba(0,0,0,.05)}.tablenav .displaying-num{margin-left:2px;color:#777;font-size:12px;font-style:italic}.tablenav .actions{overflow:hidden;padding:2px 0 0 8px}.wp-filter .actions{display:inline-block;vertical-align:middle}.tablenav .delete{margin-left:20px}.tablenav .dots{border-color:transparent}.tablenav .next,.tablenav .prev{border-color:transparent;color:#0074a2}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#2ea2cc}.tablenav .view-switch{float:left;margin:5px 8px 0 16px}.wp-filter .view-switch{display:inline-block;vertical-align:middle;padding:14px 0;margin:0 0 0 20px}.view-switch a{text-decoration:none}.view-switch>a{display:inline-block;width:18px;height:18px}.view-switch>a:before{color:#bbb;display:inline-block;float:right;font:400 20px/1 dashicons;speak:none;vertical-align:middle;margin-right:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.view-switch>.view-list:before{content:'\f163'}.view-switch a:hover:before{color:#727272}.view-switch a.current:before{color:#0074a2}.view-switch>a+a{margin-right:5px}.view-switch>.view-excerpt:before{content:'\f164'}.view-switch>.view-grid:before{content:'\f509'}.filter{float:right;margin:-5px 10px 0 0}.filter .subsubsub{margin-right:-10px;margin-top:13px}.screen-per-page{width:4em}#posts-filter .wp-filter{margin-bottom:0}#posts-filter fieldset{float:right;margin:0 0 1em 1.5ex;padding:0}#posts-filter fieldset legend{padding:0 1px .2em 0}p.pagenav{margin:0;display:inline}.pagenav span{font-weight:600;margin:0 6px}.row-title{font-size:14px!important;font-weight:600}.column-comment .comment-author{margin-bottom:.6em}.column-author img,.column-comment .comment-author img,.column-username img{float:right;margin-left:10px;margin-top:1px}.row-actions{color:#ddd;font-size:13px;visibility:hidden;padding:2px 0 0}.mobile .row-actions,.row-actions.visible,div.comment-item:hover .row-actions,tr:hover .row-actions{visibility:visible}.row-actions-visible{padding:2px 0 0}#wpbody-content .inline-edit-row fieldset{font-size:12px;float:right;margin:0;padding:0;width:100%}#wpbody-content .inline-edit-row fieldset .inline-edit-col,tr.inline-edit-row td{padding:0 .5em}#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col{border-width:0 1px 0 0;border-style:none none none solid}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%}#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .quick-edit-row-page .inline-edit-col-right{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:left;width:69%}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:27px}.inline-edit-row fieldset .inline-edit-group{clear:both}.inline-edit-row fieldset .inline-edit-group:after{content:".";display:block;height:0;clear:both;visibility:hidden}.inline-edit-row p.submit{clear:both;padding:.5em;margin:.5em 0 0}.inline-edit-row span.error{line-height:22px;margin:0 15px;padding:3px 5px}.inline-edit-row h4{margin:.2em 0;padding:0;line-height:23px}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{margin:0;padding:0}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;width:auto}.inline-edit-row fieldset label span.title{display:block;float:right;width:5em}.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-right:5em}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-left:.5em}.inline-edit-row .input-text-wrap input[type=text]{width:100%}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:text-bottom}.inline-edit-row fieldset label textarea{width:100%;height:4em}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-left:.5em}.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input{width:6em}.inline-edit-save .spinner{padding:4px 10px 0;vertical-align:top;float:left}.inline-edit-row h4{text-transform:uppercase}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{font-style:italic;line-height:1.8em}.inline-edit-row fieldset .inline-edit-date{float:right}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{font-size:12px;width:2.1em}.inline-edit-row fieldset input[name=aa]{font-size:12px;width:3.5em}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em}ul.cat-checklist{height:12em;border:1px solid #ddd;overflow-y:scroll;padding:0 5px;margin:0;background-color:#fff}#bulk-titles{display:block;height:12em;border:1px solid #ddd;overflow-y:scroll;padding:0 5px;margin:0 0 5px}.inline-edit-row fieldset ul.cat-checklist input,.inline-edit-row fieldset ul.cat-checklist li{margin:0;position:relative}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-style:normal;font-size:11px}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%}.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{max-width:80%}.ie8 .inline-edit-row #post_parent,.ie8 .inline-edit-row select[name=page_template]{width:250px}.quick-edit-row-post fieldset label.inline-edit-status{float:right}#bulk-titles{line-height:140%}#bulk-titles div{margin:.2em .3em}#bulk-titles div a{cursor:pointer;display:block;float:right;height:18px;margin:0 -2px 0 3px;overflow:hidden;position:relative;width:20px}#bulk-titles div a:before{position:relative;top:-3px}.plugins tbody,.plugins tbody th.check-column{padding:8px 2px 0 0}.plugins tbody th.check-column input[type=checkbox]{margin-top:4px}#update-plugins-table tbody td p{margin-top:0}#update-plugins-table tbody td p strong{font-size:14px}.plugins .inactive th.check-column,.plugins tfoot th.check-column,.plugins thead th.check-column{padding-right:6px}#update-plugins-table tfoot th.check-column,#update-plugins-table thead th.check-column{padding-top:11px}.plugins,.plugins td,.plugins th{color:#000}.plugins tr{background:#fff}.plugins p{margin:0 4px;padding:0}.plugins .desc p{margin:0 0 8px}.plugins td.desc{line-height:1.5em}.plugins .desc ol,.plugins .desc ul{margin:0 2em 0 0}.plugins .desc ul{list-style-type:disc}.plugins .row-actions{font-size:13px}.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th{padding:10px 9px}.plugins .active td,.plugins .active th{background-color:#f7fcfe}.plugins .update td,.plugins .update th{border-bottom:0}.plugin-update-tr td{border-top:0}.plugin-install #the-list td,.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th,.upgrade .plugins td,.upgrade .plugins th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th,.plugins tr.active.plugin-update-tr+tr.inactive td,.plugins tr.active.plugin-update-tr+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1;box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1}.plugins .update td,.plugins .update th,.plugins tr.active+tr.inactive.update td,.plugins tr.active+tr.inactive.update th,.upgrade .plugins tr:last-of-type td,.upgrade .plugins tr:last-of-type th{-webkit-box-shadow:none;box-shadow:none}.plugins .active.update td,.plugins .active.update th,tr.active.update+tr.plugin-update-tr .plugin-update{background-color:#fef7f1}.plugins .active th.check-column{border-right:4px solid #2ea2cc}.plugins .active.update th.check-column,.plugins .active.update+.plugin-update-tr .plugin-update{border-right:4px solid #d54e21}#wpbody-content .plugins .plugin-title,#wpbody-content .plugins .theme-title{padding-left:12px;white-space:nowrap}.plugins .inactive .plugin-title strong{font-weight:400}.plugins .row-actions,.plugins .second{padding:0 0 5px}.plugins .update .row-actions,.plugins .update .second{padding-bottom:0}.plugins-php .widefat tfoot td,.plugins-php .widefat tfoot th{border-top-style:solid;border-top-width:1px}.plugin-update-tr .update-message{font-size:13px;font-weight:400;padding:6px 12px;margin:0 31px 8px 10px;background-color:#f7f7f7;background-color:rgba(0,0,0,.03)}.plugin-update-tr .update-message:before{color:#d54e21;content:'\f463';display:inline-block;font:400 20px/1 dashicons;speak:none;margin:0 -2px 0 8px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.plugins .plugin-update{padding:0;border:none;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}tr.active+tr.plugin-update-tr .plugin-update{background-color:#f7fcfe}tr.active+tr.plugin-update-tr .plugin-update .update-message{background-color:#fcf3ef}.plugin-install-php h3{clear:both}.plugin-install-php h4{margin:2.5em 0 8px}.plugin-install-php .wp-filter{margin-bottom:0}.plugin-group{overflow:hidden;margin-top:1.5em}.plugin-group h3{margin-top:0}.plugin-card{float:right;margin:0 8px 16px;width:48.5%;width:-webkit-calc(50% - 8px);width:calc(50% - 8px);background-color:#fff;border:1px solid #dedede;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.plugin-card:nth-child(odd){clear:both;margin-right:0}.plugin-card:nth-child(even){margin-left:0}@media screen and (min-width:1600px){.plugin-card{width:30%;width:-webkit-calc(33.1% - 8px);width:calc(33.1% - 8px)}.plugin-card:nth-child(odd){clear:none;margin-right:8px}.plugin-card:nth-child(even){margin-left:8px}.plugin-card:nth-child(3n+1){clear:both;margin-right:0}.plugin-card:nth-child(3n){margin-left:0}}@media screen and (max-width:782px){.plugin-card{margin-right:0;margin-left:0;width:100%}}.plugin-card-top{position:relative;padding:20px 20px 10px;min-height:135px}.plugin-action-buttons,div.action-links{margin:0}.plugin-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}.plugin-card .desc,.plugin-card .name{margin-right:148px;margin-left:120px}.plugin-card .action-links{position:absolute;top:20px;left:20px;width:120px}.plugin-action-buttons{clear:left;float:left;margin-right:2em;margin-bottom:1em;text-align:left}.plugin-action-buttons li{margin-bottom:10px}.plugin-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden}.plugin-card-bottom .star-rating{display:inline}.plugin-card .column-rating{line-height:23px}.plugin-card .column-rating,.plugin-card .column-updated{margin-bottom:4px}.plugin-card .column-downloaded,.plugin-card .column-rating{float:right;clear:right;max-width:180px}.plugin-card .column-compatibility,.plugin-card .column-updated{text-align:left;float:left;clear:left;width:65%;width:-webkit-calc(100% - 180px);width:calc(100% - 180px)}.plugin-card .column-compatibility span:before{font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;right:-2px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.plugin-card .compatibility-incompatible:before{content:'\f158'}.plugin-card .compatibility-compatible:before{content:'\f147'}.plugin-card .compatibility-untested strong{font-weight:400}.plugin-icon{position:absolute;top:20px;right:20px;width:128px;height:128px;margin:0 0 20px 20px}.plugin-icon img{width:128px;height:128px}.no-plugin-results{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.wp-list-table .site-deleted{background:#ff8573}.wp-list-table .site-spammed{background:#faafaa}.wp-list-table .site-archived{background:#ffebe8}.wp-list-table .site-mature{background:#fecac2}@media screen and (max-width:1100px) and (min-width:782px),(max-width:480px){.plugin-card .action-links{position:static;margin-right:148px;width:auto}.plugin-action-buttons{float:none;margin:1em 0 0;text-align:right}.plugin-action-buttons li{display:inline-block;vertical-align:middle}.plugin-action-buttons li .button{margin-left:20px}.plugin-card .desc,.plugin-card .name{margin-left:0}.plugin-card .desc p:first-of-type{margin-top:0}}@media screen and (max-width:782px){.tablenav{height:auto}.tablenav.top{margin:20px 0 5px}.tablenav.bottom{position:relative;margin-top:15px}.tablenav br{display:none}.tablenav br.clear{display:block}.tablenav .view-switch,.tablenav.top .actions,.tablenav.top .displaying-num{display:none}.tablenav.bottom .displaying-num{position:absolute;left:0;top:10px;font-size:14px}.tablenav-pages{width:100%;text-align:center;margin:0 0 25px}.tablenav.bottom .tablenav-pages{margin-top:25px}.tablenav.top .tablenav-pages.one-page{display:none}.tablenav.bottom .tablenav-pages.one-page{margin:15px 0 0;height:0}.tablenav-pages .pagination-links .paging-input{font-size:18px}.tablenav-pages .pagination-links a{padding:8px 20px 11px;font-size:18px;background:rgba(0,0,0,.05)}.tablenav-pages .pagination-links .current-page{padding:10px;font-size:14px}.form-wrap>p{display:none}.comment-count{font-size:14px}.column-categories,.column-tags,.fixed .column-author,.fixed .column-date,.media .column-parent,.sites .column-registered,.sites .column-users,.tags .column-description,.users .column-email,.users .column-name{display:none}.fixed .column-comment .comment-author{display:block}.column-title{width:85%}.fixed .column-comments,.widefat .check-column{width:35px}.widefat tfoot .check-column,.widefat thead .check-column{padding:10px 0}.widefat *{word-wrap:normal}#wpbody-content .bulk-edit-row .inline-edit-col-bottom,#wpbody-content .bulk-edit-row .inline-edit-col-left,#wpbody-content .bulk-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .inline-edit-row-post .inline-edit-col-center,#wpbody-content .quick-edit-row-page .inline-edit-col-left,#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .quick-edit-row-post .inline-edit-col-left,#wpbody-content .quick-edit-row-post .inline-edit-col-right{float:none;width:100%}#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,#wpbody-content .bulk-edit-row fieldset .inline-edit-group label,#wpbody-content .quick-edit-row fieldset .inline-edit-col label,#wpbody-content .quick-edit-row fieldset .inline-edit-group label{max-width:none;float:none;margin-bottom:5px}#wpbody .bulk-edit-row fieldset select{display:block;width:100%;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-size:16px}.inline-edit-row fieldset label span.title{float:none}.inline-edit-row fieldset label.inline-edit-tags{padding:0 .5em}.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags{padding:0}.inline-edit-row fieldset label span.input-text-wrap{margin-right:0}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{width:3em}.inline-edit-row fieldset input[name=aa]{width:4.5em}#bulk-titles div{margin:.8em .3em}#bulk-titles div a{height:22px}.tags .column-posts{width:74px}.tags .column-slug{width:30%}.comments .column-response,.users .column-role{width:35%}.sites .column-blogname{width:55%}#wpbody-content #update-themes-table .plugin-title{width:auto}.link-manager-php #posts-filter{margin-top:25px}.link-manager-php .tablenav.bottom{overflow:hidden}.wp-list-table.plugins{position:relative;margin-top:35px;margin-bottom:50px}#wpbody-content .wp-list-table.plugins tfoot .column-description,.wp-list-table.plugins th#description,.wp-list-table.plugins thead .column-description{display:none}#wpbody-content .wp-list-table.plugins,#wpbody-content .wp-list-table.plugins .column-description,#wpbody-content .wp-list-table.plugins .manage-column.column-name,#wpbody-content .wp-list-table.plugins .plugin-title,#wpbody-content .wp-list-table.plugins .plugin-update,#wpbody-content .wp-list-table.plugins .theme-title,#wpbody-content .wp-list-table.plugins tbody,#wpbody-content .wp-list-table.plugins thead,#wpbody-content .wp-list-table.plugins tr{display:block;width:auto}.wp-list-table.plugins tfoot,.wp-list-table.plugins thead{position:absolute;top:-35px;right:0;left:0;width:auto;height:35px}.wp-list-table.plugins tfoot{bottom:-35px;top:auto}.active,.inactive{padding-top:0}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-top:13px;padding-bottom:4px}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column,.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title,.wp-list-table.plugins tbody th{-webkit-box-shadow:none;box-shadow:none}.plugins tbody{padding:1px 0 0}.plugins tr.active+tr.inactive td.column-description{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column{border-top:none}.wp-list-table.plugins .column-description{padding-top:0}.wp-list-table.plugins .column-description,.wp-list-table.plugins .manage-column.column-name,.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-left:12px;padding-right:46px}.wp-list-table.plugins tr{position:relative}.wp-list-table.plugins th.check-column,.wp-list-table.plugins tr.update th.check-column{position:absolute;height:auto;top:0;bottom:0;right:0;padding-right:2px;padding-top:18px}.wp-list-table.plugins tfoot th.check-column,.wp-list-table.plugins thead th.check-column{padding-right:3px;padding-top:11px;background:0 0}.widefat tbody th.check-column input[type=checkbox]{margin-top:-3px;margin-right:8px}.wp-list-table.plugins .active .check-column input,.wp-list-table.plugins .update .check-column input{margin-right:5px}.wp-list-table.plugins tfoot .check-column input,.wp-list-table.plugins thead .check-column input{margin-top:-6px}.wp-list-table.plugins .active th.check-column{background:0 0}.wp-list-table.plugins .plugin-title strong,.wp-list-table.plugins .theme-title strong{font-size:1.4em;line-height:1.6em}table.plugin-install .column-description,table.plugin-install .column-name,table.plugin-install .column-rating,table.plugin-install .column-version{display:block;width:auto}table.plugin-install th.column-description,table.plugin-install th.column-name,table.plugin-install th.column-rating,table.plugin-install th.column-version{display:none}table.plugin-install td.column-name strong{font-size:1.4em;line-height:1.6em}table.plugin-install #the-list td{-webkit-box-shadow:none;box-shadow:none}table.plugin-install #the-list tr{display:block;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}}#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-left:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments .spinner,#show-comments a{float:right}#lost-connection-notice .spinner{display:block;float:right;margin:0 0 0 5px}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0;background-color:#fff}#titlediv #title-prompt-text{color:#777;position:absolute;font-size:1.7em;padding:11px 10px}#wp-fullscreen-save .fs-saved{color:#999;float:left;margin-top:4px}#poststuff .inside-submitbox,#side-sortables .inside-submitbox{margin:0 3px;font-size:11px}input#link_description,input#link_url{width:98%}#pending{background:0 none;border:0;padding:0;font-size:11px;margin-top:-1px}#edit-slug-box{line-height:24px;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-left:10px;font-size:11px}#editable-post-name-full{display:none}#editable-post-name{background-color:#fffbcc}#editable-post-name input{font-size:13px;height:22px;margin:0;width:16em}.postarea h3 label{float:right}.submitbox .submit{text-align:right;padding:12px 10px 10px;font-size:11px;background-color:#464646;color:#ccc}.submitbox .submitdelete{text-decoration:none;padding:1px 2px}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:red;border-bottom-color:red}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-left:4px;padding:6px}.inside-submitbox #post_status{margin:2px -2px 2px 0}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{position:relative;min-width:255px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:0 0;border:0;float:left;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35em}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#333}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:10px 0}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:0 7px 5px}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0}#side-sortables .inside-submitbox .insidebox,.stuffbox .insidebox{margin:11px 0}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:1px solid transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #dfdfdf;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 5px}#postimagediv .inside img{max-width:100%;height:auto}form#tags-filter{position:relative}td.plugin-title strong,td.post-title strong{display:block;margin-bottom:.2em;font-size:14px}td.plugin-title p,td.post-title p{margin:6px 0}.ui-tabs-hide,.wp-hidden-children .wp-hidden-child{display:none}#post-body .tagsdiv #newtag{margin-left:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #e5e5e5;border-top:none;background-color:#f7f7f7;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:left}#editorcontent #post-status-info{border:none}#content-resize-handle{background:url(../images/resize.gif) no-repeat scroll left bottom;width:12px;cursor:row-resize}.rtl #content-resize-handle{background:url(../images/resize-rtl.gif) no-repeat scroll right bottom}.wp-editor-expand #content-resize-handle{display:none}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#wp-content-editor-container{position:relative}#content-textarea-clone{z-index:-1;position:absolute;top:0;visibility:hidden;overflow:hidden;max-width:100%;border:1px solid transparent}.wp-fullscreen-wrap #content-textarea-clone{display:none}.wp-fullscreen-wrap{padding-top:0!important}.wp-fullscreen-wrap .wp-editor-area{margin-top:0!important}.wp-fullscreen-wrap .mce-edit-area{padding-top:0!important}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #e5e5e5}.wp-editor-expand #wp-content-editor-container{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px;border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #e5e5e5}.wp-editor-expand div.mce-toolbar-grp{z-index:999}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{height:21px;line-height:14px;padding:0;vertical-align:top;font-size:12px}#aa,#hh,#jj,#mn{padding:1px;font-size:12px}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px;display:inline!important;height:auto!important}#misc-publishing-actions label[for=post_status]:before,#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:#888}#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:0;right:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}#post-body #visibility:before{content:'\f177'}.curtime #timestamp:before{content:'\f145';top:-1px}#post-body .misc-pub-revisions:before{content:'\f321'}#timestampdiv{padding-top:5px;line-height:23px}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{border-width:1px;border-style:solid}.notification-dialog{position:fixed;top:30%;right:50%;width:450px;margin-right:-225px;background:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005}.notification-dialog-background{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#post-lock-dialog .post-locked-message a.button{margin-left:10px}#post-lock-dialog .post-locked-avatar{float:right;margin:0 0 20px 20px}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:right;margin-left:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt,.attachmentlinks{margin:0;height:4em;width:98%}.tagchecklist{margin-right:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist strong{margin-right:-8px;position:absolute}.tagchecklist span{margin-left:25px;display:block;float:right;font-size:13px;line-height:1.8em;white-space:nowrap;cursor:default}.tagchecklist span a{margin:1px -17px 0 0;cursor:pointer;width:20px;height:20px;display:block;float:right;text-indent:0;overflow:hidden;position:absolute}#poststuff h2{margin-top:20px;font-size:1.5em;margin-bottom:15px;padding:0 0 3px;clear:right}#poststuff h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .inside{margin:6px 0 0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}#poststuff .inside label.deleted,#poststuff .inside label.spam{color:red}#poststuff .inside label.waiting{color:orange}#poststuff .inside label.approved{color:green}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}#post-visibility-select{line-height:1.5em;margin-top:3px}#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #dfdfdf;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-left:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:right;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-state-format{overflow:hidden;display:inline-block;vertical-align:middle;height:20px;width:20px;margin-left:5px;margin-top:-4px}.post-state-format:before{display:block;height:20px;width:20px;font:400 20px/1 dashicons!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon:before,.post-state-format:before{color:#ddd;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}a.post-format-icon:hover:before,a.post-state-format:hover:before{color:#2ea2cc}#post-formats-select{line-height:2em}#post-formats-select .post-format-icon:before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-right:0;padding:2px 0}.post-format-icon:before{position:relative;display:inline-block;margin-left:7px;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon.post-format-standard:before,.post-state-format.post-format-standard:before,a.post-state-format.format-standard:before{content:'\f109'}.post-format-icon.post-format-image:before,.post-state-format.post-format-image:before,a.post-state-format.format-image:before{content:'\f128'}.post-format-icon.post-format-gallery:before,.post-state-format.post-format-gallery:before,a.post-state-format.format-gallery:before{content:'\f161'}.post-format-icon.post-format-audio:before,.post-state-format.post-format-audio:before,a.post-state-format.format-audio:before{content:'\f127'}.post-format-icon.post-format-video:before,.post-state-format.post-format-video:before,a.post-state-format.format-video:before{content:'\f126'}.post-format-icon.post-format-chat:before,.post-state-format.post-format-chat:before,a.post-state-format.format-chat:before{content:'\f125'}.post-format-icon.post-format-status:before,.post-state-format.post-format-status:before,a.post-state-format.format-status:before{content:'\f130'}.post-format-icon.post-format-aside:before,.post-state-format.post-format-aside:before,a.post-state-format.format-aside:before{content:'\f123'}.post-format-icon.post-format-quote:before,.post-state-format.post-format-quote:before,a.post-state-format.format-quote:before{content:'\f122'}.post-format-icon.post-format-link:before,.post-state-format.post-format-link:before,a.post-state-format.format-link:before{content:'\f103'}.category-adder{margin-right:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:1px solid #dfdfdf;background-color:#fdfdfd}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-right:18px}ul.categorychecklist li{margin:0;padding:0;line-height:22px;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px;font-size:12px}.form-field input[type=email],.form-field input[type=number],.form-field input[type=password],.form-field input[type=search],.form-field input[type=tel],.form-field input[type=text],.form-field input[type=url],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}.form-wrap .form-field{margin:0 0 10px;padding:8px 0}.form-wrap .form-field #parent{max-width:100%}.col-wrap h3{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}.tagsdiv{margin-top:-8px}#poststuff .taghint{color:#aaa;margin:15px 12px -24px 0}#poststuff .tagsdiv .howto{margin:0 0 6px}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#post-body-content .tagsdiv .the-tags{margin:0 5px}.taghint{color:#aaa;margin:-17px 7px 0 0;visibility:hidden}input.newtag~div.taghint{visibility:visible}input.newtag:focus~div.taghint{visibility:hidden}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h3{margin:2px 0 12px}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;display:none;border:1px solid gray;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{padding:2px 5px;white-space:nowrap;color:#101010;text-align:right}.ac_over{background-color:#f0f0b8;cursor:pointer}.ac_match{text-decoration:underline}.comment-php .wp-editor-area{height:200px}.comment-ays{margin-bottom:0;border-bottom-style:solid;border-bottom-width:1px}.comment-ays .alt{background-color:transparent}.spam-undo-inside,.trash-undo-inside{margin:1px 0 1px 8px;line-height:16px}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-left:8px;vertical-align:middle}.stuffbox .editcomment{clear:none}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 0 5px 3px;vertical-align:middle}#comment-status-radio label{padding:5px 0}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:right;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td,.links-table th{padding:5px 0}.links-table td label{margin-left:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-2x.gif) no-repeat scroll left bottom;-webkit-background-size:11px 11px;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-rtl-2x.gif) no-repeat scroll left bottom}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-left:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px}#poststuff h3{padding:12px}.post-format-options{padding-left:0}.post-format-options a{margin-left:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-left:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist li{margin-bottom:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto;margin-bottom:15px}.tagchecklist{margin:25px 10px}.tagchecklist span{font-size:16px;line-height:120%}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:right!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-right:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding:6px 6px 6px 3px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}a.wp-switch-editor{font-size:16px;line-height:1em;margin:3px 7px 0 0;padding:12px 15px}#wp-content-media-buttons a{font-size:16px;line-height:37px;height:39px;padding:0 15px 0 20px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-top:-3px!important;margin-right:-5px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px}.misc-pub-section>a{float:left;font-size:16px}#delete-action,#publishing-action{line-height:47px}.comment-ays{border-bottom:none}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}}@media only screen and (max-width:500px){#wp-content-media-buttons a{font-size:14px;padding:0 10px}}.revisions-control-frame,.revisions-diff-frame{position:relative}.revisions-controls{padding-top:40px;height:100px;z-index:1}.revisions-controls input[type=checkbox]{position:relative;top:-1px;vertical-align:text-bottom}.revisions.pinned .revisions-controls{position:fixed;top:0;height:82px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-tickmarks{position:relative;margin:0 auto;height:.7em;top:7px;max-width:70%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background-color:#fff}.revisions-tickmarks>div{position:absolute;height:100%;border-right:1px solid #aaa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.revisions-tickmarks>div:first-child{border-width:0}.comparing-two-revisions .revisions-controls{height:140px}.comparing-two-revisions.pinned .revisions-controls{height:124px}.revisions .diff-error{position:absolute;text-align:center;margin:0 auto;width:100%;display:none}.revisions.diff-error .diff-error{display:block}.revisions .loading-indicator{position:absolute;vertical-align:middle;opacity:0;width:100%;width:-webkit-calc(100% - 30px);width:calc(100% - 30px);top:50%;top:-webkit-calc(50% - 10px);top:calc(50% - 10px);-webkit-transition:opacity .5s;transition:opacity .5s;filter:alpha(opacity=0)}body.folded .revisions .loading-indicator{margin-right:-32px}.revisions .loading-indicator span.spinner{display:block;margin:0 auto;float:none}.revisions.loading .loading-indicator{opacity:1;filter:alpha(opacity=100)}.revisions .diff{-webkit-transition:opacity .5s;transition:opacity .5s}.revisions.loading .diff{opacity:.5;filter:alpha(opacity=50)}.revisions.diff-error .diff{visibility:hidden}.revisions-meta{margin-top:20px;background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions.pinned .revisions-meta{-webkit-box-shadow:none;box-shadow:none}.revision-toggle-compare-mode{position:absolute;top:0;left:0}.comparing-two-revisions .revisions-next,.comparing-two-revisions .revisions-previous,.revisions-meta .diff-meta-to strong{display:none}.revisions-controls .author-card .date{color:#777}.revisions-controls .author-card.autosave{color:#d54e21}.revisions-controls .author-card .author-name{font-weight:700}.comparing-two-revisions .diff-meta-to strong{display:block}.revisions.pinned .revisions-buttons{padding:0 11px}.revisions-next,.revisions-previous{position:relative;z-index:1}.revisions-previous{float:right}.revisions-next{float:left}.revisions-controls .wp-slider{max-width:70%;margin:0 auto;top:-3px}.revisions-diff{padding:15px;background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff h3:first-child{margin-top:0}#revisions-meta-restored img,.post-revisions li img{vertical-align:middle}table.diff tbody tr td:nth-child(2){width:4%}table.diff{table-layout:fixed;width:100%;white-space:pre-wrap}table.diff col.content{width:auto}table.diff col.content.diffsplit{width:48%}table.diff col.diffsplit.middle{width:auto}table.diff col.ltype{width:30px}table.diff tr{background-color:transparent}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.618;padding:.5em;vertical-align:top;word-wrap:break-word}table.diff td h1,table.diff td h2,table.diff td h3,table.diff td h4,table.diff td h5,table.diff td h6{margin:0}table.diff .diff-addedline ins,table.diff .diff-deletedline del{text-decoration:none}table.diff .diff-deletedline{background-color:#ffe9e9}table.diff .diff-deletedline del{background-color:#faa}table.diff .diff-addedline{background-color:#e9ffe9}table.diff .diff-addedline ins{background-color:#afa}.diff-meta{padding:5px;clear:both;min-height:32px}.diff-title strong{line-height:32px;min-width:60px;text-align:left;float:right;margin-left:5px}.revisions-controls .author-card .author-info{font-size:12px;line-height:16px}.revisions-controls .author-card .author-info,.revisions-controls .author-card .avatar{float:right;margin-right:6px;margin-left:6px}.revisions-controls .author-card .byline{display:block;font-size:12px}.revisions-controls .author-card .avatar{vertical-align:middle}.diff-meta input.restore-revision{float:left;margin-right:6px;margin-left:6px;margin-top:4px}.diff-meta-from{display:none}.comparing-two-revisions .diff-meta-from{display:block}.revisions-tooltip{position:absolute;bottom:105px;margin-left:0;margin-right:-69px;z-index:0;max-width:350px;min-width:130px;padding:8px 4px;opacity:0}.revisions-tooltip.flipped{margin-right:0;margin-left:-70px}.revisions.pinned .revisions-tooltip{display:none!important}.comparing-two-revisions .revisions-tooltip{bottom:145px}.revisions-tooltip-arrow{width:70px;height:15px;overflow:hidden;position:absolute;right:0;margin-right:35px;bottom:-15px}.revisions-tooltip.flipped .revisions-tooltip-arrow{margin-right:0;margin-left:35px;right:auto;left:0}.revisions-tooltip-arrow>span{content:"";position:absolute;right:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.revisions-tooltip.flipped .revisions-tooltip-arrow>span{right:auto;left:20px}.ie8 .revisions-tooltip-arrow>span{right:15px;top:-25px;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"}.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow>span{left:25px}.revisions-tooltip,.revisions-tooltip-arrow>span{border:1px solid #d7d7d7;background-color:#fff}.revisions-tooltip{display:none}.arrow{width:70px;height:16px;overflow:hidden;position:absolute;right:0;margin-right:-35px;bottom:90px;z-index:10000}.arrow:after{z-index:9999;background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.arrow.top{top:-16px;bottom:auto}.arrow.left{right:20%}.arrow:after{content:"";position:absolute;right:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.revisions-tooltip,.revisions-tooltip-arrow:after{border-width:1px;border-style:solid}div.revisions-controls>.wp-slider>.ui-slider-handle{margin-right:-10px}.rtl div.revisions-controls>.wp-slider>.ui-slider-handle{margin-left:-10px}.wp-slider.ui-slider{position:relative;border:1px solid #d7d7d7;text-align:right;cursor:pointer}.wp-slider .ui-slider-handle{-webkit-border-radius:50%;border-radius:50%;height:18px;margin-top:-3px;outline:0;position:absolute;width:18px;z-index:2}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#2ea2cc;border:1px solid #0074a2;-webkit-box-shadow:inset 0 1px 0 #78c8e6,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #78c8e6,0 1px 0 rgba(0,0,0,.15)}.wp-slider .ui-slider-handle:before{background:0 0;position:absolute;top:0;right:0;color:#fff;content:"\f229";font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{font-size:20px!important;margin:-1px -1px 0 0}.wp-slider .ui-slider-handle.from-handle:before{content:'\f139'}.rtl .wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{content:'\f141'}.rtl .wp-slider .ui-slider-handle.to-handle:before{content:'\f139';left:-1px}.wp-slider .ui-slider-range{position:absolute;font-size:.7em;display:block;border:0;background-color:transparent;background-image:none}.wp-slider.ui-slider-horizontal{height:.7em}.wp-slider.ui-slider-horizontal .ui-slider-handle{top:-.25em;margin-right:-.6em}.wp-slider.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.wp-slider.ui-slider-horizontal .ui-slider-range-min{right:0}.wp-slider.ui-slider-horizontal .ui-slider-range-max{left:0}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.revision-tick.completed-false{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){#diff-next-revision,#diff-previous-revision{margin-top:-1em}table.diff{-ms-word-break:break-all;word-break:break-all;word-wrap:break-word}}.media-item .describe{border-collapse:collapse;width:100%;border-top:1px solid #dfdfdf;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:right;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .media-item-info tr{background-color:transparent}.media-item .describe td{padding:0 0 8px 8px;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 10px 0 0}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-left:6px;margin-right:2px}.media-upload-form .align .field label{display:inline;padding:0 23px 0 0;margin:0 3px 0 1em;font-weight:600}.media-upload-form tr.image-size label{margin:0 5px 0 0;font-weight:600}.media-upload-form th.label label{font-weight:600;margin:.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}.media-item .describe input[type=text],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 5px 0 0}.describe-toggle-off,.describe-toggle-on,.media-item .edit-attachment{display:block;line-height:36px;float:left;margin-left:10px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}.media-upload-form .media-item{min-height:36px;margin-bottom:1px;position:relative;width:100%;background:#fff}.media-upload-form .media-item,.media-upload-form .media-item .error{-webkit-box-shadow:0 1px 0 #dfdfdf;box-shadow:0 1px 0 #dfdfdf}#media-items:empty{border:0}.media-item .filename{line-height:36px;overflow:hidden;margin-right:6px}.media-item .pinkynail{float:right;margin:2px 3px 0 10px;max-width:40px;max-height:32px}.media-item .startclosed,.media-item .startopen{display:none}.media-item .original{position:relative;height:34px}.media-item .progress{float:left;height:22px;margin:7px 6px;width:200px;line-height:2em;padding:0;overflow:hidden;-webkit-border-radius:22px;border-radius:22px;background:#ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-22px;-webkit-border-radius:22px;border-radius:22px;background-color:#0074a2;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.3);box-shadow:inset 0 0 2px rgba(0,0,0,.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0;color:#fff;text-align:center;line-height:22px;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.2)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #plupload-upload-ui{display:none}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item .error,.media-upload-form .media-item.error{width:auto;margin:0 0 1px}.media-upload-form .media-item .error{padding:10px 14px 10px 0}.media-item .error-div a.dismiss{display:block;float:left;margin:0 15px 0 10px}.find-box{background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);width:600px;overflow:hidden;margin-right:-300px;position:fixed;top:30px;bottom:30px;right:50%;z-index:100105}.find-box-head{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 16px 0 36px;position:absolute;top:0;right:0;left:0}.find-box-inside{overflow:auto;padding:16px;background-color:#fff;position:absolute;top:37px;bottom:45px;overflow-y:scroll;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.find-box-search{padding-bottom:16px}.find-box-search .spinner{float:none;right:110px;position:absolute;top:2px}#find-posts-response,.find-box-search{position:relative}#find-posts-input,#find-posts-search{float:right}#find-posts-input{width:140px;height:28px;margin:0 0 0 4px}.widefat .found-radio{padding-left:0;width:16px}#find-posts-close{width:36px;height:36px;position:absolute;top:0;left:0;cursor:pointer;text-align:center;color:#666}#find-posts-close:hover{color:#2ea2cc}#find-posts-close:before{font:400 20px/36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f158'}.find-box-buttons{padding:8px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;position:absolute;bottom:0;right:0;left:0}@media screen and (max-width:782px){.find-box-inside{bottom:57px}}@media screen and (max-width:660px){.find-box{top:0;bottom:0;right:0;left:0;margin:0;width:100%}}.ui-find-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-.5em 0 2em}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.8em;word-spacing:3px;-webkit-border-radius:6px;border-radius:6px}.drag-drop #drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#aaa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.media-frame.mode-grid,.media-frame.mode-grid .attachments-browser .attachments,.media-frame.mode-grid .media-frame-content,.media-frame.mode-grid .uploader-inline-content{position:static}.media-frame.mode-grid .media-frame-menu,.media-frame.mode-grid .media-frame-router,.media-frame.mode-grid .media-frame-title{display:none}.media-frame.mode-grid .media-frame-content{background-color:transparent;border:none}.upload-php .mode-grid .media-sidebar{position:relative;width:auto;margin-bottom:16px;padding:0 16px;border:1px solid #c00;background-color:#feebe8}.upload-php .mode-grid .hide-sidebar .media-sidebar{display:none}.upload-php .mode-grid .media-sidebar .media-uploader-status{border-bottom:none;padding-bottom:0;max-width:100%}.upload-php .mode-grid .media-sidebar .upload-error{margin:20px 0;padding:0;border:none;background:0 0}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors{font-size:0;top:-12px;left:-10px}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before{content:"\f158";font:400 20px/1 dashicons;color:#666}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before{color:#2ea2cc}.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3{display:none}.media-frame.mode-grid .uploader-inline{position:relative;top:auto;left:auto;right:auto;bottom:auto;padding-top:0;margin-top:0;border:4px dashed #bbb}.media-frame.mode-select .attachments-browser.fixed .attachments{position:relative;top:94px;padding-bottom:94px}.media-frame.mode-grid .attachment.details:focus,.media-frame.mode-grid .attachment:focus,.media-frame.mode-grid .selected.attachment:focus{-webkit-box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;outline:0}.media-frame.mode-grid .selected.attachment{-webkit-box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc;box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc}.media-frame.mode-grid .attachment.details{-webkit-box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe;box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe}.media-frame.mode-grid.mode-select .attachment .thumbnail{opacity:.65}.media-frame.mode-select .attachment.selected .thumbnail{opacity:1}.media-frame.mode-grid .media-toolbar{margin-bottom:15px;height:auto}.media-frame.mode-grid .media-toolbar select{margin:0 0 0 10px;font-size:14px}.media-frame.mode-grid .media-toolbar-secondary>.media-button{margin-top:10px;margin-bottom:10px}.media-frame.mode-grid .attachments-browser .bulk-select{display:inline-block;margin:0 0 0 10px}.media-frame.mode-grid .search{margin-top:0}.media-frame.mode-grid .spinner{margin-top:15px}.attachments-browser .media-toolbar-secondary>.select-mode-toggle-button{margin-left:10px}.media-frame.mode-select .attachments-browser.fixed .media-toolbar{position:fixed;top:32px;right:auto;left:20px;margin-top:0}.media-frame.mode-grid .attachments-browser{padding:0}.media-frame.mode-grid .attachments-browser .attachments{padding:2px}.media-frame.mode-grid .attachments-browser .no-media{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.edit-attachment-frame{display:block;height:100%;width:100%}.edit-attachment-frame .edit-media-header{overflow:hidden}.upload-php .media-modal-close .media-modal-icon:before{content:'\f335';font-size:22px}.upload-php .media-modal-close .media-modal-icon{margin:14px;width:22px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{cursor:pointer;color:#777;background-color:transparent;height:50px;width:50px;padding:0;position:absolute;text-align:center;border:0;border-right:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.upload-php .media-modal-close{top:0;left:0}.edit-attachment-frame .edit-media-header .left{left:102px}.edit-attachment-frame .edit-media-header .right{left:51px}.edit-attachment-frame .media-frame-title{right:0;left:150px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .left:hover,.edit-attachment-frame .edit-media-header .right:focus,.edit-attachment-frame .edit-media-header .right:hover,.upload-php .media-modal-close:focus,.upload-php .media-modal-close:hover{background:#ddd;border-color:#ccc;color:#000;outline:0}.upload-php .media-modal-close:focus .media-modal-icon:before,.upload-php .media-modal-close:hover .media-modal-icon:before{color:#000}.edit-attachment-frame .edit-media-header .left:before,.rtl .edit-attachment-frame .edit-media-header .right:before{content:'\f341'}.edit-attachment-frame .edit-media-header .right:before,.rtl .edit-attachment-frame .edit-media-header .left:before{content:'\f345'}.edit-attachment-frame .edit-media-header .left.disabled,.edit-attachment-frame .edit-media-header .left.disabled:hover,.edit-attachment-frame .edit-media-header .right.disabled,.edit-attachment-frame .edit-media-header .right.disabled:hover{color:#ccc;background:inherit;cursor:default;pointer-events:none}.edit-attachment-frame .media-frame-content,.edit-attachment-frame .media-frame-router{right:0}.edit-attachment-frame .media-frame-content{border-bottom:none;bottom:0;top:50px}.edit-attachment-frame .attachment-details{position:absolute;overflow:auto;top:0;bottom:0;left:0;right:0;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1)}.edit-attachment-frame .attachment-media-view{float:right;width:65%;height:100%}.edit-attachment-frame .attachment-media-view .thumbnail{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px;height:100%}.edit-attachment-frame .attachment-media-view .details-image{display:block;margin-bottom:16px;max-width:100%;max-height:90%;max-height:-webkit-calc(100% - 42px);max-height:calc(100% - 42px)}.edit-attachment-frame .wp-media-wrapper{margin-bottom:12px}.edit-attachment-frame input,.edit-attachment-frame textarea{padding:6px 8px;line-height:16px}.edit-attachment-frame .attachment-info{overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:12px 16px 0;width:35%;height:100%;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);border-bottom:0;border-right:1px solid #ddd;background:#f3f3f3}.edit-attachment-frame .attachment-info .details,.edit-attachment-frame .attachment-info .settings{position:relative;overflow:hidden;float:none;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ddd}.edit-attachment-frame .attachment-info .filename{font-weight:400;color:#666}.edit-attachment-frame .attachment-info .thumbnail{margin-bottom:12px}.attachment-info .actions{margin-bottom:16px}.attachment-info .actions a{display:inline;text-decoration:none}.wp_attachment_details label[for=content]{font-size:13px;line-height:1.5;margin:1em 0}.wp_attachment_details #attachment_caption{height:4em}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}.imgedit-settings p{margin:8px 0 0}.describe .imgedit-wrap .imgedit-settings{padding:0 5px}.wp_attachment_holder div.updated{margin-top:0}.wp_attachment_holder .imgedit-wrap>div{height:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content{padding-left:16px;width:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:left;width:250px}.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:#fff url(../images/spinner.gif) no-repeat center;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.no-float{float:none}.imgedit-settings .disabled,.media-disabled{color:grey}.A1B1,.wp_attachment_image{overflow:hidden}.A1B1 .button,.wp_attachment_image .button{float:right}.no-js .wp_attachment_image .button{display:none}.A1B1 .spinner,.wp_attachment_image .spinner{float:right;padding:0 0 4px;vertical-align:bottom}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:right;width:32px;border:1px solid #d5d5d5;background:#f1f1f1;margin:0 0 0 8px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:28px;color:#777;cursor:pointer}.imgedit-menu div:before{font:400 20px/1 dashicons;speak:none;vertical-align:middle}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;color:#333}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;color:#777;filter:alpha(opacity=50);opacity:.5;cursor:default}.imgedit-crop:before{content:'\f165'}.imgedit-rleft:before{content:'\f166'}.imgedit-rright:before{content:'\f167'}.imgedit-flipv:before{content:'\f168'}.imgedit-fliph:before{content:'\f169'}.imgedit-undo:before{content:'\f171'}.imgedit-redo:before{content:'\f172'}.imgedit-crop-wrap{position:relative}.imgedit-crop{margin:0 0 0 8px}.imgedit-rleft{margin:0 3px}.imgedit-rright{margin:0 3px 0 8px}.imgedit-flipv{margin:0 3px}.imgedit-fliph{margin:0 3px 0 8px}.imgedit-undo{margin:0 3px}.imgedit-redo{margin:0 3px 0 8px}.imgedit-applyto img{margin:0 0 0 8px}.imgedit-group-top{margin:5px 0}#poststuff .imgedit-group-top h3{padding:0}.imgedit-group-top h3 a{text-decoration:none}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic}a.imgedit-help-toggle{text-decoration:none}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0}.imgedit-submit-btn{margin-right:20px}.imgedit-wrap .nowrap{white-space:nowrap}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.imgedit-group{margin-bottom:8px;padding:2px 10px}audio,video{display:inline-block;max-width:100%}.mejs-container{width:100%;max-width:100%}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.imgedit-wait{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.wp_attachment_details label[for=content]{font-size:14px;line-height:1.5em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{font-size:13px;line-height:1.5}.media-upload-form .media-item.error{padding:1px 10px}.media-upload-form .media-item .error{padding:10px 12px 10px 0}}@media only screen and (max-width:1120px){.media-frame.mode-grid .attachments-browser .media-toolbar-secondary{float:none}}@media only screen and (max-width:782px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:46px;left:10px}}@media only screen and (max-width:600px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:0}}@media only screen and (max-width:480px){.edit-attachment-frame .media-frame-title{left:110px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{width:40px;height:40px}.upload-php .media-modal-close .media-modal-icon{margin:9px 10px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{line-height:40px!important}.edit-attachment-frame .edit-media-header .left{left:82px}.edit-attachment-frame .edit-media-header .right{left:41px}.edit-attachment-frame .media-frame-content{top:40px}.edit-attachment-frame .attachment-media-view{float:none;height:auto;width:100%}.edit-attachment-frame .attachment-info{height:auto;width:100%}}@media only screen and (max-width:640px),screen and (max-height:400px){.upload-php .mode-grid .media-sidebar{max-width:100%}}.theme-browser .themes{clear:both;padding:0 0 100px}.themes-php .wrap h2{float:right;margin-bottom:15px}.network-admin.themes-php .wrap h2{margin-bottom:0}.themes-php .wrap h2 .button{margin-right:20px}.themes-php .wp-filter-search{position:relative;top:-2px;right:20px;margin:0;width:280px;font-size:16px;font-weight:300;line-height:1.5}.themes-php div.error,.themes-php div.updated{margin:0 0 20px;clear:both}.themes-php div.updated a{text-decoration:underline}.theme-browser .theme{cursor:pointer;float:right;margin:0 0 4% 4%;position:relative;width:30.6%;border:1px solid #dedede;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ie8 .theme-browser .theme{width:30%;margin:0 0 4% 3%}.theme-browser .theme:nth-child(3n){margin-left:0}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:pointer}.theme-browser .theme .theme-name{font-size:15px;font-weight:600;height:18px;margin:0;padding:15px;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;background:rgba(255,255,255,.65)}.theme-browser .theme .theme-actions{-ms-filter:"alpha(Opacity=0)";opacity:0;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out;position:absolute;bottom:0;left:0;height:38px;padding:9px 10px 0;background:rgba(244,244,244,.7);border-right:1px solid rgba(0,0,0,.05)}.theme-browser .theme.focus .theme-actions,.theme-browser .theme:focus .theme-actions,.theme-browser .theme:hover .theme-actions{-ms-filter:"alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-actions .button-primary{margin-left:3px}.theme-browser .theme .theme-actions .button-secondary{float:none;margin-right:3px}.theme-browser .theme .theme-screenshot{display:block;overflow:hidden;position:relative;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme .theme-screenshot:after{content:'';display:block;padding-top:66.66666%}.theme-browser .theme .theme-screenshot img{height:auto;position:absolute;right:0;top:0;width:100%;-webkit-transform:translateZ(0);-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme:focus .theme-screenshot,.theme-browser .theme:hover .theme-screenshot{background:#fff}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:.4}.theme-browser .theme .more-details{-ms-filter:"alpha(Opacity=0)";opacity:0;position:absolute;top:35%;left:25%;right:25%;background:#222;background:rgba(0,0,0,.7);color:#fff;font-size:15px;text-shadow:0 1px 0 rgba(0,0,0,.6);-webkit-font-smoothing:antialiased;font-weight:600;padding:15px 12px;text-align:center;-webkit-border-radius:3px;border-radius:3px;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.theme-browser .theme:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}.theme-browser .theme:focus .more-details{opacity:1}.theme-browser .theme.active:focus .theme-actions{display:block}.theme-browser.rendered .theme:focus .more-details,.theme-browser.rendered .theme:hover .more-details{-ms-filter:"alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-installed,.theme-browser .theme .theme-update{background:#d54e21;background:rgba(213,78,33,.95);color:#fff;display:block;font-size:13px;font-weight:400;height:48px;line-height:48px;padding:0 10px;position:absolute;top:0;left:0;right:0;border-bottom:1px solid rgba(0,0,0,.25);overflow:hidden}.theme-browser .theme .theme-installed:before,.theme-browser .theme .theme-update:before{content:'\f463';display:inline-block;font:400 20px/1 dashicons;margin:0 0 0 6px;opacity:.8;position:relative;top:5px;speak:none;-webkit-font-smoothing:antialiased}.theme-browser .theme.active .theme-name{background:#2f2f2f;color:#fff;padding-left:110px;font-weight:300;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.5)}.theme-browser .theme.active .theme-name span{font-weight:600}.theme-browser .theme.active .theme-actions{background:rgba(49,49,49,.7);border-right:none;opacity:1}.theme-browser .theme.active .theme-actions .button-primary{margin-left:0}.theme-browser .theme .theme-author{background:#222;color:#eee;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute;bottom:56px}.theme-browser .theme.display-author .theme-author{display:block}.theme-browser .theme.display-author .theme-author a{color:inherit;text-decoration:none}.theme-browser .theme.add-new-theme{border:none;-webkit-box-shadow:none;box-shadow:none}.theme-browser .theme.add-new-theme a{color:#999;text-decoration:none;display:block;position:relative;z-index:1}.theme-browser .theme.add-new-theme:after{display:block;content:'';-ms-filter:"alpha(Opacity=100)";opacity:1;background:0 0;position:absolute;top:0;right:0;left:0;bottom:0;padding:10% 0 0;text-shadow:none;border:5px dashed #d5d2ca;border:5px dashed rgba(0,0,0,.1);-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.theme-browser .theme.add-new-theme span:after{background:#e5e5e5;background:rgba(153,153,153,.1);-webkit-border-radius:50%;border-radius:50%;display:inline-block;content:'\f132';-webkit-font-smoothing:antialiased;font:400 74px/115px dashicons;width:100px;height:100px;vertical-align:middle;text-align:center;color:#999;position:absolute;top:30%;right:50%;margin-right:-50px;text-indent:-4px;padding:0;text-shadow:none;z-index:4}.rtl .theme-browser .theme.add-new-theme span:after{text-indent:4px}.theme-browser .theme.add-new-theme:focus .theme-screenshot,.theme-browser .theme.add-new-theme:hover .theme-screenshot{background:0 0}.theme-browser .theme.add-new-theme:focus span:after,.theme-browser .theme.add-new-theme:hover span:after{background:#fff;color:#0074a2}.theme-browser .theme.add-new-theme:focus:after,.theme-browser .theme.add-new-theme:hover:after{border-color:transparent;color:#fff;background:#0074a2;content:''}.theme-browser .theme.add-new-theme .theme-name{background:0 0;text-align:center;-webkit-box-shadow:none;box-shadow:none;font-weight:400;position:relative;top:0;margin-top:-10%;margin-bottom:10%}.theme-browser .theme.add-new-theme:focus .theme-name,.theme-browser .theme.add-new-theme:hover .theme-name{color:#fff;z-index:2}.theme-overlay .theme-backdrop{position:absolute;right:-20px;left:0;top:0;bottom:0;background:#f1f1f1;background:rgba(238,238,238,.9);z-index:10}.theme-overlay .theme-header{position:absolute;top:0;right:0;left:0;height:48px;border-bottom:1px solid #ddd}.theme-overlay .theme-header .close{cursor:pointer;height:48px;width:50px;text-align:center;float:left;border:0;border-right:1px solid #ddd;background-color:transparent;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:before{font:400 22px/50px dashicons!important;color:#777;display:inline-block;content:'\f335';font-weight:300}.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{cursor:pointer;color:#777;background-color:transparent;height:48px;width:54px;float:right;text-align:center;border:0;border-left:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .close:hover,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .left:hover,.theme-overlay .theme-header .right:focus,.theme-overlay .theme-header .right:hover{background:#ddd;border-color:#ccc;color:#000}.theme-overlay .theme-header .close:focus:before,.theme-overlay .theme-header .close:hover:before{color:#000}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .right:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.theme-overlay .theme-header .left.disabled,.theme-overlay .theme-header .left.disabled:hover,.theme-overlay .theme-header .right.disabled,.theme-overlay .theme-header .right.disabled:hover{color:#ccc;background:inherit;cursor:inherit}.theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.rtl .theme-overlay .theme-header .right:before,.theme-overlay .theme-header .left:before{content:'\f341'}.rtl .theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{content:'\f345'}.theme-overlay .theme-wrap{clear:both;position:fixed;top:9%;right:190px;left:30px;bottom:3%;background:#fff;-webkit-box-shadow:0 1px 20px 5px rgba(0,0,0,.1);box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:20;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.theme-overlay .theme-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}body.folded .theme-overlay .theme-wrap{right:70px}.theme-overlay .theme-about{position:absolute;top:49px;bottom:57px;right:0;left:0;overflow:auto;padding:2% 4%}.theme-overlay .theme-about:after{content:".";display:block;height:0;clear:both;visibility:hidden}.theme-overlay .theme-actions{position:absolute;text-align:center;bottom:0;right:0;left:0;padding:10px 25px 5px;background:#f3f3f3;z-index:30;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #eee}.ie8 .theme-overlay .theme-actions{border:1px solid #eee}.theme-overlay .theme-actions a{margin-left:5px;margin-bottom:5px}.theme-overlay .theme-actions .delete-theme{color:#a00;position:absolute;left:10px;bottom:5px;text-decoration:none;border-color:transparent;-webkit-box-shadow:none;box-shadow:none;background:0 0}.theme-overlay .theme-actions .delete-theme:focus,.theme-overlay .theme-actions .delete-theme:hover{background:#d54e21;color:#fff;border-color:#d54e21}.theme-overlay .theme-actions .active-theme,.theme-overlay.active .theme-actions .inactive-theme{display:none}.theme-overlay .theme-actions .inactive-theme,.theme-overlay.active .theme-actions .active-theme{display:block}.theme-overlay .theme-screenshots{float:right;margin:0 0 0 30px;width:55%;max-width:880px;text-align:center}.theme-overlay .screenshot{border:1px solid #fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(0,0,0,.2)}.theme-overlay .screenshot:after{content:'';display:block;padding-top:75%}.theme-overlay .screenshot img{height:auto;position:absolute;right:0;top:0;width:100%}.theme-overlay.small-screenshot .theme-screenshots{position:absolute;width:302px}.theme-overlay.small-screenshot .theme-info{margin-right:350px;width:auto}.theme-overlay .screenshot.thumb{background:#ccc;border:1px solid #eee;float:none;display:inline-block;margin:10px 5px 0;width:140px;height:80px;cursor:pointer}.theme-overlay .screenshot.thumb:after{content:'';display:block;padding-top:100%}.theme-overlay .screenshot.thumb img{cursor:pointer;position:absolute;right:0;top:0;width:100%;height:auto}.theme-overlay .screenshot.selected{background:0 0;border:2px solid #2ea2cc}.theme-overlay .screenshot.selected img{opacity:.8}.theme-browser .theme .theme-screenshot.blank,.theme-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.theme-overlay .theme-info{width:40%;float:right}.theme-overlay .current-label{background:#333;color:#fff;font-size:11px;display:inline-block;padding:2px 8px;-webkit-border-radius:2px;border-radius:2px;margin:0 0 -10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.theme-overlay .theme-name{color:#222;font-size:32px;font-weight:100;margin:10px 0 0;line-height:1.3}.theme-overlay .theme-version{color:#999;font-size:13px;font-weight:400;float:none;display:inline-block;margin-right:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.theme-overlay .theme-author{color:#686868;font-size:16px;font-weight:400;margin:15px 0 25px}.theme-overlay .theme-author a{text-decoration:none}.theme-overlay .theme-description{color:#555;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.theme-overlay .theme-tags{border-top:3px solid #eee;color:#888;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.theme-overlay .theme-tags span{color:#444;font-weight:700;margin-left:5px}.theme-overlay .theme-update-message{background:#fef7f1;border:1px solid #eee;border-right:4px solid #d54e21;-webkit-border-radius:3px;border-radius:3px;padding:5px 20px 10px}.theme-overlay .theme-update{color:#222;font-size:18px;display:inline-block;line-height:40px;margin:0}.theme-overlay .parent-theme{background:#f7fcfe;border:1px solid #eee;border-right:4px solid #2ea2cc;font-size:14px;font-weight:400;margin-top:30px;padding:10px 20px 10px 10px}.theme-overlay .parent-theme strong{font-weight:700}.single-theme .theme,.single-theme .theme-overlay .theme-backdrop,.single-theme .theme-overlay .theme-header{display:none}.single-theme .theme-overlay .theme-wrap{clear:both;min-height:330px;position:relative;right:auto;left:auto;top:auto;bottom:auto}.single-theme .theme-overlay .theme-about{padding:30px 30px 70px;position:static}.single-theme .theme-overlay .theme-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .theme-browser .theme{width:17.6%;margin:0 0 3% 3%}#wpwrap .theme-browser .theme:nth-child(3n),#wpwrap .theme-browser .theme:nth-child(4n){margin-left:3%}#wpwrap .theme-browser .theme:nth-child(5n){margin-left:0}}@media only screen and (min-width:1680px){.theme-overlay .theme-wrap{width:1450px;margin:0 auto}}@media only screen and (min-width:1640px){.theme-browser .theme{width:22.7%;margin:0 0 3% 3%}.theme-browser .theme .theme-screenshot:after{padding-top:75%}.theme-browser .theme:nth-child(3n){margin-left:3%}.theme-browser .theme:nth-child(4n){margin-left:0}}@media only screen and (max-width:1120px){.theme-browser .theme{width:47.5%;margin-left:0}.theme-browser .theme:nth-child(even){margin-left:0}.theme-browser .theme:nth-child(odd){margin-left:5%}}@media only screen and (max-width:900px){.theme-overlay .theme-wrap{right:65px}}@media only screen and (max-width:780px){.theme-overlay .theme-wrap,body.folded .theme-overlay .theme-wrap{top:0;left:0;bottom:0;right:0;padding:70px 20px 20px;border:none;z-index:500;position:fixed}.theme-browser .theme.active .theme-name span{display:none}.theme-overlay .theme-screenshots{width:40%}.theme-overlay .theme-info{width:50%}.single-theme .theme-wrap{padding:10px}.theme-browser .theme .theme-actions{padding:5px 10px 4px}.theme-overlay.small-screenshot .theme-screenshots{position:static;float:none;max-width:302px}.theme-overlay.small-screenshot .theme-info{margin-right:0;width:auto}.theme:focus .more-details,.theme:hover .more-details,.theme:not(.active):focus .theme-actions,.theme:not(.active):hover .theme-actions{display:none}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:1}}@media only screen and (max-width:480px){.theme-browser .theme{width:100%;margin-left:0}.theme-browser .theme:nth-child(2n),.theme-browser .theme:nth-child(3n){margin-left:0}}@media only screen and (max-width:650px){.theme-overlay .theme-description,.theme-overlay .theme-update{margin-right:0}.theme-overlay .theme-actions .delete-theme{position:relative;left:auto;bottom:auto}.theme-overlay .theme-actions .inactive-theme{display:inline}.theme-overlay .theme-screenshots{width:100%;float:none}.theme-overlay .theme-info{width:100%}.theme-overlay .theme-author{margin:5px 0 15px}.theme-overlay .current-label{margin-top:10px;font-size:13px}.themes-php .wrap h2{width:100%}.themes-php .wp-filter-search{float:none;clear:both;right:0;top:0;left:0;margin:10px 0;width:100%}.theme-browser .theme.add-new-theme span:after{font:400 60px/90px dashicons;width:80px;height:80px;top:30%;right:50%;text-indent:0;margin-right:-40px}.single-theme .theme-wrap{margin:0 -10px 0 -12px;padding:10px}.single-theme .theme-overlay .theme-about{padding:10px;overflow:visible}.single-theme .current-label{display:none}.single-theme .theme-overlay .theme-actions{position:static}}.broken-themes{clear:both}.broken-themes table{text-align:right;width:50%;border-spacing:3px;padding:3px}.theme-browser .theme .theme-installed{background:#0074a2}.theme-browser .theme .theme-installed:before{content:'\f147'}.theme-browser .theme.is-installed .theme-actions .button-primary{display:none!important}.theme-install-php a.browse-themes,.theme-install-php a.upload{cursor:pointer}.theme-install-php a.browse-themes,.theme-install-php.show-upload-theme a.upload{display:none}.theme-install-php.show-upload-theme a.browse-themes{display:inline}.upload-plugin,.upload-theme{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:none;margin:0;padding:0;width:100%;overflow:hidden;position:relative;top:10px}.upload-plugin,body.show-upload-theme .upload-theme{display:block}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{background:#fafafa;border:1px solid #e5e5e5;padding:30px;margin:30px auto;max-width:380px}.upload-plugin .install-help,.upload-theme .install-help{color:#999;font-size:18px;font-style:normal;margin:0;padding:40px 0 0;text-align:center}body.show-upload-theme .upload-theme+.wp-filter,body.show-upload-theme .upload-theme+.wp-filter+.theme-browser{display:none}p.no-themes{color:#999;font-size:18px;font-style:normal;margin:0;padding:0;text-align:center;display:none}body.no-results p.no-themes{display:block}.theme-install-php .add-new-theme,body.show-upload-theme p.no-themes{display:none!important}@media only screen and (max-width:1120px){.upload-theme .wp-upload-form{margin:20px 0;max-width:100%}.upload-theme .install-help{font-size:15px;padding:20px 0 0;text-align:right}}.rating{margin:30px 0}.rating span:before{color:#e6b800;content:"\f154";display:inline-block;-webkit-font-smoothing:antialiased;font:400 20px/1 dashicons;vertical-align:top}.rating-10 span.one:before,.rating-30 span.two:before,.rating-50 span.three:before,.rating-70 span.four:before,.rating-90 span.five:before{content:"\f459"}.rating-100 span.five:before,.rating-100 span.four:before,.rating-100 span.one:before,.rating-100 span.three:before,.rating-100 span.two:before,.rating-20 span.one:before,.rating-30 span.one:before,.rating-40 span.one:before,.rating-40 span.two:before,.rating-50 span.one:before,.rating-50 span.two:before,.rating-60 span.one:before,.rating-60 span.three:before,.rating-60 span.two:before,.rating-70 span.one:before,.rating-70 span.three:before,.rating-70 span.two:before,.rating-80 span.four:before,.rating-80 span.one:before,.rating-80 span.three:before,.rating-80 span.two:before,.rating-90 span.four:before,.rating-90 span.one:before,.rating-90 span.three:before,.rating-90 span.two:before{content:"\f155"}.rating .ratings{display:inline;margin-right:10px;line-height:20px;color:#999}.appearance_page_custom-header #headimg{border:1px solid #DFDFDF;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:right;margin:0 0 20px 20px}.appearance_page_custom-header .random-header{clear:both;margin:0 0 20px 20px;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-left:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{min-height:100px;border:1px solid #dfdfdf}div#custom-background-image img{max-width:400px;max-height:300px}body.full-overlay-active{overflow:hidden}.wp-full-overlay{background:0 0;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;right:0;left:0;height:100%;min-width:0}.wp-full-overlay-sidebar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;width:300px;height:100%;top:0;bottom:0;right:0;padding:0;margin:0;z-index:10;overflow:auto;background:#eee;border-left:none}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-right:0!important}.wp-full-overlay.expanded{margin-right:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{margin-right:-300px}.wp-full-overlay-sidebar:after{content:'';display:block;position:absolute;top:0;bottom:0;left:0;width:3px;z-index:1000}.wp-full-overlay-main{position:absolute;right:0;left:0;top:0;bottom:0;height:100%}.wp-full-overlay-sidebar .wp-full-overlay-header{position:absolute;right:0;left:0;height:45px;padding:0 15px;line-height:45px;z-index:10;margin:0;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{bottom:0;border-bottom:none;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{position:absolute;top:45px;bottom:45px;right:0;left:0;overflow:auto}.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{display:block;position:relative;float:right;width:45px;height:45px;padding-left:2px;background:#eee;border-left:1px solid #ddd;color:#444;cursor:pointer;text-decoration:none;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-install-overlay .close-full-overlay:focus,.theme-install-overlay .close-full-overlay:hover,.theme-install-overlay .next-theme:focus,.theme-install-overlay .next-theme:hover,.theme-install-overlay .previous-theme:focus,.theme-install-overlay .previous-theme:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.theme-install-overlay .close-full-overlay:before{font:400 22px/1 dashicons;content:"\f335";position:relative;top:7px;right:13px}.theme-install-overlay .previous-theme:before{font:400 20px/1 dashicons;content:"\f341";position:relative;top:6px;right:14px}.theme-install-overlay .next-theme:before{font:400 20px/1 dashicons;content:"\f345";position:relative;top:6px;right:13px}.theme-install-overlay .next-theme.disabled,.theme-install-overlay .next-theme.disabled:focus,.theme-install-overlay .next-theme.disabled:hover,.theme-install-overlay .previous-theme.disabled,.theme-install-overlay .previous-theme.disabled:focus,.theme-install-overlay .previous-theme.disabled:hover{color:#bbb;background:#eee;cursor:default;pointer-events:none}.rtl .theme-install-overlay .previous-theme:before{content:"\f345"}.rtl .theme-install-overlay .next-theme:before{content:"\f341"}.wp-full-overlay a.collapse-sidebar{position:absolute;bottom:12px;right:0;z-index:50;display:block;width:19px;height:19px;margin-right:15px;padding:0;-webkit-border-radius:50%;border-radius:50%;color:#777;text-decoration:none}.wp-full-overlay a.collapse-sidebar:hover{color:#0074a2}.wp-full-overlay.collapsed .collapse-sidebar{position:absolute;right:100%}.wp-full-overlay .collapse-sidebar-arrow{position:static;margin-top:0;margin-right:0;display:block;width:auto;height:auto;background:0 0}.wp-full-overlay .collapse-sidebar-arrow:before{-webkit-border-radius:50%;border-radius:50%;float:right;content:"\f148";background:#eee;font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.rtl .wp-full-overlay .collapse-sidebar-arrow:before,.wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:none;-ms-transform:none;transform:none}.wp-full-overlay.collapsed .collapse-sidebar-arrow{background-position:-1px -109px}.wp-full-overlay .collapse-sidebar-label{position:absolute;right:100%;line-height:20px;margin-right:10px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{-webkit-transition-property:right,left,top,bottom,width,margin;transition-property:right,left,top,bottom,width,margin;-webkit-transition-duration:.2s;transition-duration:.2s}.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#customize-container{display:none;background:#fff;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;right:0;left:0;height:100%}.customize-active #customize-container{display:block}.customize-loading #customize-container iframe{opacity:0}.customize-loading #customize-container{background:#fff url(../images/spinner.gif) no-repeat fixed center center;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-container iframe,.theme-install-overlay iframe{height:100%;width:100%;z-index:20;-webkit-transition:opacity .3s;transition:opacity .3s}#customize-container .collapse-sidebar{bottom:16px}#customize-controls{margin-top:0}.theme-install-overlay{display:none}.theme-install-overlay.single-theme{display:block}.install-theme-info{display:none;padding:10px 20px 60px}.single-theme .install-theme-info{padding-top:15px}.theme-install-overlay .install-theme-info{display:block}.install-theme-info .theme-install{float:left;margin-top:18px}.install-theme-info .theme-name{font-size:16px;line-height:24px;margin-bottom:0;margin-top:0}.install-theme-info .theme-screenshot{margin-top:15px;width:258px;border:1px solid #ccc}.install-theme-info .theme-details{overflow:hidden}.theme-details .theme-version{margin:15px 0;float:right}.theme-details .star-rating{margin:7px 0;float:left}.theme-details .theme-description{float:right;color:#777;line-height:20px;max-width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{float:left;margin:8px 0 0 10px;line-height:26px}.theme-install-overlay .wp-full-overlay-sidebar{background:#eee;border-left:1px solid #ddd}.theme-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.theme-install-overlay .wp-full-overlay-main{background:#fff url(../images/spinner.gif) no-repeat center center;-webkit-background-size:20px 20px;background-size:20px 20px}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);-webkit-background-size:15px 123px;background-size:15px 123px}.customize-loading #customize-container,.theme-install-overlay .wp-full-overlay-main{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.available-theme .action-links .delete-theme{float:none;margin:0;padding:0;clear:both}.available-theme .action-links .delete-theme a{padding:0}}.press-this #message{border-right:4px solid #7ad03a;padding:1px 12px;background-color:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.press-this #side-sortables .category-tabs li{display:inline;line-height:1.35em}body.press-this ul.category-tabs li.tabs a{color:#333}.press-this #content-resize-handle{bottom:2px}body.press-this{color:#333;margin:0;padding:0;min-width:708px;min-height:400px}.press-this #titlediv #title{font-size:1.4em}.press-this #site-heading:before{top:3px;position:relative;display:inline-block;font:400 18px/1 dashicons;speak:none;color:#727272;content:'\f120';-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.press-this #wphead{height:32px;margin-right:0;margin-left:0;margin-bottom:5px}.press-this #header-logo{float:right;margin:7px 7px 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.press-this #wphead h1{font-weight:400;font-size:16px;line-height:32px;margin:0;float:right}.press-this #wphead h1 a{text-decoration:none}.press-this #wphead h1 a:hover{text-decoration:underline}.press-this #message{margin:10px 0}.press-this .posting{margin-left:250px}.press-this-sidebar{float:left;width:240px;padding-top:10px}.press-this #title{margin-right:0;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.press-this .tagchecklist{margin-top:8px}.press-this #titlediv{margin:0}.press-this #wp-content-wrap #wp-content-editor-tools{padding:0;top:3px;overflow:hidden}.press-this .wp-media-buttons{cursor:default;padding:8px 8px 6px}.press-this #wp-content-wrap #wp-content-media-buttons a{padding:0;line-height:normal;height:auto;font-size:16px}.press-this #wp-content-wrap .mce-toolbar .mce-btn-group .mce-btn{margin:0 1px}.press-this #wp-content-wrap .mce-toolbar .mce-btn button{padding:2px 3px}.press-this #wp-content-wrap .quicktags-toolbar,.press-this #wp-content-wrap div.mce-toolbar-grp{padding-left:3px}.press-this .howto{margin-top:2px;margin-bottom:3px;font-size:12px;font-style:italic;display:block}.press-this #wp-content-editor-container{clear:none}.press-this #poststuff .inside{margin-top:18px}.press-this .category-tabs{margin-bottom:3px}.press-this #poststuff{margin:0 8px;padding:0}.press-this #photo-add-url-div input[type=text]{width:220px}#poststuff #editor-toolbar{height:30px}.posting{margin-left:212px;position:relative}.press-this .inner-sidebar{width:200px}.press-this .inner-sidebar .sleeve{padding-top:5px}.press-this #submitdiv p{margin:0;padding:6px}.press-this #submitdiv #publishing-actions{border-bottom:1px solid #dfdfdf}.press-this #publish{float:left}.press-this #poststuff h2,.press-this #poststuff h3{font-size:14px;line-height:1}.press-this #categorydiv h3,.press-this #tagsdiv-post_tag h3{cursor:pointer}.press-this #submitdiv h3{cursor:default}h3.tb{font-weight:600;font-size:12px;margin-right:5px}.press-this .postbox,.press-this .stuffbox{margin-bottom:10px;min-width:0}.press-this #submitdiv:hover .handlediv{background:0 0}.tbtitle{font-size:1.7em;outline:0;padding:3px 4px;border:1px solid #dfdfdf}.press-this .actions{float:left;margin:-19px 0 0}.press-this #extra-fields .actions{margin:-32px 0 0 -7px}.press-this .actions li{float:right;list-style:none;margin-left:10px}#extra-fields .button{margin-left:5px}#photo_saving{margin:0 8px 8px;vertical-align:middle}#img_container_container{overflow:auto}#extra-fields{margin-top:10px;position:relative}#extra-fields h2{margin:12px}#waiting{margin-top:10px;overflow:hidden}#waiting span{float:left;margin:0 5px 0 0}#waiting .spinner{display:block}#extra-fields .postbox{margin-bottom:5px}#extra-fields .titlewrap{padding:0;overflow:auto;height:120px}#img_container a{float:right;overflow:hidden}#img_container a,#img_container img{width:68px;height:68px}#img_container img{border:none;background-color:#f4f4f4;cursor:pointer}#img_container a,#img_container a:link,#img_container a:visited{border:1px solid #ccc;display:block;position:relative}#img_container a:active,#img_container a:hover{border-color:#000;z-index:1000;border-width:1px}#embed-code{width:100%;height:98px}.press-this .categorydiv div.tabs-panel{height:100px}.press-this .tagsdiv .newtag{width:120px}.press-this #content{margin:5px 0;padding:0 5px;border:0;height:340px;font-family:Consolas,Monaco,monospace;font-size:13px;line-height:19px;background:0 0}.press-this #publishing-actions .spinner{display:inline;vertical-align:middle}@media screen and (max-width:782px){.press-this ul.category-tabs li.tabs{padding:3px 5px 5px}.press-this a.wp-switch-editor{font:13px/19px "Open Sans",sans-serif;margin:5px 5px 0 0;padding:3px 8px 4px}.press-this #wp-content-media-buttons a{padding:0;line-height:normal;height:auto}.press-this #wp-content-editor-tools{padding:0;top:3px}.press-this .category-tabs{margin-top:0}.press-this .tagsdiv .newtag{width:120px;padding:3px 5px;margin-bottom:0}.press-this .tagchecklist{padding:0;margin-bottom:0}.press-this .wp_themeSkin a.mceButton{width:20px;height:20px}.press-this .wp_themeSkin .mceButton .mceIcon{margin:0}.press-this #poststuff h3,.press-this .metabox-holder h3{padding:7px 12px}.press-this input[type=checkbox],.press-this input[type=radio]{height:16px;width:16px}.press-this input[type=checkbox]:checked:before{width:16px;font:400 21px/1 dashicons;margin:-3px -4px 0 0}.press-this input[type=radio]:checked:before{font:400 21px/1 dashicons;width:6px;height:6px;margin:4px}.press-this ul.categorychecklist li,.press-this ul.categorychecklist ul{margin-top:0;margin-bottom:0}.press-this div.quicktags-toolbar input{padding:2px 4px}.press-this input,.press-this textarea{font-size:14px}.press-this .tagchecklist span{font-size:13px;line-height:1.8em}}.about-wrap{position:relative;margin:25px 20px 0 40px;max-width:1050px;font-size:15px}.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;max-width:100%;height:auto;vertical-align:middle}.about-wrap p{line-height:1.6em;font-size:14px}.about-wrap h1{margin:.2em 0 0 200px;color:#333;line-height:1.2em;font-size:2.8em;font-weight:400}.about-wrap h4{color:#222}.about-wrap .about-text,.about-wrap li.wp-person a.web,.about-wrap p.about-description{font-weight:400;line-height:1.6em;font-size:19px}.about-description{margin-top:1.4em}.about-text{margin:1em 0 1em 200px;min-height:60px;color:#777;font-size:24px}.about-wrap .changelog h2.about-headline-callout{margin:1.1em 0 .2em;font-size:2.4em;font-weight:300;line-height:1.3;text-align:center}.about-wrap h3{margin:1em 0 .6em;font-size:1.5em;line-height:1.5em}.about-wrap h3.higher{margin-top:.5em}.customize h3{margin-top:1.75em;text-align:center}.about-wrap .feature-section h4{margin:1.4em 0 .6em;font-size:1.2em}.about-wrap .feature-section p{margin-top:.6em}.about-wrap code,.about-wrap ol li p{font-size:14px}.about-wrap .button.button-large{padding:8px 20px 10px!important;height:46px!important;font-size:14px;line-height:28px!important}.about-wrap .about-overview-img{margin:0}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #dfdfdf}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.wp-badge{background:#0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat center 24px;background:#0074a2 center 24px,url(../images/wordpress-logo-white.svg?ver=20131110) no-repeat center 24px;-webkit-background-size:85px 85px;background-size:85px 85px;color:#78c8e6;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:150px;text-rendering:optimizeLegibility;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2)}.about-wrap .wp-badge{position:absolute;top:0;left:0}.about-wrap h2.nav-tab-wrapper{padding-right:6px}.about-wrap h2 .nav-tab{padding:4px 15px 6px;margin:0 0 -1px 3px;font-size:18px;vertical-align:top;border-width:1px}.about-overview{margin-top:40px;margin-bottom:40px;text-align:center}.about-overview p{margin:1em auto 50px;max-width:770px;font-size:18px;line-height:1.5;text-align:center}.about-wrap .feature-section{margin-top:40px;padding-bottom:20px}.about-wrap .feature-section.two-col>div{position:relative;width:47.6%;margin-left:4.799999999%;float:right}.about-wrap .feature-section.three-col>div{position:relative;width:29.95%;margin-left:4.999999999%;float:right}.about-wrap .feature-section.col .last-feature{margin-left:0}.about-wrap .under-the-hood .feature-section{margin-top:0}.about-wrap .changelog .feature-section{overflow:hidden}.about-wrap .feature-section.two-col div p{margin-left:3%}.about-wrap .feature-section div p img{float:left;margin-right:10px;max-width:20%}.about-video{position:relative;width:100%;height:0}.about-video-embed{padding-bottom:70.4%}.about-video-focus{padding-bottom:56.2%}.about-video .mejs-container,.about-video .wp-video,.about-video video{position:absolute;top:0;right:0;width:100%!important;height:100%!important}.about-wrap .changelog li{list-style-type:disc;margin-right:3em}.about-wrap .return-to-dashboard{margin:30px -5px 0 0;font-size:14px;font-weight:700}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap h4.wp-people-group{margin-top:2.6em;font-size:16px}.about-wrap ul.wp-people-group{overflow:hidden;padding:0 5px;margin:0 -5px 0 -15px}.about-wrap ul.compact{margin-bottom:0}.about-wrap li.wp-person{float:right;margin-left:10px}.about-wrap li.wp-person img.gravatar{float:right;margin:0 0 10px 10px;padding:2px;width:60px;height:60px}.about-wrap ul.compact li.wp-person img.gravatar{width:30px;height:30px}.about-wrap li.wp-person{height:70px;width:280px;padding-bottom:15px}.about-wrap ul.compact li.wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap li.wp-person a.web{display:block;margin:6px 0 2px;font-size:16px;text-decoration:none}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:700}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}@media screen and (max-width:782px){.about-wrap .feature-section.one-col>div,.about-wrap .feature-section.three-col>div,.about-wrap .feature-section.two-col>div{width:100%;margin:0 0 40px;padding:0 0 40px;float:none;border-bottom:1px solid rgba(0,0,0,.1)}.about-wrap .feature-section.col>div.last-feature,.about-wrap .under-the-hood .feature-section>div{margin:0;padding:0;border-bottom:none}}@media screen and (max-width:710px){.about-overview{position:relative;padding-bottom:56.25%;width:100%;height:0}.about-overview embed{position:absolute;top:0;right:0;width:100%;height:100%}}@media only screen and (max-width:500px){.about-wrap{margin-left:20px;margin-right:10px}.about-text,.about-wrap h1{margin-left:0}.about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}.about-wrap h2.nav-tab-wrapper{padding-right:0;border-bottom:0}.about-wrap h2 .nav-tab{margin-top:10px;margin-left:10px;border-bottom:1px solid #ccc}.about-wrap .feature-section.three-col div{width:100%;float:none}.about-wrap .three-col.about-updates .col-1{padding:0;float:none}.about-wrap .three-col.about-updates .col-2{margin:0 0 20px;width:100%;float:none}}.no-js #message{display:block}ul.add-menu-item-tabs li{padding:3px 8px 3px 5px}.accordion-section ul.add-menu-item-tabs,.accordion-section ul.category-tabs,.accordion-section ul.wp-tab-bar{margin:0}.accordion-section .categorychecklist{margin:13px 0}#nav-menu-meta .accordion-section-content{padding:18px 13px}#nav-menu-meta .button-controls{margin-bottom:0}#nav-menus-frame{margin-right:300px;margin-top:23px}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-right:-300px;clear:both;float:right;padding-top:0}#menu-settings-column .inside{clear:both;margin:10px 0 0}.metabox-holder-disabled .accordion-section-content,.metabox-holder-disabled .accordion-section-title,.metabox-holder-disabled .postbox{opacity:.5;filter:alpha(opacity=50)}.metabox-holder-disabled .button-controls .select-all{display:none}#wpbody{position:relative}.blank-slate .menu-name{height:2em}.blank-slate .menu-settings{border:none;margin-top:0;padding-top:0;overflow:hidden}.is-submenu{color:#999;font-style:italic;font-weight:400;margin-right:4px}.manage-menus{margin-top:23px;padding:10px;overflow:hidden;background:#fbfbfb}.manage-menus select{float:right;margin-left:6px}.manage-menus .selected-menu{float:right;margin:5px 0 0 6px}.manage-menus .submit-btn{float:right;margin-top:1px}.menu-edit p{margin:.3em 0 .6em}.menu-edit #post-body-content h3{margin:1em 0 10px}.menu-settings{border-top:1px solid #eee;margin-top:2em}.menu-settings dl{margin:0 0 10px;overflow:hidden;padding-right:18%}.menu-settings dd{float:right;margin:0;width:100%}.menu-settings dt{float:right;clear:both;width:21.951%;padding:3px 0 0;margin-right:-21.951%}.menu-settings label{vertical-align:baseline}.menu-edit .checkbox-input{margin-top:4px}.theme-location-set{color:#999;font-size:11px}#menu-management-liquid{float:right;min-width:100%;margin-top:3px}#menu-management{position:relative;margin-left:20px;margin-top:-3px;width:100%;background:#f5f5f5}#menu-management .menu-edit{margin-bottom:20px}.nav-menus-php #post-body{padding:0 10px 10px;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;background:#fff}#nav-menu-footer,#nav-menu-header{padding:0 10px}#nav-menu-header{border-bottom:1px solid #dfdfdf;margin-bottom:0}#nav-menu-header .menu-name-label{margin-top:4px}.nav-menus-php #post-body div.error,.nav-menus-php #post-body div.updated{margin:0}.nav-menus-php #post-body-content{position:relative;float:none}#menu-management .menu-add-new abbr{font-weight:600}#select-nav-menu-container{text-align:left;padding:0 10px 3px;margin-bottom:5px}#select-nav-menu{width:100px;display:inline}#menu-name-label{margin-top:-2px}.widefat td.menu-location-menus{padding-bottom:5px}.menu-location-menus select{float:right}#locations-nav-menu-wrapper{padding:5px 0}.locations-nav-menu-select select{float:right;width:160px;margin-left:5px}.locations-row-links{float:right;margin:6px 6px 0 0}.locations-add-menu-link,.locations-edit-menu-link{margin:0 3px}.locations-edit-menu-link{padding-left:3px;border-left:1px solid #ccc}#wpbody .open-label{display:block;float:right}#wpbody .open-label span{padding-left:10px}.js .input-with-default-title{color:#aaa;font-style:italic}#menu-management .inside{padding:0 10px}.accordion-container .howto input,.postbox .howto input{width:180px;float:left}.accordion-container .outer-border{margin:0}.customlinkdiv .howto input{width:180px}.customlinkdiv p{margin-top:0}#nav-menu-theme-locations .howto select{width:100%}#nav-menu-theme-locations .button-controls{text-align:left}.add-menu-item-view-all{height:400px}#menu-container .submit{margin:0 0 10px;padding:0}.nav-menus-php .add-new-menu-action{float:right;margin:6px 6px 0 0;line-height:15px}.nav-menus-php .meta-sep,.nav-menus-php .submitcancel,.nav-menus-php .submitdelete{display:block;float:right;margin:6px 0;line-height:15px}.meta-sep{padding:0 2px}#cancel-save{text-decoration:underline;font-size:12px;margin-right:20px;margin-top:5px}.button-primary.right,.button-secondary.right,.button.right{float:left}.list-controls{float:right;margin-top:5px}.add-to-menu{float:left}.postbox .spinner{display:none;vertical-align:middle}.button-controls{clear:both;margin:10px 0}.hide-all,.show-all{cursor:pointer}.hide-all{display:none}#menu-name{width:270px}#manage-menu .inside{padding:0}#available-links dt{display:block}#add-custom-link .howto{font-size:12px}#add-custom-link label span{display:block;float:right;margin-top:5px;padding-left:5px}.menu-item-textbox{width:180px}.nav-menus-php .howto span{margin-top:6px;display:block;float:right}.quick-search{width:190px}.nav-menus-php .list-wrap{display:none;clear:both;margin-bottom:10px}.nav-menus-php .postbox p.submit{margin-bottom:0}.nav-menus-php .list li{display:none;margin:0 0 5px}.nav-menus-php .list li .menu-item-title{cursor:pointer;display:block}.nav-menus-php .list li .menu-item-title input{margin-left:3px;margin-top:-3px}.menu-item-title input[type=checkbox]{display:inline-block;margin-top:-4px}#menu-container .inside{padding-bottom:10px}.menu{padding-top:1em}#menu-to-edit{margin:0;padding:.1em 0}.menu ul{width:100%}.menu li{margin-bottom:0;position:relative}.menu-item-bar{clear:both;line-height:1.5em;position:relative;margin:9px 0 0}.menu-item-bar .menu-item-handle{border:1px solid #dfdfdf;position:relative;padding:10px 15px;height:auto;width:382px;line-height:30px;overflow:hidden;word-wrap:break-word}.menu-item-bar .menu-item-handle:hover{border-color:#999}#menu-to-edit .menu-item-invalid .menu-item-handle{background:#f6c9cc;border-color:#f1acb1}.no-js .menu-item-edit-active .item-edit{display:none}.js .menu-item-handle{cursor:move}.menu li.deleting .menu-item-handle{background-image:none;background-color:#f66}.menu-item-handle .item-title{font-size:13px;font-weight:600;line-height:20px;display:block;margin-left:13em}.menu-item-handle .menu-item-title.no-title{color:#999}li.menu-item.ui-sortable-helper dl{margin-top:0}li.menu-item.ui-sortable-helper .menu-item-transport dl{margin-top:13px}.menu .sortable-placeholder{height:35px;width:410px;margin-top:13px}.menu-item-depth-0{margin-right:0}.menu-item-depth-1{margin-right:30px}.menu-item-depth-2{margin-right:60px}.menu-item-depth-3{margin-right:90px}.menu-item-depth-4{margin-right:120px}.menu-item-depth-5{margin-right:150px}.menu-item-depth-6{margin-right:180px}.menu-item-depth-7{margin-right:210px}.menu-item-depth-8{margin-right:240px}.menu-item-depth-9{margin-right:270px}.menu-item-depth-10{margin-right:300px}.menu-item-depth-11{margin-right:330px}.menu-item-depth-0 .menu-item-transport{margin-right:0}.menu-item-depth-1 .menu-item-transport{margin-right:-30px}.menu-item-depth-2 .menu-item-transport{margin-right:-60px}.menu-item-depth-3 .menu-item-transport{margin-right:-90px}.menu-item-depth-4 .menu-item-transport{margin-right:-120px}.menu-item-depth-5 .menu-item-transport{margin-right:-150px}.menu-item-depth-6 .menu-item-transport{margin-right:-180px}.menu-item-depth-7 .menu-item-transport{margin-right:-210px}.menu-item-depth-8 .menu-item-transport{margin-right:-240px}.menu-item-depth-9 .menu-item-transport{margin-right:-270px}.menu-item-depth-10 .menu-item-transport{margin-right:-300px}.menu-item-depth-11 .menu-item-transport{margin-right:-330px}body.menu-max-depth-0{min-width:950px!important}body.menu-max-depth-1{min-width:980px!important}body.menu-max-depth-2{min-width:1010px!important}body.menu-max-depth-3{min-width:1040px!important}body.menu-max-depth-4{min-width:1070px!important}body.menu-max-depth-5{min-width:1100px!important}body.menu-max-depth-6{min-width:1130px!important}body.menu-max-depth-7{min-width:1160px!important}body.menu-max-depth-8{min-width:1190px!important}body.menu-max-depth-9{min-width:1220px!important}body.menu-max-depth-10{min-width:1250px!important}body.menu-max-depth-11{min-width:1280px!important}.item-type{color:#777;font-size:12px;padding:12px 10px;line-height:18px;display:block}.item-controls{font-size:12px;position:absolute;left:20px;top:-1px}.item-controls a{text-decoration:none}.item-controls a:hover{cursor:pointer}.item-controls .item-order{padding-left:10px}.nav-menus-php .item-edit{position:absolute;left:-20px;top:0;display:block;width:30px;height:40px;margin-left:0!important;text-indent:100%;outline:0;overflow:hidden;white-space:nowrap}.menu-instructions-inactive{display:none}.menu-item-settings{display:block;width:402px;padding:10px 10px 10px 0;position:relative;z-index:10;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.menu-item-settings .field-move a{display:none;margin:0 2px}.menu-item-edit-active .menu-item-settings{display:block}.menu-item-edit-inactive .menu-item-settings{display:none}.add-menu-item-pagelinks{margin:.5em auto;text-align:center}.link-to-original{display:block;margin:0 0 10px;padding:3px 5px 5px;border:1px solid #dfdfdf;color:#777;font-size:12px;font-style:italic}.link-to-original a{padding-right:4px;font-style:normal}.hidden-field{display:none}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-left:10px;float:right}.description-thin{width:190px;height:40px}.description-wide{width:390px}.menu-item-actions{padding-top:15px}#cancel-save{cursor:pointer}.nav-menus-php .major-publishing-actions{clear:both;padding:3px 0 6px}.nav-menus-php .major-publishing-actions .publishing-action{text-align:left;float:left;line-height:23px;margin:4px 0 1px}.nav-menus-php .blank-slate .menu-settings{display:none}.nav-menus-php .delete-action{float:right;margin-top:2px}.nav-menus-php .submitbox .submitcancel{border-bottom:1px solid #0074a2;padding:1px 2px;color:#0074a2;text-decoration:none}.nav-menus-php .submitbox .submitcancel:hover{background:#0074a2;color:#fff}.nav-menus-php .major-publishing-actions .form-invalid{padding-right:4px;margin-right:-4px}#menu-item-name-wrap:after,#menu-item-url-wrap:after,#menu-name-label:after,#menu-settings-column .inside:after,#nav-menus-frame:after,.nav-menus-php #post-body-content:after,.nav-menus-php .button-controls:after,.nav-menus-php .major-publishing-actions:after,.nav-menus-php .menu-item-settings:after{clear:both;content:".";display:block;height:0;visibility:hidden}#menu-item-name-wrap,#menu-item-url-wrap,#nav-menus-frame,.button-controls{display:block}@media screen and (max-width:782px){body.nav-menus-php{min-width:0!important}#nav-menus-frame{margin-right:0;float:none;width:100%}#wpbody-content #menu-settings-column{display:block;width:100%;float:none;margin-right:0}#side-sortables .add-menu-item-tabs{margin:15px 0 14px}ul.add-menu-item-tabs li.tabs{padding:13px 15px 14px}.nav-menus-php .item-controls .item-type{margin-top:2px}.nav-menus-php .customlinkdiv .howto input{width:65%}.nav-menus-php .quick-search{width:85%}#menu-management-liquid{margin-top:25px}.nav-menus-php .menu-name-label.howto span{margin-top:13px}.menu-name-label #menu-name{margin-top:4px}.nav-menus-php .major-publishing-actions .publishing-action{margin-top:6px}.nav-menus-php .delete-action{font-size:14px;line-height:50px;margin-top:12px}.description-wide,.menu-item-bar .menu-item-handle,.menu-item-settings{width:auto}.menu-item-settings{padding:10px}.menu-item-settings .description-thin,.menu-item-settings .description-wide{width:100%;height:auto}.menu-item-settings input{width:100%}.menu-settings dl{padding-right:0}.menu-settings dd{float:none;width:100%;margin-bottom:15px}.menu-settings dt{float:none;width:auto;margin-right:0;margin-bottom:15px}}@media only screen and (max-width:768px){#menu-locations-wrap .widefat{width:100%}}.widget{margin:0 auto 10px;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.widget-top{font-size:13px;font-weight:600;background:#f7f7f7}.widget-top a.widget-action,.widget-top a.widget-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:0;text-decoration:none}.widget-title h4{margin:0;padding:15px;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.widgets-holder-wrap .widget-inside{border-top:none;padding:1px 15px 15px;line-height:16px}#available-widgets .widget-description,#widgets-right a.widget-control-edit,.in-widget-title{color:#666}.deleting .widget-title,.deleting .widget-top a.widget-action:after{color:#aaa}.widget.ui-draggable-dragging{min-width:100%}.widget.ui-sortable-helper{opacity:.8}.widget-placeholder{border:1px dashed #bbb;margin:0 auto 10px;height:45px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#widgets-right .widget-placeholder{margin-top:0}#widgets-right .closed .widget-placeholder{height:0;border:0;margin-top:-10px}.sidebar-name{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.sidebar-name-arrow{position:absolute;top:0;left:0;bottom:0}.js .sidebar-name{cursor:pointer}.sidebar-name h3{margin:0;padding:8px 10px;overflow:hidden;white-space:nowrap}.widgets-holder-wrap .description{padding:0 0 15px;margin:0;font-style:normal;color:#777}#widgets-right .widgets-holder-wrap .description{padding-right:7px;padding-left:7px}div.widget-liquid-left{margin:0;width:38%;float:right}div.widget-liquid-right{float:left;width:58%}div#widgets-left{padding-top:12px}div#widgets-left .closed .sidebar-name,div#widgets-left .inactive-sidebar.closed .sidebar-name{margin-bottom:10px}div#widgets-left .sidebar-name h3{padding:10px 0;margin:0 0 0 10px}div#widgets-left .sidebar-name .sidebar-name-arrow:before{left:0;top:4px;padding:4px 4px 4px 6px}#widgets-left #available-widgets,div#widgets-left .widget-holder{background:0 0;border:none}#widgets-left .widgets-holder-wrap{border:none;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-action{display:none}#available-widgets .widget{margin:0}#available-widgets .widget:nth-child(odd){clear:both}#available-widgets .widget .widget-description{display:block;padding:10px 15px;font-size:12px}#available-widgets #widget-list{position:relative}#widgets-left .inactive-sidebar{clear:both;width:100%;background:0 0;padding:0;margin:0 0 20px;border:none;-webkit-box-shadow:none;box-shadow:none}#widgets-left .inactive-sidebar.first{margin-top:40px}div#widgets-left .inactive-sidebar .widget.expanded{right:auto}.widget-title-action{float:left;position:relative}div#widgets-left .inactive-sidebar .widgets-sortables{min-height:42px;padding:0;background:0 0;margin:0;position:relative}div#widgets-right:after{content:".";display:block;height:0;clear:both;visibility:hidden}div#widgets-right .sidebars-column-1,div#widgets-right .sidebars-column-2{max-width:450px}div#widgets-right .widgets-holder-wrap{margin:10px 0 0}div#widgets-right .sidebar-description{min-height:20px;margin-top:-5px}div#widgets-right .sidebar-name h3{padding:15px 7px}div#widgets-right .sidebar-name .sidebar-name-arrow:before{left:0;top:4px}div#widgets-right .widget-top{padding:0}div#widgets-right .widgets-sortables{padding:0 8px;margin-bottom:9px;position:relative;min-height:123px}div#widgets-right .closed .widgets-sortables{min-height:0;margin-bottom:0}.sidebar-name .spinner{margin:-5px 5px;float:none}#widgets-right .widgets-holder-wrap.widget-hover{border-color:#777;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}.widgets_access #widgets-left .widget .widget-top{cursor:auto}.widgets_access #wpwrap .widget-control-edit,.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,.widgets_access #wpwrap .widgets-holder-wrap.closed .widget{display:block}.widgets_access #widgets-left .widget .widget-top:hover,.widgets_access #widgets-right .widget .widget-top:hover{border-color:#ddd}#available-widgets .widget-control-edit .edit,#widgets-left .inactive-sidebar .widget-control-edit .add,#widgets-right .widget-control-edit .add{display:none}.widget-control-edit{display:block;color:#666;background:#EEE;padding:0 15px;line-height:43px;border-right:1px solid #DDD}#widgets-left .widget-control-edit:hover,#widgets-right .widget-control-edit:hover{color:#fff;background:#444;border-right:0;outline:#444 solid 1px}.widgets-holder-wrap .sidebar-description,.widgets-holder-wrap .sidebar-name{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editwidget{margin:0 auto}.editwidget .widget-inside{display:block;padding:0 15px}.editwidget .widget-control-actions{margin-top:20px}.js .closed br.clear,.js .widgets-holder-wrap.closed .sidebar-description,.js .widgets-holder-wrap.closed .widget,.widget-description,.widget-inside{display:none}.widget-inside{background:#fff}#removing-widget{display:none;font-weight:400;padding-right:15px;font-size:12px;line-height:1;color:#000}.js #removing-widget{color:#2ea2cc}#access-off,.no-js .widget-holder .description,.widget-control-noform,.widgets_access #access-on,.widgets_access .sidebar-name-arrow,.widgets_access .widget-action,.widgets_access .widget-holder .description{display:none}.widgets_access #widget-list,.widgets_access .widget-holder{padding-top:10px}.widgets_access #access-off{display:inline}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{-webkit-transition:opacity .1s linear;transition:opacity .1s linear;opacity:.2;pointer-events:none}.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question{opacity:1;pointer-events:auto}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#999;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1)}.widgets-chooser ul.widgets-chooser-sidebars{margin:0;list-style-type:none;max-height:300px;overflow:auto}.widgets-chooser{display:none}.widgets-chooser ul{border:1px solid #ccc}.widgets-chooser li{padding:10px 35px 10px 15px;border-bottom:1px solid #ccc;background:#fff;margin:0;cursor:pointer;outline:0;position:relative;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.widgets-chooser li:focus,.widgets-chooser li:hover{background:rgba(255,255,255,.7)}.widgets-chooser li:focus:before{content:'\f147';display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#999;position:absolute;top:7px;right:5px}.widgets-chooser li:last-child{border:none}.widgets-chooser li.widgets-chooser-selected{background:#2ea2cc;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{content:'\f147';display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#fff;position:absolute;top:7px;right:5px}.widgets-chooser .widgets-chooser-actions{padding:10px 0 12px;text-align:center}.widgets-chooser button{margin-left:5px}#available-widgets .widget .widget-top{cursor:pointer}@media screen and (max-width:480px){div.widget-liquid-left{width:100%;float:none;border-left:none;padding-left:0}#widgets-left #available-widgets .widget-top,#widgets-left .inactive-sidebar .widgets-sortables,#widgets-left .sidebar-name{margin-left:0}div.widget-liquid-right{width:100%;float:none}div.widget{margin:0 auto 10px!important;max-width:480px}}@media screen and (max-width:320px){div.widget{max-width:320px}}@media only screen and (min-width:1250px){#widgets-left #available-widgets .widget{width:49%;float:right}.widget.ui-draggable-dragging{min-width:49%}#widgets-left #available-widgets .widget:nth-child(even){float:left}#widgets-right .sidebars-column-1,#widgets-right .sidebars-column-2{float:right;width:49%}#widgets-right .sidebars-column-1{margin-left:2%}#widgets-right.single-sidebar .sidebars-column-1,#widgets-right.single-sidebar .sidebars-column-2{float:none;width:100%;margin:0}}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-style:normal;font-weight:700}.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #wp-fullscreen-tagline{font-family:KaiTi,"楷体",sans-serif}.locale-zh-cn #wp-fullscreen-modes a{font-size:12px}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de .inline-edit-row fieldset label span.title{width:7em}.locale-de-de .inline-edit-row fieldset label span.input-text-wrap{margin-right:7em}.locale-de-de #customize-header-actions .button{padding:0 5px 1px}.locale-de-de #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru .inline-edit-row fieldset label span.title{width:8em}.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title{width:8em}.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/css/wp-admin.css b/sources/wordpress/wp-admin/css/wp-admin.css deleted file mode 100644 index b29af79..0000000 --- a/sources/wordpress/wp-admin/css/wp-admin.css +++ /dev/null @@ -1,14 +0,0 @@ -@import url(common.css); -@import url(forms.css); -@import url(admin-menu.css); -@import url(dashboard.css); -@import url(list-tables.css); -@import url(edit.css); -@import url(revisions.css); -@import url(media.css); -@import url(themes.css); -@import url(press-this.css); -@import url(about.css); -@import url(nav-menus.css); -@import url(widgets.css); -@import url(l10n.css); diff --git a/sources/wordpress/wp-admin/css/wp-admin.min.css b/sources/wordpress/wp-admin/css/wp-admin.min.css deleted file mode 100644 index 694691b..0000000 --- a/sources/wordpress/wp-admin/css/wp-admin.min.css +++ /dev/null @@ -1 +0,0 @@ -#wpwrap{height:auto;min-height:100%;width:100%;position:relative;-webkit-font-smoothing:subpixel-antialiased}#wpcontent{height:100%;padding-left:20px}#wpcontent,#wpfooter{margin-left:160px}.folded #wpcontent,.folded #wpfooter{margin-left:36px}#wpbody-content{padding-bottom:65px;float:left;width:100%;overflow:visible!important}.inner-sidebar{float:right;clear:right;display:none;width:281px;position:relative}.columns-2 .inner-sidebar{margin-right:auto;width:286px;display:block}.columns-2 .inner-sidebar #side-sortables,.inner-sidebar #side-sortables{min-height:300px;width:280px;padding:0}.has-right-sidebar .inner-sidebar{display:block}.has-right-sidebar #post-body{float:left;clear:left;width:100%;margin-right:-2000px}.has-right-sidebar #post-body-content{margin-right:300px;float:none;width:auto}#col-container,#col-left,#col-right{overflow:hidden;padding:0;margin:0}#col-left{width:35%}#col-right{float:right;clear:right;width:65%}.col-wrap{padding:0 7px}.alignleft{float:left}.alignright{float:right}.textleft{text-align:left}.textright{text-align:right}.clear{clear:both}.screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.screen-reader-shortcut{position:absolute;top:-1000em}.screen-reader-shortcut:focus{left:6px;top:-25px;height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#21759b;z-index:100000;line-height:normal;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,.6);box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:0}.hidden,.js .closed .inside,.js .hide-if-js,.js .wp-core-ui .hide-if-js,.js.wp-core-ui .hide-if-js,.no-js .hide-if-no-js,.no-js .wp-core-ui .hide-if-no-js,.no-js.wp-core-ui .hide-if-no-js{display:none}#menu-management .menu-edit,#menu-settings-column .accordion-container,.feature-filter,.imgedit-group,.manage-menus,.menu-item-handle,.popular-tags,.stuffbox,.widget-inside,.widget-top,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.feature-filter,.imgedit-group,.popular-tags,.stuffbox,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{background:#fff}body,html{height:100%;margin:0;padding:0}html{background:#f1f1f1}body{color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em;min-width:600px}body.iframe{min-width:0;padding-top:1px}body.modal-open{overflow:hidden}iframe,img{border:0}td{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}a{color:#0074a2;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}a,div{outline:0}a:active,a:hover{color:#2ea2cc}a:focus{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}#adminmenu a:focus,.screen-reader-text:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}p{font-size:13px;line-height:1.5;margin:1em 0}blockquote{margin:1em}dd,li{margin-bottom:6px}h1,h2,h3,h4,h5,h6{display:block;font-weight:600}h1{font-size:2em;margin:.67em 0}h2{color:#222;font-size:1.5em;margin:.83em 0;font-weight:400}h3{color:#222;font-size:1.3em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}ol,ul{padding:0}ul{list-style:none}ol{list-style-type:decimal;margin-left:2em}ul.ul-disc{list-style:disc}ul.ul-square{list-style:square}ol.ol-decimal{list-style:decimal}ol.ol-decimal,ul.ul-disc,ul.ul-square{margin-left:1.8em}ol.ol-decimal>li,ul.ul-disc>li,ul.ul-square>li{margin:0 0 .5em}.ltr{direction:ltr}.code,code{font-family:Consolas,Monaco,monospace;direction:ltr}code,kbd{padding:3px 5px 2px;margin:0 1px;background:#eaeaea;background:rgba(0,0,0,.07);font-size:13px}.subsubsub{list-style:none;margin:8px 0 0;padding:0;font-size:13px;float:left;color:#666}.subsubsub a{line-height:2;padding:.2em;text-decoration:none}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:400}.subsubsub a.current{font-weight:600;border:none}.subsubsub li{display:inline-block;margin:0;padding:0;white-space:nowrap}.widefat{border-spacing:0;width:100%;clear:both;margin:0}.widefat *{word-wrap:break-word}.widefat a{text-decoration:none}.widefat td,.widefat th{padding:8px 10px}.widefat thead th{border-bottom:1px solid #e1e1e1}.widefat tfoot th{border-top:1px solid #e1e1e1;border-bottom:none}.widefat .no-items td{border-bottom-width:0}.widefat td{vertical-align:top}.widefat td,.widefat td ol,.widefat td p,.widefat td ul{font-size:13px;line-height:1.5em}.widefat th{text-align:left;line-height:1.3em;font-size:14px}.widefat th input{margin:0 0 0 8px;padding:0;vertical-align:text-top}.widefat .check-column{width:2.2em;padding:6px 0 25px;vertical-align:top}.widefat th input[type=checkbox]{margin-top:-1px}.widefat.media .check-column{padding-top:8px}.widefat tbody th.check-column,.widefat tfoot th.check-column,.widefat thead th.check-column{padding:11px 0 0 3px}.widefat thead th.check-column{padding-top:10px}.update-php div.error,.update-php div.updated{margin-left:0}.no-js .widefat tfoot .check-column input,.no-js .widefat thead .check-column input{display:none}.column-comments,.column-links,.column-posts,.widefat .num{text-align:center}.widefat th#comments{vertical-align:middle}.wrap{margin:10px 20px 0 2px}div.error,div.updated{margin:5px 15px 2px}div.error p,div.updated p{margin:.5em 0;padding:2px}.media-upload-form div.error,.wrap div.error,.wrap div.updated{margin:5px 0 15px}div.updated{border-left:4px solid #7ad03a;padding:1px 12px;background-color:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}div.error{border-left:4px solid #dd3d36;background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:1px 12px}.attention{color:#2ea2cc}.subtitle,.wrap h2{font-weight:400;margin:0}.wrap h2{font-size:23px;font-weight:400;padding:9px 15px 4px 0;line-height:29px}.subtitle{color:#777;font-size:14px;padding-left:25px}.wrap .add-new-h2,.wrap .add-new-h2:active{margin-left:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:none;-webkit-border-radius:2px;border-radius:2px;background:#e0e0e0;text-shadow:none;font-weight:600;font-size:13px}.wrap .add-new-h2:hover{background:#2ea2cc;color:#fff}.wrap h2.long-header{padding-right:0}.wp-dialog{background-color:#fff}.sorthelper{background-color:#ccf3fa}.ac_match,.subsubsub a.current{color:#000}.alt,.alternate{background-color:#f9f9f9}.bar{background-color:#e8e8e8;border-right-color:#99d}.media-upload-form label.form-help,td.help{color:#9a9a9a}.highlight{background-color:#e4f2fd;color:#000}.wp-ui-primary{color:#fff;background-color:#333}.wp-ui-text-primary{color:#333}.wp-ui-highlight{color:#fff;background-color:#1e8cbe}.wp-ui-text-highlight{color:#1e8cbe}.wp-ui-notification{color:#fff;background-color:#d54e21}.wp-ui-text-notification{color:#d54e21}.wp-ui-text-icon{color:#999}#nav-menu-footer,#nav-menu-header,#your-profile #rich_editing,.checkbox,.control-section .accordion-section-title,.menu-item-handle,.postbox .hndle,.side-info,.sidebar-name,.stuffbox .hndle,.widefat tfoot th,.widefat thead th,.widget .widget-top{line-height:1.4em}.menu-item-handle,.widget .widget-top{background:#fafafa;color:#222}.postbox .hndle,.stuffbox .hndle{border-bottom:1px solid #eee}.quicktags,.search{background-color:#ccc;color:#000;font-size:12px}.icon32{display:none}#bulk-titles div a:before,#welcome-panel.welcome-panel .welcome-panel-close:before,.tagchecklist span a:before{background:0 0;color:#bbb;content:'\f153';display:block!important;font:400 16px/1 dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased!important}#welcome-panel.welcome-panel .welcome-panel-close:before{margin:0}#bulk-titles div a:before,.tagchecklist span a:before{margin:2px 0}#bulk-titles div a:hover:before,#welcome-panel.welcome-panel .welcome-panel-close:hover:before,.tagchecklist span a:hover:before{color:#c00}.key-labels label{line-height:24px}b,strong{font-weight:600}.pre{white-space:pre-wrap;word-wrap:break-word}.howto{color:#666;font-style:italic;display:block}p.install-help{margin:8px 0;font-style:italic}.no-break{white-space:nowrap}hr{border:0;border-top:1px solid #ddd;border-bottom:1px solid #fafafa}#all-plugins-table .plugins a.delete,#media-items a.delete,#media-items a.delete-permanently,#nav-menu-footer .menu-delete,#search-plugins-table .plugins a.delete,.plugins a.delete,.row-actions span.delete a,.row-actions span.spam a,.row-actions span.trash a,.submitbox .submitdelete{color:#a00}#all-plugins-table .plugins a.delete:hover,#media-items a.delete-permanently:hover,#media-items a.delete:hover,#nav-menu-footer .menu-delete:hover,#search-plugins-table .plugins a.delete:hover,.file-error,.plugins a.delete:hover,.row-actions .delete a:hover,.row-actions .spam a:hover,.row-actions .trash a:hover,.submitbox .submitdelete:hover,.widget-control-remove:hover,abbr.required{color:red;text-decoration:none;border:none}#major-publishing-actions{padding:10px;clear:both;border-top:1px solid #ddd;background:#f5f5f5}#delete-action{line-height:28px;vertical-align:middle;text-align:left;float:left}#publishing-action{text-align:right;float:right;line-height:23px}#publishing-action .spinner{float:left}#misc-publishing-actions{padding:6px 0 0}.misc-pub-section{padding:6px 10px 8px}#minor-publishing-actions{padding:10px 10px 0;text-align:right}#save-post{float:left}.preview{float:right}#sticky-span{margin-left:18px}.side-info{margin:0;padding:4px;font-size:11px}.side-info h5{padding-bottom:7px;font-size:14px;margin:12px 2px 5px;border-bottom:1px solid #dadada}.side-info ul{margin:0;padding-left:18px;list-style:square;color:#666}.approve,.unapproved .unapprove{display:none}.spam .approve,.trash .approve,.unapproved .approve{display:inline}td.action-links,th.action-links{text-align:right}.wp-filter{display:inline-block;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:12px 0 25px;padding:0 20px;width:100%;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;background:#fff;color:#555;font-size:13px}.wp-filter a{text-decoration:none}.filter-count{display:inline-block;vertical-align:middle;min-width:4em}.filter-count .count,.title-count{display:inline-block;position:relative;top:-1px;padding:4px 10px;-webkit-border-radius:30px;border-radius:30px;background:#777;color:#fff;font-size:14px;font-weight:600}.title-count{display:inline;top:-3px;margin-left:5px;margin-right:20px}.filter-links,.filter-links li{display:inline-block;margin:0}.filter-links li>a{display:inline-block;margin:0 10px;padding:15px 0;border-bottom:4px solid #fff;color:#666;cursor:pointer}.filter-links .current{-webkit-box-shadow:none;box-shadow:none;border-bottom:4px solid #666;color:#222}.filter-links li>a:focus,.filter-links li>a:hover,.show-filters .filter-links a.current:focus,.show-filters .filter-links a.current:hover{color:#2ea2cc}.wp-filter .search-form{float:right;margin-top:9px}.wp-filter .search-form input[type=search]{margin:0;padding:3px 5px;width:280px;font-size:16px;font-weight:300;line-height:1.5}.wp-filter .search-form select{height:33px;vertical-align:top}.wp-filter .drawer-toggle{display:inline-block;margin:0 10px;padding:4px 6px;color:#666;cursor:pointer}.wp-filter .drawer-toggle:before{display:inline-block;vertical-align:top;content:"\f111";margin:0 5px 0 0;width:16px;height:16px;color:#777;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;font-family:dashicons;font-size:16px;line-height:1;text-align:center;text-decoration:inherit;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased}.wp-filter .drawer-toggle:hover,.wp-filter .drawer-toggle:hover:before{color:#2ea2cc}.wp-filter .drawer-toggle.current:before{color:#fff}.filter-drawer{display:none;margin:0 -20px;padding:20px;border-top:1px solid #eee;background:#fafafa}.show-filters .filter-drawer{display:block;overflow:hidden}.show-filters .wp-filter .drawer-toggle:focus,.show-filters .wp-filter .drawer-toggle:hover{background:#2ea2cc}.show-filters .filter-links a.current{border-bottom:none}.show-filters .wp-filter .drawer-toggle{-webkit-border-radius:2px;border-radius:2px;border:none;background:#777;color:#fff}.show-filters .wp-filter .drawer-toggle:before{color:#fff}.filter-group{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin:0 1% 0 0;padding:10px;width:19%;background:#fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group.wide{width:38%}.filter-group h4{position:relative;margin:0}.filter-drawer ol{margin:20px 0 0;list-style-type:none;font-size:12px}.filter-drawer li{display:inline-block;vertical-align:top;margin:5px 0;padding-right:25px;width:160px;list-style-type:none}.filter-drawer .buttons{margin-bottom:20px}.filter-drawer .buttons .button span{display:inline-block;opacity:.8;font-size:12px;text-indent:10px}.wp-filter .button.clear-filters{display:none;margin:0 0 20px 10px}.filtered-by{display:none;margin:0}.filtered-by>span{font-weight:600}.filtered-by a{margin-left:10px}.filtered-by .tags{display:inline}.filtered-by .tag{margin:0 5px;padding:4px 8px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:11px}.filters-applied .filter-drawer .buttons,.filters-applied .filter-drawer br,.filters-applied .filter-group{display:none!important}.filters-applied .filtered-by{display:block}.filters-applied .filter-drawer{padding:20px}.error .content-filterable,.loading-content .content-filterable,.show-filters .content-filterable,.show-filters.filters-applied.loading-content .content-filterable{display:none}.show-filters.filters-applied .content-filterable{display:block}.loading-content .spinner{display:block;margin:40px auto 0;float:none}@media only screen and (max-width:1120px){.wp-filter .search-form{float:none;margin:20px 0}.filter-drawer{border-bottom:1px solid #eee}.filter-group{margin-bottom:0;margin-top:5px;width:100%}.filter-group li{margin:10px 0}}@media only screen and (max-width:782px){.filter-group,.filter-group li{width:100%}}#update-nag,.update-nag{display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:left;margin:25px 20px 0 2px;background-color:#fff;border-left:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.update-message{color:#000}.update-php .spinner{float:none;margin:-4px 0}#ajax-loading,.ajax-feedback,.ajax-loading,.imgedit-wait-spin,.list-ajax-loading{visibility:hidden}#ajax-response.alignleft{margin-left:2em}#adminmenu a,#catlist a,#sidemenu a,#taglist a{text-decoration:none}#contextual-help-wrap,#screen-options-wrap{margin:0;padding:8px 20px 12px;position:relative}#contextual-help-wrap{overflow:auto;margin-left:0!important}#screen-meta .screen-reader-text{visibility:hidden}#screen-meta-links{margin:0 20px 0 0}#screen-meta-links a{padding:3px 6px 3px 16px}#screen-meta-links a:focus{outline:0}#screen-meta{display:none;margin:0 20px -1px 0;position:relative;background-color:#fff;border:1px solid #ddd;border-top:none;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.025);box-shadow:0 1px 0 rgba(0,0,0,.025)}#contextual-help-link-wrap,#screen-options-link-wrap{float:right;height:28px;margin:0 0 0 6px;border:1px solid #ddd;border-top:none;background:#fff;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}#screen-meta-links .screen-meta-toggle{position:relative;top:0}#screen-meta-links a{color:#777}#screen-meta-links a:active,#screen-meta-links a:focus,#screen-meta-links a:hover{color:#333}#screen-meta-links a.show-settings{display:block;font-size:13px;height:22px;line-height:22px;text-decoration:none;z-index:1}#screen-meta-links a:after{right:0;content:'\f140';font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 5px 0 0;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#bbb}#screen-meta-links a.screen-meta-active:after{content:'\f142'}#screen-meta-links a.show-settings:hover{text-decoration:none}.toggle-arrow{background-repeat:no-repeat;background-position:top left;background-color:transparent;height:22px;line-height:22px;display:block}.toggle-arrow-active{background-position:bottom left}#contextual-help-wrap h5,#screen-options-wrap h5{margin:8px 0;font-size:13px}.metabox-prefs label{display:inline-block;padding-right:15px;line-height:30px}.metabox-prefs label input[type=checkbox]{margin-top:-4px;margin-right:6px}.metabox-prefs label input{margin:0 5px 0 2px}.metabox-prefs .columns-prefs label input{margin:0 2px}.metabox-prefs label a{display:none}#contextual-help-wrap{padding:0}#contextual-help-columns{position:relative}#contextual-help-back{position:absolute;top:0;bottom:0;left:150px;right:170px;border:1px solid #e1e1e1;border-top:none;border-bottom:none;background:#f6fbfd}#contextual-help-wrap.no-sidebar #contextual-help-back{right:0;border-right-width:0;-webkit-border-bottom-right-radius:2px;border-bottom-right-radius:2px}.contextual-help-tabs{float:left;width:150px;margin:0}.contextual-help-tabs ul{margin:1em 0}.contextual-help-tabs li{margin-bottom:0;list-style-type:none;border-style:solid;border-width:0 0 0 2px;border-color:transparent}.contextual-help-tabs a{display:block;padding:5px 5px 5px 12px;line-height:18px;text-decoration:none;border:1px solid transparent;border-right:none;border-left:none}.contextual-help-tabs a:hover{color:#333}.contextual-help-tabs .active{padding:0;margin:0 -1px 0 0;border-left:2px solid #2ea2cc;background:#f6fbfd;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02);box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02)}.contextual-help-tabs .active a{border-color:#e1e1e1;color:#333}.contextual-help-tabs-wrap{padding:0 20px;overflow:auto}.help-tab-content{display:none;margin:0 22px 12px 0;line-height:1.6em}.help-tab-content.active{display:block}.help-tab-content ul li{list-style-type:disc;margin-left:18px}.contextual-help-sidebar{width:150px;float:right;padding:0 8px 0 12px;overflow:auto}html.wp-toolbar{padding-top:32px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.narrow{width:70%;margin-bottom:40px}.narrow p{line-height:150%}.widefat td,.widefat th{overflow:hidden;color:#555}.widefat th{font-weight:400}.widefat tfoot tr th,.widefat thead tr th{color:#333}.widefat td p{margin:2px 0 .8em}.widefat ol,.widefat p,.widefat ul{color:#333}.widefat .column-comment p{margin:.6em 0}.postbox-container{float:left}.postbox-container .meta-box-sortables{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpbody-content .metabox-holder{padding-top:10px}.metabox-holder .postbox-container .empty-container{border:3px dashed #bbb;height:250px}.columns-2 #postbox-container-3 .empty-container,.columns-2 #postbox-container-4 .empty-container,.columns-3 #postbox-container-4 .empty-container,.metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#post-body-content{width:100%;min-width:463px;float:left}#post-body.columns-2 #postbox-container-1{float:right;margin-right:-300px;width:280px}#post-body.columns-2 #side-sortables{min-height:250px}@media only screen and (max-width:799px){#wpbody-content .metabox-holder .postbox-container .empty-container{border:0;height:0;min-height:0}}.js .postbox .hndle,.js .widget .widget-top{cursor:move}.hndle a{font-size:11px;font-weight:400}.postbox .handlediv{float:right;width:27px;height:30px}.js .postbox .handlediv{cursor:pointer}.sortable-placeholder{border:1px dashed #bbb;margin-bottom:20px}.postbox,.stuffbox{margin-bottom:20px;padding:0;line-height:1}.postbox .hndle,.stuffbox .hndle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.postbox .inside,.stuffbox .inside{padding:0 12px 12px;line-height:1.4em;font-size:13px}.postbox .inside{margin:11px 0;position:relative}.postbox .inside>p:last-child,.rss-widget ul li:last-child{margin-bottom:1px!important}.postbox.closed h3{border:none;-webkit-box-shadow:none;box-shadow:none}.postbox table.form-table{margin-bottom:0}.postbox table.widefat{-webkit-box-shadow:none;box-shadow:none}.temp-border{border:1px dotted #ccc}.columns-prefs label{padding:0 5px}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover,#dashboard_right_now .versions .b,#ed_reply_toolbar #ed_reply_strong,#pass-strength-result.short,#pass-strength-result.strong,#post-status-display,#post-visibility-display,.feature-filter .feature-name,.item-controls .item-order a,.media-item .percent,.plugins .name{font-weight:600}#wpfooter{position:absolute;bottom:0;left:0;right:0;padding:10px 20px;color:#777}#wpfooter p{font-size:13px;margin:0;line-height:20px}#footer-thankyou{font-style:italic}#wpfooter a{text-decoration:none}#wpfooter a:hover{text-decoration:underline}.nav-tab{border:1px solid #ccc;border-bottom:none;background:#e4e4e4;color:#555;font-size:12px;line-height:16px;display:inline-block;padding:4px 14px 6px;text-decoration:none;margin:-4px 4px -1px 0}.nav-tab:hover{background-color:#fff;color:#464646}.nav-tab-active,.nav-tab-active:hover{border-bottom:1px solid #f1f1f1;background:#f1f1f1;color:#000}h2.nav-tab-wrapper,h3.nav-tab-wrapper{border-bottom:1px solid #ccc;padding-bottom:0;padding-left:10px}h2 .nav-tab{padding:6px 10px;font-weight:700;font-size:15px;line-height:24px}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;display:none;float:right;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:2px 5px 0}#template div{margin-right:190px}.metabox-holder h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#templateside ul li a{text-decoration:none}#sidemenu{margin:-30px 15px 0 315px;list-style:none;position:relative;float:right;padding-left:10px;font-size:12px}#sidemenu a{padding:0 7px;display:block;float:left;line-height:28px;border-top:1px solid #f9f9f9;border-bottom:1px solid #dfdfdf;background-color:#f9f9f9;-webkit-transition:none;transition:none}#sidemenu li{display:inline;line-height:200%;list-style:none;text-align:center;white-space:nowrap;margin:0;padding:0}#sidemenu a.current{font-weight:400;padding-left:6px;padding-right:6px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;border:1px solid #dfdfdf;border-bottom-color:#f1f1f1;background-color:#f1f1f1;color:#000}.plugin-install #description,.plugin-install-network #description{width:60%}table .column-rating,table .column-visible,table .vers{text-align:left}.error-message{color:red;font-weight:600}body.iframe{height:98%}.lp-show-latest p{display:none}.lp-show-latest .lp-error p,.lp-show-latest p:last-child{display:block}td.media-icon{text-align:center;width:80px;padding-top:8px;padding-bottom:8px}td.media-icon img{max-width:80px;max-height:60px}td.image-icon img{border:1px solid rgba(0,0,0,.07)}#howto{font-size:11px;margin:0 5px;display:block}.importers td{padding-right:14px}.importers{font-size:16px;width:auto}#post-body #post-body-content #namediv h3{margin-top:0}#namediv h3 label{vertical-align:baseline}#namediv table{width:100%}#namediv td.first{width:10px;white-space:nowrap}#namediv input{width:98%}#namediv p{margin:10px 0}#submitdiv h3{margin-bottom:0!important}.zerosize{height:0;width:0;margin:0;border:0;padding:0;overflow:hidden;position:absolute}br.clear{height:2px;line-height:2px}.checkbox{border:none;margin:0;padding:0}fieldset{border:0;padding:0;margin:0}.post-categories{display:inline;margin:0;padding:0}.post-categories li{display:inline}div.star-holder{position:relative;height:17px;width:100px;background:url(../images/stars.png?ver=20121108) repeat-x bottom left}div.star-holder .star-rating{background:url(../images/stars.png?ver=20121108) repeat-x top left;height:17px;float:left}.star-rating{white-space:nowrap}.star-rating .star{display:inline-block;width:20px;height:20px;-webkit-font-smoothing:antialiased;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;text-align:center;color:#0074a2}.star-rating .star-full:before{content:'\f155'}.star-rating .star-half:before{content:'\f459'}.rtl .star-rating .star-half{-webkit-transform:rotateY(180deg);-ms-transform:rotateY(180deg);transform:rotateY(180deg)}.star-rating .star-empty:before{content:'\f154'}div.action-links{font-weight:400}#plugin-information{background:#fff;position:fixed;top:0;right:0;bottom:0;left:0;height:100%;padding:0}#plugin-information-scrollable{overflow:auto;height:100%}#plugin-information-title{padding:0 20px;background:#f5f5f5;font-size:22px;font-weight:600;line-height:56px;position:relative;top:0;right:0;left:0;height:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#plugin-information-title.with-banner{margin-right:0;height:250px;bottom:250px;-webkit-background-size:100% auto;background-size:100% auto}#plugin-information-title h2{font-size:1em;font-weight:700;padding:0;margin:0;max-width:680px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#plugin-information-title.with-banner h2{font-family:"Helvetica Neue",sans-serif;display:inline-block;font-size:30px;line-height:50px;padding:0 15px;margin:174px 0 0 10px;color:#fff;background:rgba(30,30,30,.9);text-shadow:0 1px 3px rgba(0,0,0,.4);-webkit-box-shadow:0 0 30px rgba(255,255,255,.1);box-shadow:0 0 30px rgba(255,255,255,.1);-webkit-border-radius:8px;border-radius:8px}#plugin-information-title div.vignette{display:none}#plugin-information-title.with-banner div.vignette{display:block;float:right;top:0;height:250px;width:830px;margin:0 -20px;background:0 0;-webkit-box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1)}#plugin-information-tabs{padding:0 16px;position:relative;right:0;left:0;height:36px;z-index:1;border-bottom:1px solid #ddd;background:#f3f3f3}#plugin-information-tabs a{position:relative;float:left;padding:9px 10px;margin:0;height:18px;line-height:18px;font-size:14px;text-decoration:none;-webkit-transition:none;transition:none}#plugin-information-tabs a.current{margin:0 -1px;background:#fff;border:1px solid #ddd;border-bottom-color:#fff;padding-top:8px;color:#333}#plugin-information-tabs.with-banner a.current{border-top:none;padding-top:9px}#plugin-information-tabs a:active,#plugin-information-tabs a:focus{outline:0}#plugin-information-content{overflow:hidden;background:#fff;position:relative;top:0;right:0;left:0;min-height:100%;min-height:-webkit-calc(100% - 152px);min-height:calc(100% - 152px)}#plugin-information-content.with-banner{min-height:-webkit-calc(100% - 346px);min-height:calc(100% - 346px)}#section-holder{position:relative;top:0;right:250px;bottom:0;left:0;margin-right:250px;padding:10px 26px 99999px;margin-bottom:-99930px}#section-holder .updated{margin:16px 0}#plugin-information .fyi{display:block;float:right;position:relative;top:0;right:0;padding:16px 16px 99999px;margin-bottom:-99930px;width:217px;border-left:1px solid #ddd;background:#f3f3f3;color:#666}#plugin-information .fyi strong{color:#464646}#plugin-information .fyi h3{font-weight:700;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-right:0}#plugin-information .fyi ul{padding:0;margin:0;list-style:none}#plugin-information .fyi li{margin:0 0 10px}#plugin-information .counter-container{margin:3px 0}#plugin-information .counter-label{float:left;margin-right:5px;min-width:55px}#plugin-information .counter-back{height:17px;width:92px;background-color:#ececec;float:left}#plugin-information .counter-bar{height:17px;background-color:#fddb5a;float:left}#plugin-information .counter-count{margin-left:5px}#plugin-information .fyi ul.contributors{margin-top:10px}#plugin-information .fyi ul.contributors li{display:inline-block;margin-right:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li img{vertical-align:middle;margin-right:4px}#plugin-information-footer{padding:15px 16px;position:absolute;right:0;bottom:0;left:0;height:28px;border-top:1px solid #ddd;background:#f3f3f3}#plugin-information .section{direction:ltr}#plugin-information .section ol,#plugin-information .section ul{list-style-type:disc;margin-left:24px}#plugin-information .section,#plugin-information .section p{font-size:14px;line-height:1.7}#plugin-information #section-screenshots ol{list-style:none;margin:0}#plugin-information #section-screenshots li img{vertical-align:text-top;margin-top:16px;max-width:100%;width:auto;height:auto;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px}#plugin-information pre{padding:7px;overflow:auto;border:1px solid #ccc}#plugin-information .review{overflow:hidden;width:100%;margin-bottom:20px;border-bottom:1px solid #e6e6e6}#plugin-information .review-title-section{overflow:hidden}#plugin-information .review-title-section h4{display:inline-block;float:left;margin:0 6px 0 0}#plugin-information .reviewer-info p{clear:both;margin:0;padding-top:2px}#plugin-information .reviewer-info .avatar{float:left;margin:4px 6px 0 0}#plugin-information .reviewer-info .star-rating{float:left}#plugin-information .review-meta{float:left;margin-left:.75em}#plugin-information .review-body{float:left;width:100%}.plugin-version-author-uri{font-size:13px}@media screen and (max-width:771px){#plugin-information-title.with-banner{height:100px;bottom:100px}#plugin-information-title.with-banner h2{margin-top:30px;font-size:20px;line-height:40px;max-width:85%}#plugin-information-title.with-banner div.vignette{height:100px;bottom:100px;width:800%}#plugin-information-tabs{overflow:hidden;padding:0;height:auto}#plugin-information-tabs a.current{margin-bottom:0;border-bottom:none}#plugin-information .fyi{float:none;border:1px solid #ddd;position:static;width:auto;margin:26px 26px 0;padding-bottom:0}#section-holder{position:static;margin:0;padding-bottom:70px}#plugin-information .fyi h3,#plugin-information .fyi small{display:none}#plugin-information-footer{padding:12px 16px 0;height:46px}}body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:#fcfcfc url(../images/spinner.gif) no-repeat center}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:#fcfcfc url(../images/spinner-2x.gif) no-repeat center;-webkit-background-size:20px 20px;background-size:20px 20px}}body.import-php #TB_title,body.index-php #TB_title,body.plugin-install-php #TB_title,body.plugins-php #TB_title,body.update-core-php #TB_title{float:left;height:1px}body.import-php #TB_ajaxWindowTitle,body.index-php #TB_ajaxWindowTitle,body.plugin-install-php #TB_ajaxWindowTitle,body.plugins-php #TB_ajaxWindowTitle,body.update-core-php #TB_ajaxWindowTitle{display:none}body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{left:auto;right:-30px;color:#eee;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}body.import-php #TB_closeWindowButton:focus,body.import-php #TB_closeWindowButton:focus .tb-close-icon,body.import-php .tb-close-icon:focus,body.import-php .tb-close-icon:hover,body.index-php #TB_closeWindowButton:focus,body.index-php #TB_closeWindowButton:focus .tb-close-icon,body.index-php .tb-close-icon:focus,body.index-php .tb-close-icon:hover,body.plugin-install-php #TB_closeWindowButton:focus,body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon,body.plugin-install-php .tb-close-icon:focus,body.plugin-install-php .tb-close-icon:hover,body.plugins-php #TB_closeWindowButton:focus,body.plugins-php #TB_closeWindowButton:focus .tb-close-icon,body.plugins-php .tb-close-icon:focus,body.plugins-php .tb-close-icon:hover,body.update-core-php #TB_closeWindowButton:focus,body.update-core-php #TB_closeWindowButton:focus .tb-close-icon,body.update-core-php .tb-close-icon:focus,body.update-core-php .tb-close-icon:hover{color:#2ea2cc;outline:0;-webkit-box-shadow:none;box-shadow:none}body.import-php .tb-close-icon:before,body.index-php .tb-close-icon:before,body.plugin-install-php .tb-close-icon:before,body.plugins-php .tb-close-icon:before,body.update-core-php .tb-close-icon:before{content:"\f335";font-size:32px}@media screen and (max-width:830px){body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{right:0;top:-30px}}img{border:none}#wphead{border-bottom:1px solid #dfdfdf}#wphead h1 a{color:#464646}.js .meta-box-sortables .postbox:hover .handlediv{margin-right:0!important}.js .meta-box-sortables .postbox .handlediv:before,.js .sidebar-name .sidebar-name-arrow:before{right:12px;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js #widgets-left .sidebar-name .sidebar-name-arrow{display:none}.js #widgets-left .sidebar-name:hover .sidebar-name-arrow,.js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow{display:block}.js .meta-box-sortables .postbox .handlediv:before,.js .sidebar-name .sidebar-name-arrow:before{content:'\f142'}.js .meta-box-sortables .postbox.closed .handlediv:before,.js .widgets-holder-wrap.closed .sidebar-name-arrow:before{content:'\f140'}.error a{text-decoration:underline}.updated a{text-decoration:none;padding-bottom:2px}#photo-add-url-div input[type=text]{width:300px}.alignleft h3{margin:0}#template textarea{font-family:Consolas,Monaco,monospace;font-size:13px;width:97%;background:#f9f9f9;outline:0}#docs-list,#template textarea{direction:ltr}#template p{width:97%}#templateside{float:right;width:190px;word-wrap:break-word}#postcustomstuff p.submit,#templateside h3{margin:0}#templateside h4{margin:1em 0 0}#templateside ol,#templateside ul{margin:.5em 0;padding:0}#templateside li{margin:4px 0}#templateside a,.theme-editor-php .highlight{display:block;padding:3px 3px 3px 12px;text-decoration:none}.theme-editor-php .highlight{margin:-3px 3px -3px -12px}#templateside .highlight{border:none;font-weight:700}.nonessential{color:#666;font-size:11px;font-style:italic;padding-left:12px}#documentation{margin-top:10px}#documentation label{line-height:22px;vertical-align:baseline;font-weight:600}.fileedit-sub{padding:10px 0 8px;line-height:180%}.accordion-section-title:after,.control-section .accordion-section-title:after,.nav-menus-php .item-edit:before,.widget-top a.widget-action:after{right:0;content:'\f140';border:none;background:0 0;font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.accordion-section-title:after,.handlediv,.item-edit,.sidebar-name-arrow,.widget-action{color:#aaa}.accordion-section-title:hover:after,.handlediv:hover,.item-edit:hover,.sidebar-name:hover .sidebar-name-arrow,.widget-action:hover{color:#777}.widget-top a.widget-action:after{padding:12px 12px 0}.nav-menus-php .item-edit:before{line-height:2.1}.accordion-section-title:after,.control-section .accordion-section-title:after{float:right;right:20px;top:-2px}#customize-info.open .accordion-section-title:after,.control-section.open .accordion-section-title:after,.nav-menus-php .menu-item-edit-active .item-edit:before,.widget.open .widget-top a.widget-action:after{content:'\f142'}.ui-draggable,.ui-sortable{-ms-touch-action:none;touch-action:none}.menu.ui-sortable,.meta-box-sortables.ui-sortable,.widgets-holder-wrap .ui-draggable,.widgets-holder-wrap .ui-sortable{-ms-touch-action:auto;touch-action:auto}.menu.ui-sortable .menu-item-handle,.meta-box-sortables.ui-sortable .hndle{-ms-touch-action:none;touch-action:none}.accordion-section{border-bottom:1px solid #dfdfdf;margin:0}.accordion-section.open .accordion-section-content,.no-js .accordion-section .accordion-section-content{display:block}.accordion-section.open:hover{border-bottom-color:#dfdfdf}.accordion-section-content{display:none;padding:10px 20px 15px;overflow:hidden;background:#fff}.accordion-section-title{margin:0;padding:12px 15px 15px;position:relative;border-left:1px solid #dfdfdf;border-right:1px solid #dfdfdf;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.js .accordion-section-title{cursor:pointer}.js .accordion-section-title:after{position:absolute;top:12px;right:10px;z-index:1}.accordion-section-title:focus{outline:0}.accordion-section-title:focus:after,.accordion-section-title:hover:after{border-color:#aaa transparent}.cannot-expand .accordion-section-title{cursor:auto}.cannot-expand .accordion-section-title:after{display:none}.control-section .accordion-section-title{border-left:none;border-right:none;padding:10px 10px 11px 14px;line-height:21px;background:#fff}.control-section .accordion-section-title:after{top:11px}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{color:#222;background:#f5f5f5}.control-section.open .accordion-section-title{border-bottom:1px solid #dfdfdf}@media only screen and (min-width:769px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:860px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (min-width:980px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:768px){#col-left,#col-right{width:100%}}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){div.star-holder,div.star-holder .star-rating{background:url(../images/stars-2x.png?ver=20121108) repeat-x bottom left;-webkit-background-size:21px 37px;background-size:21px 37px}.spinner{background-image:url(../images/spinner-2x.gif)}#bulk-titles div a,#bulk-titles div a:hover,#screen-meta-links a.show-settings,.curtime #timestamp,.meta-box-sortables .postbox:hover .handlediv,.sidebar-name-arrow,.sidebar-name:hover .sidebar-name-arrow,.tagchecklist span a,.tagchecklist span a:hover,.widget-top a.widget-action,.widget-top a.widget-action:hover{background:none!important}}@-ms-viewport{width:device-width}@media screen and (max-width:782px){html.wp-toolbar{padding-top:46px}body{min-width:240px;overflow-x:hidden}body *{-webkit-tap-highlight-color:transparent!important}#wpcontent{position:relative;margin-left:0;padding-left:10px}#wpbody-content{padding-bottom:100px}.wrap{margin-right:12px;margin-left:0}.col-wrap{padding:0}#collapse-menu,#screen-meta,#screen-meta-links,.post-format-select{display:none!important}.wrap .add-new-h2,.wrap .add-new-h2:active{padding:10px 15px;font-size:14px}.wp-color-result{height:auto;padding-left:45px}.wp-color-result:after{font-size:14px;height:auto;padding:6px 14px}.media-upload-form div.error,.wrap div.error,.wrap div.updated{margin:20px 0 10px;padding:5px 10px;font-size:14px;line-height:175%}.wrap .icon32+h2{margin-top:-2px}.wp-responsive-open #wpbody{right:-190px}code{word-wrap:break-word}.postbox{font-size:14px}.metabox-holder h3{padding:12px}.postbox .handlediv{margin-top:3px}.subsubsub{font-size:16px;text-align:center;margin-bottom:15px}#templateside{float:none;width:auto}#templateside li{margin:0}#templateside li a{display:block;padding:5px}#templateside .highlight{padding:5px;margin-left:-5px;margin-top:-5px}#template div{float:none;margin:0;width:auto}#template textarea{width:100%}.fileedit-sub .alignright{margin-top:15px}#comments-form .checkforspam,#wpfooter{display:none}}@media screen and (max-width:600px){#wpwrap.wp-responsive-open{overflow-x:hidden}html.wp-toolbar{padding-top:0}#wpbody{padding-top:46px}div#post-body.metabox-holder.columns-1{overflow-x:hidden}}input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=radio],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;outline:0;-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=email],input[type=url]{direction:ltr}input[type=checkbox],input[type=radio]{border:1px solid #bbb;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 4px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#888}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#2ea2cc}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-right:4px;line-height:10px}input[type=checkbox]:checked:before,input[type=radio]:checked:before{float:left;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:'\f147';margin:-3px 0 0 -4px;color:#1e8cbe}input[type=radio]:checked:before{content:'\2022';text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{overflow:auto;padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid{background-color:#ffebe8!important}.form-invalid input,.form-invalid select{border-color:#c00!important}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px;vertical-align:middle}.wp-admin .button-cancel{padding:0 5px;line-height:2}.meta-box-sortables select{max-width:100%}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:left;max-width:100%;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:right}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}#adduser .form-field input,input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}#doaction,#doaction2,#post-query-submit{margin:1px 8px 0 0}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:left;margin-right:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-left:1em}#upload-form label{color:#777}#your-profile label+a,fieldset label,label{vertical-align:middle}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:'\f173';display:inline-block;font:400 20px/1 dashicons;speak:none;left:-1px;padding:0 5px 0 0;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass-strength-result{background-color:#eee;border:1px solid #ddd;float:left;margin:13px 5px 5px 1px;padding:3px 5px;text-align:center;width:200px;display:none}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c}.indicator-hint{padding-top:8px}p.search-box{float:right;margin:0}.network-admin.themes-php p.search-box{clear:left}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:left;height:28px;margin:0 4px 0 0}input[type=text].ui-autocomplete-loading{background:url(../images/loading.gif) no-repeat right center;visibility:visible}ul#add-to-blog-users{margin:0 0 0 14px}.ui-autocomplete-input.open{-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:1px solid #aaa;background-color:#efefef}.ui-autocomplete li{margin-bottom:0;white-space:nowrap;text-align:left}.ui-autocomplete li a{display:block;height:100%;padding:4px 10px;color:#444}.ui-autocomplete li a.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#222;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-right:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-right:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:3px}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.color-option{cursor:pointer}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.pressthis{margin:20px 0}.pressthis a,.pressthis a:active,.pressthis a:focus,.pressthis a:hover{display:inline-block;position:relative;cursor:move;color:#333;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis a:active{outline:0}.pressthis a:hover:after{-webkit-transform:skew(20deg) rotate(9deg);-ms-transform:skew(20deg) rotate(9deg);transform:skew(20deg) rotate(9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis a span{display:inline-block;margin:0;padding:0 12px 8px 9px}.pressthis a span:before{color:#777;font:400 20px/1 dashicons;content:'\f157';position:relative;display:inline-block;top:4px;margin-right:4px}.pressthis a:after{content:'';width:70%;height:55%;z-index:-1;position:absolute;right:10px;bottom:9px;background:0 0;-webkit-transform:skew(20deg) rotate(6deg);-ms-transform:skew(20deg) rotate(6deg);transform:skew(20deg) rotate(6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}#local-time,#utc-time{padding-left:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php .spinner{float:none;margin:-3px 3px}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=number],input[type=password],input[type=search],input[type=text]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat th input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat th input[type=checkbox]{margin-bottom:8px}.widefat th input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 Dashicons;margin:-3px -5px}input[type=checkbox],input[type=radio]{height:25px;width:25px}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-right:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=password],.form-table td input[type=text],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=number].small-text,input[type=password].small-text,input[type=search].small-text,input[type=text].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{padding:4px 0 0;line-height:1.4em}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{padding-top:8px;padding-left:0}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}}@media only screen and (max-width:768px){.form-field input,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}@media screen and (max-width:600px){.color-option{width:49%}}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:160px;background-color:#222}#adminmenuback{position:absolute;top:0;bottom:0;z-index:-1}#adminmenu{clear:left;margin:12px 0 0;padding:0;list-style:none}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:36px}.icon16{height:18px;width:18px;padding:6px;margin:-6px 0 0 -8px;float:left}.icon16:before{color:#999;font:400 20px/1 dashicons;speak:none;padding:6px 0;height:34px;width:20px;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.icon16.icon-dashboard:before{content:'\f226'}.icon16.icon-post:before{content:'\f109'}.icon16.icon-media:before{content:'\f104'}.icon16.icon-links:before{content:'\f103'}.icon16.icon-page:before{content:'\f105'}.icon16.icon-comments:before{content:'\f101';margin-top:1px}.icon16.icon-appearance:before{content:'\f100'}.icon16.icon-plugins:before{content:'\f106'}.icon16.icon-users:before{content:'\f110'}.icon16.icon-tools:before{content:'\f107'}.icon16.icon-settings:before{content:'\f108'}.icon16.icon-site:before{content:'\f112'}.icon16.icon-generic:before{content:'\f111'}.icon16.icon-appearance,.icon16.icon-comments,.icon16.icon-dashboard,.icon16.icon-generic,.icon16.icon-links,.icon16.icon-media,.icon16.icon-page,.icon16.icon-plugins,.icon16.icon-post,.icon16.icon-settings,.icon16.icon-site,.icon16.icon-tools,.icon16.icon-users,.menu-icon-appearance div.wp-menu-image,.menu-icon-comments div.wp-menu-image,.menu-icon-dashboard div.wp-menu-image,.menu-icon-generic div.wp-menu-image,.menu-icon-links div.wp-menu-image,.menu-icon-media div.wp-menu-image,.menu-icon-page div.wp-menu-image,.menu-icon-plugins div.wp-menu-image,.menu-icon-post div.wp-menu-image,.menu-icon-settings div.wp-menu-image,.menu-icon-site div.wp-menu-image,.menu-icon-tools div.wp-menu-image,.menu-icon-users div.wp-menu-image{background-image:none!important}#adminmenuwrap{position:relative;float:left}#adminmenu *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#adminmenu li{margin:0;padding:0;cursor:pointer}#adminmenu a{display:block;line-height:18px;padding:2px 5px;color:#eee}#adminmenu .wp-submenu a{color:#bbb}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover{background:0 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a:hover,#adminmenu li.menu-top>a:focus{color:#2ea2cc}#adminmenu li.menu-top{border:none;min-height:34px;position:relative}#adminmenu .wp-submenu{list-style:none;position:absolute;top:-1000em;left:160px;overflow:visible;word-wrap:break-word}#adminmenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{padding:7px 0 8px;z-index:9999;background-color:#333;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu a.menu-top:focus+.wp-submenu,.js #adminmenu .opensub .wp-submenu,.js #adminmenu .sub-open,.no-js li.wp-has-submenu:hover .wp-submenu{top:-1px}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.no-js li.wp-has-current-submenu:hover .wp-submenu{position:relative;z-index:3;top:auto;left:auto;right:auto;bottom:auto;border:0;margin-top:0;-webkit-box-shadow:none;box-shadow:none;background-color:#333}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{position:relative;background-color:#111}.folded #adminmenu li.menu-top:hover,.folded #adminmenu li.opensub>a.menu-top,.folded #adminmenu li>a.menu-top:focus{z-index:10000}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu .wp-menu-arrow,#adminmenu .wp-menu-arrow div,#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu{background:#0074a2;color:#fff}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.folded #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open,.folded #adminmenu a.menu-top:focus+.wp-submenu,.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu{top:0;left:36px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:160px;width:auto}#adminmenu .wp-submenu a{font-size:13px;line-height:1.2;margin:0;padding:6px 0}#adminmenu .opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-not-current-submenu li>a,.folded #adminmenu .wp-has-current-submenu li>a{padding-right:16px;padding-left:14px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu .wp-has-current-submenu ul>li>a,.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:6px 12px}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{font-size:14px;font-weight:400;line-height:18px;padding:0}#adminmenu .wp-submenu-head,.folded #adminmenu .wp-menu-name{display:none}.folded #adminmenu .wp-submenu-head{display:block}#adminmenu .wp-submenu li{padding:0;margin:0;overflow:hidden}#adminmenu .wp-menu-image img{padding:9px 0 0;opacity:.6;filter:alpha(opacity=60)}#adminmenu div.wp-menu-name{padding:8px 0}#adminmenu div.wp-menu-image{float:left;width:36px;height:34px;margin:0;text-align:center}#adminmenu div.wp-menu-image.svg{background-repeat:no-repeat;background-position:center;-webkit-background-size:20px auto;background-size:20px auto}div.wp-menu-image:before{color:#999;padding:7px 0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu li:hover div.wp-menu-image:before{color:#2ea2cc}.folded #adminmenu div.wp-menu-image{width:35px;height:30px;position:absolute;z-index:25}.folded #adminmenu a.menu-top{height:34px}.no-font-face #adminmenu .wp-menu-image{display:none}.no-font-face #adminmenu div.wp-menu-name{padding:8px 12px}.no-font-face.auto-fold #adminmenu .wp-menu-name{margin-left:0}.sticky-menu #adminmenuwrap{position:fixed;z-index:9999}.wp-menu-arrow{display:none!important}ul#adminmenu a.wp-has-current-submenu{position:relative}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{right:0;border:8px solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#f1f1f1;top:50%;margin-top:-8px}.folded ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.folded ul#adminmenu a.wp-has-current-submenu:after,.folded ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{right:0;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-width:8px;top:10px;z-index:10000}.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:18px}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#333}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1;filter:alpha(opacity=100)}#adminmenu li.wp-menu-separator{height:5px;padding:0;margin:0 0 6px;cursor:inherit}#adminmenu div.separator{height:2px;padding:0}#adminmenu .wp-submenu .wp-submenu-head{color:#fff;font-weight:400;font-size:14px;padding:8px 4px 8px 11px;margin:-7px 0 4px}#adminmenu li.current,.folded #adminmenu li.wp-menu-open{border:0}#adminmenu .awaiting-mod,#adminmenu .update-plugins,#sidemenu li a span.update-plugins{display:inline-block;background-color:#d54e21;color:#fff;font-size:9px;line-height:17px;font-weight:600;margin:1px 0 0 2px;vertical-align:top;-webkit-border-radius:10px;border-radius:10px;z-index:26}#adminmenu li .awaiting-mod span,#adminmenu li span.update-plugins span,#sidemenu li a span.update-plugins span{display:block;padding:0 6px}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod{background-color:#2ea2cc;color:#fff}#adminmenu li span.count-0,#sidemenu li a .count-0{display:none}#collapse-menu{font-size:13px;line-height:34px;margin-top:10px;color:#aaa;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after{color:#2ea2cc}.folded #collapse-menu span{display:none}#collapse-button,#collapse-button div{width:15px;height:15px}#collapse-button{float:left;height:15px;margin:10px 8px 10px 11px;width:15px;-webkit-border-radius:10px;border-radius:10px}#wpwrap #collapse-button div{padding:0}#collapse-button div:after{content:'\f148';display:block;line-height:15px;left:-3px;top:-3px;color:#aaa;font:400 20px/1 dashicons!important;speak:none;margin:0 auto;padding:0!important;position:relative;text-align:center;width:20px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.folded #collapse-button div:after,.rtl #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.folded #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}li#wp-admin-bar-menu-toggle{display:none}@media only screen and (max-width:960px){.auto-fold #wpcontent,.auto-fold #wpfooter{margin-left:36px}.auto-fold #adminmenu,.auto-fold #adminmenu li.menu-top,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:36px}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.auto-fold #adminmenu .wp-submenu.sub-open,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{top:0;left:36px}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu,.auto-fold #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em;margin-right:-1px;padding:7px 0 8px;z-index:9999}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu{min-width:150px;width:auto}.auto-fold #adminmenu .wp-has-current-submenu li>a{padding-right:16px;padding-left:14px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-left:12px}.auto-fold #adminmenu .wp-menu-name{display:none}.auto-fold #adminmenu .wp-submenu-head{display:block}.auto-fold #adminmenu div.wp-menu-image{height:30px;width:34px;position:absolute;z-index:25}.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.wp-menu-open{border:0}.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last{margin-bottom:0}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:16px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}.auto-fold #adminmenu li.menu-top:hover,.auto-fold #adminmenu li.opensub>a.menu-top,.auto-fold #adminmenu li>a.menu-top:focus{z-index:10000}.auto-fold #collapse-menu span{display:none}.auto-fold #collapse-button div{background:0 0}.auto-fold #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.auto-fold #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}}@media screen and (max-width:782px){.auto-fold #wpcontent{position:relative;margin-left:0;padding-left:10px}.sticky-menu #adminmenuwrap{position:relative;z-index:auto;top:0}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{position:absolute;width:190px;z-index:100}.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{display:none}.auto-fold .wp-responsive-open #adminmenuback,.auto-fold .wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu li.menu-top{width:100%}.auto-fold #adminmenu li a{font-size:16px;padding:5px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding:10px 10px 10px 20px}.auto-fold #adminmenu .wp-menu-name{display:block;margin-left:35px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li.current>a.current:after{border-width:8px;margin-top:-8px}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{display:none}#adminmenu .wp-submenu{position:relative;display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{position:relative;display:block;top:0;left:-1px;-webkit-box-shadow:none;box-shadow:none}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .selected .wp-submenu:after,.auto-fold #adminmenu .wp-menu-open .wp-submenu:after{display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:block}.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{position:relative;left:-1px;right:0;top:0}#adminmenu .wp-submenu .wp-submenu-head{display:none}#wp-responsive-toggle{position:fixed;top:5px;left:4px;padding-right:10px;z-index:99999;border:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpadminbar #wp-admin-bar-menu-toggle a{display:block;padding:0;overflow:hidden;outline:0;text-decoration:none;border:1px solid transparent;background:0 0;height:44px;margin-left:-1px}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#333}li#wp-admin-bar-menu-toggle{display:block}#wpadminbar #wp-admin-bar-menu-toggle a:hover{border:1px solid transparent}#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{content:'\f228';display:inline-block;float:left;font:400 40px/45px Dashicons;vertical-align:middle;outline:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:44px;width:50px;padding:0;border:none;text-align:center;text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}@media screen and (max-width:600px){#adminmenuback,#adminmenuwrap{display:none}.wp-responsive-open #adminmenuback,.wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu{top:46px}}#wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody-content #dashboard-widgets.columns-2 .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4{float:right;width:50.5%}#wpbody-content #dashboard-widgets.columns-3 .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4{float:right}#dashboard-widgets .postbox-container,#wpbody-content #dashboard-widgets.columns-4 .postbox-container{width:25%}#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container{border:none!important}.ie8 #wpbody-content #dashboard-widgets .postbox-container{width:49.5%}.ie8 #wpbody-content #dashboard-widgets #postbox-container-2,.ie8 #wpbody-content #dashboard-widgets #postbox-container-3,.ie8 #wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}.ie8 #dashboard-widgets #postbox-container-3 .empty-container,.ie8 #dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}#dashboard-widgets-wrap{overflow:hidden;margin:0 -8px}#dashboard-widgets .postbox .inside{margin-bottom:0}#dashboard-widgets .meta-box-sortables{margin:0 8px;min-height:100px}#the-comment-list td.comment p.comment-author{margin-top:0;margin-left:0}#the-comment-list p.comment-author img{float:left;margin-right:8px}#the-comment-list p.comment-author strong a{border:none}#the-comment-list td{vertical-align:top}#the-comment-list td.comment{word-wrap:break-word}#the-comment-list td.comment img{max-width:100%}.welcome-panel{position:relative;overflow:auto;margin:16px 0;padding:23px 10px 0;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:13px;line-height:2.1em}.welcome-panel h3{margin:0;font-size:21px;font-weight:400;line-height:1.2}.welcome-panel h4{margin:1.33em 0 0;font-size:16px}.welcome-panel li{font-size:14px}.welcome-panel p{color:#777}.welcome-panel a{text-decoration:none}.welcome-panel .about-description{font-size:16px;margin:0}.welcome-panel .welcome-panel-close{position:absolute;top:5px;right:10px;padding:20px 15px 0 3px;font-size:13px;text-decoration:none;line-height:1}#welcome-panel.welcome-panel .welcome-panel-close:before{position:absolute;left:-18px;margin-top:-2px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.wp-core-ui .welcome-panel .button.button-hero{margin:15px 0 3px}.welcome-panel-content{margin-left:13px;max-width:1500px}.welcome-panel .welcome-panel-column-container{clear:both;overflow:hidden;position:relative}.welcome-panel .welcome-panel-column{width:32%;min-width:200px;float:left}.ie8 .welcome-panel .welcome-panel-column{min-width:230px}.welcome-panel .welcome-panel-column:first-child{width:36%}.welcome-panel-column p.hide-if-no-customize{margin-top:10px}.welcome-panel-column p{margin-top:7px;color:#464646}.welcome-panel .welcome-icon{display:block;padding:0 0 8px;background:0 0!important}.welcome-panel .welcome-icon:before{color:#888;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 10px 0 0;top:-1px;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;vertical-align:top}.welcome-panel .welcome-edit-page:before,.welcome-panel .welcome-write-blog:before{content:'\f119';top:-3px}.welcome-panel .welcome-add-page:before{content:'\f132'}.welcome-panel .welcome-view-site:before{content:'\f115';top:-2px}.welcome-panel .welcome-widgets-menus:before{content:'\f116';top:-2px}.welcome-panel .welcome-comments:before{content:'\f117';top:-1px}.welcome-panel .welcome-learn-more:before{content:'\f118';top:-1px}.welcome-panel .welcome-widgets-menus{line-height:16px}.welcome-panel .welcome-panel-column ul{margin:.8em 1em 1em 0}.welcome-panel .welcome-panel-column li{line-height:16px;list-style-type:none}#dashboard_primary .inside{margin:0;padding:0}#dashboard_primary .dashboard-widget-control-form,#dashboard_primary .widget-loading{padding:12px 12px 0}body #dashboard-widgets .postbox form .submit{margin:0}.dashboard-widget-control-form{overflow:hidden}.dashboard-widget-control-form p{margin-top:0}.rssSummary{color:#777;margin-top:4px}#dashboard_primary .rss-widget{border-bottom:1px solid #eee;font-size:13px;padding:8px 12px 10px}#dashboard_primary .rss-widget:last-child{border-bottom:none;padding-bottom:8px}#dashboard_primary .rss-widget a{font-weight:400}#dashboard_primary .rss-widget span,#dashboard_primary .rss-widget span.rss-date{color:#777}#dashboard_primary .rss-widget span.rss-date{margin-left:12px}#dashboard_primary .rss-widget ul li{margin-bottom:8px}#dashboard_right_now ul{margin:0;overflow:hidden}#dashboard_right_now li{width:50%;float:left;margin-bottom:10px}#dashboard_right_now .inside{overflow:hidden;padding:0}#dashboard_right_now .main{overflow:hidden;padding:0 12px 11px}#dashboard_right_now .main p{margin:0}#dashboard_right_now #wp-version-message .button{clear:right;float:right;position:relative;top:-5px}.mu-storage{overflow:hidden}#dashboard-widgets h4.mu-storage{margin-bottom:10px}#dashboard_right_now li a:before,#dashboard_right_now li span:before{color:#888}#dashboard_right_now .sub{color:#777;background:#f5f5f5;border-top:1px solid #eee;padding:10px 12px 6px}#dashboard_right_now .sub h4{color:#555}#dashboard_right_now .sub p{margin:0 0 1em}#dashboard_right_now .warning a:before,#dashboard_right_now .warning span:before{color:#d54e21}#dashboard_right_now li a:before,#dashboard_right_now li span:before{content:'\f159';font:400 20px/1 dashicons;speak:none;display:block;float:left;margin:0 5px 0 0;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_right_now .page-count a:before,#dashboard_right_now .page-count span:before{content:'\f105'}#dashboard_right_now .post-count a:before,#dashboard_right_now .post-count span:before{content:'\f109'}#dashboard_right_now .comment-count a:before{content:'\f101'}#dashboard_right_now .comment-mod-count a:before{content:'\f125'}#dashboard_right_now .storage-count a:before{content:'\f104'}#dashboard_right_now .storage-count.warning a:before{content:'\f153'}#dashboard_quick_press .inside{margin:0;padding:0}#dashboard_quick_press div.updated{margin-bottom:10px;border:1px solid #eee;border-width:1px 1px 1px 0}#dashboard_quick_press form{overflow:hidden;margin:12px}#dashboard_quick_press .drafts,#dashboard_quick_press .easy-blogging{padding:10px 0 0}input#save-post{float:left}form.initial-form.quickpress-open label.prompt{font-style:normal}form.initial-form.quickpress-open input#title{height:auto}#dashboard_quick_press input,#dashboard_quick_press textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0}#dashboard_quick_press textarea{resize:vertical}#description-wrap{margin-top:12px}#title-wrap #title-prompt-text,.textarea-wrap #content-prompt-text{color:#777}.input-text-wrap,.textarea-wrap{position:relative}.input-text-wrap .prompt,.textarea-wrap .prompt{position:absolute}.textarea-wrap #content-prompt-text{font-size:1.1em;padding:7px 8px}.textarea-wrap textarea#content{margin:0 0 8px;padding:6px 7px}#quick-press textarea#content{min-height:90px;max-height:1300px;resize:none}.js #dashboard_quick_press .drafts{border-top:1px solid #eee}#dashboard_quick_press .drafts abbr{border:none}#dashboard_quick_press .drafts h4{margin:0 12px 8px;font-weight:400}#dashboard_quick_press .drafts .view-all{float:right;margin:0 12px 0 0}#dashboard_primary a.rsswidget{font-weight:400}#dashboard_quick_press .drafts ul{margin:0 12px}#dashboard_quick_press .drafts li{margin-bottom:1em}#dashboard_quick_press .drafts li time{color:#777}#dashboard_quick_press .drafts p{margin:0;word-wrap:break-word}#dashboard_quick_press .draft-title{overflow:hidden}#dashboard_quick_press .draft-title a,#dashboard_quick_press .draft-title time{float:left;margin:0 5px 0 0}#dashboard-widgets #dashboard_activity h4{margin:0 0 8px 12px;font-weight:400}#dashboard-widgets #dashboard_activity h4.comment-meta{margin:0}#dashboard_activity h4.comment-meta{margin-bottom:4px}#dashboard_activity ul{padding:0 12px}#dashboard_activity .comment-meta span.approve:before{content:'\f227';font:20px/.5 dashicons;margin-left:12px;vertical-align:middle;position:relative;top:-1px;margin-right:2px}#dashboard_activity .inside{padding:0;margin:0}#dashboard_activity .no-activity{overflow:hidden;padding:0 12px 12px;text-align:center}#dashboard_activity .no-activity p{color:#999;font-size:16px}#dashboard_activity .no-activity .smiley{margin-top:0}#dashboard_activity .no-activity .smiley:before{content:'\f328';font:400 120px/1 dashicons;speak:none;display:block;margin:0 5px 0 0;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_activity .subsubsub{float:none;border-top:1px solid #eee;margin-top:0;padding:8px 12px 4px}#future-posts ul,#published-posts ul{clear:both;margin-bottom:0}#future-posts li,#published-posts li{overflow:hidden;margin-bottom:8px}#future-posts ul span,#published-posts ul span{color:#777;float:left;margin-right:8px;min-width:150px}.activity-block{border-bottom:1px solid #eee;overflow:hidden;padding:8px 0 4px}.activity-block:last-child{border-bottom:none}.activity-block .subsubsub li{color:#ddd}#activity-widget #the-comment-list div.undo,#activity-widget #the-comment-list tr.undo{background:0 0;padding:6px 0;margin-left:12px}#activity-widget #the-comment-list .alt,#activity-widget #the-comment-list .alternate{background:0 0}#activity-widget #the-comment-list .comment-item{background:#fafafa;padding:12px;position:relative}#activity-widget #the-comment-list img{position:absolute;top:13px}#activity-widget #the-comment-list .dashboard-comment-wrap{padding-left:63px}#activity-widget #the-comment-list .dashboard-comment-wrap blockquote{margin:1em 0}#activity-widget #the-comment-list .comment-item h4{font-size:13px;color:#999}#activity-widget #the-comment-list .comment-item p.row-actions{margin:4px 0 0}#activity-widget #the-comment-list .comment-item:first-child{border-top:1px solid #eee}#activity-widget #the-comment-list .unapproved{background-color:#fef7f1}#activity-widget #the-comment-list .unapproved:before{content:"";display:block;position:absolute;left:0;top:0;bottom:0;background:#d54e21;width:4px}#activity-widget #the-comment-list .spam-undo-inside .avatar,#activity-widget #the-comment-list .trash-undo-inside .avatar{position:relative;top:0}#dashboard-widgets #dashboard_browser_nag.postbox .inside{margin:10px}.edit-box{display:none}h3:hover .edit-box{display:inline}#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:100%}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0}#dashboard-widgets a{text-decoration:none}#dashboard-widgets h3 a{text-decoration:underline}#dashboard-widgets h3 .postbox-title-action{position:absolute;right:10px;padding:0;top:5px}.js #dashboard-widgets h3 .postbox-title-action{right:33px}#dashboard-widgets h4{color:#222;font-weight:400;font-size:14px;margin:0 0 .2em;padding:0}#dashboard_plugins h5{font-size:14px}#latest-comments #the-comment-list{position:relative}#activity-widget #the-comment-list .comment,#activity-widget #the-comment-list .pingback{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.06);box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}#activity-widget .comments #the-comment-list .alt{background-color:transparent}#activity-widget #latest-comments #the-comment-list .comment-item{padding:1em 12px}#latest-comments #the-comment-list .pingback{padding-left:12px!important}#latest-comments #the-comment-list .comment-item:first-child{border-top:none}#latest-comments #the-comment-list .comment-item h4{line-height:1.5em;margin-top:0;color:#666}#latest-comments #the-comment-list .comment-item h4 cite{font-style:normal;font-weight:400}#latest-comments #the-comment-list .comment-item blockquote,#latest-comments #the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline}#latest-comments #the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:13px}#description-wrap label,#title-wrap label{cursor:text}#title-wrap #title{padding:2px 6px;font-size:1.3em;outline:0}#title-wrap #title-prompt-text{font-size:1.1em;padding:5px 8px}.rss-widget ul{margin:0;padding:0;list-style:none}a.rsswidget{font-size:14px;font-weight:600;line-height:1.7em}.rss-widget ul li{line-height:1.5em;margin-bottom:12px}.rss-widget span.rss-date{color:#999;font-size:13px;margin-left:3px}.rss-widget cite{display:block;text-align:right;margin:0 0 1em;padding:0}.rss-widget cite:before{content:'\2014'}.dashboard-comment-wrap{overflow:hidden;word-wrap:break-word}#dashboard_browser_nag a.update-browser-link{font-size:1.2em;font-weight:600}#dashboard_browser_nag a{text-decoration:underline}#dashboard_browser_nag p.browser-update-nag.has-browser-icon{padding-right:125px}#dashboard_browser_nag .browser-icon{margin-top:-35px}#dashboard_browser_nag.postbox.browser-insecure{background-color:#ac1b1b;border-color:#ac1b1b}#dashboard_browser_nag.postbox{background-color:#e29808;background-image:none;border-color:#edc048;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag.postbox.browser-insecure h3{border-bottom-color:#cd5a5a;color:#fff}#dashboard_browser_nag.postbox h3{border-bottom-color:#f6e2ac;background:0 0;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag a{color:#fff}#dashboard_browser_nag h3.hndle{border:none;font-weight:600;font-size:20px;padding-top:10px}.postbox#dashboard_browser_nag p a.dismiss{font-size:14px}.postbox#dashboard_browser_nag a,.postbox#dashboard_browser_nag p,.postbox#dashboard_browser_nag p.browser-update-nag{font-size:16px}@media only screen and (max-width:799px){#wpbody-content #dashboard-widgets .postbox-container{width:100%}}@media only screen and (min-width:800px) and (max-width:1499px){#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}#wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}.index-php .columns-prefs,.index-php .screen-layout{display:block}.columns-prefs .columns-prefs-3,.columns-prefs .columns-prefs-4{display:none}}@media only screen and (min-width:1500px) and (max-width:1800px){#wpbody-content #dashboard-widgets .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right}#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}}@media screen and (max-width:870px){.welcome-panel .welcome-panel-column,.welcome-panel .welcome-panel-column:first-child{display:block;float:none;width:100%}.welcome-panel .welcome-panel-column li{display:inline-block;margin-right:13px}.welcome-panel .welcome-panel-column ul{margin:.4em 0 0}}@media screen and (max-width:782px){#dashboard_recent_comments #the-comment-list .comment-item .avatar{height:30px;width:30px;margin:4px 10px 5px 0}}@media screen and (max-width:600px){.welcome-panel .welcome-panel-close{overflow:hidden;text-indent:100%;white-space:nowrap;width:20px;height:20px;right:0;padding:5px}#welcome-panel.welcome-panel .welcome-panel-close:before{font-size:20px;margin:0}}.post-com-count-wrapper{min-width:22px}.post-com-count{background:no-repeat center -80px;height:1.3em;line-height:1.1em;display:block;text-decoration:none;padding:0 0 6px;cursor:pointer;color:#fff}.post-com-count:after{content:"";display:block;width:0;height:0;margin-left:8px;border-top:5px solid #bbb;border-right:5px solid transparent}.post-com-count span{font-size:11px;font-weight:600;height:1.4em;line-height:1.4em;min-width:.7em;padding:0 6px;display:inline-block;-webkit-border-radius:5px;border-radius:5px;background-color:#bbb;color:#fff}.post-com-count:hover{background-position:center -3px}.post-com-count:hover span{background-color:#2ea2cc}.post-com-count:hover:after{border-top:5px solid #2ea2cc}strong .post-com-count{background-position:center -55px}strong .post-com-count span{background-color:#0074a2}strong .post-com-count:after{border-top:5px solid #0074a2}.column-response .post-com-count{float:left;margin-right:5px;text-align:center}.response-links{float:left}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom:1px solid #ccc}.commentlist li li{border-bottom:0;padding:0}.commentlist p{padding:0;margin:0 0 .8em}#submitted-on,.submitted-on{color:#777}#replyrow td{padding:2px}#replysubmit{margin:0;padding:0 5px 3px;text-align:center}#replysubmit .spinner{padding:2px 0 0;vertical-align:top;float:right}#replysubmit .button{margin-right:5px}#replysubmit .error{color:red;line-height:21px;text-align:center}#replyrow h5{margin:.2em 0 0;padding:0 5px;line-height:1.4em;font-size:1em}#edithead .inside{float:left;padding:3px 0 2px 5px;margin:0;text-align:center}#edithead .inside input{width:180px}#edithead label{padding:2px 0}#replycontainer{padding:5px}#replycontent{height:120px;-webkit-box-shadow:none;box-shadow:none}#replyerror{border-color:#ddd;background-color:#f9f9f9}.commentlist .avatar{vertical-align:text-top}#the-comment-list .attachment-80x60{padding:4px 8px}#the-comment-list div.undo,#the-comment-list tr.undo{background-color:#f4f4f4}#the-comment-list .unapproved td,#the-comment-list .unapproved th{background-color:#fef7f1}#the-comment-list .unapproved th.check-column{border-left:4px solid #d54e21}#the-comment-list .unapproved th.check-column input{margin-left:4px}#the-comment-list .approve a{color:#006505}#the-comment-list .unapprove a{color:#d98500}#the-comment-list td,#the-comment-list th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}#the-comment-list tr:last-child td,#the-comment-list tr:last-child th{-webkit-box-shadow:none;box-shadow:none}#the-comment-list tr.unapproved+tr.approved td,#the-comment-list tr.unapproved+tr.approved th{border-top:1px solid rgba(0,0,0,.03)}.vim-current,.vim-current td,.vim-current th{background-color:#e4f2fd!important}th .comment-grey-bubble{height:16px;width:16px}th .comment-grey-bubble:before{content:'\f101';font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;left:-4px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}table.fixed{table-layout:fixed}.fixed .column-rating,.fixed .column-visible{width:8%}.fixed .column-author,.fixed .column-date,.fixed .column-format,.fixed .column-links,.fixed .column-parent,.fixed .column-posts{width:10%}.fixed .column-posts{width:74px}.fixed .column-comment .comment-author{display:none}.fixed .column-categories,.fixed .column-rel,.fixed .column-response,.fixed .column-role,.fixed .column-tags{width:15%}.fixed .column-slug{width:25%}.fixed .column-locations{width:35%}.fixed .column-comments{width:4em;padding:8px 0;text-align:left}.fixed .column-comments .vers{padding-left:3px}.fixed .column-comments a{float:left}.fixed .column-icon{width:80px}.wp-list-table a{-webkit-transition:none;transition:none}#the-list tr:last-child td,#the-list tr:last-child th{border-bottom:none!important;-webkit-box-shadow:none;box-shadow:none}#comments-form .fixed .column-author{width:20%}#commentsdiv.postbox .inside{margin:0;padding:0}#commentsdiv .inside .row-actions{line-height:18px}#commentsdiv .inside .column-author{width:25%}#commentsdiv .column-comment p{margin:.6em 0;padding:0}#commentsdiv #replyrow td{padding:0}#commentsdiv p{padding:8px 10px;margin:0}#commentsdiv .comments-box{border:0}#commentsdiv .comments-box thead th{background:0 0;padding:0 7px 4px;font-style:italic}#commentsdiv .comments-box tr:last-child td{border-bottom:0 none}#commentsdiv .spinner{padding-left:5px}.sorting-indicator{display:none;width:10px;height:4px;margin-top:8px;margin-left:7px}.sorting-indicator:before{background:0 0;content:'\f142';font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0;top:-4px;left:-8px;line-height:10px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.column-comments .sorting-indicator:before{top:0;left:-10px}th.desc:hover span.sorting-indicator:before,th.sorted.asc .sorting-indicator:before{content:'\f142'}th.asc:hover span.sorting-indicator:before,th.sorted.desc .sorting-indicator:before{content:'\f140'}tr.wp-locked .locked-indicator{margin-left:6px;height:20px;width:16px}tr.wp-locked .locked-indicator:before{color:#888;content:'\f160';display:inline-block;float:left;font:400 20px/1 dashicons;speak:none;vertical-align:middle;margin-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}tr.wp-locked .check-column input[type=checkbox],tr.wp-locked .check-column label,tr.wp-locked .row-actions .inline,tr.wp-locked .row-actions .trash{display:none}tr .locked-info{height:0;opacity:0}tr.wp-locked .locked-info{margin-top:8px;height:auto;opacity:1}.locked-text{vertical-align:top}tr.locked-info,tr.wp-locked .locked-info{-webkit-transition:height 1s,opacity .5s;transition:height 1s,opacity .5s}.fixed .column-comments .sorting-indicator{margin-top:3px}#menu-locations-wrap .widefat{width:60%}.widefat th.sortable,.widefat th.sorted{padding:0}th.sortable a,th.sorted a{display:block;overflow:hidden;padding:7px 7px 8px 10px}th.manage-column a,th.sortable a:active,th.sortable a:focus,th.sortable a:hover{color:#333}th.sortable a:focus{background:#e1e1e1}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0}th.sortable a span,th.sorted a span{float:left;cursor:pointer}th.desc:hover span.sorting-indicator,th.sorted.asc .sorting-indicator{display:block;background-position:0 0}th.asc:hover span.sorting-indicator,th.sorted.desc .sorting-indicator{display:block;background-position:-7px 0}.tablenav-pages a{font-weight:600;margin-right:1px;padding:0 2px}.tablenav-pages .current-page{padding-top:0;text-align:center}.tablenav-pages .next-page{margin-left:2px}.tablenav a.button-secondary{display:block;margin:3px 8px 0 0}.tablenav{clear:both;height:30px;margin:6px 0 4px;vertical-align:middle}.tablenav.themes{max-width:98%}.tablenav .tablenav-pages{float:right;display:block;cursor:default;height:30px;color:#555;line-height:30px;font-size:12px}.tablenav .no-pages,.tablenav .one-page .pagination-links{display:none}.tablenav .tablenav-pages a,.tablenav-pages span.current{text-decoration:none;padding:3px 6px}.tablenav .tablenav-pages a{padding:0 10px 3px;background:#eee;background:rgba(0,0,0,.05);font-size:16px;font-weight:400}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover{color:#fff;background:#2ea2cc}.tablenav .tablenav-pages a.disabled,.tablenav .tablenav-pages a.disabled:active,.tablenav .tablenav-pages a.disabled:focus,.tablenav .tablenav-pages a.disabled:hover{color:#aaa;background:#eee;background:rgba(0,0,0,.05)}.tablenav .displaying-num{margin-right:2px;color:#777;font-size:12px;font-style:italic}.tablenav .actions{overflow:hidden;padding:2px 8px 0 0}.wp-filter .actions{display:inline-block;vertical-align:middle}.tablenav .delete{margin-right:20px}.tablenav .dots{border-color:transparent}.tablenav .next,.tablenav .prev{border-color:transparent;color:#0074a2}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#2ea2cc}.tablenav .view-switch{float:right;margin:5px 16px 0 8px}.wp-filter .view-switch{display:inline-block;vertical-align:middle;padding:14px 0;margin:0 20px 0 0}.view-switch a{text-decoration:none}.view-switch>a{display:inline-block;width:18px;height:18px}.view-switch>a:before{color:#bbb;display:inline-block;float:left;font:400 20px/1 dashicons;speak:none;vertical-align:middle;margin-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.view-switch>.view-list:before{content:'\f163'}.view-switch a:hover:before{color:#727272}.view-switch a.current:before{color:#0074a2}.view-switch>a+a{margin-left:5px}.view-switch>.view-excerpt:before{content:'\f164'}.view-switch>.view-grid:before{content:'\f509'}.filter{float:left;margin:-5px 0 0 10px}.filter .subsubsub{margin-left:-10px;margin-top:13px}.screen-per-page{width:4em}#posts-filter .wp-filter{margin-bottom:0}#posts-filter fieldset{float:left;margin:0 1.5ex 1em 0;padding:0}#posts-filter fieldset legend{padding:0 0 .2em 1px}p.pagenav{margin:0;display:inline}.pagenav span{font-weight:600;margin:0 6px}.row-title{font-size:14px!important;font-weight:600}.column-comment .comment-author{margin-bottom:.6em}.column-author img,.column-comment .comment-author img,.column-username img{float:left;margin-right:10px;margin-top:1px}.row-actions{color:#ddd;font-size:13px;visibility:hidden;padding:2px 0 0}.mobile .row-actions,.row-actions.visible,div.comment-item:hover .row-actions,tr:hover .row-actions{visibility:visible}.row-actions-visible{padding:2px 0 0}#wpbody-content .inline-edit-row fieldset{font-size:12px;float:left;margin:0;padding:0;width:100%}#wpbody-content .inline-edit-row fieldset .inline-edit-col,tr.inline-edit-row td{padding:0 .5em}#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col{border-width:0 0 0 1px;border-style:none none none solid}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%}#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .quick-edit-row-page .inline-edit-col-right{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:right;width:69%}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:27px}.inline-edit-row fieldset .inline-edit-group{clear:both}.inline-edit-row fieldset .inline-edit-group:after{content:".";display:block;height:0;clear:both;visibility:hidden}.inline-edit-row p.submit{clear:both;padding:.5em;margin:.5em 0 0}.inline-edit-row span.error{line-height:22px;margin:0 15px;padding:3px 5px}.inline-edit-row h4{margin:.2em 0;padding:0;line-height:23px}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{margin:0;padding:0}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;width:auto}.inline-edit-row fieldset label span.title{display:block;float:left;width:5em}.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-left:5em}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-right:.5em}.inline-edit-row .input-text-wrap input[type=text]{width:100%}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:text-bottom}.inline-edit-row fieldset label textarea{width:100%;height:4em}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-right:.5em}.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input{width:6em}.inline-edit-save .spinner{padding:4px 10px 0;vertical-align:top;float:right}.inline-edit-row h4{text-transform:uppercase}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{font-style:italic;line-height:1.8em}.inline-edit-row fieldset .inline-edit-date{float:left}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{font-size:12px;width:2.1em}.inline-edit-row fieldset input[name=aa]{font-size:12px;width:3.5em}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em}ul.cat-checklist{height:12em;border:1px solid #ddd;overflow-y:scroll;padding:0 5px;margin:0;background-color:#fff}#bulk-titles{display:block;height:12em;border:1px solid #ddd;overflow-y:scroll;padding:0 5px;margin:0 0 5px}.inline-edit-row fieldset ul.cat-checklist input,.inline-edit-row fieldset ul.cat-checklist li{margin:0;position:relative}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-style:normal;font-size:11px}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%}.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{max-width:80%}.ie8 .inline-edit-row #post_parent,.ie8 .inline-edit-row select[name=page_template]{width:250px}.quick-edit-row-post fieldset label.inline-edit-status{float:left}#bulk-titles{line-height:140%}#bulk-titles div{margin:.2em .3em}#bulk-titles div a{cursor:pointer;display:block;float:left;height:18px;margin:0 3px 0 -2px;overflow:hidden;position:relative;width:20px}#bulk-titles div a:before{position:relative;top:-3px}.plugins tbody,.plugins tbody th.check-column{padding:8px 0 0 2px}.plugins tbody th.check-column input[type=checkbox]{margin-top:4px}#update-plugins-table tbody td p{margin-top:0}#update-plugins-table tbody td p strong{font-size:14px}.plugins .inactive th.check-column,.plugins tfoot th.check-column,.plugins thead th.check-column{padding-left:6px}#update-plugins-table tfoot th.check-column,#update-plugins-table thead th.check-column{padding-top:11px}.plugins,.plugins td,.plugins th{color:#000}.plugins tr{background:#fff}.plugins p{margin:0 4px;padding:0}.plugins .desc p{margin:0 0 8px}.plugins td.desc{line-height:1.5em}.plugins .desc ol,.plugins .desc ul{margin:0 0 0 2em}.plugins .desc ul{list-style-type:disc}.plugins .row-actions{font-size:13px}.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th{padding:10px 9px}.plugins .active td,.plugins .active th{background-color:#f7fcfe}.plugins .update td,.plugins .update th{border-bottom:0}.plugin-update-tr td{border-top:0}.plugin-install #the-list td,.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th,.upgrade .plugins td,.upgrade .plugins th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th,.plugins tr.active.plugin-update-tr+tr.inactive td,.plugins tr.active.plugin-update-tr+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1;box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1}.plugins .update td,.plugins .update th,.plugins tr.active+tr.inactive.update td,.plugins tr.active+tr.inactive.update th,.upgrade .plugins tr:last-of-type td,.upgrade .plugins tr:last-of-type th{-webkit-box-shadow:none;box-shadow:none}.plugins .active.update td,.plugins .active.update th,tr.active.update+tr.plugin-update-tr .plugin-update{background-color:#fef7f1}.plugins .active th.check-column{border-left:4px solid #2ea2cc}.plugins .active.update th.check-column,.plugins .active.update+.plugin-update-tr .plugin-update{border-left:4px solid #d54e21}#wpbody-content .plugins .plugin-title,#wpbody-content .plugins .theme-title{padding-right:12px;white-space:nowrap}.plugins .inactive .plugin-title strong{font-weight:400}.plugins .row-actions,.plugins .second{padding:0 0 5px}.plugins .update .row-actions,.plugins .update .second{padding-bottom:0}.plugins-php .widefat tfoot td,.plugins-php .widefat tfoot th{border-top-style:solid;border-top-width:1px}.plugin-update-tr .update-message{font-size:13px;font-weight:400;padding:6px 12px;margin:0 10px 8px 31px;background-color:#f7f7f7;background-color:rgba(0,0,0,.03)}.plugin-update-tr .update-message:before{color:#d54e21;content:'\f463';display:inline-block;font:400 20px/1 dashicons;speak:none;margin:0 8px 0 -2px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.plugins .plugin-update{padding:0;border:none;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}tr.active+tr.plugin-update-tr .plugin-update{background-color:#f7fcfe}tr.active+tr.plugin-update-tr .plugin-update .update-message{background-color:#fcf3ef}.plugin-install-php h3{clear:both}.plugin-install-php h4{margin:2.5em 0 8px}.plugin-install-php .wp-filter{margin-bottom:0}.plugin-group{overflow:hidden;margin-top:1.5em}.plugin-group h3{margin-top:0}.plugin-card{float:left;margin:0 8px 16px;width:48.5%;width:-webkit-calc(50% - 8px);width:calc(50% - 8px);background-color:#fff;border:1px solid #dedede;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.plugin-card:nth-child(odd){clear:both;margin-left:0}.plugin-card:nth-child(even){margin-right:0}@media screen and (min-width:1600px){.plugin-card{width:30%;width:-webkit-calc(33.1% - 8px);width:calc(33.1% - 8px)}.plugin-card:nth-child(odd){clear:none;margin-left:8px}.plugin-card:nth-child(even){margin-right:8px}.plugin-card:nth-child(3n+1){clear:both;margin-left:0}.plugin-card:nth-child(3n){margin-right:0}}@media screen and (max-width:782px){.plugin-card{margin-left:0;margin-right:0;width:100%}}.plugin-card-top{position:relative;padding:20px 20px 10px;min-height:135px}.plugin-action-buttons,div.action-links{margin:0}.plugin-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}.plugin-card .desc,.plugin-card .name{margin-left:148px;margin-right:120px}.plugin-card .action-links{position:absolute;top:20px;right:20px;width:120px}.plugin-action-buttons{clear:right;float:right;margin-left:2em;margin-bottom:1em;text-align:right}.plugin-action-buttons li{margin-bottom:10px}.plugin-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden}.plugin-card-bottom .star-rating{display:inline}.plugin-card .column-rating{line-height:23px}.plugin-card .column-rating,.plugin-card .column-updated{margin-bottom:4px}.plugin-card .column-downloaded,.plugin-card .column-rating{float:left;clear:left;max-width:180px}.plugin-card .column-compatibility,.plugin-card .column-updated{text-align:right;float:right;clear:right;width:65%;width:-webkit-calc(100% - 180px);width:calc(100% - 180px)}.plugin-card .column-compatibility span:before{font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;left:-2px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.plugin-card .compatibility-incompatible:before{content:'\f158'}.plugin-card .compatibility-compatible:before{content:'\f147'}.plugin-card .compatibility-untested strong{font-weight:400}.plugin-icon{position:absolute;top:20px;left:20px;width:128px;height:128px;margin:0 20px 20px 0}.plugin-icon img{width:128px;height:128px}.no-plugin-results{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.wp-list-table .site-deleted{background:#ff8573}.wp-list-table .site-spammed{background:#faafaa}.wp-list-table .site-archived{background:#ffebe8}.wp-list-table .site-mature{background:#fecac2}@media screen and (max-width:1100px) and (min-width:782px),(max-width:480px){.plugin-card .action-links{position:static;margin-left:148px;width:auto}.plugin-action-buttons{float:none;margin:1em 0 0;text-align:left}.plugin-action-buttons li{display:inline-block;vertical-align:middle}.plugin-action-buttons li .button{margin-right:20px}.plugin-card .desc,.plugin-card .name{margin-right:0}.plugin-card .desc p:first-of-type{margin-top:0}}@media screen and (max-width:782px){.tablenav{height:auto}.tablenav.top{margin:20px 0 5px}.tablenav.bottom{position:relative;margin-top:15px}.tablenav br{display:none}.tablenav br.clear{display:block}.tablenav .view-switch,.tablenav.top .actions,.tablenav.top .displaying-num{display:none}.tablenav.bottom .displaying-num{position:absolute;right:0;top:10px;font-size:14px}.tablenav-pages{width:100%;text-align:center;margin:0 0 25px}.tablenav.bottom .tablenav-pages{margin-top:25px}.tablenav.top .tablenav-pages.one-page{display:none}.tablenav.bottom .tablenav-pages.one-page{margin:15px 0 0;height:0}.tablenav-pages .pagination-links .paging-input{font-size:18px}.tablenav-pages .pagination-links a{padding:8px 20px 11px;font-size:18px;background:rgba(0,0,0,.05)}.tablenav-pages .pagination-links .current-page{padding:10px;font-size:14px}.form-wrap>p{display:none}.comment-count{font-size:14px}.column-categories,.column-tags,.fixed .column-author,.fixed .column-date,.media .column-parent,.sites .column-registered,.sites .column-users,.tags .column-description,.users .column-email,.users .column-name{display:none}.fixed .column-comment .comment-author{display:block}.column-title{width:85%}.fixed .column-comments,.widefat .check-column{width:35px}.widefat tfoot .check-column,.widefat thead .check-column{padding:10px 0}.widefat *{word-wrap:normal}#wpbody-content .bulk-edit-row .inline-edit-col-bottom,#wpbody-content .bulk-edit-row .inline-edit-col-left,#wpbody-content .bulk-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .inline-edit-row-post .inline-edit-col-center,#wpbody-content .quick-edit-row-page .inline-edit-col-left,#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .quick-edit-row-post .inline-edit-col-left,#wpbody-content .quick-edit-row-post .inline-edit-col-right{float:none;width:100%}#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,#wpbody-content .bulk-edit-row fieldset .inline-edit-group label,#wpbody-content .quick-edit-row fieldset .inline-edit-col label,#wpbody-content .quick-edit-row fieldset .inline-edit-group label{max-width:none;float:none;margin-bottom:5px}#wpbody .bulk-edit-row fieldset select{display:block;width:100%;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-size:16px}.inline-edit-row fieldset label span.title{float:none}.inline-edit-row fieldset label.inline-edit-tags{padding:0 .5em}.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags{padding:0}.inline-edit-row fieldset label span.input-text-wrap{margin-left:0}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{width:3em}.inline-edit-row fieldset input[name=aa]{width:4.5em}#bulk-titles div{margin:.8em .3em}#bulk-titles div a{height:22px}.tags .column-posts{width:74px}.tags .column-slug{width:30%}.comments .column-response,.users .column-role{width:35%}.sites .column-blogname{width:55%}#wpbody-content #update-themes-table .plugin-title{width:auto}.link-manager-php #posts-filter{margin-top:25px}.link-manager-php .tablenav.bottom{overflow:hidden}.wp-list-table.plugins{position:relative;margin-top:35px;margin-bottom:50px}#wpbody-content .wp-list-table.plugins tfoot .column-description,.wp-list-table.plugins th#description,.wp-list-table.plugins thead .column-description{display:none}#wpbody-content .wp-list-table.plugins,#wpbody-content .wp-list-table.plugins .column-description,#wpbody-content .wp-list-table.plugins .manage-column.column-name,#wpbody-content .wp-list-table.plugins .plugin-title,#wpbody-content .wp-list-table.plugins .plugin-update,#wpbody-content .wp-list-table.plugins .theme-title,#wpbody-content .wp-list-table.plugins tbody,#wpbody-content .wp-list-table.plugins thead,#wpbody-content .wp-list-table.plugins tr{display:block;width:auto}.wp-list-table.plugins tfoot,.wp-list-table.plugins thead{position:absolute;top:-35px;left:0;right:0;width:auto;height:35px}.wp-list-table.plugins tfoot{bottom:-35px;top:auto}.active,.inactive{padding-top:0}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-top:13px;padding-bottom:4px}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column,.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title,.wp-list-table.plugins tbody th{-webkit-box-shadow:none;box-shadow:none}.plugins tbody{padding:1px 0 0}.plugins tr.active+tr.inactive td.column-description{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column{border-top:none}.wp-list-table.plugins .column-description{padding-top:0}.wp-list-table.plugins .column-description,.wp-list-table.plugins .manage-column.column-name,.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-right:12px;padding-left:46px}.wp-list-table.plugins tr{position:relative}.wp-list-table.plugins th.check-column,.wp-list-table.plugins tr.update th.check-column{position:absolute;height:auto;top:0;bottom:0;left:0;padding-left:2px;padding-top:18px}.wp-list-table.plugins tfoot th.check-column,.wp-list-table.plugins thead th.check-column{padding-left:3px;padding-top:11px;background:0 0}.widefat tbody th.check-column input[type=checkbox]{margin-top:-3px;margin-left:8px}.wp-list-table.plugins .active .check-column input,.wp-list-table.plugins .update .check-column input{margin-left:5px}.wp-list-table.plugins tfoot .check-column input,.wp-list-table.plugins thead .check-column input{margin-top:-6px}.wp-list-table.plugins .active th.check-column{background:0 0}.wp-list-table.plugins .plugin-title strong,.wp-list-table.plugins .theme-title strong{font-size:1.4em;line-height:1.6em}table.plugin-install .column-description,table.plugin-install .column-name,table.plugin-install .column-rating,table.plugin-install .column-version{display:block;width:auto}table.plugin-install th.column-description,table.plugin-install th.column-name,table.plugin-install th.column-rating,table.plugin-install th.column-version{display:none}table.plugin-install td.column-name strong{font-size:1.4em;line-height:1.6em}table.plugin-install #the-list td{-webkit-box-shadow:none;box-shadow:none}table.plugin-install #the-list tr{display:block;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}}#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-right:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments .spinner,#show-comments a{float:left}#lost-connection-notice .spinner{display:block;float:left;margin:0 5px 0 0}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0;background-color:#fff}#titlediv #title-prompt-text{color:#777;position:absolute;font-size:1.7em;padding:11px 10px}#wp-fullscreen-save .fs-saved{color:#999;float:right;margin-top:4px}#poststuff .inside-submitbox,#side-sortables .inside-submitbox{margin:0 3px;font-size:11px}input#link_description,input#link_url{width:98%}#pending{background:0 none;border:0;padding:0;font-size:11px;margin-top:-1px}#edit-slug-box{line-height:24px;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-right:10px;font-size:11px}#editable-post-name-full{display:none}#editable-post-name{background-color:#fffbcc}#editable-post-name input{font-size:13px;height:22px;margin:0;width:16em}.postarea h3 label{float:left}.submitbox .submit{text-align:left;padding:12px 10px 10px;font-size:11px;background-color:#464646;color:#ccc}.submitbox .submitdelete{text-decoration:none;padding:1px 2px}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:red;border-bottom-color:red}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-right:4px;padding:6px}.inside-submitbox #post_status{margin:2px 0 2px -2px}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{position:relative;min-width:255px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:0 0;border:0;float:right;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35em}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#333}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:10px 0}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:0 7px 5px}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0}#side-sortables .inside-submitbox .insidebox,.stuffbox .insidebox{margin:11px 0}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:1px solid transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #dfdfdf;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 5px}#postimagediv .inside img{max-width:100%;height:auto}form#tags-filter{position:relative}td.plugin-title strong,td.post-title strong{display:block;margin-bottom:.2em;font-size:14px}td.plugin-title p,td.post-title p{margin:6px 0}.ui-tabs-hide,.wp-hidden-children .wp-hidden-child{display:none}#post-body .tagsdiv #newtag{margin-right:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #e5e5e5;border-top:none;background-color:#f7f7f7;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:right}#editorcontent #post-status-info{border:none}#content-resize-handle{background:url(../images/resize.gif) no-repeat scroll right bottom;width:12px;cursor:row-resize}.rtl #content-resize-handle{background:url(../images/resize-rtl.gif) no-repeat scroll left bottom}.wp-editor-expand #content-resize-handle{display:none}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#wp-content-editor-container{position:relative}#content-textarea-clone{z-index:-1;position:absolute;top:0;visibility:hidden;overflow:hidden;max-width:100%;border:1px solid transparent}.wp-fullscreen-wrap #content-textarea-clone{display:none}.wp-fullscreen-wrap{padding-top:0!important}.wp-fullscreen-wrap .wp-editor-area{margin-top:0!important}.wp-fullscreen-wrap .mce-edit-area{padding-top:0!important}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #e5e5e5}.wp-editor-expand #wp-content-editor-container{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px;border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #e5e5e5}.wp-editor-expand div.mce-toolbar-grp{z-index:999}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{height:21px;line-height:14px;padding:0;vertical-align:top;font-size:12px}#aa,#hh,#jj,#mn{padding:1px;font-size:12px}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px;display:inline!important;height:auto!important}#misc-publishing-actions label[for=post_status]:before,#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:#888}#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:0;left:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}#post-body #visibility:before{content:'\f177'}.curtime #timestamp:before{content:'\f145';top:-1px}#post-body .misc-pub-revisions:before{content:'\f321'}#timestampdiv{padding-top:5px;line-height:23px}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{border-width:1px;border-style:solid}.notification-dialog{position:fixed;top:30%;left:50%;width:450px;margin-left:-225px;background:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005}.notification-dialog-background{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#post-lock-dialog .post-locked-message a.button{margin-right:10px}#post-lock-dialog .post-locked-avatar{float:left;margin:0 20px 20px 0}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:left;margin-right:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt,.attachmentlinks{margin:0;height:4em;width:98%}.tagchecklist{margin-left:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist strong{margin-left:-8px;position:absolute}.tagchecklist span{margin-right:25px;display:block;float:left;font-size:13px;line-height:1.8em;white-space:nowrap;cursor:default}.tagchecklist span a{margin:1px 0 0 -17px;cursor:pointer;width:20px;height:20px;display:block;float:left;text-indent:0;overflow:hidden;position:absolute}#poststuff h2{margin-top:20px;font-size:1.5em;margin-bottom:15px;padding:0 0 3px;clear:left}#poststuff h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .inside{margin:6px 0 0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}#poststuff .inside label.deleted,#poststuff .inside label.spam{color:red}#poststuff .inside label.waiting{color:orange}#poststuff .inside label.approved{color:green}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}#post-visibility-select{line-height:1.5em;margin-top:3px}#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #dfdfdf;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-right:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:left;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-state-format{overflow:hidden;display:inline-block;vertical-align:middle;height:20px;width:20px;margin-right:5px;margin-top:-4px}.post-state-format:before{display:block;height:20px;width:20px;font:400 20px/1 dashicons!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon:before,.post-state-format:before{color:#ddd;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}a.post-format-icon:hover:before,a.post-state-format:hover:before{color:#2ea2cc}#post-formats-select{line-height:2em}#post-formats-select .post-format-icon:before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-left:0;padding:2px 0}.post-format-icon:before{position:relative;display:inline-block;margin-right:7px;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon.post-format-standard:before,.post-state-format.post-format-standard:before,a.post-state-format.format-standard:before{content:'\f109'}.post-format-icon.post-format-image:before,.post-state-format.post-format-image:before,a.post-state-format.format-image:before{content:'\f128'}.post-format-icon.post-format-gallery:before,.post-state-format.post-format-gallery:before,a.post-state-format.format-gallery:before{content:'\f161'}.post-format-icon.post-format-audio:before,.post-state-format.post-format-audio:before,a.post-state-format.format-audio:before{content:'\f127'}.post-format-icon.post-format-video:before,.post-state-format.post-format-video:before,a.post-state-format.format-video:before{content:'\f126'}.post-format-icon.post-format-chat:before,.post-state-format.post-format-chat:before,a.post-state-format.format-chat:before{content:'\f125'}.post-format-icon.post-format-status:before,.post-state-format.post-format-status:before,a.post-state-format.format-status:before{content:'\f130'}.post-format-icon.post-format-aside:before,.post-state-format.post-format-aside:before,a.post-state-format.format-aside:before{content:'\f123'}.post-format-icon.post-format-quote:before,.post-state-format.post-format-quote:before,a.post-state-format.format-quote:before{content:'\f122'}.post-format-icon.post-format-link:before,.post-state-format.post-format-link:before,a.post-state-format.format-link:before{content:'\f103'}.category-adder{margin-left:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:1px solid #dfdfdf;background-color:#fdfdfd}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-left:18px}ul.categorychecklist li{margin:0;padding:0;line-height:22px;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px;font-size:12px}.form-field input[type=email],.form-field input[type=number],.form-field input[type=password],.form-field input[type=search],.form-field input[type=tel],.form-field input[type=text],.form-field input[type=url],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}.form-wrap .form-field{margin:0 0 10px;padding:8px 0}.form-wrap .form-field #parent{max-width:100%}.col-wrap h3{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}.tagsdiv{margin-top:-8px}#poststuff .taghint{color:#aaa;margin:15px 0 -24px 12px}#poststuff .tagsdiv .howto{margin:0 0 6px}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#post-body-content .tagsdiv .the-tags{margin:0 5px}.taghint{color:#aaa;margin:-17px 0 0 7px;visibility:hidden}input.newtag~div.taghint{visibility:visible}input.newtag:focus~div.taghint{visibility:hidden}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h3{margin:2px 0 12px}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;display:none;border:1px solid gray;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{padding:2px 5px;white-space:nowrap;color:#101010;text-align:left}.ac_over{background-color:#f0f0b8;cursor:pointer}.ac_match{text-decoration:underline}.comment-php .wp-editor-area{height:200px}.comment-ays{margin-bottom:0;border-bottom-style:solid;border-bottom-width:1px}.comment-ays .alt{background-color:transparent}.spam-undo-inside,.trash-undo-inside{margin:1px 8px 1px 0;line-height:16px}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-right:8px;vertical-align:middle}.stuffbox .editcomment{clear:none}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 3px 5px 0;vertical-align:middle}#comment-status-radio label{padding:5px 0}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:left;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td,.links-table th{padding:5px 0}.links-table td label{margin-right:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-2x.gif) no-repeat scroll right bottom;-webkit-background-size:11px 11px;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-rtl-2x.gif) no-repeat scroll right bottom}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-right:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px}#poststuff h3{padding:12px}.post-format-options{padding-right:0}.post-format-options a{margin-right:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-right:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist li{margin-bottom:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto;margin-bottom:15px}.tagchecklist{margin:25px 10px}.tagchecklist span{font-size:16px;line-height:120%}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:left!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-left:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding:6px 3px 6px 6px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}a.wp-switch-editor{font-size:16px;line-height:1em;margin:3px 0 0 7px;padding:12px 15px}#wp-content-media-buttons a{font-size:16px;line-height:37px;height:39px;padding:0 20px 0 15px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-top:-3px!important;margin-left:-5px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px}.misc-pub-section>a{float:right;font-size:16px}#delete-action,#publishing-action{line-height:47px}.comment-ays{border-bottom:none}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}}@media only screen and (max-width:500px){#wp-content-media-buttons a{font-size:14px;padding:0 10px}}.revisions-control-frame,.revisions-diff-frame{position:relative}.revisions-controls{padding-top:40px;height:100px;z-index:1}.revisions-controls input[type=checkbox]{position:relative;top:-1px;vertical-align:text-bottom}.revisions.pinned .revisions-controls{position:fixed;top:0;height:82px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-tickmarks{position:relative;margin:0 auto;height:.7em;top:7px;max-width:70%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background-color:#fff}.revisions-tickmarks>div{position:absolute;height:100%;border-left:1px solid #aaa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.revisions-tickmarks>div:first-child{border-width:0}.comparing-two-revisions .revisions-controls{height:140px}.comparing-two-revisions.pinned .revisions-controls{height:124px}.revisions .diff-error{position:absolute;text-align:center;margin:0 auto;width:100%;display:none}.revisions.diff-error .diff-error{display:block}.revisions .loading-indicator{position:absolute;vertical-align:middle;opacity:0;width:100%;width:-webkit-calc(100% - 30px);width:calc(100% - 30px);top:50%;top:-webkit-calc(50% - 10px);top:calc(50% - 10px);-webkit-transition:opacity .5s;transition:opacity .5s;filter:alpha(opacity=0)}body.folded .revisions .loading-indicator{margin-left:-32px}.revisions .loading-indicator span.spinner{display:block;margin:0 auto;float:none}.revisions.loading .loading-indicator{opacity:1;filter:alpha(opacity=100)}.revisions .diff{-webkit-transition:opacity .5s;transition:opacity .5s}.revisions.loading .diff{opacity:.5;filter:alpha(opacity=50)}.revisions.diff-error .diff{visibility:hidden}.revisions-meta{margin-top:20px;background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions.pinned .revisions-meta{-webkit-box-shadow:none;box-shadow:none}.revision-toggle-compare-mode{position:absolute;top:0;right:0}.comparing-two-revisions .revisions-next,.comparing-two-revisions .revisions-previous,.revisions-meta .diff-meta-to strong{display:none}.revisions-controls .author-card .date{color:#777}.revisions-controls .author-card.autosave{color:#d54e21}.revisions-controls .author-card .author-name{font-weight:700}.comparing-two-revisions .diff-meta-to strong{display:block}.revisions.pinned .revisions-buttons{padding:0 11px}.revisions-next,.revisions-previous{position:relative;z-index:1}.revisions-previous{float:left}.revisions-next{float:right}.revisions-controls .wp-slider{max-width:70%;margin:0 auto;top:-3px}.revisions-diff{padding:15px;background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff h3:first-child{margin-top:0}#revisions-meta-restored img,.post-revisions li img{vertical-align:middle}table.diff tbody tr td:nth-child(2){width:4%}table.diff{table-layout:fixed;width:100%;white-space:pre-wrap}table.diff col.content{width:auto}table.diff col.content.diffsplit{width:48%}table.diff col.diffsplit.middle{width:auto}table.diff col.ltype{width:30px}table.diff tr{background-color:transparent}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.618;padding:.5em;vertical-align:top;word-wrap:break-word}table.diff td h1,table.diff td h2,table.diff td h3,table.diff td h4,table.diff td h5,table.diff td h6{margin:0}table.diff .diff-addedline ins,table.diff .diff-deletedline del{text-decoration:none}table.diff .diff-deletedline{background-color:#ffe9e9}table.diff .diff-deletedline del{background-color:#faa}table.diff .diff-addedline{background-color:#e9ffe9}table.diff .diff-addedline ins{background-color:#afa}.diff-meta{padding:5px;clear:both;min-height:32px}.diff-title strong{line-height:32px;min-width:60px;text-align:right;float:left;margin-right:5px}.revisions-controls .author-card .author-info{font-size:12px;line-height:16px}.revisions-controls .author-card .author-info,.revisions-controls .author-card .avatar{float:left;margin-left:6px;margin-right:6px}.revisions-controls .author-card .byline{display:block;font-size:12px}.revisions-controls .author-card .avatar{vertical-align:middle}.diff-meta input.restore-revision{float:right;margin-left:6px;margin-right:6px;margin-top:4px}.diff-meta-from{display:none}.comparing-two-revisions .diff-meta-from{display:block}.revisions-tooltip{position:absolute;bottom:105px;margin-right:0;margin-left:-69px;z-index:0;max-width:350px;min-width:130px;padding:8px 4px;opacity:0}.revisions-tooltip.flipped{margin-left:0;margin-right:-70px}.revisions.pinned .revisions-tooltip{display:none!important}.comparing-two-revisions .revisions-tooltip{bottom:145px}.revisions-tooltip-arrow{width:70px;height:15px;overflow:hidden;position:absolute;left:0;margin-left:35px;bottom:-15px}.revisions-tooltip.flipped .revisions-tooltip-arrow{margin-left:0;margin-right:35px;left:auto;right:0}.revisions-tooltip-arrow>span{content:"";position:absolute;left:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.revisions-tooltip.flipped .revisions-tooltip-arrow>span{left:auto;right:20px}.ie8 .revisions-tooltip-arrow>span{left:15px;top:-25px;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"}.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow>span{right:25px}.revisions-tooltip,.revisions-tooltip-arrow>span{border:1px solid #d7d7d7;background-color:#fff}.revisions-tooltip{display:none}.arrow{width:70px;height:16px;overflow:hidden;position:absolute;left:0;margin-left:-35px;bottom:90px;z-index:10000}.arrow:after{z-index:9999;background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.arrow.top{top:-16px;bottom:auto}.arrow.left{left:20%}.arrow:after{content:"";position:absolute;left:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.revisions-tooltip,.revisions-tooltip-arrow:after{border-width:1px;border-style:solid}div.revisions-controls>.wp-slider>.ui-slider-handle{margin-left:-10px}.rtl div.revisions-controls>.wp-slider>.ui-slider-handle{margin-right:-10px}.wp-slider.ui-slider{position:relative;border:1px solid #d7d7d7;text-align:left;cursor:pointer}.wp-slider .ui-slider-handle{-webkit-border-radius:50%;border-radius:50%;height:18px;margin-top:-3px;outline:0;position:absolute;width:18px;z-index:2}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#2ea2cc;border:1px solid #0074a2;-webkit-box-shadow:inset 0 1px 0 #78c8e6,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #78c8e6,0 1px 0 rgba(0,0,0,.15)}.wp-slider .ui-slider-handle:before{background:0 0;position:absolute;top:0;left:0;color:#fff;content:"\f229";font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{font-size:20px!important;margin:-1px 0 0 -1px}.wp-slider .ui-slider-handle.from-handle:before{content:'\f139'}.rtl .wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{content:'\f141'}.rtl .wp-slider .ui-slider-handle.to-handle:before{content:'\f139';right:-1px}.wp-slider .ui-slider-range{position:absolute;font-size:.7em;display:block;border:0;background-color:transparent;background-image:none}.wp-slider.ui-slider-horizontal{height:.7em}.wp-slider.ui-slider-horizontal .ui-slider-handle{top:-.25em;margin-left:-.6em}.wp-slider.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.wp-slider.ui-slider-horizontal .ui-slider-range-min{left:0}.wp-slider.ui-slider-horizontal .ui-slider-range-max{right:0}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.revision-tick.completed-false{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){#diff-next-revision,#diff-previous-revision{margin-top:-1em}table.diff{-ms-word-break:break-all;word-break:break-all;word-wrap:break-word}}.media-item .describe{border-collapse:collapse;width:100%;border-top:1px solid #dfdfdf;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:left;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .media-item-info tr{background-color:transparent}.media-item .describe td{padding:0 8px 8px 0;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 0 0 10px}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-right:6px;margin-left:2px}.media-upload-form .align .field label{display:inline;padding:0 0 0 23px;margin:0 1em 0 3px;font-weight:600}.media-upload-form tr.image-size label{margin:0 0 0 5px;font-weight:600}.media-upload-form th.label label{font-weight:600;margin:.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}.media-item .describe input[type=text],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 0 0 5px}.describe-toggle-off,.describe-toggle-on,.media-item .edit-attachment{display:block;line-height:36px;float:right;margin-right:10px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}.media-upload-form .media-item{min-height:36px;margin-bottom:1px;position:relative;width:100%;background:#fff}.media-upload-form .media-item,.media-upload-form .media-item .error{-webkit-box-shadow:0 1px 0 #dfdfdf;box-shadow:0 1px 0 #dfdfdf}#media-items:empty{border:0}.media-item .filename{line-height:36px;overflow:hidden;margin-left:6px}.media-item .pinkynail{float:left;margin:2px 10px 0 3px;max-width:40px;max-height:32px}.media-item .startclosed,.media-item .startopen{display:none}.media-item .original{position:relative;height:34px}.media-item .progress{float:right;height:22px;margin:7px 6px;width:200px;line-height:2em;padding:0;overflow:hidden;-webkit-border-radius:22px;border-radius:22px;background:#ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-22px;-webkit-border-radius:22px;border-radius:22px;background-color:#0074a2;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.3);box-shadow:inset 0 0 2px rgba(0,0,0,.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0;color:#fff;text-align:center;line-height:22px;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.2)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #plupload-upload-ui{display:none}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item .error,.media-upload-form .media-item.error{width:auto;margin:0 0 1px}.media-upload-form .media-item .error{padding:10px 0 10px 14px}.media-item .error-div a.dismiss{display:block;float:right;margin:0 10px 0 15px}.find-box{background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);width:600px;overflow:hidden;margin-left:-300px;position:fixed;top:30px;bottom:30px;left:50%;z-index:100105}.find-box-head{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 36px 0 16px;position:absolute;top:0;left:0;right:0}.find-box-inside{overflow:auto;padding:16px;background-color:#fff;position:absolute;top:37px;bottom:45px;overflow-y:scroll;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.find-box-search{padding-bottom:16px}.find-box-search .spinner{float:none;left:110px;position:absolute;top:2px}#find-posts-response,.find-box-search{position:relative}#find-posts-input,#find-posts-search{float:left}#find-posts-input{width:140px;height:28px;margin:0 4px 0 0}.widefat .found-radio{padding-right:0;width:16px}#find-posts-close{width:36px;height:36px;position:absolute;top:0;right:0;cursor:pointer;text-align:center;color:#666}#find-posts-close:hover{color:#2ea2cc}#find-posts-close:before{font:400 20px/36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f158'}.find-box-buttons{padding:8px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;position:absolute;bottom:0;left:0;right:0}@media screen and (max-width:782px){.find-box-inside{bottom:57px}}@media screen and (max-width:660px){.find-box{top:0;bottom:0;left:0;right:0;margin:0;width:100%}}.ui-find-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-.5em 0 2em}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.8em;word-spacing:3px;-webkit-border-radius:6px;border-radius:6px}.drag-drop #drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#aaa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.media-frame.mode-grid,.media-frame.mode-grid .attachments-browser .attachments,.media-frame.mode-grid .media-frame-content,.media-frame.mode-grid .uploader-inline-content{position:static}.media-frame.mode-grid .media-frame-menu,.media-frame.mode-grid .media-frame-router,.media-frame.mode-grid .media-frame-title{display:none}.media-frame.mode-grid .media-frame-content{background-color:transparent;border:none}.upload-php .mode-grid .media-sidebar{position:relative;width:auto;margin-bottom:16px;padding:0 16px;border:1px solid #c00;background-color:#feebe8}.upload-php .mode-grid .hide-sidebar .media-sidebar{display:none}.upload-php .mode-grid .media-sidebar .media-uploader-status{border-bottom:none;padding-bottom:0;max-width:100%}.upload-php .mode-grid .media-sidebar .upload-error{margin:20px 0;padding:0;border:none;background:0 0}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors{font-size:0;top:-12px;right:-10px}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before{content:"\f158";font:400 20px/1 dashicons;color:#666}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before{color:#2ea2cc}.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3{display:none}.media-frame.mode-grid .uploader-inline{position:relative;top:auto;right:auto;left:auto;bottom:auto;padding-top:0;margin-top:0;border:4px dashed #bbb}.media-frame.mode-select .attachments-browser.fixed .attachments{position:relative;top:94px;padding-bottom:94px}.media-frame.mode-grid .attachment.details:focus,.media-frame.mode-grid .attachment:focus,.media-frame.mode-grid .selected.attachment:focus{-webkit-box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;outline:0}.media-frame.mode-grid .selected.attachment{-webkit-box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc;box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc}.media-frame.mode-grid .attachment.details{-webkit-box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe;box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe}.media-frame.mode-grid.mode-select .attachment .thumbnail{opacity:.65}.media-frame.mode-select .attachment.selected .thumbnail{opacity:1}.media-frame.mode-grid .media-toolbar{margin-bottom:15px;height:auto}.media-frame.mode-grid .media-toolbar select{margin:0 10px 0 0;font-size:14px}.media-frame.mode-grid .media-toolbar-secondary>.media-button{margin-top:10px;margin-bottom:10px}.media-frame.mode-grid .attachments-browser .bulk-select{display:inline-block;margin:0 10px 0 0}.media-frame.mode-grid .search{margin-top:0}.media-frame.mode-grid .spinner{margin-top:15px}.attachments-browser .media-toolbar-secondary>.select-mode-toggle-button{margin-right:10px}.media-frame.mode-select .attachments-browser.fixed .media-toolbar{position:fixed;top:32px;left:auto;right:20px;margin-top:0}.media-frame.mode-grid .attachments-browser{padding:0}.media-frame.mode-grid .attachments-browser .attachments{padding:2px}.media-frame.mode-grid .attachments-browser .no-media{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.edit-attachment-frame{display:block;height:100%;width:100%}.edit-attachment-frame .edit-media-header{overflow:hidden}.upload-php .media-modal-close .media-modal-icon:before{content:'\f335';font-size:22px}.upload-php .media-modal-close .media-modal-icon{margin:14px;width:22px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{cursor:pointer;color:#777;background-color:transparent;height:50px;width:50px;padding:0;position:absolute;text-align:center;border:0;border-left:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.upload-php .media-modal-close{top:0;right:0}.edit-attachment-frame .edit-media-header .left{right:102px}.edit-attachment-frame .edit-media-header .right{right:51px}.edit-attachment-frame .media-frame-title{left:0;right:150px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .left:hover,.edit-attachment-frame .edit-media-header .right:focus,.edit-attachment-frame .edit-media-header .right:hover,.upload-php .media-modal-close:focus,.upload-php .media-modal-close:hover{background:#ddd;border-color:#ccc;color:#000;outline:0}.upload-php .media-modal-close:focus .media-modal-icon:before,.upload-php .media-modal-close:hover .media-modal-icon:before{color:#000}.edit-attachment-frame .edit-media-header .left:before,.rtl .edit-attachment-frame .edit-media-header .right:before{content:'\f341'}.edit-attachment-frame .edit-media-header .right:before,.rtl .edit-attachment-frame .edit-media-header .left:before{content:'\f345'}.edit-attachment-frame .edit-media-header .left.disabled,.edit-attachment-frame .edit-media-header .left.disabled:hover,.edit-attachment-frame .edit-media-header .right.disabled,.edit-attachment-frame .edit-media-header .right.disabled:hover{color:#ccc;background:inherit;cursor:default;pointer-events:none}.edit-attachment-frame .media-frame-content,.edit-attachment-frame .media-frame-router{left:0}.edit-attachment-frame .media-frame-content{border-bottom:none;bottom:0;top:50px}.edit-attachment-frame .attachment-details{position:absolute;overflow:auto;top:0;bottom:0;right:0;left:0;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1)}.edit-attachment-frame .attachment-media-view{float:left;width:65%;height:100%}.edit-attachment-frame .attachment-media-view .thumbnail{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px;height:100%}.edit-attachment-frame .attachment-media-view .details-image{display:block;margin-bottom:16px;max-width:100%;max-height:90%;max-height:-webkit-calc(100% - 42px);max-height:calc(100% - 42px)}.edit-attachment-frame .wp-media-wrapper{margin-bottom:12px}.edit-attachment-frame input,.edit-attachment-frame textarea{padding:6px 8px;line-height:16px}.edit-attachment-frame .attachment-info{overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:12px 16px 0;width:35%;height:100%;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);border-bottom:0;border-left:1px solid #ddd;background:#f3f3f3}.edit-attachment-frame .attachment-info .details,.edit-attachment-frame .attachment-info .settings{position:relative;overflow:hidden;float:none;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ddd}.edit-attachment-frame .attachment-info .filename{font-weight:400;color:#666}.edit-attachment-frame .attachment-info .thumbnail{margin-bottom:12px}.attachment-info .actions{margin-bottom:16px}.attachment-info .actions a{display:inline;text-decoration:none}.wp_attachment_details label[for=content]{font-size:13px;line-height:1.5;margin:1em 0}.wp_attachment_details #attachment_caption{height:4em}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}.imgedit-settings p{margin:8px 0 0}.describe .imgedit-wrap .imgedit-settings{padding:0 5px}.wp_attachment_holder div.updated{margin-top:0}.wp_attachment_holder .imgedit-wrap>div{height:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content{padding-right:16px;width:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:right;width:250px}.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:#fff url(../images/spinner.gif) no-repeat center;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.no-float{float:none}.imgedit-settings .disabled,.media-disabled{color:grey}.A1B1,.wp_attachment_image{overflow:hidden}.A1B1 .button,.wp_attachment_image .button{float:left}.no-js .wp_attachment_image .button{display:none}.A1B1 .spinner,.wp_attachment_image .spinner{float:left;padding:0 0 4px;vertical-align:bottom}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:left;width:32px;border:1px solid #d5d5d5;background:#f1f1f1;margin:0 8px 0 0;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:28px;color:#777;cursor:pointer}.imgedit-menu div:before{font:400 20px/1 dashicons;speak:none;vertical-align:middle}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;color:#333}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;color:#777;filter:alpha(opacity=50);opacity:.5;cursor:default}.imgedit-crop:before{content:'\f165'}.imgedit-rleft:before{content:'\f166'}.imgedit-rright:before{content:'\f167'}.imgedit-flipv:before{content:'\f168'}.imgedit-fliph:before{content:'\f169'}.imgedit-undo:before{content:'\f171'}.imgedit-redo:before{content:'\f172'}.imgedit-crop-wrap{position:relative}.imgedit-crop{margin:0 8px 0 0}.imgedit-rleft{margin:0 3px}.imgedit-rright{margin:0 8px 0 3px}.imgedit-flipv{margin:0 3px}.imgedit-fliph{margin:0 8px 0 3px}.imgedit-undo{margin:0 3px}.imgedit-redo{margin:0 8px 0 3px}.imgedit-applyto img{margin:0 8px 0 0}.imgedit-group-top{margin:5px 0}#poststuff .imgedit-group-top h3{padding:0}.imgedit-group-top h3 a{text-decoration:none}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic}a.imgedit-help-toggle{text-decoration:none}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0}.imgedit-submit-btn{margin-left:20px}.imgedit-wrap .nowrap{white-space:nowrap}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.imgedit-group{margin-bottom:8px;padding:2px 10px}audio,video{display:inline-block;max-width:100%}.mejs-container{width:100%;max-width:100%}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.imgedit-wait{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.wp_attachment_details label[for=content]{font-size:14px;line-height:1.5em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{font-size:13px;line-height:1.5}.media-upload-form .media-item.error{padding:1px 10px}.media-upload-form .media-item .error{padding:10px 0 10px 12px}}@media only screen and (max-width:1120px){.media-frame.mode-grid .attachments-browser .media-toolbar-secondary{float:none}}@media only screen and (max-width:782px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:46px;right:10px}}@media only screen and (max-width:600px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:0}}@media only screen and (max-width:480px){.edit-attachment-frame .media-frame-title{right:110px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{width:40px;height:40px}.upload-php .media-modal-close .media-modal-icon{margin:9px 10px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{line-height:40px!important}.edit-attachment-frame .edit-media-header .left{right:82px}.edit-attachment-frame .edit-media-header .right{right:41px}.edit-attachment-frame .media-frame-content{top:40px}.edit-attachment-frame .attachment-media-view{float:none;height:auto;width:100%}.edit-attachment-frame .attachment-info{height:auto;width:100%}}@media only screen and (max-width:640px),screen and (max-height:400px){.upload-php .mode-grid .media-sidebar{max-width:100%}}.theme-browser .themes{clear:both;padding:0 0 100px}.themes-php .wrap h2{float:left;margin-bottom:15px}.network-admin.themes-php .wrap h2{margin-bottom:0}.themes-php .wrap h2 .button{margin-left:20px}.themes-php .wp-filter-search{position:relative;top:-2px;left:20px;margin:0;width:280px;font-size:16px;font-weight:300;line-height:1.5}.themes-php div.error,.themes-php div.updated{margin:0 0 20px;clear:both}.themes-php div.updated a{text-decoration:underline}.theme-browser .theme{cursor:pointer;float:left;margin:0 4% 4% 0;position:relative;width:30.6%;border:1px solid #dedede;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ie8 .theme-browser .theme{width:30%;margin:0 3% 4% 0}.theme-browser .theme:nth-child(3n){margin-right:0}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:pointer}.theme-browser .theme .theme-name{font-size:15px;font-weight:600;height:18px;margin:0;padding:15px;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;background:rgba(255,255,255,.65)}.theme-browser .theme .theme-actions{-ms-filter:"alpha(Opacity=0)";opacity:0;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out;position:absolute;bottom:0;right:0;height:38px;padding:9px 10px 0;background:rgba(244,244,244,.7);border-left:1px solid rgba(0,0,0,.05)}.theme-browser .theme.focus .theme-actions,.theme-browser .theme:focus .theme-actions,.theme-browser .theme:hover .theme-actions{-ms-filter:"alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-actions .button-primary{margin-right:3px}.theme-browser .theme .theme-actions .button-secondary{float:none;margin-left:3px}.theme-browser .theme .theme-screenshot{display:block;overflow:hidden;position:relative;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme .theme-screenshot:after{content:'';display:block;padding-top:66.66666%}.theme-browser .theme .theme-screenshot img{height:auto;position:absolute;left:0;top:0;width:100%;-webkit-transform:translateZ(0);-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme:focus .theme-screenshot,.theme-browser .theme:hover .theme-screenshot{background:#fff}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:.4}.theme-browser .theme .more-details{-ms-filter:"alpha(Opacity=0)";opacity:0;position:absolute;top:35%;right:25%;left:25%;background:#222;background:rgba(0,0,0,.7);color:#fff;font-size:15px;text-shadow:0 1px 0 rgba(0,0,0,.6);-webkit-font-smoothing:antialiased;font-weight:600;padding:15px 12px;text-align:center;-webkit-border-radius:3px;border-radius:3px;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.theme-browser .theme:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}.theme-browser .theme:focus .more-details{opacity:1}.theme-browser .theme.active:focus .theme-actions{display:block}.theme-browser.rendered .theme:focus .more-details,.theme-browser.rendered .theme:hover .more-details{-ms-filter:"alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-installed,.theme-browser .theme .theme-update{background:#d54e21;background:rgba(213,78,33,.95);color:#fff;display:block;font-size:13px;font-weight:400;height:48px;line-height:48px;padding:0 10px;position:absolute;top:0;right:0;left:0;border-bottom:1px solid rgba(0,0,0,.25);overflow:hidden}.theme-browser .theme .theme-installed:before,.theme-browser .theme .theme-update:before{content:'\f463';display:inline-block;font:400 20px/1 dashicons;margin:0 6px 0 0;opacity:.8;position:relative;top:5px;speak:none;-webkit-font-smoothing:antialiased}.theme-browser .theme.active .theme-name{background:#2f2f2f;color:#fff;padding-right:110px;font-weight:300;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.5)}.theme-browser .theme.active .theme-name span{font-weight:600}.theme-browser .theme.active .theme-actions{background:rgba(49,49,49,.7);border-left:none;opacity:1}.theme-browser .theme.active .theme-actions .button-primary{margin-right:0}.theme-browser .theme .theme-author{background:#222;color:#eee;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute;bottom:56px}.theme-browser .theme.display-author .theme-author{display:block}.theme-browser .theme.display-author .theme-author a{color:inherit;text-decoration:none}.theme-browser .theme.add-new-theme{border:none;-webkit-box-shadow:none;box-shadow:none}.theme-browser .theme.add-new-theme a{color:#999;text-decoration:none;display:block;position:relative;z-index:1}.theme-browser .theme.add-new-theme:after{display:block;content:'';-ms-filter:"alpha(Opacity=100)";opacity:1;background:0 0;position:absolute;top:0;left:0;right:0;bottom:0;padding:10% 0 0;text-shadow:none;border:5px dashed #d5d2ca;border:5px dashed rgba(0,0,0,.1);-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.theme-browser .theme.add-new-theme span:after{background:#e5e5e5;background:rgba(153,153,153,.1);-webkit-border-radius:50%;border-radius:50%;display:inline-block;content:'\f132';-webkit-font-smoothing:antialiased;font:400 74px/115px dashicons;width:100px;height:100px;vertical-align:middle;text-align:center;color:#999;position:absolute;top:30%;left:50%;margin-left:-50px;text-indent:-4px;padding:0;text-shadow:none;z-index:4}.rtl .theme-browser .theme.add-new-theme span:after{text-indent:4px}.theme-browser .theme.add-new-theme:focus .theme-screenshot,.theme-browser .theme.add-new-theme:hover .theme-screenshot{background:0 0}.theme-browser .theme.add-new-theme:focus span:after,.theme-browser .theme.add-new-theme:hover span:after{background:#fff;color:#0074a2}.theme-browser .theme.add-new-theme:focus:after,.theme-browser .theme.add-new-theme:hover:after{border-color:transparent;color:#fff;background:#0074a2;content:''}.theme-browser .theme.add-new-theme .theme-name{background:0 0;text-align:center;-webkit-box-shadow:none;box-shadow:none;font-weight:400;position:relative;top:0;margin-top:-10%;margin-bottom:10%}.theme-browser .theme.add-new-theme:focus .theme-name,.theme-browser .theme.add-new-theme:hover .theme-name{color:#fff;z-index:2}.theme-overlay .theme-backdrop{position:absolute;left:-20px;right:0;top:0;bottom:0;background:#f1f1f1;background:rgba(238,238,238,.9);z-index:10}.theme-overlay .theme-header{position:absolute;top:0;left:0;right:0;height:48px;border-bottom:1px solid #ddd}.theme-overlay .theme-header .close{cursor:pointer;height:48px;width:50px;text-align:center;float:right;border:0;border-left:1px solid #ddd;background-color:transparent;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:before{font:400 22px/50px dashicons!important;color:#777;display:inline-block;content:'\f335';font-weight:300}.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{cursor:pointer;color:#777;background-color:transparent;height:48px;width:54px;float:left;text-align:center;border:0;border-right:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .close:hover,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .left:hover,.theme-overlay .theme-header .right:focus,.theme-overlay .theme-header .right:hover{background:#ddd;border-color:#ccc;color:#000}.theme-overlay .theme-header .close:focus:before,.theme-overlay .theme-header .close:hover:before{color:#000}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .right:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.theme-overlay .theme-header .left.disabled,.theme-overlay .theme-header .left.disabled:hover,.theme-overlay .theme-header .right.disabled,.theme-overlay .theme-header .right.disabled:hover{color:#ccc;background:inherit;cursor:inherit}.theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.rtl .theme-overlay .theme-header .right:before,.theme-overlay .theme-header .left:before{content:'\f341'}.rtl .theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{content:'\f345'}.theme-overlay .theme-wrap{clear:both;position:fixed;top:9%;left:190px;right:30px;bottom:3%;background:#fff;-webkit-box-shadow:0 1px 20px 5px rgba(0,0,0,.1);box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:20;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.theme-overlay .theme-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}body.folded .theme-overlay .theme-wrap{left:70px}.theme-overlay .theme-about{position:absolute;top:49px;bottom:57px;left:0;right:0;overflow:auto;padding:2% 4%}.theme-overlay .theme-about:after{content:".";display:block;height:0;clear:both;visibility:hidden}.theme-overlay .theme-actions{position:absolute;text-align:center;bottom:0;left:0;right:0;padding:10px 25px 5px;background:#f3f3f3;z-index:30;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #eee}.ie8 .theme-overlay .theme-actions{border:1px solid #eee}.theme-overlay .theme-actions a{margin-right:5px;margin-bottom:5px}.theme-overlay .theme-actions .delete-theme{color:#a00;position:absolute;right:10px;bottom:5px;text-decoration:none;border-color:transparent;-webkit-box-shadow:none;box-shadow:none;background:0 0}.theme-overlay .theme-actions .delete-theme:focus,.theme-overlay .theme-actions .delete-theme:hover{background:#d54e21;color:#fff;border-color:#d54e21}.theme-overlay .theme-actions .active-theme,.theme-overlay.active .theme-actions .inactive-theme{display:none}.theme-overlay .theme-actions .inactive-theme,.theme-overlay.active .theme-actions .active-theme{display:block}.theme-overlay .theme-screenshots{float:left;margin:0 30px 0 0;width:55%;max-width:880px;text-align:center}.theme-overlay .screenshot{border:1px solid #fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(0,0,0,.2)}.theme-overlay .screenshot:after{content:'';display:block;padding-top:75%}.theme-overlay .screenshot img{height:auto;position:absolute;left:0;top:0;width:100%}.theme-overlay.small-screenshot .theme-screenshots{position:absolute;width:302px}.theme-overlay.small-screenshot .theme-info{margin-left:350px;width:auto}.theme-overlay .screenshot.thumb{background:#ccc;border:1px solid #eee;float:none;display:inline-block;margin:10px 5px 0;width:140px;height:80px;cursor:pointer}.theme-overlay .screenshot.thumb:after{content:'';display:block;padding-top:100%}.theme-overlay .screenshot.thumb img{cursor:pointer;position:absolute;left:0;top:0;width:100%;height:auto}.theme-overlay .screenshot.selected{background:0 0;border:2px solid #2ea2cc}.theme-overlay .screenshot.selected img{opacity:.8}.theme-browser .theme .theme-screenshot.blank,.theme-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.theme-overlay .theme-info{width:40%;float:left}.theme-overlay .current-label{background:#333;color:#fff;font-size:11px;display:inline-block;padding:2px 8px;-webkit-border-radius:2px;border-radius:2px;margin:0 0 -10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.theme-overlay .theme-name{color:#222;font-size:32px;font-weight:100;margin:10px 0 0;line-height:1.3}.theme-overlay .theme-version{color:#999;font-size:13px;font-weight:400;float:none;display:inline-block;margin-left:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.theme-overlay .theme-author{color:#686868;font-size:16px;font-weight:400;margin:15px 0 25px}.theme-overlay .theme-author a{text-decoration:none}.theme-overlay .theme-description{color:#555;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.theme-overlay .theme-tags{border-top:3px solid #eee;color:#888;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.theme-overlay .theme-tags span{color:#444;font-weight:700;margin-right:5px}.theme-overlay .theme-update-message{background:#fef7f1;border:1px solid #eee;border-left:4px solid #d54e21;-webkit-border-radius:3px;border-radius:3px;padding:5px 20px 10px}.theme-overlay .theme-update{color:#222;font-size:18px;display:inline-block;line-height:40px;margin:0}.theme-overlay .parent-theme{background:#f7fcfe;border:1px solid #eee;border-left:4px solid #2ea2cc;font-size:14px;font-weight:400;margin-top:30px;padding:10px 10px 10px 20px}.theme-overlay .parent-theme strong{font-weight:700}.single-theme .theme,.single-theme .theme-overlay .theme-backdrop,.single-theme .theme-overlay .theme-header{display:none}.single-theme .theme-overlay .theme-wrap{clear:both;min-height:330px;position:relative;left:auto;right:auto;top:auto;bottom:auto}.single-theme .theme-overlay .theme-about{padding:30px 30px 70px;position:static}.single-theme .theme-overlay .theme-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .theme-browser .theme{width:17.6%;margin:0 3% 3% 0}#wpwrap .theme-browser .theme:nth-child(3n),#wpwrap .theme-browser .theme:nth-child(4n){margin-right:3%}#wpwrap .theme-browser .theme:nth-child(5n){margin-right:0}}@media only screen and (min-width:1680px){.theme-overlay .theme-wrap{width:1450px;margin:0 auto}}@media only screen and (min-width:1640px){.theme-browser .theme{width:22.7%;margin:0 3% 3% 0}.theme-browser .theme .theme-screenshot:after{padding-top:75%}.theme-browser .theme:nth-child(3n){margin-right:3%}.theme-browser .theme:nth-child(4n){margin-right:0}}@media only screen and (max-width:1120px){.theme-browser .theme{width:47.5%;margin-right:0}.theme-browser .theme:nth-child(even){margin-right:0}.theme-browser .theme:nth-child(odd){margin-right:5%}}@media only screen and (max-width:900px){.theme-overlay .theme-wrap{left:65px}}@media only screen and (max-width:780px){.theme-overlay .theme-wrap,body.folded .theme-overlay .theme-wrap{top:0;right:0;bottom:0;left:0;padding:70px 20px 20px;border:none;z-index:500;position:fixed}.theme-browser .theme.active .theme-name span{display:none}.theme-overlay .theme-screenshots{width:40%}.theme-overlay .theme-info{width:50%}.single-theme .theme-wrap{padding:10px}.theme-browser .theme .theme-actions{padding:5px 10px 4px}.theme-overlay.small-screenshot .theme-screenshots{position:static;float:none;max-width:302px}.theme-overlay.small-screenshot .theme-info{margin-left:0;width:auto}.theme:focus .more-details,.theme:hover .more-details,.theme:not(.active):focus .theme-actions,.theme:not(.active):hover .theme-actions{display:none}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:1}}@media only screen and (max-width:480px){.theme-browser .theme{width:100%;margin-right:0}.theme-browser .theme:nth-child(2n),.theme-browser .theme:nth-child(3n){margin-right:0}}@media only screen and (max-width:650px){.theme-overlay .theme-description,.theme-overlay .theme-update{margin-left:0}.theme-overlay .theme-actions .delete-theme{position:relative;right:auto;bottom:auto}.theme-overlay .theme-actions .inactive-theme{display:inline}.theme-overlay .theme-screenshots{width:100%;float:none}.theme-overlay .theme-info{width:100%}.theme-overlay .theme-author{margin:5px 0 15px}.theme-overlay .current-label{margin-top:10px;font-size:13px}.themes-php .wrap h2{width:100%}.themes-php .wp-filter-search{float:none;clear:both;left:0;top:0;right:0;margin:10px 0;width:100%}.theme-browser .theme.add-new-theme span:after{font:400 60px/90px dashicons;width:80px;height:80px;top:30%;left:50%;text-indent:0;margin-left:-40px}.single-theme .theme-wrap{margin:0 -12px 0 -10px;padding:10px}.single-theme .theme-overlay .theme-about{padding:10px;overflow:visible}.single-theme .current-label{display:none}.single-theme .theme-overlay .theme-actions{position:static}}.broken-themes{clear:both}.broken-themes table{text-align:left;width:50%;border-spacing:3px;padding:3px}.theme-browser .theme .theme-installed{background:#0074a2}.theme-browser .theme .theme-installed:before{content:'\f147'}.theme-browser .theme.is-installed .theme-actions .button-primary{display:none!important}.theme-install-php a.browse-themes,.theme-install-php a.upload{cursor:pointer}.theme-install-php a.browse-themes,.theme-install-php.show-upload-theme a.upload{display:none}.theme-install-php.show-upload-theme a.browse-themes{display:inline}.upload-plugin,.upload-theme{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:none;margin:0;padding:0;width:100%;overflow:hidden;position:relative;top:10px}.upload-plugin,body.show-upload-theme .upload-theme{display:block}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{background:#fafafa;border:1px solid #e5e5e5;padding:30px;margin:30px auto;max-width:380px}.upload-plugin .install-help,.upload-theme .install-help{color:#999;font-size:18px;font-style:normal;margin:0;padding:40px 0 0;text-align:center}body.show-upload-theme .upload-theme+.wp-filter,body.show-upload-theme .upload-theme+.wp-filter+.theme-browser{display:none}p.no-themes{color:#999;font-size:18px;font-style:normal;margin:0;padding:0;text-align:center;display:none}body.no-results p.no-themes{display:block}.theme-install-php .add-new-theme,body.show-upload-theme p.no-themes{display:none!important}@media only screen and (max-width:1120px){.upload-theme .wp-upload-form{margin:20px 0;max-width:100%}.upload-theme .install-help{font-size:15px;padding:20px 0 0;text-align:left}}.rating{margin:30px 0}.rating span:before{color:#e6b800;content:"\f154";display:inline-block;-webkit-font-smoothing:antialiased;font:400 20px/1 dashicons;vertical-align:top}.rating-10 span.one:before,.rating-30 span.two:before,.rating-50 span.three:before,.rating-70 span.four:before,.rating-90 span.five:before{content:"\f459"}.rating-100 span.five:before,.rating-100 span.four:before,.rating-100 span.one:before,.rating-100 span.three:before,.rating-100 span.two:before,.rating-20 span.one:before,.rating-30 span.one:before,.rating-40 span.one:before,.rating-40 span.two:before,.rating-50 span.one:before,.rating-50 span.two:before,.rating-60 span.one:before,.rating-60 span.three:before,.rating-60 span.two:before,.rating-70 span.one:before,.rating-70 span.three:before,.rating-70 span.two:before,.rating-80 span.four:before,.rating-80 span.one:before,.rating-80 span.three:before,.rating-80 span.two:before,.rating-90 span.four:before,.rating-90 span.one:before,.rating-90 span.three:before,.rating-90 span.two:before{content:"\f155"}.rating .ratings{display:inline;margin-left:10px;line-height:20px;color:#999}.appearance_page_custom-header #headimg{border:1px solid #DFDFDF;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:left;margin:0 20px 20px 0}.appearance_page_custom-header .random-header{clear:both;margin:0 20px 20px 0;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-right:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{min-height:100px;border:1px solid #dfdfdf}div#custom-background-image img{max-width:400px;max-height:300px}body.full-overlay-active{overflow:hidden}.wp-full-overlay{background:0 0;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;left:0;right:0;height:100%;min-width:0}.wp-full-overlay-sidebar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;width:300px;height:100%;top:0;bottom:0;left:0;padding:0;margin:0;z-index:10;overflow:auto;background:#eee;border-right:none}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-left:0!important}.wp-full-overlay.expanded{margin-left:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{margin-left:-300px}.wp-full-overlay-sidebar:after{content:'';display:block;position:absolute;top:0;bottom:0;right:0;width:3px;z-index:1000}.wp-full-overlay-main{position:absolute;left:0;right:0;top:0;bottom:0;height:100%}.wp-full-overlay-sidebar .wp-full-overlay-header{position:absolute;left:0;right:0;height:45px;padding:0 15px;line-height:45px;z-index:10;margin:0;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{bottom:0;border-bottom:none;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{position:absolute;top:45px;bottom:45px;left:0;right:0;overflow:auto}.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{display:block;position:relative;float:left;width:45px;height:45px;padding-right:2px;background:#eee;border-right:1px solid #ddd;color:#444;cursor:pointer;text-decoration:none;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-install-overlay .close-full-overlay:focus,.theme-install-overlay .close-full-overlay:hover,.theme-install-overlay .next-theme:focus,.theme-install-overlay .next-theme:hover,.theme-install-overlay .previous-theme:focus,.theme-install-overlay .previous-theme:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.theme-install-overlay .close-full-overlay:before{font:400 22px/1 dashicons;content:"\f335";position:relative;top:7px;left:13px}.theme-install-overlay .previous-theme:before{font:400 20px/1 dashicons;content:"\f341";position:relative;top:6px;left:14px}.theme-install-overlay .next-theme:before{font:400 20px/1 dashicons;content:"\f345";position:relative;top:6px;left:13px}.theme-install-overlay .next-theme.disabled,.theme-install-overlay .next-theme.disabled:focus,.theme-install-overlay .next-theme.disabled:hover,.theme-install-overlay .previous-theme.disabled,.theme-install-overlay .previous-theme.disabled:focus,.theme-install-overlay .previous-theme.disabled:hover{color:#bbb;background:#eee;cursor:default;pointer-events:none}.rtl .theme-install-overlay .previous-theme:before{content:"\f345"}.rtl .theme-install-overlay .next-theme:before{content:"\f341"}.wp-full-overlay a.collapse-sidebar{position:absolute;bottom:12px;left:0;z-index:50;display:block;width:19px;height:19px;margin-left:15px;padding:0;-webkit-border-radius:50%;border-radius:50%;color:#777;text-decoration:none}.wp-full-overlay a.collapse-sidebar:hover{color:#0074a2}.wp-full-overlay.collapsed .collapse-sidebar{position:absolute;left:100%}.wp-full-overlay .collapse-sidebar-arrow{position:static;margin-top:0;margin-left:0;display:block;width:auto;height:auto;background:0 0}.wp-full-overlay .collapse-sidebar-arrow:before{-webkit-border-radius:50%;border-radius:50%;float:left;content:"\f148";background:#eee;font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.rtl .wp-full-overlay .collapse-sidebar-arrow:before,.wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:none;-ms-transform:none;transform:none}.wp-full-overlay.collapsed .collapse-sidebar-arrow{background-position:-1px -109px}.wp-full-overlay .collapse-sidebar-label{position:absolute;left:100%;line-height:20px;margin-left:10px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{-webkit-transition-property:left,right,top,bottom,width,margin;transition-property:left,right,top,bottom,width,margin;-webkit-transition-duration:.2s;transition-duration:.2s}.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#customize-container{display:none;background:#fff;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;left:0;right:0;height:100%}.customize-active #customize-container{display:block}.customize-loading #customize-container iframe{opacity:0}.customize-loading #customize-container{background:#fff url(../images/spinner.gif) no-repeat fixed center center;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-container iframe,.theme-install-overlay iframe{height:100%;width:100%;z-index:20;-webkit-transition:opacity .3s;transition:opacity .3s}#customize-container .collapse-sidebar{bottom:16px}#customize-controls{margin-top:0}.theme-install-overlay{display:none}.theme-install-overlay.single-theme{display:block}.install-theme-info{display:none;padding:10px 20px 60px}.single-theme .install-theme-info{padding-top:15px}.theme-install-overlay .install-theme-info{display:block}.install-theme-info .theme-install{float:right;margin-top:18px}.install-theme-info .theme-name{font-size:16px;line-height:24px;margin-bottom:0;margin-top:0}.install-theme-info .theme-screenshot{margin-top:15px;width:258px;border:1px solid #ccc}.install-theme-info .theme-details{overflow:hidden}.theme-details .theme-version{margin:15px 0;float:left}.theme-details .star-rating{margin:7px 0;float:right}.theme-details .theme-description{float:left;color:#777;line-height:20px;max-width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{float:right;margin:8px 10px 0 0;line-height:26px}.theme-install-overlay .wp-full-overlay-sidebar{background:#eee;border-right:1px solid #ddd}.theme-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.theme-install-overlay .wp-full-overlay-main{background:#fff url(../images/spinner.gif) no-repeat center center;-webkit-background-size:20px 20px;background-size:20px 20px}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);-webkit-background-size:15px 123px;background-size:15px 123px}.customize-loading #customize-container,.theme-install-overlay .wp-full-overlay-main{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.available-theme .action-links .delete-theme{float:none;margin:0;padding:0;clear:both}.available-theme .action-links .delete-theme a{padding:0}}.press-this #message{border-left:4px solid #7ad03a;padding:1px 12px;background-color:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.press-this #side-sortables .category-tabs li{display:inline;line-height:1.35em}body.press-this ul.category-tabs li.tabs a{color:#333}.press-this #content-resize-handle{bottom:2px}body.press-this{color:#333;margin:0;padding:0;min-width:708px;min-height:400px}.press-this #titlediv #title{font-size:1.4em}.press-this #site-heading:before{top:3px;position:relative;display:inline-block;font:400 18px/1 dashicons;speak:none;color:#727272;content:'\f120';-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.press-this #wphead{height:32px;margin-left:0;margin-right:0;margin-bottom:5px}.press-this #header-logo{float:left;margin:7px 7px 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.press-this #wphead h1{font-weight:400;font-size:16px;line-height:32px;margin:0;float:left}.press-this #wphead h1 a{text-decoration:none}.press-this #wphead h1 a:hover{text-decoration:underline}.press-this #message{margin:10px 0}.press-this .posting{margin-right:250px}.press-this-sidebar{float:right;width:240px;padding-top:10px}.press-this #title{margin-left:0;margin-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.press-this .tagchecklist{margin-top:8px}.press-this #titlediv{margin:0}.press-this #wp-content-wrap #wp-content-editor-tools{padding:0;top:3px;overflow:hidden}.press-this .wp-media-buttons{cursor:default;padding:8px 8px 6px}.press-this #wp-content-wrap #wp-content-media-buttons a{padding:0;line-height:normal;height:auto;font-size:16px}.press-this #wp-content-wrap .mce-toolbar .mce-btn-group .mce-btn{margin:0 1px}.press-this #wp-content-wrap .mce-toolbar .mce-btn button{padding:2px 3px}.press-this #wp-content-wrap .quicktags-toolbar,.press-this #wp-content-wrap div.mce-toolbar-grp{padding-right:3px}.press-this .howto{margin-top:2px;margin-bottom:3px;font-size:12px;font-style:italic;display:block}.press-this #wp-content-editor-container{clear:none}.press-this #poststuff .inside{margin-top:18px}.press-this .category-tabs{margin-bottom:3px}.press-this #poststuff{margin:0 8px;padding:0}.press-this #photo-add-url-div input[type=text]{width:220px}#poststuff #editor-toolbar{height:30px}.posting{margin-right:212px;position:relative}.press-this .inner-sidebar{width:200px}.press-this .inner-sidebar .sleeve{padding-top:5px}.press-this #submitdiv p{margin:0;padding:6px}.press-this #submitdiv #publishing-actions{border-bottom:1px solid #dfdfdf}.press-this #publish{float:right}.press-this #poststuff h2,.press-this #poststuff h3{font-size:14px;line-height:1}.press-this #categorydiv h3,.press-this #tagsdiv-post_tag h3{cursor:pointer}.press-this #submitdiv h3{cursor:default}h3.tb{font-weight:600;font-size:12px;margin-left:5px}.press-this .postbox,.press-this .stuffbox{margin-bottom:10px;min-width:0}.press-this #submitdiv:hover .handlediv{background:0 0}.tbtitle{font-size:1.7em;outline:0;padding:3px 4px;border:1px solid #dfdfdf}.press-this .actions{float:right;margin:-19px 0 0}.press-this #extra-fields .actions{margin:-32px -7px 0 0}.press-this .actions li{float:left;list-style:none;margin-right:10px}#extra-fields .button{margin-right:5px}#photo_saving{margin:0 8px 8px;vertical-align:middle}#img_container_container{overflow:auto}#extra-fields{margin-top:10px;position:relative}#extra-fields h2{margin:12px}#waiting{margin-top:10px;overflow:hidden}#waiting span{float:right;margin:0 0 0 5px}#waiting .spinner{display:block}#extra-fields .postbox{margin-bottom:5px}#extra-fields .titlewrap{padding:0;overflow:auto;height:120px}#img_container a{float:left;overflow:hidden}#img_container a,#img_container img{width:68px;height:68px}#img_container img{border:none;background-color:#f4f4f4;cursor:pointer}#img_container a,#img_container a:link,#img_container a:visited{border:1px solid #ccc;display:block;position:relative}#img_container a:active,#img_container a:hover{border-color:#000;z-index:1000;border-width:1px}#embed-code{width:100%;height:98px}.press-this .categorydiv div.tabs-panel{height:100px}.press-this .tagsdiv .newtag{width:120px}.press-this #content{margin:5px 0;padding:0 5px;border:0;height:340px;font-family:Consolas,Monaco,monospace;font-size:13px;line-height:19px;background:0 0}.press-this #publishing-actions .spinner{display:inline;vertical-align:middle}@media screen and (max-width:782px){.press-this ul.category-tabs li.tabs{padding:3px 5px 5px}.press-this a.wp-switch-editor{font:13px/19px "Open Sans",sans-serif;margin:5px 0 0 5px;padding:3px 8px 4px}.press-this #wp-content-media-buttons a{padding:0;line-height:normal;height:auto}.press-this #wp-content-editor-tools{padding:0;top:3px}.press-this .category-tabs{margin-top:0}.press-this .tagsdiv .newtag{width:120px;padding:3px 5px;margin-bottom:0}.press-this .tagchecklist{padding:0;margin-bottom:0}.press-this .wp_themeSkin a.mceButton{width:20px;height:20px}.press-this .wp_themeSkin .mceButton .mceIcon{margin:0}.press-this #poststuff h3,.press-this .metabox-holder h3{padding:7px 12px}.press-this input[type=checkbox],.press-this input[type=radio]{height:16px;width:16px}.press-this input[type=checkbox]:checked:before{width:16px;font:400 21px/1 dashicons;margin:-3px 0 0 -4px}.press-this input[type=radio]:checked:before{font:400 21px/1 dashicons;width:6px;height:6px;margin:4px}.press-this ul.categorychecklist li,.press-this ul.categorychecklist ul{margin-top:0;margin-bottom:0}.press-this div.quicktags-toolbar input{padding:2px 4px}.press-this input,.press-this textarea{font-size:14px}.press-this .tagchecklist span{font-size:13px;line-height:1.8em}}.about-wrap{position:relative;margin:25px 40px 0 20px;max-width:1050px;font-size:15px}.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;max-width:100%;height:auto;vertical-align:middle}.about-wrap p{line-height:1.6em;font-size:14px}.about-wrap h1{margin:.2em 200px 0 0;color:#333;line-height:1.2em;font-size:2.8em;font-weight:400}.about-wrap h4{color:#222}.about-wrap .about-text,.about-wrap li.wp-person a.web,.about-wrap p.about-description{font-weight:400;line-height:1.6em;font-size:19px}.about-description{margin-top:1.4em}.about-text{margin:1em 200px 1em 0;min-height:60px;color:#777;font-size:24px}.about-wrap .changelog h2.about-headline-callout{margin:1.1em 0 .2em;font-size:2.4em;font-weight:300;line-height:1.3;text-align:center}.about-wrap h3{margin:1em 0 .6em;font-size:1.5em;line-height:1.5em}.about-wrap h3.higher{margin-top:.5em}.customize h3{margin-top:1.75em;text-align:center}.about-wrap .feature-section h4{margin:1.4em 0 .6em;font-size:1.2em}.about-wrap .feature-section p{margin-top:.6em}.about-wrap code,.about-wrap ol li p{font-size:14px}.about-wrap .button.button-large{padding:8px 20px 10px!important;height:46px!important;font-size:14px;line-height:28px!important}.about-wrap .about-overview-img{margin:0}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #dfdfdf}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.wp-badge{background:#0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat center 24px;background:#0074a2 center 24px,url(../images/wordpress-logo-white.svg?ver=20131110) no-repeat center 24px;-webkit-background-size:85px 85px;background-size:85px 85px;color:#78c8e6;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:150px;text-rendering:optimizeLegibility;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2)}.about-wrap .wp-badge{position:absolute;top:0;right:0}.about-wrap h2.nav-tab-wrapper{padding-left:6px}.about-wrap h2 .nav-tab{padding:4px 15px 6px;margin:0 3px -1px 0;font-size:18px;vertical-align:top;border-width:1px}.about-overview{margin-top:40px;margin-bottom:40px;text-align:center}.about-overview p{margin:1em auto 50px;max-width:770px;font-size:18px;line-height:1.5;text-align:center}.about-wrap .feature-section{margin-top:40px;padding-bottom:20px}.about-wrap .feature-section.two-col>div{position:relative;width:47.6%;margin-right:4.799999999%;float:left}.about-wrap .feature-section.three-col>div{position:relative;width:29.95%;margin-right:4.999999999%;float:left}.about-wrap .feature-section.col .last-feature{margin-right:0}.about-wrap .under-the-hood .feature-section{margin-top:0}.about-wrap .changelog .feature-section{overflow:hidden}.about-wrap .feature-section.two-col div p{margin-right:3%}.about-wrap .feature-section div p img{float:right;margin-left:10px;max-width:20%}.about-video{position:relative;width:100%;height:0}.about-video-embed{padding-bottom:70.4%}.about-video-focus{padding-bottom:56.2%}.about-video .mejs-container,.about-video .wp-video,.about-video video{position:absolute;top:0;left:0;width:100%!important;height:100%!important}.about-wrap .changelog li{list-style-type:disc;margin-left:3em}.about-wrap .return-to-dashboard{margin:30px 0 0 -5px;font-size:14px;font-weight:700}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap h4.wp-people-group{margin-top:2.6em;font-size:16px}.about-wrap ul.wp-people-group{overflow:hidden;padding:0 5px;margin:0 -15px 0 -5px}.about-wrap ul.compact{margin-bottom:0}.about-wrap li.wp-person{float:left;margin-right:10px}.about-wrap li.wp-person img.gravatar{float:left;margin:0 10px 10px 0;padding:2px;width:60px;height:60px}.about-wrap ul.compact li.wp-person img.gravatar{width:30px;height:30px}.about-wrap li.wp-person{height:70px;width:280px;padding-bottom:15px}.about-wrap ul.compact li.wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap li.wp-person a.web{display:block;margin:6px 0 2px;font-size:16px;text-decoration:none}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:700}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}@media screen and (max-width:782px){.about-wrap .feature-section.one-col>div,.about-wrap .feature-section.three-col>div,.about-wrap .feature-section.two-col>div{width:100%;margin:0 0 40px;padding:0 0 40px;float:none;border-bottom:1px solid rgba(0,0,0,.1)}.about-wrap .feature-section.col>div.last-feature,.about-wrap .under-the-hood .feature-section>div{margin:0;padding:0;border-bottom:none}}@media screen and (max-width:710px){.about-overview{position:relative;padding-bottom:56.25%;width:100%;height:0}.about-overview embed{position:absolute;top:0;left:0;width:100%;height:100%}}@media only screen and (max-width:500px){.about-wrap{margin-right:20px;margin-left:10px}.about-text,.about-wrap h1{margin-right:0}.about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}.about-wrap h2.nav-tab-wrapper{padding-left:0;border-bottom:0}.about-wrap h2 .nav-tab{margin-top:10px;margin-right:10px;border-bottom:1px solid #ccc}.about-wrap .feature-section.three-col div{width:100%;float:none}.about-wrap .three-col.about-updates .col-1{padding:0;float:none}.about-wrap .three-col.about-updates .col-2{margin:0 0 20px;width:100%;float:none}}.no-js #message{display:block}ul.add-menu-item-tabs li{padding:3px 5px 3px 8px}.accordion-section ul.add-menu-item-tabs,.accordion-section ul.category-tabs,.accordion-section ul.wp-tab-bar{margin:0}.accordion-section .categorychecklist{margin:13px 0}#nav-menu-meta .accordion-section-content{padding:18px 13px}#nav-menu-meta .button-controls{margin-bottom:0}#nav-menus-frame{margin-left:300px;margin-top:23px}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-left:-300px;clear:both;float:left;padding-top:0}#menu-settings-column .inside{clear:both;margin:10px 0 0}.metabox-holder-disabled .accordion-section-content,.metabox-holder-disabled .accordion-section-title,.metabox-holder-disabled .postbox{opacity:.5;filter:alpha(opacity=50)}.metabox-holder-disabled .button-controls .select-all{display:none}#wpbody{position:relative}.blank-slate .menu-name{height:2em}.blank-slate .menu-settings{border:none;margin-top:0;padding-top:0;overflow:hidden}.is-submenu{color:#999;font-style:italic;font-weight:400;margin-left:4px}.manage-menus{margin-top:23px;padding:10px;overflow:hidden;background:#fbfbfb}.manage-menus select{float:left;margin-right:6px}.manage-menus .selected-menu{float:left;margin:5px 6px 0 0}.manage-menus .submit-btn{float:left;margin-top:1px}.menu-edit p{margin:.3em 0 .6em}.menu-edit #post-body-content h3{margin:1em 0 10px}.menu-settings{border-top:1px solid #eee;margin-top:2em}.menu-settings dl{margin:0 0 10px;overflow:hidden;padding-left:18%}.menu-settings dd{float:left;margin:0;width:100%}.menu-settings dt{float:left;clear:both;width:21.951%;padding:3px 0 0;margin-left:-21.951%}.menu-settings label{vertical-align:baseline}.menu-edit .checkbox-input{margin-top:4px}.theme-location-set{color:#999;font-size:11px}#menu-management-liquid{float:left;min-width:100%;margin-top:3px}#menu-management{position:relative;margin-right:20px;margin-top:-3px;width:100%;background:#f5f5f5}#menu-management .menu-edit{margin-bottom:20px}.nav-menus-php #post-body{padding:0 10px 10px;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;background:#fff}#nav-menu-footer,#nav-menu-header{padding:0 10px}#nav-menu-header{border-bottom:1px solid #dfdfdf;margin-bottom:0}#nav-menu-header .menu-name-label{margin-top:4px}.nav-menus-php #post-body div.error,.nav-menus-php #post-body div.updated{margin:0}.nav-menus-php #post-body-content{position:relative;float:none}#menu-management .menu-add-new abbr{font-weight:600}#select-nav-menu-container{text-align:right;padding:0 10px 3px;margin-bottom:5px}#select-nav-menu{width:100px;display:inline}#menu-name-label{margin-top:-2px}.widefat td.menu-location-menus{padding-bottom:5px}.menu-location-menus select{float:left}#locations-nav-menu-wrapper{padding:5px 0}.locations-nav-menu-select select{float:left;width:160px;margin-right:5px}.locations-row-links{float:left;margin:6px 0 0 6px}.locations-add-menu-link,.locations-edit-menu-link{margin:0 3px}.locations-edit-menu-link{padding-right:3px;border-right:1px solid #ccc}#wpbody .open-label{display:block;float:left}#wpbody .open-label span{padding-right:10px}.js .input-with-default-title{color:#aaa;font-style:italic}#menu-management .inside{padding:0 10px}.accordion-container .howto input,.postbox .howto input{width:180px;float:right}.accordion-container .outer-border{margin:0}.customlinkdiv .howto input{width:180px}.customlinkdiv p{margin-top:0}#nav-menu-theme-locations .howto select{width:100%}#nav-menu-theme-locations .button-controls{text-align:right}.add-menu-item-view-all{height:400px}#menu-container .submit{margin:0 0 10px;padding:0}.nav-menus-php .add-new-menu-action{float:left;margin:6px 0 0 6px;line-height:15px}.nav-menus-php .meta-sep,.nav-menus-php .submitcancel,.nav-menus-php .submitdelete{display:block;float:left;margin:6px 0;line-height:15px}.meta-sep{padding:0 2px}#cancel-save{text-decoration:underline;font-size:12px;margin-left:20px;margin-top:5px}.button-primary.right,.button-secondary.right,.button.right{float:right}.list-controls{float:left;margin-top:5px}.add-to-menu{float:right}.postbox .spinner{display:none;vertical-align:middle}.button-controls{clear:both;margin:10px 0}.hide-all,.show-all{cursor:pointer}.hide-all{display:none}#menu-name{width:270px}#manage-menu .inside{padding:0}#available-links dt{display:block}#add-custom-link .howto{font-size:12px}#add-custom-link label span{display:block;float:left;margin-top:5px;padding-right:5px}.menu-item-textbox{width:180px}.nav-menus-php .howto span{margin-top:6px;display:block;float:left}.quick-search{width:190px}.nav-menus-php .list-wrap{display:none;clear:both;margin-bottom:10px}.nav-menus-php .postbox p.submit{margin-bottom:0}.nav-menus-php .list li{display:none;margin:0 0 5px}.nav-menus-php .list li .menu-item-title{cursor:pointer;display:block}.nav-menus-php .list li .menu-item-title input{margin-right:3px;margin-top:-3px}.menu-item-title input[type=checkbox]{display:inline-block;margin-top:-4px}#menu-container .inside{padding-bottom:10px}.menu{padding-top:1em}#menu-to-edit{margin:0;padding:.1em 0}.menu ul{width:100%}.menu li{margin-bottom:0;position:relative}.menu-item-bar{clear:both;line-height:1.5em;position:relative;margin:9px 0 0}.menu-item-bar .menu-item-handle{border:1px solid #dfdfdf;position:relative;padding:10px 15px;height:auto;width:382px;line-height:30px;overflow:hidden;word-wrap:break-word}.menu-item-bar .menu-item-handle:hover{border-color:#999}#menu-to-edit .menu-item-invalid .menu-item-handle{background:#f6c9cc;border-color:#f1acb1}.no-js .menu-item-edit-active .item-edit{display:none}.js .menu-item-handle{cursor:move}.menu li.deleting .menu-item-handle{background-image:none;background-color:#f66}.menu-item-handle .item-title{font-size:13px;font-weight:600;line-height:20px;display:block;margin-right:13em}.menu-item-handle .menu-item-title.no-title{color:#999}li.menu-item.ui-sortable-helper dl{margin-top:0}li.menu-item.ui-sortable-helper .menu-item-transport dl{margin-top:13px}.menu .sortable-placeholder{height:35px;width:410px;margin-top:13px}.menu-item-depth-0{margin-left:0}.menu-item-depth-1{margin-left:30px}.menu-item-depth-2{margin-left:60px}.menu-item-depth-3{margin-left:90px}.menu-item-depth-4{margin-left:120px}.menu-item-depth-5{margin-left:150px}.menu-item-depth-6{margin-left:180px}.menu-item-depth-7{margin-left:210px}.menu-item-depth-8{margin-left:240px}.menu-item-depth-9{margin-left:270px}.menu-item-depth-10{margin-left:300px}.menu-item-depth-11{margin-left:330px}.menu-item-depth-0 .menu-item-transport{margin-left:0}.menu-item-depth-1 .menu-item-transport{margin-left:-30px}.menu-item-depth-2 .menu-item-transport{margin-left:-60px}.menu-item-depth-3 .menu-item-transport{margin-left:-90px}.menu-item-depth-4 .menu-item-transport{margin-left:-120px}.menu-item-depth-5 .menu-item-transport{margin-left:-150px}.menu-item-depth-6 .menu-item-transport{margin-left:-180px}.menu-item-depth-7 .menu-item-transport{margin-left:-210px}.menu-item-depth-8 .menu-item-transport{margin-left:-240px}.menu-item-depth-9 .menu-item-transport{margin-left:-270px}.menu-item-depth-10 .menu-item-transport{margin-left:-300px}.menu-item-depth-11 .menu-item-transport{margin-left:-330px}body.menu-max-depth-0{min-width:950px!important}body.menu-max-depth-1{min-width:980px!important}body.menu-max-depth-2{min-width:1010px!important}body.menu-max-depth-3{min-width:1040px!important}body.menu-max-depth-4{min-width:1070px!important}body.menu-max-depth-5{min-width:1100px!important}body.menu-max-depth-6{min-width:1130px!important}body.menu-max-depth-7{min-width:1160px!important}body.menu-max-depth-8{min-width:1190px!important}body.menu-max-depth-9{min-width:1220px!important}body.menu-max-depth-10{min-width:1250px!important}body.menu-max-depth-11{min-width:1280px!important}.item-type{color:#777;font-size:12px;padding:12px 10px;line-height:18px;display:block}.item-controls{font-size:12px;position:absolute;right:20px;top:-1px}.item-controls a{text-decoration:none}.item-controls a:hover{cursor:pointer}.item-controls .item-order{padding-right:10px}.nav-menus-php .item-edit{position:absolute;right:-20px;top:0;display:block;width:30px;height:40px;margin-right:0!important;text-indent:100%;outline:0;overflow:hidden;white-space:nowrap}.menu-instructions-inactive{display:none}.menu-item-settings{display:block;width:402px;padding:10px 0 10px 10px;position:relative;z-index:10;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.menu-item-settings .field-move a{display:none;margin:0 2px}.menu-item-edit-active .menu-item-settings{display:block}.menu-item-edit-inactive .menu-item-settings{display:none}.add-menu-item-pagelinks{margin:.5em auto;text-align:center}.link-to-original{display:block;margin:0 0 10px;padding:3px 5px 5px;border:1px solid #dfdfdf;color:#777;font-size:12px;font-style:italic}.link-to-original a{padding-left:4px;font-style:normal}.hidden-field{display:none}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-right:10px;float:left}.description-thin{width:190px;height:40px}.description-wide{width:390px}.menu-item-actions{padding-top:15px}#cancel-save{cursor:pointer}.nav-menus-php .major-publishing-actions{clear:both;padding:3px 0 6px}.nav-menus-php .major-publishing-actions .publishing-action{text-align:right;float:right;line-height:23px;margin:4px 0 1px}.nav-menus-php .blank-slate .menu-settings{display:none}.nav-menus-php .delete-action{float:left;margin-top:2px}.nav-menus-php .submitbox .submitcancel{border-bottom:1px solid #0074a2;padding:1px 2px;color:#0074a2;text-decoration:none}.nav-menus-php .submitbox .submitcancel:hover{background:#0074a2;color:#fff}.nav-menus-php .major-publishing-actions .form-invalid{padding-left:4px;margin-left:-4px}#menu-item-name-wrap:after,#menu-item-url-wrap:after,#menu-name-label:after,#menu-settings-column .inside:after,#nav-menus-frame:after,.nav-menus-php #post-body-content:after,.nav-menus-php .button-controls:after,.nav-menus-php .major-publishing-actions:after,.nav-menus-php .menu-item-settings:after{clear:both;content:".";display:block;height:0;visibility:hidden}#menu-item-name-wrap,#menu-item-url-wrap,#nav-menus-frame,.button-controls{display:block}@media screen and (max-width:782px){body.nav-menus-php{min-width:0!important}#nav-menus-frame{margin-left:0;float:none;width:100%}#wpbody-content #menu-settings-column{display:block;width:100%;float:none;margin-left:0}#side-sortables .add-menu-item-tabs{margin:15px 0 14px}ul.add-menu-item-tabs li.tabs{padding:13px 15px 14px}.nav-menus-php .item-controls .item-type{margin-top:2px}.nav-menus-php .customlinkdiv .howto input{width:65%}.nav-menus-php .quick-search{width:85%}#menu-management-liquid{margin-top:25px}.nav-menus-php .menu-name-label.howto span{margin-top:13px}.menu-name-label #menu-name{margin-top:4px}.nav-menus-php .major-publishing-actions .publishing-action{margin-top:6px}.nav-menus-php .delete-action{font-size:14px;line-height:50px;margin-top:12px}.description-wide,.menu-item-bar .menu-item-handle,.menu-item-settings{width:auto}.menu-item-settings{padding:10px}.menu-item-settings .description-thin,.menu-item-settings .description-wide{width:100%;height:auto}.menu-item-settings input{width:100%}.menu-settings dl{padding-left:0}.menu-settings dd{float:none;width:100%;margin-bottom:15px}.menu-settings dt{float:none;width:auto;margin-left:0;margin-bottom:15px}}@media only screen and (max-width:768px){#menu-locations-wrap .widefat{width:100%}}.widget{margin:0 auto 10px;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.widget-top{font-size:13px;font-weight:600;background:#f7f7f7}.widget-top a.widget-action,.widget-top a.widget-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:0;text-decoration:none}.widget-title h4{margin:0;padding:15px;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.widgets-holder-wrap .widget-inside{border-top:none;padding:1px 15px 15px;line-height:16px}#available-widgets .widget-description,#widgets-right a.widget-control-edit,.in-widget-title{color:#666}.deleting .widget-title,.deleting .widget-top a.widget-action:after{color:#aaa}.widget.ui-draggable-dragging{min-width:100%}.widget.ui-sortable-helper{opacity:.8}.widget-placeholder{border:1px dashed #bbb;margin:0 auto 10px;height:45px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#widgets-right .widget-placeholder{margin-top:0}#widgets-right .closed .widget-placeholder{height:0;border:0;margin-top:-10px}.sidebar-name{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.sidebar-name-arrow{position:absolute;top:0;right:0;bottom:0}.js .sidebar-name{cursor:pointer}.sidebar-name h3{margin:0;padding:8px 10px;overflow:hidden;white-space:nowrap}.widgets-holder-wrap .description{padding:0 0 15px;margin:0;font-style:normal;color:#777}#widgets-right .widgets-holder-wrap .description{padding-left:7px;padding-right:7px}div.widget-liquid-left{margin:0;width:38%;float:left}div.widget-liquid-right{float:right;width:58%}div#widgets-left{padding-top:12px}div#widgets-left .closed .sidebar-name,div#widgets-left .inactive-sidebar.closed .sidebar-name{margin-bottom:10px}div#widgets-left .sidebar-name h3{padding:10px 0;margin:0 10px 0 0}div#widgets-left .sidebar-name .sidebar-name-arrow:before{right:0;top:4px;padding:4px 6px 4px 4px}#widgets-left #available-widgets,div#widgets-left .widget-holder{background:0 0;border:none}#widgets-left .widgets-holder-wrap{border:none;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-action{display:none}#available-widgets .widget{margin:0}#available-widgets .widget:nth-child(odd){clear:both}#available-widgets .widget .widget-description{display:block;padding:10px 15px;font-size:12px}#available-widgets #widget-list{position:relative}#widgets-left .inactive-sidebar{clear:both;width:100%;background:0 0;padding:0;margin:0 0 20px;border:none;-webkit-box-shadow:none;box-shadow:none}#widgets-left .inactive-sidebar.first{margin-top:40px}div#widgets-left .inactive-sidebar .widget.expanded{left:auto}.widget-title-action{float:right;position:relative}div#widgets-left .inactive-sidebar .widgets-sortables{min-height:42px;padding:0;background:0 0;margin:0;position:relative}div#widgets-right:after{content:".";display:block;height:0;clear:both;visibility:hidden}div#widgets-right .sidebars-column-1,div#widgets-right .sidebars-column-2{max-width:450px}div#widgets-right .widgets-holder-wrap{margin:10px 0 0}div#widgets-right .sidebar-description{min-height:20px;margin-top:-5px}div#widgets-right .sidebar-name h3{padding:15px 7px}div#widgets-right .sidebar-name .sidebar-name-arrow:before{right:0;top:4px}div#widgets-right .widget-top{padding:0}div#widgets-right .widgets-sortables{padding:0 8px;margin-bottom:9px;position:relative;min-height:123px}div#widgets-right .closed .widgets-sortables{min-height:0;margin-bottom:0}.sidebar-name .spinner{margin:-5px 5px;float:none}#widgets-right .widgets-holder-wrap.widget-hover{border-color:#777;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}.widgets_access #widgets-left .widget .widget-top{cursor:auto}.widgets_access #wpwrap .widget-control-edit,.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,.widgets_access #wpwrap .widgets-holder-wrap.closed .widget{display:block}.widgets_access #widgets-left .widget .widget-top:hover,.widgets_access #widgets-right .widget .widget-top:hover{border-color:#ddd}#available-widgets .widget-control-edit .edit,#widgets-left .inactive-sidebar .widget-control-edit .add,#widgets-right .widget-control-edit .add{display:none}.widget-control-edit{display:block;color:#666;background:#EEE;padding:0 15px;line-height:43px;border-left:1px solid #DDD}#widgets-left .widget-control-edit:hover,#widgets-right .widget-control-edit:hover{color:#fff;background:#444;border-left:0;outline:#444 solid 1px}.widgets-holder-wrap .sidebar-description,.widgets-holder-wrap .sidebar-name{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editwidget{margin:0 auto}.editwidget .widget-inside{display:block;padding:0 15px}.editwidget .widget-control-actions{margin-top:20px}.js .closed br.clear,.js .widgets-holder-wrap.closed .sidebar-description,.js .widgets-holder-wrap.closed .widget,.widget-description,.widget-inside{display:none}.widget-inside{background:#fff}#removing-widget{display:none;font-weight:400;padding-left:15px;font-size:12px;line-height:1;color:#000}.js #removing-widget{color:#2ea2cc}#access-off,.no-js .widget-holder .description,.widget-control-noform,.widgets_access #access-on,.widgets_access .sidebar-name-arrow,.widgets_access .widget-action,.widgets_access .widget-holder .description{display:none}.widgets_access #widget-list,.widgets_access .widget-holder{padding-top:10px}.widgets_access #access-off{display:inline}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{-webkit-transition:opacity .1s linear;transition:opacity .1s linear;opacity:.2;pointer-events:none}.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question{opacity:1;pointer-events:auto}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#999;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1)}.widgets-chooser ul.widgets-chooser-sidebars{margin:0;list-style-type:none;max-height:300px;overflow:auto}.widgets-chooser{display:none}.widgets-chooser ul{border:1px solid #ccc}.widgets-chooser li{padding:10px 15px 10px 35px;border-bottom:1px solid #ccc;background:#fff;margin:0;cursor:pointer;outline:0;position:relative;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.widgets-chooser li:focus,.widgets-chooser li:hover{background:rgba(255,255,255,.7)}.widgets-chooser li:focus:before{content:'\f147';display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#999;position:absolute;top:7px;left:5px}.widgets-chooser li:last-child{border:none}.widgets-chooser li.widgets-chooser-selected{background:#2ea2cc;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{content:'\f147';display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#fff;position:absolute;top:7px;left:5px}.widgets-chooser .widgets-chooser-actions{padding:10px 0 12px;text-align:center}.widgets-chooser button{margin-right:5px}#available-widgets .widget .widget-top{cursor:pointer}@media screen and (max-width:480px){div.widget-liquid-left{width:100%;float:none;border-right:none;padding-right:0}#widgets-left #available-widgets .widget-top,#widgets-left .inactive-sidebar .widgets-sortables,#widgets-left .sidebar-name{margin-right:0}div.widget-liquid-right{width:100%;float:none}div.widget{margin:0 auto 10px!important;max-width:480px}}@media screen and (max-width:320px){div.widget{max-width:320px}}@media only screen and (min-width:1250px){#widgets-left #available-widgets .widget{width:49%;float:left}.widget.ui-draggable-dragging{min-width:49%}#widgets-left #available-widgets .widget:nth-child(even){float:right}#widgets-right .sidebars-column-1,#widgets-right .sidebars-column-2{float:left;width:49%}#widgets-right .sidebars-column-1{margin-right:2%}#widgets-right.single-sidebar .sidebars-column-1,#widgets-right.single-sidebar .sidebars-column-2{float:none;width:100%;margin:0}}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-style:normal;font-weight:700}.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #wp-fullscreen-tagline{font-family:KaiTi,"楷体",sans-serif}.locale-zh-cn #wp-fullscreen-modes a{font-size:12px}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de .inline-edit-row fieldset label span.title{width:7em}.locale-de-de .inline-edit-row fieldset label span.input-text-wrap{margin-left:7em}.locale-de-de #customize-header-actions .button{padding:0 5px 1px}.locale-de-de #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru .inline-edit-row fieldset label span.title{width:8em}.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title{width:8em}.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em} \ No newline at end of file diff --git a/sources/wordpress/wp-admin/custom-background.php b/sources/wordpress/wp-admin/custom-background.php deleted file mode 100644 index a23efda..0000000 --- a/sources/wordpress/wp-admin/custom-background.php +++ /dev/null @@ -1,482 +0,0 @@ -admin_header_callback = $admin_header_callback; - $this->admin_image_div_callback = $admin_image_div_callback; - - add_action( 'admin_menu', array( $this, 'init' ) ); - add_action( 'wp_ajax_set-background-image', array( $this, 'wp_set_background_image' ) ); - } - - /** - * Make private properties readable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property name. - * @return mixed Property. - */ - public function __get( $name ) { - return $this->$name; - } - - /** - * Make private properties settable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to set. - * @param mixed $value Property value. - * @return mixed Newly-set property. - */ - public function __set( $name, $value ) { - return $this->$name = $value; - } - - /** - * Make private properties checkable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to check if set. - * @return bool Whether the property is set. - */ - public function __isset( $name ) { - return isset( $this->$name ); - } - - /** - * Make private properties un-settable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to unset. - */ - public function __unset( $name ) { - unset( $this->$name ); - } - - /** - * Set up the hooks for the Custom Background admin page. - * - * @since 3.0.0 - */ - public function init() { - if ( ! current_user_can('edit_theme_options') ) - return; - - $this->page = $page = add_theme_page(__('Background'), __('Background'), 'edit_theme_options', 'custom-background', array($this, 'admin_page')); - - add_action("load-$page", array($this, 'admin_load')); - add_action("load-$page", array($this, 'take_action'), 49); - add_action("load-$page", array($this, 'handle_upload'), 49); - - if ( $this->admin_header_callback ) - add_action("admin_head-$page", $this->admin_header_callback, 51); - } - - /** - * Set up the enqueue for the CSS & JavaScript files. - * - * @since 3.0.0 - */ - public function admin_load() { - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

' . __( 'You can customize the look of your site without touching any of your theme’s code by using a custom background. Your background can be an image or a color.' ) . '

' . - '

' . __( 'To use a background image, simply upload it or choose an image that has already been uploaded to your Media Library by clicking the “Choose Image” button. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '

' . - '

' . __( 'You can also choose a background color by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '

' . - '

' . __( 'Don’t forget to click on the Save Changes button when you are finished.' ) . '

' - ) ); - - get_current_screen()->set_help_sidebar( - '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Custom Background' ) . '

' . - '

' . __( 'Support Forums' ) . '

' - ); - - wp_enqueue_media(); - wp_enqueue_script('custom-background'); - wp_enqueue_style('wp-color-picker'); - } - - /** - * Execute custom background modification. - * - * @since 3.0.0 - */ - public function take_action() { - - if ( empty($_POST) ) - return; - - if ( isset($_POST['reset-background']) ) { - check_admin_referer('custom-background-reset', '_wpnonce-custom-background-reset'); - remove_theme_mod('background_image'); - remove_theme_mod('background_image_thumb'); - $this->updated = true; - return; - } - - if ( isset($_POST['remove-background']) ) { - // @TODO: Uploaded files are not removed here. - check_admin_referer('custom-background-remove', '_wpnonce-custom-background-remove'); - set_theme_mod('background_image', ''); - set_theme_mod('background_image_thumb', ''); - $this->updated = true; - wp_safe_redirect( $_POST['_wp_http_referer'] ); - return; - } - - if ( isset($_POST['background-repeat']) ) { - check_admin_referer('custom-background'); - if ( in_array($_POST['background-repeat'], array('repeat', 'no-repeat', 'repeat-x', 'repeat-y')) ) - $repeat = $_POST['background-repeat']; - else - $repeat = 'repeat'; - set_theme_mod('background_repeat', $repeat); - } - - if ( isset($_POST['background-position-x']) ) { - check_admin_referer('custom-background'); - if ( in_array($_POST['background-position-x'], array('center', 'right', 'left')) ) - $position = $_POST['background-position-x']; - else - $position = 'left'; - set_theme_mod('background_position_x', $position); - } - - if ( isset($_POST['background-attachment']) ) { - check_admin_referer('custom-background'); - if ( in_array($_POST['background-attachment'], array('fixed', 'scroll')) ) - $attachment = $_POST['background-attachment']; - else - $attachment = 'fixed'; - set_theme_mod('background_attachment', $attachment); - } - - if ( isset($_POST['background-color']) ) { - check_admin_referer('custom-background'); - $color = preg_replace('/[^0-9a-fA-F]/', '', $_POST['background-color']); - if ( strlen($color) == 6 || strlen($color) == 3 ) - set_theme_mod('background_color', $color); - else - set_theme_mod('background_color', ''); - } - - $this->updated = true; - } - - /** - * Display the custom background page. - * - * @since 3.0.0 - */ - public function admin_page() { -?> -
-

- -updated ) ) { ?> -
-

Visit your site to see how it looks.' ), home_url( '/' ) ); ?>

-
- - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- admin_image_div_callback ) { - call_user_func( $this->admin_image_div_callback ); - } else { - $background_styles = ''; - if ( $bgcolor = get_background_color() ) - $background_styles .= 'background-color: #' . $bgcolor . ';'; - - if ( get_background_image() ) { - $background_image_thumb = esc_url( set_url_scheme( get_theme_mod( 'background_image_thumb', str_replace( '%', '%%', get_background_image() ) ) ) ); - - // Background-image URL must be single quote, see below. - $background_styles .= ' background-image: url(\'' . $background_image_thumb . '\');' - . ' background-repeat: ' . get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) ) . ';' - . ' background-position: top ' . get_theme_mod( 'background_position_x', get_theme_support( 'custom-background', 'default-position-x' ) ); - } - ?> -
- -
- - -
- -
-
- -
- -
-
-
- -
- -
-
-

-
- - - - -

-

-
- -

-
-
- -

-
- - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - - -
- - -
- - /> -
- - - -
- -
- false); - - $uploaded_file = $_FILES['import']; - $wp_filetype = wp_check_filetype_and_ext( $uploaded_file['tmp_name'], $uploaded_file['name'], false ); - if ( ! wp_match_mime_types( 'image', $wp_filetype['type'] ) ) - wp_die( __( 'The uploaded file is not a valid image. Please try again.' ) ); - - $file = wp_handle_upload($uploaded_file, $overrides); - - if ( isset($file['error']) ) - wp_die( $file['error'] ); - - $url = $file['url']; - $type = $file['type']; - $file = $file['file']; - $filename = basename($file); - - // Construct the object array - $object = array( - 'post_title' => $filename, - 'post_content' => $url, - 'post_mime_type' => $type, - 'guid' => $url, - 'context' => 'custom-background' - ); - - // Save the data - $id = wp_insert_attachment($object, $file); - - // Add the meta-data - wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) ); - update_post_meta( $id, '_wp_attachment_is_custom_background', get_option('stylesheet' ) ); - - set_theme_mod('background_image', esc_url_raw($url)); - - $thumbnail = wp_get_attachment_image_src( $id, 'thumbnail' ); - set_theme_mod('background_image_thumb', esc_url_raw( $thumbnail[0] ) ); - - /** This action is documented in wp-admin/custom-header.php */ - do_action( 'wp_create_file_in_uploads', $file, $id ); // For replication - $this->updated = true; - } - - /** - * Unused since 3.5.0. - * - * @since 3.4.0 - */ - public function attachment_fields_to_edit( $form_fields ) { - return $form_fields; - } - - /** - * Unused since 3.5.0. - * - * @since 3.4.0 - */ - public function filter_upload_tabs( $tabs ) { - return $tabs; - } - - public function wp_set_background_image() { - if ( ! current_user_can('edit_theme_options') || ! isset( $_POST['attachment_id'] ) ) exit; - $attachment_id = absint($_POST['attachment_id']); - /** This filter is documented in wp-admin/includes/media.php */ - $sizes = array_keys(apply_filters( 'image_size_names_choose', array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full Size')) )); - $size = 'thumbnail'; - if ( in_array( $_POST['size'], $sizes ) ) - $size = esc_attr( $_POST['size'] ); - - update_post_meta( $attachment_id, '_wp_attachment_is_custom_background', get_option('stylesheet' ) ); - $url = wp_get_attachment_image_src( $attachment_id, $size ); - $thumbnail = wp_get_attachment_image_src( $attachment_id, 'thumbnail' ); - set_theme_mod( 'background_image', esc_url_raw( $url[0] ) ); - set_theme_mod( 'background_image_thumb', esc_url_raw( $thumbnail[0] ) ); - exit; - } -} diff --git a/sources/wordpress/wp-admin/custom-header.php b/sources/wordpress/wp-admin/custom-header.php deleted file mode 100644 index 76f6f74..0000000 --- a/sources/wordpress/wp-admin/custom-header.php +++ /dev/null @@ -1,1366 +0,0 @@ -admin_header_callback = $admin_header_callback; - $this->admin_image_div_callback = $admin_image_div_callback; - - add_action( 'admin_menu', array( $this, 'init' ) ); - - add_action( 'customize_save_after', array( $this, 'customize_set_last_used' ) ); - add_action( 'wp_ajax_custom-header-crop', array( $this, 'ajax_header_crop' ) ); - add_action( 'wp_ajax_custom-header-add', array( $this, 'ajax_header_add' ) ); - add_action( 'wp_ajax_custom-header-remove', array( $this, 'ajax_header_remove' ) ); - } - - /** - * Make private properties readable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to get. - * @return mixed Property. - */ - public function __get( $name ) { - return $this->$name; - } - - /** - * Make private properties settable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to set. - * @param mixed $value Property value. - * @return mixed Newly-set property. - */ - public function __set( $name, $value ) { - return $this->$name = $value; - } - - /** - * Make private properties checkable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to check if set. - * @return bool Whether the property is set. - */ - public function __isset( $name ) { - return isset( $this->$name ); - } - - /** - * Make private properties un-settable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to unset. - */ - public function __unset( $name ) { - unset( $this->$name ); - } - - /** - * Set up the hooks for the Custom Header admin page. - * - * @since 2.1.0 - */ - public function init() { - if ( ! current_user_can('edit_theme_options') ) - return; - - $this->page = $page = add_theme_page(__('Header'), __('Header'), 'edit_theme_options', 'custom-header', array($this, 'admin_page')); - - add_action("admin_print_scripts-$page", array($this, 'js_includes')); - add_action("admin_print_styles-$page", array($this, 'css_includes')); - add_action("admin_head-$page", array($this, 'help') ); - add_action("admin_head-$page", array($this, 'take_action'), 50); - add_action("admin_head-$page", array($this, 'js'), 50); - if ( $this->admin_header_callback ) - add_action("admin_head-$page", $this->admin_header_callback, 51); - - } - - /** - * Adds contextual help. - * - * @since 3.0.0 - */ - public function help() { - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

' . __( 'This screen is used to customize the header section of your theme.') . '

' . - '

' . __( 'You can choose from the theme’s default header images, or use one of your own. You can also customize how your Site Title and Tagline are displayed.') . '

' - ) ); - - get_current_screen()->add_help_tab( array( - 'id' => 'set-header-image', - 'title' => __('Header Image'), - 'content' => - '

' . __( 'You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately. Alternatively, you can use an image that has already been uploaded to your Media Library by clicking the “Choose Image” button.' ) . '

' . - '

' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you’d like and click the “Save Changes” button.' ) . '

' . - '

' . __( 'If your theme has more than one default header image, or you have uploaded more than one custom header image, you have the option of having WordPress display a randomly different image on each page of your site. Click the “Random” radio button next to the Uploaded Images or Default Images section to enable this feature.') . '

' . - '

' . __( 'If you don’t want a header image to be displayed on your site at all, click the “Remove Header Image” button at the bottom of the Header Image section of this page. If you want to re-enable the header image later, you just have to select one of the other image options and click “Save Changes”.') . '

' - ) ); - - get_current_screen()->add_help_tab( array( - 'id' => 'set-header-text', - 'title' => __('Header Text'), - 'content' => - '

' . sprintf( __( 'For most themes, the header text is your Site Title and Tagline, as defined in the General Settings section.' ), admin_url( 'options-general.php' ) ) . '

' . - '

' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '

' . - '

' . __( 'Don’t forget to click “Save Changes” when you’re done!') . '

' - ) ); - - get_current_screen()->set_help_sidebar( - '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Custom Header' ) . '

' . - '

' . __( 'Support Forums' ) . '

' - ); - } - - /** - * Get the current step. - * - * @since 2.6.0 - * - * @return int Current step - */ - public function step() { - if ( ! isset( $_GET['step'] ) ) - return 1; - - $step = (int) $_GET['step']; - if ( $step < 1 || 3 < $step || - ( 2 == $step && ! wp_verify_nonce( $_REQUEST['_wpnonce-custom-header-upload'], 'custom-header-upload' ) ) || - ( 3 == $step && ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'custom-header-crop-image' ) ) - ) - return 1; - - return $step; - } - - /** - * Set up the enqueue for the JavaScript files. - * - * @since 2.1.0 - */ - public function js_includes() { - $step = $this->step(); - - if ( ( 1 == $step || 3 == $step ) ) { - wp_enqueue_media(); - wp_enqueue_script( 'custom-header' ); - if ( current_theme_supports( 'custom-header', 'header-text' ) ) - wp_enqueue_script( 'wp-color-picker' ); - } elseif ( 2 == $step ) { - wp_enqueue_script('imgareaselect'); - } - } - - /** - * Set up the enqueue for the CSS files - * - * @since 2.7.0 - */ - public function css_includes() { - $step = $this->step(); - - if ( ( 1 == $step || 3 == $step ) && current_theme_supports( 'custom-header', 'header-text' ) ) - wp_enqueue_style( 'wp-color-picker' ); - elseif ( 2 == $step ) - wp_enqueue_style('imgareaselect'); - } - - /** - * Execute custom header modification. - * - * @since 2.6.0 - */ - public function take_action() { - if ( ! current_user_can('edit_theme_options') ) - return; - - if ( empty( $_POST ) ) - return; - - $this->updated = true; - - if ( isset( $_POST['resetheader'] ) ) { - check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); - $this->reset_header_image(); - return; - } - - if ( isset( $_POST['removeheader'] ) ) { - check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); - $this->remove_header_image(); - return; - } - - if ( isset( $_POST['text-color'] ) && ! isset( $_POST['display-header-text'] ) ) { - check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); - set_theme_mod( 'header_textcolor', 'blank' ); - } elseif ( isset( $_POST['text-color'] ) ) { - check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); - $_POST['text-color'] = str_replace( '#', '', $_POST['text-color'] ); - $color = preg_replace('/[^0-9a-fA-F]/', '', $_POST['text-color']); - if ( strlen($color) == 6 || strlen($color) == 3 ) - set_theme_mod('header_textcolor', $color); - elseif ( ! $color ) - set_theme_mod( 'header_textcolor', 'blank' ); - } - - if ( isset( $_POST['default-header'] ) ) { - check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); - $this->set_header_image( $_POST['default-header'] ); - return; - } - } - - /** - * Process the default headers - * - * @since 3.0.0 - */ - public function process_default_headers() { - global $_wp_default_headers; - - if ( !empty($this->headers) ) - return; - - if ( !isset($_wp_default_headers) ) - return; - - if ( ! empty( $this->default_headers ) ) { - return; - } - - $this->default_headers = $_wp_default_headers; - $template_directory_uri = get_template_directory_uri(); - $stylesheet_directory_uri = get_stylesheet_directory_uri(); - foreach ( array_keys($this->default_headers) as $header ) { - $this->default_headers[$header]['url'] = sprintf( $this->default_headers[$header]['url'], $template_directory_uri, $stylesheet_directory_uri ); - $this->default_headers[$header]['thumbnail_url'] = sprintf( $this->default_headers[$header]['thumbnail_url'], $template_directory_uri, $stylesheet_directory_uri ); - } - } - - /** - * Display UI for selecting one of several default headers. - * - * Show the random image option if this theme has multiple header images. - * Random image option is on by default if no header has been set. - * - * @since 3.0.0 - */ - public function show_header_selector( $type = 'default' ) { - if ( 'default' == $type ) { - $headers = $this->default_headers; - } else { - $headers = get_uploaded_header_images(); - $type = 'uploaded'; - } - - if ( 1 < count( $headers ) ) { - echo '
'; - echo ''; - echo '
'; - } - - echo '
'; - foreach ( $headers as $header_key => $header ) { - $header_thumbnail = $header['thumbnail_url']; - $header_url = $header['url']; - $header_desc = empty( $header['description'] ) ? '' : $header['description']; - echo '
'; - echo ''; - echo '
'; - } - echo '
'; - } - - /** - * Execute Javascript depending on step. - * - * @since 2.1.0 - */ - public function js() { - $step = $this->step(); - if ( ( 1 == $step || 3 == $step ) && current_theme_supports( 'custom-header', 'header-text' ) ) - $this->js_1(); - elseif ( 2 == $step ) - $this->js_2(); - } - - /** - * Display Javascript based on Step 1 and 3. - * - * @since 2.6.0 - */ - public function js_1() { - $default_color = ''; - if ( current_theme_supports( 'custom-header', 'default-text-color' ) ) { - $default_color = get_theme_support( 'custom-header', 'default-text-color' ); - if ( $default_color && false === strpos( $default_color, '#' ) ) { - $default_color = '#' . $default_color; - } - } - ?> - - - - -process_default_headers(); -?> - -
-

- -updated ) ) { ?> -
-

Visit your site to see how it looks.' ), home_url( '/' ) ); ?>

-
- - -

- - - - - - - - - - - - - - - - - - -
- admin_image_div_callback ) { - call_user_func( $this->admin_image_div_callback ); - } else { - $custom_header = get_custom_header(); - $header_image_style = 'background-image:url(' . esc_url( get_header_image() ) . ');'; - if ( $custom_header->width ) - $header_image_style .= 'max-width:' . $custom_header->width . 'px;'; - if ( $custom_header->height ) - $header_image_style .= 'height:' . $custom_header->height . 'px;'; - ?> - - -
-


- %1$d × %2$d pixels will be used as-is.' ) . '
', get_theme_support( 'custom-header', 'width' ), get_theme_support( 'custom-header', 'height' ) ); - } elseif ( current_theme_supports( 'custom-header', 'flex-height' ) ) { - if ( ! current_theme_supports( 'custom-header', 'flex-width' ) ) - printf( __( 'Images should be at least %1$d pixels wide.' ) . ' ', get_theme_support( 'custom-header', 'width' ) ); - } elseif ( current_theme_supports( 'custom-header', 'flex-width' ) ) { - if ( ! current_theme_supports( 'custom-header', 'flex-height' ) ) - printf( __( 'Images should be at least %1$d pixels tall.' ) . ' ', get_theme_support( 'custom-header', 'height' ) ); - } - if ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) { - if ( current_theme_supports( 'custom-header', 'width' ) ) - printf( __( 'Suggested width is %1$d pixels.' ) . ' ', get_theme_support( 'custom-header', 'width' ) ); - if ( current_theme_supports( 'custom-header', 'height' ) ) - printf( __( 'Suggested height is %1$d pixels.' ) . ' ', get_theme_support( 'custom-header', 'height' ) ); - } - ?>

-
-

-
- - - - -

- 'custom-header', - 'step' => 2, - '_wpnonce-custom-header-upload' => wp_create_nonce('custom-header-upload'), - ), admin_url('themes.php') ) ); - ?> -

-
- -

-
-
- -
- - - - - - - - default_headers ) ) : ?> - - - - - - - - - - - - - - - - -
-

- show_header_selector( 'uploaded' ); - ?> -
- -

- -

- - show_header_selector( 'default' ); - ?> -
-

- -
-

- -
- - - -

- - - - - - - - - - - - - -
-

- -

-
-

- '; - if ( $default_color ) { - echo ' ' . sprintf( _x( 'Default: %s', 'color' ), esc_html( $default_color ) ) . ''; - } - ?> -

-
- - - -
-
- -step_2_manage_upload(); - $attachment_id = $data['attachment_id']; - $file = $data['file']; - $url = $data['url']; - $type = $data['type']; - } - - if ( file_exists( $file ) ) { - list( $width, $height, $type, $attr ) = getimagesize( $file ); - } else { - $data = wp_get_attachment_metadata( $attachment_id ); - $height = isset( $data[ 'height' ] ) ? $data[ 'height' ] : 0; - $width = isset( $data[ 'width' ] ) ? $data[ 'width' ] : 0; - unset( $data ); - } - - $max_width = 0; - // For flex, limit size of image displayed to 1500px unless theme says otherwise - if ( current_theme_supports( 'custom-header', 'flex-width' ) ) - $max_width = 1500; - - if ( current_theme_supports( 'custom-header', 'max-width' ) ) - $max_width = max( $max_width, get_theme_support( 'custom-header', 'max-width' ) ); - $max_width = max( $max_width, get_theme_support( 'custom-header', 'width' ) ); - - // If flexible height isn't supported and the image is the exact right size - if ( ! current_theme_supports( 'custom-header', 'flex-height' ) && ! current_theme_supports( 'custom-header', 'flex-width' ) - && $width == get_theme_support( 'custom-header', 'width' ) && $height == get_theme_support( 'custom-header', 'height' ) ) - { - // Add the meta-data - if ( file_exists( $file ) ) - wp_update_attachment_metadata( $attachment_id, wp_generate_attachment_metadata( $attachment_id, $file ) ); - - $this->set_header_image( compact( 'url', 'attachment_id', 'width', 'height' ) ); - - /** - * Fires after the header image is set or an error is returned. - * - * @since 2.1.0 - * - * @param string $file Path to the file. - * @param int $attachment_id Attachment ID. - */ - do_action( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication - - return $this->finished(); - } elseif ( $width > $max_width ) { - $oitar = $width / $max_width; - $image = wp_crop_image($attachment_id, 0, 0, $width, $height, $max_width, $height / $oitar, false, str_replace(basename($file), 'midsize-'.basename($file), $file)); - if ( ! $image || is_wp_error( $image ) ) - wp_die( __( 'Image could not be processed. Please go back and try again.' ), __( 'Image Processing Error' ) ); - - /** This filter is documented in wp-admin/custom-header.php */ - $image = apply_filters( 'wp_create_file_in_uploads', $image, $attachment_id ); // For replication - - $url = str_replace(basename($url), basename($image), $url); - $width = $width / $oitar; - $height = $height / $oitar; - } else { - $oitar = 1; - } - ?> - -
-

- -
-

-

- -
- -
- - - - - - - - - - - - -

- - -

-
-
- false); - - $uploaded_file = $_FILES['import']; - $wp_filetype = wp_check_filetype_and_ext( $uploaded_file['tmp_name'], $uploaded_file['name'], false ); - if ( ! wp_match_mime_types( 'image', $wp_filetype['type'] ) ) - wp_die( __( 'The uploaded file is not a valid image. Please try again.' ) ); - - $file = wp_handle_upload($uploaded_file, $overrides); - - if ( isset($file['error']) ) - wp_die( $file['error'], __( 'Image Upload Error' ) ); - - $url = $file['url']; - $type = $file['type']; - $file = $file['file']; - $filename = basename($file); - - // Construct the object array - $object = array( - 'post_title' => $filename, - 'post_content' => $url, - 'post_mime_type' => $type, - 'guid' => $url, - 'context' => 'custom-header' - ); - - // Save the data - $attachment_id = wp_insert_attachment( $object, $file ); - return compact( 'attachment_id', 'file', 'filename', 'url', 'type' ); - } - - /** - * Display third step of custom header image page. - * - * @since 2.1.0 - */ - public function step_3() { - check_admin_referer( 'custom-header-crop-image' ); - - if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - - if ( ! empty( $_POST['skip-cropping'] ) && ! ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - - if ( $_POST['oitar'] > 1 ) { - $_POST['x1'] = $_POST['x1'] * $_POST['oitar']; - $_POST['y1'] = $_POST['y1'] * $_POST['oitar']; - $_POST['width'] = $_POST['width'] * $_POST['oitar']; - $_POST['height'] = $_POST['height'] * $_POST['oitar']; - } - - $attachment_id = absint( $_POST['attachment_id'] ); - $original = get_attached_file($attachment_id); - - $dimensions = $this->get_header_dimensions( array( - 'height' => $_POST['height'], - 'width' => $_POST['width'], - ) ); - $height = $dimensions['dst_height']; - $width = $dimensions['dst_width']; - - if ( empty( $_POST['skip-cropping'] ) ) - $cropped = wp_crop_image( $attachment_id, (int) $_POST['x1'], (int) $_POST['y1'], (int) $_POST['width'], (int) $_POST['height'], $width, $height ); - elseif ( ! empty( $_POST['create-new-attachment'] ) ) - $cropped = _copy_image_file( $attachment_id ); - else - $cropped = get_attached_file( $attachment_id ); - - if ( ! $cropped || is_wp_error( $cropped ) ) - wp_die( __( 'Image could not be processed. Please go back and try again.' ), __( 'Image Processing Error' ) ); - - /** This filter is documented in wp-admin/custom-header.php */ - $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication - - $object = $this->create_attachment_object( $cropped, $attachment_id ); - - if ( ! empty( $_POST['create-new-attachment'] ) ) - unset( $object['ID'] ); - - // Update the attachment - $attachment_id = $this->insert_attachment( $object, $cropped ); - - $url = $object['guid']; - $this->set_header_image( compact( 'url', 'attachment_id', 'width', 'height' ) ); - - // Cleanup. - $medium = str_replace( basename( $original ), 'midsize-' . basename( $original ), $original ); - if ( file_exists( $medium ) ) { - /** - * Filter the path of the file to delete. - * - * @since 2.1.0 - * - * @param string $medium Path to the file to delete. - */ - @unlink( apply_filters( 'wp_delete_file', $medium ) ); - } - - if ( empty( $_POST['create-new-attachment'] ) && empty( $_POST['skip-cropping'] ) ) { - /** This filter is documented in wp-admin/custom-header.php */ - @unlink( apply_filters( 'wp_delete_file', $original ) ); - } - - return $this->finished(); - } - - /** - * Display last step of custom header image page. - * - * @since 2.1.0 - */ - public function finished() { - $this->updated = true; - $this->step_1(); - } - - /** - * Display the page based on the current step. - * - * @since 2.1.0 - */ - public function admin_page() { - if ( ! current_user_can('edit_theme_options') ) - wp_die(__('You do not have permission to customize headers.')); - $step = $this->step(); - if ( 2 == $step ) - $this->step_2(); - elseif ( 3 == $step ) - $this->step_3(); - else - $this->step_1(); - } - - /** - * Unused since 3.5.0. - * - * @since 3.4.0 - */ - public function attachment_fields_to_edit( $form_fields ) { - return $form_fields; - } - - /** - * Unused since 3.5.0. - * - * @since 3.4.0 - */ - public function filter_upload_tabs( $tabs ) { - return $tabs; - } - - /** - * Choose a header image, selected from existing uploaded and default headers, - * or provide an array of uploaded header data (either new, or from media library). - * - * @param mixed $choice Which header image to select. Allows for values of 'random-default-image', - * for randomly cycling among the default images; 'random-uploaded-image', for randomly cycling - * among the uploaded images; the key of a default image registered for that theme; and - * the key of an image uploaded for that theme (the basename of the URL). - * Or an array of arguments: attachment_id, url, width, height. All are required. - * - * @since 3.4.0 - */ - final public function set_header_image( $choice ) { - if ( is_array( $choice ) || is_object( $choice ) ) { - $choice = (array) $choice; - if ( ! isset( $choice['attachment_id'] ) || ! isset( $choice['url'] ) ) - return; - - $choice['url'] = esc_url_raw( $choice['url'] ); - - $header_image_data = (object) array( - 'attachment_id' => $choice['attachment_id'], - 'url' => $choice['url'], - 'thumbnail_url' => $choice['url'], - 'height' => $choice['height'], - 'width' => $choice['width'], - ); - - update_post_meta( $choice['attachment_id'], '_wp_attachment_is_custom_header', get_stylesheet() ); - set_theme_mod( 'header_image', $choice['url'] ); - set_theme_mod( 'header_image_data', $header_image_data ); - return; - } - - if ( in_array( $choice, array( 'remove-header', 'random-default-image', 'random-uploaded-image' ) ) ) { - set_theme_mod( 'header_image', $choice ); - remove_theme_mod( 'header_image_data' ); - return; - } - - $uploaded = get_uploaded_header_images(); - if ( $uploaded && isset( $uploaded[ $choice ] ) ) { - $header_image_data = $uploaded[ $choice ]; - - } else { - $this->process_default_headers(); - if ( isset( $this->default_headers[ $choice ] ) ) - $header_image_data = $this->default_headers[ $choice ]; - else - return; - } - - set_theme_mod( 'header_image', esc_url_raw( $header_image_data['url'] ) ); - set_theme_mod( 'header_image_data', $header_image_data ); - } - - /** - * Remove a header image. - * - * @since 3.4.0 - */ - final public function remove_header_image() { - return $this->set_header_image( 'remove-header' ); - } - - /** - * Reset a header image to the default image for the theme. - * - * This method does not do anything if the theme does not have a default header image. - * - * @since 3.4.0 - */ - final public function reset_header_image() { - $this->process_default_headers(); - $default = get_theme_support( 'custom-header', 'default-image' ); - - if ( ! $default ) - return $this->remove_header_image(); - - $default = sprintf( $default, get_template_directory_uri(), get_stylesheet_directory_uri() ); - - $default_data = array(); - foreach ( $this->default_headers as $header => $details ) { - if ( $details['url'] == $default ) { - $default_data = $details; - break; - } - } - - set_theme_mod( 'header_image', $default ); - set_theme_mod( 'header_image_data', (object) $default_data ); - } - - /** - * Calculate width and height based on what the currently selected theme supports. - * - * @return array dst_height and dst_width of header image. - */ - final public function get_header_dimensions( $dimensions ) { - $max_width = 0; - $width = absint( $dimensions['width'] ); - $height = absint( $dimensions['height'] ); - $theme_height = get_theme_support( 'custom-header', 'height' ); - $theme_width = get_theme_support( 'custom-header', 'width' ); - $has_flex_width = current_theme_supports( 'custom-header', 'flex-width' ); - $has_flex_height = current_theme_supports( 'custom-header', 'flex-height' ); - $has_max_width = current_theme_supports( 'custom-header', 'max-width' ) ; - $dst = array( 'dst_height' => null, 'dst_height' => null ); - - // For flex, limit size of image displayed to 1500px unless theme says otherwise - if ( $has_flex_width ) { - $max_width = 1500; - } - - if ( $has_max_width ) { - $max_width = max( $max_width, get_theme_support( 'custom-header', 'max-width' ) ); - } - $max_width = max( $max_width, $theme_width ); - - if ( $has_flex_height && ( ! $has_flex_width || $width > $max_width ) ) { - $dst['dst_height'] = absint( $height * ( $max_width / $width ) ); - } - elseif ( $has_flex_height && $has_flex_width ) { - $dst['dst_height'] = $height; - } - else { - $dst['dst_height'] = $theme_height; - } - - if ( $has_flex_width && ( ! $has_flex_height || $width > $max_width ) ) { - $dst['dst_width'] = absint( $width * ( $max_width / $width ) ); - } - elseif ( $has_flex_width && $has_flex_height ) { - $dst['dst_width'] = $width; - } - else { - $dst['dst_width'] = $theme_width; - } - - return $dst; - } - - /** - * Create an attachment 'object'. - * - * @param string $cropped Cropped image URL. - * @param int $parent_attachment_id Attachment ID of parent image. - * - * @return array Attachment object. - */ - final public function create_attachment_object( $cropped, $parent_attachment_id ) { - $parent = get_post( $parent_attachment_id ); - $parent_url = $parent->guid; - $url = str_replace( basename( $parent_url ), basename( $cropped ), $parent_url ); - - $size = @getimagesize( $cropped ); - $image_type = ( $size ) ? $size['mime'] : 'image/jpeg'; - - $object = array( - 'ID' => $parent_attachment_id, - 'post_title' => basename($cropped), - 'post_content' => $url, - 'post_mime_type' => $image_type, - 'guid' => $url, - 'context' => 'custom-header' - ); - - return $object; - } - - /** - * Insert an attachment and its metadata. - * - * @param array $object Attachment object. - * @param string $cropped Cropped image URL. - * - * @return int Attachment ID. - */ - final public function insert_attachment( $object, $cropped ) { - $attachment_id = wp_insert_attachment( $object, $cropped ); - $metadata = wp_generate_attachment_metadata( $attachment_id, $cropped ); - /** - * Filter the header image attachment metadata. - * - * @since 3.9.0 - * - * @see wp_generate_attachment_metadata() - * - * @param array $metadata Attachment metadata. - */ - $metadata = apply_filters( 'wp_header_image_attachment_metadata', $metadata ); - wp_update_attachment_metadata( $attachment_id, $metadata ); - return $attachment_id; - } - - /** - * Gets attachment uploaded by Media Manager, crops it, then saves it as a - * new object. Returns JSON-encoded object details. - */ - public function ajax_header_crop() { - check_ajax_referer( 'image_editor-' . $_POST['id'], 'nonce' ); - - if ( ! current_user_can( 'edit_theme_options' ) ) { - wp_send_json_error(); - } - - if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { - wp_send_json_error(); - } - - $crop_details = $_POST['cropDetails']; - - $dimensions = $this->get_header_dimensions( array( - 'height' => $crop_details['height'], - 'width' => $crop_details['width'], - ) ); - - $attachment_id = absint( $_POST['id'] ); - - $cropped = wp_crop_image( - $attachment_id, - (int) $crop_details['x1'], - (int) $crop_details['y1'], - (int) $crop_details['width'], - (int) $crop_details['height'], - (int) $dimensions['dst_width'], - (int) $dimensions['dst_height'] - ); - - if ( ! $cropped || is_wp_error( $cropped ) ) { - wp_send_json_error( array( 'message' => __( 'Image could not be processed. Please go back and try again.' ) ) ); - } - - /** This filter is documented in wp-admin/custom-header.php */ - $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication - - $object = $this->create_attachment_object( $cropped, $attachment_id ); - - unset( $object['ID'] ); - - $new_attachment_id = $this->insert_attachment( $object, $cropped ); - - $object['attachment_id'] = $new_attachment_id; - $object['width'] = $dimensions['dst_width']; - $object['height'] = $dimensions['dst_height']; - - wp_send_json_success( $object ); - } - - /** - * Given an attachment ID for a header image, updates its "last used" - * timestamp to now. - * - * Triggered when the user tries adds a new header image from the - * Media Manager, even if s/he doesn't save that change. - */ - public function ajax_header_add() { - check_ajax_referer( 'header-add', 'nonce' ); - - if ( ! current_user_can( 'edit_theme_options' ) ) { - wp_send_json_error(); - } - - $attachment_id = absint( $_POST['attachment_id'] ); - if ( $attachment_id < 1 ) { - wp_send_json_error(); - } - - $key = '_wp_attachment_custom_header_last_used_' . get_stylesheet(); - update_post_meta( $attachment_id, $key, time() ); - update_post_meta( $attachment_id, '_wp_attachment_is_custom_header', get_stylesheet() ); - - wp_send_json_success(); - } - - /** - * Given an attachment ID for a header image, unsets it as a user-uploaded - * header image for the current theme. - * - * Triggered when the user clicks the overlay "X" button next to each image - * choice in the Customizer's Header tool. - */ - public function ajax_header_remove() { - check_ajax_referer( 'header-remove', 'nonce' ); - - if ( ! current_user_can( 'edit_theme_options' ) ) { - wp_send_json_error(); - } - - $attachment_id = absint( $_POST['attachment_id'] ); - if ( $attachment_id < 1 ) { - wp_send_json_error(); - } - - $key = '_wp_attachment_custom_header_last_used_' . get_stylesheet(); - delete_post_meta( $attachment_id, $key ); - delete_post_meta( $attachment_id, '_wp_attachment_is_custom_header', get_stylesheet() ); - - wp_send_json_success(); - } - - public function customize_set_last_used( $wp_customize ) { - $data = $wp_customize->get_setting( 'header_image_data' )->post_value(); - - if ( ! isset( $data['attachment_id'] ) ) { - return; - } - - $attachment_id = $data['attachment_id']; - $key = '_wp_attachment_custom_header_last_used_' . get_stylesheet(); - update_post_meta( $attachment_id, $key, time() ); - } - - public function get_default_header_images() { - $this->process_default_headers(); - - // Get the default image if there is one. - $default = get_theme_support( 'custom-header', 'default-image' ); - - if ( ! $default ) { // If not, - return $this->default_headers; // easy peasy. - } - - $default = sprintf( $default, get_template_directory_uri(), get_stylesheet_directory_uri() ); - $already_has_default = false; - - foreach ( $this->default_headers as $k => $h ) { - if ( $h['url'] === $default ) { - $already_has_default = true; - break; - } - } - - if ( $already_has_default ) { - return $this->default_headers; - } - - // If the one true image isn't included in the default set, prepend it. - $header_images = array(); - $header_images['default'] = array( - 'url' => $default, - 'thumbnail_url' => $default, - 'description' => 'Default' - ); - - // The rest of the set comes after. - $header_images = array_merge( $header_images, $this->default_headers ); - return $header_images; - } - - public function get_uploaded_header_images() { - $header_images = get_uploaded_header_images(); - $timestamp_key = '_wp_attachment_custom_header_last_used_' . get_stylesheet(); - $alt_text_key = '_wp_attachment_image_alt'; - - foreach ( $header_images as &$header_image ) { - $header_meta = get_post_meta( $header_image['attachment_id'] ); - $header_image['timestamp'] = isset( $header_meta[ $timestamp_key ] ) ? $header_meta[ $timestamp_key ] : ''; - $header_image['alt_text'] = isset( $header_meta[ $alt_text_key ] ) ? $header_meta[ $alt_text_key ] : ''; - } - - return $header_images; - } -} diff --git a/sources/wordpress/wp-admin/customize.php b/sources/wordpress/wp-admin/customize.php deleted file mode 100644 index 3cfa0c7..0000000 --- a/sources/wordpress/wp-admin/customize.php +++ /dev/null @@ -1,278 +0,0 @@ -registered; -$wp_scripts = new WP_Scripts; -$wp_scripts->registered = $registered; - -add_action( 'customize_controls_print_scripts', 'print_head_scripts', 20 ); -add_action( 'customize_controls_print_footer_scripts', '_wp_footer_scripts' ); -add_action( 'customize_controls_print_styles', 'print_admin_styles', 20 ); - -/** - * Fires when Customizer controls are initialized, before scripts are enqueued. - * - * @since 3.4.0 - */ -do_action( 'customize_controls_init' ); - -wp_enqueue_script( 'customize-controls' ); -wp_enqueue_style( 'customize-controls' ); - -wp_enqueue_script( 'accordion' ); - -/** - * Enqueue Customizer control scripts. - * - * @since 3.4.0 - */ -do_action( 'customize_controls_enqueue_scripts' ); - -// Let's roll. -@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); - -wp_user_settings(); -_wp_admin_html_begin(); - -$body_class = 'wp-core-ui wp-customizer js'; - -if ( wp_is_mobile() ) : - $body_class .= ' mobile'; - - ?>theme()->display('Name') ) ) ); -?><?php echo $admin_title; ?> - - - - - - -
-
- -
- is_theme_active() ? __( 'Save & Publish' ) : __( 'Save & Activate' ); - submit_button( $save_text, 'primary save', 'save', false ); - ?> - - - - - -
- - theme()->get_screenshot(); - $cannot_expand = ! ( $wp_customize->is_theme_active() || $screenshot || $wp_customize->theme()->get('Description') ); - ?> - -
-
-
-
- is_theme_active() ) { - /* translators: %s is the theme name in the Customize/Live Preview pane */ - echo sprintf( __( 'You are previewing %s' ), '' . $wp_customize->theme()->display('Name') . '' ); - } else { - /* translators: %s is the site/panel title in the Customize pane */ - echo sprintf( __( 'You are customizing %s' ), '' . get_bloginfo( 'name' ) . '' ); - } - ?> -
- -
- is_theme_active() ) : - if ( $screenshot ) : ?> - - - - theme()->get('Description') ): ?> -
theme()->display('Description'); ?>
- -
- -
- -
    - containers() as $container ) { - $container->maybe_render(); - } - ?> -
-
-
- - -
-
- 1, - 'template' => $wp_customize->get_template(), - 'stylesheet' => $wp_customize->get_stylesheet(), - 'preview_iframe' => true, - 'TB_iframe' => 'true' - ), home_url( '/' ) ); - - $login_url = add_query_arg( array( - 'interim-login' => 1, - 'customize-login' => 1 - ), wp_login_url() ); - - // Prepare customizer settings to pass to Javascript. - $settings = array( - 'theme' => array( - 'stylesheet' => $wp_customize->get_stylesheet(), - 'active' => $wp_customize->is_theme_active(), - ), - 'url' => array( - 'preview' => esc_url_raw( $url ? $url : home_url( '/' ) ), - 'parent' => esc_url_raw( admin_url() ), - 'activated' => esc_url_raw( admin_url( 'themes.php?activated=true&previewed' ) ), - 'ajax' => esc_url_raw( admin_url( 'admin-ajax.php', 'relative' ) ), - 'allowed' => array_map( 'esc_url_raw', $allowed_urls ), - 'isCrossDomain' => $cross_domain, - 'fallback' => esc_url_raw( $fallback_url ), - 'home' => esc_url_raw( home_url( '/' ) ), - 'login' => esc_url_raw( $login_url ), - ), - 'browser' => array( - 'mobile' => wp_is_mobile(), - 'ios' => $is_ios, - ), - 'settings' => array(), - 'controls' => array(), - 'nonce' => array( - 'save' => wp_create_nonce( 'save-customize_' . $wp_customize->get_stylesheet() ), - 'preview' => wp_create_nonce( 'preview-customize_' . $wp_customize->get_stylesheet() ) - ), - ); - - // Prepare Customize Setting objects to pass to Javascript. - foreach ( $wp_customize->settings() as $id => $setting ) { - $settings['settings'][ $id ] = array( - 'value' => $setting->js_value(), - 'transport' => $setting->transport, - ); - } - - // Prepare Customize Control objects to pass to Javascript. - foreach ( $wp_customize->controls() as $id => $control ) { - $control->to_json(); - $settings['controls'][ $id ] = $control->json; - } - - ?> - -
- - diff --git a/sources/wordpress/wp-admin/edit-comments.php b/sources/wordpress/wp-admin/edit-comments.php deleted file mode 100644 index 5f28976..0000000 --- a/sources/wordpress/wp-admin/edit-comments.php +++ /dev/null @@ -1,254 +0,0 @@ -get_pagenum(); - -$doaction = $wp_list_table->current_action(); - -if ( $doaction ) { - check_admin_referer( 'bulk-comments' ); - - if ( 'delete_all' == $doaction && !empty( $_REQUEST['pagegen_timestamp'] ) ) { - $comment_status = wp_unslash( $_REQUEST['comment_status'] ); - $delete_time = wp_unslash( $_REQUEST['pagegen_timestamp'] ); - $comment_ids = $wpdb->get_col( $wpdb->prepare( "SELECT comment_ID FROM $wpdb->comments WHERE comment_approved = %s AND %s > comment_date_gmt", $comment_status, $delete_time ) ); - $doaction = 'delete'; - } elseif ( isset( $_REQUEST['delete_comments'] ) ) { - $comment_ids = $_REQUEST['delete_comments']; - $doaction = ( $_REQUEST['action'] != -1 ) ? $_REQUEST['action'] : $_REQUEST['action2']; - } elseif ( isset( $_REQUEST['ids'] ) ) { - $comment_ids = array_map( 'absint', explode( ',', $_REQUEST['ids'] ) ); - } elseif ( wp_get_referer() ) { - wp_safe_redirect( wp_get_referer() ); - exit; - } - - $approved = $unapproved = $spammed = $unspammed = $trashed = $untrashed = $deleted = 0; - - $redirect_to = remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'spammed', 'unspammed', 'approved', 'unapproved', 'ids' ), wp_get_referer() ); - $redirect_to = add_query_arg( 'paged', $pagenum, $redirect_to ); - - foreach ( $comment_ids as $comment_id ) { // Check the permissions on each - if ( !current_user_can( 'edit_comment', $comment_id ) ) - continue; - - switch ( $doaction ) { - case 'approve' : - wp_set_comment_status( $comment_id, 'approve' ); - $approved++; - break; - case 'unapprove' : - wp_set_comment_status( $comment_id, 'hold' ); - $unapproved++; - break; - case 'spam' : - wp_spam_comment( $comment_id ); - $spammed++; - break; - case 'unspam' : - wp_unspam_comment( $comment_id ); - $unspammed++; - break; - case 'trash' : - wp_trash_comment( $comment_id ); - $trashed++; - break; - case 'untrash' : - wp_untrash_comment( $comment_id ); - $untrashed++; - break; - case 'delete' : - wp_delete_comment( $comment_id ); - $deleted++; - break; - } - } - - if ( $approved ) - $redirect_to = add_query_arg( 'approved', $approved, $redirect_to ); - if ( $unapproved ) - $redirect_to = add_query_arg( 'unapproved', $unapproved, $redirect_to ); - if ( $spammed ) - $redirect_to = add_query_arg( 'spammed', $spammed, $redirect_to ); - if ( $unspammed ) - $redirect_to = add_query_arg( 'unspammed', $unspammed, $redirect_to ); - if ( $trashed ) - $redirect_to = add_query_arg( 'trashed', $trashed, $redirect_to ); - if ( $untrashed ) - $redirect_to = add_query_arg( 'untrashed', $untrashed, $redirect_to ); - if ( $deleted ) - $redirect_to = add_query_arg( 'deleted', $deleted, $redirect_to ); - if ( $trashed || $spammed ) - $redirect_to = add_query_arg( 'ids', join( ',', $comment_ids ), $redirect_to ); - - wp_safe_redirect( $redirect_to ); - exit; -} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) { - wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) ); - exit; -} - -$wp_list_table->prepare_items(); - -wp_enqueue_script('admin-comments'); -enqueue_comment_hotkeys_js(); - -if ( $post_id ) - $title = sprintf( __( 'Comments on “%s”' ), wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ) ); -else - $title = __('Comments'); - -add_screen_option( 'per_page', array('label' => _x( 'Comments', 'comments per page (screen options)' )) ); - -get_current_screen()->add_help_tab( array( -'id' => 'overview', -'title' => __('Overview'), -'content' => - '

' . __( 'You can manage comments made on your site similar to the way you manage posts and other content. This screen is customizable in the same ways as other management screens, and you can act on comments using the on-hover action links or the Bulk Actions.' ) . '

' -) ); -get_current_screen()->add_help_tab( array( -'id' => 'moderating-comments', -'title' => __('Moderating Comments'), -'content' => - '

' . __( 'A red bar on the left means the comment is waiting for you to moderate it.' ) . '

' . - '

' . __( 'In the Author column, in addition to the author’s name, email address, and blog URL, the commenter’s IP address is shown. Clicking on this link will show you all the comments made from this IP address.' ) . '

' . - '

' . __( 'In the Comment column, above each comment it says “Submitted on,” followed by the date and time the comment was left on your site. Clicking on the date/time link will take you to that comment on your live site. Hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.' ) . '

' . - '

' . __( 'In the In Response To column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The View Post link leads to that post on your live site. The small bubble with the number in it shows the number of approved comments that post has received. If the bubble is gray, you have moderated all comments for that post. If it is blue, there are pending comments. Clicking the bubble will filter the comments screen to show only comments on that post.' ) . '

' . - '

' . __( 'Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link to the side to learn more.' ) . '

' -) ); - -get_current_screen()->set_help_sidebar( - '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Comments' ) . '

' . - '

' . __( 'Documentation on Comment Spam' ) . '

' . - '

' . __( 'Documentation on Keyboard Shortcuts' ) . '

' . - '

' . __( 'Support Forums' ) . '

' -); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
-

%s', - get_edit_post_link( $post_id ), - wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ) - ) - ); -else - echo __('Comments'); - -if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) - echo '' . sprintf( __( 'Search results for “%s”' ), wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '…' ) ) . ''; ?> -

- -

' . $error_msg . '

'; -} - -if ( isset($_REQUEST['approved']) || isset($_REQUEST['deleted']) || isset($_REQUEST['trashed']) || isset($_REQUEST['untrashed']) || isset($_REQUEST['spammed']) || isset($_REQUEST['unspammed']) || isset($_REQUEST['same']) ) { - $approved = isset( $_REQUEST['approved'] ) ? (int) $_REQUEST['approved'] : 0; - $deleted = isset( $_REQUEST['deleted'] ) ? (int) $_REQUEST['deleted'] : 0; - $trashed = isset( $_REQUEST['trashed'] ) ? (int) $_REQUEST['trashed'] : 0; - $untrashed = isset( $_REQUEST['untrashed'] ) ? (int) $_REQUEST['untrashed'] : 0; - $spammed = isset( $_REQUEST['spammed'] ) ? (int) $_REQUEST['spammed'] : 0; - $unspammed = isset( $_REQUEST['unspammed'] ) ? (int) $_REQUEST['unspammed'] : 0; - $same = isset( $_REQUEST['same'] ) ? (int) $_REQUEST['same'] : 0; - - if ( $approved > 0 || $deleted > 0 || $trashed > 0 || $untrashed > 0 || $spammed > 0 || $unspammed > 0 || $same > 0 ) { - if ( $approved > 0 ) - $messages[] = sprintf( _n( '%s comment approved', '%s comments approved', $approved ), $approved ); - - if ( $spammed > 0 ) { - $ids = isset($_REQUEST['ids']) ? $_REQUEST['ids'] : 0; - $messages[] = sprintf( _n( '%s comment marked as spam.', '%s comments marked as spam.', $spammed ), $spammed ) . ' ' . __('Undo') . '
'; - } - - if ( $unspammed > 0 ) - $messages[] = sprintf( _n( '%s comment restored from the spam', '%s comments restored from the spam', $unspammed ), $unspammed ); - - if ( $trashed > 0 ) { - $ids = isset($_REQUEST['ids']) ? $_REQUEST['ids'] : 0; - $messages[] = sprintf( _n( '%s comment moved to the Trash.', '%s comments moved to the Trash.', $trashed ), $trashed ) . ' ' . __('Undo') . '
'; - } - - if ( $untrashed > 0 ) - $messages[] = sprintf( _n( '%s comment restored from the Trash', '%s comments restored from the Trash', $untrashed ), $untrashed ); - - if ( $deleted > 0 ) - $messages[] = sprintf( _n( '%s comment permanently deleted', '%s comments permanently deleted', $deleted ), $deleted ); - - if ( $same > 0 && $comment = get_comment( $same ) ) { - switch ( $comment->comment_approved ) { - case '1' : - $messages[] = __('This comment is already approved.') . ' ' . __( 'Edit comment' ) . ''; - break; - case 'trash' : - $messages[] = __( 'This comment is already in the Trash.' ) . ' ' . __( 'View Trash' ) . ''; - break; - case 'spam' : - $messages[] = __( 'This comment is already marked as spam.' ) . ' ' . __( 'Edit comment' ) . ''; - break; - } - } - - echo '

' . implode( "
\n", $messages ) . '

'; - } -} -?> - -views(); ?> - -
- -search_box( __( 'Search Comments' ), 'comment' ); ?> - - - - - - - - - - - - - - - -display(); ?> -
-
- -
- - diff --git a/sources/wordpress/wp-admin/edit-form-advanced.php b/sources/wordpress/wp-admin/edit-form-advanced.php deleted file mode 100644 index ebda7a3..0000000 --- a/sources/wordpress/wp-admin/edit-form-advanced.php +++ /dev/null @@ -1,636 +0,0 @@ -post_mime_type ) { - if ( 0 === strpos( $post->post_mime_type, 'audio/' ) ) { - $thumbnail_support = post_type_supports( 'attachment:audio', 'thumbnail' ) || current_theme_supports( 'post-thumbnails', 'attachment:audio' ); - } elseif ( 0 === strpos( $post->post_mime_type, 'video/' ) ) { - $thumbnail_support = post_type_supports( 'attachment:video', 'thumbnail' ) || current_theme_supports( 'post-thumbnails', 'attachment:video' ); - } -} - -if ( $thumbnail_support ) { - add_thickbox(); - wp_enqueue_media( array( 'post' => $post_ID ) ); -} - -// Add the local autosave notice HTML -add_action( 'admin_footer', '_local_storage_notice' ); - -/* - * @todo Document the $messages array(s). - */ -$messages = array(); -$messages['post'] = array( - 0 => '', // Unused. Messages start at index 1. - 1 => sprintf( __('Post updated. View post'), esc_url( get_permalink($post_ID) ) ), - 2 => __('Custom field updated.'), - 3 => __('Custom field deleted.'), - 4 => __('Post updated.'), - /* translators: %s: date and time of the revision */ - 5 => isset($_GET['revision']) ? sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, - 6 => sprintf( __('Post published. View post'), esc_url( get_permalink($post_ID) ) ), - 7 => __('Post saved.'), - 8 => sprintf( __('Post submitted. Preview post'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ), - 9 => sprintf( __('Post scheduled for: %1$s. Preview post'), - /* translators: Publish box date format, see http://php.net/date */ - date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post_ID) ) ), - 10 => sprintf( __('Post draft updated. Preview post'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ), -); -$messages['page'] = array( - 0 => '', // Unused. Messages start at index 1. - 1 => sprintf( __('Page updated. View page'), esc_url( get_permalink($post_ID) ) ), - 2 => __('Custom field updated.'), - 3 => __('Custom field deleted.'), - 4 => __('Page updated.'), - 5 => isset($_GET['revision']) ? sprintf( __('Page restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, - 6 => sprintf( __('Page published. View page'), esc_url( get_permalink($post_ID) ) ), - 7 => __('Page saved.'), - 8 => sprintf( __('Page submitted. Preview page'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ), - 9 => sprintf( __('Page scheduled for: %1$s. Preview page'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post_ID) ) ), - 10 => sprintf( __('Page draft updated. Preview page'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ), -); -$messages['attachment'] = array_fill( 1, 10, __( 'Media attachment updated.' ) ); // Hack, for now. - -/** - * Filter the post updated messages. - * - * @since 3.0.0 - * - * @param array $messages Post updated messages. For defaults @see $messages declarations above. - */ -$messages = apply_filters( 'post_updated_messages', $messages ); - -$message = false; -if ( isset($_GET['message']) ) { - $_GET['message'] = absint( $_GET['message'] ); - if ( isset($messages[$post_type][$_GET['message']]) ) - $message = $messages[$post_type][$_GET['message']]; - elseif ( !isset($messages[$post_type]) && isset($messages['post'][$_GET['message']]) ) - $message = $messages['post'][$_GET['message']]; -} - -$notice = false; -$form_extra = ''; -if ( 'auto-draft' == $post->post_status ) { - if ( 'edit' == $action ) - $post->post_title = ''; - $autosave = false; - $form_extra .= ""; -} else { - $autosave = wp_get_post_autosave( $post_ID ); -} - -$form_action = 'editpost'; -$nonce_action = 'update-post_' . $post_ID; -$form_extra .= ""; - -// Detect if there exists an autosave newer than the post and if that autosave is different than the post -if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) { - foreach ( _wp_post_revision_fields() as $autosave_field => $_autosave_field ) { - if ( normalize_whitespace( $autosave->$autosave_field ) != normalize_whitespace( $post->$autosave_field ) ) { - $notice = sprintf( __( 'There is an autosave of this post that is more recent than the version below. View the autosave' ), get_edit_post_link( $autosave->ID ) ); - break; - } - } - // If this autosave isn't different from the current post, begone. - if ( ! $notice ) - wp_delete_post_revision( $autosave->ID ); - unset($autosave_field, $_autosave_field); -} - -$post_type_object = get_post_type_object($post_type); - -// All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action). -require_once( ABSPATH . 'wp-admin/includes/meta-boxes.php' ); - - -$publish_callback_args = null; -if ( post_type_supports($post_type, 'revisions') && 'auto-draft' != $post->post_status ) { - $revisions = wp_get_post_revisions( $post_ID ); - - // We should aim to show the revisions metabox only when there are revisions. - if ( count( $revisions ) > 1 ) { - reset( $revisions ); // Reset pointer for key() - $publish_callback_args = array( 'revisions_count' => count( $revisions ), 'revision_id' => key( $revisions ) ); - add_meta_box('revisionsdiv', __('Revisions'), 'post_revisions_meta_box', null, 'normal', 'core'); - } -} - -if ( 'attachment' == $post_type ) { - wp_enqueue_script( 'image-edit' ); - wp_enqueue_style( 'imgareaselect' ); - add_meta_box( 'submitdiv', __('Save'), 'attachment_submit_meta_box', null, 'side', 'core' ); - add_action( 'edit_form_after_title', 'edit_form_image_editor' ); - - if ( 0 === strpos( $post->post_mime_type, 'audio/' ) ) { - add_meta_box( 'attachment-id3', __( 'Metadata' ), 'attachment_id3_data_meta_box', null, 'normal', 'core' ); - } -} else { - add_meta_box( 'submitdiv', __( 'Publish' ), 'post_submit_meta_box', null, 'side', 'core', $publish_callback_args ); -} - -if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post_type, 'post-formats' ) ) - add_meta_box( 'formatdiv', _x( 'Format', 'post format' ), 'post_format_meta_box', null, 'side', 'core' ); - -// all taxonomies -foreach ( get_object_taxonomies( $post ) as $tax_name ) { - $taxonomy = get_taxonomy( $tax_name ); - if ( ! $taxonomy->show_ui || false === $taxonomy->meta_box_cb ) - continue; - - $label = $taxonomy->labels->name; - - if ( ! is_taxonomy_hierarchical( $tax_name ) ) - $tax_meta_box_id = 'tagsdiv-' . $tax_name; - else - $tax_meta_box_id = $tax_name . 'div'; - - add_meta_box( $tax_meta_box_id, $label, $taxonomy->meta_box_cb, null, 'side', 'core', array( 'taxonomy' => $tax_name ) ); -} - -if ( post_type_supports($post_type, 'page-attributes') ) - add_meta_box('pageparentdiv', 'page' == $post_type ? __('Page Attributes') : __('Attributes'), 'page_attributes_meta_box', null, 'side', 'core'); - -if ( $thumbnail_support && current_user_can( 'upload_files' ) ) - add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', null, 'side', 'low'); - -if ( post_type_supports($post_type, 'excerpt') ) - add_meta_box('postexcerpt', __('Excerpt'), 'post_excerpt_meta_box', null, 'normal', 'core'); - -if ( post_type_supports($post_type, 'trackbacks') ) - add_meta_box('trackbacksdiv', __('Send Trackbacks'), 'post_trackback_meta_box', null, 'normal', 'core'); - -if ( post_type_supports($post_type, 'custom-fields') ) - add_meta_box('postcustom', __('Custom Fields'), 'post_custom_meta_box', null, 'normal', 'core'); - -/** - * Fires in the middle of built-in meta box registration. - * - * @since 2.1.0 - * @deprecated 3.7.0 Use 'add_meta_boxes' instead. - * - * @param WP_Post $post Post object. - */ -do_action( 'dbx_post_advanced', $post ); - -if ( post_type_supports($post_type, 'comments') ) - add_meta_box('commentstatusdiv', __('Discussion'), 'post_comment_status_meta_box', null, 'normal', 'core'); - -if ( ( 'publish' == get_post_status( $post ) || 'private' == get_post_status( $post ) ) && post_type_supports($post_type, 'comments') ) - add_meta_box('commentsdiv', __('Comments'), 'post_comment_meta_box', null, 'normal', 'core'); - -if ( ! ( 'pending' == get_post_status( $post ) && ! current_user_can( $post_type_object->cap->publish_posts ) ) ) - add_meta_box('slugdiv', __('Slug'), 'post_slug_meta_box', null, 'normal', 'core'); - -if ( post_type_supports($post_type, 'author') ) { - if ( is_super_admin() || current_user_can( $post_type_object->cap->edit_others_posts ) ) - add_meta_box('authordiv', __('Author'), 'post_author_meta_box', null, 'normal', 'core'); -} - -/** - * Fires after all built-in meta boxes have been added. - * - * @since 3.0.0 - * - * @param string $post_type Post type. - * @param WP_Post $post Post object. - */ -do_action( 'add_meta_boxes', $post_type, $post ); - -/** - * Fires after all built-in meta boxes have been added, contextually for the given post type. - * - * The dynamic portion of the hook, $post_type, refers to the post type of the post. - * - * @since 3.0.0 - * - * @param WP_Post $post Post object. - */ -do_action( 'add_meta_boxes_' . $post_type, $post ); - -/** - * Fires after meta boxes have been added. - * - * Fires once for each of the default meta box contexts: normal, advanced, and side. - * - * @since 3.0.0 - * - * @param string $post_type Post type of the post. - * @param string $context string Meta box context. - * @param WP_Post $post Post object. - */ -do_action( 'do_meta_boxes', $post_type, 'normal', $post ); -/** This action is documented in wp-admin/edit-form-advanced.php */ -do_action( 'do_meta_boxes', $post_type, 'advanced', $post ); -/** This action is documented in wp-admin/edit-form-advanced.php */ -do_action( 'do_meta_boxes', $post_type, 'side', $post ); - -add_screen_option('layout_columns', array('max' => 2, 'default' => 2) ); - -if ( 'post' == $post_type ) { - $customize_display = '

' . __('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop. You can also minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.') . '

'; - - get_current_screen()->add_help_tab( array( - 'id' => 'customize-display', - 'title' => __('Customizing This Display'), - 'content' => $customize_display, - ) ); - - $title_and_editor = '

' . __('Title - Enter a title for your post. After you enter a title, you’ll see the permalink below, which you can edit.') . '

'; - $title_and_editor .= '

' . __('Post editor - Enter the text for your post. There are two modes of editing: Visual and Text. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. The Text mode allows you to enter HTML along with your post text. Line breaks will be converted to paragraphs automatically. You can insert media files by clicking the icons above the post editor and following the directions. You can go to the distraction-free writing screen via the Fullscreen icon in Visual mode (second to last in the top row) or the Fullscreen button in Text mode (last in the row). Once there, you can make buttons visible by hovering over the top area. Exit Fullscreen back to the regular post editor.') . '

'; - $title_and_editor .= '

' . __( 'Keyboard users: When you’re working in the visual editor, you can use Alt + F10 to access the toolbar.' ) . '

'; - - get_current_screen()->add_help_tab( array( - 'id' => 'title-post-editor', - 'title' => __('Title and Post Editor'), - 'content' => $title_and_editor, - ) ); - - get_current_screen()->set_help_sidebar( - '

' . sprintf(__('You can also create posts with the Press This bookmarklet.'), 'options-writing.php') . '

' . - '

' . __('For more information:') . '

' . - '

' . __('Documentation on Writing and Editing Posts') . '

' . - '

' . __('Support Forums') . '

' - ); -} elseif ( 'page' == $post_type ) { - $about_pages = '

' . __('Pages are similar to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the “Parent” of the other, creating a group of Pages.') . '

' . - '

' . __('Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the distraction-free writing space, available in both the Visual and Text modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box:') . '

'; - - get_current_screen()->add_help_tab( array( - 'id' => 'about-pages', - 'title' => __('About Pages'), - 'content' => $about_pages, - ) ); - - get_current_screen()->set_help_sidebar( - '

' . __('For more information:') . '

' . - '

' . __('Documentation on Adding New Pages') . '

' . - '

' . __('Documentation on Editing Pages') . '

' . - '

' . __('Support Forums') . '

' - ); -} elseif ( 'attachment' == $post_type ) { - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

' . __('This screen allows you to edit four fields for metadata in a file within the media library.') . '

' . - '

' . __('For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.') . '

' . - '

' . __('Note that you crop the image by clicking on it (the Crop icon is already selected) and dragging the cropping frame to select the desired part. Then click Save to retain the cropping.') . '

' . - '

' . __('Remember to click Update Media to save metadata entered or changed.') . '

' - ) ); - - get_current_screen()->set_help_sidebar( - '

' . __('For more information:') . '

' . - '

' . __('Documentation on Edit Media') . '

' . - '

' . __('Support Forums') . '

' - ); -} - -if ( 'post' == $post_type || 'page' == $post_type ) { - $inserting_media = '

' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the “Create a new gallery” button.' ) . '

'; - $inserting_media .= '

' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. Please refer to the Codex to learn more about embeds.' ) . '

'; - - get_current_screen()->add_help_tab( array( - 'id' => 'inserting-media', - 'title' => __( 'Inserting Media' ), - 'content' => $inserting_media, - ) ); -} - -if ( 'post' == $post_type ) { - $publish_box = '

' . __('Several boxes on this screen contain settings for how your content will be published, including:') . '

'; - $publish_box .= '
  • ' . __('Publish - You can set the terms of publishing your post in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a post or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a post to be published in the future or backdate a post.') . '
  • '; - - if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) { - $publish_box .= '
  • ' . __( 'Format - Post Formats designate how your theme will display a specific post. For example, you could have a standard blog post with a title and paragraphs, or a short aside that omits the title and contains a short text blurb. Please refer to the Codex for descriptions of each post format. Your theme could enable all or some of 10 possible formats.' ) . '
  • '; - } - - if ( current_theme_supports( 'post-thumbnails' ) && post_type_supports( 'post', 'thumbnail' ) ) { - $publish_box .= '
  • ' . __('Featured Image - This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the featured image as a post thumbnail on the home page, a custom header, etc.') . '
  • '; - } - - $publish_box .= '
'; - - get_current_screen()->add_help_tab( array( - 'id' => 'publish-box', - 'title' => __('Publish Settings'), - 'content' => $publish_box, - ) ); - - $discussion_settings = '

' . __('Send Trackbacks - Trackbacks are a way to notify legacy blog systems that you’ve linked to them. Enter the URL(s) you want to send trackbacks. If you link to other WordPress sites they’ll be notified automatically using pingbacks, and this field is unnecessary.') . '

'; - $discussion_settings .= '

' . __('Discussion - You can turn comments and pings on or off, and if there are comments on the post, you can see them here and moderate them.') . '

'; - - get_current_screen()->add_help_tab( array( - 'id' => 'discussion-settings', - 'title' => __('Discussion Settings'), - 'content' => $discussion_settings, - ) ); -} elseif ( 'page' == $post_type ) { - $page_attributes = '

' . __('Parent - You can arrange your pages in hierarchies. For example, you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how many levels you can nest pages.') . '

' . - '

' . __('Template - Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them in this dropdown menu.') . '

' . - '

' . __('Order - Pages are usually ordered alphabetically, but you can choose your own order by entering a number (1 for first, etc.) in this field.') . '

'; - - get_current_screen()->add_help_tab( array( - 'id' => 'page-attributes', - 'title' => __('Page Attributes'), - 'content' => $page_attributes, - ) ); -} - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
-

cap->create_posts ) ) - echo ' ' . esc_html( $post_type_object->labels->add_new ) . ''; -?>

- -

- - -

- - - tag. - * - * @since 3.0.0 - * - * @param WP_Post $post Post object. - */ -?> -
> - - - - - - - - - - - - - - -
-
-
- - -
-
- - - -
-
-public ? get_sample_permalink_html($post->ID) : ''; -$shortlink = wp_get_shortlink($post->ID, 'post'); -$permalink = get_permalink( $post->ID ); -if ( !empty( $shortlink ) && $shortlink !== $permalink && $permalink !== home_url('?page_id=' . $post->ID) ) - $sample_permalink_html .= '' . __('Get Shortlink') . ''; - -if ( $post_type_object->public && ! ( 'pending' == get_post_status( $post ) && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { - $has_sample_permalink = $sample_permalink_html && 'auto-draft' != $post->post_status; -?> -
- -
- -
- -
- -
- -post_content, 'content', array( - 'dfw' => true, - 'drag_drop_upload' => true, - 'tabfocus_elements' => 'insert-media-button,save-post', - 'editor_height' => 300, - 'tinymce' => array( - 'resize' => false, - 'wp_autoresize_on' => $_wp_editor_expand, - 'add_unload_trigger' => false, - ), -) ); ?> - - - - -
0' ); ?> -   -post_status ) { - echo ''; - if ( $last_user = get_userdata( get_post_meta( $post_ID, '_edit_last', true ) ) ) { - printf(__('Last edited by %1$s on %2$s at %3$s'), esc_html( $last_user->display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); - } else { - printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); - } - echo ''; - } ?> -
- -
- -
- -
- -
-
- -
- -
-
-
-
-
- - - -post_title ) : ?> - - diff --git a/sources/wordpress/wp-admin/edit-form-comment.php b/sources/wordpress/wp-admin/edit-form-comment.php deleted file mode 100644 index b2950f7..0000000 --- a/sources/wordpress/wp-admin/edit-form-comment.php +++ /dev/null @@ -1,160 +0,0 @@ - -
-comment_ID) ?> -
-

- -
- - - - - -
-
-
-

-
- - - - - - - - - - - - - - - -
- comment_author_email ) { - printf( __( 'E-mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) ); - } else { - _e( 'E-mail:' ); - } -?>
- comment_author_url ) && 'http://' != $comment->comment_author_url ) { - $link = '' . __('visit site') . ''; - /** This filter is documented in wp-includes/comment-template.php */ - printf( __( 'URL (%s):' ), apply_filters( 'get_comment_author_link', $link ) ); - } else { - _e( 'URL:' ); - } ?>
-
-
-
- -
- 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); - wp_editor( $comment->comment_content, 'content', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) ); - wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> -
-
- -
-
-

-
-
-
- -
-
- -
-
-
- -
- -
-
-
- -
- - -
- -
- - -
-%1$s'); -$date = date_i18n( $datef, strtotime( $comment->comment_date ) ); -?> -  -
-
-
-
-
- -
-
-comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "\n"; ?> -
-
- -
-
-
-
-
-
-
- -
- -
- - - - - - - -
-
-
-
- - diff --git a/sources/wordpress/wp-admin/edit-link-form.php b/sources/wordpress/wp-admin/edit-link-form.php deleted file mode 100644 index 610240a..0000000 --- a/sources/wordpress/wp-admin/edit-link-form.php +++ /dev/null @@ -1,150 +0,0 @@ -Links / Edit Link' ), 'link-manager.php' ); - $submit_text = __('Update Link'); - $form_name = 'editlink'; - $nonce_action = 'update-bookmark_' . $link_id; -} else { - $heading = sprintf( __( 'Links / Add New Link' ), 'link-manager.php' ); - $submit_text = __('Add Link'); - $form_name = 'addlink'; - $nonce_action = 'add-bookmark'; -} - -require_once( ABSPATH . 'wp-admin/includes/meta-boxes.php' ); - -add_meta_box('linksubmitdiv', __('Save'), 'link_submit_meta_box', null, 'side', 'core'); -add_meta_box('linkcategorydiv', __('Categories'), 'link_categories_meta_box', null, 'normal', 'core'); -add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', null, 'normal', 'core'); -add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', null, 'normal', 'core'); -add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', null, 'normal', 'core'); - -/** This action is documented in wp-admin/edit-form-advanced.php */ -do_action( 'add_meta_boxes', 'link', $link ); - -/** - * Fires when link-specific meta boxes are added. - * - * @since 3.0.0 - * - * @param object $link Link object. - */ -do_action( 'add_meta_boxes_link', $link ); - -/** This action is documented in wp-admin/edit-form-advanced.php */ -do_action( 'do_meta_boxes', 'link', 'normal', $link ); -/** This action is documented in wp-admin/edit-form-advanced.php */ -do_action( 'do_meta_boxes', 'link', 'advanced', $link ); -/** This action is documented in wp-admin/edit-form-advanced.php */ -do_action( 'do_meta_boxes', 'link', 'side', $link ); - -add_screen_option('layout_columns', array('max' => 2, 'default' => 2) ); - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link’s web address and name (the text you want to display on your site as the link) are required fields.' ) . '

' . - '

' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '

' . - '

' . __( 'XFN stands for XHTML Friends Network, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '

' -) ); - -get_current_screen()->set_help_sidebar( - '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Creating Links' ) . '

' . - '

' . __( 'Support Forums' ) . '

' -); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
-

- - -

- - -
- - -
- -
-
-
-

-
- -

-
-
- -
-

-
- -

http://wordpress.org/ — don’t forget the http://'); ?>

-
-
- -
-

-
- -

-
-
-
- -
- -
-
- -
- - - - - - - - -
-
- -
-
diff --git a/sources/wordpress/wp-admin/edit-tag-form.php b/sources/wordpress/wp-admin/edit-tag-form.php deleted file mode 100644 index 9d5ceb5..0000000 --- a/sources/wordpress/wp-admin/edit-tag-form.php +++ /dev/null @@ -1,204 +0,0 @@ - -

- - -
-

labels->edit_item; ?>

-
- -
> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

-

- 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude_tree' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?> - -

- -

-
- -
-
- diff --git a/sources/wordpress/wp-admin/edit-tags.php b/sources/wordpress/wp-admin/edit-tags.php deleted file mode 100644 index 953f6f4..0000000 --- a/sources/wordpress/wp-admin/edit-tags.php +++ /dev/null @@ -1,592 +0,0 @@ -cap->manage_terms ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - -$wp_list_table = _get_list_table('WP_Terms_List_Table'); -$pagenum = $wp_list_table->get_pagenum(); - -$title = $tax->labels->name; - -if ( 'post' != $post_type ) { - $parent_file = ( 'attachment' == $post_type ) ? 'upload.php' : "edit.php?post_type=$post_type"; - $submenu_file = "edit-tags.php?taxonomy=$taxonomy&post_type=$post_type"; -} else if ( 'link_category' == $tax->name ) { - $parent_file = 'link-manager.php'; - $submenu_file = 'edit-tags.php?taxonomy=link_category'; -} else { - $parent_file = 'edit.php'; - $submenu_file = "edit-tags.php?taxonomy=$taxonomy"; -} - -add_screen_option( 'per_page', array( 'label' => $title, 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page' ) ); - -switch ( $wp_list_table->current_action() ) { - -case 'add-tag': - - check_admin_referer( 'add-tag', '_wpnonce_add-tag' ); - - if ( !current_user_can( $tax->cap->edit_terms ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - - $ret = wp_insert_term( $_POST['tag-name'], $taxonomy, $_POST ); - $location = 'edit-tags.php?taxonomy=' . $taxonomy; - if ( 'post' != $post_type ) - $location .= '&post_type=' . $post_type; - - if ( $referer = wp_get_original_referer() ) { - if ( false !== strpos( $referer, 'edit-tags.php' ) ) - $location = $referer; - } - - if ( $ret && !is_wp_error( $ret ) ) - $location = add_query_arg( 'message', 1, $location ); - else - $location = add_query_arg( 'message', 4, $location ); - wp_redirect( $location ); - exit; - -case 'delete': - $location = 'edit-tags.php?taxonomy=' . $taxonomy; - if ( 'post' != $post_type ) - $location .= '&post_type=' . $post_type; - if ( $referer = wp_get_referer() ) { - if ( false !== strpos( $referer, 'edit-tags.php' ) ) - $location = $referer; - } - - if ( !isset( $_REQUEST['tag_ID'] ) ) { - wp_redirect( $location ); - exit; - } - - $tag_ID = (int) $_REQUEST['tag_ID']; - check_admin_referer( 'delete-tag_' . $tag_ID ); - - if ( !current_user_can( $tax->cap->delete_terms ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - - wp_delete_term( $tag_ID, $taxonomy ); - - $location = add_query_arg( 'message', 2, $location ); - wp_redirect( $location ); - exit; - -case 'bulk-delete': - check_admin_referer( 'bulk-tags' ); - - if ( !current_user_can( $tax->cap->delete_terms ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - - $tags = (array) $_REQUEST['delete_tags']; - foreach ( $tags as $tag_ID ) { - wp_delete_term( $tag_ID, $taxonomy ); - } - - $location = 'edit-tags.php?taxonomy=' . $taxonomy; - if ( 'post' != $post_type ) - $location .= '&post_type=' . $post_type; - if ( $referer = wp_get_referer() ) { - if ( false !== strpos( $referer, 'edit-tags.php' ) ) - $location = $referer; - } - - $location = add_query_arg( 'message', 6, $location ); - wp_redirect( $location ); - exit; - -case 'edit': - $title = $tax->labels->edit_item; - - $tag_ID = (int) $_REQUEST['tag_ID']; - - $tag = get_term( $tag_ID, $taxonomy, OBJECT, 'edit' ); - if ( ! $tag ) - wp_die( __( 'You attempted to edit an item that doesn’t exist. Perhaps it was deleted?' ) ); - require_once( ABSPATH . 'wp-admin/admin-header.php' ); - include( ABSPATH . 'wp-admin/edit-tag-form.php' ); - -break; - -case 'editedtag': - $tag_ID = (int) $_POST['tag_ID']; - check_admin_referer( 'update-tag_' . $tag_ID ); - - if ( !current_user_can( $tax->cap->edit_terms ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - - $tag = get_term( $tag_ID, $taxonomy ); - if ( ! $tag ) - wp_die( __( 'You attempted to edit an item that doesn’t exist. Perhaps it was deleted?' ) ); - - $ret = wp_update_term( $tag_ID, $taxonomy, $_POST ); - - $location = 'edit-tags.php?taxonomy=' . $taxonomy; - if ( 'post' != $post_type ) - $location .= '&post_type=' . $post_type; - - if ( $referer = wp_get_original_referer() ) { - if ( false !== strpos( $referer, 'edit-tags.php' ) ) - $location = $referer; - } - - if ( $ret && !is_wp_error( $ret ) ) - $location = add_query_arg( 'message', 3, $location ); - else - $location = add_query_arg( 'message', 5, $location ); - - wp_redirect( $location ); - exit; - -default: -if ( ! empty($_REQUEST['_wp_http_referer']) ) { - $location = remove_query_arg( array('_wp_http_referer', '_wpnonce'), wp_unslash($_SERVER['REQUEST_URI']) ); - - if ( ! empty( $_REQUEST['paged'] ) ) - $location = add_query_arg( 'paged', (int) $_REQUEST['paged'] ); - - wp_redirect( $location ); - exit; -} - -$wp_list_table->prepare_items(); -$total_pages = $wp_list_table->get_pagination_arg( 'total_pages' ); - -if ( $pagenum > $total_pages && $total_pages > 0 ) { - wp_redirect( add_query_arg( 'paged', $total_pages ) ); - exit; -} - -wp_enqueue_script('admin-tags'); -if ( current_user_can($tax->cap->edit_terms) ) - wp_enqueue_script('inline-edit-tax'); - -if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $taxonomy ) { - $help =''; - if ( 'category' == $taxonomy ) - $help = '

' . sprintf(__( 'You can use categories to define sections of your site and group related posts. The default category is “Uncategorized” until you change it in your writing settings.' ) , 'options-writing.php' ) . '

'; - elseif ( 'link_category' == $taxonomy ) - $help = '

' . __( 'You can create groups of links by using Link Categories. Link Category names must be unique and Link Categories are separate from the categories you use for posts.' ) . '

'; - else - $help = '

' . __( 'You can assign keywords to your posts using tags. Unlike categories, tags have no hierarchy, meaning there’s no relationship from one tag to another.' ) . '

'; - - if ( 'link_category' == $taxonomy ) - $help .= '

' . __( 'You can delete Link Categories in the Bulk Action pull-down, but that action does not delete the links within the category. Instead, it moves them to the default Link Category.' ) . '

'; - else - $help .='

' . __( 'What’s the difference between categories and tags? Normally, tags are ad-hoc keywords that identify important information in your post (names, subjects, etc) that may or may not recur in other posts, while categories are pre-determined sections. If you think of your site like a book, the categories are like the Table of Contents and the tags are like the terms in the index.' ) . '

'; - - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => $help, - ) ); - - if ( 'category' == $taxonomy || 'post_tag' == $taxonomy ) { - if ( 'category' == $taxonomy ) - $help = '

' . __( 'When adding a new category on this screen, you’ll fill in the following fields:' ) . '

'; - else - $help = '

' . __( 'When adding a new tag on this screen, you’ll fill in the following fields:' ) . '

'; - - $help .= '
    ' . - '
  • ' . __( 'Name - The name is how it appears on your site.' ) . '
  • '; - - if ( ! global_terms_enabled() ) - $help .= '
  • ' . __( 'Slug - The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.' ) . '
  • '; - - if ( 'category' == $taxonomy ) - $help .= '
  • ' . __( 'Parent - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have child categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '
  • '; - - $help .= '
  • ' . __( 'Description - The description is not prominent by default; however, some themes may display it.' ) . '
  • ' . - '
' . - '

' . __( 'You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.' ) . '

'; - - get_current_screen()->add_help_tab( array( - 'id' => 'adding-terms', - 'title' => 'category' == $taxonomy ? __( 'Adding Categories' ) : __( 'Adding Tags' ), - 'content' => $help, - ) ); - } - - $help = '

' . __( 'For more information:' ) . '

'; - - if ( 'category' == $taxonomy ) - $help .= '

' . __( 'Documentation on Categories' ) . '

'; - elseif ( 'link_category' == $taxonomy ) - $help .= '

' . __( 'Documentation on Link Categories' ) . '

'; - else - $help .= '

' . __( 'Documentation on Tags' ) . '

'; - - $help .= '

' . __('Support Forums') . '

'; - - get_current_screen()->set_help_sidebar( $help ); - - unset( $help ); -} - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); - -if ( !current_user_can($tax->cap->edit_terms) ) - wp_die( __('You are not allowed to edit this item.') ); - -$messages = array(); -$messages['_item'] = array( - 0 => '', // Unused. Messages start at index 1. - 1 => __( 'Item added.' ), - 2 => __( 'Item deleted.' ), - 3 => __( 'Item updated.' ), - 4 => __( 'Item not added.' ), - 5 => __( 'Item not updated.' ), - 6 => __( 'Items deleted.' ) -); -$messages['category'] = array( - 0 => '', // Unused. Messages start at index 1. - 1 => __( 'Category added.' ), - 2 => __( 'Category deleted.' ), - 3 => __( 'Category updated.' ), - 4 => __( 'Category not added.' ), - 5 => __( 'Category not updated.' ), - 6 => __( 'Categories deleted.' ) -); -$messages['post_tag'] = array( - 0 => '', // Unused. Messages start at index 1. - 1 => __( 'Tag added.' ), - 2 => __( 'Tag deleted.' ), - 3 => __( 'Tag updated.' ), - 4 => __( 'Tag not added.' ), - 5 => __( 'Tag not updated.' ), - 6 => __( 'Tags deleted.' ) -); - -/** - * Filter the messages displayed when a tag is updated. - * - * @since 3.7.0 - * - * @param array $messages The messages to be displayed. - */ -$messages = apply_filters( 'term_updated_messages', $messages ); - -$message = false; -if ( isset( $_REQUEST['message'] ) && ( $msg = (int) $_REQUEST['message'] ) ) { - if ( isset( $messages[ $taxonomy ][ $msg ] ) ) - $message = $messages[ $taxonomy ][ $msg ]; - elseif ( ! isset( $messages[ $taxonomy ] ) && isset( $messages['_item'][ $msg ] ) ) - $message = $messages['_item'][ $msg ]; -} - -?> - -
-

' . __('Search results for “%s”') . '', esc_html( wp_unslash($_REQUEST['s']) ) ); ?> -

- - -

- -
- -
- - - -search_box( $tax->labels->search_items, 'tag' ); ?> - -
-
- -
- -
-
-
- - - -display(); ?> - -
-
- - -
-

- Note:
Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category %s.' ), apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) ); - ?> -

- -

category to tag converter.'), 'import.php') ?>

- -
- -
-

tag to category converter.'), 'import.php') ;?>

-
- - -
-
- -
-
- -labels->popular_items ) ) { - if ( current_user_can( $tax->cap->edit_terms ) ) - $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'post_type' => $post_type, 'echo' => false, 'link' => 'edit' ) ); - else - $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'echo' => false ) ); - - if ( $tag_cloud ) : - ?> -
-

labels->popular_items; ?>

- -
-cap->edit_terms) ) { - if ( 'category' == $taxonomy ) { - /** - * Fires before the Add Category form. - * - * @since 2.1.0 - * @deprecated 3.0.0 Use {$taxonomy}_pre_add_form instead. - * - * @param object $arg Optional arguments cast to an object. - */ - do_action( 'add_category_form_pre', (object) array( 'parent' => 0 ) ); - } elseif ( 'link_category' == $taxonomy ) { - /** - * Fires before the link category form. - * - * @since 2.3.0 - * @deprecated 3.0.0 Use {$taxonomy}_pre_add_form instead. - * - * @param object $arg Optional arguments cast to an object. - */ - do_action( 'add_link_category_form_pre', (object) array( 'parent' => 0 ) ); - } else { - /** - * Fires before the Add Tag form. - * - * @since 2.5.0 - * @deprecated 3.0.0 Use {$taxonomy}_pre_add_form instead. - * - * @param string $taxonomy The taxonomy slug. - */ - do_action( 'add_tag_form_pre', $taxonomy ); - } - - /** - * Fires before the Add Term form for all taxonomies. - * - * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug. - * - * @since 3.0.0 - * - * @param string $taxonomy The taxonomy slug. - */ - do_action( "{$taxonomy}_pre_add_form", $taxonomy ); -?> - -
-

labels->add_new_item; ?>

- -
> - - - - - - -
- - -

-
- -
- - -

-
- - -
- - 0, - 'hide_if_empty' => false, - 'taxonomy' => $taxonomy, - 'name' => 'parent', - 'orderby' => 'name', - 'hierarchical' => true, - 'show_option_none' => __( 'None' ), - ); - - /** - * Filter the taxonomy parent drop-down on the Edit Term page. - * - * @since 3.7.0 - * - * @param array $dropdown_args { - * An array of taxonomy parent drop-down arguments. - * - * @type int|bool $hide_empty Whether to hide terms not attached to any posts. Default 0|false. - * @type bool $hide_if_empty Whether to hide the drop-down if no terms exist. Default false. - * @type string $taxonomy The taxonomy slug. - * @type string $name Value of the name attribute to use for the drop-down select element. - * Default 'parent'. - * @type string $orderby The field to order by. Default 'name'. - * @type bool $hierarchical Whether the taxonomy is hierarchical. Default true. - * @type string $show_option_none Label to display if there are no terms. Default 'None'. - * } - * @param string $taxonomy The taxonomy slug. - */ - $dropdown_args = apply_filters( 'taxonomy_parent_dropdown_args', $dropdown_args, $taxonomy ); - wp_dropdown_categories( $dropdown_args ); - ?> - -

- -
- -
- - -

-
- -labels->add_new_item ); - -if ( 'category' == $taxonomy ) { - /** - * Fires at the end of the Edit Category form. - * - * @since 2.1.0 - * @deprecated 3.0.0 Use {$taxonomy}_add_form instead. - * - * @param object $arg Optional arguments cast to an object. - */ - do_action( 'edit_category_form', (object) array( 'parent' => 0 ) ); -} elseif ( 'link_category' == $taxonomy ) { - /** - * Fires at the end of the Edit Link form. - * - * @since 2.3.0 - * @deprecated 3.0.0 Use {$taxonomy}_add_form instead. - * - * @param object $arg Optional arguments cast to an object. - */ - do_action( 'edit_link_category_form', (object) array( 'parent' => 0 ) ); -} else { - /** - * Fires at the end of the Add Tag form. - * - * @since 2.7.0 - * @deprecated 3.0.0 Use {$taxonomy}_add_form instead. - * - * @param string $taxonomy The taxonomy slug. - */ - do_action( 'add_tag_form', $taxonomy ); -} - -/** - * Fires at the end of the Add Term form for all taxonomies. - * - * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug. - * - * @since 3.0.0 - * - * @param string $taxonomy The taxonomy slug. - */ -do_action( "{$taxonomy}_add_form", $taxonomy ); -?> -
- - -
-
- -
-
- -inline_edit(); ?> - -cap->edit_posts ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - -$wp_list_table = _get_list_table('WP_Posts_List_Table'); -$pagenum = $wp_list_table->get_pagenum(); - -// Back-compat for viewing comments of an entry -foreach ( array( 'p', 'attachment_id', 'page_id' ) as $_redirect ) { - if ( ! empty( $_REQUEST[ $_redirect ] ) ) { - wp_redirect( admin_url( 'edit-comments.php?p=' . absint( $_REQUEST[ $_redirect ] ) ) ); - exit; - } -} -unset( $_redirect ); - -if ( 'post' != $post_type ) { - $parent_file = "edit.php?post_type=$post_type"; - $submenu_file = "edit.php?post_type=$post_type"; - $post_new_file = "post-new.php?post_type=$post_type"; -} else { - $parent_file = 'edit.php'; - $submenu_file = 'edit.php'; - $post_new_file = 'post-new.php'; -} - -$doaction = $wp_list_table->current_action(); - -if ( $doaction ) { - check_admin_referer('bulk-posts'); - - $sendback = remove_query_arg( array('trashed', 'untrashed', 'deleted', 'locked', 'ids'), wp_get_referer() ); - if ( ! $sendback ) - $sendback = admin_url( $parent_file ); - $sendback = add_query_arg( 'paged', $pagenum, $sendback ); - if ( strpos($sendback, 'post.php') !== false ) - $sendback = admin_url($post_new_file); - - if ( 'delete_all' == $doaction ) { - $post_status = preg_replace('/[^a-z0-9_-]+/i', '', $_REQUEST['post_status']); - if ( get_post_status_object($post_status) ) // Check the post status exists first - $post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_type=%s AND post_status = %s", $post_type, $post_status ) ); - $doaction = 'delete'; - } elseif ( isset( $_REQUEST['media'] ) ) { - $post_ids = $_REQUEST['media']; - } elseif ( isset( $_REQUEST['ids'] ) ) { - $post_ids = explode( ',', $_REQUEST['ids'] ); - } elseif ( !empty( $_REQUEST['post'] ) ) { - $post_ids = array_map('intval', $_REQUEST['post']); - } - - if ( !isset( $post_ids ) ) { - wp_redirect( $sendback ); - exit; - } - - switch ( $doaction ) { - case 'trash': - $trashed = $locked = 0; - - foreach( (array) $post_ids as $post_id ) { - if ( !current_user_can( 'delete_post', $post_id) ) - wp_die( __('You are not allowed to move this item to the Trash.') ); - - if ( wp_check_post_lock( $post_id ) ) { - $locked++; - continue; - } - - if ( !wp_trash_post($post_id) ) - wp_die( __('Error in moving to Trash.') ); - - $trashed++; - } - - $sendback = add_query_arg( array('trashed' => $trashed, 'ids' => join(',', $post_ids), 'locked' => $locked ), $sendback ); - break; - case 'untrash': - $untrashed = 0; - foreach( (array) $post_ids as $post_id ) { - if ( !current_user_can( 'delete_post', $post_id) ) - wp_die( __('You are not allowed to restore this item from the Trash.') ); - - if ( !wp_untrash_post($post_id) ) - wp_die( __('Error in restoring from Trash.') ); - - $untrashed++; - } - $sendback = add_query_arg('untrashed', $untrashed, $sendback); - break; - case 'delete': - $deleted = 0; - foreach( (array) $post_ids as $post_id ) { - $post_del = get_post($post_id); - - if ( !current_user_can( 'delete_post', $post_id ) ) - wp_die( __('You are not allowed to delete this item.') ); - - if ( $post_del->post_type == 'attachment' ) { - if ( ! wp_delete_attachment($post_id) ) - wp_die( __('Error in deleting.') ); - } else { - if ( !wp_delete_post($post_id) ) - wp_die( __('Error in deleting.') ); - } - $deleted++; - } - $sendback = add_query_arg('deleted', $deleted, $sendback); - break; - case 'edit': - if ( isset($_REQUEST['bulk_edit']) ) { - $done = bulk_edit_posts($_REQUEST); - - if ( is_array($done) ) { - $done['updated'] = count( $done['updated'] ); - $done['skipped'] = count( $done['skipped'] ); - $done['locked'] = count( $done['locked'] ); - $sendback = add_query_arg( $done, $sendback ); - } - } - break; - } - - $sendback = remove_query_arg( array('action', 'action2', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status', 'post', 'bulk_edit', 'post_view'), $sendback ); - - wp_redirect($sendback); - exit(); -} elseif ( ! empty($_REQUEST['_wp_http_referer']) ) { - wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), wp_unslash($_SERVER['REQUEST_URI']) ) ); - exit; -} - -$wp_list_table->prepare_items(); - -wp_enqueue_script('inline-edit-post'); - -$title = $post_type_object->labels->name; - -if ( 'post' == $post_type ) { - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

' . __('This screen provides access to all of your posts. You can customize the display of this screen to suit your workflow.') . '

' - ) ); - get_current_screen()->add_help_tab( array( - 'id' => 'screen-content', - 'title' => __('Screen Content'), - 'content' => - '

' . __('You can customize the display of this screen’s contents in a number of ways:') . '

' . - '
    ' . - '
  • ' . __('You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen Options tab.') . '
  • ' . - '
  • ' . __('You can filter the list of posts by post status using the text links in the upper left to show All, Published, Draft, or Trashed posts. The default view is to show all posts.') . '
  • ' . - '
  • ' . __('You can view posts in a simple title list or with an excerpt. Choose the view you prefer by clicking on the icons at the top of the list on the right.') . '
  • ' . - '
  • ' . __('You can refine the list to show only posts in a specific category or from a specific month by using the dropdown menus above the posts list. Click the Filter button after making your selection. You also can refine the list by clicking on the post author, category or tag in the posts list.') . '
  • ' . - '
' - ) ); - get_current_screen()->add_help_tab( array( - 'id' => 'action-links', - 'title' => __('Available Actions'), - 'content' => - '

' . __('Hovering over a row in the posts list will display action links that allow you to manage your post. You can perform the following actions:') . '

' . - '
    ' . - '
  • ' . __('Edit takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.') . '
  • ' . - '
  • ' . __('Quick Edit provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.') . '
  • ' . - '
  • ' . __('Trash removes your post from this list and places it in the trash, from which you can permanently delete it.') . '
  • ' . - '
  • ' . __('Preview will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post’s status.') . '
  • ' . - '
' - ) ); - get_current_screen()->add_help_tab( array( - 'id' => 'bulk-actions', - 'title' => __('Bulk Actions'), - 'content' => - '

' . __('You can also edit or move multiple posts to the trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.') . '

' . - '

' . __('When using Bulk Edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.') . '

' - ) ); - - get_current_screen()->set_help_sidebar( - '

' . __('For more information:') . '

' . - '

' . __('Documentation on Managing Posts') . '

' . - '

' . __('Support Forums') . '

' - ); - -} elseif ( 'page' == $post_type ) { - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

' . __('Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the “Parent” of the other, creating a group of pages.') . '

' - ) ); - get_current_screen()->add_help_tab( array( - 'id' => 'managing-pages', - 'title' => __('Managing Pages'), - 'content' => - '

' . __('Managing pages is very similar to managing posts, and the screens can be customized in the same way.') . '

' . - '

' . __('You can also perform the same types of actions, including narrowing the list by using the filters, acting on a page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple pages at once.') . '

' - ) ); - - get_current_screen()->set_help_sidebar( - '

' . __('For more information:') . '

' . - '

' . __('Documentation on Managing Pages') . '

' . - '

' . __('Support Forums') . '

' - ); -} - -add_screen_option( 'per_page', array( 'label' => $title, 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) ); - -$bulk_counts = array( - 'updated' => isset( $_REQUEST['updated'] ) ? absint( $_REQUEST['updated'] ) : 0, - 'locked' => isset( $_REQUEST['locked'] ) ? absint( $_REQUEST['locked'] ) : 0, - 'deleted' => isset( $_REQUEST['deleted'] ) ? absint( $_REQUEST['deleted'] ) : 0, - 'trashed' => isset( $_REQUEST['trashed'] ) ? absint( $_REQUEST['trashed'] ) : 0, - 'untrashed' => isset( $_REQUEST['untrashed'] ) ? absint( $_REQUEST['untrashed'] ) : 0, -); - -$bulk_messages = array(); -$bulk_messages['post'] = array( - 'updated' => _n( '%s post updated.', '%s posts updated.', $bulk_counts['updated'] ), - 'locked' => _n( '%s post not updated, somebody is editing it.', '%s posts not updated, somebody is editing them.', $bulk_counts['locked'] ), - 'deleted' => _n( '%s post permanently deleted.', '%s posts permanently deleted.', $bulk_counts['deleted'] ), - 'trashed' => _n( '%s post moved to the Trash.', '%s posts moved to the Trash.', $bulk_counts['trashed'] ), - 'untrashed' => _n( '%s post restored from the Trash.', '%s posts restored from the Trash.', $bulk_counts['untrashed'] ), -); -$bulk_messages['page'] = array( - 'updated' => _n( '%s page updated.', '%s pages updated.', $bulk_counts['updated'] ), - 'locked' => _n( '%s page not updated, somebody is editing it.', '%s pages not updated, somebody is editing them.', $bulk_counts['locked'] ), - 'deleted' => _n( '%s page permanently deleted.', '%s pages permanently deleted.', $bulk_counts['deleted'] ), - 'trashed' => _n( '%s page moved to the Trash.', '%s pages moved to the Trash.', $bulk_counts['trashed'] ), - 'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ), -); - -/** - * Filter the bulk action updated messages. - * - * By default, custom post types use the messages for the 'post' post type. - * - * @since 3.7.0 - * - * @param array $bulk_messages Arrays of messages, each keyed by the corresponding post type. Messages are - * keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'. - * @param array $bulk_counts Array of item counts for each message, used to build internationalized strings. - */ -$bulk_messages = apply_filters( 'bulk_post_updated_messages', $bulk_messages, $bulk_counts ); -$bulk_counts = array_filter( $bulk_counts ); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); -?> -
-

labels->name ); -if ( current_user_can( $post_type_object->cap->create_posts ) ) - echo ' ' . esc_html( $post_type_object->labels->add_new ) . ''; -if ( ! empty( $_REQUEST['s'] ) ) - printf( ' ' . __('Search results for “%s”') . '', get_search_query() ); -?>

- - $count ) { - if ( isset( $bulk_messages[ $post_type ][ $message ] ) ) - $messages[] = sprintf( $bulk_messages[ $post_type ][ $message ], number_format_i18n( $count ) ); - elseif ( isset( $bulk_messages['post'][ $message ] ) ) - $messages[] = sprintf( $bulk_messages['post'][ $message ], number_format_i18n( $count ) ); - - if ( $message == 'trashed' && isset( $_REQUEST['ids'] ) ) { - $ids = preg_replace( '/[^0-9,]/', '', $_REQUEST['ids'] ); - $messages[] = '' . __('Undo') . ''; - } -} - -if ( $messages ) - echo '

' . join( ' ', $messages ) . '

'; -unset( $messages ); - -$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'locked', 'skipped', 'updated', 'deleted', 'trashed', 'untrashed' ), $_SERVER['REQUEST_URI'] ); -?> - -views(); ?> - -
- -search_box( $post_type_object->labels->search_items, 'post' ); ?> - - - - - - - -display(); ?> - -
- -has_items() ) - $wp_list_table->inline_edit(); -?> - -
-
-
- - - -add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => '

' . __('You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status.') . '

' . - '

' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '

', -) ); - -get_current_screen()->set_help_sidebar( - '

' . __('For more information:') . '

' . - '

' . __('Documentation on Export') . '

' . - '

' . __('Support Forums') . '

' -); - -if ( isset( $_GET['download'] ) ) { - $args = array(); - - if ( ! isset( $_GET['content'] ) || 'all' == $_GET['content'] ) { - $args['content'] = 'all'; - } else if ( 'posts' == $_GET['content'] ) { - $args['content'] = 'post'; - - if ( $_GET['cat'] ) - $args['category'] = (int) $_GET['cat']; - - if ( $_GET['post_author'] ) - $args['author'] = (int) $_GET['post_author']; - - if ( $_GET['post_start_date'] || $_GET['post_end_date'] ) { - $args['start_date'] = $_GET['post_start_date']; - $args['end_date'] = $_GET['post_end_date']; - } - - if ( $_GET['post_status'] ) - $args['status'] = $_GET['post_status']; - } else if ( 'pages' == $_GET['content'] ) { - $args['content'] = 'page'; - - if ( $_GET['page_author'] ) - $args['author'] = (int) $_GET['page_author']; - - if ( $_GET['page_start_date'] || $_GET['page_end_date'] ) { - $args['start_date'] = $_GET['page_start_date']; - $args['end_date'] = $_GET['page_end_date']; - } - - if ( $_GET['page_status'] ) - $args['status'] = $_GET['page_status']; - } else { - $args['content'] = $_GET['content']; - } - - /** - * Filter the export args. - * - * @since 3.5.0 - * - * @param array $args The arguments to send to the exporter. - */ - $args = apply_filters( 'export_args', $args ); - - export_wp( $args ); - die(); -} - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); - -/** - * Create the date options fields for exporting a given post type. - * - * @global wpdb $wpdb WordPress database object. - * @global WP_Locale $wp_locale Date and Time Locale object. - * - * @since 3.1.0 - * - * @param string $post_type The post type. Default 'post'. - */ -function export_date_options( $post_type = 'post' ) { - global $wpdb, $wp_locale; - - $months = $wpdb->get_results( $wpdb->prepare( " - SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month - FROM $wpdb->posts - WHERE post_type = %s AND post_status != 'auto-draft' - ORDER BY post_date DESC - ", $post_type ) ); - - $month_count = count( $months ); - if ( !$month_count || ( 1 == $month_count && 0 == $months[0]->month ) ) - return; - - foreach ( $months as $date ) { - if ( 0 == $date->year ) - continue; - - $month = zeroise( $date->month, 2 ); - echo ''; - } -} -?> - -
-

- -

-

-

- -

-
- -

-

- -

-
    -
  • - - __('All') ) ); ?> -
  • -
  • - -get_col( "SELECT DISTINCT post_author FROM {$wpdb->posts} WHERE post_type = 'post'" ); - wp_dropdown_users( array( 'include' => $authors, 'name' => 'post_author', 'multi' => true, 'show_option_all' => __('All') ) ); -?> -
  • -
  • - - - -
  • -
  • - - -
  • -
- -

-
    -
  • - -get_col( "SELECT DISTINCT post_author FROM {$wpdb->posts} WHERE post_type = 'page'" ); - wp_dropdown_users( array( 'include' => $authors, 'name' => 'page_author', 'multi' => true, 'show_option_all' => __('All') ) ); -?> -
  • -
  • - - - -
  • -
  • - - -
  • -
- - false, 'can_export' => true ), 'objects' ) as $post_type ) : ?> -

- - - - - -
-
- - diff --git a/sources/wordpress/wp-admin/freedoms.php b/sources/wordpress/wp-admin/freedoms.php deleted file mode 100644 index 101c796..0000000 --- a/sources/wordpress/wp-admin/freedoms.php +++ /dev/null @@ -1,57 +0,0 @@ - -
- -

- -
- -
- - - -

license, the GPL.' ), 'https://wordpress.org/about/license/' ); ?>

- -
    -
  1. -
  2. -
  3. -
  4. -
- -

check out our trademark guidelines first.' ), 'http://wordpressfoundation.org/trademark-policy/' ); ?>

- -

plugins and themes there. If you get a plugin or theme from another source, make sure to ask them if it’s GPL first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); ?>

- -

Free Software Foundation.' ); ?>

- -
- diff --git a/sources/wordpress/wp-admin/images/align-center-2x.png b/sources/wordpress/wp-admin/images/align-center-2x.png deleted file mode 100644 index 0b62734..0000000 Binary files a/sources/wordpress/wp-admin/images/align-center-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/align-center.png b/sources/wordpress/wp-admin/images/align-center.png deleted file mode 100644 index e7bc807..0000000 Binary files a/sources/wordpress/wp-admin/images/align-center.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/align-left-2x.png b/sources/wordpress/wp-admin/images/align-left-2x.png deleted file mode 100644 index 1b2d428..0000000 Binary files a/sources/wordpress/wp-admin/images/align-left-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/align-left.png b/sources/wordpress/wp-admin/images/align-left.png deleted file mode 100644 index b438f7e..0000000 Binary files a/sources/wordpress/wp-admin/images/align-left.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/align-none-2x.png b/sources/wordpress/wp-admin/images/align-none-2x.png deleted file mode 100644 index a64a0be..0000000 Binary files a/sources/wordpress/wp-admin/images/align-none-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/align-none.png b/sources/wordpress/wp-admin/images/align-none.png deleted file mode 100644 index b72df64..0000000 Binary files a/sources/wordpress/wp-admin/images/align-none.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/align-right-2x.png b/sources/wordpress/wp-admin/images/align-right-2x.png deleted file mode 100644 index 0131505..0000000 Binary files a/sources/wordpress/wp-admin/images/align-right-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/align-right.png b/sources/wordpress/wp-admin/images/align-right.png deleted file mode 100644 index 86a1b2e..0000000 Binary files a/sources/wordpress/wp-admin/images/align-right.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/arrows-2x.png b/sources/wordpress/wp-admin/images/arrows-2x.png deleted file mode 100644 index 0b0c53d..0000000 Binary files a/sources/wordpress/wp-admin/images/arrows-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/arrows.png b/sources/wordpress/wp-admin/images/arrows.png deleted file mode 100644 index 9e4a96c..0000000 Binary files a/sources/wordpress/wp-admin/images/arrows.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/bubble_bg-2x.gif b/sources/wordpress/wp-admin/images/bubble_bg-2x.gif deleted file mode 100644 index 77ac312..0000000 Binary files a/sources/wordpress/wp-admin/images/bubble_bg-2x.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/bubble_bg.gif b/sources/wordpress/wp-admin/images/bubble_bg.gif deleted file mode 100644 index f4535c9..0000000 Binary files a/sources/wordpress/wp-admin/images/bubble_bg.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/comment-grey-bubble-2x.png b/sources/wordpress/wp-admin/images/comment-grey-bubble-2x.png deleted file mode 100644 index 0eec4a6..0000000 Binary files a/sources/wordpress/wp-admin/images/comment-grey-bubble-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/comment-grey-bubble.png b/sources/wordpress/wp-admin/images/comment-grey-bubble.png deleted file mode 100644 index 558ee8f..0000000 Binary files a/sources/wordpress/wp-admin/images/comment-grey-bubble.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/date-button-2x.gif b/sources/wordpress/wp-admin/images/date-button-2x.gif deleted file mode 100644 index 53cc417..0000000 Binary files a/sources/wordpress/wp-admin/images/date-button-2x.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/date-button.gif b/sources/wordpress/wp-admin/images/date-button.gif deleted file mode 100644 index dc40633..0000000 Binary files a/sources/wordpress/wp-admin/images/date-button.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/generic.png b/sources/wordpress/wp-admin/images/generic.png deleted file mode 100644 index 00575a0..0000000 Binary files a/sources/wordpress/wp-admin/images/generic.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/icons32-2x.png b/sources/wordpress/wp-admin/images/icons32-2x.png deleted file mode 100644 index 67893fe..0000000 Binary files a/sources/wordpress/wp-admin/images/icons32-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/icons32-vs-2x.png b/sources/wordpress/wp-admin/images/icons32-vs-2x.png deleted file mode 100644 index 512aea8..0000000 Binary files a/sources/wordpress/wp-admin/images/icons32-vs-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/icons32-vs.png b/sources/wordpress/wp-admin/images/icons32-vs.png deleted file mode 100644 index c967844..0000000 Binary files a/sources/wordpress/wp-admin/images/icons32-vs.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/icons32.png b/sources/wordpress/wp-admin/images/icons32.png deleted file mode 100644 index af061c1..0000000 Binary files a/sources/wordpress/wp-admin/images/icons32.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/imgedit-icons-2x.png b/sources/wordpress/wp-admin/images/imgedit-icons-2x.png deleted file mode 100644 index 814da5e..0000000 Binary files a/sources/wordpress/wp-admin/images/imgedit-icons-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/imgedit-icons.png b/sources/wordpress/wp-admin/images/imgedit-icons.png deleted file mode 100644 index ca0b88d..0000000 Binary files a/sources/wordpress/wp-admin/images/imgedit-icons.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/list-2x.png b/sources/wordpress/wp-admin/images/list-2x.png deleted file mode 100644 index 05c6eb3..0000000 Binary files a/sources/wordpress/wp-admin/images/list-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/list.png b/sources/wordpress/wp-admin/images/list.png deleted file mode 100644 index 85d1295..0000000 Binary files a/sources/wordpress/wp-admin/images/list.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/loading.gif b/sources/wordpress/wp-admin/images/loading.gif deleted file mode 100644 index 7df3368..0000000 Binary files a/sources/wordpress/wp-admin/images/loading.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/marker.png b/sources/wordpress/wp-admin/images/marker.png deleted file mode 100644 index 30313b8..0000000 Binary files a/sources/wordpress/wp-admin/images/marker.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/mask.png b/sources/wordpress/wp-admin/images/mask.png deleted file mode 100644 index 0fc9cbe..0000000 Binary files a/sources/wordpress/wp-admin/images/mask.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/media-button-2x.png b/sources/wordpress/wp-admin/images/media-button-2x.png deleted file mode 100644 index b8f8ed4..0000000 Binary files a/sources/wordpress/wp-admin/images/media-button-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/media-button-image.gif b/sources/wordpress/wp-admin/images/media-button-image.gif deleted file mode 100644 index d3db580..0000000 Binary files a/sources/wordpress/wp-admin/images/media-button-image.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/media-button-music.gif b/sources/wordpress/wp-admin/images/media-button-music.gif deleted file mode 100644 index c9795b3..0000000 Binary files a/sources/wordpress/wp-admin/images/media-button-music.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/media-button-other.gif b/sources/wordpress/wp-admin/images/media-button-other.gif deleted file mode 100644 index 86b9777..0000000 Binary files a/sources/wordpress/wp-admin/images/media-button-other.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/media-button-video.gif b/sources/wordpress/wp-admin/images/media-button-video.gif deleted file mode 100644 index 15fe0a4..0000000 Binary files a/sources/wordpress/wp-admin/images/media-button-video.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/media-button.png b/sources/wordpress/wp-admin/images/media-button.png deleted file mode 100644 index 752ee45..0000000 Binary files a/sources/wordpress/wp-admin/images/media-button.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/menu-2x.png b/sources/wordpress/wp-admin/images/menu-2x.png deleted file mode 100644 index 0038190..0000000 Binary files a/sources/wordpress/wp-admin/images/menu-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/menu-vs-2x.png b/sources/wordpress/wp-admin/images/menu-vs-2x.png deleted file mode 100644 index 17309fc..0000000 Binary files a/sources/wordpress/wp-admin/images/menu-vs-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/menu-vs.png b/sources/wordpress/wp-admin/images/menu-vs.png deleted file mode 100644 index afdb3d3..0000000 Binary files a/sources/wordpress/wp-admin/images/menu-vs.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/menu.png b/sources/wordpress/wp-admin/images/menu.png deleted file mode 100644 index 52189c2..0000000 Binary files a/sources/wordpress/wp-admin/images/menu.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/no.png b/sources/wordpress/wp-admin/images/no.png deleted file mode 100644 index 59c35bd..0000000 Binary files a/sources/wordpress/wp-admin/images/no.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/post-formats-vs.png b/sources/wordpress/wp-admin/images/post-formats-vs.png deleted file mode 100644 index c8e7e8d..0000000 Binary files a/sources/wordpress/wp-admin/images/post-formats-vs.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/post-formats.png b/sources/wordpress/wp-admin/images/post-formats.png deleted file mode 100644 index cae309e..0000000 Binary files a/sources/wordpress/wp-admin/images/post-formats.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/post-formats32-vs.png b/sources/wordpress/wp-admin/images/post-formats32-vs.png deleted file mode 100644 index af2c59f..0000000 Binary files a/sources/wordpress/wp-admin/images/post-formats32-vs.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/post-formats32.png b/sources/wordpress/wp-admin/images/post-formats32.png deleted file mode 100644 index ccafc80..0000000 Binary files a/sources/wordpress/wp-admin/images/post-formats32.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/resize-2x.gif b/sources/wordpress/wp-admin/images/resize-2x.gif deleted file mode 100644 index 315ea06..0000000 Binary files a/sources/wordpress/wp-admin/images/resize-2x.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/resize-rtl-2x.gif b/sources/wordpress/wp-admin/images/resize-rtl-2x.gif deleted file mode 100644 index a379ad4..0000000 Binary files a/sources/wordpress/wp-admin/images/resize-rtl-2x.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/resize-rtl.gif b/sources/wordpress/wp-admin/images/resize-rtl.gif deleted file mode 100644 index 329f93d..0000000 Binary files a/sources/wordpress/wp-admin/images/resize-rtl.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/resize.gif b/sources/wordpress/wp-admin/images/resize.gif deleted file mode 100644 index 4bff03d..0000000 Binary files a/sources/wordpress/wp-admin/images/resize.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/se.png b/sources/wordpress/wp-admin/images/se.png deleted file mode 100644 index eb487b4..0000000 Binary files a/sources/wordpress/wp-admin/images/se.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/sort-2x.gif b/sources/wordpress/wp-admin/images/sort-2x.gif deleted file mode 100644 index 1362f43..0000000 Binary files a/sources/wordpress/wp-admin/images/sort-2x.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/sort.gif b/sources/wordpress/wp-admin/images/sort.gif deleted file mode 100644 index 70b4bf9..0000000 Binary files a/sources/wordpress/wp-admin/images/sort.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/spinner-2x.gif b/sources/wordpress/wp-admin/images/spinner-2x.gif deleted file mode 100644 index 9593f3d..0000000 Binary files a/sources/wordpress/wp-admin/images/spinner-2x.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/spinner.gif b/sources/wordpress/wp-admin/images/spinner.gif deleted file mode 100644 index c15632f..0000000 Binary files a/sources/wordpress/wp-admin/images/spinner.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/stars-2x.png b/sources/wordpress/wp-admin/images/stars-2x.png deleted file mode 100644 index 15aa9de..0000000 Binary files a/sources/wordpress/wp-admin/images/stars-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/stars.png b/sources/wordpress/wp-admin/images/stars.png deleted file mode 100644 index c01ada1..0000000 Binary files a/sources/wordpress/wp-admin/images/stars.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/w-logo-blue.png b/sources/wordpress/wp-admin/images/w-logo-blue.png deleted file mode 100644 index 11e550c..0000000 Binary files a/sources/wordpress/wp-admin/images/w-logo-blue.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/w-logo-white.png b/sources/wordpress/wp-admin/images/w-logo-white.png deleted file mode 100644 index bb70f57..0000000 Binary files a/sources/wordpress/wp-admin/images/w-logo-white.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/wheel.png b/sources/wordpress/wp-admin/images/wheel.png deleted file mode 100644 index 7e53103..0000000 Binary files a/sources/wordpress/wp-admin/images/wheel.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/wordpress-logo-white.svg b/sources/wordpress/wp-admin/images/wordpress-logo-white.svg deleted file mode 100644 index c0d0ba9..0000000 --- a/sources/wordpress/wp-admin/images/wordpress-logo-white.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/sources/wordpress/wp-admin/images/wordpress-logo.png b/sources/wordpress/wp-admin/images/wordpress-logo.png deleted file mode 100644 index 63b0379..0000000 Binary files a/sources/wordpress/wp-admin/images/wordpress-logo.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/wordpress-logo.svg b/sources/wordpress/wp-admin/images/wordpress-logo.svg deleted file mode 100644 index da5e5df..0000000 --- a/sources/wordpress/wp-admin/images/wordpress-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sources/wordpress/wp-admin/images/wpspin_light-2x.gif b/sources/wordpress/wp-admin/images/wpspin_light-2x.gif deleted file mode 100644 index fe2d5c0..0000000 Binary files a/sources/wordpress/wp-admin/images/wpspin_light-2x.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/wpspin_light.gif b/sources/wordpress/wp-admin/images/wpspin_light.gif deleted file mode 100644 index 7f71727..0000000 Binary files a/sources/wordpress/wp-admin/images/wpspin_light.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/xit-2x.gif b/sources/wordpress/wp-admin/images/xit-2x.gif deleted file mode 100644 index b5ce86b..0000000 Binary files a/sources/wordpress/wp-admin/images/xit-2x.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/xit.gif b/sources/wordpress/wp-admin/images/xit.gif deleted file mode 100644 index 64cb854..0000000 Binary files a/sources/wordpress/wp-admin/images/xit.gif and /dev/null differ diff --git a/sources/wordpress/wp-admin/images/yes.png b/sources/wordpress/wp-admin/images/yes.png deleted file mode 100644 index fbb3983..0000000 Binary files a/sources/wordpress/wp-admin/images/yes.png and /dev/null differ diff --git a/sources/wordpress/wp-admin/import.php b/sources/wordpress/wp-admin/import.php deleted file mode 100644 index e6f05e0..0000000 --- a/sources/wordpress/wp-admin/import.php +++ /dev/null @@ -1,132 +0,0 @@ -add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => '

' . __('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.') . '

' . - '

' . __('In previous versions of WordPress, all importers were built-in. They have been turned into plugins since most people only use them once or infrequently.') . '

', -) ); - -get_current_screen()->set_help_sidebar( - '

' . __('For more information:') . '

' . - '

' . __('Documentation on Import') . '

' . - '

' . __('Support Forums') . '

' -); - -if ( current_user_can( 'install_plugins' ) ) - $popular_importers = wp_get_popular_importers(); -else - $popular_importers = array(); - -// Detect and redirect invalid importers like 'movabletype', which is registered as 'mt' -if ( ! empty( $_GET['invalid'] ) && isset( $popular_importers[ $_GET['invalid'] ] ) ) { - $importer_id = $popular_importers[ $_GET['invalid'] ]['importer-id']; - if ( $importer_id != $_GET['invalid'] ) { // Prevent redirect loops. - wp_redirect( admin_url( 'admin.php?import=' . $importer_id ) ); - exit; - } - unset( $importer_id ); -} - -add_thickbox(); -wp_enqueue_script( 'plugin-install' ); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); -$parent_file = 'tools.php'; -?> - -
-

- -

%s importer is invalid or is not installed.'), esc_html( $_GET['invalid'] ) ); ?>

- -

- - $pop_data ) { - if ( isset( $importers[ $pop_importer ] ) ) - continue; - if ( isset( $importers[ $pop_data['importer-id'] ] ) ) - continue; - $importers[ $pop_data['importer-id'] ] = array( $pop_data['name'], $pop_data['description'], 'install' => $pop_data['plugin-slug'] ); -} - -if ( empty( $importers ) ) { - echo '

' . __('No importers are available.') . '

'; // TODO: make more helpful -} else { - uasort( $importers, '_usort_by_first_member' ); -?> - - - $data) { - $action = ''; - if ( isset( $data['install'] ) ) { - $plugin_slug = $data['install']; - if ( file_exists( WP_PLUGIN_DIR . '/' . $plugin_slug ) ) { - // Looks like Importer is installed, But not active - $plugins = get_plugins( '/' . $plugin_slug ); - if ( !empty($plugins) ) { - $keys = array_keys($plugins); - $plugin_file = $plugin_slug . '/' . $keys[0]; - $action = '' . $data[0] . ''; - } - } - if ( empty($action) ) { - if ( is_main_site() ) { - $action = '' . $data[0] . ''; - } else { - $action = $data[0]; - $data[1] = sprintf( __( 'This importer is not installed. Please install importers from the main site.' ), get_admin_url( $current_site->blog_id, 'import.php' ) ); - } - } - } else { - $action = "{$data[0]}"; - } - - $alt = $alt ? '' : ' class="alternate"'; - echo " - - - - "; - } -?> - -
$action{$data[1]}
-' . sprintf( __('If the importer you need is not listed, search the plugin directory to see if an importer is available.'), esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) ) . '

'; -?> - -
- -id and the JS global 'pagenow'. - if ( ! empty($_POST['screen_id']) ) - $screen_id = sanitize_key($_POST['screen_id']); - else - $screen_id = 'front'; - - if ( ! empty($_POST['data']) ) { - $data = wp_unslash( (array) $_POST['data'] ); - - /** - * Filter Heartbeat AJAX response in no-privilege environments. - * - * @since 3.6.0 - * - * @param array|object $response The no-priv Heartbeat response object or array. - * @param array $data An array of data passed via $_POST. - * @param string $screen_id The screen id. - */ - $response = apply_filters( 'heartbeat_nopriv_received', $response, $data, $screen_id ); - } - - /** - * Filter Heartbeat AJAX response when no data is passed. - * - * @since 3.6.0 - * - * @param array|object $response The Heartbeat response object or array. - * @param string $screen_id The screen id. - */ - $response = apply_filters( 'heartbeat_nopriv_send', $response, $screen_id ); - - /** - * Fires when Heartbeat ticks in no-privilege environments. - * - * Allows the transport to be easily replaced with long-polling. - * - * @since 3.6.0 - * - * @param array|object $response The no-priv Heartbeat response. - * @param string $screen_id The screen id. - */ - do_action( 'heartbeat_nopriv_tick', $response, $screen_id ); - - // Send the current time according to the server. - $response['server_time'] = time(); - - wp_send_json($response); -} - -// -// GET-based Ajax handlers. -// - -/** - * Ajax handler for fetching a list table. - * - * @since 3.1.0 - */ -function wp_ajax_fetch_list() { - global $wp_list_table; - - $list_class = $_GET['list_args']['class']; - check_ajax_referer( "fetch-list-$list_class", '_ajax_fetch_list_nonce' ); - - $wp_list_table = _get_list_table( $list_class, array( 'screen' => $_GET['list_args']['screen']['id'] ) ); - if ( ! $wp_list_table ) - wp_die( 0 ); - - if ( ! $wp_list_table->ajax_user_can() ) - wp_die( -1 ); - - $wp_list_table->ajax_response(); - - wp_die( 0 ); -} - -/** - * Ajax handler for tag search. - * - * @since 3.1.0 - */ -function wp_ajax_ajax_tag_search() { - if ( isset( $_GET['tax'] ) ) { - $taxonomy = sanitize_key( $_GET['tax'] ); - $tax = get_taxonomy( $taxonomy ); - if ( ! $tax ) - wp_die( 0 ); - if ( ! current_user_can( $tax->cap->assign_terms ) ) - wp_die( -1 ); - } else { - wp_die( 0 ); - } - - $s = wp_unslash( $_GET['q'] ); - - $comma = _x( ',', 'tag delimiter' ); - if ( ',' !== $comma ) - $s = str_replace( $comma, ',', $s ); - if ( false !== strpos( $s, ',' ) ) { - $s = explode( ',', $s ); - $s = $s[count( $s ) - 1]; - } - $s = trim( $s ); - - /** - * Filter the minimum number of characters required to fire a tag search via AJAX. - * - * @since 4.0.0 - * - * @param int $characters The minimum number of characters required. Default 2. - * @param object $tax The taxonomy object. - * @param string $s The search term. - */ - $term_search_min_chars = (int) apply_filters( 'term_search_min_chars', 2, $tax, $s ); - - /* - * Require $term_search_min_chars chars for matching (default: 2) - * ensure it's a non-negative, non-zero integer. - */ - if ( ( $term_search_min_chars == 0 ) || ( strlen( $s ) < $term_search_min_chars ) ){ - wp_die(); - } - - $results = get_terms( $taxonomy, array( 'name__like' => $s, 'fields' => 'names', 'hide_empty' => false ) ); - - echo join( $results, "\n" ); - wp_die(); -} - -/** - * Ajax handler for compression testing. - * - * @since 3.1.0 - */ -function wp_ajax_wp_compression_test() { - if ( !current_user_can( 'manage_options' ) ) - wp_die( -1 ); - - if ( ini_get('zlib.output_compression') || 'ob_gzhandler' == ini_get('output_handler') ) { - update_site_option('can_compress_scripts', 0); - wp_die( 0 ); - } - - if ( isset($_GET['test']) ) { - header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' ); - header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); - header( 'Cache-Control: no-cache, must-revalidate, max-age=0' ); - header( 'Pragma: no-cache' ); - header('Content-Type: application/x-javascript; charset=UTF-8'); - $force_gzip = ( defined('ENFORCE_GZIP') && ENFORCE_GZIP ); - $test_str = '"wpCompressionTest Lorem ipsum dolor sit amet consectetuer mollis sapien urna ut a. Eu nonummy condimentum fringilla tempor pretium platea vel nibh netus Maecenas. Hac molestie amet justo quis pellentesque est ultrices interdum nibh Morbi. Cras mattis pretium Phasellus ante ipsum ipsum ut sociis Suspendisse Lorem. Ante et non molestie. Porta urna Vestibulum egestas id congue nibh eu risus gravida sit. Ac augue auctor Ut et non a elit massa id sodales. Elit eu Nulla at nibh adipiscing mattis lacus mauris at tempus. Netus nibh quis suscipit nec feugiat eget sed lorem et urna. Pellentesque lacus at ut massa consectetuer ligula ut auctor semper Pellentesque. Ut metus massa nibh quam Curabitur molestie nec mauris congue. Volutpat molestie elit justo facilisis neque ac risus Ut nascetur tristique. Vitae sit lorem tellus et quis Phasellus lacus tincidunt nunc Fusce. Pharetra wisi Suspendisse mus sagittis libero lacinia Integer consequat ac Phasellus. Et urna ac cursus tortor aliquam Aliquam amet tellus volutpat Vestibulum. Justo interdum condimentum In augue congue tellus sollicitudin Quisque quis nibh."'; - - if ( 1 == $_GET['test'] ) { - echo $test_str; - wp_die(); - } elseif ( 2 == $_GET['test'] ) { - if ( !isset($_SERVER['HTTP_ACCEPT_ENCODING']) ) - wp_die( -1 ); - if ( false !== stripos( $_SERVER['HTTP_ACCEPT_ENCODING'], 'deflate') && function_exists('gzdeflate') && ! $force_gzip ) { - header('Content-Encoding: deflate'); - $out = gzdeflate( $test_str, 1 ); - } elseif ( false !== stripos( $_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode') ) { - header('Content-Encoding: gzip'); - $out = gzencode( $test_str, 1 ); - } else { - wp_die( -1 ); - } - echo $out; - wp_die(); - } elseif ( 'no' == $_GET['test'] ) { - update_site_option('can_compress_scripts', 0); - } elseif ( 'yes' == $_GET['test'] ) { - update_site_option('can_compress_scripts', 1); - } - } - - wp_die( 0 ); -} - -/** - * Ajax handler for image editor previews. - * - * @since 3.1.0 - */ -function wp_ajax_imgedit_preview() { - $post_id = intval($_GET['postid']); - if ( empty($post_id) || !current_user_can('edit_post', $post_id) ) - wp_die( -1 ); - - check_ajax_referer( "image_editor-$post_id" ); - - include_once( ABSPATH . 'wp-admin/includes/image-edit.php' ); - if ( ! stream_preview_image($post_id) ) - wp_die( -1 ); - - wp_die(); -} - -/** - * Ajax handler for oEmbed caching. - * - * @since 3.1.0 - */ -function wp_ajax_oembed_cache() { - $GLOBALS['wp_embed']->cache_oembed( $_GET['post'] ); - wp_die( 0 ); -} - -/** - * Ajax handler for user autocomplete. - * - * @since 3.4.0 - */ -function wp_ajax_autocomplete_user() { - if ( ! is_multisite() || ! current_user_can( 'promote_users' ) || wp_is_large_network( 'users' ) ) - wp_die( -1 ); - - /** This filter is documented in wp-admin/user-new.php */ - if ( ! is_super_admin() && ! apply_filters( 'autocomplete_users_for_site_admins', false ) ) - wp_die( -1 ); - - $return = array(); - - // Check the type of request - // Current allowed values are `add` and `search` - if ( isset( $_REQUEST['autocomplete_type'] ) && 'search' === $_REQUEST['autocomplete_type'] ) { - $type = $_REQUEST['autocomplete_type']; - } else { - $type = 'add'; - } - - // Check the desired field for value - // Current allowed values are `user_email` and `user_login` - if ( isset( $_REQUEST['autocomplete_field'] ) && 'user_email' === $_REQUEST['autocomplete_field'] ) { - $field = $_REQUEST['autocomplete_field']; - } else { - $field = 'user_login'; - } - - // Exclude current users of this blog - if ( isset( $_REQUEST['site_id'] ) ) { - $id = absint( $_REQUEST['site_id'] ); - } else { - $id = get_current_blog_id(); - } - - $include_blog_users = ( $type == 'search' ? get_users( array( 'blog_id' => $id, 'fields' => 'ID' ) ) : array() ); - $exclude_blog_users = ( $type == 'add' ? get_users( array( 'blog_id' => $id, 'fields' => 'ID' ) ) : array() ); - - $users = get_users( array( - 'blog_id' => false, - 'search' => '*' . $_REQUEST['term'] . '*', - 'include' => $include_blog_users, - 'exclude' => $exclude_blog_users, - 'search_columns' => array( 'user_login', 'user_nicename', 'user_email' ), - ) ); - - foreach ( $users as $user ) { - $return[] = array( - /* translators: 1: user_login, 2: user_email */ - 'label' => sprintf( __( '%1$s (%2$s)' ), $user->user_login, $user->user_email ), - 'value' => $user->$field, - ); - } - - wp_die( json_encode( $return ) ); -} - -/** - * Ajax handler for dashboard widgets. - * - * @since 3.4.0 - */ -function wp_ajax_dashboard_widgets() { - require_once ABSPATH . 'wp-admin/includes/dashboard.php'; - - $pagenow = $_GET['pagenow']; - if ( $pagenow === 'dashboard-user' || $pagenow === 'dashboard-network' || $pagenow === 'dashboard' ) { - set_current_screen( $pagenow ); - } - - switch ( $_GET['widget'] ) { - case 'dashboard_primary' : - wp_dashboard_primary(); - break; - } - wp_die(); -} - -/** - * Ajax handler for Customizer preview logged-in status. - * - * @since 3.4.0 - */ -function wp_ajax_logged_in() { - wp_die( 1 ); -} - -// -// Ajax helpers. -// - -/** - * Sends back current comment total and new page links if they need to be updated. - * - * Contrary to normal success AJAX response ("1"), die with time() on success. - * - * @since 2.7.0 - * - * @param int $comment_id - * @return die - */ -function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) { - $total = isset( $_POST['_total'] ) ? (int) $_POST['_total'] : 0; - $per_page = isset( $_POST['_per_page'] ) ? (int) $_POST['_per_page'] : 0; - $page = isset( $_POST['_page'] ) ? (int) $_POST['_page'] : 0; - $url = isset( $_POST['_url'] ) ? esc_url_raw( $_POST['_url'] ) : ''; - - // JS didn't send us everything we need to know. Just die with success message - if ( !$total || !$per_page || !$page || !$url ) - wp_die( time() ); - - $total += $delta; - if ( $total < 0 ) - $total = 0; - - // Only do the expensive stuff on a page-break, and about 1 other time per page - if ( 0 == $total % $per_page || 1 == mt_rand( 1, $per_page ) ) { - $post_id = 0; - $status = 'total_comments'; // What type of comment count are we looking for? - $parsed = parse_url( $url ); - if ( isset( $parsed['query'] ) ) { - parse_str( $parsed['query'], $query_vars ); - if ( !empty( $query_vars['comment_status'] ) ) - $status = $query_vars['comment_status']; - if ( !empty( $query_vars['p'] ) ) - $post_id = (int) $query_vars['p']; - } - - $comment_count = wp_count_comments($post_id); - - // We're looking for a known type of comment count. - if ( isset( $comment_count->$status ) ) - $total = $comment_count->$status; - // Else use the decremented value from above. - } - - // The time since the last comment count. - $time = time(); - - $x = new WP_Ajax_Response( array( - 'what' => 'comment', - // Here for completeness - not used. - 'id' => $comment_id, - 'supplemental' => array( - 'total_items_i18n' => sprintf( _n( '1 item', '%s items', $total ), number_format_i18n( $total ) ), - 'total_pages' => ceil( $total / $per_page ), - 'total_pages_i18n' => number_format_i18n( ceil( $total / $per_page ) ), - 'total' => $total, - 'time' => $time - ) - ) ); - $x->send(); -} - -// -// POST-based Ajax handlers. -// - -/** - * Ajax handler for adding a hierarchical term. - * - * @since 3.1.0 - */ -function _wp_ajax_add_hierarchical_term() { - $action = $_POST['action']; - $taxonomy = get_taxonomy(substr($action, 4)); - check_ajax_referer( $action, '_ajax_nonce-add-' . $taxonomy->name ); - if ( !current_user_can( $taxonomy->cap->edit_terms ) ) - wp_die( -1 ); - $names = explode(',', $_POST['new'.$taxonomy->name]); - $parent = isset($_POST['new'.$taxonomy->name.'_parent']) ? (int) $_POST['new'.$taxonomy->name.'_parent'] : 0; - if ( 0 > $parent ) - $parent = 0; - if ( $taxonomy->name == 'category' ) - $post_category = isset($_POST['post_category']) ? (array) $_POST['post_category'] : array(); - else - $post_category = ( isset($_POST['tax_input']) && isset($_POST['tax_input'][$taxonomy->name]) ) ? (array) $_POST['tax_input'][$taxonomy->name] : array(); - $checked_categories = array_map( 'absint', (array) $post_category ); - $popular_ids = wp_popular_terms_checklist($taxonomy->name, 0, 10, false); - - foreach ( $names as $cat_name ) { - $cat_name = trim($cat_name); - $category_nicename = sanitize_title($cat_name); - if ( '' === $category_nicename ) - continue; - if ( !$cat_id = term_exists( $cat_name, $taxonomy->name, $parent ) ) - $cat_id = wp_insert_term( $cat_name, $taxonomy->name, array( 'parent' => $parent ) ); - if ( is_wp_error( $cat_id ) ) - continue; - else if ( is_array( $cat_id ) ) - $cat_id = $cat_id['term_id']; - $checked_categories[] = $cat_id; - if ( $parent ) // Do these all at once in a second - continue; - ob_start(); - wp_terms_checklist( 0, array( 'taxonomy' => $taxonomy->name, 'descendants_and_self' => $cat_id, 'selected_cats' => $checked_categories, 'popular_cats' => $popular_ids )); - $data = ob_get_contents(); - ob_end_clean(); - $add = array( - 'what' => $taxonomy->name, - 'id' => $cat_id, - 'data' => str_replace( array("\n", "\t"), '', $data), - 'position' => -1 - ); - } - - if ( $parent ) { // Foncy - replace the parent and all its children - $parent = get_term( $parent, $taxonomy->name ); - $term_id = $parent->term_id; - - while ( $parent->parent ) { // get the top parent - $parent = get_term( $parent->parent, $taxonomy->name ); - if ( is_wp_error( $parent ) ) - break; - $term_id = $parent->term_id; - } - - ob_start(); - wp_terms_checklist( 0, array('taxonomy' => $taxonomy->name, 'descendants_and_self' => $term_id, 'selected_cats' => $checked_categories, 'popular_cats' => $popular_ids)); - $data = ob_get_contents(); - ob_end_clean(); - $add = array( - 'what' => $taxonomy->name, - 'id' => $term_id, - 'data' => str_replace( array("\n", "\t"), '', $data), - 'position' => -1 - ); - } - - ob_start(); - wp_dropdown_categories( array( - 'taxonomy' => $taxonomy->name, 'hide_empty' => 0, 'name' => 'new'.$taxonomy->name.'_parent', 'orderby' => 'name', - 'hierarchical' => 1, 'show_option_none' => '— '.$taxonomy->labels->parent_item.' —' - ) ); - $sup = ob_get_contents(); - ob_end_clean(); - $add['supplemental'] = array( 'newcat_parent' => $sup ); - - $x = new WP_Ajax_Response( $add ); - $x->send(); -} - -/** - * Ajax handler for deleting a comment. - * - * @since 3.1.0 - */ -function wp_ajax_delete_comment() { - $id = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0; - - if ( !$comment = get_comment( $id ) ) - wp_die( time() ); - if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) ) - wp_die( -1 ); - - check_ajax_referer( "delete-comment_$id" ); - $status = wp_get_comment_status( $comment->comment_ID ); - - $delta = -1; - if ( isset($_POST['trash']) && 1 == $_POST['trash'] ) { - if ( 'trash' == $status ) - wp_die( time() ); - $r = wp_trash_comment( $comment->comment_ID ); - } elseif ( isset($_POST['untrash']) && 1 == $_POST['untrash'] ) { - if ( 'trash' != $status ) - wp_die( time() ); - $r = wp_untrash_comment( $comment->comment_ID ); - if ( ! isset( $_POST['comment_status'] ) || $_POST['comment_status'] != 'trash' ) // undo trash, not in trash - $delta = 1; - } elseif ( isset($_POST['spam']) && 1 == $_POST['spam'] ) { - if ( 'spam' == $status ) - wp_die( time() ); - $r = wp_spam_comment( $comment->comment_ID ); - } elseif ( isset($_POST['unspam']) && 1 == $_POST['unspam'] ) { - if ( 'spam' != $status ) - wp_die( time() ); - $r = wp_unspam_comment( $comment->comment_ID ); - if ( ! isset( $_POST['comment_status'] ) || $_POST['comment_status'] != 'spam' ) // undo spam, not in spam - $delta = 1; - } elseif ( isset($_POST['delete']) && 1 == $_POST['delete'] ) { - $r = wp_delete_comment( $comment->comment_ID ); - } else { - wp_die( -1 ); - } - - if ( $r ) // Decide if we need to send back '1' or a more complicated response including page links and comment counts - _wp_ajax_delete_comment_response( $comment->comment_ID, $delta ); - wp_die( 0 ); -} - -/** - * Ajax handler for deleting a tag. - * - * @since 3.1.0 - */ -function wp_ajax_delete_tag() { - $tag_id = (int) $_POST['tag_ID']; - check_ajax_referer( "delete-tag_$tag_id" ); - - $taxonomy = !empty($_POST['taxonomy']) ? $_POST['taxonomy'] : 'post_tag'; - $tax = get_taxonomy($taxonomy); - - if ( !current_user_can( $tax->cap->delete_terms ) ) - wp_die( -1 ); - - $tag = get_term( $tag_id, $taxonomy ); - if ( !$tag || is_wp_error( $tag ) ) - wp_die( 1 ); - - if ( wp_delete_term($tag_id, $taxonomy)) - wp_die( 1 ); - else - wp_die( 0 ); -} - -/** - * Ajax handler for deleting a link. - * - * @since 3.1.0 - */ -function wp_ajax_delete_link() { - $id = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0; - - check_ajax_referer( "delete-bookmark_$id" ); - if ( !current_user_can( 'manage_links' ) ) - wp_die( -1 ); - - $link = get_bookmark( $id ); - if ( !$link || is_wp_error( $link ) ) - wp_die( 1 ); - - if ( wp_delete_link( $id ) ) - wp_die( 1 ); - else - wp_die( 0 ); -} - -/** - * Ajax handler for deleting meta. - * - * @since 3.1.0 - */ -function wp_ajax_delete_meta() { - $id = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0; - - check_ajax_referer( "delete-meta_$id" ); - if ( !$meta = get_metadata_by_mid( 'post', $id ) ) - wp_die( 1 ); - - if ( is_protected_meta( $meta->meta_key, 'post' ) || ! current_user_can( 'delete_post_meta', $meta->post_id, $meta->meta_key ) ) - wp_die( -1 ); - if ( delete_meta( $meta->meta_id ) ) - wp_die( 1 ); - wp_die( 0 ); -} - -/** - * Ajax handler for deleting a post. - * - * @since 3.1.0 - * - * @param string $action Action to perform. - */ -function wp_ajax_delete_post( $action ) { - if ( empty( $action ) ) - $action = 'delete-post'; - $id = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0; - - check_ajax_referer( "{$action}_$id" ); - if ( !current_user_can( 'delete_post', $id ) ) - wp_die( -1 ); - - if ( !get_post( $id ) ) - wp_die( 1 ); - - if ( wp_delete_post( $id ) ) - wp_die( 1 ); - else - wp_die( 0 ); -} - -/** - * Ajax handler for sending a post to the trash. - * - * @since 3.1.0 - * - * @param string $action Action to perform. - */ -function wp_ajax_trash_post( $action ) { - if ( empty( $action ) ) - $action = 'trash-post'; - $id = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0; - - check_ajax_referer( "{$action}_$id" ); - if ( !current_user_can( 'delete_post', $id ) ) - wp_die( -1 ); - - if ( !get_post( $id ) ) - wp_die( 1 ); - - if ( 'trash-post' == $action ) - $done = wp_trash_post( $id ); - else - $done = wp_untrash_post( $id ); - - if ( $done ) - wp_die( 1 ); - - wp_die( 0 ); -} - -/** - * Ajax handler to restore a post from the trash. - * - * @since 3.1.0 - * - * @param string $action Action to perform. - */ -function wp_ajax_untrash_post( $action ) { - if ( empty( $action ) ) - $action = 'untrash-post'; - wp_ajax_trash_post( $action ); -} - -function wp_ajax_delete_page( $action ) { - if ( empty( $action ) ) - $action = 'delete-page'; - $id = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0; - - check_ajax_referer( "{$action}_$id" ); - if ( !current_user_can( 'delete_page', $id ) ) - wp_die( -1 ); - - if ( ! get_post( $id ) ) - wp_die( 1 ); - - if ( wp_delete_post( $id ) ) - wp_die( 1 ); - else - wp_die( 0 ); -} - -/** - * Ajax handler to dim a comment. - * - * @since 3.1.0 - */ -function wp_ajax_dim_comment() { - $id = isset( $_POST['id'] ) ? (int) $_POST['id'] : 0; - - if ( !$comment = get_comment( $id ) ) { - $x = new WP_Ajax_Response( array( - 'what' => 'comment', - 'id' => new WP_Error('invalid_comment', sprintf(__('Comment %d does not exist'), $id)) - ) ); - $x->send(); - } - - if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) && ! current_user_can( 'moderate_comments' ) ) - wp_die( -1 ); - - $current = wp_get_comment_status( $comment->comment_ID ); - if ( isset( $_POST['new'] ) && $_POST['new'] == $current ) - wp_die( time() ); - - check_ajax_referer( "approve-comment_$id" ); - if ( in_array( $current, array( 'unapproved', 'spam' ) ) ) - $result = wp_set_comment_status( $comment->comment_ID, 'approve', true ); - else - $result = wp_set_comment_status( $comment->comment_ID, 'hold', true ); - - if ( is_wp_error($result) ) { - $x = new WP_Ajax_Response( array( - 'what' => 'comment', - 'id' => $result - ) ); - $x->send(); - } - - // Decide if we need to send back '1' or a more complicated response including page links and comment counts - _wp_ajax_delete_comment_response( $comment->comment_ID ); - wp_die( 0 ); -} - -/** - * Ajax handler for deleting a link category. - * - * @since 3.1.0 - * - * @param string $action Action to perform. - */ -function wp_ajax_add_link_category( $action ) { - if ( empty( $action ) ) - $action = 'add-link-category'; - check_ajax_referer( $action ); - if ( !current_user_can( 'manage_categories' ) ) - wp_die( -1 ); - $names = explode(',', wp_unslash( $_POST['newcat'] ) ); - $x = new WP_Ajax_Response(); - foreach ( $names as $cat_name ) { - $cat_name = trim($cat_name); - $slug = sanitize_title($cat_name); - if ( '' === $slug ) - continue; - if ( !$cat_id = term_exists( $cat_name, 'link_category' ) ) - $cat_id = wp_insert_term( $cat_name, 'link_category' ); - if ( is_wp_error( $cat_id ) ) - continue; - else if ( is_array( $cat_id ) ) - $cat_id = $cat_id['term_id']; - $cat_name = esc_html( $cat_name ); - $x->add( array( - 'what' => 'link-category', - 'id' => $cat_id, - 'data' => "", - 'position' => -1 - ) ); - } - $x->send(); -} - -/** - * Ajax handler to add a tag. - * - * @since 3.1.0 - */ -function wp_ajax_add_tag() { - global $wp_list_table; - - check_ajax_referer( 'add-tag', '_wpnonce_add-tag' ); - $taxonomy = !empty($_POST['taxonomy']) ? $_POST['taxonomy'] : 'post_tag'; - $tax = get_taxonomy($taxonomy); - - if ( !current_user_can( $tax->cap->edit_terms ) ) - wp_die( -1 ); - - $x = new WP_Ajax_Response(); - - $tag = wp_insert_term($_POST['tag-name'], $taxonomy, $_POST ); - - if ( !$tag || is_wp_error($tag) || (!$tag = get_term( $tag['term_id'], $taxonomy )) ) { - $message = __('An error has occurred. Please reload the page and try again.'); - if ( is_wp_error($tag) && $tag->get_error_message() ) - $message = $tag->get_error_message(); - - $x->add( array( - 'what' => 'taxonomy', - 'data' => new WP_Error('error', $message ) - ) ); - $x->send(); - } - - $wp_list_table = _get_list_table( 'WP_Terms_List_Table', array( 'screen' => $_POST['screen'] ) ); - - $level = 0; - if ( is_taxonomy_hierarchical($taxonomy) ) { - $level = count( get_ancestors( $tag->term_id, $taxonomy ) ); - ob_start(); - $wp_list_table->single_row( $tag, $level ); - $noparents = ob_get_clean(); - } - - ob_start(); - $wp_list_table->single_row( $tag ); - $parents = ob_get_clean(); - - $x->add( array( - 'what' => 'taxonomy', - 'supplemental' => compact('parents', 'noparents') - ) ); - $x->add( array( - 'what' => 'term', - 'position' => $level, - 'supplemental' => (array) $tag - ) ); - $x->send(); -} - -/** - * Ajax handler for getting a tagcloud. - * - * @since 3.1.0 - */ -function wp_ajax_get_tagcloud() { - if ( isset( $_POST['tax'] ) ) { - $taxonomy = sanitize_key( $_POST['tax'] ); - $tax = get_taxonomy( $taxonomy ); - if ( ! $tax ) - wp_die( 0 ); - if ( ! current_user_can( $tax->cap->assign_terms ) ) - wp_die( -1 ); - } else { - wp_die( 0 ); - } - - $tags = get_terms( $taxonomy, array( 'number' => 45, 'orderby' => 'count', 'order' => 'DESC' ) ); - - if ( empty( $tags ) ) - wp_die( $tax->labels->not_found ); - - if ( is_wp_error( $tags ) ) - wp_die( $tags->get_error_message() ); - - foreach ( $tags as $key => $tag ) { - $tags[ $key ]->link = '#'; - $tags[ $key ]->id = $tag->term_id; - } - - // We need raw tag names here, so don't filter the output - $return = wp_generate_tag_cloud( $tags, array('filter' => 0) ); - - if ( empty($return) ) - wp_die( 0 ); - - echo $return; - - wp_die(); -} - -/** - * Ajax handler for getting comments. - * - * @since 3.1.0 - * - * @param string $action Action to perform. - */ -function wp_ajax_get_comments( $action ) { - global $wp_list_table, $post_id; - if ( empty( $action ) ) - $action = 'get-comments'; - - check_ajax_referer( $action ); - - if ( empty( $post_id ) && ! empty( $_REQUEST['p'] ) ) { - $id = absint( $_REQUEST['p'] ); - if ( ! empty( $id ) ) - $post_id = $id; - } - - if ( empty( $post_id ) ) - wp_die( -1 ); - - $wp_list_table = _get_list_table( 'WP_Post_Comments_List_Table', array( 'screen' => 'edit-comments' ) ); - - if ( ! current_user_can( 'edit_post', $post_id ) ) - wp_die( -1 ); - - $wp_list_table->prepare_items(); - - if ( !$wp_list_table->has_items() ) - wp_die( 1 ); - - $x = new WP_Ajax_Response(); - ob_start(); - foreach ( $wp_list_table->items as $comment ) { - if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) ) - continue; - get_comment( $comment ); - $wp_list_table->single_row( $comment ); - } - $comment_list_item = ob_get_contents(); - ob_end_clean(); - - $x->add( array( - 'what' => 'comments', - 'data' => $comment_list_item - ) ); - $x->send(); -} - -/** - * Ajax handler for replying to a comment. - * - * @since 3.1.0 - * - * @param string $action Action to perform. - */ -function wp_ajax_replyto_comment( $action ) { - global $wp_list_table; - if ( empty( $action ) ) - $action = 'replyto-comment'; - - check_ajax_referer( $action, '_ajax_nonce-replyto-comment' ); - - $comment_post_ID = (int) $_POST['comment_post_ID']; - $post = get_post( $comment_post_ID ); - if ( ! $post ) - wp_die( -1 ); - - if ( !current_user_can( 'edit_post', $comment_post_ID ) ) - wp_die( -1 ); - - if ( empty( $post->post_status ) ) - wp_die( 1 ); - elseif ( in_array($post->post_status, array('draft', 'pending', 'trash') ) ) - wp_die( __('ERROR: you are replying to a comment on a draft post.') ); - - $user = wp_get_current_user(); - if ( $user->exists() ) { - $user_ID = $user->ID; - $comment_author = wp_slash( $user->display_name ); - $comment_author_email = wp_slash( $user->user_email ); - $comment_author_url = wp_slash( $user->user_url ); - $comment_content = trim($_POST['content']); - if ( current_user_can( 'unfiltered_html' ) ) { - if ( ! isset( $_POST['_wp_unfiltered_html_comment'] ) ) - $_POST['_wp_unfiltered_html_comment'] = ''; - - if ( wp_create_nonce( 'unfiltered-html-comment' ) != $_POST['_wp_unfiltered_html_comment'] ) { - kses_remove_filters(); // start with a clean slate - kses_init_filters(); // set up the filters - } - } - } else { - wp_die( __( 'Sorry, you must be logged in to reply to a comment.' ) ); - } - - if ( '' == $comment_content ) - wp_die( __( 'ERROR: please type a comment.' ) ); - - $comment_parent = 0; - if ( isset( $_POST['comment_ID'] ) ) - $comment_parent = absint( $_POST['comment_ID'] ); - $comment_auto_approved = false; - $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'comment_parent', 'user_ID'); - - // Automatically approve parent comment. - if ( !empty($_POST['approve_parent']) ) { - $parent = get_comment( $comment_parent ); - - if ( $parent && $parent->comment_approved === '0' && $parent->comment_post_ID == $comment_post_ID ) { - if ( wp_set_comment_status( $parent->comment_ID, 'approve' ) ) - $comment_auto_approved = true; - } - } - - $comment_id = wp_new_comment( $commentdata ); - $comment = get_comment($comment_id); - if ( ! $comment ) wp_die( 1 ); - - $position = ( isset($_POST['position']) && (int) $_POST['position'] ) ? (int) $_POST['position'] : '-1'; - - ob_start(); - if ( isset( $_REQUEST['mode'] ) && 'dashboard' == $_REQUEST['mode'] ) { - require_once( ABSPATH . 'wp-admin/includes/dashboard.php' ); - _wp_dashboard_recent_comments_row( $comment ); - } else { - if ( isset( $_REQUEST['mode'] ) && 'single' == $_REQUEST['mode'] ) { - $wp_list_table = _get_list_table('WP_Post_Comments_List_Table', array( 'screen' => 'edit-comments' ) ); - } else { - $wp_list_table = _get_list_table('WP_Comments_List_Table', array( 'screen' => 'edit-comments' ) ); - } - $wp_list_table->single_row( $comment ); - } - $comment_list_item = ob_get_clean(); - - $response = array( - 'what' => 'comment', - 'id' => $comment->comment_ID, - 'data' => $comment_list_item, - 'position' => $position - ); - - if ( $comment_auto_approved ) - $response['supplemental'] = array( 'parent_approved' => $parent->comment_ID ); - - $x = new WP_Ajax_Response(); - $x->add( $response ); - $x->send(); -} - -/** - * Ajax handler for editing a comment. - * - * @since 3.1.0 - */ -function wp_ajax_edit_comment() { - global $wp_list_table; - - check_ajax_referer( 'replyto-comment', '_ajax_nonce-replyto-comment' ); - - $comment_id = (int) $_POST['comment_ID']; - if ( ! current_user_can( 'edit_comment', $comment_id ) ) - wp_die( -1 ); - - if ( '' == $_POST['content'] ) - wp_die( __( 'ERROR: please type a comment.' ) ); - - if ( isset( $_POST['status'] ) ) - $_POST['comment_status'] = $_POST['status']; - edit_comment(); - - $position = ( isset($_POST['position']) && (int) $_POST['position']) ? (int) $_POST['position'] : '-1'; - $checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0; - $wp_list_table = _get_list_table( $checkbox ? 'WP_Comments_List_Table' : 'WP_Post_Comments_List_Table', array( 'screen' => 'edit-comments' ) ); - - $comment = get_comment( $comment_id ); - if ( empty( $comment->comment_ID ) ) - wp_die( -1 ); - - ob_start(); - $wp_list_table->single_row( $comment ); - $comment_list_item = ob_get_clean(); - - $x = new WP_Ajax_Response(); - - $x->add( array( - 'what' => 'edit_comment', - 'id' => $comment->comment_ID, - 'data' => $comment_list_item, - 'position' => $position - )); - - $x->send(); -} - -/** - * Ajax handler for adding a menu item. - * - * @since 3.1.0 - */ -function wp_ajax_add_menu_item() { - check_ajax_referer( 'add-menu_item', 'menu-settings-column-nonce' ); - - if ( ! current_user_can( 'edit_theme_options' ) ) - wp_die( -1 ); - - require_once ABSPATH . 'wp-admin/includes/nav-menu.php'; - - // For performance reasons, we omit some object properties from the checklist. - // The following is a hacky way to restore them when adding non-custom items. - - $menu_items_data = array(); - foreach ( (array) $_POST['menu-item'] as $menu_item_data ) { - if ( - ! empty( $menu_item_data['menu-item-type'] ) && - 'custom' != $menu_item_data['menu-item-type'] && - ! empty( $menu_item_data['menu-item-object-id'] ) - ) { - switch( $menu_item_data['menu-item-type'] ) { - case 'post_type' : - $_object = get_post( $menu_item_data['menu-item-object-id'] ); - break; - - case 'taxonomy' : - $_object = get_term( $menu_item_data['menu-item-object-id'], $menu_item_data['menu-item-object'] ); - break; - } - - $_menu_items = array_map( 'wp_setup_nav_menu_item', array( $_object ) ); - $_menu_item = array_shift( $_menu_items ); - - // Restore the missing menu item properties - $menu_item_data['menu-item-description'] = $_menu_item->description; - } - - $menu_items_data[] = $menu_item_data; - } - - $item_ids = wp_save_nav_menu_items( 0, $menu_items_data ); - if ( is_wp_error( $item_ids ) ) - wp_die( 0 ); - - $menu_items = array(); - - foreach ( (array) $item_ids as $menu_item_id ) { - $menu_obj = get_post( $menu_item_id ); - if ( ! empty( $menu_obj->ID ) ) { - $menu_obj = wp_setup_nav_menu_item( $menu_obj ); - $menu_obj->label = $menu_obj->title; // don't show "(pending)" in ajax-added items - $menu_items[] = $menu_obj; - } - } - - /** This filter is documented in wp-admin/includes/nav-menu.php */ - $walker_class_name = apply_filters( 'wp_edit_nav_menu_walker', 'Walker_Nav_Menu_Edit', $_POST['menu'] ); - - if ( ! class_exists( $walker_class_name ) ) - wp_die( 0 ); - - if ( ! empty( $menu_items ) ) { - $args = array( - 'after' => '', - 'before' => '', - 'link_after' => '', - 'link_before' => '', - 'walker' => new $walker_class_name, - ); - echo walk_nav_menu_tree( $menu_items, 0, (object) $args ); - } - wp_die(); -} - -/** - * Ajax handler for adding meta. - * - * @since 3.1.0 - */ -function wp_ajax_add_meta() { - check_ajax_referer( 'add-meta', '_ajax_nonce-add-meta' ); - $c = 0; - $pid = (int) $_POST['post_id']; - $post = get_post( $pid ); - - if ( isset($_POST['metakeyselect']) || isset($_POST['metakeyinput']) ) { - if ( !current_user_can( 'edit_post', $pid ) ) - wp_die( -1 ); - if ( isset($_POST['metakeyselect']) && '#NONE#' == $_POST['metakeyselect'] && empty($_POST['metakeyinput']) ) - wp_die( 1 ); - if ( $post->post_status == 'auto-draft' ) { - $save_POST = $_POST; // Backup $_POST - $_POST = array(); // Make it empty for edit_post() - $_POST['action'] = 'draft'; // Warning fix - $_POST['post_ID'] = $pid; - $_POST['post_type'] = $post->post_type; - $_POST['post_status'] = 'draft'; - $now = current_time('timestamp', 1); - $_POST['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), date( get_option( 'date_format' ), $now ), date( get_option( 'time_format' ), $now ) ); - - if ( $pid = edit_post() ) { - if ( is_wp_error( $pid ) ) { - $x = new WP_Ajax_Response( array( - 'what' => 'meta', - 'data' => $pid - ) ); - $x->send(); - } - $_POST = $save_POST; // Now we can restore original $_POST again - if ( !$mid = add_meta( $pid ) ) - wp_die( __( 'Please provide a custom field value.' ) ); - } else { - wp_die( 0 ); - } - } else if ( !$mid = add_meta( $pid ) ) { - wp_die( __( 'Please provide a custom field value.' ) ); - } - - $meta = get_metadata_by_mid( 'post', $mid ); - $pid = (int) $meta->post_id; - $meta = get_object_vars( $meta ); - $x = new WP_Ajax_Response( array( - 'what' => 'meta', - 'id' => $mid, - 'data' => _list_meta_row( $meta, $c ), - 'position' => 1, - 'supplemental' => array('postid' => $pid) - ) ); - } else { // Update? - $mid = (int) key( $_POST['meta'] ); - $key = wp_unslash( $_POST['meta'][$mid]['key'] ); - $value = wp_unslash( $_POST['meta'][$mid]['value'] ); - if ( '' == trim($key) ) - wp_die( __( 'Please provide a custom field name.' ) ); - if ( '' == trim($value) ) - wp_die( __( 'Please provide a custom field value.' ) ); - if ( ! $meta = get_metadata_by_mid( 'post', $mid ) ) - wp_die( 0 ); // if meta doesn't exist - if ( is_protected_meta( $meta->meta_key, 'post' ) || is_protected_meta( $key, 'post' ) || - ! current_user_can( 'edit_post_meta', $meta->post_id, $meta->meta_key ) || - ! current_user_can( 'edit_post_meta', $meta->post_id, $key ) ) - wp_die( -1 ); - if ( $meta->meta_value != $value || $meta->meta_key != $key ) { - if ( !$u = update_metadata_by_mid( 'post', $mid, $value, $key ) ) - wp_die( 0 ); // We know meta exists; we also know it's unchanged (or DB error, in which case there are bigger problems). - } - - $x = new WP_Ajax_Response( array( - 'what' => 'meta', - 'id' => $mid, 'old_id' => $mid, - 'data' => _list_meta_row( array( - 'meta_key' => $key, - 'meta_value' => $value, - 'meta_id' => $mid - ), $c ), - 'position' => 0, - 'supplemental' => array('postid' => $meta->post_id) - ) ); - } - $x->send(); -} - -/** - * Ajax handler for adding a user. - * - * @since 3.1.0 - * - * @param string $action Action to perform. - */ -function wp_ajax_add_user( $action ) { - global $wp_list_table; - if ( empty( $action ) ) - $action = 'add-user'; - - check_ajax_referer( $action ); - if ( ! current_user_can('create_users') ) - wp_die( -1 ); - if ( ! $user_id = edit_user() ) { - wp_die( 0 ); - } elseif ( is_wp_error( $user_id ) ) { - $x = new WP_Ajax_Response( array( - 'what' => 'user', - 'id' => $user_id - ) ); - $x->send(); - } - $user_object = get_userdata( $user_id ); - - $wp_list_table = _get_list_table('WP_Users_List_Table'); - - $role = current( $user_object->roles ); - - $x = new WP_Ajax_Response( array( - 'what' => 'user', - 'id' => $user_id, - 'data' => $wp_list_table->single_row( $user_object, '', $role ), - 'supplemental' => array( - 'show-link' => sprintf(__( 'User %s added' ), "user-$user_id", $user_object->user_login), - 'role' => $role, - ) - ) ); - $x->send(); -} - -/** - * Ajax handler for closed post boxes. - * - * @since 3.1.0 - */ -function wp_ajax_closed_postboxes() { - check_ajax_referer( 'closedpostboxes', 'closedpostboxesnonce' ); - $closed = isset( $_POST['closed'] ) ? explode( ',', $_POST['closed']) : array(); - $closed = array_filter($closed); - - $hidden = isset( $_POST['hidden'] ) ? explode( ',', $_POST['hidden']) : array(); - $hidden = array_filter($hidden); - - $page = isset( $_POST['page'] ) ? $_POST['page'] : ''; - - if ( $page != sanitize_key( $page ) ) - wp_die( 0 ); - - if ( ! $user = wp_get_current_user() ) - wp_die( -1 ); - - if ( is_array($closed) ) - update_user_option($user->ID, "closedpostboxes_$page", $closed, true); - - if ( is_array($hidden) ) { - $hidden = array_diff( $hidden, array('submitdiv', 'linksubmitdiv', 'manage-menu', 'create-menu') ); // postboxes that are always shown - update_user_option($user->ID, "metaboxhidden_$page", $hidden, true); - } - - wp_die( 1 ); -} - -/** - * Ajax handler for hidden columns. - * - * @since 3.1.0 - */ -function wp_ajax_hidden_columns() { - check_ajax_referer( 'screen-options-nonce', 'screenoptionnonce' ); - $hidden = explode( ',', isset( $_POST['hidden'] ) ? $_POST['hidden'] : '' ); - $page = isset( $_POST['page'] ) ? $_POST['page'] : ''; - - if ( $page != sanitize_key( $page ) ) - wp_die( 0 ); - - if ( ! $user = wp_get_current_user() ) - wp_die( -1 ); - - if ( is_array($hidden) ) - update_user_option($user->ID, "manage{$page}columnshidden", $hidden, true); - - wp_die( 1 ); -} - -/** - * Ajax handler for updating whether to display the welcome panel. - * - * @since 3.1.0 - */ -function wp_ajax_update_welcome_panel() { - check_ajax_referer( 'welcome-panel-nonce', 'welcomepanelnonce' ); - - if ( ! current_user_can( 'edit_theme_options' ) ) - wp_die( -1 ); - - update_user_meta( get_current_user_id(), 'show_welcome_panel', empty( $_POST['visible'] ) ? 0 : 1 ); - - wp_die( 1 ); -} - -/** - * Ajax handler for retrieving menu meta boxes. - * - * @since 3.1.0 - */ -function wp_ajax_menu_get_metabox() { - if ( ! current_user_can( 'edit_theme_options' ) ) - wp_die( -1 ); - - require_once ABSPATH . 'wp-admin/includes/nav-menu.php'; - - if ( isset( $_POST['item-type'] ) && 'post_type' == $_POST['item-type'] ) { - $type = 'posttype'; - $callback = 'wp_nav_menu_item_post_type_meta_box'; - $items = (array) get_post_types( array( 'show_in_nav_menus' => true ), 'object' ); - } elseif ( isset( $_POST['item-type'] ) && 'taxonomy' == $_POST['item-type'] ) { - $type = 'taxonomy'; - $callback = 'wp_nav_menu_item_taxonomy_meta_box'; - $items = (array) get_taxonomies( array( 'show_ui' => true ), 'object' ); - } - - if ( ! empty( $_POST['item-object'] ) && isset( $items[$_POST['item-object']] ) ) { - $menus_meta_box_object = $items[ $_POST['item-object'] ]; - - /** This filter is documented in wp-admin/includes/nav-menu.php */ - $item = apply_filters( 'nav_menu_meta_box_object', $menus_meta_box_object ); - ob_start(); - call_user_func_array($callback, array( - null, - array( - 'id' => 'add-' . $item->name, - 'title' => $item->labels->name, - 'callback' => $callback, - 'args' => $item, - ) - )); - - $markup = ob_get_clean(); - - echo json_encode(array( - 'replace-id' => $type . '-' . $item->name, - 'markup' => $markup, - )); - } - - wp_die(); -} - -/** - * Ajax handler for internal linking. - * - * @since 3.1.0 - */ -function wp_ajax_wp_link_ajax() { - check_ajax_referer( 'internal-linking', '_ajax_linking_nonce' ); - - $args = array(); - - if ( isset( $_POST['search'] ) ) - $args['s'] = wp_unslash( $_POST['search'] ); - $args['pagenum'] = ! empty( $_POST['page'] ) ? absint( $_POST['page'] ) : 1; - - require(ABSPATH . WPINC . '/class-wp-editor.php'); - $results = _WP_Editors::wp_link_query( $args ); - - if ( ! isset( $results ) ) - wp_die( 0 ); - - echo json_encode( $results ); - echo "\n"; - - wp_die(); -} - -/** - * Ajax handler for menu locations save. - * - * @since 3.1.0 - */ -function wp_ajax_menu_locations_save() { - if ( ! current_user_can( 'edit_theme_options' ) ) - wp_die( -1 ); - check_ajax_referer( 'add-menu_item', 'menu-settings-column-nonce' ); - if ( ! isset( $_POST['menu-locations'] ) ) - wp_die( 0 ); - set_theme_mod( 'nav_menu_locations', array_map( 'absint', $_POST['menu-locations'] ) ); - wp_die( 1 ); -} - -/** - * Ajax handler for saving the meta box order. - * - * @since 3.1.0 - */ -function wp_ajax_meta_box_order() { - check_ajax_referer( 'meta-box-order' ); - $order = isset( $_POST['order'] ) ? (array) $_POST['order'] : false; - $page_columns = isset( $_POST['page_columns'] ) ? $_POST['page_columns'] : 'auto'; - - if ( $page_columns != 'auto' ) - $page_columns = (int) $page_columns; - - $page = isset( $_POST['page'] ) ? $_POST['page'] : ''; - - if ( $page != sanitize_key( $page ) ) - wp_die( 0 ); - - if ( ! $user = wp_get_current_user() ) - wp_die( -1 ); - - if ( $order ) - update_user_option($user->ID, "meta-box-order_$page", $order, true); - - if ( $page_columns ) - update_user_option($user->ID, "screen_layout_$page", $page_columns, true); - - wp_die( 1 ); -} - -/** - * Ajax handler for menu quick searching. - * - * @since 3.1.0 - */ -function wp_ajax_menu_quick_search() { - if ( ! current_user_can( 'edit_theme_options' ) ) - wp_die( -1 ); - - require_once ABSPATH . 'wp-admin/includes/nav-menu.php'; - - _wp_ajax_menu_quick_search( $_POST ); - - wp_die(); -} - -/** - * Ajax handler to retrieve a permalink. - * - * @since 3.1.0 - */ -function wp_ajax_get_permalink() { - check_ajax_referer( 'getpermalink', 'getpermalinknonce' ); - $post_id = isset($_POST['post_id'])? intval($_POST['post_id']) : 0; - wp_die( add_query_arg( array( 'preview' => 'true' ), get_permalink( $post_id ) ) ); -} - -/** - * Ajax handler to retrieve a sample permalink. - * - * @since 3.1.0 - */ -function wp_ajax_sample_permalink() { - check_ajax_referer( 'samplepermalink', 'samplepermalinknonce' ); - $post_id = isset($_POST['post_id'])? intval($_POST['post_id']) : 0; - $title = isset($_POST['new_title'])? $_POST['new_title'] : ''; - $slug = isset($_POST['new_slug'])? $_POST['new_slug'] : null; - wp_die( get_sample_permalink_html( $post_id, $title, $slug ) ); -} - -/** - * Ajax handler for quick edit saving for a post. - * - * @since 3.1.0 - */ -function wp_ajax_inline_save() { - global $wp_list_table; - - check_ajax_referer( 'inlineeditnonce', '_inline_edit' ); - - if ( ! isset($_POST['post_ID']) || ! ( $post_ID = (int) $_POST['post_ID'] ) ) - wp_die(); - - if ( 'page' == $_POST['post_type'] ) { - if ( ! current_user_can( 'edit_page', $post_ID ) ) - wp_die( __( 'You are not allowed to edit this page.' ) ); - } else { - if ( ! current_user_can( 'edit_post', $post_ID ) ) - wp_die( __( 'You are not allowed to edit this post.' ) ); - } - - if ( $last = wp_check_post_lock( $post_ID ) ) { - $last_user = get_userdata( $last ); - $last_user_name = $last_user ? $last_user->display_name : __( 'Someone' ); - printf( $_POST['post_type'] == 'page' ? __( 'Saving is disabled: %s is currently editing this page.' ) : __( 'Saving is disabled: %s is currently editing this post.' ), esc_html( $last_user_name ) ); - wp_die(); - } - - $data = &$_POST; - - $post = get_post( $post_ID, ARRAY_A ); - - // Since it's coming from the database. - $post = wp_slash($post); - - $data['content'] = $post['post_content']; - $data['excerpt'] = $post['post_excerpt']; - - // Rename. - $data['user_ID'] = get_current_user_id(); - - if ( isset($data['post_parent']) ) - $data['parent_id'] = $data['post_parent']; - - // Status. - if ( isset($data['keep_private']) && 'private' == $data['keep_private'] ) - $data['post_status'] = 'private'; - else - $data['post_status'] = $data['_status']; - - if ( empty($data['comment_status']) ) - $data['comment_status'] = 'closed'; - if ( empty($data['ping_status']) ) - $data['ping_status'] = 'closed'; - - // Hack: wp_unique_post_slug() doesn't work for drafts, so we will fake that our post is published. - if ( ! empty( $data['post_name'] ) && in_array( $post['post_status'], array( 'draft', 'pending' ) ) ) { - $post['post_status'] = 'publish'; - $data['post_name'] = wp_unique_post_slug( $data['post_name'], $post['ID'], $post['post_status'], $post['post_type'], $post['post_parent'] ); - } - - // Update the post. - edit_post(); - - $wp_list_table = _get_list_table( 'WP_Posts_List_Table', array( 'screen' => $_POST['screen'] ) ); - - $level = 0; - $request_post = array( get_post( $_POST['post_ID'] ) ); - $parent = $request_post[0]->post_parent; - - while ( $parent > 0 ) { - $parent_post = get_post( $parent ); - $parent = $parent_post->post_parent; - $level++; - } - - $wp_list_table->display_rows( array( get_post( $_POST['post_ID'] ) ), $level ); - - wp_die(); -} - -/** - * Ajax handler for quick edit saving for a term. - * - * @since 3.1.0 - */ -function wp_ajax_inline_save_tax() { - global $wp_list_table; - - check_ajax_referer( 'taxinlineeditnonce', '_inline_edit' ); - - $taxonomy = sanitize_key( $_POST['taxonomy'] ); - $tax = get_taxonomy( $taxonomy ); - if ( ! $tax ) - wp_die( 0 ); - - if ( ! current_user_can( $tax->cap->edit_terms ) ) - wp_die( -1 ); - - $wp_list_table = _get_list_table( 'WP_Terms_List_Table', array( 'screen' => 'edit-' . $taxonomy ) ); - - if ( ! isset($_POST['tax_ID']) || ! ( $id = (int) $_POST['tax_ID'] ) ) - wp_die( -1 ); - - $tag = get_term( $id, $taxonomy ); - $_POST['description'] = $tag->description; - - $updated = wp_update_term($id, $taxonomy, $_POST); - if ( $updated && !is_wp_error($updated) ) { - $tag = get_term( $updated['term_id'], $taxonomy ); - if ( !$tag || is_wp_error( $tag ) ) { - if ( is_wp_error($tag) && $tag->get_error_message() ) - wp_die( $tag->get_error_message() ); - wp_die( __( 'Item not updated.' ) ); - } - } else { - if ( is_wp_error($updated) && $updated->get_error_message() ) - wp_die( $updated->get_error_message() ); - wp_die( __( 'Item not updated.' ) ); - } - $level = 0; - $parent = $tag->parent; - while ( $parent > 0 ) { - $parent_tag = get_term( $parent, $taxonomy ); - $parent = $parent_tag->parent; - $level++; - } - $wp_list_table->single_row( $tag, $level ); - wp_die(); -} - -/** - * Ajax handler for finding posts. - * - * @since 3.1.0 - */ -function wp_ajax_find_posts() { - check_ajax_referer( 'find-posts' ); - - $post_types = get_post_types( array( 'public' => true ), 'objects' ); - unset( $post_types['attachment'] ); - - $s = wp_unslash( $_POST['ps'] ); - $args = array( - 'post_type' => array_keys( $post_types ), - 'post_status' => 'any', - 'posts_per_page' => 50, - ); - if ( '' !== $s ) - $args['s'] = $s; - - $posts = get_posts( $args ); - - if ( ! $posts ) { - wp_send_json_error( __( 'No items found.' ) ); - } - - $html = ''; - $alt = ''; - foreach ( $posts as $post ) { - $title = trim( $post->post_title ) ? $post->post_title : __( '(no title)' ); - $alt = ( 'alternate' == $alt ) ? '' : 'alternate'; - - switch ( $post->post_status ) { - case 'publish' : - case 'private' : - $stat = __('Published'); - break; - case 'future' : - $stat = __('Scheduled'); - break; - case 'pending' : - $stat = __('Pending Review'); - break; - case 'draft' : - $stat = __('Draft'); - break; - } - - if ( '0000-00-00 00:00:00' == $post->post_date ) { - $time = ''; - } else { - /* translators: date format in table columns, see http://php.net/date */ - $time = mysql2date(__('Y/m/d'), $post->post_date); - } - - $html .= ''; - $html .= '' . "\n\n"; - } - - $html .= '

'.__('Title').''.__('Type').''.__('Date').''.__('Status').'
' . esc_html( $post_types[$post->post_type]->labels->singular_name ) . ''.esc_html( $time ) . '' . esc_html( $stat ). '
'; - - wp_send_json_success( $html ); -} - -/** - * Ajax handler for saving the widgets order. - * - * @since 3.1.0 - */ -function wp_ajax_widgets_order() { - check_ajax_referer( 'save-sidebar-widgets', 'savewidgets' ); - - if ( !current_user_can('edit_theme_options') ) - wp_die( -1 ); - - unset( $_POST['savewidgets'], $_POST['action'] ); - - // Save widgets order for all sidebars. - if ( is_array($_POST['sidebars']) ) { - $sidebars = array(); - foreach ( $_POST['sidebars'] as $key => $val ) { - $sb = array(); - if ( !empty($val) ) { - $val = explode(',', $val); - foreach ( $val as $k => $v ) { - if ( strpos($v, 'widget-') === false ) - continue; - - $sb[$k] = substr($v, strpos($v, '_') + 1); - } - } - $sidebars[$key] = $sb; - } - wp_set_sidebars_widgets($sidebars); - wp_die( 1 ); - } - - wp_die( -1 ); -} - -/** - * Ajax handler for saving a widget. - * - * @since 3.1.0 - */ -function wp_ajax_save_widget() { - global $wp_registered_widgets, $wp_registered_widget_controls, $wp_registered_widget_updates; - - check_ajax_referer( 'save-sidebar-widgets', 'savewidgets' ); - - if ( !current_user_can('edit_theme_options') || !isset($_POST['id_base']) ) - wp_die( -1 ); - - unset( $_POST['savewidgets'], $_POST['action'] ); - - /** - * Fires early when editing the widgets displayed in sidebars. - * - * @since 2.8.0 - */ - do_action( 'load-widgets.php' ); - - /** - * Fires early when editing the widgets displayed in sidebars. - * - * @since 2.8.0 - */ - do_action( 'widgets.php' ); - - /** This action is documented in wp-admin/widgets.php */ - do_action( 'sidebar_admin_setup' ); - - $id_base = $_POST['id_base']; - $widget_id = $_POST['widget-id']; - $sidebar_id = $_POST['sidebar']; - $multi_number = !empty($_POST['multi_number']) ? (int) $_POST['multi_number'] : 0; - $settings = isset($_POST['widget-' . $id_base]) && is_array($_POST['widget-' . $id_base]) ? $_POST['widget-' . $id_base] : false; - $error = '

' . __('An error has occurred. Please reload the page and try again.') . '

'; - - $sidebars = wp_get_sidebars_widgets(); - $sidebar = isset($sidebars[$sidebar_id]) ? $sidebars[$sidebar_id] : array(); - - // Delete. - if ( isset($_POST['delete_widget']) && $_POST['delete_widget'] ) { - - if ( !isset($wp_registered_widgets[$widget_id]) ) - wp_die( $error ); - - $sidebar = array_diff( $sidebar, array($widget_id) ); - $_POST = array('sidebar' => $sidebar_id, 'widget-' . $id_base => array(), 'the-widget-id' => $widget_id, 'delete_widget' => '1'); - } elseif ( $settings && preg_match( '/__i__|%i%/', key($settings) ) ) { - if ( !$multi_number ) - wp_die( $error ); - - $_POST['widget-' . $id_base] = array( $multi_number => array_shift($settings) ); - $widget_id = $id_base . '-' . $multi_number; - $sidebar[] = $widget_id; - } - $_POST['widget-id'] = $sidebar; - - foreach ( (array) $wp_registered_widget_updates as $name => $control ) { - - if ( $name == $id_base ) { - if ( !is_callable( $control['callback'] ) ) - continue; - - ob_start(); - call_user_func_array( $control['callback'], $control['params'] ); - ob_end_clean(); - break; - } - } - - if ( isset($_POST['delete_widget']) && $_POST['delete_widget'] ) { - $sidebars[$sidebar_id] = $sidebar; - wp_set_sidebars_widgets($sidebars); - echo "deleted:$widget_id"; - wp_die(); - } - - if ( !empty($_POST['add_new']) ) - wp_die(); - - if ( $form = $wp_registered_widget_controls[$widget_id] ) - call_user_func_array( $form['callback'], $form['params'] ); - - wp_die(); -} - -/** - * Ajax handler for saving a widget. - * - * @since 3.9.0 - */ -function wp_ajax_update_widget() { - global $wp_customize; - $wp_customize->widgets->wp_ajax_update_widget(); -} - -/** - * Ajax handler for uploading attachments - * - * @since 3.3.0 - */ -function wp_ajax_upload_attachment() { - check_ajax_referer( 'media-form' ); - - if ( ! current_user_can( 'upload_files' ) ) - wp_die(); - - if ( isset( $_REQUEST['post_id'] ) ) { - $post_id = $_REQUEST['post_id']; - if ( ! current_user_can( 'edit_post', $post_id ) ) - wp_die(); - } else { - $post_id = null; - } - - $post_data = isset( $_REQUEST['post_data'] ) ? $_REQUEST['post_data'] : array(); - - // If the context is custom header or background, make sure the uploaded file is an image. - if ( isset( $post_data['context'] ) && in_array( $post_data['context'], array( 'custom-header', 'custom-background' ) ) ) { - $wp_filetype = wp_check_filetype_and_ext( $_FILES['async-upload']['tmp_name'], $_FILES['async-upload']['name'], false ); - if ( ! wp_match_mime_types( 'image', $wp_filetype['type'] ) ) { - echo json_encode( array( - 'success' => false, - 'data' => array( - 'message' => __( 'The uploaded file is not a valid image. Please try again.' ), - 'filename' => $_FILES['async-upload']['name'], - ) - ) ); - - wp_die(); - } - } - - $attachment_id = media_handle_upload( 'async-upload', $post_id, $post_data ); - - if ( is_wp_error( $attachment_id ) ) { - echo json_encode( array( - 'success' => false, - 'data' => array( - 'message' => $attachment_id->get_error_message(), - 'filename' => $_FILES['async-upload']['name'], - ) - ) ); - - wp_die(); - } - - if ( isset( $post_data['context'] ) && isset( $post_data['theme'] ) ) { - if ( 'custom-background' === $post_data['context'] ) - update_post_meta( $attachment_id, '_wp_attachment_is_custom_background', $post_data['theme'] ); - - if ( 'custom-header' === $post_data['context'] ) - update_post_meta( $attachment_id, '_wp_attachment_is_custom_header', $post_data['theme'] ); - } - - if ( ! $attachment = wp_prepare_attachment_for_js( $attachment_id ) ) - wp_die(); - - echo json_encode( array( - 'success' => true, - 'data' => $attachment, - ) ); - - wp_die(); -} - -/** - * Ajax handler for image editing. - * - * @since 3.1.0 - */ -function wp_ajax_image_editor() { - $attachment_id = intval($_POST['postid']); - if ( empty($attachment_id) || !current_user_can('edit_post', $attachment_id) ) - wp_die( -1 ); - - check_ajax_referer( "image_editor-$attachment_id" ); - include_once( ABSPATH . 'wp-admin/includes/image-edit.php' ); - - $msg = false; - switch ( $_POST['do'] ) { - case 'save' : - $msg = wp_save_image($attachment_id); - $msg = json_encode($msg); - wp_die( $msg ); - break; - case 'scale' : - $msg = wp_save_image($attachment_id); - break; - case 'restore' : - $msg = wp_restore_image($attachment_id); - break; - } - - wp_image_editor($attachment_id, $msg); - wp_die(); -} - -/** - * Ajax handler for setting the featured image. - * - * @since 3.1.0 - */ -function wp_ajax_set_post_thumbnail() { - $json = ! empty( $_REQUEST['json'] ); // New-style request - - $post_ID = intval( $_POST['post_id'] ); - if ( ! current_user_can( 'edit_post', $post_ID ) ) - wp_die( -1 ); - - $thumbnail_id = intval( $_POST['thumbnail_id'] ); - - if ( $json ) - check_ajax_referer( "update-post_$post_ID" ); - else - check_ajax_referer( "set_post_thumbnail-$post_ID" ); - - if ( $thumbnail_id == '-1' ) { - if ( delete_post_thumbnail( $post_ID ) ) { - $return = _wp_post_thumbnail_html( null, $post_ID ); - $json ? wp_send_json_success( $return ) : wp_die( $return ); - } else { - wp_die( 0 ); - } - } - - if ( set_post_thumbnail( $post_ID, $thumbnail_id ) ) { - $return = _wp_post_thumbnail_html( $thumbnail_id, $post_ID ); - $json ? wp_send_json_success( $return ) : wp_die( $return ); - } - - wp_die( 0 ); -} - -/** - * AJAX handler for setting the featured image for an attachment. - * - * @since 4.0.0 - * - * @see set_post_thumbnail() - */ -function wp_ajax_set_attachment_thumbnail() { - if ( empty( $_POST['urls'] ) || ! is_array( $_POST['urls'] ) ) { - wp_send_json_error(); - } - - $thumbnail_id = (int) $_POST['thumbnail_id']; - if ( empty( $thumbnail_id ) ) { - wp_send_json_error(); - } - - $post_ids = array(); - // For each URL, try to find its corresponding post ID. - foreach ( $_POST['urls'] as $url ) { - $post_id = attachment_url_to_postid( $url ); - if ( ! empty( $post_id ) ) { - $post_ids[] = $post_id; - } - } - - if ( empty( $post_ids ) ) { - wp_send_json_error(); - } - - $success = 0; - // For each found attachment, set its thumbnail. - foreach ( $post_ids as $post_id ) { - if ( ! current_user_can( 'edit_post', $post_id ) ) { - continue; - } - - if ( set_post_thumbnail( $post_id, $thumbnail_id ) ) { - $success++; - } - } - - if ( 0 === $success ) { - wp_send_json_error(); - } else { - wp_send_json_success(); - } - - wp_send_json_error(); -} - -/** - * Ajax handler for date formatting. - * - * @since 3.1.0 - */ -function wp_ajax_date_format() { - wp_die( date_i18n( sanitize_option( 'date_format', wp_unslash( $_POST['date'] ) ) ) ); -} - -/** - * Ajax handler for time formatting. - * - * @since 3.1.0 - */ -function wp_ajax_time_format() { - wp_die( date_i18n( sanitize_option( 'time_format', wp_unslash( $_POST['date'] ) ) ) ); -} - -/** - * Ajax handler for saving posts from the fullscreen editor. - * - * @since 3.1.0 - */ -function wp_ajax_wp_fullscreen_save_post() { - $post_id = isset( $_POST['post_ID'] ) ? (int) $_POST['post_ID'] : 0; - - $post = null; - - if ( $post_id ) - $post = get_post( $post_id ); - - check_ajax_referer('update-post_' . $post_id, '_wpnonce'); - - $post_id = edit_post(); - - if ( is_wp_error( $post_id ) ) { - wp_send_json_error(); - } - - if ( $post ) { - $last_date = mysql2date( get_option('date_format'), $post->post_modified ); - $last_time = mysql2date( get_option('time_format'), $post->post_modified ); - } else { - $last_date = date_i18n( get_option('date_format') ); - $last_time = date_i18n( get_option('time_format') ); - } - - if ( $last_id = get_post_meta( $post_id, '_edit_last', true ) ) { - $last_user = get_userdata( $last_id ); - $last_edited = sprintf( __('Last edited by %1$s on %2$s at %3$s'), esc_html( $last_user->display_name ), $last_date, $last_time ); - } else { - $last_edited = sprintf( __('Last edited on %1$s at %2$s'), $last_date, $last_time ); - } - - wp_send_json_success( array( 'last_edited' => $last_edited ) ); -} - -/** - * Ajax handler for removing a post lock. - * - * @since 3.1.0 - */ -function wp_ajax_wp_remove_post_lock() { - if ( empty( $_POST['post_ID'] ) || empty( $_POST['active_post_lock'] ) ) - wp_die( 0 ); - $post_id = (int) $_POST['post_ID']; - if ( ! $post = get_post( $post_id ) ) - wp_die( 0 ); - - check_ajax_referer( 'update-post_' . $post_id ); - - if ( ! current_user_can( 'edit_post', $post_id ) ) - wp_die( -1 ); - - $active_lock = array_map( 'absint', explode( ':', $_POST['active_post_lock'] ) ); - if ( $active_lock[1] != get_current_user_id() ) - wp_die( 0 ); - - /** - * Filter the post lock window duration. - * - * @since 3.3.0 - * - * @param int $interval The interval in seconds the post lock duration - * should last, plus 5 seconds. Default 150. - */ - $new_lock = ( time() - apply_filters( 'wp_check_post_lock_window', 150 ) + 5 ) . ':' . $active_lock[1]; - update_post_meta( $post_id, '_edit_lock', $new_lock, implode( ':', $active_lock ) ); - wp_die( 1 ); -} - -/** - * Ajax handler for dismissing a WordPress pointer. - * - * @since 3.1.0 - */ -function wp_ajax_dismiss_wp_pointer() { - $pointer = $_POST['pointer']; - if ( $pointer != sanitize_key( $pointer ) ) - wp_die( 0 ); - -// check_ajax_referer( 'dismiss-pointer_' . $pointer ); - - $dismissed = array_filter( explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) ) ); - - if ( in_array( $pointer, $dismissed ) ) - wp_die( 0 ); - - $dismissed[] = $pointer; - $dismissed = implode( ',', $dismissed ); - - update_user_meta( get_current_user_id(), 'dismissed_wp_pointers', $dismissed ); - wp_die( 1 ); -} - -/** - * Ajax handler for getting an attachment. - * - * @since 3.5.0 - */ -function wp_ajax_get_attachment() { - if ( ! isset( $_REQUEST['id'] ) ) - wp_send_json_error(); - - if ( ! $id = absint( $_REQUEST['id'] ) ) - wp_send_json_error(); - - if ( ! $post = get_post( $id ) ) - wp_send_json_error(); - - if ( 'attachment' != $post->post_type ) - wp_send_json_error(); - - if ( ! current_user_can( 'upload_files' ) ) - wp_send_json_error(); - - if ( ! $attachment = wp_prepare_attachment_for_js( $id ) ) - wp_send_json_error(); - - wp_send_json_success( $attachment ); -} - -/** - * Ajax handler for querying for attachments. - * - * @since 3.5.0 - */ -function wp_ajax_query_attachments() { - if ( ! current_user_can( 'upload_files' ) ) - wp_send_json_error(); - - $query = isset( $_REQUEST['query'] ) ? (array) $_REQUEST['query'] : array(); - $query = array_intersect_key( $query, array_flip( array( - 's', 'order', 'orderby', 'posts_per_page', 'paged', 'post_mime_type', - 'post_parent', 'post__in', 'post__not_in', 'year', 'monthnum' - ) ) ); - - $query['post_type'] = 'attachment'; - if ( MEDIA_TRASH - && ! empty( $_REQUEST['query']['post_status'] ) - && 'trash' === $_REQUEST['query']['post_status'] ) { - $query['post_status'] = 'trash'; - } else { - $query['post_status'] = 'inherit'; - } - - if ( current_user_can( get_post_type_object( 'attachment' )->cap->read_private_posts ) ) - $query['post_status'] .= ',private'; - - /** - * Filter the arguments passed to WP_Query during an AJAX - * call for querying attachments. - * - * @since 3.7.0 - * - * @see WP_Query::parse_query() - * - * @param array $query An array of query variables. - */ - $query = apply_filters( 'ajax_query_attachments_args', $query ); - $query = new WP_Query( $query ); - - $posts = array_map( 'wp_prepare_attachment_for_js', $query->posts ); - $posts = array_filter( $posts ); - - wp_send_json_success( $posts ); -} - -/** - * Ajax handler for saving attachment attributes. - * - * @since 3.5.0 - */ -function wp_ajax_save_attachment() { - if ( ! isset( $_REQUEST['id'] ) || ! isset( $_REQUEST['changes'] ) ) - wp_send_json_error(); - - if ( ! $id = absint( $_REQUEST['id'] ) ) - wp_send_json_error(); - - check_ajax_referer( 'update-post_' . $id, 'nonce' ); - - if ( ! current_user_can( 'edit_post', $id ) ) - wp_send_json_error(); - - $changes = $_REQUEST['changes']; - $post = get_post( $id, ARRAY_A ); - - if ( 'attachment' != $post['post_type'] ) - wp_send_json_error(); - - if ( isset( $changes['title'] ) ) - $post['post_title'] = $changes['title']; - - if ( isset( $changes['caption'] ) ) - $post['post_excerpt'] = $changes['caption']; - - if ( isset( $changes['description'] ) ) - $post['post_content'] = $changes['description']; - - if ( MEDIA_TRASH && isset( $changes['status'] ) ) - $post['post_status'] = $changes['status']; - - if ( isset( $changes['alt'] ) ) { - $alt = wp_unslash( $changes['alt'] ); - if ( $alt != get_post_meta( $id, '_wp_attachment_image_alt', true ) ) { - $alt = wp_strip_all_tags( $alt, true ); - update_post_meta( $id, '_wp_attachment_image_alt', wp_slash( $alt ) ); - } - } - - if ( 0 === strpos( $post['post_mime_type'], 'audio/' ) ) { - $changed = false; - $id3data = wp_get_attachment_metadata( $post['ID'] ); - if ( ! is_array( $id3data ) ) { - $changed = true; - $id3data = array(); - } - foreach ( wp_get_attachment_id3_keys( (object) $post, 'edit' ) as $key => $label ) { - if ( isset( $changes[ $key ] ) ) { - $changed = true; - $id3data[ $key ] = sanitize_text_field( wp_unslash( $changes[ $key ] ) ); - } - } - - if ( $changed ) { - wp_update_attachment_metadata( $id, $id3data ); - } - } - - if ( MEDIA_TRASH && isset( $changes['status'] ) && 'trash' === $changes['status'] ) { - wp_delete_post( $id ); - } else { - wp_update_post( $post ); - } - - wp_send_json_success(); -} - -/** - * Ajax handler for saving backwards compatible attachment attributes. - * - * @since 3.5.0 - */ -function wp_ajax_save_attachment_compat() { - if ( ! isset( $_REQUEST['id'] ) ) - wp_send_json_error(); - - if ( ! $id = absint( $_REQUEST['id'] ) ) - wp_send_json_error(); - - if ( empty( $_REQUEST['attachments'] ) || empty( $_REQUEST['attachments'][ $id ] ) ) - wp_send_json_error(); - $attachment_data = $_REQUEST['attachments'][ $id ]; - - check_ajax_referer( 'update-post_' . $id, 'nonce' ); - - if ( ! current_user_can( 'edit_post', $id ) ) - wp_send_json_error(); - - $post = get_post( $id, ARRAY_A ); - - if ( 'attachment' != $post['post_type'] ) - wp_send_json_error(); - - /** This filter is documented in wp-admin/includes/media.php */ - $post = apply_filters( 'attachment_fields_to_save', $post, $attachment_data ); - - if ( isset( $post['errors'] ) ) { - $errors = $post['errors']; // @todo return me and display me! - unset( $post['errors'] ); - } - - wp_update_post( $post ); - - foreach ( get_attachment_taxonomies( $post ) as $taxonomy ) { - if ( isset( $attachment_data[ $taxonomy ] ) ) - wp_set_object_terms( $id, array_map( 'trim', preg_split( '/,+/', $attachment_data[ $taxonomy ] ) ), $taxonomy, false ); - } - - if ( ! $attachment = wp_prepare_attachment_for_js( $id ) ) - wp_send_json_error(); - - wp_send_json_success( $attachment ); -} - -/** - * Ajax handler for saving the attachment order. - * - * @since 3.5.0 - */ -function wp_ajax_save_attachment_order() { - if ( ! isset( $_REQUEST['post_id'] ) ) - wp_send_json_error(); - - if ( ! $post_id = absint( $_REQUEST['post_id'] ) ) - wp_send_json_error(); - - if ( empty( $_REQUEST['attachments'] ) ) - wp_send_json_error(); - - check_ajax_referer( 'update-post_' . $post_id, 'nonce' ); - - $attachments = $_REQUEST['attachments']; - - if ( ! current_user_can( 'edit_post', $post_id ) ) - wp_send_json_error(); - - foreach ( $attachments as $attachment_id => $menu_order ) { - if ( ! current_user_can( 'edit_post', $attachment_id ) ) - continue; - if ( ! $attachment = get_post( $attachment_id ) ) - continue; - if ( 'attachment' != $attachment->post_type ) - continue; - - wp_update_post( array( 'ID' => $attachment_id, 'menu_order' => $menu_order ) ); - } - - wp_send_json_success(); -} - -/** - * Ajax handler for sending an attachment to the editor. - * - * Generates the HTML to send an attachment to the editor. - * Backwards compatible with the media_send_to_editor filter - * and the chain of filters that follow. - * - * @since 3.5.0 - */ -function wp_ajax_send_attachment_to_editor() { - check_ajax_referer( 'media-send-to-editor', 'nonce' ); - - $attachment = wp_unslash( $_POST['attachment'] ); - - $id = intval( $attachment['id'] ); - - if ( ! $post = get_post( $id ) ) - wp_send_json_error(); - - if ( 'attachment' != $post->post_type ) - wp_send_json_error(); - - if ( current_user_can( 'edit_post', $id ) ) { - // If this attachment is unattached, attach it. Primarily a back compat thing. - if ( 0 == $post->post_parent && $insert_into_post_id = intval( $_POST['post_id'] ) ) { - wp_update_post( array( 'ID' => $id, 'post_parent' => $insert_into_post_id ) ); - } - } - - $rel = $url = ''; - $html = isset( $attachment['post_title'] ) ? $attachment['post_title'] : ''; - if ( ! empty( $attachment['url'] ) ) { - $url = $attachment['url']; - if ( strpos( $url, 'attachment_id') || get_attachment_link( $id ) == $url ) - $rel = ' rel="attachment wp-att-' . $id . '"'; - $html = '' . $html . ''; - } - - remove_filter( 'media_send_to_editor', 'image_media_send_to_editor' ); - - if ( 'image' === substr( $post->post_mime_type, 0, 5 ) ) { - $align = isset( $attachment['align'] ) ? $attachment['align'] : 'none'; - $size = isset( $attachment['image-size'] ) ? $attachment['image-size'] : 'medium'; - $alt = isset( $attachment['image_alt'] ) ? $attachment['image_alt'] : ''; - $caption = isset( $attachment['post_excerpt'] ) ? $attachment['post_excerpt'] : ''; - $title = ''; // We no longer insert title tags into tags, as they are redundant. - $html = get_image_send_to_editor( $id, $caption, $title, $align, $url, (bool) $rel, $size, $alt ); - } elseif ( 'video' === substr( $post->post_mime_type, 0, 5 ) || 'audio' === substr( $post->post_mime_type, 0, 5 ) ) { - $html = stripslashes_deep( $_POST['html'] ); - } - - /** This filter is documented in wp-admin/includes/media.php */ - $html = apply_filters( 'media_send_to_editor', $html, $id, $attachment ); - - wp_send_json_success( $html ); -} - -/** - * Ajax handler for sending a link to the editor. - * - * Generates the HTML to send a non-image embed link to the editor. - * - * Backwards compatible with the following filters: - * - file_send_to_editor_url - * - audio_send_to_editor_url - * - video_send_to_editor_url - * - * @since 3.5.0 - */ -function wp_ajax_send_link_to_editor() { - global $post, $wp_embed; - - check_ajax_referer( 'media-send-to-editor', 'nonce' ); - - if ( ! $src = wp_unslash( $_POST['src'] ) ) - wp_send_json_error(); - - if ( ! strpos( $src, '://' ) ) - $src = 'http://' . $src; - - if ( ! $src = esc_url_raw( $src ) ) - wp_send_json_error(); - - if ( ! $title = trim( wp_unslash( $_POST['title'] ) ) ) - $title = wp_basename( $src ); - - $post = get_post( isset( $_POST['post_id'] ) ? $_POST['post_id'] : 0 ); - - // Ping WordPress for an embed. - $check_embed = $wp_embed->run_shortcode( '[embed]'. $src .'[/embed]' ); - - // Fallback that WordPress creates when no oEmbed was found. - $fallback = $wp_embed->maybe_make_link( $src ); - - if ( $check_embed !== $fallback ) { - // TinyMCE view for [embed] will parse this - $html = '[embed]' . $src . '[/embed]'; - } elseif ( $title ) { - $html = '' . $title . ''; - } else { - $html = ''; - } - - // Figure out what filter to run: - $type = 'file'; - if ( ( $ext = preg_replace( '/^.+?\.([^.]+)$/', '$1', $src ) ) && ( $ext_type = wp_ext2type( $ext ) ) - && ( 'audio' == $ext_type || 'video' == $ext_type ) ) - $type = $ext_type; - - /** This filter is documented in wp-admin/includes/media.php */ - $html = apply_filters( $type . '_send_to_editor_url', $html, $src, $title ); - - wp_send_json_success( $html ); -} - -/** - * Ajax handler for the Heartbeat API. - * - * Runs when the user is logged in. - * - * @since 3.6.0 - */ -function wp_ajax_heartbeat() { - if ( empty( $_POST['_nonce'] ) ) - wp_send_json_error(); - - $response = array(); - - if ( false === wp_verify_nonce( $_POST['_nonce'], 'heartbeat-nonce' ) ) { - // User is logged in but nonces have expired. - $response['nonces_expired'] = true; - wp_send_json($response); - } - - // screen_id is the same as $current_screen->id and the JS global 'pagenow'. - if ( ! empty($_POST['screen_id']) ) - $screen_id = sanitize_key($_POST['screen_id']); - else - $screen_id = 'front'; - - if ( ! empty($_POST['data']) ) { - $data = wp_unslash( (array) $_POST['data'] ); - - /** - * Filter the Heartbeat response received. - * - * @since 3.6.0 - * - * @param array|object $response The Heartbeat response object or array. - * @param array $data The $_POST data sent. - * @param string $screen_id The screen id. - */ - $response = apply_filters( 'heartbeat_received', $response, $data, $screen_id ); - } - - /** - * Filter the Heartbeat response sent. - * - * @since 3.6.0 - * - * @param array|object $response The Heartbeat response object or array. - * @param string $screen_id The screen id. - */ - $response = apply_filters( 'heartbeat_send', $response, $screen_id ); - - /** - * Fires when Heartbeat ticks in logged-in environments. - * - * Allows the transport to be easily replaced with long-polling. - * - * @since 3.6.0 - * - * @param array|object $response The Heartbeat response object or array. - * @param string $screen_id The screen id. - */ - do_action( 'heartbeat_tick', $response, $screen_id ); - - // Send the current time according to the server - $response['server_time'] = time(); - - wp_send_json($response); -} - -/** - * Ajax handler for getting revision diffs. - * - * @since 3.6.0 - */ -function wp_ajax_get_revision_diffs() { - require ABSPATH . 'wp-admin/includes/revision.php'; - - if ( ! $post = get_post( (int) $_REQUEST['post_id'] ) ) - wp_send_json_error(); - - if ( ! current_user_can( 'read_post', $post->ID ) ) - wp_send_json_error(); - - // Really just pre-loading the cache here. - if ( ! $revisions = wp_get_post_revisions( $post->ID, array( 'check_enabled' => false ) ) ) - wp_send_json_error(); - - $return = array(); - @set_time_limit( 0 ); - - foreach ( $_REQUEST['compare'] as $compare_key ) { - list( $compare_from, $compare_to ) = explode( ':', $compare_key ); // from:to - - $return[] = array( - 'id' => $compare_key, - 'fields' => wp_get_revision_ui_diff( $post, $compare_from, $compare_to ), - ); - } - wp_send_json_success( $return ); -} - -/** - * Ajax handler for auto-saving the selected color scheme for - * a user's own profile. - * - * @since 3.8.0 - */ -function wp_ajax_save_user_color_scheme() { - global $_wp_admin_css_colors; - - check_ajax_referer( 'save-color-scheme', 'nonce' ); - - $color_scheme = sanitize_key( $_POST['color_scheme'] ); - - if ( ! isset( $_wp_admin_css_colors[ $color_scheme ] ) ) { - wp_send_json_error(); - } - - update_user_meta( get_current_user_id(), 'admin_color', $color_scheme ); - wp_send_json_success(); -} - -/** - * Ajax handler for getting themes from themes_api(). - * - * @since 3.9.0 - */ -function wp_ajax_query_themes() { - global $themes_allowedtags, $theme_field_defaults; - - if ( ! current_user_can( 'install_themes' ) ) { - wp_send_json_error(); - } - - $args = wp_parse_args( wp_unslash( $_REQUEST['request'] ), array( - 'per_page' => 20, - 'fields' => $theme_field_defaults - ) ); - - $old_filter = isset( $args['browse'] ) ? $args['browse'] : 'search'; - - /** This filter is documented in wp-admin/includes/class-wp-theme-install-list-table.php */ - $args = apply_filters( 'install_themes_table_api_args_' . $old_filter, $args ); - - $api = themes_api( 'query_themes', $args ); - - if ( is_wp_error( $api ) ) { - wp_send_json_error(); - } - - $update_php = network_admin_url( 'update.php?action=install-theme' ); - foreach ( $api->themes as &$theme ) { - $theme->install_url = add_query_arg( array( - 'theme' => $theme->slug, - '_wpnonce' => wp_create_nonce( 'install-theme_' . $theme->slug ) - ), $update_php ); - - $theme->name = wp_kses( $theme->name, $themes_allowedtags ); - $theme->author = wp_kses( $theme->author, $themes_allowedtags ); - $theme->version = wp_kses( $theme->version, $themes_allowedtags ); - $theme->description = wp_kses( $theme->description, $themes_allowedtags ); - $theme->num_ratings = sprintf( _n( '(based on %s rating)', '(based on %s ratings)', $theme->num_ratings ), number_format_i18n( $theme->num_ratings ) ); - $theme->preview_url = set_url_scheme( $theme->preview_url ); - } - - wp_send_json_success( $api ); -} - -/** - * Apply [embed] AJAX handlers to a string. - * - * @since 4.0.0 - * - * @global WP_Post $post Global $post. - * @global WP_Embed $wp_embed Embed API instance. - */ -function wp_ajax_parse_embed() { - global $post, $wp_embed; - - if ( ! $post = get_post( (int) $_POST['post_ID'] ) ) { - wp_send_json_error(); - } - - if ( empty( $_POST['shortcode'] ) || ! current_user_can( 'edit_post', $post->ID ) ) { - wp_send_json_error(); - } - - $shortcode = wp_unslash( $_POST['shortcode'] ); - $url = str_replace( '[embed]', '', str_replace( '[/embed]', '', $shortcode ) ); - $parsed = false; - setup_postdata( $post ); - - $wp_embed->return_false_on_fail = true; - - if ( is_ssl() && preg_match( '%^\\[embed[^\\]]*\\]http://%i', $shortcode ) ) { - // Admin is ssl and the user pasted non-ssl URL. - // Check if the provider supports ssl embeds and use that for the preview. - $ssl_shortcode = preg_replace( '%^(\\[embed[^\\]]*\\])http://%i', '$1https://', $shortcode ); - $parsed = $wp_embed->run_shortcode( $ssl_shortcode ); - - if ( ! $parsed ) { - $no_ssl_support = true; - } - } - - if ( ! $parsed ) { - $parsed = $wp_embed->run_shortcode( $shortcode ); - } - - if ( ! $parsed ) { - wp_send_json_error( array( - 'type' => 'not-embeddable', - 'message' => sprintf( __( '%s failed to embed.' ), '' . esc_html( $url ) . '' ), - ) ); - } - - if ( has_shortcode( $parsed, 'audio' ) || has_shortcode( $parsed, 'video' ) ) { - $styles = ''; - $mce_styles = wpview_media_sandbox_styles(); - foreach ( $mce_styles as $style ) { - $styles .= sprintf( '', $style ); - } - - $html = do_shortcode( $parsed ); - - global $wp_scripts; - if ( ! empty( $wp_scripts ) ) { - $wp_scripts->done = array(); - } - ob_start(); - wp_print_scripts( 'wp-mediaelement' ); - $scripts = ob_get_clean(); - - $parsed = $styles . $html . $scripts; - } - - - if ( ! empty( $no_ssl_support ) || ( is_ssl() && ( preg_match( '%<(iframe|script|embed) [^>]*src="http://%', $parsed ) || - preg_match( '%]*href="http://%', $parsed ) ) ) ) { - // Admin is ssl and the embed is not. Iframes, scripts, and other "active content" will be blocked. - wp_send_json_error( array( - 'type' => 'not-ssl', - 'message' => sprintf( __( 'Preview not available. %s cannot be embedded securely.' ), '' . esc_html( $url ) . '' ), - ) ); - } - - wp_send_json_success( array( - 'body' => $parsed - ) ); -} - -function wp_ajax_parse_media_shortcode() { - global $post, $wp_scripts; - - if ( ! $post = get_post( (int) $_POST['post_ID'] ) ) { - wp_send_json_error(); - } - - if ( empty( $_POST['shortcode'] ) || ! current_user_can( 'edit_post', $post->ID ) ) { - wp_send_json_error(); - } - - setup_postdata( $post ); - $shortcode = do_shortcode( wp_unslash( $_POST['shortcode'] ) ); - - if ( empty( $shortcode ) ) { - wp_send_json_error( array( - 'type' => 'no-items', - 'message' => __( 'No items found.' ), - ) ); - } - - $head = ''; - $styles = wpview_media_sandbox_styles(); - - foreach ( $styles as $style ) { - $head .= ''; - } - - if ( ! empty( $wp_scripts ) ) { - $wp_scripts->done = array(); - } - - ob_start(); - - echo $shortcode; - - if ( 'playlist' === $_REQUEST['type'] ) { - wp_underscore_playlist_templates(); - - wp_print_scripts( 'wp-playlist' ); - } else { - wp_print_scripts( 'wp-mediaelement' ); - } - - wp_send_json_success( array( - 'head' => $head, - 'body' => ob_get_clean() - ) ); -} diff --git a/sources/wordpress/wp-admin/includes/bookmark.php b/sources/wordpress/wp-admin/includes/bookmark.php deleted file mode 100644 index 43ccd41..0000000 --- a/sources/wordpress/wp-admin/includes/bookmark.php +++ /dev/null @@ -1,305 +0,0 @@ -link_url = esc_url( wp_unslash( $_GET['linkurl'] ) ); - else - $link->link_url = ''; - - if ( isset( $_GET['name'] ) ) - $link->link_name = esc_attr( wp_unslash( $_GET['name'] ) ); - else - $link->link_name = ''; - - $link->link_visible = 'Y'; - - return $link; -} - -/** - * Delete link specified from database. - * - * @since 2.0.0 - * - * @param int $link_id ID of the link to delete - * @return bool True - */ -function wp_delete_link( $link_id ) { - global $wpdb; - /** - * Fires before a link is deleted. - * - * @since 2.0.0 - * - * @param int $link_id ID of the link to delete. - */ - do_action( 'delete_link', $link_id ); - - wp_delete_object_term_relationships( $link_id, 'link_category' ); - - $wpdb->delete( $wpdb->links, array( 'link_id' => $link_id ) ); - /** - * Fires after a link has been deleted. - * - * @since 2.2.0 - * - * @param int $link_id ID of the deleted link. - */ - do_action( 'deleted_link', $link_id ); - - clean_bookmark_cache( $link_id ); - - return true; -} - -/** - * Retrieves the link categories associated with the link specified. - * - * @since 2.1.0 - * - * @param int $link_id Link ID to look up - * @return array The requested link's categories - */ -function wp_get_link_cats( $link_id = 0 ) { - - $cats = wp_get_object_terms( $link_id, 'link_category', array('fields' => 'ids') ); - - return array_unique( $cats ); -} - -/** - * Retrieve link data based on ID. - * - * @since 2.0.0 - * - * @param int $link_id ID of link to retrieve - * @return object Link for editing - */ -function get_link_to_edit( $link_id ) { - return get_bookmark( $link_id, OBJECT, 'edit' ); -} - -/** - * This function inserts/updates links into/in the database. - * - * @since 2.0.0 - * - * @param array $linkdata Elements that make up the link to insert. - * @param bool $wp_error Optional. If true return WP_Error object on failure. - * @return int|WP_Error Value 0 or WP_Error on failure. The link ID on success. - */ -function wp_insert_link( $linkdata, $wp_error = false ) { - global $wpdb; - - $defaults = array( 'link_id' => 0, 'link_name' => '', 'link_url' => '', 'link_rating' => 0 ); - - $args = wp_parse_args( $linkdata, $defaults ); - $r = wp_unslash( sanitize_bookmark( $args, 'db' ) ); - - $link_id = $r['link_id']; - $link_name = $r['link_name']; - $link_url = $r['link_url']; - - $update = false; - if ( ! empty( $link_id ) ) { - $update = true; - } - - if ( trim( $link_name ) == '' ) { - if ( trim( $link_url ) != '' ) { - $link_name = $link_url; - } else { - return 0; - } - } - - if ( trim( $link_url ) == '' ) { - return 0; - } - - $link_rating = ( ! empty( $r['link_rating'] ) ) ? $r['link_rating'] : 0; - $link_image = ( ! empty( $r['link_image'] ) ) ? $r['link_image'] : ''; - $link_target = ( ! empty( $r['link_target'] ) ) ? $r['link_target'] : ''; - $link_visible = ( ! empty( $r['link_visible'] ) ) ? $r['link_visible'] : 'Y'; - $link_owner = ( ! empty( $r['link_owner'] ) ) ? $r['link_owner'] : get_current_user_id(); - $link_notes = ( ! empty( $r['link_notes'] ) ) ? $r['link_notes'] : ''; - $link_description = ( ! empty( $r['link_description'] ) ) ? $r['link_description'] : ''; - $link_rss = ( ! empty( $r['link_rss'] ) ) ? $r['link_rss'] : ''; - $link_rel = ( ! empty( $r['link_rel'] ) ) ? $r['link_rel'] : ''; - $link_category = ( ! empty( $r['link_category'] ) ) ? $r['link_category'] : array(); - - // Make sure we set a valid category - if ( ! is_array( $link_category ) || 0 == count( $link_category ) ) { - $link_category = array( get_option( 'default_link_category' ) ); - } - - if ( $update ) { - if ( false === $wpdb->update( $wpdb->links, compact( 'link_url', 'link_name', 'link_image', 'link_target', 'link_description', 'link_visible', 'link_rating', 'link_rel', 'link_notes', 'link_rss' ), compact( 'link_id' ) ) ) { - if ( $wp_error ) { - return new WP_Error( 'db_update_error', __( 'Could not update link in the database' ), $wpdb->last_error ); - } else { - return 0; - } - } - } else { - if ( false === $wpdb->insert( $wpdb->links, compact( 'link_url', 'link_name', 'link_image', 'link_target', 'link_description', 'link_visible', 'link_owner', 'link_rating', 'link_rel', 'link_notes', 'link_rss' ) ) ) { - if ( $wp_error ) { - return new WP_Error( 'db_insert_error', __( 'Could not insert link into the database' ), $wpdb->last_error ); - } else { - return 0; - } - } - $link_id = (int) $wpdb->insert_id; - } - - wp_set_link_cats( $link_id, $link_category ); - - if ( $update ) { - /** - * Fires after a link was updated in the database. - * - * @since 2.0.0 - * - * @param int $link_id ID of the link that was updated. - */ - do_action( 'edit_link', $link_id ); - } else { - /** - * Fires after a link was added to the database. - * - * @since 2.0.0 - * - * @param int $link_id ID of the link that was added. - */ - do_action( 'add_link', $link_id ); - } - clean_bookmark_cache( $link_id ); - - return $link_id; -} - -/** - * Update link with the specified link categories. - * - * @since 2.1.0 - * - * @param int $link_id ID of link to update - * @param array $link_categories Array of categories to - */ -function wp_set_link_cats( $link_id = 0, $link_categories = array() ) { - // If $link_categories isn't already an array, make it one: - if ( !is_array( $link_categories ) || 0 == count( $link_categories ) ) - $link_categories = array( get_option( 'default_link_category' ) ); - - $link_categories = array_map( 'intval', $link_categories ); - $link_categories = array_unique( $link_categories ); - - wp_set_object_terms( $link_id, $link_categories, 'link_category' ); - - clean_bookmark_cache( $link_id ); -} - -/** - * Update a link in the database. - * - * @since 2.0.0 - * - * @param array $linkdata Link data to update. - * @return int|WP_Error Value 0 or WP_Error on failure. The updated link ID on success. - */ -function wp_update_link( $linkdata ) { - $link_id = (int) $linkdata['link_id']; - - $link = get_bookmark( $link_id, ARRAY_A ); - - // Escape data pulled from DB. - $link = wp_slash( $link ); - - // Passed link category list overwrites existing category list if not empty. - if ( isset( $linkdata['link_category'] ) && is_array( $linkdata['link_category'] ) - && 0 != count( $linkdata['link_category'] ) ) - $link_cats = $linkdata['link_category']; - else - $link_cats = $link['link_category']; - - // Merge old and new fields with new fields overwriting old ones. - $linkdata = array_merge( $link, $linkdata ); - $linkdata['link_category'] = $link_cats; - - return wp_insert_link( $linkdata ); -} - -/** - * @since 3.5.0 - * @access private - */ -function wp_link_manager_disabled_message() { - global $pagenow; - if ( 'link-manager.php' != $pagenow && 'link-add.php' != $pagenow && 'link.php' != $pagenow ) - return; - - add_filter( 'pre_option_link_manager_enabled', '__return_true', 100 ); - $really_can_manage_links = current_user_can( 'manage_links' ); - remove_filter( 'pre_option_link_manager_enabled', '__return_true', 100 ); - - if ( $really_can_manage_links && current_user_can( 'install_plugins' ) ) { - $link = network_admin_url( 'plugin-install.php?tab=search&s=Link+Manager' ); - wp_die( sprintf( __( 'If you are looking to use the link manager, please install the Link Manager plugin.' ), $link ) ); - } - - wp_die( __( 'You do not have sufficient permissions to edit the links for this site.' ) ); -} -add_action( 'admin_page_access_denied', 'wp_link_manager_disabled_message' ); diff --git a/sources/wordpress/wp-admin/includes/class-ftp-pure.php b/sources/wordpress/wp-admin/includes/class-ftp-pure.php deleted file mode 100644 index bb7742a..0000000 --- a/sources/wordpress/wp-admin/includes/class-ftp-pure.php +++ /dev/null @@ -1,190 +0,0 @@ -__construct($verb, $le); - } - - function __construct($verb=FALSE, $le=FALSE) { - parent::__construct(false, $verb, $le); - } - -// -// -// - - function _settimeout($sock) { - if(!@stream_set_timeout($sock, $this->_timeout)) { - $this->PushError('_settimeout','socket set send timeout'); - $this->_quit(); - return FALSE; - } - return TRUE; - } - - function _connect($host, $port) { - $this->SendMSG("Creating socket"); - $sock = @fsockopen($host, $port, $errno, $errstr, $this->_timeout); - if (!$sock) { - $this->PushError('_connect','socket connect failed', $errstr." (".$errno.")"); - return FALSE; - } - $this->_connected=true; - return $sock; - } - - function _readmsg($fnction="_readmsg"){ - if(!$this->_connected) { - $this->PushError($fnction, 'Connect first'); - return FALSE; - } - $result=true; - $this->_message=""; - $this->_code=0; - $go=true; - do { - $tmp=@fgets($this->_ftp_control_sock, 512); - if($tmp===false) { - $go=$result=false; - $this->PushError($fnction,'Read failed'); - } else { - $this->_message.=$tmp; - if(preg_match("/^([0-9]{3})(-(.*[".CRLF."]{1,2})+\\1)? [^".CRLF."]+[".CRLF."]{1,2}$/", $this->_message, $regs)) $go=false; - } - } while($go); - if($this->LocalEcho) echo "GET < ".rtrim($this->_message, CRLF).CRLF; - $this->_code=(int)$regs[1]; - return $result; - } - - function _exec($cmd, $fnction="_exec") { - if(!$this->_ready) { - $this->PushError($fnction,'Connect first'); - return FALSE; - } - if($this->LocalEcho) echo "PUT > ",$cmd,CRLF; - $status=@fputs($this->_ftp_control_sock, $cmd.CRLF); - if($status===false) { - $this->PushError($fnction,'socket write failed'); - return FALSE; - } - $this->_lastaction=time(); - if(!$this->_readmsg($fnction)) return FALSE; - return TRUE; - } - - function _data_prepare($mode=FTP_ASCII) { - if(!$this->_settype($mode)) return FALSE; - if($this->_passive) { - if(!$this->_exec("PASV", "pasv")) { - $this->_data_close(); - return FALSE; - } - if(!$this->_checkCode()) { - $this->_data_close(); - return FALSE; - } - $ip_port = explode(",", ereg_replace("^.+ \\(?([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]+,[0-9]+)\\)?.*".CRLF."$", "\\1", $this->_message)); - $this->_datahost=$ip_port[0].".".$ip_port[1].".".$ip_port[2].".".$ip_port[3]; - $this->_dataport=(((int)$ip_port[4])<<8) + ((int)$ip_port[5]); - $this->SendMSG("Connecting to ".$this->_datahost.":".$this->_dataport); - $this->_ftp_data_sock=@fsockopen($this->_datahost, $this->_dataport, $errno, $errstr, $this->_timeout); - if(!$this->_ftp_data_sock) { - $this->PushError("_data_prepare","fsockopen fails", $errstr." (".$errno.")"); - $this->_data_close(); - return FALSE; - } - else $this->_ftp_data_sock; - } else { - $this->SendMSG("Only passive connections available!"); - return FALSE; - } - return TRUE; - } - - function _data_read($mode=FTP_ASCII, $fp=NULL) { - if(is_resource($fp)) $out=0; - else $out=""; - if(!$this->_passive) { - $this->SendMSG("Only passive connections available!"); - return FALSE; - } - while (!feof($this->_ftp_data_sock)) { - $block=fread($this->_ftp_data_sock, $this->_ftp_buff_size); - if($mode!=FTP_BINARY) $block=preg_replace("/\r\n|\r|\n/", $this->_eol_code[$this->OS_local], $block); - if(is_resource($fp)) $out+=fwrite($fp, $block, strlen($block)); - else $out.=$block; - } - return $out; - } - - function _data_write($mode=FTP_ASCII, $fp=NULL) { - if(is_resource($fp)) $out=0; - else $out=""; - if(!$this->_passive) { - $this->SendMSG("Only passive connections available!"); - return FALSE; - } - if(is_resource($fp)) { - while(!feof($fp)) { - $block=fread($fp, $this->_ftp_buff_size); - if(!$this->_data_write_block($mode, $block)) return false; - } - } elseif(!$this->_data_write_block($mode, $fp)) return false; - return TRUE; - } - - function _data_write_block($mode, $block) { - if($mode!=FTP_BINARY) $block=preg_replace("/\r\n|\r|\n/", $this->_eol_code[$this->OS_remote], $block); - do { - if(($t=@fwrite($this->_ftp_data_sock, $block))===FALSE) { - $this->PushError("_data_write","Can't write to socket"); - return FALSE; - } - $block=substr($block, $t); - } while(!empty($block)); - return true; - } - - function _data_close() { - @fclose($this->_ftp_data_sock); - $this->SendMSG("Disconnected data from remote host"); - return TRUE; - } - - function _quit($force=FALSE) { - if($this->_connected or $force) { - @fclose($this->_ftp_control_sock); - $this->_connected=false; - $this->SendMSG("Socket closed"); - } - } -} - -?> diff --git a/sources/wordpress/wp-admin/includes/class-ftp-sockets.php b/sources/wordpress/wp-admin/includes/class-ftp-sockets.php deleted file mode 100644 index f9ea6cd..0000000 --- a/sources/wordpress/wp-admin/includes/class-ftp-sockets.php +++ /dev/null @@ -1,250 +0,0 @@ -__construct($verb, $le); - } - - function __construct($verb=FALSE, $le=FALSE) { - parent::__construct(true, $verb, $le); - } - -// -// -// - - function _settimeout($sock) { - if(!@socket_set_option($sock, SOL_SOCKET, SO_RCVTIMEO, array("sec"=>$this->_timeout, "usec"=>0))) { - $this->PushError('_connect','socket set receive timeout',socket_strerror(socket_last_error($sock))); - @socket_close($sock); - return FALSE; - } - if(!@socket_set_option($sock, SOL_SOCKET , SO_SNDTIMEO, array("sec"=>$this->_timeout, "usec"=>0))) { - $this->PushError('_connect','socket set send timeout',socket_strerror(socket_last_error($sock))); - @socket_close($sock); - return FALSE; - } - return true; - } - - function _connect($host, $port) { - $this->SendMSG("Creating socket"); - if(!($sock = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP))) { - $this->PushError('_connect','socket create failed',socket_strerror(socket_last_error($sock))); - return FALSE; - } - if(!$this->_settimeout($sock)) return FALSE; - $this->SendMSG("Connecting to \"".$host.":".$port."\""); - if (!($res = @socket_connect($sock, $host, $port))) { - $this->PushError('_connect','socket connect failed',socket_strerror(socket_last_error($sock))); - @socket_close($sock); - return FALSE; - } - $this->_connected=true; - return $sock; - } - - function _readmsg($fnction="_readmsg"){ - if(!$this->_connected) { - $this->PushError($fnction,'Connect first'); - return FALSE; - } - $result=true; - $this->_message=""; - $this->_code=0; - $go=true; - do { - $tmp=@socket_read($this->_ftp_control_sock, 4096, PHP_BINARY_READ); - if($tmp===false) { - $go=$result=false; - $this->PushError($fnction,'Read failed', socket_strerror(socket_last_error($this->_ftp_control_sock))); - } else { - $this->_message.=$tmp; - $go = !preg_match("/^([0-9]{3})(-.+\\1)? [^".CRLF."]+".CRLF."$/Us", $this->_message, $regs); - } - } while($go); - if($this->LocalEcho) echo "GET < ".rtrim($this->_message, CRLF).CRLF; - $this->_code=(int)$regs[1]; - return $result; - } - - function _exec($cmd, $fnction="_exec") { - if(!$this->_ready) { - $this->PushError($fnction,'Connect first'); - return FALSE; - } - if($this->LocalEcho) echo "PUT > ",$cmd,CRLF; - $status=@socket_write($this->_ftp_control_sock, $cmd.CRLF); - if($status===false) { - $this->PushError($fnction,'socket write failed', socket_strerror(socket_last_error($this->stream))); - return FALSE; - } - $this->_lastaction=time(); - if(!$this->_readmsg($fnction)) return FALSE; - return TRUE; - } - - function _data_prepare($mode=FTP_ASCII) { - if(!$this->_settype($mode)) return FALSE; - $this->SendMSG("Creating data socket"); - $this->_ftp_data_sock = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP); - if ($this->_ftp_data_sock < 0) { - $this->PushError('_data_prepare','socket create failed',socket_strerror(socket_last_error($this->_ftp_data_sock))); - return FALSE; - } - if(!$this->_settimeout($this->_ftp_data_sock)) { - $this->_data_close(); - return FALSE; - } - if($this->_passive) { - if(!$this->_exec("PASV", "pasv")) { - $this->_data_close(); - return FALSE; - } - if(!$this->_checkCode()) { - $this->_data_close(); - return FALSE; - } - $ip_port = explode(",", ereg_replace("^.+ \\(?([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]+,[0-9]+)\\)?.*".CRLF."$", "\\1", $this->_message)); - $this->_datahost=$ip_port[0].".".$ip_port[1].".".$ip_port[2].".".$ip_port[3]; - $this->_dataport=(((int)$ip_port[4])<<8) + ((int)$ip_port[5]); - $this->SendMSG("Connecting to ".$this->_datahost.":".$this->_dataport); - if(!@socket_connect($this->_ftp_data_sock, $this->_datahost, $this->_dataport)) { - $this->PushError("_data_prepare","socket_connect", socket_strerror(socket_last_error($this->_ftp_data_sock))); - $this->_data_close(); - return FALSE; - } - else $this->_ftp_temp_sock=$this->_ftp_data_sock; - } else { - if(!@socket_getsockname($this->_ftp_control_sock, $addr, $port)) { - $this->PushError("_data_prepare","can't get control socket information", socket_strerror(socket_last_error($this->_ftp_control_sock))); - $this->_data_close(); - return FALSE; - } - if(!@socket_bind($this->_ftp_data_sock,$addr)){ - $this->PushError("_data_prepare","can't bind data socket", socket_strerror(socket_last_error($this->_ftp_data_sock))); - $this->_data_close(); - return FALSE; - } - if(!@socket_listen($this->_ftp_data_sock)) { - $this->PushError("_data_prepare","can't listen data socket", socket_strerror(socket_last_error($this->_ftp_data_sock))); - $this->_data_close(); - return FALSE; - } - if(!@socket_getsockname($this->_ftp_data_sock, $this->_datahost, $this->_dataport)) { - $this->PushError("_data_prepare","can't get data socket information", socket_strerror(socket_last_error($this->_ftp_data_sock))); - $this->_data_close(); - return FALSE; - } - if(!$this->_exec('PORT '.str_replace('.',',',$this->_datahost.'.'.($this->_dataport>>8).'.'.($this->_dataport&0x00FF)), "_port")) { - $this->_data_close(); - return FALSE; - } - if(!$this->_checkCode()) { - $this->_data_close(); - return FALSE; - } - } - return TRUE; - } - - function _data_read($mode=FTP_ASCII, $fp=NULL) { - $NewLine=$this->_eol_code[$this->OS_local]; - if(is_resource($fp)) $out=0; - else $out=""; - if(!$this->_passive) { - $this->SendMSG("Connecting to ".$this->_datahost.":".$this->_dataport); - $this->_ftp_temp_sock=socket_accept($this->_ftp_data_sock); - if($this->_ftp_temp_sock===FALSE) { - $this->PushError("_data_read","socket_accept", socket_strerror(socket_last_error($this->_ftp_temp_sock))); - $this->_data_close(); - return FALSE; - } - } - - while(($block=@socket_read($this->_ftp_temp_sock, $this->_ftp_buff_size, PHP_BINARY_READ))!==false) { - if($block==="") break; - if($mode!=FTP_BINARY) $block=preg_replace("/\r\n|\r|\n/", $this->_eol_code[$this->OS_local], $block); - if(is_resource($fp)) $out+=fwrite($fp, $block, strlen($block)); - else $out.=$block; - } - return $out; - } - - function _data_write($mode=FTP_ASCII, $fp=NULL) { - $NewLine=$this->_eol_code[$this->OS_local]; - if(is_resource($fp)) $out=0; - else $out=""; - if(!$this->_passive) { - $this->SendMSG("Connecting to ".$this->_datahost.":".$this->_dataport); - $this->_ftp_temp_sock=socket_accept($this->_ftp_data_sock); - if($this->_ftp_temp_sock===FALSE) { - $this->PushError("_data_write","socket_accept", socket_strerror(socket_last_error($this->_ftp_temp_sock))); - $this->_data_close(); - return false; - } - } - if(is_resource($fp)) { - while(!feof($fp)) { - $block=fread($fp, $this->_ftp_buff_size); - if(!$this->_data_write_block($mode, $block)) return false; - } - } elseif(!$this->_data_write_block($mode, $fp)) return false; - return true; - } - - function _data_write_block($mode, $block) { - if($mode!=FTP_BINARY) $block=preg_replace("/\r\n|\r|\n/", $this->_eol_code[$this->OS_remote], $block); - do { - if(($t=@socket_write($this->_ftp_temp_sock, $block))===FALSE) { - $this->PushError("_data_write","socket_write", socket_strerror(socket_last_error($this->_ftp_temp_sock))); - $this->_data_close(); - return FALSE; - } - $block=substr($block, $t); - } while(!empty($block)); - return true; - } - - function _data_close() { - @socket_close($this->_ftp_temp_sock); - @socket_close($this->_ftp_data_sock); - $this->SendMSG("Disconnected data from remote host"); - return TRUE; - } - - function _quit() { - if($this->_connected) { - @socket_close($this->_ftp_control_sock); - $this->_connected=false; - $this->SendMSG("Socket closed"); - } - } -} -?> diff --git a/sources/wordpress/wp-admin/includes/class-ftp.php b/sources/wordpress/wp-admin/includes/class-ftp.php deleted file mode 100644 index f068f15..0000000 --- a/sources/wordpress/wp-admin/includes/class-ftp.php +++ /dev/null @@ -1,907 +0,0 @@ -__construct($port_mode); - } - - function __construct($port_mode=FALSE, $verb=FALSE, $le=FALSE) { - $this->LocalEcho=$le; - $this->Verbose=$verb; - $this->_lastaction=NULL; - $this->_error_array=array(); - $this->_eol_code=array(FTP_OS_Unix=>"\n", FTP_OS_Mac=>"\r", FTP_OS_Windows=>"\r\n"); - $this->AuthorizedTransferMode=array(FTP_AUTOASCII, FTP_ASCII, FTP_BINARY); - $this->OS_FullName=array(FTP_OS_Unix => 'UNIX', FTP_OS_Windows => 'WINDOWS', FTP_OS_Mac => 'MACOS'); - $this->AutoAsciiExt=array("ASP","BAT","C","CPP","CSS","CSV","JS","H","HTM","HTML","SHTML","INI","LOG","PHP3","PHTML","PL","PERL","SH","SQL","TXT"); - $this->_port_available=($port_mode==TRUE); - $this->SendMSG("Staring FTP client class".($this->_port_available?"":" without PORT mode support")); - $this->_connected=FALSE; - $this->_ready=FALSE; - $this->_can_restore=FALSE; - $this->_code=0; - $this->_message=""; - $this->_ftp_buff_size=4096; - $this->_curtype=NULL; - $this->SetUmask(0022); - $this->SetType(FTP_AUTOASCII); - $this->SetTimeout(30); - $this->Passive(!$this->_port_available); - $this->_login="anonymous"; - $this->_password="anon@ftp.com"; - $this->_features=array(); - $this->OS_local=FTP_OS_Unix; - $this->OS_remote=FTP_OS_Unix; - $this->features=array(); - if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') $this->OS_local=FTP_OS_Windows; - elseif(strtoupper(substr(PHP_OS, 0, 3)) === 'MAC') $this->OS_local=FTP_OS_Mac; - } - -// -// -// - - function parselisting($line) { - $is_windows = ($this->OS_remote == FTP_OS_Windows); - if ($is_windows && preg_match("/([0-9]{2})-([0-9]{2})-([0-9]{2}) +([0-9]{2}):([0-9]{2})(AM|PM) +([0-9]+|) +(.+)/",$line,$lucifer)) { - $b = array(); - if ($lucifer[3]<70) { $lucifer[3]+=2000; } else { $lucifer[3]+=1900; } // 4digit year fix - $b['isdir'] = ($lucifer[7]==""); - if ( $b['isdir'] ) - $b['type'] = 'd'; - else - $b['type'] = 'f'; - $b['size'] = $lucifer[7]; - $b['month'] = $lucifer[1]; - $b['day'] = $lucifer[2]; - $b['year'] = $lucifer[3]; - $b['hour'] = $lucifer[4]; - $b['minute'] = $lucifer[5]; - $b['time'] = @mktime($lucifer[4]+(strcasecmp($lucifer[6],"PM")==0?12:0),$lucifer[5],0,$lucifer[1],$lucifer[2],$lucifer[3]); - $b['am/pm'] = $lucifer[6]; - $b['name'] = $lucifer[8]; - } else if (!$is_windows && $lucifer=preg_split("/[ ]/",$line,9,PREG_SPLIT_NO_EMPTY)) { - //echo $line."\n"; - $lcount=count($lucifer); - if ($lcount<8) return ''; - $b = array(); - $b['isdir'] = $lucifer[0]{0} === "d"; - $b['islink'] = $lucifer[0]{0} === "l"; - if ( $b['isdir'] ) - $b['type'] = 'd'; - elseif ( $b['islink'] ) - $b['type'] = 'l'; - else - $b['type'] = 'f'; - $b['perms'] = $lucifer[0]; - $b['number'] = $lucifer[1]; - $b['owner'] = $lucifer[2]; - $b['group'] = $lucifer[3]; - $b['size'] = $lucifer[4]; - if ($lcount==8) { - sscanf($lucifer[5],"%d-%d-%d",$b['year'],$b['month'],$b['day']); - sscanf($lucifer[6],"%d:%d",$b['hour'],$b['minute']); - $b['time'] = @mktime($b['hour'],$b['minute'],0,$b['month'],$b['day'],$b['year']); - $b['name'] = $lucifer[7]; - } else { - $b['month'] = $lucifer[5]; - $b['day'] = $lucifer[6]; - if (preg_match("/([0-9]{2}):([0-9]{2})/",$lucifer[7],$l2)) { - $b['year'] = date("Y"); - $b['hour'] = $l2[1]; - $b['minute'] = $l2[2]; - } else { - $b['year'] = $lucifer[7]; - $b['hour'] = 0; - $b['minute'] = 0; - } - $b['time'] = strtotime(sprintf("%d %s %d %02d:%02d",$b['day'],$b['month'],$b['year'],$b['hour'],$b['minute'])); - $b['name'] = $lucifer[8]; - } - } - - return $b; - } - - function SendMSG($message = "", $crlf=true) { - if ($this->Verbose) { - echo $message.($crlf?CRLF:""); - flush(); - } - return TRUE; - } - - function SetType($mode=FTP_AUTOASCII) { - if(!in_array($mode, $this->AuthorizedTransferMode)) { - $this->SendMSG("Wrong type"); - return FALSE; - } - $this->_type=$mode; - $this->SendMSG("Transfer type: ".($this->_type==FTP_BINARY?"binary":($this->_type==FTP_ASCII?"ASCII":"auto ASCII") ) ); - return TRUE; - } - - function _settype($mode=FTP_ASCII) { - if($this->_ready) { - if($mode==FTP_BINARY) { - if($this->_curtype!=FTP_BINARY) { - if(!$this->_exec("TYPE I", "SetType")) return FALSE; - $this->_curtype=FTP_BINARY; - } - } elseif($this->_curtype!=FTP_ASCII) { - if(!$this->_exec("TYPE A", "SetType")) return FALSE; - $this->_curtype=FTP_ASCII; - } - } else return FALSE; - return TRUE; - } - - function Passive($pasv=NULL) { - if(is_null($pasv)) $this->_passive=!$this->_passive; - else $this->_passive=$pasv; - if(!$this->_port_available and !$this->_passive) { - $this->SendMSG("Only passive connections available!"); - $this->_passive=TRUE; - return FALSE; - } - $this->SendMSG("Passive mode ".($this->_passive?"on":"off")); - return TRUE; - } - - function SetServer($host, $port=21, $reconnect=true) { - if(!is_long($port)) { - $this->verbose=true; - $this->SendMSG("Incorrect port syntax"); - return FALSE; - } else { - $ip=@gethostbyname($host); - $dns=@gethostbyaddr($host); - if(!$ip) $ip=$host; - if(!$dns) $dns=$host; - // Validate the IPAddress PHP4 returns -1 for invalid, PHP5 false - // -1 === "255.255.255.255" which is the broadcast address which is also going to be invalid - $ipaslong = ip2long($ip); - if ( ($ipaslong == false) || ($ipaslong === -1) ) { - $this->SendMSG("Wrong host name/address \"".$host."\""); - return FALSE; - } - $this->_host=$ip; - $this->_fullhost=$dns; - $this->_port=$port; - $this->_dataport=$port-1; - } - $this->SendMSG("Host \"".$this->_fullhost."(".$this->_host."):".$this->_port."\""); - if($reconnect){ - if($this->_connected) { - $this->SendMSG("Reconnecting"); - if(!$this->quit(FTP_FORCE)) return FALSE; - if(!$this->connect()) return FALSE; - } - } - return TRUE; - } - - function SetUmask($umask=0022) { - $this->_umask=$umask; - umask($this->_umask); - $this->SendMSG("UMASK 0".decoct($this->_umask)); - return TRUE; - } - - function SetTimeout($timeout=30) { - $this->_timeout=$timeout; - $this->SendMSG("Timeout ".$this->_timeout); - if($this->_connected) - if(!$this->_settimeout($this->_ftp_control_sock)) return FALSE; - return TRUE; - } - - function connect($server=NULL) { - if(!empty($server)) { - if(!$this->SetServer($server)) return false; - } - if($this->_ready) return true; - $this->SendMsg('Local OS : '.$this->OS_FullName[$this->OS_local]); - if(!($this->_ftp_control_sock = $this->_connect($this->_host, $this->_port))) { - $this->SendMSG("Error : Cannot connect to remote host \"".$this->_fullhost." :".$this->_port."\""); - return FALSE; - } - $this->SendMSG("Connected to remote host \"".$this->_fullhost.":".$this->_port."\". Waiting for greeting."); - do { - if(!$this->_readmsg()) return FALSE; - if(!$this->_checkCode()) return FALSE; - $this->_lastaction=time(); - } while($this->_code<200); - $this->_ready=true; - $syst=$this->systype(); - if(!$syst) $this->SendMSG("Can't detect remote OS"); - else { - if(preg_match("/win|dos|novell/i", $syst[0])) $this->OS_remote=FTP_OS_Windows; - elseif(preg_match("/os/i", $syst[0])) $this->OS_remote=FTP_OS_Mac; - elseif(preg_match("/(li|u)nix/i", $syst[0])) $this->OS_remote=FTP_OS_Unix; - else $this->OS_remote=FTP_OS_Mac; - $this->SendMSG("Remote OS: ".$this->OS_FullName[$this->OS_remote]); - } - if(!$this->features()) $this->SendMSG("Can't get features list. All supported - disabled"); - else $this->SendMSG("Supported features: ".implode(", ", array_keys($this->_features))); - return TRUE; - } - - function quit($force=false) { - if($this->_ready) { - if(!$this->_exec("QUIT") and !$force) return FALSE; - if(!$this->_checkCode() and !$force) return FALSE; - $this->_ready=false; - $this->SendMSG("Session finished"); - } - $this->_quit(); - return TRUE; - } - - function login($user=NULL, $pass=NULL) { - if(!is_null($user)) $this->_login=$user; - else $this->_login="anonymous"; - if(!is_null($pass)) $this->_password=$pass; - else $this->_password="anon@anon.com"; - if(!$this->_exec("USER ".$this->_login, "login")) return FALSE; - if(!$this->_checkCode()) return FALSE; - if($this->_code!=230) { - if(!$this->_exec((($this->_code==331)?"PASS ":"ACCT ").$this->_password, "login")) return FALSE; - if(!$this->_checkCode()) return FALSE; - } - $this->SendMSG("Authentication succeeded"); - if(empty($this->_features)) { - if(!$this->features()) $this->SendMSG("Can't get features list. All supported - disabled"); - else $this->SendMSG("Supported features: ".implode(", ", array_keys($this->_features))); - } - return TRUE; - } - - function pwd() { - if(!$this->_exec("PWD", "pwd")) return FALSE; - if(!$this->_checkCode()) return FALSE; - return ereg_replace("^[0-9]{3} \"(.+)\".+", "\\1", $this->_message); - } - - function cdup() { - if(!$this->_exec("CDUP", "cdup")) return FALSE; - if(!$this->_checkCode()) return FALSE; - return true; - } - - function chdir($pathname) { - if(!$this->_exec("CWD ".$pathname, "chdir")) return FALSE; - if(!$this->_checkCode()) return FALSE; - return TRUE; - } - - function rmdir($pathname) { - if(!$this->_exec("RMD ".$pathname, "rmdir")) return FALSE; - if(!$this->_checkCode()) return FALSE; - return TRUE; - } - - function mkdir($pathname) { - if(!$this->_exec("MKD ".$pathname, "mkdir")) return FALSE; - if(!$this->_checkCode()) return FALSE; - return TRUE; - } - - function rename($from, $to) { - if(!$this->_exec("RNFR ".$from, "rename")) return FALSE; - if(!$this->_checkCode()) return FALSE; - if($this->_code==350) { - if(!$this->_exec("RNTO ".$to, "rename")) return FALSE; - if(!$this->_checkCode()) return FALSE; - } else return FALSE; - return TRUE; - } - - function filesize($pathname) { - if(!isset($this->_features["SIZE"])) { - $this->PushError("filesize", "not supported by server"); - return FALSE; - } - if(!$this->_exec("SIZE ".$pathname, "filesize")) return FALSE; - if(!$this->_checkCode()) return FALSE; - return ereg_replace("^[0-9]{3} ([0-9]+)".CRLF, "\\1", $this->_message); - } - - function abort() { - if(!$this->_exec("ABOR", "abort")) return FALSE; - if(!$this->_checkCode()) { - if($this->_code!=426) return FALSE; - if(!$this->_readmsg("abort")) return FALSE; - if(!$this->_checkCode()) return FALSE; - } - return true; - } - - function mdtm($pathname) { - if(!isset($this->_features["MDTM"])) { - $this->PushError("mdtm", "not supported by server"); - return FALSE; - } - if(!$this->_exec("MDTM ".$pathname, "mdtm")) return FALSE; - if(!$this->_checkCode()) return FALSE; - $mdtm = ereg_replace("^[0-9]{3} ([0-9]+)".CRLF, "\\1", $this->_message); - $date = sscanf($mdtm, "%4d%2d%2d%2d%2d%2d"); - $timestamp = mktime($date[3], $date[4], $date[5], $date[1], $date[2], $date[0]); - return $timestamp; - } - - function systype() { - if(!$this->_exec("SYST", "systype")) return FALSE; - if(!$this->_checkCode()) return FALSE; - $DATA = explode(" ", $this->_message); - return array($DATA[1], $DATA[3]); - } - - function delete($pathname) { - if(!$this->_exec("DELE ".$pathname, "delete")) return FALSE; - if(!$this->_checkCode()) return FALSE; - return TRUE; - } - - function site($command, $fnction="site") { - if(!$this->_exec("SITE ".$command, $fnction)) return FALSE; - if(!$this->_checkCode()) return FALSE; - return TRUE; - } - - function chmod($pathname, $mode) { - if(!$this->site( sprintf('CHMOD %o %s', $mode, $pathname), "chmod")) return FALSE; - return TRUE; - } - - function restore($from) { - if(!isset($this->_features["REST"])) { - $this->PushError("restore", "not supported by server"); - return FALSE; - } - if($this->_curtype!=FTP_BINARY) { - $this->PushError("restore", "can't restore in ASCII mode"); - return FALSE; - } - if(!$this->_exec("REST ".$from, "resore")) return FALSE; - if(!$this->_checkCode()) return FALSE; - return TRUE; - } - - function features() { - if(!$this->_exec("FEAT", "features")) return FALSE; - if(!$this->_checkCode()) return FALSE; - $f=preg_split("/[".CRLF."]+/", preg_replace("/[0-9]{3}[ -].*[".CRLF."]+/", "", $this->_message), -1, PREG_SPLIT_NO_EMPTY); - $this->_features=array(); - foreach($f as $k=>$v) { - $v=explode(" ", trim($v)); - $this->_features[array_shift($v)]=$v; - } - return true; - } - - function rawlist($pathname="", $arg="") { - return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "LIST", "rawlist"); - } - - function nlist($pathname="") { - return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "NLST", "nlist"); - } - - function is_exists($pathname) { - return $this->file_exists($pathname); - } - - function file_exists($pathname) { - $exists=true; - if(!$this->_exec("RNFR ".$pathname, "rename")) $exists=FALSE; - else { - if(!$this->_checkCode()) $exists=FALSE; - $this->abort(); - } - if($exists) $this->SendMSG("Remote file ".$pathname." exists"); - else $this->SendMSG("Remote file ".$pathname." does not exist"); - return $exists; - } - - function fget($fp, $remotefile,$rest=0) { - if($this->_can_restore and $rest!=0) fseek($fp, $rest); - $pi=pathinfo($remotefile); - if($this->_type==FTP_ASCII or ($this->_type==FTP_AUTOASCII and in_array(strtoupper($pi["extension"]), $this->AutoAsciiExt))) $mode=FTP_ASCII; - else $mode=FTP_BINARY; - if(!$this->_data_prepare($mode)) { - return FALSE; - } - if($this->_can_restore and $rest!=0) $this->restore($rest); - if(!$this->_exec("RETR ".$remotefile, "get")) { - $this->_data_close(); - return FALSE; - } - if(!$this->_checkCode()) { - $this->_data_close(); - return FALSE; - } - $out=$this->_data_read($mode, $fp); - $this->_data_close(); - if(!$this->_readmsg()) return FALSE; - if(!$this->_checkCode()) return FALSE; - return $out; - } - - function get($remotefile, $localfile=NULL, $rest=0) { - if(is_null($localfile)) $localfile=$remotefile; - if (@file_exists($localfile)) $this->SendMSG("Warning : local file will be overwritten"); - $fp = @fopen($localfile, "w"); - if (!$fp) { - $this->PushError("get","can't open local file", "Cannot create \"".$localfile."\""); - return FALSE; - } - if($this->_can_restore and $rest!=0) fseek($fp, $rest); - $pi=pathinfo($remotefile); - if($this->_type==FTP_ASCII or ($this->_type==FTP_AUTOASCII and in_array(strtoupper($pi["extension"]), $this->AutoAsciiExt))) $mode=FTP_ASCII; - else $mode=FTP_BINARY; - if(!$this->_data_prepare($mode)) { - fclose($fp); - return FALSE; - } - if($this->_can_restore and $rest!=0) $this->restore($rest); - if(!$this->_exec("RETR ".$remotefile, "get")) { - $this->_data_close(); - fclose($fp); - return FALSE; - } - if(!$this->_checkCode()) { - $this->_data_close(); - fclose($fp); - return FALSE; - } - $out=$this->_data_read($mode, $fp); - fclose($fp); - $this->_data_close(); - if(!$this->_readmsg()) return FALSE; - if(!$this->_checkCode()) return FALSE; - return $out; - } - - function fput($remotefile, $fp) { - if($this->_can_restore and $rest!=0) fseek($fp, $rest); - $pi=pathinfo($remotefile); - if($this->_type==FTP_ASCII or ($this->_type==FTP_AUTOASCII and in_array(strtoupper($pi["extension"]), $this->AutoAsciiExt))) $mode=FTP_ASCII; - else $mode=FTP_BINARY; - if(!$this->_data_prepare($mode)) { - return FALSE; - } - if($this->_can_restore and $rest!=0) $this->restore($rest); - if(!$this->_exec("STOR ".$remotefile, "put")) { - $this->_data_close(); - return FALSE; - } - if(!$this->_checkCode()) { - $this->_data_close(); - return FALSE; - } - $ret=$this->_data_write($mode, $fp); - $this->_data_close(); - if(!$this->_readmsg()) return FALSE; - if(!$this->_checkCode()) return FALSE; - return $ret; - } - - function put($localfile, $remotefile=NULL, $rest=0) { - if(is_null($remotefile)) $remotefile=$localfile; - if (!file_exists($localfile)) { - $this->PushError("put","can't open local file", "No such file or directory \"".$localfile."\""); - return FALSE; - } - $fp = @fopen($localfile, "r"); - - if (!$fp) { - $this->PushError("put","can't open local file", "Cannot read file \"".$localfile."\""); - return FALSE; - } - if($this->_can_restore and $rest!=0) fseek($fp, $rest); - $pi=pathinfo($localfile); - if($this->_type==FTP_ASCII or ($this->_type==FTP_AUTOASCII and in_array(strtoupper($pi["extension"]), $this->AutoAsciiExt))) $mode=FTP_ASCII; - else $mode=FTP_BINARY; - if(!$this->_data_prepare($mode)) { - fclose($fp); - return FALSE; - } - if($this->_can_restore and $rest!=0) $this->restore($rest); - if(!$this->_exec("STOR ".$remotefile, "put")) { - $this->_data_close(); - fclose($fp); - return FALSE; - } - if(!$this->_checkCode()) { - $this->_data_close(); - fclose($fp); - return FALSE; - } - $ret=$this->_data_write($mode, $fp); - fclose($fp); - $this->_data_close(); - if(!$this->_readmsg()) return FALSE; - if(!$this->_checkCode()) return FALSE; - return $ret; - } - - function mput($local=".", $remote=NULL, $continious=false) { - $local=realpath($local); - if(!@file_exists($local)) { - $this->PushError("mput","can't open local folder", "Cannot stat folder \"".$local."\""); - return FALSE; - } - if(!is_dir($local)) return $this->put($local, $remote); - if(empty($remote)) $remote="."; - elseif(!$this->file_exists($remote) and !$this->mkdir($remote)) return FALSE; - if($handle = opendir($local)) { - $list=array(); - while (false !== ($file = readdir($handle))) { - if ($file != "." && $file != "..") $list[]=$file; - } - closedir($handle); - } else { - $this->PushError("mput","can't open local folder", "Cannot read folder \"".$local."\""); - return FALSE; - } - if(empty($list)) return TRUE; - $ret=true; - foreach($list as $el) { - if(is_dir($local."/".$el)) $t=$this->mput($local."/".$el, $remote."/".$el); - else $t=$this->put($local."/".$el, $remote."/".$el); - if(!$t) { - $ret=FALSE; - if(!$continious) break; - } - } - return $ret; - - } - - function mget($remote, $local=".", $continious=false) { - $list=$this->rawlist($remote, "-lA"); - if($list===false) { - $this->PushError("mget","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents"); - return FALSE; - } - if(empty($list)) return true; - if(!@file_exists($local)) { - if(!@mkdir($local)) { - $this->PushError("mget","can't create local folder", "Cannot create folder \"".$local."\""); - return FALSE; - } - } - foreach($list as $k=>$v) { - $list[$k]=$this->parselisting($v); - if($list[$k]["name"]=="." or $list[$k]["name"]=="..") unset($list[$k]); - } - $ret=true; - foreach($list as $el) { - if($el["type"]=="d") { - if(!$this->mget($remote."/".$el["name"], $local."/".$el["name"], $continious)) { - $this->PushError("mget", "can't copy folder", "Can't copy remote folder \"".$remote."/".$el["name"]."\" to local \"".$local."/".$el["name"]."\""); - $ret=false; - if(!$continious) break; - } - } else { - if(!$this->get($remote."/".$el["name"], $local."/".$el["name"])) { - $this->PushError("mget", "can't copy file", "Can't copy remote file \"".$remote."/".$el["name"]."\" to local \"".$local."/".$el["name"]."\""); - $ret=false; - if(!$continious) break; - } - } - @chmod($local."/".$el["name"], $el["perms"]); - $t=strtotime($el["date"]); - if($t!==-1 and $t!==false) @touch($local."/".$el["name"], $t); - } - return $ret; - } - - function mdel($remote, $continious=false) { - $list=$this->rawlist($remote, "-la"); - if($list===false) { - $this->PushError("mdel","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents"); - return false; - } - - foreach($list as $k=>$v) { - $list[$k]=$this->parselisting($v); - if($list[$k]["name"]=="." or $list[$k]["name"]=="..") unset($list[$k]); - } - $ret=true; - - foreach($list as $el) { - if ( empty($el) ) - continue; - - if($el["type"]=="d") { - if(!$this->mdel($remote."/".$el["name"], $continious)) { - $ret=false; - if(!$continious) break; - } - } else { - if (!$this->delete($remote."/".$el["name"])) { - $this->PushError("mdel", "can't delete file", "Can't delete remote file \"".$remote."/".$el["name"]."\""); - $ret=false; - if(!$continious) break; - } - } - } - - if(!$this->rmdir($remote)) { - $this->PushError("mdel", "can't delete folder", "Can't delete remote folder \"".$remote."/".$el["name"]."\""); - $ret=false; - } - return $ret; - } - - function mmkdir($dir, $mode = 0777) { - if(empty($dir)) return FALSE; - if($this->is_exists($dir) or $dir == "/" ) return TRUE; - if(!$this->mmkdir(dirname($dir), $mode)) return false; - $r=$this->mkdir($dir, $mode); - $this->chmod($dir,$mode); - return $r; - } - - function glob($pattern, $handle=NULL) { - $path=$output=null; - if(PHP_OS=='WIN32') $slash='\\'; - else $slash='/'; - $lastpos=strrpos($pattern,$slash); - if(!($lastpos===false)) { - $path=substr($pattern,0,-$lastpos-1); - $pattern=substr($pattern,$lastpos); - } else $path=getcwd(); - if(is_array($handle) and !empty($handle)) { - while($dir=each($handle)) { - if($this->glob_pattern_match($pattern,$dir)) - $output[]=$dir; - } - } else { - $handle=@opendir($path); - if($handle===false) return false; - while($dir=readdir($handle)) { - if($this->glob_pattern_match($pattern,$dir)) - $output[]=$dir; - } - closedir($handle); - } - if(is_array($output)) return $output; - return false; - } - - function glob_pattern_match($pattern,$string) { - $out=null; - $chunks=explode(';',$pattern); - foreach($chunks as $pattern) { - $escape=array('$','^','.','{','}','(',')','[',']','|'); - while(strpos($pattern,'**')!==false) - $pattern=str_replace('**','*',$pattern); - foreach($escape as $probe) - $pattern=str_replace($probe,"\\$probe",$pattern); - $pattern=str_replace('?*','*', - str_replace('*?','*', - str_replace('*',".*", - str_replace('?','.{1,1}',$pattern)))); - $out[]=$pattern; - } - if(count($out)==1) return($this->glob_regexp("^$out[0]$",$string)); - else { - foreach($out as $tester) - if($this->my_regexp("^$tester$",$string)) return true; - } - return false; - } - - function glob_regexp($pattern,$probe) { - $sensitive=(PHP_OS!='WIN32'); - return ($sensitive? - ereg($pattern,$probe): - eregi($pattern,$probe) - ); - } - - function dirlist($remote) { - $list=$this->rawlist($remote, "-la"); - if($list===false) { - $this->PushError("dirlist","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents"); - return false; - } - - $dirlist = array(); - foreach($list as $k=>$v) { - $entry=$this->parselisting($v); - if ( empty($entry) ) - continue; - - if($entry["name"]=="." or $entry["name"]=="..") - continue; - - $dirlist[$entry['name']] = $entry; - } - - return $dirlist; - } -// -// -// - function _checkCode() { - return ($this->_code<400 and $this->_code>0); - } - - function _list($arg="", $cmd="LIST", $fnction="_list") { - if(!$this->_data_prepare()) return false; - if(!$this->_exec($cmd.$arg, $fnction)) { - $this->_data_close(); - return FALSE; - } - if(!$this->_checkCode()) { - $this->_data_close(); - return FALSE; - } - $out=""; - if($this->_code<200) { - $out=$this->_data_read(); - $this->_data_close(); - if(!$this->_readmsg()) return FALSE; - if(!$this->_checkCode()) return FALSE; - if($out === FALSE ) return FALSE; - $out=preg_split("/[".CRLF."]+/", $out, -1, PREG_SPLIT_NO_EMPTY); -// $this->SendMSG(implode($this->_eol_code[$this->OS_local], $out)); - } - return $out; - } - -// -// -// -// Gnre une erreur pour traitement externe la classe - function PushError($fctname,$msg,$desc=false){ - $error=array(); - $error['time']=time(); - $error['fctname']=$fctname; - $error['msg']=$msg; - $error['desc']=$desc; - if($desc) $tmp=' ('.$desc.')'; else $tmp=''; - $this->SendMSG($fctname.': '.$msg.$tmp); - return(array_push($this->_error_array,$error)); - } - -// Rcupre une erreur externe - function PopError(){ - if(count($this->_error_array)) return(array_pop($this->_error_array)); - else return(false); - } -} - -$mod_sockets = extension_loaded( 'sockets' ); -if ( ! $mod_sockets && function_exists( 'dl' ) && is_callable( 'dl' ) ) { - $prefix = ( PHP_SHLIB_SUFFIX == 'dll' ) ? 'php_' : ''; - @dl( $prefix . 'sockets.' . PHP_SHLIB_SUFFIX ); - $mod_sockets = extension_loaded( 'sockets' ); -} - -require_once "class-ftp-" . ( $mod_sockets ? "sockets" : "pure" ) . ".php"; -?> diff --git a/sources/wordpress/wp-admin/includes/class-pclzip.php b/sources/wordpress/wp-admin/includes/class-pclzip.php deleted file mode 100644 index 5e6a619..0000000 --- a/sources/wordpress/wp-admin/includes/class-pclzip.php +++ /dev/null @@ -1,5687 +0,0 @@ -zipname = $p_zipname; - $this->zip_fd = 0; - $this->magic_quotes_status = -1; - - // ----- Return - return; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // create($p_filelist, $p_add_dir="", $p_remove_dir="") - // create($p_filelist, $p_option, $p_option_value, ...) - // Description : - // This method supports two different synopsis. The first one is historical. - // This method creates a Zip Archive. The Zip file is created in the - // filesystem. The files and directories indicated in $p_filelist - // are added in the archive. See the parameters description for the - // supported format of $p_filelist. - // When a directory is in the list, the directory and its content is added - // in the archive. - // In this synopsis, the function takes an optional variable list of - // options. See bellow the supported options. - // Parameters : - // $p_filelist : An array containing file or directory names, or - // a string containing one filename or one directory name, or - // a string containing a list of filenames and/or directory - // names separated by spaces. - // $p_add_dir : A path to add before the real path of the archived file, - // in order to have it memorized in the archive. - // $p_remove_dir : A path to remove from the real path of the file to archive, - // in order to have a shorter path memorized in the archive. - // When $p_add_dir and $p_remove_dir are set, $p_remove_dir - // is removed first, before $p_add_dir is added. - // Options : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_OPT_COMMENT : - // PCLZIP_CB_PRE_ADD : - // PCLZIP_CB_POST_ADD : - // Return Values : - // 0 on failure, - // The list of the added files, with a status of the add action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function create($p_filelist) - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Set default values - $v_options = array(); - $v_options[PCLZIP_OPT_NO_COMPRESSION] = FALSE; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Look for arguments - if ($v_size > 1) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Remove from the options list the first argument - array_shift($v_arg_list); - $v_size--; - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_ADD => 'optional', - PCLZIP_CB_POST_ADD => 'optional', - PCLZIP_OPT_NO_COMPRESSION => 'optional', - PCLZIP_OPT_COMMENT => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - //, PCLZIP_OPT_CRYPT => 'optional' - )); - if ($v_result != 1) { - return 0; - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_options[PCLZIP_OPT_ADD_PATH] = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_options[PCLZIP_OPT_REMOVE_PATH] = $v_arg_list[1]; - } - else if ($v_size > 2) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, - "Invalid number / type of arguments"); - return 0; - } - } - } - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Init - $v_string_list = array(); - $v_att_list = array(); - $v_filedescr_list = array(); - $p_result_list = array(); - - // ----- Look if the $p_filelist is really an array - if (is_array($p_filelist)) { - - // ----- Look if the first element is also an array - // This will mean that this is a file description entry - if (isset($p_filelist[0]) && is_array($p_filelist[0])) { - $v_att_list = $p_filelist; - } - - // ----- The list is a list of string names - else { - $v_string_list = $p_filelist; - } - } - - // ----- Look if the $p_filelist is a string - else if (is_string($p_filelist)) { - // ----- Create a list from the string - $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist); - } - - // ----- Invalid variable type for $p_filelist - else { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_filelist"); - return 0; - } - - // ----- Reformat the string list - if (sizeof($v_string_list) != 0) { - foreach ($v_string_list as $v_string) { - if ($v_string != '') { - $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string; - } - else { - } - } - } - - // ----- For each file in the list check the attributes - $v_supported_attributes - = array ( PCLZIP_ATT_FILE_NAME => 'mandatory' - ,PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional' - ,PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional' - ,PCLZIP_ATT_FILE_MTIME => 'optional' - ,PCLZIP_ATT_FILE_CONTENT => 'optional' - ,PCLZIP_ATT_FILE_COMMENT => 'optional' - ); - foreach ($v_att_list as $v_entry) { - $v_result = $this->privFileDescrParseAtt($v_entry, - $v_filedescr_list[], - $v_options, - $v_supported_attributes); - if ($v_result != 1) { - return 0; - } - } - - // ----- Expand the filelist (expand directories) - $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Call the create fct - $v_result = $this->privCreate($v_filedescr_list, $p_result_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Return - return $p_result_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // add($p_filelist, $p_add_dir="", $p_remove_dir="") - // add($p_filelist, $p_option, $p_option_value, ...) - // Description : - // This method supports two synopsis. The first one is historical. - // This methods add the list of files in an existing archive. - // If a file with the same name already exists, it is added at the end of the - // archive, the first one is still present. - // If the archive does not exist, it is created. - // Parameters : - // $p_filelist : An array containing file or directory names, or - // a string containing one filename or one directory name, or - // a string containing a list of filenames and/or directory - // names separated by spaces. - // $p_add_dir : A path to add before the real path of the archived file, - // in order to have it memorized in the archive. - // $p_remove_dir : A path to remove from the real path of the file to archive, - // in order to have a shorter path memorized in the archive. - // When $p_add_dir and $p_remove_dir are set, $p_remove_dir - // is removed first, before $p_add_dir is added. - // Options : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_OPT_COMMENT : - // PCLZIP_OPT_ADD_COMMENT : - // PCLZIP_OPT_PREPEND_COMMENT : - // PCLZIP_CB_PRE_ADD : - // PCLZIP_CB_POST_ADD : - // Return Values : - // 0 on failure, - // The list of the added files, with a status of the add action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function add($p_filelist) - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Set default values - $v_options = array(); - $v_options[PCLZIP_OPT_NO_COMPRESSION] = FALSE; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Look for arguments - if ($v_size > 1) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Remove form the options list the first argument - array_shift($v_arg_list); - $v_size--; - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_ADD => 'optional', - PCLZIP_CB_POST_ADD => 'optional', - PCLZIP_OPT_NO_COMPRESSION => 'optional', - PCLZIP_OPT_COMMENT => 'optional', - PCLZIP_OPT_ADD_COMMENT => 'optional', - PCLZIP_OPT_PREPEND_COMMENT => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - //, PCLZIP_OPT_CRYPT => 'optional' - )); - if ($v_result != 1) { - return 0; - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_options[PCLZIP_OPT_ADD_PATH] = $v_add_path = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_options[PCLZIP_OPT_REMOVE_PATH] = $v_arg_list[1]; - } - else if ($v_size > 2) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid number / type of arguments"); - - // ----- Return - return 0; - } - } - } - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Init - $v_string_list = array(); - $v_att_list = array(); - $v_filedescr_list = array(); - $p_result_list = array(); - - // ----- Look if the $p_filelist is really an array - if (is_array($p_filelist)) { - - // ----- Look if the first element is also an array - // This will mean that this is a file description entry - if (isset($p_filelist[0]) && is_array($p_filelist[0])) { - $v_att_list = $p_filelist; - } - - // ----- The list is a list of string names - else { - $v_string_list = $p_filelist; - } - } - - // ----- Look if the $p_filelist is a string - else if (is_string($p_filelist)) { - // ----- Create a list from the string - $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist); - } - - // ----- Invalid variable type for $p_filelist - else { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type '".gettype($p_filelist)."' for p_filelist"); - return 0; - } - - // ----- Reformat the string list - if (sizeof($v_string_list) != 0) { - foreach ($v_string_list as $v_string) { - $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string; - } - } - - // ----- For each file in the list check the attributes - $v_supported_attributes - = array ( PCLZIP_ATT_FILE_NAME => 'mandatory' - ,PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional' - ,PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional' - ,PCLZIP_ATT_FILE_MTIME => 'optional' - ,PCLZIP_ATT_FILE_CONTENT => 'optional' - ,PCLZIP_ATT_FILE_COMMENT => 'optional' - ); - foreach ($v_att_list as $v_entry) { - $v_result = $this->privFileDescrParseAtt($v_entry, - $v_filedescr_list[], - $v_options, - $v_supported_attributes); - if ($v_result != 1) { - return 0; - } - } - - // ----- Expand the filelist (expand directories) - $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Call the create fct - $v_result = $this->privAdd($v_filedescr_list, $p_result_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Return - return $p_result_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : listContent() - // Description : - // This public method, gives the list of the files and directories, with their - // properties. - // The properties of each entries in the list are (used also in other functions) : - // filename : Name of the file. For a create or add action it is the filename - // given by the user. For an extract function it is the filename - // of the extracted file. - // stored_filename : Name of the file / directory stored in the archive. - // size : Size of the stored file. - // compressed_size : Size of the file's data compressed in the archive - // (without the headers overhead) - // mtime : Last known modification date of the file (UNIX timestamp) - // comment : Comment associated with the file - // folder : true | false - // index : index of the file in the archive - // status : status of the action (depending of the action) : - // Values are : - // ok : OK ! - // filtered : the file / dir is not extracted (filtered by user) - // already_a_directory : the file can not be extracted because a - // directory with the same name already exists - // write_protected : the file can not be extracted because a file - // with the same name already exists and is - // write protected - // newer_exist : the file was not extracted because a newer file exists - // path_creation_fail : the file is not extracted because the folder - // does not exist and can not be created - // write_error : the file was not extracted because there was a - // error while writing the file - // read_error : the file was not extracted because there was a error - // while reading the file - // invalid_header : the file was not extracted because of an archive - // format error (bad file header) - // Note that each time a method can continue operating when there - // is an action error on a file, the error is only logged in the file status. - // Return Values : - // 0 on an unrecoverable failure, - // The list of the files in the archive. - // -------------------------------------------------------------------------------- - function listContent() - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Call the extracting fct - $p_list = array(); - if (($v_result = $this->privList($p_list)) != 1) - { - unset($p_list); - return(0); - } - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // extract($p_path="./", $p_remove_path="") - // extract([$p_option, $p_option_value, ...]) - // Description : - // This method supports two synopsis. The first one is historical. - // This method extract all the files / directories from the archive to the - // folder indicated in $p_path. - // If you want to ignore the 'root' part of path of the memorized files - // you can indicate this in the optional $p_remove_path parameter. - // By default, if a newer file with the same name already exists, the - // file is not extracted. - // - // If both PCLZIP_OPT_PATH and PCLZIP_OPT_ADD_PATH aoptions - // are used, the path indicated in PCLZIP_OPT_ADD_PATH is append - // at the end of the path value of PCLZIP_OPT_PATH. - // Parameters : - // $p_path : Path where the files and directories are to be extracted - // $p_remove_path : First part ('root' part) of the memorized path - // (if any similar) to remove while extracting. - // Options : - // PCLZIP_OPT_PATH : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_CB_PRE_EXTRACT : - // PCLZIP_CB_POST_EXTRACT : - // Return Values : - // 0 or a negative value on failure, - // The list of the extracted files, with a status of the action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function extract() - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Set default values - $v_options = array(); -// $v_path = "./"; - $v_path = ''; - $v_remove_path = ""; - $v_remove_all_path = false; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Default values for option - $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = FALSE; - - // ----- Look for arguments - if ($v_size > 0) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_PATH => 'optional', - PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_EXTRACT => 'optional', - PCLZIP_CB_POST_EXTRACT => 'optional', - PCLZIP_OPT_SET_CHMOD => 'optional', - PCLZIP_OPT_BY_NAME => 'optional', - PCLZIP_OPT_BY_EREG => 'optional', - PCLZIP_OPT_BY_PREG => 'optional', - PCLZIP_OPT_BY_INDEX => 'optional', - PCLZIP_OPT_EXTRACT_AS_STRING => 'optional', - PCLZIP_OPT_EXTRACT_IN_OUTPUT => 'optional', - PCLZIP_OPT_REPLACE_NEWER => 'optional' - ,PCLZIP_OPT_STOP_ON_ERROR => 'optional' - ,PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - )); - if ($v_result != 1) { - return 0; - } - - // ----- Set the arguments - if (isset($v_options[PCLZIP_OPT_PATH])) { - $v_path = $v_options[PCLZIP_OPT_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_PATH])) { - $v_remove_path = $v_options[PCLZIP_OPT_REMOVE_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_ALL_PATH])) { - $v_remove_all_path = $v_options[PCLZIP_OPT_REMOVE_ALL_PATH]; - } - if (isset($v_options[PCLZIP_OPT_ADD_PATH])) { - // ----- Check for '/' in last path char - if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) { - $v_path .= '/'; - } - $v_path .= $v_options[PCLZIP_OPT_ADD_PATH]; - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_path = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_remove_path = $v_arg_list[1]; - } - else if ($v_size > 2) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid number / type of arguments"); - - // ----- Return - return 0; - } - } - } - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Trace - - // ----- Call the extracting fct - $p_list = array(); - $v_result = $this->privExtractByRule($p_list, $v_path, $v_remove_path, - $v_remove_all_path, $v_options); - if ($v_result < 1) { - unset($p_list); - return(0); - } - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - - // -------------------------------------------------------------------------------- - // Function : - // extractByIndex($p_index, $p_path="./", $p_remove_path="") - // extractByIndex($p_index, [$p_option, $p_option_value, ...]) - // Description : - // This method supports two synopsis. The first one is historical. - // This method is doing a partial extract of the archive. - // The extracted files or folders are identified by their index in the - // archive (from 0 to n). - // Note that if the index identify a folder, only the folder entry is - // extracted, not all the files included in the archive. - // Parameters : - // $p_index : A single index (integer) or a string of indexes of files to - // extract. The form of the string is "0,4-6,8-12" with only numbers - // and '-' for range or ',' to separate ranges. No spaces or ';' - // are allowed. - // $p_path : Path where the files and directories are to be extracted - // $p_remove_path : First part ('root' part) of the memorized path - // (if any similar) to remove while extracting. - // Options : - // PCLZIP_OPT_PATH : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_OPT_EXTRACT_AS_STRING : The files are extracted as strings and - // not as files. - // The resulting content is in a new field 'content' in the file - // structure. - // This option must be used alone (any other options are ignored). - // PCLZIP_CB_PRE_EXTRACT : - // PCLZIP_CB_POST_EXTRACT : - // Return Values : - // 0 on failure, - // The list of the extracted files, with a status of the action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - //function extractByIndex($p_index, options...) - function extractByIndex($p_index) - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Set default values - $v_options = array(); -// $v_path = "./"; - $v_path = ''; - $v_remove_path = ""; - $v_remove_all_path = false; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Default values for option - $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = FALSE; - - // ----- Look for arguments - if ($v_size > 1) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Remove form the options list the first argument - array_shift($v_arg_list); - $v_size--; - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_PATH => 'optional', - PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_EXTRACT_AS_STRING => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_EXTRACT => 'optional', - PCLZIP_CB_POST_EXTRACT => 'optional', - PCLZIP_OPT_SET_CHMOD => 'optional', - PCLZIP_OPT_REPLACE_NEWER => 'optional' - ,PCLZIP_OPT_STOP_ON_ERROR => 'optional' - ,PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - )); - if ($v_result != 1) { - return 0; - } - - // ----- Set the arguments - if (isset($v_options[PCLZIP_OPT_PATH])) { - $v_path = $v_options[PCLZIP_OPT_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_PATH])) { - $v_remove_path = $v_options[PCLZIP_OPT_REMOVE_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_ALL_PATH])) { - $v_remove_all_path = $v_options[PCLZIP_OPT_REMOVE_ALL_PATH]; - } - if (isset($v_options[PCLZIP_OPT_ADD_PATH])) { - // ----- Check for '/' in last path char - if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) { - $v_path .= '/'; - } - $v_path .= $v_options[PCLZIP_OPT_ADD_PATH]; - } - if (!isset($v_options[PCLZIP_OPT_EXTRACT_AS_STRING])) { - $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = FALSE; - } - else { - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_path = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_remove_path = $v_arg_list[1]; - } - else if ($v_size > 2) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid number / type of arguments"); - - // ----- Return - return 0; - } - } - } - - // ----- Trace - - // ----- Trick - // Here I want to reuse extractByRule(), so I need to parse the $p_index - // with privParseOptions() - $v_arg_trick = array (PCLZIP_OPT_BY_INDEX, $p_index); - $v_options_trick = array(); - $v_result = $this->privParseOptions($v_arg_trick, sizeof($v_arg_trick), $v_options_trick, - array (PCLZIP_OPT_BY_INDEX => 'optional' )); - if ($v_result != 1) { - return 0; - } - $v_options[PCLZIP_OPT_BY_INDEX] = $v_options_trick[PCLZIP_OPT_BY_INDEX]; - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Call the extracting fct - if (($v_result = $this->privExtractByRule($p_list, $v_path, $v_remove_path, $v_remove_all_path, $v_options)) < 1) { - return(0); - } - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // delete([$p_option, $p_option_value, ...]) - // Description : - // This method removes files from the archive. - // If no parameters are given, then all the archive is emptied. - // Parameters : - // None or optional arguments. - // Options : - // PCLZIP_OPT_BY_INDEX : - // PCLZIP_OPT_BY_NAME : - // PCLZIP_OPT_BY_EREG : - // PCLZIP_OPT_BY_PREG : - // Return Values : - // 0 on failure, - // The list of the files which are still present in the archive. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function delete() - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Set default values - $v_options = array(); - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Look for arguments - if ($v_size > 0) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_BY_NAME => 'optional', - PCLZIP_OPT_BY_EREG => 'optional', - PCLZIP_OPT_BY_PREG => 'optional', - PCLZIP_OPT_BY_INDEX => 'optional' )); - if ($v_result != 1) { - return 0; - } - } - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Call the delete fct - $v_list = array(); - if (($v_result = $this->privDeleteByRule($v_list, $v_options)) != 1) { - $this->privSwapBackMagicQuotes(); - unset($v_list); - return(0); - } - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : deleteByIndex() - // Description : - // ***** Deprecated ***** - // delete(PCLZIP_OPT_BY_INDEX, $p_index) should be prefered. - // -------------------------------------------------------------------------------- - function deleteByIndex($p_index) - { - - $p_list = $this->delete(PCLZIP_OPT_BY_INDEX, $p_index); - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : properties() - // Description : - // This method gives the properties of the archive. - // The properties are : - // nb : Number of files in the archive - // comment : Comment associated with the archive file - // status : not_exist, ok - // Parameters : - // None - // Return Values : - // 0 on failure, - // An array with the archive properties. - // -------------------------------------------------------------------------------- - function properties() - { - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - $this->privSwapBackMagicQuotes(); - return(0); - } - - // ----- Default properties - $v_prop = array(); - $v_prop['comment'] = ''; - $v_prop['nb'] = 0; - $v_prop['status'] = 'not_exist'; - - // ----- Look if file exists - if (@is_file($this->zipname)) - { - // ----- Open the zip file - if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) - { - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode'); - - // ----- Return - return 0; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privSwapBackMagicQuotes(); - return 0; - } - - // ----- Close the zip file - $this->privCloseFd(); - - // ----- Set the user attributes - $v_prop['comment'] = $v_central_dir['comment']; - $v_prop['nb'] = $v_central_dir['entries']; - $v_prop['status'] = 'ok'; - } - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_prop; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : duplicate() - // Description : - // This method creates an archive by copying the content of an other one. If - // the archive already exist, it is replaced by the new one without any warning. - // Parameters : - // $p_archive : The filename of a valid archive, or - // a valid PclZip object. - // Return Values : - // 1 on success. - // 0 or a negative value on error (error code). - // -------------------------------------------------------------------------------- - function duplicate($p_archive) - { - $v_result = 1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Look if the $p_archive is a PclZip object - if ((is_object($p_archive)) && (get_class($p_archive) == 'pclzip')) - { - - // ----- Duplicate the archive - $v_result = $this->privDuplicate($p_archive->zipname); - } - - // ----- Look if the $p_archive is a string (so a filename) - else if (is_string($p_archive)) - { - - // ----- Check that $p_archive is a valid zip file - // TBC : Should also check the archive format - if (!is_file($p_archive)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "No file with filename '".$p_archive."'"); - $v_result = PCLZIP_ERR_MISSING_FILE; - } - else { - // ----- Duplicate the archive - $v_result = $this->privDuplicate($p_archive); - } - } - - // ----- Invalid variable - else - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_archive_to_add"); - $v_result = PCLZIP_ERR_INVALID_PARAMETER; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : merge() - // Description : - // This method merge the $p_archive_to_add archive at the end of the current - // one ($this). - // If the archive ($this) does not exist, the merge becomes a duplicate. - // If the $p_archive_to_add archive does not exist, the merge is a success. - // Parameters : - // $p_archive_to_add : It can be directly the filename of a valid zip archive, - // or a PclZip object archive. - // Return Values : - // 1 on success, - // 0 or negative values on error (see below). - // -------------------------------------------------------------------------------- - function merge($p_archive_to_add) - { - $v_result = 1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Look if the $p_archive_to_add is a PclZip object - if ((is_object($p_archive_to_add)) && (get_class($p_archive_to_add) == 'pclzip')) - { - - // ----- Merge the archive - $v_result = $this->privMerge($p_archive_to_add); - } - - // ----- Look if the $p_archive_to_add is a string (so a filename) - else if (is_string($p_archive_to_add)) - { - - // ----- Create a temporary archive - $v_object_archive = new PclZip($p_archive_to_add); - - // ----- Merge the archive - $v_result = $this->privMerge($v_object_archive); - } - - // ----- Invalid variable - else - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_archive_to_add"); - $v_result = PCLZIP_ERR_INVALID_PARAMETER; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - - - // -------------------------------------------------------------------------------- - // Function : errorCode() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function errorCode() - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - return(PclErrorCode()); - } - else { - return($this->error_code); - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : errorName() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function errorName($p_with_code=false) - { - $v_name = array ( PCLZIP_ERR_NO_ERROR => 'PCLZIP_ERR_NO_ERROR', - PCLZIP_ERR_WRITE_OPEN_FAIL => 'PCLZIP_ERR_WRITE_OPEN_FAIL', - PCLZIP_ERR_READ_OPEN_FAIL => 'PCLZIP_ERR_READ_OPEN_FAIL', - PCLZIP_ERR_INVALID_PARAMETER => 'PCLZIP_ERR_INVALID_PARAMETER', - PCLZIP_ERR_MISSING_FILE => 'PCLZIP_ERR_MISSING_FILE', - PCLZIP_ERR_FILENAME_TOO_LONG => 'PCLZIP_ERR_FILENAME_TOO_LONG', - PCLZIP_ERR_INVALID_ZIP => 'PCLZIP_ERR_INVALID_ZIP', - PCLZIP_ERR_BAD_EXTRACTED_FILE => 'PCLZIP_ERR_BAD_EXTRACTED_FILE', - PCLZIP_ERR_DIR_CREATE_FAIL => 'PCLZIP_ERR_DIR_CREATE_FAIL', - PCLZIP_ERR_BAD_EXTENSION => 'PCLZIP_ERR_BAD_EXTENSION', - PCLZIP_ERR_BAD_FORMAT => 'PCLZIP_ERR_BAD_FORMAT', - PCLZIP_ERR_DELETE_FILE_FAIL => 'PCLZIP_ERR_DELETE_FILE_FAIL', - PCLZIP_ERR_RENAME_FILE_FAIL => 'PCLZIP_ERR_RENAME_FILE_FAIL', - PCLZIP_ERR_BAD_CHECKSUM => 'PCLZIP_ERR_BAD_CHECKSUM', - PCLZIP_ERR_INVALID_ARCHIVE_ZIP => 'PCLZIP_ERR_INVALID_ARCHIVE_ZIP', - PCLZIP_ERR_MISSING_OPTION_VALUE => 'PCLZIP_ERR_MISSING_OPTION_VALUE', - PCLZIP_ERR_INVALID_OPTION_VALUE => 'PCLZIP_ERR_INVALID_OPTION_VALUE', - PCLZIP_ERR_UNSUPPORTED_COMPRESSION => 'PCLZIP_ERR_UNSUPPORTED_COMPRESSION', - PCLZIP_ERR_UNSUPPORTED_ENCRYPTION => 'PCLZIP_ERR_UNSUPPORTED_ENCRYPTION' - ,PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE => 'PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE' - ,PCLZIP_ERR_DIRECTORY_RESTRICTION => 'PCLZIP_ERR_DIRECTORY_RESTRICTION' - ); - - if (isset($v_name[$this->error_code])) { - $v_value = $v_name[$this->error_code]; - } - else { - $v_value = 'NoName'; - } - - if ($p_with_code) { - return($v_value.' ('.$this->error_code.')'); - } - else { - return($v_value); - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : errorInfo() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function errorInfo($p_full=false) - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - return(PclErrorString()); - } - else { - if ($p_full) { - return($this->errorName(true)." : ".$this->error_string); - } - else { - return($this->error_string." [code ".$this->error_code."]"); - } - } - } - // -------------------------------------------------------------------------------- - - -// -------------------------------------------------------------------------------- -// ***** UNDER THIS LINE ARE DEFINED PRIVATE INTERNAL FUNCTIONS ***** -// ***** ***** -// ***** THESES FUNCTIONS MUST NOT BE USED DIRECTLY ***** -// -------------------------------------------------------------------------------- - - - - // -------------------------------------------------------------------------------- - // Function : privCheckFormat() - // Description : - // This method check that the archive exists and is a valid zip archive. - // Several level of check exists. (futur) - // Parameters : - // $p_level : Level of check. Default 0. - // 0 : Check the first bytes (magic codes) (default value)) - // 1 : 0 + Check the central directory (futur) - // 2 : 1 + Check each file header (futur) - // Return Values : - // true on success, - // false on error, the error code is set. - // -------------------------------------------------------------------------------- - function privCheckFormat($p_level=0) - { - $v_result = true; - - // ----- Reset the file system cache - clearstatcache(); - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Look if the file exits - if (!is_file($this->zipname)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "Missing archive file '".$this->zipname."'"); - return(false); - } - - // ----- Check that the file is readeable - if (!is_readable($this->zipname)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, "Unable to read archive '".$this->zipname."'"); - return(false); - } - - // ----- Check the magic code - // TBC - - // ----- Check the central header - // TBC - - // ----- Check each file header - // TBC - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privParseOptions() - // Description : - // This internal methods reads the variable list of arguments ($p_options_list, - // $p_size) and generate an array with the options and values ($v_result_list). - // $v_requested_options contains the options that can be present and those that - // must be present. - // $v_requested_options is an array, with the option value as key, and 'optional', - // or 'mandatory' as value. - // Parameters : - // See above. - // Return Values : - // 1 on success. - // 0 on failure. - // -------------------------------------------------------------------------------- - function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_requested_options=false) - { - $v_result=1; - - // ----- Read the options - $i=0; - while ($i<$p_size) { - - // ----- Check if the option is supported - if (!isset($v_requested_options[$p_options_list[$i]])) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid optional parameter '".$p_options_list[$i]."' for this method"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for next option - switch ($p_options_list[$i]) { - // ----- Look for options that request a path value - case PCLZIP_OPT_PATH : - case PCLZIP_OPT_REMOVE_PATH : - case PCLZIP_OPT_ADD_PATH : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE); - $i++; - break; - - case PCLZIP_OPT_TEMP_FILE_THRESHOLD : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - return PclZip::errorCode(); - } - - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); - return PclZip::errorCode(); - } - - // ----- Check the value - $v_value = $p_options_list[$i+1]; - if ((!is_integer($v_value)) || ($v_value<0)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Integer expected for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - return PclZip::errorCode(); - } - - // ----- Get the value (and convert it in bytes) - $v_result_list[$p_options_list[$i]] = $v_value*1048576; - $i++; - break; - - case PCLZIP_OPT_TEMP_FILE_ON : - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); - return PclZip::errorCode(); - } - - $v_result_list[$p_options_list[$i]] = true; - break; - - case PCLZIP_OPT_TEMP_FILE_OFF : - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_ON])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_ON'"); - return PclZip::errorCode(); - } - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_THRESHOLD'"); - return PclZip::errorCode(); - } - - $v_result_list[$p_options_list[$i]] = true; - break; - - case PCLZIP_OPT_EXTRACT_DIR_RESTRICTION : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if ( is_string($p_options_list[$i+1]) - && ($p_options_list[$i+1] != '')) { - $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE); - $i++; - } - else { - } - break; - - // ----- Look for options that request an array of string for value - case PCLZIP_OPT_BY_NAME : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if (is_string($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]][0] = $p_options_list[$i+1]; - } - else if (is_array($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - $i++; - break; - - // ----- Look for options that request an EREG or PREG expression - case PCLZIP_OPT_BY_EREG : - // ereg() is deprecated starting with PHP 5.3. Move PCLZIP_OPT_BY_EREG - // to PCLZIP_OPT_BY_PREG - $p_options_list[$i] = PCLZIP_OPT_BY_PREG; - case PCLZIP_OPT_BY_PREG : - //case PCLZIP_OPT_CRYPT : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if (is_string($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - $i++; - break; - - // ----- Look for options that takes a string - case PCLZIP_OPT_COMMENT : - case PCLZIP_OPT_ADD_COMMENT : - case PCLZIP_OPT_PREPEND_COMMENT : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, - "Missing parameter value for option '" - .PclZipUtilOptionText($p_options_list[$i]) - ."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if (is_string($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, - "Wrong parameter value for option '" - .PclZipUtilOptionText($p_options_list[$i]) - ."'"); - - // ----- Return - return PclZip::errorCode(); - } - $i++; - break; - - // ----- Look for options that request an array of index - case PCLZIP_OPT_BY_INDEX : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_work_list = array(); - if (is_string($p_options_list[$i+1])) { - - // ----- Remove spaces - $p_options_list[$i+1] = strtr($p_options_list[$i+1], ' ', ''); - - // ----- Parse items - $v_work_list = explode(",", $p_options_list[$i+1]); - } - else if (is_integer($p_options_list[$i+1])) { - $v_work_list[0] = $p_options_list[$i+1].'-'.$p_options_list[$i+1]; - } - else if (is_array($p_options_list[$i+1])) { - $v_work_list = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Value must be integer, string or array for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Reduce the index list - // each index item in the list must be a couple with a start and - // an end value : [0,3], [5-5], [8-10], ... - // ----- Check the format of each item - $v_sort_flag=false; - $v_sort_value=0; - for ($j=0; $j= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - $i++; - break; - - // ----- Look for options that request a call-back - case PCLZIP_CB_PRE_EXTRACT : - case PCLZIP_CB_POST_EXTRACT : - case PCLZIP_CB_PRE_ADD : - case PCLZIP_CB_POST_ADD : - /* for futur use - case PCLZIP_CB_PRE_DELETE : - case PCLZIP_CB_POST_DELETE : - case PCLZIP_CB_PRE_LIST : - case PCLZIP_CB_POST_LIST : - */ - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_function_name = $p_options_list[$i+1]; - - // ----- Check that the value is a valid existing function - if (!function_exists($v_function_name)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Function '".$v_function_name."()' is not an existing function for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Set the attribute - $v_result_list[$p_options_list[$i]] = $v_function_name; - $i++; - break; - - default : - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, - "Unknown parameter '" - .$p_options_list[$i]."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Next options - $i++; - } - - // ----- Look for mandatory options - if ($v_requested_options !== false) { - for ($key=reset($v_requested_options); $key=key($v_requested_options); $key=next($v_requested_options)) { - // ----- Look for mandatory option - if ($v_requested_options[$key] == 'mandatory') { - // ----- Look if present - if (!isset($v_result_list[$key])) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ".PclZipUtilOptionText($key)."(".$key.")"); - - // ----- Return - return PclZip::errorCode(); - } - } - } - } - - // ----- Look for default values - if (!isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) { - - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privOptionDefaultThreshold() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privOptionDefaultThreshold(&$p_options) - { - $v_result=1; - - if (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) - || isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) { - return $v_result; - } - - // ----- Get 'memory_limit' configuration value - $v_memory_limit = ini_get('memory_limit'); - $v_memory_limit = trim($v_memory_limit); - $last = strtolower(substr($v_memory_limit, -1)); - - if($last == 'g') - //$v_memory_limit = $v_memory_limit*1024*1024*1024; - $v_memory_limit = $v_memory_limit*1073741824; - if($last == 'm') - //$v_memory_limit = $v_memory_limit*1024*1024; - $v_memory_limit = $v_memory_limit*1048576; - if($last == 'k') - $v_memory_limit = $v_memory_limit*1024; - - $p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] = floor($v_memory_limit*PCLZIP_TEMPORARY_FILE_RATIO); - - - // ----- Sanity check : No threshold if value lower than 1M - if ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] < 1048576) { - unset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privFileDescrParseAtt() - // Description : - // Parameters : - // Return Values : - // 1 on success. - // 0 on failure. - // -------------------------------------------------------------------------------- - function privFileDescrParseAtt(&$p_file_list, &$p_filedescr, $v_options, $v_requested_options=false) - { - $v_result=1; - - // ----- For each file in the list check the attributes - foreach ($p_file_list as $v_key => $v_value) { - - // ----- Check if the option is supported - if (!isset($v_requested_options[$v_key])) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid file attribute '".$v_key."' for this file"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for attribute - switch ($v_key) { - case PCLZIP_ATT_FILE_NAME : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['filename'] = PclZipUtilPathReduction($v_value); - - if ($p_filedescr['filename'] == '') { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty filename for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - break; - - case PCLZIP_ATT_FILE_NEW_SHORT_NAME : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['new_short_name'] = PclZipUtilPathReduction($v_value); - - if ($p_filedescr['new_short_name'] == '') { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty short filename for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - break; - - case PCLZIP_ATT_FILE_NEW_FULL_NAME : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['new_full_name'] = PclZipUtilPathReduction($v_value); - - if ($p_filedescr['new_full_name'] == '') { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty full filename for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - break; - - // ----- Look for options that takes a string - case PCLZIP_ATT_FILE_COMMENT : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['comment'] = $v_value; - break; - - case PCLZIP_ATT_FILE_MTIME : - if (!is_integer($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". Integer expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['mtime'] = $v_value; - break; - - case PCLZIP_ATT_FILE_CONTENT : - $p_filedescr['content'] = $v_value; - break; - - default : - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, - "Unknown parameter '".$v_key."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for mandatory options - if ($v_requested_options !== false) { - for ($key=reset($v_requested_options); $key=key($v_requested_options); $key=next($v_requested_options)) { - // ----- Look for mandatory option - if ($v_requested_options[$key] == 'mandatory') { - // ----- Look if present - if (!isset($p_file_list[$key])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ".PclZipUtilOptionText($key)."(".$key.")"); - return PclZip::errorCode(); - } - } - } - } - - // end foreach - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privFileDescrExpand() - // Description : - // This method look for each item of the list to see if its a file, a folder - // or a string to be added as file. For any other type of files (link, other) - // just ignore the item. - // Then prepare the information that will be stored for that file. - // When its a folder, expand the folder with all the files that are in that - // folder (recursively). - // Parameters : - // Return Values : - // 1 on success. - // 0 on failure. - // -------------------------------------------------------------------------------- - function privFileDescrExpand(&$p_filedescr_list, &$p_options) - { - $v_result=1; - - // ----- Create a result list - $v_result_list = array(); - - // ----- Look each entry - for ($i=0; $iprivCalculateStoredFilename($v_descr, $p_options); - - // ----- Add the descriptor in result list - $v_result_list[sizeof($v_result_list)] = $v_descr; - - // ----- Look for folder - if ($v_descr['type'] == 'folder') { - // ----- List of items in folder - $v_dirlist_descr = array(); - $v_dirlist_nb = 0; - if ($v_folder_handler = @opendir($v_descr['filename'])) { - while (($v_item_handler = @readdir($v_folder_handler)) !== false) { - - // ----- Skip '.' and '..' - if (($v_item_handler == '.') || ($v_item_handler == '..')) { - continue; - } - - // ----- Compose the full filename - $v_dirlist_descr[$v_dirlist_nb]['filename'] = $v_descr['filename'].'/'.$v_item_handler; - - // ----- Look for different stored filename - // Because the name of the folder was changed, the name of the - // files/sub-folders also change - if (($v_descr['stored_filename'] != $v_descr['filename']) - && (!isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH]))) { - if ($v_descr['stored_filename'] != '') { - $v_dirlist_descr[$v_dirlist_nb]['new_full_name'] = $v_descr['stored_filename'].'/'.$v_item_handler; - } - else { - $v_dirlist_descr[$v_dirlist_nb]['new_full_name'] = $v_item_handler; - } - } - - $v_dirlist_nb++; - } - - @closedir($v_folder_handler); - } - else { - // TBC : unable to open folder in read mode - } - - // ----- Expand each element of the list - if ($v_dirlist_nb != 0) { - // ----- Expand - if (($v_result = $this->privFileDescrExpand($v_dirlist_descr, $p_options)) != 1) { - return $v_result; - } - - // ----- Concat the resulting list - $v_result_list = array_merge($v_result_list, $v_dirlist_descr); - } - else { - } - - // ----- Free local array - unset($v_dirlist_descr); - } - } - - // ----- Get the result list - $p_filedescr_list = $v_result_list; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCreate() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privCreate($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - $v_list_detail = array(); - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Open the file in write mode - if (($v_result = $this->privOpenFd('wb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Add the list of files - $v_result = $this->privAddList($p_filedescr_list, $p_result_list, $p_options); - - // ----- Close - $this->privCloseFd(); - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAdd() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privAdd($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - $v_list_detail = array(); - - // ----- Look if the archive exists or is empty - if ((!is_file($this->zipname)) || (filesize($this->zipname) == 0)) - { - - // ----- Do a create - $v_result = $this->privCreate($p_filedescr_list, $p_result_list, $p_options); - - // ----- Return - return $v_result; - } - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('rb')) != 1) - { - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Go to beginning of File - @rewind($this->zip_fd); - - // ----- Creates a temporay file - $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp'; - - // ----- Open the temporary file in write mode - if (($v_zip_temp_fd = @fopen($v_zip_temp_name, 'wb')) == 0) - { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_zip_temp_name.'\' in binary write mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Copy the files from the archive to the temporary file - // TBC : Here I should better append the file and go back to erase the central dir - $v_size = $v_central_dir['offset']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($this->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Swap the file descriptor - // Here is a trick : I swap the temporary fd with the zip fd, in order to use - // the following methods on the temporary fil and not the real archive - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Add the files - $v_header_list = array(); - if (($v_result = $this->privAddFileList($p_filedescr_list, $v_header_list, $p_options)) != 1) - { - fclose($v_zip_temp_fd); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($this->zip_fd); - - // ----- Copy the block of file headers from the old archive - $v_size = $v_central_dir['size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($v_zip_temp_fd, $v_read_size); - @fwrite($this->zip_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Create the Central Dir files header - for ($i=0, $v_count=0; $iprivWriteCentralFileHeader($v_header_list[$i])) != 1) { - fclose($v_zip_temp_fd); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - $v_count++; - } - - // ----- Transform the header to a 'usable' info - $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]); - } - - // ----- Zip file comment - $v_comment = $v_central_dir['comment']; - if (isset($p_options[PCLZIP_OPT_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_COMMENT]; - } - if (isset($p_options[PCLZIP_OPT_ADD_COMMENT])) { - $v_comment = $v_comment.$p_options[PCLZIP_OPT_ADD_COMMENT]; - } - if (isset($p_options[PCLZIP_OPT_PREPEND_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_PREPEND_COMMENT].$v_comment; - } - - // ----- Calculate the size of the central header - $v_size = @ftell($this->zip_fd)-$v_offset; - - // ----- Create the central dir footer - if (($v_result = $this->privWriteCentralHeader($v_count+$v_central_dir['entries'], $v_size, $v_offset, $v_comment)) != 1) - { - // ----- Reset the file list - unset($v_header_list); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - - // ----- Swap back the file descriptor - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Close - $this->privCloseFd(); - - // ----- Close the temporary file - @fclose($v_zip_temp_fd); - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Delete the zip file - // TBC : I should test the result ... - @unlink($this->zipname); - - // ----- Rename the temporary file - // TBC : I should test the result ... - //@rename($v_zip_temp_name, $this->zipname); - PclZipUtilRename($v_zip_temp_name, $this->zipname); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privOpenFd() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privOpenFd($p_mode) - { - $v_result=1; - - // ----- Look if already open - if ($this->zip_fd != 0) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Zip file \''.$this->zipname.'\' already open'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Open the zip file - if (($this->zip_fd = @fopen($this->zipname, $p_mode)) == 0) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in '.$p_mode.' mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCloseFd() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privCloseFd() - { - $v_result=1; - - if ($this->zip_fd != 0) - @fclose($this->zip_fd); - $this->zip_fd = 0; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddList() - // Description : - // $p_add_dir and $p_remove_dir will give the ability to memorize a path which is - // different from the real path of the file. This is usefull if you want to have PclTar - // running in any directory, and memorize relative path from an other directory. - // Parameters : - // $p_list : An array containing the file or directory names to add in the tar - // $p_result_list : list of added files with their properties (specially the status field) - // $p_add_dir : Path to add in the filename path archived - // $p_remove_dir : Path to remove in the filename path archived - // Return Values : - // -------------------------------------------------------------------------------- -// function privAddList($p_list, &$p_result_list, $p_add_dir, $p_remove_dir, $p_remove_all_dir, &$p_options) - function privAddList($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - - // ----- Add the files - $v_header_list = array(); - if (($v_result = $this->privAddFileList($p_filedescr_list, $v_header_list, $p_options)) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($this->zip_fd); - - // ----- Create the Central Dir files header - for ($i=0,$v_count=0; $iprivWriteCentralFileHeader($v_header_list[$i])) != 1) { - // ----- Return - return $v_result; - } - $v_count++; - } - - // ----- Transform the header to a 'usable' info - $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]); - } - - // ----- Zip file comment - $v_comment = ''; - if (isset($p_options[PCLZIP_OPT_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_COMMENT]; - } - - // ----- Calculate the size of the central header - $v_size = @ftell($this->zip_fd)-$v_offset; - - // ----- Create the central dir footer - if (($v_result = $this->privWriteCentralHeader($v_count, $v_size, $v_offset, $v_comment)) != 1) - { - // ----- Reset the file list - unset($v_header_list); - - // ----- Return - return $v_result; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddFileList() - // Description : - // Parameters : - // $p_filedescr_list : An array containing the file description - // or directory names to add in the zip - // $p_result_list : list of added files with their properties (specially the status field) - // Return Values : - // -------------------------------------------------------------------------------- - function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - $v_header = array(); - - // ----- Recuperate the current number of elt in list - $v_nb = sizeof($p_result_list); - - // ----- Loop on the files - for ($j=0; ($jprivAddFile($p_filedescr_list[$j], $v_header, - $p_options); - if ($v_result != 1) { - return $v_result; - } - - // ----- Store the file infos - $p_result_list[$v_nb++] = $v_header; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddFile() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privAddFile($p_filedescr, &$p_header, &$p_options) - { - $v_result=1; - - // ----- Working variable - $p_filename = $p_filedescr['filename']; - - // TBC : Already done in the fileAtt check ... ? - if ($p_filename == "") { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid file list parameter (invalid or empty list)"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for a stored different filename - /* TBC : Removed - if (isset($p_filedescr['stored_filename'])) { - $v_stored_filename = $p_filedescr['stored_filename']; - } - else { - $v_stored_filename = $p_filedescr['stored_filename']; - } - */ - - // ----- Set the file properties - clearstatcache(); - $p_header['version'] = 20; - $p_header['version_extracted'] = 10; - $p_header['flag'] = 0; - $p_header['compression'] = 0; - $p_header['crc'] = 0; - $p_header['compressed_size'] = 0; - $p_header['filename_len'] = strlen($p_filename); - $p_header['extra_len'] = 0; - $p_header['disk'] = 0; - $p_header['internal'] = 0; - $p_header['offset'] = 0; - $p_header['filename'] = $p_filename; -// TBC : Removed $p_header['stored_filename'] = $v_stored_filename; - $p_header['stored_filename'] = $p_filedescr['stored_filename']; - $p_header['extra'] = ''; - $p_header['status'] = 'ok'; - $p_header['index'] = -1; - - // ----- Look for regular file - if ($p_filedescr['type']=='file') { - $p_header['external'] = 0x00000000; - $p_header['size'] = filesize($p_filename); - } - - // ----- Look for regular folder - else if ($p_filedescr['type']=='folder') { - $p_header['external'] = 0x00000010; - $p_header['mtime'] = filemtime($p_filename); - $p_header['size'] = filesize($p_filename); - } - - // ----- Look for virtual file - else if ($p_filedescr['type'] == 'virtual_file') { - $p_header['external'] = 0x00000000; - $p_header['size'] = strlen($p_filedescr['content']); - } - - - // ----- Look for filetime - if (isset($p_filedescr['mtime'])) { - $p_header['mtime'] = $p_filedescr['mtime']; - } - else if ($p_filedescr['type'] == 'virtual_file') { - $p_header['mtime'] = time(); - } - else { - $p_header['mtime'] = filemtime($p_filename); - } - - // ------ Look for file comment - if (isset($p_filedescr['comment'])) { - $p_header['comment_len'] = strlen($p_filedescr['comment']); - $p_header['comment'] = $p_filedescr['comment']; - } - else { - $p_header['comment_len'] = 0; - $p_header['comment'] = ''; - } - - // ----- Look for pre-add callback - if (isset($p_options[PCLZIP_CB_PRE_ADD])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_header, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. - $v_result = $p_options[PCLZIP_CB_PRE_ADD](PCLZIP_CB_PRE_ADD, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_header['status'] = "skipped"; - $v_result = 1; - } - - // ----- Update the informations - // Only some fields can be modified - if ($p_header['stored_filename'] != $v_local_header['stored_filename']) { - $p_header['stored_filename'] = PclZipUtilPathReduction($v_local_header['stored_filename']); - } - } - - // ----- Look for empty stored filename - if ($p_header['stored_filename'] == "") { - $p_header['status'] = "filtered"; - } - - // ----- Check the path length - if (strlen($p_header['stored_filename']) > 0xFF) { - $p_header['status'] = 'filename_too_long'; - } - - // ----- Look if no error, or file not skipped - if ($p_header['status'] == 'ok') { - - // ----- Look for a file - if ($p_filedescr['type'] == 'file') { - // ----- Look for using temporary file to zip - if ( (!isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) - && (isset($p_options[PCLZIP_OPT_TEMP_FILE_ON]) - || (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) - && ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] <= $p_header['size'])) ) ) { - $v_result = $this->privAddFileUsingTempFile($p_filedescr, $p_header, $p_options); - if ($v_result < PCLZIP_ERR_NO_ERROR) { - return $v_result; - } - } - - // ----- Use "in memory" zip algo - else { - - // ----- Open the source file - if (($v_file = @fopen($p_filename, "rb")) == 0) { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, "Unable to open file '$p_filename' in binary read mode"); - return PclZip::errorCode(); - } - - // ----- Read the file content - $v_content = @fread($v_file, $p_header['size']); - - // ----- Close the file - @fclose($v_file); - - // ----- Calculate the CRC - $p_header['crc'] = @crc32($v_content); - - // ----- Look for no compression - if ($p_options[PCLZIP_OPT_NO_COMPRESSION]) { - // ----- Set header parameters - $p_header['compressed_size'] = $p_header['size']; - $p_header['compression'] = 0; - } - - // ----- Look for normal compression - else { - // ----- Compress the content - $v_content = @gzdeflate($v_content); - - // ----- Set header parameters - $p_header['compressed_size'] = strlen($v_content); - $p_header['compression'] = 8; - } - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) { - @fclose($v_file); - return $v_result; - } - - // ----- Write the compressed (or not) content - @fwrite($this->zip_fd, $v_content, $p_header['compressed_size']); - - } - - } - - // ----- Look for a virtual file (a file from string) - else if ($p_filedescr['type'] == 'virtual_file') { - - $v_content = $p_filedescr['content']; - - // ----- Calculate the CRC - $p_header['crc'] = @crc32($v_content); - - // ----- Look for no compression - if ($p_options[PCLZIP_OPT_NO_COMPRESSION]) { - // ----- Set header parameters - $p_header['compressed_size'] = $p_header['size']; - $p_header['compression'] = 0; - } - - // ----- Look for normal compression - else { - // ----- Compress the content - $v_content = @gzdeflate($v_content); - - // ----- Set header parameters - $p_header['compressed_size'] = strlen($v_content); - $p_header['compression'] = 8; - } - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) { - @fclose($v_file); - return $v_result; - } - - // ----- Write the compressed (or not) content - @fwrite($this->zip_fd, $v_content, $p_header['compressed_size']); - } - - // ----- Look for a directory - else if ($p_filedescr['type'] == 'folder') { - // ----- Look for directory last '/' - if (@substr($p_header['stored_filename'], -1) != '/') { - $p_header['stored_filename'] .= '/'; - } - - // ----- Set the file properties - $p_header['size'] = 0; - //$p_header['external'] = 0x41FF0010; // Value for a folder : to be checked - $p_header['external'] = 0x00000010; // Value for a folder : to be checked - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) - { - return $v_result; - } - } - } - - // ----- Look for post-add callback - if (isset($p_options[PCLZIP_CB_POST_ADD])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_header, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. - $v_result = $p_options[PCLZIP_CB_POST_ADD](PCLZIP_CB_POST_ADD, $v_local_header); - if ($v_result == 0) { - // ----- Ignored - $v_result = 1; - } - - // ----- Update the informations - // Nothing can be modified - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddFileUsingTempFile() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privAddFileUsingTempFile($p_filedescr, &$p_header, &$p_options) - { - $v_result=PCLZIP_ERR_NO_ERROR; - - // ----- Working variable - $p_filename = $p_filedescr['filename']; - - - // ----- Open the source file - if (($v_file = @fopen($p_filename, "rb")) == 0) { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, "Unable to open file '$p_filename' in binary read mode"); - return PclZip::errorCode(); - } - - // ----- Creates a compressed temporary file - $v_gzip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.gz'; - if (($v_file_compressed = @gzopen($v_gzip_temp_name, "wb")) == 0) { - fclose($v_file); - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary write mode'); - return PclZip::errorCode(); - } - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = filesize($p_filename); - while ($v_size != 0) { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($v_file, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @gzputs($v_file_compressed, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Close the file - @fclose($v_file); - @gzclose($v_file_compressed); - - // ----- Check the minimum file size - if (filesize($v_gzip_temp_name) < 18) { - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'gzip temporary file \''.$v_gzip_temp_name.'\' has invalid filesize - should be minimum 18 bytes'); - return PclZip::errorCode(); - } - - // ----- Extract the compressed attributes - if (($v_file_compressed = @fopen($v_gzip_temp_name, "rb")) == 0) { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary read mode'); - return PclZip::errorCode(); - } - - // ----- Read the gzip file header - $v_binary_data = @fread($v_file_compressed, 10); - $v_data_header = unpack('a1id1/a1id2/a1cm/a1flag/Vmtime/a1xfl/a1os', $v_binary_data); - - // ----- Check some parameters - $v_data_header['os'] = bin2hex($v_data_header['os']); - - // ----- Read the gzip file footer - @fseek($v_file_compressed, filesize($v_gzip_temp_name)-8); - $v_binary_data = @fread($v_file_compressed, 8); - $v_data_footer = unpack('Vcrc/Vcompressed_size', $v_binary_data); - - // ----- Set the attributes - $p_header['compression'] = ord($v_data_header['cm']); - //$p_header['mtime'] = $v_data_header['mtime']; - $p_header['crc'] = $v_data_footer['crc']; - $p_header['compressed_size'] = filesize($v_gzip_temp_name)-18; - - // ----- Close the file - @fclose($v_file_compressed); - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) { - return $v_result; - } - - // ----- Add the compressed data - if (($v_file_compressed = @fopen($v_gzip_temp_name, "rb")) == 0) - { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary read mode'); - return PclZip::errorCode(); - } - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - fseek($v_file_compressed, 10); - $v_size = $p_header['compressed_size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($v_file_compressed, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($this->zip_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Close the file - @fclose($v_file_compressed); - - // ----- Unlink the temporary file - @unlink($v_gzip_temp_name); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCalculateStoredFilename() - // Description : - // Based on file descriptor properties and global options, this method - // calculate the filename that will be stored in the archive. - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privCalculateStoredFilename(&$p_filedescr, &$p_options) - { - $v_result=1; - - // ----- Working variables - $p_filename = $p_filedescr['filename']; - if (isset($p_options[PCLZIP_OPT_ADD_PATH])) { - $p_add_dir = $p_options[PCLZIP_OPT_ADD_PATH]; - } - else { - $p_add_dir = ''; - } - if (isset($p_options[PCLZIP_OPT_REMOVE_PATH])) { - $p_remove_dir = $p_options[PCLZIP_OPT_REMOVE_PATH]; - } - else { - $p_remove_dir = ''; - } - if (isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH])) { - $p_remove_all_dir = $p_options[PCLZIP_OPT_REMOVE_ALL_PATH]; - } - else { - $p_remove_all_dir = 0; - } - - - // ----- Look for full name change - if (isset($p_filedescr['new_full_name'])) { - // ----- Remove drive letter if any - $v_stored_filename = PclZipUtilTranslateWinPath($p_filedescr['new_full_name']); - } - - // ----- Look for path and/or short name change - else { - - // ----- Look for short name change - // Its when we cahnge just the filename but not the path - if (isset($p_filedescr['new_short_name'])) { - $v_path_info = pathinfo($p_filename); - $v_dir = ''; - if ($v_path_info['dirname'] != '') { - $v_dir = $v_path_info['dirname'].'/'; - } - $v_stored_filename = $v_dir.$p_filedescr['new_short_name']; - } - else { - // ----- Calculate the stored filename - $v_stored_filename = $p_filename; - } - - // ----- Look for all path to remove - if ($p_remove_all_dir) { - $v_stored_filename = basename($p_filename); - } - // ----- Look for partial path remove - else if ($p_remove_dir != "") { - if (substr($p_remove_dir, -1) != '/') - $p_remove_dir .= "/"; - - if ( (substr($p_filename, 0, 2) == "./") - || (substr($p_remove_dir, 0, 2) == "./")) { - - if ( (substr($p_filename, 0, 2) == "./") - && (substr($p_remove_dir, 0, 2) != "./")) { - $p_remove_dir = "./".$p_remove_dir; - } - if ( (substr($p_filename, 0, 2) != "./") - && (substr($p_remove_dir, 0, 2) == "./")) { - $p_remove_dir = substr($p_remove_dir, 2); - } - } - - $v_compare = PclZipUtilPathInclusion($p_remove_dir, - $v_stored_filename); - if ($v_compare > 0) { - if ($v_compare == 2) { - $v_stored_filename = ""; - } - else { - $v_stored_filename = substr($v_stored_filename, - strlen($p_remove_dir)); - } - } - } - - // ----- Remove drive letter if any - $v_stored_filename = PclZipUtilTranslateWinPath($v_stored_filename); - - // ----- Look for path to add - if ($p_add_dir != "") { - if (substr($p_add_dir, -1) == "/") - $v_stored_filename = $p_add_dir.$v_stored_filename; - else - $v_stored_filename = $p_add_dir."/".$v_stored_filename; - } - } - - // ----- Filename (reduce the path of stored name) - $v_stored_filename = PclZipUtilPathReduction($v_stored_filename); - $p_filedescr['stored_filename'] = $v_stored_filename; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privWriteFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privWriteFileHeader(&$p_header) - { - $v_result=1; - - // ----- Store the offset position of the file - $p_header['offset'] = ftell($this->zip_fd); - - // ----- Transform UNIX mtime to DOS format mdate/mtime - $v_date = getdate($p_header['mtime']); - $v_mtime = ($v_date['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2; - $v_mdate = (($v_date['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday']; - - // ----- Packed data - $v_binary_data = pack("VvvvvvVVVvv", 0x04034b50, - $p_header['version_extracted'], $p_header['flag'], - $p_header['compression'], $v_mtime, $v_mdate, - $p_header['crc'], $p_header['compressed_size'], - $p_header['size'], - strlen($p_header['stored_filename']), - $p_header['extra_len']); - - // ----- Write the first 148 bytes of the header in the archive - fputs($this->zip_fd, $v_binary_data, 30); - - // ----- Write the variable fields - if (strlen($p_header['stored_filename']) != 0) - { - fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename'])); - } - if ($p_header['extra_len'] != 0) - { - fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privWriteCentralFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privWriteCentralFileHeader(&$p_header) - { - $v_result=1; - - // TBC - //for(reset($p_header); $key = key($p_header); next($p_header)) { - //} - - // ----- Transform UNIX mtime to DOS format mdate/mtime - $v_date = getdate($p_header['mtime']); - $v_mtime = ($v_date['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2; - $v_mdate = (($v_date['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday']; - - - // ----- Packed data - $v_binary_data = pack("VvvvvvvVVVvvvvvVV", 0x02014b50, - $p_header['version'], $p_header['version_extracted'], - $p_header['flag'], $p_header['compression'], - $v_mtime, $v_mdate, $p_header['crc'], - $p_header['compressed_size'], $p_header['size'], - strlen($p_header['stored_filename']), - $p_header['extra_len'], $p_header['comment_len'], - $p_header['disk'], $p_header['internal'], - $p_header['external'], $p_header['offset']); - - // ----- Write the 42 bytes of the header in the zip file - fputs($this->zip_fd, $v_binary_data, 46); - - // ----- Write the variable fields - if (strlen($p_header['stored_filename']) != 0) - { - fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename'])); - } - if ($p_header['extra_len'] != 0) - { - fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']); - } - if ($p_header['comment_len'] != 0) - { - fputs($this->zip_fd, $p_header['comment'], $p_header['comment_len']); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privWriteCentralHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privWriteCentralHeader($p_nb_entries, $p_size, $p_offset, $p_comment) - { - $v_result=1; - - // ----- Packed data - $v_binary_data = pack("VvvvvVVv", 0x06054b50, 0, 0, $p_nb_entries, - $p_nb_entries, $p_size, - $p_offset, strlen($p_comment)); - - // ----- Write the 22 bytes of the header in the zip file - fputs($this->zip_fd, $v_binary_data, 22); - - // ----- Write the variable fields - if (strlen($p_comment) != 0) - { - fputs($this->zip_fd, $p_comment, strlen($p_comment)); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privList() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privList(&$p_list) - { - $v_result=1; - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Open the zip file - if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) - { - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Go to beginning of Central Dir - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_central_dir['offset'])) - { - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read each entry - for ($i=0; $i<$v_central_dir['entries']; $i++) - { - // ----- Read the file header - if (($v_result = $this->privReadCentralFileHeader($v_header)) != 1) - { - $this->privSwapBackMagicQuotes(); - return $v_result; - } - $v_header['index'] = $i; - - // ----- Get the only interesting attributes - $this->privConvertHeader2FileInfo($v_header, $p_list[$i]); - unset($v_header); - } - - // ----- Close the zip file - $this->privCloseFd(); - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privConvertHeader2FileInfo() - // Description : - // This function takes the file informations from the central directory - // entries and extract the interesting parameters that will be given back. - // The resulting file infos are set in the array $p_info - // $p_info['filename'] : Filename with full path. Given by user (add), - // extracted in the filesystem (extract). - // $p_info['stored_filename'] : Stored filename in the archive. - // $p_info['size'] = Size of the file. - // $p_info['compressed_size'] = Compressed size of the file. - // $p_info['mtime'] = Last modification date of the file. - // $p_info['comment'] = Comment associated with the file. - // $p_info['folder'] = true/false : indicates if the entry is a folder or not. - // $p_info['status'] = status of the action on the file. - // $p_info['crc'] = CRC of the file content. - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privConvertHeader2FileInfo($p_header, &$p_info) - { - $v_result=1; - - // ----- Get the interesting attributes - $v_temp_path = PclZipUtilPathReduction($p_header['filename']); - $p_info['filename'] = $v_temp_path; - $v_temp_path = PclZipUtilPathReduction($p_header['stored_filename']); - $p_info['stored_filename'] = $v_temp_path; - $p_info['size'] = $p_header['size']; - $p_info['compressed_size'] = $p_header['compressed_size']; - $p_info['mtime'] = $p_header['mtime']; - $p_info['comment'] = $p_header['comment']; - $p_info['folder'] = (($p_header['external']&0x00000010)==0x00000010); - $p_info['index'] = $p_header['index']; - $p_info['status'] = $p_header['status']; - $p_info['crc'] = $p_header['crc']; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractByRule() - // Description : - // Extract a file or directory depending of rules (by index, by name, ...) - // Parameters : - // $p_file_list : An array where will be placed the properties of each - // extracted file - // $p_path : Path to add while writing the extracted files - // $p_remove_path : Path to remove (from the file memorized path) while writing the - // extracted files. If the path does not match the file path, - // the file is extracted with its memorized path. - // $p_remove_path does not apply to 'list' mode. - // $p_path and $p_remove_path are commulative. - // Return Values : - // 1 on success,0 or less on error (see error code list) - // -------------------------------------------------------------------------------- - function privExtractByRule(&$p_file_list, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) - { - $v_result=1; - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Check the path - if ( ($p_path == "") - || ( (substr($p_path, 0, 1) != "/") - && (substr($p_path, 0, 3) != "../") - && (substr($p_path,1,2)!=":/"))) - $p_path = "./".$p_path; - - // ----- Reduce the path last (and duplicated) '/' - if (($p_path != "./") && ($p_path != "/")) - { - // ----- Look for the path end '/' - while (substr($p_path, -1) == "/") - { - $p_path = substr($p_path, 0, strlen($p_path)-1); - } - } - - // ----- Look for path to remove format (should end by /) - if (($p_remove_path != "") && (substr($p_remove_path, -1) != '/')) - { - $p_remove_path .= '/'; - } - $p_remove_path_size = strlen($p_remove_path); - - // ----- Open the zip file - if (($v_result = $this->privOpenFd('rb')) != 1) - { - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Start at beginning of Central Dir - $v_pos_entry = $v_central_dir['offset']; - - // ----- Read each entry - $j_start = 0; - for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++) - { - - // ----- Read next Central dir entry - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_pos_entry)) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the file header - $v_header = array(); - if (($v_result = $this->privReadCentralFileHeader($v_header)) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Store the index - $v_header['index'] = $i; - - // ----- Store the file position - $v_pos_entry = ftell($this->zip_fd); - - // ----- Look for the specific extract rules - $v_extract = false; - - // ----- Look for extract by name rule - if ( (isset($p_options[PCLZIP_OPT_BY_NAME])) - && ($p_options[PCLZIP_OPT_BY_NAME] != 0)) { - - // ----- Look if the filename is in the list - for ($j=0; ($j strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) - && (substr($v_header['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])) { - $v_extract = true; - } - } - // ----- Look for a filename - elseif ($v_header['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) { - $v_extract = true; - } - } - } - - // ----- Look for extract by ereg rule - // ereg() is deprecated with PHP 5.3 - /* - else if ( (isset($p_options[PCLZIP_OPT_BY_EREG])) - && ($p_options[PCLZIP_OPT_BY_EREG] != "")) { - - if (ereg($p_options[PCLZIP_OPT_BY_EREG], $v_header['stored_filename'])) { - $v_extract = true; - } - } - */ - - // ----- Look for extract by preg rule - else if ( (isset($p_options[PCLZIP_OPT_BY_PREG])) - && ($p_options[PCLZIP_OPT_BY_PREG] != "")) { - - if (preg_match($p_options[PCLZIP_OPT_BY_PREG], $v_header['stored_filename'])) { - $v_extract = true; - } - } - - // ----- Look for extract by index rule - else if ( (isset($p_options[PCLZIP_OPT_BY_INDEX])) - && ($p_options[PCLZIP_OPT_BY_INDEX] != 0)) { - - // ----- Look if the index is in the list - for ($j=$j_start; ($j=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) { - $v_extract = true; - } - if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) { - $j_start = $j+1; - } - - if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) { - break; - } - } - } - - // ----- Look for no rule, which means extract all the archive - else { - $v_extract = true; - } - - // ----- Check compression method - if ( ($v_extract) - && ( ($v_header['compression'] != 8) - && ($v_header['compression'] != 0))) { - $v_header['status'] = 'unsupported_compression'; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - $this->privSwapBackMagicQuotes(); - - PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_COMPRESSION, - "Filename '".$v_header['stored_filename']."' is " - ."compressed by an unsupported compression " - ."method (".$v_header['compression'].") "); - - return PclZip::errorCode(); - } - } - - // ----- Check encrypted files - if (($v_extract) && (($v_header['flag'] & 1) == 1)) { - $v_header['status'] = 'unsupported_encryption'; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - $this->privSwapBackMagicQuotes(); - - PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_ENCRYPTION, - "Unsupported encryption for " - ." filename '".$v_header['stored_filename'] - ."'"); - - return PclZip::errorCode(); - } - } - - // ----- Look for real extraction - if (($v_extract) && ($v_header['status'] != 'ok')) { - $v_result = $this->privConvertHeader2FileInfo($v_header, - $p_file_list[$v_nb_extracted++]); - if ($v_result != 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - $v_extract = false; - } - - // ----- Look for real extraction - if ($v_extract) - { - - // ----- Go to the file position - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_header['offset'])) - { - // ----- Close the zip file - $this->privCloseFd(); - - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for extraction as string - if ($p_options[PCLZIP_OPT_EXTRACT_AS_STRING]) { - - $v_string = ''; - - // ----- Extracting the file - $v_result1 = $this->privExtractFileAsString($v_header, $v_string, $p_options); - if ($v_result1 < 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result1; - } - - // ----- Get the only interesting attributes - if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted])) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Set the file content - $p_file_list[$v_nb_extracted]['content'] = $v_string; - - // ----- Next extracted file - $v_nb_extracted++; - - // ----- Look for user callback abort - if ($v_result1 == 2) { - break; - } - } - // ----- Look for extraction in standard output - elseif ( (isset($p_options[PCLZIP_OPT_EXTRACT_IN_OUTPUT])) - && ($p_options[PCLZIP_OPT_EXTRACT_IN_OUTPUT])) { - // ----- Extracting the file in standard output - $v_result1 = $this->privExtractFileInOutput($v_header, $p_options); - if ($v_result1 < 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result1; - } - - // ----- Get the only interesting attributes - if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Look for user callback abort - if ($v_result1 == 2) { - break; - } - } - // ----- Look for normal extraction - else { - // ----- Extracting the file - $v_result1 = $this->privExtractFile($v_header, - $p_path, $p_remove_path, - $p_remove_all_path, - $p_options); - if ($v_result1 < 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result1; - } - - // ----- Get the only interesting attributes - if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Look for user callback abort - if ($v_result1 == 2) { - break; - } - } - } - } - - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFile() - // Description : - // Parameters : - // Return Values : - // - // 1 : ... ? - // PCLZIP_ERR_USER_ABORTED(2) : User ask for extraction stop in callback - // -------------------------------------------------------------------------------- - function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) - { - $v_result=1; - - // ----- Read the file header - if (($v_result = $this->privReadFileHeader($v_header)) != 1) - { - // ----- Return - return $v_result; - } - - - // ----- Check that the file header is coherent with $p_entry info - if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) { - // TBC - } - - // ----- Look for all path to remove - if ($p_remove_all_path == true) { - // ----- Look for folder entry that not need to be extracted - if (($p_entry['external']&0x00000010)==0x00000010) { - - $p_entry['status'] = "filtered"; - - return $v_result; - } - - // ----- Get the basename of the path - $p_entry['filename'] = basename($p_entry['filename']); - } - - // ----- Look for path to remove - else if ($p_remove_path != "") - { - if (PclZipUtilPathInclusion($p_remove_path, $p_entry['filename']) == 2) - { - - // ----- Change the file status - $p_entry['status'] = "filtered"; - - // ----- Return - return $v_result; - } - - $p_remove_path_size = strlen($p_remove_path); - if (substr($p_entry['filename'], 0, $p_remove_path_size) == $p_remove_path) - { - - // ----- Remove the path - $p_entry['filename'] = substr($p_entry['filename'], $p_remove_path_size); - - } - } - - // ----- Add the path - if ($p_path != '') { - $p_entry['filename'] = $p_path."/".$p_entry['filename']; - } - - // ----- Check a base_dir_restriction - if (isset($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION])) { - $v_inclusion - = PclZipUtilPathInclusion($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION], - $p_entry['filename']); - if ($v_inclusion == 0) { - - PclZip::privErrorLog(PCLZIP_ERR_DIRECTORY_RESTRICTION, - "Filename '".$p_entry['filename']."' is " - ."outside PCLZIP_OPT_EXTRACT_DIR_RESTRICTION"); - - return PclZip::errorCode(); - } - } - - // ----- Look for pre-extract callback - if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. - $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_entry['status'] = "skipped"; - $v_result = 1; - } - - // ----- Look for abort result - if ($v_result == 2) { - // ----- This status is internal and will be changed in 'skipped' - $p_entry['status'] = "aborted"; - $v_result = PCLZIP_ERR_USER_ABORTED; - } - - // ----- Update the informations - // Only some fields can be modified - $p_entry['filename'] = $v_local_header['filename']; - } - - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Look for specific actions while the file exist - if (file_exists($p_entry['filename'])) - { - - // ----- Look if file is a directory - if (is_dir($p_entry['filename'])) - { - - // ----- Change the file status - $p_entry['status'] = "already_a_directory"; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - // For historical reason first PclZip implementation does not stop - // when this kind of error occurs. - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - PclZip::privErrorLog(PCLZIP_ERR_ALREADY_A_DIRECTORY, - "Filename '".$p_entry['filename']."' is " - ."already used by an existing directory"); - - return PclZip::errorCode(); - } - } - // ----- Look if file is write protected - else if (!is_writeable($p_entry['filename'])) - { - - // ----- Change the file status - $p_entry['status'] = "write_protected"; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - // For historical reason first PclZip implementation does not stop - // when this kind of error occurs. - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, - "Filename '".$p_entry['filename']."' exists " - ."and is write protected"); - - return PclZip::errorCode(); - } - } - - // ----- Look if the extracted file is older - else if (filemtime($p_entry['filename']) > $p_entry['mtime']) - { - // ----- Change the file status - if ( (isset($p_options[PCLZIP_OPT_REPLACE_NEWER])) - && ($p_options[PCLZIP_OPT_REPLACE_NEWER]===true)) { - } - else { - $p_entry['status'] = "newer_exist"; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - // For historical reason first PclZip implementation does not stop - // when this kind of error occurs. - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, - "Newer version of '".$p_entry['filename']."' exists " - ."and option PCLZIP_OPT_REPLACE_NEWER is not selected"); - - return PclZip::errorCode(); - } - } - } - else { - } - } - - // ----- Check the directory availability and create it if necessary - else { - if ((($p_entry['external']&0x00000010)==0x00000010) || (substr($p_entry['filename'], -1) == '/')) - $v_dir_to_check = $p_entry['filename']; - else if (!strstr($p_entry['filename'], "/")) - $v_dir_to_check = ""; - else - $v_dir_to_check = dirname($p_entry['filename']); - - if (($v_result = $this->privDirCheck($v_dir_to_check, (($p_entry['external']&0x00000010)==0x00000010))) != 1) { - - // ----- Change the file status - $p_entry['status'] = "path_creation_fail"; - - // ----- Return - //return $v_result; - $v_result = 1; - } - } - } - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Do the extraction (if not a folder) - if (!(($p_entry['external']&0x00000010)==0x00000010)) - { - // ----- Look for not compressed file - if ($p_entry['compression'] == 0) { - - // ----- Opening destination file - if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) - { - - // ----- Change the file status - $p_entry['status'] = "write_error"; - - // ----- Return - return $v_result; - } - - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = $p_entry['compressed_size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($this->zip_fd, $v_read_size); - /* Try to speed up the code - $v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($v_dest_file, $v_binary_data, $v_read_size); - */ - @fwrite($v_dest_file, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Closing the destination file - fclose($v_dest_file); - - // ----- Change the file mtime - touch($p_entry['filename'], $p_entry['mtime']); - - - } - else { - // ----- TBC - // Need to be finished - if (($p_entry['flag'] & 1) == 1) { - PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_ENCRYPTION, 'File \''.$p_entry['filename'].'\' is encrypted. Encrypted files are not supported.'); - return PclZip::errorCode(); - } - - - // ----- Look for using temporary file to unzip - if ( (!isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) - && (isset($p_options[PCLZIP_OPT_TEMP_FILE_ON]) - || (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) - && ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] <= $p_entry['size'])) ) ) { - $v_result = $this->privExtractFileUsingTempFile($p_entry, $p_options); - if ($v_result < PCLZIP_ERR_NO_ERROR) { - return $v_result; - } - } - - // ----- Look for extract in memory - else { - - - // ----- Read the compressed file in a buffer (one shot) - $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Decompress the file - $v_file_content = @gzinflate($v_buffer); - unset($v_buffer); - if ($v_file_content === FALSE) { - - // ----- Change the file status - // TBC - $p_entry['status'] = "error"; - - return $v_result; - } - - // ----- Opening destination file - if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { - - // ----- Change the file status - $p_entry['status'] = "write_error"; - - return $v_result; - } - - // ----- Write the uncompressed data - @fwrite($v_dest_file, $v_file_content, $p_entry['size']); - unset($v_file_content); - - // ----- Closing the destination file - @fclose($v_dest_file); - - } - - // ----- Change the file mtime - @touch($p_entry['filename'], $p_entry['mtime']); - } - - // ----- Look for chmod option - if (isset($p_options[PCLZIP_OPT_SET_CHMOD])) { - - // ----- Change the mode of the file - @chmod($p_entry['filename'], $p_options[PCLZIP_OPT_SET_CHMOD]); - } - - } - } - - // ----- Change abort status - if ($p_entry['status'] == "aborted") { - $p_entry['status'] = "skipped"; - } - - // ----- Look for post-extract callback - elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. - $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header); - - // ----- Look for abort result - if ($v_result == 2) { - $v_result = PCLZIP_ERR_USER_ABORTED; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFileUsingTempFile() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privExtractFileUsingTempFile(&$p_entry, &$p_options) - { - $v_result=1; - - // ----- Creates a temporary file - $v_gzip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.gz'; - if (($v_dest_file = @fopen($v_gzip_temp_name, "wb")) == 0) { - fclose($v_file); - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary write mode'); - return PclZip::errorCode(); - } - - - // ----- Write gz file format header - $v_binary_data = pack('va1a1Va1a1', 0x8b1f, Chr($p_entry['compression']), Chr(0x00), time(), Chr(0x00), Chr(3)); - @fwrite($v_dest_file, $v_binary_data, 10); - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = $p_entry['compressed_size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($this->zip_fd, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($v_dest_file, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Write gz file format footer - $v_binary_data = pack('VV', $p_entry['crc'], $p_entry['size']); - @fwrite($v_dest_file, $v_binary_data, 8); - - // ----- Close the temporary file - @fclose($v_dest_file); - - // ----- Opening destination file - if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { - $p_entry['status'] = "write_error"; - return $v_result; - } - - // ----- Open the temporary gz file - if (($v_src_file = @gzopen($v_gzip_temp_name, 'rb')) == 0) { - @fclose($v_dest_file); - $p_entry['status'] = "read_error"; - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary read mode'); - return PclZip::errorCode(); - } - - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = $p_entry['size']; - while ($v_size != 0) { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @gzread($v_src_file, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($v_dest_file, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - @fclose($v_dest_file); - @gzclose($v_src_file); - - // ----- Delete the temporary file - @unlink($v_gzip_temp_name); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFileInOutput() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privExtractFileInOutput(&$p_entry, &$p_options) - { - $v_result=1; - - // ----- Read the file header - if (($v_result = $this->privReadFileHeader($v_header)) != 1) { - return $v_result; - } - - - // ----- Check that the file header is coherent with $p_entry info - if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) { - // TBC - } - - // ----- Look for pre-extract callback - if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_entry['status'] = "skipped"; - $v_result = 1; - } - - // ----- Look for abort result - if ($v_result == 2) { - // ----- This status is internal and will be changed in 'skipped' - $p_entry['status'] = "aborted"; - $v_result = PCLZIP_ERR_USER_ABORTED; - } - - // ----- Update the informations - // Only some fields can be modified - $p_entry['filename'] = $v_local_header['filename']; - } - - // ----- Trace - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Do the extraction (if not a folder) - if (!(($p_entry['external']&0x00000010)==0x00000010)) { - // ----- Look for not compressed file - if ($p_entry['compressed_size'] == $p_entry['size']) { - - // ----- Read the file in a buffer (one shot) - $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Send the file to the output - echo $v_buffer; - unset($v_buffer); - } - else { - - // ----- Read the compressed file in a buffer (one shot) - $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Decompress the file - $v_file_content = gzinflate($v_buffer); - unset($v_buffer); - - // ----- Send the file to the output - echo $v_file_content; - unset($v_file_content); - } - } - } - - // ----- Change abort status - if ($p_entry['status'] == "aborted") { - $p_entry['status'] = "skipped"; - } - - // ----- Look for post-extract callback - elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. - $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header); - - // ----- Look for abort result - if ($v_result == 2) { - $v_result = PCLZIP_ERR_USER_ABORTED; - } - } - - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFileAsString() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privExtractFileAsString(&$p_entry, &$p_string, &$p_options) - { - $v_result=1; - - // ----- Read the file header - $v_header = array(); - if (($v_result = $this->privReadFileHeader($v_header)) != 1) - { - // ----- Return - return $v_result; - } - - - // ----- Check that the file header is coherent with $p_entry info - if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) { - // TBC - } - - // ----- Look for pre-extract callback - if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. - $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_entry['status'] = "skipped"; - $v_result = 1; - } - - // ----- Look for abort result - if ($v_result == 2) { - // ----- This status is internal and will be changed in 'skipped' - $p_entry['status'] = "aborted"; - $v_result = PCLZIP_ERR_USER_ABORTED; - } - - // ----- Update the informations - // Only some fields can be modified - $p_entry['filename'] = $v_local_header['filename']; - } - - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Do the extraction (if not a folder) - if (!(($p_entry['external']&0x00000010)==0x00000010)) { - // ----- Look for not compressed file - // if ($p_entry['compressed_size'] == $p_entry['size']) - if ($p_entry['compression'] == 0) { - - // ----- Reading the file - $p_string = @fread($this->zip_fd, $p_entry['compressed_size']); - } - else { - - // ----- Reading the file - $v_data = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Decompress the file - if (($p_string = @gzinflate($v_data)) === FALSE) { - // TBC - } - } - - // ----- Trace - } - else { - // TBC : error : can not extract a folder in a string - } - - } - - // ----- Change abort status - if ($p_entry['status'] == "aborted") { - $p_entry['status'] = "skipped"; - } - - // ----- Look for post-extract callback - elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Swap the content to header - $v_local_header['content'] = $p_string; - $p_string = ''; - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. - $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header); - - // ----- Swap back the content to header - $p_string = $v_local_header['content']; - unset($v_local_header['content']); - - // ----- Look for abort result - if ($v_result == 2) { - $v_result = PCLZIP_ERR_USER_ABORTED; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privReadFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privReadFileHeader(&$p_header) - { - $v_result=1; - - // ----- Read the 4 bytes signature - $v_binary_data = @fread($this->zip_fd, 4); - $v_data = unpack('Vid', $v_binary_data); - - // ----- Check signature - if ($v_data['id'] != 0x04034b50) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Invalid archive structure'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the first 42 bytes of the header - $v_binary_data = fread($this->zip_fd, 26); - - // ----- Look for invalid block size - if (strlen($v_binary_data) != 26) - { - $p_header['filename'] = ""; - $p_header['status'] = "invalid_header"; - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Invalid block size : ".strlen($v_binary_data)); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Extract the values - $v_data = unpack('vversion/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len', $v_binary_data); - - // ----- Get filename - $p_header['filename'] = fread($this->zip_fd, $v_data['filename_len']); - - // ----- Get extra_fields - if ($v_data['extra_len'] != 0) { - $p_header['extra'] = fread($this->zip_fd, $v_data['extra_len']); - } - else { - $p_header['extra'] = ''; - } - - // ----- Extract properties - $p_header['version_extracted'] = $v_data['version']; - $p_header['compression'] = $v_data['compression']; - $p_header['size'] = $v_data['size']; - $p_header['compressed_size'] = $v_data['compressed_size']; - $p_header['crc'] = $v_data['crc']; - $p_header['flag'] = $v_data['flag']; - $p_header['filename_len'] = $v_data['filename_len']; - - // ----- Recuperate date in UNIX format - $p_header['mdate'] = $v_data['mdate']; - $p_header['mtime'] = $v_data['mtime']; - if ($p_header['mdate'] && $p_header['mtime']) - { - // ----- Extract time - $v_hour = ($p_header['mtime'] & 0xF800) >> 11; - $v_minute = ($p_header['mtime'] & 0x07E0) >> 5; - $v_seconde = ($p_header['mtime'] & 0x001F)*2; - - // ----- Extract date - $v_year = (($p_header['mdate'] & 0xFE00) >> 9) + 1980; - $v_month = ($p_header['mdate'] & 0x01E0) >> 5; - $v_day = $p_header['mdate'] & 0x001F; - - // ----- Get UNIX date format - $p_header['mtime'] = @mktime($v_hour, $v_minute, $v_seconde, $v_month, $v_day, $v_year); - - } - else - { - $p_header['mtime'] = time(); - } - - // TBC - //for(reset($v_data); $key = key($v_data); next($v_data)) { - //} - - // ----- Set the stored filename - $p_header['stored_filename'] = $p_header['filename']; - - // ----- Set the status field - $p_header['status'] = "ok"; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privReadCentralFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privReadCentralFileHeader(&$p_header) - { - $v_result=1; - - // ----- Read the 4 bytes signature - $v_binary_data = @fread($this->zip_fd, 4); - $v_data = unpack('Vid', $v_binary_data); - - // ----- Check signature - if ($v_data['id'] != 0x02014b50) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Invalid archive structure'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the first 42 bytes of the header - $v_binary_data = fread($this->zip_fd, 42); - - // ----- Look for invalid block size - if (strlen($v_binary_data) != 42) - { - $p_header['filename'] = ""; - $p_header['status'] = "invalid_header"; - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Invalid block size : ".strlen($v_binary_data)); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Extract the values - $p_header = unpack('vversion/vversion_extracted/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len/vcomment_len/vdisk/vinternal/Vexternal/Voffset', $v_binary_data); - - // ----- Get filename - if ($p_header['filename_len'] != 0) - $p_header['filename'] = fread($this->zip_fd, $p_header['filename_len']); - else - $p_header['filename'] = ''; - - // ----- Get extra - if ($p_header['extra_len'] != 0) - $p_header['extra'] = fread($this->zip_fd, $p_header['extra_len']); - else - $p_header['extra'] = ''; - - // ----- Get comment - if ($p_header['comment_len'] != 0) - $p_header['comment'] = fread($this->zip_fd, $p_header['comment_len']); - else - $p_header['comment'] = ''; - - // ----- Extract properties - - // ----- Recuperate date in UNIX format - //if ($p_header['mdate'] && $p_header['mtime']) - // TBC : bug : this was ignoring time with 0/0/0 - if (1) - { - // ----- Extract time - $v_hour = ($p_header['mtime'] & 0xF800) >> 11; - $v_minute = ($p_header['mtime'] & 0x07E0) >> 5; - $v_seconde = ($p_header['mtime'] & 0x001F)*2; - - // ----- Extract date - $v_year = (($p_header['mdate'] & 0xFE00) >> 9) + 1980; - $v_month = ($p_header['mdate'] & 0x01E0) >> 5; - $v_day = $p_header['mdate'] & 0x001F; - - // ----- Get UNIX date format - $p_header['mtime'] = @mktime($v_hour, $v_minute, $v_seconde, $v_month, $v_day, $v_year); - - } - else - { - $p_header['mtime'] = time(); - } - - // ----- Set the stored filename - $p_header['stored_filename'] = $p_header['filename']; - - // ----- Set default status to ok - $p_header['status'] = 'ok'; - - // ----- Look if it is a directory - if (substr($p_header['filename'], -1) == '/') { - //$p_header['external'] = 0x41FF0010; - $p_header['external'] = 0x00000010; - } - - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCheckFileHeaders() - // Description : - // Parameters : - // Return Values : - // 1 on success, - // 0 on error; - // -------------------------------------------------------------------------------- - function privCheckFileHeaders(&$p_local_header, &$p_central_header) - { - $v_result=1; - - // ----- Check the static values - // TBC - if ($p_local_header['filename'] != $p_central_header['filename']) { - } - if ($p_local_header['version_extracted'] != $p_central_header['version_extracted']) { - } - if ($p_local_header['flag'] != $p_central_header['flag']) { - } - if ($p_local_header['compression'] != $p_central_header['compression']) { - } - if ($p_local_header['mtime'] != $p_central_header['mtime']) { - } - if ($p_local_header['filename_len'] != $p_central_header['filename_len']) { - } - - // ----- Look for flag bit 3 - if (($p_local_header['flag'] & 8) == 8) { - $p_local_header['size'] = $p_central_header['size']; - $p_local_header['compressed_size'] = $p_central_header['compressed_size']; - $p_local_header['crc'] = $p_central_header['crc']; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privReadEndCentralDir() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privReadEndCentralDir(&$p_central_dir) - { - $v_result=1; - - // ----- Go to the end of the zip file - $v_size = filesize($this->zipname); - @fseek($this->zip_fd, $v_size); - if (@ftell($this->zip_fd) != $v_size) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to go to the end of the archive \''.$this->zipname.'\''); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- First try : look if this is an archive with no commentaries (most of the time) - // in this case the end of central dir is at 22 bytes of the file end - $v_found = 0; - if ($v_size > 26) { - @fseek($this->zip_fd, $v_size-22); - if (($v_pos = @ftell($this->zip_fd)) != ($v_size-22)) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to seek back to the middle of the archive \''.$this->zipname.'\''); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read for bytes - $v_binary_data = @fread($this->zip_fd, 4); - $v_data = @unpack('Vid', $v_binary_data); - - // ----- Check signature - if ($v_data['id'] == 0x06054b50) { - $v_found = 1; - } - - $v_pos = ftell($this->zip_fd); - } - - // ----- Go back to the maximum possible size of the Central Dir End Record - if (!$v_found) { - $v_maximum_size = 65557; // 0xFFFF + 22; - if ($v_maximum_size > $v_size) - $v_maximum_size = $v_size; - @fseek($this->zip_fd, $v_size-$v_maximum_size); - if (@ftell($this->zip_fd) != ($v_size-$v_maximum_size)) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to seek back to the middle of the archive \''.$this->zipname.'\''); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read byte per byte in order to find the signature - $v_pos = ftell($this->zip_fd); - $v_bytes = 0x00000000; - while ($v_pos < $v_size) - { - // ----- Read a byte - $v_byte = @fread($this->zip_fd, 1); - - // ----- Add the byte - //$v_bytes = ($v_bytes << 8) | Ord($v_byte); - // Note we mask the old value down such that once shifted we can never end up with more than a 32bit number - // Otherwise on systems where we have 64bit integers the check below for the magic number will fail. - $v_bytes = ( ($v_bytes & 0xFFFFFF) << 8) | Ord($v_byte); - - // ----- Compare the bytes - if ($v_bytes == 0x504b0506) - { - $v_pos++; - break; - } - - $v_pos++; - } - - // ----- Look if not found end of central dir - if ($v_pos == $v_size) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Unable to find End of Central Dir Record signature"); - - // ----- Return - return PclZip::errorCode(); - } - } - - // ----- Read the first 18 bytes of the header - $v_binary_data = fread($this->zip_fd, 18); - - // ----- Look for invalid block size - if (strlen($v_binary_data) != 18) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Invalid End of Central Dir Record size : ".strlen($v_binary_data)); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Extract the values - $v_data = unpack('vdisk/vdisk_start/vdisk_entries/ventries/Vsize/Voffset/vcomment_size', $v_binary_data); - - // ----- Check the global size - if (($v_pos + $v_data['comment_size'] + 18) != $v_size) { - - // ----- Removed in release 2.2 see readme file - // The check of the file size is a little too strict. - // Some bugs where found when a zip is encrypted/decrypted with 'crypt'. - // While decrypted, zip has training 0 bytes - if (0) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, - 'The central dir is not at the end of the archive.' - .' Some trailing bytes exists after the archive.'); - - // ----- Return - return PclZip::errorCode(); - } - } - - // ----- Get comment - if ($v_data['comment_size'] != 0) { - $p_central_dir['comment'] = fread($this->zip_fd, $v_data['comment_size']); - } - else - $p_central_dir['comment'] = ''; - - $p_central_dir['entries'] = $v_data['entries']; - $p_central_dir['disk_entries'] = $v_data['disk_entries']; - $p_central_dir['offset'] = $v_data['offset']; - $p_central_dir['size'] = $v_data['size']; - $p_central_dir['disk'] = $v_data['disk']; - $p_central_dir['disk_start'] = $v_data['disk_start']; - - // TBC - //for(reset($p_central_dir); $key = key($p_central_dir); next($p_central_dir)) { - //} - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDeleteByRule() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privDeleteByRule(&$p_result_list, &$p_options) - { - $v_result=1; - $v_list_detail = array(); - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('rb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privCloseFd(); - return $v_result; - } - - // ----- Go to beginning of File - @rewind($this->zip_fd); - - // ----- Scan all the files - // ----- Start at beginning of Central Dir - $v_pos_entry = $v_central_dir['offset']; - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_pos_entry)) - { - // ----- Close the zip file - $this->privCloseFd(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read each entry - $v_header_list = array(); - $j_start = 0; - for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++) - { - - // ----- Read the file header - $v_header_list[$v_nb_extracted] = array(); - if (($v_result = $this->privReadCentralFileHeader($v_header_list[$v_nb_extracted])) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - - return $v_result; - } - - - // ----- Store the index - $v_header_list[$v_nb_extracted]['index'] = $i; - - // ----- Look for the specific extract rules - $v_found = false; - - // ----- Look for extract by name rule - if ( (isset($p_options[PCLZIP_OPT_BY_NAME])) - && ($p_options[PCLZIP_OPT_BY_NAME] != 0)) { - - // ----- Look if the filename is in the list - for ($j=0; ($j strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) - && (substr($v_header_list[$v_nb_extracted]['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])) { - $v_found = true; - } - elseif ( (($v_header_list[$v_nb_extracted]['external']&0x00000010)==0x00000010) /* Indicates a folder */ - && ($v_header_list[$v_nb_extracted]['stored_filename'].'/' == $p_options[PCLZIP_OPT_BY_NAME][$j])) { - $v_found = true; - } - } - // ----- Look for a filename - elseif ($v_header_list[$v_nb_extracted]['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) { - $v_found = true; - } - } - } - - // ----- Look for extract by ereg rule - // ereg() is deprecated with PHP 5.3 - /* - else if ( (isset($p_options[PCLZIP_OPT_BY_EREG])) - && ($p_options[PCLZIP_OPT_BY_EREG] != "")) { - - if (ereg($p_options[PCLZIP_OPT_BY_EREG], $v_header_list[$v_nb_extracted]['stored_filename'])) { - $v_found = true; - } - } - */ - - // ----- Look for extract by preg rule - else if ( (isset($p_options[PCLZIP_OPT_BY_PREG])) - && ($p_options[PCLZIP_OPT_BY_PREG] != "")) { - - if (preg_match($p_options[PCLZIP_OPT_BY_PREG], $v_header_list[$v_nb_extracted]['stored_filename'])) { - $v_found = true; - } - } - - // ----- Look for extract by index rule - else if ( (isset($p_options[PCLZIP_OPT_BY_INDEX])) - && ($p_options[PCLZIP_OPT_BY_INDEX] != 0)) { - - // ----- Look if the index is in the list - for ($j=$j_start; ($j=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) { - $v_found = true; - } - if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) { - $j_start = $j+1; - } - - if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) { - break; - } - } - } - else { - $v_found = true; - } - - // ----- Look for deletion - if ($v_found) - { - unset($v_header_list[$v_nb_extracted]); - } - else - { - $v_nb_extracted++; - } - } - - // ----- Look if something need to be deleted - if ($v_nb_extracted > 0) { - - // ----- Creates a temporay file - $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp'; - - // ----- Creates a temporary zip archive - $v_temp_zip = new PclZip($v_zip_temp_name); - - // ----- Open the temporary zip file in write mode - if (($v_result = $v_temp_zip->privOpenFd('wb')) != 1) { - $this->privCloseFd(); - - // ----- Return - return $v_result; - } - - // ----- Look which file need to be kept - for ($i=0; $izip_fd); - if (@fseek($this->zip_fd, $v_header_list[$i]['offset'])) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the file header - $v_local_header = array(); - if (($v_result = $this->privReadFileHeader($v_local_header)) != 1) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Check that local file header is same as central file header - if ($this->privCheckFileHeaders($v_local_header, - $v_header_list[$i]) != 1) { - // TBC - } - unset($v_local_header); - - // ----- Write the file header - if (($v_result = $v_temp_zip->privWriteFileHeader($v_header_list[$i])) != 1) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Read/write the data block - if (($v_result = PclZipUtilCopyBlock($this->zip_fd, $v_temp_zip->zip_fd, $v_header_list[$i]['compressed_size'])) != 1) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($v_temp_zip->zip_fd); - - // ----- Re-Create the Central Dir files header - for ($i=0; $iprivWriteCentralFileHeader($v_header_list[$i])) != 1) { - $v_temp_zip->privCloseFd(); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Transform the header to a 'usable' info - $v_temp_zip->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]); - } - - - // ----- Zip file comment - $v_comment = ''; - if (isset($p_options[PCLZIP_OPT_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_COMMENT]; - } - - // ----- Calculate the size of the central header - $v_size = @ftell($v_temp_zip->zip_fd)-$v_offset; - - // ----- Create the central dir footer - if (($v_result = $v_temp_zip->privWriteCentralHeader(sizeof($v_header_list), $v_size, $v_offset, $v_comment)) != 1) { - // ----- Reset the file list - unset($v_header_list); - $v_temp_zip->privCloseFd(); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Close - $v_temp_zip->privCloseFd(); - $this->privCloseFd(); - - // ----- Delete the zip file - // TBC : I should test the result ... - @unlink($this->zipname); - - // ----- Rename the temporary file - // TBC : I should test the result ... - //@rename($v_zip_temp_name, $this->zipname); - PclZipUtilRename($v_zip_temp_name, $this->zipname); - - // ----- Destroy the temporary archive - unset($v_temp_zip); - } - - // ----- Remove every files : reset the file - else if ($v_central_dir['entries'] != 0) { - $this->privCloseFd(); - - if (($v_result = $this->privOpenFd('wb')) != 1) { - return $v_result; - } - - if (($v_result = $this->privWriteCentralHeader(0, 0, 0, '')) != 1) { - return $v_result; - } - - $this->privCloseFd(); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDirCheck() - // Description : - // Check if a directory exists, if not it creates it and all the parents directory - // which may be useful. - // Parameters : - // $p_dir : Directory path to check. - // Return Values : - // 1 : OK - // -1 : Unable to create directory - // -------------------------------------------------------------------------------- - function privDirCheck($p_dir, $p_is_dir=false) - { - $v_result = 1; - - - // ----- Remove the final '/' - if (($p_is_dir) && (substr($p_dir, -1)=='/')) - { - $p_dir = substr($p_dir, 0, strlen($p_dir)-1); - } - - // ----- Check the directory availability - if ((is_dir($p_dir)) || ($p_dir == "")) - { - return 1; - } - - // ----- Extract parent directory - $p_parent_dir = dirname($p_dir); - - // ----- Just a check - if ($p_parent_dir != $p_dir) - { - // ----- Look for parent directory - if ($p_parent_dir != "") - { - if (($v_result = $this->privDirCheck($p_parent_dir)) != 1) - { - return $v_result; - } - } - } - - // ----- Create the directory - if (!@mkdir($p_dir, 0777)) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_DIR_CREATE_FAIL, "Unable to create directory '$p_dir'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privMerge() - // Description : - // If $p_archive_to_add does not exist, the function exit with a success result. - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privMerge(&$p_archive_to_add) - { - $v_result=1; - - // ----- Look if the archive_to_add exists - if (!is_file($p_archive_to_add->zipname)) - { - - // ----- Nothing to merge, so merge is a success - $v_result = 1; - - // ----- Return - return $v_result; - } - - // ----- Look if the archive exists - if (!is_file($this->zipname)) - { - - // ----- Do a duplicate - $v_result = $this->privDuplicate($p_archive_to_add->zipname); - - // ----- Return - return $v_result; - } - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('rb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privCloseFd(); - return $v_result; - } - - // ----- Go to beginning of File - @rewind($this->zip_fd); - - // ----- Open the archive_to_add file - if (($v_result=$p_archive_to_add->privOpenFd('rb')) != 1) - { - $this->privCloseFd(); - - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir_to_add = array(); - if (($v_result = $p_archive_to_add->privReadEndCentralDir($v_central_dir_to_add)) != 1) - { - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - - return $v_result; - } - - // ----- Go to beginning of File - @rewind($p_archive_to_add->zip_fd); - - // ----- Creates a temporay file - $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp'; - - // ----- Open the temporary file in write mode - if (($v_zip_temp_fd = @fopen($v_zip_temp_name, 'wb')) == 0) - { - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_zip_temp_name.'\' in binary write mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Copy the files from the archive to the temporary file - // TBC : Here I should better append the file and go back to erase the central dir - $v_size = $v_central_dir['offset']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($this->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Copy the files from the archive_to_add into the temporary file - $v_size = $v_central_dir_to_add['offset']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($p_archive_to_add->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($v_zip_temp_fd); - - // ----- Copy the block of file headers from the old archive - $v_size = $v_central_dir['size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($this->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Copy the block of file headers from the archive_to_add - $v_size = $v_central_dir_to_add['size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($p_archive_to_add->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Merge the file comments - $v_comment = $v_central_dir['comment'].' '.$v_central_dir_to_add['comment']; - - // ----- Calculate the size of the (new) central header - $v_size = @ftell($v_zip_temp_fd)-$v_offset; - - // ----- Swap the file descriptor - // Here is a trick : I swap the temporary fd with the zip fd, in order to use - // the following methods on the temporary fil and not the real archive fd - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Create the central dir footer - if (($v_result = $this->privWriteCentralHeader($v_central_dir['entries']+$v_central_dir_to_add['entries'], $v_size, $v_offset, $v_comment)) != 1) - { - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - @fclose($v_zip_temp_fd); - $this->zip_fd = null; - - // ----- Reset the file list - unset($v_header_list); - - // ----- Return - return $v_result; - } - - // ----- Swap back the file descriptor - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Close - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - - // ----- Close the temporary file - @fclose($v_zip_temp_fd); - - // ----- Delete the zip file - // TBC : I should test the result ... - @unlink($this->zipname); - - // ----- Rename the temporary file - // TBC : I should test the result ... - //@rename($v_zip_temp_name, $this->zipname); - PclZipUtilRename($v_zip_temp_name, $this->zipname); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDuplicate() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privDuplicate($p_archive_filename) - { - $v_result=1; - - // ----- Look if the $p_archive_filename exists - if (!is_file($p_archive_filename)) - { - - // ----- Nothing to duplicate, so duplicate is a success. - $v_result = 1; - - // ----- Return - return $v_result; - } - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('wb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Open the temporary file in write mode - if (($v_zip_temp_fd = @fopen($p_archive_filename, 'rb')) == 0) - { - $this->privCloseFd(); - - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive file \''.$p_archive_filename.'\' in binary write mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Copy the files from the archive to the temporary file - // TBC : Here I should better append the file and go back to erase the central dir - $v_size = filesize($p_archive_filename); - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($v_zip_temp_fd, $v_read_size); - @fwrite($this->zip_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Close - $this->privCloseFd(); - - // ----- Close the temporary file - @fclose($v_zip_temp_fd); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privErrorLog() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privErrorLog($p_error_code=0, $p_error_string='') - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - PclError($p_error_code, $p_error_string); - } - else { - $this->error_code = $p_error_code; - $this->error_string = $p_error_string; - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privErrorReset() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privErrorReset() - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - PclErrorReset(); - } - else { - $this->error_code = 0; - $this->error_string = ''; - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDisableMagicQuotes() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privDisableMagicQuotes() - { - $v_result=1; - - // ----- Look if function exists - if ( (!function_exists("get_magic_quotes_runtime")) - || (!function_exists("set_magic_quotes_runtime"))) { - return $v_result; - } - - // ----- Look if already done - if ($this->magic_quotes_status != -1) { - return $v_result; - } - - // ----- Get and memorize the magic_quote value - $this->magic_quotes_status = @get_magic_quotes_runtime(); - - // ----- Disable magic_quotes - if ($this->magic_quotes_status == 1) { - @set_magic_quotes_runtime(0); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privSwapBackMagicQuotes() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privSwapBackMagicQuotes() - { - $v_result=1; - - // ----- Look if function exists - if ( (!function_exists("get_magic_quotes_runtime")) - || (!function_exists("set_magic_quotes_runtime"))) { - return $v_result; - } - - // ----- Look if something to do - if ($this->magic_quotes_status != -1) { - return $v_result; - } - - // ----- Swap back magic_quotes - if ($this->magic_quotes_status == 1) { - @set_magic_quotes_runtime($this->magic_quotes_status); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - } - // End of class - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilPathReduction() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function PclZipUtilPathReduction($p_dir) - { - $v_result = ""; - - // ----- Look for not empty path - if ($p_dir != "") { - // ----- Explode path by directory names - $v_list = explode("/", $p_dir); - - // ----- Study directories from last to first - $v_skip = 0; - for ($i=sizeof($v_list)-1; $i>=0; $i--) { - // ----- Look for current path - if ($v_list[$i] == ".") { - // ----- Ignore this directory - // Should be the first $i=0, but no check is done - } - else if ($v_list[$i] == "..") { - $v_skip++; - } - else if ($v_list[$i] == "") { - // ----- First '/' i.e. root slash - if ($i == 0) { - $v_result = "/".$v_result; - if ($v_skip > 0) { - // ----- It is an invalid path, so the path is not modified - // TBC - $v_result = $p_dir; - $v_skip = 0; - } - } - // ----- Last '/' i.e. indicates a directory - else if ($i == (sizeof($v_list)-1)) { - $v_result = $v_list[$i]; - } - // ----- Double '/' inside the path - else { - // ----- Ignore only the double '//' in path, - // but not the first and last '/' - } - } - else { - // ----- Look for item to skip - if ($v_skip > 0) { - $v_skip--; - } - else { - $v_result = $v_list[$i].($i!=(sizeof($v_list)-1)?"/".$v_result:""); - } - } - } - - // ----- Look for skip - if ($v_skip > 0) { - while ($v_skip > 0) { - $v_result = '../'.$v_result; - $v_skip--; - } - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilPathInclusion() - // Description : - // This function indicates if the path $p_path is under the $p_dir tree. Or, - // said in an other way, if the file or sub-dir $p_path is inside the dir - // $p_dir. - // The function indicates also if the path is exactly the same as the dir. - // This function supports path with duplicated '/' like '//', but does not - // support '.' or '..' statements. - // Parameters : - // Return Values : - // 0 if $p_path is not inside directory $p_dir - // 1 if $p_path is inside directory $p_dir - // 2 if $p_path is exactly the same as $p_dir - // -------------------------------------------------------------------------------- - function PclZipUtilPathInclusion($p_dir, $p_path) - { - $v_result = 1; - - // ----- Look for path beginning by ./ - if ( ($p_dir == '.') - || ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) { - $p_dir = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1); - } - if ( ($p_path == '.') - || ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) { - $p_path = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1); - } - - // ----- Explode dir and path by directory separator - $v_list_dir = explode("/", $p_dir); - $v_list_dir_size = sizeof($v_list_dir); - $v_list_path = explode("/", $p_path); - $v_list_path_size = sizeof($v_list_path); - - // ----- Study directories paths - $i = 0; - $j = 0; - while (($i < $v_list_dir_size) && ($j < $v_list_path_size) && ($v_result)) { - - // ----- Look for empty dir (path reduction) - if ($v_list_dir[$i] == '') { - $i++; - continue; - } - if ($v_list_path[$j] == '') { - $j++; - continue; - } - - // ----- Compare the items - if (($v_list_dir[$i] != $v_list_path[$j]) && ($v_list_dir[$i] != '') && ( $v_list_path[$j] != '')) { - $v_result = 0; - } - - // ----- Next items - $i++; - $j++; - } - - // ----- Look if everything seems to be the same - if ($v_result) { - // ----- Skip all the empty items - while (($j < $v_list_path_size) && ($v_list_path[$j] == '')) $j++; - while (($i < $v_list_dir_size) && ($v_list_dir[$i] == '')) $i++; - - if (($i >= $v_list_dir_size) && ($j >= $v_list_path_size)) { - // ----- There are exactly the same - $v_result = 2; - } - else if ($i < $v_list_dir_size) { - // ----- The path is shorter than the dir - $v_result = 0; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilCopyBlock() - // Description : - // Parameters : - // $p_mode : read/write compression mode - // 0 : src & dest normal - // 1 : src gzip, dest normal - // 2 : src normal, dest gzip - // 3 : src & dest gzip - // Return Values : - // -------------------------------------------------------------------------------- - function PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode=0) - { - $v_result = 1; - - if ($p_mode==0) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($p_src, $v_read_size); - @fwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - else if ($p_mode==1) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @gzread($p_src, $v_read_size); - @fwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - else if ($p_mode==2) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($p_src, $v_read_size); - @gzwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - else if ($p_mode==3) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @gzread($p_src, $v_read_size); - @gzwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilRename() - // Description : - // This function tries to do a simple rename() function. If it fails, it - // tries to copy the $p_src file in a new $p_dest file and then unlink the - // first one. - // Parameters : - // $p_src : Old filename - // $p_dest : New filename - // Return Values : - // 1 on success, 0 on failure. - // -------------------------------------------------------------------------------- - function PclZipUtilRename($p_src, $p_dest) - { - $v_result = 1; - - // ----- Try to rename the files - if (!@rename($p_src, $p_dest)) { - - // ----- Try to copy & unlink the src - if (!@copy($p_src, $p_dest)) { - $v_result = 0; - } - else if (!@unlink($p_src)) { - $v_result = 0; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilOptionText() - // Description : - // Translate option value in text. Mainly for debug purpose. - // Parameters : - // $p_option : the option value. - // Return Values : - // The option text value. - // -------------------------------------------------------------------------------- - function PclZipUtilOptionText($p_option) - { - - $v_list = get_defined_constants(); - for (reset($v_list); $v_key = key($v_list); next($v_list)) { - $v_prefix = substr($v_key, 0, 10); - if (( ($v_prefix == 'PCLZIP_OPT') - || ($v_prefix == 'PCLZIP_CB_') - || ($v_prefix == 'PCLZIP_ATT')) - && ($v_list[$v_key] == $p_option)) { - return $v_key; - } - } - - $v_result = 'Unknown'; - - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilTranslateWinPath() - // Description : - // Translate windows path by replacing '\' by '/' and optionally removing - // drive letter. - // Parameters : - // $p_path : path to translate. - // $p_remove_disk_letter : true | false - // Return Values : - // The path translated. - // -------------------------------------------------------------------------------- - function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter=true) - { - if (stristr(php_uname(), 'windows')) { - // ----- Look for potential disk letter - if (($p_remove_disk_letter) && (($v_position = strpos($p_path, ':')) != false)) { - $p_path = substr($p_path, $v_position+1); - } - // ----- Change potential windows directory separator - if ((strpos($p_path, '\\') > 0) || (substr($p_path, 0,1) == '\\')) { - $p_path = strtr($p_path, '\\', '/'); - } - } - return $p_path; - } - // -------------------------------------------------------------------------------- - - -?> diff --git a/sources/wordpress/wp-admin/includes/class-wp-comments-list-table.php b/sources/wordpress/wp-admin/includes/class-wp-comments-list-table.php deleted file mode 100644 index 5803b1d..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-comments-list-table.php +++ /dev/null @@ -1,636 +0,0 @@ - 'comments', - 'singular' => 'comment', - 'ajax' => true, - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - } - - public function ajax_user_can() { - return current_user_can('edit_posts'); - } - - public function prepare_items() { - global $post_id, $comment_status, $search, $comment_type; - - $comment_status = isset( $_REQUEST['comment_status'] ) ? $_REQUEST['comment_status'] : 'all'; - if ( !in_array( $comment_status, array( 'all', 'moderated', 'approved', 'spam', 'trash' ) ) ) - $comment_status = 'all'; - - $comment_type = !empty( $_REQUEST['comment_type'] ) ? $_REQUEST['comment_type'] : ''; - - $search = ( isset( $_REQUEST['s'] ) ) ? $_REQUEST['s'] : ''; - - $post_type = ( isset( $_REQUEST['post_type'] ) ) ? sanitize_key( $_REQUEST['post_type'] ) : ''; - - $user_id = ( isset( $_REQUEST['user_id'] ) ) ? $_REQUEST['user_id'] : ''; - - $orderby = ( isset( $_REQUEST['orderby'] ) ) ? $_REQUEST['orderby'] : ''; - $order = ( isset( $_REQUEST['order'] ) ) ? $_REQUEST['order'] : ''; - - $comments_per_page = $this->get_per_page( $comment_status ); - - $doing_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX; - - if ( isset( $_REQUEST['number'] ) ) { - $number = (int) $_REQUEST['number']; - } - else { - $number = $comments_per_page + min( 8, $comments_per_page ); // Grab a few extra - } - - $page = $this->get_pagenum(); - - if ( isset( $_REQUEST['start'] ) ) { - $start = $_REQUEST['start']; - } else { - $start = ( $page - 1 ) * $comments_per_page; - } - - if ( $doing_ajax && isset( $_REQUEST['offset'] ) ) { - $start += $_REQUEST['offset']; - } - - $status_map = array( - 'moderated' => 'hold', - 'approved' => 'approve', - 'all' => '', - ); - - $args = array( - 'status' => isset( $status_map[$comment_status] ) ? $status_map[$comment_status] : $comment_status, - 'search' => $search, - 'user_id' => $user_id, - 'offset' => $start, - 'number' => $number, - 'post_id' => $post_id, - 'type' => $comment_type, - 'orderby' => $orderby, - 'order' => $order, - 'post_type' => $post_type, - ); - - $_comments = get_comments( $args ); - - update_comment_cache( $_comments ); - - $this->items = array_slice( $_comments, 0, $comments_per_page ); - $this->extra_items = array_slice( $_comments, $comments_per_page ); - - $total_comments = get_comments( array_merge( $args, array('count' => true, 'offset' => 0, 'number' => 0) ) ); - - $_comment_post_ids = array(); - foreach ( $_comments as $_c ) { - $_comment_post_ids[] = $_c->comment_post_ID; - } - - $_comment_post_ids = array_unique( $_comment_post_ids ); - - $this->pending_count = get_pending_comments_num( $_comment_post_ids ); - - $this->set_pagination_args( array( - 'total_items' => $total_comments, - 'per_page' => $comments_per_page, - ) ); - } - - public function get_per_page( $comment_status = 'all' ) { - $comments_per_page = $this->get_items_per_page( 'edit_comments_per_page' ); - /** - * Filter the number of comments listed per page in the comments list table. - * - * @since 2.6.0 - * - * @param int $comments_per_page The number of comments to list per page. - * @param string $comment_status The comment status name. Default 'All'. - */ - $comments_per_page = apply_filters( 'comments_per_page', $comments_per_page, $comment_status ); - return $comments_per_page; - } - - public function no_items() { - global $comment_status; - - if ( 'moderated' == $comment_status ) - _e( 'No comments awaiting moderation.' ); - else - _e( 'No comments found.' ); - } - - protected function get_views() { - global $post_id, $comment_status, $comment_type; - - $status_links = array(); - $num_comments = ( $post_id ) ? wp_count_comments( $post_id ) : wp_count_comments(); - //, number_format_i18n($num_comments->moderated) ), "" . number_format_i18n($num_comments->moderated) . ""), - //, number_format_i18n($num_comments->spam) ), "" . number_format_i18n($num_comments->spam) . "") - $stati = array( - 'all' => _nx_noop('All', 'All', 'comments'), // singular not used - 'moderated' => _n_noop('Pending (%s)', 'Pending (%s)'), - 'approved' => _n_noop('Approved', 'Approved'), // singular not used - 'spam' => _n_noop('Spam (%s)', 'Spam (%s)'), - 'trash' => _n_noop('Trash (%s)', 'Trash (%s)') - ); - - if ( !EMPTY_TRASH_DAYS ) - unset($stati['trash']); - - $link = 'edit-comments.php'; - if ( !empty($comment_type) && 'all' != $comment_type ) - $link = add_query_arg( 'comment_type', $comment_type, $link ); - - foreach ( $stati as $status => $label ) { - $class = ( $status == $comment_status ) ? ' class="current"' : ''; - - if ( !isset( $num_comments->$status ) ) - $num_comments->$status = 10; - $link = add_query_arg( 'comment_status', $status, $link ); - if ( $post_id ) - $link = add_query_arg( 'p', absint( $post_id ), $link ); - /* - // I toyed with this, but decided against it. Leaving it in here in case anyone thinks it is a good idea. ~ Mark - if ( !empty( $_REQUEST['s'] ) ) - $link = add_query_arg( 's', esc_attr( wp_unslash( $_REQUEST['s'] ) ), $link ); - */ - $status_links[$status] = "" . sprintf( - translate_nooped_plural( $label, $num_comments->$status ), - number_format_i18n( $num_comments->$status ) - ) . ''; - } - - /** - * Filter the comment status links. - * - * @since 2.5.0 - * - * @param array $status_links An array of fully-formed status links. Default 'All'. - * Accepts 'All', 'Pending', 'Approved', 'Spam', and 'Trash'. - */ - $status_links = apply_filters( 'comment_status_links', $status_links ); - return $status_links; - } - - protected function get_bulk_actions() { - global $comment_status; - - $actions = array(); - if ( in_array( $comment_status, array( 'all', 'approved' ) ) ) - $actions['unapprove'] = __( 'Unapprove' ); - if ( in_array( $comment_status, array( 'all', 'moderated' ) ) ) - $actions['approve'] = __( 'Approve' ); - if ( in_array( $comment_status, array( 'all', 'moderated', 'approved', 'trash' ) ) ) - $actions['spam'] = _x( 'Mark as Spam', 'comment' ); - - if ( 'trash' == $comment_status ) - $actions['untrash'] = __( 'Restore' ); - elseif ( 'spam' == $comment_status ) - $actions['unspam'] = _x( 'Not Spam', 'comment' ); - - if ( in_array( $comment_status, array( 'trash', 'spam' ) ) || !EMPTY_TRASH_DAYS ) - $actions['delete'] = __( 'Delete Permanently' ); - else - $actions['trash'] = __( 'Move to Trash' ); - - return $actions; - } - - protected function extra_tablenav( $which ) { - global $comment_status, $comment_type; -?> -
- - - 'post-query-submit' ) ); - } - - if ( ( 'spam' == $comment_status || 'trash' == $comment_status ) && current_user_can( 'moderate_comments' ) ) { - wp_nonce_field( 'bulk-destroy', '_destroy_nonce' ); - $title = ( 'spam' == $comment_status ) ? esc_attr__( 'Empty Spam' ) : esc_attr__( 'Empty Trash' ); - submit_button( $title, 'apply', 'delete_all', false ); - } - /** - * Fires after the Filter submit button for comment types. - * - * @since 2.5.0 - * - * @param string $comment_status The comment status name. Default 'All'. - */ - do_action( 'manage_comments_nav', $comment_status ); - echo '
'; - } - - public function current_action() { - if ( isset( $_REQUEST['delete_all'] ) || isset( $_REQUEST['delete_all2'] ) ) - return 'delete_all'; - - return parent::current_action(); - } - - public function get_columns() { - global $post_id; - - $columns = array(); - - if ( $this->checkbox ) - $columns['cb'] = ''; - - $columns['author'] = __( 'Author' ); - $columns['comment'] = _x( 'Comment', 'column name' ); - - if ( !$post_id ) - $columns['response'] = _x( 'In Response To', 'column name' ); - - return $columns; - } - - protected function get_sortable_columns() { - return array( - 'author' => 'comment_author', - 'response' => 'comment_post_ID' - ); - } - - public function display() { - wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' ); - - $this->display_tablenav( 'top' ); - -?> - - - - print_column_headers(); ?> - - - - - - print_column_headers( false ); ?> - - - - - display_rows_or_placeholder(); ?> - - - - items = $this->extra_items; $this->display_rows(); ?> - -
-display_tablenav( 'bottom' ); - } - - public function single_row( $a_comment ) { - global $post, $comment; - - $comment = $a_comment; - $the_comment_class = wp_get_comment_status( $comment->comment_ID ); - $the_comment_class = join( ' ', get_comment_class( $the_comment_class, $comment->comment_ID, $comment->comment_post_ID ) ); - - $post = get_post( $comment->comment_post_ID ); - - $this->user_can = current_user_can( 'edit_comment', $comment->comment_ID ); - - echo ""; - $this->single_row_columns( $comment ); - echo "\n"; - } - - public function column_cb( $comment ) { - if ( $this->user_can ) { ?> - - - user_can; - - $comment_url = esc_url( get_comment_link( $comment->comment_ID ) ); - $the_comment_status = wp_get_comment_status( $comment->comment_ID ); - - if ( $user_can ) { - $del_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "delete-comment_$comment->comment_ID" ) ); - $approve_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "approve-comment_$comment->comment_ID" ) ); - - $url = "comment.php?c=$comment->comment_ID"; - - $approve_url = esc_url( $url . "&action=approvecomment&$approve_nonce" ); - $unapprove_url = esc_url( $url . "&action=unapprovecomment&$approve_nonce" ); - $spam_url = esc_url( $url . "&action=spamcomment&$del_nonce" ); - $unspam_url = esc_url( $url . "&action=unspamcomment&$del_nonce" ); - $trash_url = esc_url( $url . "&action=trashcomment&$del_nonce" ); - $untrash_url = esc_url( $url . "&action=untrashcomment&$del_nonce" ); - $delete_url = esc_url( $url . "&action=deletecomment&$del_nonce" ); - } - - echo '
'; - $this->column_author( $comment ); - echo '
'; - - echo ''; - comment_text(); - if ( $user_can ) { ?> - - '', 'unapprove' => '', - 'reply' => '', - 'quickedit' => '', - 'edit' => '', - 'spam' => '', 'unspam' => '', - 'trash' => '', 'untrash' => '', 'delete' => '' - ); - - // Not looking at all comments. - if ( $comment_status && 'all' != $comment_status ) { - if ( 'approved' == $the_comment_status ) - $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; - else if ( 'unapproved' == $the_comment_status ) - $actions['approve'] = "" . __( 'Approve' ) . ''; - } else { - $actions['approve'] = "" . __( 'Approve' ) . ''; - $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; - } - - if ( 'spam' != $the_comment_status ) { - $actions['spam'] = "" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . ''; - } elseif ( 'spam' == $the_comment_status ) { - $actions['unspam'] = "" . _x( 'Not Spam', 'comment' ) . ''; - } - - if ( 'trash' == $the_comment_status ) { - $actions['untrash'] = "" . __( 'Restore' ) . ''; - } - - if ( 'spam' == $the_comment_status || 'trash' == $the_comment_status || !EMPTY_TRASH_DAYS ) { - $actions['delete'] = "" . __( 'Delete Permanently' ) . ''; - } else { - $actions['trash'] = "" . _x( 'Trash', 'verb' ) . ''; - } - - if ( 'spam' != $the_comment_status && 'trash' != $the_comment_status ) { - $actions['edit'] = "". __( 'Edit' ) . ''; - - $format = '%s'; - - $actions['quickedit'] = sprintf( $format, $comment->comment_ID, $post->ID, 'edit', 'vim-q comment-inline', esc_attr__( 'Quick Edit' ), __( 'Quick Edit' ) ); - - $actions['reply'] = sprintf( $format, $comment->comment_ID, $post->ID, 'replyto', 'vim-r comment-inline', esc_attr__( 'Reply to this comment' ), __( 'Reply' ) ); - } - - /** This filter is documented in wp-admin/includes/dashboard.php */ - $actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment ); - - $i = 0; - echo '
'; - foreach ( $actions as $action => $link ) { - ++$i; - ( ( ( 'approve' == $action || 'unapprove' == $action ) && 2 === $i ) || 1 === $i ) ? $sep = '' : $sep = ' | '; - - // Reply and quickedit need a hide-if-no-js span when not added with ajax - if ( ( 'reply' == $action || 'quickedit' == $action ) && ! defined('DOING_AJAX') ) - $action .= ' hide-if-no-js'; - elseif ( ( $action == 'untrash' && $the_comment_status == 'trash' ) || ( $action == 'unspam' && $the_comment_status == 'spam' ) ) { - if ( '1' == get_comment_meta( $comment->comment_ID, '_wp_trash_meta_status', true ) ) - $action .= ' approve'; - else - $action .= ' unapprove'; - } - - echo "$sep$link"; - } - echo '
'; - } - } - - public function column_author( $comment ) { - global $comment_status; - - $author_url = get_comment_author_url(); - if ( 'http://' == $author_url ) - $author_url = ''; - $author_url_display = preg_replace( '|http://(www\.)?|i', '', $author_url ); - if ( strlen( $author_url_display ) > 50 ) - $author_url_display = substr( $author_url_display, 0, 49 ) . '…'; - - echo ""; comment_author(); echo '
'; - if ( !empty( $author_url ) ) - echo "$author_url_display
"; - - if ( $this->user_can ) { - if ( !empty( $comment->comment_author_email ) ) { - comment_author_email_link(); - echo '
'; - } - echo ''; - comment_author_IP(); - echo ''; - } - } - - public function column_date() { - return get_comment_date( __( 'Y/m/d \a\t g:ia' ) ); - } - - public function column_response() { - $post = get_post(); - - if ( isset( $this->pending_count[$post->ID] ) ) { - $pending_comments = $this->pending_count[$post->ID]; - } else { - $_pending_count_temp = get_pending_comments_num( array( $post->ID ) ); - $pending_comments = $this->pending_count[$post->ID] = $_pending_count_temp[$post->ID]; - } - - if ( current_user_can( 'edit_post', $post->ID ) ) { - $post_link = ""; - $post_link .= get_the_title( $post->ID ) . ''; - } else { - $post_link = get_the_title( $post->ID ); - } - - echo ''; - if ( 'attachment' == $post->post_type && ( $thumb = wp_get_attachment_image( $post->ID, array( 80, 60 ), true ) ) ) - echo $thumb; - } - - public function column_default( $comment, $column_name ) { - /** - * Fires when the default column output is displayed for a single row. - * - * @since 2.8.0 - * - * @param string $column_name The custom column's name. - * @param int $comment->comment_ID The custom column's unique ID number. - */ - do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID ); - } -} - -/** - * Post Comments List Table class. - * - * @package WordPress - * @subpackage List_Table - * @since 3.1.0 - * @access private - * - * @see WP_Comments_Table - */ -class WP_Post_Comments_List_Table extends WP_Comments_List_Table { - - protected function get_column_info() { - $this->_column_headers = array( - array( - 'author' => __( 'Author' ), - 'comment' => _x( 'Comment', 'column name' ), - ), - array(), - array(), - ); - - return $this->_column_headers; - } - - protected function get_table_classes() { - $classes = parent::get_table_classes(); - $classes[] = 'comments-box'; - return $classes; - } - - public function display( $output_empty = false ) { - $singular = $this->_args['singular']; - - wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' ); -?> - - > - display_rows_or_placeholder(); - } ?> - - -$name; - } - - /** - * Make private properties settable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to set. - * @param mixed $value Property value. - * @return mixed Newly-set property. - */ - public function __set( $name, $value ) { - return $this->$name = $value; - } - - /** - * Make private properties checkable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to check if set. - * @return bool Whether the property is set. - */ - public function __isset( $name ) { - return isset( $this->$name ); - } - - /** - * Make private properties un-settable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to unset. - */ - public function __unset( $name ) { - unset( $this->$name ); - } - - /** - * Return the path on the remote filesystem of ABSPATH. - * - * @access public - * @since 2.7.0 - * - * @return string The location of the remote path. - */ - public function abspath() { - $folder = $this->find_folder(ABSPATH); - // Perhaps the FTP folder is rooted at the WordPress install, Check for wp-includes folder in root, Could have some false positives, but rare. - if ( ! $folder && $this->is_dir( '/' . WPINC ) ) - $folder = '/'; - return $folder; - } - - /** - * Return the path on the remote filesystem of WP_CONTENT_DIR. - * - * @access public - * @since 2.7.0 - * - * @return string The location of the remote path. - */ - public function wp_content_dir() { - return $this->find_folder(WP_CONTENT_DIR); - } - - /** - * Return the path on the remote filesystem of WP_PLUGIN_DIR. - * - * @access public - * @since 2.7.0 - * - * @return string The location of the remote path. - */ - public function wp_plugins_dir() { - return $this->find_folder(WP_PLUGIN_DIR); - } - - /** - * Return the path on the remote filesystem of the Themes Directory. - * - * @access public - * @since 2.7.0 - * - * @param string $theme The Theme stylesheet or template for the directory. - * @return string The location of the remote path. - */ - public function wp_themes_dir( $theme = false ) { - $theme_root = get_theme_root( $theme ); - - // Account for relative theme roots - if ( '/themes' == $theme_root || ! is_dir( $theme_root ) ) - $theme_root = WP_CONTENT_DIR . $theme_root; - - return $this->find_folder( $theme_root ); - } - - /** - * Return the path on the remote filesystem of WP_LANG_DIR. - * - * @access public - * @since 3.2.0 - * - * @return string The location of the remote path. - */ - public function wp_lang_dir() { - return $this->find_folder(WP_LANG_DIR); - } - - /** - * Locate a folder on the remote filesystem. - * - * @access public - * @since 2.5.0 - * @deprecated 2.7.0 use WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir() instead. - * @see WP_Filesystem::abspath() - * @see WP_Filesystem::wp_content_dir() - * @see WP_Filesystem::wp_plugins_dir() - * @see WP_Filesystem::wp_themes_dir() - * @see WP_Filesystem::wp_lang_dir() - * - * @param string $base The folder to start searching from. - * @param bool $echo True to display debug information. - * Default false. - * @return string The location of the remote path. - */ - public function find_base_dir( $base = '.', $echo = false ) { - _deprecated_function(__FUNCTION__, '2.7', 'WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir()' ); - $this->verbose = $echo; - return $this->abspath(); - } - - /** - * Locate a folder on the remote filesystem. - * - * @access public - * @since 2.5.0 - * @deprecated 2.7.0 use WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir() methods instead. - * @see WP_Filesystem::abspath() - * @see WP_Filesystem::wp_content_dir() - * @see WP_Filesystem::wp_plugins_dir() - * @see WP_Filesystem::wp_themes_dir() - * @see WP_Filesystem::wp_lang_dir() - * - * @param string $base The folder to start searching from. - * @param bool $echo True to display debug information. - * @return string The location of the remote path. - */ - public function get_base_dir( $base = '.', $echo = false ) { - _deprecated_function(__FUNCTION__, '2.7', 'WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir()' ); - $this->verbose = $echo; - return $this->abspath(); - } - - /** - * Locate a folder on the remote filesystem. - * - * Assumes that on Windows systems, Stripping off the Drive - * letter is OK Sanitizes \\ to / in windows filepaths. - * - * @access public - * @since 2.7.0 - * - * @param string $folder the folder to locate. - * @return string The location of the remote path. - */ - public function find_folder( $folder ) { - - if ( isset( $this->cache[ $folder ] ) ) - return $this->cache[ $folder ]; - - if ( stripos($this->method, 'ftp') !== false ) { - $constant_overrides = array( - 'FTP_BASE' => ABSPATH, - 'FTP_CONTENT_DIR' => WP_CONTENT_DIR, - 'FTP_PLUGIN_DIR' => WP_PLUGIN_DIR, - 'FTP_LANG_DIR' => WP_LANG_DIR - ); - - // Direct matches ( folder = CONSTANT/ ) - foreach ( $constant_overrides as $constant => $dir ) { - if ( ! defined( $constant ) ) - continue; - if ( $folder === $dir ) - return trailingslashit( constant( $constant ) ); - } - - // Prefix Matches ( folder = CONSTANT/subdir ) - foreach ( $constant_overrides as $constant => $dir ) { - if ( ! defined( $constant ) ) - continue; - if ( 0 === stripos( $folder, $dir ) ) { // $folder starts with $dir - $potential_folder = preg_replace( '#^' . preg_quote( $dir, '#' ) . '/#i', trailingslashit( constant( $constant ) ), $folder ); - $potential_folder = trailingslashit( $potential_folder ); - - if ( $this->is_dir( $potential_folder ) ) { - $this->cache[ $folder ] = $potential_folder; - return $potential_folder; - } - } - } - } elseif ( 'direct' == $this->method ) { - $folder = str_replace('\\', '/', $folder); // Windows path sanitisation - return trailingslashit($folder); - } - - $folder = preg_replace('|^([a-z]{1}):|i', '', $folder); // Strip out windows drive letter if it's there. - $folder = str_replace('\\', '/', $folder); // Windows path sanitisation - - if ( isset($this->cache[ $folder ] ) ) - return $this->cache[ $folder ]; - - if ( $this->exists($folder) ) { // Folder exists at that absolute path. - $folder = trailingslashit($folder); - $this->cache[ $folder ] = $folder; - return $folder; - } - if ( $return = $this->search_for_folder($folder) ) - $this->cache[ $folder ] = $return; - return $return; - } - - /** - * Locate a folder on the remote filesystem. - * - * Expects Windows sanitized path. - * - * @access private - * @since 2.7.0 - * - * @param string $folder The folder to locate. - * @param string $base The folder to start searching from. - * @param bool $loop If the function has recursed, Internal use only. - * @return string The location of the remote path. - */ - public function search_for_folder( $folder, $base = '.', $loop = false ) { - if ( empty( $base ) || '.' == $base ) - $base = trailingslashit($this->cwd()); - - $folder = untrailingslashit($folder); - - if ( $this->verbose ) - printf( "\n" . __('Looking for %1$s in %2$s') . "
\n", $folder, $base ); - - $folder_parts = explode('/', $folder); - $folder_part_keys = array_keys( $folder_parts ); - $last_index = array_pop( $folder_part_keys ); - $last_path = $folder_parts[ $last_index ]; - - $files = $this->dirlist( $base ); - - foreach ( $folder_parts as $index => $key ) { - if ( $index == $last_index ) - continue; // We want this to be caught by the next code block. - - /* - * Working from /home/ to /user/ to /wordpress/ see if that file exists within - * the current folder, If it's found, change into it and follow through looking - * for it. If it cant find WordPress down that route, it'll continue onto the next - * folder level, and see if that matches, and so on. If it reaches the end, and still - * cant find it, it'll return false for the entire function. - */ - if ( isset($files[ $key ]) ){ - - // Lets try that folder: - $newdir = trailingslashit(path_join($base, $key)); - if ( $this->verbose ) - printf( "\n" . __('Changing to %s') . "
\n", $newdir ); - - // Only search for the remaining path tokens in the directory, not the full path again. - $newfolder = implode( '/', array_slice( $folder_parts, $index + 1 ) ); - if ( $ret = $this->search_for_folder( $newfolder, $newdir, $loop) ) - return $ret; - } - } - - // Only check this as a last resort, to prevent locating the incorrect install. All above procedures will fail quickly if this is the right branch to take. - if (isset( $files[ $last_path ] ) ) { - if ( $this->verbose ) - printf( "\n" . __('Found %s') . "
\n", $base . $last_path ); - return trailingslashit($base . $last_path); - } - - // Prevent this function from looping again. - // No need to proceed if we've just searched in / - if ( $loop || '/' == $base ) - return false; - - // As an extra last resort, Change back to / if the folder wasn't found. - // This comes into effect when the CWD is /home/user/ but WP is at /var/www/.... - return $this->search_for_folder( $folder, '/', true ); - - } - - /** - * Return the *nix-style file permissions for a file. - * - * From the PHP documentation page for fileperms(). - * - * @link http://docs.php.net/fileperms - * - * @access public - * @since 2.5.0 - * - * @param string $file String filename. - * @return string The *nix-style representation of permissions. - */ - public function gethchmod( $file ){ - $perms = $this->getchmod($file); - if (($perms & 0xC000) == 0xC000) // Socket - $info = 's'; - elseif (($perms & 0xA000) == 0xA000) // Symbolic Link - $info = 'l'; - elseif (($perms & 0x8000) == 0x8000) // Regular - $info = '-'; - elseif (($perms & 0x6000) == 0x6000) // Block special - $info = 'b'; - elseif (($perms & 0x4000) == 0x4000) // Directory - $info = 'd'; - elseif (($perms & 0x2000) == 0x2000) // Character special - $info = 'c'; - elseif (($perms & 0x1000) == 0x1000) // FIFO pipe - $info = 'p'; - else // Unknown - $info = 'u'; - - // Owner - $info .= (($perms & 0x0100) ? 'r' : '-'); - $info .= (($perms & 0x0080) ? 'w' : '-'); - $info .= (($perms & 0x0040) ? - (($perms & 0x0800) ? 's' : 'x' ) : - (($perms & 0x0800) ? 'S' : '-')); - - // Group - $info .= (($perms & 0x0020) ? 'r' : '-'); - $info .= (($perms & 0x0010) ? 'w' : '-'); - $info .= (($perms & 0x0008) ? - (($perms & 0x0400) ? 's' : 'x' ) : - (($perms & 0x0400) ? 'S' : '-')); - - // World - $info .= (($perms & 0x0004) ? 'r' : '-'); - $info .= (($perms & 0x0002) ? 'w' : '-'); - $info .= (($perms & 0x0001) ? - (($perms & 0x0200) ? 't' : 'x' ) : - (($perms & 0x0200) ? 'T' : '-')); - return $info; - } - - /** - * Convert *nix-style file permissions to a octal number. - * - * Converts '-rw-r--r--' to 0644 - * From "info at rvgate dot nl"'s comment on the PHP documentation for chmod() - * - * @link http://docs.php.net/manual/en/function.chmod.php#49614 - * - * @access public - * @since 2.5.0 - * - * @param string $mode string The *nix-style file permission. - * @return int octal representation - */ - public function getnumchmodfromh( $mode ) { - $realmode = ''; - $legal = array('', 'w', 'r', 'x', '-'); - $attarray = preg_split('//', $mode); - - for ($i=0; $i < count($attarray); $i++) - if ($key = array_search($attarray[$i], $legal)) - $realmode .= $legal[$key]; - - $mode = str_pad($realmode, 10, '-', STR_PAD_LEFT); - $trans = array('-'=>'0', 'r'=>'4', 'w'=>'2', 'x'=>'1'); - $mode = strtr($mode,$trans); - - $newmode = $mode[0]; - $newmode .= $mode[1] + $mode[2] + $mode[3]; - $newmode .= $mode[4] + $mode[5] + $mode[6]; - $newmode .= $mode[7] + $mode[8] + $mode[9]; - return $newmode; - } - - /** - * Determine if the string provided contains binary characters. - * - * @access private - * @since 2.7.0 - * - * @param string $text String to test against. - * @return bool true if string is binary, false otherwise. - */ - public function is_binary( $text ) { - return (bool) preg_match( '|[^\x20-\x7E]|', $text ); // chr(32)..chr(127) - } - - /** - * Change the ownership of a file / folder. - * - * Default behavior is to do nothing, override this in your subclass, if desired. - * - * @since 2.5.0 - * - * @param string $file Path to the file. - * @param mixed $owner A user name or number. - * @param bool $recursive Optional. If set True changes file owner recursivly. Defaults to False. - * @return bool Returns true on success or false on failure. - */ - public function chown( $file, $owner, $recursive = false ) { - return false; - } - - /** - * Connect filesystem. - * - * @since 2.5.0 - * - * @return bool True on success or false on failure (always true for WP_Filesystem_Direct). - */ - public function connect() { - return true; - } - - /** - * Read entire file into a string. - * - * @since 2.5.0 - * - * @param string $file Name of the file to read. - * @return string|bool Returns the read data or false on failure. - */ - public function get_contents( $file ) { - return false; - } - - /** - * Read entire file into an array. - * - * @since 2.5.0 - * - * @param string $file Path to the file. - * @return array|bool the file contents in an array or false on failure. - */ - public function get_contents_array( $file ) { - return false; - } - - /** - * Write a string to a file. - * - * @since 2.5.0 - * - * @param string $file Remote path to the file where to write the data. - * @param string $contents The data to write. - * @param int $mode Optional. The file permissions as octal number, usually 0644. - * @return bool False on failure. - */ - public function put_contents( $file, $contents, $mode = false ) { - return false; - } - - /** - * Get the current working directory. - * - * @since 2.5.0 - * - * @return string|bool The current working directory on success, or false on failure. - */ - public function cwd() { - return false; - } - - /** - * Change current directory. - * - * @since 2.5.0 - * - * @param string $dir The new current directory. - * @return bool Returns true on success or false on failure. - */ - public function chdir( $dir ) { - return false; - } - - /** - * Change the file group. - * - * @since 2.5.0 - * - * @param string $file Path to the file. - * @param mixed $group A group name or number. - * @param bool $recursive Optional. If set True changes file group recursively. Defaults to False. - * @return bool Returns true on success or false on failure. - */ - public function chgrp( $file, $group, $recursive = false ) { - return false; - } - - /** - * Change filesystem permissions. - * - * @since 2.5.0 - * - * @param string $file Path to the file. - * @param int $mode Optional. The permissions as octal number, usually 0644 for files, 0755 for dirs. - * @param bool $recursive Optional. If set True changes file group recursively. Defaults to False. - * @return bool Returns true on success or false on failure. - */ - public function chmod( $file, $mode = false, $recursive = false ) { - return false; - } - - /** - * Get the file owner. - * - * @since 2.5.0 - * - * @param string $file Path to the file. - * @return string|bool Username of the user or false on error. - */ - public function owner( $file ) { - return false; - } - - /** - * Get the file's group. - * - * @since 2.5.0 - * - * @param string $file Path to the file. - * @return string|bool The group or false on error. - */ - public function group( $file ) { - return false; - } - - /** - * Copy a file. - * - * @since 2.5.0 - * - * @param string $source Path to the source file. - * @param string $destination Path to the destination file. - * @param bool $overwrite Optional. Whether to overwrite the destination file if it exists. - * Default false. - * @param int $mode Optional. The permissions as octal number, usually 0644 for files, 0755 for dirs. - * Default false. - * @return bool True if file copied successfully, False otherwise. - */ - public function copy( $source, $destination, $overwrite = false, $mode = false ) { - return false; - } - - /** - * Move a file. - * - * @since 2.5.0 - * - * @param string $source Path to the source file. - * @param string $destination Path to the destination file. - * @param bool $overwrite Optional. Whether to overwrite the destination file if it exists. - * Default false. - * @return bool True if file copied successfully, False otherwise. - */ - public function move( $source, $destination, $overwrite = false ) { - return false; - } - - /** - * Delete a file or directory. - * - * @since 2.5.0 - * - * @param string $file Path to the file. - * @param bool $recursive Optional. If set True changes file group recursively. Defaults to False. - * Default false. - * @param bool $type Type of resource. 'f' for file, 'd' for directory. - * Default false. - * @return bool True if the file or directory was deleted, false on failure. - */ - public function delete( $file, $recursive = false, $type = false ) { - return false; - } - - /** - * Check if a file or directory exists. - * - * @since 2.5.0 - * - * @param string $file Path to file/directory. - * @return bool Whether $file exists or not. - */ - public function exists( $file ) { - return false; - } - - /** - * Check if resource is a file. - * - * @since 2.5.0 - * - * @param string $file File path. - * @return bool Whether $file is a file. - */ - public function is_file( $file ) { - return false; - } - - /** - * Check if resource is a directory. - * - * @since 2.5.0 - * - * @param string $path Directory path. - * @return bool Whether $path is a directory. - */ - public function is_dir( $path ) { - return false; - } - - /** - * Check if a file is readable. - * - * @since 2.5.0 - * - * @param string $file Path to file. - * @return bool Whether $file is readable. - */ - public function is_readable( $file ) { - return false; - } - - /** - * Check if a file or directory is writable. - * - * @since 2.5.0 - * - * @param string $path Path to file/directory. - * @return bool Whether $file is writable. - */ - public function is_writable( $file ) { - return false; - } - - /** - * Gets the file's last access time. - * - * @since 2.5.0 - * - * @param string $file Path to file. - * @return int Unix timestamp representing last access time. - */ - public function atime( $file ) { - return false; - } - - /** - * Gets the file modification time. - * - * @since 2.5.0 - * - * @param string $file Path to file. - * @return int Unix timestamp representing modification time. - */ - public function mtime( $file ) { - return false; - } - - /** - * Gets the file size (in bytes). - * - * @since 2.5.0 - * - * @param string $file Path to file. - * @return int Size of the file in bytes. - */ - public function size( $file ) { - return false; - } - - /** - * Set the access and modification times of a file. - * - * Note: If $file doesn't exist, it will be created. - * - * @since 2.5.0 - * - * @param string $file Path to file. - * @param int $time Optional. Modified time to set for file. - * Default 0. - * @param int $atime Optional. Access time to set for file. - * Default 0. - * @return bool Whether operation was successful or not. - */ - public function touch( $file, $time = 0, $atime = 0 ) { - return false; - } - - /** - * Create a directory. - * - * @since 2.5.0 - * - * @param string $path Path for new directory. - * @param mixed $chmod Optional. The permissions as octal number, (or False to skip chmod) - * Default false. - * @param mixed $chown Optional. A user name or number (or False to skip chown) - * Default false. - * @param mixed $chgrp Optional. A group name or number (or False to skip chgrp). - * Default false. - * @return bool False if directory cannot be created, true otherwise. - */ - public function mkdir( $path, $chmod = false, $chown = false, $chgrp = false ) { - return false; - } - - /** - * Delete a directory. - * - * @since 2.5.0 - * - * @param string $path Path to directory. - * @param bool $recursive Optional. Whether to recursively remove files/directories. - * Default false. - * @return bool Whether directory is deleted successfully or not. - */ - public function rmdir( $path, $recursive = false ) { - return false; - } - - /** - * Get details for files in a directory or a specific file. - * - * @since 2.5.0 - * - * @param string $path Path to directory or file. - * @param bool $include_hidden Optional. Whether to include details of hidden ("." prefixed) files. - * Default true. - * @param bool $recursive Optional. Whether to recursively include file details in nested directories. - * Default false. - * @return array|bool { - * Array of files. False if unable to list directory contents. - * - * @type string 'name' Name of the file/directory. - * @type string 'perms' *nix representation of permissions. - * @type int 'permsn' Octal representation of permissions. - * @type string 'owner' Owner name or ID. - * @type int 'size' Size of file in bytes. - * @type int 'lastmodunix' Last modified unix timestamp. - * @type mixed 'lastmod' Last modified month (3 letter) and day (without leading 0). - * @type int 'time' Last modified time. - * @type string 'type' Type of resource. 'f' for file, 'd' for directory. - * @type mixed 'files' If a directory and $recursive is true, contains another array of files. - * } - */ - public function dirlist( $path, $include_hidden = true, $recursive = false ) { - return false; - } - -} // WP_Filesystem_Base diff --git a/sources/wordpress/wp-admin/includes/class-wp-filesystem-direct.php b/sources/wordpress/wp-admin/includes/class-wp-filesystem-direct.php deleted file mode 100644 index a426bd2..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-filesystem-direct.php +++ /dev/null @@ -1,384 +0,0 @@ -method = 'direct'; - $this->errors = new WP_Error(); - } - - /** - * Reads entire file into a string - * - * @param string $file Name of the file to read. - * @return string|bool The function returns the read data or false on failure. - */ - public function get_contents($file) { - return @file_get_contents($file); - } - - /** - * Reads entire file into an array - * - * @param string $file Path to the file. - * @return array|bool the file contents in an array or false on failure. - */ - public function get_contents_array($file) { - return @file($file); - } - - /** - * Write a string to a file - * - * @param string $file Remote path to the file where to write the data. - * @param string $contents The data to write. - * @param int $mode (optional) The file permissions as octal number, usually 0644. - * @return bool False upon failure. - */ - public function put_contents( $file, $contents, $mode = false ) { - $fp = @fopen( $file, 'wb' ); - if ( ! $fp ) - return false; - - mbstring_binary_safe_encoding(); - - $data_length = strlen( $contents ); - - $bytes_written = fwrite( $fp, $contents ); - - reset_mbstring_encoding(); - - fclose( $fp ); - - if ( $data_length !== $bytes_written ) - return false; - - $this->chmod( $file, $mode ); - - return true; - } - - /** - * Gets the current working directory - * - * @return string|bool the current working directory on success, or false on failure. - */ - public function cwd() { - return @getcwd(); - } - - /** - * Change directory - * - * @param string $dir The new current directory. - * @return bool Returns true on success or false on failure. - */ - public function chdir($dir) { - return @chdir($dir); - } - - /** - * Changes file group - * - * @param string $file Path to the file. - * @param mixed $group A group name or number. - * @param bool $recursive (optional) If set True changes file group recursively. Defaults to False. - * @return bool Returns true on success or false on failure. - */ - public function chgrp($file, $group, $recursive = false) { - if ( ! $this->exists($file) ) - return false; - if ( ! $recursive ) - return @chgrp($file, $group); - if ( ! $this->is_dir($file) ) - return @chgrp($file, $group); - // Is a directory, and we want recursive - $file = trailingslashit($file); - $filelist = $this->dirlist($file); - foreach ($filelist as $filename) - $this->chgrp($file . $filename, $group, $recursive); - - return true; - } - - /** - * Changes filesystem permissions - * - * @param string $file Path to the file. - * @param int $mode (optional) The permissions as octal number, usually 0644 for files, 0755 for dirs. - * @param bool $recursive (optional) If set True changes file group recursively. Defaults to False. - * @return bool Returns true on success or false on failure. - */ - public function chmod($file, $mode = false, $recursive = false) { - if ( ! $mode ) { - if ( $this->is_file($file) ) - $mode = FS_CHMOD_FILE; - elseif ( $this->is_dir($file) ) - $mode = FS_CHMOD_DIR; - else - return false; - } - - if ( ! $recursive || ! $this->is_dir($file) ) - return @chmod($file, $mode); - // Is a directory, and we want recursive - $file = trailingslashit($file); - $filelist = $this->dirlist($file); - foreach ( (array)$filelist as $filename => $filemeta) - $this->chmod($file . $filename, $mode, $recursive); - - return true; - } - - /** - * Changes file owner - * - * @param string $file Path to the file. - * @param mixed $owner A user name or number. - * @param bool $recursive (optional) If set True changes file owner recursively. Defaults to False. - * @return bool Returns true on success or false on failure. - */ - public function chown($file, $owner, $recursive = false) { - if ( ! $this->exists($file) ) - return false; - if ( ! $recursive ) - return @chown($file, $owner); - if ( ! $this->is_dir($file) ) - return @chown($file, $owner); - // Is a directory, and we want recursive - $filelist = $this->dirlist($file); - foreach ($filelist as $filename) { - $this->chown($file . '/' . $filename, $owner, $recursive); - } - return true; - } - - /** - * Gets file owner - * - * @param string $file Path to the file. - * @return string|bool Username of the user or false on error. - */ - public function owner($file) { - $owneruid = @fileowner($file); - if ( ! $owneruid ) - return false; - if ( ! function_exists('posix_getpwuid') ) - return $owneruid; - $ownerarray = posix_getpwuid($owneruid); - return $ownerarray['name']; - } - - /** - * Gets file permissions - * - * FIXME does not handle errors in fileperms() - * - * @param string $file Path to the file. - * @return string Mode of the file (last 3 digits). - */ - public function getchmod($file) { - return substr( decoct( @fileperms( $file ) ), -3 ); - } - - public function group($file) { - $gid = @filegroup($file); - if ( ! $gid ) - return false; - if ( ! function_exists('posix_getgrgid') ) - return $gid; - $grouparray = posix_getgrgid($gid); - return $grouparray['name']; - } - - public function copy($source, $destination, $overwrite = false, $mode = false) { - if ( ! $overwrite && $this->exists($destination) ) - return false; - - $rtval = copy($source, $destination); - if ( $mode ) - $this->chmod($destination, $mode); - return $rtval; - } - - public function move($source, $destination, $overwrite = false) { - if ( ! $overwrite && $this->exists($destination) ) - return false; - - // Try using rename first. if that fails (for example, source is read only) try copy. - if ( @rename($source, $destination) ) - return true; - - if ( $this->copy($source, $destination, $overwrite) && $this->exists($destination) ) { - $this->delete($source); - return true; - } else { - return false; - } - } - - public function delete($file, $recursive = false, $type = false) { - if ( empty( $file ) ) // Some filesystems report this as /, which can cause non-expected recursive deletion of all files in the filesystem. - return false; - $file = str_replace( '\\', '/', $file ); // for win32, occasional problems deleting files otherwise - - if ( 'f' == $type || $this->is_file($file) ) - return @unlink($file); - if ( ! $recursive && $this->is_dir($file) ) - return @rmdir($file); - - // At this point it's a folder, and we're in recursive mode - $file = trailingslashit($file); - $filelist = $this->dirlist($file, true); - - $retval = true; - if ( is_array( $filelist ) ) { - foreach ( $filelist as $filename => $fileinfo ) { - if ( ! $this->delete($file . $filename, $recursive, $fileinfo['type']) ) - $retval = false; - } - } - - if ( file_exists($file) && ! @rmdir($file) ) - $retval = false; - - return $retval; - } - - public function exists($file) { - return @file_exists($file); - } - - public function is_file($file) { - return @is_file($file); - } - - public function is_dir($path) { - return @is_dir($path); - } - - public function is_readable($file) { - return @is_readable($file); - } - - public function is_writable($file) { - return @is_writable($file); - } - - public function atime($file) { - return @fileatime($file); - } - - public function mtime($file) { - return @filemtime($file); - } - - public function size($file) { - return @filesize($file); - } - - public function touch($file, $time = 0, $atime = 0) { - if ($time == 0) - $time = time(); - if ($atime == 0) - $atime = time(); - return @touch($file, $time, $atime); - } - - public function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { - // Safe mode fails with a trailing slash under certain PHP versions. - $path = untrailingslashit($path); - if ( empty($path) ) - return false; - - if ( ! $chmod ) - $chmod = FS_CHMOD_DIR; - - if ( ! @mkdir($path) ) - return false; - $this->chmod($path, $chmod); - if ( $chown ) - $this->chown($path, $chown); - if ( $chgrp ) - $this->chgrp($path, $chgrp); - return true; - } - - public function rmdir($path, $recursive = false) { - return $this->delete($path, $recursive); - } - - public function dirlist($path, $include_hidden = true, $recursive = false) { - if ( $this->is_file($path) ) { - $limit_file = basename($path); - $path = dirname($path); - } else { - $limit_file = false; - } - - if ( ! $this->is_dir($path) ) - return false; - - $dir = @dir($path); - if ( ! $dir ) - return false; - - $ret = array(); - - while (false !== ($entry = $dir->read()) ) { - $struc = array(); - $struc['name'] = $entry; - - if ( '.' == $struc['name'] || '..' == $struc['name'] ) - continue; - - if ( ! $include_hidden && '.' == $struc['name'][0] ) - continue; - - if ( $limit_file && $struc['name'] != $limit_file) - continue; - - $struc['perms'] = $this->gethchmod($path.'/'.$entry); - $struc['permsn'] = $this->getnumchmodfromh($struc['perms']); - $struc['number'] = false; - $struc['owner'] = $this->owner($path.'/'.$entry); - $struc['group'] = $this->group($path.'/'.$entry); - $struc['size'] = $this->size($path.'/'.$entry); - $struc['lastmodunix']= $this->mtime($path.'/'.$entry); - $struc['lastmod'] = date('M j',$struc['lastmodunix']); - $struc['time'] = date('h:i:s',$struc['lastmodunix']); - $struc['type'] = $this->is_dir($path.'/'.$entry) ? 'd' : 'f'; - - if ( 'd' == $struc['type'] ) { - if ( $recursive ) - $struc['files'] = $this->dirlist($path . '/' . $struc['name'], $include_hidden, $recursive); - else - $struc['files'] = array(); - } - - $ret[ $struc['name'] ] = $struc; - } - $dir->close(); - unset($dir); - return $ret; - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php b/sources/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php deleted file mode 100644 index 87233d0..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php +++ /dev/null @@ -1,415 +0,0 @@ -method = 'ftpext'; - $this->errors = new WP_Error(); - - // Check if possible to use ftp functions. - if ( ! extension_loaded('ftp') ) { - $this->errors->add('no_ftp_ext', __('The ftp PHP extension is not available')); - return false; - } - - // This Class uses the timeout on a per-connection basis, Others use it on a per-action basis. - - if ( ! defined('FS_TIMEOUT') ) - define('FS_TIMEOUT', 240); - - if ( empty($opt['port']) ) - $this->options['port'] = 21; - else - $this->options['port'] = $opt['port']; - - if ( empty($opt['hostname']) ) - $this->errors->add('empty_hostname', __('FTP hostname is required')); - else - $this->options['hostname'] = $opt['hostname']; - - if ( ! empty($opt['base']) ) - $this->wp_base = $opt['base']; - - // Check if the options provided are OK. - if ( empty($opt['username']) ) - $this->errors->add('empty_username', __('FTP username is required')); - else - $this->options['username'] = $opt['username']; - - if ( empty($opt['password']) ) - $this->errors->add('empty_password', __('FTP password is required')); - else - $this->options['password'] = $opt['password']; - - $this->options['ssl'] = false; - if ( isset($opt['connection_type']) && 'ftps' == $opt['connection_type'] ) - $this->options['ssl'] = true; - } - - public function connect() { - if ( isset($this->options['ssl']) && $this->options['ssl'] && function_exists('ftp_ssl_connect') ) - $this->link = @ftp_ssl_connect($this->options['hostname'], $this->options['port'], FS_CONNECT_TIMEOUT); - else - $this->link = @ftp_connect($this->options['hostname'], $this->options['port'], FS_CONNECT_TIMEOUT); - - if ( ! $this->link ) { - $this->errors->add('connect', sprintf(__('Failed to connect to FTP Server %1$s:%2$s'), $this->options['hostname'], $this->options['port'])); - return false; - } - - if ( ! @ftp_login($this->link,$this->options['username'], $this->options['password']) ) { - $this->errors->add('auth', sprintf(__('Username/Password incorrect for %s'), $this->options['username'])); - return false; - } - - // Set the Connection to use Passive FTP - @ftp_pasv( $this->link, true ); - if ( @ftp_get_option($this->link, FTP_TIMEOUT_SEC) < FS_TIMEOUT ) - @ftp_set_option($this->link, FTP_TIMEOUT_SEC, FS_TIMEOUT); - - return true; - } - - public function get_contents( $file ) { - $tempfile = wp_tempnam($file); - $temp = fopen($tempfile, 'w+'); - - if ( ! $temp ) - return false; - - if ( ! @ftp_fget($this->link, $temp, $file, FTP_BINARY ) ) - return false; - - fseek( $temp, 0 ); // Skip back to the start of the file being written to - $contents = ''; - - while ( ! feof($temp) ) - $contents .= fread($temp, 8192); - - fclose($temp); - unlink($tempfile); - return $contents; - } - - public function get_contents_array($file) { - return explode("\n", $this->get_contents($file)); - } - - public function put_contents($file, $contents, $mode = false ) { - $tempfile = wp_tempnam($file); - $temp = fopen( $tempfile, 'wb+' ); - if ( ! $temp ) - return false; - - mbstring_binary_safe_encoding(); - - $data_length = strlen( $contents ); - $bytes_written = fwrite( $temp, $contents ); - - reset_mbstring_encoding(); - - if ( $data_length !== $bytes_written ) { - fclose( $temp ); - unlink( $tempfile ); - return false; - } - - fseek( $temp, 0 ); // Skip back to the start of the file being written to - - $ret = @ftp_fput( $this->link, $file, $temp, FTP_BINARY ); - - fclose($temp); - unlink($tempfile); - - $this->chmod($file, $mode); - - return $ret; - } - - public function cwd() { - $cwd = @ftp_pwd($this->link); - if ( $cwd ) - $cwd = trailingslashit($cwd); - return $cwd; - } - - public function chdir($dir) { - return @ftp_chdir($this->link, $dir); - } - - public function chgrp($file, $group, $recursive = false ) { - return false; - } - - public function chmod($file, $mode = false, $recursive = false) { - if ( ! $mode ) { - if ( $this->is_file($file) ) - $mode = FS_CHMOD_FILE; - elseif ( $this->is_dir($file) ) - $mode = FS_CHMOD_DIR; - else - return false; - } - - // chmod any sub-objects if recursive. - if ( $recursive && $this->is_dir($file) ) { - $filelist = $this->dirlist($file); - foreach ( (array)$filelist as $filename => $filemeta ) - $this->chmod($file . '/' . $filename, $mode, $recursive); - } - - // chmod the file or directory - if ( ! function_exists('ftp_chmod') ) - return (bool)@ftp_site($this->link, sprintf('CHMOD %o %s', $mode, $file)); - return (bool)@ftp_chmod($this->link, $mode, $file); - } - - public function owner($file) { - $dir = $this->dirlist($file); - return $dir[$file]['owner']; - } - - public function getchmod($file) { - $dir = $this->dirlist($file); - return $dir[$file]['permsn']; - } - - public function group($file) { - $dir = $this->dirlist($file); - return $dir[$file]['group']; - } - - public function copy($source, $destination, $overwrite = false, $mode = false) { - if ( ! $overwrite && $this->exists($destination) ) - return false; - $content = $this->get_contents($source); - if ( false === $content ) - return false; - return $this->put_contents($destination, $content, $mode); - } - - public function move($source, $destination, $overwrite = false) { - return ftp_rename($this->link, $source, $destination); - } - - public function delete($file, $recursive = false, $type = false) { - if ( empty($file) ) - return false; - if ( 'f' == $type || $this->is_file($file) ) - return @ftp_delete($this->link, $file); - if ( !$recursive ) - return @ftp_rmdir($this->link, $file); - - $filelist = $this->dirlist( trailingslashit($file) ); - if ( !empty($filelist) ) - foreach ( $filelist as $delete_file ) - $this->delete( trailingslashit($file) . $delete_file['name'], $recursive, $delete_file['type'] ); - return @ftp_rmdir($this->link, $file); - } - - public function exists($file) { - $list = @ftp_nlist($this->link, $file); - return !empty($list); //empty list = no file, so invert. - } - - public function is_file($file) { - return $this->exists($file) && !$this->is_dir($file); - } - - public function is_dir($path) { - $cwd = $this->cwd(); - $result = @ftp_chdir($this->link, trailingslashit($path) ); - if ( $result && $path == $this->cwd() || $this->cwd() != $cwd ) { - @ftp_chdir($this->link, $cwd); - return true; - } - return false; - } - - public function is_readable($file) { - return true; - } - - public function is_writable($file) { - return true; - } - - public function atime($file) { - return false; - } - - public function mtime($file) { - return ftp_mdtm($this->link, $file); - } - - public function size($file) { - return ftp_size($this->link, $file); - } - - public function touch($file, $time = 0, $atime = 0) { - return false; - } - - public function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { - $path = untrailingslashit($path); - if ( empty($path) ) - return false; - - if ( !@ftp_mkdir($this->link, $path) ) - return false; - $this->chmod($path, $chmod); - if ( $chown ) - $this->chown($path, $chown); - if ( $chgrp ) - $this->chgrp($path, $chgrp); - return true; - } - - public function rmdir($path, $recursive = false) { - return $this->delete($path, $recursive); - } - - public function parselisting($line) { - static $is_windows; - if ( is_null($is_windows) ) - $is_windows = stripos( ftp_systype($this->link), 'win') !== false; - - if ( $is_windows && preg_match('/([0-9]{2})-([0-9]{2})-([0-9]{2}) +([0-9]{2}):([0-9]{2})(AM|PM) +([0-9]+|) +(.+)/', $line, $lucifer) ) { - $b = array(); - if ( $lucifer[3] < 70 ) - $lucifer[3] +=2000; - else - $lucifer[3] += 1900; // 4digit year fix - $b['isdir'] = ( $lucifer[7] == ''); - if ( $b['isdir'] ) - $b['type'] = 'd'; - else - $b['type'] = 'f'; - $b['size'] = $lucifer[7]; - $b['month'] = $lucifer[1]; - $b['day'] = $lucifer[2]; - $b['year'] = $lucifer[3]; - $b['hour'] = $lucifer[4]; - $b['minute'] = $lucifer[5]; - $b['time'] = @mktime($lucifer[4] + (strcasecmp($lucifer[6], "PM") == 0 ? 12 : 0), $lucifer[5], 0, $lucifer[1], $lucifer[2], $lucifer[3]); - $b['am/pm'] = $lucifer[6]; - $b['name'] = $lucifer[8]; - } elseif ( !$is_windows && $lucifer = preg_split('/[ ]/', $line, 9, PREG_SPLIT_NO_EMPTY)) { - //echo $line."\n"; - $lcount = count($lucifer); - if ( $lcount < 8 ) - return ''; - $b = array(); - $b['isdir'] = $lucifer[0]{0} === 'd'; - $b['islink'] = $lucifer[0]{0} === 'l'; - if ( $b['isdir'] ) - $b['type'] = 'd'; - elseif ( $b['islink'] ) - $b['type'] = 'l'; - else - $b['type'] = 'f'; - $b['perms'] = $lucifer[0]; - $b['number'] = $lucifer[1]; - $b['owner'] = $lucifer[2]; - $b['group'] = $lucifer[3]; - $b['size'] = $lucifer[4]; - if ( $lcount == 8 ) { - sscanf($lucifer[5], '%d-%d-%d', $b['year'], $b['month'], $b['day']); - sscanf($lucifer[6], '%d:%d', $b['hour'], $b['minute']); - $b['time'] = @mktime($b['hour'], $b['minute'], 0, $b['month'], $b['day'], $b['year']); - $b['name'] = $lucifer[7]; - } else { - $b['month'] = $lucifer[5]; - $b['day'] = $lucifer[6]; - if ( preg_match('/([0-9]{2}):([0-9]{2})/', $lucifer[7], $l2) ) { - $b['year'] = date("Y"); - $b['hour'] = $l2[1]; - $b['minute'] = $l2[2]; - } else { - $b['year'] = $lucifer[7]; - $b['hour'] = 0; - $b['minute'] = 0; - } - $b['time'] = strtotime( sprintf('%d %s %d %02d:%02d', $b['day'], $b['month'], $b['year'], $b['hour'], $b['minute']) ); - $b['name'] = $lucifer[8]; - } - } - - // Replace symlinks formatted as "source -> target" with just the source name - if ( $b['islink'] ) - $b['name'] = preg_replace( '/(\s*->\s*.*)$/', '', $b['name'] ); - - return $b; - } - - public function dirlist($path = '.', $include_hidden = true, $recursive = false) { - if ( $this->is_file($path) ) { - $limit_file = basename($path); - $path = dirname($path) . '/'; - } else { - $limit_file = false; - } - - $pwd = @ftp_pwd($this->link); - if ( ! @ftp_chdir($this->link, $path) ) // Cant change to folder = folder doesn't exist - return false; - $list = @ftp_rawlist($this->link, '-a', false); - @ftp_chdir($this->link, $pwd); - - if ( empty($list) ) // Empty array = non-existent folder (real folder will show . at least) - return false; - - $dirlist = array(); - foreach ( $list as $k => $v ) { - $entry = $this->parselisting($v); - if ( empty($entry) ) - continue; - - if ( '.' == $entry['name'] || '..' == $entry['name'] ) - continue; - - if ( ! $include_hidden && '.' == $entry['name'][0] ) - continue; - - if ( $limit_file && $entry['name'] != $limit_file) - continue; - - $dirlist[ $entry['name'] ] = $entry; - } - - $ret = array(); - foreach ( (array)$dirlist as $struc ) { - if ( 'd' == $struc['type'] ) { - if ( $recursive ) - $struc['files'] = $this->dirlist($path . '/' . $struc['name'], $include_hidden, $recursive); - else - $struc['files'] = array(); - } - - $ret[ $struc['name'] ] = $struc; - } - return $ret; - } - - public function __destruct() { - if ( $this->link ) - ftp_close($this->link); - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-filesystem-ftpsockets.php b/sources/wordpress/wp-admin/includes/class-wp-filesystem-ftpsockets.php deleted file mode 100644 index 2952ae5..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-filesystem-ftpsockets.php +++ /dev/null @@ -1,352 +0,0 @@ -method = 'ftpsockets'; - $this->errors = new WP_Error(); - - // Check if possible to use ftp functions. - if ( ! @include_once( ABSPATH . 'wp-admin/includes/class-ftp.php' ) ) { - return false; - } - $this->ftp = new ftp(); - - if ( empty($opt['port']) ) - $this->options['port'] = 21; - else - $this->options['port'] = $opt['port']; - - if ( empty($opt['hostname']) ) - $this->errors->add('empty_hostname', __('FTP hostname is required')); - else - $this->options['hostname'] = $opt['hostname']; - - if ( ! empty($opt['base']) ) - $this->wp_base = $opt['base']; - - // Check if the options provided are OK. - if ( empty ($opt['username']) ) - $this->errors->add('empty_username', __('FTP username is required')); - else - $this->options['username'] = $opt['username']; - - if ( empty ($opt['password']) ) - $this->errors->add('empty_password', __('FTP password is required')); - else - $this->options['password'] = $opt['password']; - } - - public function connect() { - if ( ! $this->ftp ) - return false; - - $this->ftp->setTimeout(FS_CONNECT_TIMEOUT); - - if ( ! $this->ftp->SetServer($this->options['hostname'], $this->options['port']) ) { - $this->errors->add('connect', sprintf(__('Failed to connect to FTP Server %1$s:%2$s'), $this->options['hostname'], $this->options['port'])); - return false; - } - - if ( ! $this->ftp->connect() ) { - $this->errors->add('connect', sprintf(__('Failed to connect to FTP Server %1$s:%2$s'), $this->options['hostname'], $this->options['port'])); - return false; - } - - if ( ! $this->ftp->login($this->options['username'], $this->options['password']) ) { - $this->errors->add('auth', sprintf(__('Username/Password incorrect for %s'), $this->options['username'])); - return false; - } - - $this->ftp->SetType( FTP_BINARY ); - $this->ftp->Passive( true ); - $this->ftp->setTimeout( FS_TIMEOUT ); - return true; - } - - public function get_contents( $file ) { - if ( ! $this->exists($file) ) - return false; - - $temp = wp_tempnam( $file ); - - if ( ! $temphandle = fopen($temp, 'w+') ) - return false; - - mbstring_binary_safe_encoding(); - - if ( ! $this->ftp->fget($temphandle, $file) ) { - fclose($temphandle); - unlink($temp); - - reset_mbstring_encoding(); - - return ''; // Blank document, File does exist, It's just blank. - } - - reset_mbstring_encoding(); - - fseek( $temphandle, 0 ); // Skip back to the start of the file being written to - $contents = ''; - - while ( ! feof($temphandle) ) - $contents .= fread($temphandle, 8192); - - fclose($temphandle); - unlink($temp); - return $contents; - } - - public function get_contents_array($file) { - return explode("\n", $this->get_contents($file) ); - } - - public function put_contents($file, $contents, $mode = false ) { - $temp = wp_tempnam( $file ); - if ( ! $temphandle = @fopen($temp, 'w+') ) { - unlink($temp); - return false; - } - - // The FTP class uses string functions internally during file download/upload - mbstring_binary_safe_encoding(); - - $bytes_written = fwrite( $temphandle, $contents ); - if ( false === $bytes_written || $bytes_written != strlen( $contents ) ) { - fclose( $temphandle ); - unlink( $temp ); - - reset_mbstring_encoding(); - - return false; - } - - fseek( $temphandle, 0 ); // Skip back to the start of the file being written to - - $ret = $this->ftp->fput($file, $temphandle); - - reset_mbstring_encoding(); - - fclose($temphandle); - unlink($temp); - - $this->chmod($file, $mode); - - return $ret; - } - - public function cwd() { - $cwd = $this->ftp->pwd(); - if ( $cwd ) - $cwd = trailingslashit($cwd); - return $cwd; - } - - public function chdir($file) { - return $this->ftp->chdir($file); - } - - public function chgrp($file, $group, $recursive = false ) { - return false; - } - - public function chmod($file, $mode = false, $recursive = false ) { - if ( ! $mode ) { - if ( $this->is_file($file) ) - $mode = FS_CHMOD_FILE; - elseif ( $this->is_dir($file) ) - $mode = FS_CHMOD_DIR; - else - return false; - } - - // chmod any sub-objects if recursive. - if ( $recursive && $this->is_dir($file) ) { - $filelist = $this->dirlist($file); - foreach ( (array)$filelist as $filename => $filemeta ) - $this->chmod($file . '/' . $filename, $mode, $recursive); - } - - // chmod the file or directory - return $this->ftp->chmod($file, $mode); - } - - public function owner($file) { - $dir = $this->dirlist($file); - return $dir[$file]['owner']; - } - - public function getchmod($file) { - $dir = $this->dirlist($file); - return $dir[$file]['permsn']; - } - - public function group($file) { - $dir = $this->dirlist($file); - return $dir[$file]['group']; - } - - public function copy($source, $destination, $overwrite = false, $mode = false) { - if ( ! $overwrite && $this->exists($destination) ) - return false; - - $content = $this->get_contents($source); - if ( false === $content ) - return false; - - return $this->put_contents($destination, $content, $mode); - } - - public function move($source, $destination, $overwrite = false ) { - return $this->ftp->rename($source, $destination); - } - - public function delete($file, $recursive = false, $type = false) { - if ( empty($file) ) - return false; - if ( 'f' == $type || $this->is_file($file) ) - return $this->ftp->delete($file); - if ( !$recursive ) - return $this->ftp->rmdir($file); - - return $this->ftp->mdel($file); - } - - public function exists( $file ) { - $list = $this->ftp->nlist( $file ); - return !empty( $list ); //empty list = no file, so invert. - // Return $this->ftp->is_exists($file); has issues with ABOR+426 responses on the ncFTPd server. - } - - public function is_file($file) { - if ( $this->is_dir($file) ) - return false; - if ( $this->exists($file) ) - return true; - return false; - } - - public function is_dir($path) { - $cwd = $this->cwd(); - if ( $this->chdir($path) ) { - $this->chdir($cwd); - return true; - } - return false; - } - - public function is_readable($file) { - return true; - } - - public function is_writable($file) { - return true; - } - - public function atime($file) { - return false; - } - - public function mtime($file) { - return $this->ftp->mdtm($file); - } - - public function size($file) { - return $this->ftp->filesize($file); - } - - public function touch($file, $time = 0, $atime = 0 ) { - return false; - } - - public function mkdir($path, $chmod = false, $chown = false, $chgrp = false ) { - $path = untrailingslashit($path); - if ( empty($path) ) - return false; - - if ( ! $this->ftp->mkdir($path) ) - return false; - if ( ! $chmod ) - $chmod = FS_CHMOD_DIR; - $this->chmod($path, $chmod); - if ( $chown ) - $this->chown($path, $chown); - if ( $chgrp ) - $this->chgrp($path, $chgrp); - return true; - } - - public function rmdir($path, $recursive = false ) { - $this->delete($path, $recursive); - } - - public function dirlist($path = '.', $include_hidden = true, $recursive = false ) { - if ( $this->is_file($path) ) { - $limit_file = basename($path); - $path = dirname($path) . '/'; - } else { - $limit_file = false; - } - - mbstring_binary_safe_encoding(); - - $list = $this->ftp->dirlist($path); - if ( empty( $list ) && ! $this->exists( $path ) ) { - - reset_mbstring_encoding(); - - return false; - } - - $ret = array(); - foreach ( $list as $struc ) { - - if ( '.' == $struc['name'] || '..' == $struc['name'] ) - continue; - - if ( ! $include_hidden && '.' == $struc['name'][0] ) - continue; - - if ( $limit_file && $struc['name'] != $limit_file ) - continue; - - if ( 'd' == $struc['type'] ) { - if ( $recursive ) - $struc['files'] = $this->dirlist($path . '/' . $struc['name'], $include_hidden, $recursive); - else - $struc['files'] = array(); - } - - // Replace symlinks formatted as "source -> target" with just the source name - if ( $struc['islink'] ) - $struc['name'] = preg_replace( '/(\s*->\s*.*)$/', '', $struc['name'] ); - - $ret[ $struc['name'] ] = $struc; - } - - reset_mbstring_encoding(); - - return $ret; - } - - public function __destruct() { - $this->ftp->quit(); - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php b/sources/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php deleted file mode 100644 index 4618f28..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php +++ /dev/null @@ -1,392 +0,0 @@ -method = 'ssh2'; - $this->errors = new WP_Error(); - - //Check if possible to use ssh2 functions. - if ( ! extension_loaded('ssh2') ) { - $this->errors->add('no_ssh2_ext', __('The ssh2 PHP extension is not available')); - return false; - } - if ( !function_exists('stream_get_contents') ) { - $this->errors->add('ssh2_php_requirement', __('The ssh2 PHP extension is available, however, we require the PHP5 function stream_get_contents()')); - return false; - } - - // Set defaults: - if ( empty($opt['port']) ) - $this->options['port'] = 22; - else - $this->options['port'] = $opt['port']; - - if ( empty($opt['hostname']) ) - $this->errors->add('empty_hostname', __('SSH2 hostname is required')); - else - $this->options['hostname'] = $opt['hostname']; - - if ( ! empty($opt['base']) ) - $this->wp_base = $opt['base']; - - // Check if the options provided are OK. - if ( !empty ($opt['public_key']) && !empty ($opt['private_key']) ) { - $this->options['public_key'] = $opt['public_key']; - $this->options['private_key'] = $opt['private_key']; - - $this->options['hostkey'] = array('hostkey' => 'ssh-rsa'); - - $this->keys = true; - } elseif ( empty ($opt['username']) ) { - $this->errors->add('empty_username', __('SSH2 username is required')); - } - - if ( !empty($opt['username']) ) - $this->options['username'] = $opt['username']; - - if ( empty ($opt['password']) ) { - // Password can be blank if we are using keys. - if ( !$this->keys ) - $this->errors->add('empty_password', __('SSH2 password is required')); - } else { - $this->options['password'] = $opt['password']; - } - - } - - public function connect() { - if ( ! $this->keys ) { - $this->link = @ssh2_connect($this->options['hostname'], $this->options['port']); - } else { - $this->link = @ssh2_connect($this->options['hostname'], $this->options['port'], $this->options['hostkey']); - } - - if ( ! $this->link ) { - $this->errors->add('connect', sprintf(__('Failed to connect to SSH2 Server %1$s:%2$s'), $this->options['hostname'], $this->options['port'])); - return false; - } - - if ( !$this->keys ) { - if ( ! @ssh2_auth_password($this->link, $this->options['username'], $this->options['password']) ) { - $this->errors->add('auth', sprintf(__('Username/Password incorrect for %s'), $this->options['username'])); - return false; - } - } else { - if ( ! @ssh2_auth_pubkey_file($this->link, $this->options['username'], $this->options['public_key'], $this->options['private_key'], $this->options['password'] ) ) { - $this->errors->add('auth', sprintf(__('Public and Private keys incorrect for %s'), $this->options['username'])); - return false; - } - } - - $this->sftp_link = ssh2_sftp($this->link); - - return true; - } - - public function run_command( $command, $returnbool = false) { - - if ( ! $this->link ) - return false; - - if ( ! ($stream = ssh2_exec($this->link, $command)) ) { - $this->errors->add('command', sprintf(__('Unable to perform command: %s'), $command)); - } else { - stream_set_blocking( $stream, true ); - stream_set_timeout( $stream, FS_TIMEOUT ); - $data = stream_get_contents( $stream ); - fclose( $stream ); - - if ( $returnbool ) - return ( $data === false ) ? false : '' != trim($data); - else - return $data; - } - return false; - } - - public function get_contents( $file ) { - $file = ltrim($file, '/'); - return file_get_contents('ssh2.sftp://' . $this->sftp_link . '/' . $file); - } - - public function get_contents_array($file) { - $file = ltrim($file, '/'); - return file('ssh2.sftp://' . $this->sftp_link . '/' . $file); - } - - public function put_contents($file, $contents, $mode = false ) { - $ret = file_put_contents( 'ssh2.sftp://' . $this->sftp_link . '/' . ltrim( $file, '/' ), $contents ); - - if ( $ret !== strlen( $contents ) ) - return false; - - $this->chmod($file, $mode); - - return true; - } - - public function cwd() { - $cwd = $this->run_command('pwd'); - if ( $cwd ) - $cwd = trailingslashit($cwd); - return $cwd; - } - - public function chdir($dir) { - return $this->run_command('cd ' . $dir, true); - } - - public function chgrp($file, $group, $recursive = false ) { - if ( ! $this->exists($file) ) - return false; - if ( ! $recursive || ! $this->is_dir($file) ) - return $this->run_command(sprintf('chgrp %s %s', escapeshellarg($group), escapeshellarg($file)), true); - return $this->run_command(sprintf('chgrp -R %s %s', escapeshellarg($group), escapeshellarg($file)), true); - } - - public function chmod($file, $mode = false, $recursive = false) { - if ( ! $this->exists($file) ) - return false; - - if ( ! $mode ) { - if ( $this->is_file($file) ) - $mode = FS_CHMOD_FILE; - elseif ( $this->is_dir($file) ) - $mode = FS_CHMOD_DIR; - else - return false; - } - - if ( ! $recursive || ! $this->is_dir($file) ) - return $this->run_command(sprintf('chmod %o %s', $mode, escapeshellarg($file)), true); - return $this->run_command(sprintf('chmod -R %o %s', $mode, escapeshellarg($file)), true); - } - - /** - * Change the ownership of a file / folder. - * - * @since Unknown - * - * @param string $file Path to the file. - * @param mixed $owner A user name or number. - * @param bool $recursive Optional. If set True changes file owner recursivly. Defaults to False. - * @return bool Returns true on success or false on failure. - */ - public function chown( $file, $owner, $recursive = false ) { - if ( ! $this->exists($file) ) - return false; - if ( ! $recursive || ! $this->is_dir($file) ) - return $this->run_command(sprintf('chown %s %s', escapeshellarg($owner), escapeshellarg($file)), true); - return $this->run_command(sprintf('chown -R %s %s', escapeshellarg($owner), escapeshellarg($file)), true); - } - - public function owner($file) { - $owneruid = @fileowner('ssh2.sftp://' . $this->sftp_link . '/' . ltrim($file, '/')); - if ( ! $owneruid ) - return false; - if ( ! function_exists('posix_getpwuid') ) - return $owneruid; - $ownerarray = posix_getpwuid($owneruid); - return $ownerarray['name']; - } - - public function getchmod($file) { - return substr( decoct( @fileperms( 'ssh2.sftp://' . $this->sftp_link . '/' . ltrim( $file, '/' ) ) ), -3 ); - } - - public function group($file) { - $gid = @filegroup('ssh2.sftp://' . $this->sftp_link . '/' . ltrim($file, '/')); - if ( ! $gid ) - return false; - if ( ! function_exists('posix_getgrgid') ) - return $gid; - $grouparray = posix_getgrgid($gid); - return $grouparray['name']; - } - - public function copy($source, $destination, $overwrite = false, $mode = false) { - if ( ! $overwrite && $this->exists($destination) ) - return false; - $content = $this->get_contents($source); - if ( false === $content) - return false; - return $this->put_contents($destination, $content, $mode); - } - - public function move($source, $destination, $overwrite = false) { - return @ssh2_sftp_rename($this->link, $source, $destination); - } - - public function delete($file, $recursive = false, $type = false) { - if ( 'f' == $type || $this->is_file($file) ) - return ssh2_sftp_unlink($this->sftp_link, $file); - if ( ! $recursive ) - return ssh2_sftp_rmdir($this->sftp_link, $file); - $filelist = $this->dirlist($file); - if ( is_array($filelist) ) { - foreach ( $filelist as $filename => $fileinfo) { - $this->delete($file . '/' . $filename, $recursive, $fileinfo['type']); - } - } - return ssh2_sftp_rmdir($this->sftp_link, $file); - } - - public function exists($file) { - $file = ltrim($file, '/'); - return file_exists('ssh2.sftp://' . $this->sftp_link . '/' . $file); - } - - public function is_file($file) { - $file = ltrim($file, '/'); - return is_file('ssh2.sftp://' . $this->sftp_link . '/' . $file); - } - - public function is_dir($path) { - $path = ltrim($path, '/'); - return is_dir('ssh2.sftp://' . $this->sftp_link . '/' . $path); - } - - public function is_readable($file) { - $file = ltrim($file, '/'); - return is_readable('ssh2.sftp://' . $this->sftp_link . '/' . $file); - } - - public function is_writable($file) { - $file = ltrim($file, '/'); - return is_writable('ssh2.sftp://' . $this->sftp_link . '/' . $file); - } - - public function atime($file) { - $file = ltrim($file, '/'); - return fileatime('ssh2.sftp://' . $this->sftp_link . '/' . $file); - } - - public function mtime($file) { - $file = ltrim($file, '/'); - return filemtime('ssh2.sftp://' . $this->sftp_link . '/' . $file); - } - - public function size($file) { - $file = ltrim($file, '/'); - return filesize('ssh2.sftp://' . $this->sftp_link . '/' . $file); - } - - public function touch($file, $time = 0, $atime = 0) { - //Not implemented. - } - - public function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { - $path = untrailingslashit($path); - if ( empty($path) ) - return false; - - if ( ! $chmod ) - $chmod = FS_CHMOD_DIR; - if ( ! ssh2_sftp_mkdir($this->sftp_link, $path, $chmod, true) ) - return false; - if ( $chown ) - $this->chown($path, $chown); - if ( $chgrp ) - $this->chgrp($path, $chgrp); - return true; - } - - public function rmdir($path, $recursive = false) { - return $this->delete($path, $recursive); - } - - public function dirlist($path, $include_hidden = true, $recursive = false) { - if ( $this->is_file($path) ) { - $limit_file = basename($path); - $path = dirname($path); - } else { - $limit_file = false; - } - - if ( ! $this->is_dir($path) ) - return false; - - $ret = array(); - $dir = @dir('ssh2.sftp://' . $this->sftp_link .'/' . ltrim($path, '/') ); - - if ( ! $dir ) - return false; - - while (false !== ($entry = $dir->read()) ) { - $struc = array(); - $struc['name'] = $entry; - - if ( '.' == $struc['name'] || '..' == $struc['name'] ) - continue; //Do not care about these folders. - - if ( ! $include_hidden && '.' == $struc['name'][0] ) - continue; - - if ( $limit_file && $struc['name'] != $limit_file ) - continue; - - $struc['perms'] = $this->gethchmod($path.'/'.$entry); - $struc['permsn'] = $this->getnumchmodfromh($struc['perms']); - $struc['number'] = false; - $struc['owner'] = $this->owner($path.'/'.$entry); - $struc['group'] = $this->group($path.'/'.$entry); - $struc['size'] = $this->size($path.'/'.$entry); - $struc['lastmodunix']= $this->mtime($path.'/'.$entry); - $struc['lastmod'] = date('M j',$struc['lastmodunix']); - $struc['time'] = date('h:i:s',$struc['lastmodunix']); - $struc['type'] = $this->is_dir($path.'/'.$entry) ? 'd' : 'f'; - - if ( 'd' == $struc['type'] ) { - if ( $recursive ) - $struc['files'] = $this->dirlist($path . '/' . $struc['name'], $include_hidden, $recursive); - else - $struc['files'] = array(); - } - - $ret[ $struc['name'] ] = $struc; - } - $dir->close(); - unset($dir); - return $ret; - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-importer.php b/sources/wordpress/wp-admin/includes/class-wp-importer.php deleted file mode 100644 index b54573f..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-importer.php +++ /dev/null @@ -1,302 +0,0 @@ -prepare( "SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = '%s' LIMIT %d,%d", $meta_key, $offset, $limit ); - $results = $wpdb->get_results( $sql ); - - // Increment offset - $offset = ( $limit + $offset ); - - if ( !empty( $results ) ) { - foreach ( $results as $r ) { - // Set permalinks into array - $hashtable[$r->meta_value] = intval( $r->post_id ); - } - } - } while ( count( $results ) == $limit ); - - // Unset to save memory. - unset( $results, $r ); - - return $hashtable; - } - - /** - * Return count of imported permalinks from WordPress database - * - * @param string $bid - * @return int - */ - public function count_imported_posts( $importer_name, $bid ) { - global $wpdb; - - $count = 0; - - // Get count of permalinks - $meta_key = $importer_name . '_' . $bid . '_permalink'; - $sql = $wpdb->prepare( "SELECT COUNT( post_id ) AS cnt FROM $wpdb->postmeta WHERE meta_key = '%s'", $meta_key ); - - $result = $wpdb->get_results( $sql ); - - if ( !empty( $result ) ) - $count = intval( $result[0]->cnt ); - - // Unset to save memory. - unset( $results ); - - return $count; - } - - /** - * Set array with imported comments from WordPress database - * - * @param string $bid - * @return array - */ - public function get_imported_comments( $bid ) { - global $wpdb; - - $hashtable = array(); - - $limit = 100; - $offset = 0; - - // Grab all comments in chunks - do { - $sql = $wpdb->prepare( "SELECT comment_ID, comment_agent FROM $wpdb->comments LIMIT %d,%d", $offset, $limit ); - $results = $wpdb->get_results( $sql ); - - // Increment offset - $offset = ( $limit + $offset ); - - if ( !empty( $results ) ) { - foreach ( $results as $r ) { - // Explode comment_agent key - list ( $ca_bid, $source_comment_id ) = explode( '-', $r->comment_agent ); - $source_comment_id = intval( $source_comment_id ); - - // Check if this comment came from this blog - if ( $bid == $ca_bid ) { - $hashtable[$source_comment_id] = intval( $r->comment_ID ); - } - } - } - } while ( count( $results ) == $limit ); - - // Unset to save memory. - unset( $results, $r ); - - return $hashtable; - } - - public function set_blog( $blog_id ) { - if ( is_numeric( $blog_id ) ) { - $blog_id = (int) $blog_id; - } else { - $blog = 'http://' . preg_replace( '#^https?://#', '', $blog_id ); - if ( ( !$parsed = parse_url( $blog ) ) || empty( $parsed['host'] ) ) { - fwrite( STDERR, "Error: can not determine blog_id from $blog_id\n" ); - exit(); - } - if ( empty( $parsed['path'] ) ) - $parsed['path'] = '/'; - $blog = get_blog_details( array( 'domain' => $parsed['host'], 'path' => $parsed['path'] ) ); - if ( !$blog ) { - fwrite( STDERR, "Error: Could not find blog\n" ); - exit(); - } - $blog_id = (int) $blog->blog_id; - } - - if ( function_exists( 'is_multisite' ) ) { - if ( is_multisite() ) - switch_to_blog( $blog_id ); - } - - return $blog_id; - } - - public function set_user( $user_id ) { - if ( is_numeric( $user_id ) ) { - $user_id = (int) $user_id; - } else { - $user_id = (int) username_exists( $user_id ); - } - - if ( !$user_id || !wp_set_current_user( $user_id ) ) { - fwrite( STDERR, "Error: can not find user\n" ); - exit(); - } - - return $user_id; - } - - /** - * Sort by strlen, longest string first - * - * @param string $a - * @param string $b - * @return int - */ - public function cmpr_strlen( $a, $b ) { - return strlen( $b ) - strlen( $a ); - } - - /** - * GET URL - * - * @param string $url - * @param string $username - * @param string $password - * @param bool $head - * @return array - */ - public function get_page( $url, $username = '', $password = '', $head = false ) { - // Increase the timeout - add_filter( 'http_request_timeout', array( $this, 'bump_request_timeout' ) ); - - $headers = array(); - $args = array(); - if ( true === $head ) - $args['method'] = 'HEAD'; - if ( !empty( $username ) && !empty( $password ) ) - $headers['Authorization'] = 'Basic ' . base64_encode( "$username:$password" ); - - $args['headers'] = $headers; - - return wp_safe_remote_request( $url, $args ); - } - - /** - * Bump up the request timeout for http requests - * - * @param int $val - * @return int - */ - public function bump_request_timeout( $val ) { - return 60; - } - - /** - * Check if user has exceeded disk quota - * - * @return bool - */ - public function is_user_over_quota() { - if ( function_exists( 'upload_is_user_over_quota' ) ) { - if ( upload_is_user_over_quota( 1 ) ) { - echo "Sorry, you have used your upload quota.\n"; - return true; - } - } - - return false; - } - - /** - * Replace newlines, tabs, and multiple spaces with a single space - * - * @param string $string - * @return string - */ - public function min_whitespace( $string ) { - return preg_replace( '|[\r\n\t ]+|', ' ', $string ); - } - - /** - * Reset global variables that grow out of control during imports - * - * @return void - */ - public function stop_the_insanity() { - global $wpdb, $wp_actions; - // Or define( 'WP_IMPORTING', true ); - $wpdb->queries = array(); - // Reset $wp_actions to keep it from growing out of control - $wp_actions = array(); - } -} - -/** - * Returns value of command line params. - * Exits when a required param is not set. - * - * @param string $param - * @param bool $required - * @return mixed - */ -function get_cli_args( $param, $required = false ) { - $args = $_SERVER['argv']; - - $out = array(); - - $last_arg = null; - $return = null; - - $il = sizeof( $args ); - - for ( $i = 1, $il; $i < $il; $i++ ) { - if ( (bool) preg_match( "/^--(.+)/", $args[$i], $match ) ) { - $parts = explode( "=", $match[1] ); - $key = preg_replace( "/[^a-z0-9]+/", "", $parts[0] ); - - if ( isset( $parts[1] ) ) { - $out[$key] = $parts[1]; - } else { - $out[$key] = true; - } - - $last_arg = $key; - } else if ( (bool) preg_match( "/^-([a-zA-Z0-9]+)/", $args[$i], $match ) ) { - for ( $j = 0, $jl = strlen( $match[1] ); $j < $jl; $j++ ) { - $key = $match[1]{$j}; - $out[$key] = true; - } - - $last_arg = $key; - } else if ( $last_arg !== null ) { - $out[$last_arg] = $args[$i]; - } - } - - // Check array for specified param - if ( isset( $out[$param] ) ) { - // Set return value - $return = $out[$param]; - } - - // Check for missing required param - if ( !isset( $out[$param] ) && $required ) { - // Display message and exit - echo "\"$param\" parameter is required but was not specified\n"; - exit(); - } - - return $return; -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-links-list-table.php b/sources/wordpress/wp-admin/includes/class-wp-links-list-table.php deleted file mode 100644 index 7f2760d..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-links-list-table.php +++ /dev/null @@ -1,207 +0,0 @@ - 'bookmarks', - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - } - - public function ajax_user_can() { - return current_user_can( 'manage_links' ); - } - - public function prepare_items() { - global $cat_id, $s, $orderby, $order; - - wp_reset_vars( array( 'action', 'cat_id', 'link_id', 'orderby', 'order', 's' ) ); - - $args = array( 'hide_invisible' => 0, 'hide_empty' => 0 ); - - if ( 'all' != $cat_id ) - $args['category'] = $cat_id; - if ( !empty( $s ) ) - $args['search'] = $s; - if ( !empty( $orderby ) ) - $args['orderby'] = $orderby; - if ( !empty( $order ) ) - $args['order'] = $order; - - $this->items = get_bookmarks( $args ); - } - - public function no_items() { - _e( 'No links found.' ); - } - - protected function get_bulk_actions() { - $actions = array(); - $actions['delete'] = __( 'Delete' ); - - return $actions; - } - - protected function extra_tablenav( $which ) { - global $cat_id; - - if ( 'top' != $which ) - return; -?> -
- $cat_id, - 'name' => 'cat_id', - 'taxonomy' => 'link_category', - 'show_option_all' => __( 'View all categories' ), - 'hide_empty' => true, - 'hierarchical' => 1, - 'show_count' => 0, - 'orderby' => 'name', - ); - wp_dropdown_categories( $dropdown_options ); - submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); -?> -
- '', - 'name' => _x( 'Name', 'link name' ), - 'url' => __( 'URL' ), - 'categories' => __( 'Categories' ), - 'rel' => __( 'Relationship' ), - 'visible' => __( 'Visible' ), - 'rating' => __( 'Rating' ) - ); - } - - protected function get_sortable_columns() { - return array( - 'name' => 'name', - 'url' => 'url', - 'visible' => 'visible', - 'rating' => 'rating' - ); - } - - public function display_rows() { - global $cat_id; - - $alt = 0; - - foreach ( $this->items as $link ) { - $link = sanitize_bookmark( $link ); - $link->link_name = esc_attr( $link->link_name ); - $link->link_category = wp_get_link_cats( $link->link_id ); - - $short_url = url_shorten( $link->link_url ); - - $visible = ( $link->link_visible == 'Y' ) ? __( 'Yes' ) : __( 'No' ); - $rating = $link->link_rating; - $style = ( $alt++ % 2 ) ? '' : ' class="alternate"'; - - $edit_link = get_edit_bookmark_link( $link ); -?> - > -get_column_info(); - - foreach ( $columns as $column_name => $column_display_name ) { - $class = "class='column-$column_name'"; - - $style = ''; - if ( in_array( $column_name, $hidden ) ) - $style = ' style="display:none;"'; - - $attributes = $class . $style; - - switch ( $column_name ) { - case 'cb': ?> - - - - - link_name ) ) . "'>$link->link_name
"; - - $actions = array(); - $actions['edit'] = '' . __( 'Edit' ) . ''; - $actions['delete'] = "link_id ) . "' onclick=\"if ( confirm( '" . esc_js( sprintf( __( "You are about to delete this link '%s'\n 'Cancel' to stop, 'OK' to delete." ), $link->link_name ) ) . "' ) ) { return true;}return false;\">" . __( 'Delete' ) . ""; - echo $this->row_actions( $actions ); - - echo ''; - break; - case 'url': - echo "link_name ) )."'>$short_url"; - break; - case 'categories': - ?>>link_category as $category ) { - $cat = get_term( $category, 'link_category', OBJECT, 'display' ); - if ( is_wp_error( $cat ) ) - echo $cat->get_error_message(); - $cat_name = $cat->name; - if ( $cat_id != $category ) - $cat_name = "$cat_name"; - $cat_names[] = $cat_name; - } - echo implode( ', ', $cat_names ); - ?>>link_rel ) ? '
' : $link->link_rel; ?>>> - >link_id ); ?> - - - '', - 'singular' => '', - 'ajax' => false, - 'screen' => null, - ) ); - - $this->screen = convert_to_screen( $args['screen'] ); - - add_filter( "manage_{$this->screen->id}_columns", array( $this, 'get_columns' ), 0 ); - - if ( !$args['plural'] ) - $args['plural'] = $this->screen->base; - - $args['plural'] = sanitize_key( $args['plural'] ); - $args['singular'] = sanitize_key( $args['singular'] ); - - $this->_args = $args; - - if ( $args['ajax'] ) { - // wp_enqueue_script( 'list-table' ); - add_action( 'admin_footer', array( $this, '_js_vars' ) ); - } - } - - /** - * Make private properties readable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to get. - * @return mixed Property. - */ - public function __get( $name ) { - return $this->$name; - } - - /** - * Make private properties settable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to set. - * @param mixed $value Property value. - * @return mixed Newly-set property. - */ - public function __set( $name, $value ) { - return $this->$name = $value; - } - - /** - * Make private properties checkable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to check if set. - * @return bool Whether the property is set. - */ - public function __isset( $name ) { - return isset( $this->$name ); - } - - /** - * Make private properties un-settable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param string $name Property to unset. - */ - public function __unset( $name ) { - unset( $this->$name ); - } - - /** - * Make private/protected methods readable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param callable $name Method to call. - * @param array $arguments Arguments to pass when calling. - * @return mixed|bool Return value of the callback, false otherwise. - */ - public function __call( $name, $arguments ) { - return call_user_func_array( array( $this, $name ), $arguments ); - } - - /** - * Checks the current user's permissions - * @uses wp_die() - * - * @since 3.1.0 - * @access public - * @abstract - */ - public function ajax_user_can() { - die( 'function WP_List_Table::ajax_user_can() must be over-ridden in a sub-class.' ); - } - - /** - * Prepares the list of items for displaying. - * @uses WP_List_Table::set_pagination_args() - * - * @since 3.1.0 - * @access public - * @abstract - */ - public function prepare_items() { - die( 'function WP_List_Table::prepare_items() must be over-ridden in a sub-class.' ); - } - - /** - * An internal method that sets all the necessary pagination arguments - * - * @param array $args An associative array with information about the pagination - * @access protected - */ - protected function set_pagination_args( $args ) { - $args = wp_parse_args( $args, array( - 'total_items' => 0, - 'total_pages' => 0, - 'per_page' => 0, - ) ); - - if ( !$args['total_pages'] && $args['per_page'] > 0 ) - $args['total_pages'] = ceil( $args['total_items'] / $args['per_page'] ); - - // Redirect if page number is invalid and headers are not already sent. - if ( ! headers_sent() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) && $args['total_pages'] > 0 && $this->get_pagenum() > $args['total_pages'] ) { - wp_redirect( add_query_arg( 'paged', $args['total_pages'] ) ); - exit; - } - - $this->_pagination_args = $args; - } - - /** - * Access the pagination args - * - * @since 3.1.0 - * @access public - * - * @param string $key - * @return array - */ - public function get_pagination_arg( $key ) { - if ( 'page' == $key ) - return $this->get_pagenum(); - - if ( isset( $this->_pagination_args[$key] ) ) - return $this->_pagination_args[$key]; - } - - /** - * Whether the table has items to display or not - * - * @since 3.1.0 - * @access public - * - * @return bool - */ - public function has_items() { - return !empty( $this->items ); - } - - /** - * Message to be displayed when there are no items - * - * @since 3.1.0 - * @access public - */ - public function no_items() { - _e( 'No items found.' ); - } - - /** - * Display the search box. - * - * @since 3.1.0 - * @access public - * - * @param string $text The search button text - * @param string $input_id The search input id - */ - public function search_box( $text, $input_id ) { - if ( empty( $_REQUEST['s'] ) && !$this->has_items() ) - return; - - $input_id = $input_id . '-search-input'; - - if ( ! empty( $_REQUEST['orderby'] ) ) - echo ''; - if ( ! empty( $_REQUEST['order'] ) ) - echo ''; - if ( ! empty( $_REQUEST['post_mime_type'] ) ) - echo ''; - if ( ! empty( $_REQUEST['detached'] ) ) - echo ''; -?> - - link ) with the list - * of views available on this table. - * - * @since 3.1.0 - * @access protected - * - * @return array - */ - protected function get_views() { - return array(); - } - - /** - * Display the list of views available on this table. - * - * @since 3.1.0 - * @access public - */ - public function views() { - $views = $this->get_views(); - /** - * Filter the list of available list table views. - * - * The dynamic portion of the hook name, $this->screen->id, refers - * to the ID of the current screen, usually a string. - * - * @since 3.5.0 - * - * @param array $views An array of available list table views. - */ - $views = apply_filters( "views_{$this->screen->id}", $views ); - - if ( empty( $views ) ) - return; - - echo "
    \n"; - foreach ( $views as $class => $view ) { - $views[ $class ] = "\t
  • $view"; - } - echo implode( " |
  • \n", $views ) . "\n"; - echo "
"; - } - - /** - * Get an associative array ( option_name => option_title ) with the list - * of bulk actions available on this table. - * - * @since 3.1.0 - * @access protected - * - * @return array - */ - protected function get_bulk_actions() { - return array(); - } - - /** - * Display the bulk actions dropdown. - * - * @since 3.1.0 - * @access protected - * - * @param string $which The location of the bulk actions: 'top' or 'bottom'. - * This is designated as optional for backwards-compatibility. - */ - protected function bulk_actions( $which = '' ) { - if ( is_null( $this->_actions ) ) { - $no_new_actions = $this->_actions = $this->get_bulk_actions(); - /** - * Filter the list table Bulk Actions drop-down. - * - * The dynamic portion of the hook name, $this->screen->id, refers - * to the ID of the current screen, usually a string. - * - * This filter can currently only be used to remove bulk actions. - * - * @since 3.5.0 - * - * @param array $actions An array of the available bulk actions. - */ - $this->_actions = apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions ); - $this->_actions = array_intersect_assoc( $this->_actions, $no_new_actions ); - $two = ''; - } else { - $two = '2'; - } - - if ( empty( $this->_actions ) ) - return; - - echo ""; - echo "\n"; - - submit_button( __( 'Apply' ), 'action', false, false, array( 'id' => "doaction$two" ) ); - echo "\n"; - } - - /** - * Get the current action selected from the bulk actions dropdown. - * - * @since 3.1.0 - * @access public - * - * @return string|bool The action name or False if no action was selected - */ - public function current_action() { - if ( isset( $_REQUEST['filter_action'] ) && ! empty( $_REQUEST['filter_action'] ) ) - return false; - - if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) - return $_REQUEST['action']; - - if ( isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) - return $_REQUEST['action2']; - - return false; - } - - /** - * Generate row actions div - * - * @since 3.1.0 - * @access protected - * - * @param array $actions The list of actions - * @param bool $always_visible Whether the actions should be always visible - * @return string - */ - protected function row_actions( $actions, $always_visible = false ) { - $action_count = count( $actions ); - $i = 0; - - if ( !$action_count ) - return ''; - - $out = '
'; - foreach ( $actions as $action => $link ) { - ++$i; - ( $i == $action_count ) ? $sep = '' : $sep = ' | '; - $out .= "$link$sep"; - } - $out .= '
'; - - return $out; - } - - /** - * Display a monthly dropdown for filtering items - * - * @since 3.1.0 - * @access protected - */ - protected function months_dropdown( $post_type ) { - global $wpdb, $wp_locale; - - $months = $wpdb->get_results( $wpdb->prepare( " - SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month - FROM $wpdb->posts - WHERE post_type = %s - ORDER BY post_date DESC - ", $post_type ) ); - - /** - * Filter the 'Months' drop-down results. - * - * @since 3.7.0 - * - * @param object $months The months drop-down query results. - * @param string $post_type The post type. - */ - $months = apply_filters( 'months_dropdown_results', $months, $post_type ); - - $month_count = count( $months ); - - if ( !$month_count || ( 1 == $month_count && 0 == $months[0]->month ) ) - return; - - $m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0; -?> - - - __( 'List View' ), - 'excerpt' => __( 'Excerpt View' ) - ); - -?> - -
- $title ) { - $classes = array( 'view-' . $mode ); - if ( $current_mode == $mode ) - $classes[] = 'current'; - printf( - "%s\n", - esc_url( add_query_arg( 'mode', $mode ) ), - implode( ' ', $classes ), - $title - ); - } - ?> -
-'; - - echo "" . number_format_i18n( get_comments_number() ) . ""; - - if ( $pending_comments ) - echo ''; - } - - /** - * Get the current page number - * - * @since 3.1.0 - * @access public - * - * @return int - */ - public function get_pagenum() { - $pagenum = isset( $_REQUEST['paged'] ) ? absint( $_REQUEST['paged'] ) : 0; - - if( isset( $this->_pagination_args['total_pages'] ) && $pagenum > $this->_pagination_args['total_pages'] ) - $pagenum = $this->_pagination_args['total_pages']; - - return max( 1, $pagenum ); - } - - /** - * Get number of items to display on a single page - * - * @since 3.1.0 - * @access protected - * - * @return int - */ - protected function get_items_per_page( $option, $default = 20 ) { - $per_page = (int) get_user_option( $option ); - if ( empty( $per_page ) || $per_page < 1 ) - $per_page = $default; - - /** - * Filter the number of items to be displayed on each page of the list table. - * - * The dynamic hook name, $option, refers to the per page option depending - * on the type of list table in use. Possible values may include: - * 'edit_comments_per_page', 'sites_network_per_page', 'site_themes_network_per_page', - * 'themes_netework_per_page', 'users_network_per_page', 'edit_{$post_type}', etc. - * - * @since 2.9.0 - * - * @param int $per_page Number of items to be displayed. Default 20. - */ - return (int) apply_filters( $option, $per_page ); - } - - /** - * Display the pagination. - * - * @since 3.1.0 - * @access protected - */ - protected function pagination( $which ) { - if ( empty( $this->_pagination_args ) ) { - return; - } - - $total_items = $this->_pagination_args['total_items']; - $total_pages = $this->_pagination_args['total_pages']; - $infinite_scroll = false; - if ( isset( $this->_pagination_args['infinite_scroll'] ) ) { - $infinite_scroll = $this->_pagination_args['infinite_scroll']; - } - - $output = '' . sprintf( _n( '1 item', '%s items', $total_items ), number_format_i18n( $total_items ) ) . ''; - - $current = $this->get_pagenum(); - - $current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); - - $current_url = remove_query_arg( array( 'hotkeys_highlight_last', 'hotkeys_highlight_first' ), $current_url ); - - $page_links = array(); - - $disable_first = $disable_last = ''; - if ( $current == 1 ) { - $disable_first = ' disabled'; - } - if ( $current == $total_pages ) { - $disable_last = ' disabled'; - } - $page_links[] = sprintf( "%s", - 'first-page' . $disable_first, - esc_attr__( 'Go to the first page' ), - esc_url( remove_query_arg( 'paged', $current_url ) ), - '«' - ); - - $page_links[] = sprintf( "%s", - 'prev-page' . $disable_first, - esc_attr__( 'Go to the previous page' ), - esc_url( add_query_arg( 'paged', max( 1, $current-1 ), $current_url ) ), - '‹' - ); - - if ( 'bottom' == $which ) { - $html_current_page = $current; - } else { - $html_current_page = sprintf( "%s", - '', - esc_attr__( 'Current page' ), - $current, - strlen( $total_pages ) - ); - } - $html_total_pages = sprintf( "%s", number_format_i18n( $total_pages ) ); - $page_links[] = '' . sprintf( _x( '%1$s of %2$s', 'paging' ), $html_current_page, $html_total_pages ) . ''; - - $page_links[] = sprintf( "%s", - 'next-page' . $disable_last, - esc_attr__( 'Go to the next page' ), - esc_url( add_query_arg( 'paged', min( $total_pages, $current+1 ), $current_url ) ), - '›' - ); - - $page_links[] = sprintf( "%s", - 'last-page' . $disable_last, - esc_attr__( 'Go to the last page' ), - esc_url( add_query_arg( 'paged', $total_pages, $current_url ) ), - '»' - ); - - $pagination_links_class = 'pagination-links'; - if ( ! empty( $infinite_scroll ) ) { - $pagination_links_class = ' hide-if-js'; - } - $output .= "\n" . join( "\n", $page_links ) . ''; - - if ( $total_pages ) { - $page_class = $total_pages < 2 ? ' one-page' : ''; - } else { - $page_class = ' no-pages'; - } - $this->_pagination = "
$output
"; - - echo $this->_pagination; - } - - /** - * Get a list of columns. The format is: - * 'internal-name' => 'Title' - * - * @since 3.1.0 - * @access public - * @abstract - * - * @return array - */ - public function get_columns() { - die( 'function WP_List_Table::get_columns() must be over-ridden in a sub-class.' ); - } - - /** - * Get a list of sortable columns. The format is: - * 'internal-name' => 'orderby' - * or - * 'internal-name' => array( 'orderby', true ) - * - * The second format will make the initial sorting order be descending - * - * @since 3.1.0 - * @access protected - * - * @return array - */ - protected function get_sortable_columns() { - return array(); - } - - /** - * Get a list of all, hidden and sortable columns, with filter applied - * - * @since 3.1.0 - * @access protected - * - * @return array - */ - protected function get_column_info() { - if ( isset( $this->_column_headers ) ) - return $this->_column_headers; - - $columns = get_column_headers( $this->screen ); - $hidden = get_hidden_columns( $this->screen ); - - $sortable_columns = $this->get_sortable_columns(); - /** - * Filter the list table sortable columns for a specific screen. - * - * The dynamic portion of the hook name, $this->screen->id, refers - * to the ID of the current screen, usually a string. - * - * @since 3.5.0 - * - * @param array $sortable_columns An array of sortable columns. - */ - $_sortable = apply_filters( "manage_{$this->screen->id}_sortable_columns", $sortable_columns ); - - $sortable = array(); - foreach ( $_sortable as $id => $data ) { - if ( empty( $data ) ) - continue; - - $data = (array) $data; - if ( !isset( $data[1] ) ) - $data[1] = false; - - $sortable[$id] = $data; - } - - $this->_column_headers = array( $columns, $hidden, $sortable ); - - return $this->_column_headers; - } - - /** - * Return number of visible columns - * - * @since 3.1.0 - * @access public - * - * @return int - */ - public function get_column_count() { - list ( $columns, $hidden ) = $this->get_column_info(); - $hidden = array_intersect( array_keys( $columns ), array_filter( $hidden ) ); - return count( $columns ) - count( $hidden ); - } - - /** - * Print column headers, accounting for hidden and sortable columns. - * - * @since 3.1.0 - * @access public - * - * @param bool $with_id Whether to set the id attribute or not - */ - public function print_column_headers( $with_id = true ) { - list( $columns, $hidden, $sortable ) = $this->get_column_info(); - - $current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); - $current_url = remove_query_arg( 'paged', $current_url ); - - if ( isset( $_GET['orderby'] ) ) - $current_orderby = $_GET['orderby']; - else - $current_orderby = ''; - - if ( isset( $_GET['order'] ) && 'desc' == $_GET['order'] ) - $current_order = 'desc'; - else - $current_order = 'asc'; - - if ( ! empty( $columns['cb'] ) ) { - static $cb_counter = 1; - $columns['cb'] = '' - . ''; - $cb_counter++; - } - - foreach ( $columns as $column_key => $column_display_name ) { - $class = array( 'manage-column', "column-$column_key" ); - - $style = ''; - if ( in_array( $column_key, $hidden ) ) - $style = 'display:none;'; - - $style = ' style="' . $style . '"'; - - if ( 'cb' == $column_key ) - $class[] = 'check-column'; - elseif ( in_array( $column_key, array( 'posts', 'comments', 'links' ) ) ) - $class[] = 'num'; - - if ( isset( $sortable[$column_key] ) ) { - list( $orderby, $desc_first ) = $sortable[$column_key]; - - if ( $current_orderby == $orderby ) { - $order = 'asc' == $current_order ? 'desc' : 'asc'; - $class[] = 'sorted'; - $class[] = $current_order; - } else { - $order = $desc_first ? 'desc' : 'asc'; - $class[] = 'sortable'; - $class[] = $desc_first ? 'asc' : 'desc'; - } - - $column_display_name = '' . $column_display_name . ''; - } - - $id = $with_id ? "id='$column_key'" : ''; - - if ( !empty( $class ) ) - $class = "class='" . join( ' ', $class ) . "'"; - - echo "$column_display_name"; - } - } - - /** - * Display the table - * - * @since 3.1.0 - * @access public - */ - public function display() { - $singular = $this->_args['singular']; - - $this->display_tablenav( 'top' ); - -?> - - - - print_column_headers(); ?> - - - - - - print_column_headers( false ); ?> - - - - > - display_rows_or_placeholder(); ?> - -
-display_tablenav( 'bottom' ); - } - - /** - * Get a list of CSS classes for the tag - * - * @since 3.1.0 - * @access protected - * - * @return array - */ - protected function get_table_classes() { - return array( 'widefat', 'fixed', $this->_args['plural'] ); - } - - /** - * Generate the table navigation above or below the table - * - * @since 3.1.0 - * @access protected - */ - protected function display_tablenav( $which ) { - if ( 'top' == $which ) - wp_nonce_field( 'bulk-' . $this->_args['plural'] ); -?> -
- -
- bulk_actions( $which ); ?> -
-extra_tablenav( $which ); - $this->pagination( $which ); -?> - -
-
- part of the table - * - * @since 3.1.0 - * @access public - */ - public function display_rows_or_placeholder() { - if ( $this->has_items() ) { - $this->display_rows(); - } else { - echo ''; - } - } - - /** - * Generate the table rows - * - * @since 3.1.0 - * @access public - */ - public function display_rows() { - foreach ( $this->items as $item ) - $this->single_row( $item ); - } - - /** - * Generates content for a single row of the table - * - * @since 3.1.0 - * @access public - * - * @param object $item The current item - */ - public function single_row( $item ) { - static $row_class = ''; - $row_class = ( $row_class == '' ? ' class="alternate"' : '' ); - - echo ''; - $this->single_row_columns( $item ); - echo ''; - } - - /** - * Generates the columns for a single row of the table - * - * @since 3.1.0 - * @access protected - * - * @param object $item The current item - */ - protected function single_row_columns( $item ) { - list( $columns, $hidden ) = $this->get_column_info(); - - foreach ( $columns as $column_name => $column_display_name ) { - $class = "class='$column_name column-$column_name'"; - - $style = ''; - if ( in_array( $column_name, $hidden ) ) - $style = ' style="display:none;"'; - - $attributes = "$class$style"; - - if ( 'cb' == $column_name ) { - echo ''; - } - elseif ( method_exists( $this, 'column_' . $column_name ) ) { - echo ""; - } - else { - echo ""; - } - } - } - - /** - * Handle an incoming ajax request (called from admin-ajax.php) - * - * @since 3.1.0 - * @access public - */ - public function ajax_response() { - $this->prepare_items(); - - ob_start(); - if ( ! empty( $_REQUEST['no_placeholder'] ) ) { - $this->display_rows(); - } else { - $this->display_rows_or_placeholder(); - } - - $rows = ob_get_clean(); - - $response = array( 'rows' => $rows ); - - if ( isset( $this->_pagination_args['total_items'] ) ) { - $response['total_items_i18n'] = sprintf( - _n( '1 item', '%s items', $this->_pagination_args['total_items'] ), - number_format_i18n( $this->_pagination_args['total_items'] ) - ); - } - if ( isset( $this->_pagination_args['total_pages'] ) ) { - $response['total_pages'] = $this->_pagination_args['total_pages']; - $response['total_pages_i18n'] = number_format_i18n( $this->_pagination_args['total_pages'] ); - } - - die( json_encode( $response ) ); - } - - /** - * Send required variables to JavaScript land - * - * @access public - */ - public function _js_vars() { - $args = array( - 'class' => get_class( $this ), - 'screen' => array( - 'id' => $this->screen->id, - 'base' => $this->screen->base, - ) - ); - - printf( "\n", json_encode( $args ) ); - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-media-list-table.php b/sources/wordpress/wp-admin/includes/class-wp-media-list-table.php deleted file mode 100644 index 237c99d..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-media-list-table.php +++ /dev/null @@ -1,564 +0,0 @@ -detached = ( isset( $_REQUEST['attachment-filter'] ) && 'detached' === $_REQUEST['attachment-filter'] ); - - parent::__construct( array( - 'plural' => 'media', - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - } - - public function ajax_user_can() { - return current_user_can('upload_files'); - } - - public function prepare_items() { - global $wp_query, $post_mime_types, $avail_post_mime_types, $mode; - - list( $post_mime_types, $avail_post_mime_types ) = wp_edit_attachments_query( $_REQUEST ); - - $this->is_trash = isset( $_REQUEST['attachment-filter'] ) && 'trash' == $_REQUEST['attachment-filter']; - - $mode = empty( $_REQUEST['mode'] ) ? 'list' : $_REQUEST['mode']; - - $this->set_pagination_args( array( - 'total_items' => $wp_query->found_posts, - 'total_pages' => $wp_query->max_num_pages, - 'per_page' => $wp_query->query_vars['posts_per_page'], - ) ); - } - - protected function get_views() { - global $wpdb, $post_mime_types, $avail_post_mime_types; - - $type_links = array(); - $_num_posts = (array) wp_count_attachments(); - $_total_posts = array_sum($_num_posts) - $_num_posts['trash']; - $total_orphans = $wpdb->get_var( "SELECT COUNT( * ) FROM $wpdb->posts WHERE post_type = 'attachment' AND post_status != 'trash' AND post_parent < 1" ); - $matches = wp_match_mime_types(array_keys($post_mime_types), array_keys($_num_posts)); - foreach ( $matches as $type => $reals ) - foreach ( $reals as $real ) - $num_posts[$type] = ( isset( $num_posts[$type] ) ) ? $num_posts[$type] + $_num_posts[$real] : $_num_posts[$real]; - - $selected = empty( $_GET['attachment-filter'] ) ? ' selected="selected"' : ''; - $type_links['all'] = "'; - foreach ( $post_mime_types as $mime_type => $label ) { - if ( !wp_match_mime_types($mime_type, $avail_post_mime_types) ) - continue; - - $selected = ''; - if ( !empty( $_GET['attachment-filter'] ) && strpos( $_GET['attachment-filter'], 'post_mime_type:' ) === 0 && wp_match_mime_types( $mime_type, str_replace( 'post_mime_type:', '', $_GET['attachment-filter'] ) ) ) - $selected = ' selected="selected"'; - if ( !empty( $num_posts[$mime_type] ) ) - $type_links[$mime_type] = ''; - } - $type_links['detached'] = ''; - - if ( !empty($_num_posts['trash']) ) - $type_links['trash'] = ''; - - return $type_links; - } - - protected function get_bulk_actions() { - $actions = array(); - $actions['delete'] = __( 'Delete Permanently' ); - if ( $this->detached ) - $actions['attach'] = __( 'Attach to a post' ); - - return $actions; - } - - protected function extra_tablenav( $which ) { - if ( 'bar' !== $which ) { - return; - } -?> -
-is_trash ) { - $this->months_dropdown( 'attachment' ); - } - - /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */ - do_action( 'restrict_manage_posts' ); - submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); - } - - if ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) { - submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false ); - } ?> -
- __( 'List View' ), - 'grid' => __( 'Grid View' ) - ); - -?> - -
- $title ) { - $classes = array( 'view-' . $mode ); - if ( $current_mode == $mode ) - $classes[] = 'current'; - printf( - "%s\n", - esc_url( add_query_arg( 'mode', $mode ) ), - implode( ' ', $classes ), - $title - ); - } - ?> -
-get_views(); -?> -
- view_switcher( $mode ); ?> - - - -extra_tablenav( 'bar' ); - - /** This filter is documented in wp-admin/inclues/class-wp-list-table.php */ - $views = apply_filters( "views_{$this->screen->id}", array() ); - - // Back compat for pre-4.0 view links. - if ( ! empty( $views ) ) { - echo ''; - } -?> - -
- -
-
- '; - $posts_columns['icon'] = ''; - /* translators: column name */ - $posts_columns['title'] = _x( 'File', 'column name' ); - $posts_columns['author'] = __( 'Author' ); - - $taxonomies = get_taxonomies_for_attachments( 'objects' ); - $taxonomies = wp_filter_object_list( $taxonomies, array( 'show_admin_column' => true ), 'and', 'name' ); - - /** - * Filter the taxonomy columns for attachments in the Media list table. - * - * @since 3.5.0 - * - * @param array $taxonomies An array of registered taxonomies to show for attachments. - * @param string $post_type The post type. Default 'attachment'. - */ - $taxonomies = apply_filters( 'manage_taxonomies_for_attachment_columns', $taxonomies, 'attachment' ); - $taxonomies = array_filter( $taxonomies, 'taxonomy_exists' ); - - foreach ( $taxonomies as $taxonomy ) { - if ( 'category' == $taxonomy ) - $column_key = 'categories'; - elseif ( 'post_tag' == $taxonomy ) - $column_key = 'tags'; - else - $column_key = 'taxonomy-' . $taxonomy; - - $posts_columns[ $column_key ] = get_taxonomy( $taxonomy )->labels->name; - } - - /* translators: column name */ - if ( !$this->detached ) { - $posts_columns['parent'] = _x( 'Uploaded to', 'column name' ); - if ( post_type_supports( 'attachment', 'comments' ) ) - $posts_columns['comments'] = ''; - } - /* translators: column name */ - $posts_columns['date'] = _x( 'Date', 'column name' ); - /** - * Filter the Media list table columns. - * - * @since 2.5.0 - * - * @param array $posts_columns An array of columns displayed in the Media list table. - * @param bool $detached Whether the list table contains media not attached - * to any posts. Default true. - */ - $posts_columns = apply_filters( 'manage_media_columns', $posts_columns, $this->detached ); - - return $posts_columns; - } - - protected function get_sortable_columns() { - return array( - 'title' => 'title', - 'author' => 'author', - 'parent' => 'parent', - 'comments' => 'comment_count', - 'date' => array( 'date', true ), - ); - } - - public function display_rows() { - global $post; - - add_filter( 'the_title','esc_html' ); - $alt = ''; - - while ( have_posts() ) : the_post(); - $user_can_edit = current_user_can( 'edit_post', $post->ID ); - - if ( $this->is_trash && $post->post_status != 'trash' - || !$this->is_trash && $post->post_status == 'trash' ) - continue; - - $alt = ( 'alternate' == $alt ) ? '' : 'alternate'; - $post_owner = ( get_current_user_id() == $post->post_author ) ? 'self' : 'other'; - $att_title = _draft_or_post_title(); -?> - -get_column_info(); -foreach ( $columns as $column_name => $column_display_name ) { - $class = "class='$column_name column-$column_name'"; - - $style = ''; - if ( in_array( $column_name, $hidden ) ) - $style = ' style="display:none;"'; - - $attributes = $class . $style; - - switch ( $column_name ) { - - case 'cb': -?> - -post_mime_type ); - $attributes = 'class="column-icon media-icon ' . $mime . '-icon"' . $style; -?> - - - - - - - -post_date ) { - $h_time = __( 'Unpublished' ); - } else { - $m_time = $post->post_date; - $time = get_post_time( 'G', true, $post, false ); - if ( ( abs( $t_diff = time() - $time ) ) < DAY_IN_SECONDS ) { - if ( $t_diff < 0 ) - $h_time = sprintf( __( '%s from now' ), human_time_diff( $time ) ); - else - $h_time = sprintf( __( '%s ago' ), human_time_diff( $time ) ); - } else { - $h_time = mysql2date( __( 'Y/m/d' ), $m_time ); - } - } -?> - -post_parent > 0 ) - $parent = get_post( $post->post_parent ); - else - $parent = false; - - if ( $parent ) { - $title = _draft_or_post_title( $post->post_parent ); - $parent_type = get_post_type_object( $parent->post_type ); -?> - - - - - -'; - if ( $terms = get_the_terms( $post->ID, $taxonomy ) ) { - $out = array(); - foreach ( $terms as $t ) { - $posts_in_term_qv = array(); - $posts_in_term_qv['taxonomy'] = $taxonomy; - $posts_in_term_qv['term'] = $t->slug; - - $out[] = sprintf( '%s', - esc_url( add_query_arg( $posts_in_term_qv, 'upload.php' ) ), - esc_html( sanitize_term_field( 'name', $t->name, $t->term_id, $taxonomy, 'display' ) ) - ); - } - /* translators: used between list items, there is a space after the comma */ - echo join( __( ', ' ), $out ); - } else { - echo '—'; - } - echo ''; - break; - } -?> - - - -detached ) { - if ( current_user_can( 'edit_post', $post->ID ) ) - $actions['edit'] = '' . __( 'Edit' ) . ''; - if ( current_user_can( 'delete_post', $post->ID ) ) - if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) { - $actions['trash'] = "ID ) . "'>" . __( 'Trash' ) . ""; - } else { - $delete_ays = !MEDIA_TRASH ? " onclick='return showNotice.warn();'" : ''; - $actions['delete'] = "ID ) . "'>" . __( 'Delete Permanently' ) . ""; - } - $actions['view'] = '' . __( 'View' ) . ''; - if ( current_user_can( 'edit_post', $post->ID ) ) - $actions['attach'] = ''.__( 'Attach' ).''; - } - else { - if ( current_user_can( 'edit_post', $post->ID ) && !$this->is_trash ) - $actions['edit'] = '' . __( 'Edit' ) . ''; - if ( current_user_can( 'delete_post', $post->ID ) ) { - if ( $this->is_trash ) - $actions['untrash'] = "ID ) . "'>" . __( 'Restore' ) . ""; - elseif ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) - $actions['trash'] = "ID ) . "'>" . __( 'Trash' ) . ""; - if ( $this->is_trash || !EMPTY_TRASH_DAYS || !MEDIA_TRASH ) { - $delete_ays = ( !$this->is_trash && !MEDIA_TRASH ) ? " onclick='return showNotice.warn();'" : ''; - $actions['delete'] = "ID ) . "'>" . __( 'Delete Permanently' ) . ""; - } - } - if ( !$this->is_trash ) { - $title =_draft_or_post_title( $post->post_parent ); - $actions['view'] = '' . __( 'View' ) . ''; - } - } - - /** - * Filter the action links for each attachment in the Media list table. - * - * @since 2.8.0 - * - * @param array $actions An array of action links for each attachment. - * Default 'Edit', 'Delete Permanently', 'View'. - * @param WP_Post $post WP_Post object for the current attachment. - * @param bool $detached Whether the list table contains media not attached - * to any posts. Default true. - */ - $actions = apply_filters( 'media_row_actions', $actions, $post, $this->detached ); - - return $actions; - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-ms-sites-list-table.php b/sources/wordpress/wp-admin/includes/class-wp-ms-sites-list-table.php deleted file mode 100644 index 05c55bc..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-ms-sites-list-table.php +++ /dev/null @@ -1,402 +0,0 @@ - 'sites', - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - } - - public function ajax_user_can() { - return current_user_can( 'manage_sites' ); - } - - public function prepare_items() { - global $s, $mode, $wpdb; - - $current_site = get_current_site(); - - $mode = ( empty( $_REQUEST['mode'] ) ) ? 'list' : $_REQUEST['mode']; - - $per_page = $this->get_items_per_page( 'sites_network_per_page' ); - - $pagenum = $this->get_pagenum(); - - $s = isset( $_REQUEST['s'] ) ? wp_unslash( trim( $_REQUEST[ 's' ] ) ) : ''; - $wild = ''; - if ( false !== strpos($s, '*') ) { - $wild = '%'; - $s = trim($s, '*'); - } - - /* - * If the network is large and a search is not being performed, show only - * the latest blogs with no paging in order to avoid expensive count queries. - */ - if ( !$s && wp_is_large_network() ) { - if ( !isset($_REQUEST['orderby']) ) - $_GET['orderby'] = $_REQUEST['orderby'] = ''; - if ( !isset($_REQUEST['order']) ) - $_GET['order'] = $_REQUEST['order'] = 'DESC'; - } - - $query = "SELECT * FROM {$wpdb->blogs} WHERE site_id = '{$wpdb->siteid}' "; - - if ( empty($s) ) { - // Nothing to do. - } elseif ( preg_match( '/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $s ) || - preg_match( '/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.?$/', $s ) || - preg_match( '/^[0-9]{1,3}\.[0-9]{1,3}\.?$/', $s ) || - preg_match( '/^[0-9]{1,3}\.$/', $s ) ) { - // IPv4 address - $sql = $wpdb->prepare( "SELECT blog_id FROM {$wpdb->registration_log} WHERE {$wpdb->registration_log}.IP LIKE %s", $wpdb->esc_like( $s ) . $wild ); - $reg_blog_ids = $wpdb->get_col( $sql ); - - if ( !$reg_blog_ids ) - $reg_blog_ids = array( 0 ); - - $query = "SELECT * - FROM {$wpdb->blogs} - WHERE site_id = '{$wpdb->siteid}' - AND {$wpdb->blogs}.blog_id IN (" . implode( ', ', $reg_blog_ids ) . ")"; - } else { - if ( is_numeric($s) && empty( $wild ) ) { - $query .= $wpdb->prepare( " AND ( {$wpdb->blogs}.blog_id = %s )", $s ); - } elseif ( is_subdomain_install() ) { - $blog_s = str_replace( '.' . $current_site->domain, '', $s ); - $blog_s = $wpdb->esc_like( $blog_s ) . $wild . $wpdb->esc_like( '.' . $current_site->domain ); - $query .= $wpdb->prepare( " AND ( {$wpdb->blogs}.domain LIKE %s ) ", $blog_s ); - } else { - if ( $s != trim('/', $current_site->path) ) { - $blog_s = $wpdb->esc_like( $current_site->path . $s ) . $wild . $wpdb->esc_like( '/' ); - } else { - $blog_s = $wpdb->esc_like( $s ); - } - $query .= $wpdb->prepare( " AND ( {$wpdb->blogs}.path LIKE %s )", $blog_s ); - } - } - - $order_by = isset( $_REQUEST['orderby'] ) ? $_REQUEST['orderby'] : ''; - if ( $order_by == 'registered' ) { - $query .= ' ORDER BY registered '; - } elseif ( $order_by == 'lastupdated' ) { - $query .= ' ORDER BY last_updated '; - } elseif ( $order_by == 'blogname' ) { - if ( is_subdomain_install() ) - $query .= ' ORDER BY domain '; - else - $query .= ' ORDER BY path '; - } elseif ( $order_by == 'blog_id' ) { - $query .= ' ORDER BY blog_id '; - } else { - $order_by = null; - } - - if ( isset( $order_by ) ) { - $order = ( isset( $_REQUEST['order'] ) && 'DESC' == strtoupper( $_REQUEST['order'] ) ) ? "DESC" : "ASC"; - $query .= $order; - } - - // Don't do an unbounded count on large networks - if ( ! wp_is_large_network() ) - $total = $wpdb->get_var( str_replace( 'SELECT *', 'SELECT COUNT( blog_id )', $query ) ); - - $query .= " LIMIT " . intval( ( $pagenum - 1 ) * $per_page ) . ", " . intval( $per_page ); - $this->items = $wpdb->get_results( $query, ARRAY_A ); - - if ( wp_is_large_network() ) - $total = count($this->items); - - $this->set_pagination_args( array( - 'total_items' => $total, - 'per_page' => $per_page, - ) ); - } - - public function no_items() { - _e( 'No sites found.' ); - } - - protected function get_bulk_actions() { - $actions = array(); - if ( current_user_can( 'delete_sites' ) ) - $actions['delete'] = __( 'Delete' ); - $actions['spam'] = _x( 'Mark as Spam', 'site' ); - $actions['notspam'] = _x( 'Not Spam', 'site' ); - - return $actions; - } - - protected function pagination( $which ) { - global $mode; - - parent::pagination( $which ); - - if ( 'top' == $which ) - $this->view_switcher( $mode ); - } - - public function get_columns() { - $blogname_columns = ( is_subdomain_install() ) ? __( 'Domain' ) : __( 'Path' ); - $sites_columns = array( - 'cb' => '', - 'blogname' => $blogname_columns, - 'lastupdated' => __( 'Last Updated' ), - 'registered' => _x( 'Registered', 'site' ), - 'users' => __( 'Users' ) - ); - - if ( has_filter( 'wpmublogsaction' ) ) - $sites_columns['plugins'] = __( 'Actions' ); - - /** - * Filter the displayed site columns in Sites list table. - * - * @since MU - * - * @param array $sites_columns An array of displayed site columns. Default 'cb', - * 'blogname', 'lastupdated', 'registered', 'users'. - */ - $sites_columns = apply_filters( 'wpmu_blogs_columns', $sites_columns ); - - return $sites_columns; - } - - protected function get_sortable_columns() { - return array( - 'blogname' => 'blogname', - 'lastupdated' => 'lastupdated', - 'registered' => 'blog_id', - ); - } - - public function display_rows() { - global $mode; - - $status_list = array( - 'archived' => array( 'site-archived', __( 'Archived' ) ), - 'spam' => array( 'site-spammed', _x( 'Spam', 'site' ) ), - 'deleted' => array( 'site-deleted', __( 'Deleted' ) ), - 'mature' => array( 'site-mature', __( 'Mature' ) ) - ); - - if ( 'list' == $mode ) { - $date = 'Y/m/d'; - } else { - $date = 'Y/m/d \<\b\r \/\> g:i:s a'; - } - - $class = ''; - foreach ( $this->items as $blog ) { - $class = ( 'alternate' == $class ) ? '' : 'alternate'; - reset( $status_list ); - - $blog_states = array(); - foreach ( $status_list as $status => $col ) { - if ( get_blog_status( $blog['blog_id'], $status ) == 1 ) { - $class = $col[0]; - $blog_states[] = $col[1]; - } - } - $blog_state = ''; - if ( ! empty( $blog_states ) ) { - $state_count = count( $blog_states ); - $i = 0; - $blog_state .= ' - '; - foreach ( $blog_states as $state ) { - ++$i; - ( $i == $state_count ) ? $sep = '' : $sep = ', '; - $blog_state .= "$state$sep"; - } - } - echo ""; - - $blogname = ( is_subdomain_install() ) ? str_replace( '.' . get_current_site()->domain, '', $blog['domain'] ) : $blog['path']; - - list( $columns, $hidden ) = $this->get_column_info(); - - foreach ( $columns as $column_name => $column_display_name ) { - $style = ''; - if ( in_array( $column_name, $hidden ) ) - $style = ' style="display:none;"'; - - switch ( $column_name ) { - case 'cb': ?> - - - - "; ?> - - ' . sprintf( _x( '%1$s – %2$s', '%1$s: site name. %2$s: site tagline.' ), get_option( 'blogname' ), get_option( 'blogdescription ' ) ) . '

'; - restore_current_blog(); - } - - // Preordered. - $actions = array( - 'edit' => '', 'backend' => '', - 'activate' => '', 'deactivate' => '', - 'archive' => '', 'unarchive' => '', - 'spam' => '', 'unspam' => '', - 'delete' => '', - 'visit' => '', - ); - - $actions['edit'] = '' . __( 'Edit' ) . ''; - $actions['backend'] = "" . __( 'Dashboard' ) . ''; - if ( get_current_site()->blog_id != $blog['blog_id'] ) { - if ( get_blog_status( $blog['blog_id'], 'deleted' ) == '1' ) - $actions['activate'] = '' . __( 'Activate' ) . ''; - else - $actions['deactivate'] = '' . __( 'Deactivate' ) . ''; - - if ( get_blog_status( $blog['blog_id'], 'archived' ) == '1' ) - $actions['unarchive'] = '' . __( 'Unarchive' ) . ''; - else - $actions['archive'] = '' . _x( 'Archive', 'verb; site' ) . ''; - - if ( get_blog_status( $blog['blog_id'], 'spam' ) == '1' ) - $actions['unspam'] = '' . _x( 'Not Spam', 'site' ) . ''; - else - $actions['spam'] = '' . _x( 'Spam', 'site' ) . ''; - - if ( current_user_can( 'delete_site', $blog['blog_id'] ) ) - $actions['delete'] = '' . __( 'Delete' ) . ''; - } - - $actions['visit'] = "" . __( 'Visit' ) . ''; - - /** - * Filter the action links displayed for each site in the Sites list table. - * - * The 'Edit', 'Dashboard', 'Delete', and 'Visit' links are displayed by - * default for each site. The site's status determines whether to show the - * 'Activate' or 'Deactivate' link, 'Unarchive' or 'Archive' links, and - * 'Not Spam' or 'Spam' link for each site. - * - * @since 3.1.0 - * - * @param array $actions An array of action links to be displayed. - * @param int $blog_id The site ID. - * @param string $blogname Site path, formatted depending on whether it is a sub-domain - * or subdirectory multisite install. - */ - $actions = apply_filters( 'manage_sites_action_links', array_filter( $actions ), $blog['blog_id'], $blogname ); - echo $this->row_actions( $actions ); - ?> - - "; - echo ( $blog['last_updated'] == '0000-00-00 00:00:00' ) ? __( 'Never' ) : mysql2date( $date, $blog['last_updated'] ); ?> - - "; - if ( $blog['registered'] == '0000-00-00 00:00:00' ) - echo '—'; - else - echo mysql2date( $date, $blog['registered'] ); - ?> - - "; - $blogusers = get_users( array( 'blog_id' => $blog['blog_id'], 'number' => 6) ); - if ( is_array( $blogusers ) ) { - $blogusers_warning = ''; - if ( count( $blogusers ) > 5 ) { - $blogusers = array_slice( $blogusers, 0, 5 ); - $blogusers_warning = __( 'Only showing first 5 users.' ) . ' ' . __( 'More' ) . ''; - } - foreach ( $blogusers as $user_object ) { - echo '' . esc_html( $user_object->user_login ) . ' '; - if ( 'list' != $mode ) - echo '( ' . $user_object->user_email . ' )'; - echo '
'; - } - if ( $blogusers_warning != '' ) - echo '' . $blogusers_warning . '
'; - } - ?> - - - "; - /** - * Fires inside the auxiliary 'Actions' column of the Sites list table. - * - * By default this column is hidden unless something is hooked to the action. - * - * @since MU - * - * @param int $blog_id The site ID. - */ - do_action( 'wpmublogsaction', $blog['blog_id'] ); ?> - - "; - /** - * Fires for each registered custom column in the Sites list table. - * - * @since 3.1.0 - * - * @param string $column_name The name of the column to display. - * @param int $blog_id The site ID. - */ - do_action( 'manage_sites_custom_column', $column_name, $blog['blog_id'] ); - echo ""; - break; - } - } - ?> - - 'themes', - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - - $status = isset( $_REQUEST['theme_status'] ) ? $_REQUEST['theme_status'] : 'all'; - if ( !in_array( $status, array( 'all', 'enabled', 'disabled', 'upgrade', 'search', 'broken' ) ) ) - $status = 'all'; - - $page = $this->get_pagenum(); - - $this->is_site_themes = ( 'site-themes-network' == $this->screen->id ) ? true : false; - - if ( $this->is_site_themes ) - $this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; - } - - protected function get_table_classes() { - // todo: remove and add CSS for .themes - return array( 'widefat', 'plugins' ); - } - - public function ajax_user_can() { - if ( $this->is_site_themes ) - return current_user_can( 'manage_sites' ); - else - return current_user_can( 'manage_network_themes' ); - } - - public function prepare_items() { - global $status, $totals, $page, $orderby, $order, $s; - - wp_reset_vars( array( 'orderby', 'order', 's' ) ); - - $themes = array( - /** - * Filter the full array of WP_Theme objects to list in the Multisite - * themes list table. - * - * @since 3.1.0 - * - * @param array $all An array of WP_Theme objects to display in the list table. - */ - 'all' => apply_filters( 'all_themes', wp_get_themes() ), - 'search' => array(), - 'enabled' => array(), - 'disabled' => array(), - 'upgrade' => array(), - 'broken' => $this->is_site_themes ? array() : wp_get_themes( array( 'errors' => true ) ), - ); - - if ( $this->is_site_themes ) { - $themes_per_page = $this->get_items_per_page( 'site_themes_network_per_page' ); - $allowed_where = 'site'; - } else { - $themes_per_page = $this->get_items_per_page( 'themes_network_per_page' ); - $allowed_where = 'network'; - } - - $maybe_update = current_user_can( 'update_themes' ) && ! $this->is_site_themes && $current = get_site_transient( 'update_themes' ); - - foreach ( (array) $themes['all'] as $key => $theme ) { - if ( $this->is_site_themes && $theme->is_allowed( 'network' ) ) { - unset( $themes['all'][ $key ] ); - continue; - } - - if ( $maybe_update && isset( $current->response[ $key ] ) ) { - $themes['all'][ $key ]->update = true; - $themes['upgrade'][ $key ] = $themes['all'][ $key ]; - } - - $filter = $theme->is_allowed( $allowed_where, $this->site_id ) ? 'enabled' : 'disabled'; - $themes[ $filter ][ $key ] = $themes['all'][ $key ]; - } - - if ( $s ) { - $status = 'search'; - $themes['search'] = array_filter( array_merge( $themes['all'], $themes['broken'] ), array( $this, '_search_callback' ) ); - } - - $totals = array(); - foreach ( $themes as $type => $list ) - $totals[ $type ] = count( $list ); - - if ( empty( $themes[ $status ] ) && !in_array( $status, array( 'all', 'search' ) ) ) - $status = 'all'; - - $this->items = $themes[ $status ]; - WP_Theme::sort_by_name( $this->items ); - - $this->has_items = ! empty( $themes['all'] ); - $total_this_page = $totals[ $status ]; - - if ( $orderby ) { - $orderby = ucfirst( $orderby ); - $order = strtoupper( $order ); - - if ( $orderby == 'Name' ) { - if ( 'ASC' == $order ) - $this->items = array_reverse( $this->items ); - } else { - uasort( $this->items, array( $this, '_order_callback' ) ); - } - } - - $start = ( $page - 1 ) * $themes_per_page; - - if ( $total_this_page > $themes_per_page ) - $this->items = array_slice( $this->items, $start, $themes_per_page, true ); - - $this->set_pagination_args( array( - 'total_items' => $total_this_page, - 'per_page' => $themes_per_page, - ) ); - } - - public function _search_callback( $theme ) { - static $term; - if ( is_null( $term ) ) - $term = wp_unslash( $_REQUEST['s'] ); - - foreach ( array( 'Name', 'Description', 'Author', 'Author', 'AuthorURI' ) as $field ) { - // Don't mark up; Do translate. - if ( false !== stripos( $theme->display( $field, false, true ), $term ) ) - return true; - } - - if ( false !== stripos( $theme->get_stylesheet(), $term ) ) - return true; - - if ( false !== stripos( $theme->get_template(), $term ) ) - return true; - - return false; - } - - // Not used by any core columns. - public function _order_callback( $theme_a, $theme_b ) { - global $orderby, $order; - - $a = $theme_a[ $orderby ]; - $b = $theme_b[ $orderby ]; - - if ( $a == $b ) - return 0; - - if ( 'DESC' == $order ) - return ( $a < $b ) ? 1 : -1; - else - return ( $a < $b ) ? -1 : 1; - } - - public function no_items() { - if ( ! $this->has_items ) - _e( 'No themes found.' ); - else - _e( 'You do not appear to have any themes available at this time.' ); - } - - public function get_columns() { - global $status; - - return array( - 'cb' => '', - 'name' => __( 'Theme' ), - 'description' => __( 'Description' ), - ); - } - - protected function get_sortable_columns() { - return array( - 'name' => 'name', - ); - } - - protected function get_views() { - global $totals, $status; - - $status_links = array(); - foreach ( $totals as $type => $count ) { - if ( !$count ) - continue; - - switch ( $type ) { - case 'all': - $text = _nx( 'All (%s)', 'All (%s)', $count, 'themes' ); - break; - case 'enabled': - $text = _n( 'Enabled (%s)', 'Enabled (%s)', $count ); - break; - case 'disabled': - $text = _n( 'Disabled (%s)', 'Disabled (%s)', $count ); - break; - case 'upgrade': - $text = _n( 'Update Available (%s)', 'Update Available (%s)', $count ); - break; - case 'broken' : - $text = _n( 'Broken (%s)', 'Broken (%s)', $count ); - break; - } - - if ( $this->is_site_themes ) - $url = 'site-themes.php?id=' . $this->site_id; - else - $url = 'themes.php'; - - if ( 'search' != $type ) { - $status_links[$type] = sprintf( "%s", - esc_url( add_query_arg('theme_status', $type, $url) ), - ( $type == $status ) ? ' class="current"' : '', - sprintf( $text, number_format_i18n( $count ) ) - ); - } - } - - return $status_links; - } - - protected function get_bulk_actions() { - global $status; - - $actions = array(); - if ( 'enabled' != $status ) - $actions['enable-selected'] = $this->is_site_themes ? __( 'Enable' ) : __( 'Network Enable' ); - if ( 'disabled' != $status ) - $actions['disable-selected'] = $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' ); - if ( ! $this->is_site_themes ) { - if ( current_user_can( 'update_themes' ) ) - $actions['update-selected'] = __( 'Update' ); - if ( current_user_can( 'delete_themes' ) ) - $actions['delete-selected'] = __( 'Delete' ); - } - return $actions; - } - - public function display_rows() { - foreach ( $this->items as $theme ) - $this->single_row( $theme ); - } - - public function single_row( $theme ) { - global $status, $page, $s, $totals; - - $context = $status; - - if ( $this->is_site_themes ) { - $url = "site-themes.php?id={$this->site_id}&"; - $allowed = $theme->is_allowed( 'site', $this->site_id ); - } else { - $url = 'themes.php?'; - $allowed = $theme->is_allowed( 'network' ); - } - - // Pre-order. - $actions = array( - 'enable' => '', - 'disable' => '', - 'edit' => '', - 'delete' => '' - ); - - $stylesheet = $theme->get_stylesheet(); - $theme_key = urlencode( $stylesheet ); - - if ( ! $allowed ) { - if ( ! $theme->errors() ) - $actions['enable'] = '' . ( $this->is_site_themes ? __( 'Enable' ) : __( 'Network Enable' ) ) . ''; - } else { - $actions['disable'] = '' . ( $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' ) ) . ''; - } - - if ( current_user_can('edit_themes') ) - $actions['edit'] = '' . __('Edit') . ''; - - if ( ! $allowed && current_user_can( 'delete_themes' ) && ! $this->is_site_themes && $stylesheet != get_option( 'stylesheet' ) && $stylesheet != get_option( 'template' ) ) - $actions['delete'] = '' . __( 'Delete' ) . ''; - - /** - * Filter the action links displayed for each theme in the Multisite - * themes list table. - * - * The action links displayed are determined by the theme's status, and - * which Multisite themes list table is being displayed - the Network - * themes list table (themes.php), which displays all installed themes, - * or the Site themes list table (site-themes.php), which displays the - * non-network enabled themes when editing a site in the Network admin. - * - * The default action links for the Network themes list table include - * 'Network Enable', 'Network Disable', 'Edit', and 'Delete'. - * - * The default action links for the Site themes list table include - * 'Enable', 'Disable', and 'Edit'. - * - * @since 2.8.0 - * - * @param array $actions An array of action links. - * @param WP_Theme $theme The current WP_Theme object. - * @param string $context Status of the theme. - */ - $actions = apply_filters( 'theme_action_links', array_filter( $actions ), $theme, $context ); - - /** - * Filter the action links of a specific theme in the Multisite themes - * list table. - * - * The dynamic portion of the hook name, $stylesheet, refers to the - * directory name of the theme, which in most cases is synonymous - * with the template name. - * - * @since 3.1.0 - * - * @param array $actions An array of action links. - * @param WP_Theme $theme The current WP_Theme object. - * @param string $context Status of the theme. - */ - $actions = apply_filters( "theme_action_links_$stylesheet", $actions, $theme, $context ); - - $class = ! $allowed ? 'inactive' : 'active'; - $checkbox_id = "checkbox_" . md5( $theme->get('Name') ); - $checkbox = ""; - - $id = sanitize_html_class( $theme->get_stylesheet() ); - - if ( ! empty( $totals['upgrade'] ) && ! empty( $theme->update ) ) - $class .= ' update'; - - echo ""; - - list( $columns, $hidden ) = $this->get_column_info(); - - foreach ( $columns as $column_name => $column_display_name ) { - $style = ''; - if ( in_array( $column_name, $hidden ) ) - $style = ' style="display:none;"'; - - switch ( $column_name ) { - case 'cb': - echo ""; - break; - case 'name': - echo ""; - break; - case 'description': - echo ""; - break; - - default: - echo ""; - } - } - - echo ""; - - if ( $this->is_site_themes ) - remove_action( "after_theme_row_$stylesheet", 'wp_theme_update_row' ); - - /** - * Fires after each row in the Multisite themes list table. - * - * @since 3.1.0 - * - * @param string $stylesheet Directory name of the theme. - * @param WP_Theme $theme Current WP_Theme object. - * @param string $status Status of the theme. - */ - do_action( 'after_theme_row', $stylesheet, $theme, $status ); - - /** - * Fires after each specific row in the Multisite themes list table. - * - * The dynamic portion of the hook name, $stylesheet, refers to the - * directory name of the theme, most often synonymous with the template - * name of the theme. - * - * @since 3.5.0 - * - * @param string $stylesheet Directory name of the theme. - * @param WP_Theme $theme Current WP_Theme object. - * @param string $status Status of the theme. - */ - do_action( "after_theme_row_$stylesheet", $stylesheet, $theme, $status ); - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-ms-users-list-table.php b/sources/wordpress/wp-admin/includes/class-wp-ms-users-list-table.php deleted file mode 100644 index 78f8f32..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-ms-users-list-table.php +++ /dev/null @@ -1,303 +0,0 @@ -get_items_per_page( 'users_network_per_page' ); - - $role = isset( $_REQUEST['role'] ) ? $_REQUEST['role'] : ''; - - $paged = $this->get_pagenum(); - - $args = array( - 'number' => $users_per_page, - 'offset' => ( $paged-1 ) * $users_per_page, - 'search' => $usersearch, - 'blog_id' => 0, - 'fields' => 'all_with_meta' - ); - - if ( wp_is_large_network( 'users' ) ) - $args['search'] = ltrim( $args['search'], '*' ); - - if ( $role == 'super' ) { - $logins = implode( "', '", get_super_admins() ); - $args['include'] = $wpdb->get_col( "SELECT ID FROM $wpdb->users WHERE user_login IN ('$logins')" ); - } - - /* - * If the network is large and a search is not being performed, - * show only the latest users with no paging in order to avoid - * expensive count queries. - */ - if ( !$usersearch && wp_is_large_network( 'users' ) ) { - if ( !isset($_REQUEST['orderby']) ) - $_GET['orderby'] = $_REQUEST['orderby'] = 'id'; - if ( !isset($_REQUEST['order']) ) - $_GET['order'] = $_REQUEST['order'] = 'DESC'; - $args['count_total'] = false; - } - - if ( isset( $_REQUEST['orderby'] ) ) - $args['orderby'] = $_REQUEST['orderby']; - - if ( isset( $_REQUEST['order'] ) ) - $args['order'] = $_REQUEST['order']; - - $mode = empty( $_REQUEST['mode'] ) ? 'list' : $_REQUEST['mode']; - - // Query the user IDs for this page - $wp_user_search = new WP_User_Query( $args ); - - $this->items = $wp_user_search->get_results(); - - $this->set_pagination_args( array( - 'total_items' => $wp_user_search->get_total(), - 'per_page' => $users_per_page, - ) ); - } - - protected function get_bulk_actions() { - $actions = array(); - if ( current_user_can( 'delete_users' ) ) - $actions['delete'] = __( 'Delete' ); - $actions['spam'] = _x( 'Mark as Spam', 'user' ); - $actions['notspam'] = _x( 'Not Spam', 'user' ); - - return $actions; - } - - public function no_items() { - _e( 'No users found.' ); - } - - protected function get_views() { - global $role; - - $total_users = get_user_count(); - $super_admins = get_super_admins(); - $total_admins = count( $super_admins ); - - $class = $role != 'super' ? ' class="current"' : ''; - $role_links = array(); - $role_links['all'] = "" . sprintf( _nx( 'All (%s)', 'All (%s)', $total_users, 'users' ), number_format_i18n( $total_users ) ) . ''; - $class = $role == 'super' ? ' class="current"' : ''; - $role_links['super'] = "" . sprintf( _n( 'Super Admin (%s)', 'Super Admins (%s)', $total_admins ), number_format_i18n( $total_admins ) ) . ''; - - return $role_links; - } - - protected function pagination( $which ) { - global $mode; - - parent::pagination ( $which ); - - if ( 'top' == $which ) - $this->view_switcher( $mode ); - } - - public function get_columns() { - $users_columns = array( - 'cb' => '', - 'username' => __( 'Username' ), - 'name' => __( 'Name' ), - 'email' => __( 'E-mail' ), - 'registered' => _x( 'Registered', 'user' ), - 'blogs' => __( 'Sites' ) - ); - /** - * Filter the columns displayed in the Network Admin Users list table. - * - * @since MU - * - * @param array $users_columns An array of user columns. Default 'cb', 'username', - * 'name', 'email', 'registered', 'blogs'. - */ - $users_columns = apply_filters( 'wpmu_users_columns', $users_columns ); - - return $users_columns; - } - - protected function get_sortable_columns() { - return array( - 'username' => 'login', - 'name' => 'name', - 'email' => 'email', - 'registered' => 'id', - ); - } - - public function display_rows() { - global $mode; - - $alt = ''; - $super_admins = get_super_admins(); - foreach ( $this->items as $user ) { - $alt = ( 'alternate' == $alt ) ? '' : 'alternate'; - - $status_list = array( 'spam' => 'site-spammed', 'deleted' => 'site-deleted' ); - - foreach ( $status_list as $status => $col ) { - if ( $user->$status ) - $alt .= " $col"; - } - - ?> - - get_column_info(); - - foreach ( $columns as $column_name => $column_display_name ) : - $class = "class='$column_name column-$column_name'"; - - $style = ''; - if ( in_array( $column_name, $hidden ) ) - $style = ' style="display:none;"'; - - $attributes = "$class$style"; - - switch ( $column_name ) { - case 'cb': ?> - - user_email, 32 ); - $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), get_edit_user_link( $user->ID ) ) ); - - echo " - $user->first_name $user->last_name"; - break; - - case 'email': - echo ""; - break; - - case 'registered': - if ( 'list' == $mode ) - $date = 'Y/m/d'; - else - $date = 'Y/m/d \<\b\r \/\> g:i:s a'; - - echo ""; - break; - - case 'blogs': - $blogs = get_blogs_of_user( $user->ID, true ); - echo " - "; - /** This filter is documented in wp-admin/includes/class-wp-users-list-table.php */ - echo apply_filters( 'manage_users_custom_column', '', $column_name, $user->ID ); - echo ""; - break; - } - endforeach - ?> - - no_update ) ) { - foreach ( $plugin_info->no_update as $plugin ) { - $slugs[] = $plugin->slug; - } - } - - if ( isset( $plugin_info->response ) ) { - foreach ( $plugin_info->response as $plugin ) { - $slugs[] = $plugin->slug; - } - } - - return $slugs; - } - - public function prepare_items() { - include( ABSPATH . 'wp-admin/includes/plugin-install.php' ); - - global $tabs, $tab, $paged, $type, $term; - - wp_reset_vars( array( 'tab' ) ); - - $paged = $this->get_pagenum(); - - $per_page = 30; - - // These are the tabs which are shown on the page - $tabs = array(); - - if ( 'search' == $tab ) - $tabs['search'] = __( 'Search Results' ); - $tabs['featured'] = _x( 'Featured', 'Plugin Installer' ); - $tabs['popular'] = _x( 'Popular', 'Plugin Installer' ); - $tabs['favorites'] = _x( 'Favorites', 'Plugin Installer' ); - if ( $tab === 'beta' || false !== strpos( $GLOBALS['wp_version'], '-' ) ) { - $tabs['beta'] = _x( 'Beta Testing', 'Plugin Installer' ); - } - if ( current_user_can( 'upload_plugins' ) ) { - // No longer a real tab. Here for filter compatibility. - // Gets skipped in get_views(). - $tabs['upload'] = __( 'Upload Plugin' ); - } - - $nonmenu_tabs = array( 'plugin-information' ); // Valid actions to perform which do not have a Menu item. - - /** - * Filter the tabs shown on the Plugin Install screen. - * - * @since 2.7.0 - * - * @param array $tabs The tabs shown on the Plugin Install screen. Defaults are 'dashboard', 'search', - * 'upload', 'featured', 'popular', 'new', and 'favorites'. - */ - $tabs = apply_filters( 'install_plugins_tabs', $tabs ); - - /** - * Filter tabs not associated with a menu item on the Plugin Install screen. - * - * @since 2.7.0 - * - * @param array $nonmenu_tabs The tabs that don't have a Menu item on the Plugin Install screen. - */ - $nonmenu_tabs = apply_filters( 'install_plugins_nonmenu_tabs', $nonmenu_tabs ); - - // If a non-valid menu tab has been selected, And it's not a non-menu action. - if ( empty( $tab ) || ( !isset( $tabs[ $tab ] ) && !in_array( $tab, (array) $nonmenu_tabs ) ) ) - $tab = key( $tabs ); - - $args = array( - 'page' => $paged, - 'per_page' => $per_page, - 'fields' => array( 'last_updated' => true, 'downloaded' => true, 'icons' => true ), - // Send the locale and installed plugin slugs to the API so it can provide context-sensitive results. - 'locale' => get_locale(), - 'installed_plugins' => $this->get_installed_plugin_slugs(), - ); - - switch ( $tab ) { - case 'search': - $type = isset( $_REQUEST['type'] ) ? wp_unslash( $_REQUEST['type'] ) : 'term'; - $term = isset( $_REQUEST['s'] ) ? wp_unslash( $_REQUEST['s'] ) : ''; - - switch ( $type ) { - case 'tag': - $args['tag'] = sanitize_title_with_dashes( $term ); - break; - case 'term': - $args['search'] = $term; - break; - case 'author': - $args['author'] = $term; - break; - } - - break; - - case 'featured': - $args['fields']['group'] = true; - $this->orderby = 'group'; - // No break! - case 'popular': - case 'new': - case 'beta': - $args['browse'] = $tab; - break; - - case 'favorites': - $user = isset( $_GET['user'] ) ? wp_unslash( $_GET['user'] ) : get_user_option( 'wporg_favorites' ); - update_user_meta( get_current_user_id(), 'wporg_favorites', $user ); - if ( $user ) - $args['user'] = $user; - else - $args = false; - - add_action( 'install_plugins_favorites', 'install_plugins_favorites_form', 9, 0 ); - break; - - default: - $args = false; - break; - } - - /** - * Filter API request arguments for each Plugin Install screen tab. - * - * The dynamic portion of the hook name, $tab, refers to the plugin install tabs. - * Default tabs are 'dashboard', 'search', 'upload', 'featured', 'popular', 'new', - * and 'favorites'. - * - * @since 3.7.0 - * - * @param array|bool $args Plugin Install API arguments. - */ - $args = apply_filters( "install_plugins_table_api_args_$tab", $args ); - - if ( !$args ) - return; - - $api = plugins_api( 'query_plugins', $args ); - - if ( is_wp_error( $api ) ) { - $this->error = $api; - return; - } - - $this->items = $api->plugins; - - if ( $this->orderby ) { - uasort( $this->items, array( $this, 'order_callback' ) ); - } - - $this->set_pagination_args( array( - 'total_items' => $api->info['results'], - 'per_page' => $args['per_page'], - ) ); - - if ( isset( $api->info['groups'] ) ) { - $this->groups = $api->info['groups']; - } - } - - public function no_items() { - if ( isset( $this->error ) ) { - $message = $this->error->get_error_message() . '

' . __( 'Try again' ) . '

'; - } else { - $message = __( 'No plugins match your request.' ); - } - echo '
' . $message . '
'; - } - - protected function get_views() { - global $tabs, $tab; - - $display_tabs = array(); - foreach ( (array) $tabs as $action => $text ) { - $class = ( $action == $tab ) ? ' current' : ''; - $href = self_admin_url('plugin-install.php?tab=' . $action); - $display_tabs['plugin-install-'.$action] = "$text"; - } - // No longer a real tab. - unset( $display_tabs['plugin-install-upload'] ); - - return $display_tabs; - } - - /** - * Override parent views so we can use the filter bar display. - */ - public function views() { - $views = $this->get_views(); - - /** This filter is documented in wp-admin/inclues/class-wp-list-table.php */ - $views = apply_filters( "views_{$this->screen->id}", $views ); - -?> -
- - - -
-_args['singular']; - - $data_attr = ''; - - if ( $singular ) { - $data_attr = " data-wp-lists='list:$singular'"; - } - - $this->display_tablenav( 'top' ); - -?> -
- -
> - display_rows_or_placeholder(); ?> -
-
-display_tablenav( 'bottom' ); - } - - protected function display_tablenav( $which ) { - if ( $GLOBALS['tab'] === 'featured' ) { - return; - } - - if ( 'top' == $which ) { - wp_referer_field(); - ?> -
-
- -
- pagination( $which ); ?> -
-
- -
- pagination( $which ); ?> -
-
- _args['plural'] ); - } - - public function get_columns() { - return array(); - } - - private function order_callback( $plugin_a, $plugin_b ) { - $orderby = $this->orderby; - if ( ! isset( $plugin_a->$orderby, $plugin_b->$orderby ) ) { - return 0; - } - - $a = $plugin_a->$orderby; - $b = $plugin_b->$orderby; - - if ( $a == $b ) { - return 0; - } - - if ( 'DESC' == $this->order ) { - return ( $a < $b ) ? 1 : -1; - } else { - return ( $a < $b ) ? -1 : 1; - } - } - - public function display_rows() { - $plugins_allowedtags = array( - 'a' => array( 'href' => array(),'title' => array(), 'target' => array() ), - 'abbr' => array( 'title' => array() ),'acronym' => array( 'title' => array() ), - 'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array(), - 'ul' => array(), 'ol' => array(), 'li' => array(), 'p' => array(), 'br' => array() - ); - - $plugins_group_titles = array( - 'Performance' => _x( 'Performance', 'Plugin installer group title' ), - 'Social' => _x( 'Social', 'Plugin installer group title' ), - 'Tools' => _x( 'Tools', 'Plugin installer group title' ), - ); - - $group = null; - - foreach ( (array) $this->items as $plugin ) { - if ( is_object( $plugin ) ) { - $plugin = (array) $plugin; - } - - // Display the group heading if there is one - if ( isset( $plugin['group'] ) && $plugin['group'] != $group ) { - if ( isset( $this->groups[ $plugin['group'] ] ) ) { - $group_name = $this->groups[ $plugin['group'] ]; - if ( isset( $plugins_group_titles[ $group_name ] ) ) { - $group_name = $plugins_group_titles[ $group_name ]; - } - } else { - $group_name = $plugin['group']; - } - - // Starting a new group, close off the divs of the last one - if ( ! empty( $group ) ) { - echo ''; - } - - echo '

' . esc_html( $group_name ) . '

'; - // needs an extra wrapping div for nth-child selectors to work - echo '
'; - - $group = $plugin['group']; - } - $title = wp_kses( $plugin['name'], $plugins_allowedtags ); - - // Remove any HTML from the description. - $description = strip_tags( $plugin['short_description'] ); - $version = wp_kses( $plugin['version'], $plugins_allowedtags ); - - $name = strip_tags( $title . ' ' . $version ); - - $author = wp_kses( $plugin['author'], $plugins_allowedtags ); - if ( ! empty( $author ) ) { - $author = ' ' . sprintf( __( 'By %s' ), $author ) . ''; - } - - $action_links = array(); - - if ( current_user_can( 'install_plugins' ) || current_user_can( 'update_plugins' ) ) { - $status = install_plugin_install_status( $plugin ); - - switch ( $status['status'] ) { - case 'install': - if ( $status['url'] ) { - /* translators: 1: Plugin name and version. */ - $action_links[] = '' . __( 'Install Now' ) . ''; - } - - break; - case 'update_available': - if ( $status['url'] ) { - /* translators: 1: Plugin name and version */ - $action_links[] = '' . __( 'Update Now' ) . ''; - } - - break; - case 'latest_installed': - case 'newer_installed': - $action_links[] = '' . _x( 'Installed', 'plugin' ) . ''; - break; - } - } - - $details_link = self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] . - '&TB_iframe=true&width=600&height=550' ); - - /* translators: 1: Plugin name and version. */ - $action_links[] = '' . __( 'More Details' ) . ''; - - if ( !empty( $plugin['icons']['svg'] ) ) { - $plugin_icon_url = $plugin['icons']['svg']; - } elseif ( !empty( $plugin['icons']['2x'] ) ) { - $plugin_icon_url = $plugin['icons']['2x']; - } elseif ( !empty( $plugin['icons']['1x'] ) ) { - $plugin_icon_url = $plugin['icons']['1x']; - } else { - $plugin_icon_url = $plugin['icons']['default']; - } - - /** - * Filter the install action links for a plugin. - * - * @since 2.7.0 - * - * @param array $action_links An array of plugin action hyperlinks. Defaults are links to Details and Install Now. - * @param array $plugin The plugin currently being listed. - */ - $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin ); - ?> -
-
- -
-

-
- -
-

-

-
-
-
-
- $plugin['rating'], 'type' => 'percent', 'number' => $plugin['num_ratings'] ) ); ?> - () -
-
- - - -
-
- -
-
- ' ) ) { - echo '' . __( 'Untested with your version of WordPress' ) . ''; - } elseif ( ! empty( $plugin['requires'] ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $plugin['requires'] ) ), $plugin['requires'], '<' ) ) { - echo '' . __( 'Incompatible with your version of WordPress' ) . ''; - } else { - echo '' . __( 'Compatible with your version of WordPress' ) . ''; - } - ?> -
-
-
-
'; - } - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-plugins-list-table.php b/sources/wordpress/wp-admin/includes/class-wp-plugins-list-table.php deleted file mode 100644 index 9fa1261..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-plugins-list-table.php +++ /dev/null @@ -1,605 +0,0 @@ - 'plugins', - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - - $status = 'all'; - if ( isset( $_REQUEST['plugin_status'] ) && in_array( $_REQUEST['plugin_status'], array( 'active', 'inactive', 'recently_activated', 'upgrade', 'mustuse', 'dropins', 'search' ) ) ) - $status = $_REQUEST['plugin_status']; - - if ( isset($_REQUEST['s']) ) - $_SERVER['REQUEST_URI'] = add_query_arg('s', wp_unslash($_REQUEST['s']) ); - - $page = $this->get_pagenum(); - } - - protected function get_table_classes() { - return array( 'widefat', $this->_args['plural'] ); - } - - public function ajax_user_can() { - return current_user_can('activate_plugins'); - } - - public function prepare_items() { - global $status, $plugins, $totals, $page, $orderby, $order, $s; - - wp_reset_vars( array( 'orderby', 'order', 's' ) ); - - /** - * Filter the full array of plugins to list in the Plugins list table. - * - * @since 3.0.0 - * - * @see get_plugins() - * - * @param array $plugins An array of plugins to display in the list table. - */ - $plugins = array( - 'all' => apply_filters( 'all_plugins', get_plugins() ), - 'search' => array(), - 'active' => array(), - 'inactive' => array(), - 'recently_activated' => array(), - 'upgrade' => array(), - 'mustuse' => array(), - 'dropins' => array() - ); - - $screen = $this->screen; - - if ( ! is_multisite() || ( $screen->in_admin( 'network' ) && current_user_can( 'manage_network_plugins' ) ) ) { - - /** - * Filter whether to display the advanced plugins list table. - * - * There are two types of advanced plugins - must-use and drop-ins - - * which can be used in a single site or Multisite network. - * - * The $type parameter allows you to differentiate between the type of advanced - * plugins to filter the display of. Contexts include 'mustuse' and 'dropins'. - * - * @since 3.0.0 - * - * @param bool $show Whether to show the advanced plugins for the specified - * plugin type. Default true. - * @param string $type The plugin type. Accepts 'mustuse', 'dropins'. - */ - if ( apply_filters( 'show_advanced_plugins', true, 'mustuse' ) ) { - $plugins['mustuse'] = get_mu_plugins(); - } - - /** This action is documented in wp-admin/includes/class-wp-plugins-list-table.php */ - if ( apply_filters( 'show_advanced_plugins', true, 'dropins' ) ) - $plugins['dropins'] = get_dropins(); - - if ( current_user_can( 'update_plugins' ) ) { - $current = get_site_transient( 'update_plugins' ); - foreach ( (array) $plugins['all'] as $plugin_file => $plugin_data ) { - if ( isset( $current->response[ $plugin_file ] ) ) { - $plugins['all'][ $plugin_file ]['update'] = true; - $plugins['upgrade'][ $plugin_file ] = $plugins['all'][ $plugin_file ]; - } - } - } - } - - set_transient( 'plugin_slugs', array_keys( $plugins['all'] ), DAY_IN_SECONDS ); - - if ( ! $screen->in_admin( 'network' ) ) { - $recently_activated = get_option( 'recently_activated', array() ); - - foreach ( $recently_activated as $key => $time ) - if ( $time + WEEK_IN_SECONDS < time() ) - unset( $recently_activated[$key] ); - update_option( 'recently_activated', $recently_activated ); - } - - $plugin_info = get_site_transient( 'update_plugins' ); - - foreach ( (array) $plugins['all'] as $plugin_file => $plugin_data ) { - // Extra info if known. array_merge() ensures $plugin_data has precedence if keys collide. - if ( isset( $plugin_info->response[ $plugin_file ] ) ) { - $plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data ); - } elseif ( isset( $plugin_info->no_update[ $plugin_file ] ) ) { - $plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data ); - } - - // Filter into individual sections - if ( is_multisite() && ! $screen->in_admin( 'network' ) && is_network_only_plugin( $plugin_file ) && ! is_plugin_active( $plugin_file ) ) { - // On the non-network screen, filter out network-only plugins as long as they're not individually activated - unset( $plugins['all'][ $plugin_file ] ); - } elseif ( ! $screen->in_admin( 'network' ) && is_plugin_active_for_network( $plugin_file ) ) { - // On the non-network screen, filter out network activated plugins - unset( $plugins['all'][ $plugin_file ] ); - } elseif ( ( ! $screen->in_admin( 'network' ) && is_plugin_active( $plugin_file ) ) - || ( $screen->in_admin( 'network' ) && is_plugin_active_for_network( $plugin_file ) ) ) { - // On the non-network screen, populate the active list with plugins that are individually activated - // On the network-admin screen, populate the active list with plugins that are network activated - $plugins['active'][ $plugin_file ] = $plugin_data; - } else { - if ( ! $screen->in_admin( 'network' ) && isset( $recently_activated[ $plugin_file ] ) ) { - // On the non-network screen, populate the recently activated list with plugins that have been recently activated - $plugins['recently_activated'][ $plugin_file ] = $plugin_data; - } - // Populate the inactive list with plugins that aren't activated - $plugins['inactive'][ $plugin_file ] = $plugin_data; - } - } - - if ( $s ) { - $status = 'search'; - $plugins['search'] = array_filter( $plugins['all'], array( $this, '_search_callback' ) ); - } - - $totals = array(); - foreach ( $plugins as $type => $list ) - $totals[ $type ] = count( $list ); - - if ( empty( $plugins[ $status ] ) && !in_array( $status, array( 'all', 'search' ) ) ) - $status = 'all'; - - $this->items = array(); - foreach ( $plugins[ $status ] as $plugin_file => $plugin_data ) { - // Translate, Don't Apply Markup, Sanitize HTML - $this->items[$plugin_file] = _get_plugin_data_markup_translate( $plugin_file, $plugin_data, false, true ); - } - - $total_this_page = $totals[ $status ]; - - if ( $orderby ) { - $orderby = ucfirst( $orderby ); - $order = strtoupper( $order ); - - uasort( $this->items, array( $this, '_order_callback' ) ); - } - - $plugins_per_page = $this->get_items_per_page( str_replace( '-', '_', $screen->id . '_per_page' ), 999 ); - - $start = ( $page - 1 ) * $plugins_per_page; - - if ( $total_this_page > $plugins_per_page ) - $this->items = array_slice( $this->items, $start, $plugins_per_page ); - - $this->set_pagination_args( array( - 'total_items' => $total_this_page, - 'per_page' => $plugins_per_page, - ) ); - } - - public function _search_callback( $plugin ) { - static $term; - if ( is_null( $term ) ) - $term = wp_unslash( $_REQUEST['s'] ); - - foreach ( $plugin as $value ) { - if ( false !== stripos( strip_tags( $value ), $term ) ) { - return true; - } - } - - return false; - } - - public function _order_callback( $plugin_a, $plugin_b ) { - global $orderby, $order; - - $a = $plugin_a[$orderby]; - $b = $plugin_b[$orderby]; - - if ( $a == $b ) - return 0; - - if ( 'DESC' == $order ) - return ( $a < $b ) ? 1 : -1; - else - return ( $a < $b ) ? -1 : 1; - } - - public function no_items() { - global $plugins; - - if ( !empty( $plugins['all'] ) ) - _e( 'No plugins found.' ); - else - _e( 'You do not appear to have any plugins available at this time.' ); - } - - public function get_columns() { - global $status; - - return array( - 'cb' => !in_array( $status, array( 'mustuse', 'dropins' ) ) ? '' : '', - 'name' => __( 'Plugin' ), - 'description' => __( 'Description' ), - ); - } - - protected function get_sortable_columns() { - return array(); - } - - protected function get_views() { - global $totals, $status; - - $status_links = array(); - foreach ( $totals as $type => $count ) { - if ( !$count ) - continue; - - switch ( $type ) { - case 'all': - $text = _nx( 'All (%s)', 'All (%s)', $count, 'plugins' ); - break; - case 'active': - $text = _n( 'Active (%s)', 'Active (%s)', $count ); - break; - case 'recently_activated': - $text = _n( 'Recently Active (%s)', 'Recently Active (%s)', $count ); - break; - case 'inactive': - $text = _n( 'Inactive (%s)', 'Inactive (%s)', $count ); - break; - case 'mustuse': - $text = _n( 'Must-Use (%s)', 'Must-Use (%s)', $count ); - break; - case 'dropins': - $text = _n( 'Drop-ins (%s)', 'Drop-ins (%s)', $count ); - break; - case 'upgrade': - $text = _n( 'Update Available (%s)', 'Update Available (%s)', $count ); - break; - } - - if ( 'search' != $type ) { - $status_links[$type] = sprintf( "%s", - add_query_arg('plugin_status', $type, 'plugins.php'), - ( $type == $status ) ? ' class="current"' : '', - sprintf( $text, number_format_i18n( $count ) ) - ); - } - } - - return $status_links; - } - - protected function get_bulk_actions() { - global $status; - - $actions = array(); - - if ( 'active' != $status ) - $actions['activate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Activate' ) : __( 'Activate' ); - - if ( 'inactive' != $status && 'recent' != $status ) - $actions['deactivate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Deactivate' ) : __( 'Deactivate' ); - - if ( !is_multisite() || $this->screen->in_admin( 'network' ) ) { - if ( current_user_can( 'update_plugins' ) ) - $actions['update-selected'] = __( 'Update' ); - if ( current_user_can( 'delete_plugins' ) && ( 'active' != $status ) ) - $actions['delete-selected'] = __( 'Delete' ); - } - - return $actions; - } - - public function bulk_actions( $which = '' ) { - global $status; - - if ( in_array( $status, array( 'mustuse', 'dropins' ) ) ) - return; - - parent::bulk_actions( $which ); - } - - protected function extra_tablenav( $which ) { - global $status; - - if ( ! in_array($status, array('recently_activated', 'mustuse', 'dropins') ) ) - return; - - echo '
'; - - if ( ! $this->screen->in_admin( 'network' ) && 'recently_activated' == $status ) - submit_button( __( 'Clear List' ), 'button', 'clear-recent-list', false ); - elseif ( 'top' == $which && 'mustuse' == $status ) - echo '

' . sprintf( __( 'Files in the %s directory are executed automatically.' ), str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) ) . '

'; - elseif ( 'top' == $which && 'dropins' == $status ) - echo '

' . sprintf( __( 'Drop-ins are advanced plugins in the %s directory that replace WordPress functionality when present.' ), str_replace( ABSPATH, '', WP_CONTENT_DIR ) ) . '

'; - - echo '
'; - } - - public function current_action() { - if ( isset($_POST['clear-recent-list']) ) - return 'clear-recent-list'; - - return parent::current_action(); - } - - public function display_rows() { - global $status; - - if ( is_multisite() && ! $this->screen->in_admin( 'network' ) && in_array( $status, array( 'mustuse', 'dropins' ) ) ) - return; - - foreach ( $this->items as $plugin_file => $plugin_data ) - $this->single_row( array( $plugin_file, $plugin_data ) ); - } - - public function single_row( $item ) { - global $status, $page, $s, $totals; - - list( $plugin_file, $plugin_data ) = $item; - $context = $status; - $screen = $this->screen; - - // Pre-order. - $actions = array( - 'deactivate' => '', - 'activate' => '', - 'details' => '', - 'edit' => '', - 'delete' => '', - ); - - if ( 'mustuse' == $context ) { - $is_active = true; - } elseif ( 'dropins' == $context ) { - $dropins = _get_dropins(); - $plugin_name = $plugin_file; - if ( $plugin_file != $plugin_data['Name'] ) - $plugin_name .= '
' . $plugin_data['Name']; - if ( true === ( $dropins[ $plugin_file ][1] ) ) { // Doesn't require a constant - $is_active = true; - $description = '

' . $dropins[ $plugin_file ][0] . '

'; - } elseif ( defined( $dropins[ $plugin_file ][1] ) && constant( $dropins[ $plugin_file ][1] ) ) { // Constant is true - $is_active = true; - $description = '

' . $dropins[ $plugin_file ][0] . '

'; - } else { - $is_active = false; - $description = '

' . $dropins[ $plugin_file ][0] . ' ' . __('Inactive:') . ' ' . sprintf( __( 'Requires %s in wp-config.php.' ), "define('" . $dropins[ $plugin_file ][1] . "', true);" ) . '

'; - } - if ( $plugin_data['Description'] ) - $description .= '

' . $plugin_data['Description'] . '

'; - } else { - if ( $screen->in_admin( 'network' ) ) - $is_active = is_plugin_active_for_network( $plugin_file ); - else - $is_active = is_plugin_active( $plugin_file ); - - if ( $screen->in_admin( 'network' ) ) { - if ( $is_active ) { - if ( current_user_can( 'manage_network_plugins' ) ) - $actions['deactivate'] = '' . __('Network Deactivate') . ''; - } else { - if ( current_user_can( 'manage_network_plugins' ) ) - $actions['activate'] = '' . __('Network Activate') . ''; - if ( current_user_can( 'delete_plugins' ) && ! is_plugin_active( $plugin_file ) ) - $actions['delete'] = '' . __('Delete') . ''; - } - } else { - if ( $is_active ) { - $actions['deactivate'] = '' . __('Deactivate') . ''; - } else { - $actions['activate'] = '' . __('Activate') . ''; - - if ( ! is_multisite() && current_user_can('delete_plugins') ) - $actions['delete'] = '' . __('Delete') . ''; - } // end if $is_active - - } // end if $screen->in_admin( 'network' ) - - if ( ( ! is_multisite() || $screen->in_admin( 'network' ) ) && current_user_can('edit_plugins') && is_writable(WP_PLUGIN_DIR . '/' . $plugin_file) ) - $actions['edit'] = '' . __('Edit') . ''; - } // end if $context - - $prefix = $screen->in_admin( 'network' ) ? 'network_admin_' : ''; - - /** - * Filter the action links displayed for each plugin in the Plugins list table. - * - * The dynamic portion of the hook name, $prefix, refers to the context the - * action links are displayed in. The 'network_admin_' prefix is used if the - * current screen is the Network plugins list table. The prefix is empty ('') - * if the current screen is the site plugins list table. - * - * The default action links for the Network plugins list table include - * 'Network Activate', 'Network Deactivate', 'Edit', and 'Delete'. - * - * The default action links for the site plugins list table include - * 'Activate', 'Deactivate', and 'Edit', for a network site, and - * 'Activate', 'Deactivate', 'Edit', and 'Delete' for a single site. - * - * @since 2.5.0 - * - * @param array $actions An array of plugin action links. - * @param string $plugin_file Path to the plugin file. - * @param array $plugin_data An array of plugin data. - * @param string $context The plugin context. Defaults are 'All', 'Active', - * 'Inactive', 'Recently Activated', 'Upgrade', - * 'Must-Use', 'Drop-ins', 'Search'. - */ - $actions = apply_filters( $prefix . 'plugin_action_links', array_filter( $actions ), $plugin_file, $plugin_data, $context ); - - /** - * Filter the list of action links displayed for a specific plugin. - * - * The first dynamic portion of the hook name, $prefix, refers to the context - * the action links are displayed in. The 'network_admin_' prefix is used if the - * current screen is the Network plugins list table. The prefix is empty ('') - * if the current screen is the site plugins list table. - * - * The second dynamic portion of the hook name, $plugin_file, refers to the path - * to the plugin file, relative to the plugins directory. - * - * @since 2.7.0 - * - * @param array $actions An array of plugin action links. - * @param string $plugin_file Path to the plugin file. - * @param array $plugin_data An array of plugin data. - * @param string $context The plugin context. Defaults are 'All', 'Active', - * 'Inactive', 'Recently Activated', 'Upgrade', - * 'Must-Use', 'Drop-ins', 'Search'. - */ - $actions = apply_filters( $prefix . "plugin_action_links_$plugin_file", $actions, $plugin_file, $plugin_data, $context ); - - $class = $is_active ? 'active' : 'inactive'; - $checkbox_id = "checkbox_" . md5($plugin_data['Name']); - if ( in_array( $status, array( 'mustuse', 'dropins' ) ) ) { - $checkbox = ''; - } else { - $checkbox = "" - . ""; - } - if ( 'dropins' != $context ) { - $description = '

' . ( $plugin_data['Description'] ? $plugin_data['Description'] : ' ' ) . '

'; - $plugin_name = $plugin_data['Name']; - } - - $id = sanitize_title( $plugin_name ); - if ( ! empty( $totals['upgrade'] ) && ! empty( $plugin_data['update'] ) ) - $class .= ' update'; - - echo "
"; - - list( $columns, $hidden ) = $this->get_column_info(); - - foreach ( $columns as $column_name => $column_display_name ) { - $style = ''; - if ( in_array( $column_name, $hidden ) ) - $style = ' style="display:none;"'; - - switch ( $column_name ) { - case 'cb': - echo ""; - break; - case 'name': - echo ""; - break; - case 'description': - echo ""; - break; - default: - echo ""; - } - } - - echo ""; - - /** - * Fires after each row in the Plugins list table. - * - * @since 2.3.0 - * - * @param string $plugin_file Path to the plugin file, relative to the plugins directory. - * @param array $plugin_data An array of plugin data. - * @param string $status Status of the plugin. Defaults are 'All', 'Active', - * 'Inactive', 'Recently Activated', 'Upgrade', 'Must-Use', - * 'Drop-ins', 'Search'. - */ - do_action( 'after_plugin_row', $plugin_file, $plugin_data, $status ); - - /** - * Fires after each specific row in the Plugins list table. - * - * The dynamic portion of the hook name, $plugin_file, refers to the path - * to the plugin file, relative to the plugins directory. - * - * @since 2.7.0 - * - * @param string $plugin_file Path to the plugin file, relative to the plugins directory. - * @param array $plugin_data An array of plugin data. - * @param string $status Status of the plugin. Defaults are 'All', 'Active', - * 'Inactive', 'Recently Activated', 'Upgrade', 'Must-Use', - * 'Drop-ins', 'Search'. - */ - do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $status ); - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-posts-list-table.php b/sources/wordpress/wp-admin/includes/class-wp-posts-list-table.php deleted file mode 100644 index 5914aea..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-posts-list-table.php +++ /dev/null @@ -1,1301 +0,0 @@ - 'posts', - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - - $post_type = $this->screen->post_type; - $post_type_object = get_post_type_object( $post_type ); - - if ( !current_user_can( $post_type_object->cap->edit_others_posts ) ) { - $exclude_states = get_post_stati( array( 'show_in_admin_all_list' => false ) ); - $this->user_posts_count = $wpdb->get_var( $wpdb->prepare( " - SELECT COUNT( 1 ) FROM $wpdb->posts - WHERE post_type = %s AND post_status NOT IN ( '" . implode( "','", $exclude_states ) . "' ) - AND post_author = %d - ", $post_type, get_current_user_id() ) ); - - if ( $this->user_posts_count && empty( $_REQUEST['post_status'] ) && empty( $_REQUEST['all_posts'] ) && empty( $_REQUEST['author'] ) && empty( $_REQUEST['show_sticky'] ) ) - $_GET['author'] = get_current_user_id(); - } - - if ( 'post' == $post_type && $sticky_posts = get_option( 'sticky_posts' ) ) { - $sticky_posts = implode( ', ', array_map( 'absint', (array) $sticky_posts ) ); - $this->sticky_posts_count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT( 1 ) FROM $wpdb->posts WHERE post_type = %s AND post_status NOT IN ('trash', 'auto-draft') AND ID IN ($sticky_posts)", $post_type ) ); - } - } - - public function ajax_user_can() { - return current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_posts ); - } - - public function prepare_items() { - global $avail_post_stati, $wp_query, $per_page, $mode; - - $avail_post_stati = wp_edit_posts_query(); - - $this->hierarchical_display = ( is_post_type_hierarchical( $this->screen->post_type ) && 'menu_order title' == $wp_query->query['orderby'] ); - - $total_items = $this->hierarchical_display ? $wp_query->post_count : $wp_query->found_posts; - - $post_type = $this->screen->post_type; - $per_page = $this->get_items_per_page( 'edit_' . $post_type . '_per_page' ); - - /** This filter is documented in wp-admin/includes/post.php */ - $per_page = apply_filters( 'edit_posts_per_page', $per_page, $post_type ); - - if ( $this->hierarchical_display ) - $total_pages = ceil( $total_items / $per_page ); - else - $total_pages = $wp_query->max_num_pages; - - if ( ! empty( $_REQUEST['mode'] ) ) { - $mode = $_REQUEST['mode'] == 'excerpt' ? 'excerpt' : 'list'; - set_user_setting ( 'posts_list_mode', $mode ); - } else { - $mode = get_user_setting ( 'posts_list_mode', 'list' ); - } - - $this->is_trash = isset( $_REQUEST['post_status'] ) && $_REQUEST['post_status'] == 'trash'; - - $this->set_pagination_args( array( - 'total_items' => $total_items, - 'total_pages' => $total_pages, - 'per_page' => $per_page - ) ); - } - - public function has_items() { - return have_posts(); - } - - public function no_items() { - if ( isset( $_REQUEST['post_status'] ) && 'trash' == $_REQUEST['post_status'] ) - echo get_post_type_object( $this->screen->post_type )->labels->not_found_in_trash; - else - echo get_post_type_object( $this->screen->post_type )->labels->not_found; - } - - protected function get_views() { - global $locked_post_status, $avail_post_stati; - - $post_type = $this->screen->post_type; - - if ( !empty($locked_post_status) ) - return array(); - - $status_links = array(); - $num_posts = wp_count_posts( $post_type, 'readable' ); - $class = ''; - $allposts = ''; - - $current_user_id = get_current_user_id(); - - if ( $this->user_posts_count ) { - if ( isset( $_GET['author'] ) && ( $_GET['author'] == $current_user_id ) ) - $class = ' class="current"'; - $status_links['mine'] = "" . sprintf( _nx( 'Mine (%s)', 'Mine (%s)', $this->user_posts_count, 'posts' ), number_format_i18n( $this->user_posts_count ) ) . ''; - $allposts = '&all_posts=1'; - } - - $total_posts = array_sum( (array) $num_posts ); - - // Subtract post types that are not included in the admin all list. - foreach ( get_post_stati( array('show_in_admin_all_list' => false) ) as $state ) - $total_posts -= $num_posts->$state; - - $class = empty( $class ) && empty( $_REQUEST['post_status'] ) && empty( $_REQUEST['show_sticky'] ) ? ' class="current"' : ''; - $status_links['all'] = "" . sprintf( _nx( 'All (%s)', 'All (%s)', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . ''; - - foreach ( get_post_stati(array('show_in_admin_status_list' => true), 'objects') as $status ) { - $class = ''; - - $status_name = $status->name; - - if ( !in_array( $status_name, $avail_post_stati ) ) - continue; - - if ( empty( $num_posts->$status_name ) ) - continue; - - if ( isset($_REQUEST['post_status']) && $status_name == $_REQUEST['post_status'] ) - $class = ' class="current"'; - - $status_links[$status_name] = "" . sprintf( translate_nooped_plural( $status->label_count, $num_posts->$status_name ), number_format_i18n( $num_posts->$status_name ) ) . ''; - } - - if ( ! empty( $this->sticky_posts_count ) ) { - $class = ! empty( $_REQUEST['show_sticky'] ) ? ' class="current"' : ''; - - $sticky_link = array( 'sticky' => "" . sprintf( _nx( 'Sticky (%s)', 'Sticky (%s)', $this->sticky_posts_count, 'posts' ), number_format_i18n( $this->sticky_posts_count ) ) . '' ); - - // Sticky comes after Publish, or if not listed, after All. - $split = 1 + array_search( ( isset( $status_links['publish'] ) ? 'publish' : 'all' ), array_keys( $status_links ) ); - $status_links = array_merge( array_slice( $status_links, 0, $split ), $sticky_link, array_slice( $status_links, $split ) ); - } - - return $status_links; - } - - protected function get_bulk_actions() { - $actions = array(); - - if ( $this->is_trash ) - $actions['untrash'] = __( 'Restore' ); - else - $actions['edit'] = __( 'Edit' ); - - if ( $this->is_trash || !EMPTY_TRASH_DAYS ) - $actions['delete'] = __( 'Delete Permanently' ); - else - $actions['trash'] = __( 'Move to Trash' ); - - return $actions; - } - - protected function extra_tablenav( $which ) { - global $cat; -?> -
-months_dropdown( $this->screen->post_type ); - - if ( is_object_in_taxonomy( $this->screen->post_type, 'category' ) ) { - $dropdown_options = array( - 'show_option_all' => __( 'View all categories' ), - 'hide_empty' => 0, - 'hierarchical' => 1, - 'show_count' => 0, - 'orderby' => 'name', - 'selected' => $cat - ); - wp_dropdown_categories( $dropdown_options ); - } - - /** - * Fires before the Filter button on the Posts and Pages list tables. - * - * The Filter button allows sorting by date and/or category on the - * Posts list table, and sorting by date on the Pages list table. - * - * @since 2.1.0 - */ - do_action( 'restrict_manage_posts' ); - - submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); - } - - if ( $this->is_trash && current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_others_posts ) ) { - submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false ); - } -?> -
-screen->post_type ) ) - $this->view_switcher( $mode ); - } - - protected function get_table_classes() { - return array( 'widefat', 'fixed', is_post_type_hierarchical( $this->screen->post_type ) ? 'pages' : 'posts' ); - } - - public function get_columns() { - $post_type = $this->screen->post_type; - - $posts_columns = array(); - - $posts_columns['cb'] = ''; - - /* translators: manage posts column name */ - $posts_columns['title'] = _x( 'Title', 'column name' ); - - if ( post_type_supports( $post_type, 'author' ) ) { - $posts_columns['author'] = __( 'Author' ); - } - - $taxonomies = get_object_taxonomies( $post_type, 'objects' ); - $taxonomies = wp_filter_object_list( $taxonomies, array( 'show_admin_column' => true ), 'and', 'name' ); - - /** - * Filter the taxonomy columns in the Posts list table. - * - * The dynamic portion of the hook name, $post_type, refers to the post - * type slug. - * - * @since 3.5.0 - * - * @param array $taxonomies Array of taxonomies to show columns for. - * @param string $post_type The post type. - */ - $taxonomies = apply_filters( "manage_taxonomies_for_{$post_type}_columns", $taxonomies, $post_type ); - $taxonomies = array_filter( $taxonomies, 'taxonomy_exists' ); - - foreach ( $taxonomies as $taxonomy ) { - if ( 'category' == $taxonomy ) - $column_key = 'categories'; - elseif ( 'post_tag' == $taxonomy ) - $column_key = 'tags'; - else - $column_key = 'taxonomy-' . $taxonomy; - - $posts_columns[ $column_key ] = get_taxonomy( $taxonomy )->labels->name; - } - - $post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all'; - if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) ) - $posts_columns['comments'] = ''; - - $posts_columns['date'] = __( 'Date' ); - - if ( 'page' == $post_type ) { - - /** - * Filter the columns displayed in the Pages list table. - * - * @since 2.5.0 - * - * @param array $post_columns An array of column names. - */ - $posts_columns = apply_filters( 'manage_pages_columns', $posts_columns ); - } else { - - /** - * Filter the columns displayed in the Posts list table. - * - * @since 1.5.0 - * - * @param array $posts_columns An array of column names. - * @param string $post_type The post type slug. - */ - $posts_columns = apply_filters( 'manage_posts_columns', $posts_columns, $post_type ); - } - - /** - * Filter the columns displayed in the Posts list table for a specific post type. - * - * The dynamic portion of the hook name, $post_type, refers to the post type slug. - * - * @since 3.0.0 - * - * @param array $post_columns An array of column names. - */ - $posts_columns = apply_filters( "manage_{$post_type}_posts_columns", $posts_columns ); - - return $posts_columns; - } - - protected function get_sortable_columns() { - return array( - 'title' => 'title', - 'parent' => 'parent', - 'comments' => 'comment_count', - 'date' => array( 'date', true ) - ); - } - - public function display_rows( $posts = array(), $level = 0 ) { - global $wp_query, $per_page; - - if ( empty( $posts ) ) - $posts = $wp_query->posts; - - add_filter( 'the_title', 'esc_html' ); - - if ( $this->hierarchical_display ) { - $this->_display_rows_hierarchical( $posts, $this->get_pagenum(), $per_page ); - } else { - $this->_display_rows( $posts, $level ); - } - } - - private function _display_rows( $posts, $level = 0 ) { - global $mode; - - // Create array of post IDs. - $post_ids = array(); - - foreach ( $posts as $a_post ) - $post_ids[] = $a_post->ID; - - $this->comment_pending_count = get_pending_comments_num( $post_ids ); - - foreach ( $posts as $post ) - $this->single_row( $post, $level ); - } - - private function _display_rows_hierarchical( $pages, $pagenum = 1, $per_page = 20 ) { - global $wpdb; - - $level = 0; - - if ( ! $pages ) { - $pages = get_pages( array( 'sort_column' => 'menu_order' ) ); - - if ( ! $pages ) - return false; - } - - /* - * Arrange pages into two parts: top level pages and children_pages - * children_pages is two dimensional array, eg. - * children_pages[10][] contains all sub-pages whose parent is 10. - * It only takes O( N ) to arrange this and it takes O( 1 ) for subsequent lookup operations - * If searching, ignore hierarchy and treat everything as top level - */ - if ( empty( $_REQUEST['s'] ) ) { - - $top_level_pages = array(); - $children_pages = array(); - - foreach ( $pages as $page ) { - - // Catch and repair bad pages. - if ( $page->post_parent == $page->ID ) { - $page->post_parent = 0; - $wpdb->update( $wpdb->posts, array( 'post_parent' => 0 ), array( 'ID' => $page->ID ) ); - clean_post_cache( $page ); - } - - if ( 0 == $page->post_parent ) - $top_level_pages[] = $page; - else - $children_pages[ $page->post_parent ][] = $page; - } - - $pages = &$top_level_pages; - } - - $count = 0; - $start = ( $pagenum - 1 ) * $per_page; - $end = $start + $per_page; - - foreach ( $pages as $page ) { - if ( $count >= $end ) - break; - - if ( $count >= $start ) { - echo "\t"; - $this->single_row( $page, $level ); - } - - $count++; - - if ( isset( $children_pages ) ) - $this->_page_rows( $children_pages, $count, $page->ID, $level + 1, $pagenum, $per_page ); - } - - // If it is the last pagenum and there are orphaned pages, display them with paging as well. - if ( isset( $children_pages ) && $count < $end ){ - foreach ( $children_pages as $orphans ){ - foreach ( $orphans as $op ) { - if ( $count >= $end ) - break; - - if ( $count >= $start ) { - echo "\t"; - $this->single_row( $op, 0 ); - } - - $count++; - } - } - } - } - - /** - * Given a top level page ID, display the nested hierarchy of sub-pages - * together with paging support - * - * @since 3.1.0 (Standalone function exists since 2.6.0) - * - * @param array $children_pages - * @param int $count - * @param int $parent - * @param int $level - * @param int $pagenum - * @param int $per_page - */ - private function _page_rows( &$children_pages, &$count, $parent, $level, $pagenum, $per_page ) { - - if ( ! isset( $children_pages[$parent] ) ) - return; - - $start = ( $pagenum - 1 ) * $per_page; - $end = $start + $per_page; - - foreach ( $children_pages[$parent] as $page ) { - - if ( $count >= $end ) - break; - - // If the page starts in a subtree, print the parents. - if ( $count == $start && $page->post_parent > 0 ) { - $my_parents = array(); - $my_parent = $page->post_parent; - while ( $my_parent ) { - $my_parent = get_post( $my_parent ); - $my_parents[] = $my_parent; - if ( !$my_parent->post_parent ) - break; - $my_parent = $my_parent->post_parent; - } - $num_parents = count( $my_parents ); - while ( $my_parent = array_pop( $my_parents ) ) { - echo "\t"; - $this->single_row( $my_parent, $level - $num_parents ); - $num_parents--; - } - } - - if ( $count >= $start ) { - echo "\t"; - $this->single_row( $page, $level ); - } - - $count++; - - $this->_page_rows( $children_pages, $count, $page->ID, $level + 1, $pagenum, $per_page ); - } - - unset( $children_pages[$parent] ); //required in order to keep track of orphans - } - - public function single_row( $post, $level = 0 ) { - global $mode; - static $alternate; - - $global_post = get_post(); - $GLOBALS['post'] = $post; - setup_postdata( $post ); - - $edit_link = get_edit_post_link( $post->ID ); - $title = _draft_or_post_title(); - $post_type_object = get_post_type_object( $post->post_type ); - $can_edit_post = current_user_can( 'edit_post', $post->ID ); - - $alternate = 'alternate' == $alternate ? '' : 'alternate'; - $classes = $alternate . ' iedit author-' . ( get_current_user_id() == $post->post_author ? 'self' : 'other' ); - - $lock_holder = wp_check_post_lock( $post->ID ); - if ( $lock_holder ) { - $classes .= ' wp-locked'; - $lock_holder = get_userdata( $lock_holder ); - } - - if ( $post->post_parent ) { - $count = count( get_post_ancestors( $post->ID ) ); - $classes .= ' level-'. $count; - } else { - $classes .= ' level-0'; - } - ?> - - get_column_info(); - - foreach ( $columns as $column_name => $column_display_name ) { - $class = "class=\"$column_name column-$column_name\""; - - $style = ''; - if ( in_array( $column_name, $hidden ) ) - $style = ' style="display:none;"'; - - $attributes = "$class$style"; - - switch ( $column_name ) { - - case 'cb': - ?> - - hierarchical_display ) { - if ( 0 == $level && (int) $post->post_parent > 0 ) { - // Sent level 0 by accident, by default, or because we don't know the actual level. - $find_main_page = (int) $post->post_parent; - while ( $find_main_page > 0 ) { - $parent = get_post( $find_main_page ); - - if ( is_null( $parent ) ) - break; - - $level++; - $find_main_page = (int) $parent->post_parent; - - if ( !isset( $parent_name ) ) { - /** This filter is documented in wp-includes/post-template.php */ - $parent_name = apply_filters( 'the_title', $parent->post_title, $parent->ID ); - } - } - } - } - - $pad = str_repeat( '— ', $level ); - echo "'; - break; - - case 'date': - if ( '0000-00-00 00:00:00' == $post->post_date ) { - $t_time = $h_time = __( 'Unpublished' ); - $time_diff = 0; - } else { - $t_time = get_the_time( __( 'Y/m/d g:i:s A' ) ); - $m_time = $post->post_date; - $time = get_post_time( 'G', true, $post ); - - $time_diff = time() - $time; - - if ( $time_diff > 0 && $time_diff < DAY_IN_SECONDS ) - $h_time = sprintf( __( '%s ago' ), human_time_diff( $time ) ); - else - $h_time = mysql2date( __( 'Y/m/d' ), $m_time ); - } - - echo ''; - break; - - case 'comments': - ?> - - - - '; - if ( $terms = get_the_terms( $post->ID, $taxonomy ) ) { - $out = array(); - foreach ( $terms as $t ) { - $posts_in_term_qv = array(); - if ( 'post' != $post->post_type ) - $posts_in_term_qv['post_type'] = $post->post_type; - if ( $taxonomy_object->query_var ) { - $posts_in_term_qv[ $taxonomy_object->query_var ] = $t->slug; - } else { - $posts_in_term_qv['taxonomy'] = $taxonomy; - $posts_in_term_qv['term'] = $t->slug; - } - - $out[] = sprintf( '%s', - esc_url( add_query_arg( $posts_in_term_qv, 'edit.php' ) ), - esc_html( sanitize_term_field( 'name', $t->name, $t->term_id, $taxonomy, 'display' ) ) - ); - } - /* translators: used between list items, there is a space after the comma */ - echo join( __( ', ' ), $out ); - } else { - echo '—'; - } - echo ''; - break; - } - ?> - - - - screen; - - $post = get_default_post_to_edit( $screen->post_type ); - $post_type_object = get_post_type_object( $screen->post_type ); - - $taxonomy_names = get_object_taxonomies( $screen->post_type ); - $hierarchical_taxonomies = array(); - $flat_taxonomies = array(); - foreach ( $taxonomy_names as $taxonomy_name ) { - $taxonomy = get_taxonomy( $taxonomy_name ); - - if ( !$taxonomy->show_ui ) - continue; - - if ( $taxonomy->hierarchical ) - $hierarchical_taxonomies[] = $taxonomy; - else - $flat_taxonomies[] = $taxonomy; - } - - $m = ( isset( $mode ) && 'excerpt' == $mode ) ? 'excerpt' : 'list'; - $can_publish = current_user_can( $post_type_object->cap->publish_posts ); - $core_columns = array( 'cb' => true, 'date' => true, 'title' => true, 'categories' => true, 'tags' => true, 'comments' => true, 'author' => true ); - - ?> - -
'; - $this->no_items(); - echo '
'; - echo $this->column_cb( $item ); - echo '"; - echo call_user_func( array( $this, 'column_' . $column_name ), $item ); - echo ""; - echo $this->column_default( $item, $column_name ); - echo "
- - - - - >ID, array( 80, 60 ), true ) ) { - if ( $this->is_trash || ! $user_can_edit ) { - echo $thumb; - } else { -?> - - - - - - > - is_trash || ! $user_can_edit ) { - echo $att_title; - } else { ?> - - - -

-ID ), $matches ) ) - echo esc_html( strtoupper( $matches[1] ) ); - else - echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) ); -?> -

-row_actions( $this->_get_row_actions( $post, $att_title ) ); -?> -
>%s', - esc_url( add_query_arg( array( 'author' => get_the_author_meta('ID') ), 'upload.php' ) ), - get_the_author() - ); - ?>>post_excerpt : ''; ?>>> - show_ui && current_user_can( 'edit_post', $post->post_parent ) ) { ?> - - , - - >
- - - -
> -
-ID ); - - $this->comments_bubble( $post->ID, $pending_comments ); -?> -
-
> - - ID ); ?> -
- - - - - - -
$checkbox" . $theme->display('Name') . ""; - echo $this->row_actions( $actions, true ); - echo ""; - if ( $theme->errors() ) { - $pre = $status == 'broken' ? __( 'Broken Theme:' ) . ' ' : ''; - echo '

' . $pre . $theme->errors()->get_error_message() . '

'; - } - echo "

" . $theme->display( 'Description' ) . "

-
"; - - $theme_meta = array(); - - if ( $theme->get('Version') ) - $theme_meta[] = sprintf( __( 'Version %s' ), $theme->display('Version') ); - - $theme_meta[] = sprintf( __( 'By %s' ), $theme->display('Author') ); - - if ( $theme->get('ThemeURI') ) - $theme_meta[] = '' . __( 'Visit Theme Site' ) . ''; - - /** - * Filter the array of row meta for each theme in the Multisite themes - * list table. - * - * @since 3.1.0 - * - * @param array $theme_meta An array of the theme's metadata, - * including the version, author, and - * theme URI. - * @param string $stylesheet Directory name of the theme. - * @param WP_Theme $theme WP_Theme object. - * @param string $status Status of the theme. - */ - $theme_meta = apply_filters( 'theme_row_meta', $theme_meta, $stylesheet, $theme, $status ); - echo implode( ' | ', $theme_meta ); - - echo "
"; - - /** - * Fires inside each custom column of the Multisite themes list table. - * - * @since 3.1.0 - * - * @param string $column_name Name of the column. - * @param string $stylesheet Directory name of the theme. - * @param WP_Theme $theme Current WP_Theme object. - */ - do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme ); - echo "
- - - "; ?> - user_login; ?>user_login, $super_admins ) ) - echo ' - ' . __( 'Super Admin' ); - ?> -
- ' . __( 'Edit' ) . ''; - - if ( current_user_can( 'delete_user', $user->ID ) && ! in_array( $user->user_login, $super_admins ) ) { - $actions['delete'] = '' . __( 'Delete' ) . ''; - } - - /** - * Filter the action links displayed under each user - * in the Network Admin Users list table. - * - * @since 3.2.0 - * - * @param array $actions An array of action links to be displayed. - * Default 'Edit', 'Delete'. - * @param WP_User $user WP_User object. - */ - $actions = apply_filters( 'ms_user_row_actions', $actions, $user ); - echo $this->row_actions( $actions ); - ?> -
$user->user_email" . mysql2date( $date, $user->user_registered ) . ""; - if ( is_array( $blogs ) ) { - foreach ( (array) $blogs as $key => $val ) { - if ( !can_edit_network( $val->site_id ) ) - continue; - - $path = ( $val->path == '/' ) ? '' : $val->path; - echo ''; - echo '' . str_replace( '.' . get_current_site()->domain, '', $val->domain . $path ) . ''; - echo ' '; - $actions = array(); - $actions['edit'] = '' . __( 'Edit' ) . ''; - - $class = ''; - if ( get_blog_status( $val->userblog_id, 'spam' ) == 1 ) - $class .= 'site-spammed '; - if ( get_blog_status( $val->userblog_id, 'mature' ) == 1 ) - $class .= 'site-mature '; - if ( get_blog_status( $val->userblog_id, 'deleted' ) == 1 ) - $class .= 'site-deleted '; - if ( get_blog_status( $val->userblog_id, 'archived' ) == 1 ) - $class .= 'site-archived '; - - $actions['view'] = '' . __( 'View' ) . ''; - - /** - * Filter the action links displayed next the sites a user belongs to - * in the Network Admin Users list table. - * - * @since 3.1.0 - * - * @param array $actions An array of action links to be displayed. - * Default 'Edit', 'View'. - * @param int $userblog_id The site ID. - */ - $actions = apply_filters( 'ms_user_list_site_actions', $actions, $val->userblog_id ); - - $i=0; - $action_count = count( $actions ); - foreach ( $actions as $action => $link ) { - ++$i; - ( $i == $action_count ) ? $sep = '' : $sep = ' | '; - echo "$link$sep"; - } - echo '
'; - } - } - ?> -
$checkbox$plugin_name"; - echo $this->row_actions( $actions, true ); - echo " -
$description
-
"; - - $plugin_meta = array(); - if ( !empty( $plugin_data['Version'] ) ) - $plugin_meta[] = sprintf( __( 'Version %s' ), $plugin_data['Version'] ); - if ( !empty( $plugin_data['Author'] ) ) { - $author = $plugin_data['Author']; - if ( !empty( $plugin_data['AuthorURI'] ) ) - $author = '' . $plugin_data['Author'] . ''; - $plugin_meta[] = sprintf( __( 'By %s' ), $author ); - } - - // Details link using API info, if available - if ( isset( $plugin_data['slug'] ) && current_user_can( 'install_plugins' ) ) { - $plugin_meta[] = sprintf( '%s', - esc_url( network_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin_data['slug'] . - '&TB_iframe=true&width=600&height=550' ) ), - esc_attr( sprintf( __( 'More information about %s' ), $plugin_name ) ), - esc_attr( $plugin_name ), - __( 'View details' ) - ); - } elseif ( ! empty( $plugin_data['PluginURI'] ) ) { - $plugin_meta[] = sprintf( '%s', - esc_url( $plugin_data['PluginURI'] ), - __( 'Visit plugin site' ) - ); - } - - /** - * Filter the array of row meta for each plugin in the Plugins list table. - * - * @since 2.8.0 - * - * @param array $plugin_meta An array of the plugin's metadata, - * including the version, author, - * author URI, and plugin URI. - * @param string $plugin_file Path to the plugin file, relative to the plugins directory. - * @param array $plugin_data An array of plugin data. - * @param string $status Status of the plugin. Defaults are 'All', 'Active', - * 'Inactive', 'Recently Activated', 'Upgrade', 'Must-Use', - * 'Drop-ins', 'Search'. - */ - $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status ); - echo implode( ' | ', $plugin_meta ); - - echo "
"; - - /** - * Fires inside each custom column of the Plugins list table. - * - * @since 3.1.0 - * - * @param string $column_name Name of the column. - * @param string $plugin_file Path to the plugin file. - * @param array $plugin_data An array of plugin data. - */ - do_action( 'manage_plugins_custom_column', $column_name, $plugin_file, $plugin_data ); - echo "
- - - -
- -
"; - - if ( $format = get_post_format( $post->ID ) ) { - $label = get_post_format_string( $format ); - - echo '' . $label . ": "; - } - - if ( $can_edit_post && $post->post_status != 'trash' ) { - echo '' . $pad . $title . ''; - } else { - echo $pad . $title; - } - _post_states( $post ); - - if ( isset( $parent_name ) ) - echo ' | ' . $post_type_object->labels->parent_item_colon . ' ' . esc_html( $parent_name ); - - echo "\n"; - - if ( $can_edit_post && $post->post_status != 'trash' ) { - if ( $lock_holder ) { - $locked_avatar = get_avatar( $lock_holder->ID, 18 ); - $locked_text = esc_html( sprintf( __( '%s is currently editing' ), $lock_holder->display_name ) ); - } else { - $locked_avatar = $locked_text = ''; - } - - echo '
' . $locked_avatar . ' ' . $locked_text . "
\n"; - } - - if ( ! $this->hierarchical_display && 'excerpt' == $mode && current_user_can( 'read_post', $post->ID ) ) - the_excerpt(); - - $actions = array(); - if ( $can_edit_post && 'trash' != $post->post_status ) { - $actions['edit'] = '' . __( 'Edit' ) . ''; - $actions['inline hide-if-no-js'] = '' . __( 'Quick Edit' ) . ''; - } - if ( current_user_can( 'delete_post', $post->ID ) ) { - if ( 'trash' == $post->post_status ) - $actions['untrash'] = "ID ) ), 'untrash-post_' . $post->ID ) . "'>" . __( 'Restore' ) . ""; - elseif ( EMPTY_TRASH_DAYS ) - $actions['trash'] = "" . __( 'Trash' ) . ""; - if ( 'trash' == $post->post_status || !EMPTY_TRASH_DAYS ) - $actions['delete'] = "" . __( 'Delete Permanently' ) . ""; - } - if ( $post_type_object->public ) { - if ( in_array( $post->post_status, array( 'pending', 'draft', 'future' ) ) ) { - if ( $can_edit_post ) { - $preview_link = set_url_scheme( get_permalink( $post->ID ) ); - /** This filter is documented in wp-admin/includes/meta-boxes.php */ - $preview_link = apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', $preview_link ), $post ); - $actions['view'] = '' . __( 'Preview' ) . ''; - } - } elseif ( 'trash' != $post->post_status ) { - $actions['view'] = '' . __( 'View' ) . ''; - } - } - - if ( is_post_type_hierarchical( $post->post_type ) ) { - - /** - * Filter the array of row action links on the Pages list table. - * - * The filter is evaluated only for hierarchical post types. - * - * @since 2.8.0 - * - * @param array $actions An array of row action links. Defaults are - * 'Edit', 'Quick Edit', 'Restore, 'Trash', - * 'Delete Permanently', 'Preview', and 'View'. - * @param WP_Post $post The post object. - */ - $actions = apply_filters( 'page_row_actions', $actions, $post ); - } else { - - /** - * Filter the array of row action links on the Posts list table. - * - * The filter is evaluated only for non-hierarchical post types. - * - * @since 2.8.0 - * - * @param array $actions An array of row action links. Defaults are - * 'Edit', 'Quick Edit', 'Restore, 'Trash', - * 'Delete Permanently', 'Preview', and 'View'. - * @param WP_Post $post The post object. - */ - $actions = apply_filters( 'post_row_actions', $actions, $post ); - } - - echo $this->row_actions( $actions ); - - get_inline_data( $post ); - echo '
'; - if ( 'excerpt' == $mode ) { - - /** - * Filter the published time of the post. - * - * If $mode equals 'excerpt', the published time and date are both displayed. - * If $mode equals 'list' (default), the publish date is displayed, with the - * time and date together available as an abbreviation definition. - * - * @since 2.5.1 - * - * @param array $t_time The published time. - * @param WP_Post $post Post object. - * @param string $column_name The column name. - * @param string $mode The list display mode ('excerpt' or 'list'). - */ - echo apply_filters( 'post_date_column_time', $t_time, $post, $column_name, $mode ); - } else { - - /** This filter is documented in wp-admin/includes/class-wp-posts-list-table.php */ - echo '' . apply_filters( 'post_date_column_time', $h_time, $post, $column_name, $mode ) . ''; - } - echo '
'; - if ( 'publish' == $post->post_status ) { - _e( 'Published' ); - } elseif ( 'future' == $post->post_status ) { - if ( $time_diff > 0 ) - echo '' . __( 'Missed schedule' ) . ''; - else - _e( 'Scheduled' ); - } else { - _e( 'Last Modified' ); - } - echo '
>
- comment_pending_count[$post->ID] ) ? $this->comment_pending_count[$post->ID] : 0; - - $this->comments_bubble( $post->ID, $pending_comments ); - ?> -
>%s', - esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'author' => get_the_author_meta( 'ID' ) ), 'edit.php' )), - get_the_author() - ); - ?>>post_type ) ) { - - /** - * Fires in each custom column on the Posts list table. - * - * This hook only fires if the current post type is hierarchical, - * such as pages. - * - * @since 2.5.0 - * - * @param string $column_name The name of the column to display. - * @param int $post_id The current post ID. - */ - do_action( 'manage_pages_custom_column', $column_name, $post->ID ); - } else { - - /** - * Fires in each custom column in the Posts list table. - * - * This hook only fires if the current post type is non-hierarchical, - * such as posts. - * - * @since 1.5.0 - * - * @param string $column_name The name of the column to display. - * @param int $post_id The current post ID. - */ - do_action( 'manage_posts_custom_column', $column_name, $post->ID ); - } - - /** - * Fires for each custom column of a specific post type in the Posts list table. - * - * The dynamic portion of the hook name, $post->post_type, refers to the post type. - * - * @since 3.1.0 - * - * @param string $column_name The name of the column to display. - * @param int $post_id The current post ID. - */ - do_action( "manage_{$post->post_type}_posts_custom_column", $column_name, $post->ID ); - ?>
- - - post_type; - echo $bulk ? " bulk-edit-row bulk-edit-row-$hclass bulk-edit-{$screen->post_type}" : " quick-edit-row quick-edit-row-$hclass inline-edit-{$screen->post_type}"; - ?>" style="display: none"> - -
- -
-

- post_type, 'title' ) ) : - if ( $bulk ) : ?> -
-
-
- - - - - - - - - - - -
- -
-
- post_type, 'author' ) ) : - $authors_dropdown = ''; - - if ( is_super_admin() || current_user_can( $post_type_object->cap->edit_others_posts ) ) : - $users_opt = array( - 'hide_if_only_one_author' => false, - 'who' => 'authors', - 'name' => 'post_author', - 'class'=> 'authors', - 'multi' => 1, - 'echo' => 0 - ); - if ( $bulk ) - $users_opt['show_option_none'] = __( '— No Change —' ); - - if ( $authors = wp_dropdown_users( $users_opt ) ) : - $authors_dropdown = ''; - endif; - endif; // authors - ?> - - - -
- - - - - - -
- - - -
- - - -
- - - - labels->name ) ?> - -
    - $taxonomy->name ) ) ?> -
- - - -
- - - -
- - post_type, 'author' ) && $bulk ) - echo $authors_dropdown; - - if ( post_type_supports( $screen->post_type, 'page-attributes' ) ) : - - if ( $post_type_object->hierarchical ) : - ?> - - - - - - - post_type ) : - ?> - - - - - - - - - cap->assign_terms ) ) : ?> - - - - - - - - post_type, 'comments' ) || post_type_supports( $screen->post_type, 'trackbacks' ) ) : - if ( $bulk ) : ?> - -
- post_type, 'comments' ) ) : ?> - - post_type, 'trackbacks' ) ) : ?> - - -
- - - -
- post_type, 'comments' ) ) : ?> - - post_type, 'trackbacks' ) ) : ?> - - -
- - - -
- - - post_type && $can_publish && current_user_can( $post_type_object->cap->edit_others_posts ) ) : ?> - - - - - - - - - - - - - -
- - post_type, 'post-formats' ) ) { - $post_formats = get_theme_support( 'post-formats' ); - - ?> - - - -
- - get_column_info(); - - foreach ( $columns as $column_name => $column_display_name ) { - if ( isset( $core_columns[$column_name] ) ) - continue; - - if ( $bulk ) { - - /** - * Fires once for each column in Bulk Edit mode. - * - * @since 2.7.0 - * - * @param string $column_name Name of the column to edit. - * @param WP_Post $post_type The post type slug. - */ - do_action( 'bulk_edit_custom_box', $column_name, $screen->post_type ); - } else { - - /** - * Fires once for each column in Quick Edit mode. - * - * @since 2.7.0 - * - * @param string $column_name Name of the column to edit. - * @param WP_Post $post_type The post type slug. - */ - do_action( 'quick_edit_custom_box', $column_name, $screen->post_type ); - } - - } - ?> -

- - - - - 's' ) ); - } ?> - - - post_type, 'author' ) ) { ?> - - - -
-

-
- 'tags', - 'singular' => 'tag', - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - - $action = $this->screen->action; - $post_type = $this->screen->post_type; - $taxonomy = $this->screen->taxonomy; - - if ( empty( $taxonomy ) ) - $taxonomy = 'post_tag'; - - if ( ! taxonomy_exists( $taxonomy ) ) - wp_die( __( 'Invalid taxonomy' ) ); - - $tax = get_taxonomy( $taxonomy ); - - // @todo Still needed? Maybe just the show_ui part. - if ( empty( $post_type ) || !in_array( $post_type, get_post_types( array( 'show_ui' => true ) ) ) ) - $post_type = 'post'; - - } - - public function ajax_user_can() { - return current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->manage_terms ); - } - - public function prepare_items() { - $tags_per_page = $this->get_items_per_page( 'edit_' . $this->screen->taxonomy . '_per_page' ); - - if ( 'post_tag' == $this->screen->taxonomy ) { - /** - * Filter the number of terms displayed per page for the Tags list table. - * - * @since 2.8.0 - * - * @param int $tags_per_page Number of tags to be displayed. Default 20. - */ - $tags_per_page = apply_filters( 'edit_tags_per_page', $tags_per_page ); - - /** - * Filter the number of terms displayed per page for the Tags list table. - * - * @since 2.7.0 - * @deprecated 2.8.0 Use edit_tags_per_page instead. - * - * @param int $tags_per_page Number of tags to be displayed. Default 20. - */ - $tags_per_page = apply_filters( 'tagsperpage', $tags_per_page ); - } elseif ( 'category' == $this->screen->taxonomy ) { - /** - * Filter the number of terms displayed per page for the Categories list table. - * - * @since 2.8.0 - * - * @param int $tags_per_page Number of categories to be displayed. Default 20. - */ - $tags_per_page = apply_filters( 'edit_categories_per_page', $tags_per_page ); - } - - $search = !empty( $_REQUEST['s'] ) ? trim( wp_unslash( $_REQUEST['s'] ) ) : ''; - - $args = array( - 'search' => $search, - 'page' => $this->get_pagenum(), - 'number' => $tags_per_page, - ); - - if ( !empty( $_REQUEST['orderby'] ) ) - $args['orderby'] = trim( wp_unslash( $_REQUEST['orderby'] ) ); - - if ( !empty( $_REQUEST['order'] ) ) - $args['order'] = trim( wp_unslash( $_REQUEST['order'] ) ); - - $this->callback_args = $args; - - $this->set_pagination_args( array( - 'total_items' => wp_count_terms( $this->screen->taxonomy, compact( 'search' ) ), - 'per_page' => $tags_per_page, - ) ); - } - - public function has_items() { - // todo: populate $this->items in prepare_items() - return true; - } - - protected function get_bulk_actions() { - $actions = array(); - $actions['delete'] = __( 'Delete' ); - - return $actions; - } - - public function current_action() { - if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['delete_tags'] ) && ( 'delete' == $_REQUEST['action'] || 'delete' == $_REQUEST['action2'] ) ) - return 'bulk-delete'; - - return parent::current_action(); - } - - public function get_columns() { - $columns = array( - 'cb' => '', - 'name' => _x( 'Name', 'term name' ), - 'description' => __( 'Description' ), - 'slug' => __( 'Slug' ), - ); - - if ( 'link_category' == $this->screen->taxonomy ) { - $columns['links'] = __( 'Links' ); - } else { - $columns['posts'] = _x( 'Count', 'Number/count of items' ); - } - - return $columns; - } - - protected function get_sortable_columns() { - return array( - 'name' => 'name', - 'description' => 'description', - 'slug' => 'slug', - 'posts' => 'count', - 'links' => 'count' - ); - } - - public function display_rows_or_placeholder() { - $taxonomy = $this->screen->taxonomy; - - $args = wp_parse_args( $this->callback_args, array( - 'page' => 1, - 'number' => 20, - 'search' => '', - 'hide_empty' => 0 - ) ); - - $page = $args['page']; - - // Set variable because $args['number'] can be subsequently overridden. - $number = $args['number']; - - $args['offset'] = $offset = ( $page - 1 ) * $number; - - // Convert it to table rows. - $count = 0; - - if ( is_taxonomy_hierarchical( $taxonomy ) && ! isset( $args['orderby'] ) ) { - // We'll need the full set of terms then. - $args['number'] = $args['offset'] = 0; - } - $terms = get_terms( $taxonomy, $args ); - - if ( empty( $terms ) ) { - echo ''; - $this->no_items(); - echo ''; - return; - } - - if ( is_taxonomy_hierarchical( $taxonomy ) && ! isset( $args['orderby'] ) ) { - if ( ! empty( $args['search'] ) ) {// Ignore children on searches. - $children = array(); - } else { - $children = _get_term_hierarchy( $taxonomy ); - } - // Some funky recursion to get the job done( Paging & parents mainly ) is contained within, Skip it for non-hierarchical taxonomies for performance sake - $this->_rows( $taxonomy, $terms, $children, $offset, $number, $count ); - } else { - $terms = get_terms( $taxonomy, $args ); - foreach ( $terms as $term ) { - $this->single_row( $term ); - } - } - } - - private function _rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent = 0, $level = 0 ) { - - $end = $start + $per_page; - - foreach ( $terms as $key => $term ) { - - if ( $count >= $end ) - break; - - if ( $term->parent != $parent && empty( $_REQUEST['s'] ) ) - continue; - - // If the page starts in a subtree, print the parents. - if ( $count == $start && $term->parent > 0 && empty( $_REQUEST['s'] ) ) { - $my_parents = $parent_ids = array(); - $p = $term->parent; - while ( $p ) { - $my_parent = get_term( $p, $taxonomy ); - $my_parents[] = $my_parent; - $p = $my_parent->parent; - if ( in_array( $p, $parent_ids ) ) // Prevent parent loops. - break; - $parent_ids[] = $p; - } - unset( $parent_ids ); - - $num_parents = count( $my_parents ); - while ( $my_parent = array_pop( $my_parents ) ) { - echo "\t"; - $this->single_row( $my_parent, $level - $num_parents ); - $num_parents--; - } - } - - if ( $count >= $start ) { - echo "\t"; - $this->single_row( $term, $level ); - } - - ++$count; - - unset( $terms[$key] ); - - if ( isset( $children[$term->term_id] ) && empty( $_REQUEST['s'] ) ) - $this->_rows( $taxonomy, $terms, $children, $start, $per_page, $count, $term->term_id, $level + 1 ); - } - } - - public function single_row( $tag, $level = 0 ) { - global $taxonomy; - $tag = sanitize_term( $tag, $taxonomy ); - - static $row_class = ''; - $row_class = ( $row_class == '' ? ' class="alternate"' : '' ); - - $this->level = $level; - - echo ''; - $this->single_row_columns( $tag ); - echo ''; - } - - public function column_cb( $tag ) { - $default_term = get_option( 'default_' . $this->screen->taxonomy ); - - if ( current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->delete_terms ) && $tag->term_id != $default_term ) - return '' - . ''; - - return ' '; - } - - public function column_name( $tag ) { - $taxonomy = $this->screen->taxonomy; - $tax = get_taxonomy( $taxonomy ); - - $default_term = get_option( 'default_' . $taxonomy ); - - $pad = str_repeat( '— ', max( 0, $this->level ) ); - - /** - * Filter display of the term name in the terms list table. - * - * The default output may include padding due to the term's - * current level in the term hierarchy. - * - * @since 2.5.0 - * - * @see WP_Terms_List_Table::column_name() - * - * @param string $pad_tag_name The term name, padded if not top-level. - * @param object $tag Term object. - */ - $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag ); - - $qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' ); - $edit_link = esc_url( get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type ) ); - - $out = '' . $name . '
'; - - $actions = array(); - if ( current_user_can( $tax->cap->edit_terms ) ) { - $actions['edit'] = '' . __( 'Edit' ) . ''; - $actions['inline hide-if-no-js'] = '' . __( 'Quick Edit' ) . ''; - } - if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term ) - $actions['delete'] = "term_id ) . "'>" . __( 'Delete' ) . ""; - if ( $tax->public ) - $actions['view'] = '' . __( 'View' ) . ''; - - /** - * Filter the action links displayed for each term in the Tags list table. - * - * @since 2.8.0 - * @deprecated 3.0.0 Use {$taxonomy}_row_actions instead. - * - * @param array $actions An array of action links to be displayed. Default - * 'Edit', 'Quick Edit', 'Delete', and 'View'. - * @param object $tag Term object. - */ - $actions = apply_filters( 'tag_row_actions', $actions, $tag ); - - /** - * Filter the action links displayed for each term in the terms list table. - * - * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug. - * - * @since 3.0.0 - * - * @param array $actions An array of action links to be displayed. Default - * 'Edit', 'Quick Edit', 'Delete', and 'View'. - * @param object $tag Term object. - */ - $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag ); - - $out .= $this->row_actions( $actions ); - $out .= ''; - - return $out; - } - - public function column_description( $tag ) { - return $tag->description; - } - - public function column_slug( $tag ) { - /** This filter is documented in wp-admin/edit-tag-form.php */ - return apply_filters( 'editable_slug', $tag->slug ); - } - - public function column_posts( $tag ) { - $count = number_format_i18n( $tag->count ); - - $tax = get_taxonomy( $this->screen->taxonomy ); - - $ptype_object = get_post_type_object( $this->screen->post_type ); - if ( ! $ptype_object->show_ui ) - return $count; - - if ( $tax->query_var ) { - $args = array( $tax->query_var => $tag->slug ); - } else { - $args = array( 'taxonomy' => $tax->name, 'term' => $tag->slug ); - } - - if ( 'post' != $this->screen->post_type ) - $args['post_type'] = $this->screen->post_type; - - if ( 'attachment' == $this->screen->post_type ) - return "$count"; - - return "$count"; - } - - public function column_links( $tag ) { - $count = number_format_i18n( $tag->count ); - if ( $count ) - $count = "$count"; - return $count; - } - - public function column_default( $tag, $column_name ) { - /** - * Filter the displayed columns in the terms list table. - * - * The dynamic portion of the hook name, $this->screen->taxonomy, - * refers to the slug of the current taxonomy. - * - * @since 2.8.0 - * - * @param string $string Blank string. - * @param string $column_name Name of the column. - * @param int $term_id Term ID. - */ - return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $tag->term_id ); - } - - /** - * Outputs the hidden row displayed when inline editing - * - * @since 3.1.0 - */ - public function inline_edit() { - $tax = get_taxonomy( $this->screen->taxonomy ); - - if ( ! current_user_can( $tax->cap->edit_terms ) ) - return; -?> - -
- -
- features = $_REQUEST['features']; - - $paged = $this->get_pagenum(); - - $per_page = 36; - - // These are the tabs which are shown on the page, - $tabs = array(); - $tabs['dashboard'] = __( 'Search' ); - if ( 'search' == $tab ) - $tabs['search'] = __( 'Search Results' ); - $tabs['upload'] = __( 'Upload' ); - $tabs['featured'] = _x( 'Featured', 'themes' ); - //$tabs['popular'] = _x( 'Popular', 'themes' ); - $tabs['new'] = _x( 'Latest', 'themes' ); - $tabs['updated'] = _x( 'Recently Updated', 'themes' ); - - $nonmenu_tabs = array( 'theme-information' ); // Valid actions to perform which do not have a Menu item. - - /** This filter is documented in wp-admin/theme-install.php */ - $tabs = apply_filters( 'install_themes_tabs', $tabs ); - - /** - * Filter tabs not associated with a menu item on the Install Themes screen. - * - * @since 2.8.0 - * - * @param array $nonmenu_tabs The tabs that don't have a menu item on - * the Install Themes screen. - */ - $nonmenu_tabs = apply_filters( 'install_themes_nonmenu_tabs', $nonmenu_tabs ); - - // If a non-valid menu tab has been selected, And it's not a non-menu action. - if ( empty( $tab ) || ( ! isset( $tabs[ $tab ] ) && ! in_array( $tab, (array) $nonmenu_tabs ) ) ) - $tab = key( $tabs ); - - $args = array( 'page' => $paged, 'per_page' => $per_page, 'fields' => $theme_field_defaults ); - - switch ( $tab ) { - case 'search': - $type = isset( $_REQUEST['type'] ) ? wp_unslash( $_REQUEST['type'] ) : 'term'; - switch ( $type ) { - case 'tag': - $args['tag'] = array_map( 'sanitize_key', $search_terms ); - break; - case 'term': - $args['search'] = $search_string; - break; - case 'author': - $args['author'] = $search_string; - break; - } - - if ( ! empty( $this->features ) ) { - $args['tag'] = $this->features; - $_REQUEST['s'] = implode( ',', $this->features ); - $_REQUEST['type'] = 'tag'; - } - - add_action( 'install_themes_table_header', 'install_theme_search_form', 10, 0 ); - break; - - case 'featured': - // case 'popular': - case 'new': - case 'updated': - $args['browse'] = $tab; - break; - - default: - $args = false; - break; - } - - /** - * Filter API request arguments for each Install Themes screen tab. - * - * The dynamic portion of the hook name, $tab, refers to the theme install - * tabs. Default tabs are 'dashboard', 'search', 'upload', 'featured', - * 'new', and 'updated'. - * - * @since 3.7.0 - * - * @param array $args An array of themes API arguments. - */ - $args = apply_filters( 'install_themes_table_api_args_' . $tab, $args ); - - if ( ! $args ) - return; - - $api = themes_api( 'query_themes', $args ); - - if ( is_wp_error( $api ) ) - wp_die( $api->get_error_message() . '

' . __( 'Try again' ) . '' ); - - $this->items = $api->themes; - - $this->set_pagination_args( array( - 'total_items' => $api->info['results'], - 'per_page' => $args['per_page'], - 'infinite_scroll' => true, - ) ); - } - - public function no_items() { - _e( 'No themes match your request.' ); - } - - protected function get_views() { - global $tabs, $tab; - - $display_tabs = array(); - foreach ( (array) $tabs as $action => $text ) { - $class = ( $action == $tab ) ? ' class="current"' : ''; - $href = self_admin_url('theme-install.php?tab=' . $action); - $display_tabs['theme-install-'.$action] = "$text"; - } - - return $display_tabs; - } - - public function display() { - wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' ); -?> -

-
- -
- pagination( 'top' ); ?> -
-
- -
- display_rows_or_placeholder(); ?> -
- - items; - foreach ( $themes as $theme ) { - ?> -
single_row( $theme ); - ?>
- theme_installer(); - } - - /** - * Prints a theme from the WordPress.org API. - * - * @param object $theme An object that contains theme data returned by the WordPress.org API. - * - * Example theme data: - * object(stdClass)[59] - * public 'name' => string 'Magazine Basic' - * public 'slug' => string 'magazine-basic' - * public 'version' => string '1.1' - * public 'author' => string 'tinkerpriest' - * public 'preview_url' => string 'http://wp-themes.com/?magazine-basic' - * public 'screenshot_url' => string 'http://wp-themes.com/wp-content/themes/magazine-basic/screenshot.png' - * public 'rating' => float 80 - * public 'num_ratings' => int 1 - * public 'homepage' => string 'http://wordpress.org/themes/magazine-basic' - * public 'description' => string 'A basic magazine style layout with a fully customizable layout through a backend interface. Designed by c.bavota of Tinker Priest Media.' - * public 'download_link' => string 'http://wordpress.org/themes/download/magazine-basic.1.1.zip' - */ - public function single_row( $theme ) { - global $themes_allowedtags; - - if ( empty( $theme ) ) - return; - - $name = wp_kses( $theme->name, $themes_allowedtags ); - $author = wp_kses( $theme->author, $themes_allowedtags ); - - $preview_title = sprintf( __('Preview “%s”'), $name ); - $preview_url = add_query_arg( array( - 'tab' => 'theme-information', - 'theme' => $theme->slug, - ), self_admin_url( 'theme-install.php' ) ); - - $actions = array(); - - $install_url = add_query_arg( array( - 'action' => 'install-theme', - 'theme' => $theme->slug, - ), self_admin_url( 'update.php' ) ); - - $update_url = add_query_arg( array( - 'action' => 'upgrade-theme', - 'theme' => $theme->slug, - ), self_admin_url( 'update.php' ) ); - - $status = $this->_get_theme_status( $theme ); - - switch ( $status ) { - case 'update_available': - $actions[] = '' . __( 'Update' ) . ''; - break; - case 'newer_installed': - case 'latest_installed': - $actions[] = '' . _x( 'Installed', 'theme' ) . ''; - break; - case 'install': - default: - $actions[] = '' . __( 'Install Now' ) . ''; - break; - } - - $actions[] = '' . __( 'Preview' ) . ''; - - /** - * Filter the install action links for a theme in the Install Themes list table. - * - * @since 3.4.0 - * - * @param array $actions An array of theme action hyperlinks. Defaults are - * links to Install Now, Preview, and Details. - * @param WP_Theme $theme Theme object. - */ - $actions = apply_filters( 'theme_install_actions', $actions, $theme ); - - ?> - - - - -

-
- - - - install_theme_info( $theme ); - } - - /** - * Prints the wrapper for the theme installer. - */ - public function theme_installer() { - ?> -
-
-
- - -
-
-
-
- -
-
-
- -
-
- install_theme_info( $theme ); ?> -
-
- -
-
- name, $themes_allowedtags ); - $author = wp_kses( $theme->author, $themes_allowedtags ); - - $install_url = add_query_arg( array( - 'action' => 'install-theme', - 'theme' => $theme->slug, - ), self_admin_url( 'update.php' ) ); - - $update_url = add_query_arg( array( - 'action' => 'upgrade-theme', - 'theme' => $theme->slug, - ), self_admin_url( 'update.php' ) ); - - $status = $this->_get_theme_status( $theme ); - - ?> -
slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . ''; - break; - case 'newer_installed': - case 'latest_installed': - echo '' . _x( 'Installed', 'theme' ) . ''; - break; - case 'install': - default: - echo '' . __( 'Install' ) . ''; - break; - } ?> -

- - screenshot_url ) ): ?> - - -
- $theme->rating, 'type' => 'percent', 'number' => $theme->num_ratings ) ); ?> -
- - version, $themes_allowedtags ); ?> -
-
- description, $themes_allowedtags ); ?> -
-
- -
- Install screen - * @uses $type Global; type of search. - */ - public function _js_vars( $extra_args = array() ) { - global $tab, $type; - parent::_js_vars( compact( 'tab', 'type' ) ); - } - - /** - * Check to see if the theme is already installed. - * - * @since 3.4.0 - * @access private - * - * @param object $theme - A WordPress.org Theme API object. - * @return string Theme status. - */ - private function _get_theme_status( $theme ) { - $status = 'install'; - - $installed_theme = wp_get_theme( $theme->slug ); - if ( $installed_theme->exists() ) { - if ( version_compare( $installed_theme->get('Version'), $theme->version, '=' ) ) - $status = 'latest_installed'; - elseif ( version_compare( $installed_theme->get('Version'), $theme->version, '>' ) ) - $status = 'newer_installed'; - else - $status = 'update_available'; - } - - return $status; - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-themes-list-table.php b/sources/wordpress/wp-admin/includes/class-wp-themes-list-table.php deleted file mode 100644 index de34581..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-themes-list-table.php +++ /dev/null @@ -1,279 +0,0 @@ - true, - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - } - - public function ajax_user_can() { - // Do not check edit_theme_options here. AJAX calls for available themes require switch_themes. - return current_user_can( 'switch_themes' ); - } - - public function prepare_items() { - $themes = wp_get_themes( array( 'allowed' => true ) ); - - if ( ! empty( $_REQUEST['s'] ) ) - $this->search_terms = array_unique( array_filter( array_map( 'trim', explode( ',', strtolower( wp_unslash( $_REQUEST['s'] ) ) ) ) ) ); - - if ( ! empty( $_REQUEST['features'] ) ) - $this->features = $_REQUEST['features']; - - if ( $this->search_terms || $this->features ) { - foreach ( $themes as $key => $theme ) { - if ( ! $this->search_theme( $theme ) ) - unset( $themes[ $key ] ); - } - } - - unset( $themes[ get_option( 'stylesheet' ) ] ); - WP_Theme::sort_by_name( $themes ); - - $per_page = 36; - $page = $this->get_pagenum(); - - $start = ( $page - 1 ) * $per_page; - - $this->items = array_slice( $themes, $start, $per_page, true ); - - $this->set_pagination_args( array( - 'total_items' => count( $themes ), - 'per_page' => $per_page, - 'infinite_scroll' => true, - ) ); - } - - public function no_items() { - if ( $this->search_terms || $this->features ) { - _e( 'No items found.' ); - return; - } - - if ( is_multisite() ) { - if ( current_user_can( 'install_themes' ) && current_user_can( 'manage_network_themes' ) ) { - printf( __( 'You only have one theme enabled for this site right now. Visit the Network Admin to enable or install more themes.' ), network_admin_url( 'site-themes.php?id=' . $GLOBALS['blog_id'] ), network_admin_url( 'theme-install.php' ) ); - - return; - } elseif ( current_user_can( 'manage_network_themes' ) ) { - printf( __( 'You only have one theme enabled for this site right now. Visit the Network Admin to enable more themes.' ), network_admin_url( 'site-themes.php?id=' . $GLOBALS['blog_id'] ) ); - - return; - } - // Else, fallthrough. install_themes doesn't help if you can't enable it. - } else { - if ( current_user_can( 'install_themes' ) ) { - printf( __( 'You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress.org Theme Directory at any time: just click on the Install Themes tab above.' ), admin_url( 'theme-install.php' ) ); - - return; - } - } - // Fallthrough. - printf( __( 'Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.' ), get_site_option( 'site_name' ) ); - } - - public function tablenav( $which = 'top' ) { - if ( $this->get_pagination_arg( 'total_pages' ) <= 1 ) - return; - ?> -
- pagination( $which ); ?> - -
-
- - tablenav( 'top' ); ?> - -
- display_rows_or_placeholder(); ?> -
- - tablenav( 'bottom' ); ?> -has_items() ) { - $this->display_rows(); - } else { - echo '
'; - $this->no_items(); - echo '
'; - } - } - - public function display_rows() { - $themes = $this->items; - - foreach ( $themes as $theme ): - ?>
get_template(); - $stylesheet = $theme->get_stylesheet(); - $title = $theme->display('Name'); - $version = $theme->display('Version'); - $author = $theme->display('Author'); - - $activate_link = wp_nonce_url( "themes.php?action=activate&template=" . urlencode( $template ) . "&stylesheet=" . urlencode( $stylesheet ), 'switch-theme_' . $stylesheet ); - - $preview_link = esc_url( add_query_arg( - array( 'preview' => 1, 'template' => urlencode( $template ), 'stylesheet' => urlencode( $stylesheet ), 'preview_iframe' => true, 'TB_iframe' => 'true' ), - home_url( '/' ) ) ); - - $actions = array(); - $actions['activate'] = '' . __( 'Activate' ) . ''; - - $actions['preview'] = '' . __( 'Preview' ) . ''; - - if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { - $actions['preview'] .= '' - . __( 'Live Preview' ) . ''; - } - - if ( ! is_multisite() && current_user_can( 'delete_themes' ) ) - $actions['delete'] = '' . __( 'Delete' ) . ''; - - /** This filter is documented in wp-admin/includes/class-wp-ms-themes-list-table.php */ - $actions = apply_filters( 'theme_action_links', $actions, $theme ); - - /** This filter is documented in wp-admin/includes/class-wp-ms-themes-list-table.php */ - $actions = apply_filters( "theme_action_links_$stylesheet", $actions, $theme ); - $delete_action = isset( $actions['delete'] ) ? '
' . $actions['delete'] . '
' : ''; - unset( $actions['delete'] ); - - ?> - - - get_screenshot() ) : ?> - - - - - get_screenshot() ) : ?> - - - - -

-
- - -
-

-

display('Description'); ?>

- parent() ) { - printf( '

' . __( 'This child theme requires its parent theme, %2$s.' ) . '

', - __( 'http://codex.wordpress.org/Child_Themes' ), - $theme->parent()->display( 'Name' ) ); - } ?> -
- -
- features as $word ) { - if ( ! in_array( $word, $theme->get('Tags') ) ) - return false; - } - - // Match all phrases - foreach ( $this->search_terms as $word ) { - if ( in_array( $word, $theme->get('Tags') ) ) - continue; - - foreach ( array( 'Name', 'Description', 'Author', 'AuthorURI' ) as $header ) { - // Don't mark up; Do translate. - if ( false !== stripos( strip_tags( $theme->display( $header, false, true ) ), $word ) ) { - continue 2; - } - } - - if ( false !== stripos( $theme->get_stylesheet(), $word ) ) - continue; - - if ( false !== stripos( $theme->get_template(), $word ) ) - continue; - - return false; - } - - return true; - } - - /** - * Send required variables to JavaScript land - * - * @since 3.4.0 - * @access public - * - * @uses $this->features Array of all feature search terms. - * @uses get_pagenum() - * @uses _pagination_args['total_pages'] - */ - public function _js_vars( $extra_args = array() ) { - $search_string = isset( $_REQUEST['s'] ) ? esc_attr( wp_unslash( $_REQUEST['s'] ) ) : ''; - - $args = array( - 'search' => $search_string, - 'features' => $this->features, - 'paged' => $this->get_pagenum(), - 'total_pages' => ! empty( $this->_pagination_args['total_pages'] ) ? $this->_pagination_args['total_pages'] : 1, - ); - - if ( is_array( $extra_args ) ) - $args = array_merge( $args, $extra_args ); - - printf( "\n", json_encode( $args ) ); - parent::_js_vars(); - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-upgrader-skins.php b/sources/wordpress/wp-admin/includes/class-wp-upgrader-skins.php deleted file mode 100644 index 8fcee68..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-upgrader-skins.php +++ /dev/null @@ -1,767 +0,0 @@ - '', 'nonce' => '', 'title' => '', 'context' => false ); - $this->options = wp_parse_args($args, $defaults); - } - - public function set_upgrader(&$upgrader) { - if ( is_object($upgrader) ) - $this->upgrader =& $upgrader; - $this->add_strings(); - } - - public function add_strings() { - } - - public function set_result($result) { - $this->result = $result; - } - - public function request_filesystem_credentials($error = false) { - $url = $this->options['url']; - $context = $this->options['context']; - if ( !empty($this->options['nonce']) ) - $url = wp_nonce_url($url, $this->options['nonce']); - return request_filesystem_credentials($url, '', $error, $context); //Possible to bring inline, Leaving as is for now. - } - - public function header() { - if ( $this->done_header ) { - return; - } - $this->done_header = true; - echo '
'; - echo '

' . $this->options['title'] . '

'; - } - public function footer() { - if ( $this->done_footer ) { - return; - } - $this->done_footer = true; - echo '
'; - } - - public function error($errors) { - if ( ! $this->done_header ) - $this->header(); - if ( is_string($errors) ) { - $this->feedback($errors); - } elseif ( is_wp_error($errors) && $errors->get_error_code() ) { - foreach ( $errors->get_error_messages() as $message ) { - if ( $errors->get_error_data() && is_string( $errors->get_error_data() ) ) - $this->feedback($message . ' ' . esc_html( strip_tags( $errors->get_error_data() ) ) ); - else - $this->feedback($message); - } - } - } - - public function feedback($string) { - if ( isset( $this->upgrader->strings[$string] ) ) - $string = $this->upgrader->strings[$string]; - - if ( strpos($string, '%') !== false ) { - $args = func_get_args(); - $args = array_splice($args, 1); - if ( $args ) { - $args = array_map( 'strip_tags', $args ); - $args = array_map( 'esc_html', $args ); - $string = vsprintf($string, $args); - } - } - if ( empty($string) ) - return; - show_message($string); - } - public function before() {} - public function after() {} - - /** - * Output JavaScript that calls function to decrement the update counts. - * - * @since 3.9.0 - * - * @param string $type Type of update count to decrement. Likely values include 'plugin', - * 'theme', 'translation', etc. - */ - protected function decrement_update_count( $type ) { - if ( ! $this->result || is_wp_error( $this->result ) || 'up_to_date' === $this->result ) { - return; - } - - if ( defined( 'IFRAME_REQUEST' ) ) { - echo ''; - } else { - echo ''; - } - } -} - -/** - * Plugin Upgrader Skin for WordPress Plugin Upgrades. - * - * @package WordPress - * @subpackage Upgrader - * @since 2.8.0 - */ -class Plugin_Upgrader_Skin extends WP_Upgrader_Skin { - public $plugin = ''; - public $plugin_active = false; - public $plugin_network_active = false; - - public function __construct($args = array()) { - $defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Update Plugin') ); - $args = wp_parse_args($args, $defaults); - - $this->plugin = $args['plugin']; - - $this->plugin_active = is_plugin_active( $this->plugin ); - $this->plugin_network_active = is_plugin_active_for_network( $this->plugin ); - - parent::__construct($args); - } - - public function after() { - $this->plugin = $this->upgrader->plugin_info(); - if ( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){ - echo ''; - } - - $this->decrement_update_count( 'plugin' ); - - $update_actions = array( - 'activate_plugin' => '' . __('Activate Plugin') . '', - 'plugins_page' => '' . __('Return to Plugins page') . '' - ); - if ( $this->plugin_active || ! $this->result || is_wp_error( $this->result ) || ! current_user_can( 'activate_plugins' ) ) - unset( $update_actions['activate_plugin'] ); - - /** - * Filter the list of action links available following a single plugin update. - * - * @since 2.7.0 - * - * @param array $update_actions Array of plugin action links. - * @param string $plugin Path to the plugin file. - */ - $update_actions = apply_filters( 'update_plugin_complete_actions', $update_actions, $this->plugin ); - - if ( ! empty($update_actions) ) - $this->feedback(implode(' | ', (array)$update_actions)); - } -} - -/** - * Plugin Upgrader Skin for WordPress Plugin Upgrades. - * - * @package WordPress - * @subpackage Upgrader - * @since 3.0.0 - */ -class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { - public $in_loop = false; - public $error = false; - - public function __construct($args = array()) { - $defaults = array( 'url' => '', 'nonce' => '' ); - $args = wp_parse_args($args, $defaults); - - parent::__construct($args); - } - - public function add_strings() { - $this->upgrader->strings['skin_upgrade_start'] = __('The update process is starting. This process may take a while on some hosts, so please be patient.'); - $this->upgrader->strings['skin_update_failed_error'] = __('An error occurred while updating %1$s: %2$s'); - $this->upgrader->strings['skin_update_failed'] = __('The update of %1$s failed.'); - $this->upgrader->strings['skin_update_successful'] = __('%1$s updated successfully.').' '.__('Show Details').'.'; - $this->upgrader->strings['skin_upgrade_end'] = __('All updates have been completed.'); - } - - public function feedback($string) { - if ( isset( $this->upgrader->strings[$string] ) ) - $string = $this->upgrader->strings[$string]; - - if ( strpos($string, '%') !== false ) { - $args = func_get_args(); - $args = array_splice($args, 1); - if ( $args ) { - $args = array_map( 'strip_tags', $args ); - $args = array_map( 'esc_html', $args ); - $string = vsprintf($string, $args); - } - } - if ( empty($string) ) - return; - if ( $this->in_loop ) - echo "$string
\n"; - else - echo "

$string

\n"; - } - - public function header() { - // Nothing, This will be displayed within a iframe. - } - - public function footer() { - // Nothing, This will be displayed within a iframe. - } - public function error($error) { - if ( is_string($error) && isset( $this->upgrader->strings[$error] ) ) - $this->error = $this->upgrader->strings[$error]; - - if ( is_wp_error($error) ) { - $messages = array(); - foreach ( $error->get_error_messages() as $emessage ) { - if ( $error->get_error_data() && is_string( $error->get_error_data() ) ) - $messages[] = $emessage . ' ' . esc_html( strip_tags( $error->get_error_data() ) ); - else - $messages[] = $emessage; - } - $this->error = implode(', ', $messages); - } - echo ''; - } - - public function bulk_header() { - $this->feedback('skin_upgrade_start'); - } - - public function bulk_footer() { - $this->feedback('skin_upgrade_end'); - } - - public function before($title = '') { - $this->in_loop = true; - printf( '

' . $this->upgrader->strings['skin_before_update_header'] . '

', $title, $this->upgrader->update_current, $this->upgrader->update_count); - echo ''; - echo '

'; - $this->flush_output(); - } - - public function after($title = '') { - echo '

'; - if ( $this->error || ! $this->result ) { - if ( $this->error ) - echo '

' . sprintf($this->upgrader->strings['skin_update_failed_error'], $title, $this->error) . '

'; - else - echo '

' . sprintf($this->upgrader->strings['skin_update_failed'], $title) . '

'; - - echo ''; - } - if ( $this->result && ! is_wp_error( $this->result ) ) { - if ( ! $this->error ) - echo '

' . sprintf($this->upgrader->strings['skin_update_successful'], $title, 'jQuery(\'#progress-' . esc_js($this->upgrader->update_current) . '\').toggle();jQuery(\'span\', this).toggle(); return false;') . '

'; - echo ''; - } - - $this->reset(); - $this->flush_output(); - } - - public function reset() { - $this->in_loop = false; - $this->error = false; - } - - public function flush_output() { - wp_ob_end_flush_all(); - flush(); - } -} - -class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { - public $plugin_info = array(); // Plugin_Upgrader::bulk() will fill this in. - - public function __construct($args = array()) { - parent::__construct($args); - } - - public function add_strings() { - parent::add_strings(); - $this->upgrader->strings['skin_before_update_header'] = __('Updating Plugin %1$s (%2$d/%3$d)'); - } - - public function before($title = '') { - parent::before($this->plugin_info['Title']); - } - - public function after($title = '') { - parent::after($this->plugin_info['Title']); - $this->decrement_update_count( 'plugin' ); - } - public function bulk_footer() { - parent::bulk_footer(); - $update_actions = array( - 'plugins_page' => '' . __('Return to Plugins page') . '', - 'updates_page' => '' . __('Return to WordPress Updates') . '' - ); - if ( ! current_user_can( 'activate_plugins' ) ) - unset( $update_actions['plugins_page'] ); - - /** - * Filter the list of action links available following bulk plugin updates. - * - * @since 3.0.0 - * - * @param array $update_actions Array of plugin action links. - * @param array $plugin_info Array of information for the last-updated plugin. - */ - $update_actions = apply_filters( 'update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info ); - - if ( ! empty($update_actions) ) - $this->feedback(implode(' | ', (array)$update_actions)); - } -} - -class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { - public $theme_info = array(); // Theme_Upgrader::bulk() will fill this in. - - public function __construct($args = array()) { - parent::__construct($args); - } - - public function add_strings() { - parent::add_strings(); - $this->upgrader->strings['skin_before_update_header'] = __('Updating Theme %1$s (%2$d/%3$d)'); - } - - public function before($title = '') { - parent::before( $this->theme_info->display('Name') ); - } - - public function after($title = '') { - parent::after( $this->theme_info->display('Name') ); - $this->decrement_update_count( 'theme' ); - } - - public function bulk_footer() { - parent::bulk_footer(); - $update_actions = array( - 'themes_page' => '' . __('Return to Themes page') . '', - 'updates_page' => '' . __('Return to WordPress Updates') . '' - ); - if ( ! current_user_can( 'switch_themes' ) && ! current_user_can( 'edit_theme_options' ) ) - unset( $update_actions['themes_page'] ); - - /** - * Filter the list of action links available following bulk theme updates. - * - * @since 3.0.0 - * - * @param array $update_actions Array of theme action links. - * @param array $theme_info Array of information for the last-updated theme. - */ - $update_actions = apply_filters( 'update_bulk_theme_complete_actions', $update_actions, $this->theme_info ); - - if ( ! empty($update_actions) ) - $this->feedback(implode(' | ', (array)$update_actions)); - } -} - -/** - * Plugin Installer Skin for WordPress Plugin Installer. - * - * @package WordPress - * @subpackage Upgrader - * @since 2.8.0 - */ -class Plugin_Installer_Skin extends WP_Upgrader_Skin { - public $api; - public $type; - - public function __construct($args = array()) { - $defaults = array( 'type' => 'web', 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => '' ); - $args = wp_parse_args($args, $defaults); - - $this->type = $args['type']; - $this->api = isset($args['api']) ? $args['api'] : array(); - - parent::__construct($args); - } - - public function before() { - if ( !empty($this->api) ) - $this->upgrader->strings['process_success'] = sprintf( __('Successfully installed the plugin %s %s.'), $this->api->name, $this->api->version); - } - - public function after() { - - $plugin_file = $this->upgrader->plugin_info(); - - $install_actions = array(); - - $from = isset($_GET['from']) ? wp_unslash( $_GET['from'] ) : 'plugins'; - - if ( 'import' == $from ) - $install_actions['activate_plugin'] = '' . __('Activate Plugin & Run Importer') . ''; - else - $install_actions['activate_plugin'] = '' . __('Activate Plugin') . ''; - - if ( is_multisite() && current_user_can( 'manage_network_plugins' ) ) { - $install_actions['network_activate'] = '' . __('Network Activate') . ''; - unset( $install_actions['activate_plugin'] ); - } - - if ( 'import' == $from ) - $install_actions['importers_page'] = '' . __('Return to Importers') . ''; - else if ( $this->type == 'web' ) - $install_actions['plugins_page'] = '' . __('Return to Plugin Installer') . ''; - else - $install_actions['plugins_page'] = '' . __('Return to Plugins page') . ''; - - if ( ! $this->result || is_wp_error($this->result) ) { - unset( $install_actions['activate_plugin'], $install_actions['network_activate'] ); - } elseif ( ! current_user_can( 'activate_plugins' ) ) { - unset( $install_actions['activate_plugin'] ); - } - - /** - * Filter the list of action links available following a single plugin installation. - * - * @since 2.7.0 - * - * @param array $install_actions Array of plugin action links. - * @param object $api Object containing WordPress.org API plugin data. Empty - * for non-API installs, such as when a plugin is installed - * via upload. - * @param string $plugin_file Path to the plugin file. - */ - $install_actions = apply_filters( 'install_plugin_complete_actions', $install_actions, $this->api, $plugin_file ); - - if ( ! empty($install_actions) ) - $this->feedback(implode(' | ', (array)$install_actions)); - } -} - -/** - * Theme Installer Skin for the WordPress Theme Installer. - * - * @package WordPress - * @subpackage Upgrader - * @since 2.8.0 - */ -class Theme_Installer_Skin extends WP_Upgrader_Skin { - public $api; - public $type; - - public function __construct($args = array()) { - $defaults = array( 'type' => 'web', 'url' => '', 'theme' => '', 'nonce' => '', 'title' => '' ); - $args = wp_parse_args($args, $defaults); - - $this->type = $args['type']; - $this->api = isset($args['api']) ? $args['api'] : array(); - - parent::__construct($args); - } - - public function before() { - if ( !empty($this->api) ) - $this->upgrader->strings['process_success'] = sprintf( $this->upgrader->strings['process_success_specific'], $this->api->name, $this->api->version); - } - - public function after() { - if ( empty($this->upgrader->result['destination_name']) ) - return; - - $theme_info = $this->upgrader->theme_info(); - if ( empty( $theme_info ) ) - return; - - $name = $theme_info->display('Name'); - $stylesheet = $this->upgrader->result['destination_name']; - $template = $theme_info->get_template(); - - $preview_link = add_query_arg( array( - 'preview' => 1, - 'template' => urlencode( $template ), - 'stylesheet' => urlencode( $stylesheet ), - ), trailingslashit( home_url() ) ); - - $activate_link = add_query_arg( array( - 'action' => 'activate', - 'template' => urlencode( $template ), - 'stylesheet' => urlencode( $stylesheet ), - ), admin_url('themes.php') ); - $activate_link = wp_nonce_url( $activate_link, 'switch-theme_' . $stylesheet ); - - $install_actions = array(); - $install_actions['preview'] = '' . __('Preview') . ''; - if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { - $install_actions['preview'] .= '' . __('Live Preview') . ''; - } - $install_actions['activate'] = '' . __('Activate') . ''; - - if ( is_network_admin() && current_user_can( 'manage_network_themes' ) ) - $install_actions['network_enable'] = '' . __( 'Network Enable' ) . ''; - - if ( $this->type == 'web' ) - $install_actions['themes_page'] = '' . __('Return to Theme Installer') . ''; - elseif ( current_user_can( 'switch_themes' ) || current_user_can( 'edit_theme_options' ) ) - $install_actions['themes_page'] = '' . __('Return to Themes page') . ''; - - if ( ! $this->result || is_wp_error($this->result) || is_network_admin() || ! current_user_can( 'switch_themes' ) ) - unset( $install_actions['activate'], $install_actions['preview'] ); - - /** - * Filter the list of action links available following a single theme installation. - * - * @since 2.8.0 - * - * @param array $install_actions Array of theme action links. - * @param object $api Object containing WordPress.org API theme data. - * @param string $stylesheet Theme directory name. - * @param WP_Theme $theme_info Theme object. - */ - $install_actions = apply_filters( 'install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info ); - if ( ! empty($install_actions) ) - $this->feedback(implode(' | ', (array)$install_actions)); - } -} - -/** - * Theme Upgrader Skin for WordPress Theme Upgrades. - * - * @package WordPress - * @subpackage Upgrader - * @since 2.8.0 - */ -class Theme_Upgrader_Skin extends WP_Upgrader_Skin { - public $theme = ''; - - public function __construct($args = array()) { - $defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __('Update Theme') ); - $args = wp_parse_args($args, $defaults); - - $this->theme = $args['theme']; - - parent::__construct($args); - } - - public function after() { - $this->decrement_update_count( 'theme' ); - - $update_actions = array(); - if ( ! empty( $this->upgrader->result['destination_name'] ) && $theme_info = $this->upgrader->theme_info() ) { - $name = $theme_info->display('Name'); - $stylesheet = $this->upgrader->result['destination_name']; - $template = $theme_info->get_template(); - - $preview_link = add_query_arg( array( - 'preview' => 1, - 'template' => urlencode( $template ), - 'stylesheet' => urlencode( $stylesheet ), - ), trailingslashit( home_url() ) ); - - $activate_link = add_query_arg( array( - 'action' => 'activate', - 'template' => urlencode( $template ), - 'stylesheet' => urlencode( $stylesheet ), - ), admin_url('themes.php') ); - $activate_link = wp_nonce_url( $activate_link, 'switch-theme_' . $stylesheet ); - - if ( get_stylesheet() == $stylesheet ) { - if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { - $update_actions['preview'] = '' . __('Customize') . ''; - } - } elseif ( current_user_can( 'switch_themes' ) ) { - $update_actions['preview'] = '' . __('Preview') . ''; - if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { - $update_actions['preview'] .= '' . __('Live Preview') . ''; - } - $update_actions['activate'] = '' . __('Activate') . ''; - } - - if ( ! $this->result || is_wp_error( $this->result ) || is_network_admin() ) - unset( $update_actions['preview'], $update_actions['activate'] ); - } - - $update_actions['themes_page'] = '' . __('Return to Themes page') . ''; - - /** - * Filter the list of action links available following a single theme update. - * - * @since 2.8.0 - * - * @param array $update_actions Array of theme action links. - * @param string $theme Theme directory name. - */ - $update_actions = apply_filters( 'update_theme_complete_actions', $update_actions, $this->theme ); - - if ( ! empty($update_actions) ) - $this->feedback(implode(' | ', (array)$update_actions)); - } -} - -/** - * Translation Upgrader Skin for WordPress Translation Upgrades. - * - * @package WordPress - * @subpackage Upgrader - * @since 3.7.0 - */ -class Language_Pack_Upgrader_Skin extends WP_Upgrader_Skin { - public $language_update = null; - public $done_header = false; - public $done_footer = false; - public $display_footer_actions = true; - - public function __construct( $args = array() ) { - $defaults = array( 'url' => '', 'nonce' => '', 'title' => __( 'Update Translations' ), 'skip_header_footer' => false ); - $args = wp_parse_args( $args, $defaults ); - if ( $args['skip_header_footer'] ) { - $this->done_header = true; - $this->done_footer = true; - $this->display_footer_actions = false; - } - parent::__construct( $args ); - } - - public function before() { - $name = $this->upgrader->get_name_for_update( $this->language_update ); - - echo '
'; - - printf( '

' . __( 'Updating translations for %1$s (%2$s)…' ) . '

', $name, $this->language_update->language ); - } - - public function error( $error ) { - echo '
'; - parent::error( $error ); - echo '
'; - } - - public function after() { - echo '
'; - } - - public function bulk_footer() { - $this->decrement_update_count( 'translation' ); - $update_actions = array(); - $update_actions['updates_page'] = '' . __( 'Return to WordPress Updates' ) . ''; - - /** - * Filter the list of action links available following a translations update. - * - * @since 3.7.0 - * - * @param array $update_actions Array of translations update links. - */ - $update_actions = apply_filters( 'update_translations_complete_actions', $update_actions ); - - if ( $update_actions && $this->display_footer_actions ) - $this->feedback( implode( ' | ', $update_actions ) ); - } -} - -/** - * Upgrader Skin for Automatic WordPress Upgrades - * - * This skin is designed to be used when no output is intended, all output - * is captured and stored for the caller to process and log/email/discard. - * - * @package WordPress - * @subpackage Upgrader - * @since 3.7.0 - */ -class Automatic_Upgrader_Skin extends WP_Upgrader_Skin { - protected $messages = array(); - - public function request_filesystem_credentials( $error = false, $context = '' ) { - if ( $context ) - $this->options['context'] = $context; - // TODO: fix up request_filesystem_credentials(), or split it, to allow us to request a no-output version - // This will output a credentials form in event of failure, We don't want that, so just hide with a buffer - ob_start(); - $result = parent::request_filesystem_credentials( $error ); - ob_end_clean(); - return $result; - } - - public function get_upgrade_messages() { - return $this->messages; - } - - public function feedback( $data ) { - if ( is_wp_error( $data ) ) - $string = $data->get_error_message(); - else if ( is_array( $data ) ) - return; - else - $string = $data; - - if ( ! empty( $this->upgrader->strings[ $string ] ) ) - $string = $this->upgrader->strings[ $string ]; - - if ( strpos( $string, '%' ) !== false ) { - $args = func_get_args(); - $args = array_splice( $args, 1 ); - if ( ! empty( $args ) ) - $string = vsprintf( $string, $args ); - } - - $string = trim( $string ); - - // Only allow basic HTML in the messages, as it'll be used in emails/logs rather than direct browser output. - $string = wp_kses( $string, array( - 'a' => array( - 'href' => true - ), - 'br' => true, - 'em' => true, - 'strong' => true, - ) ); - - if ( empty( $string ) ) - return; - - $this->messages[] = $string; - } - - public function header() { - ob_start(); - } - - public function footer() { - $output = ob_get_contents(); - if ( ! empty( $output ) ) - $this->feedback( $output ); - ob_end_clean(); - } - - public function bulk_header() {} - public function bulk_footer() {} - public function before() {} - public function after() {} -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-upgrader.php b/sources/wordpress/wp-admin/includes/class-wp-upgrader.php deleted file mode 100644 index 2bef3ea..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-upgrader.php +++ /dev/null @@ -1,2676 +0,0 @@ -skin = new WP_Upgrader_Skin(); - else - $this->skin = $skin; - } - - public function init() { - $this->skin->set_upgrader($this); - $this->generic_strings(); - } - - public function generic_strings() { - $this->strings['bad_request'] = __('Invalid Data provided.'); - $this->strings['fs_unavailable'] = __('Could not access filesystem.'); - $this->strings['fs_error'] = __('Filesystem error.'); - $this->strings['fs_no_root_dir'] = __('Unable to locate WordPress Root directory.'); - $this->strings['fs_no_content_dir'] = __('Unable to locate WordPress Content directory (wp-content).'); - $this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress Plugin directory.'); - $this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress Theme directory.'); - /* translators: %s: directory name */ - $this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).'); - - $this->strings['download_failed'] = __('Download failed.'); - $this->strings['installing_package'] = __('Installing the latest version…'); - $this->strings['no_files'] = __('The package contains no files.'); - $this->strings['folder_exists'] = __('Destination folder already exists.'); - $this->strings['mkdir_failed'] = __('Could not create directory.'); - $this->strings['incompatible_archive'] = __('The package could not be installed.'); - - $this->strings['maintenance_start'] = __('Enabling Maintenance mode…'); - $this->strings['maintenance_end'] = __('Disabling Maintenance mode…'); - } - - public function fs_connect( $directories = array() ) { - global $wp_filesystem; - - if ( false === ($credentials = $this->skin->request_filesystem_credentials()) ) - return false; - - if ( ! WP_Filesystem($credentials) ) { - $error = true; - if ( is_object($wp_filesystem) && $wp_filesystem->errors->get_error_code() ) - $error = $wp_filesystem->errors; - $this->skin->request_filesystem_credentials($error); //Failed to connect, Error and request again - return false; - } - - if ( ! is_object($wp_filesystem) ) - return new WP_Error('fs_unavailable', $this->strings['fs_unavailable'] ); - - if ( is_wp_error($wp_filesystem->errors) && $wp_filesystem->errors->get_error_code() ) - return new WP_Error('fs_error', $this->strings['fs_error'], $wp_filesystem->errors); - - foreach ( (array)$directories as $dir ) { - switch ( $dir ) { - case ABSPATH: - if ( ! $wp_filesystem->abspath() ) - return new WP_Error('fs_no_root_dir', $this->strings['fs_no_root_dir']); - break; - case WP_CONTENT_DIR: - if ( ! $wp_filesystem->wp_content_dir() ) - return new WP_Error('fs_no_content_dir', $this->strings['fs_no_content_dir']); - break; - case WP_PLUGIN_DIR: - if ( ! $wp_filesystem->wp_plugins_dir() ) - return new WP_Error('fs_no_plugins_dir', $this->strings['fs_no_plugins_dir']); - break; - case get_theme_root(): - if ( ! $wp_filesystem->wp_themes_dir() ) - return new WP_Error('fs_no_themes_dir', $this->strings['fs_no_themes_dir']); - break; - default: - if ( ! $wp_filesystem->find_folder($dir) ) - return new WP_Error( 'fs_no_folder', sprintf( $this->strings['fs_no_folder'], esc_html( basename( $dir ) ) ) ); - break; - } - } - return true; - } //end fs_connect(); - - public function download_package($package) { - - /** - * Filter whether to return the package. - * - * @since 3.7.0 - * - * @param bool $reply Whether to bail without returning the package. - * Default false. - * @param string $package The package file name. - * @param WP_Upgrader $this The WP_Upgrader instance. - */ - $reply = apply_filters( 'upgrader_pre_download', false, $package, $this ); - if ( false !== $reply ) - return $reply; - - if ( ! preg_match('!^(http|https|ftp)://!i', $package) && file_exists($package) ) //Local file or remote? - return $package; //must be a local file.. - - if ( empty($package) ) - return new WP_Error('no_package', $this->strings['no_package']); - - $this->skin->feedback('downloading_package', $package); - - $download_file = download_url($package); - - if ( is_wp_error($download_file) ) - return new WP_Error('download_failed', $this->strings['download_failed'], $download_file->get_error_message()); - - return $download_file; - } - - public function unpack_package($package, $delete_package = true) { - global $wp_filesystem; - - $this->skin->feedback('unpack_package'); - - $upgrade_folder = $wp_filesystem->wp_content_dir() . 'upgrade/'; - - //Clean up contents of upgrade directory beforehand. - $upgrade_files = $wp_filesystem->dirlist($upgrade_folder); - if ( !empty($upgrade_files) ) { - foreach ( $upgrade_files as $file ) - $wp_filesystem->delete($upgrade_folder . $file['name'], true); - } - - //We need a working directory - $working_dir = $upgrade_folder . basename($package, '.zip'); - - // Clean up working directory - if ( $wp_filesystem->is_dir($working_dir) ) - $wp_filesystem->delete($working_dir, true); - - // Unzip package to working directory - $result = unzip_file( $package, $working_dir ); - - // Once extracted, delete the package if required. - if ( $delete_package ) - unlink($package); - - if ( is_wp_error($result) ) { - $wp_filesystem->delete($working_dir, true); - if ( 'incompatible_archive' == $result->get_error_code() ) { - return new WP_Error( 'incompatible_archive', $this->strings['incompatible_archive'], $result->get_error_data() ); - } - return $result; - } - - return $working_dir; - } - - public function install_package( $args = array() ) { - global $wp_filesystem, $wp_theme_directories; - - $defaults = array( - 'source' => '', // Please always pass this - 'destination' => '', // and this - 'clear_destination' => false, - 'clear_working' => false, - 'abort_if_destination_exists' => true, - 'hook_extra' => array() - ); - - $args = wp_parse_args($args, $defaults); - - // These were previously extract()'d. - $source = $args['source']; - $destination = $args['destination']; - $clear_destination = $args['clear_destination']; - - @set_time_limit( 300 ); - - if ( empty( $source ) || empty( $destination ) ) { - return new WP_Error( 'bad_request', $this->strings['bad_request'] ); - } - $this->skin->feedback( 'installing_package' ); - - /** - * Filter the install response before the installation has started. - * - * Returning a truthy value, or one that could be evaluated as a WP_Error - * will effectively short-circuit the installation, returning that value - * instead. - * - * @since 2.8.0 - * - * @param bool|WP_Error $response Response. - * @param array $hook_extra Extra arguments passed to hooked filters. - */ - $res = apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] ); - if ( is_wp_error( $res ) ) { - return $res; - } - - //Retain the Original source and destinations - $remote_source = $args['source']; - $local_destination = $destination; - - $source_files = array_keys( $wp_filesystem->dirlist( $remote_source ) ); - $remote_destination = $wp_filesystem->find_folder( $local_destination ); - - //Locate which directory to copy to the new folder, This is based on the actual folder holding the files. - if ( 1 == count( $source_files ) && $wp_filesystem->is_dir( trailingslashit( $args['source'] ) . $source_files[0] . '/' ) ) { //Only one folder? Then we want its contents. - $source = trailingslashit( $args['source'] ) . trailingslashit( $source_files[0] ); - } elseif ( count( $source_files ) == 0 ) { - return new WP_Error( 'incompatible_archive_empty', $this->strings['incompatible_archive'], $this->strings['no_files'] ); // There are no files? - } else { //It's only a single file, the upgrader will use the foldername of this file as the destination folder. foldername is based on zip filename. - $source = trailingslashit( $args['source'] ); - } - - /** - * Filter the source file location for the upgrade package. - * - * @since 2.8.0 - * - * @param string $source File source location. - * @param string $remote_source Remove file source location. - * @param WP_Upgrader $this WP_Upgrader instance. - */ - $source = apply_filters( 'upgrader_source_selection', $source, $remote_source, $this ); - if ( is_wp_error( $source ) ) { - return $source; - } - - // Has the source location changed? If so, we need a new source_files list. - if ( $source !== $remote_source ) { - $source_files = array_keys( $wp_filesystem->dirlist( $source ) ); - } - /* - * Protection against deleting files in any important base directories. - * Theme_Upgrader & Plugin_Upgrader also trigger this, as they pass the - * destination directory (WP_PLUGIN_DIR / wp-content/themes) intending - * to copy the directory into the directory, whilst they pass the source - * as the actual files to copy. - */ - $protected_directories = array( ABSPATH, WP_CONTENT_DIR, WP_PLUGIN_DIR, WP_CONTENT_DIR . '/themes' ); - - if ( is_array( $wp_theme_directories ) ) { - $protected_directories = array_merge( $protected_directories, $wp_theme_directories ); - } - if ( in_array( $destination, $protected_directories ) ) { - $remote_destination = trailingslashit( $remote_destination ) . trailingslashit( basename( $source ) ); - $destination = trailingslashit( $destination ) . trailingslashit( basename( $source ) ); - } - - if ( $clear_destination ) { - //We're going to clear the destination if there's something there - $this->skin->feedback('remove_old'); - $removed = true; - if ( $wp_filesystem->exists( $remote_destination ) ) { - $removed = $wp_filesystem->delete( $remote_destination, true ); - } - - /** - * Filter whether the upgrader cleared the destination. - * - * @since 2.8.0 - * - * @param bool $removed Whether the destination was cleared. - * @param string $local_destination The local package destination. - * @param string $remote_destination The remote package destination. - * @param array $hook_extra Extra arguments passed to hooked filters. - */ - $removed = apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] ); - - if ( is_wp_error($removed) ) { - return $removed; - } else if ( ! $removed ) { - return new WP_Error('remove_old_failed', $this->strings['remove_old_failed']); - } - } elseif ( $args['abort_if_destination_exists'] && $wp_filesystem->exists($remote_destination) ) { - //If we're not clearing the destination folder and something exists there already, Bail. - //But first check to see if there are actually any files in the folder. - $_files = $wp_filesystem->dirlist($remote_destination); - if ( ! empty($_files) ) { - $wp_filesystem->delete($remote_source, true); //Clear out the source files. - return new WP_Error('folder_exists', $this->strings['folder_exists'], $remote_destination ); - } - } - - //Create destination if needed - if ( ! $wp_filesystem->exists( $remote_destination ) ) { - if ( ! $wp_filesystem->mkdir( $remote_destination, FS_CHMOD_DIR ) ) { - return new WP_Error( 'mkdir_failed_destination', $this->strings['mkdir_failed'], $remote_destination ); - } - } - // Copy new version of item into place. - $result = copy_dir($source, $remote_destination); - if ( is_wp_error($result) ) { - if ( $args['clear_working'] ) { - $wp_filesystem->delete( $remote_source, true ); - } - return $result; - } - - //Clear the Working folder? - if ( $args['clear_working'] ) { - $wp_filesystem->delete( $remote_source, true ); - } - - $destination_name = basename( str_replace($local_destination, '', $destination) ); - if ( '.' == $destination_name ) { - $destination_name = ''; - } - - $this->result = compact('local_source', 'source', 'source_name', 'source_files', 'destination', 'destination_name', 'local_destination', 'remote_destination', 'clear_destination', 'delete_source_dir'); - - /** - * Filter the install response after the installation has finished. - * - * @since 2.8.0 - * - * @param bool $response Install response. - * @param array $hook_extra Extra arguments passed to hooked filters. - * @param array $result Installation result data. - */ - $res = apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result ); - - if ( is_wp_error($res) ) { - $this->result = $res; - return $res; - } - - //Bombard the calling function will all the info which we've just used. - return $this->result; - } - - public function run( $options ) { - - $defaults = array( - 'package' => '', // Please always pass this. - 'destination' => '', // And this - 'clear_destination' => false, - 'abort_if_destination_exists' => true, // Abort if the Destination directory exists, Pass clear_destination as false please - 'clear_working' => true, - 'is_multi' => false, - 'hook_extra' => array() // Pass any extra $hook_extra args here, this will be passed to any hooked filters. - ); - - $options = wp_parse_args( $options, $defaults ); - - if ( ! $options['is_multi'] ) { // call $this->header separately if running multiple times - $this->skin->header(); - } - - // Connect to the Filesystem first. - $res = $this->fs_connect( array( WP_CONTENT_DIR, $options['destination'] ) ); - // Mainly for non-connected filesystem. - if ( ! $res ) { - if ( ! $options['is_multi'] ) { - $this->skin->footer(); - } - return false; - } - - $this->skin->before(); - - if ( is_wp_error($res) ) { - $this->skin->error($res); - $this->skin->after(); - if ( ! $options['is_multi'] ) { - $this->skin->footer(); - } - return $res; - } - - //Download the package (Note, This just returns the filename of the file if the package is a local file) - $download = $this->download_package( $options['package'] ); - if ( is_wp_error($download) ) { - $this->skin->error($download); - $this->skin->after(); - if ( ! $options['is_multi'] ) { - $this->skin->footer(); - } - return $download; - } - - $delete_package = ( $download != $options['package'] ); // Do not delete a "local" file - - //Unzips the file into a temporary directory - $working_dir = $this->unpack_package( $download, $delete_package ); - if ( is_wp_error($working_dir) ) { - $this->skin->error($working_dir); - $this->skin->after(); - if ( ! $options['is_multi'] ) { - $this->skin->footer(); - } - return $working_dir; - } - - //With the given options, this installs it to the destination directory. - $result = $this->install_package( array( - 'source' => $working_dir, - 'destination' => $options['destination'], - 'clear_destination' => $options['clear_destination'], - 'abort_if_destination_exists' => $options['abort_if_destination_exists'], - 'clear_working' => $options['clear_working'], - 'hook_extra' => $options['hook_extra'] - ) ); - - $this->skin->set_result($result); - if ( is_wp_error($result) ) { - $this->skin->error($result); - $this->skin->feedback('process_failed'); - } else { - //Install Succeeded - $this->skin->feedback('process_success'); - } - - $this->skin->after(); - - if ( ! $options['is_multi'] ) { - - /** This action is documented in wp-admin/includes/class-wp-upgrader.php */ - do_action( 'upgrader_process_complete', $this, $options['hook_extra'] ); - $this->skin->footer(); - } - - return $result; - } - - public function maintenance_mode($enable = false) { - global $wp_filesystem; - $file = $wp_filesystem->abspath() . '.maintenance'; - if ( $enable ) { - $this->skin->feedback('maintenance_start'); - // Create maintenance file to signal that we are upgrading - $maintenance_string = ''; - $wp_filesystem->delete($file); - $wp_filesystem->put_contents($file, $maintenance_string, FS_CHMOD_FILE); - } else if ( !$enable && $wp_filesystem->exists($file) ) { - $this->skin->feedback('maintenance_end'); - $wp_filesystem->delete($file); - } - } - -} - -/** - * Plugin Upgrader class for WordPress Plugins, It is designed to upgrade/install plugins from a local zip, remote zip URL, or uploaded zip file. - * - * @package WordPress - * @subpackage Upgrader - * @since 2.8.0 - */ -class Plugin_Upgrader extends WP_Upgrader { - - public $result; - public $bulk = false; - - public function upgrade_strings() { - $this->strings['up_to_date'] = __('The plugin is at the latest version.'); - $this->strings['no_package'] = __('Update package not available.'); - $this->strings['downloading_package'] = __('Downloading update from %s…'); - $this->strings['unpack_package'] = __('Unpacking the update…'); - $this->strings['remove_old'] = __('Removing the old version of the plugin…'); - $this->strings['remove_old_failed'] = __('Could not remove the old plugin.'); - $this->strings['process_failed'] = __('Plugin update failed.'); - $this->strings['process_success'] = __('Plugin updated successfully.'); - } - - public function install_strings() { - $this->strings['no_package'] = __('Install package not available.'); - $this->strings['downloading_package'] = __('Downloading install package from %s…'); - $this->strings['unpack_package'] = __('Unpacking the package…'); - $this->strings['installing_package'] = __('Installing the plugin…'); - $this->strings['no_files'] = __('The plugin contains no files.'); - $this->strings['process_failed'] = __('Plugin install failed.'); - $this->strings['process_success'] = __('Plugin installed successfully.'); - } - - public function install( $package, $args = array() ) { - - $defaults = array( - 'clear_update_cache' => true, - ); - $parsed_args = wp_parse_args( $args, $defaults ); - - $this->init(); - $this->install_strings(); - - add_filter('upgrader_source_selection', array($this, 'check_package') ); - - $this->run( array( - 'package' => $package, - 'destination' => WP_PLUGIN_DIR, - 'clear_destination' => false, // Do not overwrite files. - 'clear_working' => true, - 'hook_extra' => array( - 'type' => 'plugin', - 'action' => 'install', - ) - ) ); - - remove_filter('upgrader_source_selection', array($this, 'check_package') ); - - if ( ! $this->result || is_wp_error($this->result) ) - return $this->result; - - // Force refresh of plugin update information - wp_clean_plugins_cache( $parsed_args['clear_update_cache'] ); - - return true; - } - - public function upgrade( $plugin, $args = array() ) { - - $defaults = array( - 'clear_update_cache' => true, - ); - $parsed_args = wp_parse_args( $args, $defaults ); - - $this->init(); - $this->upgrade_strings(); - - $current = get_site_transient( 'update_plugins' ); - if ( !isset( $current->response[ $plugin ] ) ) { - $this->skin->before(); - $this->skin->set_result(false); - $this->skin->error('up_to_date'); - $this->skin->after(); - return false; - } - - // Get the URL to the zip file - $r = $current->response[ $plugin ]; - - add_filter('upgrader_pre_install', array($this, 'deactivate_plugin_before_upgrade'), 10, 2); - add_filter('upgrader_clear_destination', array($this, 'delete_old_plugin'), 10, 4); - //'source_selection' => array($this, 'source_selection'), //there's a trac ticket to move up the directory for zip's which are made a bit differently, useful for non-.org plugins. - - $this->run( array( - 'package' => $r->package, - 'destination' => WP_PLUGIN_DIR, - 'clear_destination' => true, - 'clear_working' => true, - 'hook_extra' => array( - 'plugin' => $plugin, - 'type' => 'plugin', - 'action' => 'update', - ), - ) ); - - // Cleanup our hooks, in case something else does a upgrade on this connection. - remove_filter('upgrader_pre_install', array($this, 'deactivate_plugin_before_upgrade')); - remove_filter('upgrader_clear_destination', array($this, 'delete_old_plugin')); - - if ( ! $this->result || is_wp_error($this->result) ) - return $this->result; - - // Force refresh of plugin update information - wp_clean_plugins_cache( $parsed_args['clear_update_cache'] ); - - return true; - } - - public function bulk_upgrade( $plugins, $args = array() ) { - - $defaults = array( - 'clear_update_cache' => true, - ); - $parsed_args = wp_parse_args( $args, $defaults ); - - $this->init(); - $this->bulk = true; - $this->upgrade_strings(); - - $current = get_site_transient( 'update_plugins' ); - - add_filter('upgrader_clear_destination', array($this, 'delete_old_plugin'), 10, 4); - - $this->skin->header(); - - // Connect to the Filesystem first. - $res = $this->fs_connect( array(WP_CONTENT_DIR, WP_PLUGIN_DIR) ); - if ( ! $res ) { - $this->skin->footer(); - return false; - } - - $this->skin->bulk_header(); - - // Only start maintenance mode if: - // - running Multisite and there are one or more plugins specified, OR - // - a plugin with an update available is currently active. - // @TODO: For multisite, maintenance mode should only kick in for individual sites if at all possible. - $maintenance = ( is_multisite() && ! empty( $plugins ) ); - foreach ( $plugins as $plugin ) - $maintenance = $maintenance || ( is_plugin_active( $plugin ) && isset( $current->response[ $plugin] ) ); - if ( $maintenance ) - $this->maintenance_mode(true); - - $results = array(); - - $this->update_count = count($plugins); - $this->update_current = 0; - foreach ( $plugins as $plugin ) { - $this->update_current++; - $this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true); - - if ( !isset( $current->response[ $plugin ] ) ) { - $this->skin->set_result('up_to_date'); - $this->skin->before(); - $this->skin->feedback('up_to_date'); - $this->skin->after(); - $results[$plugin] = true; - continue; - } - - // Get the URL to the zip file - $r = $current->response[ $plugin ]; - - $this->skin->plugin_active = is_plugin_active($plugin); - - $result = $this->run( array( - 'package' => $r->package, - 'destination' => WP_PLUGIN_DIR, - 'clear_destination' => true, - 'clear_working' => true, - 'is_multi' => true, - 'hook_extra' => array( - 'plugin' => $plugin - ) - ) ); - - $results[$plugin] = $this->result; - - // Prevent credentials auth screen from displaying multiple times - if ( false === $result ) - break; - } //end foreach $plugins - - $this->maintenance_mode(false); - - /** - * Fires when the bulk upgrader process is complete. - * - * @since 3.6.0 - * - * @param Plugin_Upgrader $this Plugin_Upgrader instance. In other contexts, $this, might - * be a Theme_Upgrader or Core_Upgrade instance. - * @param array $data { - * Array of bulk item update data. - * - * @type string $action Type of action. Default 'update'. - * @type string $type Type of update process. Accepts 'plugin', 'theme', or 'core'. - * @type bool $bulk Whether the update process is a bulk update. Default true. - * @type array $packages Array of plugin, theme, or core packages to update. - * } - */ - do_action( 'upgrader_process_complete', $this, array( - 'action' => 'update', - 'type' => 'plugin', - 'bulk' => true, - 'plugins' => $plugins, - ) ); - - $this->skin->bulk_footer(); - - $this->skin->footer(); - - // Cleanup our hooks, in case something else does a upgrade on this connection. - remove_filter('upgrader_clear_destination', array($this, 'delete_old_plugin')); - - // Force refresh of plugin update information - wp_clean_plugins_cache( $parsed_args['clear_update_cache'] ); - - return $results; - } - - public function check_package($source) { - global $wp_filesystem; - - if ( is_wp_error($source) ) - return $source; - - $working_directory = str_replace( $wp_filesystem->wp_content_dir(), trailingslashit(WP_CONTENT_DIR), $source); - if ( ! is_dir($working_directory) ) // Sanity check, if the above fails, lets not prevent installation. - return $source; - - // Check the folder contains at least 1 valid plugin. - $plugins_found = false; - foreach ( glob( $working_directory . '*.php' ) as $file ) { - $info = get_plugin_data($file, false, false); - if ( !empty( $info['Name'] ) ) { - $plugins_found = true; - break; - } - } - - if ( ! $plugins_found ) - return new WP_Error( 'incompatible_archive_no_plugins', $this->strings['incompatible_archive'], __( 'No valid plugins were found.' ) ); - - return $source; - } - - // Return plugin info. - public function plugin_info() { - if ( ! is_array($this->result) ) - return false; - if ( empty($this->result['destination_name']) ) - return false; - - $plugin = get_plugins('/' . $this->result['destination_name']); //Ensure to pass with leading slash - if ( empty($plugin) ) - return false; - - $pluginfiles = array_keys($plugin); //Assume the requested plugin is the first in the list - - return $this->result['destination_name'] . '/' . $pluginfiles[0]; - } - - //Hooked to pre_install - public function deactivate_plugin_before_upgrade($return, $plugin) { - - if ( is_wp_error($return) ) //Bypass. - return $return; - - // When in cron (background updates) don't deactivate the plugin, as we require a browser to reactivate it - if ( defined( 'DOING_CRON' ) && DOING_CRON ) - return $return; - - $plugin = isset($plugin['plugin']) ? $plugin['plugin'] : ''; - if ( empty($plugin) ) - return new WP_Error('bad_request', $this->strings['bad_request']); - - if ( is_plugin_active($plugin) ) { - //Deactivate the plugin silently, Prevent deactivation hooks from running. - deactivate_plugins($plugin, true); - } - } - - //Hooked to upgrade_clear_destination - public function delete_old_plugin($removed, $local_destination, $remote_destination, $plugin) { - global $wp_filesystem; - - if ( is_wp_error($removed) ) - return $removed; //Pass errors through. - - $plugin = isset($plugin['plugin']) ? $plugin['plugin'] : ''; - if ( empty($plugin) ) - return new WP_Error('bad_request', $this->strings['bad_request']); - - $plugins_dir = $wp_filesystem->wp_plugins_dir(); - $this_plugin_dir = trailingslashit( dirname($plugins_dir . $plugin) ); - - if ( ! $wp_filesystem->exists($this_plugin_dir) ) //If it's already vanished. - return $removed; - - // If plugin is in its own directory, recursively delete the directory. - if ( strpos($plugin, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory separator AND that it's not the root plugin folder - $deleted = $wp_filesystem->delete($this_plugin_dir, true); - else - $deleted = $wp_filesystem->delete($plugins_dir . $plugin); - - if ( ! $deleted ) - return new WP_Error('remove_old_failed', $this->strings['remove_old_failed']); - - return true; - } -} - -/** - * Theme Upgrader class for WordPress Themes, It is designed to upgrade/install themes from a local zip, remote zip URL, or uploaded zip file. - * - * @package WordPress - * @subpackage Upgrader - * @since 2.8.0 - */ -class Theme_Upgrader extends WP_Upgrader { - - public $result; - public $bulk = false; - - public function upgrade_strings() { - $this->strings['up_to_date'] = __('The theme is at the latest version.'); - $this->strings['no_package'] = __('Update package not available.'); - $this->strings['downloading_package'] = __('Downloading update from %s…'); - $this->strings['unpack_package'] = __('Unpacking the update…'); - $this->strings['remove_old'] = __('Removing the old version of the theme…'); - $this->strings['remove_old_failed'] = __('Could not remove the old theme.'); - $this->strings['process_failed'] = __('Theme update failed.'); - $this->strings['process_success'] = __('Theme updated successfully.'); - } - - public function install_strings() { - $this->strings['no_package'] = __('Install package not available.'); - $this->strings['downloading_package'] = __('Downloading install package from %s…'); - $this->strings['unpack_package'] = __('Unpacking the package…'); - $this->strings['installing_package'] = __('Installing the theme…'); - $this->strings['no_files'] = __('The theme contains no files.'); - $this->strings['process_failed'] = __('Theme install failed.'); - $this->strings['process_success'] = __('Theme installed successfully.'); - /* translators: 1: theme name, 2: version */ - $this->strings['process_success_specific'] = __('Successfully installed the theme %1$s %2$s.'); - $this->strings['parent_theme_search'] = __('This theme requires a parent theme. Checking if it is installed…'); - /* translators: 1: theme name, 2: version */ - $this->strings['parent_theme_prepare_install'] = __('Preparing to install %1$s %2$s…'); - /* translators: 1: theme name, 2: version */ - $this->strings['parent_theme_currently_installed'] = __('The parent theme, %1$s %2$s, is currently installed.'); - /* translators: 1: theme name, 2: version */ - $this->strings['parent_theme_install_success'] = __('Successfully installed the parent theme, %1$s %2$s.'); - $this->strings['parent_theme_not_found'] = __('The parent theme could not be found. You will need to install the parent theme, %s, before you can use this child theme.'); - } - - public function check_parent_theme_filter($install_result, $hook_extra, $child_result) { - // Check to see if we need to install a parent theme - $theme_info = $this->theme_info(); - - if ( ! $theme_info->parent() ) - return $install_result; - - $this->skin->feedback( 'parent_theme_search' ); - - if ( ! $theme_info->parent()->errors() ) { - $this->skin->feedback( 'parent_theme_currently_installed', $theme_info->parent()->display('Name'), $theme_info->parent()->display('Version') ); - // We already have the theme, fall through. - return $install_result; - } - - // We don't have the parent theme, lets install it - $api = themes_api('theme_information', array('slug' => $theme_info->get('Template'), 'fields' => array('sections' => false, 'tags' => false) ) ); //Save on a bit of bandwidth. - - if ( ! $api || is_wp_error($api) ) { - $this->skin->feedback( 'parent_theme_not_found', $theme_info->get('Template') ); - // Don't show activate or preview actions after install - add_filter('install_theme_complete_actions', array($this, 'hide_activate_preview_actions') ); - return $install_result; - } - - // Backup required data we're going to override: - $child_api = $this->skin->api; - $child_success_message = $this->strings['process_success']; - - // Override them - $this->skin->api = $api; - $this->strings['process_success_specific'] = $this->strings['parent_theme_install_success'];//, $api->name, $api->version); - - $this->skin->feedback('parent_theme_prepare_install', $api->name, $api->version); - - add_filter('install_theme_complete_actions', '__return_false', 999); // Don't show any actions after installing the theme. - - // Install the parent theme - $parent_result = $this->run( array( - 'package' => $api->download_link, - 'destination' => get_theme_root(), - 'clear_destination' => false, //Do not overwrite files. - 'clear_working' => true - ) ); - - if ( is_wp_error($parent_result) ) - add_filter('install_theme_complete_actions', array($this, 'hide_activate_preview_actions') ); - - // Start cleaning up after the parents installation - remove_filter('install_theme_complete_actions', '__return_false', 999); - - // Reset child's result and data - $this->result = $child_result; - $this->skin->api = $child_api; - $this->strings['process_success'] = $child_success_message; - - return $install_result; - } - - public function hide_activate_preview_actions($actions) { - unset($actions['activate'], $actions['preview']); - return $actions; - } - - public function install( $package, $args = array() ) { - - $defaults = array( - 'clear_update_cache' => true, - ); - $parsed_args = wp_parse_args( $args, $defaults ); - - $this->init(); - $this->install_strings(); - - add_filter('upgrader_source_selection', array($this, 'check_package') ); - add_filter('upgrader_post_install', array($this, 'check_parent_theme_filter'), 10, 3); - - $this->run( array( - 'package' => $package, - 'destination' => get_theme_root(), - 'clear_destination' => false, //Do not overwrite files. - 'clear_working' => true, - 'hook_extra' => array( - 'type' => 'theme', - 'action' => 'install', - ), - ) ); - - remove_filter('upgrader_source_selection', array($this, 'check_package') ); - remove_filter('upgrader_post_install', array($this, 'check_parent_theme_filter')); - - if ( ! $this->result || is_wp_error($this->result) ) - return $this->result; - - // Refresh the Theme Update information - wp_clean_themes_cache( $parsed_args['clear_update_cache'] ); - - return true; - } - - public function upgrade( $theme, $args = array() ) { - - $defaults = array( - 'clear_update_cache' => true, - ); - $parsed_args = wp_parse_args( $args, $defaults ); - - $this->init(); - $this->upgrade_strings(); - - // Is an update available? - $current = get_site_transient( 'update_themes' ); - if ( !isset( $current->response[ $theme ] ) ) { - $this->skin->before(); - $this->skin->set_result(false); - $this->skin->error( 'up_to_date' ); - $this->skin->after(); - return false; - } - - $r = $current->response[ $theme ]; - - add_filter('upgrader_pre_install', array($this, 'current_before'), 10, 2); - add_filter('upgrader_post_install', array($this, 'current_after'), 10, 2); - add_filter('upgrader_clear_destination', array($this, 'delete_old_theme'), 10, 4); - - $this->run( array( - 'package' => $r['package'], - 'destination' => get_theme_root( $theme ), - 'clear_destination' => true, - 'clear_working' => true, - 'hook_extra' => array( - 'theme' => $theme, - 'type' => 'theme', - 'action' => 'update', - ), - ) ); - - remove_filter('upgrader_pre_install', array($this, 'current_before')); - remove_filter('upgrader_post_install', array($this, 'current_after')); - remove_filter('upgrader_clear_destination', array($this, 'delete_old_theme')); - - if ( ! $this->result || is_wp_error($this->result) ) - return $this->result; - - wp_clean_themes_cache( $parsed_args['clear_update_cache'] ); - - return true; - } - - public function bulk_upgrade( $themes, $args = array() ) { - - $defaults = array( - 'clear_update_cache' => true, - ); - $parsed_args = wp_parse_args( $args, $defaults ); - - $this->init(); - $this->bulk = true; - $this->upgrade_strings(); - - $current = get_site_transient( 'update_themes' ); - - add_filter('upgrader_pre_install', array($this, 'current_before'), 10, 2); - add_filter('upgrader_post_install', array($this, 'current_after'), 10, 2); - add_filter('upgrader_clear_destination', array($this, 'delete_old_theme'), 10, 4); - - $this->skin->header(); - - // Connect to the Filesystem first. - $res = $this->fs_connect( array(WP_CONTENT_DIR) ); - if ( ! $res ) { - $this->skin->footer(); - return false; - } - - $this->skin->bulk_header(); - - // Only start maintenance mode if: - // - running Multisite and there are one or more themes specified, OR - // - a theme with an update available is currently in use. - // @TODO: For multisite, maintenance mode should only kick in for individual sites if at all possible. - $maintenance = ( is_multisite() && ! empty( $themes ) ); - foreach ( $themes as $theme ) - $maintenance = $maintenance || $theme == get_stylesheet() || $theme == get_template(); - if ( $maintenance ) - $this->maintenance_mode(true); - - $results = array(); - - $this->update_count = count($themes); - $this->update_current = 0; - foreach ( $themes as $theme ) { - $this->update_current++; - - $this->skin->theme_info = $this->theme_info($theme); - - if ( !isset( $current->response[ $theme ] ) ) { - $this->skin->set_result(true); - $this->skin->before(); - $this->skin->feedback( 'up_to_date' ); - $this->skin->after(); - $results[$theme] = true; - continue; - } - - // Get the URL to the zip file - $r = $current->response[ $theme ]; - - $result = $this->run( array( - 'package' => $r['package'], - 'destination' => get_theme_root( $theme ), - 'clear_destination' => true, - 'clear_working' => true, - 'is_multi' => true, - 'hook_extra' => array( - 'theme' => $theme - ), - ) ); - - $results[$theme] = $this->result; - - // Prevent credentials auth screen from displaying multiple times - if ( false === $result ) - break; - } //end foreach $plugins - - $this->maintenance_mode(false); - - /** This action is documented in wp-admin/includes/class-wp-upgrader.php */ - do_action( 'upgrader_process_complete', $this, array( - 'action' => 'update', - 'type' => 'theme', - 'bulk' => true, - 'themes' => $themes, - ) ); - - $this->skin->bulk_footer(); - - $this->skin->footer(); - - // Cleanup our hooks, in case something else does a upgrade on this connection. - remove_filter('upgrader_pre_install', array($this, 'current_before')); - remove_filter('upgrader_post_install', array($this, 'current_after')); - remove_filter('upgrader_clear_destination', array($this, 'delete_old_theme')); - - // Refresh the Theme Update information - wp_clean_themes_cache( $parsed_args['clear_update_cache'] ); - - return $results; - } - - public function check_package($source) { - global $wp_filesystem; - - if ( is_wp_error($source) ) - return $source; - - // Check the folder contains a valid theme - $working_directory = str_replace( $wp_filesystem->wp_content_dir(), trailingslashit(WP_CONTENT_DIR), $source); - if ( ! is_dir($working_directory) ) // Sanity check, if the above fails, lets not prevent installation. - return $source; - - // A proper archive should have a style.css file in the single subdirectory - if ( ! file_exists( $working_directory . 'style.css' ) ) - return new WP_Error( 'incompatible_archive_theme_no_style', $this->strings['incompatible_archive'], __( 'The theme is missing the style.css stylesheet.' ) ); - - $info = get_file_data( $working_directory . 'style.css', array( 'Name' => 'Theme Name', 'Template' => 'Template' ) ); - - if ( empty( $info['Name'] ) ) - return new WP_Error( 'incompatible_archive_theme_no_name', $this->strings['incompatible_archive'], __( "The style.css stylesheet doesn't contain a valid theme header." ) ); - - // If it's not a child theme, it must have at least an index.php to be legit. - if ( empty( $info['Template'] ) && ! file_exists( $working_directory . 'index.php' ) ) - return new WP_Error( 'incompatible_archive_theme_no_index', $this->strings['incompatible_archive'], __( 'The theme is missing the index.php file.' ) ); - - return $source; - } - - public function current_before($return, $theme) { - - if ( is_wp_error($return) ) - return $return; - - $theme = isset($theme['theme']) ? $theme['theme'] : ''; - - if ( $theme != get_stylesheet() ) //If not current - return $return; - //Change to maintenance mode now. - if ( ! $this->bulk ) - $this->maintenance_mode(true); - - return $return; - } - - public function current_after($return, $theme) { - if ( is_wp_error($return) ) - return $return; - - $theme = isset($theme['theme']) ? $theme['theme'] : ''; - - if ( $theme != get_stylesheet() ) // If not current - return $return; - - // Ensure stylesheet name hasn't changed after the upgrade: - if ( $theme == get_stylesheet() && $theme != $this->result['destination_name'] ) { - wp_clean_themes_cache(); - $stylesheet = $this->result['destination_name']; - switch_theme( $stylesheet ); - } - - //Time to remove maintenance mode - if ( ! $this->bulk ) - $this->maintenance_mode(false); - return $return; - } - - public function delete_old_theme( $removed, $local_destination, $remote_destination, $theme ) { - global $wp_filesystem; - - if ( is_wp_error( $removed ) ) - return $removed; // Pass errors through. - - if ( ! isset( $theme['theme'] ) ) - return $removed; - - $theme = $theme['theme']; - $themes_dir = trailingslashit( $wp_filesystem->wp_themes_dir( $theme ) ); - if ( $wp_filesystem->exists( $themes_dir . $theme ) ) { - if ( ! $wp_filesystem->delete( $themes_dir . $theme, true ) ) - return false; - } - - return true; - } - - public function theme_info($theme = null) { - - if ( empty($theme) ) { - if ( !empty($this->result['destination_name']) ) - $theme = $this->result['destination_name']; - else - return false; - } - return wp_get_theme( $theme ); - } - -} - -add_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 ); - -/** - * Language pack upgrader, for updating translations of plugins, themes, and core. - * - * @package WordPress - * @subpackage Upgrader - * @since 3.7.0 - */ -class Language_Pack_Upgrader extends WP_Upgrader { - - public $result; - public $bulk = true; - - public static function async_upgrade( $upgrader = false ) { - // Avoid recursion. - if ( $upgrader && $upgrader instanceof Language_Pack_Upgrader ) { - return; - } - - // Nothing to do? - $language_updates = wp_get_translation_updates(); - if ( ! $language_updates ) { - return; - } - - // Avoid messing with VCS installs, at least for now. - // Noted: this is not the ideal way to accomplish this. - $check_vcs = new WP_Automatic_Updater; - if ( $check_vcs->is_vcs_checkout( WP_CONTENT_DIR ) ) { - return; - } - - foreach ( $language_updates as $key => $language_update ) { - $update = ! empty( $language_update->autoupdate ); - - /** - * Filter whether to asynchronously update translation for core, a plugin, or a theme. - * - * @since 4.0.0 - * - * @param bool $update Whether to update. - * @param object $language_update The update offer. - */ - $update = apply_filters( 'async_update_translation', $update, $language_update ); - - if ( ! $update ) { - unset( $language_updates[ $key ] ); - } - } - - if ( empty( $language_updates ) ) { - return; - } - - $skin = new Language_Pack_Upgrader_Skin( array( - 'skip_header_footer' => true, - ) ); - - $lp_upgrader = new Language_Pack_Upgrader( $skin ); - $lp_upgrader->bulk_upgrade( $language_updates ); - } - - public function upgrade_strings() { - $this->strings['starting_upgrade'] = __( 'Some of your translations need updating. Sit tight for a few more seconds while we update them as well.' ); - $this->strings['up_to_date'] = __( 'The translation is up to date.' ); // We need to silently skip this case - $this->strings['no_package'] = __( 'Update package not available.' ); - $this->strings['downloading_package'] = __( 'Downloading translation from %s…' ); - $this->strings['unpack_package'] = __( 'Unpacking the update…' ); - $this->strings['process_failed'] = __( 'Translation update failed.' ); - $this->strings['process_success'] = __( 'Translation updated successfully.' ); - } - - public function upgrade( $update = false, $args = array() ) { - if ( $update ) { - $update = array( $update ); - } - - $results = $this->bulk_upgrade( $update, $args ); - - if ( ! is_array( $results ) ) { - return $results; - } - - return $results[0]; - } - - public function bulk_upgrade( $language_updates = array(), $args = array() ) { - global $wp_filesystem; - - $defaults = array( - 'clear_update_cache' => true, - ); - $parsed_args = wp_parse_args( $args, $defaults ); - - $this->init(); - $this->upgrade_strings(); - - if ( ! $language_updates ) - $language_updates = wp_get_translation_updates(); - - if ( empty( $language_updates ) ) { - $this->skin->header(); - $this->skin->before(); - $this->skin->set_result( true ); - $this->skin->feedback( 'up_to_date' ); - $this->skin->after(); - $this->skin->bulk_footer(); - $this->skin->footer(); - return true; - } - - if ( 'upgrader_process_complete' == current_filter() ) - $this->skin->feedback( 'starting_upgrade' ); - - // Remove any existing upgrade filters from the plugin/theme upgraders #WP29425 & #WP29230 - remove_all_filters( 'upgrader_pre_install' ); - remove_all_filters( 'upgrader_clear_destination' ); - remove_all_filterS( 'upgrader_post_install' ); - remove_all_filters( 'upgrader_source_selection' ); - - add_filter( 'upgrader_source_selection', array( $this, 'check_package' ), 10, 2 ); - - $this->skin->header(); - - // Connect to the Filesystem first. - $res = $this->fs_connect( array( WP_CONTENT_DIR, WP_LANG_DIR ) ); - if ( ! $res ) { - $this->skin->footer(); - return false; - } - - $results = array(); - - $this->update_count = count( $language_updates ); - $this->update_current = 0; - - /* - * The filesystem's mkdir() is not recursive. Make sure WP_LANG_DIR exists, - * as we then may need to create a /plugins or /themes directory inside of it. - */ - $remote_destination = $wp_filesystem->find_folder( WP_LANG_DIR ); - if ( ! $wp_filesystem->exists( $remote_destination ) ) - if ( ! $wp_filesystem->mkdir( $remote_destination, FS_CHMOD_DIR ) ) - return new WP_Error( 'mkdir_failed_lang_dir', $this->strings['mkdir_failed'], $remote_destination ); - - foreach ( $language_updates as $language_update ) { - - $this->skin->language_update = $language_update; - - $destination = WP_LANG_DIR; - if ( 'plugin' == $language_update->type ) - $destination .= '/plugins'; - elseif ( 'theme' == $language_update->type ) - $destination .= '/themes'; - - $this->update_current++; - - $options = array( - 'package' => $language_update->package, - 'destination' => $destination, - 'clear_destination' => false, - 'abort_if_destination_exists' => false, // We expect the destination to exist. - 'clear_working' => true, - 'is_multi' => true, - 'hook_extra' => array( - 'language_update_type' => $language_update->type, - 'language_update' => $language_update, - ) - ); - - $result = $this->run( $options ); - - $results[] = $this->result; - - // Prevent credentials auth screen from displaying multiple times. - if ( false === $result ) - break; - } - - $this->skin->bulk_footer(); - - $this->skin->footer(); - - // Clean up our hooks, in case something else does an upgrade on this connection. - remove_filter( 'upgrader_source_selection', array( $this, 'check_package' ) ); - - if ( $parsed_args['clear_update_cache'] ) { - wp_clean_themes_cache( true ); - wp_clean_plugins_cache( true ); - delete_site_transient( 'update_core' ); - } - - return $results; - } - - public function check_package( $source, $remote_source ) { - global $wp_filesystem; - - if ( is_wp_error( $source ) ) - return $source; - - // Check that the folder contains a valid language. - $files = $wp_filesystem->dirlist( $remote_source ); - - // Check to see if a .po and .mo exist in the folder. - $po = $mo = false; - foreach ( (array) $files as $file => $filedata ) { - if ( '.po' == substr( $file, -3 ) ) - $po = true; - elseif ( '.mo' == substr( $file, -3 ) ) - $mo = true; - } - - if ( ! $mo || ! $po ) - return new WP_Error( 'incompatible_archive_pomo', $this->strings['incompatible_archive'], - __( 'The language pack is missing either the .po or .mo files.' ) ); - - return $source; - } - - public function get_name_for_update( $update ) { - switch ( $update->type ) { - case 'core': - return 'WordPress'; // Not translated - break; - case 'theme': - $theme = wp_get_theme( $update->slug ); - if ( $theme->exists() ) - return $theme->Get( 'Name' ); - break; - case 'plugin': - $plugin_data = get_plugins( '/' . $update->slug ); - $plugin_data = array_shift( $plugin_data ); - if ( $plugin_data ) - return $plugin_data['Name']; - break; - } - return ''; - } - -} - -/** - * Core Upgrader class for WordPress. It allows for WordPress to upgrade itself in combination with the wp-admin/includes/update-core.php file - * - * @package WordPress - * @subpackage Upgrader - * @since 2.8.0 - */ -class Core_Upgrader extends WP_Upgrader { - - public function upgrade_strings() { - $this->strings['up_to_date'] = __('WordPress is at the latest version.'); - $this->strings['no_package'] = __('Update package not available.'); - $this->strings['downloading_package'] = __('Downloading update from %s…'); - $this->strings['unpack_package'] = __('Unpacking the update…'); - $this->strings['copy_failed'] = __('Could not copy files.'); - $this->strings['copy_failed_space'] = __('Could not copy files. You may have run out of disk space.' ); - $this->strings['start_rollback'] = __( 'Attempting to roll back to previous version.' ); - $this->strings['rollback_was_required'] = __( 'Due to an error during updating, WordPress has rolled back to your previous version.' ); - } - - public function upgrade( $current, $args = array() ) { - global $wp_filesystem; - - include( ABSPATH . WPINC . '/version.php' ); // $wp_version; - - $start_time = time(); - - $defaults = array( - 'pre_check_md5' => true, - 'attempt_rollback' => false, - 'do_rollback' => false, - ); - $parsed_args = wp_parse_args( $args, $defaults ); - - $this->init(); - $this->upgrade_strings(); - - // Is an update available? - if ( !isset( $current->response ) || $current->response == 'latest' ) - return new WP_Error('up_to_date', $this->strings['up_to_date']); - - $res = $this->fs_connect( array(ABSPATH, WP_CONTENT_DIR) ); - if ( ! $res || is_wp_error( $res ) ) { - return $res; - } - - $wp_dir = trailingslashit($wp_filesystem->abspath()); - - $partial = true; - if ( $parsed_args['do_rollback'] ) - $partial = false; - elseif ( $parsed_args['pre_check_md5'] && ! $this->check_files() ) - $partial = false; - - /* - * If partial update is returned from the API, use that, unless we're doing - * a reinstall. If we cross the new_bundled version number, then use - * the new_bundled zip. Don't though if the constant is set to skip bundled items. - * If the API returns a no_content zip, go with it. Finally, default to the full zip. - */ - if ( $parsed_args['do_rollback'] && $current->packages->rollback ) - $to_download = 'rollback'; - elseif ( $current->packages->partial && 'reinstall' != $current->response && $wp_version == $current->partial_version && $partial ) - $to_download = 'partial'; - elseif ( $current->packages->new_bundled && version_compare( $wp_version, $current->new_bundled, '<' ) - && ( ! defined( 'CORE_UPGRADE_SKIP_NEW_BUNDLED' ) || ! CORE_UPGRADE_SKIP_NEW_BUNDLED ) ) - $to_download = 'new_bundled'; - elseif ( $current->packages->no_content ) - $to_download = 'no_content'; - else - $to_download = 'full'; - - $download = $this->download_package( $current->packages->$to_download ); - if ( is_wp_error($download) ) - return $download; - - $working_dir = $this->unpack_package( $download ); - if ( is_wp_error($working_dir) ) - return $working_dir; - - // Copy update-core.php from the new version into place. - if ( !$wp_filesystem->copy($working_dir . '/wordpress/wp-admin/includes/update-core.php', $wp_dir . 'wp-admin/includes/update-core.php', true) ) { - $wp_filesystem->delete($working_dir, true); - return new WP_Error( 'copy_failed_for_update_core_file', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), 'wp-admin/includes/update-core.php' ); - } - $wp_filesystem->chmod($wp_dir . 'wp-admin/includes/update-core.php', FS_CHMOD_FILE); - - require_once( ABSPATH . 'wp-admin/includes/update-core.php' ); - - if ( ! function_exists( 'update_core' ) ) - return new WP_Error( 'copy_failed_space', $this->strings['copy_failed_space'] ); - - $result = update_core( $working_dir, $wp_dir ); - - // In the event of an issue, we may be able to roll back. - if ( $parsed_args['attempt_rollback'] && $current->packages->rollback && ! $parsed_args['do_rollback'] ) { - $try_rollback = false; - if ( is_wp_error( $result ) ) { - $error_code = $result->get_error_code(); - /* - * Not all errors are equal. These codes are critical: copy_failed__copy_dir, - * mkdir_failed__copy_dir, copy_failed__copy_dir_retry, and disk_full. - * do_rollback allows for update_core() to trigger a rollback if needed. - */ - if ( false !== strpos( $error_code, 'do_rollback' ) ) - $try_rollback = true; - elseif ( false !== strpos( $error_code, '__copy_dir' ) ) - $try_rollback = true; - elseif ( 'disk_full' === $error_code ) - $try_rollback = true; - } - - if ( $try_rollback ) { - /** This filter is documented in wp-admin/includes/update-core.php */ - apply_filters( 'update_feedback', $result ); - - /** This filter is documented in wp-admin/includes/update-core.php */ - apply_filters( 'update_feedback', $this->strings['start_rollback'] ); - - $rollback_result = $this->upgrade( $current, array_merge( $parsed_args, array( 'do_rollback' => true ) ) ); - - $original_result = $result; - $result = new WP_Error( 'rollback_was_required', $this->strings['rollback_was_required'], (object) array( 'update' => $original_result, 'rollback' => $rollback_result ) ); - } - } - - /** This action is documented in wp-admin/includes/class-wp-upgrader.php */ - do_action( 'upgrader_process_complete', $this, array( 'action' => 'update', 'type' => 'core' ) ); - - // Clear the current updates - delete_site_transient( 'update_core' ); - - if ( ! $parsed_args['do_rollback'] ) { - $stats = array( - 'update_type' => $current->response, - 'success' => true, - 'fs_method' => $wp_filesystem->method, - 'fs_method_forced' => defined( 'FS_METHOD' ) || has_filter( 'filesystem_method' ), - 'time_taken' => time() - $start_time, - 'reported' => $wp_version, - 'attempted' => $current->version, - ); - - if ( is_wp_error( $result ) ) { - $stats['success'] = false; - // Did a rollback occur? - if ( ! empty( $try_rollback ) ) { - $stats['error_code'] = $original_result->get_error_code(); - $stats['error_data'] = $original_result->get_error_data(); - // Was the rollback successful? If not, collect its error too. - $stats['rollback'] = ! is_wp_error( $rollback_result ); - if ( is_wp_error( $rollback_result ) ) { - $stats['rollback_code'] = $rollback_result->get_error_code(); - $stats['rollback_data'] = $rollback_result->get_error_data(); - } - } else { - $stats['error_code'] = $result->get_error_code(); - $stats['error_data'] = $result->get_error_data(); - } - } - - wp_version_check( $stats ); - } - - return $result; - } - - // Determines if this WordPress Core version should update to $offered_ver or not - public static function should_update_to_version( $offered_ver /* x.y.z */ ) { - include( ABSPATH . WPINC . '/version.php' ); // $wp_version; // x.y.z - - $current_branch = implode( '.', array_slice( preg_split( '/[.-]/', $wp_version ), 0, 2 ) ); // x.y - $new_branch = implode( '.', array_slice( preg_split( '/[.-]/', $offered_ver ), 0, 2 ) ); // x.y - $current_is_development_version = (bool) strpos( $wp_version, '-' ); - - // Defaults: - $upgrade_dev = true; - $upgrade_minor = true; - $upgrade_major = false; - - // WP_AUTO_UPDATE_CORE = true (all), 'minor', false. - if ( defined( 'WP_AUTO_UPDATE_CORE' ) ) { - if ( false === WP_AUTO_UPDATE_CORE ) { - // Defaults to turned off, unless a filter allows it - $upgrade_dev = $upgrade_minor = $upgrade_major = false; - } elseif ( true === WP_AUTO_UPDATE_CORE ) { - // ALL updates for core - $upgrade_dev = $upgrade_minor = $upgrade_major = true; - } elseif ( 'minor' === WP_AUTO_UPDATE_CORE ) { - // Only minor updates for core - $upgrade_dev = $upgrade_major = false; - $upgrade_minor = true; - } - } - - // 1: If we're already on that version, not much point in updating? - if ( $offered_ver == $wp_version ) - return false; - - // 2: If we're running a newer version, that's a nope - if ( version_compare( $wp_version, $offered_ver, '>' ) ) - return false; - - $failure_data = get_site_option( 'auto_core_update_failed' ); - if ( $failure_data ) { - // If this was a critical update failure, cannot update. - if ( ! empty( $failure_data['critical'] ) ) - return false; - - // Don't claim we can update on update-core.php if we have a non-critical failure logged. - if ( $wp_version == $failure_data['current'] && false !== strpos( $offered_ver, '.1.next.minor' ) ) - return false; - - // Cannot update if we're retrying the same A to B update that caused a non-critical failure. - // Some non-critical failures do allow retries, like download_failed. - // 3.7.1 => 3.7.2 resulted in files_not_writable, if we are still on 3.7.1 and still trying to update to 3.7.2. - if ( empty( $failure_data['retry'] ) && $wp_version == $failure_data['current'] && $offered_ver == $failure_data['attempted'] ) - return false; - } - - // 3: 3.7-alpha-25000 -> 3.7-alpha-25678 -> 3.7-beta1 -> 3.7-beta2 - if ( $current_is_development_version ) { - - /** - * Filter whether to enable automatic core updates for development versions. - * - * @since 3.7.0 - * - * @param bool $upgrade_dev Whether to enable automatic updates for - * development versions. - */ - if ( ! apply_filters( 'allow_dev_auto_core_updates', $upgrade_dev ) ) - return false; - // Else fall through to minor + major branches below. - } - - // 4: Minor In-branch updates (3.7.0 -> 3.7.1 -> 3.7.2 -> 3.7.4) - if ( $current_branch == $new_branch ) { - - /** - * Filter whether to enable minor automatic core updates. - * - * @since 3.7.0 - * - * @param bool $upgrade_minor Whether to enable minor automatic core updates. - */ - return apply_filters( 'allow_minor_auto_core_updates', $upgrade_minor ); - } - - // 5: Major version updates (3.7.0 -> 3.8.0 -> 3.9.1) - if ( version_compare( $new_branch, $current_branch, '>' ) ) { - - /** - * Filter whether to enable major automatic core updates. - * - * @since 3.7.0 - * - * @param bool $upgrade_major Whether to enable major automatic core updates. - */ - return apply_filters( 'allow_major_auto_core_updates', $upgrade_major ); - } - - // If we're not sure, we don't want it - return false; - } - - public function check_files() { - global $wp_version, $wp_local_package; - - $checksums = get_core_checksums( $wp_version, isset( $wp_local_package ) ? $wp_local_package : 'en_US' ); - - if ( ! is_array( $checksums ) ) - return false; - - foreach ( $checksums as $file => $checksum ) { - // Skip files which get updated - if ( 'wp-content' == substr( $file, 0, 10 ) ) - continue; - if ( ! file_exists( ABSPATH . $file ) || md5_file( ABSPATH . $file ) !== $checksum ) - return false; - } - - return true; - } -} - -/** - * Upgrade Skin helper for File uploads. This class handles the upload process and passes it as if it's a local file to the Upgrade/Installer functions. - * - * @package WordPress - * @subpackage Upgrader - * @since 2.8.0 - */ -class File_Upload_Upgrader { - public $package; - public $filename; - public $id = 0; - - public function __construct($form, $urlholder) { - - if ( empty($_FILES[$form]['name']) && empty($_GET[$urlholder]) ) - wp_die(__('Please select a file')); - - //Handle a newly uploaded file, Else assume it's already been uploaded - if ( ! empty($_FILES) ) { - $overrides = array( 'test_form' => false, 'test_type' => false ); - $file = wp_handle_upload( $_FILES[$form], $overrides ); - - if ( isset( $file['error'] ) ) - wp_die( $file['error'] ); - - $this->filename = $_FILES[$form]['name']; - $this->package = $file['file']; - - // Construct the object array - $object = array( - 'post_title' => $this->filename, - 'post_content' => $file['url'], - 'post_mime_type' => $file['type'], - 'guid' => $file['url'], - 'context' => 'upgrader', - 'post_status' => 'private' - ); - - // Save the data. - $this->id = wp_insert_attachment( $object, $file['file'] ); - - // Schedule a cleanup for 2 hours from now in case of failed install. - wp_schedule_single_event( time() + 2 * HOUR_IN_SECONDS, 'upgrader_scheduled_cleanup', array( $this->id ) ); - - } elseif ( is_numeric( $_GET[$urlholder] ) ) { - // Numeric Package = previously uploaded file, see above. - $this->id = (int) $_GET[$urlholder]; - $attachment = get_post( $this->id ); - if ( empty($attachment) ) - wp_die(__('Please select a file')); - - $this->filename = $attachment->post_title; - $this->package = get_attached_file( $attachment->ID ); - } else { - // Else, It's set to something, Back compat for plugins using the old (pre-3.3) File_Uploader handler. - if ( ! ( ( $uploads = wp_upload_dir() ) && false === $uploads['error'] ) ) - wp_die( $uploads['error'] ); - - $this->filename = $_GET[$urlholder]; - $this->package = $uploads['basedir'] . '/' . $this->filename; - } - } - - public function cleanup() { - if ( $this->id ) - wp_delete_attachment( $this->id ); - - elseif ( file_exists( $this->package ) ) - return @unlink( $this->package ); - - return true; - } -} - -/** - * The WordPress automatic background updater. - * - * @package WordPress - * @subpackage Upgrader - * @since 3.7.0 - */ -class WP_Automatic_Updater { - - /** - * Tracks update results during processing. - * - * @var array - */ - protected $update_results = array(); - - /** - * Whether the entire automatic updater is disabled. - * - * @since 3.7.0 - */ - public function is_disabled() { - // Background updates are disabled if you don't want file changes. - if ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS ) - return true; - - if ( defined( 'WP_INSTALLING' ) ) - return true; - - // More fine grained control can be done through the WP_AUTO_UPDATE_CORE constant and filters. - $disabled = defined( 'AUTOMATIC_UPDATER_DISABLED' ) && AUTOMATIC_UPDATER_DISABLED; - - /** - * Filter whether to entirely disable background updates. - * - * There are more fine-grained filters and controls for selective disabling. - * This filter parallels the AUTOMATIC_UPDATER_DISABLED constant in name. - * - * This also disables update notification emails. That may change in the future. - * - * @since 3.7.0 - * - * @param bool $disabled Whether the updater should be disabled. - */ - return apply_filters( 'automatic_updater_disabled', $disabled ); - } - - /** - * Check for version control checkouts. - * - * Checks for Subversion, Git, Mercurial, and Bazaar. It recursively looks up the - * filesystem to the top of the drive, erring on the side of detecting a VCS - * checkout somewhere. - * - * ABSPATH is always checked in addition to whatever $context is (which may be the - * wp-content directory, for example). The underlying assumption is that if you are - * using version control *anywhere*, then you should be making decisions for - * how things get updated. - * - * @since 3.7.0 - * - * @param string $context The filesystem path to check, in addition to ABSPATH. - */ - public function is_vcs_checkout( $context ) { - $context_dirs = array( untrailingslashit( $context ) ); - if ( $context !== ABSPATH ) - $context_dirs[] = untrailingslashit( ABSPATH ); - - $vcs_dirs = array( '.svn', '.git', '.hg', '.bzr' ); - $check_dirs = array(); - - foreach ( $context_dirs as $context_dir ) { - // Walk up from $context_dir to the root. - do { - $check_dirs[] = $context_dir; - - // Once we've hit '/' or 'C:\', we need to stop. dirname will keep returning the input here. - if ( $context_dir == dirname( $context_dir ) ) - break; - - // Continue one level at a time. - } while ( $context_dir = dirname( $context_dir ) ); - } - - $check_dirs = array_unique( $check_dirs ); - - // Search all directories we've found for evidence of version control. - foreach ( $vcs_dirs as $vcs_dir ) { - foreach ( $check_dirs as $check_dir ) { - if ( $checkout = @is_dir( rtrim( $check_dir, '\\/' ) . "/$vcs_dir" ) ) - break 2; - } - } - - /** - * Filter whether the automatic updater should consider a filesystem - * location to be potentially managed by a version control system. - * - * @since 3.7.0 - * - * @param bool $checkout Whether a VCS checkout was discovered at $context - * or ABSPATH, or anywhere higher. - * @param string $context The filesystem context (a path) against which - * filesystem status should be checked. - */ - return apply_filters( 'automatic_updates_is_vcs_checkout', $checkout, $context ); - } - - /** - * Tests to see if we can and should update a specific item. - * - * @since 3.7.0 - * - * @param string $type The type of update being checked: 'core', 'theme', - * 'plugin', 'translation'. - * @param object $item The update offer. - * @param string $context The filesystem context (a path) against which filesystem - * access and status should be checked. - */ - public function should_update( $type, $item, $context ) { - // Used to see if WP_Filesystem is set up to allow unattended updates. - $skin = new Automatic_Upgrader_Skin; - - if ( $this->is_disabled() ) - return false; - - // If we can't do an auto core update, we may still be able to email the user. - if ( ! $skin->request_filesystem_credentials( false, $context ) || $this->is_vcs_checkout( $context ) ) { - if ( 'core' == $type ) - $this->send_core_update_notification_email( $item ); - return false; - } - - // Next up, is this an item we can update? - if ( 'core' == $type ) - $update = Core_Upgrader::should_update_to_version( $item->current ); - else - $update = ! empty( $item->autoupdate ); - - /** - * Filter whether to automatically update core, a plugin, a theme, or a language. - * - * The dynamic portion of the hook name, $type, refers to the type of update - * being checked. Can be 'core', 'theme', 'plugin', or 'translation'. - * - * Generally speaking, plugins, themes, and major core versions are not updated - * by default, while translations and minor and development versions for core - * are updated by default. - * - * See the allow_dev_auto_core_updates, allow_minor_auto_core_updates, and - * allow_major_auto_core_updates filters for a more straightforward way to - * adjust core updates. - * - * @since 3.7.0 - * - * @param bool $update Whether to update. - * @param object $item The update offer. - */ - $update = apply_filters( 'auto_update_' . $type, $update, $item ); - - if ( ! $update ) { - if ( 'core' == $type ) - $this->send_core_update_notification_email( $item ); - return false; - } - - // If it's a core update, are we actually compatible with its requirements? - if ( 'core' == $type ) { - global $wpdb; - - $php_compat = version_compare( phpversion(), $item->php_version, '>=' ); - if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) - $mysql_compat = true; - else - $mysql_compat = version_compare( $wpdb->db_version(), $item->mysql_version, '>=' ); - - if ( ! $php_compat || ! $mysql_compat ) - return false; - } - - return true; - } - - /** - * Notifies an administrator of a core update. - * - * @since 3.7.0 - * - * @param object $item The update offer. - */ - protected function send_core_update_notification_email( $item ) { - $notified = get_site_option( 'auto_core_update_notified' ); - - // Don't notify if we've already notified the same email address of the same version. - if ( $notified && $notified['email'] == get_site_option( 'admin_email' ) && $notified['version'] == $item->current ) - return false; - - // See if we need to notify users of a core update. - $notify = ! empty( $item->notify_email ); - - /** - * Filter whether to notify the site administrator of a new core update. - * - * By default, administrators are notified when the update offer received - * from WordPress.org sets a particular flag. This allows some discretion - * in if and when to notify. - * - * This filter is only evaluated once per release. If the same email address - * was already notified of the same new version, WordPress won't repeatedly - * email the administrator. - * - * This filter is also used on about.php to check if a plugin has disabled - * these notifications. - * - * @since 3.7.0 - * - * @param bool $notify Whether the site administrator is notified. - * @param object $item The update offer. - */ - if ( ! apply_filters( 'send_core_update_notification_email', $notify, $item ) ) - return false; - - $this->send_email( 'manual', $item ); - return true; - } - - /** - * Update an item, if appropriate. - * - * @since 3.7.0 - * - * @param string $type The type of update being checked: 'core', 'theme', 'plugin', 'translation'. - * @param object $item The update offer. - */ - public function update( $type, $item ) { - $skin = new Automatic_Upgrader_Skin; - - switch ( $type ) { - case 'core': - // The Core upgrader doesn't use the Upgrader's skin during the actual main part of the upgrade, instead, firing a filter. - add_filter( 'update_feedback', array( $skin, 'feedback' ) ); - $upgrader = new Core_Upgrader( $skin ); - $context = ABSPATH; - break; - case 'plugin': - $upgrader = new Plugin_Upgrader( $skin ); - $context = WP_PLUGIN_DIR; // We don't support custom Plugin directories, or updates for WPMU_PLUGIN_DIR - break; - case 'theme': - $upgrader = new Theme_Upgrader( $skin ); - $context = get_theme_root( $item->theme ); - break; - case 'translation': - $upgrader = new Language_Pack_Upgrader( $skin ); - $context = WP_CONTENT_DIR; // WP_LANG_DIR; - break; - } - - // Determine whether we can and should perform this update. - if ( ! $this->should_update( $type, $item, $context ) ) - return false; - - $upgrader_item = $item; - switch ( $type ) { - case 'core': - $skin->feedback( __( 'Updating to WordPress %s' ), $item->version ); - $item_name = sprintf( __( 'WordPress %s' ), $item->version ); - break; - case 'theme': - $upgrader_item = $item->theme; - $theme = wp_get_theme( $upgrader_item ); - $item_name = $theme->Get( 'Name' ); - $skin->feedback( __( 'Updating theme: %s' ), $item_name ); - break; - case 'plugin': - $upgrader_item = $item->plugin; - $plugin_data = get_plugin_data( $context . '/' . $upgrader_item ); - $item_name = $plugin_data['Name']; - $skin->feedback( __( 'Updating plugin: %s' ), $item_name ); - break; - case 'translation': - $language_item_name = $upgrader->get_name_for_update( $item ); - $item_name = sprintf( __( 'Translations for %s' ), $language_item_name ); - $skin->feedback( sprintf( __( 'Updating translations for %1$s (%2$s)…' ), $language_item_name, $item->language ) ); - break; - } - - // Boom, This sites about to get a whole new splash of paint! - $upgrade_result = $upgrader->upgrade( $upgrader_item, array( - 'clear_update_cache' => false, - // Always use partial builds if possible for core updates. - 'pre_check_md5' => false, - // Only available for core updates. - 'attempt_rollback' => true, - ) ); - - // If the filesystem is unavailable, false is returned. - if ( false === $upgrade_result ) { - $upgrade_result = new WP_Error( 'fs_unavailable', __( 'Could not access filesystem.' ) ); - } - - // Core doesn't output this, so lets append it so we don't get confused. - if ( 'core' == $type ) { - if ( is_wp_error( $upgrade_result ) ) { - $skin->error( __( 'Installation Failed' ), $upgrade_result ); - } else { - $skin->feedback( __( 'WordPress updated successfully' ) ); - } - } - - $this->update_results[ $type ][] = (object) array( - 'item' => $item, - 'result' => $upgrade_result, - 'name' => $item_name, - 'messages' => $skin->get_upgrade_messages() - ); - - return $upgrade_result; - } - - /** - * Kicks off the background update process, looping through all pending updates. - * - * @since 3.7.0 - */ - public function run() { - global $wpdb, $wp_version; - - if ( $this->is_disabled() ) - return; - - if ( ! is_main_network() || ! is_main_site() ) - return; - - $lock_name = 'auto_updater.lock'; - - // Try to lock - $lock_result = $wpdb->query( $wpdb->prepare( "INSERT IGNORE INTO `$wpdb->options` ( `option_name`, `option_value`, `autoload` ) VALUES (%s, %s, 'no') /* LOCK */", $lock_name, time() ) ); - - if ( ! $lock_result ) { - $lock_result = get_option( $lock_name ); - - // If we couldn't create a lock, and there isn't a lock, bail - if ( ! $lock_result ) - return; - - // Check to see if the lock is still valid - if ( $lock_result > ( time() - HOUR_IN_SECONDS ) ) - return; - } - - // Update the lock, as by this point we've definitely got a lock, just need to fire the actions - update_option( $lock_name, time() ); - - // Don't automatically run these thins, as we'll handle it ourselves - remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 ); - remove_action( 'upgrader_process_complete', 'wp_version_check' ); - remove_action( 'upgrader_process_complete', 'wp_update_plugins' ); - remove_action( 'upgrader_process_complete', 'wp_update_themes' ); - - // Next, Plugins - wp_update_plugins(); // Check for Plugin updates - $plugin_updates = get_site_transient( 'update_plugins' ); - if ( $plugin_updates && !empty( $plugin_updates->response ) ) { - foreach ( $plugin_updates->response as $plugin ) { - $this->update( 'plugin', $plugin ); - } - // Force refresh of plugin update information - wp_clean_plugins_cache(); - } - - // Next, those themes we all love - wp_update_themes(); // Check for Theme updates - $theme_updates = get_site_transient( 'update_themes' ); - if ( $theme_updates && !empty( $theme_updates->response ) ) { - foreach ( $theme_updates->response as $theme ) { - $this->update( 'theme', (object) $theme ); - } - // Force refresh of theme update information - wp_clean_themes_cache(); - } - - // Next, Process any core update - wp_version_check(); // Check for Core updates - $core_update = find_core_auto_update(); - - if ( $core_update ) - $this->update( 'core', $core_update ); - - // Clean up, and check for any pending translations - // (Core_Upgrader checks for core updates) - $theme_stats = array(); - if ( isset( $this->update_results['theme'] ) ) { - foreach ( $this->update_results['theme'] as $upgrade ) { - $theme_stats[ $upgrade->item->theme ] = ( true === $upgrade->result ); - } - } - wp_update_themes( $theme_stats ); // Check for Theme updates - - $plugin_stats = array(); - if ( isset( $this->update_results['plugin'] ) ) { - foreach ( $this->update_results['plugin'] as $upgrade ) { - $plugin_stats[ $upgrade->item->plugin ] = ( true === $upgrade->result ); - } - } - wp_update_plugins( $plugin_stats ); // Check for Plugin updates - - // Finally, Process any new translations - $language_updates = wp_get_translation_updates(); - if ( $language_updates ) { - foreach ( $language_updates as $update ) { - $this->update( 'translation', $update ); - } - - // Clear existing caches - wp_clean_plugins_cache(); - wp_clean_themes_cache(); - delete_site_transient( 'update_core' ); - - wp_version_check(); // check for Core updates - wp_update_themes(); // Check for Theme updates - wp_update_plugins(); // Check for Plugin updates - } - - // Send debugging email to all development installs. - if ( ! empty( $this->update_results ) ) { - $development_version = false !== strpos( $wp_version, '-' ); - - /** - * Filter whether to send a debugging email for each automatic background update. - * - * @since 3.7.0 - * - * @param bool $development_version By default, emails are sent if the - * install is a development version. - * Return false to avoid the email. - */ - if ( apply_filters( 'automatic_updates_send_debug_email', $development_version ) ) - $this->send_debug_email(); - - if ( ! empty( $this->update_results['core'] ) ) - $this->after_core_update( $this->update_results['core'][0] ); - - /** - * Fires after all automatic updates have run. - * - * @since 3.8.0 - * - * @param array $update_results The results of all attempted updates. - */ - do_action( 'automatic_updates_complete', $this->update_results ); - } - - // Clear the lock - delete_option( $lock_name ); - } - - /** - * If we tried to perform a core update, check if we should send an email, - * and if we need to avoid processing future updates. - * - * @param object $update_result The result of the core update. Includes the update offer and result. - */ - protected function after_core_update( $update_result ) { - global $wp_version; - - $core_update = $update_result->item; - $result = $update_result->result; - - if ( ! is_wp_error( $result ) ) { - $this->send_email( 'success', $core_update ); - return; - } - - $error_code = $result->get_error_code(); - - // Any of these WP_Error codes are critical failures, as in they occurred after we started to copy core files. - // We should not try to perform a background update again until there is a successful one-click update performed by the user. - $critical = false; - if ( $error_code === 'disk_full' || false !== strpos( $error_code, '__copy_dir' ) ) { - $critical = true; - } elseif ( $error_code === 'rollback_was_required' && is_wp_error( $result->get_error_data()->rollback ) ) { - // A rollback is only critical if it failed too. - $critical = true; - $rollback_result = $result->get_error_data()->rollback; - } elseif ( false !== strpos( $error_code, 'do_rollback' ) ) { - $critical = true; - } - - if ( $critical ) { - $critical_data = array( - 'attempted' => $core_update->current, - 'current' => $wp_version, - 'error_code' => $error_code, - 'error_data' => $result->get_error_data(), - 'timestamp' => time(), - 'critical' => true, - ); - if ( isset( $rollback_result ) ) { - $critical_data['rollback_code'] = $rollback_result->get_error_code(); - $critical_data['rollback_data'] = $rollback_result->get_error_data(); - } - update_site_option( 'auto_core_update_failed', $critical_data ); - $this->send_email( 'critical', $core_update, $result ); - return; - } - - /* - * Any other WP_Error code (like download_failed or files_not_writable) occurs before - * we tried to copy over core files. Thus, the failures are early and graceful. - * - * We should avoid trying to perform a background update again for the same version. - * But we can try again if another version is released. - * - * For certain 'transient' failures, like download_failed, we should allow retries. - * In fact, let's schedule a special update for an hour from now. (It's possible - * the issue could actually be on WordPress.org's side.) If that one fails, then email. - */ - $send = true; - $transient_failures = array( 'incompatible_archive', 'download_failed', 'insane_distro' ); - if ( in_array( $error_code, $transient_failures ) && ! get_site_option( 'auto_core_update_failed' ) ) { - wp_schedule_single_event( time() + HOUR_IN_SECONDS, 'wp_maybe_auto_update' ); - $send = false; - } - - $n = get_site_option( 'auto_core_update_notified' ); - // Don't notify if we've already notified the same email address of the same version of the same notification type. - if ( $n && 'fail' == $n['type'] && $n['email'] == get_site_option( 'admin_email' ) && $n['version'] == $core_update->current ) - $send = false; - - update_site_option( 'auto_core_update_failed', array( - 'attempted' => $core_update->current, - 'current' => $wp_version, - 'error_code' => $error_code, - 'error_data' => $result->get_error_data(), - 'timestamp' => time(), - 'retry' => in_array( $error_code, $transient_failures ), - ) ); - - if ( $send ) - $this->send_email( 'fail', $core_update, $result ); - } - - /** - * Sends an email upon the completion or failure of a background core update. - * - * @since 3.7.0 - * - * @param string $type The type of email to send. Can be one of 'success', 'fail', 'manual', 'critical'. - * @param object $core_update The update offer that was attempted. - * @param mixed $result Optional. The result for the core update. Can be WP_Error. - */ - protected function send_email( $type, $core_update, $result = null ) { - update_site_option( 'auto_core_update_notified', array( - 'type' => $type, - 'email' => get_site_option( 'admin_email' ), - 'version' => $core_update->current, - 'timestamp' => time(), - ) ); - - $next_user_core_update = get_preferred_from_update_core(); - // If the update transient is empty, use the update we just performed - if ( ! $next_user_core_update ) - $next_user_core_update = $core_update; - $newer_version_available = ( 'upgrade' == $next_user_core_update->response && version_compare( $next_user_core_update->version, $core_update->version, '>' ) ); - - /** - * Filter whether to send an email following an automatic background core update. - * - * @since 3.7.0 - * - * @param bool $send Whether to send the email. Default true. - * @param string $type The type of email to send. Can be one of - * 'success', 'fail', 'critical'. - * @param object $core_update The update offer that was attempted. - * @param mixed $result The result for the core update. Can be WP_Error. - */ - if ( 'manual' !== $type && ! apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result ) ) - return; - - switch ( $type ) { - case 'success' : // We updated. - /* translators: 1: Site name, 2: WordPress version number. */ - $subject = __( '[%1$s] Your site has updated to WordPress %2$s' ); - break; - - case 'fail' : // We tried to update but couldn't. - case 'manual' : // We can't update (and made no attempt). - /* translators: 1: Site name, 2: WordPress version number. */ - $subject = __( '[%1$s] WordPress %2$s is available. Please update!' ); - break; - - case 'critical' : // We tried to update, started to copy files, then things went wrong. - /* translators: 1: Site name. */ - $subject = __( '[%1$s] URGENT: Your site may be down due to a failed update' ); - break; - - default : - return; - } - - // If the auto update is not to the latest version, say that the current version of WP is available instead. - $version = 'success' === $type ? $core_update->current : $next_user_core_update->current; - $subject = sprintf( $subject, wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), $version ); - - $body = ''; - - switch ( $type ) { - case 'success' : - $body .= sprintf( __( 'Howdy! Your site at %1$s has been updated automatically to WordPress %2$s.' ), home_url(), $core_update->current ); - $body .= "\n\n"; - if ( ! $newer_version_available ) - $body .= __( 'No further action is needed on your part.' ) . ' '; - - // Can only reference the About screen if their update was successful. - list( $about_version ) = explode( '-', $core_update->current, 2 ); - $body .= sprintf( __( "For more on version %s, see the About WordPress screen:" ), $about_version ); - $body .= "\n" . admin_url( 'about.php' ); - - if ( $newer_version_available ) { - $body .= "\n\n" . sprintf( __( 'WordPress %s is also now available.' ), $next_user_core_update->current ) . ' '; - $body .= __( 'Updating is easy and only takes a few moments:' ); - $body .= "\n" . network_admin_url( 'update-core.php' ); - } - - break; - - case 'fail' : - case 'manual' : - $body .= sprintf( __( 'Please update your site at %1$s to WordPress %2$s.' ), home_url(), $next_user_core_update->current ); - - $body .= "\n\n"; - - // Don't show this message if there is a newer version available. - // Potential for confusion, and also not useful for them to know at this point. - if ( 'fail' == $type && ! $newer_version_available ) - $body .= __( 'We tried but were unable to update your site automatically.' ) . ' '; - - $body .= __( 'Updating is easy and only takes a few moments:' ); - $body .= "\n" . network_admin_url( 'update-core.php' ); - break; - - case 'critical' : - if ( $newer_version_available ) - $body .= sprintf( __( 'Your site at %1$s experienced a critical failure while trying to update WordPress to version %2$s.' ), home_url(), $core_update->current ); - else - $body .= sprintf( __( 'Your site at %1$s experienced a critical failure while trying to update to the latest version of WordPress, %2$s.' ), home_url(), $core_update->current ); - - $body .= "\n\n" . __( "This means your site may be offline or broken. Don't panic; this can be fixed." ); - - $body .= "\n\n" . __( "Please check out your site now. It's possible that everything is working. If it says you need to update, you should do so:" ); - $body .= "\n" . network_admin_url( 'update-core.php' ); - break; - } - - $critical_support = 'critical' === $type && ! empty( $core_update->support_email ); - if ( $critical_support ) { - // Support offer if available. - $body .= "\n\n" . sprintf( __( "The WordPress team is willing to help you. Forward this email to %s and the team will work with you to make sure your site is working." ), $core_update->support_email ); - } else { - // Add a note about the support forums. - $body .= "\n\n" . __( 'If you experience any issues or need support, the volunteers in the WordPress.org support forums may be able to help.' ); - $body .= "\n" . __( 'https://wordpress.org/support/' ); - } - - // Updates are important! - if ( $type != 'success' || $newer_version_available ) { - $body .= "\n\n" . __( 'Keeping your site updated is important for security. It also makes the internet a safer place for you and your readers.' ); - } - - if ( $critical_support ) { - $body .= " " . __( "If you reach out to us, we'll also ensure you'll never have this problem again." ); - } - - // If things are successful and we're now on the latest, mention plugins and themes if any are out of date. - if ( $type == 'success' && ! $newer_version_available && ( get_plugin_updates() || get_theme_updates() ) ) { - $body .= "\n\n" . __( 'You also have some plugins or themes with updates available. Update them now:' ); - $body .= "\n" . network_admin_url(); - } - - $body .= "\n\n" . __( 'The WordPress Team' ) . "\n"; - - if ( 'critical' == $type && is_wp_error( $result ) ) { - $body .= "\n***\n\n"; - $body .= sprintf( __( 'Your site was running version %s.' ), $GLOBALS['wp_version'] ); - $body .= ' ' . __( 'We have some data that describes the error your site encountered.' ); - $body .= ' ' . __( 'Your hosting company, support forum volunteers, or a friendly developer may be able to use this information to help you:' ); - - // If we had a rollback and we're still critical, then the rollback failed too. - // Loop through all errors (the main WP_Error, the update result, the rollback result) for code, data, etc. - if ( 'rollback_was_required' == $result->get_error_code() ) - $errors = array( $result, $result->get_error_data()->update, $result->get_error_data()->rollback ); - else - $errors = array( $result ); - - foreach ( $errors as $error ) { - if ( ! is_wp_error( $error ) ) - continue; - $error_code = $error->get_error_code(); - $body .= "\n\n" . sprintf( __( "Error code: %s" ), $error_code ); - if ( 'rollback_was_required' == $error_code ) - continue; - if ( $error->get_error_message() ) - $body .= "\n" . $error->get_error_message(); - $error_data = $error->get_error_data(); - if ( $error_data ) - $body .= "\n" . implode( ', ', (array) $error_data ); - } - $body .= "\n"; - } - - $to = get_site_option( 'admin_email' ); - $headers = ''; - - $email = compact( 'to', 'subject', 'body', 'headers' ); - - /** - * Filter the email sent following an automatic background core update. - * - * @since 3.7.0 - * - * @param array $email { - * Array of email arguments that will be passed to wp_mail(). - * - * @type string $to The email recipient. An array of emails - * can be returned, as handled by wp_mail(). - * @type string $subject The email's subject. - * @type string $body The email message body. - * @type string $headers Any email headers, defaults to no headers. - * } - * @param string $type The type of email being sent. Can be one of - * 'success', 'fail', 'manual', 'critical'. - * @param object $core_update The update offer that was attempted. - * @param mixed $result The result for the core update. Can be WP_Error. - */ - $email = apply_filters( 'auto_core_update_email', $email, $type, $core_update, $result ); - - wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] ); - } - - /** - * Prepares and sends an email of a full log of background update results, useful for debugging and geekery. - * - * @since 3.7.0 - */ - protected function send_debug_email() { - $update_count = 0; - foreach ( $this->update_results as $type => $updates ) - $update_count += count( $updates ); - - $body = array(); - $failures = 0; - - $body[] = sprintf( __( 'WordPress site: %s' ), network_home_url( '/' ) ); - - // Core - if ( isset( $this->update_results['core'] ) ) { - $result = $this->update_results['core'][0]; - if ( $result->result && ! is_wp_error( $result->result ) ) { - $body[] = sprintf( __( 'SUCCESS: WordPress was successfully updated to %s' ), $result->name ); - } else { - $body[] = sprintf( __( 'FAILED: WordPress failed to update to %s' ), $result->name ); - $failures++; - } - $body[] = ''; - } - - // Plugins, Themes, Translations - foreach ( array( 'plugin', 'theme', 'translation' ) as $type ) { - if ( ! isset( $this->update_results[ $type ] ) ) - continue; - $success_items = wp_list_filter( $this->update_results[ $type ], array( 'result' => true ) ); - if ( $success_items ) { - $messages = array( - 'plugin' => __( 'The following plugins were successfully updated:' ), - 'theme' => __( 'The following themes were successfully updated:' ), - 'translation' => __( 'The following translations were successfully updated:' ), - ); - - $body[] = $messages[ $type ]; - foreach ( wp_list_pluck( $success_items, 'name' ) as $name ) { - $body[] = ' * ' . sprintf( __( 'SUCCESS: %s' ), $name ); - } - } - if ( $success_items != $this->update_results[ $type ] ) { - // Failed updates - $messages = array( - 'plugin' => __( 'The following plugins failed to update:' ), - 'theme' => __( 'The following themes failed to update:' ), - 'translation' => __( 'The following translations failed to update:' ), - ); - - $body[] = $messages[ $type ]; - foreach ( $this->update_results[ $type ] as $item ) { - if ( ! $item->result || is_wp_error( $item->result ) ) { - $body[] = ' * ' . sprintf( __( 'FAILED: %s' ), $item->name ); - $failures++; - } - } - } - $body[] = ''; - } - - $site_title = wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ); - if ( $failures ) { - $body[] = trim( __( " -BETA TESTING? -============= - -This debugging email is sent when you are using a development version of WordPress. - -If you think these failures might be due to a bug in WordPress, could you report it? - * Open a thread in the support forums: https://wordpress.org/support/forum/alphabeta - * Or, if you're comfortable writing a bug report: http://core.trac.wordpress.org/ - -Thanks! -- The WordPress Team" ) ); - $body[] = ''; - - $subject = sprintf( __( '[%s] There were failures during background updates' ), $site_title ); - } else { - $subject = sprintf( __( '[%s] Background updates have finished' ), $site_title ); - } - - $body[] = trim( __( ' -UPDATE LOG -==========' ) ); - $body[] = ''; - - foreach ( array( 'core', 'plugin', 'theme', 'translation' ) as $type ) { - if ( ! isset( $this->update_results[ $type ] ) ) - continue; - foreach ( $this->update_results[ $type ] as $update ) { - $body[] = $update->name; - $body[] = str_repeat( '-', strlen( $update->name ) ); - foreach ( $update->messages as $message ) - $body[] = " " . html_entity_decode( str_replace( '…', '...', $message ) ); - if ( is_wp_error( $update->result ) ) { - $results = array( 'update' => $update->result ); - // If we rolled back, we want to know an error that occurred then too. - if ( 'rollback_was_required' === $update->result->get_error_code() ) - $results = (array) $update->result->get_error_data(); - foreach ( $results as $result_type => $result ) { - if ( ! is_wp_error( $result ) ) - continue; - - if ( 'rollback' === $result_type ) { - /* translators: 1: Error code, 2: Error message. */ - $body[] = ' ' . sprintf( __( 'Rollback Error: [%1$s] %2$s' ), $result->get_error_code(), $result->get_error_message() ); - } else { - /* translators: 1: Error code, 2: Error message. */ - $body[] = ' ' . sprintf( __( 'Error: [%1$s] %2$s' ), $result->get_error_code(), $result->get_error_message() ); - } - - if ( $result->get_error_data() ) - $body[] = ' ' . implode( ', ', (array) $result->get_error_data() ); - } - } - $body[] = ''; - } - } - - $email = array( - 'to' => get_site_option( 'admin_email' ), - 'subject' => $subject, - 'body' => implode( "\n", $body ), - 'headers' => '' - ); - - /** - * Filter the debug email that can be sent following an automatic - * background core update. - * - * @since 3.8.0 - * - * @param array $email { - * Array of email arguments that will be passed to wp_mail(). - * - * @type string $to The email recipient. An array of emails - * can be returned, as handled by wp_mail(). - * @type string $subject Email subject. - * @type string $body Email message body. - * @type string $headers Any email headers. Default empty. - * } - * @param int $failures The number of failures encountered while upgrading. - * @param mixed $results The results of all attempted updates. - */ - $email = apply_filters( 'automatic_updates_debug_email', $email, $failures, $this->update_results ); - - wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] ); - } -} diff --git a/sources/wordpress/wp-admin/includes/class-wp-users-list-table.php b/sources/wordpress/wp-admin/includes/class-wp-users-list-table.php deleted file mode 100644 index 15d55f4..0000000 --- a/sources/wordpress/wp-admin/includes/class-wp-users-list-table.php +++ /dev/null @@ -1,459 +0,0 @@ - 'user', - 'plural' => 'users', - 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, - ) ); - - $this->is_site_users = 'site-users-network' == $this->screen->id; - - if ( $this->is_site_users ) - $this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; - } - - /** - * Check the current user's permissions. - * - * @since 3.1.0 - * @access public - */ - public function ajax_user_can() { - if ( $this->is_site_users ) - return current_user_can( 'manage_sites' ); - else - return current_user_can( 'list_users' ); - } - - /** - * Prepare the users list for display. - * - * @since 3.1.0 - * @access public - */ - public function prepare_items() { - global $role, $usersearch; - - $usersearch = isset( $_REQUEST['s'] ) ? wp_unslash( trim( $_REQUEST['s'] ) ) : ''; - - $role = isset( $_REQUEST['role'] ) ? $_REQUEST['role'] : ''; - - $per_page = ( $this->is_site_users ) ? 'site_users_network_per_page' : 'users_per_page'; - $users_per_page = $this->get_items_per_page( $per_page ); - - $paged = $this->get_pagenum(); - - $args = array( - 'number' => $users_per_page, - 'offset' => ( $paged-1 ) * $users_per_page, - 'role' => $role, - 'search' => $usersearch, - 'fields' => 'all_with_meta' - ); - - if ( '' !== $args['search'] ) - $args['search'] = '*' . $args['search'] . '*'; - - if ( $this->is_site_users ) - $args['blog_id'] = $this->site_id; - - if ( isset( $_REQUEST['orderby'] ) ) - $args['orderby'] = $_REQUEST['orderby']; - - if ( isset( $_REQUEST['order'] ) ) - $args['order'] = $_REQUEST['order']; - - // Query the user IDs for this page - $wp_user_search = new WP_User_Query( $args ); - - $this->items = $wp_user_search->get_results(); - - $this->set_pagination_args( array( - 'total_items' => $wp_user_search->get_total(), - 'per_page' => $users_per_page, - ) ); - } - - /** - * Output 'no users' message. - * - * @since 3.1.0 - * @access public - */ - public function no_items() { - _e( 'No matching users were found.' ); - } - - /** - * Return an associative array listing all the views that can be used - * with this table. - * - * Provides a list of roles and user count for that role for easy - * filtering of the user table. - * - * @since 3.1.0 - * @access protected - * - * @return array An array of HTML links, one for each view. - */ - protected function get_views() { - global $wp_roles, $role; - - if ( $this->is_site_users ) { - $url = 'site-users.php?id=' . $this->site_id; - switch_to_blog( $this->site_id ); - $users_of_blog = count_users(); - restore_current_blog(); - } else { - $url = 'users.php'; - $users_of_blog = count_users(); - } - $total_users = $users_of_blog['total_users']; - $avail_roles =& $users_of_blog['avail_roles']; - unset($users_of_blog); - - $class = empty($role) ? ' class="current"' : ''; - $role_links = array(); - $role_links['all'] = "" . sprintf( _nx( 'All (%s)', 'All (%s)', $total_users, 'users' ), number_format_i18n( $total_users ) ) . ''; - foreach ( $wp_roles->get_names() as $this_role => $name ) { - if ( !isset($avail_roles[$this_role]) ) - continue; - - $class = ''; - - if ( $this_role == $role ) { - $class = ' class="current"'; - } - - $name = translate_user_role( $name ); - /* translators: User role name with count */ - $name = sprintf( __('%1$s (%2$s)'), $name, number_format_i18n( $avail_roles[$this_role] ) ); - $role_links[$this_role] = "$name"; - } - - return $role_links; - } - - /** - * Retrieve an associative array of bulk actions available on this table. - * - * @since 3.1.0 - * @access protected - * - * @return array Array of bulk actions. - */ - protected function get_bulk_actions() { - $actions = array(); - - if ( is_multisite() ) { - if ( current_user_can( 'remove_users' ) ) - $actions['remove'] = __( 'Remove' ); - } else { - if ( current_user_can( 'delete_users' ) ) - $actions['delete'] = __( 'Delete' ); - } - - return $actions; - } - - /** - * Output the controls to allow user roles to be changed in bulk. - * - * @since 3.1.0 - * @access protected - * - * @param string $which Whether this is being invoked above ("top") - * or below the table ("bottom"). - */ - protected function extra_tablenav( $which ) { - if ( 'top' != $which ) - return; - ?> -
- - - - '; - } - - /** - * Capture the bulk action required, and return it. - * - * Overridden from the base class implementation to capture - * the role change drop-down. - * - * @since 3.1.0 - * @access public - * - * @return string The bulk action required. - */ - public function current_action() { - if ( isset($_REQUEST['changeit']) && !empty($_REQUEST['new_role']) ) - return 'promote'; - - return parent::current_action(); - } - - /** - * Get a list of columns for the list table. - * - * @since 3.1.0 - * @access public - * - * @return array Array in which the key is the ID of the column, - * and the value is the description. - */ - public function get_columns() { - $c = array( - 'cb' => '', - 'username' => __( 'Username' ), - 'name' => __( 'Name' ), - 'email' => __( 'E-mail' ), - 'role' => __( 'Role' ), - 'posts' => __( 'Posts' ) - ); - - if ( $this->is_site_users ) - unset( $c['posts'] ); - - return $c; - } - - /** - * Get a list of sortable columns for the list table. - * - * @since 3.1.0 - * @access protected - * - * @return array Array of sortable columns. - */ - protected function get_sortable_columns() { - $c = array( - 'username' => 'login', - 'name' => 'name', - 'email' => 'email', - ); - - if ( $this->is_site_users ) - unset( $c['posts'] ); - - return $c; - } - - /** - * Generate the list table rows. - * - * @since 3.1.0 - * @access public - */ - public function display_rows() { - // Query the post counts for this page - if ( ! $this->is_site_users ) - $post_counts = count_many_users_posts( array_keys( $this->items ) ); - - $editable_roles = array_keys( get_editable_roles() ); - - $style = ''; - foreach ( $this->items as $userid => $user_object ) { - if ( count( $user_object->roles ) <= 1 ) { - $role = reset( $user_object->roles ); - } elseif ( $roles = array_intersect( array_values( $user_object->roles ), $editable_roles ) ) { - $role = reset( $roles ); - } else { - $role = reset( $user_object->roles ); - } - - if ( is_multisite() && empty( $user_object->allcaps ) ) - continue; - - $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"'; - echo "\n\t" . $this->single_row( $user_object, $style, $role, isset( $post_counts ) ? $post_counts[ $userid ] : 0 ); - } - } - - /** - * Generate HTML for a single row on the users.php admin panel. - * - * @since 3.1.0 - * @access public - * - * @param object $user_object The current user object. - * @param string $style Optional. Style attributes added to the element. - * Must be sanitized. Default empty. - * @param string $role Optional. Key for the $wp_roles array. Default empty. - * @param int $numposts Optional. Post count to display for this user. Defaults - * to zero, as in, a new user has made zero posts. - * @return string Output for a single row. - */ - public function single_row( $user_object, $style = '', $role = '', $numposts = 0 ) { - global $wp_roles; - - if ( !( is_object( $user_object ) && is_a( $user_object, 'WP_User' ) ) ) - $user_object = get_userdata( (int) $user_object ); - $user_object->filter = 'display'; - $email = $user_object->user_email; - - if ( $this->is_site_users ) - $url = "site-users.php?id={$this->site_id}&"; - else - $url = 'users.php?'; - - $checkbox = ''; - // Check if the user for this row is editable - if ( current_user_can( 'list_users' ) ) { - // Set up the user editing link - $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), get_edit_user_link( $user_object->ID ) ) ); - - // Set up the hover actions for this user - $actions = array(); - - if ( current_user_can( 'edit_user', $user_object->ID ) ) { - $edit = "$user_object->user_login
"; - $actions['edit'] = '' . __( 'Edit' ) . ''; - } else { - $edit = "$user_object->user_login
"; - } - - if ( !is_multisite() && get_current_user_id() != $user_object->ID && current_user_can( 'delete_user', $user_object->ID ) ) - $actions['delete'] = "" . __( 'Delete' ) . ""; - if ( is_multisite() && get_current_user_id() != $user_object->ID && current_user_can( 'remove_user', $user_object->ID ) ) - $actions['remove'] = "" . __( 'Remove' ) . ""; - - /** - * Filter the action links displayed under each user in the Users list table. - * - * @since 2.8.0 - * - * @param array $actions An array of action links to be displayed. - * Default 'Edit', 'Delete' for single site, and - * 'Edit', 'Remove' for Multisite. - * @param WP_User $user_object WP_User object for the currently-listed user. - */ - $actions = apply_filters( 'user_row_actions', $actions, $user_object ); - $edit .= $this->row_actions( $actions ); - - // Set up the checkbox ( because the user is editable, otherwise it's empty ) - $checkbox = '' - . ""; - - } else { - $edit = '' . $user_object->user_login . ''; - } - $role_name = isset( $wp_roles->role_names[$role] ) ? translate_user_role( $wp_roles->role_names[$role] ) : __( 'None' ); - $avatar = get_avatar( $user_object->ID, 32 ); - - $r = ""; - - list( $columns, $hidden ) = $this->get_column_info(); - - foreach ( $columns as $column_name => $column_display_name ) { - $class = "class=\"$column_name column-$column_name\""; - - $style = ''; - if ( in_array( $column_name, $hidden ) ) - $style = ' style="display:none;"'; - - $attributes = "$class$style"; - - switch ( $column_name ) { - case 'cb': - $r .= "$checkbox"; - break; - case 'username': - $r .= "$avatar $edit"; - break; - case 'name': - $r .= "$user_object->first_name $user_object->last_name"; - break; - case 'email': - $r .= "$email"; - break; - case 'role': - $r .= "$role_name"; - break; - case 'posts': - $attributes = 'class="posts column-posts num"' . $style; - $r .= ""; - if ( $numposts > 0 ) { - $r .= ""; - $r .= $numposts; - $r .= ''; - } else { - $r .= 0; - } - $r .= ""; - break; - default: - $r .= ""; - - /** - * Filter the display output of custom columns in the Users list table. - * - * @since 2.8.0 - * - * @param string $output Custom column output. Default empty. - * @param string $column_name Column name. - * @param int $user_id ID of the currently-listed user. - */ - $r .= apply_filters( 'manage_users_custom_column', '', $column_name, $user_object->ID ); - $r .= ""; - } - } - $r .= ''; - - return $r; - } -} diff --git a/sources/wordpress/wp-admin/includes/comment.php b/sources/wordpress/wp-admin/includes/comment.php deleted file mode 100644 index a74eeaa..0000000 --- a/sources/wordpress/wp-admin/includes/comment.php +++ /dev/null @@ -1,171 +0,0 @@ -get_var( $wpdb->prepare("SELECT comment_post_ID FROM $wpdb->comments - WHERE comment_author = %s AND comment_date = %s", $comment_author, $comment_date) ); -} - -/** - * Update a comment with values provided in $_POST. - * - * @since 2.0.0 - */ -function edit_comment() { - - if ( ! current_user_can( 'edit_comment', (int) $_POST['comment_ID'] ) ) - wp_die ( __( 'You are not allowed to edit comments on this post.' ) ); - - if ( isset( $_POST['newcomment_author'] ) ) - $_POST['comment_author'] = $_POST['newcomment_author']; - if ( isset( $_POST['newcomment_author_email'] ) ) - $_POST['comment_author_email'] = $_POST['newcomment_author_email']; - if ( isset( $_POST['newcomment_author_url'] ) ) - $_POST['comment_author_url'] = $_POST['newcomment_author_url']; - if ( isset( $_POST['comment_status'] ) ) - $_POST['comment_approved'] = $_POST['comment_status']; - if ( isset( $_POST['content'] ) ) - $_POST['comment_content'] = $_POST['content']; - if ( isset( $_POST['comment_ID'] ) ) - $_POST['comment_ID'] = (int) $_POST['comment_ID']; - - foreach ( array ('aa', 'mm', 'jj', 'hh', 'mn') as $timeunit ) { - if ( !empty( $_POST['hidden_' . $timeunit] ) && $_POST['hidden_' . $timeunit] != $_POST[$timeunit] ) { - $_POST['edit_date'] = '1'; - break; - } - } - - if ( !empty ( $_POST['edit_date'] ) ) { - $aa = $_POST['aa']; - $mm = $_POST['mm']; - $jj = $_POST['jj']; - $hh = $_POST['hh']; - $mn = $_POST['mn']; - $ss = $_POST['ss']; - $jj = ($jj > 31 ) ? 31 : $jj; - $hh = ($hh > 23 ) ? $hh -24 : $hh; - $mn = ($mn > 59 ) ? $mn -60 : $mn; - $ss = ($ss > 59 ) ? $ss -60 : $ss; - $_POST['comment_date'] = "$aa-$mm-$jj $hh:$mn:$ss"; - } - - wp_update_comment( $_POST ); -} - -/** - * Returns a comment object based on comment ID. - * - * @since 2.0.0 - * - * @param int $id ID of comment to retrieve. - * @return bool|object Comment if found. False on failure. - */ -function get_comment_to_edit( $id ) { - if ( !$comment = get_comment($id) ) - return false; - - $comment->comment_ID = (int) $comment->comment_ID; - $comment->comment_post_ID = (int) $comment->comment_post_ID; - - $comment->comment_content = format_to_edit( $comment->comment_content ); - /** - * Filter the comment content before editing. - * - * @since 2.0.0 - * - * @param string $comment->comment_content Comment content. - */ - $comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content ); - - $comment->comment_author = format_to_edit( $comment->comment_author ); - $comment->comment_author_email = format_to_edit( $comment->comment_author_email ); - $comment->comment_author_url = format_to_edit( $comment->comment_author_url ); - $comment->comment_author_url = esc_url($comment->comment_author_url); - - return $comment; -} - -/** - * Get the number of pending comments on a post or posts - * - * @since 2.3.0 - * @uses $wpdb - * - * @param int|array $post_id Either a single Post ID or an array of Post IDs - * @return int|array Either a single Posts pending comments as an int or an array of ints keyed on the Post IDs - */ -function get_pending_comments_num( $post_id ) { - global $wpdb; - - $single = false; - if ( !is_array($post_id) ) { - $post_id_array = (array) $post_id; - $single = true; - } else { - $post_id_array = $post_id; - } - $post_id_array = array_map('intval', $post_id_array); - $post_id_in = "'" . implode("', '", $post_id_array) . "'"; - - $pending = $wpdb->get_results( "SELECT comment_post_ID, COUNT(comment_ID) as num_comments FROM $wpdb->comments WHERE comment_post_ID IN ( $post_id_in ) AND comment_approved = '0' GROUP BY comment_post_ID", ARRAY_A ); - - if ( $single ) { - if ( empty($pending) ) - return 0; - else - return absint($pending[0]['num_comments']); - } - - $pending_keyed = array(); - - // Default to zero pending for all posts in request - foreach ( $post_id_array as $id ) - $pending_keyed[$id] = 0; - - if ( !empty($pending) ) - foreach ( $pending as $pend ) - $pending_keyed[$pend['comment_post_ID']] = absint($pend['num_comments']); - - return $pending_keyed; -} - -/** - * Add avatars to relevant places in admin, or try to. - * - * @since 2.5.0 - * @uses $comment - * - * @param string $name User name. - * @return string Avatar with Admin name. - */ -function floated_admin_avatar( $name ) { - global $comment; - $avatar = get_avatar( $comment, 32, 'mystery' ); - return "$avatar $name"; -} - -function enqueue_comment_hotkeys_js() { - if ( 'true' == get_user_option( 'comment_shortcuts' ) ) - wp_enqueue_script( 'jquery-table-hotkeys' ); -} diff --git a/sources/wordpress/wp-admin/includes/continents-cities.php b/sources/wordpress/wp-admin/includes/continents-cities.php deleted file mode 100644 index 0ebc4f3..0000000 --- a/sources/wordpress/wp-admin/includes/continents-cities.php +++ /dev/null @@ -1,493 +0,0 @@ -%1$s %2$s', __( 'Quick Draft' ), __( 'Drafts' ) ); - wp_add_dashboard_widget( 'dashboard_quick_press', $quick_draft_title, 'wp_dashboard_quick_press' ); - } - - // WordPress News - wp_add_dashboard_widget( 'dashboard_primary', __( 'WordPress News' ), 'wp_dashboard_primary' ); - - if ( is_network_admin() ) { - - /** - * Fires after core widgets for the Network Admin dashboard have been registered. - * - * @since 3.1.0 - */ - do_action( 'wp_network_dashboard_setup' ); - - /** - * Filter the list of widgets to load for the Network Admin dashboard. - * - * @since 3.1.0 - * - * @param array $dashboard_widgets An array of dashboard widgets. - */ - $dashboard_widgets = apply_filters( 'wp_network_dashboard_widgets', array() ); - } elseif ( is_user_admin() ) { - - /** - * Fires after core widgets for the User Admin dashboard have been registered. - * - * @since 3.1.0 - */ - do_action( 'wp_user_dashboard_setup' ); - - /** - * Filter the list of widgets to load for the User Admin dashboard. - * - * @since 3.1.0 - * - * @param array $dashboard_widgets An array of dashboard widgets. - */ - $dashboard_widgets = apply_filters( 'wp_user_dashboard_widgets', array() ); - } else { - - /** - * Fires after core widgets for the admin dashboard have been registered. - * - * @since 2.5.0 - */ - do_action( 'wp_dashboard_setup' ); - - /** - * Filter the list of widgets to load for the admin dashboard. - * - * @since 2.5.0 - * - * @param array $dashboard_widgets An array of dashboard widgets. - */ - $dashboard_widgets = apply_filters( 'wp_dashboard_widgets', array() ); - } - - foreach ( $dashboard_widgets as $widget_id ) { - $name = empty( $wp_registered_widgets[$widget_id]['all_link'] ) ? $wp_registered_widgets[$widget_id]['name'] : $wp_registered_widgets[$widget_id]['name'] . " " . __('View all') . ''; - wp_add_dashboard_widget( $widget_id, $name, $wp_registered_widgets[$widget_id]['callback'], $wp_registered_widget_controls[$widget_id]['callback'] ); - } - - if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset($_POST['widget_id']) ) { - check_admin_referer( 'edit-dashboard-widget_' . $_POST['widget_id'], 'dashboard-widget-nonce' ); - ob_start(); // hack - but the same hack wp-admin/widgets.php uses - wp_dashboard_trigger_widget_control( $_POST['widget_id'] ); - ob_end_clean(); - wp_redirect( remove_query_arg( 'edit' ) ); - exit; - } - - /** This action is documented in wp-admin/edit-form-advanced.php */ - do_action( 'do_meta_boxes', $screen->id, 'normal', '' ); - - /** This action is documented in wp-admin/edit-form-advanced.php */ - do_action( 'do_meta_boxes', $screen->id, 'side', '' ); -} - -function wp_add_dashboard_widget( $widget_id, $widget_name, $callback, $control_callback = null, $callback_args = null ) { - $screen = get_current_screen(); - global $wp_dashboard_control_callbacks; - - if ( $control_callback && current_user_can( 'edit_dashboard' ) && is_callable( $control_callback ) ) { - $wp_dashboard_control_callbacks[$widget_id] = $control_callback; - if ( isset( $_GET['edit'] ) && $widget_id == $_GET['edit'] ) { - list($url) = explode( '#', add_query_arg( 'edit', false ), 2 ); - $widget_name .= ' ' . __( 'Cancel' ) . ''; - $callback = '_wp_dashboard_control_callback'; - } else { - list($url) = explode( '#', add_query_arg( 'edit', $widget_id ), 2 ); - $widget_name .= ' ' . __( 'Configure' ) . ''; - } - } - - $side_widgets = array( 'dashboard_quick_press', 'dashboard_primary' ); - - $location = 'normal'; - if ( in_array($widget_id, $side_widgets) ) - $location = 'side'; - - $priority = 'core'; - if ( 'dashboard_browser_nag' === $widget_id ) - $priority = 'high'; - - add_meta_box( $widget_id, $widget_name, $callback, $screen, $location, $priority, $callback_args ); -} - -function _wp_dashboard_control_callback( $dashboard, $meta_box ) { - echo '
'; - wp_dashboard_trigger_widget_control( $meta_box['id'] ); - wp_nonce_field( 'edit-dashboard-widget_' . $meta_box['id'], 'dashboard-widget-nonce' ); - echo ''; - submit_button( __('Submit') ); - echo '
'; -} - -/** - * Displays the dashboard. - * - * @since 2.5.0 - */ -function wp_dashboard() { - $screen = get_current_screen(); - $columns = absint( $screen->get_columns() ); - $columns_css = ''; - if ( $columns ) { - $columns_css = " columns-$columns"; - } - -?> -
-
- id, 'normal', '' ); ?> -
-
- id, 'side', '' ); ?> -
-
- id, 'column3', '' ); ?> -
-
- id, 'column4', '' ); ?> -
-
- - -
-
    - publish ) { - if ( 'post' == $post_type ) { - $text = _n( '%s Post', '%s Posts', $num_posts->publish ); - } else { - $text = _n( '%s Page', '%s Pages', $num_posts->publish ); - } - $text = sprintf( $text, number_format_i18n( $num_posts->publish ) ); - $post_type_object = get_post_type_object( $post_type ); - if ( $post_type_object && current_user_can( $post_type_object->cap->edit_posts ) ) { - printf( '
  • %2$s
  • ', $post_type, $text ); - } else { - printf( '
  • %2$s
  • ', $post_type, $text ); - } - - } - } - // Comments - $num_comm = wp_count_comments(); - if ( $num_comm && $num_comm->total_comments ) { - $text = sprintf( _n( '%s Comment', '%s Comments', $num_comm->total_comments ), number_format_i18n( $num_comm->total_comments ) ); - ?> -
  • - moderated ) { - /* translators: Number of comments in moderation */ - $text = sprintf( _nx( '%s in moderation', '%s in moderation', $num_comm->moderated, 'comments' ), number_format_i18n( $num_comm->moderated ) ); - ?> -
  • - ' . implode( "\n
  • ", $elements ) . "
  • \n"; - } - - ?> -
- $content

"; - } - ?> -
- -
- -
- ' . __( 'Create a New Site' ) . ''; - if ( current_user_can('create_users') ) - $actions['create-user'] = '' . __( 'Create a New User' ) . ''; - - $c_users = get_user_count(); - $c_blogs = get_blog_count(); - - $user_text = sprintf( _n( '%s user', '%s users', $c_users ), number_format_i18n( $c_users ) ); - $blog_text = sprintf( _n( '%s site', '%s sites', $c_blogs ), number_format_i18n( $c_blogs ) ); - - $sentence = sprintf( __( 'You have %1$s and %2$s.' ), $blog_text, $user_text ); - - if ( $actions ) { - echo '
    '; - foreach ( $actions as $class => $action ) { - $actions[ $class ] = "\t
  • $action"; - } - echo implode( " |
  • \n", $actions ) . "\n"; - echo '
'; - } -?> -
- -

- - - - -
-

- - 'submit_users' ) ); ?> -

-
- -
-

- - 'submit_sites' ) ); ?> -

-
-post_status != 'auto-draft' ) { // auto-draft doesn't exists anymore - $post = get_default_post_to_edit( 'post', true ); - update_user_option( get_current_user_id(), 'dashboard_quick_press_last_post_id', (int) $post->ID ); // Save post_ID - } else { - $post->post_title = ''; // Remove the auto draft title - } - } else { - $post = get_default_post_to_edit( 'post' , true); - $user_id = get_current_user_id(); - // Don't create an option if this is a super admin who does not belong to this site. - if ( ! ( is_super_admin( $user_id ) && ! in_array( get_current_blog_id(), array_keys( get_blogs_of_user( $user_id ) ) ) ) ) - update_user_option( $user_id, 'dashboard_quick_press_last_post_id', (int) $post->ID ); // Save post_ID - } - - $post_ID = (int) $post->ID; -?> - -
- - -
- - -
- - -
- -
- - -
- -

- - - - - 'save-post' ) ); ?> -
-

- -
- 'post', - 'post_status' => 'draft', - 'author' => get_current_user_id(), - 'posts_per_page' => 4, - 'orderby' => 'modified', - 'order' => 'DESC' - ); - $drafts = get_posts( $query_args ); - if ( ! $drafts ) { - return; - } - } - - echo '
'; - if ( count( $drafts ) > 3 ) { - echo '

' . _x( 'View all', 'drafts' ) . "

\n"; - } - echo '

' . __( 'Drafts' ) . "

\n
    "; - - $drafts = array_slice( $drafts, 0, 3 ); - foreach ( $drafts as $draft ) { - $url = get_edit_post_link( $draft->ID ); - $title = _draft_or_post_title( $draft->ID ); - echo "
  • \n"; - echo '
    ' . esc_html( $title ) . ''; - echo '
    '; - if ( $the_content = wp_trim_words( $draft->post_content, 10 ) ) { - echo '

    ' . $the_content . '

    '; - } - echo "
  • \n"; - } - echo "
\n
"; -} - -function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) { - $GLOBALS['comment'] =& $comment; - - $comment_post_title = strip_tags(get_the_title( $comment->comment_post_ID )); - - if ( current_user_can( 'edit_post', $comment->comment_post_ID ) ) { - $comment_post_url = get_edit_post_link( $comment->comment_post_ID ); - $comment_post_link = "$comment_post_title"; - } else { - $comment_post_link = $comment_post_title; - } - - $comment_link = '#'; - - $actions_string = ''; - if ( current_user_can( 'edit_comment', $comment->comment_ID ) ) { - // Pre-order it: Approve | Reply | Edit | Spam | Trash. - $actions = array( - 'approve' => '', 'unapprove' => '', - 'reply' => '', - 'edit' => '', - 'spam' => '', - 'trash' => '', 'delete' => '' - ); - - $del_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "delete-comment_$comment->comment_ID" ) ); - $approve_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "approve-comment_$comment->comment_ID" ) ); - - $approve_url = esc_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$comment->comment_ID&$approve_nonce" ); - $unapprove_url = esc_url( "comment.php?action=unapprovecomment&p=$comment->comment_post_ID&c=$comment->comment_ID&$approve_nonce" ); - $spam_url = esc_url( "comment.php?action=spamcomment&p=$comment->comment_post_ID&c=$comment->comment_ID&$del_nonce" ); - $trash_url = esc_url( "comment.php?action=trashcomment&p=$comment->comment_post_ID&c=$comment->comment_ID&$del_nonce" ); - $delete_url = esc_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$comment->comment_ID&$del_nonce" ); - - $actions['approve'] = "" . __( 'Approve' ) . ''; - $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; - $actions['edit'] = "". __('Edit') . ''; - $actions['reply'] = '' . __('Reply') . ''; - $actions['spam'] = "" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . ''; - if ( !EMPTY_TRASH_DAYS ) - $actions['delete'] = "" . __('Delete Permanently') . ''; - else - $actions['trash'] = "" . _x('Trash', 'verb') . ''; - - /** - * Filter the action links displayed for each comment in the 'Recent Comments' - * dashboard widget. - * - * @since 2.6.0 - * - * @param array $actions An array of comment actions. Default actions include: - * 'Approve', 'Unapprove', 'Edit', 'Reply', 'Spam', - * 'Delete', and 'Trash'. - * @param object $comment The comment object. - */ - $actions = apply_filters( 'comment_row_actions', array_filter($actions), $comment ); - - $i = 0; - foreach ( $actions as $action => $link ) { - ++$i; - ( ( ('approve' == $action || 'unapprove' == $action) && 2 === $i ) || 1 === $i ) ? $sep = '' : $sep = ' | '; - - // Reply and quickedit need a hide-if-no-js span - if ( 'reply' == $action || 'quickedit' == $action ) - $action .= ' hide-if-no-js'; - - $actions_string .= "$sep$link"; - } - } - -?> - -
comment_ID) ) ); ?>> - - - - comment_type || 'comment' == $comment->comment_type ) : ?> - -
-

- ' . get_comment_author_link() . '', $comment_post_link.' '.$comment_link, ' ' . __( '[Pending]' ) . '' ); ?> -

- - comment_type ) { - case 'pingback' : - $type = __( 'Pingback' ); - break; - case 'trackback' : - $type = __( 'Trackback' ); - break; - default : - $type = ucwords( $comment->comment_type ); - } - $type = esc_html( $type ); - ?> -
- -

$type", $comment_post_link." ".$comment_link ); ?>

-

- - -

-

-
-
-'; - - $future_posts = wp_dashboard_recent_posts( array( - 'max' => 5, - 'status' => 'future', - 'order' => 'ASC', - 'title' => __( 'Publishing Soon' ), - 'id' => 'future-posts', - ) ); - $recent_posts = wp_dashboard_recent_posts( array( - 'max' => 5, - 'status' => 'publish', - 'order' => 'DESC', - 'title' => __( 'Recently Published' ), - 'id' => 'published-posts', - ) ); - - $recent_comments = wp_dashboard_recent_comments(); - - if ( !$future_posts && !$recent_posts && !$recent_comments ) { - echo '
'; - echo '

'; - echo '

' . __( 'No activity yet!' ) . '

'; - echo '
'; - } - - echo '
'; -} - -/** - * Generates Publishing Soon and Recently Published sections. - * - * @since 3.8.0 - * - * @param array $args { - * An array of query and display arguments. - * - * @type int $max Number of posts to display. - * @type string $status Post status. - * @type string $order Designates ascending ('ASC') or descending ('DESC') order. - * @type string $title Section title. - * @type string $id The container id. - * } - * @return bool False if no posts were found. True otherwise. - */ -function wp_dashboard_recent_posts( $args ) { - $query_args = array( - 'post_type' => 'post', - 'post_status' => $args['status'], - 'orderby' => 'date', - 'order' => $args['order'], - 'posts_per_page' => intval( $args['max'] ), - 'no_found_rows' => true, - 'cache_results' => false, - 'perm' => ( 'future' === $args['status'] ) ? 'editable' : 'readable', - ); - $posts = new WP_Query( $query_args ); - - if ( $posts->have_posts() ) { - - echo '
'; - - echo '

' . $args['title'] . '

'; - - echo '
    '; - - $today = date( 'Y-m-d', current_time( 'timestamp' ) ); - $tomorrow = date( 'Y-m-d', strtotime( '+1 day', current_time( 'timestamp' ) ) ); - - while ( $posts->have_posts() ) { - $posts->the_post(); - - $time = get_the_time( 'U' ); - if ( date( 'Y-m-d', $time ) == $today ) { - $relative = __( 'Today' ); - } elseif ( date( 'Y-m-d', $time ) == $tomorrow ) { - $relative = __( 'Tomorrow' ); - } else { - /* translators: date and time format for recent posts on the dashboard, see http://php.net/date */ - $relative = date_i18n( __( 'M jS' ), $time ); - } - - if ( current_user_can( 'edit_post', get_the_ID() ) ) { - /* translators: 1: relative date, 2: time, 3: post edit link, 4: post title */ - $format = __( '%1$s, %2$s %4$s' ); - printf( "
  • $format
  • ", $relative, get_the_time(), get_edit_post_link(), _draft_or_post_title() ); - } else { - /* translators: 1: relative date, 2: time, 3: post title */ - $format = __( '%1$s, %2$s %3$s' ); - printf( "
  • $format
  • ", $relative, get_the_time(), _draft_or_post_title() ); - } - } - - echo '
'; - echo '
'; - - } else { - return false; - } - - wp_reset_postdata(); - - return true; -} - -/** - * Show Comments section. - * - * @since 3.8.0 - * - * @param int $total_items Optional. Number of comments to query. Default 5. - * @return bool False if no comments were found. True otherwise. - */ -function wp_dashboard_recent_comments( $total_items = 5 ) { - // Select all comment types and filter out spam later for better query performance. - $comments = array(); - - $comments_query = array( - 'number' => $total_items * 5, - 'offset' => 0 - ); - if ( ! current_user_can( 'edit_posts' ) ) - $comments_query['status'] = 'approve'; - - while ( count( $comments ) < $total_items && $possible = get_comments( $comments_query ) ) { - foreach ( $possible as $comment ) { - if ( ! current_user_can( 'read_post', $comment->comment_post_ID ) ) - continue; - $comments[] = $comment; - if ( count( $comments ) == $total_items ) - break 2; - } - $comments_query['offset'] += $comments_query['number']; - $comments_query['number'] = $total_items * 10; - } - - if ( $comments ) { - echo '
'; - echo '

' . __( 'Comments' ) . '

'; - - echo '
'; - foreach ( $comments as $comment ) - _wp_dashboard_recent_comments_row( $comment ); - echo '
'; - - if ( current_user_can('edit_posts') ) - _get_list_table('WP_Comments_List_Table')->views(); - - wp_comment_reply( -1, false, 'dashboard', false ); - wp_comment_trashnotice(); - - echo '
'; - } else { - return false; - } - return true; -} - -/** - * Display generic dashboard RSS widget feed. - * - * @since 2.5.0 - * - * @param string $widget_id - */ -function wp_dashboard_rss_output( $widget_id ) { - $widgets = get_option( 'dashboard_widget_options' ); - echo '
'; - wp_widget_rss_output( $widgets[ $widget_id ] ); - echo "
"; -} - -/** - * Checks to see if all of the feed url in $check_urls are cached. - * - * If $check_urls is empty, look for the rss feed url found in the dashboard - * widget options of $widget_id. If cached, call $callback, a function that - * echoes out output for this widget. If not cache, echo a "Loading..." stub - * which is later replaced by AJAX call (see top of /wp-admin/index.php) - * - * @since 2.5.0 - * - * @param string $widget_id - * @param callback $callback - * @param array $check_urls RSS feeds - * @return bool False on failure. True on success. - */ -function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array() ) { - $loading = '

' . __( 'Loading…' ) . '

' . __( 'This widget requires JavaScript.' ) . '

'; - $doing_ajax = ( defined('DOING_AJAX') && DOING_AJAX ); - - if ( empty($check_urls) ) { - $widgets = get_option( 'dashboard_widget_options' ); - if ( empty($widgets[$widget_id]['url']) && ! $doing_ajax ) { - echo $loading; - return false; - } - $check_urls = array( $widgets[$widget_id]['url'] ); - } - - $cache_key = 'dash_' . md5( $widget_id ); - if ( false !== ( $output = get_transient( $cache_key ) ) ) { - echo $output; - return true; - } - - if ( ! $doing_ajax ) { - echo $loading; - return false; - } - - if ( $callback && is_callable( $callback ) ) { - $args = array_slice( func_get_args(), 3 ); - array_unshift( $args, $widget_id, $check_urls ); - ob_start(); - call_user_func_array( $callback, $args ); - set_transient( $cache_key, ob_get_flush(), 12 * HOUR_IN_SECONDS ); // Default lifetime in cache of 12 hours (same as the feeds) - } - - return true; -} - -/* Dashboard Widgets Controls */ - -// Calls widget_control callback -/** - * Calls widget control callback. - * - * @since 2.5.0 - * - * @param int $widget_control_id Registered Widget ID. - */ -function wp_dashboard_trigger_widget_control( $widget_control_id = false ) { - global $wp_dashboard_control_callbacks; - - if ( is_scalar($widget_control_id) && $widget_control_id && isset($wp_dashboard_control_callbacks[$widget_control_id]) && is_callable($wp_dashboard_control_callbacks[$widget_control_id]) ) { - call_user_func( $wp_dashboard_control_callbacks[$widget_control_id], '', array( 'id' => $widget_control_id, 'callback' => $wp_dashboard_control_callbacks[$widget_control_id] ) ); - } -} - -/** - * The RSS dashboard widget control. - * - * Sets up $args to be used as input to wp_widget_rss_form(). Handles POST data - * from RSS-type widgets. - * - * @since 2.5.0 - * - * @param string $widget_id - * @param array $form_inputs - */ -function wp_dashboard_rss_control( $widget_id, $form_inputs = array() ) { - if ( !$widget_options = get_option( 'dashboard_widget_options' ) ) - $widget_options = array(); - - if ( !isset($widget_options[$widget_id]) ) - $widget_options[$widget_id] = array(); - - $number = 1; // Hack to use wp_widget_rss_form() - $widget_options[$widget_id]['number'] = $number; - - if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset($_POST['widget-rss'][$number]) ) { - $_POST['widget-rss'][$number] = wp_unslash( $_POST['widget-rss'][$number] ); - $widget_options[$widget_id] = wp_widget_rss_process( $_POST['widget-rss'][$number] ); - $widget_options[$widget_id]['number'] = $number; - - // Title is optional. If black, fill it if possible. - if ( !$widget_options[$widget_id]['title'] && isset($_POST['widget-rss'][$number]['title']) ) { - $rss = fetch_feed($widget_options[$widget_id]['url']); - if ( is_wp_error($rss) ) { - $widget_options[$widget_id]['title'] = htmlentities(__('Unknown Feed')); - } else { - $widget_options[$widget_id]['title'] = htmlentities(strip_tags($rss->get_title())); - $rss->__destruct(); - unset($rss); - } - } - update_option( 'dashboard_widget_options', $widget_options ); - $cache_key = 'dash_' . md5( $widget_id ); - delete_transient( $cache_key ); - } - - wp_widget_rss_form( $widget_options[$widget_id], $form_inputs ); -} - -/** - * WordPress News dashboard widget. - * - * @since 2.7.0 - */ -function wp_dashboard_primary() { - $feeds = array( - 'news' => array( - - /** - * Filter the primary link URL for the 'WordPress News' dashboard widget. - * - * @since 2.5.0 - * - * @param string $link The widget's primary link URL. - */ - 'link' => apply_filters( 'dashboard_primary_link', __( 'http://wordpress.org/news/' ) ), - - /** - * Filter the primary feed URL for the 'WordPress News' dashboard widget. - * - * @since 2.3.0 - * - * @param string $url The widget's primary feed URL. - */ - 'url' => apply_filters( 'dashboard_primary_feed', __( 'http://wordpress.org/news/feed/' ) ), - - /** - * Filter the primary link title for the 'WordPress News' dashboard widget. - * - * @since 2.3.0 - * - * @param string $title Title attribute for the widget's primary link. - */ - 'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress Blog' ) ), - 'items' => 1, - 'show_summary' => 1, - 'show_author' => 0, - 'show_date' => 1, - ), - 'planet' => array( - - /** - * Filter the secondary link URL for the 'WordPress News' dashboard widget. - * - * @since 2.3.0 - * - * @param string $link The widget's secondary link URL. - */ - 'link' => apply_filters( 'dashboard_secondary_link', __( 'http://planet.wordpress.org/' ) ), - - /** - * Filter the secondary feed URL for the 'WordPress News' dashboard widget. - * - * @since 2.3.0 - * - * @param string $url The widget's secondary feed URL. - */ - 'url' => apply_filters( 'dashboard_secondary_feed', __( 'http://planet.wordpress.org/feed/' ) ), - - /** - * Filter the secondary link title for the 'WordPress News' dashboard widget. - * - * @since 2.3.0 - * - * @param string $title Title attribute for the widget's secondary link. - */ - 'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ), - 'items' => 3, - 'show_summary' => 0, - 'show_author' => 0, - 'show_date' => 0, - ) - ); - - if ( ( ! is_multisite() && is_blog_admin() && current_user_can( 'install_plugins' ) ) || ( is_network_admin() && current_user_can( 'manage_network_plugins' ) && current_user_can( 'install_plugins' ) ) ) { - $feeds['plugins'] = array( - 'link' => '', - 'url' => array( - 'popular' => 'http://wordpress.org/plugins/rss/browse/popular/', - ), - 'title' => '', - 'items' => 1, - 'show_summary' => 0, - 'show_author' => 0, - 'show_date' => 0, - ); - } - - wp_dashboard_cached_rss_widget( 'dashboard_primary', 'wp_dashboard_primary_output', $feeds ); -} - -/** - * Display the WordPress news feeds. - * - * @since 3.8.0 - * - * @param string $widget_id Widget ID. - * @param array $feeds Array of RSS feeds. - */ -function wp_dashboard_primary_output( $widget_id, $feeds ) { - foreach( $feeds as $type => $args ) { - $args['type'] = $type; - echo '
'; - if ( $type === 'plugins' ) { - wp_dashboard_plugins_output( $args['url'], $args ); - } else { - wp_widget_rss_output( $args['url'], $args ); - } - echo "
"; - } -} - -/** - * Display plugins text for the WordPress news widget. - * - * @since 2.5.0 - */ -function wp_dashboard_plugins_output( $rss, $args = array() ) { - // Plugin feeds plus link to install them - $popular = fetch_feed( $args['url']['popular'] ); - - if ( false === $plugin_slugs = get_transient( 'plugin_slugs' ) ) { - $plugin_slugs = array_keys( get_plugins() ); - set_transient( 'plugin_slugs', $plugin_slugs, DAY_IN_SECONDS ); - } - - echo '
    '; - - foreach ( array( $popular ) as $feed ) { - if ( is_wp_error( $feed ) || ! $feed->get_item_quantity() ) - continue; - - $items = $feed->get_items(0, 5); - - // Pick a random, non-installed plugin - while ( true ) { - // Abort this foreach loop iteration if there's no plugins left of this type - if ( 0 == count($items) ) - continue 2; - - $item_key = array_rand($items); - $item = $items[$item_key]; - - list($link, $frag) = explode( '#', $item->get_link() ); - - $link = esc_url($link); - if ( preg_match( '|/([^/]+?)/?$|', $link, $matches ) ) - $slug = $matches[1]; - else { - unset( $items[$item_key] ); - continue; - } - - // Is this random plugin's slug already installed? If so, try again. - reset( $plugin_slugs ); - foreach ( $plugin_slugs as $plugin_slug ) { - if ( $slug == substr( $plugin_slug, 0, strlen( $slug ) ) ) { - unset( $items[$item_key] ); - continue 2; - } - } - - // If we get to this point, then the random plugin isn't installed and we can stop the while(). - break; - } - - // Eliminate some common badly formed plugin descriptions - while ( ( null !== $item_key = array_rand($items) ) && false !== strpos( $items[$item_key]->get_description(), 'Plugin Name:' ) ) - unset($items[$item_key]); - - if ( !isset($items[$item_key]) ) - continue; - - $title = esc_html( $item->get_title() ); - - $ilink = wp_nonce_url('plugin-install.php?tab=plugin-information&plugin=' . $slug, 'install-plugin_' . $slug) . '&TB_iframe=true&width=600&height=800'; - echo "
  • " . __( 'Popular Plugin' ) . ": $title (" . __( 'Install' ) . ")
  • "; - - $feed->__destruct(); - unset( $feed ); - } - - echo '
'; -} - -/** - * Display file upload quota on dashboard. - * - * Runs on the activity_box_end hook in wp_dashboard_right_now(). - * - * @since 3.0.0 - * - * @return bool True if not multisite, user can't upload files, or the space check option is disabled. -*/ -function wp_dashboard_quota() { - if ( !is_multisite() || !current_user_can( 'upload_files' ) || get_site_option( 'upload_space_check_disabled' ) ) - return true; - - $quota = get_space_allowed(); - $used = get_space_used(); - - if ( $used > $quota ) - $percentused = '100'; - else - $percentused = ( $used / $quota ) * 100; - $used_class = ( $percentused >= 70 ) ? ' warning' : ''; - $used = round( $used, 2 ); - $percentused = number_format( $percentused ); - - ?> -

-
-
    -
  • - %3$s', - esc_url( admin_url( 'upload.php' ) ), - __( 'Manage Uploads' ), - $text - ); ?> -
  • - %3$s', - esc_url( admin_url( 'upload.php' ) ), - __( 'Manage Uploads' ), - $text - ); ?> -
  • -
-
- %s. Using an outdated browser makes your computer unsafe. For the best WordPress experience, please update your browser." ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ) ); - } else { - $msg = sprintf( __( "It looks like you're using an old version of %s. For the best WordPress experience, please update your browser." ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ) ); - } - - $browser_nag_class = ''; - if ( !empty( $response['img_src'] ) ) { - $img_src = ( is_ssl() && ! empty( $response['img_src_ssl'] ) )? $response['img_src_ssl'] : $response['img_src']; - - $notice .= '
'; - $browser_nag_class = ' has-browser-icon'; - } - $notice .= "

{$msg}

"; - - $browsehappy = 'http://browsehappy.com/'; - $locale = get_locale(); - if ( 'en_US' !== $locale ) - $browsehappy = add_query_arg( 'locale', $locale, $browsehappy ); - - $notice .= '

' . sprintf( __( 'Update %2$s or learn how to browse happy' ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ), esc_url( $browsehappy ) ) . '

'; - $notice .= '

' . __( 'Dismiss' ) . '

'; - $notice .= '
'; - } - - /** - * Filter the notice output for the 'Browse Happy' nag meta box. - * - * @since 3.2.0 - * - * @param string $notice The notice content. - * @param array $response An array containing web browser information. - */ - echo apply_filters( 'browse-happy-notice', $notice, $response ); -} - -function dashboard_browser_nag_class( $classes ) { - $response = wp_check_browser_version(); - - if ( $response && $response['insecure'] ) - $classes[] = 'browser-insecure'; - - return $classes; -} - -/** - * Check if the user needs a browser update - * - * @since 3.2.0 - * - * @return array|bool False on failure, array of browser data on success. - */ -function wp_check_browser_version() { - if ( empty( $_SERVER['HTTP_USER_AGENT'] ) ) - return false; - - $key = md5( $_SERVER['HTTP_USER_AGENT'] ); - - if ( false === ($response = get_site_transient('browser_' . $key) ) ) { - global $wp_version; - - $options = array( - 'body' => array( 'useragent' => $_SERVER['HTTP_USER_AGENT'] ), - 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url() - ); - - $response = wp_remote_post( 'http://api.wordpress.org/core/browse-happy/1.1/', $options ); - - if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) - return false; - - /** - * Response should be an array with: - * 'name' - string - A user friendly browser name - * 'version' - string - The most recent version of the browser - * 'current_version' - string - The version of the browser the user is using - * 'upgrade' - boolean - Whether the browser needs an upgrade - * 'insecure' - boolean - Whether the browser is deemed insecure - * 'upgrade_url' - string - The url to visit to upgrade - * 'img_src' - string - An image representing the browser - * 'img_src_ssl' - string - An image (over SSL) representing the browser - */ - $response = json_decode( wp_remote_retrieve_body( $response ), true ); - - if ( ! is_array( $response ) ) - return false; - - set_site_transient( 'browser_' . $key, $response, WEEK_IN_SECONDS ); - } - - return $response; -} - -/** - * Empty function usable by plugins to output empty dashboard widget (to be populated later by JS). - */ -function wp_dashboard_empty() {} - -/** - * Displays a welcome panel to introduce users to WordPress. - * - * @since 3.3.0 - */ -function wp_welcome_panel() { - ?> -
-

-

-
-
- -

- - - - true ) ) ) > 1 ) ) : ?> -

change your theme completely' ), admin_url( 'themes.php' ) ); ?>

- -
-
-

-
    - -
  • ' . __( 'Edit your front page' ) . '', get_edit_post_link( get_option( 'page_on_front' ) ) ); ?>
  • -
  • ' . __( 'Add additional pages' ) . '', admin_url( 'post-new.php?post_type=page' ) ); ?>
  • - -
  • ' . __( 'Edit your front page' ) . '', get_edit_post_link( get_option( 'page_on_front' ) ) ); ?>
  • -
  • ' . __( 'Add additional pages' ) . '', admin_url( 'post-new.php?post_type=page' ) ); ?>
  • -
  • ' . __( 'Add a blog post' ) . '', admin_url( 'post-new.php' ) ); ?>
  • - -
  • ' . __( 'Write your first blog post' ) . '', admin_url( 'post-new.php' ) ); ?>
  • -
  • ' . __( 'Add an About page' ) . '', admin_url( 'post-new.php?post_type=page' ) ); ?>
  • - -
  • ' . __( 'View your site' ) . '', home_url( '/' ) ); ?>
  • -
-
-
-

-
    - -
  • widgets or menus' ), - admin_url( 'widgets.php' ), admin_url( 'nav-menus.php' ) ); - } elseif ( current_theme_supports( 'widgets' ) ) { - echo '' . __( 'Manage widgets' ) . ''; - } else { - echo '' . __( 'Manage menus' ) . ''; - } - ?>
  • - - -
  • ' . __( 'Turn comments on or off' ) . '', admin_url( 'options-discussion.php' ) ); ?>
  • - -
  • ' . __( 'Learn more about getting started' ) . '', __( 'http://codex.wordpress.org/First_Steps_With_WordPress' ) ); ?>
  • -
-
-
-
- 0) ); - - if ( $categories ) { - foreach ( $categories as $category ) { - if ( $currentcat != $category->term_id && $parent == $category->parent) { - $pad = str_repeat( '– ', $level ); - $category->name = esc_html( $category->name ); - echo "\n\t"; - wp_dropdown_cats( $currentcat, $currentparent, $category->term_id, $level +1, $categories ); - } - } - } else { - return false; - } -} - -/** - * Register a setting and its sanitization callback - * - * @since 2.7.0 - * @deprecated 3.0.0 - * @deprecated Use register_setting() - * @see register_setting() - * - * @param string $option_group A settings group name. Should correspond to a whitelisted option key name. - * Default whitelisted option key names include "general," "discussion," and "reading," among others. - * @param string $option_name The name of an option to sanitize and save. - * @param unknown_type $sanitize_callback A callback function that sanitizes the option's value. - * @return unknown - */ -function add_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) { - _deprecated_function( __FUNCTION__, '3.0', 'register_setting()' ); - return register_setting( $option_group, $option_name, $sanitize_callback ); -} - -/** - * Unregister a setting - * - * @since 2.7.0 - * @deprecated 3.0.0 - * @deprecated Use unregister_setting() - * @see unregister_setting() - * - * @param unknown_type $option_group - * @param unknown_type $option_name - * @param unknown_type $sanitize_callback - * @return unknown - */ -function remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) { - _deprecated_function( __FUNCTION__, '3.0', 'unregister_setting()' ); - return unregister_setting( $option_group, $option_name, $sanitize_callback ); -} - -/** - * Determines the language to use for CodePress syntax highlighting. - * - * @since 2.8.0 - * @deprecated 3.0.0 - * - * @param string $filename -**/ -function codepress_get_lang( $filename ) { - _deprecated_function( __FUNCTION__, '3.0' ); - return; -} - -/** - * Adds Javascript required to make CodePress work on the theme/plugin editors. - * - * @since 2.8.0 - * @deprecated 3.0.0 -**/ -function codepress_footer_js() { - _deprecated_function( __FUNCTION__, '3.0' ); - return; -} - -/** - * Determine whether to use CodePress. - * - * @since 2.8.0 - * @deprecated 3.0.0 -**/ -function use_codepress() { - _deprecated_function( __FUNCTION__, '3.0' ); - return; -} - -/** - * @deprecated 3.1.0 - * - * @return array List of user IDs. - */ -function get_author_user_ids() { - _deprecated_function( __FUNCTION__, '3.1', 'get_users()' ); - - global $wpdb; - if ( !is_multisite() ) - $level_key = $wpdb->get_blog_prefix() . 'user_level'; - else - $level_key = $wpdb->get_blog_prefix() . 'capabilities'; // wpmu site admins don't have user_levels - - return $wpdb->get_col( $wpdb->prepare("SELECT user_id FROM $wpdb->usermeta WHERE meta_key = %s AND meta_value != '0'", $level_key) ); -} - -/** - * @deprecated 3.1.0 - * - * @param int $user_id User ID. - * @return array|bool List of editable authors. False if no editable users. - */ -function get_editable_authors( $user_id ) { - _deprecated_function( __FUNCTION__, '3.1', 'get_users()' ); - - global $wpdb; - - $editable = get_editable_user_ids( $user_id ); - - if ( !$editable ) { - return false; - } else { - $editable = join(',', $editable); - $authors = $wpdb->get_results( "SELECT * FROM $wpdb->users WHERE ID IN ($editable) ORDER BY display_name" ); - } - - return apply_filters('get_editable_authors', $authors); -} - -/** - * @deprecated 3.1.0 - * - * @param int $user_id User ID. - * @param bool $exclude_zeros Optional, default is true. Whether to exclude zeros. - * @return unknown - */ -function get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'post' ) { - _deprecated_function( __FUNCTION__, '3.1', 'get_users()' ); - - global $wpdb; - - if ( ! $user = get_userdata( $user_id ) ) - return array(); - $post_type_obj = get_post_type_object($post_type); - - if ( ! $user->has_cap($post_type_obj->cap->edit_others_posts) ) { - if ( $user->has_cap($post_type_obj->cap->edit_posts) || ! $exclude_zeros ) - return array($user->ID); - else - return array(); - } - - if ( !is_multisite() ) - $level_key = $wpdb->get_blog_prefix() . 'user_level'; - else - $level_key = $wpdb->get_blog_prefix() . 'capabilities'; // wpmu site admins don't have user_levels - - $query = $wpdb->prepare("SELECT user_id FROM $wpdb->usermeta WHERE meta_key = %s", $level_key); - if ( $exclude_zeros ) - $query .= " AND meta_value != '0'"; - - return $wpdb->get_col( $query ); -} - -/** - * @deprecated 3.1.0 - */ -function get_nonauthor_user_ids() { - _deprecated_function( __FUNCTION__, '3.1', 'get_users()' ); - - global $wpdb; - - if ( !is_multisite() ) - $level_key = $wpdb->get_blog_prefix() . 'user_level'; - else - $level_key = $wpdb->get_blog_prefix() . 'capabilities'; // wpmu site admins don't have user_levels - - return $wpdb->get_col( $wpdb->prepare("SELECT user_id FROM $wpdb->usermeta WHERE meta_key = %s AND meta_value = '0'", $level_key) ); -} - -if ( !class_exists('WP_User_Search') ) : -/** - * WordPress User Search class. - * - * @since 2.1.0 - * @deprecated 3.1.0 - */ -class WP_User_Search { - - /** - * {@internal Missing Description}} - * - * @since 2.1.0 - * @access private - * @var unknown_type - */ - var $results; - - /** - * {@internal Missing Description}} - * - * @since 2.1.0 - * @access private - * @var unknown_type - */ - var $search_term; - - /** - * Page number. - * - * @since 2.1.0 - * @access private - * @var int - */ - var $page; - - /** - * Role name that users have. - * - * @since 2.5.0 - * @access private - * @var string - */ - var $role; - - /** - * Raw page number. - * - * @since 2.1.0 - * @access private - * @var int|bool - */ - var $raw_page; - - /** - * Amount of users to display per page. - * - * @since 2.1.0 - * @access public - * @var int - */ - var $users_per_page = 50; - - /** - * {@internal Missing Description}} - * - * @since 2.1.0 - * @access private - * @var unknown_type - */ - var $first_user; - - /** - * {@internal Missing Description}} - * - * @since 2.1.0 - * @access private - * @var int - */ - var $last_user; - - /** - * {@internal Missing Description}} - * - * @since 2.1.0 - * @access private - * @var string - */ - var $query_limit; - - /** - * {@internal Missing Description}} - * - * @since 3.0.0 - * @access private - * @var string - */ - var $query_orderby; - - /** - * {@internal Missing Description}} - * - * @since 3.0.0 - * @access private - * @var string - */ - var $query_from; - - /** - * {@internal Missing Description}} - * - * @since 3.0.0 - * @access private - * @var string - */ - var $query_where; - - /** - * {@internal Missing Description}} - * - * @since 2.1.0 - * @access private - * @var int - */ - var $total_users_for_query = 0; - - /** - * {@internal Missing Description}} - * - * @since 2.1.0 - * @access private - * @var bool - */ - var $too_many_total_users = false; - - /** - * {@internal Missing Description}} - * - * @since 2.1.0 - * @access private - * @var unknown_type - */ - var $search_errors; - - /** - * {@internal Missing Description}} - * - * @since 2.7.0 - * @access private - * @var unknown_type - */ - var $paging_text; - - /** - * PHP4 Constructor - Sets up the object properties. - * - * @since 2.1.0 - * - * @param string $search_term Search terms string. - * @param int $page Optional. Page ID. - * @param string $role Role name. - * @return WP_User_Search - */ - function WP_User_Search ($search_term = '', $page = '', $role = '') { - _deprecated_function( __FUNCTION__, '3.1', 'WP_User_Query' ); - - $this->search_term = wp_unslash( $search_term ); - $this->raw_page = ( '' == $page ) ? false : (int) $page; - $this->page = (int) ( '' == $page ) ? 1 : $page; - $this->role = $role; - - $this->prepare_query(); - $this->query(); - $this->do_paging(); - } - - /** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 2.1.0 - * @access public - */ - function prepare_query() { - global $wpdb; - $this->first_user = ($this->page - 1) * $this->users_per_page; - - $this->query_limit = $wpdb->prepare(" LIMIT %d, %d", $this->first_user, $this->users_per_page); - $this->query_orderby = ' ORDER BY user_login'; - - $search_sql = ''; - if ( $this->search_term ) { - $searches = array(); - $search_sql = 'AND ('; - foreach ( array('user_login', 'user_nicename', 'user_email', 'user_url', 'display_name') as $col ) - $searches[] = $wpdb->prepare( $col . ' LIKE %s', '%' . like_escape($this->search_term) . '%' ); - $search_sql .= implode(' OR ', $searches); - $search_sql .= ')'; - } - - $this->query_from = " FROM $wpdb->users"; - $this->query_where = " WHERE 1=1 $search_sql"; - - if ( $this->role ) { - $this->query_from .= " INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id"; - $this->query_where .= $wpdb->prepare(" AND $wpdb->usermeta.meta_key = '{$wpdb->prefix}capabilities' AND $wpdb->usermeta.meta_value LIKE %s", '%' . $this->role . '%'); - } elseif ( is_multisite() ) { - $level_key = $wpdb->prefix . 'capabilities'; // wpmu site admins don't have user_levels - $this->query_from .= ", $wpdb->usermeta"; - $this->query_where .= " AND $wpdb->users.ID = $wpdb->usermeta.user_id AND meta_key = '{$level_key}'"; - } - - do_action_ref_array( 'pre_user_search', array( &$this ) ); - } - - /** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 2.1.0 - * @access public - */ - function query() { - global $wpdb; - - $this->results = $wpdb->get_col("SELECT DISTINCT($wpdb->users.ID)" . $this->query_from . $this->query_where . $this->query_orderby . $this->query_limit); - - if ( $this->results ) - $this->total_users_for_query = $wpdb->get_var("SELECT COUNT(DISTINCT($wpdb->users.ID))" . $this->query_from . $this->query_where); // no limit - else - $this->search_errors = new WP_Error('no_matching_users_found', __('No matching users were found!')); - } - - /** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 2.1.0 - * @access public - */ - function prepare_vars_for_template_usage() {} - - /** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 2.1.0 - * @access public - */ - function do_paging() { - if ( $this->total_users_for_query > $this->users_per_page ) { // have to page the results - $args = array(); - if( ! empty($this->search_term) ) - $args['usersearch'] = urlencode($this->search_term); - if( ! empty($this->role) ) - $args['role'] = urlencode($this->role); - - $this->paging_text = paginate_links( array( - 'total' => ceil($this->total_users_for_query / $this->users_per_page), - 'current' => $this->page, - 'base' => 'users.php?%_%', - 'format' => 'userspage=%#%', - 'add_args' => $args - ) ); - if ( $this->paging_text ) { - $this->paging_text = sprintf( '' . __( 'Displaying %s–%s of %s' ) . '%s', - number_format_i18n( ( $this->page - 1 ) * $this->users_per_page + 1 ), - number_format_i18n( min( $this->page * $this->users_per_page, $this->total_users_for_query ) ), - number_format_i18n( $this->total_users_for_query ), - $this->paging_text - ); - } - } - } - - /** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 2.1.0 - * @access public - * - * @return unknown - */ - function get_results() { - return (array) $this->results; - } - - /** - * Displaying paging text. - * - * @see do_paging() Builds paging text. - * - * @since 2.1.0 - * @access public - */ - function page_links() { - echo $this->paging_text; - } - - /** - * Whether paging is enabled. - * - * @see do_paging() Builds paging text. - * - * @since 2.1.0 - * @access public - * - * @return bool - */ - function results_are_paged() { - if ( $this->paging_text ) - return true; - return false; - } - - /** - * Whether there are search terms. - * - * @since 2.1.0 - * @access public - * - * @return bool - */ - function is_search() { - if ( $this->search_term ) - return true; - return false; - } -} -endif; - -/** - * Retrieve editable posts from other users. - * - * @deprecated 3.1.0 - * - * @param int $user_id User ID to not retrieve posts from. - * @param string $type Optional, defaults to 'any'. Post type to retrieve, can be 'draft' or 'pending'. - * @return array List of posts from others. - */ -function get_others_unpublished_posts($user_id, $type='any') { - _deprecated_function( __FUNCTION__, '3.1' ); - - global $wpdb; - - $editable = get_editable_user_ids( $user_id ); - - if ( in_array($type, array('draft', 'pending')) ) - $type_sql = " post_status = '$type' "; - else - $type_sql = " ( post_status = 'draft' OR post_status = 'pending' ) "; - - $dir = ( 'pending' == $type ) ? 'ASC' : 'DESC'; - - if ( !$editable ) { - $other_unpubs = ''; - } else { - $editable = join(',', $editable); - $other_unpubs = $wpdb->get_results( $wpdb->prepare("SELECT ID, post_title, post_author FROM $wpdb->posts WHERE post_type = 'post' AND $type_sql AND post_author IN ($editable) AND post_author != %d ORDER BY post_modified $dir", $user_id) ); - } - - return apply_filters('get_others_drafts', $other_unpubs); -} - -/** - * Retrieve drafts from other users. - * - * @deprecated 3.1.0 - * - * @param int $user_id User ID. - * @return array List of drafts from other users. - */ -function get_others_drafts($user_id) { - _deprecated_function( __FUNCTION__, '3.1' ); - - return get_others_unpublished_posts($user_id, 'draft'); -} - -/** - * Retrieve pending review posts from other users. - * - * @deprecated 3.1.0 - * - * @param int $user_id User ID. - * @return array List of posts with pending review post type from other users. - */ -function get_others_pending($user_id) { - _deprecated_function( __FUNCTION__, '3.1' ); - - return get_others_unpublished_posts($user_id, 'pending'); -} - -/** - * Output the QuickPress dashboard widget. - * - * @since 3.0.0 - * @deprecated 3.2.0 - * @deprecated Use wp_dashboard_quick_press() - * @see wp_dashboard_quick_press() - */ -function wp_dashboard_quick_press_output() { - _deprecated_function( __FUNCTION__, '3.2', 'wp_dashboard_quick_press()' ); - wp_dashboard_quick_press(); -} - -/** - * @since 2.7.0 - * @deprecated 3.3.0 - * @deprecated Use wp_editor() - * @see wp_editor() - */ -function wp_tiny_mce( $teeny = false, $settings = false ) { - _deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' ); - - static $num = 1; - - if ( ! class_exists('_WP_Editors' ) ) - require_once( ABSPATH . WPINC . '/class-wp-editor.php' ); - - $editor_id = 'content' . $num++; - - $set = array( - 'teeny' => $teeny, - 'tinymce' => $settings ? $settings : true, - 'quicktags' => false - ); - - $set = _WP_Editors::parse_settings($editor_id, $set); - _WP_Editors::editor_settings($editor_id, $set); -} - -/** - * @deprecated 3.3.0 - * @deprecated Use wp_editor() - * @see wp_editor() - */ -function wp_preload_dialogs() { - _deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' ); -} - -/** - * @deprecated 3.3.0 - * @deprecated Use wp_editor() - * @see wp_editor() - */ -function wp_print_editor_js() { - _deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' ); -} - -/** - * @deprecated 3.3.0 - * @deprecated Use wp_editor() - * @see wp_editor() - */ -function wp_quicktags() { - _deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' ); -} - -/** - * Returns the screen layout options. - * - * @since 2.8.0 - * @deprecated 3.3.0 - * @deprecated Use $current_screen->render_screen_layout() - * @see WP_Screen::render_screen_layout() - */ -function screen_layout( $screen ) { - _deprecated_function( __FUNCTION__, '3.3', '$current_screen->render_screen_layout()' ); - - $current_screen = get_current_screen(); - - if ( ! $current_screen ) - return ''; - - ob_start(); - $current_screen->render_screen_layout(); - return ob_get_clean(); -} - -/** - * Returns the screen's per-page options. - * - * @since 2.8.0 - * @deprecated 3.3.0 - * @deprecated Use $current_screen->render_per_page_options() - * @see WP_Screen::render_per_page_options() - */ -function screen_options( $screen ) { - _deprecated_function( __FUNCTION__, '3.3', '$current_screen->render_per_page_options()' ); - - $current_screen = get_current_screen(); - - if ( ! $current_screen ) - return ''; - - ob_start(); - $current_screen->render_per_page_options(); - return ob_get_clean(); -} - -/** - * Renders the screen's help. - * - * @since 2.7.0 - * @deprecated 3.3.0 - * @deprecated Use $current_screen->render_screen_meta() - * @see WP_Screen::render_screen_meta() - */ -function screen_meta( $screen ) { - $current_screen = get_current_screen(); - $current_screen->render_screen_meta(); -} - -/** - * Favorite actions were deprecated in version 3.2. Use the admin bar instead. - * - * @since 2.7.0 - * @deprecated 3.2.0 - */ -function favorite_actions() { - _deprecated_function( __FUNCTION__, '3.2', 'WP_Admin_Bar' ); -} - -function media_upload_image() { - _deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' ); - return wp_media_upload_handler(); -} - -function media_upload_audio() { - _deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' ); - return wp_media_upload_handler(); -} - -function media_upload_video() { - _deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' ); - return wp_media_upload_handler(); -} - -function media_upload_file() { - _deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' ); - return wp_media_upload_handler(); -} - -function type_url_form_image() { - _deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('image')" ); - return wp_media_insert_url_form( 'image' ); -} - -function type_url_form_audio() { - _deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('audio')" ); - return wp_media_insert_url_form( 'audio' ); -} - -function type_url_form_video() { - _deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('video')" ); - return wp_media_insert_url_form( 'video' ); -} - -function type_url_form_file() { - _deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('file')" ); - return wp_media_insert_url_form( 'file' ); -} - -/** - * Add contextual help text for a page. - * - * Creates an 'Overview' help tab. - * - * @since 2.7.0 - * @deprecated 3.3.0 - * @deprecated Use get_current_screen()->add_help_tab() - * @see WP_Screen - * - * @param string $screen The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions. - * @param string $help The content of an 'Overview' help tab. - */ -function add_contextual_help( $screen, $help ) { - _deprecated_function( __FUNCTION__, '3.3', 'get_current_screen()->add_help_tab()' ); - - if ( is_string( $screen ) ) - $screen = convert_to_screen( $screen ); - - WP_Screen::add_old_compat_help( $screen, $help ); -} - -/** - * Get the allowed themes for the current blog. - * - * @since 3.0.0 - * @deprecated 3.4.0 - * @deprecated Use wp_get_themes() - * @see wp_get_themes() - * - * @return array $themes Array of allowed themes. - */ -function get_allowed_themes() { - _deprecated_function( __FUNCTION__, '3.4', "wp_get_themes( array( 'allowed' => true ) )" ); - - $themes = wp_get_themes( array( 'allowed' => true ) ); - - $wp_themes = array(); - foreach ( $themes as $theme ) { - $wp_themes[ $theme->get('Name') ] = $theme; - } - - return $wp_themes; -} - -/** - * {@internal Missing Short Description}} - * - * @since 1.5.0 - * @deprecated 3.4.0 - * - * @return unknown - */ -function get_broken_themes() { - _deprecated_function( __FUNCTION__, '3.4', "wp_get_themes( array( 'errors' => true )" ); - - $themes = wp_get_themes( array( 'errors' => true ) ); - $broken = array(); - foreach ( $themes as $theme ) { - $name = $theme->get('Name'); - $broken[ $name ] = array( - 'Name' => $name, - 'Title' => $name, - 'Description' => $theme->errors()->get_error_message(), - ); - } - return $broken; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.0.0 - * @deprecated 3.4.0 - * - * @return unknown - */ -function current_theme_info() { - _deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme()' ); - - return wp_get_theme(); -} - -/** - * This was once used to display an 'Insert into Post' button. Now it is deprecated and stubbed. - * - * @deprecated 3.5.0 - */ -function _insert_into_post_button( $type ) { - _deprecated_function( __FUNCTION__, '3.5' ); -} - -/** - * This was once used to display a media button. Now it is deprecated and stubbed. - * - * @deprecated 3.5.0 - */ -function _media_button($title, $icon, $type, $id) { - _deprecated_function( __FUNCTION__, '3.5' ); -} - -/** - * Get an existing post and format it for editing. - * - * @since 2.0.0 - * @deprecated 3.5.0 - * - * @param int $id - * @return object - */ -function get_post_to_edit( $id ) { - _deprecated_function( __FUNCTION__, '3.5', 'get_post()' ); - - return get_post( $id, OBJECT, 'edit' ); -} - -/** - * Get the default page information to use. - * - * @since 2.5.0 - * @deprecated 3.5.0 - * @deprecated Use get_default_post_to_edit() - * - * @return WP_Post Post object containing all the default post data as attributes - */ -function get_default_page_to_edit() { - _deprecated_function( __FUNCTION__, '3.5', "get_default_post_to_edit( 'page' )" ); - - $page = get_default_post_to_edit(); - $page->post_type = 'page'; - return $page; -} - -/** - * This was once used to create a thumbnail from an Image given a maximum side size. - * - * @since 1.2.0 - * @deprecated 3.5.0 - * @deprecated Use image_resize() - * @see image_resize() - * - * @param mixed $file Filename of the original image, Or attachment id. - * @param int $max_side Maximum length of a single side for the thumbnail. - * @param mixed $deprecated Never used. - * @return string Thumbnail path on success, Error string on failure. - */ -function wp_create_thumbnail( $file, $max_side, $deprecated = '' ) { - _deprecated_function( __FUNCTION__, '3.5', 'image_resize()' ); - return apply_filters( 'wp_create_thumbnail', image_resize( $file, $max_side, $max_side ) ); -} - -/** - * This was once used to display a metabox for the nav menu theme locations. - * - * Deprecated in favor of a 'Manage Locations' tab added to nav menus management screen. - * - * @since 3.0.0 - * @deprecated 3.6.0 - */ -function wp_nav_menu_locations_meta_box() { - _deprecated_function( __FUNCTION__, '3.6' ); -} - -/** - * This was once used to kick-off the Core Updater. - * - * Deprecated in favor of instantating a Core_Upgrader instance directly, - * and calling the 'upgrade' method. - * - * @since 2.7.0 - * @deprecated 3.7.0 - * @see Core_Upgrader - */ -function wp_update_core($current, $feedback = '') { - _deprecated_function( __FUNCTION__, '3.7', 'new Core_Upgrader();' ); - - if ( !empty($feedback) ) - add_filter('update_feedback', $feedback); - - include( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); - $upgrader = new Core_Upgrader(); - return $upgrader->upgrade($current); - -} - -/** - * This was once used to kick-off the Plugin Updater. - * - * Deprecated in favor of instantating a Plugin_Upgrader instance directly, - * and calling the 'upgrade' method. - * Unused since 2.8.0. - * - * @since 2.5.0 - * @deprecated 3.7.0 - * @see Plugin_Upgrader - */ -function wp_update_plugin($plugin, $feedback = '') { - _deprecated_function( __FUNCTION__, '3.7', 'new Plugin_Upgrader();' ); - - if ( !empty($feedback) ) - add_filter('update_feedback', $feedback); - - include( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); - $upgrader = new Plugin_Upgrader(); - return $upgrader->upgrade($plugin); -} - -/** - * This was once used to kick-off the Theme Updater. - * - * Deprecated in favor of instantating a Theme_Upgrader instance directly, - * and calling the 'upgrade' method. - * Unused since 2.8.0. - * - * @since 2.7.0 - * @deprecated 3.7.0 - * @see Theme_Upgrader - */ -function wp_update_theme($theme, $feedback = '') { - _deprecated_function( __FUNCTION__, '3.7', 'new Theme_Upgrader();' ); - - if ( !empty($feedback) ) - add_filter('update_feedback', $feedback); - - include( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); - $upgrader = new Theme_Upgrader(); - return $upgrader->upgrade($theme); -} - -/** - * This was once used to display attachment links. Now it is deprecated and stubbed. - * - * {@internal Missing Short Description}} - * - * @since 2.0.0 - * @deprecated 3.7.0 - * - * @param unknown_type $id - * @return unknown - */ -function the_attachment_links( $id = false ) { - _deprecated_function( __FUNCTION__, '3.7' ); -} - -/**#@+ - * Displays a screen icon. - * - * @since 2.7.0 - * @since 3.8.0 Screen icons are no longer used in WordPress. This function no longer produces output. - * @deprecated 3.8.0 - */ -function screen_icon() { - echo get_screen_icon(); -} -function get_screen_icon() { - return ''; -} -/**#@-*/ - -/**#@+ - * Deprecated dashboard widget controls. - * - * @since 2.5.0 - * @deprecated 3.8.0 - */ -function wp_dashboard_incoming_links_output() {} -function wp_dashboard_secondary_output() {} -/**#@-*/ - -/**#@+ - * Deprecated dashboard widget controls. - * - * @since 2.7.0 - * @deprecated 3.8.0 - */ -function wp_dashboard_incoming_links() {} -function wp_dashboard_incoming_links_control() {} -function wp_dashboard_plugins() {} -function wp_dashboard_primary_control() {} -function wp_dashboard_recent_comments_control() {} -function wp_dashboard_secondary() {} -function wp_dashboard_secondary_control() {} -/**#@-*/ - -/** - * This was once used to move child posts to a new parent. - * - * @since 2.3.0 - * @deprecated 3.9.0 - * @access private - * - * @param int $old_ID - * @param int $new_ID - */ -function _relocate_children( $old_ID, $new_ID ) { - _deprecated_function( __FUNCTION__, '3.9' ); -} diff --git a/sources/wordpress/wp-admin/includes/export.php b/sources/wordpress/wp-admin/includes/export.php deleted file mode 100644 index 397e9e7..0000000 --- a/sources/wordpress/wp-admin/includes/export.php +++ /dev/null @@ -1,508 +0,0 @@ - 'all', 'author' => false, 'category' => false, - 'start_date' => false, 'end_date' => false, 'status' => false, - ); - $args = wp_parse_args( $args, $defaults ); - - /** - * Fires at the beginning of an export, before any headers are sent. - * - * @since 2.3.0 - * - * @param array $args An array of export arguments. - */ - do_action( 'export_wp', $args ); - - $sitename = sanitize_key( get_bloginfo( 'name' ) ); - if ( ! empty($sitename) ) $sitename .= '.'; - $filename = $sitename . 'wordpress.' . date( 'Y-m-d' ) . '.xml'; - - header( 'Content-Description: File Transfer' ); - header( 'Content-Disposition: attachment; filename=' . $filename ); - header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true ); - - if ( 'all' != $args['content'] && post_type_exists( $args['content'] ) ) { - $ptype = get_post_type_object( $args['content'] ); - if ( ! $ptype->can_export ) - $args['content'] = 'post'; - - $where = $wpdb->prepare( "{$wpdb->posts}.post_type = %s", $args['content'] ); - } else { - $post_types = get_post_types( array( 'can_export' => true ) ); - $esses = array_fill( 0, count($post_types), '%s' ); - $where = $wpdb->prepare( "{$wpdb->posts}.post_type IN (" . implode( ',', $esses ) . ')', $post_types ); - } - - if ( $args['status'] && ( 'post' == $args['content'] || 'page' == $args['content'] ) ) - $where .= $wpdb->prepare( " AND {$wpdb->posts}.post_status = %s", $args['status'] ); - else - $where .= " AND {$wpdb->posts}.post_status != 'auto-draft'"; - - $join = ''; - if ( $args['category'] && 'post' == $args['content'] ) { - if ( $term = term_exists( $args['category'], 'category' ) ) { - $join = "INNER JOIN {$wpdb->term_relationships} ON ({$wpdb->posts}.ID = {$wpdb->term_relationships}.object_id)"; - $where .= $wpdb->prepare( " AND {$wpdb->term_relationships}.term_taxonomy_id = %d", $term['term_taxonomy_id'] ); - } - } - - if ( 'post' == $args['content'] || 'page' == $args['content'] ) { - if ( $args['author'] ) - $where .= $wpdb->prepare( " AND {$wpdb->posts}.post_author = %d", $args['author'] ); - - if ( $args['start_date'] ) - $where .= $wpdb->prepare( " AND {$wpdb->posts}.post_date >= %s", date( 'Y-m-d', strtotime($args['start_date']) ) ); - - if ( $args['end_date'] ) - $where .= $wpdb->prepare( " AND {$wpdb->posts}.post_date < %s", date( 'Y-m-d', strtotime('+1 month', strtotime($args['end_date'])) ) ); - } - - // Grab a snapshot of post IDs, just in case it changes during the export. - $post_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} $join WHERE $where" ); - - /* - * Get the requested terms ready, empty unless posts filtered by category - * or all content. - */ - $cats = $tags = $terms = array(); - if ( isset( $term ) && $term ) { - $cat = get_term( $term['term_id'], 'category' ); - $cats = array( $cat->term_id => $cat ); - unset( $term, $cat ); - } else if ( 'all' == $args['content'] ) { - $categories = (array) get_categories( array( 'get' => 'all' ) ); - $tags = (array) get_tags( array( 'get' => 'all' ) ); - - $custom_taxonomies = get_taxonomies( array( '_builtin' => false ) ); - $custom_terms = (array) get_terms( $custom_taxonomies, array( 'get' => 'all' ) ); - - // Put categories in order with no child going before its parent. - while ( $cat = array_shift( $categories ) ) { - if ( $cat->parent == 0 || isset( $cats[$cat->parent] ) ) - $cats[$cat->term_id] = $cat; - else - $categories[] = $cat; - } - - // Put terms in order with no child going before its parent. - while ( $t = array_shift( $custom_terms ) ) { - if ( $t->parent == 0 || isset( $terms[$t->parent] ) ) - $terms[$t->term_id] = $t; - else - $custom_terms[] = $t; - } - - unset( $categories, $custom_taxonomies, $custom_terms ); - } - - /** - * Wrap given string in XML CDATA tag. - * - * @since 2.1.0 - * - * @param string $str String to wrap in XML CDATA tag. - * @return string - */ - function wxr_cdata( $str ) { - if ( seems_utf8( $str ) == false ) - $str = utf8_encode( $str ); - - // $str = ent2ncr(esc_html($str)); - $str = '', ']]]]>', $str ) . ']]>'; - - return $str; - } - - /** - * Return the URL of the site - * - * @since 2.5.0 - * - * @return string Site URL. - */ - function wxr_site_url() { - // Multisite: the base URL. - if ( is_multisite() ) - return network_home_url(); - // WordPress (single site): the blog URL. - else - return get_bloginfo_rss( 'url' ); - } - - /** - * Output a cat_name XML tag from a given category object - * - * @since 2.1.0 - * - * @param object $category Category Object - */ - function wxr_cat_name( $category ) { - if ( empty( $category->name ) ) - return; - - echo '' . wxr_cdata( $category->name ) . ''; - } - - /** - * Output a category_description XML tag from a given category object - * - * @since 2.1.0 - * - * @param object $category Category Object - */ - function wxr_category_description( $category ) { - if ( empty( $category->description ) ) - return; - - echo '' . wxr_cdata( $category->description ) . ''; - } - - /** - * Output a tag_name XML tag from a given tag object - * - * @since 2.3.0 - * - * @param object $tag Tag Object - */ - function wxr_tag_name( $tag ) { - if ( empty( $tag->name ) ) - return; - - echo '' . wxr_cdata( $tag->name ) . ''; - } - - /** - * Output a tag_description XML tag from a given tag object - * - * @since 2.3.0 - * - * @param object $tag Tag Object - */ - function wxr_tag_description( $tag ) { - if ( empty( $tag->description ) ) - return; - - echo '' . wxr_cdata( $tag->description ) . ''; - } - - /** - * Output a term_name XML tag from a given term object - * - * @since 2.9.0 - * - * @param object $term Term Object - */ - function wxr_term_name( $term ) { - if ( empty( $term->name ) ) - return; - - echo '' . wxr_cdata( $term->name ) . ''; - } - - /** - * Output a term_description XML tag from a given term object - * - * @since 2.9.0 - * - * @param object $term Term Object - */ - function wxr_term_description( $term ) { - if ( empty( $term->description ) ) - return; - - echo '' . wxr_cdata( $term->description ) . ''; - } - - /** - * Output list of authors with posts - * - * @since 3.1.0 - * - * @param array $post_ids Array of post IDs to filter the query by. Optional. - */ - function wxr_authors_list( array $post_ids = null ) { - global $wpdb; - - if ( !empty( $post_ids ) ) { - $post_ids = array_map( 'absint', $post_ids ); - $and = 'AND ID IN ( ' . implode( ', ', $post_ids ) . ')'; - } else { - $and = ''; - } - - $authors = array(); - $results = $wpdb->get_results( "SELECT DISTINCT post_author FROM $wpdb->posts WHERE post_status != 'auto-draft' $and" ); - foreach ( (array) $results as $result ) - $authors[] = get_userdata( $result->post_author ); - - $authors = array_filter( $authors ); - - foreach ( $authors as $author ) { - echo "\t"; - echo '' . $author->ID . ''; - echo '' . $author->user_login . ''; - echo '' . $author->user_email . ''; - echo '' . wxr_cdata( $author->display_name ) . ''; - echo '' . wxr_cdata( $author->user_firstname ) . ''; - echo '' . wxr_cdata( $author->user_lastname ) . ''; - echo "\n"; - } - } - - /** - * Ouput all navigation menu terms - * - * @since 3.1.0 - */ - function wxr_nav_menu_terms() { - $nav_menus = wp_get_nav_menus(); - if ( empty( $nav_menus ) || ! is_array( $nav_menus ) ) - return; - - foreach ( $nav_menus as $menu ) { - echo "\t{$menu->term_id}nav_menu{$menu->slug}"; - wxr_term_name( $menu ); - echo "\n"; - } - } - - /** - * Output list of taxonomy terms, in XML tag format, associated with a post - * - * @since 2.3.0 - */ - function wxr_post_taxonomy() { - $post = get_post(); - - $taxonomies = get_object_taxonomies( $post->post_type ); - if ( empty( $taxonomies ) ) - return; - $terms = wp_get_object_terms( $post->ID, $taxonomies ); - - foreach ( (array) $terms as $term ) { - echo "\t\ttaxonomy}\" nicename=\"{$term->slug}\">" . wxr_cdata( $term->name ) . "\n"; - } - } - - function wxr_filter_postmeta( $return_me, $meta_key ) { - if ( '_edit_lock' == $meta_key ) - $return_me = true; - return $return_me; - } - add_filter( 'wxr_export_skip_postmeta', 'wxr_filter_postmeta', 10, 2 ); - - echo '\n"; - - ?> - - - - - - - - - - - - - - - - - - - - - - <?php bloginfo_rss( 'name' ); ?> - - - - - - - - - - - - term_id ?>slug; ?>parent ? $cats[$c->parent]->slug : ''; ?> - - - term_id ?>slug; ?> - - - term_id ?>taxonomy; ?>slug; ?>parent ? $terms[$t->parent]->slug : ''; ?> - - - - - -in_the_loop = true; - - // Fetch 20 posts at a time rather than loading the entire table into memory. - while ( $next_posts = array_splice( $post_ids, 0, 20 ) ) { - $where = 'WHERE ID IN (' . join( ',', $next_posts ) . ')'; - $posts = $wpdb->get_results( "SELECT * FROM {$wpdb->posts} $where" ); - - // Begin Loop. - foreach ( $posts as $post ) { - setup_postdata( $post ); - $is_sticky = is_sticky( $post->ID ) ? 1 : 0; -?> - - - <?php echo apply_filters( 'the_title_rss', $post->post_title ); ?> - - - - - - post_content ) ); - ?> - post_excerpt ) ); - ?> - ID; ?> - post_date; ?> - post_date_gmt; ?> - comment_status; ?> - ping_status; ?> - post_name; ?> - post_status; ?> - post_parent; ?> - menu_order; ?> - post_type; ?> - post_password; ?> - -post_type == 'attachment' ) : ?> - ID ); ?> - - -get_results( $wpdb->prepare( "SELECT * FROM $wpdb->postmeta WHERE post_id = %d", $post->ID ) ); - foreach ( $postmeta as $meta ) : - /** - * Filter whether to selectively skip post meta used for WXR exports. - * - * Returning a truthy value to the filter will skip the current meta - * object from being exported. - * - * @since 3.3.0 - * - * @param bool $skip Whether to skip the current post meta. Default false. - * @param string $meta_key Current meta key. - * @param object $meta Current meta object. - */ - if ( apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta ) ) - continue; - ?> - - meta_key; ?> - meta_value ); ?> - -get_results( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved <> 'spam'", $post->ID ) ); - foreach ( $comments as $c ) : ?> - - comment_ID; ?> - comment_author ); ?> - comment_author_email; ?> - comment_author_url ); ?> - comment_author_IP; ?> - comment_date; ?> - comment_date_gmt; ?> - comment_content ) ?> - comment_approved; ?> - comment_type; ?> - comment_parent; ?> - user_id; ?> -get_results( $wpdb->prepare( "SELECT * FROM $wpdb->commentmeta WHERE comment_id = %d", $c->comment_ID ) ); - foreach ( $c_meta as $meta ) : - /** - * Filter whether to selectively skip comment meta used for WXR exports. - * - * Returning a truthy value to the filter will skip the current meta - * object from being exported. - * - * @since 4.0.0 - * - * @param bool $skip Whether to skip the current comment meta. Default false. - * @param string $meta_key Current meta key. - * @param object $meta Current meta object. - */ - if ( apply_filters( 'wxr_export_skip_commentmeta', false, $meta->meta_key, $meta ) ) { - continue; - } - ?> - - meta_key; ?> - meta_value ); ?> - - - - - - - - - __( 'Main Index Template' ), - 'style.css' => __( 'Stylesheet' ), - 'editor-style.css' => __( 'Visual Editor Stylesheet' ), - 'editor-style-rtl.css' => __( 'Visual Editor RTL Stylesheet' ), - 'rtl.css' => __( 'RTL Stylesheet' ), - 'comments.php' => __( 'Comments' ), - 'comments-popup.php' => __( 'Popup Comments' ), - 'footer.php' => __( 'Footer' ), - 'header.php' => __( 'Header' ), - 'sidebar.php' => __( 'Sidebar' ), - 'archive.php' => __( 'Archives' ), - 'author.php' => __( 'Author Template' ), - 'tag.php' => __( 'Tag Template' ), - 'category.php' => __( 'Category Template' ), - 'page.php' => __( 'Page Template' ), - 'search.php' => __( 'Search Results' ), - 'searchform.php' => __( 'Search Form' ), - 'single.php' => __( 'Single Post' ), - '404.php' => __( '404 Template' ), - 'link.php' => __( 'Links Template' ), - 'functions.php' => __( 'Theme Functions' ), - 'attachment.php' => __( 'Attachment Template' ), - 'image.php' => __('Image Attachment Template'), - 'video.php' => __('Video Attachment Template'), - 'audio.php' => __('Audio Attachment Template'), - 'application.php' => __('Application Attachment Template'), - 'my-hacks.php' => __( 'my-hacks.php (legacy hacks support)' ), - '.htaccess' => __( '.htaccess (for rewrite rules )' ), - // Deprecated files - 'wp-layout.css' => __( 'Stylesheet' ), - 'wp-comments.php' => __( 'Comments Template' ), - 'wp-comments-popup.php' => __( 'Popup Comments Template' ), -); - -/** - * Get the description for standard WordPress theme files and other various standard - * WordPress files - * - * @since 1.5.0 - * - * @uses _cleanup_header_comment - * @uses $wp_file_descriptions - * @param string $file Filesystem path or filename - * @return string Description of file from $wp_file_descriptions or basename of $file if description doesn't exist - */ -function get_file_description( $file ) { - global $wp_file_descriptions; - - if ( isset( $wp_file_descriptions[basename( $file )] ) ) { - return $wp_file_descriptions[basename( $file )]; - } - elseif ( file_exists( $file ) && is_file( $file ) ) { - $template_data = implode( '', file( $file ) ); - if ( preg_match( '|Template Name:(.*)$|mi', $template_data, $name )) - return sprintf( __( '%s Page Template' ), _cleanup_header_comment($name[1]) ); - } - - return trim( basename( $file ) ); -} - -/** - * Get the absolute filesystem path to the root of the WordPress installation - * - * @since 1.5.0 - * - * @uses get_option - * @return string Full filesystem path to the root of the WordPress installation - */ -function get_home_path() { - $home = set_url_scheme( get_option( 'home' ), 'http' ); - $siteurl = set_url_scheme( get_option( 'siteurl' ), 'http' ); - if ( ! empty( $home ) && 0 !== strcasecmp( $home, $siteurl ) ) { - $wp_path_rel_to_home = str_ireplace( $home, '', $siteurl ); /* $siteurl - $home */ - $pos = strripos( str_replace( '\\', '/', $_SERVER['SCRIPT_FILENAME'] ), trailingslashit( $wp_path_rel_to_home ) ); - $home_path = substr( $_SERVER['SCRIPT_FILENAME'], 0, $pos ); - $home_path = trailingslashit( $home_path ); - } else { - $home_path = ABSPATH; - } - - return str_replace( '\\', '/', $home_path ); -} - -/** - * Returns a listing of all files in the specified folder and all subdirectories up to 100 levels deep. - * The depth of the recursiveness can be controlled by the $levels param. - * - * @since 2.6.0 - * - * @param string $folder Full path to folder - * @param int $levels (optional) Levels of folders to follow, Default: 100 (PHP Loop limit). - * @return bool|array False on failure, Else array of files - */ -function list_files( $folder = '', $levels = 100 ) { - if ( empty($folder) ) - return false; - - if ( ! $levels ) - return false; - - $files = array(); - if ( $dir = @opendir( $folder ) ) { - while (($file = readdir( $dir ) ) !== false ) { - if ( in_array($file, array('.', '..') ) ) - continue; - if ( is_dir( $folder . '/' . $file ) ) { - $files2 = list_files( $folder . '/' . $file, $levels - 1); - if ( $files2 ) - $files = array_merge($files, $files2 ); - else - $files[] = $folder . '/' . $file . '/'; - } else { - $files[] = $folder . '/' . $file; - } - } - } - @closedir( $dir ); - return $files; -} - -/** - * Returns a filename of a Temporary unique file. - * Please note that the calling function must unlink() this itself. - * - * The filename is based off the passed parameter or defaults to the current unix timestamp, - * while the directory can either be passed as well, or by leaving it blank, default to a writable temporary directory. - * - * @since 2.6.0 - * - * @param string $filename (optional) Filename to base the Unique file off - * @param string $dir (optional) Directory to store the file in - * @return string a writable filename - */ -function wp_tempnam($filename = '', $dir = '') { - if ( empty($dir) ) - $dir = get_temp_dir(); - $filename = basename($filename); - if ( empty($filename) ) - $filename = time(); - - $filename = preg_replace('|\..*$|', '.tmp', $filename); - $filename = $dir . wp_unique_filename($dir, $filename); - touch($filename); - return $filename; -} - -/** - * Make sure that the file that was requested to edit, is allowed to be edited - * - * Function will die if if you are not allowed to edit the file - * - * @since 1.5.0 - * - * @uses wp_die - * @uses validate_file - * @param string $file file the users is attempting to edit - * @param array $allowed_files Array of allowed files to edit, $file must match an entry exactly - * @return null - */ -function validate_file_to_edit( $file, $allowed_files = '' ) { - $code = validate_file( $file, $allowed_files ); - - if (!$code ) - return $file; - - switch ( $code ) { - case 1 : - wp_die( __( 'Sorry, that file cannot be edited.' ) ); - - // case 2 : - // wp_die( __('Sorry, can’t call files with their real path.' )); - - case 3 : - wp_die( __( 'Sorry, that file cannot be edited.' ) ); - } -} - -/** - * Handle PHP uploads in WordPress, sanitizing file names, checking extensions for mime type, - * and moving the file to the appropriate directory within the uploads directory. - * - * @since 4.0.0 - * - * @see wp_handle_upload_error - * - * @param array $file Reference to a single element of $_FILES. Call the function once for - * each uploaded file. - * @param array $overrides An associative array of names => values to override default variables. - * @param string $time Time formatted in 'yyyy/mm'. - * @param string $action Expected value for $_POST['action']. - * @return array On success, returns an associative array of file attributes. On failure, returns - * $overrides['upload_error_handler'](&$file, $message ) or array( 'error'=>$message ). -*/ -function _wp_handle_upload( &$file, $overrides, $time, $action ) { - // The default error handler. - if ( ! function_exists( 'wp_handle_upload_error' ) ) { - function wp_handle_upload_error( &$file, $message ) { - return array( 'error' => $message ); - } - } - - /** - * The dynamic portion of the hook name, $action, refers to the post action. - * - * @since 2.9.0 as 'wp_handle_upload_prefilter' - * @since 4.0.0 Converted to a dynamic hook with $action - * - * @param array $file An array of data for a single file. - */ - $file = apply_filters( "{$action}_prefilter", $file ); - - // You may define your own function and pass the name in $overrides['upload_error_handler'] - $upload_error_handler = 'wp_handle_upload_error'; - if ( isset( $overrides['upload_error_handler'] ) ) { - $upload_error_handler = $overrides['upload_error_handler']; - } - - // You may have had one or more 'wp_handle_upload_prefilter' functions error out the file. Handle that gracefully. - if ( isset( $file['error'] ) && ! is_numeric( $file['error'] ) && $file['error'] ) { - return $upload_error_handler( $file, $file['error'] ); - } - - // Install user overrides. Did we mention that this voids your warranty? - - // You may define your own function and pass the name in $overrides['unique_filename_callback'] - $unique_filename_callback = null; - if ( isset( $overrides['unique_filename_callback'] ) ) { - $unique_filename_callback = $overrides['unique_filename_callback']; - } - - /* - * This may not have orignially been intended to be overrideable, - * but historically has been. - */ - if ( isset( $overrides['upload_error_strings'] ) ) { - $upload_error_strings = $overrides['upload_error_strings']; - } else { - // Courtesy of php.net, the strings that describe the error indicated in $_FILES[{form field}]['error']. - $upload_error_strings = array( - false, - __( 'The uploaded file exceeds the upload_max_filesize directive in php.ini.' ), - __( 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.' ), - __( 'The uploaded file was only partially uploaded.' ), - __( 'No file was uploaded.' ), - '', - __( 'Missing a temporary folder.' ), - __( 'Failed to write file to disk.' ), - __( 'File upload stopped by extension.' ) - ); - } - - // All tests are on by default. Most can be turned off by $overrides[{test_name}] = false; - $test_form = isset( $overrides['test_form'] ) ? $overrides['test_form'] : true; - $test_size = isset( $overrides['test_size'] ) ? $overrides['test_size'] : true; - - // If you override this, you must provide $ext and $type!! - $test_type = isset( $overrides['test_type'] ) ? $overrides['test_type'] : true; - $mimes = isset( $overrides['mimes'] ) ? $overrides['mimes'] : false; - - $test_upload = isset( $overrides['test_upload'] ) ? $overrides['test_upload'] : true; - - // A correct form post will pass this test. - if ( $test_form && ( ! isset( $_POST['action'] ) || ( $_POST['action'] != $action ) ) ) { - return call_user_func( $upload_error_handler, $file, __( 'Invalid form submission.' ) ); - } - // A successful upload will pass this test. It makes no sense to override this one. - if ( isset( $file['error'] ) && $file['error'] > 0 ) { - return call_user_func( $upload_error_handler, $file, $upload_error_strings[ $file['error'] ] ); - } - - $test_file_size = 'wp_handle_upload' === $action ? $file['size'] : filesize( $file['tmp_name'] ); - // A non-empty file will pass this test. - if ( $test_size && ! ( $test_file_size > 0 ) ) { - if ( is_multisite() ) { - $error_msg = __( 'File is empty. Please upload something more substantial.' ); - } else { - $error_msg = __( 'File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.' ); - } - return call_user_func( $upload_error_handler, $file, $error_msg ); - } - - // A properly uploaded file will pass this test. There should be no reason to override this one. - $test_uploaded_file = 'wp_handle_upload' === $action ? @ is_uploaded_file( $file['tmp_name'] ) : @ is_file( $file['tmp_name'] ); - if ( $test_upload && ! $test_uploaded_file ) { - return call_user_func( $upload_error_handler, $file, __( 'Specified file failed upload test.' ) ); - } - - // A correct MIME type will pass this test. Override $mimes or use the upload_mimes filter. - if ( $test_type ) { - $wp_filetype = wp_check_filetype_and_ext( $file['tmp_name'], $file['name'], $mimes ); - $ext = empty( $wp_filetype['ext'] ) ? '' : $wp_filetype['ext']; - $type = empty( $wp_filetype['type'] ) ? '' : $wp_filetype['type']; - $proper_filename = empty( $wp_filetype['proper_filename'] ) ? '' : $wp_filetype['proper_filename']; - - // Check to see if wp_check_filetype_and_ext() determined the filename was incorrect - if ( $proper_filename ) { - $file['name'] = $proper_filename; - } - if ( ( ! $type || !$ext ) && ! current_user_can( 'unfiltered_upload' ) ) { - return call_user_func( $upload_error_handler, $file, __( 'Sorry, this file type is not permitted for security reasons.' ) ); - } - if ( ! $type ) { - $type = $file['type']; - } - } else { - $type = ''; - } - - /* - * A writable uploads dir will pass this test. Again, there's no point - * overriding this one. - */ - if ( ! ( ( $uploads = wp_upload_dir( $time ) ) && false === $uploads['error'] ) ) { - return call_user_func( $upload_error_handler, $file, $uploads['error'] ); - } - - $filename = wp_unique_filename( $uploads['path'], $file['name'], $unique_filename_callback ); - - // Move the file to the uploads dir. - $new_file = $uploads['path'] . "/$filename"; - if ( 'wp_handle_upload' === $action ) { - $move_new_file = @ move_uploaded_file( $file['tmp_name'], $new_file ); - } else { - $move_new_file = @ rename( $file['tmp_name'], $new_file ); - } - - if ( false === $move_new_file ) { - if ( 0 === strpos( $uploads['basedir'], ABSPATH ) ) { - $error_path = str_replace( ABSPATH, '', $uploads['basedir'] ) . $uploads['subdir']; - } else { - $error_path = basename( $uploads['basedir'] ) . $uploads['subdir']; - } - return $upload_error_handler( $file, sprintf( __('The uploaded file could not be moved to %s.' ), $error_path ) ); - } - - // Set correct file permissions. - $stat = stat( dirname( $new_file )); - $perms = $stat['mode'] & 0000666; - @ chmod( $new_file, $perms ); - - // Compute the URL. - $url = $uploads['url'] . "/$filename"; - - if ( is_multisite() ) { - delete_transient( 'dirsize_cache' ); - } - - /** - * Filter the data array for the uploaded file. - * - * @since 2.1.0 - * - * @param array $upload { - * Array of upload data. - * - * @type string $file Filename of the newly-uploaded file. - * @type string $url URL of the uploaded file. - * @type string $type File type. - * } - * @param string $context The type of upload action. Values include 'upload' or 'sideload'. - */ - return apply_filters( 'wp_handle_upload', array( - 'file' => $new_file, - 'url' => $url, - 'type' => $type - ), 'wp_handle_sideload' === $action ? 'sideload' : 'upload' ); } - -/** - * Wrapper for _wp_handle_upload(), passes 'wp_handle_upload' action. - * - * @since 2.0.0 - * - * @see _wp_handle_upload() - * - * @param array $file Reference to a single element of $_FILES. Call the function once for - * each uploaded file. - * @param array|bool $overrides Optional. An associative array of names=>values to override default - * variables. Default false. - * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null. - * @return array On success, returns an associative array of file attributes. On failure, returns - * $overrides['upload_error_handler'](&$file, $message ) or array( 'error'=>$message ). - */ -function wp_handle_upload( &$file, $overrides = false, $time = null ) { - /* - * $_POST['action'] must be set and its value must equal $overrides['action'] - * or this: - */ - $action = 'wp_handle_upload'; - if ( isset( $overrides['action'] ) ) { - $action = $overrides['action']; - } - - return _wp_handle_upload( $file, $overrides, $time, $action ); -} - -/** - * Wrapper for _wp_handle_upload(), passes 'wp_handle_sideload' action - * - * @since 2.6.0 - * - * @see _wp_handle_upload() - * - * @param array $file An array similar to that of a PHP $_FILES POST array - * @param array|bool $overrides Optional. An associative array of names=>values to override default - * variables. Default false. - * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null. - * @return array On success, returns an associative array of file attributes. On failure, returns - * $overrides['upload_error_handler'](&$file, $message ) or array( 'error'=>$message ). - */ -function wp_handle_sideload( &$file, $overrides = false, $time = null ) { - /* - * $_POST['action'] must be set and its value must equal $overrides['action'] - * or this: - */ - $action = 'wp_handle_sideload'; - if ( isset( $overrides['action'] ) ) { - $action = $overrides['action']; - } - return _wp_handle_upload( $file, $overrides, $time, $action ); -} - - -/** - * Downloads a url to a local temporary file using the WordPress HTTP Class. - * Please note, That the calling function must unlink() the file. - * - * @since 2.5.0 - * - * @param string $url the URL of the file to download - * @param int $timeout The timeout for the request to download the file default 300 seconds - * @return mixed WP_Error on failure, string Filename on success. - */ -function download_url( $url, $timeout = 300 ) { - //WARNING: The file is not automatically deleted, The script must unlink() the file. - if ( ! $url ) - return new WP_Error('http_no_url', __('Invalid URL Provided.')); - - $tmpfname = wp_tempnam($url); - if ( ! $tmpfname ) - return new WP_Error('http_no_file', __('Could not create Temporary file.')); - - $response = wp_safe_remote_get( $url, array( 'timeout' => $timeout, 'stream' => true, 'filename' => $tmpfname ) ); - - if ( is_wp_error( $response ) ) { - unlink( $tmpfname ); - return $response; - } - - if ( 200 != wp_remote_retrieve_response_code( $response ) ){ - unlink( $tmpfname ); - return new WP_Error( 'http_404', trim( wp_remote_retrieve_response_message( $response ) ) ); - } - - $content_md5 = wp_remote_retrieve_header( $response, 'content-md5' ); - if ( $content_md5 ) { - $md5_check = verify_file_md5( $tmpfname, $content_md5 ); - if ( is_wp_error( $md5_check ) ) { - unlink( $tmpfname ); - return $md5_check; - } - } - - return $tmpfname; -} - -/** - * Calculates and compares the MD5 of a file to its expected value. - * - * @since 3.7.0 - * - * @param string $filename The filename to check the MD5 of. - * @param string $expected_md5 The expected MD5 of the file, either a base64 encoded raw md5, or a hex-encoded md5 - * @return bool|object WP_Error on failure, true on success, false when the MD5 format is unknown/unexpected - */ -function verify_file_md5( $filename, $expected_md5 ) { - if ( 32 == strlen( $expected_md5 ) ) - $expected_raw_md5 = pack( 'H*', $expected_md5 ); - elseif ( 24 == strlen( $expected_md5 ) ) - $expected_raw_md5 = base64_decode( $expected_md5 ); - else - return false; // unknown format - - $file_md5 = md5_file( $filename, true ); - - if ( $file_md5 === $expected_raw_md5 ) - return true; - - return new WP_Error( 'md5_mismatch', sprintf( __( 'The checksum of the file (%1$s) does not match the expected checksum value (%2$s).' ), bin2hex( $file_md5 ), bin2hex( $expected_raw_md5 ) ) ); -} - -/** - * Unzips a specified ZIP file to a location on the Filesystem via the WordPress Filesystem Abstraction. - * Assumes that WP_Filesystem() has already been called and set up. Does not extract a root-level __MACOSX directory, if present. - * - * Attempts to increase the PHP Memory limit to 256M before uncompressing, - * However, The most memory required shouldn't be much larger than the Archive itself. - * - * @since 2.5.0 - * - * @param string $file Full path and filename of zip archive - * @param string $to Full path on the filesystem to extract archive to - * @return mixed WP_Error on failure, True on success - */ -function unzip_file($file, $to) { - global $wp_filesystem; - - if ( ! $wp_filesystem || !is_object($wp_filesystem) ) - return new WP_Error('fs_unavailable', __('Could not access filesystem.')); - - // Unzip can use a lot of memory, but not this much hopefully - /** This filter is documented in wp-admin/admin.php */ - @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) ); - - $needed_dirs = array(); - $to = trailingslashit($to); - - // Determine any parent dir's needed (of the upgrade directory) - if ( ! $wp_filesystem->is_dir($to) ) { //Only do parents if no children exist - $path = preg_split('![/\\\]!', untrailingslashit($to)); - for ( $i = count($path); $i >= 0; $i-- ) { - if ( empty($path[$i]) ) - continue; - - $dir = implode('/', array_slice($path, 0, $i+1) ); - if ( preg_match('!^[a-z]:$!i', $dir) ) // Skip it if it looks like a Windows Drive letter. - continue; - - if ( ! $wp_filesystem->is_dir($dir) ) - $needed_dirs[] = $dir; - else - break; // A folder exists, therefor, we dont need the check the levels below this - } - } - - /** - * Filter whether to use ZipArchive to unzip archives. - * - * @since 3.0.0 - * - * @param bool $ziparchive Whether to use ZipArchive. Default true. - */ - if ( class_exists( 'ZipArchive' ) && apply_filters( 'unzip_file_use_ziparchive', true ) ) { - $result = _unzip_file_ziparchive($file, $to, $needed_dirs); - if ( true === $result ) { - return $result; - } elseif ( is_wp_error($result) ) { - if ( 'incompatible_archive' != $result->get_error_code() ) - return $result; - } - } - // Fall through to PclZip if ZipArchive is not available, or encountered an error opening the file. - return _unzip_file_pclzip($file, $to, $needed_dirs); -} - -/** - * This function should not be called directly, use unzip_file instead. Attempts to unzip an archive using the ZipArchive class. - * Assumes that WP_Filesystem() has already been called and set up. - * - * @since 3.0.0 - * @see unzip_file - * @access private - * - * @param string $file Full path and filename of zip archive - * @param string $to Full path on the filesystem to extract archive to - * @param array $needed_dirs A partial list of required folders needed to be created. - * @return mixed WP_Error on failure, True on success - */ -function _unzip_file_ziparchive($file, $to, $needed_dirs = array() ) { - global $wp_filesystem; - - $z = new ZipArchive(); - - $zopen = $z->open( $file, ZIPARCHIVE::CHECKCONS ); - if ( true !== $zopen ) - return new WP_Error( 'incompatible_archive', __( 'Incompatible Archive.' ), array( 'ziparchive_error' => $zopen ) ); - - $uncompressed_size = 0; - - for ( $i = 0; $i < $z->numFiles; $i++ ) { - if ( ! $info = $z->statIndex($i) ) - return new WP_Error( 'stat_failed_ziparchive', __( 'Could not retrieve file from archive.' ) ); - - if ( '__MACOSX/' === substr($info['name'], 0, 9) ) // Skip the OS X-created __MACOSX directory - continue; - - $uncompressed_size += $info['size']; - - if ( '/' == substr($info['name'], -1) ) // directory - $needed_dirs[] = $to . untrailingslashit($info['name']); - else - $needed_dirs[] = $to . untrailingslashit(dirname($info['name'])); - } - - /* - * disk_free_space() could return false. Assume that any falsey value is an error. - * A disk that has zero free bytes has bigger problems. - * Require we have enough space to unzip the file and copy its contents, with a 10% buffer. - */ - if ( defined( 'DOING_CRON' ) && DOING_CRON ) { - $available_space = @disk_free_space( WP_CONTENT_DIR ); - if ( $available_space && ( $uncompressed_size * 2.1 ) > $available_space ) - return new WP_Error( 'disk_full_unzip_file', __( 'Could not copy files. You may have run out of disk space.' ), compact( 'uncompressed_size', 'available_space' ) ); - } - - $needed_dirs = array_unique($needed_dirs); - foreach ( $needed_dirs as $dir ) { - // Check the parent folders of the folders all exist within the creation array. - if ( untrailingslashit($to) == $dir ) // Skip over the working directory, We know this exists (or will exist) - continue; - if ( strpos($dir, $to) === false ) // If the directory is not within the working directory, Skip it - continue; - - $parent_folder = dirname($dir); - while ( !empty($parent_folder) && untrailingslashit($to) != $parent_folder && !in_array($parent_folder, $needed_dirs) ) { - $needed_dirs[] = $parent_folder; - $parent_folder = dirname($parent_folder); - } - } - asort($needed_dirs); - - // Create those directories if need be: - foreach ( $needed_dirs as $_dir ) { - if ( ! $wp_filesystem->mkdir($_dir, FS_CHMOD_DIR) && ! $wp_filesystem->is_dir($_dir) ) // Only check to see if the Dir exists upon creation failure. Less I/O this way. - return new WP_Error( 'mkdir_failed_ziparchive', __( 'Could not create directory.' ), substr( $_dir, strlen( $to ) ) ); - } - unset($needed_dirs); - - for ( $i = 0; $i < $z->numFiles; $i++ ) { - if ( ! $info = $z->statIndex($i) ) - return new WP_Error( 'stat_failed_ziparchive', __( 'Could not retrieve file from archive.' ) ); - - if ( '/' == substr($info['name'], -1) ) // directory - continue; - - if ( '__MACOSX/' === substr($info['name'], 0, 9) ) // Don't extract the OS X-created __MACOSX directory files - continue; - - $contents = $z->getFromIndex($i); - if ( false === $contents ) - return new WP_Error( 'extract_failed_ziparchive', __( 'Could not extract file from archive.' ), $info['name'] ); - - if ( ! $wp_filesystem->put_contents( $to . $info['name'], $contents, FS_CHMOD_FILE) ) - return new WP_Error( 'copy_failed_ziparchive', __( 'Could not copy file.' ), $info['name'] ); - } - - $z->close(); - - return true; -} - -/** - * This function should not be called directly, use unzip_file instead. Attempts to unzip an archive using the PclZip library. - * Assumes that WP_Filesystem() has already been called and set up. - * - * @since 3.0.0 - * @see unzip_file - * @access private - * - * @param string $file Full path and filename of zip archive - * @param string $to Full path on the filesystem to extract archive to - * @param array $needed_dirs A partial list of required folders needed to be created. - * @return mixed WP_Error on failure, True on success - */ -function _unzip_file_pclzip($file, $to, $needed_dirs = array()) { - global $wp_filesystem; - - mbstring_binary_safe_encoding(); - - require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php'); - - $archive = new PclZip($file); - - $archive_files = $archive->extract(PCLZIP_OPT_EXTRACT_AS_STRING); - - reset_mbstring_encoding(); - - // Is the archive valid? - if ( !is_array($archive_files) ) - return new WP_Error('incompatible_archive', __('Incompatible Archive.'), $archive->errorInfo(true)); - - if ( 0 == count($archive_files) ) - return new WP_Error( 'empty_archive_pclzip', __( 'Empty archive.' ) ); - - $uncompressed_size = 0; - - // Determine any children directories needed (From within the archive) - foreach ( $archive_files as $file ) { - if ( '__MACOSX/' === substr($file['filename'], 0, 9) ) // Skip the OS X-created __MACOSX directory - continue; - - $uncompressed_size += $file['size']; - - $needed_dirs[] = $to . untrailingslashit( $file['folder'] ? $file['filename'] : dirname($file['filename']) ); - } - - /* - * disk_free_space() could return false. Assume that any falsey value is an error. - * A disk that has zero free bytes has bigger problems. - * Require we have enough space to unzip the file and copy its contents, with a 10% buffer. - */ - if ( defined( 'DOING_CRON' ) && DOING_CRON ) { - $available_space = @disk_free_space( WP_CONTENT_DIR ); - if ( $available_space && ( $uncompressed_size * 2.1 ) > $available_space ) - return new WP_Error( 'disk_full_unzip_file', __( 'Could not copy files. You may have run out of disk space.' ), compact( 'uncompressed_size', 'available_space' ) ); - } - - $needed_dirs = array_unique($needed_dirs); - foreach ( $needed_dirs as $dir ) { - // Check the parent folders of the folders all exist within the creation array. - if ( untrailingslashit($to) == $dir ) // Skip over the working directory, We know this exists (or will exist) - continue; - if ( strpos($dir, $to) === false ) // If the directory is not within the working directory, Skip it - continue; - - $parent_folder = dirname($dir); - while ( !empty($parent_folder) && untrailingslashit($to) != $parent_folder && !in_array($parent_folder, $needed_dirs) ) { - $needed_dirs[] = $parent_folder; - $parent_folder = dirname($parent_folder); - } - } - asort($needed_dirs); - - // Create those directories if need be: - foreach ( $needed_dirs as $_dir ) { - // Only check to see if the dir exists upon creation failure. Less I/O this way. - if ( ! $wp_filesystem->mkdir( $_dir, FS_CHMOD_DIR ) && ! $wp_filesystem->is_dir( $_dir ) ) - return new WP_Error( 'mkdir_failed_pclzip', __( 'Could not create directory.' ), substr( $_dir, strlen( $to ) ) ); - } - unset($needed_dirs); - - // Extract the files from the zip - foreach ( $archive_files as $file ) { - if ( $file['folder'] ) - continue; - - if ( '__MACOSX/' === substr($file['filename'], 0, 9) ) // Don't extract the OS X-created __MACOSX directory files - continue; - - if ( ! $wp_filesystem->put_contents( $to . $file['filename'], $file['content'], FS_CHMOD_FILE) ) - return new WP_Error( 'copy_failed_pclzip', __( 'Could not copy file.' ), $file['filename'] ); - } - return true; -} - -/** - * Copies a directory from one location to another via the WordPress Filesystem Abstraction. - * Assumes that WP_Filesystem() has already been called and setup. - * - * @since 2.5.0 - * - * @param string $from source directory - * @param string $to destination directory - * @param array $skip_list a list of files/folders to skip copying - * @return mixed WP_Error on failure, True on success. - */ -function copy_dir($from, $to, $skip_list = array() ) { - global $wp_filesystem; - - $dirlist = $wp_filesystem->dirlist($from); - - $from = trailingslashit($from); - $to = trailingslashit($to); - - foreach ( (array) $dirlist as $filename => $fileinfo ) { - if ( in_array( $filename, $skip_list ) ) - continue; - - if ( 'f' == $fileinfo['type'] ) { - if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true, FS_CHMOD_FILE) ) { - // If copy failed, chmod file to 0644 and try again. - $wp_filesystem->chmod( $to . $filename, FS_CHMOD_FILE ); - if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true, FS_CHMOD_FILE) ) - return new WP_Error( 'copy_failed_copy_dir', __( 'Could not copy file.' ), $to . $filename ); - } - } elseif ( 'd' == $fileinfo['type'] ) { - if ( !$wp_filesystem->is_dir($to . $filename) ) { - if ( !$wp_filesystem->mkdir($to . $filename, FS_CHMOD_DIR) ) - return new WP_Error( 'mkdir_failed_copy_dir', __( 'Could not create directory.' ), $to . $filename ); - } - - // generate the $sub_skip_list for the subdirectory as a sub-set of the existing $skip_list - $sub_skip_list = array(); - foreach ( $skip_list as $skip_item ) { - if ( 0 === strpos( $skip_item, $filename . '/' ) ) - $sub_skip_list[] = preg_replace( '!^' . preg_quote( $filename, '!' ) . '/!i', '', $skip_item ); - } - - $result = copy_dir($from . $filename, $to . $filename, $sub_skip_list); - if ( is_wp_error($result) ) - return $result; - } - } - return true; -} - -/** - * Initialises and connects the WordPress Filesystem Abstraction classes. - * This function will include the chosen transport and attempt connecting. - * - * Plugins may add extra transports, And force WordPress to use them by returning the filename via the 'filesystem_method_file' filter. - * - * @since 2.5.0 - * - * @param array $args (optional) Connection args, These are passed directly to the WP_Filesystem_*() classes. - * @param string $context (optional) Context for get_filesystem_method(), See function declaration for more information. - * @return boolean false on failure, true on success - */ -function WP_Filesystem( $args = false, $context = false ) { - global $wp_filesystem; - - require_once(ABSPATH . 'wp-admin/includes/class-wp-filesystem-base.php'); - - $method = get_filesystem_method($args, $context); - - if ( ! $method ) - return false; - - if ( ! class_exists("WP_Filesystem_$method") ) { - - /** - * Filter the path for a specific filesystem method class file. - * - * @since 2.6.0 - * - * @see get_filesystem_method() - * - * @param string $path Path to the specific filesystem method class file. - * @param string $method The filesystem method to use. - */ - $abstraction_file = apply_filters( 'filesystem_method_file', ABSPATH . 'wp-admin/includes/class-wp-filesystem-' . $method . '.php', $method ); - - if ( ! file_exists($abstraction_file) ) - return; - - require_once($abstraction_file); - } - $method = "WP_Filesystem_$method"; - - $wp_filesystem = new $method($args); - - //Define the timeouts for the connections. Only available after the construct is called to allow for per-transport overriding of the default. - if ( ! defined('FS_CONNECT_TIMEOUT') ) - define('FS_CONNECT_TIMEOUT', 30); - if ( ! defined('FS_TIMEOUT') ) - define('FS_TIMEOUT', 30); - - if ( is_wp_error($wp_filesystem->errors) && $wp_filesystem->errors->get_error_code() ) - return false; - - if ( !$wp_filesystem->connect() ) - return false; //There was an error connecting to the server. - - // Set the permission constants if not already set. - if ( ! defined('FS_CHMOD_DIR') ) - define('FS_CHMOD_DIR', ( fileperms( ABSPATH ) & 0777 | 0755 ) ); - if ( ! defined('FS_CHMOD_FILE') ) - define('FS_CHMOD_FILE', ( fileperms( ABSPATH . 'index.php' ) & 0777 | 0644 ) ); - - return true; -} - -/** - * Determines which Filesystem Method to use. - * The priority of the Transports are: Direct, SSH2, FTP PHP Extension, FTP Sockets (Via Sockets class, or fsockopen()) - * - * Note that the return value of this function can be overridden in 2 ways - * - By defining FS_METHOD in your wp-config.php file - * - By using the filesystem_method filter - * Valid values for these are: 'direct', 'ssh2', 'ftpext' or 'ftpsockets' - * Plugins may also define a custom transport handler, See the WP_Filesystem function for more information. - * - * @since 2.5.0 - * - * @param array $args Connection details. - * @param string $context Full path to the directory that is tested for being writable. - * @return string The transport to use, see description for valid return values. - */ -function get_filesystem_method($args = array(), $context = false) { - $method = defined('FS_METHOD') ? FS_METHOD : false; // Please ensure that this is either 'direct', 'ssh2', 'ftpext' or 'ftpsockets' - - if ( ! $method && function_exists('getmyuid') && function_exists('fileowner') ){ - if ( !$context ) - $context = WP_CONTENT_DIR; - - // If the directory doesn't exist (wp-content/languages) then use the parent directory as we'll create it. - if ( WP_LANG_DIR == $context && ! is_dir( $context ) ) - $context = dirname( $context ); - - $context = trailingslashit($context); - $temp_file_name = $context . 'temp-write-test-' . time(); - $temp_handle = @fopen($temp_file_name, 'w'); - if ( $temp_handle ) { - if ( getmyuid() == @fileowner($temp_file_name) ) - $method = 'direct'; - @fclose($temp_handle); - @unlink($temp_file_name); - } - } - - if ( ! $method && isset($args['connection_type']) && 'ssh' == $args['connection_type'] && extension_loaded('ssh2') && function_exists('stream_get_contents') ) $method = 'ssh2'; - if ( ! $method && extension_loaded('ftp') ) $method = 'ftpext'; - if ( ! $method && ( extension_loaded('sockets') || function_exists('fsockopen') ) ) $method = 'ftpsockets'; //Sockets: Socket extension; PHP Mode: FSockopen / fwrite / fread - - /** - * Filter the filesystem method to use. - * - * @since 2.6.0 - * - * @param string $method Filesystem method to return. - * @param array $args An array of connection details for the method. - */ - return apply_filters( 'filesystem_method', $method, $args ); -} - -/** - * Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem. - * All chosen/entered details are saved, Excluding the Password. - * - * Hostnames may be in the form of hostname:portnumber (eg: wordpress.org:2467) to specify an alternate FTP/SSH port. - * - * Plugins may override this form by returning true|false via the request_filesystem_credentials filter. - * - * @since 2.5.0 - * - * @param string $form_post the URL to post the form to - * @param string $type the chosen Filesystem method in use - * @param boolean $error if the current request has failed to connect - * @param string $context The directory which is needed access to, The write-test will be performed on this directory by get_filesystem_method() - * @param string $extra_fields Extra POST fields which should be checked for to be included in the post. - * @return boolean False on failure. True on success. - */ -function request_filesystem_credentials($form_post, $type = '', $error = false, $context = false, $extra_fields = null) { - - /** - * Filter the filesystem credentials form output. - * - * Returning anything other than an empty string will effectively short-circuit - * output of the filesystem credentials form, returning that value instead. - * - * @since 2.5.0 - * - * @param mixed $output Form output to return instead. Default empty. - * @param string $form_post URL to POST the form to. - * @param string $type Chosen type of filesystem. - * @param bool $error Whether the current request has failed to connect. - * Default false. - * @param string $context Full path to the directory that is tested for - * being writable. - * @param array $extra_fields Extra POST fields. - */ - $req_cred = apply_filters( 'request_filesystem_credentials', '', $form_post, $type, $error, $context, $extra_fields ); - if ( '' !== $req_cred ) - return $req_cred; - - if ( empty($type) ) - $type = get_filesystem_method(array(), $context); - - if ( 'direct' == $type ) - return true; - - if ( is_null( $extra_fields ) ) - $extra_fields = array( 'version', 'locale' ); - - $credentials = get_option('ftp_credentials', array( 'hostname' => '', 'username' => '')); - - // If defined, set it to that, Else, If POST'd, set it to that, If not, Set it to whatever it previously was(saved details in option) - $credentials['hostname'] = defined('FTP_HOST') ? FTP_HOST : (!empty($_POST['hostname']) ? wp_unslash( $_POST['hostname'] ) : $credentials['hostname']); - $credentials['username'] = defined('FTP_USER') ? FTP_USER : (!empty($_POST['username']) ? wp_unslash( $_POST['username'] ) : $credentials['username']); - $credentials['password'] = defined('FTP_PASS') ? FTP_PASS : (!empty($_POST['password']) ? wp_unslash( $_POST['password'] ) : ''); - - // Check to see if we are setting the public/private keys for ssh - $credentials['public_key'] = defined('FTP_PUBKEY') ? FTP_PUBKEY : (!empty($_POST['public_key']) ? wp_unslash( $_POST['public_key'] ) : ''); - $credentials['private_key'] = defined('FTP_PRIKEY') ? FTP_PRIKEY : (!empty($_POST['private_key']) ? wp_unslash( $_POST['private_key'] ) : ''); - - // Sanitize the hostname, Some people might pass in odd-data: - $credentials['hostname'] = preg_replace('|\w+://|', '', $credentials['hostname']); //Strip any schemes off - - if ( strpos($credentials['hostname'], ':') ) { - list( $credentials['hostname'], $credentials['port'] ) = explode(':', $credentials['hostname'], 2); - if ( ! is_numeric($credentials['port']) ) - unset($credentials['port']); - } else { - unset($credentials['port']); - } - - if ( ( defined('FTP_SSH') && FTP_SSH ) || ( defined('FS_METHOD') && 'ssh2' == FS_METHOD ) ) - $credentials['connection_type'] = 'ssh'; - else if ( (defined('FTP_SSL') && FTP_SSL) && 'ftpext' == $type ) //Only the FTP Extension understands SSL - $credentials['connection_type'] = 'ftps'; - else if ( !empty($_POST['connection_type']) ) - $credentials['connection_type'] = wp_unslash( $_POST['connection_type'] ); - else if ( !isset($credentials['connection_type']) ) //All else fails (And it's not defaulted to something else saved), Default to FTP - $credentials['connection_type'] = 'ftp'; - - if ( ! $error && - ( - ( !empty($credentials['password']) && !empty($credentials['username']) && !empty($credentials['hostname']) ) || - ( 'ssh' == $credentials['connection_type'] && !empty($credentials['public_key']) && !empty($credentials['private_key']) ) - ) ) { - $stored_credentials = $credentials; - if ( !empty($stored_credentials['port']) ) //save port as part of hostname to simplify above code. - $stored_credentials['hostname'] .= ':' . $stored_credentials['port']; - - unset($stored_credentials['password'], $stored_credentials['port'], $stored_credentials['private_key'], $stored_credentials['public_key']); - update_option('ftp_credentials', $stored_credentials); - return $credentials; - } - $hostname = isset( $credentials['hostname'] ) ? $credentials['hostname'] : ''; - $username = isset( $credentials['username'] ) ? $credentials['username'] : ''; - $public_key = isset( $credentials['public_key'] ) ? $credentials['public_key'] : ''; - $private_key = isset( $credentials['private_key'] ) ? $credentials['private_key'] : ''; - $port = isset( $credentials['port'] ) ? $credentials['port'] : ''; - $connection_type = isset( $credentials['connection_type'] ) ? $credentials['connection_type'] : ''; - - if ( $error ) { - $error_string = __('ERROR: There was an error connecting to the server, Please verify the settings are correct.'); - if ( is_wp_error($error) ) - $error_string = esc_html( $error->get_error_message() ); - echo '

' . $error_string . '

'; - } - - $types = array(); - if ( extension_loaded('ftp') || extension_loaded('sockets') || function_exists('fsockopen') ) - $types[ 'ftp' ] = __('FTP'); - if ( extension_loaded('ftp') ) //Only this supports FTPS - $types[ 'ftps' ] = __('FTPS (SSL)'); - if ( extension_loaded('ssh2') && function_exists('stream_get_contents') ) - $types[ 'ssh' ] = __('SSH2'); - - /** - * Filter the connection types to output to the filesystem credentials form. - * - * @since 2.9.0 - * - * @param array $types Types of connections. - * @param array $credentials Credentials to connect with. - * @param string $type Chosen filesystem method. - * @param object $error Error object. - * @param string $context Full path to the directory that is tested - * for being writable. - */ - $types = apply_filters( 'fs_ftp_connection_types', $types, $credentials, $type, $error, $context ); - -?> - -
-
-

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
" size="40" />
size="40" />
size="40" />
-
-
-
- -

size="40" /> -
size="40" /> -
-
- $text ) : ?> - - -
-
- -'; -} -submit_button( __( 'Proceed' ), 'button', 'upgrade' ); -?> -
-
- 400 ? 400 / $big : 1; - - $backup_sizes = get_post_meta( $post_id, '_wp_attachment_backup_sizes', true ); - $can_restore = false; - if ( ! empty( $backup_sizes ) && isset( $backup_sizes['full-orig'], $meta['file'] ) ) - $can_restore = $backup_sizes['full-orig']['file'] != basename( $meta['file'] ); - - if ( $msg ) { - if ( isset($msg->error) ) - $note = "

$msg->error

"; - elseif ( isset($msg->msg) ) - $note = "

$msg->msg

"; - } - - ?> -
-
- -
-
-
-

-
-

-
- -

- -
- × - ! - , 'scale')" class="button button-primary" value="" /> -
-
-
- - - -
-
-

-
-

-
- , 'restore')" class="button button-primary" value="" /> -
-
-
-
- - - -
-
-

- -
-

- -


-

- -


-

-
-
- -

- - - - : - - -

- -

- - - - × - - -

-
- - - -
-
-

-

-
- -

- -
-

- -

-
- - - - - - -

-
- - - -
- -
- -
-
, this)" class="imgedit-crop disabled" title="">
get_post_mime_type( $post_id ), 'methods' => array( 'rotate' ) ) ) ) { ?> -
, this)" title="">
-
, this)" title="">
- -
-
- - -
, this)" class="imgedit-flipv" title="">
-
, this)" class="imgedit-fliph" title="">
- -
, this)" class="imgedit-undo disabled" title="">
-
, this)" class="imgedit-redo disabled" title="">
-
-
- - - - - - - - -
- -
- -
- - )" disabled="disabled" class="button button-primary imgedit-submit-btn" value="" /> -
-
- -
-
- - -
-stream( $mime_type ) ) ) - return false; - - return true; - } else { - _deprecated_argument( __FUNCTION__, '3.5', __( '$image needs to be an WP_Image_Editor object' ) ); - - /** - * Filter the GD image resource to be streamed to the browser. - * - * @since 2.9.0 - * @deprecated 3.5.0 Use image_editor_save_pre instead. - * - * @param resource $image Image resource to be streamed. - * @param int $post_id Post ID. - */ - $image = apply_filters( 'image_save_pre', $image, $post_id ); - - switch ( $mime_type ) { - case 'image/jpeg': - header( 'Content-Type: image/jpeg' ); - return imagejpeg( $image, null, 90 ); - case 'image/png': - header( 'Content-Type: image/png' ); - return imagepng( $image ); - case 'image/gif': - header( 'Content-Type: image/gif' ); - return imagegif( $image ); - default: - return false; - } - } -} - -/** - * Saves Image to File - * - * @param string $filename - * @param WP_Image_Editor $image - * @param string $mime_type - * @param int $post_id - * @return boolean - */ -function wp_save_image_file( $filename, $image, $mime_type, $post_id ) { - if ( $image instanceof WP_Image_Editor ) { - - /** This filter is documented in wp-admin/includes/image-edit.php */ - $image = apply_filters( 'image_editor_save_pre', $image, $post_id ); - - /** - * Filter whether to skip saving the image file. - * - * Returning a non-null value will short-circuit the save method, - * returning that value instead. - * - * @since 3.5.0 - * - * @param mixed $override Value to return instead of saving. Default null. - * @param string $filename Name of the file to be saved. - * @param WP_Image_Editor $image WP_Image_Editor instance. - * @param string $mime_type Image mime type. - * @param int $post_id Post ID. - */ - $saved = apply_filters( 'wp_save_image_editor_file', null, $filename, $image, $mime_type, $post_id ); - - if ( null !== $saved ) - return $saved; - - return $image->save( $filename, $mime_type ); - } else { - _deprecated_argument( __FUNCTION__, '3.5', __( '$image needs to be an WP_Image_Editor object' ) ); - - /** This filter is documented in wp-admin/includes/image-edit.php */ - $image = apply_filters( 'image_save_pre', $image, $post_id ); - - /** - * Filter whether to skip saving the image file. - * - * Returning a non-null value will short-circuit the save method, - * returning that value instead. - * - * @since 2.9.0 - * @deprecated 3.5.0 Use wp_save_image_editor_file instead. - * - * @param mixed $override Value to return instead of saving. Default null. - * @param string $filename Name of the file to be saved. - * @param WP_Image_Editor $image WP_Image_Editor instance. - * @param string $mime_type Image mime type. - * @param int $post_id Post ID. - */ - $saved = apply_filters( 'wp_save_image_file', null, $filename, $image, $mime_type, $post_id ); - - if ( null !== $saved ) - return $saved; - - switch ( $mime_type ) { - case 'image/jpeg': - - /** This filter is documented in wp-includes/class-wp-image-editor.php */ - return imagejpeg( $image, $filename, apply_filters( 'jpeg_quality', 90, 'edit_image' ) ); - case 'image/png': - return imagepng( $image, $filename ); - case 'image/gif': - return imagegif( $image, $filename ); - default: - return false; - } - } -} - -function _image_get_preview_ratio($w, $h) { - $max = max($w, $h); - return $max > 400 ? (400 / $max) : 1; -} - -// @TODO: Returns GD resource, but is NOT public -function _rotate_image_resource($img, $angle) { - _deprecated_function( __FUNCTION__, '3.5', __( 'Use WP_Image_Editor::rotate' ) ); - if ( function_exists('imagerotate') ) { - $rotated = imagerotate($img, $angle, 0); - if ( is_resource($rotated) ) { - imagedestroy($img); - $img = $rotated; - } - } - return $img; -} - -/** - * @TODO: Only used within image_edit_apply_changes - * and receives/returns GD Resource. - * Consider removal. - * - * @param GD_Resource $img - * @param boolean $horz - * @param boolean $vert - * @return GD_Resource - */ -function _flip_image_resource($img, $horz, $vert) { - _deprecated_function( __FUNCTION__, '3.5', __( 'Use WP_Image_Editor::flip' ) ); - $w = imagesx($img); - $h = imagesy($img); - $dst = wp_imagecreatetruecolor($w, $h); - if ( is_resource($dst) ) { - $sx = $vert ? ($w - 1) : 0; - $sy = $horz ? ($h - 1) : 0; - $sw = $vert ? -$w : $w; - $sh = $horz ? -$h : $h; - - if ( imagecopyresampled($dst, $img, 0, 0, $sx, $sy, $w, $h, $sw, $sh) ) { - imagedestroy($img); - $img = $dst; - } - } - return $img; -} - -/** - * @TODO: Only used within image_edit_apply_changes - * and receives/returns GD Resource. - * Consider removal. - * - * @param GD_Resource $img - * @param float $x - * @param float $y - * @param float $w - * @param float $h - * @return GD_Resource - */ -function _crop_image_resource($img, $x, $y, $w, $h) { - $dst = wp_imagecreatetruecolor($w, $h); - if ( is_resource($dst) ) { - if ( imagecopy($dst, $img, 0, 0, $x, $y, $w, $h) ) { - imagedestroy($img); - $img = $dst; - } - } - return $img; -} - -/** - * Performs group of changes on Editor specified. - * - * @param WP_Image_Editor $image - * @param type $changes - * @return WP_Image_Editor - */ -function image_edit_apply_changes( $image, $changes ) { - if ( is_resource( $image ) ) - _deprecated_argument( __FUNCTION__, '3.5', __( '$image needs to be an WP_Image_Editor object' ) ); - - if ( !is_array($changes) ) - return $image; - - // Expand change operations. - foreach ( $changes as $key => $obj ) { - if ( isset($obj->r) ) { - $obj->type = 'rotate'; - $obj->angle = $obj->r; - unset($obj->r); - } elseif ( isset($obj->f) ) { - $obj->type = 'flip'; - $obj->axis = $obj->f; - unset($obj->f); - } elseif ( isset($obj->c) ) { - $obj->type = 'crop'; - $obj->sel = $obj->c; - unset($obj->c); - } - $changes[$key] = $obj; - } - - // Combine operations. - if ( count($changes) > 1 ) { - $filtered = array($changes[0]); - for ( $i = 0, $j = 1; $j < count($changes); $j++ ) { - $combined = false; - if ( $filtered[$i]->type == $changes[$j]->type ) { - switch ( $filtered[$i]->type ) { - case 'rotate': - $filtered[$i]->angle += $changes[$j]->angle; - $combined = true; - break; - case 'flip': - $filtered[$i]->axis ^= $changes[$j]->axis; - $combined = true; - break; - } - } - if ( !$combined ) - $filtered[++$i] = $changes[$j]; - } - $changes = $filtered; - unset($filtered); - } - - // Image resource before applying the changes. - if ( $image instanceof WP_Image_Editor ) { - - /** - * Filter the WP_Image_Editor instance before applying changes to the image. - * - * @since 3.5.0 - * - * @param WP_Image_Editor $image WP_Image_Editor instance. - * @param array $changes Array of change operations. - */ - $image = apply_filters( 'wp_image_editor_before_change', $image, $changes ); - } elseif ( is_resource( $image ) ) { - - /** - * Filter the GD image resource before applying changes to the image. - * - * @since 2.9.0 - * @deprecated 3.5.0 Use wp_image_editor_before_change instead. - * - * @param resource $image GD image resource. - * @param array $changes Array of change operations. - */ - $image = apply_filters( 'image_edit_before_change', $image, $changes ); - } - - foreach ( $changes as $operation ) { - switch ( $operation->type ) { - case 'rotate': - if ( $operation->angle != 0 ) { - if ( $image instanceof WP_Image_Editor ) - $image->rotate( $operation->angle ); - else - $image = _rotate_image_resource( $image, $operation->angle ); - } - break; - case 'flip': - if ( $operation->axis != 0 ) - if ( $image instanceof WP_Image_Editor ) - $image->flip( ($operation->axis & 1) != 0, ($operation->axis & 2) != 0 ); - else - $image = _flip_image_resource( $image, ( $operation->axis & 1 ) != 0, ( $operation->axis & 2 ) != 0 ); - break; - case 'crop': - $sel = $operation->sel; - - if ( $image instanceof WP_Image_Editor ) { - $size = $image->get_size(); - $w = $size['width']; - $h = $size['height']; - - $scale = 1 / _image_get_preview_ratio( $w, $h ); // discard preview scaling - $image->crop( $sel->x * $scale, $sel->y * $scale, $sel->w * $scale, $sel->h * $scale ); - } else { - $scale = 1 / _image_get_preview_ratio( imagesx( $image ), imagesy( $image ) ); // discard preview scaling - $image = _crop_image_resource( $image, $sel->x * $scale, $sel->y * $scale, $sel->w * $scale, $sel->h * $scale ); - } - break; - } - } - - return $image; -} - - -/** - * Streams image in post to browser, along with enqueued changes - * in $_REQUEST['history'] - * - * @param int $post_id - * @return boolean - */ -function stream_preview_image( $post_id ) { - $post = get_post( $post_id ); - - /** This filter is documented in wp-admin/admin.php */ - @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) ); - - $img = wp_get_image_editor( _load_image_to_edit_path( $post_id ) ); - - if ( is_wp_error( $img ) ) - return false; - - $changes = !empty($_REQUEST['history']) ? json_decode( wp_unslash($_REQUEST['history']) ) : null; - if ( $changes ) - $img = image_edit_apply_changes( $img, $changes ); - - // Scale the image. - $size = $img->get_size(); - $w = $size['width']; - $h = $size['height']; - - $ratio = _image_get_preview_ratio( $w, $h ); - $w2 = max ( 1, $w * $ratio ); - $h2 = max ( 1, $h * $ratio ); - - if ( is_wp_error( $img->resize( $w2, $h2 ) ) ) - return false; - - return wp_stream_image( $img, $post->post_mime_type, $post_id ); -} - -function wp_restore_image($post_id) { - $meta = wp_get_attachment_metadata($post_id); - $file = get_attached_file($post_id); - $backup_sizes = get_post_meta( $post_id, '_wp_attachment_backup_sizes', true ); - $restored = false; - $msg = new stdClass; - - if ( !is_array($backup_sizes) ) { - $msg->error = __('Cannot load image metadata.'); - return $msg; - } - - $parts = pathinfo($file); - $suffix = time() . rand(100, 999); - $default_sizes = get_intermediate_image_sizes(); - - if ( isset($backup_sizes['full-orig']) && is_array($backup_sizes['full-orig']) ) { - $data = $backup_sizes['full-orig']; - - if ( $parts['basename'] != $data['file'] ) { - if ( defined('IMAGE_EDIT_OVERWRITE') && IMAGE_EDIT_OVERWRITE ) { - - // Delete only if it's edited image. - if ( preg_match('/-e[0-9]{13}\./', $parts['basename']) ) { - - /** This filter is documented in wp-admin/custom-header.php */ - $delpath = apply_filters( 'wp_delete_file', $file ); - @unlink($delpath); - } - } elseif ( isset( $meta['width'], $meta['height'] ) ) { - $backup_sizes["full-$suffix"] = array('width' => $meta['width'], 'height' => $meta['height'], 'file' => $parts['basename']); - } - } - - $restored_file = path_join($parts['dirname'], $data['file']); - $restored = update_attached_file($post_id, $restored_file); - - $meta['file'] = _wp_relative_upload_path( $restored_file ); - $meta['width'] = $data['width']; - $meta['height'] = $data['height']; - } - - foreach ( $default_sizes as $default_size ) { - if ( isset($backup_sizes["$default_size-orig"]) ) { - $data = $backup_sizes["$default_size-orig"]; - if ( isset($meta['sizes'][$default_size]) && $meta['sizes'][$default_size]['file'] != $data['file'] ) { - if ( defined('IMAGE_EDIT_OVERWRITE') && IMAGE_EDIT_OVERWRITE ) { - - // Delete only if it's edited image - if ( preg_match('/-e[0-9]{13}-/', $meta['sizes'][$default_size]['file']) ) { - /** This filter is documented in wp-admin/custom-header.php */ - $delpath = apply_filters( 'wp_delete_file', path_join($parts['dirname'], $meta['sizes'][$default_size]['file']) ); - @unlink($delpath); - } - } else { - $backup_sizes["$default_size-{$suffix}"] = $meta['sizes'][$default_size]; - } - } - - $meta['sizes'][$default_size] = $data; - } else { - unset($meta['sizes'][$default_size]); - } - } - - if ( !wp_update_attachment_metadata($post_id, $meta) || !update_post_meta( $post_id, '_wp_attachment_backup_sizes', $backup_sizes) ) { - $msg->error = __('Cannot save image metadata.'); - return $msg; - } - - if ( !$restored ) - $msg->error = __('Image metadata is inconsistent.'); - else - $msg->msg = __('Image restored successfully.'); - - return $msg; -} - -/** - * Saves image to post along with enqueued changes - * in $_REQUEST['history'] - * - * @param int $post_id - * @return \stdClass - */ -function wp_save_image( $post_id ) { - global $_wp_additional_image_sizes; - - $return = new stdClass; - $success = $delete = $scaled = $nocrop = false; - $post = get_post( $post_id ); - - $img = wp_get_image_editor( _load_image_to_edit_path( $post_id, 'full' ) ); - if ( is_wp_error( $img ) ) { - $return->error = esc_js( __('Unable to create new image.') ); - return $return; - } - - $fwidth = !empty($_REQUEST['fwidth']) ? intval($_REQUEST['fwidth']) : 0; - $fheight = !empty($_REQUEST['fheight']) ? intval($_REQUEST['fheight']) : 0; - $target = !empty($_REQUEST['target']) ? preg_replace('/[^a-z0-9_-]+/i', '', $_REQUEST['target']) : ''; - $scale = !empty($_REQUEST['do']) && 'scale' == $_REQUEST['do']; - - if ( $scale && $fwidth > 0 && $fheight > 0 ) { - $size = $img->get_size(); - $sX = $size['width']; - $sY = $size['height']; - - // Check if it has roughly the same w / h ratio. - $diff = round($sX / $sY, 2) - round($fwidth / $fheight, 2); - if ( -0.1 < $diff && $diff < 0.1 ) { - // Scale the full size image. - if ( $img->resize( $fwidth, $fheight ) ) - $scaled = true; - } - - if ( !$scaled ) { - $return->error = esc_js( __('Error while saving the scaled image. Please reload the page and try again.') ); - return $return; - } - } elseif ( !empty($_REQUEST['history']) ) { - $changes = json_decode( wp_unslash($_REQUEST['history']) ); - if ( $changes ) - $img = image_edit_apply_changes($img, $changes); - } else { - $return->error = esc_js( __('Nothing to save, the image has not changed.') ); - return $return; - } - - $meta = wp_get_attachment_metadata($post_id); - $backup_sizes = get_post_meta( $post->ID, '_wp_attachment_backup_sizes', true ); - - if ( !is_array($meta) ) { - $return->error = esc_js( __('Image data does not exist. Please re-upload the image.') ); - return $return; - } - - if ( !is_array($backup_sizes) ) - $backup_sizes = array(); - - // Generate new filename. - $path = get_attached_file($post_id); - $path_parts = pathinfo( $path ); - $filename = $path_parts['filename']; - $suffix = time() . rand(100, 999); - - if ( defined('IMAGE_EDIT_OVERWRITE') && IMAGE_EDIT_OVERWRITE && - isset($backup_sizes['full-orig']) && $backup_sizes['full-orig']['file'] != $path_parts['basename'] ) { - - if ( 'thumbnail' == $target ) - $new_path = "{$path_parts['dirname']}/{$filename}-temp.{$path_parts['extension']}"; - else - $new_path = $path; - } else { - while( true ) { - $filename = preg_replace( '/-e([0-9]+)$/', '', $filename ); - $filename .= "-e{$suffix}"; - $new_filename = "{$filename}.{$path_parts['extension']}"; - $new_path = "{$path_parts['dirname']}/$new_filename"; - if ( file_exists($new_path) ) - $suffix++; - else - break; - } - } - - // Save the full-size file, also needed to create sub-sizes. - if ( !wp_save_image_file($new_path, $img, $post->post_mime_type, $post_id) ) { - $return->error = esc_js( __('Unable to save the image.') ); - return $return; - } - - if ( 'nothumb' == $target || 'all' == $target || 'full' == $target || $scaled ) { - $tag = false; - if ( isset($backup_sizes['full-orig']) ) { - if ( ( !defined('IMAGE_EDIT_OVERWRITE') || !IMAGE_EDIT_OVERWRITE ) && $backup_sizes['full-orig']['file'] != $path_parts['basename'] ) - $tag = "full-$suffix"; - } else { - $tag = 'full-orig'; - } - - if ( $tag ) - $backup_sizes[$tag] = array('width' => $meta['width'], 'height' => $meta['height'], 'file' => $path_parts['basename']); - - $success = update_attached_file( $post_id, $new_path ); - - $meta['file'] = _wp_relative_upload_path( $new_path ); - - $size = $img->get_size(); - $meta['width'] = $size['width']; - $meta['height'] = $size['height']; - - if ( $success && ('nothumb' == $target || 'all' == $target) ) { - $sizes = get_intermediate_image_sizes(); - if ( 'nothumb' == $target ) - $sizes = array_diff( $sizes, array('thumbnail') ); - } - - $return->fw = $meta['width']; - $return->fh = $meta['height']; - } elseif ( 'thumbnail' == $target ) { - $sizes = array( 'thumbnail' ); - $success = $delete = $nocrop = true; - } - - if ( isset( $sizes ) ) { - $_sizes = array(); - - foreach ( $sizes as $size ) { - $tag = false; - if ( isset( $meta['sizes'][$size] ) ) { - if ( isset($backup_sizes["$size-orig"]) ) { - if ( ( !defined('IMAGE_EDIT_OVERWRITE') || !IMAGE_EDIT_OVERWRITE ) && $backup_sizes["$size-orig"]['file'] != $meta['sizes'][$size]['file'] ) - $tag = "$size-$suffix"; - } else { - $tag = "$size-orig"; - } - - if ( $tag ) - $backup_sizes[$tag] = $meta['sizes'][$size]; - } - - if ( isset( $_wp_additional_image_sizes[ $size ] ) ) { - $width = intval( $_wp_additional_image_sizes[ $size ]['width'] ); - $height = intval( $_wp_additional_image_sizes[ $size ]['height'] ); - $crop = ( $nocrop ) ? false : $_wp_additional_image_sizes[ $size ]['crop']; - } else { - $height = get_option( "{$size}_size_h" ); - $width = get_option( "{$size}_size_w" ); - $crop = ( $nocrop ) ? false : get_option( "{$size}_crop" ); - } - - $_sizes[ $size ] = array( 'width' => $width, 'height' => $height, 'crop' => $crop ); - } - - $meta['sizes'] = array_merge( $meta['sizes'], $img->multi_resize( $_sizes ) ); - } - - unset( $img ); - - if ( $success ) { - wp_update_attachment_metadata( $post_id, $meta ); - update_post_meta( $post_id, '_wp_attachment_backup_sizes', $backup_sizes); - - if ( $target == 'thumbnail' || $target == 'all' || $target == 'full' ) { - // Check if it's an image edit from attachment edit screen - if ( ! empty( $_REQUEST['context'] ) && 'edit-attachment' == $_REQUEST['context'] ) { - $thumb_url = wp_get_attachment_image_src( $post_id, array( 900, 600 ), true ); - $return->thumbnail = $thumb_url[0]; - } else { - $file_url = wp_get_attachment_url($post_id); - if ( ! empty( $meta['sizes']['thumbnail'] ) && $thumb = $meta['sizes']['thumbnail'] ) { - $return->thumbnail = path_join( dirname($file_url), $thumb['file'] ); - } else { - $return->thumbnail = "$file_url?w=128&h=128"; - } - } - } - } else { - $delete = true; - } - - if ( $delete ) { - - /** This filter is documented in wp-admin/custom-header.php */ - $delpath = apply_filters( 'wp_delete_file', $new_path ); - @unlink( $delpath ); - } - - $return->msg = esc_js( __('Image saved') ); - return $return; -} diff --git a/sources/wordpress/wp-admin/includes/image.php b/sources/wordpress/wp-admin/includes/image.php deleted file mode 100644 index 5fc7161..0000000 --- a/sources/wordpress/wp-admin/includes/image.php +++ /dev/null @@ -1,604 +0,0 @@ -crop( $src_x, $src_y, $src_w, $src_h, $dst_w, $dst_h, $src_abs ); - if ( is_wp_error( $src ) ) - return $src; - - if ( ! $dst_file ) - $dst_file = str_replace( basename( $src_file ), 'cropped-' . basename( $src_file ), $src_file ); - - /* - * The directory containing the original file may no longer exist when - * using a replication plugin. - */ - wp_mkdir_p( dirname( $dst_file ) ); - - $dst_file = dirname( $dst_file ) . '/' . wp_unique_filename( dirname( $dst_file ), basename( $dst_file ) ); - - $result = $editor->save( $dst_file ); - if ( is_wp_error( $result ) ) - return $result; - - return $dst_file; -} - -/** - * Generate post thumbnail attachment meta data. - * - * @since 2.1.0 - * - * @param int $attachment_id Attachment Id to process. - * @param string $file Filepath of the Attached image. - * @return mixed Metadata for attachment. - */ -function wp_generate_attachment_metadata( $attachment_id, $file ) { - $attachment = get_post( $attachment_id ); - - $metadata = array(); - $support = false; - if ( preg_match('!^image/!', get_post_mime_type( $attachment )) && file_is_displayable_image($file) ) { - $imagesize = getimagesize( $file ); - $metadata['width'] = $imagesize[0]; - $metadata['height'] = $imagesize[1]; - - // Make the file path relative to the upload dir. - $metadata['file'] = _wp_relative_upload_path($file); - - // Make thumbnails and other intermediate sizes. - global $_wp_additional_image_sizes; - - $sizes = array(); - foreach ( get_intermediate_image_sizes() as $s ) { - $sizes[$s] = array( 'width' => '', 'height' => '', 'crop' => false ); - if ( isset( $_wp_additional_image_sizes[$s]['width'] ) ) - $sizes[$s]['width'] = intval( $_wp_additional_image_sizes[$s]['width'] ); // For theme-added sizes - else - $sizes[$s]['width'] = get_option( "{$s}_size_w" ); // For default sizes set in options - if ( isset( $_wp_additional_image_sizes[$s]['height'] ) ) - $sizes[$s]['height'] = intval( $_wp_additional_image_sizes[$s]['height'] ); // For theme-added sizes - else - $sizes[$s]['height'] = get_option( "{$s}_size_h" ); // For default sizes set in options - if ( isset( $_wp_additional_image_sizes[$s]['crop'] ) ) - $sizes[$s]['crop'] = $_wp_additional_image_sizes[$s]['crop']; // For theme-added sizes - else - $sizes[$s]['crop'] = get_option( "{$s}_crop" ); // For default sizes set in options - } - - /** - * Filter the image sizes automatically generated when uploading an image. - * - * @since 2.9.0 - * - * @param array $sizes An associative array of image sizes. - */ - $sizes = apply_filters( 'intermediate_image_sizes_advanced', $sizes ); - - if ( $sizes ) { - $editor = wp_get_image_editor( $file ); - - if ( ! is_wp_error( $editor ) ) - $metadata['sizes'] = $editor->multi_resize( $sizes ); - } else { - $metadata['sizes'] = array(); - } - - // Fetch additional metadata from EXIF/IPTC. - $image_meta = wp_read_image_metadata( $file ); - if ( $image_meta ) - $metadata['image_meta'] = $image_meta; - - } elseif ( preg_match( '#^video/#', get_post_mime_type( $attachment ) ) ) { - $metadata = wp_read_video_metadata( $file ); - $support = current_theme_supports( 'post-thumbnails', 'attachment:video' ) || post_type_supports( 'attachment:video', 'thumbnail' ); - } elseif ( preg_match( '#^audio/#', get_post_mime_type( $attachment ) ) ) { - $metadata = wp_read_audio_metadata( $file ); - $support = current_theme_supports( 'post-thumbnails', 'attachment:audio' ) || post_type_supports( 'attachment:audio', 'thumbnail' ); - } - - if ( $support && ! empty( $metadata['image']['data'] ) ) { - // Check for existing cover. - $hash = md5( $metadata['image']['data'] ); - $posts = get_posts( array( - 'fields' => 'ids', - 'post_type' => 'attachment', - 'post_mime_type' => $metadata['image']['mime'], - 'post_status' => 'inherit', - 'posts_per_page' => 1, - 'meta_key' => '_cover_hash', - 'meta_value' => $hash - ) ); - $exists = reset( $posts ); - - if ( ! empty( $exists ) ) { - update_post_meta( $attachment_id, '_thumbnail_id', $exists ); - } else { - $ext = '.jpg'; - switch ( $metadata['image']['mime'] ) { - case 'image/gif': - $ext = '.gif'; - break; - case 'image/png': - $ext = '.png'; - break; - } - $basename = str_replace( '.', '-', basename( $file ) ) . '-image' . $ext; - $uploaded = wp_upload_bits( $basename, '', $metadata['image']['data'] ); - if ( false === $uploaded['error'] ) { - $image_attachment = array( - 'post_mime_type' => $metadata['image']['mime'], - 'post_type' => 'attachment', - 'post_content' => '', - ); - /** - * Filter the parameters for the attachment thumbnail creation. - * - * @since 3.9.0 - * - * @param array $image_attachment An array of parameters to create the thumbnail. - * @param array $metadata Current attachment metadata. - * @param array $uploaded An array containing the thumbnail path and url. - */ - $image_attachment = apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded ); - - $sub_attachment_id = wp_insert_attachment( $image_attachment, $uploaded['file'] ); - add_post_meta( $sub_attachment_id, '_cover_hash', $hash ); - $attach_data = wp_generate_attachment_metadata( $sub_attachment_id, $uploaded['file'] ); - wp_update_attachment_metadata( $sub_attachment_id, $attach_data ); - update_post_meta( $attachment_id, '_thumbnail_id', $sub_attachment_id ); - } - } - } - - // Remove the blob of binary data from the array. - if ( isset( $metadata['image']['data'] ) ) - unset( $metadata['image']['data'] ); - - /** - * Filter the generated attachment meta data. - * - * @since 2.1.0 - * - * @param array $metadata An array of attachment meta data. - * @param int $attachment_id Current attachment ID. - */ - return apply_filters( 'wp_generate_attachment_metadata', $metadata, $attachment_id ); -} - -/** - * Convert a fraction string to a decimal. - * - * @since 2.5.0 - * - * @param string $str - * @return int|float - */ -function wp_exif_frac2dec($str) { - @list( $n, $d ) = explode( '/', $str ); - if ( !empty($d) ) - return $n / $d; - return $str; -} - -/** - * Convert the exif date format to a unix timestamp. - * - * @since 2.5.0 - * - * @param string $str - * @return int - */ -function wp_exif_date2ts($str) { - @list( $date, $time ) = explode( ' ', trim($str) ); - @list( $y, $m, $d ) = explode( ':', $date ); - - return strtotime( "{$y}-{$m}-{$d} {$time}" ); -} - -/** - * Get extended image metadata, exif or iptc as available. - * - * Retrieves the EXIF metadata aperture, credit, camera, caption, copyright, iso - * created_timestamp, focal_length, shutter_speed, and title. - * - * The IPTC metadata that is retrieved is APP13, credit, byline, created date - * and time, caption, copyright, and title. Also includes FNumber, Model, - * DateTimeDigitized, FocalLength, ISOSpeedRatings, and ExposureTime. - * - * @todo Try other exif libraries if available. - * @since 2.5.0 - * - * @param string $file - * @return bool|array False on failure. Image metadata array on success. - */ -function wp_read_image_metadata( $file ) { - if ( ! file_exists( $file ) ) - return false; - - list( , , $sourceImageType ) = getimagesize( $file ); - - /* - * EXIF contains a bunch of data we'll probably never need formatted in ways - * that are difficult to use. We'll normalize it and just extract the fields - * that are likely to be useful. Fractions and numbers are converted to - * floats, dates to unix timestamps, and everything else to strings. - */ - $meta = array( - 'aperture' => 0, - 'credit' => '', - 'camera' => '', - 'caption' => '', - 'created_timestamp' => 0, - 'copyright' => '', - 'focal_length' => 0, - 'iso' => 0, - 'shutter_speed' => 0, - 'title' => '', - 'orientation' => 0, - ); - - /* - * Read IPTC first, since it might contain data not available in exif such - * as caption, description etc. - */ - if ( is_callable( 'iptcparse' ) ) { - getimagesize( $file, $info ); - - if ( ! empty( $info['APP13'] ) ) { - $iptc = iptcparse( $info['APP13'] ); - - // Headline, "A brief synopsis of the caption." - if ( ! empty( $iptc['2#105'][0] ) ) { - $meta['title'] = trim( $iptc['2#105'][0] ); - /* - * Title, "Many use the Title field to store the filename of the image, - * though the field may be used in many ways." - */ - } elseif ( ! empty( $iptc['2#005'][0] ) ) { - $meta['title'] = trim( $iptc['2#005'][0] ); - } - - if ( ! empty( $iptc['2#120'][0] ) ) { // description / legacy caption - $caption = trim( $iptc['2#120'][0] ); - if ( empty( $meta['title'] ) ) { - mbstring_binary_safe_encoding(); - $caption_length = strlen( $caption ); - reset_mbstring_encoding(); - - // Assume the title is stored in 2:120 if it's short. - if ( $caption_length < 80 ) { - $meta['title'] = $caption; - } else { - $meta['caption'] = $caption; - } - } elseif ( $caption != $meta['title'] ) { - $meta['caption'] = $caption; - } - } - - if ( ! empty( $iptc['2#110'][0] ) ) // credit - $meta['credit'] = trim( $iptc['2#110'][0] ); - elseif ( ! empty( $iptc['2#080'][0] ) ) // creator / legacy byline - $meta['credit'] = trim( $iptc['2#080'][0] ); - - if ( ! empty( $iptc['2#055'][0] ) and ! empty( $iptc['2#060'][0] ) ) // created date and time - $meta['created_timestamp'] = strtotime( $iptc['2#055'][0] . ' ' . $iptc['2#060'][0] ); - - if ( ! empty( $iptc['2#116'][0] ) ) // copyright - $meta['copyright'] = trim( $iptc['2#116'][0] ); - } - } - - /** - * Filter the image types to check for exif data. - * - * @since 2.5.0 - * - * @param array $image_types Image types to check for exif data. - */ - if ( is_callable( 'exif_read_data' ) && in_array( $sourceImageType, apply_filters( 'wp_read_image_metadata_types', array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) ) ) { - $exif = @exif_read_data( $file ); - - if ( empty( $meta['title'] ) && ! empty( $exif['Title'] ) ) { - $meta['title'] = trim( $exif['Title'] ); - } - - if ( ! empty( $exif['ImageDescription'] ) ) { - mbstring_binary_safe_encoding(); - $description_length = strlen( $exif['ImageDescription'] ); - reset_mbstring_encoding(); - - if ( empty( $meta['title'] ) && $description_length < 80 ) { - // Assume the title is stored in ImageDescription - $meta['title'] = trim( $exif['ImageDescription'] ); - if ( empty( $meta['caption'] ) && ! empty( $exif['COMPUTED']['UserComment'] ) && trim( $exif['COMPUTED']['UserComment'] ) != $meta['title'] ) { - $meta['caption'] = trim( $exif['COMPUTED']['UserComment'] ); - } - } elseif ( empty( $meta['caption'] ) && trim( $exif['ImageDescription'] ) != $meta['title'] ) { - $meta['caption'] = trim( $exif['ImageDescription'] ); - } - } elseif ( empty( $meta['caption'] ) && ! empty( $exif['Comments'] ) && trim( $exif['Comments'] ) != $meta['title'] ) { - $meta['caption'] = trim( $exif['Comments'] ); - } - - if ( empty( $meta['credit'] ) ) { - if ( ! empty( $exif['Artist'] ) ) { - $meta['credit'] = trim( $exif['Artist'] ); - } elseif ( ! empty($exif['Author'] ) ) { - $meta['credit'] = trim( $exif['Author'] ); - } - } - - if ( empty( $meta['copyright'] ) && ! empty( $exif['Copyright'] ) ) { - $meta['copyright'] = trim( $exif['Copyright'] ); - } - if ( ! empty( $exif['FNumber'] ) ) { - $meta['aperture'] = round( wp_exif_frac2dec( $exif['FNumber'] ), 2 ); - } - if ( ! empty( $exif['Model'] ) ) { - $meta['camera'] = trim( $exif['Model'] ); - } - if ( empty( $meta['created_timestamp'] ) && ! empty( $exif['DateTimeDigitized'] ) ) { - $meta['created_timestamp'] = wp_exif_date2ts( $exif['DateTimeDigitized'] ); - } - if ( ! empty( $exif['FocalLength'] ) ) { - $meta['focal_length'] = (string) wp_exif_frac2dec( $exif['FocalLength'] ); - } - if ( ! empty( $exif['ISOSpeedRatings'] ) ) { - $meta['iso'] = is_array( $exif['ISOSpeedRatings'] ) ? reset( $exif['ISOSpeedRatings'] ) : $exif['ISOSpeedRatings']; - $meta['iso'] = trim( $meta['iso'] ); - } - if ( ! empty( $exif['ExposureTime'] ) ) { - $meta['shutter_speed'] = (string) wp_exif_frac2dec( $exif['ExposureTime'] ); - } - if ( ! empty( $exif['Orientation'] ) ) { - $meta['orientation'] = $exif['Orientation']; - } - } - - foreach ( array( 'title', 'caption', 'credit', 'copyright', 'camera', 'iso' ) as $key ) { - if ( $meta[ $key ] && ! seems_utf8( $meta[ $key ] ) ) { - $meta[ $key ] = utf8_encode( $meta[ $key ] ); - } - } - - foreach ( $meta as &$value ) { - if ( is_string( $value ) ) { - $value = wp_kses_post( $value ); - } - } - - /** - * Filter the array of meta data read from an image's exif data. - * - * @since 2.5.0 - * - * @param array $meta Image meta data. - * @param string $file Path to image file. - * @param int $sourceImageType Type of image. - */ - return apply_filters( 'wp_read_image_metadata', $meta, $file, $sourceImageType ); - -} - -/** - * Validate that file is an image. - * - * @since 2.5.0 - * - * @param string $path File path to test if valid image. - * @return bool True if valid image, false if not valid image. - */ -function file_is_valid_image($path) { - $size = @getimagesize($path); - return !empty($size); -} - -/** - * Validate that file is suitable for displaying within a web page. - * - * @since 2.5.0 - * - * @param string $path File path to test. - * @return bool True if suitable, false if not suitable. - */ -function file_is_displayable_image($path) { - $displayable_image_types = array( IMAGETYPE_GIF, IMAGETYPE_JPEG, IMAGETYPE_PNG, IMAGETYPE_BMP ); - - $info = @getimagesize( $path ); - if ( empty( $info ) ) { - $result = false; - } elseif ( ! in_array( $info[2], $displayable_image_types ) ) { - $result = false; - } else { - $result = true; - } - - /** - * Filter whether the current image is displayable in the browser. - * - * @since 2.5.0 - * - * @param bool $result Whether the image can be displayed. Default true. - * @param string $path Path to the image. - */ - return apply_filters( 'file_is_displayable_image', $result, $path ); -} - -/** - * Load an image resource for editing. - * - * @since 2.9.0 - * - * @param string $attachment_id Attachment ID. - * @param string $mime_type Image mime type. - * @param string $size Optional. Image size, defaults to 'full'. - * @return resource|false The resulting image resource on success, false on failure. - */ -function load_image_to_edit( $attachment_id, $mime_type, $size = 'full' ) { - $filepath = _load_image_to_edit_path( $attachment_id, $size ); - if ( empty( $filepath ) ) - return false; - - switch ( $mime_type ) { - case 'image/jpeg': - $image = imagecreatefromjpeg($filepath); - break; - case 'image/png': - $image = imagecreatefrompng($filepath); - break; - case 'image/gif': - $image = imagecreatefromgif($filepath); - break; - default: - $image = false; - break; - } - if ( is_resource($image) ) { - /** - * Filter the current image being loaded for editing. - * - * @since 2.9.0 - * - * @param resource $image Current image. - * @param string $attachment_id Attachment ID. - * @param string $size Image size. - */ - $image = apply_filters( 'load_image_to_edit', $image, $attachment_id, $size ); - if ( function_exists('imagealphablending') && function_exists('imagesavealpha') ) { - imagealphablending($image, false); - imagesavealpha($image, true); - } - } - return $image; -} - -/** - * Retrieve the path or url of an attachment's attached file. - * - * If the attached file is not present on the local filesystem (usually due to replication plugins), - * then the url of the file is returned if url fopen is supported. - * - * @since 3.4.0 - * @access private - * - * @param string $attachment_id Attachment ID. - * @param string $size Optional. Image size, defaults to 'full'. - * @return string|false File path or url on success, false on failure. - */ -function _load_image_to_edit_path( $attachment_id, $size = 'full' ) { - $filepath = get_attached_file( $attachment_id ); - - if ( $filepath && file_exists( $filepath ) ) { - if ( 'full' != $size && ( $data = image_get_intermediate_size( $attachment_id, $size ) ) ) { - /** - * Filter the path to the current image. - * - * The filter is evaluated for all image sizes except 'full'. - * - * @since 3.1.0 - * - * @param string $path Path to the current image. - * @param string $attachment_id Attachment ID. - * @param string $size Size of the image. - */ - $filepath = apply_filters( 'load_image_to_edit_filesystempath', path_join( dirname( $filepath ), $data['file'] ), $attachment_id, $size ); - } - } elseif ( function_exists( 'fopen' ) && function_exists( 'ini_get' ) && true == ini_get( 'allow_url_fopen' ) ) { - /** - * Filter the image URL if not in the local filesystem. - * - * The filter is only evaluated if fopen is enabled on the server. - * - * @since 3.1.0 - * - * @param string $image_url Current image URL. - * @param string $attachment_id Attachment ID. - * @param string $size Size of the image. - */ - $filepath = apply_filters( 'load_image_to_edit_attachmenturl', wp_get_attachment_url( $attachment_id ), $attachment_id, $size ); - } - - /** - * Filter the returned path or URL of the current image. - * - * @since 2.9.0 - * - * @param string|bool $filepath File path or URL to current image, or false. - * @param string $attachment_id Attachment ID. - * @param string $size Size of the image. - */ - return apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size ); -} - -/** - * Copy an existing image file. - * - * @since 3.4.0 - * @access private - * - * @param string $attachment_id Attachment ID. - * @return string|false New file path on success, false on failure. - */ -function _copy_image_file( $attachment_id ) { - $dst_file = $src_file = get_attached_file( $attachment_id ); - if ( ! file_exists( $src_file ) ) - $src_file = _load_image_to_edit_path( $attachment_id ); - - if ( $src_file ) { - $dst_file = str_replace( basename( $dst_file ), 'copy-' . basename( $dst_file ), $dst_file ); - $dst_file = dirname( $dst_file ) . '/' . wp_unique_filename( dirname( $dst_file ), basename( $dst_file ) ); - - /* - * The directory containing the original file may no longer - * exist when using a replication plugin. - */ - wp_mkdir_p( dirname( $dst_file ) ); - - if ( ! @copy( $src_file, $dst_file ) ) - $dst_file = false; - } else { - $dst_file = false; - } - - return $dst_file; -} diff --git a/sources/wordpress/wp-admin/includes/import.php b/sources/wordpress/wp-admin/includes/import.php deleted file mode 100644 index ab8e8e3..0000000 --- a/sources/wordpress/wp-admin/includes/import.php +++ /dev/null @@ -1,206 +0,0 @@ - false, 'test_type' => false ); - $_FILES['import']['name'] .= '.txt'; - $file = wp_handle_upload( $_FILES['import'], $overrides ); - - if ( isset( $file['error'] ) ) - return $file; - - $url = $file['url']; - $type = $file['type']; - $file = $file['file']; - $filename = basename( $file ); - - // Construct the object array - $object = array( 'post_title' => $filename, - 'post_content' => $url, - 'post_mime_type' => $type, - 'guid' => $url, - 'context' => 'import', - 'post_status' => 'private' - ); - - // Save the data - $id = wp_insert_attachment( $object, $file ); - - /* - * Schedule a cleanup for one day from now in case of failed - * import or missing wp_import_cleanup() call. - */ - wp_schedule_single_event( time() + DAY_IN_SECONDS, 'importer_scheduled_cleanup', array( $id ) ); - - return array( 'file' => $file, 'id' => $id ); -} - -/** - * Returns a list from WordPress.org of popular importer plugins. - * - * @since 3.5.0 - * - * @return array Importers with metadata for each. - */ -function wp_get_popular_importers() { - include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version - - $locale = get_locale(); - $popular_importers = get_site_transient( 'popular_importers_' . $locale ); - - if ( ! $popular_importers ) { - $url = add_query_arg( 'locale', get_locale(), 'http://api.wordpress.org/core/importers/1.1/' ); - $options = array( 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url() ); - $response = wp_remote_get( $url, $options ); - $popular_importers = json_decode( wp_remote_retrieve_body( $response ), true ); - - if ( is_array( $popular_importers ) ) - set_site_transient( 'popular_importers_' . $locale, $popular_importers, 2 * DAY_IN_SECONDS ); - else - $popular_importers = false; - } - - if ( is_array( $popular_importers ) ) { - // If the data was received as translated, return it as-is. - if ( $popular_importers['translated'] ) - return $popular_importers['importers']; - - foreach ( $popular_importers['importers'] as &$importer ) { - $importer['description'] = translate( $importer['description'] ); - if ( $importer['name'] != 'WordPress' ) - $importer['name'] = translate( $importer['name'] ); - } - return $popular_importers['importers']; - } - - return array( - // slug => name, description, plugin slug, and register_importer() slug - 'blogger' => array( - 'name' => __( 'Blogger' ), - 'description' => __( 'Install the Blogger importer to import posts, comments, and users from a Blogger blog.' ), - 'plugin-slug' => 'blogger-importer', - 'importer-id' => 'blogger', - ), - 'wpcat2tag' => array( - 'name' => __( 'Categories and Tags Converter' ), - 'description' => __( 'Install the category/tag converter to convert existing categories to tags or tags to categories, selectively.' ), - 'plugin-slug' => 'wpcat2tag-importer', - 'importer-id' => 'wp-cat2tag', - ), - 'livejournal' => array( - 'name' => __( 'LiveJournal' ), - 'description' => __( 'Install the LiveJournal importer to import posts from LiveJournal using their API.' ), - 'plugin-slug' => 'livejournal-importer', - 'importer-id' => 'livejournal', - ), - 'movabletype' => array( - 'name' => __( 'Movable Type and TypePad' ), - 'description' => __( 'Install the Movable Type importer to import posts and comments from a Movable Type or TypePad blog.' ), - 'plugin-slug' => 'movabletype-importer', - 'importer-id' => 'mt', - ), - 'opml' => array( - 'name' => __( 'Blogroll' ), - 'description' => __( 'Install the blogroll importer to import links in OPML format.' ), - 'plugin-slug' => 'opml-importer', - 'importer-id' => 'opml', - ), - 'rss' => array( - 'name' => __( 'RSS' ), - 'description' => __( 'Install the RSS importer to import posts from an RSS feed.' ), - 'plugin-slug' => 'rss-importer', - 'importer-id' => 'rss', - ), - 'tumblr' => array( - 'name' => __( 'Tumblr' ), - 'description' => __( 'Install the Tumblr importer to import posts & media from Tumblr using their API.' ), - 'plugin-slug' => 'tumblr-importer', - 'importer-id' => 'tumblr', - ), - 'wordpress' => array( - 'name' => 'WordPress', - 'description' => __( 'Install the WordPress importer to import posts, pages, comments, custom fields, categories, and tags from a WordPress export file.' ), - 'plugin-slug' => 'wordpress-importer', - 'importer-id' => 'wordpress', - ), - ); -} diff --git a/sources/wordpress/wp-admin/includes/list-table.php b/sources/wordpress/wp-admin/includes/list-table.php deleted file mode 100644 index 04b552f..0000000 --- a/sources/wordpress/wp-admin/includes/list-table.php +++ /dev/null @@ -1,113 +0,0 @@ - 'posts', - 'WP_Media_List_Table' => 'media', - 'WP_Terms_List_Table' => 'terms', - 'WP_Users_List_Table' => 'users', - 'WP_Comments_List_Table' => 'comments', - 'WP_Post_Comments_List_Table' => 'comments', - 'WP_Links_List_Table' => 'links', - 'WP_Plugin_Install_List_Table' => 'plugin-install', - 'WP_Themes_List_Table' => 'themes', - 'WP_Theme_Install_List_Table' => array( 'themes', 'theme-install' ), - 'WP_Plugins_List_Table' => 'plugins', - // Network Admin - 'WP_MS_Sites_List_Table' => 'ms-sites', - 'WP_MS_Users_List_Table' => 'ms-users', - 'WP_MS_Themes_List_Table' => 'ms-themes', - ); - - if ( isset( $core_classes[ $class ] ) ) { - foreach ( (array) $core_classes[ $class ] as $required ) - require_once( ABSPATH . 'wp-admin/includes/class-wp-' . $required . '-list-table.php' ); - - if ( isset( $args['screen'] ) ) - $args['screen'] = convert_to_screen( $args['screen'] ); - elseif ( isset( $GLOBALS['hook_suffix'] ) ) - $args['screen'] = get_current_screen(); - else - $args['screen'] = null; - - return new $class( $args ); - } - - return false; -} - -/** - * Register column headers for a particular screen. - * - * @since 2.7.0 - * - * @param string $screen The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions. - * @param array $columns An array of columns with column IDs as the keys and translated column names as the values - * @see get_column_headers(), print_column_headers(), get_hidden_columns() - */ -function register_column_headers($screen, $columns) { - $wp_list_table = new _WP_List_Table_Compat($screen, $columns); -} - -/** - * Prints column headers for a particular screen. - * - * @since 2.7.0 - */ -function print_column_headers($screen, $id = true) { - $wp_list_table = new _WP_List_Table_Compat($screen); - - $wp_list_table->print_column_headers($id); -} - -/** - * Helper class to be used only by back compat functions - * - * @since 3.1.0 - */ -class _WP_List_Table_Compat extends WP_List_Table { - public $_screen; - public $_columns; - - public function __construct( $screen, $columns = array() ) { - if ( is_string( $screen ) ) - $screen = convert_to_screen( $screen ); - - $this->_screen = $screen; - - if ( !empty( $columns ) ) { - $this->_columns = $columns; - add_filter( 'manage_' . $screen->id . '_columns', array( $this, 'get_columns' ), 0 ); - } - } - - protected function get_column_info() { - $columns = get_column_headers( $this->_screen ); - $hidden = get_hidden_columns( $this->_screen ); - $sortable = array(); - - return array( $columns, $hidden, $sortable ); - } - - public function get_columns() { - return $this->_columns; - } -} diff --git a/sources/wordpress/wp-admin/includes/media.php b/sources/wordpress/wp-admin/includes/media.php deleted file mode 100644 index 8a5e6cc..0000000 --- a/sources/wordpress/wp-admin/includes/media.php +++ /dev/null @@ -1,2988 +0,0 @@ - __('From Computer'), // handler action suffix => tab text - 'type_url' => __('From URL'), - 'gallery' => __('Gallery'), - 'library' => __('Media Library') - ); - - /** - * Filter the available tabs in the legacy (pre-3.5.0) media popup. - * - * @since 2.5.0 - * - * @param array $_default_tabs An array of media tabs. - */ - return apply_filters( 'media_upload_tabs', $_default_tabs ); -} - -/** - * Adds the gallery tab back to the tabs array if post has image attachments - * - * @since 2.5.0 - * - * @param array $tabs - * @return array $tabs with gallery if post has image attachment - */ -function update_gallery_tab($tabs) { - global $wpdb; - - if ( !isset($_REQUEST['post_id']) ) { - unset($tabs['gallery']); - return $tabs; - } - - $post_id = intval($_REQUEST['post_id']); - - if ( $post_id ) - $attachments = intval( $wpdb->get_var( $wpdb->prepare( "SELECT count(*) FROM $wpdb->posts WHERE post_type = 'attachment' AND post_status != 'trash' AND post_parent = %d", $post_id ) ) ); - - if ( empty($attachments) ) { - unset($tabs['gallery']); - return $tabs; - } - - $tabs['gallery'] = sprintf(__('Gallery (%s)'), "$attachments"); - - return $tabs; -} -add_filter('media_upload_tabs', 'update_gallery_tab'); - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - */ -function the_media_upload_tabs() { - global $redir_tab; - $tabs = media_upload_tabs(); - $default = 'type'; - - if ( !empty($tabs) ) { - echo "
    \n"; - if ( isset($redir_tab) && array_key_exists($redir_tab, $tabs) ) { - $current = $redir_tab; - } elseif ( isset($_GET['tab']) && array_key_exists($_GET['tab'], $tabs) ) { - $current = $_GET['tab']; - } else { - /** This filter is documented in wp-admin/media-upload.php */ - $current = apply_filters( 'media_upload_default_tab', $default ); - } - - foreach ( $tabs as $callback => $text ) { - $class = ''; - - if ( $current == $callback ) - $class = " class='current'"; - - $href = add_query_arg(array('tab' => $callback, 's' => false, 'paged' => false, 'post_mime_type' => false, 'm' => false)); - $link = "$text"; - echo "\t
  • $link
  • \n"; - } - echo "
\n"; - } -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @param integer $id image attachment id - * @param string $caption image caption - * @param string $alt image alt attribute - * @param string $title image title attribute - * @param string $align image css alignment property - * @param string $url image src url - * @param string|bool $rel image rel attribute - * @param string $size image size (thumbnail, medium, large, full or added with add_image_size() ) - * @return string the html to insert into editor - */ -function get_image_send_to_editor($id, $caption, $title, $align, $url='', $rel = false, $size='medium', $alt = '') { - - $html = get_image_tag($id, $alt, '', $align, $size); - - $rel = $rel ? ' rel="attachment wp-att-' . esc_attr($id).'"' : ''; - - if ( $url ) - $html = '$html"; - - /** - * Filter the image HTML markup to send to the editor. - * - * @since 2.5.0 - * - * @param string $html The image HTML markup to send. - * @param int $id The attachment id. - * @param string $caption The image caption. - * @param string $title The image title. - * @param string $align The image alignment. - * @param string $url The image source URL. - * @param string $size The image size. - * @param string $alt The image alternative, or alt, text. - */ - $html = apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt ); - - return $html; -} - -/** - * Adds image shortcode with caption to editor - * - * @since 2.6.0 - * - * @param string $html - * @param integer $id - * @param string $caption image caption - * @param string $alt image alt attribute - * @param string $title image title attribute - * @param string $align image css alignment property - * @param string $url image src url - * @param string $size image size (thumbnail, medium, large, full or added with add_image_size() ) - * @return string - */ -function image_add_caption( $html, $id, $caption, $title, $align, $url, $size, $alt = '' ) { - - /** - * Filter whether to disable captions. - * - * Prevents image captions from being appended to image HTML when inserted into the editor. - * - * @since 2.6.0 - * - * @param bool $bool Whether to disable appending captions. Returning true to the filter - * will disable captions. Default empty string. - */ - if ( empty($caption) || apply_filters( 'disable_captions', '' ) ) - return $html; - - $id = ( 0 < (int) $id ) ? 'attachment_' . $id : ''; - - if ( ! preg_match( '/width=["\']([0-9]+)/', $html, $matches ) ) - return $html; - - $width = $matches[1]; - - $caption = str_replace( array("\r\n", "\r"), "\n", $caption); - $caption = preg_replace_callback( '/<[a-zA-Z0-9]+(?: [^<>]+>)*/', '_cleanup_image_add_caption', $caption ); - - // Convert any remaining line breaks to
. - $caption = preg_replace( '/[ \n\t]*\n[ \t]*/', '
', $caption ); - - $html = preg_replace( '/(class=["\'][^\'"]*)align(none|left|right|center)\s?/', '$1', $html ); - if ( empty($align) ) - $align = 'none'; - - $shcode = '[caption id="' . $id . '" align="align' . $align . '" width="' . $width . '"]' . $html . ' ' . $caption . '[/caption]'; - - /** - * Filter the image HTML markup including the caption shortcode. - * - * @since 2.6.0 - * - * @param string $shcode The image HTML markup with caption shortcode. - * @param string $html The image HTML markup. - */ - return apply_filters( 'image_add_caption_shortcode', $shcode, $html ); -} -add_filter( 'image_send_to_editor', 'image_add_caption', 20, 8 ); - -/** - * Private preg_replace callback used in image_add_caption() - * - * @access private - * @since 3.4.0 - */ -function _cleanup_image_add_caption( $matches ) { - // Remove any line breaks from inside the tags. - return preg_replace( '/[\r\n\t]+/', ' ', $matches[0] ); -} - -/** - * Adds image html to editor - * - * @since 2.5.0 - * - * @param string $html - */ -function media_send_to_editor($html) { -?> - - false )) { - - $time = current_time('mysql'); - if ( $post = get_post($post_id) ) { - if ( substr( $post->post_date, 0, 4 ) > 0 ) - $time = $post->post_date; - } - - $name = $_FILES[$file_id]['name']; - $file = wp_handle_upload($_FILES[$file_id], $overrides, $time); - - if ( isset($file['error']) ) - return new WP_Error( 'upload_error', $file['error'] ); - - $name_parts = pathinfo($name); - $name = trim( substr( $name, 0, -(1 + strlen($name_parts['extension'])) ) ); - - $url = $file['url']; - $type = $file['type']; - $file = $file['file']; - $title = $name; - $content = ''; - - if ( preg_match( '#^audio#', $type ) ) { - $meta = wp_read_audio_metadata( $file ); - - if ( ! empty( $meta['title'] ) ) - $title = $meta['title']; - - $content = ''; - - if ( ! empty( $title ) ) { - - if ( ! empty( $meta['album'] ) && ! empty( $meta['artist'] ) ) { - /* translators: 1: audio track title, 2: album title, 3: artist name */ - $content .= sprintf( __( '"%1$s" from %2$s by %3$s.' ), $title, $meta['album'], $meta['artist'] ); - } else if ( ! empty( $meta['album'] ) ) { - /* translators: 1: audio track title, 2: album title */ - $content .= sprintf( __( '"%1$s" from %2$s.' ), $title, $meta['album'] ); - } else if ( ! empty( $meta['artist'] ) ) { - /* translators: 1: audio track title, 2: artist name */ - $content .= sprintf( __( '"%1$s" by %2$s.' ), $title, $meta['artist'] ); - } else { - $content .= sprintf( __( '"%s".' ), $title ); - } - - } else if ( ! empty( $meta['album'] ) ) { - - if ( ! empty( $meta['artist'] ) ) { - /* translators: 1: audio album title, 2: artist name */ - $content .= sprintf( __( '%1$s by %2$s.' ), $meta['album'], $meta['artist'] ); - } else { - $content .= $meta['album'] . '.'; - } - - } else if ( ! empty( $meta['artist'] ) ) { - - $content .= $meta['artist'] . '.'; - - } - - if ( ! empty( $meta['year'] ) ) - $content .= ' ' . sprintf( __( 'Released: %d.' ), $meta['year'] ); - - if ( ! empty( $meta['track_number'] ) ) { - $track_number = explode( '/', $meta['track_number'] ); - if ( isset( $track_number[1] ) ) - $content .= ' ' . sprintf( __( 'Track %1$s of %2$s.' ), number_format_i18n( $track_number[0] ), number_format_i18n( $track_number[1] ) ); - else - $content .= ' ' . sprintf( __( 'Track %1$s.' ), number_format_i18n( $track_number[0] ) ); - } - - if ( ! empty( $meta['genre'] ) ) - $content .= ' ' . sprintf( __( 'Genre: %s.' ), $meta['genre'] ); - - // Use image exif/iptc data for title and caption defaults if possible. - } elseif ( $image_meta = @wp_read_image_metadata( $file ) ) { - if ( trim( $image_meta['title'] ) && ! is_numeric( sanitize_title( $image_meta['title'] ) ) ) - $title = $image_meta['title']; - if ( trim( $image_meta['caption'] ) ) - $content = $image_meta['caption']; - } - - // Construct the attachment array - $attachment = array_merge( array( - 'post_mime_type' => $type, - 'guid' => $url, - 'post_parent' => $post_id, - 'post_title' => $title, - 'post_content' => $content, - ), $post_data ); - - // This should never be set as it would then overwrite an existing attachment. - if ( isset( $attachment['ID'] ) ) - unset( $attachment['ID'] ); - - // Save the data - $id = wp_insert_attachment($attachment, $file, $post_id); - if ( !is_wp_error($id) ) { - wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) ); - } - - return $id; - -} - -/** - * This handles a sideloaded file in the same way as an uploaded file is handled by {@link media_handle_upload()} - * - * @since 2.6.0 - * - * @param array $file_array Array similar to a {@link $_FILES} upload array - * @param int $post_id The post ID the media is associated with - * @param string $desc Description of the sideloaded file - * @param array $post_data allows you to overwrite some of the attachment - * @return int|object The ID of the attachment or a WP_Error on failure - */ -function media_handle_sideload($file_array, $post_id, $desc = null, $post_data = array()) { - $overrides = array('test_form'=>false); - - $time = current_time( 'mysql' ); - if ( $post = get_post( $post_id ) ) { - if ( substr( $post->post_date, 0, 4 ) > 0 ) - $time = $post->post_date; - } - - $file = wp_handle_sideload( $file_array, $overrides, $time ); - if ( isset($file['error']) ) - return new WP_Error( 'upload_error', $file['error'] ); - - $url = $file['url']; - $type = $file['type']; - $file = $file['file']; - $title = preg_replace('/\.[^.]+$/', '', basename($file)); - $content = ''; - - // Use image exif/iptc data for title and caption defaults if possible. - if ( $image_meta = @wp_read_image_metadata($file) ) { - if ( trim( $image_meta['title'] ) && ! is_numeric( sanitize_title( $image_meta['title'] ) ) ) - $title = $image_meta['title']; - if ( trim( $image_meta['caption'] ) ) - $content = $image_meta['caption']; - } - - if ( isset( $desc ) ) - $title = $desc; - - // Construct the attachment array. - $attachment = array_merge( array( - 'post_mime_type' => $type, - 'guid' => $url, - 'post_parent' => $post_id, - 'post_title' => $title, - 'post_content' => $content, - ), $post_data ); - - // This should never be set as it would then overwrite an existing attachment. - if ( isset( $attachment['ID'] ) ) - unset( $attachment['ID'] ); - - // Save the attachment metadata - $id = wp_insert_attachment($attachment, $file, $post_id); - if ( !is_wp_error($id) ) - wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) ); - - return $id; -} - -/** - * Adds the iframe to display content for the media upload page - * - * @since 2.5.0 - * - * @param array $content_func - */ -function wp_iframe($content_func /* ... */) { - _wp_admin_html_begin(); -?> -<?php bloginfo('name') ?> › <?php _e('Uploads'); ?> — <?php _e('WordPress'); ?> - - - - - class="wp-core-ui no-js"> - - - - - - $post - ) ); - - $img = ' '; - - $id_attribute = $instance === 1 ? ' id="insert-media-button"' : ''; - printf( '%s', - $id_attribute, - esc_attr( $editor_id ), - esc_attr__( 'Add Media' ), - $img . __( 'Add Media' ) - ); - /** - * Filter the legacy (pre-3.5.0) media buttons. - * - * @since 2.5.0 - * @deprecated 3.5.0 Use 'media_buttons' action instead. - * - * @param string $string Media buttons context. Default empty. - */ - $legacy_filter = apply_filters( 'media_buttons_context', '' ); - - if ( $legacy_filter ) { - // #WP22559. Close if a plugin started by closing to open their own tag. - if ( 0 === stripos( trim( $legacy_filter ), '' ) ) - $legacy_filter .= ''; - echo $legacy_filter; - } -} -add_action( 'media_buttons', 'media_buttons' ); - -function get_upload_iframe_src( $type = null, $post_id = null, $tab = null ) { - global $post_ID; - - if ( empty( $post_id ) ) - $post_id = $post_ID; - - $upload_iframe_src = add_query_arg( 'post_id', (int) $post_id, admin_url('media-upload.php') ); - - if ( $type && 'media' != $type ) - $upload_iframe_src = add_query_arg('type', $type, $upload_iframe_src); - - if ( ! empty( $tab ) ) - $upload_iframe_src = add_query_arg('tab', $tab, $upload_iframe_src); - - /** - * Filter the upload iframe source URL for a specific media type. - * - * The dynamic portion of the hook name, $type, refers to the type - * of media uploaded. - * - * @since 3.0.0 - * - * @param string $upload_iframe_src The upload iframe source URL by type. - */ - $upload_iframe_src = apply_filters( $type . '_upload_iframe_src', $upload_iframe_src ); - - return add_query_arg('TB_iframe', true, $upload_iframe_src); -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @return mixed void|object WP_Error on failure - */ -function media_upload_form_handler() { - check_admin_referer('media-form'); - - $errors = null; - - if ( isset($_POST['send']) ) { - $keys = array_keys($_POST['send']); - $send_id = (int) array_shift($keys); - } - - if ( !empty($_POST['attachments']) ) foreach ( $_POST['attachments'] as $attachment_id => $attachment ) { - $post = $_post = get_post($attachment_id, ARRAY_A); - - if ( !current_user_can( 'edit_post', $attachment_id ) ) - continue; - - if ( isset($attachment['post_content']) ) - $post['post_content'] = $attachment['post_content']; - if ( isset($attachment['post_title']) ) - $post['post_title'] = $attachment['post_title']; - if ( isset($attachment['post_excerpt']) ) - $post['post_excerpt'] = $attachment['post_excerpt']; - if ( isset($attachment['menu_order']) ) - $post['menu_order'] = $attachment['menu_order']; - - if ( isset($send_id) && $attachment_id == $send_id ) { - if ( isset($attachment['post_parent']) ) - $post['post_parent'] = $attachment['post_parent']; - } - - /** - * Filter the attachment fields to be saved. - * - * @since 2.5.0 - * - * @see wp_get_attachment_metadata() - * - * @param WP_Post $post The WP_Post object. - * @param array $attachment An array of attachment metadata. - */ - $post = apply_filters( 'attachment_fields_to_save', $post, $attachment ); - - if ( isset($attachment['image_alt']) ) { - $image_alt = wp_unslash( $attachment['image_alt'] ); - if ( $image_alt != get_post_meta($attachment_id, '_wp_attachment_image_alt', true) ) { - $image_alt = wp_strip_all_tags( $image_alt, true ); - - // Update_meta expects slashed. - update_post_meta( $attachment_id, '_wp_attachment_image_alt', wp_slash( $image_alt ) ); - } - } - - if ( isset($post['errors']) ) { - $errors[$attachment_id] = $post['errors']; - unset($post['errors']); - } - - if ( $post != $_post ) - wp_update_post($post); - - foreach ( get_attachment_taxonomies($post) as $t ) { - if ( isset($attachment[$t]) ) - wp_set_object_terms($attachment_id, array_map('trim', preg_split('/,+/', $attachment[$t])), $t, false); - } - } - - if ( isset($_POST['insert-gallery']) || isset($_POST['update-gallery']) ) { ?> - - $html"; - } - - /** - * Filter the HTML markup for a media item sent to the editor. - * - * @since 2.5.0 - * - * @see wp_get_attachment_metadata() - * - * @param string $html HTML markup for a media item sent to the editor. - * @param int $send_id The first key from the $_POST['send'] data. - * @param array $attachment Array of attachment metadata. - */ - $html = apply_filters( 'media_send_to_editor', $html, $send_id, $attachment ); - return media_send_to_editor($html); - } - - return $errors; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @return mixed - */ -function wp_media_upload_handler() { - $errors = array(); - $id = 0; - - if ( isset($_POST['html-upload']) && !empty($_FILES) ) { - check_admin_referer('media-form'); - // Upload File button was clicked - $id = media_handle_upload('async-upload', $_REQUEST['post_id']); - unset($_FILES); - if ( is_wp_error($id) ) { - $errors['upload_error'] = $id; - $id = false; - } - } - - if ( !empty($_POST['insertonlybutton']) ) { - $src = $_POST['src']; - if ( !empty($src) && !strpos($src, '://') ) - $src = "http://$src"; - - if ( isset( $_POST['media_type'] ) && 'image' != $_POST['media_type'] ) { - $title = esc_html( wp_unslash( $_POST['title'] ) ); - if ( empty( $title ) ) - $title = esc_html( basename( $src ) ); - - if ( $title && $src ) - $html = "$title"; - - $type = 'file'; - if ( ( $ext = preg_replace( '/^.+?\.([^.]+)$/', '$1', $src ) ) && ( $ext_type = wp_ext2type( $ext ) ) - && ( 'audio' == $ext_type || 'video' == $ext_type ) ) - $type = $ext_type; - - /** - * Filter the URL sent to the editor for a specific media type. - * - * The dynamic portion of the hook name, $type, refers to the type - * of media being sent. - * - * @since 3.3.0 - * - * @param string $html HTML markup sent to the editor. - * @param string $src Media source URL. - * @param string $title Media title. - */ - $html = apply_filters( $type . '_send_to_editor_url', $html, esc_url_raw( $src ), $title ); - } else { - $align = ''; - $alt = esc_attr( wp_unslash( $_POST['alt'] ) ); - if ( isset($_POST['align']) ) { - $align = esc_attr( wp_unslash( $_POST['align'] ) ); - $class = " class='align$align'"; - } - if ( !empty($src) ) - $html = "$alt"; - - /** - * Filter the image URL sent to the editor. - * - * @since 2.8.0 - * - * @param string $html HTML markup sent to the editor for an image. - * @param string $src Image source URL. - * @param string $alt Image alternate, or alt, text. - * @param string $align The image alignment. Default 'alignnone'. Possible values include - * 'alignleft', 'aligncenter', 'alignright', 'alignnone'. - */ - $html = apply_filters( 'image_send_to_editor_url', $html, esc_url_raw( $src ), $alt, $align ); - } - - return media_send_to_editor($html); - } - - if ( isset( $_POST['save'] ) ) { - $errors['upload_notice'] = __('Saved.'); - return media_upload_gallery(); - } elseif ( ! empty( $_POST ) ) { - $return = media_upload_form_handler(); - - if ( is_string($return) ) - return $return; - if ( is_array($return) ) - $errors = $return; - } - - if ( isset($_GET['tab']) && $_GET['tab'] == 'type_url' ) { - $type = 'image'; - if ( isset( $_GET['type'] ) && in_array( $_GET['type'], array( 'video', 'audio', 'file' ) ) ) - $type = $_GET['type']; - return wp_iframe( 'media_upload_type_url_form', $type, $errors, $id ); - } - - return wp_iframe( 'media_upload_type_form', 'image', $errors, $id ); -} - -/** - * Download an image from the specified URL and attach it to a post. - * - * @since 2.6.0 - * - * @param string $file The URL of the image to download - * @param int $post_id The post ID the media is to be associated with - * @param string $desc Optional. Description of the image - * @return string|WP_Error Populated HTML img tag on success - */ -function media_sideload_image( $file, $post_id, $desc = null ) { - if ( ! empty( $file ) ) { - // Set variables for storage, fix file filename for query strings. - preg_match( '/[^\?]+\.(jpe?g|jpe|gif|png)\b/i', $file, $matches ); - $file_array = array(); - $file_array['name'] = basename( $matches[0] ); - - // Download file to temp location. - $file_array['tmp_name'] = download_url( $file ); - - // If error storing temporarily, return the error. - if ( is_wp_error( $file_array['tmp_name'] ) ) { - return $file_array['tmp_name']; - } - - // Do the validation and storage stuff. - $id = media_handle_sideload( $file_array, $post_id, $desc ); - - // If error storing permanently, unlink. - if ( is_wp_error( $id ) ) { - @unlink( $file_array['tmp_name'] ); - return $id; - } - - $src = wp_get_attachment_url( $id ); - } - - // Finally check to make sure the file has been saved, then return the HTML. - if ( ! empty( $src ) ) { - $alt = isset( $desc ) ? esc_attr( $desc ) : ''; - $html = "$alt"; - return $html; - } -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @return unknown - */ -function media_upload_gallery() { - $errors = array(); - - if ( !empty($_POST) ) { - $return = media_upload_form_handler(); - - if ( is_string($return) ) - return $return; - if ( is_array($return) ) - $errors = $return; - } - - wp_enqueue_script('admin-gallery'); - return wp_iframe( 'media_upload_gallery_form', $errors ); -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @return unknown - */ -function media_upload_library() { - $errors = array(); - if ( !empty($_POST) ) { - $return = media_upload_form_handler(); - - if ( is_string($return) ) - return $return; - if ( is_array($return) ) - $errors = $return; - } - - return wp_iframe( 'media_upload_library_form', $errors ); -} - -/** - * Retrieve HTML for the image alignment radio buttons with the specified one checked. - * - * @since 2.7.0 - * - * @param object $post - * @param string $checked - * @return string - */ -function image_align_input_fields( $post, $checked = '' ) { - - if ( empty($checked) ) - $checked = get_user_setting('align', 'none'); - - $alignments = array('none' => __('None'), 'left' => __('Left'), 'center' => __('Center'), 'right' => __('Right')); - if ( !array_key_exists( (string) $checked, $alignments ) ) - $checked = 'none'; - - $out = array(); - foreach ( $alignments as $name => $label ) { - $name = esc_attr($name); - $out[] = ""; - } - return join("\n", $out); -} - -/** - * Retrieve HTML for the size radio buttons with the specified one checked. - * - * @since 2.7.0 - * - * @param object $post - * @param bool|string $check - * @return array - */ -function image_size_input_fields( $post, $check = '' ) { - - /** - * Filter the names and labels of the default image sizes. - * - * @since 3.3.0 - * - * @param array $size_names Array of image sizes and their names. Default values - * include 'Thumbnail', 'Medium', 'Large', 'Full Size'. - */ - $size_names = apply_filters( 'image_size_names_choose', array( - 'thumbnail' => __( 'Thumbnail' ), - 'medium' => __( 'Medium' ), - 'large' => __( 'Large' ), - 'full' => __( 'Full Size' ) - ) ); - - if ( empty($check) ) - $check = get_user_setting('imgsize', 'medium'); - - foreach ( $size_names as $size => $label ) { - $downsize = image_downsize($post->ID, $size); - $checked = ''; - - // Is this size selectable? - $enabled = ( $downsize[3] || 'full' == $size ); - $css_id = "image-size-{$size}-{$post->ID}"; - - // If this size is the default but that's not available, don't select it. - if ( $size == $check ) { - if ( $enabled ) - $checked = " checked='checked'"; - else - $check = ''; - } elseif ( !$check && $enabled && 'thumbnail' != $size ) { - /* - * If $check is not enabled, default to the first available size - * that's bigger than a thumbnail. - */ - $check = $size; - $checked = " checked='checked'"; - } - - $html = "
"; - - $html .= ""; - - // Only show the dimensions if that choice is available. - if ( $enabled ) - $html .= " "; - - $html .= '
'; - - $out[] = $html; - } - - return array( - 'label' => __('Size'), - 'input' => 'html', - 'html' => join("\n", $out), - ); -} - -/** - * Retrieve HTML for the Link URL buttons with the default link type as specified. - * - * @since 2.7.0 - * - * @param object $post - * @param string $url_type - * @return string - */ -function image_link_input_fields($post, $url_type = '') { - - $file = wp_get_attachment_url($post->ID); - $link = get_attachment_link($post->ID); - - if ( empty($url_type) ) - $url_type = get_user_setting('urlbutton', 'post'); - - $url = ''; - if ( $url_type == 'file' ) - $url = $file; - elseif ( $url_type == 'post' ) - $url = $link; - - return " -
- - - -"; -} - -function wp_caption_input_textarea($edit_post) { - // Post data is already escaped. - $name = "attachments[{$edit_post->ID}][post_excerpt]"; - - return ''; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @param array $form_fields - * @param object $post - * @return array - */ -function image_attachment_fields_to_edit($form_fields, $post) { - return $form_fields; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @param array $form_fields An array of attachment form fields. - * @param WP_Post $post The WP_Post attachment object. - * @return array Filtered attachment form fields. - */ -function media_single_attachment_fields_to_edit( $form_fields, $post ) { - unset($form_fields['url'], $form_fields['align'], $form_fields['image-size']); - return $form_fields; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.8.0 - * - * @param array $form_fields An array of attachment form fields. - * @param WP_Post $post The WP_Post attachment object. - * @return array Filtered attachment form fields. - */ -function media_post_single_attachment_fields_to_edit( $form_fields, $post ) { - unset($form_fields['image_url']); - return $form_fields; -} - -/** - * Filters input from media_upload_form_handler() and assigns a default - * post_title from the file name if none supplied. - * - * Illustrates the use of the attachment_fields_to_save filter - * which can be used to add default values to any field before saving to DB. - * - * @since 2.5.0 - * - * @param WP_Post $post The WP_Post attachment object. - * @param array $attachment An array of attachment metadata. - * @return array Filtered attachment post object. - */ -function image_attachment_fields_to_save( $post, $attachment ) { - if ( substr( $post['post_mime_type'], 0, 5 ) == 'image' ) { - if ( strlen( trim( $post['post_title'] ) ) == 0 ) { - $attachment_url = ( isset( $post['attachment_url'] ) ) ? $post['attachment_url'] : $post['guid']; - $post['post_title'] = preg_replace( '/\.\w+$/', '', wp_basename( $attachment_url ) ); - $post['errors']['post_title']['errors'][] = __( 'Empty Title filled from filename.' ); - } - } - - return $post; -} - -add_filter( 'attachment_fields_to_save', 'image_attachment_fields_to_save', 10, 2 ); - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @param string $html - * @param integer $attachment_id - * @param array $attachment - * @return array - */ -function image_media_send_to_editor($html, $attachment_id, $attachment) { - $post = get_post($attachment_id); - if ( substr($post->post_mime_type, 0, 5) == 'image' ) { - $url = $attachment['url']; - $align = !empty($attachment['align']) ? $attachment['align'] : 'none'; - $size = !empty($attachment['image-size']) ? $attachment['image-size'] : 'medium'; - $alt = !empty($attachment['image_alt']) ? $attachment['image_alt'] : ''; - $rel = ( $url == get_attachment_link($attachment_id) ); - - return get_image_send_to_editor($attachment_id, $attachment['post_excerpt'], $attachment['post_title'], $align, $url, $rel, $size, $alt); - } - - return $html; -} - -add_filter('media_send_to_editor', 'image_media_send_to_editor', 10, 3); - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @param object $post - * @param array $errors - * @return array - */ -function get_attachment_fields_to_edit($post, $errors = null) { - if ( is_int($post) ) - $post = get_post($post); - if ( is_array($post) ) - $post = new WP_Post( (object) $post ); - - $image_url = wp_get_attachment_url($post->ID); - - $edit_post = sanitize_post($post, 'edit'); - - $form_fields = array( - 'post_title' => array( - 'label' => __('Title'), - 'value' => $edit_post->post_title - ), - 'image_alt' => array(), - 'post_excerpt' => array( - 'label' => __('Caption'), - 'input' => 'html', - 'html' => wp_caption_input_textarea($edit_post) - ), - 'post_content' => array( - 'label' => __('Description'), - 'value' => $edit_post->post_content, - 'input' => 'textarea' - ), - 'url' => array( - 'label' => __('Link URL'), - 'input' => 'html', - 'html' => image_link_input_fields($post, get_option('image_default_link_type')), - 'helps' => __('Enter a link URL or click above for presets.') - ), - 'menu_order' => array( - 'label' => __('Order'), - 'value' => $edit_post->menu_order - ), - 'image_url' => array( - 'label' => __('File URL'), - 'input' => 'html', - 'html' => "
", - 'value' => wp_get_attachment_url($post->ID), - 'helps' => __('Location of the uploaded file.') - ) - ); - - foreach ( get_attachment_taxonomies($post) as $taxonomy ) { - $t = (array) get_taxonomy($taxonomy); - if ( ! $t['public'] || ! $t['show_ui'] ) - continue; - if ( empty($t['label']) ) - $t['label'] = $taxonomy; - if ( empty($t['args']) ) - $t['args'] = array(); - - $terms = get_object_term_cache($post->ID, $taxonomy); - if ( false === $terms ) - $terms = wp_get_object_terms($post->ID, $taxonomy, $t['args']); - - $values = array(); - - foreach ( $terms as $term ) - $values[] = $term->slug; - $t['value'] = join(', ', $values); - - $form_fields[$taxonomy] = $t; - } - - // Merge default fields with their errors, so any key passed with the error (e.g. 'error', 'helps', 'value') will replace the default - // The recursive merge is easily traversed with array casting: foreach( (array) $things as $thing ) - $form_fields = array_merge_recursive($form_fields, (array) $errors); - - // This was formerly in image_attachment_fields_to_edit(). - if ( substr($post->post_mime_type, 0, 5) == 'image' ) { - $alt = get_post_meta($post->ID, '_wp_attachment_image_alt', true); - if ( empty($alt) ) - $alt = ''; - - $form_fields['post_title']['required'] = true; - - $form_fields['image_alt'] = array( - 'value' => $alt, - 'label' => __('Alternative Text'), - 'helps' => __('Alt text for the image, e.g. “The Mona Lisa”') - ); - - $form_fields['align'] = array( - 'label' => __('Alignment'), - 'input' => 'html', - 'html' => image_align_input_fields($post, get_option('image_default_align')), - ); - - $form_fields['image-size'] = image_size_input_fields( $post, get_option('image_default_size', 'medium') ); - - } else { - unset( $form_fields['image_alt'] ); - } - - /** - * Filter the attachment fields to edit. - * - * @since 2.5.0 - * - * @param array $form_fields An array of attachment form fields. - * @param WP_Post $post The WP_Post attachment object. - */ - $form_fields = apply_filters( 'attachment_fields_to_edit', $form_fields, $post ); - - return $form_fields; -} - -/** - * Retrieve HTML for media items of post gallery. - * - * The HTML markup retrieved will be created for the progress of SWF Upload - * component. Will also create link for showing and hiding the form to modify - * the image attachment. - * - * @since 2.5.0 - * - * @param int $post_id Optional. Post ID. - * @param array $errors Errors for attachment, if any. - * @return string - */ -function get_media_items( $post_id, $errors ) { - $attachments = array(); - if ( $post_id ) { - $post = get_post($post_id); - if ( $post && $post->post_type == 'attachment' ) - $attachments = array($post->ID => $post); - else - $attachments = get_children( array( 'post_parent' => $post_id, 'post_type' => 'attachment', 'orderby' => 'menu_order ASC, ID', 'order' => 'DESC') ); - } else { - if ( is_array($GLOBALS['wp_the_query']->posts) ) - foreach ( $GLOBALS['wp_the_query']->posts as $attachment ) - $attachments[$attachment->ID] = $attachment; - } - - $output = ''; - foreach ( (array) $attachments as $id => $attachment ) { - if ( $attachment->post_status == 'trash' ) - continue; - if ( $item = get_media_item( $id, array( 'errors' => isset($errors[$id]) ? $errors[$id] : null) ) ) - $output .= "\n
$item\n
"; - } - - return $output; -} - -/** - * Retrieve HTML form for modifying the image attachment. - * - * @since 2.5.0 - * - * @param int $attachment_id Attachment ID for modification. - * @param string|array $args Optional. Override defaults. - * @return string HTML form for attachment. - */ -function get_media_item( $attachment_id, $args = null ) { - global $redir_tab; - - if ( ( $attachment_id = intval( $attachment_id ) ) && $thumb_url = wp_get_attachment_image_src( $attachment_id, 'thumbnail', true ) ) - $thumb_url = $thumb_url[0]; - else - $thumb_url = false; - - $post = get_post( $attachment_id ); - $current_post_id = !empty( $_GET['post_id'] ) ? (int) $_GET['post_id'] : 0; - - $default_args = array( - 'errors' => null, - 'send' => $current_post_id ? post_type_supports( get_post_type( $current_post_id ), 'editor' ) : true, - 'delete' => true, - 'toggle' => true, - 'show_title' => true - ); - $args = wp_parse_args( $args, $default_args ); - - /** - * Filter the arguments used to retrieve an image for the edit image form. - * - * @since 3.1.0 - * - * @see get_media_item - * - * @param array $args An array of arguments. - */ - $r = apply_filters( 'get_media_item_args', $args ); - - $toggle_on = __( 'Show' ); - $toggle_off = __( 'Hide' ); - - $filename = esc_html( wp_basename( $post->guid ) ); - $title = esc_attr( $post->post_title ); - - $post_mime_types = get_post_mime_types(); - $keys = array_keys( wp_match_mime_types( array_keys( $post_mime_types ), $post->post_mime_type ) ); - $type = array_shift( $keys ); - $type_html = ""; - - $form_fields = get_attachment_fields_to_edit( $post, $r['errors'] ); - - if ( $r['toggle'] ) { - $class = empty( $r['errors'] ) ? 'startclosed' : 'startopen'; - $toggle_links = " - $toggle_on - $toggle_off"; - } else { - $class = ''; - $toggle_links = ''; - } - - $display_title = ( !empty( $title ) ) ? $title : $filename; // $title shouldn't ever be empty, but just in case - $display_title = $r['show_title'] ? "
" . wp_html_excerpt( $display_title, 60, '…' ) . "
" : ''; - - $gallery = ( ( isset( $_REQUEST['tab'] ) && 'gallery' == $_REQUEST['tab'] ) || ( isset( $redir_tab ) && 'gallery' == $redir_tab ) ); - $order = ''; - - foreach ( $form_fields as $key => $val ) { - if ( 'menu_order' == $key ) { - if ( $gallery ) - $order = ""; - else - $order = ""; - - unset( $form_fields['menu_order'] ); - break; - } - } - - $media_dims = ''; - $meta = wp_get_attachment_metadata( $post->ID ); - if ( isset( $meta['width'], $meta['height'] ) ) - $media_dims .= "{$meta['width']} × {$meta['height']} "; - - /** - * Filter the media metadata. - * - * @since 2.5.0 - * - * @param string $media_dims The HTML markup containing the media dimensions. - * @param WP_Post $post The WP_Post attachment object. - */ - $media_dims = apply_filters( 'media_meta', $media_dims, $post ); - - $image_edit_button = ''; - if ( wp_attachment_is_image( $post->ID ) && wp_image_editor_supports( array( 'mime_type' => $post->post_mime_type ) ) ) { - $nonce = wp_create_nonce( "image_editor-$post->ID" ); - $image_edit_button = " "; - } - - $attachment_url = get_permalink( $attachment_id ); - - $item = " - $type_html - $toggle_links - $order - $display_title - - - - - \n"; - - $item .= " - - - - \n"; - - $defaults = array( - 'input' => 'text', - 'required' => false, - 'value' => '', - 'extra_rows' => array(), - ); - - if ( $r['send'] ) { - $r['send'] = get_submit_button( __( 'Insert into Post' ), 'button', "send[$attachment_id]", false ); - } - - $delete = empty( $r['delete'] ) ? '' : $r['delete']; - if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) { - if ( !EMPTY_TRASH_DAYS ) { - $delete = "" . __( 'Delete Permanently' ) . ''; - } elseif ( !MEDIA_TRASH ) { - $delete = "" . __( 'Delete' ) . " - "; - } else { - $delete = "" . __( 'Move to Trash' ) . " - "; - } - } else { - $delete = ''; - } - - $thumbnail = ''; - $calling_post_id = 0; - if ( isset( $_GET['post_id'] ) ) { - $calling_post_id = absint( $_GET['post_id'] ); - } elseif ( isset( $_POST ) && count( $_POST ) ) {// Like for async-upload where $_GET['post_id'] isn't set - $calling_post_id = $post->post_parent; - } - if ( 'image' == $type && $calling_post_id && current_theme_supports( 'post-thumbnails', get_post_type( $calling_post_id ) ) - && post_type_supports( get_post_type( $calling_post_id ), 'thumbnail' ) && get_post_thumbnail_id( $calling_post_id ) != $attachment_id ) { - $ajax_nonce = wp_create_nonce( "set_post_thumbnail-$calling_post_id" ); - $thumbnail = "" . esc_html__( "Use as featured image" ) . ""; - } - - if ( ( $r['send'] || $thumbnail || $delete ) && !isset( $form_fields['buttons'] ) ) { - $form_fields['buttons'] = array( 'tr' => "\t\t\n" ); - } - $hidden_fields = array(); - - foreach ( $form_fields as $id => $field ) { - if ( $id[0] == '_' ) - continue; - - if ( !empty( $field['tr'] ) ) { - $item .= $field['tr']; - continue; - } - - $field = array_merge( $defaults, $field ); - $name = "attachments[$attachment_id][$id]"; - - if ( $field['input'] == 'hidden' ) { - $hidden_fields[$name] = $field['value']; - continue; - } - - $required = $field['required'] ? '*' : ''; - $aria_required = $field['required'] ? " aria-required='true' " : ''; - $class = $id; - $class .= $field['required'] ? ' form-required' : ''; - - $item .= "\t\t\n\t\t\t\n\t\t\t\n\t\t\n"; - - $extra_rows = array(); - - if ( !empty( $field['errors'] ) ) - foreach ( array_unique( (array) $field['errors'] ) as $error ) - $extra_rows['error'][] = $error; - - if ( !empty( $field['extra_rows'] ) ) - foreach ( $field['extra_rows'] as $class => $rows ) - foreach ( (array) $rows as $html ) - $extra_rows[$class][] = $html; - - foreach ( $extra_rows as $class => $rows ) - foreach ( $rows as $html ) - $item .= "\t\t\n"; - } - - if ( !empty( $form_fields['_final'] ) ) - $item .= "\t\t\n"; - $item .= "\t\n"; - $item .= "\t
-

-

$image_edit_button

-
-

" . __('File name:') . " $filename

-

" . __('File type:') . " $post->post_mime_type

-

" . __('Upload date:') . " " . mysql2date( get_option('date_format'), $post->post_date ). '

'; - if ( !empty( $media_dims ) ) - $item .= "

" . __('Dimensions:') . " $media_dims

\n"; - - $item .= "
" . $r['send'] . " $thumbnail $delete
"; - if ( !empty( $field[ $field['input'] ] ) ) - $item .= $field[ $field['input'] ]; - elseif ( $field['input'] == 'textarea' ) { - if ( 'post_content' == $id && user_can_richedit() ) { - // Sanitize_post() skips the post_content when user_can_richedit. - $field['value'] = htmlspecialchars( $field['value'], ENT_QUOTES ); - } - // Post_excerpt is already escaped by sanitize_post() in get_attachment_fields_to_edit(). - $item .= "'; - } else { - $item .= ""; - } - if ( !empty( $field['helps'] ) ) - $item .= "

" . join( "

\n

", array_unique( (array) $field['helps'] ) ) . '

'; - $item .= "
$html
{$form_fields['_final']}
\n"; - - foreach ( $hidden_fields as $name => $value ) - $item .= "\t\n"; - - if ( $post->post_parent < 1 && isset( $_REQUEST['post_id'] ) ) { - $parent = (int) $_REQUEST['post_id']; - $parent_name = "attachments[$attachment_id][post_parent]"; - $item .= "\t\n"; - } - - return $item; -} - -function get_compat_media_markup( $attachment_id, $args = null ) { - $post = get_post( $attachment_id ); - - $default_args = array( - 'errors' => null, - 'in_modal' => false, - ); - - $user_can_edit = current_user_can( 'edit_post', $attachment_id ); - - $args = wp_parse_args( $args, $default_args ); - - /** This filter is documented in wp-admin/includes/media.php */ - $args = apply_filters( 'get_media_item_args', $args ); - - $form_fields = array(); - - if ( $args['in_modal'] ) { - foreach ( get_attachment_taxonomies($post) as $taxonomy ) { - $t = (array) get_taxonomy($taxonomy); - if ( ! $t['public'] || ! $t['show_ui'] ) - continue; - if ( empty($t['label']) ) - $t['label'] = $taxonomy; - if ( empty($t['args']) ) - $t['args'] = array(); - - $terms = get_object_term_cache($post->ID, $taxonomy); - if ( false === $terms ) - $terms = wp_get_object_terms($post->ID, $taxonomy, $t['args']); - - $values = array(); - - foreach ( $terms as $term ) - $values[] = $term->slug; - $t['value'] = join(', ', $values); - $t['taxonomy'] = true; - - $form_fields[$taxonomy] = $t; - } - } - - // Merge default fields with their errors, so any key passed with the error (e.g. 'error', 'helps', 'value') will replace the default - // The recursive merge is easily traversed with array casting: foreach( (array) $things as $thing ) - $form_fields = array_merge_recursive($form_fields, (array) $args['errors'] ); - - /** This filter is documented in wp-admin/includes/media.php */ - $form_fields = apply_filters( 'attachment_fields_to_edit', $form_fields, $post ); - - unset( $form_fields['image-size'], $form_fields['align'], $form_fields['image_alt'], - $form_fields['post_title'], $form_fields['post_excerpt'], $form_fields['post_content'], - $form_fields['url'], $form_fields['menu_order'], $form_fields['image_url'] ); - - /** This filter is documented in wp-admin/includes/media.php */ - $media_meta = apply_filters( 'media_meta', '', $post ); - - $defaults = array( - 'input' => 'text', - 'required' => false, - 'value' => '', - 'extra_rows' => array(), - 'show_in_edit' => true, - 'show_in_modal' => true, - ); - - $hidden_fields = array(); - - $item = ''; - foreach ( $form_fields as $id => $field ) { - if ( $id[0] == '_' ) - continue; - - $name = "attachments[$attachment_id][$id]"; - $id_attr = "attachments-$attachment_id-$id"; - - if ( !empty( $field['tr'] ) ) { - $item .= $field['tr']; - continue; - } - - $field = array_merge( $defaults, $field ); - - if ( ( ! $field['show_in_edit'] && ! $args['in_modal'] ) || ( ! $field['show_in_modal'] && $args['in_modal'] ) ) - continue; - - if ( $field['input'] == 'hidden' ) { - $hidden_fields[$name] = $field['value']; - continue; - } - - $readonly = ! $user_can_edit && ! empty( $field['taxonomy'] ) ? " readonly='readonly' " : ''; - $required = $field['required'] ? '*' : ''; - $aria_required = $field['required'] ? " aria-required='true' " : ''; - $class = 'compat-field-' . $id; - $class .= $field['required'] ? ' form-required' : ''; - - $item .= "\t\t"; - $item .= "\t\t\t"; - $item .= "\n\t\t\t"; - - if ( !empty( $field[ $field['input'] ] ) ) - $item .= $field[ $field['input'] ]; - elseif ( $field['input'] == 'textarea' ) { - if ( 'post_content' == $id && user_can_richedit() ) { - // sanitize_post() skips the post_content when user_can_richedit. - $field['value'] = htmlspecialchars( $field['value'], ENT_QUOTES ); - } - $item .= "'; - } else { - $item .= ""; - } - if ( !empty( $field['helps'] ) ) - $item .= "

" . join( "

\n

", array_unique( (array) $field['helps'] ) ) . '

'; - $item .= "\n\t\t\n"; - - $extra_rows = array(); - - if ( !empty( $field['errors'] ) ) - foreach ( array_unique( (array) $field['errors'] ) as $error ) - $extra_rows['error'][] = $error; - - if ( !empty( $field['extra_rows'] ) ) - foreach ( $field['extra_rows'] as $class => $rows ) - foreach ( (array) $rows as $html ) - $extra_rows[$class][] = $html; - - foreach ( $extra_rows as $class => $rows ) - foreach ( $rows as $html ) - $item .= "\t\t$html\n"; - } - - if ( !empty( $form_fields['_final'] ) ) - $item .= "\t\t{$form_fields['_final']}\n"; - if ( $item ) - $item = '' . $item . '
'; - - foreach ( $hidden_fields as $hidden_field => $value ) { - $item .= '' . "\n"; - } - - if ( $item ) - $item = '' . $item; - - return array( - 'item' => $item, - 'meta' => $media_meta, - ); -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - */ -function media_upload_header() { - $post_id = isset( $_REQUEST['post_id'] ) ? intval( $_REQUEST['post_id'] ) : 0; - echo '\n"; - if ( empty( $_GET['chromeless'] ) ) { - echo '
'; - the_media_upload_tabs(); - echo '
'; - } -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @param unknown_type $errors - */ -function media_upload_form( $errors = null ) { - global $type, $tab, $is_IE, $is_opera; - - if ( ! _device_can_upload() ) { - echo '

' . sprintf( __('The web browser on your device cannot be used to upload files. You may be able to use the native app for your device instead.'), 'http://apps.wordpress.org/' ) . '

'; - return; - } - - $upload_action_url = admin_url('async-upload.php'); - $post_id = isset($_REQUEST['post_id']) ? intval($_REQUEST['post_id']) : 0; - $_type = isset($type) ? $type : ''; - $_tab = isset($tab) ? $tab : ''; - - $max_upload_size = wp_max_upload_size(); - if ( ! $max_upload_size ) { - $max_upload_size = 0; - } -?> - -
-
get_error_message(); - -?>
- $post_id, - "_wpnonce" => wp_create_nonce('media-form'), - "type" => $_type, - "tab" => $_tab, - "short" => "1", -); - -/** - * Filter the media upload post parameters. - * - * @since 3.1.0 As 'swfupload_post_params' - * @since 3.3.0 - * - * @param array $post_params An array of media upload parameters used by Plupload. - */ -$post_params = apply_filters( 'upload_post_params', $post_params ); - -$plupload_init = array( - 'runtimes' => 'html5,flash,silverlight,html4', - 'browse_button' => 'plupload-browse-button', - 'container' => 'plupload-upload-ui', - 'drop_element' => 'drag-drop-area', - 'file_data_name' => 'async-upload', - 'url' => $upload_action_url, - 'flash_swf_url' => includes_url( 'js/plupload/plupload.flash.swf' ), - 'silverlight_xap_url' => includes_url( 'js/plupload/plupload.silverlight.xap' ), - 'filters' => array( - 'max_file_size' => $max_upload_size . 'b', - ), - 'multipart_params' => $post_params, -); - -/** - * Filter the default Plupload settings. - * - * @since 3.3.0 - * - * @param array $plupload_init An array of default settings used by Plupload. - */ -$plupload_init = apply_filters( 'plupload_init', $plupload_init ); - -?> - - - -
- -
-
-

-

-

-
-
- -
- -
- -

- - - - -

-
- -
- -

- - -
- - - - -

- - - - -
'.esc_html($id->get_error_message()).'
'; - exit; - } -} -?>
- -

- -

- - - -
- - - -

- - - -
-
- -
-
-
- - - -
- - - - - - - | - | - -
- - - -
- - - - - - - - -
    - $reals ) - foreach ( $reals as $real ) - if ( isset($num_posts[$_type]) ) - $num_posts[$_type] += $_num_posts[$real]; - else - $num_posts[$_type] = $_num_posts[$real]; -// If available type specified by media button clicked, filter by that type -if ( empty($_GET['post_mime_type']) && !empty($num_posts[$type]) ) { - $_GET['post_mime_type'] = $type; - list($post_mime_types, $avail_post_mime_types) = wp_edit_attachments_query(); -} -if ( empty($_GET['post_mime_type']) || $_GET['post_mime_type'] == 'all' ) - $class = ' class="current"'; -else - $class = ''; -$type_links[] = '
  • ' . __('All Types') . ''; -foreach ( $post_mime_types as $mime_type => $label ) { - $class = ''; - - if ( !wp_match_mime_types($mime_type, $avail_post_mime_types) ) - continue; - - if ( isset($_GET['post_mime_type']) && wp_match_mime_types($mime_type, $_GET['post_mime_type']) ) - $class = ' class="current"'; - - $type_links[] = '
  • ' . sprintf( translate_nooped_plural( $label[2], $num_posts[$mime_type] ), '' . number_format_i18n( $num_posts[$mime_type] ) . '') . ''; -} -/** - * Filter the media upload mime type list items. - * - * Returned values should begin with an
  • tag. - * - * @since 3.1.0 - * - * @param array $type_links An array of list items containing mime type link HTML. - */ -echo implode(' |
  • ', apply_filters( 'media_upload_mime_type_links', $type_links ) ) . ''; -unset($type_links); -?> -
- -
- - add_query_arg( 'paged', '%#%' ), - 'format' => '', - 'prev_text' => __('«'), - 'next_text' => __('»'), - 'total' => ceil($wp_query->found_posts / 10), - 'current' => $q['paged'], -)); - -if ( $page_links ) - echo "
$page_links
"; -?> - -
-posts WHERE post_type = 'attachment' ORDER BY post_date DESC"; - -$arc_result = $wpdb->get_results( $arc_query ); - -$month_count = count($arc_result); -$selected_month = isset( $_GET['m'] ) ? $_GET['m'] : 0; - -if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) { ?> - - - - - -
- -
-
-
- -
- - - - - - -
- - -
-

- - -

-
- - - - - - -'; - } else { - $caption = ''; - } - - $default_align = get_option('image_default_align'); - if ( empty($default_align) ) - $default_align = 'none'; - - if ( 'image' == $default_view ) { - $view = 'image-only'; - $table_class = ''; - } else { - $view = $table_class = 'not-image'; - } - - return ' -

   

- - - - - - - - - - - - - - - - - - ' . $caption . ' - - - - - - - - - - - - - - - - - -
- - * -
- - * -

' . __('Link text, e.g. “Ransom Demands (PDF)”') . '

- - -

' . __('Alt text for the image, e.g. “The Mona Lisa”') . '

- - - - - - - - -
- -
- - - -

' . __('Enter a link URL or click above for presets.') . '

- -
- ' . get_submit_button( __( 'Insert into Post' ), 'button', 'insertonlybutton', false ) . ' -
-'; - -} - -/** - * Displays the multi-file uploader message. - * - * @since 2.6.0 - */ -function media_upload_flash_bypass() { - $browser_uploader = admin_url( 'media-new.php?browser-uploader' ); - - if ( $post = get_post() ) - $browser_uploader .= '&post_id=' . intval( $post->ID ); - elseif ( ! empty( $GLOBALS['post_ID'] ) ) - $browser_uploader .= '&post_id=' . intval( $GLOBALS['post_ID'] ); - - ?> -

- browser uploader instead.' ), $browser_uploader, '_blank' ); ?> -

- -

- Switch to the multi-file uploader.'); ?> -

- '; - $end = ''; - } -?> -

-' . sprintf( __( 'Sorry, you have used all of your storage quota of %s MB.' ), get_space_allowed() ) . '

'; -} - -/** - * Displays the image and editor in the post editor - * - * @since 3.5.0 - */ -function edit_form_image_editor( $post ) { - $open = isset( $_GET['image-editor'] ); - if ( $open ) - require_once ABSPATH . 'wp-admin/includes/image-edit.php'; - - $thumb_url = false; - if ( $attachment_id = intval( $post->ID ) ) - $thumb_url = wp_get_attachment_image_src( $attachment_id, array( 900, 450 ), true ); - - $alt_text = get_post_meta( $post->ID, '_wp_attachment_image_alt', true ); - - $att_url = wp_get_attachment_url( $post->ID ); ?> -
- ID ) ) : - $image_edit_button = ''; - if ( wp_image_editor_supports( array( 'mime_type' => $post->post_mime_type ) ) ) { - $nonce = wp_create_nonce( "image_editor-$post->ID" ); - $image_edit_button = " "; - } - ?> - -
- - class="wp_attachment_image" id="media-head-"> -

-

-
- class="image-editor" id="image-editor-"> - -
- post_mime_type, 'audio/' ) ): - - wp_maybe_generate_attachment_metadata( $post ); - - echo wp_audio_shortcode( array( 'src' => $att_url ) ); - - elseif ( $attachment_id && 0 === strpos( $post->post_mime_type, 'video/' ) ): - - wp_maybe_generate_attachment_metadata( $post ); - - $meta = wp_get_attachment_metadata( $attachment_id ); - $w = ! empty( $meta['width'] ) ? min( $meta['width'], 640 ) : 0; - $h = ! empty( $meta['height'] ) ? $meta['height'] : 0; - if ( $h && $w < $meta['width'] ) { - $h = round( ( $meta['height'] * $w ) / $meta['width'] ); - } - - $attr = array( 'src' => $att_url ); - if ( ! empty( $w ) && ! empty( $h ) ) { - $attr['width'] = $w; - $attr['height'] = $h; - } - - $thumb_id = get_post_thumbnail_id( $attachment_id ); - if ( ! empty( $thumb_id ) ) { - $attr['poster'] = wp_get_attachment_url( $thumb_id ); - } - - echo wp_video_shortcode( $attr ); - - endif; ?> - -
-

-
- -

- - - post_mime_type, 0, 5 ) ) : ?> -

-
- -

- - - 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); - $editor_args = array( - 'textarea_name' => 'content', - 'textarea_rows' => 5, - 'media_buttons' => false, - 'tinymce' => false, - 'quicktags' => $quicktags_settings, - ); - ?> - - - post_content, 'attachment_content', $editor_args ); ?> - -
- ID ); - echo $extras['item']; - echo '' . "\n"; -} - -/** - * Displays non-editable attachment metadata in the publish metabox - * - * @since 3.5.0 - */ -function attachment_submitbox_metadata() { - $post = get_post(); - - $filename = esc_html( wp_basename( $post->guid ) ); - - $media_dims = ''; - $meta = wp_get_attachment_metadata( $post->ID ); - if ( isset( $meta['width'], $meta['height'] ) ) - $media_dims .= "{$meta['width']} × {$meta['height']} "; - /** This filter is documented in wp-admin/includes/media.php */ - $media_dims = apply_filters( 'media_meta', $media_dims, $post ); - - $att_url = wp_get_attachment_url( $post->ID ); -?> -
- - -
-
- -
-
- ID ), $matches ) ) { - echo esc_html( strtoupper( $matches[1] ) ); - list( $mime_type ) = explode( '/', $post->post_mime_type ); - if ( $mime_type !== 'image' && ! empty( $meta['mime_type'] ) ) { - if ( $meta['mime_type'] !== "$mime_type/" . strtolower( $matches[1] ) ) { - echo ' (' . $meta['mime_type'] . ')'; - } - } - } else { - echo strtoupper( str_replace( 'image/', '', $post->post_mime_type ) ); - } - ?> -
- - ID ); - $file_size = false; - - if ( isset( $meta['filesize'] ) ) - $file_size = $meta['filesize']; - elseif ( file_exists( $file ) ) - $file_size = filesize( $file ); - - if ( ! empty( $file_size ) ) : ?> -
- -
- post_mime_type ) ) { - - /** - * Filter the audio and video metadata fields to be shown in the publish meta box. - * - * The key for each item in the array should correspond to an attachment - * metadata key, and the value should be the desired label. - * - * @since 3.7.0 - * - * @param array $fields An array of the attachment metadata keys and labels. - */ - $fields = apply_filters( 'media_submitbox_misc_sections', array( - 'length_formatted' => __( 'Length:' ), - 'bitrate' => __( 'Bitrate:' ), - ) ); - - foreach ( $fields as $key => $label ) { - if ( empty( $meta[ $key ] ) ) { - continue; - } - ?> -
- -
- __( 'Audio Format:' ), - 'codec' => __( 'Audio Codec:' ) - ) ); - - foreach ( $audio_fields as $key => $label ) { - if ( empty( $meta['audio'][ $key ] ) ) { - continue; - } - ?> -
- -
- -
- -
- $list ) { - if ( ! empty( $list ) ) { - $metadata[$key] = reset( $list ); - // Fix bug in byte stream analysis. - if ( 'terms_of_use' === $key && 0 === strpos( $metadata[$key], 'yright notice.' ) ) - $metadata[$key] = 'Cop' . $metadata[$key]; - } - } - break; - } - } - - if ( ! empty( $data['id3v2']['APIC'] ) ) { - $image = reset( $data['id3v2']['APIC']); - if ( ! empty( $image['data'] ) ) { - $metadata['image'] = array( - 'data' => $image['data'], - 'mime' => $image['image_mime'], - 'width' => $image['image_width'], - 'height' => $image['image_height'] - ); - } - } elseif ( ! empty( $data['comments']['picture'] ) ) { - $image = reset( $data['comments']['picture'] ); - if ( ! empty( $image['data'] ) ) { - $metadata['image'] = array( - 'data' => $image['data'], - 'mime' => $image['image_mime'] - ); - } - } -} - -/** - * Retrieve metadata from a video file's ID3 tags - * - * @since 3.6.0 - * - * @param string $file Path to file. - * @return array|boolean Returns array of metadata, if found. - */ -function wp_read_video_metadata( $file ) { - if ( ! file_exists( $file ) ) - return false; - - $metadata = array(); - - if ( ! class_exists( 'getID3' ) ) - require( ABSPATH . WPINC . '/ID3/getid3.php' ); - $id3 = new getID3(); - $data = $id3->analyze( $file ); - - if ( isset( $data['video']['lossless'] ) ) - $metadata['lossless'] = $data['video']['lossless']; - if ( ! empty( $data['video']['bitrate'] ) ) - $metadata['bitrate'] = (int) $data['video']['bitrate']; - if ( ! empty( $data['video']['bitrate_mode'] ) ) - $metadata['bitrate_mode'] = $data['video']['bitrate_mode']; - if ( ! empty( $data['filesize'] ) ) - $metadata['filesize'] = (int) $data['filesize']; - if ( ! empty( $data['mime_type'] ) ) - $metadata['mime_type'] = $data['mime_type']; - if ( ! empty( $data['playtime_seconds'] ) ) - $metadata['length'] = (int) ceil( $data['playtime_seconds'] ); - if ( ! empty( $data['playtime_string'] ) ) - $metadata['length_formatted'] = $data['playtime_string']; - if ( ! empty( $data['video']['resolution_x'] ) ) - $metadata['width'] = (int) $data['video']['resolution_x']; - if ( ! empty( $data['video']['resolution_y'] ) ) - $metadata['height'] = (int) $data['video']['resolution_y']; - if ( ! empty( $data['fileformat'] ) ) - $metadata['fileformat'] = $data['fileformat']; - if ( ! empty( $data['video']['dataformat'] ) ) - $metadata['dataformat'] = $data['video']['dataformat']; - if ( ! empty( $data['video']['encoder'] ) ) - $metadata['encoder'] = $data['video']['encoder']; - if ( ! empty( $data['video']['codec'] ) ) - $metadata['codec'] = $data['video']['codec']; - - if ( ! empty( $data['audio'] ) ) { - unset( $data['audio']['streams'] ); - $metadata['audio'] = $data['audio']; - } - - wp_add_id3_tag_data( $metadata, $data ); - - return $metadata; -} - -/** - * Retrieve metadata from a audio file's ID3 tags - * - * @since 3.6.0 - * - * @param string $file Path to file. - * @return array|boolean Returns array of metadata, if found. - */ -function wp_read_audio_metadata( $file ) { - if ( ! file_exists( $file ) ) - return false; - $metadata = array(); - - if ( ! class_exists( 'getID3' ) ) - require( ABSPATH . WPINC . '/ID3/getid3.php' ); - $id3 = new getID3(); - $data = $id3->analyze( $file ); - - if ( ! empty( $data['audio'] ) ) { - unset( $data['audio']['streams'] ); - $metadata = $data['audio']; - } - - if ( ! empty( $data['fileformat'] ) ) - $metadata['fileformat'] = $data['fileformat']; - if ( ! empty( $data['filesize'] ) ) - $metadata['filesize'] = (int) $data['filesize']; - if ( ! empty( $data['mime_type'] ) ) - $metadata['mime_type'] = $data['mime_type']; - if ( ! empty( $data['playtime_seconds'] ) ) - $metadata['length'] = (int) ceil( $data['playtime_seconds'] ); - if ( ! empty( $data['playtime_string'] ) ) - $metadata['length_formatted'] = $data['playtime_string']; - - wp_add_id3_tag_data( $metadata, $data ); - - return $metadata; -} diff --git a/sources/wordpress/wp-admin/includes/menu.php b/sources/wordpress/wp-admin/includes/menu.php deleted file mode 100644 index 873f737..0000000 --- a/sources/wordpress/wp-admin/includes/menu.php +++ /dev/null @@ -1,322 +0,0 @@ - $sub) { - foreach ($sub as $index => $data) { - if ( ! current_user_can($data[1]) ) { - unset($submenu[$parent][$index]); - $_wp_submenu_nopriv[$parent][$data[2]] = true; - } - } - unset($index, $data); - - if ( empty($submenu[$parent]) ) - unset($submenu[$parent]); -} -unset($sub, $parent); - -/* - * Loop over the top-level menu. - * Menus for which the original parent is not accessible due to lack of privileges - * will have the next submenu in line be assigned as the new menu parent. - */ -foreach ( $menu as $id => $data ) { - if ( empty($submenu[$data[2]]) ) - continue; - $subs = $submenu[$data[2]]; - $first_sub = array_shift($subs); - $old_parent = $data[2]; - $new_parent = $first_sub[2]; - /* - * If the first submenu is not the same as the assigned parent, - * make the first submenu the new parent. - */ - if ( $new_parent != $old_parent ) { - $_wp_real_parent_file[$old_parent] = $new_parent; - $menu[$id][2] = $new_parent; - - foreach ($submenu[$old_parent] as $index => $data) { - $submenu[$new_parent][$index] = $submenu[$old_parent][$index]; - unset($submenu[$old_parent][$index]); - } - unset($submenu[$old_parent], $index); - - if ( isset($_wp_submenu_nopriv[$old_parent]) ) - $_wp_submenu_nopriv[$new_parent] = $_wp_submenu_nopriv[$old_parent]; - } -} -unset($id, $data, $subs, $first_sub, $old_parent, $new_parent); - -if ( is_network_admin() ) { - - /** - * Fires before the administration menu loads in the Network Admin. - * - * @since 3.1.0 - * - * @param string $context Empty context. - */ - do_action( 'network_admin_menu', '' ); -} elseif ( is_user_admin() ) { - - /** - * Fires before the administration menu loads in the User Admin. - * - * @since 3.1.0 - * - * @param string $context Empty context. - */ - do_action( 'user_admin_menu', '' ); -} else { - - /** - * Fires before the administration menu loads in the admin. - * - * @since 1.5.0 - * - * @param string $context Empty context. - */ - do_action( 'admin_menu', '' ); -} - -/* - * Remove menus that have no accessible submenus and require privileges - * that the user does not have. Run re-parent loop again. - */ -foreach ( $menu as $id => $data ) { - if ( ! current_user_can($data[1]) ) - $_wp_menu_nopriv[$data[2]] = true; - - /* - * If there is only one submenu and it is has same destination as the parent, - * remove the submenu. - */ - if ( ! empty( $submenu[$data[2]] ) && 1 == count ( $submenu[$data[2]] ) ) { - $subs = $submenu[$data[2]]; - $first_sub = array_shift($subs); - if ( $data[2] == $first_sub[2] ) - unset( $submenu[$data[2]] ); - } - - // If submenu is empty... - if ( empty($submenu[$data[2]]) ) { - // And user doesn't have privs, remove menu. - if ( isset( $_wp_menu_nopriv[$data[2]] ) ) { - unset($menu[$id]); - } - } -} -unset($id, $data, $subs, $first_sub); - -// Remove any duplicated separators -$separator_found = false; -foreach ( $menu as $id => $data ) { - if ( 0 == strcmp('wp-menu-separator', $data[4] ) ) { - if (false == $separator_found) { - $separator_found = true; - } else { - unset($menu[$id]); - $separator_found = false; - } - } else { - $separator_found = false; - } -} -unset($id, $data); - -function add_cssclass($add, $class) { - $class = empty($class) ? $add : $class .= ' ' . $add; - return $class; -} - -function add_menu_classes($menu) { - - $first = $lastorder = false; - $i = 0; - $mc = count($menu); - foreach ( $menu as $order => $top ) { - $i++; - - if ( 0 == $order ) { // dashboard is always shown/single - $menu[0][4] = add_cssclass('menu-top-first', $top[4]); - $lastorder = 0; - continue; - } - - if ( 0 === strpos($top[2], 'separator') && false !== $lastorder ) { // if separator - $first = true; - $c = $menu[$lastorder][4]; - $menu[$lastorder][4] = add_cssclass('menu-top-last', $c); - continue; - } - - if ( $first ) { - $c = $menu[$order][4]; - $menu[$order][4] = add_cssclass('menu-top-first', $c); - $first = false; - } - - if ( $mc == $i ) { // last item - $c = $menu[$order][4]; - $menu[$order][4] = add_cssclass('menu-top-last', $c); - } - - $lastorder = $order; - } - - /** - * Filter administration menus array with classes added for top-level items. - * - * @since 2.7.0 - * - * @param array $menu Associative array of administration menu items. - */ - return apply_filters( 'add_menu_classes', $menu ); -} - -uksort($menu, "strnatcasecmp"); // make it all pretty - -/** - * Filter whether to enable custom ordering of the administration menu. - * - * See the 'menu_order' filter for reordering menu items. - * - * @since 2.8.0 - * - * @param bool $custom Whether custom ordering is enabled. Default false. - */ -if ( apply_filters( 'custom_menu_order', false ) ) { - $menu_order = array(); - foreach ( $menu as $menu_item ) { - $menu_order[] = $menu_item[2]; - } - unset($menu_item); - $default_menu_order = $menu_order; - - /** - * Filter the order of administration menu items. - * - * A truthy value must first be passed to the 'custom_menu_order' filter - * for this filter to work. Use the following to enable custom menu ordering: - * - * add_filter( 'custom_menu_order', '__return_true' ); - * - * @since 2.8.0 - * - * @param array $menu_order An ordered array of menu items. - */ - $menu_order = apply_filters( 'menu_order', $menu_order ); - $menu_order = array_flip($menu_order); - $default_menu_order = array_flip($default_menu_order); - - function sort_menu($a, $b) { - global $menu_order, $default_menu_order; - $a = $a[2]; - $b = $b[2]; - if ( isset($menu_order[$a]) && !isset($menu_order[$b]) ) { - return -1; - } elseif ( !isset($menu_order[$a]) && isset($menu_order[$b]) ) { - return 1; - } elseif ( isset($menu_order[$a]) && isset($menu_order[$b]) ) { - if ( $menu_order[$a] == $menu_order[$b] ) - return 0; - return ($menu_order[$a] < $menu_order[$b]) ? -1 : 1; - } else { - return ($default_menu_order[$a] <= $default_menu_order[$b]) ? -1 : 1; - } - } - - usort($menu, 'sort_menu'); - unset($menu_order, $default_menu_order); -} - -// Remove the last menu item if it is a separator. -$last_menu_key = array_keys( $menu ); -$last_menu_key = array_pop( $last_menu_key ); -if ( !empty( $menu ) && 'wp-menu-separator' == $menu[ $last_menu_key ][ 4 ] ) - unset( $menu[ $last_menu_key ] ); -unset( $last_menu_key ); - -if ( !user_can_access_admin_page() ) { - - /** - * Fires when access to an admin page is denied. - * - * @since 2.5.0 - */ - do_action( 'admin_page_access_denied' ); - - wp_die( __('You do not have sufficient permissions to access this page.') ); -} - -$menu = add_menu_classes($menu); diff --git a/sources/wordpress/wp-admin/includes/meta-boxes.php b/sources/wordpress/wp-admin/includes/meta-boxes.php deleted file mode 100644 index 3e2c9de..0000000 --- a/sources/wordpress/wp-admin/includes/meta-boxes.php +++ /dev/null @@ -1,1119 +0,0 @@ -post_type; - $post_type_object = get_post_type_object($post_type); - $can_publish = current_user_can($post_type_object->cap->publish_posts); -?> -
- -
- - -
- -
- -
-
-post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?> -post_status ) { ?>style="display:none" type="submit" name="save" id="save-post" value="" class="button" /> -post_status && $can_publish ) { ?> - - - -
-public ) : ?> -
-post_status ) { - $preview_link = esc_url( get_permalink( $post->ID ) ); - $preview_button = __( 'Preview Changes' ); -} else { - $preview_link = set_url_scheme( get_permalink( $post->ID ) ); - - /** - * Filter the URI of a post preview in the post submit box. - * - * @since 2.0.5 - * @since 4.0.0 $post parameter was added. - * - * @param string $preview_link URI the user will be directed to for a post preview. - * @param WP_Post $post Post object. - */ - $preview_link = esc_url( apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', $preview_link ), $post ) ); - $preview_button = __( 'Preview' ); -} -?> - - -
- -
-
- -
- -
- -post_status ) { - case 'private': - _e('Privately Published'); - break; - case 'publish': - _e('Published'); - break; - case 'future': - _e('Scheduled'); - break; - case 'pending': - _e('Pending Review'); - break; - case 'draft': - case 'auto-draft': - _e('Draft'); - break; -} -?> - -post_status || 'private' == $post->post_status || $can_publish ) { ?> -post_status ) { ?>style="display:none;" class="edit-post-status hide-if-no-js"> - -
- - - - -
- - -
- -
- post_status ) { - $post->post_password = ''; - $visibility = 'private'; - $visibility_trans = __('Private'); -} elseif ( !empty( $post->post_password ) ) { - $visibility = 'password'; - $visibility_trans = __('Password protected'); -} elseif ( $post_type == 'post' && is_sticky( $post->ID ) ) { - $visibility = 'public'; - $visibility_trans = __('Public, Sticky'); -} else { - $visibility = 'public'; - $visibility_trans = __('Public'); -} - -echo esc_html( $visibility_trans ); ?> - - - -
- - -ID)); ?> /> - - - />
- -ID ) ); ?> />
- - />
-
- />
- -

- - -

-
- - -
- -ID ) { - if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date - $stamp = __('Scheduled for: %1$s'); - } else if ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published - $stamp = __('Published on: %1$s'); - } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified - $stamp = __('Publish immediately'); - } else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified - $stamp = __('Schedule for: %1$s'); - } else { // draft, 1 or more saves, date specified - $stamp = __('Publish on: %1$s'); - } - $date = date_i18n( $datef, strtotime( $post->post_date ) ); -} else { // draft (no saves, and thus no date specified) - $stamp = __('Publish immediately'); - $date = date_i18n( $datef, strtotime( current_time('mysql') ) ); -} - -if ( ! empty( $args['args']['revisions_count'] ) ) : - $revisions_to_keep = wp_revisions_to_keep( $post ); -?> -
- 0 && $revisions_to_keep <= $args['args']['revisions_count'] ) { - echo ''; - printf( __( 'Revisions: %s' ), '' . number_format_i18n( $args['args']['revisions_count'] ) . '+' ); - echo ''; - } else { - printf( __( 'Revisions: %s' ), '' . number_format_i18n( $args['args']['revisions_count'] ) . '' ); - } -?> - -
- -
- - - -
-
- - - -
-
-
- -
- -
-ID ) ) { - if ( !EMPTY_TRASH_DAYS ) - $delete_text = __('Delete Permanently'); - else - $delete_text = __('Move to Trash'); - ?> - -
- -
- -post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) { - if ( $can_publish ) : - if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?> - - 'p' ) ); ?> - - - 'p' ) ); ?> - - - 'p' ) ); ?> - - - - -
-
-
-
- - -
- -
- - -
- -
- - -
- %1$s'); - $date = date_i18n( $datef, strtotime( $post->post_date ) ); - ?> -
- -
- - -
-
-
- -
-
- ID ) ) - if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) { - echo "" . __( 'Trash' ) . ""; - } else { - $delete_ays = ! MEDIA_TRASH ? " onclick='return showNotice.warn();'" : ''; - echo "" . __( 'Delete Permanently' ) . ""; - } - ?> -
- -
- - - -
-
-
- -
- -post_type, 'post-formats' ) ) : - $post_formats = get_theme_support( 'post-formats' ); - - if ( is_array( $post_formats[0] ) ) : - $post_format = get_post_format( $post->ID ); - if ( !$post_format ) - $post_format = '0'; - // Add in the current one if it isn't there yet, in case the current theme doesn't support it - if ( $post_format && !in_array( $post_format, $post_formats[0] ) ) - $post_formats[0][] = $post_format; - ?> -
- /> - -
/> -
-
- 'post_tag' ); - if ( ! isset( $box['args'] ) || ! is_array( $box['args'] ) ) { - $args = array(); - } else { - $args = $box['args']; - } - $r = wp_parse_args( $args, $defaults ); - $tax_name = esc_attr( $r['taxonomy'] ); - $taxonomy = get_taxonomy( $r['taxonomy'] ); - $user_can_assign_terms = current_user_can( $taxonomy->cap->assign_terms ); - $comma = _x( ',', 'tag delimiter' ); -?> -
-
-
-

labels->add_or_remove_items; ?>

-
- -
- -
labels->add_new_item; ?>
-

-

-
-

labels->separate_items_with_commas; ?>

- -
-
-
- -

labels->choose_from_most_used; ?>

- - 'category' ); - if ( ! isset( $box['args'] ) || ! is_array( $box['args'] ) ) { - $args = array(); - } else { - $args = $box['args']; - } - $r = wp_parse_args( $args, $defaults ); - $tax_name = esc_attr( $r['taxonomy'] ); - $taxonomy = get_taxonomy( $r['taxonomy'] ); - ?> -
- - - - -
- "; // Allows for an empty term set to be sent. 0 is an invalid Term ID and will be ignored by empty() checks. - ?> -
    - ID, array( 'taxonomy' => $tax_name, 'popular_cats' => $popular_ids ) ); ?> -
-
- cap->edit_terms ) ) : ?> -
-

- - labels->add_new_item ); - ?> - -

-

- - - - $tax_name, 'hide_empty' => 0, 'name' => 'new' . $tax_name . '_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $taxonomy->labels->parent_item . ' —' ) ); ?> - - - -

-
- -
- - -

Learn more about manual excerpts.'); ?>

-to_ping) ) .'" />'; - if ('' != $post->pinged) { - $pings = '

'. __('Already pinged:') . '

    '; - $already_pinged = explode("\n", trim($post->pinged)); - foreach ($already_pinged as $pinged_url) { - $pings .= "\n\t
  • " . esc_html($pinged_url) . "
  • "; - } - $pings .= '
'; - } - -?> -


()

-

pingbacks, no other action necessary.'); ?>

- -
-
-ID); -foreach ( $metadata as $key => $value ) { - if ( is_protected_meta( $metadata[ $key ][ 'meta_key' ], 'post' ) || ! current_user_can( 'edit_post_meta', $post->ID, $metadata[ $key ][ 'meta_key' ] ) ) - unset( $metadata[ $key ] ); -} -list_meta( $metadata ); -meta_form( $post ); ?> -
-

use in your theme.'); ?>

- - -

-
- - -

- -

- $post->ID, 'number' => 1, 'count' => true ) ); - $wp_list_table = _get_list_table('WP_Post_Comments_List_Table'); - $wp_list_table->display( true ); - - if ( 1 > $total ) { - echo '

' . __('No comments yet.') . '

'; - } else { - $hidden = get_hidden_meta_boxes( get_current_screen() ); - if ( ! in_array('commentsdiv', $hidden) ) { - ?> - - -

- - - - - 'authors', - 'name' => 'post_author_override', - 'selected' => empty($post->ID) ? $user_ID : $post->post_author, - 'include_selected' => true - ) ); -} - -/** - * Display list of revisions. - * - * @since 2.6.0 - * - * @param object $post - */ -function post_revisions_meta_box( $post ) { - wp_list_post_revisions( $post ); -} - -// -- Page related Meta Boxes - -/** - * Display page attributes form fields. - * - * @since 2.7.0 - * - * @param object $post - */ -function page_attributes_meta_box($post) { - $post_type_object = get_post_type_object($post->post_type); - if ( $post_type_object->hierarchical ) { - $dropdown_args = array( - 'post_type' => $post->post_type, - 'exclude_tree' => $post->ID, - 'selected' => $post->post_parent, - 'name' => 'parent_id', - 'show_option_none' => __('(no parent)'), - 'sort_column' => 'menu_order, post_title', - 'echo' => 0, - ); - - /** - * Filter the arguments used to generate a Pages drop-down element. - * - * @since 3.3.0 - * - * @see wp_dropdown_pages() - * - * @param array $dropdown_args Array of arguments used to generate the pages drop-down. - * @param WP_Post $post The current WP_Post object. - */ - $dropdown_args = apply_filters( 'page_attributes_dropdown_pages_args', $dropdown_args, $post ); - $pages = wp_dropdown_pages( $dropdown_args ); - if ( ! empty($pages) ) { -?> -

- - -post_type && 0 != count( get_page_templates( $post ) ) ) { - $template = !empty($post->page_template) ? $post->page_template : false; - ?> -

- - -

-

-

post_type ) _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?>

- - - -
-
    -
  • -
  • -
- -
-
    - link_id) ) - wp_link_category_checklist($link->link_id); - else - wp_link_category_checklist(); - ?> -
-
- - - -
-

- -
-
- -
-

-

-

-
-

-link_rel ) ? $link->link_rel : ''; // In PHP 5.3: $link_rel = $link->link_rel ?: ''; - $rels = preg_split('/\s+/', $link_rel); - - if ('' != $value && in_array($value, $rels) ) { - echo ' checked="checked"'; - } - - if ('' == $value) { - if ('family' == $class && strpos($link_rel, 'child') === false && strpos($link_rel, 'parent') === false && strpos($link_rel, 'sibling') === false && strpos($link_rel, 'spouse') === false && strpos($link_rel, 'kin') === false) echo ' checked="checked"'; - if ('friendship' == $class && strpos($link_rel, 'friend') === false && strpos($link_rel, 'acquaintance') === false && strpos($link_rel, 'contact') === false) echo ' checked="checked"'; - if ('geographical' == $class && strpos($link_rel, 'co-resident') === false && strpos($link_rel, 'neighbor') === false) echo ' checked="checked"'; - if ('identity' == $class && in_array('me', $rels) ) echo ' checked="checked"'; - } -} - -/** - * Display xfn form fields. - * - * @since 2.6.0 - * - * @param object $link - */ -function link_xfn_meta_box($link) { -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

XFN.'); ?>

- - - - - - - - - - - - - - - - - - - -ID, '_thumbnail_id', true ); - echo _wp_post_thumbnail_html( $thumbnail_id, $post->ID ); -} - -/** - * Display fields for ID3 data - * - * @since 3.9.0 - * - * @param WP_Post $post - */ -function attachment_id3_data_meta_box( $post ) { - $meta = array(); - if ( ! empty( $post->ID ) ) { - $meta = wp_get_attachment_metadata( $post->ID ); - } - - foreach ( wp_get_attachment_id3_keys( $post, 'edit' ) as $key => $label ) : ?> -

-
- -

- $markerline ) { - if (strpos($markerline, '# BEGIN ' . $marker) !== false) - $state = false; - if ( $state ) { - if ( $n + 1 < count( $markerdata ) ) - fwrite( $f, "{$markerline}\n" ); - else - fwrite( $f, "{$markerline}" ); - } - if (strpos($markerline, '# END ' . $marker) !== false) { - fwrite( $f, "# BEGIN {$marker}\n" ); - if ( is_array( $insertion )) - foreach ( $insertion as $insertline ) - fwrite( $f, "{$insertline}\n" ); - fwrite( $f, "# END {$marker}\n" ); - $state = true; - $foundit = true; - } - } - } - if (!$foundit) { - fwrite( $f, "\n# BEGIN {$marker}\n" ); - foreach ( $insertion as $insertline ) - fwrite( $f, "{$insertline}\n" ); - fwrite( $f, "# END {$marker}\n" ); - } - fclose( $f ); - return true; - } else { - return false; - } -} - -/** - * Updates the htaccess file with the current rules if it is writable. - * - * Always writes to the file if it exists and is writable to ensure that we - * blank out old rules. - * - * @since 1.5.0 - */ -function save_mod_rewrite_rules() { - if ( is_multisite() ) - return; - - global $wp_rewrite; - - $home_path = get_home_path(); - $htaccess_file = $home_path.'.htaccess'; - - /* - * If the file doesn't already exist check for write access to the directory - * and whether we have some rules. Else check for write access to the file. - */ - if ((!file_exists($htaccess_file) && is_writable($home_path) && $wp_rewrite->using_mod_rewrite_permalinks()) || is_writable($htaccess_file)) { - if ( got_mod_rewrite() ) { - $rules = explode( "\n", $wp_rewrite->mod_rewrite_rules() ); - return insert_with_markers( $htaccess_file, 'WordPress', $rules ); - } - } - - return false; -} - -/** - * Updates the IIS web.config file with the current rules if it is writable. - * If the permalinks do not require rewrite rules then the rules are deleted from the web.config file. - * - * @since 2.8.0 - * - * @return bool True if web.config was updated successfully - */ -function iis7_save_url_rewrite_rules(){ - if ( is_multisite() ) - return; - - global $wp_rewrite; - - $home_path = get_home_path(); - $web_config_file = $home_path . 'web.config'; - - // Using win_is_writable() instead of is_writable() because of a bug in Windows PHP - if ( iis7_supports_permalinks() && ( ( ! file_exists($web_config_file) && win_is_writable($home_path) && $wp_rewrite->using_mod_rewrite_permalinks() ) || win_is_writable($web_config_file) ) ) { - $rule = $wp_rewrite->iis7_url_rewrite_rules(false, '', ''); - if ( ! empty($rule) ) { - return iis7_add_rewrite_rule($web_config_file, $rule); - } else { - return iis7_delete_rewrite_rule($web_config_file); - } - } - return false; -} - -/** - * {@internal Missing Short Description}} - * - * @since 1.5.0 - * - * @param unknown_type $file - */ -function update_recently_edited( $file ) { - $oldfiles = (array ) get_option( 'recently_edited' ); - if ( $oldfiles ) { - $oldfiles = array_reverse( $oldfiles ); - $oldfiles[] = $file; - $oldfiles = array_reverse( $oldfiles ); - $oldfiles = array_unique( $oldfiles ); - if ( 5 < count( $oldfiles )) - array_pop( $oldfiles ); - } else { - $oldfiles[] = $file; - } - update_option( 'recently_edited', $oldfiles ); -} - -/** - * If siteurl, home or page_on_front changed, flush rewrite rules. - * - * @since 2.1.0 - * - * @param string $old_value - * @param string $value - */ -function update_home_siteurl( $old_value, $value ) { - if ( defined( "WP_INSTALLING" ) ) - return; - - // If home changed, write rewrite rules to new location. - flush_rewrite_rules(); -} - -add_action( 'update_option_home', 'update_home_siteurl', 10, 2 ); -add_action( 'update_option_siteurl', 'update_home_siteurl', 10, 2 ); -add_action( 'update_option_page_on_front', 'update_home_siteurl', 10, 2 ); - -/** - * Shorten an URL, to be used as link text - * - * @since 1.2.0 - * - * @param string $url - * @return string - */ -function url_shorten( $url ) { - $short_url = str_replace( array( 'http://', 'www.' ), '', $url ); - $short_url = untrailingslashit( $short_url ); - if ( strlen( $short_url ) > 35 ) - $short_url = substr( $short_url, 0, 32 ) . '…'; - return $short_url; -} - -/** - * Resets global variables based on $_GET and $_POST - * - * This function resets global variables based on the names passed - * in the $vars array to the value of $_POST[$var] or $_GET[$var] or '' - * if neither is defined. - * - * @since 2.0.0 - * - * @param array $vars An array of globals to reset. - */ -function wp_reset_vars( $vars ) { - foreach ( $vars as $var ) { - if ( empty( $_POST[ $var ] ) ) { - if ( empty( $_GET[ $var ] ) ) { - $GLOBALS[ $var ] = ''; - } else { - $GLOBALS[ $var ] = $_GET[ $var ]; - } - } else { - $GLOBALS[ $var ] = $_POST[ $var ]; - } - } -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.1.0 - * - * @param unknown_type $message - */ -function show_message($message) { - if ( is_wp_error($message) ){ - if ( $message->get_error_data() && is_string( $message->get_error_data() ) ) - $message = $message->get_error_message() . ': ' . $message->get_error_data(); - else - $message = $message->get_error_message(); - } - echo "

$message

\n"; - wp_ob_end_flush_all(); - flush(); -} - -function wp_doc_link_parse( $content ) { - if ( !is_string( $content ) || empty( $content ) ) - return array(); - - if ( !function_exists('token_get_all') ) - return array(); - - $tokens = token_get_all( $content ); - $count = count( $tokens ); - $functions = array(); - $ignore_functions = array(); - for ( $t = 0; $t < $count - 2; $t++ ) { - if ( ! is_array( $tokens[ $t ] ) ) { - continue; - } - - if ( T_STRING == $tokens[ $t ][0] && ( '(' == $tokens[ $t + 1 ] || '(' == $tokens[ $t + 2 ] ) ) { - // If it's a function or class defined locally, there's not going to be any docs available - if ( ( isset( $tokens[ $t - 2 ][1] ) && in_array( $tokens[ $t - 2 ][1], array( 'function', 'class' ) ) ) || ( isset( $tokens[ $t - 2 ][0] ) && T_OBJECT_OPERATOR == $tokens[ $t - 1 ][0] ) ) { - $ignore_functions[] = $tokens[$t][1]; - } - // Add this to our stack of unique references - $functions[] = $tokens[$t][1]; - } - } - - $functions = array_unique( $functions ); - sort( $functions ); - - /** - * Filter the list of functions and classes to be ignored from the documentation lookup. - * - * @since 2.8.0 - * - * @param array $ignore_functions Functions and classes to be ignored. - */ - $ignore_functions = apply_filters( 'documentation_ignore_functions', $ignore_functions ); - - $ignore_functions = array_unique( $ignore_functions ); - - $out = array(); - foreach ( $functions as $function ) { - if ( in_array( $function, $ignore_functions ) ) - continue; - $out[] = $function; - } - - return $out; -} - -/** - * Saves option for number of rows when listing posts, pages, comments, etc. - * - * @since 2.8.0 - */ -function set_screen_options() { - - if ( isset($_POST['wp_screen_options']) && is_array($_POST['wp_screen_options']) ) { - check_admin_referer( 'screen-options-nonce', 'screenoptionnonce' ); - - if ( !$user = wp_get_current_user() ) - return; - $option = $_POST['wp_screen_options']['option']; - $value = $_POST['wp_screen_options']['value']; - - if ( $option != sanitize_key( $option ) ) - return; - - $map_option = $option; - $type = str_replace('edit_', '', $map_option); - $type = str_replace('_per_page', '', $type); - if ( in_array( $type, get_taxonomies() ) ) - $map_option = 'edit_tags_per_page'; - elseif ( in_array( $type, get_post_types() ) ) - $map_option = 'edit_per_page'; - else - $option = str_replace('-', '_', $option); - - switch ( $map_option ) { - case 'edit_per_page': - case 'users_per_page': - case 'edit_comments_per_page': - case 'upload_per_page': - case 'edit_tags_per_page': - case 'plugins_per_page': - // Network admin - case 'sites_network_per_page': - case 'users_network_per_page': - case 'site_users_network_per_page': - case 'plugins_network_per_page': - case 'themes_network_per_page': - case 'site_themes_network_per_page': - $value = (int) $value; - if ( $value < 1 || $value > 999 ) - return; - break; - default: - - /** - * Filter a screen option value before it is set. - * - * The filter can also be used to modify non-standard [items]_per_page - * settings. See the parent function for a full list of standard options. - * - * Returning false to the filter will skip saving the current option. - * - * @since 2.8.0 - * - * @see set_screen_options() - * - * @param bool|int $value Screen option value. Default false to skip. - * @param string $option The option name. - * @param int $value The number of rows to use. - */ - $value = apply_filters( 'set-screen-option', false, $option, $value ); - - if ( false === $value ) - return; - break; - } - - update_user_meta($user->ID, $option, $value); - wp_safe_redirect( remove_query_arg( array('pagenum', 'apage', 'paged'), wp_get_referer() ) ); - exit; - } -} - -/** - * Check if rewrite rule for WordPress already exists in the IIS 7+ configuration file - * - * @since 2.8.0 - * - * @return bool - * @param string $filename The file path to the configuration file - */ -function iis7_rewrite_rule_exists($filename) { - if ( ! file_exists($filename) ) - return false; - if ( ! class_exists('DOMDocument') ) - return false; - - $doc = new DOMDocument(); - if ( $doc->load($filename) === false ) - return false; - $xpath = new DOMXPath($doc); - $rules = $xpath->query('/configuration/system.webServer/rewrite/rules/rule[starts-with(@name,\'wordpress\')]'); - if ( $rules->length == 0 ) - return false; - else - return true; -} - -/** - * Delete WordPress rewrite rule from web.config file if it exists there - * - * @since 2.8.0 - * - * @param string $filename Name of the configuration file - * @return bool - */ -function iis7_delete_rewrite_rule($filename) { - // If configuration file does not exist then rules also do not exist so there is nothing to delete - if ( ! file_exists($filename) ) - return true; - - if ( ! class_exists('DOMDocument') ) - return false; - - $doc = new DOMDocument(); - $doc->preserveWhiteSpace = false; - - if ( $doc -> load($filename) === false ) - return false; - $xpath = new DOMXPath($doc); - $rules = $xpath->query('/configuration/system.webServer/rewrite/rules/rule[starts-with(@name,\'wordpress\')]'); - if ( $rules->length > 0 ) { - $child = $rules->item(0); - $parent = $child->parentNode; - $parent->removeChild($child); - $doc->formatOutput = true; - saveDomDocument($doc, $filename); - } - return true; -} - -/** - * Add WordPress rewrite rule to the IIS 7+ configuration file. - * - * @since 2.8.0 - * - * @param string $filename The file path to the configuration file - * @param string $rewrite_rule The XML fragment with URL Rewrite rule - * @return bool - */ -function iis7_add_rewrite_rule($filename, $rewrite_rule) { - if ( ! class_exists('DOMDocument') ) - return false; - - // If configuration file does not exist then we create one. - if ( ! file_exists($filename) ) { - $fp = fopen( $filename, 'w'); - fwrite($fp, ''); - fclose($fp); - } - - $doc = new DOMDocument(); - $doc->preserveWhiteSpace = false; - - if ( $doc->load($filename) === false ) - return false; - - $xpath = new DOMXPath($doc); - - // First check if the rule already exists as in that case there is no need to re-add it - $wordpress_rules = $xpath->query('/configuration/system.webServer/rewrite/rules/rule[starts-with(@name,\'wordpress\')]'); - if ( $wordpress_rules->length > 0 ) - return true; - - // Check the XPath to the rewrite rule and create XML nodes if they do not exist - $xmlnodes = $xpath->query('/configuration/system.webServer/rewrite/rules'); - if ( $xmlnodes->length > 0 ) { - $rules_node = $xmlnodes->item(0); - } else { - $rules_node = $doc->createElement('rules'); - - $xmlnodes = $xpath->query('/configuration/system.webServer/rewrite'); - if ( $xmlnodes->length > 0 ) { - $rewrite_node = $xmlnodes->item(0); - $rewrite_node->appendChild($rules_node); - } else { - $rewrite_node = $doc->createElement('rewrite'); - $rewrite_node->appendChild($rules_node); - - $xmlnodes = $xpath->query('/configuration/system.webServer'); - if ( $xmlnodes->length > 0 ) { - $system_webServer_node = $xmlnodes->item(0); - $system_webServer_node->appendChild($rewrite_node); - } else { - $system_webServer_node = $doc->createElement('system.webServer'); - $system_webServer_node->appendChild($rewrite_node); - - $xmlnodes = $xpath->query('/configuration'); - if ( $xmlnodes->length > 0 ) { - $config_node = $xmlnodes->item(0); - $config_node->appendChild($system_webServer_node); - } else { - $config_node = $doc->createElement('configuration'); - $doc->appendChild($config_node); - $config_node->appendChild($system_webServer_node); - } - } - } - } - - $rule_fragment = $doc->createDocumentFragment(); - $rule_fragment->appendXML($rewrite_rule); - $rules_node->appendChild($rule_fragment); - - $doc->encoding = "UTF-8"; - $doc->formatOutput = true; - saveDomDocument($doc, $filename); - - return true; -} - -/** - * Saves the XML document into a file - * - * @since 2.8.0 - * - * @param DOMDocument $doc - * @param string $filename - */ -function saveDomDocument($doc, $filename) { - $config = $doc->saveXML(); - $config = preg_replace("/([^\r])\n/", "$1\r\n", $config); - $fp = fopen($filename, 'w'); - fwrite($fp, $config); - fclose($fp); -} - -/** - * Display the default admin color scheme picker (Used in user-edit.php) - * - * @since 3.0.0 - */ -function admin_color_scheme_picker( $user_id ) { - global $_wp_admin_css_colors; - - ksort( $_wp_admin_css_colors ); - - if ( isset( $_wp_admin_css_colors['fresh'] ) ) { - // Set Default ('fresh') and Light should go first. - $_wp_admin_css_colors = array_filter( array_merge( array( 'fresh' => '', 'light' => '' ), $_wp_admin_css_colors ) ); - } - - $current_color = get_user_option( 'admin_color', $user_id ); - - if ( empty( $current_color ) || ! isset( $_wp_admin_css_colors[ $current_color ] ) ) { - $current_color = 'fresh'; - } - - ?> -
- - $color_info ) : - - ?> -
- /> - - - - - - colors as $html_color ) { - ?> - - - -
 
-
- -
- icon_colors ) ) { - $icon_colors = $_wp_admin_css_colors[ $color_scheme ]->icon_colors; - } elseif ( ! empty( $_wp_admin_css_colors['fresh']->icon_colors ) ) { - $icon_colors = $_wp_admin_css_colors['fresh']->icon_colors; - } else { - // Fall back to the default set of icon colors if the default scheme is missing. - $icon_colors = array( 'base' => '#999', 'focus' => '#2ea2cc', 'current' => '#fff' ); - } - - echo '\n"; -} -add_action( 'admin_head', 'wp_color_scheme_settings' ); - -function _ipad_meta() { - if ( wp_is_mobile() ) { - ?> - - sprintf( __( '%s is currently editing' ), $user->display_name ) ); - - if ( ( $avatar = get_avatar( $user->ID, 18 ) ) && preg_match( "|src='([^']+)'|", $avatar, $matches ) ) - $send['avatar_src'] = $matches[1]; - - $checked[$key] = $send; - } - } - } - - if ( ! empty( $checked ) ) - $response['wp-check-locked-posts'] = $checked; - - return $response; -} -add_filter( 'heartbeat_received', 'wp_check_locked_posts', 10, 3 ); - -/** - * Check lock status on the New/Edit Post screen and refresh the lock - * - * @since 3.6.0 - */ -function wp_refresh_post_lock( $response, $data, $screen_id ) { - if ( array_key_exists( 'wp-refresh-post-lock', $data ) ) { - $received = $data['wp-refresh-post-lock']; - $send = array(); - - if ( ! $post_id = absint( $received['post_id'] ) ) - return $response; - - if ( ! current_user_can('edit_post', $post_id) ) - return $response; - - if ( ( $user_id = wp_check_post_lock( $post_id ) ) && ( $user = get_userdata( $user_id ) ) ) { - $error = array( - 'text' => sprintf( __( '%s has taken over and is currently editing.' ), $user->display_name ) - ); - - if ( $avatar = get_avatar( $user->ID, 64 ) ) { - if ( preg_match( "|src='([^']+)'|", $avatar, $matches ) ) - $error['avatar_src'] = $matches[1]; - } - - $send['lock_error'] = $error; - } else { - if ( $new_lock = wp_set_post_lock( $post_id ) ) - $send['new_lock'] = implode( ':', $new_lock ); - } - - $response['wp-refresh-post-lock'] = $send; - } - - return $response; -} -add_filter( 'heartbeat_received', 'wp_refresh_post_lock', 10, 3 ); - -/** - * Check nonce expiration on the New/Edit Post screen and refresh if needed - * - * @since 3.6.0 - */ -function wp_refresh_post_nonces( $response, $data, $screen_id ) { - if ( array_key_exists( 'wp-refresh-post-nonces', $data ) ) { - $received = $data['wp-refresh-post-nonces']; - $response['wp-refresh-post-nonces'] = array( 'check' => 1 ); - - if ( ! $post_id = absint( $received['post_id'] ) ) - return $response; - - if ( ! current_user_can( 'edit_post', $post_id ) || empty( $received['post_nonce'] ) ) - return $response; - - if ( 2 === wp_verify_nonce( $received['post_nonce'], 'update-post_' . $post_id ) ) { - $response['wp-refresh-post-nonces'] = array( - 'replace' => array( - 'getpermalinknonce' => wp_create_nonce('getpermalink'), - 'samplepermalinknonce' => wp_create_nonce('samplepermalink'), - 'closedpostboxesnonce' => wp_create_nonce('closedpostboxes'), - '_ajax_linking_nonce' => wp_create_nonce( 'internal-linking' ), - '_wpnonce' => wp_create_nonce( 'update-post_' . $post_id ), - ), - 'heartbeatNonce' => wp_create_nonce( 'heartbeat-nonce' ), - ); - } - } - - return $response; -} -add_filter( 'heartbeat_received', 'wp_refresh_post_nonces', 10, 3 ); - -/** - * Disable suspension of Heartbeat on the Add/Edit Post screens. - * - * @since 3.8.0 - * - * @param array $settings An array of Heartbeat settings. - * @return array Filtered Heartbeat settings. - */ -function wp_heartbeat_set_suspension( $settings ) { - global $pagenow; - - if ( 'post.php' === $pagenow || 'post-new.php' === $pagenow ) { - $settings['suspension'] = 'disable'; - } - - return $settings; -} -add_filter( 'heartbeat_settings', 'wp_heartbeat_set_suspension' ); - -/** - * Autosave with heartbeat - * - * @since 3.9.0 - */ -function heartbeat_autosave( $response, $data ) { - if ( ! empty( $data['wp_autosave'] ) ) { - $saved = wp_autosave( $data['wp_autosave'] ); - - if ( is_wp_error( $saved ) ) { - $response['wp_autosave'] = array( 'success' => false, 'message' => $saved->get_error_message() ); - } elseif ( empty( $saved ) ) { - $response['wp_autosave'] = array( 'success' => false, 'message' => __( 'Error while saving.' ) ); - } else { - /* translators: draft saved date format, see http://php.net/date */ - $draft_saved_date_format = __( 'g:i:s a' ); - /* translators: %s: date and time */ - $response['wp_autosave'] = array( 'success' => true, 'message' => sprintf( __( 'Draft saved at %s.' ), date_i18n( $draft_saved_date_format ) ) ); - } - } - - return $response; -} -// Run later as we have to set DOING_AUTOSAVE for back-compat -add_filter( 'heartbeat_received', 'heartbeat_autosave', 500, 2 ); - -/** - * Disables autocomplete on the 'post' form (Add/Edit Post screens) for WebKit browsers, - * as they disregard the autocomplete setting on the editor textarea. That can break the editor - * when the user navigates to it with the browser's Back button. See #28037 - * - * @since 4.0 - */ -function post_form_autocomplete_off() { - global $is_safari, $is_chrome; - - if ( $is_safari || $is_chrome ) { - echo ' autocomplete="off"'; - } -} - -add_action( 'post_edit_form_tag', 'post_form_autocomplete_off' ); diff --git a/sources/wordpress/wp-admin/includes/ms-deprecated.php b/sources/wordpress/wp-admin/includes/ms-deprecated.php deleted file mode 100644 index 44e2a82..0000000 --- a/sources/wordpress/wp-admin/includes/ms-deprecated.php +++ /dev/null @@ -1,78 +0,0 @@ - ( 1024 * get_site_option( 'fileupload_maxk', 1500 ) ) ) - $file['error'] = sprintf(__('This file is too big. Files must be less than %1$s KB in size.'), get_site_option( 'fileupload_maxk', 1500 ) ); - if ( upload_is_user_over_quota( false ) ) { - $file['error'] = __( 'You have used your space quota. Please delete files before uploading.' ); - } - if ( $file['error'] != '0' && !isset($_POST['html-upload']) ) - wp_die( $file['error'] . ' ' . __( 'Back' ) . '' ); - - return $file; -} -add_filter( 'wp_handle_upload_prefilter', 'check_upload_size' ); - -/** - * Delete a blog - * - * @since 3.0.0 - * - * @param int $blog_id Blog ID - * @param bool $drop True if blog's table should be dropped. Default is false. - * @return void - */ -function wpmu_delete_blog( $blog_id, $drop = false ) { - global $wpdb; - - $switch = false; - if ( get_current_blog_id() != $blog_id ) { - $switch = true; - switch_to_blog( $blog_id ); - } - - $blog = get_blog_details( $blog_id ); - /** - * Fires before a blog is deleted. - * - * @since MU - * - * @param int $blog_id The blog ID. - * @param bool $drop True if blog's table should be dropped. Default is false. - */ - do_action( 'delete_blog', $blog_id, $drop ); - - $users = get_users( array( 'blog_id' => $blog_id, 'fields' => 'ids' ) ); - - // Remove users from this blog. - if ( ! empty( $users ) ) { - foreach ( $users as $user_id ) { - remove_user_from_blog( $user_id, $blog_id ); - } - } - - update_blog_status( $blog_id, 'deleted', 1 ); - - $current_site = get_current_site(); - - // Don't destroy the initial, main, or root blog. - if ( $drop && ( 1 == $blog_id || is_main_site( $blog_id ) || ( $blog->path == $current_site->path && $blog->domain == $current_site->domain ) ) ) - $drop = false; - - if ( $drop ) { - $tables = $wpdb->tables( 'blog' ); - /** - * Filter the tables to drop when the blog is deleted. - * - * @since MU - * - * @param array $tables The blog tables to be dropped. - * @param int $blog_id The ID of the blog to drop tables for. - */ - $drop_tables = apply_filters( 'wpmu_drop_tables', $tables, $blog_id ); - - foreach ( (array) $drop_tables as $table ) { - $wpdb->query( "DROP TABLE IF EXISTS `$table`" ); - } - - $wpdb->delete( $wpdb->blogs, array( 'blog_id' => $blog_id ) ); - - $uploads = wp_upload_dir(); - /** - * Filter the upload base directory to delete when the blog is deleted. - * - * @since MU - * - * @param string $uploads['basedir'] Uploads path without subdirectory. @see wp_upload_dir() - * @param int $blog_id The blog ID. - */ - $dir = apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $blog_id ); - $dir = rtrim( $dir, DIRECTORY_SEPARATOR ); - $top_dir = $dir; - $stack = array($dir); - $index = 0; - - while ( $index < count( $stack ) ) { - # Get indexed directory from stack - $dir = $stack[$index]; - - $dh = @opendir( $dir ); - if ( $dh ) { - while ( ( $file = @readdir( $dh ) ) !== false ) { - if ( $file == '.' || $file == '..' ) - continue; - - if ( @is_dir( $dir . DIRECTORY_SEPARATOR . $file ) ) - $stack[] = $dir . DIRECTORY_SEPARATOR . $file; - else if ( @is_file( $dir . DIRECTORY_SEPARATOR . $file ) ) - @unlink( $dir . DIRECTORY_SEPARATOR . $file ); - } - @closedir( $dh ); - } - $index++; - } - - $stack = array_reverse( $stack ); // Last added dirs are deepest - foreach( (array) $stack as $dir ) { - if ( $dir != $top_dir) - @rmdir( $dir ); - } - - clean_blog_cache( $blog ); - } - - if ( $switch ) - restore_current_blog(); -} - -// @todo Merge with wp_delete_user() ? -function wpmu_delete_user( $id ) { - global $wpdb; - - $id = (int) $id; - $user = new WP_User( $id ); - - if ( !$user->exists() ) - return false; - /** - * Fires before a user is deleted from the network. - * - * @since MU - * - * @param int $id ID of the user about to be deleted from the network. - */ - do_action( 'wpmu_delete_user', $id ); - - $blogs = get_blogs_of_user( $id ); - - if ( ! empty( $blogs ) ) { - foreach ( $blogs as $blog ) { - switch_to_blog( $blog->userblog_id ); - remove_user_from_blog( $id, $blog->userblog_id ); - - $post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_author = %d", $id ) ); - foreach ( (array) $post_ids as $post_id ) { - wp_delete_post( $post_id ); - } - - // Clean links - $link_ids = $wpdb->get_col( $wpdb->prepare( "SELECT link_id FROM $wpdb->links WHERE link_owner = %d", $id ) ); - - if ( $link_ids ) { - foreach ( $link_ids as $link_id ) - wp_delete_link( $link_id ); - } - - restore_current_blog(); - } - } - - $meta = $wpdb->get_col( $wpdb->prepare( "SELECT umeta_id FROM $wpdb->usermeta WHERE user_id = %d", $id ) ); - foreach ( $meta as $mid ) - delete_metadata_by_mid( 'user', $mid ); - - $wpdb->delete( $wpdb->users, array( 'ID' => $id ) ); - - clean_user_cache( $user ); - - /** This action is documented in wp-admin/includes/user.php */ - do_action( 'deleted_user', $id ); - - return true; -} - -function update_option_new_admin_email( $old_value, $value ) { - if ( $value == get_option( 'admin_email' ) || !is_email( $value ) ) - return; - - $hash = md5( $value. time() .mt_rand() ); - $new_admin_email = array( - 'hash' => $hash, - 'newemail' => $value - ); - update_option( 'adminhash', $new_admin_email ); - - $email_text = __( 'Dear user, - -You recently requested to have the administration email address on -your site changed. -If this is correct, please click on the following link to change it: -###ADMIN_URL### - -You can safely ignore and delete this email if you do not want to -take this action. - -This email has been sent to ###EMAIL### - -Regards, -All at ###SITENAME### -###SITEURL###' ); - - /** - * Filter the email text sent when the site admin email is changed. - * - * The following strings have a special meaning and will get replaced dynamically: - * ###ADMIN_URL### The link to click on to confirm the email change. Required otherwise this functunalty is will break. - * ###EMAIL### The new email. - * ###SITENAME### The name of the site. - * ###SITEURL### The URL to the site. - * - * @since MU - * - * @param string $email_text Text in the email. - * @param string $new_admin_email New admin email that the current administration email was changed to. - */ - $content = apply_filters( 'new_admin_email_content', $email_text, $new_admin_email ); - - $content = str_replace( '###ADMIN_URL###', esc_url( admin_url( 'options.php?adminhash='.$hash ) ), $content ); - $content = str_replace( '###EMAIL###', $value, $content ); - $content = str_replace( '###SITENAME###', get_site_option( 'site_name' ), $content ); - $content = str_replace( '###SITEURL###', network_home_url(), $content ); - - wp_mail( $value, sprintf( __( '[%s] New Admin Email Address' ), wp_specialchars_decode( get_option( 'blogname' ) ) ), $content ); -} -add_action( 'update_option_new_admin_email', 'update_option_new_admin_email', 10, 2 ); -add_action( 'add_option_new_admin_email', 'update_option_new_admin_email', 10, 2 ); - -function send_confirmation_on_profile_email() { - global $errors, $wpdb; - $current_user = wp_get_current_user(); - if ( ! is_object($errors) ) - $errors = new WP_Error(); - - if ( $current_user->ID != $_POST['user_id'] ) - return false; - - if ( $current_user->user_email != $_POST['email'] ) { - if ( !is_email( $_POST['email'] ) ) { - $errors->add( 'user_email', __( "ERROR: The email address isn’t correct." ), array( 'form-field' => 'email' ) ); - return; - } - - if ( $wpdb->get_var( $wpdb->prepare( "SELECT user_email FROM {$wpdb->users} WHERE user_email=%s", $_POST['email'] ) ) ) { - $errors->add( 'user_email', __( "ERROR: The email address is already used." ), array( 'form-field' => 'email' ) ); - delete_option( $current_user->ID . '_new_email' ); - return; - } - - $hash = md5( $_POST['email'] . time() . mt_rand() ); - $new_user_email = array( - 'hash' => $hash, - 'newemail' => $_POST['email'] - ); - update_option( $current_user->ID . '_new_email', $new_user_email ); - - $email_text = __( 'Dear user, - -You recently requested to have the email address on your account changed. -If this is correct, please click on the following link to change it: -###ADMIN_URL### - -You can safely ignore and delete this email if you do not want to -take this action. - -This email has been sent to ###EMAIL### - -Regards, -All at ###SITENAME### -###SITEURL###' ); - - /** - * Filter the email text sent when a user changes emails. - * - * The following strings have a special meaning and will get replaced dynamically: - * ###ADMIN_URL### The link to click on to confirm the email change. Required otherwise this functunalty is will break. - * ###EMAIL### The new email. - * ###SITENAME### The name of the site. - * ###SITEURL### The URL to the site. - * - * @since MU - * - * @param string $email_text Text in the email. - * @param string $new_user_email New user email that the current user has changed to. - */ - $content = apply_filters( 'new_user_email_content', $email_text, $new_user_email ); - - $content = str_replace( '###ADMIN_URL###', esc_url( admin_url( 'profile.php?newuseremail='.$hash ) ), $content ); - $content = str_replace( '###EMAIL###', $_POST['email'], $content); - $content = str_replace( '###SITENAME###', get_site_option( 'site_name' ), $content ); - $content = str_replace( '###SITEURL###', network_home_url(), $content ); - - wp_mail( $_POST['email'], sprintf( __( '[%s] New Email Address' ), wp_specialchars_decode( get_option( 'blogname' ) ) ), $content ); - $_POST['email'] = $current_user->user_email; - } -} -add_action( 'personal_options_update', 'send_confirmation_on_profile_email' ); - -function new_user_email_admin_notice() { - if ( strpos( $_SERVER['PHP_SELF'], 'profile.php' ) && isset( $_GET['updated'] ) && $email = get_option( get_current_user_id() . '_new_email' ) ) - echo "
" . sprintf( __( "Your email address has not been updated yet. Please check your inbox at %s for a confirmation email." ), $email['newemail'] ) . "
"; -} -add_action( 'admin_notices', 'new_user_email_admin_notice' ); - -/** - * Check whether a blog has used its allotted upload space. - * - * @since MU - * - * @param bool $echo Optional. If $echo is set and the quota is exceeded, a warning message is echoed. Default is true. - * @return int - */ -function upload_is_user_over_quota( $echo = true ) { - if ( get_site_option( 'upload_space_check_disabled' ) ) - return false; - - $space_allowed = get_space_allowed(); - if ( empty( $space_allowed ) || !is_numeric( $space_allowed ) ) - $space_allowed = 10; // Default space allowed is 10 MB - - $space_used = get_space_used(); - - if ( ( $space_allowed - $space_used ) < 0 ) { - if ( $echo ) - _e( 'Sorry, you have used your space allocation. Please delete some files to upload more files.' ); - return true; - } else { - return false; - } -} - -/** - * Displays the amount of disk space used by the current blog. Not used in core. - * - * @since MU - */ -function display_space_usage() { - $space_allowed = get_space_allowed(); - $space_used = get_space_used(); - - $percent_used = ( $space_used / $space_allowed ) * 100; - - if ( $space_allowed > 1000 ) { - $space = number_format( $space_allowed / 1024 ); - /* translators: Gigabytes */ - $space .= __( 'GB' ); - } else { - $space = number_format( $space_allowed ); - /* translators: Megabytes */ - $space .= __( 'MB' ); - } - ?> - - - - - - - update( $wpdb->users, array( sanitize_key( $pref ) => $value ), array( 'ID' => $id ) ); - - $user = new WP_User( $id ); - clean_user_cache( $user ); - - if ( $pref == 'spam' ) { - if ( $value == 1 ) { - /** - * Fires after the user is marked as a SPAM user. - * - * @since 3.0.0 - * - * @param int $id ID of the user marked as SPAM. - */ - do_action( 'make_spam_user', $id ); - } else { - /** - * Fires after the user is marked as a HAM user. Opposite of SPAM. - * - * @since 3.0.0 - * - * @param int $id ID of the user marked as HAM. - */ - do_action( 'make_ham_user', $id ); - } - } - - return $value; -} - -function refresh_user_details( $id ) { - $id = (int) $id; - - if ( !$user = get_userdata( $id ) ) - return false; - - clean_user_cache( $user ); - - return $id; -} - -function format_code_lang( $code = '' ) { - $code = strtolower( substr( $code, 0, 2 ) ); - $lang_codes = array( - 'aa' => 'Afar', 'ab' => 'Abkhazian', 'af' => 'Afrikaans', 'ak' => 'Akan', 'sq' => 'Albanian', 'am' => 'Amharic', 'ar' => 'Arabic', 'an' => 'Aragonese', 'hy' => 'Armenian', 'as' => 'Assamese', 'av' => 'Avaric', 'ae' => 'Avestan', 'ay' => 'Aymara', 'az' => 'Azerbaijani', 'ba' => 'Bashkir', 'bm' => 'Bambara', 'eu' => 'Basque', 'be' => 'Belarusian', 'bn' => 'Bengali', - 'bh' => 'Bihari', 'bi' => 'Bislama', 'bs' => 'Bosnian', 'br' => 'Breton', 'bg' => 'Bulgarian', 'my' => 'Burmese', 'ca' => 'Catalan; Valencian', 'ch' => 'Chamorro', 'ce' => 'Chechen', 'zh' => 'Chinese', 'cu' => 'Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic', 'cv' => 'Chuvash', 'kw' => 'Cornish', 'co' => 'Corsican', 'cr' => 'Cree', - 'cs' => 'Czech', 'da' => 'Danish', 'dv' => 'Divehi; Dhivehi; Maldivian', 'nl' => 'Dutch; Flemish', 'dz' => 'Dzongkha', 'en' => 'English', 'eo' => 'Esperanto', 'et' => 'Estonian', 'ee' => 'Ewe', 'fo' => 'Faroese', 'fj' => 'Fijjian', 'fi' => 'Finnish', 'fr' => 'French', 'fy' => 'Western Frisian', 'ff' => 'Fulah', 'ka' => 'Georgian', 'de' => 'German', 'gd' => 'Gaelic; Scottish Gaelic', - 'ga' => 'Irish', 'gl' => 'Galician', 'gv' => 'Manx', 'el' => 'Greek, Modern', 'gn' => 'Guarani', 'gu' => 'Gujarati', 'ht' => 'Haitian; Haitian Creole', 'ha' => 'Hausa', 'he' => 'Hebrew', 'hz' => 'Herero', 'hi' => 'Hindi', 'ho' => 'Hiri Motu', 'hu' => 'Hungarian', 'ig' => 'Igbo', 'is' => 'Icelandic', 'io' => 'Ido', 'ii' => 'Sichuan Yi', 'iu' => 'Inuktitut', 'ie' => 'Interlingue', - 'ia' => 'Interlingua (International Auxiliary Language Association)', 'id' => 'Indonesian', 'ik' => 'Inupiaq', 'it' => 'Italian', 'jv' => 'Javanese', 'ja' => 'Japanese', 'kl' => 'Kalaallisut; Greenlandic', 'kn' => 'Kannada', 'ks' => 'Kashmiri', 'kr' => 'Kanuri', 'kk' => 'Kazakh', 'km' => 'Central Khmer', 'ki' => 'Kikuyu; Gikuyu', 'rw' => 'Kinyarwanda', 'ky' => 'Kirghiz; Kyrgyz', - 'kv' => 'Komi', 'kg' => 'Kongo', 'ko' => 'Korean', 'kj' => 'Kuanyama; Kwanyama', 'ku' => 'Kurdish', 'lo' => 'Lao', 'la' => 'Latin', 'lv' => 'Latvian', 'li' => 'Limburgan; Limburger; Limburgish', 'ln' => 'Lingala', 'lt' => 'Lithuanian', 'lb' => 'Luxembourgish; Letzeburgesch', 'lu' => 'Luba-Katanga', 'lg' => 'Ganda', 'mk' => 'Macedonian', 'mh' => 'Marshallese', 'ml' => 'Malayalam', - 'mi' => 'Maori', 'mr' => 'Marathi', 'ms' => 'Malay', 'mg' => 'Malagasy', 'mt' => 'Maltese', 'mo' => 'Moldavian', 'mn' => 'Mongolian', 'na' => 'Nauru', 'nv' => 'Navajo; Navaho', 'nr' => 'Ndebele, South; South Ndebele', 'nd' => 'Ndebele, North; North Ndebele', 'ng' => 'Ndonga', 'ne' => 'Nepali', 'nn' => 'Norwegian Nynorsk; Nynorsk, Norwegian', 'nb' => 'Bokmål, Norwegian, Norwegian Bokmål', - 'no' => 'Norwegian', 'ny' => 'Chichewa; Chewa; Nyanja', 'oc' => 'Occitan, Provençal', 'oj' => 'Ojibwa', 'or' => 'Oriya', 'om' => 'Oromo', 'os' => 'Ossetian; Ossetic', 'pa' => 'Panjabi; Punjabi', 'fa' => 'Persian', 'pi' => 'Pali', 'pl' => 'Polish', 'pt' => 'Portuguese', 'ps' => 'Pushto', 'qu' => 'Quechua', 'rm' => 'Romansh', 'ro' => 'Romanian', 'rn' => 'Rundi', 'ru' => 'Russian', - 'sg' => 'Sango', 'sa' => 'Sanskrit', 'sr' => 'Serbian', 'hr' => 'Croatian', 'si' => 'Sinhala; Sinhalese', 'sk' => 'Slovak', 'sl' => 'Slovenian', 'se' => 'Northern Sami', 'sm' => 'Samoan', 'sn' => 'Shona', 'sd' => 'Sindhi', 'so' => 'Somali', 'st' => 'Sotho, Southern', 'es' => 'Spanish; Castilian', 'sc' => 'Sardinian', 'ss' => 'Swati', 'su' => 'Sundanese', 'sw' => 'Swahili', - 'sv' => 'Swedish', 'ty' => 'Tahitian', 'ta' => 'Tamil', 'tt' => 'Tatar', 'te' => 'Telugu', 'tg' => 'Tajik', 'tl' => 'Tagalog', 'th' => 'Thai', 'bo' => 'Tibetan', 'ti' => 'Tigrinya', 'to' => 'Tonga (Tonga Islands)', 'tn' => 'Tswana', 'ts' => 'Tsonga', 'tk' => 'Turkmen', 'tr' => 'Turkish', 'tw' => 'Twi', 'ug' => 'Uighur; Uyghur', 'uk' => 'Ukrainian', 'ur' => 'Urdu', 'uz' => 'Uzbek', - 've' => 'Venda', 'vi' => 'Vietnamese', 'vo' => 'Volapük', 'cy' => 'Welsh','wa' => 'Walloon','wo' => 'Wolof', 'xh' => 'Xhosa', 'yi' => 'Yiddish', 'yo' => 'Yoruba', 'za' => 'Zhuang; Chuang', 'zu' => 'Zulu' ); - - /** - * Filter the language codes. - * - * @since MU - * - * @param array $lang_codes Key/value pair of language codes where key is the short version. - * @param string $code A two-letter designation of the language. - */ - $lang_codes = apply_filters( 'lang_codes', $lang_codes, $code ); - return strtr( $code, $lang_codes ); -} - -function sync_category_tag_slugs( $term, $taxonomy ) { - if ( global_terms_enabled() && ( $taxonomy == 'category' || $taxonomy == 'post_tag' ) ) { - if ( is_object( $term ) ) { - $term->slug = sanitize_title( $term->name ); - } else { - $term['slug'] = sanitize_title( $term['name'] ); - } - } - return $term; -} -add_filter( 'get_term', 'sync_category_tag_slugs', 10, 2 ); - -function _access_denied_splash() { - if ( ! is_user_logged_in() || is_network_admin() ) - return; - - $blogs = get_blogs_of_user( get_current_user_id() ); - - if ( wp_list_filter( $blogs, array( 'userblog_id' => get_current_blog_id() ) ) ) - return; - - $blog_name = get_bloginfo( 'name' ); - - if ( empty( $blogs ) ) - wp_die( sprintf( __( 'You attempted to access the "%1$s" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "%1$s" dashboard, please contact your network administrator.' ), $blog_name ) ); - - $output = '

' . sprintf( __( 'You attempted to access the "%1$s" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "%1$s" dashboard, please contact your network administrator.' ), $blog_name ) . '

'; - $output .= '

' . __( 'If you reached this screen by accident and meant to visit one of your own sites, here are some shortcuts to help you find your way.' ) . '

'; - - $output .= '

' . __('Your Sites') . '

'; - $output .= ''; - - foreach ( $blogs as $blog ) { - $output .= ''; - $output .= ""; - $output .= ''; - $output .= ''; - } - - $output .= '
{$blog->blogname}' . __( 'Visit Dashboard' ) . ' | ' . - '' . __( 'View Site' ) . '
'; - - wp_die( $output ); -} -add_action( 'admin_page_access_denied', '_access_denied_splash', 99 ); - -function check_import_new_users( $permission ) { - if ( !is_super_admin() ) - return false; - return true; -} -add_filter( 'import_allow_create_users', 'check_import_new_users' ); -// See "import_allow_fetch_attachments" and "import_attachment_size_limit" filters too. - -function mu_dropdown_languages( $lang_files = array(), $current = '' ) { - $flag = false; - $output = array(); - - foreach ( (array) $lang_files as $val ) { - $code_lang = basename( $val, '.mo' ); - - if ( $code_lang == 'en_US' ) { // American English - $flag = true; - $ae = __( 'American English' ); - $output[$ae] = ''; - } elseif ( $code_lang == 'en_GB' ) { // British English - $flag = true; - $be = __( 'British English' ); - $output[$be] = ''; - } else { - $translated = format_code_lang( $code_lang ); - $output[$translated] = ''; - } - - } - - if ( $flag === false ) // WordPress english - $output[] = '"; - - // Order by name - uksort( $output, 'strnatcasecmp' ); - /** - * Filter the languages available in the dropdown. - * - * @since MU - * - * @param array $output HTML output of the dropdown. - * @param array $lang_files Available language files. - * @param string $current The current language code. - */ - $output = apply_filters( 'mu_dropdown_languages', $output, $lang_files, $current ); - echo implode( "\n\t", $output ); -} - -function site_admin_notice() { - global $wp_db_version; - if ( !is_super_admin() ) - return false; - if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) - echo "
" . sprintf( __( 'Thank you for Updating! Please visit the Upgrade Network page to update all your sites.' ), esc_url( network_admin_url( 'upgrade.php' ) ) ) . "
"; -} -add_action( 'admin_notices', 'site_admin_notice' ); -add_action( 'network_admin_notices', 'site_admin_notice' ); - -function avoid_blog_page_permalink_collision( $data, $postarr ) { - if ( is_subdomain_install() ) - return $data; - if ( $data['post_type'] != 'page' ) - return $data; - if ( !isset( $data['post_name'] ) || $data['post_name'] == '' ) - return $data; - if ( !is_main_site() ) - return $data; - - $post_name = $data['post_name']; - $c = 0; - while( $c < 10 && get_id_from_blogname( $post_name ) ) { - $post_name .= mt_rand( 1, 10 ); - $c ++; - } - if ( $post_name != $data['post_name'] ) { - $data['post_name'] = $post_name; - } - return $data; -} -add_filter( 'wp_insert_post_data', 'avoid_blog_page_permalink_collision', 10, 2 ); - -function choose_primary_blog() { - ?> - - - - - - - - - - - -
- 1 ) { - $found = false; - ?> - - userblog_id ); - } - } elseif ( count( $all_blogs ) == 1 ) { - $blog = array_shift( $all_blogs ); - echo $blog->domain; - if ( $primary_blog != $blog->userblog_id ) // Set the primary blog again if it's out of sync with blog list. - update_user_meta( get_current_user_id(), 'primary_blog', $blog->userblog_id ); - } else { - echo "N/A"; - } - ?> -
- - -
- user_login, $super_admins ) ) { - $super_admins[] = $user->user_login; - update_site_option( 'site_admins' , $super_admins ); - - /** - * Fires after the user is granted Super Admin privileges. - * - * @since 3.0.0 - * - * @param int $user_id ID of the user that was granted Super Admin privileges. - */ - do_action( 'granted_super_admin', $user_id ); - return true; - } - return false; -} - -/** - * Revokes Super Admin privileges. - * - * @since 3.0.0 - * @param int $user_id ID of the user Super Admin privileges to be revoked from. - * @return bool True on success, false on failure. This can fail when the user's email - * is the network admin email or when the $super_admins global is defined. - */ -function revoke_super_admin( $user_id ) { - // If global super_admins override is defined, there is nothing to do here. - if ( isset( $GLOBALS['super_admins'] ) ) { - return false; - } - - /** - * Fires before the user's Super Admin privileges are revoked. - * - * @since 3.0.0 - * - * @param int $user_id ID of the user Super Admin privileges are being revoked from. - */ - do_action( 'revoke_super_admin', $user_id ); - - // Directly fetch site_admins instead of using get_super_admins() - $super_admins = get_site_option( 'site_admins', array( 'admin' ) ); - - $user = get_userdata( $user_id ); - if ( $user && 0 !== strcasecmp( $user->user_email, get_site_option( 'admin_email' ) ) ) { - if ( false !== ( $key = array_search( $user->user_login, $super_admins ) ) ) { - unset( $super_admins[$key] ); - update_site_option( 'site_admins', $super_admins ); - - /** - * Fires after the user's Super Admin privileges are revoked. - * - * @since 3.0.0 - * - * @param int $user_id ID of the user Super Admin privileges were revoked from. - */ - do_action( 'revoked_super_admin', $user_id ); - return true; - } - } - return false; -} - -/** - * Whether or not we can edit this network from this page - * - * By default editing of network is restricted to the Network Admin for that site_id this allows for this to be overridden - * - * @since 3.1.0 - * @param integer $site_id The network/site ID to check. - */ -function can_edit_network( $site_id ) { - global $wpdb; - - if ( $site_id == $wpdb->siteid ) - $result = true; - else - $result = false; - - /** - * Filter whether this network can be edited from this page. - * - * @since 3.1.0 - * - * @param bool $result Whether the network can be edited from this page. - * @param int $site_id The network/site ID to check. - */ - return apply_filters( 'can_edit_network', $result, $site_id ); -} - -/** - * Thickbox image paths for Network Admin. - * - * @since 3.1.0 - * @access private - */ -function _thickbox_path_admin_subfolder() { -?> - - $_wp_nav_menu_max_depth ? $depth : $_wp_nav_menu_max_depth; - - ob_start(); - $item_id = esc_attr( $item->ID ); - $removed_args = array( - 'action', - 'customlink-tab', - 'edit-menu-item', - 'menu-item', - 'page-tab', - '_wpnonce', - ); - - $original_title = ''; - if ( 'taxonomy' == $item->type ) { - $original_title = get_term_field( 'name', $item->object_id, $item->object, 'raw' ); - if ( is_wp_error( $original_title ) ) - $original_title = false; - } elseif ( 'post_type' == $item->type ) { - $original_object = get_post( $item->object_id ); - $original_title = get_the_title( $original_object->ID ); - } - - $classes = array( - 'menu-item menu-item-depth-' . $depth, - 'menu-item-' . esc_attr( $item->object ), - 'menu-item-edit-' . ( ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? 'active' : 'inactive'), - ); - - $title = $item->title; - - if ( ! empty( $item->_invalid ) ) { - $classes[] = 'menu-item-invalid'; - /* translators: %s: title of menu item which is invalid */ - $title = sprintf( __( '%s (Invalid)' ), $item->title ); - } elseif ( isset( $item->post_status ) && 'draft' == $item->post_status ) { - $classes[] = 'pending'; - /* translators: %s: title of menu item in draft status */ - $title = sprintf( __('%s (Pending)'), $item->title ); - } - - $title = ( ! isset( $item->label ) || '' == $item->label ) ? $title : $item->label; - - $submenu_text = ''; - if ( 0 == $depth ) - $submenu_text = 'style="display: none;"'; - - ?> -
  • '; - $output .= ''; - - // Menu item hidden fields - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - } - -} // Walker_Nav_Menu_Checklist - -/** - * Prints the appropriate response to a menu quick search. - * - * @since 3.0.0 - * - * @param array $request The unsanitized request values. - */ -function _wp_ajax_menu_quick_search( $request = array() ) { - $args = array(); - $type = isset( $request['type'] ) ? $request['type'] : ''; - $object_type = isset( $request['object_type'] ) ? $request['object_type'] : ''; - $query = isset( $request['q'] ) ? $request['q'] : ''; - $response_format = isset( $request['response-format'] ) && in_array( $request['response-format'], array( 'json', 'markup' ) ) ? $request['response-format'] : 'json'; - - if ( 'markup' == $response_format ) { - $args['walker'] = new Walker_Nav_Menu_Checklist; - } - - if ( 'get-post-item' == $type ) { - if ( post_type_exists( $object_type ) ) { - if ( isset( $request['ID'] ) ) { - $object_id = (int) $request['ID']; - if ( 'markup' == $response_format ) { - echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( get_post( $object_id ) ) ), 0, (object) $args ); - } elseif ( 'json' == $response_format ) { - echo json_encode( - array( - 'ID' => $object_id, - 'post_title' => get_the_title( $object_id ), - 'post_type' => get_post_type( $object_id ), - ) - ); - echo "\n"; - } - } - } elseif ( taxonomy_exists( $object_type ) ) { - if ( isset( $request['ID'] ) ) { - $object_id = (int) $request['ID']; - if ( 'markup' == $response_format ) { - echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( get_term( $object_id, $object_type ) ) ), 0, (object) $args ); - } elseif ( 'json' == $response_format ) { - $post_obj = get_term( $object_id, $object_type ); - echo json_encode( - array( - 'ID' => $object_id, - 'post_title' => $post_obj->name, - 'post_type' => $object_type, - ) - ); - echo "\n"; - } - } - - } - - } elseif ( preg_match('/quick-search-(posttype|taxonomy)-([a-zA-Z_-]*\b)/', $type, $matches) ) { - if ( 'posttype' == $matches[1] && get_post_type_object( $matches[2] ) ) { - query_posts(array( - 'posts_per_page' => 10, - 'post_type' => $matches[2], - 's' => $query, - )); - if ( ! have_posts() ) - return; - while ( have_posts() ) { - the_post(); - if ( 'markup' == $response_format ) { - $var_by_ref = get_the_ID(); - echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( get_post( $var_by_ref ) ) ), 0, (object) $args ); - } elseif ( 'json' == $response_format ) { - echo json_encode( - array( - 'ID' => get_the_ID(), - 'post_title' => get_the_title(), - 'post_type' => get_post_type(), - ) - ); - echo "\n"; - } - } - } elseif ( 'taxonomy' == $matches[1] ) { - $terms = get_terms( $matches[2], array( - 'name__like' => $query, - 'number' => 10, - )); - if ( empty( $terms ) || is_wp_error( $terms ) ) - return; - foreach( (array) $terms as $term ) { - if ( 'markup' == $response_format ) { - echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( $term ) ), 0, (object) $args ); - } elseif ( 'json' == $response_format ) { - echo json_encode( - array( - 'ID' => $term->term_id, - 'post_title' => $term->name, - 'post_type' => $matches[2], - ) - ); - echo "\n"; - } - } - } - } -} - -/** - * Register nav menu metaboxes and advanced menu items - * - * @since 3.0.0 - **/ -function wp_nav_menu_setup() { - // Register meta boxes - wp_nav_menu_post_type_meta_boxes(); - add_meta_box( 'add-custom-links', __( 'Links' ), 'wp_nav_menu_item_link_meta_box', 'nav-menus', 'side', 'default' ); - wp_nav_menu_taxonomy_meta_boxes(); - - // Register advanced menu items (columns) - add_filter( 'manage_nav-menus_columns', 'wp_nav_menu_manage_columns' ); - - // If first time editing, disable advanced items by default. - if( false === get_user_option( 'managenav-menuscolumnshidden' ) ) { - $user = wp_get_current_user(); - update_user_option($user->ID, 'managenav-menuscolumnshidden', - array( 0 => 'link-target', 1 => 'css-classes', 2 => 'xfn', 3 => 'description', ), - true); - } -} - -/** - * Limit the amount of meta boxes to just links, pages and cats for first time users. - * - * @since 3.0.0 - **/ -function wp_initial_nav_menu_meta_boxes() { - global $wp_meta_boxes; - - if ( get_user_option( 'metaboxhidden_nav-menus' ) !== false || ! is_array($wp_meta_boxes) ) - return; - - $initial_meta_boxes = array( 'nav-menu-theme-locations', 'add-page', 'add-custom-links', 'add-category' ); - $hidden_meta_boxes = array(); - - foreach ( array_keys($wp_meta_boxes['nav-menus']) as $context ) { - foreach ( array_keys($wp_meta_boxes['nav-menus'][$context]) as $priority ) { - foreach ( $wp_meta_boxes['nav-menus'][$context][$priority] as $box ) { - if ( in_array( $box['id'], $initial_meta_boxes ) ) { - unset( $box['id'] ); - } else { - $hidden_meta_boxes[] = $box['id']; - } - } - } - } - - $user = wp_get_current_user(); - update_user_option( $user->ID, 'metaboxhidden_nav-menus', $hidden_meta_boxes, true ); -} - -/** - * Creates metaboxes for any post type menu item. - * - * @since 3.0.0 - */ -function wp_nav_menu_post_type_meta_boxes() { - $post_types = get_post_types( array( 'show_in_nav_menus' => true ), 'object' ); - - if ( ! $post_types ) - return; - - foreach ( $post_types as $post_type ) { - /** - * Filter whether a menu items meta box will be added for the current - * object type. - * - * If a falsey value is returned instead of an object, the menu items - * meta box for the current meta box object will not be added. - * - * @since 3.0.0 - * - * @param object $meta_box_object The current object to add a menu items - * meta box for. - */ - $post_type = apply_filters( 'nav_menu_meta_box_object', $post_type ); - if ( $post_type ) { - $id = $post_type->name; - // Give pages a higher priority. - $priority = ( 'page' == $post_type->name ? 'core' : 'default' ); - add_meta_box( "add-{$id}", $post_type->labels->name, 'wp_nav_menu_item_post_type_meta_box', 'nav-menus', 'side', $priority, $post_type ); - } - } -} - -/** - * Creates metaboxes for any taxonomy menu item. - * - * @since 3.0.0 - */ -function wp_nav_menu_taxonomy_meta_boxes() { - $taxonomies = get_taxonomies( array( 'show_in_nav_menus' => true ), 'object' ); - - if ( !$taxonomies ) - return; - - foreach ( $taxonomies as $tax ) { - /** This filter is documented in wp-admin/includes/nav-menu.php */ - $tax = apply_filters( 'nav_menu_meta_box_object', $tax ); - if ( $tax ) { - $id = $tax->name; - add_meta_box( "add-{$id}", $tax->labels->name, 'wp_nav_menu_item_taxonomy_meta_box', 'nav-menus', 'side', 'default', $tax ); - } - } -} - -/** - * Check whether to disable the Menu Locations meta box submit button - * - * @since 3.6.0 - * - * @uses global $one_theme_location_no_menus to determine if no menus exist - * @uses disabled() to output the disabled attribute in $other_attributes param in submit_button() - * - * @param int|string $nav_menu_selected_id (id, name or slug) of the currently-selected menu - * @return string Disabled attribute if at least one menu exists, false if not -*/ -function wp_nav_menu_disabled_check( $nav_menu_selected_id ) { - global $one_theme_location_no_menus; - - if ( $one_theme_location_no_menus ) - return false; - - return disabled( $nav_menu_selected_id, 0 ); -} - -/** - * Displays a metabox for the custom links menu item. - * - * @since 3.0.0 - */ -function wp_nav_menu_item_link_meta_box() { - global $_nav_menu_placeholder, $nav_menu_selected_id; - - $_nav_menu_placeholder = 0 > $_nav_menu_placeholder ? $_nav_menu_placeholder - 1 : -1; - - ?> -
    - - - - - -

    - - class="button-secondary submit-add-to-menu right" value="" name="add-custom-menu-item" id="submit-customlinkdiv" /> - - -

    - -
    - name; - - // Paginate browsing for large numbers of post objects. - $per_page = 50; - $pagenum = isset( $_REQUEST[$post_type_name . '-tab'] ) && isset( $_REQUEST['paged'] ) ? absint( $_REQUEST['paged'] ) : 1; - $offset = 0 < $pagenum ? $per_page * ( $pagenum - 1 ) : 0; - - $args = array( - 'offset' => $offset, - 'order' => 'ASC', - 'orderby' => 'title', - 'posts_per_page' => $per_page, - 'post_type' => $post_type_name, - 'suppress_filters' => true, - 'update_post_term_cache' => false, - 'update_post_meta_cache' => false - ); - - if ( isset( $post_type['args']->_default_query ) ) - $args = array_merge($args, (array) $post_type['args']->_default_query ); - - // @todo transient caching of these results with proper invalidation on updating of a post of this type - $get_posts = new WP_Query; - $posts = $get_posts->query( $args ); - if ( ! $get_posts->post_count ) { - echo '

    ' . __( 'No items.' ) . '

    '; - return; - } - - $num_pages = $get_posts->max_num_pages; - - $page_links = paginate_links( array( - 'base' => add_query_arg( - array( - $post_type_name . '-tab' => 'all', - 'paged' => '%#%', - 'item-type' => 'post_type', - 'item-object' => $post_type_name, - ) - ), - 'format' => '', - 'prev_text' => __('«'), - 'next_text' => __('»'), - 'total' => $num_pages, - 'current' => $pagenum - )); - - $db_fields = false; - if ( is_post_type_hierarchical( $post_type_name ) ) { - $db_fields = array( 'parent' => 'post_parent', 'id' => 'ID' ); - } - - $walker = new Walker_Nav_Menu_Checklist( $db_fields ); - - $current_tab = 'most-recent'; - if ( isset( $_REQUEST[$post_type_name . '-tab'] ) && in_array( $_REQUEST[$post_type_name . '-tab'], array('all', 'search') ) ) { - $current_tab = $_REQUEST[$post_type_name . '-tab']; - } - - if ( ! empty( $_REQUEST['quick-search-posttype-' . $post_type_name] ) ) { - $current_tab = 'search'; - } - - $removed_args = array( - 'action', - 'customlink-tab', - 'edit-menu-item', - 'menu-item', - 'page-tab', - '_wpnonce', - ); - - ?> -
    - - -
    -
      - 'post_date', 'order' => 'DESC', 'posts_per_page' => 15 ) ); - $most_recent = $get_posts->query( $recent_args ); - $args['walker'] = $walker; - echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', $most_recent), 0, (object) $args ); - ?> -
    -
    - - - -
    - - - -
      - front_or_home = true; - array_unshift( $posts, $front_page_obj ); - } else { - $_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval($_nav_menu_placeholder) - 1 : -1; - array_unshift( $posts, (object) array( - 'front_or_home' => true, - 'ID' => 0, - 'object_id' => $_nav_menu_placeholder, - 'post_content' => '', - 'post_excerpt' => '', - 'post_parent' => '', - 'post_title' => _x('Home', 'nav menu home label'), - 'post_type' => 'nav_menu_item', - 'type' => 'custom', - 'url' => home_url('/'), - ) ); - } - } - - /** - * Filter the posts displayed in the 'View All' tab of the current - * post type's menu items meta box. - * - * The dynamic portion of the hook name, $post_type_name, - * refers to the slug of the current post type. - * - * @since 3.2.0 - * - * @see WP_Query::query() - * - * @param array $posts The posts for the current post type. - * @param array $args An array of WP_Query arguments. - * @param object $post_type The current post type object for this menu item meta box. - */ - $posts = apply_filters( "nav_menu_items_{$post_type_name}", $posts, $args, $post_type ); - $checkbox_items = walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', $posts), 0, (object) $args ); - - if ( 'all' == $current_tab && ! empty( $_REQUEST['selectall'] ) ) { - $checkbox_items = preg_replace('/(type=(.)checkbox(\2))/', '$1 checked=$2checked$2', $checkbox_items); - - } - - echo $checkbox_items; - ?> -
    - - - -
    - -

    - - - - - - class="button-secondary submit-add-to-menu right" value="" name="add-post-type-menu-item" id="" /> - - -

    - -
    - name; - - // Paginate browsing for large numbers of objects. - $per_page = 50; - $pagenum = isset( $_REQUEST[$taxonomy_name . '-tab'] ) && isset( $_REQUEST['paged'] ) ? absint( $_REQUEST['paged'] ) : 1; - $offset = 0 < $pagenum ? $per_page * ( $pagenum - 1 ) : 0; - - $args = array( - 'child_of' => 0, - 'exclude' => '', - 'hide_empty' => false, - 'hierarchical' => 1, - 'include' => '', - 'number' => $per_page, - 'offset' => $offset, - 'order' => 'ASC', - 'orderby' => 'name', - 'pad_counts' => false, - ); - - $terms = get_terms( $taxonomy_name, $args ); - - if ( ! $terms || is_wp_error($terms) ) { - echo '

    ' . __( 'No items.' ) . '

    '; - return; - } - - $num_pages = ceil( wp_count_terms( $taxonomy_name , array_merge( $args, array('number' => '', 'offset' => '') ) ) / $per_page ); - - $page_links = paginate_links( array( - 'base' => add_query_arg( - array( - $taxonomy_name . '-tab' => 'all', - 'paged' => '%#%', - 'item-type' => 'taxonomy', - 'item-object' => $taxonomy_name, - ) - ), - 'format' => '', - 'prev_text' => __('«'), - 'next_text' => __('»'), - 'total' => $num_pages, - 'current' => $pagenum - )); - - $db_fields = false; - if ( is_taxonomy_hierarchical( $taxonomy_name ) ) { - $db_fields = array( 'parent' => 'parent', 'id' => 'term_id' ); - } - - $walker = new Walker_Nav_Menu_Checklist( $db_fields ); - - $current_tab = 'most-used'; - if ( isset( $_REQUEST[$taxonomy_name . '-tab'] ) && in_array( $_REQUEST[$taxonomy_name . '-tab'], array('all', 'most-used', 'search') ) ) { - $current_tab = $_REQUEST[$taxonomy_name . '-tab']; - } - - if ( ! empty( $_REQUEST['quick-search-taxonomy-' . $taxonomy_name] ) ) { - $current_tab = 'search'; - } - - $removed_args = array( - 'action', - 'customlink-tab', - 'edit-menu-item', - 'menu-item', - 'page-tab', - '_wpnonce', - ); - - ?> -
    - - -
    -
      - 'count', 'order' => 'DESC', 'number' => 10, 'hierarchical' => false ) ); - $args['walker'] = $walker; - echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', $popular_terms), 0, (object) $args ); - ?> -
    -
    - -
    - - - -
      - -
    - - - -
    - -
    - $searched, 'fields' => 'all', 'orderby' => 'count', 'order' => 'DESC', 'hierarchical' => false ) ); - } else { - $searched = ''; - $search_results = array(); - } - ?> -

    - - - 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?> -

    - -
      - - - -
    • get_error_message(); ?>
    • - -
    • - -
    -
    - -

    - - - - - - class="button-secondary submit-add-to-menu right" value="" name="add-taxonomy-menu-item" id="" /> - - -

    - -
    - $_item_object_data ) { - if ( - // Checkbox is not checked. - empty( $_item_object_data['menu-item-object-id'] ) && - ( - // And item type either isn't set. - ! isset( $_item_object_data['menu-item-type'] ) || - // Or URL is the default. - in_array( $_item_object_data['menu-item-url'], array( 'http://', '' ) ) || - ! ( 'custom' == $_item_object_data['menu-item-type'] && ! isset( $_item_object_data['menu-item-db-id'] ) ) || // or it's not a custom menu item (but not the custom home page) - // Or it *is* a custom menu item that already exists. - ! empty( $_item_object_data['menu-item-db-id'] ) - ) - ) { - // Then this potential menu item is not getting added to this menu. - continue; - } - - // If this possible menu item doesn't actually have a menu database ID yet. - if ( - empty( $_item_object_data['menu-item-db-id'] ) || - ( 0 > $_possible_db_id ) || - $_possible_db_id != $_item_object_data['menu-item-db-id'] - ) { - $_actual_db_id = 0; - } else { - $_actual_db_id = (int) $_item_object_data['menu-item-db-id']; - } - - $args = array( - 'menu-item-db-id' => ( isset( $_item_object_data['menu-item-db-id'] ) ? $_item_object_data['menu-item-db-id'] : '' ), - 'menu-item-object-id' => ( isset( $_item_object_data['menu-item-object-id'] ) ? $_item_object_data['menu-item-object-id'] : '' ), - 'menu-item-object' => ( isset( $_item_object_data['menu-item-object'] ) ? $_item_object_data['menu-item-object'] : '' ), - 'menu-item-parent-id' => ( isset( $_item_object_data['menu-item-parent-id'] ) ? $_item_object_data['menu-item-parent-id'] : '' ), - 'menu-item-position' => ( isset( $_item_object_data['menu-item-position'] ) ? $_item_object_data['menu-item-position'] : '' ), - 'menu-item-type' => ( isset( $_item_object_data['menu-item-type'] ) ? $_item_object_data['menu-item-type'] : '' ), - 'menu-item-title' => ( isset( $_item_object_data['menu-item-title'] ) ? $_item_object_data['menu-item-title'] : '' ), - 'menu-item-url' => ( isset( $_item_object_data['menu-item-url'] ) ? $_item_object_data['menu-item-url'] : '' ), - 'menu-item-description' => ( isset( $_item_object_data['menu-item-description'] ) ? $_item_object_data['menu-item-description'] : '' ), - 'menu-item-attr-title' => ( isset( $_item_object_data['menu-item-attr-title'] ) ? $_item_object_data['menu-item-attr-title'] : '' ), - 'menu-item-target' => ( isset( $_item_object_data['menu-item-target'] ) ? $_item_object_data['menu-item-target'] : '' ), - 'menu-item-classes' => ( isset( $_item_object_data['menu-item-classes'] ) ? $_item_object_data['menu-item-classes'] : '' ), - 'menu-item-xfn' => ( isset( $_item_object_data['menu-item-xfn'] ) ? $_item_object_data['menu-item-xfn'] : '' ), - ); - - $items_saved[] = wp_update_nav_menu_item( $menu_id, $_actual_db_id, $args ); - - } - } - return $items_saved; -} - -/** - * Adds custom arguments to some of the meta box object types. - * - * @since 3.0.0 - * - * @access private - * - * @param object $object The post type or taxonomy meta-object. - * @return object The post type of taxonomy object. - */ -function _wp_nav_menu_meta_box_object( $object = null ) { - if ( isset( $object->name ) ) { - - if ( 'page' == $object->name ) { - $object->_default_query = array( - 'orderby' => 'menu_order title', - 'post_status' => 'publish', - ); - - // Posts should show only published items. - } elseif ( 'post' == $object->name ) { - $object->_default_query = array( - 'post_status' => 'publish', - ); - - // Categories should be in reverse chronological order. - } elseif ( 'category' == $object->name ) { - $object->_default_query = array( - 'orderby' => 'id', - 'order' => 'DESC', - ); - - // Custom post types should show only published items. - } else { - $object->_default_query = array( - 'post_status' => 'publish', - ); - } - } - - return $object; -} - -/** - * Returns the menu formatted to edit. - * - * @since 3.0.0 - * - * @param string $menu_id The ID of the menu to format. - * @return string|WP_Error $output The menu formatted to edit or error object on failure. - */ -function wp_get_nav_menu_to_edit( $menu_id = 0 ) { - $menu = wp_get_nav_menu_object( $menu_id ); - - // If the menu exists, get its items. - if ( is_nav_menu( $menu ) ) { - $menu_items = wp_get_nav_menu_items( $menu->term_id, array('post_status' => 'any') ); - $result = '
    ' : '">'; - $result .= '

    ' . __( 'Add menu items from the column on the left.' ) . '

    '; - $result .= '
    '; - - if( empty($menu_items) ) - return $result . ' '; - - /** - * Filter the Walker class used when adding nav menu items. - * - * @since 3.0.0 - * - * @param string $class The walker class to use. Default 'Walker_Nav_Menu_Edit'. - * @param int $menu_id ID of the menu being rendered. - */ - $walker_class_name = apply_filters( 'wp_edit_nav_menu_walker', 'Walker_Nav_Menu_Edit', $menu_id ); - - if ( class_exists( $walker_class_name ) ) - $walker = new $walker_class_name; - else - return new WP_Error( 'menu_walker_not_exist', sprintf( __('The Walker class named %s does not exist.'), $walker_class_name ) ); - - $some_pending_menu_items = $some_invalid_menu_items = false; - foreach( (array) $menu_items as $menu_item ) { - if ( isset( $menu_item->post_status ) && 'draft' == $menu_item->post_status ) - $some_pending_menu_items = true; - if ( ! empty( $menu_item->_invalid ) ) - $some_invalid_menu_items = true; - } - - if ( $some_pending_menu_items ) - $result .= '

    ' . __('Click Save Menu to make pending menu items public.') . '

    '; - - if ( $some_invalid_menu_items ) - $result .= '

    ' . __('There are some invalid menu items. Please check or delete them.') . '

    '; - - $result .= ' '; - return $result; - } elseif ( is_wp_error( $menu ) ) { - return $menu; - } - -} - -/** - * Returns the columns for the nav menus page. - * - * @since 3.0.0 - * - * @return string|WP_Error $output The menu formatted to edit or error object on failure. - */ -function wp_nav_menu_manage_columns() { - return array( - '_title' => __('Show advanced menu properties'), - 'cb' => '', - 'link-target' => __('Link Target'), - 'css-classes' => __('CSS Classes'), - 'xfn' => __('Link Relationship (XFN)'), - 'description' => __('Description'), - ); -} - -/** - * Deletes orphaned draft menu items - * - * @access private - * @since 3.0.0 - * - */ -function _wp_delete_orphaned_draft_menu_items() { - global $wpdb; - $delete_timestamp = time() - ( DAY_IN_SECONDS * EMPTY_TRASH_DAYS ); - - // Delete orphaned draft menu items. - $menu_items_to_delete = $wpdb->get_col($wpdb->prepare("SELECT ID FROM $wpdb->posts AS p LEFT JOIN $wpdb->postmeta AS m ON p.ID = m.post_id WHERE post_type = 'nav_menu_item' AND post_status = 'draft' AND meta_key = '_menu_item_orphaned' AND meta_value < '%d'", $delete_timestamp ) ); - - foreach( (array) $menu_items_to_delete as $menu_item_id ) - wp_delete_post( $menu_item_id, true ); -} -add_action('admin_head-nav-menus.php', '_wp_delete_orphaned_draft_menu_items'); - -/** - * Saves nav menu items - * - * @since 3.6.0 - * - * @uses wp_get_nav_menu_items() to retrieve the nav menu's menu items - * @uses wp_defer_term_counter() to enable then disable term counting - * - * @param int|string $nav_menu_selected_id (id, slug, or name ) of the currently-selected menu - * @param string $nav_menu_selected_title Title of the currently-selected menu - * @return array $messages The menu updated message - */ -function wp_nav_menu_update_menu_items ( $nav_menu_selected_id, $nav_menu_selected_title ) { - $unsorted_menu_items = wp_get_nav_menu_items( $nav_menu_selected_id, array( 'orderby' => 'ID', 'output' => ARRAY_A, 'output_key' => 'ID', 'post_status' => 'draft,publish' ) ); - - $menu_items = array(); - // Index menu items by db ID - foreach ( $unsorted_menu_items as $_item ) - $menu_items[$_item->db_id] = $_item; - - $post_fields = array( - 'menu-item-db-id', 'menu-item-object-id', 'menu-item-object', - 'menu-item-parent-id', 'menu-item-position', 'menu-item-type', - 'menu-item-title', 'menu-item-url', 'menu-item-description', - 'menu-item-attr-title', 'menu-item-target', 'menu-item-classes', 'menu-item-xfn' - ); - - wp_defer_term_counting( true ); - // Loop through all the menu items' POST variables - if ( ! empty( $_POST['menu-item-db-id'] ) ) { - foreach( (array) $_POST['menu-item-db-id'] as $_key => $k ) { - - // Menu item title can't be blank - if ( ! isset( $_POST['menu-item-title'][ $_key ] ) || '' == $_POST['menu-item-title'][ $_key ] ) - continue; - - $args = array(); - foreach ( $post_fields as $field ) - $args[$field] = isset( $_POST[$field][$_key] ) ? $_POST[$field][$_key] : ''; - - $menu_item_db_id = wp_update_nav_menu_item( $nav_menu_selected_id, ( $_POST['menu-item-db-id'][$_key] != $_key ? 0 : $_key ), $args ); - - if ( is_wp_error( $menu_item_db_id ) ) - $messages[] = '

    ' . $menu_item_db_id->get_error_message() . '

    '; - elseif ( isset( $menu_items[$menu_item_db_id] ) ) - unset( $menu_items[$menu_item_db_id] ); - } - } - - // Remove menu items from the menu that weren't in $_POST - if ( ! empty( $menu_items ) ) { - foreach ( array_keys( $menu_items ) as $menu_item_id ) { - if ( is_nav_menu_item( $menu_item_id ) ) { - wp_delete_post( $menu_item_id ); - } - } - } - - // Store 'auto-add' pages. - $auto_add = ! empty( $_POST['auto-add-pages'] ); - $nav_menu_option = (array) get_option( 'nav_menu_options' ); - if ( ! isset( $nav_menu_option['auto_add'] ) ) - $nav_menu_option['auto_add'] = array(); - if ( $auto_add ) { - if ( ! in_array( $nav_menu_selected_id, $nav_menu_option['auto_add'] ) ) - $nav_menu_option['auto_add'][] = $nav_menu_selected_id; - } else { - if ( false !== ( $key = array_search( $nav_menu_selected_id, $nav_menu_option['auto_add'] ) ) ) - unset( $nav_menu_option['auto_add'][$key] ); - } - // Remove nonexistent/deleted menus - $nav_menu_option['auto_add'] = array_intersect( $nav_menu_option['auto_add'], wp_get_nav_menus( array( 'fields' => 'ids' ) ) ); - update_option( 'nav_menu_options', $nav_menu_option ); - - wp_defer_term_counting( false ); - - /** This action is documented in wp-includes/nav-menu.php */ - do_action( 'wp_update_nav_menu', $nav_menu_selected_id ); - - $messages[] = '

    ' . sprintf( __( '%1$s has been updated.' ), $nav_menu_selected_title ) . '

    '; - unset( $menu_items, $unsorted_menu_items ); - - return $messages; -} diff --git a/sources/wordpress/wp-admin/includes/plugin-install.php b/sources/wordpress/wp-admin/includes/plugin-install.php deleted file mode 100644 index 356fff6..0000000 --- a/sources/wordpress/wp-admin/includes/plugin-install.php +++ /dev/null @@ -1,549 +0,0 @@ -per_page) ) - $args->per_page = 24; - - /** - * Override the Plugin Install API arguments. - * - * Please ensure that an object is returned. - * - * @since 2.7.0 - * - * @param object $args Plugin API arguments. - * @param string $action The type of information being requested from the Plugin Install API. - */ - $args = apply_filters( 'plugins_api_args', $args, $action ); - - /** - * Allows a plugin to override the WordPress.org Plugin Install API entirely. - * - * Please ensure that an object is returned. - * - * @since 2.7.0 - * - * @param bool|object $result The result object. Default false. - * @param string $action The type of information being requested from the Plugin Install API. - * @param object $args Plugin API arguments. - */ - $res = apply_filters( 'plugins_api', false, $action, $args ); - - if ( false === $res ) { - $url = $http_url = 'http://api.wordpress.org/plugins/info/1.0/'; - if ( $ssl = wp_http_supports( array( 'ssl' ) ) ) - $url = set_url_scheme( $url, 'https' ); - - $args = array( - 'timeout' => 15, - 'body' => array( - 'action' => $action, - 'request' => serialize( $args ) - ) - ); - $request = wp_remote_post( $url, $args ); - - if ( $ssl && is_wp_error( $request ) ) { - trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); - $request = wp_remote_post( $http_url, $args ); - } - - if ( is_wp_error($request) ) { - $res = new WP_Error('plugins_api_failed', __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ), $request->get_error_message() ); - } else { - $res = maybe_unserialize( wp_remote_retrieve_body( $request ) ); - if ( ! is_object( $res ) && ! is_array( $res ) ) - $res = new WP_Error('plugins_api_failed', __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ), wp_remote_retrieve_body( $request ) ); - } - } elseif ( !is_wp_error($res) ) { - $res->external = true; - } - - /** - * Filter the Plugin Install API response results. - * - * @since 2.7.0 - * - * @param object|WP_Error $res Response object or WP_Error. - * @param string $action The type of information being requested from the Plugin Install API. - * @param object $args Plugin API arguments. - */ - return apply_filters( 'plugins_api_result', $res, $action, $args ); -} - -/** - * Retrieve popular WordPress plugin tags. - * - * @since 2.7.0 - * - * @param array $args - * @return array - */ -function install_popular_tags( $args = array() ) { - $key = md5(serialize($args)); - if ( false !== ($tags = get_site_transient('poptags_' . $key) ) ) - return $tags; - - $tags = plugins_api('hot_tags', $args); - - if ( is_wp_error($tags) ) - return $tags; - - set_site_transient( 'poptags_' . $key, $tags, 3 * HOUR_IN_SECONDS ); - - return $tags; -} - -function install_dashboard() { - ?> -

    WordPress Plugin Directory or upload a plugin in .zip format via this page.' ), 'https://wordpress.org/plugins/', self_admin_url( 'plugin-install.php?tab=upload' ) ); ?>

    - - - -

    -

    - '; - if ( is_wp_error($api_tags) ) { - echo $api_tags->get_error_message(); - } else { - //Set up the tags in a way which can be interpreted by wp_generate_tag_cloud() - $tags = array(); - foreach ( (array)$api_tags as $tag ) - $tags[ $tag['name'] ] = (object) array( - 'link' => esc_url( self_admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])) ), - 'name' => $tag['name'], - 'id' => sanitize_title_with_dashes($tag['name']), - 'count' => $tag['count'] ); - echo wp_generate_tag_cloud($tags, array( 'single_text' => __('%s plugin'), 'multiple_text' => __('%s plugins') ) ); - } - echo '


    '; -} -add_action( 'install_plugins_featured', 'install_dashboard' ); - -/** - * Display search form for searching plugins. - * - * @since 2.7.0 - */ -function install_search_form( $type_selector = true ) { - $type = isset($_REQUEST['type']) ? wp_unslash( $_REQUEST['type'] ) : 'term'; - $term = isset($_REQUEST['s']) ? wp_unslash( $_REQUEST['s'] ) : ''; - $input_attrs = ''; - $button_type = 'button screen-reader-text'; - - // assume no $type_selector means it's a simplified search form - if ( ! $type_selector ) { - $input_attrs = 'class="wp-filter-search" placeholder="' . esc_attr__( 'Search Plugins' ) . '" '; - } - - ?>
    - - - - - - 'search-submit' ) ); ?> -
    -
    -

    -
    - - - - -
    -
    - -

    -
    - -

    - - - -

    -
    - -
    - display(); ?> -
    - response ) ) { - foreach ( (array)$update_plugins->response as $file => $plugin ) { - if ( $plugin->slug === $api->slug ) { - $status = 'update_available'; - $update_file = $file; - $version = $plugin->new_version; - if ( current_user_can('update_plugins') ) - $url = wp_nonce_url(self_admin_url('update.php?action=upgrade-plugin&plugin=' . $update_file), 'upgrade-plugin_' . $update_file); - break; - } - } - } - - if ( 'install' == $status ) { - if ( is_dir( WP_PLUGIN_DIR . '/' . $api->slug ) ) { - $installed_plugin = get_plugins('/' . $api->slug); - if ( empty($installed_plugin) ) { - if ( current_user_can('install_plugins') ) - $url = wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=' . $api->slug), 'install-plugin_' . $api->slug); - } else { - $key = array_keys( $installed_plugin ); - $key = array_shift( $key ); //Use the first plugin regardless of the name, Could have issues for multiple-plugins in one directory if they share different version numbers - if ( version_compare($api->version, $installed_plugin[ $key ]['Version'], '=') ){ - $status = 'latest_installed'; - } elseif ( version_compare($api->version, $installed_plugin[ $key ]['Version'], '<') ) { - $status = 'newer_installed'; - $version = $installed_plugin[ $key ]['Version']; - } else { - //If the above update check failed, Then that probably means that the update checker has out-of-date information, force a refresh - if ( ! $loop ) { - delete_site_transient('update_plugins'); - wp_update_plugins(); - return install_plugin_install_status($api, true); - } - } - } - } else { - // "install" & no directory with that slug - if ( current_user_can('install_plugins') ) - $url = wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=' . $api->slug), 'install-plugin_' . $api->slug); - } - } - if ( isset($_GET['from']) ) - $url .= '&from=' . urlencode( wp_unslash( $_GET['from'] ) ); - - return compact('status', 'url', 'version'); -} - -/** - * Display plugin information in dialog box form. - * - * @since 2.7.0 - */ -function install_plugin_information() { - global $tab; - - $api = plugins_api( 'plugin_information', array( - 'slug' => wp_unslash( $_REQUEST['plugin'] ), - 'is_ssl' => is_ssl(), - 'fields' => array( 'banners' => true, 'reviews' => true ) - ) ); - - if ( is_wp_error( $api ) ) { - wp_die( $api ); - } - - $plugins_allowedtags = array( - 'a' => array( 'href' => array(), 'title' => array(), 'target' => array() ), - 'abbr' => array( 'title' => array() ), 'acronym' => array( 'title' => array() ), - 'code' => array(), 'pre' => array(), 'em' => array(), 'strong' => array(), - 'div' => array( 'class' => array() ), 'span' => array( 'class' => array() ), - 'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(), - 'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'h6' => array(), - 'img' => array( 'src' => array(), 'class' => array(), 'alt' => array() ) - ); - - $plugins_section_titles = array( - 'description' => _x( 'Description', 'Plugin installer section title' ), - 'installation' => _x( 'Installation', 'Plugin installer section title' ), - 'faq' => _x( 'FAQ', 'Plugin installer section title' ), - 'screenshots' => _x( 'Screenshots', 'Plugin installer section title' ), - 'changelog' => _x( 'Changelog', 'Plugin installer section title' ), - 'reviews' => _x( 'Reviews', 'Plugin installer section title' ), - 'other_notes' => _x( 'Other Notes', 'Plugin installer section title' ) - ); - - // Sanitize HTML - foreach ( (array) $api->sections as $section_name => $content ) { - $api->sections[$section_name] = wp_kses( $content, $plugins_allowedtags ); - } - - foreach ( array( 'version', 'author', 'requires', 'tested', 'homepage', 'downloaded', 'slug' ) as $key ) { - if ( isset( $api->$key ) ) { - $api->$key = wp_kses( $api->$key, $plugins_allowedtags ); - } - } - - $_tab = esc_attr( $tab ); - - $section = isset( $_REQUEST['section'] ) ? wp_unslash( $_REQUEST['section'] ) : 'description'; // Default to the Description tab, Do not translate, API returns English. - if ( empty( $section ) || ! isset( $api->sections[ $section ] ) ) { - $section_titles = array_keys( (array) $api->sections ); - $section = array_shift( $section_titles ); - } - - iframe_header( __( 'Plugin Install' ) ); - - $_with_banner = ''; - - if ( ! empty( $api->banners ) && ( ! empty( $api->banners['low'] ) || ! empty( $api->banners['high'] ) ) ) { - $_with_banner = 'with-banner'; - $low = empty( $api->banners['low'] ) ? $api->banners['high'] : $api->banners['low']; - $high = empty( $api->banners['high'] ) ? $api->banners['low'] : $api->banners['high']; - ?> - - '; - echo "

    {$api->name}

    "; - echo "
    \n"; - - foreach ( (array) $api->sections as $section_name => $content ) { - if ( 'reviews' === $section_name && ( empty( $api->ratings ) || 0 === array_sum( (array) $api->ratings ) ) ) { - continue; - } - - if ( isset( $plugins_section_titles[ $section_name ] ) ) { - $title = $plugins_section_titles[ $section_name ]; - } else { - $title = ucwords( str_replace( '_', ' ', $section_name ) ); - } - - $class = ( $section_name === $section ) ? ' class="current"' : ''; - $href = add_query_arg( array('tab' => $tab, 'section' => $section_name) ); - $href = esc_url( $href ); - $san_section = esc_attr( $section_name ); - echo "\t$title\n"; - } - - echo "
    \n"; - - ?> -
    -
    -
      - version ) ) { ?> -
    • version; ?>
    • - author ) ) { ?> -
    • author, '_blank' ); ?>
    • - last_updated ) ) { ?> -
    • - last_updated ) ) ); ?> -
    • - requires ) ) { ?> -
    • requires ); ?>
    • - tested ) ) { ?> -
    • tested; ?>
    • - downloaded ) ) { ?> -
    • downloaded ), number_format_i18n( $api->downloaded ) ); ?>
    • - slug ) && empty( $api->external ) ) { ?> -
    • - homepage ) ) { ?> -
    • - donate_link ) && empty( $api->contributors ) ) { ?> -
    • - -
    - rating ) ) { ?> -

    - $api->rating, 'type' => 'percent', 'number' => $api->num_ratings ) ); ?> - num_ratings ), number_format_i18n( $api->num_ratings ) ); ?> - ratings ) && array_sum( (array) $api->ratings ) > 0 ) { - foreach( $api->ratings as $key => $ratecount ) { - // Avoid div-by-zero. - $_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0; - ?> - - contributors ) ) { ?> -

    -
      - contributors as $contrib_username => $contrib_profile ) { - if ( empty( $contrib_username ) && empty( $contrib_profile ) ) { - continue; - } - if ( empty( $contrib_username ) ) { - $contrib_username = preg_replace( '/^.+\/(.+)\/?$/', '\1', $contrib_profile ); - } - $contrib_username = sanitize_user( $contrib_username ); - if ( empty( $contrib_profile ) ) { - echo "
    • {$contrib_username}
    • "; - } else { - echo "
    • {$contrib_username}
    • "; - } - } - ?> -
    - donate_link ) ) { ?> - - - -
    -
    - tested ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->tested ) ), $api->tested, '>' ) ) { - echo '

    ' . __('Warning: This plugin has not been tested with your current version of WordPress.') . '

    '; - } else if ( ! empty( $api->requires ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->requires ) ), $api->requires, '<' ) ) { - echo '

    ' . __('Warning: This plugin has not been marked as compatible with your version of WordPress.') . '

    '; - } - - foreach ( (array) $api->sections as $section_name => $content ) { - $content = links_add_base_url( $content, 'https://wordpress.org/plugins/' . $api->slug . '/' ); - $content = links_add_target( $content, '_blank' ); - - $san_section = esc_attr( $section_name ); - - $display = ( $section_name === $section ) ? 'block' : 'none'; - - echo "\t
    \n"; - echo $content; - echo "\t
    \n"; - } - echo "
    \n"; - echo "
    \n"; - echo "\n"; // #plugin-information-scrollable - echo "\n"; - - iframe_footer(); - exit; -} -add_action('install_plugins_pre_plugin-information', 'install_plugin_information'); diff --git a/sources/wordpress/wp-admin/includes/plugin.php b/sources/wordpress/wp-admin/includes/plugin.php deleted file mode 100644 index 209b5c9..0000000 --- a/sources/wordpress/wp-admin/includes/plugin.php +++ /dev/null @@ -1,1878 +0,0 @@ - - * /* - * Plugin Name: Name of Plugin - * Plugin URI: Link to plugin information - * Description: Plugin Description - * Author: Plugin author's name - * Author URI: Link to the author's web site - * Version: Must be set in the plugin for WordPress 2.3+ - * Text Domain: Optional. Unique identifier, should be same as the one used in - * plugin_text_domain() - * Domain Path: Optional. Only useful if the translations are located in a - * folder above the plugin's base path. For example, if .mo files are - * located in the locale folder then Domain Path will be "/locale/" and - * must have the first slash. Defaults to the base folder the plugin is - * located in. - * Network: Optional. Specify "Network: true" to require that a plugin is activated - * across all sites in an installation. This will prevent a plugin from being - * activated on a single site when Multisite is enabled. - * * / # Remove the space to close comment - * - * - * Plugin data returned array contains the following: - * 'Name' - Name of the plugin, must be unique. - * 'Title' - Title of the plugin and the link to the plugin's web site. - * 'Description' - Description of what the plugin does and/or notes - * from the author. - * 'Author' - The author's name - * 'AuthorURI' - The authors web site address. - * 'Version' - The plugin version number. - * 'PluginURI' - Plugin web site address. - * 'TextDomain' - Plugin's text domain for localization. - * 'DomainPath' - Plugin's relative directory path to .mo files. - * 'Network' - Boolean. Whether the plugin can only be activated network wide. - * - * Some users have issues with opening large files and manipulating the contents - * for want is usually the first 1kiB or 2kiB. This function stops pulling in - * the plugin contents when it has all of the required plugin data. - * - * The first 8kiB of the file will be pulled in and if the plugin data is not - * within that first 8kiB, then the plugin author should correct their plugin - * and move the plugin data headers to the top. - * - * The plugin file is assumed to have permissions to allow for scripts to read - * the file. This is not checked however and the file is only opened for - * reading. - * - * @link http://trac.wordpress.org/ticket/5651 Previous Optimizations. - * @link http://trac.wordpress.org/ticket/7372 Further and better Optimizations. - * @since 1.5.0 - * - * @param string $plugin_file Path to the plugin file - * @param bool $markup Optional. If the returned data should have HTML markup applied. Defaults to true. - * @param bool $translate Optional. If the returned data should be translated. Defaults to true. - * @return array See above for description. - */ -function get_plugin_data( $plugin_file, $markup = true, $translate = true ) { - - $default_headers = array( - 'Name' => 'Plugin Name', - 'PluginURI' => 'Plugin URI', - 'Version' => 'Version', - 'Description' => 'Description', - 'Author' => 'Author', - 'AuthorURI' => 'Author URI', - 'TextDomain' => 'Text Domain', - 'DomainPath' => 'Domain Path', - 'Network' => 'Network', - // Site Wide Only is deprecated in favor of Network. - '_sitewide' => 'Site Wide Only', - ); - - $plugin_data = get_file_data( $plugin_file, $default_headers, 'plugin' ); - - // Site Wide Only is the old header for Network - if ( ! $plugin_data['Network'] && $plugin_data['_sitewide'] ) { - _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The %1$s plugin header is deprecated. Use %2$s instead.' ), 'Site Wide Only: true', 'Network: true' ) ); - $plugin_data['Network'] = $plugin_data['_sitewide']; - } - $plugin_data['Network'] = ( 'true' == strtolower( $plugin_data['Network'] ) ); - unset( $plugin_data['_sitewide'] ); - - if ( $markup || $translate ) { - $plugin_data = _get_plugin_data_markup_translate( $plugin_file, $plugin_data, $markup, $translate ); - } else { - $plugin_data['Title'] = $plugin_data['Name']; - $plugin_data['AuthorName'] = $plugin_data['Author']; - } - - return $plugin_data; -} - -/** - * Sanitizes plugin data, optionally adds markup, optionally translates. - * - * @since 2.7.0 - * @access private - * @see get_plugin_data() - */ -function _get_plugin_data_markup_translate( $plugin_file, $plugin_data, $markup = true, $translate = true ) { - - // Sanitize the plugin filename to a WP_PLUGIN_DIR relative path - $plugin_file = plugin_basename( $plugin_file ); - - // Translate fields - if ( $translate ) { - if ( $textdomain = $plugin_data['TextDomain'] ) { - if ( $plugin_data['DomainPath'] ) - load_plugin_textdomain( $textdomain, false, dirname( $plugin_file ) . $plugin_data['DomainPath'] ); - else - load_plugin_textdomain( $textdomain, false, dirname( $plugin_file ) ); - } elseif ( in_array( basename( $plugin_file ), array( 'hello.php', 'akismet.php' ) ) ) { - $textdomain = 'default'; - } - if ( $textdomain ) { - foreach ( array( 'Name', 'PluginURI', 'Description', 'Author', 'AuthorURI', 'Version' ) as $field ) - $plugin_data[ $field ] = translate( $plugin_data[ $field ], $textdomain ); - } - } - - // Sanitize fields - $allowed_tags = $allowed_tags_in_links = array( - 'abbr' => array( 'title' => true ), - 'acronym' => array( 'title' => true ), - 'code' => true, - 'em' => true, - 'strong' => true, - ); - $allowed_tags['a'] = array( 'href' => true, 'title' => true ); - - // Name is marked up inside tags. Don't allow these. - // Author is too, but some plugins have used here (omitting Author URI). - $plugin_data['Name'] = wp_kses( $plugin_data['Name'], $allowed_tags_in_links ); - $plugin_data['Author'] = wp_kses( $plugin_data['Author'], $allowed_tags ); - - $plugin_data['Description'] = wp_kses( $plugin_data['Description'], $allowed_tags ); - $plugin_data['Version'] = wp_kses( $plugin_data['Version'], $allowed_tags ); - - $plugin_data['PluginURI'] = esc_url( $plugin_data['PluginURI'] ); - $plugin_data['AuthorURI'] = esc_url( $plugin_data['AuthorURI'] ); - - $plugin_data['Title'] = $plugin_data['Name']; - $plugin_data['AuthorName'] = $plugin_data['Author']; - - // Apply markup - if ( $markup ) { - if ( $plugin_data['PluginURI'] && $plugin_data['Name'] ) - $plugin_data['Title'] = '' . $plugin_data['Name'] . ''; - - if ( $plugin_data['AuthorURI'] && $plugin_data['Author'] ) - $plugin_data['Author'] = '' . $plugin_data['Author'] . ''; - - $plugin_data['Description'] = wptexturize( $plugin_data['Description'] ); - - if ( $plugin_data['Author'] ) - $plugin_data['Description'] .= ' ' . sprintf( __('By %s.'), $plugin_data['Author'] ) . ''; - } - - return $plugin_data; -} - -/** - * Get a list of a plugin's files. - * - * @since 2.8.0 - * - * @param string $plugin Plugin ID - * @return array List of files relative to the plugin root. - */ -function get_plugin_files($plugin) { - $plugin_file = WP_PLUGIN_DIR . '/' . $plugin; - $dir = dirname($plugin_file); - $plugin_files = array($plugin); - if ( is_dir($dir) && $dir != WP_PLUGIN_DIR ) { - $plugins_dir = @ opendir( $dir ); - if ( $plugins_dir ) { - while (($file = readdir( $plugins_dir ) ) !== false ) { - if ( substr($file, 0, 1) == '.' ) - continue; - if ( is_dir( $dir . '/' . $file ) ) { - $plugins_subdir = @ opendir( $dir . '/' . $file ); - if ( $plugins_subdir ) { - while (($subfile = readdir( $plugins_subdir ) ) !== false ) { - if ( substr($subfile, 0, 1) == '.' ) - continue; - $plugin_files[] = plugin_basename("$dir/$file/$subfile"); - } - @closedir( $plugins_subdir ); - } - } else { - if ( plugin_basename("$dir/$file") != $plugin ) - $plugin_files[] = plugin_basename("$dir/$file"); - } - } - @closedir( $plugins_dir ); - } - } - - return $plugin_files; -} - -/** - * Check the plugins directory and retrieve all plugin files with plugin data. - * - * WordPress only supports plugin files in the base plugins directory - * (wp-content/plugins) and in one directory above the plugins directory - * (wp-content/plugins/my-plugin). The file it looks for has the plugin data and - * must be found in those two locations. It is recommended that do keep your - * plugin files in directories. - * - * The file with the plugin data is the file that will be included and therefore - * needs to have the main execution for the plugin. This does not mean - * everything must be contained in the file and it is recommended that the file - * be split for maintainability. Keep everything in one file for extreme - * optimization purposes. - * - * @since 1.5.0 - * - * @param string $plugin_folder Optional. Relative path to single plugin folder. - * @return array Key is the plugin file path and the value is an array of the plugin data. - */ -function get_plugins($plugin_folder = '') { - - if ( ! $cache_plugins = wp_cache_get('plugins', 'plugins') ) - $cache_plugins = array(); - - if ( isset($cache_plugins[ $plugin_folder ]) ) - return $cache_plugins[ $plugin_folder ]; - - $wp_plugins = array (); - $plugin_root = WP_PLUGIN_DIR; - if ( !empty($plugin_folder) ) - $plugin_root .= $plugin_folder; - - // Files in wp-content/plugins directory - $plugins_dir = @ opendir( $plugin_root); - $plugin_files = array(); - if ( $plugins_dir ) { - while (($file = readdir( $plugins_dir ) ) !== false ) { - if ( substr($file, 0, 1) == '.' ) - continue; - if ( is_dir( $plugin_root.'/'.$file ) ) { - $plugins_subdir = @ opendir( $plugin_root.'/'.$file ); - if ( $plugins_subdir ) { - while (($subfile = readdir( $plugins_subdir ) ) !== false ) { - if ( substr($subfile, 0, 1) == '.' ) - continue; - if ( substr($subfile, -4) == '.php' ) - $plugin_files[] = "$file/$subfile"; - } - closedir( $plugins_subdir ); - } - } else { - if ( substr($file, -4) == '.php' ) - $plugin_files[] = $file; - } - } - closedir( $plugins_dir ); - } - - if ( empty($plugin_files) ) - return $wp_plugins; - - foreach ( $plugin_files as $plugin_file ) { - if ( !is_readable( "$plugin_root/$plugin_file" ) ) - continue; - - $plugin_data = get_plugin_data( "$plugin_root/$plugin_file", false, false ); //Do not apply markup/translate as it'll be cached. - - if ( empty ( $plugin_data['Name'] ) ) - continue; - - $wp_plugins[plugin_basename( $plugin_file )] = $plugin_data; - } - - uasort( $wp_plugins, '_sort_uname_callback' ); - - $cache_plugins[ $plugin_folder ] = $wp_plugins; - wp_cache_set('plugins', $cache_plugins, 'plugins'); - - return $wp_plugins; -} - -/** - * Check the mu-plugins directory and retrieve all mu-plugin files with any plugin data. - * - * WordPress only includes mu-plugin files in the base mu-plugins directory (wp-content/mu-plugins). - * - * @since 3.0.0 - * @return array Key is the mu-plugin file path and the value is an array of the mu-plugin data. - */ -function get_mu_plugins() { - $wp_plugins = array(); - // Files in wp-content/mu-plugins directory - $plugin_files = array(); - - if ( ! is_dir( WPMU_PLUGIN_DIR ) ) - return $wp_plugins; - if ( $plugins_dir = @ opendir( WPMU_PLUGIN_DIR ) ) { - while ( ( $file = readdir( $plugins_dir ) ) !== false ) { - if ( substr( $file, -4 ) == '.php' ) - $plugin_files[] = $file; - } - } else { - return $wp_plugins; - } - - @closedir( $plugins_dir ); - - if ( empty($plugin_files) ) - return $wp_plugins; - - foreach ( $plugin_files as $plugin_file ) { - if ( !is_readable( WPMU_PLUGIN_DIR . "/$plugin_file" ) ) - continue; - - $plugin_data = get_plugin_data( WPMU_PLUGIN_DIR . "/$plugin_file", false, false ); //Do not apply markup/translate as it'll be cached. - - if ( empty ( $plugin_data['Name'] ) ) - $plugin_data['Name'] = $plugin_file; - - $wp_plugins[ $plugin_file ] = $plugin_data; - } - - if ( isset( $wp_plugins['index.php'] ) && filesize( WPMU_PLUGIN_DIR . '/index.php') <= 30 ) // silence is golden - unset( $wp_plugins['index.php'] ); - - uasort( $wp_plugins, '_sort_uname_callback' ); - - return $wp_plugins; -} - -/** - * Callback to sort array by a 'Name' key. - * - * @since 3.1.0 - * @access private - */ -function _sort_uname_callback( $a, $b ) { - return strnatcasecmp( $a['Name'], $b['Name'] ); -} - -/** - * Check the wp-content directory and retrieve all drop-ins with any plugin data. - * - * @since 3.0.0 - * @return array Key is the file path and the value is an array of the plugin data. - */ -function get_dropins() { - $dropins = array(); - $plugin_files = array(); - - $_dropins = _get_dropins(); - - // These exist in the wp-content directory - if ( $plugins_dir = @ opendir( WP_CONTENT_DIR ) ) { - while ( ( $file = readdir( $plugins_dir ) ) !== false ) { - if ( isset( $_dropins[ $file ] ) ) - $plugin_files[] = $file; - } - } else { - return $dropins; - } - - @closedir( $plugins_dir ); - - if ( empty($plugin_files) ) - return $dropins; - - foreach ( $plugin_files as $plugin_file ) { - if ( !is_readable( WP_CONTENT_DIR . "/$plugin_file" ) ) - continue; - $plugin_data = get_plugin_data( WP_CONTENT_DIR . "/$plugin_file", false, false ); //Do not apply markup/translate as it'll be cached. - if ( empty( $plugin_data['Name'] ) ) - $plugin_data['Name'] = $plugin_file; - $dropins[ $plugin_file ] = $plugin_data; - } - - uksort( $dropins, 'strnatcasecmp' ); - - return $dropins; -} - -/** - * Returns drop-ins that WordPress uses. - * - * Includes Multisite drop-ins only when is_multisite() - * - * @since 3.0.0 - * @return array Key is file name. The value is an array, with the first value the - * purpose of the drop-in and the second value the name of the constant that must be - * true for the drop-in to be used, or true if no constant is required. - */ -function _get_dropins() { - $dropins = array( - 'advanced-cache.php' => array( __( 'Advanced caching plugin.' ), 'WP_CACHE' ), // WP_CACHE - 'db.php' => array( __( 'Custom database class.' ), true ), // auto on load - 'db-error.php' => array( __( 'Custom database error message.' ), true ), // auto on error - 'install.php' => array( __( 'Custom install script.' ), true ), // auto on install - 'maintenance.php' => array( __( 'Custom maintenance message.' ), true ), // auto on maintenance - 'object-cache.php' => array( __( 'External object cache.' ), true ), // auto on load - ); - - if ( is_multisite() ) { - $dropins['sunrise.php' ] = array( __( 'Executed before Multisite is loaded.' ), 'SUNRISE' ); // SUNRISE - $dropins['blog-deleted.php' ] = array( __( 'Custom site deleted message.' ), true ); // auto on deleted blog - $dropins['blog-inactive.php' ] = array( __( 'Custom site inactive message.' ), true ); // auto on inactive blog - $dropins['blog-suspended.php'] = array( __( 'Custom site suspended message.' ), true ); // auto on archived or spammed blog - } - - return $dropins; -} - -/** - * Check whether the plugin is active by checking the active_plugins list. - * - * @since 2.5.0 - * - * @param string $plugin Base plugin path from plugins directory. - * @return bool True, if in the active plugins list. False, not in the list. - */ -function is_plugin_active( $plugin ) { - return in_array( $plugin, (array) get_option( 'active_plugins', array() ) ) || is_plugin_active_for_network( $plugin ); -} - -/** - * Check whether the plugin is inactive. - * - * Reverse of is_plugin_active(). Used as a callback. - * - * @since 3.1.0 - * @see is_plugin_active() - * - * @param string $plugin Base plugin path from plugins directory. - * @return bool True if inactive. False if active. - */ -function is_plugin_inactive( $plugin ) { - return ! is_plugin_active( $plugin ); -} - -/** - * Check whether the plugin is active for the entire network. - * - * @since 3.0.0 - * - * @param string $plugin Base plugin path from plugins directory. - * @return bool True, if active for the network, otherwise false. - */ -function is_plugin_active_for_network( $plugin ) { - if ( !is_multisite() ) - return false; - - $plugins = get_site_option( 'active_sitewide_plugins'); - if ( isset($plugins[$plugin]) ) - return true; - - return false; -} - -/** - * Checks for "Network: true" in the plugin header to see if this should - * be activated only as a network wide plugin. The plugin would also work - * when Multisite is not enabled. - * - * Checks for "Site Wide Only: true" for backwards compatibility. - * - * @since 3.0.0 - * - * @param string $plugin Plugin to check - * @return bool True if plugin is network only, false otherwise. - */ -function is_network_only_plugin( $plugin ) { - $plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin ); - if ( $plugin_data ) - return $plugin_data['Network']; - return false; -} - -/** - * Attempts activation of plugin in a "sandbox" and redirects on success. - * - * A plugin that is already activated will not attempt to be activated again. - * - * The way it works is by setting the redirection to the error before trying to - * include the plugin file. If the plugin fails, then the redirection will not - * be overwritten with the success message. Also, the options will not be - * updated and the activation hook will not be called on plugin error. - * - * It should be noted that in no way the below code will actually prevent errors - * within the file. The code should not be used elsewhere to replicate the - * "sandbox", which uses redirection to work. - * {@source 13 1} - * - * If any errors are found or text is outputted, then it will be captured to - * ensure that the success redirection will update the error redirection. - * - * @since 2.5.0 - * - * @param string $plugin Plugin path to main plugin file with plugin data. - * @param string $redirect Optional. URL to redirect to. - * @param bool $network_wide Whether to enable the plugin for all sites in the - * network or just the current site. Multisite only. Default is false. - * @param bool $silent Prevent calling activation hooks. Optional, default is false. - * @return WP_Error|null WP_Error on invalid file or null on success. - */ -function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silent = false ) { - $plugin = plugin_basename( trim( $plugin ) ); - - if ( is_multisite() && ( $network_wide || is_network_only_plugin($plugin) ) ) { - $network_wide = true; - $current = get_site_option( 'active_sitewide_plugins', array() ); - $_GET['networkwide'] = 1; // Back compat for plugins looking for this value. - } else { - $current = get_option( 'active_plugins', array() ); - } - - $valid = validate_plugin($plugin); - if ( is_wp_error($valid) ) - return $valid; - - if ( !in_array($plugin, $current) ) { - if ( !empty($redirect) ) - wp_redirect(add_query_arg('_error_nonce', wp_create_nonce('plugin-activation-error_' . $plugin), $redirect)); // we'll override this later if the plugin can be included without fatal error - ob_start(); - wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin ); - $_wp_plugin_file = $plugin; - include_once( WP_PLUGIN_DIR . '/' . $plugin ); - $plugin = $_wp_plugin_file; // Avoid stomping of the $plugin variable in a plugin. - - if ( ! $silent ) { - /** - * Fires before a plugin is activated. - * - * If a plugin is silently activated (such as during an update), - * this hook does not fire. - * - * @since 2.9.0 - * - * @param string $plugin Plugin path to main plugin file with plugin data. - * @param bool $network_wide Whether to enable the plugin for all sites in the network - * or just the current site. Multisite only. Default is false. - */ - do_action( 'activate_plugin', $plugin, $network_wide ); - - /** - * Fires as a specific plugin is being deactivated. - * - * This hook is the "deactivation" hook used internally by - * register_deactivation_hook(). The dynamic portion of the - * hook name, $plugin. refers to the plugin basename. - * - * If a plugin is silently activated (such as during an update), - * this hook does not fire. - * - * @since 2.0.0 - * - * @param bool $network_wide Whether to enable the plugin for all sites in the network - * or just the current site. Multisite only. Default is false. - */ - do_action( 'activate_' . $plugin, $network_wide ); - } - - if ( $network_wide ) { - $current[$plugin] = time(); - update_site_option( 'active_sitewide_plugins', $current ); - } else { - $current[] = $plugin; - sort($current); - update_option('active_plugins', $current); - } - - if ( ! $silent ) { - /** - * Fires after a plugin has been activated. - * - * If a plugin is silently activated (such as during an update), - * this hook does not fire. - * - * @since 2.9.0 - * - * @param string $plugin Plugin path to main plugin file with plugin data. - * @param bool $network_wide Whether to enable the plugin for all sites in the network - * or just the current site. Multisite only. Default is false. - */ - do_action( 'activated_plugin', $plugin, $network_wide ); - } - - if ( ob_get_length() > 0 ) { - $output = ob_get_clean(); - return new WP_Error('unexpected_output', __('The plugin generated unexpected output.'), $output); - } - ob_end_clean(); - } - - return null; -} - -/** - * Deactivate a single plugin or multiple plugins. - * - * The deactivation hook is disabled by the plugin upgrader by using the $silent - * parameter. - * - * @since 2.5.0 - * - * @param string|array $plugins Single plugin or list of plugins to deactivate. - * @param bool $silent Prevent calling deactivation hooks. Default is false. - * @param mixed $network_wide Whether to deactivate the plugin for all sites in the network. - * A value of null (the default) will deactivate plugins for both the site and the network. - */ -function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) { - if ( is_multisite() ) - $network_current = get_site_option( 'active_sitewide_plugins', array() ); - $current = get_option( 'active_plugins', array() ); - $do_blog = $do_network = false; - - foreach ( (array) $plugins as $plugin ) { - $plugin = plugin_basename( trim( $plugin ) ); - if ( ! is_plugin_active($plugin) ) - continue; - - $network_deactivating = false !== $network_wide && is_plugin_active_for_network( $plugin ); - - if ( ! $silent ) { - /** - * Fires before a plugin is deactivated. - * - * If a plugin is silently deactivated (such as during an update), - * this hook does not fire. - * - * @since 2.9.0 - * - * @param string $plugin Plugin path to main plugin file with plugin data. - * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network - * or just the current site. Multisite only. Default is false. - */ - do_action( 'deactivate_plugin', $plugin, $network_deactivating ); - } - - if ( false !== $network_wide ) { - if ( is_plugin_active_for_network( $plugin ) ) { - $do_network = true; - unset( $network_current[ $plugin ] ); - } elseif ( $network_wide ) { - continue; - } - } - - if ( true !== $network_wide ) { - $key = array_search( $plugin, $current ); - if ( false !== $key ) { - $do_blog = true; - unset( $current[ $key ] ); - } - } - - if ( ! $silent ) { - /** - * Fires as a specific plugin is being deactivated. - * - * This hook is the "deactivation" hook used internally by - * register_deactivation_hook(). The dynamic portion of the - * hook name, $plugin. refers to the plugin basename. - * - * If a plugin is silently deactivated (such as during an update), - * this hook does not fire. - * - * @since 2.0.0 - * - * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network - * or just the current site. Multisite only. Default is false. - */ - do_action( 'deactivate_' . $plugin, $network_deactivating ); - - /** - * Fires after a plugin is deactivated. - * - * If a plugin is silently deactivated (such as during an update), - * this hook does not fire. - * - * @since 2.9.0 - * - * @param string $plugin Plugin basename. - * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network - * or just the current site. Multisite only. Default false. - */ - do_action( 'deactivated_plugin', $plugin, $network_deactivating ); - } - } - - if ( $do_blog ) - update_option('active_plugins', $current); - if ( $do_network ) - update_site_option( 'active_sitewide_plugins', $network_current ); -} - -/** - * Activate multiple plugins. - * - * When WP_Error is returned, it does not mean that one of the plugins had - * errors. It means that one or more of the plugins file path was invalid. - * - * The execution will be halted as soon as one of the plugins has an error. - * - * @since 2.6.0 - * - * @param string|array $plugins Single plugin or list of plugins to activate. - * @param string $redirect Redirect to page after successful activation. - * @param bool $network_wide Whether to enable the plugin for all sites in the network. - * @param bool $silent Prevent calling activation hooks. Default is false. - * @return bool|WP_Error True when finished or WP_Error if there were errors during a plugin activation. - */ -function activate_plugins( $plugins, $redirect = '', $network_wide = false, $silent = false ) { - if ( !is_array($plugins) ) - $plugins = array($plugins); - - $errors = array(); - foreach ( $plugins as $plugin ) { - if ( !empty($redirect) ) - $redirect = add_query_arg('plugin', $plugin, $redirect); - $result = activate_plugin($plugin, $redirect, $network_wide, $silent); - if ( is_wp_error($result) ) - $errors[$plugin] = $result; - } - - if ( !empty($errors) ) - return new WP_Error('plugins_invalid', __('One of the plugins is invalid.'), $errors); - - return true; -} - -/** - * Remove directory and files of a plugin for a list of plugins. - * - * @since 2.6.0 - * - * @param array $plugins List of plugins to delete. - * @param string $deprecated Deprecated. - * @return bool|null|WP_Error True on success, false is $plugins is empty, WP_Error on failure. - * Null if filesystem credentials are required to proceed. - */ -function delete_plugins( $plugins, $deprecated = '' ) { - global $wp_filesystem; - - if ( empty($plugins) ) - return false; - - $checked = array(); - foreach( $plugins as $plugin ) - $checked[] = 'checked[]=' . $plugin; - - ob_start(); - $url = wp_nonce_url('plugins.php?action=delete-selected&verify-delete=1&' . implode('&', $checked), 'bulk-plugins'); - if ( false === ($credentials = request_filesystem_credentials($url)) ) { - $data = ob_get_contents(); - ob_end_clean(); - if ( ! empty($data) ){ - include_once( ABSPATH . 'wp-admin/admin-header.php'); - echo $data; - include( ABSPATH . 'wp-admin/admin-footer.php'); - exit; - } - return; - } - - if ( ! WP_Filesystem($credentials) ) { - request_filesystem_credentials($url, '', true); //Failed to connect, Error and request again - $data = ob_get_contents(); - ob_end_clean(); - if ( ! empty($data) ){ - include_once( ABSPATH . 'wp-admin/admin-header.php'); - echo $data; - include( ABSPATH . 'wp-admin/admin-footer.php'); - exit; - } - return; - } - - if ( ! is_object($wp_filesystem) ) - return new WP_Error('fs_unavailable', __('Could not access filesystem.')); - - if ( is_wp_error($wp_filesystem->errors) && $wp_filesystem->errors->get_error_code() ) - return new WP_Error('fs_error', __('Filesystem error.'), $wp_filesystem->errors); - - //Get the base plugin folder - $plugins_dir = $wp_filesystem->wp_plugins_dir(); - if ( empty($plugins_dir) ) - return new WP_Error('fs_no_plugins_dir', __('Unable to locate WordPress Plugin directory.')); - - $plugins_dir = trailingslashit( $plugins_dir ); - - $errors = array(); - - foreach( $plugins as $plugin_file ) { - // Run Uninstall hook - if ( is_uninstallable_plugin( $plugin_file ) ) - uninstall_plugin($plugin_file); - - $this_plugin_dir = trailingslashit( dirname($plugins_dir . $plugin_file) ); - // If plugin is in its own directory, recursively delete the directory. - if ( strpos($plugin_file, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory separator AND that it's not the root plugin folder - $deleted = $wp_filesystem->delete($this_plugin_dir, true); - else - $deleted = $wp_filesystem->delete($plugins_dir . $plugin_file); - - if ( ! $deleted ) - $errors[] = $plugin_file; - } - - // Remove deleted plugins from the plugin updates list. - if ( $current = get_site_transient('update_plugins') ) { - // Don't remove the plugins that weren't deleted. - $deleted = array_diff( $plugins, $errors ); - - foreach ( $deleted as $plugin_file ) { - unset( $current->response[ $plugin_file ] ); - } - - set_site_transient( 'update_plugins', $current ); - } - - if ( ! empty($errors) ) - return new WP_Error('could_not_remove_plugin', sprintf(__('Could not fully remove the plugin(s) %s.'), implode(', ', $errors)) ); - - return true; -} - -/** - * Validate active plugins - * - * Validate all active plugins, deactivates invalid and - * returns an array of deactivated ones. - * - * @since 2.5.0 - * @return array invalid plugins, plugin as key, error as value - */ -function validate_active_plugins() { - $plugins = get_option( 'active_plugins', array() ); - // Validate vartype: array. - if ( ! is_array( $plugins ) ) { - update_option( 'active_plugins', array() ); - $plugins = array(); - } - - if ( is_multisite() && current_user_can( 'manage_network_plugins' ) ) { - $network_plugins = (array) get_site_option( 'active_sitewide_plugins', array() ); - $plugins = array_merge( $plugins, array_keys( $network_plugins ) ); - } - - if ( empty( $plugins ) ) - return; - - $invalid = array(); - - // Invalid plugins get deactivated. - foreach ( $plugins as $plugin ) { - $result = validate_plugin( $plugin ); - if ( is_wp_error( $result ) ) { - $invalid[$plugin] = $result; - deactivate_plugins( $plugin, true ); - } - } - return $invalid; -} - -/** - * Validate the plugin path. - * - * Checks that the file exists and {@link validate_file() is valid file}. - * - * @since 2.5.0 - * - * @param string $plugin Plugin Path - * @return WP_Error|int 0 on success, WP_Error on failure. - */ -function validate_plugin($plugin) { - if ( validate_file($plugin) ) - return new WP_Error('plugin_invalid', __('Invalid plugin path.')); - if ( ! file_exists(WP_PLUGIN_DIR . '/' . $plugin) ) - return new WP_Error('plugin_not_found', __('Plugin file does not exist.')); - - $installed_plugins = get_plugins(); - if ( ! isset($installed_plugins[$plugin]) ) - return new WP_Error('no_plugin_header', __('The plugin does not have a valid header.')); - return 0; -} - -/** - * Whether the plugin can be uninstalled. - * - * @since 2.7.0 - * - * @param string $plugin Plugin path to check. - * @return bool Whether plugin can be uninstalled. - */ -function is_uninstallable_plugin($plugin) { - $file = plugin_basename($plugin); - - $uninstallable_plugins = (array) get_option('uninstall_plugins'); - if ( isset( $uninstallable_plugins[$file] ) || file_exists( WP_PLUGIN_DIR . '/' . dirname($file) . '/uninstall.php' ) ) - return true; - - return false; -} - -/** - * Uninstall a single plugin. - * - * Calls the uninstall hook, if it is available. - * - * @since 2.7.0 - * - * @param string $plugin Relative plugin path from Plugin Directory. - */ -function uninstall_plugin($plugin) { - $file = plugin_basename($plugin); - - $uninstallable_plugins = (array) get_option('uninstall_plugins'); - if ( file_exists( WP_PLUGIN_DIR . '/' . dirname($file) . '/uninstall.php' ) ) { - if ( isset( $uninstallable_plugins[$file] ) ) { - unset($uninstallable_plugins[$file]); - update_option('uninstall_plugins', $uninstallable_plugins); - } - unset($uninstallable_plugins); - - define('WP_UNINSTALL_PLUGIN', $file); - wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . dirname( $file ) ); - include( WP_PLUGIN_DIR . '/' . dirname($file) . '/uninstall.php' ); - - return true; - } - - if ( isset( $uninstallable_plugins[$file] ) ) { - $callable = $uninstallable_plugins[$file]; - unset($uninstallable_plugins[$file]); - update_option('uninstall_plugins', $uninstallable_plugins); - unset($uninstallable_plugins); - - wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $file ); - include( WP_PLUGIN_DIR . '/' . $file ); - - add_action( 'uninstall_' . $file, $callable ); - - /** - * Fires in uninstall_plugin() once the plugin has been uninstalled. - * - * The action concatenates the 'uninstall_' prefix with the basename of the - * plugin passed to {@see uninstall_plugin()} to create a dynamically-named action. - * - * @since 2.7.0 - */ - do_action( 'uninstall_' . $file ); - } -} - -// -// Menu -// - -/** - * Add a top level menu page - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * @param string $icon_url The url to the icon to be used for this menu. - * * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme. - * This should begin with 'data:image/svg+xml;base64,'. - * * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-chart-pie'. - * * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. - * @param int $position The position in the menu order this one should appear - * - * @return string The resulting page's hook_suffix - */ -function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '', $position = null ) { - global $menu, $admin_page_hooks, $_registered_pages, $_parent_pages; - - $menu_slug = plugin_basename( $menu_slug ); - - $admin_page_hooks[$menu_slug] = sanitize_title( $menu_title ); - - $hookname = get_plugin_page_hookname( $menu_slug, '' ); - - if ( !empty( $function ) && !empty( $hookname ) && current_user_can( $capability ) ) - add_action( $hookname, $function ); - - if ( empty($icon_url) ) { - $icon_url = 'dashicons-admin-generic'; - $icon_class = 'menu-icon-generic '; - } else { - $icon_url = set_url_scheme( $icon_url ); - $icon_class = ''; - } - - $new_menu = array( $menu_title, $capability, $menu_slug, $page_title, 'menu-top ' . $icon_class . $hookname, $hookname, $icon_url ); - - if ( null === $position ) - $menu[] = $new_menu; - else - $menu[$position] = $new_menu; - - $_registered_pages[$hookname] = true; - - // No parent as top level - $_parent_pages[$menu_slug] = false; - - return $hookname; -} - -/** - * Add a top level menu page in the 'objects' section - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * @param string $icon_url The url to the icon to be used for this menu - * - * @return string The resulting page's hook_suffix - */ -function add_object_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '') { - global $_wp_last_object_menu; - - $_wp_last_object_menu++; - - return add_menu_page($page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $_wp_last_object_menu); -} - -/** - * Add a top level menu page in the 'utility' section - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * @param string $icon_url The url to the icon to be used for this menu - * - * @return string The resulting page's hook_suffix - */ -function add_utility_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '') { - global $_wp_last_utility_menu; - - $_wp_last_utility_menu++; - - return add_menu_page($page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $_wp_last_utility_menu); -} - -/** - * Add a sub menu page - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $parent_slug The slug name for the parent menu (or the file name of a standard WordPress admin page) - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - global $submenu; - global $menu; - global $_wp_real_parent_file; - global $_wp_submenu_nopriv; - global $_registered_pages; - global $_parent_pages; - - $menu_slug = plugin_basename( $menu_slug ); - $parent_slug = plugin_basename( $parent_slug); - - if ( isset( $_wp_real_parent_file[$parent_slug] ) ) - $parent_slug = $_wp_real_parent_file[$parent_slug]; - - if ( !current_user_can( $capability ) ) { - $_wp_submenu_nopriv[$parent_slug][$menu_slug] = true; - return false; - } - - /* - * If the parent doesn't already have a submenu, add a link to the parent - * as the first item in the submenu. If the submenu file is the same as the - * parent file someone is trying to link back to the parent manually. In - * this case, don't automatically add a link back to avoid duplication. - */ - if (!isset( $submenu[$parent_slug] ) && $menu_slug != $parent_slug ) { - foreach ( (array)$menu as $parent_menu ) { - if ( $parent_menu[2] == $parent_slug && current_user_can( $parent_menu[1] ) ) - $submenu[$parent_slug][] = array_slice( $parent_menu, 0, 4 ); - } - } - - $submenu[$parent_slug][] = array ( $menu_title, $capability, $menu_slug, $page_title ); - - $hookname = get_plugin_page_hookname( $menu_slug, $parent_slug); - if (!empty ( $function ) && !empty ( $hookname )) - add_action( $hookname, $function ); - - $_registered_pages[$hookname] = true; - - /* - * Backward-compatibility for plugins using add_management page. - * See wp-admin/admin.php for redirect from edit.php to tools.php - */ - if ( 'tools.php' == $parent_slug ) - $_registered_pages[get_plugin_page_hookname( $menu_slug, 'edit.php')] = true; - - // No parent as top level. - $_parent_pages[$menu_slug] = $parent_slug; - - return $hookname; -} - -/** - * Add sub menu page to the tools main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_management_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'tools.php', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Add sub menu page to the options main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'options-general.php', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Add sub menu page to the themes main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'themes.php', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Add sub menu page to the plugins main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_plugins_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'plugins.php', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Add sub menu page to the Users/Profile main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_users_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - if ( current_user_can('edit_users') ) - $parent = 'users.php'; - else - $parent = 'profile.php'; - return add_submenu_page( $parent, $page_title, $menu_title, $capability, $menu_slug, $function ); -} -/** - * Add sub menu page to the Dashboard main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_dashboard_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'index.php', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Add sub menu page to the posts main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_posts_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'edit.php', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Add sub menu page to the media main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_media_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'upload.php', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Add sub menu page to the links main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. - */ -function add_links_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'link-manager.php', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Add sub menu page to the pages main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. -*/ -function add_pages_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'edit.php?post_type=page', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Add sub menu page to the comments main menu. - * - * This function takes a capability which will be used to determine whether - * or not a page is included in the menu. - * - * The function which is hooked in to handle the output of the page must check - * that the user has the required capability as well. - * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * - * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. -*/ -function add_comments_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { - return add_submenu_page( 'edit-comments.php', $page_title, $menu_title, $capability, $menu_slug, $function ); -} - -/** - * Remove a top level admin menu - * - * @since 3.1.0 - * - * @param string $menu_slug The slug of the menu - * @return array|bool The removed menu on success, False if not found - */ -function remove_menu_page( $menu_slug ) { - global $menu; - - foreach ( $menu as $i => $item ) { - if ( $menu_slug == $item[2] ) { - unset( $menu[$i] ); - return $item; - } - } - - return false; -} - -/** - * Remove an admin submenu - * - * @since 3.1.0 - * - * @param string $menu_slug The slug for the parent menu - * @param string $submenu_slug The slug of the submenu - * @return array|bool The removed submenu on success, False if not found - */ -function remove_submenu_page( $menu_slug, $submenu_slug ) { - global $submenu; - - if ( !isset( $submenu[$menu_slug] ) ) - return false; - - foreach ( $submenu[$menu_slug] as $i => $item ) { - if ( $submenu_slug == $item[2] ) { - unset( $submenu[$menu_slug][$i] ); - return $item; - } - } - - return false; -} - -/** - * Get the url to access a particular menu page based on the slug it was registered with. - * - * If the slug hasn't been registered properly no url will be returned - * - * @since 3.0.0 - * - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param bool $echo Whether or not to echo the url - default is true - * @return string the url - */ -function menu_page_url($menu_slug, $echo = true) { - global $_parent_pages; - - if ( isset( $_parent_pages[$menu_slug] ) ) { - $parent_slug = $_parent_pages[$menu_slug]; - if ( $parent_slug && ! isset( $_parent_pages[$parent_slug] ) ) { - $url = admin_url( add_query_arg( 'page', $menu_slug, $parent_slug ) ); - } else { - $url = admin_url( 'admin.php?page=' . $menu_slug ); - } - } else { - $url = ''; - } - - $url = esc_url($url); - - if ( $echo ) - echo $url; - - return $url; -} - -// -// Pluggable Menu Support -- Private -// - -function get_admin_page_parent( $parent = '' ) { - global $parent_file; - global $menu; - global $submenu; - global $pagenow; - global $typenow; - global $plugin_page; - global $_wp_real_parent_file; - global $_wp_menu_nopriv; - global $_wp_submenu_nopriv; - - if ( !empty ( $parent ) && 'admin.php' != $parent ) { - if ( isset( $_wp_real_parent_file[$parent] ) ) - $parent = $_wp_real_parent_file[$parent]; - return $parent; - } - - if ( $pagenow == 'admin.php' && isset( $plugin_page ) ) { - foreach ( (array)$menu as $parent_menu ) { - if ( $parent_menu[2] == $plugin_page ) { - $parent_file = $plugin_page; - if ( isset( $_wp_real_parent_file[$parent_file] ) ) - $parent_file = $_wp_real_parent_file[$parent_file]; - return $parent_file; - } - } - if ( isset( $_wp_menu_nopriv[$plugin_page] ) ) { - $parent_file = $plugin_page; - if ( isset( $_wp_real_parent_file[$parent_file] ) ) - $parent_file = $_wp_real_parent_file[$parent_file]; - return $parent_file; - } - } - - if ( isset( $plugin_page ) && isset( $_wp_submenu_nopriv[$pagenow][$plugin_page] ) ) { - $parent_file = $pagenow; - if ( isset( $_wp_real_parent_file[$parent_file] ) ) - $parent_file = $_wp_real_parent_file[$parent_file]; - return $parent_file; - } - - foreach (array_keys( (array)$submenu ) as $parent) { - foreach ( $submenu[$parent] as $submenu_array ) { - if ( isset( $_wp_real_parent_file[$parent] ) ) - $parent = $_wp_real_parent_file[$parent]; - if ( !empty($typenow) && ($submenu_array[2] == "$pagenow?post_type=$typenow") ) { - $parent_file = $parent; - return $parent; - } elseif ( $submenu_array[2] == $pagenow && empty($typenow) && ( empty($parent_file) || false === strpos($parent_file, '?') ) ) { - $parent_file = $parent; - return $parent; - } else - if ( isset( $plugin_page ) && ($plugin_page == $submenu_array[2] ) ) { - $parent_file = $parent; - return $parent; - } - } - } - - if ( empty($parent_file) ) - $parent_file = ''; - return ''; -} - -function get_admin_page_title() { - global $title; - global $menu; - global $submenu; - global $pagenow; - global $plugin_page; - global $typenow; - - if ( ! empty ( $title ) ) - return $title; - - $hook = get_plugin_page_hook( $plugin_page, $pagenow ); - - $parent = $parent1 = get_admin_page_parent(); - - if ( empty ( $parent) ) { - foreach ( (array)$menu as $menu_array ) { - if ( isset( $menu_array[3] ) ) { - if ( $menu_array[2] == $pagenow ) { - $title = $menu_array[3]; - return $menu_array[3]; - } else - if ( isset( $plugin_page ) && ($plugin_page == $menu_array[2] ) && ($hook == $menu_array[3] ) ) { - $title = $menu_array[3]; - return $menu_array[3]; - } - } else { - $title = $menu_array[0]; - return $title; - } - } - } else { - foreach ( array_keys( $submenu ) as $parent ) { - foreach ( $submenu[$parent] as $submenu_array ) { - if ( isset( $plugin_page ) && - ( $plugin_page == $submenu_array[2] ) && - ( - ( $parent == $pagenow ) || - ( $parent == $plugin_page ) || - ( $plugin_page == $hook ) || - ( $pagenow == 'admin.php' && $parent1 != $submenu_array[2] ) || - ( !empty($typenow) && $parent == $pagenow . '?post_type=' . $typenow) - ) - ) { - $title = $submenu_array[3]; - return $submenu_array[3]; - } - - if ( $submenu_array[2] != $pagenow || isset( $_GET['page'] ) ) // not the current page - continue; - - if ( isset( $submenu_array[3] ) ) { - $title = $submenu_array[3]; - return $submenu_array[3]; - } else { - $title = $submenu_array[0]; - return $title; - } - } - } - if ( empty ( $title ) ) { - foreach ( $menu as $menu_array ) { - if ( isset( $plugin_page ) && - ( $plugin_page == $menu_array[2] ) && - ( $pagenow == 'admin.php' ) && - ( $parent1 == $menu_array[2] ) ) - { - $title = $menu_array[3]; - return $menu_array[3]; - } - } - } - } - - return $title; -} - -function get_plugin_page_hook( $plugin_page, $parent_page ) { - $hook = get_plugin_page_hookname( $plugin_page, $parent_page ); - if ( has_action($hook) ) - return $hook; - else - return null; -} - -function get_plugin_page_hookname( $plugin_page, $parent_page ) { - global $admin_page_hooks; - - $parent = get_admin_page_parent( $parent_page ); - - $page_type = 'admin'; - if ( empty ( $parent_page ) || 'admin.php' == $parent_page || isset( $admin_page_hooks[$plugin_page] ) ) { - if ( isset( $admin_page_hooks[$plugin_page] ) ) - $page_type = 'toplevel'; - else - if ( isset( $admin_page_hooks[$parent] )) - $page_type = $admin_page_hooks[$parent]; - } else if ( isset( $admin_page_hooks[$parent] ) ) { - $page_type = $admin_page_hooks[$parent]; - } - - $plugin_name = preg_replace( '!\.php!', '', $plugin_page ); - - return $page_type . '_page_' . $plugin_name; -} - -function user_can_access_admin_page() { - global $pagenow; - global $menu; - global $submenu; - global $_wp_menu_nopriv; - global $_wp_submenu_nopriv; - global $plugin_page; - global $_registered_pages; - - $parent = get_admin_page_parent(); - - if ( !isset( $plugin_page ) && isset( $_wp_submenu_nopriv[$parent][$pagenow] ) ) - return false; - - if ( isset( $plugin_page ) ) { - if ( isset( $_wp_submenu_nopriv[$parent][$plugin_page] ) ) - return false; - - $hookname = get_plugin_page_hookname($plugin_page, $parent); - - if ( !isset($_registered_pages[$hookname]) ) - return false; - } - - if ( empty( $parent) ) { - if ( isset( $_wp_menu_nopriv[$pagenow] ) ) - return false; - if ( isset( $_wp_submenu_nopriv[$pagenow][$pagenow] ) ) - return false; - if ( isset( $plugin_page ) && isset( $_wp_submenu_nopriv[$pagenow][$plugin_page] ) ) - return false; - if ( isset( $plugin_page ) && isset( $_wp_menu_nopriv[$plugin_page] ) ) - return false; - foreach (array_keys( $_wp_submenu_nopriv ) as $key ) { - if ( isset( $_wp_submenu_nopriv[$key][$pagenow] ) ) - return false; - if ( isset( $plugin_page ) && isset( $_wp_submenu_nopriv[$key][$plugin_page] ) ) - return false; - } - return true; - } - - if ( isset( $plugin_page ) && ( $plugin_page == $parent ) && isset( $_wp_menu_nopriv[$plugin_page] ) ) - return false; - - if ( isset( $submenu[$parent] ) ) { - foreach ( $submenu[$parent] as $submenu_array ) { - if ( isset( $plugin_page ) && ( $submenu_array[2] == $plugin_page ) ) { - if ( current_user_can( $submenu_array[1] )) - return true; - else - return false; - } else if ( $submenu_array[2] == $pagenow ) { - if ( current_user_can( $submenu_array[1] )) - return true; - else - return false; - } - } - } - - foreach ( $menu as $menu_array ) { - if ( $menu_array[2] == $parent) { - if ( current_user_can( $menu_array[1] )) - return true; - else - return false; - } - } - - return true; -} - -/* Whitelist functions */ - -/** - * Register a setting and its sanitization callback - * - * @since 2.7.0 - * - * @param string $option_group A settings group name. Should correspond to a whitelisted option key name. - * Default whitelisted option key names include "general," "discussion," and "reading," among others. - * @param string $option_name The name of an option to sanitize and save. - * @param unknown_type $sanitize_callback A callback function that sanitizes the option's value. - * @return unknown - */ -function register_setting( $option_group, $option_name, $sanitize_callback = '' ) { - global $new_whitelist_options; - - if ( 'misc' == $option_group ) { - _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) ); - $option_group = 'general'; - } - - if ( 'privacy' == $option_group ) { - _deprecated_argument( __FUNCTION__, '3.5', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) ); - $option_group = 'reading'; - } - - $new_whitelist_options[ $option_group ][] = $option_name; - if ( $sanitize_callback != '' ) - add_filter( "sanitize_option_{$option_name}", $sanitize_callback ); -} - -/** - * Unregister a setting - * - * @since 2.7.0 - * - * @param unknown_type $option_group - * @param unknown_type $option_name - * @param unknown_type $sanitize_callback - * @return unknown - */ -function unregister_setting( $option_group, $option_name, $sanitize_callback = '' ) { - global $new_whitelist_options; - - if ( 'misc' == $option_group ) { - _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) ); - $option_group = 'general'; - } - - if ( 'privacy' == $option_group ) { - _deprecated_argument( __FUNCTION__, '3.5', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) ); - $option_group = 'reading'; - } - - $pos = array_search( $option_name, (array) $new_whitelist_options ); - if ( $pos !== false ) - unset( $new_whitelist_options[ $option_group ][ $pos ] ); - if ( $sanitize_callback != '' ) - remove_filter( "sanitize_option_{$option_name}", $sanitize_callback ); -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.7.0 - * - * @param unknown_type $options - * @return unknown - */ -function option_update_filter( $options ) { - global $new_whitelist_options; - - if ( is_array( $new_whitelist_options ) ) - $options = add_option_whitelist( $new_whitelist_options, $options ); - - return $options; -} -add_filter( 'whitelist_options', 'option_update_filter' ); - -/** - * {@internal Missing Short Description}} - * - * @since 2.7.0 - * - * @param unknown_type $new_options - * @param unknown_type $options - * @return unknown - */ -function add_option_whitelist( $new_options, $options = '' ) { - if ( $options == '' ) - global $whitelist_options; - else - $whitelist_options = $options; - - foreach ( $new_options as $page => $keys ) { - foreach ( $keys as $key ) { - if ( !isset($whitelist_options[ $page ]) || !is_array($whitelist_options[ $page ]) ) { - $whitelist_options[ $page ] = array(); - $whitelist_options[ $page ][] = $key; - } else { - $pos = array_search( $key, $whitelist_options[ $page ] ); - if ( $pos === false ) - $whitelist_options[ $page ][] = $key; - } - } - } - - return $whitelist_options; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.7.0 - * - * @param unknown_type $del_options - * @param unknown_type $options - * @return unknown - */ -function remove_option_whitelist( $del_options, $options = '' ) { - if ( $options == '' ) - global $whitelist_options; - else - $whitelist_options = $options; - - foreach ( $del_options as $page => $keys ) { - foreach ( $keys as $key ) { - if ( isset($whitelist_options[ $page ]) && is_array($whitelist_options[ $page ]) ) { - $pos = array_search( $key, $whitelist_options[ $page ] ); - if ( $pos !== false ) - unset( $whitelist_options[ $page ][ $pos ] ); - } - } - } - - return $whitelist_options; -} - -/** - * Output nonce, action, and option_page fields for a settings page. - * - * @since 2.7.0 - * - * @param string $option_group A settings group name. This should match the group name used in register_setting(). - */ -function settings_fields($option_group) { - echo ""; - echo ''; - wp_nonce_field("$option_group-options"); -} - -/** - * Clears the Plugins cache used by get_plugins() and by default, the Plugin Update cache. - * - * @since 3.7.0 - * - * @param bool $clear_update_cache Whether to clear the Plugin updates cache - */ -function wp_clean_plugins_cache( $clear_update_cache = true ) { - if ( $clear_update_cache ) - delete_site_transient( 'update_plugins' ); - wp_cache_delete( 'plugins', 'plugins' ); -} diff --git a/sources/wordpress/wp-admin/includes/post.php b/sources/wordpress/wp-admin/includes/post.php deleted file mode 100644 index 30573e8..0000000 --- a/sources/wordpress/wp-admin/includes/post.php +++ /dev/null @@ -1,1667 +0,0 @@ -cap->create_posts ) ) { - if ( 'page' == $post_data['post_type'] ) - return new WP_Error( 'edit_others_pages', __( 'You are not allowed to create pages as this user.' ) ); - else - return new WP_Error( 'edit_others_posts', __( 'You are not allowed to create posts as this user.' ) ); - } - - if ( isset( $post_data['content'] ) ) - $post_data['post_content'] = $post_data['content']; - - if ( isset( $post_data['excerpt'] ) ) - $post_data['post_excerpt'] = $post_data['excerpt']; - - if ( isset( $post_data['parent_id'] ) ) - $post_data['post_parent'] = (int) $post_data['parent_id']; - - if ( isset($post_data['trackback_url']) ) - $post_data['to_ping'] = $post_data['trackback_url']; - - $post_data['user_ID'] = get_current_user_id(); - - if (!empty ( $post_data['post_author_override'] ) ) { - $post_data['post_author'] = (int) $post_data['post_author_override']; - } else { - if (!empty ( $post_data['post_author'] ) ) { - $post_data['post_author'] = (int) $post_data['post_author']; - } else { - $post_data['post_author'] = (int) $post_data['user_ID']; - } - } - - if ( isset( $post_data['user_ID'] ) && ( $post_data['post_author'] != $post_data['user_ID'] ) - && ! current_user_can( $ptype->cap->edit_others_posts ) ) { - if ( $update ) { - if ( 'page' == $post_data['post_type'] ) - return new WP_Error( 'edit_others_pages', __( 'You are not allowed to edit pages as this user.' ) ); - else - return new WP_Error( 'edit_others_posts', __( 'You are not allowed to edit posts as this user.' ) ); - } else { - if ( 'page' == $post_data['post_type'] ) - return new WP_Error( 'edit_others_pages', __( 'You are not allowed to create pages as this user.' ) ); - else - return new WP_Error( 'edit_others_posts', __( 'You are not allowed to create posts as this user.' ) ); - } - } - - if ( ! empty( $post_data['post_status'] ) ) { - $post_data['post_status'] = sanitize_key( $post_data['post_status'] ); - - // No longer an auto-draft - if ( 'auto-draft' === $post_data['post_status'] ) { - $post_data['post_status'] = 'draft'; - } - - if ( ! get_post_status_object( $post_data['post_status'] ) ) { - unset( $post_data['post_status'] ); - } - } - - // What to do based on which button they pressed - if ( isset($post_data['saveasdraft']) && '' != $post_data['saveasdraft'] ) - $post_data['post_status'] = 'draft'; - if ( isset($post_data['saveasprivate']) && '' != $post_data['saveasprivate'] ) - $post_data['post_status'] = 'private'; - if ( isset($post_data['publish']) && ( '' != $post_data['publish'] ) && ( !isset($post_data['post_status']) || $post_data['post_status'] != 'private' ) ) - $post_data['post_status'] = 'publish'; - if ( isset($post_data['advanced']) && '' != $post_data['advanced'] ) - $post_data['post_status'] = 'draft'; - if ( isset($post_data['pending']) && '' != $post_data['pending'] ) - $post_data['post_status'] = 'pending'; - - if ( isset( $post_data['ID'] ) ) - $post_id = $post_data['ID']; - else - $post_id = false; - $previous_status = $post_id ? get_post_field( 'post_status', $post_id ) : false; - - if ( isset( $post_data['post_status'] ) && 'private' == $post_data['post_status'] && ! current_user_can( $ptype->cap->publish_posts ) ) { - $post_data['post_status'] = $previous_status ? $previous_status : 'pending'; - } - - $published_statuses = array( 'publish', 'future' ); - - // Posts 'submitted for approval' present are submitted to $_POST the same as if they were being published. - // Change status from 'publish' to 'pending' if user lacks permissions to publish or to resave published posts. - if ( isset($post_data['post_status']) && (in_array( $post_data['post_status'], $published_statuses ) && !current_user_can( $ptype->cap->publish_posts )) ) - if ( ! in_array( $previous_status, $published_statuses ) || !current_user_can( 'edit_post', $post_id ) ) - $post_data['post_status'] = 'pending'; - - if ( ! isset( $post_data['post_status'] ) ) { - $post_data['post_status'] = 'auto-draft' === $previous_status ? 'draft' : $previous_status; - } - - if ( isset( $post_data['post_password'] ) && ! current_user_can( $ptype->cap->publish_posts ) ) { - unset( $post_data['post_password'] ); - } - - if (!isset( $post_data['comment_status'] )) - $post_data['comment_status'] = 'closed'; - - if (!isset( $post_data['ping_status'] )) - $post_data['ping_status'] = 'closed'; - - foreach ( array('aa', 'mm', 'jj', 'hh', 'mn') as $timeunit ) { - if ( !empty( $post_data['hidden_' . $timeunit] ) && $post_data['hidden_' . $timeunit] != $post_data[$timeunit] ) { - $post_data['edit_date'] = '1'; - break; - } - } - - if ( !empty( $post_data['edit_date'] ) ) { - $aa = $post_data['aa']; - $mm = $post_data['mm']; - $jj = $post_data['jj']; - $hh = $post_data['hh']; - $mn = $post_data['mn']; - $ss = $post_data['ss']; - $aa = ($aa <= 0 ) ? date('Y') : $aa; - $mm = ($mm <= 0 ) ? date('n') : $mm; - $jj = ($jj > 31 ) ? 31 : $jj; - $jj = ($jj <= 0 ) ? date('j') : $jj; - $hh = ($hh > 23 ) ? $hh -24 : $hh; - $mn = ($mn > 59 ) ? $mn -60 : $mn; - $ss = ($ss > 59 ) ? $ss -60 : $ss; - $post_data['post_date'] = sprintf( "%04d-%02d-%02d %02d:%02d:%02d", $aa, $mm, $jj, $hh, $mn, $ss ); - $valid_date = wp_checkdate( $mm, $jj, $aa, $post_data['post_date'] ); - if ( !$valid_date ) { - return new WP_Error( 'invalid_date', __( 'Whoops, the provided date is invalid.' ) ); - } - $post_data['post_date_gmt'] = get_gmt_from_date( $post_data['post_date'] ); - } - - return $post_data; -} - -/** - * Update an existing post with values provided in $_POST. - * - * @since 1.5.0 - * - * @param array $post_data Optional. - * @return int Post ID. - */ -function edit_post( $post_data = null ) { - - if ( empty($post_data) ) - $post_data = &$_POST; - - // Clear out any data in internal vars. - unset( $post_data['filter'] ); - - $post_ID = (int) $post_data['post_ID']; - $post = get_post( $post_ID ); - $post_data['post_type'] = $post->post_type; - $post_data['post_mime_type'] = $post->post_mime_type; - - if ( ! empty( $post_data['post_status'] ) ) { - $post_data['post_status'] = sanitize_key( $post_data['post_status'] ); - - if ( 'inherit' == $post_data['post_status'] ) { - unset( $post_data['post_status'] ); - } - } - - $ptype = get_post_type_object($post_data['post_type']); - if ( !current_user_can( 'edit_post', $post_ID ) ) { - if ( 'page' == $post_data['post_type'] ) - wp_die( __('You are not allowed to edit this page.' )); - else - wp_die( __('You are not allowed to edit this post.' )); - } - - if ( post_type_supports( $ptype->name, 'revisions' ) ) { - $revisions = wp_get_post_revisions( $post_ID, array( 'order' => 'ASC', 'posts_per_page' => 1 ) ); - $revision = current( $revisions ); - - // Check if the revisions have been upgraded - if ( $revisions && _wp_get_post_revision_version( $revision ) < 1 ) - _wp_upgrade_revisions_of_post( $post, wp_get_post_revisions( $post_ID ) ); - } - - if ( isset($post_data['visibility']) ) { - switch ( $post_data['visibility'] ) { - case 'public' : - $post_data['post_password'] = ''; - break; - case 'password' : - unset( $post_data['sticky'] ); - break; - case 'private' : - $post_data['post_status'] = 'private'; - $post_data['post_password'] = ''; - unset( $post_data['sticky'] ); - break; - } - } - - $post_data = _wp_translate_postdata( true, $post_data ); - if ( is_wp_error($post_data) ) - wp_die( $post_data->get_error_message() ); - - // Post Formats - if ( isset( $post_data['post_format'] ) ) - set_post_format( $post_ID, $post_data['post_format'] ); - - $format_meta_urls = array( 'url', 'link_url', 'quote_source_url' ); - foreach ( $format_meta_urls as $format_meta_url ) { - $keyed = '_format_' . $format_meta_url; - if ( isset( $post_data[ $keyed ] ) ) - update_post_meta( $post_ID, $keyed, wp_slash( esc_url_raw( wp_unslash( $post_data[ $keyed ] ) ) ) ); - } - - $format_keys = array( 'quote', 'quote_source_name', 'image', 'gallery', 'audio_embed', 'video_embed' ); - - foreach ( $format_keys as $key ) { - $keyed = '_format_' . $key; - if ( isset( $post_data[ $keyed ] ) ) { - if ( current_user_can( 'unfiltered_html' ) ) - update_post_meta( $post_ID, $keyed, $post_data[ $keyed ] ); - else - update_post_meta( $post_ID, $keyed, wp_filter_post_kses( $post_data[ $keyed ] ) ); - } - } - - if ( 'attachment' === $post_data['post_type'] && preg_match( '#^(audio|video)/#', $post_data['post_mime_type'] ) ) { - $id3data = wp_get_attachment_metadata( $post_ID ); - if ( ! is_array( $id3data ) ) { - $id3data = array(); - } - - foreach ( wp_get_attachment_id3_keys( $post, 'edit' ) as $key => $label ) { - if ( isset( $post_data[ 'id3_' . $key ] ) ) { - $id3data[ $key ] = sanitize_text_field( wp_unslash( $post_data[ 'id3_' . $key ] ) ); - } - } - wp_update_attachment_metadata( $post_ID, $id3data ); - } - - // Meta Stuff - if ( isset($post_data['meta']) && $post_data['meta'] ) { - foreach ( $post_data['meta'] as $key => $value ) { - if ( !$meta = get_post_meta_by_id( $key ) ) - continue; - if ( $meta->post_id != $post_ID ) - continue; - if ( is_protected_meta( $value['key'], 'post' ) || ! current_user_can( 'edit_post_meta', $post_ID, $value['key'] ) ) - continue; - update_meta( $key, $value['key'], $value['value'] ); - } - } - - if ( isset($post_data['deletemeta']) && $post_data['deletemeta'] ) { - foreach ( $post_data['deletemeta'] as $key => $value ) { - if ( !$meta = get_post_meta_by_id( $key ) ) - continue; - if ( $meta->post_id != $post_ID ) - continue; - if ( is_protected_meta( $meta->meta_key, 'post' ) || ! current_user_can( 'delete_post_meta', $post_ID, $meta->meta_key ) ) - continue; - delete_meta( $key ); - } - } - - // Attachment stuff - if ( 'attachment' == $post_data['post_type'] ) { - if ( isset( $post_data[ '_wp_attachment_image_alt' ] ) ) { - $image_alt = wp_unslash( $post_data['_wp_attachment_image_alt'] ); - if ( $image_alt != get_post_meta( $post_ID, '_wp_attachment_image_alt', true ) ) { - $image_alt = wp_strip_all_tags( $image_alt, true ); - // update_meta expects slashed. - update_post_meta( $post_ID, '_wp_attachment_image_alt', wp_slash( $image_alt ) ); - } - } - - $attachment_data = isset( $post_data['attachments'][ $post_ID ] ) ? $post_data['attachments'][ $post_ID ] : array(); - - /** This filter is documented in wp-admin/includes/media.php */ - $post_data = apply_filters( 'attachment_fields_to_save', $post_data, $attachment_data ); - } - - add_meta( $post_ID ); - - update_post_meta( $post_ID, '_edit_last', get_current_user_id() ); - - wp_update_post( $post_data ); - - // Now that we have an ID we can fix any attachment anchor hrefs - _fix_attachment_links( $post_ID ); - - wp_set_post_lock( $post_ID ); - - if ( current_user_can( $ptype->cap->edit_others_posts ) ) { - if ( ! empty( $post_data['sticky'] ) ) - stick_post( $post_ID ); - else - unstick_post( $post_ID ); - } - - return $post_ID; -} - -/** - * Process the post data for the bulk editing of posts. - * - * Updates all bulk edited posts/pages, adding (but not removing) tags and - * categories. Skips pages when they would be their own parent or child. - * - * @since 2.7.0 - * - * @param array $post_data Optional, the array of post data to process if not provided will use $_POST superglobal. - * @return array - */ -function bulk_edit_posts( $post_data = null ) { - global $wpdb; - - if ( empty($post_data) ) - $post_data = &$_POST; - - if ( isset($post_data['post_type']) ) - $ptype = get_post_type_object($post_data['post_type']); - else - $ptype = get_post_type_object('post'); - - if ( !current_user_can( $ptype->cap->edit_posts ) ) { - if ( 'page' == $ptype->name ) - wp_die( __('You are not allowed to edit pages.')); - else - wp_die( __('You are not allowed to edit posts.')); - } - - if ( -1 == $post_data['_status'] ) { - $post_data['post_status'] = null; - unset($post_data['post_status']); - } else { - $post_data['post_status'] = $post_data['_status']; - } - unset($post_data['_status']); - - if ( ! empty( $post_data['post_status'] ) ) { - $post_data['post_status'] = sanitize_key( $post_data['post_status'] ); - - if ( 'inherit' == $post_data['post_status'] ) { - unset( $post_data['post_status'] ); - } - } - - $post_IDs = array_map( 'intval', (array) $post_data['post'] ); - - $reset = array( - 'post_author', 'post_status', 'post_password', - 'post_parent', 'page_template', 'comment_status', - 'ping_status', 'keep_private', 'tax_input', - 'post_category', 'sticky', 'post_format', - ); - - foreach ( $reset as $field ) { - if ( isset($post_data[$field]) && ( '' == $post_data[$field] || -1 == $post_data[$field] ) ) - unset($post_data[$field]); - } - - if ( isset($post_data['post_category']) ) { - if ( is_array($post_data['post_category']) && ! empty($post_data['post_category']) ) - $new_cats = array_map( 'absint', $post_data['post_category'] ); - else - unset($post_data['post_category']); - } - - $tax_input = array(); - if ( isset($post_data['tax_input'])) { - foreach ( $post_data['tax_input'] as $tax_name => $terms ) { - if ( empty($terms) ) - continue; - if ( is_taxonomy_hierarchical( $tax_name ) ) { - $tax_input[ $tax_name ] = array_map( 'absint', $terms ); - } else { - $comma = _x( ',', 'tag delimiter' ); - if ( ',' !== $comma ) - $terms = str_replace( $comma, ',', $terms ); - $tax_input[ $tax_name ] = explode( ',', trim( $terms, " \n\t\r\0\x0B," ) ); - } - } - } - - if ( isset($post_data['post_parent']) && ($parent = (int) $post_data['post_parent']) ) { - $pages = $wpdb->get_results("SELECT ID, post_parent FROM $wpdb->posts WHERE post_type = 'page'"); - $children = array(); - - for ( $i = 0; $i < 50 && $parent > 0; $i++ ) { - $children[] = $parent; - - foreach ( $pages as $page ) { - if ( $page->ID == $parent ) { - $parent = $page->post_parent; - break; - } - } - } - } - - $updated = $skipped = $locked = array(); - $shared_post_data = $post_data; - - foreach ( $post_IDs as $post_ID ) { - // Start with fresh post data with each iteration. - $post_data = $shared_post_data; - - $post_type_object = get_post_type_object( get_post_type( $post_ID ) ); - - if ( !isset( $post_type_object ) || ( isset($children) && in_array($post_ID, $children) ) || !current_user_can( 'edit_post', $post_ID ) ) { - $skipped[] = $post_ID; - continue; - } - - if ( wp_check_post_lock( $post_ID ) ) { - $locked[] = $post_ID; - continue; - } - - $post = get_post( $post_ID ); - $tax_names = get_object_taxonomies( $post ); - foreach ( $tax_names as $tax_name ) { - $taxonomy_obj = get_taxonomy($tax_name); - if ( isset( $tax_input[$tax_name]) && current_user_can( $taxonomy_obj->cap->assign_terms ) ) - $new_terms = $tax_input[$tax_name]; - else - $new_terms = array(); - - if ( $taxonomy_obj->hierarchical ) - $current_terms = (array) wp_get_object_terms( $post_ID, $tax_name, array('fields' => 'ids') ); - else - $current_terms = (array) wp_get_object_terms( $post_ID, $tax_name, array('fields' => 'names') ); - - $post_data['tax_input'][$tax_name] = array_merge( $current_terms, $new_terms ); - } - - if ( isset($new_cats) && in_array( 'category', $tax_names ) ) { - $cats = (array) wp_get_post_categories($post_ID); - $post_data['post_category'] = array_unique( array_merge($cats, $new_cats) ); - unset( $post_data['tax_input']['category'] ); - } - - $post_data['post_type'] = $post->post_type; - $post_data['post_mime_type'] = $post->post_mime_type; - $post_data['guid'] = $post->guid; - - foreach ( array( 'comment_status', 'ping_status', 'post_author' ) as $field ) { - if ( ! isset( $post_data[ $field ] ) ) { - $post_data[ $field ] = $post->$field; - } - } - - $post_data['ID'] = $post_ID; - $post_data['post_ID'] = $post_ID; - - $post_data = _wp_translate_postdata( true, $post_data ); - if ( is_wp_error( $post_data ) ) { - $skipped[] = $post_ID; - continue; - } - - $updated[] = wp_update_post( $post_data ); - - if ( isset( $post_data['sticky'] ) && current_user_can( $ptype->cap->edit_others_posts ) ) { - if ( 'sticky' == $post_data['sticky'] ) - stick_post( $post_ID ); - else - unstick_post( $post_ID ); - } - - if ( isset( $post_data['post_format'] ) ) - set_post_format( $post_ID, $post_data['post_format'] ); - } - - return array( 'updated' => $updated, 'skipped' => $skipped, 'locked' => $locked ); -} - -/** - * Default post information to use when populating the "Write Post" form. - * - * @since 2.0.0 - * - * @param string $post_type A post type string, defaults to 'post'. - * @return WP_Post Post object containing all the default post data as attributes - */ -function get_default_post_to_edit( $post_type = 'post', $create_in_db = false ) { - $post_title = ''; - if ( !empty( $_REQUEST['post_title'] ) ) - $post_title = esc_html( wp_unslash( $_REQUEST['post_title'] )); - - $post_content = ''; - if ( !empty( $_REQUEST['content'] ) ) - $post_content = esc_html( wp_unslash( $_REQUEST['content'] )); - - $post_excerpt = ''; - if ( !empty( $_REQUEST['excerpt'] ) ) - $post_excerpt = esc_html( wp_unslash( $_REQUEST['excerpt'] )); - - if ( $create_in_db ) { - $post_id = wp_insert_post( array( 'post_title' => __( 'Auto Draft' ), 'post_type' => $post_type, 'post_status' => 'auto-draft' ) ); - $post = get_post( $post_id ); - if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post->post_type, 'post-formats' ) && get_option( 'default_post_format' ) ) - set_post_format( $post, get_option( 'default_post_format' ) ); - } else { - $post = new stdClass; - $post->ID = 0; - $post->post_author = ''; - $post->post_date = ''; - $post->post_date_gmt = ''; - $post->post_password = ''; - $post->post_type = $post_type; - $post->post_status = 'draft'; - $post->to_ping = ''; - $post->pinged = ''; - $post->comment_status = get_option( 'default_comment_status' ); - $post->ping_status = get_option( 'default_ping_status' ); - $post->post_pingback = get_option( 'default_pingback_flag' ); - $post->post_category = get_option( 'default_category' ); - $post->page_template = 'default'; - $post->post_parent = 0; - $post->menu_order = 0; - $post = new WP_Post( $post ); - } - - /** - * Filter the default post content initially used in the "Write Post" form. - * - * @since 1.5.0 - * - * @param string $post_content Default post content. - * @param WP_Post $post Post object. - */ - $post->post_content = apply_filters( 'default_content', $post_content, $post ); - - /** - * Filter the default post title initially used in the "Write Post" form. - * - * @since 1.5.0 - * - * @param string $post_title Default post title. - * @param WP_Post $post Post object. - */ - $post->post_title = apply_filters( 'default_title', $post_title, $post ); - - /** - * Filter the default post excerpt initially used in the "Write Post" form. - * - * @since 1.5.0 - * - * @param string $post_excerpt Default post excerpt. - * @param WP_Post $post Post object. - */ - $post->post_excerpt = apply_filters( 'default_excerpt', $post_excerpt, $post ); - $post->post_name = ''; - - return $post; -} - -/** - * Determine if a post exists based on title, content, and date - * - * @since 2.0.0 - * - * @param string $title Post title - * @param string $content Optional post content - * @param string $date Optional post date - * @return int Post ID if post exists, 0 otherwise. - */ -function post_exists($title, $content = '', $date = '') { - global $wpdb; - - $post_title = wp_unslash( sanitize_post_field( 'post_title', $title, 0, 'db' ) ); - $post_content = wp_unslash( sanitize_post_field( 'post_content', $content, 0, 'db' ) ); - $post_date = wp_unslash( sanitize_post_field( 'post_date', $date, 0, 'db' ) ); - - $query = "SELECT ID FROM $wpdb->posts WHERE 1=1"; - $args = array(); - - if ( !empty ( $date ) ) { - $query .= ' AND post_date = %s'; - $args[] = $post_date; - } - - if ( !empty ( $title ) ) { - $query .= ' AND post_title = %s'; - $args[] = $post_title; - } - - if ( !empty ( $content ) ) { - $query .= 'AND post_content = %s'; - $args[] = $post_content; - } - - if ( !empty ( $args ) ) - return (int) $wpdb->get_var( $wpdb->prepare($query, $args) ); - - return 0; -} - -/** - * Creates a new post from the "Write Post" form using $_POST information. - * - * @since 2.1.0 - * - * @return unknown - */ -function wp_write_post() { - if ( isset($_POST['post_type']) ) - $ptype = get_post_type_object($_POST['post_type']); - else - $ptype = get_post_type_object('post'); - - if ( !current_user_can( $ptype->cap->edit_posts ) ) { - if ( 'page' == $ptype->name ) - return new WP_Error( 'edit_pages', __( 'You are not allowed to create pages on this site.' ) ); - else - return new WP_Error( 'edit_posts', __( 'You are not allowed to create posts or drafts on this site.' ) ); - } - - $_POST['post_mime_type'] = ''; - - // Clear out any data in internal vars. - unset( $_POST['filter'] ); - - // Edit don't write if we have a post id. - if ( isset( $_POST['post_ID'] ) ) - return edit_post(); - - if ( isset($_POST['visibility']) ) { - switch ( $_POST['visibility'] ) { - case 'public' : - $_POST['post_password'] = ''; - break; - case 'password' : - unset( $_POST['sticky'] ); - break; - case 'private' : - $_POST['post_status'] = 'private'; - $_POST['post_password'] = ''; - unset( $_POST['sticky'] ); - break; - } - } - - $translated = _wp_translate_postdata( false ); - if ( is_wp_error($translated) ) - return $translated; - - // Create the post. - $post_ID = wp_insert_post( $_POST ); - if ( is_wp_error( $post_ID ) ) - return $post_ID; - - if ( empty($post_ID) ) - return 0; - - add_meta( $post_ID ); - - add_post_meta( $post_ID, '_edit_last', $GLOBALS['current_user']->ID ); - - // Now that we have an ID we can fix any attachment anchor hrefs - _fix_attachment_links( $post_ID ); - - wp_set_post_lock( $post_ID ); - - return $post_ID; -} - -/** - * Calls wp_write_post() and handles the errors. - * - * @since 2.0.0 - - * @uses wp_write_post() - * @uses is_wp_error() - * @uses wp_die() - * @return unknown - */ -function write_post() { - $result = wp_write_post(); - if ( is_wp_error( $result ) ) - wp_die( $result->get_error_message() ); - else - return $result; -} - -// -// Post Meta -// - -/** - * {@internal Missing Short Description}} - * - * @since 1.2.0 - * - * @param unknown_type $post_ID - * @return unknown - */ -function add_meta( $post_ID ) { - $post_ID = (int) $post_ID; - - $metakeyselect = isset($_POST['metakeyselect']) ? wp_unslash( trim( $_POST['metakeyselect'] ) ) : ''; - $metakeyinput = isset($_POST['metakeyinput']) ? wp_unslash( trim( $_POST['metakeyinput'] ) ) : ''; - $metavalue = isset($_POST['metavalue']) ? $_POST['metavalue'] : ''; - if ( is_string( $metavalue ) ) - $metavalue = trim( $metavalue ); - - if ( ('0' === $metavalue || ! empty ( $metavalue ) ) && ( ( ( '#NONE#' != $metakeyselect ) && !empty ( $metakeyselect) ) || !empty ( $metakeyinput ) ) ) { - /* - * We have a key/value pair. If both the select and the input - * for the key have data, the input takes precedence. - */ - if ( '#NONE#' != $metakeyselect ) - $metakey = $metakeyselect; - - if ( $metakeyinput ) - $metakey = $metakeyinput; // default - - if ( is_protected_meta( $metakey, 'post' ) || ! current_user_can( 'add_post_meta', $post_ID, $metakey ) ) - return false; - - $metakey = wp_slash( $metakey ); - - return add_post_meta( $post_ID, $metakey, $metavalue ); - } - - return false; -} // add_meta - -/** - * {@internal Missing Short Description}} - * - * @since 1.2.0 - * - * @param unknown_type $mid - * @return unknown - */ -function delete_meta( $mid ) { - return delete_metadata_by_mid( 'post' , $mid ); -} - -/** - * Get a list of previously defined keys. - * - * @since 1.2.0 - * - * @return unknown - */ -function get_meta_keys() { - global $wpdb; - - $keys = $wpdb->get_col( " - SELECT meta_key - FROM $wpdb->postmeta - GROUP BY meta_key - ORDER BY meta_key" ); - - return $keys; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.1.0 - * - * @param unknown_type $mid - * @return unknown - */ -function get_post_meta_by_id( $mid ) { - return get_metadata_by_mid( 'post', $mid ); -} - -/** - * {@internal Missing Short Description}} - * - * Some postmeta stuff. - * - * @since 1.2.0 - * - * @param unknown_type $postid - * @return unknown - */ -function has_meta( $postid ) { - global $wpdb; - - return $wpdb->get_results( $wpdb->prepare("SELECT meta_key, meta_value, meta_id, post_id - FROM $wpdb->postmeta WHERE post_id = %d - ORDER BY meta_key,meta_id", $postid), ARRAY_A ); -} - -/** - * {@internal Missing Short Description}} - * - * @since 1.2.0 - * - * @param unknown_type $meta_id - * @param unknown_type $meta_key Expect Slashed - * @param unknown_type $meta_value Expect Slashed - * @return unknown - */ -function update_meta( $meta_id, $meta_key, $meta_value ) { - $meta_key = wp_unslash( $meta_key ); - $meta_value = wp_unslash( $meta_value ); - - return update_metadata_by_mid( 'post', $meta_id, $meta_value, $meta_key ); -} - -// -// Private -// - -/** - * Replace hrefs of attachment anchors with up-to-date permalinks. - * - * @since 2.3.0 - * @access private - * - * @param int|object $post Post ID or post object. - * @return void|int|WP_Error Void if nothing fixed. 0 or WP_Error on update failure. The post ID on update success. - */ -function _fix_attachment_links( $post ) { - $post = get_post( $post, ARRAY_A ); - $content = $post['post_content']; - - // Don't run if no pretty permalinks or post is not published, scheduled, or privately published. - if ( ! get_option( 'permalink_structure' ) || ! in_array( $post['post_status'], array( 'publish', 'future', 'private' ) ) ) - return; - - // Short if there aren't any links or no '?attachment_id=' strings (strpos cannot be zero) - if ( !strpos($content, '?attachment_id=') || !preg_match_all( '/]+)>[\s\S]+?<\/a>/', $content, $link_matches ) ) - return; - - $site_url = get_bloginfo('url'); - $site_url = substr( $site_url, (int) strpos($site_url, '://') ); // remove the http(s) - $replace = ''; - - foreach ( $link_matches[1] as $key => $value ) { - if ( !strpos($value, '?attachment_id=') || !strpos($value, 'wp-att-') - || !preg_match( '/href=(["\'])[^"\']*\?attachment_id=(\d+)[^"\']*\\1/', $value, $url_match ) - || !preg_match( '/rel=["\'][^"\']*wp-att-(\d+)/', $value, $rel_match ) ) - continue; - - $quote = $url_match[1]; // the quote (single or double) - $url_id = (int) $url_match[2]; - $rel_id = (int) $rel_match[1]; - - if ( !$url_id || !$rel_id || $url_id != $rel_id || strpos($url_match[0], $site_url) === false ) - continue; - - $link = $link_matches[0][$key]; - $replace = str_replace( $url_match[0], 'href=' . $quote . get_attachment_link( $url_id ) . $quote, $link ); - - $content = str_replace( $link, $replace, $content ); - } - - if ( $replace ) { - $post['post_content'] = $content; - // Escape data pulled from DB. - $post = add_magic_quotes($post); - - return wp_update_post($post); - } -} - -/** - * Get all the possible statuses for a post_type - * - * @since 2.5.0 - * - * @param string $type The post_type you want the statuses for - * @return array As array of all the statuses for the supplied post type - */ -function get_available_post_statuses($type = 'post') { - $stati = wp_count_posts($type); - - return array_keys(get_object_vars($stati)); -} - -/** - * Run the wp query to fetch the posts for listing on the edit posts page - * - * @since 2.5.0 - * - * @param array|bool $q Array of query variables to use to build the query or false to use $_GET superglobal. - * @return array - */ -function wp_edit_posts_query( $q = false ) { - if ( false === $q ) - $q = $_GET; - $q['m'] = isset($q['m']) ? (int) $q['m'] : 0; - $q['cat'] = isset($q['cat']) ? (int) $q['cat'] : 0; - $post_stati = get_post_stati(); - - if ( isset($q['post_type']) && in_array( $q['post_type'], get_post_types() ) ) - $post_type = $q['post_type']; - else - $post_type = 'post'; - - $avail_post_stati = get_available_post_statuses($post_type); - - if ( isset($q['post_status']) && in_array( $q['post_status'], $post_stati ) ) { - $post_status = $q['post_status']; - $perm = 'readable'; - } - - if ( isset($q['orderby']) ) - $orderby = $q['orderby']; - elseif ( isset($q['post_status']) && in_array($q['post_status'], array('pending', 'draft')) ) - $orderby = 'modified'; - - if ( isset($q['order']) ) - $order = $q['order']; - elseif ( isset($q['post_status']) && 'pending' == $q['post_status'] ) - $order = 'ASC'; - - $per_page = "edit_{$post_type}_per_page"; - $posts_per_page = (int) get_user_option( $per_page ); - if ( empty( $posts_per_page ) || $posts_per_page < 1 ) - $posts_per_page = 20; - - /** - * Filter the number of items per page to show for a specific 'per_page' type. - * - * The dynamic portion of the hook name, $post_type, refers to the post type. - * - * Some examples of filter hooks generated here include: 'edit_attachment_per_page', - * 'edit_post_per_page', 'edit_page_per_page', etc. - * - * @since 3.0.0 - * - * @param int $posts_per_page Number of posts to display per page for the given post - * type. Default 20. - */ - $posts_per_page = apply_filters( "edit_{$post_type}_per_page", $posts_per_page ); - - /** - * Filter the number of posts displayed per page when specifically listing "posts". - * - * @since 2.8.0 - * - * @param int $posts_per_page Number of posts to be displayed. Default 20. - * @param string $post_type The post type. - */ - $posts_per_page = apply_filters( 'edit_posts_per_page', $posts_per_page, $post_type ); - - $query = compact('post_type', 'post_status', 'perm', 'order', 'orderby', 'posts_per_page'); - - // Hierarchical types require special args. - if ( is_post_type_hierarchical( $post_type ) && !isset($orderby) ) { - $query['orderby'] = 'menu_order title'; - $query['order'] = 'asc'; - $query['posts_per_page'] = -1; - $query['posts_per_archive_page'] = -1; - } - - if ( ! empty( $q['show_sticky'] ) ) - $query['post__in'] = (array) get_option( 'sticky_posts' ); - - wp( $query ); - - return $avail_post_stati; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @param unknown_type $type - * @return unknown - */ -function get_available_post_mime_types($type = 'attachment') { - global $wpdb; - - $types = $wpdb->get_col($wpdb->prepare("SELECT DISTINCT post_mime_type FROM $wpdb->posts WHERE post_type = %s", $type)); - return $types; -} - -/** - * Executes a query for attachments. An array of WP_Query arguments - * can be passed in, which will override the arguments set by this function. - * - * @since 2.5.0 - * - * @param array|bool $q Array of query variables to use to build the query or false to use $_GET superglobal. - * @return array - */ -function wp_edit_attachments_query( $q = false ) { - if ( false === $q ) - $q = $_GET; - - $q['m'] = isset( $q['m'] ) ? (int) $q['m'] : 0; - $q['cat'] = isset( $q['cat'] ) ? (int) $q['cat'] : 0; - $q['post_type'] = 'attachment'; - $post_type = get_post_type_object( 'attachment' ); - $states = 'inherit'; - if ( current_user_can( $post_type->cap->read_private_posts ) ) - $states .= ',private'; - - $q['post_status'] = isset( $q['status'] ) && 'trash' == $q['status'] ? 'trash' : $states; - $q['post_status'] = isset( $q['attachment-filter'] ) && 'trash' == $q['attachment-filter'] ? 'trash' : $states; - - $media_per_page = (int) get_user_option( 'upload_per_page' ); - if ( empty( $media_per_page ) || $media_per_page < 1 ) - $media_per_page = 20; - - /** - * Filter the number of items to list per page when listing media items. - * - * @since 2.9.0 - * - * @param int $media_per_page Number of media to list. Default 20. - */ - $q['posts_per_page'] = apply_filters( 'upload_per_page', $media_per_page ); - - $post_mime_types = get_post_mime_types(); - $avail_post_mime_types = get_available_post_mime_types('attachment'); - - if ( isset($q['post_mime_type']) && !array_intersect( (array) $q['post_mime_type'], array_keys($post_mime_types) ) ) - unset($q['post_mime_type']); - - foreach( array_keys( $post_mime_types ) as $type ) { - if ( isset( $q['attachment-filter'] ) && "post_mime_type:$type" == $q['attachment-filter'] ) { - $q['post_mime_type'] = $type; - break; - } - } - - if ( isset( $q['detached'] ) || ( isset( $q['attachment-filter'] ) && 'detached' == $q['attachment-filter'] ) ) { - $q['post_parent'] = 0; - } - - wp( $q ); - - return array($post_mime_types, $avail_post_mime_types); -} - -/** - * Returns the list of classes to be used by a metabox - * - * @uses get_user_option() - * @since 2.5.0 - * - * @param unknown_type $id - * @param unknown_type $page - * @return unknown - */ -function postbox_classes( $id, $page ) { - if ( isset( $_GET['edit'] ) && $_GET['edit'] == $id ) { - $classes = array( '' ); - } elseif ( $closed = get_user_option('closedpostboxes_'.$page ) ) { - if ( !is_array( $closed ) ) { - $classes = array( '' ); - } else { - $classes = in_array( $id, $closed ) ? array( 'closed' ) : array( '' ); - } - } else { - $classes = array( '' ); - } - - /** - * Filter the postbox classes for a specific screen and screen ID combo. - * - * The dynamic portions of the hook name, $page, and $id, refer to - * the screen, and screen ID, respectively. - * - * @since 3.2.0 - * - * @param array $classes An array of postbox classes. - */ - $classes = apply_filters( "postbox_classes_{$page}_{$id}", $classes ); - return implode( ' ', $classes ); -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @param int|object $id Post ID or post object. - * @param string $title (optional) Title - * @param string $name (optional) Name - * @return array With two entries of type string - */ -function get_sample_permalink($id, $title = null, $name = null) { - $post = get_post( $id ); - if ( ! $post ) - return array( '', '' ); - - $ptype = get_post_type_object($post->post_type); - - $original_status = $post->post_status; - $original_date = $post->post_date; - $original_name = $post->post_name; - - // Hack: get_permalink() would return ugly permalink for drafts, so we will fake that our post is published. - if ( in_array( $post->post_status, array( 'draft', 'pending' ) ) ) { - $post->post_status = 'publish'; - $post->post_name = sanitize_title($post->post_name ? $post->post_name : $post->post_title, $post->ID); - } - - // If the user wants to set a new name -- override the current one - // Note: if empty name is supplied -- use the title instead, see #6072 - if ( !is_null($name) ) - $post->post_name = sanitize_title($name ? $name : $title, $post->ID); - - $post->post_name = wp_unique_post_slug($post->post_name, $post->ID, $post->post_status, $post->post_type, $post->post_parent); - - $post->filter = 'sample'; - - $permalink = get_permalink($post, true); - - // Replace custom post_type Token with generic pagename token for ease of use. - $permalink = str_replace("%$post->post_type%", '%pagename%', $permalink); - - // Handle page hierarchy - if ( $ptype->hierarchical ) { - $uri = get_page_uri($post); - $uri = untrailingslashit($uri); - $uri = strrev( stristr( strrev( $uri ), '/' ) ); - $uri = untrailingslashit($uri); - - /** This filter is documented in wp-admin/edit-tag-form.php */ - $uri = apply_filters( 'editable_slug', $uri ); - if ( !empty($uri) ) - $uri .= '/'; - $permalink = str_replace('%pagename%', "{$uri}%pagename%", $permalink); - } - - /** This filter is documented in wp-admin/edit-tag-form.php */ - $permalink = array( $permalink, apply_filters( 'editable_slug', $post->post_name ) ); - $post->post_status = $original_status; - $post->post_date = $original_date; - $post->post_name = $original_name; - unset($post->filter); - - return $permalink; -} - -/** - * Returns the HTML of the sample permalink slug editor. - * - * @since 2.5.0 - * - * @param int|object $id Post ID or post object. - * @param string $new_title Optional. New title. - * @param string $new_slug Optional. New slug. - * @return string The HTML of the sample permalink slug editor. - */ -function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) { - $post = get_post( $id ); - if ( ! $post ) - return ''; - - list($permalink, $post_name) = get_sample_permalink($post->ID, $new_title, $new_slug); - - if ( current_user_can( 'read_post', $post->ID ) ) { - $ptype = get_post_type_object( $post->post_type ); - $view_post = $ptype->labels->view_item; - } - - if ( 'publish' == get_post_status( $post ) ) { - $title = __('Click to edit this part of the permalink'); - } else { - $title = __('Temporary permalink. Click to edit this part.'); - } - - if ( false === strpos( $permalink, '%postname%' ) && false === strpos( $permalink, '%pagename%' ) ) { - $return = '' . __('Permalink:') . "\n" . '' . $permalink . "\n"; - if ( '' == get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && !( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') ) ) { - $return .= '' . __('Change Permalinks') . "\n"; - } - } else { - if ( function_exists( 'mb_strlen' ) ) { - if ( mb_strlen( $post_name ) > 30 ) { - $post_name_abridged = mb_substr( $post_name, 0, 14 ) . '…' . mb_substr( $post_name, -14 ); - } else { - $post_name_abridged = $post_name; - } - } else { - if ( strlen( $post_name ) > 30 ) { - $post_name_abridged = substr( $post_name, 0, 14 ) . '…' . substr( $post_name, -14 ); - } else { - $post_name_abridged = $post_name; - } - } - - $post_name_html = '' . $post_name_abridged . ''; - $display_link = str_replace( array( '%pagename%', '%postname%' ), $post_name_html, $permalink ); - - $return = '' . __( 'Permalink:' ) . "\n"; - $return .= '' . $display_link . "\n"; - $return .= '‎'; // Fix bi-directional text display defect in RTL languages. - $return .= '' . __( 'Edit' ) . "\n"; - $return .= '' . $post_name . "\n"; - } - - if ( isset( $view_post ) ) { - if( 'draft' == $post->post_status ) { - $preview_link = set_url_scheme( get_permalink( $post->ID ) ); - /** This filter is documented in wp-admin/includes/meta-boxes.php */ - $preview_link = apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', $preview_link ), $post ); - $return .= "$view_post\n"; - } else { - $return .= "$view_post\n"; - } - } - - /** - * Filter the sample permalink HTML markup. - * - * @since 2.9.0 - * - * @param string $return Sample permalink HTML markup. - * @param int|WP_Post $id Post object or ID. - * @param string $new_title New sample permalink title. - * @param string $new_slug New sample permalink slug. - */ - $return = apply_filters( 'get_sample_permalink_html', $return, $id, $new_title, $new_slug ); - - return $return; -} - -/** - * Output HTML for the post thumbnail meta-box. - * - * @since 2.9.0 - * - * @param int $thumbnail_id ID of the attachment used for thumbnail - * @param mixed $post The post ID or object associated with the thumbnail, defaults to global $post. - * @return string html - */ -function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) { - global $content_width, $_wp_additional_image_sizes; - - $post = get_post( $post ); - - $upload_iframe_src = esc_url( get_upload_iframe_src('image', $post->ID ) ); - $set_thumbnail_link = '

    %s

    '; - $content = sprintf( $set_thumbnail_link, $upload_iframe_src, esc_html__( 'Set featured image' ) ); - - if ( $thumbnail_id && get_post( $thumbnail_id ) ) { - $old_content_width = $content_width; - $content_width = 266; - if ( !isset( $_wp_additional_image_sizes['post-thumbnail'] ) ) - $thumbnail_html = wp_get_attachment_image( $thumbnail_id, array( $content_width, $content_width ) ); - else - $thumbnail_html = wp_get_attachment_image( $thumbnail_id, 'post-thumbnail' ); - if ( !empty( $thumbnail_html ) ) { - $ajax_nonce = wp_create_nonce( 'set_post_thumbnail-' . $post->ID ); - $content = sprintf( $set_thumbnail_link, $upload_iframe_src, $thumbnail_html ); - $content .= '

    ' . esc_html__( 'Remove featured image' ) . '

    '; - } - $content_width = $old_content_width; - } - - /** - * Filter the admin post thumbnail HTML markup to return. - * - * @since 2.9.0 - * - * @param string $content Admin post thumbnail HTML markup. - * @param int $post_id Post ID. - */ - return apply_filters( 'admin_post_thumbnail_html', $content, $post->ID ); -} - -/** - * Check to see if the post is currently being edited by another user. - * - * @since 2.5.0 - * - * @param int $post_id ID of the post to check for editing - * @return bool|int False: not locked or locked by current user. Int: user ID of user with lock. - */ -function wp_check_post_lock( $post_id ) { - if ( !$post = get_post( $post_id ) ) - return false; - - if ( !$lock = get_post_meta( $post->ID, '_edit_lock', true ) ) - return false; - - $lock = explode( ':', $lock ); - $time = $lock[0]; - $user = isset( $lock[1] ) ? $lock[1] : get_post_meta( $post->ID, '_edit_last', true ); - - /** This filter is documented in wp-admin/includes/ajax-actions.php */ - $time_window = apply_filters( 'wp_check_post_lock_window', 150 ); - - if ( $time && $time > time() - $time_window && $user != get_current_user_id() ) - return $user; - return false; -} - -/** - * Mark the post as currently being edited by the current user - * - * @since 2.5.0 - * - * @param int $post_id ID of the post to being edited - * @return bool|array Returns false if the post doesn't exist of there is no current user, or - * an array of the lock time and the user ID. - */ -function wp_set_post_lock( $post_id ) { - if ( !$post = get_post( $post_id ) ) - return false; - if ( 0 == ($user_id = get_current_user_id()) ) - return false; - - $now = time(); - $lock = "$now:$user_id"; - - update_post_meta( $post->ID, '_edit_lock', $lock ); - return array( $now, $user_id ); -} - -/** - * Outputs the HTML for the notice to say that someone else is editing or has taken over editing of this post. - * - * @since 2.8.5 - * @return none - */ -function _admin_notice_post_locked() { - if ( ! $post = get_post() ) - return; - - $user = null; - if ( $user_id = wp_check_post_lock( $post->ID ) ) - $user = get_userdata( $user_id ); - - if ( $user ) { - - /** - * Filter whether to show the post locked dialog. - * - * Returning a falsey value to the filter will short-circuit displaying the dialog. - * - * @since 3.6.0 - * - * @param bool $display Whether to display the dialog. Default true. - * @param WP_User|bool $user WP_User object on success, false otherwise. - */ - if ( ! apply_filters( 'show_post_locked_dialog', true, $post, $user ) ) - return; - - $locked = true; - } else { - $locked = false; - } - - if ( $locked && ( $sendback = wp_get_referer() ) && - false === strpos( $sendback, 'post.php' ) && false === strpos( $sendback, 'post-new.php' ) ) { - - $sendback_text = __('Go back'); - } else { - $sendback = admin_url( 'edit.php' ); - - if ( 'post' != $post->post_type ) - $sendback = add_query_arg( 'post_type', $post->post_type, $sendback ); - - $sendback_text = get_post_type_object( $post->post_type )->labels->all_items; - } - - $hidden = $locked ? '' : ' hidden'; - - ?> -
    -
    -
    - post_type )->public ) { - $preview_link = set_url_scheme( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ); - - if ( 'publish' == $post->post_status || $user->ID != $post->post_author ) { - // Latest content is in autosave - $nonce = wp_create_nonce( 'post_preview_' . $post->ID ); - $preview_link = add_query_arg( array( 'preview_id' => $post->ID, 'preview_nonce' => $nonce ), $preview_link ); - } - } else { - $preview_link = ''; - } - - /** This filter is documented in wp-admin/includes/meta-boxes.php */ - $preview_link = apply_filters( 'preview_post_link', $preview_link, $post ); - - /** - * Filter whether to allow the post lock to be overridden. - * - * Returning a falsey value to the filter will disable the ability - * to override the post lock. - * - * @since 3.6.0 - * - * @param bool $override Whether to allow overriding post locks. Default true. - * @param WP_Post $post Post object. - * @param WP_User $user User object. - */ - $override = apply_filters( 'override_post_lock', true, $post, $user ); - $tab_last = $override ? '' : ' wp-tab-last'; - - ?> -
    -
    ID, 64 ); ?>
    -

    - display_name ) ); - ?> -

    - -

    - - - - - - -

    -
    - -
    -
    -

    -
    - - -

    - -

    -
    - -
    -
    - ID; - $new_autosave['post_author'] = $post_author; - - // If the new autosave has the same content as the post, delete the autosave. - $post = get_post( $post_id ); - $autosave_is_different = false; - foreach ( array_intersect( array_keys( $new_autosave ), array_keys( _wp_post_revision_fields() ) ) as $field ) { - if ( normalize_whitespace( $new_autosave[ $field ] ) != normalize_whitespace( $post->$field ) ) { - $autosave_is_different = true; - break; - } - } - - if ( ! $autosave_is_different ) { - wp_delete_post_revision( $old_autosave->ID ); - return 0; - } - - return wp_update_post( $new_autosave ); - } - - // _wp_put_post_revision() expects unescaped. - $post_data = wp_unslash( $post_data ); - - // Otherwise create the new autosave as a special post revision - return _wp_put_post_revision( $post_data, true ); -} - -/** - * Save draft or manually autosave for showing preview. - * - * @package WordPress - * @since 2.7.0 - * - * @uses get_post_status() - * @uses edit_post() - * @uses get_post() - * @uses current_user_can() - * @uses wp_die() - * @uses wp_create_post_autosave() - * @uses add_query_arg() - * @uses wp_create_nonce() - * - * @return str URL to redirect to show the preview - */ -function post_preview() { - - $post_ID = (int) $_POST['post_ID']; - $_POST['ID'] = $post_ID; - - if ( ! $post = get_post( $post_ID ) ) { - wp_die( __( 'You are not allowed to edit this post.' ) ); - } - - if ( ! current_user_can( 'edit_post', $post->ID ) ) { - wp_die( __( 'You are not allowed to edit this post.' ) ); - } - - $is_autosave = false; - - if ( ! wp_check_post_lock( $post->ID ) && get_current_user_id() == $post->post_author && ( 'draft' == $post->post_status || 'auto-draft' == $post->post_status ) ) { - $saved_post_id = edit_post(); - } else { - $is_autosave = true; - - if ( 'auto-draft' == $_POST['post_status'] ) - $_POST['post_status'] = 'draft'; - - $saved_post_id = wp_create_post_autosave( $post->ID ); - } - - if ( is_wp_error( $saved_post_id ) ) - wp_die( $saved_post_id->get_error_message() ); - - $query_args = array( 'preview' => 'true' ); - - if ( $is_autosave && $saved_post_id ) { - $query_args['preview_id'] = $post->ID; - $query_args['preview_nonce'] = wp_create_nonce( 'post_preview_' . $post->ID ); - - if ( isset( $_POST['post_format'] ) ) - $query_args['post_format'] = empty( $_POST['post_format'] ) ? 'standard' : sanitize_key( $_POST['post_format'] ); - } - - $url = add_query_arg( $query_args, get_permalink( $post->ID ) ); - - /** This filter is documented in wp-admin/includes/meta-boxes.php */ - return apply_filters( 'preview_post_link', $url, $post ); -} - -/** - * Save a post submitted with XHR - * - * Intended for use with heartbeat and autosave.js - * - * @since 3.9.0 - * - * @param $post_data Associative array of the submitted post data. - * @return mixed The value 0 or WP_Error on failure. The saved post ID on success. - * Te ID can be the draft post_id or the autosave revision post_id. - */ -function wp_autosave( $post_data ) { - // Back-compat - if ( ! defined( 'DOING_AUTOSAVE' ) ) - define( 'DOING_AUTOSAVE', true ); - - $post_id = (int) $post_data['post_id']; - $post_data['ID'] = $post_data['post_ID'] = $post_id; - - if ( false === wp_verify_nonce( $post_data['_wpnonce'], 'update-post_' . $post_id ) ) { - return new WP_Error( 'invalid_nonce', __( 'Error while saving.' ) ); - } - - $post = get_post( $post_id ); - - if ( ! current_user_can( 'edit_post', $post->ID ) ) { - return new WP_Error( 'edit_posts', __( 'You are not allowed to edit this item.' ) ); - } - - if ( 'auto-draft' == $post->post_status ) - $post_data['post_status'] = 'draft'; - - if ( $post_data['post_type'] != 'page' && ! empty( $post_data['catslist'] ) ) - $post_data['post_category'] = explode( ',', $post_data['catslist'] ); - - if ( ! wp_check_post_lock( $post->ID ) && get_current_user_id() == $post->post_author && ( 'auto-draft' == $post->post_status || 'draft' == $post->post_status ) ) { - // Drafts and auto-drafts are just overwritten by autosave for the same user if the post is not locked - return edit_post( wp_slash( $post_data ) ); - } else { - // Non drafts or other users drafts are not overwritten. The autosave is stored in a special post revision for each user. - return wp_create_post_autosave( wp_slash( $post_data ) ); - } -} diff --git a/sources/wordpress/wp-admin/includes/revision.php b/sources/wordpress/wp-admin/includes/revision.php deleted file mode 100644 index 151cd64..0000000 --- a/sources/wordpress/wp-admin/includes/revision.php +++ /dev/null @@ -1,228 +0,0 @@ -post_parent !== $post->ID && $compare_from->ID !== $post->ID ) - return false; - if ( $compare_to->post_parent !== $post->ID && $compare_to->ID !== $post->ID ) - return false; - - if ( $compare_from && strtotime( $compare_from->post_date_gmt ) > strtotime( $compare_to->post_date_gmt ) ) { - $temp = $compare_from; - $compare_from = $compare_to; - $compare_to = $temp; - } - - // Add default title if title field is empty - if ( $compare_from && empty( $compare_from->post_title ) ) - $compare_from->post_title = __( '(no title)' ); - if ( empty( $compare_to->post_title ) ) - $compare_to->post_title = __( '(no title)' ); - - $return = array(); - - foreach ( _wp_post_revision_fields() as $field => $name ) { - /** - * Contextually filter a post revision field. - * - * The dynamic portion of the hook name, $field, corresponds to each of the post - * fields of the revision object being iterated over in a foreach statement. - * - * @since 3.6.0 - * - * @param string $compare_from->$field The current revision field to compare to or from. - * @param string $field The current revision field. - * @param WP_Post $compare_from The revision post object to compare to or from. - * @param string null The context of whether the current revision is the old or the new one. Values are 'to' or 'from'. - */ - $content_from = $compare_from ? apply_filters( "_wp_post_revision_field_$field", $compare_from->$field, $field, $compare_from, 'from' ) : ''; - - /** This filter is documented in wp-admin/includes/revision.php */ - $content_to = apply_filters( "_wp_post_revision_field_$field", $compare_to->$field, $field, $compare_to, 'to' ); - - $diff = wp_text_diff( $content_from, $content_to, array( 'show_split_view' => true ) ); - - if ( ! $diff && 'post_title' === $field ) { - // It's a better user experience to still show the Title, even if it didn't change. - // No, you didn't see this. - $diff = ''; - $diff .= ''; - $diff .= ''; - $diff .= '
    ' . esc_html( $compare_from->post_title ) . '' . esc_html( $compare_to->post_title ) . '
    '; - } - - if ( $diff ) { - $return[] = array( - 'id' => $field, - 'name' => $name, - 'diff' => $diff, - ); - } - } - return $return; -} - -/** - * Prepare revisions for JavaScript. - * - * @since 3.6.0 - * - * @param object|int $post The post object. Also accepts a post ID. - * @param int $selected_revision_id The selected revision ID. - * @param int $from Optional. The revision ID to compare from. - * - * @return array An associative array of revision data and related settings. - */ -function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null ) { - $post = get_post( $post ); - $authors = array(); - $now_gmt = time(); - - $revisions = wp_get_post_revisions( $post->ID, array( 'order' => 'ASC', 'check_enabled' => false ) ); - // If revisions are disabled, we only want autosaves and the current post. - if ( ! wp_revisions_enabled( $post ) ) { - foreach ( $revisions as $revision_id => $revision ) { - if ( ! wp_is_post_autosave( $revision ) ) - unset( $revisions[ $revision_id ] ); - } - $revisions = array( $post->ID => $post ) + $revisions; - } - - $show_avatars = get_option( 'show_avatars' ); - - cache_users( wp_list_pluck( $revisions, 'post_author' ) ); - - $can_restore = current_user_can( 'edit_post', $post->ID ); - $current_id = false; - - foreach ( $revisions as $revision ) { - $modified = strtotime( $revision->post_modified ); - $modified_gmt = strtotime( $revision->post_modified_gmt ); - if ( $can_restore ) { - $restore_link = str_replace( '&', '&', wp_nonce_url( - add_query_arg( - array( 'revision' => $revision->ID, - 'action' => 'restore' ), - admin_url( 'revision.php' ) - ), - "restore-post_{$revision->ID}" - ) ); - } - - if ( ! isset( $authors[ $revision->post_author ] ) ) { - $authors[ $revision->post_author ] = array( - 'id' => (int) $revision->post_author, - 'avatar' => $show_avatars ? get_avatar( $revision->post_author, 32 ) : '', - 'name' => get_the_author_meta( 'display_name', $revision->post_author ), - ); - } - - $autosave = (bool) wp_is_post_autosave( $revision ); - $current = ! $autosave && $revision->post_modified_gmt === $post->post_modified_gmt; - if ( $current && ! empty( $current_id ) ) { - // If multiple revisions have the same post_modified_gmt, highest ID is current. - if ( $current_id < $revision->ID ) { - $revisions[ $current_id ]['current'] = false; - $current_id = $revision->ID; - } else { - $current = false; - } - } elseif ( $current ) { - $current_id = $revision->ID; - } - - $revisions[ $revision->ID ] = array( - 'id' => $revision->ID, - 'title' => get_the_title( $post->ID ), - 'author' => $authors[ $revision->post_author ], - 'date' => date_i18n( __( 'M j, Y @ G:i' ), $modified ), - 'dateShort' => date_i18n( _x( 'j M @ G:i', 'revision date short format' ), $modified ), - 'timeAgo' => sprintf( __( '%s ago' ), human_time_diff( $modified_gmt, $now_gmt ) ), - 'autosave' => $autosave, - 'current' => $current, - 'restoreUrl' => $can_restore ? $restore_link : false, - ); - } - - /* - * If a post has been saved since the last revision (no revisioned fields - * were changed), we may not have a "current" revision. Mark the latest - * revision as "current". - */ - if ( empty( $current_id ) ) { - if ( $revisions[ $revision->ID ]['autosave'] ) { - $revision = end( $revisions ); - while ( $revision['autosave'] ) { - $revision = prev( $revisions ); - } - $current_id = $revision['id']; - } else { - $current_id = $revision->ID; - } - $revisions[ $current_id ]['current'] = true; - } - - // Now, grab the initial diff. - $compare_two_mode = is_numeric( $from ); - if ( ! $compare_two_mode ) { - $found = array_search( $selected_revision_id, array_keys( $revisions ) ); - if ( $found ) { - $from = array_keys( array_slice( $revisions, $found - 1, 1, true ) ); - $from = reset( $from ); - } else { - $from = 0; - } - } - - $from = absint( $from ); - - $diffs = array( array( - 'id' => $from . ':' . $selected_revision_id, - 'fields' => wp_get_revision_ui_diff( $post->ID, $from, $selected_revision_id ), - )); - - return array( - 'postId' => $post->ID, - 'nonce' => wp_create_nonce( 'revisions-ajax-nonce' ), - 'revisionData' => array_values( $revisions ), - 'to' => $selected_revision_id, - 'from' => $from, - 'diffData' => $diffs, - 'baseUrl' => parse_url( admin_url( 'revision.php' ), PHP_URL_PATH ), - 'compareTwoMode' => absint( $compare_two_mode ), // Apparently booleans are not allowed - 'revisionIds' => array_keys( $revisions ), - ); -} diff --git a/sources/wordpress/wp-admin/includes/schema.php b/sources/wordpress/wp-admin/includes/schema.php deleted file mode 100644 index 1fc432f..0000000 --- a/sources/wordpress/wp-admin/includes/schema.php +++ /dev/null @@ -1,1037 +0,0 @@ -get_charset_collate(); - -/** - * Retrieve the SQL for creating database tables. - * - * @since 3.3.0 - * - * @param string $scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all. - * @param int $blog_id Optional. The blog ID for which to retrieve SQL. Default is the current blog ID. - * @return string The SQL needed to create the requested tables. - */ -function wp_get_db_schema( $scope = 'all', $blog_id = null ) { - global $wpdb; - - $charset_collate = ''; - - if ( ! empty($wpdb->charset) ) - $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset"; - if ( ! empty($wpdb->collate) ) - $charset_collate .= " COLLATE $wpdb->collate"; - - if ( $blog_id && $blog_id != $wpdb->blogid ) - $old_blog_id = $wpdb->set_blog_id( $blog_id ); - - // Engage multisite if in the middle of turning it on from network.php. - $is_multisite = is_multisite() || ( defined( 'WP_INSTALLING_NETWORK' ) && WP_INSTALLING_NETWORK ); - - // Blog specific tables. - $blog_tables = "CREATE TABLE $wpdb->terms ( - term_id bigint(20) unsigned NOT NULL auto_increment, - name varchar(200) NOT NULL default '', - slug varchar(200) NOT NULL default '', - term_group bigint(10) NOT NULL default 0, - PRIMARY KEY (term_id), - UNIQUE KEY slug (slug), - KEY name (name) -) $charset_collate; -CREATE TABLE $wpdb->term_taxonomy ( - term_taxonomy_id bigint(20) unsigned NOT NULL auto_increment, - term_id bigint(20) unsigned NOT NULL default 0, - taxonomy varchar(32) NOT NULL default '', - description longtext NOT NULL, - parent bigint(20) unsigned NOT NULL default 0, - count bigint(20) NOT NULL default 0, - PRIMARY KEY (term_taxonomy_id), - UNIQUE KEY term_id_taxonomy (term_id,taxonomy), - KEY taxonomy (taxonomy) -) $charset_collate; -CREATE TABLE $wpdb->term_relationships ( - object_id bigint(20) unsigned NOT NULL default 0, - term_taxonomy_id bigint(20) unsigned NOT NULL default 0, - term_order int(11) NOT NULL default 0, - PRIMARY KEY (object_id,term_taxonomy_id), - KEY term_taxonomy_id (term_taxonomy_id) -) $charset_collate; -CREATE TABLE $wpdb->commentmeta ( - meta_id bigint(20) unsigned NOT NULL auto_increment, - comment_id bigint(20) unsigned NOT NULL default '0', - meta_key varchar(255) default NULL, - meta_value longtext, - PRIMARY KEY (meta_id), - KEY comment_id (comment_id), - KEY meta_key (meta_key) -) $charset_collate; -CREATE TABLE $wpdb->comments ( - comment_ID bigint(20) unsigned NOT NULL auto_increment, - comment_post_ID bigint(20) unsigned NOT NULL default '0', - comment_author tinytext NOT NULL, - comment_author_email varchar(100) NOT NULL default '', - comment_author_url varchar(200) NOT NULL default '', - comment_author_IP varchar(100) NOT NULL default '', - comment_date datetime NOT NULL default '0000-00-00 00:00:00', - comment_date_gmt datetime NOT NULL default '0000-00-00 00:00:00', - comment_content text NOT NULL, - comment_karma int(11) NOT NULL default '0', - comment_approved varchar(20) NOT NULL default '1', - comment_agent varchar(255) NOT NULL default '', - comment_type varchar(20) NOT NULL default '', - comment_parent bigint(20) unsigned NOT NULL default '0', - user_id bigint(20) unsigned NOT NULL default '0', - PRIMARY KEY (comment_ID), - KEY comment_post_ID (comment_post_ID), - KEY comment_approved_date_gmt (comment_approved,comment_date_gmt), - KEY comment_date_gmt (comment_date_gmt), - KEY comment_parent (comment_parent), - KEY comment_author_email (comment_author_email(10)) -) $charset_collate; -CREATE TABLE $wpdb->links ( - link_id bigint(20) unsigned NOT NULL auto_increment, - link_url varchar(255) NOT NULL default '', - link_name varchar(255) NOT NULL default '', - link_image varchar(255) NOT NULL default '', - link_target varchar(25) NOT NULL default '', - link_description varchar(255) NOT NULL default '', - link_visible varchar(20) NOT NULL default 'Y', - link_owner bigint(20) unsigned NOT NULL default '1', - link_rating int(11) NOT NULL default '0', - link_updated datetime NOT NULL default '0000-00-00 00:00:00', - link_rel varchar(255) NOT NULL default '', - link_notes mediumtext NOT NULL, - link_rss varchar(255) NOT NULL default '', - PRIMARY KEY (link_id), - KEY link_visible (link_visible) -) $charset_collate; -CREATE TABLE $wpdb->options ( - option_id bigint(20) unsigned NOT NULL auto_increment, - option_name varchar(64) NOT NULL default '', - option_value longtext NOT NULL, - autoload varchar(20) NOT NULL default 'yes', - PRIMARY KEY (option_id), - UNIQUE KEY option_name (option_name) -) $charset_collate; -CREATE TABLE $wpdb->postmeta ( - meta_id bigint(20) unsigned NOT NULL auto_increment, - post_id bigint(20) unsigned NOT NULL default '0', - meta_key varchar(255) default NULL, - meta_value longtext, - PRIMARY KEY (meta_id), - KEY post_id (post_id), - KEY meta_key (meta_key) -) $charset_collate; -CREATE TABLE $wpdb->posts ( - ID bigint(20) unsigned NOT NULL auto_increment, - post_author bigint(20) unsigned NOT NULL default '0', - post_date datetime NOT NULL default '0000-00-00 00:00:00', - post_date_gmt datetime NOT NULL default '0000-00-00 00:00:00', - post_content longtext NOT NULL, - post_title text NOT NULL, - post_excerpt text NOT NULL, - post_status varchar(20) NOT NULL default 'publish', - comment_status varchar(20) NOT NULL default 'open', - ping_status varchar(20) NOT NULL default 'open', - post_password varchar(20) NOT NULL default '', - post_name varchar(200) NOT NULL default '', - to_ping text NOT NULL, - pinged text NOT NULL, - post_modified datetime NOT NULL default '0000-00-00 00:00:00', - post_modified_gmt datetime NOT NULL default '0000-00-00 00:00:00', - post_content_filtered longtext NOT NULL, - post_parent bigint(20) unsigned NOT NULL default '0', - guid varchar(255) NOT NULL default '', - menu_order int(11) NOT NULL default '0', - post_type varchar(20) NOT NULL default 'post', - post_mime_type varchar(100) NOT NULL default '', - comment_count bigint(20) NOT NULL default '0', - PRIMARY KEY (ID), - KEY post_name (post_name), - KEY type_status_date (post_type,post_status,post_date,ID), - KEY post_parent (post_parent), - KEY post_author (post_author) -) $charset_collate;\n"; - - // Single site users table. The multisite flavor of the users table is handled below. - $users_single_table = "CREATE TABLE $wpdb->users ( - ID bigint(20) unsigned NOT NULL auto_increment, - user_login varchar(60) NOT NULL default '', - user_pass varchar(64) NOT NULL default '', - user_nicename varchar(50) NOT NULL default '', - user_email varchar(100) NOT NULL default '', - user_url varchar(100) NOT NULL default '', - user_registered datetime NOT NULL default '0000-00-00 00:00:00', - user_activation_key varchar(60) NOT NULL default '', - user_status int(11) NOT NULL default '0', - display_name varchar(250) NOT NULL default '', - PRIMARY KEY (ID), - KEY user_login_key (user_login), - KEY user_nicename (user_nicename) -) $charset_collate;\n"; - - // Multisite users table - $users_multi_table = "CREATE TABLE $wpdb->users ( - ID bigint(20) unsigned NOT NULL auto_increment, - user_login varchar(60) NOT NULL default '', - user_pass varchar(64) NOT NULL default '', - user_nicename varchar(50) NOT NULL default '', - user_email varchar(100) NOT NULL default '', - user_url varchar(100) NOT NULL default '', - user_registered datetime NOT NULL default '0000-00-00 00:00:00', - user_activation_key varchar(60) NOT NULL default '', - user_status int(11) NOT NULL default '0', - display_name varchar(250) NOT NULL default '', - spam tinyint(2) NOT NULL default '0', - deleted tinyint(2) NOT NULL default '0', - PRIMARY KEY (ID), - KEY user_login_key (user_login), - KEY user_nicename (user_nicename) -) $charset_collate;\n"; - - // Usermeta. - $usermeta_table = "CREATE TABLE $wpdb->usermeta ( - umeta_id bigint(20) unsigned NOT NULL auto_increment, - user_id bigint(20) unsigned NOT NULL default '0', - meta_key varchar(255) default NULL, - meta_value longtext, - PRIMARY KEY (umeta_id), - KEY user_id (user_id), - KEY meta_key (meta_key) -) $charset_collate;\n"; - - // Global tables - if ( $is_multisite ) - $global_tables = $users_multi_table . $usermeta_table; - else - $global_tables = $users_single_table . $usermeta_table; - - // Multisite global tables. - $ms_global_tables = "CREATE TABLE $wpdb->blogs ( - blog_id bigint(20) NOT NULL auto_increment, - site_id bigint(20) NOT NULL default '0', - domain varchar(200) NOT NULL default '', - path varchar(100) NOT NULL default '', - registered datetime NOT NULL default '0000-00-00 00:00:00', - last_updated datetime NOT NULL default '0000-00-00 00:00:00', - public tinyint(2) NOT NULL default '1', - archived tinyint(2) NOT NULL default '0', - mature tinyint(2) NOT NULL default '0', - spam tinyint(2) NOT NULL default '0', - deleted tinyint(2) NOT NULL default '0', - lang_id int(11) NOT NULL default '0', - PRIMARY KEY (blog_id), - KEY domain (domain(50),path(5)), - KEY lang_id (lang_id) -) $charset_collate; -CREATE TABLE $wpdb->blog_versions ( - blog_id bigint(20) NOT NULL default '0', - db_version varchar(20) NOT NULL default '', - last_updated datetime NOT NULL default '0000-00-00 00:00:00', - PRIMARY KEY (blog_id), - KEY db_version (db_version) -) $charset_collate; -CREATE TABLE $wpdb->registration_log ( - ID bigint(20) NOT NULL auto_increment, - email varchar(255) NOT NULL default '', - IP varchar(30) NOT NULL default '', - blog_id bigint(20) NOT NULL default '0', - date_registered datetime NOT NULL default '0000-00-00 00:00:00', - PRIMARY KEY (ID), - KEY IP (IP) -) $charset_collate; -CREATE TABLE $wpdb->site ( - id bigint(20) NOT NULL auto_increment, - domain varchar(200) NOT NULL default '', - path varchar(100) NOT NULL default '', - PRIMARY KEY (id), - KEY domain (domain,path) -) $charset_collate; -CREATE TABLE $wpdb->sitemeta ( - meta_id bigint(20) NOT NULL auto_increment, - site_id bigint(20) NOT NULL default '0', - meta_key varchar(255) default NULL, - meta_value longtext, - PRIMARY KEY (meta_id), - KEY meta_key (meta_key), - KEY site_id (site_id) -) $charset_collate; -CREATE TABLE $wpdb->signups ( - signup_id bigint(20) NOT NULL auto_increment, - domain varchar(200) NOT NULL default '', - path varchar(100) NOT NULL default '', - title longtext NOT NULL, - user_login varchar(60) NOT NULL default '', - user_email varchar(100) NOT NULL default '', - registered datetime NOT NULL default '0000-00-00 00:00:00', - activated datetime NOT NULL default '0000-00-00 00:00:00', - active tinyint(1) NOT NULL default '0', - activation_key varchar(50) NOT NULL default '', - meta longtext, - PRIMARY KEY (signup_id), - KEY activation_key (activation_key), - KEY user_email (user_email), - KEY user_login_email (user_login,user_email), - KEY domain_path (domain,path) -) $charset_collate;"; - - switch ( $scope ) { - case 'blog' : - $queries = $blog_tables; - break; - case 'global' : - $queries = $global_tables; - if ( $is_multisite ) - $queries .= $ms_global_tables; - break; - case 'ms_global' : - $queries = $ms_global_tables; - break; - case 'all' : - default: - $queries = $global_tables . $blog_tables; - if ( $is_multisite ) - $queries .= $ms_global_tables; - break; - } - - if ( isset( $old_blog_id ) ) - $wpdb->set_blog_id( $old_blog_id ); - - return $queries; -} - -// Populate for back compat. -$wp_queries = wp_get_db_schema( 'all' ); - -/** - * Create WordPress options and set the default values. - * - * @since 1.5.0 - * @uses $wpdb - * @uses $wp_db_version - */ -function populate_options() { - global $wpdb, $wp_db_version, $wp_current_db_version; - - $guessurl = wp_guess_url(); - /** - * Fires before creating WordPress options and populating their default values. - * - * @since 2.6.0 - */ - do_action( 'populate_options' ); - - if ( ini_get('safe_mode') ) { - // Safe mode can break mkdir() so use a flat structure by default. - $uploads_use_yearmonth_folders = 0; - } else { - $uploads_use_yearmonth_folders = 1; - } - - $template = WP_DEFAULT_THEME; - // If default theme is a child theme, we need to get its template - $theme = wp_get_theme( $template ); - if ( ! $theme->errors() ) - $template = $theme->get_template(); - - $timezone_string = ''; - $gmt_offset = 0; - /* translators: default GMT offset or timezone string. Must be either a valid offset (-12 to 14) - or a valid timezone string (America/New_York). See http://us3.php.net/manual/en/timezones.php - for all timezone strings supported by PHP. - */ - $offset_or_tz = _x( '0', 'default GMT offset or timezone string' ); - if ( is_numeric( $offset_or_tz ) ) - $gmt_offset = $offset_or_tz; - elseif ( $offset_or_tz && in_array( $offset_or_tz, timezone_identifiers_list() ) ) - $timezone_string = $offset_or_tz; - - $options = array( - 'siteurl' => $guessurl, - 'home' => $guessurl, - 'blogname' => __('My Site'), - /* translators: blog tagline */ - 'blogdescription' => __('Just another WordPress site'), - 'users_can_register' => 0, - 'admin_email' => 'you@example.com', - /* translators: default start of the week. 0 = Sunday, 1 = Monday */ - 'start_of_week' => _x( '1', 'start of week' ), - 'use_balanceTags' => 0, - 'use_smilies' => 1, - 'require_name_email' => 1, - 'comments_notify' => 1, - 'posts_per_rss' => 10, - 'rss_use_excerpt' => 0, - 'mailserver_url' => 'mail.example.com', - 'mailserver_login' => 'login@example.com', - 'mailserver_pass' => 'password', - 'mailserver_port' => 110, - 'default_category' => 1, - 'default_comment_status' => 'open', - 'default_ping_status' => 'open', - 'default_pingback_flag' => 1, - 'posts_per_page' => 10, - /* translators: default date format, see http://php.net/date */ - 'date_format' => __('F j, Y'), - /* translators: default time format, see http://php.net/date */ - 'time_format' => __('g:i a'), - /* translators: links last updated date format, see http://php.net/date */ - 'links_updated_date_format' => __('F j, Y g:i a'), - 'comment_moderation' => 0, - 'moderation_notify' => 1, - 'permalink_structure' => '', - 'gzipcompression' => 0, - 'hack_file' => 0, - 'blog_charset' => 'UTF-8', - 'moderation_keys' => '', - 'active_plugins' => array(), - 'category_base' => '', - 'ping_sites' => 'http://rpc.pingomatic.com/', - 'advanced_edit' => 0, - 'comment_max_links' => 2, - 'gmt_offset' => $gmt_offset, - - // 1.5 - 'default_email_category' => 1, - 'recently_edited' => '', - 'template' => $template, - 'stylesheet' => WP_DEFAULT_THEME, - 'comment_whitelist' => 1, - 'blacklist_keys' => '', - 'comment_registration' => 0, - 'html_type' => 'text/html', - - // 1.5.1 - 'use_trackback' => 0, - - // 2.0 - 'default_role' => 'subscriber', - 'db_version' => $wp_db_version, - - // 2.0.1 - 'uploads_use_yearmonth_folders' => $uploads_use_yearmonth_folders, - 'upload_path' => '', - - // 2.1 - 'blog_public' => '1', - 'default_link_category' => 2, - 'show_on_front' => 'posts', - - // 2.2 - 'tag_base' => '', - - // 2.5 - 'show_avatars' => '1', - 'avatar_rating' => 'G', - 'upload_url_path' => '', - 'thumbnail_size_w' => 150, - 'thumbnail_size_h' => 150, - 'thumbnail_crop' => 1, - 'medium_size_w' => 300, - 'medium_size_h' => 300, - - // 2.6 - 'avatar_default' => 'mystery', - - // 2.7 - 'large_size_w' => 1024, - 'large_size_h' => 1024, - 'image_default_link_type' => 'file', - 'image_default_size' => '', - 'image_default_align' => '', - 'close_comments_for_old_posts' => 0, - 'close_comments_days_old' => 14, - 'thread_comments' => 1, - 'thread_comments_depth' => 5, - 'page_comments' => 0, - 'comments_per_page' => 50, - 'default_comments_page' => 'newest', - 'comment_order' => 'asc', - 'sticky_posts' => array(), - 'widget_categories' => array(), - 'widget_text' => array(), - 'widget_rss' => array(), - 'uninstall_plugins' => array(), - - // 2.8 - 'timezone_string' => $timezone_string, - - // 3.0 - 'page_for_posts' => 0, - 'page_on_front' => 0, - - // 3.1 - 'default_post_format' => 0, - - // 3.5 - 'link_manager_enabled' => 0, - ); - - // 3.3 - if ( ! is_multisite() ) { - $options['initial_db_version'] = ! empty( $wp_current_db_version ) && $wp_current_db_version < $wp_db_version - ? $wp_current_db_version : $wp_db_version; - } - - // 3.0 multisite - if ( is_multisite() ) { - /* translators: blog tagline */ - $options[ 'blogdescription' ] = sprintf(__('Just another %s site'), get_current_site()->site_name ); - $options[ 'permalink_structure' ] = '/%year%/%monthnum%/%day%/%postname%/'; - } - - // Set autoload to no for these options - $fat_options = array( 'moderation_keys', 'recently_edited', 'blacklist_keys', 'uninstall_plugins' ); - - $keys = "'" . implode( "', '", array_keys( $options ) ) . "'"; - $existing_options = $wpdb->get_col( "SELECT option_name FROM $wpdb->options WHERE option_name in ( $keys )" ); - - $insert = ''; - foreach ( $options as $option => $value ) { - if ( in_array($option, $existing_options) ) - continue; - if ( in_array($option, $fat_options) ) - $autoload = 'no'; - else - $autoload = 'yes'; - - if ( is_array($value) ) - $value = serialize($value); - if ( !empty($insert) ) - $insert .= ', '; - $insert .= $wpdb->prepare( "(%s, %s, %s)", $option, $value, $autoload ); - } - - if ( !empty($insert) ) - $wpdb->query("INSERT INTO $wpdb->options (option_name, option_value, autoload) VALUES " . $insert); - - // In case it is set, but blank, update "home". - if ( !__get_option('home') ) update_option('home', $guessurl); - - // Delete unused options. - $unusedoptions = array( - 'blodotgsping_url', 'bodyterminator', 'emailtestonly', 'phoneemail_separator', 'smilies_directory', - 'subjectprefix', 'use_bbcode', 'use_blodotgsping', 'use_phoneemail', 'use_quicktags', 'use_weblogsping', - 'weblogs_cache_file', 'use_preview', 'use_htmltrans', 'smilies_directory', 'fileupload_allowedusers', - 'use_phoneemail', 'default_post_status', 'default_post_category', 'archive_mode', 'time_difference', - 'links_minadminlevel', 'links_use_adminlevels', 'links_rating_type', 'links_rating_char', - 'links_rating_ignore_zero', 'links_rating_single_image', 'links_rating_image0', 'links_rating_image1', - 'links_rating_image2', 'links_rating_image3', 'links_rating_image4', 'links_rating_image5', - 'links_rating_image6', 'links_rating_image7', 'links_rating_image8', 'links_rating_image9', - 'links_recently_updated_time', 'links_recently_updated_prepend', 'links_recently_updated_append', - 'weblogs_cacheminutes', 'comment_allowed_tags', 'search_engine_friendly_urls', 'default_geourl_lat', - 'default_geourl_lon', 'use_default_geourl', 'weblogs_xml_url', 'new_users_can_blog', '_wpnonce', - '_wp_http_referer', 'Update', 'action', 'rich_editing', 'autosave_interval', 'deactivated_plugins', - 'can_compress_scripts', 'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron', - 'random_seed', 'rss_excerpt_length', 'secret', 'use_linksupdate', 'default_comment_status_page', - 'wporg_popular_tags', 'what_to_show', 'rss_language', 'language', 'enable_xmlrpc', 'enable_app', - 'embed_autourls', 'default_post_edit_rows', - ); - foreach ( $unusedoptions as $option ) - delete_option($option); - - // Delete obsolete magpie stuff. - $wpdb->query("DELETE FROM $wpdb->options WHERE option_name REGEXP '^rss_[0-9a-f]{32}(_ts)?$'"); - - /* - * Deletes all expired transients. The multi-table delete syntax is used - * to delete the transient record from table a, and the corresponding - * transient_timeout record from table b. - */ - $time = time(); - $sql = "DELETE a, b FROM $wpdb->options a, $wpdb->options b - WHERE a.option_name LIKE %s - AND a.option_name NOT LIKE %s - AND b.option_name = CONCAT( '_transient_timeout_', SUBSTRING( a.option_name, 12 ) ) - AND b.option_value < %d"; - $wpdb->query( $wpdb->prepare( $sql, $wpdb->esc_like( '_transient_' ) . '%', $wpdb->esc_like( '_transient_timeout_' ) . '%', $time ) ); - - if ( is_main_site() && is_main_network() ) { - $sql = "DELETE a, b FROM $wpdb->options a, $wpdb->options b - WHERE a.option_name LIKE %s - AND a.option_name NOT LIKE %s - AND b.option_name = CONCAT( '_site_transient_timeout_', SUBSTRING( a.option_name, 17 ) ) - AND b.option_value < %d"; - $wpdb->query( $wpdb->prepare( $sql, $wpdb->esc_like( '_site_transient_' ) . '%', $wpdb->esc_like( '_site_transient_timeout_' ) . '%', $time ) ); - } -} - -/** - * Execute WordPress role creation for the various WordPress versions. - * - * @since 2.0.0 - */ -function populate_roles() { - populate_roles_160(); - populate_roles_210(); - populate_roles_230(); - populate_roles_250(); - populate_roles_260(); - populate_roles_270(); - populate_roles_280(); - populate_roles_300(); -} - -/** - * Create the roles for WordPress 2.0 - * - * @since 2.0.0 - */ -function populate_roles_160() { - // Add roles - - // Dummy gettext calls to get strings in the catalog. - /* translators: user role */ - _x('Administrator', 'User role'); - /* translators: user role */ - _x('Editor', 'User role'); - /* translators: user role */ - _x('Author', 'User role'); - /* translators: user role */ - _x('Contributor', 'User role'); - /* translators: user role */ - _x('Subscriber', 'User role'); - - add_role('administrator', 'Administrator'); - add_role('editor', 'Editor'); - add_role('author', 'Author'); - add_role('contributor', 'Contributor'); - add_role('subscriber', 'Subscriber'); - - // Add caps for Administrator role - $role = get_role('administrator'); - $role->add_cap('switch_themes'); - $role->add_cap('edit_themes'); - $role->add_cap('activate_plugins'); - $role->add_cap('edit_plugins'); - $role->add_cap('edit_users'); - $role->add_cap('edit_files'); - $role->add_cap('manage_options'); - $role->add_cap('moderate_comments'); - $role->add_cap('manage_categories'); - $role->add_cap('manage_links'); - $role->add_cap('upload_files'); - $role->add_cap('import'); - $role->add_cap('unfiltered_html'); - $role->add_cap('edit_posts'); - $role->add_cap('edit_others_posts'); - $role->add_cap('edit_published_posts'); - $role->add_cap('publish_posts'); - $role->add_cap('edit_pages'); - $role->add_cap('read'); - $role->add_cap('level_10'); - $role->add_cap('level_9'); - $role->add_cap('level_8'); - $role->add_cap('level_7'); - $role->add_cap('level_6'); - $role->add_cap('level_5'); - $role->add_cap('level_4'); - $role->add_cap('level_3'); - $role->add_cap('level_2'); - $role->add_cap('level_1'); - $role->add_cap('level_0'); - - // Add caps for Editor role - $role = get_role('editor'); - $role->add_cap('moderate_comments'); - $role->add_cap('manage_categories'); - $role->add_cap('manage_links'); - $role->add_cap('upload_files'); - $role->add_cap('unfiltered_html'); - $role->add_cap('edit_posts'); - $role->add_cap('edit_others_posts'); - $role->add_cap('edit_published_posts'); - $role->add_cap('publish_posts'); - $role->add_cap('edit_pages'); - $role->add_cap('read'); - $role->add_cap('level_7'); - $role->add_cap('level_6'); - $role->add_cap('level_5'); - $role->add_cap('level_4'); - $role->add_cap('level_3'); - $role->add_cap('level_2'); - $role->add_cap('level_1'); - $role->add_cap('level_0'); - - // Add caps for Author role - $role = get_role('author'); - $role->add_cap('upload_files'); - $role->add_cap('edit_posts'); - $role->add_cap('edit_published_posts'); - $role->add_cap('publish_posts'); - $role->add_cap('read'); - $role->add_cap('level_2'); - $role->add_cap('level_1'); - $role->add_cap('level_0'); - - // Add caps for Contributor role - $role = get_role('contributor'); - $role->add_cap('edit_posts'); - $role->add_cap('read'); - $role->add_cap('level_1'); - $role->add_cap('level_0'); - - // Add caps for Subscriber role - $role = get_role('subscriber'); - $role->add_cap('read'); - $role->add_cap('level_0'); -} - -/** - * Create and modify WordPress roles for WordPress 2.1. - * - * @since 2.1.0 - */ -function populate_roles_210() { - $roles = array('administrator', 'editor'); - foreach ($roles as $role) { - $role = get_role($role); - if ( empty($role) ) - continue; - - $role->add_cap('edit_others_pages'); - $role->add_cap('edit_published_pages'); - $role->add_cap('publish_pages'); - $role->add_cap('delete_pages'); - $role->add_cap('delete_others_pages'); - $role->add_cap('delete_published_pages'); - $role->add_cap('delete_posts'); - $role->add_cap('delete_others_posts'); - $role->add_cap('delete_published_posts'); - $role->add_cap('delete_private_posts'); - $role->add_cap('edit_private_posts'); - $role->add_cap('read_private_posts'); - $role->add_cap('delete_private_pages'); - $role->add_cap('edit_private_pages'); - $role->add_cap('read_private_pages'); - } - - $role = get_role('administrator'); - if ( ! empty($role) ) { - $role->add_cap('delete_users'); - $role->add_cap('create_users'); - } - - $role = get_role('author'); - if ( ! empty($role) ) { - $role->add_cap('delete_posts'); - $role->add_cap('delete_published_posts'); - } - - $role = get_role('contributor'); - if ( ! empty($role) ) { - $role->add_cap('delete_posts'); - } -} - -/** - * Create and modify WordPress roles for WordPress 2.3. - * - * @since 2.3.0 - */ -function populate_roles_230() { - $role = get_role( 'administrator' ); - - if ( !empty( $role ) ) { - $role->add_cap( 'unfiltered_upload' ); - } -} - -/** - * Create and modify WordPress roles for WordPress 2.5. - * - * @since 2.5.0 - */ -function populate_roles_250() { - $role = get_role( 'administrator' ); - - if ( !empty( $role ) ) { - $role->add_cap( 'edit_dashboard' ); - } -} - -/** - * Create and modify WordPress roles for WordPress 2.6. - * - * @since 2.6.0 - */ -function populate_roles_260() { - $role = get_role( 'administrator' ); - - if ( !empty( $role ) ) { - $role->add_cap( 'update_plugins' ); - $role->add_cap( 'delete_plugins' ); - } -} - -/** - * Create and modify WordPress roles for WordPress 2.7. - * - * @since 2.7.0 - */ -function populate_roles_270() { - $role = get_role( 'administrator' ); - - if ( !empty( $role ) ) { - $role->add_cap( 'install_plugins' ); - $role->add_cap( 'update_themes' ); - } -} - -/** - * Create and modify WordPress roles for WordPress 2.8. - * - * @since 2.8.0 - */ -function populate_roles_280() { - $role = get_role( 'administrator' ); - - if ( !empty( $role ) ) { - $role->add_cap( 'install_themes' ); - } -} - -/** - * Create and modify WordPress roles for WordPress 3.0. - * - * @since 3.0.0 - */ -function populate_roles_300() { - $role = get_role( 'administrator' ); - - if ( !empty( $role ) ) { - $role->add_cap( 'update_core' ); - $role->add_cap( 'list_users' ); - $role->add_cap( 'remove_users' ); - - /* - * Never used, will be removed. create_users or promote_users - * is the capability you're looking for. - */ - $role->add_cap( 'add_users' ); - - $role->add_cap( 'promote_users' ); - $role->add_cap( 'edit_theme_options' ); - $role->add_cap( 'delete_themes' ); - $role->add_cap( 'export' ); - } -} - -/** - * Install Network. - * - * @since 3.0.0 - * - */ -if ( !function_exists( 'install_network' ) ) : -function install_network() { - if ( ! defined( 'WP_INSTALLING_NETWORK' ) ) - define( 'WP_INSTALLING_NETWORK', true ); - - dbDelta( wp_get_db_schema( 'global' ) ); -} -endif; - -/** - * Populate network settings. - * - * @since 3.0.0 - * - * @param int $network_id ID of network to populate. - * @return bool|WP_Error True on success, or WP_Error on warning (with the install otherwise successful, - * so the error code must be checked) or failure. - */ -function populate_network( $network_id = 1, $domain = '', $email = '', $site_name = '', $path = '/', $subdomain_install = false ) { - global $wpdb, $current_site, $wp_db_version, $wp_rewrite; - - $errors = new WP_Error(); - if ( '' == $domain ) - $errors->add( 'empty_domain', __( 'You must provide a domain name.' ) ); - if ( '' == $site_name ) - $errors->add( 'empty_sitename', __( 'You must provide a name for your network of sites.' ) ); - - // Check for network collision. - if ( $network_id == $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->site WHERE id = %d", $network_id ) ) ) - $errors->add( 'siteid_exists', __( 'The network already exists.' ) ); - - $site_user = get_user_by( 'email', $email ); - if ( ! is_email( $email ) ) - $errors->add( 'invalid_email', __( 'You must provide a valid e-mail address.' ) ); - - if ( $errors->get_error_code() ) - return $errors; - - // Set up site tables. - $template = get_option( 'template' ); - $stylesheet = get_option( 'stylesheet' ); - $allowed_themes = array( $stylesheet => true ); - if ( $template != $stylesheet ) - $allowed_themes[ $template ] = true; - if ( WP_DEFAULT_THEME != $stylesheet && WP_DEFAULT_THEME != $template ) - $allowed_themes[ WP_DEFAULT_THEME ] = true; - - if ( 1 == $network_id ) { - $wpdb->insert( $wpdb->site, array( 'domain' => $domain, 'path' => $path ) ); - $network_id = $wpdb->insert_id; - } else { - $wpdb->insert( $wpdb->site, array( 'domain' => $domain, 'path' => $path, 'id' => $network_id ) ); - } - - wp_cache_delete( 'networks_have_paths', 'site-options' ); - - if ( !is_multisite() ) { - $site_admins = array( $site_user->user_login ); - $users = get_users( array( 'fields' => array( 'ID', 'user_login' ) ) ); - if ( $users ) { - foreach ( $users as $user ) { - if ( is_super_admin( $user->ID ) && !in_array( $user->user_login, $site_admins ) ) - $site_admins[] = $user->user_login; - } - } - } else { - $site_admins = get_site_option( 'site_admins' ); - } - - $welcome_email = __( 'Dear User, - -Your new SITE_NAME site has been successfully set up at: -BLOG_URL - -You can log in to the administrator account with the following information: -Username: USERNAME -Password: PASSWORD -Log in here: BLOG_URLwp-login.php - -We hope you enjoy your new site. Thanks! - ---The Team @ SITE_NAME' ); - - $misc_exts = array( - // Images. - 'jpg', 'jpeg', 'png', 'gif', - // Video. - 'mov', 'avi', 'mpg', '3gp', '3g2', - // "audio". - 'midi', 'mid', - // Miscellaneous. - 'pdf', 'doc', 'ppt', 'odt', 'pptx', 'docx', 'pps', 'ppsx', 'xls', 'xlsx', 'key', - ); - $audio_exts = wp_get_audio_extensions(); - $video_exts = wp_get_video_extensions(); - $upload_filetypes = array_unique( array_merge( $misc_exts, $audio_exts, $video_exts ) ); - - $sitemeta = array( - 'site_name' => $site_name, - 'admin_email' => $site_user->user_email, - 'admin_user_id' => $site_user->ID, - 'registration' => 'none', - 'upload_filetypes' => implode( ' ', $upload_filetypes ), - 'blog_upload_space' => 100, - 'fileupload_maxk' => 1500, - 'site_admins' => $site_admins, - 'allowedthemes' => $allowed_themes, - 'illegal_names' => array( 'www', 'web', 'root', 'admin', 'main', 'invite', 'administrator', 'files' ), - 'wpmu_upgrade_site' => $wp_db_version, - 'welcome_email' => $welcome_email, - 'first_post' => __( 'Welcome to SITE_NAME. This is your first post. Edit or delete it, then start blogging!' ), - // @todo - network admins should have a method of editing the network siteurl (used for cookie hash) - 'siteurl' => get_option( 'siteurl' ) . '/', - 'add_new_users' => '0', - 'upload_space_check_disabled' => is_multisite() ? get_site_option( 'upload_space_check_disabled' ) : '1', - 'subdomain_install' => intval( $subdomain_install ), - 'global_terms_enabled' => global_terms_enabled() ? '1' : '0', - 'ms_files_rewriting' => is_multisite() ? get_site_option( 'ms_files_rewriting' ) : '0', - 'initial_db_version' => get_option( 'initial_db_version' ), - 'active_sitewide_plugins' => array(), - 'WPLANG' => get_locale(), - ); - if ( ! $subdomain_install ) - $sitemeta['illegal_names'][] = 'blog'; - - /** - * Filter meta for a network on creation. - * - * @since 3.7.0 - * - * @param array $sitemeta Associative array of network meta keys and values to be inserted. - * @param int $network_id ID of network to populate. - */ - $sitemeta = apply_filters( 'populate_network_meta', $sitemeta, $network_id ); - - $insert = ''; - foreach ( $sitemeta as $meta_key => $meta_value ) { - if ( is_array( $meta_value ) ) - $meta_value = serialize( $meta_value ); - if ( !empty( $insert ) ) - $insert .= ', '; - $insert .= $wpdb->prepare( "( %d, %s, %s)", $network_id, $meta_key, $meta_value ); - } - $wpdb->query( "INSERT INTO $wpdb->sitemeta ( site_id, meta_key, meta_value ) VALUES " . $insert ); - - /* - * When upgrading from single to multisite, assume the current site will - * become the main site of the network. When using populate_network() - * to create another network in an existing multisite environment, skip - * these steps since the main site of the new network has not yet been - * created. - */ - if ( ! is_multisite() ) { - $current_site = new stdClass; - $current_site->domain = $domain; - $current_site->path = $path; - $current_site->site_name = ucfirst( $domain ); - $wpdb->insert( $wpdb->blogs, array( 'site_id' => $network_id, 'blog_id' => 1, 'domain' => $domain, 'path' => $path, 'registered' => current_time( 'mysql' ) ) ); - $current_site->blog_id = $blog_id = $wpdb->insert_id; - update_user_meta( $site_user->ID, 'source_domain', $domain ); - update_user_meta( $site_user->ID, 'primary_blog', $blog_id ); - - if ( $subdomain_install ) - $wp_rewrite->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' ); - else - $wp_rewrite->set_permalink_structure( '/blog/%year%/%monthnum%/%day%/%postname%/' ); - - flush_rewrite_rules(); - - if ( ! $subdomain_install ) - return true; - - $vhost_ok = false; - $errstr = ''; - $hostname = substr( md5( time() ), 0, 6 ) . '.' . $domain; // Very random hostname! - $page = wp_remote_get( 'http://' . $hostname, array( 'timeout' => 5, 'httpversion' => '1.1' ) ); - if ( is_wp_error( $page ) ) - $errstr = $page->get_error_message(); - elseif ( 200 == wp_remote_retrieve_response_code( $page ) ) - $vhost_ok = true; - - if ( ! $vhost_ok ) { - $msg = '

    ' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '

    '; - $msg .= '

    ' . sprintf( __( 'The installer attempted to contact a random hostname (%1$s) on your domain.' ), $hostname ); - if ( ! empty ( $errstr ) ) - $msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '' . $errstr . '' ); - $msg .= '

    '; - $msg .= '

    ' . __( 'To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a * hostname record pointing at your web server in your DNS configuration tool.' ) . '

    '; - $msg .= '

    ' . __( 'You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.' ) . '

    '; - return new WP_Error( 'no_wildcard_dns', $msg ); - } - } - - return true; -} diff --git a/sources/wordpress/wp-admin/includes/screen.php b/sources/wordpress/wp-admin/includes/screen.php deleted file mode 100644 index 35f4267..0000000 --- a/sources/wordpress/wp-admin/includes/screen.php +++ /dev/null @@ -1,1179 +0,0 @@ - UI String - */ -function get_column_headers( $screen ) { - if ( is_string( $screen ) ) - $screen = convert_to_screen( $screen ); - - static $column_headers = array(); - - if ( ! isset( $column_headers[ $screen->id ] ) ) { - - /** - * Filter the column headers for a list table on a specific screen. - * - * The dynamic portion of the hook name, $screen->id, refers to the - * ID of a specific screen. For example, the screen ID for the Posts - * list table is edit-post, so the filter for that screen would be - * manage_edit-post_columns. - * - * @since 3.0.0 - * - * @param array $columns An array of column headers. Default empty. - */ - $column_headers[ $screen->id ] = apply_filters( "manage_{$screen->id}_columns", array() ); - } - - return $column_headers[ $screen->id ]; -} - -/** - * Get a list of hidden columns. - * - * @since 2.7.0 - * - * @param string|WP_Screen $screen The screen you want the hidden columns for - * @return array - */ -function get_hidden_columns( $screen ) { - if ( is_string( $screen ) ) - $screen = convert_to_screen( $screen ); - - return (array) get_user_option( 'manage' . $screen->id . 'columnshidden' ); -} - -/** - * Prints the meta box preferences for screen meta. - * - * @since 2.7.0 - * - * @param string|WP_Screen $screen - */ -function meta_box_prefs( $screen ) { - global $wp_meta_boxes; - - if ( is_string( $screen ) ) - $screen = convert_to_screen( $screen ); - - if ( empty($wp_meta_boxes[$screen->id]) ) - return; - - $hidden = get_hidden_meta_boxes($screen); - - foreach ( array_keys($wp_meta_boxes[$screen->id]) as $context ) { - foreach ( array_keys($wp_meta_boxes[$screen->id][$context]) as $priority ) { - foreach ( $wp_meta_boxes[$screen->id][$context][$priority] as $box ) { - if ( false == $box || ! $box['title'] ) - continue; - // Submit box cannot be hidden - if ( 'submitdiv' == $box['id'] || 'linksubmitdiv' == $box['id'] ) - continue; - $box_id = $box['id']; - echo '\n"; - } - } - } -} - -/** - * Get Hidden Meta Boxes - * - * @since 2.7.0 - * - * @param string|WP_Screen $screen Screen identifier - * @return array Hidden Meta Boxes - */ -function get_hidden_meta_boxes( $screen ) { - if ( is_string( $screen ) ) - $screen = convert_to_screen( $screen ); - - $hidden = get_user_option( "metaboxhidden_{$screen->id}" ); - - $use_defaults = ! is_array( $hidden ); - - // Hide slug boxes by default - if ( $use_defaults ) { - $hidden = array(); - if ( 'post' == $screen->base ) { - if ( 'post' == $screen->post_type || 'page' == $screen->post_type || 'attachment' == $screen->post_type ) - $hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt', 'commentstatusdiv', 'commentsdiv', 'authordiv', 'revisionsdiv'); - else - $hidden = array( 'slugdiv' ); - } - - /** - * Filter the default list of hidden meta boxes. - * - * @since 3.1.0 - * - * @param array $hidden An array of meta boxes hidden by default. - * @param WP_Screen $screen WP_Screen object of the current screen. - */ - $hidden = apply_filters( 'default_hidden_meta_boxes', $hidden, $screen ); - } - - /** - * Filter the list of hidden meta boxes. - * - * @since 3.3.0 - * - * @param array $hidden An array of hidden meta boxes. - * @param WP_Screen $screen WP_Screen object of the current screen. - * @param bool $use_defaults Whether to show the default meta boxes. - * Default true. - */ - return apply_filters( 'hidden_meta_boxes', $hidden, $screen, $use_defaults ); -} - -/** - * Register and configure an admin screen option - * - * @since 3.1.0 - * - * @param string $option An option name. - * @param mixed $args Option-dependent arguments. - */ -function add_screen_option( $option, $args = array() ) { - $current_screen = get_current_screen(); - - if ( ! $current_screen ) - return; - - $current_screen->add_option( $option, $args ); -} - -/** - * Get the current screen object - * - * @since 3.1.0 - * - * @return WP_Screen Current screen object - */ -function get_current_screen() { - global $current_screen; - - if ( ! isset( $current_screen ) ) - return null; - - return $current_screen; -} - -/** - * Set the current screen object - * - * @since 3.0.0 - * @uses $current_screen - * - * @param mixed $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen, - * or an existing screen object. - */ -function set_current_screen( $hook_name = '' ) { - WP_Screen::get( $hook_name )->set_current_screen(); -} - -/** - * A class representing the admin screen. - * - * @since 3.3.0 - * @access public - */ -final class WP_Screen { - /** - * Any action associated with the screen. 'add' for *-add.php and *-new.php screens. Empty otherwise. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $action; - - /** - * The base type of the screen. This is typically the same as $id but with any post types and taxonomies stripped. - * For example, for an $id of 'edit-post' the base is 'edit'. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $base; - - /** - * The number of columns to display. Access with get_columns(). - * - * @since 3.4.0 - * @var int - * @access private - */ - private $columns = 0; - - /** - * The unique ID of the screen. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $id; - - /** - * Which admin the screen is in. network | user | site | false - * - * @since 3.5.0 - * @var string - * @access protected - */ - protected $in_admin; - - /** - * Whether the screen is in the network admin. - * - * Deprecated. Use in_admin() instead. - * - * @since 3.3.0 - * @deprecated 3.5.0 - * @var bool - * @access public - */ - public $is_network; - - /** - * Whether the screen is in the user admin. - * - * Deprecated. Use in_admin() instead. - * - * @since 3.3.0 - * @deprecated 3.5.0 - * @var bool - * @access public - */ - public $is_user; - - /** - * The base menu parent. - * This is derived from $parent_file by removing the query string and any .php extension. - * $parent_file values of 'edit.php?post_type=page' and 'edit.php?post_type=post' have a $parent_base of 'edit'. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $parent_base; - - /** - * The parent_file for the screen per the admin menu system. - * Some $parent_file values are 'edit.php?post_type=page', 'edit.php', and 'options-general.php'. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $parent_file; - - /** - * The post type associated with the screen, if any. - * The 'edit.php?post_type=page' screen has a post type of 'page'. - * The 'edit-tags.php?taxonomy=$taxonomy&post_type=page' screen has a post type of 'page'. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $post_type; - - /** - * The taxonomy associated with the screen, if any. - * The 'edit-tags.php?taxonomy=category' screen has a taxonomy of 'category'. - * @since 3.3.0 - * @var string - * @access public - */ - public $taxonomy; - - /** - * The help tab data associated with the screen, if any. - * - * @since 3.3.0 - * @var array - * @access private - */ - private $_help_tabs = array(); - - /** - * The help sidebar data associated with screen, if any. - * - * @since 3.3.0 - * @var string - * @access private - */ - private $_help_sidebar = ''; - - /** - * Stores old string-based help. - */ - private static $_old_compat_help = array(); - - /** - * The screen options associated with screen, if any. - * - * @since 3.3.0 - * @var array - * @access private - */ - private $_options = array(); - - /** - * The screen object registry. - * - * @since 3.3.0 - * @var array - * @access private - */ - private static $_registry = array(); - - /** - * Stores the result of the public show_screen_options function. - * - * @since 3.3.0 - * @var bool - * @access private - */ - private $_show_screen_options; - - /** - * Stores the 'screen_settings' section of screen options. - * - * @since 3.3.0 - * @var string - * @access private - */ - private $_screen_settings; - - /** - * Fetches a screen object. - * - * @since 3.3.0 - * @access public - * - * @param string $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen. - * Defaults to the current $hook_suffix global. - * @return WP_Screen Screen object. - */ - public static function get( $hook_name = '' ) { - - if ( is_a( $hook_name, 'WP_Screen' ) ) - return $hook_name; - - $post_type = $taxonomy = null; - $in_admin = false; - $action = ''; - - if ( $hook_name ) - $id = $hook_name; - else - $id = $GLOBALS['hook_suffix']; - - // For those pesky meta boxes. - if ( $hook_name && post_type_exists( $hook_name ) ) { - $post_type = $id; - $id = 'post'; // changes later. ends up being $base. - } else { - if ( '.php' == substr( $id, -4 ) ) - $id = substr( $id, 0, -4 ); - - if ( 'post-new' == $id || 'link-add' == $id || 'media-new' == $id || 'user-new' == $id ) { - $id = substr( $id, 0, -4 ); - $action = 'add'; - } - } - - if ( ! $post_type && $hook_name ) { - if ( '-network' == substr( $id, -8 ) ) { - $id = substr( $id, 0, -8 ); - $in_admin = 'network'; - } elseif ( '-user' == substr( $id, -5 ) ) { - $id = substr( $id, 0, -5 ); - $in_admin = 'user'; - } - - $id = sanitize_key( $id ); - if ( 'edit-comments' != $id && 'edit-tags' != $id && 'edit-' == substr( $id, 0, 5 ) ) { - $maybe = substr( $id, 5 ); - if ( taxonomy_exists( $maybe ) ) { - $id = 'edit-tags'; - $taxonomy = $maybe; - } elseif ( post_type_exists( $maybe ) ) { - $id = 'edit'; - $post_type = $maybe; - } - } - - if ( ! $in_admin ) - $in_admin = 'site'; - } else { - if ( defined( 'WP_NETWORK_ADMIN' ) && WP_NETWORK_ADMIN ) - $in_admin = 'network'; - elseif ( defined( 'WP_USER_ADMIN' ) && WP_USER_ADMIN ) - $in_admin = 'user'; - else - $in_admin = 'site'; - } - - if ( 'index' == $id ) - $id = 'dashboard'; - elseif ( 'front' == $id ) - $in_admin = false; - - $base = $id; - - // If this is the current screen, see if we can be more accurate for post types and taxonomies. - if ( ! $hook_name ) { - if ( isset( $_REQUEST['post_type'] ) ) - $post_type = post_type_exists( $_REQUEST['post_type'] ) ? $_REQUEST['post_type'] : false; - if ( isset( $_REQUEST['taxonomy'] ) ) - $taxonomy = taxonomy_exists( $_REQUEST['taxonomy'] ) ? $_REQUEST['taxonomy'] : false; - - switch ( $base ) { - case 'post' : - if ( isset( $_GET['post'] ) ) - $post_id = (int) $_GET['post']; - elseif ( isset( $_POST['post_ID'] ) ) - $post_id = (int) $_POST['post_ID']; - else - $post_id = 0; - - if ( $post_id ) { - $post = get_post( $post_id ); - if ( $post ) - $post_type = $post->post_type; - } - break; - case 'edit-tags' : - if ( null === $post_type && is_object_in_taxonomy( 'post', $taxonomy ? $taxonomy : 'post_tag' ) ) - $post_type = 'post'; - break; - } - } - - switch ( $base ) { - case 'post' : - if ( null === $post_type ) - $post_type = 'post'; - $id = $post_type; - break; - case 'edit' : - if ( null === $post_type ) - $post_type = 'post'; - $id .= '-' . $post_type; - break; - case 'edit-tags' : - if ( null === $taxonomy ) - $taxonomy = 'post_tag'; - // The edit-tags ID does not contain the post type. Look for it in the request. - if ( null === $post_type ) { - $post_type = 'post'; - if ( isset( $_REQUEST['post_type'] ) && post_type_exists( $_REQUEST['post_type'] ) ) - $post_type = $_REQUEST['post_type']; - } - - $id = 'edit-' . $taxonomy; - break; - } - - if ( 'network' == $in_admin ) { - $id .= '-network'; - $base .= '-network'; - } elseif ( 'user' == $in_admin ) { - $id .= '-user'; - $base .= '-user'; - } - - if ( isset( self::$_registry[ $id ] ) ) { - $screen = self::$_registry[ $id ]; - if ( $screen === get_current_screen() ) - return $screen; - } else { - $screen = new WP_Screen(); - $screen->id = $id; - } - - $screen->base = $base; - $screen->action = $action; - $screen->post_type = (string) $post_type; - $screen->taxonomy = (string) $taxonomy; - $screen->is_user = ( 'user' == $in_admin ); - $screen->is_network = ( 'network' == $in_admin ); - $screen->in_admin = $in_admin; - - self::$_registry[ $id ] = $screen; - - return $screen; - } - - /** - * Makes the screen object the current screen. - * - * @see set_current_screen() - * @since 3.3.0 - */ - public function set_current_screen() { - global $current_screen, $taxnow, $typenow; - $current_screen = $this; - $taxnow = $this->taxonomy; - $typenow = $this->post_type; - - /** - * Fires after the current screen has been set. - * - * @since 3.0.0 - * - * @param WP_Screen $current_screen Current WP_Screen object. - */ - do_action( 'current_screen', $current_screen ); - } - - /** - * Constructor - * - * @since 3.3.0 - * @access private - */ - private function __construct() {} - - /** - * Indicates whether the screen is in a particular admin - * - * @since 3.5.0 - * - * @param string $admin The admin to check against (network | user | site). - * If empty any of the three admins will result in true. - * @return boolean True if the screen is in the indicated admin, false otherwise. - * - */ - public function in_admin( $admin = null ) { - if ( empty( $admin ) ) - return (bool) $this->in_admin; - - return ( $admin == $this->in_admin ); - } - - /** - * Sets the old string-based contextual help for the screen. - * - * For backwards compatibility. - * - * @since 3.3.0 - * - * @param WP_Screen $screen A screen object. - * @param string $help Help text. - */ - public static function add_old_compat_help( $screen, $help ) { - self::$_old_compat_help[ $screen->id ] = $help; - } - - /** - * Set the parent information for the screen. - * This is called in admin-header.php after the menu parent for the screen has been determined. - * - * @since 3.3.0 - * - * @param string $parent_file The parent file of the screen. Typically the $parent_file global. - */ - public function set_parentage( $parent_file ) { - $this->parent_file = $parent_file; - list( $this->parent_base ) = explode( '?', $parent_file ); - $this->parent_base = str_replace( '.php', '', $this->parent_base ); - } - - /** - * Adds an option for the screen. - * Call this in template files after admin.php is loaded and before admin-header.php is loaded to add screen options. - * - * @since 3.3.0 - * - * @param string $option Option ID - * @param mixed $args Option-dependent arguments. - */ - public function add_option( $option, $args = array() ) { - $this->_options[ $option ] = $args; - } - - /** - * Remove an option from the screen. - * - * @since 3.8.0 - * - * @param string $option Option ID. - */ - public function remove_option( $option ) { - unset( $this->_options[ $option ] ); - } - - /** - * Remove all options from the screen. - * - * @since 3.8.0 - */ - public function remove_options() { - $this->_options = array(); - } - - /** - * Get the options registered for the screen. - * - * @since 3.8.0 - * - * @return array Options with arguments. - */ - public function get_options() { - return $this->_options; - } - - /** - * Gets the arguments for an option for the screen. - * - * @since 3.3.0 - * - * @param string $option Option ID. - * @param mixed $key Optional. Specific array key for when the option is an array. - */ - public function get_option( $option, $key = false ) { - if ( ! isset( $this->_options[ $option ] ) ) - return null; - if ( $key ) { - if ( isset( $this->_options[ $option ][ $key ] ) ) - return $this->_options[ $option ][ $key ]; - return null; - } - return $this->_options[ $option ]; - } - - /** - * Gets the help tabs registered for the screen. - * - * @since 3.4.0 - * - * @return array Help tabs with arguments. - */ - public function get_help_tabs() { - return $this->_help_tabs; - } - - /** - * Gets the arguments for a help tab. - * - * @since 3.4.0 - * - * @param string $id Help Tab ID. - * @return array Help tab arguments. - */ - public function get_help_tab( $id ) { - if ( ! isset( $this->_help_tabs[ $id ] ) ) - return null; - return $this->_help_tabs[ $id ]; - } - - /** - * Add a help tab to the contextual help for the screen. - * Call this on the load-$pagenow hook for the relevant screen. - * - * @since 3.3.0 - * - * @param array $args - * - string - title - Title for the tab. - * - string - id - Tab ID. Must be HTML-safe. - * - string - content - Help tab content in plain text or HTML. Optional. - * - callback - callback - A callback to generate the tab content. Optional. - * - */ - public function add_help_tab( $args ) { - $defaults = array( - 'title' => false, - 'id' => false, - 'content' => '', - 'callback' => false, - ); - $args = wp_parse_args( $args, $defaults ); - - $args['id'] = sanitize_html_class( $args['id'] ); - - // Ensure we have an ID and title. - if ( ! $args['id'] || ! $args['title'] ) - return; - - // Allows for overriding an existing tab with that ID. - $this->_help_tabs[ $args['id'] ] = $args; - } - - /** - * Removes a help tab from the contextual help for the screen. - * - * @since 3.3.0 - * - * @param string $id The help tab ID. - */ - public function remove_help_tab( $id ) { - unset( $this->_help_tabs[ $id ] ); - } - - /** - * Removes all help tabs from the contextual help for the screen. - * - * @since 3.3.0 - */ - public function remove_help_tabs() { - $this->_help_tabs = array(); - } - - /** - * Gets the content from a contextual help sidebar. - * - * @since 3.4.0 - * - * @return string Contents of the help sidebar. - */ - public function get_help_sidebar() { - return $this->_help_sidebar; - } - - /** - * Add a sidebar to the contextual help for the screen. - * Call this in template files after admin.php is loaded and before admin-header.php is loaded to add a sidebar to the contextual help. - * - * @since 3.3.0 - * - * @param string $content Sidebar content in plain text or HTML. - */ - public function set_help_sidebar( $content ) { - $this->_help_sidebar = $content; - } - - /** - * Gets the number of layout columns the user has selected. - * - * The layout_columns option controls the max number and default number of - * columns. This method returns the number of columns within that range selected - * by the user via Screen Options. If no selection has been made, the default - * provisioned in layout_columns is returned. If the screen does not support - * selecting the number of layout columns, 0 is returned. - * - * @since 3.4.0 - * - * @return int Number of columns to display. - */ - public function get_columns() { - return $this->columns; - } - - /** - * Render the screen's help section. - * - * This will trigger the deprecated filters for backwards compatibility. - * - * @since 3.3.0 - */ - public function render_screen_meta() { - - /** - * Filter the legacy contextual help list. - * - * @since 2.7.0 - * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() or - * get_current_screen()->remove_help_tab() instead. - * - * @param array $old_compat_help Old contextual help. - * @param WP_Screen $this Current WP_Screen instance. - */ - self::$_old_compat_help = apply_filters( 'contextual_help_list', self::$_old_compat_help, $this ); - - $old_help = isset( self::$_old_compat_help[ $this->id ] ) ? self::$_old_compat_help[ $this->id ] : ''; - - /** - * Filter the legacy contextual help text. - * - * @since 2.7.0 - * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() or - * get_current_screen()->remove_help_tab() instead. - * - * @param string $old_help Help text that appears on the screen. - * @param string $screen_id Screen ID. - * @param WP_Screen $this Current WP_Screen instance. - * - */ - $old_help = apply_filters( 'contextual_help', $old_help, $this->id, $this ); - - // Default help only if there is no old-style block of text and no new-style help tabs. - if ( empty( $old_help ) && ! $this->get_help_tabs() ) { - - /** - * Filter the default legacy contextual help text. - * - * @since 2.8.0 - * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() or - * get_current_screen()->remove_help_tab() instead. - * - * @param string $old_help_default Default contextual help text. - */ - $default_help = apply_filters( 'default_contextual_help', '' ); - if ( $default_help ) - $old_help = '

    ' . $default_help . '

    '; - } - - if ( $old_help ) { - $this->add_help_tab( array( - 'id' => 'old-contextual-help', - 'title' => __('Overview'), - 'content' => $old_help, - ) ); - } - - $help_sidebar = $this->get_help_sidebar(); - - $help_class = 'hidden'; - if ( ! $help_sidebar ) - $help_class .= ' no-sidebar'; - - // Time to render! - ?> -
    - -
    -
    -
    -
    -
      - get_help_tabs() as $tab ) : - $link_id = "tab-link-{$tab['id']}"; - $panel_id = "tab-panel-{$tab['id']}"; - ?> - - - -
    -
    - - -
    - -
    - - -
    - get_help_tabs() as $tab ): - $panel_id = "tab-panel-{$tab['id']}"; - ?> - -
    - -
    - -
    -
    -
    - id, $this ); - - if ( ! empty( $columns ) && isset( $columns[ $this->id ] ) ) - $this->add_option( 'layout_columns', array('max' => $columns[ $this->id ] ) ); - - if ( $this->get_option( 'layout_columns' ) ) { - $this->columns = (int) get_user_option("screen_layout_$this->id"); - - if ( ! $this->columns && $this->get_option( 'layout_columns', 'default' ) ) - $this->columns = $this->get_option( 'layout_columns', 'default' ); - } - $GLOBALS[ 'screen_layout_columns' ] = $this->columns; // Set the global for back-compat. - - // Add screen options - if ( $this->show_screen_options() ) - $this->render_screen_options(); - ?> -
    - get_help_tabs() && ! $this->show_screen_options() ) - return; - ?> - - _show_screen_options ) ) - return $this->_show_screen_options; - - $columns = get_column_headers( $this ); - - $show_screen = ! empty( $wp_meta_boxes[ $this->id ] ) || $columns || $this->get_option( 'per_page' ); - - switch ( $this->base ) { - case 'widgets': - $this->_screen_settings = '

    ' . __('Enable accessibility mode') . '' . __('Disable accessibility mode') . "

    \n"; - break; - case 'post' : - $expand = ''; - $this->_screen_settings = $expand; - break; - default: - $this->_screen_settings = ''; - break; - } - - /** - * Filter the screen settings text displayed in the Screen Options tab. - * - * This filter is currently only used on the Widgets screen to enable - * accessibility mode. - * - * @since 3.0.0 - * - * @param string $screen_settings Screen settings. - * @param WP_Screen $this WP_Screen object. - */ - $this->_screen_settings = apply_filters( 'screen_settings', $this->_screen_settings, $this ); - - if ( $this->_screen_settings || $this->_options ) - $show_screen = true; - - /** - * Filter whether to show the Screen Options tab. - * - * @since 3.2.0 - * - * @param bool $show_screen Whether to show Screen Options tab. - * Default true. - * @param WP_Screen $this Current WP_Screen instance. - */ - $this->_show_screen_options = apply_filters( 'screen_options_show_screen', $show_screen, $this ); - return $this->_show_screen_options; - } - - /** - * Render the screen options tab. - * - * @since 3.3.0 - */ - public function render_screen_options() { - global $wp_meta_boxes; - - $columns = get_column_headers( $this ); - $hidden = get_hidden_columns( $this ); - - ?> - - get_option('layout_columns') ) - return; - - $screen_layout_columns = $this->get_columns(); - $num = $this->get_option( 'layout_columns', 'max' ); - - ?> -
    -
    - - -
    - get_option( 'per_page' ) ) - return; - - $per_page_label = $this->get_option( 'per_page', 'label' ); - - $option = $this->get_option( 'per_page', 'option' ); - if ( ! $option ) - $option = str_replace( '-', '_', "{$this->id}_per_page" ); - - $per_page = (int) get_user_option( $option ); - if ( empty( $per_page ) || $per_page < 1 ) { - $per_page = $this->get_option( 'per_page', 'default' ); - if ( ! $per_page ) - $per_page = 20; - } - - if ( 'edit_comments_per_page' == $option ) { - $comment_status = isset( $_REQUEST['comment_status'] ) ? $_REQUEST['comment_status'] : 'all'; - - /** This filter is documented in wp-admin/includes/class-wp-comments-list-table.php */ - $per_page = apply_filters( 'comments_per_page', $per_page, $comment_status ); - } elseif ( 'categories_per_page' == $option ) { - /** This filter is documented in wp-admin/includes/class-wp-terms-list-table.php */ - $per_page = apply_filters( 'edit_categories_per_page', $per_page ); - } else { - /** This filter is documented in wp-admin/includes/class-wp-list-table.php */ - $per_page = apply_filters( $option, $per_page ); - } - - // Back compat - if ( isset( $this->post_type ) ) { - /** This filter is documented in wp-admin/includes/class-wp-posts-list-table.php */ - $per_page = apply_filters( 'edit_posts_per_page', $per_page, $this->post_type ); - } - - ?> -
    - - - - - -
    - $cat_name, 'category_parent' => $parent) ); -} - -/** - * Create categories for the given post. - * - * @since 2.0.0 - * - * @param array $categories List of categories to create. - * @param int $post_id Optional. The post ID. Default empty. - * @return List of categories to create for the given post. - */ -function wp_create_categories( $categories, $post_id = '' ) { - $cat_ids = array (); - foreach ($categories as $category) { - if ($id = category_exists($category)) - $cat_ids[] = $id; - else - if ($id = wp_create_category($category)) - $cat_ids[] = $id; - } - - if ( $post_id ) - wp_set_post_categories($post_id, $cat_ids); - - return $cat_ids; -} - -/** - * Updates an existing Category or creates a new Category. - * - * @since 2.0.0 - * @since 2.5.0 $wp_error parameter was added. - * @since 3.0.0 The 'taxonomy' argument was added. - * - * @param array $catarr { - * Array of arguments for inserting a new category. - * - * @type int $cat_ID Categoriy ID. A non-zero value updates an existing category. - * Default 0. - * @type string $taxonomy Taxonomy slug. Defualt 'category'. - * @type string $cat_nam Category name. Default empty. - * @type string $category_description Category description. Default empty. - * @type string $category_nicename Category nice (display) name. Default empty. - * @type int|string $category_parent Category parent ID. Default empty. - * } - * @param bool $wp_error Optional. Default false. - * @return int|object The ID number of the new or updated Category on success. Zero or a WP_Error on failure, - * depending on param $wp_error. - */ -function wp_insert_category( $catarr, $wp_error = false ) { - $cat_defaults = array( 'cat_ID' => 0, 'taxonomy' => 'category', 'cat_name' => '', 'category_description' => '', 'category_nicename' => '', 'category_parent' => '' ); - $catarr = wp_parse_args( $catarr, $cat_defaults ); - - if ( trim( $catarr['cat_name'] ) == '' ) { - if ( ! $wp_error ) { - return 0; - } else { - return new WP_Error( 'cat_name', __( 'You did not enter a category name.' ) ); - } - } - - $catarr['cat_ID'] = (int) $catarr['cat_ID']; - - // Are we updating or creating? - $update = ! empty ( $catarr['cat_ID'] ); - - $name = $catarr['cat_name']; - $description = $catarr['category_description']; - $slug = $catarr['category_nicename']; - $parent = (int) $catarr['category_parent']; - if ( $parent < 0 ) { - $parent = 0; - } - - if ( empty( $parent ) - || ! term_exists( $parent, $catarr['taxonomy'] ) - || ( $catarr['cat_ID'] && term_is_ancestor_of( $catarr['cat_ID'], $parent, $catarr['taxonomy'] ) ) ) { - $parent = 0; - } - - $args = compact('name', 'slug', 'parent', 'description'); - - if ( $update ) { - $catarr['cat_ID'] = wp_update_term( $catarr['cat_ID'], $catarr['taxonomy'], $args ); - } else { - $catarr['cat_ID'] = wp_insert_term( $catarr['cat_name'], $catarr['taxonomy'], $args ); - } - - if ( is_wp_error( $catarr['cat_ID'] ) ) { - if ( $wp_error ) { - return $catarr['cat_ID']; - } else { - return 0; - } - } - return $catarr['cat_ID']['term_id']; -} - -/** - * Aliases wp_insert_category() with minimal args. - * - * If you want to update only some fields of an existing category, call this - * function with only the new values set inside $catarr. - * - * @since 2.0.0 - * - * @param array $catarr The 'cat_ID' value is required. All other keys are optional. - * @return int|bool The ID number of the new or updated Category on success. Zero or FALSE on failure. - */ -function wp_update_category($catarr) { - $cat_ID = (int) $catarr['cat_ID']; - - if ( isset($catarr['category_parent']) && ($cat_ID == $catarr['category_parent']) ) - return false; - - // First, get all of the original fields - $category = get_term( $cat_ID, 'category', ARRAY_A ); - _make_cat_compat( $category ); - - // Escape data pulled from DB. - $category = wp_slash($category); - - // Merge old and new fields with new fields overwriting old ones. - $catarr = array_merge($category, $catarr); - - return wp_insert_category($catarr); -} - -// -// Tags -// - -/** - * {@internal Missing Short Description}} - * - * @since 2.3.0 - * - * @param unknown_type $tag_name - * @return unknown - */ -function tag_exists($tag_name) { - return term_exists($tag_name, 'post_tag'); -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.3.0 - * - * @param unknown_type $tag_name - * @return unknown - */ -function wp_create_tag($tag_name) { - return wp_create_term( $tag_name, 'post_tag'); -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.3.0 - * - * @param unknown_type $post_id - * @return unknown - */ -function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) { - return get_terms_to_edit( $post_id, $taxonomy); -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.8.0 - * - * @param unknown_type $post_id - * @return unknown - */ -function get_terms_to_edit( $post_id, $taxonomy = 'post_tag' ) { - $post_id = (int) $post_id; - if ( !$post_id ) - return false; - - $terms = get_object_term_cache( $post_id, $taxonomy ); - if ( false === $terms ) { - $terms = wp_get_object_terms( $post_id, $taxonomy ); - wp_cache_add( $post_id, $terms, $taxonomy . '_relationships' ); - } - - if ( ! $terms ) { - return false; - } - if ( is_wp_error( $terms ) ) { - return $terms; - } - $term_names = array(); - foreach ( $terms as $term ) { - $term_names[] = $term->name; - } - - $terms_to_edit = esc_attr( join( ',', $term_names ) ); - - /** - * Filter the comma-separated list of terms available to edit. - * - * @since 2.8.0 - * - * @see get_terms_to_edit() - * - * @param array $terms_to_edit An array of terms. - * @param string $taxonomy The taxonomy for which to retrieve terms. Default 'post_tag'. - */ - $terms_to_edit = apply_filters( 'terms_to_edit', $terms_to_edit, $taxonomy ); - - return $terms_to_edit; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.8.0 - * - * @param unknown_type $tag_name - * @return unknown - */ -function wp_create_term($tag_name, $taxonomy = 'post_tag') { - if ( $id = term_exists($tag_name, $taxonomy) ) - return $id; - - return wp_insert_term($tag_name, $taxonomy); -} diff --git a/sources/wordpress/wp-admin/includes/template.php b/sources/wordpress/wp-admin/includes/template.php deleted file mode 100644 index 30dcf0f..0000000 --- a/sources/wordpress/wp-admin/includes/template.php +++ /dev/null @@ -1,2157 +0,0 @@ - elements. - * - * @see Walker - * @see wp_category_checklist() - * @see wp_terms_checklist() - * @since 2.5.1 - */ -class Walker_Category_Checklist extends Walker { - public $tree_type = 'category'; - public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this - - /** - * Starts the list before the elements are added. - * - * @see Walker:start_lvl() - * - * @since 2.5.1 - * - * @param string $output Passed by reference. Used to append additional content. - * @param int $depth Depth of category. Used for tab indentation. - * @param array $args An array of arguments. @see wp_terms_checklist() - */ - public function start_lvl( &$output, $depth = 0, $args = array() ) { - $indent = str_repeat("\t", $depth); - $output .= "$indent
      \n"; - } - - /** - * Ends the list of after the elements are added. - * - * @see Walker::end_lvl() - * - * @since 2.5.1 - * - * @param string $output Passed by reference. Used to append additional content. - * @param int $depth Depth of category. Used for tab indentation. - * @param array $args An array of arguments. @see wp_terms_checklist() - */ - public function end_lvl( &$output, $depth = 0, $args = array() ) { - $indent = str_repeat("\t", $depth); - $output .= "$indent
    \n"; - } - - /** - * Start the element output. - * - * @see Walker::start_el() - * - * @since 2.5.1 - * - * @param string $output Passed by reference. Used to append additional content. - * @param object $category The current term object. - * @param int $depth Depth of the term in reference to parents. Default 0. - * @param array $args An array of arguments. @see wp_terms_checklist() - * @param int $id ID of the current term. - */ - public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { - if ( empty( $args['taxonomy'] ) ) { - $taxonomy = 'category'; - } else { - $taxonomy = $args['taxonomy']; - } - - if ( $taxonomy == 'category' ) { - $name = 'post_category'; - } else { - $name = 'tax_input[' . $taxonomy . ']'; - } - $args['popular_cats'] = empty( $args['popular_cats'] ) ? array() : $args['popular_cats']; - $class = in_array( $category->term_id, $args['popular_cats'] ) ? ' class="popular-category"' : ''; - - $args['selected_cats'] = empty( $args['selected_cats'] ) ? array() : $args['selected_cats']; - - /** This filter is documented in wp-includes/category-template.php */ - $output .= "\n
  • " . - ''; - } - - /** - * Ends the element output, if needed. - * - * @see Walker::end_el() - * - * @since 2.5.1 - * - * @param string $output Passed by reference. Used to append additional content. - * @param object $category The current term object. - * @param int $depth Depth of the term in reference to parents. Default 0. - * @param array $args An array of arguments. @see wp_terms_checklist() - */ - public function end_el( &$output, $category, $depth = 0, $args = array() ) { - $output .= "
  • \n"; - } -} - -/** - * Output an unordered list of checkbox elements labelled - * with category names. - * - * @see wp_terms_checklist() - * @since 2.5.1 - * - * @param int $post_id Mark categories associated with this post as checked. $selected_cats must not be an array. - * @param int $descendants_and_self ID of the category to output along with its descendents. - * @param bool|array $selected_cats List of categories to mark as checked. - * @param bool|array $popular_cats Override the list of categories that receive the "popular-category" class. - * @param object $walker Walker object to use to build the output. - * @param bool $checked_ontop Move checked items out of the hierarchy and to the top of the list. - */ -function wp_category_checklist( $post_id = 0, $descendants_and_self = 0, $selected_cats = false, $popular_cats = false, $walker = null, $checked_ontop = true ) { - wp_terms_checklist( $post_id, array( - 'taxonomy' => 'category', - 'descendants_and_self' => $descendants_and_self, - 'selected_cats' => $selected_cats, - 'popular_cats' => $popular_cats, - 'walker' => $walker, - 'checked_ontop' => $checked_ontop - ) ); -} - -/** - * Output an unordered list of checkbox elements labelled - * with term names. Taxonomy independent version of wp_category_checklist(). - * - * @since 3.0.0 - * - * @param int $post_id - * @param array $args - */ -function wp_terms_checklist( $post_id = 0, $args = array() ) { - $defaults = array( - 'descendants_and_self' => 0, - 'selected_cats' => false, - 'popular_cats' => false, - 'walker' => null, - 'taxonomy' => 'category', - 'checked_ontop' => true - ); - - /** - * Filter the taxonomy terms checklist arguments. - * - * @since 3.4.0 - * - * @see wp_terms_checklist() - * - * @param array $args An array of arguments. - * @param int $post_id The post ID. - */ - $params = apply_filters( 'wp_terms_checklist_args', $args, $post_id ); - - $r = wp_parse_args( $params, $defaults ); - - if ( empty( $r['walker'] ) || ! is_a( $r['walker'], 'Walker' ) ) { - $walker = new Walker_Category_Checklist; - } else { - $walker = $r['walker']; - } - - $taxonomy = $r['taxonomy']; - $descendants_and_self = (int) $r['descendants_and_self']; - - $args = array( 'taxonomy' => $taxonomy ); - - $tax = get_taxonomy( $taxonomy ); - $args['disabled'] = ! current_user_can( $tax->cap->assign_terms ); - - if ( is_array( $r['selected_cats'] ) ) { - $args['selected_cats'] = $r['selected_cats']; - } elseif ( $post_id ) { - $args['selected_cats'] = wp_get_object_terms( $post_id, $taxonomy, array_merge( $args, array( 'fields' => 'ids' ) ) ); - } else { - $args['selected_cats'] = array(); - } - if ( is_array( $r['popular_cats'] ) ) { - $args['popular_cats'] = $r['popular_cats']; - } else { - $args['popular_cats'] = get_terms( $taxonomy, array( - 'fields' => 'ids', - 'orderby' => 'count', - 'order' => 'DESC', - 'number' => 10, - 'hierarchical' => false - ) ); - } - if ( $descendants_and_self ) { - $categories = (array) get_terms( $taxonomy, array( - 'child_of' => $descendants_and_self, - 'hierarchical' => 0, - 'hide_empty' => 0 - ) ); - $self = get_term( $descendants_and_self, $taxonomy ); - array_unshift( $categories, $self ); - } else { - $categories = (array) get_terms( $taxonomy, array( 'get' => 'all' ) ); - } - - if ( $r['checked_ontop'] ) { - // Post process $categories rather than adding an exclude to the get_terms() query to keep the query the same across all posts (for any query cache) - $checked_categories = array(); - $keys = array_keys( $categories ); - - foreach( $keys as $k ) { - if ( in_array( $categories[$k]->term_id, $args['selected_cats'] ) ) { - $checked_categories[] = $categories[$k]; - unset( $categories[$k] ); - } - } - - // Put checked cats on top - echo call_user_func_array( array( $walker, 'walk' ), array( $checked_categories, 0, $args ) ); - } - // Then the rest of them - echo call_user_func_array( array( $walker, 'walk' ), array( $categories, 0, $args ) ); -} - -/** - * Retrieve a list of the most popular terms from the specified taxonomy. - * - * If the $echo argument is true then the elements for a list of checkbox - * elements labelled with the names of the selected terms is output. - * If the $post_ID global isn't empty then the terms associated with that - * post will be marked as checked. - * - * @since 2.5.0 - * - * @param string $taxonomy Taxonomy to retrieve terms from. - * @param int $default Unused. - * @param int $number Number of terms to retrieve. Defaults to 10. - * @param bool $echo Optionally output the list as well. Defaults to true. - * @return array List of popular term IDs. - */ -function wp_popular_terms_checklist( $taxonomy, $default = 0, $number = 10, $echo = true ) { - $post = get_post(); - - if ( $post && $post->ID ) - $checked_terms = wp_get_object_terms($post->ID, $taxonomy, array('fields'=>'ids')); - else - $checked_terms = array(); - - $terms = get_terms( $taxonomy, array( 'orderby' => 'count', 'order' => 'DESC', 'number' => $number, 'hierarchical' => false ) ); - - $tax = get_taxonomy($taxonomy); - - $popular_ids = array(); - foreach ( (array) $terms as $term ) { - $popular_ids[] = $term->term_id; - if ( !$echo ) // hack for AJAX use - continue; - $id = "popular-$taxonomy-$term->term_id"; - $checked = in_array( $term->term_id, $checked_terms ) ? 'checked="checked"' : ''; - ?> - - - - 'name', 'hide_empty' => 0 ) ); - - if ( empty( $categories ) ) - return; - - foreach ( $categories as $category ) { - $cat_id = $category->term_id; - - /** This filter is documented in wp-includes/category-template.php */ - $name = esc_html( apply_filters( 'the_category', $category->name ) ); - $checked = in_array( $cat_id, $checked_categories ) ? ' checked="checked"' : ''; - echo '"; - } -} - -// adds hidden fields with the data for use in the inline editor for posts and pages -/** - * {@internal Missing Short Description}} - * - * @since 2.7.0 - * - * @param unknown_type $post - */ -function get_inline_data($post) { - $post_type_object = get_post_type_object($post->post_type); - if ( ! current_user_can( 'edit_post', $post->ID ) ) - return; - - $title = esc_textarea( trim( $post->post_title ) ); - - /** This filter is documented in wp-admin/edit-tag-form.php */ - echo ' -'; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.7.0 - * - * @param unknown_type $position - * @param unknown_type $checkbox - * @param unknown_type $mode - */ -function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', $table_row = true) { - - /** - * Filter the in-line comment reply-to form output in the Comments - * list table. - * - * Returning a non-empty value here will short-circuit display - * of the in-line comment-reply form in the Comments list table, - * echoing the returned value instead. - * - * @since 2.7.0 - * - * @see wp_comment_reply() - * - * @param string $content The reply-to form content. - * @param array $args An array of default args. - */ - $content = apply_filters( 'wp_comment_reply', '', array( 'position' => $position, 'checkbox' => $checkbox, 'mode' => $mode ) ); - - if ( ! empty($content) ) { - echo $content; - return; - } - - if ( $mode == 'single' ) { - $wp_list_table = _get_list_table('WP_Post_Comments_List_Table'); - } else { - $wp_list_table = _get_list_table('WP_Comments_List_Table'); - } - -?> -
    - -
    - - - -
    - - - - - - - ' . _x( 'Name', 'meta name' ) . ' - ' . __( 'Value' ) . ' - - - - - -'; //TBODY needed for list-manipulation JS - return; - } - $count = 0; -?> - - - - - - - - - - -
    - - $entry['meta_id'] = (int) $entry['meta_id']; - - $delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] ); - - $r .= "\n\t"; - $r .= "\n\t\t"; - - $r .= "\n\t\t
    "; - $r .= get_submit_button( __( 'Delete' ), 'deletemeta small', "deletemeta[{$entry['meta_id']}]", false, array( 'data-wp-lists' => "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce" ) ); - $r .= "\n\t\t"; - $r .= get_submit_button( __( 'Update' ), 'updatemeta small', "meta-{$entry['meta_id']}-submit", false, array( 'data-wp-lists' => "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce" ) ); - $r .= "
    "; - $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false ); - $r .= ""; - - $r .= "\n\t\t\n\t"; - return $r; -} - -/** - * Prints the form in the Custom Fields meta box. - * - * @since 1.2.0 - * - * @param WP_Post $post Optional. The post being edited. - */ -function meta_form( $post = null ) { - global $wpdb; - $post = get_post( $post ); - - /** - * Filter the number of custom fields to retrieve for the drop-down - * in the Custom Fields meta box. - * - * @since 2.1.0 - * - * @param int $limit Number of custom fields to retrieve. Default 30. - */ - $limit = apply_filters( 'postmeta_form_limit', 30 ); - $sql = "SELECT meta_key - FROM $wpdb->postmeta - GROUP BY meta_key - HAVING meta_key NOT LIKE %s - ORDER BY meta_key - LIMIT %d"; - $keys = $wpdb->get_col( $wpdb->prepare( $sql, $wpdb->esc_like( '_' ) . '%', $limit ) ); - if ( $keys ) { - natcasesort( $keys ); - $meta_key_input_id = 'metakeyselect'; - } else { - $meta_key_input_id = 'metakeyinput'; - } -?> -

    - - - - - - - - - - - - - - - - -
    - - - - - - - - - -
    -
    - 'newmeta-submit', 'data-wp-lists' => 'add:the-list:newmeta' ) ); ?> -
    - -
    -post_status, array('draft', 'pending') ) && (!$post->post_date_gmt || '0000-00-00 00:00:00' == $post->post_date_gmt ) ); - - $tab_index_attribute = ''; - if ( (int) $tab_index > 0 ) - $tab_index_attribute = " tabindex=\"$tab_index\""; - - // todo: Remove this? - // echo '
    '; - - $time_adj = current_time('timestamp'); - $post_date = ($for_post) ? $post->post_date : $comment->comment_date; - $jj = ($edit) ? mysql2date( 'd', $post_date, false ) : gmdate( 'd', $time_adj ); - $mm = ($edit) ? mysql2date( 'm', $post_date, false ) : gmdate( 'm', $time_adj ); - $aa = ($edit) ? mysql2date( 'Y', $post_date, false ) : gmdate( 'Y', $time_adj ); - $hh = ($edit) ? mysql2date( 'H', $post_date, false ) : gmdate( 'H', $time_adj ); - $mn = ($edit) ? mysql2date( 'i', $post_date, false ) : gmdate( 'i', $time_adj ); - $ss = ($edit) ? mysql2date( 's', $post_date, false ) : gmdate( 's', $time_adj ); - - $cur_jj = gmdate( 'd', $time_adj ); - $cur_mm = gmdate( 'm', $time_adj ); - $cur_aa = gmdate( 'Y', $time_adj ); - $cur_hh = gmdate( 'H', $time_adj ); - $cur_mn = gmdate( 'i', $time_adj ); - - $month = ''; - - $day = ''; - $year = ''; - $hour = ''; - $minute = ''; - - echo '
    '; - /* translators: 1: month, 2: day, 3: year, 4: hour, 5: minute */ - printf( __( '%1$s %2$s, %3$s @ %4$s : %5$s' ), $month, $day, $year, $hour, $minute ); - - echo '
    '; - - if ( $multi ) return; - - echo "\n\n"; - $map = array( - 'mm' => array( $mm, $cur_mm ), - 'jj' => array( $jj, $cur_jj ), - 'aa' => array( $aa, $cur_aa ), - 'hh' => array( $hh, $cur_hh ), - 'mn' => array( $mn, $cur_mn ), - ); - foreach ( $map as $timeunit => $value ) { - list( $unit, $curr ) = $value; - - echo '' . "\n"; - $cur_timeunit = 'cur_' . $timeunit; - echo '' . "\n"; - } -?> - -

    - - -

    - HTML elements for the page templates drop-down. - * - * @since 1.5.0 - * - * @param string $default Optional. The template file name. Default empty. - */ -function page_template_dropdown( $default = '' ) { - $templates = get_page_templates( get_post() ); - ksort( $templates ); - foreach ( array_keys( $templates ) as $template ) { - $selected = selected( $default, $templates[ $template ], false ); - echo "\n\t"; - } -} - -/** - * Print out "; - parent_dropdown( $default, $item->ID, $level +1 ); - } - } else { - return false; - } -} - -/** - * Print out "; - else - $r .= "\n\t"; - } - echo $p . $r; -} - -/** - * Outputs the form used by the importers to accept the data to be imported - * - * @since 2.0.0 - * - * @param string $action The action attribute for the form. - */ -function wp_import_upload_form( $action ) { - - /** - * Filter the maximum allowed upload size for import files. - * - * @since 2.3.0 - * - * @see wp_max_upload_size() - * - * @param int $max_upload_size Allowed upload size. Default 1 MB. - */ - $bytes = apply_filters( 'import_upload_size_limit', wp_max_upload_size() ); - $size = size_format( $bytes ); - $upload_dir = wp_upload_dir(); - if ( ! empty( $upload_dir['error'] ) ) : - ?>

    -

    -
    -

    - () - - - -

    - -
    -id; - - if ( !isset($wp_meta_boxes) ) - $wp_meta_boxes = array(); - if ( !isset($wp_meta_boxes[$page]) ) - $wp_meta_boxes[$page] = array(); - if ( !isset($wp_meta_boxes[$page][$context]) ) - $wp_meta_boxes[$page][$context] = array(); - - foreach ( array_keys($wp_meta_boxes[$page]) as $a_context ) { - foreach ( array('high', 'core', 'default', 'low') as $a_priority ) { - if ( !isset($wp_meta_boxes[$page][$a_context][$a_priority][$id]) ) - continue; - - // If a core box was previously added or removed by a plugin, don't add. - if ( 'core' == $priority ) { - // If core box previously deleted, don't add - if ( false === $wp_meta_boxes[$page][$a_context][$a_priority][$id] ) - return; - - /* - * If box was added with default priority, give it core priority to - * maintain sort order. - */ - if ( 'default' == $a_priority ) { - $wp_meta_boxes[$page][$a_context]['core'][$id] = $wp_meta_boxes[$page][$a_context]['default'][$id]; - unset($wp_meta_boxes[$page][$a_context]['default'][$id]); - } - return; - } - // If no priority given and id already present, use existing priority. - if ( empty($priority) ) { - $priority = $a_priority; - /* - * Else, if we're adding to the sorted priority, we don't know the title - * or callback. Grab them from the previously added context/priority. - */ - } elseif ( 'sorted' == $priority ) { - $title = $wp_meta_boxes[$page][$a_context][$a_priority][$id]['title']; - $callback = $wp_meta_boxes[$page][$a_context][$a_priority][$id]['callback']; - $callback_args = $wp_meta_boxes[$page][$a_context][$a_priority][$id]['args']; - } - // An id can be in only one priority and one context. - if ( $priority != $a_priority || $context != $a_context ) - unset($wp_meta_boxes[$page][$a_context][$a_priority][$id]); - } - } - - if ( empty($priority) ) - $priority = 'low'; - - if ( !isset($wp_meta_boxes[$page][$context][$priority]) ) - $wp_meta_boxes[$page][$context][$priority] = array(); - - $wp_meta_boxes[$page][$context][$priority][$id] = array('id' => $id, 'title' => $title, 'callback' => $callback, 'args' => $callback_args); -} - -/** - * Meta-Box template function - * - * @since 2.5.0 - * - * @param string|object $screen Screen identifier - * @param string $context box context - * @param mixed $object gets passed to the box callback function as first parameter - * @return int number of meta_boxes - */ -function do_meta_boxes( $screen, $context, $object ) { - global $wp_meta_boxes; - static $already_sorted = false; - - if ( empty( $screen ) ) - $screen = get_current_screen(); - elseif ( is_string( $screen ) ) - $screen = convert_to_screen( $screen ); - - $page = $screen->id; - - $hidden = get_hidden_meta_boxes( $screen ); - - printf('
    ', htmlspecialchars($context)); - - $i = 0; - do { - // Grab the ones the user has manually sorted. Pull them out of their previous context/priority and into the one the user chose - if ( !$already_sorted && $sorted = get_user_option( "meta-box-order_$page" ) ) { - foreach ( $sorted as $box_context => $ids ) { - foreach ( explode(',', $ids ) as $id ) { - if ( $id && 'dashboard_browser_nag' !== $id ) - add_meta_box( $id, null, null, $screen, $box_context, 'sorted' ); - } - } - } - $already_sorted = true; - - if ( !isset($wp_meta_boxes) || !isset($wp_meta_boxes[$page]) || !isset($wp_meta_boxes[$page][$context]) ) - break; - - foreach ( array('high', 'sorted', 'core', 'default', 'low') as $priority ) { - if ( isset($wp_meta_boxes[$page][$context][$priority]) ) { - foreach ( (array) $wp_meta_boxes[$page][$context][$priority] as $box ) { - if ( false == $box || ! $box['title'] ) - continue; - $i++; - $hidden_class = in_array($box['id'], $hidden) ? ' hide-if-js' : ''; - echo '
    ' . "\n"; - if ( 'dashboard_browser_nag' != $box['id'] ) - echo '

    '; - echo "

    {$box['title']}

    \n"; - echo '
    ' . "\n"; - call_user_func($box['callback'], $object, $box); - echo "
    \n"; - echo "
    \n"; - } - } - } - } while(0); - - echo "
    "; - - return $i; - -} - -/** - * Remove a meta box from an edit form. - * - * @since 2.6.0 - * - * @param string $id String for use in the 'id' attribute of tags. - * @param string|object $screen The screen on which to show the box (post, page, link). - * @param string $context The context within the page where the boxes should show ('normal', 'advanced'). - */ -function remove_meta_box($id, $screen, $context) { - global $wp_meta_boxes; - - if ( empty( $screen ) ) - $screen = get_current_screen(); - elseif ( is_string( $screen ) ) - $screen = convert_to_screen( $screen ); - - $page = $screen->id; - - if ( !isset($wp_meta_boxes) ) - $wp_meta_boxes = array(); - if ( !isset($wp_meta_boxes[$page]) ) - $wp_meta_boxes[$page] = array(); - if ( !isset($wp_meta_boxes[$page][$context]) ) - $wp_meta_boxes[$page][$context] = array(); - - foreach ( array('high', 'core', 'default', 'low') as $priority ) - $wp_meta_boxes[$page][$context][$priority][$id] = false; -} - -/** - * Meta Box Accordion Template Function - * - * Largely made up of abstracted code from {@link do_meta_boxes()}, this - * function serves to build meta boxes as list items for display as - * a collapsible accordion. - * - * @since 3.6.0 - * - * @uses global $wp_meta_boxes Used to retrieve registered meta boxes. - * - * @param string|object $screen The screen identifier. - * @param string $context The meta box context. - * @param mixed $object gets passed to the section callback function as first parameter. - * @return int number of meta boxes as accordion sections. - */ -function do_accordion_sections( $screen, $context, $object ) { - global $wp_meta_boxes; - - wp_enqueue_script( 'accordion' ); - - if ( empty( $screen ) ) - $screen = get_current_screen(); - elseif ( is_string( $screen ) ) - $screen = convert_to_screen( $screen ); - - $page = $screen->id; - - $hidden = get_hidden_meta_boxes( $screen ); - ?> -
    -
      - -
    • -

      - - -

      -
      -
      - -
      -
      -
    • - -
    -
    - $id, 'title' => $title, 'callback' => $callback); -} - -/** - * Add a new field to a section of a settings page - * - * Part of the Settings API. Use this to define a settings field that will show - * as part of a settings section inside a settings page. The fields are shown using - * do_settings_fields() in do_settings-sections() - * - * The $callback argument should be the name of a function that echoes out the - * html input tags for this setting field. Use get_option() to retrieve existing - * values to show. - * - * @since 2.7.0 - * - * @global $wp_settings_fields Storage array of settings fields and info about their pages/sections - * - * @param string $id Slug-name to identify the field. Used in the 'id' attribute of tags. - * @param string $title Formatted title of the field. Shown as the label for the field during output. - * @param string $callback Function that fills the field with the desired form inputs. The function should echo its output. - * @param string $page The slug-name of the settings page on which to show the section (general, reading, writing, ...). - * @param string $section The slug-name of the section of the settings page in which to show the box (default, ...). - * @param array $args Additional arguments - */ -function add_settings_field($id, $title, $callback, $page, $section = 'default', $args = array()) { - global $wp_settings_fields; - - if ( 'misc' == $page ) { - _deprecated_argument( __FUNCTION__, '3.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) ); - $page = 'general'; - } - - if ( 'privacy' == $page ) { - _deprecated_argument( __FUNCTION__, '3.5', __( 'The privacy options group has been removed. Use another settings group.' ) ); - $page = 'reading'; - } - - $wp_settings_fields[$page][$section][$id] = array('id' => $id, 'title' => $title, 'callback' => $callback, 'args' => $args); -} - -/** - * Prints out all settings sections added to a particular settings page - * - * Part of the Settings API. Use this in a settings page callback function - * to output all the sections and fields that were added to that $page with - * add_settings_section() and add_settings_field() - * - * @global $wp_settings_sections Storage array of all settings sections added to admin pages - * @global $wp_settings_fields Storage array of settings fields and info about their pages/sections - * @since 2.7.0 - * - * @param string $page The slug name of the page whos settings sections you want to output - */ -function do_settings_sections( $page ) { - global $wp_settings_sections, $wp_settings_fields; - - if ( ! isset( $wp_settings_sections[$page] ) ) - return; - - foreach ( (array) $wp_settings_sections[$page] as $section ) { - if ( $section['title'] ) - echo "

    {$section['title']}

    \n"; - - if ( $section['callback'] ) - call_user_func( $section['callback'], $section ); - - if ( ! isset( $wp_settings_fields ) || !isset( $wp_settings_fields[$page] ) || !isset( $wp_settings_fields[$page][$section['id']] ) ) - continue; - echo ''; - do_settings_fields( $page, $section['id'] ); - echo '
    '; - } -} - -/** - * Print out the settings fields for a particular settings section - * - * Part of the Settings API. Use this in a settings page to output - * a specific section. Should normally be called by do_settings_sections() - * rather than directly. - * - * @global $wp_settings_fields Storage array of settings fields and their pages/sections - * - * @since 2.7.0 - * - * @param string $page Slug title of the admin page who's settings fields you want to show. - * @param section $section Slug title of the settings section who's fields you want to show. - */ -function do_settings_fields($page, $section) { - global $wp_settings_fields; - - if ( ! isset( $wp_settings_fields[$page][$section] ) ) - return; - - foreach ( (array) $wp_settings_fields[$page][$section] as $field ) { - echo ''; - if ( !empty($field['args']['label_for']) ) - echo ''; - else - echo '' . $field['title'] . ''; - echo ''; - call_user_func($field['callback'], $field['args']); - echo ''; - echo ''; - } -} - -/** - * Register a settings error to be displayed to the user - * - * Part of the Settings API. Use this to show messages to users about settings validation - * problems, missing settings or anything else. - * - * Settings errors should be added inside the $sanitize_callback function defined in - * register_setting() for a given setting to give feedback about the submission. - * - * By default messages will show immediately after the submission that generated the error. - * Additional calls to settings_errors() can be used to show errors even when the settings - * page is first accessed. - * - * @since 3.0.0 - * - * @global array $wp_settings_errors Storage array of errors registered during this pageload - * - * @param string $setting Slug title of the setting to which this error applies - * @param string $code Slug-name to identify the error. Used as part of 'id' attribute in HTML output. - * @param string $message The formatted message text to display to the user (will be shown inside styled
    and

    ) - * @param string $type The type of message it is, controls HTML class. Use 'error' or 'updated'. - */ -function add_settings_error( $setting, $code, $message, $type = 'error' ) { - global $wp_settings_errors; - - $wp_settings_errors[] = array( - 'setting' => $setting, - 'code' => $code, - 'message' => $message, - 'type' => $type - ); -} - -/** - * Fetch settings errors registered by add_settings_error() - * - * Checks the $wp_settings_errors array for any errors declared during the current - * pageload and returns them. - * - * If changes were just submitted ($_GET['settings-updated']) and settings errors were saved - * to the 'settings_errors' transient then those errors will be returned instead. This - * is used to pass errors back across pageloads. - * - * Use the $sanitize argument to manually re-sanitize the option before returning errors. - * This is useful if you have errors or notices you want to show even when the user - * hasn't submitted data (i.e. when they first load an options page, or in admin_notices action hook) - * - * @since 3.0.0 - * - * @global array $wp_settings_errors Storage array of errors registered during this pageload - * - * @param string $setting Optional slug title of a specific setting who's errors you want. - * @param boolean $sanitize Whether to re-sanitize the setting value before returning errors. - * @return array Array of settings errors - */ -function get_settings_errors( $setting = '', $sanitize = false ) { - global $wp_settings_errors; - - /* - * If $sanitize is true, manually re-run the sanitization for this option - * This allows the $sanitize_callback from register_setting() to run, adding - * any settings errors you want to show by default. - */ - if ( $sanitize ) - sanitize_option( $setting, get_option( $setting ) ); - - // If settings were passed back from options.php then use them. - if ( isset( $_GET['settings-updated'] ) && $_GET['settings-updated'] && get_transient( 'settings_errors' ) ) { - $wp_settings_errors = array_merge( (array) $wp_settings_errors, get_transient( 'settings_errors' ) ); - delete_transient( 'settings_errors' ); - } - - // Check global in case errors have been added on this pageload. - if ( ! count( $wp_settings_errors ) ) - return array(); - - // Filter the results to those of a specific setting if one was set. - if ( $setting ) { - $setting_errors = array(); - foreach ( (array) $wp_settings_errors as $key => $details ) { - if ( $setting == $details['setting'] ) - $setting_errors[] = $wp_settings_errors[$key]; - } - return $setting_errors; - } - - return $wp_settings_errors; -} - -/** - * Display settings errors registered by add_settings_error() - * - * Part of the Settings API. Outputs a

    for each error retrieved by get_settings_errors(). - * - * This is called automatically after a settings page based on the Settings API is submitted. - * Errors should be added during the validation callback function for a setting defined in register_setting() - * - * The $sanitize option is passed into get_settings_errors() and will re-run the setting sanitization - * on its current value. - * - * The $hide_on_update option will cause errors to only show when the settings page is first loaded. - * if the user has already saved new values it will be hidden to avoid repeating messages already - * shown in the default error reporting after submission. This is useful to show general errors like missing - * settings when the user arrives at the settings page. - * - * @since 3.0.0 - * - * @param string $setting Optional slug title of a specific setting who's errors you want. - * @param boolean $sanitize Whether to re-sanitize the setting value before returning errors. - * @param boolean $hide_on_update If set to true errors will not be shown if the settings page has already been submitted. - */ -function settings_errors( $setting = '', $sanitize = false, $hide_on_update = false ) { - - if ( $hide_on_update && ! empty( $_GET['settings-updated'] ) ) - return; - - $settings_errors = get_settings_errors( $setting, $sanitize ); - - if ( empty( $settings_errors ) ) - return; - - $output = ''; - foreach ( $settings_errors as $key => $details ) { - $css_id = 'setting-error-' . $details['code']; - $css_class = $details['type'] . ' settings-error'; - $output .= "
    \n"; - $output .= "

    {$details['message']}

    "; - $output .= "
    \n"; - } - echo $output; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.7.0 - * - * @param unknown_type $found_action - */ -function find_posts_div($found_action = '') { -?> - -post_password ) ) - echo esc_attr( $post->post_password ); -} - -/** - * Get the post title. - * - * The post title is fetched and if it is blank then a default string is - * returned. - * - * @since 2.7.0 - * - * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. - * @return string The post title if set. - */ -function _draft_or_post_title( $post = 0 ) { - $title = get_the_title( $post ); - if ( empty( $title ) ) - $title = __( '(no title)' ); - return $title; -} - -/** - * Display the search query. - * - * A simple wrapper to display the "s" parameter in a GET URI. This function - * should only be used when {@link the_search_query()} cannot. - * - * @uses attr - * @since 2.7.0 - * - */ -function _admin_search_query() { - echo isset($_REQUEST['s']) ? esc_attr( wp_unslash( $_REQUEST['s'] ) ) : ''; -} - -/** - * Generic Iframe header for use with Thickbox - * - * @since 2.7.0 - * @param string $title Title of the Iframe page. - * @param bool $limit_styles Limit styles to colour-related styles only (unless others are enqueued). - * - */ -function iframe_header( $title = '', $limit_styles = false ) { - show_admin_bar( false ); - global $hook_suffix, $current_user, $admin_body_class, $wp_locale; - $admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix); - - $current_screen = get_current_screen(); - - @header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); - _wp_admin_html_begin(); -?> -<?php bloginfo('name') ?> › <?php echo $title ?> — <?php _e('WordPress'); ?> - - - - - - class="wp-admin wp-core-ui no-js iframe "> - - - - - - -post_password) ) - $post_states['protected'] = __('Password protected'); - if ( 'private' == $post->post_status && 'private' != $post_status ) - $post_states['private'] = __('Private'); - if ( 'draft' == $post->post_status && 'draft' != $post_status ) - $post_states['draft'] = __('Draft'); - if ( 'pending' == $post->post_status && 'pending' != $post_status ) - /* translators: post state */ - $post_states['pending'] = _x('Pending', 'post state'); - if ( is_sticky($post->ID) ) - $post_states['sticky'] = __('Sticky'); - - /** - * Filter the default post display states used in the Posts list table. - * - * @since 2.8.0 - * - * @param array $post_states An array of post display states. Values include 'Password protected', - * 'Private', 'Draft', 'Pending', and 'Sticky'. - * @param int $post The post ID. - */ - $post_states = apply_filters( 'display_post_states', $post_states, $post ); - - if ( ! empty($post_states) ) { - $state_count = count($post_states); - $i = 0; - echo ' - '; - foreach ( $post_states as $state ) { - ++$i; - ( $i == $state_count ) ? $sep = '' : $sep = ', '; - echo "$state$sep"; - } - } - -} - -function _media_states( $post ) { - $media_states = array(); - $stylesheet = get_option('stylesheet'); - - if ( current_theme_supports( 'custom-header') ) { - $meta_header = get_post_meta($post->ID, '_wp_attachment_is_custom_header', true ); - if ( ! empty( $meta_header ) && $meta_header == $stylesheet ) - $media_states[] = __( 'Header Image' ); - } - - if ( current_theme_supports( 'custom-background') ) { - $meta_background = get_post_meta($post->ID, '_wp_attachment_is_custom_background', true ); - if ( ! empty( $meta_background ) && $meta_background == $stylesheet ) - $media_states[] = __( 'Background Image' ); - } - - /** - * Filter the default media display states for items in the Media list table. - * - * @since 3.2.0 - * - * @param array $media_states An array of media states. Default 'Header Image', - * 'Background Image'. - */ - $media_states = apply_filters( 'display_media_states', $media_states ); - - if ( ! empty( $media_states ) ) { - $state_count = count( $media_states ); - $i = 0; - echo ' - '; - foreach ( $media_states as $state ) { - ++$i; - ( $i == $state_count ) ? $sep = '' : $sep = ', '; - echo "$state$sep"; - } - } -} - -/** - * Test support for compressing JavaScript from PHP - * - * Outputs JavaScript that tests if compression from PHP works as expected - * and sets an option with the result. Has no effect when the current user - * is not an administrator. To run the test again the option 'can_compress_scripts' - * has to be deleted. - * - * @since 2.8.0 - */ -function compression_test() { -?> - - '1' ). - * These attributes will be output as attribute="value", such as tabindex="1". - * Defaults to no other attributes. Other attributes can also be provided as a - * string such as 'tabindex="1"', though the array format is typically cleaner. - */ -function get_submit_button( $text = null, $type = 'primary large', $name = 'submit', $wrap = true, $other_attributes = null ) { - if ( ! is_array( $type ) ) - $type = explode( ' ', $type ); - - $button_shorthand = array( 'primary', 'small', 'large' ); - $classes = array( 'button' ); - foreach ( $type as $t ) { - if ( 'secondary' === $t || 'button-secondary' === $t ) - continue; - $classes[] = in_array( $t, $button_shorthand ) ? 'button-' . $t : $t; - } - $class = implode( ' ', array_unique( $classes ) ); - - if ( 'delete' === $type ) - $class = 'button-secondary delete'; - - $text = $text ? $text : __( 'Save Changes' ); - - // Default the id attribute to $name unless an id was specifically provided in $other_attributes - $id = $name; - if ( is_array( $other_attributes ) && isset( $other_attributes['id'] ) ) { - $id = $other_attributes['id']; - unset( $other_attributes['id'] ); - } - - $attributes = ''; - if ( is_array( $other_attributes ) ) { - foreach ( $other_attributes as $attribute => $value ) { - $attributes .= $attribute . '="' . esc_attr( $value ) . '" '; // Trailing space is important - } - } else if ( !empty( $other_attributes ) ) { // Attributes provided as a string - $attributes = $other_attributes; - } - - $button = ''; - - if ( $wrap ) { - $button = '

    ' . $button . '

    '; - } - - return $button; -} - -function _wp_admin_html_begin() { - global $is_IE; - - $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : ''; - - if ( $is_IE ) - @header('X-UA-Compatible: IE=edge'); - -/** - * Fires inside the HTML tag in the admin header. - * - * @since 2.2.0 - */ -?> - - - - - > - - - - pointer_id ) - */ - - $registered_pointers = array( - 'post-new.php' => 'wp350_media', - 'post.php' => array( 'wp350_media', 'wp360_revisions' ), - 'edit.php' => 'wp360_locks', - 'widgets.php' => 'wp390_widgets', - 'themes.php' => 'wp390_widgets', - ); - - // Check if screen related pointer is registered - if ( empty( $registered_pointers[ $hook_suffix ] ) ) - return; - - $pointers = (array) $registered_pointers[ $hook_suffix ]; - - $caps_required = array( - 'wp350_media' => array( 'upload_files' ), - 'wp390_widgets' => array( 'edit_theme_options' ), - ); - - // Get dismissed pointers - $dismissed = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) ); - - $got_pointers = false; - foreach ( array_diff( $pointers, $dismissed ) as $pointer ) { - if ( isset( $caps_required[ $pointer ] ) ) { - foreach ( $caps_required[ $pointer ] as $cap ) { - if ( ! current_user_can( $cap ) ) - continue 2; - } - } - - // Bind pointer print function - add_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_' . $pointer ) ); - $got_pointers = true; - } - - if ( ! $got_pointers ) - return; - - // Add pointers script and style to queue - wp_enqueue_style( 'wp-pointer' ); - wp_enqueue_script( 'wp-pointer' ); - } - - /** - * Print the pointer javascript data. - * - * @since 3.3.0 - * - * @param string $pointer_id The pointer ID. - * @param string $selector The HTML elements, on which the pointer should be attached. - * @param array $args Arguments to be passed to the pointer JS (see wp-pointer.js). - */ - private static function print_js( $pointer_id, $selector, $args ) { - if ( empty( $pointer_id ) || empty( $selector ) || empty( $args ) || empty( $args['content'] ) ) - return; - - ?> - - ' . __( 'New Media Manager' ) . ''; - $content .= '

    ' . __( 'Uploading files and creating image galleries has a whole new look. Check it out!' ) . '

    '; - - self::print_js( 'wp350_media', '.insert-media', array( - 'content' => $content, - 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center' ), - ) ); - } - - public static function pointer_wp360_revisions() { - $content = '

    ' . __( 'Compare Revisions' ) . '

    '; - $content .= '

    ' . __( 'View, compare, and restore other versions of this content on the improved revisions screen.' ) . '

    '; - - self::print_js( 'wp360_revisions', '.misc-pub-section.misc-pub-revisions', array( - 'content' => $content, - 'position' => array( 'edge' => is_rtl() ? 'left' : 'right', 'align' => 'center' ), - ) ); - } - - public static function pointer_wp360_locks() { - if ( ! is_multi_author() ) { - return; - } - - $content = '

    ' . __( 'Edit Lock' ) . '

    '; - $content .= '

    ' . __( 'Someone else is editing this. No need to refresh; the lock will disappear when they’re done.' ) . '

    '; - - self::print_js( 'wp360_locks', 'tr.wp-locked .locked-indicator', array( - 'content' => $content, - 'position' => array( 'edge' => 'left', 'align' => 'left' ), - ) ); - } - - public static function pointer_wp390_widgets() { - if ( ! current_theme_supports( 'widgets' ) ) { - return; - } - - $content = '

    ' . __( 'New Feature: Live Widget Previews' ) . '

    '; - $content .= '

    ' . __( 'Add, edit, and play around with your widgets from the theme customizer.' ) . ' ' . __( 'Preview your changes in real-time and only save them when you’re ready.' ) . '

    '; - - if ( 'themes' === get_current_screen()->id ) { - $selector = '.theme.active .customize'; - $position = array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center' ); - } else { - $selector = 'a[href="customize.php"]'; - if ( is_rtl() ) { - $position = array( 'edge' => 'right', 'align' => 'center', 'my' => 'right-5px' ); - } else { - $position = array( 'edge' => 'left', 'align' => 'center', 'my' => 'left-5px' ); - } - } - - self::print_js( 'wp390_widgets', $selector, array( - 'content' => $content, - 'position' => $position, - ) ); - } - - /** - * Prevents new users from seeing existing 'new feature' pointers. - * - * @since 3.3.0 - */ - public static function dismiss_pointers_for_new_users( $user_id ) { - add_user_meta( $user_id, 'dismissed_wp_pointers', 'wp350_media,wp360_revisions,wp360_locks,wp390_widgets' ); - } -} - -add_action( 'admin_enqueue_scripts', array( 'WP_Internal_Pointers', 'enqueue_scripts' ) ); -add_action( 'user_register', array( 'WP_Internal_Pointers', 'dismiss_pointers_for_new_users' ) ); - -/** - * Convert a screen string to a screen object - * - * @since 3.0.0 - * - * @param string $hook_name The hook name (also known as the hook suffix) used to determine the screen. - * @return WP_Screen Screen object. - */ -function convert_to_screen( $hook_name ) { - if ( ! class_exists( 'WP_Screen' ) ) { - _doing_it_wrong( 'convert_to_screen(), add_meta_box()', __( "Likely direct inclusion of wp-admin/includes/template.php in order to use add_meta_box(). This is very wrong. Hook the add_meta_box() call into the add_meta_boxes action instead." ), '3.3' ); - return (object) array( 'id' => '_invalid', 'base' => '_are_belong_to_us' ); - } - - return WP_Screen::get( $hook_name ); -} - -/** - * Output the HTML for restoring the post data from DOM storage - * - * @since 3.6.0 - * @access private - */ -function _local_storage_notice() { - ?> - - 0, - 'type' => 'rating', - 'number' => 0, - ); - $r = wp_parse_args( $args, $defaults ); - - // Non-english decimal places when the $rating is coming from a string - $rating = str_replace( ',', '.', $r['rating'] ); - - // Convert Percentage to star rating, 0..5 in .5 increments - if ( 'percent' == $r['type'] ) { - $rating = round( $rating / 10, 0 ) / 2; - } - - // Calculate the number of each type of star needed - $full_stars = floor( $rating ); - $half_stars = ceil( $rating - $full_stars ); - $empty_stars = 5 - $full_stars - $half_stars; - - if ( $r['number'] ) { - /* translators: 1: The rating, 2: The number of ratings */ - $format = _n( '%1$s rating based on %2$s rating', '%1$s rating based on %2$s ratings', $r['number'] ); - $title = sprintf( $format, number_format_i18n( $rating, 1 ), number_format_i18n( $r['number'] ) ); - } else { - /* translators: 1: The rating */ - $title = sprintf( __( '%s rating' ), number_format_i18n( $rating, 1 ) ); - } - - echo '
    '; - echo '' . $title . ''; - echo str_repeat( '
    ', $full_stars ); - echo str_repeat( '
    ', $half_stars ); - echo str_repeat( '
    ', $empty_stars); - echo '
    '; -} diff --git a/sources/wordpress/wp-admin/includes/theme-install.php b/sources/wordpress/wp-admin/includes/theme-install.php deleted file mode 100644 index 0a28e0f..0000000 --- a/sources/wordpress/wp-admin/includes/theme-install.php +++ /dev/null @@ -1,205 +0,0 @@ - array('href' => array(), 'title' => array(), 'target' => array()), - 'abbr' => array('title' => array()), 'acronym' => array('title' => array()), - 'code' => array(), 'pre' => array(), 'em' => array(), 'strong' => array(), - 'div' => array(), 'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(), - 'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'h6' => array(), - 'img' => array('src' => array(), 'class' => array(), 'alt' => array()) -); - -$theme_field_defaults = array( 'description' => true, 'sections' => false, 'tested' => true, 'requires' => true, - 'rating' => true, 'downloaded' => true, 'downloadlink' => true, 'last_updated' => true, 'homepage' => true, - 'tags' => true, 'num_ratings' => true -); - -/** - * Retrieve list of WordPress theme features (aka theme tags) - * - * @since 2.8.0 - * - * @deprecated since 3.1.0 Use get_theme_feature_list() instead. - * - * @return array - */ -function install_themes_feature_list() { - _deprecated_function( __FUNCTION__, '3.1', 'get_theme_feature_list()' ); - - if ( !$cache = get_transient( 'wporg_theme_feature_list' ) ) - set_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS ); - - if ( $cache ) - return $cache; - - $feature_list = themes_api( 'feature_list', array() ); - if ( is_wp_error( $feature_list ) ) - return array(); - - set_transient( 'wporg_theme_feature_list', $feature_list, 3 * HOUR_IN_SECONDS ); - - return $feature_list; -} - -/** - * Display search form for searching themes. - * - * @since 2.8.0 - */ -function install_theme_search_form( $type_selector = true ) { - $type = isset( $_REQUEST['type'] ) ? wp_unslash( $_REQUEST['type'] ) : 'term'; - $term = isset( $_REQUEST['s'] ) ? wp_unslash( $_REQUEST['s'] ) : ''; - if ( ! $type_selector ) - echo '

    ' . __( 'Search for themes by keyword.' ) . '

    '; - ?> -
    - - - - - - - - - - -
    - -

    -

    - -
    - - '; - - foreach ( (array) $feature_list as $feature_name => $features ) { - $feature_name = esc_html( $feature_name ); - echo '
    ' . $feature_name . '
    '; - - echo '
      '; - foreach ( $features as $feature => $feature_name ) { - $feature_name = esc_html( $feature_name ); - $feature = esc_attr($feature); -?> - -
    1. - - -
    2. - - -
    -
    - - -
    -
    - - - -

    -
    - - - -
    - prepare_items(); - $wp_list_table->single_row( $theme ); -} - -/** - * Display theme content based on theme list. - * - * @since 2.8.0 - */ -function display_themes() { - global $wp_list_table; - - if ( ! isset( $wp_list_table ) ) { - $wp_list_table = _get_list_table('WP_Theme_Install_List_Table'); - } - $wp_list_table->prepare_items(); - $wp_list_table->display(); - -} -// add_action('install_themes_search', 'display_themes'); -// add_action('install_themes_featured', 'display_themes'); -// add_action('install_themes_new', 'display_themes'); -// add_action('install_themes_updated', 'display_themes'); - -/** - * Display theme information in dialog box form. - * - * @since 2.8.0 - */ -function install_theme_information() { - global $wp_list_table; - - $theme = themes_api( 'theme_information', array( 'slug' => wp_unslash( $_REQUEST['theme'] ) ) ); - - if ( is_wp_error( $theme ) ) - wp_die( $theme ); - - iframe_header( __('Theme Install') ); - if ( ! isset( $wp_list_table ) ) { - $wp_list_table = _get_list_table('WP_Theme_Install_List_Table'); - } - $wp_list_table->theme_installer_single( $theme ); - iframe_footer(); - exit; -} -add_action('install_themes_pre_theme-information', 'install_theme_information'); diff --git a/sources/wordpress/wp-admin/includes/theme.php b/sources/wordpress/wp-admin/includes/theme.php deleted file mode 100644 index eaef0bc..0000000 --- a/sources/wordpress/wp-admin/includes/theme.php +++ /dev/null @@ -1,457 +0,0 @@ -errors) && $wp_filesystem->errors->get_error_code() ) - return new WP_Error('fs_error', __('Filesystem error.'), $wp_filesystem->errors); - - //Get the base plugin folder - $themes_dir = $wp_filesystem->wp_themes_dir(); - if ( empty($themes_dir) ) - return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress theme directory.')); - - $themes_dir = trailingslashit( $themes_dir ); - $theme_dir = trailingslashit($themes_dir . $stylesheet); - $deleted = $wp_filesystem->delete($theme_dir, true); - - if ( ! $deleted ) - return new WP_Error('could_not_remove_theme', sprintf(__('Could not fully remove the theme %s.'), $stylesheet) ); - - // Force refresh of theme update information - delete_site_transient('update_themes'); - - return true; -} - -/** - * Get the Page Templates available in this theme - * - * @since 1.5.0 - * - * @param WP_Post|null $post Optional. The post being edited, provided for context. - * @return array Key is the template name, value is the filename of the template - */ -function get_page_templates( $post = null ) { - return array_flip( wp_get_theme()->get_page_templates( $post ) ); -} - -/** - * Tidies a filename for url display by the theme editor. - * - * @since 2.9.0 - * @access private - * - * @param string $fullpath Full path to the theme file - * @param string $containingfolder Path of the theme parent folder - * @return string - */ -function _get_template_edit_filename($fullpath, $containingfolder) { - return str_replace(dirname(dirname( $containingfolder )) , '', $fullpath); -} - -/** - * Check if there is an update for a theme available. - * - * Will display link, if there is an update available. - * - * @since 2.7.0 - * @see get_theme_update_available() - * - * @param object $theme Theme data object. - */ -function theme_update_available( $theme ) { - echo get_theme_update_available( $theme ); -} - -/** - * Retrieve the update link if there is a theme update available. - * - * Will return a link if there is an update available. - * - * @since 3.8.0 - * - * @param WP_Theme $theme WP_Theme object. - * @return string|bool HTML for the update link, or false if invalid info was passed. - */ -function get_theme_update_available( $theme ) { - static $themes_update; - - if ( !current_user_can('update_themes' ) ) - return false; - - if ( !isset($themes_update) ) - $themes_update = get_site_transient('update_themes'); - - if ( ! is_a( $theme, 'WP_Theme' ) ) - return false; - - $stylesheet = $theme->get_stylesheet(); - - $html = ''; - - if ( isset($themes_update->response[ $stylesheet ]) ) { - $update = $themes_update->response[ $stylesheet ]; - $theme_name = $theme->display('Name'); - $details_url = add_query_arg(array('TB_iframe' => 'true', 'width' => 1024, 'height' => 800), $update['url']); //Theme browser inside WP? replace this, Also, theme preview JS will override this on the available list. - $update_url = wp_nonce_url( admin_url( 'update.php?action=upgrade-theme&theme=' . urlencode( $stylesheet ) ), 'upgrade-theme_' . $stylesheet ); - $update_onclick = 'onclick="if ( confirm(\'' . esc_js( __("Updating this theme will lose any customizations you have made. 'Cancel' to stop, 'OK' to update.") ) . '\') ) {return true;}return false;"'; - - if ( !is_multisite() ) { - if ( ! current_user_can('update_themes') ) { - $html = sprintf( '

    ' . __( 'There is a new version of %1$s available. View version %4$s details.' ) . '

    ', - $theme_name, esc_url( $details_url ), esc_attr( $theme['Name'] ), $update['new_version'] ); - } else if ( empty( $update['package'] ) ) { - $html = sprintf( '

    ' . __( 'There is a new version of %1$s available. View version %4$s details. Automatic update is unavailable for this theme.' ) . '

    ', - $theme_name, esc_url( $details_url ), esc_attr( $theme['Name'] ), $update['new_version'] ); - } else { - $html = sprintf( '

    ' . __( 'There is a new version of %1$s available. View version %4$s details or update now.' ) . '

    ', - $theme_name, esc_url( $details_url ), esc_attr( $theme['Name'] ), $update['new_version'], $update_url, $update_onclick ); - } - } - } - - return $html; -} - -/** - * Retrieve list of WordPress theme features (aka theme tags) - * - * @since 3.1.0 - * - * @param bool $api Optional. Whether try to fetch tags from the WP.org API. Defaults to true. - * @return array Array of features keyed by category with translations keyed by slug. - */ -function get_theme_feature_list( $api = true ) { - // Hard-coded list is used if api not accessible. - $features = array( - __( 'Colors' ) => array( - 'black' => __( 'Black' ), - 'blue' => __( 'Blue' ), - 'brown' => __( 'Brown' ), - 'gray' => __( 'Gray' ), - 'green' => __( 'Green' ), - 'orange' => __( 'Orange' ), - 'pink' => __( 'Pink' ), - 'purple' => __( 'Purple' ), - 'red' => __( 'Red' ), - 'silver' => __( 'Silver' ), - 'tan' => __( 'Tan' ), - 'white' => __( 'White' ), - 'yellow' => __( 'Yellow' ), - 'dark' => __( 'Dark' ), - 'light' => __( 'Light' ), - ), - - __( 'Layout' ) => array( - 'fixed-layout' => __( 'Fixed Layout' ), - 'fluid-layout' => __( 'Fluid Layout' ), - 'responsive-layout' => __( 'Responsive Layout' ), - 'one-column' => __( 'One Column' ), - 'two-columns' => __( 'Two Columns' ), - 'three-columns' => __( 'Three Columns' ), - 'four-columns' => __( 'Four Columns' ), - 'left-sidebar' => __( 'Left Sidebar' ), - 'right-sidebar' => __( 'Right Sidebar' ), - ), - - __( 'Features' ) => array( - 'accessibility-ready' => __( 'Accessibility Ready' ), - 'blavatar' => __( 'Blavatar' ), - 'buddypress' => __( 'BuddyPress' ), - 'custom-background' => __( 'Custom Background' ), - 'custom-colors' => __( 'Custom Colors' ), - 'custom-header' => __( 'Custom Header' ), - 'custom-menu' => __( 'Custom Menu' ), - 'editor-style' => __( 'Editor Style' ), - 'featured-image-header' => __( 'Featured Image Header' ), - 'featured-images' => __( 'Featured Images' ), - 'flexible-header' => __( 'Flexible Header' ), - 'front-page-post-form' => __( 'Front Page Posting' ), - 'full-width-template' => __( 'Full Width Template' ), - 'microformats' => __( 'Microformats' ), - 'post-formats' => __( 'Post Formats' ), - 'rtl-language-support' => __( 'RTL Language Support' ), - 'sticky-post' => __( 'Sticky Post' ), - 'theme-options' => __( 'Theme Options' ), - 'threaded-comments' => __( 'Threaded Comments' ), - 'translation-ready' => __( 'Translation Ready' ), - ), - - __( 'Subject' ) => array( - 'holiday' => __( 'Holiday' ), - 'photoblogging' => __( 'Photoblogging' ), - 'seasonal' => __( 'Seasonal' ), - ) - ); - - if ( ! $api || ! current_user_can( 'install_themes' ) ) - return $features; - - if ( !$feature_list = get_site_transient( 'wporg_theme_feature_list' ) ) - set_site_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS ); - - if ( !$feature_list ) { - $feature_list = themes_api( 'feature_list', array() ); - if ( is_wp_error( $feature_list ) ) - return $features; - } - - if ( !$feature_list ) - return $features; - - set_site_transient( 'wporg_theme_feature_list', $feature_list, 3 * HOUR_IN_SECONDS ); - - $category_translations = array( - 'Colors' => __( 'Colors' ), - 'Layout' => __( 'Layout' ), - 'Features' => __( 'Features' ), - 'Subject' => __( 'Subject' ) - ); - - // Loop over the wporg canonical list and apply translations - $wporg_features = array(); - foreach ( (array) $feature_list as $feature_category => $feature_items ) { - if ( isset($category_translations[$feature_category]) ) - $feature_category = $category_translations[$feature_category]; - $wporg_features[$feature_category] = array(); - - foreach ( $feature_items as $feature ) { - if ( isset($features[$feature_category][$feature]) ) - $wporg_features[$feature_category][$feature] = $features[$feature_category][$feature]; - else - $wporg_features[$feature_category][$feature] = $feature; - } - } - - return $wporg_features; -} - -/** - * Retrieve theme installer pages from WordPress Themes API. - * - * It is possible for a theme to override the Themes API result with three - * filters. Assume this is for themes, which can extend on the Theme Info to - * offer more choices. This is very powerful and must be used with care, when - * overriding the filters. - * - * The first filter, 'themes_api_args', is for the args and gives the action as - * the second parameter. The hook for 'themes_api_args' must ensure that an - * object is returned. - * - * The second filter, 'themes_api', is the result that would be returned. - * - * @since 2.8.0 - * - * @param string $action The requested action. Likely values are 'theme_information', - * 'feature_list', or 'query_themes'. - * @param array|object $args Optional. Arguments to serialize for the Theme Info API. - * @return mixed - */ - function themes_api( $action, $args = null ) { - - if ( is_array($args) ) - $args = (object)$args; - - if ( !isset($args->per_page) ) - $args->per_page = 24; - /** - * Filter arguments used to query for installer pages from the WordPress.org Themes API. - * - * Important: An object MUST be returned to this filter. - * - * @since 2.8.0 - * - * @param object $args Arguments used to query for installer pages from the WordPress.org Themes API. - * @param string $action Requested action. Likely values are 'theme_information', - * 'feature_list', or 'query_themes'. - */ - $args = apply_filters( 'themes_api_args', $args, $action ); - - /** - * Filter whether to override the WordPress.org Themes API. - * - * Returning a value of true to this filter allows a theme to completely - * override the built-in WordPress.org API. - * - * @since 2.8.0 - * - * @param bool $bool Whether to override the WordPress.org Themes API. Default false. - * @param string $action Requested action. Likely values are 'theme_information', - * 'feature_list', or 'query_themes'. - * @param object $args Arguments used to query for installer pages from the Themes API. - */ - $res = apply_filters( 'themes_api', false, $action, $args ); - - if ( ! $res ) { - $url = $http_url = 'http://api.wordpress.org/themes/info/1.0/'; - if ( $ssl = wp_http_supports( array( 'ssl' ) ) ) - $url = set_url_scheme( $url, 'https' ); - - $args = array( - 'body' => array( - 'action' => $action, - 'request' => serialize( $args ) - ) - ); - $request = wp_remote_post( $url, $args ); - - if ( $ssl && is_wp_error( $request ) ) { - if ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) { - trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); - } - $request = wp_remote_post( $http_url, $args ); - } - - if ( is_wp_error($request) ) { - $res = new WP_Error('themes_api_failed', __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ), $request->get_error_message() ); - } else { - $res = maybe_unserialize( wp_remote_retrieve_body( $request ) ); - if ( ! is_object( $res ) && ! is_array( $res ) ) - $res = new WP_Error('themes_api_failed', __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ), wp_remote_retrieve_body( $request ) ); - } - } - - /** - * Filter the returned WordPress.org Themes API response. - * - * @since 2.8.0 - * - * @param array|object $res WordPress.org Themes API response. - * @param string $action Requested action. Likely values are 'theme_information', - * 'feature_list', or 'query_themes'. - * @param object $args Arguments used to query for installer pages from the WordPress.org Themes API. - */ - return apply_filters( 'themes_api_result', $res, $action, $args ); -} - -/** - * Prepare themes for JavaScript. - * - * @since 3.8.0 - * - * @param array $themes Optional. Array of WP_Theme objects to prepare. - * Defaults to all allowed themes. - * - * @return array An associative array of theme data, sorted by name. - */ -function wp_prepare_themes_for_js( $themes = null ) { - $current_theme = get_stylesheet(); - - // Make sure the current theme is listed first. - $prepared_themes = array( $current_theme => array() ); - - if ( null === $themes ) { - $themes = wp_get_themes( array( 'allowed' => true ) ); - if ( ! isset( $themes[ $current_theme ] ) ) { - $themes[ $current_theme ] = wp_get_theme(); - } - } - - $updates = array(); - if ( current_user_can( 'update_themes' ) ) { - $updates_transient = get_site_transient( 'update_themes' ); - if ( isset( $updates_transient->response ) ) { - $updates = $updates_transient->response; - } - } - - WP_Theme::sort_by_name( $themes ); - foreach ( $themes as $theme ) { - $parent = false; - if ( $theme->parent() ) { - $parent = $theme->parent()->display( 'Name' ); - } - - $slug = $theme->get_stylesheet(); - $encoded_slug = urlencode( $slug ); - - $prepared_themes[ $slug ] = array( - 'id' => $slug, - 'name' => $theme->display( 'Name' ), - 'screenshot' => array( $theme->get_screenshot() ), // @todo multiple - 'description' => $theme->display( 'Description' ), - 'author' => $theme->display( 'Author', false, true ), - 'authorAndUri' => $theme->display( 'Author' ), - 'version' => $theme->display( 'Version' ), - 'tags' => $theme->display( 'Tags' ), - 'parent' => $parent, - 'active' => $slug === $current_theme, - 'hasUpdate' => isset( $updates[ $slug ] ), - 'update' => get_theme_update_available( $theme ), - 'actions' => array( - 'activate' => current_user_can( 'switch_themes' ) ? wp_nonce_url( admin_url( 'themes.php?action=activate&stylesheet=' . $encoded_slug ), 'switch-theme_' . $slug ) : null, - 'customize' => ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) ? wp_customize_url( $slug ) : null, - 'preview' => add_query_arg( array( - 'preview' => 1, - 'template' => urlencode( $theme->get_template() ), - 'stylesheet' => urlencode( $slug ), - 'preview_iframe' => true, - 'TB_iframe' => true, - ), home_url( '/' ) ), - 'delete' => current_user_can( 'delete_themes' ) ? wp_nonce_url( admin_url( 'themes.php?action=delete&stylesheet=' . $encoded_slug ), 'delete-theme_' . $slug ) : null, - ), - ); - } - - /** - * Filter the themes prepared for JavaScript, for themes.php. - * - * Could be useful for changing the order, which is by name by default. - * - * @since 3.8.0 - * - * @param array $prepared_themes Array of themes. - */ - $prepared_themes = apply_filters( 'wp_prepare_themes_for_js', $prepared_themes ); - return array_values( $prepared_themes ); -} diff --git a/sources/wordpress/wp-admin/includes/translation-install.php b/sources/wordpress/wp-admin/includes/translation-install.php deleted file mode 100644 index f3cc370..0000000 --- a/sources/wordpress/wp-admin/includes/translation-install.php +++ /dev/null @@ -1,240 +0,0 @@ - 3, - 'body' => array( - 'wp_version' => $wp_version, - 'locale' => get_locale(), - 'version' => $args['version'], // Version of plugin, theme or core - ), - ); - - if ( 'core' !== $type ) { - $options['body']['slug'] = $args['slug']; // Plugin or theme slug - } - - $request = wp_remote_post( $url, $options ); - - if ( $ssl && is_wp_error( $request ) ) { - trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); - - $request = wp_remote_post( $http_url, $options ); - } - - if ( is_wp_error( $request ) ) { - $res = new WP_Error( 'translations_api_failed', __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ), $request->get_error_message() ); - } else { - $res = json_decode( wp_remote_retrieve_body( $request ), true ); - if ( ! is_object( $res ) && ! is_array( $res ) ) { - $res = new WP_Error( 'translations_api_failed', __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ), wp_remote_retrieve_body( $request ) ); - } - } - } - - /** - * Filter the Translation Install API response results. - * - * @since 4.0.0 - * - * @param object|WP_Error $res Response object or WP_Error. - * @param string $type The type of translations being requested. - * @param object $args Translation API arguments. - */ - return apply_filters( 'translations_api_result', $res, $type, $args ); -} - -/** - * Get available translations from the WordPress.org API. - * - * @since 4.0.0 - * - * @see translations_api() - * - * @return array Array of translations, each an array of data. If the API response results - * in an error, an empty array will be returned. - */ -function wp_get_available_translations() { - if ( ! defined( 'WP_INSTALLING' ) && false !== ( $translations = get_site_transient( 'available_translations' ) ) ) { - return $translations; - } - - include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version - - $api = translations_api( 'core', array( 'version' => $wp_version ) ); - - if ( is_wp_error( $api ) || empty( $api['translations'] ) ) { - return array(); - } - - $translations = array(); - // Key the array with the language code for now. - foreach ( $api['translations'] as $translation ) { - $translations[ $translation['language'] ] = $translation; - } - - if ( ! defined( 'WP_INSTALLING' ) ) { - set_site_transient( 'available_translations', $translations, 3 * HOUR_IN_SECONDS ); - } - - return $translations; -} - -/** - * Output the select form for the language selection on the installation screen. - * - * @since 4.0.0 - * - * @param array $languages Array of available languages (populated via the Translation API). - */ -function wp_install_language_form( $languages ) { - global $wp_local_package; - - $installed_languages = get_available_languages(); - - echo "\n"; - echo "\n"; - echo '

    '; -} - -/** - * Download a language pack. - * - * @since 4.0.0 - * - * @see wp_get_available_translations() - * - * @param string $download Language code to download. - * @return string|bool Returns the language code if successfully downloaded - * (or already installed), or false on failure. - */ -function wp_download_language_pack( $download ) { - // Check if the translation is already installed. - if ( in_array( $download, get_available_languages() ) ) { - return $download; - } - - if ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS ) { - return false; - } - - // Confirm the translation is one we can download. - $translations = wp_get_available_translations(); - if ( ! $translations ) { - return false; - } - foreach ( $translations as $translation ) { - if ( $translation['language'] === $download ) { - $translation_to_load = true; - break; - } - } - - if ( empty( $translation_to_load ) ) { - return false; - } - $translation = (object) $translation; - - require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; - $skin = new Automatic_Upgrader_Skin; - $upgrader = new Language_Pack_Upgrader( $skin ); - $translation->type = 'core'; - $result = $upgrader->upgrade( $translation, array( 'clear_update_cache' => false ) ); - - if ( ! $result || is_wp_error( $result ) ) { - return false; - } - - return $translation->language; -} - -/** - * Check if WordPress has access to the filesystem without asking for - * credentials. - * - * @since 4.0.0 - * - * @return bool Returns true on success, false on failure. - */ -function wp_can_install_language_pack() { - if ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS ) { - return false; - } - - require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; - $skin = new Automatic_Upgrader_Skin; - $upgrader = new Language_Pack_Upgrader( $skin ); - - $check = $upgrader->fs_connect( array( WP_CONTENT_DIR, WP_LANG_DIR ) ); - - if ( ! $check || is_wp_error( $check ) ) { - return false; - } - - return true; -} diff --git a/sources/wordpress/wp-admin/includes/update-core.php b/sources/wordpress/wp-admin/includes/update-core.php deleted file mode 100644 index 8c94796..0000000 --- a/sources/wordpress/wp-admin/includes/update-core.php +++ /dev/null @@ -1,1151 +0,0 @@ - Introduced version - * Directories should be noted by suffixing it with a trailing slash (/) - * - * @since 3.2.0 - * @global array $_new_bundled_files - * @var array - * @name $_new_bundled_files - */ -global $_new_bundled_files; - -$_new_bundled_files = array( - 'plugins/akismet/' => '2.0', - 'themes/twentyten/' => '3.0', - 'themes/twentyeleven/' => '3.2', - 'themes/twentytwelve/' => '3.5', - 'themes/twentythirteen/' => '3.6', - 'themes/twentyfourteen/' => '3.8', -); - -/** - * Upgrade the core of WordPress. - * - * This will create a .maintenance file at the base of the WordPress directory - * to ensure that people can not access the web site, when the files are being - * copied to their locations. - * - * The files in the {@link $_old_files} list will be removed and the new files - * copied from the zip file after the database is upgraded. - * - * The files in the {@link $_new_bundled_files} list will be added to the installation - * if the version is greater than or equal to the old version being upgraded. - * - * The steps for the upgrader for after the new release is downloaded and - * unzipped is: - * 1. Test unzipped location for select files to ensure that unzipped worked. - * 2. Create the .maintenance file in current WordPress base. - * 3. Copy new WordPress directory over old WordPress files. - * 4. Upgrade WordPress to new version. - * 4.1. Copy all files/folders other than wp-content - * 4.2. Copy any language files to WP_LANG_DIR (which may differ from WP_CONTENT_DIR - * 4.3. Copy any new bundled themes/plugins to their respective locations - * 5. Delete new WordPress directory path. - * 6. Delete .maintenance file. - * 7. Remove old files. - * 8. Delete 'update_core' option. - * - * There are several areas of failure. For instance if PHP times out before step - * 6, then you will not be able to access any portion of your site. Also, since - * the upgrade will not continue where it left off, you will not be able to - * automatically remove old files and remove the 'update_core' option. This - * isn't that bad. - * - * If the copy of the new WordPress over the old fails, then the worse is that - * the new WordPress directory will remain. - * - * If it is assumed that every file will be copied over, including plugins and - * themes, then if you edit the default theme, you should rename it, so that - * your changes remain. - * - * @since 2.7.0 - * - * @param string $from New release unzipped path. - * @param string $to Path to old WordPress installation. - * @return WP_Error|null WP_Error on failure, null on success. - */ -function update_core($from, $to) { - global $wp_filesystem, $_old_files, $_new_bundled_files, $wpdb; - - @set_time_limit( 300 ); - - /** - * Filter feedback messages displayed during the core update process. - * - * The filter is first evaluated after the zip file for the latest version - * has been downloaded and unzipped. It is evaluated five more times during - * the process: - * - * 1. Before WordPress begins the core upgrade process. - * 2. Before Maintenance Mode is enabled. - * 3. Before WordPress begins copying over the necessary files. - * 4. Before Maintenance Mode is disabled. - * 5. Before the database is upgraded. - * - * @since 2.5.0 - * - * @param string $feedback The core update feedback messages. - */ - apply_filters( 'update_feedback', __( 'Verifying the unpacked files…' ) ); - - // Sanity check the unzipped distribution. - $distro = ''; - $roots = array( '/wordpress/', '/wordpress-mu/' ); - foreach ( $roots as $root ) { - if ( $wp_filesystem->exists( $from . $root . 'readme.html' ) && $wp_filesystem->exists( $from . $root . 'wp-includes/version.php' ) ) { - $distro = $root; - break; - } - } - if ( ! $distro ) { - $wp_filesystem->delete( $from, true ); - return new WP_Error( 'insane_distro', __('The update could not be unpacked') ); - } - - // Import $wp_version, $required_php_version, and $required_mysql_version from the new version - // $wp_filesystem->wp_content_dir() returned unslashed pre-2.8 - $versions_file = trailingslashit( $wp_filesystem->wp_content_dir() ) . 'upgrade/version-current.php'; - if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $versions_file ) ) { - $wp_filesystem->delete( $from, true ); - return new WP_Error( 'copy_failed_for_version_file', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), 'wp-includes/version.php' ); - } - - $wp_filesystem->chmod( $versions_file, FS_CHMOD_FILE ); - require( WP_CONTENT_DIR . '/upgrade/version-current.php' ); - $wp_filesystem->delete( $versions_file ); - - $php_version = phpversion(); - $mysql_version = $wpdb->db_version(); - $old_wp_version = $GLOBALS['wp_version']; // The version of WordPress we're updating from - $development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' ) ); // a dash in the version indicates a Development release - $php_compat = version_compare( $php_version, $required_php_version, '>=' ); - if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) - $mysql_compat = true; - else - $mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ); - - if ( !$mysql_compat || !$php_compat ) - $wp_filesystem->delete($from, true); - - if ( !$mysql_compat && !$php_compat ) - return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) ); - elseif ( !$php_compat ) - return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) ); - elseif ( !$mysql_compat ) - return new WP_Error( 'mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s.'), $wp_version, $required_mysql_version, $mysql_version ) ); - - /** This filter is documented in wp-admin/includes/update-core.php */ - apply_filters( 'update_feedback', __( 'Preparing to install the latest version…' ) ); - - // Don't copy wp-content, we'll deal with that below - // We also copy version.php last so failed updates report their old version - $skip = array( 'wp-content', 'wp-includes/version.php' ); - $check_is_writable = array(); - - // Check to see which files don't really need updating - only available for 3.7 and higher - if ( function_exists( 'get_core_checksums' ) ) { - // Find the local version of the working directory - $working_dir_local = WP_CONTENT_DIR . '/upgrade/' . basename( $from ) . $distro; - - $checksums = get_core_checksums( $wp_version, isset( $wp_local_package ) ? $wp_local_package : 'en_US' ); - if ( is_array( $checksums ) && isset( $checksums[ $wp_version ] ) ) - $checksums = $checksums[ $wp_version ]; // Compat code for 3.7-beta2 - if ( is_array( $checksums ) ) { - foreach( $checksums as $file => $checksum ) { - if ( 'wp-content' == substr( $file, 0, 10 ) ) - continue; - if ( ! file_exists( ABSPATH . $file ) ) - continue; - if ( ! file_exists( $working_dir_local . $file ) ) - continue; - if ( md5_file( ABSPATH . $file ) === $checksum ) - $skip[] = $file; - else - $check_is_writable[ $file ] = ABSPATH . $file; - } - } - } - - // If we're using the direct method, we can predict write failures that are due to permissions. - if ( $check_is_writable && 'direct' === $wp_filesystem->method ) { - $files_writable = array_filter( $check_is_writable, array( $wp_filesystem, 'is_writable' ) ); - if ( $files_writable !== $check_is_writable ) { - $files_not_writable = array_diff_key( $check_is_writable, $files_writable ); - foreach ( $files_not_writable as $relative_file_not_writable => $file_not_writable ) { - // If the writable check failed, chmod file to 0644 and try again, same as copy_dir(). - $wp_filesystem->chmod( $file_not_writable, FS_CHMOD_FILE ); - if ( $wp_filesystem->is_writable( $file_not_writable ) ) - unset( $files_not_writable[ $relative_file_not_writable ] ); - } - - // Store package-relative paths (the key) of non-writable files in the WP_Error object. - $error_data = version_compare( $old_wp_version, '3.7-beta2', '>' ) ? array_keys( $files_not_writable ) : ''; - - if ( $files_not_writable ) - return new WP_Error( 'files_not_writable', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), implode( ', ', $error_data ) ); - } - } - - /** This filter is documented in wp-admin/includes/update-core.php */ - apply_filters( 'update_feedback', __( 'Enabling Maintenance mode…' ) ); - // Create maintenance file to signal that we are upgrading - $maintenance_string = ''; - $maintenance_file = $to . '.maintenance'; - $wp_filesystem->delete($maintenance_file); - $wp_filesystem->put_contents($maintenance_file, $maintenance_string, FS_CHMOD_FILE); - - /** This filter is documented in wp-admin/includes/update-core.php */ - apply_filters( 'update_feedback', __( 'Copying the required files…' ) ); - // Copy new versions of WP files into place. - $result = _copy_dir( $from . $distro, $to, $skip ); - if ( is_wp_error( $result ) ) - $result = new WP_Error( $result->get_error_code(), $result->get_error_message(), substr( $result->get_error_data(), strlen( $to ) ) ); - - // Since we know the core files have copied over, we can now copy the version file - if ( ! is_wp_error( $result ) ) { - if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) { - $wp_filesystem->delete( $from, true ); - $result = new WP_Error( 'copy_failed_for_version_file', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), 'wp-includes/version.php' ); - } - $wp_filesystem->chmod( $to . 'wp-includes/version.php', FS_CHMOD_FILE ); - } - - // Check to make sure everything copied correctly, ignoring the contents of wp-content - $skip = array( 'wp-content' ); - $failed = array(); - if ( isset( $checksums ) && is_array( $checksums ) ) { - foreach ( $checksums as $file => $checksum ) { - if ( 'wp-content' == substr( $file, 0, 10 ) ) - continue; - if ( ! file_exists( $working_dir_local . $file ) ) - continue; - if ( file_exists( ABSPATH . $file ) && md5_file( ABSPATH . $file ) == $checksum ) - $skip[] = $file; - else - $failed[] = $file; - } - } - - // Some files didn't copy properly - if ( ! empty( $failed ) ) { - $total_size = 0; - foreach ( $failed as $file ) { - if ( file_exists( $working_dir_local . $file ) ) - $total_size += filesize( $working_dir_local . $file ); - } - - // If we don't have enough free space, it isn't worth trying again. - // Unlikely to be hit due to the check in unzip_file(). - $available_space = @disk_free_space( ABSPATH ); - if ( $available_space && $total_size >= $available_space ) { - $result = new WP_Error( 'disk_full', __( 'There is not enough free disk space to complete the update.' ) ); - } else { - $result = _copy_dir( $from . $distro, $to, $skip ); - if ( is_wp_error( $result ) ) - $result = new WP_Error( $result->get_error_code() . '_retry', $result->get_error_message(), substr( $result->get_error_data(), strlen( $to ) ) ); - } - } - - // Custom Content Directory needs updating now. - // Copy Languages - if ( !is_wp_error($result) && $wp_filesystem->is_dir($from . $distro . 'wp-content/languages') ) { - if ( WP_LANG_DIR != ABSPATH . WPINC . '/languages' || @is_dir(WP_LANG_DIR) ) - $lang_dir = WP_LANG_DIR; - else - $lang_dir = WP_CONTENT_DIR . '/languages'; - - if ( !@is_dir($lang_dir) && 0 === strpos($lang_dir, ABSPATH) ) { // Check the language directory exists first - $wp_filesystem->mkdir($to . str_replace(ABSPATH, '', $lang_dir), FS_CHMOD_DIR); // If it's within the ABSPATH we can handle it here, otherwise they're out of luck. - clearstatcache(); // for FTP, Need to clear the stat cache - } - - if ( @is_dir($lang_dir) ) { - $wp_lang_dir = $wp_filesystem->find_folder($lang_dir); - if ( $wp_lang_dir ) { - $result = copy_dir($from . $distro . 'wp-content/languages/', $wp_lang_dir); - if ( is_wp_error( $result ) ) - $result = new WP_Error( $result->get_error_code() . '_languages', $result->get_error_message(), substr( $result->get_error_data(), strlen( $wp_lang_dir ) ) ); - } - } - } - - /** This filter is documented in wp-admin/includes/update-core.php */ - apply_filters( 'update_feedback', __( 'Disabling Maintenance mode…' ) ); - // Remove maintenance file, we're done with potential site-breaking changes - $wp_filesystem->delete( $maintenance_file ); - - // 3.5 -> 3.5+ - an empty twentytwelve directory was created upon upgrade to 3.5 for some users, preventing installation of Twenty Twelve. - if ( '3.5' == $old_wp_version ) { - if ( is_dir( WP_CONTENT_DIR . '/themes/twentytwelve' ) && ! file_exists( WP_CONTENT_DIR . '/themes/twentytwelve/style.css' ) ) { - $wp_filesystem->delete( $wp_filesystem->wp_themes_dir() . 'twentytwelve/' ); - } - } - - // Copy New bundled plugins & themes - // This gives us the ability to install new plugins & themes bundled with future versions of WordPress whilst avoiding the re-install upon upgrade issue. - // $development_build controls us overwriting bundled themes and plugins when a non-stable release is being updated - if ( !is_wp_error($result) && ( ! defined('CORE_UPGRADE_SKIP_NEW_BUNDLED') || ! CORE_UPGRADE_SKIP_NEW_BUNDLED ) ) { - foreach ( (array) $_new_bundled_files as $file => $introduced_version ) { - // If a $development_build or if $introduced version is greater than what the site was previously running - if ( $development_build || version_compare( $introduced_version, $old_wp_version, '>' ) ) { - $directory = ('/' == $file[ strlen($file)-1 ]); - list($type, $filename) = explode('/', $file, 2); - - // Check to see if the bundled items exist before attempting to copy them - if ( ! $wp_filesystem->exists( $from . $distro . 'wp-content/' . $file ) ) - continue; - - if ( 'plugins' == $type ) - $dest = $wp_filesystem->wp_plugins_dir(); - elseif ( 'themes' == $type ) - $dest = trailingslashit($wp_filesystem->wp_themes_dir()); // Back-compat, ::wp_themes_dir() did not return trailingslash'd pre-3.2 - else - continue; - - if ( ! $directory ) { - if ( ! $development_build && $wp_filesystem->exists( $dest . $filename ) ) - continue; - - if ( ! $wp_filesystem->copy($from . $distro . 'wp-content/' . $file, $dest . $filename, FS_CHMOD_FILE) ) - $result = new WP_Error( "copy_failed_for_new_bundled_$type", __( 'Could not copy file.' ), $dest . $filename ); - } else { - if ( ! $development_build && $wp_filesystem->is_dir( $dest . $filename ) ) - continue; - - $wp_filesystem->mkdir($dest . $filename, FS_CHMOD_DIR); - $_result = copy_dir( $from . $distro . 'wp-content/' . $file, $dest . $filename); - - // If a error occurs partway through this final step, keep the error flowing through, but keep process going. - if ( is_wp_error( $_result ) ) { - if ( ! is_wp_error( $result ) ) - $result = new WP_Error; - $result->add( $_result->get_error_code() . "_$type", $_result->get_error_message(), substr( $_result->get_error_data(), strlen( $dest ) ) ); - } - } - } - } //end foreach - } - - // Handle $result error from the above blocks - if ( is_wp_error($result) ) { - $wp_filesystem->delete($from, true); - return $result; - } - - // Remove old files - foreach ( $_old_files as $old_file ) { - $old_file = $to . $old_file; - if ( !$wp_filesystem->exists($old_file) ) - continue; - $wp_filesystem->delete($old_file, true); - } - - // Upgrade DB with separate request - /** This filter is documented in wp-admin/includes/update-core.php */ - apply_filters( 'update_feedback', __( 'Upgrading database…' ) ); - $db_upgrade_url = admin_url('upgrade.php?step=upgrade_db'); - wp_remote_post($db_upgrade_url, array('timeout' => 60)); - - // Clear the cache to prevent an update_option() from saving a stale db_version to the cache - wp_cache_flush(); - // (Not all cache backends listen to 'flush') - wp_cache_delete( 'alloptions', 'options' ); - - // Remove working directory - $wp_filesystem->delete($from, true); - - // Force refresh of update information - if ( function_exists('delete_site_transient') ) - delete_site_transient('update_core'); - else - delete_option('update_core'); - - /** - * Fires after WordPress core has been successfully updated. - * - * @since 3.3.0 - * - * @param string $wp_version The current WordPress version. - */ - do_action( '_core_updated_successfully', $wp_version ); - - // Clear the option that blocks auto updates after failures, now that we've been successful. - if ( function_exists( 'delete_site_option' ) ) - delete_site_option( 'auto_core_update_failed' ); - - return $wp_version; -} - -/** - * Copies a directory from one location to another via the WordPress Filesystem Abstraction. - * Assumes that WP_Filesystem() has already been called and setup. - * - * This is a temporary function for the 3.1 -> 3.2 upgrade, as well as for those upgrading to - * 3.7+ - * - * @ignore - * @since 3.2.0 - * @since 3.7.0 Updated not to use a regular expression for the skip list - * @see copy_dir() - * - * @param string $from source directory - * @param string $to destination directory - * @param array $skip_list a list of files/folders to skip copying - * @return mixed WP_Error on failure, True on success. - */ -function _copy_dir($from, $to, $skip_list = array() ) { - global $wp_filesystem; - - $dirlist = $wp_filesystem->dirlist($from); - - $from = trailingslashit($from); - $to = trailingslashit($to); - - foreach ( (array) $dirlist as $filename => $fileinfo ) { - if ( in_array( $filename, $skip_list ) ) - continue; - - if ( 'f' == $fileinfo['type'] ) { - if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true, FS_CHMOD_FILE) ) { - // If copy failed, chmod file to 0644 and try again. - $wp_filesystem->chmod( $to . $filename, FS_CHMOD_FILE ); - if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true, FS_CHMOD_FILE) ) - return new WP_Error( 'copy_failed__copy_dir', __( 'Could not copy file.' ), $to . $filename ); - } - } elseif ( 'd' == $fileinfo['type'] ) { - if ( !$wp_filesystem->is_dir($to . $filename) ) { - if ( !$wp_filesystem->mkdir($to . $filename, FS_CHMOD_DIR) ) - return new WP_Error( 'mkdir_failed__copy_dir', __( 'Could not create directory.' ), $to . $filename ); - } - - /* - * Generate the $sub_skip_list for the subdirectory as a sub-set - * of the existing $skip_list. - */ - $sub_skip_list = array(); - foreach ( $skip_list as $skip_item ) { - if ( 0 === strpos( $skip_item, $filename . '/' ) ) - $sub_skip_list[] = preg_replace( '!^' . preg_quote( $filename, '!' ) . '/!i', '', $skip_item ); - } - - $result = _copy_dir($from . $filename, $to . $filename, $sub_skip_list); - if ( is_wp_error($result) ) - return $result; - } - } - return true; -} - -/** - * Redirect to the About WordPress page after a successful upgrade. - * - * This function is only needed when the existing install is older than 3.4.0. - * - * @since 3.3.0 - * - */ -function _redirect_to_about_wordpress( $new_version ) { - global $wp_version, $pagenow, $action; - - if ( version_compare( $wp_version, '3.4-RC1', '>=' ) ) - return; - - // Ensure we only run this on the update-core.php page. The Core_Upgrader may be used in other contexts. - if ( 'update-core.php' != $pagenow ) - return; - - if ( 'do-core-upgrade' != $action && 'do-core-reinstall' != $action ) - return; - - // Load the updated default text localization domain for new strings. - load_default_textdomain(); - - // See do_core_upgrade() - show_message( __('WordPress updated successfully') ); - - // self_admin_url() won't exist when upgrading from <= 3.0, so relative URLs are intentional. - show_message( '' . sprintf( __( 'Welcome to WordPress %1$s. You will be redirected to the About WordPress screen. If not, click here.' ), $new_version, 'about.php?updated' ) . '' ); - show_message( '' . sprintf( __( 'Welcome to WordPress %1$s. Learn more.' ), $new_version, 'about.php?updated' ) . '' ); - echo '
    '; - ?> - - 'latest' ); - return $updates[0]; -} - -/** - * Get available core updates. - * - * @param array $options Set $options['dismissed'] to true to show dismissed upgrades too, - * set $options['available'] to false to skip not-dismissed updates. - * @return bool|array Array of the update objects on success, false on failure. - */ -function get_core_updates( $options = array() ) { - $options = array_merge( array( 'available' => true, 'dismissed' => false ), $options ); - $dismissed = get_site_option( 'dismissed_update_core' ); - - if ( ! is_array( $dismissed ) ) - $dismissed = array(); - - $from_api = get_site_transient( 'update_core' ); - - if ( ! isset( $from_api->updates ) || ! is_array( $from_api->updates ) ) - return false; - - $updates = $from_api->updates; - $result = array(); - foreach ( $updates as $update ) { - if ( $update->response == 'autoupdate' ) - continue; - - if ( array_key_exists( $update->current . '|' . $update->locale, $dismissed ) ) { - if ( $options['dismissed'] ) { - $update->dismissed = true; - $result[] = $update; - } - } else { - if ( $options['available'] ) { - $update->dismissed = false; - $result[] = $update; - } - } - } - return $result; -} - -/** - * Gets the best available (and enabled) Auto-Update for WordPress Core. - * - * If there's 1.2.3 and 1.3 on offer, it'll choose 1.3 if the install allows it, else, 1.2.3 - * - * @since 3.7.0 - * - * @return bool|array False on failure, otherwise the core update offering. - */ -function find_core_auto_update() { - $updates = get_site_transient( 'update_core' ); - if ( ! $updates || empty( $updates->updates ) ) - return false; - - include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); - - $auto_update = false; - $upgrader = new WP_Automatic_Updater; - foreach ( $updates->updates as $update ) { - if ( 'autoupdate' != $update->response ) - continue; - - if ( ! $upgrader->should_update( 'core', $update, ABSPATH ) ) - continue; - - if ( ! $auto_update || version_compare( $update->current, $auto_update->current, '>' ) ) - $auto_update = $update; - } - return $auto_update; -} - -/** - * Gets and caches the checksums for the given version of WordPress. - * - * @since 3.7.0 - * - * @param string $version Version string to query. - * @param string $locale Locale to query. - * @return bool|array False on failure. An array of checksums on success. - */ -function get_core_checksums( $version, $locale ) { - $url = $http_url = 'http://api.wordpress.org/core/checksums/1.0/?' . http_build_query( compact( 'version', 'locale' ), null, '&' ); - - if ( $ssl = wp_http_supports( array( 'ssl' ) ) ) - $url = set_url_scheme( $url, 'https' ); - - $options = array( - 'timeout' => ( ( defined('DOING_CRON') && DOING_CRON ) ? 30 : 3 ), - ); - - $response = wp_remote_get( $url, $options ); - if ( $ssl && is_wp_error( $response ) ) { - trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); - $response = wp_remote_get( $http_url, $options ); - } - - if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) - return false; - - $body = trim( wp_remote_retrieve_body( $response ) ); - $body = json_decode( $body, true ); - - if ( ! is_array( $body ) || ! isset( $body['checksums'] ) || ! is_array( $body['checksums'] ) ) - return false; - - return $body['checksums']; -} - -function dismiss_core_update( $update ) { - $dismissed = get_site_option( 'dismissed_update_core' ); - $dismissed[ $update->current . '|' . $update->locale ] = true; - return update_site_option( 'dismissed_update_core', $dismissed ); -} - -function undismiss_core_update( $version, $locale ) { - $dismissed = get_site_option( 'dismissed_update_core' ); - $key = $version . '|' . $locale; - - if ( ! isset( $dismissed[$key] ) ) - return false; - - unset( $dismissed[$key] ); - return update_site_option( 'dismissed_update_core', $dismissed ); -} - -function find_core_update( $version, $locale ) { - $from_api = get_site_transient( 'update_core' ); - - if ( ! isset( $from_api->updates ) || ! is_array( $from_api->updates ) ) - return false; - - $updates = $from_api->updates; - foreach ( $updates as $update ) { - if ( $update->current == $version && $update->locale == $locale ) - return $update; - } - return false; -} - -function core_update_footer( $msg = '' ) { - if ( !current_user_can('update_core') ) - return sprintf( __( 'Version %s' ), get_bloginfo( 'version', 'display' ) ); - - $cur = get_preferred_from_update_core(); - if ( ! is_object( $cur ) ) - $cur = new stdClass; - - if ( ! isset( $cur->current ) ) - $cur->current = ''; - - if ( ! isset( $cur->url ) ) - $cur->url = ''; - - if ( ! isset( $cur->response ) ) - $cur->response = ''; - - switch ( $cur->response ) { - case 'development' : - return sprintf( __( 'You are using a development version (%1$s). Cool! Please stay updated.' ), get_bloginfo( 'version', 'display' ), network_admin_url( 'update-core.php' ) ); - - case 'upgrade' : - return sprintf( ''.__( 'Get Version %2$s' ).'', network_admin_url( 'update-core.php' ), $cur->current); - - case 'latest' : - default : - return sprintf( __( 'Version %s' ), get_bloginfo( 'version', 'display' ) ); - } -} -add_filter( 'update_footer', 'core_update_footer' ); - -function update_nag() { - if ( is_multisite() && !current_user_can('update_core') ) - return false; - - global $pagenow; - - if ( 'update-core.php' == $pagenow ) - return; - - $cur = get_preferred_from_update_core(); - - if ( ! isset( $cur->response ) || $cur->response != 'upgrade' ) - return false; - - if ( current_user_can('update_core') ) { - $msg = sprintf( __('WordPress %1$s is available! Please update now.'), $cur->current, network_admin_url( 'update-core.php' ) ); - } else { - $msg = sprintf( __('WordPress %1$s is available! Please notify the site administrator.'), $cur->current ); - } - echo "
    $msg
    "; -} -add_action( 'admin_notices', 'update_nag', 3 ); -add_action( 'network_admin_notices', 'update_nag', 3 ); - -// Called directly from dashboard -function update_right_now_message() { - $theme_name = wp_get_theme(); - if ( current_user_can( 'switch_themes' ) ) { - $theme_name = sprintf( '%1$s', $theme_name ); - } - - $msg = sprintf( __( 'WordPress %1$s running %2$s theme.' ), get_bloginfo( 'version', 'display' ), $theme_name ); - - if ( current_user_can('update_core') ) { - $cur = get_preferred_from_update_core(); - - if ( isset( $cur->response ) && $cur->response == 'upgrade' ) - $msg .= " " . sprintf( __('Update to %s'), $cur->current ? $cur->current : __( 'Latest' ) ) . ''; - } - - echo "

    $msg

    "; -} - -function get_plugin_updates() { - $all_plugins = get_plugins(); - $upgrade_plugins = array(); - $current = get_site_transient( 'update_plugins' ); - foreach ( (array)$all_plugins as $plugin_file => $plugin_data) { - if ( isset( $current->response[ $plugin_file ] ) ) { - $upgrade_plugins[ $plugin_file ] = (object) $plugin_data; - $upgrade_plugins[ $plugin_file ]->update = $current->response[ $plugin_file ]; - } - } - - return $upgrade_plugins; -} - -function wp_plugin_update_rows() { - if ( !current_user_can('update_plugins' ) ) - return; - - $plugins = get_site_transient( 'update_plugins' ); - if ( isset($plugins->response) && is_array($plugins->response) ) { - $plugins = array_keys( $plugins->response ); - foreach( $plugins as $plugin_file ) { - add_action( "after_plugin_row_$plugin_file", 'wp_plugin_update_row', 10, 2 ); - } - } -} -add_action( 'admin_init', 'wp_plugin_update_rows' ); - -function wp_plugin_update_row( $file, $plugin_data ) { - $current = get_site_transient( 'update_plugins' ); - if ( !isset( $current->response[ $file ] ) ) - return false; - - $r = $current->response[ $file ]; - - $plugins_allowedtags = array('a' => array('href' => array(),'title' => array()),'abbr' => array('title' => array()),'acronym' => array('title' => array()),'code' => array(),'em' => array(),'strong' => array()); - $plugin_name = wp_kses( $plugin_data['Name'], $plugins_allowedtags ); - - $details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin=' . $r->slug . '§ion=changelog&TB_iframe=true&width=600&height=800'); - - $wp_list_table = _get_list_table('WP_Plugins_List_Table'); - - if ( is_network_admin() || !is_multisite() ) { - echo '
    '; - - if ( ! current_user_can('update_plugins') ) - printf( __('There is a new version of %1$s available. View version %4$s details.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version ); - else if ( empty($r->package) ) - printf( __('There is a new version of %1$s available. View version %4$s details. Automatic update is unavailable for this plugin.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version ); - else - printf( __('There is a new version of %1$s available. View version %4$s details or update now.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version, wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=') . $file, 'upgrade-plugin_' . $file) ); - - /** - * Fires at the end of the update message container in each - * row of the plugins list table. - * - * The dynamic portion of the hook name, $file, refers to the path - * of the plugin's primary file relative to the plugins directory. - * - * @since 2.8.0 - * - * @param array $plugin_data { - * An array of plugin metadata. - * - * @type string $name The human-readable name of the plugin. - * @type string $plugin_uri Plugin URI. - * @type string $version Plugin version. - * @type string $description Plugin description. - * @type string $author Plugin author. - * @type string $author_uri Plugin author URI. - * @type string $text_domain Plugin text domain. - * @type string $domain_path Relative path to the plugin's .mo file(s). - * @type bool $network Whether the plugin can only be activated network wide. - * @type string $title The human-readable title of the plugin. - * @type string $author_name Plugin author's name. - * @type bool $update Whether there's an available update. Default null. - * } - * @param array $r { - * An array of metadata about the available plugin update. - * - * @type int $id Plugin ID. - * @type string $slug Plugin slug. - * @type string $new_version New plugin version. - * @type string $url Plugin URL. - * @type string $package Plugin update package URL. - * } - */ - do_action( "in_plugin_update_message-{$file}", $plugin_data, $r ); - - echo '
    '; - } -} - -function get_theme_updates() { - $current = get_site_transient('update_themes'); - - if ( ! isset( $current->response ) ) - return array(); - - $update_themes = array(); - foreach ( $current->response as $stylesheet => $data ) { - $update_themes[ $stylesheet ] = wp_get_theme( $stylesheet ); - $update_themes[ $stylesheet ]->update = $data; - } - - return $update_themes; -} - -function wp_theme_update_rows() { - if ( !current_user_can('update_themes' ) ) - return; - - $themes = get_site_transient( 'update_themes' ); - if ( isset($themes->response) && is_array($themes->response) ) { - $themes = array_keys( $themes->response ); - - foreach( $themes as $theme ) { - add_action( "after_theme_row_$theme", 'wp_theme_update_row', 10, 2 ); - } - } -} -add_action( 'admin_init', 'wp_theme_update_rows' ); - -function wp_theme_update_row( $theme_key, $theme ) { - $current = get_site_transient( 'update_themes' ); - if ( !isset( $current->response[ $theme_key ] ) ) - return false; - $r = $current->response[ $theme_key ]; - - $details_url = add_query_arg( array( 'TB_iframe' => 'true', 'width' => 1024, 'height' => 800 ), $current->response[ $theme_key ]['url'] ); - - $wp_list_table = _get_list_table('WP_MS_Themes_List_Table'); - - echo '
    '; - if ( ! current_user_can('update_themes') ) - printf( __('There is a new version of %1$s available. View version %4$s details.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r->new_version ); - else if ( empty( $r['package'] ) ) - printf( __('There is a new version of %1$s available. View version %4$s details. Automatic update is unavailable for this theme.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r['new_version'] ); - else - printf( __('There is a new version of %1$s available. View version %4$s details or update now.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r['new_version'], wp_nonce_url( self_admin_url('update.php?action=upgrade-theme&theme=') . $theme_key, 'upgrade-theme_' . $theme_key) ); - - /** - * Fires at the end of the update message container in each - * row of the themes list table. - * - * The dynamic portion of the hook name, $theme_key, refers to - * the theme slug as found in the WordPress.org themes repository. - * - * @since 3.1.0 - * - * @param WP_Theme $theme The WP_Theme object. - * @param array $r { - * An array of metadata about the available theme update. - * - * @type string $new_version New theme version. - * @type string $url Theme URL. - * @type string $package Theme update package URL. - * } - */ - do_action( "in_theme_update_message-{$theme_key}", $theme, $r ); - - echo '
    '; -} - -function maintenance_nag() { - include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version - global $upgrading; - $nag = isset( $upgrading ); - if ( ! $nag ) { - $failed = get_site_option( 'auto_core_update_failed' ); - /* - * If an update failed critically, we may have copied over version.php but not other files. - * In that case, if the install claims we're running the version we attempted, nag. - * This is serious enough to err on the side of nagging. - * - * If we simply failed to update before we tried to copy any files, then assume things are - * OK if they are now running the latest. - * - * This flag is cleared whenever a successful update occurs using Core_Upgrader. - */ - $comparison = ! empty( $failed['critical'] ) ? '>=' : '>'; - if ( version_compare( $failed['attempted'], $wp_version, $comparison ) ) - $nag = true; - } - - if ( ! $nag ) - return false; - - if ( current_user_can('update_core') ) - $msg = sprintf( __('An automated WordPress update has failed to complete - please attempt the update again now.'), 'update-core.php' ); - else - $msg = __('An automated WordPress update has failed to complete! Please notify the site administrator.'); - - echo "
    $msg
    "; -} -add_action( 'admin_notices', 'maintenance_nag' ); -add_action( 'network_admin_notices', 'maintenance_nag' ); diff --git a/sources/wordpress/wp-admin/includes/upgrade.php b/sources/wordpress/wp-admin/includes/upgrade.php deleted file mode 100644 index 02dfe09..0000000 --- a/sources/wordpress/wp-admin/includes/upgrade.php +++ /dev/null @@ -1,2216 +0,0 @@ -Note that password carefully! It is a random password that was generated just for you.'); - $user_id = wp_create_user($user_name, $user_password, $user_email); - update_user_option($user_id, 'default_password_nag', true, true); - $email_password = true; - } else if ( !$user_id ) { - // Password has been provided - $message = ''.__('Your chosen password.').''; - $user_id = wp_create_user($user_name, $user_password, $user_email); - } else { - $message = __('User already exists. Password inherited.'); - } - - $user = new WP_User($user_id); - $user->set_role('administrator'); - - wp_install_defaults($user_id); - - flush_rewrite_rules(); - - wp_new_blog_notification($blog_title, $guessurl, $user_id, ($email_password ? $user_password : __('The password you chose during the install.') ) ); - - wp_cache_flush(); - - /** - * Fires after a site is fully installed. - * - * @since 3.9.0 - * - * @param WP_User $user The site owner. - */ - do_action( 'wp_install', $user ); - - return array('url' => $guessurl, 'user_id' => $user_id, 'password' => $user_password, 'password_message' => $message); -} -endif; - -if ( !function_exists('wp_install_defaults') ) : -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 2.1.0 - * - * @param int $user_id User ID. - */ -function wp_install_defaults( $user_id ) { - global $wpdb, $wp_rewrite, $table_prefix; - - // Default category - $cat_name = __('Uncategorized'); - /* translators: Default category slug */ - $cat_slug = sanitize_title(_x('Uncategorized', 'Default category slug')); - - if ( global_terms_enabled() ) { - $cat_id = $wpdb->get_var( $wpdb->prepare( "SELECT cat_ID FROM {$wpdb->sitecategories} WHERE category_nicename = %s", $cat_slug ) ); - if ( $cat_id == null ) { - $wpdb->insert( $wpdb->sitecategories, array('cat_ID' => 0, 'cat_name' => $cat_name, 'category_nicename' => $cat_slug, 'last_updated' => current_time('mysql', true)) ); - $cat_id = $wpdb->insert_id; - } - update_option('default_category', $cat_id); - } else { - $cat_id = 1; - } - - $wpdb->insert( $wpdb->terms, array('term_id' => $cat_id, 'name' => $cat_name, 'slug' => $cat_slug, 'term_group' => 0) ); - $wpdb->insert( $wpdb->term_taxonomy, array('term_id' => $cat_id, 'taxonomy' => 'category', 'description' => '', 'parent' => 0, 'count' => 1)); - $cat_tt_id = $wpdb->insert_id; - - // First post - $now = date('Y-m-d H:i:s'); - $now_gmt = gmdate('Y-m-d H:i:s'); - $first_post_guid = get_option('home') . '/?p=1'; - - if ( is_multisite() ) { - $first_post = get_site_option( 'first_post' ); - - if ( empty($first_post) ) - $first_post = __( 'Welcome to SITE_NAME. This is your first post. Edit or delete it, then start blogging!' ); - - $first_post = str_replace( "SITE_URL", esc_url( network_home_url() ), $first_post ); - $first_post = str_replace( "SITE_NAME", get_current_site()->site_name, $first_post ); - } else { - $first_post = __('Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!'); - } - - $wpdb->insert( $wpdb->posts, array( - 'post_author' => $user_id, - 'post_date' => $now, - 'post_date_gmt' => $now_gmt, - 'post_content' => $first_post, - 'post_excerpt' => '', - 'post_title' => __('Hello world!'), - /* translators: Default post slug */ - 'post_name' => sanitize_title( _x('hello-world', 'Default post slug') ), - 'post_modified' => $now, - 'post_modified_gmt' => $now_gmt, - 'guid' => $first_post_guid, - 'comment_count' => 1, - 'to_ping' => '', - 'pinged' => '', - 'post_content_filtered' => '' - )); - $wpdb->insert( $wpdb->term_relationships, array('term_taxonomy_id' => $cat_tt_id, 'object_id' => 1) ); - - // Default comment - $first_comment_author = __('Mr WordPress'); - $first_comment_url = 'https://wordpress.org/'; - $first_comment = __('Hi, this is a comment. -To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.'); - if ( is_multisite() ) { - $first_comment_author = get_site_option( 'first_comment_author', $first_comment_author ); - $first_comment_url = get_site_option( 'first_comment_url', network_home_url() ); - $first_comment = get_site_option( 'first_comment', $first_comment ); - } - $wpdb->insert( $wpdb->comments, array( - 'comment_post_ID' => 1, - 'comment_author' => $first_comment_author, - 'comment_author_email' => '', - 'comment_author_url' => $first_comment_url, - 'comment_date' => $now, - 'comment_date_gmt' => $now_gmt, - 'comment_content' => $first_comment - )); - - // First Page - $first_page = sprintf( __( "This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this: - -
    Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my blog. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin' caught in the rain.)
    - -...or something like this: - -
    The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.
    - -As a new WordPress user, you should go to your dashboard to delete this page and create new pages for your content. Have fun!" ), admin_url() ); - if ( is_multisite() ) - $first_page = get_site_option( 'first_page', $first_page ); - $first_post_guid = get_option('home') . '/?page_id=2'; - $wpdb->insert( $wpdb->posts, array( - 'post_author' => $user_id, - 'post_date' => $now, - 'post_date_gmt' => $now_gmt, - 'post_content' => $first_page, - 'post_excerpt' => '', - 'post_title' => __( 'Sample Page' ), - /* translators: Default page slug */ - 'post_name' => __( 'sample-page' ), - 'post_modified' => $now, - 'post_modified_gmt' => $now_gmt, - 'guid' => $first_post_guid, - 'post_type' => 'page', - 'to_ping' => '', - 'pinged' => '', - 'post_content_filtered' => '' - )); - $wpdb->insert( $wpdb->postmeta, array( 'post_id' => 2, 'meta_key' => '_wp_page_template', 'meta_value' => 'default' ) ); - - // Set up default widgets for default theme. - update_option( 'widget_search', array ( 2 => array ( 'title' => '' ), '_multiwidget' => 1 ) ); - update_option( 'widget_recent-posts', array ( 2 => array ( 'title' => '', 'number' => 5 ), '_multiwidget' => 1 ) ); - update_option( 'widget_recent-comments', array ( 2 => array ( 'title' => '', 'number' => 5 ), '_multiwidget' => 1 ) ); - update_option( 'widget_archives', array ( 2 => array ( 'title' => '', 'count' => 0, 'dropdown' => 0 ), '_multiwidget' => 1 ) ); - update_option( 'widget_categories', array ( 2 => array ( 'title' => '', 'count' => 0, 'hierarchical' => 0, 'dropdown' => 0 ), '_multiwidget' => 1 ) ); - update_option( 'widget_meta', array ( 2 => array ( 'title' => '' ), '_multiwidget' => 1 ) ); - update_option( 'sidebars_widgets', array ( 'wp_inactive_widgets' => array (), 'sidebar-1' => array ( 0 => 'search-2', 1 => 'recent-posts-2', 2 => 'recent-comments-2', 3 => 'archives-2', 4 => 'categories-2', 5 => 'meta-2', ), 'sidebar-2' => array (), 'sidebar-3' => array (), 'array_version' => 3 ) ); - - if ( ! is_multisite() ) - update_user_meta( $user_id, 'show_welcome_panel', 1 ); - elseif ( ! is_super_admin( $user_id ) && ! metadata_exists( 'user', $user_id, 'show_welcome_panel' ) ) - update_user_meta( $user_id, 'show_welcome_panel', 2 ); - - if ( is_multisite() ) { - // Flush rules to pick up the new page. - $wp_rewrite->init(); - $wp_rewrite->flush_rules(); - - $user = new WP_User($user_id); - $wpdb->update( $wpdb->options, array('option_value' => $user->user_email), array('option_name' => 'admin_email') ); - - // Remove all perms except for the login user. - $wpdb->query( $wpdb->prepare("DELETE FROM $wpdb->usermeta WHERE user_id != %d AND meta_key = %s", $user_id, $table_prefix.'user_level') ); - $wpdb->query( $wpdb->prepare("DELETE FROM $wpdb->usermeta WHERE user_id != %d AND meta_key = %s", $user_id, $table_prefix.'capabilities') ); - - // Delete any caps that snuck into the previously active blog. (Hardcoded to blog 1 for now.) TODO: Get previous_blog_id. - if ( !is_super_admin( $user_id ) && $user_id != 1 ) - $wpdb->delete( $wpdb->usermeta, array( 'user_id' => $user_id , 'meta_key' => $wpdb->base_prefix.'1_capabilities' ) ); - } -} -endif; - -if ( !function_exists('wp_new_blog_notification') ) : -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 2.1.0 - * - * @param string $blog_title Blog title. - * @param string $blog_url Blog url. - * @param int $user_id User ID. - * @param string $password User's Password. - */ -function wp_new_blog_notification($blog_title, $blog_url, $user_id, $password) { - $user = new WP_User( $user_id ); - $email = $user->user_email; - $name = $user->user_login; - $message = sprintf(__("Your new WordPress site has been successfully set up at: - -%1\$s - -You can log in to the administrator account with the following information: - -Username: %2\$s -Password: %3\$s - -We hope you enjoy your new site. Thanks! - ---The WordPress Team -https://wordpress.org/ -"), $blog_url, $name, $password); - - @wp_mail($email, __('New WordPress Site'), $message); -} -endif; - -if ( !function_exists('wp_upgrade') ) : -/** - * Run WordPress Upgrade functions. - * - * {@internal Missing Long Description}} - * - * @since 2.1.0 - * - * @return null - */ -function wp_upgrade() { - global $wp_current_db_version, $wp_db_version, $wpdb; - - $wp_current_db_version = __get_option('db_version'); - - // We are up-to-date. Nothing to do. - if ( $wp_db_version == $wp_current_db_version ) - return; - - if ( ! is_blog_installed() ) - return; - - wp_check_mysql_version(); - wp_cache_flush(); - pre_schema_upgrade(); - make_db_current_silent(); - upgrade_all(); - if ( is_multisite() && is_main_site() ) - upgrade_network(); - wp_cache_flush(); - - if ( is_multisite() ) { - if ( $wpdb->get_row( "SELECT blog_id FROM {$wpdb->blog_versions} WHERE blog_id = '{$wpdb->blogid}'" ) ) - $wpdb->query( "UPDATE {$wpdb->blog_versions} SET db_version = '{$wp_db_version}' WHERE blog_id = '{$wpdb->blogid}'" ); - else - $wpdb->query( "INSERT INTO {$wpdb->blog_versions} ( `blog_id` , `db_version` , `last_updated` ) VALUES ( '{$wpdb->blogid}', '{$wp_db_version}', NOW());" ); - } - - /** - * Fires after a site is fully upgraded. - * - * @since 3.9.0 - * - * @param int $wp_db_version The new $wp_db_version. - * @param int $wp_current_db_version The old (current) $wp_db_version. - */ - do_action( 'wp_upgrade', $wp_db_version, $wp_current_db_version ); -} -endif; - -/** - * Functions to be called in install and upgrade scripts. - * - * {@internal Missing Long Description}} - * - * @since 1.0.1 - */ -function upgrade_all() { - global $wp_current_db_version, $wp_db_version; - $wp_current_db_version = __get_option('db_version'); - - // We are up-to-date. Nothing to do. - if ( $wp_db_version == $wp_current_db_version ) - return; - - // If the version is not set in the DB, try to guess the version. - if ( empty($wp_current_db_version) ) { - $wp_current_db_version = 0; - - // If the template option exists, we have 1.5. - $template = __get_option('template'); - if ( !empty($template) ) - $wp_current_db_version = 2541; - } - - if ( $wp_current_db_version < 6039 ) - upgrade_230_options_table(); - - populate_options(); - - if ( $wp_current_db_version < 2541 ) { - upgrade_100(); - upgrade_101(); - upgrade_110(); - upgrade_130(); - } - - if ( $wp_current_db_version < 3308 ) - upgrade_160(); - - if ( $wp_current_db_version < 4772 ) - upgrade_210(); - - if ( $wp_current_db_version < 4351 ) - upgrade_old_slugs(); - - if ( $wp_current_db_version < 5539 ) - upgrade_230(); - - if ( $wp_current_db_version < 6124 ) - upgrade_230_old_tables(); - - if ( $wp_current_db_version < 7499 ) - upgrade_250(); - - if ( $wp_current_db_version < 7935 ) - upgrade_252(); - - if ( $wp_current_db_version < 8201 ) - upgrade_260(); - - if ( $wp_current_db_version < 8989 ) - upgrade_270(); - - if ( $wp_current_db_version < 10360 ) - upgrade_280(); - - if ( $wp_current_db_version < 11958 ) - upgrade_290(); - - if ( $wp_current_db_version < 15260 ) - upgrade_300(); - - if ( $wp_current_db_version < 19389 ) - upgrade_330(); - - if ( $wp_current_db_version < 20080 ) - upgrade_340(); - - if ( $wp_current_db_version < 22422 ) - upgrade_350(); - - if ( $wp_current_db_version < 25824 ) - upgrade_370(); - - if ( $wp_current_db_version < 26148 ) - upgrade_372(); - - if ( $wp_current_db_version < 26691 ) - upgrade_380(); - - if ( $wp_current_db_version < 29630 ) - upgrade_400(); - - maybe_disable_link_manager(); - - maybe_disable_automattic_widgets(); - - update_option( 'db_version', $wp_db_version ); - update_option( 'db_upgraded', true ); -} - -/** - * Execute changes made in WordPress 1.0. - * - * @since 1.0.0 - */ -function upgrade_100() { - global $wpdb; - - // Get the title and ID of every post, post_name to check if it already has a value - $posts = $wpdb->get_results("SELECT ID, post_title, post_name FROM $wpdb->posts WHERE post_name = ''"); - if ($posts) { - foreach($posts as $post) { - if ('' == $post->post_name) { - $newtitle = sanitize_title($post->post_title); - $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET post_name = %s WHERE ID = %d", $newtitle, $post->ID) ); - } - } - } - - $categories = $wpdb->get_results("SELECT cat_ID, cat_name, category_nicename FROM $wpdb->categories"); - foreach ($categories as $category) { - if ('' == $category->category_nicename) { - $newtitle = sanitize_title($category->cat_name); - $wpdb->update( $wpdb->categories, array('category_nicename' => $newtitle), array('cat_ID' => $category->cat_ID) ); - } - } - - $sql = "UPDATE $wpdb->options - SET option_value = REPLACE(option_value, 'wp-links/links-images/', 'wp-images/links/') - WHERE option_name LIKE %s - AND option_value LIKE %s"; - $wpdb->query( $wpdb->prepare( $sql, $wpdb->esc_like( 'links_rating_image' ) . '%', $wpdb->esc_like( 'wp-links/links-images/' ) . '%' ) ); - - $done_ids = $wpdb->get_results("SELECT DISTINCT post_id FROM $wpdb->post2cat"); - if ($done_ids) : - foreach ($done_ids as $done_id) : - $done_posts[] = $done_id->post_id; - endforeach; - $catwhere = ' AND ID NOT IN (' . implode(',', $done_posts) . ')'; - else: - $catwhere = ''; - endif; - - $allposts = $wpdb->get_results("SELECT ID, post_category FROM $wpdb->posts WHERE post_category != '0' $catwhere"); - if ($allposts) : - foreach ($allposts as $post) { - // Check to see if it's already been imported - $cat = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->post2cat WHERE post_id = %d AND category_id = %d", $post->ID, $post->post_category) ); - if (!$cat && 0 != $post->post_category) { // If there's no result - $wpdb->insert( $wpdb->post2cat, array('post_id' => $post->ID, 'category_id' => $post->post_category) ); - } - } - endif; -} - -/** - * Execute changes made in WordPress 1.0.1. - * - * @since 1.0.1 - */ -function upgrade_101() { - global $wpdb; - - // Clean up indices, add a few - add_clean_index($wpdb->posts, 'post_name'); - add_clean_index($wpdb->posts, 'post_status'); - add_clean_index($wpdb->categories, 'category_nicename'); - add_clean_index($wpdb->comments, 'comment_approved'); - add_clean_index($wpdb->comments, 'comment_post_ID'); - add_clean_index($wpdb->links , 'link_category'); - add_clean_index($wpdb->links , 'link_visible'); -} - -/** - * Execute changes made in WordPress 1.2. - * - * @since 1.2.0 - */ -function upgrade_110() { - global $wpdb; - - // Set user_nicename. - $users = $wpdb->get_results("SELECT ID, user_nickname, user_nicename FROM $wpdb->users"); - foreach ($users as $user) { - if ('' == $user->user_nicename) { - $newname = sanitize_title($user->user_nickname); - $wpdb->update( $wpdb->users, array('user_nicename' => $newname), array('ID' => $user->ID) ); - } - } - - $users = $wpdb->get_results("SELECT ID, user_pass from $wpdb->users"); - foreach ($users as $row) { - if (!preg_match('/^[A-Fa-f0-9]{32}$/', $row->user_pass)) { - $wpdb->update( $wpdb->users, array('user_pass' => md5($row->user_pass)), array('ID' => $row->ID) ); - } - } - - // Get the GMT offset, we'll use that later on - $all_options = get_alloptions_110(); - - $time_difference = $all_options->time_difference; - - $server_time = time()+date('Z'); - $weblogger_time = $server_time + $time_difference * HOUR_IN_SECONDS; - $gmt_time = time(); - - $diff_gmt_server = ($gmt_time - $server_time) / HOUR_IN_SECONDS; - $diff_weblogger_server = ($weblogger_time - $server_time) / HOUR_IN_SECONDS; - $diff_gmt_weblogger = $diff_gmt_server - $diff_weblogger_server; - $gmt_offset = -$diff_gmt_weblogger; - - // Add a gmt_offset option, with value $gmt_offset - add_option('gmt_offset', $gmt_offset); - - // Check if we already set the GMT fields (if we did, then - // MAX(post_date_gmt) can't be '0000-00-00 00:00:00' - // I just slapped myself silly for not thinking about it earlier - $got_gmt_fields = ! ($wpdb->get_var("SELECT MAX(post_date_gmt) FROM $wpdb->posts") == '0000-00-00 00:00:00'); - - if (!$got_gmt_fields) { - - // Add or subtract time to all dates, to get GMT dates - $add_hours = intval($diff_gmt_weblogger); - $add_minutes = intval(60 * ($diff_gmt_weblogger - $add_hours)); - $wpdb->query("UPDATE $wpdb->posts SET post_date_gmt = DATE_ADD(post_date, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)"); - $wpdb->query("UPDATE $wpdb->posts SET post_modified = post_date"); - $wpdb->query("UPDATE $wpdb->posts SET post_modified_gmt = DATE_ADD(post_modified, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE) WHERE post_modified != '0000-00-00 00:00:00'"); - $wpdb->query("UPDATE $wpdb->comments SET comment_date_gmt = DATE_ADD(comment_date, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)"); - $wpdb->query("UPDATE $wpdb->users SET user_registered = DATE_ADD(user_registered, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)"); - } - -} - -/** - * Execute changes made in WordPress 1.5. - * - * @since 1.5.0 - */ -function upgrade_130() { - global $wpdb; - - // Remove extraneous backslashes. - $posts = $wpdb->get_results("SELECT ID, post_title, post_content, post_excerpt, guid, post_date, post_name, post_status, post_author FROM $wpdb->posts"); - if ($posts) { - foreach($posts as $post) { - $post_content = addslashes(deslash($post->post_content)); - $post_title = addslashes(deslash($post->post_title)); - $post_excerpt = addslashes(deslash($post->post_excerpt)); - if ( empty($post->guid) ) - $guid = get_permalink($post->ID); - else - $guid = $post->guid; - - $wpdb->update( $wpdb->posts, compact('post_title', 'post_content', 'post_excerpt', 'guid'), array('ID' => $post->ID) ); - - } - } - - // Remove extraneous backslashes. - $comments = $wpdb->get_results("SELECT comment_ID, comment_author, comment_content FROM $wpdb->comments"); - if ($comments) { - foreach($comments as $comment) { - $comment_content = deslash($comment->comment_content); - $comment_author = deslash($comment->comment_author); - - $wpdb->update($wpdb->comments, compact('comment_content', 'comment_author'), array('comment_ID' => $comment->comment_ID) ); - } - } - - // Remove extraneous backslashes. - $links = $wpdb->get_results("SELECT link_id, link_name, link_description FROM $wpdb->links"); - if ($links) { - foreach($links as $link) { - $link_name = deslash($link->link_name); - $link_description = deslash($link->link_description); - - $wpdb->update( $wpdb->links, compact('link_name', 'link_description'), array('link_id' => $link->link_id) ); - } - } - - $active_plugins = __get_option('active_plugins'); - - /* - * If plugins are not stored in an array, they're stored in the old - * newline separated format. Convert to new format. - */ - if ( !is_array( $active_plugins ) ) { - $active_plugins = explode("\n", trim($active_plugins)); - update_option('active_plugins', $active_plugins); - } - - // Obsolete tables - $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'optionvalues'); - $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'optiontypes'); - $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'optiongroups'); - $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'optiongroup_options'); - - // Update comments table to use comment_type - $wpdb->query("UPDATE $wpdb->comments SET comment_type='trackback', comment_content = REPLACE(comment_content, '', '') WHERE comment_content LIKE '%'"); - $wpdb->query("UPDATE $wpdb->comments SET comment_type='pingback', comment_content = REPLACE(comment_content, '', '') WHERE comment_content LIKE '%'"); - - // Some versions have multiple duplicate option_name rows with the same values - $options = $wpdb->get_results("SELECT option_name, COUNT(option_name) AS dupes FROM `$wpdb->options` GROUP BY option_name"); - foreach ( $options as $option ) { - if ( 1 != $option->dupes ) { // Could this be done in the query? - $limit = $option->dupes - 1; - $dupe_ids = $wpdb->get_col( $wpdb->prepare("SELECT option_id FROM $wpdb->options WHERE option_name = %s LIMIT %d", $option->option_name, $limit) ); - if ( $dupe_ids ) { - $dupe_ids = join($dupe_ids, ','); - $wpdb->query("DELETE FROM $wpdb->options WHERE option_id IN ($dupe_ids)"); - } - } - } - - make_site_theme(); -} - -/** - * Execute changes made in WordPress 2.0. - * - * @since 2.0.0 - */ -function upgrade_160() { - global $wpdb, $wp_current_db_version; - - populate_roles_160(); - - $users = $wpdb->get_results("SELECT * FROM $wpdb->users"); - foreach ( $users as $user ) : - if ( !empty( $user->user_firstname ) ) - update_user_meta( $user->ID, 'first_name', wp_slash($user->user_firstname) ); - if ( !empty( $user->user_lastname ) ) - update_user_meta( $user->ID, 'last_name', wp_slash($user->user_lastname) ); - if ( !empty( $user->user_nickname ) ) - update_user_meta( $user->ID, 'nickname', wp_slash($user->user_nickname) ); - if ( !empty( $user->user_level ) ) - update_user_meta( $user->ID, $wpdb->prefix . 'user_level', $user->user_level ); - if ( !empty( $user->user_icq ) ) - update_user_meta( $user->ID, 'icq', wp_slash($user->user_icq) ); - if ( !empty( $user->user_aim ) ) - update_user_meta( $user->ID, 'aim', wp_slash($user->user_aim) ); - if ( !empty( $user->user_msn ) ) - update_user_meta( $user->ID, 'msn', wp_slash($user->user_msn) ); - if ( !empty( $user->user_yim ) ) - update_user_meta( $user->ID, 'yim', wp_slash($user->user_icq) ); - if ( !empty( $user->user_description ) ) - update_user_meta( $user->ID, 'description', wp_slash($user->user_description) ); - - if ( isset( $user->user_idmode ) ): - $idmode = $user->user_idmode; - if ($idmode == 'nickname') $id = $user->user_nickname; - if ($idmode == 'login') $id = $user->user_login; - if ($idmode == 'firstname') $id = $user->user_firstname; - if ($idmode == 'lastname') $id = $user->user_lastname; - if ($idmode == 'namefl') $id = $user->user_firstname.' '.$user->user_lastname; - if ($idmode == 'namelf') $id = $user->user_lastname.' '.$user->user_firstname; - if (!$idmode) $id = $user->user_nickname; - $wpdb->update( $wpdb->users, array('display_name' => $id), array('ID' => $user->ID) ); - endif; - - // FIXME: RESET_CAPS is temporary code to reset roles and caps if flag is set. - $caps = get_user_meta( $user->ID, $wpdb->prefix . 'capabilities'); - if ( empty($caps) || defined('RESET_CAPS') ) { - $level = get_user_meta($user->ID, $wpdb->prefix . 'user_level', true); - $role = translate_level_to_role($level); - update_user_meta( $user->ID, $wpdb->prefix . 'capabilities', array($role => true) ); - } - - endforeach; - $old_user_fields = array( 'user_firstname', 'user_lastname', 'user_icq', 'user_aim', 'user_msn', 'user_yim', 'user_idmode', 'user_ip', 'user_domain', 'user_browser', 'user_description', 'user_nickname', 'user_level' ); - $wpdb->hide_errors(); - foreach ( $old_user_fields as $old ) - $wpdb->query("ALTER TABLE $wpdb->users DROP $old"); - $wpdb->show_errors(); - - // Populate comment_count field of posts table. - $comments = $wpdb->get_results( "SELECT comment_post_ID, COUNT(*) as c FROM $wpdb->comments WHERE comment_approved = '1' GROUP BY comment_post_ID" ); - if ( is_array( $comments ) ) - foreach ($comments as $comment) - $wpdb->update( $wpdb->posts, array('comment_count' => $comment->c), array('ID' => $comment->comment_post_ID) ); - - /* - * Some alpha versions used a post status of object instead of attachment - * and put the mime type in post_type instead of post_mime_type. - */ - if ( $wp_current_db_version > 2541 && $wp_current_db_version <= 3091 ) { - $objects = $wpdb->get_results("SELECT ID, post_type FROM $wpdb->posts WHERE post_status = 'object'"); - foreach ($objects as $object) { - $wpdb->update( $wpdb->posts, array( 'post_status' => 'attachment', - 'post_mime_type' => $object->post_type, - 'post_type' => ''), - array( 'ID' => $object->ID ) ); - - $meta = get_post_meta($object->ID, 'imagedata', true); - if ( ! empty($meta['file']) ) - update_attached_file( $object->ID, $meta['file'] ); - } - } -} - -/** - * Execute changes made in WordPress 2.1. - * - * @since 2.1.0 - */ -function upgrade_210() { - global $wpdb, $wp_current_db_version; - - if ( $wp_current_db_version < 3506 ) { - // Update status and type. - $posts = $wpdb->get_results("SELECT ID, post_status FROM $wpdb->posts"); - - if ( ! empty($posts) ) foreach ($posts as $post) { - $status = $post->post_status; - $type = 'post'; - - if ( 'static' == $status ) { - $status = 'publish'; - $type = 'page'; - } else if ( 'attachment' == $status ) { - $status = 'inherit'; - $type = 'attachment'; - } - - $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET post_status = %s, post_type = %s WHERE ID = %d", $status, $type, $post->ID) ); - } - } - - if ( $wp_current_db_version < 3845 ) { - populate_roles_210(); - } - - if ( $wp_current_db_version < 3531 ) { - // Give future posts a post_status of future. - $now = gmdate('Y-m-d H:i:59'); - $wpdb->query ("UPDATE $wpdb->posts SET post_status = 'future' WHERE post_status = 'publish' AND post_date_gmt > '$now'"); - - $posts = $wpdb->get_results("SELECT ID, post_date FROM $wpdb->posts WHERE post_status ='future'"); - if ( !empty($posts) ) - foreach ( $posts as $post ) - wp_schedule_single_event(mysql2date('U', $post->post_date, false), 'publish_future_post', array($post->ID)); - } -} - -/** - * Execute changes made in WordPress 2.3. - * - * @since 2.3.0 - */ -function upgrade_230() { - global $wp_current_db_version, $wpdb; - - if ( $wp_current_db_version < 5200 ) { - populate_roles_230(); - } - - // Convert categories to terms. - $tt_ids = array(); - $have_tags = false; - $categories = $wpdb->get_results("SELECT * FROM $wpdb->categories ORDER BY cat_ID"); - foreach ($categories as $category) { - $term_id = (int) $category->cat_ID; - $name = $category->cat_name; - $description = $category->category_description; - $slug = $category->category_nicename; - $parent = $category->category_parent; - $term_group = 0; - - // Associate terms with the same slug in a term group and make slugs unique. - if ( $exists = $wpdb->get_results( $wpdb->prepare("SELECT term_id, term_group FROM $wpdb->terms WHERE slug = %s", $slug) ) ) { - $term_group = $exists[0]->term_group; - $id = $exists[0]->term_id; - $num = 2; - do { - $alt_slug = $slug . "-$num"; - $num++; - $slug_check = $wpdb->get_var( $wpdb->prepare("SELECT slug FROM $wpdb->terms WHERE slug = %s", $alt_slug) ); - } while ( $slug_check ); - - $slug = $alt_slug; - - if ( empty( $term_group ) ) { - $term_group = $wpdb->get_var("SELECT MAX(term_group) FROM $wpdb->terms GROUP BY term_group") + 1; - $wpdb->query( $wpdb->prepare("UPDATE $wpdb->terms SET term_group = %d WHERE term_id = %d", $term_group, $id) ); - } - } - - $wpdb->query( $wpdb->prepare("INSERT INTO $wpdb->terms (term_id, name, slug, term_group) VALUES - (%d, %s, %s, %d)", $term_id, $name, $slug, $term_group) ); - - $count = 0; - if ( !empty($category->category_count) ) { - $count = (int) $category->category_count; - $taxonomy = 'category'; - $wpdb->query( $wpdb->prepare("INSERT INTO $wpdb->term_taxonomy (term_id, taxonomy, description, parent, count) VALUES ( %d, %s, %s, %d, %d)", $term_id, $taxonomy, $description, $parent, $count) ); - $tt_ids[$term_id][$taxonomy] = (int) $wpdb->insert_id; - } - - if ( !empty($category->link_count) ) { - $count = (int) $category->link_count; - $taxonomy = 'link_category'; - $wpdb->query( $wpdb->prepare("INSERT INTO $wpdb->term_taxonomy (term_id, taxonomy, description, parent, count) VALUES ( %d, %s, %s, %d, %d)", $term_id, $taxonomy, $description, $parent, $count) ); - $tt_ids[$term_id][$taxonomy] = (int) $wpdb->insert_id; - } - - if ( !empty($category->tag_count) ) { - $have_tags = true; - $count = (int) $category->tag_count; - $taxonomy = 'post_tag'; - $wpdb->insert( $wpdb->term_taxonomy, compact('term_id', 'taxonomy', 'description', 'parent', 'count') ); - $tt_ids[$term_id][$taxonomy] = (int) $wpdb->insert_id; - } - - if ( empty($count) ) { - $count = 0; - $taxonomy = 'category'; - $wpdb->insert( $wpdb->term_taxonomy, compact('term_id', 'taxonomy', 'description', 'parent', 'count') ); - $tt_ids[$term_id][$taxonomy] = (int) $wpdb->insert_id; - } - } - - $select = 'post_id, category_id'; - if ( $have_tags ) - $select .= ', rel_type'; - - $posts = $wpdb->get_results("SELECT $select FROM $wpdb->post2cat GROUP BY post_id, category_id"); - foreach ( $posts as $post ) { - $post_id = (int) $post->post_id; - $term_id = (int) $post->category_id; - $taxonomy = 'category'; - if ( !empty($post->rel_type) && 'tag' == $post->rel_type) - $taxonomy = 'tag'; - $tt_id = $tt_ids[$term_id][$taxonomy]; - if ( empty($tt_id) ) - continue; - - $wpdb->insert( $wpdb->term_relationships, array('object_id' => $post_id, 'term_taxonomy_id' => $tt_id) ); - } - - // < 3570 we used linkcategories. >= 3570 we used categories and link2cat. - if ( $wp_current_db_version < 3570 ) { - /* - * Create link_category terms for link categories. Create a map of link - * cat IDs to link_category terms. - */ - $link_cat_id_map = array(); - $default_link_cat = 0; - $tt_ids = array(); - $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM " . $wpdb->prefix . 'linkcategories'); - foreach ( $link_cats as $category) { - $cat_id = (int) $category->cat_id; - $term_id = 0; - $name = wp_slash($category->cat_name); - $slug = sanitize_title($name); - $term_group = 0; - - // Associate terms with the same slug in a term group and make slugs unique. - if ( $exists = $wpdb->get_results( $wpdb->prepare("SELECT term_id, term_group FROM $wpdb->terms WHERE slug = %s", $slug) ) ) { - $term_group = $exists[0]->term_group; - $term_id = $exists[0]->term_id; - } - - if ( empty($term_id) ) { - $wpdb->insert( $wpdb->terms, compact('name', 'slug', 'term_group') ); - $term_id = (int) $wpdb->insert_id; - } - - $link_cat_id_map[$cat_id] = $term_id; - $default_link_cat = $term_id; - - $wpdb->insert( $wpdb->term_taxonomy, array('term_id' => $term_id, 'taxonomy' => 'link_category', 'description' => '', 'parent' => 0, 'count' => 0) ); - $tt_ids[$term_id] = (int) $wpdb->insert_id; - } - - // Associate links to cats. - $links = $wpdb->get_results("SELECT link_id, link_category FROM $wpdb->links"); - if ( !empty($links) ) foreach ( $links as $link ) { - if ( 0 == $link->link_category ) - continue; - if ( ! isset($link_cat_id_map[$link->link_category]) ) - continue; - $term_id = $link_cat_id_map[$link->link_category]; - $tt_id = $tt_ids[$term_id]; - if ( empty($tt_id) ) - continue; - - $wpdb->insert( $wpdb->term_relationships, array('object_id' => $link->link_id, 'term_taxonomy_id' => $tt_id) ); - } - - // Set default to the last category we grabbed during the upgrade loop. - update_option('default_link_category', $default_link_cat); - } else { - $links = $wpdb->get_results("SELECT link_id, category_id FROM $wpdb->link2cat GROUP BY link_id, category_id"); - foreach ( $links as $link ) { - $link_id = (int) $link->link_id; - $term_id = (int) $link->category_id; - $taxonomy = 'link_category'; - $tt_id = $tt_ids[$term_id][$taxonomy]; - if ( empty($tt_id) ) - continue; - $wpdb->insert( $wpdb->term_relationships, array('object_id' => $link_id, 'term_taxonomy_id' => $tt_id) ); - } - } - - if ( $wp_current_db_version < 4772 ) { - // Obsolete linkcategories table - $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'linkcategories'); - } - - // Recalculate all counts - $terms = $wpdb->get_results("SELECT term_taxonomy_id, taxonomy FROM $wpdb->term_taxonomy"); - foreach ( (array) $terms as $term ) { - if ( ('post_tag' == $term->taxonomy) || ('category' == $term->taxonomy) ) - $count = $wpdb->get_var( $wpdb->prepare("SELECT COUNT(*) FROM $wpdb->term_relationships, $wpdb->posts WHERE $wpdb->posts.ID = $wpdb->term_relationships.object_id AND post_status = 'publish' AND post_type = 'post' AND term_taxonomy_id = %d", $term->term_taxonomy_id) ); - else - $count = $wpdb->get_var( $wpdb->prepare("SELECT COUNT(*) FROM $wpdb->term_relationships WHERE term_taxonomy_id = %d", $term->term_taxonomy_id) ); - $wpdb->update( $wpdb->term_taxonomy, array('count' => $count), array('term_taxonomy_id' => $term->term_taxonomy_id) ); - } -} - -/** - * Remove old options from the database. - * - * @since 2.3.0 - */ -function upgrade_230_options_table() { - global $wpdb; - $old_options_fields = array( 'option_can_override', 'option_type', 'option_width', 'option_height', 'option_description', 'option_admin_level' ); - $wpdb->hide_errors(); - foreach ( $old_options_fields as $old ) - $wpdb->query("ALTER TABLE $wpdb->options DROP $old"); - $wpdb->show_errors(); -} - -/** - * Remove old categories, link2cat, and post2cat database tables. - * - * @since 2.3.0 - */ -function upgrade_230_old_tables() { - global $wpdb; - $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'categories'); - $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'link2cat'); - $wpdb->query('DROP TABLE IF EXISTS ' . $wpdb->prefix . 'post2cat'); -} - -/** - * Upgrade old slugs made in version 2.2. - * - * @since 2.2.0 - */ -function upgrade_old_slugs() { - // Upgrade people who were using the Redirect Old Slugs plugin. - global $wpdb; - $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_wp_old_slug' WHERE meta_key = 'old_slug'"); -} - -/** - * Execute changes made in WordPress 2.5.0. - * - * @since 2.5.0 - */ -function upgrade_250() { - global $wp_current_db_version; - - if ( $wp_current_db_version < 6689 ) { - populate_roles_250(); - } - -} - -/** - * Execute changes made in WordPress 2.5.2. - * - * @since 2.5.2 - */ -function upgrade_252() { - global $wpdb; - - $wpdb->query("UPDATE $wpdb->users SET user_activation_key = ''"); -} - -/** - * Execute changes made in WordPress 2.6. - * - * @since 2.6.0 - */ -function upgrade_260() { - global $wp_current_db_version; - - if ( $wp_current_db_version < 8000 ) - populate_roles_260(); -} - -/** - * Execute changes made in WordPress 2.7. - * - * @since 2.7.0 - */ -function upgrade_270() { - global $wpdb, $wp_current_db_version; - - if ( $wp_current_db_version < 8980 ) - populate_roles_270(); - - // Update post_date for unpublished posts with empty timestamp - if ( $wp_current_db_version < 8921 ) - $wpdb->query( "UPDATE $wpdb->posts SET post_date = post_modified WHERE post_date = '0000-00-00 00:00:00'" ); -} - -/** - * Execute changes made in WordPress 2.8. - * - * @since 2.8.0 - */ -function upgrade_280() { - global $wp_current_db_version, $wpdb; - - if ( $wp_current_db_version < 10360 ) - populate_roles_280(); - if ( is_multisite() ) { - $start = 0; - while( $rows = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options ORDER BY option_id LIMIT $start, 20" ) ) { - foreach( $rows as $row ) { - $value = $row->option_value; - if ( !@unserialize( $value ) ) - $value = stripslashes( $value ); - if ( $value !== $row->option_value ) { - update_option( $row->option_name, $value ); - } - } - $start += 20; - } - refresh_blog_details( $wpdb->blogid ); - } -} - -/** - * Execute changes made in WordPress 2.9. - * - * @since 2.9.0 - */ -function upgrade_290() { - global $wp_current_db_version; - - if ( $wp_current_db_version < 11958 ) { - // Previously, setting depth to 1 would redundantly disable threading, but now 2 is the minimum depth to avoid confusion - if ( get_option( 'thread_comments_depth' ) == '1' ) { - update_option( 'thread_comments_depth', 2 ); - update_option( 'thread_comments', 0 ); - } - } -} - -/** - * Execute changes made in WordPress 3.0. - * - * @since 3.0.0 - */ -function upgrade_300() { - global $wp_current_db_version, $wpdb; - - if ( $wp_current_db_version < 15093 ) - populate_roles_300(); - - if ( $wp_current_db_version < 14139 && is_multisite() && is_main_site() && ! defined( 'MULTISITE' ) && get_site_option( 'siteurl' ) === false ) - add_site_option( 'siteurl', '' ); - - // 3.0 screen options key name changes. - if ( is_main_site() && !defined('DO_NOT_UPGRADE_GLOBAL_TABLES') ) { - $sql = "DELETE FROM $wpdb->usermeta - WHERE meta_key LIKE %s - OR meta_key LIKE %s - OR meta_key LIKE %s - OR meta_key LIKE %s - OR meta_key LIKE %s - OR meta_key LIKE %s - OR meta_key = 'manageedittagscolumnshidden' - OR meta_key = 'managecategoriescolumnshidden' - OR meta_key = 'manageedit-tagscolumnshidden' - OR meta_key = 'manageeditcolumnshidden' - OR meta_key = 'categories_per_page' - OR meta_key = 'edit_tags_per_page'"; - $prefix = $wpdb->esc_like( $wpdb->base_prefix ); - $wpdb->query( $wpdb->prepare( $sql, - $prefix . '%' . $wpdb->esc_like( 'meta-box-hidden' ) . '%', - $prefix . '%' . $wpdb->esc_like( 'closedpostboxes' ) . '%', - $prefix . '%' . $wpdb->esc_like( 'manage-' ) . '%' . $wpdb->esc_like( '-columns-hidden' ) . '%', - $prefix . '%' . $wpdb->esc_like( 'meta-box-order' ) . '%', - $prefix . '%' . $wpdb->esc_like( 'metaboxorder' ) . '%', - $prefix . '%' . $wpdb->esc_like( 'screen_layout' ) . '%' - ) ); - } - -} - -/** - * Execute changes made in WordPress 3.3. - * - * @since 3.3.0 - */ -function upgrade_330() { - global $wp_current_db_version, $wpdb, $wp_registered_widgets, $sidebars_widgets; - - if ( $wp_current_db_version < 19061 && is_main_site() && ! defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) { - $wpdb->query( "DELETE FROM $wpdb->usermeta WHERE meta_key IN ('show_admin_bar_admin', 'plugins_last_view')" ); - } - - if ( $wp_current_db_version >= 11548 ) - return; - - $sidebars_widgets = get_option( 'sidebars_widgets', array() ); - $_sidebars_widgets = array(); - - if ( isset($sidebars_widgets['wp_inactive_widgets']) || empty($sidebars_widgets) ) - $sidebars_widgets['array_version'] = 3; - elseif ( !isset($sidebars_widgets['array_version']) ) - $sidebars_widgets['array_version'] = 1; - - switch ( $sidebars_widgets['array_version'] ) { - case 1 : - foreach ( (array) $sidebars_widgets as $index => $sidebar ) - if ( is_array($sidebar) ) - foreach ( (array) $sidebar as $i => $name ) { - $id = strtolower($name); - if ( isset($wp_registered_widgets[$id]) ) { - $_sidebars_widgets[$index][$i] = $id; - continue; - } - $id = sanitize_title($name); - if ( isset($wp_registered_widgets[$id]) ) { - $_sidebars_widgets[$index][$i] = $id; - continue; - } - - $found = false; - - foreach ( $wp_registered_widgets as $widget_id => $widget ) { - if ( strtolower($widget['name']) == strtolower($name) ) { - $_sidebars_widgets[$index][$i] = $widget['id']; - $found = true; - break; - } elseif ( sanitize_title($widget['name']) == sanitize_title($name) ) { - $_sidebars_widgets[$index][$i] = $widget['id']; - $found = true; - break; - } - } - - if ( $found ) - continue; - - unset($_sidebars_widgets[$index][$i]); - } - $_sidebars_widgets['array_version'] = 2; - $sidebars_widgets = $_sidebars_widgets; - unset($_sidebars_widgets); - - case 2 : - $sidebars_widgets = retrieve_widgets(); - $sidebars_widgets['array_version'] = 3; - update_option( 'sidebars_widgets', $sidebars_widgets ); - } -} - -/** - * Execute changes made in WordPress 3.4. - * - * @since 3.4.0 - */ -function upgrade_340() { - global $wp_current_db_version, $wpdb; - - if ( $wp_current_db_version < 19798 ) { - $wpdb->hide_errors(); - $wpdb->query( "ALTER TABLE $wpdb->options DROP COLUMN blog_id" ); - $wpdb->show_errors(); - } - - if ( $wp_current_db_version < 19799 ) { - $wpdb->hide_errors(); - $wpdb->query("ALTER TABLE $wpdb->comments DROP INDEX comment_approved"); - $wpdb->show_errors(); - } - - if ( $wp_current_db_version < 20022 && is_main_site() && ! defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) { - $wpdb->query( "DELETE FROM $wpdb->usermeta WHERE meta_key = 'themes_last_view'" ); - } - - if ( $wp_current_db_version < 20080 ) { - if ( 'yes' == $wpdb->get_var( "SELECT autoload FROM $wpdb->options WHERE option_name = 'uninstall_plugins'" ) ) { - $uninstall_plugins = get_option( 'uninstall_plugins' ); - delete_option( 'uninstall_plugins' ); - add_option( 'uninstall_plugins', $uninstall_plugins, null, 'no' ); - } - } -} - -/** - * Execute changes made in WordPress 3.5. - * - * @since 3.5.0 - */ -function upgrade_350() { - global $wp_current_db_version, $wpdb; - - if ( $wp_current_db_version < 22006 && $wpdb->get_var( "SELECT link_id FROM $wpdb->links LIMIT 1" ) ) - update_option( 'link_manager_enabled', 1 ); // Previously set to 0 by populate_options() - - if ( $wp_current_db_version < 21811 && is_main_site() && ! defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) { - $meta_keys = array(); - foreach ( array_merge( get_post_types(), get_taxonomies() ) as $name ) { - if ( false !== strpos( $name, '-' ) ) - $meta_keys[] = 'edit_' . str_replace( '-', '_', $name ) . '_per_page'; - } - if ( $meta_keys ) { - $meta_keys = implode( "', '", $meta_keys ); - $wpdb->query( "DELETE FROM $wpdb->usermeta WHERE meta_key IN ('$meta_keys')" ); - } - } - - if ( $wp_current_db_version < 22422 && $term = get_term_by( 'slug', 'post-format-standard', 'post_format' ) ) - wp_delete_term( $term->term_id, 'post_format' ); -} - -/** - * Execute changes made in WordPress 3.7. - * - * @since 3.7.0 - */ -function upgrade_370() { - global $wp_current_db_version; - if ( $wp_current_db_version < 25824 ) - wp_clear_scheduled_hook( 'wp_auto_updates_maybe_update' ); -} - -/** - * Execute changes made in WordPress 3.7.2. - * - * @since 3.7.2 - * @since 3.8.0 - */ -function upgrade_372() { - global $wp_current_db_version; - if ( $wp_current_db_version < 26148 ) - wp_clear_scheduled_hook( 'wp_maybe_auto_update' ); -} - -/** - * Execute changes made in WordPress 3.8.0. - * - * @since 3.8.0 - */ -function upgrade_380() { - global $wp_current_db_version; - if ( $wp_current_db_version < 26691 ) { - deactivate_plugins( array( 'mp6/mp6.php' ), true ); - } -} - -/** - * Execute changes made in WordPress 4.0.0. - * - * @since 4.0.0 - */ -function upgrade_400() { - global $wp_current_db_version; - if ( $wp_current_db_version < 29630 ) { - if ( ! is_multisite() && false === get_option( 'WPLANG' ) ) { - if ( defined( 'WPLANG' ) && ( '' !== WPLANG ) && in_array( WPLANG, get_available_languages() ) ) { - update_option( 'WPLANG', WPLANG ); - } else { - update_option( 'WPLANG', '' ); - } - } - } -} - -/** - * Execute network level changes - * - * @since 3.0.0 - */ -function upgrade_network() { - global $wp_current_db_version, $wpdb; - - // Always. - if ( is_main_network() ) { - /* - * Deletes all expired transients. The multi-table delete syntax is used - * to delete the transient record from table a, and the corresponding - * transient_timeout record from table b. - */ - $time = time(); - $sql = "DELETE a, b FROM $wpdb->sitemeta a, $wpdb->sitemeta b - WHERE a.meta_key LIKE %s - AND a.meta_key NOT LIKE %s - AND b.meta_key = CONCAT( '_site_transient_timeout_', SUBSTRING( a.meta_key, 17 ) ) - AND b.meta_value < %d"; - $wpdb->query( $wpdb->prepare( $sql, $wpdb->esc_like( '_site_transient_' ) . '%', $wpdb->esc_like ( '_site_transient_timeout_' ) . '%', $time ) ); - } - - // 2.8. - if ( $wp_current_db_version < 11549 ) { - $wpmu_sitewide_plugins = get_site_option( 'wpmu_sitewide_plugins' ); - $active_sitewide_plugins = get_site_option( 'active_sitewide_plugins' ); - if ( $wpmu_sitewide_plugins ) { - if ( !$active_sitewide_plugins ) - $sitewide_plugins = (array) $wpmu_sitewide_plugins; - else - $sitewide_plugins = array_merge( (array) $active_sitewide_plugins, (array) $wpmu_sitewide_plugins ); - - update_site_option( 'active_sitewide_plugins', $sitewide_plugins ); - } - delete_site_option( 'wpmu_sitewide_plugins' ); - delete_site_option( 'deactivated_sitewide_plugins' ); - - $start = 0; - while( $rows = $wpdb->get_results( "SELECT meta_key, meta_value FROM {$wpdb->sitemeta} ORDER BY meta_id LIMIT $start, 20" ) ) { - foreach( $rows as $row ) { - $value = $row->meta_value; - if ( !@unserialize( $value ) ) - $value = stripslashes( $value ); - if ( $value !== $row->meta_value ) { - update_site_option( $row->meta_key, $value ); - } - } - $start += 20; - } - } - - // 3.0 - if ( $wp_current_db_version < 13576 ) - update_site_option( 'global_terms_enabled', '1' ); - - // 3.3 - if ( $wp_current_db_version < 19390 ) - update_site_option( 'initial_db_version', $wp_current_db_version ); - - if ( $wp_current_db_version < 19470 ) { - if ( false === get_site_option( 'active_sitewide_plugins' ) ) - update_site_option( 'active_sitewide_plugins', array() ); - } - - // 3.4 - if ( $wp_current_db_version < 20148 ) { - // 'allowedthemes' keys things by stylesheet. 'allowed_themes' keyed things by name. - $allowedthemes = get_site_option( 'allowedthemes' ); - $allowed_themes = get_site_option( 'allowed_themes' ); - if ( false === $allowedthemes && is_array( $allowed_themes ) && $allowed_themes ) { - $converted = array(); - $themes = wp_get_themes(); - foreach ( $themes as $stylesheet => $theme_data ) { - if ( isset( $allowed_themes[ $theme_data->get('Name') ] ) ) - $converted[ $stylesheet ] = true; - } - update_site_option( 'allowedthemes', $converted ); - delete_site_option( 'allowed_themes' ); - } - } - - // 3.5 - if ( $wp_current_db_version < 21823 ) - update_site_option( 'ms_files_rewriting', '1' ); - - // 3.5.2 - if ( $wp_current_db_version < 24448 ) { - $illegal_names = get_site_option( 'illegal_names' ); - if ( is_array( $illegal_names ) && count( $illegal_names ) === 1 ) { - $illegal_name = reset( $illegal_names ); - $illegal_names = explode( ' ', $illegal_name ); - update_site_option( 'illegal_names', $illegal_names ); - } - } -} - -// The functions we use to actually do stuff - -// General - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.0.0 - * - * @param string $table_name Database table name to create. - * @param string $create_ddl SQL statement to create table. - * @return bool If table already exists or was created by function. - */ -function maybe_create_table($table_name, $create_ddl) { - global $wpdb; - - $query = $wpdb->prepare( "SHOW TABLES LIKE %s", $wpdb->esc_like( $table_name ) ); - - if ( $wpdb->get_var( $query ) == $table_name ) { - return true; - } - - // Didn't find it try to create it.. - $wpdb->query($create_ddl); - - // We cannot directly tell that whether this succeeded! - if ( $wpdb->get_var( $query ) == $table_name ) { - return true; - } - return false; -} - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.0.1 - * - * @param string $table Database table name. - * @param string $index Index name to drop. - * @return bool True, when finished. - */ -function drop_index($table, $index) { - global $wpdb; - $wpdb->hide_errors(); - $wpdb->query("ALTER TABLE `$table` DROP INDEX `$index`"); - // Now we need to take out all the extra ones we may have created - for ($i = 0; $i < 25; $i++) { - $wpdb->query("ALTER TABLE `$table` DROP INDEX `{$index}_$i`"); - } - $wpdb->show_errors(); - return true; -} - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.0.1 - * - * @param string $table Database table name. - * @param string $index Database table index column. - * @return bool True, when done with execution. - */ -function add_clean_index($table, $index) { - global $wpdb; - drop_index($table, $index); - $wpdb->query("ALTER TABLE `$table` ADD INDEX ( `$index` )"); - return true; -} - -/** - ** maybe_add_column() - ** Add column to db table if it doesn't exist. - ** Returns: true if already exists or on successful completion - ** false on error - */ -function maybe_add_column($table_name, $column_name, $create_ddl) { - global $wpdb; - foreach ($wpdb->get_col("DESC $table_name", 0) as $column ) { - if ($column == $column_name) { - return true; - } - } - - // Didn't find it try to create it. - $wpdb->query($create_ddl); - - // We cannot directly tell that whether this succeeded! - foreach ($wpdb->get_col("DESC $table_name", 0) as $column ) { - if ($column == $column_name) { - return true; - } - } - return false; -} - -/** - * Retrieve all options as it was for 1.2. - * - * @since 1.2.0 - * - * @return array List of options. - */ -function get_alloptions_110() { - global $wpdb; - $all_options = new stdClass; - if ( $options = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options" ) ) { - foreach ( $options as $option ) { - if ( 'siteurl' == $option->option_name || 'home' == $option->option_name || 'category_base' == $option->option_name ) - $option->option_value = untrailingslashit( $option->option_value ); - $all_options->{$option->option_name} = stripslashes( $option->option_value ); - } - } - return $all_options; -} - -/** - * Version of get_option that is private to install/upgrade. - * - * @since 1.5.1 - * @access private - * - * @param string $setting Option name. - * @return mixed - */ -function __get_option($setting) { - global $wpdb; - - if ( $setting == 'home' && defined( 'WP_HOME' ) ) - return untrailingslashit( WP_HOME ); - - if ( $setting == 'siteurl' && defined( 'WP_SITEURL' ) ) - return untrailingslashit( WP_SITEURL ); - - $option = $wpdb->get_var( $wpdb->prepare("SELECT option_value FROM $wpdb->options WHERE option_name = %s", $setting ) ); - - if ( 'home' == $setting && '' == $option ) - return __get_option( 'siteurl' ); - - if ( 'siteurl' == $setting || 'home' == $setting || 'category_base' == $setting || 'tag_base' == $setting ) - $option = untrailingslashit( $option ); - - return maybe_unserialize( $option ); -} - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.5.0 - * - * @param string $content - * @return string - */ -function deslash($content) { - // Note: \\\ inside a regex denotes a single backslash. - - /* - * Replace one or more backslashes followed by a single quote with - * a single quote. - */ - $content = preg_replace("/\\\+'/", "'", $content); - - /* - * Replace one or more backslashes followed by a double quote with - * a double quote. - */ - $content = preg_replace('/\\\+"/', '"', $content); - - // Replace one or more backslashes with one backslash. - $content = preg_replace("/\\\+/", "\\", $content); - - return $content; -} - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.5.0 - * - * @param unknown_type $queries - * @param unknown_type $execute - * @return unknown - */ -function dbDelta( $queries = '', $execute = true ) { - global $wpdb; - - if ( in_array( $queries, array( '', 'all', 'blog', 'global', 'ms_global' ), true ) ) - $queries = wp_get_db_schema( $queries ); - - // Separate individual queries into an array - if ( !is_array($queries) ) { - $queries = explode( ';', $queries ); - $queries = array_filter( $queries ); - } - - /** - * Filter the dbDelta SQL queries. - * - * @since 3.3.0 - * - * @param array $queries An array of dbDelta SQL queries. - */ - $queries = apply_filters( 'dbdelta_queries', $queries ); - - $cqueries = array(); // Creation Queries - $iqueries = array(); // Insertion Queries - $for_update = array(); - - // Create a tablename index for an array ($cqueries) of queries - foreach($queries as $qry) { - if (preg_match("|CREATE TABLE ([^ ]*)|", $qry, $matches)) { - $cqueries[ trim( $matches[1], '`' ) ] = $qry; - $for_update[$matches[1]] = 'Created table '.$matches[1]; - } else if (preg_match("|CREATE DATABASE ([^ ]*)|", $qry, $matches)) { - array_unshift($cqueries, $qry); - } else if (preg_match("|INSERT INTO ([^ ]*)|", $qry, $matches)) { - $iqueries[] = $qry; - } else if (preg_match("|UPDATE ([^ ]*)|", $qry, $matches)) { - $iqueries[] = $qry; - } else { - // Unrecognized query type - } - } - - /** - * Filter the dbDelta SQL queries for creating tables and/or databases. - * - * Queries filterable via this hook contain "CREATE TABLE" or "CREATE DATABASE". - * - * @since 3.3.0 - * - * @param array $cqueries An array of dbDelta create SQL queries. - */ - $cqueries = apply_filters( 'dbdelta_create_queries', $cqueries ); - - /** - * Filter the dbDelta SQL queries for inserting or updating. - * - * Queries filterable via this hook contain "INSERT INTO" or "UPDATE". - * - * @since 3.3.0 - * - * @param array $iqueries An array of dbDelta insert or update SQL queries. - */ - $iqueries = apply_filters( 'dbdelta_insert_queries', $iqueries ); - - $global_tables = $wpdb->tables( 'global' ); - foreach ( $cqueries as $table => $qry ) { - // Upgrade global tables only for the main site. Don't upgrade at all if DO_NOT_UPGRADE_GLOBAL_TABLES is defined. - if ( in_array( $table, $global_tables ) && ( !is_main_site() || defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) ) { - unset( $cqueries[ $table ], $for_update[ $table ] ); - continue; - } - - // Fetch the table column structure from the database - $suppress = $wpdb->suppress_errors(); - $tablefields = $wpdb->get_results("DESCRIBE {$table};"); - $wpdb->suppress_errors( $suppress ); - - if ( ! $tablefields ) - continue; - - // Clear the field and index arrays. - $cfields = $indices = array(); - - // Get all of the field names in the query from between the parentheses. - preg_match("|\((.*)\)|ms", $qry, $match2); - $qryline = trim($match2[1]); - - // Separate field lines into an array. - $flds = explode("\n", $qryline); - - // todo: Remove this? - //echo "
    \n".print_r(strtolower($table), true).":\n".print_r($cqueries, true)."

    "; - - // For every field line specified in the query. - foreach ($flds as $fld) { - - // Extract the field name. - preg_match("|^([^ ]*)|", trim($fld), $fvals); - $fieldname = trim( $fvals[1], '`' ); - - // Verify the found field name. - $validfield = true; - switch (strtolower($fieldname)) { - case '': - case 'primary': - case 'index': - case 'fulltext': - case 'unique': - case 'key': - $validfield = false; - $indices[] = trim(trim($fld), ", \n"); - break; - } - $fld = trim($fld); - - // If it's a valid field, add it to the field array. - if ($validfield) { - $cfields[strtolower($fieldname)] = trim($fld, ", \n"); - } - } - - // For every field in the table. - foreach ($tablefields as $tablefield) { - - // If the table field exists in the field array ... - if (array_key_exists(strtolower($tablefield->Field), $cfields)) { - - // Get the field type from the query. - preg_match("|".$tablefield->Field." ([^ ]*( unsigned)?)|i", $cfields[strtolower($tablefield->Field)], $matches); - $fieldtype = $matches[1]; - - // Is actual field type different from the field type in query? - if ($tablefield->Type != $fieldtype) { - // Add a query to change the column type - $cqueries[] = "ALTER TABLE {$table} CHANGE COLUMN {$tablefield->Field} " . $cfields[strtolower($tablefield->Field)]; - $for_update[$table.'.'.$tablefield->Field] = "Changed type of {$table}.{$tablefield->Field} from {$tablefield->Type} to {$fieldtype}"; - } - - // Get the default value from the array - // todo: Remove this? - //echo "{$cfields[strtolower($tablefield->Field)]}
    "; - if (preg_match("| DEFAULT '(.*?)'|i", $cfields[strtolower($tablefield->Field)], $matches)) { - $default_value = $matches[1]; - if ($tablefield->Default != $default_value) { - // Add a query to change the column's default value - $cqueries[] = "ALTER TABLE {$table} ALTER COLUMN {$tablefield->Field} SET DEFAULT '{$default_value}'"; - $for_update[$table.'.'.$tablefield->Field] = "Changed default value of {$table}.{$tablefield->Field} from {$tablefield->Default} to {$default_value}"; - } - } - - // Remove the field from the array (so it's not added). - unset($cfields[strtolower($tablefield->Field)]); - } else { - // This field exists in the table, but not in the creation queries? - } - } - - // For every remaining field specified for the table. - foreach ($cfields as $fieldname => $fielddef) { - // Push a query line into $cqueries that adds the field to that table. - $cqueries[] = "ALTER TABLE {$table} ADD COLUMN $fielddef"; - $for_update[$table.'.'.$fieldname] = 'Added column '.$table.'.'.$fieldname; - } - - // Index stuff goes here. Fetch the table index structure from the database. - $tableindices = $wpdb->get_results("SHOW INDEX FROM {$table};"); - - if ($tableindices) { - // Clear the index array. - unset($index_ary); - - // For every index in the table. - foreach ($tableindices as $tableindex) { - - // Add the index to the index data array. - $keyname = $tableindex->Key_name; - $index_ary[$keyname]['columns'][] = array('fieldname' => $tableindex->Column_name, 'subpart' => $tableindex->Sub_part); - $index_ary[$keyname]['unique'] = ($tableindex->Non_unique == 0)?true:false; - } - - // For each actual index in the index array. - foreach ($index_ary as $index_name => $index_data) { - - // Build a create string to compare to the query. - $index_string = ''; - if ($index_name == 'PRIMARY') { - $index_string .= 'PRIMARY '; - } else if($index_data['unique']) { - $index_string .= 'UNIQUE '; - } - $index_string .= 'KEY '; - if ($index_name != 'PRIMARY') { - $index_string .= $index_name; - } - $index_columns = ''; - - // For each column in the index. - foreach ($index_data['columns'] as $column_data) { - if ($index_columns != '') $index_columns .= ','; - - // Add the field to the column list string. - $index_columns .= $column_data['fieldname']; - if ($column_data['subpart'] != '') { - $index_columns .= '('.$column_data['subpart'].')'; - } - } - // Add the column list to the index create string. - $index_string .= ' ('.$index_columns.')'; - if (!(($aindex = array_search($index_string, $indices)) === false)) { - unset($indices[$aindex]); - // todo: Remove this? - //echo "
    {$table}:
    Found index:".$index_string."
    \n"; - } - // todo: Remove this? - //else echo "
    {$table}:
    Did not find index:".$index_string."
    ".print_r($indices, true)."
    \n"; - } - } - - // For every remaining index specified for the table. - foreach ( (array) $indices as $index ) { - // Push a query line into $cqueries that adds the index to that table. - $cqueries[] = "ALTER TABLE {$table} ADD $index"; - $for_update[] = 'Added index ' . $table . ' ' . $index; - } - - // Remove the original table creation query from processing. - unset( $cqueries[ $table ], $for_update[ $table ] ); - } - - $allqueries = array_merge($cqueries, $iqueries); - if ($execute) { - foreach ($allqueries as $query) { - // todo: Remove this? - //echo "
    ".print_r($query, true)."
    \n"; - $wpdb->query($query); - } - } - - return $for_update; -} - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.5.0 - */ -function make_db_current( $tables = 'all' ) { - $alterations = dbDelta( $tables ); - echo "
      \n"; - foreach($alterations as $alteration) echo "
    1. $alteration
    2. \n"; - echo "
    \n"; -} - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.5.0 - */ -function make_db_current_silent( $tables = 'all' ) { - dbDelta( $tables ); -} - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.5.0 - * - * @param unknown_type $theme_name - * @param unknown_type $template - * @return unknown - */ -function make_site_theme_from_oldschool($theme_name, $template) { - $home_path = get_home_path(); - $site_dir = WP_CONTENT_DIR . "/themes/$template"; - - if (! file_exists("$home_path/index.php")) - return false; - - /* - * Copy files from the old locations to the site theme. - * TODO: This does not copy arbitrary include dependencies. Only the standard WP files are copied. - */ - $files = array('index.php' => 'index.php', 'wp-layout.css' => 'style.css', 'wp-comments.php' => 'comments.php', 'wp-comments-popup.php' => 'comments-popup.php'); - - foreach ($files as $oldfile => $newfile) { - if ($oldfile == 'index.php') - $oldpath = $home_path; - else - $oldpath = ABSPATH; - - // Check to make sure it's not a new index. - if ($oldfile == 'index.php') { - $index = implode('', file("$oldpath/$oldfile")); - if (strpos($index, 'WP_USE_THEMES') !== false) { - if (! @copy(WP_CONTENT_DIR . '/themes/' . WP_DEFAULT_THEME . '/index.php', "$site_dir/$newfile")) - return false; - - // Don't copy anything. - continue; - } - } - - if (! @copy("$oldpath/$oldfile", "$site_dir/$newfile")) - return false; - - chmod("$site_dir/$newfile", 0777); - - // Update the blog header include in each file. - $lines = explode("\n", implode('', file("$site_dir/$newfile"))); - if ($lines) { - $f = fopen("$site_dir/$newfile", 'w'); - - foreach ($lines as $line) { - if (preg_match('/require.*wp-blog-header/', $line)) - $line = '//' . $line; - - // Update stylesheet references. - $line = str_replace("/wp-layout.css", "", $line); - - // Update comments template inclusion. - $line = str_replace("", "", $line); - - fwrite($f, "{$line}\n"); - } - fclose($f); - } - } - - // Add a theme header. - $header = "/*\nTheme Name: $theme_name\nTheme URI: " . __get_option('siteurl') . "\nDescription: A theme automatically created by the update.\nVersion: 1.0\nAuthor: Moi\n*/\n"; - - $stylelines = file_get_contents("$site_dir/style.css"); - if ($stylelines) { - $f = fopen("$site_dir/style.css", 'w'); - - fwrite($f, $header); - fwrite($f, $stylelines); - fclose($f); - } - - return true; -} - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.5.0 - * - * @param unknown_type $theme_name - * @param unknown_type $template - * @return unknown - */ -function make_site_theme_from_default($theme_name, $template) { - $site_dir = WP_CONTENT_DIR . "/themes/$template"; - $default_dir = WP_CONTENT_DIR . '/themes/' . WP_DEFAULT_THEME; - - // Copy files from the default theme to the site theme. - //$files = array('index.php', 'comments.php', 'comments-popup.php', 'footer.php', 'header.php', 'sidebar.php', 'style.css'); - - $theme_dir = @ opendir($default_dir); - if ($theme_dir) { - while(($theme_file = readdir( $theme_dir )) !== false) { - if (is_dir("$default_dir/$theme_file")) - continue; - if (! @copy("$default_dir/$theme_file", "$site_dir/$theme_file")) - return; - chmod("$site_dir/$theme_file", 0777); - } - } - @closedir($theme_dir); - - // Rewrite the theme header. - $stylelines = explode("\n", implode('', file("$site_dir/style.css"))); - if ($stylelines) { - $f = fopen("$site_dir/style.css", 'w'); - - foreach ($stylelines as $line) { - if (strpos($line, 'Theme Name:') !== false) $line = 'Theme Name: ' . $theme_name; - elseif (strpos($line, 'Theme URI:') !== false) $line = 'Theme URI: ' . __get_option('url'); - elseif (strpos($line, 'Description:') !== false) $line = 'Description: Your theme.'; - elseif (strpos($line, 'Version:') !== false) $line = 'Version: 1'; - elseif (strpos($line, 'Author:') !== false) $line = 'Author: You'; - fwrite($f, $line . "\n"); - } - fclose($f); - } - - // Copy the images. - umask(0); - if (! mkdir("$site_dir/images", 0777)) { - return false; - } - - $images_dir = @ opendir("$default_dir/images"); - if ($images_dir) { - while(($image = readdir($images_dir)) !== false) { - if (is_dir("$default_dir/images/$image")) - continue; - if (! @copy("$default_dir/images/$image", "$site_dir/images/$image")) - return; - chmod("$site_dir/images/$image", 0777); - } - } - @closedir($images_dir); -} - -// Create a site theme from the default theme. -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 1.5.0 - * - * @return unknown - */ -function make_site_theme() { - // Name the theme after the blog. - $theme_name = __get_option('blogname'); - $template = sanitize_title($theme_name); - $site_dir = WP_CONTENT_DIR . "/themes/$template"; - - // If the theme already exists, nothing to do. - if ( is_dir($site_dir)) { - return false; - } - - // We must be able to write to the themes dir. - if (! is_writable(WP_CONTENT_DIR . "/themes")) { - return false; - } - - umask(0); - if (! mkdir($site_dir, 0777)) { - return false; - } - - if (file_exists(ABSPATH . 'wp-layout.css')) { - if (! make_site_theme_from_oldschool($theme_name, $template)) { - // TODO: rm -rf the site theme directory. - return false; - } - } else { - if (! make_site_theme_from_default($theme_name, $template)) - // TODO: rm -rf the site theme directory. - return false; - } - - // Make the new site theme active. - $current_template = __get_option('template'); - if ($current_template == WP_DEFAULT_THEME) { - update_option('template', $template); - update_option('stylesheet', $template); - } - return $template; -} - -/** - * Translate user level to user role name. - * - * @since 2.0.0 - * - * @param int $level User level. - * @return string User role name. - */ -function translate_level_to_role($level) { - switch ($level) { - case 10: - case 9: - case 8: - return 'administrator'; - case 7: - case 6: - case 5: - return 'editor'; - case 4: - case 3: - case 2: - return 'author'; - case 1: - return 'contributor'; - case 0: - return 'subscriber'; - } -} - -/** - * {@internal Missing Short Description}} - * - * {@internal Missing Long Description}} - * - * @since 2.1.0 - */ -function wp_check_mysql_version() { - global $wpdb; - $result = $wpdb->check_database_version(); - if ( is_wp_error( $result ) ) - die( $result->get_error_message() ); -} - -/** - * Disables the Automattic widgets plugin, which was merged into core. - * - * @since 2.2.0 - */ -function maybe_disable_automattic_widgets() { - $plugins = __get_option( 'active_plugins' ); - - foreach ( (array) $plugins as $plugin ) { - if ( basename( $plugin ) == 'widgets.php' ) { - array_splice( $plugins, array_search( $plugin, $plugins ), 1 ); - update_option( 'active_plugins', $plugins ); - break; - } - } -} - -/** - * Disables the Link Manager on upgrade, if at the time of upgrade, no links exist in the DB. - * - * @since 3.5.0 - */ -function maybe_disable_link_manager() { - global $wp_current_db_version, $wpdb; - - if ( $wp_current_db_version >= 22006 && get_option( 'link_manager_enabled' ) && ! $wpdb->get_var( "SELECT link_id FROM $wpdb->links LIMIT 1" ) ) - update_option( 'link_manager_enabled', 0 ); -} - -/** - * Runs before the schema is upgraded. - * - * @since 2.9.0 - */ -function pre_schema_upgrade() { - global $wp_current_db_version, $wpdb; - - // Upgrade versions prior to 2.9 - if ( $wp_current_db_version < 11557 ) { - // Delete duplicate options. Keep the option with the highest option_id. - $wpdb->query("DELETE o1 FROM $wpdb->options AS o1 JOIN $wpdb->options AS o2 USING (`option_name`) WHERE o2.option_id > o1.option_id"); - - // Drop the old primary key and add the new. - $wpdb->query("ALTER TABLE $wpdb->options DROP PRIMARY KEY, ADD PRIMARY KEY(option_id)"); - - // Drop the old option_name index. dbDelta() doesn't do the drop. - $wpdb->query("ALTER TABLE $wpdb->options DROP INDEX option_name"); - } - - // Multisite schema upgrades. - if ( $wp_current_db_version < 25448 && is_multisite() && ! defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) && is_main_network() ) { - - // Upgrade verions prior to 3.7 - if ( $wp_current_db_version < 25179 ) { - // New primary key for signups. - $wpdb->query( "ALTER TABLE $wpdb->signups ADD signup_id BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST" ); - $wpdb->query( "ALTER TABLE $wpdb->signups DROP INDEX domain" ); - } - - if ( $wp_current_db_version < 25448 ) { - // Convert archived from enum to tinyint. - $wpdb->query( "ALTER TABLE $wpdb->blogs CHANGE COLUMN archived archived varchar(1) NOT NULL default '0'" ); - $wpdb->query( "ALTER TABLE $wpdb->blogs CHANGE COLUMN archived archived tinyint(2) NOT NULL default 0" ); - } - } -} - -/** - * Install global terms. - * - * @since 3.0.0 - * - */ -if ( !function_exists( 'install_global_terms' ) ) : -function install_global_terms() { - global $wpdb, $charset_collate; - $ms_queries = " -CREATE TABLE $wpdb->sitecategories ( - cat_ID bigint(20) NOT NULL auto_increment, - cat_name varchar(55) NOT NULL default '', - category_nicename varchar(200) NOT NULL default '', - last_updated timestamp NOT NULL, - PRIMARY KEY (cat_ID), - KEY category_nicename (category_nicename), - KEY last_updated (last_updated) -) $charset_collate; -"; -// now create tables - dbDelta( $ms_queries ); -} -endif; diff --git a/sources/wordpress/wp-admin/includes/user.php b/sources/wordpress/wp-admin/includes/user.php deleted file mode 100644 index 30b7ae0..0000000 --- a/sources/wordpress/wp-admin/includes/user.php +++ /dev/null @@ -1,442 +0,0 @@ -ID = (int) $user_id; - $userdata = get_userdata( $user_id ); - $user->user_login = wp_slash( $userdata->user_login ); - } else { - $update = false; - } - - if ( !$update && isset( $_POST['user_login'] ) ) - $user->user_login = sanitize_user($_POST['user_login'], true); - - $pass1 = $pass2 = ''; - if ( isset( $_POST['pass1'] ) ) - $pass1 = $_POST['pass1']; - if ( isset( $_POST['pass2'] ) ) - $pass2 = $_POST['pass2']; - - if ( isset( $_POST['role'] ) && current_user_can( 'edit_users' ) ) { - $new_role = sanitize_text_field( $_POST['role'] ); - $potential_role = isset($wp_roles->role_objects[$new_role]) ? $wp_roles->role_objects[$new_role] : false; - // Don't let anyone with 'edit_users' (admins) edit their own role to something without it. - // Multisite super admins can freely edit their blog roles -- they possess all caps. - if ( ( is_multisite() && current_user_can( 'manage_sites' ) ) || $user_id != get_current_user_id() || ($potential_role && $potential_role->has_cap( 'edit_users' ) ) ) - $user->role = $new_role; - - // If the new role isn't editable by the logged-in user die with error - $editable_roles = get_editable_roles(); - if ( ! empty( $new_role ) && empty( $editable_roles[$new_role] ) ) - wp_die(__('You can’t give users that role.')); - } - - if ( isset( $_POST['email'] )) - $user->user_email = sanitize_text_field( $_POST['email'] ); - if ( isset( $_POST['url'] ) ) { - if ( empty ( $_POST['url'] ) || $_POST['url'] == 'http://' ) { - $user->user_url = ''; - } else { - $user->user_url = esc_url_raw( $_POST['url'] ); - $protocols = implode( '|', array_map( 'preg_quote', wp_allowed_protocols() ) ); - $user->user_url = preg_match('/^(' . $protocols . '):/is', $user->user_url) ? $user->user_url : 'http://'.$user->user_url; - } - } - if ( isset( $_POST['first_name'] ) ) - $user->first_name = sanitize_text_field( $_POST['first_name'] ); - if ( isset( $_POST['last_name'] ) ) - $user->last_name = sanitize_text_field( $_POST['last_name'] ); - if ( isset( $_POST['nickname'] ) ) - $user->nickname = sanitize_text_field( $_POST['nickname'] ); - if ( isset( $_POST['display_name'] ) ) - $user->display_name = sanitize_text_field( $_POST['display_name'] ); - - if ( isset( $_POST['description'] ) ) - $user->description = trim( $_POST['description'] ); - - foreach ( wp_get_user_contact_methods( $user ) as $method => $name ) { - if ( isset( $_POST[$method] )) - $user->$method = sanitize_text_field( $_POST[$method] ); - } - - if ( $update ) { - $user->rich_editing = isset( $_POST['rich_editing'] ) && 'false' == $_POST['rich_editing'] ? 'false' : 'true'; - $user->admin_color = isset( $_POST['admin_color'] ) ? sanitize_text_field( $_POST['admin_color'] ) : 'fresh'; - $user->show_admin_bar_front = isset( $_POST['admin_bar_front'] ) ? 'true' : 'false'; - } - - $user->comment_shortcuts = isset( $_POST['comment_shortcuts'] ) && 'true' == $_POST['comment_shortcuts'] ? 'true' : ''; - - $user->use_ssl = 0; - if ( !empty($_POST['use_ssl']) ) - $user->use_ssl = 1; - - $errors = new WP_Error(); - - /* checking that username has been typed */ - if ( $user->user_login == '' ) - $errors->add( 'user_login', __( 'ERROR: Please enter a username.' ) ); - - /* checking the password has been typed twice */ - /** - * Fires before the password and confirm password fields are checked for congruity. - * - * @since 1.5.1 - * - * @param string $user_login The username. - * @param string &$pass1 The password, passed by reference. - * @param string &$pass2 The confirmed password, passed by reference. - */ - do_action_ref_array( 'check_passwords', array( $user->user_login, &$pass1, &$pass2 ) ); - - if ( $update ) { - if ( empty($pass1) && !empty($pass2) ) - $errors->add( 'pass', __( 'ERROR: You entered your new password only once.' ), array( 'form-field' => 'pass1' ) ); - elseif ( !empty($pass1) && empty($pass2) ) - $errors->add( 'pass', __( 'ERROR: You entered your new password only once.' ), array( 'form-field' => 'pass2' ) ); - } else { - if ( empty($pass1) ) - $errors->add( 'pass', __( 'ERROR: Please enter your password.' ), array( 'form-field' => 'pass1' ) ); - elseif ( empty($pass2) ) - $errors->add( 'pass', __( 'ERROR: Please enter your password twice.' ), array( 'form-field' => 'pass2' ) ); - } - - /* Check for "\" in password */ - if ( false !== strpos( wp_unslash( $pass1 ), "\\" ) ) - $errors->add( 'pass', __( 'ERROR: Passwords may not contain the character "\\".' ), array( 'form-field' => 'pass1' ) ); - - /* checking the password has been typed twice the same */ - if ( $pass1 != $pass2 ) - $errors->add( 'pass', __( 'ERROR: Please enter the same password in the two password fields.' ), array( 'form-field' => 'pass1' ) ); - - if ( !empty( $pass1 ) ) - $user->user_pass = $pass1; - - if ( !$update && isset( $_POST['user_login'] ) && !validate_username( $_POST['user_login'] ) ) - $errors->add( 'user_login', __( 'ERROR: This username is invalid because it uses illegal characters. Please enter a valid username.' )); - - if ( !$update && username_exists( $user->user_login ) ) - $errors->add( 'user_login', __( 'ERROR: This username is already registered. Please choose another one.' )); - - /* checking e-mail address */ - if ( empty( $user->user_email ) ) { - $errors->add( 'empty_email', __( 'ERROR: Please enter an e-mail address.' ), array( 'form-field' => 'email' ) ); - } elseif ( !is_email( $user->user_email ) ) { - $errors->add( 'invalid_email', __( 'ERROR: The email address isn’t correct.' ), array( 'form-field' => 'email' ) ); - } elseif ( ( $owner_id = email_exists($user->user_email) ) && ( !$update || ( $owner_id != $user->ID ) ) ) { - $errors->add( 'email_exists', __('ERROR: This email is already registered, please choose another one.'), array( 'form-field' => 'email' ) ); - } - - /** - * Fires before user profile update errors are returned. - * - * @since 2.8.0 - * - * @param array &$errors An array of user profile update errors, passed by reference. - * @param bool $update Whether this is a user update. - * @param WP_User &$user WP_User object, passed by reference. - */ - do_action_ref_array( 'user_profile_update_errors', array( &$errors, $update, &$user ) ); - - if ( $errors->get_error_codes() ) - return $errors; - - if ( $update ) { - $user_id = wp_update_user( $user ); - } else { - $user_id = wp_insert_user( $user ); - wp_new_user_notification( $user_id, isset( $_POST['send_password'] ) ? wp_unslash( $pass1 ) : '' ); - } - return $user_id; -} - -/** - * Fetch a filtered list of user roles that the current user is - * allowed to edit. - * - * Simple function who's main purpose is to allow filtering of the - * list of roles in the $wp_roles object so that plugins can remove - * inappropriate ones depending on the situation or user making edits. - * Specifically because without filtering anyone with the edit_users - * capability can edit others to be administrators, even if they are - * only editors or authors. This filter allows admins to delegate - * user management. - * - * @since 2.8.0 - * - * @return unknown - */ -function get_editable_roles() { - global $wp_roles; - - $all_roles = $wp_roles->roles; - - /** - * Filter the list of editable roles. - * - * @since 2.8.0 - * - * @param array $all_roles List of roles. - */ - $editable_roles = apply_filters( 'editable_roles', $all_roles ); - - return $editable_roles; -} - -/** - * Retrieve user data and filter it. - * - * @since 2.0.5 - * - * @param int $user_id User ID. - * @return WP_User|bool WP_User object on success, false on failure. - */ -function get_user_to_edit( $user_id ) { - $user = get_userdata( $user_id ); - - if ( $user ) - $user->filter = 'edit'; - - return $user; -} - -/** - * Retrieve the user's drafts. - * - * @since 2.0.0 - * - * @param int $user_id User ID. - * @return array - */ -function get_users_drafts( $user_id ) { - global $wpdb; - $query = $wpdb->prepare("SELECT ID, post_title FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'draft' AND post_author = %d ORDER BY post_modified DESC", $user_id); - - /** - * Filter the user's drafts query string. - * - * @since 2.0.0 - * - * @param string $query The user's drafts query string. - */ - $query = apply_filters( 'get_users_drafts', $query ); - return $wpdb->get_results( $query ); -} - -/** - * Remove user and optionally reassign posts and links to another user. - * - * If the $reassign parameter is not assigned to an User ID, then all posts will - * be deleted of that user. The action 'delete_user' that is passed the User ID - * being deleted will be run after the posts are either reassigned or deleted. - * The user meta will also be deleted that are for that User ID. - * - * @since 2.0.0 - * - * @param int $id User ID. - * @param int $reassign Optional. Reassign posts and links to new User ID. - * @return bool True when finished. - */ -function wp_delete_user( $id, $reassign = null ) { - global $wpdb; - - $id = (int) $id; - $user = new WP_User( $id ); - - if ( !$user->exists() ) - return false; - - // Normalize $reassign to null or a user ID. 'novalue' was an older default. - if ( 'novalue' === $reassign ) { - $reassign = null; - } elseif ( null !== $reassign ) { - $reassign = (int) $reassign; - } - - /** - * Fires immediately before a user is deleted from the database. - * - * @since 2.0.0 - * - * @param int $id ID of the user to delete. - * @param int|null $reassign ID of the user to reassign posts and links to. - * Default null, for no reassignment. - */ - do_action( 'delete_user', $id, $reassign ); - - if ( null === $reassign ) { - $post_types_to_delete = array(); - foreach ( get_post_types( array(), 'objects' ) as $post_type ) { - if ( $post_type->delete_with_user ) { - $post_types_to_delete[] = $post_type->name; - } elseif ( null === $post_type->delete_with_user && post_type_supports( $post_type->name, 'author' ) ) { - $post_types_to_delete[] = $post_type->name; - } - } - - /** - * Filter the list of post types to delete with a user. - * - * @since 3.4.0 - * - * @param array $post_types_to_delete Post types to delete. - * @param int $id User ID. - */ - $post_types_to_delete = apply_filters( 'post_types_to_delete_with_user', $post_types_to_delete, $id ); - $post_types_to_delete = implode( "', '", $post_types_to_delete ); - $post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_author = %d AND post_type IN ('$post_types_to_delete')", $id ) ); - if ( $post_ids ) { - foreach ( $post_ids as $post_id ) - wp_delete_post( $post_id ); - } - - // Clean links - $link_ids = $wpdb->get_col( $wpdb->prepare("SELECT link_id FROM $wpdb->links WHERE link_owner = %d", $id) ); - - if ( $link_ids ) { - foreach ( $link_ids as $link_id ) - wp_delete_link($link_id); - } - } else { - $post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_author = %d", $id ) ); - $wpdb->update( $wpdb->posts, array('post_author' => $reassign), array('post_author' => $id) ); - if ( ! empty( $post_ids ) ) { - foreach ( $post_ids as $post_id ) - clean_post_cache( $post_id ); - } - $link_ids = $wpdb->get_col( $wpdb->prepare("SELECT link_id FROM $wpdb->links WHERE link_owner = %d", $id) ); - $wpdb->update( $wpdb->links, array('link_owner' => $reassign), array('link_owner' => $id) ); - if ( ! empty( $link_ids ) ) { - foreach ( $link_ids as $link_id ) - clean_bookmark_cache( $link_id ); - } - } - - // FINALLY, delete user - if ( is_multisite() ) { - remove_user_from_blog( $id, get_current_blog_id() ); - } else { - $meta = $wpdb->get_col( $wpdb->prepare( "SELECT umeta_id FROM $wpdb->usermeta WHERE user_id = %d", $id ) ); - foreach ( $meta as $mid ) - delete_metadata_by_mid( 'user', $mid ); - - $wpdb->delete( $wpdb->users, array( 'ID' => $id ) ); - } - - clean_user_cache( $user ); - - /** - * Fires immediately after a user is deleted from the database. - * - * @since 2.9.0 - * - * @param int $id ID of the deleted user. - * @param int|null $reassign ID of the user to reassign posts and links to. - * Default null, for no reassignment. - */ - do_action( 'deleted_user', $id, $reassign ); - - return true; -} - -/** - * Remove all capabilities from user. - * - * @since 2.1.0 - * - * @param int $id User ID. - */ -function wp_revoke_user($id) { - $id = (int) $id; - - $user = new WP_User($id); - $user->remove_all_caps(); -} - -add_action('admin_init', 'default_password_nag_handler'); -/** - * @since 2.8.0 - */ -function default_password_nag_handler($errors = false) { - global $user_ID; - // Short-circuit it. - if ( ! get_user_option('default_password_nag') ) - return; - - // get_user_setting = JS saved UI setting. else no-js-fallback code. - if ( 'hide' == get_user_setting('default_password_nag') || isset($_GET['default_password_nag']) && '0' == $_GET['default_password_nag'] ) { - delete_user_setting('default_password_nag'); - update_user_option($user_ID, 'default_password_nag', false, true); - } -} - -add_action('profile_update', 'default_password_nag_edit_user', 10, 2); - -/** - * @since 2.8.0 - */ -function default_password_nag_edit_user($user_ID, $old_data) { - // Short-circuit it. - if ( ! get_user_option('default_password_nag', $user_ID) ) - return; - - $new_data = get_userdata($user_ID); - - // Remove the nag if the password has been changed. - if ( $new_data->user_pass != $old_data->user_pass ) { - delete_user_setting('default_password_nag'); - update_user_option($user_ID, 'default_password_nag', false, true); - } -} - -add_action('admin_notices', 'default_password_nag'); - -/** - * @since 2.8.0 - */ -function default_password_nag() { - global $pagenow; - // Short-circuit it. - if ( 'profile.php' == $pagenow || ! get_user_option('default_password_nag') ) - return; - - echo '
    '; - echo '

    '; - echo '' . __('Notice:') . ' '; - _e('You’re using the auto-generated password for your account. Would you like to change it to something easier to remember?'); - echo '

    '; - printf( '' . __('Yes, take me to my profile page') . ' | ', get_edit_profile_url() . '#password' ); - printf( '' . __('No thanks, do not remind me again') . '', '?default_password_nag=0' ); - echo '

    '; -} diff --git a/sources/wordpress/wp-admin/includes/widgets.php b/sources/wordpress/wp-admin/includes/widgets.php deleted file mode 100644 index c869449..0000000 --- a/sources/wordpress/wp-admin/includes/widgets.php +++ /dev/null @@ -1,245 +0,0 @@ - $widget['id'], 'widget_name' => $widget['name'], '_display' => 'template' ); - - if ( isset($wp_registered_widget_controls[$widget['id']]['id_base']) && isset($widget['params'][0]['number']) ) { - $id_base = $wp_registered_widget_controls[$widget['id']]['id_base']; - $args['_temp_id'] = "$id_base-__i__"; - $args['_multi_num'] = next_widget_id_number($id_base); - $args['_add'] = 'multi'; - } else { - $args['_add'] = 'single'; - if ( $sidebar ) - $args['_hide'] = '1'; - } - - $args = wp_list_widget_controls_dynamic_sidebar( array( 0 => $args, 1 => $widget['params'][0] ) ); - call_user_func_array( 'wp_widget_control', $args ); - } -} - -/** - * Callback to sort array by a 'name' key. - * - * @since 3.1.0 - * @access private - */ -function _sort_name_callback( $a, $b ) { - return strnatcasecmp( $a['name'], $b['name'] ); -} - -/** - * Show the widgets and their settings for a sidebar. - * Used in the admin widget config screen. - * - * @since 2.5.0 - * - * @param string $sidebar id slug of the sidebar - * @param string optional $sidebar_name Include the HTML for the sidebar name - */ -function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) { - add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' ); - - $description = wp_sidebar_description( $sidebar ); - - echo '
    '; - - if ( $sidebar_name ) { - ?> - - '; - - if ( ! empty( $description ) ) { - echo '

    ' . $description . '

    '; - } - - echo '
    '; - - dynamic_sidebar( $sidebar ); - - echo ''; -} - -/** - * {@internal Missing Short Description}} - * - * @since 2.5.0 - * - * @param array $params - * @return array - */ -function wp_list_widget_controls_dynamic_sidebar( $params ) { - global $wp_registered_widgets; - static $i = 0; - $i++; - - $widget_id = $params[0]['widget_id']; - $id = isset($params[0]['_temp_id']) ? $params[0]['_temp_id'] : $widget_id; - $hidden = isset($params[0]['_hide']) ? ' style="display:none;"' : ''; - - $params[0]['before_widget'] = "
    "; - $params[0]['after_widget'] = "
    "; - $params[0]['before_title'] = "%BEG_OF_TITLE%"; // deprecated - $params[0]['after_title'] = "%END_OF_TITLE%"; // deprecated - if ( is_callable( $wp_registered_widgets[$widget_id]['callback'] ) ) { - $wp_registered_widgets[$widget_id]['_callback'] = $wp_registered_widgets[$widget_id]['callback']; - $wp_registered_widgets[$widget_id]['callback'] = 'wp_widget_control'; - } - - return $params; -} - -function next_widget_id_number($id_base) { - global $wp_registered_widgets; - $number = 1; - - foreach ( $wp_registered_widgets as $widget_id => $widget ) { - if ( preg_match( '/' . $id_base . '-([0-9]+)$/', $widget_id, $matches ) ) - $number = max($number, $matches[1]); - } - $number++; - - return $number; -} - -/** - * Meta widget used to display the control form for a widget. - * - * Called from dynamic_sidebar(). - * - * @since 2.5.0 - * - * @param array $sidebar_args - * @return array - */ -function wp_widget_control( $sidebar_args ) { - global $wp_registered_widgets, $wp_registered_widget_controls, $sidebars_widgets; - - $widget_id = $sidebar_args['widget_id']; - $sidebar_id = isset($sidebar_args['id']) ? $sidebar_args['id'] : false; - $key = $sidebar_id ? array_search( $widget_id, $sidebars_widgets[$sidebar_id] ) : '-1'; // position of widget in sidebar - $control = isset($wp_registered_widget_controls[$widget_id]) ? $wp_registered_widget_controls[$widget_id] : array(); - $widget = $wp_registered_widgets[$widget_id]; - - $id_format = $widget['id']; - $widget_number = isset($control['params'][0]['number']) ? $control['params'][0]['number'] : ''; - $id_base = isset($control['id_base']) ? $control['id_base'] : $widget_id; - $multi_number = isset($sidebar_args['_multi_num']) ? $sidebar_args['_multi_num'] : ''; - $add_new = isset($sidebar_args['_add']) ? $sidebar_args['_add'] : ''; - - $query_arg = array( 'editwidget' => $widget['id'] ); - if ( $add_new ) { - $query_arg['addnew'] = 1; - if ( $multi_number ) { - $query_arg['num'] = $multi_number; - $query_arg['base'] = $id_base; - } - } else { - $query_arg['sidebar'] = $sidebar_id; - $query_arg['key'] = $key; - } - - /* - * We aren't showing a widget control, we're outputting a template - * for a multi-widget control. - */ - if ( isset($sidebar_args['_display']) && 'template' == $sidebar_args['_display'] && $widget_number ) { - // number == -1 implies a template where id numbers are replaced by a generic '__i__' - $control['params'][0]['number'] = -1; - // With id_base widget id's are constructed like {$id_base}-{$id_number}. - if ( isset($control['id_base']) ) - $id_format = $control['id_base'] . '-__i__'; - } - - $wp_registered_widgets[$widget_id]['callback'] = $wp_registered_widgets[$widget_id]['_callback']; - unset($wp_registered_widgets[$widget_id]['_callback']); - - $widget_title = esc_html( strip_tags( $sidebar_args['widget_name'] ) ); - $has_form = 'noform'; - - echo $sidebar_args['before_widget']; ?> -
    -
    - - - - - - -
    -

    -
    - -
    -
    -
    -" . __('There are no options for this widget.') . "

    \n"; ?> -
    - - - - - - - - -
    -
    - | - -
    -
    - 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?> - -
    -
    -
    -
    -
    - -
    - -
    -' . __( 'Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab in the upper corner.' ) . '

    '; - -// Not using chaining here, so as to be parseable by PHP4. -$screen = get_current_screen(); - -$screen->add_help_tab( array( - 'id' => 'overview', - 'title' => __( 'Overview' ), - 'content' => $help, -) ); - -// Help tabs - -$help = '

    ' . __( 'The left-hand navigation menu provides links to all of the WordPress administration screens, with submenu items displayed on hover. You can minimize this menu to a narrow icon strip by clicking on the Collapse Menu arrow at the bottom.' ) . '

    '; -$help .= '

    ' . __( 'Links in the Toolbar at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information.' ) . '

    '; - -$screen->add_help_tab( array( - 'id' => 'help-navigation', - 'title' => __( 'Navigation' ), - 'content' => $help, -) ); - -$help = '

    ' . __( 'You can use the following controls to arrange your Dashboard screen to suit your workflow. This is true on most other administration screens as well.' ) . '

    '; -$help .= '

    ' . __( 'Screen Options - Use the Screen Options tab to choose which Dashboard boxes to show.' ) . '

    '; -$help .= '

    ' . __( 'Drag and Drop - To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.' ) . '

    '; -$help .= '

    ' . __( 'Box Controls - Click the title bar of the box to expand or collapse it. Some boxes added by plugins may have configurable content, and will show a “Configure” link in the title bar if you hover over it.' ) . '

    '; - -$screen->add_help_tab( array( - 'id' => 'help-layout', - 'title' => __( 'Layout' ), - 'content' => $help, -) ); - -$help = '

    ' . __( 'The boxes on your Dashboard screen are:' ) . '

    '; -if ( current_user_can( 'edit_posts' ) ) - $help .= '

    ' . __( 'At A Glance - Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.' ) . '

    '; - $help .= '

    ' . __( 'Activity - Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them.' ) . '

    '; -if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) - $help .= '

    ' . __( "Quick Draft - Allows you to create a new post and save it as a draft. Also displays links to the 5 most recent draft posts you've started." ) . '

    '; -if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) - $help .= '

    ' . __( 'WordPress News - Latest news from the official WordPress project, the WordPress Planet, and popular and recent plugins.' ) . '

    '; -else - $help .= '

    ' . __( 'WordPress News - Latest news from the official WordPress project, the WordPress Planet.' ) . '

    '; -if ( current_user_can( 'edit_theme_options' ) ) - $help .= '

    ' . __( 'Welcome - Shows links for some of the most common tasks when setting up a new site.' ) . '

    '; - -$screen->add_help_tab( array( - 'id' => 'help-content', - 'title' => __( 'Content' ), - 'content' => $help, -) ); - -unset( $help ); - -$screen->set_help_sidebar( - '

    ' . __( 'For more information:' ) . '

    ' . - '

    ' . __( 'Documentation on Dashboard' ) . '

    ' . - '

    ' . __( 'Support Forums' ) . '

    ' -); - -include( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
    -

    - -user_email != get_option( 'admin_email' ) ); - if ( $hide ) - $classes .= ' hidden'; ?> - -
    - - - remove_action( 'welcome_panel', 'wp_welcome_panel' ); - * - * @since 3.5.0 - */ - do_action( 'welcome_panel' ); - ?> -
    - - -
    - -
    - -
    - - - * check_column('wp_links', 'link_description', 'mediumtext'); - * if (check_column($wpdb->comments, 'comment_author', 'tinytext')) - * echo "ok\n"; - * - * $error_count = 0; - * $tablename = $wpdb->links; - * // check the column - * if (!check_column($wpdb->links, 'link_description', 'varchar(255)')) { - * $ddl = "ALTER TABLE $wpdb->links MODIFY COLUMN link_description varchar(255) NOT NULL DEFAULT '' "; - * $q = $wpdb->query($ddl); - * } - * - * if (check_column($wpdb->links, 'link_description', 'varchar(255)')) { - * $res .= $tablename . ' - ok
    '; - * } else { - * $res .= 'There was a problem with ' . $tablename . '
    '; - * ++$error_count; - * } - * - * - * @package WordPress - * @subpackage Plugin - */ - -/** Load WordPress Bootstrap */ -require_once(dirname(dirname(__FILE__)).'/wp-load.php'); - -if ( ! function_exists('maybe_create_table') ) : -/** - * Create database table, if it doesn't already exist. - * - * @since 1.0.0 - * - * @uses $wpdb - * - * @param string $table_name Database table name. - * @param string $create_ddl Create database table SQL. - * @return bool False on error, true if already exists or success. - */ -function maybe_create_table($table_name, $create_ddl) { - global $wpdb; - foreach ($wpdb->get_col("SHOW TABLES",0) as $table ) { - if ($table == $table_name) { - return true; - } - } - // Didn't find it, so try to create it. - $wpdb->query($create_ddl); - - // We cannot directly tell that whether this succeeded! - foreach ($wpdb->get_col("SHOW TABLES",0) as $table ) { - if ($table == $table_name) { - return true; - } - } - return false; -} -endif; - -if ( ! function_exists('maybe_add_column') ) : -/** - * Add column to database table, if column doesn't already exist in table. - * - * @since 1.0.0 - * - * @uses $wpdb - * - * @param string $table_name Database table name - * @param string $column_name Table column name - * @param string $create_ddl SQL to add column to table. - * @return bool False on failure. True, if already exists or was successful. - */ -function maybe_add_column($table_name, $column_name, $create_ddl) { - global $wpdb; - foreach ($wpdb->get_col("DESC $table_name",0) as $column ) { - - if ($column == $column_name) { - return true; - } - } - - // Didn't find it, so try to create it. - $wpdb->query($create_ddl); - - // We cannot directly tell that whether this succeeded! - foreach ($wpdb->get_col("DESC $table_name",0) as $column ) { - if ($column == $column_name) { - return true; - } - } - return false; -} -endif; - -/** - * Drop column from database table, if it exists. - * - * @since 1.0.0 - * - * @uses $wpdb - * - * @param string $table_name Table name - * @param string $column_name Column name - * @param string $drop_ddl SQL statement to drop column. - * @return bool False on failure, true on success or doesn't exist. - */ -function maybe_drop_column($table_name, $column_name, $drop_ddl) { - global $wpdb; - foreach ($wpdb->get_col("DESC $table_name",0) as $column ) { - if ($column == $column_name) { - - // Found it, so try to drop it. - $wpdb->query($drop_ddl); - - // We cannot directly tell that whether this succeeded! - foreach ($wpdb->get_col("DESC $table_name",0) as $column ) { - if ($column == $column_name) { - return false; - } - } - } - } - // Else didn't find it. - return true; -} - -/** - * Check column matches criteria. - * - * Uses the SQL DESC for retrieving the table info for the column. It will help - * understand the parameters, if you do more research on what column information - * is returned by the SQL statement. Pass in null to skip checking that - * criteria. - * - * Column names returned from DESC table are case sensitive and are listed: - * Field - * Type - * Null - * Key - * Default - * Extra - * - * @since 1.0.0 - * - * @param string $table_name Table name - * @param string $col_name Column name - * @param string $col_type Column type - * @param bool $is_null Optional. Check is null. - * @param mixed $key Optional. Key info. - * @param mixed $default Optional. Default value. - * @param mixed $extra Optional. Extra value. - * @return bool True, if matches. False, if not matching. - */ -function check_column($table_name, $col_name, $col_type, $is_null = null, $key = null, $default = null, $extra = null) { - global $wpdb; - $diffs = 0; - $results = $wpdb->get_results("DESC $table_name"); - - foreach ($results as $row ) { - - if ($row->Field == $col_name) { - - // Got our column, check the params. - if (($col_type != null) && ($row->Type != $col_type)) { - ++$diffs; - } - if (($is_null != null) && ($row->Null != $is_null)) { - ++$diffs; - } - if (($key != null) && ($row->Key != $key)) { - ++$diffs; - } - if (($default != null) && ($row->Default != $default)) { - ++$diffs; - } - if (($extra != null) && ($row->Extra != $extra)) { - ++$diffs; - } - if ($diffs > 0) { - return false; - } - return true; - } // end if found our column - } - return false; -} diff --git a/sources/wordpress/wp-admin/install.php b/sources/wordpress/wp-admin/install.php deleted file mode 100644 index 72916e4..0000000 --- a/sources/wordpress/wp-admin/install.php +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - Error: PHP is not running - - -

    WordPress

    -

    Error: PHP is not running

    -

    WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.

    - - - - -> - - - - <?php _e( 'WordPress › Installation' ); ?> - - - -

    - -prepare( "SHOW TABLES LIKE %s", $wpdb->esc_like( $wpdb->users ) ); - $user_table = ( $wpdb->get_var( $sql ) != null ); - - // Ensure that Blogs appear in search engines by default. - $blog_public = 1; - if ( isset( $_POST['weblog_title'] ) ) { - $blog_public = isset( $_POST['blog_public'] ); - } - - $weblog_title = isset( $_POST['weblog_title'] ) ? trim( wp_unslash( $_POST['weblog_title'] ) ) : ''; - $user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : ''; - $admin_email = isset( $_POST['admin_email'] ) ? trim( wp_unslash( $_POST['admin_email'] ) ) : ''; - - if ( ! is_null( $error ) ) { -?> -

    - -
    - - - - - - - - - - - - - - - - - - - - - - - -
    - '; - } else { - ?> -

    - -
    - -

    -
    - -

    -
    -

    -
    -

    -

    - -
    -' . __( 'Already Installed' ) . '

    ' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '

    ' . __( 'Log In' ) . '

    ' ); -} - -$php_version = phpversion(); -$mysql_version = $wpdb->db_version(); -$php_compat = version_compare( $php_version, $required_php_version, '>=' ); -$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' ); - -if ( !$mysql_compat && !$php_compat ) - $compat = sprintf( __( 'You cannot install because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.' ), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ); -elseif ( !$php_compat ) - $compat = sprintf( __( 'You cannot install because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_php_version, $php_version ); -elseif ( !$mysql_compat ) - $compat = sprintf( __( 'You cannot install because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_mysql_version, $mysql_version ); - -if ( !$mysql_compat || !$php_compat ) { - display_header(); - die( '

    ' . __( 'Insufficient Requirements' ) . '

    ' . $compat . '

    ' ); -} - -if ( ! is_string( $wpdb->base_prefix ) || '' === $wpdb->base_prefix ) { - display_header(); - die( '

    ' . __( 'Configuration Error' ) . '

    ' . __( 'Your wp-config.php file has an empty database table prefix, which is not supported.' ) . '

    ' ); -} - -$language = ''; -if ( ! empty( $_REQUEST['language'] ) ) { - $language = preg_replace( '/[^a-zA-Z_]/', '', $_REQUEST['language'] ); -} elseif ( isset( $GLOBALS['wp_local_package'] ) ) { - $language = $GLOBALS['wp_local_package']; -} - -switch($step) { - case 0: // Step 0 - - if ( wp_can_install_language_pack() && empty( $language ) && ( $languages = wp_get_available_translations() ) ) { - display_header( 'language-chooser' ); - echo '
    '; - wp_install_language_form( $languages ); - echo '
    '; - break; - } - - // Deliberately fall through if we can't reach the translations API. - - case 1: // Step 1, direct link or from language chooser. - if ( ! empty( $language ) ) { - $loaded_language = wp_download_language_pack( $language ); - if ( $loaded_language ) { - load_default_textdomain( $loaded_language ); - $GLOBALS['wp_locale'] = new WP_Locale(); - } - } - - display_header(); -?> -

    -

    - -

    -

    - -error ) ) - wp_die( $wpdb->error->get_error_message() ); - - display_header(); - // Fill in the data we gathered - $weblog_title = isset( $_POST['weblog_title'] ) ? trim( wp_unslash( $_POST['weblog_title'] ) ) : ''; - $user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : ''; - $admin_password = isset($_POST['admin_password']) ? wp_unslash( $_POST['admin_password'] ) : ''; - $admin_password_check = isset($_POST['admin_password2']) ? wp_unslash( $_POST['admin_password2'] ) : ''; - $admin_email = isset( $_POST['admin_email'] ) ?trim( wp_unslash( $_POST['admin_email'] ) ) : ''; - $public = isset( $_POST['blog_public'] ) ? (int) $_POST['blog_public'] : 0; - - // Check e-mail address. - $error = false; - if ( empty( $user_name ) ) { - // TODO: poka-yoke - display_setup_form( __( 'Please provide a valid username.' ) ); - $error = true; - } elseif ( $user_name != sanitize_user( $user_name, true ) ) { - display_setup_form( __( 'The username you provided has invalid characters.' ) ); - $error = true; - } elseif ( $admin_password != $admin_password_check ) { - // TODO: poka-yoke - display_setup_form( __( 'Your passwords do not match. Please try again.' ) ); - $error = true; - } else if ( empty( $admin_email ) ) { - // TODO: poka-yoke - display_setup_form( __( 'You must provide an email address.' ) ); - $error = true; - } elseif ( ! is_email( $admin_email ) ) { - // TODO: poka-yoke - display_setup_form( __( 'Sorry, that isn’t a valid email address. Email addresses look like username@example.com.' ) ); - $error = true; - } - - if ( $error === false ) { - $wpdb->show_errors(); - $result = wp_install( $weblog_title, $user_name, $admin_email, $public, '', wp_slash( $admin_password ), $loaded_language ); -?> - -

    - -

    - - - - - - - - - - -
    -
    - -

    -
    - -

    - - - - - - - - diff --git a/sources/wordpress/wp-admin/js/accordion.js b/sources/wordpress/wp-admin/js/accordion.js deleted file mode 100644 index 6cb1c1c..0000000 --- a/sources/wordpress/wp-admin/js/accordion.js +++ /dev/null @@ -1,143 +0,0 @@ -/** - * Accordion-folding functionality. - * - * Markup with the appropriate classes will be automatically hidden, - * with one section opening at a time when its title is clicked. - * Use the following markup structure for accordion behavior: - * - *
    - *
    - *

    - *
    - *
    - *
    - *
    - *

    - *
    - *
    - *
    - *
    - *

    - *
    - *
    - *
    - *
    - * - * Note that any appropriate tags may be used, as long as the above classes are present. - * - * In addition to the standard accordion behavior, this file includes JS for the - * Customizer's "Panel" functionality. - * - * @since 3.6.0. - */ - -( function( $ ){ - - $( document ).ready( function () { - - // Expand/Collapse accordion sections on click. - $( '.accordion-container' ).on( 'click keydown', '.accordion-section-title', function( e ) { - if ( e.type === 'keydown' && 13 !== e.which ) { // "return" key - return; - } - - e.preventDefault(); // Keep this AFTER the key filter above - - accordionSwitch( $( this ) ); - }); - - // Go back to the top-level Customizer accordion. - $( '#customize-header-actions' ).on( 'click keydown', '.control-panel-back', function( e ) { - if ( e.type === 'keydown' && 13 !== e.which ) { // "return" key - return; - } - - e.preventDefault(); // Keep this AFTER the key filter above - - panelSwitch( $( '.current-panel' ) ); - }); - }); - - var sectionContent = $( '.accordion-section-content' ); - - /** - * Close the current accordion section and open a new one. - * - * @param {Object} el Title element of the accordion section to toggle. - * @since 3.6.0 - */ - function accordionSwitch ( el ) { - var section = el.closest( '.accordion-section' ), - siblings = section.closest( '.accordion-container' ).find( '.open' ), - content = section.find( sectionContent ); - - // This section has no content and cannot be expanded. - if ( section.hasClass( 'cannot-expand' ) ) { - return; - } - - // Slide into a sub-panel instead of accordioning (Customizer-specific). - if ( section.hasClass( 'control-panel' ) ) { - panelSwitch( section ); - return; - } - - if ( section.hasClass( 'open' ) ) { - section.toggleClass( 'open' ); - content.toggle( true ).slideToggle( 150 ); - } else { - siblings.removeClass( 'open' ); - siblings.find( sectionContent ).show().slideUp( 150 ); - content.toggle( false ).slideToggle( 150 ); - section.toggleClass( 'open' ); - } - } - - /** - * Slide into an accordion sub-panel. - * - * For the Customizer-specific panel functionality - * - * @param {Object} panel Title element or back button of the accordion panel to toggle. - * @since 4.0.0 - */ - function panelSwitch( panel ) { - var position, scroll, - section = panel.closest( '.accordion-section' ), - overlay = section.closest( '.wp-full-overlay' ), - container = section.closest( '.accordion-container' ), - siblings = container.find( '.open' ), - topPanel = overlay.find( '#customize-theme-controls > ul > .accordion-section > .accordion-section-title' ).add( '#customize-info > .accordion-section-title' ), - backBtn = overlay.find( '.control-panel-back' ), - panelTitle = section.find( '.accordion-section-title' ).first(), - content = section.find( '.control-panel-content' ); - - if ( section.hasClass( 'current-panel' ) ) { - section.toggleClass( 'current-panel' ); - overlay.toggleClass( 'in-sub-panel' ); - content.delay( 180 ).hide( 0, function() { - content.css( 'margin-top', 'inherit' ); // Reset - } ); - topPanel.attr( 'tabindex', '0' ); - backBtn.attr( 'tabindex', '-1' ); - panelTitle.focus(); - container.scrollTop( 0 ); - } else { - // Close all open sections in any accordion level. - siblings.removeClass( 'open' ); - siblings.find( sectionContent ).show().slideUp( 0 ); - content.show( 0, function() { - position = content.offset().top; - scroll = container.scrollTop(); - content.css( 'margin-top', ( 45 - position - scroll ) ); - section.toggleClass( 'current-panel' ); - overlay.toggleClass( 'in-sub-panel' ); - container.scrollTop( 0 ); - } ); - topPanel.attr( 'tabindex', '-1' ); - backBtn.attr( 'tabindex', '0' ); - backBtn.focus(); - } - } - -})(jQuery); diff --git a/sources/wordpress/wp-admin/js/accordion.min.js b/sources/wordpress/wp-admin/js/accordion.min.js deleted file mode 100644 index 6b85264..0000000 --- a/sources/wordpress/wp-admin/js/accordion.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(a){function b(a){var b=a.closest(".accordion-section"),e=b.closest(".accordion-container").find(".open"),f=b.find(d);if(!b.hasClass("cannot-expand"))return b.hasClass("control-panel")?void c(b):void(b.hasClass("open")?(b.toggleClass("open"),f.toggle(!0).slideToggle(150)):(e.removeClass("open"),e.find(d).show().slideUp(150),f.toggle(!1).slideToggle(150),b.toggleClass("open")))}function c(a){var b,c,e=a.closest(".accordion-section"),f=e.closest(".wp-full-overlay"),g=e.closest(".accordion-container"),h=g.find(".open"),i=f.find("#customize-theme-controls > ul > .accordion-section > .accordion-section-title").add("#customize-info > .accordion-section-title"),j=f.find(".control-panel-back"),k=e.find(".accordion-section-title").first(),l=e.find(".control-panel-content");e.hasClass("current-panel")?(e.toggleClass("current-panel"),f.toggleClass("in-sub-panel"),l.delay(180).hide(0,function(){l.css("margin-top","inherit")}),i.attr("tabindex","0"),j.attr("tabindex","-1"),k.focus(),g.scrollTop(0)):(h.removeClass("open"),h.find(d).show().slideUp(0),l.show(0,function(){b=l.offset().top,c=g.scrollTop(),l.css("margin-top",45-b-c),e.toggleClass("current-panel"),f.toggleClass("in-sub-panel"),g.scrollTop(0)}),i.attr("tabindex","-1"),j.attr("tabindex","0"),j.focus())}a(document).ready(function(){a(".accordion-container").on("click keydown",".accordion-section-title",function(c){("keydown"!==c.type||13===c.which)&&(c.preventDefault(),b(a(this)))}),a("#customize-header-actions").on("click keydown",".control-panel-back",function(b){("keydown"!==b.type||13===b.which)&&(b.preventDefault(),c(a(".current-panel")))})});var d=a(".accordion-section-content")}(jQuery); \ No newline at end of file diff --git a/sources/wordpress/wp-admin/js/color-picker.js b/sources/wordpress/wp-admin/js/color-picker.js deleted file mode 100644 index 0991c3e..0000000 --- a/sources/wordpress/wp-admin/js/color-picker.js +++ /dev/null @@ -1,155 +0,0 @@ -/* global wpColorPickerL10n */ -( function( $, undef ){ - - var ColorPicker, - // html stuff - _before = '', - _after = '
    ', - _wrap = '
    ', - _button = ''; - - // jQuery UI Widget constructor - ColorPicker = { - options: { - defaultColor: false, - change: false, - clear: false, - hide: true, - palettes: true - }, - _create: function() { - // bail early for unsupported Iris. - if ( ! $.support.iris ) { - return; - } - - var self = this, - el = self.element; - - $.extend( self.options, el.data() ); - - // keep close bound so it can be attached to a body listener - self.close = $.proxy( self.close, self ); - - self.initialValue = el.val(); - - // Set up HTML structure, hide things - el.addClass( 'wp-color-picker' ).hide().wrap( _wrap ); - self.wrap = el.parent(); - self.toggler = $( _before ).insertBefore( el ).css( { backgroundColor: self.initialValue } ).attr( 'title', wpColorPickerL10n.pick ).attr( 'data-current', wpColorPickerL10n.current ); - self.pickerContainer = $( _after ).insertAfter( el ); - self.button = $( _button ); - - if ( self.options.defaultColor ) { - self.button.addClass( 'wp-picker-default' ).val( wpColorPickerL10n.defaultString ); - } else { - self.button.addClass( 'wp-picker-clear' ).val( wpColorPickerL10n.clear ); - } - - el.wrap( '' ).after(self.button); - - el.iris( { - target: self.pickerContainer, - hide: true, - width: 255, - mode: 'hsv', - palettes: self.options.palettes, - change: function( event, ui ) { - self.toggler.css( { backgroundColor: ui.color.toString() } ); - // check for a custom cb - if ( $.isFunction( self.options.change ) ) { - self.options.change.call( this, event, ui ); - } - } - } ); - - el.val( self.initialValue ); - self._addListeners(); - if ( ! self.options.hide ) { - self.toggler.click(); - } - }, - _addListeners: function() { - var self = this; - - // prevent any clicks inside this widget from leaking to the top and closing it - self.wrap.on( 'click.wpcolorpicker', function( event ) { - event.stopPropagation(); - }); - - self.toggler.click( function(){ - if ( self.toggler.hasClass( 'wp-picker-open' ) ) { - self.close(); - } else { - self.open(); - } - }); - - self.element.change( function( event ) { - var me = $( this ), - val = me.val(); - // Empty = clear - if ( val === '' || val === '#' ) { - self.toggler.css( 'backgroundColor', '' ); - // fire clear callback if we have one - if ( $.isFunction( self.options.clear ) ) { - self.options.clear.call( this, event ); - } - } - }); - - // open a keyboard-focused closed picker with space or enter - self.toggler.on( 'keyup', function( event ) { - if ( event.keyCode === 13 || event.keyCode === 32 ) { - event.preventDefault(); - self.toggler.trigger( 'click' ).next().focus(); - } - }); - - self.button.click( function( event ) { - var me = $( this ); - if ( me.hasClass( 'wp-picker-clear' ) ) { - self.element.val( '' ); - self.toggler.css( 'backgroundColor', '' ); - if ( $.isFunction( self.options.clear ) ) { - self.options.clear.call( this, event ); - } - } else if ( me.hasClass( 'wp-picker-default' ) ) { - self.element.val( self.options.defaultColor ).change(); - } - }); - }, - open: function() { - this.element.show().iris( 'toggle' ).focus(); - this.button.removeClass( 'hidden' ); - this.toggler.addClass( 'wp-picker-open' ); - $( 'body' ).trigger( 'click.wpcolorpicker' ).on( 'click.wpcolorpicker', this.close ); - }, - close: function() { - this.element.hide().iris( 'toggle' ); - this.button.addClass( 'hidden' ); - this.toggler.removeClass( 'wp-picker-open' ); - $( 'body' ).off( 'click.wpcolorpicker', this.close ); - }, - // $("#input").wpColorPicker('color') returns the current color - // $("#input").wpColorPicker('color', '#bada55') to set - color: function( newColor ) { - if ( newColor === undef ) { - return this.element.iris( 'option', 'color' ); - } - - this.element.iris( 'option', 'color', newColor ); - }, - //$("#input").wpColorPicker('defaultColor') returns the current default color - //$("#input").wpColorPicker('defaultColor', newDefaultColor) to set - defaultColor: function( newDefaultColor ) { - if ( newDefaultColor === undef ) { - return this.options.defaultColor; - } - - this.options.defaultColor = newDefaultColor; - } - }; - - $.widget( 'wp.wpColorPicker', ColorPicker ); -}( jQuery ) ); diff --git a/sources/wordpress/wp-admin/js/color-picker.min.js b/sources/wordpress/wp-admin/js/color-picker.min.js deleted file mode 100644 index a4ba98d..0000000 --- a/sources/wordpress/wp-admin/js/color-picker.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(a,b){var c,d='',e='
    ',f='
    ',g='';c={options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0},_create:function(){if(a.support.iris){var b=this,c=b.element;a.extend(b.options,c.data()),b.close=a.proxy(b.close,b),b.initialValue=c.val(),c.addClass("wp-color-picker").hide().wrap(f),b.wrap=c.parent(),b.toggler=a(d).insertBefore(c).css({backgroundColor:b.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),b.pickerContainer=a(e).insertAfter(c),b.button=a(g),b.options.defaultColor?b.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString):b.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),c.wrap('').after(b.button),c.iris({target:b.pickerContainer,hide:!0,width:255,mode:"hsv",palettes:b.options.palettes,change:function(c,d){b.toggler.css({backgroundColor:d.color.toString()}),a.isFunction(b.options.change)&&b.options.change.call(this,c,d)}}),c.val(b.initialValue),b._addListeners(),b.options.hide||b.toggler.click()}},_addListeners:function(){var b=this;b.wrap.on("click.wpcolorpicker",function(a){a.stopPropagation()}),b.toggler.click(function(){b.toggler.hasClass("wp-picker-open")?b.close():b.open()}),b.element.change(function(c){var d=a(this),e=d.val();(""===e||"#"===e)&&(b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c))}),b.toggler.on("keyup",function(a){(13===a.keyCode||32===a.keyCode)&&(a.preventDefault(),b.toggler.trigger("click").next().focus())}),b.button.click(function(c){var d=a(this);d.hasClass("wp-picker-clear")?(b.element.val(""),b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c)):d.hasClass("wp-picker-default")&&b.element.val(b.options.defaultColor).change()})},open:function(){this.element.show().iris("toggle").focus(),this.button.removeClass("hidden"),this.toggler.addClass("wp-picker-open"),a("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.hide().iris("toggle"),this.button.addClass("hidden"),this.toggler.removeClass("wp-picker-open"),a("body").off("click.wpcolorpicker",this.close)},color:function(a){return a===b?this.element.iris("option","color"):void this.element.iris("option","color",a)},defaultColor:function(a){return a===b?this.options.defaultColor:void(this.options.defaultColor=a)}},a.widget("wp.wpColorPicker",c)}(jQuery); \ No newline at end of file diff --git a/sources/wordpress/wp-admin/js/comment.js b/sources/wordpress/wp-admin/js/comment.js deleted file mode 100644 index b5506ea..0000000 --- a/sources/wordpress/wp-admin/js/comment.js +++ /dev/null @@ -1,50 +0,0 @@ -/* global postboxes:true, commentL10n:true */ -jQuery(document).ready( function($) { - - postboxes.add_postbox_toggles('comment'); - - var stamp = $('#timestamp').html(); - $('.edit-timestamp').click(function () { - if ($('#timestampdiv').is(':hidden')) { - $('#timestampdiv').slideDown('normal'); - $('.edit-timestamp').hide(); - } - return false; - }); - - $('.cancel-timestamp').click(function() { - $('#timestampdiv').slideUp('normal'); - $('#mm').val($('#hidden_mm').val()); - $('#jj').val($('#hidden_jj').val()); - $('#aa').val($('#hidden_aa').val()); - $('#hh').val($('#hidden_hh').val()); - $('#mn').val($('#hidden_mn').val()); - $('#timestamp').html(stamp); - $('.edit-timestamp').show(); - return false; - }); - - $('.save-timestamp').click(function () { // crazyhorse - multiple ok cancels - var aa = $('#aa').val(), mm = $('#mm').val(), jj = $('#jj').val(), hh = $('#hh').val(), mn = $('#mn').val(), - newD = new Date( aa, mm - 1, jj, hh, mn ); - - if ( newD.getFullYear() != aa || (1 + newD.getMonth()) != mm || newD.getDate() != jj || newD.getMinutes() != mn ) { - $('.timestamp-wrap', '#timestampdiv').addClass('form-invalid'); - return false; - } else { - $('.timestamp-wrap', '#timestampdiv').removeClass('form-invalid'); - } - - $('#timestampdiv').slideUp('normal'); - $('.edit-timestamp').show(); - $('#timestamp').html( - commentL10n.submittedOn + ' ' + - $( '#mm option[value="' + mm + '"]' ).text() + ' ' + - jj + ', ' + - aa + ' @ ' + - hh + ':' + - mn + ' ' - ); - return false; - }); -}); diff --git a/sources/wordpress/wp-admin/js/comment.min.js b/sources/wordpress/wp-admin/js/comment.min.js deleted file mode 100644 index fbfa877..0000000 --- a/sources/wordpress/wp-admin/js/comment.min.js +++ /dev/null @@ -1 +0,0 @@ -jQuery(document).ready(function(a){postboxes.add_postbox_toggles("comment");var b=a("#timestamp").html();a(".edit-timestamp").click(function(){return a("#timestampdiv").is(":hidden")&&(a("#timestampdiv").slideDown("normal"),a(".edit-timestamp").hide()),!1}),a(".cancel-timestamp").click(function(){return a("#timestampdiv").slideUp("normal"),a("#mm").val(a("#hidden_mm").val()),a("#jj").val(a("#hidden_jj").val()),a("#aa").val(a("#hidden_aa").val()),a("#hh").val(a("#hidden_hh").val()),a("#mn").val(a("#hidden_mn").val()),a("#timestamp").html(b),a(".edit-timestamp").show(),!1}),a(".save-timestamp").click(function(){var b=a("#aa").val(),c=a("#mm").val(),d=a("#jj").val(),e=a("#hh").val(),f=a("#mn").val(),g=new Date(b,c-1,d,e,f);return g.getFullYear()!=b||1+g.getMonth()!=c||g.getDate()!=d||g.getMinutes()!=f?(a(".timestamp-wrap","#timestampdiv").addClass("form-invalid"),!1):(a(".timestamp-wrap","#timestampdiv").removeClass("form-invalid"),a("#timestampdiv").slideUp("normal"),a(".edit-timestamp").show(),a("#timestamp").html(commentL10n.submittedOn+" "+a('#mm option[value="'+c+'"]').text()+" "+d+", "+b+" @ "+e+":"+f+" "),!1)})}); \ No newline at end of file diff --git a/sources/wordpress/wp-admin/js/common.js b/sources/wordpress/wp-admin/js/common.js deleted file mode 100644 index b61763a..0000000 --- a/sources/wordpress/wp-admin/js/common.js +++ /dev/null @@ -1,740 +0,0 @@ -/* global setUserSetting, ajaxurl, commonL10n, alert, confirm, pagenow */ -var showNotice, adminMenu, columns, validateForm, screenMeta; -( function( $, window, undefined ) { -// Removed in 3.3. -// (perhaps) needed for back-compat -adminMenu = { - init : function() {}, - fold : function() {}, - restoreMenuState : function() {}, - toggle : function() {}, - favorites : function() {} -}; - -// show/hide/save table columns -columns = { - init : function() { - var that = this; - $('.hide-column-tog', '#adv-settings').click( function() { - var $t = $(this), column = $t.val(); - if ( $t.prop('checked') ) - that.checked(column); - else - that.unchecked(column); - - columns.saveManageColumnsState(); - }); - }, - - saveManageColumnsState : function() { - var hidden = this.hidden(); - $.post(ajaxurl, { - action: 'hidden-columns', - hidden: hidden, - screenoptionnonce: $('#screenoptionnonce').val(), - page: pagenow - }); - }, - - checked : function(column) { - $('.column-' + column).show(); - this.colSpanChange(+1); - }, - - unchecked : function(column) { - $('.column-' + column).hide(); - this.colSpanChange(-1); - }, - - hidden : function() { - return $('.manage-column').filter(':hidden').map(function() { return this.id; }).get().join(','); - }, - - useCheckboxesForHidden : function() { - this.hidden = function(){ - return $('.hide-column-tog').not(':checked').map(function() { - var id = this.id; - return id.substring( id, id.length - 5 ); - }).get().join(','); - }; - }, - - colSpanChange : function(diff) { - var $t = $('table').find('.colspanchange'), n; - if ( !$t.length ) - return; - n = parseInt( $t.attr('colspan'), 10 ) + diff; - $t.attr('colspan', n.toString()); - } -}; - -$(document).ready(function(){columns.init();}); - -validateForm = function( form ) { - return !$( form ) - .find( '.form-required' ) - .filter( function() { return $( 'input:visible', this ).val() === ''; } ) - .addClass( 'form-invalid' ) - .find( 'input:visible' ) - .change( function() { $( this ).closest( '.form-invalid' ).removeClass( 'form-invalid' ); } ) - .size(); -}; - -// stub for doing better warnings -showNotice = { - warn : function() { - var msg = commonL10n.warnDelete || ''; - if ( confirm(msg) ) { - return true; - } - - return false; - }, - - note : function(text) { - alert(text); - } -}; - -screenMeta = { - element: null, // #screen-meta - toggles: null, // .screen-meta-toggle - page: null, // #wpcontent - - init: function() { - this.element = $('#screen-meta'); - this.toggles = $('.screen-meta-toggle a'); - this.page = $('#wpcontent'); - - this.toggles.click( this.toggleEvent ); - }, - - toggleEvent: function( e ) { - var panel = $( this.href.replace(/.+#/, '#') ); - e.preventDefault(); - - if ( !panel.length ) - return; - - if ( panel.is(':visible') ) - screenMeta.close( panel, $(this) ); - else - screenMeta.open( panel, $(this) ); - }, - - open: function( panel, link ) { - - $('.screen-meta-toggle').not( link.parent() ).css('visibility', 'hidden'); - - panel.parent().show(); - panel.slideDown( 'fast', function() { - panel.focus(); - link.addClass('screen-meta-active').attr('aria-expanded', true); - }); - - $( document ).trigger( 'screen:options:open' ); - }, - - close: function( panel, link ) { - panel.slideUp( 'fast', function() { - link.removeClass('screen-meta-active').attr('aria-expanded', false); - $('.screen-meta-toggle').css('visibility', ''); - panel.parent().hide(); - }); - - $( document ).trigger( 'screen:options:close' ); - } -}; - -/** - * Help tabs. - */ -$('.contextual-help-tabs').delegate('a', 'click', function(e) { - var link = $(this), - panel; - - e.preventDefault(); - - // Don't do anything if the click is for the tab already showing. - if ( link.is('.active a') ) - return false; - - // Links - $('.contextual-help-tabs .active').removeClass('active'); - link.parent('li').addClass('active'); - - panel = $( link.attr('href') ); - - // Panels - $('.help-tab-content').not( panel ).removeClass('active').hide(); - panel.addClass('active').show(); -}); - -$(document).ready( function() { - var checks, first, last, checked, sliced, mobileEvent, transitionTimeout, focusedRowActions, - lastClicked = false, - menu = $('#adminmenu'), - pageInput = $('input.current-page'), - currentPage = pageInput.val(); - - // when the menu is folded, make the fly-out submenu header clickable - menu.on('click.wp-submenu-head', '.wp-submenu-head', function(e){ - $(e.target).parent().siblings('a').get(0).click(); - }); - - $('#collapse-menu').on('click.collapse-menu', function() { - var body = $( document.body ), respWidth, state; - - // reset any compensation for submenus near the bottom of the screen - $('#adminmenu div.wp-submenu').css('margin-top', ''); - - if ( window.innerWidth ) { - // window.innerWidth is affected by zooming on phones - respWidth = Math.max( window.innerWidth, document.documentElement.clientWidth ); - } else { - // IE < 9 doesn't support @media CSS rules - respWidth = 961; - } - - if ( respWidth && respWidth < 960 ) { - if ( body.hasClass('auto-fold') ) { - body.removeClass('auto-fold').removeClass('folded'); - setUserSetting('unfold', 1); - setUserSetting('mfold', 'o'); - state = 'open'; - } else { - body.addClass('auto-fold'); - setUserSetting('unfold', 0); - state = 'folded'; - } - } else { - if ( body.hasClass('folded') ) { - body.removeClass('folded'); - setUserSetting('mfold', 'o'); - state = 'open'; - } else { - body.addClass('folded'); - setUserSetting('mfold', 'f'); - state = 'folded'; - } - } - - $( document ).trigger( 'wp-collapse-menu', { state: state } ); - }); - - if ( 'ontouchstart' in window || /IEMobile\/[1-9]/.test(navigator.userAgent) ) { // touch screen device - // iOS Safari works with touchstart, the rest work with click - mobileEvent = /Mobile\/.+Safari/.test(navigator.userAgent) ? 'touchstart' : 'click'; - - // close any open submenus when touch/click is not on the menu - $(document.body).on( mobileEvent+'.wp-mobile-hover', function(e) { - if ( menu.data('wp-responsive') ) { - return; - } - - if ( ! $(e.target).closest('#adminmenu').length ) { - menu.find('li.wp-has-submenu.opensub').removeClass('opensub'); - } - }); - - menu.find('a.wp-has-submenu').on( mobileEvent+'.wp-mobile-hover', function(e) { - var b, h, o, f, menutop, wintop, maxtop, - el = $(this), - parent = el.parent(), - m = parent.find('.wp-submenu'); - - if ( menu.data('wp-responsive') ) { - return; - } - - // Show the sub instead of following the link if: - // - the submenu is not open - // - the submenu is not shown inline or the menu is not folded - if ( !parent.hasClass('opensub') && ( !parent.hasClass('wp-menu-open') || parent.width() < 40 ) ) { - e.preventDefault(); - - menutop = parent.offset().top; - wintop = $(window).scrollTop(); - maxtop = menutop - wintop - 30; // max = make the top of the sub almost touch admin bar - - b = menutop + m.height() + 1; // Bottom offset of the menu - h = $('#wpwrap').height(); // Height of the entire page - o = 60 + b - h; - f = $(window).height() + wintop - 50; // The fold - - if ( f < (b - o) ) { - o = b - f; - } - - if ( o > maxtop ) { - o = maxtop; - } - - if ( o > 1 ) { - m.css('margin-top', '-'+o+'px'); - } else { - m.css('margin-top', ''); - } - - menu.find('li.opensub').removeClass('opensub'); - parent.addClass('opensub'); - } - }); - } - - menu.find('li.wp-has-submenu').hoverIntent({ - over: function() { - var b, h, o, f, m = $(this).find('.wp-submenu'), menutop, wintop, maxtop, top = parseInt( m.css('top'), 10 ); - - if ( isNaN(top) || top > -5 ) { // meaning the submenu is visible - return; - } - - if ( menu.data('wp-responsive') ) { - // The menu is in responsive mode, bail - return; - } - - menutop = $(this).offset().top; - wintop = $(window).scrollTop(); - maxtop = menutop - wintop - 30; // max = make the top of the sub almost touch admin bar - - b = menutop + m.height() + 1; // Bottom offset of the menu - h = $('#wpwrap').height(); // Height of the entire page - o = 60 + b - h; - f = $(window).height() + wintop - 15; // The fold - - if ( f < (b - o) ) { - o = b - f; - } - - if ( o > maxtop ) { - o = maxtop; - } - - if ( o > 1 ) { - m.css('margin-top', '-'+o+'px'); - } else { - m.css('margin-top', ''); - } - - menu.find('li.menu-top').removeClass('opensub'); - $(this).addClass('opensub'); - }, - out: function(){ - if ( menu.data('wp-responsive') ) { - // The menu is in responsive mode, bail - return; - } - - $(this).removeClass('opensub').find('.wp-submenu').css('margin-top', ''); - }, - timeout: 200, - sensitivity: 7, - interval: 90 - }); - - menu.on('focus.adminmenu', '.wp-submenu a', function(e){ - if ( menu.data('wp-responsive') ) { - // The menu is in responsive mode, bail - return; - } - - $(e.target).closest('li.menu-top').addClass('opensub'); - }).on('blur.adminmenu', '.wp-submenu a', function(e){ - if ( menu.data('wp-responsive') ) { - // The menu is in responsive mode, bail - return; - } - - $(e.target).closest('li.menu-top').removeClass('opensub'); - }); - - // Move .updated and .error alert boxes. Don't move boxes designed to be inline. - $('div.wrap h2:first').nextAll('div.updated, div.error').addClass('below-h2'); - $('div.updated, div.error').not('.below-h2, .inline').insertAfter( $('div.wrap h2:first') ); - - // Init screen meta - screenMeta.init(); - - // check all checkboxes - $('tbody').children().children('.check-column').find(':checkbox').click( function(e) { - if ( 'undefined' == e.shiftKey ) { return true; } - if ( e.shiftKey ) { - if ( !lastClicked ) { return true; } - checks = $( lastClicked ).closest( 'form' ).find( ':checkbox' ); - first = checks.index( lastClicked ); - last = checks.index( this ); - checked = $(this).prop('checked'); - if ( 0 < first && 0 < last && first != last ) { - sliced = ( last > first ) ? checks.slice( first, last ) : checks.slice( last, first ); - sliced.prop( 'checked', function() { - if ( $(this).closest('tr').is(':visible') ) - return checked; - - return false; - }); - } - } - lastClicked = this; - - // toggle "check all" checkboxes - var unchecked = $(this).closest('tbody').find(':checkbox').filter(':visible').not(':checked'); - $(this).closest('table').children('thead, tfoot').find(':checkbox').prop('checked', function() { - return ( 0 === unchecked.length ); - }); - - return true; - }); - - $('thead, tfoot').find('.check-column :checkbox').on( 'click.wp-toggle-checkboxes', function( event ) { - var $this = $(this), - $table = $this.closest( 'table' ), - controlChecked = $this.prop('checked'), - toggle = event.shiftKey || $this.data('wp-toggle'); - - $table.children( 'tbody' ).filter(':visible') - .children().children('.check-column').find(':checkbox') - .prop('checked', function() { - if ( $(this).is(':hidden') ) { - return false; - } - - if ( toggle ) { - return ! $(this).prop( 'checked' ); - } else if ( controlChecked ) { - return true; - } - - return false; - }); - - $table.children('thead, tfoot').filter(':visible') - .children().children('.check-column').find(':checkbox') - .prop('checked', function() { - if ( toggle ) { - return false; - } else if ( controlChecked ) { - return true; - } - - return false; - }); - }); - - // Show row actions on keyboard focus of its parent container element or any other elements contained within - $( 'td.post-title, td.title, td.comment, .bookmarks td.column-name, td.blogname, td.username, .dashboard-comment-wrap' ).focusin(function(){ - clearTimeout( transitionTimeout ); - focusedRowActions = $(this).find( '.row-actions' ); - focusedRowActions.addClass( 'visible' ); - }).focusout(function(){ - // Tabbing between post title and .row-actions links needs a brief pause, otherwise - // the .row-actions div gets hidden in transit in some browsers (ahem, Firefox). - transitionTimeout = setTimeout(function(){ - focusedRowActions.removeClass( 'visible' ); - }, 30); - }); - - $('#default-password-nag-no').click( function() { - setUserSetting('default_password_nag', 'hide'); - $('div.default-password-nag').hide(); - return false; - }); - - // tab in textareas - $('#newcontent').bind('keydown.wpevent_InsertTab', function(e) { - var el = e.target, selStart, selEnd, val, scroll, sel; - - if ( e.keyCode == 27 ) { // escape key - $(el).data('tab-out', true); - return; - } - - if ( e.keyCode != 9 || e.ctrlKey || e.altKey || e.shiftKey ) // tab key - return; - - if ( $(el).data('tab-out') ) { - $(el).data('tab-out', false); - return; - } - - selStart = el.selectionStart; - selEnd = el.selectionEnd; - val = el.value; - - try { - this.lastKey = 9; // not a standard DOM property, lastKey is to help stop Opera tab event. See blur handler below. - } catch(err) {} - - if ( document.selection ) { - el.focus(); - sel = document.selection.createRange(); - sel.text = '\t'; - } else if ( selStart >= 0 ) { - scroll = this.scrollTop; - el.value = val.substring(0, selStart).concat('\t', val.substring(selEnd) ); - el.selectionStart = el.selectionEnd = selStart + 1; - this.scrollTop = scroll; - } - - if ( e.stopPropagation ) - e.stopPropagation(); - if ( e.preventDefault ) - e.preventDefault(); - }); - - $('#newcontent').bind('blur.wpevent_InsertTab', function() { - if ( this.lastKey && 9 == this.lastKey ) - this.focus(); - }); - - if ( pageInput.length ) { - pageInput.closest('form').submit( function() { - - // Reset paging var for new filters/searches but not for bulk actions. See #17685. - if ( $('select[name="action"]').val() == -1 && $('select[name="action2"]').val() == -1 && pageInput.val() == currentPage ) - pageInput.val('1'); - }); - } - - $('.search-box input[type="search"], .search-box input[type="submit"]').mousedown(function () { - $('select[name^="action"]').val('-1'); - }); - - // Scroll into view when focused - $('#contextual-help-link, #show-settings-link').on( 'focus.scroll-into-view', function(e){ - if ( e.target.scrollIntoView ) - e.target.scrollIntoView(false); - }); - - // Disable upload buttons until files are selected - (function(){ - var button, input, form = $('form.wp-upload-form'); - if ( ! form.length ) - return; - button = form.find('input[type="submit"]'); - input = form.find('input[type="file"]'); - - function toggleUploadButton() { - button.prop('disabled', '' === input.map( function() { - return $(this).val(); - }).get().join('')); - } - toggleUploadButton(); - input.on('change', toggleUploadButton); - })(); -}); - -// Fire a custom jQuery event at the end of window resize -( function() { - var timeout; - - function triggerEvent() { - $(document).trigger( 'wp-window-resized' ); - } - - function fireOnce() { - window.clearTimeout( timeout ); - timeout = window.setTimeout( triggerEvent, 200 ); - } - - $(window).on( 'resize.wp-fire-once', fireOnce ); -}()); - -$(document).ready( function() { - var $document = $( document ), - $window = $( window ), - $body = $( document.body ), - $adminMenuWrap = $( '#adminmenuwrap' ), - $collapseMenu = $( '#collapse-menu' ), - $wpwrap = $( '#wpwrap' ), - $adminmenu = $( '#adminmenu' ), - $overlay = $( '#wp-responsive-overlay' ), - $toolbar = $( '#wp-toolbar' ), - $toolbarPopups = $toolbar.find( 'a[aria-haspopup="true"]' ), - $sortables = $('.meta-box-sortables'), - stickyMenuActive = false, - wpResponsiveActive = false; - - window.stickyMenu = { - enable: function() { - if ( ! stickyMenuActive ) { - $document.on( 'wp-window-resized.sticky-menu', $.proxy( this.update, this ) ); - $collapseMenu.on( 'click.sticky-menu', $.proxy( this.update, this ) ); - this.update(); - stickyMenuActive = true; - } - }, - - disable: function() { - if ( stickyMenuActive ) { - $window.off( 'resize.sticky-menu' ); - $collapseMenu.off( 'click.sticky-menu' ); - $body.removeClass( 'sticky-menu' ); - stickyMenuActive = false; - } - }, - - update: function() { - // Make the admin menu sticky if the viewport is taller than it - if ( $window.height() > $adminMenuWrap.height() + 32 ) { - if ( ! $body.hasClass( 'sticky-menu' ) ) { - $body.addClass( 'sticky-menu' ); - } - } else { - if ( $body.hasClass( 'sticky-menu' ) ) { - $body.removeClass( 'sticky-menu' ); - } - } - } - }; - - window.wpResponsive = { - init: function() { - var self = this; - - // Modify functionality based on custom activate/deactivate event - $document.on( 'wp-responsive-activate.wp-responsive', function() { - self.activate(); - }).on( 'wp-responsive-deactivate.wp-responsive', function() { - self.deactivate(); - }); - - $( '#wp-admin-bar-menu-toggle a' ).attr( 'aria-expanded', 'false' ); - - // Toggle sidebar when toggle is clicked - $( '#wp-admin-bar-menu-toggle' ).on( 'click.wp-responsive', function( event ) { - event.preventDefault(); - $wpwrap.toggleClass( 'wp-responsive-open' ); - if ( $wpwrap.hasClass( 'wp-responsive-open' ) ) { - $(this).find('a').attr( 'aria-expanded', 'true' ); - $( '#adminmenu a:first' ).focus(); - } else { - $(this).find('a').attr( 'aria-expanded', 'false' ); - } - } ); - - // Add menu events - $adminmenu.on( 'click.wp-responsive', 'li.wp-has-submenu > a', function( event ) { - if ( ! $adminmenu.data('wp-responsive') ) { - return; - } - - $( this ).parent( 'li' ).toggleClass( 'selected' ); - event.preventDefault(); - }); - - self.trigger(); - $document.on( 'wp-window-resized.wp-responsive', $.proxy( this.trigger, this ) ); - - // This needs to run later as UI Sortable may be initialized later on $(document).ready() - $window.on( 'load.wp-responsive', function() { - var width = navigator.userAgent.indexOf('AppleWebKit/') > -1 ? $window.width() : window.innerWidth; - - if ( width <= 782 ) { - self.disableSortables(); - } - }); - }, - - activate: function() { - window.stickyMenu.disable(); - - if ( ! $body.hasClass( 'auto-fold' ) ) { - $body.addClass( 'auto-fold' ); - } - - $adminmenu.data( 'wp-responsive', 1 ); - this.disableSortables(); - }, - - deactivate: function() { - window.stickyMenu.enable(); - $adminmenu.removeData('wp-responsive'); - this.enableSortables(); - }, - - trigger: function() { - var width; - - if ( window.innerWidth ) { - // window.innerWidth is affected by zooming on phones - width = Math.max( window.innerWidth, document.documentElement.clientWidth ); - } else { - // Exclude IE < 9, it doesn't support @media CSS rules - return; - } - - if ( width <= 782 ) { - if ( ! wpResponsiveActive ) { - $document.trigger( 'wp-responsive-activate' ); - wpResponsiveActive = true; - } - } else { - if ( wpResponsiveActive ) { - $document.trigger( 'wp-responsive-deactivate' ); - wpResponsiveActive = false; - } - } - - if ( width <= 480 ) { - this.enableOverlay(); - } else { - this.disableOverlay(); - } - }, - - enableOverlay: function() { - if ( $overlay.length === 0 ) { - $overlay = $( '
    ' ) - .insertAfter( '#wpcontent' ) - .hide() - .on( 'click.wp-responsive', function() { - $toolbar.find( '.menupop.hover' ).removeClass( 'hover' ); - $( this ).hide(); - }); - } - - $toolbarPopups.on( 'click.wp-responsive', function() { - $overlay.show(); - }); - }, - - disableOverlay: function() { - $toolbarPopups.off( 'click.wp-responsive' ); - $overlay.hide(); - }, - - disableSortables: function() { - if ( $sortables.length ) { - try { - $sortables.sortable('disable'); - } catch(e) {} - } - }, - - enableSortables: function() { - if ( $sortables.length ) { - try { - $sortables.sortable('enable'); - } catch(e) {} - } - } - }; - - window.stickyMenu.enable(); - window.wpResponsive.init(); -}); - -// Make Windows 8 devices play along nicely. -(function(){ - if ( '-ms-user-select' in document.documentElement.style && navigator.userAgent.match(/IEMobile\/10\.0/) ) { - var msViewportStyle = document.createElement( 'style' ); - msViewportStyle.appendChild( - document.createTextNode( '@-ms-viewport{width:auto!important}' ) - ); - document.getElementsByTagName( 'head' )[0].appendChild( msViewportStyle ); - } -})(); - -}( jQuery, window )); diff --git a/sources/wordpress/wp-admin/js/common.min.js b/sources/wordpress/wp-admin/js/common.min.js deleted file mode 100644 index edde0c5..0000000 --- a/sources/wordpress/wp-admin/js/common.min.js +++ /dev/null @@ -1 +0,0 @@ -var showNotice,adminMenu,columns,validateForm,screenMeta;!function(a,b){adminMenu={init:function(){},fold:function(){},restoreMenuState:function(){},toggle:function(){},favorites:function(){}},columns={init:function(){var b=this;a(".hide-column-tog","#adv-settings").click(function(){var c=a(this),d=c.val();c.prop("checked")?b.checked(d):b.unchecked(d),columns.saveManageColumnsState()})},saveManageColumnsState:function(){var b=this.hidden();a.post(ajaxurl,{action:"hidden-columns",hidden:b,screenoptionnonce:a("#screenoptionnonce").val(),page:pagenow})},checked:function(b){a(".column-"+b).show(),this.colSpanChange(1)},unchecked:function(b){a(".column-"+b).hide(),this.colSpanChange(-1)},hidden:function(){return a(".manage-column").filter(":hidden").map(function(){return this.id}).get().join(",")},useCheckboxesForHidden:function(){this.hidden=function(){return a(".hide-column-tog").not(":checked").map(function(){var a=this.id;return a.substring(a,a.length-5)}).get().join(",")}},colSpanChange:function(b){var c,d=a("table").find(".colspanchange");d.length&&(c=parseInt(d.attr("colspan"),10)+b,d.attr("colspan",c.toString()))}},a(document).ready(function(){columns.init()}),validateForm=function(b){return!a(b).find(".form-required").filter(function(){return""===a("input:visible",this).val()}).addClass("form-invalid").find("input:visible").change(function(){a(this).closest(".form-invalid").removeClass("form-invalid")}).size()},showNotice={warn:function(){var a=commonL10n.warnDelete||"";return confirm(a)?!0:!1},note:function(a){alert(a)}},screenMeta={element:null,toggles:null,page:null,init:function(){this.element=a("#screen-meta"),this.toggles=a(".screen-meta-toggle a"),this.page=a("#wpcontent"),this.toggles.click(this.toggleEvent)},toggleEvent:function(b){var c=a(this.href.replace(/.+#/,"#"));b.preventDefault(),c.length&&(c.is(":visible")?screenMeta.close(c,a(this)):screenMeta.open(c,a(this)))},open:function(b,c){a(".screen-meta-toggle").not(c.parent()).css("visibility","hidden"),b.parent().show(),b.slideDown("fast",function(){b.focus(),c.addClass("screen-meta-active").attr("aria-expanded",!0)}),a(document).trigger("screen:options:open")},close:function(b,c){b.slideUp("fast",function(){c.removeClass("screen-meta-active").attr("aria-expanded",!1),a(".screen-meta-toggle").css("visibility",""),b.parent().hide()}),a(document).trigger("screen:options:close")}},a(".contextual-help-tabs").delegate("a","click",function(b){var c,d=a(this);return b.preventDefault(),d.is(".active a")?!1:(a(".contextual-help-tabs .active").removeClass("active"),d.parent("li").addClass("active"),c=a(d.attr("href")),a(".help-tab-content").not(c).removeClass("active").hide(),void c.addClass("active").show())}),a(document).ready(function(){var c,d,e,f,g,h,i,j,k=!1,l=a("#adminmenu"),m=a("input.current-page"),n=m.val();l.on("click.wp-submenu-head",".wp-submenu-head",function(b){a(b.target).parent().siblings("a").get(0).click()}),a("#collapse-menu").on("click.collapse-menu",function(){var c,d,e=a(document.body);a("#adminmenu div.wp-submenu").css("margin-top",""),c=b.innerWidth?Math.max(b.innerWidth,document.documentElement.clientWidth):961,c&&960>c?e.hasClass("auto-fold")?(e.removeClass("auto-fold").removeClass("folded"),setUserSetting("unfold",1),setUserSetting("mfold","o"),d="open"):(e.addClass("auto-fold"),setUserSetting("unfold",0),d="folded"):e.hasClass("folded")?(e.removeClass("folded"),setUserSetting("mfold","o"),d="open"):(e.addClass("folded"),setUserSetting("mfold","f"),d="folded"),a(document).trigger("wp-collapse-menu",{state:d})}),("ontouchstart"in b||/IEMobile\/[1-9]/.test(navigator.userAgent))&&(h=/Mobile\/.+Safari/.test(navigator.userAgent)?"touchstart":"click",a(document.body).on(h+".wp-mobile-hover",function(b){l.data("wp-responsive")||a(b.target).closest("#adminmenu").length||l.find("li.wp-has-submenu.opensub").removeClass("opensub")}),l.find("a.wp-has-submenu").on(h+".wp-mobile-hover",function(c){var d,e,f,g,h,i,j,k=a(this),m=k.parent(),n=m.find(".wp-submenu");l.data("wp-responsive")||m.hasClass("opensub")||m.hasClass("wp-menu-open")&&!(m.width()<40)||(c.preventDefault(),h=m.offset().top,i=a(b).scrollTop(),j=h-i-30,d=h+n.height()+1,e=a("#wpwrap").height(),f=60+d-e,g=a(b).height()+i-50,d-f>g&&(f=d-g),f>j&&(f=j),f>1?n.css("margin-top","-"+f+"px"):n.css("margin-top",""),l.find("li.opensub").removeClass("opensub"),m.addClass("opensub"))})),l.find("li.wp-has-submenu").hoverIntent({over:function(){var c,d,e,f,g,h,i,j=a(this).find(".wp-submenu"),k=parseInt(j.css("top"),10);isNaN(k)||k>-5||l.data("wp-responsive")||(g=a(this).offset().top,h=a(b).scrollTop(),i=g-h-30,c=g+j.height()+1,d=a("#wpwrap").height(),e=60+c-d,f=a(b).height()+h-15,c-e>f&&(e=c-f),e>i&&(e=i),e>1?j.css("margin-top","-"+e+"px"):j.css("margin-top",""),l.find("li.menu-top").removeClass("opensub"),a(this).addClass("opensub"))},out:function(){l.data("wp-responsive")||a(this).removeClass("opensub").find(".wp-submenu").css("margin-top","")},timeout:200,sensitivity:7,interval:90}),l.on("focus.adminmenu",".wp-submenu a",function(b){l.data("wp-responsive")||a(b.target).closest("li.menu-top").addClass("opensub")}).on("blur.adminmenu",".wp-submenu a",function(b){l.data("wp-responsive")||a(b.target).closest("li.menu-top").removeClass("opensub")}),a("div.wrap h2:first").nextAll("div.updated, div.error").addClass("below-h2"),a("div.updated, div.error").not(".below-h2, .inline").insertAfter(a("div.wrap h2:first")),screenMeta.init(),a("tbody").children().children(".check-column").find(":checkbox").click(function(b){if("undefined"==b.shiftKey)return!0;if(b.shiftKey){if(!k)return!0;c=a(k).closest("form").find(":checkbox"),d=c.index(k),e=c.index(this),f=a(this).prop("checked"),d>0&&e>0&&d!=e&&(g=e>d?c.slice(d,e):c.slice(e,d),g.prop("checked",function(){return a(this).closest("tr").is(":visible")?f:!1}))}k=this;var h=a(this).closest("tbody").find(":checkbox").filter(":visible").not(":checked");return a(this).closest("table").children("thead, tfoot").find(":checkbox").prop("checked",function(){return 0===h.length}),!0}),a("thead, tfoot").find(".check-column :checkbox").on("click.wp-toggle-checkboxes",function(b){var c=a(this),d=c.closest("table"),e=c.prop("checked"),f=b.shiftKey||c.data("wp-toggle");d.children("tbody").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return a(this).is(":hidden")?!1:f?!a(this).prop("checked"):e?!0:!1}),d.children("thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return f?!1:e?!0:!1})}),a("td.post-title, td.title, td.comment, .bookmarks td.column-name, td.blogname, td.username, .dashboard-comment-wrap").focusin(function(){clearTimeout(i),j=a(this).find(".row-actions"),j.addClass("visible")}).focusout(function(){i=setTimeout(function(){j.removeClass("visible")},30)}),a("#default-password-nag-no").click(function(){return setUserSetting("default_password_nag","hide"),a("div.default-password-nag").hide(),!1}),a("#newcontent").bind("keydown.wpevent_InsertTab",function(b){var c,d,e,f,g,h=b.target;if(27==b.keyCode)return void a(h).data("tab-out",!0);if(!(9!=b.keyCode||b.ctrlKey||b.altKey||b.shiftKey)){if(a(h).data("tab-out"))return void a(h).data("tab-out",!1);c=h.selectionStart,d=h.selectionEnd,e=h.value;try{this.lastKey=9}catch(i){}document.selection?(h.focus(),g=document.selection.createRange(),g.text=" "):c>=0&&(f=this.scrollTop,h.value=e.substring(0,c).concat(" ",e.substring(d)),h.selectionStart=h.selectionEnd=c+1,this.scrollTop=f),b.stopPropagation&&b.stopPropagation(),b.preventDefault&&b.preventDefault()}}),a("#newcontent").bind("blur.wpevent_InsertTab",function(){this.lastKey&&9==this.lastKey&&this.focus()}),m.length&&m.closest("form").submit(function(){-1==a('select[name="action"]').val()&&-1==a('select[name="action2"]').val()&&m.val()==n&&m.val("1")}),a('.search-box input[type="search"], .search-box input[type="submit"]').mousedown(function(){a('select[name^="action"]').val("-1")}),a("#contextual-help-link, #show-settings-link").on("focus.scroll-into-view",function(a){a.target.scrollIntoView&&a.target.scrollIntoView(!1)}),function(){function b(){c.prop("disabled",""===d.map(function(){return a(this).val()}).get().join(""))}var c,d,e=a("form.wp-upload-form");e.length&&(c=e.find('input[type="submit"]'),d=e.find('input[type="file"]'),b(),d.on("change",b))}()}),function(){function c(){a(document).trigger("wp-window-resized")}function d(){b.clearTimeout(e),e=b.setTimeout(c,200)}var e;a(b).on("resize.wp-fire-once",d)}(),a(document).ready(function(){var c=a(document),d=a(b),e=a(document.body),f=a("#adminmenuwrap"),g=a("#collapse-menu"),h=a("#wpwrap"),i=a("#adminmenu"),j=a("#wp-responsive-overlay"),k=a("#wp-toolbar"),l=k.find('a[aria-haspopup="true"]'),m=a(".meta-box-sortables"),n=!1,o=!1;b.stickyMenu={enable:function(){n||(c.on("wp-window-resized.sticky-menu",a.proxy(this.update,this)),g.on("click.sticky-menu",a.proxy(this.update,this)),this.update(),n=!0)},disable:function(){n&&(d.off("resize.sticky-menu"),g.off("click.sticky-menu"),e.removeClass("sticky-menu"),n=!1)},update:function(){d.height()>f.height()+32?e.hasClass("sticky-menu")||e.addClass("sticky-menu"):e.hasClass("sticky-menu")&&e.removeClass("sticky-menu")}},b.wpResponsive={init:function(){var e=this;c.on("wp-responsive-activate.wp-responsive",function(){e.activate()}).on("wp-responsive-deactivate.wp-responsive",function(){e.deactivate()}),a("#wp-admin-bar-menu-toggle a").attr("aria-expanded","false"),a("#wp-admin-bar-menu-toggle").on("click.wp-responsive",function(b){b.preventDefault(),h.toggleClass("wp-responsive-open"),h.hasClass("wp-responsive-open")?(a(this).find("a").attr("aria-expanded","true"),a("#adminmenu a:first").focus()):a(this).find("a").attr("aria-expanded","false")}),i.on("click.wp-responsive","li.wp-has-submenu > a",function(b){i.data("wp-responsive")&&(a(this).parent("li").toggleClass("selected"),b.preventDefault())}),e.trigger(),c.on("wp-window-resized.wp-responsive",a.proxy(this.trigger,this)),d.on("load.wp-responsive",function(){var a=navigator.userAgent.indexOf("AppleWebKit/")>-1?d.width():b.innerWidth;782>=a&&e.disableSortables()})},activate:function(){b.stickyMenu.disable(),e.hasClass("auto-fold")||e.addClass("auto-fold"),i.data("wp-responsive",1),this.disableSortables()},deactivate:function(){b.stickyMenu.enable(),i.removeData("wp-responsive"),this.enableSortables()},trigger:function(){var a;b.innerWidth&&(a=Math.max(b.innerWidth,document.documentElement.clientWidth),782>=a?o||(c.trigger("wp-responsive-activate"),o=!0):o&&(c.trigger("wp-responsive-deactivate"),o=!1),480>=a?this.enableOverlay():this.disableOverlay())},enableOverlay:function(){0===j.length&&(j=a('
    ').insertAfter("#wpcontent").hide().on("click.wp-responsive",function(){k.find(".menupop.hover").removeClass("hover"),a(this).hide()})),l.on("click.wp-responsive",function(){j.show()})},disableOverlay:function(){l.off("click.wp-responsive"),j.hide()},disableSortables:function(){if(m.length)try{m.sortable("disable")}catch(a){}},enableSortables:function(){if(m.length)try{m.sortable("enable")}catch(a){}}},b.stickyMenu.enable(),b.wpResponsive.init()}),function(){if("-ms-user-select"in document.documentElement.style&&navigator.userAgent.match(/IEMobile\/10\.0/)){var a=document.createElement("style");a.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}")),document.getElementsByTagName("head")[0].appendChild(a)}}()}(jQuery,window); \ No newline at end of file diff --git a/sources/wordpress/wp-admin/js/custom-background.js b/sources/wordpress/wp-admin/js/custom-background.js deleted file mode 100644 index 81fd591..0000000 --- a/sources/wordpress/wp-admin/js/custom-background.js +++ /dev/null @@ -1,75 +0,0 @@ -/* global ajaxurl */ -(function($) { - $(document).ready(function() { - var frame, - bgImage = $( '#custom-background-image' ); - - $('#background-color').wpColorPicker({ - change: function( event, ui ) { - bgImage.css('background-color', ui.color.toString()); - }, - clear: function() { - bgImage.css('background-color', ''); - } - }); - - $('input[name="background-position-x"]').change(function() { - bgImage.css('background-position', $(this).val() + ' top'); - }); - - $('input[name="background-repeat"]').change(function() { - bgImage.css('background-repeat', $(this).val()); - }); - - $('#choose-from-library-link').click( function( event ) { - var $el = $(this); - - event.preventDefault(); - - // If the media frame already exists, reopen it. - if ( frame ) { - frame.open(); - return; - } - - // Create the media frame. - frame = wp.media.frames.customBackground = wp.media({ - // Set the title of the modal. - title: $el.data('choose'), - - // Tell the modal to show only images. - library: { - type: 'image' - }, - - // Customize the submit button. - button: { - // Set the text of the button. - text: $el.data('update'), - // Tell the button not to close the modal, since we're - // going to refresh the page when the image is selected. - close: false - } - }); - - // When an image is selected, run a callback. - frame.on( 'select', function() { - // Grab the selected attachment. - var attachment = frame.state().get('selection').first(); - - // Run an AJAX request to set the background image. - $.post( ajaxurl, { - action: 'set-background-image', - attachment_id: attachment.id, - size: 'full' - }).done( function() { - // When the request completes, reload the window. - window.location.reload(); - }); - }); - - // Finally, open the modal. - frame.open(); - }); - }); -})(jQuery); diff --git a/sources/wordpress/wp-admin/js/custom-background.min.js b/sources/wordpress/wp-admin/js/custom-background.min.js deleted file mode 100644 index f53e02c..0000000 --- a/sources/wordpress/wp-admin/js/custom-background.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(a){a(document).ready(function(){var b,c=a("#custom-background-image");a("#background-color").wpColorPicker({change:function(a,b){c.css("background-color",b.color.toString())},clear:function(){c.css("background-color","")}}),a('input[name="background-position-x"]').change(function(){c.css("background-position",a(this).val()+" top")}),a('input[name="background-repeat"]').change(function(){c.css("background-repeat",a(this).val())}),a("#choose-from-library-link").click(function(c){var d=a(this);return c.preventDefault(),b?void b.open():(b=wp.media.frames.customBackground=wp.media({title:d.data("choose"),library:{type:"image"},button:{text:d.data("update"),close:!1}}),b.on("select",function(){var c=b.state().get("selection").first();a.post(ajaxurl,{action:"set-background-image",attachment_id:c.id,size:"full"}).done(function(){window.location.reload()})}),void b.open())})})}(jQuery); \ No newline at end of file diff --git a/sources/wordpress/wp-admin/js/custom-header.js b/sources/wordpress/wp-admin/js/custom-header.js deleted file mode 100644 index ce224e4..0000000 --- a/sources/wordpress/wp-admin/js/custom-header.js +++ /dev/null @@ -1,61 +0,0 @@ -/* global isRtl */ -(function($) { - var frame; - - $( function() { - // Fetch available headers and apply jQuery.masonry - // once the images have loaded. - var $headers = $('.available-headers'); - - $headers.imagesLoaded( function() { - $headers.masonry({ - itemSelector: '.default-header', - isRTL: !! ( 'undefined' != typeof isRtl && isRtl ) - }); - }); - - // Build the choose from library frame. - $('#choose-from-library-link').click( function( event ) { - var $el = $(this); - event.preventDefault(); - - // If the media frame already exists, reopen it. - if ( frame ) { - frame.open(); - return; - } - - // Create the media frame. - frame = wp.media.frames.customHeader = wp.media({ - // Set the title of the modal. - title: $el.data('choose'), - - // Tell the modal to show only images. - library: { - type: 'image' - }, - - // Customize the submit button. - button: { - // Set the text of the button. - text: $el.data('update'), - // Tell the button not to close the modal, since we're - // going to refresh the page when the image is selected. - close: false - } - }); - - // When an image is selected, run a callback. - frame.on( 'select', function() { - // Grab the selected attachment. - var attachment = frame.state().get('selection').first(), - link = $el.data('updateLink'); - - // Tell the browser to navigate to the crop step. - window.location = link + '&file=' + attachment.id; - }); - - frame.open(); - }); - }); -}(jQuery)); diff --git a/sources/wordpress/wp-admin/js/customize-controls.js b/sources/wordpress/wp-admin/js/customize-controls.js deleted file mode 100644 index 85b171d..0000000 --- a/sources/wordpress/wp-admin/js/customize-controls.js +++ /dev/null @@ -1,1305 +0,0 @@ -/* globals _wpCustomizeHeader, _wpMediaViewsL10n */ -(function( exports, $ ){ - var api = wp.customize; - - /** - * @constructor - * @augments wp.customize.Value - * @augments wp.customize.Class - * - * @param options - * - previewer - The Previewer instance to sync with. - * - transport - The transport to use for previewing. Supports 'refresh' and 'postMessage'. - */ - api.Setting = api.Value.extend({ - initialize: function( id, value, options ) { - api.Value.prototype.initialize.call( this, value, options ); - - this.id = id; - this.transport = this.transport || 'refresh'; - - this.bind( this.preview ); - }, - preview: function() { - switch ( this.transport ) { - case 'refresh': - return this.previewer.refresh(); - case 'postMessage': - return this.previewer.send( 'setting', [ this.id, this() ] ); - } - } - }); - - /** - * @constructor - * @augments wp.customize.Class - */ - api.Control = api.Class.extend({ - initialize: function( id, options ) { - var control = this, - nodes, radios, settings; - - this.params = {}; - $.extend( this, options || {} ); - - this.id = id; - this.selector = '#customize-control-' + id.replace( /\]/g, '' ).replace( /\[/g, '-' ); - this.container = $( this.selector ); - this.active = new api.Value( this.params.active ); - - settings = $.map( this.params.settings, function( value ) { - return value; - }); - - api.apply( api, settings.concat( function() { - var key; - - control.settings = {}; - for ( key in control.params.settings ) { - control.settings[ key ] = api( control.params.settings[ key ] ); - } - - control.setting = control.settings['default'] || null; - control.ready(); - }) ); - - control.elements = []; - - nodes = this.container.find('[data-customize-setting-link]'); - radios = {}; - - nodes.each( function() { - var node = $(this), - name; - - if ( node.is(':radio') ) { - name = node.prop('name'); - if ( radios[ name ] ) - return; - - radios[ name ] = true; - node = nodes.filter( '[name="' + name + '"]' ); - } - - api( node.data('customizeSettingLink'), function( setting ) { - var element = new api.Element( node ); - control.elements.push( element ); - element.sync( setting ); - element.set( setting() ); - }); - }); - - control.active.bind( function ( active ) { - control.toggle( active ); - } ); - control.toggle( control.active() ); - }, - - /** - * @abstract - */ - ready: function() {}, - - /** - * Callback for change to the control's active state. - * - * Override function for custom behavior for the control being active/inactive. - * - * @param {Boolean} active - */ - toggle: function ( active ) { - if ( active ) { - this.container.slideDown(); - } else { - this.container.slideUp(); - } - }, - - dropdownInit: function() { - var control = this, - statuses = this.container.find('.dropdown-status'), - params = this.params, - toggleFreeze = false, - update = function( to ) { - if ( typeof to === 'string' && params.statuses && params.statuses[ to ] ) - statuses.html( params.statuses[ to ] ).show(); - else - statuses.hide(); - }; - - // Support the .dropdown class to open/close complex elements - this.container.on( 'click keydown', '.dropdown', function( event ) { - if ( event.type === 'keydown' && 13 !== event.which ) // enter - return; - - event.preventDefault(); - - if (!toggleFreeze) - control.container.toggleClass('open'); - - if ( control.container.hasClass('open') ) - control.container.parent().parent().find('li.library-selected').focus(); - - // Don't want to fire focus and click at same time - toggleFreeze = true; - setTimeout(function () { - toggleFreeze = false; - }, 400); - }); - - this.setting.bind( update ); - update( this.setting() ); - } - }); - - /** - * @constructor - * @augments wp.customize.Control - * @augments wp.customize.Class - */ - api.ColorControl = api.Control.extend({ - ready: function() { - var control = this, - picker = this.container.find('.color-picker-hex'); - - picker.val( control.setting() ).wpColorPicker({ - change: function() { - control.setting.set( picker.wpColorPicker('color') ); - }, - clear: function() { - control.setting.set( false ); - } - }); - } - }); - - /** - * @constructor - * @augments wp.customize.Control - * @augments wp.customize.Class - */ - api.UploadControl = api.Control.extend({ - ready: function() { - var control = this; - - this.params.removed = this.params.removed || ''; - - this.success = $.proxy( this.success, this ); - - this.uploader = $.extend({ - container: this.container, - browser: this.container.find('.upload'), - dropzone: this.container.find('.upload-dropzone'), - success: this.success, - plupload: {}, - params: {} - }, this.uploader || {} ); - - if ( control.params.extensions ) { - control.uploader.plupload.filters = [{ - title: api.l10n.allowedFiles, - extensions: control.params.extensions - }]; - } - - if ( control.params.context ) - control.uploader.params['post_data[context]'] = this.params.context; - - if ( api.settings.theme.stylesheet ) - control.uploader.params['post_data[theme]'] = api.settings.theme.stylesheet; - - this.uploader = new wp.Uploader( this.uploader ); - - this.remover = this.container.find('.remove'); - this.remover.on( 'click keydown', function( event ) { - if ( event.type === 'keydown' && 13 !== event.which ) // enter - return; - - control.setting.set( control.params.removed ); - event.preventDefault(); - }); - - this.removerVisibility = $.proxy( this.removerVisibility, this ); - this.setting.bind( this.removerVisibility ); - this.removerVisibility( this.setting.get() ); - }, - success: function( attachment ) { - this.setting.set( attachment.get('url') ); - }, - removerVisibility: function( to ) { - this.remover.toggle( to != this.params.removed ); - } - }); - - /** - * @constructor - * @augments wp.customize.UploadControl - * @augments wp.customize.Control - * @augments wp.customize.Class - */ - api.ImageControl = api.UploadControl.extend({ - ready: function() { - var control = this, - panels; - - this.uploader = { - init: function() { - var fallback, button; - - if ( this.supports.dragdrop ) - return; - - // Maintain references while wrapping the fallback button. - fallback = control.container.find( '.upload-fallback' ); - button = fallback.children().detach(); - - this.browser.detach().empty().append( button ); - fallback.append( this.browser ).show(); - } - }; - - api.UploadControl.prototype.ready.call( this ); - - this.thumbnail = this.container.find('.preview-thumbnail img'); - this.thumbnailSrc = $.proxy( this.thumbnailSrc, this ); - this.setting.bind( this.thumbnailSrc ); - - this.library = this.container.find('.library'); - - // Generate tab objects - this.tabs = {}; - panels = this.library.find('.library-content'); - - this.library.children('ul').children('li').each( function() { - var link = $(this), - id = link.data('customizeTab'), - panel = panels.filter('[data-customize-tab="' + id + '"]'); - - control.tabs[ id ] = { - both: link.add( panel ), - link: link, - panel: panel - }; - }); - - // Bind tab switch events - this.library.children('ul').on( 'click keydown', 'li', function( event ) { - if ( event.type === 'keydown' && 13 !== event.which ) // enter - return; - - var id = $(this).data('customizeTab'), - tab = control.tabs[ id ]; - - event.preventDefault(); - - if ( tab.link.hasClass('library-selected') ) - return; - - control.selected.both.removeClass('library-selected'); - control.selected = tab; - control.selected.both.addClass('library-selected'); - }); - - // Bind events to switch image urls. - this.library.on( 'click keydown', 'a', function( event ) { - if ( event.type === 'keydown' && 13 !== event.which ) // enter - return; - - var value = $(this).data('customizeImageValue'); - - if ( value ) { - control.setting.set( value ); - event.preventDefault(); - } - }); - - if ( this.tabs.uploaded ) { - this.tabs.uploaded.target = this.library.find('.uploaded-target'); - if ( ! this.tabs.uploaded.panel.find('.thumbnail').length ) - this.tabs.uploaded.both.addClass('hidden'); - } - - // Select a tab - panels.each( function() { - var tab = control.tabs[ $(this).data('customizeTab') ]; - - // Select the first visible tab. - if ( ! tab.link.hasClass('hidden') ) { - control.selected = tab; - tab.both.addClass('library-selected'); - return false; - } - }); - - this.dropdownInit(); - }, - success: function( attachment ) { - api.UploadControl.prototype.success.call( this, attachment ); - - // Add the uploaded image to the uploaded tab. - if ( this.tabs.uploaded && this.tabs.uploaded.target.length ) { - this.tabs.uploaded.both.removeClass('hidden'); - - // @todo: Do NOT store this on the attachment model. That is bad. - attachment.element = $( '
    ' ) - .data( 'customizeImageValue', attachment.get('url') ) - .append( '' ) - .appendTo( this.tabs.uploaded.target ); - } - }, - thumbnailSrc: function( to ) { - if ( /^(https?:)?\/\//.test( to ) ) - this.thumbnail.prop( 'src', to ).show(); - else - this.thumbnail.hide(); - } - }); - - /** - * @constructor - * @augments wp.customize.Control - * @augments wp.customize.Class - */ - api.HeaderControl = api.Control.extend({ - ready: function() { - this.btnRemove = $('#customize-control-header_image .actions .remove'); - this.btnNew = $('#customize-control-header_image .actions .new'); - - _.bindAll(this, 'openMedia', 'removeImage'); - - this.btnNew.on( 'click', this.openMedia ); - this.btnRemove.on( 'click', this.removeImage ); - - api.HeaderTool.currentHeader = new api.HeaderTool.ImageModel(); - - new api.HeaderTool.CurrentView({ - model: api.HeaderTool.currentHeader, - el: '.current .container' - }); - - new api.HeaderTool.ChoiceListView({ - collection: api.HeaderTool.UploadsList = new api.HeaderTool.ChoiceList(), - el: '.choices .uploaded .list' - }); - - new api.HeaderTool.ChoiceListView({ - collection: api.HeaderTool.DefaultsList = new api.HeaderTool.DefaultsList(), - el: '.choices .default .list' - }); - - api.HeaderTool.combinedList = api.HeaderTool.CombinedList = new api.HeaderTool.CombinedList([ - api.HeaderTool.UploadsList, - api.HeaderTool.DefaultsList - ]); - }, - - /** - * Returns a set of options, computed from the attached image data and - * theme-specific data, to be fed to the imgAreaSelect plugin in - * wp.media.view.Cropper. - * - * @param {wp.media.model.Attachment} attachment - * @param {wp.media.controller.Cropper} controller - * @returns {Object} Options - */ - calculateImageSelectOptions: function(attachment, controller) { - var xInit = parseInt(_wpCustomizeHeader.data.width, 10), - yInit = parseInt(_wpCustomizeHeader.data.height, 10), - flexWidth = !! parseInt(_wpCustomizeHeader.data['flex-width'], 10), - flexHeight = !! parseInt(_wpCustomizeHeader.data['flex-height'], 10), - ratio, xImg, yImg, realHeight, realWidth, - imgSelectOptions; - - realWidth = attachment.get('width'); - realHeight = attachment.get('height'); - - this.headerImage = new api.HeaderTool.ImageModel(); - this.headerImage.set({ - themeWidth: xInit, - themeHeight: yInit, - themeFlexWidth: flexWidth, - themeFlexHeight: flexHeight, - imageWidth: realWidth, - imageHeight: realHeight - }); - - controller.set( 'canSkipCrop', ! this.headerImage.shouldBeCropped() ); - - ratio = xInit / yInit; - xImg = realWidth; - yImg = realHeight; - - if ( xImg / yImg > ratio ) { - yInit = yImg; - xInit = yInit * ratio; - } else { - xInit = xImg; - yInit = xInit / ratio; - } - - imgSelectOptions = { - handles: true, - keys: true, - instance: true, - persistent: true, - imageWidth: realWidth, - imageHeight: realHeight, - x1: 0, - y1: 0, - x2: xInit, - y2: yInit - }; - - if (flexHeight === false && flexWidth === false) { - imgSelectOptions.aspectRatio = xInit + ':' + yInit; - } - if (flexHeight === false ) { - imgSelectOptions.maxHeight = yInit; - } - if (flexWidth === false ) { - imgSelectOptions.maxWidth = xInit; - } - - return imgSelectOptions; - }, - - /** - * Sets up and opens the Media Manager in order to select an image. - * Depending on both the size of the image and the properties of the - * current theme, a cropping step after selection may be required or - * skippable. - * - * @param {event} event - */ - openMedia: function(event) { - var l10n = _wpMediaViewsL10n; - - event.preventDefault(); - - this.frame = wp.media({ - button: { - text: l10n.selectAndCrop, - close: false - }, - states: [ - new wp.media.controller.Library({ - title: l10n.chooseImage, - library: wp.media.query({ type: 'image' }), - multiple: false, - priority: 20, - suggestedWidth: _wpCustomizeHeader.data.width, - suggestedHeight: _wpCustomizeHeader.data.height - }), - new wp.media.controller.Cropper({ - imgSelectOptions: this.calculateImageSelectOptions - }) - ] - }); - - this.frame.on('select', this.onSelect, this); - this.frame.on('cropped', this.onCropped, this); - this.frame.on('skippedcrop', this.onSkippedCrop, this); - - this.frame.open(); - }, - - onSelect: function() { - this.frame.setState('cropper'); - }, - onCropped: function(croppedImage) { - var url = croppedImage.post_content, - attachmentId = croppedImage.attachment_id, - w = croppedImage.width, - h = croppedImage.height; - this.setImageFromURL(url, attachmentId, w, h); - }, - onSkippedCrop: function(selection) { - var url = selection.get('url'), - w = selection.get('width'), - h = selection.get('height'); - this.setImageFromURL(url, selection.id, w, h); - }, - - /** - * Creates a new wp.customize.HeaderTool.ImageModel from provided - * header image data and inserts it into the user-uploaded headers - * collection. - * - * @param {String} url - * @param {Number} attachmentId - * @param {Number} width - * @param {Number} height - */ - setImageFromURL: function(url, attachmentId, width, height) { - var choice, data = {}; - - data.url = url; - data.thumbnail_url = url; - data.timestamp = _.now(); - - if (attachmentId) { - data.attachment_id = attachmentId; - } - - if (width) { - data.width = width; - } - - if (height) { - data.height = height; - } - - choice = new api.HeaderTool.ImageModel({ - header: data, - choice: url.split('/').pop() - }); - api.HeaderTool.UploadsList.add(choice); - api.HeaderTool.currentHeader.set(choice.toJSON()); - choice.save(); - choice.importImage(); - }, - - /** - * Triggers the necessary events to deselect an image which was set as - * the currently selected one. - */ - removeImage: function() { - api.HeaderTool.currentHeader.trigger('hide'); - api.HeaderTool.CombinedList.trigger('control:removeImage'); - } - - }); - - // Change objects contained within the main customize object to Settings. - api.defaultConstructor = api.Setting; - - // Create the collection of Control objects. - api.control = new api.Values({ defaultConstructor: api.Control }); - - /** - * @constructor - * @augments wp.customize.Messenger - * @augments wp.customize.Class - * @mixes wp.customize.Events - */ - api.PreviewFrame = api.Messenger.extend({ - sensitivity: 2000, - - initialize: function( params, options ) { - var deferred = $.Deferred(); - - // This is the promise object. - deferred.promise( this ); - - this.container = params.container; - this.signature = params.signature; - - $.extend( params, { channel: api.PreviewFrame.uuid() }); - - api.Messenger.prototype.initialize.call( this, params, options ); - - this.add( 'previewUrl', params.previewUrl ); - - this.query = $.extend( params.query || {}, { customize_messenger_channel: this.channel() }); - - this.run( deferred ); - }, - - run: function( deferred ) { - var self = this, - loaded = false, - ready = false; - - if ( this._ready ) - this.unbind( 'ready', this._ready ); - - this._ready = function() { - ready = true; - - if ( loaded ) - deferred.resolveWith( self ); - }; - - this.bind( 'ready', this._ready ); - - this.bind( 'ready', function ( data ) { - if ( ! data || ! data.activeControls ) { - return; - } - - $.each( data.activeControls, function ( id, active ) { - var control = api.control( id ); - if ( control ) { - control.active( active ); - } - } ); - } ); - - this.request = $.ajax( this.previewUrl(), { - type: 'POST', - data: this.query, - xhrFields: { - withCredentials: true - } - } ); - - this.request.fail( function() { - deferred.rejectWith( self, [ 'request failure' ] ); - }); - - this.request.done( function( response ) { - var location = self.request.getResponseHeader('Location'), - signature = self.signature, - index; - - // Check if the location response header differs from the current URL. - // If so, the request was redirected; try loading the requested page. - if ( location && location != self.previewUrl() ) { - deferred.rejectWith( self, [ 'redirect', location ] ); - return; - } - - // Check if the user is not logged in. - if ( '0' === response ) { - self.login( deferred ); - return; - } - - // Check for cheaters. - if ( '-1' === response ) { - deferred.rejectWith( self, [ 'cheatin' ] ); - return; - } - - // Check for a signature in the request. - index = response.lastIndexOf( signature ); - if ( -1 === index || index < response.lastIndexOf('') ) { - deferred.rejectWith( self, [ 'unsigned' ] ); - return; - } - - // Strip the signature from the request. - response = response.slice( 0, index ) + response.slice( index + signature.length ); - - // Create the iframe and inject the html content. - self.iframe = $('"; - echo '
    '; - require_once(ABSPATH . 'wp-admin/admin-footer.php'); - exit; - case 'delete-selected': - if ( ! current_user_can( 'delete_themes' ) ) - wp_die( __('You do not have sufficient permissions to delete themes for this site.') ); - check_admin_referer( 'bulk-themes' ); - - $themes = isset( $_REQUEST['checked'] ) ? (array) $_REQUEST['checked'] : array(); - - unset( $themes[ get_option( 'stylesheet' ) ], $themes[ get_option( 'template' ) ] ); - - if ( empty( $themes ) ) { - wp_safe_redirect( add_query_arg( 'error', 'none', $referer ) ); - exit; - } - - $files_to_delete = $theme_info = array(); - foreach ( $themes as $key => $theme ) { - $theme_info[ $theme ] = wp_get_theme( $theme ); - $files_to_delete = array_merge( $files_to_delete, list_files( $theme_info[ $theme ]->get_stylesheet_directory() ) ); - } - - if ( empty( $themes ) ) { - wp_safe_redirect( add_query_arg( 'error', 'main', $referer ) ); - exit; - } - - include(ABSPATH . 'wp-admin/update.php'); - - $parent_file = 'themes.php'; - - if ( ! isset( $_REQUEST['verify-delete'] ) ) { - wp_enqueue_script( 'jquery' ); - require_once( ABSPATH . 'wp-admin/admin-header.php' ); - ?> -
    - ' . _n( 'Delete Theme', 'Delete Themes', $themes_to_delete ) . ''; - ?> -

    -

    -
      - ', sprintf( __('%1$s by %2$s' ), $theme->display('Name'), $theme->display('Author') ), ''; /* translators: 1: theme name, 2: theme author */ ?> -
    -

    -
    - - - '; - ?> - - -
    -
    - -
    - -

    - -
    - 1, - 'action' => 'delete-selected', - 'checked' => $_REQUEST['checked'], - '_wpnonce' => $_REQUEST['_wpnonce'] - ), network_admin_url( 'themes.php' ) ) ) ); - } - - $paged = ( $_REQUEST['paged'] ) ? $_REQUEST['paged'] : 1; - wp_redirect( add_query_arg( array( - 'deleted' => count( $themes ), - 'paged' => $paged, - 's' => $s - ), network_admin_url( 'themes.php' ) ) ); - exit; - } -} - -$wp_list_table->prepare_items(); - -add_thickbox(); - -add_screen_option( 'per_page', array('label' => _x( 'Themes', 'themes per page (screen options)' )) ); - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

    ' . __('This screen enables and disables the inclusion of themes available to choose in the Appearance menu for each site. It does not activate or deactivate which theme a site is currently using.') . '

    ' . - '

    ' . __('If the network admin disables a theme that is in use, it can still remain selected on that site. If another theme is chosen, the disabled theme will not appear in the site’s Appearance > Themes screen.') . '

    ' . - '

    ' . __('Themes can be enabled on a site by site basis by the network admin on the Edit Site screen (which has a Themes tab); get there via the Edit action link on the All Sites screen. Only network admins are able to install or edit themes.') . '

    ' -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Network Themes') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -$title = __('Themes'); -$parent_file = 'themes.php'; - -wp_enqueue_script( 'theme-preview' ); - -require_once(ABSPATH . 'wp-admin/admin-header.php'); - -?> - -
    -

    ' . __('Search results for “%s”') . '', esc_html( $s ) ); ?> -

    - -

    ' . sprintf( _n( 'Theme enabled.', '%s themes enabled.', $_GET['enabled'] ), number_format_i18n( $_GET['enabled'] ) ) . '

    '; -} elseif ( isset( $_GET['disabled'] ) ) { - $_GET['disabled'] = absint( $_GET['disabled'] ); - echo '

    ' . sprintf( _n( 'Theme disabled.', '%s themes disabled.', $_GET['disabled'] ), number_format_i18n( $_GET['disabled'] ) ) . '

    '; -} elseif ( isset( $_GET['deleted'] ) ) { - $_GET['deleted'] = absint( $_GET['deleted'] ); - echo '

    ' . sprintf( _nx( 'Theme deleted.', '%s themes deleted.', $_GET['deleted'], 'network' ), number_format_i18n( $_GET['deleted'] ) ) . '

    '; -} elseif ( isset( $_GET['error'] ) && 'none' == $_GET['error'] ) { - echo '

    ' . __( 'No theme selected.' ) . '

    '; -} elseif ( isset( $_GET['error'] ) && 'main' == $_GET['error'] ) { - echo '

    ' . __( 'You cannot delete a theme while it is active on the main site.' ) . '

    '; -} - -?> - -
    -search_box( __( 'Search Installed Themes' ), 'theme' ); ?> -
    - -views(); - -if ( 'broken' == $status ) - echo '

    ' . __('The following themes are installed but incomplete. Themes must have a stylesheet and a template.') . '

    '; -?> - -
    - - - -display(); ?> -
    - -
    - -add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

    ' . __('Only use this screen once you have updated to a new version of WordPress through Updates/Available Updates (via the Network Administration navigation menu or the Toolbar). Clicking the Upgrade Network button will step through each site in the network, five at a time, and make sure any database updates are applied.') . '

    ' . - '

    ' . __('If a version update to core has not happened, clicking this button won’t affect anything.') . '

    ' . - '

    ' . __('If this process fails for any reason, users logging in to their sites will force the same update.') . '

    ' -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Upgrade Network') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); - -if ( ! current_user_can( 'manage_network' ) ) - wp_die( __( 'You do not have permission to access this page.' ) ); - -echo '
    '; -echo '

    ' . __( 'Upgrade Network' ) . '

    '; - -$action = isset($_GET['action']) ? $_GET['action'] : 'show'; - -switch ( $action ) { - case "upgrade": - $n = ( isset($_GET['n']) ) ? intval($_GET['n']) : 0; - - if ( $n < 5 ) { - global $wp_db_version; - update_site_option( 'wpmu_upgrade_site', $wp_db_version ); - } - - $blogs = $wpdb->get_results( "SELECT * FROM {$wpdb->blogs} WHERE site_id = '{$wpdb->siteid}' AND spam = '0' AND deleted = '0' AND archived = '0' ORDER BY registered DESC LIMIT {$n}, 5", ARRAY_A ); - if ( empty( $blogs ) ) { - echo '

    ' . __( 'All done!' ) . '

    '; - break; - } - echo "
      "; - foreach ( (array) $blogs as $details ) { - switch_to_blog( $details['blog_id'] ); - $siteurl = site_url(); - $upgrade_url = admin_url( 'upgrade.php?step=upgrade_db' ); - restore_current_blog(); - echo "
    • $siteurl
    • "; - $response = wp_remote_get( $upgrade_url, array( 'timeout' => 120, 'httpversion' => '1.1' ) ); - if ( is_wp_error( $response ) ) - wp_die( sprintf( __( 'Warning! Problem updating %1$s. Your server may not be able to connect to sites running on it. Error message: %2$s' ), $siteurl, $response->get_error_message() ) ); - /** - * Fires after the Multisite DB upgrade for each site is complete. - * - * @since MU - * - * @param array|WP_Error $response The upgrade response array or WP_Error on failure. - */ - do_action( 'after_mu_upgrade', $response ); - /** - * Fires after each site has been upgraded. - * - * @since MU - * - * @param int $blog_id The id of the blog. - */ - do_action( 'wpmu_upgrade_site', $details[ 'blog_id' ] ); - } - echo "
    "; - ?>

    - -

    -

    - - -

    -

    - -
    - - diff --git a/sources/wordpress/wp-admin/network/user-edit.php b/sources/wordpress/wp-admin/network/user-edit.php deleted file mode 100644 index effaaf8..0000000 --- a/sources/wordpress/wp-admin/network/user-edit.php +++ /dev/null @@ -1,16 +0,0 @@ -add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

    ' . __('Add User will set up a new user account on the network and send that person an email with username and password.') . '

    ' . - '

    ' . __('Users who are signed up to the network without a site are added as subscribers to the main or primary dashboard site, giving them profile pages to manage their accounts. These users will only see Dashboard and My Sites in the main navigation until a site is created for them.') . '

    ' -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Network Users') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -if ( isset($_REQUEST['action']) && 'add-user' == $_REQUEST['action'] ) { - check_admin_referer( 'add-user', '_wpnonce_add-user' ); - if ( ! current_user_can( 'manage_network_users' ) ) - wp_die( __( 'You do not have permission to access this page.' ) ); - - if ( ! is_array( $_POST['user'] ) ) - wp_die( __( 'Cannot create an empty user.' ) ); - - $user = $_POST['user']; - - $user_details = wpmu_validate_user_signup( $user['username'], $user['email'] ); - if ( is_wp_error( $user_details[ 'errors' ] ) && ! empty( $user_details[ 'errors' ]->errors ) ) { - $add_user_errors = $user_details[ 'errors' ]; - } else { - $password = wp_generate_password( 12, false); - $user_id = wpmu_create_user( esc_html( strtolower( $user['username'] ) ), $password, esc_html( $user['email'] ) ); - - if ( ! $user_id ) { - $add_user_errors = new WP_Error( 'add_user_fail', __( 'Cannot add user.' ) ); - } else { - wp_new_user_notification( $user_id, $password ); - wp_redirect( add_query_arg( array('update' => 'added'), 'user-new.php' ) ); - exit; - } - } -} - -if ( isset($_GET['update']) ) { - $messages = array(); - if ( 'added' == $_GET['update'] ) - $messages[] = __('User added.'); -} - -$title = __('Add New User'); -$parent_file = 'users.php'; - -require( ABSPATH . 'wp-admin/admin-header.php' ); ?> - -
    -

    -

    ' . $msg . '

    '; -} - -if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { ?> -
    - get_error_messages() as $message ) - echo "

    $message

    "; - ?> -
    - -
    - - - - - - - - - - - - -
    - - -
    -
    - -

    -

    -
    - - ID . '">' . $current_user->user_login . ''; - - foreach ( ( $allusers = (array) $_POST['allusers'] ) as $key => $val ) { - if ( $val != '' && $val != '0' ) { - $delete_user = get_userdata( $val ); - - if ( ! current_user_can( 'delete_user', $delete_user->ID ) ) - wp_die( sprintf( __( 'Warning! User %s cannot be deleted.' ), $delete_user->user_login ) ); - - if ( in_array( $delete_user->user_login, $site_admins ) ) - wp_die( sprintf( __( 'Warning! User cannot be deleted. The user %s is a network administrator.' ), $delete_user->user_login ) ); - - echo "\n"; - $blogs = get_blogs_of_user( $val, true ); - - if ( !empty( $blogs ) ) { - ?> -

    ' . $delete_user->user_login . '' ); ?>

    - $details ) { - $blog_users = get_users( array( 'blog_id' => $details->userblog_id, 'fields' => array( 'ID', 'user_login' ) ) ); - if ( is_array( $blog_users ) && !empty( $blog_users ) ) { - $user_site = "{$details->blogname}"; - $user_dropdown = "\n"; - ?> -
      -
    • -
    • -
    • -
    - "; - } - } - } - - /** This action is documented in wp-admin/users.php */ - do_action( 'delete_user_form', $current_user ); - - submit_button( __('Confirm Deletion'), 'delete' ); - ?> - - '; - confirm_delete_users( $_POST['allusers'] ); - echo '
    '; - require_once( ABSPATH . 'wp-admin/admin-footer.php' ); - } else { - wp_redirect( network_admin_url( 'users.php' ) ); - } - exit(); - - case 'allusers': - if ( !current_user_can( 'manage_network_users' ) ) - wp_die( __( 'You do not have permission to access this page.' ) ); - - if ( ( isset( $_POST['action']) || isset($_POST['action2'] ) ) && isset( $_POST['allusers'] ) ) { - check_admin_referer( 'bulk-users-network' ); - - $doaction = $_POST['action'] != -1 ? $_POST['action'] : $_POST['action2']; - $userfunction = ''; - - foreach ( (array) $_POST['allusers'] as $key => $val ) { - if ( !empty( $val ) ) { - switch ( $doaction ) { - case 'delete': - if ( ! current_user_can( 'delete_users' ) ) - wp_die( __( 'You do not have permission to access this page.' ) ); - $title = __( 'Users' ); - $parent_file = 'users.php'; - require_once( ABSPATH . 'wp-admin/admin-header.php' ); - echo '
    '; - confirm_delete_users( $_POST['allusers'] ); - echo '
    '; - require_once( ABSPATH . 'wp-admin/admin-footer.php' ); - exit(); - - case 'spam': - $user = get_userdata( $val ); - if ( is_super_admin( $user->ID ) ) - wp_die( sprintf( __( 'Warning! User cannot be modified. The user %s is a network administrator.' ), esc_html( $user->user_login ) ) ); - - $userfunction = 'all_spam'; - $blogs = get_blogs_of_user( $val, true ); - foreach ( (array) $blogs as $key => $details ) { - if ( $details->userblog_id != $current_site->blog_id ) // main blog not a spam ! - update_blog_status( $details->userblog_id, 'spam', '1' ); - } - update_user_status( $val, 'spam', '1' ); - break; - - case 'notspam': - $userfunction = 'all_notspam'; - $blogs = get_blogs_of_user( $val, true ); - foreach ( (array) $blogs as $key => $details ) - update_blog_status( $details->userblog_id, 'spam', '0' ); - - update_user_status( $val, 'spam', '0' ); - break; - } - } - } - - wp_safe_redirect( add_query_arg( array( 'updated' => 'true', 'action' => $userfunction ), wp_get_referer() ) ); - } else { - $location = network_admin_url( 'users.php' ); - - if ( ! empty( $_REQUEST['paged'] ) ) - $location = add_query_arg( 'paged', (int) $_REQUEST['paged'], $location ); - wp_redirect( $location ); - } - exit(); - - case 'dodelete': - check_admin_referer( 'ms-users-delete' ); - if ( ! ( current_user_can( 'manage_network_users' ) && current_user_can( 'delete_users' ) ) ) - wp_die( __( 'You do not have permission to access this page.' ) ); - - if ( ! empty( $_POST['blog'] ) && is_array( $_POST['blog'] ) ) { - foreach ( $_POST['blog'] as $id => $users ) { - foreach ( $users as $blogid => $user_id ) { - if ( ! current_user_can( 'delete_user', $id ) ) - continue; - - if ( ! empty( $_POST['delete'] ) && 'reassign' == $_POST['delete'][$blogid][$id] ) - remove_user_from_blog( $id, $blogid, $user_id ); - else - remove_user_from_blog( $id, $blogid ); - } - } - } - $i = 0; - if ( is_array( $_POST['user'] ) && ! empty( $_POST['user'] ) ) - foreach( $_POST['user'] as $id ) { - if ( ! current_user_can( 'delete_user', $id ) ) - continue; - wpmu_delete_user( $id ); - $i++; - } - - if ( $i == 1 ) - $deletefunction = 'delete'; - else - $deletefunction = 'all_delete'; - - wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => $deletefunction ), network_admin_url( 'users.php' ) ) ); - exit(); - } -} - -$wp_list_table = _get_list_table('WP_MS_Users_List_Table'); -$pagenum = $wp_list_table->get_pagenum(); -$wp_list_table->prepare_items(); -$total_pages = $wp_list_table->get_pagination_arg( 'total_pages' ); - -if ( $pagenum > $total_pages && $total_pages > 0 ) { - wp_redirect( add_query_arg( 'paged', $total_pages ) ); - exit; -} -$title = __( 'Users' ); -$parent_file = 'users.php'; - -add_screen_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) ); - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

    ' . __('This table shows all users across the network and the sites to which they are assigned.') . '

    ' . - '

    ' . __('Hover over any user on the list to make the edit links appear. The Edit link on the left will take you to their Edit User profile page; the Edit link on the right by any site name goes to an Edit Site screen for that site.') . '

    ' . - '

    ' . __('You can also go to the user’s profile page by clicking on the individual username.') . '

    ' . - '

    ' . __('You can sort the table by clicking on any of the bold headings and switch between list and excerpt views by using the icons in the upper right.') . '

    ' . - '

    ' . __('The bulk action will permanently delete selected users, or mark/unmark those selected as spam. Spam users will have posts removed and will be unable to sign up again with the same email addresses.') . '

    ' . - '

    ' . __('You can make an existing user an additional super admin by going to the Edit User profile page and checking the box to grant that privilege.') . '

    ' -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Network Users') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); - -if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty( $_REQUEST['action'] ) ) { - ?> -

    - -

    - -
    -

    - ' . __( 'Search results for “%s”' ) . '', esc_html( $usersearch ) ); - ?> -

    - - views(); ?> - -
    - search_box( __( 'Search Users' ), 'all-user' ); ?> -
    - -
    - display(); ?> -
    -
    - - diff --git a/sources/wordpress/wp-admin/options-discussion.php b/sources/wordpress/wp-admin/options-discussion.php deleted file mode 100644 index da0801a..0000000 --- a/sources/wordpress/wp-admin/options-discussion.php +++ /dev/null @@ -1,273 +0,0 @@ -add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => '

    ' . __('This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won’t all fit here! :) Use the documentation links to get information on what each discussion setting does.') . '

    ' . - '

    ' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

    ', -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Discussion Settings') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -include( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
    -

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    - -
    -

    -
    - -
    - -
    - -
    - -
    - -
    - -
    - -
    -

    - -

    -

    - -

    -
    -

    -

    - -

    -
    - -

    - -

    - - - - - - - - - - - - - - - - - -
    - -
    - - __('G — Suitable for all audiences'), - /* translators: Content suitability rating: http://bit.ly/89QxZA */ - 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), - /* translators: Content suitability rating: http://bit.ly/89QxZA */ - 'R' => __('R — Intended for adult audiences above 17'), - /* translators: Content suitability rating: http://bit.ly/89QxZA */ - 'X' => __('X — Even more mature than above') -); -foreach ($ratings as $key => $rating) : - $selected = (get_option('avatar_rating') == $key) ? 'checked="checked"' : ''; - echo "\n\t
    "; -endforeach; -?> - -
    - -
    - - __('Mystery Man'), - 'blank' => __('Blank'), - 'gravatar_default' => __('Gravatar Logo'), - 'identicon' => __('Identicon (Generated)'), - 'wavatar' => __('Wavatar (Generated)'), - 'monsterid' => __('MonsterID (Generated)'), - 'retro' => __('Retro (Generated)') -); -/** - * Filter the default avatars. - * - * Avatars are stored in key/value pairs, where the key is option value, - * and the name is the displayed avatar name. - * - * @since 2.6.0 - * - * @param array $avatar_defaults Array of default avatars. - */ -$avatar_defaults = apply_filters( 'avatar_defaults', $avatar_defaults ); -$default = get_option('avatar_default'); -if ( empty($default) ) - $default = 'mystery'; -$size = 32; -$avatar_list = ''; -foreach ( $avatar_defaults as $default_key => $default_name ) { - $selected = ($default == $default_key) ? 'checked="checked" ' : ''; - $avatar_list .= "\n\t'; - $avatar_list .= '
    '; -} -/** - * Filter the HTML output of the default avatar list. - * - * @since 2.6.0 - * - * @param string $avatar_list HTML markup of the avatar list. - */ -echo apply_filters( 'default_avatar_select', $avatar_list ); -?> - -
    - - - - -
    -
    - - diff --git a/sources/wordpress/wp-admin/options-general.php b/sources/wordpress/wp-admin/options-general.php deleted file mode 100644 index 7011885..0000000 --- a/sources/wordpress/wp-admin/options-general.php +++ /dev/null @@ -1,355 +0,0 @@ - - -' . __('The fields on this screen determine some of the basics of your site setup.') . '

    ' . - '

    ' . __('Most themes display the site title at the top of every page, in the title bar of the browser, and as the identifying name for syndicated feeds. The tagline is also displayed by many themes.') . '

    '; - -if ( ! is_multisite() ) { - $options_help .= '

    ' . __('The WordPress URL and the Site URL can be the same (example.com) or different; for example, having the WordPress core files (example.com/wordpress) in a subdirectory instead of the root directory.') . '

    ' . - '

    ' . __('If you want site visitors to be able to register themselves, as opposed to by the site administrator, check the membership box. A default user role can be set for all new users, whether self-registered or registered by the site admin.') . '

    '; -} - -$options_help .= '

    ' . __('UTC means Coordinated Universal Time.') . '

    ' . - '

    ' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '

    '; - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => $options_help, -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on General Settings') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -include( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
    -

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -

    class="regular-text code" />
    class="regular-text code" /> -

    to be different from the directory you installed WordPress.'); ?>

    -

    -
    - -
    -

    The new address will not become active until confirmed.') ?>

    - -
    -

    %1$s. Cancel'), esc_html( $new_admin_email ), esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?>

    -
    - -
    - - - - UTC time is %s'), date_i18n($timezone_format, false, 'gmt')); ?> - - %1$s'), date_i18n($timezone_format)); ?> - -

    - -
    - - -
    - $right_now ) { - $found = true; - break; - } - } - - if ( $found ) { - echo ' '; - $message = $tr['isdst'] ? - __('Daylight saving time begins on: %s.') : - __('Standard time begins on: %s.'); - // Add the difference between the current offset and the new offset to ts to get the correct transition time from date_i18n(). - printf( $message, date_i18n(get_option('date_format') . ' ' . get_option('time_format'), $tr['ts'] + ($tz_offset - $tr['offset']) ) ); - } else { - _e('This timezone does not observe daylight saving time.'); - } - } - // Set back to UTC. - date_default_timezone_set('UTC'); - ?> -
    - -
    -
    - ' . date_i18n( $format ) . "
    \n"; - } - - echo ' ' . date_i18n( get_option('date_format') ) . " \n"; -?> -
    -
    -
    - ' . date_i18n( $format ) . "
    \n"; - } - - echo ' ' . date_i18n( get_option('time_format') ) . " \n"; - - echo "\t

    " . __('Documentation on date and time formatting.') . "

    \n"; -?> -
    -
    - 'WPLANG', - 'id' => 'WPLANG', - 'selected' => $locale, - 'languages' => $languages, - ) ); - - // Add note about deprecated WPLANG constant. - if ( defined( 'WPLANG' ) && ( '' !== WPLANG ) && $locale !== WPLANG ) { - if ( is_super_admin() ) { - ?> -

    - WPLANG', 'wp-config.php' ); ?> -

    - -
    - - - - -
    - -
    - - diff --git a/sources/wordpress/wp-admin/options-head.php b/sources/wordpress/wp-admin/options-head.php deleted file mode 100644 index 1c706c8..0000000 --- a/sources/wordpress/wp-admin/options-head.php +++ /dev/null @@ -1,18 +0,0 @@ -' . __('You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size.') . '

    '; - -if ( ! is_multisite() && ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content/uploads' && get_option('upload_path') ) ) ) { - $media_options_help .= '

    ' . __('Uploading Files allows you to choose the folder and path for storing your uploaded files.') . '

    '; -} - -$media_options_help .= '

    ' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

    '; - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => $media_options_help, -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Media Settings') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -include( ABSPATH . 'wp-admin/admin-header.php' ); - -?> - -
    -

    - -
    - - -

    -

    - - - - - - - - - - - - - - - - - - -
    - - - -
    -/> - -
    - - - - -
    - - - - -
    - - -

    - - -
    - - - -

    - - - - - - - - - - - - - - - - - -
    -

    wp-content/uploads'); ?>

    -
    -

    -
    - -
    - - - - - - -
    - -
    - - diff --git a/sources/wordpress/wp-admin/options-permalink.php b/sources/wordpress/wp-admin/options-permalink.php deleted file mode 100644 index 28395e9..0000000 --- a/sources/wordpress/wp-admin/options-permalink.php +++ /dev/null @@ -1,294 +0,0 @@ -add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => '

    ' . __('Permalinks are the permanent URLs to your individual pages and blog posts, as well as your category and tag archives. A permalink is the web address used to link to your content. The URL to each post should be permanent, and never change — hence the name permalink.') . '

    ' . - '

    ' . __('This screen allows you to choose your default permalink structure. You can choose from common settings or create custom URL structures.') . '

    ' . - '

    ' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

    ', -) ); - -get_current_screen()->add_help_tab( array( - 'id' => 'common-settings', - 'title' => __('Common Settings'), - 'content' => '

    ' . __('Many people choose to use “pretty permalinks,” URLs that contain useful information such as the post title rather than generic post ID numbers. You can choose from any of the permalink formats under Common Settings, or can craft your own if you select Custom Structure.') . '

    ' . - '

    ' . __('If you pick an option other than Default, your general URL path with structure tags, terms surrounded by %, will also appear in the custom structure field and your path can be further modified there.') . '

    ' . - '

    ' . __('When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes %category% or %tag%.') . '

    ' . - '

    ' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

    ', -) ); - -get_current_screen()->add_help_tab( array( - 'id' => 'custom-structures', - 'title' => __('Custom Structures'), - 'content' => '

    ' . __('The Optional fields let you customize the “category” and “tag” base names that will appear in archive URLs. For example, the page listing all posts in the “Uncategorized” category could be /topics/uncategorized instead of /category/uncategorized.') . '

    ' . - '

    ' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

    ', -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Permalinks Settings') . '

    ' . - '

    ' . __('Documentation on Using Permalinks') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -/** - * Display JavaScript on the page. - * - * @since 3.5.0 - */ -function options_permalink_add_js() { - ?> - -set_permalink_structure( $permalink_structure ); - } - - if ( isset( $_POST['category_base'] ) ) { - $category_base = $_POST['category_base']; - if ( ! empty( $category_base ) ) - $category_base = $blog_prefix . preg_replace('#/+#', '/', '/' . str_replace( '#', '', $category_base ) ); - $wp_rewrite->set_category_base( $category_base ); - } - - if ( isset( $_POST['tag_base'] ) ) { - $tag_base = $_POST['tag_base']; - if ( ! empty( $tag_base ) ) - $tag_base = $blog_prefix . preg_replace('#/+#', '/', '/' . str_replace( '#', '', $tag_base ) ); - $wp_rewrite->set_tag_base( $tag_base ); - } - - wp_redirect( admin_url( 'options-permalink.php?settings-updated=true' ) ); - exit; -} - -$permalink_structure = get_option( 'permalink_structure' ); -$category_base = get_option( 'category_base' ); -$tag_base = get_option( 'tag_base' ); -$update_required = false; - -if ( $iis7_permalinks ) { - if ( ( ! file_exists($home_path . 'web.config') && win_is_writable($home_path) ) || win_is_writable($home_path . 'web.config') ) - $writable = true; - else - $writable = false; -} elseif ( $is_nginx ) { - $writable = false; -} else { - if ( ( ! file_exists( $home_path . '.htaccess' ) && is_writable( $home_path ) ) || is_writable( $home_path . '.htaccess' ) ) { - $writable = true; - } else { - $writable = false; - $existing_rules = array_filter( extract_from_markers( $home_path . '.htaccess', 'WordPress' ) ); - $new_rules = array_filter( explode( "\n", $wp_rewrite->mod_rewrite_rules() ) ); - $update_required = ( $new_rules !== $existing_rules ); - } -} - -if ( $wp_rewrite->using_index_permalinks() ) - $usingpi = true; -else - $usingpi = false; - -flush_rewrite_rules(); - -require( ABSPATH . 'wp-admin/admin-header.php' ); - -if ( ! empty( $_GET['settings-updated'] ) ) : ?> -

    -

    - - -
    -

    - -
    - - -

    URLs which have question marks and lots of numbers in them; however, WordPress offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links. A number of tags are available, and here are some examples to get you started.'); ?>

    - - '', - 1 => $prefix . '/%year%/%monthnum%/%day%/%postname%/', - 2 => $prefix . '/%year%/%monthnum%/%postname%/', - 3 => $prefix . '/' . _x( 'archives', 'sample permalink base' ) . '/%post_id%', - 4 => $prefix . '/%postname%/', -); -?> -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    - -

    URLs here. For example, using topics as your category base would make your category links like http://example.org/%stopics/uncategorized/. If you leave these blank the defaults will be used.'), $suffix ); ?>

    - - - - - - - - - - - -
    - - - - -
    - - -

    web.config file were writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Click in the field and press CTRL + a to select all. Then insert this rule inside of the /<configuration>/<system.webServer>/<rewrite>/<rules> element in web.config file.') ?>

    -
    - -

    -
    -

    web.config file writable for us to generate rewrite rules automatically, do not forget to revert the permissions after rule has been saved.') ?>

    - -

    writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Create a new file, called web.config in the root directory of your site. Click in the field and press CTRL + a to select all. Then insert this code into the web.config file.') ?>

    -
    - -

    -
    -

    web.config file automatically, do not forget to revert the permissions after the file has been created.') ?>

    - - - -

    .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.') ?>

    -
    - -

    -
    - - - - -
    - - diff --git a/sources/wordpress/wp-admin/options-reading.php b/sources/wordpress/wp-admin/options-reading.php deleted file mode 100644 index 7bcb20b..0000000 --- a/sources/wordpress/wp-admin/options-reading.php +++ /dev/null @@ -1,184 +0,0 @@ - - -'; - echo '

    ' . __( 'The character encoding of your site (UTF-8 is recommended)' ) . '

    '; -} - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => '

    ' . __('This screen contains the settings that affect the display of your content.') . '

    ' . - '

    ' . sprintf(__('You can choose what’s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two Pages. One will become the front page, and the other will be where your posts are displayed.'), 'post-new.php?post_type=page') . '

    ' . - '

    ' . __('You can also control the display of your content in RSS feeds, including the maximum numbers of posts to display and whether to show full text or a summary.') . '

    ' . - '

    ' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

    ', -) ); - -get_current_screen()->add_help_tab( array( - 'id' => 'site-visibility', - 'title' => has_action( 'blog_privacy_selector' ) ? __( 'Site Visibility' ) : __( 'Search Engine Visibility' ), - 'content' => '

    ' . __( 'You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the checkbox next to “Discourage search engines from indexing this site” and click the Save Changes button at the bottom of the screen. Note that your privacy is not complete; your site is still visible on the web.' ) . '

    ' . - '

    ' . __( 'When this setting is in effect, a reminder is shown in the At a Glance box of the Dashboard that says, “Search Engines Discouraged,” to remind you that your site is not being crawled.' ) . '

    ', -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Reading Settings') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -include( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
    -

    - -
    - 'blog_charset' ) ); -?> - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    -

    -

    -

    -

    -
      -
    • -
    • -
    - -

    Warning: these pages should not be the same!' ); ?>

    - -
    - -
    -


    -

    -
    - - /> -
    - /> - -

    - - - -

    - -
    - - - - -
    -
    - diff --git a/sources/wordpress/wp-admin/options-writing.php b/sources/wordpress/wp-admin/options-writing.php deleted file mode 100644 index 4c761d2..0000000 --- a/sources/wordpress/wp-admin/options-writing.php +++ /dev/null @@ -1,194 +0,0 @@ -add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => '

    ' . __('You can submit content in several different ways; this screen holds the settings for all of them. The top section controls the editor within the dashboard, while the rest control external publishing methods. For more information on any of these methods, use the documentation links.') . '

    ' . - '

    ' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

    ', -) ); - -get_current_screen()->add_help_tab( array( - 'id' => 'options-press', - 'title' => __('Press This'), - 'content' => '

    ' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you’ll be on your way to easier content creation. Clicking on it while on another website opens a popup window with all these options.') . '

    ', -) ); - -/** This filter is documented in wp-admin/options.php */ -if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { - get_current_screen()->add_help_tab( array( - 'id' => 'options-postemail', - 'title' => __( 'Post Via Email' ), - 'content' => '

    ' . __( 'Post via email settings allow you to send your WordPress install an email with the content of your post. You must set up a secret e-mail account with POP3 access to use this, and any mail received at this address will be posted, so it’s a good idea to keep this address very secret.' ) . '

    ', - ) ); -} - -/** This filter is documented in wp-admin/options-writing.php */ -if ( apply_filters( 'enable_update_services_configuration', true ) ) { - get_current_screen()->add_help_tab( array( - 'id' => 'options-services', - 'title' => __( 'Update Services' ), - 'content' => '

    ' . __( 'If desired, WordPress will automatically alert various services of your new posts.' ) . '

    ', - ) ); -} - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Writing Settings') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -include( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
    -

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - -
    - 0, 'name' => 'default_category', 'orderby' => 'name', 'selected' => get_option('default_category'), 'hierarchical' => true)); -?> -
    - -
    - 0, 'name' => 'default_link_category', 'orderby' => 'name', 'selected' => get_option('default_link_category'), 'hierarchical' => true, 'taxonomy' => 'link_category')); -?> -
    - -

    -

    -

    -

    -

    - - - -

    -

    %s, %s, %s.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?>

    - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - 0, 'name' => 'default_email_category', 'orderby' => 'name', 'selected' => get_option('default_email_category'), 'hierarchical' => true)); -?> -
    - - - -

    - - - -

    - - - - - -

    Update Services because of your site’s visibility settings.'), 'options-reading.php'); ?>

    - - - - - - - -
    -
    - - diff --git a/sources/wordpress/wp-admin/options.php b/sources/wordpress/wp-admin/options.php deleted file mode 100644 index 29a9344..0000000 --- a/sources/wordpress/wp-admin/options.php +++ /dev/null @@ -1,265 +0,0 @@ - array( 'blogname', 'blogdescription', 'gmt_offset', 'date_format', 'time_format', 'start_of_week', 'timezone_string', 'WPLANG' ), - 'discussion' => array( 'default_pingback_flag', 'default_ping_status', 'default_comment_status', 'comments_notify', 'moderation_notify', 'comment_moderation', 'require_name_email', 'comment_whitelist', 'comment_max_links', 'moderation_keys', 'blacklist_keys', 'show_avatars', 'avatar_rating', 'avatar_default', 'close_comments_for_old_posts', 'close_comments_days_old', 'thread_comments', 'thread_comments_depth', 'page_comments', 'comments_per_page', 'default_comments_page', 'comment_order', 'comment_registration' ), - 'media' => array( 'thumbnail_size_w', 'thumbnail_size_h', 'thumbnail_crop', 'medium_size_w', 'medium_size_h', 'large_size_w', 'large_size_h', 'image_default_size', 'image_default_align', 'image_default_link_type' ), - 'reading' => array( 'posts_per_page', 'posts_per_rss', 'rss_use_excerpt', 'show_on_front', 'page_on_front', 'page_for_posts', 'blog_public' ), - 'writing' => array( 'use_smilies', 'default_category', 'default_email_category', 'use_balanceTags', 'default_link_category', 'default_post_format' ) -); -$whitelist_options['misc'] = $whitelist_options['options'] = $whitelist_options['privacy'] = array(); - -$mail_options = array('mailserver_url', 'mailserver_port', 'mailserver_login', 'mailserver_pass'); - -if ( ! in_array( get_option( 'blog_charset' ), array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) ) ) - $whitelist_options['reading'][] = 'blog_charset'; - -if ( !is_multisite() ) { - if ( !defined( 'WP_SITEURL' ) ) - $whitelist_options['general'][] = 'siteurl'; - if ( !defined( 'WP_HOME' ) ) - $whitelist_options['general'][] = 'home'; - - $whitelist_options['general'][] = 'admin_email'; - $whitelist_options['general'][] = 'users_can_register'; - $whitelist_options['general'][] = 'default_role'; - - $whitelist_options['writing'] = array_merge($whitelist_options['writing'], $mail_options); - $whitelist_options['writing'][] = 'ping_sites'; - - $whitelist_options['media'][] = 'uploads_use_yearmonth_folders'; - - // If upload_url_path and upload_path are both default values, they're locked. - if ( get_option( 'upload_url_path' ) || ( get_option('upload_path') != 'wp-content/uploads' && get_option('upload_path') ) ) { - $whitelist_options['media'][] = 'upload_path'; - $whitelist_options['media'][] = 'upload_url_path'; - } -} else { - $whitelist_options['general'][] = 'new_admin_email'; - - /** - * Filter whether the post-by-email functionality is enabled. - * - * @since 3.0.0 - * - * @param bool $enabled Whether post-by-email configuration is enabled. Default true. - */ - if ( apply_filters( 'enable_post_by_email_configuration', true ) ) - $whitelist_options['writing'] = array_merge($whitelist_options['writing'], $mail_options); -} - -/** - * Filter the options white list. - * - * @since 2.7.0 - * - * @param array White list options. - */ -$whitelist_options = apply_filters( 'whitelist_options', $whitelist_options ); - -/* - * If $_GET['action'] == 'update' we are saving settings sent from a settings page - */ -if ( 'update' == $action ) { - if ( 'options' == $option_page && !isset( $_POST['option_page'] ) ) { // This is for back compat and will eventually be removed. - $unregistered = true; - check_admin_referer( 'update-options' ); - } else { - $unregistered = false; - check_admin_referer( $option_page . '-options' ); - } - - if ( !isset( $whitelist_options[ $option_page ] ) ) - wp_die( __( 'ERROR: options page not found.' ) ); - - if ( 'options' == $option_page ) { - if ( is_multisite() && ! is_super_admin() ) - wp_die( __( 'You do not have sufficient permissions to modify unregistered settings for this site.' ) ); - $options = explode( ',', wp_unslash( $_POST[ 'page_options' ] ) ); - } else { - $options = $whitelist_options[ $option_page ]; - } - - // Handle custom date/time formats. - if ( 'general' == $option_page ) { - if ( !empty($_POST['date_format']) && isset($_POST['date_format_custom']) && '\c\u\s\t\o\m' == wp_unslash( $_POST['date_format'] ) ) - $_POST['date_format'] = $_POST['date_format_custom']; - if ( !empty($_POST['time_format']) && isset($_POST['time_format_custom']) && '\c\u\s\t\o\m' == wp_unslash( $_POST['time_format'] ) ) - $_POST['time_format'] = $_POST['time_format_custom']; - // Map UTC+- timezones to gmt_offsets and set timezone_string to empty. - if ( !empty($_POST['timezone_string']) && preg_match('/^UTC[+-]/', $_POST['timezone_string']) ) { - $_POST['gmt_offset'] = $_POST['timezone_string']; - $_POST['gmt_offset'] = preg_replace('/UTC\+?/', '', $_POST['gmt_offset']); - $_POST['timezone_string'] = ''; - } - } - - if ( $options ) { - foreach ( $options as $option ) { - if ( $unregistered ) - _deprecated_argument( 'options.php', '2.7', sprintf( __( 'The %1$s setting is unregistered. Unregistered settings are deprecated. See http://codex.wordpress.org/Settings_API' ), $option, $option_page ) ); - - $option = trim( $option ); - $value = null; - if ( isset( $_POST[ $option ] ) ) { - $value = $_POST[ $option ]; - if ( ! is_array( $value ) ) - $value = trim( $value ); - $value = wp_unslash( $value ); - } - update_option( $option, $value ); - } - - // Switch translation in case WPLANG was changed. - $language = get_option( 'WPLANG' ); - if ( $language ) { - load_default_textdomain( $language ); - } else { - unload_textdomain( 'default' ); - } - } - - /** - * Handle settings errors and return to options page - */ - // If no settings errors were registered add a general 'updated' message. - if ( !count( get_settings_errors() ) ) - add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated'); - set_transient('settings_errors', get_settings_errors(), 30); - - /** - * Redirect back to the settings page that was submitted - */ - $goback = add_query_arg( 'settings-updated', 'true', wp_get_referer() ); - wp_redirect( $goback ); - exit; -} - -include( ABSPATH . 'wp-admin/admin-header.php' ); ?> - -
    -

    -
    - - - - -get_results( "SELECT * FROM $wpdb->options ORDER BY option_name" ); - -foreach ( (array) $options as $option ) : - $disabled = false; - if ( $option->option_name == '' ) - continue; - if ( is_serialized( $option->option_value ) ) { - if ( is_serialized_string( $option->option_value ) ) { - // This is a serialized string, so we should display it. - $value = maybe_unserialize( $option->option_value ); - $options_to_update[] = $option->option_name; - $class = 'all-options'; - } else { - $value = 'SERIALIZED DATA'; - $disabled = true; - $class = 'all-options disabled'; - } - } else { - $value = $option->option_value; - $options_to_update[] = $option->option_name; - $class = 'all-options'; - } - $name = esc_attr( $option->option_name ); - ?> - - - - - -
    - - - - /> -
    - - - - - -
    -
    - - -
    -

    -

    -
    - time() ) + (array) get_option( 'recently_activated' ) ); - - wp_redirect(add_query_arg('_wpnonce', wp_create_nonce('edit-plugin-test_' . $file), "plugin-editor.php?file=$file&liveupdate=1&scrollto=$scrollto&networkwide=" . $network_wide)); - exit; - } - wp_redirect( self_admin_url("plugin-editor.php?file=$file&a=te&scrollto=$scrollto") ); - } else { - wp_redirect( self_admin_url("plugin-editor.php?file=$file&scrollto=$scrollto") ); - } - exit; - -default: - - if ( isset($_GET['liveupdate']) ) { - check_admin_referer('edit-plugin-test_' . $file); - - $error = validate_plugin($file); - if ( is_wp_error($error) ) - wp_die( $error ); - - if ( ( ! empty( $_GET['networkwide'] ) && ! is_plugin_active_for_network($file) ) || ! is_plugin_active($file) ) - activate_plugin($file, "plugin-editor.php?file=$file&phperror=1", ! empty( $_GET['networkwide'] ) ); // we'll override this later if the plugin can be included without fatal error - - wp_redirect( self_admin_url("plugin-editor.php?file=$file&a=te&scrollto=$scrollto") ); - exit; - } - - // List of allowable extensions - $editable_extensions = array('php', 'txt', 'text', 'js', 'css', 'html', 'htm', 'xml', 'inc', 'include'); - - /** - * Filter file type extensions editable in the plugin editor. - * - * @since 2.8.0 - * - * @param array $editable_extensions An array of editable plugin file extensions. - */ - $editable_extensions = (array) apply_filters( 'editable_extensions', $editable_extensions ); - - if ( ! is_file($real_file) ) { - wp_die(sprintf('

    %s

    ', __('No such file exists! Double check the name and try again.'))); - } else { - // Get the extension of the file - if ( preg_match('/\.([^.]+)$/', $real_file, $matches) ) { - $ext = strtolower($matches[1]); - // If extension is not in the acceptable list, skip it - if ( !in_array( $ext, $editable_extensions) ) - wp_die(sprintf('

    %s

    ', __('Files of this type are not editable.'))); - } - } - - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => - '

    ' . __('You can use the editor to make changes to any of your plugins’ individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations.') . '

    ' . - '

    ' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don’t forget to save your changes (Update File) when you’re finished.') . '

    ' . - '

    ' . __('The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Look Up takes you to a web page about that particular function.') . '

    ' . - '

    ' . __('In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key.') . '

    ' . - '

    ' . __('If you want to make changes but don’t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit plugins, write your own from scratch, or just better understand their anatomy, check out the links below.') . '

    ' . - ( is_network_admin() ? '

    ' . __('Any edits to files from this screen will be reflected on all sites in the network.') . '

    ' : '' ) - ) ); - - get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Editing Plugins') . '

    ' . - '

    ' . __('Documentation on Writing Plugins') . '

    ' . - '

    ' . __('Support Forums') . '

    ' - ); - - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - update_recently_edited(WP_PLUGIN_DIR . '/' . $file); - - $content = file_get_contents( $real_file ); - - if ( '.php' == substr( $real_file, strrpos( $real_file, '.' ) ) ) { - $functions = wp_doc_link_parse( $content ); - - if ( !empty($functions) ) { - $docs_select = ''; - } - } - - $content = esc_textarea( $content ); - ?> - -

    - -

    fatal error.') ?>

    - - - -
    - -
    -

    - -
    -
    -%s (active)'), $file); - else - echo sprintf(__('Browsing %s (active)'), $file); - } else { - if ( is_writeable($real_file) ) - echo sprintf(__('Editing %s (inactive)'), $file); - else - echo sprintf(__('Browsing %s (inactive)'), $file); - } - ?> -
    -
    -
    - - - -
    -
    -
    -
    - -
    -

    - -
      - - > - -
    -
    -
    - -
    - - - - -
    - -
    - - - -

    Warning: Making changes to active plugins is not recommended. If your changes cause a fatal error, the plugin will be automatically deactivated.'); ?>

    - -

    - "; - submit_button( __( 'Update File and Attempt to Reactivate' ), 'primary', 'submit', false ); - } else { - submit_button( __( 'Update File' ), 'primary', 'submit', false ); - } - ?> -

    - -

    the Codex for more information.'); ?>

    - -
    -
    -
    - -get_pagenum(); - -if ( ! empty( $_REQUEST['_wp_http_referer'] ) ) { - $location = remove_query_arg( '_wp_http_referer', wp_unslash( $_SERVER['REQUEST_URI'] ) ); - - if ( ! empty( $_REQUEST['paged'] ) ) { - $location = add_query_arg( 'paged', (int) $_REQUEST['paged'], $location ); - } - - wp_redirect( $location ); - exit; -} - -$wp_list_table->prepare_items(); - -$total_pages = $wp_list_table->get_pagination_arg( 'total_pages' ); - -if ( $pagenum > $total_pages && $total_pages > 0 ) { - wp_redirect( add_query_arg( 'paged', $total_pages ) ); - exit; -} - -$title = __( 'Add Plugins' ); -$parent_file = 'plugins.php'; - -wp_enqueue_script( 'plugin-install' ); -if ( 'plugin-information' != $tab ) - add_thickbox(); - -$body_id = $tab; - -/** - * Fires before each tab on the Install Plugins screen is loaded. - * - * The dynamic portion of the action hook, $tab, allows for targeting - * individual tabs, for instance 'install_plugins_pre_plugin-information'. - * - * @since 2.7.0 - */ -do_action( "install_plugins_pre_$tab" ); - -get_current_screen()->add_help_tab( array( -'id' => 'overview', -'title' => __('Overview'), -'content' => - '

    ' . sprintf(__('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from the core WordPress application by thousands of developers all over the world. All plugins in the official WordPress.org Plugin Directory are compatible with the license WordPress uses. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.'), 'https://wordpress.org/plugins/') . '

    ' -) ); -get_current_screen()->add_help_tab( array( -'id' => 'adding-plugins', -'title' => __('Adding Plugins'), -'content' => - '

    ' . __('If you know what you’re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting popular tags. Tags in larger type mean more plugins have been labeled with that tag.') . '

    ' . - '

    ' . __('If you just want to get an idea of what’s available, you can browse Featured and Popular plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '

    ' . - '

    ' . __('You can also browse a user’s favorite plugins, by using the Favorites link in the upper left of the screen and entering their WordPress.org username.') . '

    ' . - '

    ' . __('If you want to install a plugin that you’ve downloaded elsewhere, click the Upload link in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '

    ' -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Installing Plugins') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -/** - * WordPress Administration Template Header. - */ -include(ABSPATH . 'wp-admin/admin-header.php'); -?> -
    -

    - ' . $text . ''; - } - ?> -

    - -views(); - echo '
    '; -} - -/** - * Fires after the plugins list table in each tab of the Install Plugins screen. - * - * The dynamic portion of the action hook, $tab, allows for targeting - * individual tabs, for instance 'install_plugins_plugin-information'. - * - * @since 2.7.0 - * - * @param int $paged The current page number of the plugins list table. - */ -?> - -
    -get_pagenum(); - -$action = $wp_list_table->current_action(); - -$plugin = isset($_REQUEST['plugin']) ? $_REQUEST['plugin'] : ''; -$s = isset($_REQUEST['s']) ? urlencode($_REQUEST['s']) : ''; - -// Clean up request URI from temporary args for screen options/paging uri's to work as expected. -$_SERVER['REQUEST_URI'] = remove_query_arg(array('error', 'deleted', 'activate', 'activate-multi', 'deactivate', 'deactivate-multi', '_error_nonce'), $_SERVER['REQUEST_URI']); - -if ( $action ) { - - switch ( $action ) { - case 'activate': - if ( ! current_user_can('activate_plugins') ) - wp_die(__('You do not have sufficient permissions to activate plugins for this site.')); - - if ( is_multisite() && ! is_network_admin() && is_network_only_plugin( $plugin ) ) { - wp_redirect( self_admin_url("plugins.php?plugin_status=$status&paged=$page&s=$s") ); - exit; - } - - check_admin_referer('activate-plugin_' . $plugin); - - $result = activate_plugin($plugin, self_admin_url('plugins.php?error=true&plugin=' . $plugin), is_network_admin() ); - if ( is_wp_error( $result ) ) { - if ( 'unexpected_output' == $result->get_error_code() ) { - $redirect = self_admin_url('plugins.php?error=true&charsout=' . strlen($result->get_error_data()) . '&plugin=' . $plugin . "&plugin_status=$status&paged=$page&s=$s"); - wp_redirect(add_query_arg('_error_nonce', wp_create_nonce('plugin-activation-error_' . $plugin), $redirect)); - exit; - } else { - wp_die($result); - } - } - - if ( ! is_network_admin() ) { - $recent = (array) get_option( 'recently_activated' ); - unset( $recent[ $plugin ] ); - update_option( 'recently_activated', $recent ); - } - - if ( isset($_GET['from']) && 'import' == $_GET['from'] ) { - wp_redirect( self_admin_url("import.php?import=" . str_replace('-importer', '', dirname($plugin))) ); // overrides the ?error=true one above and redirects to the Imports page, stripping the -importer suffix - } else { - wp_redirect( self_admin_url("plugins.php?activate=true&plugin_status=$status&paged=$page&s=$s") ); // overrides the ?error=true one above - } - exit; - - case 'activate-selected': - if ( ! current_user_can('activate_plugins') ) - wp_die(__('You do not have sufficient permissions to activate plugins for this site.')); - - check_admin_referer('bulk-plugins'); - - $plugins = isset( $_POST['checked'] ) ? (array) $_POST['checked'] : array(); - - if ( is_network_admin() ) { - foreach ( $plugins as $i => $plugin ) { - // Only activate plugins which are not already network activated. - if ( is_plugin_active_for_network( $plugin ) ) { - unset( $plugins[ $i ] ); - } - } - } else { - foreach ( $plugins as $i => $plugin ) { - // Only activate plugins which are not already active and are not network-only when on Multisite. - if ( is_plugin_active( $plugin ) || ( is_multisite() && is_network_only_plugin( $plugin ) ) ) { - unset( $plugins[ $i ] ); - } - } - } - - if ( empty($plugins) ) { - wp_redirect( self_admin_url("plugins.php?plugin_status=$status&paged=$page&s=$s") ); - exit; - } - - activate_plugins($plugins, self_admin_url('plugins.php?error=true'), is_network_admin() ); - - if ( ! is_network_admin() ) { - $recent = (array) get_option('recently_activated' ); - foreach ( $plugins as $plugin ) - unset( $recent[ $plugin ] ); - update_option( 'recently_activated', $recent ); - } - - wp_redirect( self_admin_url("plugins.php?activate-multi=true&plugin_status=$status&paged=$page&s=$s") ); - exit; - - case 'update-selected' : - - check_admin_referer( 'bulk-plugins' ); - - if ( isset( $_GET['plugins'] ) ) - $plugins = explode( ',', $_GET['plugins'] ); - elseif ( isset( $_POST['checked'] ) ) - $plugins = (array) $_POST['checked']; - else - $plugins = array(); - - $title = __( 'Update Plugins' ); - $parent_file = 'plugins.php'; - - wp_enqueue_script( 'updates' ); - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - echo '
    '; - echo '

    ' . esc_html( $title ) . '

    '; - - $url = self_admin_url('update.php?action=update-selected&plugins=' . urlencode( join(',', $plugins) )); - $url = wp_nonce_url($url, 'bulk-update-plugins'); - - echo ""; - echo '
    '; - require_once(ABSPATH . 'wp-admin/admin-footer.php'); - exit; - - case 'error_scrape': - if ( ! current_user_can('activate_plugins') ) - wp_die(__('You do not have sufficient permissions to activate plugins for this site.')); - - check_admin_referer('plugin-activation-error_' . $plugin); - - $valid = validate_plugin($plugin); - if ( is_wp_error($valid) ) - wp_die($valid); - - if ( ! WP_DEBUG ) { - error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR ); - } - - @ini_set('display_errors', true); //Ensure that Fatal errors are displayed. - // Go back to "sandbox" scope so we get the same errors as before - function plugin_sandbox_scrape( $plugin ) { - wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin ); - include( WP_PLUGIN_DIR . '/' . $plugin ); - } - plugin_sandbox_scrape( $plugin ); - /** This action is documented in wp-admin/includes/plugins.php */ - do_action( "activate_{$plugin}" ); - exit; - - case 'deactivate': - if ( ! current_user_can('activate_plugins') ) - wp_die(__('You do not have sufficient permissions to deactivate plugins for this site.')); - - check_admin_referer('deactivate-plugin_' . $plugin); - - if ( ! is_network_admin() && is_plugin_active_for_network( $plugin ) ) { - wp_redirect( self_admin_url("plugins.php?plugin_status=$status&paged=$page&s=$s") ); - exit; - } - - deactivate_plugins( $plugin, false, is_network_admin() ); - if ( ! is_network_admin() ) - update_option( 'recently_activated', array( $plugin => time() ) + (array) get_option( 'recently_activated' ) ); - if ( headers_sent() ) - echo ""; - else - wp_redirect( self_admin_url("plugins.php?deactivate=true&plugin_status=$status&paged=$page&s=$s") ); - exit; - - case 'deactivate-selected': - if ( ! current_user_can('activate_plugins') ) - wp_die(__('You do not have sufficient permissions to deactivate plugins for this site.')); - - check_admin_referer('bulk-plugins'); - - $plugins = isset( $_POST['checked'] ) ? (array) $_POST['checked'] : array(); - // Do not deactivate plugins which are already deactivated. - if ( is_network_admin() ) { - $plugins = array_filter( $plugins, 'is_plugin_active_for_network' ); - } else { - $plugins = array_filter( $plugins, 'is_plugin_active' ); - $plugins = array_diff( $plugins, array_filter( $plugins, 'is_plugin_active_for_network' ) ); - } - if ( empty($plugins) ) { - wp_redirect( self_admin_url("plugins.php?plugin_status=$status&paged=$page&s=$s") ); - exit; - } - - deactivate_plugins( $plugins, false, is_network_admin() ); - - if ( ! is_network_admin() ) { - $deactivated = array(); - foreach ( $plugins as $plugin ) - $deactivated[ $plugin ] = time(); - update_option( 'recently_activated', $deactivated + (array) get_option( 'recently_activated' ) ); - } - - wp_redirect( self_admin_url("plugins.php?deactivate-multi=true&plugin_status=$status&paged=$page&s=$s") ); - exit; - - case 'delete-selected': - if ( ! current_user_can('delete_plugins') ) - wp_die(__('You do not have sufficient permissions to delete plugins for this site.')); - - check_admin_referer('bulk-plugins'); - - //$_POST = from the plugin form; $_GET = from the FTP details screen. - $plugins = isset( $_REQUEST['checked'] ) ? (array) $_REQUEST['checked'] : array(); - if ( empty( $plugins ) ) { - wp_redirect( self_admin_url("plugins.php?plugin_status=$status&paged=$page&s=$s") ); - exit; - } - - $plugins = array_filter($plugins, 'is_plugin_inactive'); // Do not allow to delete Activated plugins. - if ( empty( $plugins ) ) { - wp_redirect( self_admin_url( "plugins.php?error=true&main=true&plugin_status=$status&paged=$page&s=$s" ) ); - exit; - } - - include(ABSPATH . 'wp-admin/update.php'); - - $parent_file = 'plugins.php'; - - if ( ! isset($_REQUEST['verify-delete']) ) { - wp_enqueue_script('jquery'); - require_once(ABSPATH . 'wp-admin/admin-header.php'); - ?> -
    - $data ) { - $plugin_info[ $plugin_file ] = _get_plugin_data_markup_translate( $plugin_file, $data ); - $plugin_info[ $plugin_file ]['is_uninstallable'] = is_uninstallable_plugin( $plugin ); - if ( ! $plugin_info[ $plugin_file ]['Network'] ) - $have_non_network_plugins = true; - } - } - } - } - $plugins_to_delete = count( $plugin_info ); - echo '

    ' . _n( 'Delete Plugin', 'Delete Plugins', $plugins_to_delete ) . '

    '; - ?> - -

    - -

    -
      - ', sprintf( __( '%1$s by %2$s (will also delete its data)' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']) ), ''; - $data_to_delete = true; - } else { - /* translators: 1: plugin name, 2: plugin author */ - echo '
    • ', sprintf( __('%1$s by %2$s' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']) ), '
    • '; - } - } - ?> -
    -

    -
    - - - '; - ?> - - -
    -
    - -
    - -

    - -
    - prepare_items(); - -wp_enqueue_script('plugin-install'); -add_thickbox(); - -add_screen_option( 'per_page', array('label' => _x( 'Plugins', 'plugins per page (screen options)' ), 'default' => 999 ) ); - -get_current_screen()->add_help_tab( array( -'id' => 'overview', -'title' => __('Overview'), -'content' => - '

    ' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '

    ' . - '

    ' . sprintf(__('You can find additional plugins for your site by using the Plugin Browser/Installer functionality or by browsing the WordPress Plugin Directory directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your /wp-content/plugins directory. Once a plugin has been installed, you can activate it here.'), 'plugin-install.php', 'https://wordpress.org/plugins/') . '

    ' -) ); -get_current_screen()->add_help_tab( array( -'id' => 'compatibility-problems', -'title' => __('Troubleshooting'), -'content' => - '

    ' . __('Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin’s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.') . '

    ' . - '

    ' . sprintf( __('If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '

    ' -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Managing Plugins') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -$title = __('Plugins'); -$parent_file = 'plugins.php'; - -require_once(ABSPATH . 'wp-admin/admin-header.php'); - -$invalid = validate_active_plugins(); -if ( !empty($invalid) ) - foreach ( $invalid as $plugin_file => $error ) - echo '

    ' . sprintf(__('The plugin %s has been deactivated due to an error: %s'), esc_html($plugin_file), $error->get_error_message()) . '

    '; -?> - -unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.'), $_GET['charsout']); - else - $errmsg = __('Plugin could not be activated because it triggered a fatal error.'); - ?> -

    - - - -
    - -

    get_error_message() ); ?>

    - -

    deleted.'); ?>

    - - -

    activated.') ?>

    - -

    activated.'); ?>

    - -

    deactivated.') ?>

    - -

    deactivated.'); ?>

    - -

    - - -
    -

    - -' . __('Search results for “%s”') . '', esc_html( $s ) ); ?> -

    - - - -views(); ?> - -
    -search_box( __( 'Search Installed Plugins' ), 'plugin' ); ?> -
    - -
    - - - - -display(); ?> -
    - -
    - - true ) ) ) ) - $post_type = $_GET['post_type']; -else - wp_die( __('Invalid post type') ); - -$post_type_object = get_post_type_object( $post_type ); - -if ( 'post' == $post_type ) { - $parent_file = 'edit.php'; - $submenu_file = 'post-new.php'; -} elseif ( 'attachment' == $post_type ) { - if ( wp_redirect( admin_url( 'media-new.php' ) ) ) - exit; -} else { - $submenu_file = "post-new.php?post_type=$post_type"; - if ( isset( $post_type_object ) && $post_type_object->show_in_menu && $post_type_object->show_in_menu !== true ) { - $parent_file = $post_type_object->show_in_menu; - // What if there isn't a post-new.php item for this post type? - if ( ! isset( $_registered_pages[ get_plugin_page_hookname( "post-new.php?post_type=$post_type", $post_type_object->show_in_menu ) ] ) ) { - if ( isset( $_registered_pages[ get_plugin_page_hookname( "edit.php?post_type=$post_type", $post_type_object->show_in_menu ) ] ) ) { - // Fall back to edit.php for that post type, if it exists - $submenu_file = "edit.php?post_type=$post_type"; - } else { - // Otherwise, give up and highlight the parent - $submenu_file = $parent_file; - } - } - } else { - $parent_file = "edit.php?post_type=$post_type"; - } -} - -$title = $post_type_object->labels->add_new_item; - -$editing = true; - -if ( ! current_user_can( $post_type_object->cap->edit_posts ) || ! current_user_can( $post_type_object->cap->create_posts ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - -// Schedule auto-draft cleanup -if ( ! wp_next_scheduled( 'wp_scheduled_auto_draft_delete' ) ) - wp_schedule_event( time(), 'daily', 'wp_scheduled_auto_draft_delete' ); - -wp_enqueue_script( 'autosave' ); - -if ( is_multisite() ) { - add_action( 'admin_footer', '_admin_notice_post_locked' ); -} else { - $check_users = get_users( array( 'fields' => 'ID', 'number' => 2 ) ); - - if ( count( $check_users ) > 1 ) - add_action( 'admin_footer', '_admin_notice_post_locked' ); - - unset( $check_users ); -} - -// Show post form. -$post = get_default_post_to_edit( $post_type, true ); -$post_ID = $post->ID; -include( ABSPATH . 'wp-admin/edit-form-advanced.php' ); -include( ABSPATH . 'wp-admin/admin-footer.php' ); diff --git a/sources/wordpress/wp-admin/post.php b/sources/wordpress/wp-admin/post.php deleted file mode 100644 index 805c46e..0000000 --- a/sources/wordpress/wp-admin/post.php +++ /dev/null @@ -1,318 +0,0 @@ -post_type; - $post_type_object = get_post_type_object( $post_type ); -} - -/** - * Redirect to previous page. - * - * @param int $post_id Optional. Post ID. - */ -function redirect_post($post_id = '') { - if ( isset($_POST['save']) || isset($_POST['publish']) ) { - $status = get_post_status( $post_id ); - - if ( isset( $_POST['publish'] ) ) { - switch ( $status ) { - case 'pending': - $message = 8; - break; - case 'future': - $message = 9; - break; - default: - $message = 6; - } - } else { - $message = 'draft' == $status ? 10 : 1; - } - - $location = add_query_arg( 'message', $message, get_edit_post_link( $post_id, 'url' ) ); - } elseif ( isset($_POST['addmeta']) && $_POST['addmeta'] ) { - $location = add_query_arg( 'message', 2, wp_get_referer() ); - $location = explode('#', $location); - $location = $location[0] . '#postcustom'; - } elseif ( isset($_POST['deletemeta']) && $_POST['deletemeta'] ) { - $location = add_query_arg( 'message', 3, wp_get_referer() ); - $location = explode('#', $location); - $location = $location[0] . '#postcustom'; - } else { - $location = add_query_arg( 'message', 4, get_edit_post_link( $post_id, 'url' ) ); - } - - /** - * Filter the post redirect destination URL. - * - * @since 2.9.0 - * - * @param string $location The destination URL. - * @param int $post_id The post ID. - */ - wp_redirect( apply_filters( 'redirect_post_location', $location, $post_id ) ); - exit; -} - -if ( isset( $_POST['deletepost'] ) ) - $action = 'delete'; -elseif ( isset($_POST['wp-preview']) && 'dopreview' == $_POST['wp-preview'] ) - $action = 'preview'; - -$sendback = wp_get_referer(); -if ( ! $sendback || - strpos( $sendback, 'post.php' ) !== false || - strpos( $sendback, 'post-new.php' ) !== false ) { - if ( 'attachment' == $post_type ) { - $sendback = admin_url( 'upload.php' ); - } else { - $sendback = admin_url( 'edit.php' ); - $sendback .= ( ! empty( $post_type ) ) ? '?post_type=' . $post_type : ''; - } -} else { - $sendback = remove_query_arg( array('trashed', 'untrashed', 'deleted', 'ids'), $sendback ); -} - -switch($action) { -case 'post-quickdraft-save': - // Check nonce and capabilities - $nonce = $_REQUEST['_wpnonce']; - $error_msg = false; - - // For output of the quickdraft dashboard widget - require_once ABSPATH . 'wp-admin/includes/dashboard.php'; - - if ( ! wp_verify_nonce( $nonce, 'add-post' ) ) - $error_msg = __( 'Unable to submit this form, please refresh and try again.' ); - - if ( ! current_user_can( 'edit_posts' ) ) - $error_msg = __( 'Oops, you don’t have access to add new drafts.' ); - - if ( $error_msg ) - return wp_dashboard_quick_press( $error_msg ); - - $post = get_post( $_REQUEST['post_ID'] ); - check_admin_referer( 'add-' . $post->post_type ); - - $_POST['comment_status'] = get_option( 'default_comment_status' ); - $_POST['ping_status'] = get_option( 'default_ping_status' ); - - edit_post(); - wp_dashboard_quick_press(); - exit; - -case 'postajaxpost': -case 'post': - check_admin_referer( 'add-' . $post_type ); - $post_id = 'postajaxpost' == $action ? edit_post() : write_post(); - redirect_post( $post_id ); - exit(); - -case 'edit': - $editing = true; - - if ( empty( $post_id ) ) { - wp_redirect( admin_url('post.php') ); - exit(); - } - - if ( ! $post ) - wp_die( __( 'You attempted to edit an item that doesn’t exist. Perhaps it was deleted?' ) ); - - if ( ! $post_type_object ) - wp_die( __( 'Unknown post type.' ) ); - - if ( ! current_user_can( 'edit_post', $post_id ) ) - wp_die( __( 'You are not allowed to edit this item.' ) ); - - if ( 'trash' == $post->post_status ) - wp_die( __( 'You can’t edit this item because it is in the Trash. Please restore it and try again.' ) ); - - if ( ! empty( $_GET['get-post-lock'] ) ) { - wp_set_post_lock( $post_id ); - wp_redirect( get_edit_post_link( $post_id, 'url' ) ); - exit(); - } - - $post_type = $post->post_type; - if ( 'post' == $post_type ) { - $parent_file = "edit.php"; - $submenu_file = "edit.php"; - $post_new_file = "post-new.php"; - } elseif ( 'attachment' == $post_type ) { - $parent_file = 'upload.php'; - $submenu_file = 'upload.php'; - $post_new_file = 'media-new.php'; - } else { - if ( isset( $post_type_object ) && $post_type_object->show_in_menu && $post_type_object->show_in_menu !== true ) - $parent_file = $post_type_object->show_in_menu; - else - $parent_file = "edit.php?post_type=$post_type"; - $submenu_file = "edit.php?post_type=$post_type"; - $post_new_file = "post-new.php?post_type=$post_type"; - } - - if ( ! wp_check_post_lock( $post->ID ) ) { - $active_post_lock = wp_set_post_lock( $post->ID ); - - if ( 'attachment' !== $post_type ) - wp_enqueue_script('autosave'); - } - - if ( is_multisite() ) { - add_action( 'admin_footer', '_admin_notice_post_locked' ); - } else { - $check_users = get_users( array( 'fields' => 'ID', 'number' => 2 ) ); - - if ( count( $check_users ) > 1 ) - add_action( 'admin_footer', '_admin_notice_post_locked' ); - - unset( $check_users ); - } - - $title = $post_type_object->labels->edit_item; - $post = get_post($post_id, OBJECT, 'edit'); - - if ( post_type_supports($post_type, 'comments') ) { - wp_enqueue_script('admin-comments'); - enqueue_comment_hotkeys_js(); - } - - include( ABSPATH . 'wp-admin/edit-form-advanced.php' ); - - break; - -case 'editattachment': - check_admin_referer('update-post_' . $post_id); - - // Don't let these be changed - unset($_POST['guid']); - $_POST['post_type'] = 'attachment'; - - // Update the thumbnail filename - $newmeta = wp_get_attachment_metadata( $post_id, true ); - $newmeta['thumb'] = $_POST['thumb']; - - wp_update_attachment_metadata( $post_id, $newmeta ); - -case 'editpost': - check_admin_referer('update-post_' . $post_id); - - $post_id = edit_post(); - - // Session cookie flag that the post was saved - if ( isset( $_COOKIE['wp-saving-post'] ) && $_COOKIE['wp-saving-post'] === $post_id . '-check' ) { - setcookie( 'wp-saving-post', $post_id . '-saved', time() + DAY_IN_SECONDS ); - } - - redirect_post($post_id); // Send user on their way while we keep working - - exit(); - -case 'trash': - check_admin_referer('trash-post_' . $post_id); - - if ( ! $post ) - wp_die( __( 'The item you are trying to move to the Trash no longer exists.' ) ); - - if ( ! $post_type_object ) - wp_die( __( 'Unknown post type.' ) ); - - if ( ! current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'You are not allowed to move this item to the Trash.' ) ); - - if ( $user_id = wp_check_post_lock( $post_id ) ) { - $user = get_userdata( $user_id ); - wp_die( sprintf( __( 'You cannot move this item to the Trash. %s is currently editing.' ), $user->display_name ) ); - } - - if ( ! wp_trash_post( $post_id ) ) - wp_die( __( 'Error in moving to Trash.' ) ); - - wp_redirect( add_query_arg( array('trashed' => 1, 'ids' => $post_id), $sendback ) ); - exit(); - -case 'untrash': - check_admin_referer('untrash-post_' . $post_id); - - if ( ! $post ) - wp_die( __( 'The item you are trying to restore from the Trash no longer exists.' ) ); - - if ( ! $post_type_object ) - wp_die( __( 'Unknown post type.' ) ); - - if ( ! current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'You are not allowed to move this item out of the Trash.' ) ); - - if ( ! wp_untrash_post( $post_id ) ) - wp_die( __( 'Error in restoring from Trash.' ) ); - - wp_redirect( add_query_arg('untrashed', 1, $sendback) ); - exit(); - -case 'delete': - check_admin_referer('delete-post_' . $post_id); - - if ( ! $post ) - wp_die( __( 'This item has already been deleted.' ) ); - - if ( ! $post_type_object ) - wp_die( __( 'Unknown post type.' ) ); - - if ( ! current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'You are not allowed to delete this item.' ) ); - - $force = ! EMPTY_TRASH_DAYS; - if ( $post->post_type == 'attachment' ) { - $force = ( $force || ! MEDIA_TRASH ); - if ( ! wp_delete_attachment( $post_id, $force ) ) - wp_die( __( 'Error in deleting.' ) ); - } else { - if ( ! wp_delete_post( $post_id, $force ) ) - wp_die( __( 'Error in deleting.' ) ); - } - - wp_redirect( add_query_arg('deleted', 1, $sendback) ); - exit(); - -case 'preview': - check_admin_referer( 'update-post_' . $post_id ); - - $url = post_preview(); - - wp_redirect($url); - exit(); - -default: - wp_redirect( admin_url('edit.php') ); - exit(); -} // end switch -include( ABSPATH . 'wp-admin/admin-footer.php' ); diff --git a/sources/wordpress/wp-admin/press-this.php b/sources/wordpress/wp-admin/press-this.php deleted file mode 100644 index 9773364..0000000 --- a/sources/wordpress/wp-admin/press-this.php +++ /dev/null @@ -1,691 +0,0 @@ -cap->create_posts ) ) - wp_die( __( 'Cheatin’ uh?' ) ); - -/** - * Press It form handler. - * - * @since 2.6.0 - * - * @return int Post ID - */ -function press_it() { - - $post = get_default_post_to_edit(); - $post = get_object_vars($post); - $post_ID = $post['ID'] = (int) $_POST['post_id']; - - if ( !current_user_can('edit_post', $post_ID) ) - wp_die(__('You are not allowed to edit this post.')); - - $post['post_category'] = isset($_POST['post_category']) ? $_POST['post_category'] : ''; - $post['tax_input'] = isset($_POST['tax_input']) ? $_POST['tax_input'] : ''; - $post['post_title'] = isset($_POST['title']) ? $_POST['title'] : ''; - $content = isset($_POST['content']) ? $_POST['content'] : ''; - - $upload = false; - if ( !empty($_POST['photo_src']) && current_user_can('upload_files') ) { - foreach( (array) $_POST['photo_src'] as $key => $image) { - // See if files exist in content - we don't want to upload non-used selected files. - if ( strpos($_POST['content'], htmlspecialchars($image)) !== false ) { - $desc = isset($_POST['photo_description'][$key]) ? $_POST['photo_description'][$key] : ''; - $upload = media_sideload_image($image, $post_ID, $desc); - - // Replace the POSTED content with correct uploaded ones. Regex contains fix for Magic Quotes - if ( !is_wp_error($upload) ) - $content = preg_replace('/]*)src=\\\?(\"|\')'.preg_quote(htmlspecialchars($image), '/').'\\\?(\2)([^>\/]*)\/*>/is', $upload, $content); - } - } - } - // Set the post_content and status. - $post['post_content'] = $content; - if ( isset( $_POST['publish'] ) && current_user_can( 'publish_posts' ) ) - $post['post_status'] = 'publish'; - elseif ( isset( $_POST['review'] ) ) - $post['post_status'] = 'pending'; - else - $post['post_status'] = 'draft'; - - // Error handling for media_sideload. - if ( is_wp_error($upload) ) { - wp_delete_post($post_ID); - wp_die( esc_html( $upload->get_error_message() ) ); - } else { - // Post formats. - if ( isset( $_POST['post_format'] ) ) { - if ( current_theme_supports( 'post-formats', $_POST['post_format'] ) ) - set_post_format( $post_ID, $_POST['post_format'] ); - elseif ( '0' == $_POST['post_format'] ) - set_post_format( $post_ID, false ); - } - - $post_ID = wp_update_post($post); - } - - return $post_ID; -} - -// For submitted posts. -if ( isset($_REQUEST['action']) && 'post' == $_REQUEST['action'] ) { - check_admin_referer('press-this'); - $posted = $post_ID = press_it(); -} else { - $post = get_default_post_to_edit('post', true); - $post_ID = $post->ID; -} - -// Set Variables -$title = isset( $_GET['t'] ) ? trim( strip_tags( html_entity_decode( wp_unslash( $_GET['t'] ) , ENT_QUOTES) ) ) : ''; - -$selection = ''; -if ( !empty($_GET['s']) ) { - $selection = str_replace(''', "'", wp_unslash($_GET['s'])); - $selection = trim( htmlspecialchars( html_entity_decode($selection, ENT_QUOTES) ) ); -} - -if ( ! empty($selection) ) { - $selection = preg_replace('/(\r?\n|\r)/', '

    ', $selection); - $selection = '

    ' . str_replace('

    ', '', $selection) . '

    '; -} - -$url = isset($_GET['u']) ? esc_url($_GET['u']) : ''; -$image = isset($_GET['i']) ? $_GET['i'] : ''; - -if ( !empty($_REQUEST['ajax']) ) { - switch ($_REQUEST['ajax']) { - case 'video': ?> - -
    -

    -
    - -

    -
    -
    - - -

    -
    -
    - -
    -
    - -

    - - - <?php echo esc_attr(__('Click to insert.')); ?> - -

    - -

    - ]*)src=(\"|\')([^<>\'\"]+)(\2)([^>]*)\/*>/i'; - $content = str_replace(array("\n","\t","\r"), '', $content); - preg_match_all($pattern, $content, $matches); - if ( empty($matches[0]) ) - return ''; - $sources = array(); - foreach ($matches[3] as $src) { - - // If no http in URL. - if (strpos($src, 'http') === false) - // If it doesn't have a relative URI. - if ( strpos($src, '../') === false && strpos($src, './') === false && strpos($src, '/') === 0) - $src = 'http://'.str_replace('//','/', $host['host'].'/'.$src); - else - $src = 'http://'.str_replace('//','/', $host['host'].'/'.dirname($host['path']).'/'.$src); - $sources[] = esc_url($src); - } - return "'" . implode("','", $sources) . "'"; - } - $url = wp_kses(urldecode($url), null); - echo 'new Array('.get_images_from_uri($url).')'; - break; - - case 'photo_js': ?> - // Gather images and load some default JS. - var last = null - var img, img_tag, aspect, w, h, skip, i, strtoappend = ""; - if(photostorage == false) { - var my_src = eval( - jQuery.ajax({ - type: "GET", - url: "", - cache : false, - async : false, - data: "ajax=photo_images&u=", - dataType : "script" - }).responseText - ); - if(my_src.length == 0) { - var my_src = eval( - jQuery.ajax({ - type: "GET", - url: "", - cache : false, - async : false, - data: "ajax=photo_images&u=", - dataType : "script" - }).responseText - ); - if(my_src.length == 0) { - strtoappend = ''; - } - } - } - for (i = 0; i < my_src.length; i++) { - img = new Image(); - img.src = my_src[i]; - img_attr = 'id="img' + i + '"'; - skip = false; - - maybeappend = ''; - - if (img.width && img.height) { - if (img.width >= 30 && img.height >= 30) { - aspect = img.width / img.height; - scale = (aspect > 1) ? (71 / img.width) : (71 / img.height); - - w = img.width; - h = img.height; - - if (scale < 1) { - w = parseInt(img.width * scale); - h = parseInt(img.height * scale); - } - img_attr += ' style="width: ' + w + 'px; height: ' + h + 'px;"'; - strtoappend += maybeappend; - } - } else { - strtoappend += maybeappend; - } - } - - function pick(img, desc) { - if (img) { - if('object' == typeof jQuery('.photolist input') && jQuery('.photolist input').length != 0) length = jQuery('.photolist input').length; - if(length == 0) length = 1; - jQuery('.photolist').append(''); - jQuery('.photolist').append(''); - insert_editor( "\n\n" + encodeURI('

    ' + desc + '

    ')); - } - return false; - } - - function image_selector(el) { - var desc, src, parent = jQuery(el).closest('#photo-add-url-div'); - - if ( parent.length ) { - desc = parent.find('input.tb_this_photo_description').val() || ''; - src = parent.find('input.tb_this_photo').val() || '' - } else { - desc = jQuery('#tb_this_photo_description').val() || ''; - src = jQuery('#tb_this_photo').val() || '' - } - - tb_remove(); - pick(src, desc); - jQuery('#extra-fields').hide(); - jQuery('#extra-fields').html(''); - return false; - } - - jQuery('#extra-fields').html('

    ()

    '); - jQuery('#img_container').html(strtoappend); - -<?php _e('Press This') ?> - - - - - - - -
    -
    -
    -
    - - - - - - - - -
    - -
    -

    -

    -
    -

    - 'save' ) ); - if ( current_user_can('publish_posts') ) { - submit_button( __( 'Publish' ), 'primary', 'publish', false ); - } else { - echo '

    '; - submit_button( __( 'Submit for Review' ), 'primary', 'review', false ); - } ?> - -

    - -

    - -

    - -
    -
    - - -
    -

    -

    -
    -
    - - - - - -
    -
      - 'category', 'popular_cats' => $popular_ids ) ) ?> -
    -
    - - cap->assign_terms) ) : ?> -

    - - cap->edit_terms) ) : ?> -
    -

    - - labels->add_new_item ); ?> - -

    -

    - - - - 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $tax->labels->parent_item . ' —' ) ); ?> - - - -

    -
    - -
    -
    -
    - -
    -

    -

    -
    -
    -
    - - -
    - - -
    -
    -
    -
    - -
    -
    -
    -
    -
    - - - - -
    -

    - - | - |

    -
    - - -
    -
    - -
    -
    - - - - - -
    - true, - 'textarea_rows' => '15' - ); - - $content = ''; - if ( $selection ) - $content .= $selection; - - if ( $url ) { - $content .= '

    '; - - if ( $selection ) - $content .= __('via '); - - $content .= sprintf( "%s.

    ", esc_url( $url ), esc_html( $title ) ); - } - - remove_action( 'media_buttons', 'media_buttons' ); - add_action( 'media_buttons', 'press_this_media_buttons' ); - function press_this_media_buttons() { - _e( 'Add:' ); - - if ( current_user_can('upload_files') ) { - ?> - - <?php esc_attr_e('Insert an Image'); ?> - - <?php esc_attr_e('Embed a Video'); ?> - -
    -
    -
    -
    - - - - - diff --git a/sources/wordpress/wp-admin/profile.php b/sources/wordpress/wp-admin/profile.php deleted file mode 100644 index 0f33eb2..0000000 --- a/sources/wordpress/wp-admin/profile.php +++ /dev/null @@ -1,18 +0,0 @@ -post_parent ) ) - break; - - if ( ! $post = get_post( $revision->post_parent ) ) - break; - - // Revisions disabled (previously checked autosaves && ! wp_is_post_autosave( $revision )) - if ( ! wp_revisions_enabled( $post ) ) { - $redirect = 'edit.php?post_type=' . $post->post_type; - break; - } - - // Don't allow revision restore when post is locked - if ( wp_check_post_lock( $post->ID ) ) - break; - - check_admin_referer( "restore-post_{$revision->ID}" ); - - wp_restore_post_revision( $revision->ID ); - $redirect = add_query_arg( array( 'message' => 5, 'revision' => $revision->ID ), get_edit_post_link( $post->ID, 'url' ) ); - break; -case 'view' : -case 'edit' : -default : - if ( ! $revision = wp_get_post_revision( $revision_id ) ) - break; - if ( ! $post = get_post( $revision->post_parent ) ) - break; - - if ( ! current_user_can( 'read_post', $revision->ID ) || ! current_user_can( 'read_post', $post->ID ) ) - break; - - // Revisions disabled and we're not looking at an autosave - if ( ! wp_revisions_enabled( $post ) && ! wp_is_post_autosave( $revision ) ) { - $redirect = 'edit.php?post_type=' . $post->post_type; - break; - } - - $post_edit_link = get_edit_post_link(); - $post_title = '' . _draft_or_post_title() . ''; - $h2 = sprintf( __( 'Compare Revisions of “%1$s”' ), $post_title ); - $return_to_post = '' . __( '← Return to post editor' ) . ''; - $title = __( 'Revisions' ); - - $redirect = false; - break; -} - -// Empty post_type means either malformed object found, or no valid parent was found. -if ( ! $redirect && empty( $post->post_type ) ) - $redirect = 'edit.php'; - -if ( ! empty( $redirect ) ) { - wp_redirect( $redirect ); - exit; -} - -// This is so that the correct "Edit" menu item is selected. -if ( ! empty( $post->post_type ) && 'post' != $post->post_type ) - $parent_file = $submenu_file = 'edit.php?post_type=' . $post->post_type; -else - $parent_file = $submenu_file = 'edit.php'; - -wp_enqueue_script( 'revisions' ); -wp_localize_script( 'revisions', '_wpRevisionsSettings', wp_prepare_revisions_for_js( $post, $revision_id, $from ) ); - -/* Revisions Help Tab */ - -$revisions_overview = '

    ' . __( 'This screen is used for managing your content revisions.' ) . '

    '; -$revisions_overview .= '

    ' . __( 'Revisions are saved copies of your post or page, which are periodically created as you update your content. The red text on the left shows the content that was removed. The green text on the right shows the content that was added.' ) . '

    '; -$revisions_overview .= '

    ' . __( 'From this screen you can review, compare, and restore revisions:' ) . '

    '; -$revisions_overview .= '
    • ' . __( 'To navigate between revisions, drag the slider handle left or right or use the Previous or Next buttons.' ) . '
    • '; -$revisions_overview .= '
    • ' . __( 'Compare two different revisions by selecting the “Compare any two revisions” box to the side.' ) . '
    • '; -$revisions_overview .= '
    • ' . __( 'To restore a revision, click Restore This Revision.' ) . '
    '; - -get_current_screen()->add_help_tab( array( - 'id' => 'revisions-overview', - 'title' => __( 'Overview' ), - 'content' => $revisions_overview -) ); - -$revisions_sidebar = '

    ' . __( 'For more information:' ) . '

    '; -$revisions_sidebar .= '

    ' . __( 'Revisions Management' ) . '

    '; -$revisions_sidebar .= '

    ' . __( 'Support Forums' ) . '

    '; - -get_current_screen()->set_help_sidebar( $revisions_sidebar ); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); - -?> - -
    -

    - -
    - - - - - - - - - - - - -' . sprintf( __( "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ), 'install.php' ) . '

    ' ); - -// Check if wp-config.php exists above the root directory but is not part of another install -if ( file_exists(ABSPATH . '../wp-config.php' ) && ! file_exists( ABSPATH . '../wp-settings.php' ) ) - wp_die( '

    ' . sprintf( __( "The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now."), 'install.php' ) . '

    ' ); - -$step = isset( $_GET['step'] ) ? (int) $_GET['step'] : -1; - -/** - * Display setup wp-config.php file header. - * - * @ignore - * @since 2.3.0 - */ -function setup_config_display_header( $body_classes = array() ) { - global $wp_version; - $body_classes = (array) $body_classes; - $body_classes[] = 'wp-core-ui'; - if ( is_rtl() ) { - $body_classes[] = 'rtl'; - } - - header( 'Content-Type: text/html; charset=utf-8' ); -?> - -> - - - - <?php _e( 'WordPress › Setup Configuration File' ); ?> - - - -

    -'; - wp_install_language_form( $languages ); - echo ''; - break; - } - - // Deliberately fall through if we can't reach the translations API. - - case 0: - if ( ! empty( $language ) ) { - $loaded_language = wp_download_language_pack( $language ); - if ( $loaded_language ) { - load_default_textdomain( $loaded_language ); - $GLOBALS['wp_locale'] = new WP_Locale(); - } - } - - setup_config_display_header(); - $step_1 = 'setup-config.php?step=1'; - if ( isset( $_REQUEST['noapi'] ) ) { - $step_1 .= '&noapi'; - } - if ( ! empty( $loaded_language ) ) { - $step_1 .= '&language=' . $loaded_language; - } -?> - -

    -
      -
    1. -
    2. -
    3. -
    4. -
    5. -
    -

    - wp-config.php file.' ); ?> - wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.php." ); ?> - We got it." ); ?> -

    -

    - -

    - -
    -

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    localhost does not work.' ); ?>
    - - -

    -
    -

    ' . __( 'Try again' ) . ''; - - if ( empty( $prefix ) ) - wp_die( __( 'ERROR: "Table Prefix" must not be empty.' . $tryagain_link ) ); - - // Validate $prefix: it can only contain letters, numbers and underscores. - if ( preg_match( '|[^a-z0-9_]|i', $prefix ) ) - wp_die( __( 'ERROR: "Table Prefix" can only contain numbers, letters, and underscores.' . $tryagain_link ) ); - - // Test the db connection. - /**#@+ - * @ignore - */ - define('DB_NAME', $dbname); - define('DB_USER', $uname); - define('DB_PASSWORD', $pwd); - define('DB_HOST', $dbhost); - /**#@-*/ - - // Re-construct $wpdb with these new values. - unset( $wpdb ); - require_wp_db(); - - /* - * The wpdb constructor bails when WP_SETUP_CONFIG is set, so we must - * fire this manually. We'll fail here if the values are no good. - */ - $wpdb->db_connect(); - - if ( ! empty( $wpdb->error ) ) - wp_die( $wpdb->error->get_error_message() . $tryagain_link ); - - // Fetch or generate keys and salts. - $no_api = isset( $_POST['noapi'] ); - if ( ! $no_api ) { - $secret_keys = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' ); - } - - if ( $no_api || is_wp_error( $secret_keys ) ) { - $secret_keys = array(); - for ( $i = 0; $i < 8; $i++ ) { - $secret_keys[] = wp_generate_password( 64, true, true ); - } - } else { - $secret_keys = explode( "\n", wp_remote_retrieve_body( $secret_keys ) ); - foreach ( $secret_keys as $k => $v ) { - $secret_keys[$k] = substr( $v, 28, 64 ); - } - } - - $key = 0; - // Not a PHP5-style by-reference foreach, as this file must be parseable by PHP4. - foreach ( $config_file as $line_num => $line ) { - if ( '$table_prefix =' == substr( $line, 0, 16 ) ) { - $config_file[ $line_num ] = '$table_prefix = \'' . addcslashes( $prefix, "\\'" ) . "';\r\n"; - continue; - } - - if ( ! preg_match( '/^define\(\'([A-Z_]+)\',([ ]+)/', $line, $match ) ) - continue; - - $constant = $match[1]; - $padding = $match[2]; - - switch ( $constant ) { - case 'DB_NAME' : - case 'DB_USER' : - case 'DB_PASSWORD' : - case 'DB_HOST' : - $config_file[ $line_num ] = "define('" . $constant . "'," . $padding . "'" . addcslashes( constant( $constant ), "\\'" ) . "');\r\n"; - break; - case 'AUTH_KEY' : - case 'SECURE_AUTH_KEY' : - case 'LOGGED_IN_KEY' : - case 'NONCE_KEY' : - case 'AUTH_SALT' : - case 'SECURE_AUTH_SALT' : - case 'LOGGED_IN_SALT' : - case 'NONCE_SALT' : - $config_file[ $line_num ] = "define('" . $constant . "'," . $padding . "'" . $secret_keys[$key++] . "');\r\n"; - break; - } - } - unset( $line ); - - if ( ! is_writable(ABSPATH) ) : - setup_config_display_header(); -?> -

    wp-config.php file." ); ?>

    -

    wp-config.php manually and paste the following text into it.' ); ?>

    - -

    -

    - - -

    - -

    - - - - diff --git a/sources/wordpress/wp-admin/theme-editor.php b/sources/wordpress/wp-admin/theme-editor.php deleted file mode 100644 index d0ecee4..0000000 --- a/sources/wordpress/wp-admin/theme-editor.php +++ /dev/null @@ -1,243 +0,0 @@ -'.__('You do not have sufficient permissions to edit templates for this site.').'

    '); - -$title = __("Edit Themes"); -$parent_file = 'themes.php'; - -get_current_screen()->add_help_tab( array( -'id' => 'overview', -'title' => __('Overview'), -'content' => - '

    ' . __('You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '

    -

    ' . __('Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of all the template files. Clicking once on any file name causes the file to appear in the large Editor box.') . '

    -

    ' . __('For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Look Up takes you to a web page with reference material about that particular function.') . '

    -

    ' . __('In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key.') . '

    -

    ' . __('After typing in your edits, click Update File.') . '

    -

    ' . __('Advice: think very carefully about your site crashing if you are live-editing the theme currently in use.') . '

    -

    ' . sprintf( __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a child theme instead.'), __('http://codex.wordpress.org/Child_Themes') ) . '

    ' . - ( is_network_admin() ? '

    ' . __('Any edits to files from this screen will be reflected on all sites in the network.') . '

    ' : '' ) -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Theme Development') . '

    ' . - '

    ' . __('Documentation on Using Themes') . '

    ' . - '

    ' . __('Documentation on Editing Files') . '

    ' . - '

    ' . __('Documentation on Template Tags') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -wp_reset_vars( array( 'action', 'error', 'file', 'theme' ) ); - -if ( $theme ) - $stylesheet = $theme; -else - $stylesheet = get_stylesheet(); - -$theme = wp_get_theme( $stylesheet ); - -if ( ! $theme->exists() ) - wp_die( __( 'The requested theme does not exist.' ) ); - -if ( $theme->errors() && 'theme_no_stylesheet' == $theme->errors()->get_error_code() ) - wp_die( __( 'The requested theme does not exist.' ) . ' ' . $theme->errors()->get_error_message() ); - -$allowed_files = $theme->get_files( 'php', 1 ); -$has_templates = ! empty( $allowed_files ); -$style_files = $theme->get_files( 'css' ); -$allowed_files['style.css'] = $style_files['style.css']; -$allowed_files += $style_files; - -if ( empty( $file ) ) { - $relative_file = 'style.css'; - $file = $allowed_files['style.css']; -} else { - $relative_file = $file; - $file = $theme->get_stylesheet_directory() . '/' . $relative_file; -} - -validate_file_to_edit( $file, $allowed_files ); -$scrollto = isset( $_REQUEST['scrollto'] ) ? (int) $_REQUEST['scrollto'] : 0; - -switch( $action ) { -case 'update': - check_admin_referer( 'edit-theme_' . $file . $stylesheet ); - $newcontent = wp_unslash( $_POST['newcontent'] ); - $location = 'theme-editor.php?file=' . urlencode( $relative_file ) . '&theme=' . urlencode( $stylesheet ) . '&scrollto=' . $scrollto; - if ( is_writeable( $file ) ) { - // is_writable() not always reliable, check return value. see comments @ http://uk.php.net/is_writable - $f = fopen( $file, 'w+' ); - if ( $f !== false ) { - fwrite( $f, $newcontent ); - fclose( $f ); - $location .= '&updated=true'; - $theme->cache_delete(); - } - } - wp_redirect( $location ); - exit; - -default: - - require_once( ABSPATH . 'wp-admin/admin-header.php' ); - - update_recently_edited( $file ); - - if ( ! is_file( $file ) ) - $error = true; - - $content = ''; - if ( ! $error && filesize( $file ) > 0 ) { - $f = fopen($file, 'r'); - $content = fread($f, filesize($file)); - - if ( '.php' == substr( $file, strrpos( $file, '.' ) ) ) { - $functions = wp_doc_link_parse( $content ); - - $docs_select = ''; - } - - $content = esc_textarea( $content ); - } - - if ( isset( $_GET['updated'] ) ) : ?> -

    -(' . $file_show . ')'; -?> -
    -

    - -
    -
    -

    display('Name'); if ( $description ) echo ': ' . $description; ?>

    -
    -
    -
    - - - -
    -
    -
    -
    -errors() ) - echo '

    ' . __( 'This theme is broken.' ) . ' ' . $theme->errors()->get_error_message() . '

    '; -?> -
    -parent() ) : -?> -

    - parent() ) : ?> -

    get_template() ) ) . '">' . $theme->parent()->display('Name') . '' ); ?>

    - -
      - $absolute_filename ) : - if ( 'style.css' == $filename ) - echo "\t
    \n\t

    " . _x( 'Styles', 'Theme stylesheets in theme editor' ) . "

    \n\t
      \n"; - - $file_description = get_file_description( $absolute_filename ); - if ( $file_description != basename( $filename ) ) - $file_description .= '
      (' . $filename . ')'; - - if ( $absolute_filename == $file ) - $file_description = '' . $file_description . ''; -?> -
    • - -
    - -
    -

    ' . __('Oops, no such file exists! Double check the name and try again, merci.') . '

    '; -else : ?> -
    - -
    - - - - -
    - -
    - - - -
    - - -
    - get_stylesheet() == get_template() ) : ?> -

    -

    - - -

    the Codex for more information.'); ?>

    - -
    -
    - -
    -
    - - __( 'Featured Themes' ), - 'popular' => __( 'Popular Themes' ), - 'new' => __( 'Newest Themes' ), -); - -$installed_themes = search_theme_directories(); -foreach ( $installed_themes as $k => $v ) { - if ( false !== strpos( $k, '/' ) ) { - unset( $installed_themes[ $k ] ); - } -} - -wp_localize_script( 'theme', '_wpThemeSettings', array( - 'themes' => false, - 'settings' => array( - 'isInstall' => true, - 'canInstall' => current_user_can( 'install_themes' ), - 'installURI' => current_user_can( 'install_themes' ) ? self_admin_url( 'theme-install.php' ) : null, - 'adminUrl' => parse_url( self_admin_url(), PHP_URL_PATH ) - ), - 'l10n' => array( - 'addNew' => __( 'Add New Theme' ), - 'search' => __( 'Search Themes' ), - 'searchPlaceholder' => __( 'Search themes...' ), // placeholder (no ellipsis) - 'upload' => __( 'Upload Theme' ), - 'back' => __( 'Back' ), - 'error' => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ) - ), - 'installedThemes' => array_keys( $installed_themes ), - 'browse' => array( - 'sections' => $sections, - ), -) ); - -wp_enqueue_script( 'theme' ); - -/** - * Fires before each of the tabs are rendered on the Install Themes page. - * - * The dynamic portion of the hook name, $tab, refers to the current - * theme install tab. Possible values are 'dashboard', 'search', 'upload', - * 'featured', 'new', or 'updated'. - * - * @since 2.8.0 - */ -if ( $tab ) { - do_action( "install_themes_pre_{$tab}" ); -} - -$help_overview = - '

    ' . sprintf(__('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the WordPress.org Theme Directory. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.'), 'https://wordpress.org/themes/') . '

    ' . - '

    ' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Popular, or Latest. When you find a theme you like, you can preview it or install it.') . '

    ' . - '

    ' . __('You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme’s folder via FTP into your /wp-content/themes directory.') . '

    '; - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => $help_overview -) ); - -$help_installing = - '

    ' . __('Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you’re interested in previewing. It will open up in a full-screen Preview page to give you a better idea of how that theme will look.') . '

    ' . - '

    ' . __('To install the theme so you can preview it with your site’s content and customize its theme options, click the "Install" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the "Activate" link, or by navigating to your Manage Themes screen and clicking the "Live Preview" link under any installed theme’s thumbnail image.') . '

    '; - -get_current_screen()->add_help_tab( array( - 'id' => 'installing', - 'title' => __('Previewing and Installing'), - 'content' => $help_installing -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Adding New Themes') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -include(ABSPATH . 'wp-admin/admin-header.php'); - -?> -
    -

    __( 'Upload Theme' ) ) ); - if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) { - echo ' ' . __( 'Upload Theme' ) . ''; - echo ' ' . _x( 'Browse', 'themes' ) . ''; - } - ?>

    - -
    - -
    - -
    -
    - -
    - - - - - -
    - -
    -
    - - -
    - $features ) { - if ( $feature_name === 'Features' || $feature_name === __( 'Features' ) ) { // hack hack hack - echo '
    '; - } else { - echo '
    '; - } - $feature_name = esc_html( $feature_name ); - echo '

    ' . $feature_name . '

    '; - echo '
      '; - foreach ( $features as $feature => $feature_name ) { - $feature = esc_attr( $feature ); - echo '
    1. '; - echo '
    2. '; - } - echo '
    '; - echo '
    '; - } - ?> -
    - -
    - -
    -
    -
    -
    -
    - -

    - - -
    - -
    - - - - - -exists() || ! $theme->is_allowed() ) - wp_die( __( 'Cheatin’ uh?' ) ); - switch_theme( $theme->get_stylesheet() ); - wp_redirect( admin_url('themes.php?activated=true') ); - exit; - } elseif ( 'delete' == $_GET['action'] ) { - check_admin_referer('delete-theme_' . $_GET['stylesheet']); - $theme = wp_get_theme( $_GET['stylesheet'] ); - if ( !current_user_can('delete_themes') || ! $theme->exists() ) - wp_die( __( 'Cheatin’ uh?' ) ); - delete_theme($_GET['stylesheet']); - wp_redirect( admin_url('themes.php?deleted=true') ); - exit; - } -} - -$title = __('Manage Themes'); -$parent_file = 'themes.php'; - -// Help tab: Overview -if ( current_user_can( 'switch_themes' ) ) { - $help_overview = '

    ' . __( 'This screen is used for managing your installed themes. Aside from the default theme(s) included with your WordPress installation, themes are designed and developed by third parties.' ) . '

    ' . - '

    ' . __( 'From this screen you can:' ) . '

    ' . - '
    • ' . __( 'Hover or tap to see Activate and Live Preview buttons' ) . '
    • ' . - '
    • ' . __( 'Click on the theme to see the theme name, version, author, description, tags, and the Delete link' ) . '
    • ' . - '
    • ' . __( 'Click Customize for the current theme or Live Preview for any other theme to see a live preview' ) . '
    ' . - '

    ' . __( 'The current theme is displayed highlighted as the first theme.' ) . '

    '; - - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __( 'Overview' ), - 'content' => $help_overview - ) ); -} // switch_themes - -// Help tab: Adding Themes -if ( current_user_can( 'install_themes' ) ) { - if ( is_multisite() ) { - $help_install = '

    ' . __('Installing themes on Multisite can only be done from the Network Admin section.') . '

    '; - } else { - $help_install = '

    ' . sprintf( __('If you would like to see more themes to choose from, click on the “Add New” button and you will be able to browse or search for additional themes from the WordPress.org Theme Directory. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), 'https://wordpress.org/themes/' ) . '

    '; - } - - get_current_screen()->add_help_tab( array( - 'id' => 'adding-themes', - 'title' => __('Adding Themes'), - 'content' => $help_install - ) ); -} // install_themes - -// Help tab: Previewing and Customizing -if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { - $help_customize = - '

    ' . __( 'Tap or hover on any theme then click the Live Preview button to see a live preview of that theme and change theme options in a separate, full-screen view. You can also find a Live Preview button at the bottom of the theme details screen. Any installed theme can be previewed and customized in this way.' ) . '

    '. - '

    ' . __( 'The theme being previewed is fully interactive — navigate to different pages to see how the theme handles posts, archives, and other page templates. The settings may differ depending on what theme features the theme being previewed supports. To accept the new settings and activate the theme all in one step, click the Save & Activate button above the menu.' ) . '

    ' . - '

    ' . __( 'When previewing on smaller monitors, you can use the collapse icon at the bottom of the left-hand pane. This will hide the pane, giving you more room to preview your site in the new theme. To bring the pane back, click on the collapse icon again.' ) . '

    '; - - get_current_screen()->add_help_tab( array( - 'id' => 'customize-preview-themes', - 'title' => __( 'Previewing and Customizing' ), - 'content' => $help_customize - ) ); -} // edit_theme_options && customize - -get_current_screen()->set_help_sidebar( - '

    ' . __( 'For more information:' ) . '

    ' . - '

    ' . __( 'Documentation on Using Themes' ) . '

    ' . - '

    ' . __( 'Support Forums' ) . '

    ' -); - -if ( current_user_can( 'switch_themes' ) ) { - $themes = wp_prepare_themes_for_js(); -} else { - $themes = wp_prepare_themes_for_js( array( wp_get_theme() ) ); -} -wp_reset_vars( array( 'theme', 'search' ) ); - -wp_localize_script( 'theme', '_wpThemeSettings', array( - 'themes' => $themes, - 'settings' => array( - 'canInstall' => ( ! is_multisite() && current_user_can( 'install_themes' ) ), - 'installURI' => ( ! is_multisite() && current_user_can( 'install_themes' ) ) ? admin_url( 'theme-install.php' ) : null, - 'confirmDelete' => __( "Are you sure you want to delete this theme?\n\nClick 'Cancel' to go back, 'OK' to confirm the delete." ), - 'adminUrl' => parse_url( admin_url(), PHP_URL_PATH ), - ), - 'l10n' => array( - 'addNew' => __( 'Add New Theme' ), - 'search' => __( 'Search Installed Themes' ), - 'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis) - ), -) ); - -add_thickbox(); -wp_enqueue_script( 'theme' ); -wp_enqueue_script( 'customize-loader' ); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
    -

    - - - - -

    - -

    - -

    Visit site' ), home_url( '/' ) ); ?>

    - -

    Visit site' ), home_url( '/' ) ); ?>

    -

    -errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) { - echo '

    ' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '

    '; -} - -/* -// Certain error codes are less fatal than others. We can still display theme information in most cases. -if ( ! $ct->errors() || ( 1 == count( $ct->errors()->get_error_codes() ) - && in_array( $ct->errors()->get_error_code(), array( 'theme_no_parent', 'theme_parent_invalid', 'theme_no_index' ) ) ) ) : ?> -*/ - - // Pretend you didn't see this. - $current_theme_actions = array(); - if ( is_array( $submenu ) && isset( $submenu['themes.php'] ) ) { - foreach ( (array) $submenu['themes.php'] as $item) { - $class = ''; - if ( 'themes.php' == $item[2] || 'theme-editor.php' == $item[2] || 0 === strpos( $item[2], 'customize.php' ) ) - continue; - // 0 = name, 1 = capability, 2 = file - if ( ( strcmp($self, $item[2]) == 0 && empty($parent_file)) || ($parent_file && ($item[2] == $parent_file)) ) - $class = ' class="current"'; - if ( !empty($submenu[$item[2]]) ) { - $submenu[$item[2]] = array_values($submenu[$item[2]]); // Re-index. - $menu_hook = get_plugin_page_hook($submenu[$item[2]][0][2], $item[2]); - if ( file_exists(WP_PLUGIN_DIR . "/{$submenu[$item[2]][0][2]}") || !empty($menu_hook)) - $current_theme_actions[] = "{$item[0]}"; - else - $current_theme_actions[] = "{$item[0]}"; - } else if ( current_user_can($item[1]) ) { - $menu_file = $item[2]; - if ( false !== ( $pos = strpos( $menu_file, '?' ) ) ) - $menu_file = substr( $menu_file, 0, $pos ); - if ( file_exists( ABSPATH . "wp-admin/$menu_file" ) ) { - $current_theme_actions[] = "{$item[0]}"; - } else { - $current_theme_actions[] = "{$item[0]}"; - } - } - } - } - -?> - -
    -
    - - -
    - -
    - -
    - -
    - - -
    - - -

    - -

    - - -
    - - - - - - - - - - - - - -
    - - -
    - -
    - -
    -
    -
    -
    - -

    - - true ) ) ) { -?> - -
    -

    -

    - - - - - - - - - - "; - } -?> -
    " . ( $broken_theme->get( 'Name' ) ? $broken_theme->get( 'Name' ) : $broken_theme->get_stylesheet() ) . "" . $broken_theme->errors()->get_error_message() . "
    -
    - - -
    - - - - - - -add_help_tab( array( - 'id' => 'press-this', - 'title' => __('Press This'), - 'content' => '

    ' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you’ll be on your way to easier content creation. Clicking on it while on another website opens a popup window with all these options.') . '

    ', -) ); -get_current_screen()->add_help_tab( array( - 'id' => 'converter', - 'title' => __('Categories and Tags Converter'), - 'content' => '

    ' . __('Categories have hierarchy, meaning that you can nest sub-categories. Tags do not have hierarchy and cannot be nested. Sometimes people start out using one on their posts, then later realize that the other would work better for their content.' ) . '

    ' . - '

    ' . __( 'The Categories and Tags Converter link on this screen will take you to the Import screen, where that Converter is one of the plugins you can install. Once that plugin is installed, the Activate Plugin & Run Importer link will take you to a screen where you can choose to convert tags into categories or vice versa.' ) . '

    ', -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Tools') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); - -?> -
    -

    - - -
    -

    -

    - -

    -

    -

    - -
    -cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?> -
    -

    -

    Categories and Tags Converter available from the Import screen.'), 'import.php' ); ?>

    -
    - -
    -locale && 'en_US' == get_locale() ) - $version_string = $update->current; - // If the only available update is a partial builds, it doesn't need a language-specific version string. - elseif ( 'en_US' == $update->locale && $update->packages->partial && $wp_version == $update->partial_version && ( $updates = get_core_updates() ) && 1 == count( $updates ) ) - $version_string = $update->current; - else - $version_string = sprintf( "%s–%s", $update->current, $update->locale ); - - $current = false; - if ( !isset($update->response) || 'latest' == $update->response ) - $current = true; - $submit = __('Update Now'); - $form_action = 'update-core.php?action=do-core-upgrade'; - $php_version = phpversion(); - $mysql_version = $wpdb->db_version(); - $show_buttons = true; - if ( 'development' == $update->response ) { - $message = __('You are using a development version of WordPress. You can update to the latest nightly build automatically or download the nightly build and install it manually:'); - $download = __('Download nightly build'); - } else { - if ( $current ) { - $message = sprintf( __( 'If you need to re-install version %s, you can do so here or download the package and re-install manually:' ), $version_string ); - $submit = __('Re-install Now'); - $form_action = 'update-core.php?action=do-core-reinstall'; - } else { - $php_compat = version_compare( $php_version, $update->php_version, '>=' ); - if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) - $mysql_compat = true; - else - $mysql_compat = version_compare( $mysql_version, $update->mysql_version, '>=' ); - - if ( !$mysql_compat && !$php_compat ) - $message = sprintf( __('You cannot update because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version ); - elseif ( !$php_compat ) - $message = sprintf( __('You cannot update because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $update->current, $update->php_version, $php_version ); - elseif ( !$mysql_compat ) - $message = sprintf( __('You cannot update because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s.'), $update->current, $update->mysql_version, $mysql_version ); - else - $message = sprintf(__('You can update to WordPress %2$s automatically or download the package and install it manually:'), $update->current, $version_string); - if ( !$mysql_compat || !$php_compat ) - $show_buttons = false; - } - $download = sprintf(__('Download %s'), $version_string); - } - - echo '

    '; - echo $message; - echo '

    '; - echo '
    '; - wp_nonce_field('upgrade-core'); - echo '

    '; - echo ''; - echo ''; - if ( $show_buttons ) { - if ( $first_pass ) { - submit_button( $submit, $current ? 'button' : 'primary regular', 'upgrade', false ); - $first_pass = false; - } else { - submit_button( $submit, 'button', 'upgrade', false ); - } - echo ' ' . $download . ' '; - } - if ( 'en_US' != $update->locale ) - if ( !isset( $update->dismissed ) || !$update->dismissed ) - submit_button( __('Hide this update'), 'button', 'dismiss', false ); - else - submit_button( __('Bring back this update'), 'button', 'undismiss', false ); - echo '

    '; - if ( 'en_US' != $update->locale && ( !isset($wp_local_package) || $wp_local_package != $update->locale ) ) - echo '

    '.__('This localized version contains both the translation and various other localization fixes. You can skip upgrading if you want to keep your current translation.').'

    '; - // Partial builds don't need language-specific warnings. - elseif ( 'en_US' == $update->locale && get_locale() != 'en_US' && ( ! $update->packages->partial && $wp_version == $update->partial_version ) ) { - echo '

    '.sprintf( __('You are about to install WordPress %s in English (US). There is a chance this update will break your translation. You may prefer to wait for the localized version to be released.'), $update->response != 'development' ? $update->current : '' ).'

    '; - } - echo '
    '; - -} - -function dismissed_updates() { - $dismissed = get_core_updates( array( 'dismissed' => true, 'available' => false ) ); - if ( $dismissed ) { - - $show_text = esc_js(__('Show hidden updates')); - $hide_text = esc_js(__('Hide hidden updates')); - ?> - - '.__('Show hidden updates').'

    '; - echo '
      '; - foreach( (array) $dismissed as $update) { - echo '
    • '; - list_core_update( $update ); - echo '
    • '; - } - echo '
    '; - } -} - -/** - * Display upgrade WordPress for downloading latest or upgrading automatically form. - * - * @since 2.7.0 - * - * @return null - */ -function core_upgrade_preamble() { - global $wp_version, $required_php_version, $required_mysql_version; - - $updates = get_core_updates(); - - if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) { - echo '

    '; - _e('You have the latest version of WordPress.'); - - if ( wp_http_supports( array( 'ssl' ) ) ) { - require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; - $upgrader = new WP_Automatic_Updater; - $future_minor_update = (object) array( - 'current' => $wp_version . '.1.next.minor', - 'version' => $wp_version . '.1.next.minor', - 'php_version' => $required_php_version, - 'mysql_version' => $required_mysql_version, - ); - $should_auto_update = $upgrader->should_update( 'core', $future_minor_update, ABSPATH ); - if ( $should_auto_update ) - echo ' ' . __( 'Future security updates will be applied automatically.' ); - } - echo '

    '; - } else { - echo '

    '; - _e('Important: before updating, please back up your database and files. For help with updates, visit the Updating WordPress Codex page.'); - echo '

    '; - - echo '

    '; - _e( 'An updated version of WordPress is available.' ); - echo '

    '; - } - - if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) { - require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; - $upgrader = new WP_Automatic_Updater; - if ( wp_http_supports( 'ssl' ) && $upgrader->should_update( 'core', $updates[0], ABSPATH ) ) { - echo '

    '; - echo '' . __( 'BETA TESTERS:' ) . ' ' . __( 'This site is set up to install updates of future beta versions automatically.' ); - echo '

    '; - } - } - - echo '
      '; - foreach( (array) $updates as $update ) { - echo '
    • '; - list_core_update( $update ); - echo '
    • '; - } - echo '
    '; - // Don't show the maintenance mode notice when we are only showing a single re-install option. - if ( $updates && ( count( $updates ) > 1 || $updates[0]->response != 'latest' ) ) { - echo '

    ' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.' ) . '

    '; - } elseif ( ! $updates ) { - list( $normalized_version ) = explode( '-', $wp_version ); - echo '

    ' . sprintf( __( 'Learn more about WordPress %s.' ), esc_url( self_admin_url( 'about.php' ) ), $normalized_version ) . '

    '; - } - dismissed_updates(); -} - -function list_plugin_updates() { - global $wp_version; - - $cur_wp_version = preg_replace('/-.*$/', '', $wp_version); - - require_once(ABSPATH . 'wp-admin/includes/plugin-install.php'); - $plugins = get_plugin_updates(); - if ( empty( $plugins ) ) { - echo '

    ' . __( 'Plugins' ) . '

    '; - echo '

    ' . __( 'Your plugins are all up to date.' ) . '

    '; - return; - } - $form_action = 'update-core.php?action=do-plugin-upgrade'; - - $core_updates = get_core_updates(); - if ( !isset($core_updates[0]->response) || 'latest' == $core_updates[0]->response || 'development' == $core_updates[0]->response || version_compare( $core_updates[0]->current, $cur_wp_version, '=') ) - $core_update_version = false; - else - $core_update_version = $core_updates[0]->current; - ?> -

    -

    -
    - -

    - - - - - - - - - - - - - - - - $plugin_data) { - $info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug )); - // Get plugin compat for running version of WordPress. - if ( isset($info->tested) && version_compare($info->tested, $cur_wp_version, '>=') ) { - $compat = '
    ' . sprintf(__('Compatibility with WordPress %1$s: 100%% (according to its author)'), $cur_wp_version); - } elseif ( isset($info->compatibility[$cur_wp_version][$plugin_data->update->new_version]) ) { - $compat = $info->compatibility[$cur_wp_version][$plugin_data->update->new_version]; - $compat = '
    ' . sprintf(__('Compatibility with WordPress %1$s: %2$d%% (%3$d "works" votes out of %4$d total)'), $cur_wp_version, $compat[0], $compat[2], $compat[1]); - } else { - $compat = '
    ' . sprintf(__('Compatibility with WordPress %1$s: Unknown'), $cur_wp_version); - } - // Get plugin compat for updated version of WordPress. - if ( $core_update_version ) { - if ( isset($info->compatibility[$core_update_version][$plugin_data->update->new_version]) ) { - $update_compat = $info->compatibility[$core_update_version][$plugin_data->update->new_version]; - $compat .= '
    ' . sprintf(__('Compatibility with WordPress %1$s: %2$d%% (%3$d "works" votes out of %4$d total)'), $core_update_version, $update_compat[0], $update_compat[2], $update_compat[1]); - } else { - $compat .= '
    ' . sprintf(__('Compatibility with WordPress %1$s: Unknown'), $core_update_version); - } - } - // Get the upgrade notice for the new plugin version. - if ( isset($plugin_data->update->upgrade_notice) ) { - $upgrade_notice = '
    ' . strip_tags($plugin_data->update->upgrade_notice); - } else { - $upgrade_notice = ''; - } - - $details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin_data->update->slug . '§ion=changelog&TB_iframe=true&width=640&height=662'); - $details_text = sprintf(__('View version %1$s details'), $plugin_data->update->new_version); - $details = sprintf('%3$s.', esc_url($details_url), esc_attr($plugin_data->Name), $details_text); - - echo " - - - - "; - } -?> - -

    {$plugin_data->Name}
    " . sprintf(__('You have version %1$s installed. Update to %2$s.'), $plugin_data->Version, $plugin_data->update->new_version) . ' ' . $details . $compat . $upgrade_notice . "

    -

    -
    -' . __( 'Themes' ) . ''; - echo '

    ' . __( 'Your themes are all up to date.' ) . '

    '; - return; - } - - $form_action = 'update-core.php?action=do-theme-upgrade'; - -?> -

    -

    -

    Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.' ), __( 'http://codex.wordpress.org/Child_Themes' ) ); ?>

    -
    - -

    - - - - - - - - - - - - - - - - $theme ) { - echo " - - - - "; - } -?> - -
    " . $theme->display('Name') . ' ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . "
    -

    -
    -' . __( 'Translations' ) . ''; - echo '

    ' . __( 'Your translations are all up to date.' ) . '

    '; - } - return; - } - - $form_action = 'update-core.php?action=do-translation-upgrade'; - ?> -

    -
    -

    - -

    -
    - -
    -

    -'; - return; - } - - if ( ! WP_Filesystem( $credentials, ABSPATH ) ) { - // Failed to connect, Error and request again - request_filesystem_credentials( $url, '', true, ABSPATH ); - echo '
    '; - return; - } - - if ( $wp_filesystem->errors->get_error_code() ) { - foreach ( $wp_filesystem->errors->get_error_messages() as $message ) - show_message($message); - echo '
    '; - return; - } - - if ( $reinstall ) - $update->response = 'reinstall'; - - add_filter( 'update_feedback', 'show_message' ); - - $upgrader = new Core_Upgrader(); - $result = $upgrader->upgrade( $update ); - - if ( is_wp_error($result) ) { - show_message($result); - if ('up_to_date' != $result->get_error_code() ) - show_message( __('Installation Failed') ); - echo ''; - return; - } - - show_message( __('WordPress updated successfully') ); - show_message( '' . sprintf( __( 'Welcome to WordPress %1$s. You will be redirected to the About WordPress screen. If not, click here.' ), $result, esc_url( self_admin_url( 'about.php?updated' ) ) ) . '' ); - show_message( '' . sprintf( __( 'Welcome to WordPress %1$s. Learn more.' ), $result, esc_url( self_admin_url( 'about.php?updated' ) ) ) . '' ); - ?> - - - ' . __( 'On this screen, you can update to the latest version of WordPress, as well as update your themes and plugins from the WordPress.org repositories.' ) . '

    '; -$updates_overview .= '

    ' . __( 'If an update is available, you᾿ll see a notification appear in the Toolbar and navigation menu.' ) . ' ' . __( 'Keeping your site updated is important for security. It also makes the internet a safer place for you and your readers.' ) . '

    '; - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __( 'Overview' ), - 'content' => $updates_overview -) ); - -$updates_howto = '

    ' . __( 'WordPress — Updating your WordPress installation is a simple one-click procedure: just click on the “Update Now” button when you are notified that a new version is available.' ) . ' ' . __( 'In most cases, WordPress will automatically apply maintenance and security updates in the background for you.' ) . '

    '; -$updates_howto .= '

    ' . __( 'Themes and Plugins — To update individual themes or plugins from this screen, use the checkboxes to make your selection, then click on the appropriate “Update” button. To update all of your themes or plugins at once, you can check the box at the top of the section to select all before clicking the update button.' ) . '

    '; - -if ( 'en_US' != get_locale() ) { - $updates_howto .= '

    ' . __( 'Translations — The files translating WordPress into your language are updated for you whenever any other updates occur. But if these files are out of date, you can click the “Update Translations” button.' ) . '

    '; -} - -get_current_screen()->add_help_tab( array( - 'id' => 'how-to-update', - 'title' => __( 'How to Update' ), - 'content' => $updates_howto -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __( 'Documentation on Updating WordPress' ) . '

    ' . - '

    ' . __( 'Support Forums' ) . '

    ' -); - -if ( 'upgrade-core' == $action ) { - // Force a update check when requested - $force_check = ! empty( $_GET['force-check'] ); - wp_version_check( array(), $force_check ); - - require_once(ABSPATH . 'wp-admin/admin-header.php'); - ?> -
    -

    -

    '; - if ( $upgrade_error == 'themes' ) - _e('Please select one or more themes to update.'); - else - _e('Please select one or more plugins to update.'); - echo '

    '; - } - - echo '

    '; - /* translators: %1 date, %2 time. */ - printf( __('Last checked on %1$s at %2$s.'), date_i18n( get_option( 'date_format' ) ), date_i18n( get_option( 'time_format' ) ) ); - echo '   ' . __( 'Check Again' ) . ''; - echo '

    '; - - if ( $core = current_user_can( 'update_core' ) ) - core_upgrade_preamble(); - if ( $plugins = current_user_can( 'update_plugins' ) ) - list_plugin_updates(); - if ( $themes = current_user_can( 'update_themes' ) ) - list_theme_updates(); - if ( $core || $plugins || $themes ) - list_translation_updates(); - unset( $core, $plugins, $themes ); - /** - * Fires after the core, plugin, and theme update tables. - * - * @since 2.9.0 - */ - do_action( 'core_upgrade_preamble' ); - echo ''; - include(ABSPATH . 'wp-admin/admin-footer.php'); - -} elseif ( 'do-core-upgrade' == $action || 'do-core-reinstall' == $action ) { - - if ( ! current_user_can( 'update_core' ) ) - wp_die( __( 'You do not have sufficient permissions to update this site.' ) ); - - check_admin_referer('upgrade-core'); - - // Do the (un)dismiss actions before headers, so that they can redirect. - if ( isset( $_POST['dismiss'] ) ) - do_dismiss_core_update(); - elseif ( isset( $_POST['undismiss'] ) ) - do_undismiss_core_update(); - - require_once(ABSPATH . 'wp-admin/admin-header.php'); - if ( 'do-core-reinstall' == $action ) - $reinstall = true; - else - $reinstall = false; - - if ( isset( $_POST['upgrade'] ) ) - do_core_upgrade($reinstall); - - include(ABSPATH . 'wp-admin/admin-footer.php'); - -} elseif ( 'do-plugin-upgrade' == $action ) { - - if ( ! current_user_can( 'update_plugins' ) ) - wp_die( __( 'You do not have sufficient permissions to update this site.' ) ); - - check_admin_referer('upgrade-core'); - - if ( isset( $_GET['plugins'] ) ) { - $plugins = explode( ',', $_GET['plugins'] ); - } elseif ( isset( $_POST['checked'] ) ) { - $plugins = (array) $_POST['checked']; - } else { - wp_redirect( admin_url('update-core.php') ); - exit; - } - - $url = 'update.php?action=update-selected&plugins=' . urlencode(implode(',', $plugins)); - $url = wp_nonce_url($url, 'bulk-update-plugins'); - - $title = __('Update Plugins'); - - require_once(ABSPATH . 'wp-admin/admin-header.php'); - echo '
    '; - echo '

    ' . esc_html__('Update Plugins') . '

    '; - echo ''; - echo '
    '; - include(ABSPATH . 'wp-admin/admin-footer.php'); - -} elseif ( 'do-theme-upgrade' == $action ) { - - if ( ! current_user_can( 'update_themes' ) ) - wp_die( __( 'You do not have sufficient permissions to update this site.' ) ); - - check_admin_referer('upgrade-core'); - - if ( isset( $_GET['themes'] ) ) { - $themes = explode( ',', $_GET['themes'] ); - } elseif ( isset( $_POST['checked'] ) ) { - $themes = (array) $_POST['checked']; - } else { - wp_redirect( admin_url('update-core.php') ); - exit; - } - - $url = 'update.php?action=update-selected-themes&themes=' . urlencode(implode(',', $themes)); - $url = wp_nonce_url($url, 'bulk-update-themes'); - - $title = __('Update Themes'); - - require_once(ABSPATH . 'wp-admin/admin-header.php'); - ?> -
    -

    - -
    - bulk_upgrade(); - - require_once( ABSPATH . 'wp-admin/admin-footer.php' ); - -} else { - /** - * Fires for each custom update action on the WordPress Updates screen. - * - * The dynamic portion of the hook name, $action, refers to the - * passed update action. The hook fires in lieu of all available - * default update actions. - * - * @since 3.2.0 - */ - do_action( "update-core-custom_{$action}" ); -} diff --git a/sources/wordpress/wp-admin/update.php b/sources/wordpress/wp-admin/update.php deleted file mode 100644 index c279444..0000000 --- a/sources/wordpress/wp-admin/update.php +++ /dev/null @@ -1,272 +0,0 @@ -bulk_upgrade( $plugins ); - - iframe_footer(); - - } elseif ( 'upgrade-plugin' == $action ) { - if ( ! current_user_can('update_plugins') ) - wp_die(__('You do not have sufficient permissions to update plugins for this site.')); - - check_admin_referer('upgrade-plugin_' . $plugin); - - $title = __('Update Plugin'); - $parent_file = 'plugins.php'; - $submenu_file = 'plugins.php'; - - wp_enqueue_script( 'updates' ); - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - $nonce = 'upgrade-plugin_' . $plugin; - $url = 'update.php?action=upgrade-plugin&plugin=' . urlencode( $plugin ); - - $upgrader = new Plugin_Upgrader( new Plugin_Upgrader_Skin( compact('title', 'nonce', 'url', 'plugin') ) ); - $upgrader->upgrade($plugin); - - include(ABSPATH . 'wp-admin/admin-footer.php'); - - } elseif ('activate-plugin' == $action ) { - if ( ! current_user_can('update_plugins') ) - wp_die(__('You do not have sufficient permissions to update plugins for this site.')); - - check_admin_referer('activate-plugin_' . $plugin); - if ( ! isset($_GET['failure']) && ! isset($_GET['success']) ) { - wp_redirect( admin_url('update.php?action=activate-plugin&failure=true&plugin=' . urlencode( $plugin ) . '&_wpnonce=' . $_GET['_wpnonce']) ); - activate_plugin( $plugin, '', ! empty( $_GET['networkwide'] ), true ); - wp_redirect( admin_url('update.php?action=activate-plugin&success=true&plugin=' . urlencode( $plugin ) . '&_wpnonce=' . $_GET['_wpnonce']) ); - die(); - } - iframe_header( __('Plugin Reactivation'), true ); - if ( isset($_GET['success']) ) - echo '

    ' . __('Plugin reactivated successfully.') . '

    '; - - if ( isset($_GET['failure']) ){ - echo '

    ' . __('Plugin failed to reactivate due to a fatal error.') . '

    '; - - error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR ); - @ini_set('display_errors', true); //Ensure that Fatal errors are displayed. - wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin ); - include( WP_PLUGIN_DIR . '/' . $plugin ); - } - iframe_footer(); - } elseif ( 'install-plugin' == $action ) { - - if ( ! current_user_can('install_plugins') ) - wp_die( __( 'You do not have sufficient permissions to install plugins on this site.' ) ); - - include_once( ABSPATH . 'wp-admin/includes/plugin-install.php' ); //for plugins_api.. - - check_admin_referer('install-plugin_' . $plugin); - $api = plugins_api('plugin_information', array('slug' => $plugin, 'fields' => array('sections' => false) ) ); //Save on a bit of bandwidth. - - if ( is_wp_error($api) ) - wp_die($api); - - $title = __('Plugin Install'); - $parent_file = 'plugins.php'; - $submenu_file = 'plugin-install.php'; - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - $title = sprintf( __('Installing Plugin: %s'), $api->name . ' ' . $api->version ); - $nonce = 'install-plugin_' . $plugin; - $url = 'update.php?action=install-plugin&plugin=' . urlencode( $plugin ); - if ( isset($_GET['from']) ) - $url .= '&from=' . urlencode(stripslashes($_GET['from'])); - - $type = 'web'; //Install plugin type, From Web or an Upload. - - $upgrader = new Plugin_Upgrader( new Plugin_Installer_Skin( compact('title', 'url', 'nonce', 'plugin', 'api') ) ); - $upgrader->install($api->download_link); - - include(ABSPATH . 'wp-admin/admin-footer.php'); - - } elseif ( 'upload-plugin' == $action ) { - - if ( ! current_user_can( 'upload_plugins' ) ) { - wp_die( __( 'You do not have sufficient permissions to install plugins on this site.' ) ); - } - - check_admin_referer('plugin-upload'); - - $file_upload = new File_Upload_Upgrader('pluginzip', 'package'); - - $title = __('Upload Plugin'); - $parent_file = 'plugins.php'; - $submenu_file = 'plugin-install.php'; - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - $title = sprintf( __('Installing Plugin from uploaded file: %s'), esc_html( basename( $file_upload->filename ) ) ); - $nonce = 'plugin-upload'; - $url = add_query_arg(array('package' => $file_upload->id), 'update.php?action=upload-plugin'); - $type = 'upload'; //Install plugin type, From Web or an Upload. - - $upgrader = new Plugin_Upgrader( new Plugin_Installer_Skin( compact('type', 'title', 'nonce', 'url') ) ); - $result = $upgrader->install( $file_upload->package ); - - if ( $result || is_wp_error($result) ) - $file_upload->cleanup(); - - include(ABSPATH . 'wp-admin/admin-footer.php'); - - } elseif ( 'upgrade-theme' == $action ) { - - if ( ! current_user_can('update_themes') ) - wp_die(__('You do not have sufficient permissions to update themes for this site.')); - - check_admin_referer('upgrade-theme_' . $theme); - - wp_enqueue_script( 'customize-loader' ); - wp_enqueue_script( 'updates' ); - - $title = __('Update Theme'); - $parent_file = 'themes.php'; - $submenu_file = 'themes.php'; - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - $nonce = 'upgrade-theme_' . $theme; - $url = 'update.php?action=upgrade-theme&theme=' . urlencode( $theme ); - - $upgrader = new Theme_Upgrader( new Theme_Upgrader_Skin( compact('title', 'nonce', 'url', 'theme') ) ); - $upgrader->upgrade($theme); - - include(ABSPATH . 'wp-admin/admin-footer.php'); - } elseif ( 'update-selected-themes' == $action ) { - if ( ! current_user_can( 'update_themes' ) ) - wp_die( __( 'You do not have sufficient permissions to update themes for this site.' ) ); - - check_admin_referer( 'bulk-update-themes' ); - - if ( isset( $_GET['themes'] ) ) - $themes = explode( ',', stripslashes($_GET['themes']) ); - elseif ( isset( $_POST['checked'] ) ) - $themes = (array) $_POST['checked']; - else - $themes = array(); - - $themes = array_map('urldecode', $themes); - - $url = 'update.php?action=update-selected-themes&themes=' . urlencode(implode(',', $themes)); - $nonce = 'bulk-update-themes'; - - wp_enqueue_script( 'updates' ); - iframe_header(); - - $upgrader = new Theme_Upgrader( new Bulk_Theme_Upgrader_Skin( compact( 'nonce', 'url' ) ) ); - $upgrader->bulk_upgrade( $themes ); - - iframe_footer(); - } elseif ( 'install-theme' == $action ) { - - if ( ! current_user_can('install_themes') ) - wp_die( __( 'You do not have sufficient permissions to install themes on this site.' ) ); - - include_once( ABSPATH . 'wp-admin/includes/theme-install.php' ); //for themes_api.. - - check_admin_referer( 'install-theme_' . $theme ); - $api = themes_api('theme_information', array('slug' => $theme, 'fields' => array('sections' => false, 'tags' => false) ) ); //Save on a bit of bandwidth. - - if ( is_wp_error($api) ) - wp_die($api); - - wp_enqueue_script( 'customize-loader' ); - - $title = __('Install Themes'); - $parent_file = 'themes.php'; - $submenu_file = 'themes.php'; - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - $title = sprintf( __('Installing Theme: %s'), $api->name . ' ' . $api->version ); - $nonce = 'install-theme_' . $theme; - $url = 'update.php?action=install-theme&theme=' . urlencode( $theme ); - $type = 'web'; //Install theme type, From Web or an Upload. - - $upgrader = new Theme_Upgrader( new Theme_Installer_Skin( compact('title', 'url', 'nonce', 'plugin', 'api') ) ); - $upgrader->install($api->download_link); - - include(ABSPATH . 'wp-admin/admin-footer.php'); - - } elseif ( 'upload-theme' == $action ) { - - if ( ! current_user_can( 'upload_themes' ) ) { - wp_die( __( 'You do not have sufficient permissions to install themes on this site.' ) ); - } - - check_admin_referer('theme-upload'); - - $file_upload = new File_Upload_Upgrader('themezip', 'package'); - - wp_enqueue_script( 'customize-loader' ); - - $title = __('Upload Theme'); - $parent_file = 'themes.php'; - $submenu_file = 'theme-install.php'; - - require_once(ABSPATH . 'wp-admin/admin-header.php'); - - $title = sprintf( __('Installing Theme from uploaded file: %s'), esc_html( basename( $file_upload->filename ) ) ); - $nonce = 'theme-upload'; - $url = add_query_arg(array('package' => $file_upload->id), 'update.php?action=upload-theme'); - $type = 'upload'; //Install plugin type, From Web or an Upload. - - $upgrader = new Theme_Upgrader( new Theme_Installer_Skin( compact('type', 'title', 'nonce', 'url') ) ); - $result = $upgrader->install( $file_upload->package ); - - if ( $result || is_wp_error($result) ) - $file_upload->cleanup(); - - include(ABSPATH . 'wp-admin/admin-footer.php'); - - } else { - /** - * Fires when a custom plugin or theme update request is received. - * - * The dynamic portion of the hook name, $action, refers to the action - * provided in the request for wp-admin/update.php. Can be used to - * provide custom update functionality for themes and plugins. - * - * @since 2.8.0 - */ - do_action( "update-custom_{$action}" ); - } -} diff --git a/sources/wordpress/wp-admin/upgrade-functions.php b/sources/wordpress/wp-admin/upgrade-functions.php deleted file mode 100644 index 7be637c..0000000 --- a/sources/wordpress/wp-admin/upgrade-functions.php +++ /dev/null @@ -1,12 +0,0 @@ -db_version(); -$php_compat = version_compare( $php_version, $required_php_version, '>=' ); -if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) - $mysql_compat = true; -else - $mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ); - -@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); -?> - -> - - - - <?php _e( 'WordPress › Update' ); ?> - - - -

    - - - -

    -

    -

    - -WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ); - elseif ( !$php_compat ) - printf( __('You cannot update because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ); - elseif ( !$mysql_compat ) - printf( __('You cannot update because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s.'), $wp_version, $required_mysql_version, $mysql_version ); -?> - -

    -

    -

    -

    - -

    -

    -

    - - - - - - diff --git a/sources/wordpress/wp-admin/upload.php b/sources/wordpress/wp-admin/upload.php deleted file mode 100644 index dbdf310..0000000 --- a/sources/wordpress/wp-admin/upload.php +++ /dev/null @@ -1,292 +0,0 @@ - parse_url( self_admin_url(), PHP_URL_PATH ), - ) ); - - get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __( 'Overview' ), - 'content' => - '

    ' . __( 'All the files you’ve uploaded are listed in the Media Library, with the most recent uploads listed first.' ) . '

    ' . - '

    ' . __( 'You can view your media in a simple visual grid or a list with columns. Switch between these views using the icons to the left above the media.' ) . '

    ' . - '

    ' . __( 'To delete media items, click the Bulk Select button at the top of the screen. Select any items you wish to delete, then click the Delete Selected button. Clicking the Cancel Selection button takes you back to viewing your media.' ) . '

    ' - ) ); - - get_current_screen()->add_help_tab( array( - 'id' => 'attachment-details', - 'title' => __( 'Attachment Details' ), - 'content' => - '

    ' . __( 'Clicking an item will display an Attachment Details dialog, which allows you to preview media and make quick edits. Any changes you make to the attachment details will be automatically saved.' ) . '

    ' . - '

    ' . __( 'Use the arrow buttons at the top of the dialog, or the left and right arrow keys on your keyboard, to navigate between media items quickly.' ) . '

    ' . - '

    ' . __( 'You can also delete individual items and access the extended edit screen from the details dialog.' ) . '

    ' - ) ); - - get_current_screen()->set_help_sidebar( - '

    ' . __( 'For more information:' ) . '

    ' . - '

    ' . __( 'Documentation on Media Library' ) . '

    ' . - '

    ' . __( 'Support Forums' ) . '

    ' - ); - - $title = __('Media Library'); - $parent_file = 'upload.php'; - - require_once( ABSPATH . 'wp-admin/admin-header.php' ); - ?> -
    -

    - - -

    -
    -

    Switch to the list view.' ); ?>

    -
    -
    - get_pagenum(); - -// Handle bulk actions -$doaction = $wp_list_table->current_action(); - -if ( $doaction ) { - check_admin_referer('bulk-media'); - - if ( 'delete_all' == $doaction ) { - $post_ids = $wpdb->get_col( "SELECT ID FROM $wpdb->posts WHERE post_type='attachment' AND post_status = 'trash'" ); - $doaction = 'delete'; - } elseif ( isset( $_REQUEST['media'] ) ) { - $post_ids = $_REQUEST['media']; - } elseif ( isset( $_REQUEST['ids'] ) ) { - $post_ids = explode( ',', $_REQUEST['ids'] ); - } - - $location = 'upload.php'; - if ( $referer = wp_get_referer() ) { - if ( false !== strpos( $referer, 'upload.php' ) ) - $location = remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'message', 'ids', 'posted' ), $referer ); - } - - switch ( $doaction ) { - case 'attach': - $parent_id = (int) $_REQUEST['found_post_id']; - if ( !$parent_id ) - return; - - $parent = get_post( $parent_id ); - if ( !current_user_can( 'edit_post', $parent_id ) ) - wp_die( __( 'You are not allowed to edit this post.' ) ); - - $attach = array(); - foreach ( (array) $_REQUEST['media'] as $att_id ) { - $att_id = (int) $att_id; - - if ( !current_user_can( 'edit_post', $att_id ) ) - continue; - - $attach[] = $att_id; - } - - if ( ! empty( $attach ) ) { - $attach_string = implode( ',', $attach ); - $attached = $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->posts SET post_parent = %d WHERE post_type = 'attachment' AND ID IN ( $attach_string )", $parent_id ) ); - foreach ( $attach as $att_id ) { - clean_attachment_cache( $att_id ); - } - } - - if ( isset( $attached ) ) { - $location = 'upload.php'; - if ( $referer = wp_get_referer() ) { - if ( false !== strpos( $referer, 'upload.php' ) ) - $location = $referer; - } - - $location = add_query_arg( array( 'attached' => $attached ) , $location ); - wp_redirect( $location ); - exit; - } - break; - case 'trash': - if ( !isset( $post_ids ) ) - break; - foreach ( (array) $post_ids as $post_id ) { - if ( !current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'You are not allowed to move this post to the trash.' ) ); - - if ( !wp_trash_post( $post_id ) ) - wp_die( __( 'Error in moving to trash.' ) ); - } - $location = add_query_arg( array( 'trashed' => count( $post_ids ), 'ids' => join( ',', $post_ids ) ), $location ); - break; - case 'untrash': - if ( !isset( $post_ids ) ) - break; - foreach ( (array) $post_ids as $post_id ) { - if ( !current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'You are not allowed to move this post out of the trash.' ) ); - - if ( !wp_untrash_post( $post_id ) ) - wp_die( __( 'Error in restoring from trash.' ) ); - } - $location = add_query_arg( 'untrashed', count( $post_ids ), $location ); - break; - case 'delete': - if ( !isset( $post_ids ) ) - break; - foreach ( (array) $post_ids as $post_id_del ) { - if ( !current_user_can( 'delete_post', $post_id_del ) ) - wp_die( __( 'You are not allowed to delete this post.' ) ); - - if ( !wp_delete_attachment( $post_id_del ) ) - wp_die( __( 'Error in deleting.' ) ); - } - $location = add_query_arg( 'deleted', count( $post_ids ), $location ); - break; - } - - wp_redirect( $location ); - exit; -} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) { - wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) ); - exit; -} - -$wp_list_table->prepare_items(); - -$title = __('Media Library'); -$parent_file = 'upload.php'; - -wp_enqueue_script( 'media' ); - -add_screen_option( 'per_page', array('label' => _x( 'Media items', 'items per page (screen options)' )) ); - -get_current_screen()->add_help_tab( array( -'id' => 'overview', -'title' => __('Overview'), -'content' => - '

    ' . __( 'All the files you’ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the Screen Options tab to customize the display of this screen.' ) . '

    ' . - '

    ' . __( 'You can narrow the list by file type/status using the text link filters at the top of the screen. You also can refine the list by date using the dropdown menu above the media table.' ) . '

    ' . - '

    ' . __( 'You can view your media in a simple visual grid or a list with columns. Switch between these views using the icons to the left above the media.' ) . '

    ' -) ); -get_current_screen()->add_help_tab( array( -'id' => 'actions-links', -'title' => __('Available Actions'), -'content' => - '

    ' . __( 'Hovering over a row reveals action links: Edit, Delete Permanently, and View. Clicking Edit or on the media file’s name displays a simple screen to edit that individual file’s metadata. Clicking Delete Permanently will delete the file from the media library (as well as from any posts to which it is currently attached). View will take you to the display page for that file.' ) . '

    ' -) ); -get_current_screen()->add_help_tab( array( -'id' => 'attaching-files', -'title' => __('Attaching Files'), -'content' => - '

    ' . __( 'If a media file has not been attached to any post, you will see that in the Attached To column, and can click on Attach File to launch a small popup that will allow you to search for a post and attach the file.' ) . '

    ' -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __( 'For more information:' ) . '

    ' . - '

    ' . __( 'Documentation on Media Library' ) . '

    ' . - '

    ' . __( 'Support Forums' ) . '

    ' -); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
    -

    - - ' . __('Search results for “%s”') . '', get_search_query() ); ?> -

    - -' . __('Undo') . ''; - $_SERVER['REQUEST_URI'] = remove_query_arg(array('trashed'), $_SERVER['REQUEST_URI']); -} - -if ( ! empty( $_GET['untrashed'] ) && $untrashed = absint( $_GET['untrashed'] ) ) { - $message = sprintf( _n( 'Media attachment restored from the trash.', '%d media attachments restored from the trash.', $untrashed ), number_format_i18n( $_GET['untrashed'] ) ); - $_SERVER['REQUEST_URI'] = remove_query_arg(array('untrashed'), $_SERVER['REQUEST_URI']); -} - -$messages[1] = __('Media attachment updated.'); -$messages[2] = __('Media permanently deleted.'); -$messages[3] = __('Error saving media attachment.'); -$messages[4] = __('Media moved to the trash.') . ' ' . __('Undo') . ''; -$messages[5] = __('Media restored from the trash.'); - -if ( ! empty( $_GET['message'] ) && isset( $messages[ $_GET['message'] ] ) ) { - $message = $messages[ $_GET['message'] ]; - $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']); -} - -if ( !empty($message) ) { ?> -

    - - -
    - -views(); ?> - -display(); ?> - -
    - -
    -
    - -ID ) ); - -if ( ! $user_id && IS_PROFILE_PAGE ) - $user_id = $current_user->ID; -elseif ( ! $user_id && ! IS_PROFILE_PAGE ) - wp_die(__( 'Invalid user ID.' ) ); -elseif ( ! get_userdata( $user_id ) ) - wp_die( __('Invalid user ID.') ); - -wp_enqueue_script('user-profile'); - -$title = IS_PROFILE_PAGE ? __('Profile') : __('Edit User'); -if ( current_user_can('edit_users') && !IS_PROFILE_PAGE ) - $submenu_file = 'users.php'; -else - $submenu_file = 'profile.php'; - -if ( current_user_can('edit_users') && !is_user_admin() ) - $parent_file = 'users.php'; -else - $parent_file = 'profile.php'; - -$profile_help = '

    ' . __('Your profile contains information about you (your “account”) as well as some personal options related to using WordPress.') . '

    ' . - '

    ' . __('You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things. You can hide the Toolbar (formerly called the Admin Bar) from the front end of your site, however it cannot be disabled on the admin screens.') . '

    ' . - '

    ' . __('Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts.') . '

    ' . - '

    ' . __('Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.') . '

    ' . - '

    ' . __('Remember to click the Update Profile button when you are finished.') . '

    '; - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => $profile_help, -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on User Profiles') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -$wp_http_referer = remove_query_arg(array('update', 'delete_count'), $wp_http_referer ); - -$user_can_edit = current_user_can( 'edit_posts' ) || current_user_can( 'edit_pages' ); - -/** - * Optional SSL preference that can be turned on by hooking to the 'personal_options' action. - * - * @since 2.7.0 - * - * @param object $user User data object - */ -function use_ssl_preference($user) { -?> - - - - -ID - && ! apply_filters( 'enable_edit_any_user_configuration', true ) -) { - wp_die( __( 'You do not have permission to edit this user.' ) ); -} - -// Execute confirmed email change. See send_confirmation_on_profile_email(). -if ( is_multisite() && IS_PROFILE_PAGE && isset( $_GET[ 'newuseremail' ] ) && $current_user->ID ) { - $new_email = get_option( $current_user->ID . '_new_email' ); - if ( $new_email[ 'hash' ] == $_GET[ 'newuseremail' ] ) { - $user = new stdClass; - $user->ID = $current_user->ID; - $user->user_email = esc_html( trim( $new_email[ 'newemail' ] ) ); - if ( $wpdb->get_var( $wpdb->prepare( "SELECT user_login FROM {$wpdb->signups} WHERE user_login = %s", $current_user->user_login ) ) ) - $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->signups} SET user_email = %s WHERE user_login = %s", $user->user_email, $current_user->user_login ) ); - wp_update_user( $user ); - delete_option( $current_user->ID . '_new_email' ); - wp_redirect( add_query_arg( array('updated' => 'true'), self_admin_url( 'profile.php' ) ) ); - die(); - } -} elseif ( is_multisite() && IS_PROFILE_PAGE && !empty( $_GET['dismiss'] ) && $current_user->ID . '_new_email' == $_GET['dismiss'] ) { - delete_option( $current_user->ID . '_new_email' ); - wp_redirect( add_query_arg( array('updated' => 'true'), self_admin_url( 'profile.php' ) ) ); - die(); -} - -switch ($action) { -case 'update': - -check_admin_referer('update-user_' . $user_id); - -if ( !current_user_can('edit_user', $user_id) ) - wp_die(__('You do not have permission to edit this user.')); - -if ( IS_PROFILE_PAGE ) { - /** - * Fires before the page loads on the 'Your Profile' editing screen. - * - * The action only fires if the current user is editing their own profile. - * - * @since 2.0.0 - * - * @param int $user_id The user ID. - */ - do_action( 'personal_options_update', $user_id ); -} else { - /** - * Fires before the page loads on the 'Edit User' screen. - * - * @since 2.7.0 - * - * @param int $user_id The user ID. - */ - do_action( 'edit_user_profile_update', $user_id ); -} - -if ( !is_multisite() ) { - $errors = edit_user($user_id); -} else { - $user = get_userdata( $user_id ); - - // Update the email address in signups, if present. - if ( $user->user_login && isset( $_POST[ 'email' ] ) && is_email( $_POST[ 'email' ] ) && $wpdb->get_var( $wpdb->prepare( "SELECT user_login FROM {$wpdb->signups} WHERE user_login = %s", $user->user_login ) ) ) - $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->signups} SET user_email = %s WHERE user_login = %s", $_POST[ 'email' ], $user_login ) ); - - // We must delete the user from the current blog if WP added them after editing. - $delete_role = false; - $blog_prefix = $wpdb->get_blog_prefix(); - if ( $user_id != $current_user->ID ) { - $cap = $wpdb->get_var( "SELECT meta_value FROM {$wpdb->usermeta} WHERE user_id = '{$user_id}' AND meta_key = '{$blog_prefix}capabilities' AND meta_value = 'a:0:{}'" ); - if ( !is_network_admin() && null == $cap && $_POST[ 'role' ] == '' ) { - $_POST[ 'role' ] = 'contributor'; - $delete_role = true; - } - } - if ( !isset( $errors ) || ( isset( $errors ) && is_object( $errors ) && false == $errors->get_error_codes() ) ) - $errors = edit_user($user_id); - if ( $delete_role ) // stops users being added to current blog when they are edited - delete_user_meta( $user_id, $blog_prefix . 'capabilities' ); - - if ( is_multisite() && is_network_admin() && !IS_PROFILE_PAGE && current_user_can( 'manage_network_options' ) && !isset($super_admins) && empty( $_POST['super_admin'] ) == is_super_admin( $user_id ) ) - empty( $_POST['super_admin'] ) ? revoke_super_admin( $user_id ) : grant_super_admin( $user_id ); -} - -if ( !is_wp_error( $errors ) ) { - $redirect = add_query_arg( 'updated', true, get_edit_user_link( $user_id ) ); - if ( $wp_http_referer ) - $redirect = add_query_arg('wp_http_referer', urlencode($wp_http_referer), $redirect); - wp_redirect($redirect); - exit; -} - -default: -$profileuser = get_user_to_edit($user_id); - -if ( !current_user_can('edit_user', $user_id) ) - wp_die(__('You do not have permission to edit this user.')); - -include(ABSPATH . 'wp-admin/admin-header.php'); -?> - -ID ) && current_user_can( 'manage_network_options' ) ) { ?> -

    - - -
    - -

    - -

    - - -

    - -
    - - -

    \n

    ", $errors->get_error_messages() ); ?>

    - - -
    -

    - - - - - -

    - -
    > - - - - -

    - - -

    - -

    - - - - - - - - - 1 && has_action('admin_color_scheme_picker') ) : ?> - - - - - - - - - - - - - - - - -
    More information'); ?>
    -
    -
    -
    - - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -user_email != get_site_option( 'admin_email' ) || ! is_super_admin( $profileuser->ID ) ) : ?> -

    - -

    - -
    - -
    - -

    - - - - - - - - - - - - - $desc ) { -?> - - - - - - -
    - ID . '_new_email' ); - if ( $new_email && $new_email['newemail'] != $current_user->user_email && $profileuser->ID == $current_user->ID ) : ?> -
    -

    %1$s. Cancel'), $new_email['newemail'], esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?>

    -
    - -
    - -

    - - - - - - - - - - - - - - - - - -

    -
    - -
    - -
    -
    - -
    -
    -

    -
    - - - -caps ) > count( $profileuser->roles ) - && apply_filters( 'additional_capabilities_display', true, $profileuser ) -) : ?> -

    - - - - - -
    -caps as $cap => $value ) { - if ( ! $wp_roles->is_role( $cap ) ) { - if ( '' != $output ) - $output .= ', '; - $output .= $value ? $cap : sprintf( __( 'Denied: %s' ), $cap ); - } - } - echo $output; -?> -
    - - - - - - - -
    -
    - - - 'enter_email'), 'user-new.php' ) ); - die(); - } - } - - if ( !$user_details ) { - wp_redirect( add_query_arg( array('update' => 'does_not_exist'), 'user-new.php' ) ); - die(); - } - - if ( ! current_user_can('promote_user', $user_details->ID) ) - wp_die(__('Cheatin’ uh?')); - - // Adding an existing user to this blog - $new_user_email = $user_details->user_email; - $redirect = 'user-new.php'; - $username = $user_details->user_login; - $user_id = $user_details->ID; - if ( ( $username != null && !is_super_admin( $user_id ) ) && ( array_key_exists($blog_id, get_blogs_of_user($user_id)) ) ) { - $redirect = add_query_arg( array('update' => 'addexisting'), 'user-new.php' ); - } else { - if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) { - add_existing_user_to_blog( array( 'user_id' => $user_id, 'role' => $_REQUEST[ 'role' ] ) ); - $redirect = add_query_arg( array('update' => 'addnoconfirmation'), 'user-new.php' ); - } else { - $newuser_key = substr( md5( $user_id ), 0, 5 ); - add_option( 'new_user_' . $newuser_key, array( 'user_id' => $user_id, 'email' => $user_details->user_email, 'role' => $_REQUEST[ 'role' ] ) ); - - $roles = get_editable_roles(); - $role = $roles[ $_REQUEST['role'] ]; - /* translators: 1: Site name, 2: site URL, 3: role, 4: activation URL */ - $message = __( 'Hi, - -You\'ve been invited to join \'%1$s\' at -%2$s with the role of %3$s. - -Please click the following link to confirm the invite: -%4$s' ); - wp_mail( $new_user_email, sprintf( __( '[%s] Joining confirmation' ), wp_specialchars_decode( get_option( 'blogname' ) ) ), sprintf( $message, get_option( 'blogname' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ), home_url( "/newbloguser/$newuser_key/" ) ) ); - $redirect = add_query_arg( array('update' => 'add'), 'user-new.php' ); - } - } - wp_redirect( $redirect ); - die(); -} elseif ( isset($_REQUEST['action']) && 'createuser' == $_REQUEST['action'] ) { - check_admin_referer( 'create-user', '_wpnonce_create-user' ); - - if ( ! current_user_can('create_users') ) - wp_die(__('Cheatin’ uh?')); - - if ( ! is_multisite() ) { - $user_id = edit_user(); - - if ( is_wp_error( $user_id ) ) { - $add_user_errors = $user_id; - } else { - if ( current_user_can( 'list_users' ) ) - $redirect = 'users.php?update=add&id=' . $user_id; - else - $redirect = add_query_arg( 'update', 'add', 'user-new.php' ); - wp_redirect( $redirect ); - die(); - } - } else { - // Adding a new user to this site - $user_details = wpmu_validate_user_signup( $_REQUEST[ 'user_login' ], $_REQUEST[ 'email' ] ); - if ( is_wp_error( $user_details[ 'errors' ] ) && !empty( $user_details[ 'errors' ]->errors ) ) { - $add_user_errors = $user_details[ 'errors' ]; - } else { - /** - * Filter the user_login, also known as the username, before it is added to the site. - * - * @since 2.0.3 - * - * @param string $user_login The sanitized username. - */ - $new_user_login = apply_filters( 'pre_user_login', sanitize_user( wp_unslash( $_REQUEST['user_login'] ), true ) ); - if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) { - add_filter( 'wpmu_signup_user_notification', '__return_false' ); // Disable confirmation email - } - wpmu_signup_user( $new_user_login, $_REQUEST[ 'email' ], array( 'add_to_blog' => $wpdb->blogid, 'new_role' => $_REQUEST[ 'role' ] ) ); - if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) { - $key = $wpdb->get_var( $wpdb->prepare( "SELECT activation_key FROM {$wpdb->signups} WHERE user_login = %s AND user_email = %s", $new_user_login, $_REQUEST[ 'email' ] ) ); - wpmu_activate_signup( $key ); - $redirect = add_query_arg( array('update' => 'addnoconfirmation'), 'user-new.php' ); - } else { - $redirect = add_query_arg( array('update' => 'newuserconfirmation'), 'user-new.php' ); - } - wp_redirect( $redirect ); - die(); - } - } -} - -$title = __('Add New User'); -$parent_file = 'users.php'; - -$do_both = false; -if ( is_multisite() && current_user_can('promote_users') && current_user_can('create_users') ) - $do_both = true; - -$help = '

    ' . __('To add a new user to your site, fill in the form on this screen and click the Add New User button at the bottom.') . '

    '; - -if ( is_multisite() ) { - $help .= '

    ' . __('Because this is a multisite installation, you may add accounts that already exist on the Network by specifying a username or email, and defining a role. For more options, such as specifying a password, you have to be a Network Administrator and use the hover link under an existing user’s name to Edit the user profile under Network Admin > All Users.') . '

    ' . - '

    ' . __('New users will receive an email letting them know they’ve been added as a user for your site. This email will also contain their password. Check the box if you don’t want the user to receive a welcome email.') . '

    '; -} else { - $help .= '

    ' . __('You must assign a password to the new user, which they can change after logging in. The username, however, cannot be changed.') . '

    ' . - '

    ' . __('New users will receive an email letting them know they’ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don’t want the password to be included in the welcome email.') . '

    '; -} - -$help .= '

    ' . __('Remember to click the Add New User button at the bottom of this screen when you are finished.') . '

    '; - -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => $help, -) ); - -get_current_screen()->add_help_tab( array( -'id' => 'user-roles', -'title' => __('User Roles'), -'content' => '

    ' . __('Here is a basic overview of the different user roles and the permissions associated with each one:') . '

    ' . - '
      ' . - '
    • ' . __('Subscribers can read comments/comment/receive newsletters, etc. but cannot create regular site content.') . '
    • ' . - '
    • ' . __('Contributors can write and manage their posts but not publish posts or upload media files.') . '
    • ' . - '
    • ' . __('Authors can publish and manage their own posts, and are able to upload files.') . '
    • ' . - '
    • ' . __('Editors can publish posts, manage posts as well as manage other people’s posts, etc.') . '
    • ' . - '
    • ' . __('Administrators have access to all the administration features.') . '
    • ' . - '
    ' -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Adding New Users') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -wp_enqueue_script('wp-ajax-response'); -wp_enqueue_script('user-profile'); - -/** - * Filter whether to enable user auto-complete for non-super admins in Multisite. - * - * @since 3.4.0 - * - * @param bool $enable Whether to enable auto-complete for non-super admins. Default false. - */ -if ( is_multisite() && current_user_can( 'promote_users' ) && ! wp_is_large_network( 'users' ) - && ( is_super_admin() || apply_filters( 'autocomplete_users_for_site_admins', false ) ) -) { - wp_enqueue_script( 'user-suggest' ); -} - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); - -if ( isset($_GET['update']) ) { - $messages = array(); - if ( is_multisite() ) { - switch ( $_GET['update'] ) { - case "newuserconfirmation": - $messages[] = __('Invitation email sent to new user. A confirmation link must be clicked before their account is created.'); - break; - case "add": - $messages[] = __('Invitation email sent to user. A confirmation link must be clicked for them to be added to your site.'); - break; - case "addnoconfirmation": - $messages[] = __('User has been added to your site.'); - break; - case "addexisting": - $messages[] = __('That user is already a member of this site.'); - break; - case "does_not_exist": - $messages[] = __('The requested user does not exist.'); - break; - case "enter_email": - $messages[] = __('Please enter a valid email address.'); - break; - } - } else { - if ( 'add' == $_GET['update'] ) - $messages[] = __('User added.'); - } -} -?> -
    -

    -

    - - -
    -
      - get_error_messages() as $err ) - echo "
    • $err
    • \n"; - ?> -
    -
    -

    ' . $msg . '

    '; -} ?> - - -
    - get_error_messages() as $message ) - echo "

    $message

    "; - ?> -
    - -
    - -' . __('Add Existing User') . ''; - if ( !is_super_admin() ) { - echo '

    ' . __( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '

    '; - $label = __('E-mail'); - $type = 'email'; - } else { - echo '

    ' . __( 'Enter the email address or username of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '

    '; - $label = __('E-mail or Username'); - $type = 'text'; - } -?> - -
    > - - - - - - - - - - - - - - - - - - -
    -
    - - 'addusersub' ) ); ?> -
    -' . __( 'Add New User' ) . ''; -?> -

    - -
    > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - -
    -
    -

    -
    -
    - - - - 'createusersub' ) ); ?> - -
    - - -domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ); -/** - * Filter whether to redirect the request to the User Admin in Multisite. - * - * @since 3.2.0 - * - * @param bool $redirect_user_admin_request Whether the request should be redirected. - */ -$redirect_user_admin_request = apply_filters( 'redirect_user_admin_request', $redirect_user_admin_request ); -if ( $redirect_user_admin_request ) { - wp_redirect( user_admin_url() ); - exit; -} -unset( $redirect_user_admin_request ); diff --git a/sources/wordpress/wp-admin/user/credits.php b/sources/wordpress/wp-admin/user/credits.php deleted file mode 100644 index 2b4021a..0000000 --- a/sources/wordpress/wp-admin/user/credits.php +++ /dev/null @@ -1,13 +0,0 @@ -get_pagenum(); -$title = __('Users'); -$parent_file = 'users.php'; - -add_screen_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) ); - -// contextual help - choose Help on the top right of admin panel to preview this. -get_current_screen()->add_help_tab( array( - 'id' => 'overview', - 'title' => __('Overview'), - 'content' => '

    ' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '

    ' . - '

    ' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '

    ' -) ) ; - -get_current_screen()->add_help_tab( array( - 'id' => 'screen-display', - 'title' => __('Screen Display'), - 'content' => '

    ' . __('You can customize the display of this screen in a number of ways:') . '

    ' . - '
      ' . - '
    • ' . __('You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab.') . '
    • ' . - '
    • ' . __('You can filter the list of users by User Role using the text links in the upper left to show All, Administrator, Editor, Author, Contributor, or Subscriber. The default view is to show all users. Unused User Roles are not listed.') . '
    • ' . - '
    • ' . __('You can view all posts made by a user by clicking on the number under the Posts column.') . '
    • ' . - '
    ' -) ); - -$help = '

    ' . __('Hovering over a row in the users list will display action links that allow you to manage users. You can perform the following actions:') . '

    ' . - '
      ' . - '
    • ' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '
    • '; - -if ( is_multisite() ) - $help .= '
    • ' . __( 'Remove allows you to remove a user from your site. It does not delete their content. You can also remove multiple users at once by using Bulk Actions.' ) . '
    • '; -else - $help .= '
    • ' . __( 'Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their content. You can also delete multiple users at once by using Bulk Actions.' ) . '
    • '; - -$help .= '
    '; - -get_current_screen()->add_help_tab( array( - 'id' => 'actions', - 'title' => __('Actions'), - 'content' => $help, -) ); -unset( $help ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Managing Users') . '

    ' . - '

    ' . __('Descriptions of Roles and Capabilities') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -if ( empty($_REQUEST) ) { - $referer = ''; -} elseif ( isset($_REQUEST['wp_http_referer']) ) { - $redirect = remove_query_arg(array('wp_http_referer', 'updated', 'delete_count'), wp_unslash( $_REQUEST['wp_http_referer'] ) ); - $referer = ''; -} else { - $redirect = 'users.php'; - $referer = ''; -} - -$update = ''; - -/** - * @since 3.5.0 - * @access private - */ -function delete_users_add_js() { ?> - -current_action() ) { - -/* Bulk Dropdown menu Role changes */ -case 'promote': - check_admin_referer('bulk-users'); - - if ( ! current_user_can( 'promote_users' ) ) - wp_die( __( 'You can’t edit that user.' ) ); - - if ( empty($_REQUEST['users']) ) { - wp_redirect($redirect); - exit(); - } - - $editable_roles = get_editable_roles(); - if ( empty( $editable_roles[$_REQUEST['new_role']] ) ) - wp_die(__('You can’t give users that role.')); - - $userids = $_REQUEST['users']; - $update = 'promote'; - foreach ( $userids as $id ) { - $id = (int) $id; - - if ( ! current_user_can('promote_user', $id) ) - wp_die(__('You can’t edit that user.')); - // The new role of the current user must also have the promote_users cap or be a multisite super admin - if ( $id == $current_user->ID && ! $wp_roles->role_objects[ $_REQUEST['new_role'] ]->has_cap('promote_users') - && ! ( is_multisite() && is_super_admin() ) ) { - $update = 'err_admin_role'; - continue; - } - - // If the user doesn't already belong to the blog, bail. - if ( is_multisite() && !is_user_member_of_blog( $id ) ) - wp_die(__('Cheatin’ uh?')); - - $user = get_userdata( $id ); - $user->set_role($_REQUEST['new_role']); - } - - wp_redirect(add_query_arg('update', $update, $redirect)); - exit(); - -case 'dodelete': - if ( is_multisite() ) - wp_die( __('User deletion is not allowed from this screen.') ); - - check_admin_referer('delete-users'); - - if ( empty($_REQUEST['users']) ) { - wp_redirect($redirect); - exit(); - } - - $userids = array_map( 'intval', (array) $_REQUEST['users'] ); - - if ( empty( $_REQUEST['delete_option'] ) ) { - $url = self_admin_url( 'users.php?action=delete&users[]=' . implode( '&users[]=', $userids ) . '&error=true' ); - $url = str_replace( '&', '&', wp_nonce_url( $url, 'bulk-users' ) ); - wp_redirect( $url ); - exit; - } - - if ( ! current_user_can( 'delete_users' ) ) - wp_die(__('You can’t delete users.')); - - $update = 'del'; - $delete_count = 0; - - foreach ( $userids as $id ) { - if ( ! current_user_can( 'delete_user', $id ) ) - wp_die(__( 'You can’t delete that user.' ) ); - - if ( $id == $current_user->ID ) { - $update = 'err_admin_del'; - continue; - } - switch ( $_REQUEST['delete_option'] ) { - case 'delete': - wp_delete_user( $id ); - break; - case 'reassign': - wp_delete_user( $id, $_REQUEST['reassign_user'] ); - break; - } - ++$delete_count; - } - - $redirect = add_query_arg( array('delete_count' => $delete_count, 'update' => $update), $redirect); - wp_redirect($redirect); - exit(); - -case 'delete': - if ( is_multisite() ) - wp_die( __('User deletion is not allowed from this screen.') ); - - check_admin_referer('bulk-users'); - - if ( empty($_REQUEST['users']) && empty($_REQUEST['user']) ) { - wp_redirect($redirect); - exit(); - } - - if ( ! current_user_can( 'delete_users' ) ) - $errors = new WP_Error( 'edit_users', __( 'You can’t delete users.' ) ); - - if ( empty($_REQUEST['users']) ) - $userids = array( intval( $_REQUEST['user'] ) ); - else - $userids = array_map( 'intval', (array) $_REQUEST['users'] ); - - add_action( 'admin_head', 'delete_users_add_js' ); - - include( ABSPATH . 'wp-admin/admin-header.php' ); -?> -
    - - - -
    -

    - -
    -

    -
    - -

    -
      -ID ) { - echo "
    • " . sprintf(__('ID #%1$s: %2$s The current user will not be deleted.'), $id, $user->user_login) . "
    • \n"; - } else { - echo "
    • " . sprintf(__('ID #%1$s: %2$s'), $id, $user->user_login) . "
    • \n"; - $go_delete++; - } - } - ?> -
    - -

    -
      -
    • -
    • - ' . __( 'Attribute all content to:' ) . ' '; - wp_dropdown_users( array( 'name' => 'reassign_user', 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?>
    • -
    - - - - -

    - -
    -
    -ID && !is_super_admin() ) { - $update = 'err_admin_remove'; - continue; - } - if ( !current_user_can('remove_user', $id) ) { - $update = 'err_admin_remove'; - continue; - } - remove_user_from_blog($id, $blog_id); - } - - $redirect = add_query_arg( array('update' => $update), $redirect); - wp_redirect($redirect); - exit; - -case 'remove': - - check_admin_referer('bulk-users'); - - if ( ! is_multisite() ) - wp_die( __( 'You can’t remove users.' ) ); - - if ( empty($_REQUEST['users']) && empty($_REQUEST['user']) ) { - wp_redirect($redirect); - exit(); - } - - if ( !current_user_can('remove_users') ) - $error = new WP_Error('edit_users', __('You can’t remove users.')); - - if ( empty($_REQUEST['users']) ) - $userids = array(intval($_REQUEST['user'])); - else - $userids = $_REQUEST['users']; - - include( ABSPATH . 'wp-admin/admin-header.php' ); -?> -
    - - - -
    -

    -

    -
      -ID && !is_super_admin() ) { - echo "
    • " . sprintf(__('ID #%1$s: %2$s The current user will not be removed.'), $id, $user->user_login) . "
    • \n"; - } elseif ( !current_user_can('remove_user', $id) ) { - echo "
    • " . sprintf(__('ID #%1$s: %2$s You don\'t have permission to remove this user.'), $id, $user->user_login) . "
    • \n"; - } else { - echo "
    • " . sprintf(__('ID #%1$s: %2$s'), $id, $user->user_login) . "
    • \n"; - $go_remove = true; - } - } - ?> -
    - - - - -

    - -
    -
    -prepare_items(); - $total_pages = $wp_list_table->get_pagination_arg( 'total_pages' ); - if ( $pagenum > $total_pages && $total_pages > 0 ) { - wp_redirect( add_query_arg( 'paged', $total_pages ) ); - exit; - } - - include( ABSPATH . 'wp-admin/admin-header.php' ); - - $messages = array(); - if ( isset($_GET['update']) ) : - switch($_GET['update']) { - case 'del': - case 'del_many': - $delete_count = isset($_GET['delete_count']) ? (int) $_GET['delete_count'] : 0; - $messages[] = '

    ' . sprintf( _n( 'User deleted.', '%s users deleted.', $delete_count ), number_format_i18n( $delete_count ) ) . '

    '; - break; - case 'add': - if ( isset( $_GET['id'] ) && ( $user_id = $_GET['id'] ) && current_user_can( 'edit_user', $user_id ) ) { - $messages[] = '

    ' . sprintf( __( 'New user created. Edit user' ), - esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), - self_admin_url( 'user-edit.php?user_id=' . $user_id ) ) ) ) . '

    '; - } else { - $messages[] = '

    ' . __( 'New user created.' ) . '

    '; - } - break; - case 'promote': - $messages[] = '

    ' . __('Changed roles.') . '

    '; - break; - case 'err_admin_role': - $messages[] = '

    ' . __('The current user’s role must have user editing capabilities.') . '

    '; - $messages[] = '

    ' . __('Other user roles have been changed.') . '

    '; - break; - case 'err_admin_del': - $messages[] = '

    ' . __('You can’t delete the current user.') . '

    '; - $messages[] = '

    ' . __('Other users have been deleted.') . '

    '; - break; - case 'remove': - $messages[] = '

    ' . __('User removed from this site.') . '

    '; - break; - case 'err_admin_remove': - $messages[] = '

    ' . __("You can't remove the current user.") . '

    '; - $messages[] = '

    ' . __('Other users have been removed.') . '

    '; - break; - } - endif; ?> - - -
    -
      - get_error_messages() as $err ) - echo "
    • $err
    • \n"; - ?> -
    -
    - - -
    -

    - - - - -' . __('Search results for “%s”') . '', esc_html( $usersearch ) ); ?> -

    - -views(); ?> - -
    - -search_box( __( 'Search Users' ), 'user' ); ?> - -display(); ?> -
    - -
    -
    -add_help_tab( array( -'id' => 'overview', -'title' => __('Overview'), -'content' => - '

    ' . __('Widgets are independent sections of content that can be placed into any widgetized area provided by your theme (commonly called sidebars). To populate your sidebars/widget areas with individual widgets, drag and drop the title bars into the desired area. By default, only the first widget area is expanded. To populate additional widget areas, click on their title bars to expand them.') . '

    -

    ' . __('The Available Widgets section contains all the widgets you can choose from. Once you drag a widget into a sidebar, it will open to allow you to configure its settings. When you are happy with the widget settings, click the Save button and the widget will go live on your site. If you click Delete, it will remove the widget.') . '

    ' -) ); -get_current_screen()->add_help_tab( array( -'id' => 'removing-reusing', -'title' => __('Removing and Reusing'), -'content' => - '

    ' . __('If you want to remove the widget but save its setting for possible future use, just drag it into the Inactive Widgets area. You can add them back anytime from there. This is especially helpful when you switch to a theme with fewer or different widget areas.') . '

    -

    ' . __('Widgets may be used multiple times. You can give each widget a title, to display on your site, but it’s not required.') . '

    -

    ' . __('Enabling Accessibility Mode, via Screen Options, allows you to use Add and Edit buttons instead of using drag and drop.') . '

    ' -) ); -get_current_screen()->add_help_tab( array( -'id' => 'missing-widgets', -'title' => __('Missing Widgets'), -'content' => - '

    ' . __('Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area.') . '

    ' . - '

    ' . __('When changing themes, there is often some variation in the number and setup of widget areas/sidebars and sometimes these conflicts make the transition a bit less smooth. If you changed themes and seem to be missing widgets, scroll down on this screen to the Inactive Widgets area, where all of your widgets and their settings will have been saved.') . '

    ' -) ); - -get_current_screen()->set_help_sidebar( - '

    ' . __('For more information:') . '

    ' . - '

    ' . __('Documentation on Widgets') . '

    ' . - '

    ' . __('Support Forums') . '

    ' -); - -if ( ! current_theme_supports( 'widgets' ) ) { - wp_die( __( 'The theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please follow these instructions.' ) ); -} - -// These are the widgets grouped by sidebar -$sidebars_widgets = wp_get_sidebars_widgets(); - -if ( empty( $sidebars_widgets ) ) - $sidebars_widgets = wp_get_widget_defaults(); - -foreach ( $sidebars_widgets as $sidebar_id => $widgets ) { - if ( 'wp_inactive_widgets' == $sidebar_id ) - continue; - - if ( !isset( $wp_registered_sidebars[ $sidebar_id ] ) ) { - if ( ! empty( $widgets ) ) { // register the inactive_widgets area as sidebar - register_sidebar(array( - 'name' => __( 'Inactive Sidebar (not used)' ), - 'id' => $sidebar_id, - 'class' => 'inactive-sidebar orphan-sidebar', - 'description' => __( 'This sidebar is no longer available and does not show anywhere on your site. Remove each of the widgets below to fully remove this inactive sidebar.' ), - 'before_widget' => '', - 'after_widget' => '', - 'before_title' => '', - 'after_title' => '', - )); - } else { - unset( $sidebars_widgets[ $sidebar_id ] ); - } - } -} - -// register the inactive_widgets area as sidebar -register_sidebar(array( - 'name' => __('Inactive Widgets'), - 'id' => 'wp_inactive_widgets', - 'class' => 'inactive-sidebar', - 'description' => __( 'Drag widgets here to remove them from the sidebar but keep their settings.' ), - 'before_widget' => '', - 'after_widget' => '', - 'before_title' => '', - 'after_title' => '', -)); - -retrieve_widgets(); - -// We're saving a widget without js -if ( isset($_POST['savewidget']) || isset($_POST['removewidget']) ) { - $widget_id = $_POST['widget-id']; - check_admin_referer("save-delete-widget-$widget_id"); - - $number = isset($_POST['multi_number']) ? (int) $_POST['multi_number'] : ''; - if ( $number ) { - foreach ( $_POST as $key => $val ) { - if ( is_array($val) && preg_match('/__i__|%i%/', key($val)) ) { - $_POST[$key] = array( $number => array_shift($val) ); - break; - } - } - } - - $sidebar_id = $_POST['sidebar']; - $position = isset($_POST[$sidebar_id . '_position']) ? (int) $_POST[$sidebar_id . '_position'] - 1 : 0; - - $id_base = $_POST['id_base']; - $sidebar = isset($sidebars_widgets[$sidebar_id]) ? $sidebars_widgets[$sidebar_id] : array(); - - // Delete. - if ( isset($_POST['removewidget']) && $_POST['removewidget'] ) { - - if ( !in_array($widget_id, $sidebar, true) ) { - wp_redirect( admin_url('widgets.php?error=0') ); - exit; - } - - $sidebar = array_diff( $sidebar, array($widget_id) ); - $_POST = array('sidebar' => $sidebar_id, 'widget-' . $id_base => array(), 'the-widget-id' => $widget_id, 'delete_widget' => '1'); - } - - $_POST['widget-id'] = $sidebar; - - foreach ( (array) $wp_registered_widget_updates as $name => $control ) { - if ( $name != $id_base || !is_callable($control['callback']) ) - continue; - - ob_start(); - call_user_func_array( $control['callback'], $control['params'] ); - ob_end_clean(); - - break; - } - - $sidebars_widgets[$sidebar_id] = $sidebar; - - // Remove old position. - if ( !isset($_POST['delete_widget']) ) { - foreach ( $sidebars_widgets as $key => $sb ) { - if ( is_array($sb) ) - $sidebars_widgets[$key] = array_diff( $sb, array($widget_id) ); - } - array_splice( $sidebars_widgets[$sidebar_id], $position, 0, $widget_id ); - } - - wp_set_sidebars_widgets($sidebars_widgets); - wp_redirect( admin_url('widgets.php?message=0') ); - exit; -} - -// Output the widget form without js -if ( isset($_GET['editwidget']) && $_GET['editwidget'] ) { - $widget_id = $_GET['editwidget']; - - if ( isset($_GET['addnew']) ) { - // Default to the first sidebar - $keys = array_keys( $wp_registered_sidebars ); - $sidebar = array_shift( $keys ); - - if ( isset($_GET['base']) && isset($_GET['num']) ) { // multi-widget - // Copy minimal info from an existing instance of this widget to a new instance - foreach ( $wp_registered_widget_controls as $control ) { - if ( $_GET['base'] === $control['id_base'] ) { - $control_callback = $control['callback']; - $multi_number = (int) $_GET['num']; - $control['params'][0]['number'] = -1; - $widget_id = $control['id'] = $control['id_base'] . '-' . $multi_number; - $wp_registered_widget_controls[$control['id']] = $control; - break; - } - } - } - } - - if ( isset($wp_registered_widget_controls[$widget_id]) && !isset($control) ) { - $control = $wp_registered_widget_controls[$widget_id]; - $control_callback = $control['callback']; - } elseif ( !isset($wp_registered_widget_controls[$widget_id]) && isset($wp_registered_widgets[$widget_id]) ) { - $name = esc_html( strip_tags($wp_registered_widgets[$widget_id]['name']) ); - } - - if ( !isset($name) ) - $name = esc_html( strip_tags($control['name']) ); - - if ( !isset($sidebar) ) - $sidebar = isset($_GET['sidebar']) ? $_GET['sidebar'] : 'wp_inactive_widgets'; - - if ( !isset($multi_number) ) - $multi_number = isset($control['params'][0]['number']) ? $control['params'][0]['number'] : ''; - - $id_base = isset($control['id_base']) ? $control['id_base'] : $control['id']; - - // Show the widget form. - $width = ' style="width:' . max($control['width'], 350) . 'px"'; - $key = isset($_GET['key']) ? (int) $_GET['key'] : 0; - - require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> -
    -

    -
    > -

    - -
    -
    -' . __('There are no options for this widget.') . "

    \n"; ?> -
    - -

    -
    - - $sbvalue ) { - echo "\t\t\n"; - } ?> -
    "; - if ( 'wp_inactive_widgets' == $sbname || 'orphaned_widgets' == substr( $sbname, 0, 16 ) ) { - echo ' '; - } else { - if ( !isset($sidebars_widgets[$sbname]) || !is_array($sidebars_widgets[$sbname]) ) { - $j = 1; - $sidebars_widgets[$sbname] = array(); - } else { - $j = count($sidebars_widgets[$sbname]); - if ( isset($_GET['addnew']) || !in_array($widget_id, $sidebars_widgets[$sbname], true) ) - $j++; - } - $selected = ''; - echo "\t\t\n"; - } - echo "
    -
    - -
    - - - - - - - -
    -
    -
    -
    -
    - - -
    -

    - - -

    - - -

    - - - - -
    -
    -
    - -
    - -
    - -
    -
    -
    -
    -
    - - $registered_sidebar ) { - if ( false !== strpos( $registered_sidebar['class'], 'inactive-sidebar' ) || 'orphaned_widgets' == substr( $sidebar, 0, 16 ) ) { - $wrap_class = 'widgets-holder-wrap'; - if ( !empty( $registered_sidebar['class'] ) ) - $wrap_class .= ' ' . $registered_sidebar['class']; - - ?> -
    -
    - -
    -
    -
    - -
    -
    - 1 ) { - $split = ceil( $sidebars_count / 2 ); -} else { - $single_sidebar_class = ' class="single-sidebar"'; -} - -?> -
    -
    > - -
    -
    -
    - -
    -
    -
    - -
    -
      -
      - - -
      -
      - -comment_status ) ) { - /** - * Fires when a comment is attempted on a post that does not exist. - * - * @since 1.5.0 - * - * @param int $comment_post_ID Post ID. - */ - do_action( 'comment_id_not_found', $comment_post_ID ); - exit; -} - -// get_post_status() will get the parent status for attachments. -$status = get_post_status($post); - -$status_obj = get_post_status_object($status); - -if ( ! comments_open( $comment_post_ID ) ) { - /** - * Fires when a comment is attempted on a post that has comments closed. - * - * @since 1.5.0 - * - * @param int $comment_post_ID Post ID. - */ - do_action( 'comment_closed', $comment_post_ID ); - wp_die( __('Sorry, comments are closed for this item.') ); -} elseif ( 'trash' == $status ) { - /** - * Fires when a comment is attempted on a trashed post. - * - * @since 2.9.0 - * - * @param int $comment_post_ID Post ID. - */ - do_action( 'comment_on_trash', $comment_post_ID ); - exit; -} elseif ( ! $status_obj->public && ! $status_obj->private ) { - /** - * Fires when a comment is attempted on a post in draft mode. - * - * @since 1.5.1 - * - * @param int $comment_post_ID Post ID. - */ - do_action( 'comment_on_draft', $comment_post_ID ); - exit; -} elseif ( post_password_required( $comment_post_ID ) ) { - /** - * Fires when a comment is attempted on a password-protected post. - * - * @since 2.9.0 - * - * @param int $comment_post_ID Post ID. - */ - do_action( 'comment_on_password_protected', $comment_post_ID ); - exit; -} else { - /** - * Fires before a comment is posted. - * - * @since 2.8.0 - * - * @param int $comment_post_ID Post ID. - */ - do_action( 'pre_comment_on_post', $comment_post_ID ); -} - -$comment_author = ( isset($_POST['author']) ) ? trim(strip_tags($_POST['author'])) : null; -$comment_author_email = ( isset($_POST['email']) ) ? trim($_POST['email']) : null; -$comment_author_url = ( isset($_POST['url']) ) ? trim($_POST['url']) : null; -$comment_content = ( isset($_POST['comment']) ) ? trim($_POST['comment']) : null; - -// If the user is logged in -$user = wp_get_current_user(); -if ( $user->exists() ) { - if ( empty( $user->display_name ) ) - $user->display_name=$user->user_login; - $comment_author = wp_slash( $user->display_name ); - $comment_author_email = wp_slash( $user->user_email ); - $comment_author_url = wp_slash( $user->user_url ); - if ( current_user_can( 'unfiltered_html' ) ) { - if ( ! isset( $_POST['_wp_unfiltered_html_comment'] ) - || ! wp_verify_nonce( $_POST['_wp_unfiltered_html_comment'], 'unfiltered-html-comment_' . $comment_post_ID ) - ) { - kses_remove_filters(); // start with a clean slate - kses_init_filters(); // set up the filters - } - } -} else { - if ( get_option('comment_registration') || 'private' == $status ) - wp_die( __('Sorry, you must be logged in to post a comment.') ); -} - -$comment_type = ''; - -if ( get_option('require_name_email') && !$user->exists() ) { - if ( 6 > strlen($comment_author_email) || '' == $comment_author ) - wp_die( __('ERROR: please fill the required fields (name, email).') ); - elseif ( !is_email($comment_author_email)) - wp_die( __('ERROR: please enter a valid email address.') ); -} - -if ( '' == $comment_content ) - wp_die( __('ERROR: please type a comment.') ); - -$comment_parent = isset($_POST['comment_parent']) ? absint($_POST['comment_parent']) : 0; - -$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'comment_parent', 'user_ID'); - -$comment_id = wp_new_comment( $commentdata ); -if ( ! $comment_id ) { - wp_die( __( "ERROR: The comment could not be saved. Please try again later." ) ); -} - -$comment = get_comment( $comment_id ); - -/** - * Perform other actions when comment cookies are set. - * - * @since 3.4.0 - * - * @param object $comment Comment object. - * @param WP_User $user User object. The user may not exist. - */ -do_action( 'set_comment_cookies', $comment, $user ); - -$location = empty($_POST['redirect_to']) ? get_comment_link($comment_id) : $_POST['redirect_to'] . '#comment-' . $comment_id; - -/** - * Filter the location URI to send the commenter after posting. - * - * @since 2.0.5 - * - * @param string $location The 'redirect_to' URI sent via $_POST. - * @param object $comment Comment object. - */ -$location = apply_filters( 'comment_post_redirect', $location, $comment ); - -wp_safe_redirect( $location ); -exit; diff --git a/sources/wordpress/wp-config-sample.php b/sources/wordpress/wp-config-sample.php deleted file mode 100644 index 5ec92ff..0000000 --- a/sources/wordpress/wp-config-sample.php +++ /dev/null @@ -1,89 +0,0 @@ - 1;\n" -"X-Generator: GlotPress/0.1\n" -"Project-Id-Version: Administration\n" - -#: wp-admin/includes/screen.php:1049 -msgctxt "Welcome panel" -msgid "Welcome" -msgstr "Bienvenue" - -#: wp-admin/menu.php:167 -msgctxt "theme editor" -msgid "Editor" -msgstr "Éditeur" - -#: wp-admin/plugin-install.php:101 -msgctxt "plugins" -msgid "Browse" -msgstr "Parcourir" - -#: wp-admin/includes/class-wp-ms-users-list-table.php:98 -#: wp-admin/includes/class-wp-users-list-table.php:156 -msgctxt "users" -msgid "All (%s)" -msgid_plural "All (%s)" -msgstr[0] "Tous (%s)" -msgstr[1] "Tous (%s)" - -#: wp-admin/edit-link-form.php:94 -#: wp-admin/includes/class-wp-links-list-table.php:91 -msgctxt "link name" -msgid "Name" -msgstr "Nom" - -#. translators: comment type radio button -#: wp-admin/edit-form-comment.php:90 -msgctxt "adjective" -msgid "Pending" -msgstr "En attente" - -#: wp-admin/credits.php:182 -msgid "Release Lead" -msgstr "Responsable de cette version" - -#: wp-admin/upload.php:45 -msgid "Use the arrow buttons at the top of the dialog, or the left and right arrow keys on your keyboard, to navigate between media items quickly." -msgstr "Utilisez les boutons fléchées au-dessus de la fenêtre ou les flèches gauche et droite du clavier pour passer rapidement d’un média à l’autre." - -#: wp-admin/upload.php:36 wp-admin/upload.php:202 -msgid "You can view your media in a simple visual grid or a list with columns. Switch between these views using the icons to the left above the media." -msgstr "Vous pouvez voir vos médias dans une grille ou dans une liste avec des colonnes. Passez de l’un à l’autre en utilisant les icônes en haut à gauche des médias." - -#: wp-admin/upload.php:37 -msgid "To delete media items, click the Bulk Select button at the top of the screen. Select any items you wish to delete, then click the Delete Selected button. Clicking the Cancel Selection button takes you back to viewing your media." -msgstr "Pour supprimer des éléments de la liste des médias, cliquez sur le bouton de Sélection multiple en haut de l’écran. Sélectionnez tous les éléments à supprimer, puis cliquez sur le bouton Supprimer la sélection. En cliquant sur le bouton Annuler la sélection vous reviendrez sur la vue normale des médias." - -#: wp-admin/upload.php:44 -msgid "Clicking an item will display an Attachment Details dialog, which allows you to preview media and make quick edits. Any changes you make to the attachment details will be automatically saved." -msgstr "Cliquer sur un élément affichera une fenêtre avec les détails du fichier, ce qui vous permettra de prévisualiser le média et réaliser de rapides modifications. Tous les changements que vous ferez dans les détails du média seront automatiquement sauvegardés." - -#: wp-admin/upload.php:46 -msgid "You can also delete individual items and access the extended edit screen from the details dialog." -msgstr "Vous pouvez aussi supprimer les éléments individuellement et accéder à l’écran de modifications étendues par la fenêtre des détails." - -#: wp-admin/about.php:30 wp-admin/credits.php:85 wp-admin/freedoms.php:22 -msgid "Thank you for updating! WordPress %s brings you a smoother writing and management experience." -msgstr "Merci d’avoir mis à jour ! WordPress %s vous donne une écriture plus fluide et une meilleure gestion des contenus." - -#: wp-admin/about.php:65 -msgid "Manage your media with style" -msgstr "Gérez vos médias avec style" - -#: wp-admin/about.php:66 -msgid "Explore your uploads in a beautiful, endless grid. A new details preview makes viewing and editing any amount of media in sequence a snap." -msgstr "Explorez vos médias dans une superbe grille infinie. Une nouvelle prévisualisation détaillée vous permet de voir et de modifier vos fichiers média en un clin d’œil." - -#: wp-admin/about.php:92 -msgid "Working with embeds has never been easier" -msgstr "Travailler avec les médias intégrés n’a jamais été aussi simple" - -#: wp-admin/about.php:93 -msgid "Paste in a YouTube URL on a new line, and watch it magically become an embedded video. Now try it with a tweet. Oh yeah — embedding has become a visual experience. The editor shows a true preview of your embedded content, saving you time and giving you confidence." -msgstr "Collez une adresse YouTube sur une nouvelle ligne et voyez une vidéo intégrée apparaître comme par magie. Maintenant, essayez avec un tweet. Génial ! L’intégration de médias est devenue plus visuelle que jamais. L’éditeur présente un véritable aperçu de votre contenu intégré, vous faisant ainsi gagner du temps et vous redonnant confiance en ce que vous faites." - -#: wp-admin/about.php:94 -msgid "We’ve expanded the services supported by default, too — you can embed videos from CollegeHumor, playlists from YouTube, and talks from TED. Check out all of the embeds that WordPress supports." -msgstr "Nous avons aussi allongé la liste de sites reconnus par défaut — vous pouvez intégrer des vidéos de CollegeHumor, des listes de lecture YouTube ou des conférences TED. Consultez la liste complète des sites que WordPress reconnaît." - -#: wp-admin/about.php:102 -msgid "Focus on your content" -msgstr "Concentrez-vous sur votre contenu" - -#: wp-admin/about.php:103 -msgid "Writing and editing is smoother and more immersive with an editor that expands to fit your content as you write, and keeps the formatting tools available at all times." -msgstr "L’écriture et la modification de contenus devient plus agréable et immersive avec un éditeur dont la taille s’adapte à votre contenu tandis que vous l’écrivez, et maintien les outils de formatage à portée de souris." - -#: wp-admin/about.php:129 -msgid "Finding the right plugin" -msgstr "Trouver la bonne extension" - -#: wp-admin/about.php:130 -msgid "There are more than 30,000 free and open source plugins in the WordPress plugin directory. WordPress 4.0 makes it easier to find the right one for your needs, with new metrics, improved search, and a more visual browsing experience." -msgstr "Il y a plus de 30 000 extensions libres et open source dans le dépôt d’extensions de WordPress. WordPress 4.0 vous facilite la découverte de celle qui vous correspond, avec de nouveaux indicateurs, une recherche améliorée et navigation plus visuelle." - -#: wp-admin/about.php:131 -msgid "Browse plugins" -msgstr "Parcourir les extensions" - -#: wp-admin/about.php:143 -msgid "Customizer API" -msgstr "API de personnalisation de thème" - -#: wp-admin/about.php:144 -msgid "Contexts, panels, and a wider array of controls are now supported in the customizer." -msgstr "Les contextes, les panneaux et un plus grand choix de contrôles sont maintenant reconnus par le personnalisateur de thème." - -#: wp-admin/about.php:147 -msgid "Query Ordering" -msgstr "Tri de requête" - -#. translators: 1: "ORDER BY" (SQL), 2: "WP_Query" -#: wp-admin/about.php:150 -msgid "Developers have more flexibility creating %1$s clauses through %2$s." -msgstr "Les développeurs ont plus de flexibilité lors de la création de clauses %1$s par le biais de %2$s." - -#: wp-admin/about.php:155 -msgid "Updated libraries: TinyMCE 4.1.3, jQuery 1.11.1, MediaElement 2.15." -msgstr "Bibliothèque mises à jour : TinyMCE 4.1.3, jQuery 1.11.1, MediaElement 2.15." - -#: wp-admin/plugin-install.php:78 -msgid "If you just want to get an idea of what’s available, you can browse Featured and Popular plugins by using the links in the upper left of the screen. These sections rotate regularly." -msgstr "Si vous voulez juste vous faire une idée de ce qui est disponible, vous pouvez parcourir les rubriques Mises en avant et Populaires en utilisant les liens en haut à gauche de l’écran. Ces sections sont régulièrement renouvelées." - -#: wp-admin/upload.php:35 -msgid "All the files you’ve uploaded are listed in the Media Library, with the most recent uploads listed first." -msgstr "Tous les fichiers que vous mettez en ligne sont listés dans la bibliothèque de médias, avec le dernier mis en ligne qui apparaît en premier." - -#: wp-admin/plugin-install.php:48 -msgid "Add Plugins" -msgstr "Ajouter des extensions" - -#: wp-admin/includes/translation-install.php:23 -msgid "Invalid translation type." -msgstr "Type de traduction invalide." - -#: wp-admin/options-general.php:334 -msgid "Note:" -msgstr "Note :" - -#: wp-admin/options-general.php:334 wp-admin/options-general.php:338 -msgid "The %s constant in your %s file is no longer needed." -msgstr "La constante %s de votre fichier %s n’est plus nécessaire." - -#: wp-admin/includes/class-wp-media-list-table.php:64 -msgctxt "uploaded files" -msgid "All (%s)" -msgid_plural "All (%s)" -msgstr[0] "Tout (%s)" -msgstr[1] "Tous (%s)" - -#: wp-admin/includes/class-wp-media-list-table.php:75 -msgctxt "detached files" -msgid "Unattached (%s)" -msgid_plural "Unattached (%s)" -msgstr[0] "Non attaché (%s)" -msgstr[1] "Non attachés (%s)" - -#: wp-admin/includes/class-wp-media-list-table.php:78 -msgctxt "uploaded files" -msgid "Trash (%s)" -msgid_plural "Trash (%s)" -msgstr[0] "Corbeille (%s)" -msgstr[1] "Corbeilles (%s)" - -#: wp-admin/install.php:216 -msgid "Welcome to the famous five-minute WordPress installation process! Just fill in the information below and you’ll be on your way to using the most extendable and powerful personal publishing platform in the world." -msgstr "Bienvenue dans la très célèbre installation en 5 minutes de WordPress ! Vous n’avez qu’à remplir les informations demandées ci-dessous et vous serez prêt à utiliser la plus extensible et puissante plateforme de publication de contenu au monde." - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:472 -msgid "Untested with your version of WordPress" -msgstr "Non testé avec votre version de WordPress" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:474 -msgid "Incompatible with your version of WordPress" -msgstr "Incompatible avec votre version de WordPress" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:476 -msgid "Compatible with your version of WordPress" -msgstr "Compatible avec votre version de WordPress" - -#: wp-admin/includes/plugin-install.php:464 -msgid "%d star" -msgid_plural "%d stars" -msgstr[0] "%d étoile" -msgstr[1] "%d étoiles" - -#: wp-admin/includes/class-wp-list-table.php:396 -msgid "Select bulk action" -msgstr "Sélectionnez l’action groupée" - -#: wp-admin/includes/screen.php:977 -msgid "Expand the editor to match the window height." -msgstr "Ouvrir l’éditeur pour faire correspondre la hauteur de la fenêtre." - -#: wp-admin/includes/template.php:737 -msgid "Month" -msgstr "Mois" - -#: wp-admin/includes/template.php:746 -msgid "Day" -msgstr "Jour" - -#: wp-admin/includes/template.php:748 -msgid "Hour" -msgstr "Heure" - -#: wp-admin/includes/template.php:749 -msgid "Minute" -msgstr "Minute" - -#: wp-admin/setup-config.php:137 -msgid "We’re going to use this information to create a wp-config.php file." -msgstr "Nous allons utiliser cette information pour créer le fichier wp-config.php." - -#: wp-admin/theme-install.php:82 -msgid "You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Popular, or Latest. When you find a theme you like, you can preview it or install it." -msgstr "Vous pouvez chercher un thème par mot, par auteur ou par mot-clé. Vous pouvez également donner plus de détails en sélectionnant les critères que vous souhaitez. Autrement, vous pouvez parcourir les thèmes mis en avant, les plus récents, ou récemment mis à jour. Quand vous aurez trouvé le thème qu’il vous faut, vous pourrez le prévisualiser ou l’installer." - -#: wp-admin/theme-install.php:224 -msgctxt "theme" -msgid "Already Installed" -msgstr "Déjà installé" - -#: wp-admin/theme-install.php:232 -msgctxt "Button label for a theme" -msgid "Previous" -msgstr "Précédent" - -#: wp-admin/theme-install.php:233 -msgctxt "Button label for a theme" -msgid "Next" -msgstr "Suivant" - -#: wp-admin/update-core.php:179 -msgid "BETA TESTERS:" -msgstr "TESTEURS DE PHASE BETA :" - -#: wp-admin/update-core.php:179 -msgid "This site is set up to install updates of future beta versions automatically." -msgstr "Ce site est configuré pour installer automatiquement les mises à jour des prochaines versions bêtas." - -#: wp-admin/upload.php:70 -msgid "The grid view for the Media Library requires JavaScript. Switch to the list view." -msgstr "La vue en grille de la Bilbiothèque de Médias nécessite JavaScript. Passer à la vue en liste." - -#: wp-admin/user-new.php:310 wp-admin/user-new.php:423 -msgid "Add the user without sending an email that requires their confirmation." -msgstr "Ajouter l’utilisateur sans envoyer de message lui demandant leur confirmation." - -#: wp-admin/includes/class-wp-upgrader.php:2444 -msgid "The WordPress team is willing to help you. Forward this email to %s and the team will work with you to make sure your site is working." -msgstr "L’équipe de WordPress est prête à vous aider. Transférez ce message à %s et l’équipe vous aidera à faire en sorte que vous site fonctionne." - -#: wp-admin/includes/ajax-actions.php:2674 -msgid "%s failed to embed." -msgstr "%s n’a pas pu être intégré." - -#: wp-admin/includes/ajax-actions.php:2704 -msgid "Preview not available. %s cannot be embedded securely." -msgstr "Prévisualisation indisponible. %s n’a pas pu être inséré en toute sécurité." - -#: wp-admin/includes/class-wp-list-table.php:668 -msgid "Select Page" -msgstr "Sélectionnez une page" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:69 -msgctxt "Plugin Installer" -msgid "Beta Testing" -msgstr "Test de phase beta" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:338 -msgctxt "Plugin installer group title" -msgid "Performance" -msgstr "Performance" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:339 -msgctxt "Plugin installer group title" -msgid "Social" -msgstr "Social" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:340 -msgctxt "Plugin installer group title" -msgid "Tools" -msgstr "Outils" - -#. translators: 1: Plugin name and version. -#: wp-admin/includes/class-wp-plugin-install-list-table.php:394 -msgid "Install %s now" -msgstr "Installer %s maintenant" - -#. translators: 1: Plugin name and version -#: wp-admin/includes/class-wp-plugin-install-list-table.php:401 -msgid "Update %s now" -msgstr "Mettre à jour %s maintenant" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:416 -msgid "More Details" -msgstr "Plus de détails" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:467 -msgid "%s download" -msgid_plural "%s downloads" -msgstr[0] "%s téléchargement" -msgstr[1] "%s téléchargements" - -#: wp-admin/includes/class-wp-plugins-list-table.php:529 -msgid "View details" -msgstr "Afficher les détails" - -#: wp-admin/includes/class-wp-terms-list-table.php:140 -msgctxt "Number/count of items" -msgid "Count" -msgstr "Compte" - -#: wp-admin/includes/class-wp-theme-install-list-table.php:47 -msgctxt "themes" -msgid "Recently Updated" -msgstr "Mis à jour récemment" - -#: wp-admin/includes/class-wp-upgrader.php:2609 -msgid "" -"\n" -"UPDATE LOG\n" -"==========" -msgstr "" -"\n" -"JOURNAL DE MISE A JOUR\n" -"======================" - -#: wp-admin/includes/plugin-install.php:355 -msgctxt "Plugin installer section title" -msgid "Reviews" -msgstr "Avis" - -#: wp-admin/includes/plugin-install.php:447 -#: wp-admin/includes/plugin-install.php:495 -msgid "Donate to this plugin »" -msgstr "Faites à un don à cette extension »" - -#: wp-admin/includes/plugin-install.php:463 -msgid "Click to see reviews that provided a rating of %d star" -msgid_plural "Click to see reviews that provided a rating of %d stars" -msgstr[0] "Cliquez vous pour lire les avis qui donnent une note de %d étoile" -msgstr[1] "Cliquez vous pour lire les avis qui donnent une note de %d étoiles" - -#: wp-admin/includes/plugin-install.php:475 -msgid "Contributors" -msgstr "Contributeurs" - -#: wp-admin/customize.php:157 -msgid "The Customizer allows you to preview changes to your site before publishing them. You can also navigate to different pages on your site to preview them." -msgstr "Le Personnalisateur vous permet de prévisualiser les modifications à votre site avant de les publier. Vous pouvez parcourir différentes pages de votre site pour mieux apprécier vos modifications." - -#: wp-admin/includes/class-wp-upgrader.php:2457 -msgid "If you reach out to us, we'll also ensure you'll never have this problem again." -msgstr "Si vous nous contactez, nous ferons également en sorte que vous ne rencontriez plus jamais ce problème." - -#: wp-admin/includes/template.php:2031 -msgid "New Feature: Live Widget Previews" -msgstr "Nouvelle fonctionnalité : la prévisualisation en direct des widgets" - -#: wp-admin/includes/template.php:2032 -msgid "Add, edit, and play around with your widgets from the theme customizer." -msgstr "Ajoutez, modifiez et expérimentez avec vos widgets grâce à l’outil de personnalisation de thème." - -#: wp-admin/includes/template.php:2032 -msgid "Preview your changes in real-time and only save them when you’re ready." -msgstr "Prévisualisez vos modifications en temps réel, et enregistrez-les uniquement quand vous êtes prêt." - -#: wp-admin/theme-install.php:257 -msgid "No ratings." -msgstr "Pas de note." - -#: wp-admin/theme-install.php:175 -msgid "Filtering by:" -msgstr "Trier par :" - -#: wp-admin/theme-install.php:184 wp-admin/themes.php:238 -msgid "No themes found. Try a different search." -msgstr "Aucun thème trouvé. Essayez une autre recherche." - -#: wp-admin/includes/image-edit.php:83 -msgid "To crop the image, click on it and drag to make your selection." -msgstr "Pour couper l’image, cliquez dessus et déplacez la souris pour créer la sélection." - -#: wp-admin/includes/image-edit.php:44 -msgid "You can proportionally scale the original image. For best results, scaling should be done before you crop, flip, or rotate. Images can only be scaled down, not up." -msgstr "Vous pouvez redimensionner l’image originale de manière proportionnelle. Pour obtenir de meilleurs résultats, le redimensionnement doit être fait avant tout recadrage, retournement ou rotation. La taille des image ne peut être que réduite, pas augmentée." - -#: wp-admin/edit-comments.php:124 -msgid "A red bar on the left means the comment is waiting for you to moderate it." -msgstr "Une barre rouge sur la gauche signifie que le commentaire attention votre validation." - -#: wp-admin/edit-form-advanced.php:282 -msgid "Keyboard users: When you’re working in the visual editor, you can use Alt + F10 to access the toolbar." -msgstr "Utilisateurs du clavier : lorsque vous travaillez dans l’éditeur visuel, vous pouvez utiliser Alt + F10 pour accéder à la barre d’outils." - -#: wp-admin/includes/image-edit.php:86 -msgid "The aspect ratio is the relationship between the width and height. You can preserve the aspect ratio by holding down the shift key while resizing your selection. Use the input box to specify the aspect ratio, e.g. 1:1 (square), 4:3, 16:9, etc." -msgstr "Les proportions d’une image sont le rapport entre sa largeur et sa hauteur. Vous pouvez préserver les proportions en maintenant appuyée la touche Shift tandis que vous redimensionnez votre sélection. Utilisez le champ de saisie pour préciser la proportion à respecter, par exemple 1:1 (carré), 4:3, 16:9, etc." - -#: wp-admin/includes/image-edit.php:89 -msgid "Once you have made your selection, you can adjust it by entering the size in pixels. The minimum selection size is the thumbnail size as set in the Media settings." -msgstr "Une fois que votre sélection est faite, vous pouvez l’ajuster en saisissant une taille en pixels. La taille minimale de la sélection est celle des miniatures, tel que défini dans les réglages des Média." - -#: wp-admin/includes/image-edit.php:119 -msgid "You can edit the image while preserving the thumbnail. For example, you may wish to have a square thumbnail that displays just a section of the image." -msgstr "Vous pouvez modifier l’image tout en préservant sa miniature. Par exemple, vous pourriez vouloir avoir une miniature carrée qui n’afficherait qu’une partie de l’image." - -#: wp-admin/includes/media.php:2691 -msgid "Displayed on attachment pages." -msgstr "Affiché sur les pages des fichiers joints." - -#: wp-admin/theme-install.php:126 -msgctxt "themes" -msgid "Browse" -msgstr "Parcourir" - -#: wp-admin/includes/class-wp-comments-list-table.php:246 -msgid "All comment types" -msgstr "Tous les types de commentaire" - -#. translators: 1: relative date, 2: time, 3: post title -#: wp-admin/includes/dashboard.php:724 -msgid "%1$s, %2$s %3$s" -msgstr "%1$s, à %2$s %3$s" - -#: wp-admin/includes/class-wp-theme-install-list-table.php:44 -#: wp-admin/theme-install.php:140 -msgctxt "themes" -msgid "Featured" -msgstr "Mis en avant" - -#: wp-admin/theme-install.php:141 -msgctxt "themes" -msgid "Popular" -msgstr "Populaires" - -#: wp-admin/includes/class-wp-theme-install-list-table.php:46 -#: wp-admin/theme-install.php:142 -msgctxt "themes" -msgid "Latest" -msgstr "Derniers en date" - -#: wp-admin/users.php:46 -msgid "Remove allows you to remove a user from your site. It does not delete their content. You can also remove multiple users at once by using Bulk Actions." -msgstr "« Retirer » vous permet de retirer un utilisateur de votre site. Cela ne supprime pas son contenu. Vous pouvez également retirer plus utilisateurs à la fois avec les Actions Groupées." - -#: wp-admin/includes/upgrade.php:280 -msgid "" -"Your new WordPress site has been successfully set up at:\n" -"\n" -"%1$s\n" -"\n" -"You can log in to the administrator account with the following information:\n" -"\n" -"Username: %2$s\n" -"Password: %3$s\n" -"\n" -"We hope you enjoy your new site. Thanks!\n" -"\n" -"--The WordPress Team\n" -"https://wordpress.org/\n" -msgstr "" -"Votre nouveau site WordPress a bien été installé à l'adresse :\n" -"\n" -"%1$s\n" -"\n" -"Vous pouvez vous y connecter en tant qu'administrateur avec les informations suivantes :\n" -"\n" -"Identifiant : %2$s\n" -"Mot de passe : %3$s\n" -"\n" -"Nous espérons que vous aimerez votre nouveau site ! Merci à vous !\n" -"\n" -"-- L'équipe WordPress\n" -"https://wordpress.org/\n" - -#: wp-admin/index.php:57 -msgid "Box Controls - Click the title bar of the box to expand or collapse it. Some boxes added by plugins may have configurable content, and will show a “Configure” link in the title bar if you hover over it." -msgstr "Contrôles des blocs - Cliquez sur la barre de titre d’un bloc pour l’ouvrir ou le fermer. Certains blocs ajoutés par des extensions peuvent avoir un contenu configurable, et afficheront donc un lien \"Configurer\" dans la barre de titre lors du survol de la souris." - -#: wp-admin/index.php:67 -msgid "At A Glance - Displays a summary of the content on your site and identifies which theme and version of WordPress you are using." -msgstr "D’un coup d’œil - Affiche un résumé du contenu de votre site, et indique le thème et la version de WordPress que vous utilisez." - -#: wp-admin/maint/repair.php:103 -msgid "https://wordpress.org/support/forum/how-to-and-troubleshooting" -msgstr "http://www.wordpress-fr.net/support/forum-26-support-wordpress" - -#: wp-admin/revision.php:78 -msgid "← Return to post editor" -msgstr "← Retourner à l’éditeur d’article" - -#: wp-admin/theme-install.php:23 -msgid "Add Themes" -msgstr "Ajouter des thèmes" - -#: wp-admin/theme-install.php:31 -msgid "Featured Themes" -msgstr "Thèmes mis en avant" - -#: wp-admin/theme-install.php:32 -msgid "Popular Themes" -msgstr "Thèmes populaires" - -#: wp-admin/theme-install.php:33 -msgid "Newest Themes" -msgstr "Thèmes les plus récents" - -#: wp-admin/theme-install.php:53 -msgid "Search Themes" -msgstr "Chercher parmi les thèmes" - -#: wp-admin/theme-install.php:54 -msgid "Search themes..." -msgstr "Recherche parmi les thèmes..." - -#: wp-admin/theme-install.php:214 -msgctxt "theme" -msgid "Details & Preview" -msgstr "Détails et prévisualisation" - -#: wp-admin/users.php:48 -msgid "Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their content. You can also delete multiple users at once by using Bulk Actions." -msgstr "« Supprimer » vous amène à l’écran de suppression des utilisateurs pour confirmer votre action, d’où vous pouvez retirer un utilisateur de manière permanente et supprimer son contenu. Vous pouvez également supprimer plusieurs utilisateurs à la fois avec les Actions Groupées." - -#: wp-admin/users.php:239 -msgid "What should be done with content owned by this user?" -msgid_plural "What should be done with content owned by these users?" -msgstr[0] "Que faire du contenu ayant cet utilisateur pour propriétaire ?" -msgstr[1] "Que faire du contenu ayant ces utilisateurs pour propriétaires ?" - -#: wp-admin/users.php:242 -msgid "Delete all content." -msgstr "Supprimer tout le contenu." - -#: wp-admin/users.php:244 -msgid "Attribute all content to:" -msgstr "Attribuer tout le contenu à :" - -#: wp-admin/includes/ajax-actions.php:1644 -msgid "Type" -msgstr "Type" - -#: wp-admin/admin-footer.php:29 -msgid "Thank you for creating with WordPress." -msgstr "Merci de faire de WordPress votre outil de création." - -#: wp-admin/comment.php:59 wp-admin/custom-background.php:151 -#: wp-admin/custom-header.php:192 wp-admin/edit-comments.php:136 -#: wp-admin/edit-form-advanced.php:294 wp-admin/edit-form-advanced.php:310 -#: wp-admin/edit-form-advanced.php:326 wp-admin/edit-link-form.php:66 -#: wp-admin/edit-tags.php:237 wp-admin/edit.php:206 wp-admin/edit.php:227 -#: wp-admin/export.php:56 wp-admin/import.php:29 wp-admin/index.php:89 -#: wp-admin/link-manager.php:61 wp-admin/media-new.php:57 wp-admin/media.php:84 -#: wp-admin/my-sites.php:49 wp-admin/nav-menus.php:545 -#: wp-admin/options-discussion.php:27 wp-admin/options-general.php:80 -#: wp-admin/options-media.php:35 wp-admin/options-permalink.php:46 -#: wp-admin/options-reading.php:72 wp-admin/options-writing.php:52 -#: wp-admin/plugin-editor.php:142 wp-admin/plugin-install.php:86 -#: wp-admin/plugins.php:360 wp-admin/revision.php:120 -#: wp-admin/theme-editor.php:43 wp-admin/theme-install.php:104 -#: wp-admin/themes.php:86 wp-admin/tools.php:29 wp-admin/update-core.php:490 -#: wp-admin/upload.php:52 wp-admin/upload.php:220 wp-admin/user-edit.php:54 -#: wp-admin/user-new.php:185 wp-admin/users.php:63 wp-admin/widgets.php:74 -msgid "Support Forums" -msgstr "Forums d’entraide" - -#. translators: URL to the Make WordPress 'Get Involved' landing page used on -#. the credits page -#: wp-admin/credits.php:164 -msgid "https://make.wordpress.org/" -msgstr "https://make.wordpress.org/" - -#: wp-admin/includes/class-wp-upgrader.php:2591 -msgid "" -"\n" -"BETA TESTING?\n" -"=============\n" -"\n" -"This debugging email is sent when you are using a development version of WordPress.\n" -"\n" -"If you think these failures might be due to a bug in WordPress, could you report it?\n" -" * Open a thread in the support forums: https://wordpress.org/support/forum/alphabeta\n" -" * Or, if you're comfortable writing a bug report: http://core.trac.wordpress.org/\n" -"\n" -"Thanks! -- The WordPress Team" -msgstr "" -"\n" -"BETA TESTEUR ?\n" -"==============\n" -"\n" -"Ce message de débogage est envoyé lorsque vous utilisez une version de développement de WordPress.\n" -"\n" -"Si vous pensez que ces erreurs puissent être dues à un problème au sein de WordPress, pourriez-vous nous le signaler ?\n" -"* Ouvrez une discussion sur le forum de support en anglais : https://wordpress.org/support/forum/alphabeta\n" -"* Ou, si rédiger un rapport de bogue ne vous fait pas peur : http://core.trac.wordpress.org/\n" -"\n" -"Merci ! -- L'équipe WordPress" - -#: wp-admin/includes/dashboard.php:1318 -msgid "Manage widgets" -msgstr "Gérer les widgets" - -#: wp-admin/includes/dashboard.php:1320 -msgid "Manage menus" -msgstr "Gérer les menus" - -#: wp-admin/includes/meta-boxes.php:92 -msgid "Edit status" -msgstr "Modifier l’état" - -#: wp-admin/includes/meta-boxes.php:138 -msgid "Edit visibility" -msgstr "Modifier la visibilité" - -#: wp-admin/includes/meta-boxes.php:198 -msgid "Browse revisions" -msgstr "Parcourir les révisions" - -#: wp-admin/includes/meta-boxes.php:206 -msgid "Edit date and time" -msgstr "Modifier la date et l’heure" - -#: wp-admin/themes.php:107 -msgid "Search installed themes..." -msgstr "Chercher parmi les thèmes installés..." - -#: wp-admin/update-core.php:466 -msgid "If an update is available, you᾿ll see a notification appear in the Toolbar and navigation menu." -msgstr "Si une mise à jour est disponible, vous verrez une notification apparaître dans la barre d’outils" - -#: wp-admin/update-core.php:474 -msgid "WordPress — Updating your WordPress installation is a simple one-click procedure: just click on the “Update Now” button when you are notified that a new version is available." -msgstr "WordPress — La mise à jour de votre installation WordPress tient en une simple procédure : cliquez sur le bouton \"Mettre à jour\" quand vous êtes notifié(e) qu’une nouvelle version est disponible." - -#: wp-admin/update-core.php:474 -msgid "In most cases, WordPress will automatically apply maintenance and security updates in the background for you." -msgstr "Dans la plupart des cas, WordPress appliquera automatiquement les mises à jour de maintenance et de sécurité en arrière-plan." - -#: wp-admin/update-core.php:478 -msgid "Translations — The files translating WordPress into your language are updated for you whenever any other updates occur. But if these files are out of date, you can click the “Update Translations” button." -msgstr "Traductions — Les fichiers qui traduisent WordPress dans votre langue sont mis à jour dès qu’une modification est faite. Mais si ces fichiers ne sont plus à jour, vous pouvez cliquer sur le bouton \"Mettre à jour les traductions\"." - -#: wp-admin/update-core.php:465 -msgid "On this screen, you can update to the latest version of WordPress, as well as update your themes and plugins from the WordPress.org repositories." -msgstr "Sur cet écran, vous pouvez faire la mise à jour vers la dernière version de WordPres, et mettre à jour les thèmes et extensions depuis les dépôts de WordPress.org." - -#: wp-admin/update-core.php:475 -msgid "Themes and Plugins — To update individual themes or plugins from this screen, use the checkboxes to make your selection, then click on the appropriate “Update” button. To update all of your themes or plugins at once, you can check the box at the top of the section to select all before clicking the update button." -msgstr "Thèmes et extensions — Pour mettre à jour les thèmes et extensions individuellement depuis cet écran, utilisez les cases à jour pour faire votre sélection, puis cliquez sur le bouton \"Mettre à jour\" approprié. Pour mettre à jour tous les thèmes et toutes les extensions d’un coup, vous pouvez cocher la case en haut de la section pour tout sélectionner avant de cliquer sur le boutons de mise à jour." - -#: wp-admin/about.php:28 -msgid "Welcome to WordPress %s" -msgstr "Bienvenue dans WordPress %s" - -#: wp-admin/themes.php:59 -msgid "If you would like to see more themes to choose from, click on the “Add New” button and you will be able to browse or search for additional themes from the WordPress.org Theme Directory. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!" -msgstr "Si vous souhaitez choisir parmi plus de thèmes, cliquez sur le bouton \"Ajouter\" et vous pourrez parcourir le répertoire de thème de WordPress.org et y chercher des thèmes supplémentaires. Les thèmes du répertoire de thèmes de WordPress.org sont conçus et développés par des tiers, et sont compatibles avec la licence de WordPress. Oh, et ils sont libres et gratuits !" - -#: wp-admin/includes/theme.php:196 -msgid "Fixed Layout" -msgstr "Mise en page fixe" - -#: wp-admin/includes/theme.php:197 -msgid "Fluid Layout" -msgstr "Mise en page fluide" - -#: wp-admin/includes/theme.php:198 -msgid "Responsive Layout" -msgstr "Mise en page adaptable" - -#: wp-admin/includes/dashboard.php:222 -msgid "%s Post" -msgid_plural "%s Posts" -msgstr[0] "%s articles" -msgstr[1] "%s articles" - -#: wp-admin/includes/dashboard.php:224 -msgid "%s Page" -msgid_plural "%s Pages" -msgstr[0] "%s page" -msgstr[1] "%s pages" - -#: wp-admin/includes/dashboard.php:239 -msgid "%s Comment" -msgid_plural "%s Comments" -msgstr[0] "%s commentaire" -msgstr[1] "%s commentaires" - -#. translators: Number of comments in moderation -#: wp-admin/includes/dashboard.php:245 -msgctxt "comments" -msgid "%s in moderation" -msgid_plural "%s in moderation" -msgstr[0] "%s en attente de validation" -msgstr[1] "%s en attente de validation" - -#. translators: date and time format for recent posts on the dashboard, see -#. http:php.net/date -#: wp-admin/includes/dashboard.php:715 -msgid "M jS" -msgstr "j M" - -#. translators: 1: relative date, 2: time, 3: post edit link, 4: post title -#: wp-admin/includes/dashboard.php:720 -msgid "%1$s, %2$s %4$s" -msgstr "%1$s, %2$s %4$s" - -#. translators: number of megabytes -#: wp-admin/includes/dashboard.php:1138 -msgid "%s MB Space Allowed" -msgstr "%s Mo d’espace autorisés" - -#. translators: 1: number of megabytes, 2: percentage -#: wp-admin/includes/dashboard.php:1150 -msgid "%1$s MB (%2$s%%) Space Used" -msgstr "%1$s Mo (%2$s%%) d’espace utilisés" - -#: wp-admin/themes.php:203 wp-admin/themes.php:284 -msgid "Theme Details" -msgstr "Détails du thème" - -#: wp-admin/options-reading.php:66 -msgid "When this setting is in effect, a reminder is shown in the At a Glance box of the Dashboard that says, “Search Engines Discouraged,” to remind you that your site is not being crawled." -msgstr "Lorsque ce réglage est actif, un rappel est affiché dans le bloc \"D’un coup d’œil\" du Tableau de bord, indiquant que \"Moteurs de recherche refusés\" pour que vous n’oubliez pas que votre site n’est pas parcouru." - -#: wp-admin/includes/dashboard.php:35 -msgid "At a Glance" -msgstr "D’un coup d’œil" - -#: wp-admin/themes.php:207 wp-admin/themes.php:288 -msgctxt "theme" -msgid "Active:" -msgstr "Activé :" - -#: wp-admin/includes/theme.php:208 -msgid "Accessibility Ready" -msgstr "Déjà accessible" - -#: wp-admin/themes.php:345 -msgid "This is a child theme of %s." -msgstr "Ceci est un thème enfant de %s." - -#: wp-admin/themes.php:40 -msgid "This screen is used for managing your installed themes. Aside from the default theme(s) included with your WordPress installation, themes are designed and developed by third parties." -msgstr "Cet écran est utilisé pour gérer vos thèmes installés. En dehors des thèmes par défaut inclus dans votre installation de WordPress, les thèmes sont conçus et développés par des tiers." - -#: wp-admin/themes.php:42 -msgid "Hover or tap to see Activate and Live Preview buttons" -msgstr "Survolez out touchez pour voir les boutons Activer et Prévisualisation" - -#: wp-admin/themes.php:43 -msgid "Click on the theme to see the theme name, version, author, description, tags, and the Delete link" -msgstr "Cliquez sur le thème pour voir le nom du thème, sa version, son auteur, sa description, ses mots-clés et le bouton Supprimer." - -#: wp-admin/themes.php:44 -msgid "Click Customize for the current theme or Live Preview for any other theme to see a live preview" -msgstr "Cliquez sur Personnaliser pour le thème actuel ou Prévisualisation pour n’importe quel autre thème pour voir la prévisualisation" - -#: wp-admin/themes.php:45 -msgid "The current theme is displayed highlighted as the first theme." -msgstr "Le thème actuel est affiché en étant mis en avant en tant que premier thème." - -#: wp-admin/themes.php:72 -msgid "Tap or hover on any theme then click the Live Preview button to see a live preview of that theme and change theme options in a separate, full-screen view. You can also find a Live Preview button at the bottom of the theme details screen. Any installed theme can be previewed and customized in this way." -msgstr "Touchez ou survolez n’importe quel thème puis cliquez sur le bouton Prévisualisation pour voir une prévisualisation de ce thème et changer les options du thème dans un vie séparée et plein écran. Vous pouvez également trouver un bouton Prévisualisation au bas de l’écran de détails du thème. Tout thème installé peut être prévisualisé et personnalisé de cette manière." - -#: wp-admin/themes.php:73 -msgid "The theme being previewed is fully interactive — navigate to different pages to see how the theme handles posts, archives, and other page templates. The settings may differ depending on what theme features the theme being previewed supports. To accept the new settings and activate the theme all in one step, click the Save & Activate button above the menu." -msgstr "Le thème en cours de prévisualisation est totalement interactif — naviguez sur les différentes pages pour voir comment le thème affiche vos articles, archives et autres pages. Les réglages peuvent différer selon les fonctionnalités pour lesquelles le thème a été conçu. Pour valider les nouveaux réglages et activer le thème en un seul coup, cliquez sur le bouton \"Enregistrer et activer\" en haut du menu." - -#: wp-admin/themes.php:74 -msgid "When previewing on smaller monitors, you can use the collapse icon at the bottom of the left-hand pane. This will hide the pane, giving you more room to preview your site in the new theme. To bring the pane back, click on the collapse icon again." -msgstr "Lors de la prévisualisation sur de petits écrans, vous pouvez utiliser l’icône de réduction en bas à gauche du panneau. Cela cachera le panneau, vous donnant ainsi plus de place pour prévisualiser le site avec le nouveau thème. Pour ramener le panneau, cliquez à nouveau sur l’icône de réduction." - -#: wp-admin/widgets.php:339 -msgid "To activate a widget drag it to a sidebar or click on it. To deactivate a widget and delete its settings, drag it back." -msgstr "Pour activer un widget, glissez-le dans la barre latérale ou cliquez dessus. Pour désactiver un widget et supprimer ses réglages, enlevez-le de la barre latérale." - -#. translators: 1: The rating, 2: The number of ratings -#: wp-admin/includes/template.php:2144 -msgid "%1$s rating based on %2$s rating" -msgid_plural "%1$s rating based on %2$s ratings" -msgstr[0] "Une note de %1$s basée sur %2$s vote" -msgstr[1] "Une note de %1$s basée sur %2$s votes" - -#. translators: 1: The rating -#: wp-admin/includes/template.php:2148 -msgid "%s rating" -msgstr "Note : %s" - -#: wp-admin/my-sites.php:42 -msgid "This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. They can use the links under each site to visit either the frontend or the dashboard for that site." -msgstr "Cet écran affiche à un utilisateur individuel tous ses sites sur ce réseau, et permet également à cet utilisateur de régler son site principal. Il peut utiliser les liens sous chaque site pour se rendre soit sur son interface publique, soit sur son administration." - -#. translators: 1: Error code, 2: Error message. -#: wp-admin/includes/class-wp-upgrader.php:2633 -msgid "Rollback Error: [%1$s] %2$s" -msgstr "Erreur de restauration : [%1$s] %2$s" - -#. translators: 1: Error code, 2: Error message. -#: wp-admin/includes/class-wp-upgrader.php:2636 -msgid "Error: [%1$s] %2$s" -msgstr "Erreur : [%1$s] %2$s" - -#: wp-admin/includes/class-wp-upgrader.php:2560 -msgid "The following plugins were successfully updated:" -msgstr "Les extensions suivantes ont bien été mises à jour :" - -#: wp-admin/includes/class-wp-upgrader.php:2561 -msgid "The following themes were successfully updated:" -msgstr "Les thèmes suivants ont bien été mis à jour :" - -#: wp-admin/includes/class-wp-upgrader.php:2562 -msgid "The following translations were successfully updated:" -msgstr "Les traductions suivantes ont bien été mises à jour :" - -#: wp-admin/includes/class-wp-upgrader.php:2573 -msgid "The following plugins failed to update:" -msgstr "Les extensions suivantes n’ont pas pu être mises à jour :" - -#: wp-admin/includes/class-wp-upgrader.php:2574 -msgid "The following themes failed to update:" -msgstr "Les thèmes suivants n’ont pas pu être mis à jour :" - -#: wp-admin/includes/class-wp-upgrader.php:2575 -msgid "The following translations failed to update:" -msgstr "Les traductions suivantes n’ont pas pu être mises à jour :" - -#: wp-admin/post.php:114 -msgid "Unable to submit this form, please refresh and try again." -msgstr "Impossible d’envoyer ce formulaire ; veuillez recharger la page et réessayer." - -#: wp-admin/index.php:55 -msgid "Screen Options - Use the Screen Options tab to choose which Dashboard boxes to show." -msgstr "Options de l’écran - Utilisez l’onglet Options de l’écran pour choisir les blocs à afficher dans le Tableau de bord." - -#: wp-admin/index.php:68 -msgid "Activity - Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them." -msgstr "Activité - Affiche les articles programmés, ceux récemment publiés, et les commentaires récents sur vos articles, que vous pouvez valider ou non." - -#: wp-admin/index.php:70 -msgid "Quick Draft - Allows you to create a new post and save it as a draft. Also displays links to the 5 most recent draft posts you've started." -msgstr "Brouillon rapide - Vous permet de créer un nouvel article et de l’enregistrer en tant que brouillon. Affiche également des liens vers les 5 derniers brouillons que vous avez créés." - -#: wp-admin/index.php:72 -msgid "WordPress News - Latest news from the official WordPress project, the WordPress Planet, and popular and recent plugins." -msgstr "Nouvelles de WordPress - Dernière nouvelles en provenance du projet officiel WordPress, du Planet de WordPress-Francophone, et les extensions populaires et récentes." - -#: wp-admin/index.php:74 -msgid "WordPress News - Latest news from the official WordPress project, the WordPress Planet." -msgstr "Nouvelles de WordPress - Dernière nouvelles en provenance du projet officiel WordPress et du Planet de WordPress-Francophone." - -#: wp-admin/post.php:117 -msgid "Oops, you don’t have access to add new drafts." -msgstr "Oups, vous n’avez pas les droits pour ajouter de nouveaux brouillons." - -#: wp-admin/themes.php:101 -msgid "" -"Are you sure you want to delete this theme?\n" -"\n" -"Click 'Cancel' to go back, 'OK' to confirm the delete." -msgstr "" -"Êtes-vous sûr(e) de vouloir supprimer ce thème.\n" -"\n" -"« Annuler » pour abandonner, « OK » pour confirmer la suppression." - -#: wp-admin/theme-install.php:52 wp-admin/themes.php:105 -msgid "Add New Theme" -msgstr "Ajouter un thème" - -#: wp-admin/themes.php:122 -msgctxt "Add new theme" -msgid "Add New" -msgstr "Ajouter" - -#: wp-admin/themes.php:229 wp-admin/themes.php:308 wp-admin/themes.php:338 -msgid "Update Available" -msgstr "Mise à jour disponible" - -#: wp-admin/themes.php:318 -msgid "Close overlay" -msgstr "Fermer la fenêtre" - -#: wp-admin/themes.php:316 -msgid "Show previous theme" -msgstr "Affichier le thème précédent" - -#: wp-admin/themes.php:317 -msgid "Show next theme" -msgstr "Afficher le thème suivant" - -#: wp-admin/widgets.php:430 -msgid "Add Widget" -msgstr "Ajouter le widget" - -#: wp-admin/includes/dashboard.php:42 -msgid "Activity" -msgstr "Activité" - -#: wp-admin/includes/class-wp-upgrader.php:2539 -msgid "WordPress site: %s" -msgstr "Site WordPress : %s" - -#: wp-admin/includes/class-wp-upgrader.php:2545 -msgid "SUCCESS: WordPress was successfully updated to %s" -msgstr "SUCCÈS : WordPress a bien été mis à jour vers %s" - -#: wp-admin/includes/class-wp-upgrader.php:2547 -msgid "FAILED: WordPress failed to update to %s" -msgstr "ÉCHEC : WordPress n'a pas pu être mis à jour vers %s" - -#: wp-admin/includes/class-wp-upgrader.php:2567 -msgid "SUCCESS: %s" -msgstr "SUCCÈS : %s" - -#: wp-admin/includes/class-wp-upgrader.php:2581 -msgid "FAILED: %s" -msgstr "ÉCHEC : %s" - -#: wp-admin/includes/class-wp-upgrader.php:2604 -msgid "[%s] There were failures during background updates" -msgstr "[%s] Il y a eu des problèmes lors des mises à jour en arrière-plan" - -#: wp-admin/includes/class-wp-upgrader.php:2606 -msgid "[%s] Background updates have finished" -msgstr "[%s] Les mises à jour en arrière-plan sont terminées" - -#: wp-admin/includes/dashboard.php:47 -msgid "Quick Draft" -msgstr "Brouillon rapide" - -#: wp-admin/includes/dashboard.php:52 -msgid "WordPress News" -msgstr "Nouvelles de WordPress" - -#: wp-admin/includes/update.php:224 -msgid "WordPress %1$s running %2$s theme." -msgstr "WordPress %1$s avec le thème %2$s." - -#: wp-admin/includes/dashboard.php:458 -msgid "What’s on your mind?" -msgstr "Qu’avez-vous en tête ?" - -#: wp-admin/includes/dashboard.php:499 -msgctxt "drafts" -msgid "View all" -msgstr "Afficher tout" - -#: wp-admin/includes/dashboard.php:47 wp-admin/includes/dashboard.php:501 -msgid "Drafts" -msgstr "Brouillons" - -#: wp-admin/includes/dashboard.php:642 -msgid "Publishing Soon" -msgstr "Bientôt publié" - -#: wp-admin/includes/dashboard.php:649 -msgid "Recently Published" -msgstr "Publié récemment" - -#: wp-admin/includes/dashboard.php:658 -msgid "No activity yet!" -msgstr "Aucune activité pour le moment !" - -#: wp-admin/includes/dashboard.php:710 -msgid "Today" -msgstr "Aujourd’hui" - -#: wp-admin/includes/dashboard.php:712 -msgid "Tomorrow" -msgstr "Demain" - -#: wp-admin/includes/dashboard.php:1098 -msgid "Popular Plugin" -msgstr "Extensions populaires" - -#: wp-admin/includes/dashboard.php:1144 wp-admin/includes/dashboard.php:1157 -msgid "Manage Uploads" -msgstr "Gérer les mises en ligne" - -#: wp-admin/includes/class-wp-upgrader.php:1509 -#: wp-admin/includes/update-core.php:781 wp-admin/includes/update-core.php:856 -#: wp-admin/includes/update-core.php:879 -msgid "The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions." -msgstr "La mise à jour ne peut pas être installée parce que nous n’allons pas pouvoir copier certains fichiers. Ce problème est généralement dû à des incohérences dans les permissions de fichiers." - -#: wp-admin/includes/class-wp-upgrader.php:2406 -msgid "WordPress %s is also now available." -msgstr "WordPress %s est disponible." - -#: wp-admin/includes/class-wp-upgrader.php:2430 -msgid "Your site at %1$s experienced a critical failure while trying to update WordPress to version %2$s." -msgstr "Votre site à l'adresse %1$s a fait face à un échec critique en essayant de faire une mise à jour de WordPress vers la version %2$s." - -#: wp-admin/includes/class-wp-upgrader.php:2470 -msgid "Your site was running version %s." -msgstr "Votre site utilise la version %s." - -#: wp-admin/includes/class-wp-upgrader-skins.php:641 -#: wp-admin/update-core.php:351 wp-admin/update-core.php:630 -msgid "Update Translations" -msgstr "Mise à jour des traductions" - -#: wp-admin/includes/class-wp-upgrader-skins.php:656 -#: wp-admin/includes/class-wp-upgrader.php:2069 -msgid "Updating translations for %1$s (%2$s)…" -msgstr "Mise à jour de la traduction de %1$s (%2$s)…" - -#: wp-admin/includes/class-wp-upgrader.php:2068 -msgid "Translations for %s" -msgstr "Traductions pour %s" - -#. translators: 1: Site name, 2: WordPress version number. -#: wp-admin/includes/class-wp-upgrader.php:2369 -msgid "[%1$s] Your site has updated to WordPress %2$s" -msgstr "[%1$s] Votre site a été mis à jour vers WordPress %2$s" - -#. translators: 1: Site name, 2: WordPress version number. -#: wp-admin/includes/class-wp-upgrader.php:2375 -msgid "[%1$s] WordPress %2$s is available. Please update!" -msgstr "[%1$s] WordPress %2$s est disponible. Veuillez faire une mise à jour !" - -#. translators: 1: Site name. -#: wp-admin/includes/class-wp-upgrader.php:2380 -msgid "[%1$s] URGENT: Your site may be down due to a failed update" -msgstr "[%1$s] URGENT : suite à une mise à jour qui a échoué, votre site est peut-être inaccessible." - -#: wp-admin/includes/class-wp-upgrader.php:2395 -msgid "Howdy! Your site at %1$s has been updated automatically to WordPress %2$s." -msgstr "Salutations ! Votre site à l'adresse %1$s a été automatiquement mis à jour vers WordPress %2$s." - -#: wp-admin/includes/class-wp-upgrader.php:2398 -msgid "No further action is needed on your part." -msgstr "Vous n'avez rien de plus à faire." - -#: wp-admin/includes/class-wp-upgrader.php:2402 -msgid "For more on version %s, see the About WordPress screen:" -msgstr "Pour en savoir plus sur la version %s, lisez l'écran À Propos de WordPress : " - -#: wp-admin/includes/class-wp-upgrader.php:2415 -msgid "Please update your site at %1$s to WordPress %2$s." -msgstr "Veuillez mettre à jour votre site à l'adresse %1$s pour le passer à WordPress %2$s." - -#: wp-admin/includes/class-wp-upgrader.php:2422 -msgid "We tried but were unable to update your site automatically." -msgstr "Malgré nos tentatives, nous n'avons pas pu mettre votre site à jour automatiquement." - -#: wp-admin/includes/class-wp-upgrader.php:2407 -#: wp-admin/includes/class-wp-upgrader.php:2424 -msgid "Updating is easy and only takes a few moments:" -msgstr "La mise à jour est facile et ne prend que quelques secondes :" - -#: wp-admin/includes/class-wp-upgrader.php:2432 -msgid "Your site at %1$s experienced a critical failure while trying to update to the latest version of WordPress, %2$s." -msgstr "Votre site à l'adresse %1$s a fait face à un échec critique en essayant de faire une mise à jour vers la dernière version de WordPress, la %2$s." - -#: wp-admin/includes/class-wp-upgrader.php:2434 -msgid "This means your site may be offline or broken. Don't panic; this can be fixed." -msgstr "Cela signifie que votre site est peut-être hors ligne ou cassé. Ne paniquez pas, cela peut être réparé." - -#: wp-admin/includes/class-wp-upgrader.php:2436 -msgid "Please check out your site now. It's possible that everything is working. If it says you need to update, you should do so:" -msgstr "Veuillez vérifier votre site immédiatelement. Il se peut que tout fonctionne. S'il affiche que vous devez faire une mise à jour, vous devriez suivre son conseil :" - -#: wp-admin/includes/class-wp-upgrader.php:2453 wp-admin/update-core.php:466 -msgid "Keeping your site updated is important for security. It also makes the internet a safer place for you and your readers." -msgstr "Pour des questions de sécurité, il est important de garder votre site à jour. Par ailleurs, cela rend le Web plus sûr pour vous et vos lecteurs." - -#: wp-admin/includes/class-wp-upgrader.php:2447 -msgid "If you experience any issues or need support, the volunteers in the WordPress.org support forums may be able to help." -msgstr "Si vous rencontrez des problèmes ou avez besoin d'assistance, les volontaires du forum d'entraide de WordPress-fr.net devraient pouvoir vous aider." - -#: wp-admin/includes/class-wp-upgrader.php:2462 -msgid "You also have some plugins or themes with updates available. Update them now:" -msgstr "Certains de vos thèmes et extensions ont également des mises à jour disponibles. Veuillez les mettre à jour dès maintenant :" - -#: wp-admin/includes/class-wp-upgrader.php:2466 -msgid "The WordPress Team" -msgstr "L'équipe WordPress" - -#: wp-admin/includes/class-wp-upgrader.php:2471 -msgid "We have some data that describes the error your site encountered." -msgstr "Nous avons quelques données qui décrivent l'erreur que votre site a rencontré." - -#: wp-admin/includes/class-wp-upgrader.php:2472 -msgid "Your hosting company, support forum volunteers, or a friendly developer may be able to use this information to help you:" -msgstr "Votre hébergeur, les volontaires du forum d'entraide ou un ami développeur devraient pouvoir vous aider à comprendre cette information pour vous aider :" - -#: wp-admin/includes/class-wp-upgrader.php:2485 -msgid "Error code: %s" -msgstr "Code d'erreur : %s" - -#: wp-admin/themes.php:142 -msgid "ERROR: %s" -msgstr "ERREUR : %s" - -#: wp-admin/includes/post.php:1442 -msgid "This content is currently locked." -msgstr "Ce contenu est actuellement vérouillé." - -#: wp-admin/includes/post.php:1444 -msgid "If you take over, %s will be blocked from continuing to edit." -msgstr "Si vous souhaitez vous en occuper, %s sera bloqué et ne pourra pas terminer sa modification." - -#: wp-admin/update-core.php:50 -msgid "If you need to re-install version %s, you can do so here or download the package and re-install manually:" -msgstr "Si vous souhaitez réinstaller la version %s, vous pouvez le faire ici, ou télécharger l’archive pour la réinstaller vous-même :" - -#: wp-admin/update-core.php:161 -msgid "Future security updates will be applied automatically." -msgstr "Les prochaines mises à jour de sécurité seront appliquées automatiquement." - -#: wp-admin/update-core.php:339 wp-admin/update-core.php:347 -msgid "Translations" -msgstr "Traductions" - -#: wp-admin/update-core.php:340 -msgid "Your translations are all up to date." -msgstr "Vos traductions sont toutes à jour." - -#: wp-admin/update-core.php:349 -msgid "Some of your translations are out of date." -msgstr "Certaines de vos traductions ne sont pas à jour." - -#: wp-admin/includes/class-wp-upgrader.php:1247 -msgid "Some of your translations need updating. Sit tight for a few more seconds while we update them as well." -msgstr "Certaines de vos traductions ont besoin d’être mises à jour. Patientez encore quelques secondes, le temps que nous les mettions également à jour." - -#: wp-admin/includes/class-wp-upgrader.php:1248 -msgid "The translation is up to date." -msgstr "La traduction est à jour." - -#: wp-admin/includes/class-wp-upgrader.php:1250 -msgid "Downloading translation from %s…" -msgstr "Téléchargement de la traduction depuis %s…" - -#: wp-admin/includes/class-wp-upgrader.php:1252 -msgid "Translation update failed." -msgstr "La mise à jour de la traduction a échoué." - -#: wp-admin/includes/class-wp-upgrader.php:1253 -msgid "Translation updated successfully." -msgstr "La traduction a bien été mise à jour." - -#: wp-admin/includes/class-wp-upgrader.php:2058 -msgid "Updating theme: %s" -msgstr "Mise à jour du thème : %s" - -#: wp-admin/includes/class-wp-upgrader.php:2064 -msgid "Updating plugin: %s" -msgstr "Mise à jour de l’extension : %s" - -#: wp-admin/includes/update-core.php:912 -msgid "There is not enough free disk space to complete the update." -msgstr "Il n’y a pas assez d’espace sur le disque pour terminer la mise à jour." - -#: wp-admin/options-discussion.php:143 -msgid "Comment must be manually approved" -msgstr "Le commentaire doit être approuvé manuellement" - -#: wp-admin/options-media.php:49 -msgid "The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library." -msgstr "Les tailles précisées ci-dessous déterminent les dimensions maximales (en pixels) à utiliser lors de l’insertion d’une image dans la bibliothèque de médias." - -#: wp-admin/options-permalink.php:184 -msgid "By default WordPress uses web URLs which have question marks and lots of numbers in them; however, WordPress offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links. A number of tags are available, and here are some examples to get you started." -msgstr "Par défaut, WordPress utilise des adresses web (URL) ayant un point d’interrogation et une suite de chiffres. Cependant, WordPress vous offre la possibilité de créer une structure personnalisée d’adresses web pour vos permaliens et archives. Ceci peut améliorer l’esthétique, l’utilisation et la pérennité de vos liens. De nombreux marqueurs sont disponibles (en), et nous vous donnons quelques exemples pour commencer." - -#: wp-admin/theme-editor.php:33 -msgid "Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a child theme instead." -msgstr "La mise à jour vers une nouvelle version du thème supprimera les modifications que vous aurez faites. Pour éviter cela, nous vous conseillons de passer plutôt par un Thème Enfant." - -#: wp-admin/user-new.php:337 -msgid "Create a brand new user and add them to this site." -msgstr "Créer un nouvel utilisateur et l’ajouter à ce site." - -#: wp-admin/includes/ms.php:224 -msgid "" -"Dear user,\n" -"\n" -"You recently requested to have the administration email address on\n" -"your site changed.\n" -"If this is correct, please click on the following link to change it:\n" -"###ADMIN_URL###\n" -"\n" -"You can safely ignore and delete this email if you do not want to\n" -"take this action.\n" -"\n" -"This email has been sent to ###EMAIL###\n" -"\n" -"Regards,\n" -"All at ###SITENAME###\n" -"###SITEURL###" -msgstr "" -"Cher utilisateur,\n" -"\n" -"Vous avez récemment demandé à modifier l'adresse de messagerie d'administration de votre site.\n" -"Si c'est bien le cas, veuillez cliquer sur le lien suivant pour valider la modification :\n" -"###ADMIN_URL###\n" -"\n" -"Vous pouvez ignorer et supprimer ce message si vous ne souhaitez pas lancer cette action.\n" -"\n" -"Ce message a été envoyé à ###EMAIL###\n" -"\n" -"Cordialement,\n" -"\n" -"L'équipe de ###SITENAME###\n" -"###SITEURL###" - -#: wp-admin/includes/class-wp-filesystem-base.php:298 -msgid "Looking for %1$s in %2$s" -msgstr "Recherche %1$s dans %2$s" - -#: wp-admin/includes/class-wp-upgrader.php:1399 -msgid "The language pack is missing either the .po or .mo files." -msgstr "Il manque les fichiers .po et/ou .mo du pack de langue." - -#: wp-admin/includes/class-wp-upgrader.php:1442 -msgid "Attempting to roll back to previous version." -msgstr "Tentative de retour à la version précédente." - -#: wp-admin/includes/class-wp-upgrader.php:1443 -msgid "Due to an error during updating, WordPress has rolled back to your previous version." -msgstr "Suite à une erreur pendant la mise à jour, WordPress vous a ramené à votre version précédente." - -#: wp-admin/includes/class-wp-upgrader.php:2051 -msgid "Updating to WordPress %s" -msgstr "Mise à jour vers WordPress %s" - -#: wp-admin/includes/class-wp-upgrader.php:2052 -msgid "WordPress %s" -msgstr "WordPress %s" - -#: wp-admin/includes/file.php:500 -msgid "The checksum of the file (%1$s) does not match the expected checksum value (%2$s)." -msgstr "L’empreinte de contrôle (ou checksum) de votre fichier (%1$s) ne correspond pas à la valeur de l’empreinte attendue (%2$s)." - -#: wp-admin/includes/file.php:1106 -msgid "This password will not be stored on the server." -msgstr "Le mot de passe ne sera pas stocké sur le serveur." - -#: wp-admin/includes/update-core.php:809 -msgid "Preparing to install the latest version…" -msgstr "Préparation de l'installation de la dernière version…" - -#: wp-admin/includes/update-core.php:869 -msgid "Copying the required files…" -msgstr "Copie des fichiers requis…" - -#: wp-admin/install.php:248 -msgid "Please provide a valid username." -msgstr "Veuillez saisir un identifiant valide." - -#: wp-admin/install.php:251 -msgid "The username you provided has invalid characters." -msgstr "L’identifiant que vous avez fourni contient des caractères invalides." - -#: wp-admin/install.php:255 -msgid "Your passwords do not match. Please try again." -msgstr "Vos mots de passe ne correspondent pas. Veuillez réessayer." - -#: wp-admin/install.php:259 -msgid "You must provide an email address." -msgstr "Vous devez saisir une adresse de messagerie." - -#: wp-admin/install.php:263 -msgid "Sorry, that isn’t a valid email address. Email addresses look like username@example.com." -msgstr "Désolé, ce n’est pas une adresse de messagerie valide. Les adresses de messagerie ressemblent à cela : utilisateur@exemple.com." - -#: wp-admin/nav-menus.php:491 -msgid "Your theme does not natively support menus, but you can use them in sidebars by adding a “Custom Menu” widget on the Widgets screen." -msgstr "Votre thème ne peut pas utiliser les menus nativement, mais vous pouvez les utiliser dans la barre latérale en ajoutant le widget “Menu personnalisé” depuis l’écran Widgets." - -#: wp-admin/nav-menus.php:495 -msgid "Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “Custom Menu” widget on the Widgets screen. If your theme does not support the custom menus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side." -msgstr "Les menus peuvent être affichés à des emplacements définis par votre thème, et même dans les barres latérales grâce au widget « Menus personnalisés » de l’écran Widgets. Si votre thème ne reconnaît pas encore cette fonctionnalité (les thèmes par défaut, %2$s and %3$s, les intègrent très bien), vous pouvez apprendre à ajouter cette reconnaissance vous-même en suivant le lien de documentation situé sur le côté." - -#: wp-admin/nav-menus.php:518 -msgid "Clicking the arrow to the right of any menu item in the editor will reveal a standard group of settings. Additional settings such as link target, CSS classes, link relationships, and link descriptions can be enabled and disabled via the Screen Options tab." -msgstr "En cliquant sur le titre de n’importe élément du menu dans l’éditeur, un ensemble de réglages standards s’ouvrira. D’autres réglages, tels que la cible du lien, les classes CSS, les relations du lien et la description du lien, peuvent être activés et désactivés dans l’onglet « Options de l’écran »." - -#: wp-admin/edit-form-comment.php:96 -msgid "IP address:" -msgstr "Adresse IP :" - -#: wp-admin/edit-tags.php:261 -msgid "Category added." -msgstr "Catégorie ajoutée." - -#: wp-admin/edit-tags.php:262 -msgid "Category deleted." -msgstr "Catégorie effacée." - -#: wp-admin/edit-tags.php:263 -msgid "Category updated." -msgstr "Catégorie mise à jour." - -#: wp-admin/edit-tags.php:264 -msgid "Category not added." -msgstr "Catégorie non ajoutée." - -#: wp-admin/edit-tags.php:265 -msgid "Category not updated." -msgstr "Catégorie non mise à jour." - -#: wp-admin/edit-tags.php:266 -msgid "Categories deleted." -msgstr "Catégories supprimées." - -#: wp-admin/edit-tags.php:270 -msgid "Tag added." -msgstr "Mot-clé ajouté." - -#: wp-admin/edit-tags.php:271 -msgid "Tag deleted." -msgstr "Mot-clé supprimé." - -#: wp-admin/edit-tags.php:272 -msgid "Tag updated." -msgstr "Mot-clé mis à jour." - -#: wp-admin/edit-tags.php:273 -msgid "Tag not added." -msgstr "Mot-clé non ajouté." - -#: wp-admin/edit-tags.php:274 -msgid "Tag not updated." -msgstr "Mot-clé non mis à jour." - -#: wp-admin/edit-tags.php:275 -msgid "Tags deleted." -msgstr "Mot-clé supprimé." - -#: wp-admin/edit.php:244 -msgid "%s post not updated, somebody is editing it." -msgid_plural "%s posts not updated, somebody is editing them." -msgstr[0] "%s article n’a pas été mis à jour : quelqu’un est déjà en train de la modifier." -msgstr[1] "%s articles n’ont pas été mis à jour : quelqu’un est déjà en train de les modifier." - -#: wp-admin/edit.php:245 -msgid "%s post permanently deleted." -msgid_plural "%s posts permanently deleted." -msgstr[0] "%s article supprimé définitivement." -msgstr[1] "%s articles supprimés définitivement." - -#: wp-admin/edit.php:246 -msgid "%s post moved to the Trash." -msgid_plural "%s posts moved to the Trash." -msgstr[0] "%s article déplacé dans la Corbeille." -msgstr[1] "%s articles déplacés dans la Corbeille." - -#: wp-admin/edit.php:247 -msgid "%s post restored from the Trash." -msgid_plural "%s posts restored from the Trash." -msgstr[0] "%s article récupéré depuis la Corbeille." -msgstr[1] "%s articles récupérés depuis la Corbeille." - -#: wp-admin/edit.php:250 -msgid "%s page updated." -msgid_plural "%s pages updated." -msgstr[0] "%s page mise à jour." -msgstr[1] "%s pages mises à jour." - -#: wp-admin/edit.php:251 -msgid "%s page not updated, somebody is editing it." -msgid_plural "%s pages not updated, somebody is editing them." -msgstr[0] "%s page n’a pas été mise à jour : quelqu’un est déjà en train de la modifier." -msgstr[1] "%s pages n’ont pas été mises à jour : quelqu’un est déjà en train de les modifier." - -#: wp-admin/edit.php:252 -msgid "%s page permanently deleted." -msgid_plural "%s pages permanently deleted." -msgstr[0] "%s page définitivement supprimée." -msgstr[1] "%s pages définitivement supprimées." - -#: wp-admin/edit.php:253 -msgid "%s page moved to the Trash." -msgid_plural "%s pages moved to the Trash." -msgstr[0] "%s page déplacée dans la Corbeille." -msgstr[1] "%s pages déplacées dans la Corbeille." - -#: wp-admin/edit.php:254 -msgid "%s page restored from the Trash." -msgid_plural "%s pages restored from the Trash." -msgstr[0] "%s page récupérée depuis la Corbeille." -msgstr[1] "%s pages récupérées depuis la Corbeille." - -#: wp-admin/revision.php:109 -msgid "Compare two different revisions by selecting the “Compare any two revisions” box to the side." -msgstr "Comparez deux révisions différentes en cochant la case « Comparer n’importe quelles révisions » sur le côté." - -#: wp-admin/includes/template.php:2003 -msgid "Compare Revisions" -msgstr "Comparer des révisions" - -#: wp-admin/includes/template.php:2004 -msgid "View, compare, and restore other versions of this content on the improved revisions screen." -msgstr "Affichez, comparez et rétablissez les autres versions de ce contenu à l’aide de l’écran de révisions amélioré." - -#: wp-admin/includes/template.php:2017 -msgid "Edit Lock" -msgstr "Modifier le verrouillage" - -#: wp-admin/includes/template.php:2018 -msgid "Someone else is editing this. No need to refresh; the lock will disappear when they’re done." -msgstr "Quelqu’un est déjà en train de modifier ce contenu. Inutile de recharger le page : le verrouillage disparaîtra une fois la modification validée." - -#: wp-admin/revision.php:158 -msgid "Compare any two revisions" -msgstr "Comparer n’importe quelles révisions" - -#. translators: 1: audio track title, 2: album title, 3: artist name -#: wp-admin/includes/media.php:281 -msgid "\"%1$s\" from %2$s by %3$s." -msgstr "%1$s tiré de %2$s par %3$s." - -#. translators: 1: audio track title, 2: album title -#: wp-admin/includes/media.php:284 -msgid "\"%1$s\" from %2$s." -msgstr "%1$s tiré de %2$s" - -#. translators: 1: audio track title, 2: artist name -#: wp-admin/includes/media.php:287 -msgid "\"%1$s\" by %2$s." -msgstr "%1$s par %2$s." - -#: wp-admin/includes/media.php:289 -msgid "\"%s\"." -msgstr "%s." - -#: wp-admin/includes/meta-boxes.php:190 -msgid "Your site is configured to keep only the last %s revisions." -msgstr "Votre site est configuré pour conserver seulement les %s dernières révisions." - -#: wp-admin/includes/meta-boxes.php:192 wp-admin/includes/meta-boxes.php:195 -msgid "Revisions: %s" -msgstr "Révisions : %s" - -#: wp-admin/includes/meta-boxes.php:198 -msgctxt "revisions" -msgid "Browse" -msgstr "Parcourir" - -#: wp-admin/revision.php:175 -msgid "Autosave by %s" -msgstr "Sauvegarde automatique par %s" - -#: wp-admin/revision.php:178 -msgid "Current Revision by %s" -msgstr "Révision actuelle par %s" - -#: wp-admin/revision.php:196 -msgid "Restore This Autosave" -msgstr "Rétablir cette sauvegarde automatique" - -#: wp-admin/revision.php:181 -msgid "Revision by %s" -msgstr "Révision par %s" - -#: wp-admin/edit-form-advanced.php:397 -msgid "Connection lost. Saving has been disabled until you’re reconnected." -msgstr "Connexion perdue. L’enregistrement a été désactivé jusqu’à ce que vous soyez reconnecté." - -#: wp-admin/edit-form-advanced.php:398 -msgid "We’re backing up this post in your browser, just in case." -msgstr "Nous sauvegardons cet article dans votre navigateur, par sécurité." - -#: wp-admin/revision.php:210 -msgid "Sorry, something went wrong. The requested comparison could not be loaded." -msgstr "Désolé, quelque chose s’est mal déroulé. La comparaison demandée n’a pas pu être chargée." - -#: wp-admin/custom-background.php:359 -msgctxt "Background Attachment" -msgid "Attachment" -msgstr "Attachement" - -#: wp-admin/user-edit.php:467 -msgid "Repeat New Password" -msgstr "Répétez le nouveau mot de passe" - -#: wp-admin/user-new.php:395 -msgid "Repeat Password" -msgstr "Répétez le mot de passe" - -#: wp-admin/includes/nav-menu.php:1163 -msgid "Add menu items from the column on the left." -msgstr "Ajouter des éléments de menu depuis la colonne de gauche." - -#: wp-admin/includes/plugin-install.php:129 -msgid "Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the WordPress Plugin Directory or upload a plugin in .zip format via this page." -msgstr "Les extensions étendent les fonctionnalités de WordPress, et en ajoutent de nouvelles. Vous pouvez installer des extensions automatiquement en provenance du répertoire des extensions WordPress, ou mettre en ligne une extension au format .zip, via cette page." - -#. Plugin URI of the plugin/theme -msgid "http://wordpress.org/plugins/hello-dolly/" -msgstr "http://wordpress.org/plugins/hello-dolly/" - -#: wp-admin/includes/class-wp-upgrader.php:53 -msgid "The package contains no files." -msgstr "Ce paquet ne contient aucun fichier." - -#: wp-admin/includes/class-wp-upgrader.php:819 -msgid "The theme contains no files." -msgstr "Ce thème ne contient aucun fichier." - -#: wp-admin/includes/class-wp-upgrader-skins.php:206 -msgid "An error occurred while updating %1$s: %2$s" -msgstr "Une erreur est survenue pendant la mise à jour de %1$s : %2$s" - -#: wp-admin/revision.php:108 -msgid "To navigate between revisions, drag the slider handle left or right or use the Previous or Next buttons." -msgstr "Pour naviguer entre les révisions, faites glisser le curseur vers la gauche ou vers la droite ou utilisez les boutons Précédente ou Suivante." - -#: wp-admin/press-this.php:624 -msgid "Loading…" -msgstr "Chargement…" - -#: wp-admin/upload.php:150 -msgid "Error in moving to trash." -msgstr "Erreur lors du déplacement dans la Corbeille." - -#: wp-admin/upload.php:162 -msgid "Error in restoring from trash." -msgstr "Erreur pendant la récupération depuis la Corbeille." - -#: wp-admin/post.php:244 -msgid "The item you are trying to move to the Trash no longer exists." -msgstr "L’élément que vous essayez de placer dans la Corbeille n’existe plus." - -#: wp-admin/post.php:267 -msgid "The item you are trying to restore from the Trash no longer exists." -msgstr "L’élément que vous essayez de sortir de la Corbeille n’existe plus." - -#: wp-admin/post.php:285 -msgid "This item has already been deleted." -msgstr "Cet élément a déjà été supprimé." - -#: wp-admin/nav-menus.php:724 -msgid "Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options." -msgstr "Glissez chaque élément pour les placer dans l’ordre que vous préférez. Cliquez sur la flèche à droite de l’élément pour afficher d’autres options de configuration." - -#: wp-admin/nav-menus.php:508 -msgid "If you haven’t yet created any menus, click the ’create a new menu’ link to get started" -msgstr "Si vous n’avez pas encore créé de menu, cliquez sur le lien « Créer un nouveau menu » pour vous lancer" - -#: wp-admin/revision.php:105 -msgid "This screen is used for managing your content revisions." -msgstr "Cet écran est utilisé pour gérer les révisions de vos contenus." - -#: wp-admin/revision.php:106 -msgid "Revisions are saved copies of your post or page, which are periodically created as you update your content. The red text on the left shows the content that was removed. The green text on the right shows the content that was added." -msgstr "Les révisions sont des copies de votre article ou votre page, périodiquement créées tandis que vous modifiez votre contenu. Sur la gauche, le texte en rouge indique le contenu qui a été enlevé. Sur la droite, le texte en vert indique le contenu qui a été ajouté." - -#: wp-admin/revision.php:107 -msgid "From this screen you can review, compare, and restore revisions:" -msgstr "Depuis cet écran, vous pouvez visualiser, comparer et rétablir les révisions :" - -#: wp-admin/revision.php:110 -msgid "To restore a revision, click Restore This Revision." -msgstr "Pour rétablir cette révision, cliquez sur « Rétablir cette révision »." - -#: wp-admin/revision.php:119 -msgid "Revisions Management" -msgstr "Gestion des révisions (en)" - -#: wp-admin/revision.php:169 -msgctxt "Followed by post revision info" -msgid "To:" -msgstr "Vers :" - -#: wp-admin/revision.php:167 -msgctxt "Followed by post revision info" -msgid "From:" -msgstr "Depuis :" - -#: wp-admin/revision.php:140 -msgctxt "Button label for a previous revision" -msgid "Previous" -msgstr "Précédente" - -#: wp-admin/revision.php:144 -msgctxt "Button label for a next revision" -msgid "Next" -msgstr "Suivante" - -#: wp-admin/nav-menus.php:377 -msgid "Menu locations updated." -msgstr "Les emplacements de menu ont été mis à jour." - -#: wp-admin/includes/revision.php:172 -msgctxt "revision date short format" -msgid "j M @ G:i" -msgstr "j M \\à G \\h i \\m\\i\\n" - -#. translators: 1: audio album title, 2: artist name -#: wp-admin/includes/media.php:296 -msgid "%1$s by %2$s." -msgstr "%1$s par %2$s." - -#: wp-admin/includes/media.php:308 -msgid "Released: %d." -msgstr "Date de sortie : %d." - -#: wp-admin/includes/media.php:313 -msgid "Track %1$s of %2$s." -msgstr "Piste %1$s sur %2$s." - -#: wp-admin/includes/media.php:315 -msgid "Track %1$s." -msgstr "Piste %1$s." - -#: wp-admin/includes/media.php:319 -msgid "Genre: %s." -msgstr "Genre : %s" - -#: wp-admin/includes/media.php:2811 -msgid "Audio Format:" -msgstr "Format audio :" - -#: wp-admin/includes/media.php:2812 -msgid "Audio Codec:" -msgstr "Codex audio :" - -#: wp-admin/includes/post.php:1481 -msgid "Saving revision..." -msgstr "Enregistrement des révisions" - -#: wp-admin/includes/post.php:1482 -msgid "Your latest changes were saved as a revision." -msgstr "Vos dernières modifications ont été enregistrées dans une révision." - -#: wp-admin/nav-menus.php:494 -msgid "This screen is used for managing your custom navigation menus." -msgstr "Cet écran est utilisé pour gérer vos menus de navigations personnalisés." - -#: wp-admin/nav-menus.php:496 wp-admin/themes.php:41 -msgid "From this screen you can:" -msgstr "Depuis cet écran, vous pouvez :" - -#: wp-admin/nav-menus.php:497 -msgid "Create, edit, and delete menus" -msgstr "Créer, modifier et supprimer des menus" - -#: wp-admin/nav-menus.php:498 -msgid "Add, organize, and modify individual menu items" -msgstr "Ajouter, organiser et modifier des éléments de menu individuels" - -#: wp-admin/nav-menus.php:506 -msgid "The menu management box at the top of the screen is used to control which menu is opened in the editor below." -msgstr "Le bloc de gestion des menus, en haut de l’écran, est utilisé pour contrôler le menu qui est ouvert dans l’éditeur ci-dessous." - -#: wp-admin/nav-menus.php:507 -msgid "To edit an existing menu, choose a menu from the drop down and click Select" -msgstr "Pour modifier un menu existant, choisissez un menu depuis la liste déroulant et cliquez sur Sélectionner" - -#: wp-admin/nav-menus.php:509 -msgid "You can assign theme locations to individual menus by selecting the desired settings at the bottom of the menu editor. To assign menus to all theme locations at once, visit the Manage Locations tab at the top of the screen." -msgstr "Vous pouvez assigner un emplacement du thème à chaque menu en sélectionnant les réglages souhaités en bas de l’éditeur de menu. Pour assigner un menu à tous les emplacements d’un coup, rendez-vous dans l’onglet Gérer les emplacements en haut de l’écran." - -#: wp-admin/nav-menus.php:513 -msgid "Menu Management" -msgstr "Gestion des menus" - -#: wp-admin/nav-menus.php:517 -msgid "Each custom menu may contain a mix of links to pages, categories, custom URLs or other content types. Menu links are added by selecting items from the expanding boxes in the left-hand column below." -msgstr "Chaque menu personnalisé peut contenir un mélange de liens vers des pages, des catégories, des adresses web personnalisées ou d’autres types de contenu. Pour ajouter un lien dans un menu, sélectionnez un élément dans l’un des blocs situés dans le colonne de gauche ci-dessous." - -#: wp-admin/nav-menus.php:519 -msgid "Add one or several items at once by selecting the checkbox next to each item and clicking Add to Menu" -msgstr "Ajoutez un ou plusieurs éléments à la fois en cochant la case à côté de chaque élément puis en cliquant sur « Ajouter au menu »" - -#: wp-admin/nav-menus.php:520 -msgid "To add a custom link, expand the Links section, enter a URL and link text, and click Add to Menu" -msgstr "Pour ajouter un lien personnalisé, ouvrez la section Liens, saisissez une adresse web et un texte pour le lien, et cliquez sur Ajouter au menu" - -#: wp-admin/nav-menus.php:521 -msgid "To reorganize menu items, drag and drop items with your mouse or use your keyboard. Drag or move a menu item a little to the right to make it a submenu" -msgstr "Pour réorganiser les éléments du menu, glissez/déposez les éléments avec la souris ou utilisez votre clavier. Glissez ou déplacez légèrement un élement du menu pour en faire un sous-menu" - -#: wp-admin/nav-menus.php:522 -msgid "Delete a menu item by expanding it and clicking the Remove link" -msgstr "Supprimez un élément du menu en l’ouvrant et en cliquant sur le bouton Supprimer" - -#: wp-admin/nav-menus.php:526 -msgid "Editing Menus" -msgstr "Modification des menus" - -#: wp-admin/nav-menus.php:530 -msgid "This screen is used for globally assigning menus to locations defined by your theme." -msgstr "Cet écran est utilisé pour assigner de manière globale vos menus à des emplacements définis par votre thème." - -#: wp-admin/nav-menus.php:531 -msgid "To assign menus to one or more theme locations, select a menu from each location’s drop down. When you’re finished, click Save Changes" -msgstr "Pour assigner des menus à un ou plusieurs emplacements, sélectionnez le menu depuis la liste déroulante de chaque emplacement. Lorsque vous avez terminé, cliquez sur Enregistrer les modifications" - -#: wp-admin/nav-menus.php:532 -msgid "To edit a menu currently assigned to a theme location, click the adjacent ’Edit’ link" -msgstr "Pour modifier un menu actuellement assigné à un emplacement du thème, cliquez sur le lien « Modifier » adjacent" - -#: wp-admin/nav-menus.php:533 -msgid "To add a new menu instead of assigning an existing one, click the ’Use new menu’ link. Your new menu will be automatically assigned to that theme location" -msgstr "Pour ajouter un nouveau menu au lieu d’en assigner un qui existe déjà, cliquez sur le lien « Utiliser un nouveau menu ». Votre nouveau menu sera automatiquement ajouté à cet emplacement du thème" - -#: wp-admin/nav-menus.php:553 -msgid "Edit Menus" -msgstr "Modifier les menus" - -#: wp-admin/nav-menus.php:555 -msgid "Manage Locations" -msgstr "Gérer les emplacements" - -#: wp-admin/nav-menus.php:572 wp-admin/nav-menus.php:578 -msgid "Theme Location" -msgstr "Emplacement du thème" - -#: wp-admin/nav-menus.php:573 wp-admin/nav-menus.php:579 -msgid "Assigned Menu" -msgstr "Menu assigné" - -#: wp-admin/nav-menus.php:588 -msgid "Select a Menu" -msgstr "Choisir un menu" - -#: wp-admin/nav-menus.php:600 -msgctxt "menu" -msgid "Edit" -msgstr "Modifier" - -#: wp-admin/nav-menus.php:606 -msgctxt "menu" -msgid "Use new menu" -msgstr "Utiliser le nouveau menu" - -#: wp-admin/revision.php:198 -msgid "Restore This Revision" -msgstr "Rétablir cette révision" - -#: wp-admin/nav-menus.php:400 -msgid "Move up one" -msgstr "Monter d’un cran" - -#: wp-admin/nav-menus.php:401 -msgid "Move down one" -msgstr "Descendre d’un cran" - -#: wp-admin/nav-menus.php:402 -msgid "Move to the top" -msgstr "Déplacer tout en haut" - -#. translators: %s: previous item name -#: wp-admin/nav-menus.php:404 -msgid "Move under %s" -msgstr "Placer sous %s" - -#. translators: %s: previous item name -#: wp-admin/nav-menus.php:406 -msgid "Move out from under %s" -msgstr "Sortir de sous %s" - -#. translators: %s: previous item name -#: wp-admin/nav-menus.php:408 -msgid "Under %s" -msgstr "Sous %s" - -#. translators: %s: previous item name -#: wp-admin/nav-menus.php:410 -msgid "Out from under %s" -msgstr "Sortir de sous %s" - -#. translators: 1: item name, 2: item position, 3: total number of items -#: wp-admin/nav-menus.php:412 -msgid "%1$s. Menu item %2$d of %3$d." -msgstr "%1$s. Élément de menu %2$d sur %3$d." - -#. translators: 1: item name, 2: item position, 3: parent item name -#: wp-admin/nav-menus.php:414 -msgid "%1$s. Sub item number %2$d under %3$s." -msgstr "%1$s. Sous-élément numéro %2$d sous %3$s." - -#: wp-admin/user-edit.php:522 -msgid "Capabilities" -msgstr "Capacités" - -#: wp-admin/user-edit.php:530 -msgid "Denied: %s" -msgstr "Refusé : %s" - -#: wp-admin/includes/nav-menu.php:188 -msgid "Move" -msgstr "Déplacer" - -#: wp-admin/includes/nav-menu.php:189 -msgid "Up one" -msgstr "Un cran vers le haut" - -#: wp-admin/includes/nav-menu.php:190 -msgid "Down one" -msgstr "Descendre d’un cran" - -#: wp-admin/includes/nav-menu.php:193 -msgid "To the top" -msgstr "Tout en haut" - -#: wp-admin/nav-menus.php:723 -msgid "Menu Structure" -msgstr "Structure du menu" - -#: wp-admin/nav-menus.php:743 -msgid "Menu Settings" -msgstr "Réglages du menu" - -#: wp-admin/includes/template.php:2092 -msgid "The backup of this post in your browser is different from the version below." -msgstr "La sauvegarde de cet article dans votre navigateur est différente de la version ci-dessous." - -#: wp-admin/includes/template.php:2093 -msgid "Restore the backup." -msgstr "Rétablir la sauvegarde." - -#: wp-admin/includes/template.php:2096 -msgid "Post restored successfully." -msgstr "L’article a bien été rétabli." - -#: wp-admin/includes/template.php:2097 -msgid "Undo." -msgstr "Annuler." - -#: wp-admin/includes/ajax-actions.php:1152 -msgid "Draft created on %1$s at %2$s" -msgstr "Brouillon créé le %1$s à %2$s" - -#: wp-admin/includes/misc.php:730 -msgid "%s has taken over and is currently editing." -msgstr "%s a pris la main et modifie actuellement ce contenu." - -#: wp-admin/includes/post.php:1467 -msgid "Take over" -msgstr "Prendre la main" - -#: wp-admin/post.php:254 -msgid "You cannot move this item to the Trash. %s is currently editing." -msgstr "Vous ne pouvez pas déplacer ce contenu dans la Corbeille. %s est en train de le modifier." - -#: wp-admin/nav-menus.php:631 -msgid "Edit your menu below, or create a new menu." -msgstr "Modifiez votre menu ci-dessous, ou créez un nouveau menu." - -#: wp-admin/nav-menus.php:636 -msgid "Select a menu to edit:" -msgstr "Sélectionnez le menu à modifier :" - -#: wp-admin/nav-menus.php:677 -msgid "or create a new menu." -msgstr "ou créez un nouveau menu." - -#: wp-admin/includes/ms.php:604 -msgid "Thank you for Updating! Please visit the Upgrade Network page to update all your sites." -msgstr "Merci d’avoir fait cette mise à jour ! Rendez-vous sur la page de mise à jour du réseau afin de mettre à jour tous vos sites." - -#: wp-admin/setup-config.php:335 -msgid "All right, sparky! You’ve made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to…" -msgstr "C’est parfait ! Vous avez passé la première partie de l’installation. WordPress peut désormais communiquer avec votre base de données. Si vous êtes prêt(e), il est maintenant temps de…" - -#: wp-admin/includes/nav-menu.php:102 -msgid "sub item" -msgstr "sous-élément" - -#: wp-admin/includes/nav-menu.php:589 -msgid "Link Text" -msgstr "Cible du lien" - -#: wp-admin/includes/nav-menu.php:1324 -msgid "%1$s has been updated." -msgstr "%s a bien été mis à jour." - -#: wp-admin/nav-menus.php:270 -msgid "Selected menus have been successfully deleted." -msgstr "Les menus sélectionnés ont bien été supprimés." - -#: wp-admin/nav-menus.php:713 -msgid "Menu 1" -msgstr "Menu 1" - -#: wp-admin/nav-menus.php:724 -msgid "Edit your default menu by adding or removing items. Drag each item into the order you prefer. Click Create Menu to save your changes." -msgstr "Modifiez votre menu par défaut en ajoutant ou en enlevant des éléments. Faites glissez chaque élément pour les mettre dans l’ordre que vous souhaitez. Cliquez sur « Créer le menu » pour enregistrer vos modifications." - -#: wp-admin/nav-menus.php:737 -msgid "Give your menu a name above, then click Create Menu." -msgstr "Donnez à votre un menu un nom ci-dessus, puis cliquez sur « Créer le menu »." - -#: wp-admin/nav-menus.php:756 -msgid "Auto add pages" -msgstr "Ajoutez automatiquement des pages" - -#: wp-admin/nav-menus.php:757 -msgid "Automatically add new top-level pages to this menu" -msgstr "Ajouter automatiquement les nouvelles pages principales de haut niveau à ce menu" - -#: wp-admin/nav-menus.php:763 -msgid "Theme locations" -msgstr "Emplacements du thème" - -#: wp-admin/nav-menus.php:768 -msgid "(Currently set to: %s)" -msgstr "(Actuellement réglé sur : %s)" - -#: wp-admin/plugin-editor.php:132 -msgid "The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Look Up takes you to a web page about that particular function." -msgstr "Le menu « Documentation », situé sous l’éditeur, liste les fonctions PHP reconnues dans le fichier de l’extension. En cliquant sur « Consulter », vous serez envoyé sur une page web documentant cette fonction." - -#: wp-admin/plugin-editor.php:248 wp-admin/theme-editor.php:209 -msgid "Look Up" -msgstr "Consulter" - -#: wp-admin/theme-editor.php:29 -msgid "For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Look Up takes you to a web page with reference material about that particular function." -msgstr "Pour les fichiers PHP, vous pouvez utiliser le menu déroulant « Documentation » pour en apprendre plus sur les fonctions trouvées dans le ce fichier. Le bouton « Consulter » vous enverra sur la page dédiée de cette fonction." - -#: wp-admin/includes/class-wp-posts-list-table.php:647 -#: wp-admin/includes/misc.php:695 -msgid "%s is currently editing" -msgstr "%s modifie actuellement ce contenu" - -#: wp-admin/includes/dashboard.php:1327 -msgid "http://codex.wordpress.org/First_Steps_With_WordPress" -msgstr "http://codex.wordpress.org/fr:Premiers_pas_avec_WordPress" - -#: wp-admin/edit-form-advanced.php:331 -msgid "You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the “Create a new gallery” button." -msgstr "Vous pouvez mettre en ligne et insérer des fichiers média (images, sons, documents, etc.) en cliquant sur le bouton » Ajouter un média «. Vous pouvez sélectionner vos images et fichiers parmi ceux déjà présents dans la bibliothèque de médias, ou en mettre en ligne de nouveaux à ajouter à votre article/page. Pour créer une galerie d’image, sélectionnez les images à ajouter et cliquez sur le bouton » Créer une nouvelle galerie «." - -#: wp-admin/edit-form-advanced.php:332 -msgid "You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. Please refer to the Codex to learn more about embeds." -msgstr "Vous pouvez également insérer des contenus en provenance de nombreux sites populaires, comme Twitter, YouTube, Flickr et d’autres, simplement en collant l’adresse web du contenu dans sa propre ligne dans le texte de votre article/page. Référez-vous au Codex pour en apprendre plus sur les contenus insérés." - -#: wp-admin/includes/template.php:1993 -msgid "New Media Manager" -msgstr "Nouveau gestionnaire de médias" - -#: wp-admin/includes/template.php:1994 -msgid "Uploading files and creating image galleries has a whole new look. Check it out!" -msgstr "La mise en ligne de fichiers et la création de galeries d’images dispose d’un tout nouveau style. Jetez-y un oeil !" - -#: wp-admin/includes/image-edit.php:158 -msgid "Image rotation is not supported by your web host." -msgstr "La rotation d’image n’est pas disponible avec cet hébergeur." - -#: wp-admin/includes/bookmark.php:300 -msgid "If you are looking to use the link manager, please install the Link Manager plugin." -msgstr "Si vous souhaitez utiliser le gestionnaire de liens, veuillez installer l’extension Link Manager." - -#: wp-admin/includes/dashboard.php:1315 -msgid "Manage widgets or menus" -msgstr "Gérez vos widgets ou vos menus" - -#: wp-admin/custom-background.php:143 -msgid "To use a background image, simply upload it or choose an image that has already been uploaded to your Media Library by clicking the “Choose Image” button. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site." -msgstr "Pour utiliser une image de fond, mettez-la simplement en ligne ou choisissez une image déjà mise en ligne dans votre Bibliothèque de Médias en cliquant sur le bouton « Choisir l’image ». Vous pouvez n’afficher qu’une occurrence de l’image, ou la répéter afin de remplir l’écran. Vous pouvez choisir de garder le fond en place quand vous faites défiler le contenu, ou au contraire faire que le fond défile en même temps." - -#: wp-admin/custom-header.php:186 -msgid "Don’t forget to click “Save Changes” when you’re done!" -msgstr "N’oubliez pas de cliquer sur « Enregistrer les modifications » quand vous avez terminé !" - -#: wp-admin/edit-form-advanced.php:272 -msgid "The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop. You can also minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen." -msgstr "Le champ du titre et la zone d’édition de l’article sont inamovibles, mais vous pouvez déplacer toutes les autres blocs par simple glisser/déposer. Vous pouvez également les fermer/ouvrir en cliquant sur la barre de titre de chaque boite. Utilisez l’onglet « Options de l’écran » pour cacher d’autres boites (Extrait, Envoyer des rétroliens, Champs personnalisés, Discussion, Identifiant, Auteur) ou pour choisir un affichage sur une ou deux colonnes pour cet écran." - -#: wp-admin/edit-form-advanced.php:336 -msgid "Inserting Media" -msgstr "Insertion du média" - -#: wp-admin/edit-form-advanced.php:342 -msgid "Several boxes on this screen contain settings for how your content will be published, including:" -msgstr "Plusieurs sections de cet écran vous permettez de régler la manière dont votre contenu sera publié, notamment :" - -#: wp-admin/edit-form-advanced.php:346 -msgid "Format - Post Formats designate how your theme will display a specific post. For example, you could have a standard blog post with a title and paragraphs, or a short aside that omits the title and contains a short text blurb. Please refer to the Codex for descriptions of each post format. Your theme could enable all or some of 10 possible formats." -msgstr "Format d’article - Désigne la manière dont votre thème doit afficher un article donné. Par exemple, vous pourriez vouloir utiliser le format par défaut pour afficher titre et contenu, ou le format En passant pour ne pas utiliser le titre et n’afficher qu’un court texte. Lisez la documentation du Codex pour obtenir une description de chaque format d’article (en). Il est possible que votre thème ne reconnaisse qu’une partie des 10 formats possibles." - -#: wp-admin/edit-form-advanced.php:357 -msgid "Publish Settings" -msgstr "Réglages de publication" - -#: wp-admin/edit-tags.php:215 -msgid "Parent - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have child categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown." -msgstr "Parent - Les catégories, contrairement aux mots-clés, peuvent avoir une hiérarchie. Vous pouvez avoir une catégorie nommée « Jazz », et à l’intérieur, plusieurs catégories comme « Bebop » et « Big Band ». Le fait d’avoir une hiérarchie est totalement facultatif. Pour créer une sous-catégorie, choisissez juste une autre catégorie depuis la liste déroulante « Parent » ." - -#: wp-admin/widgets.php:68 -msgid "When changing themes, there is often some variation in the number and setup of widget areas/sidebars and sometimes these conflicts make the transition a bit less smooth. If you changed themes and seem to be missing widgets, scroll down on this screen to the Inactive Widgets area, where all of your widgets and their settings will have been saved." -msgstr "En changeant de thèmes, il y a souvent des variations sur le nombre et l’agencement des zones de widgets et des barres latérales, et parfois tout cela entre en conflit, rendant la transition moins aisée. Si vous avec changé de thème et que certains widgets semblent manquer, faites défiler cet écran jusqu’en bas pour les retrouver dans la zone des widgets inactifs, où ils ont été conservés avec leurs derniers réglages." - -#: wp-admin/includes/media.php:2535 -msgid "You are using the multi-file uploader. Problems? Try the browser uploader instead." -msgstr "Vous utilisez l’outil de mise en ligne multi-fichiers. Si vous rencontrez des problèmes, essayez la méthode du navigateur à la place." - -#: wp-admin/async-upload.php:62 -msgctxt "media item" -msgid "Edit" -msgstr "Modifier" - -#: wp-admin/custom-header.php:706 -msgctxt "color" -msgid "Default: %s" -msgstr "Par défaut : %s" - -#. translators: column name -#: wp-admin/includes/class-wp-media-list-table.php:251 -msgctxt "column name" -msgid "Uploaded to" -msgstr "Mis en ligne sur " - -#: wp-admin/custom-background.php:410 wp-admin/custom-header.php:856 -#: wp-admin/includes/ajax-actions.php:1845 -msgid "The uploaded file is not a valid image. Please try again." -msgstr "Le fichier mis en ligne n’est pas une image valide. Veuillez réessayer." - -#: wp-admin/custom-background.php:316 -msgid "Choose a Background Image" -msgstr "Choisir une image d’arrière-plan" - -#: wp-admin/custom-header.php:607 -msgid "Choose a Custom Header" -msgstr "Choisir un en-tête personnalisé" - -#: wp-admin/custom-background.php:144 -msgid "You can also choose a background color by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker." -msgstr "Vous pouvez également choisir une couleur pour ce texte en cliquant sur le bouton « Sélecteur de couleur » et soit en saisissant une valeur HTML valide (ex. : #ff0000 pour du rouge) ou en cliquant sur le sélecteur de couleur." - -#: wp-admin/custom-header.php:185 -msgid "In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker." -msgstr "Dans la section « Texte d’en-tête » de cette page, vous pouvez choisir d’afficher ce texte ou de le cacher. Vous pouvez également choisir une couleur pour ce texte en cliquant sur le bouton « Sélecteur de couleur » et soit en saisissant une valeur HTML valide (ex. : #ff0000 pour du rouge) ou en cliquant sur le sélecteur de couleur." - -#: wp-admin/customize.php:135 -msgid "Theme Customizer Options" -msgstr "Options de personnalisation du thème" - -#: wp-admin/options-reading.php:65 -msgid "You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the checkbox next to “Discourage search engines from indexing this site” and click the Save Changes button at the bottom of the screen. Note that your privacy is not complete; your site is still visible on the web." -msgstr "Vous pouvez choisir si votre site est parcouru par les robots et autres logiciels automatisés, ou non. Si vous préférez que ces services ignorent votre site, cliquez sur le bouton radio marqué « Demander aux moteurs de recherche de ne pas indexer ce site » et cliquez sur le bouton « Enregistrer les modifications » en bas de l’écran. Notez bien que votre vie privée n’est pas assurée : votre site reste visible de tous sur le Web." - -#: wp-admin/includes/dashboard.php:1310 -msgid "More Actions" -msgstr "Plus d’actions" - -#: wp-admin/includes/dashboard.php:1325 -msgid "Turn comments on or off" -msgstr "Activez ou désactivez les commentaires" - -#: wp-admin/includes/dashboard.php:1327 -msgid "Learn more about getting started" -msgstr "Plus d’informations pour bien démarrer" - -#: wp-admin/includes/media.php:2722 -msgid "File URL:" -msgstr "Adresse web du fichier :" - -#: wp-admin/edit-comments.php:127 -msgid "In the In Response To column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The View Post link leads to that post on your live site. The small bubble with the number in it shows the number of approved comments that post has received. If the bubble is gray, you have moderated all comments for that post. If it is blue, there are pending comments. Clicking the bubble will filter the comments screen to show only comments on that post." -msgstr "Dans la colonne « En réponse à » se trouvent trois éléments. Le texte correspond au titre de l’article qui a inspiré ce commentaire, et un clic sur ce lien vous permettra de modifier cet article. Le lien « Afficher l’article » mène à l’article sur le site. La petite bulle avec un nombre vous indique le nombre de commentaires que l’article a reçus. Si la bulle est grise, vous avez modéré tous les commentaires de cet article. Si elle est bleue, il y a des commentaires en attente de modération. Un clic sur la bulle filtrera la liste des commentaires pour ne plus afficher que ceux liés à cet article." - -#: wp-admin/includes/ms.php:390 -msgid "Used: %1$s%% of %2$s" -msgstr "Taux d’utilisation : %1$s%% sur %2$s" - -#: wp-admin/users.php:230 -msgid "ID #%1$s: %2$s The current user will not be deleted." -msgstr "ID n°%1$s : %2$s L’utilisateur actuel ne sera pas supprimé." - -#: wp-admin/users.php:232 wp-admin/users.php:342 -msgid "ID #%1$s: %2$s" -msgstr "ID n°%1$s : %2$s" - -#: wp-admin/users.php:338 -msgid "ID #%1$s: %2$s The current user will not be removed." -msgstr "ID n°%1$s : %2$s l’utilisateur actuel ne sera pas supprimé." - -#: wp-admin/users.php:340 -msgid "ID #%1$s: %2$s You don't have permission to remove this user." -msgstr "ID n°%1$s : %2$s vous n’avez pas l’autorisation de supprimer cet utilisateur." - -#: wp-admin/users.php:220 -msgid "Please select an option." -msgstr "Veuillez choisir une option." - -#: wp-admin/includes/ms.php:282 -msgid "ERROR: The email address is already used." -msgstr "ERREUR : l’adresse de messagerie est déjà utilisée." - -#: wp-admin/includes/image-edit.php:224 wp-admin/includes/image-edit.php:289 -#: wp-admin/includes/image-edit.php:408 -msgid "$image needs to be an WP_Image_Editor object" -msgstr "$image doit être un objet WP_Image_Editor" - -#: wp-admin/includes/image-edit.php:336 -msgid "Use WP_Image_Editor::rotate" -msgstr "Utilisez WP_Image_Editor::rotate" - -#: wp-admin/includes/image-edit.php:358 -msgid "Use WP_Image_Editor::flip" -msgstr "Utilisez WP_Image_Editor::flip" - -#: wp-admin/includes/template.php:1222 -msgid "The privacy options group has been removed. Use another settings group." -msgstr "Le groupement d’options « Vie privée » a été supprimé. Utilisez un autre groupement de réglages." - -#: wp-admin/options-writing.php:183 -msgid "WordPress is not notifying any Update Services because of your site’s visibility settings." -msgstr "WordPress ne notifie aucun des services de notification (en), du fait des réglages de vie privée de votre site." - -#: wp-admin/includes/class-wp-themes-list-table.php:212 -#: wp-admin/theme-editor.php:33 wp-admin/update-core.php:300 -msgid "http://codex.wordpress.org/Child_Themes" -msgstr "http://codex.wordpress.org/fr:Thèmes_Enfant" - -#: wp-admin/includes/dashboard.php:299 -msgid "Search Engines Discouraged" -msgstr "Moteurs de recherche refusés" - -#: wp-admin/includes/dashboard.php:1279 -msgid "Welcome to WordPress!" -msgstr "Bienvenue dans WordPress !" - -#: wp-admin/includes/dashboard.php:1280 -msgid "We’ve assembled some links to get you started:" -msgstr "Voici quelques liens pour vous aider à démarrer :" - -#: wp-admin/includes/dashboard.php:1284 -msgid "Get Started" -msgstr "Lancez-vous !" - -#: wp-admin/includes/dashboard.php:1289 -msgid "or, change your theme completely" -msgstr "ou alors, changez complètement de thème" - -#: wp-admin/includes/dashboard.php:1293 -msgid "Next Steps" -msgstr "Étapes suivantes" - -#: wp-admin/includes/dashboard.php:1296 wp-admin/includes/dashboard.php:1299 -msgid "Edit your front page" -msgstr "Modifiez votre page d’accueil" - -#: wp-admin/includes/dashboard.php:1297 wp-admin/includes/dashboard.php:1300 -msgid "Add additional pages" -msgstr "Ajoutez de nouvelles pages" - -#: wp-admin/includes/dashboard.php:1301 -msgid "Add a blog post" -msgstr "Écrivez un article" - -#: wp-admin/includes/dashboard.php:1303 -msgid "Write your first blog post" -msgstr "Écrivez votre premier article" - -#: wp-admin/includes/dashboard.php:1304 -msgid "Add an About page" -msgstr "Ajoutez une page « À propos »" - -#: wp-admin/includes/dashboard.php:1306 -msgid "View your site" -msgstr "Affichez votre site" - -#: wp-admin/includes/meta-boxes.php:297 -msgid "Uploaded on: %1$s" -msgstr "Mise en ligne le : %1$s" - -#: wp-admin/includes/plugin-install.php:218 -msgid "If you have marked plugins as favorites on WordPress.org, you can browse them here." -msgstr "Si vous avez mis des extensions en favoris sur WordPress.org, vous pouvez les voir ici." - -#: wp-admin/includes/plugin-install.php:222 -msgid "Your WordPress.org username:" -msgstr "Votre identifiant WordPress.org :" - -#: wp-admin/includes/plugin-install.php:224 -msgid "Get Favorites" -msgstr "Récupérer les extensions favorites." - -#: wp-admin/includes/plugin.php:1733 wp-admin/includes/plugin.php:1738 -#: wp-admin/includes/plugin.php:1761 wp-admin/includes/plugin.php:1766 -#: wp-admin/includes/template.php:1179 wp-admin/includes/template.php:1184 -msgid "The \"%s\" options group has been removed. Use another settings group." -msgstr "Le groupement d’options « %s » a été supprimé. Utilisez un autre groupement de réglages." - -#: wp-admin/includes/update-core.php:1138 wp-admin/update-core.php:421 -msgid "Welcome to WordPress %1$s. You will be redirected to the About WordPress screen. If not, click here." -msgstr "Bienvenue dans WordPress %1$s. Vous allez être redirigé vers l’écran « À propos » de WordPress. Si ce n’est pas le cas, cliquez ici." - -#: wp-admin/options-reading.php:58 -msgid "You can also control the display of your content in RSS feeds, including the maximum numbers of posts to display and whether to show full text or a summary." -msgstr "Vous pouvez également contrôler l’affichage de votre contenu dans les flux RSS, comme le nombre maximum d’articles à afficher, et s’il faut afficher l’article en entier ou juste un résumé." - -#: wp-admin/options-reading.php:64 wp-admin/options-reading.php:144 -#: wp-admin/options-reading.php:145 -msgid "Search Engine Visibility" -msgstr "Visibilité pour les moteurs de recherche" - -#: wp-admin/options-reading.php:148 -msgid "Allow search engines to index this site" -msgstr "Autoriser les moteurs de recherche à indexer ce site" - -#: wp-admin/options-reading.php:150 wp-admin/options-reading.php:170 -msgid "Discourage search engines from indexing this site" -msgstr "Demander aux moteurs de recherche de ne pas indexer ce site" - -#: wp-admin/options-reading.php:171 -msgid "It is up to search engines to honor this request." -msgstr "Certains moteurs de recherche peuvent décider de l’indexer malgré tout." - -#: wp-admin/plugin-install.php:77 -msgid "If you know what you’re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting popular tags. Tags in larger type mean more plugins have been labeled with that tag." -msgstr "Si vous savez ce que vous voulez, commencez par le champ « Recherche » : il vous permet de lancer une recherche sur le dépôt d’extensions de WordPress.org, pour un terme, un auteur, ou un mot-clé particulier. Vous pouvez également lancer une recherche en cliquant sur un des mots-clés populaires. Plus un mot-clé est grand, plus il fait référence à un grand nombre d’extensions." - -#: wp-admin/plugin-install.php:79 -msgid "You can also browse a user’s favorite plugins, by using the Favorites link in the upper left of the screen and entering their WordPress.org username." -msgstr "Vous pouvez voir les extensions préférées d’un utililsateur en utilisant le lien Préférées situé en haut à gauche de l’écran, et en renseignant leur identifiant WordPress.org" - -#: wp-admin/plugin-install.php:80 -msgid "If you want to install a plugin that you’ve downloaded elsewhere, click the Upload link in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin." -msgstr "Si vous voulez installer une extension que vous avez téléchargée depuis un site tiers, cliquez sur le lien « Envoyer ». Il vous sera demandé d’indiquer le fichier .zip à mettre en ligne, et ceci fait, vous pourrez activer l’extension." - -#: wp-admin/setup-config.php:138 -msgid "If for any reason this automatic file creation doesn’t work, don’t worry. All this does is fill in the database information to a configuration file. You may also simply open wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.php." -msgstr "Si, pour quelque raison que ce soit, la création automatique du fichier ne fonctionne pas, pas de panique. Tout ce qu’elle fait, c’est de compléter le fichier de configuration avec les informations de connexion à la base de données. Vous pouvez tout aussi bien ouvrir le fichier wp-config-sample.php dans un éditeur de texte, y saisir les informations en question, et enregistrer le fichier sous le nom wp-config.php." - -#: wp-admin/setup-config.php:154 -msgid "Below you should enter your database connection details. If you’re not sure about these, contact your host." -msgstr "Vous devez saisir ci-dessous les détails de connexion à votre base de données. Si vous ne les connaissez pas, contactez votre hébergeur." - -#: wp-admin/setup-config.php:300 -msgid "Sorry, but I can’t write the wp-config.php file." -msgstr "Désolé, mais je ne peux écrire dans le fichier wp-config.php." - -#: wp-admin/setup-config.php:307 -msgid "After you’ve done that, click “Run the install.”" -msgstr "Après cela, cliquez sur « Lancer l’installation »." - -#: wp-admin/themes.php:130 -msgid "Settings saved and theme activated. Visit site" -msgstr "Réglages enregistrés et thème activé. Voir le site" - -#: wp-admin/includes/class-wp-themes-list-table.php:211 -msgid "This child theme requires its parent theme, %2$s." -msgstr "Ce thème enfant nécessite son thème parent, %2$s." - -#: wp-admin/edit-form-advanced.php:317 -msgid "This screen allows you to edit four fields for metadata in a file within the media library." -msgstr "Cet écran vous permet de modifier les quatre champs des métadonnées des fichiers dans la bibliothèque des médias." - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:67 -msgctxt "Plugin Installer" -msgid "Favorites" -msgstr "Favorites" - -#: wp-admin/includes/theme.php:218 -msgid "Flexible Header" -msgstr "En-tête flexible" - -#: wp-admin/theme-install.php:93 -msgid "To install the theme so you can preview it with your site’s content and customize its theme options, click the \"Install\" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the \"Activate\" link, or by navigating to your Manage Themes screen and clicking the \"Live Preview\" link under any installed theme’s thumbnail image." -msgstr "Pour installer un thème dans le but de le prévisualiser avec le contenu de votre site et d’en personnaliser les options, cliquez sur le bouton « Installer » en haut du panneau de gauche. Les fichiers du thème seront automatiquement téléchargés vers votre site. Ceci fait, le thème sera disponible, et vous pourrez l’activer en cliquant sur le lien « Activer », ou en vous rendant sur l’écran « Gérer les thèmes » et en cliquant sur le lien « Prévisualisation » situé sous la miniature de chaque thème." - -#: wp-admin/options-reading.php:50 -msgid "The character encoding of your site (UTF-8 is recommended)" -msgstr "L’encodage de caractères utilisé par votre site (UTF-8 est recommandé)" - -#: wp-admin/plugin-editor.php:133 wp-admin/theme-editor.php:30 -msgid "In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key." -msgstr "Dans la zone d’édition, la touche Tab ajouter un caractère de tabulation. Pour sortir de cette zone en pressant cette touche, combinez-la avec la touche Esc : Esc-Tab." - -#: wp-admin/includes/widgets.php:200 -msgctxt "widget" -msgid "Add" -msgstr "Ajouter" - -#: wp-admin/includes/widgets.php:199 -msgctxt "widget" -msgid "Edit" -msgstr "Modifier" - -#: wp-admin/includes/upgrade.php:199 -msgid "" -"This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:\n" -"\n" -"
      Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my blog. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin' caught in the rain.)
      \n" -"\n" -"...or something like this:\n" -"\n" -"
      The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.
      \n" -"\n" -"As a new WordPress user, you should go to your dashboard to delete this page and create new pages for your content. Have fun!" -msgstr "" -"Voici un exemple de page. Elle est différente d'un article de blog, en cela qu'elle restera à la même place, et s'affichera dans le menu de navigation de votre site (en fonction de votre thème). La plupart des gens commencent par écrire une page « À Propos » qui les présente aux visiteurs potentiels du site. Vous pourriez y écrire quelque chose de ce tenant :\n" -"\n" -"
      Bonjour ! Je suis un mécanicien qui aspire à devenir un acteur, et voici mon blog. J'habite à Bordeaux, j'ai un super chien baptisé Russell, et j'aime la vodka-ananas (ainsi que regarder la pluie tomber).
      \n" -"\n" -"...ou bien quelque chose comme ça :\n" -"\n" -"
      La société 123 Machin Truc a été créée en 1971, et n'a cessé de proposer au public des machins-trucs de qualité depuis lors. Située à Saint-Remy-en-Bouzemont-Saint-Genest-et-Isson, 123 Machin Truc emploie 2 000 personnes, et fabrique toutes sortes de bidules super pour la communauté bouzemontoise.
      \n" -"\n" -"Étant donné que vous êtes un nouvel utilisateur de WordPress, vous devriez vous rendre sur votre tableau de bord pour effacer la présente page, et créer de nouvelles pages avec votre propre contenu. Amusez-vous bien !" - -#: wp-admin/includes/upgrade.php:181 -msgid "" -"Hi, this is a comment.\n" -"To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them." -msgstr "" -"Bonjour, ceci est un commentaire.\n" -"Pour supprimer un commentaire, connectez-vous et affichez les commentaires de cet article. Vous pourrez alors les modifier ou les supprimer." - -#: wp-admin/includes/theme-install.php:78 -msgid "Search by tag" -msgstr "Recherche par mot-clé (tag)" - -#: wp-admin/includes/theme-install.php:75 -msgid "Search by author" -msgstr "Recherche par auteur" - -#: wp-admin/includes/theme-install.php:72 -#: wp-admin/includes/theme-install.php:83 -msgid "Search by keyword" -msgstr "Recherche par mot-clé (terme)." - -#: wp-admin/includes/theme-install.php:63 -msgid "Type of search" -msgstr "Type de recherche" - -#: wp-admin/includes/screen.php:1026 -msgid "Screen Options Tab" -msgstr "Onglet des options de l’écran" - -#: wp-admin/includes/screen.php:854 -msgid "Contextual Help Tab" -msgstr "Onglet d’aide contextuelle" - -#: wp-admin/includes/ms.php:362 -msgid "Sorry, you have used your space allocation. Please delete some files to upload more files." -msgstr "Désolé, vous avez utilisé l’intégralité de votre quota aloué. Veuillez supprimer quelques fichiers avant d’en envoyer d’autres." - -#: wp-admin/includes/media.php:2592 -msgid "Sorry, you have used all of your storage quota of %s MB." -msgstr "Désolé, vous avez utilisé l’intégralité de votre quota de stockage (%s Mo)." - -#: wp-admin/includes/class-wp-comments-list-table.php:371 -msgid "Select comment" -msgstr "Sélectionnez un commentaire" - -#: wp-admin/includes/class-wp-links-list-table.php:144 -#: wp-admin/includes/class-wp-media-list-table.php:317 -#: wp-admin/includes/class-wp-ms-sites-list-table.php:246 -#: wp-admin/includes/class-wp-ms-users-list-table.php:178 -#: wp-admin/includes/class-wp-plugins-list-table.php:477 -#: wp-admin/includes/class-wp-posts-list-table.php:590 -#: wp-admin/includes/class-wp-terms-list-table.php:271 -#: wp-admin/includes/class-wp-users-list-table.php:389 -msgid "Select %s" -msgstr "Sélectionner %s" - -#: wp-admin/edit-tags.php:345 -msgid "Tags can be selectively converted to categories using the tag to category converter." -msgstr "Les mots-clés peuvent être convertis de manière sélective en catégories via le convertisseur mots-clés vers catégories" - -#: wp-admin/edit-tags.php:192 -msgid "You can delete Link Categories in the Bulk Action pull-down, but that action does not delete the links within the category. Instead, it moves them to the default Link Category." -msgstr "Vous pouvez supprimer des catégories de liens avec la liste déroulante « Actions groupées », mais cette action ne supprime pas les liens contenus dans la catégorie. Au lieu de cela, ils sont déplacés dans la catégorie de liens par défaut." - -#: wp-admin/edit-form-advanced.php:298 -msgid "Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the distraction-free writing space, available in both the Visual and Text modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box:" -msgstr "Le processus de création d’une page reste très proche de celui d’un article, et les écrans respectifs peuvent être personnalisés de la même manière, par le biais de glisser/déposer, de l’onglet « Option de l’Écran », et en ouvrant/fermant les blocs selon vos besoins. Cet écran dispose également du mode « aucune distraction », tant dans le mode Visuel que dans le mode Texte, via les boutons « Plein Écran ». L’éditeur de page fonctionne globalement comme celui des articles, mais dispose de certaines spécificités, disponibles dans le bloc « Attributs de Page » :" - -#: wp-admin/edit-form-advanced.php:281 -msgid "Post editor - Enter the text for your post. There are two modes of editing: Visual and Text. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. The Text mode allows you to enter HTML along with your post text. Line breaks will be converted to paragraphs automatically. You can insert media files by clicking the icons above the post editor and following the directions. You can go to the distraction-free writing screen via the Fullscreen icon in Visual mode (second to last in the top row) or the Fullscreen button in Text mode (last in the row). Once there, you can make buttons visible by hovering over the top area. Exit Fullscreen back to the regular post editor." -msgstr "Éditeur d’article - Saisissez-y le contenu de votre article. Vous disposez pour ce faire de deux modes : Visuel ou Texte. Choisissez un mode en cliquant sur l’onglet correspondant. Le mode Visuel vous donne accès à un éditeur WYSIWYG ; cliquez sur la dernière icône de la rangée pour afficher une seconde rangée d’icônes. Le mode Texte vous permet de saisir directement du code HTML en même temps que le contenu de votre article. Vous pouvez insérer des fichiers média en cliquant sur les icônes situées au-dessus de l’éditeur, puis en suivant les instructions. Vous pouvez passer en mode « aucune distraction » grâce à l’icône « Plein Écran » du mode Visuel (avant-dernier bouton de la première rangée), ou le bouton « Plein Écran » du mode HTML (dernier bouton de la rangée). Une fois dans ce mode, vous pouvez rendre les boutons visibles en survolant la zone supérieure de la page. Quittez le mode Plein Écran pour revenir en mode d’édition normal." - -#: wp-admin/custom-header.php:570 -msgid "You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it." -msgstr "Vous pouvez choisir une image d’en-tête personnalisée en la mettant en ligne depuis votre ordinateur ou en la choisissant dans votre bibliothèque de médias. Après avoir sélectionné l’image, vous pourrez la recadrer." - -#: wp-admin/admin-header.php:207 -msgid "Main content" -msgstr "Contenu principal" - -#: wp-admin/admin-header.php:186 -msgid "Skip to main content" -msgstr "Aller au contenu principal" - -#: wp-admin/custom-header.php:174 -msgid "You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately. Alternatively, you can use an image that has already been uploaded to your Media Library by clicking the “Choose Image” button." -msgstr "Vous pouvez utiliser une image d’en-tête personnalisée pour votre site. Mettez simplement l’image en ligne, recadrez-la, et le nouvel en-tête sera aussitôt en ligne. Autrement, vous pouvez utiliser une image qui a déjà été mise en ligne dans votre Bibliothèque de Médias, en cliquant sur le bouton « Choisissez une image »." - -#: wp-admin/custom-header.php:836 -msgid "Skip Cropping, Publish Image as Is" -msgstr "Pas de recadrage, utiliser l’image telle quelle" - -#. translators: %s is the theme name in the Customize/Live Preview pane -#: wp-admin/customize.php:139 -msgid "You are previewing %s" -msgstr "Vous prévisualisez %s" - -#: wp-admin/custom-background.php:304 wp-admin/custom-header.php:568 -msgid "Select Image" -msgstr "Sélectionnez une image" - -#: wp-admin/custom-background.php:314 wp-admin/custom-header.php:604 -msgid "Or choose an image from your media library:" -msgstr "Ou choisissez une image dans votre bibliothèque de médias :" - -#: wp-admin/customize.php:88 -msgid "Customize %s" -msgstr "Personnaliser %s" - -#: wp-admin/customize.php:176 -#: wp-admin/includes/class-wp-theme-install-list-table.php:303 -#: wp-admin/theme-install.php:267 -msgid "Collapse" -msgstr "Réduire" - -#: wp-admin/custom-header.php:177 -msgid "If you don’t want a header image to be displayed on your site at all, click the “Remove Header Image” button at the bottom of the Header Image section of this page. If you want to re-enable the header image later, you just have to select one of the other image options and click “Save Changes”." -msgstr "Si vous ne souhaitez pas que votre site utilise une image d’en-tête, cliquez sur le bouton « Retirer l’image d’en-tête » en bas de la section « Image d’en-tête » de cette page. Si vous souhaitez réactiver l’image d’en-tête, il vous suffit de sélectionner l’une des autres options d’images, et de la valider en cliquant sur « Enregistrer les modifications »." - -#: wp-admin/media.php:62 -msgid "You attempted to edit an item that isn’t an attachment. Please go back and try again." -msgstr "Vous avez tenté de modifier un élément qui n’est pas un fichier joint. Veuillez réessayer." - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:407 -msgctxt "plugin" -msgid "Installed" -msgstr "Installée" - -#: wp-admin/includes/class-wp-theme-install-list-table.php:245 -#: wp-admin/includes/class-wp-theme-install-list-table.php:366 -msgid "This theme is already installed and is up to date" -msgstr "Ce thème est déjà installé et à jour" - -#: wp-admin/includes/class-wp-theme-install-list-table.php:245 -#: wp-admin/includes/class-wp-theme-install-list-table.php:366 -#: wp-admin/theme-install.php:235 -msgctxt "theme" -msgid "Installed" -msgstr "Installés" - -#: wp-admin/theme-install.php:92 -msgid "Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you’re interested in previewing. It will open up in a full-screen Preview page to give you a better idea of how that theme will look." -msgstr "Une fois que vous avez généré une liste de thèmes, vous pouvez les prévisualiser et les installer. Cliquez sur la miniature du thème que vous souhaitez prévisualiser. Cela ouvrira une page de prévisualisation en plein écran, afin de vous donner une meilleure idée de l’aspect de ce thème." - -#: wp-admin/theme-install.php:97 -msgid "Previewing and Installing" -msgstr "Voir l’aperçu et installer" - -#: wp-admin/themes.php:78 -msgid "Previewing and Customizing" -msgstr "Aperçu et personnalisation" - -#: wp-admin/includes/media.php:2549 -msgid "You are using the browser’s built-in file uploader. The WordPress uploader includes multiple file selection and drag and drop capability. Switch to the multi-file uploader." -msgstr "Vous utilisez l’outil de mise en ligne du navigateur. Le nouvel outil de mise en ligne de WordPress inclus la possibilité de télécharger plusieurs fichiers à la fois par glisser/déposer. Passer au nouvel outil de mise en ligne." - -#: wp-admin/includes/class-wp-theme-install-list-table.php:253 -msgid "Preview %s" -msgstr "Aperçu de %s" - -#: wp-admin/tools.php:22 -msgid "Categories have hierarchy, meaning that you can nest sub-categories. Tags do not have hierarchy and cannot be nested. Sometimes people start out using one on their posts, then later realize that the other would work better for their content." -msgstr "Les catégories disposent d’une hiérarchie, ce qui signifie que vous pouvez leur donner des sous-catégories. Les mots-clés n’ont pas de hiérarchie et ne peuvent être imbriqués. Parfois, des auteurs commencent par utiliser une sorte de caractérisation, pour se rendre compte par la suite qu’ils préfèrent l’autre." - -#: wp-admin/tools.php:23 -msgid "The Categories and Tags Converter link on this screen will take you to the Import screen, where that Converter is one of the plugins you can install. Once that plugin is installed, the Activate Plugin & Run Importer link will take you to a screen where you can choose to convert tags into categories or vice versa." -msgstr "Le lien « convertisseur de catégories et mots-clés » vous mènera à la page d’import, où ledit convertisseur est l’une des extensions que vous pouvez installer. Une fois installée, le lien « Activer l’extension & lancer l’importateur » vous mènera à l’écran d’où vous pourrez choisir de lancer une conversion dans un sens ou dans l’autre." - -#: wp-admin/includes/class-wp-themes-list-table.php:164 -#: wp-admin/includes/class-wp-upgrader-skins.php:522 -#: wp-admin/includes/class-wp-upgrader-skins.php:601 wp-admin/themes.php:221 -#: wp-admin/themes.php:301 wp-admin/themes.php:363 -msgid "Live Preview" -msgstr "Prévisualiser" - -#: wp-admin/custom-header.php:166 -msgid "This screen is used to customize the header section of your theme." -msgstr "Cet écran est utilisé pour personnaliser la section d’en-tête de votre thème." - -#: wp-admin/custom-header.php:167 -msgid "You can choose from the theme’s default header images, or use one of your own. You can also customize how your Site Title and Tagline are displayed." -msgstr "Vous pouvez choisir à partir des images d’en-tête par défaut du thème, ou utiliser l’une des vôtres. Vous pouvez également personnaliser la manière dont s’affichent le titre de votre site et son slogan." - -#: wp-admin/custom-header.php:175 -msgid "Some themes come with additional header images bundled. If you see multiple images displayed, select the one you’d like and click the “Save Changes” button." -msgstr "Certains thèmes disposent d’une série d’images d’en-tête. Si vous voyez plusieurs images affichées, sélectionnez celle que vous aimez et cliquez sur le bouton « Enregistrer les modifications »." - -#: wp-admin/custom-header.php:176 -msgid "If your theme has more than one default header image, or you have uploaded more than one custom header image, you have the option of having WordPress display a randomly different image on each page of your site. Click the “Random” radio button next to the Uploaded Images or Default Images section to enable this feature." -msgstr "Si votre thème a plus d’une image d’en-tête par défaut, ou si vous avez mis en ligne plus d’une image d’en-tête personnalisée, vous pouvez faire en sorte que WordPress affiche une image aléatoire différente à chaque chargement de votre site. Sélectionnez l’option « Au hasard » dans la section « Images par défaut » ou « Images mises en ligne » pour activer cette fonctionnalité." - -#: wp-admin/custom-header.php:184 -msgid "For most themes, the header text is your Site Title and Tagline, as defined in the General Settings section." -msgstr "Pour la plupart des thèmes, le texte d’en-tête est le titre de votre site et son slogan, tels que définis dans la section Réglages généraux." - -#: wp-admin/install.php:181 -msgid "Configuration Error" -msgstr "Erreur de configuration" - -#: wp-admin/install.php:181 -msgid "Your wp-config.php file has an empty database table prefix, which is not supported." -msgstr "Votre fichier wp-config.php ne défini pas préfixe de table de base de données. Il en faut obligatoirement un." - -#: wp-admin/media-new.php:51 -msgid "Revert to the Browser Uploader by clicking the link below the drag and drop box." -msgstr "Revenez à l’outil de mise en ligne du navigateur en cliquant sur le lien sous la zone de glisser-déposer." - -#: wp-admin/users.php:382 -msgid "User deleted." -msgid_plural "%s users deleted." -msgstr[0] "Utilisateur supprimé." -msgstr[1] "%s utilisateurs supprimés." - -#: wp-admin/users.php:386 -msgid "New user created. Edit user" -msgstr "Nouvel utilisateur créé. Modifier l’utilisateur" - -#: wp-admin/includes/class-wp-upgrader.php:1441 wp-admin/includes/file.php:614 -#: wp-admin/includes/file.php:716 -msgid "Could not copy files. You may have run out of disk space." -msgstr "Impossible de copier les fichiers. Il se pourrait que vous manquiez de place." - -#: wp-admin/includes/theme-install.php:58 -msgid "Search for themes by keyword." -msgstr "Chercher un thème par mot-clé." - -#: wp-admin/includes/theme-install.php:100 -msgid "Find a theme based on specific features." -msgstr "Trouver un thème selon des critères précis." - -#: wp-admin/setup-config.php:141 -msgid "In all likelihood, these items were supplied to you by your Web Host. If you do not have this information, then you will need to contact them before you can continue. If you’re all ready…" -msgstr "Vous devriez normalement avoir reçu ces informations de la part de votre hébergeur. Si vous ne les avez pas, il vous faudra contacter votre hébergeur afin de continuer. Si vous êtes prêt…" - -#: wp-admin/theme-editor.php:161 -msgid "This theme is broken." -msgstr "Le thème est cassé." - -#: wp-admin/includes/class-wp-themes-list-table.php:208 -msgid "Version: " -msgstr "Version :" - -#: wp-admin/custom-background.php:317 -msgid "Set as background" -msgstr "Utiliser comme image de fond" - -#: wp-admin/custom-header.php:608 -msgid "Set as header" -msgstr "Utiliser comme en-tête" - -#: wp-admin/includes/class-wp-upgrader-skins.php:596 -msgid "Customize “%s”" -msgstr "Personnaliser « %s »" - -#: wp-admin/about.php:19 -msgid "About" -msgstr "À propos" - -#: wp-admin/includes/nav-menu.php:748 wp-admin/includes/nav-menu.php:1008 -msgid "No results found." -msgstr "Aucun résultat trouvé." - -#: wp-admin/edit-comments.php:209 wp-admin/edit-comments.php:215 -#: wp-admin/includes/class-wp-comments-list-table.php:475 -#: wp-admin/includes/dashboard.php:554 -msgid "Edit comment" -msgstr "Modifier le commentaire" - -#: wp-admin/edit-form-advanced.php:461 -msgid "Enter title here" -msgstr "Saisissez votre titre ici" - -#: wp-admin/edit-link-form.php:29 wp-admin/includes/meta-boxes.php:883 -msgid "Target" -msgstr "Cible" - -#: wp-admin/export.php:163 wp-admin/export.php:169 wp-admin/export.php:186 -#: wp-admin/export.php:201 wp-admin/export.php:218 -msgid "All" -msgstr "Tout" - -#: wp-admin/includes/class-wp-comments-list-table.php:226 -#: wp-admin/includes/class-wp-comments-list-table.php:465 -#: wp-admin/includes/class-wp-media-list-table.php:535 -#: wp-admin/includes/class-wp-posts-list-table.php:203 -#: wp-admin/includes/class-wp-posts-list-table.php:665 -msgid "Restore" -msgstr "Rétablir" - -#: wp-admin/includes/class-wp-media-list-table.php:398 -#: wp-admin/includes/class-wp-plugin-install-list-table.php:463 -#: wp-admin/includes/class-wp-posts-list-table.php:734 -#: wp-admin/includes/plugin-install.php:434 wp-admin/includes/revision.php:173 -msgid "%s ago" -msgstr "Il y a %s" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:159 -msgid "Path" -msgstr "Chemin" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:169 -#: wp-admin/includes/media.php:2140 wp-admin/users.php:54 -msgid "Actions" -msgstr "Actions" - -#: wp-admin/includes/class-wp-plugins-list-table.php:237 -msgid "Plugin" -msgstr "Extension" - -#: wp-admin/customize.php:174 -#: wp-admin/includes/class-wp-theme-install-list-table.php:302 -#: wp-admin/theme-install.php:266 -msgid "Collapse Sidebar" -msgstr "Réduire la barre latérale" - -#: wp-admin/includes/class-wp-theme-install-list-table.php:381 -#: wp-admin/includes/plugin-install.php:429 -msgid "Version:" -msgstr "Version : " - -#: wp-admin/includes/image-edit.php:52 -msgid "Scale" -msgstr "Redimensionner" - -#: wp-admin/includes/media.php:1159 -msgid "Link URL" -msgstr "Adresse du lien" - -#: wp-admin/includes/media.php:1162 wp-admin/includes/media.php:2501 -msgid "Enter a link URL or click above for presets." -msgstr "Saisissez une adresse de lien ou cliquez ci-dessus pour les liens prédéfinis." - -#: wp-admin/includes/media.php:2138 wp-admin/menu.php:63 wp-admin/menu.php:226 -msgid "Media" -msgstr "Médias" - -#: wp-admin/includes/meta-boxes.php:423 wp-admin/includes/meta-boxes.php:866 -#: wp-admin/press-this.php:587 -msgid "Add" -msgstr "Ajouter" - -#: wp-admin/includes/class-wp-list-table.php:823 -#: wp-admin/includes/nav-menu.php:835 wp-admin/includes/nav-menu.php:1023 -#: wp-admin/update-core.php:230 wp-admin/update-core.php:237 -#: wp-admin/update-core.php:308 wp-admin/update-core.php:315 -msgid "Select All" -msgstr "Tout sélectionner" - -#: wp-admin/includes/theme.php:178 -msgid "Black" -msgstr "Noir" - -#: wp-admin/includes/theme.php:179 -msgid "Blue" -msgstr "Bleu" - -#: wp-admin/includes/theme.php:180 -msgid "Brown" -msgstr "Marron" - -#: wp-admin/includes/theme.php:181 -msgid "Gray" -msgstr "Gris" - -#: wp-admin/includes/theme.php:182 -msgid "Green" -msgstr "Vert" - -#: wp-admin/includes/theme.php:183 -msgid "Orange" -msgstr "Orange" - -#: wp-admin/includes/theme.php:184 -msgid "Pink" -msgstr "Rose" - -#: wp-admin/includes/theme.php:185 -msgid "Purple" -msgstr "Violet" - -#: wp-admin/includes/theme.php:186 -msgid "Red" -msgstr "Rouge" - -#: wp-admin/includes/theme.php:187 -msgid "Silver" -msgstr "Argent" - -#: wp-admin/includes/theme.php:189 -msgid "White" -msgstr "Blanc" - -#: wp-admin/includes/theme.php:190 -msgid "Yellow" -msgstr "Jaune" - -#: wp-admin/includes/theme.php:209 -msgid "Blavatar" -msgstr "Blavatar" - -#: wp-admin/link.php:104 -msgid "Edit Link" -msgstr "Modifier le lien" - -#: wp-admin/menu.php:221 wp-admin/options.php:21 -msgid "Settings" -msgstr "Réglages" - -#: wp-admin/user-edit.php:274 wp-admin/user-edit.php:275 -msgid "Toolbar" -msgstr "Barre d’outils" - -#: wp-admin/includes/plugin-install.php:177 -#: wp-admin/includes/theme-install.php:65 -msgid "Keyword" -msgstr "Mot-clé" - -#: wp-admin/includes/class-wp-upgrader.php:824 -msgid "This theme requires a parent theme. Checking if it is installed…" -msgstr "Ce thème nécessite un thème parent. Nous vérifions s’il est installé…" - -#. translators: 1: theme name, 2: version -#: wp-admin/includes/class-wp-upgrader.php:826 -msgid "Preparing to install %1$s %2$s…" -msgstr "Préparation à l’installation de %1$s %2$s…" - -#. translators: 1: theme name, 2: version -#: wp-admin/includes/class-wp-upgrader.php:828 -msgid "The parent theme, %1$s %2$s, is currently installed." -msgstr "Le thème parent, %1$s %2$s, est bien installé." - -#. translators: 1: theme name, 2: version -#: wp-admin/includes/class-wp-upgrader.php:830 -msgid "Successfully installed the parent theme, %1$s %2$s." -msgstr "Le thème parent, %1$s %2$s, a bien été installé." - -#: wp-admin/includes/class-wp-upgrader.php:831 -msgid "The parent theme could not be found. You will need to install the parent theme, %s, before you can use this child theme." -msgstr "Le thème parent n’a pas pu être trouvé. Vous allez devoir installer le thème parent, %s, avant de pouvoir utiliser ce thème enfant." - -#: wp-admin/custom-header.php:182 wp-admin/custom-header.php:671 -#: wp-admin/custom-header.php:676 -msgid "Header Text" -msgstr "Texte de l’en-tête" - -#: wp-admin/custom-header.php:679 -msgid "Show header text with your image." -msgstr "Afficher le texte d’en-tête avec l’image." - -#: wp-admin/includes/theme.php:157 wp-admin/includes/update.php:286 -#: wp-admin/includes/update.php:375 -msgid "There is a new version of %1$s available. View version %4$s details or update now." -msgstr "Une nouvelle version de %1$s est disponible. Afficher les détails de la version %4$s ou mettez à jour automatiquement." - -#: wp-admin/includes/plugin.php:171 -msgid "By %s." -msgstr "par %s" - -#: wp-admin/includes/meta-boxes.php:630 -msgid "Add comment" -msgstr "Ajouter un commentaire" - -#: wp-admin/includes/template.php:441 -msgid "Add new Comment" -msgstr "Ajouter un nouveau commentaire" - -#: wp-admin/includes/template.php:469 -msgid "Add Comment" -msgstr "Ajouter un commentaire" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:376 -msgid "Broken Theme:" -msgstr "Thème cassé :" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:226 -msgid "Broken (%s)" -msgid_plural "Broken (%s)" -msgstr[0] "Cassé (%s)" -msgstr[1] "Cassé (%s)" - -#: wp-admin/includes/theme.php:192 -msgid "Light" -msgstr "Clair" - -#. Plugin Name of the plugin/theme -msgid "Hello Dolly" -msgstr "Hello Dolly" - -#. Description of the plugin/theme -msgid "This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from Hello, Dolly in the upper right of your admin screen on every page." -msgstr "Ce n'est pas qu'une extension. Elle symbolise l'espoir et l'enthousiasme de toute une génération, résumé en deux mots, qu'a notamment chanté Louis Armstrong : Hello, Dolly. Une fois activé, elle affichera une ligne aléatoirement des paroles de la chanson Hello, Dolly, en haut à droite de toutes les pages de l'administration." - -#. Author of the plugin/theme -msgid "Matt Mullenweg" -msgstr "Matt Mullenweg" - -#. Author URI of the plugin/theme -msgid "http://ma.tt/" -msgstr "http://ma.tt/" - -#: wp-admin/includes/screen.php:1029 -msgid "Show on screen" -msgstr "Afficher à l’écran" - -#: wp-admin/index.php:76 -msgid "Welcome - Shows links for some of the most common tasks when setting up a new site." -msgstr "Bienvenue - Affiche des liens pour certaines des tâches les plus courantes lors de l’installation d’un nouveau site." - -#. translators: 1: user_login, 2: user_email -#: wp-admin/includes/ajax-actions.php:284 -msgid "%1$s (%2$s)" -msgstr "%1$s (%2$s)" - -#: wp-admin/includes/theme.php:154 wp-admin/includes/update.php:373 -msgid "There is a new version of %1$s available. View version %4$s details. Automatic update is unavailable for this theme." -msgstr "Une nouvelle version de %1$s est disponible. Afficher les détails de la version %4$s. Pas de possibilité de mise à jour automatique pour ce thème." - -#. translators: default start of the week. 0 = Sunday, 1 = Monday -#: wp-admin/includes/schema.php:375 -msgctxt "start of week" -msgid "1" -msgstr "1" - -#. translators: 1: month number (01, 02, etc.), 2: month abbreviation -#: wp-admin/includes/template.php:742 -msgid "%1$s-%2$s" -msgstr "%1$s-%2$s" - -#: wp-admin/custom-header.php:576 -msgid "Images should be at least %1$d pixels wide." -msgstr "Les images devraient faire au moins %1$d pixels de large." - -#: wp-admin/custom-header.php:585 -msgid "Suggested height is %1$d pixels." -msgstr "La hauteur suggérée est de %1$d pixels." - -#: wp-admin/custom-header.php:579 -msgid "Images should be at least %1$d pixels tall." -msgstr "Les images devraient faire au moins %1$d pixels de haut." - -#: wp-admin/install.php:215 -msgctxt "Howdy" -msgid "Welcome" -msgstr "Bienvenue" - -#: wp-admin/custom-header.php:583 -msgid "Suggested width is %1$d pixels." -msgstr "La largeur suggérée est de %1$d pixels." - -#: wp-admin/ms-delete-site.php:84 -msgid "I'm sure I want to permanently disable my site, and I am aware I can never get it back or use %s again." -msgstr "Je suis certain de vouloir effacer mon site définitivement, et je me rends compte que je ne pourrais jamais le récupérer ni utiliser %s pour un nouveau site." - -#: wp-admin/ms-delete-site.php:85 -msgid "Delete My Site Permanently" -msgstr "Effacer mon site définitivement" - -#: wp-admin/ms-delete-site.php:71 -msgid "Delete My Site" -msgstr "Supprimer le site" - -#: wp-admin/ms-delete-site.php:79 -msgid "Remember, once deleted your site cannot be restored." -msgstr "Rappelez-vous qu’une fois supprimé, votre site ne peut être rétabli." - -#: wp-admin/ms-delete-site.php:24 -msgid "I'm sorry, the link you clicked is stale. Please select another option." -msgstr "Je suis désolé, mais le lien que vous avez cliqué ne répond pas. Veuillez sélectionner une autre option." - -#: wp-admin/ms-delete-site.php:22 -msgid "Thank you for using %s, your site has been deleted. Happy trails to you until we meet again." -msgstr "Merci d’avoir utilisé notre service %s, votre site a été effacé. Ce n’est qu’un au revoir..." - -#: wp-admin/ms-delete-site.php:78 -msgid "If you do not want to use your %s site any more, you can delete it using the form below. When you click Delete My Site Permanently you will be sent an email with a link in it. Click on this link to delete your site." -msgstr "Si vous ne souhaitez plus utiliser votre site %s, vous pouvez l’effacer à l’aide du formulaire ci-dessous. Après avoir cliqué sur Effacer mon site, vous recevrez un message avec un lien. Cliquez sur ce lien pour effacer votre site." - -#: wp-admin/ms-delete-site.php:17 -msgid "You do not have sufficient permissions to delete this site." -msgstr "Vous n’avez pas les droits suffisants pour effacer ce site." - -#: wp-admin/ms-delete-site.php:74 -msgid "Thank you. Please check your email for a link to confirm your action. Your site will not be deleted until this link is clicked. " -msgstr "Merci. Veuillez consulter le message que nous vous avons envoyé pour confirmer cette action. Votre site ne sera pas effacé tant que vous n’aurez pas cliqué le lien qu’il contient." - -#: wp-admin/ms-delete-site.php:45 -msgid "" -"Dear User,\n" -"You recently clicked the 'Delete Site' link on your site and filled in a\n" -"form on that page.\n" -"If you really want to delete your site, click the link below. You will not\n" -"be asked to confirm again so only click this link if you are absolutely certain:\n" -"###URL_DELETE###\n" -"\n" -"If you delete your site, please consider opening a new site here\n" -"some time in the future! (But remember your current site and username\n" -"are gone forever.)\n" -"\n" -"Thanks for using the site,\n" -"Webmaster\n" -"###SITE_NAME###" -msgstr "" -"Cher utilisateur,\n" -"Vous avez récemment cliqué sur le lien \"Effacer mon site\" dans la console d'administration de votre site \n" -"et complété le formulaire présent sur cette même page.\n" -"Si vous êtes sûr de vouloir supprimer votre site, cliquez sur le lien ci-dessous. Aucune confirmation ne vous sera demandée à l'avenir, soyez donc totalement certain de ce que vous faites :\n" -"###URL_DELETE###\n" -"\n" -"Si vous effacez votre site, n'hésitez pas à revenir créer un site à l'avenir ! (mais souvenez-vous que votre site actuel et votre identifiant ne seront plus jamais disponibles)\n" -"\n" -"Merci d'avoir utilisé notre site,\n" -"\n" -"Le webmaster\n" -"###SITE_NAME###" - -#: wp-admin/includes/ms.php:34 -msgid "This file is too big. Files must be less than %1$s KB in size." -msgstr "Ce fichier est trop gros. La taille des fichiers doit être inférieure %1$s Ko." - -#: wp-admin/includes/ms.php:36 -msgid "You have used your space quota. Please delete files before uploading." -msgstr "Vous avez utilisé l’intégralité de votre quota. Veuillez supprimer quelques fichiers avant l’envoi." - -#: wp-admin/includes/ms.php:261 -msgid "[%s] New Admin Email Address" -msgstr "[%s] Nouvelle adresse e-mail d'administration" - -#: wp-admin/includes/ms.php:294 -msgid "" -"Dear user,\n" -"\n" -"You recently requested to have the email address on your account changed.\n" -"If this is correct, please click on the following link to change it:\n" -"###ADMIN_URL###\n" -"\n" -"You can safely ignore and delete this email if you do not want to\n" -"take this action.\n" -"\n" -"This email has been sent to ###EMAIL###\n" -"\n" -"Regards,\n" -"All at ###SITENAME###\n" -"###SITEURL###" -msgstr "" -"Cher utilisateur,\n" -"\n" -"Vous avez récemment demandé à modifier l'adresse e-mail d'administration de votre compte.\n" -"Si c'est bien le cas, veuillez cliquer sur le lien suivant pour valider la modification:\n" -"###ADMIN_URL###\n" -"\n" -"Vous pouvez ignorer et supprimer ce mail si vous n'avez pas demandé cette action.\n" -"\n" -"Cet email a été envoyé à ###EMAIL###\n" -"\n" -"Cordialement,\n" -"Depuis ###SITENAME###\n" -"###SITEURL###" - -#: wp-admin/includes/ms.php:338 -msgid "Your email address has not been updated yet. Please check your inbox at %s for a confirmation email." -msgstr "Votre adresse e-mail n’a pas encore été mise à jour. Veuillez vérifier votre boite de réception %s pour consulter l’e-mail de confirmation." - -#. translators: Gigabytes -#: wp-admin/includes/ms.php:383 -msgid "GB" -msgstr "Go" - -#. translators: Megabytes -#: wp-admin/includes/ms.php:387 -msgid "MB" -msgstr "Mo" - -#: wp-admin/includes/ms.php:330 -msgid "[%s] New Email Address" -msgstr "[%s] Nouvelle adresse e-mail" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:254 -#: wp-admin/includes/class-wp-ms-themes-list-table.php:297 -msgid "Network Disable" -msgstr "Désactiver du réseau" - -#: wp-admin/includes/ms-deprecated.php:30 -msgid "Sorry, you must delete files before you can upload any more." -msgstr "Désolé, vous devez effacer quelques fichiers avant de pouvoir en envoyer d’autres." - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:217 -msgid "Enabled (%s)" -msgid_plural "Enabled (%s)" -msgstr[0] "Activé (%s)" -msgstr[1] "Activés (%s)" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:193 -msgid "Theme" -msgstr "Thème" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:185 -msgid "You do not appear to have any themes available at this time." -msgstr "Vous ne semblez pas avoir de thème disponible en ce moment." - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:183 -msgid "No themes found." -msgstr "Aucun thème trouvé." - -#: wp-admin/includes/ms.php:540 -msgid "Visit Dashboard" -msgstr "Se rendre sur le Tableau de bord" - -#: wp-admin/includes/ms.php:534 -msgid "Your Sites" -msgstr "Vos sites" - -#: wp-admin/includes/ms.php:532 -msgid "If you reached this screen by accident and meant to visit one of your own sites, here are some shortcuts to help you find your way." -msgstr "Si vous êtes arrivé sur cet écran par accident, et que vous vouliez en fait vous rendre sur l’un de vos propres sites, voici quelques raccourcis pour vous aider à trouver votre chemin." - -#: wp-admin/includes/class-wp-ms-users-list-table.php:80 -msgctxt "user" -msgid "Not Spam" -msgstr "N’est pas un indésirable" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:220 -msgid "Disabled (%s)" -msgid_plural "Disabled (%s)" -msgstr[0] "Désactivé (%s)" -msgstr[1] "Désactivés (%s)" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:301 -msgid "Open this theme in the Theme Editor" -msgstr "Ouvrir ce thème dans l’éditeur de thème" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:297 -msgid "Disable this theme" -msgstr "Désactiver ce thème" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:295 -msgid "Enable this theme" -msgstr "Activer ce thème" - -#: wp-admin/includes/class-wp-ms-users-list-table.php:79 -msgctxt "user" -msgid "Mark as Spam" -msgstr "Marquer comme indésirable" - -#: wp-admin/includes/ms.php:529 wp-admin/includes/ms.php:531 -msgid "You attempted to access the \"%1$s\" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the \"%1$s\" dashboard, please contact your network administrator." -msgstr "Vous avez tenté d’accéder au tableau de bord de « %1$s ». Cependant, vous ne disposez pas pour le moment des droits nécessaires sur ce site. Si vous pensez que vous devriez pouvoir accéder au tableau de bord de « %1$s », contactez l’administrateur du réseau." - -#: wp-admin/includes/ms.php:425 -msgid "MB (Leave blank for network default)" -msgstr "Mo (Laisser vide pour utiliser la valeur par défaut du réseau)" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:390 -msgid "Visit theme homepage" -msgstr "Aller sur la page du thème" - -#: wp-admin/includes/ms.php:572 -msgid "British English" -msgstr "Anglais (UK)" - -#: wp-admin/includes/ms.php:541 -msgid "View Site" -msgstr "Afficher le site" - -#: wp-admin/includes/class-wp-ms-users-list-table.php:100 -msgid "Super Admin (%s)" -msgid_plural "Super Admins (%s)" -msgstr[0] "Super-admin (%s)" -msgstr[1] "Super-admins (%s)" - -#: wp-admin/includes/ms.php:568 -msgid "American English" -msgstr "Anglais (US)" - -#. translators: My sites label -#: wp-admin/includes/ms.php:637 -msgid "Primary Site" -msgstr "Site principal" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:390 -msgid "Visit Theme Site" -msgstr "Aller sur le site du thème" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:304 -msgid "Delete this theme" -msgstr "Supprimer ce thème" - -#: wp-admin/includes/ms.php:424 -msgid "Site Upload Space Quota " -msgstr "Quota de l’espace disque du site" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:254 -#: wp-admin/includes/class-wp-ms-themes-list-table.php:297 -msgid "Disable" -msgstr "Désactiver" - -#: wp-admin/includes/ms.php:32 -msgid "Not enough space to upload. %1$s KB needed." -msgstr "Pas assez d’espace pour l’envoi. %1$s Ko sont nécessaires." - -#: wp-admin/includes/ms.php:582 -msgid "English" -msgstr "Anglais" - -#: wp-admin/my-sites.php:63 -msgid "You must be a member of at least one site to use this page." -msgstr "Vous devez être membre d’au moins un site pour utiliser cette page." - -#: wp-admin/my-sites.php:94 -msgid "Global Settings" -msgstr "Réglages globaux" - -#: wp-admin/my-sites.php:48 -msgid "Documentation on My Sites" -msgstr "Documentation sur Mes Sites (en)" - -#: wp-admin/my-sites.php:16 -msgid "You do not have sufficient permissions to view this page." -msgstr "Vous n’avez pas les droits suffisants pour accéder à cette page." - -#: wp-admin/my-sites.php:31 -msgid "The primary site you chose does not exist." -msgstr "Le site principal que vous avez choisi n’existe pas." - -#: wp-admin/my-sites.php:43 -msgid "Up until WordPress version 3.0, what is now called a Multisite Network had to be installed separately as WordPress MU (multi-user)." -msgstr "Avant la version 3.0 de WordPress, l’équivalent du réseau multisite devait être installé avec une édition spéciale de WordPress, appelée WordPress MU (pour Multi-Utilisateurs)." - -#: wp-admin/setup-config.php:49 -msgid "Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your WordPress installation." -msgstr "Désolé, j’ai besoin d’un fichier wp-config-sample.php à partir duquel travailler. Veuillez remettre ce fichier en ligne au sein de votre installation WordPress." - -#: wp-admin/setup-config.php:53 -msgid "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." -msgstr "Le fichier wp-config.php existe déjà. Si vous devez mettre à zéro n’importe quelle valeur de configuration dans ce fichier, veuillez commencer par le supprimer. Vous pouvez essayer l’installation maintenant." - -#: wp-admin/setup-config.php:57 -msgid "The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." -msgstr "Le fichier wp-config.php existe déjà, un niveau au-dessus de votre installation WordPress. Si vous devez mettre à zéro vos éléments de configuration, veuillez d’abord effacer ce fichier. Vous pouvez essayer de lancer l’installation." - -#: wp-admin/setup-config.php:82 -msgid "WordPress › Setup Configuration File" -msgstr "WordPress › Fichier de configuration" - -#: wp-admin/setup-config.php:128 -msgid "Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding." -msgstr "Bienvenue dans WordPress. Avant de nous lancer, nous avons besoin de certaines informations sur votre base de données. Il va vous falloir réunir les informations suivantes pour continuer." - -#: wp-admin/setup-config.php:130 -msgid "Database name" -msgstr "Nom de la base de données" - -#: wp-admin/setup-config.php:131 -msgid "Database username" -msgstr "Nom d’utilisateur MySQL" - -#: wp-admin/setup-config.php:132 -msgid "Database password" -msgstr "Mot de passe de l’utilisateur" - -#: wp-admin/setup-config.php:133 -msgid "Database host" -msgstr "Adresse de la base de données" - -#: wp-admin/setup-config.php:134 -msgid "Table prefix (if you want to run more than one WordPress in a single database)" -msgstr "Préfixe de table (si vous souhaitez avoir plusieurs WordPress sur une même base de données)" - -#: wp-admin/setup-config.php:143 -msgid "Let’s go!" -msgstr "C’est parti !" - -#: wp-admin/setup-config.php:157 -msgid "Database Name" -msgstr "Nom de la base de données" - -#: wp-admin/setup-config.php:159 -msgid "The name of the database you want to run WP in." -msgstr "Le nom de la base de données dans laquelle vous souhaitez installer WordPress." - -#: wp-admin/setup-config.php:163 -msgctxt "example username" -msgid "username" -msgstr "utilisateur" - -#: wp-admin/setup-config.php:164 -msgid "Your MySQL username" -msgstr "Votre identifiant MySQL" - -#: wp-admin/setup-config.php:168 -msgctxt "example password" -msgid "password" -msgstr "mot de passe" - -#: wp-admin/setup-config.php:169 -msgid "…and your MySQL password." -msgstr "…et son mot de passe MySQL." - -#: wp-admin/setup-config.php:172 -msgid "Database Host" -msgstr "Adresse de la base de données" - -#: wp-admin/setup-config.php:174 -msgid "You should be able to get this info from your web host, if localhost does not work." -msgstr "Si localhost ne fonctionne pas, votre hébergeur doit pouvoir vous donner la bonne information." - -#: wp-admin/setup-config.php:177 -msgid "Table Prefix" -msgstr "Préfixe des tables" - -#: wp-admin/setup-config.php:179 -msgid "If you want to run multiple WordPress installations in a single database, change this." -msgstr "Si vous souhaitez faire tourner plusieurs installations de WordPress sur une même base de données, modifiez ce réglage." - -#: wp-admin/setup-config.php:301 -msgid "You can create the wp-config.php manually and paste the following text into it." -msgstr "Vous pouvez créer le fichier wp-config.php à la main, en y copiant/collant le texte suivant." - -#: wp-admin/setup-config.php:308 wp-admin/setup-config.php:337 -msgid "Run the install" -msgstr "Lancer l’installation" - -#: wp-admin/maint/repair.php:30 -msgid "To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page." -msgstr "Pour autoriser cette page à réparer automatiquement les problèmes de base de données, veuillez ajouter la ligne suivante dans votre fichier wp-config.php. Une fois cette ligne ajoutée à votre configuration, rechargez cette page." - -#: wp-admin/includes/class-wp-comments-list-table.php:156 -msgid "No comments awaiting moderation." -msgstr "Aucun commentaire en attente de modération." - -#: wp-admin/includes/plugin-install.php:354 -msgctxt "Plugin installer section title" -msgid "Changelog" -msgstr "Liste des modifications" - -#: wp-admin/includes/plugin-install.php:356 -msgctxt "Plugin installer section title" -msgid "Other Notes" -msgstr "Autres notes" - -#: wp-admin/includes/plugin-install.php:352 -msgctxt "Plugin installer section title" -msgid "FAQ" -msgstr "FAQ" - -#: wp-admin/includes/plugin-install.php:351 -msgctxt "Plugin installer section title" -msgid "Installation" -msgstr "Installation" - -#: wp-admin/includes/plugin-install.php:350 -msgctxt "Plugin installer section title" -msgid "Description" -msgstr "Description" - -#: wp-admin/includes/plugin-install.php:353 -msgctxt "Plugin installer section title" -msgid "Screenshots" -msgstr "Captures d’écrans" - -#. translators: %s is a placeholder that must come at the start of the URL -#. path. -#: wp-admin/options-permalink.php:244 -msgid "If you like, you may enter custom structures for your category and tag URLs here. For example, using topics as your category base would make your category links like http://example.org/%stopics/uncategorized/. If you leave these blank the defaults will be used." -msgstr "Si vous le souhaitez, vous pouvez spécifier une structure personnalisée pour vos mots-clés et vos catégories. Par exemple, en utilisant sujet comme préfixe pour vos catégories, vous obtiendrez des adresses web comme : http://exemple.fr/%ssujet/non-classe/. Si vous laissez ce champ vide, la valeur par défaut sera appliquée." - -#: wp-admin/options-permalink.php:157 -msgid "You should update your web.config now." -msgstr "Vous devriez mettre à jour votre fichier web.config maintenant." - -#: wp-admin/includes/meta-boxes.php:803 -msgid "" -"You are about to delete this link '%s'\n" -" 'Cancel' to stop, 'OK' to delete." -msgstr "" -"Vous êtes sur le point de supprimer le lien « %s ».\n" -" « Annuler » pour abandonner, « OK » pour le supprimer." - -#: wp-admin/includes/plugin-install.php:445 -msgid "Plugin Homepage »" -msgstr "Site Web de l’extension »" - -#: wp-admin/export.php:49 -msgid "You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status." -msgstr "Vous pouvez exporter le contenu de votre site dans un fichier, afin de l’importer dans une autre installation autonome ou une plate-forme. Le fichier d’export utilise un format de type XML, baptisé WXR. Il peut contenir vos articles, pages, commentaires, champs personnalisés, catégories et mots-clés. Vous pouvez utiliser des filtres pour que le fichier WXR ne contienne les articles que d’une certaine plage de dates (par mois), un auteur donné, une catégorie précise, ou des états de publication." - -#. translators: 1: table name, 2: error message, -#: wp-admin/maint/repair.php:73 -msgid "Failed to repair the %1$s table. Error: %2$s" -msgstr "Impossible de réparer la table %1$s. Erreur : %2$s" - -#: wp-admin/options-general.php:211 -msgid "Standard time begins on: %s." -msgstr "Le passage à l’heure d’hiver se fait le : %s." - -#: wp-admin/user-new.php:155 -msgid "New users will receive an email letting them know they’ve been added as a user for your site. This email will also contain their password. Check the box if you don’t want the user to receive a welcome email." -msgstr "Les nouveaux utilisateurs reçoivent un message les informant qu’ils ont été ajoutés aux utilisateurs de votre site. Ce message contient également leur mot de passe. Décochez la case si vous ne voulez pas que l’utilisateur reçoive ce message de bienvenue." - -#: wp-admin/plugins.php:379 -msgid "The plugin generated %d characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin." -msgstr "L’extension a généré %d caractères d’affichage inattendu lors de l’activation. Si vous voyez un message « headers already sent » (Les en-têtes ont déjà été envoyés), des problèmes avec les flux de syndication ou d’autres erreurs, essayez de désactiver ou enlever cette extension." - -#: wp-admin/includes/theme.php:147 -msgid "Updating this theme will lose any customizations you have made. 'Cancel' to stop, 'OK' to update." -msgstr "Mettre à jour ce thème vous fera perdre toutes les modifications personnelles que vous y avez apportées. « Annuler » pour arrêter, « OK » pour mettre à jour." - -#: wp-admin/users.php:36 -msgid "You can filter the list of users by User Role using the text links in the upper left to show All, Administrator, Editor, Author, Contributor, or Subscriber. The default view is to show all users. Unused User Roles are not listed." -msgstr "Vous pouvez filtrer la liste des utilisateurs par rôle, à l’aide des liens textuels en haut à gauche, afin d’afficher tous les utilisateurs, ou seulement les administrateurs, les éditeurs, les auteurs ou les contributeurs. Par défaut, tous les utilisateurs sont affichés. Les rôles sans utilisateurs ne sont pas listés." - -#: wp-admin/update-core.php:46 -msgid "You are using a development version of WordPress. You can update to the latest nightly build automatically or download the nightly build and install it manually:" -msgstr "Vous utilisez une version de développement de WordPress. Vous pouvez faire une mise à jour automatique vers la toute dernière version quotidienne (« nightly build »), ou télécharger cette version quotidienne et l’installer vous-même :" - -#: wp-admin/options-writing.php:36 -msgid "Post via email settings allow you to send your WordPress install an email with the content of your post. You must set up a secret e-mail account with POP3 access to use this, and any mail received at this address will be posted, so it’s a good idea to keep this address very secret." -msgstr "Les réglages de publication par e-mail vous permettant d’envoyer à votre installation WordPress un e-mail dont le contenu sera publié dans un article. Vous devez définir un compte e-mail secret avec une adresse POP3. Tout message reçu à cette adresse sera publié. Il vaut donc mieux garder cette adresse à l’abri des regards. " - -#: wp-admin/includes/image-edit.php:192 -msgid "There are unsaved changes that will be lost. 'OK' to continue, 'Cancel' to return to the Image Editor." -msgstr "Les modifications qui n'ont pas été enregistrées seront perdues. « OK » pour continuer, « Annuler » pour revenir à l'éditeur d'images." - -#: wp-admin/import.php:23 -msgid "In previous versions of WordPress, all importers were built-in. They have been turned into plugins since most people only use them once or infrequently." -msgstr "Dans les versions précédentes de WordPress, tous les importateurs étaient directement inclus . Nous les avons convertis en extensions, car la plupart des gens ne s’en servent que très rarement, voire une seule fois." - -#: wp-admin/themes.php:127 -msgid "The active theme is broken. Reverting to the default theme." -msgstr "Le thème courant est endommagé. Retour au thème par défaut." - -#: wp-admin/custom-header.php:797 wp-admin/custom-header.php:921 -#: wp-admin/custom-header.php:1233 -msgid "Image could not be processed. Please go back and try again." -msgstr "L’image n’a pas pu être traitée. Veuillez revenir en arrière en réessayer." - -#. translators: 1: table name, 2: error message, -#: wp-admin/maint/repair.php:63 -msgid "The %1$s table is not okay. It is reporting the following error: %2$s. WordPress will attempt to repair this table…" -msgstr "La table %1$s est dans un mauvais état. Elle renvoie l’erreur suivante : %2$s. WordPress va tenter de la réparer…" - -#: wp-admin/edit-form-advanced.php:132 -msgid "There is an autosave of this post that is more recent than the version below. View the autosave" -msgstr "Une sauvegarde automatique existe pour cet article ; elle est plus récente que la version affichée ci-dessous. Afficher cette sauvegarde automatique." - -#: wp-admin/maint/repair.php:109 -msgid "Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users." -msgstr "Réparations effectuées. Veuillez retirer la ligne suivante de votre fichier wp-config.php, pour empêcher que cette page soit utilisée par des utilisateurs non autorisés." - -#: wp-admin/maint/repair.php:115 -msgid "WordPress can automatically look for some common database problems and repair them. Repairing can take a while, so please be patient." -msgstr "WordPress peut automatiquement chercher les problèmes courants des base de données et les réparer. La réparation peut prendre un certain temps, merci donc de votre patience." - -#: wp-admin/maint/repair.php:118 -msgid "WordPress can also attempt to optimize the database. This improves performance in some situations. Repairing and optimizing the database can take a long time and the database will be locked while optimizing." -msgstr "WordPress peut également tenter d’optimiser la base de données. Cela peut améliorer ses performances dans certains cas. La réparation et l’optimisation peuvent prendre longtemps, et la base de données sera verrouillée durant l’optimisation." - -#: wp-admin/user-new.php:279 -msgid "Enter the email address or username of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite." -msgstr "Pour inviter un utilisateur de ce réseau sur ce site, saisissez son adresse de messagerie ou son identifiant. Cette personne recevra alors un message lui proposant de confirmer son ajout." - -#: wp-admin/options-discussion.php:173 -msgid "An avatar is an image that follows you from weblog to weblog appearing beside your name when you comment on avatar enabled sites. Here you can enable the display of avatars for people who comment on your site." -msgstr "Un avatar est une image qui vous suit de site en site, apparaissant à côté de votre nom quand vous laissez un commentaire sur un site capable de le reconnaître. Vous pouvez ici activer l’affichage des avatars des gens qui laissent un commentaire sur votre site." - -#: wp-admin/plugin-editor.php:252 -msgid "Warning: Making changes to active plugins is not recommended. If your changes cause a fatal error, the plugin will be automatically deactivated." -msgstr "Attention : il n’est pas recommandé de modifier des extensions activées. Si vos modifications amènent une erreur fatale, l’extension sera automatiquement désactivée." - -#: wp-admin/user-new.php:275 -msgid "Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite." -msgstr "Saisissez l’adresse de contact d’un utilisateur existant sur votre réseau, afin de l’inviter sur ce site. Cette personne recevra un message lui demandant de confirmer l’invitation." - -#: wp-admin/credits.php:179 -msgid "Contributing Developers" -msgstr "Développeurs ayant contribué" - -#: wp-admin/user-edit.php:278 -msgid "Show Toolbar when viewing site" -msgstr "Afficher la barre d’outils lorsque vous visitez le site" - -#. translators: 1: WordPress version number, 2: plural number of bugs. Singular -#. security issue. -#: wp-admin/about.php:194 -msgid "Version %1$s addressed a security issue and fixed %2$s bug." -msgid_plural "Version %1$s addressed a security issue and fixed %2$s bugs." -msgstr[0] "La version %1$s s’occupe d’un problème de sécurité et corrige %2$s bug." -msgstr[1] "Version %1$s s’occupe d’un problème de sécurité et corrige %2$s bugs." - -#: wp-admin/about.php:48 wp-admin/about.php:201 -msgid "For more information, see the release notes." -msgstr "Pour plus d’informations, consultez les notes de publication." - -#. translators: 1: WordPress version number, 2: plural number of bugs. More -#. than one security issue. -#: wp-admin/about.php:46 wp-admin/about.php:198 -msgid "Version %1$s addressed some security issues and fixed %2$s bug." -msgid_plural "Version %1$s addressed some security issues and fixed %2$s bugs." -msgstr[0] "La version %1$s s’occupe de quelques problèmes de sécurité et corrige %2$s bug." -msgstr[1] "Version %1$s s’occupe de quelques problèmes de sécurité et corrige %2$s bugs." - -#. translators: 1: WordPress version number, 2: plural number of bugs. -#: wp-admin/about.php:190 -msgid "Version %1$s addressed %2$s bug." -msgid_plural "Version %1$s addressed %2$s bugs." -msgstr[0] "La version %1$s corrige %2$s bug." -msgstr[1] "La version %1$s corrige %2$s bugs." - -#: wp-admin/index.php:32 -msgid "Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab in the upper corner." -msgstr "Bienvenu dans votre tableau de bord WordPress ! Ceci est l’écran que vous verrez lorsque vous vous connectez à votre site, et qui vous donne accès à l’ensemble des fonctionnalités de gestion de WordPress. Vous pouvez obtenir de l’aide dans n’importe quel écran en cliquant sur l’onglet « Aide » présent en haut à droite de votre navigateur." - -#: wp-admin/about.php:45 wp-admin/about.php:183 -msgid "Maintenance and Security Release" -msgid_plural "Maintenance and Security Releases" -msgstr[0] "Mise à jour de maintenance et de sécurité" -msgstr[1] "Mises à jour de maintenance et de sécurité" - -#: wp-admin/about.php:36 wp-admin/credits.php:91 wp-admin/freedoms.php:28 -msgid "What’s New" -msgstr "Nouveautés" - -#: wp-admin/about.php:182 -msgid "Security Release" -msgid_plural "Security Releases" -msgstr[0] "Mise à jour de sécurité" -msgstr[1] "Mises à jour de sécurité" - -#: wp-admin/about.php:181 -msgid "Maintenance Release" -msgid_plural "Maintenance Releases" -msgstr[0] "Mise à jour de maintenance" -msgstr[1] "Mises à jour de maintenance" - -#. translators: 1: WordPress version number. -#: wp-admin/about.php:186 -msgid "Version %1$s addressed a security issue." -msgid_plural "Version %1$s addressed some security issues." -msgstr[0] "La version %1$s corrige une vulnérabilité de sécurité." -msgstr[1] "La version %1$s corrige plusieurs vulnérabilités de sécurité." - -#: wp-admin/options-permalink.php:22 -msgid "This screen allows you to choose your default permalink structure. You can choose from common settings or create custom URL structures." -msgstr "Cet écran vous permet de choisir la structure de permalien par défaut. Vous pouvez choisir les réglages les plus courants, ou créer la vôtre." - -#: wp-admin/about.php:164 -msgid "Return to Updates" -msgstr "Retourner aux mises à jour" - -#: wp-admin/includes/update-core.php:1139 wp-admin/update-core.php:422 -msgid "Welcome to WordPress %1$s. Learn more." -msgstr "Bienvenu dans WordPress %1$s. En savoir plus." - -#: wp-admin/edit-tags.php:223 -msgid "Adding Categories" -msgstr "Ajout de catégories" - -#: wp-admin/edit-tags.php:223 -msgid "Adding Tags" -msgstr "Ajout de mots-clés" - -#: wp-admin/plugins.php:351 -msgid "Troubleshooting" -msgstr "Diagnostic" - -#: wp-admin/media-new.php:47 -msgid "You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share. There are three options for uploading files:" -msgstr "Vous pouvez ici mettre des fichiers en ligne sans devoir créer un nouvel article avant. Ceci vous permet d’envoyer des fichiers qui seront utilisables par les articles et les pages ultérieurement et/ou seront utilisés via un lien internet pour partager un fichier particulier. Il y a 3 méthodes pour envoyer des fichiers :" - -#: wp-admin/user-new.php:157 -msgid "You must assign a password to the new user, which they can change after logging in. The username, however, cannot be changed." -msgstr "Vous devez assigner un mot de passe au nouvel utilisateur, qu’il pourra changer après s’être connecté. L’identifiant, en revanche, ne peut être changé." - -#: wp-admin/tools.php:60 -msgid "If you want to convert your categories to tags (or vice versa), use the Categories and Tags Converter available from the Import screen." -msgstr "Si vous souhaitez convertir vos catégories en mots-clés (et vice versa), utilisez le Convertisseur de catégories mots-clés, disponible depuis l’écran des importateurs." - -#: wp-admin/user-new.php:161 -msgid "Remember to click the Add New User button at the bottom of this screen when you are finished." -msgstr "N’oubliez pas de cliquer sur le bouton « Ajouter un utilisateur », en bas de cet écran, quand vous aurez terminé." - -#: wp-admin/export.php:151 -msgid "Once you’ve saved the download file, you can use the Import function in another WordPress installation to import the content from this site." -msgstr "Une fois que le fichier téléchargé a été enregistré, vous pouvez utiliser la fonction Importer d’un autre site WordPress pour importer ce fichier dans cet autre site." - -#: wp-admin/users.php:32 -msgid "Screen Display" -msgstr "Écran affiché" - -#: wp-admin/upload.php:212 -msgid "Attaching Files" -msgstr "Fichiers des extensions" - -#: wp-admin/user-new.php:172 -msgid "Here is a basic overview of the different user roles and the permissions associated with each one:" -msgstr "Voici un rapide survol des différents rôles assignables aux utilisateurs, et des permissions qui leurs sont associées :" - -#: wp-admin/user-new.php:171 -msgid "User Roles" -msgstr "Rôles utilisateurs" - -#: wp-admin/user-new.php:151 -msgid "To add a new user to your site, fill in the form on this screen and click the Add New User button at the bottom." -msgstr "Pour ajouter un nouvel utilisateur à votre site, remplissez le formulaire de cet écran et cliquez sur le bouton « Ajouter un nouvel utilisateur » en bas de l’écran." - -#: wp-admin/edit-comments.php:122 -msgid "Moderating Comments" -msgstr "Modération des commentaires" - -#: wp-admin/user-new.php:174 -msgid "Subscribers can read comments/comment/receive newsletters, etc. but cannot create regular site content." -msgstr "Les abonnés peuvent lire les commentaires/commenter/recevoir les newsletters, etc. Mais ils ne peuvent pas créer du contenu sur le site." - -#: wp-admin/import.php:125 -msgid "If the importer you need is not listed, search the plugin directory to see if an importer is available." -msgstr "Si l’importateur dont vous avec besoin n’est pas présent, lancez une recherche dans le dépôt d’extensions pour voir s’il s’y trouve." - -#: wp-admin/edit.php:200 -msgid "When using Bulk Edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears." -msgstr "Vous pouvez également modifier plusieurs articles en même temps. Cochez les cases des articles que vous voulez modifier, sélectionnez l’option « Modifier » du menu « Actions groupées », et cliquez sur « Appliquer ». Vous pourrez alors d’un coup modifier les métadonnées (catégories, auteur, etc.) pour tous les articles sélectionnés. Pour retirer un article de la sélection, cliquez simplement sur la croix à gauche de son titre dans la zone « Modifications groupées » qui apparaît." - -#: wp-admin/edit.php:185 wp-admin/upload.php:206 -msgid "Available Actions" -msgstr "Actions disponibles" - -#: wp-admin/user-new.php:176 -msgid "Authors can publish and manage their own posts, and are able to upload files." -msgstr "Les auteurs peuvent publier et gérer leurs propres articles, ils peuvent également envoyer des fichiers ;" - -#: wp-admin/update-core.php:483 -msgid "How to Update" -msgstr "Comment faire la mise à jour" - -#: wp-admin/edit.php:169 -msgid "This screen provides access to all of your posts. You can customize the display of this screen to suit your workflow." -msgstr "Cet écran vous donne accès à tous vos articles. Vous pouvez personnaliser son affichage afin qu’il corresponde au mieux à vos besoins." - -#: wp-admin/edit.php:199 -msgid "You can also edit or move multiple posts to the trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply." -msgstr "Vous pouvez également modifier plusieurs articles à la fois, ou les déplacer dans la Corbeille d’un coup. Sélectionnez les articles sur lesquels vous voulez lancer une action, puis sélectionnez l’action que vous voulez lancer dans le menu « Actions groupées » et cliquez sur « Appliquer »." - -#: wp-admin/plugin-install.php:75 -msgid "Adding Plugins" -msgstr "Ajout d’extensions" - -#: wp-admin/edit.php:173 -msgid "Screen Content" -msgstr "Contenu de l’écran" - -#: wp-admin/edit.php:175 -msgid "You can customize the display of this screen’s contents in a number of ways:" -msgstr "Vous pouvez personnaliser l’affichage de cet écran de plusieurs manières :" - -#: wp-admin/themes.php:64 -msgid "Adding Themes" -msgstr "Ajout de thèmes" - -#: wp-admin/plugin-install.php:71 -msgid "Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from the core WordPress application by thousands of developers all over the world. All plugins in the official WordPress.org Plugin Directory are compatible with the license WordPress uses. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section." -msgstr "Les extensions s’ajoutent à WordPress afin d’ étendre ses fonctionnalités par le biais de fonctions personnalisées. Les extensions sont développées indépendamment du code de WordPress, par des milliers de développeurs à travers le monde. Toutes les extensions présentes dans le dépôt officiel d’extensions de WordPress.org utilisent une licence compatible avec celle de WordPress. Vous pouvez trouver de nouvelles extensions à installer en lançant une recherche ou en parcourant le dépôt directement depuis la présente page." - -#: wp-admin/options-permalink.php:21 -msgid "Permalinks are the permanent URLs to your individual pages and blog posts, as well as your category and tag archives. A permalink is the web address used to link to your content. The URL to each post should be permanent, and never change — hence the name permalink." -msgstr "Les permaliens sont des adresses Web permanentes vers vos pages individuelles et vos articles, ainsi que vos archives de catégorie et de mot-clé. Ils offrent un lien plus compréhensible vers votre contenu. Les adresses de chaque article devraient être permanentes et ne jamais changer, d’où le nom de permalien." - -#: wp-admin/options-permalink.php:29 -msgid "Many people choose to use “pretty permalinks,” URLs that contain useful information such as the post title rather than generic post ID numbers. You can choose from any of the permalink formats under Common Settings, or can craft your own if you select Custom Structure." -msgstr "De nombreuses personnes préfèrent utiliser les liens simplifiés (\"pretty permalinks\"), qui contiennent des informations utiles, telles que le titre de l’article, plutôt qu’un numéro d’article générique. Vous pouvez choisir n’importe quel type de format de permalien parmi les réglages les plus courants, ou concevoir votre propre structure personnalisée." - -#: wp-admin/options-permalink.php:28 wp-admin/options-permalink.php:201 -msgid "Common Settings" -msgstr "Réglages les plus courants" - -#: wp-admin/options-permalink.php:37 -msgid "Custom Structures" -msgstr "Structure personnalisée" - -#: wp-admin/options-media.php:21 -msgid "Uploading Files allows you to choose the folder and path for storing your uploaded files." -msgstr "« Envoi de fichiers » vous permet de choisir le dossier et le chemin de stockage de vos fichiers mis en ligne." - -#: wp-admin/options-writing.php:21 -msgid "You can submit content in several different ways; this screen holds the settings for all of them. The top section controls the editor within the dashboard, while the rest control external publishing methods. For more information on any of these methods, use the documentation links." -msgstr "Vous disposez de plusieurs méthodes pour envoyer du contenu. Cet écran vous présente les réglages de chacune. La première section gère l’éditeur de l’administration de WordPress, tandis que les autres gèrent les méthodes externes. Pour obtenir plus d’informations sur toutes ces méthodes, suivez les liens vers la documentation." - -#: wp-admin/themes.php:57 -msgid "Installing themes on Multisite can only be done from the Network Admin section." -msgstr "En mode Multisite, vous pouvez installer des thèmes depuis la section Admin du Réseau." - -#: wp-admin/options-general.php:65 -msgid "If you want site visitors to be able to register themselves, as opposed to by the site administrator, check the membership box. A default user role can be set for all new users, whether self-registered or registered by the site admin." -msgstr "Si vous voulez que les visiteurs du site puissent s’inscrire eux-mêmes plutôt que de devoir être inscrits par l’administrateur du site, cochez la case « Inscription ». Un rôle d’utilisateur par défaut peut être assigné pour tout nouveau inscrit, qu’il se soit enregistré lui-même ou par le biais de l’administrateur." - -#: wp-admin/options-writing.php:35 -msgid "Post Via Email" -msgstr "Envoi d’article par e-mail" - -#: wp-admin/options-writing.php:45 -msgid "If desired, WordPress will automatically alert various services of your new posts." -msgstr "Si vous le souhaitez, WordPress peut automatiquement informer différents services en ligne de vos nouvelles publications." - -#: wp-admin/options-discussion.php:20 -msgid "This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won’t all fit here! :) Use the documentation links to get information on what each discussion setting does." -msgstr "Cet écran offre plusieurs options pour contrôler la gestion et l’affichage des commentaires et liens sur vos articles/pages. En fait, il y en a tellement qu’elles ne tiennent pas toutes ici ! :) Utiliser le lien vers la documentation pour obtenir des informations sur ce que fait chaque réglage de discussion." - -#: wp-admin/user-edit.php:40 -msgid "You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things. You can hide the Toolbar (formerly called the Admin Bar) from the front end of your site, however it cannot be disabled on the admin screens." -msgstr "Vous pouvez modifier votre mot de passe, activer les raccourcis clavier, modifier la combinaison de couleurs des écrans de l’administration, et désactiver l’éditeur visuel (WYSIWYG), entre autres choses. Vous pouvez également cacher la barre d’outils (anciennement « barre d’administration ») sur la partie publique de votre site, mais elle ne peut pas être enlevée des écrans d’administration." - -#: wp-admin/widgets.php:94 -msgid "Inactive Sidebar (not used)" -msgstr "Barre latérale inactive (inutilisée)" - -#: wp-admin/widgets.php:97 -msgid "This sidebar is no longer available and does not show anywhere on your site. Remove each of the widgets below to fully remove this inactive sidebar." -msgstr "Cette barre latérale n’est plus disponible, et ne s’affiche nulle part sur le site. Vous pouvez en retirer les widgets ci-dessous afin de la supprimer totalement." - -#: wp-admin/media-new.php:49 -msgid "Drag and drop your files into the area below. Multiple files are allowed." -msgstr "Glissez/déposez vos fichiers dans la zone ci-dessous. Vous pouvez en déposer plusieurs à la fois." - -#: wp-admin/media-new.php:50 -msgid "Clicking Select Files opens a navigation window showing you files in your operating system. Selecting Open after clicking on the file you want activates a progress bar on the uploader screen." -msgstr "Un clic sur Sélectionner les fichiers ouvre la fenêtre de navigation, vous donnant accès aux fichiers de votre machine. Après avoir cliqué sur un fichier, cliquez sur Ouvrir pour l’affichage de la barre de téléchargement." - -#: wp-admin/edit-tags.php:187 -msgid "You can create groups of links by using Link Categories. Link Category names must be unique and Link Categories are separate from the categories you use for posts." -msgstr "Vous pouvez créer des groupes de liens en utilisant les catégories de liens. Le nom d’une catégorie de liens doit être unique, et les catégories de liens ne sont pas les mêmes que les catégories de vos articles." - -#: wp-admin/widgets.php:57 -msgid "Removing and Reusing" -msgstr "Retirer et réutiliser" - -#: wp-admin/edit-tags.php:189 -msgid "You can assign keywords to your posts using tags. Unlike categories, tags have no hierarchy, meaning there’s no relationship from one tag to another." -msgstr "Vous pouvez assigner des mots-clés à vos articles via le bloc dédié. Au contraire des catégories, les mots-clés n’ont pas de hiérarchie, ce qui signifie qu’ils ne peuvent pas être liés entre eux." - -#: wp-admin/widgets.php:65 -msgid "Missing Widgets" -msgstr "Widgets manquants" - -#: wp-admin/edit-comments.php:118 -msgid "You can manage comments made on your site similar to the way you manage posts and other content. This screen is customizable in the same ways as other management screens, and you can act on comments using the on-hover action links or the Bulk Actions." -msgstr "Vous pouvez gérer les commentaires sur votre site de la même manière que vous gérez les articles et autres contenus. Cet écran est personnalisable de la même manière que les autres écrans de gestion, et vous pouvez agir sur les commentaires par le biais des liens qui apparaissent au survol de la souris, ou via le menu « Actions groupées »." - -#: wp-admin/edit-comments.php:125 -msgid "In the Author column, in addition to the author’s name, email address, and blog URL, the commenter’s IP address is shown. Clicking on this link will show you all the comments made from this IP address." -msgstr "Dans la colonne « Auteur », en plus de trouver le nom de l’auteur, son adresse de messagerie et celle de son site, vous trouverez son adresse IP. En cliquant dessus, vous obtiendrez une liste de tous les commentaires faits depuis cette adresse IP." - -#: wp-admin/index.php:46 -msgid "Links in the Toolbar at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information." -msgstr "Les liens contenus dans la barre d’outils placée en haut de l’écran relient votre tableau de bord à la partie publique de votre site, et fournissent un accès rapide à votre profil et de précieuses informations sur WordPress." - -#: wp-admin/link-manager.php:53 -msgid "Deleting Links" -msgstr "Suppression de liens" - -#: wp-admin/upload.php:208 -msgid "Hovering over a row reveals action links: Edit, Delete Permanently, and View. Clicking Edit or on the media file’s name displays a simple screen to edit that individual file’s metadata. Clicking Delete Permanently will delete the file from the media library (as well as from any posts to which it is currently attached). View will take you to the display page for that file." -msgstr "Le survol par la souris des lignes du tableau révèle des liens : « Modifier », « Supprimer définitivement » et « Afficher ». En cliquant sur « Modifier » ou sur le nom d’un fichier média, vous obtiendrez un écran où vous pourrez modifier les métadonnées du fichier. En cliquant sur « Supprimer définitivement », vous supprimerez le fichier de la bibliothèque (ainsi que de tous les articles auxquels il était lié). « Afficher » vous enverra sur la page d’affichage de ce fichier." - -#: wp-admin/edit.php:220 -msgid "Managing pages is very similar to managing posts, and the screens can be customized in the same way." -msgstr "La gestion des pages est très proche de celle des articles, et les écrans peuvent être personnalisés de la même manière." - -#: wp-admin/edit.php:221 -msgid "You can also perform the same types of actions, including narrowing the list by using the filters, acting on a page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple pages at once." -msgstr "Vous pouvez également réaliser les mêmes sortes d’actions, comme réduire la liste par le biais des filtres, en passant par les liens qui apparaissent quand la souris passe au-dessus d’une ligne, ou en utilisant le menu « Actions groupées » pour modifier les métadonnées de plusieurs pages d’un seul coup." - -#: wp-admin/upload.php:214 -msgid "If a media file has not been attached to any post, you will see that in the Attached To column, and can click on Attach File to launch a small popup that will allow you to search for a post and attach the file." -msgstr "Si un fichier média n’est lié à aucun article, cela vous sera indiqué dans la colonne « Attaché à », et vous pourrez cliquer sur le lien « Joindre » pour afficher une petite fenêtre vous permettant de trouver un article auquel attacher le fichier." - -#: wp-admin/upload.php:200 -msgid "All the files you’ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the Screen Options tab to customize the display of this screen." -msgstr "Tous les fichiers que vous avez mis en ligne sont listés dans la Bibliothèque de Médias, les plus récents en premier. Vous pouvez utiliser l’onglet « Options de l’écran » pour personnaliser l’affichage de cet écran." - -#: wp-admin/edit.php:214 -msgid "Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the “Parent” of the other, creating a group of pages." -msgstr "Les pages sont comme des articles, en cela qu’elles ont un titre, un contenu et des métadonnées associées ; mais elles diffèrent en cela qu’elles ne font pas partie du flux chronologique du blog - un peu comme des articles permanents. Les pages ne sont pas catégorisées et ne reçoivent pas de mots-clés, mais peuvent disposer d’une hiérarchie. En effet, vous pouvez imbriquer des pages sous d’autres pages, faisant de ces dernières les « parentes » des premières, créant ainsi un groupement de pages." - -#: wp-admin/edit-comments.php:128 -msgid "Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link to the side to learn more." -msgstr "De nombreux utilisateurs utilisent les raccourcis clavier pour modérer leurs commentaires plus rapidement. Suivez le lien sur le côté pour en savoir plus." - -#: wp-admin/edit-comments.php:126 -msgid "In the Comment column, above each comment it says “Submitted on,” followed by the date and time the comment was left on your site. Clicking on the date/time link will take you to that comment on your live site. Hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment." -msgstr "Dans la colonne « Commentaire », vous trouverez au-dessus de chaque commentaire la date et l’heure de son envoi. En cliquant sur ce lien, vous irez à la page de votre site où le commentaire a été publié. En survolant n’importe quel commentaire, des options apparaîtront, vous permettant d’approuver un commentaire, y répondre (et l’approuver), modifier ses détails, modifier son contenu, le marquer comme indésirable, ou le jeter à la Corbeille." - -#: wp-admin/link-manager.php:48 -msgid "Links may be separated into Link Categories; these are different than the categories used on your posts." -msgstr "Les liens peuvent être rangés dans des catégories de liens ; ce ne sont pas les mêmes catégories que pour vos articles." - -#: wp-admin/update-core.php:196 -msgid "Learn more about WordPress %s." -msgstr "À propos de WordPress %s." - -#: wp-admin/edit.php:218 -msgid "Managing Pages" -msgstr "Gestion de pages" - -#: wp-admin/users.php:35 -msgid "You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab." -msgstr "Vous pouvez cacher/afficher les colonnes en fonction de vos besoins, et décider du nombre d’articles à afficher par écran à l’aide de l’onglet « Options de l’écran »." - -#: wp-admin/edit.php:192 -msgid "Preview will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post’s status." -msgstr "Aperçu vous donnera une idée de ce à quoi votre brouillon ressemble si vous le publiez tel quel. Afficher vous enverra sur votre site, à l’adresse de l’article. L’action disponible dépend de l’état de votre article." - -#: wp-admin/users.php:41 -msgid "Hovering over a row in the users list will display action links that allow you to manage users. You can perform the following actions:" -msgstr "Passer la souris au-dessus d’une ligne de la liste des utilisateurs, fera s’afficher des liens vous permettant de gérer l’utilisateur. Vous pouvez lancer les actions suivantes :" - -#: wp-admin/edit.php:191 -msgid "Trash removes your post from this list and places it in the trash, from which you can permanently delete it." -msgstr "Mettre à la Corbeille retire l’article de la liste et le déplacer dans la Corbeille, d’où vous pourrez le supprimer définitivement." - -#: wp-admin/edit.php:190 -msgid "Quick Edit provides inline access to the metadata of your post, allowing you to update post details without leaving this screen." -msgstr "Modification Rapide vous donne un accès rapide aux métadonnées de votre article, vous permettant de mettre à jour certains détails sans devoir quitter la liste." - -#: wp-admin/edit.php:189 -msgid "Edit takes you to the editing screen for that post. You can also reach that screen by clicking on the post title." -msgstr "Modifier vous envoie sur l’écran de modification de cet article. Vous pouvez également vous rendre sur cet écran en cliquant sur le titre de l’article." - -#: wp-admin/users.php:43 -msgid "Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username." -msgstr "« Modifier » vous envoie sur l’écran de modification de cet utilisateur. Vous pouvez également vous rendre sur cet écran en cliquant sur le nom de l’utilisateur ;" - -#: wp-admin/users.php:37 -msgid "You can view all posts made by a user by clicking on the number under the Posts column." -msgstr "Vous pouvez afficher tous les articles faits par un même utilisateur en cliquant sur le nombre sous la colonne « Articles »." - -#: wp-admin/user-new.php:154 -msgid "Because this is a multisite installation, you may add accounts that already exist on the Network by specifying a username or email, and defining a role. For more options, such as specifying a password, you have to be a Network Administrator and use the hover link under an existing user’s name to Edit the user profile under Network Admin > All Users." -msgstr "Parce qu’il s’agit d’une installation multisite, vous pouvez ajouter des comptes qui existent déjà sur le Réseau, en indiquant un nom d’utilisateur ou une adresse de messagerie, et en assignant un rôle. Pour avoir plus d’options, telle que le choix du mot de passe, vous devez être Administrateur du Réseau, et utiliser les liens qui apparaissent au survol sous le nom de l’utilisateur pour modifier son profil utilisateur, depuis l’écran « Tous les utilisateurs »." - -#: wp-admin/includes/template.php:2075 -msgid "Likely direct inclusion of wp-admin/includes/template.php in order to use add_meta_box(). This is very wrong. Hook the add_meta_box() call into the add_meta_boxes action instead." -msgstr "Il semble y avoir une inclusion directe de wp-admin/includes/template.php afin d’utiliser add_meta_box(). Ce n’est pas comme cela qu’il faut faire. Attachez plutôt le crochet add_meta_box() à l’action add_meta_box." - -#: wp-admin/credits.php:83 wp-admin/freedoms.php:20 -msgid "Welcome to WordPress %s" -msgstr "Bienvenue dans WordPress %s" - -#: wp-admin/about.php:168 -msgid "Go to Dashboard → Home" -msgstr "Aller sur l’accueil" - -#: wp-admin/about.php:164 -msgid "Return to Dashboard → Updates" -msgstr "Retourner aux mises à jour" - -#: wp-admin/credits.php:112 -msgid "WordPress is created by a worldwide team of passionate individuals." -msgstr "WordPress est créé par une équipe de personnes passionnées, réparties sur toute la planète." - -#: wp-admin/credits.php:176 -msgid "Core Developers" -msgstr "Développeurs principaux" - -#: wp-admin/about.php:139 -msgid "Under the Hood" -msgstr "Sous le capot" - -#: wp-admin/includes/dashboard.php:1285 wp-admin/includes/dashboard.php:1287 -msgid "Customize Your Site" -msgstr "Personnalisez votre site" - -#: wp-admin/user-edit.php:199 -msgid "Profile updated." -msgstr "Profil mis à jour." - -#. translators: 1: Site name, 2: site URL, 3: role, 4: activation URL -#: wp-admin/user-new.php:81 -msgid "" -"Hi,\n" -"\n" -"You've been invited to join '%1$s' at\n" -"%2$s with the role of %3$s.\n" -"\n" -"Please click the following link to confirm the invite:\n" -"%4$s" -msgstr "" -"Bonjour,\n" -"\n" -"Vous avez été invité(e) à rejoindre « %1$s » sur\n" -"%2$s en tant que %3$s. \n" -"Veuillez cliquer sur le lien suivant pour confirmer l'invitation :\n" -"%4$s" - -#: wp-admin/credits.php:184 -msgid "Core Developer" -msgstr "Développeur cœur" - -#: wp-admin/includes/class-wp-upgrader.php:56 -msgid "The package could not be installed." -msgstr "L’archive n’a pas pu être installée." - -#: wp-admin/includes/class-wp-upgrader.php:495 -msgid "The plugin contains no files." -msgstr "Cette extension ne contient aucun fichier." - -#: wp-admin/includes/class-wp-upgrader.php:720 -msgid "No valid plugins were found." -msgstr "Aucune extension valide trouvée." - -#: wp-admin/includes/class-wp-upgrader.php:1099 -msgid "The theme is missing the style.css stylesheet." -msgstr "Il manque le fichier style.css à ce thème." - -#: wp-admin/includes/class-wp-upgrader.php:1108 -msgid "The theme is missing the index.php file." -msgstr "Il manque le fichier index.php au thème." - -#: wp-admin/includes/class-wp-upgrader.php:1104 -msgid "The style.css stylesheet doesn't contain a valid theme header." -msgstr "Le fichier style.css ne contient pas un en-tête valide de thème." - -#: wp-admin/includes/media.php:1017 -msgid "Attachment Post URL" -msgstr "Adresse de l’article du fichier joint" - -#: wp-admin/menu.php:76 -msgctxt "admin menu" -msgid "All Links" -msgstr "Tous les liens" - -#: wp-admin/includes/media.php:1819 -msgid "Drop files here" -msgstr "Déposez vos fichiers ici" - -#: wp-admin/includes/plugin-install.php:151 -msgid "%s plugins" -msgstr "%s extensions" - -#: wp-admin/includes/plugin-install.php:151 -msgid "%s plugin" -msgstr "%s extension" - -#. translators: %s: table name -#: wp-admin/maint/repair.php:92 -msgid "Successfully optimized the %s table." -msgstr "La table %s a bien été optimisée." - -#. translators: 1: table name, 2: error message, -#: wp-admin/maint/repair.php:95 -msgid "Failed to optimize the %1$s table. Error: %2$s" -msgstr "Impossible d’optimiser la table %1$s. Erreur : %2$s" - -#. translators: %s: table name -#: wp-admin/maint/repair.php:70 -msgid "Successfully repaired the %s table." -msgstr "La table %s a bien été réparée." - -#. translators: %s: table name -#: wp-admin/maint/repair.php:85 -msgid "The %s table is already optimized." -msgstr "La table %s a déjà été optimisée." - -#. translators: %s: table name -#: wp-admin/maint/repair.php:60 -msgid "The %s table is okay." -msgstr "La table %s est correcte." - -#: wp-admin/update-core.php:270 -msgid "View version %1$s details" -msgstr "Voir les détails de la version %1$s" - -#: wp-admin/includes/import.php:194 -msgid "Tumblr" -msgstr "Tumblr" - -#: wp-admin/includes/import.php:195 -msgid "Install the Tumblr importer to import posts & media from Tumblr using their API." -msgstr "Installer l’importateur Tumblr pour importer les articles et fichiers média depuis un Tumblr en utilisant leur API." - -#: wp-admin/includes/dashboard.php:1193 -msgid "Update %2$s or learn how to browse happy" -msgstr "Mettez %2$s à jour, ou apprenez à naviguer sereinement" - -#. translators: %1$s is link start tag, %2$s is link end tag, %3$d is width, -#. %4$d is height -#: wp-admin/includes/media.php:2580 -msgid "Scale images to match the large size selected in %1$simage options%2$s (%3$d × %4$d)." -msgstr "Redimensionner les images pour correspondre à la taille large définie dans les %1$sréglages des médias%2$s (%3$d × %4$d)." - -#: wp-admin/includes/media.php:2451 -msgid "Audio, Video, or Other File" -msgstr "Audio, vidéo ou un autre format" - -#: wp-admin/includes/media.php:1975 -msgid "Insert media from another website" -msgstr "Insérer un média depuis un autre site" - -#: wp-admin/options.php:144 -msgid "ERROR: options page not found." -msgstr "ERREUR : La page d’options est introuvable." - -#: wp-admin/includes/file.php:1028 -msgid "ERROR: There was an error connecting to the server, Please verify the settings are correct." -msgstr "Erreur : Une erreur s’est produite lors de la connexion au serveur, vérifiez que vos paramètres sont corrects." - -#: wp-admin/includes/ajax-actions.php:930 -msgid "ERROR: you are replying to a comment on a draft post." -msgstr "ERREUR : vous être en train de laisser un commentaire sur un brouillon." - -#: wp-admin/includes/ajax-actions.php:953 -#: wp-admin/includes/ajax-actions.php:1021 -msgid "ERROR: please type a comment." -msgstr "ERREUR : veuillez saisir un commentaire." - -#: wp-admin/index.php:45 -msgid "The left-hand navigation menu provides links to all of the WordPress administration screens, with submenu items displayed on hover. You can minimize this menu to a narrow icon strip by clicking on the Collapse Menu arrow at the bottom." -msgstr "La navigation située à gauche de l’écran fournit tous les liens pour accéder à la console d’administration de WordPress, avec les sous-menus qui s’affichant au survol. Vous pouvez réduire ce menu à ses seules icônes en cliquant sur la flèche de repliement située en bas du menu." - -#: wp-admin/index.php:56 -msgid "Drag and Drop - To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box." -msgstr "Glisser/déposer - Pour réarranger les blocs, glissez/déposez-les en cliquant sur la barre de titre du bloc sélectionné, et relâchez-la lorsque vous apercevez un rectangle avec une bordure grise à l’emplacement où vous souhaitez placer le bloc." - -#: wp-admin/index.php:54 -msgid "You can use the following controls to arrange your Dashboard screen to suit your workflow. This is true on most other administration screens as well." -msgstr "Vous pouvez utiliser les contrôles suivants pour organiser l’écran du tableau de bord pour afin de se plier à votre manière de l’utiliser. La plupart des écrans de la console d’administration peuvent également être organisés de cette manière." - -#: wp-admin/comment.php:50 wp-admin/custom-background.php:140 -#: wp-admin/custom-header.php:164 wp-admin/edit-comments.php:116 -#: wp-admin/edit-form-advanced.php:315 wp-admin/edit-link-form.php:56 -#: wp-admin/edit-tags.php:198 wp-admin/edit.php:167 wp-admin/edit.php:212 -#: wp-admin/export.php:48 wp-admin/import.php:21 -#: wp-admin/includes/screen.php:839 wp-admin/index.php:39 -#: wp-admin/link-manager.php:45 wp-admin/media-new.php:45 wp-admin/media.php:73 -#: wp-admin/my-sites.php:40 wp-admin/nav-menus.php:502 -#: wp-admin/nav-menus.php:537 wp-admin/options-discussion.php:19 -#: wp-admin/options-general.php:73 wp-admin/options-media.php:28 -#: wp-admin/options-permalink.php:20 wp-admin/options-reading.php:55 -#: wp-admin/options-writing.php:20 wp-admin/plugin-editor.php:128 -#: wp-admin/plugin-install.php:69 wp-admin/plugins.php:344 -#: wp-admin/revision.php:114 wp-admin/theme-editor.php:25 -#: wp-admin/theme-install.php:87 wp-admin/themes.php:49 -#: wp-admin/update-core.php:470 wp-admin/upload.php:33 wp-admin/upload.php:198 -#: wp-admin/user-edit.php:47 wp-admin/user-new.php:165 wp-admin/users.php:25 -#: wp-admin/widgets.php:50 -msgid "Overview" -msgstr "Vue d’ensemble" - -#: wp-admin/menu.php:43 -msgid "Updates %s" -msgstr "Mises à jour %s" - -#: wp-admin/edit-comments.php:155 wp-admin/edit-tags.php:300 -#: wp-admin/edit.php:279 wp-admin/link-manager.php:74 wp-admin/plugins.php:419 -#: wp-admin/upload.php:234 wp-admin/users.php:441 -msgid "Search results for “%s”" -msgstr "Résultats de recherche pour « %s »" - -#: wp-admin/includes/user.php:62 wp-admin/users.php:113 -msgid "You can’t give users that role." -msgstr "Vous ne pouvez pas donner ce rôle aux utilisateurs." - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:223 -#: wp-admin/includes/class-wp-plugins-list-table.php:274 -msgid "Update Available (%s)" -msgid_plural "Update Available (%s)" -msgstr[0] "Prête à mettre à jour (%s)" -msgstr[1] "Prêtes à mettre à jour (%s)" - -#: wp-admin/plugins.php:308 -msgid "Click to view entire list of files which will be deleted" -msgstr "Cliquez pour voir la liste des fichiers qui seront supprimés" - -#. translators: 1: plugin name, 2: plugin author -#: wp-admin/plugins.php:283 -msgid "%1$s by %2$s" -msgstr "%1$s par %2$s" - -#: wp-admin/comment.php:157 wp-admin/plugins.php:270 -#: wp-admin/theme-editor.php:215 -msgid "Caution:" -msgstr "Attention :" - -#: wp-admin/menu.php:207 wp-admin/menu.php:209 wp-admin/user-new.php:144 -#: wp-admin/user-new.php:335 -msgid "Add New User" -msgstr "Ajouter un utilisateur" - -#: wp-admin/users.php:20 -msgctxt "users per page (screen options)" -msgid "Users" -msgstr "Utilisateurs" - -#: wp-admin/options-discussion.php:12 wp-admin/options-general.php:13 -#: wp-admin/options-media.php:13 wp-admin/options-permalink.php:13 -#: wp-admin/options-reading.php:13 wp-admin/options-writing.php:13 -msgid "You do not have sufficient permissions to manage options for this site." -msgstr "Vous n’avez pas les droits suffisants pour gérer les options de ce site." - -#: wp-admin/menu.php:184 -msgctxt "plugin editor" -msgid "Editor" -msgstr "Éditeur" - -#: wp-admin/menu.php:179 -msgid "Installed Plugins" -msgstr "Extensions installées" - -#: wp-admin/users.php:258 -msgid "Confirm Deletion" -msgstr "Confirmer la suppression" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:286 -#: wp-admin/includes/class-wp-plugins-list-table.php:299 -#: wp-admin/includes/class-wp-plugins-list-table.php:408 -msgid "Deactivate" -msgstr "Désactiver" - -#: wp-admin/about.php:32 wp-admin/credits.php:87 wp-admin/freedoms.php:24 -#: wp-admin/includes/class-wp-ms-themes-list-table.php:385 -#: wp-admin/includes/class-wp-plugins-list-table.php:514 -#: wp-admin/includes/update.php:164 wp-admin/includes/update.php:188 -msgid "Version %s" -msgstr "Version %s" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:387 -#: wp-admin/includes/class-wp-plugin-install-list-table.php:382 -#: wp-admin/includes/class-wp-plugins-list-table.php:519 -#: wp-admin/includes/class-wp-theme-install-list-table.php:272 -#: wp-admin/includes/class-wp-theme-install-list-table.php:374 -#: wp-admin/includes/class-wp-themes-list-table.php:194 -#: wp-admin/theme-install.php:215 wp-admin/theme-install.php:243 -#: wp-admin/themes.php:204 wp-admin/themes.php:285 wp-admin/themes.php:334 -msgid "By %s" -msgstr "Par %s" - -#: wp-admin/user-new.php:231 -msgid "User added." -msgstr "Utilisateur ajouté." - -#: wp-admin/includes/class-wp-media-list-table.php:526 -#: wp-admin/includes/class-wp-media-list-table.php:545 -#: wp-admin/includes/class-wp-ms-users-list-table.php:261 -#: wp-admin/includes/class-wp-posts-list-table.php:680 -#: wp-admin/includes/class-wp-terms-list-table.php:313 -msgid "View" -msgstr "Afficher" - -#: wp-admin/includes/class-wp-ms-users-list-table.php:191 -#: wp-admin/user-edit.php:337 -msgid "Super Admin" -msgstr "Super-admin" - -#: wp-admin/users.php:272 wp-admin/users.php:280 wp-admin/users.php:307 -#: wp-admin/users.php:315 -msgid "You can’t remove users." -msgstr "Vous ne pouvez pas supprimer ces utilisateurs." - -#: wp-admin/my-sites.php:55 wp-admin/options-head.php:15 -#: wp-admin/options.php:198 -msgid "Settings saved." -msgstr "Options enregistrées." - -#: wp-admin/users.php:394 -msgid "Changed roles." -msgstr "Rôles modifiés." - -#: wp-admin/users.php:405 -msgid "User removed from this site." -msgstr "Utilisateur supprimé de ce site." - -#: wp-admin/includes/dashboard.php:383 wp-admin/users.php:448 -msgid "Search Users" -msgstr "Chercher un utilisateur" - -#: wp-admin/user-new.php:273 -msgid "Add Existing User" -msgstr "Ajouter un utilisateur existant" - -#: wp-admin/includes/class-wp-users-list-table.php:265 -#: wp-admin/user-edit.php:317 wp-admin/user-new.php:301 -#: wp-admin/user-new.php:410 -msgid "Role" -msgstr "Rôle" - -#: wp-admin/comment.php:57 wp-admin/custom-background.php:149 -#: wp-admin/custom-header.php:190 wp-admin/edit-comments.php:132 -#: wp-admin/edit-form-advanced.php:292 wp-admin/edit-form-advanced.php:307 -#: wp-admin/edit-form-advanced.php:324 wp-admin/edit-link-form.php:64 -#: wp-admin/edit-tags.php:228 wp-admin/edit.php:204 wp-admin/edit.php:225 -#: wp-admin/export.php:54 wp-admin/import.php:27 wp-admin/index.php:87 -#: wp-admin/link-manager.php:59 wp-admin/media-new.php:55 wp-admin/media.php:82 -#: wp-admin/my-sites.php:47 wp-admin/nav-menus.php:543 -#: wp-admin/options-discussion.php:25 wp-admin/options-general.php:78 -#: wp-admin/options-media.php:33 wp-admin/options-permalink.php:43 -#: wp-admin/options-reading.php:70 wp-admin/options-writing.php:50 -#: wp-admin/plugin-editor.php:139 wp-admin/plugin-install.php:84 -#: wp-admin/plugins.php:358 wp-admin/revision.php:118 -#: wp-admin/theme-editor.php:38 wp-admin/theme-install.php:102 -#: wp-admin/themes.php:84 wp-admin/tools.php:27 wp-admin/update-core.php:488 -#: wp-admin/upload.php:50 wp-admin/upload.php:218 wp-admin/user-edit.php:52 -#: wp-admin/user-new.php:183 wp-admin/users.php:60 wp-admin/widgets.php:72 -msgid "For more information:" -msgstr "Plus d’informations :" - -#: wp-admin/menu.php:198 wp-admin/menu.php:200 wp-admin/user-edit.php:218 -#: wp-admin/users.php:435 -msgctxt "user" -msgid "Add New" -msgstr "Ajouter" - -#: wp-admin/includes/class-wp-links-list-table.php:58 -#: wp-admin/includes/class-wp-links-list-table.php:155 -#: wp-admin/includes/class-wp-ms-sites-list-table.php:142 -#: wp-admin/includes/class-wp-ms-sites-list-table.php:299 -#: wp-admin/includes/class-wp-ms-themes-list-table.php:259 -#: wp-admin/includes/class-wp-ms-themes-list-table.php:304 -#: wp-admin/includes/class-wp-ms-users-list-table.php:78 -#: wp-admin/includes/class-wp-ms-users-list-table.php:199 -#: wp-admin/includes/class-wp-plugins-list-table.php:305 -#: wp-admin/includes/class-wp-plugins-list-table.php:404 -#: wp-admin/includes/class-wp-plugins-list-table.php:413 -#: wp-admin/includes/class-wp-terms-list-table.php:117 -#: wp-admin/includes/class-wp-terms-list-table.php:311 -#: wp-admin/includes/class-wp-themes-list-table.php:170 -#: wp-admin/includes/class-wp-users-list-table.php:192 -#: wp-admin/includes/class-wp-users-list-table.php:371 -#: wp-admin/includes/media.php:1427 wp-admin/includes/meta-boxes.php:803 -#: wp-admin/includes/template.php:605 wp-admin/includes/widgets.php:226 -#: wp-admin/themes.php:368 wp-admin/widgets.php:284 -msgid "Delete" -msgstr "Supprimer " - -#: wp-admin/menu.php:196 -msgid "All Users" -msgstr "Tous les utilisateurs" - -#: wp-admin/edit-form-advanced.php:193 -msgid "Attributes" -msgstr "Attributs" - -#: wp-admin/includes/class-wp-theme-install-list-table.php:370 -#: wp-admin/includes/dashboard.php:1098 wp-admin/theme-install.php:219 -#: wp-admin/theme-install.php:237 -msgid "Install" -msgstr "Installer" - -#: wp-admin/menu.php:177 -msgid "Plugins %s" -msgstr "Extensions %s" - -#: wp-admin/menu.php:217 wp-admin/ms-delete-site.php:30 -msgid "Delete Site" -msgstr "Supprimer mon site" - -#: wp-admin/edit-form-advanced.php:302 -msgid "About Pages" -msgstr "À propos des pages" - -#: wp-admin/edit-form-advanced.php:276 -msgid "Customizing This Display" -msgstr "Personnaliser cet écran" - -#: wp-admin/edit-form-advanced.php:286 -msgid "Title and Post Editor" -msgstr "Titre et éditeur d’article" - -#: wp-admin/edit-tags.php:235 -msgid "Documentation on Tags" -msgstr "Documentation sur les mots-clés (en)" - -#: wp-admin/options-reading.php:151 -msgid "Note: Neither of these options blocks access to your site — it is up to search engines to honor your request." -msgstr "Note : Aucune de ses options ne bloque l’accès à votre site — c’est au moteur de recherche de respecter votre demande." - -#: wp-admin/options-permalink.php:220 -msgid "Post name" -msgstr "Nom de l’article" - -#: wp-admin/options-permalink.php:209 wp-admin/options-permalink.php:213 -#: wp-admin/options-permalink.php:221 -msgctxt "sample permalink structure" -msgid "sample-post" -msgstr "exemple-article" - -#: wp-admin/options-permalink.php:197 wp-admin/options-permalink.php:217 -msgctxt "sample permalink base" -msgid "archives" -msgstr "archives" - -#: wp-admin/import.php:104 -msgid "This importer is not installed. Please install importers from the main site." -msgstr "Cet importateur n’est pas installé. Veuillez installer les importateurs depuis le site principal." - -#: wp-admin/options-general.php:113 wp-admin/options-general.php:132 -msgid "E-mail Address" -msgstr "Adresse de messagerie" - -#: wp-admin/options-general.php:314 -msgid "Site Language" -msgstr "Langue du site" - -#: wp-admin/options-discussion.php:45 -msgid "Attempt to notify any blogs linked to from the article" -msgstr "Tenter de notifier les sites liés depuis le contenu des articles" - -#. translators: 1: Site name, 2: site URL, 3: role -#: wp-admin/user-new.php:24 -msgid "" -"Hi,\n" -"You've been invited to join '%1$s' at\n" -"%2$s with the role of %3$s.\n" -"If you do not want to join this site please ignore\n" -"this email. This invitation will expire in a few days.\n" -"\n" -"Please click the following link to activate your user account:\n" -"%%s" -msgstr "" -"Bonjour,\n" -"Vous avez été invité(e) à rejoindre « %1$s » sur\n" -"%2$s en tant que %3$s. \n" -"Si vous ne souhaitez pas rejoindre ce site, veuillez ignorer\n" -"ce message. L'invitation expirera dans quelques jours.\n" -"\n" -"Veuillez cliquer sur le lien suivant pour activer votre compte utilisateur :\n" -"%%s" - -#: wp-admin/includes/theme.php:220 -msgid "Full Width Template" -msgstr "Modèle pleine largeur" - -#: wp-admin/includes/theme.php:222 -msgid "Post Formats" -msgstr "Format d’article" - -#: wp-admin/includes/theme.php:217 -msgid "Featured Images" -msgstr "Images à la Une" - -#: wp-admin/includes/theme.php:216 -msgid "Featured Image Header" -msgstr "Image d’en-tête à la Une" - -#: wp-admin/includes/dashboard.php:1176 -msgid "It looks like you're using an old version of %s. For the best WordPress experience, please update your browser." -msgstr "Il semble que vous utilisez une vieille version de %s. Pour utiliser WordPress dans des conditions optimales, veuillez mettre à jour votre navigateur." - -#: wp-admin/includes/dashboard.php:1174 -msgid "It looks like you're using an insecure version of %s. Using an outdated browser makes your computer unsafe. For the best WordPress experience, please update your browser." -msgstr "Il semble que vous utilisez une version peu sûre de %s. Un navigateur dépassé met votre ordinateur en danger. Pour utiliser WordPress dans des conditions optimales, veuillez mettre à jour votre navigateur." - -#: wp-admin/includes/nav-menu.php:1196 -msgid "There are some invalid menu items. Please check or delete them." -msgstr "Certains éléments du menu ne sont pas valides. Veuillez les vérifier ou les effacer." - -#. translators: %s: title of menu item which is invalid -#: wp-admin/includes/nav-menu.php:85 -msgid "%s (Invalid)" -msgstr "%s (non valide)" - -#: wp-admin/includes/class-wp-terms-list-table.php:132 -#: wp-admin/includes/class-wp-terms-list-table.php:426 -msgctxt "term name" -msgid "Name" -msgstr "Nom" - -#: wp-admin/includes/template.php:530 wp-admin/includes/template.php:545 -#: wp-admin/includes/template.php:654 -msgctxt "meta name" -msgid "Name" -msgstr "Nom" - -#: wp-admin/user-new.php:36 -msgid "[%s] Your site invite" -msgstr "[%s] Votre invitation sur le site" - -#: wp-admin/themes.php:251 -msgctxt "theme name" -msgid "Name" -msgstr "Nom" - -#: wp-admin/credits.php:192 -msgid "Icon Design" -msgstr "Conception des icônes" - -#: wp-admin/theme-install.php:81 -msgid "You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the WordPress.org Theme Directory. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses." -msgstr "Vous pouvez trouver plus de thèmes pour votre site en utilisant le Navigateur/Installeur de thème sur cet écran, qui affiche les thèmes en provenance du dépôt de thèmes de WordPress.org. Ces thèmes sont conçus et développés par des designers tiers, sont gratuits et utilisent une licence compatible avec celle de WordPress." - -#: wp-admin/update-core.php:51 -msgid "Re-install Now" -msgstr "Ré-installer maintenant" - -#: wp-admin/includes/file.php:253 -msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini." -msgstr "La taille du fichier envoyé excède celle indiquée dans la directive upload_max_filesize, dans php.ini." - -#: wp-admin/includes/file.php:254 -msgid "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form." -msgstr "La taille du fichier envoyé excède celle indiquée dans la directive MAX_FILE_SIZE du formulaire HTML." - -#: wp-admin/options-writing.php:122 wp-admin/tools.php:47 -msgid "If your bookmarks toolbar is hidden: copy the code below, open your Bookmarks manager, create new bookmark, type Press This into the name field and paste the code into the URL field." -msgstr "Si votre barre de favoris est cachée : copier le code ci-dessous, ouvrez votre gestionnaire de favoris, créez-en un nouveau, saisissez « Publier un article » comme nom, et collez le code dans le champ d’adresse Web." - -#: wp-admin/credits.php:185 -msgid "Core Committer" -msgstr "Développeur principal" - -#: wp-admin/credits.php:186 -msgid "Guest Committer" -msgstr "Développeur invité" - -#: wp-admin/about.php:154 wp-admin/credits.php:191 -msgid "External Libraries" -msgstr "Bibliothèques tierces" - -#: wp-admin/press-this.php:652 -msgid "Add:" -msgstr "Ajouter :" - -#: wp-admin/press-this.php:288 -msgid "Add Photos" -msgstr "Ajouter des images" - -#: wp-admin/menu.php:213 -msgid "Available Tools" -msgstr "Outils disponibles" - -#: wp-admin/menu.php:219 -msgid "Network Setup" -msgstr "Création du réseau" - -#: wp-admin/credits.php:183 -msgid "User Experience Lead" -msgstr "En charge de l’expérience utilisateur" - -#: wp-admin/credits.php:120 -msgctxt "Translate this to be the equivalent of English Translators in your language for the credits page Translators section" -msgid "Translators" -msgstr "Traducteurs" - -#. translators: Url to the codex documentation on contributing to WordPress -#. used on the credits page -#: wp-admin/credits.php:107 -msgid "http://codex.wordpress.org/Contributing_to_WordPress" -msgstr "http://codex.wordpress.org/Contributing_to_WordPress" - -#: wp-admin/freedoms.php:45 -msgid "WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We’re flattered every time someone spreads the good word, just make sure to check out our trademark guidelines first." -msgstr "WordPress croît à chaque fois que vous en parlez à vos amis, et cela est également vrai pour les milliers de sociétés et services dans le monde construits à l’aide de ou autour de WordPress. Nous sommes flattés chaque fois que quelqu’un vante les mérites de cet outil ; veillez cependant à respecter les conseils d’utilisation de notre marque déposée." - -#: wp-admin/freedoms.php:52 -msgid "Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding plugins and themes there. If you get a plugin or theme from another source, make sure to ask them if it’s GPL first. If they don’t respect the WordPress license, we don’t recommend them." -msgstr "Tous les thèmes et extensions disponibles sur le répertoire de WordPress.org respectent à 100%% la licence GPL, ou une licence libre et compatible. Ainsi, vous pouvez en toute sûreté y chercher des extensions et des thèmes. Si vous téléchargez une extension ou un thème en provenance d’une autre source, vérifiez bien qu’il respecte la licence GPL. Si ce n’est pas le cas, l’équipe de WordPress ne vous le recommande alors pas." - -#: wp-admin/freedoms.php:36 -msgid "WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its license, the GPL." -msgstr "WordPress est un logiciel libre et au code ouvert (open-source), conçu par une communauté de développeurs majoritairement volontaires, partout dans le monde. WordPress est livré avec des libertés formidables et qui changent la vision du monde, grâce à sa licence, la GPL." - -#: wp-admin/credits.php:181 -msgid "Lead Developer" -msgstr "Développeur principal" - -#: wp-admin/credits.php:187 -msgid "Developer" -msgstr "Développeur" - -#: wp-admin/credits.php:175 -msgid "Extended Core Team" -msgstr "Équipe principale étendue" - -#: wp-admin/credits.php:162 -msgid "Want to see your name in lights on this page? Get involved in WordPress." -msgstr "Vous voulez faire partie des noms listés sur cette page ? Participez au développement de WordPress !" - -#: wp-admin/about.php:38 wp-admin/credits.php:12 wp-admin/credits.php:93 -#: wp-admin/freedoms.php:30 -msgid "Credits" -msgstr "Crédits" - -#: wp-admin/widgets.php:335 -msgctxt "removing-widget" -msgid "Deactivate" -msgstr "Désactiver" - -#: wp-admin/credits.php:180 -msgid "Cofounder, Project Lead" -msgstr "Cofondateur, chef de projet" - -#: wp-admin/credits.php:190 -msgid "Internationalization" -msgstr "Internationalisation" - -#: wp-admin/credits.php:178 -msgid "Core Contributors to WordPress %s" -msgstr "Contributeurs au code de WordPress %s" - -#: wp-admin/credits.php:177 -msgid "Recent Rockstars" -msgstr "Étoiles montantes" - -#: wp-admin/menu.php:99 -msgid "All Comments" -msgstr "Tous les commentaires" - -#: wp-admin/credits.php:104 -msgid "WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress." -msgstr "WordPress est créé par une équipe de personnes passionnées, répartie sur toute la planète. Participez au développement de WordPress !" - -#: wp-admin/credits.php:174 -msgid "Project Leaders" -msgstr "Chefs de projet" - -#: wp-admin/credits.php:188 -msgid "Designer" -msgstr "Concepteur graphique" - -#: wp-admin/freedoms.php:39 -msgid "You have the freedom to run the program, for any purpose." -msgstr "Vous êtes libre de modifier ce programme, dans n’importe quel but." - -#: wp-admin/freedoms.php:40 -msgid "You have access to the source code, the freedom to study how the program works, and the freedom to change it to make it do what you wish." -msgstr "Vous avez accès au code source, êtes libres d’étudier la manière dont le programme fonctionne, et libres de le modifier pour en faire ce que vous souhaitez." - -#: wp-admin/freedoms.php:41 -msgid "You have the freedom to redistribute copies of the original program so you can help your neighbor." -msgstr "Vous êtes libres de redistribuer des copies du programme original, afin d’aider votre prochain." - -#: wp-admin/freedoms.php:42 -msgid "You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes." -msgstr "Vous êtes libres de distribuer à autrui des copies de votre propre version modifiée de ce programme. Ce faisant, vous offrez à la communauté la possibilité de profiter de vos modifications." - -#: wp-admin/includes/dashboard.php:28 -msgid "You are using an insecure browser!" -msgstr "Vous utilisez un navigateur peu sûr !" - -#: wp-admin/includes/dashboard.php:30 -msgid "Your browser is out of date!" -msgstr "Votre navigateur est obsolète !" - -#: wp-admin/freedoms.php:54 -msgid "Don’t you wish all software came with these freedoms? So do we! For more information, check out the Free Software Foundation." -msgstr "Ne préféreriez-vous pas que tous vos logiciels vous donnent autant de liberté ? Nous aussi ! Pour obtenir plus d’informations, rendez-vous sur le site de la Free Software Foundation, ou en français, ceux de l’April et de l’Aful." - -#: wp-admin/about.php:40 wp-admin/credits.php:95 wp-admin/freedoms.php:12 -#: wp-admin/freedoms.php:32 -msgid "Freedoms" -msgstr "Libertés" - -#: wp-admin/custom-header.php:638 -msgid "You can use one of these cool headers or show a random one on each page." -msgstr "Vous pouvez choisir parmi ces en-têtes, ou en afficher un aléatoirement à chaque chargement de page." - -#: wp-admin/custom-header.php:636 -msgid "If you don‘t want to upload your own image, you can use one of these cool headers, or show a random one." -msgstr "Si vous ne voulez pas mettre en ligne d’image, vous pouvez utiliser l’un de ces en-têtes, ou en afficher un aléatoirement." - -#: wp-admin/custom-header.php:624 -msgid "You can choose one of your previously uploaded headers, or show a random one." -msgstr "Vous pouvez choisir un en-tête parmi ceux que vous avez déjà mis en ligne, ou en afficher un aléatoirement" - -#: wp-admin/menu-header.php:205 -msgid "Collapse menu" -msgstr "Réduire le menu" - -#: wp-admin/includes/class-wp-plugins-list-table.php:333 -msgid "Drop-ins are advanced plugins in the %s directory that replace WordPress functionality when present." -msgstr "Les « drop-ins » sont des extensions avancées contenues dans le dossier %s ; elles permettent le remplacement de certaines fonctionnalités de WordPress." - -#: wp-admin/includes/class-wp-plugins-list-table.php:331 -msgid "Files in the %s directory are executed automatically." -msgstr "Les fichiers contenus dans le dossier %s sont exécutés automatiquement." - -#: wp-admin/custom-header.php:341 -msgid "Random: Show a different image on each page." -msgstr "Aléatoire  : affiche une image différente sur chaque page." - -#: wp-admin/custom-header.php:622 -msgid "Uploaded Images" -msgstr "Images mises en ligne" - -#: wp-admin/media-new.php:56 -msgid "Documentation on Uploading Media Files" -msgstr "Documentation sur la mise en ligne de fichiers média (en)" - -#: wp-admin/user-edit.php:53 -msgid "Documentation on User Profiles" -msgstr "Documentation sur le Profil utilisateur (en)" - -#: wp-admin/options-permalink.php:44 -msgid "Documentation on Permalinks Settings" -msgstr "Documentation sur les réglages des permaliens (en)" - -#: wp-admin/edit-tags.php:231 -msgid "Documentation on Categories" -msgstr "Documentation sur les catégories (en)" - -#: wp-admin/edit-tags.php:233 -msgid "Documentation on Link Categories" -msgstr "Documentation sur les catégories de liens (en)" - -#: wp-admin/widgets.php:73 -msgid "Documentation on Widgets" -msgstr "Documentation sur les widgets" - -#: wp-admin/nav-menus.php:544 -msgid "Documentation on Menus" -msgstr "Documentation sur les menus personnalisés (en)" - -#: wp-admin/edit-form-advanced.php:325 wp-admin/media.php:83 -msgid "Documentation on Edit Media" -msgstr "Documentation sur la modification des médias (en)" - -#: wp-admin/edit-form-advanced.php:309 -msgid "Documentation on Editing Pages" -msgstr "Documentation sur la modification des pages (en)" - -#: wp-admin/upload.php:51 wp-admin/upload.php:219 -msgid "Documentation on Media Library" -msgstr "Documentation sur la bibliothèque des médias (en)" - -#: wp-admin/tools.php:28 -msgid "Documentation on Tools" -msgstr "Documentation sur les outils (en)" - -#: wp-admin/custom-header.php:191 -msgid "Documentation on Custom Header" -msgstr "Documentation sur l’en-tête personnalisé" - -#: wp-admin/export.php:55 -msgid "Documentation on Export" -msgstr "Documentation sur l’exportation (en)" - -#: wp-admin/options-general.php:79 -msgid "Documentation on General Settings" -msgstr "Documentation sur les réglages généraux (en)" - -#: wp-admin/options-media.php:34 -msgid "Documentation on Media Settings" -msgstr "Documentation sur les réglages des médias" - -#: wp-admin/update-core.php:489 -msgid "Documentation on Updating WordPress" -msgstr "Documentation sur la mise à jour de WordPress (en)" - -#: wp-admin/edit-form-advanced.php:293 -msgid "Documentation on Writing and Editing Posts" -msgstr "Documentation sur l’écriture et la modification des articles (en)" - -#: wp-admin/comment.php:58 wp-admin/edit-comments.php:133 -msgid "Documentation on Comments" -msgstr "Documentation sur les commentaires (en)" - -#: wp-admin/users.php:61 -msgid "Documentation on Managing Users" -msgstr "Documentation sur l’ajout de nouveaux utilisateurs (en)" - -#: wp-admin/options-discussion.php:26 -msgid "Documentation on Discussion Settings" -msgstr "Documentation sur les réglages des discussions (en)" - -#: wp-admin/edit-link-form.php:65 -msgid "Documentation on Creating Links" -msgstr "Documentation sur la création de liens (en)" - -#: wp-admin/options-reading.php:71 -msgid "Documentation on Reading Settings" -msgstr "Documentation sur les réglages de la lecture (en)" - -#: wp-admin/plugin-install.php:85 -msgid "Documentation on Installing Plugins" -msgstr "Documentation sur l’installation des extensions (en)" - -#: wp-admin/edit.php:205 -msgid "Documentation on Managing Posts" -msgstr "Documentation sur la gestion des articles (en)" - -#: wp-admin/index.php:88 -msgid "Documentation on Dashboard" -msgstr "Documentation sur le tableau de bord (en)" - -#: wp-admin/plugin-editor.php:140 -msgid "Documentation on Editing Plugins" -msgstr "Documentation sur l’édition des extensions (en)" - -#: wp-admin/custom-background.php:150 -msgid "Documentation on Custom Background" -msgstr "Documentation sur le fond personnalisé (en)" - -#: wp-admin/import.php:28 -msgid "Documentation on Import" -msgstr "Documentation sur l’importation (en)" - -#: wp-admin/edit.php:226 -msgid "Documentation on Managing Pages" -msgstr "Documentation sur la gestion des pages (en)" - -#: wp-admin/edit-form-advanced.php:308 -msgid "Documentation on Adding New Pages" -msgstr "Documentation sur l’ajout de nouvelles pages (en)" - -#: wp-admin/options-writing.php:51 -msgid "Documentation on Writing Settings" -msgstr "Documentation sur les réglages de l’écriture (en)" - -#: wp-admin/link-manager.php:60 -msgid "Documentation on Managing Links" -msgstr "Documentation sur la gestion des liens (en)" - -#: wp-admin/user-new.php:184 -msgid "Documentation on Adding New Users" -msgstr "Documentation sur l’ajout de nouveaux utilisateurs (en)" - -#: wp-admin/includes/theme.php:195 wp-admin/includes/theme.php:256 -#: wp-admin/index.php:61 -msgid "Layout" -msgstr "Arrangement" - -#: wp-admin/users.php:223 -msgid "You have specified this user for deletion:" -msgid_plural "You have specified these users for deletion:" -msgstr[0] "Vous avez choisi de supprimer cet utilisateur :" -msgstr[1] "Vous avez choisi de supprimer ces utilisateurs :" - -#: wp-admin/user-edit.php:204 -msgid "← Back to Users" -msgstr "← Retour aux utilisateurs" - -#: wp-admin/includes/class-wp-list-table.php:675 -msgctxt "paging" -msgid "%1$s of %2$s" -msgstr "%1$s sur %2$s" - -#: wp-admin/includes/file.php:67 -msgid "%s Page Template" -msgstr "Modèle de page %s" - -#: wp-admin/press-this.php:514 -msgid "Post Format:" -msgstr "Format d’article :" - -#: wp-admin/plugins.php:270 -msgid "This plugin may be active on other sites in the network." -msgid_plural "These plugins may be active on other sites in the network." -msgstr[0] "Cette extension peut uniquement être activée sur l’ensemble des sites du réseau." -msgstr[1] "Ces extensions peuvent uniquement être activées sur l’ensemble des sites du réseau." - -#: wp-admin/plugins.php:377 -msgid "You cannot delete a plugin while it is active on the main site." -msgstr "Vous ne pouvez pas effacer une extension tant qu’elle est activée sur le site principal." - -#: wp-admin/options-writing.php:87 -msgid "Default Post Format" -msgstr "Format par défaut des articles" - -#: wp-admin/update-core.php:23 wp-admin/update-core.php:539 -#: wp-admin/update-core.php:563 wp-admin/update-core.php:591 -#: wp-admin/update-core.php:621 -msgid "You do not have sufficient permissions to update this site." -msgstr "Vous n’avez pas les droits suffisants pour mettre à jour ce site." - -#: wp-admin/user-edit.php:220 wp-admin/users.php:437 -msgctxt "user" -msgid "Add Existing" -msgstr "Ajouter un utilisateur existant" - -#: wp-admin/user-new.php:238 -msgctxt "user" -msgid "Add New User" -msgstr "Ajouter un utilisateur" - -#: wp-admin/user-new.php:433 -msgid "Add New User " -msgstr "Ajouter un utilisateur" - -#: wp-admin/user-new.php:328 -msgid "Add Existing User " -msgstr "Ajouter un utilisateur existant" - -#: wp-admin/plugin-editor.php:135 wp-admin/theme-editor.php:34 -msgid "Any edits to files from this screen will be reflected on all sites in the network." -msgstr "Toute modification aux fichiers de cet écran affectera l’ensemble des sites du réseau." - -#: wp-admin/user-new.php:240 -msgctxt "user" -msgid "Add Existing User" -msgstr "Ajouter un utilisateur existant" - -#: wp-admin/options-writing.php:28 wp-admin/tools.php:17 -msgid "Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you’ll be on your way to easier content creation. Clicking on it while on another website opens a popup window with all these options." -msgstr "« Publier un article » est un bookmarklet qui vous facilite la publication sur votre site quand vous voyez une page intéressante sur Internet. Vous pouvez l’utiliser simplement pour publier un lien, ou pour en publier un extrait. « Publier un article » vous permet même de choisir parmi les images incluses dans la page, et de les utiliser dans votre article. Glissez simplement le lien « Publier un article » dans la barre de liens de votre navigateur, et à vous la publication facile ! En cliquant dessus lors de la visite d’un site, une fenêtre s’ouvrira avec toutes les options utiles." - -#: wp-admin/plugin-editor.php:141 -msgid "Documentation on Writing Plugins" -msgstr "Documentation sur la création d’extensions (en)" - -#: wp-admin/index.php:65 -msgid "The boxes on your Dashboard screen are:" -msgstr "Les blocs de l’écran du tableau de bord sont :" - -#: wp-admin/users.php:26 -msgid "This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role." -msgstr "Cet écran liste tous les utilisateurs actuels de votre site. Chaque utilisateur a l’un des 5 rôles prédéfinis, tel qu’assigné par l’administrateur du site : Administrateur, Éditeur, Auteur, Contributeur ou Abonné. Les utilisateurs avec un rôle autre qu’Administrateur verront moins d’options quand ils seront connectés, en fonction de leur rôle." - -#: wp-admin/options-permalink.php:45 -msgid "Documentation on Using Permalinks" -msgstr "Documentation sur l’utilisation des permaliens (en)" - -#: wp-admin/plugin-editor.php:134 -msgid "If you want to make changes but don’t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit plugins, write your own from scratch, or just better understand their anatomy, check out the links below." -msgstr "Si vous voulez faire des modifications et ne pas les perdre à la prochaine mise à jour, cela signifie que vous êtes prêt à écrire votre propre extension. Pour obtenir des informations sur la manière de modifier une extension ou d’en créer une, ou simplement pour comprendre leur fonctionnement, suivez les liens ci-dessous." - -#: wp-admin/users.php:62 -msgid "Descriptions of Roles and Capabilities" -msgstr "Descriptions des rôles et permissions (en)" - -#. translators: Default page slug -#: wp-admin/includes/upgrade.php:219 -msgid "sample-page" -msgstr "page-d-exemple" - -#: wp-admin/includes/upgrade.php:217 -msgid "Sample Page" -msgstr "Page d’exemple" - -#: wp-admin/options-discussion.php:224 -msgid "Retro (Generated)" -msgstr "Rétro (généré)" - -#: wp-admin/includes/class-wp-themes-list-table.php:78 -msgid "You only have one theme enabled for this site right now. Visit the Network Admin to enable or install more themes." -msgstr "Vous n’avez qu’un thème activé sur ce site actuellement. Veuillez vous rendre sur la page d’administration du réseau pour activer ou installer plus de thèmes." - -#: wp-admin/includes/class-wp-themes-list-table.php:82 -msgid "You only have one theme enabled for this site right now. Visit the Network Admin to enable more themes." -msgstr "Vous n’avez qu’un thème activé sur ce site actuellement. Veuillez vous rendre sur la page d’administration du réseau pour activer plus de thèmes." - -#: wp-admin/user-edit.php:342 -msgid "Super admin privileges cannot be removed because this user has the network admin email." -msgstr "Les privilèges de super-admin ne peuvent pas être enlevés, car cet utilisateur est celui avec l’adresse de contact administratif du réseau." - -#: wp-admin/includes/class-wp-themes-list-table.php:89 -msgid "You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress.org Theme Directory at any time: just click on the Install Themes tab above." -msgstr "Vous n’avez qu’un seul thème d’installé pour le moment. Faites vivre votre site ! Vous pouvez quand vous le voulez choisir parmi plus de 1 000 thèmes sur le dépôt de thèmes de WordPress.org : cliquez simplement sur l’onglet « Installer des thèmes » ci-dessus." - -#: wp-admin/maint/repair.php:113 -msgid "One or more database tables are unavailable. To allow WordPress to attempt to repair these tables, press the “Repair Database” button. Repairing can take a while, so please be patient." -msgstr "Une ou plusieurs tables de votre base de données sont indisponibles. Pour autoriser WordPress à tenter de réparer ces tables, cliquez sur le bouton « Réparer la base de données ». La réparation peut prendre un certain temps, merci donc d’être patient." - -#: wp-admin/includes/file.php:16 -msgid "Visual Editor RTL Stylesheet" -msgstr "Feuille de style de l’éditeur visuel (lecture de droite à gauche)" - -#: wp-admin/theme-editor.php:170 -msgid "This child theme inherits templates from a parent theme, %s." -msgstr "Ce thème enfant hérite de certains modèles de son thème parent, %s." - -#: wp-admin/theme-editor.php:216 -msgid "This is a file in your current parent theme." -msgstr "Ceci est un fichier de votre thème parent actuel." - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:252 -#: wp-admin/includes/class-wp-ms-themes-list-table.php:295 -#: wp-admin/includes/class-wp-upgrader-skins.php:527 -msgid "Network Enable" -msgstr "Activer sur le réseau" - -#: wp-admin/upgrade.php:99 -msgid "Your WordPress database has been successfully updated!" -msgstr "La base de données de WordPress a bien été mise à jour !" - -#: wp-admin/upgrade.php:88 -msgid "Update WordPress Database" -msgstr "Mettre à jour la base de données de WordPress" - -#: wp-admin/update-core.php:101 -msgid "You are about to install WordPress %s in English (US). There is a chance this update will break your translation. You may prefer to wait for the localized version to be released." -msgstr "Vous êtes sur le point d’installer WordPress %s en anglais (US). Il se peut que cette mise à jour ne fonctionne pas avec la traduction de WordPress dont vous disposez. Vous devriez sans doute patienter, le temps que la mise à jour soit officiellement traduite dans votre langue." - -#: wp-admin/upgrade.php:87 -msgid "The update process may take a little while, so please be patient." -msgstr "Le processus de mise à jour peut prendre un certain temps, merci donc pour votre patience." - -#: wp-admin/upgrade.php:55 -msgid "WordPress › Update" -msgstr "WordPress › Mise à jour" - -#: wp-admin/upgrade.php:98 -msgid "Update Complete" -msgstr "Mise à jour terminée" - -#: wp-admin/upgrade.php:85 -msgid "Database Update Required" -msgstr "Mise à jour de la base de données requise" - -#: wp-admin/upgrade.php:86 -msgid "WordPress has been updated! Before we send you on your way, we have to update your database to the newest version." -msgstr "WordPress a été mis à jour ! Avant de vous laisser continuer, nous devons mettre à jour la base de données." - -#: wp-admin/upgrade.php:66 -msgid "No Update Required" -msgstr "Pas de mise à jour requise" - -#: wp-admin/includes/class-wp-upgrader.php:487 -msgid "Plugin updated successfully." -msgstr "L’extension a bien été mise à jour." - -#: wp-admin/includes/class-wp-upgrader-skins.php:564 wp-admin/update.php:162 -msgid "Update Theme" -msgstr "Mettre à jour le thème" - -#: wp-admin/includes/class-wp-upgrader.php:486 -msgid "Plugin update failed." -msgstr "La mise à jour de l’extension a échoué." - -#: wp-admin/includes/class-wp-upgrader.php:810 -msgid "Theme update failed." -msgstr "La mise à jour du thème a échoué." - -#: wp-admin/includes/class-wp-upgrader.php:811 -msgid "Theme updated successfully." -msgstr "Le thème a bien été mis à jour." - -#: wp-admin/includes/class-wp-upgrader-skins.php:145 wp-admin/update.php:54 -msgid "Update Plugin" -msgstr "Mettre à jour l’extension" - -#: wp-admin/includes/update.php:284 -msgid "There is a new version of %1$s available. View version %4$s details. Automatic update is unavailable for this plugin." -msgstr "Il y a une nouvelle version de %1$s disponible. Afficher les détails de la version %4$s. La mise à jour automatique n’est pas possible pour cette extension." - -#: wp-admin/includes/class-wp-upgrader.php:481 -#: wp-admin/includes/class-wp-upgrader.php:805 -#: wp-admin/includes/class-wp-upgrader.php:1249 -#: wp-admin/includes/class-wp-upgrader.php:1437 -msgid "Update package not available." -msgstr "Pas d’archive de mise à jour disponible." - -#: wp-admin/export.php:173 wp-admin/export.php:205 -msgid "Date range:" -msgstr "Date de création :" - -#: wp-admin/export.php:157 -msgid "This will contain all of your posts, pages, comments, custom fields, terms, navigation menus and custom posts." -msgstr "Il contiendra tous vos articles, pages, commentaires, champs personnalisés, termes, menus de navigation et types de contenus personnalisés." - -#: wp-admin/export.php:153 -msgid "Choose what to export" -msgstr "Choisissez ce que vous souhaitez exporter" - -#: wp-admin/export.php:166 wp-admin/export.php:198 -msgid "Authors:" -msgstr "Auteur :" - -#: wp-admin/export.php:156 -msgid "All content" -msgstr "Tout le contenu" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:214 -msgctxt "themes" -msgid "All (%s)" -msgid_plural "All (%s)" -msgstr[0] "Tous (%s)" -msgstr[1] "Tous (%s)" - -#: wp-admin/includes/file.php:312 -msgid "Sorry, this file type is not permitted for security reasons." -msgstr "Désolé, ce type de fichier n’est pas autorisé pour des raisons de sécurité." - -#: wp-admin/admin-header.php:32 wp-admin/customize.php:88 -msgid "%1$s — WordPress" -msgstr "%1$s — WordPress" - -#: wp-admin/user-edit.php:270 -msgid "More information" -msgstr "Plus d’informations" - -#: wp-admin/includes/class-wp-comments-list-table.php:309 -msgctxt "column name" -msgid "In Response To" -msgstr "En réponse à" - -#. translators: 2: comment date, 3: comment time -#: wp-admin/includes/class-wp-comments-list-table.php:407 -msgid "Submitted on %2$s at %3$s" -msgstr "Envoyé le %2$s à %3$s" - -#: wp-admin/edit-comments.php:134 -msgid "Documentation on Comment Spam" -msgstr "Documentation sur les commentaires indésirables" - -#: wp-admin/edit-comments.php:135 -msgid "Documentation on Keyboard Shortcuts" -msgstr "Documentation sur les raccourcis clavier" - -#: wp-admin/widgets.php:53 -msgid "The Available Widgets section contains all the widgets you can choose from. Once you drag a widget into a sidebar, it will open to allow you to configure its settings. When you are happy with the widget settings, click the Save button and the widget will go live on your site. If you click Delete, it will remove the widget." -msgstr "La section « Widgets disponibles » contient tous les widgets que vous pouvez utiliser. Une fois le widget glissé dans la barre latérale, il s’ouvrira pour vous permettre d’en modifier les réglages. Quand vous êtes satisfait de vos réglages, cliquez sur le bouton « Enregistrer » et le widget sera lancé sur votre site. Si vous cliquez sur « Supprimer », le widget sera enlevé du site." - -#: wp-admin/edit-form-advanced.php:320 wp-admin/media.php:78 -msgid "Remember to click Update Media to save metadata entered or changed." -msgstr "Pensez bien à cliquer sur le bouton « Mettre à jour le fichier » afin de conserver les métadonnées ajoutées ou modifiées." - -#: wp-admin/edit-form-advanced.php:319 wp-admin/media.php:77 -msgid "Note that you crop the image by clicking on it (the Crop icon is already selected) and dragging the cropping frame to select the desired part. Then click Save to retain the cropping." -msgstr "Pour recadrer une image, cliquez sur l’icône Recadrer puis sélectionnez la zone à conserver en cliquant sur l’image et en faisant glisser le curseur de la souris. Ensuite, cliquez sur Enregistrer pour conserver votre modification." - -#: wp-admin/edit-form-advanced.php:318 wp-admin/media.php:76 -msgid "For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information." -msgstr "Pour les images (et seulement elles), vous pouvez cliquer sur « Modifier l’Image », sous la miniature, afin de faire apparaître un éditeur d’image, vous permettant de recadrer, d’appliquer une rotation ou d’inverser une image, ainsi que de défaire et refaire vos modifications. Les blocs sur la droite vous donnent accès à d’autres options pour le changement d’échelle, le recadrage et même le recadrage de la miniature, qui peut être différent de celui de l’image originale. Cliquez sur le bouton Aide de ces blocs pour obtenir plus d’informations." - -#: wp-admin/media.php:75 -msgid "This screen allows you to edit five fields for metadata in a file within the media library." -msgstr "Cet écran vous permet de modifier les 4 champs des métadonnées des fichiers dans la bibliothèque des médias." - -#: wp-admin/user-new.php:280 -msgid "E-mail or Username" -msgstr "E-mail ou identifiant" - -#: wp-admin/admin-header.php:34 -msgid "%1$s ‹ %2$s — WordPress" -msgstr "%1$s ‹ %2$s — WordPress" - -#: wp-admin/themes.php:106 -msgid "Search Installed Themes" -msgstr "Chercher parmi les thèmes installés" - -#: wp-admin/includes/class-wp-upgrader-skins.php:527 -msgid "Enable this theme for all sites in this network" -msgstr "Activer ce thème sur tous les sites de ce réseau" - -#: wp-admin/update-core.php:300 -msgid "Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications." -msgstr "Notez bien : toutes les personnalisations que vous pourriez avoir apportées aux fichiers des thèmes seront perdues. Pensez à utiliser des thèmes enfants pour vos modifications." - -#: wp-admin/includes/class-wp-posts-list-table.php:189 -msgctxt "posts" -msgid "Sticky (%s)" -msgid_plural "Sticky (%s)" -msgstr[0] "Mis en avant (%s)" -msgstr[1] "Mis en avant (%s)" - -#: wp-admin/update-core.php:508 -msgid "Please select one or more plugins to update." -msgstr "Veuillez sélectionner une ou plusieurs extensions à mettre à jour." - -#: wp-admin/update-core.php:506 -msgid "Please select one or more themes to update." -msgstr "Veuillez sélectionner un ou plusieurs thèmes à mettre à jour." - -#. translators: %1 date, %2 time. -#: wp-admin/update-core.php:514 -msgid "Last checked on %1$s at %2$s." -msgstr "Dernière vérification le %1$s à %2$s." - -#: wp-admin/update-core.php:515 -msgid "Check Again" -msgstr "Vérifier à nouveau" - -#: wp-admin/includes/class-wp-upgrader-skins.php:205 -msgid "The update process is starting. This process may take a while on some hosts, so please be patient." -msgstr "Le processus de mise à jour se lance. Il peut prendre un certain temps chez certains hébergeurs, merci pour votre patience." - -#: wp-admin/options-general.php:288 -msgid "Documentation on date and time formatting." -msgstr "Documentation sur le format des dates." - -#: wp-admin/includes/user.php:437 -msgid "You’re using the auto-generated password for your account. Would you like to change it to something easier to remember?" -msgstr "Votre compte utilise toujours le mot de passe généré automatiquement. Souhaitez-vous le changer pour un mot de passe plus facile à mémoriser ?" - -#: wp-admin/theme-install.php:151 -msgid "Apply Filters" -msgstr "Appliquer les filtres" - -#: wp-admin/includes/theme.php:223 -msgid "RTL Language Support" -msgstr "Support des langues RTL" - -#: wp-admin/includes/theme.php:210 -msgid "BuddyPress" -msgstr "BuddyPress" - -#: wp-admin/includes/theme.php:215 -msgid "Editor Style" -msgstr "Éditeur de style" - -#: wp-admin/includes/theme.php:219 -msgid "Front Page Posting" -msgstr "Page d’accueil personnalisée" - -#: wp-admin/includes/theme.php:227 -msgid "Translation Ready" -msgstr "Prêt à être traduit" - -#: wp-admin/comment.php:71 -msgid "You are not allowed to edit this comment." -msgstr "Vous n’avez pas l’autorisation de modifier ce commentaire." - -#: wp-admin/includes/file.php:1076 -msgid "To perform the requested action, WordPress needs to access your web server." -msgstr "Pour lancer la requête demandée, WordPress a besoin d’accéder à votre serveur web." - -#: wp-admin/includes/class-wp-list-table.php:669 -msgid "Current page" -msgstr "Page actuelle" - -#: wp-admin/includes/class-wp-list-table.php:659 -msgid "Go to the previous page" -msgstr "Aller à la page précédente" - -#: wp-admin/includes/class-wp-list-table.php:679 -msgid "Go to the next page" -msgstr "Aller à la page suivante" - -#: wp-admin/includes/class-wp-list-table.php:686 -msgid "Go to the last page" -msgstr "Aller à la dernière page" - -#: wp-admin/includes/ajax-actions.php:379 -#: wp-admin/includes/class-wp-list-table.php:633 -#: wp-admin/includes/class-wp-list-table.php:1052 -msgid "1 item" -msgid_plural "%s items" -msgstr[0] "1 élément" -msgstr[1] "%s éléments" - -#: wp-admin/includes/class-wp-users-list-table.php:123 -msgid "No matching users were found." -msgstr "Aucun utilisateur ne correspond." - -#: wp-admin/includes/class-wp-theme-install-list-table.php:137 -msgid "No themes match your request." -msgstr "Aucun thème ne correspond à votre requête." - -#: wp-admin/includes/class-wp-list-table.php:652 -msgid "Go to the first page" -msgstr "Aller à la première page" - -#: wp-admin/includes/dashboard.php:390 -msgid "Search Sites" -msgstr "Chercher un site" - -#: wp-admin/includes/dashboard.php:344 -msgid "Create a New User" -msgstr "Créer un nouvel utilisateur" - -#: wp-admin/includes/dashboard.php:352 -msgid "You have %1$s and %2$s." -msgstr "Vous avez %1$s et %2$s." - -#: wp-admin/includes/dashboard.php:350 -msgid "%s site" -msgid_plural "%s sites" -msgstr[0] "%s site" -msgstr[1] "%s sites" - -#: wp-admin/includes/dashboard.php:349 -msgid "%s user" -msgid_plural "%s users" -msgstr[0] "%s utilisateur" -msgstr[1] "%s utilisateurs" - -#: wp-admin/update-core.php:166 -msgid "Important: before updating, please back up your database and files. For help with updates, visit the Updating WordPress Codex page." -msgstr "Important : avant de faire une mise à jour, veillez à faire une sauvegarde de votre base de données et de vos fichiers. Pour obtenir de l’aide sur les mises à jour, lisez la page Mettre à jour WordPress." - -#: wp-admin/includes/dashboard.php:937 -msgid "http://wordpress.org/news/" -msgstr "http://www.wordpress-fr.net/" - -#: wp-admin/includes/dashboard.php:946 -msgid "http://wordpress.org/news/feed/" -msgstr "http://feeds.feedburner.com/WordpressFrancophone" - -#: wp-admin/options-discussion.php:66 -msgid "(Signup has been disabled. Only members of this site can comment.)" -msgstr " (L’inscription a été désactivée. Seuls les membres de ce site peuvent laisser un commentaire.)" - -#: wp-admin/update-core.php:67 -msgid "You can update to WordPress %2$s automatically or download the package and install it manually:" -msgstr "Vous pouvez faire la mise à jour vers WordPress %2$s automatiquement ou télécharger l’archive complète et l’installer vous-même :" - -#: wp-admin/user-new.php:158 -msgid "New users will receive an email letting them know they’ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don’t want the password to be included in the welcome email." -msgstr "Les nouveaux utilisateurs reçoivent un message les informant qu’ils ont été ajoutés aux utilisateurs de ce site. Par défaut, ce message contient également leur mot de passe. Décochez la case si vous ne voulez pas que le mot de passe y soit inclus." - -#: wp-admin/includes/theme.php:151 wp-admin/includes/update.php:282 -#: wp-admin/includes/update.php:371 -msgid "There is a new version of %1$s available. View version %4$s details." -msgstr "Il y a une nouvelle version de %1$s disponible. Afficher les détails de la version %4$s." - -#: wp-admin/includes/class-wp-upgrader-skins.php:372 -msgid "Go to themes page" -msgstr "Aller à la page des thèmes" - -#: wp-admin/includes/class-wp-upgrader-skins.php:166 -#: wp-admin/includes/class-wp-upgrader-skins.php:327 -msgid "Go to plugins page" -msgstr "Aller sur la page des extensions" - -#: wp-admin/includes/class-wp-upgrader-skins.php:328 -#: wp-admin/includes/class-wp-upgrader-skins.php:373 -#: wp-admin/includes/class-wp-upgrader-skins.php:672 -msgid "Go to WordPress Updates page" -msgstr "Aller à la page des mises à jour de WordPress" - -#. translators: %s: title of menu item in draft status -#: wp-admin/includes/nav-menu.php:89 -msgid "%s (Pending)" -msgstr "%s (en attente)" - -#: wp-admin/includes/nav-menu.php:1193 -msgid "Click Save Menu to make pending menu items public." -msgstr "Cliquez sur « Enregistrer le menu » pour rendre publics les éléments en attente." - -#: wp-admin/includes/dashboard.php:1132 -msgid "Storage Space" -msgstr "Espace disque" - -#: wp-admin/includes/dashboard.php:342 wp-admin/includes/ms.php:675 -msgid "Create a New Site" -msgstr "Créer un nouveau site" - -#: wp-admin/plugins.php:340 -msgctxt "plugins per page (screen options)" -msgid "Plugins" -msgstr "Extensions" - -#: wp-admin/upload.php:194 -msgctxt "items per page (screen options)" -msgid "Media items" -msgstr "Fichiers média" - -#: wp-admin/edit-comments.php:112 -msgctxt "comments per page (screen options)" -msgid "Comments" -msgstr "Commentaires" - -#: wp-admin/custom-header.php:573 -msgid "Images of exactly %1$d × %2$d pixels will be used as-is." -msgstr "Les images ayant pour taille exacte %1$d pixels par %2$d seront utilisées telles quelles." - -#: wp-admin/theme-install.php:103 -msgid "Documentation on Adding New Themes" -msgstr "Documentation sur l’ajout de thèmes (en)" - -#: wp-admin/custom-header.php:833 -msgid "Crop and Publish" -msgstr "Recadrer et publier" - -#: wp-admin/plugins.php:347 -msgid "You can find additional plugins for your site by using the Plugin Browser/Installer functionality or by browsing the WordPress Plugin Directory directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your /wp-content/plugins directory. Once a plugin has been installed, you can activate it here." -msgstr "Vous pouvez trouver d’autres extensions pour votre site au moyen de la fonctionnalité de découverte/installation d’extensions, ou en vous rendant sur le répertoire des extensions WordPress et en les installant manuellement. Pour installer une extension manuellement, il vous suffit généralement de mettre ses fichiers en ligne dans le dossier /wp-content/plugins. Ceci fait, vous pourrez activer cette extension depuis la présente page." - -#: wp-admin/edit-link-form.php:60 -msgid "XFN stands for XHTML Friends Network, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking." -msgstr "XFN signifie XHTML Friends Network, c’est-à-dire Réseau XHTML d’Amis. Son usage est facultatif. WordPress permet de générer les attributs XFN de vos liens, afin d’indiquer la manière dont vous êtes lié à l’auteur ou le propriétaire de la page liée." - -#: wp-admin/plugins.php:359 -msgid "Documentation on Managing Plugins" -msgstr "Documentation sur la gestion des extensions (en)" - -#: wp-admin/theme-editor.php:42 -msgid "Documentation on Template Tags" -msgstr "Documentation sur les marqueurs des modèles (en)" - -#: wp-admin/theme-editor.php:41 -msgid "Documentation on Editing Files" -msgstr "Documentation sur l’édition des fichiers" - -#: wp-admin/theme-editor.php:40 wp-admin/themes.php:85 -msgid "Documentation on Using Themes" -msgstr "Documentation sur l’utilisation des thèmes (en)" - -#: wp-admin/theme-editor.php:39 -msgid "Documentation on Theme Development" -msgstr "Documentation sur le développement de thème (en)" - -#: wp-admin/includes/file.php:1086 -msgid "FTP Password" -msgstr "Mot de passe FTP" - -#: wp-admin/includes/file.php:1085 -msgid "FTP Username" -msgstr "Identifiant FTP" - -#: wp-admin/includes/file.php:1082 -msgid "FTP/SSH Password" -msgstr "Mot de passe FTP/SSH" - -#: wp-admin/includes/file.php:1081 -msgid "FTP/SSH Username" -msgstr "Identifiant FTP/SSH" - -#: wp-admin/options-reading.php:57 -msgid "You can choose what’s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two Pages. One will become the front page, and the other will be where your posts are displayed." -msgstr "Vous pouvez choisir ce qui est affiché en page d’accueil de votre site. Au choix, le mode « blog » classique (les articles dans l’ordre chronologique inverse) ou une page statique. Pour mettre en place une page statique, vous devez d’abord créer deux pages : la première servira de page d’accueil, la seconde affichera vos articles." - -#: wp-admin/options-permalink.php:38 -msgid "The Optional fields let you customize the “category” and “tag” base names that will appear in archive URLs. For example, the page listing all posts in the “Uncategorized” category could be /topics/uncategorized instead of /category/uncategorized." -msgstr "Les champs facultatifs, en bas de page, vous permettent de personnaliser les dénominations utilisées pour les chemins /category/ et /tags/ lors de l’affichage des archives. Par exemple, la page listant tous les articles de la catégorie « Non classé » pourrait se lire comme /sujet/non-classe/ plutôt que /category/non-classe/." - -#: wp-admin/themes.php:247 -msgid "The following themes are installed but incomplete. Themes must have a stylesheet and a template." -msgstr "Les thèmes suivants sont installés, mais incomplets. Les thèmes doivent avoir au moins une feuille de style et un modèle." - -#: wp-admin/options-permalink.php:31 -msgid "When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes %category% or %tag%." -msgstr "Quand vous assignez un article à plusieurs catégories, une seule apparaîtra dans le permalien : la catégorie avec l’identifiant numérique le plus bas. Idem pour les mots-clés. Cela s’applique si votre structure comprend %category% ou %tag%." - -#: wp-admin/options-permalink.php:30 -msgid "If you pick an option other than Default, your general URL path with structure tags, terms surrounded by %, will also appear in the custom structure field and your path can be further modified there." -msgstr "Si vous choisissez une option autre que « Valeur par défaut », la structure de vos permaliens, avec les marqueurs utilisés (encadrés par %), apparaîtra dans le champ de « Structure personnalisée », d’où vous pourrez la modifier au plus proche de vos besoins." - -#: wp-admin/widgets.php:67 -msgid "Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area." -msgstr "De nombreux thèmes affichent par défaut quelques widgets dans la barre latérale, jusqu’à ce que vous la modifiez vous-mêmes. Ces widgets par défaut ne sont pas automatiquement affichés dans le gestionnaire de barre latérale. Après avoir fait vos propres modifications de widgets, vous pouvez rajouter les widgets par défaut depuis la section « Widgets Disponibles »." - -#: wp-admin/widgets.php:59 -msgid "If you want to remove the widget but save its setting for possible future use, just drag it into the Inactive Widgets area. You can add them back anytime from there. This is especially helpful when you switch to a theme with fewer or different widget areas." -msgstr "Si vous voulez enlever le widget, mais conserver ses réglages pour un possible usage futur, glissez-le simplement dans la zone « Widgets désactivés ». De là, vous pouvez les rajouter n’importe quand. C’est particulièrement utile quand vous passez à un thème avec moins de zones à widgets, ou des zones différentes." - -#: wp-admin/users.php:27 -msgid "To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section." -msgstr "Pour ajouter un nouvel utilisateur à votre site, cliquez sur le bouton « Ajouter » en haut de l’écran, ou l’option « Ajouter » du menu « Utilisateurs »." - -#: wp-admin/options-media.php:18 -msgid "You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size." -msgstr "Vous pouvez indiquer une taille maximale pour les images insérées dans votre contenu textuel. Vous pourrez insérer l’image dans sa taille d’origine." - -#: wp-admin/options-general.php:61 -msgid "Most themes display the site title at the top of every page, in the title bar of the browser, and as the identifying name for syndicated feeds. The tagline is also displayed by many themes." -msgstr "La plupart des thèmes affichent le titre du site en haut de chaque page, dans la barre de titre du navigateur, et en tant qu’identifiant pour les flux de syndication, sauf si votre thème en décide autrement. Le slogan est également utilisé par de nombreux thèmes." - -#: wp-admin/edit-form-advanced.php:372 -msgid "Order - Pages are usually ordered alphabetically, but you can choose your own order by entering a number (1 for first, etc.) in this field." -msgstr "Ordre - Les pages sont généralement classées par ordre alphabétique, mais vous pouvez indiquer un nombre pour modifier l’ordre d’apparition." - -#: wp-admin/includes/file.php:1080 -msgid "Please enter your FTP or SSH credentials to proceed." -msgstr "Veuillez saisir votre identifiant FTP ou SSH pour continuer." - -#: wp-admin/includes/file.php:1084 -msgid "Please enter your FTP credentials to proceed." -msgstr "Veuillez saisir votre identifiant FTP pour continuer." - -#: wp-admin/includes/file.php:1090 -msgid "If you do not remember your credentials, you should contact your web host." -msgstr "Si vous ne vous souvenez pas de votre identifiant, vous devriez contacter votre hébergeur." - -#: wp-admin/theme-install.php:83 -msgid "You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme’s folder via FTP into your /wp-content/themes directory." -msgstr "Si vous disposez d’un thème sous forme d’archive Zip sur votre ordinateur, vous pouvez mettre en ligne ce fichier avec le lien Envoyer. Assurez-vous bien que ce fichier provient d’une source de confiance. Vous pouvez également le faire à l’ancienne, c’est-à-dire passer par un client FTP pour déposer les fichiers dans le dossier /wp-content/themes." - -#: wp-admin/user-edit.php:39 -msgid "Your profile contains information about you (your “account”) as well as some personal options related to using WordPress." -msgstr "Votre profil contient les informations à votre propos (votre « compte »), ainsi que quelques options liées à votre utilisation personnelle de WordPress." - -#: wp-admin/edit-form-advanced.php:297 -msgid "Pages are similar to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the “Parent” of the other, creating a group of Pages." -msgstr "Les pages sont comme des articles, en cela qu’elles ont un titre, un contenu et des métadonnées associées ; mais elles diffèrent en cela qu’elles ne font pas partie du flux chronologique du blog - un peu comme des articles permanents. Les pages ne sont pas catégorisées et ne reçoivent pas de mots-clés, mais peuvent disposer d’une hiérarchie. En effet, vous pouvez imbriquer des pages sous d’autres pages, faisant de ces dernières les « parentes » des premières, créant ainsi un groupement de pages." - -#: wp-admin/edit-form-advanced.php:361 -msgid "Send Trackbacks - Trackbacks are a way to notify legacy blog systems that you’ve linked to them. Enter the URL(s) you want to send trackbacks. If you link to other WordPress sites they’ll be notified automatically using pingbacks, and this field is unnecessary." -msgstr "Envoyer des rétroliens - Un rétrolien est une manière explicite de notifier les anciens systèmes de blog que vous avez fait un lien vers eux. Saisissez les adresses web que vous voulez notifier. Si dans votre article vous faites des liens vers des sites WordPress, ils seront notifiés automatiquement à l’aide de pings, sans devoir passer par un rétrolien explicite." - -#: wp-admin/user-new.php:175 -msgid "Contributors can write and manage their posts but not publish posts or upload media files." -msgstr "Les contributeurs peuvent écrire et gérer leurs articles, mais ils ne peuvent pas publier les articles ou envoyer des fichiers média ;" - -#: wp-admin/user-new.php:178 -msgid "Administrators have access to all the administration features." -msgstr "Les administrateurs peuvent accéder à toutes les fonctionnalités de l’administration ;" - -#: wp-admin/plugin-editor.php:130 -msgid "You can use the editor to make changes to any of your plugins’ individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations." -msgstr "Vous pouvez utiliser l’éditeur pour modifier n’importe quel fichier de vos extensions. Soyez cependant conscient que si vous modifiez les fichiers, les mises à jour les annuleront..." - -#: wp-admin/link-manager.php:47 -msgid "You can add links here to be displayed on your site, usually using Widgets. By default, links to several sites in the WordPress community are included as examples." -msgstr "Vous pouvez ici ajouter les liens que vous voulez voir affichés sur votre site, généralement par le biais de widgets. Des liens vers de nombreux sites de la communauté WordPress sont inclus par défaut." - -#: wp-admin/link-manager.php:55 -msgid "If you delete a link, it will be removed permanently, as Links do not have a Trash function yet." -msgstr "Si vous supprimez un lien, il sera supprimé définitivement, car les liens n’ont pas accès à la Corbeille pour le moment." - -#: wp-admin/custom-background.php:145 -msgid "Don’t forget to click on the Save Changes button when you are finished." -msgstr "N’oubliez pas de cliquer sur « Enregistrer les modifications » quand vous avez terminé." - -#: wp-admin/custom-background.php:142 -msgid "You can customize the look of your site without touching any of your theme’s code by using a custom background. Your background can be an image or a color." -msgstr "Vous pouvez personnaliser l’apparence de votre site sans jamais toucher au code de votre thème, en utilisant un fond personnalisé. Votre fond peut être une image ou juste une couleur." - -#: wp-admin/edit-tags.php:212 -msgid "Slug - The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens." -msgstr "Identifiant - L’identifiant est la version normalisée du nom. Il ne contient généralement que des lettres minuscules non accentuées, des chiffres et des traits d’union ;" - -#: wp-admin/edit-form-advanced.php:291 -msgid "You can also create posts with the Press This bookmarklet." -msgstr "Vous pouvez également créer des articles avec le bookmarklet Publier un article." - -#: wp-admin/user-edit.php:41 -msgid "Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts." -msgstr "Votre identifiant ne peut être modifié, mais vous pouvez utiliser les autres champs pour saisir votre nom complet ou un pseudonyme, et changer ensuite le nom à afficher dans vos articles." - -#: wp-admin/user-edit.php:42 -msgid "Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so." -msgstr "Les champs obligatoires sont indiqués, les autres sont facultatifs. Les informations du profil ne sont affichées que si votre thème a été conçu pour les exploiter." - -#: wp-admin/user-edit.php:43 -msgid "Remember to click the Update Profile button when you are finished." -msgstr "Pensez bien à cliquer sur le bouton « Mettre à jour le profil » quand vous aurez terminé." - -#: wp-admin/user-new.php:177 -msgid "Editors can publish posts, manage posts as well as manage other people’s posts, etc." -msgstr "Les éditeurs peuvent publier et gérer leurs propres articles, ainsi que ceux des autres membres ;" - -#: wp-admin/comment.php:53 -msgid "You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment." -msgstr "Vous pouvez également modérer le commentaire depuis cet écran, à l’aide du bloc État, d’où vous pouvez également changer l’horodatage du commentaire." - -#: wp-admin/comment.php:52 -msgid "You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error." -msgstr "Au besoin, vous pouvez modifier les informations laissées dans un commentaire. Par exemple, si un commentateur a fait une faute d’orthographe." - -#: wp-admin/nav-menus.php:713 -msgid "Enter menu name here" -msgstr "Saisissez ici le nom du menu" - -#: wp-admin/options-general.php:68 -msgid "UTC means Coordinated Universal Time." -msgstr "UTC signifie « Temps universel coordonné »." - -#: wp-admin/options-general.php:60 -msgid "The fields on this screen determine some of the basics of your site setup." -msgstr "Les champs de cet écran déterminent certains des réglages de base de votre site." - -#: wp-admin/options-reading.php:56 -msgid "This screen contains the settings that affect the display of your content." -msgstr "Cet écran présente les réglages qui influent sur l’affichage de votre contenu." - -#: wp-admin/options-discussion.php:21 wp-admin/options-general.php:69 -#: wp-admin/options-media.php:24 wp-admin/options-permalink.php:23 -#: wp-admin/options-permalink.php:32 wp-admin/options-permalink.php:39 -#: wp-admin/options-reading.php:59 wp-admin/options-writing.php:22 -msgid "You must click the Save Changes button at the bottom of the screen for new settings to take effect." -msgstr "Vous devez cliquer sur « Enregistrer les modifications » en bas de l’écran pour que les nouveaux réglages prennent effet." - -#: wp-admin/options-general.php:64 -msgid "The WordPress URL and the Site URL can be the same (example.com) or different; for example, having the WordPress core files (example.com/wordpress) in a subdirectory instead of the root directory." -msgstr "L’adresse web de WordPress et celle du site peuvent être identiques (exemple.fr) ou différentes. Ainsi, vous pourriez avoir les fichiers de WordPress dans un sous-dossier (exemple.fr/wordpress) plutôt qu’à la racine du site." - -#: wp-admin/edit-link-form.php:59 -msgid "The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box." -msgstr "Les blocs pour le nom, l’adresse web et la description sont fixes, tandis que les autres peuvent être repositionnés par glisser/déposer. Vous pouvez également cacher les blocs que vous n’utilisez pas via l’onglet « Options de l’écran », et fermer les blocs en cliquant sur leur barre de titre." - -#: wp-admin/update-core.php:193 -msgid "While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal." -msgstr "Durant le processus de mise à jour, votre site sera en mode de maintenance. Dès que le processus sera achevé, votre site sera à nouveau accessible." - -#: wp-admin/update-core.php:210 -msgid "Your plugins are all up to date." -msgstr "Vos extensions sont toutes à jour." - -#: wp-admin/update-core.php:148 -msgid "You have the latest version of WordPress." -msgstr "Vous avez la dernière version de WordPress." - -#: wp-admin/update-core.php:291 -msgid "Your themes are all up to date." -msgstr "Vos thèmes sont tous à jour." - -#: wp-admin/update-core.php:170 -msgid "An updated version of WordPress is available." -msgstr "Une nouvelle version de WordPress est disponible." - -#: wp-admin/includes/nav-menu.php:200 -msgid "Original: %s" -msgstr "Original : %s" - -#: wp-admin/plugin-editor.php:156 wp-admin/theme-editor.php:114 -msgid "Function Name…" -msgstr "Nom de fonction…" - -#: wp-admin/import.php:94 -msgid "Activate importer" -msgstr "Activer l’importateur" - -#: wp-admin/edit-link-form.php:58 -msgid "You can add or edit links on this screen by entering information in each of the boxes. Only the link’s web address and name (the text you want to display on your site as the link) are required fields." -msgstr "Vous pouvez ajouter ou modifier des liens sur cet écran, en saisissant dans chacun des blocs. Seuls sont obligatoires les champs « Adresse web » et « Nom » (le texte que vous voulez voir affiché sur votre site pour cette adresse)." - -#: wp-admin/includes/class-wp-upgrader-skins.php:438 -msgid "Return to Importers" -msgstr "Retour aux importateurs" - -#: wp-admin/includes/class-wp-upgrader-skins.php:428 -msgid "Activate Plugin & Run Importer" -msgstr "Activer l’extension & lancer l’importateur" - -#: wp-admin/edit-tags.php:340 -msgid "Categories can be selectively converted to tags using the category to tag converter." -msgstr "Les catégories peuvent être converties de manière sélective en mots-clés via le convertisseur catégories vers mots-clés." - -#: wp-admin/includes/nav-menu.php:313 -msgctxt "nav menu front page title" -msgid "Home: %s" -msgstr "Accueil : %s" - -#: wp-admin/import.php:57 wp-admin/users.php:220 -msgid "ERROR:" -msgstr "ERREUR :" - -#: wp-admin/import.php:57 -msgid "The %s importer is invalid or is not installed." -msgstr "L’importateur %s est invalide ou n’est pas installé." - -#: wp-admin/edit-form-advanced.php:193 wp-admin/edit-form-advanced.php:376 -msgid "Page Attributes" -msgstr "Attributs de la page" - -#: wp-admin/includes/meta-boxes.php:754 -msgid "Need help? Use the Help tab in the upper right of your screen." -msgstr "Besoin d’aide ? Utilisez l’onglet Aide présent dans le coin supérieur droit de votre écran." - -#: wp-admin/import.php:22 -msgid "This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform." -msgstr "Cet écran liste les liens vers les extensions servant à importer des données en provenance d’autres plates-formes de blogs ou gestionnaires de contenus. Choisissez la plate-forme d’origine, et cliquez sur « Installer maintenant » dans la fenêtre qui s’affiche. Si vous ne trouvez pas votre plate-forme, cliquez sur le lien « Recherche » dans le Dépôt d’Extensions et lancez une recherche - peut-être qu’une autre extension répondra à vos attentes." - -#: wp-admin/export.php:50 -msgid "Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format." -msgstr "Une fois généré, le fichier WXR peut être importé dans une autre installation WordPress, ou une autre plate-forme de blog capable de lire ce format." - -#: wp-admin/link-manager.php:49 -msgid "You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table." -msgstr "Vous pouvez personnaliser l’affichage de cet écran en utilisant les réglages d’affichage et/ou le filtre déroulant présent au-dessous du tableau de liens." - -#: wp-admin/plugin-editor.php:131 -msgid "Choose a plugin to edit from the menu in the upper right and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don’t forget to save your changes (Update File) when you’re finished." -msgstr "Choisissez une extension à modifier dans le menu en haut à droite, et cliquez sur le bouton « Sélectionner »." - -#: wp-admin/plugins.php:353 -msgid "Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin’s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue." -msgstr "La plupart du temps, les extensions fonctionnent comme il le faut, tant avec WordPress qu’entre elles. Mais parfois, les ajouts d’une extension peuvent empiéter sur celles d’une autre, ce qui provoque une incompatibilité. Si votre site réagit bizarrement, le problème vient peut-être de là. Essayez de désactiver toutes les extensions, puis de les réactiver une à une pour trouver celle(s) en cause." - -#: wp-admin/widgets.php:60 -msgid "Widgets may be used multiple times. You can give each widget a title, to display on your site, but it’s not required." -msgstr "Les widgets peuvent être utilisés à plusieurs reprises. Vous pouvez donner un titre pour chaque widget, afin de l’afficher sur votre site, mais ce n’est pas obligatoire." - -#: wp-admin/widgets.php:61 -msgid "Enabling Accessibility Mode, via Screen Options, allows you to use Add and Edit buttons instead of using drag and drop." -msgstr "En activant le mode « Accessibilité », via les options d’écrans, vous autorisez l’utilisation des boutons « Ajouter » et « Modifier » à la place du glisser/déposer." - -#: wp-admin/theme-editor.php:27 -msgid "You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme." -msgstr "Vous pouvez utiliser l’éditeur de thème pour modifier les fichiers CSS et PHP qui composent votre thème." - -#: wp-admin/theme-editor.php:28 -msgid "Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of all the template files. Clicking once on any file name causes the file to appear in the large Editor box." -msgstr "Commencez par choisir un thème à modifier via le menu déroulant, et cliquez sur « Sélectionner ». Une liste apparaîtra ensuite avec tous les fichiers modèles. En cliquant sur n’importe quel de ces fichiers, vous verrez son contenu apparaître dans l’éditeur." - -#: wp-admin/widgets.php:52 -msgid "Widgets are independent sections of content that can be placed into any widgetized area provided by your theme (commonly called sidebars). To populate your sidebars/widget areas with individual widgets, drag and drop the title bars into the desired area. By default, only the first widget area is expanded. To populate additional widget areas, click on their title bars to expand them." -msgstr "Les widgets sont des conteneurs de contenu indépendants, qui peuvent être placés dans n’importe quelle zone à widgets de votre thème (le plus souvent, la barre latérale). Pour remplir les zones à widgets de votre barre latérale, glissez/déposez les barres de titre dans la zone désirée. Par défaut, seule la première zone de widgets sera ouverte. Pour remplir les autres zones à widgets, cliquez sur leur barre de titre afin de les ouvrir." - -#: wp-admin/theme-editor.php:32 -msgid "Advice: think very carefully about your site crashing if you are live-editing the theme currently in use." -msgstr "Conseil : gardez bien en tête que si vous modifiez le thème actuellement utilisé, vos visiteurs pourraient avoir une vision déroutante de votre site..." - -#: wp-admin/theme-editor.php:31 -msgid "After typing in your edits, click Update File." -msgstr "Après avoir fait vos modifications, cliquez sur « Mettre à jour le fichier »." - -#: wp-admin/includes/meta-boxes.php:717 -msgid "(no parent)" -msgstr "(pas de parent)" - -#: wp-admin/edit-form-advanced.php:371 -msgid "Template - Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them in this dropdown menu." -msgstr "Modèle - Certains thèmes utilisent des modèles spéciaux que vous pouvez appliquer à certaines pages, avec des fonctionnalités supplémentaires ou une mise en page qui leur est propre. Si c’est le cas, vous les verrez dans ce menu déroulant." - -#: wp-admin/edit-form-advanced.php:370 -msgid "Parent - You can arrange your pages in hierarchies. For example, you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how many levels you can nest pages." -msgstr "Parent - Vous pouvez arranger vos pages en hiérarchies. Par exemple, vous pourriez avoir une page « À propos », avec comme sous-pages « Ma vie » et « Mon œuvre ». Il n’y a pas de limite à la profondeur des sous-pages." - -#: wp-admin/includes/class-wp-upgrader-skins.php:209 -msgid "All updates have been completed." -msgstr "Toutes les mises à jour sont terminées." - -#: wp-admin/edit-tags.php:206 -msgid "When adding a new tag on this screen, you’ll fill in the following fields:" -msgstr "Quand vous ajoutez un nouveau mot-clé via cet écran, vous devez remplir les champs suivants :" - -#: wp-admin/edit-tags.php:185 -msgid "You can use categories to define sections of your site and group related posts. The default category is “Uncategorized” until you change it in your writing settings." -msgstr "Vous pouvez utiliser les catégories pour donner des sections à votre site, et grouper les articles connexes. La catégorie par défaut est « Non classé » ; vous pouvez la modifier dans vos options d’écriture." - -#: wp-admin/edit-tags.php:194 -msgid "What’s the difference between categories and tags? Normally, tags are ad-hoc keywords that identify important information in your post (names, subjects, etc) that may or may not recur in other posts, while categories are pre-determined sections. If you think of your site like a book, the categories are like the Table of Contents and the tags are like the terms in the index." -msgstr "Quelle est la différence entre les catégories et les mots-clés ? Normalement, les mots-clés identifient les informations importantes dans votre article (noms, sujets, etc.) qui seraient susceptibles de revenir dans d’autres articles, ou pas. De leur côté, les catégories ont des sections prédéterminées. Si vous voyez votre site comme un livre, alors les catégories sont la table des matières, et les mots-clés forment l’index." - -#: wp-admin/edit-tags.php:219 -msgid "You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table." -msgstr "Vous pouvez modifier l’affichage de cet écran via l’onglet « Options de l’écran », afin de définir le nombre d’éléments à afficher par écran, et afficher/cacher les colonnes du tableau." - -#: wp-admin/edit-tags.php:217 -msgid "Description - The description is not prominent by default; however, some themes may display it." -msgstr "Description - La description n’est pas très utilisée par défaut, cependant de plus en plus de thèmes l’affichent." - -#: wp-admin/edit-tags.php:209 -msgid "Name - The name is how it appears on your site." -msgstr "Nom - Ce nom est utilisé un peu partout sur votre site ;" - -#: wp-admin/edit-tags.php:204 -msgid "When adding a new category on this screen, you’ll fill in the following fields:" -msgstr "Quand vous ajoutez une nouvelle catégorie via cet écran, vous devez remplir les champs suivants :" - -#: wp-admin/upload.php:201 -msgid "You can narrow the list by file type/status using the text link filters at the top of the screen. You also can refine the list by date using the dropdown menu above the media table." -msgstr "Vous pouvez limiter cette liste par type de fichier ou par état à l’aide des filtres en haut de l’écran. Vous pouvez également affiner la liste par défaut à l’aide du menu déroulant au dessus du tableau." - -#: wp-admin/custom-header.php:633 -msgid "Default Images" -msgstr "Images par défaut" - -#: wp-admin/custom-header.php:811 -msgid "Crop Header Image" -msgstr "Recadrer l’image d’en-tête" - -#: wp-admin/custom-header.php:650 -msgid "This will remove the header image. You will not be able to restore any customizations." -msgstr "Ceci retirera l’image d’en-tête. Il ne vous sera pas possible de rétablir vos personnalisations." - -#: wp-admin/custom-header.php:651 -msgid "Remove Header Image" -msgstr "Retirer l’image d’en-tête" - -#: wp-admin/custom-header.php:659 -msgid "Reset Image" -msgstr "Remettre l’image d’origine" - -#: wp-admin/custom-header.php:661 -msgid "This will restore the original header image. You will not be able to restore any customizations." -msgstr "Ceci remettra en place l’image d’en-tête d’origine. Il ne vous sera pas possible de récupérer vos personnalisations." - -#: wp-admin/custom-header.php:662 -msgid "Restore Original Header Image" -msgstr "Rétablir l’image d’en-tête d’origine" - -#: wp-admin/custom-header.php:685 -msgid "Text Color" -msgstr "Couleur du texte" - -#: wp-admin/custom-header.php:861 -msgid "Image Upload Error" -msgstr "Erreur lors de l’envoi de l’image" - -#: wp-admin/custom-header.php:815 -msgid "You need Javascript to choose a part of the image." -msgstr "Vous avez besoin de la fonctionnalité JavaScript de votre navigateur internet pour choisir une partie de l’image." - -#: wp-admin/includes/class-wp-posts-list-table.php:660 -msgid "Edit this item" -msgstr "Modifier cet élément" - -#: wp-admin/includes/class-wp-posts-list-table.php:661 -msgid "Edit this item inline" -msgstr "Modifier cet élément sur place" - -#: wp-admin/includes/class-wp-posts-list-table.php:665 -msgid "Restore this item from the Trash" -msgstr "Récupérer ce élément depuis la Corbeille" - -#: wp-admin/includes/class-wp-posts-list-table.php:667 -msgid "Move this item to the Trash" -msgstr "Déplacer cet élément dans la Corbeille" - -#: wp-admin/includes/class-wp-posts-list-table.php:669 -msgid "Delete this item permanently" -msgstr "Supprimer cet élément définitivement" - -#: wp-admin/includes/meta-boxes.php:591 -msgid "Allow comments." -msgstr "Autoriser les commentaires." - -#: wp-admin/includes/import.php:171 -msgid "Install the LiveJournal importer to import posts from LiveJournal using their API." -msgstr "Installer l’importateur LiveJournal, pour importer les articles depuis un blog LiveJournal en utilisant leur API." - -#: wp-admin/includes/class-wp-upgrader-skins.php:328 -#: wp-admin/includes/class-wp-upgrader-skins.php:373 -#: wp-admin/includes/class-wp-upgrader-skins.php:672 -msgid "Return to WordPress Updates" -msgstr "Retourner aux mises à jour de WordPress" - -#: wp-admin/edit-form-advanced.php:343 -msgid "Publish - You can set the terms of publishing your post in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a post or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a post to be published in the future or backdate a post." -msgstr "Publier - Vous pouvez définir la manière dont votre article est publié dans le bloc « Publier ». Pour « État », « Visibilité », « Format » et « Publier (immédiatement) », un clic sur le lien « Modifier » affichera plus d’options. « Visibilité » inclut des options pour protéger l’article avec un mot de passe ou faire en sorte qu’il reste en tête de page indéfiniment. « Publier (immédiatement) » vous permet de programmer la publication de votre article à une date précise, dans le futur ou le passé ; cela vous permet d’écrire à l’avance des articles à publier, ou de les antidater." - -#: wp-admin/edit-form-advanced.php:350 -msgid "Featured Image - This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the featured image as a post thumbnail on the home page, a custom header, etc." -msgstr "Image à la Une - Vous pouvez associer une image à votre article, sans pour autant l’y insérer. Cela ne sert vraiment que si votre thème fait usage de cette fonctionnalité, sous la forme d’une miniature pour la page d’accueil, d’un en-tête personnalisé..." - -#: wp-admin/edit-form-advanced.php:280 -msgid "Title - Enter a title for your post. After you enter a title, you’ll see the permalink below, which you can edit." -msgstr "Titre - Saisissez un titre pour votre article. Après avoir saisi le titre, un permalien s’affichera en dessous, que vous pourrez modifier à loisir." - -#: wp-admin/edit-form-advanced.php:362 -msgid "Discussion - You can turn comments and pings on or off, and if there are comments on the post, you can see them here and moderate them." -msgstr "Discussion - Vous pouvez activer ou désactiver les commentaires et pings, et si votre article reçoit des commentaires, vous pourrez les voir ici et les modérer." - -#: wp-admin/edit.php:180 -msgid "You can refine the list to show only posts in a specific category or from a specific month by using the dropdown menus above the posts list. Click the Filter button after making your selection. You also can refine the list by clicking on the post author, category or tag in the posts list." -msgstr "Vous pouvez affiner la liste pour qu’elle n’affiche que les articles d’une catégorie spécifique ou d’un mois donné, à l’aide du menu déroulant situé au-dessus de la liste. Cliquez sur le bouton « Filtrer » après avoir fait votre choix. Vous pouvez également affiner la liste en cliquant sur l’auteur d’un article, sa catégorie ou un mot-clé." - -#: wp-admin/edit.php:179 -msgid "You can view posts in a simple title list or with an excerpt. Choose the view you prefer by clicking on the icons at the top of the list on the right." -msgstr "Vous pouvez afficher une simple liste de titres, ou une liste avec des extraits. Choisissez l’affichage que vous préférez en cliquant sur les icônes en haut à droite de la liste ;" - -#: wp-admin/edit.php:177 -msgid "You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen Options tab." -msgstr "Vous pouvez cacher/afficher les colonnes en fonction de vos besoins, et décider du nombre d’articles à afficher par écran à l’aide de l’onglet « Options de l’écran » ;" - -#: wp-admin/edit.php:178 -msgid "You can filter the list of posts by post status using the text links in the upper left to show All, Published, Draft, or Trashed posts. The default view is to show all posts." -msgstr "Vous pouvez filtrer la liste des articles par état, à l’aide des liens textuels en haut à gauche, afin d’afficher tous les articles, ou seulement les articles publiés, les brouillons, etc. Par défaut, tous les articles sont affichés ;" - -#: wp-admin/users.php:33 -msgid "You can customize the display of this screen in a number of ways:" -msgstr "Vous pouvez personnaliser l’affichage de cet écran de plusieurs manières :" - -#: wp-admin/edit.php:187 -msgid "Hovering over a row in the posts list will display action links that allow you to manage your post. You can perform the following actions:" -msgstr "Passer la souris au-dessus d’une ligne de la liste d’articles, fera s’afficher des liens vous permettant de gérer l’article. Vous pouvez lancer les actions suivantes :" - -#: wp-admin/plugins.php:441 -msgid "Search Installed Plugins" -msgstr "Chercher parmi les extensions installées" - -#: wp-admin/nav-menus.php:19 -msgid "Your theme does not support navigation menus or widgets." -msgstr "Le thème actuel n’accepte pas les menus de navigation ni les widgets." - -#: wp-admin/async-upload.php:91 -msgid "“%s” has failed to upload due to an error" -msgstr "« %s » n’a pas pu être mis en ligne suite à une erreur" - -#: wp-admin/includes/import.php:164 wp-admin/tools.php:21 wp-admin/tools.php:59 -msgid "Categories and Tags Converter" -msgstr "Convertisseur de catégories et mots-clés" - -#: wp-admin/includes/import.php:165 -msgid "Install the category/tag converter to convert existing categories to tags or tags to categories, selectively." -msgstr "Installer le convertisseur catégorie/mot-clé, pour convertir les catégories en mots-clés, ou vice-versa." - -#: wp-admin/user-edit.php:409 -msgid "There is a pending change of your e-mail to %1$s. Cancel" -msgstr "Il y a une modification de votre adresse de contact en cours, en faveur de %1$s. Annuler" - -#: wp-admin/includes/nav-menu.php:693 -msgid "Most Recent" -msgstr "Les plus récentes" - -#: wp-admin/export.php:179 wp-admin/export.php:211 -msgid "End Date" -msgstr "Date de fin" - -#: wp-admin/export.php:175 wp-admin/export.php:207 -msgid "Start Date" -msgstr "Date de début" - -#: wp-admin/includes/import.php:201 -msgid "Install the WordPress importer to import posts, pages, comments, custom fields, categories, and tags from a WordPress export file." -msgstr "Installer l’importateur WordPress, pour importer les articles, pages, commentaires, champs personnalisés, catégories et mots-clés à partir d’un fichier d’export WordPress." - -#: wp-admin/includes/import.php:189 -msgid "Install the RSS importer to import posts from an RSS feed." -msgstr "Installer l’importateur RSS, pour importer des articles à partir d’un flux RSS." - -#: wp-admin/includes/import.php:183 -msgid "Install the blogroll importer to import links in OPML format." -msgstr "Installer l’importateur de blogoliste, pour importer une liste de liens au format OPML." - -#: wp-admin/includes/import.php:177 -msgid "Install the Movable Type importer to import posts and comments from a Movable Type or TypePad blog." -msgstr "Installer l’importateur Movable Type, pour importer les articles et commentaires en provenance d’un blog Movable Type ou TypePad." - -#: wp-admin/includes/import.php:159 -msgid "Install the Blogger importer to import posts, comments, and users from a Blogger blog." -msgstr "Installer l’importateur Blogger, pour importer les articles, commentaires et utilisateurs d’un blog Blogger." - -#: wp-admin/import.php:101 -msgid "Install importer" -msgstr "Installer l’importateur" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:143 -msgctxt "site" -msgid "Mark as Spam" -msgstr "Marquer comme indésirable" - -#: wp-admin/theme-editor.php:178 -msgctxt "Theme stylesheets in theme editor" -msgid "Styles" -msgstr "Styles" - -#: wp-admin/includes/plugin-install.php:179 -msgctxt "Plugin Installer" -msgid "Tag" -msgstr "Mot-clé" - -#: wp-admin/includes/theme-install.php:67 -msgctxt "Theme Installer" -msgid "Tag" -msgstr "Mot-clé" - -#: wp-admin/includes/media.php:2131 -msgctxt "verb" -msgid "Clear" -msgstr "Effacer" - -#: wp-admin/edit-tag-form.php:116 wp-admin/edit-tags.php:502 -msgctxt "Taxonomy Description" -msgid "Description" -msgstr "Description" - -#: wp-admin/edit-tag-form.php:90 wp-admin/edit-tags.php:455 -msgctxt "Taxonomy Slug" -msgid "Slug" -msgstr "Identifiant" - -#: wp-admin/edit-tag-form.php:84 wp-admin/edit-tags.php:449 -msgctxt "Taxonomy Name" -msgid "Name" -msgstr "Nom" - -#: wp-admin/edit-tag-form.php:106 wp-admin/edit-tags.php:462 -msgctxt "Taxonomy Parent" -msgid "Parent" -msgstr "Parent" - -#: wp-admin/includes/class-wp-comments-list-table.php:223 -msgctxt "comment" -msgid "Mark as Spam" -msgstr "Marquer comme indésirable" - -#: wp-admin/custom-background.php:282 -msgid "Remove Background Image" -msgstr "Supprimer l’image d’arrière-plan" - -#: wp-admin/edit-comments.php:108 wp-admin/edit-comments.php:145 -msgid "Comments on “%s”" -msgstr "Commentaires sur « %s »" - -#: wp-admin/includes/nav-menu.php:1182 -msgid "The Walker class named %s does not exist." -msgstr "La classe Walker nommée %s n’existe pas." - -#: wp-admin/includes/nav-menu.php:1217 -msgid "Show advanced menu properties" -msgstr "Afficher les propriétés avancées du menu" - -#. translators: %s: add new taxonomy label -#: wp-admin/includes/meta-boxes.php:495 wp-admin/press-this.php:557 -msgid "+ %s" -msgstr "+ %s" - -#: wp-admin/update-core.php:276 wp-admin/update-core.php:324 -msgid "You have version %1$s installed. Update to %2$s." -msgstr "Vous utilisez la version %1$s. Mettez à jour vers la version %2$s." - -#: wp-admin/includes/nav-menu.php:312 wp-admin/includes/nav-menu.php:784 -msgctxt "nav menu home label" -msgid "Home" -msgstr "Accueil" - -#: wp-admin/includes/class-wp-ms-themes-list-table.php:252 -#: wp-admin/includes/class-wp-ms-themes-list-table.php:295 -msgid "Enable" -msgstr "Activer" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:266 -msgctxt "%1$s: site name. %2$s: site tagline." -msgid "%1$s – %2$s" -msgstr "%1$s – %2$s" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:164 -msgctxt "site" -msgid "Registered" -msgstr "Inscription" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:144 -#: wp-admin/includes/class-wp-ms-sites-list-table.php:294 -msgctxt "site" -msgid "Not Spam" -msgstr "N’est pas un indésirable" - -#: wp-admin/includes/class-wp-ms-users-list-table.php:120 -msgctxt "user" -msgid "Registered" -msgstr "Inscription" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:291 -msgctxt "verb; site" -msgid "Archive" -msgstr "Archiver" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:197 -#: wp-admin/includes/class-wp-ms-sites-list-table.php:296 -msgctxt "site" -msgid "Spam" -msgstr "Indésirable" - -#: wp-admin/includes/class-wp-comments-list-table.php:228 -#: wp-admin/includes/class-wp-comments-list-table.php:461 -msgctxt "comment" -msgid "Not Spam" -msgstr "N’est pas un indésirable" - -#: wp-admin/custom-background.php:297 -msgid "This will restore the original background image. You will not be able to restore any customizations." -msgstr "Ceci remettra en place l’image d’arrière-plan originale. Il ne vous sera pas possible de récupérer vos personnalisations." - -#: wp-admin/nav-menus.php:716 wp-admin/nav-menus.php:787 -msgid "Create Menu" -msgstr "Créer le menu" - -#: wp-admin/includes/dashboard.php:955 -msgid "WordPress Blog" -msgstr "Blog WordPress" - -#: wp-admin/user-edit.php:329 wp-admin/user-edit.php:331 -msgid "— No role for this site —" -msgstr "— Pas de rôle sur ce site —" - -#: wp-admin/options-writing.php:118 wp-admin/tools.php:43 -msgid "Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your site." -msgstr "Utilisez-le pour récupérer du texte, des images et des vidéos depuis n’importe quelle page Web. Puis modifiez l’article et ajoutez vos propres textes directement dans le bookmarklet, avant d’enregistrer le tout ou de le publier dans un article sur votre site." - -#: wp-admin/users.php:329 -msgid "Remove Users from Site" -msgstr "Supprimer des utilisateurs de ce site" - -#: wp-admin/includes/post.php:651 -msgid "You are not allowed to create posts or drafts on this site." -msgstr "Vous n’avez pas l’autorisation de créer des articles ou des brouillons sur ce site." - -#: wp-admin/includes/plugin.php:421 -msgid "Custom site deleted message." -msgstr "Message personnalisé de site supprimé." - -#: wp-admin/includes/plugin.php:423 -msgid "Custom site suspended message." -msgstr "Message personnalisé de site suspendu." - -#: wp-admin/includes/plugin.php:422 -msgid "Custom site inactive message." -msgstr "Message personnalisé de site inactif." - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:136 -msgid "No sites found." -msgstr "Aucun site trouvé." - -#: wp-admin/includes/meta-boxes.php:550 -msgid "Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress sites they’ll be notified automatically using pingbacks, no other action necessary." -msgstr "Un rétrolien est une manière explicite de notifier les anciens systèmes de blog que vous avez fait un lien vers eux. Si vous faites un lien vers des sites WordPress, ils seront notifiés automatiquement à l’aide des pings (en), sans que vous n’ayez rien à faire." - -#: wp-admin/includes/post.php:649 -msgid "You are not allowed to create pages on this site." -msgstr "Vous n’avez pas l’autorisation de créer des pages sur ce site." - -#: wp-admin/includes/schema.php:369 -msgid "My Site" -msgstr "Mon site" - -#: wp-admin/includes/upgrade.php:295 -msgid "New WordPress Site" -msgstr "Nouveau site WordPress" - -#: wp-admin/update.php:155 wp-admin/update.php:176 -msgid "You do not have sufficient permissions to update themes for this site." -msgstr "Vous n’avez pas les droits suffisants pour mettre à jour les thèmes de ce site." - -#: wp-admin/update.php:24 wp-admin/update.php:50 wp-admin/update.php:71 -msgid "You do not have sufficient permissions to update plugins for this site." -msgstr "Vous n’avez pas les droits suffisants pour mettre à jour les extensions de ce site." - -#: wp-admin/theme-install.php:16 wp-admin/update.php:202 -#: wp-admin/update.php:232 -msgid "You do not have sufficient permissions to install themes on this site." -msgstr "Vous n’avez pas les droits suffisants pour installer des thèmes sur ce site." - -#: wp-admin/theme-editor.php:18 -msgid "You do not have sufficient permissions to edit templates for this site." -msgstr "Vous n’avez pas les droits suffisants pour modifier les modèles de ce site." - -#: wp-admin/plugins.php:31 wp-admin/plugins.php:66 wp-admin/plugins.php:135 -msgid "You do not have sufficient permissions to activate plugins for this site." -msgstr "Vous n’avez pas les droits suffisants pour activer les extensions de ce site." - -#: wp-admin/plugin-install.php:18 wp-admin/update.php:96 -#: wp-admin/update.php:127 -msgid "You do not have sufficient permissions to install plugins on this site." -msgstr "Vous n’avez pas les droits suffisants pour installer des extensions sur ce site." - -#: wp-admin/plugins.php:160 wp-admin/plugins.php:180 -msgid "You do not have sufficient permissions to deactivate plugins for this site." -msgstr "Vous n’avez pas les droits suffisants pour désactiver les extensions de ce site." - -#: wp-admin/plugins.php:211 -msgid "You do not have sufficient permissions to delete plugins for this site." -msgstr "Vous n’avez pas les droits suffisants pour supprimer les extensions de ce site." - -#: wp-admin/link-add.php:13 -msgid "You do not have sufficient permissions to add links to this site." -msgstr "Vous n’avez pas les droits suffisants pour ajouter les liens à ce site." - -#: wp-admin/includes/bookmark.php:303 wp-admin/link-manager.php:12 -#: wp-admin/link-manager.php:67 -msgid "You do not have sufficient permissions to edit the links for this site." -msgstr "Vous n’avez pas les droits suffisants pour modifier les liens de ce site." - -#: wp-admin/export.php:13 -msgid "You do not have sufficient permissions to export the content of this site." -msgstr "Vous n’avez pas les droits suffisants pour exporter le contenu de ce site." - -#: wp-admin/import.php:15 -msgid "You do not have sufficient permissions to import content in this site." -msgstr "Vous n’avez pas les droits suffisants pour importer du contenu dans ce site." - -#: wp-admin/import.php:59 -msgid "If you have posts or comments in another system, WordPress can import those into this site. To get started, choose a system to import from below:" -msgstr "Si vous avez des articles ou des commentaires dans un autre système de site, WordPress peut les importer dans votre site actuel. Pour commencer, choisissez un système d’origine ci-dessous :" - -#: wp-admin/plugin-editor.php:18 -msgid "You do not have sufficient permissions to edit plugins for this site." -msgstr "Vous n’avez pas les droits suffisants pour modifier les extensions de ce site." - -#: wp-admin/includes/nav-menu.php:641 wp-admin/includes/nav-menu.php:881 -msgid "No items." -msgstr "Aucune entrée." - -#: wp-admin/nav-menus.php:712 -msgid "Menu Name" -msgstr "Nom du menu" - -#: wp-admin/includes/nav-menu.php:1220 -msgid "CSS Classes" -msgstr "Classes CSS" - -#: wp-admin/includes/nav-menu.php:150 -msgid "Navigation Label" -msgstr "Titre de la navigation" - -#: wp-admin/includes/schema.php:1030 -msgid "To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a * hostname record pointing at your web server in your DNS configuration tool." -msgstr "Pour utiliser la configuration en sous-domaine, il vous faut ajouter un enregistrement générique (joker) à vos enregistrements DNS. Cela signifique ajouter un hôte * pointant vers votre serveur dans votre outil de configuration DNS." - -#: wp-admin/includes/schema.php:1026 -msgid "The installer attempted to contact a random hostname (%1$s) on your domain." -msgstr "L’installateur a tenté de contacter un nom d’hôte aléatoire (%1$s) sur votre domaine." - -#: wp-admin/install.php:121 -msgid "Usernames can have only alphanumeric characters, spaces, underscores, hyphens, periods and the @ symbol." -msgstr "Les identifiants doivent contenir uniquement des caractères alphanumériques, espaces, tiret bas, tiret, points et le symbole @." - -#: wp-admin/nav-menus.php:234 -msgid "The menu item has been successfully deleted." -msgstr "L’élément du menu a bien été supprimé." - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:197 -#: wp-admin/includes/class-wp-theme-install-list-table.php:125 -#: wp-admin/setup-config.php:212 -msgid "Try again" -msgstr "Recommencer" - -#: wp-admin/includes/ajax-actions.php:1187 -msgid "Please provide a custom field name." -msgstr "Veuillez saisir un nom pour le champ personnalisé." - -#: wp-admin/custom-background.php:325 -msgid "Display Options" -msgstr "Options d’affichage" - -#: wp-admin/users.php:330 -msgid "You have specified these users for removal:" -msgstr "Vous avez choisi de supprimer ces utilisateurs :" - -#: wp-admin/users.php:142 wp-admin/users.php:191 -msgid "User deletion is not allowed from this screen." -msgstr "La suppression d’un utilisateur n’est pas autorisée depuis cet écran." - -#: wp-admin/users.php:168 -msgid "You can’t delete that user." -msgstr "Vous ne pouvez pas supprimer cet utilisateur." - -#: wp-admin/users.php:350 -msgid "Confirm Removal" -msgstr "Confirmer la suppression" - -#: wp-admin/users.php:352 -msgid "There are no valid users selected for removal." -msgstr "Aucun utilisateur valide n’est sélectionné pour la suppression." - -#: wp-admin/users.php:408 -msgid "You can't remove the current user." -msgstr "Vous ne pouvez pas supprimer l’utilisateur courant." - -#: wp-admin/users.php:409 -msgid "Other users have been removed." -msgstr "Les autres utilisateurs ont été supprimés." - -#: wp-admin/includes/class-wp-upgrader-skins.php:208 -msgid "%1$s updated successfully." -msgstr "%1$s a bien été mis à jour." - -#: wp-admin/includes/class-wp-upgrader-skins.php:208 -msgid "Show Details" -msgstr "Afficher les détails" - -#: wp-admin/includes/class-wp-upgrader-skins.php:208 -msgid "Hide Details" -msgstr "Cacher les détails" - -#: wp-admin/includes/user.php:439 -msgid "Yes, take me to my profile page" -msgstr "Oui, je veux aller sur mon profil maintenant" - -#: wp-admin/includes/upgrade.php:79 -msgid "Your chosen password." -msgstr "Le mot de passe que vous avez choisi." - -#: wp-admin/includes/user.php:440 -msgid "No thanks, do not remind me again" -msgstr "Non, ne pas me relancer à ce sujet" - -#: wp-admin/post.php:273 -msgid "You are not allowed to move this item out of the Trash." -msgstr "Vous n’avez pas l’autorisation de déplacer ce contenu en dehors de la Corbeille." - -#: wp-admin/edit.php:126 wp-admin/edit.php:129 wp-admin/post.php:297 -#: wp-admin/post.php:300 wp-admin/upload.php:174 -msgid "Error in deleting." -msgstr "Erreur pendant la suppression." - -#: wp-admin/edit.php:110 wp-admin/post.php:276 -msgid "Error in restoring from Trash." -msgstr "Erreur pendant la récupération depuis la Corbeille." - -#: wp-admin/edit.php:107 -msgid "You are not allowed to restore this item from the Trash." -msgstr "Vous n’avez pas l’autorisation de récupérer ce contenu depuis la Corbeille." - -#: wp-admin/edit.php:96 wp-admin/post.php:258 -msgid "Error in moving to Trash." -msgstr "Erreur lors du déplacement dans la Corbeille." - -#: wp-admin/edit-comments.php:201 -msgid "%s comment restored from the Trash" -msgid_plural "%s comments restored from the Trash" -msgstr[0] "%s commentaire récupéré depuis la Corbeille" -msgstr[1] "%s commentaires récupérés depuis la Corbeille" - -#: wp-admin/edit-comments.php:197 -msgid "%s comment moved to the Trash." -msgid_plural "%s comments moved to the Trash." -msgstr[0] "%s commentaire déplacé dans la Corbeille." -msgstr[1] "%s commentaires déplacés dans la Corbeille." - -#: wp-admin/edit.php:88 wp-admin/post.php:250 -msgid "You are not allowed to move this item to the Trash." -msgstr "Vous n’avez pas l’autorisation de déplacer ce contenu dans la Corbeille." - -#: wp-admin/update-core.php:299 -msgid "The following themes have new versions available. Check the ones you want to update and then click “Update Themes”." -msgstr "Les thèmes suivants disposent d’une nouvelle version. Cochez ceux que vous voulez mettre à jour, puis cliquez sur « Mettre à jour les thèmes »." - -#: wp-admin/user-new.php:217 -msgid "User has been added to your site." -msgstr "L’utilisateur a été ajouté à votre site." - -#: wp-admin/user-new.php:220 -msgid "That user is already a member of this site." -msgstr "Cet utilisateur est déjà membre de ce site." - -#: wp-admin/user-new.php:214 -msgid "Invitation email sent to user. A confirmation link must be clicked for them to be added to your site." -msgstr "L’invitation a été envoyée à l’utilisateur sur son adresse de messagerie. Il devra cliquer sur un lien de confirmation pour être ajouté à votre site." - -#: wp-admin/update-core.php:222 -msgid "The following plugins have new versions available. Check the ones you want to update and then click “Update Plugins”." -msgstr "Les extensions suivantes disposent d’une nouvelle version. Cochez celles que vous voulez mettre à jour, puis cliquez sur « Mettre à jour les extensions »." - -#: wp-admin/options.php:171 -msgid "The %1$s setting is unregistered. Unregistered settings are deprecated. See http://codex.wordpress.org/Settings_API" -msgstr "L’option %1$s n’est pas enregistrée. Les options non enregistrées sont obsolètes. Consultez la documentation sur la page http://codex.wordpress.org/Settings_API" - -#: wp-admin/custom-background.php:283 -msgid "This will remove the background image. You will not be able to restore any customizations." -msgstr "Ceci supprimera l’image d’arrière-plan. Il ne vous sera pas possible de rétablir vos personnalisations." - -#: wp-admin/edit-tag-form.php:14 -msgid "You did not select an item for editing." -msgstr "Un contenu n’a pas été sélectionné pour l’édition. " - -#: wp-admin/includes/class-wp-themes-list-table.php:95 -msgid "Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes." -msgstr "Vous n’avez accès qu’au thème déjà en place. Contactez l’administrateur de %s pour obtenir des informations sur l’accès à d’autres thèmes." - -#: wp-admin/includes/file.php:24 -msgid "Author Template" -msgstr "Modèle pour un auteur" - -#: wp-admin/includes/file.php:15 -msgid "Visual Editor Stylesheet" -msgstr "Feuille de style de l’éditeur visuel" - -#: wp-admin/includes/file.php:25 -msgid "Tag Template" -msgstr "Modèle pour mot-clé" - -#: wp-admin/edit-form-advanced.php:88 -msgid "Page saved." -msgstr "Page enregistrée." - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:407 -msgid "This plugin is already installed and is up to date" -msgstr "Cette extension est déjà installée et à jour" - -#. translators: 1: Plugin name and version. -#: wp-admin/includes/class-wp-plugin-install-list-table.php:416 -#: wp-admin/includes/class-wp-plugins-list-table.php:527 -msgid "More information about %s" -msgstr "Plus d’informations à propos de %s" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:401 -#: wp-admin/update-core.php:40 -msgid "Update Now" -msgstr "Mettre à jour" - -#: wp-admin/user-edit.php:340 -msgid "Grant this user super admin privileges for the Network." -msgstr "Donner les privilèges de super-admin à cet utilisateur pour le réseau." - -#: wp-admin/user-edit.php:194 -msgid "Important:" -msgstr "Important :" - -#: wp-admin/user-edit.php:194 -msgid "This user has super admin privileges." -msgstr "Cet utilisateur possède les privilèges de super-admin." - -#: wp-admin/includes/post.php:1286 -msgid "Remove featured image" -msgstr "Supprimer l’image à la Une" - -#: wp-admin/edit-form-advanced.php:196 -msgid "Featured Image" -msgstr "Image à la Une" - -#: wp-admin/includes/class-wp-theme-install-list-table.php:241 -#: wp-admin/includes/class-wp-theme-install-list-table.php:362 -msgid "Update to version %s" -msgstr "Mettre à jour vers la version %s" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:291 -msgid "You are about to archive the site %s." -msgstr "Vous êtes sur le point d’archiver le site %s." - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:294 -msgid "You are about to unspam the site %s." -msgstr "Vous êtes sur le point de marquer le site %s comme sain." - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:296 -msgid "You are about to mark the site %s as spam." -msgstr "Vous êtes sur le point de marquer le site %s comme indésirable." - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:299 -msgid "You are about to delete the site %s." -msgstr "Vous êtes sur le point de supprimer le site %s." - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:289 -msgid "You are about to unarchive the site %s." -msgstr "Vous êtes sur le point de désarchiver le site %s." - -#: wp-admin/press-this.php:551 -msgid "You cannot modify this Taxonomy." -msgstr "Vous ne pouvez pas modifier cette taxinomie." - -#: wp-admin/options-reading.php:133 -msgid "items" -msgstr "éléments" - -#: wp-admin/user-edit.php:313 -msgid "Usernames cannot be changed." -msgstr "Les identifiants ne peuvent être modifiés." - -#: wp-admin/nav-menus.php:253 -msgid "The menu has been successfully deleted." -msgstr "Le menu a bien été supprimé." - -#: wp-admin/includes/dashboard.php:287 -msgid "Your site is asking search engines not to index its content" -msgstr "Votre site indique aux moteurs de recherche de ne pas indexer son contenu" - -#: wp-admin/plugins.php:13 -msgid "You do not have sufficient permissions to manage plugins for this site." -msgstr "Vous n’avez pas les droits suffisants pour gérer les extensions de ce site." - -#: wp-admin/options-general.php:110 -msgid "Enter the address here if you want your site homepage to be different from the directory you installed WordPress." -msgstr "Si vous souhaitez que l’adresse de la page d’accueil de votre site soit différente du répertoire où vous avez installé WordPress, saisissez cette adresse ici." - -#: wp-admin/options-general.php:100 -msgid "In a few words, explain what this site is about." -msgstr "En quelques mots, décrivez la raison d’être de ce site." - -#: wp-admin/options-reading.php:64 wp-admin/options-reading.php:144 -#: wp-admin/options-reading.php:145 -msgid "Site Visibility" -msgstr "Visibilité du site" - -#: wp-admin/includes/template.php:1217 -msgid "The miscellaneous options group has been removed. Use another settings group." -msgstr "Le groupement d’options « Divers » a été supprimé. Utilisez un autre groupement de réglages." - -#: wp-admin/includes/nav-menu.php:182 -msgid "The description will be displayed in the menu if the current theme supports it." -msgstr "La description sera affichée dans le menu si le thème actuel l’accepte." - -#: wp-admin/options.php:148 -msgid "You do not have sufficient permissions to modify unregistered settings for this site." -msgstr "Vous n’avez pas les droits suffisants pour modifier les réglages non enregistrés de ce site." - -#: wp-admin/options-general.php:139 -msgid "There is a pending change of the admin e-mail to %1$s. Cancel" -msgstr "Il y a une modification de l’adresse de contact de l’administrateur en cours, en faveur de %1$s. Annuler" - -#: wp-admin/includes/nav-menu.php:156 -msgid "Title Attribute" -msgstr "Attribut de titre" - -#: wp-admin/includes/nav-menu.php:1219 -msgid "Link Target" -msgstr "Cible du lien" - -#: wp-admin/includes/nav-menu.php:168 -msgid "CSS Classes (optional)" -msgstr "Classes CSS (facultatives)" - -#: wp-admin/nav-menus.php:716 wp-admin/nav-menus.php:787 -msgid "Save Menu" -msgstr "Enregistrer le menu" - -#: wp-admin/install.php:130 -msgid "A password will be automatically generated for you if you leave this blank." -msgstr "Un mot de passe vous sera automatiquement généré si vous laissez ce champ vide." - -#: wp-admin/install.php:129 -msgid "Password, twice" -msgstr "Mot de passe, deux fois" - -#: wp-admin/includes/class-wp-upgrader-skins.php:357 -msgid "Updating Theme %1$s (%2$d/%3$d)" -msgstr "Mise à jour du thème %1$s (%2$d/%3$d)" - -#: wp-admin/includes/schema.php:866 -msgid "You must provide a domain name." -msgstr "vous devez fournir un nom de domaine." - -#: wp-admin/includes/schema.php:868 -msgid "You must provide a name for your network of sites." -msgstr "vous devez fournir un nom pour votre réseau de sites." - -#: wp-admin/includes/schema.php:872 -msgid "The network already exists." -msgstr "Le réseau existe déjà." - -#: wp-admin/includes/schema.php:876 -msgid "You must provide a valid e-mail address." -msgstr "Vous devez saisir une adresse de messagerie valide." - -#: wp-admin/includes/schema.php:1028 -msgid "This resulted in an error message: %s" -msgstr "Cela a abouti à ce message d’erreur : %s" - -#: wp-admin/includes/schema.php:1031 -msgid "You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message." -msgstr "Vous pouvez toujours utiliser votre site, mais tout sous-domaine créé pourrait ne pas être accessible. Si vous êtes sûr de votre configuration DNS, ignorez ce message." - -#: wp-admin/includes/user.php:436 -msgid "Notice:" -msgstr "Avertissement :" - -#: wp-admin/edit-form-advanced.php:470 -msgid "Get Shortlink" -msgstr "Obtenir le lien court" - -#: wp-admin/includes/class-wp-upgrader-skins.php:313 -msgid "Updating Plugin %1$s (%2$d/%3$d)" -msgstr "Mise à jour de l’extension %1$s (%2$d/%3$d)" - -#: wp-admin/includes/class-wp-upgrader-skins.php:207 -msgid "The update of %1$s failed." -msgstr "La mise à jour de %1$s a échoué." - -#: wp-admin/includes/upgrade.php:92 -msgid "The password you chose during the install." -msgstr "Le mot de passe que vous avez choisi pendant l'installation." - -#: wp-admin/includes/upgrade.php:82 -msgid "User already exists. Password inherited." -msgstr "L’utilisateur existe déjà, et a hérité du mot de passe." - -#: wp-admin/update-core.php:65 wp-admin/upgrade.php:76 -msgid "You cannot update because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s." -msgstr "Cette mise à jour ne peut être installée, car WordPress %1$s requiert une version de MySQL égale ou supérieure à la %2$s. Votre hébergement utilise MySQL version %3$s." - -#: wp-admin/includes/class-wp-upgrader.php:2092 -#: wp-admin/includes/update-core.php:1135 wp-admin/update-core.php:420 -msgid "WordPress updated successfully" -msgstr "WordPress a bien été mis à jour" - -#: wp-admin/update-core.php:382 -msgid "Update WordPress" -msgstr "Mettre à jour WordPress" - -#: wp-admin/plugins.php:116 wp-admin/update-core.php:225 -#: wp-admin/update-core.php:282 wp-admin/update-core.php:579 -#: wp-admin/update-core.php:583 -msgid "Update Plugins" -msgstr "Mettre à jour les extensions" - -#: wp-admin/update-core.php:63 wp-admin/upgrade.php:74 -msgid "You cannot update because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s." -msgstr "Cette mise à jour ne peut être installée, car WordPress %1$s requiert une version de PHP égale ou supérieure à la %2$s. Votre hébergement utilise PHP version %3$s." - -#: wp-admin/update-core.php:61 wp-admin/upgrade.php:72 -msgid "You cannot update because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s." -msgstr "Cette mise à jour ne peut être installée, car WordPress %1$s requiert une version de PHP égale ou supérieure à la %2$s, et une version de MySQL égale ou supérieure à la %3$s. Votre hébergement utilise PHP version %4$s et MySQL version %5$s." - -#: wp-admin/update-core.php:462 wp-admin/update-core.php:501 -msgid "WordPress Updates" -msgstr "Mises à jour de WordPress" - -#: wp-admin/includes/nav-menu.php:132 wp-admin/includes/nav-menu.php:134 -msgid "Edit Menu Item" -msgstr "Modifier une entrée du menu" - -#: wp-admin/options-general.php:134 -msgid "This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. The new address will not become active until confirmed." -msgstr "Cette adresse est utilisée à des fins d’administration. Si vous la modifiez, nous enverrons un message à la nouvelle adresse afin de la confirmer. La nouvelle adresse ne sera pas active tant que vous ne l’aurez pas confirmée." - -#: wp-admin/options-general.php:210 -msgid "Daylight saving time begins on: %s." -msgstr "Le passage à l’heure d’été se fait le %s." - -#. translators: 1: plugin name, 2: plugin author -#: wp-admin/plugins.php:279 -msgid "%1$s by %2$s (will also delete its data)" -msgstr "%1$s par %2$s (attention : supprimera également les données liées)" - -#: wp-admin/plugins.php:272 -msgid "You are about to remove the following plugin:" -msgid_plural "You are about to remove the following plugins:" -msgstr[0] "Vous êtes sur le point de supprimer l’extension suivante :" -msgstr[1] "Vous êtes sur le point de supprimer les extensions suivantes :" - -#: wp-admin/plugins.php:267 -msgid "Delete Plugin" -msgid_plural "Delete Plugins" -msgstr[0] "Supprimer l’extension" -msgstr[1] "Supprimer les extensions" - -#: wp-admin/plugins.php:290 -msgid "Are you sure you wish to delete these files and data?" -msgstr "Vouslez-vous vraiment supprimer ces fichiers et données ?" - -#: wp-admin/plugins.php:302 -msgid "Yes, Delete these files and data" -msgstr "Oui, supprimer ces fichiers et les données" - -#: wp-admin/includes/class-wp-plugins-list-table.php:386 -msgid "Requires %s in wp-config.php." -msgstr "Nécessite %s dans le fichier wp-config.php." - -#: wp-admin/includes/class-wp-plugins-list-table.php:386 -msgid "Inactive:" -msgstr "Inactif :" - -#: wp-admin/includes/class-wp-plugins-list-table.php:268 -msgid "Must-Use (%s)" -msgid_plural "Must-Use (%s)" -msgstr[0] "Automatique (Must-Use) (%s)" -msgstr[1] "Automatiques (Must-Use) (%s)" - -#: wp-admin/about.php:168 -msgid "Go to Dashboard" -msgstr "Aller sur le tableau de bord" - -#: wp-admin/nav-menus.php:330 wp-admin/nav-menus.php:340 -msgid "Please enter a valid menu name." -msgstr "Veuillez saisir un nom de menu valide." - -#: wp-admin/nav-menus.php:783 -msgid "Delete Menu" -msgstr "Supprimer le menu" - -#: wp-admin/includes/nav-menu.php:590 -msgid "Menu Item" -msgstr "Élément du menu" - -#: wp-admin/includes/nav-menu.php:698 wp-admin/includes/nav-menu.php:938 -msgid "View All" -msgstr "Afficher tout" - -#: wp-admin/includes/nav-menu.php:596 wp-admin/includes/nav-menu.php:839 -#: wp-admin/includes/nav-menu.php:1027 -msgid "Add to Menu" -msgstr "Ajouter au menu" - -#: wp-admin/options-general.php:187 -msgid "This timezone is currently in daylight saving time." -msgstr "Ce fuseau horaire est actuellement à l’heure d’été." - -#: wp-admin/options-general.php:215 -msgid "This timezone does not observe daylight saving time." -msgstr "Ce fuseau horaire n’a pas d’heure d’été" - -#: wp-admin/includes/class-wp-plugins-list-table.php:271 -msgid "Drop-ins (%s)" -msgid_plural "Drop-ins (%s)" -msgstr[0] "Drop-ins (%s)" -msgstr[1] "Drop-ins (%s)" - -#: wp-admin/includes/plugin.php:420 -msgid "Executed before Multisite is loaded." -msgstr "Exécuté avant que la fonctionnalité multisites ne soit chargée." - -#: wp-admin/includes/plugin.php:416 -msgid "External object cache." -msgstr "Cache d’objet externe." - -#: wp-admin/includes/plugin.php:415 -msgid "Custom maintenance message." -msgstr "Message personnalisé pour la maintenance." - -#: wp-admin/includes/plugin.php:414 -msgid "Custom install script." -msgstr "Script d’installation personnalisée." - -#: wp-admin/includes/plugin.php:413 -msgid "Custom database error message." -msgstr "Message personnalisé pour l’erreur de base de données." - -#: wp-admin/includes/file.php:287 -msgid "File is empty. Please upload something more substantial." -msgstr "Le fichier est vide. Merci d’envoyer quelque chose de plus consistant." - -#: wp-admin/includes/class-wp-theme-install-list-table.php:249 -msgid "Install %s" -msgstr "Installer %s" - -#: wp-admin/includes/plugin.php:412 -msgid "Custom database class." -msgstr "Classe personnalisée de connexion à la base de données." - -#: wp-admin/includes/plugin.php:411 -msgid "Advanced caching plugin." -msgstr "Extension de cache avancée." - -#: wp-admin/install.php:172 -msgid "You cannot install because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s." -msgstr "Vous ne pouvez pas installer WordPress %1$s, car cette version requiert une version de MySQL égale ou supérieure à la %2$s. Votre hébergement utilise MySQL version %3$s." - -#: wp-admin/install.php:170 -msgid "You cannot install because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s." -msgstr "Vous ne pouvez pas installer WordPress %1$s, car cette version requiert une version de PHP égale ou supérieure à la %2$s. Votre hébergement utilise PHP version %3$s." - -#: wp-admin/includes/update.php:210 -msgid "WordPress %1$s is available! Please notify the site administrator." -msgstr "WordPress %1$s est disponible ! Veuillez en notifier l’administrateur du site." - -#: wp-admin/includes/update.php:208 -msgid "WordPress %1$s is available! Please update now." -msgstr "WordPress %1$s est disponible ! Pensez à faire la mise à jour." - -#: wp-admin/install.php:168 -msgid "You cannot install because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s." -msgstr "Vous ne pouvez pas installer WordPress %1$s, car cette version requiert une version de PHP égale ou supérieure à la %2$s, et une version de MySQL égale ou supérieure à la %3$s. Votre hébergement utilise PHP version %4$s et MySQL version %5$s." - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:284 -msgid "You are about to activate the site %s" -msgstr "Vous êtes sur le point d’activer le site %s" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:286 -msgid "You are about to deactivate the site %s" -msgstr "Vous êtes sur le point de désactiver le site %s" - -#: wp-admin/comment.php:147 -msgid "This comment is currently marked as spam." -msgstr "Ce commentaire est actuellement marqué comme indésirable." - -#: wp-admin/comment.php:87 -msgid "Moderate Comment" -msgstr "Modérer le commentaire" - -#: wp-admin/comment.php:144 -msgid "This comment is currently approved." -msgstr "Ce commentaire est actuellement approuvé." - -#: wp-admin/edit-comments.php:209 -msgid "This comment is already approved." -msgstr "Ce commentaire est déjà approuvé." - -#: wp-admin/comment.php:150 -msgid "This comment is currently in the Trash." -msgstr "Ce commentaire est actuellement dans la Corbeille." - -#: wp-admin/custom-background.php:349 -msgid "Repeat" -msgstr "Répétition" - -#: wp-admin/edit-comments.php:212 -msgid "This comment is already in the Trash." -msgstr "Ce commentaire est déjà marqué comme indésirable." - -#: wp-admin/edit-comments.php:212 -msgid "View Trash" -msgstr "Voir la Corbeille" - -#: wp-admin/edit-comments.php:215 -msgid "This comment is already marked as spam." -msgstr "Ce commentaire est déjà marqué comme indésirable." - -#: wp-admin/includes/screen.php:953 -msgid "Screen Options" -msgstr "Options de l’écran" - -#: wp-admin/includes/screen.php:1106 -msgid "Screen Layout" -msgstr "Présentation de l’écran" - -#: wp-admin/includes/screen.php:1108 -msgid "Number of Columns:" -msgstr "Nombre de colonnes :" - -#: wp-admin/includes/theme-install.php:99 wp-admin/theme-install.php:145 -msgid "Feature Filter" -msgstr "Filtre de fonctionnalités" - -#: wp-admin/includes/theme.php:188 -msgid "Tan" -msgstr "Ocre" - -#: wp-admin/includes/theme.php:191 -msgid "Dark" -msgstr "Sombre" - -#: wp-admin/includes/theme.php:199 -msgid "One Column" -msgstr "Une colonne" - -#: wp-admin/includes/theme.php:200 -msgid "Two Columns" -msgstr "Deux colonnes" - -#: wp-admin/includes/theme.php:201 -msgid "Three Columns" -msgstr "Trois colonnes" - -#: wp-admin/includes/theme.php:202 -msgid "Four Columns" -msgstr "Quatre colonnes" - -#: wp-admin/includes/theme.php:203 -msgid "Left Sidebar" -msgstr "Colonne latérale gauche" - -#: wp-admin/includes/theme.php:204 -msgid "Right Sidebar" -msgstr "Colonne latérale droite" - -#: wp-admin/includes/theme.php:207 wp-admin/includes/theme.php:257 -#: wp-admin/theme-install.php:157 -msgid "Features" -msgstr "Fonctionnalités" - -#: wp-admin/includes/theme.php:212 -msgid "Custom Colors" -msgstr "Couleurs personnalisées" - -#: wp-admin/includes/theme.php:225 -msgid "Theme Options" -msgstr "Options du thème" - -#: wp-admin/includes/theme.php:226 -msgid "Threaded Comments" -msgstr "Commentaires imbriqués" - -#: wp-admin/includes/theme.php:224 -msgid "Sticky Post" -msgstr "Article mis en avant" - -#: wp-admin/includes/theme.php:221 -msgid "Microformats" -msgstr "Microformats" - -#: wp-admin/includes/theme.php:230 wp-admin/includes/theme.php:258 -msgid "Subject" -msgstr "Thème" - -#: wp-admin/includes/theme.php:231 -msgid "Holiday" -msgstr "Vacances" - -#: wp-admin/includes/theme.php:232 -msgid "Photoblogging" -msgstr "Photoblogging" - -#: wp-admin/includes/theme.php:233 -msgid "Seasonal" -msgstr "Saisonnier" - -#: wp-admin/includes/theme-install.php:131 -msgid "Find Themes" -msgstr "Trouver des thèmes" - -#: wp-admin/includes/theme-install.php:139 -msgid "If you have a theme in a .zip format, you may install it by uploading it here." -msgstr "Si vous avez un thème au format .zip, vous pouvez l’installer en le mettant en ligne ici." - -#: wp-admin/includes/class-wp-theme-install-list-table.php:279 -#: wp-admin/includes/class-wp-themes-list-table.php:200 -msgid "Details" -msgstr "Détails" - -#: wp-admin/includes/theme-install.php:197 -msgid "Theme Install" -msgstr "Installation du thème" - -#: wp-admin/theme-install.php:260 wp-admin/themes.php:333 -msgid "Version: %s" -msgstr "Version : %s" - -#: wp-admin/includes/theme.php:61 -msgid "Unable to locate WordPress theme directory." -msgstr "Impossible de localiser le dossier des thèmes de WordPress." - -#: wp-admin/includes/theme.php:68 -msgid "Could not fully remove the theme %s." -msgstr "Impossible de supprimer complètement le thème %s." - -#: wp-admin/includes/update-core.php:802 -msgid "The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s." -msgstr "Cette mise à jour ne peut être installée car WordPress %1$s requiert une version de PHP égale ou supérieure à la %2$s, et une version de MySQL égale ou supérieure à la %3$s. Votre hébergement utilise PHP version %4$s et MySQL version %5$s." - -#: wp-admin/includes/update-core.php:804 -msgid "The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s." -msgstr "Cette mise à jour ne peut être installée car WordPress %1$s requiert une version de PHP égale ou supérieure à la %2$s. Votre hébergement utilise PHP version %3$s." - -#: wp-admin/includes/update-core.php:806 -msgid "The update cannot be installed because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s." -msgstr "Cette mise à jour ne peut être installée car WordPress %1$s requiert une version de MySQL égale ou supérieure à la %2$s. Votre hébergement utilise MySQL version %3$s." - -#: wp-admin/includes/update-core.php:760 -msgid "Verifying the unpacked files…" -msgstr "Vérification des fichiers décompressés…" - -#: wp-admin/includes/update-core.php:773 -msgid "The update could not be unpacked" -msgstr "La mise à jour ne peut pas être décompressée" - -#: wp-admin/includes/update-core.php:1016 -msgid "Upgrading database…" -msgstr "Mise à jour de la base de données…" - -#: wp-admin/includes/update.php:181 -msgid "You are using a development version (%1$s). Cool! Please stay updated." -msgstr "Vous utilisez une version de développement (%1$s). C’est super ! Veillez à rester à jour." - -#: wp-admin/includes/update.php:184 -msgid "Get Version %2$s" -msgstr "Téléchargez la version %2$s" - -#: wp-admin/includes/update.php:230 -msgid "Update to %s" -msgstr "Mettre à jour vers la version %s" - -#: wp-admin/includes/update.php:230 -msgid "Latest" -msgstr "Dernière version" - -#: wp-admin/includes/update.php:425 -msgid "An automated WordPress update has failed to complete - please attempt the update again now." -msgstr "Une mise à jour automatique de WordPress a échoué en cours de route ; vous pouvez tenter de la relancer." - -#: wp-admin/includes/update.php:427 -msgid "An automated WordPress update has failed to complete! Please notify the site administrator." -msgstr "Une mise à jour automatique de WordPress a échoué en cours de route ! Veuillez en notifier l’administrateur du site." - -#: wp-admin/includes/upgrade.php:73 -msgid "Note that password carefully! It is a random password that was generated just for you." -msgstr "Notez bien ce mot de passe sans vous tromper ! Il a été créé aléatoirement et vous est unique." - -#. translators: Default category slug -#: wp-admin/includes/upgrade.php:125 -msgctxt "Default category slug" -msgid "Uncategorized" -msgstr "non-classe" - -#: wp-admin/includes/upgrade.php:156 -msgid "Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!" -msgstr "Bienvenue dans WordPress. Ceci est votre premier article. Modifiez-le ou supprimez-le, puis lancez-vous !" - -#: wp-admin/includes/upgrade.php:165 -msgid "Hello world!" -msgstr "Bonjour tout le monde !" - -#. translators: Default post slug -#: wp-admin/includes/upgrade.php:167 -msgctxt "Default post slug" -msgid "hello-world" -msgstr "bonjour-tout-le-monde" - -#: wp-admin/includes/upgrade.php:179 -msgid "Mr WordPress" -msgstr "Monsieur WordPress" - -#: wp-admin/includes/user.php:125 wp-admin/includes/user.php:127 -msgid "ERROR: You entered your new password only once." -msgstr "ERREUR : vous n’avez tapé votre nouveau mot de passe qu’une seule fois." - -#: wp-admin/includes/user.php:130 -msgid "ERROR: Please enter your password." -msgstr "ERREUR : veuillez renseigner votre mot de passe." - -#: wp-admin/includes/user.php:132 -msgid "ERROR: Please enter your password twice." -msgstr "ERREUR : veuillez renseigner deux fois le mot de passe." - -#: wp-admin/includes/user.php:137 -msgid "ERROR: Passwords may not contain the character \"\\\"." -msgstr "ERREUR : le mot de passe ne doit pas contenir le caractère « \\ »." - -#: wp-admin/includes/user.php:141 -msgid "ERROR: Please enter the same password in the two password fields." -msgstr "ERREUR : les deux mots de passe ne sont pas identiques." - -#: wp-admin/includes/user.php:154 -msgid "ERROR: Please enter an e-mail address." -msgstr "ERREUR : veuillez saisir une adresse de messagerie." - -#: wp-admin/includes/deprecated.php:557 -msgid "No matching users were found!" -msgstr "Aucun utilisateur ne correspond !" - -#: wp-admin/install.php:70 -msgid "WordPress › Installation" -msgstr "WordPress » Installation" - -#: wp-admin/setup-config.php:162 -msgid "User Name" -msgstr "Identifiant" - -#: wp-admin/install.php:117 -msgid "User(s) already exists." -msgstr "L’utilisateur existe déjà." - -#: wp-admin/install.php:141 -msgid "Your E-mail" -msgstr "Votre adresse de messagerie" - -#: wp-admin/install.php:143 -msgid "Double-check your email address before continuing." -msgstr "Vérifiez bien cette adresse de messagerie avant de continuer." - -#: wp-admin/install.php:150 -msgid "Install WordPress" -msgstr "Installer WordPress" - -#: wp-admin/install.php:176 -msgid "Insufficient Requirements" -msgstr "Les conditions requises ne sont pas remplies" - -#: wp-admin/install.php:218 -msgid "Information needed" -msgstr "Informations nécessaires" - -#: wp-admin/install.php:219 -msgid "Please provide the following information. Don’t worry, you can always change these settings later." -msgstr "Veuillez renseigner les informations suivantes. Ne vous inquiétez pas, vous pourrez les modifier plus tard." - -#: wp-admin/install.php:272 -msgid "Success!" -msgstr "Quel succès !" - -#: wp-admin/install.php:274 -msgid "WordPress has been installed. Were you expecting more steps? Sorry to disappoint." -msgstr "WordPress est installé. Vous attendiez-vous à d’autres étapes ? Désolé de vous décevoir ;-)" - -#: wp-admin/link-add.php:15 -msgid "Add New Link" -msgstr "Ajouter un lien" - -#. translators: add new links -#: wp-admin/edit-link-form.php:73 wp-admin/link-manager.php:72 -#: wp-admin/menu.php:78 -msgctxt "link" -msgid "Add New" -msgstr "Ajouter" - -#: wp-admin/link-manager.php:81 -msgid "%s link deleted." -msgid_plural "%s links deleted" -msgstr[0] "%s lien supprimé" -msgstr[1] "%s liens supprimés" - -#: wp-admin/link-manager.php:89 -msgid "Search Links" -msgstr "Chercher un lien" - -#: wp-admin/includes/class-wp-links-list-table.php:161 -msgid "Visit %s" -msgstr "Aller sur %s" - -#: wp-admin/includes/class-wp-links-list-table.php:53 -msgid "No links found." -msgstr "Aucun lien trouvé." - -#: wp-admin/link-parse-opml.php:78 -msgid "XML error: %1$s at line %2$s" -msgstr "Erreur XML : %1$s à la ligne %2$s" - -#: wp-admin/link.php:109 -msgid "Link not found." -msgstr "Lien non trouvé." - -#: wp-admin/maint/repair.php:19 -msgid "WordPress › Database Repair" -msgstr "WordPress » Réparation de la base de données" - -#: wp-admin/maint/repair.php:103 -msgid "Some database problems could not be repaired. Please copy-and-paste the following list of errors to the WordPress support forums to get additional assistance." -msgstr "Certains problèmes de la base de données n’ont pas pu être réparés. Veuillez copier/coller la liste d’erreurs suivantes sur le forum de support de WordPress pour recevoir plus d’informations." - -#: wp-admin/maint/repair.php:117 -msgid "Repair Database" -msgstr "Réparer la base de données" - -#: wp-admin/maint/repair.php:119 -msgid "Repair and Optimize Database" -msgstr "Réparer et optimiser la base de données" - -#: wp-admin/media-new.php:40 -msgid "Upload New Media" -msgstr "Envoi d’un nouveau média" - -#: wp-admin/media.php:23 wp-admin/media.php:57 -msgid "You are not allowed to edit this attachment." -msgstr "Vous n’avez pas l’autorisation de modifier ce fichier attaché." - -#: wp-admin/media.php:61 -msgid "You attempted to edit an attachment that doesn’t exist. Perhaps it was deleted?" -msgstr "Vous tentez de modifier un fichier attaché qui n’existe pas. Peut-être a-t-il été supprimé ?" - -#: wp-admin/media.php:63 -msgid "You can’t edit this attachment because it is in the Trash. Please move it out of the Trash and try again." -msgstr "Vous ne pouvez pas modifier ce fichier attaché, car il est dans la Corbeille. Sortez-l’en, puis réessayez." - -#: wp-admin/edit-form-advanced.php:93 wp-admin/media.php:95 -#: wp-admin/upload.php:240 wp-admin/upload.php:265 -msgid "Media attachment updated." -msgstr "Fichier attaché mis à jour." - -#: wp-admin/media.php:116 wp-admin/media.php:125 -msgid "Update Media" -msgstr "Mettre à jour le fichier" - -#: wp-admin/menu.php:64 -msgid "Library" -msgstr "Bibliothèque" - -#. translators: add new file -#: wp-admin/media.php:110 wp-admin/menu.php:66 wp-admin/upload.php:65 -#: wp-admin/upload.php:231 -msgctxt "file" -msgid "Add New" -msgstr "Ajouter" - -#: wp-admin/menu.php:96 -msgid "Comments %s" -msgstr "Commentaires %s" - -#: wp-admin/menu.php:150 -msgid "Appearance" -msgstr "Apparence" - -#. translators: add new plugin -#: wp-admin/menu.php:183 wp-admin/plugins.php:416 -msgctxt "plugin" -msgid "Add New" -msgstr "Ajouter" - -#: wp-admin/menu.php:192 wp-admin/user/menu.php:14 wp-admin/user-edit.php:28 -msgid "Profile" -msgstr "Profil" - -#: wp-admin/menu.php:202 wp-admin/menu.php:205 -msgid "Your Profile" -msgstr "Votre profil" - -#: wp-admin/menu.php:212 wp-admin/tools.php:12 -msgid "Tools" -msgstr "Outils" - -#: wp-admin/menu.php:222 -msgctxt "settings screen" -msgid "General" -msgstr "Général" - -#: wp-admin/menu.php:223 -msgid "Writing" -msgstr "Écriture" - -#: wp-admin/menu.php:224 -msgid "Reading" -msgstr "Lecture" - -#: wp-admin/install.php:146 -msgid "Privacy" -msgstr "Vie privée" - -#: wp-admin/menu.php:227 -msgid "Permalinks" -msgstr "Permaliens" - -#: wp-admin/ms-delete-site.php:13 wp-admin/my-sites.php:13 -msgid "Multisite support is not enabled." -msgstr "Le support multisites n’est pas activé." - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:159 -msgid "Domain" -msgstr "Domaine" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:163 -msgid "Last Updated" -msgstr "Dernière mise à jour" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:196 -msgid "Archived" -msgstr "Archivé" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:199 -msgid "Mature" -msgstr "Adulte" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:198 -msgid "Deleted" -msgstr "Supprimé" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:289 -msgid "Unarchive" -msgstr "Désarchiver" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:302 -#: wp-admin/my-sites.php:129 -msgid "Visit" -msgstr "Visiter" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:328 -msgid "Never" -msgstr "Jamais" - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:349 -msgid "Only showing first 5 users." -msgstr "Affiche seulement les 5 premiers utilisateurs." - -#: wp-admin/includes/class-wp-ms-sites-list-table.php:349 -msgid "More" -msgstr "Plus" - -#: wp-admin/update-core.php:303 wp-admin/update-core.php:330 -#: wp-admin/update-core.php:607 wp-admin/update-core.php:612 -msgid "Update Themes" -msgstr "Mettre à jour les thèmes" - -#: wp-admin/includes/class-wp-ms-users-list-table.php:86 -msgid "No users found." -msgstr "Aucun utilisateur trouvé." - -#: wp-admin/edit-form-advanced.php:366 wp-admin/options-discussion.php:14 -msgid "Discussion Settings" -msgstr "Options de discussion" - -#: wp-admin/options-discussion.php:41 wp-admin/options-discussion.php:42 -msgid "Default article settings" -msgstr "Réglages par défaut des articles" - -#: wp-admin/options-discussion.php:55 -msgid "These settings may be overridden for individual articles." -msgstr "Ces réglages peuvent être modifiés pour chaque article." - -#: wp-admin/options-discussion.php:59 wp-admin/options-discussion.php:60 -msgid "Other comment settings" -msgstr "Autres réglages des commentaires" - -#: wp-admin/options-discussion.php:61 -msgid "Comment author must fill out name and e-mail" -msgstr "L’auteur d’un commentaire doit renseigner son nom et son adresse de messagerie" - -#: wp-admin/options-discussion.php:65 -msgid "Users must be registered and logged in to comment" -msgstr "Un utilisateur doit être enregistré et connecté pour publier des commentaires" - -#: wp-admin/options-discussion.php:72 -msgid "Automatically close comments on articles older than %s days" -msgstr "Fermer automatiquement les commentaires pour les articles vieux de plus de %s jours" - -#: wp-admin/options-discussion.php:95 -msgid "Enable threaded (nested) comments %s levels deep" -msgstr "Activer les commentaires imbriqués jusqu’à %s niveaux" - -#: wp-admin/options-discussion.php:105 -msgid "last" -msgstr "dernière" - -#: wp-admin/options-discussion.php:107 -msgid "first" -msgstr "première" - -#: wp-admin/options-discussion.php:109 -msgid "Break comments into pages with %1$s top level comments per page and the %2$s page displayed by default" -msgstr "Diviser les commentaires en pages, avec %1$s commentaires de premier niveau par page et la %2$s page affichée par défaut" - -#: wp-admin/options-discussion.php:117 -msgid "older" -msgstr "ancien" - -#: wp-admin/options-discussion.php:119 -msgid "newer" -msgstr "récent" - -#: wp-admin/options-discussion.php:121 -msgid "Comments should be displayed with the %s comments at the top of each page" -msgstr "Les commentaires doivent être affichés avec le plus %s en premier" - -#: wp-admin/options-discussion.php:127 wp-admin/options-discussion.php:128 -msgid "E-mail me whenever" -msgstr "M’envoyer un message lorsque" - -#: wp-admin/options-discussion.php:131 -msgid "Anyone posts a comment" -msgstr "Un nouveau commentaire est publié" - -#: wp-admin/options-discussion.php:135 -msgid "A comment is held for moderation" -msgstr "Un commentaire est en attente de modération" - -#: wp-admin/options-discussion.php:139 wp-admin/options-discussion.php:140 -msgid "Before a comment appears" -msgstr "Avant la publication d’un commentaire" - -#: wp-admin/options-discussion.php:145 -msgid "Comment author must have a previously approved comment" -msgstr "L’auteur d’un commentaire doit avoir déjà au moins un commentaire approuvé" - -#: wp-admin/options-discussion.php:149 wp-admin/options-discussion.php:150 -msgid "Comment Moderation" -msgstr "Modération de commentaires" - -#: wp-admin/options-discussion.php:151 -msgid "Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)" -msgstr "Garder un commentaire dans la file d’attente s’il contient plus de %s lien(s) (une des caractéristiques typiques d’un commentaire indésirable (spam) est son nombre important de liens)" - -#: wp-admin/options-discussion.php:153 -msgid "When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the moderation queue. One word or IP per line. It will match inside words, so “press” will match “WordPress”." -msgstr "Lorsqu’un commentaire contient l’un de ces mots dans son contenu, son nom, son adresse web, son adresse de messagerie, ou son IP, celui-ci est retenu dans la file de modération. Un seul mot ou une seule IP par ligne. Cette fonction reconnaît l’intérieur des mots, donc « press » suffira pour reconnaître « WordPress »." - -#: wp-admin/options-discussion.php:160 wp-admin/options-discussion.php:161 -msgid "Comment Blacklist" -msgstr "Liste noire pour les commentaires" - -#: wp-admin/options-discussion.php:162 -msgid "When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so “press” will match “WordPress”." -msgstr "Lorsqu’un commentaire contient l’un de ces mots dans son contenu, nom, adresse web, adresse de messagerie, ou IP, le marquer comme indésirable. Un seul mot ou IP par ligne. Il reconnaît l’intérieur des mots, donc « press » suffira pour reconnaître « WordPress »." - -#: wp-admin/options-discussion.php:171 -msgid "Avatars" -msgstr "Avatars" - -#: wp-admin/options-discussion.php:179 wp-admin/options-discussion.php:180 -msgid "Avatar Display" -msgstr "Affichage des avatars" - -#: wp-admin/options-discussion.php:183 -msgid "Show Avatars" -msgstr "Afficher les avatars" - -#: wp-admin/options-discussion.php:188 wp-admin/options-discussion.php:189 -msgid "Maximum Rating" -msgstr "Classement maximal" - -#. translators: Content suitability rating: http:bit.ly/89QxZA -#: wp-admin/options-discussion.php:194 -msgid "G — Suitable for all audiences" -msgstr "G — Visibles par tous" - -#. translators: Content suitability rating: http:bit.ly/89QxZA -#: wp-admin/options-discussion.php:196 -msgid "PG — Possibly offensive, usually for audiences 13 and above" -msgstr "PG — Possiblement offensants, réservés normalement aux personnes de 13 ans et plus" - -#. translators: Content suitability rating: http:bit.ly/89QxZA -#: wp-admin/options-discussion.php:198 -msgid "R — Intended for adult audiences above 17" -msgstr "R — Réservés aux personnes de plus de 17 ans" - -#. translators: Content suitability rating: http:bit.ly/89QxZA -#: wp-admin/options-discussion.php:200 -msgid "X — Even more mature than above" -msgstr "X — Réservés aux adultes" - -#: wp-admin/options-discussion.php:211 wp-admin/options-discussion.php:212 -msgid "Default Avatar" -msgstr "Avatar par défaut" - -#: wp-admin/options-discussion.php:214 -msgid "For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address." -msgstr "Les utilisateurs n’ayant pas d’avatar peuvent se voir attribuer un logo générique, ou un avatar généré à partir de leur adresse de messagerie." - -#: wp-admin/options-discussion.php:218 -msgid "Mystery Man" -msgstr "Homme mystère" - -#: wp-admin/options-discussion.php:219 -msgid "Blank" -msgstr "Vide" - -#: wp-admin/options-discussion.php:220 -msgid "Gravatar Logo" -msgstr "Logo Gravatar" - -#: wp-admin/options-discussion.php:221 -msgid "Identicon (Generated)" -msgstr "Identicon (généré)" - -#: wp-admin/options-discussion.php:222 -msgid "Wavatar (Generated)" -msgstr "Wavatar (généré)" - -#: wp-admin/options-discussion.php:223 -msgid "MonsterID (Generated)" -msgstr "MonsterID (généré)" - -#: wp-admin/options-general.php:15 -msgid "General Settings" -msgstr "Réglages généraux" - -#. translators: date and time format for exact current time, mainly about -#. timezones, see http:php.net/date -#: wp-admin/options-general.php:18 -msgctxt "timezone date format" -msgid "Y-m-d G:i:s" -msgstr "Y-m-d G:i:s" - -#: wp-admin/options-general.php:115 -msgid "This address is used for admin purposes, like new user notification." -msgstr "Cette adresse n’est utilisée que pour l’administration du site : par exemple, la notification de l’inscription d’un nouvel utilisateur." - -#: wp-admin/options-general.php:118 wp-admin/options-general.php:119 -msgid "Membership" -msgstr "Inscription" - -#: wp-admin/options-general.php:121 -msgid "Anyone can register" -msgstr "Tout le monde peut s’enregistrer" - -#: wp-admin/options-general.php:125 -msgid "New User Default Role" -msgstr "Rôle par défaut de tout nouvel utilisateur" - -#: wp-admin/options-general.php:167 -msgid "Timezone" -msgstr "Fuseau horaire" - -#: wp-admin/options-general.php:174 -msgid "UTC time is %s" -msgstr " L’heure UTC actuelle est %s" - -#: wp-admin/options-general.php:176 -msgid "Local time is %1$s" -msgstr "L’heure locale actuelle est %1$s" - -#: wp-admin/options-general.php:178 -msgid "Choose a city in the same timezone as you." -msgstr "Choisissez une ville dans le même fuseau horaire que le vôtre." - -#: wp-admin/options-general.php:189 -msgid "This timezone is currently in standard time." -msgstr "Ce fuseau horaire est actuellement à l’heure d’hiver." - -#: wp-admin/options-general.php:254 wp-admin/options-general.php:286 -msgid "Custom:" -msgstr "Personnalisé :" - -#: wp-admin/options-general.php:294 -msgid "Week Starts On" -msgstr "La semaine débute le" - -#: wp-admin/options-media.php:15 -msgid "Media Settings" -msgstr "Réglages des médias" - -#: wp-admin/options-media.php:48 -msgid "Image sizes" -msgstr "Tailles des images" - -#: wp-admin/options-media.php:53 -msgid "Thumbnail size" -msgstr "Taille des miniatures" - -#: wp-admin/options-media.php:60 -msgid "Crop thumbnail to exact dimensions (normally thumbnails are proportional)" -msgstr "Recadrer les images pour parvenir aux dimensions exactes (normalement, les miniatures sont au format carré)" - -#: wp-admin/options-media.php:65 wp-admin/options-media.php:66 -msgid "Medium size" -msgstr "Taille moyenne" - -#: wp-admin/options-media.php:67 wp-admin/options-media.php:77 -msgid "Max Width" -msgstr "Largeur maximale" - -#: wp-admin/options-media.php:69 wp-admin/options-media.php:79 -msgid "Max Height" -msgstr "Hauteur maximale" - -#: wp-admin/options-media.php:75 wp-admin/options-media.php:76 -msgid "Large size" -msgstr "Grande taille" - -#: wp-admin/options-media.php:88 -msgid "Embeds" -msgstr "Affichages distants" - -#: wp-admin/options-media.php:95 -msgid "Uploading Files" -msgstr "Envoi de fichiers" - -#: wp-admin/options-media.php:102 -msgid "Store uploads in this folder" -msgstr "Stocker les fichiers envoyés dans ce dossier" - -#: wp-admin/options-media.php:104 -msgid "Default is wp-content/uploads" -msgstr "Par défaut, wp-content/uploads" - -#: wp-admin/options-media.php:109 -msgid "Full URL path to files" -msgstr "Adresse web complète pour les fichiers" - -#: wp-admin/options-media.php:111 -msgid "Configuring this is optional. By default, it should be blank." -msgstr "Ce réglage est facultatif. Par défaut, ce champ devrait être vide." - -#: wp-admin/options-media.php:119 -msgid "Organize my uploads into month- and year-based folders" -msgstr "Organiser mes fichiers envoyés dans des dossiers mensuels et annuels" - -#: wp-admin/options-permalink.php:15 -msgid "Permalink Settings" -msgstr "Options des permaliens" - -#: wp-admin/options-permalink.php:159 -msgid "Permalink structure updated. Remove write access on web.config file now!" -msgstr "La structure des permaliens a été mise à jour. Pensez à retirer les droits d’accès au fichier web.config dès maintenant !" - -#: wp-admin/options-permalink.php:166 -msgid "You should update your .htaccess now." -msgstr "Vous devriez mettre à jour votre fichier .htaccess maintenant." - -#: wp-admin/options-permalink.php:161 wp-admin/options-permalink.php:163 -#: wp-admin/options-permalink.php:168 wp-admin/options-permalink.php:172 -msgid "Permalink structure updated." -msgstr "Structure des permaliens enregistrée." - -#: wp-admin/options-permalink.php:208 -msgid "Day and name" -msgstr "Date et titre" - -#: wp-admin/options-permalink.php:212 -msgid "Month and name" -msgstr "Mois et titre" - -#: wp-admin/options-permalink.php:216 -msgid "Numeric" -msgstr "Numérique" - -#: wp-admin/options-permalink.php:226 -msgid "Custom Structure" -msgstr "Structure personnalisée" - -#: wp-admin/options-permalink.php:236 -msgid "Optional" -msgstr "Facultatif" - -#. translators: prefix for category permalinks -#: wp-admin/options-permalink.php:248 -msgid "Category base" -msgstr "Préfixe des catégories" - -#: wp-admin/options-permalink.php:252 -msgid "Tag base" -msgstr "Base des mots-clés" - -#: wp-admin/options-permalink.php:266 -msgid "If your web.config file were writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Click in the field and press CTRL + a to select all. Then insert this rule inside of the /<configuration>/<system.webServer>/<rewrite>/<rules> element in web.config file." -msgstr "Si vous aviez les droits en écriture sur le fichier web.config, nous pourrions faire cela automatiquement. Ce n’est pas le cas, donc voici les règles de réécriture que vous devrez mettre dans votre fichier web.config. Cliquez sur le champ et appuyez sur Ctrl-a pour tout sélectionner. Insérez ensuite cette règle dans l’élément /<configuration>/<system.webServer>/<rewrite>/<rules> du fichier web.config." - -#: wp-admin/options-permalink.php:271 -msgid "If you temporarily make your web.config file writable for us to generate rewrite rules automatically, do not forget to revert the permissions after rule has been saved." -msgstr "Si vous rendez le fichier web.config accessible en écriture afin de générer automatiquement les règles de réécriture, n’oubliez surtout pas de remettre les droits originaux en place une fois que les règles ont été enregistrées." - -#: wp-admin/options-permalink.php:273 -msgid "If the root directory of your site were writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Create a new file, called web.config in the root directory of your site. Click in the field and press CTRL + a to select all. Then insert this code into the web.config file." -msgstr "Si vous aviez les droits en écriture sur le fichier web.config, nous pourrions faire cela automatiquement. Ce n’est pas le cas, donc voici les règles de réécriture que vous devrez mettre dans votre fichier web.config. Créez un nouveau fichier texte, nommé web.config, dans le dossier racine de votre site. Cliquez sur le champ et appuyez sur Ctrl-a pour tout sélectionner. Insérez ensuite le contenu dans le fichier web.config." - -#: wp-admin/options-permalink.php:278 -msgid "If you temporarily make your site’s root directory writable for us to generate the web.config file automatically, do not forget to revert the permissions after the file has been created." -msgstr "Si vous rendez temporairement le dossier racine accessible en écriture afin que nous y générions directement le fichier web.config,n’oubliez surtout pas de remettre les droits originaux en place une fois que les règles ont été enregistrées." - -#: wp-admin/options-permalink.php:283 -msgid "If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all." -msgstr "Si vous aviez les droits en écriture sur le fichier .htaccess, nous pourrions faire cela automatiquement. Ce n’est pas le cas, donc voici les règles de réécriture que vous devrez mettre dans votre fichier .htaccess. Cliquez sur le champ et appuyez sur Ctrl-a pour tout sélectionner." - -#: wp-admin/options-reading.php:15 -msgid "Reading Settings" -msgstr "Options de lecture" - -#: wp-admin/options-reading.php:112 -msgid "A static page (select below)" -msgstr "Une page statique (choisir ci-dessous)" - -#: wp-admin/options-reading.php:116 -msgid "Front page: %s" -msgstr "Page d’accueil : %s" - -#: wp-admin/options-reading.php:117 -msgid "Posts page: %s" -msgstr "Page des articles : %s" - -#: wp-admin/options-reading.php:120 -msgid "Warning: these pages should not be the same!" -msgstr "Attention : ces pages ne devraient pas être les mêmes !" - -#: wp-admin/options-reading.php:126 -msgid "Blog pages show at most" -msgstr "Les pages du site doivent afficher au plus" - -#: wp-admin/options-reading.php:128 -msgid "posts" -msgstr "articles" - -#: wp-admin/options-reading.php:132 -msgid "Syndication feeds show the most recent" -msgstr "Les flux de syndication affichent les derniers" - -#: wp-admin/options-reading.php:136 wp-admin/options-reading.php:137 -msgid "For each article in a feed, show" -msgstr "Pour chaque article d’un flux, fournir" - -#: wp-admin/options-reading.php:138 -msgid "Full text" -msgstr "Le texte complet" - -#: wp-admin/options-reading.php:139 -msgid "Summary" -msgstr "L’extrait" - -#: wp-admin/options-reading.php:86 -msgid "Encoding for pages and feeds" -msgstr "Encodage pour les pages et les flux RSS" - -#: wp-admin/options-writing.php:15 -msgid "Writing Settings" -msgstr "Options d’écriture" - -#: wp-admin/options-writing.php:66 wp-admin/options-writing.php:67 -msgid "Formatting" -msgstr "Mise en forme" - -#: wp-admin/options-writing.php:70 -msgid "Convert emoticons like :-) and :-P to graphics on display" -msgstr "Convertir les émoticônes, comme :-) et :-P, en images lors de l’affichage" - -#: wp-admin/options-writing.php:71 -msgid "WordPress should correct invalidly nested XHTML automatically" -msgstr "WordPress doit automatiquement corriger les balises XHTML non valides" - -#: wp-admin/options-writing.php:75 -msgid "Default Post Category" -msgstr "Catégorie par défaut des articles" - -#: wp-admin/options-writing.php:101 -msgid "Default Link Category" -msgstr "Catégorie par défaut des liens" - -#: wp-admin/credits.php:189 -msgid "XML-RPC" -msgstr "XML-RPC" - -#: wp-admin/options-writing.php:130 -msgid "Post via e-mail" -msgstr "Envoi d’article par e-mail" - -#: wp-admin/options-writing.php:131 -msgid "To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: %s, %s, %s." -msgstr "Pour publier dans WordPress par e-mail, vous devez définir un compte e-mail secret avec une adresse POP3. Tout e-mail reçu à cette adresse sera publié. Il vaut donc mieux garder cette adresse à l’abri des regards. Voici trois chaînes aléatoires que vous pourriez utiliser : %s, %s, %s." - -#: wp-admin/options-writing.php:135 -msgid "Mail Server" -msgstr "Serveur de messagerie" - -#: wp-admin/options-writing.php:137 -msgid "Port" -msgstr "Port" - -#: wp-admin/options-writing.php:142 -msgid "Login Name" -msgstr "Identifiant" - -#: wp-admin/options-writing.php:152 -msgid "Default Mail Category" -msgstr "Catégorie par défaut des articles envoyés par e-mail" - -#: wp-admin/options-writing.php:44 wp-admin/options-writing.php:173 -msgid "Update Services" -msgstr "Services de mise à jour" - -#: wp-admin/options-writing.php:177 -msgid "When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see Update Services on the Codex. Separate multiple service URLs with line breaks." -msgstr "Quand vous publiez un nouvel article, WordPress peut notifier un service de mise à jour. Une explication se trouve sur la page Update Services du Codex anglophone. Séparez les adresses web par des retours à la ligne." - -#: wp-admin/options.php:212 -msgid "All Settings" -msgstr "Toutes les options" - -#: wp-admin/plugin-editor.php:20 -msgid "Edit Plugins" -msgstr "Modifier les extensions" - -#: wp-admin/plugin-editor.php:115 -msgid "No such file exists! Double check the name and try again." -msgstr "Ce fichier n’existe pas ! Veuillez vérifier son nom et réessayer." - -#: wp-admin/plugin-editor.php:122 -msgid "Files of this type are not editable." -msgstr "Les fichiers de ce type ne sont pas éditables." - -#: wp-admin/plugin-editor.php:167 wp-admin/theme-editor.php:125 -msgid "File edited successfully." -msgstr "Le fichier a bien été modifié." - -#: wp-admin/plugin-editor.php:169 -msgid "This plugin has been deactivated because your changes resulted in a fatal error." -msgstr "Cette extension a été désactivée, car vos modifications ont abouti à une erreur fatale" - -#: wp-admin/plugin-editor.php:184 -msgid "Editing %s (active)" -msgstr "Modification de %s (activé)" - -#: wp-admin/plugin-editor.php:186 -msgid "Browsing %s (active)" -msgstr "Contenu de %s (activé)" - -#: wp-admin/plugin-editor.php:189 -msgid "Editing %s (inactive)" -msgstr "Modification de %s (désactivé)" - -#: wp-admin/plugin-editor.php:191 -msgid "Browsing %s (inactive)" -msgstr "Contenu de %s (désactivée)" - -#: wp-admin/plugin-editor.php:197 -msgid "Select plugin to edit:" -msgstr "Sélectionnez l’extension à modifier :" - -#: wp-admin/plugin-editor.php:219 -msgid "Plugin Files" -msgstr "Fichiers de l’extension" - -#: wp-admin/plugin-editor.php:248 wp-admin/theme-editor.php:207 -msgid "Documentation:" -msgstr "Documentation :" - -#: wp-admin/plugin-editor.php:258 -msgid "Update File and Attempt to Reactivate" -msgstr "Mettre à jour le fichier et tenter de réactiver l’extension" - -#: wp-admin/plugin-editor.php:260 wp-admin/theme-editor.php:220 -msgid "Update File" -msgstr "Mettre à jour le fichier" - -#: wp-admin/plugin-editor.php:265 wp-admin/theme-editor.php:222 -msgid "You need to make this file writable before you can save your changes. See the Codex for more information." -msgstr "Vous devez rendre ce fichier accessible en écriture avant de pouvoir enregistrer vos modifications. Lire la documentation CHMOD pour plus d’informations." - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:65 -msgctxt "Plugin Installer" -msgid "Featured" -msgstr "Mises en avant" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:66 -msgctxt "Plugin Installer" -msgid "Popular" -msgstr "Populaires" - -#: wp-admin/plugins.php:292 -msgid "Are you sure you wish to delete these files?" -msgstr "Voulez-vous vraiment supprimer ces fichiers ?" - -#: wp-admin/plugins.php:302 -msgid "Yes, Delete these files" -msgstr "Oui, supprimer ces fichiers" - -#: wp-admin/plugins.php:305 -msgid "No, Return me to the plugin list" -msgstr "Non, retourner à la liste des extensions" - -#: wp-admin/plugins.php:346 -msgid "Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here." -msgstr "Les extensions étendent les fonctionnalités de WordPress. Une fois une extension installée, vous pouvez l’activer ou la désactiver ici." - -#: wp-admin/plugins.php:354 -msgid "If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated." -msgstr "Si une extension ne fonctionne pas correctement et que vous ne pouvez plus utiliser WordPress, supprimez ou renommez son fichier dans le répertoire %s et elle sera automatiquement désactivée." - -#: wp-admin/plugins.php:371 -msgid "The plugin %s has been deactivated due to an error: %s" -msgstr "L’extension %s a été désactivée suite à l’erreur : %s" - -#: wp-admin/plugins.php:381 -msgid "Plugin could not be activated because it triggered a fatal error." -msgstr "L’extension n’a pu être activée, car elle a déclenché une erreur fatale." - -#: wp-admin/plugins.php:397 -msgid "Plugin could not be deleted due to an error: %s" -msgstr "L’extension n’a pu être supprimée suite à une erreur fatale : %s" - -#: wp-admin/plugins.php:399 -msgid "The selected plugins have been deleted." -msgstr "Les extensions sélectionnées ont été supprimées." - -#: wp-admin/plugins.php:402 -msgid "Plugin activated." -msgstr "Extension activée" - -#: wp-admin/plugins.php:404 -msgid "Selected plugins activated." -msgstr "Les extensions sélectionnées ont été activées." - -#: wp-admin/plugins.php:406 -msgid "Plugin deactivated." -msgstr "Extension désactivée" - -#: wp-admin/plugins.php:408 -msgid "Selected plugins deactivated." -msgstr "Les extensions sélectionnées ont été désactivées." - -#: wp-admin/plugins.php:410 -msgid "No out of date plugins were selected." -msgstr "Aucune extension périmée n’a été sélectionnée." - -#: wp-admin/includes/class-wp-plugins-list-table.php:399 -#: wp-admin/includes/class-wp-plugins-list-table.php:408 -msgid "Deactivate this plugin" -msgstr "Désactiver cette extension" - -#: wp-admin/includes/class-wp-plugins-list-table.php:299 -#: wp-admin/includes/class-wp-plugins-list-table.php:399 -msgid "Network Deactivate" -msgstr "Désactiver du réseau" - -#: wp-admin/includes/class-wp-plugins-list-table.php:402 -#: wp-admin/includes/class-wp-upgrader-skins.php:433 -msgid "Activate this plugin for all sites in this network" -msgstr "Activer cette extension sur tous les sites de ce réseau" - -#: wp-admin/includes/class-wp-plugins-list-table.php:296 -#: wp-admin/includes/class-wp-plugins-list-table.php:402 -#: wp-admin/includes/class-wp-upgrader-skins.php:433 -msgid "Network Activate" -msgstr "Activer sur le réseau" - -#: wp-admin/includes/class-wp-plugins-list-table.php:419 -msgid "Open this file in the Plugin Editor" -msgstr "Ouvrir ce fichier dans l’éditeur d’extension" - -#: wp-admin/includes/class-wp-plugins-list-table.php:404 -#: wp-admin/includes/class-wp-plugins-list-table.php:413 -msgid "Delete this plugin" -msgstr "Supprimer cette extension" - -#: wp-admin/includes/class-wp-plugins-list-table.php:534 -msgid "Visit plugin site" -msgstr "Aller sur le site de l’extension" - -#: wp-admin/includes/class-wp-plugins-list-table.php:329 -msgid "Clear List" -msgstr "Vider la liste" - -#: wp-admin/includes/class-wp-plugins-list-table.php:256 -msgctxt "plugins" -msgid "All (%s)" -msgid_plural "All (%s)" -msgstr[0] "Toutes (%s)" -msgstr[1] "Toutes (%s)" - -#: wp-admin/includes/class-wp-plugins-list-table.php:259 -msgid "Active (%s)" -msgid_plural "Active (%s)" -msgstr[0] "Activée (%s)" -msgstr[1] "Activées (%s)" - -#: wp-admin/includes/class-wp-plugins-list-table.php:262 -msgid "Recently Active (%s)" -msgid_plural "Recently Active (%s)" -msgstr[0] "Récemment désactivée (%s)" -msgstr[1] "Récemment désactivées (%s)" - -#: wp-admin/includes/class-wp-plugins-list-table.php:265 -msgid "Inactive (%s)" -msgid_plural "Inactive (%s)" -msgstr[0] "Désactivée (%s)" -msgstr[1] "Désactivées (%s)" - -#: wp-admin/includes/class-wp-plugins-list-table.php:227 -msgid "No plugins found." -msgstr "Aucune extension trouvée." - -#: wp-admin/includes/class-wp-plugins-list-table.php:229 -#: wp-admin/plugin-editor.php:32 -msgid "You do not appear to have any plugins available at this time." -msgstr "Vous ne semblez pas avoir d’extension disponible en ce moment." - -#: wp-admin/edit-tags.php:123 wp-admin/edit-tags.php:138 wp-admin/post.php:148 -msgid "You attempted to edit an item that doesn’t exist. Perhaps it was deleted?" -msgstr "Vous tentez de modifier un contenu qui n’existe pas. Peut-être a-t-il été supprimé ?" - -#: wp-admin/async-upload.php:56 wp-admin/edit-tags.php:247 -#: wp-admin/includes/post.php:1651 wp-admin/post.php:154 -msgid "You are not allowed to edit this item." -msgstr "Vous n’avez pas l’autorisation de modifier ce contenu." - -#: wp-admin/post.php:157 -msgid "You can’t edit this item because it is in the Trash. Please restore it and try again." -msgstr "Vous ne pouvez pas modifier ce contenu, car il est dans la Corbeille. Sortez-l’en, puis réessayez." - -#: wp-admin/async-upload.php:54 wp-admin/post.php:151 wp-admin/post.php:247 -#: wp-admin/post.php:270 wp-admin/post.php:288 -msgid "Unknown post type." -msgstr "Type de contenu inconnu." - -#: wp-admin/press-this.php:125 -msgid "Embed Code" -msgstr "Code d'intégration" - -#: wp-admin/press-this.php:128 -msgid "Insert Video" -msgstr "Insérer la vidéo" - -#: wp-admin/press-this.php:154 -msgid "Click to insert." -msgstr "Cliquez pour insérer." - -#: wp-admin/press-this.php:227 -msgid "Unable to retrieve images or no images on page." -msgstr "Impossible de récupérer d’image ou il n’y a pas d’image dans cette page." - -#: wp-admin/press-this.php:288 -msgid "click images to select" -msgstr "cliquez sur les images pour les sélectionner" - -#: wp-admin/press-this.php:288 -msgid "Add from URL" -msgstr "Ajouter depuis une adresse web" - -#: wp-admin/press-this.php:611 -msgid "Your post has been saved." -msgstr "Votre article a été enregistré." - -#: wp-admin/press-this.php:612 -msgid "View post" -msgstr "Afficher l’article" - -#: wp-admin/press-this.php:614 -msgid "Close Window" -msgstr "Fermer la fenêtre" - -#: wp-admin/press-this.php:656 wp-admin/press-this.php:657 -msgid "Insert an Image" -msgstr "Insérer une image" - -#: wp-admin/press-this.php:661 -msgid "Embed a Video" -msgstr "Ajouter un vidéo" - -#: wp-admin/press-this.php:644 -msgid "via " -msgstr "via" - -#: wp-admin/revision.php:77 -msgid "Compare Revisions of “%1$s”" -msgstr "Comparer les versions de « %1$s »" - -#: wp-admin/themes.php:349 -msgid "Tags:" -msgstr "Mots-clés :" - -#: wp-admin/theme-editor.php:20 -msgid "Edit Themes" -msgstr "Modifier les thèmes" - -#: wp-admin/theme-editor.php:56 wp-admin/theme-editor.php:59 -msgid "The requested theme does not exist." -msgstr "Le thème demandé n’existe pas." - -#: wp-admin/theme-editor.php:142 -msgid "Select theme to edit:" -msgstr "Sélectionnez le thème à modifier :" - -#: wp-admin/theme-editor.php:168 -msgid "Templates" -msgstr "Modèles" - -#: wp-admin/theme-editor.php:195 -msgid "Oops, no such file exists! Double check the name and try again, merci." -msgstr "Oops, ce fichier n’existe pas ! Vérifiez son nom et réessayez, merci." - -#: wp-admin/themes.php:132 -msgid "New theme activated. Visit site" -msgstr "Nouveau thème activé. Voir le site" - -#: wp-admin/themes.php:135 -msgid "Theme deleted." -msgstr "Thème supprimé." - -#: wp-admin/themes.php:331 -msgid "Current Theme" -msgstr "Thème actuel" - -#: wp-admin/includes/class-wp-themes-list-table.php:169 -msgid "" -"You are about to delete this theme '%s'\n" -" 'Cancel' to stop, 'OK' to delete." -msgstr "" -"Vous êtes sur le point de supprimer le thème « %s ».\n" -" « Annuler » pour abandonner, « OK » pour le supprimer." - -#: wp-admin/themes.php:246 -msgid "Broken Themes" -msgstr "Thèmes endommagés" - -#: wp-admin/options-writing.php:117 wp-admin/tools.php:41 -msgid "Press This is a bookmarklet: a little app that runs in your browser and lets you grab bits of the web." -msgstr "Ceci est un bookmarklet : une petite application qui se lance dans votre navigateur, et vous permet de récupérer des portions du Web pour les bloguer." - -#: wp-admin/options-writing.php:119 wp-admin/tools.php:44 -msgid "Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut." -msgstr "Glissez le lien suivant dans votre barre de favoris, ou faites un clic-droit et ajoutez-le à vos favoris pour obtenir un raccourci de publication." - -#: wp-admin/update-core.php:47 -msgid "Download nightly build" -msgstr "Télécharger la dernière version de développement" - -#: wp-admin/update-core.php:71 -msgid "Download %s" -msgstr "Télécharger la version %s" - -#: wp-admin/update-core.php:93 -msgid "Hide this update" -msgstr "Masquer cette mise à jour" - -#: wp-admin/update-core.php:95 -msgid "Bring back this update" -msgstr "Réafficher cette mise à jour" - -#: wp-admin/update-core.php:98 -msgid "This localized version contains both the translation and various other localization fixes. You can skip upgrading if you want to keep your current translation." -msgstr "Cette version localisée contient à la fois la traduction et divers correctifs liés à la localisation. Si vous souhaitez conserver votre traduction actuelle, vous pouvez ne pas utiliser cette version." - -#: wp-admin/update-core.php:111 wp-admin/update-core.php:123 -msgid "Show hidden updates" -msgstr "Afficher les mises à jour cachées" - -#: wp-admin/update-core.php:112 -msgid "Hide hidden updates" -msgstr "Masquer les mises à jour cachées" - -#: wp-admin/update-core.php:246 -msgid "Compatibility with WordPress %1$s: 100%% (according to its author)" -msgstr "Compatibilité avec WordPress %1$s : 100%% (selon l’auteur)" - -#: wp-admin/update-core.php:249 wp-admin/update-core.php:257 -msgid "Compatibility with WordPress %1$s: %2$d%% (%3$d \"works\" votes out of %4$d total)" -msgstr "Compatibilité avec WordPress %1$s : %2$d%% (%3$d votes « ça marche » sur un total de %4$d)" - -#: wp-admin/update-core.php:251 wp-admin/update-core.php:259 -msgid "Compatibility with WordPress %1$s: Unknown" -msgstr "Compatibilité avec WordPress %1$s : inconnue" - -#: wp-admin/includes/class-wp-upgrader.php:2090 wp-admin/update-core.php:415 -msgid "Installation Failed" -msgstr "Échec de l'installation" - -#: wp-admin/update.php:80 -msgid "Plugin Reactivation" -msgstr "Réactivation d’extension" - -#: wp-admin/update.php:82 -msgid "Plugin reactivated successfully." -msgstr "L’extension a bien été réactivée." - -#: wp-admin/update.php:85 -msgid "Plugin failed to reactivate due to a fatal error." -msgstr "L’extension n’a pu être réactivée suite à une erreur fatale." - -#: wp-admin/update.php:111 -msgid "Installing Plugin: %s" -msgstr "Extension en cours d’installation : %s" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:74 -#: wp-admin/plugin-install.php:104 wp-admin/update.php:134 -msgid "Upload Plugin" -msgstr "Ajouter une extension" - -#: wp-admin/update.php:139 -msgid "Installing Plugin from uploaded file: %s" -msgstr "Installation de l’extension à partir du fichier : %s" - -#: wp-admin/update.php:219 -msgid "Installing Theme: %s" -msgstr "Installation du thème : %s" - -#: wp-admin/theme-install.php:55 wp-admin/theme-install.php:123 -#: wp-admin/theme-install.php:125 wp-admin/update.php:241 -msgid "Upload Theme" -msgstr "Mettre un thème en ligne" - -#: wp-admin/update.php:247 -msgid "Installing Theme from uploaded file: %s" -msgstr "Installation du thème à partir du fichier : %s" - -#: wp-admin/upgrade.php:67 -msgid "Your WordPress database is already up-to-date!" -msgstr "Votre base de données WordPress est déjà à jour !" - -#: wp-admin/upgrade.php:104 -msgid "%s queries" -msgstr "%s requêtes" - -#: wp-admin/upgrade.php:106 -msgid "%s seconds" -msgstr "%s secondes" - -#: wp-admin/upload.php:147 -msgid "You are not allowed to move this post to the trash." -msgstr "Vous n’avez pas l’autorisation de déplacer cet article dans la Corbeille." - -#: wp-admin/upload.php:159 -msgid "You are not allowed to move this post out of the trash." -msgstr "Vous n’avez pas l’autorisation de sortir cet article de la Corbeille." - -#: wp-admin/upload.php:171 -msgid "You are not allowed to delete this post." -msgstr "Vous n’avez pas l’autorisation de supprimer cet article." - -#: wp-admin/upload.php:245 -msgid "Reattached %d attachment." -msgid_plural "Reattached %d attachments." -msgstr[0] "Rattachement de %d fichier attaché." -msgstr[1] "Rattachement de %d fichiers attachés." - -#: wp-admin/upload.php:250 -msgid "Media attachment permanently deleted." -msgid_plural "%d media attachments permanently deleted." -msgstr[0] "Média définitivement supprimé." -msgstr[1] "%d médias définitivement supprimés." - -#: wp-admin/upload.php:255 -msgid "Media attachment moved to the trash." -msgid_plural "%d media attachments moved to the trash." -msgstr[0] "Fichier média déplacé dans la Corbeille." -msgstr[1] "%d fichiers médias déplacés dans la Corbeille." - -#: wp-admin/upload.php:261 -msgid "Media attachment restored from the trash." -msgid_plural "%d media attachments restored from the trash." -msgstr[0] "Fichier média récupéré depuis la Corbeille." -msgstr[1] "%d fichiers médias récupérés depuis la Corbeille." - -#: wp-admin/upload.php:266 -msgid "Media permanently deleted." -msgstr "Média définitivement supprimé." - -#: wp-admin/upload.php:267 -msgid "Error saving media attachment." -msgstr "Erreur lors de la sauvegarde du fichier attaché." - -#: wp-admin/upload.php:268 -msgid "Media moved to the trash." -msgstr "Fichier média déplacé dans la Corbeille." - -#: wp-admin/upload.php:269 -msgid "Media restored from the trash." -msgstr "Fichier média récupéré depuis la Corbeille." - -#: wp-admin/includes/class-wp-media-list-table.php:87 -msgid "Attach to a post" -msgstr "Joindre à un article" - -#: wp-admin/user-edit.php:28 -msgid "Edit User" -msgstr "Modifier l’utilisateur" - -#: wp-admin/user-edit.php:71 -msgid "Use https" -msgstr "Utiliser https" - -#: wp-admin/user-edit.php:72 -msgid "Always use https when visiting the admin" -msgstr "Toujours utiliser https lors de l’utilisation de l’administration" - -#: wp-admin/user-edit.php:95 wp-admin/user-edit.php:124 -#: wp-admin/user-edit.php:188 -msgid "You do not have permission to edit this user." -msgstr "Vous n’avez pas l’autorisation de modifier cet utilisateur." - -#: wp-admin/user-edit.php:201 -msgid "User updated." -msgstr "Utilisateur mis à jour." - -#: wp-admin/user-edit.php:241 -msgid "Personal Options" -msgstr "Options personnelles" - -#: wp-admin/user-edit.php:246 -msgid "Visual Editor" -msgstr "Éditeur visuel" - -#: wp-admin/user-edit.php:247 -msgid "Disable the visual editor when writing" -msgstr "Désactiver l’éditeur visuel pour écrire" - -#: wp-admin/includes/misc.php:615 wp-admin/user-edit.php:252 -msgid "Admin Color Scheme" -msgstr "Couleurs de l’interface d’administration" - -#: wp-admin/user-edit.php:270 -msgid "Enable keyboard shortcuts for comment moderation." -msgstr "Activer les raccourcis clavier pour la modération de commentaires." - -#: wp-admin/user-edit.php:348 wp-admin/user-new.php:367 -msgid "First Name" -msgstr "Prénom" - -#: wp-admin/user-edit.php:353 wp-admin/user-new.php:371 -msgid "Last Name" -msgstr "Nom" - -#: wp-admin/user-edit.php:358 -msgid "Nickname" -msgstr "Pseudonyme" - -#: wp-admin/user-edit.php:363 -msgid "Display name publicly as" -msgstr "Nom à afficher publiquement" - -#: wp-admin/user-edit.php:399 -msgid "Contact Info" -msgstr "Informations de contact" - -#: wp-admin/user-edit.php:444 -msgid "About Yourself" -msgstr "À propos de vous" - -#: wp-admin/user-edit.php:444 -msgid "About the user" -msgstr "À propos de l’utilisateur" - -#: wp-admin/user-edit.php:448 -msgid "Biographical Info" -msgstr "Renseignements biographiques" - -#: wp-admin/user-edit.php:450 -msgid "Share a little biographical information to fill out your profile. This may be shown publicly." -msgstr "Donnez quelques informations biographiques pour remplir votre profil. Ceci peut être affiché publiquement." - -#: wp-admin/user-edit.php:459 -msgid "New Password" -msgstr "Nouveau mot de passe" - -#: wp-admin/user-edit.php:463 -msgid "If you would like to change the password type a new one. Otherwise leave this blank." -msgstr "Si vous souhaitez changer le mot de passe de l’utilisateur, tapez en un nouveau deux fois de suite ci-dessous. Sinon, laissez les champs vides." - -#: wp-admin/user-edit.php:470 -msgid "Type your new password again." -msgstr "Veuillez saisir une deuxième fois votre mot de passe." - -#: wp-admin/user-edit.php:519 -msgid "Additional Capabilities" -msgstr "Fonctionnalités complémentaires" - -#: wp-admin/user-edit.php:543 -msgid "Update Profile" -msgstr "Mettre à jour le profil" - -#: wp-admin/user-edit.php:543 -msgid "Update User" -msgstr "Mettre à jour l’utilisateur" - -#: wp-admin/user-new.php:88 -msgid "[%s] Joining confirmation" -msgstr "[%s] Confirmation d'inscription" - -#: wp-admin/user-new.php:211 -msgid "Invitation email sent to new user. A confirmation link must be clicked before their account is created." -msgstr "Envoi d’un message d’invitation au nouvel utilisateur. Un lien de confirmation devra d’abord être cliqué avant la création du compte." - -#: wp-admin/user-new.php:404 -msgid "Send Password?" -msgstr "Envoyer le mot de passe ?" - -#: wp-admin/user-new.php:405 -msgid "Send this password to the new user by email." -msgstr "Envoyer ce mot de passe au nouvel utilisateur sur son adresse de messagerie." - -#: wp-admin/user-new.php:309 wp-admin/user-new.php:422 -msgid "Skip Confirmation Email" -msgstr "Passer la confirmation par e-mail" - -#: wp-admin/users.php:104 wp-admin/users.php:121 -msgid "You can’t edit that user." -msgstr "Vous ne pouvez pas modifier cet utilisateur." - -#: wp-admin/users.php:161 wp-admin/users.php:201 -msgid "You can’t delete users." -msgstr "Vous ne pouvez pas supprimer d’utilisateurs." - -#: wp-admin/users.php:217 -msgid "Delete Users" -msgstr "Supprimer des utilisateurs" - -#: wp-admin/users.php:260 -msgid "There are no valid users selected for deletion." -msgstr "Aucun utilisateur valide n’est sélectionné pour la suppression." - -#: wp-admin/users.php:390 -msgid "New user created." -msgstr "Le nouvel utilisateur a été créé." - -#: wp-admin/users.php:397 -msgid "The current user’s role must have user editing capabilities." -msgstr "L’utilisateur courant doit avoir un niveau lui permettant de modifier les utilisateurs." - -#: wp-admin/users.php:398 -msgid "Other user roles have been changed." -msgstr "Les rôles des autres utilisateurs ont été modifiés." - -#: wp-admin/users.php:401 -msgid "You can’t delete the current user." -msgstr "Vous ne pouvez pas supprimer l’utilisateur courant." - -#: wp-admin/users.php:402 -msgid "Other users have been deleted." -msgstr "Les autres utilisateurs ont été supprimés." - -#. translators: User role name with count -#: wp-admin/includes/class-wp-users-list-table.php:169 -msgid "%1$s (%2$s)" -msgstr "%1$s (%2$s)" - -#: wp-admin/includes/class-wp-users-list-table.php:213 -#: wp-admin/includes/class-wp-users-list-table.php:215 -msgid "Change role to…" -msgstr "Changer de rôle pour…" - -#: wp-admin/includes/class-wp-users-list-table.php:219 -msgid "Change" -msgstr "Changer" - -#: wp-admin/widgets.php:111 -msgid "Inactive Widgets" -msgstr "Widgets désactivés" - -#: wp-admin/widgets.php:78 -msgid "The theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please follow these instructions." -msgstr "Le thème que vous utilisez n’est pas conçu pour les widgets, ce qui signifie qu’il ne dispose pas d’une colonne latérale que vous pouvez modifier. Pour obtenir des informations sur la manière de rendre votre thème compatible avec les widgets, lisez ces instructions." - -#: wp-admin/widgets.php:235 -msgid "Widget %s" -msgstr "Widget %s" - -#: wp-admin/widgets.php:246 -msgid "Select both the sidebar for this widget and the position of the widget in that sidebar." -msgstr "Sélectionnez à la fois la colonne latérale pour ce widget, et la position du widget dans cette colonne latérale." - -#: wp-admin/custom-background.php:331 wp-admin/widgets.php:248 -msgid "Position" -msgstr "Position" - -#: wp-admin/widgets.php:286 -msgid "Save Widget" -msgstr "Enregistrer le widget" - -#: wp-admin/widgets.php:302 -msgid "Changes saved." -msgstr "Modifications enregistrées." - -#: wp-admin/includes/misc.php:816 wp-admin/includes/post.php:1645 -#: wp-admin/widgets.php:306 -msgid "Error while saving." -msgstr "Erreur lors de la sauvegarde." - -#: wp-admin/widgets.php:307 -msgid "Error in displaying the widget settings form." -msgstr "Une erreur est survenue durant l’affichage du formulaire de paramétrage du widget." - -#: wp-admin/widgets.php:335 -msgid "Available Widgets" -msgstr "Widgets disponibles" - -#: wp-admin/widgets.php:114 -msgid "Drag widgets here to remove them from the sidebar but keep their settings." -msgstr "Glissez ici les widgets que vous voulez retirer de la colonne latérale, tout en conservant leurs réglages actuels." - -#: wp-admin/export.php:162 -msgid "Categories:" -msgstr "Catégories :" - -#: wp-admin/comment.php:132 -msgid "Permanently Delete Comment" -msgstr "Supprimer définitivement le commentaire" - -#: wp-admin/comment.php:135 -msgid "You are about to approve the following comment:" -msgstr "Vous êtes sur le point d’approuver le commentaire suivant :" - -#: wp-admin/comment.php:136 -msgid "Approve Comment" -msgstr "Approuver le commentaire" - -#: wp-admin/comment.php:295 -msgid "Unknown action." -msgstr "Action inconnue." - -#: wp-admin/custom-background.php:234 wp-admin/includes/theme.php:211 -msgid "Custom Background" -msgstr "Arrière-plan personnalisé" - -#: wp-admin/custom-background.php:238 -msgid "Background updated. Visit your site to see how it looks." -msgstr "L’arrière-plan a été mis à jour. Afficher votre site pour voir le rendu." - -#: wp-admin/custom-background.php:307 wp-admin/custom-header.php:590 -msgid "Choose an image from your computer:" -msgstr "Choisissez une image sur votre ordinateur :" - -#: wp-admin/includes/template.php:1823 wp-admin/nav-menus.php:615 -#: wp-admin/options.php:259 -msgid "Save Changes" -msgstr "Enregistrer les modifications" - -#: wp-admin/custom-header.php:523 wp-admin/includes/theme.php:213 -msgid "Custom Header" -msgstr "Personnalisation de l’en-tête" - -#: wp-admin/custom-header.php:527 -msgid "Header updated. Visit your site to see how it looks." -msgstr "L’en-tête a été mis à jour. Visiter le site pour voir son nouvel aspect." - -#: wp-admin/custom-header.php:797 wp-admin/custom-header.php:921 -msgid "Image Processing Error" -msgstr "Erreur lors du traitement de l’image" - -#: wp-admin/custom-header.php:814 -msgid "Choose the part of the image you want to use as your header." -msgstr "Choisissez la partie de l’image que vous voulez utiliser comme en-tête." - -#: wp-admin/custom-header.php:975 -msgid "You do not have permission to customize headers." -msgstr "Vous n’avez pas l’autorisation de personnaliser les en-têtes." - -#: wp-admin/includes/class-wp-links-list-table.php:151 -#: wp-admin/includes/class-wp-media-list-table.php:334 -#: wp-admin/includes/class-wp-media-list-table.php:352 -#: wp-admin/includes/class-wp-posts-list-table.php:633 -#: wp-admin/includes/class-wp-terms-list-table.php:303 -#: wp-admin/includes/dashboard.php:508 -msgid "Edit “%s”" -msgstr "Modifier avec « %s »" - -#: wp-admin/includes/class-wp-media-list-table.php:526 -#: wp-admin/includes/class-wp-media-list-table.php:545 -#: wp-admin/includes/class-wp-posts-list-table.php:680 -msgid "View “%s”" -msgstr "Afficher « %s »" - -#: wp-admin/includes/class-wp-media-list-table.php:390 -#: wp-admin/includes/class-wp-posts-list-table.php:724 -msgid "Unpublished" -msgstr "Non publié" - -#: wp-admin/includes/class-wp-posts-list-table.php:727 -msgid "Y/m/d g:i:s A" -msgstr "d/m/Y \\à G \\h i \\m\\i\\n s \\s" - -#: wp-admin/includes/class-wp-media-list-table.php:396 -msgid "%s from now" -msgstr "%s à partir de maintenant" - -#: wp-admin/includes/class-wp-media-list-table.php:430 -msgid "(Unattached)" -msgstr "(Non attaché)" - -#: wp-admin/includes/class-wp-media-list-table.php:435 -#: wp-admin/includes/class-wp-media-list-table.php:528 -msgid "Attach" -msgstr "Joindre" - -#: wp-admin/includes/class-wp-list-table.php:559 -msgid "%s pending" -msgstr "%s en attente" - -#: wp-admin/edit-comments.php:185 -msgid "%s comment approved" -msgid_plural "%s comments approved" -msgstr[0] "%s commentaire approuvé" -msgstr[1] "%s commentaires approuvés" - -#: wp-admin/edit-comments.php:189 -msgid "%s comment marked as spam." -msgid_plural "%s comments marked as spam." -msgstr[0] "%s commentaire marqué comme indésirable." -msgstr[1] "%s commentaires marqués comme indésirables." - -#: wp-admin/edit-comments.php:193 -msgid "%s comment restored from the spam" -msgid_plural "%s comments restored from the spam" -msgstr[0] "%s commentaire rétabli depuis les commentaires indésirables" -msgstr[1] "%s commentaires rétablis depuis les commentaires indésirables" - -#: wp-admin/edit-comments.php:204 -msgid "%s comment permanently deleted" -msgid_plural "%s comments permanently deleted" -msgstr[0] "%s commentaire supprimé définitivement" -msgstr[1] "%s commentaires supprimés définitivement" - -#: wp-admin/includes/class-wp-comments-list-table.php:169 -msgctxt "comments" -msgid "All" -msgid_plural "All" -msgstr[0] "Tout" -msgstr[1] "Tout" - -#: wp-admin/includes/class-wp-comments-list-table.php:170 -msgid "Pending (%s)" -msgid_plural "Pending (%s)" -msgstr[0] "En attente (%s)" -msgstr[1] "En attente (%s)" - -#: wp-admin/includes/class-wp-comments-list-table.php:171 -msgid "Approved" -msgid_plural "Approved" -msgstr[0] "Approuvé" -msgstr[1] "Approuvés" - -#: wp-admin/includes/class-wp-comments-list-table.php:172 -msgid "Spam (%s)" -msgid_plural "Spam (%s)" -msgstr[0] "Indésirable (%s)" -msgstr[1] "Indésirables (%s)" - -#: wp-admin/includes/class-wp-comments-list-table.php:173 -msgid "Trash (%s)" -msgid_plural "Trash (%s)" -msgstr[0] "Corbeille (%s)" -msgstr[1] "Corbeille (%s)" - -#: wp-admin/edit-comments.php:229 -msgid "Search Comments" -msgstr "Chercher un commentaire" - -#: wp-admin/includes/deprecated.php:594 -msgid "Displaying %s–%s of %s" -msgstr "Affichage de %s à %s sur %s" - -#: wp-admin/edit.php:197 wp-admin/includes/class-wp-list-table.php:398 -msgid "Bulk Actions" -msgstr "Actions groupées" - -#: wp-admin/includes/class-wp-comments-list-table.php:219 -#: wp-admin/includes/class-wp-comments-list-table.php:450 -#: wp-admin/includes/class-wp-comments-list-table.php:455 -#: wp-admin/includes/dashboard.php:553 -msgid "Unapprove" -msgstr "Désapprouver" - -#: wp-admin/includes/class-wp-comments-list-table.php:221 -#: wp-admin/includes/class-wp-comments-list-table.php:452 -#: wp-admin/includes/class-wp-comments-list-table.php:454 -#: wp-admin/includes/dashboard.php:552 -msgid "Approve" -msgstr "Approuver" - -#: wp-admin/edit-form-comment.php:116 -#: wp-admin/includes/class-wp-comments-list-table.php:233 -#: wp-admin/includes/class-wp-posts-list-table.php:210 -#: wp-admin/includes/media.php:1433 wp-admin/includes/meta-boxes.php:238 -msgid "Move to Trash" -msgstr "Déplacer dans la Corbeille" - -#: wp-admin/includes/class-wp-comments-list-table.php:257 -#: wp-admin/includes/class-wp-posts-list-table.php:1139 -msgid "Pings" -msgstr "Pings" - -#: wp-admin/includes/class-wp-comments-list-table.php:271 -#: wp-admin/includes/class-wp-links-list-table.php:82 -#: wp-admin/includes/class-wp-media-list-table.php:106 -#: wp-admin/includes/class-wp-posts-list-table.php:246 -msgid "Filter" -msgstr "Filtrer" - -#: wp-admin/includes/class-wp-comments-list-table.php:276 -msgid "Empty Spam" -msgstr "Supprimer tous les indésirables" - -#: wp-admin/includes/class-wp-comments-list-table.php:276 -#: wp-admin/includes/class-wp-media-list-table.php:110 -#: wp-admin/includes/class-wp-posts-list-table.php:250 -msgid "Empty Trash" -msgstr "Vider la Corbeille" - -#: wp-admin/includes/class-wp-comments-list-table.php:158 -msgid "No comments found." -msgstr "Aucun commentaire trouvé." - -#: wp-admin/edit-form-advanced.php:66 -msgid "Post updated. View post" -msgstr "Article mis à jour. Afficher l’article" - -#: wp-admin/edit-form-advanced.php:67 wp-admin/edit-form-advanced.php:83 -msgid "Custom field updated." -msgstr "Champ personnalisé mis à jour." - -#: wp-admin/edit-form-advanced.php:68 wp-admin/edit-form-advanced.php:84 -msgid "Custom field deleted." -msgstr "Champ personnalisé supprimé." - -#: wp-admin/edit-form-advanced.php:69 -msgid "Post updated." -msgstr "Article mis à jour." - -#. translators: %s: date and time of the revision -#: wp-admin/edit-form-advanced.php:71 -msgid "Post restored to revision from %s" -msgstr "Article rétabli à partir de la révision du %s" - -#: wp-admin/edit-form-advanced.php:72 -msgid "Post published. View post" -msgstr "Article publié. Afficher l’article" - -#: wp-admin/edit-form-advanced.php:73 -msgid "Post saved." -msgstr "Article enregistré." - -#: wp-admin/edit-form-advanced.php:74 -msgid "Post submitted. Preview post" -msgstr "Article proposé. Prévisualiser l’article" - -#: wp-admin/edit-form-advanced.php:75 -msgid "Post scheduled for: %1$s. Preview post" -msgstr "Article prévu pour le : %1$s. Prévisualiser l’article" - -#. translators: Publish box date format, see http:php.net/date -#: wp-admin/edit-form-advanced.php:77 wp-admin/edit-form-advanced.php:90 -#: wp-admin/edit-form-comment.php:103 wp-admin/includes/meta-boxes.php:165 -#: wp-admin/includes/meta-boxes.php:296 wp-admin/includes/revision.php:171 -msgid "M j, Y @ G:i" -msgstr "j F Y \\à G \\h i \\m\\i\\n" - -#: wp-admin/edit-form-advanced.php:78 -msgid "Post draft updated. Preview post" -msgstr "Brouillon d’article mis à jour. Prévisualiser l’article" - -#: wp-admin/edit-form-advanced.php:82 -msgid "Page updated. View page" -msgstr "Page mise à jour. Afficher la page" - -#: wp-admin/edit-form-advanced.php:85 -msgid "Page updated." -msgstr "Page mise à jour." - -#: wp-admin/edit-form-advanced.php:86 -msgid "Page restored to revision from %s" -msgstr "Page rétablie à partir de la révision du %s" - -#: wp-admin/edit-form-advanced.php:87 -msgid "Page published. View page" -msgstr "Page publiée. Afficher la page" - -#: wp-admin/edit-form-advanced.php:89 -msgid "Page submitted. Preview page" -msgstr "Page proposée. Prévisualiser la page" - -#: wp-admin/edit-form-advanced.php:90 -msgid "Page scheduled for: %1$s. Preview page" -msgstr "Page prévue pour le : %1$s. Afficher la page" - -#: wp-admin/edit-form-advanced.php:91 -msgid "Page draft updated. Preview page" -msgstr "Brouillon de page mis à jour. Prévisualiser la page" - -#: wp-admin/edit-form-advanced.php:202 -msgid "Send Trackbacks" -msgstr "Envoyer des rétroliens" - -#: wp-admin/edit-form-advanced.php:205 -msgid "Custom Fields" -msgstr "Champs personnalisés" - -#: wp-admin/edit-form-advanced.php:218 wp-admin/menu.php:225 -msgid "Discussion" -msgstr "Discussion" - -#: wp-admin/edit-form-advanced.php:224 -#: wp-admin/includes/class-wp-posts-list-table.php:954 -#: wp-admin/includes/class-wp-terms-list-table.php:134 -#: wp-admin/includes/class-wp-terms-list-table.php:431 -#: wp-admin/includes/meta-boxes.php:665 -msgid "Slug" -msgstr "Identifiant" - -#: wp-admin/edit-form-advanced.php:523 wp-admin/includes/ajax-actions.php:2055 -msgid "Last edited by %1$s on %2$s at %3$s" -msgstr "Dernière modification par %1$s, le %2$s à %3$s" - -#: wp-admin/edit-form-advanced.php:525 wp-admin/includes/ajax-actions.php:2057 -msgid "Last edited on %1$s at %2$s" -msgstr "Dernière modification le %1$s à %2$s" - -#: wp-admin/edit-form-comment.php:81 -msgid "View Comment" -msgstr "Afficher le commentaire" - -#: wp-admin/edit-form-comment.php:104 -msgid "Submitted on: %1$s" -msgstr "Envoyé le : %1$s" - -#: wp-admin/includes/template.php:470 -msgid "Update Comment" -msgstr "Mettre à jour le commentaire" - -#: wp-admin/edit-form-comment.php:32 -msgid "Name:" -msgstr "Nom :" - -#: wp-admin/edit-form-comment.php:39 -msgid "E-mail (%s):" -msgstr "E-mail (%s) : " - -#: wp-admin/edit-form-comment.php:39 -msgid "send e-mail" -msgstr "envoyer l’e-mail" - -#: wp-admin/edit-form-comment.php:41 -msgid "E-mail:" -msgstr "E-mail :" - -#: wp-admin/edit-form-comment.php:50 -msgid "visit site" -msgstr "aller sur le site" - -#: wp-admin/edit-form-comment.php:52 -msgid "URL (%s):" -msgstr "Adresse web (%s) :" - -#: wp-admin/edit-form-comment.php:54 -msgid "URL:" -msgstr "Adresse web :" - -#: wp-admin/edit-tag-form.php:101 wp-admin/edit-tags.php:457 -msgid "The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens." -msgstr "L’identifiant est la version normalisée du nom. Il ne contient généralement que des lettres minuscules non accentuées, des chiffres et des traits d’union." - -#: wp-admin/edit-tag-form.php:118 wp-admin/edit-tags.php:504 -msgid "The description is not prominent by default; however, some themes may show it." -msgstr "La description n’est pas très utilisée par défaut, cependant de plus en plus de thèmes l’affichent." - -#: wp-admin/edit-link-form.php:14 -msgid "Links / Edit Link" -msgstr "Liens / Modifier le lien" - -#: wp-admin/edit-link-form.php:15 wp-admin/includes/meta-boxes.php:809 -msgid "Update Link" -msgstr "Mettre à jour le lien" - -#: wp-admin/edit-link-form.php:19 -msgid "Links / Add New Link" -msgstr "Liens / Ajouter un nouveau lien" - -#: wp-admin/edit-link-form.php:30 wp-admin/includes/nav-menu.php:174 -#: wp-admin/includes/nav-menu.php:1221 -msgid "Link Relationship (XFN)" -msgstr "Relation avec le propriétaire du site lié (XFN)" - -#: wp-admin/edit-link-form.php:76 -msgid "Link added." -msgstr "Lien ajouté." - -#: wp-admin/edit-link-form.php:97 -msgid "Example: Nifty blogging software" -msgstr "Exemple : Logiciel de création de sites rapide, puissant et efficace" - -#: wp-admin/edit-link-form.php:102 -msgid "Web Address" -msgstr "Adresse web" - -#: wp-admin/edit-link-form.php:105 -msgid "Example: http://wordpress.org/ — don’t forget the http://" -msgstr "Exemple : http://www.wordpress-fr.net/ — Et n’oubliez pas le http:// !" - -#: wp-admin/edit-link-form.php:113 -msgid "This will be shown when someone hovers over the link in the blogroll, or optionally below the link." -msgstr "Cette description sera affichée lors du survol du lien dans la liste de liens ; elle pourra également apparaître sous le lien si votre thème le prévoit." - -#: wp-admin/edit-tag-form.php:86 wp-admin/edit-tags.php:451 -msgid "The name is how it appears on your site." -msgstr "Ce nom est utilisé un peu partout sur votre site." - -#: wp-admin/edit-tag-form.php:110 wp-admin/edit-tags.php:497 -msgid "Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional." -msgstr "Les catégories, contrairement aux mots-clés, peuvent avoir une hiérarchie. Vous pouvez avoir une catégorie nommée Jazz, et à l’intérieur, plusieurs catégories comme Bebop et Big Band. Ceci est totalement facultatif." - -#: wp-admin/edit-tags.php:252 -msgid "Item added." -msgstr "Contenu ajouté." - -#: wp-admin/edit-tags.php:253 -msgid "Item deleted." -msgstr "Contenu supprimé." - -#: wp-admin/edit-tags.php:254 -msgid "Item updated." -msgstr "Contenu mis à jour." - -#: wp-admin/edit-tags.php:255 -msgid "Item not added." -msgstr "Contenu non ajouté." - -#: wp-admin/edit-tags.php:257 -msgid "Items deleted." -msgstr "Élements supprimés." - -#: wp-admin/edit-tags.php:336 -msgid "Note:
      Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category %s." -msgstr "À savoir : supprimer une catégorie ne supprime pas les articles qu’elle contient. Les articles affectés uniquement à la catégorie supprimée seront affectés à celle par défaut  : %s." - -#: wp-admin/edit.php:122 wp-admin/post.php:291 -msgid "You are not allowed to delete this item." -msgstr "Vous n’avez pas l’autorisation de supprimer ce contenu." - -#: wp-admin/edit.php:243 -msgid "%s post updated." -msgid_plural "%s posts updated." -msgstr[0] "%s article mis à jour." -msgstr[1] "%s articles mis à jour." - -#: wp-admin/includes/class-wp-posts-list-table.php:156 -msgctxt "posts" -msgid "Mine (%s)" -msgid_plural "Mine (%s)" -msgstr[0] "Le mien (%s)" -msgstr[1] "Les miens (%s)" - -#: wp-admin/includes/class-wp-posts-list-table.php:167 -msgctxt "posts" -msgid "All (%s)" -msgid_plural "All (%s)" -msgstr[0] "Tous (%s)" -msgstr[1] "Tous (%s)" - -#: wp-admin/includes/class-wp-links-list-table.php:75 -#: wp-admin/includes/class-wp-posts-list-table.php:226 -msgid "View all categories" -msgstr "Voir toutes les catégories" - -#: wp-admin/includes/class-wp-list-table.php:526 -msgid "Excerpt View" -msgstr "Liste avec extraits" - -#: wp-admin/export.php:17 wp-admin/menu.php:215 -msgid "Export" -msgstr "Exporter" - -#: wp-admin/export.php:149 -msgid "When you click the button below WordPress will create an XML file for you to save to your computer." -msgstr "Cliquez sur ce bouton pour que WordPress crée un fichier XML que vous pourrez enregistrer sur votre ordinateur." - -#: wp-admin/export.php:150 -msgid "This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags." -msgstr "Ce format, que nous appelons WordPress eXtended RSS (ou WXR), contient tous vos articles, pages, commentaires, champs personnalisés, catégories et mots-clés." - -#: wp-admin/export.php:239 -msgid "Download Export File" -msgstr "Télécharger le fichier d’export" - -#: wp-admin/import.php:75 -msgid "No importers are available." -msgstr "Aucun outil d’importation n’est disponible." - -#: wp-admin/includes/media.php:1429 wp-admin/upgrade.php:68 -#: wp-admin/upgrade.php:100 -msgid "Continue" -msgstr "Continuer" - -#: wp-admin/export.php:159 wp-admin/includes/class-wp-users-list-table.php:266 -#: wp-admin/menu.php:49 -msgid "Posts" -msgstr "Articles" - -#: wp-admin/includes/import.php:158 -msgid "Blogger" -msgstr "Blogger" - -#: wp-admin/includes/import.php:170 -msgid "LiveJournal" -msgstr "LiveJournal" - -#: wp-admin/includes/import.php:176 -msgid "Movable Type and TypePad" -msgstr "Movable Type et TypePad" - -#: wp-admin/includes/import.php:182 -msgid "Blogroll" -msgstr "Liens" - -#: wp-admin/includes/bookmark.php:192 -msgid "Could not update link in the database" -msgstr "Impossible de mettre à jour le lien dans la base de données" - -#: wp-admin/includes/bookmark.php:200 -msgid "Could not insert link into the database" -msgstr "Impossible d’insérer le lien dans la base de données" - -#: wp-admin/includes/class-wp-filesystem-base.php:323 -msgid "Changing to %s" -msgstr "Modifier à %s" - -#: wp-admin/includes/class-wp-filesystem-base.php:335 -msgid "Found %s" -msgstr "Trouvé %s" - -#: wp-admin/includes/class-wp-filesystem-ftpext.php:28 -msgid "The ftp PHP extension is not available" -msgstr "L’extension ftp de PHP n’est pas disponible" - -#: wp-admin/includes/class-wp-filesystem-ftpext.php:43 -#: wp-admin/includes/class-wp-filesystem-ftpsockets.php:38 -msgid "FTP hostname is required" -msgstr "L’hôte du FTP est obligatoire" - -#: wp-admin/includes/class-wp-filesystem-ftpext.php:52 -#: wp-admin/includes/class-wp-filesystem-ftpsockets.php:47 -msgid "FTP username is required" -msgstr "L’identifiant FTP est obligatoire" - -#: wp-admin/includes/class-wp-filesystem-ftpext.php:57 -#: wp-admin/includes/class-wp-filesystem-ftpsockets.php:52 -msgid "FTP password is required" -msgstr "Le mot de passe FTP est obligatoire" - -#: wp-admin/includes/class-wp-filesystem-ftpext.php:73 -#: wp-admin/includes/class-wp-filesystem-ftpsockets.php:64 -#: wp-admin/includes/class-wp-filesystem-ftpsockets.php:69 -msgid "Failed to connect to FTP Server %1$s:%2$s" -msgstr "Impossible de me connecter au serveur FTP %1$s : %2$s" - -#: wp-admin/includes/class-wp-filesystem-ftpext.php:78 -#: wp-admin/includes/class-wp-filesystem-ftpsockets.php:74 -#: wp-admin/includes/class-wp-filesystem-ssh2.php:111 -msgid "Username/Password incorrect for %s" -msgstr "Le couple identifiant / mot de passe est incorrect pour %s" - -#: wp-admin/includes/class-wp-filesystem-ssh2.php:50 -msgid "The ssh2 PHP extension is not available" -msgstr "L’extension ssh2 de PHP n’est pas disponible" - -#: wp-admin/includes/class-wp-filesystem-ssh2.php:54 -msgid "The ssh2 PHP extension is available, however, we require the PHP5 function stream_get_contents()" -msgstr "L’extension ssh2 de PHP est disponible, mais nécessite la fonction PHP5 stream_get_contents()" - -#: wp-admin/includes/class-wp-filesystem-ssh2.php:65 -msgid "SSH2 hostname is required" -msgstr "Le nom de l’hôte SSH2 est obligatoire" - -#: wp-admin/includes/class-wp-filesystem-ssh2.php:81 -msgid "SSH2 username is required" -msgstr "L’identifiant SSH2 est obligatoire" - -#: wp-admin/includes/class-wp-filesystem-ssh2.php:90 -msgid "SSH2 password is required" -msgstr "Le mot de passe SSH2 est obligatoire" - -#: wp-admin/includes/class-wp-filesystem-ssh2.php:105 -msgid "Failed to connect to SSH2 Server %1$s:%2$s" -msgstr "Impossible de me connecter au serveur SSH2 %1$s : %2$s" - -#: wp-admin/includes/class-wp-filesystem-ssh2.php:116 -msgid "Public and Private keys incorrect for %s" -msgstr "Les clés publiques et privées de %s ne sont pas correctes" - -#: wp-admin/includes/class-wp-filesystem-ssh2.php:132 -msgid "Unable to perform command: %s" -msgstr "Impossible de lancer la commande : %s" - -#: wp-admin/includes/class-wp-upgrader.php:41 -msgid "Invalid Data provided." -msgstr "Les données fournies ne sont pas valides." - -#: wp-admin/includes/class-wp-upgrader.php:42 -#: wp-admin/includes/class-wp-upgrader.php:2084 wp-admin/includes/file.php:520 -#: wp-admin/includes/plugin.php:795 wp-admin/includes/theme.php:53 -msgid "Could not access filesystem." -msgstr "Impossible d’accéder au système de fichier." - -#: wp-admin/includes/class-wp-upgrader.php:43 wp-admin/includes/plugin.php:798 -#: wp-admin/includes/theme.php:56 -msgid "Filesystem error." -msgstr "Erreur du système de fichier." - -#: wp-admin/includes/class-wp-upgrader.php:44 -msgid "Unable to locate WordPress Root directory." -msgstr "Impossible de localiser le dossier racine de WordPress." - -#: wp-admin/includes/class-wp-upgrader.php:45 -msgid "Unable to locate WordPress Content directory (wp-content)." -msgstr "Impossible de localiser le dossier de contenu de WordPress (wp-content)." - -#: wp-admin/includes/class-wp-upgrader.php:46 wp-admin/includes/plugin.php:803 -msgid "Unable to locate WordPress Plugin directory." -msgstr "Impossible de localiser le dossier d’extension de WordPress." - -#: wp-admin/includes/class-wp-upgrader.php:47 -msgid "Unable to locate WordPress Theme directory." -msgstr "Impossible de localiser le dossier des thèmes de WordPress." - -#. translators: %s: directory name -#: wp-admin/includes/class-wp-upgrader.php:49 -msgid "Unable to locate needed folder (%s)." -msgstr "Impossible de localiser le dossier nécessaire (%s)." - -#: wp-admin/includes/class-wp-upgrader.php:51 -msgid "Download failed." -msgstr "Le téléchargement a échoué." - -#: wp-admin/includes/class-wp-upgrader.php:52 -msgid "Installing the latest version…" -msgstr "Installation de la dernière version…" - -#: wp-admin/includes/class-wp-upgrader.php:54 -msgid "Destination folder already exists." -msgstr "Le dossier de destination existe déjà." - -#: wp-admin/includes/class-wp-upgrader.php:55 wp-admin/includes/file.php:636 -#: wp-admin/includes/file.php:739 wp-admin/includes/file.php:790 -#: wp-admin/includes/update-core.php:1089 -msgid "Could not create directory." -msgstr "Impossible de créer le dossier." - -#: wp-admin/includes/file.php:587 wp-admin/includes/file.php:691 -msgid "Incompatible Archive." -msgstr "Archive incompatible." - -#: wp-admin/includes/class-wp-upgrader.php:58 -#: wp-admin/includes/update-core.php:861 -msgid "Enabling Maintenance mode…" -msgstr "Activation du mode maintenance…" - -#: wp-admin/includes/class-wp-upgrader.php:59 -#: wp-admin/includes/update-core.php:944 -msgid "Disabling Maintenance mode…" -msgstr "Désactivation du mode maintenance…" - -#: wp-admin/includes/class-wp-upgrader.php:480 -msgid "The plugin is at the latest version." -msgstr "Vous avez la dernière version de cette extension." - -#: wp-admin/includes/class-wp-upgrader.php:482 -#: wp-admin/includes/class-wp-upgrader.php:806 -#: wp-admin/includes/class-wp-upgrader.php:1438 -msgid "Downloading update from %s…" -msgstr "Téléchargement de la mise à jour depuis %s…" - -#: wp-admin/includes/class-wp-upgrader.php:483 -#: wp-admin/includes/class-wp-upgrader.php:807 -#: wp-admin/includes/class-wp-upgrader.php:1251 -#: wp-admin/includes/class-wp-upgrader.php:1439 -msgid "Unpacking the update…" -msgstr "Décompression de la mise à jour…" - -#: wp-admin/includes/class-wp-upgrader.php:484 -msgid "Removing the old version of the plugin…" -msgstr "Retrait de l’ancienne version de l’extension…" - -#: wp-admin/includes/class-wp-upgrader.php:485 -msgid "Could not remove the old plugin." -msgstr "Impossible de supprimer l’ancienne extension." - -#: wp-admin/includes/class-wp-upgrader.php:491 -#: wp-admin/includes/class-wp-upgrader.php:815 -msgid "Install package not available." -msgstr "L’archive d’installation n’est pas disponible." - -#: wp-admin/includes/class-wp-upgrader.php:492 -#: wp-admin/includes/class-wp-upgrader.php:816 -msgid "Downloading install package from %s…" -msgstr "Téléchargement de l’archive d’installation depuis %s…" - -#: wp-admin/includes/class-wp-upgrader.php:493 -#: wp-admin/includes/class-wp-upgrader.php:817 -msgid "Unpacking the package…" -msgstr "Décompression de l’archive de l’extension…" - -#: wp-admin/includes/class-wp-upgrader.php:494 -msgid "Installing the plugin…" -msgstr "Installation de l’extension…" - -#: wp-admin/includes/class-wp-upgrader.php:496 -msgid "Plugin install failed." -msgstr "L’installation de l’extension a échoué." - -#: wp-admin/includes/class-wp-upgrader.php:497 -msgid "Plugin installed successfully." -msgstr "L’extension a bien été installée." - -#: wp-admin/includes/class-wp-upgrader.php:804 -msgid "The theme is at the latest version." -msgstr "Vous avez la dernière version de ce thème." - -#: wp-admin/includes/class-wp-upgrader.php:808 -msgid "Removing the old version of the theme…" -msgstr "Retrait de l’ancienne version du thème…" - -#: wp-admin/includes/class-wp-upgrader.php:809 -msgid "Could not remove the old theme." -msgstr "Impossible de supprimer l’ancien thème." - -#: wp-admin/includes/class-wp-upgrader.php:818 -msgid "Installing the theme…" -msgstr "Installation du thème…" - -#: wp-admin/includes/class-wp-upgrader.php:820 -msgid "Theme install failed." -msgstr "L’installation du thème a échoué." - -#: wp-admin/includes/class-wp-upgrader.php:821 -msgid "Theme installed successfully." -msgstr "Le thème a bien été installé." - -#: wp-admin/includes/class-wp-upgrader.php:1436 -msgid "WordPress is at the latest version." -msgstr "Vous avez la dernière version de WordPress." - -#: wp-admin/includes/class-wp-upgrader.php:1440 -msgid "Could not copy files." -msgstr "Impossible de copier les fichiers." - -#: wp-admin/includes/class-wp-plugins-list-table.php:410 -#: wp-admin/includes/class-wp-upgrader-skins.php:165 -#: wp-admin/includes/class-wp-upgrader-skins.php:428 -#: wp-admin/includes/class-wp-upgrader-skins.php:430 -msgid "Activate this plugin" -msgstr "Activer cette extension" - -#: wp-admin/includes/class-wp-upgrader-skins.php:165 -#: wp-admin/includes/class-wp-upgrader-skins.php:430 -msgid "Activate Plugin" -msgstr "Activer l’extension" - -#: wp-admin/includes/class-wp-upgrader-skins.php:166 -#: wp-admin/includes/class-wp-upgrader-skins.php:327 -#: wp-admin/includes/class-wp-upgrader-skins.php:442 -msgid "Return to Plugins page" -msgstr "Retourner sur la page des extensions" - -#: wp-admin/includes/class-wp-upgrader-skins.php:416 -msgid "Successfully installed the plugin %s %s." -msgstr "L’extension %s %s a bien été installée." - -#: wp-admin/includes/class-wp-upgrader-skins.php:440 -msgid "Return to Plugin Installer" -msgstr "Retourner à l’installeur d’extensions" - -#. translators: 1: theme name, 2: version -#: wp-admin/includes/class-wp-upgrader.php:823 -msgid "Successfully installed the theme %1$s %2$s." -msgstr "Le thème %1$s %2$s a bien été installé." - -#: wp-admin/includes/class-wp-posts-list-table.php:677 -#: wp-admin/includes/class-wp-theme-install-list-table.php:219 -#: wp-admin/includes/class-wp-themes-list-table.php:160 -#: wp-admin/includes/class-wp-upgrader-skins.php:520 -#: wp-admin/includes/class-wp-upgrader-skins.php:522 -#: wp-admin/includes/class-wp-upgrader-skins.php:599 -#: wp-admin/includes/class-wp-upgrader-skins.php:601 -msgid "Preview “%s”" -msgstr "Prévisualiser « %s »" - -#: wp-admin/includes/class-wp-themes-list-table.php:157 -#: wp-admin/includes/class-wp-upgrader-skins.php:524 -#: wp-admin/includes/class-wp-upgrader-skins.php:603 -msgid "Activate “%s”" -msgstr "Activer « %s »" - -#: wp-admin/includes/class-wp-upgrader-skins.php:530 -msgid "Return to Theme Installer" -msgstr "Retourner à l’installeur de thèmes" - -#: wp-admin/includes/class-wp-upgrader-skins.php:532 -msgid "Themes page" -msgstr "Page des thèmes" - -#: wp-admin/includes/class-wp-upgrader-skins.php:372 -#: wp-admin/includes/class-wp-upgrader-skins.php:532 -#: wp-admin/includes/class-wp-upgrader-skins.php:610 -msgid "Return to Themes page" -msgstr "Retourner sur la page des thèmes" - -#: wp-admin/includes/class-wp-upgrader.php:1727 -#: wp-admin/includes/class-wp-upgrader.php:1761 -msgid "Please select a file" -msgstr "Veuillez choisir un fichier" - -#: wp-admin/includes/file.php:345 -msgid "The uploaded file could not be moved to %s." -msgstr "Le fichier n’ a pas pu être déplacé vers %s." - -#: wp-admin/includes/dashboard.php:38 -msgid "Right Now" -msgstr "Aujourd’hui" - -#: wp-admin/includes/dashboard.php:970 -msgid "http://planet.wordpress.org/" -msgstr "http://www.wordpress-fr.net/planet/" - -#: wp-admin/includes/dashboard.php:979 -msgid "http://planet.wordpress.org/feed/" -msgstr "http://feeds2.feedburner.com/WordpressFrancophonePlanet" - -#: wp-admin/includes/dashboard.php:988 -msgid "Other WordPress News" -msgstr "Autres actualités de WordPress (en français)" - -#: wp-admin/includes/dashboard.php:108 -msgid "View all" -msgstr "Afficher tout" - -#: wp-admin/includes/dashboard.php:140 -msgid "Configure" -msgstr "Configurer" - -#: wp-admin/options-writing.php:27 wp-admin/options-writing.php:116 -#: wp-admin/options-writing.php:120 wp-admin/press-this.php:300 -#: wp-admin/press-this.php:495 wp-admin/tools.php:16 wp-admin/tools.php:40 -#: wp-admin/tools.php:45 -msgid "Press This" -msgstr "Publier un article" - -#: wp-admin/includes/meta-boxes.php:257 wp-admin/includes/meta-boxes.php:258 -#: wp-admin/press-this.php:504 -msgid "Submit for Review" -msgstr "Soumettre à relecture" - -#: wp-admin/includes/class-wp-comments-list-table.php:452 -#: wp-admin/includes/class-wp-comments-list-table.php:454 -#: wp-admin/includes/dashboard.php:552 -msgid "Approve this comment" -msgstr "Approuver ce commentaire" - -#: wp-admin/includes/class-wp-comments-list-table.php:450 -#: wp-admin/includes/class-wp-comments-list-table.php:455 -#: wp-admin/includes/dashboard.php:553 -msgid "Unapprove this comment" -msgstr "Désapprouver ce commentaire" - -#: wp-admin/includes/class-wp-comments-list-table.php:481 -#: wp-admin/includes/dashboard.php:555 -msgid "Reply to this comment" -msgstr "Répondre à ce commentaire" - -#: wp-admin/includes/class-wp-comments-list-table.php:459 -#: wp-admin/includes/dashboard.php:556 -msgid "Mark this comment as spam" -msgstr "Marquer ce commentaire comme indésirable" - -#. translators: mark as spam link -#: wp-admin/includes/class-wp-comments-list-table.php:459 -#: wp-admin/includes/dashboard.php:556 -msgctxt "verb" -msgid "Spam" -msgstr "Indésirable" - -#: wp-admin/includes/class-wp-comments-list-table.php:471 -#: wp-admin/includes/dashboard.php:560 -msgid "Move this comment to the trash" -msgstr "Déplacer ce commentaire dans la Corbeille" - -#: wp-admin/includes/class-wp-comments-list-table.php:471 -#: wp-admin/includes/dashboard.php:560 -msgctxt "verb" -msgid "Trash" -msgstr "Corbeille" - -#. translators: 1: comment author, 2: post link, 3: notification if the comment -#. is pending -#: wp-admin/includes/dashboard.php:598 -msgid "From %1$s on %2$s%3$s" -msgstr "Par %1$s, sur %2$s%3$s" - -#: wp-admin/includes/dashboard.php:599 -msgid "[Pending]" -msgstr "[En attente]" - -#. translators: %1$s is type of comment, %2$s is link to the post -#: wp-admin/includes/dashboard.php:618 -msgctxt "dashboard" -msgid "%1$s on %2$s" -msgstr "%1$s dans %2$s" - -#: wp-admin/includes/dashboard.php:824 -msgid "Loading…" -msgstr "Chargement…" - -#: wp-admin/includes/dashboard.php:824 -msgid "This widget requires JavaScript." -msgstr "Ce widget requiert JavaScript." - -#: wp-admin/includes/file.php:13 -msgid "Main Index Template" -msgstr "Modèle pour la page d’accueil" - -#: wp-admin/includes/file.php:17 -msgid "RTL Stylesheet" -msgstr "Feuille de style RTL" - -#: wp-admin/includes/file.php:19 -msgid "Popup Comments" -msgstr "Commentaires en popup" - -#: wp-admin/includes/file.php:20 -msgid "Footer" -msgstr "Pied de page" - -#: wp-admin/includes/file.php:26 -msgid "Category Template" -msgstr "Modèle pour les catégories" - -#: wp-admin/includes/file.php:27 wp-admin/includes/meta-boxes.php:746 -msgid "Page Template" -msgstr "Modèle de page" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:64 -#: wp-admin/includes/class-wp-theme-install-list-table.php:42 -#: wp-admin/includes/file.php:28 -msgid "Search Results" -msgstr "Résultats de recherche" - -#: wp-admin/includes/file.php:29 -msgid "Search Form" -msgstr "Formulaire de recherche" - -#: wp-admin/includes/file.php:30 -msgid "Single Post" -msgstr "Article seul" - -#: wp-admin/includes/file.php:31 -msgid "404 Template" -msgstr "Modèle pour l’erreur 404" - -#: wp-admin/includes/file.php:32 -msgid "Links Template" -msgstr "Modèle pour les liens" - -#: wp-admin/includes/file.php:33 -msgid "Theme Functions" -msgstr "Fonctions du thème" - -#: wp-admin/includes/file.php:34 -msgid "Attachment Template" -msgstr "Modèle pour les fichiers attachés" - -#: wp-admin/includes/file.php:35 -msgid "Image Attachment Template" -msgstr "Modèle pour les images attachées" - -#: wp-admin/includes/file.php:36 -msgid "Video Attachment Template" -msgstr "Modèle pour les vidéos attachées" - -#: wp-admin/includes/file.php:37 -msgid "Audio Attachment Template" -msgstr "Modèle pour les fichiers audio attachés" - -#: wp-admin/includes/file.php:38 -msgid "Application Attachment Template" -msgstr "Modèle pour les programmes attachés" - -#: wp-admin/includes/file.php:39 -msgid "my-hacks.php (legacy hacks support)" -msgstr "my-hacks.php (reconnaissance des hacks existants)" - -#: wp-admin/includes/file.php:40 -msgid ".htaccess (for rewrite rules )" -msgstr ".htaccess (pour les règles de réécriture)" - -#: wp-admin/includes/file.php:43 -msgid "Comments Template" -msgstr "Modèle pour les commentaires" - -#: wp-admin/includes/file.php:44 -msgid "Popup Comments Template" -msgstr "Modèle pour la fenêtre de commentaires" - -#: wp-admin/includes/file.php:255 -msgid "The uploaded file was only partially uploaded." -msgstr "Le fichier n’a été que partiellement envoyé." - -#: wp-admin/includes/file.php:256 -msgid "No file was uploaded." -msgstr "Aucun fichier n’a été envoyé." - -#: wp-admin/includes/file.php:258 -msgid "Missing a temporary folder." -msgstr "Un dossier temporaire est manquant." - -#: wp-admin/includes/file.php:259 -msgid "Failed to write file to disk." -msgstr "Échec de l’écriture du fichier sur le disque." - -#: wp-admin/includes/file.php:260 -msgid "File upload stopped by extension." -msgstr "L’envoi de fichier est arrêté par l’extension." - -#: wp-admin/includes/file.php:276 -msgid "Invalid form submission." -msgstr "Envoi non valide du formulaire." - -#: wp-admin/includes/file.php:289 wp-admin/includes/import.php:80 -msgid "File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini." -msgstr "Ce fichier est vide. Veuillez envoyer quelque chose de plus substantiel. Cette erreur peut également être due à la désactivation de l’envoi de fichier dans le fichier php.ini de votre serveur, ou par une valeur de post_max_size inférieure à celle de upload_max_filesize dans ce même php.ini." - -#: wp-admin/includes/file.php:297 -msgid "Specified file failed upload test." -msgstr "Le test d’envoi du fichier spécifié a échoué." - -#: wp-admin/includes/file.php:448 -msgid "Invalid URL Provided." -msgstr "L’URL fournie est invalide" - -#: wp-admin/includes/file.php:452 -msgid "Could not create Temporary file." -msgstr "Impossible de créer le fichier temporaire." - -#: wp-admin/includes/file.php:593 wp-admin/includes/file.php:642 -msgid "Could not retrieve file from archive." -msgstr "Impossible de récupérer le fichier depuis l’archive." - -#: wp-admin/includes/file.php:652 -msgid "Could not extract file from archive." -msgstr "Impossible d’extraire les fichiers depuis l’archive." - -#: wp-admin/includes/file.php:655 wp-admin/includes/file.php:752 -#: wp-admin/includes/file.php:785 wp-admin/includes/update-core.php:981 -#: wp-admin/includes/update-core.php:1084 -msgid "Could not copy file." -msgstr "Impossible de copier le fichier." - -#: wp-admin/includes/file.php:694 -msgid "Empty archive." -msgstr "Archive vide." - -#: wp-admin/includes/file.php:1036 -msgid "FTP" -msgstr "FTP" - -#: wp-admin/includes/file.php:1038 -msgid "FTPS (SSL)" -msgstr "FTPS (SSL)" - -#: wp-admin/includes/file.php:1040 -msgid "SSH2" -msgstr "SSH2" - -#: wp-admin/includes/file.php:1072 -msgid "Connection Information" -msgstr "Informations sur connexion" - -#: wp-admin/includes/file.php:1094 -msgid "Hostname" -msgstr "Nom de l’Hôte :" - -#: wp-admin/includes/file.php:1111 -msgid "Authentication Keys" -msgstr "Clés d’authentification" - -#: wp-admin/includes/file.php:1113 -msgid "Public Key:" -msgstr "Clé publique :" - -#: wp-admin/includes/file.php:1114 -msgid "Private Key:" -msgstr "Clé privée :" - -#: wp-admin/includes/file.php:1118 -msgid "Enter the location on the server where the keys are located. If a passphrase is needed, enter that in the password field above." -msgstr "Saisissez l’adresse du serveur où se trouvent les clés. Si un mot de passe est nécessaire, saisissez-le dans le champ ci-dessus." - -#: wp-admin/includes/file.php:1123 wp-admin/includes/file.php:1125 -msgid "Connection Type" -msgstr "Type de connexion" - -#: wp-admin/includes/file.php:1144 -msgid "Proceed" -msgstr "Continuer" - -#: wp-admin/includes/image-edit.php:19 wp-admin/includes/image-edit.php:690 -msgid "Image data does not exist. Please re-upload the image." -msgstr "Il n’y a pas de données d’image. Veuillez envoyer l’image à nouveau." - -#: wp-admin/includes/image-edit.php:151 -msgid "Crop" -msgstr "Recadrer" - -#: wp-admin/includes/image-edit.php:155 -msgid "Rotate counter-clockwise" -msgstr "Tourner dans le sens inverse des aiguilles d’une montre" - -#: wp-admin/includes/image-edit.php:156 -msgid "Rotate clockwise" -msgstr "Tourner dans le sens des aiguilles d’une montre" - -#: wp-admin/includes/image-edit.php:164 -msgid "Flip vertically" -msgstr "Retournement vertical" - -#: wp-admin/includes/image-edit.php:165 -msgid "Flip horizontally" -msgstr "Retournement horizontal" - -#: wp-admin/includes/image-edit.php:42 -msgid "Scale Image" -msgstr "Redimensionnement de l’image" - -#: wp-admin/includes/image-edit.php:47 -msgid "Original dimensions %s" -msgstr "Taille originale : %s" - -#: wp-admin/custom-background.php:292 wp-admin/custom-background.php:296 -#: wp-admin/includes/image-edit.php:61 -msgid "Restore Original Image" -msgstr "Rétablir l’image originale" - -#: wp-admin/includes/image-edit.php:63 -msgid "Discard any changes and restore the original image." -msgstr "Abandonner tout changement et rétablir l’image originale." - -#: wp-admin/includes/image-edit.php:66 -msgid "Previously edited copies of the image will not be deleted." -msgstr "Les copies de l’image précédemment modifiées ne seront pas effacées." - -#: wp-admin/includes/image-edit.php:70 -msgid "Restore image" -msgstr "Rétablir l’image" - -#: wp-admin/includes/image-edit.php:80 -msgid "Image Crop" -msgstr "Recadrage de l’image" - -#: wp-admin/includes/image-edit.php:85 -msgid "Crop Aspect Ratio" -msgstr "Proportion de taille du recadrage" - -#: wp-admin/includes/image-edit.php:88 -msgid "Crop Selection" -msgstr "Sélection de recadrage" - -#: wp-admin/includes/image-edit.php:94 -msgid "Aspect ratio:" -msgstr "Proportion de taille :" - -#: wp-admin/includes/image-edit.php:103 -msgid "Selection:" -msgstr "Sélection :" - -#: wp-admin/includes/image-edit.php:118 -msgid "Thumbnail Settings" -msgstr "Réglages de la miniature" - -#: wp-admin/includes/image-edit.php:124 -msgid "Current thumbnail" -msgstr "Miniature actuelle" - -#: wp-admin/includes/image-edit.php:128 -msgid "Apply changes to:" -msgstr "Appliquer les modifications à :" - -#: wp-admin/includes/image-edit.php:132 -msgid "All image sizes" -msgstr "Toutes les tailles" - -#: wp-admin/includes/image-edit.php:140 -msgid "All sizes except thumbnail" -msgstr "Toutes les tailles sauf la miniature" - -#: wp-admin/includes/image-edit.php:565 -msgid "Cannot load image metadata." -msgstr "Impossible de charger les métadonnées de l’image." - -#: wp-admin/includes/image-edit.php:623 -msgid "Cannot save image metadata." -msgstr "Impossible d’enregistrer les métadonnées de l’image." - -#: wp-admin/includes/image-edit.php:628 -msgid "Image metadata is inconsistent." -msgstr "Les métadonnées de l’image ne sont pas cohérentes." - -#: wp-admin/includes/image-edit.php:630 -msgid "Image restored successfully." -msgstr "L’image a bien été rétablie." - -#: wp-admin/includes/image-edit.php:651 -msgid "Unable to create new image." -msgstr "Échec lors de la création d’une nouvelle image." - -#: wp-admin/includes/image-edit.php:674 -msgid "Error while saving the scaled image. Please reload the page and try again." -msgstr "Une erreur est survenue pendant la modification de l’échelle de l’image. Veuillez recharger la page pour faire une nouvelle tentative." - -#: wp-admin/includes/image-edit.php:682 -msgid "Nothing to save, the image has not changed." -msgstr "Rien à enregistrer, l’image n’a pas été modifiée." - -#: wp-admin/includes/image-edit.php:725 -msgid "Unable to save the image." -msgstr "Échec lors de l’enregistrement de l’image." - -#: wp-admin/includes/image-edit.php:826 -msgid "Image saved" -msgstr "Image enregistrée" - -#: wp-admin/includes/media.php:18 -msgid "From Computer" -msgstr "Depuis votre ordinateur" - -#: wp-admin/includes/media.php:19 -msgid "From URL" -msgstr "Depuis le Web" - -#: wp-admin/includes/media.php:20 -msgid "Gallery" -msgstr "Galerie" - -#: wp-admin/includes/media.php:60 -msgid "Gallery (%s)" -msgstr "Galerie (%s)" - -#: wp-admin/includes/media.php:424 -msgid "Uploads" -msgstr "Fichiers envoyés" - -#: wp-admin/includes/media.php:424 wp-admin/includes/template.php:1530 -#: wp-admin/install.php:76 wp-admin/maint/repair.php:25 -#: wp-admin/setup-config.php:86 wp-admin/upgrade.php:62 -msgid "WordPress" -msgstr "WordPress" - -#: wp-admin/includes/media.php:1016 wp-admin/includes/media.php:1169 -msgid "File URL" -msgstr "Adresse web du fichier" - -#: wp-admin/includes/media.php:1214 wp-admin/includes/media.php:2476 -msgid "Alt text for the image, e.g. “The Mona Lisa”" -msgstr "Texte alternatif de l’image, exemple : « La Joconde »" - -#: wp-admin/includes/media.php:1087 -msgid "Empty Title filled from filename." -msgstr "Titre absent, il sera rempli à partir du nom du fichier." - -#: wp-admin/includes/class-wp-posts-list-table.php:1085 -#: wp-admin/includes/media.php:1165 wp-admin/includes/media.php:2139 -#: wp-admin/includes/meta-boxes.php:752 wp-admin/includes/meta-boxes.php:753 -msgid "Order" -msgstr "Ordre" - -#: wp-admin/includes/media.php:1173 -msgid "Location of the uploaded file." -msgstr "Emplacement du fichier envoyé." - -#: wp-admin/includes/media.php:1320 wp-admin/includes/media.php:2125 -msgid "Show" -msgstr "Afficher" - -#: wp-admin/includes/media.php:1321 wp-admin/includes/media.php:2126 -msgid "Hide" -msgstr "Cacher" - -#: wp-admin/includes/media.php:1399 -msgid "Upload date:" -msgstr "Date de mise en ligne :" - -#: wp-admin/includes/media.php:1419 wp-admin/includes/media.php:2506 -#: wp-admin/includes/media.php:2512 -msgid "Insert into Post" -msgstr "Insérer dans l’article" - -#: wp-admin/includes/media.php:1428 -msgid "You are about to delete %s." -msgstr "Vous êtes sur le point de supprimer %s." - -#: wp-admin/includes/media.php:1910 -msgid "Add media files from your computer" -msgstr "Ajouter un fichier média depuis votre ordinateur" - -#: wp-admin/includes/media.php:1939 wp-admin/includes/media.php:2149 -#: wp-admin/includes/media.php:2409 -msgid "Save all changes" -msgstr "Enregistrer toutes les modifications" - -#: wp-admin/includes/media.php:2124 -msgid "All Tabs:" -msgstr "Tous les onglets :" - -#: wp-admin/includes/media.php:2128 -msgid "Sort Order:" -msgstr "Ordre de tri :" - -#: wp-admin/includes/media.php:2129 wp-admin/includes/media.php:2197 -msgid "Ascending" -msgstr "Croissant" - -#: wp-admin/includes/media.php:2130 wp-admin/includes/media.php:2200 -msgid "Descending" -msgstr "Décroissant" - -#: wp-admin/includes/media.php:2161 -msgid "Link thumbnails to:" -msgstr "Lier les miniatures à :" - -#: wp-admin/includes/media.php:2166 -msgid "Image File" -msgstr "Fichier image" - -#: wp-admin/includes/media.php:2176 -msgid "Order images by:" -msgstr "Ranger les images par :" - -#: wp-admin/includes/media.php:2181 -msgid "Menu order" -msgstr "Ordre du menu" - -#: wp-admin/includes/media.php:2183 -msgid "Date/Time" -msgstr "Horodatage" - -#: wp-admin/includes/media.php:2184 -msgid "Random" -msgstr "Aléatoire" - -#: wp-admin/includes/media.php:2192 -msgid "Order:" -msgstr "Ordre :" - -#: wp-admin/includes/media.php:2207 -msgid "Gallery columns:" -msgstr "Colonnes de galerie :" - -#: wp-admin/includes/media.php:2228 -msgid "Update gallery settings" -msgstr "Mettre à jour les réglages de galerie" - -#: wp-admin/includes/media.php:2305 -msgid "All Types" -msgstr "Tous les types" - -#: wp-admin/includes/media.php:2379 -msgid "Filter »" -msgstr "Filtrer »" - -#: wp-admin/includes/media.php:2430 -msgid "Image Caption" -msgstr "Légende de l’image" - -#: wp-admin/includes/media.php:2495 -msgid "Link Image To:" -msgstr "Lier l’image à :" - -#: wp-admin/includes/media.php:2500 -msgid "Link to image" -msgstr "Lier à l’image" - -#: wp-admin/includes/media.php:2469 -msgid "Link text, e.g. “Ransom Demands (PDF)”" -msgstr "Texte du lien, par exemple « Théorie sur le chaos (PDF) »" - -#: wp-admin/includes/meta-boxes.php:42 -msgid "Preview Changes" -msgstr "Prévisualiser les modifications" - -#: wp-admin/export.php:184 wp-admin/export.php:216 -#: wp-admin/includes/meta-boxes.php:68 -msgid "Status:" -msgstr "État :" - -#: wp-admin/includes/meta-boxes.php:119 -msgid "Visibility:" -msgstr "Visibilité :" - -#: wp-admin/includes/meta-boxes.php:127 wp-admin/includes/meta-boxes.php:150 -#: wp-admin/includes/template.php:1626 -msgid "Password protected" -msgstr "Protégé par mot de passe" - -#: wp-admin/includes/meta-boxes.php:148 -msgid "Stick this post to the front page" -msgstr "Mettre cet article en avant sur la page d’accueil" - -#: wp-admin/includes/meta-boxes.php:168 -msgid "Scheduled for: %1$s" -msgstr "Planifié pour : %1$s" - -#: wp-admin/includes/meta-boxes.php:170 -msgid "Published on: %1$s" -msgstr "Publié le : %1$s" - -#: wp-admin/includes/meta-boxes.php:172 wp-admin/includes/meta-boxes.php:180 -msgid "Publish immediately" -msgstr "Publier tout de suite" - -#: wp-admin/includes/meta-boxes.php:174 -msgid "Schedule for: %1$s" -msgstr "Planifier pour : %1$s" - -#: wp-admin/includes/meta-boxes.php:176 -msgid "Publish on: %1$s" -msgstr "Publier le : %1$s" - -#: wp-admin/includes/meta-boxes.php:471 wp-admin/includes/meta-boxes.php:841 -#: wp-admin/includes/nav-menu.php:933 wp-admin/press-this.php:535 -msgid "Most Used" -msgstr "Les plus utilisées" - -#: wp-admin/includes/meta-boxes.php:862 wp-admin/includes/meta-boxes.php:864 -msgid "+ Add New Category" -msgstr "+ Ajouter une nouvelle catégorie" - -#: wp-admin/includes/meta-boxes.php:865 -msgid "New category name" -msgstr "Nom de la nouvelle catégorie" - -#: wp-admin/includes/meta-boxes.php:526 -msgid "Excerpts are optional hand-crafted summaries of your content that can be used in your theme. Learn more about manual excerpts." -msgstr "Les extraits sont des résumés facultatifs de vos articles, écrits à la main. Il se peut que votre thème s’en serve. En savoir plus." - -#: wp-admin/includes/meta-boxes.php:540 -msgid "Already pinged:" -msgstr "Déjà notifié(s) par ping :" - -#: wp-admin/includes/meta-boxes.php:549 -msgid "Send trackbacks to:" -msgstr "Envoyer un rétrolien vers :" - -#: wp-admin/includes/meta-boxes.php:549 -msgid "Separate multiple URLs with spaces" -msgstr "Séparez les adresses web par des espaces" - -#: wp-admin/includes/meta-boxes.php:576 -msgid "Custom fields can be used to add extra metadata to a post that you can use in your theme." -msgstr "Les champs personnalisés peuvent être utilisés afin d’ajouter des données supplémentaires à vos articles. Vous pouvez les utiliser dans votre thème (en)." - -#: wp-admin/includes/meta-boxes.php:592 -msgid "Allow trackbacks and pingbacks on this page." -msgstr "Autoriser les rétroliens et pings sur cette page." - -#: wp-admin/includes/meta-boxes.php:592 -msgid "http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" -msgstr "http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" - -#: wp-admin/includes/meta-boxes.php:648 -msgid "Show comments" -msgstr "Affiche les commentaires" - -#: wp-admin/includes/class-wp-posts-list-table.php:1050 -#: wp-admin/includes/meta-boxes.php:736 wp-admin/includes/meta-boxes.php:737 -msgid "Parent" -msgstr "Parent" - -#: wp-admin/includes/class-wp-posts-list-table.php:1056 -msgid "Main Page (no parent)" -msgstr "Page principale (pas de page parente)" - -#: wp-admin/includes/class-wp-posts-list-table.php:1100 -#: wp-admin/includes/meta-boxes.php:747 -msgid "Default Template" -msgstr "Modèle par défaut" - -#: wp-admin/includes/meta-boxes.php:781 -msgid "Visit Link" -msgstr "Visiter le lien" - -#: wp-admin/includes/meta-boxes.php:789 -msgid "Keep this link private" -msgstr "Ce lien est privé" - -#: wp-admin/includes/class-wp-links-list-table.php:155 -msgid "" -"You are about to delete this link '%s'\n" -" 'Cancel' to stop, 'OK' to delete." -msgstr "" -"Vous êtes sur le point de supprimer le lien « %s ».\n" -" « Annuler » pour abandonner, « OK » pour le supprimer." - -#: wp-admin/includes/meta-boxes.php:886 -msgid "_blank — new window or tab." -msgstr "_blank — nouvelle fenêtre ou onglet." - -#: wp-admin/includes/meta-boxes.php:889 -msgid "_top — current window or tab, with no frames." -msgstr "_top — fenêtre ou onglet en cours, sans frame." - -#: wp-admin/includes/meta-boxes.php:892 -msgid "_none — same window or tab." -msgstr "_none — même fenêtre ou onglet." - -#: wp-admin/includes/meta-boxes.php:894 -msgid "Choose the target frame for your link." -msgstr "Choisir la frame que cible le lien." - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:939 -msgid "rel:" -msgstr "rel :" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:943 wp-admin/includes/meta-boxes.php:944 -msgid "identity" -msgstr "identité" - -#: wp-admin/includes/meta-boxes.php:947 -msgid "another web address of mine" -msgstr "Une autre de mes adresses Web" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:951 wp-admin/includes/meta-boxes.php:952 -msgid "friendship" -msgstr "amitié" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:954 -msgid "contact" -msgstr "contact" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:957 -msgid "acquaintance" -msgstr "connaissance" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:960 -msgid "friend" -msgstr "ami(e)" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:963 wp-admin/includes/meta-boxes.php:996 -#: wp-admin/includes/meta-boxes.php:1019 -msgid "none" -msgstr "aucune" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:968 wp-admin/includes/meta-boxes.php:969 -msgid "physical" -msgstr "physique" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:971 -msgid "met" -msgstr "rencontré(e)" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:976 wp-admin/includes/meta-boxes.php:977 -msgid "professional" -msgstr "professionnel" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:979 -msgid "co-worker" -msgstr "collègue de travail" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:982 -msgid "colleague" -msgstr "confrère" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:987 wp-admin/includes/meta-boxes.php:988 -msgid "geographical" -msgstr "géographique" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:990 -msgid "co-resident" -msgstr "colocataire" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:993 -msgid "neighbor" -msgstr "voisin" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1001 wp-admin/includes/meta-boxes.php:1002 -msgid "family" -msgstr "famille" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1004 -msgid "child" -msgstr "enfant" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1007 -msgid "kin" -msgstr "apparenté" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1010 -msgid "parent" -msgstr "parent" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1013 -msgid "sibling" -msgstr "frère/sœur" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1016 -msgid "spouse" -msgstr "conjoint" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1024 wp-admin/includes/meta-boxes.php:1025 -msgid "romantic" -msgstr "romantique" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1027 -msgid "muse" -msgstr "muse" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1030 -msgid "crush" -msgstr "coup de foudre" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1033 -msgid "date" -msgstr "petit(e)-ami(e)" - -#. translators: xfn: http:gmpg.org/xfn/ -#: wp-admin/includes/meta-boxes.php:1036 -msgid "sweetheart" -msgstr "être aimé" - -#: wp-admin/includes/meta-boxes.php:1042 -msgid "If the link is to a person, you can specify your relationship with them using the above form. If you would like to learn more about the idea check out XFN." -msgstr "Si le lien pointe sur une personne, vous pouvez préciser la relation que vous entretenez avec elle via le formulaire ci-dessus. Si vous souhaitez en apprendre plus sur ce système, consultez le site de XFN." - -#: wp-admin/includes/meta-boxes.php:1057 -msgid "Image Address" -msgstr "Adresse de l’image" - -#: wp-admin/includes/meta-boxes.php:1061 -msgid "RSS Address" -msgstr "Adresse du flux RSS" - -#: wp-admin/includes/meta-boxes.php:1065 -msgid "Notes" -msgstr "Commentaires" - -#: wp-admin/includes/class-wp-links-list-table.php:96 -#: wp-admin/includes/meta-boxes.php:1069 -msgid "Rating" -msgstr "Note" - -#: wp-admin/includes/meta-boxes.php:1078 -msgid "(Leave at 0 for no rating.)" -msgstr "(laissez à 0 pour ne pas donner de note.)" - -#: wp-admin/includes/menu.php:319 -msgid "You do not have sufficient permissions to access this page." -msgstr "Vous n’avez pas les droits suffisants pour accéder à cette page." - -#: wp-admin/includes/plugin-install.php:133 -msgid "Popular tags" -msgstr "Mots-clés populaires" - -#: wp-admin/includes/plugin-install.php:134 -msgid "You may also browse based on the most popular tags in the Plugin Directory:" -msgstr "Vous pouvez également naviguer en fonction des mots-clés les plus populaires sur WordPress.org :" - -#: wp-admin/includes/plugin-install.php:170 -#: wp-admin/includes/plugin-install.php:182 -#: wp-admin/includes/plugin-install.php:185 -msgid "Search Plugins" -msgstr "Chercher parmi les extensions" - -#: wp-admin/includes/plugin-install.php:198 -msgid "If you have a plugin in a .zip format, you may install it by uploading it here." -msgstr "Si vous avez une extension au format .zip, vous pouvez l’installer en la mettant en ligne ici." - -#: wp-admin/includes/plugin-install.php:201 -msgid "Plugin zip file" -msgstr "Archive Zip de l’extension" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:394 -#: wp-admin/includes/class-wp-theme-install-list-table.php:249 -#: wp-admin/includes/plugin-install.php:203 -#: wp-admin/includes/plugin-install.php:528 -#: wp-admin/includes/theme-install.php:143 -msgid "Install Now" -msgstr "Installer maintenant" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:199 -msgid "No plugins match your request." -msgstr "Aucune extension ne correspond à votre requête." - -#: wp-admin/includes/ajax-actions.php:2623 -#: wp-admin/includes/plugin-install.php:453 -msgid "(based on %s rating)" -msgid_plural "(based on %s ratings)" -msgstr[0] "(basée sur %s vote)" -msgstr[1] "(basée sur %s votes)" - -#: wp-admin/includes/plugin-install.php:378 wp-admin/update.php:106 -msgid "Plugin Install" -msgstr "Installation d’extensions" - -#: wp-admin/includes/plugin-install.php:533 -msgid "Install Update Now" -msgstr "Installer la mise à jour maintenant" - -#: wp-admin/includes/plugin-install.php:537 -msgid "Newer Version (%s) Installed" -msgstr "Une version plus récente (%s) est installée" - -#: wp-admin/includes/plugin-install.php:540 -msgid "Latest Version Installed" -msgstr "Dernière version installée" - -#: wp-admin/includes/plugin-install.php:431 -msgid "Author:" -msgstr "Auteur :" - -#: wp-admin/includes/class-wp-plugin-install-list-table.php:462 -#: wp-admin/includes/plugin-install.php:433 -msgid "Last Updated:" -msgstr "Dernière mise à jour :" - -#: wp-admin/includes/plugin-install.php:437 -msgid "Requires WordPress Version:" -msgstr "Nécessite WordPress en version :" - -#: wp-admin/includes/plugin-install.php:437 -msgid "%s or higher" -msgstr "%s ou plus" - -#: wp-admin/includes/plugin-install.php:439 -msgid "Compatible up to:" -msgstr "Compatible jusqu’à la version : " - -#: wp-admin/includes/plugin-install.php:441 -msgid "Downloaded:" -msgstr "Téléchargé :" - -#: wp-admin/includes/plugin-install.php:441 -msgid "%s time" -msgid_plural "%s times" -msgstr[0] "%s fois" -msgstr[1] "%s fois" - -#: wp-admin/includes/plugin-install.php:443 -msgid "WordPress.org Plugin Page »" -msgstr "Page WordPress.org de l’extension »" - -#: wp-admin/includes/plugin-install.php:451 -msgid "Average Rating" -msgstr "Moyenne des notes" - -#: wp-admin/includes/plugin-install.php:502 -msgid "Warning: This plugin has not been tested with your current version of WordPress." -msgstr "Attention : cette extension n’a pas été testée avec votre version de WordPress." - -#: wp-admin/includes/plugin-install.php:504 -msgid "Warning: This plugin has not been marked as compatible with your version of WordPress." -msgstr "Attention : cette extension n’a pas été marquée comme étant compatible avec votre version de WordPress" - -#: wp-admin/includes/plugin.php:92 -msgid "The %1$s plugin header is deprecated. Use %2$s instead." -msgstr "L’en-tête de l’extension %1$s%2$s." - -#: wp-admin/includes/plugin.php:605 -msgid "The plugin generated unexpected output." -msgstr "Cette extension a produit un résultat inattendu." - -#: wp-admin/includes/plugin.php:742 -msgid "One of the plugins is invalid." -msgstr "L’une des extensions n’est pas valide." - -#: wp-admin/includes/plugin.php:838 -msgid "Could not fully remove the plugin(s) %s." -msgstr "Impossible de supprimer complètement la ou les extensions %s." - -#: wp-admin/includes/plugin.php:893 -msgid "Invalid plugin path." -msgstr "Chemin d’extension non valide" - -#: wp-admin/includes/plugin.php:895 -msgid "Plugin file does not exist." -msgstr "Le fichier de l’extension n’existe pas." - -#: wp-admin/includes/plugin.php:899 -msgid "The plugin does not have a valid header." -msgstr "Cette extension ne dispose pas d’un en-tête valide." - -#: wp-admin/includes/post.php:33 wp-admin/includes/post.php:71 -msgid "You are not allowed to edit pages as this user." -msgstr "Vous n’avez pas l’autorisation de modifier des pages sous cet identifiant." - -#: wp-admin/includes/post.php:35 wp-admin/includes/post.php:73 -msgid "You are not allowed to edit posts as this user." -msgstr "Vous n’avez pas l’autorisation de modifier des articles sous cet identifiant." - -#: wp-admin/includes/post.php:361 -msgid "You are not allowed to edit pages." -msgstr "Vous n’avez pas l’autorisation de modifier les pages." - -#: wp-admin/includes/post.php:363 -msgid "You are not allowed to edit posts." -msgstr "Vous n’avez pas l’autorisation de modifier les articles." - -#: wp-admin/includes/post.php:534 -msgid "Auto Draft" -msgstr "Brouillon auto" - -#: wp-admin/includes/post.php:1197 -msgid "Click to edit this part of the permalink" -msgstr "Cliquez pour modifier cette section du permalien" - -#: wp-admin/includes/post.php:1199 -msgid "Temporary permalink. Click to edit this part." -msgstr "Permalien temporaire. Cliquez pour modifier cette section." - -#: wp-admin/includes/post.php:1203 wp-admin/includes/post.php:1225 -msgid "Permalink:" -msgstr "Permalien :" - -#: wp-admin/includes/post.php:1205 -msgid "Change Permalinks" -msgstr "Modifier les permaliens" - -#. translators: blog tagline -#: wp-admin/includes/schema.php:371 -msgid "Just another WordPress site" -msgstr "Un site utilisant WordPress" - -#. translators: blog tagline -#: wp-admin/includes/schema.php:496 -msgid "Just another %s site" -msgstr "Un site utilisant %s" - -#. translators: user role -#: wp-admin/includes/schema.php:602 -msgctxt "User role" -msgid "Administrator" -msgstr "Administrateur" - -#. translators: user role -#: wp-admin/includes/schema.php:604 -msgctxt "User role" -msgid "Editor" -msgstr "Éditeur" - -#. translators: user role -#: wp-admin/includes/schema.php:606 -msgctxt "User role" -msgid "Author" -msgstr "Auteur" - -#. translators: user role -#: wp-admin/includes/schema.php:608 -msgctxt "User role" -msgid "Contributor" -msgstr "Contributeur" - -#. translators: user role -#: wp-admin/includes/schema.php:610 -msgctxt "User role" -msgid "Subscriber" -msgstr "Abonné" - -#: wp-admin/includes/schema.php:953 wp-admin/includes/upgrade.php:151 -msgid "Welcome to SITE_NAME. This is your first post. Edit or delete it, then start blogging!" -msgstr "Bienvenue dans SITE_NAME. Ceci est votre premier article. Modifiez-le ou supprimez-le, puis lancez-vous !" - -#: wp-admin/includes/schema.php:1025 -msgid "Warning! Wildcard DNS may not be configured correctly!" -msgstr "Attention ! L’enregistrement DNS générique (joker) peut ne pas être configuré correctement !" - -#: wp-admin/includes/class-wp-comments-list-table.php:479 -#: wp-admin/includes/class-wp-posts-list-table.php:937 -#: wp-admin/includes/class-wp-terms-list-table.php:423 -msgid "Quick Edit" -msgstr "Modification rapide" - -#: wp-admin/includes/class-wp-posts-list-table.php:661 -#: wp-admin/includes/class-wp-terms-list-table.php:308 -msgid "Quick Edit" -msgstr "Modification rapide" - -#. translators: manage posts column name -#: wp-admin/includes/class-wp-posts-list-table.php:285 -msgctxt "column name" -msgid "Title" -msgstr "Titre" - -#. translators: column name -#: wp-admin/includes/class-wp-media-list-table.php:221 -msgctxt "column name" -msgid "File" -msgstr "Fichier" - -#. translators: column name -#: wp-admin/includes/class-wp-media-list-table.php:256 -msgctxt "column name" -msgid "Date" -msgstr "Date" - -#: wp-admin/includes/class-wp-comments-list-table.php:306 -#: wp-admin/includes/class-wp-comments-list-table.php:600 -msgctxt "column name" -msgid "Comment" -msgstr "Commentaire" - -#: wp-admin/includes/class-wp-links-list-table.php:94 -msgid "Relationship" -msgstr "Relation" - -#: wp-admin/includes/class-wp-links-list-table.php:95 -msgid "Visible" -msgstr "Visible" - -#: wp-admin/includes/class-wp-posts-list-table.php:937 -msgid "Bulk Edit" -msgstr "Modifications groupées" - -#: wp-admin/includes/class-wp-posts-list-table.php:982 -#: wp-admin/includes/class-wp-posts-list-table.php:1062 -#: wp-admin/includes/class-wp-posts-list-table.php:1098 -#: wp-admin/includes/class-wp-posts-list-table.php:1132 -#: wp-admin/includes/class-wp-posts-list-table.php:1141 -#: wp-admin/includes/class-wp-posts-list-table.php:1173 -#: wp-admin/includes/class-wp-posts-list-table.php:1194 -#: wp-admin/includes/class-wp-posts-list-table.php:1222 -msgid "— No Change —" -msgstr "— Aucun changement —" - -#. translators: Between password field and private checkbox on post quick edit -#. interface -#: wp-admin/includes/class-wp-posts-list-table.php:1008 -msgid "–OR–" -msgstr "— OU —" - -#: wp-admin/includes/class-wp-posts-list-table.php:1133 -#: wp-admin/includes/class-wp-posts-list-table.php:1142 -msgid "Allow" -msgstr "Autoriser" - -#: wp-admin/includes/class-wp-posts-list-table.php:1134 -#: wp-admin/includes/class-wp-posts-list-table.php:1143 -msgid "Do not allow" -msgstr "Refuser" - -#: wp-admin/includes/class-wp-posts-list-table.php:1155 -msgid "Allow Comments" -msgstr "Autoriser les commentaires" - -#: wp-admin/includes/class-wp-posts-list-table.php:1160 -msgid "Allow Pings" -msgstr "Autoriser les notifications par ping" - -#: wp-admin/includes/class-wp-posts-list-table.php:1192 -#: wp-admin/includes/class-wp-posts-list-table.php:1195 -#: wp-admin/includes/template.php:1635 -msgid "Sticky" -msgstr "Mis en avant" - -#: wp-admin/includes/class-wp-posts-list-table.php:1196 -msgid "Not Sticky" -msgstr "Pas mis en avant" - -#: wp-admin/includes/class-wp-posts-list-table.php:1204 -msgid "Make this post sticky" -msgstr "Mettre ce contenu en avant" - -#: wp-admin/includes/class-wp-posts-list-table.php:767 -msgid "Missed schedule" -msgstr "Planification manquée" - -#: wp-admin/includes/class-wp-posts-list-table.php:771 -msgid "Last Modified" -msgstr "Dernière modification" - -#: wp-admin/includes/class-wp-users-list-table.php:431 -msgid "View posts by this author" -msgstr "Afficher les articles de cet auteur" - -#: wp-admin/includes/class-wp-comments-list-table.php:417 -msgid "In reply to %2$s." -msgstr "En réponse à %2$s." - -#: wp-admin/includes/class-wp-comments-list-table.php:540 -msgid "Y/m/d \\a\\t g:ia" -msgstr "d/m/Y \\à\\ G \\h i \\m\\i\\n" - -#: wp-admin/includes/template.php:440 -msgid "Reply to Comment" -msgstr "Répondre au commentaire" - -#: wp-admin/includes/template.php:471 -msgid "Submit Reply" -msgstr "Envoyer la réponse" - -#: wp-admin/includes/template.php:508 -msgid "Comment by %s moved to the trash." -msgstr "Commentaire de %s déplacé dans la Corbeille." - -#: wp-admin/includes/template.php:511 -msgid "Comment by %s marked as spam." -msgstr "Commentaire de %s marqué comme indésirable." - -#: wp-admin/includes/template.php:531 wp-admin/includes/template.php:546 -#: wp-admin/includes/template.php:612 wp-admin/includes/template.php:655 -msgid "Value" -msgstr "Valeur" - -#: wp-admin/includes/template.php:602 -msgid "Key" -msgstr "Clé" - -#: wp-admin/includes/template.php:650 -msgid "Add New Custom Field:" -msgstr "Ajouter un nouveau champ personnalisé :" - -#: wp-admin/includes/template.php:676 -msgid "Enter new" -msgstr "Saisissez-en un nouveau" - -#: wp-admin/includes/template.php:687 -msgid "Add Custom Field" -msgstr "Ajouter un champ personnalisé" - -#: wp-admin/includes/template.php:877 -msgid "Before you can upload your import file, you will need to fix the following error:" -msgstr "Avant de mettre en ligne votre fichier d’import, il vous faut corriger l’erreur suivante :" - -#: wp-admin/includes/template.php:883 -msgid "Choose a file from your computer:" -msgstr "Choisissez un fichier sur votre ordinateur :" - -#: wp-admin/includes/template.php:883 -msgid "Maximum size: %s" -msgstr "Taille maximale : %s" - -#: wp-admin/includes/template.php:888 -msgid "Upload file and import" -msgstr "Envoyer le fichier et l’importer" - -#: wp-admin/includes/template.php:1032 wp-admin/press-this.php:494 -#: wp-admin/press-this.php:528 wp-admin/press-this.php:578 -msgid "Click to toggle" -msgstr "Cliquer pour inverser." - -#: wp-admin/includes/template.php:1439 -msgid "Find Posts or Pages" -msgstr "Chercher parmi les articles et pages" - -#: wp-admin/update.php:214 -msgid "Install Themes" -msgstr "Installer des thèmes" - -#: wp-admin/themes.php:35 -msgid "Manage Themes" -msgstr "Gérer les thèmes" - -#. translators: post state -#: wp-admin/includes/template.php:1633 -msgctxt "post state" -msgid "Pending" -msgstr "En attente" - -#: wp-admin/includes/screen.php:972 -msgid "Enable accessibility mode" -msgstr "Activer le mode « Accessibilité »" - -#: wp-admin/includes/screen.php:972 -msgid "Disable accessibility mode" -msgstr "Désactiver le mode Accessibilité" - -#: wp-admin/includes/media.php:2337 wp-admin/includes/nav-menu.php:657 -#: wp-admin/includes/nav-menu.php:897 -msgid "«" -msgstr "«" - -#: wp-admin/includes/media.php:2338 wp-admin/includes/nav-menu.php:658 -#: wp-admin/includes/nav-menu.php:898 -msgid "»" -msgstr "»" - -#: wp-admin/includes/ajax-actions.php:688 -msgid "Comment %d does not exist" -msgstr "Le commentaire %d n’existe pas." - -#: wp-admin/includes/taxonomy.php:113 -msgid "You did not enter a category name." -msgstr "Vous n’avez pas entré de nom de catégorie." - -#: wp-admin/includes/ajax-actions.php:949 -msgid "Sorry, you must be logged in to reply to a comment." -msgstr "Désolé, vous devez être connecté(e) pour répondre à un commentaire." - -#: wp-admin/includes/ajax-actions.php:1164 -#: wp-admin/includes/ajax-actions.php:1169 -#: wp-admin/includes/ajax-actions.php:1189 -msgid "Please provide a custom field value." -msgstr "Veuillez saisir une valeur pour le champ personnalisé." - -#: wp-admin/includes/ajax-actions.php:1251 -msgid "User %s added" -msgstr "Utilisateur %s ajouté" - -#. translators: draft saved date format, see http:php.net/date -#: wp-admin/includes/misc.php:819 -msgid "g:i:s a" -msgstr "G \\h i \\m\\i\\n s \\s" - -#. translators: %s: date and time -#: wp-admin/includes/misc.php:821 -msgid "Draft saved at %s." -msgstr "Brouillon enregistré à %s." - -#: wp-admin/includes/ajax-actions.php:1510 -msgid "Someone" -msgstr "Quelqu’un" - -#: wp-admin/includes/ajax-actions.php:1502 wp-admin/includes/post.php:203 -msgid "You are not allowed to edit this page." -msgstr "Vous n’avez pas l’autorisation de modifier cette page." - -#: wp-admin/includes/ajax-actions.php:1505 wp-admin/includes/post.php:205 -#: wp-admin/includes/post.php:1586 wp-admin/includes/post.php:1590 -#: wp-admin/press-this.php:33 wp-admin/upload.php:110 -msgid "You are not allowed to edit this post." -msgstr "Vous n’avez pas l’autorisation de modifier cet article." - -#: wp-admin/includes/ajax-actions.php:1511 -msgid "Saving is disabled: %s is currently editing this page." -msgstr "Enregistrement automatique désactivé : %s modifie actuellement cette page." - -#: wp-admin/includes/ajax-actions.php:1511 -msgid "Saving is disabled: %s is currently editing this post." -msgstr "Enregistrement automatique désactivé : %s modifie actuellement cet article." - -#: wp-admin/edit-tags.php:256 wp-admin/includes/ajax-actions.php:1600 -#: wp-admin/includes/ajax-actions.php:1605 -msgid "Item not updated." -msgstr "L’élément n’a pas été mis à jour" - -#: wp-admin/includes/ajax-actions.php:1644 -#: wp-admin/includes/class-wp-posts-list-table.php:323 -#: wp-admin/includes/class-wp-posts-list-table.php:962 -msgid "Date" -msgstr "Date" - -#: wp-admin/edit-form-comment.php:74 wp-admin/includes/ajax-actions.php:1644 -#: wp-admin/includes/class-wp-posts-list-table.php:1170 -msgid "Status" -msgstr "État" - -#: wp-admin/includes/ajax-actions.php:1656 -#: wp-admin/includes/class-wp-posts-list-table.php:769 -#: wp-admin/includes/class-wp-posts-list-table.php:1177 -#: wp-admin/includes/meta-boxes.php:79 wp-admin/includes/meta-boxes.php:102 -msgid "Scheduled" -msgstr "Planifié" - -#: wp-admin/admin.php:215 -msgid "Invalid plugin page" -msgstr "Page d’extension non valide" - -#: wp-admin/admin.php:218 -msgid "Cannot load %s." -msgstr "Impossible de charger %s." - -#: wp-admin/admin.php:251 -msgid "You are not allowed to import." -msgstr "Vous n’avez pas l’autorisation d’importer." - -#: wp-admin/admin.php:274 wp-admin/import.php:17 wp-admin/menu.php:214 -msgid "Import" -msgstr "Importer" - -#: wp-admin/comment.php:46 wp-admin/edit-form-comment.php:16 -msgid "Edit Comment" -msgstr "Modifier le commentaire" - -#: wp-admin/comment.php:68 wp-admin/comment.php:221 -#: wp-admin/edit-comments.php:164 -msgid "Oops, no comment with this ID." -msgstr "Oups, aucun commentaire avec cet ID." - -#: wp-admin/comment.php:68 wp-admin/comment.php:221 -#: wp-admin/includes/post.php:1388 -msgid "Go back" -msgstr "Retour" - -#: wp-admin/comment.php:223 wp-admin/edit-comments.php:167 -#: wp-admin/includes/comment.php:37 -msgid "You are not allowed to edit comments on this post." -msgstr "Vous n’avez pas l’autorisation de modifier les commentaires de cet article." - -#: wp-admin/comment.php:74 -msgid "This comment is in the Trash. Please move it out of the Trash if you want to edit it." -msgstr "Ce commentaire est dans la Corbeille. Veuillez l’en sortir avant de le modifier." - -#: wp-admin/comment.php:123 -msgid "You are about to mark the following comment as spam:" -msgstr "Vous êtes sur le point de marquer le commentaire suivant comme indésirable :" - -#: wp-admin/comment.php:124 -msgid "Spam Comment" -msgstr "Marquer comme indésirable" - -#: wp-admin/comment.php:127 -msgid "You are about to move the following comment to the Trash:" -msgstr "Vous êtes sur le point de déplacer le commentaire suivant dans la Corbeille :" - -#: wp-admin/comment.php:128 -msgid "Trash Comment" -msgstr "Mettre le commentaire dans la Corbeille" - -#: wp-admin/comment.php:131 -msgid "You are about to delete the following comment:" -msgstr "Vous êtes sur le point de supprimer le commentaire suivant :" \ No newline at end of file diff --git a/sources/wordpress/wp-content/languages/admin-network-fr_FR.mo b/sources/wordpress/wp-content/languages/admin-network-fr_FR.mo deleted file mode 100644 index 2e96d7f..0000000 Binary files a/sources/wordpress/wp-content/languages/admin-network-fr_FR.mo and /dev/null differ diff --git a/sources/wordpress/wp-content/languages/admin-network-fr_FR.po b/sources/wordpress/wp-content/languages/admin-network-fr_FR.po deleted file mode 100644 index 1118ba5..0000000 --- a/sources/wordpress/wp-content/languages/admin-network-fr_FR.po +++ /dev/null @@ -1,1096 +0,0 @@ -# Translation of Network Admin in French (France) -# This file is distributed under the same license as the Network Admin package. -msgid "" -msgstr "" -"PO-Revision-Date: 2014-08-15 15:05:46+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: GlotPress/0.1\n" -"Project-Id-Version: Network Admin\n" - -#. translators: 1: a filename like .htaccess. 2: a file path. -#: wp-admin/network.php:477 wp-admin/network.php:513 -msgid "Add the following to your %1$s file in %2$s, replacing other WordPress rules:" -msgstr "Ajoutez ce qui suit à votre fichier %1$s dans le dossier %2$s, en remplacement des règles WordPress déjà en place :" - -#: wp-admin/network/users.php:48 -msgid "What should be done with content owned by %s?" -msgstr "Que faire du contenu dont %s est le propriétaire ?" - -#: wp-admin/network/index.php:54 wp-admin/network/site-info.php:33 -#: wp-admin/network/site-new.php:30 wp-admin/network/site-settings.php:33 -#: wp-admin/network/site-themes.php:33 wp-admin/network/site-users.php:36 -#: wp-admin/network/sites.php:46 wp-admin/network/user-new.php:30 -#: wp-admin/network/users.php:243 -msgid "Support Forums" -msgstr "Forum d’entraide en français" - -#: wp-admin/network/sites.php:70 -msgid "Confirm your action" -msgstr "Confirmez cette action" - -#: wp-admin/network/users.php:25 -msgid "Transfer or delete content before deleting users." -msgstr "Transférer ou supprimer le contenu avant de supprimer les utilisateurs." - -#: wp-admin/network/settings.php:104 -msgid "This email address will receive notifications. Registration and support emails will also come from this address." -msgstr "Cette adresse de messagerie recevra des notifications. Les inscriptions et les messages d’assistance proviendront également de cette adresse." - -#: wp-admin/network/users.php:233 -msgid "Hover over any user on the list to make the edit links appear. The Edit link on the left will take you to their Edit User profile page; the Edit link on the right by any site name goes to an Edit Site screen for that site." -msgstr "Survolez n’importe quel des utilisateurs de la liste pour faire apparaître les liens de modification. Le lien Modifier à gauche ouvrira la page de modification du profil de l'utilisateur ; le lien Modifier à droite de n'importe quel nom de site ouvrira l'écran de modification de ce site." - -#: wp-admin/network/index.php:39 -msgid "To add a new user, click Create a New User." -msgstr "Pour ajouter un nouvel utilisateur, cliquez sur Créer un nouvel utilisateur." - -#: wp-admin/network/index.php:40 -msgid "To add a new site, click Create a New Site." -msgstr "Pour ajouter un nouveau site, cliquez sur Créer un nouveau site." - -#: wp-admin/network/index.php:42 -msgid "To search for a user, enter an email address or username. Use a wildcard to search for a partial username, such as user*." -msgstr "Pour chercher un utilisateur, saisissez une adresse de messagerie ou un identifiant. Utilisez le signe étoile (*) pour lancer une recherche sur un identifiant partiel, par exemple utilisa*." - -#: wp-admin/network/index.php:43 -msgid "To search for a site, enter the path or domain." -msgstr "Pour chercher un site, saisissez son chemin ou son domaine." - -#: wp-admin/network/upgrade.php:106 -msgid "The database upgrade process may take a little while, so please be patient." -msgstr "Le processus de mise à jour peut prendre un long moment. Merci pour votre patience." - -#: wp-admin/network/settings.php:82 -msgid "Options saved." -msgstr "Options enregistrées." - -#: wp-admin/network/index.php:25 -msgid "Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network." -msgstr "Bienvenue dans l’administration de votre réseau ! Cette partie des écrans d’administration sert à gérer tous les aspects de votre réseau multisite." - -#: wp-admin/network/index.php:26 -msgid "From here you can:" -msgstr "D’ici, vous pouvez :" - -#: wp-admin/network/index.php:27 -msgid "Add and manage sites or users" -msgstr "Ajouter et gérer des sites ou des utilisateurs" - -#: wp-admin/network/index.php:28 -msgid "Install and activate themes or plugins" -msgstr "Installer et activer des thèmes ou des extensions" - -#: wp-admin/network/index.php:29 -msgid "Update your network" -msgstr "Mettre à jour votre réseau" - -#: wp-admin/network/index.php:30 -msgid "Modify global network settings" -msgstr "Modifier les réglages globaux du réseau" - -#: wp-admin/network/index.php:38 -msgid "The Right Now widget on this screen provides current user and site counts on your network." -msgstr "Le widget Aujourd’hui de cet écran vous donne le nombre actuel d’utilisateurs et de sites sur votre réseau." - -#: wp-admin/network/index.php:41 -msgid "To search for a user or site, use the search boxes." -msgstr "Pour chercher un utilisateur ou un site, utilisez les champs de recherche." - -#: wp-admin/network/index.php:47 -msgid "Quick Tasks" -msgstr "Tâches rapides" - -#: wp-admin/network/menu.php:59 wp-admin/network/upgrade.php:18 -#: wp-admin/network/upgrade.php:42 wp-admin/network/upgrade.php:107 -msgid "Upgrade Network" -msgstr "Mettre à jour le réseau" - -#: wp-admin/network/upgrade.php:25 -msgid "Only use this screen once you have updated to a new version of WordPress through Updates/Available Updates (via the Network Administration navigation menu or the Toolbar). Clicking the Upgrade Network button will step through each site in the network, five at a time, and make sure any database updates are applied." -msgstr "N’utilisez cet écran que quand vous avez mis à jour cette installation de WordPress (au moyen de la fonction de mise à jour automatique ou la barre d’outils). En cliquant sur « Mettre à jour le réseau », WordPress s’occupera de tous les sites du réseau, par groupes de cinq, et s’assurera que toutes les mises à jour de bases de données sont appliquées." - -#: wp-admin/network/upgrade.php:32 -msgid "Documentation on Upgrade Network" -msgstr "Documentation sur la mise à jour du réseau (en)" - -#: wp-admin/network/upgrade.php:102 -msgid "Database Upgrade Required" -msgstr "Il faut mettre à jour la base de données" - -#: wp-admin/network/upgrade.php:103 -msgid "WordPress has been updated! Before we send you on your way, we need to individually upgrade the sites in your network." -msgstr "WordPress a été mis à jour ! Avant de vous laisser continuer, nous devons mettre à jour chaque site de votre réseau." - -#: wp-admin/network/site-new.php:87 -msgid "" -"New site created by %1$s\n" -"\n" -"Address: %2$s\n" -"Name: %3$s" -msgstr "" -"Nouveau site créé par %1$s\n" -"\n" -"Adresse : %2$s\n" -"Nom : %3$s" - -#: wp-admin/network.php:119 -msgid "Add the designated lines of code to wp-config.php (just before /*...stop editing...*/) and .htaccess (replacing the existing WordPress rules)." -msgstr "Ajoutez les lignes de code désignées dans le fichier wp-config.php (juste avant /*...stop editing...*/) et le fichier .htaccess (en remplaçant les règles existantes de WordPress)." - -#: wp-admin/network.php:238 wp-admin/network.php:481 wp-admin/network.php:517 -msgid "Subdirectory networks may not be fully compatible with custom wp-content directories." -msgstr "Les réseaux dans un sous-dossier peuvent ne pas être complètement compatibles avec les dossiers /wp-content personnalisés." - -#: wp-admin/network/settings.php:37 -msgid "Documentation on Network Settings" -msgstr "Documentation sur les Réglages du réseau (en)" - -#: wp-admin/network/site-users.php:230 -msgid "Enter the username and email." -msgstr "Saisir l’identifiant et l’adresse de messagerie." - -#: wp-admin/network/site-users.php:218 -msgid "Select a user to change role." -msgstr "Sélectionnez un utilisateur dont vous voulez changer le rôle." - -#: wp-admin/network/site-users.php:224 -msgid "Select a user to remove." -msgstr "Sélectionnez un utilisateur à enlever." - -#: wp-admin/network/site-users.php:227 -msgid "User created." -msgstr "L’utilisateur a été créé." - -#: wp-admin/network/users.php:41 -msgid "Warning! User cannot be deleted. The user %s is a network administrator." -msgstr "Attention ! L’utilisateur %s ne peut être effacé car c’est un administrateur du réseau." - -#: wp-admin/network/users.php:66 -msgid "Site: %s" -msgstr "Site : %s" - -#: wp-admin/network/site-users.php:278 wp-admin/network/user-new.php:102 -msgid "Add User" -msgstr "Ajouter un utilisateur" - -#: wp-admin/network/user-new.php:51 -msgid "Cannot add user." -msgstr "Impossible d’ajouter l’utilisateur." - -#: wp-admin/network/sites.php:118 -msgid "You are not allowed to delete the site." -msgstr "Vous n’avez pas l’autorisation d’effacer ce site." - -#: wp-admin/network/site-users.php:209 -msgid "User is already a member of this site." -msgstr "Cet utilisateur est déjà membre de ce site." - -#: wp-admin/network/site-info.php:85 -msgid "Site info updated." -msgstr "Les infos du site ont été mises à jour." - -#: wp-admin/network/users.php:38 -msgid "Warning! User %s cannot be deleted." -msgstr "Attention ! L’utilisateur %s n’a pas pu être supprimé." - -#: wp-admin/network/site-users.php:212 -msgid "Enter the username of an existing user." -msgstr "Saisir l’identifiant d’un utilisateur existant." - -#: wp-admin/network/themes.php:240 -msgid "You cannot delete a theme while it is active on the main site." -msgstr "Vous ne pouvez pas effacer un thème s’il est activé sur le site principal." - -#: wp-admin/network/site-new.php:106 wp-admin/network/site-new.php:116 -msgid "Add New Site" -msgstr "Ajouter un nouveau site" - -#: wp-admin/network/themes.php:236 -msgctxt "network" -msgid "Theme deleted." -msgid_plural "%s themes deleted." -msgstr[0] "Thème supprimé." -msgstr[1] "%s thèmes supprimés." - -#: wp-admin/network/themes.php:208 -msgid "Documentation on Network Themes" -msgstr "Documentation sur les thèmes du réseau" - -#: wp-admin/network/site-info.php:104 wp-admin/network/site-settings.php:94 -#: wp-admin/network/site-themes.php:146 wp-admin/network/site-users.php:191 -msgid "Info" -msgstr "Infos" - -#. translators: 1: theme name, 2: theme author -#: wp-admin/network/themes.php:142 -msgid "Are you sure you wish to delete these themes?" -msgstr "Êtes-vous certain(e) de vouloir supprimer ces thèmes ?" - -#: wp-admin/network/themes.php:151 -msgid "Yes, Delete this theme" -msgid_plural "Yes, Delete these themes" -msgstr[0] "Oui, supprimer ce thème" -msgstr[1] "Oui, supprimer ces thèmes" - -#: wp-admin/network/themes.php:137 -msgid "You are about to remove the following theme:" -msgid_plural "You are about to remove the following themes:" -msgstr[0] "Vous êtes sur le point de supprimer le thème suivant :" -msgstr[1] "Vous êtes sur le point de supprimer les thèmes suivants :" - -#: wp-admin/network/themes.php:136 -msgid "This theme may be active on other sites in the network." -msgid_plural "These themes may be active on other sites in the network." -msgstr[0] "Ce thème est peut-être activé sur d’autres sites du réseau" -msgstr[1] "Ces thèmes sont peut-être activés sur d’autres sites du réseau" - -#: wp-admin/network/themes.php:134 -msgid "Delete Theme" -msgid_plural "Delete Themes" -msgstr[0] "Supprimer le thème" -msgstr[1] "Supprimer les thèmes" - -#: wp-admin/network/menu.php:46 wp-admin/network/settings.php:19 -msgid "Network Settings" -msgstr "Réglages du réseau" - -#: wp-admin/network/site-themes.php:168 -msgid "Network enabled themes are not shown on this screen." -msgstr "Les thèmes activés pour le réseau ne sont pas visibles sur cet écran." - -#: wp-admin/network/themes.php:17 -msgid "You do not have sufficient permissions to manage network themes." -msgstr "Vous n’avez pas les droits suffisants pour gérer les thèmes du réseau." - -#: wp-admin/network/menu.php:58 -msgid "Available Updates" -msgstr "Mises à jour disponibles" - -#: wp-admin/network/user-new.php:23 -msgid "Add User will set up a new user account on the network and send that person an email with username and password." -msgstr "« Ajouter un utilisateur » créera un nouveau compte utilisateur sur le réseau, et enverra un message contenant son identifiant et son mot de passe au destinataire." - -#: wp-admin/network/site-info.php:89 wp-admin/network/site-settings.php:79 -#: wp-admin/network/site-themes.php:133 wp-admin/network/site-users.php:161 -msgid "Edit Site: %2$s" -msgstr "Modifier le site : %2$s." - -#: wp-admin/network/themes.php:100 -msgid "You do not have sufficient permissions to delete themes for this site." -msgstr "Vous n’avez pas les droits suffisants pour effacer les thèmes de ce site." - -#: wp-admin/network/site-themes.php:163 wp-admin/network/themes.php:233 -msgid "Theme disabled." -msgid_plural "%s themes disabled." -msgstr[0] "Thème désactivé." -msgstr[1] "%s thèmes désactivés." - -#: wp-admin/network/site-info.php:39 wp-admin/network/site-settings.php:39 -#: wp-admin/network/site-themes.php:54 wp-admin/network/site-users.php:49 -msgid "Invalid site ID." -msgstr "Identifiant du site invalide." - -#: wp-admin/network/site-themes.php:160 wp-admin/network/themes.php:230 -msgid "Theme enabled." -msgid_plural "%s themes enabled." -msgstr[0] "Thème activé." -msgstr[1] "%s thèmes activés." - -#: wp-admin/network/site-themes.php:165 wp-admin/network/themes.php:238 -msgid "No theme selected." -msgstr "Aucun thème sélectionné." - -#: wp-admin/network/site-info.php:26 wp-admin/network/site-settings.php:26 -#: wp-admin/network/site-themes.php:26 wp-admin/network/site-users.php:29 -msgid "Themes - This area shows themes that are not already enabled across the network. Enabling a theme in this menu makes it accessible to this site. It does not activate the theme, but allows it to show in the site’s Appearance menu. To enable a theme for the entire network, see the Network Themes screen." -msgstr "Thèmes - Cette zone affiche les thèmes qui n’ont pas déjà été activés pour l’ensemble du réseau. En activant un thème avec ce menu, vous le rendez disponible pour ce site. Cela ne l’active pas, mais l’affichera dans le menu Apparence du site. Pour activer un thème pour l’ensemble du réseau, rendez-vous sur l’écran Thèmes du réseau." - -#: wp-admin/network/site-info.php:90 wp-admin/network/site-settings.php:80 -#: wp-admin/network/site-themes.php:134 wp-admin/network/site-users.php:162 -msgid "Edit Site: %s" -msgstr "Modifier le site : %s" - -#: wp-admin/network/themes.php:154 -msgid "No, Return me to the theme list" -msgstr "Non, retourner à la liste des thèmes." - -#: wp-admin/network/site-info.php:27 wp-admin/network/site-settings.php:27 -#: wp-admin/network/site-themes.php:27 wp-admin/network/site-users.php:30 -msgid "Settings - This page shows a list of all settings associated with this site. Some are created by WordPress and others are created by plugins you activate. Note that some fields are grayed out and say Serialized Data. You cannot modify these values due to the way the setting is stored in the database." -msgstr "Réglages - Cette page affiche la liste de tous les réglages associés à ce site. Certains sont créés par WordPress, d’autres par des extensions que vous activez. Notez que certains champs sont grisés et indiquent données sérialisées (Serialized Data). Vous ne pouvez pas modifier ces valeurs, du fait de la manière dont ils sont stockés dans la base de données." - -#: wp-admin/network/site-themes.php:130 wp-admin/network/themes.php:195 -msgctxt "themes per page (screen options)" -msgid "Themes" -msgstr "Thèmes" - -#: wp-admin/network/site-info.php:24 wp-admin/network/site-settings.php:24 -#: wp-admin/network/site-themes.php:24 wp-admin/network/site-users.php:27 -msgid "Info - The domain and path are rarely edited as this can cause the site to not work properly. The Registered date and Last Updated date are displayed. Network admins can mark a site as archived, spam, deleted and mature, to remove from public listings or disable." -msgstr "Infos - Il n’est pas recommandé de modifier le domaine ou le chemin d’accès, car cela pourrait rendre le site non fonctionnel. Les dates de création et de dernière mise à jour sont affichées. Les administrateurs réseau peuvent indiquer qu’un site est archivé, indésirable, pour adulte et effacé, afin de le retirer de la liste publique ou le désactiver." - -#: wp-admin/network/site-info.php:25 wp-admin/network/site-settings.php:25 -#: wp-admin/network/site-themes.php:25 wp-admin/network/site-users.php:28 -msgid "Users - This displays the users associated with this site. You can also change their role, reset their password, or remove them from the site. Removing the user from the site does not remove the user from the network." -msgstr "Utilisateurs - Affiche les utilisateurs associés à ce site. Vous pouvez également modifier leur rôle, réinitialiser leur mot de passe ou les enlever du site. Enlever un utilisateur d’un site ne l’enlève pas du réseau." - -#: wp-admin/network/site-info.php:23 wp-admin/network/site-settings.php:23 -#: wp-admin/network/site-themes.php:23 wp-admin/network/site-users.php:26 -msgid "The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable." -msgstr "Ce menu sert à modifier les informations relatives à un site individuel, en particulier si sa zone d’administration est indisponible." - -#: wp-admin/network/sites.php:35 -msgid "Dashboard leads to the Dashboard for that site." -msgstr "« Tableau de bord » mène au tableau de bord pour ce site." - -#: wp-admin/network/settings.php:145 -msgid "Allow site administrators to add new users to their site via the \"Users → Add New\" page." -msgstr "Autoriser les administrateurs de sites à ajouter de nouveaux utilisateurs à leurs sites via la page « Utilisateurs → Ajouter »." - -#: wp-admin/network/settings.php:280 -msgid "Language Settings" -msgstr "Réglages de langue" - -#: wp-admin/network/site-settings.php:75 -msgid "Site options updated." -msgstr "Les réglages du site ont été mis à jour." - -#: wp-admin/network/menu.php:31 -msgid "Installed Themes" -msgstr "Thèmes installés" - -#: wp-admin/network/menu.php:27 -msgid "Themes %s" -msgstr "Thèmes %s" - -#: wp-admin/network/site-info.php:32 wp-admin/network/site-new.php:29 -#: wp-admin/network/site-settings.php:32 wp-admin/network/site-themes.php:32 -#: wp-admin/network/site-users.php:35 wp-admin/network/sites.php:45 -msgid "Documentation on Site Management" -msgstr "Documentation sur la gestion de site (en)" - -#: wp-admin/network/menu.php:18 wp-admin/network/sites.php:254 -msgctxt "site" -msgid "Add New" -msgstr "Ajouter" - -#: wp-admin/network/menu.php:17 -msgid "All Sites" -msgstr "Tous les sites" - -#: wp-admin/network/index.php:53 -msgid "Documentation on the Network Admin" -msgstr "Documentation sur l’administration du réseau (en)" - -#: wp-admin/network/site-themes.php:17 -msgid "You do not have sufficient permissions to manage themes for this site." -msgstr "Vous n’avez pas les droits suffisants pour gérer les thèmes de ce site." - -#: wp-admin/network/site-new.php:103 -msgid "Site added. Visit Dashboard or Edit Site" -msgstr "Site ajouté. Afficher le tableau de bord | Modifier le site" - -#: wp-admin/network/sites.php:31 -msgid "Add New takes you to the Add New Site screen. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page." -msgstr "Ajouter vous envoie au formulaire en bas de cette page. Vous pouvez chercher un site par le nom, l’identifiant ou l’adresse IP. Les options d’écran vous permettent de choisir le nombre de sites à afficher sur une même page." - -#: wp-admin/network/user-new.php:17 -msgid "You do not have sufficient permissions to add users to this network." -msgstr "Vous n’avez pas les droits suffisants pour ajouter des utilisateurs à ce réseau." - -#: wp-admin/network/sites.php:25 -msgctxt "sites per page (screen options)" -msgid "Sites" -msgstr "Sites" - -#: wp-admin/network/sites.php:206 -msgid "You do not have permission to delete that site." -msgstr "Vous n’avez pas l’autorisation de supprimer ce site." - -#: wp-admin/network/site-new.php:17 -msgid "You do not have sufficient permissions to add sites to this network." -msgstr "Vous n’avez pas les droits suffisants pour ajouter des sites à ce réseau." - -#: wp-admin/network/menu.php:32 wp-admin/network/themes.php:222 -msgctxt "theme" -msgid "Add New" -msgstr "Ajouter" - -#: wp-admin/network/user-new.php:29 wp-admin/network/users.php:242 -msgid "Documentation on Network Users" -msgstr "Documentation sur les utilisateurs du réseau" - -#: wp-admin/network/sites.php:40 -msgid "Clicking on bold headings can re-sort this table." -msgstr "Cliquez sur les en-têtes en gras afin de retrier ce tableau." - -#: wp-admin/network/sites.php:37 -msgid "Delete which is a permanent action after the confirmation screens." -msgstr "« Supprimer » est une action irréversible une fois passé l’écran de confirmation." - -#: wp-admin/network/themes.php:203 -msgid "Themes can be enabled on a site by site basis by the network admin on the Edit Site screen (which has a Themes tab); get there via the Edit action link on the All Sites screen. Only network admins are able to install or edit themes." -msgstr "Les thèmes peuvent être activés par l’administrateur du réseau pour chaque site, individuellement, par le biais de l’écran de modification d’un site (et de son onglet « Thèmes »), accessible via le lien « Modifier » de la liste des sites. Seuls les administrateurs du réseau peuvent installer ou modifier des thèmes." - -#: wp-admin/network/sites.php:34 -msgid "An Edit link to a separate Edit Site screen." -msgstr "Un lien « Modifier » vers un nouvel écran de modification de site." - -#: wp-admin/network/site-new.php:23 -msgid "This screen is for Super Admins to add new sites to the network. This is not affected by the registration settings." -msgstr "Cet écran permet aux super-admins d’ajouter de nouveaux sites au réseau. Il n’est pas limité par les réglages d’inscription." - -#: wp-admin/network/menu.php:53 -msgid "Updates" -msgstr "Mises à jour" - -#: wp-admin/network/settings.php:32 -msgid "Super admins can no longer be added on the Options screen. You must now go to the list of existing users on Network Admin > Users and click on Username or the Edit action link below that name. This goes to an Edit User page where you can check a box to grant super admin privileges." -msgstr "Les super-admins ne peuvent plus être ajoutés via l’écran des options. Vous devez aller à la liste des utilisateurs (option « Utilisateurs » du menu « Admin du réseau ») et cliquer sur un identifiant ou sur le lien « Modifier » qui s’affiche en dessous. Vous arriverez alors à un écran vous permettant de modifier ce compte utilisateur, où une case à cocher donne les droits de super-admin." - -#: wp-admin/network.php:230 -msgctxt "subdirectory examples" -msgid "like %1$s/site1 and %1$s/site2" -msgstr "comme %1$s/site1 et %1$s/site2" - -#: wp-admin/network.php:243 wp-admin/network.php:247 wp-admin/network.php:287 -msgid "Server Address" -msgstr "Adresse du serveur" - -#: wp-admin/network.php:261 -msgid "Because you are using localhost, the sites in your WordPress network must use sub-directories. Consider using localhost.localdomain if you wish to use sub-domains." -msgstr "Vous utilisez localhost, donc les sites de votre réseau WordPress doivent utiliser des sous-dossiers. Songez à utiliser localhost.localdomain si vous préférez utiliser des sous-domaines." - -#: wp-admin/network.php:264 wp-admin/network.php:274 wp-admin/network.php:281 -msgid "The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links." -msgstr "Le site principal installé dans un sous-dossier aura besoin d’utiliser une structure de permaliens personnalisés, ce qui pourra potentiellement casser des liens existants." - -#: wp-admin/network.php:271 -msgid "Because your install is in a directory, the sites in your WordPress network must use sub-directories." -msgstr "Votre installation est située dans un dossier, donc les sites de votre réseau WordPress doivent forcément utiliser des sous-dossiers." - -#: wp-admin/network.php:279 -msgid "Sub-domain Install" -msgstr "Installation sous-domaine" - -#: wp-admin/network.php:280 -msgid "Because your install is not new, the sites in your WordPress network must use sub-domains." -msgstr "Votre installation n’est pas récente, donc les sites de votre réseau WordPress doivent utiliser les sous-domaines." - -#: wp-admin/network/settings.php:93 wp-admin/network.php:294 -msgid "Network Title" -msgstr "Nom du réseau" - -#: wp-admin/network.php:298 -msgid "What would you like to call your network?" -msgstr "Quel nom voulez-vous donner à votre réseau ?" - -#: wp-admin/network.php:307 -msgid "Your email address." -msgstr "Votre adresse de contact." - -#: wp-admin/network.php:354 -msgid "The original configuration steps are shown here for reference." -msgstr "Pour rappel, voici les étapes de configuration originelles." - -#: wp-admin/network.php:359 -msgid "An existing WordPress network was detected." -msgstr "Un réseau WordPress existant a été détecté." - -#: wp-admin/network.php:360 -msgid "Please complete the configuration steps. To create a new network, you will need to empty or remove the network database tables." -msgstr "Veuillez effectuer les étapes de configuration. Pour créer un nouveau réseau, vous devrez vider ou effacer les tables de la base de données du réseau." - -#: wp-admin/network.php:371 -msgid "Enabling the Network" -msgstr "Activer le réseau de sites" - -#: wp-admin/network.php:372 -msgid "Complete the following steps to enable the features for creating a network of sites." -msgstr "Suivez les étapes ci-après pour activer les fonctionnalités permettant la création d’un réseau de sites." - -#: wp-admin/network.php:375 wp-admin/network.php:377 -msgid "Caution: We recommend you back up your existing wp-config.php and %s files." -msgstr "Attention : nous vous recommandons de faire une copie de sauvegarde de vos fichiers wp-config.php et %s actuels." - -#: wp-admin/network.php:379 -msgid "Caution: We recommend you back up your existing wp-config.php file." -msgstr "Attention : nous vous recommandons de faire une copie de sauvegarde de votre fichier wp-config.php actuel." - -#: wp-admin/network.php:385 -msgid "Add the following to your wp-config.php file in %s above the line reading /* That’s all, stop editing! Happy blogging. */:" -msgstr "Ajoutez les lignes suivantes à votre fichier wp-config.php, dans %s, au-dessus de la ligne /* C'est tout, ne touchez pas à ce qui suit ! Bon blogging ! */ :" - -#: wp-admin/network.php:199 -msgid "Fill in the information below and you’ll be on your way to creating a network of WordPress sites. We will create configuration files in the next step." -msgstr "Complétez le formulaire ci-dessous et vous serez prêt à créer un réseau de sites WordPress. Nous créerons les fichiers de configurations à l’étape suivante." - -#: wp-admin/network.php:211 -msgid "Please make sure the Apache mod_rewrite module is installed as it will be used at the end of this installation." -msgstr "Vérifiez bien que le module Apache mod_rewrite est installé, car il sera nécessaire à la fin de cette installation." - -#: wp-admin/network.php:416 -msgid "This unique authentication key is also missing from your wp-config.php file." -msgid_plural "These unique authentication keys are also missing from your wp-config.php file." -msgstr[0] "Cette clé d’authentification unique ne se trouve pas non plus dans votre fichier wp-config.php." -msgstr[1] "Ces clés d’authentification uniques ne se trouvent pas non plus dans votre fichier wp-config.php." - -#: wp-admin/network.php:174 -msgid "You cannot install a network of sites with your server address." -msgstr "Vous ne pouvez pas installer de réseau de sites avec cette adresse serveur." - -#: wp-admin/network.php:175 -msgid "You cannot use port numbers such as %s." -msgstr "Vous ne pouvez pas utiliser de numéros de port tels que %s." - -#: wp-admin/network.php:221 -msgid "You will need a wildcard DNS record if you are going to use the virtual host (sub-domain) functionality." -msgstr "Vous aurez besoin d’un enregistrement DNS générique (wildcard) pour permettre l’utilisation de la forme sous-domaine (hôte virtuel)." - -#: wp-admin/network.php:215 -msgid "If mod_rewrite is disabled, ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up." -msgstr "Si le module mod_rewrite est désactivé, contactez votre administrateur pour l’activer, ou lisez la documentation Apache officielle ou non, pour comprendre comment le mettre en place." - -#: wp-admin/network.php:195 -msgctxt "Default network name" -msgid "%s Sites" -msgstr "Réseau %s" - -#: wp-admin/network.php:249 wp-admin/network.php:289 -msgid "The internet address of your network will be %s." -msgstr "L’adresse internet de votre réseau sera %s." - -#: wp-admin/network.php:213 wp-admin/network.php:238 wp-admin/network.php:264 -#: wp-admin/network.php:274 -msgid "Warning!" -msgstr "Attention !" - -#: wp-admin/network.php:225 -msgid "Sub-domains" -msgstr "Sous-domaines" - -#: wp-admin/network.php:416 -msgid "To make your installation more secure, you should also add:" -msgstr "Pour mieux sécuriser votre installation, vous devriez également ajouter :" - -#: wp-admin/network.php:117 -msgid "Choose subdomains or subdirectories; this can only be switched afterwards by reconfiguring your install. Fill out the network details, and click install. If this does not work, you may have to add a wildcard DNS record (for subdomains) or change to another setting in Permalinks (for subdirectories)." -msgstr "Faites le choix entre sous-domaines ou sous-dossiers. Une fois l’installation configurée, vous ne pourrez pas revenir en arrière sans recommencer à zéro. Saisissez tous les détails, et cliquez sur « Installer ». Si cela ne marche pas, vous devrez sans doute ajouter une entrée de sous-domaine générique (wildcard) dans vos enregistrements DNS, ou passer à un réglage différent pour vos permaliens (si en mode sous-dossiers)." - -#: wp-admin/network.php:118 -msgid "The next screen for Network Setup will give you individually-generated lines of code to add to your wp-config.php and .htaccess files. Make sure the settings of your FTP client make files starting with a dot visible, so that you can find .htaccess; you may have to create this file if it really is not there. Make backup copies of those two files." -msgstr "L’écran suivant vous présentera un ensemble de lignes de code générées à partir de votre configuration, qu’il vous faudra ajouter à vos fichiers wp-config.php et .htaccess. Veillez bien à ce que votre client FTP soit configuré pour afficher les fichiers commençant par un point, afin que vous puissiez trouver le fichier .htaccess. Il est possible que vous ayez à créer ce fichier s’il n’est pas déjà présent. Avant toute modification de wp-config.php et .htaccess, faites-en une copie de sauvegarde." - -#: wp-admin/network.php:526 -msgid "Once you complete these steps, your network is enabled and configured. You will have to log in again." -msgstr "Une fois les étapes effectuées, votre réseau sera activé et configuré. Vous devez maintenant vous reconnecter." - -#: wp-admin/network.php:157 -msgid "The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when creating a network." -msgstr "La constante DO_NOT_UPGRADE_GLOBAL_TABLES ne doit pas être définie lors de la création du réseau." - -#: wp-admin/network.php:255 -msgid "Network Details" -msgstr "Détails du réseau" - -#: wp-admin/network.php:198 -msgid "Welcome to the Network installation process!" -msgstr "Bienvenue dans le processus d’installation du réseau !" - -#: wp-admin/network.php:213 -msgid "It looks like the Apache mod_rewrite module is not installed." -msgstr "Il semble que le module Apache mod_rewrite n’est pas installé." - -#: wp-admin/network.php:123 wp-admin/network.php:134 -msgid "Documentation on Creating a Network" -msgstr "Documentation sur la création d’un réseau de sites" - -#: wp-admin/network.php:121 -msgid "The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with “/blog/” from the main site. This disabling will be addressed in a future version." -msgstr "Le choix d’avoir des sites en mode sous-répertoire est désactivé si le réseau a été installé il y a un mois ou plus, afin de pallier les problèmes de permaliens avec l’ajout de « /blog/ » sur les adresses du site principal. Cette limitation sera corrigée dans une prochaine version." - -#: wp-admin/network.php:165 -msgid "Once the network is created, you may reactivate your plugins." -msgstr "Une fois le réseau créé, vous pourrez réactiver vos extensions." - -#: wp-admin/network.php:165 -msgid "Please deactivate your plugins before enabling the Network feature." -msgstr "Veuillez désactiver vos extensions avant la mise en place de votre réseau de sites." - -#: wp-admin/network.php:244 -msgid "We recommend you change your siteurl to %1$s before enabling the network feature. It will still be possible to visit your site using the www prefix with an address like %2$s but any links will not have the www prefix." -msgstr "Nous vous recommandons de modifier votre réglage « siteurl » pour %1$s avec d’activer la fonctionnalité de réseau. Il sera toujours possible de se rendre sur votre site par le biais du préfixe « www » avec une adresse comme %2$s, mais les liens n’auront pas le préfixe « www »." - -#: wp-admin/network.php:259 wp-admin/network.php:269 -msgid "Sub-directory Install" -msgstr "Installation dans un sous-dossier" - -#: wp-admin/network.php:116 -msgid "This screen allows you to configure a network as having subdomains (site1.example.com) or subdirectories (example.com/site1). Subdomains require wildcard subdomains to be enabled in Apache and DNS records, if your host allows it." -msgstr "Cet écran vous permet de configurer un réseau, sous la forme sous-domaines (site1.example.com) ou sous-dossiers (example.com/site1). La forme sous-domaines nécessite une entrée de sous-domaine générique (wildcard) dans les enregistrements DNS et la configuration Apache, si votre hébergeur le permet." - -#: wp-admin/network.php:112 -msgid "Create a Network of WordPress Sites" -msgstr "Créer un réseau de sites WordPress" - -#: wp-admin/network.php:176 -msgid "Return to Dashboard" -msgstr "Revenir au tableau de bord" - -#: wp-admin/network.php:27 -msgid "The Network creation panel is not for WordPress MU networks." -msgstr "Le panneau de création de réseau n’est pas conçu pour les réseaux WordPress MU." - -#: wp-admin/network.php:165 wp-admin/network.php:359 wp-admin/network.php:481 -#: wp-admin/network.php:517 -msgid "Warning:" -msgstr "Attention :" - -#: wp-admin/network.php:220 -msgid "Please choose whether you would like sites in your WordPress network to use sub-domains or sub-directories. You cannot change this later." -msgstr "Veuillez décider si vous voulez que les sites de votre installation WordPress utilisent des sous-domaines ou des sous-dossiers. Ce réglage est définitif, vous ne pourrez pas revenir en arrière." - -#: wp-admin/network.php:124 wp-admin/network.php:135 -msgid "Documentation on the Network Screen" -msgstr "Documentation sur l’écran Outils > Réseau (en)" - -#: wp-admin/network.php:219 -msgid "Addresses of Sites in your Network" -msgstr "Adresse des sites dans votre réseau" - -#: wp-admin/network.php:226 -msgctxt "subdomain examples" -msgid "like site1.%1$s and site2.%1$s" -msgstr "comme site1.%1$s et site2.%1$s" - -#: wp-admin/network.php:128 -msgid "Network" -msgstr "Réseau" - -#: wp-admin/network.php:229 -msgid "Sub-directories" -msgstr "Sous-dossiers" - -#: wp-admin/network.php:106 -msgid "You must define the WP_ALLOW_MULTISITE constant as true in your wp-config.php file to allow creation of a Network." -msgstr "Afin d’autoriser la création d’un réseau, vous devez définir la constante WP_ALLOW_MULTISITE comme « true » dans votre fichier wp-config.php." - -#: wp-admin/network.php:188 -msgid "ERROR: The network could not be created." -msgstr "ERREUR : le réseau n’a pas pu être créé." - -#: wp-admin/network.php:120 -msgid "Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar." -msgstr "Une fois que vous aurez ajouté ce code et rafraîchi la page dans votre navigateur, le mode multisite devrait être activé. Cet écran, désormais placé dans le menu de navigation Admin du Réseau, conservera une archive du code ajouté. Vous pouvez basculer de l’administration du réseau à l’administration du site en cliquant sur « Admin du réseau », ou en cliquant sur le nom d’un site individuel dans le menu déroulant « Mes Sites » de la barre d’outils." - -#: wp-admin/network/site-info.php:17 wp-admin/network/site-settings.php:17 -#: wp-admin/network/site-users.php:17 -msgid "You do not have sufficient permissions to edit this site." -msgstr "Vous n’avez pas les droits suffisants pour modifier ce site." - -#: wp-admin/network/users.php:144 -msgid "Warning! User cannot be modified. The user %s is a network administrator." -msgstr "Attention ! L’utilisateur %s ne peut être modifié car c’est un administrateur du réseau." - -#: wp-admin/network/site-new.php:24 -msgid "If the admin email for the new site does not exist in the database, a new user will also be created." -msgstr "Si l’adresse de contact du nouveau site n’existe pas dans la base de données, un nouvel utilisateur sera créé pour l’occasion." - -#: wp-admin/network/sites.php:36 -msgid "Deactivate, Archive, and Spam which lead to confirmation screens. These actions can be reversed later." -msgstr "« Désactiver », « Archiver » et « Indésirable » envoient chacun à des écrans de confirmation. Ces actions peuvent être annulées par la suite ." - -#: wp-admin/network/sites.php:39 -msgid "The site ID is used internally, and is not shown on the front end of the site or to users/viewers." -msgstr "L’identifiant du site est utilisé en interne et n’est pas affiché dans la partie publique du site, ni aux utilisateurs/visiteurs." - -#: wp-admin/network/sites.php:33 -msgid "Hovering over each site reveals seven options (three for the primary site):" -msgstr "Survoler chaque site avec la souris révèle sept options (trois pour le site principal) :" - -#: wp-admin/network/settings.php:27 -msgid "Operational settings has fields for the network’s name and admin email." -msgstr "Les réglages de fonctionnement permettent de modifier le nom du réseau, et l’adresse de messagerie de l’administrateur." - -#: wp-admin/network/users.php:234 -msgid "You can also go to the user’s profile page by clicking on the individual username." -msgstr "Vous pouvez également aller sur la page de profil d’un utilisateur en cliquant sur son identifiant." - -#: wp-admin/network/users.php:236 -msgid "The bulk action will permanently delete selected users, or mark/unmark those selected as spam. Spam users will have posts removed and will be unable to sign up again with the same email addresses." -msgstr "Le menu « Actions groupées » permet d’effacer définitivement plusieurs utilisateurs d’un coup, ou de les marquer comme sains ou indésirables. Les utilisateurs indésirables verront leurs articles supprimés, et ne pourront plus se connecter avec leur adresse de messagerie." - -#: wp-admin/network/settings.php:30 -msgid "Upload settings control the size of the uploaded files and the amount of available upload space for each site. You can change the default value for specific sites when you edit a particular site. Allowed file types are also listed (space separated only)." -msgstr "Les réglages d’envoi des fichiers permettent de limiter la taille des fichiers mis en ligne et l’espace disponible pour chaque site. Vous pouvez préciser la valeur pour chaque site individuellement. Vous pouvez également préciser les types de fichiers acceptés (séparés par des espaces)." - -#: wp-admin/network/sites.php:38 -msgid "Visit to go to the frontend site live." -msgstr "« Afficher » envoie vers la page d’accueil du site." - -#: wp-admin/network/settings.php:29 -msgid "New site settings are defaults applied when a new site is created in the network. These include welcome email for when a new site or user account is registered, and what᾿s put in the first post, page, comment, comment author, and comment URL." -msgstr "Les réglages des nouveaux sites sont les réglages par défaut appliqués à tout nouveau site créé sur le réseau. Cela comprend le message d’accueil quand un nouvel utilisateur ou un nouveau site est enregistré, ainsi que le contenu du premier article, de la première page et du premier commentaire (dont le nom et l’adresse web du commentateur)." - -#: wp-admin/network/themes.php:201 -msgid "This screen enables and disables the inclusion of themes available to choose in the Appearance menu for each site. It does not activate or deactivate which theme a site is currently using." -msgstr "Cet écran permet d’activer ou désactiver la disponibilité des thèmes pour tous les sites du réseau. Il ne permet pas d’activer ou activer le thème actuellement utilisé ce site." - -#: wp-admin/network/themes.php:202 -msgid "If the network admin disables a theme that is in use, it can still remain selected on that site. If another theme is chosen, the disabled theme will not appear in the site’s Appearance > Themes screen." -msgstr "Si l’administrateur du réseau désactive un thème en cours d’utilisation par un site, ce thème restera en place pour ce site. Si le site change de thème, le thème désactivé n’apparaîtra plus dans l’écran de sélection des thèmes de ce site." - -#: wp-admin/network/settings.php:26 -msgid "This screen sets and changes options for the network as a whole. The first site is the main site in the network and network options are pulled from that original site’s options." -msgstr "Cet écran vous donne accès aux options régissant l’ensemble du réseau. Le premier site est le site principal du réseau, et les options du réseau sont tirées des options de ce premier site." - -#: wp-admin/network/settings.php:28 -msgid "Registration settings can disable/enable public signups. If you let others sign up for a site, install spam plugins. Spaces, not commas, should separate names banned as sites for this network." -msgstr "Les réglages d’inscription permettent d’ouvrir ou fermer les inscriptions au public. Si vous ouvrez les inscriptions, veillez à installer des extensions antispam. Les domaines bannis devraient être indiqués séparés d’un espace, non d’une virgule." - -#: wp-admin/network/settings.php:31 -msgid "Menu setting enables/disables the plugin menus from appearing for non super admins, so that only super admins, not site admins, have access to activate plugins." -msgstr "Le réglage du menu (dés)active la section « Extensions » du menu pour les utilisateurs normaux, de telle sorte que seuls les super-admins peuvent y accéder pour activer une extension." - -#: wp-admin/network/sites.php:32 -msgid "This is the main table of all sites on this network. Switch between list and excerpt views by using the icons above the right side of the table." -msgstr "Voici la liste de tous les sites de ce réseau. Vous pouvez changer de vue (liste avec ou sans extrait) en utilisant les icônes présentes en haut à droite de la liste." - -#: wp-admin/network/user-new.php:24 -msgid "Users who are signed up to the network without a site are added as subscribers to the main or primary dashboard site, giving them profile pages to manage their accounts. These users will only see Dashboard and My Sites in the main navigation until a site is created for them." -msgstr "Les utilisateurs qui se sont inscrits sur le réseau sans créer de site deviennent abonnés du site d’accueil. Celui-ci leur permet d’accéder à leur compte. Ces utilisateurs ne voient dans la navigation principale que les options « Tableau de bord » et « Mes sites », jusqu’à ce qu’un site leur soit créé." - -#: wp-admin/network/users.php:235 -msgid "You can sort the table by clicking on any of the bold headings and switch between list and excerpt views by using the icons in the upper right." -msgstr "Un clic sur le titre d’une colonne permet de changer le tri du tableau. Les icônes en haut à droit permettent d’afficher des extraits ou non." - -#: wp-admin/network/upgrade.php:27 -msgid "If this process fails for any reason, users logging in to their sites will force the same update." -msgstr "Si ce processus échoue pour n’importe quelles raisons, les utilisateurs se connectant à leurs sites déclencheront la même mise à jour." - -#: wp-admin/network/upgrade.php:26 -msgid "If a version update to core has not happened, clicking this button won’t affect anything." -msgstr "S’il n’y a pas eu de mise à jour de l’installation de WordPress récemment, cliquer sur ce bouton n’aura aucun effet." - -#: wp-admin/network/users.php:232 -msgid "This table shows all users across the network and the sites to which they are assigned." -msgstr "Ce tableau affiche tous les utilisateurs appartenant au réseau, et les sites auxquels ils sont assignés." - -#: wp-admin/network/users.php:237 -msgid "You can make an existing user an additional super admin by going to the Edit User profile page and checking the box to grant that privilege." -msgstr "Vous pouvez promouvoir un utilisateur existant en super-admin en allant sur leur page de profil, et en cochant la case correspondante." - -#: wp-admin/network/site-new.php:49 -msgid "The following words are reserved for use by WordPress functions and cannot be used as blog names: %s" -msgstr "Les mots suivants sont réservés pour l’usage de fonctions WordPress et ne peuvent pas être utilisés comme nom de site : %s" - -#: wp-admin/network/upgrade.php:69 -msgid "Warning! Problem updating %1$s. Your server may not be able to connect to sites running on it. Error message: %2$s" -msgstr "Attention ! Problème lors de la mise à jour de %1$s. Votre serveur peut ne pas être capable de se connecter aux sites qu’il gère. Message d’erreur : %2$s" - -#: wp-admin/network/settings.php:167 -msgid "If you want to limit site registrations to certain domains. One domain per line." -msgstr "Si vous souhaitez que les seules personnes habilitées à créer un site soient celles disposant d’une adresse de messagerie liée à certains noms de domaines. Un domaine par ligne." - -#: wp-admin/network/settings.php:178 -msgid "If you want to ban domains from site registrations. One domain per line." -msgstr "Si vous souhaitez interdire la création de sites aux personnes dont l’adresse de messagerie est liée à certains noms de domaines. Un domaine par ligne." - -#: wp-admin/network/settings.php:125 -msgid "If registration is disabled, please set NOBLOGREDIRECT in wp-config.php to a URL you will redirect visitors to if they visit a non-existent site." -msgstr "Si l’enregistrement est désactivé, veuillez configurer l’entrée NOBLOGREDIRECT dans le fichier wp-config.php pour qu’il pointe sur l’adresse internet vers laquelle vous souhaitez que vos visiteurs soient redirigés s’ils demandent un site qui n’existe pas. " - -#: wp-admin/network/site-new.php:37 -msgid "Can’t create an empty site." -msgstr "Impossible de créer un site vide." - -#: wp-admin/network/upgrade.php:88 -msgid "If your browser doesn’t start loading the next page automatically, click this link:" -msgstr "Si votre navigateur ne lance pas automatiquement la page suivante, cliquez sur ce lien :" - -#: wp-admin/network/sites.php:224 -msgid "Site marked as spam." -msgstr "Site marqué comme indésirable." - -#: wp-admin/network/sites.php:197 -msgid "Sites marked as spam." -msgstr "Sites marqués comme indésirables." - -#: wp-admin/network/sites.php:194 -msgid "Sites removed from spam." -msgstr "Sites marqués comme sains." - -#: wp-admin/network/users.php:260 -msgid "Users removed from spam." -msgstr "Utilisateurs marqués comme sains." - -#: wp-admin/network/sites.php:221 -msgid "Site removed from spam." -msgstr "Site marqué comme sain." - -#: wp-admin/network/sites.php:200 -msgid "Sites deleted." -msgstr "Sites effacés." - -#: wp-admin/network/sites.php:203 -msgid "Site deleted." -msgstr "Site effacé." - -#: wp-admin/network/users.php:257 -msgid "Users marked as spam." -msgstr "Utilisateurs marqués comme indésirables." - -#: wp-admin/network/site-info.php:141 -msgid "Update siteurl and home as well." -msgstr "Mettez également à jour les options siteurl et home." - -#: wp-admin/network/sites.php:218 -msgid "Site deactivated." -msgstr "Site désactivé." - -#: wp-admin/network/sites.php:215 -msgid "Site activated." -msgstr "Site activé." - -#: wp-admin/network/sites.php:212 -msgid "Site unarchived." -msgstr "Site désarchivé." - -#: wp-admin/network/users.php:263 -msgid "Users deleted." -msgstr "Utilisateurs supprimés." - -#: wp-admin/network/sites.php:209 -msgid "Site archived." -msgstr "Site archivé." - -#: wp-admin/network/site-new.php:60 -msgid "Invalid email address." -msgstr "Adresse de messagerie invalide." - -#: wp-admin/network/site-new.php:76 -msgid "There was an error creating the user." -msgstr "Une erreur s’est produite lors de la création d’un utilisateur." - -#: wp-admin/network/sites.php:64 wp-admin/network/sites.php:131 -msgid "You are not allowed to change the current site." -msgstr "Vous n’êtes pas autorisé à modifier le site actuel." - -#: wp-admin/network/settings.php:272 -msgctxt "File size in kilobytes" -msgid "%s KB" -msgstr "%s Ko" - -#: wp-admin/network/settings.php:266 -msgid "Upload file types" -msgstr "Types de fichiers " - -#: wp-admin/network/settings.php:261 -msgid "Limit total size of files uploaded to %s MB" -msgstr "La taille totale des fichiers envoyés est limitée à %s Mo" - -#: wp-admin/network/settings.php:242 -msgid "The author of the first comment on a new site." -msgstr "L’auteur du premier commentaire sur tout nouveau site." - -#: wp-admin/network/settings.php:213 -msgid "The first post on a new site." -msgstr "Le premier article sur tout nouveau site." - -#: wp-admin/network/settings.php:223 -msgid "The first page on a new site." -msgstr "La première page sur tout nouveau site." - -#: wp-admin/network/settings.php:233 -msgid "The first comment on a new site." -msgstr "Le premier commentaire sur tout nouveau site." - -#: wp-admin/network/settings.php:251 -msgid "The URL for the first comment on a new site." -msgstr "L’adresse web du premier commentaire sur tout nouveau site." - -#: wp-admin/network/upgrade.php:57 -msgid "All done!" -msgstr "Terminé !" - -#: wp-admin/network/settings.php:121 -msgid "Logged in users may register new sites." -msgstr "Seuls les utilisateurs connectés peuvent créer de nouveaux sites." - -#: wp-admin/network/settings.php:122 -msgid "Both sites and user accounts can be registered." -msgstr "La création de sites et d’utilisateurs est autorisée." - -#: wp-admin/network/settings.php:120 -msgid "User accounts may be registered." -msgstr "Seuls les comptes utilisateurs peuvent être créés." - -#: wp-admin/network/settings.php:119 -msgid "Registration is disabled." -msgstr "Les inscriptions ne sont pas autorisées pour le moment." - -#: wp-admin/network/settings.php:308 -msgid "Enable administration menus" -msgstr "Activer les menus d’administration" - -#: wp-admin/network/settings.php:90 -msgid "Operational Settings" -msgstr "Réglages de fonctionnement" - -#: wp-admin/network/settings.php:256 -msgid "Upload Settings" -msgstr "Réglages d’envoi des fichiers" - -#: wp-admin/network/settings.php:184 -msgid "New Site Settings" -msgstr "Réglages des nouveaux sites" - -#: wp-admin/network/settings.php:109 -msgid "Registration Settings" -msgstr "Réglages d’inscription" - -#: wp-admin/network/site-new.php:56 -msgid "Missing or invalid site address." -msgstr "Adresse de site manquante ou non valide." - -#: wp-admin/network/site-new.php:58 -msgid "Missing email address." -msgstr "Adresse de messagerie manquante." - -#: wp-admin/network/settings.php:100 wp-admin/network.php:303 -msgid "Network Admin Email" -msgstr "Adresse de contact de l’administrateur du réseau" - -#: wp-admin/network/site-new.php:91 -msgid "[%s] New Site Created" -msgstr "[%s] Nouveau site créé" - -#: wp-admin/network/settings.php:193 -msgid "The welcome email sent to new site owners." -msgstr "Ce message de bienvenue sera envoyé aux propriétaires de nouveaux sites." - -#: wp-admin/network/settings.php:259 -msgid "Site upload space" -msgstr "Espace de stockage du site" - -#: wp-admin/network/settings.php:138 -msgid "Send the network admin an email notification every time someone registers a site or user account." -msgstr "Envoyer un message à l’administrateur du réseau à chaque inscription de site ou d’utilisateurs." - -#: wp-admin/network/settings.php:154 -msgid "Users are not allowed to register these sites. Separate names by spaces." -msgstr "Les utilisateurs ne sont pas autorisés à créer un site avec l’un de ces noms. Séparez les noms par un espace." - -#: wp-admin/network/upgrade.php:88 -msgid "Next Sites" -msgstr "Sites suivants" - -#: wp-admin/network/index.php:20 wp-admin/network/settings.php:17 -#: wp-admin/network/site-info.php:43 wp-admin/network/site-settings.php:43 -#: wp-admin/network/site-themes.php:60 wp-admin/network/site-users.php:53 -#: wp-admin/network/sites.php:17 wp-admin/network/sites.php:100 -#: wp-admin/network/upgrade.php:39 wp-admin/network/user-new.php:36 -#: wp-admin/network/users.php:17 wp-admin/network/users.php:97 -#: wp-admin/network/users.php:118 wp-admin/network/users.php:131 -#: wp-admin/network/users.php:180 -msgid "You do not have permission to access this page." -msgstr "Vous n’avez pas les droits suffisants pour accéder à cette page." - -#: wp-admin/network/sites.php:77 -msgid "Confirm" -msgstr "Confirmer" - -#: wp-admin/network/user-new.php:39 -msgid "Cannot create an empty user." -msgstr "Impossible de créer un utilisateur vide." - -#: wp-admin/network/site-users.php:233 -msgid "Duplicated username or email address." -msgstr "Identifiant ou adresse de messagerie déjà utilisé(e)." - -#: wp-admin/network/settings.php:112 -msgid "Allow new registrations" -msgstr "Autoriser les nouvelles inscriptions" - -#: wp-admin/network/settings.php:132 -msgid "Registration notification" -msgstr "Notification d’inscription" - -#: wp-admin/network/settings.php:143 -msgid "Add New Users" -msgstr "Ajouter de nouveaux utilisateurs" - -#: wp-admin/network/settings.php:150 -msgid "Banned Names" -msgstr "Noms bannis" - -#: wp-admin/network/settings.php:160 -msgid "Limited Email Registrations" -msgstr "Enregistrement réservé aux noms de domaines" - -#: wp-admin/network/settings.php:173 -msgid "Banned Email Domains" -msgstr "Noms de domaines bannis" - -#: wp-admin/network/settings.php:188 -msgid "Welcome Email" -msgstr "Message de bienvenue" - -#: wp-admin/network/settings.php:198 -msgid "Welcome User Email" -msgstr "Message de bienvenue des utilisateurs" - -#: wp-admin/network/settings.php:203 -msgid "The welcome email sent to new users." -msgstr "Ce message de bienvenue sera envoyé aux nouveaux utilisateurs." - -#: wp-admin/network/settings.php:218 -msgid "First Page" -msgstr "Première page" - -#: wp-admin/network/settings.php:228 -msgid "First Comment" -msgstr "Premier commentaire" - -#: wp-admin/network/settings.php:238 -msgid "First Comment Author" -msgstr "Auteur du premier commentaire" - -#: wp-admin/network/settings.php:247 -msgid "First Comment URL" -msgstr "Adresse du premier commentaire" - -#: wp-admin/network/settings.php:271 -msgid "Max upload file size" -msgstr "Taille maximale des fichiers" - -#: wp-admin/network/settings.php:283 -msgid "Default Language" -msgstr "Langue par défaut" - -#: wp-admin/network/site-new.php:149 -msgid "Add Site" -msgstr "Ajouter un site" - -#: wp-admin/network/site-new.php:126 -msgid "Site Address" -msgstr "Adresse du site" - -#: wp-admin/network/site-new.php:142 -msgid "Admin Email" -msgstr "Adresse de contact de l’administrateur" - -#: wp-admin/network/site-new.php:146 -msgid "A new user will be created if the above email address is not in the database." -msgstr "Un nouvel utilisateur sera créé si l’adresse de contact n’existe pas dans la base de données." - -#: wp-admin/network/site-new.php:146 -msgid "The username and password will be mailed to this email address." -msgstr "L’identifiant et le mot de passe seront envoyés sur l’adresse de contact indiquée." - -#: wp-admin/network/site-users.php:310 wp-admin/network/user-new.php:98 -msgid "Username and password will be mailed to the above email address." -msgstr "L’identifiant et le mot de passe seront envoyés à l’adresse de contact précisée." \ No newline at end of file diff --git a/sources/wordpress/wp-content/languages/continents-cities-fr_FR.mo b/sources/wordpress/wp-content/languages/continents-cities-fr_FR.mo deleted file mode 100644 index aa3a79e..0000000 Binary files a/sources/wordpress/wp-content/languages/continents-cities-fr_FR.mo and /dev/null differ diff --git a/sources/wordpress/wp-content/languages/continents-cities-fr_FR.po b/sources/wordpress/wp-content/languages/continents-cities-fr_FR.po deleted file mode 100644 index 19ea2d7..0000000 --- a/sources/wordpress/wp-content/languages/continents-cities-fr_FR.po +++ /dev/null @@ -1,1959 +0,0 @@ -# Translation of Continents & Cities in French (France) -# This file is distributed under the same license as the Continents & Cities package. -msgid "" -msgstr "" -"PO-Revision-Date: 2012-12-10 19:36:26+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: GlotPress/0.1\n" -"Project-Id-Version: Continents & Cities\n" - -#: wp-admin/includes/continents-cities.php:135 -msgid "Vincennes" -msgstr "" - -#: wp-admin/includes/continents-cities.php:136 -msgid "Winamac" -msgstr "" - -#: wp-admin/includes/continents-cities.php:137 -msgid "Inuvik" -msgstr "" - -#: wp-admin/includes/continents-cities.php:138 -msgid "Iqaluit" -msgstr "" - -#: wp-admin/includes/continents-cities.php:139 -msgid "Jamaica" -msgstr "Jamaïque" - -#: wp-admin/includes/continents-cities.php:140 -msgid "Juneau" -msgstr "" - -#: wp-admin/includes/continents-cities.php:141 -msgid "Kentucky" -msgstr "" - -#: wp-admin/includes/continents-cities.php:142 -msgid "Louisville" -msgstr "" - -#: wp-admin/includes/continents-cities.php:143 -msgid "Monticello" -msgstr "" - -#: wp-admin/includes/continents-cities.php:144 -msgid "Knox IN" -msgstr "Knox (Indiana)" - -#: wp-admin/includes/continents-cities.php:145 -msgid "La Paz" -msgstr "" - -#: wp-admin/includes/continents-cities.php:146 -msgid "Lima" -msgstr "" - -#: wp-admin/includes/continents-cities.php:147 -msgid "Los Angeles" -msgstr "" - -#: wp-admin/includes/continents-cities.php:148 -msgid "Maceio" -msgstr "Maceió" - -#: wp-admin/includes/continents-cities.php:149 -msgid "Managua" -msgstr "" - -#: wp-admin/includes/continents-cities.php:150 -msgid "Manaus" -msgstr "" - -#: wp-admin/includes/continents-cities.php:151 -msgid "Marigot" -msgstr "" - -#: wp-admin/includes/continents-cities.php:152 -msgid "Martinique" -msgstr "" - -#: wp-admin/includes/continents-cities.php:153 -msgid "Mazatlan" -msgstr "" - -#: wp-admin/includes/continents-cities.php:154 -msgid "Menominee" -msgstr "" - -#: wp-admin/includes/continents-cities.php:155 -msgid "Merida" -msgstr "" - -#: wp-admin/includes/continents-cities.php:156 -msgid "Mexico City" -msgstr "Mexico" - -#: wp-admin/includes/continents-cities.php:157 -msgid "Miquelon" -msgstr "" - -#: wp-admin/includes/continents-cities.php:158 -msgid "Moncton" -msgstr "" - -#: wp-admin/includes/continents-cities.php:159 -msgid "Monterrey" -msgstr "" - -#: wp-admin/includes/continents-cities.php:160 -msgid "Montevideo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:161 -msgid "Montreal" -msgstr "Montréal" - -#: wp-admin/includes/continents-cities.php:162 -msgid "Montserrat" -msgstr "" - -#: wp-admin/includes/continents-cities.php:163 -msgid "Nassau" -msgstr "" - -#: wp-admin/includes/continents-cities.php:164 -msgid "New York" -msgstr "" - -#: wp-admin/includes/continents-cities.php:165 -msgid "Nipigon" -msgstr "" - -#: wp-admin/includes/continents-cities.php:166 -msgid "Nome" -msgstr "" - -#: wp-admin/includes/continents-cities.php:167 -msgid "Noronha" -msgstr "" - -#: wp-admin/includes/continents-cities.php:168 -msgid "North Dakota" -msgstr "Dakota du Nord" - -#: wp-admin/includes/continents-cities.php:169 -msgid "Center" -msgstr "" - -#: wp-admin/includes/continents-cities.php:170 -msgid "New Salem" -msgstr "" - -#: wp-admin/includes/continents-cities.php:171 -msgid "Panama" -msgstr "" - -#: wp-admin/includes/continents-cities.php:172 -msgid "Pangnirtung" -msgstr "" - -#: wp-admin/includes/continents-cities.php:173 -msgid "Paramaribo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:174 -msgid "Phoenix" -msgstr "" - -#: wp-admin/includes/continents-cities.php:175 -msgid "Port-au-Prince" -msgstr "" - -#: wp-admin/includes/continents-cities.php:176 -msgid "Port of Spain" -msgstr "Port-d'Espagne" - -#: wp-admin/includes/continents-cities.php:177 -msgid "Porto Acre" -msgstr "" - -#: wp-admin/includes/continents-cities.php:178 -msgid "Porto Velho" -msgstr "" - -#: wp-admin/includes/continents-cities.php:179 -msgid "Puerto Rico" -msgstr "Porto Rico" - -#: wp-admin/includes/continents-cities.php:180 -msgid "Rainy River" -msgstr "" - -#: wp-admin/includes/continents-cities.php:181 -msgid "Rankin Inlet" -msgstr "Kangiqtiniq (Rankin Inlet)" - -#: wp-admin/includes/continents-cities.php:182 -msgid "Recife" -msgstr "" - -#: wp-admin/includes/continents-cities.php:183 -msgid "Regina" -msgstr "" - -#: wp-admin/includes/continents-cities.php:184 -msgid "Resolute" -msgstr "" - -#: wp-admin/includes/continents-cities.php:185 -msgid "Rio Branco" -msgstr "" - -#: wp-admin/includes/continents-cities.php:186 -msgid "Rosario" -msgstr "" - -#: wp-admin/includes/continents-cities.php:187 -msgid "Santiago" -msgstr "Santiago du Chili" - -#: wp-admin/includes/continents-cities.php:188 -msgid "Santo Domingo" -msgstr "Saint-Domingue" - -#: wp-admin/includes/continents-cities.php:189 -msgid "Sao Paulo" -msgstr "São Paulo" - -#: wp-admin/includes/continents-cities.php:190 -msgid "Scoresbysund" -msgstr "Ittoqqortoormiit (Scoresbysund)" - -#: wp-admin/includes/continents-cities.php:191 -msgid "Shiprock" -msgstr "" - -#: wp-admin/includes/continents-cities.php:192 -msgid "St Barthelemy" -msgstr "Saint-Barthélemy" - -#: wp-admin/includes/continents-cities.php:193 -msgid "St Johns" -msgstr "Saint John's" - -#: wp-admin/includes/continents-cities.php:194 -msgid "St Kitts" -msgstr "Île Saint-Christophe" - -#: wp-admin/includes/continents-cities.php:195 -msgid "St Lucia" -msgstr "Sainte-Lucie" - -#: wp-admin/includes/continents-cities.php:196 -msgid "St Thomas" -msgstr "Saint Thomas" - -#: wp-admin/includes/continents-cities.php:197 -msgid "St Vincent" -msgstr "Saint Vincent" - -#: wp-admin/includes/continents-cities.php:198 -msgid "Swift Current" -msgstr "" - -#: wp-admin/includes/continents-cities.php:199 -msgid "Tegucigalpa" -msgstr "" - -#: wp-admin/includes/continents-cities.php:200 -msgid "Thule" -msgstr "" - -#: wp-admin/includes/continents-cities.php:201 -msgid "Thunder Bay" -msgstr "" - -#: wp-admin/includes/continents-cities.php:202 -msgid "Tijuana" -msgstr "" - -#: wp-admin/includes/continents-cities.php:203 -msgid "Toronto" -msgstr "" - -#: wp-admin/includes/continents-cities.php:204 -msgid "Tortola" -msgstr "" - -#: wp-admin/includes/continents-cities.php:205 -msgid "Vancouver" -msgstr "" - -#: wp-admin/includes/continents-cities.php:206 -msgid "Virgin" -msgstr "" - -#: wp-admin/includes/continents-cities.php:207 -msgid "Whitehorse" -msgstr "" - -#: wp-admin/includes/continents-cities.php:208 -msgid "Winnipeg" -msgstr "" - -#: wp-admin/includes/continents-cities.php:209 -msgid "Yakutat" -msgstr "" - -#: wp-admin/includes/continents-cities.php:210 -msgid "Yellowknife" -msgstr "" - -#: wp-admin/includes/continents-cities.php:211 -msgid "Antarctica" -msgstr "Antartique" - -#: wp-admin/includes/continents-cities.php:212 -msgid "Casey" -msgstr "" - -#: wp-admin/includes/continents-cities.php:213 -msgid "Davis" -msgstr "" - -#: wp-admin/includes/continents-cities.php:214 -msgid "DumontDUrville" -msgstr "Dumont d'Urville" - -#: wp-admin/includes/continents-cities.php:215 -msgid "Mawson" -msgstr "" - -#: wp-admin/includes/continents-cities.php:216 -msgid "McMurdo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:217 -msgid "Palmer" -msgstr "" - -#: wp-admin/includes/continents-cities.php:218 -msgid "Rothera" -msgstr "" - -#: wp-admin/includes/continents-cities.php:219 -msgid "South Pole" -msgstr "Pôle Sud" - -#: wp-admin/includes/continents-cities.php:220 -msgid "Syowa" -msgstr "" - -#: wp-admin/includes/continents-cities.php:221 -msgid "Vostok" -msgstr "" - -#: wp-admin/includes/continents-cities.php:222 -msgid "Arctic" -msgstr "Arctique" - -#: wp-admin/includes/continents-cities.php:223 -msgid "Longyearbyen" -msgstr "" - -#: wp-admin/includes/continents-cities.php:224 -msgid "Asia" -msgstr "Asie" - -#: wp-admin/includes/continents-cities.php:225 -msgid "Aden" -msgstr "" - -#: wp-admin/includes/continents-cities.php:226 -msgid "Almaty" -msgstr "" - -#: wp-admin/includes/continents-cities.php:227 -msgid "Amman" -msgstr "" - -#: wp-admin/includes/continents-cities.php:228 -msgid "Anadyr" -msgstr "" - -#: wp-admin/includes/continents-cities.php:229 -msgid "Aqtau" -msgstr "Aqtou" - -#: wp-admin/includes/continents-cities.php:230 -msgid "Aqtobe" -msgstr "Aktioubé" - -#: wp-admin/includes/continents-cities.php:231 -msgid "Ashgabat" -msgstr "Achgabat" - -#: wp-admin/includes/continents-cities.php:232 -msgid "Ashkhabad" -msgstr "Achgabat" - -#: wp-admin/includes/continents-cities.php:233 -msgid "Baghdad" -msgstr "Bagdad" - -#: wp-admin/includes/continents-cities.php:234 -msgid "Bahrain" -msgstr "Bahreïn" - -#: wp-admin/includes/continents-cities.php:235 -msgid "Baku" -msgstr "Bakou" - -#: wp-admin/includes/continents-cities.php:236 -msgid "Bangkok" -msgstr "" - -#: wp-admin/includes/continents-cities.php:237 -msgid "Beirut" -msgstr "Beyrouth" - -#: wp-admin/includes/continents-cities.php:238 -msgid "Bishkek" -msgstr "Bichkek" - -#: wp-admin/includes/continents-cities.php:239 -msgid "Brunei" -msgstr "" - -#: wp-admin/includes/continents-cities.php:240 -msgid "Calcutta" -msgstr "" - -#: wp-admin/includes/continents-cities.php:241 -msgid "Choibalsan" -msgstr "Choybalsan" - -#: wp-admin/includes/continents-cities.php:242 -msgid "Chongqing" -msgstr "" - -#: wp-admin/includes/continents-cities.php:243 -msgid "Chungking" -msgstr "" - -#: wp-admin/includes/continents-cities.php:244 -msgid "Colombo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:245 -msgid "Dacca" -msgstr "Dhâkâ (Dacca)" - -#: wp-admin/includes/continents-cities.php:246 -msgid "Damascus" -msgstr "Damas" - -#: wp-admin/includes/continents-cities.php:247 -msgid "Dhaka" -msgstr "Dhâkâ (Dacca)" - -#: wp-admin/includes/continents-cities.php:248 -msgid "Dili" -msgstr "" - -#: wp-admin/includes/continents-cities.php:249 -msgid "Dubai" -msgstr "Dubaï" - -#: wp-admin/includes/continents-cities.php:250 -msgid "Dushanbe" -msgstr "Douchanbé" - -#: wp-admin/includes/continents-cities.php:251 -msgid "Gaza" -msgstr "" - -#: wp-admin/includes/continents-cities.php:252 -msgid "Harbin" -msgstr "" - -#: wp-admin/includes/continents-cities.php:253 -msgid "Ho Chi Minh" -msgstr "Hô-Chi-Minh-Ville" - -#: wp-admin/includes/continents-cities.php:254 -msgid "Hong Kong" -msgstr "" - -#: wp-admin/includes/continents-cities.php:255 -msgid "Hovd" -msgstr "" - -#: wp-admin/includes/continents-cities.php:256 -msgid "Irkutsk" -msgstr "Irkoutsk" - -#: wp-admin/includes/continents-cities.php:257 -msgid "Istanbul" -msgstr "" - -#: wp-admin/includes/continents-cities.php:258 -msgid "Jakarta" -msgstr "" - -#: wp-admin/includes/continents-cities.php:259 -msgid "Jayapura" -msgstr "" - -#: wp-admin/includes/continents-cities.php:260 -msgid "Jerusalem" -msgstr "Jérusalem" - -#: wp-admin/includes/continents-cities.php:261 -msgid "Kabul" -msgstr "Kaboul" - -#: wp-admin/includes/continents-cities.php:262 -msgid "Kamchatka" -msgstr "Kamtchatka" - -#: wp-admin/includes/continents-cities.php:263 -msgid "Karachi" -msgstr "" - -#: wp-admin/includes/continents-cities.php:264 -msgid "Kashgar" -msgstr "Kachgar" - -#: wp-admin/includes/continents-cities.php:265 -msgid "Katmandu" -msgstr "Katmandou" - -#: wp-admin/includes/continents-cities.php:266 -msgid "Kolkata" -msgstr "Calcutta" - -#: wp-admin/includes/continents-cities.php:267 -msgid "Krasnoyarsk" -msgstr "Krasnoïarsk" - -#: wp-admin/includes/continents-cities.php:268 -msgid "Kuala Lumpur" -msgstr "" - -#: wp-admin/includes/continents-cities.php:269 -msgid "Kuching" -msgstr "" - -#: wp-admin/includes/continents-cities.php:270 -msgid "Kuwait" -msgstr "Koweït" - -#: wp-admin/includes/continents-cities.php:271 -msgid "Macao" -msgstr "" - -#: wp-admin/includes/continents-cities.php:272 -msgid "Macau" -msgstr "Macao" - -#: wp-admin/includes/continents-cities.php:273 -msgid "Magadan" -msgstr "" - -#: wp-admin/includes/continents-cities.php:274 -msgid "Makassar" -msgstr "" - -#: wp-admin/includes/continents-cities.php:275 -msgid "Manila" -msgstr "Manille" - -#: wp-admin/includes/continents-cities.php:276 -msgid "Muscat" -msgstr "Mascate" - -#: wp-admin/includes/continents-cities.php:277 -msgid "Nicosia" -msgstr "Nicosie" - -#: wp-admin/includes/continents-cities.php:278 -msgid "Novosibirsk" -msgstr "Novossibirsk" - -#: wp-admin/includes/continents-cities.php:279 -msgid "Omsk" -msgstr "" - -#: wp-admin/includes/continents-cities.php:280 -msgid "Oral" -msgstr "Oural" - -#: wp-admin/includes/continents-cities.php:281 -msgid "Phnom Penh" -msgstr "" - -#: wp-admin/includes/continents-cities.php:282 -msgid "Pontianak" -msgstr "" - -#: wp-admin/includes/continents-cities.php:283 -msgid "Pyongyang" -msgstr "" - -#: wp-admin/includes/continents-cities.php:284 -msgid "Qatar" -msgstr "" - -#: wp-admin/includes/continents-cities.php:285 -msgid "Qyzylorda" -msgstr "Kyzylorda" - -#: wp-admin/includes/continents-cities.php:286 -msgid "Rangoon" -msgstr "" - -#: wp-admin/includes/continents-cities.php:287 -msgid "Riyadh" -msgstr "Riyad" - -#: wp-admin/includes/continents-cities.php:288 -msgid "Saigon" -msgstr "Hô-Chi-Minh-Ville (Saigon)" - -#: wp-admin/includes/continents-cities.php:289 -msgid "Sakhalin" -msgstr "Sakhaline" - -#: wp-admin/includes/continents-cities.php:290 -msgid "Samarkand" -msgstr "Samarcande" - -#: wp-admin/includes/continents-cities.php:291 -msgid "Seoul" -msgstr "Séoul" - -#: wp-admin/includes/continents-cities.php:292 -msgid "Shanghai" -msgstr "" - -#: wp-admin/includes/continents-cities.php:293 -msgid "Singapore" -msgstr "Singapour" - -#: wp-admin/includes/continents-cities.php:294 -msgid "Taipei" -msgstr "" - -#: wp-admin/includes/continents-cities.php:295 -msgid "Tashkent" -msgstr "Tachkent" - -#: wp-admin/includes/continents-cities.php:296 -msgid "Tbilisi" -msgstr "Tbilissi" - -#: wp-admin/includes/continents-cities.php:297 -msgid "Tehran" -msgstr "Téhéran" - -#: wp-admin/includes/continents-cities.php:298 -msgid "Tel Aviv" -msgstr "Tel Aviv-Jaffa" - -#: wp-admin/includes/continents-cities.php:299 -msgid "Thimbu" -msgstr "Thimphou" - -#: wp-admin/includes/continents-cities.php:300 -msgid "Thimphu" -msgstr "Thimphou" - -#: wp-admin/includes/continents-cities.php:301 -msgid "Tokyo" -msgstr "Tōkyō" - -#: wp-admin/includes/continents-cities.php:302 -msgid "Ujung Pandang" -msgstr "Makassar (Ujung Pandang)" - -#: wp-admin/includes/continents-cities.php:303 -msgid "Ulaanbaatar" -msgstr "Oulan-Bator (Ulaanbaatar)" - -#: wp-admin/includes/continents-cities.php:304 -msgid "Ulan Bator" -msgstr "Oulan-Bator (Ulaanbaatar)" - -#: wp-admin/includes/continents-cities.php:305 -msgid "Urumqi" -msgstr "Ürümqi" - -#: wp-admin/includes/continents-cities.php:306 -msgid "Vientiane" -msgstr "" - -#: wp-admin/includes/continents-cities.php:307 -msgid "Vladivostok" -msgstr "" - -#: wp-admin/includes/continents-cities.php:308 -msgid "Yakutsk" -msgstr "Iakoutsk" - -#: wp-admin/includes/continents-cities.php:309 -msgid "Yekaterinburg" -msgstr "Iekaterinbourg" - -#: wp-admin/includes/continents-cities.php:310 -msgid "Yerevan" -msgstr "Yerevan (Erevan)" - -#: wp-admin/includes/continents-cities.php:311 -msgid "Atlantic" -msgstr "Atlantique" - -#: wp-admin/includes/continents-cities.php:312 -msgid "Azores" -msgstr "Açores" - -#: wp-admin/includes/continents-cities.php:313 -msgid "Bermuda" -msgstr "Bermudes" - -#: wp-admin/includes/continents-cities.php:314 -msgid "Canary" -msgstr "Îles Canaries" - -#: wp-admin/includes/continents-cities.php:315 -msgid "Cape Verde" -msgstr "Cap-Vert" - -#: wp-admin/includes/continents-cities.php:316 -msgid "Faeroe" -msgstr "Îles Féroé" - -#: wp-admin/includes/continents-cities.php:317 -msgid "Faroe" -msgstr "Îles Féroé" - -#: wp-admin/includes/continents-cities.php:318 -msgid "Jan Mayen" -msgstr "Île Jan Mayen" - -#: wp-admin/includes/continents-cities.php:319 -msgid "Madeira" -msgstr "Madère" - -#: wp-admin/includes/continents-cities.php:320 -msgid "Reykjavik" -msgstr "Reykjavík" - -#: wp-admin/includes/continents-cities.php:321 -msgid "South Georgia" -msgstr "Île de Géorgie du Sud" - -#: wp-admin/includes/continents-cities.php:322 -msgid "St Helena" -msgstr "Sainte-Hélène" - -#: wp-admin/includes/continents-cities.php:323 -msgid "Stanley" -msgstr "" - -#: wp-admin/includes/continents-cities.php:324 -msgid "Australia" -msgstr "Australie" - -#: wp-admin/includes/continents-cities.php:325 -msgid "ACT" -msgstr "Territoire de la capitale australienne (ACT)" - -#: wp-admin/includes/continents-cities.php:326 -msgid "Adelaide" -msgstr "Adélaïde" - -#: wp-admin/includes/continents-cities.php:327 -msgid "Brisbane" -msgstr "" - -#: wp-admin/includes/continents-cities.php:328 -msgid "Broken Hill" -msgstr "" - -#: wp-admin/includes/continents-cities.php:329 -msgid "Canberra" -msgstr "" - -#: wp-admin/includes/continents-cities.php:330 -msgid "Currie" -msgstr "" - -#: wp-admin/includes/continents-cities.php:331 -msgid "Darwin" -msgstr "" - -#: wp-admin/includes/continents-cities.php:332 -msgid "Eucla" -msgstr "" - -#: wp-admin/includes/continents-cities.php:333 -msgid "Hobart" -msgstr "" - -#: wp-admin/includes/continents-cities.php:334 -msgid "LHI" -msgstr "Île Lord Howe (LHI)" - -#: wp-admin/includes/continents-cities.php:335 -msgid "Lindeman" -msgstr "" - -#: wp-admin/includes/continents-cities.php:336 -msgid "Lord Howe" -msgstr "Île Lord Howe (LHI)" - -#: wp-admin/includes/continents-cities.php:337 -msgid "Melbourne" -msgstr "" - -#: wp-admin/includes/continents-cities.php:338 -msgid "North" -msgstr "Nord" - -#: wp-admin/includes/continents-cities.php:339 -msgid "NSW" -msgstr "Nouvelle-Galles du Sud (NSW)" - -#: wp-admin/includes/continents-cities.php:340 -msgid "Perth" -msgstr "" - -#: wp-admin/includes/continents-cities.php:341 -msgid "Queensland" -msgstr "" - -#: wp-admin/includes/continents-cities.php:342 -msgid "South" -msgstr "Sud" - -#: wp-admin/includes/continents-cities.php:343 -msgid "Sydney" -msgstr "" - -#: wp-admin/includes/continents-cities.php:344 -msgid "Tasmania" -msgstr "Tasmanie" - -#: wp-admin/includes/continents-cities.php:345 -msgid "Victoria" -msgstr "" - -#: wp-admin/includes/continents-cities.php:346 -msgid "West" -msgstr "Ouest" - -#: wp-admin/includes/continents-cities.php:347 -msgid "Yancowinna" -msgstr "" - -#: wp-admin/includes/continents-cities.php:348 -msgid "Etc" -msgstr "Etc." - -#: wp-admin/includes/continents-cities.php:349 -msgid "GMT" -msgstr "UTC" - -#: wp-admin/includes/continents-cities.php:350 -msgid "GMT+0" -msgstr "UTC+0" - -#: wp-admin/includes/continents-cities.php:351 -msgid "GMT+1" -msgstr "UTC+1" - -#: wp-admin/includes/continents-cities.php:352 -msgid "GMT+10" -msgstr "UTC+10" - -#: wp-admin/includes/continents-cities.php:353 -msgid "GMT+11" -msgstr "UTC+11" - -#: wp-admin/includes/continents-cities.php:354 -msgid "GMT+12" -msgstr "UTC+12" - -#: wp-admin/includes/continents-cities.php:355 -msgid "GMT+2" -msgstr "UTC+2" - -#: wp-admin/includes/continents-cities.php:356 -msgid "GMT+3" -msgstr "UTC+3" - -#: wp-admin/includes/continents-cities.php:357 -msgid "GMT+4" -msgstr "UTC+4" - -#: wp-admin/includes/continents-cities.php:358 -msgid "GMT+5" -msgstr "UTC+5" - -#: wp-admin/includes/continents-cities.php:359 -msgid "GMT+6" -msgstr "UTC+6" - -#: wp-admin/includes/continents-cities.php:360 -msgid "GMT+7" -msgstr "UTC+7" - -#: wp-admin/includes/continents-cities.php:361 -msgid "GMT+8" -msgstr "UTC+8" - -#: wp-admin/includes/continents-cities.php:362 -msgid "GMT+9" -msgstr "UTC+9" - -#: wp-admin/includes/continents-cities.php:363 -msgid "GMT-0" -msgstr "UTC-0" - -#: wp-admin/includes/continents-cities.php:364 -msgid "GMT-1" -msgstr "UTC-1" - -#: wp-admin/includes/continents-cities.php:365 -msgid "GMT-10" -msgstr "UTC-10" - -#: wp-admin/includes/continents-cities.php:366 -msgid "GMT-11" -msgstr "UTC-11" - -#: wp-admin/includes/continents-cities.php:367 -msgid "GMT-12" -msgstr "UTC-12" - -#: wp-admin/includes/continents-cities.php:368 -msgid "GMT-13" -msgstr "UTC-13" - -#: wp-admin/includes/continents-cities.php:369 -msgid "GMT-14" -msgstr "UTC-14" - -#: wp-admin/includes/continents-cities.php:370 -msgid "GMT-2" -msgstr "UTC-2" - -#: wp-admin/includes/continents-cities.php:371 -msgid "GMT-3" -msgstr "UTC-3" - -#: wp-admin/includes/continents-cities.php:372 -msgid "GMT-4" -msgstr "UTC-4" - -#: wp-admin/includes/continents-cities.php:373 -msgid "GMT-5" -msgstr "UTC-5" - -#: wp-admin/includes/continents-cities.php:374 -msgid "GMT-6" -msgstr "UTC-6" - -#: wp-admin/includes/continents-cities.php:375 -msgid "GMT-7" -msgstr "UTC-7" - -#: wp-admin/includes/continents-cities.php:376 -msgid "GMT-8" -msgstr "UTC-8" - -#: wp-admin/includes/continents-cities.php:377 -msgid "GMT-9" -msgstr "UTC-9" - -#: wp-admin/includes/continents-cities.php:378 -msgid "GMT0" -msgstr "UTC0" - -#: wp-admin/includes/continents-cities.php:379 -msgid "Greenwich" -msgstr "" - -#: wp-admin/includes/continents-cities.php:380 -msgid "UCT" -msgstr "UTC" - -#: wp-admin/includes/continents-cities.php:381 -msgid "Universal" -msgstr "Universel" - -#: wp-admin/includes/continents-cities.php:382 -msgid "UTC" -msgstr "" - -#: wp-admin/includes/continents-cities.php:383 -msgid "Zulu" -msgstr "" - -#: wp-admin/includes/continents-cities.php:384 -msgid "Europe" -msgstr "" - -#: wp-admin/includes/continents-cities.php:385 -msgid "Amsterdam" -msgstr "" - -#: wp-admin/includes/continents-cities.php:386 -msgid "Andorra" -msgstr "Andorre" - -#: wp-admin/includes/continents-cities.php:387 -msgid "Athens" -msgstr "Athènes" - -#: wp-admin/includes/continents-cities.php:388 -msgid "Belfast" -msgstr "" - -#: wp-admin/includes/continents-cities.php:389 -msgid "Belgrade" -msgstr "" - -#: wp-admin/includes/continents-cities.php:390 -msgid "Berlin" -msgstr "" - -#: wp-admin/includes/continents-cities.php:391 -msgid "Bratislava" -msgstr "" - -#: wp-admin/includes/continents-cities.php:392 -msgid "Brussels" -msgstr "Bruxelles" - -#: wp-admin/includes/continents-cities.php:393 -msgid "Bucharest" -msgstr "Bucarest" - -#: wp-admin/includes/continents-cities.php:394 -msgid "Budapest" -msgstr "" - -#: wp-admin/includes/continents-cities.php:395 -msgid "Chisinau" -msgstr "Chişinău (Kichinev)" - -#: wp-admin/includes/continents-cities.php:396 -msgid "Copenhagen" -msgstr "Copenhague" - -#: wp-admin/includes/continents-cities.php:397 -msgid "Dublin" -msgstr "" - -#: wp-admin/includes/continents-cities.php:398 -msgid "Gibraltar" -msgstr "" - -#: wp-admin/includes/continents-cities.php:399 -msgid "Guernsey" -msgstr "" - -#: wp-admin/includes/continents-cities.php:400 -msgid "Helsinki" -msgstr "" - -#: wp-admin/includes/continents-cities.php:401 -msgid "Isle of Man" -msgstr "Île de Man" - -#: wp-admin/includes/continents-cities.php:402 -msgid "Jersey" -msgstr "" - -#: wp-admin/includes/continents-cities.php:403 -msgid "Kaliningrad" -msgstr "" - -#: wp-admin/includes/continents-cities.php:404 -msgid "Kiev" -msgstr "" - -#: wp-admin/includes/continents-cities.php:405 -msgid "Lisbon" -msgstr "Lisbonne" - -#: wp-admin/includes/continents-cities.php:406 -msgid "Ljubljana" -msgstr "" - -#: wp-admin/includes/continents-cities.php:407 -msgid "London" -msgstr "Londres" - -#: wp-admin/includes/continents-cities.php:408 -msgid "Luxembourg" -msgstr "" - -#: wp-admin/includes/continents-cities.php:409 -msgid "Madrid" -msgstr "" - -#: wp-admin/includes/continents-cities.php:410 -msgid "Malta" -msgstr "Malte" - -#: wp-admin/includes/continents-cities.php:411 -msgid "Mariehamn" -msgstr "" - -#: wp-admin/includes/continents-cities.php:412 -msgid "Minsk" -msgstr "" - -#: wp-admin/includes/continents-cities.php:413 -msgid "Monaco" -msgstr "" - -#: wp-admin/includes/continents-cities.php:414 -msgid "Moscow" -msgstr "Moscou" - -#: wp-admin/includes/continents-cities.php:415 -msgid "Oslo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:416 -msgid "Paris" -msgstr "" - -#: wp-admin/includes/continents-cities.php:417 -msgid "Podgorica" -msgstr "" - -#: wp-admin/includes/continents-cities.php:418 -msgid "Prague" -msgstr "" - -#: wp-admin/includes/continents-cities.php:419 -msgid "Riga" -msgstr "" - -#: wp-admin/includes/continents-cities.php:420 -msgid "Rome" -msgstr "" - -#: wp-admin/includes/continents-cities.php:421 -msgid "Samara" -msgstr "" - -#: wp-admin/includes/continents-cities.php:422 -msgid "San Marino" -msgstr "Saint-Marin" - -#: wp-admin/includes/continents-cities.php:423 -msgid "Sarajevo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:424 -msgid "Simferopol" -msgstr "" - -#: wp-admin/includes/continents-cities.php:425 -msgid "Skopje" -msgstr "" - -#: wp-admin/includes/continents-cities.php:426 -msgid "Sofia" -msgstr "" - -#: wp-admin/includes/continents-cities.php:427 -msgid "Stockholm" -msgstr "" - -#: wp-admin/includes/continents-cities.php:428 -msgid "Tallinn" -msgstr "" - -#: wp-admin/includes/continents-cities.php:429 -msgid "Tirane" -msgstr "Tirana" - -#: wp-admin/includes/continents-cities.php:430 -msgid "Tiraspol" -msgstr "" - -#: wp-admin/includes/continents-cities.php:431 -msgid "Uzhgorod" -msgstr "Oujhorod (Uzhgorod)" - -#: wp-admin/includes/continents-cities.php:432 -msgid "Vaduz" -msgstr "" - -#: wp-admin/includes/continents-cities.php:433 -msgid "Vatican" -msgstr "" - -#: wp-admin/includes/continents-cities.php:434 -msgid "Vienna" -msgstr "Vienne" - -#: wp-admin/includes/continents-cities.php:435 -msgid "Vilnius" -msgstr "" - -#: wp-admin/includes/continents-cities.php:436 -msgid "Volgograd" -msgstr "" - -#: wp-admin/includes/continents-cities.php:437 -msgid "Warsaw" -msgstr "Varsovie" - -#: wp-admin/includes/continents-cities.php:438 -msgid "Zagreb" -msgstr "" - -#: wp-admin/includes/continents-cities.php:439 -msgid "Zaporozhye" -msgstr "Zaporojie" - -#: wp-admin/includes/continents-cities.php:440 -msgid "Zurich" -msgstr "" - -#: wp-admin/includes/continents-cities.php:441 -msgid "Indian" -msgstr "Océan Indien" - -#: wp-admin/includes/continents-cities.php:442 -msgid "Antananarivo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:443 -msgid "Chagos" -msgstr "Archipel des Chagos" - -#: wp-admin/includes/continents-cities.php:444 -msgid "Christmas" -msgstr "Île Christmas" - -#: wp-admin/includes/continents-cities.php:445 -msgid "Cocos" -msgstr "Îles Cocos" - -#: wp-admin/includes/continents-cities.php:446 -msgid "Comoro" -msgstr "Archipel des Comores" - -#: wp-admin/includes/continents-cities.php:447 -msgid "Kerguelen" -msgstr "Îles Kerguelen" - -#: wp-admin/includes/continents-cities.php:448 -msgid "Mahe" -msgstr "Mahé" - -#: wp-admin/includes/continents-cities.php:449 -msgid "Maldives" -msgstr "" - -#: wp-admin/includes/continents-cities.php:450 -msgid "Mauritius" -msgstr "Île Maurice" - -#: wp-admin/includes/continents-cities.php:451 -msgid "Mayotte" -msgstr "Mayotte" - -#: wp-admin/includes/continents-cities.php:452 -msgid "Reunion" -msgstr "Île de la Réunion" - -#: wp-admin/includes/continents-cities.php:453 -msgid "Pacific" -msgstr "Océan Pacifique" - -#: wp-admin/includes/continents-cities.php:454 -msgid "Apia" -msgstr "" - -#: wp-admin/includes/continents-cities.php:455 -msgid "Auckland" -msgstr "" - -#: wp-admin/includes/continents-cities.php:456 -msgid "Chatham" -msgstr "Îles Chatham" - -#: wp-admin/includes/continents-cities.php:457 -msgid "Easter" -msgstr "Île de Pâques" - -#: wp-admin/includes/continents-cities.php:458 -msgid "Efate" -msgstr "Éfaté" - -#: wp-admin/includes/continents-cities.php:459 -msgid "Enderbury" -msgstr "" - -#: wp-admin/includes/continents-cities.php:460 -msgid "Fakaofo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:461 -msgid "Fiji" -msgstr "Fidji" - -#: wp-admin/includes/continents-cities.php:462 -msgid "Funafuti" -msgstr "" - -#: wp-admin/includes/continents-cities.php:463 -msgid "Galapagos" -msgstr "Îles Galápagos" - -#: wp-admin/includes/continents-cities.php:464 -msgid "Gambier" -msgstr "Îles Gambier" - -#: wp-admin/includes/continents-cities.php:465 -msgid "Guadalcanal" -msgstr "" - -#: wp-admin/includes/continents-cities.php:466 -msgid "Guam" -msgstr "" - -#: wp-admin/includes/continents-cities.php:467 -msgid "Honolulu" -msgstr "" - -#: wp-admin/includes/continents-cities.php:468 -msgid "Johnston" -msgstr "Atoll de Johnston" - -#: wp-admin/includes/continents-cities.php:469 -msgid "Kiritimati" -msgstr "Île Christmas (Kiribati)" - -#: wp-admin/includes/continents-cities.php:470 -msgid "Kosrae" -msgstr "" - -#: wp-admin/includes/continents-cities.php:471 -msgid "Kwajalein" -msgstr "" - -#: wp-admin/includes/continents-cities.php:472 -msgid "Majuro" -msgstr "" - -#: wp-admin/includes/continents-cities.php:473 -msgid "Marquesas" -msgstr "Îles Marquises" - -#: wp-admin/includes/continents-cities.php:474 -msgid "Midway" -msgstr "Atoll de Midway" - -#: wp-admin/includes/continents-cities.php:475 -msgid "Nauru" -msgstr "" - -#: wp-admin/includes/continents-cities.php:476 -msgid "Niue" -msgstr "Niué" - -#: wp-admin/includes/continents-cities.php:477 -msgid "Norfolk" -msgstr "" - -#: wp-admin/includes/continents-cities.php:478 -msgid "Noumea" -msgstr "Nouméa" - -#: wp-admin/includes/continents-cities.php:479 -msgid "Pago Pago" -msgstr "" - -#: wp-admin/includes/continents-cities.php:480 -msgid "Palau" -msgstr "Palaos" - -#: wp-admin/includes/continents-cities.php:481 -msgid "Pitcairn" -msgstr "Îles Pitcairn" - -#: wp-admin/includes/continents-cities.php:482 -msgid "Ponape" -msgstr "Pohnpei (Ponape)" - -#: wp-admin/includes/continents-cities.php:483 -msgid "Port Moresby" -msgstr "" - -#: wp-admin/includes/continents-cities.php:484 -msgid "Rarotonga" -msgstr "" - -#: wp-admin/includes/continents-cities.php:485 -msgid "Saipan" -msgstr "" - -#: wp-admin/includes/continents-cities.php:486 -msgid "Samoa" -msgstr "" - -#: wp-admin/includes/continents-cities.php:487 -msgid "Tahiti" -msgstr "" - -#: wp-admin/includes/continents-cities.php:488 -msgid "Tarawa" -msgstr "" - -#: wp-admin/includes/continents-cities.php:489 -msgid "Tongatapu" -msgstr "" - -#: wp-admin/includes/continents-cities.php:490 -msgid "Truk" -msgstr "Chuuk (Truk)" - -#: wp-admin/includes/continents-cities.php:491 -msgid "Wake" -msgstr "Île Wake" - -#: wp-admin/includes/continents-cities.php:492 -msgid "Wallis" -msgstr "Wallis-et-Futuna" - -#: wp-admin/includes/continents-cities.php:493 -msgid "Yap" -msgstr "" - -#: wp-admin/includes/continents-cities.php:36 -msgid "Kigali" -msgstr "" - -#: wp-admin/includes/continents-cities.php:37 -msgid "Kinshasa" -msgstr "" - -#: wp-admin/includes/continents-cities.php:33 -msgid "Johannesburg" -msgstr "" - -#: wp-admin/includes/continents-cities.php:34 -msgid "Kampala" -msgstr "" - -#: wp-admin/includes/continents-cities.php:42 -msgid "Lubumbashi" -msgstr "" - -#: wp-admin/includes/continents-cities.php:41 -msgid "Luanda" -msgstr "" - -#: wp-admin/includes/continents-cities.php:40 -msgid "Lome" -msgstr "Lomé" - -#: wp-admin/includes/continents-cities.php:39 -msgid "Libreville" -msgstr "" - -#: wp-admin/includes/continents-cities.php:38 -msgid "Lagos" -msgstr "" - -#: wp-admin/includes/continents-cities.php:45 -msgid "Maputo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:44 -msgid "Malabo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:43 -msgid "Lusaka" -msgstr "" - -#: wp-admin/includes/continents-cities.php:51 -msgid "Ndjamena" -msgstr "N'Djamena" - -#: wp-admin/includes/continents-cities.php:50 -msgid "Nairobi" -msgstr "" - -#: wp-admin/includes/continents-cities.php:46 -msgid "Maseru" -msgstr "" - -#: wp-admin/includes/continents-cities.php:47 -msgid "Mbabane" -msgstr "" - -#: wp-admin/includes/continents-cities.php:48 -msgid "Mogadishu" -msgstr "Mogadiscio" - -#: wp-admin/includes/continents-cities.php:49 -msgid "Monrovia" -msgstr "" - -#: wp-admin/includes/continents-cities.php:73 -msgid "La Rioja" -msgstr "" - -#: wp-admin/includes/continents-cities.php:72 -msgid "Jujuy" -msgstr "San Salvador de Jujuy" - -#: wp-admin/includes/continents-cities.php:71 -msgid "Cordoba" -msgstr "Córdoba" - -#: wp-admin/includes/continents-cities.php:70 -msgid "ComodRivadavia" -msgstr "Comodoro Rivadavia" - -#: wp-admin/includes/continents-cities.php:69 -msgid "Catamarca" -msgstr "" - -#: wp-admin/includes/continents-cities.php:68 -msgid "Buenos Aires" -msgstr "" - -#: wp-admin/includes/continents-cities.php:67 -msgid "Argentina" -msgstr "Argentine" - -#: wp-admin/includes/continents-cities.php:66 -msgid "Araguaina" -msgstr "Araguaína" - -#: wp-admin/includes/continents-cities.php:65 -msgid "Antigua" -msgstr "" - -#: wp-admin/includes/continents-cities.php:64 -msgid "Anguilla" -msgstr "" - -#: wp-admin/includes/continents-cities.php:63 -msgid "Anchorage" -msgstr "" - -#: wp-admin/includes/continents-cities.php:62 -msgid "Adak" -msgstr "" - -#: wp-admin/includes/continents-cities.php:61 -msgid "America" -msgstr "Amériques" - -#: wp-admin/includes/continents-cities.php:60 -msgid "Windhoek" -msgstr "" - -#: wp-admin/includes/continents-cities.php:59 -msgid "Tunis" -msgstr "" - -#: wp-admin/includes/continents-cities.php:58 -msgid "Tripoli" -msgstr "" - -#: wp-admin/includes/continents-cities.php:57 -msgid "Timbuktu" -msgstr "Tombouctou" - -#: wp-admin/includes/continents-cities.php:56 -msgid "Sao Tome" -msgstr "São Tomé" - -#: wp-admin/includes/continents-cities.php:55 -msgid "Porto-Novo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:54 -msgid "Ouagadougou" -msgstr "" - -#: wp-admin/includes/continents-cities.php:53 -msgid "Nouakchott" -msgstr "" - -#: wp-admin/includes/continents-cities.php:52 -msgid "Niamey" -msgstr "" - -#: wp-admin/includes/continents-cities.php:29 -msgid "El Aaiun" -msgstr "Laâyoune" - -#: wp-admin/includes/continents-cities.php:28 -msgid "Douala" -msgstr "" - -#: wp-admin/includes/continents-cities.php:32 -msgid "Harare" -msgstr "" - -#: wp-admin/includes/continents-cities.php:30 -msgid "Freetown" -msgstr "" - -#: wp-admin/includes/continents-cities.php:31 -msgid "Gaborone" -msgstr "" - -#: wp-admin/includes/continents-cities.php:35 -msgid "Khartoum" -msgstr "" - -#: wp-admin/includes/continents-cities.php:27 -msgid "Djibouti" -msgstr "" - -#: wp-admin/includes/continents-cities.php:26 -msgid "Dar es Salaam" -msgstr "" - -#: wp-admin/includes/continents-cities.php:25 -msgid "Dakar" -msgstr "" - -#: wp-admin/includes/continents-cities.php:24 -msgid "Conakry" -msgstr "" - -#: wp-admin/includes/continents-cities.php:23 -msgid "Ceuta" -msgstr "" - -#: wp-admin/includes/continents-cities.php:22 -msgid "Casablanca" -msgstr "" - -#: wp-admin/includes/continents-cities.php:21 -msgid "Cairo" -msgstr "Le Caire" - -#: wp-admin/includes/continents-cities.php:20 -msgid "Bujumbura" -msgstr "" - -#: wp-admin/includes/continents-cities.php:19 -msgid "Brazzaville" -msgstr "" - -#: wp-admin/includes/continents-cities.php:18 -msgid "Blantyre" -msgstr "" - -#: wp-admin/includes/continents-cities.php:17 -msgid "Bissau" -msgstr "" - -#: wp-admin/includes/continents-cities.php:16 -msgid "Banjul" -msgstr "" - -#: wp-admin/includes/continents-cities.php:15 -msgid "Bangui" -msgstr "" - -#: wp-admin/includes/continents-cities.php:14 -msgid "Bamako" -msgstr "" - -#: wp-admin/includes/continents-cities.php:13 -msgid "Asmera" -msgstr "Asmara" - -#: wp-admin/includes/continents-cities.php:11 -msgid "Algiers" -msgstr "Alger" - -#: wp-admin/includes/continents-cities.php:12 -msgid "Asmara" -msgstr "" - -#: wp-admin/includes/continents-cities.php:10 -msgid "Addis Ababa" -msgstr "Addis-Abeba" - -#: wp-admin/includes/continents-cities.php:8 -msgid "Abidjan" -msgstr "" - -#: wp-admin/includes/continents-cities.php:7 -msgid "Africa" -msgstr "Afrique" - -#: wp-admin/includes/continents-cities.php:9 -msgid "Accra" -msgstr "" - -#: wp-admin/includes/continents-cities.php:74 -msgid "Mendoza" -msgstr "" - -#: wp-admin/includes/continents-cities.php:75 -msgid "Rio Gallegos" -msgstr "Rio Gallegos" - -#: wp-admin/includes/continents-cities.php:76 -msgid "San Juan" -msgstr "" - -#: wp-admin/includes/continents-cities.php:77 -msgid "San Luis" -msgstr "" - -#: wp-admin/includes/continents-cities.php:78 -msgid "Tucuman" -msgstr "San Miguel de Tucumán" - -#: wp-admin/includes/continents-cities.php:79 -msgid "Ushuaia" -msgstr "Ushuaïa" - -#: wp-admin/includes/continents-cities.php:80 -msgid "Aruba" -msgstr "" - -#: wp-admin/includes/continents-cities.php:81 -msgid "Asuncion" -msgstr "Asunción" - -#: wp-admin/includes/continents-cities.php:82 -msgid "Atikokan" -msgstr "" - -#: wp-admin/includes/continents-cities.php:83 -msgid "Atka" -msgstr "" - -#: wp-admin/includes/continents-cities.php:84 -msgid "Bahia" -msgstr "" - -#: wp-admin/includes/continents-cities.php:85 -msgid "Barbados" -msgstr "Barbade" - -#: wp-admin/includes/continents-cities.php:86 -msgid "Belem" -msgstr "Belém" - -#: wp-admin/includes/continents-cities.php:87 -msgid "Belize" -msgstr "" - -#: wp-admin/includes/continents-cities.php:88 -msgid "Blanc-Sablon" -msgstr "" - -#: wp-admin/includes/continents-cities.php:89 -msgid "Boa Vista" -msgstr "" - -#: wp-admin/includes/continents-cities.php:90 -msgid "Bogota" -msgstr "Bogotá" - -#: wp-admin/includes/continents-cities.php:91 -msgid "Boise" -msgstr "" - -#: wp-admin/includes/continents-cities.php:92 -msgid "Cambridge Bay" -msgstr "Ikaluktutiak" - -#: wp-admin/includes/continents-cities.php:93 -msgid "Campo Grande" -msgstr "" - -#: wp-admin/includes/continents-cities.php:94 -msgid "Cancun" -msgstr "Cancún" - -#: wp-admin/includes/continents-cities.php:95 -msgid "Caracas" -msgstr "" - -#: wp-admin/includes/continents-cities.php:96 -msgid "Cayenne" -msgstr "" - -#: wp-admin/includes/continents-cities.php:97 -msgid "Cayman" -msgstr "Îles Caïmans" - -#: wp-admin/includes/continents-cities.php:98 -msgid "Chicago" -msgstr "" - -#: wp-admin/includes/continents-cities.php:99 -msgid "Chihuahua" -msgstr "Etat de Chihuahua" - -#: wp-admin/includes/continents-cities.php:100 -msgid "Coral Harbour" -msgstr "" - -#: wp-admin/includes/continents-cities.php:101 -msgid "Costa Rica" -msgstr "" - -#: wp-admin/includes/continents-cities.php:102 -msgid "Cuiaba" -msgstr "Cuiabá" - -#: wp-admin/includes/continents-cities.php:103 -msgid "Curacao" -msgstr "Curaçao" - -#: wp-admin/includes/continents-cities.php:104 -msgid "Danmarkshavn" -msgstr "" - -#: wp-admin/includes/continents-cities.php:105 -msgid "Dawson" -msgstr "" - -#: wp-admin/includes/continents-cities.php:106 -msgid "Dawson Creek" -msgstr "" - -#: wp-admin/includes/continents-cities.php:107 -msgid "Denver" -msgstr "" - -#: wp-admin/includes/continents-cities.php:108 -msgid "Detroit" -msgstr "" - -#: wp-admin/includes/continents-cities.php:109 -msgid "Dominica" -msgstr "Dominique" - -#: wp-admin/includes/continents-cities.php:110 -msgid "Edmonton" -msgstr "" - -#: wp-admin/includes/continents-cities.php:111 -msgid "Eirunepe" -msgstr "Eirunepé" - -#: wp-admin/includes/continents-cities.php:112 -msgid "El Salvador" -msgstr "Salvador" - -#: wp-admin/includes/continents-cities.php:113 -msgid "Ensenada" -msgstr "" - -#: wp-admin/includes/continents-cities.php:114 -msgid "Fort Wayne" -msgstr "" - -#: wp-admin/includes/continents-cities.php:115 -msgid "Fortaleza" -msgstr "" - -#: wp-admin/includes/continents-cities.php:116 -msgid "Glace Bay" -msgstr "" - -#: wp-admin/includes/continents-cities.php:117 -msgid "Godthab" -msgstr "Nuuk (Godthåb)" - -#: wp-admin/includes/continents-cities.php:118 -msgid "Goose Bay" -msgstr "" - -#: wp-admin/includes/continents-cities.php:119 -msgid "Grand Turk" -msgstr "" - -#: wp-admin/includes/continents-cities.php:120 -msgid "Grenada" -msgstr "Grenade" - -#: wp-admin/includes/continents-cities.php:121 -msgid "Guadeloupe" -msgstr "" - -#: wp-admin/includes/continents-cities.php:122 -msgid "Guatemala" -msgstr "" - -#: wp-admin/includes/continents-cities.php:123 -msgid "Guayaquil" -msgstr "" - -#: wp-admin/includes/continents-cities.php:124 -msgid "Guyana" -msgstr "Guyane" - -#: wp-admin/includes/continents-cities.php:125 -msgid "Halifax" -msgstr "" - -#: wp-admin/includes/continents-cities.php:126 -msgid "Havana" -msgstr "La Havane" - -#: wp-admin/includes/continents-cities.php:127 -msgid "Hermosillo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:128 -msgid "Indiana" -msgstr "" - -#: wp-admin/includes/continents-cities.php:129 -msgid "Indianapolis" -msgstr "" - -#: wp-admin/includes/continents-cities.php:130 -msgid "Knox" -msgstr "" - -#: wp-admin/includes/continents-cities.php:131 -msgid "Marengo" -msgstr "" - -#: wp-admin/includes/continents-cities.php:132 -msgid "Petersburg" -msgstr "" - -#: wp-admin/includes/continents-cities.php:133 -msgid "Tell City" -msgstr "" - -#: wp-admin/includes/continents-cities.php:134 -msgid "Vevay" -msgstr "" \ No newline at end of file diff --git a/sources/wordpress/wp-content/languages/fr_FR.mo b/sources/wordpress/wp-content/languages/fr_FR.mo deleted file mode 100644 index e5d3263..0000000 Binary files a/sources/wordpress/wp-content/languages/fr_FR.mo and /dev/null differ diff --git a/sources/wordpress/wp-content/languages/fr_FR.po b/sources/wordpress/wp-content/languages/fr_FR.po deleted file mode 100644 index e2152d9..0000000 --- a/sources/wordpress/wp-content/languages/fr_FR.po +++ /dev/null @@ -1,6962 +0,0 @@ -# Translation of Development in French (France) -# This file is distributed under the same license as the Development package. -msgid "" -msgstr "" -"PO-Revision-Date: 2014-11-22 09:37:27+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: GlotPress/0.1\n" -"Project-Id-Version: Development\n" - -#. translators: 'rtl' or 'ltr'. This sets the text direction for WordPress. -#: wp-includes/locale.php:184 -msgctxt "text direction" -msgid "ltr" -msgstr "ltr" - -#: wp-includes/post.php:57 -msgctxt "add new media" -msgid "Add New" -msgstr "Créer" - -#: wp-includes/post.php:55 -msgctxt "post type general name" -msgid "Media" -msgstr "Fichier média" - -#: wp-includes/class-wp-editor.php:941 -msgctxt "TinyMCE menu" -msgid "Format" -msgstr "Format" - -#: wp-includes/post.php:22 -msgctxt "add new on admin bar" -msgid "Post" -msgstr "Article" - -#: wp-includes/post.php:38 -msgctxt "add new on admin bar" -msgid "Page" -msgstr "Page" - -#: wp-includes/admin-bar.php:573 -msgctxt "add new from admin bar" -msgid "Link" -msgstr "Lien" - -#: wp-includes/class-wp-editor.php:794 -msgctxt "list style" -msgid "Default" -msgstr "Par défaut" - -#: wp-login.php:845 -msgid "You have successfully updated WordPress! Please log back in to see what’s new." -msgstr "WordPress a été mis à jour avec succès ! Veuillez vous reconnecter pour voir les nouveautés." - -#: wp-includes/media.php:2951 -msgid "Trash Selected" -msgstr "Mettre la sélection à la Corbeille" - -#: wp-includes/media.php:2952 -msgid "Untrash Selected" -msgstr "Retirer la sélection de la Corbeille" - -#: wp-includes/media-template.php:418 wp-includes/media-template.php:521 -msgid "Untrash" -msgstr "Sortir de la Corbeille" - -#: wp-includes/media.php:2948 -msgid "" -"You are about to trash these items.\n" -" 'Cancel' to stop, 'OK' to delete." -msgstr "" -"Vous vous apprêtez à mettre ces éléments à la Corbeille.\n" -"'Annuler' pour arrêter, 'OK' pour les supprimer" - -#: wp-includes/class-wp-customize-panel.php:175 -msgid "Press return or enter to open this panel" -msgstr "Appuyer sur Entrée pour ouvrir ce panneau" - -#: wp-includes/media.php:2949 -msgid "Bulk Select" -msgstr "Sélection en masse" - -#: wp-includes/media.php:2950 -msgid "Cancel Selection" -msgstr "Annuler la sélection" - -#: wp-includes/media.php:2953 -msgid "Delete Selected" -msgstr "Supprimer la sélection" - -#: wp-includes/script-loader.php:540 -msgctxt "missing menu item navigation label" -msgid "(no label)" -msgstr "(Aucune information)" - -#. translators: %s: taxonomy label, %l: list of term links -#: wp-includes/taxonomy.php:3757 wp-includes/taxonomy.php:3782 -msgid "%s: %l." -msgstr "%s : %l." - -#: wp-includes/user.php:137 -msgid "ERROR: Invalid username. Lost your password?" -msgstr "ERREUR : Nom d’utilisateur invalide. Vous avez perdu votre mot de passe ?" - -#: wp-includes/user.php:153 -msgid "ERROR: The password you entered for the username %1$s is incorrect. Lost your password?" -msgstr "ERREUR : le mot de passe que vous avez saisi pour le nom d’utilisateur %1$s est incorrect. Avez-vous perdu votre mot de passe ?" - -#: wp-includes/media.php:1471 -msgid "Bitrate" -msgstr "Débit" - -#: wp-includes/class-wp-editor.php:932 -msgid "Your browser does not support direct access to the clipboard. Please use keyboard shortcuts or your browser’s edit menu instead." -msgstr "Votre navigateur ne supporte pas les accès direct au presse-papier. Veuillez utiliser les raccourcis clavier ou le menu Édition de votre navigateur." - -#: wp-includes/class-wp-editor.php:947 -msgid "Read more..." -msgstr "Lire la suite..." - -#: wp-includes/class-wp-editor.php:1412 -msgid "Search or use up and down arrow keys to select an item." -msgstr "Chercher ou utiliser les flèches haut et bas pour choisir un élément." - -#: wp-includes/media-template.php:151 -msgid "Close media panel" -msgstr "Fermer le panneau des médias" - -#: wp-includes/media-template.php:172 -msgid "Close uploader" -msgstr "Fermer le panneau de chargement" - -#: wp-includes/media-template.php:218 -msgid "Maximum upload file size: %s." -msgstr "Taille de fichier maximale pour la mise en ligne : %s." - -#: wp-includes/media-template.php:237 -msgid "List View" -msgstr "Vue en liste" - -#: wp-includes/media-template.php:240 -msgid "Grid View" -msgstr "Vue en grille" - -#: wp-includes/media-template.php:267 -msgid "Edit previous media item" -msgstr "Modifier l’élément média précédent" - -#: wp-includes/media-template.php:268 -msgid "Edit next media item" -msgstr "Modifier l’élément média suivant" - -#: wp-includes/media-template.php:327 -msgid "File name:" -msgstr "Nom du fichier :" - -#: wp-includes/media-template.php:328 -msgid "File type:" -msgstr "Type du fichier :" - -#: wp-includes/media-template.php:329 -msgid "Uploaded on:" -msgstr "Mis en ligne le :" - -#: wp-includes/media-template.php:331 -msgid "File size:" -msgstr "Taille du fichier :" - -#: wp-includes/media-template.php:334 -msgid "Dimensions:" -msgstr "Dimensions :" - -#: wp-includes/media-template.php:344 -msgid "Bitrate:" -msgstr "Débit binaire" - -#: wp-includes/media-template.php:394 -msgid "Uploaded By" -msgstr "Mise en ligne par" - -#: wp-includes/media-template.php:399 -msgid "Uploaded To" -msgstr "Mis en ligne sur" - -#: wp-includes/media-template.php:411 -msgid "View attachment page" -msgstr "Afficher la page du fichier" - -#: wp-includes/media-template.php:413 -msgid "Edit more details" -msgstr " Indiquer plus de détails" - -#: wp-includes/media.php:1472 -msgid "Bitrate Mode" -msgstr "Mode de débit" - -#: wp-includes/media.php:2939 -msgid "All media types" -msgstr "Tous les types de médias" - -#: wp-includes/media.php:2940 -msgid "All dates" -msgstr "Toutes les dates" - -#: wp-includes/media.php:2943 -msgid "Unattached" -msgstr "Non-attaché" - -#: wp-includes/media.php:2947 -msgid "" -"You are about to permanently delete these items.\n" -" 'Cancel' to stop, 'OK' to delete." -msgstr "" -"Vous vous apprêtez à supprimer définitivement ces éléments.\n" -"'Annuler' pour arrêter, 'OK' pour continuer." - -#: wp-includes/media.php:2956 -msgid "Filter by date" -msgstr "Filtrer par date" - -#: wp-includes/media.php:2957 -msgid "Filter by type" -msgstr "Filtrer par type" - -#: wp-includes/media.php:2958 -msgid "Search Media" -msgstr "Rechercher un média" - -#: wp-includes/media.php:3031 -msgid "Edit Metadata" -msgstr "Modifier les métadonnées " - -#: wp-includes/ms-load.php:95 -msgid "This site is no longer available." -msgstr "Ce site n’est plus disponible." - -#: wp-comments-post.php:136 -msgid "ERROR: The comment could not be saved. Please try again later." -msgstr "ERREUR : le commentaire n’a pas pu être enregistré. Veuillez réessayer plus tard." - -#: wp-includes/class-wp-customize-control.php:988 -msgid "While you can crop images to your liking after clicking Add new image, your theme recommends a header size of %s × %s pixels." -msgstr "Bien que vous puissiez recadrer vos images comme bon vous semble après avoir cliqué sur Ajouter une image, votre thème recommande d’utiliser une taille de %s × %s pixels pour l’en-tête." - -#: wp-includes/class-wp-customize-control.php:990 -msgid "While you can crop images to your liking after clicking Add new image, your theme recommends a header width of %s pixels." -msgstr "Bien que vous puissiez recadrer vos images comme bon vous semble après avoir cliqué sur Ajouter une image, votre thème recommande d’utiliser une largeur de %s pixels pour l’en-tête." - -#: wp-includes/class-wp-customize-control.php:992 -msgid "While you can crop images to your liking after clicking Add new image, your theme recommends a header height of %s pixels." -msgstr "Bien que vous puissiez recadrer vos images comme bon vous semble après avoir cliqué sur Ajouter une image, votre thème recommande d’utiliser une hauteur de %s pixels pour l’en-tête." - -#: wp-includes/class-wp-customize-section.php:182 -msgid "Press return or enter to expand" -msgstr "Appuyez sur Envoi ou Retour pour ouvrir" - -#. translators: %s is the site/panel title in the Customizer -#: wp-includes/class-wp-customize-panel.php:182 -msgid "You are customizing %s" -msgstr "Vous personnalisez %s" - -#: wp-includes/class-wp-customize-widgets.php:438 -msgid "Widgets are independent sections of content that can be placed into widgetized areas provided by your theme (commonly called sidebars)." -msgstr "Les widgets sont des sections de contenu indépendants qui peuvent être placés dans les zones à widgets prévues dans votre thème (généralement, les barres latérales)." - -#: wp-includes/update.php:119 wp-includes/update.php:295 -#: wp-includes/update.php:457 -msgid "(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)" -msgstr "(WordPress n’a pas pu établir de connexion sécurisée vers WordPress.org. Veuillez contacter l’administrateur de votre serveur.)" - -#: wp-includes/class-wp-customize-widgets.php:1049 -msgid "Shift-click to edit this widget." -msgstr "Faites Shift+clic pour modifier ce widget." - -#: wp-includes/class-wp-editor.php:757 -msgctxt "HTML tag" -msgid "Address" -msgstr "Adresse" - -#: wp-includes/class-wp-editor.php:929 -msgid "If you’re looking to paste rich content from Microsoft Word, try turning this option off. The editor will clean up text pasted from Word automatically." -msgstr "Si vous souhaitez utiliser du contenu riche en provenance de Microsoft Word, essayez de désactiver cette option. L’éditeur nettoiera automatiquement les textes en provenance de Word." - -#: wp-includes/class-wp-editor.php:944 -#: wp-includes/js/tinymce/wp-mce-help.php:16 -msgid "Keyboard Shortcuts" -msgstr "Raccourcis clavier" - -#: wp-login.php:774 -msgid "ERROR: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums." -msgstr "ERREUR : les cookies sont bloqués en raison d’un retour inattendu. Pour obtenir de l’aide, veuillez lire cette documentation ou essayez les forums d’entraide." - -#: wp-login.php:775 wp-login.php:779 -msgid "http://codex.wordpress.org/Cookies" -msgstr "http://codex.wordpress.org/Cookies" - -#: wp-login.php:778 -msgid "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress." -msgstr "ERREUR : les cookies sont bloqués ou ne sont pas reconnus par votre navigateur. Vous devez activer les cookies pour utiliser WordPress." - -#: wp-includes/js/tinymce/wp-mce-help.php:132 -msgid "Add/remove code tag" -msgstr "Ajouter/enlever la balise de code" - -#: wp-includes/media-template.php:970 -msgid "Link CSS Class" -msgstr "Classe CSS du lien" - -#: wp-includes/media-template.php:750 -msgid "Show Video List" -msgstr "Afficher la list des vidéos" - -#: wp-includes/media-template.php:867 -msgid "Display Settings" -msgstr "Réglages de l’affichage" - -#: wp-includes/media-template.php:846 -msgid "Edit Original" -msgstr "Modifier l’original" - -#: wp-includes/class-wp-editor.php:909 -msgctxt "table cell alignment attribute" -msgid "None" -msgstr "Aucun" - -#: wp-includes/class-wp-editor.php:769 -msgid "Font Family" -msgstr "Famille de polices" - -#: wp-includes/class-wp-editor.php:770 -msgid "Font Sizes" -msgstr "Tailles de la police" - -#: wp-includes/class-wp-editor.php:900 -msgid "Split table cell" -msgstr "Diviser une cellule du tableau" - -#: wp-includes/media-template.php:223 wp-includes/media.php:2993 -msgid "Suggested image dimensions:" -msgstr "Dimensions d’image suggérées :" - -#: wp-includes/media-template.php:914 -msgid "Custom Size" -msgstr "Taille personalisée" - -#: wp-includes/media-template.php:949 -msgid "Advanced Options" -msgstr "Options avancées" - -#: wp-includes/media-template.php:953 -msgid "Image Title Attribute" -msgstr "Attribut « Title » de l’image" - -#: wp-includes/media-template.php:957 -msgid "Image CSS Class" -msgstr "Classe CSS de l’image" - -#: wp-includes/media-template.php:370 wp-includes/media-template.php:549 -#: wp-includes/media.php:1462 -msgid "Artist" -msgstr "Artiste" - -#: wp-includes/media-template.php:371 wp-includes/media-template.php:550 -#: wp-includes/media.php:1463 -msgid "Album" -msgstr "Album" - -#: wp-includes/media.php:1467 -msgid "Genre" -msgstr "Genre" - -#: wp-includes/media.php:1468 -msgid "Year" -msgstr "Année" - -#: wp-includes/media.php:1469 -msgctxt "video or audio" -msgid "Length" -msgstr "Durée" - -#: wp-includes/media.php:2994 -msgid "There has been an error cropping your image." -msgstr "Une erreur est survenue lors du recadrage de votre image." - -#: wp-includes/media.php:3013 -msgid "Edit Audio Playlist" -msgstr "Modifier la liste de lecture audio" - -#: wp-includes/media.php:3014 -msgid "← Cancel Audio Playlist" -msgstr "← Annuler la liste de lecture audio" - -#: wp-includes/media.php:3015 -msgid "Insert audio playlist" -msgstr "Insérer une liste de lecture audio" - -#: wp-includes/media.php:3016 -msgid "Update audio playlist" -msgstr "Mettre à jour la liste de lecture audio" - -#: wp-includes/media.php:3017 -msgid "Add to audio playlist" -msgstr "Ajouter à la liste de lecture audio" - -#: wp-includes/media.php:3018 -msgid "Add to Audio Playlist" -msgstr "Ajouter à la liste de lecture audio" - -#: wp-includes/class-wp-customize-widgets.php:701 -msgctxt "Move widget" -msgid "Move" -msgstr "Déplacer" - -#: wp-includes/class-wp-customize-control.php:924 -msgid "Set image" -msgstr "Définir l’image" - -#. translators: Hide as in hide header image via the Customizer -#: wp-includes/class-wp-customize-control.php:1005 -msgctxt "custom header" -msgid "Hide image" -msgstr "Cacher l’image" - -#. translators: New as in add new header image via the Customizer -#: wp-includes/class-wp-customize-control.php:1007 -msgctxt "header image" -msgid "Add new image" -msgstr "Ajouter une nouvelle image" - -#: wp-includes/class-wp-customize-control.php:1054 -msgctxt "Reorder widgets in Customizer" -msgid "Reorder" -msgstr "Réordonner" - -#: wp-includes/class-wp-customize-control.php:1055 -msgctxt "Cancel reordering widgets in Customizer" -msgid "Done" -msgstr "Terminé" - -#: wp-includes/class-wp-customize-widgets.php:725 -msgid "Save and preview changes before publishing them." -msgstr "Enregistrer les modifications et les prévisualiser avant de les publier" - -#: wp-includes/class-wp-customize-widgets.php:727 -msgid "Trash widget by moving it to the inactive widgets sidebar." -msgstr "Mettez le widget à la Corbeille en le déplaçant vers la barre latérale inactive." - -#: wp-includes/class-wp-customize-widgets.php:758 -msgid "Search Widgets" -msgstr "Rechercher des widgets" - -#: wp-includes/class-wp-customize-widgets.php:759 -msgid "Search widgets…" -msgstr "Rechercher de widgets…" - -#: wp-includes/class-wp-editor.php:743 -msgctxt "TinyMCE" -msgid "Headings" -msgstr "En-têtes" - -#: wp-includes/media-template.php:1039 wp-includes/media-template.php:1129 -msgctxt "auto preload" -msgid "Auto" -msgstr "Automatique" - -#: wp-includes/class-wp-customize-widgets.php:692 -msgid "Move to another area…" -msgstr "Déplacer vers une autre zone…" - -#: wp-includes/media.php:2992 -msgid "Cropping…" -msgstr "Recadrage…" - -#: wp-includes/media-template.php:1146 -msgid "Tracks (subtitles, captions, descriptions, chapters, or metadata)" -msgstr "Pistes (sous-titres, légendes, descriptions, chapitres ou métadonnées)" - -#: wp-includes/class-wp-editor.php:741 -msgctxt "TinyMCE" -msgid "Formats" -msgstr "Formats" - -#: wp-includes/class-wp-editor.php:917 -msgctxt "table cell scope attribute" -msgid "Scope" -msgstr "Portée" - -#: wp-includes/class-wp-editor.php:881 -msgctxt "table column" -msgid "Column" -msgstr "Colonne" - -#. translators: block tags -#: wp-includes/class-wp-editor.php:752 -msgctxt "TinyMCE" -msgid "Blocks" -msgstr "Blocs" - -#: wp-includes/class-wp-editor.php:755 -msgctxt "HTML tag" -msgid "Div" -msgstr "Div" - -#: wp-includes/class-wp-editor.php:756 -msgctxt "HTML tag" -msgid "Pre" -msgstr "Pre" - -#: wp-includes/class-wp-editor.php:759 -msgctxt "HTML elements" -msgid "Inline" -msgstr "Inline" - -#: wp-includes/class-wp-editor.php:767 -msgctxt "editor button" -msgid "Code" -msgstr "Code" - -#: wp-includes/class-wp-editor.php:791 -msgid "Bulleted list" -msgstr "Liste à puces" - -#: wp-includes/class-wp-editor.php:793 -msgctxt "list style" -msgid "Square" -msgstr "Carré" - -#: wp-includes/class-wp-editor.php:795 -msgctxt "list style" -msgid "Circle" -msgstr "Cercle" - -#: wp-includes/class-wp-editor.php:796 -msgctxt "list style" -msgid "Disc" -msgstr "Rond" - -#: wp-includes/class-wp-editor.php:797 -msgctxt "list style" -msgid "Lower Greek" -msgstr "Minuscules grecques" - -#: wp-includes/class-wp-editor.php:798 -msgctxt "list style" -msgid "Lower Alpha" -msgstr "Minuscules alphanumériques" - -#: wp-includes/class-wp-editor.php:799 -msgctxt "list style" -msgid "Upper Alpha" -msgstr "Majuscules alphanumériques" - -#: wp-includes/class-wp-editor.php:800 -msgctxt "list style" -msgid "Upper Roman" -msgstr "Chiffres romains majuscules" - -#: wp-includes/class-wp-editor.php:801 -msgctxt "list style" -msgid "Lower Roman" -msgstr "Chiffres romains minuscules " - -#: wp-includes/class-wp-editor.php:804 -msgctxt "Name of link anchor (TinyMCE)" -msgid "Name" -msgstr "Nom" - -#: wp-includes/class-wp-editor.php:805 -msgctxt "Link anchor (TinyMCE)" -msgid "Anchor" -msgstr "Ancre" - -#: wp-includes/class-wp-editor.php:806 -msgctxt "Link anchors (TinyMCE)" -msgid "Anchors" -msgstr "Ancres" - -#: wp-includes/class-wp-editor.php:839 -msgctxt "editor button" -msgid "Right to left" -msgstr "Droite à gauche (RTL)" - -#: wp-includes/class-wp-editor.php:840 -msgctxt "editor button" -msgid "Left to right" -msgstr "Gauche à droite" - -#: wp-includes/class-wp-editor.php:857 -msgctxt "find/replace" -msgid "Replace" -msgstr "Remplacer" - -#: wp-includes/class-wp-editor.php:858 -msgctxt "find/replace" -msgid "Next" -msgstr "Suivant" - -#. translators: previous -#: wp-includes/class-wp-editor.php:860 -msgctxt "find/replace" -msgid "Prev" -msgstr "Préc." - -#: wp-includes/class-wp-editor.php:861 -msgctxt "find/replace" -msgid "Whole words" -msgstr "Mots entiers" - -#: wp-includes/class-wp-editor.php:863 -msgctxt "find/replace" -msgid "Replace with" -msgstr "Remplacer par" - -#: wp-includes/class-wp-editor.php:864 -msgctxt "find/replace" -msgid "Find" -msgstr "Chercher" - -#: wp-includes/class-wp-editor.php:865 -msgctxt "find/replace" -msgid "Replace all" -msgstr "Tout remplacer" - -#: wp-includes/class-wp-editor.php:868 -msgctxt "spellcheck" -msgid "Finish" -msgstr "Terminer" - -#: wp-includes/class-wp-editor.php:869 -msgctxt "spellcheck" -msgid "Ignore all" -msgstr "Tout ignorer" - -#: wp-includes/class-wp-editor.php:870 -msgctxt "spellcheck" -msgid "Ignore" -msgstr "Ignorer" - -#: wp-includes/class-wp-editor.php:882 -msgctxt "table columns" -msgid "Cols" -msgstr "Colonnes" - -#: wp-includes/class-wp-editor.php:883 -msgctxt "table cell" -msgid "Cell" -msgstr "Cellule" - -#: wp-includes/class-wp-editor.php:885 -msgctxt "table header" -msgid "Header" -msgstr "En-tête" - -#: wp-includes/class-wp-editor.php:886 -msgctxt "table body" -msgid "Body" -msgstr "Corps" - -#: wp-includes/class-wp-editor.php:887 -msgctxt "table footer" -msgid "Footer" -msgstr "Pied de page" - -#: wp-includes/class-wp-editor.php:919 -msgctxt "TinyMCE" -msgid "Insert template" -msgstr "Insérer un modèle" - -#: wp-includes/class-wp-editor.php:920 -msgctxt "TinyMCE" -msgid "Templates" -msgstr "Modèles" - -#: wp-includes/class-wp-editor.php:924 -msgctxt "editor button" -msgid "Show blocks" -msgstr "Montrer les blocs" - -#. translators: word count -#: wp-includes/class-wp-editor.php:928 -msgid "Words: %s" -msgstr "Mots : %s" - -#: wp-includes/class-wp-editor.php:935 -msgctxt "TinyMCE menu" -msgid "Insert" -msgstr "Insérer" - -#: wp-includes/class-wp-editor.php:936 -msgctxt "TinyMCE menu" -msgid "File" -msgstr "Fichier" - -#: wp-includes/class-wp-editor.php:937 -msgctxt "TinyMCE menu" -msgid "Edit" -msgstr "Modifier" - -#: wp-includes/class-wp-editor.php:938 -msgctxt "TinyMCE menu" -msgid "Tools" -msgstr "Outils" - -#: wp-includes/class-wp-editor.php:939 -msgctxt "TinyMCE menu" -msgid "View" -msgstr "Voir" - -#: wp-includes/class-wp-editor.php:940 -msgctxt "TinyMCE menu" -msgid "Table" -msgstr "Tableau" - -#: wp-includes/media-template.php:1027 wp-includes/media-template.php:1110 -msgid "Add alternate sources for maximum HTML5 playback:" -msgstr "Ajoutez des sources alternatives pour une lecture optimale avec HTML5 :" - -#: wp-includes/media.php:2981 -msgid "Image Details" -msgstr "Détails de l’image" - -#: wp-includes/update.php:119 wp-includes/update.php:295 -#: wp-includes/update.php:457 -msgid "An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums." -msgstr "Une erreur inattendue s’est produite. Quelque chose semble ne pas fonctionner avec WordPress.org ou la configuration de ce serveur. Si vous continuez à rencontrer des problèmes, veuillez essayer les forums de support." - -#: wp-includes/media.php:2919 -msgid "Back" -msgstr "Retour" - -#: wp-includes/media-template.php:752 -msgid "Show Tracklist" -msgstr "Montrer la la liste des pistes" - -#: wp-includes/media-template.php:420 wp-includes/media-template.php:523 -#: wp-includes/media.php:2944 -msgid "Trash" -msgstr "Corbeille" - -#: wp-includes/media-template.php:740 -msgid "Playlist Settings" -msgstr "Paramètres de liste de lecture" - -#: wp-includes/default-widgets.php:227 -msgctxt "Search widget" -msgid "Search" -msgstr "Chercher" - -#. translators: used to join items in a list with more than 2 items -#: wp-includes/formatting.php:3615 -msgid "%s, %s" -msgstr "%s, %s" - -#. translators: used to join last two items in a list with more than 2 times -#: wp-includes/formatting.php:3617 -msgid "%s, and %s" -msgstr "%s et %s" - -#. translators: used to join items in a list with only 2 items -#: wp-includes/formatting.php:3619 -msgid "%s and %s" -msgstr "%s et %s" - -#: wp-includes/media-template.php:761 -msgid "Show Artist Name in Tracklist" -msgstr "Afficher le nom de l’artiste dans la liste de lecture" - -#: wp-includes/media-template.php:769 -msgid "Show Images" -msgstr "Montrer les images" - -#: wp-includes/media-template.php:1040 wp-includes/media-template.php:1130 -msgid "Metadata" -msgstr "Métadonnées" - -#: wp-includes/media-template.php:1047 wp-includes/media-template.php:1137 -msgid "Autoplay" -msgstr "Lecture automatique" - -#: wp-includes/media-template.php:1121 -msgid "Poster Image" -msgstr "Image de couverture" - -#: wp-includes/media-template.php:1159 -msgid "There are no associated subtitles." -msgstr "Il n’y a pas de sous-titres associés." - -#: wp-includes/media.php:2935 -msgid "Create a new playlist" -msgstr "Créer une nouvelle liste de lecture" - -#: wp-includes/media.php:2936 -msgid "Create a new video playlist" -msgstr "Créer une nouvelle liste de lecture vidéo" - -#: wp-includes/media.php:2982 -msgid "Replace Image" -msgstr "Remplacer l’image" - -#: wp-includes/media.php:2983 wp-includes/media.php:3000 -#: wp-includes/media.php:3006 -msgid "Cancel Edit" -msgstr "Annuler la modification" - -#: wp-includes/media.php:2987 -msgid "Choose Image" -msgstr "Choisir une image" - -#: wp-includes/media.php:2988 -msgid "Select and Crop" -msgstr "Sélectionner et rogner" - -#: wp-includes/media.php:2989 -msgid "Skip Cropping" -msgstr "Pas de recadrage" - -#: wp-includes/media.php:2990 -msgid "Crop Image" -msgstr "Recadrer l’image" - -#: wp-includes/media.php:2991 -msgid "Crop your image" -msgstr "Recadrer votre image" - -#: wp-includes/media.php:2997 -msgid "Audio Details" -msgstr "Détails audio" - -#: wp-includes/media.php:2998 -msgid "Replace Audio" -msgstr "Remplacer le son" - -#: wp-includes/media.php:2999 -msgid "Add Audio Source" -msgstr "Ajouter une source audio" - -#: wp-includes/media.php:3003 -msgid "Video Details" -msgstr "Détails de la vidéo" - -#: wp-includes/media.php:3004 -msgid "Replace Video" -msgstr "Remplacer la vidéo" - -#: wp-includes/media.php:3005 -msgid "Add Video Source" -msgstr "Ajouter une source vidéo" - -#: wp-includes/media.php:3007 -msgid "Select Poster Image" -msgstr "Choisir une image de couverture" - -#: wp-includes/media.php:3008 -msgid "Add Subtitles" -msgstr "Ajouter des sous-titres" - -#: wp-includes/media.php:3011 -msgid "Drag and drop to reorder tracks." -msgstr "Glisser-déposer pour réorganiser les pistes." - -#: wp-includes/media.php:3012 -msgid "Create Audio Playlist" -msgstr "Créer une liste de lecture audio" - -#: wp-includes/media.php:3021 -msgid "Drag and drop to reorder videos." -msgstr "Glisser-déposer pour réorganiser les vidéos." - -#: wp-includes/media.php:3022 -msgid "Create Video Playlist" -msgstr "Créer une liste de lecture vidéo" - -#: wp-includes/media.php:3023 -msgid "Edit Video Playlist" -msgstr "Modifier une liste de lecture vidéo" - -#: wp-includes/media.php:3024 -msgid "← Cancel Video Playlist" -msgstr "← Annuler la liste de lecture vidéo" - -#: wp-includes/media.php:3025 -msgid "Insert video playlist" -msgstr "Insérer une liste de lecture vidéo" - -#: wp-includes/media.php:3026 -msgid "Update video playlist" -msgstr "Mettre à jour la liste de lecture vidéo" - -#: wp-includes/media.php:3027 -msgid "Add to video playlist" -msgstr "Ajouter à la liste de lecture vidéo" - -#: wp-includes/media.php:3028 -msgid "Add to Video Playlist" -msgstr "Ajouter à la liste de lecture vidéo" - -#: wp-includes/nav-menu.php:322 -msgid "Invalid menu ID." -msgstr "Menu ID invalide." - -#: wp-includes/wp-db.php:991 -msgid "" -"

      Can’t select database

      \n" -"

      We were able to connect to the database server (which means your username and password is okay) but not able to select the %1$s database.

      \n" -"
        \n" -"
      • Are you sure it exists?
      • \n" -"
      • Does the user %2$s have permission to use the %1$s database?
      • \n" -"
      • On some systems the name of your database is prefixed with your username, so it would be like username_%1$s. Could that be the problem?
      • \n" -"
      \n" -"

      If you don't know how to set up a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.

      " -msgstr "" -"

      Impossible de choisir la base de données

      \n" -"

      Nous sommes en mesure de nous connecter au serveur de la base de données (ce qui signifie que les identifiants et mot de passe sont bons), mais il est impossible de sélectionner la base de données %1$s.

      \n" -"
        \n" -"
      • Êtes-vous sûr qu'elle existe ?
      • \n" -"
      • L’utilisateur %2$s a-t-il la permission d’utiliser la base de données %1$s ?
      • \n" -"
      • Sur certains systèmes, le nom de votre base de données est préfixée par votre nom d’utilisateur, donc est-ce comme username_%1$s. Est-ce le problème ?
      • \n" -"
      \n" -"

      Si vous ne savez pas configurer votre base de donénes, vous devriez contacter votre hébergeur. Si tout vos essais échouent recherchez de l’aide sur les forums de support de WordPress Francophone.

      " - -#: wp-includes/wp-db.php:1160 -msgid "The query argument of %s must have a placeholder." -msgstr "L’argument de requête %s doit avoir un paramètre fictif." - -#: wp-includes/wp-db.php:1424 -msgid "" -"\n" -"

      Error establishing a database connection

      \n" -"

      This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at %s. This could mean your host's database server is down.

      \n" -"
        \n" -"\t
      • Are you sure you have the correct username and password?
      • \n" -"\t
      • Are you sure that you have typed the correct hostname?
      • \n" -"\t
      • Are you sure that the database server is running?
      • \n" -"
      \n" -"

      If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

      \n" -msgstr "" -"\n" -"

      Erreur de connexion à la base de données

      \n" -"

      Cela signifie que les identifiants et mots de passe dans votre fichier wp-config.php sont incorrects, ou que nous ne pouvons pas contacter le serveur de base de données à %s. Cela peut vouloir dire que la base de données de votre hébergement est indisponible.

      \n" -"
        \n" -"\t
      • Êtes-vous sûr que vos identifiants sont corrects ?
      • \n" -"\t
      • Êtes-vous sûr que vous avez saisi la bonne adresse d'hébergement ?
      • \n" -"\t
      • Êtes-vous sûr que votre serveur de base de données fonctionne ?
      • \n" -"
      \n" -"

      Si vous n'êtes pas sûr de comprendre ces questions, vous devriez contacter votre hébergeur. Si vous avez encore besoin d'aide, vous pouvez visiter les forums de support de WordPress Francophone.

      \n" - -#: wp-login.php:632 -msgid "Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! \" ? $ % ^ & )." -msgstr "Astuce : Le mot de passe devrait contenir au moins 7 caractères. Pour le rendre plus fort, utilisez des majuscules et des minuscules, des nombres et des symboles tels que ! \" ? $ % ^ & )." - -#: wp-includes/class-wp-editor.php:830 -msgid "Insert/edit video" -msgstr "Insérer/modifier la vidéo" - -#: wp-includes/class-wp-editor.php:856 -msgid "Could not find the specified string." -msgstr "Impossible de trouver la chaîne spécifiée." - -#: wp-includes/class-wp-editor.php:912 -msgid "Column group" -msgstr "Groupe de colonnes" - -#: wp-includes/class-wp-editor.php:945 -msgid "Toolbar Toggle" -msgstr "Ouvrir/fermer la barre d'outils" - -#: wp-includes/class-wp-editor.php:828 -msgid "Insert image" -msgstr "Insérer une image" - -#: wp-includes/class-wp-editor.php:826 -msgid "Style" -msgstr "Style" - -#: wp-includes/class-wp-editor.php:832 -msgid "Alternative source" -msgstr "Source alternative" - -#: wp-includes/class-wp-editor.php:1254 -msgid "Save failed." -msgstr "Échec de la sauvegarde." - -#: wp-includes/class-wp-editor.php:1214 -msgid "Media library (Alt + Shift + M)" -msgstr "Bibliothèque de médias (Alt + Shift + M)" - -#: wp-includes/class-wp-editor.php:812 -msgid "Keywords" -msgstr "Mots-clés" - -#: wp-includes/admin-bar.php:130 wp-includes/default-widgets.php:399 -#: wp-login.php:100 -msgid "https://wordpress.org/" -msgstr "http://www.wordpress-fr.net/" - -#: wp-includes/admin-bar.php:146 wp-login.php:775 -msgid "https://wordpress.org/support/" -msgstr "http://www.wordpress-fr.net/support" - -#: wp-includes/admin-bar.php:154 -msgid "https://wordpress.org/support/forum/requests-and-feedback" -msgstr "https://wordpress.org/support/forum/requests-and-feedback" - -#: wp-includes/class-wp-customize-control.php:909 -msgid "Randomize uploaded headers" -msgstr "En-têtes chargés aléatoires" - -#: wp-includes/class-wp-customize-control.php:911 -msgid "Randomize suggested headers" -msgstr "En-têtes suggérés aléatoires" - -#: wp-includes/class-wp-customize-control.php:939 -msgid "Randomizing uploaded headers" -msgstr "Rendre aléatoire les en-têtes chargés" - -#: wp-includes/class-wp-customize-control.php:941 -msgid "Randomizing suggested headers" -msgstr "Rendre aléatoire les en-têtes suggérés" - -#: wp-includes/class-wp-customize-control.php:957 -msgid "No image set" -msgstr "Pas de jeu d’images" - -#: wp-includes/class-wp-customize-control.php:998 -msgid "Current header" -msgstr "En-tête actuel" - -#: wp-includes/class-wp-customize-control.php:1012 -msgctxt "custom headers" -msgid "Previously uploaded" -msgstr "Précédemment chargé" - -#: wp-includes/class-wp-customize-control.php:1019 -msgctxt "custom headers" -msgid "Suggested" -msgstr "Suggérés" - -#: wp-includes/class-wp-customize-control.php:1050 -msgid "Add a Widget" -msgstr "Ajouter un Widget" - -#: wp-includes/class-wp-customize-widgets.php:693 -msgid "Move down" -msgstr "Descendre" - -#: wp-includes/class-wp-customize-widgets.php:694 -msgid "Move up" -msgstr "Monter" - -#: wp-includes/class-wp-customize-widgets.php:700 -msgid "Select an area to move this widget into:" -msgstr "Sélectionnez une zone vers laquelle déplaceer ce widget :" - -#: wp-includes/class-wp-customize-widgets.php:728 -#: wp-includes/script-loader.php:518 -msgid "An error has occurred. Please reload the page and try again." -msgstr "Une erreur est survenue. Veuillez recharger la page et réessayer." - -#: wp-includes/class-wp-editor.php:773 -msgid "Align right" -msgstr "Aligner à droite" - -#: wp-includes/class-wp-editor.php:792 -msgid "Numbered list" -msgstr "Liste numérotée" - -#: wp-includes/class-wp-editor.php:776 -msgid "Increase indent" -msgstr "Augmenter l’indentation" - -#: wp-includes/class-wp-editor.php:764 -msgid "Clear formatting" -msgstr "Nettoyer le formatage " - -#: wp-includes/class-wp-editor.php:772 -msgid "Align center" -msgstr "Centrer" - -#: wp-includes/class-wp-editor.php:777 -msgid "Decrease indent" -msgstr "Diminuer l’indentation" - -#: wp-includes/class-wp-editor.php:929 -msgid "Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off." -msgstr "Coller est maintenant en mode texte. Les contenus seront dorénavant collés en mode texte jusqu‘à ce que cette option soit annulée." - -#: wp-includes/class-wp-editor.php:775 -msgid "Justify" -msgstr "Justifier" - -#: wp-includes/class-wp-editor.php:774 -msgid "Align left" -msgstr "Aligner à gauche" - -#: wp-includes/class-wp-editor.php:789 -msgid "Visual aids" -msgstr "Aides visuelles" - -#: wp-includes/class-wp-editor.php:851 -msgid "Restore last draft" -msgstr "Rétablir le dernier brouillon" - -#: wp-includes/class-wp-editor.php:838 -msgid "Special character" -msgstr "Caractère spécial" - -#: wp-includes/class-wp-editor.php:768 -msgid "Source code" -msgstr "Code source" - -#: wp-includes/class-wp-editor.php:841 -msgid "Emoticons" -msgstr "Émoticônes" - -#: wp-includes/class-wp-editor.php:810 -msgid "Robots" -msgstr "Robots" - -#: wp-includes/class-wp-editor.php:813 -msgid "Encoding" -msgstr "Encodage" - -#: wp-includes/class-wp-editor.php:849 -msgid "Horizontal line" -msgstr "Ligne horizontale" - -#: wp-includes/class-wp-editor.php:829 -msgid "Insert date/time" -msgstr "Insérer l’heure/la date" - -#: wp-includes/class-wp-editor.php:833 -msgid "Paste your embed code below:" -msgstr "Collez votre code d’intégration ci-dessous :" - -#: wp-includes/class-wp-editor.php:834 -msgid "Insert video" -msgstr "Insérer une vidéo" - -#: wp-includes/class-wp-editor.php:835 -msgid "Embed" -msgstr "Intégration" - -#: wp-includes/class-wp-editor.php:842 -msgid "Nonbreaking space" -msgstr "Espace insécable" - -#: wp-includes/class-wp-editor.php:843 -msgid "Page break" -msgstr "Saut de page" - -#: wp-includes/class-wp-editor.php:844 -msgid "Paste as text" -msgstr "Coller en texte" - -#: wp-includes/media-template.php:847 wp-includes/media.php:2917 -msgid "Replace" -msgstr "Remplacer" - -#: wp-includes/class-wp-editor.php:862 -msgid "Find and replace" -msgstr "Chercher et remplacer" - -#: wp-includes/class-wp-editor.php:866 -msgid "Match case" -msgstr "Respecter la casse" - -#: wp-includes/class-wp-editor.php:880 -msgid "Rows" -msgstr "Lignes" - -#: wp-includes/class-wp-editor.php:915 -msgid "Cell padding" -msgstr "Marge intérieure des cellules" - -#: wp-includes/class-wp-editor.php:916 -msgid "Cell spacing" -msgstr "Espacement entre les cellules" - -#: wp-includes/class-wp-editor.php:913 -msgid "Row type" -msgstr "Type de ligne" - -#: wp-includes/class-wp-editor.php:873 -msgid "Insert table" -msgstr "Insérer un tableau" - -#: wp-includes/class-wp-editor.php:884 -msgid "Header cell" -msgstr "Cellule d’en-tête" - -#: wp-includes/class-wp-editor.php:914 -msgid "Cell type" -msgstr "Type de cellule" - -#: wp-includes/class-wp-editor.php:911 -msgid "Row group" -msgstr "Groupe de lignes" - -#: wp-includes/class-wp-editor.php:896 -msgid "Delete column" -msgstr "Supprimer la colonne" - -#: wp-includes/class-wp-editor.php:922 -msgid "Background color" -msgstr "Couleur d’arrière plan" - -#: wp-includes/class-wp-editor.php:923 -msgid "Text color" -msgstr "Couleur du texte" - -#: wp-includes/class-wp-editor.php:925 -msgid "Show invisible characters" -msgstr "Voir les caractères invisibles" - -#: wp-includes/class-wp-editor.php:930 -msgid "Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help" -msgstr "Zone de texte enrichi. Appuyer sur ALT-F9 pour accéder au menu. Appuyer sur ALT-F10 pour accéder à la barre d’outils. Appuyer sur ALT-0 pour l’aide." - -#: wp-includes/class-wp-editor.php:946 -msgid "Insert Read More tag" -msgstr "Insérer la balise « Lire la suite... »" - -#: wp-includes/class-wp-editor.php:948 -msgid "Distraction Free Writing" -msgstr "Écriture sans distraction" - -#: wp-includes/general-template.php:2647 -msgctxt "admin color scheme" -msgid "Sunrise" -msgstr "Lever du soleil" - -#: wp-includes/general-template.php:2653 -msgctxt "admin color scheme" -msgid "Ectoplasm" -msgstr "Ectoplasme" - -#: wp-includes/general-template.php:2659 -msgctxt "admin color scheme" -msgid "Ocean" -msgstr "Océan" - -#: wp-includes/general-template.php:2665 -msgctxt "admin color scheme" -msgid "Coffee" -msgstr "Café" - -#: wp-includes/class-wp-image-editor.php:268 -msgid "Attempted to set image quality outside of the range [1,100]." -msgstr "Tentative de mise en place d’une qualité d’image en dehors de l’intervalle [1100]." - -#: wp-includes/taxonomy.php:2489 -msgid "A term with the name and slug provided already exists with this parent." -msgstr "Un terme avec le nom et l’identifiant fournis existe déjà avec ce parent." - -#: wp-includes/taxonomy.php:2509 -msgid "A term with the name and slug provided already exists." -msgstr "Un terme avec le nom et l’identifiant fournis existe déjà." - -#: wp-includes/default-widgets.php:17 -msgid "A list of your site’s Pages." -msgstr "Une liste des pages de votre site." - -#: wp-includes/default-widgets.php:226 -msgid "A search form for your site." -msgstr "Un formulaire de recherche pour votre site." - -#: wp-includes/default-widgets.php:271 -msgid "A monthly archive of your site’s Posts." -msgstr "Une archive mensuelle des articles de votre site." - -#: wp-includes/default-widgets.php:371 -msgid "Login, RSS, & WordPress.org links." -msgstr "Connexion, flux RSS et liens WordPress.org." - -#: wp-includes/default-widgets.php:435 -msgid "A calendar of your site’s Posts." -msgstr "Un calendrier des articles de votre site." - -#: wp-includes/default-widgets.php:479 -msgid "Arbitrary text or HTML." -msgstr "Texte arbitraire ou HTML." - -#: wp-includes/default-widgets.php:541 -msgid "A list or dropdown of categories." -msgstr "Une liste ou un menu déroulant des catégories." - -#: wp-includes/default-widgets.php:653 -msgid "Your site’s most recent Posts." -msgstr "Les articles les plus récents de votre site." - -#: wp-includes/default-widgets.php:783 -msgid "Your site’s most recent comments." -msgstr "Les commentaires les plus récents de votre site." - -#: wp-includes/default-widgets.php:928 -msgid "Entries from any RSS or Atom feed." -msgstr "Les entrées depuis n’importe quel flux RSS ou Atom." - -#: wp-includes/default-widgets.php:1224 -msgid "A cloud of your most used tags." -msgstr "Un nuage de vos mots-clés les plus utilisés." - -#: wp-includes/default-widgets.php:1307 -msgid "Add a custom menu to your sidebar." -msgstr "Ajouter un menu personnalisé à votre barre latérale." - -#. translators: If there are characters in your language that are not supported -#. * by Open Sans, translate this to 'off'. Do not translate into your own -#. language. -#: wp-includes/script-loader.php:586 -msgctxt "Open Sans font: on or off" -msgid "on" -msgstr "on" - -#: wp-includes/general-template.php:2619 -msgctxt "admin color scheme" -msgid "Default" -msgstr "Par défaut" - -#: wp-includes/general-template.php:2629 -msgctxt "admin color scheme" -msgid "Light" -msgstr "Lumineux" - -#: wp-includes/general-template.php:2641 -msgctxt "admin color scheme" -msgid "Midnight" -msgstr "Minuit" - -#: wp-includes/link-template.php:1491 -msgid "Use commas instead of %s to separate excluded terms." -msgstr "Utilisez des virgules au lieu de %s pour séparer les termes exclus." - -#. translators: To add an additional Open Sans character subset specific to -#. your language, -#. * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate -#. into your own language. -#: wp-includes/script-loader.php:592 -msgctxt "Open Sans font: add new subset (greek, cyrillic, vietnamese)" -msgid "no-subset" -msgstr "no-subset" - -#: wp-includes/admin-bar.php:169 -msgid "Menu" -msgstr "Menu" - -#: wp-includes/update.php:553 -msgid "Translation Updates" -msgstr "Mises à jour des traductions" - -#: wp-login.php:502 -msgid "Sorry, that key has expired. Please try again." -msgstr "Désolé, cette clé a expiré. Veuillez réessayer." - -#: wp-includes/class-wp-theme.php:219 -msgid "The theme directory \"%s\" does not exist." -msgstr "Le répertoire du thème « %s » n’existe pas." - -#: wp-includes/query.php:726 -msgid "In %1$s, use the %2$s method, not the %3$s function. See %4$s." -msgstr "Dans %1$s, utilisez la méthode %2$s, pas la fonction %3$s. Lisez %4$s." - -#: wp-includes/functions.php:1138 -msgid "ERROR: This is not a valid feed template." -msgstr "ERREUR : ce n’est pas un flux valide." - -#: wp-includes/post-template.php:1566 -msgid "This content is password protected. To view it please enter your password below:" -msgstr "Cet article est protégé par un mot de passe. Pour le lire, veuillez saisir votre mot de passe ci-dessous :" - -#: wp-includes/query.php:727 -msgid "http://codex.wordpress.org/Function_Reference/is_main_query" -msgstr "http://codex.wordpress.org/Function_Reference/is_main_query" - -#. translators: This is a comma-separated list of very common words that should -#. be excluded from a search, -#. * like a, an, and the. These are usually called "stopwords". You should -#. not simply translate these individual -#. * words into your language. Instead, look for and provide commonly -#. accepted stopwords in your language. -#: wp-includes/query.php:2144 -msgctxt "Comma-separated list of search stopwords in your language" -msgid "about,an,are,as,at,be,by,com,for,from,how,in,is,it,of,on,or,that,the,this,to,was,what,when,where,who,will,with,www" -msgstr "le,la,les,de,des,un,uns,une,unes,et,a,à,il,elle,on,ne,je,tu,nous,vous,ils,elles,son,sa,ses,que,quoi,se,qui,ce,cette,dans,en,du,au,aux,pour,pas,sur,y,ou,où,si,ton,ta,te,mon,ma,tout,toute,tous,toutes,ça,ni,www,com,fr,par,sur,par,dans,mais,vos,votre,vôtre,c,d,j,,l,m,n,s,t,sans,toi,moi,lui,leur,leurs" - -#: wp-includes/class-http.php:1031 wp-includes/class-http.php:1433 -msgid "Failed to write request to temporary file." -msgstr "Impossible d’écrire la requête dans un fichier temporaire." - -#: wp-includes/class-http.php:937 wp-includes/class-http.php:945 -msgid "The SSL certificate for the host could not be verified." -msgstr "Le certificat SSL de l’hôte n’a pas pu être vérifié." - -#: wp-includes/media-template.php:631 -msgid "Embed Media Player" -msgstr "Intégrer le lecteur de média" - -#: wp-includes/media-template.php:339 wp-includes/media-template.php:515 -msgid "Length:" -msgstr "Durée :" - -#: wp-includes/media-template.php:618 -msgid "Embed or Link" -msgstr "Intégrer ou lier" - -#: wp-includes/media-template.php:638 -msgid "Link to Media File" -msgstr "Lien vers le fichier média" - -#: wp-includes/media-template.php:645 -msgid "Link to Attachment Page" -msgstr "Lien vers la page du fichier attaché" - -#: wp-includes/script-loader.php:311 -msgid "Download File" -msgstr "Télécharger le fichier" - -#: wp-includes/script-loader.php:312 -msgid "Download Video" -msgstr "Télécharger la vidéo" - -#: wp-includes/script-loader.php:313 -msgid "Play/Pause" -msgstr "Lecture/Pause" - -#: wp-includes/script-loader.php:314 -msgid "Mute Toggle" -msgstr "Couper le son" - -#: wp-includes/script-loader.php:316 -msgid "Turn off Fullscreen" -msgstr "Quitter le plein écran" - -#: wp-includes/script-loader.php:317 -msgid "Go Fullscreen" -msgstr "Passer en plein écran" - -#: wp-includes/script-loader.php:318 -msgid "Unmute" -msgstr "Réactiver le son" - -#: wp-includes/script-loader.php:320 -msgid "Captions/Subtitles" -msgstr "Légendes/Sous-titres" - -#: wp-includes/formatting.php:2500 -msgid "%s week" -msgid_plural "%s weeks" -msgstr[0] "%s semaine" -msgstr[1] "%s semaines" - -#: wp-includes/formatting.php:2505 -msgid "%s month" -msgid_plural "%s months" -msgstr[0] "%s mois" -msgstr[1] "%s mois" - -#: wp-includes/formatting.php:2510 -msgid "%s year" -msgid_plural "%s years" -msgstr[0] "%s année" -msgstr[1] "%s années" - -#: wp-includes/nav-menu.php:726 wp-includes/post-template.php:1328 -#: wp-includes/post-template.php:1413 -msgid "#%d (no title)" -msgstr "#%d (pas de titre)" - -#: wp-includes/post-template.php:1761 -msgid "JavaScript must be enabled to use this feature." -msgstr "JavaScript doit être activé pour utiliser cette fonctionnalité." - -#. translators: localized date format, see http:php.net/date -#: wp-includes/locale.php:351 -msgid "F j, Y" -msgstr "j F Y" - -#. translators: localized time format, see http:php.net/date -#: wp-includes/locale.php:353 -msgid "g:i a" -msgstr "G \\h i \\m\\i\\n" - -#. translators: localized date and time format, see http:php.net/date -#: wp-includes/locale.php:355 -msgid "F j, Y g:i a" -msgstr "j F Y G \\h i \\m\\i\\n" - -#: wp-includes/class-wp-xmlrpc-server.php:372 -msgid "Login Address (URL)" -msgstr "Adresse de connexion (URL)" - -#: wp-includes/class-wp-xmlrpc-server.php:377 -msgid "The URL to the admin area" -msgstr "L’adresse web de la zone d’administration" - -#: wp-includes/class-wp-customize-control.php:745 -#: wp-includes/media-template.php:179 -msgid "The web browser on your device cannot be used to upload files. You may be able to use the native app for your device instead." -msgstr "Le navigateur web de votre système ne permet pas de mettre des fichiers en ligne. Vous devriez pouvoir le faire en passant par une application native." - -#: wp-includes/post-template.php:242 -msgid "(more…)" -msgstr "(suite…)" - -#: wp-login.php:397 -msgid "Possible reason: your host may have disabled the mail() function." -msgstr "Raison possible : votre hébergeur peut avoir désactivé la fonction mail()." - -#: wp-includes/user.php:2182 -msgid "ERROR: Couldn’t register you… please contact the webmaster !" -msgstr "ERREUR : inscription impossible… Veuillez prendre contact avec le webmaster !" - -#. translators: 1: date -#: wp-includes/post-template.php:1655 -msgctxt "post revision title extra" -msgid "%1$s [Autosave]" -msgstr "%1$s [Sauvegarde automatique]" - -#. translators: 1: date -#: wp-includes/post-template.php:1657 -msgctxt "post revision title extra" -msgid "%1$s [Current Revision]" -msgstr "%1$s [Version actuelle]" - -#: wp-includes/script-loader.php:133 -msgid "Your session has expired. You can log in again from this page or go to the login page." -msgstr "Votre session a expiré. Vous pouvez vous reconnecter depuis cette page ou aller à la page de connexion." - -#. translators: 1: month, 2: day, 3: year, 4: hour, 5: minute -#: wp-includes/script-loader.php:444 -msgid "%1$s %2$s, %3$s @ %4$s : %5$s" -msgstr "%2$s %1$s %3$s à %4$s h %5$s min" - -#: wp-login.php:831 -msgid "Session expired. Please log in again. You will not move away from this page." -msgstr "La session a expiré. Veuillez vous reconnecter. Vous reviendrez sur cette page." - -#: wp-signup.php:654 -msgid "Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email." -msgstr "Avez-vous correctement saisi votre adresse de messagerie ? Vous aviez saisi %s, mais si ce n’est pas correct, vous ne recevrez pas de message." - -#: wp-signup.php:731 -msgid "The site you were looking for, %s, does not exist, but you can create it now!" -msgstr "Le site que vous cherchez (%s) n’existe pas, mais vous pouvez le créer dès à présent !" - -#: wp-signup.php:733 -msgid "The site you were looking for, %s, does not exist." -msgstr "Le site que vous cherchez (%s) n’existe pas." - -#: wp-includes/functions.php:4486 -msgid "The login page will open in a new window. After logging in you can close it and return to this page." -msgstr "La page de connexion s’ouvrira dans une nouvelle fenêtre. Après vous être connecté, vous pourrez la fermer et revenir à cette page." - -#. translators: post revision title: 1: author avatar, 2: author name, 3: time -#. ago, 4: date -#: wp-includes/post-template.php:1701 -msgctxt "post revision title" -msgid "%1$s %2$s, %3$s ago (%4$s)" -msgstr "%1$s %2$s, il y a %3$s (%4$s)" - -#: wp-includes/comment-template.php:1851 -msgid "%s says:" -msgstr "%s dit :" - -#: wp-includes/comment-template.php:1857 -msgctxt "1: date, 2: time" -msgid "%1$s at %2$s" -msgstr "%1$s à %2$s" - -#: wp-includes/general-template.php:237 -msgctxt "placeholder" -msgid "Search …" -msgstr "Recherche…" - -#: wp-includes/general-template.php:236 wp-includes/general-template.php:237 -#: wp-includes/general-template.php:244 -msgctxt "label" -msgid "Search for:" -msgstr "Rechercher :" - -#: wp-includes/general-template.php:239 wp-includes/general-template.php:246 -msgctxt "submit button" -msgid "Search" -msgstr "Rechercher" - -#. translators: revision date format, see http:php.net/date -#: wp-includes/post-template.php:1691 -msgctxt "revision date format" -msgid "j F, Y @ G:i:s" -msgstr "j F Y \\à G \\h i \\m" - -#: wp-includes/functions.php:4484 -msgid "Session expired" -msgstr "La session a expiré" - -#: wp-includes/taxonomy.php:490 -msgid "No tags found." -msgstr "Aucun mot-clé trouvé." - -#: wp-includes/default-widgets.php:401 -msgctxt "meta widget link text" -msgid "WordPress.org" -msgstr "Site de WordPress-FR" - -#: wp-includes/functions.wp-scripts.php:166 -msgid "Do not deregister the %1$s script in the administration area. To target the frontend theme, use the %2$s hook." -msgstr "Ne désenregistrez pas le script %1$s de la zone d’administration. Pour cibler le thème public, utilisez le crochet %2$s." - -#: wp-includes/class-wp-xmlrpc-server.php:362 -msgid "WordPress Address (URL)" -msgstr "Adresse web de WordPress (URL)" - -#: wp-includes/class-wp-xmlrpc-server.php:367 -msgid "Site Address (URL)" -msgstr "Adresse web du site (URL)" - -#: wp-includes/user.php:1903 -msgid "Invalid user ID." -msgstr "Identifiant utilisateur non valide." - -#: wp-includes/media-template.php:734 -msgid "Random Order" -msgstr "Ordre aléatoire" - -#: wp-includes/media-template.php:465 -msgid "Caption this image…" -msgstr "Décrivez cette image…" - -#. translators: This is a would-be plural string used in the media manager. -#. If there is not a word you can use in your language to avoid issues -#. with the -#. lack of plural support here, turn it into "selected: %d" then translate -#. it. -#: wp-includes/media.php:2924 -msgid "%d selected" -msgstr "%d sélection(s)" - -#: wp-includes/media.php:2964 -msgid "Insert from URL" -msgstr "Insérer à partir d’une adresse web" - -#: wp-includes/media.php:2967 -msgid "Set Featured Image" -msgstr "Mettre une image à la Une" - -#: wp-includes/default-widgets.php:197 -msgctxt "Links widget" -msgid "Random" -msgstr "Aléatoire" - -#: wp-includes/media-template.php:1192 wp-includes/media.php:2941 -msgid "No items found." -msgstr "Aucun élément trouvé." - -#: wp-includes/media.php:2977 -msgid "Add to Gallery" -msgstr "Ajouter à la galerie" - -#: wp-includes/media.php:2978 -msgid "Reverse order" -msgstr "Inverser l’ordre" - -#: wp-includes/media.php:2968 -msgid "Set featured image" -msgstr "Mettre une image à la Une" - -#: wp-includes/media-template.php:458 -msgid "Deselect" -msgstr "Désélectionner" - -#: wp-includes/class-wp-xmlrpc-server.php:4156 -#: wp-includes/class-wp-xmlrpc-server.php:4166 -msgid "Sorry, that file cannot be edited." -msgstr "Désolé, ce fichier ne peut pas être modifié." - -#: wp-includes/media.php:2946 -msgid "" -"You are about to permanently delete this item.\n" -" 'Cancel' to stop, 'OK' to delete." -msgstr "" -"Vous êtes sur le point de supprimer définitivement cet élément.\n" -" « Annuler » pour abandonner, « OK » pour le supprimer." - -#: wp-includes/media-template.php:423 wp-includes/media-template.php:526 -#: wp-includes/media.php:2954 -msgid "Delete Permanently" -msgstr "Supprimer définitivement" - -#: wp-includes/media-template.php:181 -msgid "Upload Limit Exceeded" -msgstr "Limite de mise en ligne dépassée" - -#: wp-includes/media-template.php:246 -msgid "Dismiss Errors" -msgstr "Ignorer les erreurs" - -#: wp-includes/media-template.php:260 -msgid "Error" -msgstr "Erreur " - -#: wp-includes/media.php:2462 -msgid "No editor could be selected." -msgstr "Aucun éditeur n’a pas pu être sélectionné." - -#: wp-includes/media-template.php:245 -msgid "Uploading" -msgstr "Mise en ligne" - -#: wp-includes/post.php:2434 -msgid "Manage Images" -msgstr "Gérer les images" - -#: wp-includes/post.php:2434 -msgid "Image (%s)" -msgid_plural "Images (%s)" -msgstr[0] "Image (%s)" -msgstr[1] "Images (%s)" - -#: wp-includes/post.php:2435 -msgid "Manage Audio" -msgstr "Gérer l’audio" - -#: wp-includes/post.php:2435 -msgid "Audio (%s)" -msgid_plural "Audio (%s)" -msgstr[0] "Son (%s)" -msgstr[1] "Sons (%s)" - -#: wp-includes/post.php:2436 -msgid "Video" -msgstr "Vidéos" - -#: wp-includes/post.php:2436 -msgid "Manage Video" -msgstr "Gérer les vidéos" - -#: wp-includes/post.php:2436 -msgid "Video (%s)" -msgid_plural "Video (%s)" -msgstr[0] "Vidéo (%s)" -msgstr[1] "Vidéos (%s)" - -#: wp-includes/media.php:2942 -msgid "Insert into page" -msgstr "Insérer dans la page" - -#: wp-includes/media.php:2945 -msgid "Uploaded to this page" -msgstr "Mis en ligne sur cette page" - -#: wp-includes/media.php:2938 -msgid "All media items" -msgstr "Tous les éléments média" - -#: wp-includes/media.php:2945 -msgid "Uploaded to this post" -msgstr "Mis en ligne sur cet article" - -#: wp-includes/post.php:2435 -msgid "Audio" -msgstr "Sons" - -#: wp-includes/media.php:2937 -msgid "← Return to library" -msgstr "← Revenir à la bibliothèque" - -#: wp-includes/media-template.php:652 wp-includes/media-template.php:827 -#: wp-includes/media-template.php:940 -msgid "Custom URL" -msgstr "Lien personnalisé" - -#: wp-includes/media-template.php:481 wp-includes/media.php:2961 -msgid "Attachment Details" -msgstr "Détails du fichier attaché" - -#: wp-includes/media-template.php:385 wp-includes/media-template.php:564 -#: wp-includes/media-template.php:798 -msgid "Alt Text" -msgstr "Texte alternatif" - -#: wp-includes/media-template.php:720 -msgid "Columns" -msgstr "Colonnes" - -#: wp-includes/media.php:2925 -msgid "Drag and drop to reorder images." -msgstr "Glissez/déposez pour réorganiser les images." - -#: wp-includes/media-template.php:676 wp-includes/media-template.php:900 -#: wp-includes/media.php:2685 -msgid "Large" -msgstr "Grande" - -#: wp-includes/media-template.php:588 -msgid "Attachment Display Settings" -msgstr "Réglages de l’affichage du fichier attaché" - -#: wp-includes/media-template.php:695 -msgid "Gallery Settings" -msgstr "Réglages de la galerie" - -#: wp-includes/media.php:2929 -msgid "Upload Images" -msgstr "Envoyer des images" - -#: wp-includes/media.php:2973 -msgid "← Cancel Gallery" -msgstr "← Annuler la galerie" - -#: wp-includes/ms-functions.php:1969 -msgid "WordPress › Success" -msgstr "WordPress » Réussite" - -#: wp-includes/media-template.php:188 -msgid "Drop files anywhere to upload" -msgstr "Déposez vos fichiers n’importe où pour les mettre en ligne" - -#: wp-includes/media.php:2928 -msgid "Upload Files" -msgstr "Envoyer des fichiers" - -#: wp-includes/media.php:2974 -msgid "Insert gallery" -msgstr "Insérer la galerie" - -#: wp-includes/media-template.php:159 wp-includes/media-template.php:165 -msgid "Drop files to upload" -msgstr "Déposez vos fichiers pour les mettre en ligne" - -#: wp-includes/media.php:2932 -msgid "Media Library" -msgstr "Bibliothèque de médias" - -#: wp-includes/media.php:2971 -msgid "Create Gallery" -msgstr "Créer une galerie" - -#: wp-includes/ms-functions.php:943 -msgid "" -"To activate your user, please click the following link:\n" -"\n" -"%s\n" -"\n" -"After you activate, you will receive *another email* with your login." -msgstr "" -"Pour activer votre utilisateur, veuillez cliquer sur le lien suivant :\n" -"\n" -"%s\n" -"\n" -"Après l'activation, vous recevrez *un autre courrier* contenant votre identifiant." - -#: wp-includes/ms-functions.php:1373 -msgid "Already Installed" -msgstr "Déjà installé" - -#: wp-includes/ms-functions.php:1373 -msgid "You appear to have already installed WordPress. To reinstall please clear your old database tables first." -msgstr "Il semblerait que WordPress soit déjà installé. Pour le réinstaller, commencez par supprimer vos anciennes tables de la base de données." - -#: wp-includes/taxonomy.php:350 wp-includes/taxonomy.php:351 -msgid "Taxonomies cannot exceed 32 characters in length" -msgstr "Les taxinomies ne peuvent dépasser les 32 caractères." - -#: wp-includes/ms-functions.php:1225 -msgid "" -"New Site: %1$s\n" -"URL: %2$s\n" -"Remote IP: %3$s\n" -"\n" -"Disable these notifications: %4$s" -msgstr "" -"Nouveau site : %1$s\n" -"URL : %2$s\n" -"Adresse IP : %3$s\n" -"\n" -"Désactiver ces notifications : %4$s" - -#: wp-includes/ms-functions.php:1268 -msgid "" -"New User: %1$s\n" -"Remote IP: %2$s\n" -"\n" -"Disable these notifications: %3$s" -msgstr "" -"Nouvel utilisateur : %1$s\n" -"Adresse IP : %2$s\n" -"\n" -"Désactiver ces notifications : %3$s" - -#: wp-includes/media-template.php:620 wp-includes/media-template.php:698 -#: wp-includes/media-template.php:821 wp-includes/media-template.php:925 -msgid "Link To" -msgstr "Lier à" - -#: wp-includes/media-template.php:647 wp-includes/media-template.php:708 -#: wp-includes/media-template.php:932 -msgid "Attachment Page" -msgstr "Page du fichier attaché" - -#: wp-includes/media-template.php:640 wp-includes/media-template.php:711 -#: wp-includes/media-template.php:929 -msgid "Media File" -msgstr "Fichier média" - -#: wp-includes/media-template.php:469 -msgid "Describe this video…" -msgstr "Décrivez cette vidéo…" - -#: wp-includes/media-template.php:471 -msgid "Describe this audio file…" -msgstr "Décrivez ce fichier audio…" - -#: wp-includes/media-template.php:473 -msgid "Describe this media file…" -msgstr "Décrivez ce fichier média…" - -#: wp-includes/media.php:2975 -msgid "Update gallery" -msgstr "Mettre à jour la galerie" - -#: wp-includes/ms-functions.php:186 -msgid "The requested user does not exist." -msgstr "Cet utilisateur n’existe pas." - -#: wp-includes/ms-functions.php:506 -msgid "Please enter a valid email address." -msgstr "Veuillez saisir une adresse de messagerie valide." - -#: wp-includes/user.php:2132 -msgid "ERROR: This username is already registered. Please choose another one." -msgstr "ERREUR : cet identifiant existe déjà. Merci d’en choisir un autre." - -#: wp-includes/class-wp-image-editor-gd.php:87 -#: wp-includes/class-wp-image-editor-imagick.php:120 -msgid "File doesn’t exist?" -msgstr "Le fichier n’existe pas ?" - -#: wp-includes/class-wp-image-editor-gd.php:103 -#: wp-includes/class-wp-image-editor-imagick.php:130 -msgid "File is not an image." -msgstr "Le fichier n’est pas une image." - -#: wp-includes/class-wp-image-editor-gd.php:107 -msgid "Could not read image size." -msgstr "Impossible de lire la taille de l’image." - -#: wp-includes/class-wp-image-editor-gd.php:169 -#: wp-includes/class-wp-image-editor-gd.php:187 -msgid "Image resize failed." -msgstr "Le redimensionnement de l’image a échoué." - -#: wp-includes/class-wp-image-editor-gd.php:293 -msgid "Image crop failed." -msgstr "Le recadrage de l’image a échoué." - -#: wp-includes/class-wp-image-editor-gd.php:317 -msgid "Image rotate failed." -msgstr "La rotation de l’image a échoué." - -#: wp-includes/class-wp-image-editor-gd.php:347 -msgid "Image flip failed." -msgstr "Le retournement de l’image a échoué." - -#: wp-includes/class-wp-image-editor-gd.php:379 -#: wp-includes/class-wp-image-editor-gd.php:387 -#: wp-includes/class-wp-image-editor-gd.php:391 -#: wp-includes/class-wp-image-editor-gd.php:394 -msgid "Image Editor Save Failed" -msgstr "L’enregistrement de l’éditeur d’images a échoué." - -#: wp-includes/post.php:59 -msgid "View Attachment Page" -msgstr "Afficher la page du fichier attaché" - -#: wp-includes/post.php:3210 -msgid "Whoops, the provided date is invalid." -msgstr "Oups, la date fournie n’est pas valable." - -#: wp-includes/media.php:2933 -msgid "Insert Media" -msgstr "Insérer un média" - -#: wp-includes/media.php:2934 -msgid "Create a new gallery" -msgstr "Créer une nouvelle galerie" - -#: wp-includes/media.php:2942 -msgid "Insert into post" -msgstr "Insérer dans l’article" - -#: wp-includes/media.php:2976 -msgid "Add to gallery" -msgstr "Ajouter à la galerie" - -#: wp-includes/media-template.php:581 wp-includes/script-loader.php:505 -msgid "Clear" -msgstr "Effacer" - -#: wp-includes/script-loader.php:507 -msgid "Select Color" -msgstr "Sélectionner une couleur" - -#: wp-includes/script-loader.php:508 -msgid "Current Color" -msgstr "Couleur actuelle" - -#: wp-includes/taxonomy.php:2708 -msgid "Could not insert term relationship into the database" -msgstr "Impossible d’insérer la relation du terme dans la base de données" - -#. translators: 1: first name, 2: last name -#: wp-includes/user.php:1760 -msgctxt "Display name based on first name and last name" -msgid "%1$s %2$s" -msgstr "%1$s %2$s" - -#: wp-includes/class-wp-xmlrpc-server.php:226 -msgid "Incorrect username or password." -msgstr "Identifiant ou mot de passe incorrect." - -#: wp-includes/class-wp-xmlrpc-server.php:219 -msgid "XML-RPC services are disabled on this site." -msgstr "Les services XML-RPC sont désactivés sur ce site." - -#: wp-includes/class-wp-xmlrpc-server.php:1428 -msgid "There is a revision of this post that is more recent." -msgstr "Ce contenu a déjà une révision plus récente." - -#. translators: 1: blog name, 2: separator(raquo), 3: post type name -#: wp-includes/general-template.php:2130 -msgid "%1$s %2$s %3$s Feed" -msgstr "%1$s %2$s Flux pour %3$s" - -#: wp-includes/default-widgets.php:770 -msgid "Display post date?" -msgstr "Afficher la date du contenu ?" - -#: wp-includes/class-wp-xmlrpc-server.php:4481 -msgid "You are not allowed to create pages as this user." -msgstr "Vous n’avez pas l’autorisation de créer des pages sous cet identifiant." - -#: wp-includes/class-wp-xmlrpc-server.php:3849 -#: wp-includes/class-wp-xmlrpc-server.php:3911 -#: wp-includes/class-wp-xmlrpc-server.php:3914 -#: wp-includes/class-wp-xmlrpc-server.php:3917 wp-includes/revision.php:251 -msgid "Invalid post ID" -msgstr "Identifiant de l’article non valable" - -#: wp-includes/class-wp-xmlrpc-server.php:2241 -msgid "Sorry, you cannot edit users." -msgstr "Désolé, vous ne pouvez pas modifier les utilisateurs." - -#: wp-includes/class-wp-xmlrpc-server.php:2246 -msgid "Invalid user ID" -msgstr "Identifiant utilisateur non valide" - -#: wp-includes/class-wp-xmlrpc-server.php:2297 -msgid "Sorry, you cannot list users." -msgstr "Désolé, vous ne pouvez pas lister les utilisateurs." - -#: wp-includes/class-wp-xmlrpc-server.php:2313 -msgid "The role specified is not valid" -msgstr "Le rôle spécifié n’est pas valable" - -#: wp-includes/class-wp-xmlrpc-server.php:2367 -#: wp-includes/class-wp-xmlrpc-server.php:2411 -msgid "Sorry, you cannot edit your profile." -msgstr "Désolé, vous ne pouvez pas modifier votre profil." - -#: wp-includes/class-wp-xmlrpc-server.php:2445 -msgid "Sorry, the user cannot be updated." -msgstr "Désolé, cet utilisateur ne peut pas être mis à jour." - -#: wp-includes/class-wp-xmlrpc-server.php:3852 -msgid "Sorry, you are not allowed to edit posts." -msgstr "Désolé, vous n’avez pas l’autorisation de modifier les articles." - -#: wp-includes/class-wp-xmlrpc-server.php:3856 -#: wp-includes/class-wp-xmlrpc-server.php:3924 -msgid "Sorry, revisions are disabled." -msgstr "Désolé, les révisions sont désactivées." - -#: wp-includes/media-template.php:863 -msgid "Alternative Text" -msgstr "Texte alternatif" - -#: wp-includes/media-template.php:189 -msgctxt "Uploader: Drop files here - or - Select Files" -msgid "or" -msgstr "ou" - -#: wp-includes/media-template.php:190 -msgid "Select Files" -msgstr "Sélectionner des fichiers" - -#: wp-includes/js/tinymce/wp-mce-help.php:130 -msgid "Distraction Free Writing mode" -msgstr "Mode « aucune distraction »" - -#: wp-includes/js/tinymce/wp-mce-help.php:135 -msgid "Editor width in Distraction Free Writing mode:" -msgstr "Largeur de l’éditeur en mode « aucune distraction » :" - -#: wp-includes/class-wp-admin-bar.php:367 -msgid "Skip to toolbar" -msgstr "Aller à la barre d’outils" - -#: wp-includes/class-wp-admin-bar.php:368 -msgid "Top navigation toolbar." -msgstr "Barre de navigation supérieure." - -#: wp-includes/class-wp-editor.php:180 wp-includes/class-wp-editor.php:1200 -msgctxt "Name for the Text editor tab (formerly HTML)" -msgid "Text" -msgstr "Texte" - -#: wp-includes/class-wp-customize-control.php:528 -msgid "Hex Value" -msgstr "Valeur hexadécimale" - -#: wp-includes/class-wp-customize-manager.php:984 -msgid "Header Text Color" -msgstr "Couleur du texte d’en-tête" - -#: wp-includes/class-wp-customize-manager.php:962 -msgid "Colors" -msgstr "Couleurs" - -#: wp-includes/script-loader.php:384 -msgid "Save & Activate" -msgstr "Enregistrer & activer" - -#: wp-includes/script-loader.php:387 -msgid "Saved" -msgstr "Enregistré" - -#: wp-includes/script-loader.php:385 -msgid "Save & Publish" -msgstr "Enregistrer & publier" - -#: wp-includes/class-wp-customize-control.php:752 -msgid "Select File" -msgstr "Sélectionner un fichier" - -#: wp-includes/admin-bar.php:668 -msgid "Customize" -msgstr "Personnaliser" - -#: wp-includes/class-wp-xmlrpc-server.php:582 -msgid "Insufficient arguments passed to this XML-RPC method." -msgstr "Arguments insuffisants passés à cette méthode XML-RPC." - -#: wp-includes/class-wp-xmlrpc-server.php:1237 -msgid "Sorry, you cannot stick a private post." -msgstr "Désolé, vous ne pouvez pas mettre en avant un article privé." - -#: wp-includes/class-wp-customize-control.php:624 -msgid "No Image" -msgstr "Aucune image" - -#: wp-includes/class-wp-customize-manager.php:1109 -msgid "You can edit your menu content on the Menus screen in the Appearance section." -msgstr "Vous pouvez modifier le contenu de votre menu par le biais de l’écran Menus, dans la section Apparence." - -#: wp-includes/class-wp-customize-control.php:749 -msgid "Drop a file here or select a file." -msgstr "Glissez un fichier ici ou sélectionnez un fichier." - -#: wp-includes/class-wp-customize-control.php:848 -#: wp-includes/class-wp-customize-manager.php:1007 -msgid "Header Image" -msgstr "Image d’en-tête" - -#: wp-includes/class-wp-xmlrpc-server.php:407 -msgid "Post Thumbnail" -msgstr "Miniature d’article" - -#: wp-includes/script-loader.php:96 -msgid "text direction" -msgstr "direction du texte" - -#: wp-includes/script-loader.php:97 -msgid "Toggle Editor Text Direction" -msgstr "Inverser la direction de l’éditeur de texte" - -#: wp-includes/ms-functions.php:634 -msgid "Site name must be at least 4 characters." -msgstr "L’identifiant du site doit utiliser au moins 4 caractères." - -#: wp-includes/ms-functions.php:625 -msgid "Please enter a site name." -msgstr "Veuillez saisir un nom de site." - -#: wp-includes/ms-functions.php:490 -msgid "That username is not allowed." -msgstr "Cet identifiant n’est pas autorisé." - -#: wp-includes/ms-functions.php:482 -msgid "Please enter a username." -msgstr "Veuillez saisir un identifiant." - -#: wp-includes/ms-functions.php:662 -msgid "Please enter a site title." -msgstr "Veuillez saisir un titre de site." - -#: wp-includes/ms-functions.php:631 -msgid "That name is not allowed." -msgstr "Ce nom n’est pas autorisé." - -#: wp-includes/ms-functions.php:496 -msgid "Username must be at least 4 characters." -msgstr "L’identifiant doit utiliser au moins 4 caractères." - -#: wp-includes/class-wp-customize-manager.php:1158 -msgid "A static page" -msgstr "Une page statique" - -#: wp-includes/class-wp-customize-manager.php:978 -msgid "Display Header Text" -msgstr "Afficher le texte d’en-tête" - -#: wp-includes/class-wp-customize-manager.php:999 -msgid "Background Color" -msgstr "Couleur d’arrière-plan" - -#: wp-includes/class-wp-customize-control.php:803 -#: wp-includes/class-wp-customize-manager.php:1027 -msgid "Background Image" -msgstr "Image d’arrière-plan" - -#: wp-includes/class-wp-customize-manager.php:1049 -msgid "Background Repeat" -msgstr "Répétition de l’arrière-plan" - -#: wp-includes/class-wp-customize-manager.php:1066 -msgid "Background Position" -msgstr "Position d’arrière-plan" - -#: wp-includes/class-wp-customize-manager.php:1082 -msgid "Background Attachment" -msgstr "Image d’arrière-plan" - -#: wp-includes/class-wp-customize-control.php:629 -msgid "Uploaded" -msgstr "Mis en ligne" - -#: wp-includes/class-wp-customize-control.php:628 -msgid "Upload New" -msgstr "Mettre en ligne" - -#: wp-includes/class-wp-customize-control.php:707 -msgid "Remove Image" -msgstr "Retirer l’image" - -#: wp-includes/class-wp-xmlrpc-server.php:3741 -msgid "Sorry, you are not allowed to edit this post type." -msgstr "Désolé, vous n’avez pas l’autorisation de modifier ce type de contenu." - -#: wp-includes/class-wp-customize-manager.php:1086 -msgid "Scroll" -msgstr "Défilant" - -#: wp-includes/class-wp-customize-manager.php:1087 -msgid "Fixed" -msgstr "Fixe" - -#: wp-includes/class-wp-customize-manager.php:1053 -msgid "No Repeat" -msgstr "Pas de répétition" - -#: wp-includes/class-wp-customize-manager.php:1054 -msgid "Tile" -msgstr "Motif répété" - -#: wp-includes/class-wp-customize-manager.php:1055 -msgid "Tile Horizontally" -msgstr "Répétition horizontale" - -#: wp-includes/class-wp-customize-manager.php:1056 -msgid "Tile Vertically" -msgstr "Répétition verticale" - -#: wp-includes/class-wp-customize-manager.php:1169 -msgid "Front page" -msgstr "Page d’accueil" - -#: wp-includes/class-wp-customize-manager.php:1181 -msgid "Posts page" -msgstr "Page des articles" - -#: wp-includes/class-wp-customize-control.php:590 -msgid "Upload" -msgstr "Envoyer" - -#: wp-includes/class-wp-customize-control.php:591 -#: wp-includes/class-wp-customize-widgets.php:726 -#: wp-includes/media-template.php:454 wp-includes/media-template.php:1006 -#: wp-includes/media-template.php:1020 wp-includes/media-template.php:1090 -#: wp-includes/media-template.php:1102 wp-includes/media-template.php:1123 -#: wp-includes/media-template.php:1155 wp-includes/media.php:2918 -msgid "Remove" -msgstr "Supprimer" - -#: wp-includes/script-loader.php:393 -msgid "Allowed Files" -msgstr "Fichiers autorisés" - -#: wp-includes/class-wp-xmlrpc-server.php:1736 -#: wp-includes/class-wp-xmlrpc-server.php:1835 -msgid "The term name cannot be empty." -msgstr "Le nom du terme ne peut être vide." - -#: wp-includes/class-wp-xmlrpc-server.php:1727 -msgid "You are not allowed to create terms in this taxonomy." -msgstr "Vous n’avez pas l’autorisation de créer des termes dans cette taxinomie." - -#: wp-includes/class-wp-xmlrpc-server.php:1740 -msgid "This taxonomy is not hierarchical." -msgstr "Cette taxinomie n’est pas hiérarchique." - -#: wp-includes/class-wp-xmlrpc-server.php:1749 -#: wp-includes/class-wp-xmlrpc-server.php:1849 wp-includes/taxonomy.php:2424 -msgid "Parent term does not exist." -msgstr "Le terme parent n’existe pas." - -#: wp-includes/class-wp-xmlrpc-server.php:1766 -msgid "Sorry, your term could not be created. Something wrong happened." -msgstr "Désolé, votre terme n’a pu être créé. Une erreur est survenue." - -#: wp-includes/class-wp-xmlrpc-server.php:1816 -msgid "You are not allowed to edit terms in this taxonomy." -msgstr "Vous n’avez pas l’autorisation de modifier les termes de cette taxinomie." - -#: wp-includes/class-wp-xmlrpc-server.php:1840 -msgid "This taxonomy is not hierarchical so you can't set a parent." -msgstr "Cette taxinomie n’est pas hiérarchisée, donc vous ne pouvez créer de parent." - -#: wp-includes/class-wp-xmlrpc-server.php:1866 -msgid "Sorry, editing the term failed." -msgstr "Désolé, la modification du terme a échoué." - -#: wp-includes/class-wp-xmlrpc-server.php:1909 -msgid "You are not allowed to delete terms in this taxonomy." -msgstr "Vous n’avez pas l’autorisation de supprimer les termes de cette taxinomie." - -#: wp-includes/class-wp-xmlrpc-server.php:1925 -msgid "Sorry, deleting the term failed." -msgstr "Désolé, la suppression du terme a échoué." - -#: wp-includes/class-wp-xmlrpc-server.php:1977 -#: wp-includes/class-wp-xmlrpc-server.php:2031 -#: wp-includes/class-wp-xmlrpc-server.php:2120 -msgid "You are not allowed to assign terms in this taxonomy." -msgstr "Désolé, vous n’avez pas l’autorisation d’assigner des termes à cette taxinomie." - -#: wp-includes/default-widgets.php:181 -msgid "Select Link Category:" -msgstr "Sélectionner la catégorie de liens :" - -#: wp-includes/class-wp-xmlrpc-server.php:397 -msgid "Template" -msgstr "Modèle" - -#: wp-includes/class-wp-xmlrpc-server.php:402 -msgid "Stylesheet" -msgstr "Feuille de style" - -#: wp-includes/default-widgets.php:194 -msgid "Link title" -msgstr "Titre du lien" - -#: wp-includes/default-widgets.php:195 -msgid "Link rating" -msgstr "Note du lien" - -#: wp-includes/default-widgets.php:196 -msgid "Link ID" -msgstr "ID du lien" - -#: wp-includes/default-widgets.php:211 -msgid "Number of links to show:" -msgstr "Nombre de liens à afficher :" - -#: wp-includes/class-wp-theme.php:225 -msgid "ERROR: The themes directory is either empty or doesn’t exist. Please check your installation." -msgstr "ERREUR : le répertoire des thèmes est soit vide, ou n’existe pas. Veuillez vérifier votre installation." - -#: wp-includes/class-wp-theme.php:229 -msgid "Stylesheet is not readable." -msgstr "Impossible de lire la feuille de style." - -#: wp-includes/class-wp-theme.php:278 wp-includes/class-wp-theme.php:282 -msgid "The \"%s\" theme is not a valid parent theme." -msgstr "Le thème « %s » n’est un thème parent valide." - -#: wp-includes/class-wp-customize-manager.php:1106 -msgid "Navigation" -msgstr "Navigation" - -#: wp-includes/class-wp-customize-manager.php:1109 -msgid "Your theme supports %s menu. Select which menu you would like to use." -msgid_plural "Your theme supports %s menus. Select which menu appears in each location." -msgstr[0] "Votre thème peut utiliser %s menu. Sélectionnez le menu que vous voudriez utiliser." -msgstr[1] "Votre thème peut utiliser %s menus. Sélectionnez le menu que vous voudriez utiliser pour chaque emplacement." - -#: wp-includes/media-template.php:510 -msgid "Refresh" -msgstr "Rafraîchir" - -#: wp-includes/class-wp-customize-manager.php:1139 -msgid "Static Front Page" -msgstr "Page d’accueil statique" - -#: wp-includes/class-wp-customize-manager.php:1142 -msgid "Your theme supports a static front page." -msgstr "Le thème actuel accepte les pages statiques." - -#: wp-includes/class-wp-customize-manager.php:1157 -msgid "Your latest posts" -msgstr "Les derniers articles" - -#: wp-includes/class-wp-customize-manager.php:1153 -msgid "Front page displays" -msgstr "La page d’accueil affiche" - -#: wp-includes/class-wp-customize-manager.php:933 -msgid "Site Title & Tagline" -msgstr "Titre de site et description" - -#: wp-includes/class-wp-customize-manager.php:955 -msgid "Tagline" -msgstr "Slogan" - -#: wp-includes/class-wp-customize-control.php:416 -#: wp-includes/class-wp-customize-manager.php:1113 -#: wp-includes/default-widgets.php:1362 -msgid "— Select —" -msgstr "— Sélectionner —" - -#. translators: If your word count is based on single characters (East Asian -#. characters), -#. enter 'characters'. Otherwise, enter 'words'. Do not translate into your -#. own language. -#. translators: If your word count is based on single characters (East Asian -#. characters), -#. enter 'characters'. Otherwise, enter 'words'. Do not translate into -#. your own language. -#: wp-includes/formatting.php:2602 wp-includes/script-loader.php:370 -msgctxt "word count: words or characters?" -msgid "words" -msgstr "words" - -#: wp-includes/class-wp-xmlrpc-server.php:1168 -#: wp-includes/class-wp-xmlrpc-server.php:4747 -msgid "The post type may not be changed." -msgstr "Ce type de contenu ne peut pas être supprimé." - -#: wp-includes/class-wp-xmlrpc-server.php:387 -msgid "Image default size" -msgstr "Taille de l’image par défaut" - -#: wp-includes/class-wp-xmlrpc-server.php:382 -msgid "Image default link type" -msgstr "Type du lien par défaut vers l’image" - -#: wp-includes/class-wp-xmlrpc-server.php:392 -msgid "Image default align" -msgstr "Alignement par défaut de l’image" - -#: wp-includes/class-wp-xmlrpc-server.php:1166 -msgid "Sorry, you are not allowed to edit this post." -msgstr "Désolé, vous n’avez pas l’autorisation de modifier cet article." - -#: wp-includes/post.php:3855 wp-includes/script-loader.php:458 -#: wp-includes/script-loader.php:484 -msgctxt "tag delimiter" -msgid "," -msgstr ", " - -#: wp-includes/admin-bar.php:305 -msgid "Edit Site" -msgstr "Modifier le site" - -#: wp-includes/class-wp-xmlrpc-server.php:1642 -msgid "Sorry, you are not allowed to edit posts in this post type" -msgstr "Désolé, vous n’avez pas l’autorisation de modifier des entrées dans ce type de contenu" - -#: wp-includes/class-wp-xmlrpc-server.php:1204 -#: wp-includes/class-wp-xmlrpc-server.php:4489 -msgid "Invalid author ID." -msgstr "Identifiant utilisateur non valable." - -#: wp-includes/class-wp-xmlrpc-server.php:1487 -msgid "Sorry, you are not allowed to delete this post." -msgstr "Désolé, vous n’avez pas l’autorisation de supprimer cet article." - -#: wp-includes/class-wp-xmlrpc-server.php:1322 -msgid "Ambiguous term name used in a hierarchical taxonomy. Please use term ID instead." -msgstr "Un nom de terme est ambigu pour cette taxinomie hiérarchisée. Veuillez utiliser l’identifiant du terme à la place." - -#: wp-includes/class-wp-xmlrpc-server.php:1329 -msgid "Sorry, you are not allowed to add a term to one of the given taxonomies." -msgstr "Désolé, vous n’avez pas l’autorisation d’ajouter un terme à l’une des taxinomies indiquées." - -#: wp-includes/class-wp-xmlrpc-server.php:1492 -msgid "The post cannot be deleted." -msgstr "Cet article ne peut pas être supprimé." - -#: wp-includes/class-wp-xmlrpc-server.php:1636 -msgid "The post type specified is not valid" -msgstr "Le type de contenu spécifié n’est pas valable" - -#: wp-includes/class-wp-xmlrpc-server.php:1158 -#: wp-includes/class-wp-xmlrpc-server.php:3736 -#: wp-includes/class-wp-xmlrpc-server.php:4426 -#: wp-includes/class-wp-xmlrpc-server.php:4484 -#: wp-includes/class-wp-xmlrpc-server.php:4743 -#: wp-includes/class-wp-xmlrpc-server.php:4804 -msgid "Invalid post type" -msgstr "Type d’article invalide" - -#: wp-includes/class-wp-xmlrpc-server.php:1194 -msgid "Sorry, you are not allowed to create password protected posts in this post type" -msgstr "Désolé, vous n’avez pas l’autorisation de créer des contenus protégés par mot de passe avec ce type de contenu" - -#: wp-includes/class-wp-xmlrpc-server.php:1199 -#: wp-includes/class-wp-xmlrpc-server.php:4477 -msgid "You are not allowed to create posts as this user." -msgstr "Vous n’avez pas l’autorisation de créer des contenus sous cet identifiant." - -#: wp-includes/class-wp-xmlrpc-server.php:1180 -msgid "Sorry, you are not allowed to create private posts in this post type" -msgstr "Désolé, vous n’avez pas l’autorisation de créer des contenus privés avec ce type de contenu" - -#: wp-includes/class-wp-xmlrpc-server.php:1185 -msgid "Sorry, you are not allowed to publish posts in this post type" -msgstr "Désolé, vous n’avez pas l’autorisation de publier des contenus avec ce type de contenu" - -#: wp-includes/class-wp-xmlrpc-server.php:1279 -#: wp-includes/class-wp-xmlrpc-server.php:1303 -msgid "Sorry, you are not allowed to assign a term to one of the given taxonomies." -msgstr "Désolé, vous n’avez pas l’autorisation d’assigner un terme à l’une des taxinomies indiquées." - -#: wp-includes/class-wp-xmlrpc-server.php:1276 -#: wp-includes/class-wp-xmlrpc-server.php:1300 -msgid "Sorry, one of the given taxonomies is not supported by the post type." -msgstr "Désolé, l’une des taxinomies données n’est pas reconnue par ce type de contenu." - -#: wp-includes/class-wp-xmlrpc-server.php:1242 -msgid "Sorry, you are not allowed to stick this post." -msgstr "Désolé, vous n’avez pas l’autorisation de mettre cet article en avant." - -#. translators: opening curly double quote -#: wp-includes/formatting.php:62 wp-includes/formatting.php:3855 -msgctxt "opening curly double quote" -msgid "“" -msgstr "« " - -#. translators: closing curly double quote -#: wp-includes/formatting.php:64 -msgctxt "closing curly double quote" -msgid "”" -msgstr " »" - -#. translators: apostrophe, for example in 'cause or can't -#: wp-includes/formatting.php:67 -msgctxt "apostrophe" -msgid "’" -msgstr "’" - -#. translators: prime, for example in 9' (nine feet) -#: wp-includes/formatting.php:70 -msgctxt "prime" -msgid "′" -msgstr "′" - -#. translators: double prime, for example in 9" (nine inches) -#: wp-includes/formatting.php:72 -msgctxt "double prime" -msgid "″" -msgstr "″" - -#. translators: opening curly single quote -#: wp-includes/formatting.php:75 -msgctxt "opening curly single quote" -msgid "‘" -msgstr "‘" - -#. translators: closing curly single quote -#: wp-includes/formatting.php:77 -msgctxt "closing curly single quote" -msgid "’" -msgstr "’" - -#: wp-signup.php:127 -msgid "Allow search engines to index this site." -msgstr "Demander aux moteurs de recherche d’indexer ce site." - -#: wp-load.php:67 -msgid "There doesn't seem to be a wp-config.php file. I need this before we can get started." -msgstr "Il ne semble pas y avoir de fichier wp-config.php. J’en ai besoin pour lancer le processus." - -#: wp-load.php:68 -msgid "Need more help? We got it." -msgstr "Besoin d’aide ? En voici." - -#: wp-load.php:69 -msgid "You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." -msgstr "Vous pouvez créer un fichier wp-config.php par le biais de cette interface, mais cela ne marche pour toutes les configurations de serveur. La manière la plus sûre reste de créer le fichier à la main." - -#: wp-load.php:70 -msgid "Create a Configuration File" -msgstr "Créer un fichier de configuration" - -#: wp-includes/admin-bar.php:138 -msgid "http://codex.wordpress.org/" -msgstr "http://codex.wordpress.org/" - -#: wp-activate.php:98 -msgid "Your site at %2$s is active. You may now log in to your site using your chosen username of “%3$s”. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can reset your password." -msgstr "Votre site est activé à %2$s. Vous pouvez dès maintenant vous connecter à ce site en utilisant l’identifiant choisi « %3$s ». Vous trouverez dans votre messagerie (sur %4$s) un message vous donnant votre mot de passe et identifiant, ainsi que les instructions pour vous connecter. Si vous ne recevez pas d’e-mail, pensez à consulter le dossier « spam » de votre client de messagerie. Si vous ne recevez pas votre mot de passe dans moins d’une heure, vous pouvez réinitialiser votre mot de passe." - -#: wp-signup.php:381 -msgid "http://%2$s is your new site. Log in as “%4$s” using your existing password." -msgstr "http://%2$s est votre nouveau site. Connectez-vous avec l’identifiant « %4$s », à l’aide de votre mot de passe actuel." - -#: wp-activate.php:96 -msgid "Your account has been activated. You may now log in to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can reset your password." -msgstr "Votre compte vient d’être activé. Vous pouvez dès maintenant vous connecter à votre site en utilisant votre identifiant « %2$s ». Vous trouverez dans votre messagerie (sur %3$s) un message vous donnant votre mot de passe et identifiant, ainsi que les instructions pour vous connecter. Si vous ne recevez pas d’e-mail, pensez à consulter le dossier « spam » de votre client de messagerie. Si vous ne recevez pas votre mot de passe dans moins d’une heure, vous pouvez réinitialiser votre mot de passe." - -#: wp-includes/functions.php:1314 -msgid "One or more database tables are unavailable. The database may need to be repaired." -msgstr "Une ou plusieurs tables de votre base de données sont indisponibles. La base de données a peut-être besoin d’être réparée." - -#: wp-mail.php:255 -msgid "Mission complete. Message %s deleted." -msgstr "Mission terminée. Message %s supprimé. " - -#: wp-includes/comment.php:961 wp-includes/comment.php:963 -msgid "You are posting comments too quickly. Slow down." -msgstr "Vous envoyez vos commentaires trop rapidement. Prenez votre temps." - -#: wp-includes/admin-bar.php:598 -msgctxt "admin bar menu group label" -msgid "New" -msgstr "Créer" - -#: wp-includes/admin-bar.php:634 -msgid "%s comment awaiting moderation" -msgid_plural "%s comments awaiting moderation" -msgstr[0] "%s commentaire en attente de modération" -msgstr[1] "%s commentaires en attente de modération" - -#: wp-includes/script-loader.php:253 -msgid "%s exceeds the maximum upload size for the multi-file uploader when used in your browser." -msgstr "%s dépasse la limite d’envoi pour l’outil de mise ne ligne multiple utilisé avec votre navigateur." - -#: wp-includes/script-loader.php:252 -msgid "Please try uploading this file with the %1$sbrowser uploader%2$s." -msgstr "Veuillez essayer de mettre ce fichier en ligne à l’aide de l’%1$soutil du navigateur%2$s." - -#: wp-includes/script-loader.php:261 -msgid "“%s” has failed to upload." -msgstr "« %s » n’a pas pu être mis en ligne." - -#: wp-includes/class-wp-editor.php:1213 -msgid "Blockquote (Alt + Shift + Q)" -msgstr "Bloc de citation (Alt + Maj. + Q)" - -#: wp-includes/default-widgets.php:183 -msgctxt "links widget" -msgid "All Links" -msgstr "Tous les liens" - -#. translators: en dash -#: wp-includes/formatting.php:80 -msgctxt "en dash" -msgid "–" -msgstr "–" - -#. translators: em dash -#: wp-includes/formatting.php:82 -msgctxt "em dash" -msgid "—" -msgstr "—" - -#: wp-includes/class-wp-admin-bar.php:108 -msgid "The menu ID should not be empty." -msgstr "L’identifiant du menu ne devrait pas être vide." - -#: wp-includes/admin-bar.php:111 wp-includes/admin-bar.php:120 -msgid "About WordPress" -msgstr "À propos de WordPress" - -#: wp-includes/script-loader.php:241 -msgid "%s exceeds the maximum upload size for this site." -msgstr "%s dépasse la limite d’envoi de ce site." - -#: wp-includes/functions.php:3369 -msgid "Please see Debugging in WordPress for more information." -msgstr "Veuillez consulter la page Débugger dans WordPress (en) pour plus d’informations." - -#: wp-includes/admin-bar.php:153 -msgid "Feedback" -msgstr "Remarque" - -#: wp-comments-post.php:128 -msgid "ERROR: please type a comment." -msgstr "ERREUR : veuillez saisir un commentaire." - -#: wp-comments-post.php:124 -msgid "ERROR: please enter a valid email address." -msgstr "ERREUR : veuillez saisir une adresse de messagerie valide." - -#: wp-comments-post.php:122 -msgid "ERROR: please fill the required fields (name, email)." -msgstr "ERREUR : veuillez renseigner les champs obligatoires (nom, e-mail)." - -#: wp-includes/script-loader.php:523 -msgid "Could not load the preview image. Please reload the page and try again." -msgstr "Impossible de charger l’image de prévisualisation. Veuillez recharger la page et réessayer." - -#: wp-includes/ms-functions.php:315 -msgid "ERROR: Site URL already taken." -msgstr "Erreur p;: cette adresse de site est déjà prise." - -#: wp-includes/ms-functions.php:322 -msgid "ERROR: problem creating site entry." -msgstr "Erreur : problème lors de la création de l’entrée du site." - -#: wp-includes/admin-bar.php:137 -msgid "Documentation" -msgstr "Documentation" - -#: wp-includes/admin-bar.php:145 -msgid "Support Forums" -msgstr "Forums d’entraide" - -#: wp-includes/formatting.php:2597 wp-includes/general-template.php:2547 -msgid "…" -msgstr "…" - -#: wp-includes/functions.php:3137 -msgid "Database Error" -msgstr "Erreur de la base de données" - -#: wp-includes/functions.php:3141 wp-includes/ms-load.php:398 -msgid "Error establishing a database connection" -msgstr "Erreur lors de la connexion à la base de données" - -#: wp-includes/admin-bar.php:129 -msgid "WordPress.org" -msgstr "Site de WordPress-FR" - -#: wp-includes/admin-bar.php:279 -msgid "Global Dashboard: %s" -msgstr "Tableau de bord global : %s" - -#: wp-includes/admin-bar.php:277 -msgid "Network Admin: %s" -msgstr "Admin du réseau : %s" - -#: wp-includes/taxonomy.php:475 -msgctxt "taxonomy general name" -msgid "Tags" -msgstr "Mots-clés" - -#: wp-includes/taxonomy.php:476 -msgctxt "taxonomy singular name" -msgid "Tag" -msgstr "Mot-clé" - -#: wp-includes/functions.wp-scripts.php:40 -#: wp-includes/functions.wp-scripts.php:77 -#: wp-includes/functions.wp-scripts.php:117 -#: wp-includes/functions.wp-scripts.php:143 -#: wp-includes/functions.wp-scripts.php:199 -#: wp-includes/functions.wp-scripts.php:227 -#: wp-includes/functions.wp-scripts.php:252 -#: wp-includes/functions.wp-styles.php:39 -#: wp-includes/functions.wp-styles.php:72 -#: wp-includes/functions.wp-styles.php:107 -#: wp-includes/functions.wp-styles.php:129 -#: wp-includes/functions.wp-styles.php:162 -#: wp-includes/functions.wp-styles.php:188 -#: wp-includes/functions.wp-styles.php:212 -msgid "Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks." -msgstr "Les scripts et les styles ne peuvent pas être enregistrés ou ajoutés avant le déclenchement des crochets %1$s, %2$s ou %3$s." - -#: wp-includes/class-wp-xmlrpc-server.php:484 -msgid "Allow link notifications from other blogs (pingbacks and trackbacks)" -msgstr "Autoriser les liens de notifications depuis les autres sites (notifications par pings et rétroliens)" - -#: wp-includes/capabilities.php:618 wp-includes/capabilities.php:638 -#: wp-includes/capabilities.php:664 -msgid "Use WP_User->ID instead." -msgstr "Utilisez plutôt WP_User->ID." - -#: wp-includes/ms-functions.php:1969 -msgid "You have been added to this site. Please visit the homepage or log in using your username and password." -msgstr "Vous avez été ajouté à ce site. Vous pouvez vous rendre sur sa page d’accueil ou vous connecter à l’aide de votre identifiant et mot de passe." - -#: wp-includes/script-loader.php:245 -msgid "Memory exceeded. Please try another smaller file." -msgstr "Mémoire dépassée. Veuillez réessayer avec un fichier plus petit." - -#: wp-includes/script-loader.php:246 -msgid "This is larger than the maximum size. Please try another." -msgstr "Ce fichier est plus grand que la taille maximale. Merci d’en envoyer un autre." - -#: wp-includes/script-loader.php:244 -msgid "This file is not an image. Please try another." -msgstr "Ce fichier n’est pas une image. Merci d’en envoyer un autre." - -#: wp-includes/general-template.php:2635 -msgctxt "admin color scheme" -msgid "Blue" -msgstr "Bleu" - -#: wp-includes/formatting.php:3416 -msgid "The timezone you have entered is not valid. Please select a valid timezone." -msgstr "Le fuseau horaire ne semble pas être valide. Veuillez en choisir une valide." - -#: wp-includes/ms-functions.php:1468 -msgid "" -"Dear User,\n" -"\n" -"Your new SITE_NAME site has been successfully set up at:\n" -"BLOG_URL\n" -"\n" -"You can log in to the administrator account with the following information:\n" -"Username: USERNAME\n" -"Password: PASSWORD\n" -"Log in here: BLOG_URLwp-login.php\n" -"\n" -"We hope you enjoy your new site. Thanks!\n" -"\n" -"--The Team @ SITE_NAME" -msgstr "" -"Cher utilisateur,\n" -"\n" -"Votre nouveau site SITE_NAME a été bien créé à l'adresse :\n" -"BLOG_URL\n" -"\n" -"Vous pouvez vous connecter au compte administrateur avec les informations suivantes :\n" -"Identifiant : USERNAME\n" -"Mot de passe : PASSWORD\n" -"Connectez-vous ici : BLOG_URLwp-login.php\n" -"\n" -"Nous espérons que vous apprécierez votre nouveau site. Merci !\n" -"\n" -"--L'équipe @ SITE_NAME" - -#: wp-includes/post.php:56 -msgctxt "add new from admin bar" -msgid "Media" -msgstr "Fichier média" - -#: wp-includes/admin-bar.php:593 -msgctxt "add new from admin bar" -msgid "User" -msgstr "Utilisateur" - -#: wp-includes/pluggable.php:1073 -msgid "You should specify a nonce action to be verified by using the first parameter." -msgstr "Vous devriez préciser une action de type « nonce », qui sera vérifiée par le premier paramètre." - -#: wp-includes/taxonomy.php:483 -msgid "View Tag" -msgstr "Voir le mot-clé" - -#: wp-includes/taxonomy.php:483 -msgid "View Category" -msgstr "Afficher la catégorie" - -#: wp-includes/js/tinymce/wp-mce-help.php:137 -msgid "Wider" -msgstr "Plus large" - -#: wp-includes/js/tinymce/wp-mce-help.php:138 -msgid "Narrower" -msgstr "Plus étroit" - -#: wp-includes/js/tinymce/wp-mce-help.php:139 -msgid "Default width" -msgstr "Largeur par défaut" - -#: wp-includes/class-wp-editor.php:1263 -msgid "Word count: %s" -msgstr "Compteur de mots : %s" - -#: wp-activate.php:121 -msgid "Your account is now activated. Log in or go back to the homepage." -msgstr "Votre compte est maintenant activé. Connectez-vous ou retournez sur la page d’accueil de votre site." - -#: wp-activate.php:119 -msgid "Your account is now activated. View your site or Log in" -msgstr "Votre compte est maintenant activé. Consultez votre site ou connectez-vous" - -#: wp-includes/class-wp-editor.php:1217 -msgid "Help (Alt + Shift + H)" -msgstr "Aide (Alt + Maj. + H)" - -#: wp-includes/admin-bar.php:191 -msgid "Howdy, %1$s" -msgstr "Salutations, %1$s" - -#: wp-includes/class-wp-editor.php:1194 -msgid "Exit fullscreen" -msgstr "Sortir du plein écran" - -#: wp-includes/class-wp-editor.php:1264 -msgid "Just write." -msgstr "Il ne reste plus qu’à écrire." - -#: wp-includes/script-loader.php:428 -msgid "Approve and Reply" -msgstr "Approuver et répondre" - -#: wp-includes/post.php:1633 -msgid "All Posts" -msgstr "Tous les articles" - -#: wp-includes/post.php:1633 -msgid "All Pages" -msgstr "Toutes les pages" - -#: wp-includes/class-wp-editor.php:1253 -msgid "Updated." -msgstr "Mis à jour." - -#: wp-includes/script-loader.php:94 -msgid "fullscreen" -msgstr "plein écran" - -#: wp-includes/class-wp-editor.php:1209 -msgid "Bold (Ctrl + B)" -msgstr "Gras (Ctrl + B)" - -#: wp-includes/class-wp-editor.php:1210 -msgid "Italic (Ctrl + I)" -msgstr "Italique (Ctrl + I)" - -#: wp-includes/class-wp-editor.php:1212 -msgid "Ordered list (Alt + Shift + O)" -msgstr "Liste ordonnée (Alt + Maj. + O)" - -#: wp-includes/class-wp-editor.php:1211 -msgid "Unordered list (Alt + Shift + U)" -msgstr "Liste non ordonnée (Alt + Shift + U)" - -#: wp-includes/class-wp-editor.php:1215 -msgid "Insert/edit link (Alt + Shift + A)" -msgstr "Insérer/modifier un lien (Alt + Shift + A)" - -#: wp-includes/class-wp-editor.php:1216 -msgid "Unlink (Alt + Shift + S)" -msgstr "Défaire le lien (Alt + Maj. + S)" - -#: wp-includes/comment-template.php:1774 -msgid "Pingback:" -msgstr "Ping :" - -#: wp-includes/class-wp-editor.php:831 -msgid "Poster" -msgstr "Image" - -#: wp-includes/media-template.php:1037 wp-includes/media-template.php:1127 -msgid "Preload" -msgstr "Précharger" - -#: wp-includes/class-http.php:221 -msgid "Destination directory for file streaming does not exist or is not writable." -msgstr "Le dossier de destination pour la diffusion de fichier n’existe pas ou n’est pas accessible en écriture." - -#: wp-includes/class-http.php:350 -msgid "There are no HTTP transports available which can complete the requested request." -msgstr "Il n’y a pas de transport HTTP disponible pour mener à bien la requête demandée." - -#: wp-includes/taxonomy.php:119 wp-includes/taxonomy.php:120 -msgctxt "post format" -msgid "Format" -msgstr "Format" - -#: wp-includes/class-wp-editor.php:1383 -msgid "Enter the destination URL" -msgstr "Saisissez l’adresse de destination" - -#: wp-includes/class-wp-editor.php:1394 -msgid "Or link to existing content" -msgstr "Ou alors, faites un lien vers l’un des contenus de votre site" - -#: wp-includes/query.php:144 wp-includes/query.php:165 -#: wp-includes/query.php:186 wp-includes/query.php:210 -#: wp-includes/query.php:234 wp-includes/query.php:258 -#: wp-includes/query.php:287 wp-includes/query.php:307 -#: wp-includes/query.php:327 wp-includes/query.php:347 -#: wp-includes/query.php:368 wp-includes/query.php:388 -#: wp-includes/query.php:418 wp-includes/query.php:447 -#: wp-includes/query.php:467 wp-includes/query.php:494 -#: wp-includes/query.php:514 wp-includes/query.php:534 -#: wp-includes/query.php:554 wp-includes/query.php:574 -#: wp-includes/query.php:603 wp-includes/query.php:630 -#: wp-includes/query.php:650 wp-includes/query.php:670 -#: wp-includes/query.php:690 wp-includes/query.php:710 -msgid "Conditional query tags do not work before the query is run. Before then, they always return false." -msgstr "Les balises de requête conditionnelle ne fonctionnent pas avant le lancement de la requête. Avant cela, elles renvoient toujours le booléen false." - -#: wp-includes/ms-functions.php:1001 -msgid "The user is already active." -msgstr "Cet utilisateur est déjà activé." - -#: wp-includes/functions.php:3370 -msgid "%1$s was called incorrectly. %2$s %3$s" -msgstr "%1$s est appelée de la mauvaise manière. %2$s %3$s" - -#: wp-includes/functions.php:3368 -msgid "(This message was added in version %s.)" -msgstr "(Ce message a été ajouté à la version %s.)" - -#: wp-includes/class-wp-xmlrpc-server.php:5695 -msgid "Sorry, you cannot publish this post." -msgstr "Désolé, vous ne pouvez pas publier cet article." - -#: wp-includes/pluggable.php:1418 -msgid "Permalink: %s" -msgstr "Permalien : %s" - -#: wp-includes/post-formats.php:92 -msgctxt "Post format" -msgid "Standard" -msgstr "Par défaut" - -#: wp-includes/post.php:1337 wp-includes/post.php:1338 -msgid "Post types cannot exceed 20 characters in length" -msgstr "Les types de contenu ne peuvent dépasser les 20 caractères." - -#: wp-signup.php:112 -msgid "Your address will be %s." -msgstr "Votre adresse sera %s." - -#: wp-signup.php:111 -msgid "domain" -msgstr "domaine" - -#: wp-includes/admin-bar.php:605 -msgctxt "admin bar menu group label" -msgid "Add New" -msgstr "Créer" - -#: wp-includes/post-formats.php:101 -msgctxt "Post format" -msgid "Audio" -msgstr "Son" - -#: wp-includes/class-wp-xmlrpc-server.php:4448 -#: wp-includes/class-wp-xmlrpc-server.php:4753 -msgid "Invalid post format" -msgstr "Format d’article invalide" - -#: wp-includes/pluggable.php:1410 wp-includes/pluggable.php:1539 -msgid "Whois : http://whois.arin.net/rest/ip/%s" -msgstr "Whois : http://whois.arin.net/rest/ip/%s" - -#: wp-includes/class-wp-editor.php:1391 wp-includes/media-template.php:963 -msgid "Open link in a new window/tab" -msgstr "Ouvrir le lien dans une nouvelle fenêtre/un nouvel onglet" - -#: wp-includes/class-wp-editor.php:1411 -msgid "No search term specified. Showing recent items." -msgstr "Aucun mot n’a été donné pour cette recherche. Voici les recherches précédentes." - -#: wp-includes/plugin.php:806 -msgid "Only a static class method or function can be used in an uninstall hook." -msgstr "Seule une méthode statique de classe ou une fonction peut être utilisée avec un crochet de désinstallation." - -#: wp-includes/post.php:2999 -msgid "Passing an integer number of posts is deprecated. Pass an array of arguments instead." -msgstr "Il n’est pas recommandé de passer un nombre entier d’articles ; il est préférable de passer un tableau d’arguments." - -#: wp-includes/post-formats.php:93 -msgctxt "Post format" -msgid "Aside" -msgstr "En passant" - -#: wp-includes/post-formats.php:94 -msgctxt "Post format" -msgid "Chat" -msgstr "Discussion" - -#: wp-includes/post-formats.php:95 -msgctxt "Post format" -msgid "Gallery" -msgstr "Galerie" - -#: wp-includes/post-formats.php:96 -msgctxt "Post format" -msgid "Link" -msgstr "Lien" - -#: wp-includes/post-formats.php:97 -msgctxt "Post format" -msgid "Image" -msgstr "Image" - -#: wp-includes/post-formats.php:98 -msgctxt "Post format" -msgid "Quote" -msgstr "Citation" - -#: wp-includes/post-formats.php:99 -msgctxt "Post format" -msgid "Status" -msgstr "État" - -#: wp-includes/post-formats.php:100 -msgctxt "Post format" -msgid "Video" -msgstr "Vidéo" - -#: wp-includes/post.php:1631 -msgid "No pages found in Trash." -msgstr "Aucune page trouvée dans la corbeille." - -#: wp-includes/post.php:1630 -msgid "No pages found." -msgstr "Aucune page trouvée." - -#: wp-includes/post.php:1631 -msgid "No posts found in Trash." -msgstr "Aucun article trouvé dans la corbeille." - -#: wp-includes/admin-bar.php:469 -msgid "Shortlink" -msgstr "Lien court" - -#: wp-includes/class-wp-xmlrpc-server.php:1255 -#: wp-includes/class-wp-xmlrpc-server.php:3575 -#: wp-includes/class-wp-xmlrpc-server.php:4631 -#: wp-includes/class-wp-xmlrpc-server.php:4964 -msgid "Invalid attachment ID." -msgstr "Identifiant du fichier invalide." - -#: wp-includes/registration-functions.php:7 wp-includes/registration.php:7 -msgid "This file no longer needs to be included." -msgstr "Ce fichier n’a plus besoin d’être inclus." - -#: wp-login.php:522 -msgid "Please enter your username or email address. You will receive a link to create a new password via email." -msgstr "Veuillez saisir votre identifiant ou votre adresse de messagerie. Un lien permettant de créer un nouveau mot de passe vous sera envoyé par e-mail." - -#: wp-includes/default-widgets.php:353 wp-includes/default-widgets.php:633 -msgid "Display as dropdown" -msgstr "Afficher comme liste déroulante" - -#: wp-includes/class-wp-xmlrpc-server.php:474 -msgid "Large size image height" -msgstr "Hauteur de l’image en grande taille" - -#: wp-includes/class-wp-xmlrpc-server.php:459 -msgid "Medium size image width" -msgstr "Largeur de l’image en taille moyenne" - -#: wp-includes/class-wp-xmlrpc-server.php:464 -msgid "Medium size image height" -msgstr "Hauteur de l’image en taille moyenne" - -#: wp-includes/class-wp-xmlrpc-server.php:469 -msgid "Large size image width" -msgstr "Largeur de l’image en grande taille" - -#: wp-includes/class-wp-xmlrpc-server.php:454 -msgid "Crop thumbnail to exact dimensions" -msgstr "Recadrer les images pour parvenir aux dimensions exactes" - -#: wp-includes/class-wp-xmlrpc-server.php:449 -msgid "Thumbnail Height" -msgstr "Hauteur des miniatures" - -#: wp-includes/class-wp-xmlrpc-server.php:444 -msgid "Thumbnail Width" -msgstr "Largeur des miniatures" - -#: wp-includes/script-loader.php:361 -msgid "No matches found." -msgstr "Aucune correspondance trouvée." - -#: wp-login.php:623 -msgid "New password" -msgstr "Nouveau mot de passe" - -#: wp-login.php:627 -msgid "Confirm new password" -msgstr "Confirmer le nouveau mot de passe" - -#: wp-login.php:364 -msgid "To reset your password, visit the following address:" -msgstr "Pour renouveler votre mot de passe, cliquez sur le lien suivant :" - -#: wp-login.php:616 wp-login.php:647 -msgid "Reset Password" -msgstr "Réinitialiser le mot de passe" - -#: wp-login.php:593 -msgid "The passwords do not match." -msgstr "Vos mots de passe ne correspondent pas." - -#: wp-login.php:608 -msgid "Password Reset" -msgstr "Renouvellement du mot de passe" - -#: wp-login.php:608 -msgid "Your password has been reset." -msgstr "Votre mot de passe a été réinitialisé." - -#: wp-login.php:360 -msgid "Someone requested that the password be reset for the following account:" -msgstr "Quelqu'un a demandé le renouvellement de son mot de passe pour le compte suivant :" - -#: wp-login.php:363 -msgid "If this was a mistake, just ignore this email and nothing will happen." -msgstr "S'il s'agit d'une erreur, ignorez ce message et la demande ne sera pas prise en compte." - -#: wp-login.php:616 -msgid "Enter your new password below." -msgstr "Veuillez saisir une deuxième fois votre nouveau mot de passe ci-dessous." - -#: wp-includes/post-formats.php:70 -msgid "Invalid post" -msgstr "Article invalide" - -#: wp-includes/admin-bar.php:244 -msgid "Edit My Profile" -msgstr "Modifier mon profil" - -#: wp-includes/admin-bar.php:201 -msgid "My Account" -msgstr "Mon compte" - -#: wp-includes/admin-bar.php:435 -msgid "Manage Comments" -msgstr "Gérer les commentaires" - -#: wp-includes/ms-functions.php:475 wp-includes/ms-functions.php:628 -msgid "Only lowercase letters (a-z) and numbers are allowed." -msgstr "Seuls les lettres minuscules (de a à z) et chiffres sont autorisés." - -#: wp-includes/query.php:2402 -msgid "\"caller_get_posts\" is deprecated. Use \"ignore_sticky_posts\" instead." -msgstr "« caller_get_posts » n’est plus recommandé. Utilisez « ignore_sticky_posts » à la place." - -#: wp-includes/taxonomy.php:97 -msgid "New Link Category Name" -msgstr "Nom de la nouvelle catégorie de liens" - -#: wp-includes/taxonomy.php:96 -msgid "Add New Link Category" -msgstr "Ajouter une catégorie de liens" - -#: wp-includes/taxonomy.php:95 -msgid "Update Link Category" -msgstr "Mettre à jour la catégorie de liens" - -#: wp-includes/taxonomy.php:93 -msgid "All Link Categories" -msgstr "Toutes les catégories de liens" - -#: wp-includes/taxonomy.php:91 -msgid "Search Link Categories" -msgstr "Chercher une catégorie de liens" - -#: wp-includes/taxonomy.php:90 -msgid "Link Category" -msgstr "Catégorie de liens" - -#: wp-includes/admin-bar.php:355 -msgid "Network Admin" -msgstr "Admin du réseau" - -#: wp-includes/ms-load.php:412 -msgid "Read the bug report page. Some of the guidelines there may help you figure out what went wrong." -msgstr "Lisez la page de gestions des bugs (en anglais). Certaines des bonnes pratiques qui y sont présentées pourraient vous aider à comprendre ce qui a mal tourné." - -#: wp-includes/ms-functions.php:877 wp-includes/ms-functions.php:962 -msgid "[%1$s] Activate %2$s" -msgstr "[%1s] Activation de %2s" - -#: wp-includes/load.php:117 -msgid "Your server is running PHP version %1$s but WordPress %2$s requires at least %3$s." -msgstr "Votre serveur utilise la version %1$s de PHP mais WordPress %2$s nécessite au moins la version %3$s." - -#: wp-includes/theme-compat/comments.php:26 -msgid "One Response to %2$s" -msgid_plural "%1$s Responses to %2$s" -msgstr[0] "Une réponse à %2$s" -msgstr[1] "%1$s réponses à %2$s" - -#: wp-signup.php:678 -msgctxt "Multisite active signup type" -msgid "user" -msgstr "utilisateur" - -#: wp-signup.php:677 -msgctxt "Multisite active signup type" -msgid "blog" -msgstr "site" - -#: wp-signup.php:676 -msgctxt "Multisite active signup type" -msgid "none" -msgstr "aucune" - -#: wp-signup.php:675 -msgctxt "Multisite active signup type" -msgid "all" -msgstr "tous" - -#: wp-includes/default-widgets.php:1308 -msgid "Custom Menu" -msgstr "Menu personnalisé" - -#: wp-includes/theme-compat/sidebar.php:74 -msgid "XFN" -msgstr "XFN" - -#: wp-includes/theme-compat/sidebar.php:74 -msgid "XHTML Friends Network" -msgstr "XHTML Friends Network" - -#: wp-includes/theme-compat/footer.php:19 -msgid "%1$s and %2$s." -msgstr "%1$s et %2$s." - -#: wp-includes/theme-compat/sidebar.php:38 -msgid "F, Y" -msgstr "F Y" - -#: wp-includes/theme-compat/sidebar.php:47 -msgid "You are currently browsing the %2$s blog archives." -msgstr "Vous parcourez actuellement les archives du site %2$s." - -#: wp-includes/theme-compat/sidebar.php:38 -msgid "You are currently browsing the %2$s blog archives for %3$s." -msgstr "Vous parcourez actuellement les archives du site %2$s pour %3$s." - -#: wp-includes/theme-compat/sidebar.php:41 -msgid "You are currently browsing the %2$s blog archives for the year %3$s." -msgstr "Vous parcourez actuellement les archives du site %2$s pour l’année %3$s." - -#: wp-includes/theme-compat/comments.php:72 -msgid "Logged in as %2$s." -msgstr "Connecté en tant que %2$s." - -#: wp-includes/theme-compat/comments-popup.php:70 -msgid "Logged in as %2$s. Log out »" -msgstr "Connecté en tant que %2$s. Se déconnecter »" - -#: wp-includes/theme-compat/footer.php:17 -msgid "%1$s is proudly powered by %2$s" -msgstr "%1$s est fièrement propulsé par %2$s" - -#: wp-includes/theme-compat/comments-popup.php:117 -msgid "Powered by WordPress" -msgstr "Propulsé par WordPress." - -#: wp-includes/theme-compat/comments.php:87 -msgid "XHTML: You can use these tags: %s" -msgstr "XHTML : Vous pouvez utiliser ces balises : %s" - -#: wp-includes/theme-compat/sidebar.php:44 -msgid "You have searched the %2$s blog archives for ‘%3$s’. If you are unable to find anything in these search results, you can try one of these links." -msgstr "Vous avez lancé une recherche dans les archives du site %2$s avec la requête « %3$s ». Si les résultats ne vous conviennent pas, vous pouvez essayer l’un de ces liens." - -#: wp-includes/theme-compat/sidebar.php:35 -msgid "l, F jS, Y" -msgstr "l j F Y" - -#: wp-includes/theme-compat/sidebar.php:35 -msgid "You are currently browsing the %2$s blog archives for the day %3$s." -msgstr "Vous parcourez actuellement les archives du site %2$s pour la journée du %3$s." - -#: wp-includes/theme-compat/sidebar.php:32 -msgid "You are currently browsing the archives for the %s category." -msgstr "Vous parcourez actuellement les archives de la catégorie %s." - -#: wp-includes/theme-compat/footer.php:20 -msgid "%d queries. %s seconds." -msgstr "%d requêtes. %s secondes." - -#: wp-includes/theme-compat/footer.php:19 -msgid "Comments (RSS)" -msgstr "Commentaires (RSS)" - -#: wp-includes/theme-compat/footer.php:19 -msgid "Entries (RSS)" -msgstr "Articles (RSS)" - -#: wp-includes/theme-compat/comments-popup.php:66 -msgid "Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: %s" -msgstr "Les paragraphes et retours à la ligne sont automatiques. Les adresses de messagerie ne sont pas affichées. HTML autorisé : %s" - -#: wp-includes/theme-compat/comments.php:17 -msgid "This post is password protected. Enter the password to view comments." -msgstr "Cet article est protégé par un mot de passe. Saisissez le mot de passe pour voir les commentaires." - -#: wp-includes/theme-compat/comments-popup.php:14 -msgid "%1$s - Comments on %2$s" -msgstr "%1$s - Commentaires sur %2$s" - -#: wp-includes/theme-compat/comments-popup.php:38 -msgid "The URL to TrackBack this entry is: %s" -msgstr "L’adresse web pour faire un rétrolien sur cet article est : %s" - -#: wp-includes/theme-compat/comments-popup.php:55 -msgid "by %1$s — %2$s @ %4$s" -msgstr "par %1$s — %2$s à %4$s" - -#: wp-includes/taxonomy.php:489 -msgid "Choose from the most used tags" -msgstr "Choisir parmi les mots-clés les plus utilisés" - -#: wp-includes/comment-template.php:2109 -msgid "You may use these HTML tags and attributes: %s" -msgstr "Vous pouvez utiliser ces balises et attributs HTML : %s" - -#: wp-includes/taxonomy.php:476 -msgctxt "taxonomy singular name" -msgid "Category" -msgstr "Catégorie" - -#: wp-includes/taxonomy.php:477 -msgid "Search Tags" -msgstr "Chercher dans les mots-clés" - -#: wp-includes/taxonomy.php:478 -msgid "Popular Tags" -msgstr "Mots-clés populaires" - -#: wp-includes/taxonomy.php:486 -msgid "New Category Name" -msgstr "Nom de la nouvelle catégorie" - -#: wp-includes/taxonomy.php:486 -msgid "New Tag Name" -msgstr "Nom du nouveau mot-clé" - -#: wp-includes/taxonomy.php:485 -msgid "Add New Category" -msgstr "Ajouter une nouvelle catégorie" - -#: wp-includes/taxonomy.php:485 -msgid "Add New Tag" -msgstr "Ajouter un nouveau mot-clé" - -#: wp-includes/taxonomy.php:484 -msgid "Update Tag" -msgstr "Mettre à jour le mot-clé" - -#: wp-includes/taxonomy.php:481 -msgid "Parent Category:" -msgstr "Catégorie parente :" - -#: wp-includes/taxonomy.php:480 -msgid "Parent Category" -msgstr "Catégorie parente" - -#: wp-includes/taxonomy.php:479 -msgid "All Tags" -msgstr "Tous les mots-clés" - -#: wp-includes/taxonomy.php:475 -msgctxt "taxonomy general name" -msgid "Categories" -msgstr "Catégories" - -#: wp-signup.php:723 -msgid "Sorry, new registrations are not allowed at this time." -msgstr "Désolé, il n’est pas possible de s’enregistrer à l’heure actuelle." - -#: wp-signup.php:510 wp-signup.php:646 -msgid "Check your inbox at %s and click the link given." -msgstr "Consultez la boite de réception de l’adresse %s, et cliquez sur le lien qui vous a été envoyé." - -#: wp-signup.php:652 -msgid "Wait a little longer. Sometimes delivery of email can be delayed by processes outside of our control." -msgstr "Veuillez patienter encore quelques instants. Parfois, la livraison des messages peut être retardée par des processus en dehors de notre contrôle." - -#: wp-signup.php:653 -msgid "Check the junk or spam folder of your email client. Sometime emails wind up there by mistake." -msgstr "Vérifiez le courrier indésirable (ou dossier spam) de votre client de messagerie. Parfois, certains messages arrivent là par erreur." - -#: wp-signup.php:681 -msgid "Greetings Site Administrator! You are currently allowing “%s” registrations. To change or disable registration go to your Options page." -msgstr "Salutations, cher administrateur du site ! Vous acceptez actuellement les inscriptions de type « %s ». Pour modifier ou désactiver les inscriptions, allez sur votre page d’options." - -#: wp-signup.php:191 -msgid "We send your registration email to this address. (Double-check your email address before continuing.)" -msgstr "Nous enverrons votre confirmation d’inscription à cette adresse. Vérifiez donc bien qu’elle est correcte avant de continuer." - -#: wp-includes/post.php:1629 -msgid "Search Pages" -msgstr "Chercher dans les pages" - -#: wp-includes/post.php:1625 -msgid "Add New Post" -msgstr "Ajouter un nouvel article" - -#: wp-includes/post.php:1632 -msgid "Parent Page:" -msgstr "Page parente :" - -#: wp-includes/post.php:1622 -msgctxt "post type general name" -msgid "Posts" -msgstr "Articles" - -#: wp-includes/post.php:1626 -msgid "Edit Page" -msgstr "Modifier la page" - -#: wp-includes/post.php:1629 -msgid "Search Posts" -msgstr "Chercher dans les articles" - -#: wp-includes/post.php:1625 -msgid "Add New Page" -msgstr "Ajouter une nouvelle page" - -#: wp-includes/post.php:1622 -msgctxt "post type general name" -msgid "Pages" -msgstr "Pages" - -#: wp-includes/post.php:1623 -msgctxt "post type singular name" -msgid "Page" -msgstr "Page" - -#: wp-includes/post.php:1623 -msgctxt "post type singular name" -msgid "Post" -msgstr "Article" - -#: wp-includes/ms-default-constants.php:127 -msgid "The constant VHOST is deprecated. Use the boolean constant SUBDOMAIN_INSTALL in wp-config.php to enable a subdomain configuration. Use is_subdomain_install() to check whether a subdomain configuration is enabled." -msgstr "La constante VHOST est obsolète. Utilisez la constante booléenne SUBDOMAIN_INSTALL dans le fichier wp-config.php pour activer le mode sous-domaines. Utilisez is_subdomain_install() pour vérifier si le mode sous-domaine est effectivement activé." - -#: wp-includes/ms-default-constants.php:129 -msgid "Conflicting values for the constants VHOST and SUBDOMAIN_INSTALL. The value of SUBDOMAIN_INSTALL will be assumed to be your subdomain configuration setting." -msgstr "Les valeurs des constantes VHOST et SUBDOMAIN_INSTALL ne correspondent pas. C’est la valeur de SUBDOMAIN_INSTALL qui sera prise en compte pour votre réglage du mode sous-domaines." - -#: wp-includes/user.php:2129 -msgid "ERROR: This username is invalid because it uses illegal characters. Please enter a valid username." -msgstr "ERREUR : cet identifiant n’est pas valide, car il utilise des caractères non autorisés. Merci d’utiliser un identifiant valide." - -#: wp-includes/comment-template.php:2091 -msgid "Required fields are marked %s" -msgstr "Les champs obligatoires sont indiqués avec %s" - -#: wp-includes/theme-compat/comments-popup.php:10 -#: wp-includes/theme-compat/comments.php:10 -#: wp-includes/theme-compat/footer.php:10 -#: wp-includes/theme-compat/header.php:10 -#: wp-includes/theme-compat/sidebar.php:10 -msgid "Please include a %1$s template in your theme." -msgstr "Veuillez inclure un modèle de type « %1$s » à votre thème." - -#: wp-includes/theme-compat/comments-popup.php:10 -#: wp-includes/theme-compat/comments.php:10 -#: wp-includes/theme-compat/footer.php:10 -#: wp-includes/theme-compat/header.php:10 -#: wp-includes/theme-compat/sidebar.php:10 -msgid "Theme without %1$s" -msgstr "Thème sans %1$s." - -#: wp-includes/ms-load.php:409 -msgid "Could not find site %1$s. Searched for table %2$s in database %3$s. Is that right?" -msgstr "Le site %1$s Nous avons cherché la table %2$s dans la base de données %3$s. Est-ce correct ?" - -#: wp-includes/general-template.php:627 -msgid "The %s option is deprecated for the family of bloginfo() functions." -msgstr "L’option %s est obsolète pour la famille des fonctions basées sur bloginfo()." - -#: wp-includes/general-template.php:627 -msgid "Use the %s option instead." -msgstr "Utilisez plutôt l’option %s." - -#: wp-includes/ms-load.php:407 -msgid "Database tables are missing. This means that MySQL is not running, WordPress was not installed properly, or someone deleted %s. You really should look at your database now." -msgstr "Des tables de la base de données sont manquantes. Cela peut signifier que MySQL ne fonctionne pas, ou que WordPress n’a pas été installé correctement, ou que quelqu’un a effacé %s. Vous devriez vraiment vraiment vérifier votre base de données au plus vite." - -#: wp-includes/class-wp-xmlrpc-server.php:4023 -msgid "Sorry, you do not have access to user data on this site." -msgstr "Vous n’avez pas l’autorisation d’accéder aux données utilisateurs de ce site." - -#: wp-includes/class-wp-xmlrpc-server.php:1171 -#: wp-includes/class-wp-xmlrpc-server.php:4195 -msgid "Sorry, you are not allowed to post on this site." -msgstr "Désolé, vous n’avez pas l’autorisation de publier sur ce site." - -#: wp-includes/class-wp-xmlrpc-server.php:4422 -#: wp-includes/class-wp-xmlrpc-server.php:4435 -#: wp-includes/class-wp-xmlrpc-server.php:4440 -msgid "Sorry, you are not allowed to publish posts on this site." -msgstr "Désolé, vous n’avez pas l’autorisation de publier des articles sur ce site." - -#: wp-includes/class-wp-xmlrpc-server.php:5258 -#: wp-includes/class-wp-xmlrpc-server.php:5481 -msgid "Sorry, you must be able to edit posts on this site in order to view categories." -msgstr "Désolé, vous devez avoir le droit d’écrire des articles sur ce site si vous vous visualisez les catégories." - -#: wp-includes/class-wp-xmlrpc-server.php:4411 -msgid "Sorry, you are not allowed to publish pages on this site." -msgstr "Désolé, vous n’avez pas l’autorisation de publier des pages sur ce site." - -#: wp-includes/ms-functions.php:673 wp-includes/ms-functions.php:1154 -msgid "Sorry, that site already exists!" -msgstr "Désolé, ce site existe déjà !" - -#: wp-includes/ms-functions.php:853 -msgid "" -"To activate your blog, please click the following link:\n" -"\n" -"%s\n" -"\n" -"After you activate, you will receive *another email* with your login.\n" -"\n" -"After you activate, you can visit your site here:\n" -"\n" -"%s" -msgstr "" -"Pour activer votre site, veuillez cliquer sur le lien suivant :\n" -"\n" -"%s\n" -"\n" -"Après l'activation, vous recevrez *un autre courrier* contenant votre identifiant.\n" -"\n" -"Vous pourrez alors vous rendre sur votre site ici :\n" -"\n" -"%s" - -#: wp-includes/ms-functions.php:1240 -msgid "New Site Registration: %s" -msgstr "Inscription d'un nouveau site : %s" - -#: wp-includes/ms-functions.php:637 -msgid "Sorry, site names may not contain the character “_”!" -msgstr "Désolé, les identifiants de site ne doivent pas contenir le caractère “_”!;!" - -#: wp-includes/ms-functions.php:1525 -msgid "New %1$s Site: %2$s" -msgstr "Nouveau site %1$s : %2$s" - -#: wp-includes/ms-functions.php:1003 -msgid "The site is already active." -msgstr "Ce site est déjà activé." - -#: wp-includes/class-wp-xmlrpc-server.php:2742 -#: wp-includes/class-wp-xmlrpc-server.php:4109 -#: wp-includes/class-wp-xmlrpc-server.php:5142 -msgid "Sorry, you cannot edit posts on this site." -msgstr "Désolé, vous ne pouvez pas modifier les articles de ce site." - -#: wp-includes/class-wp-xmlrpc-server.php:2934 -msgid "Sorry, you must be able to edit posts to this site in order to view categories." -msgstr "Désolé, vous devez avoir le droit d’écrire des articles pour ce site si vous voulez visualiser les catégories." - -#: wp-includes/class-wp-xmlrpc-server.php:3323 -#: wp-includes/class-wp-xmlrpc-server.php:3384 -#: wp-includes/class-wp-xmlrpc-server.php:3411 -#: wp-includes/class-wp-xmlrpc-server.php:3438 -#: wp-includes/class-wp-xmlrpc-server.php:3657 -msgid "You are not allowed access to details about this site." -msgstr "Vous n’avez pas l’autorisation d’accéder aux détails de ce site." - -#: wp-includes/ms-functions.php:1160 -msgid "Could not create site." -msgstr "Impossible de créer le site." - -#: wp-includes/ms-functions.php:645 -msgid "Sorry, site names must have letters too!" -msgstr "Désolé, les identifiants de site doivent également avoir des lettres !" - -#: wp-includes/ms-functions.php:641 -msgid "Sorry, you may not use that site name." -msgstr "Désolé, vous ne pouvez pas utiliser ce nom pour votre site." - -#: wp-includes/ms-functions.php:677 -msgid "Sorry, that site is reserved!" -msgstr "Désolé, ce site est réservé !" - -#: wp-includes/ms-functions.php:688 -msgid "That site is currently reserved but may be available in a couple days." -msgstr "Ce site est réservé pour le moment, mais pourrait être disponible dans quelques jours." - -#: wp-includes/pluggable.php:1645 -msgid "New user registration on your site %s:" -msgstr "Inscription d'un nouvel utilisateur sur votre site %s :" - -#: wp-includes/class-wp-xmlrpc-server.php:2971 -#: wp-includes/class-wp-xmlrpc-server.php:3074 -#: wp-includes/class-wp-xmlrpc-server.php:3080 -#: wp-includes/class-wp-xmlrpc-server.php:3139 -#: wp-includes/class-wp-xmlrpc-server.php:3145 -msgid "You are not allowed to moderate comments on this site." -msgstr "Vous n’avez pas l’autorisation de modérer les commentaires de ce site." - -#: wp-includes/class-wp-xmlrpc-server.php:2778 -msgid "Sorry, you must be able to edit posts on this site in order to view tags." -msgstr "Désolé, vous devez avoir le droit de modifier des articles sur ce site si vous voulez visualiser les mots-clés." - -#: wp-includes/class-wp-xmlrpc-server.php:424 -msgid "Site Tagline" -msgstr "Slogan du site" - -#: wp-includes/ms-load.php:109 -msgid "This site has been archived or suspended." -msgstr "Ce site a été archivé ou suspendu." - -#: wp-includes/load.php:472 -msgid "The site you have requested is not installed properly. Please contact the system administrator." -msgstr "Le site que vous avez demandé n’est pas installé correctement. Veuillez contacter l’administrateur de votre serveur." - -#: wp-includes/script-loader.php:537 -msgctxt "search results" -msgid "No results found." -msgstr "Aucun résultat trouvé." - -#: wp-includes/nav-menu.php:252 wp-includes/nav-menu.php:259 -msgid "The menu name %s conflicts with another menu name. Please try another." -msgstr "Un menu nommé %s est en conflit avec un autre nom de menu. Veuillez réessayer avec un notre nom." - -#: wp-includes/nav-menu.php:317 -msgid "The given object ID is not that of a menu item." -msgstr "L’identifiant donné pour cet objet n’est pas une entrée de menu." - -#: wp-includes/formatting.php:3274 -msgid "The email address entered did not appear to be a valid email address. Please enter a valid email address." -msgstr "L’adresse de messagerie fournie ne semble pas être valide. Veuillez saisir une adresse valide." - -#: wp-includes/formatting.php:3361 -msgid "The WordPress address you entered did not appear to be a valid URL. Please enter a valid URL." -msgstr "L’adresse de WordPress que vous avez saisie ne semble pas être valide. Veuillez entrer une adresse valide." - -#: wp-includes/formatting.php:3371 -msgid "The Site address you entered did not appear to be a valid URL. Please enter a valid URL." -msgstr "L’adresse de site que vous avez saisie ne semble pas être valide. Veuillez entrer une adresse valide." - -#: wp-includes/taxonomy.php:2491 -msgid "A term with the name provided already exists with this parent." -msgstr "Un terme avec ce nom existe déjà pour ce parent." - -#: wp-includes/ms-functions.php:1967 -msgid "An error occurred adding you to this site. Back to the homepage." -msgstr "Une erreur est survenue lors de votre ajout à ce site. Retournez à l’accueil." - -#: wp-includes/ms-functions.php:1883 -msgid "This file is too big. Files must be less than %d KB in size." -msgstr "Ce fichier est trop gros. La taille des fichiers doit être inférieure %d Ko." - -#: wp-includes/comment-template.php:2108 -msgid "Your email address will not be published." -msgstr "Votre adresse de messagerie ne sera pas publiée." - -#: wp-includes/class-http.php:191 wp-includes/class-wp-xmlrpc-server.php:5749 -msgid "A valid URL was not provided." -msgstr "L’URL fournie est invalide." - -#: wp-includes/comment-template.php:2107 -msgid "Logged in as %2$s. Log out?" -msgstr "Connecté en tant que %2$s. Se déconnecter ?" - -#: wp-includes/class-wp-image-editor-gd.php:175 -#: wp-includes/class-wp-image-editor-imagick.php:232 -msgid "Could not calculate resized image dimensions" -msgstr "Impossible de lire la taille de l’image redimensionnée" - -#: wp-signup.php:112 -msgid "Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!" -msgstr "Doit contenir au moins 4 caractères, avec uniquement des lettres et des chiffres. Vous ne pourrez pas en changer, donc choisissez bien !" - -#: wp-signup.php:690 -msgid "You must first log in, and then you can create a new site." -msgstr "Vous devez d’abord vous connecter avant de pouvoir créer un nouveau site." - -#: wp-signup.php:725 -msgid "You are logged in already. No need to register again!" -msgstr "Vous êtes déjà connecté. Pas besoin de vous réinscrire !" - -#: wp-includes/comment-template.php:942 -msgid "Use get_trackback_url() instead if you do not want the value echoed." -msgstr "Utilisez plutôt get_trackback_url() si vous préférez que la valeur ne soit pas affichée." - -#: wp-mail.php:15 -msgid "This action has been disabled by the administrator." -msgstr "Cette action a été désactivée par l’administrateur." - -#: wp-signup.php:266 -msgid "Welcome back, %s. By filling out the form below, you can add another site to your account. There is no limit to the number of sites you can have, so create to your heart’s content, but write responsibly!" -msgstr "Heureux de voir revoir, %s ! En remplissant le formulaire ci-dessous, vous pouvez ajouter un autre site à votre compte. Il n’y a pas de limite au nombre de sites dont vous pouvez disposer, donc créez-en autant que vous le souhaitez, mais écrivez pondérément." - -#: wp-includes/ms-functions.php:499 -msgid "Sorry, usernames may not contain the character “_”!" -msgstr "Désolé, les identifiants ne doivent pas contenir le caractère « _ » !" - -#: wp-signup.php:650 -msgid "If you haven’t received your email yet, there are a number of things you can do:" -msgstr "Si vous n’avez encore pas reçu votre e-mail, il existe un certain nombre de choses que vous pouvez faire :" - -#: wp-includes/author-template.php:63 -msgid "Use get_the_author() instead if you do not want the value echoed." -msgstr "Utilisez plutôt get_the_author() si vous préférez que la valeur ne soit pas affichée." - -#: wp-includes/ms-load.php:413 -msgid "If you’re still stuck with this message, then check that your database contains the following tables:" -msgstr "Si vous êtes toujours bloqué par ce message, vérifiez alors que votre base de données contient bien les tables suivantes :" - -#: wp-includes/script-loader.php:495 -msgid "Are you sure you want to install this plugin?" -msgstr "Voulez-vous vraiment installer cette extension ?" - -#: wp-includes/script-loader.php:528 -msgid "Use as featured image" -msgstr "Utiliser comme image à la Une" - -#: wp-includes/script-loader.php:345 -msgid "Mismatch" -msgstr "Incohérence" - -#: wp-includes/load.php:187 -msgid "Maintenance" -msgstr "Maintenance" - -#: wp-includes/load.php:191 -msgid "Briefly unavailable for scheduled maintenance. Check back in a minute." -msgstr "Indisponibilité temporaire pour cause de maintenance. Veuillez revenir dans un instant." - -#: wp-includes/post.php:100 -msgid "Navigation Menu Items" -msgstr "Éléments de menu de navigation" - -#: wp-includes/post.php:101 -msgid "Navigation Menu Item" -msgstr "Élément de menu de navigation" - -#: wp-includes/taxonomy.php:76 -msgid "Navigation Menus" -msgstr "Menus de navigation" - -#: wp-links-opml.php:29 -msgid "Links for %s" -msgstr "Liens pour %s" - -#: wp-includes/nav-menu.php:686 -msgid "Custom" -msgstr "Lien" - -#: wp-includes/default-widgets.php:1351 -msgid "No menus have been created yet. Create some." -msgstr "Aucun menu n’a été créé pour le moment. En créer un." - -#: wp-includes/script-loader.php:538 -msgid "" -"You are about to permanently delete this menu. \n" -" 'Cancel' to stop, 'OK' to delete." -msgstr "" -"Vous êtes sur le point de supprimer définitivement ce menu.\n" -" « Annuler » pour abandonner, « OK » pour le supprimer." - -#: wp-includes/link-template.php:3118 -msgid "This is the short link." -msgstr "Ceci est un lien court." - -#: wp-includes/update.php:547 -msgid "%d WordPress Update" -msgstr "%d mise à jour de WordPress" - -#: wp-includes/update.php:551 -msgid "%d Theme Update" -msgid_plural "%d Theme Updates" -msgstr[0] "%d mise à jour de thème" -msgstr[1] "%d mises à jour de thèmes" - -#: wp-includes/update.php:549 -msgid "%d Plugin Update" -msgid_plural "%d Plugin Updates" -msgstr[0] "%d mise à jour d’extension" -msgstr[1] "%d mises à jour d’extensions" - -#: wp-signup.php:379 -msgid "The site %s is yours." -msgstr "Le site %s est à vous." - -#: wp-signup.php:296 -msgid "Create Site" -msgstr "Créer un site" - -#: wp-signup.php:281 -msgid "If you’re not going to use a great site domain, leave it for a new user. Now have at it!" -msgstr "Si vous ne comptez pas utiliser ce superbe nom de domaine, laissez-le à un autre utilisateur. Et maintenant, lancez-vous !" - -#: wp-signup.php:272 -msgid "Sites you are already a member of:" -msgstr "Les sites que vous possédez déjà :" - -#: wp-includes/pluggable.php:1385 -msgid "New trackback on your post \"%s\"" -msgstr "Nouveau rétrolien sur votre article « %s »" - -#: wp-includes/ms-load.php:404 -msgid "If you are the owner of this network please check that MySQL is running properly and all tables are error free." -msgstr "Si vous êtes le gestionnaire de ce réseau de sites, veuillez vous assurer que MySQL fonctionne correctement et qu'aucune table n'a d'erreur." - -#: wp-includes/ms-load.php:102 -msgid "This site has not been activated yet. If you are having problems activating your site, please contact %1$s." -msgstr "Ce site n’a pas encore été activé. Si vous rencontrez des problèmes durant l’activation de votre site, veuillez contacter %1$s." - -#: wp-includes/ms-load.php:403 -msgid "If your site does not display, please contact the owner of this network." -msgstr "Si votre site ne s'affiche pas, veuillez contacter le gestionnaire de ce réseau de sites." - -#: wp-includes/pluggable.php:1405 -msgid "New comment on your post \"%s\"" -msgstr "Nouveau commentaire sur votre article « %s »" - -#: wp-includes/pluggable.php:1395 -msgid "New pingback on your post \"%s\"" -msgstr "Nouveau ping sur votre article « %s »" - -#: wp-includes/pluggable.php:1520 -msgid "A new trackback on the post \"%s\" is waiting for your approval" -msgstr "Un nouveau rétrolien sur l'article « %s » attend votre approbation" - -#: wp-includes/pluggable.php:1527 -msgid "A new pingback on the post \"%s\" is waiting for your approval" -msgstr "Un nouveau ping sur l'article « %s » attend votre approbation" - -#: wp-includes/pluggable.php:1534 -msgid "A new comment on the post \"%s\" is waiting for your approval" -msgstr "Un nouveau commentaire sur l'article « %s » attend votre approbation" - -#: wp-includes/script-loader.php:256 -msgid "File canceled." -msgstr "Fichier annulé." - -#: wp-signup.php:117 -msgid "Site Title:" -msgstr "Titre du site :" - -#: wp-signup.php:96 -msgid "Site Domain:" -msgstr "Domaine du site :" - -#: wp-signup.php:94 -msgid "Site Name:" -msgstr "Nom du site :" - -#: wp-signup.php:109 -msgid "sitename" -msgstr "nomdusite" - -#: wp-signup.php:260 -msgid "Get another %s site in seconds" -msgstr "Ouvrir un autre site %s en quelques secondes" - -#: wp-signup.php:643 -msgid "Congratulations! Your new site, %s, is almost ready." -msgstr "Félicitations! Votre nouveau site, %s, est presque prêt." - -#: wp-signup.php:704 -msgid "Site registration has been disabled." -msgstr "Les inscriptions de sites sont désactivées." - -#: wp-signup.php:453 -msgid "Gimme a site!" -msgstr "Donnez-moi un site !" - -#: wp-signup.php:645 -msgid "But, before you can start using your site, you must activate it." -msgstr "Mais, avant d’utiliser votre nouveau site, vous devez l’activer." - -#: wp-signup.php:647 -msgid "If you do not activate your site within two days, you will have to sign up again." -msgstr "Si vous n’activez pas votre site dans les deux jours, vous devrez à nouveau l’enregistrer." - -#: wp-includes/default-widgets.php:1360 -msgid "Select Menu:" -msgstr "Sélectionner le menu :" - -#: wp-includes/taxonomy.php:77 -msgid "Navigation Menu" -msgstr "Menu de navigation" - -#: wp-includes/default-widgets.php:1279 -msgid "Taxonomy:" -msgstr "Taxinomie :" - -#: wp-includes/admin-bar.php:681 -msgid "Menus" -msgstr "Menus" - -#: wp-includes/class-wp-xmlrpc-server.php:352 -msgid "Software Name" -msgstr "Nom du logiciel" - -#: wp-includes/class-wp-xmlrpc-server.php:357 -msgid "Software Version" -msgstr "Version du logiciel" - -#: wp-includes/class-wp-xmlrpc-server.php:414 -msgid "Time Zone" -msgstr "Fuseau horaire" - -#: wp-includes/class-wp-xmlrpc-server.php:439 -msgid "Allow new users to sign up" -msgstr "Autoriser les nouveaux utilisateurs à s’inscrire" - -#: wp-includes/class-wp-xmlrpc-server.php:2479 -msgid "Sorry, you cannot edit this page." -msgstr "Désolé, vous ne pouvez pas modifier cette page." - -#: wp-includes/class-wp-xmlrpc-server.php:2490 -#: wp-includes/class-wp-xmlrpc-server.php:2597 -#: wp-includes/class-wp-xmlrpc-server.php:2647 -msgid "Sorry, no such page." -msgstr "Désolé, aucune page ne correspond." - -#: wp-includes/class-wp-xmlrpc-server.php:2518 -#: wp-includes/class-wp-xmlrpc-server.php:2690 -msgid "Sorry, you cannot edit pages." -msgstr "Désolé, vous ne pouvez pas modifier les pages." - -#: wp-includes/class-wp-xmlrpc-server.php:2601 -msgid "Sorry, you do not have the right to delete this page." -msgstr "Désolé, vous n’avez pas l’autorisation de supprimer cette page." - -#: wp-includes/class-wp-xmlrpc-server.php:2606 -msgid "Failed to delete the page." -msgstr "Échec lors de la suppression de la page." - -#: wp-includes/class-wp-xmlrpc-server.php:2651 -msgid "Sorry, you do not have the right to edit this page." -msgstr "Désolé, vous n’avez pas l’autorisation de modifier cette page." - -#: wp-includes/class-wp-xmlrpc-server.php:2825 -msgid "Sorry, you do not have the right to add a category." -msgstr "Désolé, vous n’avez pas les droits pour ajouter une catégorie." - -#: wp-includes/class-wp-xmlrpc-server.php:2853 -#: wp-includes/class-wp-xmlrpc-server.php:2855 -msgid "Sorry, the new category failed." -msgstr "Désolé, la création de la catégorie a échoué." - -#: wp-includes/class-wp-xmlrpc-server.php:2894 -msgid "Sorry, you do not have the right to delete a category." -msgstr "Désolé, vous n’avez pas les droits pour supprimer une catégorie." - -#: wp-includes/class-wp-xmlrpc-server.php:2977 -#: wp-includes/class-wp-xmlrpc-server.php:3077 -#: wp-includes/class-wp-xmlrpc-server.php:3142 -msgid "Invalid comment ID." -msgstr "Identifiant commentaire invalide." - -#: wp-includes/class-wp-xmlrpc-server.php:3013 -msgid "Sorry, you cannot edit comments." -msgstr "Désolé, vous ne pouvez pas modifier les commentaires." - -#: wp-includes/class-wp-xmlrpc-server.php:3155 -msgid "Invalid comment status." -msgstr "Statut du commentaire non valide." - -#: wp-includes/class-wp-xmlrpc-server.php:3187 -msgid "Sorry, the comment could not be edited. Something wrong happened." -msgstr "Désolé, votre commentaire n’a pu être modifié. Une erreur est survenue." - -#: wp-includes/class-wp-xmlrpc-server.php:3234 -msgid "You must be registered to comment" -msgstr "Vous devez être enregistré pour laisser un commentaire" - -#: wp-includes/class-wp-xmlrpc-server.php:1164 -#: wp-includes/class-wp-xmlrpc-server.php:1423 -#: wp-includes/class-wp-xmlrpc-server.php:1484 -#: wp-includes/class-wp-xmlrpc-server.php:1575 -#: wp-includes/class-wp-xmlrpc-server.php:2476 -#: wp-includes/class-wp-xmlrpc-server.php:3247 -#: wp-includes/class-wp-xmlrpc-server.php:3250 -#: wp-includes/class-wp-xmlrpc-server.php:4060 -#: wp-includes/class-wp-xmlrpc-server.php:4736 -#: wp-includes/class-wp-xmlrpc-server.php:5014 -#: wp-includes/class-wp-xmlrpc-server.php:5520 -#: wp-includes/class-wp-xmlrpc-server.php:5568 -#: wp-includes/class-wp-xmlrpc-server.php:5692 wp-includes/post.php:3098 -#: wp-includes/post.php:3545 -msgid "Invalid post ID." -msgstr "Identifiant de l’article non valide." - -#: wp-includes/class-wp-xmlrpc-server.php:3276 -msgid "Comment author name and email are required" -msgstr "L’auteur d’un commentaire doit renseigner son nom et son adresse de messagerie" - -#: wp-includes/class-wp-xmlrpc-server.php:3278 -msgid "A valid email address is required" -msgstr "Une adresse de messagerie valide est requise" - -#: wp-includes/class-wp-xmlrpc-server.php:3351 -msgid "You are not allowed access to details about comments." -msgstr "Vous n’avez pas l’autorisation d’accéder aux détails des commentaires." - -#: wp-includes/class-wp-xmlrpc-server.php:3520 -msgid "You are not allowed to update options." -msgstr "Vous n’avez pas l’autorisation de mettre à jour les options." - -#: wp-includes/class-wp-xmlrpc-server.php:1578 -#: wp-includes/class-wp-xmlrpc-server.php:3920 -#: wp-includes/class-wp-xmlrpc-server.php:4063 -#: wp-includes/class-wp-xmlrpc-server.php:5017 -#: wp-includes/class-wp-xmlrpc-server.php:5360 -#: wp-includes/class-wp-xmlrpc-server.php:5571 -msgid "Sorry, you cannot edit this post." -msgstr "Désolé, vous ne pouvez pas modifier cet article." - -#: wp-includes/class-wp-xmlrpc-server.php:4117 -#: wp-includes/class-wp-xmlrpc-server.php:5429 -msgid "Either there are no posts, or something went wrong." -msgstr "Soit il n’y a pas d’articles, soit une erreur s’est produite." - -#: wp-includes/class-wp-xmlrpc-server.php:4260 -#: wp-includes/class-wp-xmlrpc-server.php:4325 -#: wp-includes/class-wp-xmlrpc-server.php:5114 -#: wp-includes/class-wp-xmlrpc-server.php:5645 -msgid "Sorry, no such post." -msgstr "Désolé, aucun article ne correspond." - -#: wp-includes/class-wp-xmlrpc-server.php:4269 -#: wp-includes/class-wp-xmlrpc-server.php:4909 -msgid "Sorry, you do not have the right to publish this post." -msgstr "Désolé, vous n’avez pas l’autorisation de publier cet article." - -#: wp-includes/class-wp-xmlrpc-server.php:4797 -msgid "You are not allowed to change the post author as this user." -msgstr "Vous n’avez pas l’autorisation de modifier des articles sous cet identifiant." - -#: wp-includes/class-wp-xmlrpc-server.php:4801 -msgid "You are not allowed to change the page author as this user." -msgstr "Vous n’avez pas l’autorisation de modifier des pages sous cet identifiant." - -#: wp-includes/class-wp-xmlrpc-server.php:4907 -msgid "Sorry, you do not have the right to publish this page." -msgstr "Désolé, vous n’avez pas le droit de publier cette page." - -#: wp-includes/class-wp-xmlrpc-server.php:4945 -msgid "Sorry, your entry could not be edited. Something wrong happened." -msgstr "Désolé, votre entrée n’a pu être modifiée. Une erreur est survenue." - -#: wp-includes/class-wp-xmlrpc-server.php:5351 -msgid "Could not write file %1$s (%2$s)" -msgstr "Impossible d’écrire le fichier %1$s (%2$s)" - -#: wp-includes/class-wp-xmlrpc-server.php:5523 -msgid "Sorry, you can not edit this post." -msgstr "Désolé, vous ne pouvez pas modifier cet article." - -#: wp-includes/class-wp-xmlrpc-server.php:5754 -msgid "Is there no link to us?" -msgstr "N’y a-t-il aucun lien vers nous ?" - -#: wp-includes/class-wp-xmlrpc-server.php:5794 -#: wp-includes/class-wp-xmlrpc-server.php:5801 -#: wp-includes/class-wp-xmlrpc-server.php:5808 -#: wp-includes/class-wp-xmlrpc-server.php:5948 -msgid "The specified target URL cannot be used as a target. It either doesn’t exist, or it is not a pingback-enabled resource." -msgstr "L’adresse web spécifiée ne peut être utilisée comme cible. Soit elle n’existe pas, ou il ne s’agit pas d’une ressource reconnaissant les pings." - -#: wp-includes/class-wp-xmlrpc-server.php:5804 -msgid "The source URL and the target URL cannot both point to the same resource." -msgstr "L’adresse source et l’adresse cible ne peuvent pointer vers la même ressource." - -#: wp-includes/class-wp-xmlrpc-server.php:5812 -msgid "The pingback has already been registered." -msgstr "Le ping a déjà été enregistré." - -#: wp-includes/class-wp-xmlrpc-server.php:5836 -msgid "The source URL does not exist." -msgstr "L’adresse d’origine n’existe pas." - -#: wp-includes/class-wp-xmlrpc-server.php:5856 -msgid "We cannot find a title on that page." -msgstr "Nous ne trouvons pas du titre pour cette page." - -#: wp-includes/class-wp-xmlrpc-server.php:5892 -msgid "The source URL does not contain a link to the target URL, and so cannot be used as a source." -msgstr "L’adresse source ne contient pas de lien vers l’adresse cible, et ne peut donc pas être utilisée comme source." - -#: wp-includes/class-wp-xmlrpc-server.php:5921 -msgid "Pingback from %1$s to %2$s registered. Keep the web talking! :-)" -msgstr "Réception d’un ping de %1$s pour %2$s. Continuons la conversation ! :-)" - -#: wp-includes/class-wp-xmlrpc-server.php:5955 -msgid "The specified target URL does not exist." -msgstr "L’adresse cible spécifiée n’existe pas." - -#: wp-includes/load.php:123 -msgid "Your PHP installation appears to be missing the MySQL extension which is required by WordPress." -msgstr "Votre installation PHP ne dispose pas de MySQL. Extension requise pour WordPress." - -#: wp-includes/load.php:384 -msgid "ERROR: $table_prefix in wp-config.php can only contain numbers, letters, and underscores." -msgstr "ERREUR: la ligne $table_prefix du fichier wp-config.php ne doit contenir que des chiffres, lettres ou le caractère souligné." - -#: wp-includes/wp-db.php:1229 -msgid "WordPress database error %1$s for query %2$s made by %3$s" -msgstr "Erreur de la base de données WordPress %1$s pour la requête %2$s faite par %3$s" - -#: wp-includes/wp-db.php:1231 -msgid "WordPress database error %1$s for query %2$s" -msgstr "Erreur de la base de données WordPress %1$s pour la requête %2$s" - -#: wp-includes/comment-template.php:2115 -msgid "Cancel reply" -msgstr "Annuler la réponse." - -#: wp-includes/comment-template.php:2116 -msgid "Post Comment" -msgstr "Laisser un commentaire" - -#: wp-includes/comment.php:532 -msgid "Unapproved" -msgstr "Désapprouvé" - -#: wp-includes/comment.php:844 wp-includes/comment.php:846 -msgid "Duplicate comment detected; it looks as though you’ve already said that!" -msgstr "Détection d’un doublon : il semble que vous avez déjà envoyé ce commentaire !" - -#: wp-includes/comment.php:1871 -msgid "Could not update comment status" -msgstr "Impossible de mettre à jour le statut du commentaire" - -#: wp-includes/cron.php:171 -msgid "This argument has changed to an array to match the behavior of the other cron functions." -msgstr "Cet argument a été transformé en un tableau, afin de mieux correspondre au comportement des autres fonctions de cron." - -#: wp-includes/cron.php:368 -msgid "Once Hourly" -msgstr "Une fois par heure" - -#: wp-includes/cron.php:369 -msgid "Twice Daily" -msgstr "Deux fois par jour" - -#: wp-includes/cron.php:370 -msgid "Once Daily" -msgstr "Une fois par jour" - -#: wp-includes/default-widgets.php:92 wp-includes/default-widgets.php:192 -msgid "Sort by:" -msgstr "Trier par :" - -#: wp-includes/default-widgets.php:94 -msgid "Page title" -msgstr "Titre de la page" - -#: wp-includes/default-widgets.php:95 -msgid "Page order" -msgstr "Ordre de la page" - -#: wp-includes/default-widgets.php:96 -msgid "Page ID" -msgstr "ID de la page" - -#: wp-includes/default-widgets.php:100 -msgid "Exclude:" -msgstr "Exclure :" - -#: wp-includes/default-widgets.php:102 -msgid "Page IDs, separated by commas." -msgstr "IDs de pages, séparés par une virgule." - -#: wp-includes/default-widgets.php:117 -msgid "Your blogroll" -msgstr "Vos liens préférés" - -#: wp-includes/default-widgets.php:202 -msgid "Show Link Image" -msgstr "Afficher l’image du lien" - -#: wp-includes/default-widgets.php:204 -msgid "Show Link Name" -msgstr "Afficher le nom du lien" - -#: wp-includes/default-widgets.php:206 -msgid "Show Link Description" -msgstr "Afficher la description du lien" - -#: wp-includes/default-widgets.php:208 -msgid "Show Link Rating" -msgstr "Afficher la note du lien" - -#: wp-includes/default-widgets.php:290 -msgid "Select Month" -msgstr "Choisir un mois" - -#: wp-includes/default-widgets.php:355 wp-includes/default-widgets.php:636 -msgid "Show post counts" -msgstr "Afficher le nombre d’articles" - -#: wp-includes/default-widgets.php:388 -msgid "Entries RSS" -msgstr "Flux RSS des articles" - -#: wp-includes/default-widgets.php:436 -msgid "Calendar" -msgstr "Calendrier" - -#: wp-includes/default-widgets.php:481 -msgid "Text" -msgstr "Texte" - -#: wp-includes/default-widgets.php:528 -msgid "Automatically add paragraphs" -msgstr "Créer automatiquement les paragraphes" - -#: wp-includes/default-widgets.php:562 -msgid "Select Category" -msgstr "Choisir une catégorie" - -#: wp-includes/default-widgets.php:639 -msgid "Show hierarchy" -msgstr "Afficher la hiérarchie" - -#: wp-includes/default-widgets.php:654 wp-includes/default-widgets.php:683 -msgid "Recent Posts" -msgstr "Articles récents" - -#: wp-includes/default-widgets.php:766 -msgid "Number of posts to show:" -msgstr "Nombre d’articles à afficher :" - -#. translators: comments widget: 1: comment author, 2: post link -#: wp-includes/default-widgets.php:876 -msgctxt "widgets" -msgid "%1$s on %2$s" -msgstr "%1$s dans %2$s" - -#: wp-includes/default-widgets.php:1052 -msgid "Untitled" -msgstr "Sans titre" - -#: wp-includes/default-widgets.php:1131 -msgid "RSS Error: %s" -msgstr "Erreur RSS : %s" - -#: wp-includes/default-widgets.php:1136 -msgid "Enter the RSS feed URL here:" -msgstr "Saisissez l’adresse web du flux RSS ici :" - -#: wp-includes/default-widgets.php:1139 -msgid "Give the feed a title (optional):" -msgstr "Donnez un titre au flux (facultatif) :" - -#: wp-includes/default-widgets.php:1142 -msgid "How many items would you like to display?" -msgstr "Combien d’entrées souhaitez-vous afficher ?" - -#: wp-includes/default-widgets.php:1152 -msgid "Display item content?" -msgstr "Afficher le contenu de l’élément ?" - -#: wp-includes/default-widgets.php:1155 -msgid "Display item author if available?" -msgstr "Afficher l’auteur de l’élément si disponible ?" - -#: wp-includes/default-widgets.php:1158 -msgid "Display item date?" -msgstr "Afficher la date de l’élément ?" - -#: wp-includes/default-widgets.php:1225 -msgid "Tag Cloud" -msgstr "Nuage de mots-clés" - -#: wp-includes/deprecated.php:62 -msgid "new WordPress Loop" -msgstr "Nouvelle boucle WordPress" - -#: wp-includes/deprecated.php:989 -msgid "Last updated" -msgstr "Mis à jour récemment" - -#: wp-includes/deprecated.php:1905 wp-includes/post-template.php:1472 -msgid "Missing Attachment" -msgstr "Fichier attaché manquant" - -#: wp-includes/feed-atom-comments.php:34 wp-includes/feed-rss2-comments.php:39 -msgid "Comments for %1$s searching on %2$s" -msgstr "Commentaires pour %1$s, recherche de %2$s" - -#: wp-includes/feed-atom-comments.php:36 wp-includes/feed-rss2-comments.php:41 -msgid "Comments for %s" -msgstr "Commentaires pour %s" - -#: wp-includes/feed-atom-comments.php:73 wp-includes/feed-rss2-comments.php:68 -msgid "Comment on %1$s by %2$s" -msgstr "Commentaires sur %1$s par %2$s" - -#: wp-includes/feed-atom-comments.php:75 wp-includes/feed-rss2-comments.php:70 -msgid "By: %s" -msgstr "Par : %s" - -#: wp-includes/feed-rss2-comments.php:37 -msgid "Comments on: %s" -msgstr "Commentaires sur : %s" - -#: wp-includes/feed-rss2-comments.php:78 -msgid "Protected Comments: Please enter your password to view comments." -msgstr "Commentaires protégés : saisissez votre mot de passe pour accéder aux commentaires." - -#. translators: min=minute -#: wp-includes/formatting.php:2485 -msgid "%s min" -msgid_plural "%s mins" -msgstr[0] "%s minute" -msgstr[1] "%s minutes" - -#: wp-includes/formatting.php:2490 -msgid "%s hour" -msgid_plural "%s hours" -msgstr[0] "%s heure" -msgstr[1] "%s heures" - -#: wp-includes/formatting.php:2495 -msgid "%s day" -msgid_plural "%s days" -msgstr[0] "%s jour" -msgstr[1] "%s jours" - -#. translators: used between list items, there is a space after the comma -#: wp-includes/class-wp-theme.php:674 -msgid ", " -msgstr ", " - -#: wp-includes/option.php:138 -msgid "%s is a protected WP option and may not be modified" -msgstr "%s est une option protégée de WordPress, et ne peut être modifiée" - -#: wp-includes/functions.php:1832 wp-includes/functions.php:1968 -msgid "Unable to create directory %s. Is its parent directory writable by the server?" -msgstr "Impossible de créer le dossier %s. Son dossier parent est-il accessible en écriture par le serveur ?" - -#: wp-includes/functions.php:1932 -msgid "Empty filename" -msgstr "Pas de nom de fichier" - -#: wp-includes/functions.php:1974 -msgid "Could not write file %s" -msgstr "Impossible d’écrire le fichier %s" - -#: wp-includes/functions.php:2318 -msgid "You are attempting to log out of %s" -msgstr "Vous êtes en train de vous déconnecter de %s." - -#: wp-includes/functions.php:2316 -msgid "WordPress Failure Notice" -msgstr "Avertissement d’échec de WordPress" - -#: wp-includes/functions.php:2320 -msgid "Do you really want to log out?" -msgstr "Voulez-vous réellement vous déconnecter ?" - -#: wp-includes/functions.php:2324 wp-includes/ms-functions.php:1914 -msgid "Please try again." -msgstr "Veuillez réessayer." - -#: wp-includes/functions.php:2420 -msgid "« Back" -msgstr "« Retour" - -#: wp-includes/functions.php:2432 wp-load.php:72 -msgid "WordPress › Error" -msgstr "WordPress » Erreur" - -#: wp-includes/functions.php:3201 wp-includes/functions.php:3258 -msgid "%1$s is deprecated since version %2$s! Use %3$s instead." -msgstr "%1$s est déprécié depuis la version %2$s! Utilisez %3$s à la place." - -#: wp-includes/functions.php:3203 wp-includes/functions.php:3260 -msgid "%1$s is deprecated since version %2$s with no alternative available." -msgstr "%1$s est déprécié depuis la version %2$s, aucune alternative n’est disponible." - -#: wp-includes/functions.php:3318 -msgid "%1$s was called with an argument that is deprecated since version %2$s! %3$s" -msgstr "%1$s est appelé avec un argument qui est déprécié depuis la version %2$s ! %3$s" - -#: wp-includes/functions.php:3320 -msgid "%1$s was called with an argument that is deprecated since version %2$s with no alternative available." -msgstr "%1$s est appelé avec un argument qui est déprécié depuis la version %2$s, aucune alternative n’est disponible." - -#: wp-includes/functions.php:3846 -msgid "Select a city" -msgstr "Sélectionnez une ville" - -#: wp-includes/functions.php:3891 wp-includes/functions.php:3895 -msgid "UTC" -msgstr "UTC" - -#: wp-includes/functions.php:3899 -msgid "Manual Offsets" -msgstr "Décalages manuels" - -#: wp-includes/general-template.php:284 wp-login.php:545 wp-login.php:608 -#: wp-login.php:651 wp-login.php:733 -msgid "Log in" -msgstr "Connexion" - -#: wp-includes/general-template.php:286 -msgid "Log out" -msgstr "Déconnexion" - -#: wp-includes/general-template.php:407 wp-login.php:886 -msgid "Remember Me" -msgstr "Se souvenir de moi" - -#: wp-includes/general-template.php:540 wp-login.php:548 wp-login.php:654 -#: wp-login.php:729 wp-login.php:905 -msgid "Register" -msgstr "Inscription" - -#: wp-includes/general-template.php:544 -msgid "Site Admin" -msgstr "Admin. du Site" - -#. translators: 1: separator, 2: search phrase -#: wp-includes/general-template.php:827 -msgid "Search Results %1$s %2$s" -msgstr "Résultats de recherche %1$s %2$s" - -#: wp-includes/general-template.php:832 -msgid "Page not found" -msgstr "Page non trouvée" - -#. translators: 1: month name, 2: 4-digit year -#: wp-includes/general-template.php:1274 wp-includes/media.php:2857 -msgid "%1$s %2$d" -msgstr "%1$s %2$d" - -#. translators: Calendar caption: 1: month name, 2: 4-digit year -#: wp-includes/general-template.php:1480 -msgctxt "calendar caption" -msgid "%1$s %2$s" -msgstr "%1$s %2$s" - -#. translators: Separator between blog name and feed type in feed links -#: wp-includes/general-template.php:2095 wp-includes/general-template.php:2118 -msgctxt "feed link" -msgid "»" -msgstr "»" - -#. translators: 1: blog title, 2: separator (raquo) -#: wp-includes/general-template.php:2097 -msgid "%1$s %2$s Feed" -msgstr "%1$s %2$s Flux" - -#. translators: 1: blog title, 2: separator (raquo) -#: wp-includes/general-template.php:2099 -msgid "%1$s %2$s Comments Feed" -msgstr "%1$s %2$s Flux des commentaires" - -#. translators: 1: blog name, 2: separator(raquo), 3: post title -#: wp-includes/general-template.php:2120 -msgid "%1$s %2$s %3$s Comments Feed" -msgstr "%1$s %2$s %3$s Flux des commentaires" - -#. translators: 1: blog name, 2: separator(raquo), 3: category name -#: wp-includes/general-template.php:2122 -msgid "%1$s %2$s %3$s Category Feed" -msgstr "%1$s %2$s Flux de la catégorie %3$s" - -#. translators: 1: blog name, 2: separator(raquo), 3: tag name -#: wp-includes/general-template.php:2124 -msgid "%1$s %2$s %3$s Tag Feed" -msgstr "%1$s %2$s Flux du mot-clé %3$s" - -#. translators: 1: blog name, 2: separator(raquo), 3: author name -#: wp-includes/general-template.php:2126 -msgid "%1$s %2$s Posts by %3$s Feed" -msgstr "%1$s %2$s Flux des articles écrits par %3$s" - -#. translators: 1: blog name, 2: separator(raquo), 3: search phrase -#: wp-includes/general-template.php:2128 -msgid "%1$s %2$s Search Results for “%3$s” Feed" -msgstr "%1$s %2$s Flux de résultats de la recherche pour "%3$s"" - -#: wp-includes/general-template.php:2483 -msgid "« Previous" -msgstr "« Précédent" - -#: wp-includes/general-template.php:2484 -msgid "Next »" -msgstr "Suivant »" - -#: wp-includes/class-http.php:194 -msgid "User has blocked requests through HTTP." -msgstr "L’utilisateur a bloqué les requêtes HTTP." - -#: wp-includes/class-http.php:741 wp-includes/class-http.php:1413 -#: wp-includes/class-http.php:1441 -msgid "Too many redirects." -msgstr "Trop de redirections." - -#: wp-includes/class-http.php:1005 wp-includes/class-http.php:1370 -msgid "Could not open handle for fopen() to %s" -msgstr "Impossible d’ouvrir le gestionnaire de fopen() pour %s" - -#. translators: month name -#: wp-includes/locale.php:131 wp-includes/locale.php:146 -msgid "January" -msgstr "janvier" - -#. translators: month name -#: wp-includes/locale.php:132 wp-includes/locale.php:147 -msgid "February" -msgstr "février" - -#. translators: month name -#: wp-includes/locale.php:133 wp-includes/locale.php:148 -msgid "March" -msgstr "mars" - -#. translators: month name -#: wp-includes/locale.php:134 wp-includes/locale.php:149 -msgid "April" -msgstr "avril" - -#. translators: month name -#: wp-includes/locale.php:135 wp-includes/locale.php:150 -msgid "May" -msgstr "mai" - -#. translators: month name -#: wp-includes/locale.php:136 wp-includes/locale.php:151 -msgid "June" -msgstr "juin" - -#. translators: month name -#: wp-includes/locale.php:137 wp-includes/locale.php:152 -msgid "July" -msgstr "juillet" - -#. translators: month name -#: wp-includes/locale.php:138 wp-includes/locale.php:153 -msgid "August" -msgstr "août" - -#. translators: month name -#: wp-includes/locale.php:139 wp-includes/locale.php:154 -msgid "September" -msgstr "septembre" - -#. translators: month name -#: wp-includes/locale.php:140 wp-includes/locale.php:155 -msgid "October" -msgstr "octobre" - -#. translators: month name -#: wp-includes/locale.php:141 wp-includes/locale.php:156 -msgid "November" -msgstr "novembre" - -#. translators: month name -#: wp-includes/locale.php:142 wp-includes/locale.php:157 -msgid "December" -msgstr "décembre" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:146 -msgid "Jan_January_abbreviation" -msgstr "jan" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:147 -msgid "Feb_February_abbreviation" -msgstr "fév" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:148 -msgid "Mar_March_abbreviation" -msgstr "mar" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:149 -msgid "Apr_April_abbreviation" -msgstr "avr" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:150 -msgid "May_May_abbreviation" -msgstr "mai" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:151 -msgid "Jun_June_abbreviation" -msgstr "juin" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:152 -msgid "Jul_July_abbreviation" -msgstr "juil" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:153 -msgid "Aug_August_abbreviation" -msgstr "août" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:154 -msgid "Sep_September_abbreviation" -msgstr "sept" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:155 -msgid "Oct_October_abbreviation" -msgstr "oct" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:156 -msgid "Nov_November_abbreviation" -msgstr "nov" - -#. translators: three-letter abbreviation of the month -#: wp-includes/locale.php:157 -msgid "Dec_December_abbreviation" -msgstr "déc" - -#. translators: weekday -#: wp-includes/locale.php:99 wp-includes/locale.php:109 -#: wp-includes/locale.php:122 -msgid "Sunday" -msgstr "Dimanche" - -#. translators: weekday -#: wp-includes/locale.php:100 wp-includes/locale.php:110 -#: wp-includes/locale.php:123 -msgid "Monday" -msgstr "Lundi" - -#. translators: weekday -#: wp-includes/locale.php:101 wp-includes/locale.php:111 -#: wp-includes/locale.php:124 -msgid "Tuesday" -msgstr "Mardi" - -#. translators: weekday -#: wp-includes/locale.php:102 wp-includes/locale.php:112 -#: wp-includes/locale.php:125 -msgid "Wednesday" -msgstr "Mercredi" - -#. translators: weekday -#: wp-includes/locale.php:103 wp-includes/locale.php:113 -#: wp-includes/locale.php:126 -msgid "Thursday" -msgstr "Jeudi" - -#. translators: weekday -#: wp-includes/locale.php:104 wp-includes/locale.php:114 -#: wp-includes/locale.php:127 -msgid "Friday" -msgstr "Vendredi" - -#. translators: weekday -#: wp-includes/locale.php:105 wp-includes/locale.php:115 -#: wp-includes/locale.php:128 -msgid "Saturday" -msgstr "Samedi" - -#. translators: three-letter abbreviation of the weekday -#: wp-includes/locale.php:122 -msgid "Sun" -msgstr "dim" - -#. translators: three-letter abbreviation of the weekday -#: wp-includes/locale.php:123 -msgid "Mon" -msgstr "lun" - -#. translators: three-letter abbreviation of the weekday -#: wp-includes/locale.php:124 -msgid "Tue" -msgstr "mar" - -#. translators: three-letter abbreviation of the weekday -#: wp-includes/locale.php:125 -msgid "Wed" -msgstr "mer" - -#. translators: three-letter abbreviation of the weekday -#: wp-includes/locale.php:126 -msgid "Thu" -msgstr "jeu" - -#. translators: three-letter abbreviation of the weekday -#: wp-includes/locale.php:127 -msgid "Fri" -msgstr "ven" - -#. translators: three-letter abbreviation of the weekday -#: wp-includes/locale.php:128 -msgid "Sat" -msgstr "sam" - -#: wp-includes/class-wp-editor.php:846 -msgid "Print" -msgstr "Imprimer" - -#: wp-includes/class-wp-editor.php:818 -msgid "Insert/edit image" -msgstr "Insérer/modifier une image" - -#: wp-includes/class-wp-editor.php:852 wp-includes/class-wp-editor.php:1378 -#: wp-includes/js/tinymce/wp-mce-help.php:118 wp-includes/script-loader.php:357 -msgid "Insert/edit link" -msgstr "Insérer/modifier un lien" - -#: wp-includes/class-wp-editor.php:889 -msgid "Insert row before" -msgstr "Insérer une ligne avant" - -#: wp-includes/class-wp-editor.php:890 -msgid "Insert row after" -msgstr "Insérer une ligne après" - -#: wp-includes/class-wp-editor.php:895 -msgid "Delete row" -msgstr "Supprimer la ligne" - -#: wp-includes/class-wp-editor.php:891 -msgid "Insert column before" -msgstr "Insérer une colonne avant" - -#: wp-includes/class-wp-editor.php:892 -msgid "Insert column after" -msgstr "Insérer une colonne après" - -#: wp-includes/class-wp-editor.php:899 -msgid "Merge table cells" -msgstr "Fusionner les cellules du tableau" - -#: wp-includes/class-wp-editor.php:876 -msgid "Table row properties" -msgstr "Propriétés de la ligne du tableau" - -#: wp-includes/class-wp-editor.php:877 -msgid "Table cell properties" -msgstr "Propriétés de la cellule du tableau" - -#: wp-includes/class-wp-editor.php:875 -msgid "Table properties" -msgstr "Propriétés du tableau" - -#: wp-includes/class-wp-editor.php:893 -msgid "Paste table row before" -msgstr "Coller la ligne du tableau avant" - -#: wp-includes/class-wp-editor.php:894 -msgid "Paste table row after" -msgstr "Coller la ligne du tableau après" - -#: wp-includes/class-wp-editor.php:897 -msgid "Cut table row" -msgstr "Couper la ligne du tableau" - -#: wp-includes/class-wp-editor.php:898 -msgid "Copy table row" -msgstr "Copier la ligne du tableau" - -#: wp-includes/class-wp-editor.php:874 -msgid "Delete table" -msgstr "Supprimer le tableau" - -#: wp-includes/class-wp-editor.php:879 -msgid "Row" -msgstr "Ligne" - -#: wp-includes/class-wp-editor.php:931 wp-includes/script-loader.php:386 -#: wp-includes/script-loader.php:459 wp-includes/script-loader.php:539 -#: wp-includes/theme.php:1934 -msgid "The changes you made will be lost if you navigate away from this page." -msgstr "Les modifications que vous avez faites seront perdues si vous changez de page." - -#: wp-includes/script-loader.php:95 -msgid "Toggle fullscreen mode" -msgstr "Mode plein écran" - -#: wp-includes/class-wp-editor.php:809 -msgid "Document properties" -msgstr "Propriétés du document" - -#: wp-includes/class-wp-editor.php:753 -msgid "Paragraph" -msgstr "Paragraphe" - -#: wp-includes/js/tinymce/wp-mce-help.php:117 -msgid "Address" -msgstr "Adresse" - -#: wp-includes/class-wp-editor.php:744 -#: wp-includes/js/tinymce/wp-mce-help.php:114 -msgid "Heading 1" -msgstr "Titre 1" - -#: wp-includes/class-wp-editor.php:745 -#: wp-includes/js/tinymce/wp-mce-help.php:115 -msgid "Heading 2" -msgstr "Titre 2" - -#: wp-includes/class-wp-editor.php:746 -#: wp-includes/js/tinymce/wp-mce-help.php:115 -msgid "Heading 3" -msgstr "Titre 3" - -#: wp-includes/class-wp-editor.php:747 -#: wp-includes/js/tinymce/wp-mce-help.php:116 -msgid "Heading 4" -msgstr "Titre 4" - -#: wp-includes/class-wp-editor.php:748 -#: wp-includes/js/tinymce/wp-mce-help.php:116 -msgid "Heading 5" -msgstr "Titre 5" - -#: wp-includes/class-wp-editor.php:749 -#: wp-includes/js/tinymce/wp-mce-help.php:117 -msgid "Heading 6" -msgstr "Titre 6" - -#: wp-includes/class-wp-editor.php:754 -msgid "Blockquote" -msgstr "Bloc de citation" - -#: wp-includes/class-wp-editor.php:765 -#: wp-includes/js/tinymce/wp-mce-help.php:113 -msgid "Bold" -msgstr "Gras" - -#: wp-includes/class-wp-editor.php:766 -#: wp-includes/js/tinymce/wp-mce-help.php:113 -msgid "Italic" -msgstr "Italique" - -#: wp-includes/class-wp-editor.php:760 -#: wp-includes/js/tinymce/wp-mce-help.php:114 -msgid "Underline" -msgstr "Souligner" - -#: wp-includes/class-wp-editor.php:761 -#: wp-includes/js/tinymce/wp-mce-help.php:126 -msgid "Strikethrough" -msgstr "Barrer" - -#: wp-includes/js/tinymce/wp-mce-help.php:124 -msgid "Align Left" -msgstr "Aligner à gauche" - -#: wp-includes/js/tinymce/wp-mce-help.php:125 -msgid "Align Center" -msgstr "Centrer" - -#: wp-includes/js/tinymce/wp-mce-help.php:126 -msgid "Align Right" -msgstr "Aligner à droite" - -#: wp-includes/class-wp-editor.php:762 -msgid "Subscript" -msgstr "Indice" - -#: wp-includes/class-wp-editor.php:763 -msgid "Superscript" -msgstr "Exposant" - -#: wp-includes/class-wp-editor.php:779 -#: wp-includes/js/tinymce/wp-mce-help.php:111 -msgid "Cut" -msgstr "Couper" - -#: wp-includes/class-wp-editor.php:780 -#: wp-includes/js/tinymce/wp-mce-help.php:110 -msgid "Copy" -msgstr "Copier" - -#: wp-includes/class-wp-editor.php:781 -#: wp-includes/js/tinymce/wp-mce-help.php:110 -msgid "Paste" -msgstr "Coller" - -#: wp-includes/class-wp-editor.php:740 -msgid "New document" -msgstr "Nouveau document" - -#: wp-includes/class-wp-editor.php:825 -msgid "Image description" -msgstr "Description de l’image" - -#: wp-includes/class-wp-editor.php:822 -msgid "Border" -msgstr "Bordure" - -#: wp-includes/class-wp-editor.php:827 -msgid "Dimensions" -msgstr "Dimensions" - -#: wp-includes/class-wp-editor.php:824 -msgid "Vertical space" -msgstr "Espace vertical" - -#: wp-includes/class-wp-editor.php:850 -msgid "Horizontal space" -msgstr "Espace horizontal" - -#: wp-includes/class-wp-editor.php:819 -msgid "General" -msgstr "Général" - -#: wp-includes/js/tinymce/wp-mce-help.php:127 -#: wp-includes/js/tinymce/wp-mce-help.php:128 -msgid "List" -msgstr "Liste" - -#: wp-includes/class-wp-editor.php:823 -msgid "Constrain proportions" -msgstr "Respecter les proportions" - -#: wp-includes/media-template.php:1052 wp-includes/media-template.php:1142 -msgid "Loop" -msgstr "Répéter" - -#: wp-includes/media-template.php:803 wp-includes/media-template.php:869 -msgid "Align" -msgstr "Alignement" - -#: wp-includes/admin-bar.php:684 -msgid "Background" -msgstr "Arrière-plan" - -#: wp-includes/class-wp-editor.php:848 wp-includes/script-loader.php:310 -msgid "Fullscreen" -msgstr "Plein écran" - -#: wp-includes/script-loader.php:319 -msgid "Mute" -msgstr "Muet" - -#: wp-includes/js/tinymce/wp-mce-help.php:130 -msgid "Insert More Tag" -msgstr "Insérer la balise « More »" - -#: wp-includes/media.php:2972 -msgid "Edit Gallery" -msgstr "Modifier la galerie" - -#: wp-includes/class-wp-editor.php:821 -msgid "Source" -msgstr "Adresse web source" - -#: wp-includes/media-template.php:966 -msgid "Link Rel" -msgstr "Attribut « Rel » du lien" - -#: wp-includes/js/tinymce/wp-mce-help.php:106 -msgid "Rather than reaching for your mouse to click on the toolbar, use these access keys. Windows and Linux use Ctrl + letter. Macintosh uses Command + letter." -msgstr "Plutôt que d’attraper votre souris pour cliquer sur la barre d’outils, utilisez les raccourcis clavier. Sous Windows et Linux, utilisez Ctrl+<lettre>  sous Macintosh, utilisez la touche Commande+<lettre>." - -#: wp-includes/js/tinymce/wp-mce-help.php:109 -#: wp-includes/js/tinymce/wp-mce-help.php:123 -msgid "Letter" -msgstr "Lettre" - -#: wp-includes/js/tinymce/wp-mce-help.php:109 -#: wp-includes/js/tinymce/wp-mce-help.php:123 -msgid "Action" -msgstr "Action" - -#: wp-includes/class-wp-editor.php:782 -#: wp-includes/js/tinymce/wp-mce-help.php:111 -msgid "Select all" -msgstr "Sélectionner tout" - -#: wp-includes/js/tinymce/wp-mce-help.php:121 -msgid "The following shortcuts use different access keys: Alt + Shift + letter." -msgstr "Vous pouvez accéder aux raccourcis suivants via les touches : Alt+Shift+<lettre>." - -#: wp-includes/class-wp-editor.php:867 -#: wp-includes/js/tinymce/wp-mce-help.php:124 -msgid "Check Spelling" -msgstr "Vérifier l’orthographe" - -#: wp-includes/js/tinymce/wp-mce-help.php:125 -msgid "Justify Text" -msgstr "Justifier le texte" - -#: wp-includes/js/tinymce/wp-mce-help.php:127 -msgid "Insert link" -msgstr "Insérer un lien" - -#: wp-includes/class-wp-editor.php:853 -#: wp-includes/js/tinymce/wp-mce-help.php:128 -msgid "Remove link" -msgstr "Enlever le lien" - -#: wp-includes/js/tinymce/wp-mce-help.php:129 -msgid "Quote" -msgstr "Citation" - -#: wp-includes/js/tinymce/wp-mce-help.php:131 -msgid "Insert Page Break tag" -msgstr "Insérer la balise « Page break »" - -#: wp-includes/link-template.php:673 -msgid "Comments Feed" -msgstr "Flux des commentaires" - -#: wp-includes/link-template.php:1611 wp-includes/link-template.php:1843 -msgid "Previous Post" -msgstr "Article précédent" - -#: wp-includes/link-template.php:1611 wp-includes/link-template.php:1843 -msgid "Next Post" -msgstr "Article suivant" - -#: wp-includes/deprecated.php:2737 -msgid "Last Post" -msgstr "Dernier article" - -#: wp-includes/link-template.php:2262 -msgid "Newer Comments »" -msgstr "Commentaires plus récents »" - -#: wp-includes/link-template.php:2306 -msgid "« Older Comments" -msgstr "« Commentaires plus anciens" - -#. translators: one-letter abbreviation of the weekday -#: wp-includes/locale.php:109 -msgid "S_Sunday_initial" -msgstr "D" - -#. translators: one-letter abbreviation of the weekday -#: wp-includes/locale.php:110 -msgid "M_Monday_initial" -msgstr "L" - -#. translators: one-letter abbreviation of the weekday -#: wp-includes/locale.php:111 -msgid "T_Tuesday_initial" -msgstr "Ma" - -#. translators: one-letter abbreviation of the weekday -#: wp-includes/locale.php:112 -msgid "W_Wednesday_initial" -msgstr "Me" - -#. translators: one-letter abbreviation of the weekday -#: wp-includes/locale.php:113 -msgid "T_Thursday_initial" -msgstr "J" - -#. translators: one-letter abbreviation of the weekday -#: wp-includes/locale.php:114 -msgid "F_Friday_initial" -msgstr "V" - -#. translators: one-letter abbreviation of the weekday -#: wp-includes/locale.php:115 -msgid "S_Saturday_initial" -msgstr "S" - -#: wp-includes/locale.php:164 -msgid "am" -msgstr " " - -#: wp-includes/locale.php:165 -msgid "pm" -msgstr " " - -#: wp-includes/locale.php:166 -msgid "AM" -msgstr " " - -#: wp-includes/locale.php:167 -msgid "PM" -msgstr " " - -#. translators: $dec_point argument for http:php.net/number_format, default is -#. . -#: wp-includes/locale.php:177 -msgid "number_format_decimal_point" -msgstr ", " - -#. translators: $thousands_sep argument for http:php.net/number_format, default -#. is , -#: wp-includes/locale.php:173 -msgid "number_format_thousands_sep" -msgstr " " - -#: wp-includes/class-wp-image-editor-imagick.php:198 -msgid "Could not read image size" -msgstr "Impossible de lire la taille de l’image" - -#: wp-includes/ms-functions.php:265 -msgid "That user does not exist." -msgstr "Cet utilisateur n’existe pas." - -#: wp-includes/ms-functions.php:493 -msgid "You cannot use that email address to signup. We are having problems with them blocking some of our email. Please use another email provider." -msgstr "Vous ne pouvez pas vous inscrire avec cette adresse de messagerie. Nous avons rencontré des problèmes de la part de ce service. Merci d’en utiliser un autre." - -#: wp-includes/ms-functions.php:503 -msgid "Sorry, usernames must have letters too!" -msgstr "Désolé, les identifiants doivent aussi avoir des lettres !" - -#: wp-includes/ms-functions.php:512 -msgid "Sorry, that email address is not allowed!" -msgstr "Désolé, cette adresse de messagerie n’est pas autorisée !" - -#: wp-includes/ms-functions.php:517 wp-includes/user.php:1677 -msgid "Sorry, that username already exists!" -msgstr "Désolé, cet identifiant existe déjà !" - -#: wp-includes/ms-functions.php:521 wp-includes/user.php:1720 -msgid "Sorry, that email address is already used!" -msgstr "Désolé, cette adresse de messagerie est déjà utilisée !" - -#: wp-includes/ms-functions.php:533 -msgid "That username is currently reserved but may be available in a couple of days." -msgstr "Cet identifiant est pour le moment réservé, mais pourrait être disponible dans quelques jours." - -#: wp-includes/ms-functions.php:543 -msgid "That email address has already been used. Please check your inbox for an activation email. It will become available in a couple of days if you do nothing." -msgstr "Cette adresse de messagerie a déjà été utilisée. Veuillez vérifier dans votre messagerie si le message d’activation ne s’y trouve pas. L’identifiant redeviendra disponible dans quelques jours si vous ne faites rien." - -#: wp-includes/ms-functions.php:997 -msgid "Invalid activation key." -msgstr "clé d’activation invalide." - -#: wp-includes/ms-functions.php:1017 -msgid "Could not create user" -msgstr "Impossible de créer l’utilisateur." - -#: wp-includes/ms-functions.php:1025 -msgid "That username is already activated." -msgstr "Cet identifiant est déjà activé." - -#: wp-includes/ms-functions.php:1283 -msgid "New User Registration: %s" -msgstr "Inscription d'un nouvel utilisateur : %s" - -#: wp-includes/ms-functions.php:1603 -msgid "New %1$s User: %2$s" -msgstr "Nouvel utilisateur %1$s : %2$s" - -#: wp-includes/ms-functions.php:2121 -msgid "" -"Dear User,\n" -"\n" -"Your new account is set up.\n" -"\n" -"You can log in with the following information:\n" -"Username: USERNAME\n" -"Password: PASSWORD\n" -"LOGINLINK\n" -"\n" -"Thanks!\n" -"\n" -"--The Team @ SITE_NAME" -msgstr "" -"Cher utilisateur,\n" -"\n" -"Votre nouveau compte a été créé.\n" -"\n" -"Vous pouvez vous connecter avec les informations suivantes :\n" -"Identifiant : USERNAME\n" -"Mot de passe : PASSWORD\n" -"LOGINLINK\n" -"\n" -"Merci !\n" -"\n" -"--L'équipe @ SITE_NAME" - -#: wp-includes/ms-load.php:411 -msgid "What do I do now?" -msgstr "Que dois-je faire maintenant ?" - -#: wp-includes/pluggable.php:562 -msgid "ERROR: Invalid username or incorrect password." -msgstr "ERREUR : l’identifiant ou le mot de passe n’est pas valide." - -#. translators: 1: comment author, 2: author IP, 3: author domain -#: wp-includes/pluggable.php:1407 wp-includes/pluggable.php:1536 -msgid "Author : %1$s (IP: %2$s , %3$s)" -msgstr "Auteur : %1$s (IP : %2$s , %3$s)" - -#: wp-includes/pluggable.php:1408 wp-includes/pluggable.php:1537 -msgid "E-mail : %s" -msgstr "E-mail : %s" - -#: wp-includes/pluggable.php:1388 wp-includes/pluggable.php:1398 -#: wp-includes/pluggable.php:1409 wp-includes/pluggable.php:1523 -#: wp-includes/pluggable.php:1530 wp-includes/pluggable.php:1538 -msgid "URL : %s" -msgstr "Adresse : %s" - -#: wp-includes/pluggable.php:1411 wp-includes/pluggable.php:1540 -msgid "Comment: " -msgstr "Commentaire :" - -#: wp-includes/pluggable.php:1412 -msgid "You can see all comments on this post here: " -msgstr "Vous pouvez lire tous les commentaires de cet article ici :" - -#. translators: 1: blog name, 2: post title -#: wp-includes/pluggable.php:1414 -msgid "[%1$s] Comment: \"%2$s\"" -msgstr "[%1$s] Commentaire : « %2$s »" - -#. translators: 1: website name, 2: author IP, 3: author domain -#. translators: 1: comment author, 2: author IP, 3: author domain -#: wp-includes/pluggable.php:1387 wp-includes/pluggable.php:1397 -msgid "Website: %1$s (IP: %2$s , %3$s)" -msgstr "Site Web : %1$s (IP : %2$s , %3$s)" - -#: wp-includes/pluggable.php:1389 wp-includes/pluggable.php:1399 -msgid "Excerpt: " -msgstr "Extrait :" - -#: wp-includes/pluggable.php:1390 -msgid "You can see all trackbacks on this post here: " -msgstr "Vous pouvez lire tous les rétroliens de cet article ici :" - -#. translators: 1: blog name, 2: post title -#: wp-includes/pluggable.php:1392 -msgid "[%1$s] Trackback: \"%2$s\"" -msgstr "[%1$s] Rétrolien : « %2$s »" - -#: wp-includes/pluggable.php:1400 -msgid "You can see all pingbacks on this post here: " -msgstr "Vous pouvez lire tous les pings de cet article ici :" - -#. translators: 1: blog name, 2: post title -#: wp-includes/pluggable.php:1402 -msgid "[%1$s] Pingback: \"%2$s\"" -msgstr "[%1$s] Ping : « %2$s »" - -#: wp-includes/pluggable.php:1422 wp-includes/pluggable.php:1546 -msgid "Trash it: %s" -msgstr "Le mettre dans la Corbeille : %s" - -#: wp-includes/pluggable.php:1424 wp-includes/pluggable.php:1548 -msgid "Delete it: %s" -msgstr "Le supprimer : %s" - -#: wp-includes/pluggable.php:1425 wp-includes/pluggable.php:1549 -msgid "Spam it: %s" -msgstr "Le marquer comme indésirable : %s" - -#: wp-includes/pluggable.php:1522 wp-includes/pluggable.php:1529 -msgid "Website : %1$s (IP: %2$s , %3$s)" -msgstr "Site Web : %1$s (IP: %2$s , %3$s)" - -#: wp-includes/pluggable.php:1524 -msgid "Trackback excerpt: " -msgstr "Extrait du rétrolien :" - -#: wp-includes/pluggable.php:1531 -msgid "Pingback excerpt: " -msgstr "Extrait du ping :" - -#: wp-includes/pluggable.php:1544 -msgid "Approve it: %s" -msgstr "L'approuver : %s" - -#: wp-includes/pluggable.php:1551 -msgid "Currently %s comment is waiting for approval. Please visit the moderation panel:" -msgid_plural "Currently %s comments are waiting for approval. Please visit the moderation panel:" -msgstr[0] "En ce moment, %s commentaire attend votre approbation. Veuillez vous rendre sur le panneau de modération :" -msgstr[1] "En ce moment, %s commentaires attendent vos approbations. Veuillez vous rendre sur le panneau de modération :" - -#: wp-includes/pluggable.php:1555 -msgid "[%1$s] Please moderate: \"%2$s\"" -msgstr "[%1$s] Demande de modération pour « %2$s »" - -#: wp-includes/pluggable.php:1618 -msgid "Password Lost and Changed for user: %s" -msgstr "Mot de passe oublié et changé pour l'utilisateur : %s" - -#: wp-includes/pluggable.php:1622 -msgid "[%s] Password Lost/Changed" -msgstr "[%s] Mot de passe oublié et changé" - -#: wp-includes/pluggable.php:1646 wp-includes/pluggable.php:1654 -#: wp-login.php:362 -msgid "Username: %s" -msgstr "Identifiant : %s" - -#: wp-includes/pluggable.php:1649 -msgid "[%s] New User Registration" -msgstr "[%s] Inscription d'un nouvel utilisateur" - -#: wp-includes/pluggable.php:1655 -msgid "Password: %s" -msgstr "Mot de passe : %s" - -#: wp-includes/pluggable.php:1658 -msgid "[%s] Your username and password" -msgstr "[%s] Votre identifiant et mot de passe" - -#: wp-includes/post-template.php:131 -msgid "Protected: %s" -msgstr "Protégé : %s" - -#: wp-includes/post-template.php:146 -msgid "Private: %s" -msgstr "Privé : %s" - -#: wp-includes/post-template.php:349 -msgid "There is no excerpt because this is a protected post." -msgstr "Il n’y pas d’extrait, car cet article est protégé." - -#: wp-includes/post-template.php:753 -msgid "Next page" -msgstr "Page suivante" - -#: wp-includes/post-template.php:754 -msgid "Previous page" -msgstr "Page précédente" - -#: wp-includes/post-template.php:1139 -msgid "Home" -msgstr "Accueil" - -#. translators: revision date format, see http:php.net/date -#: wp-includes/post-template.php:1653 -msgctxt "revision date format" -msgid "j F, Y @ G:i" -msgstr "j F Y \\à G \\h i \\m" - -#: wp-includes/post-template.php:1708 -msgid "%1$s [Autosave]" -msgstr "%1$s [Sauvegarde automatique]" - -#: wp-includes/post-template.php:1709 -msgid "%1$s [Current Revision]" -msgstr "%1$s [Version actuelle]" - -#: wp-includes/post.php:83 -msgid "Revision" -msgstr "Révision" - -#: wp-includes/post.php:112 -msgctxt "post" -msgid "Published" -msgstr "Publié" - -#: wp-includes/post.php:115 -msgid "Published (%s)" -msgid_plural "Published (%s)" -msgstr[0] "Publié (%s)" -msgstr[1] "Publiés (%s)" - -#: wp-includes/post.php:119 -msgctxt "post" -msgid "Scheduled" -msgstr "Planifié" - -#: wp-includes/post.php:122 -msgid "Scheduled (%s)" -msgid_plural "Scheduled (%s)" -msgstr[0] "Planifié (%s)" -msgstr[1] "Planifiés (%s)" - -#: wp-includes/post.php:126 -msgctxt "post" -msgid "Draft" -msgstr "Brouillon" - -#: wp-includes/post.php:129 -msgid "Draft (%s)" -msgid_plural "Drafts (%s)" -msgstr[0] "Brouillon (%s)" -msgstr[1] "Brouillons (%s)" - -#: wp-includes/post.php:133 -msgctxt "post" -msgid "Pending" -msgstr "En attente" - -#: wp-includes/post.php:136 -msgid "Pending (%s)" -msgid_plural "Pending (%s)" -msgstr[0] "En attente de relecture (%s)" -msgstr[1] "En attente de relecture (%s)" - -#: wp-includes/post.php:140 -msgctxt "post" -msgid "Private" -msgstr "Privé" - -#: wp-includes/post.php:143 -msgid "Private (%s)" -msgid_plural "Private (%s)" -msgstr[0] "Privé (%s)" -msgstr[1] "Privés (%s)" - -#: wp-includes/post.php:147 -msgctxt "post" -msgid "Trash" -msgstr "Corbeille" - -#: wp-includes/post.php:150 -msgid "Trash (%s)" -msgid_plural "Trash (%s)" -msgstr[0] "Corbeille (%s)" -msgstr[1] "Corbeille (%s)" - -#: wp-includes/post.php:3142 -msgid "Content, title, and excerpt are empty." -msgstr "Le contenu de l’article, le titre et l’extrait sont vides." - -#: wp-includes/post.php:3343 -msgid "Could not update post in the database" -msgstr "Impossible de mettre à jour l’article dans la base de données" - -#: wp-includes/post.php:3358 -msgid "Could not insert post into the database" -msgstr "Impossible d’insérer l’article dans la base de données" - -#: wp-includes/post.php:3422 -msgid "The page template is invalid." -msgstr "Le modèle de page est invalide." - -#: wp-includes/revision.php:254 -msgid "Cannot create a revision of a revision" -msgstr "Impossible de créer une version d’une version." - -#: wp-includes/revision.php:522 -msgid "You do not have permission to preview drafts." -msgstr "Vous n’avez pas l’autorisation de prévisualiser les brouillons" - -#: wp-includes/user.php:1674 -msgid "Cannot create a user with an empty login name." -msgstr "Impossible de créer un utilisateur avec un identifiant vide." - -#: wp-includes/user.php:1998 -msgid "AIM" -msgstr "AIM" - -#: wp-includes/user.php:1999 -msgid "Yahoo IM" -msgstr "Yahoo Messenger" - -#: wp-includes/user.php:2000 -msgid "Jabber / Google Talk" -msgstr "Jabber / Google Talk" - -#: wp-includes/default-widgets.php:1036 wp-includes/rss.php:899 -msgid "An error has occurred, which probably means the feed is down. Try again later." -msgstr "Une erreur est survenue, le flux est probablement indisponible. Veuillez réessayer plus tard." - -#: wp-includes/script-loader.php:82 -msgid "" -"You are about to permanently delete the selected items.\n" -" 'Cancel' to stop, 'OK' to delete." -msgstr "" -"Vous êtes sur le point de supprimer définitivement les éléments sélectionnés.\n" -" « Annuler » pour abandonner, « OK » pour les supprimer." - -#: wp-includes/script-loader.php:89 -msgid "Close all open tags" -msgstr "Fermer toutes les balises ouvertes" - -#: wp-includes/script-loader.php:90 -msgid "close tags" -msgstr "fermer les balises" - -#: wp-includes/script-loader.php:91 -msgid "Enter the URL" -msgstr "Saisissez l’adresse" - -#: wp-includes/script-loader.php:92 -msgid "Enter the URL of the image" -msgstr "Saisissez l’adresse de l’image" - -#: wp-includes/script-loader.php:93 -msgid "Enter a description of the image" -msgstr "Saisissez une description pour l’image" - -#: wp-includes/script-loader.php:108 wp-includes/script-loader.php:420 -msgid "You do not have permission to do that." -msgstr "Vous n’avez pas l’autorisation d’effectuer cela." - -#: wp-includes/script-loader.php:109 wp-includes/script-loader.php:421 -msgid "An unidentified error has occurred." -msgstr "Une erreur non identifiée est survenue." - -#: wp-includes/script-loader.php:225 -msgid "Next >" -msgstr "Suiv. >" - -#: wp-includes/script-loader.php:226 -msgid "< Prev" -msgstr "< Préc." - -#: wp-includes/script-loader.php:227 -msgid "Image" -msgstr "Image" - -#: wp-includes/script-loader.php:228 -msgid "of" -msgstr "sur" - -#: wp-includes/script-loader.php:230 -msgid "This feature requires inline frames. You have iframes disabled or your browser does not support them." -msgstr "Cette fonctionnalité requiert des iframes. Les iframes sont désactivées sur votre navigateur, ou alors il ne les accepte pas." - -#: wp-includes/script-loader.php:240 -msgid "You have attempted to queue too many files." -msgstr "Vous essayez d’envoyer trop de fichiers à la fois." - -#: wp-includes/script-loader.php:242 -msgid "This file is empty. Please try another." -msgstr "Le fichier est vide. Merci d’en essayer un autre." - -#: wp-includes/script-loader.php:243 -msgid "This file type is not allowed. Please try another." -msgstr "Ce type de fichier n’est pas autorisé. Merci d’en essayer un autre." - -#: wp-includes/script-loader.php:247 -msgid "An error occurred in the upload. Please try again later." -msgstr "Une erreur est survenue lors de l’envoi. Veuillez réessayer plus tard." - -#: wp-includes/script-loader.php:248 -msgid "There was a configuration error. Please contact the server administrator." -msgstr "Il y a une erreur de configuration. Veuillez contacter l’administrateur de votre serveur." - -#: wp-includes/script-loader.php:249 -msgid "You may only upload 1 file." -msgstr "Vous pouvez seulement envoyer 1 fichier." - -#: wp-includes/script-loader.php:250 -msgid "HTTP error." -msgstr "Erreur HTTP." - -#: wp-includes/script-loader.php:251 -msgid "Upload failed." -msgstr "L’envoi a échoué." - -#: wp-includes/script-loader.php:254 -msgid "IO error." -msgstr "Erreur I/O (Entrées-Sorties)." - -#: wp-includes/script-loader.php:255 -msgid "Security error." -msgstr "Erreur de sécurité." - -#: wp-includes/script-loader.php:257 -msgid "Upload stopped." -msgstr "L’envoi est stoppé." - -#: wp-includes/script-loader.php:259 -msgid "Crunching…" -msgstr "En cours de traitement…" - -#: wp-includes/script-loader.php:260 -msgid "moved to the trash." -msgstr "déplacé dans la corbeille." - -#. translators: password strength -#: wp-includes/script-loader.php:343 -msgctxt "password strength" -msgid "Medium" -msgstr "Moyenne" - -#: wp-includes/script-loader.php:440 -msgid "Publish on:" -msgstr "Publié le :" - -#: wp-includes/script-loader.php:441 -msgid "Schedule for:" -msgstr "Planifier pour :" - -#: wp-includes/script-loader.php:442 -msgid "Published on:" -msgstr "Publié le :" - -#: wp-includes/script-loader.php:445 -msgid "Show more comments" -msgstr "Afficher plus de commentaires" - -#: wp-includes/script-loader.php:446 -msgid "No more comments found." -msgstr "Il n’y a pas d’autres commentaires." - -#: wp-includes/script-loader.php:455 -msgid "Password Protected" -msgstr "Protégé par un mot de passe" - -#: wp-includes/script-loader.php:470 -msgid "Submitted on:" -msgstr "Envoyé le :" - -#: wp-includes/script-loader.php:481 wp-includes/script-loader.php:489 -msgid "Error while saving the changes." -msgstr "Erreur lors de la sauvegarde des modifications." - -#: wp-includes/script-loader.php:482 -msgid "Remove From Bulk Edit" -msgstr "Enlever des modifications groupées" - -#: wp-includes/script-loader.php:494 -msgid "Plugin Information:" -msgstr "Informations sur l’extension :" - -#: wp-includes/script-loader.php:529 -msgid "Saving..." -msgstr "Enregistrement..." - -#: wp-includes/script-loader.php:530 -msgid "Could not set that as the thumbnail image. Try a different attachment." -msgstr "Impossible de s’en servir comme miniature. Essayez un autre fichier attaché." - -#: wp-includes/script-loader.php:460 -msgid "Saving Draft…" -msgstr "Enregistrement du brouillon…" - -#: wp-includes/taxonomy.php:2761 -msgid "Invalid Taxonomy" -msgstr "Taxinomie invalide" - -#: wp-includes/taxonomy.php:956 wp-includes/taxonomy.php:3656 -msgid "Empty Term" -msgstr "Pas de terme" - -#: wp-includes/class-wp-xmlrpc-server.php:1287 -#: wp-includes/class-wp-xmlrpc-server.php:1829 -#: wp-includes/class-wp-xmlrpc-server.php:1917 -#: wp-includes/class-wp-xmlrpc-server.php:1985 wp-includes/taxonomy.php:2415 -msgid "Invalid term ID" -msgstr "l’ID du terme est invalide" - -#: wp-includes/taxonomy.php:2418 wp-includes/taxonomy.php:2948 -msgid "A name is required for this term" -msgstr "Un nom est requis pour ce terme" - -#: wp-includes/taxonomy.php:2496 wp-includes/taxonomy.php:2504 -#: wp-includes/taxonomy.php:2515 -msgid "Could not insert term into the database" -msgstr "Impossible d’insérer le terme dans la base de données" - -#: wp-includes/taxonomy.php:3004 -msgid "The slug “%s” is already in use by another term" -msgstr "L’identifiant « %s » est déjà utilisé par un autre terme" - -#: wp-includes/taxonomy.php:3853 -msgid "Invalid object ID" -msgstr "Identifiant d’objet non valide." - -#: wp-includes/class-wp-theme.php:247 -msgid "Template is missing." -msgstr "Le modèle est manquant." - -#: wp-includes/class-wp-theme.php:266 -msgid "The parent theme is missing. Please install the \"%s\" parent theme." -msgstr "Le thème parent est manquant. Merci d’installer le thème parent « %s »." - -#: wp-includes/class-wp-theme.php:221 -msgid "Stylesheet is missing." -msgstr "La feuille de style manque." - -#: wp-includes/user.php:126 -msgid "ERROR: The username field is empty." -msgstr "ERREUR : le champ de l’identifiant est vide." - -#: wp-includes/user.php:129 -msgid "ERROR: The password field is empty." -msgstr "ERREUR : le champ du mot de passe est vide." - -#: wp-includes/user.php:217 -msgid "ERROR: Your account has been marked as a spammer." -msgstr "ERREUR : votre compte a été marqué comme étant indésirable." - -#: wp-includes/functions.php:4485 wp-includes/user.php:187 -msgid "Please log in again." -msgstr "Veuillez vous reconnecter." - -#: wp-includes/widgets.php:575 wp-includes/widgets.php:645 -msgid "Sidebar %d" -msgstr "Colonne latérale %d" - -#: wp-includes/wp-db.php:2096 -msgid "ERROR: WordPress %1$s requires MySQL %2$s or higher" -msgstr "ERREUR : WordPress %1$s requiert MySQL %2$s ou une version supérieure." - -#: wp-login.php:101 -msgid "Powered by WordPress" -msgstr "Propulsé par WordPress" - -#: wp-login.php:276 -msgid "ERROR: Enter a username or e-mail address." -msgstr "ERREUR : veuillez saisir une adresse de messagerie ou un identifiant." - -#: wp-login.php:280 -msgid "ERROR: There is no user registered with that email address." -msgstr "ERREUR : il n’y aucun utilisateur enregistré avec cette adresse de messagerie." - -#: wp-login.php:297 -msgid "ERROR: Invalid username or e-mail." -msgstr "ERREUR : l’identifiant ou l’adresse de messagerie n’est pas valide." - -#: wp-login.php:335 -msgid "Password reset is not allowed for this user" -msgstr "La réinitialisation du mot de passe n’est pas autorisée pour cet utilisateur" - -#: wp-login.php:376 -msgid "[%s] Password Reset" -msgstr "[%s] Renouvellement du mot de passe" - -#: wp-login.php:397 -msgid "The e-mail could not be sent." -msgstr "Le message n’a pas pu être envoyé." - -#: wp-includes/user.php:2045 wp-includes/user.php:2048 -#: wp-includes/user.php:2052 wp-includes/user.php:2063 -#: wp-includes/user.php:2079 -msgid "Invalid key" -msgstr "Clé invalide" - -#: wp-includes/user.php:2137 -msgid "ERROR: Please type your e-mail address." -msgstr "ERREUR : l’adresse de messagerie est obligatoire." - -#: wp-includes/user.php:2139 -msgid "ERROR: The email address isn’t correct." -msgstr "ERREUR : adresse de messagerie incorrecte." - -#: wp-login.php:500 -msgid "Sorry, that key does not appear to be valid." -msgstr "Désolé, cette clé ne semble pas être valide." - -#: wp-login.php:522 -msgid "Lost Password" -msgstr "Mot de passe oublié" - -#: wp-login.php:530 -msgid "Username or E-mail:" -msgstr "Identifiant ou adresse de messagerie :" - -#: wp-login.php:541 -msgid "Get New Password" -msgstr "Générer un mot de passe" - -#: wp-login.php:218 -msgid "Are you lost?" -msgstr "Êtes-vous perdu(e) ?" - -#: wp-login.php:218 -msgid "← Back to %s" -msgstr "← Retour sur %s" - -#: wp-login.php:706 -msgid "Registration Form" -msgstr "Formulaire d’inscription" - -#: wp-login.php:706 -msgid "Register For This Site" -msgstr "S’inscrire sur ce site" - -#: wp-login.php:726 -msgid "A password will be e-mailed to you." -msgstr "Un mot de passe vous sera envoyé sur votre adresse de messagerie." - -#: wp-login.php:734 wp-login.php:911 -msgid "Password Lost and Found" -msgstr "Récupération de mot de passe" - -#: wp-login.php:734 wp-login.php:911 -msgid "Lost your password?" -msgstr "Mot de passe oublié ?" - -#: wp-login.php:797 -msgid "You have logged in successfully." -msgstr "Vous vous êtes bien connecté." - -#: wp-login.php:835 -msgid "You are now logged out." -msgstr "Vous êtes désormais déconnecté(e)." - -#: wp-login.php:837 -msgid "User registration is currently not allowed." -msgstr "Les nouvelles inscriptions ne sont pas autorisées pour l’instant." - -#: wp-login.php:839 -msgid "Check your e-mail for the confirmation link." -msgstr "Vérifiez votre messagerie pour y trouver le lien de confirmation." - -#: wp-login.php:841 -msgid "Check your e-mail for your new password." -msgstr "Vérifiez votre messagerie pour y trouver votre nouveau mot de passe." - -#: wp-login.php:843 -msgid "Registration complete. Please check your e-mail." -msgstr "Enregistrement terminé. Veuillez vérifier vos nouveaux e-mails." - -#: wp-mail.php:34 -msgid "Slow down cowboy, no need to check for new mails so often!" -msgstr "Lève le pied, champion ! Inutile de vérifier tes e-mails aussi souvent !" - -#: wp-mail.php:54 -msgid "There doesn’t seem to be any new mail." -msgstr "Il ne semble pas y avoir de nouvel e-mail." - -#: wp-mail.php:122 -msgid "Author is %s" -msgstr "L’auteur est %s" - -#: wp-mail.php:247 -msgid "Author: %s" -msgstr "Auteur : %s" - -#: wp-mail.php:248 -msgid "Posted title: %s" -msgstr "Titre publié : %s" - -#: wp-mail.php:251 -msgid "Oops: %s" -msgstr "Oups : %s" - -#: wp-signup.php:126 -msgid "Privacy:" -msgstr "Vie privée :" - -#: wp-signup.php:184 -msgid "(Must be at least 4 characters, letters and numbers only.)" -msgstr "(Doit contenir au moins 4 caractères, uniquement des lettres ou des chiffres.)" - -#: wp-signup.php:187 -msgid "Email Address:" -msgstr "Adresse e-mail :" - -#: wp-signup.php:263 -msgid "There was a problem, please correct the form below and try again." -msgstr "Il y a eu un problème, veuillez remplir le formulaire ci-dessous et réessayer." - -#: wp-signup.php:437 -msgid "Get your own %s account in seconds" -msgstr "Obtenez votre propre compte %s en quelques secondes" - -#: wp-signup.php:456 -msgid "Just a username, please." -msgstr "Juste l’identifiant, s’il vous plaît." - -#: wp-signup.php:460 -msgid "Next" -msgstr "Suivant" - -#: wp-signup.php:508 -msgid "%s is your new username" -msgstr "Votre nouvel identifiant est %s" - -#: wp-signup.php:509 -msgid "But, before you can start using your new username, you must activate it." -msgstr "Mais, avant d’utiliser votre nouvel identifiant, vous devez l’activer." - -#: wp-signup.php:511 -msgid "If you do not activate your username within two days, you will have to sign up again." -msgstr "Si vous n’activez pas votre compte sous deux jours, vous devrez vous réinscrire." - -#: wp-signup.php:577 -msgid "Signup" -msgstr "Inscription" - -#: wp-signup.php:648 -msgid "Still waiting for your email?" -msgstr "Toujours dans l’attente de votre e-mail ?" - -#: wp-signup.php:687 -msgid "Registration has been disabled." -msgstr "Les inscriptions ne sont pas autorisées pour le moment." - -#: wp-signup.php:698 -msgid "User registration has been disabled." -msgstr "Les inscriptions d’utilisateurs sont désactivées." - -#: wp-includes/js/tinymce/wp-mce-help.php:131 -msgid "Help" -msgstr "Aide" - -#: wp-includes/class-wp-editor.php:903 wp-includes/media-template.php:920 -msgid "Width" -msgstr "Largeur" - -#: wp-includes/user.php:2127 -msgid "ERROR: Please enter a username." -msgstr "ERREUR : veuillez renseigner l’identifiant." - -#: wp-includes/user.php:2142 -msgid "ERROR: This email is already registered, please choose another one." -msgstr "ERREUR : cette adresse de messagerie est déjà utilisée. Merci d’en choisir une autre." - -#: wp-includes/widgets.php:67 -msgid "There are no options for this widget." -msgstr "Il n’y a pas d’options pour ce widget." - -#: wp-includes/admin-bar.php:315 wp-includes/admin-bar.php:362 -#: wp-includes/admin-bar.php:418 wp-includes/deprecated.php:2854 -#: wp-includes/deprecated.php:2856 -msgid "Dashboard" -msgstr "Tableau de bord" - -#: wp-includes/script-loader.php:339 wp-login.php:631 -msgid "Strength indicator" -msgstr "Indicateur de sûreté" - -#: wp-includes/general-template.php:408 wp-login.php:862 wp-login.php:888 -msgid "Log In" -msgstr "Se connecter" - -#: wp-includes/script-loader.php:340 -msgid "Very weak" -msgstr "Très faible" - -#: wp-includes/script-loader.php:341 -msgid "Weak" -msgstr "Faible" - -#: wp-includes/script-loader.php:344 -msgid "Strong" -msgstr "Forte" - -#: wp-includes/taxonomy.php:482 -msgid "Edit Category" -msgstr "Modifier la catégorie" - -#: wp-signup.php:131 -msgid "Yes" -msgstr "Oui" - -#: wp-includes/admin-bar.php:368 -msgid "Sites" -msgstr "Sites" - -#: wp-includes/admin-bar.php:380 wp-includes/admin-bar.php:658 -msgid "Themes" -msgstr "Thèmes" - -#: wp-includes/admin-bar.php:342 -msgid "My Sites" -msgstr "Mes sites" - -#: wp-includes/post.php:1624 -msgctxt "page" -msgid "Add New" -msgstr "Ajouter" - -#: wp-includes/deprecated.php:2737 -msgid "First Post" -msgstr "Premier article" - -#: wp-includes/class-wp-customize-manager.php:944 -#: wp-includes/class-wp-xmlrpc-server.php:419 -msgid "Site Title" -msgstr "Titre du site" - -#: wp-includes/comment-template.php:2085 -msgid "Email" -msgstr "Adresse de contact" - -#: wp-includes/class-wp-xmlrpc-server.php:479 -msgid "Allow people to post comments on new articles" -msgstr "Autoriser les visiteurs à publier des commentaires sur les derniers articles" - -#: wp-includes/class-wp-xmlrpc-server.php:429 -msgid "Date Format" -msgstr "Format de date" - -#: wp-includes/class-wp-xmlrpc-server.php:434 -msgid "Time Format" -msgstr "Format d’heure" - -#: wp-includes/class-wp-editor.php:902 wp-includes/media-template.php:920 -msgid "Height" -msgstr "Hauteur" - -#: wp-includes/class-wp-customize-control.php:479 -#: wp-includes/class-wp-customize-control.php:810 -#: wp-includes/script-loader.php:506 -msgid "Default" -msgstr "Valeur par défaut" - -#: wp-includes/js/tinymce/wp-mce-help.php:129 -msgid "Insert Image" -msgstr "Insérer une image" - -#: wp-includes/class-wp-editor.php:181 wp-includes/class-wp-editor.php:1199 -msgid "Visual" -msgstr "Visuel" - -#: wp-includes/default-widgets.php:90 wp-includes/default-widgets.php:250 -#: wp-includes/default-widgets.php:351 wp-includes/default-widgets.php:422 -#: wp-includes/default-widgets.php:465 wp-includes/default-widgets.php:523 -#: wp-includes/default-widgets.php:629 wp-includes/default-widgets.php:763 -#: wp-includes/default-widgets.php:911 wp-includes/default-widgets.php:1277 -#: wp-includes/default-widgets.php:1356 -msgid "Title:" -msgstr "Titre :" - -#: wp-includes/taxonomy.php:487 -msgid "Separate tags with commas" -msgstr "Séparez les mots-clés par des virgules" - -#: wp-includes/theme-compat/comments.php:77 -#: wp-includes/theme-compat/comments.php:80 -msgid "(required)" -msgstr "(obligatoire)" - -#: wp-includes/comment-template.php:2087 -#: wp-includes/theme-compat/comments.php:83 -msgid "Website" -msgstr "Site web" - -#: wp-includes/admin-bar.php:678 wp-includes/class-wp-customize-widgets.php:437 -#: wp-includes/functions.php:3078 -msgid "Widgets" -msgstr "Widgets" - -#: wp-includes/class-wp-xmlrpc-server.php:1381 -#: wp-includes/class-wp-xmlrpc-server.php:4215 -#: wp-includes/class-wp-xmlrpc-server.php:4652 -msgid "Sorry, your entry could not be posted. Something wrong happened." -msgstr "Désolé, votre entrée n’a pas pu être publiée. Une erreur est survenue." - -#: wp-includes/class-wp-xmlrpc-server.php:4266 -#: wp-includes/class-wp-xmlrpc-server.php:4739 -msgid "Sorry, you do not have the right to edit this post." -msgstr "Désolé, vous n’avez pas l’autorisation de modifier cet article." - -#: wp-includes/class-wp-xmlrpc-server.php:4283 -msgid "For some strange yet very annoying reason, this post could not be edited." -msgstr "Pour une bien étrange raison, cet article n’a pu être modifié." - -#: wp-includes/class-wp-xmlrpc-server.php:4328 -msgid "Sorry, you do not have the right to delete this post." -msgstr "Désolé, vous n’avez pas l’autorisation de supprimer cet article." - -#: wp-includes/class-wp-xmlrpc-server.php:4333 -msgid "For some strange yet very annoying reason, this post could not be deleted." -msgstr "Pour une bien étrange raison, cet article n’a pu être supprimé." - -#: wp-comments-post.php:50 -msgid "Sorry, comments are closed for this item." -msgstr "Désolé, les commentaires sont fermés pour cet article." - -#: wp-comments-post.php:115 -msgid "Sorry, you must be logged in to post a comment." -msgstr "Désolé, vous devez être connecté(e) pour rédiger un commentaire." - -#: wp-includes/link-template.php:2110 wp-includes/link-template.php:2153 -msgid "« Previous Page" -msgstr "« Page précédente" - -#: wp-includes/link-template.php:2031 wp-includes/link-template.php:2154 -msgid "Next Page »" -msgstr "Page suivante »" - -#: wp-includes/feed-atom-comments.php:32 -msgid "Comments on %s" -msgstr "Commentaires sur %s" - -#: wp-includes/theme-compat/comments-popup.php:35 -msgid "RSS feed for comments on this post." -msgstr "Flux RSS des commentaires de cet article." - -#: wp-includes/theme-compat/comments-popup.php:65 -msgid "Leave a comment" -msgstr "Laisser un commentaire" - -#: wp-includes/theme-compat/comments.php:72 -msgid "Log out of this account" -msgstr "Se déconnecter" - -#: wp-includes/theme-compat/comments.php:72 -msgid "Log out »" -msgstr "Déconnexion »" - -#: wp-includes/theme-compat/comments-popup.php:84 -msgid "URL" -msgstr "Adresse web" - -#: wp-includes/theme-compat/comments-popup.php:89 -msgid "Your Comment" -msgstr "Votre commentaire" - -#: wp-includes/theme-compat/comments-popup.php:97 -msgid "Say It!" -msgstr "Dites-le !" - -#: wp-includes/theme-compat/comments-popup.php:102 -msgid "Sorry, the comment form is closed at this time." -msgstr "Désolé, les commentaires sont fermés pour le moment." - -#: wp-includes/theme-compat/comments-popup.php:107 -msgid "Close this window." -msgstr "Fermer cette fenêtre." - -#: wp-includes/default-widgets.php:400 wp-includes/theme-compat/sidebar.php:75 -msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform." -msgstr "Propulsé par WordPress, plate-forme de publication personnelle sémantique de pointe." - -#: wp-includes/comment-template.php:1239 -msgid "Enter your password to view comments." -msgstr "Saisissez votre mot de passe pour accéder aux commentaires." - -#: wp-includes/comment-template.php:737 wp-includes/comment-template.php:1226 -msgid "No Comments" -msgstr "Pas de commentaire" - -#: wp-includes/comment-template.php:739 wp-includes/comment-template.php:1227 -msgid "1 Comment" -msgstr "Un commentaire" - -#: wp-includes/comment-template.php:735 wp-includes/comment-template.php:1228 -msgid "% Comments" -msgstr "% commentaires" - -#: wp-includes/link-template.php:950 wp-includes/link-template.php:1216 -#: wp-includes/link-template.php:1318 wp-includes/link-template.php:1379 -msgid "Edit This" -msgstr "Modifier" - -#: wp-includes/comment-template.php:2105 -#: wp-includes/theme-compat/comments.php:65 -msgid "You must be logged in to post a comment." -msgstr "Vous devez être connecté pour rédiger un commentaire." - -#: wp-includes/theme-compat/comments.php:80 -msgid "Mail (will not be published)" -msgstr "Adresse de messagerie (ne sera pas publiée)" - -#: wp-includes/theme-compat/comments.php:91 -msgid "Submit Comment" -msgstr "Soumettre le commentaire" - -#: wp-includes/category-template.php:1199 -msgid "Tags: " -msgstr "Mots-clés : " - -#: wp-includes/theme-compat/comments-popup.php:113 -msgid "Sorry, no posts matched your criteria." -msgstr "Désolé, aucun article ne correspond à vos critères." - -#: wp-includes/post-template.php:747 -msgid "Pages:" -msgstr "Pages :" - -#: wp-includes/default-widgets.php:389 -msgid "Comments RSS" -msgstr "RSS des commentaires" - -#: wp-includes/theme-compat/sidebar.php:73 -msgid "This page validates as XHTML 1.0 Transitional" -msgstr "Cette page est en XHTML 1.0 Transitional valide" - -#: wp-includes/theme-compat/sidebar.php:73 -msgid "Valid XHTML" -msgstr "XHTML valide" - -#: wp-includes/theme-compat/comments.php:49 -msgid "Comments are closed." -msgstr "Les commentaires sont fermés." - -#: wp-includes/comment-template.php:1806 -msgid "%s says:" -msgstr "%s dit :" - -#: wp-includes/comment-template.php:1809 wp-includes/comment-template.php:1864 -msgid "Your comment is awaiting moderation." -msgstr "Votre commentaire est en attente de modération" - -#. translators: 1: date, 2: time -#: wp-includes/comment-template.php:1816 -msgid "%1$s at %2$s" -msgstr "%1$s à %2$s" - -#: wp-includes/comment-template.php:1816 -msgid "(Edit)" -msgstr "(Modifier)" - -#: wp-includes/default-widgets.php:372 wp-includes/default-widgets.php:378 -#: wp-includes/theme-compat/sidebar.php:69 -msgid "Meta" -msgstr "Méta" - -#: wp-includes/atomlib.php:133 -msgid "XML error: %s at line %d" -msgstr "Erreur XML : %s à la ligne %d" - -#: wp-includes/author-template.php:177 -msgid "Visit %s’s website" -msgstr "Aller sur le site de %s" - -#: wp-includes/author-template.php:251 wp-includes/author-template.php:389 -msgid "Posts by %s" -msgstr "Articles par %s" - -#: wp-includes/bookmark-template.php:83 -msgid "Last updated: %s" -msgstr "Dernière mise à jour : %s" - -#: wp-includes/bookmark-template.php:206 -msgid "Bookmarks" -msgstr "Favoris" - -#: wp-includes/capabilities.php:964 -msgid "Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead." -msgstr "L’utilisation des niveaux d’utilisateur par les extensions et thèmes est désormais interdite. Utiliser les rôles et capacités à la place." - -#: wp-includes/category-template.php:467 -msgid "No categories" -msgstr "Pas de catégorie" - -#: wp-includes/category-template.php:704 wp-includes/category-template.php:713 -msgid "%s topic" -msgid_plural "%s topics" -msgstr[0] "%s sujet" -msgstr[1] "%s sujets" - -#: wp-includes/class-pop3.php:82 -msgid "No server specified" -msgstr "Aucun serveur spécifié" - -#: wp-includes/class-pop3.php:90 wp-includes/class-pop3.php:102 -#: wp-includes/class-pop3.php:123 wp-includes/class-pop3.php:246 -#: wp-includes/class-pop3.php:300 wp-includes/class-pop3.php:311 -#: wp-includes/class-pop3.php:359 wp-includes/class-pop3.php:393 -#: wp-includes/class-pop3.php:426 wp-includes/class-pop3.php:525 -#: wp-includes/class-pop3.php:548 -msgid "Error " -msgstr "Erreur " - -#: wp-includes/class-pop3.php:115 -msgid "no login ID submitted" -msgstr "pas d’identifiant de connexion envoyé" - -#: wp-includes/class-pop3.php:118 wp-includes/class-pop3.php:138 -msgid "connection not established" -msgstr "la connexion n’est pas établie" - -#: wp-includes/class-pop3.php:135 wp-includes/class-pop3.php:171 -msgid "No password submitted" -msgstr "Pas de mot de passe envoyé" - -#: wp-includes/class-pop3.php:143 -msgid "Authentication failed" -msgstr "L’authentification a échoué" - -#: wp-includes/class-pop3.php:162 wp-includes/class-pop3.php:205 -#: wp-includes/class-pop3.php:230 wp-includes/class-pop3.php:272 -#: wp-includes/class-pop3.php:346 wp-includes/class-pop3.php:386 -#: wp-includes/class-pop3.php:416 wp-includes/class-pop3.php:450 -#: wp-includes/class-pop3.php:513 wp-includes/class-pop3.php:578 -msgid "No connection to server" -msgstr "Pas de connexion au serveur" - -#: wp-includes/class-pop3.php:168 -msgid "No login ID submitted" -msgstr "Pas d’identifiant de connexion envoyé" - -#: wp-includes/class-pop3.php:176 -msgid "No server banner" -msgstr "Pas de blocage serveur" - -#: wp-includes/class-pop3.php:176 wp-includes/class-pop3.php:186 -msgid "abort" -msgstr "abandonner" - -#: wp-includes/class-pop3.php:186 -msgid "apop authentication failed" -msgstr "l’identification APOP a échoué" - -#: wp-includes/class-pop3.php:323 -msgid "Premature end of list" -msgstr "Fin de liste inattendue" - -#: wp-includes/class-pop3.php:456 -msgid "Empty command string" -msgstr "Chaîne de commande vide" - -#: wp-includes/class-pop3.php:476 -msgid "connection does not exist" -msgstr "la connexion n’existe pas" - -#: wp-includes/class-pop3.php:583 -msgid "No msg number submitted" -msgstr "Pas de numéro de message envoyé" - -#: wp-includes/class-pop3.php:589 -msgid "Command failed " -msgstr "Échec de la commande " - -#: wp-includes/category-template.php:1000 -msgid "Feed for all posts filed under %s" -msgstr "Flux pour tous les articles classés dans %s" - -#: wp-includes/comment-template.php:1229 -msgid "Comments Off" -msgstr "Commentaires fermés" - -#: wp-includes/comment-template.php:1274 -msgid "Comment on %s" -msgstr "Commentaire sur %s" - -#: wp-includes/comment-template.php:1311 -msgid "Log in to Reply" -msgstr "Connectez-vous pour répondre" - -#: wp-includes/comment-template.php:1399 -msgid "Leave a Comment" -msgstr "Laisser un commentaire" - -#: wp-includes/comment-template.php:1400 -msgid "Log in to leave a Comment" -msgstr "Connectez-vous pour laisser un commentaire" - -#: wp-includes/comment-template.php:1457 -msgid "Click here to cancel reply." -msgstr "Cliquez ici pour annuler la réponse." - -#: wp-includes/comment-template.php:1543 wp-includes/comment-template.php:2113 -#: wp-includes/theme-compat/comments.php:58 -msgid "Leave a Reply" -msgstr "Laisser un commentaire" - -#: wp-includes/comment-template.php:1544 wp-includes/comment-template.php:2114 -#: wp-includes/theme-compat/comments.php:58 -msgid "Leave a Reply to %s" -msgstr "Répondre à %s" - -#: wp-includes/class-wp-editor.php:815 wp-includes/theme-compat/sidebar.php:21 -msgid "Author" -msgstr "Auteur" - -#: wp-includes/theme-compat/comments-popup.php:79 wp-login.php:715 -msgid "E-mail" -msgstr "E-mail" - -#: wp-includes/class-wp-editor.php:1385 wp-includes/media-template.php:360 -#: wp-includes/media-template.php:539 wp-includes/media.php:2911 -msgid "URL" -msgstr "Adresse web" - -#: wp-includes/comment-template.php:888 wp-includes/comment-template.php:2103 -msgctxt "noun" -msgid "Comment" -msgstr "Commentaire" - -#: wp-includes/deprecated.php:3180 wp-includes/functions.php:2322 -msgid "Are you sure you want to do this?" -msgstr "Voulez-vous vraiment faire cela ?" - -#: wp-signup.php:135 -msgid "No" -msgstr "Non" - -#: wp-includes/comment-template.php:1774 wp-includes/comment-template.php:1860 -#: wp-includes/media-template.php:578 -msgid "Edit" -msgstr "Modifier" - -#: wp-includes/media.php:3032 -msgid "No media attachments found." -msgstr "Il n’y a pas de fichier média attaché." - -#: wp-includes/class-wp-editor.php:783 -#: wp-includes/js/tinymce/wp-mce-help.php:112 -msgid "Undo" -msgstr "Annuler" - -#: wp-includes/class-wp-customize-widgets.php:724 wp-includes/media.php:2955 -msgid "Apply" -msgstr "Appliquer" - -#: wp-includes/theme-compat/comments-popup.php:33 -msgid "Comments" -msgstr "Commentaires" - -#: wp-includes/script-loader.php:447 -msgid "Publish" -msgstr "Publier" - -#: wp-includes/revision.php:31 -msgid "Excerpt" -msgstr "Extrait" - -#: wp-includes/post.php:82 -msgid "Revisions" -msgstr "Révisions" - -#. translators: comment status -#: wp-includes/comment.php:534 -msgctxt "adjective" -msgid "Approved" -msgstr "Approuvé" - -#. translators: comment status -#: wp-includes/comment.php:536 -msgctxt "adjective" -msgid "Spam" -msgstr "Indésirable" - -#: wp-includes/taxonomy.php:89 -msgid "Link Categories" -msgstr "Catégories de liens" - -#: wp-includes/taxonomy.php:477 -msgid "Search Categories" -msgstr "Chercher une catégorie" - -#: wp-includes/taxonomy.php:94 -msgid "Edit Link Category" -msgstr "Modifier la catégorie de lien" - -#: wp-includes/taxonomy.php:484 -msgid "Update Category" -msgstr "Mettre à jour la catégorie" - -#: wp-includes/class-wp-editor.php:1426 wp-includes/script-loader.php:359 -msgid "Add Link" -msgstr "Ajouter un lien" - -#: wp-includes/class-wp-editor.php:847 wp-includes/class-wp-editor.php:1188 -msgid "Save" -msgstr "Enregistrer" - -#: wp-includes/category-template.php:475 wp-includes/default-widgets.php:542 -#: wp-includes/default-widgets.php:548 wp-includes/theme-compat/sidebar.php:63 -msgid "Categories" -msgstr "Catégories" - -#: wp-includes/class-wp-editor.php:820 -msgid "Advanced" -msgstr "Avancé" - -#: wp-includes/comment-template.php:2083 -#: wp-includes/theme-compat/comments-popup.php:74 -#: wp-includes/theme-compat/comments.php:77 -msgid "Name" -msgstr "Nom" - -#: wp-includes/class-wp-editor.php:814 wp-includes/media-template.php:390 -#: wp-includes/media-template.php:569 -msgid "Description" -msgstr "Description" - -#: wp-includes/deprecated.php:707 wp-includes/media-template.php:609 -#: wp-includes/media-template.php:655 wp-includes/media-template.php:714 -#: wp-includes/media-template.php:815 wp-includes/media-template.php:830 -#: wp-includes/media-template.php:881 wp-includes/media-template.php:943 -#: wp-includes/media-template.php:1041 wp-includes/media-template.php:1131 -#: wp-includes/script-loader.php:315 -msgid "None" -msgstr "Aucun" - -#: wp-includes/class-wp-xmlrpc-server.php:1722 -#: wp-includes/class-wp-xmlrpc-server.php:1811 -#: wp-includes/class-wp-xmlrpc-server.php:1904 -#: wp-includes/class-wp-xmlrpc-server.php:1972 -#: wp-includes/class-wp-xmlrpc-server.php:2026 -#: wp-includes/class-wp-xmlrpc-server.php:2115 wp-includes/taxonomy.php:589 -#: wp-includes/taxonomy.php:961 wp-includes/taxonomy.php:1113 -#: wp-includes/taxonomy.php:1276 wp-includes/taxonomy.php:2223 -#: wp-includes/taxonomy.php:2400 wp-includes/taxonomy.php:2624 -#: wp-includes/taxonomy.php:2919 -msgid "Invalid taxonomy" -msgstr "La taxinomie est invalide" - -#: wp-includes/taxonomy.php:482 -msgid "Edit Tag" -msgstr "Modifier le mot-clé" - -#: wp-includes/post.php:1624 -msgctxt "post" -msgid "Add New" -msgstr "Ajouter" - -#: wp-includes/post.php:1628 -msgid "View Post" -msgstr "Afficher l’article" - -#: wp-includes/post.php:1626 -msgid "Edit Post" -msgstr "Modifier l’article" - -#: wp-includes/admin-bar.php:374 -msgid "Users" -msgstr "Utilisateurs" - -#: wp-includes/script-loader.php:531 -msgid "Done" -msgstr "Terminé" - -#: wp-includes/class-wp-theme.php:667 wp-includes/comment-template.php:29 -msgid "Anonymous" -msgstr "Anonyme" - -#: wp-includes/post-template.php:1567 -msgid "Submit" -msgstr "Envoyer" - -#: wp-includes/default-widgets.php:930 -msgid "RSS" -msgstr "Flux" - -#: wp-includes/functions.php:1936 -msgid "Invalid file type" -msgstr "Type du fichier non valide" - -#: wp-includes/class-wp-editor.php:845 -msgid "Preview" -msgstr "Aperçu" - -#: wp-includes/default-widgets.php:784 wp-includes/default-widgets.php:838 -msgid "Recent Comments" -msgstr "Commentaires récents" - -#: wp-includes/admin-bar.php:386 -msgid "Plugins" -msgstr "Extensions" - -#: wp-includes/class-wp-editor.php:787 wp-includes/class-wp-editor.php:1423 -#: wp-includes/media.php:2915 wp-includes/script-loader.php:388 -#: wp-includes/script-loader.php:439 -msgid "Cancel" -msgstr "Annuler" - -#: wp-includes/revision.php:30 -msgid "Content" -msgstr "Contenu" - -#: wp-includes/default-widgets.php:1234 -msgid "Tags" -msgstr "Mots-clés" - -#: wp-includes/script-loader.php:451 -msgid "Save Draft" -msgstr "Enregistrer brouillon" - -#: wp-includes/theme-compat/comments-popup.php:61 -msgid "No comments yet." -msgstr "Pas encore de commentaire." - -#: wp-includes/comment-template.php:1310 wp-includes/script-loader.php:429 -msgid "Reply" -msgstr "Répondre" - -#: wp-includes/comment-template.php:890 -msgid "Pingback" -msgstr "Ping" - -#: wp-includes/comment-template.php:889 -msgid "Trackback" -msgstr "Rétrolien" - -#: wp-includes/default-widgets.php:914 -msgid "Number of comments to show:" -msgstr "Nombre de commentaires à afficher :" - -#: wp-includes/default-widgets.php:1021 -msgid "RSS Error: %s" -msgstr "Erreur RSS : %s" - -#: wp-includes/default-widgets.php:964 -msgid "Unknown Feed" -msgstr "Flux inconnu" - -#: wp-includes/admin-bar.php:687 -msgid "Header" -msgstr "En-tête" - -#: wp-includes/widgets.php:577 -msgid "Sidebar" -msgstr "Colonne latérale" - -#: wp-includes/default-widgets.php:272 wp-includes/default-widgets.php:280 -#: wp-includes/theme-compat/sidebar.php:57 -msgid "Archives" -msgstr "Archives" - -#: wp-includes/general-template.php:405 wp-login.php:711 wp-login.php:871 -msgid "Username" -msgstr "Identifiant" - -#: wp-includes/general-template.php:406 wp-login.php:875 -msgid "Password" -msgstr "Mot de passe" - -#: wp-includes/class-wp-editor.php:784 -#: wp-includes/js/tinymce/wp-mce-help.php:112 -msgid "Redo" -msgstr "Rétablir" - -#: wp-includes/media-template.php:674 wp-includes/media-template.php:898 -#: wp-includes/media.php:2683 -msgid "Thumbnail" -msgstr "Miniature" - -#: wp-includes/deprecated.php:3230 -msgid "File “%s” doesn’t exist?" -msgstr "Le fichier « %s » n’existe pas ?" - -#: wp-includes/deprecated.php:3233 -msgid "The GD image library is not installed." -msgstr "La bibliothèque d’imagerie GD n’est pas installée." - -#: wp-includes/deprecated.php:3240 -msgid "File “%s” is not an image." -msgstr "Le fichier « %s » n’est pas une image." - -#: wp-includes/media.php:2912 -msgid "Add Media" -msgstr "Ajouter un média" - -#: wp-includes/class-wp-editor.php:1253 wp-includes/media-template.php:324 -#: wp-includes/media-template.php:485 -msgid "Saved." -msgstr "Enregistré." - -#: wp-includes/class-wp-customize-manager.php:1070 -#: wp-includes/class-wp-editor.php:906 wp-includes/media-template.php:600 -#: wp-includes/media-template.php:806 wp-includes/media-template.php:872 -msgid "Left" -msgstr "Gauche" - -#: wp-includes/class-wp-customize-manager.php:1071 -#: wp-includes/class-wp-editor.php:907 wp-includes/media-template.php:603 -#: wp-includes/media-template.php:809 wp-includes/media-template.php:875 -msgid "Center" -msgstr "Centre" - -#: wp-includes/class-wp-customize-manager.php:1072 -#: wp-includes/class-wp-editor.php:908 wp-includes/media-template.php:606 -#: wp-includes/media-template.php:812 wp-includes/media-template.php:878 -msgid "Right" -msgstr "Droite" - -#: wp-includes/media-template.php:675 wp-includes/media-template.php:899 -#: wp-includes/media.php:2684 -msgid "Medium" -msgstr "Moyenne" - -#: wp-includes/media-template.php:677 wp-includes/media-template.php:901 -#: wp-includes/media.php:2686 -msgid "Full Size" -msgstr "Taille originale" - -#: wp-includes/media-template.php:665 wp-includes/media-template.php:889 -msgid "Size" -msgstr "Taille" - -#: wp-includes/class-wp-editor.php:905 wp-includes/media-template.php:592 -msgid "Alignment" -msgstr "Alignement" - -#: wp-includes/class-wp-editor.php:904 wp-includes/media-template.php:380 -#: wp-includes/media-template.php:559 wp-includes/media-template.php:792 -#: wp-includes/media-template.php:857 -msgid "Caption" -msgstr "Légende" - -#: wp-includes/media-template.php:316 wp-includes/media-template.php:509 -#: wp-includes/media.php:2984 -msgid "Edit Image" -msgstr "Modifier l’image" - -#: wp-includes/media-template.php:824 wp-includes/media-template.php:936 -msgid "Image URL" -msgstr "Adresse web de l’image" - -#: wp-includes/script-loader.php:450 -msgid "Save as Pending" -msgstr "Mettre à relire" - -#: wp-includes/script-loader.php:456 -msgid "Privately Published" -msgstr "Publié en privé" - -#: wp-includes/class-wp-editor.php:786 wp-includes/script-loader.php:438 -msgid "OK" -msgstr "OK" - -#: wp-includes/post.php:907 wp-includes/post.php:927 -#: wp-includes/script-loader.php:452 -msgid "Private" -msgstr "Privé" - -#: wp-includes/script-loader.php:454 -msgid "Public, Sticky" -msgstr "Public, mis en avant" - -#: wp-includes/script-loader.php:453 -msgid "Public" -msgstr "Public" - -#: wp-includes/script-loader.php:448 -msgid "Schedule" -msgstr "Planifier" - -#: wp-includes/class-wp-editor.php:1188 wp-includes/media.php:2916 -#: wp-includes/script-loader.php:358 wp-includes/script-loader.php:449 -msgid "Update" -msgstr "Mettre à jour" - -#: wp-includes/taxonomy.php:488 -msgid "Add or remove tags" -msgstr "Ajouter ou retirer des mots-clés" - -#: wp-includes/taxonomy.php:479 -msgid "All Categories" -msgstr "Toutes" - -#: wp-includes/script-loader.php:114 wp-includes/script-loader.php:258 -msgid "Dismiss" -msgstr "Fermer" - -#: wp-includes/admin-bar.php:730 wp-includes/class-wp-editor.php:1398 -#: wp-includes/media.php:2913 -msgid "Search" -msgstr "Recherche" - -#: wp-includes/post.php:2434 -msgid "Images" -msgstr "Images" - -#: wp-includes/post.php:1628 -msgid "View Page" -msgstr "Voir la page" - -#: wp-includes/default-widgets.php:118 -msgid "Links" -msgstr "Liens" - -#: wp-includes/category-template.php:172 -msgid "Uncategorized" -msgstr "Non classé" - -#: wp-includes/pluggable.php:1647 -msgid "E-mail: %s" -msgstr "E-mail : %s" - -#: wp-includes/default-widgets.php:18 wp-includes/default-widgets.php:32 -#: wp-includes/post-template.php:1023 wp-includes/theme-compat/sidebar.php:55 -msgid "Pages" -msgstr "Pages" - -#: wp-includes/class-wp-editor.php:788 wp-includes/class-wp-editor.php:1379 -#: wp-includes/functions.php:4473 wp-includes/script-loader.php:229 -#: wp-includes/script-loader.php:309 wp-includes/script-loader.php:389 -msgid "Close" -msgstr "Fermer" - -#: wp-includes/media.php:2914 -msgid "Select" -msgstr "Sélectionner" - -#: wp-includes/post.php:1627 -msgid "New Page" -msgstr "Nouvelle page" - -#: wp-includes/post.php:58 -msgid "Edit Media" -msgstr "Modifier un média" - -#: wp-includes/admin-bar.php:426 wp-includes/post.php:1627 -msgid "New Post" -msgstr "Nouvel article" - -#: wp-includes/media.php:2659 wp-includes/script-loader.php:360 -#: wp-includes/script-loader.php:483 -msgid "(no title)" -msgstr "(pas de titre)" - -#: wp-activate.php:73 -msgid "Activation Key Required" -msgstr "Clé d’activation requise" - -#: wp-activate.php:76 -msgid "Activation Key:" -msgstr "Clé d’activation :" - -#: wp-activate.php:80 -msgid "Activate" -msgstr "Activer" - -#: wp-activate.php:92 wp-activate.php:111 -msgid "Your account is now active!" -msgstr "Votre compte est maintenant activé !" - -#: wp-activate.php:103 -msgid "An error occurred during the activation" -msgstr "Une erreur est survenue lors de l’activation" - -#: wp-activate.php:114 wp-signup.php:179 -msgid "Username:" -msgstr "Identifiant :" - -#: wp-activate.php:115 wp-includes/post-template.php:1567 -msgid "Password:" -msgstr "Mot de passe :" - -#: wp-includes/class-wp-customize-manager.php:125 -#: wp-includes/script-loader.php:390 -msgid "Cheatin’ uh?" -msgstr "Alors, on triche ?" - -#: wp-includes/post.php:1630 -msgid "No posts found." -msgstr "Aucun article trouvé." - -#: wp-includes/class-wp-editor.php:811 wp-includes/class-wp-editor.php:1388 -#: wp-includes/media-template.php:365 wp-includes/media-template.php:544 -#: wp-includes/media-template.php:775 wp-includes/revision.php:29 -msgid "Title" -msgstr "Titre" - -#: wp-includes/post.php:908 wp-includes/post.php:928 -#: wp-includes/script-loader.php:457 -msgid "Published" -msgstr "Publié" - -#: wp-includes/post.php:906 -msgid "Pending Review" -msgstr "En attente de relecture" - -#: wp-includes/post.php:905 wp-includes/post.php:926 -msgid "Draft" -msgstr "Brouillon" - -#: wp-includes/class-wp-editor.php:1326 -msgid "Y/m/d" -msgstr "d/m/Y" - -#: wp-includes/admin-bar.php:297 wp-includes/admin-bar.php:443 -#: wp-includes/deprecated.php:2852 -msgid "Visit Site" -msgstr "Aller sur le site" - -#: wp-includes/admin-bar.php:250 wp-includes/class-wp-admin-bar.php:374 -msgid "Log Out" -msgstr "Se déconnecter" - -#: wp-includes/class-wp-xmlrpc-server.php:3569 -#: wp-includes/class-wp-xmlrpc-server.php:3615 -#: wp-includes/class-wp-xmlrpc-server.php:5313 -msgid "You do not have permission to upload files." -msgstr "Vous n’avez pas l’autorisation d’envoyer des fichiers." \ No newline at end of file diff --git a/sources/wordpress/wp-content/languages/plugins/akismet-fr_FR.mo b/sources/wordpress/wp-content/languages/plugins/akismet-fr_FR.mo deleted file mode 100644 index dad4a19..0000000 Binary files a/sources/wordpress/wp-content/languages/plugins/akismet-fr_FR.mo and /dev/null differ diff --git a/sources/wordpress/wp-content/languages/plugins/akismet-fr_FR.po b/sources/wordpress/wp-content/languages/plugins/akismet-fr_FR.po deleted file mode 100644 index ed51a17..0000000 --- a/sources/wordpress/wp-content/languages/plugins/akismet-fr_FR.po +++ /dev/null @@ -1,642 +0,0 @@ -# Translation of Development in French (France) -# This file is distributed under the same license as the Development package. -msgid "" -msgstr "" -"PO-Revision-Date: 2014-08-15 15:15:11+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: GlotPress/0.1\n" -"Project-Id-Version: Development\n" - -#: views/config.php:97 -msgid "Spam in the spam folder older than 1 day is deleted automatically." -msgid_plural "Spam in the spam folder older than %2$d days is deleted automatically." -msgstr[0] "" -msgstr[1] "" - -#: class.akismet-admin.php:700 -msgid "Please check your Akismet configuration and contact your web host if problems persist." -msgstr "Veuillez vérifier votre configuration Akismet et contacter votre hébergeur si le problème persiste." - -#: views/notice.php:21 -msgid "Some comments have not yet been checked for spam by Akismet. They have been temporarily held for moderation and will automatically be rechecked later." -msgstr "Certains commentaires n'ont pas encore été vérifiés par Akismet. Ils ont été temporairement mis en modération et seront vérifiés automatiquement plus tard." - -#: views/notice.php:43 -msgid "Your web host or server administrator has disabled PHP’s gethostbynamel functions. Akismet cannot work correctly until this is fixed. Please contact your web host or firewall administrator and give them this information about Akismet’s system requirements." -msgstr "Votre hébergeur web ou administrateur de serveur a désactivé les fonctions gethostbynamel de PHP. Akismet ne peut pas fonctionner correctement tant qu'elles ne seront pas réactivées. Veuillez contacter votre hébergeur web ou l'administrateur de votre pare-feu et lui donner ces informations à propos des prérequis systèmes d'Akismet." - -#: views/start.php:77 -msgid "Activate Akismet" -msgstr "Activer Akismet" - -#: views/start.php:64 views/start.php:85 -msgid "If you already know your API key." -msgstr "Si vous connaissez déjà votre clé d'API." - -#: views/start.php:78 -msgid "Log in or create an account to get your API key." -msgstr "Connectez-vous ou créez un compte pour obtenir votre clé d'API." - -#: views/start.php:80 -msgid "Get your API key" -msgstr "Obtenir votre clé d'API" - -#: views/start.php:22 -msgid "Your subscription for %s is cancelled" -msgstr "Votre abonnement pour %s a été annulée" - -#: views/start.php:28 -msgid "Reactivate Akismet" -msgstr "Réactiver Akismet" - -#: views/config.php:152 -msgid "Cancelled" -msgstr "Annulé" - -#: views/config.php:154 -msgid "Suspended" -msgstr "Suspendu" - -#: views/config.php:156 -msgid "Missing" -msgstr "Manquant" - -#: views/config.php:158 -msgid "No Subscription Found" -msgstr "Aucun abonnement trouvé" - -#: views/config.php:160 -msgid "Active" -msgstr "Activé" - -#: views/notice.php:72 -msgid "There is a problem with your key." -msgstr "Il y a un problème avec votre clé" - -#: views/notice.php:78 -msgid "Since 2012, Akismet began using subscriptions for all accounts (even free ones). It looks like a subscription has not been assigned to your account, and we’d appreciate it if you’d sign into your account and choose one. Please contact our support team with any questions." -msgstr "En 2012, Akismet a commencé à utiliser les abonnements pour tous les comptes (mêmes ceux gratuits). Il semble que votre abonnement n'a pas été lié à votre compte, et nous souhaiterions que vous vous connectiez à votre compte et que vous en choisissiez un. Pour toute question, contactez notre équipe de support." - -#: class.akismet-admin.php:196 views/config.php:84 -msgid "Strictness" -msgstr "Sévérité" - -#: class.akismet-admin.php:196 -msgid "Choose to either discard the worst spam automatically or to always put all spam in spam folder." -msgstr "Choisissez d'éliminer directement les indésirables, ou de toujours les mettre dans le dossier Indésirables." - -#: views/config.php:88 -msgid "Silently discard the worst and most pervasive spam so I never see it." -msgstr "Éliminer directement les pires indésirables et les plus répandus pour que je ne les vois jamais." - -#: views/config.php:89 -msgid "Always put spam in the Spam folder for review." -msgstr "Toujours mettre les indésirables dans le dossier Indésirables pour vérification." - -#: class.akismet-admin.php:195 views/config.php:75 -msgid "Comments" -msgstr "Commentaires" - -#: views/notice.php:77 -msgid "Your subscription is missing." -msgstr "Il manque votre abonnement." - -#: views/notice.php:95 -msgid "You're using your Akismet key on more sites than your Pro subscription allows." -msgstr "Vous utilisez votre clé Askismet pour plus de sites que votre abonnement Pro n'en autorise." - -#: views/notice.php:96 -msgid "If you would like to use Akismet on more than 10 sites, you will need to upgrade to an Enterprise subscription. If you have any questions, please get in touch with our support team" -msgstr "Si vous souhaitez utiliser Akismet sur plus de 10 sites, il vous faudra prendre un abonnement Enterprise. Pour toute question, veuillez contacter notre équipe de support" - -#: views/notice.php:98 -msgid "You're using Akismet on far too many sites for your Pro subscription." -msgstr "Vous utilisez Akismet sur bien trop de sites pour votre abonnement Pro." - -#: views/notice.php:99 -msgid "To continue your service, upgrade to an Enterprise subscription, which covers an unlimited number of sites. Please contact our support team with any questions." -msgstr "Pour continuer votre utilisation, prenez un abonnement Enterprise, qui accepte un nombre illimité de sites. Pour toute question, veuillez contacter notre équipe de support" - -#: views/notice.php:20 -msgid "Akismet has detected a problem." -msgstr "Akismet a détecté un problème." - -#: views/notice.php:27 -msgid "Akismet %s requires WordPress 3.0 or higher." -msgstr "Akismet %s nécessite la version 3.0 de WordPress ou supérieure." - -#: views/notice.php:30 -msgid "Akismet Error Code: %s" -msgstr "Code d’erreur Akismet : %s" - -#. translators: the placeholder is a clickable URL that leads to more -#. information regarding an error code. -#: views/notice.php:35 -msgid "For more information: %s" -msgstr "Pour plus d'information : %s" - -#: views/notice.php:42 -msgid "Network functions are disabled." -msgstr "Les fonctionnalités réseau sont désactivées." - -#: views/notice.php:47 -msgid "We can’t connect to your site." -msgstr "Nous ne pouvons pas nous connecter à votre site." - -#: views/notice.php:48 -msgid "Your firewall may be blocking us. Please contact your host and refer to our guide about firewalls." -msgstr "Votre pare-feu peut être en train de nous bloquer. Veuillez contacter votre hébergeur et indiquez-lui notre guide pour les pares-feu (en anglais)." - -#: views/notice.php:52 -msgid "Please update your payment details." -msgstr "Veuillez mettre à jour vos informations de paiement." - -#: views/notice.php:53 -msgid "We cannot process your transaction. Please contact your bank for assistance, and update your payment details." -msgstr "Nous ne pouvons pas procéder à la transaction. Veuillez contacter votre banque pour obtenir de l'aide, et mettez à jour vos informations de paiement." - -#: views/notice.php:57 -msgid "Your subscription is cancelled." -msgstr "Votre abonnement est annnulé." - -#: views/notice.php:58 -msgid "Please visit the Akismet account page to reactivate your subscription." -msgstr "Veuillez vous rendre sur la page de votre compte Akismet pour réactiver votre abonnement." - -#: views/notice.php:62 -msgid "Your subscription is suspended." -msgstr "Votre abonnement a été annulé." - -#: views/notice.php:63 views/notice.php:73 -msgid "Please contact Akismet support for assistance." -msgstr "Veuillez contacter le service support d'Akismet pour obtenir de l'aide." - -#: views/notice.php:68 -msgid "You can help us fight spam and upgrade your account by contributing a token amount." -msgstr "Vous pouvez nous aider à combattre les messages indésirables et passer à un compte supérieur avec un montant symbolique." - -#: views/notice.php:82 -msgid "Your Akismet account has been successfully set up and activated. Happy blogging!" -msgstr "Votre compte Akismet a bien été configuré et activé. Écrivez sans limites !" - -#: views/notice.php:86 -msgid "The key you entered is invalid. Please double-check it." -msgstr "Votre clé ne semble pas être valide. Veuillez la vérifier." - -#: views/notice.php:90 -msgid "The key you entered could not be verified because a connection to akismet.com could not be established. Please check your server configuration." -msgstr "La clé que vous avez entrée n’a pas pu être vérifiée, car la connexion à akismet.com n’a pas pu être établie. Veuillez vérifier la configuration de votre serveur." - -#: views/start.php:40 views/start.php:74 -msgid "Akismet eliminates the comment and trackback spam you get on your site. To setup Akismet, select one of the options below." -msgstr "Akismet élimine les commentaires et rétroliens indésirables qui arrivent sur votre site. Pour configurer Akismet, sélectionnez l'une des options ci-dessous." - -#: views/start.php:7 views/start.php:21 views/start.php:34 views/start.php:43 -msgid "Connected via Jetpack" -msgstr "Connecté via Jetpack" - -#: views/start.php:50 -msgid "Use this Akismet account" -msgstr "Utiliser ce compte Akismet" - -#: views/start.php:56 -msgid "Create a new API key with a different email address" -msgstr "Créer une nouvelle clé d'API avec une adresse différente" - -#: views/start.php:57 -msgid "Use this option if you want to setup a new Akismet account." -msgstr "Utilisez cette option si vous voulez configurer un nouveau compte Akismet." - -#: views/start.php:59 -msgid "Register a different email address" -msgstr "Enregistrer une autre adresse e-mail" - -#: views/start.php:63 views/start.php:84 -msgid "Manually enter an API key" -msgstr "Saisissez votre clé d'API à la main" - -#: views/start.php:70 views/start.php:91 -msgid "Use this key" -msgstr "Utiliser cette clé" - -#: views/start.php:4 -msgid "Akismet eliminates the comment and trackback spam you get on your site. Register your email address below to get started." -msgstr "Akismet élimine les commentaires et rétroliens indésirables qui arrivent sur votre site. Enregistrez votre adresse e-mail ci-dessous pour vous lancer." - -#: views/start.php:14 -msgid "Register Akismet" -msgstr "Enregistrer Akismet" - -#: views/start.php:18 views/start.php:32 -msgid "Akismet eliminates the comment and trackback spam you get on your site." -msgstr "Akismet élimine les commentaires et rétroliens indésirables de votre site." - -#: views/start.php:35 -msgid "Your subscription for %s is suspended" -msgstr "Votre abonnement pour %s est suspendu" - -#: views/start.php:36 -msgid "No worries! Get in touch and we’ll help sort this out." -msgstr "Pas de crainte à avoir ! Contactez-nous et nous arrangerons les choses." - -#: views/start.php:37 -msgid "Contact Akismet support" -msgstr "Contacter le support Akismet" - -#: views/config.php:87 views/strict.php:2 views/strict.php:3 -msgid "Akismet anti-spam strictness" -msgstr "Sévérité anti-indésirables d'Akismet" - -#: views/strict.php:4 -msgid "Strict: silently discard the worst and most pervasive spam." -msgstr "Strict : supprimer sans avertissement les indésirables les plus nuisibles." - -#: views/strict.php:5 -msgid "Safe: always put spam in the Spam folder for review." -msgstr "Sûr : toujours mettre les indésirables dans le dossier Indésirables pour vérification." - -#: class.akismet-admin.php:53 -msgid "Comment History" -msgstr "Voir l’historique du commentaire" - -#: class.akismet-admin.php:76 class.akismet-admin.php:78 -#: class.akismet-admin.php:757 views/config.php:3 -msgid "Akismet" -msgstr "Akismet" - -#: class.akismet-admin.php:104 -msgid "Remove this URL" -msgstr "Supprimer cette URL" - -#: class.akismet-admin.php:105 -msgid "Removing..." -msgstr "Suppression..." - -#: class.akismet-admin.php:106 -msgid "URL removed" -msgstr "URL supprimée" - -#: class.akismet-admin.php:107 -msgid "(undo)" -msgstr "(annuler)" - -#: class.akismet-admin.php:108 -msgid "Re-adding..." -msgstr "Rajout en cours..." - -#: class.akismet-admin.php:129 class.akismet-admin.php:167 -#: class.akismet-admin.php:180 -msgid "Overview" -msgstr "Vue d’ensemble" - -#: class.akismet-admin.php:131 class.akismet-admin.php:142 -#: class.akismet-admin.php:153 -msgid "Akismet Setup" -msgstr "Configuration d'Askimet" - -#: class.akismet-admin.php:132 class.akismet-admin.php:170 -#: class.akismet-admin.php:183 -msgid "Akismet filters out your comment and trackback spam for you, so you can focus on more important things." -msgstr "Askimet vous débarasse des commentaires et rétroliens indésirables, afin que vous puissiez vous concentrer sur des choses plus importantes." - -#: class.akismet-admin.php:133 -msgid "On this page, you are able to setup the Akismet plugin." -msgstr "Sur cette page, vous pouvez configurer l’extension Akismet." - -#: class.akismet-admin.php:140 -msgid "New to Akismet" -msgstr "Nouveau avec Akismet" - -#: class.akismet-admin.php:143 -msgid "You need to enter an API key to activate the Akismet service on your site." -msgstr "Vous avez besoin d'une clé API pour activer le service Akismet sur votre site." - -#: class.akismet-admin.php:144 -msgid "Signup for an account on %s to get an API Key." -msgstr "Créez-vous un compte sur %s pour obtenir une clé API." - -#: class.akismet-admin.php:151 -msgid "Enter an API Key" -msgstr "Saisissez une clé API" - -#: class.akismet-admin.php:154 -msgid "If you already have an API key" -msgstr "Si vous avez déjà une clé API" - -#: class.akismet-admin.php:156 -msgid "Copy and paste the API key into the text field." -msgstr "Copiez et collez la clé API dans le champ de texte." - -#: class.akismet-admin.php:157 -msgid "Click the Use this Key button." -msgstr "Cliquez sur le bouton \"Utilisez cette clé\"." - -#: class.akismet-admin.php:169 views/stats.php:2 -msgid "Akismet Stats" -msgstr "Statistiques Akismet" - -#: class.akismet-admin.php:171 -msgid "On this page, you are able to view stats on spam filtered on your site." -msgstr "Sur cette page, vous pouvez voir les statistiques des commentaires indésirables filtrés sur votre site." - -#: class.akismet-admin.php:182 class.akismet-admin.php:193 -#: class.akismet-admin.php:205 -msgid "Akismet Configuration" -msgstr "Configuration Akismet" - -#: class.akismet-admin.php:184 -msgid "On this page, you are able to enter/remove an API key, view account information and view spam stats." -msgstr "Sur cette page, vous pouvez saisir/supprimer une clé API, voir vos informations de compte et voir les statistiques des commentaires indésirables." - -#: class.akismet-admin.php:69 class.akismet-admin.php:191 -#: class.akismet-admin.php:508 views/config.php:60 views/stats.php:2 -msgid "Settings" -msgstr "Réglages" - -#: class.akismet-admin.php:194 views/config.php:67 -msgid "API Key" -msgstr "Clé API" - -#: class.akismet-admin.php:194 -msgid "Enter/remove an API key." -msgstr "Saisir/supprimer une clé API." - -#: views/config.php:79 -msgid "Show the number of approved comments beside each comment author" -msgstr "Montrer le nombre de commentaires approuvés devant chaque auteur de commentaires" - -#: class.akismet-admin.php:195 -msgid "Show the number of approved comments beside each comment author in the comments list page." -msgstr "Montrer le nombre de commentaires approuvés devant chaque auteur de commentaires dans la page listant les commentaires." - -#: class.akismet-admin.php:203 views/config.php:135 -msgid "Account" -msgstr "Compte" - -#: class.akismet-admin.php:206 views/config.php:140 -msgid "Subscription Type" -msgstr "Type d'abonnement " - -#: class.akismet-admin.php:206 -msgid "The Akismet subscription plan" -msgstr "Les abonnements d'Akismet" - -#: class.akismet-admin.php:207 views/config.php:147 -msgid "Status" -msgstr "État" - -#: class.akismet-admin.php:207 -msgid "The subscription status - active, cancelled or suspended" -msgstr "L'état de l'abonnement - actif, annulé ou suspendu" - -#: class.akismet-admin.php:215 -msgid "For more information:" -msgstr "Plus d’informations :" - -#: class.akismet-admin.php:216 -msgid "Akismet FAQ" -msgstr "FAQ d'Askimet" - -#: class.akismet-admin.php:217 -msgid "Akismet Support" -msgstr "Support d'Askimet" - -#: class.akismet-admin.php:223 -msgid "Cheatin’ uh?" -msgstr "Alors, on triche ?" - -#: class.akismet-admin.php:282 -msgctxt "comments" -msgid "Spam" -msgstr "Indésirable" - -#: class.akismet-admin.php:284 -msgid "Akismet has protected your site from %3$s spam comment." -msgid_plural "Akismet has protected your site from %3$s spam comments." -msgstr[0] "Akismet a déjà protégé votre site de %3$s commentaire indésirable." -msgstr[1] "Akismet a déjà protégé votre site de %3$s commentaires indésirables." - -#: class.akismet-admin.php:303 -msgid "Akismet has protected your site from %2$s spam comment already. " -msgid_plural "Akismet has protected your site from %2$s spam comments already. " -msgstr[0] "Akismet a déjà protégé votre site de %2$s commentaire indésirable." -msgstr[1] "Akismet a déjà protégé votre site de %2$s commentaires indésirables." - -#: class.akismet-admin.php:309 -msgid "Akismet blocks spam from getting to your blog. " -msgstr "Akismet a bloqué les commentaires indésirables de votre site. " - -#: class.akismet-admin.php:314 -msgid "There’s %1$s comment in your spam queue right now." -msgid_plural "There are %1$s comments in your spam queue right now." -msgstr[0] "Il y a actuellement %1$s commentaire dans votre file d'indésirables." -msgstr[1] "Il y a actuellement %1$s commentaires dans votre file d'indésirables." - -#: class.akismet-admin.php:320 -msgid "There’s nothing in your spam queue at the moment." -msgstr "Il n’y a rien dans votre file d'attente d'indésirables pour le moment." - -#: class.akismet-admin.php:340 -msgid "Check for Spam" -msgstr "Vérifier les commentaires indésirables" - -#: class.akismet.php:442 -msgid "%1$s changed the comment status to %2$s" -msgstr "%1$s a changé l'état du commentaire en %2$s" - -#: class.akismet-admin.php:382 -msgid "Akismet re-checked and caught this comment as spam" -msgstr "Akismet a revérifié ce commentaire et considéré qu’il s’agit d’un indésirable" - -#: class.akismet-admin.php:388 -msgid "Akismet re-checked and cleared this comment" -msgstr "Akismet a revérifié et validé ce commentaire" - -#: class.akismet-admin.php:392 -msgid "Akismet was unable to re-check this comment (response: %s)" -msgstr "Akismet n’a pas pu revérifier ce commentaire (réponse : %s)" - -#: class.akismet-admin.php:446 -msgid "Awaiting spam check" -msgstr "En attente de vérification" - -#: class.akismet-admin.php:450 -msgid "Flagged as spam by Akismet" -msgstr "Marqué comme indésirable par Akismet" - -#: class.akismet-admin.php:452 -msgid "Cleared by Akismet" -msgstr "Validé par Akismet" - -#: class.akismet-admin.php:456 -msgid "Flagged as spam by %s" -msgstr "Marqué comme indésirable par %s" - -#: class.akismet-admin.php:458 -msgid "Un-spammed by %s" -msgstr "Marqué comme légitime par %s" - -#: class.akismet-admin.php:470 class.akismet-admin.php:478 -msgid "View comment history" -msgstr "Voir l’historique du commentaire" - -#: class.akismet-admin.php:470 -msgid "History" -msgstr "Historique" - -#: class.akismet-admin.php:486 -msgid "%s approved" -msgid_plural "%s approved" -msgstr[0] "%s approuvé" -msgstr[1] "%s approuvés" - -#: class.akismet-admin.php:499 -msgid "%s ago" -msgstr "il y a %s" - -#: class.akismet.php:487 -msgid "%s reported this comment as spam" -msgstr "%s a marqué ce commentaire comme indésirable" - -#: class.akismet.php:533 -msgid "%s reported this comment as not spam" -msgstr "%s a marqué ce commentaire comme n’étant pas un indésirable" - -#: class.akismet-admin.php:787 -msgid "Cleaning up spam takes time." -msgstr "Nettoyer les commentaires indésirables prend du temps." - -#: class.akismet-admin.php:790 -msgid "Since you joined us, Akismet has saved you %s days!" -msgstr "Depuis que vous nous avez rejoint, Akismet vous a fait gagner %s jours !" - -#: class.akismet-admin.php:792 -msgid "Since you joined us, Akismet has saved you %d hours!" -msgstr "Depuis que vous nous avez rejoint, Akismet vous a fait gagner %s heures !" - -#: class.akismet-admin.php:794 -msgid "Since you joined us, Akismet has saved you %d minutes!" -msgstr "Depuis que vous nous avez rejoint, Akismet vous a fait gagner %s minutes !" - -#: class.akismet-widget.php:12 -msgid "Akismet Widget" -msgstr "Widget Akismet" - -#: class.akismet-widget.php:13 -msgid "Display the number of spam comments Akismet has caught" -msgstr "Affiche le nombre de commentaires indésirables repérés par Akismet" - -#: class.akismet-widget.php:69 -msgid "Spam Blocked" -msgstr "Indésirable bloqué" - -#: class.akismet-widget.php:74 -msgid "Title:" -msgstr "Titre :" - -#: class.akismet-widget.php:98 -msgid "%1$s spam blocked by Akismet" -msgid_plural "%1$s spam blocked by Akismet" -msgstr[0] "%1$s indésirable bloqué par Akismet" -msgstr[1] "%1$s indésirables bloqués par Akismet" - -#: class.akismet.php:227 -msgid "Akismet caught this comment as spam" -msgstr "Akismet a considéré que ce commentaire est un indésirable" - -#: class.akismet.php:229 class.akismet.php:238 -msgid "Comment status was changed to %s" -msgstr "L’état du commentaire a été changé en %s" - -#: class.akismet.php:233 -msgid "Akismet cleared this comment" -msgstr "Akismet a revérifié et validé ce commentaire" - -#: class.akismet.php:236 -msgid "Comment was caught by wp_blacklist_check" -msgstr "Un commentaire a été arrêté par wp_blacklist_check" - -#: class.akismet.php:243 -msgid "Akismet was unable to check this comment (response: %s), will automatically retry again later." -msgstr "Akismet n’a pas pu revérifier ce commentaire (réponse : %s) ; il fera une nouvelle tentative plus tard." - -#: class.akismet.php:573 -msgid "Akismet caught this comment as spam during an automatic retry." -msgstr "Akismet a revérifié ce commentaire et considéré qu’il s’agit d’un indésirable." - -#: class.akismet.php:575 -msgid "Akismet cleared this comment during an automatic retry." -msgstr "Akismet a validé ce commentaire suite à une revérification automatique." - -#: class.akismet.php:923 -msgid "Akismet %s requires WordPress %s or higher." -msgstr "Akismet %s requiert WordPress %s ou supérieur." - -#: class.akismet.php:923 views/notice.php:27 -msgid "Please upgrade WordPress to a current version, or downgrade to version 2.4 of the Akismet plugin." -msgstr "Veuillez passer à la dernière version de WordPress ou revenir à la version 2.4 de l'extension Akismet." - -#: views/config.php:12 -msgid "Summaries" -msgstr "Résumés" - -#: views/config.php:18 -msgid "Past six months" -msgstr "Les six derniers mois" - -#: views/config.php:20 views/config.php:25 -msgid "Spam blocked" -msgstr "Commentaire indésirable bloqué" - -#: views/config.php:23 -msgid "All time" -msgstr "Depuis le début" - -#: views/config.php:28 -msgid "Accuracy" -msgstr "Exactitude" - -#: views/config.php:32 -msgid "%s missed spam, %s false positive" -msgid_plural "%s missed spam, %s false positives" -msgstr[0] "%s commentaire indésirable manqué, %s faux positif" -msgstr[1] "%s commentaires indésirables manqués, %s faux positifs" - -#: views/config.php:79 -msgid "Show approved comments" -msgstr "Afficher les commentaires approuvés" - -#: views/config.php:91 -msgid "Note:" -msgstr "Note :" - -#: views/config.php:116 -msgid "Disconnect this account" -msgstr "Déconnecter ce compte" - -#: views/config.php:122 -msgid "Save Changes" -msgstr "Enregistrer les modifications" - -#: views/config.php:166 -msgid "Next Billing Date" -msgstr "Prochaine date de facturation" - -#: views/config.php:178 -msgid "Upgrade" -msgstr "Mise à jour" - -#: views/config.php:178 -msgid "Change" -msgstr "Changer" - -#: views/notice.php:11 -msgid "Activate your Akismet account" -msgstr "Activez votre compte Akismet" - -#: views/notice.php:14 -msgid "Almost done - activate your account and say goodbye to comment spam" -msgstr "Presque terminé - activez votre compte et dites adieu aux commentaires indésirables" \ No newline at end of file diff --git a/sources/wordpress/wp-content/languages/themes/twentyfourteen-fr_FR.mo b/sources/wordpress/wp-content/languages/themes/twentyfourteen-fr_FR.mo deleted file mode 100644 index fa147cc..0000000 Binary files a/sources/wordpress/wp-content/languages/themes/twentyfourteen-fr_FR.mo and /dev/null differ diff --git a/sources/wordpress/wp-content/languages/themes/twentyfourteen-fr_FR.po b/sources/wordpress/wp-content/languages/themes/twentyfourteen-fr_FR.po deleted file mode 100644 index 04f25f9..0000000 --- a/sources/wordpress/wp-content/languages/themes/twentyfourteen-fr_FR.po +++ /dev/null @@ -1,435 +0,0 @@ -# Translation of Twenty Fourteen in French (France) -# This file is distributed under the same license as the Twenty Fourteen package. -msgid "" -msgstr "" -"PO-Revision-Date: 2014-11-21 09:20:21+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: GlotPress/0.1\n" -"Project-Id-Version: Twenty Fourteen\n" - -#: inc/customizer.php:102 -msgid "The home page features your choice of up to 6 posts prominently displayed in a grid or slider, controlled by a tag; you can change the tag and layout in Appearance → Customize. If no posts match the tag, sticky posts will be displayed instead." -msgstr "La page d’accueil met en avant jusqu’à 6 articles disposés dans une grille ou une galerie défilante, contrôlé par un mot-clé; vous pouvez modifier le mot-clé et la disposition dans Apparence → Personnalisation. Si aucun article ne correspond au mot-clé, un article mis en avant sera affiché à la place. " - -#: inc/widgets.php:59 -msgid "More videos" -msgstr "Plus de vidéos" - -#: inc/widgets.php:63 -msgid "More audio" -msgstr "Plus de fichiers audios" - -#: inc/widgets.php:67 -msgid "More quotes" -msgstr "Plus de citations" - -#: inc/widgets.php:71 -msgid "More links" -msgstr "Plus de liens" - -#: inc/widgets.php:75 -msgid "More galleries" -msgstr "Plus de galeries" - -#: inc/widgets.php:80 -msgid "More asides" -msgstr "Plus d’apartés" - -#. translators: used with More archives link -#: inc/widgets.php:206 -msgid "%s " -msgstr "%s " - -#: inc/customizer.php:37 inc/customizer.php:102 inc/featured-content.php:407 -#: inc/featured-content.php:416 inc/featured-content.php:476 -msgctxt "featured content default tag slug" -msgid "featured" -msgstr "mis-en-avant" - -#: inc/widgets.php:36 -msgid "Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts." -msgstr "Utilisez ce widget pour lister vos articles de type En passant, Citation, Vidéo, Audio, Image, Galerie et Lien les plus récents." - -#. Theme URI of the plugin/theme -msgid "http://wordpress.org/themes/twentyfourteen" -msgstr "http://wordpress.org/themes/twentyfourteen" - -#: inc/customizer.php:36 inc/featured-content.php:406 -msgid "Use a tag to feature your posts. If no posts match the tag, sticky posts will be displayed instead." -msgstr "Utilisez un mot-clé pour mettre vos articles en avant. Si aucun article ne correspond à votre mot-clé, les articles mis en avant seront affichés à la place." - -#: 404.php:17 -msgid "Not Found" -msgstr "Rien de trouvé" - -#: inc/customizer.php:31 -msgid "Display Site Title & Tagline" -msgstr "Afficher le titre du site et son slogan" - -#: inc/customizer.php:104 -msgid "For an in-depth tutorial, and more tips and tricks, visit the Twenty Fourteen documentation." -msgstr "Pour un didacticiel complet et de nombreux trucs et astuces (en anglais), rendez-vous sur la documentation de Twenty Fourteen." - -#: archive.php:34 -msgctxt "monthly archives date format" -msgid "F Y" -msgstr "F Y" - -#: archive.php:37 -msgctxt "yearly archives date format" -msgid "Y" -msgstr "Y" - -#: inc/customizer.php:28 -msgid "Site Title Color" -msgstr "Couleur du titre du site" - -#: inc/featured-content.php:428 -msgid "Tag Name" -msgstr "Nom du mot-clé" - -#: inc/featured-content.php:433 -msgid "Don’t display tag on front end." -msgstr "Ne pas afficher le mot-clé sur la page d’accueil." - -#. Description of the plugin/theme -msgid "In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier." -msgstr "En 2014, notre thème par défaut vous permet de créer un site magazine qui s'adapte à tous les écrans avec superbe design moderne. Mettez en avant votre contenu préféré sur la page d'accueil grâce à une grille ou un diaporama. Utilisez les trois zones de widget pour personnaliser votre site web, et modifiez la mise en page de votre contenu grâce à des modèles pleine page et une page de contributeurs pour mettre vos auteurs en avant. Créer un site magazine avec WordPress n'a jamais été aussi facile." - -#: functions.php:254 -msgid "Previous" -msgstr "Précédent" - -#: functions.php:255 -msgid "Next" -msgstr "Suivant" - -#: 404.php:21 -msgid "It looks like nothing was found at this location. Maybe try a search?" -msgstr "Il semblerait que rien n’ai été trouvé à cette adresse. Essayez peut-être une recherche ?" - -#: author.php:31 -msgid "All posts by %s" -msgstr "Tous les articles par %s" - -#: content-aside.php:17 content-audio.php:17 content-featured-post.php:28 -#: content-gallery.php:17 content-image.php:17 content-link.php:17 -#: content-quote.php:17 content-video.php:17 content.php:19 -msgctxt "Used between list items, there is a space after the comma." -msgid ", " -msgstr ", " - -#: functions.php:182 -msgid "Additional sidebar that appears on the right." -msgstr "Barre latérale supplémentaire apparaissant sur la droite." - -#: functions.php:189 -msgid "Footer Widget Area" -msgstr "Zone de widgets en pied de page" - -#: functions.php:191 -msgid "Appears in the footer section of the site." -msgstr "Apparaît dans le pied de page du site." - -#: functions.php:372 -msgid "%d Article" -msgid_plural "%d Articles" -msgstr[0] "%d article" -msgstr[1] "%d articles" - -#: image.php:65 -msgid "Previous Image" -msgstr "Image précédente" - -#: image.php:66 -msgid "Next Image" -msgstr "Image suivante" - -#: inc/back-compat.php:37 inc/back-compat.php:47 inc/back-compat.php:60 -msgid "Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again." -msgstr "Twenty Fourteen requiert au moins la version 3.6 de WordPress. Vous utilisez la version %s. Veuillez mettre à jour et réessayer." - -#: inc/customizer.php:19 inc/customizer.php:20 -msgid "Background may only be visible on wide screens." -msgstr "Il est possible que le fond ne soit visible que sur des écrans larges." - -#: inc/customizer.php:35 inc/featured-content.php:405 -msgid "Featured Content" -msgstr "Contenu mis en avant" - -#: inc/customizer.php:50 -msgid "Layout" -msgstr "Agencement" - -#: inc/customizer.php:54 -msgid "Grid" -msgstr "Grille" - -#: inc/customizer.php:55 -msgid "Slider" -msgstr "Diaporama" - -#: inc/customizer.php:103 -msgid "Enhance your site design by using Featured Images for posts you’d like to stand out (also known as post thumbnails). This allows you to associate an image with your post without inserting it. Twenty Fourteen uses featured images for posts and pages—above the title—and in the Featured Content area on the home page." -msgstr "Améliorez le design de votre site en utilisant des images en Une pour les articles que vous aimeriez voir ressortir (également nommées \"miniatures d’articles\"). Cela vous permet d’associer une image avec votre article sans l’y insérer. Twenty Fourteen place les images en Une au-dessus du titre pour les articles et les pages, et dans la section \"Contenu mis en avant\" pour la page d’accueil." - -#: inc/template-tags.php:58 -msgid "Posts navigation" -msgstr "Navigation au sein des articles" - -#: inc/template-tags.php:89 -msgid "Published In%title" -msgstr "Publié dans%title" - -#: inc/template-tags.php:91 -msgid "Previous Post%title" -msgstr "Article précédent%title" - -#: inc/template-tags.php:92 -msgid "Next Post%title" -msgstr "Article suivant%title" - -#: inc/widgets.php:34 -msgid "Twenty Fourteen Ephemera" -msgstr "Éphémère de Twenty Fourteen" - -#: inc/widgets.php:62 taxonomy-post_format.php:39 -msgid "Audio" -msgstr "Audio" - -#: inc/widgets.php:162 -msgid "This gallery contains %2$s photo." -msgid_plural "This gallery contains %2$s photos." -msgstr[0] "Cette galerie contient %2$s photo." -msgstr[1] "Cette galerie contient %2$s photos." - -#: inc/widgets.php:255 -msgid "Title:" -msgstr "Titre :" - -#: inc/widgets.php:258 -msgid "Number of posts to show:" -msgstr "Nombre d’articles à afficher :" - -#: inc/widgets.php:261 -msgid "Post format to show:" -msgstr "Format d’article à afficher :" - -#. Template Name of the plugin/theme -msgid "Contributor Page" -msgstr "Page des contributeurs" - -#: category.php:20 -msgid "Category Archives: %s" -msgstr "Archives pour la catégorie %s" - -#: tag.php:22 -msgid "Tag Archives: %s" -msgstr "Archives du mot-clé %s" - -#: archive.php:31 -msgid "Daily Archives: %s" -msgstr "Archives quotidiennes :" - -#: archive.php:34 -msgid "Monthly Archives: %s" -msgstr "Archives mensuelles : %s" - -#: archive.php:37 -msgid "Yearly Archives: %s" -msgstr "Archives annuelles : %s" - -#: archive.php:40 taxonomy-post_format.php:51 -msgid "Archives" -msgstr "Archives" - -#: comments.php:27 -msgid "One thought on “%2$s”" -msgid_plural "%1$s thoughts on “%2$s”" -msgstr[0] "Une réflexion sur “ %2$s ”" -msgstr[1] "%1$s réflexions sur “ %2$s ”" - -#: comments.php:34 comments.php:52 -msgid "Comment navigation" -msgstr "Navigation des commentaires" - -#: comments.php:35 comments.php:53 -msgid "← Older Comments" -msgstr "← Commentaires plus anciens" - -#: comments.php:36 comments.php:54 -msgid "Newer Comments →" -msgstr "Commentaires plus récents →" - -#: comments.php:59 -msgid "Comments are closed." -msgstr "Les commentaires sont fermés." - -#: content-aside.php:48 content-audio.php:48 content-gallery.php:48 -#: content-image.php:48 content-link.php:48 content-page.php:22 -#: content-quote.php:48 content-video.php:48 content.php:56 image.php:54 -msgid "Pages:" -msgstr "Pages :" - -#: content-aside.php:40 content-audio.php:40 content-gallery.php:40 -#: content-image.php:40 content-link.php:40 content-page.php:28 -#: content-quote.php:40 content-video.php:40 content.php:42 image.php:34 -#: page-templates/contributors.php:35 -msgid "Edit" -msgstr "Modifier" - -#: content-aside.php:37 content-audio.php:37 content-gallery.php:37 -#: content-image.php:37 content-link.php:37 content-quote.php:37 -#: content-video.php:37 content.php:38 inc/widgets.php:194 -msgid "Leave a comment" -msgstr "Laisser un commentaire" - -#: content-aside.php:37 content-audio.php:37 content-gallery.php:37 -#: content-image.php:37 content-link.php:37 content-quote.php:37 -#: content-video.php:37 content.php:38 inc/widgets.php:194 -msgid "1 Comment" -msgstr "Un commentaire" - -#: content-aside.php:37 content-audio.php:37 content-gallery.php:37 -#: content-image.php:37 content-link.php:37 content-quote.php:37 -#: content-video.php:37 content.php:38 inc/widgets.php:194 -msgid "% Comments" -msgstr "% commentaires" - -#: content-aside.php:46 content-audio.php:46 content-gallery.php:46 -#: content-image.php:46 content-link.php:46 content-quote.php:46 -#: content-video.php:46 content.php:54 inc/widgets.php:127 inc/widgets.php:172 -msgid "Continue reading " -msgstr "Continuer la lecture " - -#. #-#-#-#-# twentyfourteen.pot (Twenty Fourteen 1.2) #-#-#-#-# -#. Author URI of the plugin/theme -#: footer.php:21 -msgid "http://wordpress.org/" -msgstr "http://wordpress.org/" - -#: footer.php:21 -msgid "Proudly powered by %s" -msgstr "Fièrement propulsé par %s" - -#: functions.php:83 -msgid "Top primary menu" -msgstr "Menu haut principal" - -#: functions.php:84 -msgid "Secondary menu in left sidebar" -msgstr "Menu secondaire dans la barre latérale de gauche" - -#: functions.php:171 -msgid "Primary Sidebar" -msgstr "Barre latérale principale" - -#: functions.php:173 -msgid "Main sidebar that appears on the left." -msgstr "Barre latérale principale qui apparaît à gauche." - -#: functions.php:180 -msgid "Content Sidebar" -msgstr "Barre latérale de contenu" - -#: functions.php:213 -msgctxt "Lato font: on or off" -msgid "on" -msgstr "on" - -#: functions.php:491 -msgid "Page %s" -msgstr "Page %s" - -#: header.php:48 -msgid "Search" -msgstr "Recherche" - -#: header.php:52 -msgid "Primary Menu" -msgstr "Menu principal" - -#: header.php:53 -msgid "Skip to content" -msgstr "Aller au contenu principal" - -#: inc/template-tags.php:85 -msgid "Post navigation" -msgstr "Navigation de l’article" - -#: inc/template-tags.php:50 -msgid "← Previous" -msgstr "← Précédent" - -#: inc/template-tags.php:51 -msgid "Next →" -msgstr "Suivant →" - -#: inc/template-tags.php:109 -msgid "Sticky" -msgstr "Mis en avant" - -#: content-none.php:12 -msgid "Nothing Found" -msgstr "Rien n’a été trouvé" - -#: content-none.php:18 -msgid "Ready to publish your first post? Get started here." -msgstr "Prêt(e) à publier votre premier article? Lancez-vous ici." - -#: content-none.php:22 -msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." -msgstr "Désolé, mais rien ne correspond à votre recherche. Veuillez réessayer avec des mots différents." - -#: content-none.php:27 -msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." -msgstr "Il semble que ce que vous cherchez est introuvable. Essayez avec une recherche." - -#: inc/widgets.php:58 taxonomy-post_format.php:36 -msgid "Videos" -msgstr "Vidéos" - -#: inc/widgets.php:54 taxonomy-post_format.php:33 -msgid "Images" -msgstr "Images" - -#: inc/widgets.php:55 -msgid "More images" -msgstr "Plus d'images" - -#: inc/widgets.php:74 taxonomy-post_format.php:48 -msgid "Galleries" -msgstr "Galeries" - -#: inc/widgets.php:79 taxonomy-post_format.php:30 -msgid "Asides" -msgstr "En passant" - -#: inc/widgets.php:70 taxonomy-post_format.php:45 -msgid "Links" -msgstr "Liens" - -#: inc/widgets.php:66 taxonomy-post_format.php:42 -msgid "Quotes" -msgstr "Citations" - -#: search.php:18 -msgid "Search Results for: %s" -msgstr "Résultats de recherche pour : %s" - -#. #-#-#-#-# twentyfourteen.pot (Twenty Fourteen 1.2) #-#-#-#-# -#. Theme Name of the plugin/theme -#: inc/customizer.php:99 -msgid "Twenty Fourteen" -msgstr "Twenty Fourteen" - -#. Author of the plugin/theme -msgid "the WordPress team" -msgstr "L'équipe de WordPress" - -#. Template Name of the plugin/theme -msgid "Full Width Page" -msgstr "Page plein écran" \ No newline at end of file diff --git a/sources/wordpress/wp-content/languages/themes/twentythirteen-fr_FR.mo b/sources/wordpress/wp-content/languages/themes/twentythirteen-fr_FR.mo deleted file mode 100644 index f5e7b34..0000000 Binary files a/sources/wordpress/wp-content/languages/themes/twentythirteen-fr_FR.mo and /dev/null differ diff --git a/sources/wordpress/wp-content/languages/themes/twentythirteen-fr_FR.po b/sources/wordpress/wp-content/languages/themes/twentythirteen-fr_FR.po deleted file mode 100644 index 95cf599..0000000 --- a/sources/wordpress/wp-content/languages/themes/twentythirteen-fr_FR.po +++ /dev/null @@ -1,316 +0,0 @@ -# Translation of Twenty Thirteen in French (France) -# This file is distributed under the same license as the Twenty Thirteen package. -msgid "" -msgstr "" -"PO-Revision-Date: 2014-03-28 12:32:44+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: GlotPress/0.1\n" -"Project-Id-Version: Twenty Thirteen\n" - -#: 404.php:16 -msgid "Not Found" -msgstr "Introuvable" - -#. Description of the plugin/theme -msgid "The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small." -msgstr "Le thème de WordPress pour 2013 nous ramène au blog, avec un grand nombre de formats d'article, chacun s'affichant à sa propre manière, en toute beauté. Vous y trouverez de nombreux détails de mise en page, à commencer par le jeu de couleurs vives et les images d'en-tête assorties, une superbe typographie et de belles icônes, et une mise en page flexible qui fonctionne sur toutes les tailles d'écrans, grands ou petits." - -#: functions.php:233 -msgid "Appears in the footer section of the site." -msgstr "Apparaît dans le pied de page du site." - -#. Theme URI of the plugin/theme -msgid "http://wordpress.org/themes/twentythirteen" -msgstr "http://wordpress.org/themes/twentythirteen" - -#: image.php:38 -msgid "Link to full-size image" -msgstr "Lien vers l’image originale" - -#: functions.php:231 -msgid "Main Widget Area" -msgstr "Zone principale de widgets" - -#: functions.php:241 -msgid "Secondary Widget Area" -msgstr "Zone secondaire de widgets" - -#: functions.php:243 -msgid "Appears on posts and pages in the sidebar." -msgstr "Apparaît dans la barre latérale des articles et pages." - -#: image.php:39 -msgid "Full resolution" -msgstr "Pleine résolution" - -#: inc/back-compat.php:37 inc/back-compat.php:47 inc/back-compat.php:60 -msgid "Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again." -msgstr "Twenty Thirteen nécessite au moins WordPress 3.6. Vous utilisez la version %s. Veuillez faire une mise à jour et réessayer." - -#: 404.php:21 -msgid "This is somewhat embarrassing, isn’t it?" -msgstr "C’est plutôt gênant, vous ne trouvez pas ?" - -#: 404.php:22 -msgid "It looks like nothing was found at this location. Maybe try a search?" -msgstr "Apparemment, rien n’a été trouvé à cette adresse. Essayez avec recherche ?" - -#: archive.php:29 -msgid "Daily Archives: %s" -msgstr "Archives quotidiennes :" - -#: archive.php:31 -msgid "Monthly Archives: %s" -msgstr "Archives mensuelles : %s" - -#: archive.php:31 -msgctxt "monthly archives date format" -msgid "F Y" -msgstr "F Y" - -#: archive.php:33 -msgid "Yearly Archives: %s" -msgstr "Archives annuelles : %s" - -#: archive.php:33 -msgctxt "yearly archives date format" -msgid "Y" -msgstr "Y" - -#: archive.php:35 -msgid "Archives" -msgstr "Archives" - -#: author-bio.php:26 -msgid "About %s" -msgstr "A propos %s" - -#: author-bio.php:30 -msgid "View all posts by %s " -msgstr "Afficher tous les articles de %s " - -#: author.php:31 -msgid "All posts by %s" -msgstr "Tous les articles par %s" - -#: category.php:19 -msgid "Category Archives: %s" -msgstr "Archives pour la catégorie %s" - -#: comments.php:25 -msgctxt "comments title" -msgid "One thought on “%2$s”" -msgid_plural "%1$s thoughts on “%2$s”" -msgstr[0] "Une réflexion au sujet de « %2$s »" -msgstr[1] "%1$s réflexions au sujet de « %2$s »" - -#: comments.php:45 -msgid "Comment navigation" -msgstr "Navigation des commentaires" - -#: comments.php:46 -msgid "← Older Comments" -msgstr "← Commentaire plus ancien" - -#: comments.php:47 -msgid "Newer Comments →" -msgstr "Commentaires plus récents →" - -#: comments.php:52 -msgid "Comments are closed." -msgstr "Les commentaires sont fermés." - -#: content-aside.php:13 content-audio.php:24 content-gallery.php:24 -#: content-image.php:23 content-link.php:24 content-quote.php:13 -#: content-status.php:13 content-video.php:23 content.php:41 -msgid "Continue reading " -msgstr "Lire la suite " - -#: content-aside.php:14 content-audio.php:25 content-chat.php:24 -#: content-gallery.php:25 content-image.php:24 content-link.php:25 -#: content-quote.php:14 content-status.php:14 content-video.php:24 -#: content.php:42 image.php:70 page.php:35 -msgid "Pages:" -msgstr "Pages :" - -#: content-aside.php:20 content-aside.php:28 content-audio.php:31 -#: content-chat.php:29 content-gallery.php:39 content-image.php:35 -#: content-link.php:19 content-quote.php:25 content-status.php:19 -#: content-video.php:35 content.php:31 image.php:44 page.php:39 -msgid "Edit" -msgstr "Modifier" - -#: functions.php:369 -msgid "Permalink to %s" -msgstr "Permalien vers %s" - -#: content-gallery.php:36 content-image.php:32 content-quote.php:22 -#: content-video.php:32 content.php:49 -msgid "Leave a comment" -msgstr "Laisser un commentaire" - -#: content-gallery.php:36 content-image.php:32 content-quote.php:22 -#: content-video.php:32 content.php:49 -msgid "One comment so far" -msgstr "Un commentaire pour le moment" - -#: content-gallery.php:36 content-image.php:32 content-quote.php:22 -#: content-video.php:32 content.php:49 -msgid "View all % comments" -msgstr "Afficher les % commentaires" - -#: content-none.php:12 -msgid "Nothing Found" -msgstr "Rien n’a été trouvé" - -#: content-none.php:18 -msgid "Ready to publish your first post? Get started here." -msgstr "Prêt à publier votre premier article ? Lancez-vous !" - -#: content-none.php:22 -msgid "Sorry, but nothing matched your search terms. Please try again with different keywords." -msgstr "Désolé, mais rien ne correspond à votre critère de recherche. Veuillez réessayer avec d’autres mots-clés." - -#: content-none.php:27 -msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." -msgstr "Il semblerait que nous ne soyons pas en mesure de trouver votre contenu. Essayez en lançant une recherche." - -#. #-#-#-#-# twentythirteen.pot (Twenty Thirteen 1.3) #-#-#-#-# -#. Author URI of the plugin/theme -#: footer.php:19 -msgid "http://wordpress.org/" -msgstr "http://wordpress.org/" - -#: footer.php:19 -msgid "Semantic Personal Publishing Platform" -msgstr "Plate-forme de publication personnelle à la pointe de la sémantique" - -#: footer.php:19 -msgid "Proudly powered by %s" -msgstr "Fièrement propulsé par %s" - -#: functions.php:97 -msgid "Navigation Menu" -msgstr "Menu de navigation" - -#. Translators: If there are characters in your language that are not -#. * supported by Source Sans Pro, translate this to 'off'. Do not translate -#. * into your own language. -#: functions.php:128 -msgctxt "Source Sans Pro font: on or off" -msgid "on" -msgstr "on" - -#. Translators: If there are characters in your language that are not -#. * supported by Bitter, translate this to 'off'. Do not translate into your -#. * own language. -#: functions.php:134 -msgctxt "Bitter font: on or off" -msgid "on" -msgstr "on" - -#: functions.php:218 -msgid "Page %s" -msgstr "Page %s" - -#: functions.php:266 -msgid "Posts navigation" -msgstr "Navigation des articles" - -#: functions.php:270 -msgid " Older posts" -msgstr " Articles plus anciens" - -#: functions.php:274 -msgid "Newer posts " -msgstr "Articles plus récents " - -#: functions.php:300 -msgid "Post navigation" -msgstr "Navigation des articles" - -#: functions.php:303 -msgctxt "Previous post link" -msgid " %title" -msgstr " %title" - -#: functions.php:304 -msgctxt "Next post link" -msgid "%title " -msgstr "%title " - -#: functions.php:322 -msgid "Sticky" -msgstr "Mis en avant" - -#. Translators: used between list items, there is a space after the comma. -#: functions.php:328 functions.php:334 -msgid ", " -msgstr ", " - -#: functions.php:343 -msgid "View all posts by %s" -msgstr "Afficher tous les articles par %s" - -#: functions.php:363 -msgctxt "1: post format name. 2: date" -msgid "%1$s on %2$s" -msgstr "%1$s le %2$s" - -#: header.php:43 -msgid "Menu" -msgstr "Menu" - -#: header.php:44 -msgid "Skip to content" -msgstr "Aller au contenu principal" - -#: image.php:22 -msgid "Published on in %5$s" -msgstr "Publié le dans %5$s" - -#: image.php:51 -msgid " Previous" -msgstr " Précédent" - -#: image.php:52 -msgid "Next " -msgstr "Suivant " - -#: inc/custom-header.php:49 -msgctxt "header image description" -msgid "Circle" -msgstr "Cercle" - -#: inc/custom-header.php:54 -msgctxt "header image description" -msgid "Diamond" -msgstr "Losange" - -#: inc/custom-header.php:59 -msgctxt "header image description" -msgid "Star" -msgstr "Étoile" - -#: search.php:18 -msgid "Search Results for: %s" -msgstr "Résultats de recherche pour %s" - -#: tag.php:21 -msgid "Tag Archives: %s" -msgstr "Archives du mot-clé %s" - -#: taxonomy-post_format.php:23 -msgid "%s Archives" -msgstr "Archives des %s" - -#. Theme Name of the plugin/theme -msgid "Twenty Thirteen" -msgstr "Twenty Thirteen" - -#. Author of the plugin/theme -msgid "the WordPress team" -msgstr "L’équipe WordPress" \ No newline at end of file diff --git a/sources/wordpress/wp-content/languages/themes/twentytwelve-fr_FR.mo b/sources/wordpress/wp-content/languages/themes/twentytwelve-fr_FR.mo deleted file mode 100644 index 5dcef02..0000000 Binary files a/sources/wordpress/wp-content/languages/themes/twentytwelve-fr_FR.mo and /dev/null differ diff --git a/sources/wordpress/wp-content/languages/themes/twentytwelve-fr_FR.po b/sources/wordpress/wp-content/languages/themes/twentytwelve-fr_FR.po deleted file mode 100644 index c974692..0000000 --- a/sources/wordpress/wp-content/languages/themes/twentytwelve-fr_FR.po +++ /dev/null @@ -1,327 +0,0 @@ -# Translation of Twenty Twelve in French (France) -# This file is distributed under the same license as the Twenty Twelve package. -msgid "" -msgstr "" -"PO-Revision-Date: 2013-06-09 19:54:56+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: GlotPress/0.1\n" -"Project-Id-Version: Twenty Twelve\n" - -#. Theme URI of the plugin/theme -msgid "http://wordpress.org/themes/twentytwelve" -msgstr "http://wordpress.org/themes/twentytwelve" - -#: functions.php:349 -msgid "Reply" -msgstr "Répondre" - -#: image.php:26 -msgid "Published at %4$s × %5$s in %8$s." -msgstr "Publié le à %4$s × %5$s dans %8$s." - -#. Description of the plugin/theme -msgid "The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background." -msgstr "Le thème 2012 de WordPress est un thème conçu pour s’afficher de la meilleure manière sur n’importe quelle taille d’écran. Parmi ses fonctionnalités se trouvent un modèle de page d’accueil avec ses propres widgets, une police d’affichage optionnelle, un design pour les formats d’article à la fois sur l’index et en vue individuelle, et un modèle facultatif sans barre latérale. Vous pouvez le faire vôtre avec un menu personnalisé, une image d’en-tête, et un fond d’écran." - -#. translators: If there are characters in your language that are not supported -#. * by Open Sans, translate this to 'off'. Do not translate into your own -#. language. -#: functions.php:101 -msgctxt "Open Sans font: on or off" -msgid "on" -msgstr "on" - -#. translators: To add an additional Open Sans character subset specific to -#. your language, -#. * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate -#. into your own language. -#: functions.php:107 -msgctxt "Open Sans font: add new subset (greek, cyrillic, vietnamese)" -msgid "no-subset" -msgstr "no-subset " - -#: functions.php:244 -msgid "Appears on posts and pages except the optional Front Page template, which has its own widgets" -msgstr "Apparaît sur les articles et les pages, sauf le modèle facultatif Page d’Accueil, qui dispose de ses propres widgets." - -#: functions.php:252 -msgid "First Front Page Widget Area" -msgstr "Première zone de la Page d’Accueil" - -#: functions.php:254 functions.php:264 -msgid "Appears when using the optional Front Page template with a page set as Static Front Page" -msgstr "Apparaît lorsque vous utilisez le modèle facultatif Page d’Accueil avec une page configurée en Page d’Accueil Statique." - -#: functions.php:262 -msgid "Second Front Page Widget Area" -msgstr "Seconde zone de la Page d’Accueil" - -#. Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's -#. name. -#: functions.php:390 -msgid "This entry was posted in %1$s and tagged %2$s on %3$s by %4$s." -msgstr "Cette entrée a été publiée dans %1$s, et marquée avec %2$s, le %3$s par %4$s." - -#: functions.php:392 -msgid "This entry was posted in %1$s on %3$s by %4$s." -msgstr "Cette entrée a été publiée dans %1$s le %3$s par %4$s." - -#: functions.php:394 -msgid "This entry was posted on %3$s by %4$s." -msgstr "Cette entrée a été publiée le %3$s par %4$s." - -#: single.php:21 -msgctxt "Previous post link" -msgid "←" -msgstr "←" - -#: single.php:22 -msgctxt "Next post link" -msgid "→" -msgstr "→" - -#. Template Name of the plugin/theme -msgid "Front Page Template" -msgstr "Modèle de Page d’Accueil" - -#. Template Name of the plugin/theme -msgid "Full-width Page Template, No Sidebar" -msgstr "Modèle de page pleine largeur, sans barre latérale" - -#: content.php:16 -msgid "Featured post" -msgstr "Article mis en avant" - -#: functions.php:213 -msgid "Page %s" -msgstr "Page %s" - -#: content-link.php:12 -msgid "Link" -msgstr "Lien" - -#: content-aside.php:23 content-image.php:23 content-link.php:21 -#: content-quote.php:20 content-status.php:37 content.php:33 -msgid "% Replies" -msgstr "% réponses" - -#: content-aside.php:23 content-image.php:23 content-link.php:21 -#: content-quote.php:20 content-status.php:37 content.php:33 -msgid "1 Reply" -msgstr "1 réponse" - -#: 404.php:21 -msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." -msgstr "Il semblerait que nous ne soyons pas en mesure de trouver votre contenu. Essayez en lançant une recherche." - -#: content-none.php:17 index.php:53 -msgid "Apologies, but no results were found. Perhaps searching will help find a related post." -msgstr "Toutes nos excuses, mais votre requête n’a donné aucun résultat. Peut-être qu’une recherche peut vous indiquer un article lié." - -#: functions.php:328 -msgid "Post author" -msgstr "Auteur de l’article" - -#: functions.php:313 -msgid "(Edit)" -msgstr "(Modifier)" - -#: header.php:43 -msgid "Menu" -msgstr "Menu" - -#: header.php:44 -msgid "Skip to content" -msgstr "Aller au contenu principal" - -#: index.php:38 -msgid "No posts to display" -msgstr "Aucun article à afficher" - -#: index.php:42 -msgid "Ready to publish your first post? Get started here." -msgstr "Prêt à publier votre premier article ? Lancez-vous !" - -#: functions.php:384 -msgid "View all posts by %s" -msgstr "Afficher tous les articles par %s" - -#: image.php:41 -msgid "← Previous" -msgstr "← Précédent" - -#: image.php:42 -msgid "Next →" -msgstr "Suivant →" - -#: search.php:18 -msgid "Search Results for: %s" -msgstr "Résultats de recherche pour %s" - -#: search.php:38 -msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords." -msgstr "Désolé, mais rien ne correspond à votre critère de recherche. Veuillez réessayer avec d’autres mots-clés." - -#: archive.php:35 -msgid "Archives" -msgstr "Archives" - -#. Theme Name of the plugin/theme -msgid "Twenty Twelve" -msgstr "Twenty Twelve" - -#. Author of the plugin/theme -msgid "the WordPress team" -msgstr "L’équipe WordPress" - -#: functions.php:340 -msgid "Your comment is awaiting moderation." -msgstr "Votre commentaire est en attente de validation." - -#. translators: 1: date, 2: time -#: functions.php:334 -msgid "%1$s at %2$s" -msgstr "%1$s à %2$s" - -#: content-aside.php:20 content-link.php:18 content-quote.php:17 -#: content-status.php:15 -msgid "Permalink to %s" -msgstr "Permalien vers %s" - -#: functions.php:242 -msgid "Main Sidebar" -msgstr "Colonne principale" - -#: functions.php:286 single.php:20 -msgid "Post navigation" -msgstr "Navigation des articles" - -#: functions.php:287 -msgid " Older posts" -msgstr " Articles plus anciens" - -#: functions.php:288 -msgid "Newer posts " -msgstr "Articles plus récents " - -#: functions.php:313 -msgid "Pingback:" -msgstr "Ping :" - -#: functions.php:64 -msgid "Primary Menu" -msgstr "Menu principal" - -#: footer.php:16 -msgid "Proudly powered by %s" -msgstr "Fièrement propulsé par %s" - -#: content-aside.php:26 content-image.php:26 content-link.php:24 -#: content-page.php:24 content-quote.php:23 content-status.php:40 -#: content.php:51 functions.php:345 image.php:37 -msgid "Edit" -msgstr "Modifier" - -#: comments.php:44 -msgid "Newer Comments →" -msgstr "Commentaires plus récents →" - -#: comments.php:53 -msgid "Comments are closed." -msgstr "Les commentaires sont fermés." - -#: author.php:63 content.php:62 -msgid "About %s" -msgstr "A propos %s" - -#: comments.php:31 -msgid "One thought on “%2$s”" -msgid_plural "%1$s thoughts on “%2$s”" -msgstr[0] "Une réflexion au sujet de « %2$s »" -msgstr[1] "%1$s réflexions au sujet de « %2$s »" - -#: archive.php:31 -msgctxt "monthly archives date format" -msgid "F Y" -msgstr "F Y" - -#: archive.php:33 -msgid "Yearly Archives: %s" -msgstr "Archives annuelles : %s" - -#: archive.php:33 -msgctxt "yearly archives date format" -msgid "Y" -msgstr "Y" - -#: tag.php:21 -msgid "Tag Archives: %s" -msgstr "Archives du mot-clé %s" - -#: category.php:21 -msgid "Category Archives: %s" -msgstr "Archives pour la catégorie %s" - -#: archive.php:29 -msgid "Daily Archives: %s" -msgstr "Archives quotidiennes :" - -#: archive.php:31 -msgid "Monthly Archives: %s" -msgstr "Archives mensuelles : %s" - -#: content-aside.php:15 content-image.php:13 content-link.php:14 -#: content-quote.php:13 content-status.php:31 content.php:44 -msgid "Continue reading " -msgstr "Lire la suite " - -#: content-aside.php:23 content-image.php:23 content-link.php:21 -#: content-quote.php:20 content-status.php:37 content.php:33 -msgid "Leave a reply" -msgstr "Laisser une réponse" - -#. #-#-#-#-# twentytwelve.pot (Twenty Twelve 1.5) #-#-#-#-# -#. Author URI of the plugin/theme -#: footer.php:16 -msgid "http://wordpress.org/" -msgstr "http://wordpress.org/" - -#: footer.php:16 -msgid "Semantic Personal Publishing Platform" -msgstr "Plate-forme de publication personnelle à la pointe de la sémantique" - -#: content-none.php:13 index.php:49 search.php:34 -msgid "Nothing Found" -msgstr "Rien n’a été trouvé" - -#: author.php:32 -msgid "Author Archives: %s" -msgstr "Archives de l’auteur : %s" - -#: comments.php:42 -msgid "Comment navigation" -msgstr "Navigation des commentaires" - -#: comments.php:43 -msgid "← Older Comments" -msgstr "← Commentaire plus ancien" - -#. Translators: used between list items, there is a space after the comma. -#: functions.php:370 functions.php:373 -msgid ", " -msgstr ", " - -#: content-page.php:21 content.php:45 image.php:102 -msgid "Pages:" -msgstr "Pages :" - -#: content.php:66 -msgid "View all posts by %s " -msgstr "Afficher tous les articles de %s " - -#: 404.php:17 -msgid "This is somewhat embarrassing, isn’t it?" -msgstr "C’est plutôt gênant, vous ne trouvez pas ?" \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/.htaccess b/sources/wordpress/wp-content/plugins/akismet/.htaccess deleted file mode 100644 index 6d8b4ec..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/.htaccess +++ /dev/null @@ -1,11 +0,0 @@ -Order Deny,Allow -Deny from all - - - Allow from all - - -#allow access to any image - - Allow from all - \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/_inc/akismet.css b/sources/wordpress/wp-content/plugins/akismet/_inc/akismet.css deleted file mode 100644 index ff076aa..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/_inc/akismet.css +++ /dev/null @@ -1,361 +0,0 @@ - -#submitted-on { - position: relative; -} -#the-comment-list .author .akismet-user-comment-count { - display: inline; -} -#the-comment-list .author a span { - text-decoration: none; - color: #999; -} -#the-comment-list .author a span.akismet-span-link { - text-decoration: inherit; - color: inherit; -} -#the-comment-list .remove_url { - margin-left: 3px; - color: #999; - padding: 2px 3px 2px 0; -} -#the-comment-list .remove_url:hover { - color: #A7301F; - font-weight: bold; - padding: 2px 2px 2px 0; -} -#dashboard_recent_comments .akismet-status { - display: none; -} -.akismet-status { - float: right; -} -.akismet-status a { - color: #AAA; - font-style: italic; -} -span.comment-link a { - text-decoration: underline; -} -span.comment-link:after { - content: " "attr(title) " "; - color: #aaa; - text-decoration: none; -} -.mshot-arrow { - width: 0; - height: 0; - border-top: 10px solid transparent; - border-bottom: 10px solid transparent; - border-right: 10px solid #5C5C5C; - position: absolute; - left: -6px; - top: 91px; -} -.mshot-container { - background: #5C5C5C; - position: absolute; - top: -94px; - padding: 7px; - width: 450px; - height: 338px; - z-index: 20000; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-border-radius: 6px; -} -h2.ak-header { - padding: 30px; - background: #649316 url('img/logo-full-2x.png') no-repeat 20px center; - background-size: 185px 33px; - height: 33px; - text-indent: -9999em; - margin-right: 10px; -} -.checkforspam { - display: inline-block !important; -} -.checkforspam-spinner { - display: inline-block; - margin-top: 7px; -} - -.config-wrap { - margin-top: 2em; - max-width: 700px; -} - -.activate-option { - background: #e3e3e3; - border-radius: 3px; - margin-bottom: 30px; - overflow: hidden; - padding: 20px; -} -.activate-option.clicked { - background: #649316; - color: #fff; -} -.activate-option.clicked:hover { - background: #68802E; - color: #fff; -} - -.activate-option .button.button-secondary { - margin: 15px 0; -} - -.activate-option p { - margin: 10px 0 10px; -} - -.activate-highlight { - background: #fff; - padding: 30px; - margin-right: 10px; -} - -.activate-highlight.secondary { - background: #ddd; - padding: 20px 30px; -} - -.activate-highlight h3 { - margin: 0 0 0.3em; -} -.activate-highlight p { - color: #777; -} -.activate-highlight .button-primary { - margin-top: 15px; -} - -#akismet-enter-api-key .regular-text { - width: 18em; - margin-top: 15px; -} - -.right { - float: right; -} - -.alert-text { - color: #dd3d36; -} -.success { - color: #649316; -} -.option-description { - float: left; - font-size: 16px; -} -.option-description span { - color: #666; - display: block; - font-size: 14px; - margin-top: 5px; -} -.option-action { - float: right; -} -.key-config-link { - font-size: 14px; - margin-left: 20px; -} -.jetpack-account { - float: left; - font-size: 18px; - margin-right: 40px; -} -.small-heading { - color: #777; - display: block; - font-size: 12px; - font-weight: bold; - margin-bottom: 5px; - text-transform: uppercase; -} -.inline-label { - background: #ddd; - border-radius: 3px; - font-size: 11px; - padding: 3px 8px; - text-transform: uppercase; -} -.inline-label.alert { - background: #e54747; - color: #fff; -} -.jetpack-account .inline-label { - margin-left: 5px; -} -.option-action .manual-key { - margin-top: 7px; -} - -.alert { - border: 1px solid #e5e5e5; - padding: 0.4em 1em 1.4em 1em; - border-radius: 3px; - -webkit-border-radius: 3px; - border-width: 1px; - border-style: solid; -} - -.alert h3.key-status { - color: #fff; - margin: 1em 0 0.5em 0; -} - -.alert.critical { - background-color: #993300; -} - -.alert.active { - background-color: #649316; -} - -.alert p.key-status { - font-size: 24px; -} - -.alert p.description { - color:#fff; - font-size: 14px; - margin: 0 0; - font-style: normal; -} - -.alert p.description a, -.alert p.description a, -.alert p.description a, -.alert p.description a { - color: #fff; -} - -.new-snapshot { - margin-top: 1em; - padding: 1em; - text-align: center; -} - -.new-snapshot.stats { - background: #fff; - border: 1px solid #e5e5e5; -} - -.new-snapshot h3 { - background: #f5f5f5; - color: #888; - font-size: 11px; - margin: 0; - padding: 3px; -} - -.new-snapspot ul { - font-size: 12px; - width: 100%; -} - -.new-snapshot ul li { - color: #999; - float: left; - font-size: 11px; - padding: 0 20px; - text-transform: uppercase; - width: 33%; - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - -ms-box-sizing: border-box; -} - -.new-snapshot.stats ul li:first-child, -.new-snapshot.stats ul li:nth-child(2) { - border-right:1px dotted #ccc; -} - -.new-snapshot.account ul li:nth-child(2) { - border-right: none; -} - -.new-snapshot ul li span { - color: #52accc; - display: block; - font-size: 32px; - font-weight: lighter; - line-height: 1.5em; -} - -.new-snapshot.stats { -} - -.new-snapshot.account, -.new-snapshot.settings { - float: left; - padding: 0; - text-align: left; - width: 50%; - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - -ms-box-sizing: border-box; -} - -.account-container { - background: #fff; - border: 1px solid #e5e5e5; - margin-right: 0.5em; -} - -.settings-container { - background: #fff; - border: 1px solid #e5e5e5; - margin-left: 0.5em; -} - -.new-snapshot.account ul li { - width:100% -} - -.new-snapshot.account ul li span { - font-size: 14px; - font-weight: normal; -} - - -.new-snapshot.settings ul li { - border: none; - display: block; - width:100% -} - -.new-snapshot.settings ul li span { - display: block; - font-size: 14px; - font-weight: normal; -} - -.new-snapshot.settings p.submit { - margin: 0; - text-align: center; -} - -.akismet-settings th.strictness { - vertical-align: top; - padding-top: 15px; -} - -.akismet-settings input[type=text] { - width: 75%; -} - -.akismet-settings span.note{ - float: left; - padding-left: 23px; - font-size: 75%; - margin-top: -10px; -} - -.clearfix { - clear:both; -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/_inc/akismet.js b/sources/wordpress/wp-content/plugins/akismet/_inc/akismet.js deleted file mode 100644 index aa0aab4..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/_inc/akismet.js +++ /dev/null @@ -1,158 +0,0 @@ -jQuery( function ( $ ) { - $( 'a.activate-option' ).click( function(){ - var link = $( this ); - if ( link.hasClass( 'clicked' ) ) { - link.removeClass( 'clicked' ); - } - else { - link.addClass( 'clicked' ); - } - $( '.toggle-have-key' ).slideToggle( 'slow', function() {}); - return false; - }); - $('.akismet-status').each(function () { - var thisId = $(this).attr('commentid'); - $(this).prependTo('#comment-' + thisId + ' .column-comment'); - }); - $('.akismet-user-comment-count').each(function () { - var thisId = $(this).attr('commentid'); - $(this).insertAfter('#comment-' + thisId + ' .author strong:first').show(); - }); - $('#the-comment-list').find('tr.comment, tr[id ^= "comment-"]').find('.column-author a[title ^= "http://"]').each(function () { - var thisTitle = $(this).attr('title'); - thisCommentId = $(this).parents('tr:first').attr('id').split("-"); - - $(this).attr("id", "author_comment_url_"+ thisCommentId[1]); - - if (thisTitle) { - $(this).after( - $( 'x' ) - .attr( 'commentid', thisCommentId[1] ) - .attr( 'title', WPAkismet.strings['Remove this URL'] ) - ); - } - }); - $('.remove_url').live('click', function () { - var thisId = $(this).attr('commentid'); - var data = { - action: 'comment_author_deurl', - _wpnonce: WPAkismet.comment_author_url_nonce, - id: thisId - }; - $.ajax({ - url: ajaxurl, - type: 'POST', - data: data, - beforeSend: function () { - // Removes "x" link - $("a[commentid='"+ thisId +"']").hide(); - // Show temp status - $("#author_comment_url_"+ thisId).html( $( '' ).text( WPAkismet.strings['Removing...'] ) ); - }, - success: function (response) { - if (response) { - // Show status/undo link - $("#author_comment_url_"+ thisId) - .attr('cid', thisId) - .addClass('akismet_undo_link_removal') - .html( - $( '' ).text( WPAkismet.strings['URL removed'] ) - ) - .append( ' ' ) - .append( - $( '' ) - .text( WPAkismet.strings['(undo)'] ) - .addClass( 'akismet-span-link' ) - ); - } - } - }); - - return false; - }); - $('.akismet_undo_link_removal').live('click', function () { - var thisId = $(this).attr('cid'); - var thisUrl = $(this).attr('href').replace("http://www.", "").replace("http://", ""); - var data = { - action: 'comment_author_reurl', - _wpnonce: WPAkismet.comment_author_url_nonce, - id: thisId, - url: thisUrl - }; - $.ajax({ - url: ajaxurl, - type: 'POST', - data: data, - beforeSend: function () { - // Show temp status - $("#author_comment_url_"+ thisId).html( $( '' ).text( WPAkismet.strings['Re-adding...'] ) ); - }, - success: function (response) { - if (response) { - // Add "x" link - $("a[commentid='"+ thisId +"']").show(); - // Show link - $("#author_comment_url_"+ thisId).removeClass('akismet_undo_link_removal').html(thisUrl); - } - } - }); - - return false; - }); - $('a[id^="author_comment_url"], tr.pingback td.column-author a:first-of-type').mouseover(function () { - var wpcomProtocol = ( 'https:' === location.protocol ) ? 'https://' : 'http://'; - // Need to determine size of author column - var thisParentWidth = $(this).parent().width(); - // It changes based on if there is a gravatar present - thisParentWidth = ($(this).parent().find('.grav-hijack').length) ? thisParentWidth - 42 + 'px' : thisParentWidth + 'px'; - if ($(this).find('.mShot').length == 0 && !$(this).hasClass('akismet_undo_link_removal')) { - var self = $( this ); - $('.widefat td').css('overflow', 'visible'); - $(this).css('position', 'relative'); - var thisHref = $.URLEncode( $(this).attr('href') ); - $(this).append('
      '); - setTimeout(function () { - self.find( '.mshot-image' ).attr('src', '//s0.wordpress.com/mshots/v1/'+thisHref+'?w=450&r=2'); - }, 6000); - setTimeout(function () { - self.find( '.mshot-image' ).attr('src', '//s0.wordpress.com/mshots/v1/'+thisHref+'?w=450&r=3'); - }, 12000); - } else { - $(this).find('.mShot').css('left', thisParentWidth).show(); - } - }).mouseout(function () { - $(this).find('.mShot').hide(); - }); - $('.checkforspam:not(.button-disabled)').click( function(e) { - $('.checkforspam:not(.button-disabled)').addClass('button-disabled'); - $('.checkforspam-spinner').addClass( 'spinner' ); - akismet_check_for_spam(0, 100); - e.preventDefault(); - }); - - function akismet_check_for_spam(offset, limit) { - $.post( - ajaxurl, - { - 'action': 'akismet_recheck_queue', - 'offset': offset, - 'limit': limit - }, - function(result) { - if (result.processed < limit) { - window.location.reload(); - } - else { - akismet_check_for_spam(offset + limit, limit); - } - } - ); - } -}); -// URL encode plugin -jQuery.extend({URLEncode:function(c){var o='';var x=0;c=c.toString();var r=/(^[a-zA-Z0-9_.]*)/; - while(x1 && m[1]!=''){o+=m[1];x+=m[1].length; - }else{if(c[x]==' ')o+='+';else{var d=c.charCodeAt(x);var h=d.toString(16); - o+='%'+(h.length<2?'0':'')+h.toUpperCase();}x++;}}return o;} -}); diff --git a/sources/wordpress/wp-content/plugins/akismet/_inc/form.js b/sources/wordpress/wp-content/plugins/akismet/_inc/form.js deleted file mode 100644 index 3a5be8a..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/_inc/form.js +++ /dev/null @@ -1,30 +0,0 @@ -var ak_js = document.getElementById( "ak_js" ); - -if ( ! ak_js ) { - ak_js = document.createElement( 'input' ); - ak_js.setAttribute( 'id', 'ak_js' ); - ak_js.setAttribute( 'name', 'ak_js' ); - ak_js.setAttribute( 'type', 'hidden' ); -} -else { - ak_js.parentNode.removeChild( ak_js ); -} - -ak_js.setAttribute( 'value', ( new Date() ).getTime() ); - -var commentForm = document.getElementById( 'commentform' ); - -if ( commentForm ) { - commentForm.appendChild( ak_js ); -} -else { - var replyRowContainer = document.getElementById( 'replyrow' ); - - if ( replyRowContainer ) { - var children = replyRowContainer.getElementsByTagName( 'td' ); - - if ( children.length > 0 ) { - children[0].appendChild( ak_js ); - } - } -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/_inc/img/logo-full-2x.png b/sources/wordpress/wp-content/plugins/akismet/_inc/img/logo-full-2x.png deleted file mode 100644 index a9bed8b..0000000 Binary files a/sources/wordpress/wp-content/plugins/akismet/_inc/img/logo-full-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-content/plugins/akismet/akismet.php b/sources/wordpress/wp-content/plugins/akismet/akismet.php deleted file mode 100644 index 68289a3..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/akismet.php +++ /dev/null @@ -1,59 +0,0 @@ -protect your blog from comment and trackback spam
      . It keeps your site protected from spam even while you sleep. To get started: 1) Click the "Activate" link to the left of this description, 2) Sign up for an Akismet API key, and 3) Go to your Akismet configuration page, and save your API key. -Version: 3.0.2 -Author: Automattic -Author URI: http://automattic.com/wordpress-plugins/ -License: GPLv2 or later -Text Domain: akismet -*/ - -/* -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*/ - -// Make sure we don't expose any info if called directly -if ( !function_exists( 'add_action' ) ) { - echo 'Hi there! I\'m just a plugin, not much I can do when called directly.'; - exit; -} - -define( 'AKISMET_VERSION', '3.0.2' ); -define( 'AKISMET__MINIMUM_WP_VERSION', '3.1' ); -define( 'AKISMET__PLUGIN_URL', plugin_dir_url( __FILE__ ) ); -define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -define( 'AKISMET_DELETE_LIMIT', 100000 ); - -register_activation_hook( __FILE__, array( 'Akismet', 'plugin_activation' ) ); -register_deactivation_hook( __FILE__, array( 'Akismet', 'plugin_deactivation' ) ); - -require_once( AKISMET__PLUGIN_DIR . 'class.akismet.php' ); -require_once( AKISMET__PLUGIN_DIR . 'class.akismet-widget.php' ); - -add_action( 'init', array( 'Akismet', 'init' ) ); - -if ( is_admin() ) { - require_once( AKISMET__PLUGIN_DIR . 'class.akismet-admin.php' ); - add_action( 'init', array( 'Akismet_Admin', 'init' ) ); -} - -//add wrapper class around deprecated akismet functions that are referenced elsewhere -require_once( AKISMET__PLUGIN_DIR . 'wrapper.php' ); - diff --git a/sources/wordpress/wp-content/plugins/akismet/class.akismet-admin.php b/sources/wordpress/wp-content/plugins/akismet/class.akismet-admin.php deleted file mode 100644 index a1c712e..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/class.akismet-admin.php +++ /dev/null @@ -1,862 +0,0 @@ -'.__('Settings', 'akismet').''; - array_unshift( $links, $settings_link ); - return $links; - } - - public static function load_menu() { - if ( class_exists( 'Jetpack' ) ) - $hook = add_submenu_page( 'jetpack', __( 'Akismet' , 'akismet'), __( 'Akismet' , 'akismet'), 'manage_options', 'akismet-key-config', array( 'Akismet_Admin', 'display_page' ) ); - else - $hook = add_options_page( __('Akismet', 'akismet'), __('Akismet', 'akismet'), 'manage_options', 'akismet-key-config', array( 'Akismet_Admin', 'display_page' ) ); - - if ( version_compare( $GLOBALS['wp_version'], '3.3', '>=' ) ) { - add_action( "load-$hook", array( 'Akismet_Admin', 'admin_help' ) ); - } - } - - public static function load_resources() { - global $hook_suffix; - - if ( in_array( $hook_suffix, array( - 'index.php', # dashboard - 'edit-comments.php', - 'comment.php', - 'post.php', - 'settings_page_akismet-key-config', - 'jetpack_page_akismet-key-config', - ) ) ) { - wp_register_style( 'akismet.css', AKISMET__PLUGIN_URL . '_inc/akismet.css', array(), AKISMET_VERSION ); - wp_enqueue_style( 'akismet.css'); - - wp_register_script( 'akismet.js', AKISMET__PLUGIN_URL . '_inc/akismet.js', array('jquery','postbox'), AKISMET_VERSION ); - wp_enqueue_script( 'akismet.js' ); - wp_localize_script( 'akismet.js', 'WPAkismet', array( - 'comment_author_url_nonce' => wp_create_nonce( 'comment_author_url_nonce' ), - 'strings' => array( - 'Remove this URL' => __( 'Remove this URL' , 'akismet'), - 'Removing...' => __( 'Removing...' , 'akismet'), - 'URL removed' => __( 'URL removed' , 'akismet'), - '(undo)' => __( '(undo)' , 'akismet'), - 'Re-adding...' => __( 'Re-adding...' , 'akismet'), - ) - ) ); - } - } - - /** - * Add help to the Akismet page - * - * @return false if not the Akismet page - */ - public static function admin_help() { - $current_screen = get_current_screen(); - - // Screen Content - if ( current_user_can( 'manage_options' ) ) { - if ( !Akismet::get_api_key() || ( isset( $_GET['view'] ) && $_GET['view'] == 'start' ) ) { - //setup page - $current_screen->add_help_tab( - array( - 'id' => 'overview', - 'title' => __( 'Overview' , 'akismet'), - 'content' => - '

      ' . esc_html__( 'Akismet Setup' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'Akismet filters out your comment and trackback spam for you, so you can focus on more important things.' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'On this page, you are able to setup the Akismet plugin.' , 'akismet') . '

      ', - ) - ); - - $current_screen->add_help_tab( - array( - 'id' => 'setup-signup', - 'title' => __( 'New to Akismet' , 'akismet'), - 'content' => - '

      ' . esc_html__( 'Akismet Setup' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'You need to enter an API key to activate the Akismet service on your site.' , 'akismet') . '

      ' . - '

      ' . sprintf( __( 'Signup for an account on %s to get an API Key.' , 'akismet'), 'Akismet.com' ) . '

      ', - ) - ); - - $current_screen->add_help_tab( - array( - 'id' => 'setup-manual', - 'title' => __( 'Enter an API Key' , 'akismet'), - 'content' => - '

      ' . esc_html__( 'Akismet Setup' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'If you already have an API key' , 'akismet') . '

      ' . - '
        ' . - '
      1. ' . esc_html__( 'Copy and paste the API key into the text field.' , 'akismet') . '
      2. ' . - '
      3. ' . esc_html__( 'Click the Use this Key button.' , 'akismet') . '
      4. ' . - '
      ', - ) - ); - } - elseif ( isset( $_GET['view'] ) && $_GET['view'] == 'stats' ) { - //stats page - $current_screen->add_help_tab( - array( - 'id' => 'overview', - 'title' => __( 'Overview' , 'akismet'), - 'content' => - '

      ' . esc_html__( 'Akismet Stats' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'Akismet filters out your comment and trackback spam for you, so you can focus on more important things.' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'On this page, you are able to view stats on spam filtered on your site.' , 'akismet') . '

      ', - ) - ); - } - else { - //configuration page - $current_screen->add_help_tab( - array( - 'id' => 'overview', - 'title' => __( 'Overview' , 'akismet'), - 'content' => - '

      ' . esc_html__( 'Akismet Configuration' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'Akismet filters out your comment and trackback spam for you, so you can focus on more important things.' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'On this page, you are able to enter/remove an API key, view account information and view spam stats.' , 'akismet') . '

      ', - ) - ); - - $current_screen->add_help_tab( - array( - 'id' => 'settings', - 'title' => __( 'Settings' , 'akismet'), - 'content' => - '

      ' . esc_html__( 'Akismet Configuration' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'API Key' , 'akismet') . ' - ' . esc_html__( 'Enter/remove an API key.' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'Comments' , 'akismet') . ' - ' . esc_html__( 'Show the number of approved comments beside each comment author in the comments list page.' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'Strictness' , 'akismet') . ' - ' . esc_html__( 'Choose to either discard the worst spam automatically or to always put all spam in spam folder.' , 'akismet') . '

      ', - ) - ); - - $current_screen->add_help_tab( - array( - 'id' => 'account', - 'title' => __( 'Account' , 'akismet'), - 'content' => - '

      ' . esc_html__( 'Akismet Configuration' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'Subscription Type' , 'akismet') . ' - ' . esc_html__( 'The Akismet subscription plan' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'Status' , 'akismet') . ' - ' . esc_html__( 'The subscription status - active, cancelled or suspended' , 'akismet') . '

      ', - ) - ); - } - } - - // Help Sidebar - $current_screen->set_help_sidebar( - '

      ' . esc_html__( 'For more information:' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'Akismet FAQ' , 'akismet') . '

      ' . - '

      ' . esc_html__( 'Akismet Support' , 'akismet') . '

      ' - ); - } - - public static function enter_api_key() { - if ( function_exists('current_user_can') && !current_user_can('manage_options') ) - die(__('Cheatin’ uh?', 'akismet')); - - if ( !wp_verify_nonce( $_POST['_wpnonce'], self::NONCE ) ) - return false; - - foreach( array( 'akismet_strictness', 'akismet_show_user_comments_approved' ) as $option ) { - update_option( $option, isset( $_POST[$option] ) && (int) $_POST[$option] == 1 ? '1' : '0' ); - } - - if ( defined( 'WPCOM_API_KEY' ) ) - return false; //shouldn't have option to save key if already defined - - $new_key = preg_replace( '/[^a-h0-9]/i', '', $_POST['key'] ); - $old_key = Akismet::get_api_key(); - - if ( empty( $new_key ) ) { - if ( !empty( $old_key ) ) { - delete_option( 'wordpress_api_key' ); - self::$notices[] = 'new-key-empty'; - } - } - elseif ( $new_key != $old_key ) { - self::save_key( $new_key ); - } - - return true; - } - - public static function save_key( $api_key ) { - $key_status = Akismet::verify_key( $api_key ); - - if ( $key_status == 'valid' ) { - $akismet_user = self::get_akismet_user( $api_key ); - - if ( $akismet_user ) { - if ( in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub' ) ) ) - update_option( 'wordpress_api_key', $api_key ); - - if ( $akismet_user->status == 'active' ) - self::$notices['status'] = 'new-key-valid'; - else - self::$notices['status'] = $akismet_user->status; - } - else - self::$notices['status'] = 'new-key-invalid'; - } - elseif ( in_array( $key_status, array( 'invalid', 'failed' ) ) ) - self::$notices['status'] = 'new-key-'.$key_status; - } - - public static function dashboard_stats() { - if ( !function_exists('did_action') || did_action( 'rightnow_end' ) ) - return; // We already displayed this info in the "Right Now" section - - if ( !$count = get_option('akismet_spam_count') ) - return; - - global $submenu; - - echo '

      ' . esc_html( _x( 'Spam', 'comments' , 'akismet') ) . '

      '; - - echo '

      '.sprintf( _n( - 'Akismet has protected your site from %3$s spam comment.', - 'Akismet has protected your site from %3$s spam comments.', - $count - , 'akismet'), 'https://akismet.com/wordpress/', esc_url( add_query_arg( array( 'page' => 'akismet-admin' ), admin_url( isset( $submenu['edit-comments.php'] ) ? 'edit-comments.php' : 'edit.php' ) ) ), number_format_i18n($count) ).'

      '; - } - - // WP 2.5+ - public static function rightnow_stats() { - global $submenu, $wp_db_version; - - if ( 8645 < $wp_db_version ) // 2.7 - $link = add_query_arg( array( 'comment_status' => 'spam' ), admin_url( 'edit-comments.php' ) ); - elseif ( isset( $submenu['edit-comments.php'] ) ) - $link = add_query_arg( array( 'page' => 'akismet-admin' ), admin_url( 'edit-comments.php' ) ); - else - $link = add_query_arg( array( 'page' => 'akismet-admin' ), admin_url( 'edit.php' ) ); - - if ( $count = get_option('akismet_spam_count') ) { - $intro = sprintf( _n( - 'Akismet has protected your site from %2$s spam comment already. ', - 'Akismet has protected your site from %2$s spam comments already. ', - $count - , 'akismet'), 'https://akismet.com/wordpress/', number_format_i18n( $count ) ); - } else { - $intro = sprintf( __('Akismet blocks spam from getting to your blog. ', 'akismet'), 'https://akismet.com/wordpress/' ); - } - - $link = function_exists( 'esc_url' ) ? esc_url( $link ) : clean_url( $link ); - if ( $queue_count = self::get_spam_count() ) { - $queue_text = sprintf( _n( - 'There’s %1$s comment in your spam queue right now.', - 'There are %1$s comments in your spam queue right now.', - $queue_count - , 'akismet'), number_format_i18n( $queue_count ), $link ); - } else { - $queue_text = sprintf( __( "There’s nothing in your spam queue at the moment." , 'akismet'), $link ); - } - - $text = $intro . '
      ' . $queue_text; - echo "

      $text

      \n"; - } - - public static function check_for_spam_button( $comment_status ) { - if ( 'approved' == $comment_status ) - return; - - if ( function_exists('plugins_url') ) - $link = add_query_arg( array( 'action' => 'akismet_recheck_queue' ), admin_url( 'admin.php' ) ); - else - $link = add_query_arg( array( 'page' => 'akismet-admin', 'recheckqueue' => 'true', 'noheader' => 'true' ), admin_url( 'edit-comments.php' ) ); - - echo '
      ' . esc_html__('Check for Spam', 'akismet') . ''; - } - - public static function recheck_queue() { - global $wpdb; - - Akismet::fix_scheduled_recheck(); - - if ( ! ( isset( $_GET['recheckqueue'] ) || ( isset( $_REQUEST['action'] ) && 'akismet_recheck_queue' == $_REQUEST['action'] ) ) ) - return; - - $paginate = ''; - if ( isset( $_POST['limit'] ) && isset( $_POST['offset'] ) ) { - $paginate = $wpdb->prepare( " LIMIT %d OFFSET %d", array( $_POST['limit'], $_POST['offset'] ) ); - } - $moderation = $wpdb->get_results( "SELECT * FROM {$wpdb->comments} WHERE comment_approved = '0'{$paginate}", ARRAY_A ); - - foreach ( (array) $moderation as $c ) { - $c['user_ip'] = $c['comment_author_IP']; - $c['user_agent'] = $c['comment_agent']; - $c['referrer'] = ''; - $c['blog'] = get_bloginfo('url'); - $c['blog_lang'] = get_locale(); - $c['blog_charset'] = get_option('blog_charset'); - $c['permalink'] = get_permalink($c['comment_post_ID']); - - $c['user_role'] = ''; - if ( isset( $c['user_ID'] ) ) - $c['user_role'] = Akismet::get_user_roles($c['user_ID']); - - if ( Akismet::is_test_mode() ) - $c['is_test'] = 'true'; - - add_comment_meta( $c['comment_ID'], 'akismet_rechecking', true ); - - $response = Akismet::http_post( Akismet::build_query( $c ), 'comment-check' ); - - if ( 'true' == $response[1] ) { - wp_set_comment_status( $c['comment_ID'], 'spam' ); - update_comment_meta( $c['comment_ID'], 'akismet_result', 'true' ); - delete_comment_meta( $c['comment_ID'], 'akismet_error' ); - delete_comment_meta( $c['comment_ID'], 'akismet_delayed_moderation_email' ); - Akismet::update_comment_history( $c['comment_ID'], __('Akismet re-checked and caught this comment as spam', 'akismet'), 'check-spam' ); - - } elseif ( 'false' == $response[1] ) { - update_comment_meta( $c['comment_ID'], 'akismet_result', 'false' ); - delete_comment_meta( $c['comment_ID'], 'akismet_error' ); - delete_comment_meta( $c['comment_ID'], 'akismet_delayed_moderation_email' ); - Akismet::update_comment_history( $c['comment_ID'], __('Akismet re-checked and cleared this comment', 'akismet'), 'check-ham' ); - // abnormal result: error - } else { - update_comment_meta( $c['comment_ID'], 'akismet_result', 'error' ); - Akismet::update_comment_history( $c['comment_ID'], sprintf( __('Akismet was unable to re-check this comment (response: %s)', 'akismet'), substr($response[1], 0, 50)), 'check-error' ); - } - - delete_comment_meta( $c['comment_ID'], 'akismet_rechecking' ); - } - if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) { - wp_send_json( array( - 'processed' => count((array) $moderation), - )); - } - else { - $redirect_to = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : admin_url( 'edit-comments.php' ); - wp_safe_redirect( $redirect_to ); - exit; - } - } - - // Adds an 'x' link next to author URLs, clicking will remove the author URL and show an undo link - public static function remove_comment_author_url() { - if ( !empty( $_POST['id'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) { - $comment = get_comment( intval( $_POST['id'] ), ARRAY_A ); - if ( $comment && current_user_can( 'edit_comment', $comment['comment_ID'] ) ) { - $comment['comment_author_url'] = ''; - do_action( 'comment_remove_author_url' ); - print( wp_update_comment( $comment ) ); - die(); - } - } - } - - public static function add_comment_author_url() { - if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) { - $comment = get_comment( intval( $_POST['id'] ), ARRAY_A ); - if ( $comment && current_user_can( 'edit_comment', $comment['comment_ID'] ) ) { - $comment['comment_author_url'] = esc_url( $_POST['url'] ); - do_action( 'comment_add_author_url' ); - print( wp_update_comment( $comment ) ); - die(); - } - } - } - - public static function comment_row_action( $a, $comment ) { - - // failsafe for old WP versions - if ( !function_exists('add_comment_meta') ) - return $a; - - $akismet_result = get_comment_meta( $comment->comment_ID, 'akismet_result', true ); - $akismet_error = get_comment_meta( $comment->comment_ID, 'akismet_error', true ); - $user_result = get_comment_meta( $comment->comment_ID, 'akismet_user_result', true); - $comment_status = wp_get_comment_status( $comment->comment_ID ); - $desc = null; - if ( $akismet_error ) { - $desc = __( 'Awaiting spam check' , 'akismet'); - } elseif ( !$user_result || $user_result == $akismet_result ) { - // Show the original Akismet result if the user hasn't overridden it, or if their decision was the same - if ( $akismet_result == 'true' && $comment_status != 'spam' && $comment_status != 'trash' ) - $desc = __( 'Flagged as spam by Akismet' , 'akismet'); - elseif ( $akismet_result == 'false' && $comment_status == 'spam' ) - $desc = __( 'Cleared by Akismet' , 'akismet'); - } else { - $who = get_comment_meta( $comment->comment_ID, 'akismet_user', true ); - if ( $user_result == 'true' ) - $desc = sprintf( __('Flagged as spam by %s', 'akismet'), $who ); - else - $desc = sprintf( __('Un-spammed by %s', 'akismet'), $who ); - } - - // add a History item to the hover links, just after Edit - if ( $akismet_result ) { - $b = array(); - foreach ( $a as $k => $item ) { - $b[ $k ] = $item; - if ( - $k == 'edit' - || ( $k == 'unspam' && $GLOBALS['wp_version'] >= 3.4 ) - ) { - $b['history'] = ' '. esc_html__('History', 'akismet') . ''; - } - } - - $a = $b; - } - - if ( $desc ) - echo ''.esc_html( $desc ).''; - - $show_user_comments = apply_filters( 'akismet_show_user_comments_approved', get_option('akismet_show_user_comments_approved') ); - $show_user_comments = $show_user_comments === 'false' ? false : $show_user_comments; //option used to be saved as 'false' / 'true' - - if ( $show_user_comments ) { - $comment_count = Akismet::get_user_comments_approved( $comment->user_id, $comment->comment_author_email, $comment->comment_author, $comment->comment_author_url ); - $comment_count = intval( $comment_count ); - echo ''; - } - - return $a; - } - - public static function comment_status_meta_box( $comment ) { - $history = Akismet::get_comment_history( $comment->comment_ID ); - - if ( $history ) { - echo '
      '; - foreach ( $history as $row ) { - $time = date( 'D d M Y @ h:i:m a', $row['time'] ) . ' GMT'; - echo '
      ' . sprintf( esc_html__('%s ago', 'akismet'), human_time_diff( $row['time'] ) ) . ' - '; - echo esc_html( $row['message'] ) . '
      '; - } - echo '
      '; - } - } - - public static function plugin_action_links( $links, $file ) { - if ( $file == plugin_basename( AKISMET__PLUGIN_URL . '/akismet.php' ) ) { - $links[] = ''.esc_html__( 'Settings' , 'akismet').''; - } - - return $links; - } - - public static function text_add_link_callback( $m ) { - // bare link? - if ( $m[4] == $m[2] ) - return ''.$m[4].''; - else - return ''.$m[4].''; - } - - public static function text_add_link_class( $comment_text ) { - return preg_replace_callback( '#]*)href="([^"]+)"([^>]*)>(.*?)#i', array( 'Akismet_Admin', 'text_add_link_callback' ), $comment_text ); - } - - // Total spam in queue - // get_option( 'akismet_spam_count' ) is the total caught ever - public static function get_spam_count( $type = false ) { - global $wpdb; - - if ( !$type ) { // total - $count = wp_cache_get( 'akismet_spam_count', 'widget' ); - if ( false === $count ) { - if ( function_exists('wp_count_comments') ) { - $count = wp_count_comments(); - $count = $count->spam; - } else { - $count = (int) $wpdb->get_var("SELECT COUNT(comment_ID) FROM {$wpdb->comments} WHERE comment_approved = 'spam'"); - } - wp_cache_set( 'akismet_spam_count', $count, 'widget', 3600 ); - } - return $count; - } elseif ( 'comments' == $type || 'comment' == $type ) { // comments - $type = ''; - } - - return (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(comment_ID) FROM {$wpdb->comments} WHERE comment_approved = 'spam' AND comment_type = %s", $type ) ); - } - - // Check connectivity between the WordPress blog and Akismet's servers. - // Returns an associative array of server IP addresses, where the key is the IP address, and value is true (available) or false (unable to connect). - public static function check_server_ip_connectivity() { - - $servers = $ips = array(); - - // Some web hosts may disable this function - if ( function_exists('gethostbynamel') ) { - - $ips = gethostbynamel( 'rest.akismet.com' ); - if ( $ips && is_array($ips) && count($ips) ) { - $api_key = Akismet::get_api_key(); - - foreach ( $ips as $ip ) { - $response = Akismet::verify_key( $api_key, $ip ); - // even if the key is invalid, at least we know we have connectivity - if ( $response == 'valid' || $response == 'invalid' ) - $servers[$ip] = 'connected'; - else - $servers[$ip] = $response ? $response : 'unable to connect'; - } - } - } - - return $servers; - } - - // Simpler connectivity check - public static function check_server_connectivity($cache_timeout = 86400) { - - $debug = array(); - $debug[ 'PHP_VERSION' ] = PHP_VERSION; - $debug[ 'WORDPRESS_VERSION' ] = $GLOBALS['wp_version']; - $debug[ 'AKISMET_VERSION' ] = AKISMET_VERSION; - $debug[ 'AKISMET__PLUGIN_DIR' ] = AKISMET__PLUGIN_DIR; - $debug[ 'SITE_URL' ] = site_url(); - $debug[ 'HOME_URL' ] = home_url(); - - $servers = get_option('akismet_available_servers'); - if ( (time() - get_option('akismet_connectivity_time') < $cache_timeout) && $servers !== false ) { - $servers = self::check_server_ip_connectivity(); - update_option('akismet_available_servers', $servers); - update_option('akismet_connectivity_time', time()); - } - - $response = wp_remote_get( 'http://rest.akismet.com/1.1/test' ); - - $debug[ 'gethostbynamel' ] = function_exists('gethostbynamel') ? 'exists' : 'not here'; - $debug[ 'Servers' ] = $servers; - $debug[ 'Test Connection' ] = $response; - - Akismet::log( $debug ); - - if ( $response && 'connected' == wp_remote_retrieve_body( $response ) ) - return true; - - return false; - } - - // Check the server connectivity and store the available servers in an option. - public static function get_server_connectivity($cache_timeout = 86400) { - return self::check_server_connectivity( $cache_timeout ); - } - - public static function get_number_spam_waiting() { - global $wpdb; - return (int) $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->commentmeta} WHERE meta_key = 'akismet_error'" ); - } - - public static function get_page_url( $page = 'config' ) { - - $args = array( 'page' => 'akismet-key-config' ); - - if ( $page == 'stats' ) - $args = array( 'page' => 'akismet-key-config', 'view' => 'stats' ); - elseif ( $page == 'delete_key' ) - $args = array( 'page' => 'akismet-key-config', 'view' => 'start', 'action' => 'delete-key', '_wpnonce' => wp_create_nonce( self::NONCE ) ); - - $url = add_query_arg( $args, class_exists( 'Jetpack' ) ? admin_url( 'admin.php' ) : admin_url( 'options-general.php' ) ); - - return $url; - } - - public static function get_akismet_user( $api_key ) { - $akismet_user = Akismet::http_post( Akismet::build_query( array( 'key' => $api_key ) ), 'get-subscription' ); - - if ( ! empty( $akismet_user[1] ) ) - $akismet_user = json_decode( $akismet_user[1] ); - else - $akismet_user = false; - - return $akismet_user; - } - - public static function get_stats( $api_key ) { - $stat_totals = array(); - - foreach( array( '6-months', 'all' ) as $interval ) { - $response = Akismet::http_post( Akismet::build_query( array( 'blog' => urlencode( get_bloginfo('url') ), 'key' => $api_key, 'from' => $interval ) ), 'get-stats' ); - - if ( ! empty( $response[1] ) ) { - $stat_totals[$interval] = json_decode( $response[1] ); - } - } - return $stat_totals; - } - - public static function verify_wpcom_key( $api_key, $user_id, $token = '' ) { - $akismet_account = Akismet::http_post( Akismet::build_query( array( - 'user_id' => $user_id, - 'api_key' => $api_key, - 'token' => $token, - 'get_account_type' => 'true' - ) ), 'verify-wpcom-key' ); - - if ( ! empty( $akismet_account[1] ) ) - $akismet_account = json_decode( $akismet_account[1] ); - - Akismet::log( compact( 'akismet_account' ) ); - - return $akismet_account; - } - - public static function display_alert() { - Akismet::view( 'notice', array( - 'type' => 'alert', - 'code' => (int) get_option( 'akismet_alert_code' ), - 'msg' => get_option( 'akismet_alert_msg' ) - ) ); - } - - public static function display_spam_check_warning() { - Akismet::fix_scheduled_recheck(); - - if ( wp_next_scheduled('akismet_schedule_cron_recheck') > time() && self::get_number_spam_waiting() > 0 ) { - $link_text = apply_filters( 'akismet_spam_check_warning_link_text', sprintf( __( 'Please check your Akismet configuration and contact your web host if problems persist.', 'akismet'), esc_url( self::get_page_url() ) ) ); - Akismet::view( 'notice', array( 'type' => 'spam-check', 'link_text' => $link_text ) ); - } - } - - public static function display_invalid_version() { - Akismet::view( 'notice', array( 'type' => 'version' ) ); - } - - public static function display_api_key_warning() { - Akismet::view( 'notice', array( 'type' => 'plugin' ) ); - } - - public static function display_page() { - if ( !Akismet::get_api_key() || ( isset( $_GET['view'] ) && $_GET['view'] == 'start' ) ) - self::display_start_page(); - elseif ( isset( $_GET['view'] ) && $_GET['view'] == 'stats' ) - self::display_stats_page(); - else - self::display_configuration_page(); - } - - public static function display_start_page() { - if ( isset( $_GET['action'] ) ) { - if ( $_GET['action'] == 'delete-key' ) { - if ( isset( $_GET['_wpnonce'] ) && wp_verify_nonce( $_GET['_wpnonce'], self::NONCE ) ) - delete_option( 'wordpress_api_key' ); - } - } - - if ( $api_key = Akismet::get_api_key() ) { - self::display_configuration_page(); - return; - } - - //the user can choose to auto connect their API key by clicking a button on the akismet done page - //if jetpack, get verified api key by using connected wpcom user id - //if no jetpack, get verified api key by using an akismet token - - $akismet_user = false; - - if ( isset( $_GET['token'] ) && preg_match('/^(\d+)-[0-9a-f]{20}$/', $_GET['token'] ) ) - $akismet_user = self::verify_wpcom_key( '', '', $_GET['token'] ); - elseif ( $jetpack_user = self::get_jetpack_user() ) - $akismet_user = self::verify_wpcom_key( $jetpack_user['api_key'], $jetpack_user['user_id'] ); - - if ( isset( $_GET['action'] ) ) { - if ( $_GET['action'] == 'save-key' ) { - if ( is_object( $akismet_user ) ) { - self::save_key( $akismet_user->api_key ); - self::display_notice(); - self::display_configuration_page(); - return; - } - } - } - - echo '

      '.esc_html__('Akismet', 'akismet').'

      '; - - self::display_status(); - - Akismet::view( 'start', compact( 'akismet_user' ) ); - } - - public static function display_stats_page() { - Akismet::view( 'stats' ); - } - - public static function display_configuration_page() { - $api_key = Akismet::get_api_key(); - $akismet_user = self::get_akismet_user( $api_key ); - $stat_totals = self::get_stats( $api_key ); - - // If unset, create the new strictness option using the old discard option to determine its default - if ( get_option( 'akismet_strictness' ) === false ) - add_option( 'akismet_strictness', (get_option('akismet_discard_month') === 'true' ? '1' : '0') ); - - if ( empty( self::$notices ) ) { - //show status - if ( ! empty( $stat_totals['all'] ) && isset( $stat_totals['all']->time_saved ) && $akismet_user->status == 'active' && $akismet_user->account_type == 'free-api-key' ) { - - $time_saved = false; - - if ( $stat_totals['all']->time_saved > 1800 ) { - $total_in_minutes = round( $stat_totals['all']->time_saved / 60 ); - $total_in_hours = round( $total_in_minutes / 60 ); - $total_in_days = round( $total_in_hours / 8 ); - $cleaning_up = __( 'Cleaning up spam takes time.' , 'akismet'); - - if ( $total_in_days > 1 ) - $time_saved = $cleaning_up . ' ' . sprintf( __( 'Since you joined us, Akismet has saved you %s days!' , 'akismet'), number_format_i18n( $total_in_days ) ); - elseif ( $total_in_hours > 1 ) - $time_saved = $cleaning_up . ' ' . sprintf( __( 'Since you joined us, Akismet has saved you %d hours!' , 'akismet'), $total_in_hours ); - elseif ( $total_in_minutes >= 30 ) - $time_saved = $cleaning_up . ' ' . sprintf( __( 'Since you joined us, Akismet has saved you %d minutes!' , 'akismet'), $total_in_minutes ); - } - - Akismet::view( 'notice', array( 'type' => 'active-notice', 'time_saved' => $time_saved ) ); - } - - if ( !empty( $akismet_user->limit_reached ) && in_array( $akismet_user->limit_reached, array( 'yellow', 'red' ) ) ) { - Akismet::view( 'notice', array( 'type' => 'limit-reached', 'level' => $akismet_user->limit_reached ) ); - } - } - - if ( !isset( self::$notices['status'] ) && in_array( $akismet_user->status, array( 'cancelled', 'suspended', 'missing', 'no-sub' ) ) ) - Akismet::view( 'notice', array( 'type' => $akismet_user->status ) ); - - Akismet::log( compact( 'stat_totals', 'akismet_user' ) ); - Akismet::view( 'config', compact( 'api_key', 'akismet_user', 'stat_totals' ) ); - } - - public static function display_notice() { - global $hook_suffix; - - if ( in_array( $hook_suffix, array( 'jetpack_page_akismet-key-config', 'settings_page_akismet-key-config', 'edit-comments.php' ) ) && (int) get_option( 'akismet_alert_code' ) > 0 ) { - self::display_alert(); - } - elseif ( $hook_suffix == 'plugins.php' && !Akismet::get_api_key() ) { - self::display_api_key_warning(); - } - elseif ( $hook_suffix == 'edit-comments.php' && wp_next_scheduled( 'akismet_schedule_cron_recheck' ) ) { - self::display_spam_check_warning(); - } - elseif ( in_array( $hook_suffix, array( 'jetpack_page_akismet-key-config', 'settings_page_akismet-key-config' ) ) && Akismet::get_api_key() ) { - self::display_status(); - } - } - - public static function display_status() { - $type = ''; - - if ( !self::get_server_connectivity() ) - $type = 'servers-be-down'; - - if ( !empty( $type ) ) - Akismet::view( 'notice', compact( 'type' ) ); - elseif ( !empty( self::$notices ) ) { - foreach ( self::$notices as $type ) - Akismet::view( 'notice', compact( 'type' ) ); - } - } - - private static function get_jetpack_user() { - if ( !class_exists('Jetpack') ) - return false; - - Jetpack::load_xml_rpc_client(); - $xml = new Jetpack_IXR_ClientMulticall( array( 'user_id' => get_current_user_id() ) ); - - $xml->addCall( 'wpcom.getUserID' ); - $xml->addCall( 'akismet.getAPIKey' ); - $xml->query(); - - Akismet::log( compact( 'xml' ) ); - - if ( !$xml->isError() ) { - $responses = $xml->getResponse(); - if ( count( $responses ) > 1 ) { - $api_key = array_shift( $responses[0] ); - $user_id = (int) array_shift( $responses[1] ); - return compact( 'api_key', 'user_id' ); - } - } - return false; - } - - /** - * Some commentmeta isn't useful in an export file. Suppress it (when supported). - * - * @param bool $exclude - * @param string $key The meta key - * @param object $meta The meta object - * @return bool Whether to exclude this meta entry from the export. - */ - public static function exclude_commentmeta_from_export( $exclude, $key, $meta ) { - if ( in_array( $key, array( 'akismet_as_submitted', 'akismet_rechecking', 'akismet_delayed_moderation_email' ) ) ) { - return true; - } - - return $exclude; - } -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/class.akismet-widget.php b/sources/wordpress/wp-content/plugins/akismet/class.akismet-widget.php deleted file mode 100644 index a60ae60..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/class.akismet-widget.php +++ /dev/null @@ -1,110 +0,0 @@ - __( 'Display the number of spam comments Akismet has caught' , 'akismet') ) - ); - - if ( is_active_widget( false, false, $this->id_base ) ) { - add_action( 'wp_head', array( $this, 'css' ) ); - } - } - - function css() { -?> - - - - - -

      - - -

      - - - - - - $key, 'blog' => get_option('home') ) ), 'verify-key', $ip ); - } - - public static function verify_key( $key, $ip = null ) { - $response = self::check_key_status( $key, $ip ); - - if ( $response[1] != 'valid' && $response[1] != 'invalid' ) - return 'failed'; - - self::update_alert( $response ); - - return $response[1]; - } - - public static function auto_check_comment( $commentdata ) { - self::$last_comment_result = null; - - $comment = $commentdata; - - $comment['user_ip'] = self::get_ip_address(); - $comment['user_agent'] = self::get_user_agent(); - $comment['referrer'] = self::get_referer(); - $comment['blog'] = get_option('home'); - $comment['blog_lang'] = get_locale(); - $comment['blog_charset'] = get_option('blog_charset'); - $comment['permalink'] = get_permalink( $comment['comment_post_ID'] ); - - if ( !empty( $comment['user_ID'] ) ) - $comment['user_role'] = Akismet::get_user_roles( $comment['user_ID'] ); - - $akismet_nonce_option = apply_filters( 'akismet_comment_nonce', get_option( 'akismet_comment_nonce' ) ); - $comment['akismet_comment_nonce'] = 'inactive'; - if ( $akismet_nonce_option == 'true' || $akismet_nonce_option == '' ) { - $comment['akismet_comment_nonce'] = 'failed'; - if ( isset( $_POST['akismet_comment_nonce'] ) && wp_verify_nonce( $_POST['akismet_comment_nonce'], 'akismet_comment_nonce_' . $comment['comment_post_ID'] ) ) - $comment['akismet_comment_nonce'] = 'passed'; - - // comment reply in wp-admin - if ( isset( $_POST['_ajax_nonce-replyto-comment'] ) && check_ajax_referer( 'replyto-comment', '_ajax_nonce-replyto-comment' ) ) - $comment['akismet_comment_nonce'] = 'passed'; - - } - - if ( self::is_test_mode() ) - $comment['is_test'] = 'true'; - - foreach( $_POST as $key => $value ) { - if ( is_string( $value ) ) - $comment["POST_{$key}"] = $value; - } - - $ignore = array( 'HTTP_COOKIE', 'HTTP_COOKIE2', 'PHP_AUTH_PW' ); - - foreach ( $_SERVER as $key => $value ) { - if ( !in_array( $key, $ignore ) && is_string($value) ) - $comment["$key"] = $value; - else - $comment["$key"] = ''; - } - - $post = get_post( $comment['comment_post_ID'] ); - $comment[ 'comment_post_modified_gmt' ] = $post->post_modified_gmt; - - $response = self::http_post( Akismet::build_query( $comment ), 'comment-check' ); - - do_action( 'akismet_comment_check_response', $response ); - - self::update_alert( $response ); - - $commentdata['comment_as_submitted'] = array_intersect_key( $comment, array( 'blog' => '', 'blog_charset' => '', 'blog_lang' => '', 'blog_ua' => '', 'comment_agent' => '', 'comment_author' => '', 'comment_author_IP' => '', 'comment_author_email' => '', 'comment_author_url' => '', 'comment_content' => '', 'comment_date_gmt' => '', 'comment_tags' => '', 'comment_type' => '', 'guid' => '', 'is_test' => '', 'permalink' => '', 'reporter' => '', 'site_domain' => '', 'submit_referer' => '', 'submit_uri' => '', 'user_ID' => '', 'user_agent' => '', 'user_id' => '', 'user_ip' => '' ) ); - $commentdata['akismet_result'] = $response[1]; - - if ( isset( $response[0]['x-akismet-pro-tip'] ) ) - $commentdata['akismet_pro_tip'] = $response[0]['x-akismet-pro-tip']; - - if ( isset( $response[0]['x-akismet-error'] ) ) { - // An error occurred that we anticipated (like a suspended key) and want the user to act on. - // Send to moderation. - self::$last_comment_result = '0'; - } - else if ( 'true' == $response[1] ) { - // akismet_spam_count will be incremented later by comment_is_spam() - self::$last_comment_result = 'spam'; - - $discard = ( isset( $commentdata['akismet_pro_tip'] ) && $commentdata['akismet_pro_tip'] === 'discard' && self::allow_discard() ); - - do_action( 'akismet_spam_caught', $discard ); - - if ( $discard ) { - // akismet_result_spam() won't be called so bump the counter here - if ( $incr = apply_filters('akismet_spam_count_incr', 1) ) - update_option( 'akismet_spam_count', get_option('akismet_spam_count') + $incr ); - $redirect_to = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : get_permalink( $post ); - wp_safe_redirect( esc_url_raw( $redirect_to ) ); - die(); - } - } - - // if the response is neither true nor false, hold the comment for moderation and schedule a recheck - if ( 'true' != $response[1] && 'false' != $response[1] ) { - if ( !current_user_can('moderate_comments') ) { - // Comment status should be moderated - self::$last_comment_result = '0'; - } - if ( function_exists('wp_next_scheduled') && function_exists('wp_schedule_single_event') ) { - if ( !wp_next_scheduled( 'akismet_schedule_cron_recheck' ) ) { - wp_schedule_single_event( time() + 1200, 'akismet_schedule_cron_recheck' ); - } - } - - self::$prevent_moderation_email_for_these_comments[] = $commentdata; - } - - if ( function_exists('wp_next_scheduled') && function_exists('wp_schedule_event') ) { - // WP 2.1+: delete old comments daily - if ( !wp_next_scheduled( 'akismet_scheduled_delete' ) ) - wp_schedule_event( time(), 'daily', 'akismet_scheduled_delete' ); - } - elseif ( (mt_rand(1, 10) == 3) ) { - // WP 2.0: run this one time in ten - self::delete_old_comments(); - } - - self::set_last_comment( $commentdata ); - self::fix_scheduled_recheck(); - - return self::$last_comment; - } - - public static function get_last_comment() { - return self::$last_comment; - } - - public static function set_last_comment( $comment ) { - if ( is_null( $comment ) ) { - self::$last_comment = null; - } - else { - // We filter it here so that it matches the filtered comment data that we'll have to compare against later. - // wp_filter_comment expects comment_author_IP - self::$last_comment = wp_filter_comment( - array_merge( - array( 'comment_author_IP' => self::get_ip_address() ), - $comment - ) - ); - } - } - - // this fires on wp_insert_comment. we can't update comment_meta when auto_check_comment() runs - // because we don't know the comment ID at that point. - public static function auto_check_update_meta( $id, $comment ) { - - // failsafe for old WP versions - if ( !function_exists('add_comment_meta') ) - return false; - - if ( !isset( self::$last_comment['comment_author_email'] ) ) - self::$last_comment['comment_author_email'] = ''; - - // wp_insert_comment() might be called in other contexts, so make sure this is the same comment - // as was checked by auto_check_comment - if ( is_object( $comment ) && !empty( self::$last_comment ) && is_array( self::$last_comment ) ) { - if ( self::matches_last_comment( $comment ) ) { - - load_plugin_textdomain( 'akismet' ); - - // normal result: true or false - if ( self::$last_comment['akismet_result'] == 'true' ) { - update_comment_meta( $comment->comment_ID, 'akismet_result', 'true' ); - self::update_comment_history( $comment->comment_ID, __('Akismet caught this comment as spam', 'akismet'), 'check-spam' ); - if ( $comment->comment_approved != 'spam' ) - self::update_comment_history( $comment->comment_ID, sprintf( __('Comment status was changed to %s', 'akismet'), $comment->comment_approved), 'status-changed'.$comment->comment_approved ); - } - elseif ( self::$last_comment['akismet_result'] == 'false' ) { - update_comment_meta( $comment->comment_ID, 'akismet_result', 'false' ); - self::update_comment_history( $comment->comment_ID, __('Akismet cleared this comment', 'akismet'), 'check-ham' ); - if ( $comment->comment_approved == 'spam' ) { - if ( wp_blacklist_check($comment->comment_author, $comment->comment_author_email, $comment->comment_author_url, $comment->comment_content, $comment->comment_author_IP, $comment->comment_agent) ) - self::update_comment_history( $comment->comment_ID, __('Comment was caught by wp_blacklist_check', 'akismet'), 'wp-blacklisted' ); - else - self::update_comment_history( $comment->comment_ID, sprintf( __('Comment status was changed to %s', 'akismet'), $comment->comment_approved), 'status-changed-'.$comment->comment_approved ); - } - } // abnormal result: error - else { - update_comment_meta( $comment->comment_ID, 'akismet_error', time() ); - self::update_comment_history( $comment->comment_ID, sprintf( __('Akismet was unable to check this comment (response: %s), will automatically retry again later.', 'akismet'), substr(self::$last_comment['akismet_result'], 0, 50)), 'check-error' ); - } - - // record the complete original data as submitted for checking - if ( isset( self::$last_comment['comment_as_submitted'] ) ) - update_comment_meta( $comment->comment_ID, 'akismet_as_submitted', self::$last_comment['comment_as_submitted'] ); - - if ( isset( self::$last_comment['akismet_pro_tip'] ) ) - update_comment_meta( $comment->comment_ID, 'akismet_pro_tip', self::$last_comment['akismet_pro_tip'] ); - } - } - } - - public static function delete_old_comments() { - global $wpdb; - - while( $comment_ids = $wpdb->get_col( $wpdb->prepare( "SELECT comment_id FROM {$wpdb->comments} WHERE DATE_SUB(NOW(), INTERVAL 15 DAY) > comment_date_gmt AND comment_approved = 'spam' LIMIT %d", defined( 'AKISMET_DELETE_LIMIT' ) ? AKISMET_DELETE_LIMIT : 10000 ) ) ) { - if ( empty( $comment_ids ) ) - return; - - $wpdb->queries = array(); - - do_action( 'delete_comment', $comment_ids ); - - $comma_comment_ids = implode( ', ', array_map('intval', $comment_ids) ); - - $wpdb->query("DELETE FROM {$wpdb->comments} WHERE comment_id IN ( $comma_comment_ids )"); - $wpdb->query("DELETE FROM {$wpdb->commentmeta} WHERE comment_id IN ( $comma_comment_ids )"); - - clean_comment_cache( $comment_ids ); - } - - if ( apply_filters( 'akismet_optimize_table', ( mt_rand(1, 5000) == 11), $wpdb->comments ) ) // lucky number - $wpdb->query("OPTIMIZE TABLE {$wpdb->comments}"); - } - - public static function delete_old_comments_meta() { - global $wpdb; - - $interval = apply_filters( 'akismet_delete_commentmeta_interval', 15 ); - - # enfore a minimum of 1 day - $interval = absint( $interval ); - if ( $interval < 1 ) - $interval = 1; - - // akismet_as_submitted meta values are large, so expire them - // after $interval days regardless of the comment status - while ( $comment_ids = $wpdb->get_col( $wpdb->prepare( "SELECT m.comment_id FROM {$wpdb->commentmeta} as m INNER JOIN {$wpdb->comments} as c USING(comment_id) WHERE m.meta_key = 'akismet_as_submitted' AND DATE_SUB(NOW(), INTERVAL %d DAY) > c.comment_date_gmt LIMIT 10000", $interval ) ) ) { - if ( empty( $comment_ids ) ) - return; - - $wpdb->queries = array(); - - foreach ( $comment_ids as $comment_id ) { - delete_comment_meta( $comment_id, 'akismet_as_submitted' ); - } - } - - if ( apply_filters( 'akismet_optimize_table', ( mt_rand(1, 5000) == 11), $wpdb->commentmeta ) ) // lucky number - $wpdb->query("OPTIMIZE TABLE {$wpdb->commentmeta}"); - } - - // how many approved comments does this author have? - public static function get_user_comments_approved( $user_id, $comment_author_email, $comment_author, $comment_author_url ) { - global $wpdb; - - if ( !empty( $user_id ) ) - return (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->comments} WHERE user_id = %d AND comment_approved = 1", $user_id ) ); - - if ( !empty( $comment_author_email ) ) - return (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->comments} WHERE comment_author_email = %s AND comment_author = %s AND comment_author_url = %s AND comment_approved = 1", $comment_author_email, $comment_author, $comment_author_url ) ); - - return 0; - } - - // get the full comment history for a given comment, as an array in reverse chronological order - public static function get_comment_history( $comment_id ) { - - // failsafe for old WP versions - if ( !function_exists('add_comment_meta') ) - return false; - - $history = get_comment_meta( $comment_id, 'akismet_history', false ); - usort( $history, array( 'Akismet', '_cmp_time' ) ); - return $history; - } - - // log an event for a given comment, storing it in comment_meta - public static function update_comment_history( $comment_id, $message, $event=null ) { - global $current_user; - - // failsafe for old WP versions - if ( !function_exists('add_comment_meta') ) - return false; - - $user = ''; - if ( is_object( $current_user ) && isset( $current_user->user_login ) ) - $user = $current_user->user_login; - - $event = array( - 'time' => self::_get_microtime(), - 'message' => $message, - 'event' => $event, - 'user' => $user, - ); - - // $unique = false so as to allow multiple values per comment - $r = add_comment_meta( $comment_id, 'akismet_history', $event, false ); - } - - public static function check_db_comment( $id, $recheck_reason = 'recheck_queue' ) { - global $wpdb; - - $c = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->comments} WHERE comment_ID = %d", $id ), ARRAY_A ); - if ( !$c ) - return; - - $c['user_ip'] = $c['comment_author_IP']; - $c['user_agent'] = $c['comment_agent']; - $c['referrer'] = ''; - $c['blog'] = get_option('home'); - $c['blog_lang'] = get_locale(); - $c['blog_charset'] = get_option('blog_charset'); - $c['permalink'] = get_permalink($c['comment_post_ID']); - $c['recheck_reason'] = $recheck_reason; - - if ( self::is_test_mode() ) - $c['is_test'] = 'true'; - - $response = self::http_post( Akismet::build_query( $c ), 'comment-check' ); - - return ( is_array( $response ) && ! empty( $response[1] ) ) ? $response[1] : false; - } - - - - public static function transition_comment_status( $new_status, $old_status, $comment ) { - - if ( $new_status == $old_status ) - return; - - # we don't need to record a history item for deleted comments - if ( $new_status == 'delete' ) - return; - - if ( !current_user_can( 'edit_post', $comment->comment_post_ID ) && !current_user_can( 'moderate_comments' ) ) - return; - - if ( defined('WP_IMPORTING') && WP_IMPORTING == true ) - return; - - // if this is present, it means the status has been changed by a re-check, not an explicit user action - if ( get_comment_meta( $comment->comment_ID, 'akismet_rechecking' ) ) - return; - - global $current_user; - $reporter = ''; - if ( is_object( $current_user ) ) - $reporter = $current_user->user_login; - - // Assumption alert: - // We want to submit comments to Akismet only when a moderator explicitly spams or approves it - not if the status - // is changed automatically by another plugin. Unfortunately WordPress doesn't provide an unambiguous way to - // determine why the transition_comment_status action was triggered. And there are several different ways by which - // to spam and unspam comments: bulk actions, ajax, links in moderation emails, the dashboard, and perhaps others. - // We'll assume that this is an explicit user action if certain POST/GET variables exist. - if ( ( isset( $_POST['status'] ) && in_array( $_POST['status'], array( 'spam', 'unspam' ) ) ) || - ( isset( $_POST['spam'] ) && (int) $_POST['spam'] == 1 ) || - ( isset( $_POST['unspam'] ) && (int) $_POST['unspam'] == 1 ) || - ( isset( $_POST['comment_status'] ) && in_array( $_POST['comment_status'], array( 'spam', 'unspam' ) ) ) || - ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'spam', 'unspam' ) ) ) || - ( isset( $_POST['action'] ) && in_array( $_POST['action'], array( 'editedcomment' ) ) ) - ) { - if ( $new_status == 'spam' && ( $old_status == 'approved' || $old_status == 'unapproved' || !$old_status ) ) { - return self::submit_spam_comment( $comment->comment_ID ); - } elseif ( $old_status == 'spam' && ( $new_status == 'approved' || $new_status == 'unapproved' ) ) { - return self::submit_nonspam_comment( $comment->comment_ID ); - } - } - - self::update_comment_history( $comment->comment_ID, sprintf( __('%1$s changed the comment status to %2$s', 'akismet'), $reporter, $new_status ), 'status-' . $new_status ); - } - - public static function submit_spam_comment( $comment_id ) { - global $wpdb, $current_user, $current_site; - - $comment_id = (int) $comment_id; - - $comment = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->comments} WHERE comment_ID = %d", $comment_id ) ); - - if ( !$comment ) // it was deleted - return; - - if ( 'spam' != $comment->comment_approved ) - return; - - // use the original version stored in comment_meta if available - $as_submitted = get_comment_meta( $comment_id, 'akismet_as_submitted', true); - - if ( $as_submitted && is_array( $as_submitted ) && isset( $as_submitted['comment_content'] ) ) - $comment = (object) array_merge( (array)$comment, $as_submitted ); - - $comment->blog = get_bloginfo('url'); - $comment->blog_lang = get_locale(); - $comment->blog_charset = get_option('blog_charset'); - $comment->permalink = get_permalink($comment->comment_post_ID); - - if ( is_object($current_user) ) - $comment->reporter = $current_user->user_login; - - if ( is_object($current_site) ) - $comment->site_domain = $current_site->domain; - - $comment->user_role = ''; - if ( isset( $comment->user_ID ) ) - $comment->user_role = Akismet::get_user_roles( $comment->user_ID ); - - if ( self::is_test_mode() ) - $comment->is_test = 'true'; - - $post = get_post( $comment->comment_post_ID ); - $comment->comment_post_modified_gmt = $post->post_modified_gmt; - - $response = Akismet::http_post( Akismet::build_query( $comment ), 'submit-spam' ); - if ( $comment->reporter ) { - self::update_comment_history( $comment_id, sprintf( __('%s reported this comment as spam', 'akismet'), $comment->reporter ), 'report-spam' ); - update_comment_meta( $comment_id, 'akismet_user_result', 'true' ); - update_comment_meta( $comment_id, 'akismet_user', $comment->reporter ); - } - - do_action('akismet_submit_spam_comment', $comment_id, $response[1]); - } - - public static function submit_nonspam_comment( $comment_id ) { - global $wpdb, $current_user, $current_site; - - $comment_id = (int) $comment_id; - - $comment = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->comments} WHERE comment_ID = %d", $comment_id ) ); - if ( !$comment ) // it was deleted - return; - - // use the original version stored in comment_meta if available - $as_submitted = get_comment_meta( $comment_id, 'akismet_as_submitted', true); - - if ( $as_submitted && is_array($as_submitted) && isset($as_submitted['comment_content']) ) - $comment = (object) array_merge( (array)$comment, $as_submitted ); - - $comment->blog = get_bloginfo('url'); - $comment->blog_lang = get_locale(); - $comment->blog_charset = get_option('blog_charset'); - $comment->permalink = get_permalink( $comment->comment_post_ID ); - $comment->user_role = ''; - - if ( is_object($current_user) ) - $comment->reporter = $current_user->user_login; - - if ( is_object($current_site) ) - $comment->site_domain = $current_site->domain; - - if ( isset( $comment->user_ID ) ) - $comment->user_role = Akismet::get_user_roles($comment->user_ID); - - if ( Akismet::is_test_mode() ) - $comment->is_test = 'true'; - - $post = get_post( $comment->comment_post_ID ); - $comment->comment_post_modified_gmt = $post->post_modified_gmt; - - $response = self::http_post( Akismet::build_query( $comment ), 'submit-ham' ); - if ( $comment->reporter ) { - self::update_comment_history( $comment_id, sprintf( __('%s reported this comment as not spam', 'akismet'), $comment->reporter ), 'report-ham' ); - update_comment_meta( $comment_id, 'akismet_user_result', 'false' ); - update_comment_meta( $comment_id, 'akismet_user', $comment->reporter ); - } - - do_action('akismet_submit_nonspam_comment', $comment_id, $response[1]); - } - - public static function cron_recheck() { - global $wpdb; - - $api_key = self::get_api_key(); - - $status = self::verify_key( $api_key ); - if ( get_option( 'akismet_alert_code' ) || $status == 'invalid' ) { - // since there is currently a problem with the key, reschedule a check for 6 hours hence - wp_schedule_single_event( time() + 21600, 'akismet_schedule_cron_recheck' ); - return false; - } - - delete_option('akismet_available_servers'); - - $comment_errors = $wpdb->get_col( "SELECT comment_id FROM {$wpdb->commentmeta} WHERE meta_key = 'akismet_error' LIMIT 100" ); - - load_plugin_textdomain( 'akismet' ); - - foreach ( (array) $comment_errors as $comment_id ) { - // if the comment no longer exists, or is too old, remove the meta entry from the queue to avoid getting stuck - $comment = get_comment( $comment_id ); - if ( !$comment || strtotime( $comment->comment_date_gmt ) < strtotime( "-15 days" ) ) { - delete_comment_meta( $comment_id, 'akismet_error' ); - delete_comment_meta( $comment_id, 'akismet_delayed_moderation_email' ); - continue; - } - - add_comment_meta( $comment_id, 'akismet_rechecking', true ); - $status = self::check_db_comment( $comment_id, 'retry' ); - - $msg = ''; - if ( $status == 'true' ) { - $msg = __( 'Akismet caught this comment as spam during an automatic retry.' , 'akismet'); - } elseif ( $status == 'false' ) { - $msg = __( 'Akismet cleared this comment during an automatic retry.' , 'akismet'); - } - - // If we got back a legit response then update the comment history - // other wise just bail now and try again later. No point in - // re-trying all the comments once we hit one failure. - if ( !empty( $msg ) ) { - delete_comment_meta( $comment_id, 'akismet_error' ); - self::update_comment_history( $comment_id, $msg, 'cron-retry' ); - update_comment_meta( $comment_id, 'akismet_result', $status ); - // make sure the comment status is still pending. if it isn't, that means the user has already moved it elsewhere. - $comment = get_comment( $comment_id ); - if ( $comment && 'unapproved' == wp_get_comment_status( $comment_id ) ) { - if ( $status == 'true' ) { - wp_spam_comment( $comment_id ); - } elseif ( $status == 'false' ) { - // comment is good, but it's still in the pending queue. depending on the moderation settings - // we may need to change it to approved. - if ( check_comment($comment->comment_author, $comment->comment_author_email, $comment->comment_author_url, $comment->comment_content, $comment->comment_author_IP, $comment->comment_agent, $comment->comment_type) ) - wp_set_comment_status( $comment_id, 1 ); - else if ( get_comment_meta( $comment_id, 'akismet_delayed_moderation_email', true ) ) - wp_notify_moderator( $comment_id ); - } - } - - delete_comment_meta( $comment_id, 'akismet_delayed_moderation_email' ); - } else { - // If this comment has been pending moderation for longer than MAX_DELAY_BEFORE_MODERATION_EMAIL, - // send a moderation email now. - if ( ( intval( gmdate( 'U' ) ) - strtotime( $comment->comment_date_gmt ) ) < self::MAX_DELAY_BEFORE_MODERATION_EMAIL ) { - delete_comment_meta( $comment_id, 'akismet_delayed_moderation_email' ); - wp_notify_moderator( $comment_id ); - } - - delete_comment_meta( $comment_id, 'akismet_rechecking' ); - wp_schedule_single_event( time() + 1200, 'akismet_schedule_cron_recheck' ); - return; - } - delete_comment_meta( $comment_id, 'akismet_rechecking' ); - } - - $remaining = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->commentmeta} WHERE meta_key = 'akismet_error'" ); - if ( $remaining && !wp_next_scheduled('akismet_schedule_cron_recheck') ) { - wp_schedule_single_event( time() + 1200, 'akismet_schedule_cron_recheck' ); - } - } - - public static function fix_scheduled_recheck() { - $future_check = wp_next_scheduled( 'akismet_schedule_cron_recheck' ); - if ( !$future_check ) { - return; - } - - if ( get_option( 'akismet_alert_code' ) > 0 ) { - return; - } - - $check_range = time() + 1200; - if ( $future_check > $check_range ) { - wp_clear_scheduled_hook( 'akismet_schedule_cron_recheck' ); - wp_schedule_single_event( time() + 300, 'akismet_schedule_cron_recheck' ); - } - } - - public static function add_comment_nonce( $post_id ) { - echo '

      '; - wp_nonce_field( 'akismet_comment_nonce_' . $post_id, 'akismet_comment_nonce', FALSE ); - echo '

      '; - } - - public static function is_test_mode() { - return defined('AKISMET_TEST_MODE') && AKISMET_TEST_MODE; - } - - public static function allow_discard() { - if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) - return false; - if ( is_user_logged_in() ) - return false; - - return ( get_option( 'akismet_strictness' ) === '1' ); - } - - public static function get_ip_address() { - return isset( $_SERVER['REMOTE_ADDR'] ) ? $_SERVER['REMOTE_ADDR'] : null; - } - - /** - * Do these two comments, without checking the comment_ID, "match"? - * - * @param mixed $comment1 A comment object or array. - * @param mixed $comment2 A comment object or array. - * @return bool Whether the two comments should be treated as the same comment. - */ - private static function comments_match( $comment1, $comment2 ) { - $comment1 = (array) $comment1; - $comment2 = (array) $comment2; - - return ( - isset( $comment1['comment_post_ID'], $comment2['comment_post_ID'] ) - && intval( $comment1['comment_post_ID'] ) == intval( $comment2['comment_post_ID'] ) - && $comment1['comment_author'] == $comment2['comment_author'] - && $comment1['comment_author_email'] == $comment2['comment_author_email'] - ); - } - - // Does the supplied comment match the details of the one most recently stored in self::$last_comment? - public static function matches_last_comment( $comment ) { - if ( is_object( $comment ) ) - $comment = (array) $comment; - - return self::comments_match( self::$last_comment, $comment ); - } - - private static function get_user_agent() { - return isset( $_SERVER['HTTP_USER_AGENT'] ) ? $_SERVER['HTTP_USER_AGENT'] : null; - } - - private static function get_referer() { - return isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : null; - } - - // return a comma-separated list of role names for the given user - public static function get_user_roles( $user_id ) { - $roles = false; - - if ( !class_exists('WP_User') ) - return false; - - if ( $user_id > 0 ) { - $comment_user = new WP_User( $user_id ); - if ( isset( $comment_user->roles ) ) - $roles = join( ',', $comment_user->roles ); - } - - if ( is_multisite() && is_super_admin( $user_id ) ) { - if ( empty( $roles ) ) { - $roles = 'super_admin'; - } else { - $comment_user->roles[] = 'super_admin'; - $roles = join( ',', $comment_user->roles ); - } - } - - return $roles; - } - - // filter handler used to return a spam result to pre_comment_approved - public static function last_comment_status( $approved, $comment ) { - // Only do this if it's the correct comment - if ( is_null(self::$last_comment_result) || ! self::matches_last_comment( $comment ) ) { - self::log( "comment_is_spam mismatched comment, returning unaltered $approved" ); - return $approved; - } - - // bump the counter here instead of when the filter is added to reduce the possibility of overcounting - if ( $incr = apply_filters('akismet_spam_count_incr', 1) ) - update_option( 'akismet_spam_count', get_option('akismet_spam_count') + $incr ); - - return self::$last_comment_result; - } - - /** - * If Akismet is temporarily unreachable, we don't want to "spam" the blogger with - * moderation emails for comments that will be automatically cleared or spammed on - * the next retry. - * - * For comments that will be rechecked later, empty the list of email addresses that - * the moderation email would be sent to. - * - * @param array $emails An array of email addresses that the moderation email will be sent to. - * @param int $comment_id The ID of the relevant comment. - * @return array An array of email addresses that the moderation email will be sent to. - */ - public static function disable_moderation_emails_if_unreachable( $emails, $comment_id ) { - if ( ! empty( self::$prevent_moderation_email_for_these_comments ) && ! empty( $emails ) ) { - $comment = get_comment( $comment_id ); - - foreach ( self::$prevent_moderation_email_for_these_comments as $possible_match ) { - if ( self::comments_match( $possible_match, $comment ) ) { - update_comment_meta( $comment_id, 'akismet_delayed_moderation_email', true ); - return array(); - } - } - } - - return $emails; - } - - public static function _cmp_time( $a, $b ) { - return $a['time'] > $b['time'] ? -1 : 1; - } - - public static function _get_microtime() { - $mtime = explode( ' ', microtime() ); - return $mtime[1] + $mtime[0]; - } - - /** - * Make a POST request to the Akismet API. - * - * @param string $request The body of the request. - * @param string $path The path for the request. - * @param string $ip The specific IP address to hit. - * @return array A two-member array consisting of the headers and the response body, both empty in the case of a failure. - */ - public static function http_post( $request, $path, $ip=null ) { - - $akismet_ua = sprintf( 'WordPress/%s | Akismet/%s', $GLOBALS['wp_version'], constant( 'AKISMET_VERSION' ) ); - $akismet_ua = apply_filters( 'akismet_ua', $akismet_ua ); - - $content_length = strlen( $request ); - - $api_key = self::get_api_key(); - $host = self::API_HOST; - - if ( !empty( $api_key ) ) - $host = $api_key.'.'.$host; - - $http_host = $host; - // use a specific IP if provided - // needed by Akismet_Admin::check_server_connectivity() - if ( $ip && long2ip( ip2long( $ip ) ) ) { - $http_host = $ip; - } - - $http_args = array( - 'body' => $request, - 'headers' => array( - 'Content-Type' => 'application/x-www-form-urlencoded; charset=' . get_option( 'blog_charset' ), - 'Host' => $host, - 'User-Agent' => $akismet_ua, - ), - 'httpversion' => '1.0', - 'timeout' => 15 - ); - - $akismet_url = "http://{$http_host}/1.1/{$path}"; - $response = wp_remote_post( $akismet_url, $http_args ); - Akismet::log( compact( 'akismet_url', 'http_args', 'response' ) ); - if ( is_wp_error( $response ) ) - return array( '', '' ); - - return array( $response['headers'], $response['body'] ); - } - - // given a response from an API call like check_key_status(), update the alert code options if an alert is present. - private static function update_alert( $response ) { - $code = $msg = null; - if ( isset( $response[0]['x-akismet-alert-code'] ) ) { - $code = $response[0]['x-akismet-alert-code']; - $msg = $response[0]['x-akismet-alert-msg']; - } - - // only call update_option() if the value has changed - if ( $code != get_option( 'akismet_alert_code' ) ) { - if ( ! $code ) { - delete_option( 'akismet_alert_code' ); - delete_option( 'akismet_alert_msg' ); - } - else { - update_option( 'akismet_alert_code', $code ); - update_option( 'akismet_alert_msg', $msg ); - } - } - } - - public static function load_form_js() { - // WP < 3.3 can't enqueue a script this late in the game and still have it appear in the footer. - // Once we drop support for everything pre-3.3, this can change back to a single enqueue call. - wp_register_script( 'akismet-form', AKISMET__PLUGIN_URL . '_inc/form.js', array(), AKISMET_VERSION, true ); - add_action( 'wp_footer', array( 'Akismet', 'print_form_js' ) ); - add_action( 'admin_footer', array( 'Akismet', 'print_form_js' ) ); - } - - public static function print_form_js() { - wp_print_scripts( 'akismet-form' ); - } - - public static function inject_ak_js( $fields ) { - echo '

      '; - echo ''; - echo '

      '; - } - - private static function bail_on_activation( $message, $deactivate = true ) { -?> - - - - - - -

      - - - $plugin ) { - if ( $plugin === $akismet ) { - $plugins[$i] = false; - $update = true; - } - } - - if ( $update ) { - update_option( 'active_plugins', array_filter( $plugins ) ); - } - } - exit; - } - - public static function view( $name, array $args = array() ) { - $args = apply_filters( 'akismet_view_arguments', $args, $name ); - - foreach ( $args AS $key => $val ) { - $$key = $val; - } - - load_plugin_textdomain( 'akismet' ); - - $file = AKISMET__PLUGIN_DIR . 'views/'. $name . '.php'; - - include( $file ); - } - - /** - * Attached to activate_{ plugin_basename( __FILES__ ) } by register_activation_hook() - * @static - */ - public static function plugin_activation() { - if ( version_compare( $GLOBALS['wp_version'], AKISMET__MINIMUM_WP_VERSION, '<' ) ) { - load_plugin_textdomain( 'akismet' ); - - $message = ''.sprintf(esc_html__( 'Akismet %s requires WordPress %s or higher.' , 'akismet'), AKISMET_VERSION, AKISMET__MINIMUM_WP_VERSION ).' '.sprintf(__('Please upgrade WordPress to a current version, or downgrade to version 2.4 of the Akismet plugin.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'http://wordpress.org/extend/plugins/akismet/download/'); - - Akismet::bail_on_activation( $message ); - } - } - - /** - * Removes all connection options - * @static - */ - public static function plugin_deactivation( ) { - //tidy up - } - - /** - * Essentially a copy of WP's build_query but one that doesn't expect pre-urlencoded values. - * - * @param array $args An array of key => value pairs - * @return string A string ready for use as a URL query string. - */ - public static function build_query( $args ) { - return _http_build_query( $args, '', '&' ); - } - - public static function log( $akismet_debug ) { - if ( defined( 'WP_DEBUG_LOG' ) && WP_DEBUG_LOG ) - error_log( print_r( compact( 'akismet_debug' ), 1 ) ); //send message to debug.log when in debug mode - } -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/index.php b/sources/wordpress/wp-content/plugins/akismet/index.php deleted file mode 100644 index cf879a5..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/index.php +++ /dev/null @@ -1,2 +0,0 @@ - - -

      - -
      - - spam > 0 ) : ?> - -
      - - - - - - -
        -
      • -

        - spam );?> - -
      • -
      • -

        - spam );?> - -
      • -
      • -

        - accuracy; ?>% - false_positives , 'akismet') - ), - number_format( $stat_totals['all']->missed_spam ), - number_format( $stat_totals['all']->false_positives ) - ); ?> -
      • -
      -
      -
      - - - - -
      - -
      -
      -
      -

      -

      -
      -
      - - - - - - - - - - - - - - - - - - - -
      - - -
      -

      - -

      -
      -
      -

      -

      -
      - spam folder older than 15 days is deleted automatically.' , 'akismet'), admin_url( 'edit-comments.php?comment_status=spam' ) );?> -
      -
      -
      - -
      - -
      - - -
      - - - -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -

      -

      -
      - - - - - - - - - - - next_billing_date ) : ?> - - - - - - -
      - - account_name; ?> -
      - - status ) : - esc_html_e( 'Cancelled', 'akismet' ); - elseif ( 'suspended' == $akismet_user->status ) : - esc_html_e( 'Suspended', 'akismet' ); - elseif ( 'missing' == $akismet_user->status ) : - esc_html_e( 'Missing', 'akismet' ); - elseif ( 'no-sub' == $akismet_user->status ) : - esc_html_e( 'No Subscription Found', 'akismet' ); - else : - esc_html_e( 'Active', 'akismet' ); - endif; ?> -
      - - next_billing_date ); ?> -
      -
      -
      -
      - ( $akismet_user->account_type == 'free-api-key' && $akismet_user->status == 'active' ? __( 'Upgrade' , 'akismet') : __( 'Change' , 'akismet') ), 'redirect' => 'upgrade' ) ); ?> -
      -
      -
      -
      -
      -
      -
      - - - -
      -
      \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/views/get.php b/sources/wordpress/wp-content/plugins/akismet/views/get.php deleted file mode 100644 index 70727f6..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/views/get.php +++ /dev/null @@ -1,5 +0,0 @@ -
      - - - -
      \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/views/notice.php b/sources/wordpress/wp-content/plugins/akismet/views/notice.php deleted file mode 100644 index 8a1411d..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/views/notice.php +++ /dev/null @@ -1,102 +0,0 @@ - -
      - -
      -
      -
      A
      -
      -
      -
      -
      -
      -
      Almost done - activate your account and say goodbye to comment spam', 'akismet');?>
      -
      -
      -
      - -
      -

      -

      - -

      - -
      - -

      upgrade WordPress to a current version, or downgrade to version 2.4 of the Akismet plugin.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');?>

      - -
      -

      -

      -

      https://akismet.com/errors/' . $code . '' ); - - ?> -

      -
      - -
      -

      -

      gethostbynamel functions. Akismet cannot work correctly until this is fixed. Please contact your web host or firewall administrator and give them this information about Akismet’s system requirements.', 'akismet'), 'https://blog.akismet.com/akismet-hosting-faq/'); ?>

      -
      - -
      -

      -

      our guide about firewalls.', 'akismet'), 'https://blog.akismet.com/akismet-hosting-faq/'); ?>

      -
      - -
      -

      -

      update your payment details.', 'akismet'), 'https://akismet.com/account/'); ?>

      -
      - -
      -

      -

      Akismet account page to reactivate your subscription.', 'akismet'), 'https://akismet.com/account/'); ?>

      -
      - -
      -

      -

      Akismet support for assistance.', 'akismet'), 'https://akismet.com/contact/'); ?>

      -
      - -
      -

      -

      contributing a token amount.', 'akismet'), 'https://akismet.com/account/upgrade/'); ?>

      -
      - -
      -

      -

      Akismet support for assistance.', 'akismet'), 'https://akismet.com/contact/'); ?>

      -
      - -
      -

      -

      sign into your account and choose one. Please contact our support team with any questions.', 'akismet'), 'https://akismet.com/account/upgrade/', 'https://akismet.com/contact/' ); ?>

      -
      - -
      -

      -
      - -
      -

      -
      - -
      -

      -
      - -
      - -

      -

      upgrade to an Enterprise subscription. If you have any questions, please get in touch with our support team', 'akismet'), 'https://akismet.com/account/upgrade/', 'https://akismet.com/contact/'); ?>

      - -

      -

      upgrade to an Enterprise subscription, which covers an unlimited number of sites. Please contact our support team with any questions.', 'akismet'), 'https://akismet.com/account/upgrade/', 'https://akismet.com/contact/'); ?>

      - -
      - \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/views/start.php b/sources/wordpress/wp-content/plugins/akismet/views/start.php deleted file mode 100644 index 692b8af..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/views/start.php +++ /dev/null @@ -1,95 +0,0 @@ -
      status, array( 'active', 'active-dunning', 'no-sub', 'missing', 'cancelled', 'suspended' ) ) ) : - if ( $akismet_user->status == 'missing' ) :?> -

      -
      -
      - - user_email ); ?> -
      -
      - - - - -
      -
      -status == 'cancelled' ) :?> -

      -
      -
      - - user_email ); ?> -
      -
      - - - - -
      -
      -status == 'suspended' ) : ?> -

      -
      - -

      user_email ); ?>

      -

      - -
      - -

      -
      -
      - - user_email ); ?> -
      -
      - - - - -
      -
      - -
      -
      - -

      -
      - __( 'Register a different email address' , 'akismet'), 'classes' => array( 'right', 'button', 'button-secondary' ) ) ); ?> -
      -
      -
      - -

      -
      -
      - - - - -
      -
      - -

      -
      -
      - -

      -
      - __( 'Get your API key' , 'akismet'), 'classes' => array( 'right', 'button', 'button-primary' ) ) ); ?> -
      -
      -
      - -

      -
      -
      - - - - -
      -
      -
      \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/views/stats.php b/sources/wordpress/wp-content/plugins/akismet/views/stats.php deleted file mode 100644 index 1ca7661..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/views/stats.php +++ /dev/null @@ -1,4 +0,0 @@ -
      -

      - -
      \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/views/strict.php b/sources/wordpress/wp-content/plugins/akismet/views/strict.php deleted file mode 100644 index 3cf197c..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/views/strict.php +++ /dev/null @@ -1,7 +0,0 @@ - - -
      -

      -

      -
      - \ No newline at end of file diff --git a/sources/wordpress/wp-content/plugins/akismet/wrapper.php b/sources/wordpress/wp-content/plugins/akismet/wrapper.php deleted file mode 100644 index 12641c7..0000000 --- a/sources/wordpress/wp-content/plugins/akismet/wrapper.php +++ /dev/null @@ -1,293 +0,0 @@ -Hello, Dolly in the upper right of your admin screen on every page. -Author: Matt Mullenweg -Version: 1.6 -Author URI: http://ma.tt/ -*/ - -function hello_dolly_get_lyric() { - /** These are the lyrics to Hello Dolly */ - $lyrics = "Hello, Dolly -Well, hello, Dolly -It's so nice to have you back where you belong -You're lookin' swell, Dolly -I can tell, Dolly -You're still glowin', you're still crowin' -You're still goin' strong -We feel the room swayin' -While the band's playin' -One of your old favourite songs from way back when -So, take her wrap, fellas -Find her an empty lap, fellas -Dolly'll never go away again -Hello, Dolly -Well, hello, Dolly -It's so nice to have you back where you belong -You're lookin' swell, Dolly -I can tell, Dolly -You're still glowin', you're still crowin' -You're still goin' strong -We feel the room swayin' -While the band's playin' -One of your old favourite songs from way back when -Golly, gee, fellas -Find her a vacant knee, fellas -Dolly'll never go away -Dolly'll never go away -Dolly'll never go away again"; - - // Here we split it into lines - $lyrics = explode( "\n", $lyrics ); - - // And then randomly choose a line - return wptexturize( $lyrics[ mt_rand( 0, count( $lyrics ) - 1 ) ] ); -} - -// This just echoes the chosen line, we'll position it later -function hello_dolly() { - $chosen = hello_dolly_get_lyric(); - echo "

      $chosen

      "; -} - -// Now we set that function up to execute when the admin_notices action is called -add_action( 'admin_notices', 'hello_dolly' ); - -// We need some CSS to position the paragraph -function dolly_css() { - // This makes sure that the positioning is also good for right-to-left languages - $x = is_rtl() ? 'left' : 'right'; - - echo " - - "; -} - -add_action( 'admin_head', 'dolly_css' ); - -?> diff --git a/sources/wordpress/wp-content/plugins/index.php b/sources/wordpress/wp-content/plugins/index.php deleted file mode 100644 index 6220032..0000000 --- a/sources/wordpress/wp-content/plugins/index.php +++ /dev/null @@ -1,2 +0,0 @@ - - - -
      -
      - - - -
      -

      - - -
      - -
      -
      - - - -
      -
      - - - - - - -
      -
      - - - -
      -
      - - - -
      -

      - -

      - -
      - -
      - - - -
      -
      - - - -
      -
      - - - -
      -

      - - %s
      ', $term_description ); - endif; - ?> - - - - -
      - - - -
      - - - -

      - -

      - - 1 && get_option( 'page_comments' ) ) : ?> - - - -
        - 'ol', - 'short_ping' => true, - 'avatar_size'=> 34, - ) ); - ?> -
      - - 1 && get_option( 'page_comments' ) ) : ?> - - - - -

      - - - - - - -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-aside.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-aside.php deleted file mode 100644 index 3837a2e..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-aside.php +++ /dev/null @@ -1,57 +0,0 @@ - - -
      > - - -
      - - - ', '' ); - else : - the_title( '

      ', '

      ' ); - endif; - ?> - - -
      - -
      - →', 'twentyfourteen' ) ); - wp_link_pages( array( - 'before' => '', - 'link_before' => '', - 'link_after' => '', - ) ); - ?> -
      - - ', '', '' ); ?> -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-audio.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-audio.php deleted file mode 100644 index cb5b022..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-audio.php +++ /dev/null @@ -1,57 +0,0 @@ - - -
      > - - -
      - - - ', '' ); - else : - the_title( '

      ', '

      ' ); - endif; - ?> - - -
      - -
      - →', 'twentyfourteen' ) ); - wp_link_pages( array( - 'before' => '', - 'link_before' => '', - 'link_after' => '', - ) ); - ?> -
      - - ', '', '' ); ?> -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-featured-post.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-featured-post.php deleted file mode 100644 index 6cc8822..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-featured-post.php +++ /dev/null @@ -1,34 +0,0 @@ - - -
      > - - - - -
      - - - - - ','' ); ?> -
      -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-gallery.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-gallery.php deleted file mode 100644 index c49a261..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-gallery.php +++ /dev/null @@ -1,57 +0,0 @@ - - -
      > - - -
      - - - ', '' ); - else : - the_title( '

      ', '

      ' ); - endif; - ?> - - -
      - -
      - →', 'twentyfourteen' ) ); - wp_link_pages( array( - 'before' => '', - 'link_before' => '', - 'link_after' => '', - ) ); - ?> -
      - - ', '', '' ); ?> -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-image.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-image.php deleted file mode 100644 index 836601f..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-image.php +++ /dev/null @@ -1,57 +0,0 @@ - - -
      > - - -
      - - - ', '' ); - else : - the_title( '

      ', '

      ' ); - endif; - ?> - - -
      - -
      - →', 'twentyfourteen' ) ); - wp_link_pages( array( - 'before' => '', - 'link_before' => '', - 'link_after' => '', - ) ); - ?> -
      - - ', '', '' ); ?> -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-link.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-link.php deleted file mode 100644 index d208ba0..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-link.php +++ /dev/null @@ -1,57 +0,0 @@ - - -
      > - - -
      - - - ', '' ); - else : - the_title( '

      ', '

      ' ); - endif; - ?> - - -
      - -
      - →', 'twentyfourteen' ) ); - wp_link_pages( array( - 'before' => '', - 'link_before' => '', - 'link_after' => '', - ) ); - ?> -
      - - ', '', '' ); ?> -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-none.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-none.php deleted file mode 100644 index a83e06e..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-none.php +++ /dev/null @@ -1,31 +0,0 @@ - - - - -
      - - -

      Get started here.', 'twentyfourteen' ), admin_url( 'post-new.php' ) ); ?>

      - - - -

      - - - - -

      - - - -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-page.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-page.php deleted file mode 100644 index 9839419..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-page.php +++ /dev/null @@ -1,31 +0,0 @@ - - -
      > -

      ', '

      ' ); - ?> - -
      - '', - 'link_before' => '', - 'link_after' => '', - ) ); - - edit_post_link( __( 'Edit', 'twentyfourteen' ), '', '' ); - ?> -
      -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-quote.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-quote.php deleted file mode 100644 index b93cf99..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-quote.php +++ /dev/null @@ -1,57 +0,0 @@ - - -
      > - - -
      - - - ', '' ); - else : - the_title( '

      ', '

      ' ); - endif; - ?> - - -
      - -
      - →', 'twentyfourteen' ) ); - wp_link_pages( array( - 'before' => '', - 'link_before' => '', - 'link_after' => '', - ) ); - ?> -
      - - ', '', '' ); ?> -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content-video.php b/sources/wordpress/wp-content/themes/twentyfourteen/content-video.php deleted file mode 100644 index bedbd7f..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content-video.php +++ /dev/null @@ -1,57 +0,0 @@ - - -
      > - - -
      - - - ', '' ); - else : - the_title( '

      ', '

      ' ); - endif; - ?> - - -
      - -
      - →', 'twentyfourteen' ) ); - wp_link_pages( array( - 'before' => '', - 'link_before' => '', - 'link_after' => '', - ) ); - ?> -
      - - ', '', '' ); ?> -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/content.php b/sources/wordpress/wp-content/themes/twentyfourteen/content.php deleted file mode 100644 index d9bf754..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/content.php +++ /dev/null @@ -1,66 +0,0 @@ - - -
      > - - -
      - - - ', '' ); - else : - the_title( '

      ', '

      ' ); - endif; - ?> - - -
      - - -
      - -
      - -
      - →', 'twentyfourteen' ) ); - wp_link_pages( array( - 'before' => '', - 'link_before' => '', - 'link_after' => '', - ) ); - ?> -
      - - - ', '', '' ); ?> -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/css/editor-style.css b/sources/wordpress/wp-content/themes/twentyfourteen/css/editor-style.css deleted file mode 100644 index 1d66b73..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/css/editor-style.css +++ /dev/null @@ -1,717 +0,0 @@ -/* -Theme Name: Twenty Fourteen -Description: Used to style the TinyMCE editor. -*/ - - -/** - * Table of Contents: - * - * 1.0 - Body - * 2.0 - Headings - * 3.0 - Text Elements - * 4.0 - Links - * 5.0 - Alignment - * 6.0 - Tables - * 7.0 - Images - * 8.0 - Galleries - * 9.0 - Audio/Video - * 10.0 - RTL - * ---------------------------------------------------------------------------- - */ - - -/** - * 1.0 Body - * ---------------------------------------------------------------------------- - */ - -html .mceContentBody { - font-size: 100%; - max-width: 474px; -} - -body { - color: #2b2b2b; - font-family: Lato, sans-serif; - font-weight: 400; - line-height: 1.5; - vertical-align: baseline; -} - - -/** - * 2.0 Headings - * ---------------------------------------------------------------------------- - */ - -h1, -h2, -h3, -h4, -h5, -h6 { - clear: both; - font-weight: 700; - margin: 36px 0 12px; -} - -h1 { - font-size: 26px; - line-height: 1.3846153846; -} - -h2 { - font-size: 24px; - line-height: 1; -} - -h3 { - font-size: 22px; - line-height: 1.0909090909; -} - -h4 { - font-size: 20px; - line-height: 1.2; -} - -h5 { - font-size: 18px; - line-height: 1.3333333333; -} - -h6 { - font-size: 16px; - line-height: 1.5; -} - -h1:first-child, -h2:first-child, -h3:first-child, -h4:first-child, -h5:first-child, -h6:first-child { - margin-top: 0; -} - - -/** - * 3.0 Text Elements - * ---------------------------------------------------------------------------- - */ - -address { - font-style: italic; - margin-bottom: 24px; -} - -abbr[title] { - border-bottom: 1px dotted #2b2b2b; - cursor: help; -} - -b, -strong { - font-weight: 700; -} - -cite { - border: 0; -} - -cite, -dfn, -em, -i { - font-style: italic; -} - -mark, -ins { - background: #fff9c0; - border: 0; - color: inherit; - text-decoration: none; -} - -p { - margin: 0 0 24px; -} - -code, -kbd, -tt, -var, -samp, -pre { - font-family: monospace, serif; - font-size: 15px; - line-height: 1.6; -} - -pre { - border: 1px solid rgba(0, 0, 0, 0.1); - margin-bottom: 24px; - max-width: 100%; - overflow: auto; - padding: 12px; - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -blockquote, -q { - quotes: none; -} - -blockquote:before, -blockquote:after, -q:before, -q:after { - content: ""; - content: none; -} - -blockquote { - color: #767676; - font-size: 19px; - font-style: italic; - font-weight: 300; - line-height: 1.2631578947; - margin: 0 0 24px; -} - -blockquote cite, -blockquote small { - color: #2b2b2b; - font-size: 16px; - font-weight: 400; - line-height: 1.5; -} - -blockquote em, -blockquote i, -blockquote cite { - font-style: normal; -} - -blockquote strong, -blockquote b { - font-weight: 400; -} - -small { - font-size: smaller; -} - -big { - font-size: 125%; -} - -sup, -sub { - font-size: 75%; - height: 0; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - bottom: 1ex; -} - -sub { - top: .5ex; -} - -dl { - margin: 0 0 24px; -} - -dt { - font-weight: bold; -} - -dd { - margin: 0 0 24px; -} - -ul, -ol { - list-style: none; - margin: 0 0 24px 20px; - padding-left: 0; -} - -ul { - list-style: disc; -} - -ol { - list-style: decimal; -} - -li > ul, -li > ol { - margin: 0 0 0 20px; -} - -del { - color: #767676; -} - -hr { - background-color: rgba(0, 0, 0, 0.1); - border: 0; - height: 1px; - margin-bottom: 23px; -} - - -/** - * 4.0 Links - * ---------------------------------------------------------------------------- - */ - -a { - color: #24890d; - text-decoration: none; -} - -a:visited { - color: #24890d; -} - -a:focus { - outline: thin dotted; -} - -a:active, -a:hover { - color: #41a62a; - outline: 0; -} - - -/** - * 5.0 Alignment - * ---------------------------------------------------------------------------- - */ - -.alignleft { - float: left; - margin: 7px 24px 7px 0; -} - -.alignright { - float: right; - margin: 7px 0 7px 24px; -} - -.aligncenter { - clear: both; - display: block; - margin: 7px auto; -} - -blockquote.alignleft, -blockquote.alignright { - border-top: 1px solid rgba(0, 0, 0, 0.1); - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - padding-top: 17px; - width: 50%; -} - -blockquote.alignleft p, -blockquote.alignright p { - margin-bottom: 17px; -} - - -/** - * 6.0 Tables - * ---------------------------------------------------------------------------- - */ - -.mceItemTable { - border: 1px solid rgba(0, 0, 0, 0.1); - border-width: 1px 0 0 1px; - border-collapse: separate; - border-spacing: 0; - font-size: 14px; - line-height: 1.2857142857; - margin-bottom: 24px; - width: 100%; -} - -.mceItemTable th, -.mceItemTable caption { - border: 1px solid rgba(0, 0, 0, 0.1); - border-width: 0 1px 1px 0; - font-weight: 700; - padding: 8px; - text-align: left; - text-transform: uppercase; - vertical-align: baseline; -} - -.mceItemTable td { - border: 1px solid rgba(0, 0, 0, 0.1); - border-width: 0 1px 1px 0; - font-family: Lato, sans-serif; - font-size: 14px; - padding: 8px; - vertical-align: baseline; -} - - -/** - * 7.0 Images - * ---------------------------------------------------------------------------- - */ - -img { - height: auto; - max-width: 474px; - vertical-align: middle; -} - -.wp-caption { - background: transparent; - border: none; - color: #767676; - margin: 0 0 24px 0; - max-width: 474px; - padding: 0; - text-align: left; -} - -.html5-captions .wp-caption { - padding: 0; -} - -.wp-caption.alignleft { - margin: 7px 14px 7px 0; -} - -.html5-captions .wp-caption.alignleft { - margin-right: 24px; -} - -.wp-caption.alignright { - margin: 7px 0 7px 14px; -} - -.wp-caption.alignright img, -.wp-caption.alignright .wp-caption-dd { - padding-left: 10px; -} - -.html5-captions .wp-caption.alignright { - margin-left: 24px; -} - -.html5-captions .wp-caption.alignright img, -.html5-captions .wp-caption.alignright .wp-caption-dd { - padding: 0; -} - -.wp-caption.aligncenter { - margin: 7px auto; -} - -.wp-caption-dt { - margin: 0; -} - -.wp-caption .wp-caption-text, -.wp-caption-dd { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - font-size: 12px; - font-style: italic; - line-height: 1.5; - margin: 9px 0; - padding: 0 10px 0 0; /* Avoid the caption to overflow the width of the image because wp-caption has 10px wider width */ - text-align: left; -} - -.mceTemp + ul, -.mceTemp + ol { - list-style-position: inside; -} - -/** - * 8.0 Gallery - * ----------------------------------------------------------------------------- - */ - -.gallery .gallery-item { - float: left; - margin: 0 4px 4px 0; - overflow: hidden; - padding: 0; - position: relative; -} - -.gallery-columns-1 .gallery-item { - max-width: 100%; - width: auto; -} - -.gallery-columns-2 .gallery-item { - max-width: 48%; - max-width: -webkit-calc(50% - 14px); - max-width: calc(50% - 14px); - width: auto; -} - -.gallery-columns-3 .gallery-item { - max-width: 32%; - max-width: -webkit-calc(33.3% - 11px); - max-width: calc(33.3% - 11px); - width: auto; -} - -.gallery-columns-4 .gallery-item { - max-width: 23%; - max-width: -webkit-calc(25% - 9px); - max-width: calc(25% - 9px); - width: auto; -} - -.gallery-columns-5 .gallery-item { - max-width: 19%; - max-width: -webkit-calc(20% - 8px); - max-width: calc(20% - 8px); - width: auto; -} - -.gallery-columns-6 .gallery-item { - max-width: 15%; - max-width: -webkit-calc(16.7% - 7px); - max-width: calc(16.7% - 7px); - width: auto; -} - -.gallery-columns-7 .gallery-item { - max-width: 13%; - max-width: -webkit-calc(14.28% - 7px); - max-width: calc(14.28% - 7px); - width: auto; -} - -.gallery-columns-8 .gallery-item { - max-width: 11%; - max-width: -webkit-calc(12.5% - 6px); - max-width: calc(12.5% - 6px); - width: auto; -} - -.gallery-columns-9 .gallery-item { - max-width: 9%; - max-width: -webkit-calc(11.1% - 6px); - max-width: calc(11.1% - 6px); - width: auto; -} - -.gallery-columns-1 .gallery-item:nth-of-type(1n), -.gallery-columns-2 .gallery-item:nth-of-type(2n), -.gallery-columns-3 .gallery-item:nth-of-type(3n), -.gallery-columns-4 .gallery-item:nth-of-type(4n), -.gallery-columns-5 .gallery-item:nth-of-type(5n), -.gallery-columns-6 .gallery-item:nth-of-type(6n), -.gallery-columns-7 .gallery-item:nth-of-type(7n), -.gallery-columns-8 .gallery-item:nth-of-type(8n), -.gallery-columns-9 .gallery-item:nth-of-type(9n) { - margin-right: 0; -} - -.gallery-columns-1 .gallery-item:nth-of-type(1n), -.gallery-columns-2 .gallery-item:nth-of-type(2n - 1), -.gallery-columns-3 .gallery-item:nth-of-type(3n - 2), -.gallery-columns-4 .gallery-item:nth-of-type(4n - 3), -.gallery-columns-5 .gallery-item:nth-of-type(5n - 4), -.gallery-columns-6 .gallery-item:nth-of-type(6n - 5), -.gallery-columns-7 .gallery-item:nth-of-type(7n - 6), -.gallery-columns-8 .gallery-item:nth-of-type(8n - 7), -.gallery-columns-9 .gallery-item:nth-of-type(9n - 8) { - margin-left: 12px; /* Compensate for the default negative margin on .gallery, which can't be changed. */ -} - -.gallery .gallery-caption { - background-color: rgba(0, 0, 0, 0.7); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - color: #fff; - font-size: 12px; - line-height: 1.5; - margin: 0; - max-height: 50%; - opacity: 0; - padding: 6px 8px; - position: absolute; - bottom: 0; - left: 0; - text-align: left; - width: 100%; -} - -.gallery .gallery-caption:before { - content: ""; - height: 100%; - min-height: 49px; - position: absolute; - top: 0; - left: 0; - width: 100%; -} - -.gallery-item:hover .gallery-caption { - opacity: 1; -} - -.gallery-columns-7 .gallery-caption, -.gallery-columns-8 .gallery-caption, -.gallery-columns-9 .gallery-caption { - display: none; -} - - -/** - * 9.0 Audio/Video - * ---------------------------------------------------------------------------- - */ - -.mejs-mediaelement, -.mejs-container .mejs-controls { - background: #000; -} - -.mejs-controls .mejs-time-rail .mejs-time-loaded, -.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { - background: #fff; -} - -.mejs-controls .mejs-time-rail .mejs-time-current { - background: #24890d; -} - -.mejs-controls .mejs-time-rail .mejs-time-total, -.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { - background: rgba(255, 255, 255, .33); -} - -.mejs-controls .mejs-time-rail span, -.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, -.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { - border-radius: 0; -} - -.mejs-overlay-loading { - background: transparent; -} - -.mejs-overlay-button { - background-color: #fff; - background-image: none; - border-radius: 2px; - box-shadow: 1px 1px 1px rgba(0,0,0,.8); - color: #000; - height: 36px; - margin-left: -24px; - width: 48px; -} - -.mejs-overlay-button:before { - -webkit-font-smoothing: antialiased; - content: '\f452'; - display: inline-block; - font: normal 32px/1.125 Genericons; - position: absolute; - top: 1px; - left: 10px; -} - -.mejs-controls .mejs-button button:focus { - outline: none; -} - -.mejs-controls .mejs-button button { - -webkit-font-smoothing: antialiased; - background: none; - color: #fff; - display: inline-block; - font: normal 16px/1 Genericons; -} - -.mejs-playpause-button.mejs-play button:before { - content: '\f452'; -} - -.mejs-playpause-button.mejs-pause button:before { - content: '\f448'; -} - -.mejs-volume-button.mejs-mute button:before { - content: '\f109'; - font-size: 20px; - position: absolute; - top: -2px; - left: 0; -} - -.mejs-volume-button.mejs-unmute button:before { - content: '\f109'; - left: 0; - position: absolute; - top: 0; -} - -.mejs-fullscreen-button button:before { - content: '\f474'; -} - -.mejs-fullscreen-button.mejs-unfullscreen button:before { - content: '\f406'; -} - -.mejs-overlay:hover .mejs-overlay-button { - background-color: #24890d; - color: #fff; -} - -.mejs-controls .mejs-button button:hover { - color: #41a62a; -} - - -/** - * 10.0 RTL - * ---------------------------------------------------------------------------- - */ - -html .mceContentBody.rtl { - direction: rtl; - unicode-bidi: embed; -} - -.rtl ol, -.rtl ul { - margin-left: 0; - margin-right: 24px; -} - -.rtl .wp-caption, -.rtl tr th { - text-align: right; -} - -.rtl td { - text-align: right; -} diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/css/ie.css b/sources/wordpress/wp-content/themes/twentyfourteen/css/ie.css deleted file mode 100644 index 82142d2..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/css/ie.css +++ /dev/null @@ -1,1335 +0,0 @@ -/** - * Global Styles for older IE versions (previous to IE9). - */ - -pre, -fieldset, -table, -th, -td, -input, -textarea { - border: 1px solid #e5e5e5; -} - -hr { - background-color: #e5e5e5; -} - -button, -input, -select, -textarea { - vertical-align: middle; -} - - -input:focus, -textarea:focus { - border: 1px solid #b2b2b2; -} - -.site-title { - max-width: 71%; -} - -.site-content blockquote.alignleft, -.site-content blockquote.alignright { - border-top: 1px solid #e5e5e5; - border-bottom: 1px solid #e5e5e5; -} - -.post-thumbnail, -a.post-thumbnail:hover { - background: transparent; -} - -.list-view .site-content .hentry { - border-top: 1px solid #e5e5e5; - padding-top: 48px; -} - -.gallery-caption { - background: #000; - filter: alpha(opacity=0); -} - -.gallery-item:hover .gallery-caption { - filter: alpha(opacity=70); -} - -.nav-links { - border-top: 1px solid #e5e5e5; -} - -.post-navigation a, -.image-navigation .previous-image, -.image-navigation .next-image, -.contributor { - border-bottom: 1px solid #e5e5e5; -} - -.contributor-avatar, -.comment-author .avatar { - border: 1px solid #e5e5e5; -} - -.comment-list article, -.comment-list .pingback, -.comment-list .trackback { - border-top: 1px solid #e5e5e5; -} - -.comment-list .reply { - margin-top: 0; -} - -#secondary { - color: #b3b3b3; -} - -.widget abbr[title] { - border-color: #b3b3b3; -} - -.widget pre, -.widget fieldset, -.widget table, -.widget th, -.widget td, -.widget input, -.widget textarea { - border-color: #4d4d4d; -} - -.widget blockquote, -.widget .wp-caption, -.widget_twentyfourteen_ephemera .entry-meta a { - color: #b3b3b3; -} - -.widget del { - color: #666; -} - -.widget hr { - background-color: #4d4d4d; -} - -.widget input, -.widget textarea { - background-color: #1a1a1a; -} - -.widget input:focus, -.widget textarea:focus { - border-color: #262626; -} - -.widget_calendar thead th { - background-color: #1a1a1a; -} - -.widget_twentyfourteen_ephemera > ol > li { - border-bottom: 1px solid #4d4d4d; -} - -.widget_archive li, -.widget_categories li, -.widget_links li, -.widget_meta li, -.widget_nav_menu li, -.widget_pages li, -.widget_recent_comments li, -.widget_recent_entries li, -.widget_categories li ul, -.widget_nav_menu li ul, -.widget_pages li ul { - border-top: 1px solid #4d4d4d; -} - -.content-sidebar .widget pre, -.content-sidebar .widget fieldset, -.content-sidebar .widget table, -.content-sidebar .widget th, -.content-sidebar .widget td, -.content-sidebar .widget input, -.content-sidebar .widget textarea, -.content-sidebar .widget_archive li, -.content-sidebar .widget_categories li, -.content-sidebar .widget_links li, -.content-sidebar .widget_meta li, -.content-sidebar .widget_nav_menu li, -.content-sidebar .widget_pages li, -.content-sidebar .widget_recent_comments li, -.content-sidebar .widget_recent_entries li, -.content-sidebar .widget_categories li ul, -.content-sidebar .widget_nav_menu li ul, -.content-sidebar .widget_pages li ul { - border-color: #e5e5e5; -} - -.content-sidebar .widget hr { - background-color: #e5e5e5; -} - -.content-sidebar .widget input:focus, -.content-sidebar .widget textarea:focus { - border: 1px solid #b2b2b2; -} - -.content-sidebar .widget_calendar thead th { - background-color: #fafafa; -} - -.content-sidebar .widget_twentyfourteen_ephemera > ol > li { - border-bottom: 1px solid #e5e5e5; -} - -.site-footer, -.site-info, -.site-info a { - color: #b3b3b3; -} - -#supplementary + .site-info { - border-top: 1px solid #4d4d4d; -} - -.featured-content { - background: #000; -} - - -/** - * Internet Explorer 8 - */ - -.ie8 img.size-full, -.ie8 img.size-large, -.ie8 img.header-image, -.ie8 img.wp-post-image, -.ie8 img[class*="align"], -.ie8 img[class*="wp-image-"], -.ie8 img[class*="attachment-"] { - height: auto; - width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ -} - -.ie8 .full-size-link:before, -.ie8 .parent-post-link:before, -.ie8 .site-content span + .byline:before, -.ie8 .site-content span + .comments-link:before, -.ie8 .site-content span + .edit-link:before, -.ie8 .site-content span + .entry-date:before { - content: ""; -} - -.ie8 .attachment span.entry-date:before, -.ie8 .entry-content .edit-link a:before, -.ie8 .entry-meta .edit-link a:before, -.ie8 .site-content .byline a:before, -.ie8 .site-content .comments-link a:before, -.ie8 .site-content .entry-date a:before, -.ie8 .site-content .featured-post:before, -.ie8 .site-content .full-size-link a:before, -.ie8 .site-content .parent-post-link a:before, -.ie8 .site-content .post-format a:before { - display: inline-block; - font: normal 16px/1 Genericons; - text-decoration: inherit; - vertical-align: text-bottom; -} - -.ie8 .site-content .entry-meta > span { - margin-right: 10px; -} - -.ie8 .site-content .format-video .post-format a:before { - content: "\f104"; -} - -.ie8 .site-content .format-audio .post-format a:before { - content: "\f109"; -} - -.ie8 .site-content .format-image .post-format a:before { - content: "\f473"; - position: relative; - top: 1px; -} - -.ie8 .site-content .format-quote .post-format a:before { - content: "\f106"; - margin-right: 2px; -} - -.ie8 .site-content .format-gallery .post-format a:before { - content: "\f103"; - margin-right: 4px; -} - -.ie8 .site-content .format-aside .post-format a:before { - content: "\f101"; - margin-right: 2px; -} - -.ie8 .site-content .format-link .post-format a:before { - content: "\f107"; - position: relative; - top: 1px; -} - -.ie8 .site-content .featured-post:before { - content: "\f308"; - margin-right: 3px; - position: relative; - top: 1px; -} - -.ie8 .site-content .entry-date a:before, -.ie8 .attachment .site-content span.entry-date:before { - content: "\f303"; - margin-right: 1px; - position: relative; - top: 1px; -} - -.ie8 .site-content .byline a:before { - content: "\f304"; -} - -.ie8 .site-content .comments-link a:before { - content: "\f300"; - margin-right: 2px; -} - -.ie8 .entry-content .edit-link a:before, -.ie8 .entry-meta .edit-link a:before { - content: "\f411"; -} - -.ie8 .site-content .full-size-link a:before { - content: "\f402"; - margin-right: 1px; -} - -.ie8 .site-content .parent-post-link a:before { - content: "\f301"; -} - -.ie8 .main-content { - float: left; -} - -.ie8 .content-area { - float: left; - padding-top: 72px; - width: 100%; -} - -.ie8 .site-content { - margin-right: 29.04761904%; - margin-left: 17.61904761%; -} - -.ie8 .search-box-wrapper, -.ie8 .featured-content { - padding-left: 17.61904761%; -} - -.ie8 .header-main { - padding: 0 0 0 30px; -} - -.ie8 .search-toggle { - margin-right: 0; -} - -.ie8 .search-box .search-field { - width: 324px; -} - -.ie8 .site-navigation li .current_page_item > a, -.ie8 .site-navigation li .current_page_ancestor > a, -.ie8 .site-navigation li .current-menu-item > a, -.ie8 .site-navigation li .current-menu-ancestor > a { - background-color: #000; -} - -.ie8 .primary-navigation { - float: right; - font-size: 11px; - margin: 0 1px 0 -10px; - padding: 0; - text-transform: uppercase; -} - -.ie8 .primary-navigation .menu-toggle { - display: none; - padding: 0; -} - -.ie8 .primary-navigation .nav-menu { - border-bottom: 0; - display: block; -} - -.ie8 .primary-navigation.toggled-on { - border-bottom: 0; - margin: 0; - padding: 0; -} - -.ie8 .primary-navigation li { - border: 0; - display: inline-block; - height: 48px; - line-height: 48px; - position: relative; -} - -.ie8 .primary-navigation a { - display: inline-block; - padding: 0 10px; - white-space: nowrap; -} - -.ie8 .primary-navigation ul ul { - background-color: #24890d; - float: left; - margin: 0; - position: absolute; - top: 48px; - left: -999em; - z-index: 99999; -} - -.ie8 .primary-navigation li li { - border: 0; - display: block; - height: auto; - line-height: 1.0909090909; -} - -.ie8 .primary-navigation ul ul ul { - left: -999em; - top: 0; -} - -.ie8 .primary-navigation ul ul a { - padding: 18px 12px; - white-space: normal; - width: 176px; -} - -.ie8 .primary-navigation li:hover > a, -.ie8 .primary-navigation li.focus > a { - background-color: #24890d; - color: #fff; -} - -.ie8 .primary-navigation ul ul a:hover, -.ie8 .primary-navigation ul ul li.focus > a { - background-color: #41a62a; -} - -.ie8 .primary-navigation ul li:hover > ul, -.ie8 .primary-navigation ul li.focus > ul { - left: auto; -} - -.ie8 .primary-navigation ul ul li:hover > ul, -.ie8 .primary-navigation ul ul li.focus > ul { - left: 100%; -} - -.ie8 .archive-header, -.ie8 .page-header { - margin: 0 auto 60px; - padding: 0 10px; -} - -.ie8 .site-content .has-post-thumbnail .entry-header { - margin-top: -48px; -} - -.ie8 .archive-header, -.ie8 .comments-area, -.ie8 .image-navigation, -.ie8 .page-header, -.ie8 .page-content, -.ie8 .post-navigation, -.ie8 .site-content .entry-header, -.ie8 .site-content .entry-content, -.ie8 .site-content .entry-summary, -.ie8 .site-content footer.entry-meta { - margin-right: 54px; - padding-right: 30px; - padding-left: 30px; -} - -.ie8 .list-view .site-content .hentry:first-child, -.ie8 .list-view .site-content .hentry.has-post-thumbnail { - border-top: 0; - padding-top: 0; -} - -.ie8 .comment-list .trackback, -.ie8 .comment-list .pingback, -.ie8 .comment-list article { - margin-bottom: 36px; - padding-top: 36px; -} - -.ie8 .comment-author .avatar { - height: 34px; - top: 2px; - width: 34px; -} - -.ie8 .comment-author, -.ie8 .comment-awaiting-moderation, -.ie8 .comment-content, -.ie8 .comment-list .reply, -.ie8 .comment-metadata { - padding-left: 50px; -} - -.ie8 .comment-list .children { - margin-left: 20px; -} - -.ie8 .full-width .site-content { - margin-right: 0; -} - -.ie8 .full-width .archive-header, -.ie8 .full-width .comments-area, -.ie8 .full-width .image-navigation, -.ie8 .full-width .page-header, -.ie8 .full-width .page-content, -.ie8 .full-width .post-navigation, -.ie8 .full-width .site-content .entry-header, -.ie8 .full-width .site-content .entry-content, -.ie8 .full-width .site-content .entry-summary, -.ie8 .full-width .site-content footer.entry-meta { - padding-right: 30px; - padding-left: 30px; - margin-right: auto; -} - -.ie8 .full-width .hentry.has-post-thumbnail:first-child { - margin-top: -72px; -} - - -.ie8 .singular .site-content .hentry.has-post-thumbnail { - margin-top: 0; -} - -.ie8 .error404 .page-header { - margin-bottom: 24px; -} - -.ie8 .contributor-avatar { - margin-left: -168px; -} - -.ie8 .contributor-summary { - float: left; -} - -.ie8 .site:before { - background-color: #000; - content: ""; - display: block; - height: 100%; - min-height: 100%; - position: absolute; - top: 0; - left: 0; - width: 17.61904761%; - z-index: 2; -} - -.ie8 #secondary { - border: 0; - clear: none; - color: #b3b3b3; - float: left; - margin: 0 0 0 -100%; - min-height: 100vh; - padding: 0 30px; - width: 12.85714285%; -} - -.ie8 .site-description { - display: block; - margin: -3px 0 21px; -} - -.ie8 .secondary-navigation { - font-size: 11px; - margin: 0 -30px 48px; - width: calc(100% + 60px); -} - -.ie8 .secondary-navigation li { - border-top: 1px solid #4d4d4d; - position: relative; -} - -.ie8 .secondary-navigation a { - padding: 10px 30px; -} - -.ie8 .secondary-navigation ul ul { - background-color: #24890d; - position: absolute; - top: 0; - left: -999em; - width: 222px; - z-index: 99999; -} - -.ie8 .secondary-navigation li li { - border-top: 0; -} - -.ie8 .secondary-navigation li:hover > a, -.ie8 .secondary-navigation li.focus > a { - background-color: #24890d; - color: #fff; -} - -.ie8 .secondary-navigation ul ul a:hover, -.ie8 .secondary-navigation ul ul li.focus > a { - background-color: #41a62a; -} - -.ie8 .secondary-navigation ul li:hover > ul, -.ie8 .secondary-navigation ul li.focus > ul { - left: 202px; -} - -.ie8 .content-sidebar { - border: 0; - float: right; - margin-left: -29.04761904%; - padding: 72px 30px 24px; - width: 29.04761904%; -} - -.ie8 #supplementary { - padding: 0; -} - -.ie8 .footer-sidebar { - font-size: 12px; - line-height: 1.5; -} - -.ie8 .footer-sidebar .widget, -.ie8 .primary-sidebar .widget { - font-size: 12px; - line-height: 1.5; -} - -.ie8 .footer-sidebar .widget { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - padding: 0 30px; - width: 25%; -} - -.ie8 .footer-sidebar .widget h1, -.ie8 .primary-sidebar .widget h1 { - font-size: 20px; - line-height: 1.2; -} - -.ie8 .footer-sidebar .widget h2, -.ie8 .primary-sidebar .widget h2 { - font-size: 18px; - line-height: 1.3333333333; -} - -.ie8 .footer-sidebar .widget h3, -.ie8 .primary-sidebar .widget h3 { - font-size: 16px; - line-height: 1.5; -} - -.ie8 .footer-sidebar .widget h4, -.ie8 .primary-sidebar .widget h4 { - font-size: 14px; - line-height: 1.7142857142; -} - -.ie8 .footer-sidebar .widget h5, -.ie8 .primary-sidebar .widget h5 { - font-size: 12px; - line-height: 2; -} - -.ie8 .footer-sidebar .widget h6, -.ie8 .primary-sidebar .widget h6 { - font-size: 11px; - line-height: 2.1818181818; -} - -.ie8 .footer-sidebar .widget code, -.ie8 .footer-sidebar .widget kbd, -.ie8 .footer-sidebar .widget tt, -.ie8 .footer-sidebar .widget var, -.ie8 .footer-sidebar .widget samp, -.ie8 .footer-sidebar .widget pre, -.ie8 .primary-sidebar .widget code, -.ie8 .primary-sidebar .widget kbd, -.ie8 .primary-sidebar .widget tt, -.ie8 .primary-sidebar .widget var, -.ie8 .primary-sidebar .widget samp, -.ie8 .primary-sidebar .widget pre { - font-size: 11px; - line-height: 1.6363636363; -} - -.ie8 .footer-sidebar .widget blockquote, -.ie8 .primary-sidebar .widget blockquote { - font-size: 14px; - line-height: 1.2857142857; -} - -.ie8 .footer-sidebar .widget blockquote cite, -.ie8 .primary-sidebar .widget blockquote cite { - font-size: 12px; - line-height: 1.5; -} - -.ie8 .footer-sidebar .widget input, -.ie8 .footer-sidebar .widget textarea, -.ie8 .primary-sidebar .widget input, -.ie8 .primary-sidebar .widget textarea { - font-size: 12px; - padding: 3px 2px 4px 4px; -} - -.ie8 .footer-sidebar .widget input[type="button"], -.ie8 .footer-sidebar .widget input[type="reset"], -.ie8 .footer-sidebar .widget input[type="submit"], -.ie8 .primary-sidebar .widget input[type="button"], -.ie8 .primary-sidebar .widget input[type="reset"], -.ie8 .primary-sidebar .widget input[type="submit"] { - padding: 5px 15px 4px; -} - -.ie8 .footer-sidebar .widget .widget-title, -.ie8 .primary-sidebar .widget .widget-title { - font-size: 11px; - font-weight: 700; - line-height: 1.6363636363; - margin-bottom: 18px; -} - -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .entry-title, -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .entry-meta, -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .wp-caption-text, -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link, -.ie8 .footer-sidebar .widget_twentyfourteen_ephemera .entry-content table, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .entry-title, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .entry-meta, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .wp-caption-text, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link, -.ie8 .primary-sidebar .widget_twentyfourteen_ephemera .entry-content table { - font-size: 11px; - line-height: 1.6363636363; -} - -.ie8 .footer-sidebar .widget_archive li, -.ie8 .footer-sidebar .widget_categories li, -.ie8 .footer-sidebar .widget_links li, -.ie8 .footer-sidebar .widget_meta li, -.ie8 .footer-sidebar .widget_nav_menu li, -.ie8 .footer-sidebar .widget_pages li, -.ie8 .footer-sidebar .widget_recent_comments li, -.ie8 .footer-sidebar .widget_recent_entries li, -.ie8 .primary-sidebar .widget_archive li, -.ie8 .primary-sidebar .widget_categories li, -.ie8 .primary-sidebar .widget_links li, -.ie8 .primary-sidebar .widget_meta li, -.ie8 .primary-sidebar .widget_nav_menu li, -.ie8 .primary-sidebar .widget_pages li, -.ie8 .primary-sidebar .widget_recent_comments li, -.ie8 .primary-sidebar .widget_recent_entries li { - border-top: 0; - padding: 0 0 6px; -} - -.ie8 .footer-sidebar .widget_categories li ul, -.ie8 .footer-sidebar .widget_nav_menu li ul, -.ie8 .footer-sidebar .widget_pages li ul, -.ie8 .primary-sidebar .widget_categories li ul, -.ie8 .primary-sidebar .widget_nav_menu li ul, -.ie8 .primary-sidebar .widget_pages li ul { - border-top: 0; - margin-top: 0; -} - -.ie8 .grid .featured-content .entry-header { - border-color: #000; - border-style: solid; - border-width: 12px 10px; - height: 96px; - padding: 0; -} - -.ie8 .featured-content { - padding-left: 17.61904761%; -} - -.ie8 .grid .featured-content .hentry { - float: left; - width: 33.3333333%; -} - -.ie8 .grid .featured-content .hentry:nth-child( 3n+1 ) { - clear: both; -} - -.ie8 .grid .featured-content .entry-header { - height: 120px; -} - -.ie8 .slider .featured-content .entry-title { - font-size: 33px; - line-height: 1.0909090909; -} - -.ie8 .slider .featured-content .entry-header { - min-height: inherit; - padding: 24px 30px 48px; - position: absolute; - left: 0; - bottom: 0; - width: 50%; - z-index: 3; -} - -.ie8 .slider-control-paging { - background: transparent; - margin-top: -48px; - padding-left: 24px; - width: 50%; -} - -.ie8 .slider-control-paging li { - margin: 12px 12px 12px 0; -} - -.ie8 .slider-control-paging a { - height: 24px; - width: 24px; -} - -.ie8 .slider-control-paging a:before { - top: 6px; - left: 6px; -} - -.ie8 .slider-direction-nav { - clear: none; - float: right; - margin-top: -48px; - width: 98px; -} - -.ie8 .slider-direction-nav li:first-child { - padding: 0 1px 0 0; -} - -.ie8 .slider-direction-nav li { - border: 0; - padding: 0 0 0 1px; -} - -.ie8 .slider-direction-nav a { - height: 48px; -} - -.ie8 .slider-direction-nav a:before { - line-height: 48px; -} - - -/** - * Internet Explorer 7 - */ - -.ie7 audio, -.ie7 canvas, -.ie7 video { - display: inline; - zoom: 1; -} - -.ie7 button, -.ie7 input, -.ie7 select, -.ie7 textarea { - vertical-align: middle; -} - -.ie7 button, -.ie7 input[type="button"], -.ie7 input[type="reset"], -.ie7 input[type="submit"] { - overflow: visible; -} - -.ie7 .screen-reader-text { - clip: rect(1px 1px 1px 1px); -} - -.ie7 .site, -.ie7 .site-header { - max-width: 100%; -} - -.ie7 .search-toggle { - line-height: 45px; - margin-right: 190px; - padding: 0 20px; - text-transform: uppercase; - width: auto; -} - -.ie7 .search-toggle .screen-reader-text { - color: #fff; - position: relative; /* Override inherited `absolute` value set in style.css. */ -} - -.ie7 .search-box { - height: 24px; - padding: 12px 0; -} - -.ie7 .search-box .search-field { - margin: 0 10px; - width: 33%; -} - -.ie7 .site-navigation li { - border-top: 1px solid #4d4d4d; -} - -.ie7 .primary-navigation .nav-menu, -.ie7 .secondary-navigation { - border-bottom: 1px solid #4d4d4d; -} - -.ie7 .secondary-navigation { - margin: 48px auto; - max-width: 474px -} - -.ie7 .content-area { - padding-top: 48px; -} - -.ie7 .hentry { - max-width: 100%; -} - -.ie7 .menu-toggle { - color: #fff; - font-weight: 400; - font-size: 16px; - line-height: 45px; - text-transform: uppercase; - width: 200px; -} - -.ie7 .post-thumbnail img { - display: block; - margin: 0 auto; -} - -.ie7 .entry-meta .tag-links a { - margin-left: 0; -} - -.ie7 .content-sidebar { - padding: 48px 10px; -} - -.ie7 .singular .hentry.has-post-thumbnail { - margin-top: -48px; -} - -.ie7 .entry-meta > span, -.ie7 .widget_twentyfourteen_ephemera .entry-title { - margin-right: 20px; -} - -.ie7 #secondary { - border-bottom: 1px solid #4d4d4d; -} - -.ie7 .content-sidebar { - border-top: 1px solid #e5e5e5; - border-bottom: 1px solid #e5e5e5; -} - -.ie7 .widget { - margin: 0 auto 48px; - max-width: 474px; -} - -.ie7 .content-sidebar .widget_twentyfourteen_ephemera .widget-title { - padding-top: 7px; -} - -.ie7 .slider .featured-content .hentry { - display: block; -} - -.ie7 .featured-content .entry-header { - min-height: 0; -} - -.ie7 .slider-control-paging a { - line-height: 40px; - text-indent: 0; -} - -.ie7 .slider-control-paging .slider-active { - color: #41a62a; -} - -.ie7 .slider-direction-nav { - border-top: 2px solid #fff; -} - -.ie7 .slider-direction-nav li { - border: 0; - width: 49%; -} - -.ie7 .slider-direction-nav a { - font-size: 16px; - line-height: 45px; - text-transform: uppercase; -} - -.ie7 .slider-direction-nav a:hover { - background-color: #000; - color: #41a62a; -} - -.ie7 .search-toggle { - line-height: 45px; - margin-right: 190px; -} - -.ie7 .featured-content .post-thumbnail, -.ie7 .slider .featured-content .post-thumbnail { - padding-top: 0; -} - -.ie7 .featured-content .post-thumbnail img { - position: relative; -} - -.ie7 .featured-content .entry-header { - width: auto; -} - -.ie7 .grid .featured-content .hentry { - float: left; - margin: 0 auto; - max-width: 672px; - width: 33.333333%; -} - -.ie7 .slider .featured-content .entry-header { - margin: 0 auto; - max-width: 1038px; -} - -.ie7 .slider-control-paging { - float: none; - margin: -24px auto 0; - max-width: 1038px; - width: auto; -} - - -/** - * RTL for Internet Explorer 8 & 7 - */ - -.rtl .attachment a, -.rtl .gallery a, -.rtl .wp-caption a, -.rtl .widget_twentyfourteen_ephemera .entry-content a { - display: inline; -} - - -/** - * RTL overrides for Internet Explorer 8 - */ - -.ie8 .rtl .site-content .entry-meta > span { - margin-right: auto; - margin-left: 10px; -} - -.ie8 .rtl .site-content .format-quote .post-format a:before { - margin-right: auto; - margin-left: 2px; -} - -.ie8 .rtl .site-content .format-gallery .post-format a:before { - margin-right: auto; - margin-left: 4px; -} - -.ie8 .rtl .site-content .format-aside .post-format a:before { - margin-right: auto; - margin-left: 2px; -} - -.ie8 .rtl .site-content .featured-post:before { - margin-right: auto; - margin-left: 3px; -} - -.ie8 .rtl .site-content .entry-date a:before, -.ie8 .rtl .attachment .site-content span.entry-date:before { - margin-right: auto; - margin-left: 1px; -} - -.ie8 .rtl .site-content .comments-link a:before { - margin-right: auto; - margin-left: 2px; -} - -.ie8 .rtl .site-content .full-size-link a:before { - margin-right: auto; - margin-left: 1px; -} - -.ie8 .rtl .main-content { - float: right; -} - -.ie8 .rtl .content-area { - float: right; -} - -.ie8 .rtl .site-content { - margin-right: 17.61904761%; - margin-left: 29.04761904%; -} - -.ie8 .rtl .search-box-wrapper, -.ie8 .rtl .featured-content { - padding-right: 17.61904761%; - padding-left: 0; -} - -.ie8 .rtl .header-main { - padding: 0 30px 0 0; -} - -.ie8 .rtl .search-toggle { - margin-right: auto; - margin-left: 0; -} - -.ie8 .rtl .primary-navigation { - float: left; - margin: 0 -10px 0 1px; -} - -.ie8 .rtl .primary-navigation ul ul { - float: right; - right: -999em; - left: auto; -} - -.ie8 .rtl .primary-navigation ul ul ul { - right: -999em; - left: auto; -} - -.ie8 .rtl .primary-navigation ul li:hover > ul, -.ie8 .rtl .primary-navigation ul li.focus > ul { - right: auto; - left: auto; -} - -.ie8 .rtl .primary-navigation ul ul li:hover > ul, -.ie8 .rtl .primary-navigation ul ul li.focus > ul { - right: 100%; - left: auto; -} - -.ie8 .rtl .entry-meta .tag-links a:before { - right: -8px; -} - -.ie8 .rtl .archive-header, -.ie8 .rtl .comments-area, -.ie8 .rtl .image-navigation, -.ie8 .rtl .page-header, -.ie8 .rtl .page-content, -.ie8 .rtl .post-navigation, -.ie8 .rtl .site-content .entry-header, -.ie8 .rtl .site-content .entry-content, -.ie8 .rtl .site-content .entry-summary, -.ie8 .rtl .site-content footer.entry-meta { - margin-right: auto; - margin-left: 54px; -} - -.ie8 .rtl .comment-author, -.ie8 .rtl .comment-awaiting-moderation, -.ie8 .rtl .comment-content, -.ie8 .rtl .comment-list .reply, -.ie8 .rtl .comment-metadata { - padding-right: 50px; - padding-left: 0; -} - -.ie8 .rtl .comment-list .children { - margin-right: 20px; - margin-left: auto; -} - - -.ie8 .rtl.full-width .site-content { - margin-left: 0; -} - -.ie8 .rtl.full-width .archive-header, -.ie8 .rtl.full-width .comments-area, -.ie8 .rtl.full-width .image-navigation, -.ie8 .rtl.full-width .page-header, -.ie8 .rtl.full-width .page-content, -.ie8 .rtl.full-width .post-navigation, -.ie8 .rtl.full-width .site-content .entry-header, -.ie8 .rtl.full-width .site-content .entry-content, -.ie8 .rtl.full-width .site-content .entry-summary, -.ie8 .rtl.full-width .site-content footer.entry-meta { - margin-left: auto; -} - -.ie8 .rtl .contributor-avatar { - margin-right: -168px; - margin-left: auto; -} - -.ie8 .rtl .contributor-summary { - float: right; -} - -.ie8 .rtl .site:before { - right: 0; - left: auto; -} - -.ie8 .rtl #secondary { - float: right; - margin: 0 -100% 0 0; -} - -.ie8 .rtl .secondary-navigation ul ul { - right: -999em; - left: auto; -} - -.ie8 .rtl .secondary-navigation ul li:hover > ul, -.ie8 .rtl .secondary-navigation ul li.focus > ul { - right: 202px; - left: auto; -} - -.ie8 .rtl .content-sidebar { - float: left; - margin-right: -29.04761904%; - margin-left: auto; -} - -.ie8 .rtl .footer-sidebar .widget { - float: right; -} - -.ie8 .rtl .featured-content { - padding-right: 17.61904761%; - padding-left: 0; -} - -.ie8 .rtl.grid .featured-content .hentry { - float: right; -} - -.ie8 .rtl.slider .featured-content .entry-header { - right: 0; - left: auto; -} - -.ie8 .rtl .slider-control-paging { - padding-right: 24px; - padding-left: 0; -} - -.ie8 .rtl .slider-control-paging li { - margin: 12px 0 12px 12px; -} - -.ie8 .rtl .slider-control-paging a:before { - right: 6px; - left: auto; -} - -.ie8 .rtl .slider-direction-nav { - float: left; -} - -.ie8 .rtl .slider-direction-nav li { - padding: 0 1px 0 0; -} - -.ie8 .rtl .slider-direction-nav li:first-child { - padding: 0 0 0 1px; -} - - -/** - * RTL overrides for Internet Explorer 7 - */ - -.ie7 .rtl.grid .featured-content .hentry { - float: right; -} - -.ie7 .rtl .slider-control-paging { - float: none; - margin: -24px auto 0; -} - -.ie7 .rtl .entry-meta .tag-links a { - margin-right: 0; - margin-left: auto; -} - -.ie7 .rtl .search-toggle { - margin-right: auto; - margin-left: 190px; -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/featured-content.php b/sources/wordpress/wp-content/themes/twentyfourteen/featured-content.php deleted file mode 100644 index 1a623ac..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/featured-content.php +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/footer.php b/sources/wordpress/wp-content/themes/twentyfourteen/footer.php deleted file mode 100644 index b297a2e..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/footer.php +++ /dev/null @@ -1,28 +0,0 @@ - - - - -
      - - - -
      - - -
      -
      - - - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/functions.php b/sources/wordpress/wp-content/themes/twentyfourteen/functions.php deleted file mode 100644 index d95d29d..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/functions.php +++ /dev/null @@ -1,515 +0,0 @@ - for posts and comments. - add_theme_support( 'automatic-feed-links' ); - - // Enable support for Post Thumbnails, and declare two sizes. - add_theme_support( 'post-thumbnails' ); - set_post_thumbnail_size( 672, 372, true ); - add_image_size( 'twentyfourteen-full-width', 1038, 576, true ); - - // This theme uses wp_nav_menu() in two locations. - register_nav_menus( array( - 'primary' => __( 'Top primary menu', 'twentyfourteen' ), - 'secondary' => __( 'Secondary menu in left sidebar', 'twentyfourteen' ), - ) ); - - /* - * Switch default core markup for search form, comment form, and comments - * to output valid HTML5. - */ - add_theme_support( 'html5', array( - 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' - ) ); - - /* - * Enable support for Post Formats. - * See http://codex.wordpress.org/Post_Formats - */ - add_theme_support( 'post-formats', array( - 'aside', 'image', 'video', 'audio', 'quote', 'link', 'gallery', - ) ); - - // This theme allows users to set a custom background. - add_theme_support( 'custom-background', apply_filters( 'twentyfourteen_custom_background_args', array( - 'default-color' => 'f5f5f5', - ) ) ); - - // Add support for featured content. - add_theme_support( 'featured-content', array( - 'featured_content_filter' => 'twentyfourteen_get_featured_posts', - 'max_posts' => 6, - ) ); - - // This theme uses its own gallery styles. - add_filter( 'use_default_gallery_style', '__return_false' ); -} -endif; // twentyfourteen_setup -add_action( 'after_setup_theme', 'twentyfourteen_setup' ); - -/** - * Adjust content_width value for image attachment template. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_content_width() { - if ( is_attachment() && wp_attachment_is_image() ) { - $GLOBALS['content_width'] = 810; - } -} -add_action( 'template_redirect', 'twentyfourteen_content_width' ); - -/** - * Getter function for Featured Content Plugin. - * - * @since Twenty Fourteen 1.0 - * - * @return array An array of WP_Post objects. - */ -function twentyfourteen_get_featured_posts() { - /** - * Filter the featured posts to return in Twenty Fourteen. - * - * @since Twenty Fourteen 1.0 - * - * @param array|bool $posts Array of featured posts, otherwise false. - */ - return apply_filters( 'twentyfourteen_get_featured_posts', array() ); -} - -/** - * A helper conditional function that returns a boolean value. - * - * @since Twenty Fourteen 1.0 - * - * @return bool Whether there are featured posts. - */ -function twentyfourteen_has_featured_posts() { - return ! is_paged() && (bool) twentyfourteen_get_featured_posts(); -} - -/** - * Register three Twenty Fourteen widget areas. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_widgets_init() { - require get_template_directory() . '/inc/widgets.php'; - register_widget( 'Twenty_Fourteen_Ephemera_Widget' ); - - register_sidebar( array( - 'name' => __( 'Primary Sidebar', 'twentyfourteen' ), - 'id' => 'sidebar-1', - 'description' => __( 'Main sidebar that appears on the left.', 'twentyfourteen' ), - 'before_widget' => '', - 'before_title' => '

      ', - 'after_title' => '

      ', - ) ); - register_sidebar( array( - 'name' => __( 'Content Sidebar', 'twentyfourteen' ), - 'id' => 'sidebar-2', - 'description' => __( 'Additional sidebar that appears on the right.', 'twentyfourteen' ), - 'before_widget' => '', - 'before_title' => '

      ', - 'after_title' => '

      ', - ) ); - register_sidebar( array( - 'name' => __( 'Footer Widget Area', 'twentyfourteen' ), - 'id' => 'sidebar-3', - 'description' => __( 'Appears in the footer section of the site.', 'twentyfourteen' ), - 'before_widget' => '', - 'before_title' => '

      ', - 'after_title' => '

      ', - ) ); -} -add_action( 'widgets_init', 'twentyfourteen_widgets_init' ); - -/** - * Register Lato Google font for Twenty Fourteen. - * - * @since Twenty Fourteen 1.0 - * - * @return string - */ -function twentyfourteen_font_url() { - $font_url = ''; - /* - * Translators: If there are characters in your language that are not supported - * by Lato, translate this to 'off'. Do not translate into your own language. - */ - if ( 'off' !== _x( 'on', 'Lato font: on or off', 'twentyfourteen' ) ) { - $font_url = add_query_arg( 'family', urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic' ), "//fonts.googleapis.com/css" ); - } - - return $font_url; -} - -/** - * Enqueue scripts and styles for the front end. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_scripts() { - // Add Lato font, used in the main stylesheet. - wp_enqueue_style( 'twentyfourteen-lato', twentyfourteen_font_url(), array(), null ); - - // Add Genericons font, used in the main stylesheet. - wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.3' ); - - // Load our main stylesheet. - wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array( 'genericons' ) ); - - // Load the Internet Explorer specific stylesheet. - wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'genericons' ), '20131205' ); - wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' ); - - if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { - wp_enqueue_script( 'comment-reply' ); - } - - if ( is_singular() && wp_attachment_is_image() ) { - wp_enqueue_script( 'twentyfourteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20130402' ); - } - - if ( is_active_sidebar( 'sidebar-3' ) ) { - wp_enqueue_script( 'jquery-masonry' ); - } - - if ( is_front_page() && 'slider' == get_theme_mod( 'featured_content_layout' ) ) { - wp_enqueue_script( 'twentyfourteen-slider', get_template_directory_uri() . '/js/slider.js', array( 'jquery' ), '20131205', true ); - wp_localize_script( 'twentyfourteen-slider', 'featuredSliderDefaults', array( - 'prevText' => __( 'Previous', 'twentyfourteen' ), - 'nextText' => __( 'Next', 'twentyfourteen' ) - ) ); - } - - wp_enqueue_script( 'twentyfourteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20140616', true ); -} -add_action( 'wp_enqueue_scripts', 'twentyfourteen_scripts' ); - -/** - * Enqueue Google fonts style to admin screen for custom header display. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_admin_fonts() { - wp_enqueue_style( 'twentyfourteen-lato', twentyfourteen_font_url(), array(), null ); -} -add_action( 'admin_print_scripts-appearance_page_custom-header', 'twentyfourteen_admin_fonts' ); - -if ( ! function_exists( 'twentyfourteen_the_attached_image' ) ) : -/** - * Print the attached image with a link to the next attached image. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_the_attached_image() { - $post = get_post(); - /** - * Filter the default Twenty Fourteen attachment size. - * - * @since Twenty Fourteen 1.0 - * - * @param array $dimensions { - * An array of height and width dimensions. - * - * @type int $height Height of the image in pixels. Default 810. - * @type int $width Width of the image in pixels. Default 810. - * } - */ - $attachment_size = apply_filters( 'twentyfourteen_attachment_size', array( 810, 810 ) ); - $next_attachment_url = wp_get_attachment_url(); - - /* - * Grab the IDs of all the image attachments in a gallery so we can get the URL - * of the next adjacent image in a gallery, or the first image (if we're - * looking at the last image in a gallery), or, in a gallery of one, just the - * link to that image file. - */ - $attachment_ids = get_posts( array( - 'post_parent' => $post->post_parent, - 'fields' => 'ids', - 'numberposts' => -1, - 'post_status' => 'inherit', - 'post_type' => 'attachment', - 'post_mime_type' => 'image', - 'order' => 'ASC', - 'orderby' => 'menu_order ID', - ) ); - - // If there is more than 1 attachment in a gallery... - if ( count( $attachment_ids ) > 1 ) { - foreach ( $attachment_ids as $attachment_id ) { - if ( $attachment_id == $post->ID ) { - $next_id = current( $attachment_ids ); - break; - } - } - - // get the URL of the next image attachment... - if ( $next_id ) { - $next_attachment_url = get_attachment_link( $next_id ); - } - - // or get the URL of the first image attachment. - else { - $next_attachment_url = get_attachment_link( array_shift( $attachment_ids ) ); - } - } - - printf( '%2$s', - esc_url( $next_attachment_url ), - wp_get_attachment_image( $post->ID, $attachment_size ) - ); -} -endif; - -if ( ! function_exists( 'twentyfourteen_list_authors' ) ) : -/** - * Print a list of all site contributors who published at least one post. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_list_authors() { - $contributor_ids = get_users( array( - 'fields' => 'ID', - 'orderby' => 'post_count', - 'order' => 'DESC', - 'who' => 'authors', - ) ); - - foreach ( $contributor_ids as $contributor_id ) : - $post_count = count_user_posts( $contributor_id ); - - // Move on if user has not published a post (yet). - if ( ! $post_count ) { - continue; - } - ?> - -
      -
      -
      -
      -

      -

      - -

      - - - -
      -
      -
      - - = 2 || $page >= 2 ) && ! is_404() ) { - $title = "$title $sep " . sprintf( __( 'Page %s', 'twentyfourteen' ), max( $paged, $page ) ); - } - - return $title; -} -add_filter( 'wp_title', 'twentyfourteen_wp_title', 10, 2 ); - -// Implement Custom Header features. -require get_template_directory() . '/inc/custom-header.php'; - -// Custom template tags for this theme. -require get_template_directory() . '/inc/template-tags.php'; - -// Add Theme Customizer functionality. -require get_template_directory() . '/inc/customizer.php'; - -/* - * Add Featured Content functionality. - * - * To overwrite in a plugin, define your own Featured_Content class on or - * before the 'setup_theme' hook. - */ -if ( ! class_exists( 'Featured_Content' ) && 'plugins.php' !== $GLOBALS['pagenow'] ) { - require get_template_directory() . '/inc/featured-content.php'; -} diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/COPYING.txt b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/COPYING.txt deleted file mode 100644 index aece214..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/COPYING.txt +++ /dev/null @@ -1,9 +0,0 @@ -Genericons is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - -The fonts are distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. - -This license does not convey any intellectual property rights to third party trademarks that may be included in the icon font; such marks remain subject to all rights and guidelines of use of their owner. \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/Genericons-Regular.otf b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/Genericons-Regular.otf deleted file mode 100644 index 5cd41e8..0000000 Binary files a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/Genericons-Regular.otf and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/LICENSE.txt b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/LICENSE.txt deleted file mode 100644 index d159169..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/LICENSE.txt +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/README.txt b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/README.txt deleted file mode 100644 index 7a0a92e..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/README.txt +++ /dev/null @@ -1,123 +0,0 @@ - ___ ____ __ _ ____ ____ __ ___ __ __ _ ____ - / __)( __)( ( \( __)( _ \( )/ __)/ \ ( ( \/ ___) -( (_ \ ) _) / / ) _) ) / )(( (__( O )/ /\___ \ - \___/(____)\_)__)(____)(__\_)(__)\___)\__/ \_)__)(____/ - - -Genericons are vector icons embedded in a webfont designed to be clean and simple keeping with a generic aesthetic. - -Use genericons for instant HiDPI, to change icon colors on the fly, or even with CSS effects such as drop-shadows or gradients! - - -_ _ ____ ____ ____ ____ -| | [__ |__| | __ |___ -|__| ___] | | |__] |___ - - -To use it, place the font folder in your stylesheet directory and paste this in your CSS file: - -/* =Genericons, thanks to FontSquirrel.com for conversion! --------------------------------------------------------------- */ -@font-face { - font-family: 'Genericons'; - src: url('font/genericons-regular-webfont.eot'); - src: url('font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'), - url('font/genericons-regular-webfont.woff') format('woff'), - url('font/genericons-regular-webfont.ttf') format('truetype'), - url('font/genericons-regular-webfont.svg#genericonsregular') format('svg'); - font-weight: normal; - font-style: normal; - -} - -Note: the above only works if you don't use a CDN. If you do, or don't know what that is, you should use the syntax that's embedded in genericons.css. - -From then on, you can create an icon like this: - -.my-icon:before { - content: '\f101'; - display: inline-block; - -webkit-font-smoothing: antialiased; - font: normal 16px/1 'Genericons'; - vertical-align: top; -} - -This will output a comment icon before every element with the class "my-icon". The "content: '\f101';" part of this CSS is easily copied from the helper tool at http://genericons.com/ - -You can also use the bundled example.css if you'd rather insert the icons using HTML tags. - - -_ _ ____ ___ ____ ____ -|\ | | | | |___ [__ -| \| |__| | |___ ___] - - -Photoshop mockups: - -Genericons-Regular.otf found in the root directory of this zip has not been web-font-ified. So you can drop it in your system fonts folder and use the font in Photoshop if you like. - -For those of you using Genericons in your Photoshop mockup, remember to delete the old version of the font from Font Book, and grab the new one from the zip file. This also affects using it in your webdesigns: if you have an old version of the font installed locally, that's the font that'll be used in your website as well, so if you're missing icons, check for old versions of the font on your system. - -Pixel grid: - -Note that Genericons has been designed for a 16x16 pixel grid. That means it'll look sharp at font-size: 16px exactly. It'll also be crisp at multiples thereof, such as 32px or 64px. It'll also look reasonably crisp at in-between font sizes such as 24px or 48px, but not quite as crisp as 16 or 32. Please don't set the font-size to 17px, though, that'll just look terrible. - -Also note the CSS property "-webkit-font-smoothing: antialiased". That makes the icons look great in WebKit browsers. Please see http://noscope.com/2012/font-smoothing for more info. - -Updates: - -We don't often update icons, but do very carefully when we get good feedback suggesting improvements. Please be mindful if you upgrade, and check that the updated icons behave as you intended. - - - -____ _ _ ____ _ _ ____ ____ _ ____ ____ -| |__| |__| |\ | | __ |___ | | | | __ -|___ | | | | | \| |__] |___ |___ |__| |__] - -V3.0.3: -Bunch of updates mostly. -- Two new icons, Dropbox and Fullscreen. -- Updates to all icons containing an exclamation mark. -- Updates to Image and Quote. -- Nicer "Share" icon. -- Bigger default Linkedin icon. - -V3.0.2: -A slew of new stuff and updates. -- Social icons: Skype, Digg, Reddit, Stumbleupon, Pocket. -- New generic icons: heart, lock and print. -- New editing icons: code, bold, italic, image -- New interaction icons: subscribe, unsubscribe, subscribed, reply all, reply, flag. -- The hyperlink icon has been updated to be clearer, chunkier. -- The "home" icon has been updated for style, size and clarity. -- The email icon has been updated for style and clarity, and to fit with the new subscribe icons. -- The document icon has been updated for style. -- The "pin" icon has been updated for style and clarity. -- The Twitter icon has been scaled down to fit with the other social icons. - -V3.0.1: -Mostly maintenance. -- Fixed an issue with the example page that showed an old "top" icon instead of the actual NEW "refresh" icon. -- Added inverse Google+ and Path. -- Replaced tabs with spaces in the helper CSS. -- Changed the Genericons.com copy/paste tool to serve span's instead of div's for casual icon insertion. It's being converted to "inline-block" anyway. - -V3.0: -Mainly maintenance and a few new icons. -- Fast forward, rewind, PollDaddy, Notice, Info, Help, Portfolio -- Updated the feed icon. It's a bit smaller now for consistency, the previous one was rather big. -- So, the previous version numbering, 2.09, wasn't very PHP version compare friendly. So from now on it'll be 3.0, 3.1 etc. Props Ipstenu. -- Genericons.com now has a mini release blog. -- The CSS has prettier formatting, props Konstantin Obenland. - -V2.09: -Updated Facebook icon to new version. Updated Instagram logo to use new one-color version. Updated Google+ icon to use same radius as Instagram and Facebook. Added a bunch of new icons, cog, unapprove, cart, media player buttons, tablet, send to tablet. - -V2.06: -Included Base64 encoded version. This is necessary for Genericons to work with CDNs in Firefox. Firefox blocks fonts linked from a different domain. A CDN (typically s.example.com) usually puts the font on a subdomain, and is hence blocked in Firefox. - -V2.05: -Added a bunch of new icons, including upload to cloud, download to cloud, many more. - -V2: -Initial public release \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/example.html b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/example.html deleted file mode 100644 index cdc7d04..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/example.html +++ /dev/null @@ -1,464 +0,0 @@ - - - -Genericons - - - - - -
      - -

      Genericons Usage

      - -

      Copy the font folder and the genericons.css file together into your project. Link the CSS in your HTML:

      - -

      <link href="path/to/genericons.css" rel="stylesheet">

      - -

      Drop in the following HTML with the name of the icon you want to display:

      - -

      <div class="genericon genericon-standard"></div>

      - -
      - - -
      -
      -
      - -
      -
      -
      - -
      -
      - - -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - -
      -
      -
      -
      - -
      - -

      If you want to insert an icon manually using the :before selector, you can setup CSS rules like the following example. Make sure to set the size to a multiple of 16px or the icons could end up looking fuzzy:

      - -

      - -

      Add a matching class to your HTML:

      - -

      <div class="my-icon">You're a Star!</div>

      - -

      Here's the result: You're a Star!

      - -

      Examples

      - -

      Turn every icon a Salmon color:

      - -

      - -

      Or turn the stars Gold:

      - -

      - -

      Use icons for bulleted lists:

      - -
        -
      • One
      • -
      • Two
      • -
      • Three
      • -
      • Four
      • -
      - -

      - -

      - -

      Use icons to style blockquotes:

      - -
      Sometimes I've believed as many as six impossible things before breakfast. —Lewis Carroll
      -
      `Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves, And the mome raths outgrabe. "Beware the Jabberwock, my son! The jaws that bite, the claws that catch! Beware the Jubjub bird, and shun The frumious Bandersnatch!"
      - -

      - -

      - -

      Use icons to style buttons:

      - - View - Listen - -

      - -

      /

      - -

      CSS Preprocessors

      - -

      Preprocessing extensions such as Sass (SCSS Syntax) or LESS can make it easier to manage CSS for a lot of things at once using things like variables and mixins.

      - -

      This example will seup the basic genericon rules and sets a color you can use for all icons using Sass:

      - -

      - -

      Here is a similar example for LESS:

      - -

      - -

      Fallback images for IE7 and below

      - -

      Genericons does not come with fallback icons by default -- therefore you have to create them yourself. If you are using HTML similar to this example: - -

      <span class="genericon genericon-warning"></span>

      - -

      You can use the asterisk hack to serve a different icon to IE7 once you have saved the fallback icons to your project:

      - - - -
      - - - diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.eot b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.eot deleted file mode 100644 index 4657469..0000000 Binary files a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.eot and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.svg b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.svg deleted file mode 100644 index ef236c1..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.svg +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.ttf b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.ttf deleted file mode 100644 index b6f125e..0000000 Binary files a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.ttf and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.woff b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.woff deleted file mode 100644 index da8be38..0000000 Binary files a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.woff and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/genericons.css b/sources/wordpress/wp-content/themes/twentyfourteen/genericons/genericons.css deleted file mode 100644 index b10b86f..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/genericons/genericons.css +++ /dev/null @@ -1,197 +0,0 @@ -/** - - Genericons Helper CSS - -*/ - - -/** - * The font was graciously generated by Font Squirrel (http://www.fontsquirrel.com). We love those guys. - */ - -@font-face { - font-family: 'Genericons'; - src: url('font/genericons-regular-webfont.eot'); -} - -@font-face { - font-family: 'Genericons'; - src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAENIABEAAAAAatQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABgAAAABwAAAAcaii0EkdERUYAAAGcAAAAHQAAACAArQAET1MvMgAAAbwAAABCAAAAYJdbaIVjbWFwAAACAAAAAJgAAAGyqWnWY2N2dCAAAAKYAAAADgAAAA4BYgHJZnBnbQAAAqgAAAGxAAACZVO0L6dnYXNwAAAEXAAAAAgAAAAIAAAAEGdseWYAAARkAAA5fgAAWkD4H3YjaGVhZAAAPeQAAAArAAAANgUfUT9oaGVhAAA+EAAAABwAAAAkEAMH3WhtdHgAAD4sAAAAiAAAAQpVkUB7bG9jYQAAPrQAAAECAAABAoDMauhtYXhwAAA/uAAAACAAAAAgAagCQm5hbWUAAD/YAAABYgAAAthC114IcG9zdAAAQTwAAAHUAAAFCuMEJONwcmVwAABDEAAAAC4AAAAusPIrFHdlYmYAAENAAAAABgAAAAbRQFLPAAAAAQAAAADMPaLPAAAAAM71j4QAAAAAzvWBvnjaY2BkYGDgA2IJBhBgYmAEwnogZgHzGAAJvwCyAAAAeNpjYGb/zDiBgZWBhdWY5QwDA8NMCM10hsEIzAdKYQeh3uF+DA6qf74ys6X9S2Ng4GBg0AAKMyIpUWBgBACOigvWAAB42mNgYGBmgGAZBkYGEFgD5DGC+SwME4C0AhCyMDCo/vnI+Ynzk+Qn1c8cXzi/SH7R/GL5xfNL5JfMLyVfmf//B6tg+MTwSeCTwmeGLwxfBL4ofDH44vAl4EvCl4KvDP//32LnZ+Hj4+PgY+LV4DHk0eZR5ZHnkeQR5uHlYeeugdqOFzCyMcCVMTIBCSZ0BQzDHgAA5FwqMwAAAQkARQBBAGYAfwC3AAB42l1Ru05bQRDdDQ8DgcTYIDnaFLOZkMZ7oQUJxNWNYmQ7heUIaTdykYtxAR9AgUQN2q8ZoKGkSJsGIRdIfEI+IRIza4iiNDs7s3POmTNLypGqd+lrz1PnJJDC3QbNNv1OSLWzAPek6+uNjLSDB1psZvTKdfv+Cwab0ZQ7agDlPW8pDxlNO4FatKf+0fwKhvv8H/M7GLQ00/TUOgnpIQTmm3FLg+8ZzbrLD/qC1eFiMDCkmKbiLj+mUv63NOdqy7C1kdG8gzMR+ck0QFNrbQSa/tQh1fNxFEuQy6axNpiYsv4kE8GFyXRVU7XM+NrBXbKz6GCDKs2BB9jDVnkMHg4PJhTStyTKLA0R9mKrxAgRkxwKOeXcyf6kQPlIEsa8SUo744a1BsaR18CgNk+z/zybTW1vHcL4WRzBd78ZSzr4yIbaGBFiO2IpgAlEQkZV+YYaz70sBuRS+89AlIDl8Y9/nQi07thEPJe1dQ4xVgh6ftvc8suKu1a5zotCd2+qaqjSKc37Xs6+xwOeHgvDQWPBm8/7/kqB+jwsrjRoDgRDejd6/6K16oirvBc+sifTv7FaAAAAAAEAAf//AA942q18C3xU1bnvWnvveSaZmT3PZJKZzHtCJpkJ88hkIIQhCAECCAQCCCooggTkjS9q3Vqpioo9tqJVK2hbsdpj90xA2mJrjtVaW0fLFbmt1h6xp1ptPcfe9rSKmc39vrVnQhBsz/39bmBm7732npm1vvU9/t9jLaIh8Ef/yj1DeKIlBlJLzIRMFP1i2Mbb/DXUZeNdIv2r0vPEE166+An4u/MJ7pnyBZeS0+R0+XVymi6HE+X4aaoQSsb9TSREyxEOvlQjwXfrSA18s424yJVEJgmZlmQhIVtSsqYki0lZn5DtKdlQkh1JuTYh15WoXJ+QhRNFoq9NJpOyrlTUCcbYcF7HG/C9xhCTdZaCncZkV6lgsiaTRbsL79sthlihgcZIx0Sa8TvO9+KgO2Xo7GnCSWVJIGWJk07DNUckiY57KZUj4Sjc1cE/GION9BLZmJDNJdkGHYR+2mEwJ6DHcp2lIEJ/dKWCg8YKYp1oHRYMRj7kypGCzQxXVKsjcNUxkVisIZ9gtXCCL0TszmRnOhKg5BW6mj5KV7/yirJfuUTZT5P7ju/bd5xPjG985RXuIWzdhyQWiEQlnaSVGHVdxE+uZ7SFvvkSciMQMyHzpWEj79DH5JqSrIfeBlhva0tyraVQD731lGSPpWCFM22pEIR+11LRWtAbczm5XpS5nOyBUfAOM/RbtoqyBsbS6IOxaKm1FtscYoHT5GBMNuAYv00jIoVtdpJKkkyaBAPEle70OR12rS8iAYHZ/0+ArHmq+8EPqVY59cMfKJ9IR6nx6FHlb0epxCPNTxNpVBJ8B1aV34a7Y0/uPnp09y3PPIPj5oh+PF9Nx3EX9LWpFDKWIYm8BYxVl6SyJSGTE7KQBErIvKWgp4wU2qRcY4GxxoBYOGsEB+AXaeWVghfQVoHuKHCEA0fwUn1XiHprVALRwSYtzgEHFyJcCvABDTAV3sNTCfimjqQJlU2sK9AvTWnYoCEwKcYS8pKhVDAD5Y1EtALFCxoDHPkccnCFdjpRI8bh207SnpN3bz1Ntt6tkfafPLn/C8+3lP8gcfe3PM94FH5JS4iROMhKImsTspgCZpStSeSJGkaZWiCIk/WCUUP9/aKRR8kxakGmgEI1QBRTSTZZZAdyUNFhwrsOEeTKpcoVEMdOgmKyM+M/cwryIynHjw/t46onQDSQr+PKcUr2DY07JRzSjNGlgaTIPoKiDnMSS8he4NA065++VNQT/GG9AN3SWwpu6Fa8VIy7sTE+ERrjlkIdNDpKxToHNtZBF2WHpRCFRn+pGPVjYzQE/c4Add164GtjfS5XqIsD/9a4PDHg30LUAc3e1hzwdawGJVYMTWQySsV0Z9ahdYgonxkxHc14KVwAH+MdmBY412XwTiSAT7kcMENkaDC/5cCW/OAQ42aCfD3WxI1QafX+8H25JYq0YMuWBVRakrsvvH+1IgFjcxqKh91K5RHKHlHUR0DWgbvIiA5pZiVB0kZkf0K2pXCKgMFrU0wThRJy/QmQ6EIY5qkgWICNGmAkDcBGKX+S9Tjop2IwEKFZPw5KbYsB2x5YJZBVBw6sUvJKXlp1gEfN8vivsEVS8sjR7Ca8K3k6ckBZJf3qcSqdaSGEp1U50EAPfWRmRctT7Kj+BOoks6XghKlpKhUCMB9mmI9ho9VWj1rEKRYafDgHFGTgsNZgdjibKrMAHabhznQ06+VRElw9NB2BC+qwm6gOf5TJZaa/f4V7gscyOXNR34UX9q1Ydnl8YBJPkNE+hVd///H+FY1TZsyNzr+z86K+o7882rdi+Qc3L33srslo/uCV1oNGIevIBiJfkZAvKcmtqEGofCXjxs6S3GkpNFKU2MJ66H0n9LPYP29BDvRko/i0xuLovmDJZUzVX3IFcJTlMrjRKuZrjDYPaWlL52cPXooD1VgPBULhjiQbnJi2klAqKRCrw0I02kgm3ZlJR3sEfOMi0Tg1cbpIVKuL82aqdWkddi/v0upMNE6jcSHaSk3U6fIKLq+uM2tHNRENkUepje765TG6i1ofVa5TfhEK0BnzrpMGs+u1Rr3ZJtSlui/PXr1nz9XZy3oSRuOkjvXZQem6uZnapqnLlvo4gyfQ6RFqGwyimzd43IE6ytdZm0OdUxbFaSCk/EK5TiC/pF+AL39U+U9l9zGlUP7jOl1zg/D8wpsnG5pnDT217ZGt5pZZl06knGCdGPZznD88UdRy3D03bN+/7amhWT594qI6E+3KCnXBxnpOV+O2wtiau/y83t3Q3OAEXZS8Vqj3addxTrRxOnxjc2MmjYzzJ5E+soDsIMU6QmJypITao7kkd6nztZDZNwuIhaVwIcxXbxLV6yKYsgtBHvJ1mto6wdnUHGppz0yexearPgLtRgOxtfZMzfcumIvT1Cwe0tMmz2Q877IW/YkLcmjj6ilMmA/mywJqHkw3b7e6Okk2Eq2l0awzlOWiWkKd/mSW47XE5rT1CNlIKBjQUi/n6hRcXNTE2bwUPmPNhr6FM0UfgpftW99SPlR2K2vg9WFox8Yb6Hffs+SVd5Wtf/c9R/+6567h55Q/U/FXdNbho/7v/Va57W9rf649MO+O9RO+qBz5gU+iC5yeqPYJOvd695f7nv77YtOkFZ6HXq5X/sQnz/3+b8HvcrMPKq9eW6Kd8zqkwWT9V5yz4tT9tyXK0U8fGFlA2+gtc5RjmvWPKY9xk3w9vaEv3mMpb/GkFtf6tY3UM5y7dEh5tPF+5ef3baSLR+JMfiTaBjjkN6DNYdgpXxY41JlKwmEKsGicZtJZp+BC/k4lXZ1ZrQ5fyLImXgj6pI4WSn52zTOhqDeRvPHxBUvnLkvuoXveMf7q/gMbpfWt11y1dvYm2rPz6XeUX39LeZUe03yDu3uzrs7981s0MT756CVXLH7iFzXR9vv/9w731Fv66to3L9D59Nd//MEv7l+KfSOAkXQSiZILCKpIUJYBMG9JWUzIvpTsLMlulXVaAHeeQDAKMNRgAVwpuwBLpQoTgHlcgOZkd47BhPHaVPTb/FNQv7qykWDAxHloEMFDICLtG9KQoX37hpR3qalWeTfW+5h2/vpL7lnWpijltqF9iBHw9qfwzr1IhZHa7iz9P8bsJTsv+JMyWs4hwAOLTyTNe9D3BjKf6VMHs+K2ZJFQNG7EBRYPUIVetexupv+5JHZdTBZd9fiMy2GIFesZNq4nYAsbKzY8JaZ7uFTS2Ux54FAP5+fRmHPSb9Nrn7wqO+R26/5tborONikvKCP8SzRBufl7NuW1PK+8m59helU5NnqEn01A21fpawbcsRiQx1qyl8h1CXlpSW5OFMJpwGSNpcKEOKD4RSqh142T0W6Q0QuT8ppSsXsN9rG7H4a0xlJYBe0guFcC7btRcA0ouDbnkuUXM6FtXorCTPUGYrcFsn0rL161BmW1UTzkjM3qR0UsL7IWWjpQaq0WaydIrROkVgtSG0GppVpbKtk5lXY6tTqtjtp40LadLqfa5qVqYw+XSaOuNSDjulCSBYpsHYnytNMKWho4WCft/YjOpRvp3I/27v1IOaR8TTn0UfpUSblx5u50eGMw4LCZ7G0TaUS+YYndbLfvvjCyIRi02KjZEptIgwvrATnU2zmbxqKt1eh5fv4k4ybl/QdfVR6iF27ZsedmgfuY3nrkjcs1U/g5n/kVOOO4Pym71gieh6hJw/G0OcBruNH7OJEu03EBHzVio63ByUHrw7T2wtxKf3x5JiB4jY019SanaDfmBukVm58/9XV/XKvhDpb3DtHtb7463NJ66wOqfzE2tzPIcnIFeYjISxNyS0qeXUK+AxA5HRyNlGwvFafbcfqme2H6GoAX16pzjJ4bOmpg8WV3Ug6Btk4WAyF8NNAF3LgO5lcHHscwb5q5AmctIOaNmhrvhFhv/+LB1WyuZ8NcF0lsJqjgAm+Cc128C+3udPEItfiDockrL2Pm1Cbi5KCZpK6ANhjgM6qkeqhfDIp+hwrrUWrBzIJ51cP9LDtNZf0BLd9DXWBPNS6cVZBgW6TTBd/k1AJrSDeUvB6fu9lrnW07cp8q2uCknGaqDyCtotFcfDcfNIdsHlHUx+ceumjgwK3lR278/YzcG9LiObbBULfHo9PR8qElt01z3L3ruh85HdKuG16i79Lf38hPyfm7wx4qaKehRlD9H/zqUfiVJufdT23g3LVNYqO93mFMz5x815GtRzr2Xnbqm0vWU9pQN7lhYmBigyds0V8hdD7ya0H4/TcPjAjCL4mKycCAap8Br94CunkWQ9owB3wCcEwVaasT5IEJ8pYYUtYBtinUmYDCHrEghhCWhepF6yGLua09rqIyu3MyBQAZp6A6bKA3gMLpbA9NJREjw3mcA2Wo0WX8XmrhAKVdsZBbvJauGRhYZ6NzlKcBls2usQ9OnTTXT2fn1t2+KNSbSvh9jhrlCIU/rTj7sstm969aferb/L+P+rkJnY3JmZNWzyj/J9e15bsbsjW2xsZgk3iX+23lPeU/Lz6LT5sAe2bJDUwDARL2x0DtdDBn0Oc7IcqdKdkG/pdFdsP4u9j4wQO2MCfYy/wG2a9yawwcEkuhTVVDOSCL18NMgOwXC/UuIE7AKmdyckwsdHQiiXxwu9CSUV3h8SYC0PbnkosRixkOoNWYyUCbQMnCaXT6ALegd/oiC9WBF/x1qtdbZqR2U/3B25MLuwIW5ePxRmSfcO2kCy+c1D1v/qdH+IbR9+jRdltL17CyjL74vafr2yINW4AZngRAtQCw1DTyXVJ0In4yJ+QJJaSQFgjSywiSKckZS6EJRg52MmAptDOXuTAdDp3uH/bUfDSHOGJGk9wAVBwp2OkncmRk2GqP2GJFePft8e0JakFMc+SQ1d7gjsTxj447l/NuWmjKgCC7clNQkANiUevswLN2a8E8AanZMQF9NNLco0o2mCoEyk6rw84J4L9EOVDQ0UjWpmIKJ3MGtKi+rSzqYOIcdhBeHaLlaIR7su/eYzT2lEwTL+94QvnZi5d/LzDbErj4Xp3n0Za71g4sC08xua67YucPLlc++PiOD7+xbMCq01kMuqDzxi8Jf7rqN688fOl1Lymf3vk35eqTF+eV3+Z2fbXz4C5OXnjNHUc3LErd81zu8q98n058+gQ1XX7wzWu/usbhrp/SUm8xpKgaXhvDsINkNymakO4AO2Yn5C60kcwmLmWkD5fksKWQAkrPLclzLYWZcDa5JE9W3V/wPZYBI85NAW1iiYHFqC9nikdMGltz1zTLArycbC04pyIBnSb0QhYDTWeDF2IwEps7PCE1eeqCz3geiGSDgWhnFoCpSj4mu+BrOV3OTmDSbGckClRmWAHJDNTPomEErgVVC/ABpsJ1tuOh+gZfvXuOZ1bT3gWPlvdc8tjf9971f75zfW5ondUjcBZeozFd0CeNbH3p5IJ9lyy63FYz0ds3fdF2i96w1VavBbT61Fl+hnIJvP7z0dYd66g703+ETv3ZtuPfvGzeTY8NL9/zWqveZDPkDTanOP/61cVbF7751Nf+fu/OBfGHr27tXXr/1thCm00JD6zecy0dZX70AW6VbpXmAChGM2khTBeyOIlJDRZRNUJjKRiA4nXV4JDV4vR1WiI+oXI88Fe67K9/VR7n7qycCN9VHv9r5ZwdK7iY6G4EF8ZPMgRjnPUl2ZqQTSwOh9E28D7ADZa1GFsrEo0FZcBkHa5r8vhUxncBdzdSaypJic0aDvFwCUyNxi3CowxopcXX2Vcu/MrGb5TpJrq61qL8Sbnjlhn52yz6LVu7Znfb0xOPLZdv1Fy+cbFysvwX5ST93/QnlKcr9LXKgOf+lbJMzRfSWTRh09+/lTD6VGOKZvDjrYRimJMgWsNgKzlXuYUNVDq5XyAYjxqFd45FfdD1xhYF35vRSUd60F8RSdsCejoAnpxsSMC3UjmYkJtOYLTSmSyEkCQWjH/VoZlJiXZmgsGsd2ZFGHUUeVFEoBpEiAYg7Vc/dbtvufTiGzatWHbtl2+f290mivQJZfC02N4xe84G4dHyHdf1Ttvma3bau6h7WaihPf4AfZk20BfuWH7xlHzwLNsRJDEymdzMbAdYCW9CjpbkhoQcSMkJFp4SSrJgAaGlcneFKAhhfcAoquCCp4ADabRgpExOMddzCkhs2AcjCuTkCeKw19PGvMpGjM2QQkMUZLnRF27BtoRYCE04nwEB9z7FAjZ+EEEwcOBP+UMVTgyrxgWckEiMgkieZUWk/oyGZPqVjyzKcWWZctyifERZFPGk8hzX3J+RMv3s7SxDMoSNPOntwXhd2/Ge3mbluZP4oerT/RlQZ4AtKGALhdiJCzzzZqBeFOgXB9+cyglGHowfWjAYL3sZ9GuB9zFz0gF0aXDA6J31Tcjsckg8pNUgnnOhHRgOhFvbEP6xSFyWdiZdFOmho8gGNDKVRm1UDPOusMi7snAe1YiarIG6MpR4uB+LLSL3Y4+n3CvarbZyr+eWb387w2mUd957j3oPvv/BB72c5j3lHep9r/wpvffbvJO+1lxPX6upUdrrm5V2n1Npq6mhx50PbdqkPK48TtPP0q4HnqWp8rMPPfRQOUCXPfgs1/TsA3RZ+dlNvzmLhzJkKXmGPMZ4yF6SexLy90rynETV9fnRONcHsYUaWLoHzq4pydeoxAKm+TGGmNqAaZbm5HvEQ88sX9d7AOlyjbVYJ1yNWqJBzNtqNXZvoCPZ3TNn3qVbbv/6Y/9aHGaAuccOtjUyaTIC5jnguD5N9RZv97zvY7xTswjudSRTuc/xjIRUMoSgOM5FUfJAxwjRSCgasWY7Q1lA1wLHJFLIwjSgYz+V70RD4oqwpwSdltPg/U40G3E0wFoA1U5mR1B44RJvZ+PgUEbQvOCVDo033AS74vJyzGTjBWWP4ldgMIFMwbhXJMSU3nl8rp436bVv/Ynetnby0n0vbd8hRztnb9usPH3wceWDvjl1S5fR9iLn/6Vy8Gf3iY994Vrq2zV31r3lr93Dm+hl1PrQN6n3slDgSuU3+7+hvH7VVWuoqH/gqk3/PnmKs3/mmxcusTtSyZUrF0TSejGVXjwwOVerjTW3JOKz6jiTweGcMbfPFo9Y+2KxFf45Wm5wd+8FV3jqw+9s3taVjQQ/uOlL3+e1Swfv2HbtwIqfUIdxw+K1yl+v2jHlc1y6t5Tb3vz7y7fdvPPYQ0P2jueuu0956tpdWzyNv93/EL3q6w/+L6/W8rZy74dfOz27z5xzfE2598R+GMU26c5duegX79Xqdm7eoPz6+mue9/oHLl7xzpx59u6eSy9bvLjeNdHVN2FZ3yyNtjs7EJ5qcWhoV4z3zvF4/UIsMHdRNKs3NDRfcMW0DQmr5ao752xYF4tt33nddXe6bG/cvnf79tZgU4A6fsJteLZnnn1yz/oNpOoj6gnw/nxyJbmR3EFvIrImIa8tyVJCvjUl31SSdyeL0k3o8kl7DLHiTRKe3vQlcBRvssjXIyoHxBlNyJtSciuIyJ0JOXFCXl8avnB9Qh+TSQkDHxeW5PWWQp6l+2SXRc6W5GwCTgo7oMlXGr7ct0PNcfkshT3QdHNSvr0k35Is3r4Hf+32W+GH99yOp3skcDvvUrGsYevIsIplZ1nkmSOFQe4TednID4UdIy1qc59FnjFSWMp/Ii8fKcyaqYeG4Zl9M2yxQt8MPXxouG/WTFtMHrQMLx1cBq2Dy/TyUsvwsqXLbTFyZMbMvlmDS5ctj1f+6DktDArn14NIZjSbUKxdYnHl2utRcH07QDeK7ihahsKeGtAFE0C0pbXQSgDRoTa4SSw6XUzKo9dDszuxfoeKGuxeQGs94P/GhQSNc2mQPowqxwX0dH0gYBhKBqNqN6G3zLlMvM7EZ9M9fLYHmsEHdoDdAQ+44tMBGNSZABXGeZphTrQDHWopf90LX9j5i39Zl6zzeTpD/iU2m6ve5gq3dfvqLc3eeL39nvuURuXjb8ye55u+8ouzbV16quUESo2NJtuUOXfuSiVnt1hfDcSmheqDA7Paa4O2VM+0UHPt0986+rurU00r4l2XX5B0TbampzRNWjO9w8EfZYAKnGP6y95rLu1KDm6VprfMmNKebfb0mm2xjoTT6Yn09ixPxuZPhQvLkpvyBxd3bbikr1XDiYJZZ6ox69xtcVuDoHPGfJ7++X2WxMKOVrOhRtTxfCiebU2mvFvvOiAc2pQPtuZWbt+R3jrZ5rHmLtq6qXzqjF+uYvovg87vAr6/CP3qvgTLrq5A9V5IA3cBgzYni+ksslw6AbyetSAUAJtQWAnKPU1hzi9cMohznhULgb4cWjorThTv5ZupVwMk16CWFE1qyB/OvBygIL/YAfoT9GtcGw12MBBkovgRXZy/qaZv+syDBwuP3L9rpbuhtuWqi6/ItsQ2br5285VLp4lWytWIvpap4fSmxTNsVv8F07sstGvaK7vWu7jg1EUrVg7k7bbeX+/NtTQ28GJjvcFwUueaNEH45iM/XTl/22QfZ2pqMBo0tllLvvLo725YfvtA1qapq9NplT/ytYFAe7SlzsY1eGvraH0gZgq188Xyu3W+lfO/PffmFXPa/WY95Sw3JKe1r1owb1JbTe1LBt/6TYg37wI6bgc6+sm14JUi3mopFRtakHANDiDchoR8eUlekmApwSXVlCCVr0vI3hPyCnBRS8WAl0WU1oGUewN46iXwyRWWQpyB+GK8jmUNe0D0rwfqB7wgTr5cIb4CjKPgaGjRz9uJAlUnymYQspYGuA1Sd/kGkCpzPMDuLRGH67ykE0/1iNiZV0oxnl1xTHVOHXOPoiA6oQh4SFlw/NH4MfSKmZ3I+H9wH6PhzuoTldvBAE6pw67ewH/wzRXkW71/15dO7r7rmhn9T9Kud3bbUvRLJ2/ZtfHCuU8qP3tntzid3tmZXnrNkX1bN3dPDgSnTFoyb9PyxqDfLwKoXLm6LebzOhoSmUCgoX5SbtHg5js2bsjlsumVl37x4ik5v79n2vr57QlXo9PR5IulgyHNfbtPfqm/dvc7ys+eXLVkaDNcTTJ9+R3a9eTgwI7yX/rnz01MjccXL1m3bEpPJNrYUG/XG6xml90TD4R8vp4OmzMUXJlMtLc3uFuic2avXnvBtJYWN4CyZm8yP6HN6fQF0hNdbr+f+QcgY1rMcSbJCiK3If4uRttYGrcOpzyVkHUnZLFUFHXYKLZiLYjYwN697D0IHKATWaEIBrvTWIihg9l0wLRGEVARllQE7QgThMoOE4laM0Wwbdfqxt5iNOlk2Bu8YSqNTNy0Ok91tW6rf/lMi15PD2T6OyJO+N+fySMeVvLTdvRd1ErB97nkkY9v14jt/qbFDyxaciAc6c9M6K3zR9kbPDrU39LRwsIBJbpXl9JtJxPJJDKbLCJryEayg9xAryaYe5xaki9LyMtLxeWXwWjI8kHg55Usgr4hJc8rFdPrrsG6mK6E/IUUxmEBYTsS8paSvEP1qr6YkNtPyN2l4WR3+5gVTZbkbkuhH2RiQUleYCmshbOhkjxkYcGdSEnehtbYVhq+LjJdj8Gwwo2VoM9P/rJLtYg6i6wfKbiFT+SGkR/++eC/PYLNBXeDHsNB9SOFWrhTN0Ke1ulr6+ob3FXL95lrZve620VrIZEGDdgvDvOaLiZbC6zF1oGlqBbXisNT+5azUP6QdXjCiktYAnW6mDdYHE3eq7Zs3/kFbIhYC6FrMOKxaDlMb3dOnicejrQnQpOnq8m7w+A4kZ3X4QUvFjVNffjdDmtB2wh2c8cW6ILNynyuSnLKBrLq0qBkO5kRjIZ5p0uNMamsgUAZhDdOs3Z4HMMgTrsTYTOGkjFH4GQhKbs2YE+D18KEGy6ZEIfSnexOtegHv5qFUkpXD6zpPvL7lRqr1UFz9QMdc9avn9O3VqOcmvfb73WvG9jZFTe9oDylbFP+9QVLW2ZtS2KJp23CpIVP0OB3n6TBJ55Q3nryu8pb26bFE9N6V3pbzV13/0uXudVrHvzB0UH6L9MugVba0Z5vb8/TgY5YbkK78JWBqwdWG+hLzppazawJE9d/bf3qvm7li7WrBq8eyK5oTE689d3du39/a7KzcXkm0dTfE8q9cuLpoaHDGzbC+ycre3tX9t4f85q7uszemHlw8H3Wwl+PP9Fe/vGUec0dLZMI1qVwGIOWiAd8wzuI3JiQ21KytlTUNqKYaikwdgtj3tpS1XE8U6pTX5Lr1cismKyk7QJqhUer6kLqeZj1RlasVJNjir1Q247soG0EC9sQCrPpFp82mC31zT4/skGtVTbm1PIwtbajh/qcLocummGlHDyLcYUzriy7PYX6WfUS+Lu6xAUJzYvU+aLmG+vhlNKX7tr7Er9w/TfwQveS8h8/4xcee8WfSPjpe7f96NnbNrR3rAzE4wGlec9zP73tf3XEj+O9Xx2746c/qdbr6DCvHSJTmL/oLMkeFm1ATzHMKCGWZFEtPACvMALjbRQxOF+LI/Q4mRVTS1Uq4QKsKOOI3UWzzmTWRTuRt3QGGgnoME0hgHtfLSSjJEKHhPDesIYOhed0ZsLKG8qb4Y0hLPZgeUvpGJab0dX01qGIsk/I5wU6FBmaA8/RSDiMGAhzf8+C39vL6rDU6j5iM2htGZeBZh2UN2glehVnU+4u/5kz063lD4WH6Ta67eHyR5Sz043lPyt3062cWfka/ygNKt9XXuYP0OXKy8qRcnb7OppSSuu2Kz/hfkxnKW8pB/kXaFo5qPwG7QTWwmCtk5U4yLgCGFuiEqSi4rklL5Xxw8iwxgXLk6oDHdqHNSz70P5wwKlarPMLsnyroYR1VMCOHHx7bQLrjUjBgHVaOrU4xQVYmAdQjaZLgi8pS5KU50dOA9ODZwRoUSpX6ge12F+B1JJ6ghWOWBkDU25EZi+YWKcN1C/SM+WAGEIrY+3KEFgNHi4VuBQyeNU/Vm/D+KeZhMnFjIMcjIOQfSIs0KCyDwaogiU5OBZeAPkp+ICRhusEuwf9i4agaD1c69A0hcIsguBxwDVmV/3hasHiWYECK3gNYELTcS5gophLxlKczT+iGvDnNT/avPlHyqfKO8qnPxJXPPj6B68/uEI90G9LtPUivvCZh+CMM5x5Cg7KQ/QNZYVyYgVRa8W0qD+A7MTLZkUoYe4ea0StCbkGa4sKts9MO6koWo6c3E/J/pNlwoopEWBgWPI04fepZZRn6FhDGkkbuapaQRnDqpJirBmVVCwKSqo+AVxQ0BiSrJRQl6RyOxNRtZaSA8qqcWMMAoZKxQmY5CQTPPDJkKWgZYSXDRbsKYa/4tVSukzKwV4irQb5QGb9oIeEdOdkqrJwIJIBFkYuAoABQ/iU9Gd4FogbZcG7iFtyRyLpCFhVCYQS/j6FZ/E+x566KB2JuBUCz7jH1WpVxtxJ7quOOZOQ0ykspjl3rNnzjvWcYXVV8ELDR19CYCCn4yY5NVJo03wit4+QYlt7CtHAMBzTYzhAqwFma4pEWya0MubLmEG+Erl/Sp2UfzLnpS4Pb9eBzo6CQbb9YyKBKaK8089zkrbd7W7SbXzq8+nF+VwcRzmNEcjWpIPnaYHUnkW3asQzQVIkSyaTqWQ6OVKlZFOiEOpIpVgx3kSgoi9RbEl3p6DFD6yRmYLYrS1R6MpDS3upkJsG1+cS/YJxRG8CmeV8cK+5VBACeLRguLzQ0gbn0VKhFQssohZmFNNdcJ4qFTon4ZEVWRS0eTifWiroe/E4NmEz/ikf2qCVh1f1+Hnnn0d56Tx/5yc7Kk+qas1zirDHtzP/mw7SQd31uusBVxDaw2WxAis5lWKlINVFAmaqtbt0UQrqabDW3tVB7/jd4fCGyOFI5DDXfDg8FDkcDh/+nbLzghV0sD29UL0fPhwZCh8un8Sn8JF34H6SjKv/tsGvzWcWx4VzzDStl2laNdbtVvVrM9abYmxbI5gsCDkMiE5IwYUlmaac3CQOU1JjUFVruodLejnw8iiLbcep1YLV0xaCzFxRiZvpf0mK+PXv73z9wfCZwmmhv6I1d37/64oo0f/avOJBjlf2Ysk02FlWOsef1Xc/WVvtvZdVzVXGEDh3DMHKGA7jGLy+84zCKw4TR00Dq5ezygYcVpG67Syy/I9GxWMd/j8e2a2c9M8Gp6iMcPb4JpDhceMLM10WTBa9TIt7W8A5bGaRgmY/qOXK2FvHjb0Fo4koTnIgWYyyGEQ0DJ9qieJpCxa3RMcoFEPpAwrJQk6OikVXE0vfua0FDdZO/P8j1ljE7Z8RrRoe+x+Q7qxYlgAS1KYn2uOkjtVYxpBLahKytYTJuWjFFrIFGUAvcMs9J8YlvMBLbMcclwd4pUbk670sgzNBPGQUrM0BptGjCC90JkeTH9c/YM2Ex4cDFymiCgCLCCqiPOCCZGcW0Cr4VDrO0ulzWrQ+axUQnbqC1tA2WrOGfqpor1D+Wzmu/PeaP9Jt81741fNz6U7lroff3vhCv1DJbu1nsEkg9NS67dvXKhpFs24bYMpTyl3zBwbm0R10+yOL5pc/VB8+yVVhFWDaKi0QzzYCLVIkzzxyoIBBpUA6gXUypNDcCi6GpUnMsenOG4nO7HJ7wpF2LO+VBWtRa7XlquME51LHBkZdZuqiUcr8TRqxZbFsAdUXkiEYsFEni76y8e77t2/fvW4LDEu586PbwhdpyEWj7Sf3t3UqbSY33sCB//k2ei0jyL5/u5QeN8FtddSX3h1fNB8/9yZ+rjyw/6RJaessH7k7juP/863KbUgTehk93tm2/yRR6w05ieHUGkIMHGbTDBS8B06ieWUE3mheUkbYmzLCk7Ov2TNErbdktQ416AvQsS+R+PzoCLzxeWl0hL2NjgDIPeuaPYMyLVUwXw1orHZyC8EqCUR5rmSyaGbCbDaBWIqOBjSkrNC8YAwzm8pkOg4uQbXm3AI8aivJtupqIcwa1LNEbSEBfGsBtFHkAkEMo7vsWMMzQV37YgDGbcPFMJwhx9zFcAVcahyIeMf/U7O0RDWczGwi0OzPUAQeZJRUrB5aOGxAJIJY7DRxoxlkWVWpTLiRcn78C9oFcxpxHbN3hHrB57kXcDAxgGtFeaqpwdbfHKFv0jeP0N+UDx8+JNyoPF1+n85VDnEuOodyrvL7aL9Uv0aCqTWSVpaf0QGVQMQ11fovdLaFEq6IKegxYEYxHm3gdLggBiuWJOQNaRTr7UF1CPCFoEUUcFHU8v8xPx+1iQFXwhgoWwpE0ZHhySm4AyOEMeJ6mnKeB3IoqL8FNtcj2hH4nJ7VqeFnhSzNoozgSwJHbWQUGQ01VvsqbmCVMg/f4ZMjvKTkR+EbMCmg3ivX4XvFR4Rvhm/1MVTGw4gNTNeDx2VE+eWJqEZyKVv0gz0m6kBxSRgu1ygzl64ssSGOszU6tsahF6tHCqbGFKsf0TN30YZpX7bogZ4o6G3AkipSNldX1bDCqka2BgIoPBYIEtkyAH+aC8EpAE03dfgtHAlRsuXAFvivVtacJuC+HztG99KFtOmnm06TXyjfUSKchT2CU6OW3hyjq18Bv4ls+qnyH8r3lG3HqEDfoEt/gWMgYHt1f9Q9xWhdX/FG7Uy7m6HjDQk0b5iLiGRpD3W6qBM9aFvKVu3q/G3LuI9zDz44ifv7sm0HP/kjd0NqOK38helbSl7eK7x+8fTpF38a2/uyhi2tGz1c1a38WG2JlURInFxKEHg0lIoNGLMnDU4wryDoTSU5jnHI1lJloaAZhbpo1uBD5loMBCcScssJuU0NAbW1YJi+IaBhtqapGUQ22qaWUfhR7zpd6AlGWcESVwnJsaVLWlZKlq36ihLt7KdTnrv5/WXhOUORHQ/sP3nl3KHw1of2nwQu/3m/8pPnbv7Dcko5NiGgY8l3j69ZHh6aG9l2cr+yZmhOeDs6lthI6TY2I6SyPoytdYpiVWIEC+2wUNtaKlrZUiYr5jhgCnxqBfpY9KuJrU1DBXZGbemZI88K0s1NoLY07gjaHrtYqG3G5CFYnAYW8NKLhRq2nqbWigqM5tSot2h3+s6sWGKxr1TFvawsaQKu5ghbjgfdB80jwQGvlE8QPvB5VPK4TIlTlyepLuXzSjdecQTvlCW2ZI/VEgFH3qNFeTERJ8w3Lj1D7ewaVwRhV7EUKOSC3YJDEmpzLBdWAUV2LYavquVXVKogoOULlPXK+gUHKwsHxxDPB68tUIbovgW0pPztKN5U7doqtGuat1E9oWJx0SC3SnqbjqB7IfikEY6sKiN/wqTqsb/qukLvuJWqmoqAj4WBcF3VmQWDevIxUV+0srL0zPs4/0EkIfAfqsE9ISkbS0UjW+ZmBHsma6BBNU6+khxKFut9rGy/CW5Zkyz8x9YI8rmCrx6OQXWNoDUb9YtRTOpaXWIkxFGxGSQ3k+aiolPAikmdi5JrN/yOk/4wa8GvDx5SfvM4L9le71sI5zT0ONwRyIPUteF3ZekPfT+4UlY+jCmnvCfojPJRDp/74TqZ2mJU1/y68sOjDyrvb/idmqvhgaYCrsF0VOmEQS0hUdCMLROkkoDqG4lAqnYIJwHp21KN5ejUaJhepQmWWOE3oJY2jH1RmNkgAQwQLrvE4NooOptobQa4vJ5o/h2+0cbQ680Ew0IupjyaWG6kOYlrHUHu/EkMP9eqS+W04wv9zpQqqTIXUIFtuFqkVCtaMeVeCCBaaPI2I48WeBfc0Zsd9erSg2GDyd6gJuCBwxCwd6Z7aNJL7SYaiFRxrKFyb4Du3KL8N/2qNDL41ae+OohvrVsf3rr1Yfpo9Q6f5/b3KM1gMcn6yiODgzSHD21VpLF7Z9klXKGcJEhTdYWykfEtx9Yp47pkdSlyQUMA7uiNcCZUlAPFhXb+RnpG0aMx5NlS1zL5yxkdz401KtLZGt6g4rbKOmnVk6hGRu5ns13L1mm5U3IOy/2wii6Qkqew7FU+Ibem5GklOcJW5iRY700p6Dqu5+1UNcf4gAgMZpgTm0IhVxJtiA8DIXBmwRhUoRujHZNLwwZzTy8+MFldK6oGPAqTu2DgWAOlclcF1zEuCzr8maC1Gj38zNE6DuHZxq8qPwvtAbbBSEaEQbdx/y8ah/suomxhMb4wFoIQ8FNQRYAGRx9jj9PIWYc32GF0XDBErS8FzIXx6kaSIGhVeLY4iGeGhTdgRpQ3ob1sYhoXjUgJK/3RvGN0sbIiiyW7wPtMVXKe0r4hne7o7i9fkji6bf9Jl6tSGcjtO77PE9x9dNUVu07u7+lVF6Gjjsc8hqBG/4GHopH0VLVcz26mJhoFRwKj4y/SOXPe7z8+h3rhOOdYv5KjByg5cBoRpQ/vHu9/f84c5Z3+1/rfn83NUnL8L0+TA8xBpYggNeia6VAn69g4eVVlVMp1q7qiast5Nd5bjfKqueXXNB9q/hVUtHtsbaohoSJBXHYqa9SkELosUabelO8spR8qtqV0Ka5KXzqo2BTbIF0K9sRGX9NK7LuA6bPUD5+KQuOHS5XvoH6iS5fyI+xZ/BjLK+S12H/0LtEjghbAlGB/yiMCAOE8O2PPoZ3K43OAvQ3sgxz4V3klzxMuXwYva0TJj9WU89BJsNciKcIFTDOgUYGRATxOXl2gTkFDQzc/5zmQeVTQ6lL2qp+gkdi2DVZWG43+ri6ByAP9ARa6YQj5U+gjR9RSX2RGC15oJC05a6+H80VJv4/UL1p8HSm2Wr8o+iei4AqJoj2UxjbAeo5wBtv0iWJ9Sxe2GQAkTshhW22i2NTGIql1paKnHSOpFJUHOVEU1L0i+FJRazSxM+b9Fe31TXhlKxWdbi87YzmRYkhVGcFSMYLR0yRmSABQFtNd3UkWQC12TuqBs8K0yn4SZ4Kenw2C/k+uOSL94z9OOnsDijL5f7tmLMGxXBPLC6EOnsryQiD5jVgXUN2zomlc+bJYjeGDFkX470Gbh1Ere+6cTFoggstXqgaCw3X9akoNa43VXTVUG0HUVBuuYNpHh3gyOj5vpfZPC7IcIV8i2JlACZExgqEIA0N6QDwqpGCl2MU6G1vgb0ZdFlXXkyN2kuuSiJSM6qYFLFeMdcahBAbyCj4jrivTaDm1ulgWwGQTIxN0meKlXIdYSo1+G2gGADLYAL8jmDl7yKExe6hu/wC+Jg5VGj/4SpoOvQK4f5qwPSKYaIyRYX/VDWLxDbXOBXNaDVg/ZgSPIIUOokNdx2ms5u60NZhrKWq0SAANNcSKWg3Lm2OBE4AXK9xvKFVXdfrtBD32CMFpwxH4K0c0Mspbb50mbylvsTlib4L0nvJIu/IXWtdOL6XrKAtFoE1Sj5X1AES1Mc0wW4tJMYKrV7zgtqWq1sb7WWsDM+Q/ARPBZiHkB1tbE0G85I0AePL5Q+ih8GKxkQVd/qEpwlL/gIYdKNBbq/2MVcK9OBRpiA5RhrsBFIG29/nG2yi1YBDe1PGcsZkBXA/sYwPxgngki16Gtr1sIF6E4z6LOkRco6AuTfD6YDAuwvpfoM5/2ntM6TJ7em7PWXcRvimqZf1sr1VOw/xnJXZjAI18NbNcGuaR4HYemAUt1rLitloLkt42tsXI+OScheHaosWMD1rAg0a3i+XdipzRipEvtuYC49UCNurVRtwKRhZVAdHhJGRFA9o6DEVjtyT0cDAIFFEugpPyG5yKfShj/ze5MJ4/Vn6D8dFYHlcgRtJVHYdRtcM1n+l2JRKFPZQ56JVRI46JKmXOgOhHg0PBcPEqHZHB4Uri1LUm3JiMiaAFZxIMIjhwmTRKlzY1TguCX6BlmsRWGjZqcVeWehYNMTKoVDCCp1VwNuTOKEMxGNDiogsH6IZORISRdBYjflhfwKrB8qPq0gsebMfoKxlVGX6KGkJCLZC9J8vWIZEDulW6VeAXd+K8Rlh5VqcahckCxDkhd5TkDgurJnWzzGqhg8e0vEZfO6EddVpaHLaE6tjSEbf1sOiob2oOshhIEgTtsIf4Qy24x4ncKQ5TTT1uqCGbrYe1xjqLzaX6KVmsZIpmNZ1ZPusCzJZ18U5X2IV1TjqXLqzV2XRYzhjVRW2RqKaq9w/8Qa//wyQ6MdHtuOOl6ZbpL93p7ErRiZNYs/Jq21QnNBv001+6w9GVUl7lIgyFcX+sNnYnzvcwfony6qTKd0M7Z6yAN/6s/ZfYbKo7MLnHrNnYnkYudQcmnDkXOG2HcQcm0c6o4jYj9bQ6YnWcswsT27EoS7U22skWEJ6zG1OSth2/9QvlGbPK3NFZyvHjt52zL1PyuHJ8Fnf0izRVnrHrtuO07Zx+byIon+D9mJn3Y8QobKW+pIJHm5jmr2Wrprlk0cjKHI2o6o0WNAg65vagodYn2Rh16MKZbKCQRLFgBqll7ipu08SwLC41dWDyyFLBxdUCNNQvAsjvKGK/is0+zA5azLOi/yKQU79gJqu/arjOyDBivCZS9dnVgJWgUv6Mz872E2ABY9XJQcj4qRqPIWNxAO/ZsYPq15XGBRFQflSPX40zs32OJLZfGa5P01U+VMGo+AmbGsmFIai/qwLWcZ/lznyWRw0w9lnKdoFSd9ZSt3Eqs2+o7PNExu/zRKr7PPGUbVSir2KuaZW9Sf7/oS46DnWdKWQaZeuEkTAV+IHICm+cUmGXhpzKjIu9Vvqo4q4bSLEJ+/j/iLx045DX58CuELDkIU6jFZqZ1J0XcdmqiMtf+Xd+xFXdb0tSR3n6rJFzn4VcZdx4ipkBtbDr1HjUdbYsukgH0yF2dY+PsRmqT7C949REkA7tvFkEg5T7nD3b+JQYPHfftiLrV2xk5LMqgn+PdWYU+nlWf8xj/bGx/piYZR/fH5Or2p/a8/VnfHj+3P58+0zs5rM9EpLj4zfj+4R5zytZnxIlrLv2sB2R1OwnatumUrGJ7UHSZMNUugWjkyj+uIFAE+CGw7yxtq6NmamI+LRBMLfGO1JqbVmqOpbW847Fxcriseod/3loCivlqxX0wYD1c8fJrfzymkiju74+c0Gj+2XROmMgHF685KuHas87dP74oT6L2Bhsagy0trdNywU8dkd7ZtKkhZunTTuTsmBreNWcBagrm8jyWgA5VKEDXvPRt1mC6O1znsWkEjwrsN0GcZdB+rbiUz/B8l7VfBnm5KzECTKJ1HawiJcJdD83tilbTRJj5hgXRtWQsvltNGhLRYM2dp6iPJzDbw/SxYMgBo4TMWmkcgmC8Ue41LCYdBmVAOKlsYtKXlHViaCy3Jir7bRGQmYajQgfW7Zwt3G3bbH8XHltyyOPbFFe09yhPD9UfpC7Yoh2/0kc+vrXh0Tmz5C19KTuAW0zKHgD7h9po1nepmbvMPlrW0s7Xj927HW66WNKPqb3vE4TyrHXfykQJbeX5mhu7+iyHoH0jD6+l75IX9yrvFipSQBtVcknNpAw2U5QNtwsWNhUwhC6L1XZqC6IMUJW82hEzizogkkgYBMjoAYVGior/GiTutGFP6lmhDGn35zAckhAB00YDMWwaDAMZzyXY1un0TBLYxrO4wenRBUL+3m2V4dWrdYcq2XK9Et0rNBCzXxKSiXxiVJXfaqfZir7iJw+z7g96B2q4/aoK8e9bJRw7VYLg21qvVGjG/dt1KGf5XZVh2LyIMQ38Ll/NpjM5w+CZUP/Yfel8/S7mZB/8HsYYYt+3i9upBb6/EXKvsP/8FdnKB/RF/AptjdeRe40oNu9LP6vHxfx1luBCryWVGoxUIR5MD1J4hCjcRrEXY9YGQOmawC37ZvzzJrTiDlYXQP+Q/yg4KaGyvF9c+YqUiWeWJUbN8uhYozdlMBELylwtZWlJoazfoee5yfO/tpxuSIeaJgmiIlslV1SixqhGgVgOsFXRT5+/E2NwPYnqSAgMclWt/ApdEDjPG7pwAr0grlUz8a+mZv7+zfPRI5Tz/o29qRyiB5OEQzvY5AaX+Wxs7G9ZHCvUZE4SD/zqNT6aFoqaulYUIIf22NSrSwQ1FwOAPOCoAPDoDfWmK02dT2GbMqNA4tZrMhvpv5ohDn80J3TmObhydYtZbJlK88qCFiUCcgGfw9vhT/+YUrO8vccIDPziGrRCzXOJMv56FXBEU7IzlJRcGJnBeysU/UYakrFGrZFVg0AHSZOLmdVnCpoDNwCH/HQ8ZhMXS+AzEvb6OO0jVU8Eqw15TD8TBm/SjDdMMWV4o9+PsOwCcbpOMLipXWsx0sYDjaxPVvVdQCc2mWgo4m5CyZ1m1bAXm7MjmtUsddYWTE6KThMIq5rkJ0iXMqeSjhbZAubdGyVUzCcQssZo5nKEbswtC83sPbobmVkBFO4I2oxCoLbfUNLZ0UfumT3UUwBS8waYn2Q2ucapHANm38OQ7cFXp9Sly2o2VGsAZ7i/NP7rAaYi8v6uMxZCgbtJ7iTJ6/9hB/meL2hUgGMFM6mbMGsXxfkUzpOapE+klroCDtwhEXRykSq1gVJDPtj5Kx3XDU4VavBAZnUlHBr10oG0QYkqqFqjZ5GLBhMqB9FARFIbS43lluMUp6r4grE+5iJUfIjFVTNPACJy4+UV1EfPYMNNGx/D+Q5DUNxDsD+VlLdv7gpUUm12ERXVufCGIorymQzG3VlRcqyttID7z7wAALWBx54l66FkcIRrh94AFrQMuMlrsiAw+i7WHOjEPUTgsSeY/VWGN8fOW98P4V1VyP4bzSv5gzgUs80JuBvbGW3Vewi5FndFsfqtli7nozm4S4V8pWaLg7zHaIAjfj6WCL/F8P1u2sAAHjaY2BkYGBgZjjy6Mpmh3h+m68M8hwMIHDua+N+ZJqDgQNCMYEoAHf+C1gAeNpjYGRg4GD4fwNEMjD8/w8kgSIogBUAY/wD9XjaNU+7FcJADJNNCvq87MMOvEdNxRyq0mWH1GEWegZhACz54nvnj+yTzvGDLQ8gKr8iEQDBRDKqgmqZMMq7/y5kd/UdCLFiC+ITZiivaz6fR0er6d054SksUgzmU3qFEXdFzV2Ez8Ywlc/m5Pilsr2VWitP/bGJ4wvDWi96P3Not+n2B3lgIYIAAAAmACYAJgAuAJIA3gFaAaABrgHkAjoC1AMkA4IEUAUiBXAFzgYgBw4H7ghiCPYJsgp4Cq4LCAs2C4AMHAyiDiAPnBBAEUYRvBMwE7wUHhRaFIYUshTcFVAVgBX6FpYXXBeSF/AYYBkCGYgaBhooGkoa1BryGyQbQBtsG5Yb+Bw2HLAdLh1yHYYdsh4cHjYeYB7iHyYf3iAgIFIgdCCaILIgxiDcIPAhBiEkIegiOCK6IxAjeCPQJDQkbCS8JVIlriYWJjomWCZ2JpQmoib0J3QnvCgGKJAopii8KQApIilMKcgqJCpiKpwqyCsUK2QrvCwWLFYsnizgLPYtBC0SLSAAAAABAAAAgAC9ABAAAAAAAAIAAQACABYAAAEAAYEAAAAAeNqNkr1OAkEUhc8CmmBhRSysNtFCTfiXqFBZiIkaQzRqZ7KaBYz8CStg4/PpC1j6EJZWfjMMwSCFmczOuWfOPffOzEpa0avi8hJJSZ/MCfaUIprgmFb15XBcZW+qSWjTKzu8pLF36/Ay/IfDSa173w6/aS2WcvhdudiOjlXTmXwNFaqvgR7UVYe4wOzC+AqIX1hboMiq/qpHoEhNUN0yESjUWPd8e0RT3RaaiNFTWVnGyI6MGuw+s5qKDfgWGSa3Q42QmYXtwabxD/SE0vi0YTZUdRWP/tTb5nTGw/Rq/LrW74K4QTVznr6KeOUYRVV0pVPd6By0KC89l7lI489prufu6Xe1mi5hJtGMbaKMnN+Q/bzdy2iPb4UTB3rE02jqsOae7nirjEp27uNR0MG/+j+BD21Xh+y24Qf2tjvcQYjr7CUnPVStm09eYLPycKb/Em9Zoq755u2fk2Pd/QGe+3ARAAB42m3S1XIUURRG4VmDBHd3d5k+Z5/uBIdAcHd3CRI0OBRPyCshmRWu6Kqp/6brm9qrutVujTy/frZS63/Pjz8/Wm3ajGEs4xhPDxOYyCQmM4WpTGM6M5jJLGYzh7nMYz4LWMgiFrOEpSxjOStYySpWs4a1rGM9G9jIJjazha1sYzsdKhKZoFDT0EsfO9jJLnazh73sYz8H6OcghxjgMEc4yjGOc4KTnOI0ZzjLOc5zgYtc4jJXuMo1rnODm9ziNne4yz3u84CHPOIxTxjkKc94zguGeMkrXvOGt7xjmPd84COf+MwXvvKN7z3DQ4OpDPT/3YGq03ErN7nZDbe4tdu4vW7fyCa9pJf0kl7SS3pJL+klvTTqVXqVXqVX6VV6lV6lV+lVepVe0kt6SS/pJb3U9bL3ZO/J3pO9J3tP7oy+X7uN2/3/0Amd0Amd0Amd0Amd+Od07wi7hF3CLmGXsEvYJewSdgm7hF3CLmGXsEvYJewSdomkl/SSXtLLelkv62W9rJf1sl7Wy3pZL/RCL/RCL/RCL/RCL/RCr+gVvaJX9Ipe0St6Ra/oFb1ar9ar9Wq9Wq/Wq/VqvVqv1mv0Gr1Gr9Frul7xuyp+V8XvqnTyb1UoNRm4Af+FsAGNAEuwCFBYsQEBjlmxRgYrWCGwEFlLsBRSWCGwgFkdsAYrXFhZsBQrAAAAAVLP0T8AAA==) format('woff'), - url('font/genericons-regular-webfont.ttf') format('truetype'), - url('font/genericons-regular-webfont.svg#genericonsregular') format('svg'); - font-weight: normal; - font-style: normal; -} - - -/** - * All Genericons - */ - -.genericon { - display: inline-block; - width: 16px; - height: 16px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - font-size: 16px; - line-height: 1; - font-family: 'Genericons'; - text-decoration: inherit; - font-weight: normal; - font-style: normal; - vertical-align: top; -} - -/** - * IE7 and IE6 hacks - */ - -.genericon { - *overflow: auto; - *zoom: 1; - *display: inline; -} - -/** - * Individual icons - */ - -/* Post formats */ -.genericon-standard:before { content: '\f100'; } -.genericon-aside:before { content: '\f101'; } -.genericon-image:before { content: '\f102'; } -.genericon-gallery:before { content: '\f103'; } -.genericon-video:before { content: '\f104'; } -.genericon-status:before { content: '\f105'; } -.genericon-quote:before { content: '\f106'; } -.genericon-link:before { content: '\f107'; } -.genericon-chat:before { content: '\f108'; } -.genericon-audio:before { content: '\f109'; } - -/* Social icons */ -.genericon-github:before { content: '\f200'; } -.genericon-dribbble:before { content: '\f201'; } -.genericon-twitter:before { content: '\f202'; } -.genericon-facebook:before { content: '\f203'; } -.genericon-facebook-alt:before { content: '\f204'; } -.genericon-wordpress:before { content: '\f205'; } -.genericon-googleplus:before { content: '\f206'; } -.genericon-linkedin:before { content: '\f207'; } -.genericon-linkedin-alt:before { content: '\f208'; } -.genericon-pinterest:before { content: '\f209'; } -.genericon-pinterest-alt:before { content: '\f210'; } -.genericon-flickr:before { content: '\f211'; } -.genericon-vimeo:before { content: '\f212'; } -.genericon-youtube:before { content: '\f213'; } -.genericon-tumblr:before { content: '\f214'; } -.genericon-instagram:before { content: '\f215'; } -.genericon-codepen:before { content: '\f216'; } -.genericon-polldaddy:before { content: '\f217'; } -.genericon-googleplus-alt:before { content: '\f218'; } -.genericon-path:before { content: '\f219'; } -.genericon-skype:before { content: '\f220'; } -.genericon-digg:before { content: '\f221'; } -.genericon-reddit:before { content: '\f222'; } -.genericon-stumbleupon:before { content: '\f223'; } -.genericon-pocket:before { content: '\f224'; } -.genericon-dropbox:before { content: '\f225'; } - -/* Meta icons */ -.genericon-comment:before { content: '\f300'; } -.genericon-category:before { content: '\f301'; } -.genericon-tag:before { content: '\f302'; } -.genericon-time:before { content: '\f303'; } -.genericon-user:before { content: '\f304'; } -.genericon-day:before { content: '\f305'; } -.genericon-week:before { content: '\f306'; } -.genericon-month:before { content: '\f307'; } -.genericon-pinned:before { content: '\f308'; } - -/* Other icons */ -.genericon-search:before { content: '\f400'; } -.genericon-unzoom:before { content: '\f401'; } -.genericon-zoom:before { content: '\f402'; } -.genericon-show:before { content: '\f403'; } -.genericon-hide:before { content: '\f404'; } -.genericon-close:before { content: '\f405'; } -.genericon-close-alt:before { content: '\f406'; } -.genericon-trash:before { content: '\f407'; } -.genericon-star:before { content: '\f408'; } -.genericon-home:before { content: '\f409'; } -.genericon-mail:before { content: '\f410'; } -.genericon-edit:before { content: '\f411'; } -.genericon-reply:before { content: '\f412'; } -.genericon-feed:before { content: '\f413'; } -.genericon-warning:before { content: '\f414'; } -.genericon-share:before { content: '\f415'; } -.genericon-attachment:before { content: '\f416'; } -.genericon-location:before { content: '\f417'; } -.genericon-checkmark:before { content: '\f418'; } -.genericon-menu:before { content: '\f419'; } -.genericon-refresh:before { content: '\f420'; } -.genericon-minimize:before { content: '\f421'; } -.genericon-maximize:before { content: '\f422'; } -.genericon-404:before { content: '\f423'; } -.genericon-spam:before { content: '\f424'; } -.genericon-summary:before { content: '\f425'; } -.genericon-cloud:before { content: '\f426'; } -.genericon-key:before { content: '\f427'; } -.genericon-dot:before { content: '\f428'; } -.genericon-next:before { content: '\f429'; } -.genericon-previous:before { content: '\f430'; } -.genericon-expand:before { content: '\f431'; } -.genericon-collapse:before { content: '\f432'; } -.genericon-dropdown:before { content: '\f433'; } -.genericon-dropdown-left:before { content: '\f434'; } -.genericon-top:before { content: '\f435'; } -.genericon-draggable:before { content: '\f436'; } -.genericon-phone:before { content: '\f437'; } -.genericon-send-to-phone:before { content: '\f438'; } -.genericon-plugin:before { content: '\f439'; } -.genericon-cloud-download:before { content: '\f440'; } -.genericon-cloud-upload:before { content: '\f441'; } -.genericon-external:before { content: '\f442'; } -.genericon-document:before { content: '\f443'; } -.genericon-book:before { content: '\f444'; } -.genericon-cog:before { content: '\f445'; } -.genericon-unapprove:before { content: '\f446'; } -.genericon-cart:before { content: '\f447'; } -.genericon-pause:before { content: '\f448'; } -.genericon-stop:before { content: '\f449'; } -.genericon-skip-back:before { content: '\f450'; } -.genericon-skip-ahead:before { content: '\f451'; } -.genericon-play:before { content: '\f452'; } -.genericon-tablet:before { content: '\f453'; } -.genericon-send-to-tablet:before { content: '\f454'; } -.genericon-info:before { content: '\f455'; } -.genericon-notice:before { content: '\f456'; } -.genericon-help:before { content: '\f457'; } -.genericon-fastforward:before { content: '\f458'; } -.genericon-rewind:before { content: '\f459'; } -.genericon-portfolio:before { content: '\f460'; } -.genericon-heart:before { content: '\f461'; } -.genericon-code:before { content: '\f462'; } -.genericon-subscribe:before { content: '\f463'; } -.genericon-unsubscribe:before { content: '\f464'; } -.genericon-subscribed:before { content: '\f465'; } -.genericon-reply-alt:before { content: '\f466'; } -.genericon-reply-single:before { content: '\f467'; } -.genericon-flag:before { content: '\f468'; } -.genericon-print:before { content: '\f469'; } -.genericon-lock:before { content: '\f470'; } -.genericon-bold:before { content: '\f471'; } -.genericon-italic:before { content: '\f472'; } -.genericon-picture:before { content: '\f473'; } -.genericon-fullscreen:before { content: '\f474'; } - -/* Generic shapes */ -.genericon-uparrow:before { content: '\f500'; } -.genericon-rightarrow:before { content: '\f501'; } -.genericon-downarrow:before { content: '\f502'; } -.genericon-leftarrow:before { content: '\f503'; } - - - - - diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/header.php b/sources/wordpress/wp-content/themes/twentyfourteen/header.php deleted file mode 100644 index bd8f8fa..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/header.php +++ /dev/null @@ -1,65 +0,0 @@ - section and everything up till
      - * - * @package WordPress - * @subpackage Twenty_Fourteen - * @since Twenty Fourteen 1.0 - */ -?> - - - -> - - - - - <?php wp_title( '|', true, 'right' ); ?> - - - - - - -> -
      - - - - - - -
      diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/image.php b/sources/wordpress/wp-content/themes/twentyfourteen/image.php deleted file mode 100644 index 4e7fb82..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/image.php +++ /dev/null @@ -1,79 +0,0 @@ - - -
      -
      - - -
      > -
      - ', '' ); ?> - - -
      - -
      -
      -
      - -
      - - -
      - -
      - -
      - - '', - 'link_before' => '', - 'link_after' => '', - ) ); - ?> -
      -
      - -
      ' ); ?> -
      - - - - - - -
      - - - - - - - - - - - - - - - - - diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/images/pattern-light.svg b/sources/wordpress/wp-content/themes/twentyfourteen/images/pattern-light.svg deleted file mode 100644 index 55a48f1..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/images/pattern-light.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/inc/back-compat.php b/sources/wordpress/wp-content/themes/twentyfourteen/inc/back-compat.php deleted file mode 100644 index ac06b94..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/inc/back-compat.php +++ /dev/null @@ -1,63 +0,0 @@ -

      %s

      ', $message ); -} - -/** - * Prevent the Theme Customizer from being loaded on WordPress versions prior to 3.6. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_customize() { - wp_die( sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentyfourteen' ), $GLOBALS['wp_version'] ), '', array( - 'back_link' => true, - ) ); -} -add_action( 'load-customize.php', 'twentyfourteen_customize' ); - -/** - * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_preview() { - if ( isset( $_GET['preview'] ) ) { - wp_die( sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentyfourteen' ), $GLOBALS['wp_version'] ) ); - } -} -add_action( 'template_redirect', 'twentyfourteen_preview' ); diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/inc/custom-header.php b/sources/wordpress/wp-content/themes/twentyfourteen/inc/custom-header.php deleted file mode 100644 index 523db80..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/inc/custom-header.php +++ /dev/null @@ -1,147 +0,0 @@ - Header screen. - * @type string $admin_preview_callback Callback function used to create the custom header markup in - * the Appearance > Header screen. - * } - */ - add_theme_support( 'custom-header', apply_filters( 'twentyfourteen_custom_header_args', array( - 'default-text-color' => 'fff', - 'width' => 1260, - 'height' => 240, - 'flex-height' => true, - 'wp-head-callback' => 'twentyfourteen_header_style', - 'admin-head-callback' => 'twentyfourteen_admin_header_style', - 'admin-preview-callback' => 'twentyfourteen_admin_header_image', - ) ) ); -} -add_action( 'after_setup_theme', 'twentyfourteen_custom_header_setup' ); - -if ( ! function_exists( 'twentyfourteen_header_style' ) ) : -/** - * Styles the header image and text displayed on the blog - * - * @see twentyfourteen_custom_header_setup(). - * - */ -function twentyfourteen_header_style() { - $text_color = get_header_textcolor(); - - // If no custom color for text is set, let's bail. - if ( display_header_text() && $text_color === get_theme_support( 'custom-header', 'default-text-color' ) ) - return; - - // If we get this far, we have custom styles. - ?> - - Header screen. - * - * @see twentyfourteen_custom_header_setup() - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_admin_header_style() { -?> - - Header screen. - * - * @see twentyfourteen_custom_header_setup() - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_admin_header_image() { -?> - -get_section( 'colors' )->description = __( 'Background may only be visible on wide screens.', 'twentyfourteen' ); - $wp_customize->get_section( 'background_image' )->description = __( 'Background may only be visible on wide screens.', 'twentyfourteen' ); - - // Add postMessage support for site title and description. - $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; - $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; - $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; - - // Rename the label to "Site Title Color" because this only affects the site title in this theme. - $wp_customize->get_control( 'header_textcolor' )->label = __( 'Site Title Color', 'twentyfourteen' ); - - // Rename the label to "Display Site Title & Tagline" in order to make this option extra clear. - $wp_customize->get_control( 'display_header_text' )->label = __( 'Display Site Title & Tagline', 'twentyfourteen' ); - - // Add the featured content section in case it's not already there. - $wp_customize->add_section( 'featured_content', array( - 'title' => __( 'Featured Content', 'twentyfourteen' ), - 'description' => sprintf( __( 'Use a tag to feature your posts. If no posts match the tag, sticky posts will be displayed instead.', 'twentyfourteen' ), - esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ), - admin_url( 'edit.php?show_sticky=1' ) - ), - 'priority' => 130, - ) ); - - // Add the featured content layout setting and control. - $wp_customize->add_setting( 'featured_content_layout', array( - 'default' => 'grid', - 'sanitize_callback' => 'twentyfourteen_sanitize_layout', - ) ); - - $wp_customize->add_control( 'featured_content_layout', array( - 'label' => __( 'Layout', 'twentyfourteen' ), - 'section' => 'featured_content', - 'type' => 'select', - 'choices' => array( - 'grid' => __( 'Grid', 'twentyfourteen' ), - 'slider' => __( 'Slider', 'twentyfourteen' ), - ), - ) ); -} -add_action( 'customize_register', 'twentyfourteen_customize_register' ); - -/** - * Sanitize the Featured Content layout value. - * - * @since Twenty Fourteen 1.0 - * - * @param string $layout Layout type. - * @return string Filtered layout type (grid|slider). - */ -function twentyfourteen_sanitize_layout( $layout ) { - if ( ! in_array( $layout, array( 'grid', 'slider' ) ) ) { - $layout = 'grid'; - } - - return $layout; -} - -/** - * Bind JS handlers to make Theme Customizer preview reload changes asynchronously. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_customize_preview_js() { - wp_enqueue_script( 'twentyfourteen_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20131205', true ); -} -add_action( 'customize_preview_init', 'twentyfourteen_customize_preview_js' ); - -/** - * Add contextual help to the Themes and Post edit screens. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_contextual_help() { - if ( 'admin_head-edit.php' === current_filter() && 'post' !== $GLOBALS['typenow'] ) { - return; - } - - get_current_screen()->add_help_tab( array( - 'id' => 'twentyfourteen', - 'title' => __( 'Twenty Fourteen', 'twentyfourteen' ), - 'content' => - '
        ' . - '
      • ' . sprintf( __( 'The home page features your choice of up to 6 posts prominently displayed in a grid or slider, controlled by a tag; you can change the tag and layout in Appearance → Customize. If no posts match the tag, sticky posts will be displayed instead.', 'twentyfourteen' ), esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ), admin_url( 'customize.php' ), admin_url( 'edit.php?show_sticky=1' ) ) . '
      • ' . - '
      • ' . sprintf( __( 'Enhance your site design by using Featured Images for posts you’d like to stand out (also known as post thumbnails). This allows you to associate an image with your post without inserting it. Twenty Fourteen uses featured images for posts and pages—above the title—and in the Featured Content area on the home page.', 'twentyfourteen' ), 'http://codex.wordpress.org/Post_Thumbnails#Setting_a_Post_Thumbnail' ) . '
      • ' . - '
      • ' . sprintf( __( 'For an in-depth tutorial, and more tips and tricks, visit the Twenty Fourteen documentation.', 'twentyfourteen' ), 'http://codex.wordpress.org/Twenty_Fourteen' ) . '
      • ' . - '
      ', - ) ); -} -add_action( 'admin_head-themes.php', 'twentyfourteen_contextual_help' ); -add_action( 'admin_head-edit.php', 'twentyfourteen_contextual_help' ); diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/inc/featured-content.php b/sources/wordpress/wp-content/themes/twentyfourteen/inc/featured-content.php deleted file mode 100644 index ccff4ca..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/inc/featured-content.php +++ /dev/null @@ -1,533 +0,0 @@ - $post_ids, - 'posts_per_page' => count( $post_ids ), - ) ); - - return $featured_posts; - } - - /** - * Get featured post IDs - * - * This function will return the an array containing the - * post IDs of all featured posts. - * - * Sets the "featured_content_ids" transient. - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - * - * @return array Array of post IDs. - */ - public static function get_featured_post_ids() { - // Get array of cached results if they exist. - $featured_ids = get_transient( 'featured_content_ids' ); - - if ( false === $featured_ids ) { - $settings = self::get_setting(); - $term = get_term_by( 'name', $settings['tag-name'], 'post_tag' ); - - if ( $term ) { - // Query for featured posts. - $featured_ids = get_posts( array( - 'fields' => 'ids', - 'numberposts' => self::$max_posts, - 'suppress_filters' => false, - 'tax_query' => array( - array( - 'field' => 'term_id', - 'taxonomy' => 'post_tag', - 'terms' => $term->term_id, - ), - ), - ) ); - } - - // Get sticky posts if no Featured Content exists. - if ( ! $featured_ids ) { - $featured_ids = self::get_sticky_posts(); - } - - set_transient( 'featured_content_ids', $featured_ids ); - } - - // Ensure correct format before return. - return array_map( 'absint', $featured_ids ); - } - - /** - * Return an array with IDs of posts maked as sticky. - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - * - * @return array Array of sticky posts. - */ - public static function get_sticky_posts() { - return array_slice( get_option( 'sticky_posts', array() ), 0, self::$max_posts ); - } - - /** - * Delete featured content ids transient. - * - * Hooks in the "save_post" action. - * - * @see Featured_Content::validate_settings(). - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - */ - public static function delete_transient() { - delete_transient( 'featured_content_ids' ); - } - - /** - * Exclude featured posts from the home page blog query. - * - * Filter the home page posts, and remove any featured post ID's from it. - * Hooked onto the 'pre_get_posts' action, this changes the parameters of - * the query before it gets any posts. - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - * - * @param WP_Query $query WP_Query object. - * @return WP_Query Possibly-modified WP_Query. - */ - public static function pre_get_posts( $query ) { - - // Bail if not home or not main query. - if ( ! $query->is_home() || ! $query->is_main_query() ) { - return; - } - - $page_on_front = get_option( 'page_on_front' ); - - // Bail if the blog page is not the front page. - if ( ! empty( $page_on_front ) ) { - return; - } - - $featured = self::get_featured_post_ids(); - - // Bail if no featured posts. - if ( ! $featured ) { - return; - } - - // We need to respect post ids already in the blacklist. - $post__not_in = $query->get( 'post__not_in' ); - - if ( ! empty( $post__not_in ) ) { - $featured = array_merge( (array) $post__not_in, $featured ); - $featured = array_unique( $featured ); - } - - $query->set( 'post__not_in', $featured ); - } - - /** - * Reset tag option when the saved tag is deleted. - * - * It's important to mention that the transient needs to be deleted, - * too. While it may not be obvious by looking at the function alone, - * the transient is deleted by Featured_Content::validate_settings(). - * - * Hooks in the "delete_post_tag" action. - * - * @see Featured_Content::validate_settings(). - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - * - * @param int $tag_id The term_id of the tag that has been deleted. - */ - public static function delete_post_tag( $tag_id ) { - $settings = self::get_setting(); - - if ( empty( $settings['tag-id'] ) || $tag_id != $settings['tag-id'] ) { - return; - } - - $settings['tag-id'] = 0; - $settings = self::validate_settings( $settings ); - update_option( 'featured-content', $settings ); - } - - /** - * Hide featured tag from displaying when global terms are queried from the front-end. - * - * Hooks into the "get_terms" filter. - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - * - * @param array $terms List of term objects. This is the return value of get_terms(). - * @param array $taxonomies An array of taxonomy slugs. - * @return array A filtered array of terms. - * - * @uses Featured_Content::get_setting() - */ - public static function hide_featured_term( $terms, $taxonomies, $args ) { - - // This filter is only appropriate on the front-end. - if ( is_admin() ) { - return $terms; - } - - // We only want to hide the featured tag. - if ( ! in_array( 'post_tag', $taxonomies ) ) { - return $terms; - } - - // Bail if no terms were returned. - if ( empty( $terms ) ) { - return $terms; - } - - // Bail if term objects are unavailable. - if ( 'all' != $args['fields'] ) { - return $terms; - } - - $settings = self::get_setting(); - foreach( $terms as $order => $term ) { - if ( ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) && 'post_tag' === $term->taxonomy ) { - unset( $terms[ $order ] ); - } - } - - return $terms; - } - - /** - * Hide featured tag from display when terms associated with a post object - * are queried from the front-end. - * - * Hooks into the "get_the_terms" filter. - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - * - * @param array $terms A list of term objects. This is the return value of get_the_terms(). - * @param int $id The ID field for the post object that terms are associated with. - * @param array $taxonomy An array of taxonomy slugs. - * @return array Filtered array of terms. - * - * @uses Featured_Content::get_setting() - */ - public static function hide_the_featured_term( $terms, $id, $taxonomy ) { - - // This filter is only appropriate on the front-end. - if ( is_admin() ) { - return $terms; - } - - // Make sure we are in the correct taxonomy. - if ( 'post_tag' != $taxonomy ) { - return $terms; - } - - // No terms? Return early! - if ( empty( $terms ) ) { - return $terms; - } - - $settings = self::get_setting(); - foreach( $terms as $order => $term ) { - if ( ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) && 'post_tag' === $term->taxonomy ) { - unset( $terms[ $term->term_id ] ); - } - } - - return $terms; - } - - /** - * Register custom setting on the Settings -> Reading screen. - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - */ - public static function register_setting() { - register_setting( 'featured-content', 'featured-content', array( __CLASS__, 'validate_settings' ) ); - } - - /** - * Add settings to the Customizer. - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - * - * @param WP_Customize_Manager $wp_customize Theme Customizer object. - */ - public static function customize_register( $wp_customize ) { - $wp_customize->add_section( 'featured_content', array( - 'title' => __( 'Featured Content', 'twentyfourteen' ), - 'description' => sprintf( __( 'Use a tag to feature your posts. If no posts match the tag, sticky posts will be displayed instead.', 'twentyfourteen' ), - esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ), - admin_url( 'edit.php?show_sticky=1' ) - ), - 'priority' => 130, - 'theme_supports' => 'featured-content', - ) ); - - // Add Featured Content settings. - $wp_customize->add_setting( 'featured-content[tag-name]', array( - 'default' => _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), - 'type' => 'option', - 'sanitize_js_callback' => array( __CLASS__, 'delete_transient' ), - ) ); - $wp_customize->add_setting( 'featured-content[hide-tag]', array( - 'default' => true, - 'type' => 'option', - 'sanitize_js_callback' => array( __CLASS__, 'delete_transient' ), - ) ); - - // Add Featured Content controls. - $wp_customize->add_control( 'featured-content[tag-name]', array( - 'label' => __( 'Tag Name', 'twentyfourteen' ), - 'section' => 'featured_content', - 'priority' => 20, - ) ); - $wp_customize->add_control( 'featured-content[hide-tag]', array( - 'label' => __( 'Don’t display tag on front end.', 'twentyfourteen' ), - 'section' => 'featured_content', - 'type' => 'checkbox', - 'priority' => 30, - ) ); - } - - /** - * Enqueue the tag suggestion script. - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - */ - public static function enqueue_scripts() { - wp_enqueue_script( 'featured-content-suggest', get_template_directory_uri() . '/js/featured-content-admin.js', array( 'jquery', 'suggest' ), '20131022', true ); - } - - /** - * Get featured content settings. - * - * Get all settings recognized by this module. This function - * will return all settings whether or not they have been stored - * in the database yet. This ensures that all keys are available - * at all times. - * - * In the event that you only require one setting, you may pass - * its name as the first parameter to the function and only that - * value will be returned. - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - * - * @param string $key The key of a recognized setting. - * @return mixed Array of all settings by default. A single value if passed as first parameter. - */ - public static function get_setting( $key = 'all' ) { - $saved = (array) get_option( 'featured-content' ); - - $defaults = array( - 'hide-tag' => 1, - 'tag-id' => 0, - 'tag-name' => _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), - ); - - $options = wp_parse_args( $saved, $defaults ); - $options = array_intersect_key( $options, $defaults ); - - if ( 'all' != $key ) { - return isset( $options[ $key ] ) ? $options[ $key ] : false; - } - - return $options; - } - - /** - * Validate featured content settings. - * - * Make sure that all user supplied content is in an expected - * format before saving to the database. This function will also - * delete the transient set in Featured_Content::get_featured_content(). - * - * @static - * @access public - * @since Twenty Fourteen 1.0 - * - * @param array $input Array of settings input. - * @return array Validated settings output. - */ - public static function validate_settings( $input ) { - $output = array(); - - if ( empty( $input['tag-name'] ) ) { - $output['tag-id'] = 0; - } else { - $term = get_term_by( 'name', $input['tag-name'], 'post_tag' ); - - if ( $term ) { - $output['tag-id'] = $term->term_id; - } else { - $new_tag = wp_create_tag( $input['tag-name'] ); - - if ( ! is_wp_error( $new_tag ) && isset( $new_tag['term_id'] ) ) { - $output['tag-id'] = $new_tag['term_id']; - } - } - - $output['tag-name'] = $input['tag-name']; - } - - $output['hide-tag'] = isset( $input['hide-tag'] ) && $input['hide-tag'] ? 1 : 0; - - // Delete the featured post ids transient. - self::delete_transient(); - - return $output; - } -} // Featured_Content - -Featured_Content::setup(); diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/inc/template-tags.php b/sources/wordpress/wp-content/themes/twentyfourteen/inc/template-tags.php deleted file mode 100644 index bea9089..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/inc/template-tags.php +++ /dev/null @@ -1,203 +0,0 @@ -max_num_pages < 2 ) { - return; - } - - $paged = get_query_var( 'paged' ) ? intval( get_query_var( 'paged' ) ) : 1; - $pagenum_link = html_entity_decode( get_pagenum_link() ); - $query_args = array(); - $url_parts = explode( '?', $pagenum_link ); - - if ( isset( $url_parts[1] ) ) { - wp_parse_str( $url_parts[1], $query_args ); - } - - $pagenum_link = remove_query_arg( array_keys( $query_args ), $pagenum_link ); - $pagenum_link = trailingslashit( $pagenum_link ) . '%_%'; - - $format = $wp_rewrite->using_index_permalinks() && ! strpos( $pagenum_link, 'index.php' ) ? 'index.php/' : ''; - $format .= $wp_rewrite->using_permalinks() ? user_trailingslashit( $wp_rewrite->pagination_base . '/%#%', 'paged' ) : '?paged=%#%'; - - // Set up paginated links. - $links = paginate_links( array( - 'base' => $pagenum_link, - 'format' => $format, - 'total' => $wp_query->max_num_pages, - 'current' => $paged, - 'mid_size' => 1, - 'add_args' => array_map( 'urlencode', $query_args ), - 'prev_text' => __( '← Previous', 'twentyfourteen' ), - 'next_text' => __( 'Next →', 'twentyfourteen' ), - ) ); - - if ( $links ) : - - ?> - - post_parent ) : get_adjacent_post( false, '', true ); - $next = get_adjacent_post( false, '', false ); - - if ( ! $next && ! $previous ) { - return; - } - - ?> - - ' . __( 'Sticky', 'twentyfourteen' ) . ''; - } - - // Set up and print post meta information. - printf( ' ', - esc_url( get_permalink() ), - esc_attr( get_the_date( 'c' ) ), - esc_html( get_the_date() ), - esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), - get_the_author() - ); -} -endif; - -/** - * Find out if blog has more than one category. - * - * @since Twenty Fourteen 1.0 - * - * @return boolean true if blog has more than 1 category - */ -function twentyfourteen_categorized_blog() { - if ( false === ( $all_the_cool_cats = get_transient( 'twentyfourteen_category_count' ) ) ) { - // Create an array of all the categories that are attached to posts - $all_the_cool_cats = get_categories( array( - 'hide_empty' => 1, - ) ); - - // Count the number of categories that are attached to the posts - $all_the_cool_cats = count( $all_the_cool_cats ); - - set_transient( 'twentyfourteen_category_count', $all_the_cool_cats ); - } - - if ( 1 !== (int) $all_the_cool_cats ) { - // This blog has more than 1 category so twentyfourteen_categorized_blog should return true - return true; - } else { - // This blog has only 1 category so twentyfourteen_categorized_blog should return false - return false; - } -} - -/** - * Flush out the transients used in twentyfourteen_categorized_blog. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_category_transient_flusher() { - // Like, beat it. Dig? - delete_transient( 'twentyfourteen_category_count' ); -} -add_action( 'edit_category', 'twentyfourteen_category_transient_flusher' ); -add_action( 'save_post', 'twentyfourteen_category_transient_flusher' ); - -/** - * Display an optional post thumbnail. - * - * Wraps the post thumbnail in an anchor element on index - * views, or a div element when on single views. - * - * @since Twenty Fourteen 1.0 - */ -function twentyfourteen_post_thumbnail() { - if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { - return; - } - - if ( is_singular() ) : - ?> - -
      - -
      - - - - - - - - 'widget_twentyfourteen_ephemera', - 'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts.', 'twentyfourteen' ), - ) ); - } - - /** - * Output the HTML for this widget. - * - * @access public - * @since Twenty Fourteen 1.0 - * - * @param array $args An array of standard parameters for widgets in this theme. - * @param array $instance An array of settings for this widget instance. - */ - public function widget( $args, $instance ) { - $format = isset( $instance['format'] ) && in_array( $instance['format'], $this->formats ) ? $instance['format'] : 'aside'; - - switch ( $format ) { - case 'image': - $format_string = __( 'Images', 'twentyfourteen' ); - $format_string_more = __( 'More images', 'twentyfourteen' ); - break; - case 'video': - $format_string = __( 'Videos', 'twentyfourteen' ); - $format_string_more = __( 'More videos', 'twentyfourteen' ); - break; - case 'audio': - $format_string = __( 'Audio', 'twentyfourteen' ); - $format_string_more = __( 'More audio', 'twentyfourteen' ); - break; - case 'quote': - $format_string = __( 'Quotes', 'twentyfourteen' ); - $format_string_more = __( 'More quotes', 'twentyfourteen' ); - break; - case 'link': - $format_string = __( 'Links', 'twentyfourteen' ); - $format_string_more = __( 'More links', 'twentyfourteen' ); - break; - case 'gallery': - $format_string = __( 'Galleries', 'twentyfourteen' ); - $format_string_more = __( 'More galleries', 'twentyfourteen' ); - break; - case 'aside': - default: - $format_string = __( 'Asides', 'twentyfourteen' ); - $format_string_more = __( 'More asides', 'twentyfourteen' ); - break; - } - - $number = empty( $instance['number'] ) ? 2 : absint( $instance['number'] ); - $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? $format_string : $instance['title'], $instance, $this->id_base ); - - $ephemera = new WP_Query( array( - 'order' => 'DESC', - 'posts_per_page' => $number, - 'no_found_rows' => true, - 'post_status' => 'publish', - 'post__not_in' => get_option( 'sticky_posts' ), - 'tax_query' => array( - array( - 'taxonomy' => 'post_format', - 'terms' => array( "post-format-$format" ), - 'field' => 'slug', - 'operator' => 'IN', - ), - ), - ) ); - - if ( $ephemera->have_posts() ) : - $tmp_content_width = $GLOBALS['content_width']; - $GLOBALS['content_width'] = 306; - - echo $args['before_widget']; - ?> -

      - -

      -
        - - have_posts() ) : - $ephemera->the_post(); - $tmp_more = $GLOBALS['more']; - $GLOBALS['more'] = 0; - ?> -
      1. -
        > -
        - →', 'twentyfourteen' ) ); - else : - $images = array(); - - $galleries = get_post_galleries( get_the_ID(), false ); - if ( isset( $galleries[0]['ids'] ) ) - $images = explode( ',', $galleries[0]['ids'] ); - - if ( ! $images ) : - $images = get_posts( array( - 'fields' => 'ids', - 'numberposts' => -1, - 'order' => 'ASC', - 'orderby' => 'menu_order', - 'post_mime_type' => 'image', - 'post_parent' => get_the_ID(), - 'post_type' => 'attachment', - ) ); - endif; - - $total_images = count( $images ); - - if ( has_post_thumbnail() ) : - $post_thumbnail = get_the_post_thumbnail(); - elseif ( $total_images > 0 ) : - $image = array_shift( $images ); - $post_thumbnail = wp_get_attachment_image( $image, 'post-thumbnail' ); - endif; - - if ( ! empty ( $post_thumbnail ) ) : - ?> - - -

        - %2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyfourteen' ), - esc_url( get_permalink() ), - number_format_i18n( $total_images ) - ); - ?> -

        - →', 'twentyfourteen' ) ); - endif; - ?> -
        - -
        - -
        -
        -
      2. - - -
      - - →', 'twentyfourteen' ), $format_string_more ); - ?> - - formats ) ) { - $instance['format'] = $new_instance['format']; - } - - return $instance; - } - - /** - * Display the form for this widget on the Widgets page of the Admin area. - * - * @since Twenty Fourteen 1.0 - * - * @param array $instance - */ - function form( $instance ) { - $title = empty( $instance['title'] ) ? '' : esc_attr( $instance['title'] ); - $number = empty( $instance['number'] ) ? 2 : absint( $instance['number'] ); - $format = isset( $instance['format'] ) && in_array( $instance['format'], $this->formats ) ? $instance['format'] : 'aside'; - ?> -

      -

      - -

      -

      - -

      - - - -

      - - - -
      -
      - - - -
      -
      - -
      - - 781 ) { - var mastheadHeight = $( '#masthead' ).height(), - toolbarOffset, mastheadOffset; - - if ( mastheadHeight > 48 ) { - body.removeClass( 'masthead-fixed' ); - } - - if ( body.is( '.header-image' ) ) { - toolbarOffset = body.is( '.admin-bar' ) ? $( '#wpadminbar' ).height() : 0; - mastheadOffset = $( '#masthead' ).offset().top - toolbarOffset; - - _window.on( 'scroll.twentyfourteen', function() { - if ( _window.scrollTop() > mastheadOffset && mastheadHeight < 49 ) { - body.addClass( 'masthead-fixed' ); - } else { - body.removeClass( 'masthead-fixed' ); - } - } ); - } - } - - // Focus styles for menus. - $( '.primary-navigation, .secondary-navigation' ).find( 'a' ).on( 'focus.twentyfourteen blur.twentyfourteen', function() { - $( this ).parents().toggleClass( 'focus' ); - } ); - } ); - - _window.load( function() { - // Arrange footer widgets vertically. - if ( $.isFunction( $.fn.masonry ) ) { - $( '#footer-sidebar' ).masonry( { - itemSelector: '.widget', - columnWidth: function( containerWidth ) { - return containerWidth / 4; - }, - gutterWidth: 0, - isResizable: true, - isRTL: $( 'body' ).is( '.rtl' ) - } ); - } - - // Initialize Featured Content slider. - if ( body.is( '.slider' ) ) { - $( '.featured-content' ).featuredslider( { - selector: '.featured-content-inner > article', - controlsContainer: '.featured-content' - } ); - } - } ); -} )( jQuery ); diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/js/html5.js b/sources/wordpress/wp-content/themes/twentyfourteen/js/html5.js deleted file mode 100644 index 6168aac..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/js/html5.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); -a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; -c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| -"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); -if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d 0 && $( slider.vars.controlsContainer ); - } - - slider.doMath(); - - // INIT - slider.setup( 'init' ); - - // CONTROLNAV - methods.controlNav.setup(); - - // DIRECTIONNAV - methods.directionNav.setup(); - - // KEYBOARD - if ( $( slider.containerSelector ).length === 1 ) { - $( document ).bind( 'keyup', function( event ) { - var keycode = event.keyCode, - target = false; - if ( ! slider.animating && ( keycode === 39 || keycode === 37 ) ) { - if ( keycode === 39 ) { - target = slider.getTarget( 'next' ); - } else if ( keycode === 37 ) { - target = slider.getTarget( 'prev' ); - } - - slider.featureAnimate( target ); - } - } ); - } - - // TOUCH - if ( touch ) { - methods.touch(); - } - - $( window ).bind( 'resize orientationchange focus', methods.resize ); - - slider.find( 'img' ).attr( 'draggable', 'false' ); - }, - - controlNav: { - setup: function() { - methods.controlNav.setupPaging(); - }, - setupPaging: function() { - var type = 'control-paging', - j = 1, - item, - slide, - i; - - slider.controlNavScaffold = $( '
        ' ); - - if ( slider.pagingCount > 1 ) { - for ( i = 0; i < slider.pagingCount; i++ ) { - slide = slider.slides.eq( i ); - item = '' + j + ''; - slider.controlNavScaffold.append( '
      1. ' + item + '
      2. ' ); - j++; - } - } - - // CONTROLSCONTAINER - ( slider.controlsContainer ) ? $( slider.controlsContainer ).append( slider.controlNavScaffold ) : slider.append( slider.controlNavScaffold ); - methods.controlNav.set(); - - methods.controlNav.active(); - - slider.controlNavScaffold.delegate( 'a, img', eventType, function( event ) { - event.preventDefault(); - - if ( watchedEvent === '' || watchedEvent === event.type ) { - var $this = $( this ), - target = slider.controlNav.index( $this ); - - if ( ! $this.hasClass( namespace + 'active' ) ) { - slider.direction = ( target > slider.currentSlide ) ? 'next' : 'prev'; - slider.featureAnimate( target ); - } - } - - // Set up flags to prevent event duplication. - if ( watchedEvent === '' ) { - watchedEvent = event.type; - } - - methods.setToClearWatchedEvent(); - } ); - }, - set: function() { - var selector = 'a'; - slider.controlNav = $( '.' + namespace + 'control-nav li ' + selector, ( slider.controlsContainer ) ? slider.controlsContainer : slider ); - }, - active: function() { - slider.controlNav.removeClass( namespace + 'active' ).eq( slider.animatingTo ).addClass( namespace + 'active' ); - }, - update: function( action, pos ) { - if ( slider.pagingCount > 1 && action === 'add' ) { - slider.controlNavScaffold.append( $( '
      3. ' + slider.count + '
      4. ' ) ); - } else if ( slider.pagingCount === 1 ) { - slider.controlNavScaffold.find( 'li' ).remove(); - } else { - slider.controlNav.eq( pos ).closest( 'li' ).remove(); - } - methods.controlNav.set(); - ( slider.pagingCount > 1 && slider.pagingCount !== slider.controlNav.length ) ? slider.update( pos, action ) : methods.controlNav.active(); - } - }, - - directionNav: { - setup: function() { - var directionNavScaffold = $( '' ); - - // CONTROLSCONTAINER - if ( slider.controlsContainer ) { - $( slider.controlsContainer ).append( directionNavScaffold ); - slider.directionNav = $( '.' + namespace + 'direction-nav li a', slider.controlsContainer ); - } else { - slider.append( directionNavScaffold ); - slider.directionNav = $( '.' + namespace + 'direction-nav li a', slider ); - } - - methods.directionNav.update(); - - slider.directionNav.bind( eventType, function( event ) { - event.preventDefault(); - var target; - - if ( watchedEvent === '' || watchedEvent === event.type ) { - target = ( $( this ).hasClass( namespace + 'next' ) ) ? slider.getTarget( 'next' ) : slider.getTarget( 'prev' ); - slider.featureAnimate( target ); - } - - // Set up flags to prevent event duplication. - if ( watchedEvent === '' ) { - watchedEvent = event.type; - } - - methods.setToClearWatchedEvent(); - } ); - }, - update: function() { - var disabledClass = namespace + 'disabled'; - if ( slider.pagingCount === 1 ) { - slider.directionNav.addClass( disabledClass ).attr( 'tabindex', '-1' ); - } else { - slider.directionNav.removeClass( disabledClass ).removeAttr( 'tabindex' ); - } - } - }, - - touch: function() { - var startX, - startY, - offset, - cwidth, - dx, - startT, - scrolling = false, - localX = 0, - localY = 0, - accDx = 0; - - if ( ! msGesture ) { - el.addEventListener( 'touchstart', onTouchStart, false ); - } else { - el.style.msTouchAction = 'none'; - el._gesture = new MSGesture(); // MSFT specific. - el._gesture.target = el; - el.addEventListener( 'MSPointerDown', onMSPointerDown, false ); - el._slider = slider; - el.addEventListener( 'MSGestureChange', onMSGestureChange, false ); - el.addEventListener( 'MSGestureEnd', onMSGestureEnd, false ); - } - - function onTouchStart( e ) { - if ( slider.animating ) { - e.preventDefault(); - } else if ( ( window.navigator.msPointerEnabled ) || e.touches.length === 1 ) { - cwidth = slider.w; - startT = Number( new Date() ); - - // Local vars for X and Y points. - localX = e.touches[0].pageX; - localY = e.touches[0].pageY; - - offset = ( slider.currentSlide + slider.cloneOffset ) * cwidth; - if ( slider.animatingTo === slider.last && slider.direction !== 'next' ) { - offset = 0; - } - - startX = localX; - startY = localY; - - el.addEventListener( 'touchmove', onTouchMove, false ); - el.addEventListener( 'touchend', onTouchEnd, false ); - } - } - - function onTouchMove( e ) { - // Local vars for X and Y points. - localX = e.touches[0].pageX; - localY = e.touches[0].pageY; - - dx = startX - localX; - scrolling = Math.abs( dx ) < Math.abs( localY - startY ); - - if ( ! scrolling ) { - e.preventDefault(); - if ( slider.transitions ) { - slider.setProps( offset + dx, 'setTouch' ); - } - } - } - - function onTouchEnd() { - // Finish the touch by undoing the touch session. - el.removeEventListener( 'touchmove', onTouchMove, false ); - - if ( slider.animatingTo === slider.currentSlide && ! scrolling && dx !== null ) { - var updateDx = dx, - target = ( updateDx > 0 ) ? slider.getTarget( 'next' ) : slider.getTarget( 'prev' ); - - slider.featureAnimate( target ); - } - el.removeEventListener( 'touchend', onTouchEnd, false ); - - startX = null; - startY = null; - dx = null; - offset = null; - } - - function onMSPointerDown( e ) { - e.stopPropagation(); - if ( slider.animating ) { - e.preventDefault(); - } else { - el._gesture.addPointer( e.pointerId ); - accDx = 0; - cwidth = slider.w; - startT = Number( new Date() ); - offset = ( slider.currentSlide + slider.cloneOffset ) * cwidth; - if ( slider.animatingTo === slider.last && slider.direction !== 'next' ) { - offset = 0; - } - } - } - - function onMSGestureChange( e ) { - e.stopPropagation(); - var slider = e.target._slider, - transX, - transY; - if ( ! slider ) { - return; - } - - transX = -e.translationX, - transY = -e.translationY; - - // Accumulate translations. - accDx = accDx + transX; - dx = accDx; - scrolling = Math.abs( accDx ) < Math.abs( -transY ); - - if ( e.detail === e.MSGESTURE_FLAG_INERTIA ) { - setImmediate( function () { // MSFT specific. - el._gesture.stop(); - } ); - - return; - } - - if ( ! scrolling || Number( new Date() ) - startT > 500 ) { - e.preventDefault(); - if ( slider.transitions ) { - slider.setProps( offset + dx, 'setTouch' ); - } - } - } - - function onMSGestureEnd( e ) { - e.stopPropagation(); - var slider = e.target._slider, - updateDx, - target; - if ( ! slider ) { - return; - } - - if ( slider.animatingTo === slider.currentSlide && ! scrolling && dx !== null ) { - updateDx = dx, - target = ( updateDx > 0 ) ? slider.getTarget( 'next' ) : slider.getTarget( 'prev' ); - - slider.featureAnimate( target ); - } - - startX = null; - startY = null; - dx = null; - offset = null; - accDx = 0; - } - }, - - resize: function() { - if ( ! slider.animating && slider.is( ':visible' ) ) { - slider.doMath(); - - // SMOOTH HEIGHT - methods.smoothHeight(); - slider.newSlides.width( slider.computedW ); - slider.setProps( slider.computedW, 'setTotal' ); - } - }, - - smoothHeight: function( dur ) { - var $obj = slider.viewport; - ( dur ) ? $obj.animate( { 'height': slider.slides.eq( slider.animatingTo ).height() }, dur ) : $obj.height( slider.slides.eq( slider.animatingTo ).height() ); - }, - - setToClearWatchedEvent: function() { - clearTimeout( watchedEventClearTimer ); - watchedEventClearTimer = setTimeout( function() { - watchedEvent = ''; - }, 3000 ); - } - }; - - // Public methods. - slider.featureAnimate = function( target ) { - if ( target !== slider.currentSlide ) { - slider.direction = ( target > slider.currentSlide ) ? 'next' : 'prev'; - } - - if ( ! slider.animating && slider.is( ':visible' ) ) { - slider.animating = true; - slider.animatingTo = target; - - // CONTROLNAV - methods.controlNav.active(); - - slider.slides.removeClass( namespace + 'active-slide' ).eq( target ).addClass( namespace + 'active-slide' ); - - slider.atEnd = target === 0 || target === slider.last; - - // DIRECTIONNAV - methods.directionNav.update(); - - var dimension = slider.computedW, - slideString; - - if ( slider.currentSlide === 0 && target === slider.count - 1 && slider.direction !== 'next' ) { - slideString = 0; - } else if ( slider.currentSlide === slider.last && target === 0 && slider.direction !== 'prev' ) { - slideString = ( slider.count + 1 ) * dimension; - } else { - slideString = ( target + slider.cloneOffset ) * dimension; - } - slider.setProps( slideString, '', slider.vars.animationSpeed ); - if ( slider.transitions ) { - if ( ! slider.atEnd ) { - slider.animating = false; - slider.currentSlide = slider.animatingTo; - } - slider.container.unbind( 'webkitTransitionEnd transitionend' ); - slider.container.bind( 'webkitTransitionEnd transitionend', function() { - slider.wrapup( dimension ); - } ); - } else { - slider.container.animate( slider.args, slider.vars.animationSpeed, 'swing', function() { - slider.wrapup( dimension ); - } ); - } - - // SMOOTH HEIGHT - methods.smoothHeight( slider.vars.animationSpeed ); - } - }; - - slider.wrapup = function( dimension ) { - if ( slider.currentSlide === 0 && slider.animatingTo === slider.last ) { - slider.setProps( dimension, 'jumpEnd' ); - } else if ( slider.currentSlide === slider.last && slider.animatingTo === 0 ) { - slider.setProps( dimension, 'jumpStart' ); - } - slider.animating = false; - slider.currentSlide = slider.animatingTo; - }; - - slider.getTarget = function( dir ) { - slider.direction = dir; - - // Swap for RTL. - if ( slider.isRtl ) { - dir = 'next' === dir ? 'prev' : 'next'; - } - - if ( dir === 'next' ) { - return ( slider.currentSlide === slider.last ) ? 0 : slider.currentSlide + 1; - } else { - return ( slider.currentSlide === 0 ) ? slider.last : slider.currentSlide - 1; - } - }; - - slider.setProps = function( pos, special, dur ) { - var target = ( function() { - var posCalc = ( function() { - switch ( special ) { - case 'setTotal': return ( slider.currentSlide + slider.cloneOffset ) * pos; - case 'setTouch': return pos; - case 'jumpEnd': return slider.count * pos; - case 'jumpStart': return pos; - default: return pos; - } - }() ); - - return ( posCalc * -1 ) + 'px'; - }() ); - - if ( slider.transitions ) { - target = 'translate3d(' + target + ',0,0 )'; - dur = ( dur !== undefined ) ? ( dur / 1000 ) + 's' : '0s'; - slider.container.css( '-' + slider.pfx + '-transition-duration', dur ); - } - - slider.args[slider.prop] = target; - if ( slider.transitions || dur === undefined ) { - slider.container.css( slider.args ); - } - }; - - slider.setup = function( type ) { - var sliderOffset; - - if ( type === 'init' ) { - slider.viewport = $( '
        ' ).css( { 'overflow': 'hidden', 'position': 'relative' } ).appendTo( slider ).append( slider.container ); - slider.cloneCount = 0; - slider.cloneOffset = 0; - } - slider.cloneCount = 2; - slider.cloneOffset = 1; - // Clear out old clones. - if ( type !== 'init' ) { - slider.container.find( '.clone' ).remove(); - } - - slider.container.append( slider.slides.first().clone().addClass( 'clone' ).attr( 'aria-hidden', 'true' ) ).prepend( slider.slides.last().clone().addClass( 'clone' ).attr( 'aria-hidden', 'true' ) ); - slider.newSlides = $( slider.vars.selector, slider ); - - sliderOffset = slider.currentSlide + slider.cloneOffset; - slider.container.width( ( slider.count + slider.cloneCount ) * 200 + '%' ); - slider.setProps( sliderOffset * slider.computedW, 'init' ); - setTimeout( function() { - slider.doMath(); - slider.newSlides.css( { 'width': slider.computedW, 'float': 'left', 'display': 'block' } ); - // SMOOTH HEIGHT - methods.smoothHeight(); - }, ( type === 'init' ) ? 100 : 0 ); - - slider.slides.removeClass( namespace + 'active-slide' ).eq( slider.currentSlide ).addClass( namespace + 'active-slide' ); - }; - - slider.doMath = function() { - var slide = slider.slides.first(); - - slider.w = ( slider.viewport===undefined ) ? slider.width() : slider.viewport.width(); - slider.h = slide.height(); - slider.boxPadding = slide.outerWidth() - slide.width(); - - slider.itemW = slider.w; - slider.pagingCount = slider.count; - slider.last = slider.count - 1; - slider.computedW = slider.itemW - slider.boxPadding; - }; - - slider.update = function( pos, action ) { - slider.doMath(); - - // Update currentSlide and slider.animatingTo if necessary. - if ( pos < slider.currentSlide ) { - slider.currentSlide += 1; - } else if ( pos <= slider.currentSlide && pos !== 0 ) { - slider.currentSlide -= 1; - } - slider.animatingTo = slider.currentSlide; - - // Update controlNav. - if ( action === 'add' || slider.pagingCount > slider.controlNav.length ) { - methods.controlNav.update( 'add' ); - } else if ( action === 'remove' || slider.pagingCount < slider.controlNav.length ) { - if ( slider.currentSlide > slider.last ) { - slider.currentSlide -= 1; - slider.animatingTo -= 1; - } - methods.controlNav.update( 'remove', slider.last ); - } - // Update directionNav. - methods.directionNav.update(); - }; - - // FeaturedSlider: initialize. - methods.init(); - }; - - // Default settings. - $.featuredslider.defaults = { - namespace: 'slider-', // String: prefix string attached to the class of every element generated by the plugin. - selector: '.slides > li', // String: selector, must match a simple pattern. - animationSpeed: 600, // Integer: Set the speed of animations, in milliseconds. - controlsContainer: '', // jQuery Object/Selector: container navigation to append elements. - - // Text labels. - prevText: featuredSliderDefaults.prevText, // String: Set the text for the "previous" directionNav item. - nextText: featuredSliderDefaults.nextText // String: Set the text for the "next" directionNav item. - }; - - // FeaturedSlider: plugin function. - $.fn.featuredslider = function( options ) { - if ( options === undefined ) { - options = {}; - } - - if ( typeof options === 'object' ) { - return this.each( function() { - var $this = $( this ), - selector = ( options.selector ) ? options.selector : '.slides > li', - $slides = $this.find( selector ); - - if ( $slides.length === 1 || $slides.length === 0 ) { - $slides.fadeIn( 400 ); - } else if ( $this.data( 'featuredslider' ) === undefined ) { - new $.featuredslider( this, options ); - } - } ); - } - }; -} )( jQuery ); diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot b/sources/wordpress/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot deleted file mode 100644 index cf67030..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot +++ /dev/null @@ -1,467 +0,0 @@ -# Copyright (C) 2014 the WordPress team -# This file is distributed under the GNU General Public License v2 or later. -msgid "" -msgstr "" -"Project-Id-Version: Twenty Fourteen 1.2\n" -"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentyfourteen\n" -"POT-Creation-Date: 2014-09-03 00:45:47+00:00\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" - -#: 404.php:17 -msgid "Not Found" -msgstr "" - -#: 404.php:21 -msgid "It looks like nothing was found at this location. Maybe try a search?" -msgstr "" - -#: archive.php:31 -msgid "Daily Archives: %s" -msgstr "" - -#: archive.php:34 -msgid "Monthly Archives: %s" -msgstr "" - -#: archive.php:34 -msgctxt "monthly archives date format" -msgid "F Y" -msgstr "" - -#: archive.php:37 -msgid "Yearly Archives: %s" -msgstr "" - -#: archive.php:37 -msgctxt "yearly archives date format" -msgid "Y" -msgstr "" - -#: archive.php:40 taxonomy-post_format.php:51 -msgid "Archives" -msgstr "" - -#: author.php:31 -msgid "All posts by %s" -msgstr "" - -#: category.php:20 -msgid "Category Archives: %s" -msgstr "" - -#: comments.php:27 -msgid "One thought on “%2$s”" -msgid_plural "%1$s thoughts on “%2$s”" -msgstr[0] "" -msgstr[1] "" - -#: comments.php:34 comments.php:52 -msgid "Comment navigation" -msgstr "" - -#: comments.php:35 comments.php:53 -msgid "← Older Comments" -msgstr "" - -#: comments.php:36 comments.php:54 -msgid "Newer Comments →" -msgstr "" - -#: comments.php:59 -msgid "Comments are closed." -msgstr "" - -#: content-aside.php:17 content-audio.php:17 content-featured-post.php:28 -#: content-gallery.php:17 content-image.php:17 content-link.php:17 -#: content-quote.php:17 content-video.php:17 content.php:19 -msgctxt "Used between list items, there is a space after the comma." -msgid ", " -msgstr "" - -#: content-aside.php:37 content-audio.php:37 content-gallery.php:37 -#: content-image.php:37 content-link.php:37 content-quote.php:37 -#: content-video.php:37 content.php:38 inc/widgets.php:194 -msgid "Leave a comment" -msgstr "" - -#: content-aside.php:37 content-audio.php:37 content-gallery.php:37 -#: content-image.php:37 content-link.php:37 content-quote.php:37 -#: content-video.php:37 content.php:38 inc/widgets.php:194 -msgid "1 Comment" -msgstr "" - -#: content-aside.php:37 content-audio.php:37 content-gallery.php:37 -#: content-image.php:37 content-link.php:37 content-quote.php:37 -#: content-video.php:37 content.php:38 inc/widgets.php:194 -msgid "% Comments" -msgstr "" - -#: content-aside.php:40 content-audio.php:40 content-gallery.php:40 -#: content-image.php:40 content-link.php:40 content-page.php:28 -#: content-quote.php:40 content-video.php:40 content.php:42 image.php:34 -#: page-templates/contributors.php:35 -msgid "Edit" -msgstr "" - -#: content-aside.php:46 content-audio.php:46 content-gallery.php:46 -#: content-image.php:46 content-link.php:46 content-quote.php:46 -#: content-video.php:46 content.php:54 inc/widgets.php:127 inc/widgets.php:172 -msgid "Continue reading " -msgstr "" - -#: content-aside.php:48 content-audio.php:48 content-gallery.php:48 -#: content-image.php:48 content-link.php:48 content-page.php:22 -#: content-quote.php:48 content-video.php:48 content.php:56 image.php:54 -msgid "Pages:" -msgstr "" - -#: content-none.php:12 -msgid "Nothing Found" -msgstr "" - -#: content-none.php:18 -msgid "" -"Ready to publish your first post? Get started here." -msgstr "" - -#: content-none.php:22 -msgid "" -"Sorry, but nothing matched your search terms. Please try again with some " -"different keywords." -msgstr "" - -#: content-none.php:27 -msgid "" -"It seems we can’t find what you’re looking for. Perhaps " -"searching can help." -msgstr "" - -#. #-#-#-#-# twentyfourteen.pot (Twenty Fourteen 1.2) #-#-#-#-# -#. Author URI of the plugin/theme -#: footer.php:21 -msgid "http://wordpress.org/" -msgstr "" - -#: footer.php:21 -msgid "Proudly powered by %s" -msgstr "" - -#: functions.php:83 -msgid "Top primary menu" -msgstr "" - -#: functions.php:84 -msgid "Secondary menu in left sidebar" -msgstr "" - -#: functions.php:171 -msgid "Primary Sidebar" -msgstr "" - -#: functions.php:173 -msgid "Main sidebar that appears on the left." -msgstr "" - -#: functions.php:180 -msgid "Content Sidebar" -msgstr "" - -#: functions.php:182 -msgid "Additional sidebar that appears on the right." -msgstr "" - -#: functions.php:189 -msgid "Footer Widget Area" -msgstr "" - -#: functions.php:191 -msgid "Appears in the footer section of the site." -msgstr "" - -#: functions.php:213 -msgctxt "Lato font: on or off" -msgid "on" -msgstr "" - -#: functions.php:254 -msgid "Previous" -msgstr "" - -#: functions.php:255 -msgid "Next" -msgstr "" - -#: functions.php:372 -msgid "%d Article" -msgid_plural "%d Articles" -msgstr[0] "" -msgstr[1] "" - -#: functions.php:491 -msgid "Page %s" -msgstr "" - -#: header.php:48 -msgid "Search" -msgstr "" - -#: header.php:52 -msgid "Primary Menu" -msgstr "" - -#: header.php:53 -msgid "Skip to content" -msgstr "" - -#: image.php:65 -msgid "Previous Image" -msgstr "" - -#: image.php:66 -msgid "Next Image" -msgstr "" - -#: inc/back-compat.php:37 inc/back-compat.php:47 inc/back-compat.php:60 -msgid "" -"Twenty Fourteen requires at least WordPress version 3.6. You are running " -"version %s. Please upgrade and try again." -msgstr "" - -#: inc/customizer.php:19 inc/customizer.php:20 -msgid "Background may only be visible on wide screens." -msgstr "" - -#: inc/customizer.php:28 -msgid "Site Title Color" -msgstr "" - -#: inc/customizer.php:31 -msgid "Display Site Title & Tagline" -msgstr "" - -#: inc/customizer.php:35 inc/featured-content.php:405 -msgid "Featured Content" -msgstr "" - -#: inc/customizer.php:36 inc/featured-content.php:406 -msgid "" -"Use a tag to feature your posts. If no posts match the " -"tag, sticky posts will be displayed instead." -msgstr "" - -#: inc/customizer.php:37 inc/customizer.php:102 inc/featured-content.php:407 -#: inc/featured-content.php:416 inc/featured-content.php:476 -msgctxt "featured content default tag slug" -msgid "featured" -msgstr "" - -#: inc/customizer.php:50 -msgid "Layout" -msgstr "" - -#: inc/customizer.php:54 -msgid "Grid" -msgstr "" - -#: inc/customizer.php:55 -msgid "Slider" -msgstr "" - -#. #-#-#-#-# twentyfourteen.pot (Twenty Fourteen 1.2) #-#-#-#-# -#. Theme Name of the plugin/theme -#: inc/customizer.php:99 -msgid "Twenty Fourteen" -msgstr "" - -#: inc/customizer.php:102 -msgid "" -"The home page features your choice of up to 6 posts prominently displayed in " -"a grid or slider, controlled by a tag; you can change " -"the tag and layout in Appearance → Customize. If " -"no posts match the tag, sticky posts will be displayed " -"instead." -msgstr "" - -#: inc/customizer.php:103 -msgid "" -"Enhance your site design by using Featured Images for " -"posts you’d like to stand out (also known as post thumbnails). This " -"allows you to associate an image with your post without inserting it. Twenty " -"Fourteen uses featured images for posts and pages—above the " -"title—and in the Featured Content area on the home page." -msgstr "" - -#: inc/customizer.php:104 -msgid "" -"For an in-depth tutorial, and more tips and tricks, visit the Twenty Fourteen documentation." -msgstr "" - -#: inc/featured-content.php:428 -msgid "Tag Name" -msgstr "" - -#: inc/featured-content.php:433 -msgid "Don’t display tag on front end." -msgstr "" - -#: inc/template-tags.php:50 -msgid "← Previous" -msgstr "" - -#: inc/template-tags.php:51 -msgid "Next →" -msgstr "" - -#: inc/template-tags.php:58 -msgid "Posts navigation" -msgstr "" - -#: inc/template-tags.php:85 -msgid "Post navigation" -msgstr "" - -#: inc/template-tags.php:89 -msgid "Published In%title" -msgstr "" - -#: inc/template-tags.php:91 -msgid "Previous Post%title" -msgstr "" - -#: inc/template-tags.php:92 -msgid "Next Post%title" -msgstr "" - -#: inc/template-tags.php:109 -msgid "Sticky" -msgstr "" - -#: inc/widgets.php:34 -msgid "Twenty Fourteen Ephemera" -msgstr "" - -#: inc/widgets.php:36 -msgid "" -"Use this widget to list your recent Aside, Quote, Video, Audio, Image, " -"Gallery, and Link posts." -msgstr "" - -#: inc/widgets.php:54 taxonomy-post_format.php:33 -msgid "Images" -msgstr "" - -#: inc/widgets.php:55 -msgid "More images" -msgstr "" - -#: inc/widgets.php:58 taxonomy-post_format.php:36 -msgid "Videos" -msgstr "" - -#: inc/widgets.php:59 -msgid "More videos" -msgstr "" - -#: inc/widgets.php:62 taxonomy-post_format.php:39 -msgid "Audio" -msgstr "" - -#: inc/widgets.php:63 -msgid "More audio" -msgstr "" - -#: inc/widgets.php:66 taxonomy-post_format.php:42 -msgid "Quotes" -msgstr "" - -#: inc/widgets.php:67 -msgid "More quotes" -msgstr "" - -#: inc/widgets.php:70 taxonomy-post_format.php:45 -msgid "Links" -msgstr "" - -#: inc/widgets.php:71 -msgid "More links" -msgstr "" - -#: inc/widgets.php:74 taxonomy-post_format.php:48 -msgid "Galleries" -msgstr "" - -#: inc/widgets.php:75 -msgid "More galleries" -msgstr "" - -#: inc/widgets.php:79 taxonomy-post_format.php:30 -msgid "Asides" -msgstr "" - -#: inc/widgets.php:80 -msgid "More asides" -msgstr "" - -#: inc/widgets.php:162 -msgid "This gallery contains %2$s photo." -msgid_plural "" -"This gallery contains %2$s photos." -msgstr[0] "" -msgstr[1] "" - -#. translators: used with More archives link -#: inc/widgets.php:206 -msgid "%s " -msgstr "" - -#: inc/widgets.php:255 -msgid "Title:" -msgstr "" - -#: inc/widgets.php:258 -msgid "Number of posts to show:" -msgstr "" - -#: inc/widgets.php:261 -msgid "Post format to show:" -msgstr "" - -#: search.php:18 -msgid "Search Results for: %s" -msgstr "" - -#: tag.php:22 -msgid "Tag Archives: %s" -msgstr "" - -#. Theme URI of the plugin/theme -msgid "http://wordpress.org/themes/twentyfourteen" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"In 2014, our default theme lets you create a responsive magazine website " -"with a sleek, modern design. Feature your favorite homepage content in " -"either a grid or a slider. Use the three widget areas to customize your " -"website, and change your content's layout with a full-width page template " -"and a contributor page to show off your authors. Creating a magazine website " -"with WordPress has never been easier." -msgstr "" - -#. Author of the plugin/theme -msgid "the WordPress team" -msgstr "" - -#. Template Name of the plugin/theme -msgid "Contributor Page" -msgstr "" - -#. Template Name of the plugin/theme -msgid "Full Width Page" -msgstr "" diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/page-templates/contributors.php b/sources/wordpress/wp-content/themes/twentyfourteen/page-templates/contributors.php deleted file mode 100644 index 92602ab..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/page-templates/contributors.php +++ /dev/null @@ -1,52 +0,0 @@ - - -
        - - - -
        -
        - - -
        > -

        ', '

        ' ); - - // Output the authors list. - twentyfourteen_list_authors(); - - edit_post_link( __( 'Edit', 'twentyfourteen' ), '
        ', '
        ' ); - ?> -
        - - -
        -
        -
        - - - -
        - - - -
        -
        - -
        -
        -
        - - - -
        - - -
        -
        - - - -
        -
        - -
        - - ul, -li > ol { - margin: 0 20px 0 0; -} - -caption, -th, -td { - text-align: right; -} - - -/** - * 2.0 Repeatable Patterns - * ----------------------------------------------------------------------------- - */ - -.wp-caption-text { - padding-left: 10px; - padding-right: 0; -} - -.screen-reader-text:focus { - right: 5px; - left: auto; -} - - -/** - * 4.0 Header - * ----------------------------------------------------------------------------- - */ - -.site-title { - float: right; -} - -.search-toggle { - float: left; - margin-left: 38px; - margin-right: auto; -} - -.search-box .search-field { - float: left; - padding: 1px 6px 2px 2px; -} - -.search-toggle .screen-reader-text { - right: 5px; /* Avoid a horizontal scrollbar when the site has a long menu */ - left: auto; -} - - -/** - * 5.0 Navigation - * ----------------------------------------------------------------------------- - */ - -.site-navigation ul ul { - margin-right: 20px; - margin-left: auto; -} - -.menu-toggle { - right: auto; - left: 0; -} - - -/** - * 6.0 Content - * ----------------------------------------------------------------------------- - */ - -/** - * 6.3 Entry Meta - * ----------------------------------------------------------------------------- - */ - -.entry-meta .tag-links a { - margin: 0 10px 4px 4px; -} - -.entry-meta .tag-links a:before { - border-right: 0; - border-left: 8px solid #767676; - right: -7px; - left: auto; -} - -.entry-meta .tag-links a:hover:before, -.entry-meta .tag-links a:focus:before { - border-left-color: #41a62a; -} - -.entry-meta .tag-links a:after { - right: -2px; - left: auto; -} - - -/** - * 6.4 Entry Content - * ----------------------------------------------------------------------------- - */ - -.page-links a, -.page-links > span { - margin: 0 0 2px 1px; -} - -.page-links > .page-links-title { - padding-right: 0; - padding-left: 7px; -} - - -/** - * 6.5 Galleries - * ----------------------------------------------------------------------------- - */ - -.gallery-item { - float: right; - margin: 0 0 4px 4px; -} - -.gallery-columns-1 .gallery-item:nth-of-type(1n), -.gallery-columns-2 .gallery-item:nth-of-type(2n), -.gallery-columns-3 .gallery-item:nth-of-type(3n), -.gallery-columns-4 .gallery-item:nth-of-type(4n), -.gallery-columns-5 .gallery-item:nth-of-type(5n), -.gallery-columns-6 .gallery-item:nth-of-type(6n), -.gallery-columns-7 .gallery-item:nth-of-type(7n), -.gallery-columns-8 .gallery-item:nth-of-type(8n), -.gallery-columns-9 .gallery-item:nth-of-type(9n) { - margin-right: auto; - margin-left: 0; -} - -.gallery-caption { - padding: 6px 8px; - right: 0; - left: auto; - text-align: right; -} - -.gallery-caption:before { - right: 0; - left: auto; -} - - -/** - * 6.7 Post/Image/Paging Navigation - * ----------------------------------------------------------------------------- - */ - -.paging-navigation .page-numbers { - margin-right: auto; - margin-left: 1px; -} - - -/** - * 6.10 Contributor Page - * ----------------------------------------------------------------------------- - */ - -.contributor-avatar { - float: right; - margin: 0 0 20px 30px; -} - - -/** - * 6.14 Comments - * ----------------------------------------------------------------------------- - */ - -.comment-author .avatar { - right: 0; - left: auto; -} - -.bypostauthor > article .fn:before { - margin: 0 -2px 0 2px; -} - -.comment-author, -.comment-awaiting-moderation, -.comment-content, -.comment-list .reply, -.comment-metadata { - padding-right: 30px; - padding-left: 0; -} - -.comment-edit-link { - margin-right: 10px; - margin-left: auto; -} - -.comment-reply-link:before, -.comment-reply-login:before { - margin-left: auto; - margin-right: 2px; -} - -.comment-reply-link:before, -.comment-reply-login:before, -.comment-edit-link:before { - -webkit-transform: scaleX(-1); - -moz-transform: scaleX(-1); - -ms-transform: scaleX(-1); - -o-transform: scaleX(-1); - transform: scaleX(-1); -} - -.comment-content ul, -.comment-content ol { - margin: 0 22px 24px 0; -} - -.comment-list .children { - margin-right: 15px; - margin-left: auto; -} - -.comment-reply-title small a { - float: left; -} - -.comment-navigation .nav-previous a { - margin-right: auto; - margin-left: 10px; -} - - -/** - * 7.0 Sidebars - * ----------------------------------------------------------------------------- - */ - -/** - * 7.1 Widgets - * ----------------------------------------------------------------------------- - */ - -.widget li > ol, -.widget li > ul { - margin-right: 10px; - margin-left: auto; -} - -.widget input, -.widget textarea { - padding: 1px 4px 2px 2px; -} - -.widget_calendar caption { - text-align: right; -} - -.widget_calendar #prev { - padding-right: 5px; - padding-left: 0; -} - -.widget_calendar #next { - padding-right: 0; - padding-left: 5px; - text-align: left; -} - -.widget_twentyfourteen_ephemera .entry-content ul, -.widget_twentyfourteen_ephemera .entry-content ol { - margin: 0 20px 18px 0; -} - -.widget_twentyfourteen_ephemera .entry-content li > ul, -.widget_twentyfourteen_ephemera .entry-content li > ol { - margin: 0 20px 0 0; -} - - -/** - * 7.2 Content Sidebar Widgets - * ----------------------------------------------------------------------------- - */ - -.content-sidebar .widget li > ol, -.content-sidebar .widget li > ul { - margin-right: 18px; - margin-left: auto; -} - -.content-sidebar .widget_twentyfourteen_ephemera .widget-title:before { - margin: -1px 0 0 18px; -} - - -/** - * 9.0 Featured Content - * ----------------------------------------------------------------------------- - */ - -.featured-content .post-thumbnail img { - right: 0; - left: auto; -} - -.slider-viewport { - direction: ltr; -} - -.slider .featured-content .entry-header { - right: 0; - left: auto; - text-align: right; -} - -.slider-control-paging { - float: right; -} - -.slider-control-paging li { - float: right; - margin: 2px 0 2px 4px; -} - -.slider-control-paging li:last-child { - margin-right: auto; - margin-left: 0; -} - -.slider-control-paging a:before { - right: 10px; - left: auto; -} - -.slider-direction-nav li { - border-width: 2px 0 0 1px; - float: right; -} - -.slider-direction-nav li:last-child { - border-width: 2px 1px 0 0; -} - -.slider-direction-nav a:before { - content: "\f429"; -} - -.slider-direction-nav .slider-next:before { - content: "\f430"; -} - - -/** - * 10.0 Media Queries - * ----------------------------------------------------------------------------- - */ - -@media screen and (max-width: 400px) { - .list-view .site-content .post-thumbnail img { - float: right; - margin: 0 0 3px 10px; - } -} - -@media screen and (min-width: 401px) { - .site-content .entry-meta > span { - margin-right: auto; - margin-left: 10px; - } - - .site-content .format-quote .post-format a:before { - margin-right: auto; - margin-left: 2px; - } - - .site-content .format-gallery .post-format a:before { - margin-right: auto; - margin-left: 4px; - } - - .site-content .format-aside .post-format a:before { - margin-right: auto; - margin-left: 2px; - } - - .site-content .featured-post:before { - margin-right: auto; - margin-left: 3px; - } - - .site-content .entry-date a:before, - .attachment .site-content span.entry-date:before { - margin-right: auto; - margin-left: 1px; - } - - .site-content .comments-link a:before { - margin-right: auto; - margin-left: 2px; - } - - .site-content .full-size-link a:before { - margin-right: auto; - margin-left: 1px; - } - - .entry-content .edit-link a:before, - .entry-meta .edit-link a:before { - -webkit-transform: scaleX(-1); - -moz-transform: scaleX(-1); - -ms-transform: scaleX(-1); - -o-transform: scaleX(-1); - transform: scaleX(-1); - } -} - -@media screen and (min-width: 594px) { - .site-content .entry-header { - padding-right: 30px; - padding-left: 30px; - } -} - -@media screen and (min-width: 673px) { - .search-toggle { - margin-right: auto; - margin-left: 18px; - } - - .content-area { - float: right; - } - - .site-content { - margin-right: auto; - margin-left: 33.33333333%; - } - - .archive-header, - .comments-area, - .image-navigation, - .page-header, - .page-content, - .post-navigation, - .site-content .entry-content, - .site-content .entry-summary, - .site-content footer.entry-meta { - padding-right: 30px; - padding-left: 30px; - } - - .full-width .site-content { - margin-left: 0; - } - - .content-sidebar { - float: left; - margin-right: -33.33333333%; - margin-left: auto; - } - - .grid .featured-content .hentry { - float: right; - } - - .slider-control-paging { - padding-right: 20px; - padding-left: 0; - } - - .slider-direction-nav { - float: left; - } - - .slider-direction-nav li { - padding: 0 0 0 1px; - } - - .slider-direction-nav li:last-child { - padding: 0 1px 0 0; - } -} - -@media screen and (min-width: 783px) { - .header-main { - padding-right: 30px; - padding-left: 0; - } - - .search-toggle { - margin-right: auto; - margin-left: 0; - } - - .primary-navigation { - float: left; - margin: 0 -12px 0 1px; - } - - .primary-navigation ul ul { - float: right; - margin: 0; - right: -999em; - left: auto; - } - - .primary-navigation ul ul ul { - right: -999em; - left: auto; - } - - .primary-navigation ul li:hover > ul, - .primary-navigation ul li.focus > ul { - right: auto; - } - - .primary-navigation ul ul li:hover > ul, - .primary-navigation ul ul li.focus > ul { - right: 100%; - left: auto; - } - - .primary-navigation .menu-item-has-children > a, - .primary-navigation .page_item_has_children > a { - padding-right: 12px; - padding-left: 26px; - } - - .primary-navigation .menu-item-has-children > a:after, - .primary-navigation .page_item_has_children > a:after { - right: auto; - left: 12px; - } - - .primary-navigation li .menu-item-has-children > a, - .primary-navigation li .page_item_has_children > a { - padding-right: 12px; - padding-left: 20px; - } - - .primary-navigation .menu-item-has-children li.menu-item-has-children > a:after, - .primary-navigation .menu-item-has-children li.page_item_has_children > a:after, - .primary-navigation .page_item_has_children li.menu-item-has-children > a:after, - .primary-navigation .page_item_has_children li.page_item_has_children > a:after { - content: "\f503"; - right: auto; - left: 8px; - } -} - -@media screen and (min-width: 810px) { - .attachment .entry-attachment .attachment { - margin-right: -168px; - margin-left: -168px; - } - - .attachment .entry-attachment .attachment a { - display: block; - } - - .contributor-avatar { - margin-right: -168px; - margin-left: auto; - } - - .contributor-summary { - float: right; - } - - .full-width .site-content blockquote.alignright, - .full-width .site-content img.size-full.alignright, - .full-width .site-content img.size-large.alignright, - .full-width .site-content img.size-medium.alignright, - .full-width .site-content .wp-caption.alignright { - margin-right: -168px; - margin-left: auto; - } - - .full-width .site-content blockquote.alignleft, - .full-width .site-content img.size-full.alignleft, - .full-width .site-content img.size-large.alignleft, - .full-width .site-content img.size-medium.alignleft, - .full-width .site-content .wp-caption.alignleft { - margin-right: auto; - margin-left: -168px; - } -} - -@media screen and (min-width: 846px) { - .comment-author, - .comment-awaiting-moderation, - .comment-content, - .comment-list .reply, - .comment-metadata { - padding-right: 50px; - padding-left: 0; - } - - .comment-list .children { - margin-right: 20px; - margin-left: auto; - } -} - -@media screen and (min-width: 1008px) { - .search-box-wrapper { - padding-right: 182px; - padding-left: 0; - } - - .main-content { - float: right; - } - - .site-content { - margin-right: 182px; - margin-left: 29.04761904%; - } - - .full-width .site-content { - margin-right: 182px; - } - - .content-sidebar { - margin-right: -29.04761904%; - margin-left: auto; - } - - .site:before { - right: 0; - left: auto; - } - - #secondary { - float: right; - margin: 0 -100% 0 0; - } - - .secondary-navigation ul ul { - right: -999em; - left: auto; - } - - .secondary-navigation ul li:hover > ul, - .secondary-navigation ul li.focus > ul { - right: 162px; - left: auto; - } - - .secondary-navigation .menu-item-has-children > a { - padding-right: 30px; - padding-left: 38px; - } - - .secondary-navigation .menu-item-has-children > a:after { - border-right-color: #fff; - border-left-color: transparent; - right: auto; - left: 26px; - content: "\f503"; - } - - .footer-sidebar .widget { - float: right; - } - - .featured-content { - padding-right: 182px; - padding-left: 0; - } -} - -@media screen and (min-width: 1040px) { - .archive-header, - .comments-area, - .image-navigation, - .page-header, - .page-content, - .post-navigation, - .site-content .entry-header, - .site-content .entry-content, - .site-content .entry-summary, - .site-content footer.entry-meta { - padding-right: 15px; - padding-left: 15px; - } - - .full-width .archive-header, - .full-width .comments-area, - .full-width .image-navigation, - .full-width .page-header, - .full-width .page-content, - .full-width .post-navigation, - .full-width .site-content .entry-header, - .full-width .site-content .entry-content, - .full-width .site-content .entry-summary, - .full-width .site-content footer.entry-meta { - padding-right: 30px; - padding-left: 30px; - } -} - -@media screen and (min-width: 1080px) { - .site-content { - margin-right: 222px; - margin-left: 29.04761904%; - } - - .full-width .site-content { - margin-right: 222px; - } - - .search-box-wrapper, - .featured-content { - padding-right: 222px; - padding-left: 0; - } - - .secondary-navigation ul li:hover > ul, - .secondary-navigation ul li.focus > ul { - right: 202px; - left: auto; - } - - .slider-control-paging { - padding-right: 24px; - padding-left: 0; - } - - .slider-control-paging li { - margin: 12px 0 12px 12px; - } - - .slider-control-paging a:before { - right: 6px; - left: auto; - } -} - -@media screen and (min-width: 1110px) { - .archive-header, - .comments-area, - .image-navigation, - .page-header, - .page-content, - .post-navigation, - .site-content .entry-header, - .site-content .entry-content, - .site-content .entry-summary, - .site-content footer.entry-meta { - padding-right: 30px; - padding-left: 30px; - } -} - -@media screen and (min-width: 1218px) { - .archive-header, - .comments-area, - .image-navigation, - .page-header, - .page-content, - .post-navigation, - .site-content .entry-header, - .site-content .entry-content, - .site-content .entry-summary, - .site-content footer.entry-meta { - margin-left: 54px; - } - - .full-width .archive-header, - .full-width .comments-area, - .full-width .image-navigation, - .full-width .page-header, - .full-width .page-content, - .full-width .post-navigation, - .full-width .site-content .entry-header, - .full-width .site-content .entry-content, - .full-width .site-content .entry-summary, - .full-width .site-content footer.entry-meta { - margin-right: auto; - margin-left: auto; - } -} - -@media screen and (min-width: 1260px) { - .site-content blockquote.alignright { - margin-right: -18%; - margin-left: auto; - } - - .site-content blockquote.alignleft { - margin-left: -18%; - margin-right: auto; - } -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/screenshot.png b/sources/wordpress/wp-content/themes/twentyfourteen/screenshot.png deleted file mode 100644 index 0273112..0000000 Binary files a/sources/wordpress/wp-content/themes/twentyfourteen/screenshot.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/search.php b/sources/wordpress/wp-content/themes/twentyfourteen/search.php deleted file mode 100644 index 3fe9bdb..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/search.php +++ /dev/null @@ -1,49 +0,0 @@ - - -
        -
        - - - - - - - -
        -
        - - - diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/sidebar-footer.php b/sources/wordpress/wp-content/themes/twentyfourteen/sidebar-footer.php deleted file mode 100644 index 20f3798..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/sidebar-footer.php +++ /dev/null @@ -1,19 +0,0 @@ - - -
        - -
        diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/sidebar.php b/sources/wordpress/wp-content/themes/twentyfourteen/sidebar.php deleted file mode 100644 index be3c8e0..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/sidebar.php +++ /dev/null @@ -1,29 +0,0 @@ - -
        - -

        - - - - - - - - - -
        diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/single.php b/sources/wordpress/wp-content/themes/twentyfourteen/single.php deleted file mode 100644 index e2db3b0..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/single.php +++ /dev/null @@ -1,40 +0,0 @@ - - -
        -
        - -
        -
        - - ul, -li > ol { - margin: 0 0 0 20px; -} - -img { - -ms-interpolation-mode: bicubic; - border: 0; - vertical-align: middle; -} - -figure { - margin: 0; -} - -fieldset { - border: 1px solid rgba(0, 0, 0, 0.1); - margin: 0 0 24px; - padding: 11px 12px 0; -} - -legend { - white-space: normal; -} - -button, -input, -select, -textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - font-size: 100%; - margin: 0; - max-width: 100%; - vertical-align: baseline; -} - -button, -input { - line-height: normal; -} - -input, -textarea { - background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */ -} - -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} - -button[disabled], -input[disabled] { - cursor: default; -} - -input[type="checkbox"], -input[type="radio"] { - padding: 0; -} - -input[type="search"] { - -webkit-appearance: textfield; -} - -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -textarea { - overflow: auto; - vertical-align: top; -} - -table, -th, -td { - border: 1px solid rgba(0, 0, 0, 0.1); -} - -table { - border-collapse: separate; - border-spacing: 0; - border-width: 1px 0 0 1px; - margin-bottom: 24px; - width: 100%; -} - -caption, -th, -td { - font-weight: normal; - text-align: left; -} - -th { - border-width: 0 1px 1px 0; - font-weight: bold; -} - -td { - border-width: 0 1px 1px 0; -} - -del { - color: #767676; -} - -hr { - background-color: rgba(0, 0, 0, 0.1); - border: 0; - height: 1px; - margin-bottom: 23px; -} - -/* Support a widely-adopted but non-standard selector for text selection styles - * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898. - */ -::selection { - background: #24890d; - color: #fff; - text-shadow: none; -} - -::-moz-selection { - background: #24890d; - color: #fff; - text-shadow: none; -} - - -/** - * 2.0 Repeatable Patterns - * ----------------------------------------------------------------------------- - */ - -/* Input fields */ - -input, -textarea { - border: 1px solid rgba(0, 0, 0, 0.1); - border-radius: 2px; - color: #2b2b2b; - padding: 8px 10px 7px; -} - -textarea { - width: 100%; -} - -input:focus, -textarea:focus { - border: 1px solid rgba(0, 0, 0, 0.3); - outline: 0; -} - -/* Buttons */ - -button, -.button, -input[type="button"], -input[type="reset"], -input[type="submit"] { - background-color: #24890d; - border: 0; - border-radius: 2px; - color: #fff; - font-size: 12px; - font-weight: 700; - padding: 10px 30px 11px; - text-transform: uppercase; - vertical-align: bottom; -} - -button:hover, -button:focus, -.button:hover, -.button:focus, -input[type="button"]:hover, -input[type="button"]:focus, -input[type="reset"]:hover, -input[type="reset"]:focus, -input[type="submit"]:hover, -input[type="submit"]:focus { - background-color: #41a62a; - color: #fff; -} - -button:active, -.button:active, -input[type="button"]:active, -input[type="reset"]:active, -input[type="submit"]:active { - background-color: #55d737; -} - -.search-field { - width: 100%; -} - -.search-submit { - display: none; -} - -/* Placeholder text color -- selectors need to be separate to work. */ - -::-webkit-input-placeholder { - color: #939393; -} - -:-moz-placeholder { - color: #939393; -} - -::-moz-placeholder { - color: #939393; - opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */ -} - -:-ms-input-placeholder { - color: #939393; -} - -/* Responsive images. Fluid images for posts, comments, and widgets */ - -.comment-content img, -.entry-content img, -.entry-summary img, -#site-header img, -.widget img, -.wp-caption { - max-width: 100%; -} - -/** - * Make sure images with WordPress-added height and width attributes are - * scaled correctly. - */ - -.comment-content img[height], -.entry-content img, -.entry-summary img, -img[class*="align"], -img[class*="wp-image-"], -img[class*="attachment-"], -#site-header img { - height: auto; -} - -img.size-full, -img.size-large, -.wp-post-image, -.post-thumbnail img { - height: auto; - max-width: 100%; -} - -/* Make sure embeds and iframes fit their containers */ - -embed, -iframe, -object, -video { - margin-bottom: 24px; - max-width: 100%; -} - -p > embed, -p > iframe, -p > object, -span > embed, -span > iframe, -span > object { - margin-bottom: 0; -} - -/* Alignment */ - -.alignleft { - float: left; -} - -.alignright { - float: right; -} - -.aligncenter { - display: block; - margin-left: auto; - margin-right: auto; -} - -blockquote.alignleft, -figure.wp-caption.alignleft, -img.alignleft { - margin: 7px 24px 7px 0; -} - -.wp-caption.alignleft { - margin: 7px 14px 7px 0; -} - -blockquote.alignright, -figure.wp-caption.alignright, -img.alignright { - margin: 7px 0 7px 24px; -} - -.wp-caption.alignright { - margin: 7px 0 7px 14px; -} - -blockquote.aligncenter, -img.aligncenter, -.wp-caption.aligncenter { - margin-top: 7px; - margin-bottom: 7px; -} - -.site-content blockquote.alignleft, -.site-content blockquote.alignright { - border-top: 1px solid rgba(0, 0, 0, 0.1); - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - padding-top: 17px; - width: 50%; -} - -.site-content blockquote.alignleft p, -.site-content blockquote.alignright p { - margin-bottom: 17px; -} - -.wp-caption { - margin-bottom: 24px; -} - -.wp-caption img[class*="wp-image-"] { - display: block; - margin: 0; -} - -.wp-caption { - color: #767676; -} - -.wp-caption-text { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - font-size: 12px; - font-style: italic; - line-height: 1.5; - margin: 9px 0; -} - -div.wp-caption .wp-caption-text { - padding-right: 10px; -} - -div.wp-caption.alignright img[class*="wp-image-"], -div.wp-caption.alignright .wp-caption-text { - padding-left: 10px; - padding-right: 0; -} - -.wp-smiley { - border: 0; - margin-bottom: 0; - margin-top: 0; - padding: 0; -} - -/* Assistive text */ - -.screen-reader-text { - clip: rect(1px, 1px, 1px, 1px); - position: absolute; -} - -.screen-reader-text:focus { - background-color: #f1f1f1; - border-radius: 3px; - box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); - clip: auto; - color: #21759b; - display: block; - font-size: 14px; - font-weight: bold; - height: auto; - line-height: normal; - padding: 15px 23px 14px; - position: absolute; - left: 5px; - top: 5px; - text-decoration: none; - text-transform: none; - width: auto; - z-index: 100000; /* Above WP toolbar */ -} - -.hide { - display: none; -} - -/* Clearing floats */ - -.footer-sidebar:before, -.footer-sidebar:after, -.hentry:before, -.hentry:after, -.gallery:before, -.gallery:after, -.slider-direction-nav:before, -.slider-direction-nav:after, -.contributor-info:before, -.contributor-info:after, -.search-box:before, -.search-box:after, -[class*="content"]:before, -[class*="content"]:after, -[class*="site"]:before, -[class*="site"]:after { - content: ""; - display: table; -} - -.footer-sidebar:after, -.hentry:after, -.gallery:after, -.slider-direction-nav:after, -.contributor-info:after, -.search-box:after, -[class*="content"]:after, -[class*="site"]:after { - clear: both; -} - -/* Genericons */ - -.bypostauthor > article .fn:before, -.comment-edit-link:before, -.comment-reply-link:before, -.comment-reply-login:before, -.comment-reply-title small a:before, -.contributor-posts-link:before, -.menu-toggle:before, -.search-toggle:before, -.slider-direction-nav a:before, -.widget_twentyfourteen_ephemera .widget-title:before { - -webkit-font-smoothing: antialiased; - display: inline-block; - font: normal 16px/1 Genericons; - text-decoration: inherit; - vertical-align: text-bottom; -} - -/* Separators */ - -.site-content span + .entry-date:before, -.full-size-link:before, -.parent-post-link:before, -span + .byline:before, -span + .comments-link:before, -span + .edit-link:before, -.widget_twentyfourteen_ephemera .entry-title:after { - content: "\0020\007c\0020"; -} - - -/** - * 3.0 Basic Structure - * ----------------------------------------------------------------------------- - */ - -.site { - background-color: #fff; - max-width: 1260px; - position: relative; -} - -.main-content { - width: 100%; -} - - -/** - * 4.0 Header - * ----------------------------------------------------------------------------- - */ - -/* Ensure that there is no gap between the header and - the admin bar for WordPress versions before 3.8. */ -#wpadminbar { - min-height: 32px; -} - -#site-header { - position: relative; - z-index: 3; -} - -.site-header { - background-color: #000; - max-width: 1260px; - position: relative; - width: 100%; - z-index: 4; -} - -.header-main { - min-height: 48px; - padding: 0 10px; -} - -.site-title { - float: left; - font-size: 18px; - font-weight: 700; - line-height: 48px; - margin: 0; - - /* Nav-toggle width + search-toggle width - gutter = 86px */ - max-width: -webkit-calc(100% - 86px); - max-width: calc(100% - 86px); -} - -.site-title a, -.site-title a:hover { - color: #fff; - display: block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -/* Search in the header */ - -.search-toggle { - background-color: #24890d; - cursor: pointer; - float: right; - height: 48px; - margin-right: 38px; - text-align: center; - width: 48px; -} - -.search-toggle:hover, -.search-toggle.active { - background-color: #41a62a; -} - -.search-toggle:before { - color: #fff; - content: "\f400"; - font-size: 20px; - margin-top: 14px; -} - -.search-toggle .screen-reader-text { - left: 5px; /* Avoid a horizontal scrollbar when the site has a long menu */ -} - -.search-box-wrapper { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - position: absolute; - top: 48px; - right: 0; - width: 100%; - z-index: 2; -} - -.search-box { - background-color: #41a62a; - padding: 12px; -} - -.search-box .search-field { - background-color: #fff; - border: 0; - float: right; - font-size: 16px; - padding: 2px 2px 3px 6px; - width: 100%; -} - - -/** - * 5.0 Navigation - * ----------------------------------------------------------------------------- - */ - -.site-navigation ul { - list-style: none; - margin: 0; -} - -.site-navigation li { - border-top: 1px solid rgba(255, 255, 255, 0.2); -} - -.site-navigation ul ul { - margin-left: 20px; -} - -.site-navigation a { - color: #fff; - display: block; - text-transform: uppercase; -} - -.site-navigation a:hover { - color: #41a62a; -} - -.site-navigation .current_page_item > a, -.site-navigation .current_page_ancestor > a, -.site-navigation .current-menu-item > a, -.site-navigation .current-menu-ancestor > a { - color: #55d737; - font-weight: 900; -} - -/* Primary Navigation */ - -.primary-navigation { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - font-size: 14px; - padding-top: 24px; -} - -.primary-navigation.toggled-on { - padding: 72px 0 36px; -} - -.primary-navigation .nav-menu { - border-bottom: 1px solid rgba(255, 255, 255, 0.2); - display: none; -} - -.primary-navigation.toggled-on .nav-menu { - display: block; -} - -.primary-navigation a { - padding: 7px 0; -} - -/* Secondary Navigation */ - -.secondary-navigation { - border-bottom: 1px solid rgba(255, 255, 255, 0.2); - font-size: 12px; - margin: 48px 0; -} - -.secondary-navigation a { - padding: 9px 0; -} - -.menu-toggle { - background-color: #000; - border-radius: 0; - cursor: pointer; - height: 48px; - margin: 0; - overflow: hidden; - padding: 0; - position: absolute; - top: 0; - right: 0; - text-align: center; - width: 48px; -} - -.menu-toggle:before { - color: #fff; - content: "\f419"; - padding: 16px; -} - -.menu-toggle:active, -.menu-toggle:focus, -.menu-toggle:hover { - background-color: #444; -} - -.menu-toggle:focus { - outline: 1px dotted; -} - - -/** - * 6.0 Content - * ----------------------------------------------------------------------------- - */ - -.content-area { - padding-top: 48px; -} - -.hentry { - margin: 0 auto 48px; - max-width: 672px; -} - -.site-content .entry-header, -.site-content .entry-content, -.site-content .entry-summary, -.site-content .entry-meta, -.page-content { - margin: 0 auto; - max-width: 474px; -} - -.page-content { - margin-bottom: 48px; -} - - -/** - * 6.1 Post Thumbnail - * ----------------------------------------------------------------------------- - */ - -.post-thumbnail { - background: #b2b2b2 url(images/pattern-light.svg) repeat fixed; - display: block; - position: relative; - width: 100%; - z-index: 0; -} - -a.post-thumbnail:hover { - background-color: #999; -} - -.full-width .post-thumbnail img { - display: block; - margin: 0 auto; -} - - -/** - * 6.2 Entry Header - * ----------------------------------------------------------------------------- - */ - -.entry-header { - position: relative; - z-index: 1; -} - -.entry-title { - font-size: 33px; - font-weight: 300; - line-height: 1.0909090909; - margin-bottom: 12px; - margin: 0 0 12px 0; - text-transform: uppercase; -} - -.entry-title a { - color: #2b2b2b; -} - -.entry-title a:hover { - color: #41a62a; -} - -.site-content .entry-header { - background-color: #fff; - padding: 0 10px 12px; -} - -.site-content .has-post-thumbnail .entry-header { - padding-top: 24px; -} - - -/** - * 6.3 Entry Meta - * ----------------------------------------------------------------------------- - */ - -.entry-meta { - clear: both; - color: #767676; - font-size: 12px; - font-weight: 400; - line-height: 1.3333333333; - text-transform: uppercase; -} - -.entry-meta a { - color: #767676; -} - -.entry-meta a:hover { - color: #41a62a; -} - -.sticky .entry-date { - display: none; -} - -.cat-links { - font-weight: 900; - text-transform: uppercase; -} - -.cat-links a { - color: #2b2b2b; -} - -.cat-links a:hover { - color: #41a62a; -} - -.byline { - display: none; -} - -.single .byline, -.group-blog .byline { - display: inline; -} - -.site-content .entry-meta { - background-color: #fff; - margin-bottom: 8px; -} - -.site-content footer.entry-meta { - margin: 24px auto 0; - padding: 0 10px; -} - -/* Tag links style */ - -.entry-meta .tag-links a { - background-color: #767676; - border-radius: 0 2px 2px 0; - color: #fff; - display: inline-block; - font-size: 11px; - font-weight: 700; - line-height: 1.2727272727; - margin: 2px 4px 2px 10px; - padding: 3px 7px; - position: relative; - text-transform: uppercase; -} - -.entry-meta .tag-links a:hover { - background-color: #41a62a; - color: #fff; -} - -.entry-meta .tag-links a:before { - border-top: 10px solid transparent; - border-right: 8px solid #767676; - border-bottom: 10px solid transparent; - content: ""; - height: 0; - position: absolute; - top: 0; - left: -8px; - width: 0; -} - -.entry-meta .tag-links a:hover:before { - border-right-color: #41a62a; -} - -.entry-meta .tag-links a:after { - background-color: #fff; - border-radius: 50%; - content: ""; - height: 4px; - position: absolute; - top: 8px; - left: -2px; - width: 4px; -} - - -/** - * 6.4 Entry Content - * ----------------------------------------------------------------------------- - */ - -.entry-content, -.entry-summary, -.page-content { - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - word-wrap: break-word; -} - -.site-content .entry-content, -.site-content .entry-summary, -.page-content { - background-color: #fff; - padding: 12px 10px 0; -} - -.page .entry-content { - padding-top: 0; -} - -.entry-content h1:first-child, -.entry-content h2:first-child, -.entry-content h3:first-child, -.entry-content h4:first-child, -.entry-content h5:first-child, -.entry-content h6:first-child, -.entry-summary h1:first-child, -.entry-summary h2:first-child, -.entry-summary h3:first-child, -.entry-summary h4:first-child, -.entry-summary h5:first-child, -.entry-summary h6:first-child, -.page-content h1:first-child, -.page-content h2:first-child, -.page-content h3:first-child, -.page-content h4:first-child, -.page-content h5:first-child, -.page-content h6:first-child { - margin-top: 0; -} - -.entry-content a, -.entry-summary a, -.page-content a, -.comment-content a { - text-decoration: underline; -} - -.entry-content a:hover, -.entry-summary a:hover, -.page-content a:hover, -.comment-content a:hover, -.entry-content a.button, -.entry-summary a.button, -.page-content a.button, -.comment-content a.button { - text-decoration: none; -} - -.entry-content table, -.comment-content table { - font-size: 14px; - line-height: 1.2857142857; - margin-bottom: 24px; -} - -.entry-content th, -.comment-content th { - font-weight: 700; - padding: 8px; - text-transform: uppercase; -} - -.entry-content td, -.comment-content td { - padding: 8px; -} - -.entry-content .edit-link { - clear: both; - display: block; - font-size: 12px; - font-weight: 400; - line-height: 1.3333333333; - text-transform: uppercase; -} - -.entry-content .edit-link a { - color: #767676; - text-decoration: none; -} - -.entry-content .edit-link a:hover { - color: #41a62a; -} - -/* Mediaelements */ - -.hentry .mejs-container { - margin: 12px 0 18px; -} - -.hentry .mejs-mediaelement, -.hentry .mejs-container .mejs-controls { - background: #000; -} - -.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { - background: #fff; -} - -.hentry .mejs-controls .mejs-time-rail .mejs-time-current { - background: #24890d; -} - -.hentry .mejs-controls .mejs-time-rail .mejs-time-total, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { - background: rgba(255, 255, 255, .33); -} - -.hentry .mejs-container .mejs-controls .mejs-time { - padding-top: 9px; -} - -.hentry .mejs-controls .mejs-time-rail span, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { - border-radius: 0; -} - -.hentry .mejs-overlay-loading { - background: transparent; -} - -.hentry .mejs-overlay-button { - background-color: #fff; - background-image: none; - border-radius: 2px; - box-shadow: 1px 1px 1px rgba(0,0,0,.8); - color: #000; - height: 36px; - margin-left: -24px; - width: 48px; -} - -.hentry .mejs-overlay-button:before { - -webkit-font-smoothing: antialiased; - content: '\f452'; - display: inline-block; - font: normal 32px/1.125 Genericons; - position: absolute; - top: 1px; - left: 10px; -} - -.hentry .mejs-controls .mejs-button button:focus { - outline: none; -} - -.hentry .mejs-controls .mejs-button button { - -webkit-font-smoothing: antialiased; - background: none; - color: #fff; - display: inline-block; - font: normal 16px/1 Genericons; -} - -.hentry .mejs-playpause-button.mejs-play button:before { - content: '\f452'; -} - -.hentry .mejs-playpause-button.mejs-pause button:before { - content: '\f448'; -} - -.hentry .mejs-volume-button.mejs-mute button:before { - content: '\f109'; - font-size: 20px; - position: absolute; - top: -2px; - left: 0; -} - -.hentry .mejs-volume-button.mejs-unmute button:before { - content: '\f109'; - left: 0; - position: absolute; - top: 0; -} - -.hentry .mejs-fullscreen-button button:before { - content: '\f474'; -} - -.hentry .mejs-fullscreen-button.mejs-unfullscreen button:before { - content: '\f406'; -} - -.hentry .mejs-overlay:hover .mejs-overlay-button { - background-color: #24890d; - color: #fff; -} - -.hentry .mejs-controls .mejs-button button:hover { - color: #41a62a; -} - -.content-sidebar .wp-playlist-item .wp-playlist-caption { - color: #000; -} - -/* Page links */ - -.page-links { - clear: both; - font-size: 12px; - font-weight: 900; - line-height: 2; - margin: 24px 0; - text-transform: uppercase; -} - -.page-links a, -.page-links > span { - background: #fff; - border: 1px solid #fff; - display: inline-block; - height: 22px; - margin: 0 1px 2px 0; - text-align: center; - width: 22px; -} - -.page-links a { - background: #000; - border: 1px solid #000; - color: #fff; - text-decoration: none; -} - -.page-links a:hover { - background: #41a62a; - border: 1px solid #41a62a; - color: #fff; -} - -.page-links > .page-links-title { - height: auto; - margin: 0; - padding-right: 7px; - width: auto; -} - - -/** - * 6.5 Gallery - * ----------------------------------------------------------------------------- - */ - -.gallery { - margin-bottom: 20px; -} - -.gallery-item { - float: left; - margin: 0 4px 4px 0; - overflow: hidden; - position: relative; -} - -.gallery-columns-1 .gallery-item { - max-width: 100%; -} - -.gallery-columns-2 .gallery-item { - max-width: 48%; - max-width: -webkit-calc(50% - 4px); - max-width: calc(50% - 4px); -} - -.gallery-columns-3 .gallery-item { - max-width: 32%; - max-width: -webkit-calc(33.3% - 4px); - max-width: calc(33.3% - 4px); -} - -.gallery-columns-4 .gallery-item { - max-width: 23%; - max-width: -webkit-calc(25% - 4px); - max-width: calc(25% - 4px); -} - -.gallery-columns-5 .gallery-item { - max-width: 19%; - max-width: -webkit-calc(20% - 4px); - max-width: calc(20% - 4px); -} - -.gallery-columns-6 .gallery-item { - max-width: 15%; - max-width: -webkit-calc(16.7% - 4px); - max-width: calc(16.7% - 4px); -} - -.gallery-columns-7 .gallery-item { - max-width: 13%; - max-width: -webkit-calc(14.28% - 4px); - max-width: calc(14.28% - 4px); -} - -.gallery-columns-8 .gallery-item { - max-width: 11%; - max-width: -webkit-calc(12.5% - 4px); - max-width: calc(12.5% - 4px); -} - -.gallery-columns-9 .gallery-item { - max-width: 9%; - max-width: -webkit-calc(11.1% - 4px); - max-width: calc(11.1% - 4px); -} - -.gallery-columns-1 .gallery-item:nth-of-type(1n), -.gallery-columns-2 .gallery-item:nth-of-type(2n), -.gallery-columns-3 .gallery-item:nth-of-type(3n), -.gallery-columns-4 .gallery-item:nth-of-type(4n), -.gallery-columns-5 .gallery-item:nth-of-type(5n), -.gallery-columns-6 .gallery-item:nth-of-type(6n), -.gallery-columns-7 .gallery-item:nth-of-type(7n), -.gallery-columns-8 .gallery-item:nth-of-type(8n), -.gallery-columns-9 .gallery-item:nth-of-type(9n) { - margin-right: 0; -} - -.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1), -.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1), -.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1), -.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) { - clear: left; -} - -.gallery-caption { - background-color: rgba(0, 0, 0, 0.7); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - color: #fff; - font-size: 12px; - line-height: 1.5; - margin: 0; - max-height: 50%; - opacity: 0; - padding: 6px 8px; - position: absolute; - bottom: 0; - left: 0; - text-align: left; - width: 100%; -} - -.gallery-caption:before { - content: ""; - height: 100%; - min-height: 49px; - position: absolute; - top: 0; - left: 0; - width: 100%; -} - -.gallery-item:hover .gallery-caption { - opacity: 1; -} - -.gallery-columns-7 .gallery-caption, -.gallery-columns-8 .gallery-caption, -.gallery-columns-9 .gallery-caption { - display: none; -} - - -/** - * 6.6 Post Formats - * ----------------------------------------------------------------------------- - */ - -.format-aside .entry-content, -.format-aside .entry-summary, -.format-quote .entry-content, -.format-quote .entry-summary, -.format-link .entry-content, -.format-link .entry-summary { - padding-top: 0; -} - -.site-content .format-link .entry-title, -.site-content .format-aside .entry-title, -.site-content .format-quote .entry-title { - display: none; -} - - -/** - * 6.7 Post/Image/Paging Navigation - * ----------------------------------------------------------------------------- - */ - -.nav-links { - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - border-top: 1px solid rgba(0, 0, 0, 0.1); - hyphens: auto; - word-wrap: break-word; -} - -.post-navigation, -.image-navigation { - margin: 24px auto 48px; - max-width: 474px; - padding: 0 10px; -} - -.post-navigation a, -.image-navigation .previous-image, -.image-navigation .next-image { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - padding: 11px 0 12px; - width: 100%; -} - -.post-navigation .meta-nav { - color: #767676; - display: block; - font-size: 12px; - font-weight: 900; - line-height: 2; - text-transform: uppercase; -} - -.post-navigation a, -.image-navigation a { - color: #2b2b2b; - display: block; - font-size: 14px; - font-weight: 700; - line-height: 1.7142857142; - text-transform: none; -} - -.post-navigation a:hover, -.image-navigation a:hover { - color: #41a62a; -} - -/* Paging Navigation */ - -.paging-navigation { - border-top: 5px solid #000; - margin: 48px 0; -} - -.paging-navigation .loop-pagination { - margin-top: -5px; - text-align: center; -} - -.paging-navigation .page-numbers { - border-top: 5px solid transparent; - display: inline-block; - font-size: 14px; - font-weight: 900; - margin-right: 1px; - padding: 7px 16px; - text-transform: uppercase; -} - -.paging-navigation a { - color: #2b2b2b; -} - -.paging-navigation .page-numbers.current { - border-top: 5px solid #24890d; -} - -.paging-navigation a:hover { - border-top: 5px solid #41a62a; - color: #2b2b2b; -} - - -/** - * 6.8 Attachments - * ----------------------------------------------------------------------------- - */ - -.attachment .content-sidebar, -.attachment .post-thumbnail { - display: none; -} - -.attachment .entry-content { - padding-top: 0; -} - -.attachment footer.entry-meta { - text-transform: none; -} - -.entry-attachment .attachment { - margin-bottom: 24px; -} - - -/** - * 6.9 Archives - * ----------------------------------------------------------------------------- - */ - -.archive-header, -.page-header { - margin: 24px auto; - max-width: 474px; -} - -.archive-title, -.page-title { - font-size: 16px; - font-weight: 900; - line-height: 1.5; - margin: 0; -} - -.taxonomy-description, -.author-description { - color: #767676; - font-size: 14px; - line-height: 1.2857142857; - padding-top: 18px; -} - -.taxonomy-description p, -.author-description p { - margin-bottom: 18px; -} - -.taxonomy-description p:last-child, -.author-description p:last-child { - margin-bottom: 0; -} - -.taxonomy-description a, -.author-description a { - text-decoration: underline; -} - -.taxonomy-description a:hover, -.author-description a:hover { - text-decoration: none; -} - - -/** - * 6.10 Contributor Page - * ----------------------------------------------------------------------------- - */ - -.contributor { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 48px 10px; -} - -.contributor:first-of-type { - padding-top: 24px; -} - -.contributor-info { - margin: 0 auto; - max-width: 474px; -} - -.contributor-avatar { - border: 1px solid rgba(0, 0, 0, 0.1); - float: left; - margin: 0 30px 20px 0; - padding: 2px; -} - -.contributor-name { - font-size: 16px; - font-weight: 900; - line-height: 1.5; - margin: 0; -} - -.contributor-bio a { - text-decoration: underline; -} - -.contributor-bio a:hover { - text-decoration: none; -} - -.contributor-posts-link { - display: inline-block; - line-height: normal; - padding: 10px 30px; -} - -.contributor-posts-link:before { - content: "\f443"; -} - - -/** - * 6.11 404 Page - * ----------------------------------------------------------------------------- - */ - -.error404 .page-content { - padding-top: 0; -} - -.error404 .page-content .search-form { - margin-bottom: 24px; -} - - -/** - * 6.12 Full-width - * ----------------------------------------------------------------------------- - */ - -.full-width .hentry { - max-width: 100%; -} - - -/** - * 6.13 Singular - * ----------------------------------------------------------------------------- - */ - -.singular .site-content .hentry.has-post-thumbnail { - margin-top: -48px; -} - - -/** - * 6.14 Comments - * ----------------------------------------------------------------------------- - */ - -.comments-area { - margin: 48px auto; - max-width: 474px; - padding: 0 10px; -} - -.comment-reply-title, -.comments-title { - font: 900 16px/1.5 Lato, sans-serif; - margin: 0; - text-transform: uppercase; -} - -.comment-list { - list-style: none; - margin: 0 0 48px 0; -} - -.comment-author { - font-size: 14px; - line-height: 1.7142857142; -} - -.comment-list .reply, -.comment-metadata { - font-size: 12px; - line-height: 2; - text-transform: uppercase; -} - -.comment-list .reply { - margin-top: 24px; -} - -.comment-author .fn { - font-weight: 900; -} - -.comment-author a { - color: #2b2b2b; -} - -.comment-list .trackback a, -.comment-list .pingback a, -.comment-metadata a { - color: #767676; -} - -.comment-author a:hover, -.comment-list .pingback a:hover, -.comment-list .trackback a:hover, -.comment-metadata a:hover { - color: #41a62a; -} - -.comment-list article, -.comment-list .pingback, -.comment-list .trackback { - border-top: 1px solid rgba(0, 0, 0, 0.1); - margin-bottom: 24px; - padding-top: 24px; -} - -.comment-list > li:first-child > article, -.comment-list > .pingback:first-child, -.comment-list > .trackback:first-child { - border-top: 0; -} - -.comment-author { - position: relative; -} - -.comment-author .avatar { - border: 1px solid rgba(0, 0, 0, 0.1); - height: 18px; - padding: 2px; - position: absolute; - top: 0; - left: 0; - width: 18px; -} - -.bypostauthor > article .fn:before { - content: "\f408"; - margin: 0 2px 0 -2px; - position: relative; - top: -1px; -} - -.says { - display: none; -} - -.comment-author, -.comment-awaiting-moderation, -.comment-content, -.comment-list .reply, -.comment-metadata { - padding-left: 30px; -} - -.comment-edit-link { - margin-left: 10px; -} - -.comment-edit-link:before { - content: "\f411"; -} - -.comment-reply-link:before, -.comment-reply-login:before { - content: "\f412"; - margin-right: 2px; -} - -.comment-content { - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - word-wrap: break-word; -} - -.comment-content ul, -.comment-content ol { - margin: 0 0 24px 22px; -} - -.comment-content li > ul, -.comment-content li > ol { - margin-bottom: 0; -} - -.comment-content > :last-child { - margin-bottom: 0; -} - -.comment-list .children { - list-style: none; - margin-left: 15px; -} - -.comment-respond { - margin-bottom: 24px; - padding: 0; -} - -.comment .comment-respond { - margin-top: 24px; -} - -.comment-respond h3 { - margin-top: 0; - margin-bottom: 24px; -} - -.comment-notes, -.comment-awaiting-moderation, -.logged-in-as, -.no-comments, -.form-allowed-tags, -.form-allowed-tags code { - color: #767676; -} - -.comment-notes, -.comment-awaiting-moderation, -.logged-in-as { - font-size: 14px; - line-height: 1.7142857142; -} - -.no-comments { - font-size: 16px; - font-weight: 900; - line-height: 1.5; - margin-top: 24px; - text-transform: uppercase; -} - -.comment-form label { - display: block; -} - -.comment-form input[type="text"], -.comment-form input[type="email"], -.comment-form input[type="url"] { - width: 100%; -} - -.form-allowed-tags, -.form-allowed-tags code { - font-size: 12px; - line-height: 1.5; -} - -.required { - color: #c0392b; -} - -.comment-reply-title small a { - color: #2b2b2b; - float: right; - height: 24px; - overflow: hidden; - width: 24px; -} - -.comment-reply-title small a:hover { - color: #41a62a; -} - -.comment-reply-title small a:before { - content: "\f405"; - font-size: 32px; -} - -.comment-navigation { - font-size: 12px; - line-height: 2; - margin-bottom: 48px; - text-transform: uppercase; -} - -.comment-navigation .nav-next, -.comment-navigation .nav-previous { - display: inline-block; -} - -.comment-navigation .nav-previous a { - margin-right: 10px; -} - -#comment-nav-above { - margin-top: 36px; - margin-bottom: 0; -} - - -/** - * 7.0 Sidebars - * ----------------------------------------------------------------------------- - */ - -/* Secondary */ - -#secondary { - background-color: #000; - border-top: 1px solid #000; - border-bottom: 1px solid rgba(255, 255, 255, 0.2); - clear: both; - color: rgba(255, 255, 255, 0.7); - margin-top: -1px; - padding: 0 10px; - position: relative; - z-index: 2; -} - -.site-description { - display: none; - font-size: 12px; - font-weight: 400; - line-height: 1.5; -} - -/* Primary Sidebar */ - -.primary-sidebar { - padding-top: 48px; -} - -.secondary-navigation + .primary-sidebar { - padding-top: 0; -} - -/* Content Sidebar */ - -.content-sidebar { - border-top: 1px solid rgba(0, 0, 0, 0.1); - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - color: #767676; - padding: 48px 10px 0; -} - - -/** - * 7.1 Widgets - * ----------------------------------------------------------------------------- - */ - -/* Primary Sidebar, Footer Sidebar */ - -.widget { - font-size: 14px; - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - line-height: 1.2857142857; - margin-bottom: 48px; - width: 100%; - word-wrap: break-word; -} - -.widget a { - color: #fff; -} - -.widget a:hover { - color: #41a62a; -} - -.widget h1, -.widget h2, -.widget h3, -.widget h4, -.widget h5, -.widget h6 { - margin: 24px 0 12px; -} - -.widget h1 { - font-size: 22px; - line-height: 1.0909090909; -} - -.widget h2 { - font-size: 20px; - line-height: 1.2; -} - -.widget h3 { - font-size: 18px; - line-height: 1.3333333333; -} - -.widget h4 { - font-size: 16px; - line-height: 1.5; -} - -.widget h5 { - font-size: 14px; - line-height: 1.7142857142; -} - -.widget h6 { - font-size: 12px; - line-height: 2; -} - -.widget address { - margin-bottom: 18px; -} - -.widget abbr[title] { - border-color: rgba(255, 255, 255, 0.7); -} - -.widget mark, -.widget ins { - color: #000; -} - -.widget pre, -.widget fieldset { - border-color: rgba(255, 255, 255, 0.2); -} - -.widget code, -.widget kbd, -.widget tt, -.widget var, -.widget samp, -.widget pre { - font-size: 12px; - line-height: 1.5; -} - -.widget blockquote { - color: rgba(255, 255, 255, 0.7); - font-size: 18px; - line-height: 1.5; - margin-bottom: 18px; -} - -.widget blockquote cite { - color: #fff; - font-size: 14px; - line-height: 1.2857142857; -} - -.widget dl, -.widget dd { - margin-bottom: 18px; -} - -.widget ul, -.widget ol { - list-style: none; - margin: 0; -} - -.widget li > ol, -.widget li > ul { - margin-left: 10px; -} - -.widget table, -.widget th, -.widget td { - border-color: rgba(255, 255, 255, 0.2); -} - -.widget table { - margin-bottom: 18px; -} - -.widget del { - color: rgba(255, 255, 255, 0.4); -} - -.widget hr { - background-color: rgba(255, 255, 255, 0.2); -} - -.widget p { - margin-bottom: 18px; -} - -.widget-area .widget input, -.widget-area .widget textarea { - background-color: rgba(255, 255, 255, 0.1); - border-color: rgba(255, 255, 255, 0.2); - color: #fff; - font-size: 16px; - padding: 1px 2px 2px 4px; -} - -.widget-area .widget input:focus, -.widget-area .widget textarea:focus { - border-color: rgba(255, 255, 255, 0.3); -} - -.widget button, -.widget .button, -.widget input[type="button"], -.widget input[type="reset"], -.widget input[type="submit"] { - background-color: #24890d; - border: 0; - font-size: 12px; - padding: 5px 15px 4px; -} - -.widget input[type="button"]:hover, -.widget input[type="button"]:focus, -.widget input[type="reset"]:hover, -.widget input[type="reset"]:focus, -.widget input[type="submit"]:hover, -.widget input[type="submit"]:focus { - background-color: #41a62a; -} - -.widget input[type="button"]:active, -.widget input[type="reset"]:active, -.widget input[type="submit"]:active { - background-color: #55d737; -} - -.widget .wp-caption { - color: rgba(255, 255, 255, 0.7); - margin-bottom: 18px; -} - -.widget .widget-title { - font-size: 14px; - font-weight: 700; - line-height: 1.7142857142; - margin: 0 0 24px 0; - text-transform: uppercase; -} - -.widget-title, -.widget-title a { - color: #fff; -} - -.widget-title a:hover { - color: #41a62a; -} - -/* Calendar Widget*/ - -.widget_calendar table { - line-height: 2; - margin: 0; -} - -.widget_calendar caption { - color: #fff; - font-weight: 700; - line-height: 1.7142857142; - margin-bottom: 18px; - text-align: left; - text-transform: uppercase; -} - -.widget_calendar thead th { - background-color: rgba(255, 255, 255, 0.1); -} - -.widget_calendar tbody td, -.widget_calendar thead th { - text-align: center; -} - -.widget_calendar tbody a { - background-color: #24890d; - color: #fff; - display: block; -} - -.widget_calendar tbody a:hover { - background-color: #41a62a; -} - -.widget_calendar tbody a:hover { - color: #fff; -} - -.widget_calendar #prev { - padding-left: 5px; -} - -.widget_calendar #next { - padding-right: 5px; - text-align: right; -} - -/* Ephemera Widget*/ - -.widget_twentyfourteen_ephemera > ol > li { - border-bottom: 1px solid rgba(255, 255, 255, 0.2); - margin-bottom: 18px; - padding: 0; -} - -.widget_twentyfourteen_ephemera .hentry { - margin: 0; - max-width: 100%; -} - -.widget_twentyfourteen_ephemera .entry-title, -.widget_twentyfourteen_ephemera .entry-meta, -.widget_twentyfourteen_ephemera .wp-caption-text, -.widget_twentyfourteen_ephemera .post-format-archive-link, -.widget_twentyfourteen_ephemera .entry-content table { - font-size: 12px; - line-height: 1.5; -} - -.widget_twentyfourteen_ephemera .entry-title { - display: inline; - font-weight: 400; -} - -.widget_twentyfourteen_ephemera .entry-meta { - margin-bottom: 18px; -} - -.widget_twentyfourteen_ephemera .entry-meta a { - color: rgba(255, 255, 255, 0.7); -} - -.widget_twentyfourteen_ephemera .entry-meta a:hover { - color: #41a62a; -} - -.widget_twentyfourteen_ephemera .entry-content ul, -.widget_twentyfourteen_ephemera .entry-content ol { - margin: 0 0 18px 20px; -} - -.widget_twentyfourteen_ephemera .entry-content ul { - list-style: disc; -} - -.widget_twentyfourteen_ephemera .entry-content ol { - list-style: decimal; -} - -.widget_twentyfourteen_ephemera .entry-content li > ul, -.widget_twentyfourteen_ephemera .entry-content li > ol { - margin: 0 0 0 20px; -} - -.widget_twentyfourteen_ephemera .entry-content th, -.widget_twentyfourteen_ephemera .entry-content td { - padding: 6px; -} - -.widget_twentyfourteen_ephemera .post-format-archive-link { - font-weight: 700; - text-transform: uppercase; -} - -/* List Style Widgets*/ - -.widget_archive li, -.widget_categories li, -.widget_links li, -.widget_meta li, -.widget_nav_menu li, -.widget_pages li, -.widget_recent_comments li, -.widget_recent_entries li { - border-top: 1px solid rgba(255, 255, 255, 0.2); - padding: 8px 0 9px; -} - -.widget_archive li:first-child, -.widget_categories li:first-child, -.widget_links li:first-child, -.widget_meta li:first-child, -.widget_nav_menu li:first-child, -.widget_pages li:first-child, -.widget_recent_comments li:first-child, -.widget_recent_entries li:first-child { - border-top: 0; -} - -.widget_categories li ul, -.widget_nav_menu li ul, -.widget_pages li ul { - border-top: 1px solid rgba(255, 255, 255, 0.2); - margin-top: 9px; -} - -.widget_categories li li:last-child, -.widget_nav_menu li li:last-child, -.widget_pages li li:last-child { - padding-bottom: 0; -} - -/* Recent Posts Widget */ - -.widget_recent_entries .post-date { - display: block; -} - -/* RSS Widget */ - -.rsswidget img { - margin-top: -4px; -} - -.rssSummary { - margin: 9px 0; -} - -.rss-date { - display: block; -} - -.widget_rss li { - margin-bottom: 18px; -} - -.widget_rss li:last-child { - margin-bottom: 0; -} - -/* Text Widget */ - -.widget_text > div > :last-child { - margin-bottom: 0; -} - - -/** - * 7.2 Content Sidebar Widgets - * ----------------------------------------------------------------------------- - */ - -.content-sidebar .widget a { - color: #24890d; -} - -.content-sidebar .widget a:hover { - color: #41a62a; -} - -.content-sidebar .widget pre { - border-color: rgba(0, 0, 0, 0.1); -} - -.content-sidebar .widget mark, -.content-sidebar .widget ins { - color: #2b2b2b; -} - -.content-sidebar .widget abbr[title] { - border-color: #2b2b2b; -} - -.content-sidebar .widget fieldset { - border-color: rgba(0, 0, 0, 0.1); -} - -.content-sidebar .widget blockquote { - color: #767676; -} - -.content-sidebar .widget blockquote cite { - color: #2b2b2b; -} - -.content-sidebar .widget li > ol, -.content-sidebar .widget li > ul { - margin-left: 18px; -} - -.content-sidebar .widget table, -.content-sidebar .widget th, -.content-sidebar .widget td { - border-color: rgba(0, 0, 0, 0.1); -} - -.content-sidebar .widget del { - color: #767676; -} - -.content-sidebar .widget hr { - background-color: rgba(0, 0, 0, 0.1); -} - -.content-sidebar .widget input, -.content-sidebar .widget textarea { - background-color: #fff; - border-color: rgba(0, 0, 0, 0.1); - color: #2b2b2b; -} - -.content-sidebar .widget input:focus, -.content-sidebar .widget textarea:focus { - border-color: rgba(0, 0, 0, 0.3); -} - -.content-sidebar .widget input[type="button"], -.content-sidebar .widget input[type="reset"], -.content-sidebar .widget input[type="submit"] { - background-color: #24890d; - border: 0; - color: #fff; -} - -.content-sidebar .widget input[type="button"]:hover, -.content-sidebar .widget input[type="button"]:focus, -.content-sidebar .widget input[type="reset"]:hover, -.content-sidebar .widget input[type="reset"]:focus, -.content-sidebar .widget input[type="submit"]:hover, -.content-sidebar .widget input[type="submit"]:focus { - background-color: #41a62a; -} - -.content-sidebar .widget input[type="button"]:active, -.content-sidebar .widget input[type="reset"]:active, -.content-sidebar .widget input[type="submit"]:active { - background-color: #55d737; -} - -.content-sidebar .widget .wp-caption { - color: #767676; -} - -.content-sidebar .widget .widget-title { - border-top: 5px solid #000; - color: #2b2b2b; - font-size: 14px; - font-weight: 900; - margin: 0 0 18px; - padding-top: 7px; - text-transform: uppercase; -} - -.content-sidebar .widget .widget-title a { - color: #2b2b2b; -} - -.content-sidebar .widget .widget-title a:hover { - color: #41a62a; -} - -/* List Style Widgets*/ - -.content-sidebar .widget_archive li, -.content-sidebar .widget_categories li, -.content-sidebar .widget_links li, -.content-sidebar .widget_meta li, -.content-sidebar .widget_nav_menu li, -.content-sidebar .widget_pages li, -.content-sidebar .widget_recent_comments li, -.content-sidebar .widget_recent_entries li, -.content-sidebar .widget_categories li ul, -.content-sidebar .widget_nav_menu li ul, -.content-sidebar .widget_pages li ul { - border-color: rgba(0, 0, 0, 0.1); -} - -/* Calendar Widget */ - -.content-sidebar .widget_calendar caption { - color: #2b2b2b; - font-weight: 900; -} - -.content-sidebar .widget_calendar thead th { - background-color: rgba(0, 0, 0, 0.02); -} - -.content-sidebar .widget_calendar tbody a, -.content-sidebar .widget_calendar tbody a:hover { - color: #fff; -} - -/* Ephemera widget*/ - -.content-sidebar .widget_twentyfourteen_ephemera .widget-title { - line-height: 1.2857142857; - padding-top: 1px; -} - -.content-sidebar .widget_twentyfourteen_ephemera .widget-title:before { - background-color: #000; - color: #fff; - margin: -1px 9px 0 0; - padding: 6px 0 9px; - text-align: center; - vertical-align: middle; - width: 36px; -} - -.content-sidebar .widget_twentyfourteen_ephemera .video.widget-title:before { - content: "\f104"; -} - -.content-sidebar .widget_twentyfourteen_ephemera .audio.widget-title:before { - content: "\f109"; -} - -.content-sidebar .widget_twentyfourteen_ephemera .image.widget-title:before { - content: "\f473"; -} - -.content-sidebar .widget_twentyfourteen_ephemera .gallery.widget-title:before { - content: "\f103"; -} - -.content-sidebar .widget_twentyfourteen_ephemera .aside.widget-title:before { - content: "\f101"; -} - -.content-sidebar .widget_twentyfourteen_ephemera .quote.widget-title:before { - content: "\f106"; -} - -.content-sidebar .widget_twentyfourteen_ephemera .link.widget-title:before { - content: "\f107"; -} - -.content-sidebar .widget_twentyfourteen_ephemera > ol > li { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); -} - -.content-sidebar .widget_twentyfourteen_ephemera .entry-meta { - color: #ccc; -} - -.content-sidebar .widget_twentyfourteen_ephemera .entry-meta a { - color: #767676; -} - -.content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover { - color: #41a62a; -} - -.content-sidebar.widget_twentyfourteen_ephemera blockquote cite { - font-size: 13px; - line-height: 1.3846153846; -} - -.content-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link { - font-weight: 900; -} - - -/** - * 8.0 Footer - * ----------------------------------------------------------------------------- - */ - -#supplementary { - padding: 0 10px; -} - -.site-footer, -.site-info, -.site-info a { - color: rgba(255, 255, 255, 0.7); -} - -.site-footer { - background-color: #000; - font-size: 12px; - position: relative; - z-index: 3; -} - -.footer-sidebar { - padding-top: 48px; -} - -.site-info { - padding: 15px 10px; -} - -#supplementary + .site-info { - border-top: 1px solid rgba(255, 255, 255, 0.2); -} - -.site-info a:hover { - color: #41a62a; -} - - -/** - * 9.0 Featured Content - * ----------------------------------------------------------------------------- - */ - -.featured-content { - background: #000 url(images/pattern-dark.svg) repeat fixed; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - position: relative; - width: 100%; -} - -.featured-content-inner { - overflow: hidden; -} - -.featured-content .hentry { - color: #fff; - margin: 0; - max-width: 100%; - width: 100%; -} - -.featured-content .post-thumbnail, -.featured-content .post-thumbnail:hover { - background: transparent; -} - -.featured-content .post-thumbnail { - display: block; - position: relative; - padding-top: 55.357142857%; - overflow: hidden; -} - -.featured-content .post-thumbnail img { - left: 0; - position: absolute; - top: 0; -} - -.featured-content .entry-header { - background-color: #000; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - min-height: 96px; - overflow: hidden; - padding: 24px 10px; -} - -.featured-content a { - color: #fff; -} - -.featured-content a:hover { - color: #41a62a; -} - -.featured-content .entry-meta { - color: #fff; - font-size: 11px; - font-weight: 700; - line-height: 1.0909090909; - margin-bottom: 12px; -} - -.featured-content .cat-links { - font-weight: 700; -} - -.featured-content .entry-title { - font-size: 18px; - font-weight: 300; - line-height: 1.3333333333; - margin: 0; - text-transform: uppercase; -} - - -/* Slider */ - -.slider .featured-content .hentry { - -webkit-backface-visibility: hidden; - display: none; - position: relative; -} - -.slider .featured-content .post-thumbnail { - padding-top: 55.49132947%; -} - -.slider-control-paging { - background-color: #000; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - list-style: none; - margin: -24px 0 0 0; - position: relative; - width: 100%; - z-index: 3; -} - -.slider-control-paging li { - float: left; - margin: 2px 4px 2px 0; -} - -.slider-control-paging li:last-child { - margin-right: 0; -} - -.slider-control-paging a { - cursor: pointer; - display: block; - height: 44px; - position: relative; - text-indent: -999em; - width: 44px; -} - -.slider-control-paging a:before { - background-color: #4d4d4d; - content: ""; - height: 12px; - left: 10px; - position: absolute; - top: 16px; - width: 12px; -} - -.slider-control-paging a:hover:before { - background-color: #41a62a; -} - -.slider-control-paging .slider-active:before, -.slider-control-paging .slider-active:hover:before { - background-color: #24890d; -} - -.slider-direction-nav { - clear: both; - list-style: none; - margin: 0; - position: relative; - width: 100%; - z-index: 3; -} - -.slider-direction-nav li { - border-color: #fff; - border-style: solid; - border-width: 2px 1px 0 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - text-align: center; - width: 50%; -} - -.slider-direction-nav li:last-child { - border-width: 2px 0 0 1px; -} - -.slider-direction-nav a { - background-color: #000; - display: block; - font-size: 0; - height: 46px; -} - -.slider-direction-nav a:hover { - background-color: #24890d; -} - -.slider-direction-nav a:before { - color: #fff; - content: "\f430"; - font-size: 32px; - line-height: 46px; -} - -.slider-direction-nav .slider-next:before { - content: "\f429"; -} - -.slider-direction-nav .slider-disabled { - display: none; -} - - -/** - * 10.0 Multisite - * ----------------------------------------------------------------------------- - */ - -.site-main .widecolumn { - padding-top: 72px; - width: auto; -} -.site-main .mu_register, -.widecolumn > h2, -.widecolumn > form { - margin: 0 auto 48px; - max-width: 474px; - padding: 0 30px; -} - -.site-main .mu_register #blog_title, -.site-main .mu_register #user_email, -.site-main .mu_register #blogname, -.site-main .mu_register #user_name { - font-size: inherit; - width: 90%; -} - -.site-main .mu_register input[type="submit"], -.widecolumn #submit { - font-size: inherit; - width: auto; -} - - -/** - * 11.0 Media Queries - * ----------------------------------------------------------------------------- - */ - -/* Does the same thing as , - * but in the future W3C standard way. -ms- prefix is required for IE10+ to - * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor - * the meta tag. See http://core.trac.wordpress.org/ticket/25888. - */ -@-ms-viewport { - width: device-width; -} - -@viewport { - width: device-width; -} - -@media screen and (max-width: 400px) { - .list-view .site-content .post-thumbnail { - background: none; - width: auto; - z-index: 2; - } - - .list-view .site-content .post-thumbnail img { - float: left; - margin: 0 10px 3px 0; - width: 84px; - } - - .list-view .site-content .entry-header { - background-color: transparent; - padding: 0; - } - - .list-view .content-area { - padding: 0 10px; - } - - .list-view .site-content .hentry { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - margin: 0; - min-height: 60px; - padding: 12px 0 9px; - } - - .list-view .site-content .cat-links, - .list-view .site-content .type-post .entry-content, - .list-view .site-content .type-page .entry-content, - .list-view .site-content .type-post .entry-summary, - .list-view .site-content .type-page .entry-summary, - .list-view .site-content footer.entry-meta { - display: none; - } - - .list-view .site-content .entry-title { - clear: none; - font-size: 15px; - font-weight: 900; - line-height: 1.2; - margin-bottom: 6px; - text-transform: none; - } - - .list-view .site-content .format-aside .entry-title, - .list-view .site-content .format-link .entry-title, - .list-view .site-content .format-quote .entry-title { - display: block; - } - - .list-view .site-content .entry-meta { - background-color: transparent; - clear: none; - margin: 0; - text-transform: none; - } - - .archive-header, - .page-header { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - margin: 24px auto 0; - padding-bottom: 24px; - } - - .error404 .page-header { - border-bottom: 0; - margin: 0 auto 24px; - padding: 0 10px; - } -} - -@media screen and (min-width: 401px) { - a.post-thumbnail:hover img { - opacity: 0.85; - } - - .full-size-link:before, - .parent-post-link:before, - .site-content span + .byline:before, - .site-content span + .comments-link:before, - .site-content span + .edit-link:before, - .site-content span + .entry-date:before { - content: ""; - } - - .attachment span.entry-date:before, - .entry-content .edit-link a:before, - .entry-meta .edit-link a:before, - .site-content .byline a:before, - .site-content .comments-link a:before, - .site-content .entry-date a:before, - .site-content .featured-post:before, - .site-content .full-size-link a:before, - .site-content .parent-post-link a:before, - .site-content .post-format a:before { - -webkit-font-smoothing: antialiased; - display: inline-block; - font: normal 16px/1 Genericons; - text-decoration: inherit; - vertical-align: text-bottom; - } - - .site-content .entry-meta > span { - margin-right: 10px; - } - - .site-content .format-video .post-format a:before { - content: "\f104"; - } - - .site-content .format-audio .post-format a:before { - content: "\f109"; - } - - .site-content .format-image .post-format a:before { - content: "\f473"; - } - - .site-content .format-quote .post-format a:before { - content: "\f106"; - margin-right: 2px; - } - - .site-content .format-gallery .post-format a:before { - content: "\f103"; - margin-right: 4px; - } - - .site-content .format-aside .post-format a:before { - content: "\f101"; - margin-right: 2px; - } - - .site-content .format-link .post-format a:before { - content: "\f107"; - position: relative; - top: 1px; - } - - .site-content .featured-post:before { - content: "\f308"; - margin-right: 3px; - position: relative; - top: 1px; - } - - .site-content .entry-date a:before, - .attachment .site-content span.entry-date:before { - content: "\f303"; - margin-right: 1px; - position: relative; - top: 1px; - } - - .site-content .byline a:before { - content: "\f304"; - } - - .site-content .comments-link a:before { - content: "\f300"; - margin-right: 2px; - } - - .entry-content .edit-link a:before, - .entry-meta .edit-link a:before { - content: "\f411"; - } - - .site-content .full-size-link a:before { - content: "\f402"; - margin-right: 1px; - } - - .site-content .parent-post-link a:before { - content: "\f301"; - } - - .list-view .site-content .hentry { - border-top: 1px solid rgba(0, 0, 0, 0.1); - padding-top: 48px; - } - - .list-view .site-content .hentry:first-of-type, - .list-view .site-content .hentry.has-post-thumbnail { - border-top: 0; - padding-top: 0; - } - - .archive-header, - .page-header { - margin: 0 auto 60px; - padding: 0 10px; - } - - .error404 .page-header { - margin-bottom: 24px; - } -} - -@media screen and (min-width: 594px) { - .site-content .entry-header { - padding-right: 30px; - padding-left: 30px; - } - - .site-content .has-post-thumbnail .entry-header { - margin-top: -48px; - } -} - -@media screen and (min-width: 673px) { - .header-main { - padding: 0 30px; - } - - .search-toggle { - margin-right: 18px; - } - - .search-box .search-field { - width: 50%; - } - - .content-area { - float: left; - width: 100%; - } - - .site-content { - margin-right: 33.33333333%; - } - - .site-content .has-post-thumbnail .entry-header { - margin-top: 0; - } - - .archive-header, - .comments-area, - .image-navigation, - .page-header, - .page-content, - .post-navigation, - .site-content .entry-content, - .site-content .entry-summary, - .site-content footer.entry-meta { - padding-right: 30px; - padding-left: 30px; - } - - .singular .site-content .hentry.has-post-thumbnail { - margin-top: 0; - } - - .full-width .site-content { - margin-right: 0; - } - - .full-width .site-content .has-post-thumbnail .entry-header, - .full-width .site-content .hentry.has-post-thumbnail:first-child { - margin-top: -48px; - } - - #secondary, - #supplementary { - padding: 0 30px; - } - - .content-sidebar { - border: 0; - float: right; - margin-left: -33.33333333%; - padding: 48px 30px 24px; - position: relative; - width: 33.33333333%; - } - - .grid .featured-content .hentry { - float: left; - width: 50%; - } - - .grid .featured-content .hentry:nth-child( 2n+1 ) { - clear: both; - } - - .grid .featured-content .entry-header { - border-color: #000; - border-style: solid; - border-width: 12px 10px; - height: 96px; - padding: 0; - } - - .slider .featured-content .entry-title { - font-size: 22px; - line-height: 1.0909090909; - } - - .slider .featured-content .entry-header { - min-height: inherit; - padding: 24px 30px 48px; - position: absolute; - left: 0; - bottom: 0; - width: 50%; - z-index: 3; - } - - .slider-control-paging { - background: transparent; - margin-top: -48px; - padding-left: 20px; - width: 50%; - } - - .slider-direction-nav { - clear: none; - float: right; - margin-top: -48px; - width: 98px; - } - - .slider-direction-nav li { - border: 0; - padding: 0 1px 0 0; - } - - .slider-direction-nav li:last-child { - padding: 0 0 0 1px; - } - - .slider-direction-nav a { - height: 48px; - } - - .slider-direction-nav a:before { - line-height: 48px; - } - - .site-info { - padding: 15px 30px; - } -} - -@media screen and (min-width: 783px) { - .site-title { - /* Search-toggle width = 48px */ - max-width: -webkit-calc(100% - 48px); - max-width: calc(100% - 48px); - } - - .header-main { - padding-right: 0; - } - - .search-toggle { - margin-right: 0; - } - - /* Fixed Header */ - - .masthead-fixed .site-header { - position: fixed; - top: 0; - } - - .admin-bar.masthead-fixed .site-header { - top: 32px; - } - - .masthead-fixed .site-main { - margin-top: 48px; - } - - /* Navigation */ - - .site-navigation li .current_page_item > a, - .site-navigation li .current_page_ancestor > a, - .site-navigation li .current-menu-item > a, - .site-navigation li .current-menu-ancestor > a { - color: #fff; - } - - /* Primary Navigation */ - - .primary-navigation { - float: right; - font-size: 11px; - margin: 0 1px 0 -12px; - padding: 0; - text-transform: uppercase; - } - - .primary-navigation .menu-toggle { - display: none; - padding: 0; - } - - .primary-navigation .nav-menu { - border-bottom: 0; - display: block; - } - - .primary-navigation.toggled-on { - border-bottom: 0; - margin: 0; - padding: 0; - } - - .primary-navigation li { - border: 0; - display: inline-block; - height: 48px; - line-height: 48px; - position: relative; - } - - .primary-navigation a { - display: inline-block; - padding: 0 12px; - white-space: nowrap; - } - - .primary-navigation ul ul { - background-color: #24890d; - float: left; - margin: 0; - position: absolute; - top: 48px; - left: -999em; - z-index: 99999; - } - - .primary-navigation li li { - border: 0; - display: block; - height: auto; - line-height: 1.0909090909; - } - - .primary-navigation ul ul ul { - left: -999em; - top: 0; - } - - .primary-navigation ul ul a { - padding: 18px 12px; - white-space: normal; - width: 176px; - } - - .primary-navigation li:hover > a, - .primary-navigation li.focus > a { - background-color: #24890d; - color: #fff; - } - - .primary-navigation ul ul a:hover, - .primary-navigation ul ul li.focus > a { - background-color: #41a62a; - } - - .primary-navigation ul li:hover > ul, - .primary-navigation ul li.focus > ul { - left: auto; - } - - .primary-navigation ul ul li:hover > ul, - .primary-navigation ul ul li.focus > ul { - left: 100%; - } - - .primary-navigation .menu-item-has-children > a, - .primary-navigation .page_item_has_children > a { - padding-right: 26px; - } - - .primary-navigation .menu-item-has-children > a:after, - .primary-navigation .page_item_has_children > a:after { - -webkit-font-smoothing: antialiased; - content: "\f502"; - display: inline-block; - font: normal 8px/1 Genericons; - position: absolute; - right: 12px; - top: 22px; - vertical-align: text-bottom; - } - - .primary-navigation li .menu-item-has-children > a, - .primary-navigation li .page_item_has_children > a { - padding-right: 20px; - width: 168px; - } - - .primary-navigation .menu-item-has-children li.menu-item-has-children > a:after, - .primary-navigation .menu-item-has-children li.page_item_has_children > a:after, - .primary-navigation .page_item_has_children li.menu-item-has-children > a:after, - .primary-navigation .page_item_has_children li.page_item_has_children > a:after { - content: "\f501"; - right: 8px; - top: 20px; - } -} - -@media screen and (min-width: 810px) { - .attachment .entry-attachment .attachment { - margin-right: -168px; - margin-left: -168px; - max-width: 810px; - } - - .attachment .site-content .attachment img { - display: block; - margin: 0 auto; - } - - .contributor-avatar { - margin-left: -168px; - } - - .contributor-summary { - float: left; - } - - .full-width .site-content blockquote.alignleft, - .full-width .site-content blockquote.alignright { - width: -webkit-calc(50% + 130px); - width: calc(50% + 130px); - } - - .full-width .site-content blockquote.alignleft, - .full-width .site-content img.size-full.alignleft, - .full-width .site-content img.size-large.alignleft, - .full-width .site-content img.size-medium.alignleft, - .full-width .site-content .wp-caption.alignleft { - margin-left: -168px; - } - - .full-width .site-content .alignleft { - clear: left; - } - - .full-width .site-content blockquote.alignright, - .full-width .site-content img.size-full.alignright, - .full-width .site-content img.size-large.alignright, - .full-width .site-content img.size-medium.alignright, - .full-width .site-content .wp-caption.alignright { - margin-right: -168px; - } - - .full-width .site-content .alignright { - clear: right; - } -} - -@media screen and (min-width: 846px) { - .content-area, - .content-sidebar { - padding-top: 72px; - } - - .site-content .has-post-thumbnail .entry-header { - margin-top: -48px; - } - - .comment-list .trackback, - .comment-list .pingback, - .comment-list article { - margin-bottom: 36px; - padding-top: 36px; - } - - .comment-author .avatar { - height: 34px; - top: 2px; - width: 34px; - } - - .comment-author, - .comment-awaiting-moderation, - .comment-content, - .comment-list .reply, - .comment-metadata { - padding-left: 50px; - } - - .comment-list .children { - margin-left: 20px; - } - - .full-width .site-content .hentry.has-post-thumbnail:first-child { - margin-top: -72px; - } - - .featured-content { - margin-bottom: 0; - } -} - -@media screen and (min-width: 1008px) { - .search-box-wrapper { - padding-left: 182px; - } - - .main-content { - float: left; - } - - .site-content { - margin-right: 29.04761904%; - margin-left: 182px; - } - - .site-content .entry-header { - margin-top: 0; - } - - .site-content .has-post-thumbnail .entry-header { - margin-top: 0; - } - - .content-sidebar { - margin-left: -29.04761904%; - width: 29.04761904%; - } - - .site:before { - background-color: #000; - content: ""; - display: block; - height: 100%; - min-height: 100%; - position: absolute; - top: 0; - left: 0; - width: 182px; - z-index: 2; - } - - #secondary { - background-color: transparent; - border: 0; - clear: none; - float: left; - margin: 0 0 0 -100%; - min-height: 100vh; - width: 122px; - } - - .primary-sidebar { - padding-top: 0; - } - - .site-description { - display: block; - margin: 0 0 18px; - } - - .site-description:empty { - margin: 0; - } - - .secondary-navigation { - font-size: 11px; - margin: 0 -30px 48px; - width: 182px; - } - - .secondary-navigation li { - border-top: 1px solid rgba(255, 255, 255, 0.2); - position: relative; - } - - .secondary-navigation a { - padding: 10px 30px; - } - - .secondary-navigation ul ul { - background-color: #24890d; - position: absolute; - top: 0; - left: -999em; - width: 182px; - z-index: 99999; - } - - .secondary-navigation li li { - border-top: 0; - } - - .secondary-navigation li:hover > a, - .secondary-navigation li.focus > a { - background-color: #24890d; - color: #fff; - } - - .secondary-navigation ul ul a:hover, - .secondary-navigation ul ul li.focus > a { - background-color: #41a62a; - } - - .secondary-navigation ul li:hover > ul, - .secondary-navigation ul li.focus > ul { - left: 162px; - } - - .secondary-navigation .menu-item-has-children > a { - padding-right: 38px; - } - - .secondary-navigation .menu-item-has-children > a:after { - -webkit-font-smoothing: antialiased; - content: "\f501"; - display: inline-block; - font: normal 8px/1 Genericons; - position: absolute; - right: 26px; - top: 14px; - vertical-align: text-bottom; - } - - .footer-sidebar .widget, - .primary-sidebar .widget { - font-size: 12px; - line-height: 1.5; - } - - .footer-sidebar .widget { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - padding: 0 30px; - width: 25%; - } - - .footer-sidebar .widget h1, - .primary-sidebar .widget h1 { - font-size: 20px; - line-height: 1.2; - } - - .footer-sidebar .widget h2, - .primary-sidebar .widget h2 { - font-size: 18px; - line-height: 1.3333333333; - } - - .footer-sidebar .widget h3, - .primary-sidebar .widget h3 { - font-size: 16px; - line-height: 1.5; - } - - .footer-sidebar .widget h4, - .primary-sidebar .widget h4 { - font-size: 14px; - line-height: 1.7142857142; - } - - .footer-sidebar .widget h5, - .primary-sidebar .widget h5 { - font-size: 12px; - line-height: 2; - } - - .footer-sidebar .widget h6, - .primary-sidebar .widget h6 { - font-size: 11px; - line-height: 2.1818181818; - } - - .footer-sidebar .widget code, - .footer-sidebar .widget kbd, - .footer-sidebar .widget tt, - .footer-sidebar .widget var, - .footer-sidebar .widget samp, - .footer-sidebar .widget pre, - .primary-sidebar .widget code, - .primary-sidebar .widget kbd, - .primary-sidebar .widget tt, - .primary-sidebar .widget var, - .primary-sidebar .widget samp, - .primary-sidebar .widget pre { - font-size: 11px; - line-height: 1.6363636363; - } - - .footer-sidebar .widget blockquote, - .primary-sidebar .widget blockquote { - font-size: 14px; - line-height: 1.2857142857; - } - - .footer-sidebar .widget blockquote cite, - .primary-sidebar .widget blockquote cite { - font-size: 12px; - line-height: 1.5; - } - - .footer-sidebar .widget input, - .footer-sidebar .widget textarea, - .primary-sidebar .widget input, - .primary-sidebar .widget textarea { - font-size: 12px; - padding: 3px 2px 4px 4px; - } - - .footer-sidebar .widget input[type="button"], - .footer-sidebar .widget input[type="reset"], - .footer-sidebar .widget input[type="submit"], - .primary-sidebar .widget input[type="button"], - .primary-sidebar .widget input[type="reset"], - .primary-sidebar .widget input[type="submit"] { - padding: 5px 15px 4px; - } - - .footer-sidebar .widget .widget-title, - .primary-sidebar .widget .widget-title { - font-size: 11px; - font-weight: 900; - line-height: 1.6363636363; - margin-bottom: 18px; - } - - .footer-sidebar .widget_twentyfourteen_ephemera .entry-title, - .footer-sidebar .widget_twentyfourteen_ephemera .entry-meta, - .footer-sidebar .widget_twentyfourteen_ephemera .wp-caption-text, - .footer-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link, - .footer-sidebar .widget_twentyfourteen_ephemera .entry-content table, - .primary-sidebar .widget_twentyfourteen_ephemera .entry-title, - .primary-sidebar .widget_twentyfourteen_ephemera .entry-meta, - .primary-sidebar .widget_twentyfourteen_ephemera .wp-caption-text, - .primary-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link, - .primary-sidebar .widget_twentyfourteen_ephemera .entry-content table { - font-size: 11px; - line-height: 1.6363636363; - } - - .footer-sidebar .widget_archive li, - .footer-sidebar .widget_categories li, - .footer-sidebar .widget_links li, - .footer-sidebar .widget_meta li, - .footer-sidebar .widget_nav_menu li, - .footer-sidebar .widget_pages li, - .footer-sidebar .widget_recent_comments li, - .footer-sidebar .widget_recent_entries li, - .primary-sidebar .widget_archive li, - .primary-sidebar .widget_categories li, - .primary-sidebar .widget_links li, - .primary-sidebar .widget_meta li, - .primary-sidebar .widget_nav_menu li, - .primary-sidebar .widget_pages li, - .primary-sidebar .widget_recent_comments li, - .primary-sidebar .widget_recent_entries li { - border-top: 0; - padding: 0 0 6px; - } - - .footer-sidebar .widget_archive li:last-child, - .footer-sidebar .widget_categories li:last-child, - .footer-sidebar .widget_links li:last-child, - .footer-sidebar .widget_meta li:last-child, - .footer-sidebar .widget_nav_menu li:last-child, - .footer-sidebar .widget_pages li:last-child, - .footer-sidebar .widget_recent_comments li:last-child, - .footer-sidebar .widget_recent_entries li:last-child, - .primary-sidebar .widget_archive li:last-child, - .primary-sidebar .widget_categories li:last-child, - .primary-sidebar .widget_links li:last-child, - .primary-sidebar .widget_meta li:last-child, - .primary-sidebar .widget_nav_menu li:last-child, - .primary-sidebar .widget_pages li:last-child, - .primary-sidebar .widget_recent_comments li:last-child, - .primary-sidebar .widget_recent_entries li:last-child { - padding: 0; - } - - .footer-sidebar .widget_categories li ul, - .footer-sidebar .widget_nav_menu li ul, - .footer-sidebar .widget_pages li ul, - .primary-sidebar .widget_categories li ul, - .primary-sidebar .widget_nav_menu li ul, - .primary-sidebar .widget_pages li ul { - border-top: 0; - margin-top: 6px; - } - - #supplementary { - padding: 0; - } - - .footer-sidebar { - font-size: 12px; - line-height: 1.5; - } - - .featured-content { - padding-left: 182px; - } - - .grid .featured-content .hentry { - width: 33.3333333%; - } - - .grid .featured-content .hentry:nth-child( 2n+1 ) { - clear: none; - } - - .grid .featured-content .hentry:nth-child( 3n+1 ) { - clear: both; - } - - .grid .featured-content .entry-header { - height: 120px; - } -} - -@media screen and (min-width: 1040px) { - .site-content .has-post-thumbnail .entry-header { - margin-top: -48px; - } - - .archive-header, - .comments-area, - .image-navigation, - .page-header, - .page-content, - .post-navigation, - .site-content .entry-header, - .site-content .entry-content, - .site-content .entry-summary, - .site-content footer.entry-meta { - padding-right: 15px; - padding-left: 15px; - } - - .full-width .archive-header, - .full-width .comments-area, - .full-width .image-navigation, - .full-width .page-header, - .full-width .page-content, - .full-width .post-navigation, - .full-width .site-content .entry-header, - .full-width .site-content .entry-content, - .full-width .site-content .entry-summary, - .full-width .site-content footer.entry-meta { - padding-right: 30px; - padding-left: 30px; - } -} - -@media screen and (min-width: 1080px) { - .search-box .search-field { - width: 324px; - } - - .site-content, - .site-main .widecolumn { - margin-left: 222px; - } - - .site:before { - width: 222px; - } - - .search-box-wrapper, - .featured-content { - padding-left: 222px; - } - - #secondary { - width: 162px; - } - - .secondary-navigation, - .secondary-navigation ul ul { - width: 222px; - } - - .secondary-navigation ul li:hover > ul, - .secondary-navigation ul li.focus > ul { - left: 202px; - } - - .slider .featured-content .entry-title { - font-size: 33px; - } - - .slider .featured-content .entry-header, - .slider-control-paging { - width: 534px; - } - - .slider-control-paging { - padding-left: 24px; - } - - .slider-control-paging li { - margin: 12px 12px 12px 0; - } - - .slider-control-paging a { - height: 24px; - width: 24px; - } - - .slider-control-paging a:before { - top: 6px; - left: 6px; - } -} - -@media screen and (min-width: 1110px) { - .archive-header, - .comments-area, - .image-navigation, - .page-header, - .page-content, - .post-navigation, - .site-content .entry-header, - .site-content .entry-content, - .site-content .entry-summary, - .site-content footer.entry-meta { - padding-right: 30px; - padding-left: 30px; - } -} - -@media screen and (min-width: 1218px) { - .archive-header, - .comments-area, - .image-navigation, - .page-header, - .page-content, - .post-navigation, - .site-content .entry-header, - .site-content .entry-content, - .site-content .entry-summary, - .site-content footer.entry-meta { - margin-right: 54px; - } - - .full-width .archive-header, - .full-width .comments-area, - .full-width .image-navigation, - .full-width .page-header, - .full-width .page-content, - .full-width .post-navigation, - .full-width .site-content .entry-header, - .full-width .site-content .entry-content, - .full-width .site-content .entry-summary, - .full-width .site-content footer.entry-meta { - margin-right: auto; - } -} - -@media screen and (min-width: 1260px) { - .site-content blockquote.alignleft, - .site-content blockquote.alignright { - width: -webkit-calc(50% + 18px); - width: calc(50% + 18px); - } - - .site-content blockquote.alignleft { - margin-left: -18%; - } - - .site-content blockquote.alignright { - margin-right: -18%; - } -} - - -/** - * 12.0 Print - * ----------------------------------------------------------------------------- - */ - -@media print { - body { - background: none !important; /* Brute force since user agents all print differently. */ - color: #2b2b2b; - font-size: 12pt; - } - - .site, - .site-header, - .hentry, - .site-content .entry-header, - .site-content .entry-content, - .site-content .entry-summary, - .site-content .entry-meta, - .page-content, - .archive-header, - .page-header, - .contributor-info, - .comments-area, - .attachment .entry-attachment .attachment { - max-width: 100%; - } - - #site-header img, - .search-toggle, - .site-navigation, - .site-content nav, - .edit-link, - .page-links, - .widget-area, - .more-link, - .post-format-archive-link, - .comment-respond, - .comment-list .reply, - .comment-reply-login, - #secondary, - .site-footer, - .slider-control-paging, - .slider-direction-nav { - display: none; - } - - .site-title a, - .entry-meta, - .entry-meta a, - .featured-content .hentry, - .featured-content a { - color: #2b2b2b; - } - - .entry-content a, - .entry-summary a, - .page-content a, - .comment-content a { - text-decoration: none; - } - - .site-header, - .post-thumbnail, - a.post-thumbnail:hover, - .site-content .entry-header, - .site-footer, - .featured-content, - .featured-content .entry-header { - background: transparent; - } - - .header-main { - padding: 48px 10px; - } - - .site-title { - float: none; - font-size: 19pt; - } - - .content-area { - padding-top: 0; - } - - .list-view .site-content .hentry { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - margin-bottom: 48px; - padding-bottom: 24px; - } - - .post-thumbnail img { - margin: 0 10px 24px; - } - - .site-content .has-post-thumbnail .entry-header { - padding-top: 0; - } - - .site-content footer.entry-meta { - margin: 24px auto; - } - - .entry-meta .tag-links a { - color: #fff; - } - - .singular .site-content .hentry.has-post-thumbnail { - margin-top: 0; - } - - .gallery-columns-1.gallery-size-medium, - .gallery-columns-1.gallery-size-thumbnail, - .gallery-columns-2.gallery-size-thumbnail, - .gallery-columns-3.gallery-size-thumbnail { - display: block; - } - - .archive-title, - .page-title { - margin: 0 10px 48px; - } - - .featured-content .hentry { - margin-bottom: 48px; - } - - .featured-content .post-thumbnail, - .slider .featured-content .post-thumbnail { - padding-top: 0; - } - - .featured-content .post-thumbnail img { - position: relative; - } - - .featured-content .entry-header { - padding: 0 10px 24px; - } - - .featured-content .entry-meta { - font-size: 9pt; - margin-bottom: 11px; - } - - .featured-content .cat-links { - font-weight: 900; - } - - .featured-content .entry-title { - font-size: 25pt; - line-height: 36px; - } -} diff --git a/sources/wordpress/wp-content/themes/twentyfourteen/tag.php b/sources/wordpress/wp-content/themes/twentyfourteen/tag.php deleted file mode 100644 index 8f6e69b..0000000 --- a/sources/wordpress/wp-content/themes/twentyfourteen/tag.php +++ /dev/null @@ -1,60 +0,0 @@ - - -
        -
        - - - -
        -

        - - %s
        ', $term_description ); - endif; - ?> - - - - -
        - - - -
        -
        - - - -
        -

        - -

        -
        - - -
        -
        - - - -
        -
        - - - -
        -
        -

        -

        - - -
        -
        - -
        -
        - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/archive.php b/sources/wordpress/wp-content/themes/twentythirteen/archive.php deleted file mode 100644 index 9e0dd4d..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/archive.php +++ /dev/null @@ -1,55 +0,0 @@ - - -
        -
        - - -
        -

        -
        - - - - - - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/author-bio.php b/sources/wordpress/wp-content/themes/twentythirteen/author-bio.php deleted file mode 100644 index ae2f522..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/author-bio.php +++ /dev/null @@ -1,34 +0,0 @@ - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/author.php b/sources/wordpress/wp-content/themes/twentythirteen/author.php deleted file mode 100644 index 3d76ba3..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/author.php +++ /dev/null @@ -1,62 +0,0 @@ - - -
        -
        - - - - - -
        -

        ' . get_the_author() . '' ); ?>

        -
        - - - - - - - - - - - - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/category.php b/sources/wordpress/wp-content/themes/twentythirteen/category.php deleted file mode 100644 index a221239..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/category.php +++ /dev/null @@ -1,41 +0,0 @@ - - -
        -
        - - -
        -

        - - -
        - -
        - - - - - - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/comments.php b/sources/wordpress/wp-content/themes/twentythirteen/comments.php deleted file mode 100644 index 3d1aff4..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/comments.php +++ /dev/null @@ -1,59 +0,0 @@ - - -
        - - -

        - ' . get_the_title() . '' ); - ?> -

        - -
          - 'ol', - 'short_ping' => true, - 'avatar_size' => 74, - ) ); - ?> -
        - - 1 && get_option( 'page_comments' ) ) : - ?> - - - - -

        - - - - - - -
        \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-aside.php b/sources/wordpress/wp-content/themes/twentythirteen/content-aside.php deleted file mode 100644 index 8aa309b..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-aside.php +++ /dev/null @@ -1,31 +0,0 @@ - - -
        > -
        - →', 'twentythirteen' ) ); ?> - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        - -
        - - - ', '' ); ?> - - - - - - - - ', '' ); ?> - -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-audio.php b/sources/wordpress/wp-content/themes/twentythirteen/content-audio.php deleted file mode 100644 index 5ba1862..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-audio.php +++ /dev/null @@ -1,37 +0,0 @@ - - -
        > -
        - -

        - -

        - -

        - -
        - -
        -
        - →', 'twentythirteen' ) ); ?> - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        -
        - -
        - - ', '' ); ?> - - - - -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-chat.php b/sources/wordpress/wp-content/themes/twentythirteen/content-chat.php deleted file mode 100644 index b34ab46..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-chat.php +++ /dev/null @@ -1,31 +0,0 @@ - - -
        > -
        - -

        - -

        - -

        - -
        - -
        - - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        - -
        - - ', '' ); ?> -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-gallery.php b/sources/wordpress/wp-content/themes/twentythirteen/content-gallery.php deleted file mode 100644 index a4e2464..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-gallery.php +++ /dev/null @@ -1,45 +0,0 @@ - - -
        > -
        - -

        - -

        - -

        - -
        - -
        - - →', 'twentythirteen' ) ); ?> - '', 'link_before' => '', 'link_after' => '' ) ); ?> - - - -
        - -
        - - - - - ' . __( 'Leave a comment', 'twentythirteen' ) . '', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?> - - - ', '' ); ?> - - - - -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-image.php b/sources/wordpress/wp-content/themes/twentythirteen/content-image.php deleted file mode 100644 index 972423d..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-image.php +++ /dev/null @@ -1,41 +0,0 @@ - - -
        > -
        - -

        - -

        - -

        - -
        - -
        - →', 'twentythirteen' ) ); ?> - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        - -
        - - - - - ' . __( 'Leave a comment', 'twentythirteen' ) . '', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?> - - - ', '' ); ?> - - - - -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-link.php b/sources/wordpress/wp-content/themes/twentythirteen/content-link.php deleted file mode 100644 index 2da7ffb..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-link.php +++ /dev/null @@ -1,36 +0,0 @@ - - -
        > -
        -

        - -

        - - -
        - -
        - →', 'twentythirteen' ) ); ?> - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        - - -
        - - - - -
        - -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-none.php b/sources/wordpress/wp-content/themes/twentythirteen/content-none.php deleted file mode 100644 index d9549e1..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-none.php +++ /dev/null @@ -1,31 +0,0 @@ - - - - -
        - - -

        Get started here.', 'twentythirteen' ), admin_url( 'post-new.php' ) ); ?>

        - - - -

        - - - - -

        - - - -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-quote.php b/sources/wordpress/wp-content/themes/twentythirteen/content-quote.php deleted file mode 100644 index 307537d..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-quote.php +++ /dev/null @@ -1,27 +0,0 @@ - - -
        > -
        - →', 'twentythirteen' ) ); ?> - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        - -
        - - - - - ' . __( 'Leave a comment', 'twentythirteen' ) . '', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?> - - - ', '' ); ?> -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-status.php b/sources/wordpress/wp-content/themes/twentythirteen/content-status.php deleted file mode 100644 index 272f5de..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-status.php +++ /dev/null @@ -1,25 +0,0 @@ - - -
        > -
        - →', 'twentythirteen' ) ); ?> - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        - -
        - - ', '' ); ?> - - - - -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content-video.php b/sources/wordpress/wp-content/themes/twentythirteen/content-video.php deleted file mode 100644 index ac01758..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content-video.php +++ /dev/null @@ -1,41 +0,0 @@ - - -
        > -
        - -

        - -

        - -

        - -
        - -
        - →', 'twentythirteen' ) ); ?> - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        - -
        - - - - - ' . __( 'Leave a comment', 'twentythirteen' ) . '', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?> - - - ', '' ); ?> - - - - -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/content.php b/sources/wordpress/wp-content/themes/twentythirteen/content.php deleted file mode 100644 index c341740..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/content.php +++ /dev/null @@ -1,57 +0,0 @@ - - -
        > -
        - -
        - -
        - - - -

        - -

        - -

        - - - -
        - - -
        - -
        - -
        - →', 'twentythirteen' ) ); ?> - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        - - -
        - - - - - - - -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/css/editor-style.css b/sources/wordpress/wp-content/themes/twentythirteen/css/editor-style.css deleted file mode 100644 index 5684189..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/css/editor-style.css +++ /dev/null @@ -1,771 +0,0 @@ -/* -Theme Name: Twenty Thirteen -Description: Used to style the TinyMCE editor. -*/ - - -/** - * Table of Contents: - * - * 1.0 - Body - * 2.0 - Headings - * 3.0 - Text Elements - * 4.0 - Links - * 5.0 - Alignment - * 6.0 - Tables - * 7.0 - Images - * 8.0 - Galleries - * 9.0 - Audio/Video - * 10.0 - Post Formats - * 11.0 - RTL - * ---------------------------------------------------------------------------- - */ - - -/** - * 1.0 Body - * ---------------------------------------------------------------------------- - */ - -html .mceContentBody { - font-size: 100%; - max-width: 604px; -} - -body { - color: #141412; - font-family: "Source Sans Pro", Helvetica, sans-serif; - line-height: 1.5; - text-rendering: optimizeLegibility; - vertical-align: baseline; -} - - -/** - * 2.0 Headings - * ---------------------------------------------------------------------------- - */ - -h1, -h2, -h3, -h4, -h5, -h6 { - clear: both; - font-family: Bitter, Georgia, serif; - line-height: 1.3; -} - -h1 { - font-size: 48px; - margin: 33px 0; -} - -h2 { - font-size: 30px; - margin: 25px 0; -} - -h3 { - font-size: 22px; - margin: 22px 0; -} - -h4 { - font-size: 20px; - margin: 25px 0; -} - -h5 { - font-size: 18px; - margin: 30px 0; -} - -h6 { - font-size: 16px; - margin: 36px 0; -} - -hr { - background: url(../images/dotted-line.png) repeat center top; - background-size: 4px 4px; - border: 0; - height: 1px; - margin: 0 0 24px; -} - - -/** - * 3.0 Text Elements - * ---------------------------------------------------------------------------- - */ - -p { - margin: 0 0 24px; -} - -ol, -ul { - margin: 16px 0; - padding: 0 0 0 40px; -} - -ul { - list-style-type: square; -} - -ol { - list-style: decimal outside; -} - -li > ul, -li > ol { - margin: 0; -} - -dl { - margin: 0 20px; -} - -dt { - font-weight: bold; -} - -dd { - margin: 0 0 20px; -} - -strong { - font-weight: bold; -} - -code, -kbd, -pre, -samp { - font-family: monospace, serif; - font-size: 14px; -} - -pre { - background: #f5f5f5; - color: #666; - font-family: monospace; - font-size: 14px; - margin: 20px 0; - overflow: auto; - padding: 20px; - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -blockquote, -q { - quotes: none; -} - -blockquote:before, -blockquote:after, -q:before, -q:after { - content: ""; - content: none; -} - -blockquote { - font-size: 24px; - font-style: italic; - font-weight: 300; - margin: 24px 40px; -} - -blockquote blockquote { - margin-right: 0; -} - -blockquote cite, -blockquote small { - font-size: 14px; - font-weight: normal; - text-transform: uppercase; -} - -cite { - border-bottom: 0; -} - -abbr[title] { - border-bottom: 1px dotted; -} - -address { - font-style: italic; - margin: 0 0 24px; -} - -del { - color: #333; -} - -ins { - background: #fff9c0; - border: none; - color: #333; - text-decoration: none; -} - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - - -/** - * 4.0 Links - * ---------------------------------------------------------------------------- - */ - -a { - color: #ca3c08; - text-decoration: none; -} - -a:visited { - color: #ac0404; -} - -a:focus { - outline: thin dotted; -} - -a:active, -a:hover { - color: #ea9629; - outline: 0; -} - -a:hover { - text-decoration: underline; -} - - -/** - * 5.0 Alignment - * ---------------------------------------------------------------------------- - */ - -.alignleft { - float: left; - margin: 5px 20px 5px 0; -} - -.alignright { - float: right; - margin: 5px 0 5px 20px; -} - -.aligncenter { - display: block; - margin: 5px auto; -} - -img.alignnone { - margin: 5px 0; -} - - -/** - * 6.0 Tables - * ---------------------------------------------------------------------------- - */ - -table { - border-bottom: 1px solid #ededed; - border-collapse: collapse; - border-spacing: 0; - font-size: 14px; - line-height: 2; - margin: 0 0 20px; - width: 100%; -} - -caption, -th, -td { - font-weight: normal; - text-align: left; -} - -caption { - font-size: 16px; - margin: 20px 0; -} - -th { - font-weight: bold; - text-transform: uppercase; -} - -td { - border-top: 1px solid #ededed; - padding: 6px 10px 6px 0; -} - - -/** - * 7.0 Images - * ---------------------------------------------------------------------------- - */ - -img { - height: auto; - max-width: 100%; - vertical-align: middle; -} - -.wp-caption { - background: transparent; - border: none; - margin: 0; - padding: 0; - text-align: left; -} - -.html5-captions .wp-caption { - padding: 0; -} - -.wp-caption.alignleft { - margin: 5px 10px 5px 0; -} - -.html5-captions .wp-caption.alignleft { - margin-right: 20px; -} - -.wp-caption.alignright { - margin: 5px 0 5px 10px; -} - -.wp-caption.alignright img, -.wp-caption.alignright .wp-caption-dd { - padding-left: 10px; -} - -.html5-captions .wp-caption.alignright { - margin-left: 20px; -} - -.html5-captions .wp-caption.alignright img, -.html5-captions .wp-caption.alignright .wp-caption-dd { - padding: 0; -} - -.wp-caption-dt { - margin: 0; -} - -.wp-caption .wp-caption-text, -.wp-caption-dd { - color: #220e10; - font-size: 18px; - font-style: italic; - font-weight: 300; - line-height: 1.5; - margin-bottom: 24px; - padding: 0; -} - -.mceTemp + ul, -.mceTemp + ol { - list-style-position: inside; -} - - -/** - * 8.0 Galleries - * ---------------------------------------------------------------------------- - */ - -.gallery .gallery-item { - float: left; - margin: 0 4px 4px 0; - overflow: hidden; - padding: 0; - position: relative; -} - -.gallery-columns-1 .gallery-item { - max-width: 100%; - width: auto; -} - -.gallery-columns-2 .gallery-item { - max-width: 48%; - max-width: -webkit-calc(50% - 14px); - max-width: calc(50% - 14px); - width: auto; -} - -.gallery-columns-3 .gallery-item { - max-width: 32%; - max-width: -webkit-calc(33.3% - 11px); - max-width: calc(33.3% - 11px); - width: auto; -} - -.gallery-columns-4 .gallery-item { - max-width: 23%; - max-width: -webkit-calc(25% - 9px); - max-width: calc(25% - 9px); - width: auto; -} - -.gallery-columns-5 .gallery-item { - max-width: 19%; - max-width: -webkit-calc(20% - 8px); - max-width: calc(20% - 8px); - width: auto; -} - -.gallery-columns-6 .gallery-item { - max-width: 15%; - max-width: -webkit-calc(16.7% - 7px); - max-width: calc(16.7% - 7px); - width: auto; -} - -.gallery-columns-7 .gallery-item { - max-width: 13%; - max-width: -webkit-calc(14.28% - 7px); - max-width: calc(14.28% - 7px); - width: auto; -} - -.gallery-columns-8 .gallery-item { - max-width: 11%; - max-width: -webkit-calc(12.5% - 6px); - max-width: calc(12.5% - 6px); - width: auto; -} - -.gallery-columns-9 .gallery-item { - max-width: 9%; - max-width: -webkit-calc(11.1% - 6px); - max-width: calc(11.1% - 6px); - width: auto; -} - -.gallery-columns-1 .gallery-item:nth-of-type(1n), -.gallery-columns-2 .gallery-item:nth-of-type(2n), -.gallery-columns-3 .gallery-item:nth-of-type(3n), -.gallery-columns-4 .gallery-item:nth-of-type(4n), -.gallery-columns-5 .gallery-item:nth-of-type(5n), -.gallery-columns-6 .gallery-item:nth-of-type(6n), -.gallery-columns-7 .gallery-item:nth-of-type(7n), -.gallery-columns-8 .gallery-item:nth-of-type(8n), -.gallery-columns-9 .gallery-item:nth-of-type(9n) { - margin-right: 0; -} - -.gallery-columns-1 .gallery-item:nth-of-type(1n), -.gallery-columns-2 .gallery-item:nth-of-type(2n - 1), -.gallery-columns-3 .gallery-item:nth-of-type(3n - 2), -.gallery-columns-4 .gallery-item:nth-of-type(4n - 3), -.gallery-columns-5 .gallery-item:nth-of-type(5n - 4), -.gallery-columns-6 .gallery-item:nth-of-type(6n - 5), -.gallery-columns-7 .gallery-item:nth-of-type(7n - 6), -.gallery-columns-8 .gallery-item:nth-of-type(8n - 7), -.gallery-columns-9 .gallery-item:nth-of-type(9n - 8) { - margin-left: 12px; /* Compensate for the default negative margin on .gallery, which can't be changed. */ -} - -.gallery .gallery-caption { - background-color: rgba(0, 0, 0, 0.7); - box-sizing: border-box; - color: #fff; - font-size: 14px; - line-height: 1.3; - margin: 0; - max-height: 50%; - opacity: 0; - padding: 2px 8px; - position: absolute; - bottom: 0; - left: 0; - text-align: left; - -webkit-transition: opacity 400ms ease; - transition: opacity 400ms ease; - width: 100%; -} - -.gallery .gallery-caption:before { - box-shadow: 0 -10px 15px #000 inset; - content: ""; - height: 100%; - min-height: 49px; - position: absolute; - left: 0; - top: 0; - width: 100%; -} - -.gallery-item:hover .gallery-caption { - opacity: 1; -} - -.gallery-columns-7 .gallery-caption, -.gallery-columns-8 .gallery-caption, -.gallery-columns-9 .gallery-caption { - display: none; -} - - -/** - * 9.0 Audio/Video - * ---------------------------------------------------------------------------- - */ -.mejs-mediaelement, -.mejs-container .mejs-controls { - background: #220e10; -} - -.mejs-controls .mejs-time-rail .mejs-time-loaded, -.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { - background: #fff; -} - -.mejs-controls .mejs-time-rail .mejs-time-current { - background: #ea9629; -} - -.mejs-controls .mejs-time-rail .mejs-time-total, -.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { - background: #595959; -} - -.mejs-controls .mejs-time-rail span, -.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, -.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { - border-radius: 0; -} - - -/** - * 10.0 Post Formats - * ---------------------------------------------------------------------------- - */ - -/* Aside */ -.post-format-aside { - background-color: #f7f5e7; -} - -.post-format-aside blockquote { - font-size: 100%; - font-weight: normal; -} - -.post-format-aside cite { - font-size: 100%; - text-transform: none; -} - -.post-format-aside cite:before { - content: "\2014"; - margin-right: 5px; -} - -/* Audio */ -.post-format-audio { - background-color: #db572f; -} - -.post-format-audio a { - color: #fbfaf3; -} - -.post-format-audio:before { - background: url(../images/dotted-line.png) repeat-y 85px 0; - background-size: 4px 4px; - content: "\f109"; - display: block; - float: left; - font-family: Genericons; - font-size: 64px; - -webkit-font-smoothing: antialiased; - height: 100%; - line-height: 1; - width: 120px; -} - -/* Chat */ -.post-format-chat { - background-color: #eadaa6; -} - -.post-format-chat a { - color: #722d19; -} - -/* Gallery */ -.post-format-gallery { - background-color: #fbca3c; -} - -.post-format-gallery a { - color: #722d19; -} - -/* Image: same as Standard/Defaults */ - -/* Link */ -.post-format-link { - background-color: #f7f5e7; -} - -/* Quote */ -.post-format-quote { - background-color: #210d10; - color: #f7f5e7; -} - -.post-format-quote a { - color: #e63f2a; -} - -.post-format-quote blockquote { - font-size: 28px; - font-style: italic; - font-weight: 300; - margin: 0; - padding-left: 75px; - position: relative; -} - -.post-format-quote blockquote:before { - content: '\201C'; - font-size: 140px; - font-weight: 400; - line-height: .8; - padding-right: 25px; - position: absolute; - left: -15px; - top: -3px; -} - -.post-format-quote blockquote small, -.post-format-quote blockquote cite { - display: block; - font-size: 16px; -} - -.format-quote .entry-content cite a { - border-bottom: 1px dotted #fff; - color: #fff; -} - -.format-quote .entry-content cite a:hover { - text-decoration: none; -} - - -/* Status */ -.post-format-status { - background-color: #722d19; - color: #f7f5e7; - font-style: italic; - font-weight: 300; - padding: 0; - padding-left: 35px; -} - -.post-format-status.mceContentBody { - font-size: 24px; -} - -.post-format-status:before { - background: url(../images/dotted-line.png) repeat-y left bottom; - background-size: 4px 4px; - content: ""; - display: block; - float: left; - height: 100%; - position: relative; - left: -30px; - width: 1px; -} - -.post-format-status > p:first-child:before { - background-color: rgba(0, 0, 0, 0.65); - content: ""; - height: 3px; - width: 13px; - margin-top: 13px; - position: absolute; - left: 9px; -} - -.post-format-status a { - color: #eadaa6; -} - -/* Video */ -.post-format-video { - background-color: #db572f; -} - -.post-format-video a { - color: #fbfaf3; -} - - -/** - * 11.0 RTL - * ---------------------------------------------------------------------------- - */ - -html .mceContentBody.rtl { - direction: rtl; - unicode-bidi: embed; -} - -.rtl ol, -.rtl ul { - padding: 0 40px 0 0; -} - -.rtl .wp-caption, -.rtl tr th { - text-align: right; -} - -.rtl td { - padding: 6px 0 6px 10px; - text-align: right; -} - -.rtl blockquote blockquote { - margin-left: 0; - margin-right: 24px; -} - -.rtl.post-format-audio:before, -.rtl.post-format-status:before, -.rtl.post-format-status > p:first-child:before { - background: none; - content: none; -} diff --git a/sources/wordpress/wp-content/themes/twentythirteen/css/ie.css b/sources/wordpress/wp-content/themes/twentythirteen/css/ie.css deleted file mode 100644 index 2ea67d4..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/css/ie.css +++ /dev/null @@ -1,290 +0,0 @@ -/* -Styles for older IE versions (previous to IE9). -*/ - -.site { - min-width: 1040px; -} - -.genericon:before:hover, -.menu-toggle:after:hover, -.date a:before:hover, -.entry-meta .author a:before:hover, -.format-audio .entry-content:before:hover, -.comments-link a:before:hover, -.tags-links a:first-child:before:hover, -.categories-links a:first-child:before:hover, -.edit-link > a:before:hover, -.attachment-meta:before:hover, -.attachment-meta a:before:hover, -.comment-awaiting-moderation:before:hover, -.comment-reply-link:before:hover, -.comment-reply-title small a:before:hover, -.bypostauthor > .comment-body .fn:before:hover { - text-decoration: none; -} - -.nav-menu .sub-menu ul, -.nav-menu .children ul { - left: 100%; -} - -.site-header .home-link { - max-width: 1040px; -} - -.site-header .search-form [type="search"], -.site-header .search-form [type="text"] { - padding-top: 6px; -} - -img.alignright { - margin-right: 0; -} - -img.alignleft { - margin-left: 0; -} - -.site-main .sidebar-inner { - width: 1040px; -} - -.site-main .widget-area { - margin-right: 60px; -} - -.format-image .entry-content .size-full { - margin: 0; - max-width: 604px; -} - -.gallery-columns-1 .gallery-item, -.gallery-columns-2 .gallery-item, -.gallery-columns-3 .gallery-item { - max-width: none; -} - -.gallery img { - width: auto; -} - -.gallery-caption { - background: #000; - filter: alpha(opacity=0); -} - -.gallery-item:hover .gallery-caption { - filter: alpha(opacity=70); -} - -.comment { - clear: both; -} - -.comment-meta, -.comment-content, -.comment-list .reply { - width: 480px; -} - -.depth-2 .comment-meta, -.depth-2 .comment-content, -.comment-list .depth-2 .reply { - width: 460px; -} - -.depth-3 .comment-meta, -.depth-3 .comment-content, -.comment-list .depth-3 .reply { - width: 440px; -} - -.depth-4 .comment-meta, -.depth-4 .comment-content, -.comment-list .depth-4 .reply { - width: 420px; -} - -.depth-5 .comment-meta, -.depth-5 .comment-content, -.comment-list .depth-5 .reply { - width: 400px; -} - -.comment-meta { - margin-bottom: 0; -} - -.widget { - background: #f7f5e7; -} - -.site-footer .widget { - background: none; -} - -/* Internet Explorer 8 */ -.ie8 .site { - border: 0; -} - -.ie8 img.size-full, -.ie8 img.size-large { - height: auto; - width: auto; -} - -.ie8 .sidebar .entry-header, -.ie8 .sidebar .entry-content, -.ie8 .sidebar .entry-summary, -.ie8 .sidebar .entry-meta { - max-width: 724px; -} - -.ie8 .author-info { - margin-left: 0; -} - -.ie8 .paging-navigation .nav-previous .meta-nav { - padding: 5px 0 8px; - width: 40px; -} - -.ie8 .paging-navigation .nav-next { - line-height: 1; -} - -.ie8 .format-status .entry-content:before, -.ie8 .format-status .entry-meta:before { - content: none; -} - -.ie8 .site-main .widget-area { - margin-right: 0; -} - -/* Internet Explorer 7 */ -.ie7 audio, -.ie7 canvas, -.ie7 video { - display: inline; - zoom: 1; -} - -.ie7 legend { - margin-left: -7px; -} - -.ie7 button, -.ie7 input, -.ie7 select, -.ie7 textarea { - vertical-align: middle; -} - -.ie7 button, -.ie7 input[type="button"], -.ie7 input[type="reset"], -.ie7 input[type="submit"] { - overflow: visible; -} - -.ie7 input[type="checkbox"], -.ie7 input[type="radio"] { - height: 13px; - width: 13px; -} - -.ie7 .screen-reader-text { - clip: rect(1px 1px 1px 1px); /* IE7 */ -} - -.ie7 .site-header { - position: relative; - z-index: 1; -} - -.ie7 .main-navigation { - max-width: 930px; - padding-right: 150px; -} - -.ie7 .nav-menu li a, -.ie7 .nav-menu li { - display: block; - float: left; -} - -.ie7 .nav-menu ul { - top: 40px; -} - -.ie7 .nav-menu .sub-menu, -.ie7 .nav-menu .children { - display: none; - overflow: visible; -} - -.ie7 ul.nav-menu li:hover > ul, -.ie7 .nav-menu ul li:hover > ul { - display: block; -} - -.ie7 .site-header .search-form [type="search"], -.ie7 .site-header .search-form [type="text"] { - background-color: #fff; - border: 2px solid #c3c0ab; - cursor: text; - height: 28px; - outline: 0; - width: 150px; -} - -.ie7 .entry-header, -.ie7 .entry-content, -.ie7 .entry-summary, -.ie7 .entry-meta { - width: 604px; -} - -.ie7 .format-status .entry-content, -.ie7 .format-status .entry-meta { - padding-left: 60px; -} - -.ie7 .sidebar .format-status .entry-content, -.ie7 .sidebar .format-status .entry-meta { - padding-left: 60px; -} - -.ie7 .sidebar .post-navigation .nav-links, -.ie7 .sidebar .paging-navigation .nav-links { - width: 604px; -} - -.ie7 .paging-navigation .meta-nav { - padding: 0 0 10px; - vertical-align: middle; - width: 40px; -} - -.ie7 .comments-title, -.ie7 .comment-list, -.ie7 .comment-reply-title, -.ie7 .comment-respond .comment-form { - width: 604px; -} - -.ie7 .site-footer .widget-area { - max-width: none; - left: auto; -} - -/* RTL for Internet Explorer 7 & 8 */ -.rtl .format-audio .entry-content:before, -.rtl .comment-reply-link:before, -.rtl .comment-reply-login:before { - -ms-filter: "FlipH"; - filter: FlipH; -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/footer.php b/sources/wordpress/wp-content/themes/twentythirteen/footer.php deleted file mode 100644 index 725251c..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/footer.php +++ /dev/null @@ -1,26 +0,0 @@ - - - -
        - - -
        - - -
        -
        - - - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/functions.php b/sources/wordpress/wp-content/themes/twentythirteen/functions.php deleted file mode 100644 index 5474d07..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/functions.php +++ /dev/null @@ -1,531 +0,0 @@ - for posts and comments. - add_theme_support( 'automatic-feed-links' ); - - /* - * Switches default core markup for search form, comment form, - * and comments to output valid HTML5. - */ - add_theme_support( 'html5', array( - 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' - ) ); - - /* - * This theme supports all available post formats by default. - * See http://codex.wordpress.org/Post_Formats - */ - add_theme_support( 'post-formats', array( - 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' - ) ); - - // This theme uses wp_nav_menu() in one location. - register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) ); - - /* - * This theme uses a custom image size for featured images, displayed on - * "standard" posts and pages. - */ - add_theme_support( 'post-thumbnails' ); - set_post_thumbnail_size( 604, 270, true ); - - // This theme uses its own gallery styles. - add_filter( 'use_default_gallery_style', '__return_false' ); -} -add_action( 'after_setup_theme', 'twentythirteen_setup' ); - -/** - * Return the Google font stylesheet URL, if available. - * - * The use of Source Sans Pro and Bitter by default is localized. For languages - * that use characters not supported by the font, the font can be disabled. - * - * @since Twenty Thirteen 1.0 - * - * @return string Font stylesheet or empty string if disabled. - */ -function twentythirteen_fonts_url() { - $fonts_url = ''; - - /* Translators: If there are characters in your language that are not - * supported by Source Sans Pro, translate this to 'off'. Do not translate - * into your own language. - */ - $source_sans_pro = _x( 'on', 'Source Sans Pro font: on or off', 'twentythirteen' ); - - /* Translators: If there are characters in your language that are not - * supported by Bitter, translate this to 'off'. Do not translate into your - * own language. - */ - $bitter = _x( 'on', 'Bitter font: on or off', 'twentythirteen' ); - - if ( 'off' !== $source_sans_pro || 'off' !== $bitter ) { - $font_families = array(); - - if ( 'off' !== $source_sans_pro ) - $font_families[] = 'Source Sans Pro:300,400,700,300italic,400italic,700italic'; - - if ( 'off' !== $bitter ) - $font_families[] = 'Bitter:400,700'; - - $query_args = array( - 'family' => urlencode( implode( '|', $font_families ) ), - 'subset' => urlencode( 'latin,latin-ext' ), - ); - $fonts_url = add_query_arg( $query_args, "//fonts.googleapis.com/css" ); - } - - return $fonts_url; -} - -/** - * Enqueue scripts and styles for the front end. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_scripts_styles() { - /* - * Adds JavaScript to pages with the comment form to support - * sites with threaded comments (when in use). - */ - if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) - wp_enqueue_script( 'comment-reply' ); - - // Adds Masonry to handle vertical alignment of footer widgets. - if ( is_active_sidebar( 'sidebar-1' ) ) - wp_enqueue_script( 'jquery-masonry' ); - - // Loads JavaScript file with functionality specific to Twenty Thirteen. - wp_enqueue_script( 'twentythirteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '2014-06-08', true ); - - // Add Source Sans Pro and Bitter fonts, used in the main stylesheet. - wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null ); - - // Add Genericons font, used in the main stylesheet. - wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.03' ); - - // Loads our main stylesheet. - wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '2013-07-18' ); - - // Loads the Internet Explorer specific stylesheet. - wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '2013-07-18' ); - wp_style_add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' ); -} -add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' ); - -/** - * Filter the page title. - * - * Creates a nicely formatted and more specific title element text for output - * in head of document, based on current view. - * - * @since Twenty Thirteen 1.0 - * - * @param string $title Default title text for current view. - * @param string $sep Optional separator. - * @return string The filtered title. - */ -function twentythirteen_wp_title( $title, $sep ) { - global $paged, $page; - - if ( is_feed() ) - return $title; - - // Add the site name. - $title .= get_bloginfo( 'name', 'display' ); - - // Add the site description for the home/front page. - $site_description = get_bloginfo( 'description', 'display' ); - if ( $site_description && ( is_home() || is_front_page() ) ) - $title = "$title $sep $site_description"; - - // Add a page number if necessary. - if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) - $title = "$title $sep " . sprintf( __( 'Page %s', 'twentythirteen' ), max( $paged, $page ) ); - - return $title; -} -add_filter( 'wp_title', 'twentythirteen_wp_title', 10, 2 ); - -/** - * Register two widget areas. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_widgets_init() { - register_sidebar( array( - 'name' => __( 'Main Widget Area', 'twentythirteen' ), - 'id' => 'sidebar-1', - 'description' => __( 'Appears in the footer section of the site.', 'twentythirteen' ), - 'before_widget' => '', - 'before_title' => '

        ', - 'after_title' => '

        ', - ) ); - - register_sidebar( array( - 'name' => __( 'Secondary Widget Area', 'twentythirteen' ), - 'id' => 'sidebar-2', - 'description' => __( 'Appears on posts and pages in the sidebar.', 'twentythirteen' ), - 'before_widget' => '', - 'before_title' => '

        ', - 'after_title' => '

        ', - ) ); -} -add_action( 'widgets_init', 'twentythirteen_widgets_init' ); - -if ( ! function_exists( 'twentythirteen_paging_nav' ) ) : -/** - * Display navigation to next/previous set of posts when applicable. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_paging_nav() { - global $wp_query; - - // Don't print empty markup if there's only one page. - if ( $wp_query->max_num_pages < 2 ) - return; - ?> - - post_parent ) : get_adjacent_post( false, '', true ); - $next = get_adjacent_post( false, '', false ); - - if ( ! $next && ! $previous ) - return; - ?> - - ' . __( 'Sticky', 'twentythirteen' ) . ''; - - if ( ! has_post_format( 'link' ) && 'post' == get_post_type() ) - twentythirteen_entry_date(); - - // Translators: used between list items, there is a space after the comma. - $categories_list = get_the_category_list( __( ', ', 'twentythirteen' ) ); - if ( $categories_list ) { - echo '' . $categories_list . ''; - } - - // Translators: used between list items, there is a space after the comma. - $tag_list = get_the_tag_list( '', __( ', ', 'twentythirteen' ) ); - if ( $tag_list ) { - echo '' . $tag_list . ''; - } - - // Post author - if ( 'post' == get_post_type() ) { - printf( '', - esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), - esc_attr( sprintf( __( 'View all posts by %s', 'twentythirteen' ), get_the_author() ) ), - get_the_author() - ); - } -} -endif; - -if ( ! function_exists( 'twentythirteen_entry_date' ) ) : -/** - * Print HTML with date information for current post. - * - * Create your own twentythirteen_entry_date() to override in a child theme. - * - * @since Twenty Thirteen 1.0 - * - * @param boolean $echo (optional) Whether to echo the date. Default true. - * @return string The HTML-formatted post date. - */ -function twentythirteen_entry_date( $echo = true ) { - if ( has_post_format( array( 'chat', 'status' ) ) ) - $format_prefix = _x( '%1$s on %2$s', '1: post format name. 2: date', 'twentythirteen' ); - else - $format_prefix = '%2$s'; - - $date = sprintf( '', - esc_url( get_permalink() ), - esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ), - esc_attr( get_the_date( 'c' ) ), - esc_html( sprintf( $format_prefix, get_post_format_string( get_post_format() ), get_the_date() ) ) - ); - - if ( $echo ) - echo $date; - - return $date; -} -endif; - -if ( ! function_exists( 'twentythirteen_the_attached_image' ) ) : -/** - * Print the attached image with a link to the next attached image. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_the_attached_image() { - /** - * Filter the image attachment size to use. - * - * @since Twenty thirteen 1.0 - * - * @param array $size { - * @type int The attachment height in pixels. - * @type int The attachment width in pixels. - * } - */ - $attachment_size = apply_filters( 'twentythirteen_attachment_size', array( 724, 724 ) ); - $next_attachment_url = wp_get_attachment_url(); - $post = get_post(); - - /* - * Grab the IDs of all the image attachments in a gallery so we can get the URL - * of the next adjacent image in a gallery, or the first image (if we're - * looking at the last image in a gallery), or, in a gallery of one, just the - * link to that image file. - */ - $attachment_ids = get_posts( array( - 'post_parent' => $post->post_parent, - 'fields' => 'ids', - 'numberposts' => -1, - 'post_status' => 'inherit', - 'post_type' => 'attachment', - 'post_mime_type' => 'image', - 'order' => 'ASC', - 'orderby' => 'menu_order ID' - ) ); - - // If there is more than 1 attachment in a gallery... - if ( count( $attachment_ids ) > 1 ) { - foreach ( $attachment_ids as $attachment_id ) { - if ( $attachment_id == $post->ID ) { - $next_id = current( $attachment_ids ); - break; - } - } - - // get the URL of the next image attachment... - if ( $next_id ) - $next_attachment_url = get_attachment_link( $next_id ); - - // or get the URL of the first image attachment. - else - $next_attachment_url = get_attachment_link( array_shift( $attachment_ids ) ); - } - - printf( '%3$s', - esc_url( $next_attachment_url ), - the_title_attribute( array( 'echo' => false ) ), - wp_get_attachment_image( $post->ID, $attachment_size ) - ); -} -endif; - -/** - * Return the post URL. - * - * @uses get_url_in_content() to get the URL in the post meta (if it exists) or - * the first link found in the post content. - * - * Falls back to the post permalink if no URL is found in the post. - * - * @since Twenty Thirteen 1.0 - * - * @return string The Link format URL. - */ -function twentythirteen_get_link_url() { - $content = get_the_content(); - $has_url = get_url_in_content( $content ); - - return ( $has_url ) ? $has_url : apply_filters( 'the_permalink', get_permalink() ); -} - -/** - * Extend the default WordPress body classes. - * - * Adds body classes to denote: - * 1. Single or multiple authors. - * 2. Active widgets in the sidebar to change the layout and spacing. - * 3. When avatars are disabled in discussion settings. - * - * @since Twenty Thirteen 1.0 - * - * @param array $classes A list of existing body class values. - * @return array The filtered body class list. - */ -function twentythirteen_body_class( $classes ) { - if ( ! is_multi_author() ) - $classes[] = 'single-author'; - - if ( is_active_sidebar( 'sidebar-2' ) && ! is_attachment() && ! is_404() ) - $classes[] = 'sidebar'; - - if ( ! get_option( 'show_avatars' ) ) - $classes[] = 'no-avatars'; - - return $classes; -} -add_filter( 'body_class', 'twentythirteen_body_class' ); - -/** - * Adjust content_width value for video post formats and attachment templates. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_content_width() { - global $content_width; - - if ( is_attachment() ) - $content_width = 724; - elseif ( has_post_format( 'audio' ) ) - $content_width = 484; -} -add_action( 'template_redirect', 'twentythirteen_content_width' ); - -/** - * Add postMessage support for site title and description for the Customizer. - * - * @since Twenty Thirteen 1.0 - * - * @param WP_Customize_Manager $wp_customize Customizer object. - */ -function twentythirteen_customize_register( $wp_customize ) { - $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; - $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; - $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; -} -add_action( 'customize_register', 'twentythirteen_customize_register' ); - -/** - * Enqueue Javascript postMessage handlers for the Customizer. - * - * Binds JavaScript handlers to make the Customizer preview - * reload changes asynchronously. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_customize_preview_js() { - wp_enqueue_script( 'twentythirteen-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20130226', true ); -} -add_action( 'customize_preview_init', 'twentythirteen_customize_preview_js' ); diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/COPYING.txt b/sources/wordpress/wp-content/themes/twentythirteen/genericons/COPYING.txt deleted file mode 100644 index aece214..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/genericons/COPYING.txt +++ /dev/null @@ -1,9 +0,0 @@ -Genericons is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - -The fonts are distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. - -This license does not convey any intellectual property rights to third party trademarks that may be included in the icon font; such marks remain subject to all rights and guidelines of use of their owner. \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/Genericons-Regular.otf b/sources/wordpress/wp-content/themes/twentythirteen/genericons/Genericons-Regular.otf deleted file mode 100644 index 5cd41e8..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/genericons/Genericons-Regular.otf and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/LICENSE.txt b/sources/wordpress/wp-content/themes/twentythirteen/genericons/LICENSE.txt deleted file mode 100644 index d159169..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/genericons/LICENSE.txt +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/README.txt b/sources/wordpress/wp-content/themes/twentythirteen/genericons/README.txt deleted file mode 100644 index 7a0a92e..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/genericons/README.txt +++ /dev/null @@ -1,123 +0,0 @@ - ___ ____ __ _ ____ ____ __ ___ __ __ _ ____ - / __)( __)( ( \( __)( _ \( )/ __)/ \ ( ( \/ ___) -( (_ \ ) _) / / ) _) ) / )(( (__( O )/ /\___ \ - \___/(____)\_)__)(____)(__\_)(__)\___)\__/ \_)__)(____/ - - -Genericons are vector icons embedded in a webfont designed to be clean and simple keeping with a generic aesthetic. - -Use genericons for instant HiDPI, to change icon colors on the fly, or even with CSS effects such as drop-shadows or gradients! - - -_ _ ____ ____ ____ ____ -| | [__ |__| | __ |___ -|__| ___] | | |__] |___ - - -To use it, place the font folder in your stylesheet directory and paste this in your CSS file: - -/* =Genericons, thanks to FontSquirrel.com for conversion! --------------------------------------------------------------- */ -@font-face { - font-family: 'Genericons'; - src: url('font/genericons-regular-webfont.eot'); - src: url('font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'), - url('font/genericons-regular-webfont.woff') format('woff'), - url('font/genericons-regular-webfont.ttf') format('truetype'), - url('font/genericons-regular-webfont.svg#genericonsregular') format('svg'); - font-weight: normal; - font-style: normal; - -} - -Note: the above only works if you don't use a CDN. If you do, or don't know what that is, you should use the syntax that's embedded in genericons.css. - -From then on, you can create an icon like this: - -.my-icon:before { - content: '\f101'; - display: inline-block; - -webkit-font-smoothing: antialiased; - font: normal 16px/1 'Genericons'; - vertical-align: top; -} - -This will output a comment icon before every element with the class "my-icon". The "content: '\f101';" part of this CSS is easily copied from the helper tool at http://genericons.com/ - -You can also use the bundled example.css if you'd rather insert the icons using HTML tags. - - -_ _ ____ ___ ____ ____ -|\ | | | | |___ [__ -| \| |__| | |___ ___] - - -Photoshop mockups: - -Genericons-Regular.otf found in the root directory of this zip has not been web-font-ified. So you can drop it in your system fonts folder and use the font in Photoshop if you like. - -For those of you using Genericons in your Photoshop mockup, remember to delete the old version of the font from Font Book, and grab the new one from the zip file. This also affects using it in your webdesigns: if you have an old version of the font installed locally, that's the font that'll be used in your website as well, so if you're missing icons, check for old versions of the font on your system. - -Pixel grid: - -Note that Genericons has been designed for a 16x16 pixel grid. That means it'll look sharp at font-size: 16px exactly. It'll also be crisp at multiples thereof, such as 32px or 64px. It'll also look reasonably crisp at in-between font sizes such as 24px or 48px, but not quite as crisp as 16 or 32. Please don't set the font-size to 17px, though, that'll just look terrible. - -Also note the CSS property "-webkit-font-smoothing: antialiased". That makes the icons look great in WebKit browsers. Please see http://noscope.com/2012/font-smoothing for more info. - -Updates: - -We don't often update icons, but do very carefully when we get good feedback suggesting improvements. Please be mindful if you upgrade, and check that the updated icons behave as you intended. - - - -____ _ _ ____ _ _ ____ ____ _ ____ ____ -| |__| |__| |\ | | __ |___ | | | | __ -|___ | | | | | \| |__] |___ |___ |__| |__] - -V3.0.3: -Bunch of updates mostly. -- Two new icons, Dropbox and Fullscreen. -- Updates to all icons containing an exclamation mark. -- Updates to Image and Quote. -- Nicer "Share" icon. -- Bigger default Linkedin icon. - -V3.0.2: -A slew of new stuff and updates. -- Social icons: Skype, Digg, Reddit, Stumbleupon, Pocket. -- New generic icons: heart, lock and print. -- New editing icons: code, bold, italic, image -- New interaction icons: subscribe, unsubscribe, subscribed, reply all, reply, flag. -- The hyperlink icon has been updated to be clearer, chunkier. -- The "home" icon has been updated for style, size and clarity. -- The email icon has been updated for style and clarity, and to fit with the new subscribe icons. -- The document icon has been updated for style. -- The "pin" icon has been updated for style and clarity. -- The Twitter icon has been scaled down to fit with the other social icons. - -V3.0.1: -Mostly maintenance. -- Fixed an issue with the example page that showed an old "top" icon instead of the actual NEW "refresh" icon. -- Added inverse Google+ and Path. -- Replaced tabs with spaces in the helper CSS. -- Changed the Genericons.com copy/paste tool to serve span's instead of div's for casual icon insertion. It's being converted to "inline-block" anyway. - -V3.0: -Mainly maintenance and a few new icons. -- Fast forward, rewind, PollDaddy, Notice, Info, Help, Portfolio -- Updated the feed icon. It's a bit smaller now for consistency, the previous one was rather big. -- So, the previous version numbering, 2.09, wasn't very PHP version compare friendly. So from now on it'll be 3.0, 3.1 etc. Props Ipstenu. -- Genericons.com now has a mini release blog. -- The CSS has prettier formatting, props Konstantin Obenland. - -V2.09: -Updated Facebook icon to new version. Updated Instagram logo to use new one-color version. Updated Google+ icon to use same radius as Instagram and Facebook. Added a bunch of new icons, cog, unapprove, cart, media player buttons, tablet, send to tablet. - -V2.06: -Included Base64 encoded version. This is necessary for Genericons to work with CDNs in Firefox. Firefox blocks fonts linked from a different domain. A CDN (typically s.example.com) usually puts the font on a subdomain, and is hence blocked in Firefox. - -V2.05: -Added a bunch of new icons, including upload to cloud, download to cloud, many more. - -V2: -Initial public release \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/example.html b/sources/wordpress/wp-content/themes/twentythirteen/genericons/example.html deleted file mode 100644 index cdc7d04..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/genericons/example.html +++ /dev/null @@ -1,464 +0,0 @@ - - - -Genericons - - - - - -
        - -

        Genericons Usage

        - -

        Copy the font folder and the genericons.css file together into your project. Link the CSS in your HTML:

        - -

        <link href="path/to/genericons.css" rel="stylesheet">

        - -

        Drop in the following HTML with the name of the icon you want to display:

        - -

        <div class="genericon genericon-standard"></div>

        - -
        - - -
        -
        -
        - -
        -
        -
        - -
        -
        - - -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        - - -
        -
        -
        -
        -
        -
        -
        -
        -
        - - - -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        -
        - - -
        -
        -
        -
        - -
        - -

        If you want to insert an icon manually using the :before selector, you can setup CSS rules like the following example. Make sure to set the size to a multiple of 16px or the icons could end up looking fuzzy:

        - -

        - -

        Add a matching class to your HTML:

        - -

        <div class="my-icon">You're a Star!</div>

        - -

        Here's the result: You're a Star!

        - -

        Examples

        - -

        Turn every icon a Salmon color:

        - -

        - -

        Or turn the stars Gold:

        - -

        - -

        Use icons for bulleted lists:

        - -
          -
        • One
        • -
        • Two
        • -
        • Three
        • -
        • Four
        • -
        - -

        - -

        - -

        Use icons to style blockquotes:

        - -
        Sometimes I've believed as many as six impossible things before breakfast. —Lewis Carroll
        -
        `Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves, And the mome raths outgrabe. "Beware the Jabberwock, my son! The jaws that bite, the claws that catch! Beware the Jubjub bird, and shun The frumious Bandersnatch!"
        - -

        - -

        - -

        Use icons to style buttons:

        - - View - Listen - -

        - -

        /

        - -

        CSS Preprocessors

        - -

        Preprocessing extensions such as Sass (SCSS Syntax) or LESS can make it easier to manage CSS for a lot of things at once using things like variables and mixins.

        - -

        This example will seup the basic genericon rules and sets a color you can use for all icons using Sass:

        - -

        - -

        Here is a similar example for LESS:

        - -

        - -

        Fallback images for IE7 and below

        - -

        Genericons does not come with fallback icons by default -- therefore you have to create them yourself. If you are using HTML similar to this example: - -

        <span class="genericon genericon-warning"></span>

        - -

        You can use the asterisk hack to serve a different icon to IE7 once you have saved the fallback icons to your project:

        - - - -
        - - - diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.eot b/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.eot deleted file mode 100644 index 4657469..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.eot and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.svg b/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.svg deleted file mode 100644 index ef236c1..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.svg +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.ttf b/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.ttf deleted file mode 100644 index b6f125e..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.ttf and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.woff b/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.woff deleted file mode 100644 index da8be38..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/genericons/font/genericons-regular-webfont.woff and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/genericons/genericons.css b/sources/wordpress/wp-content/themes/twentythirteen/genericons/genericons.css deleted file mode 100644 index b10b86f..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/genericons/genericons.css +++ /dev/null @@ -1,197 +0,0 @@ -/** - - Genericons Helper CSS - -*/ - - -/** - * The font was graciously generated by Font Squirrel (http://www.fontsquirrel.com). We love those guys. - */ - -@font-face { - font-family: 'Genericons'; - src: url('font/genericons-regular-webfont.eot'); -} - -@font-face { - font-family: 'Genericons'; - src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAENIABEAAAAAatQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABgAAAABwAAAAcaii0EkdERUYAAAGcAAAAHQAAACAArQAET1MvMgAAAbwAAABCAAAAYJdbaIVjbWFwAAACAAAAAJgAAAGyqWnWY2N2dCAAAAKYAAAADgAAAA4BYgHJZnBnbQAAAqgAAAGxAAACZVO0L6dnYXNwAAAEXAAAAAgAAAAIAAAAEGdseWYAAARkAAA5fgAAWkD4H3YjaGVhZAAAPeQAAAArAAAANgUfUT9oaGVhAAA+EAAAABwAAAAkEAMH3WhtdHgAAD4sAAAAiAAAAQpVkUB7bG9jYQAAPrQAAAECAAABAoDMauhtYXhwAAA/uAAAACAAAAAgAagCQm5hbWUAAD/YAAABYgAAAthC114IcG9zdAAAQTwAAAHUAAAFCuMEJONwcmVwAABDEAAAAC4AAAAusPIrFHdlYmYAAENAAAAABgAAAAbRQFLPAAAAAQAAAADMPaLPAAAAAM71j4QAAAAAzvWBvnjaY2BkYGDgA2IJBhBgYmAEwnogZgHzGAAJvwCyAAAAeNpjYGb/zDiBgZWBhdWY5QwDA8NMCM10hsEIzAdKYQeh3uF+DA6qf74ys6X9S2Ng4GBg0AAKMyIpUWBgBACOigvWAAB42mNgYGBmgGAZBkYGEFgD5DGC+SwME4C0AhCyMDCo/vnI+Ynzk+Qn1c8cXzi/SH7R/GL5xfNL5JfMLyVfmf//B6tg+MTwSeCTwmeGLwxfBL4ofDH44vAl4EvCl4KvDP//32LnZ+Hj4+PgY+LV4DHk0eZR5ZHnkeQR5uHlYeeugdqOFzCyMcCVMTIBCSZ0BQzDHgAA5FwqMwAAAQkARQBBAGYAfwC3AAB42l1Ru05bQRDdDQ8DgcTYIDnaFLOZkMZ7oQUJxNWNYmQ7heUIaTdykYtxAR9AgUQN2q8ZoKGkSJsGIRdIfEI+IRIza4iiNDs7s3POmTNLypGqd+lrz1PnJJDC3QbNNv1OSLWzAPek6+uNjLSDB1psZvTKdfv+Cwab0ZQ7agDlPW8pDxlNO4FatKf+0fwKhvv8H/M7GLQ00/TUOgnpIQTmm3FLg+8ZzbrLD/qC1eFiMDCkmKbiLj+mUv63NOdqy7C1kdG8gzMR+ck0QFNrbQSa/tQh1fNxFEuQy6axNpiYsv4kE8GFyXRVU7XM+NrBXbKz6GCDKs2BB9jDVnkMHg4PJhTStyTKLA0R9mKrxAgRkxwKOeXcyf6kQPlIEsa8SUo744a1BsaR18CgNk+z/zybTW1vHcL4WRzBd78ZSzr4yIbaGBFiO2IpgAlEQkZV+YYaz70sBuRS+89AlIDl8Y9/nQi07thEPJe1dQ4xVgh6ftvc8suKu1a5zotCd2+qaqjSKc37Xs6+xwOeHgvDQWPBm8/7/kqB+jwsrjRoDgRDejd6/6K16oirvBc+sifTv7FaAAAAAAEAAf//AA942q18C3xU1bnvWnvveSaZmT3PZJKZzHtCJpkJ88hkIIQhCAECCAQCCCooggTkjS9q3Vqpioo9tqJVK2hbsdpj90xA2mJrjtVaW0fLFbmt1h6xp1ptPcfe9rSKmc39vrVnQhBsz/39bmBm7732npm1vvU9/t9jLaIh8Ef/yj1DeKIlBlJLzIRMFP1i2Mbb/DXUZeNdIv2r0vPEE166+An4u/MJ7pnyBZeS0+R0+XVymi6HE+X4aaoQSsb9TSREyxEOvlQjwXfrSA18s424yJVEJgmZlmQhIVtSsqYki0lZn5DtKdlQkh1JuTYh15WoXJ+QhRNFoq9NJpOyrlTUCcbYcF7HG/C9xhCTdZaCncZkV6lgsiaTRbsL79sthlihgcZIx0Sa8TvO9+KgO2Xo7GnCSWVJIGWJk07DNUckiY57KZUj4Sjc1cE/GION9BLZmJDNJdkGHYR+2mEwJ6DHcp2lIEJ/dKWCg8YKYp1oHRYMRj7kypGCzQxXVKsjcNUxkVisIZ9gtXCCL0TszmRnOhKg5BW6mj5KV7/yirJfuUTZT5P7ju/bd5xPjG985RXuIWzdhyQWiEQlnaSVGHVdxE+uZ7SFvvkSciMQMyHzpWEj79DH5JqSrIfeBlhva0tyraVQD731lGSPpWCFM22pEIR+11LRWtAbczm5XpS5nOyBUfAOM/RbtoqyBsbS6IOxaKm1FtscYoHT5GBMNuAYv00jIoVtdpJKkkyaBAPEle70OR12rS8iAYHZ/0+ArHmq+8EPqVY59cMfKJ9IR6nx6FHlb0epxCPNTxNpVBJ8B1aV34a7Y0/uPnp09y3PPIPj5oh+PF9Nx3EX9LWpFDKWIYm8BYxVl6SyJSGTE7KQBErIvKWgp4wU2qRcY4GxxoBYOGsEB+AXaeWVghfQVoHuKHCEA0fwUn1XiHprVALRwSYtzgEHFyJcCvABDTAV3sNTCfimjqQJlU2sK9AvTWnYoCEwKcYS8pKhVDAD5Y1EtALFCxoDHPkccnCFdjpRI8bh207SnpN3bz1Ntt6tkfafPLn/C8+3lP8gcfe3PM94FH5JS4iROMhKImsTspgCZpStSeSJGkaZWiCIk/WCUUP9/aKRR8kxakGmgEI1QBRTSTZZZAdyUNFhwrsOEeTKpcoVEMdOgmKyM+M/cwryIynHjw/t46onQDSQr+PKcUr2DY07JRzSjNGlgaTIPoKiDnMSS8he4NA065++VNQT/GG9AN3SWwpu6Fa8VIy7sTE+ERrjlkIdNDpKxToHNtZBF2WHpRCFRn+pGPVjYzQE/c4Add164GtjfS5XqIsD/9a4PDHg30LUAc3e1hzwdawGJVYMTWQySsV0Z9ahdYgonxkxHc14KVwAH+MdmBY412XwTiSAT7kcMENkaDC/5cCW/OAQ42aCfD3WxI1QafX+8H25JYq0YMuWBVRakrsvvH+1IgFjcxqKh91K5RHKHlHUR0DWgbvIiA5pZiVB0kZkf0K2pXCKgMFrU0wThRJy/QmQ6EIY5qkgWICNGmAkDcBGKX+S9Tjop2IwEKFZPw5KbYsB2x5YJZBVBw6sUvJKXlp1gEfN8vivsEVS8sjR7Ca8K3k6ckBZJf3qcSqdaSGEp1U50EAPfWRmRctT7Kj+BOoks6XghKlpKhUCMB9mmI9ho9VWj1rEKRYafDgHFGTgsNZgdjibKrMAHabhznQ06+VRElw9NB2BC+qwm6gOf5TJZaa/f4V7gscyOXNR34UX9q1Ydnl8YBJPkNE+hVd///H+FY1TZsyNzr+z86K+o7882rdi+Qc3L33srslo/uCV1oNGIevIBiJfkZAvKcmtqEGofCXjxs6S3GkpNFKU2MJ66H0n9LPYP29BDvRko/i0xuLovmDJZUzVX3IFcJTlMrjRKuZrjDYPaWlL52cPXooD1VgPBULhjiQbnJi2klAqKRCrw0I02kgm3ZlJR3sEfOMi0Tg1cbpIVKuL82aqdWkddi/v0upMNE6jcSHaSk3U6fIKLq+uM2tHNRENkUepje765TG6i1ofVa5TfhEK0BnzrpMGs+u1Rr3ZJtSlui/PXr1nz9XZy3oSRuOkjvXZQem6uZnapqnLlvo4gyfQ6RFqGwyimzd43IE6ytdZm0OdUxbFaSCk/EK5TiC/pF+AL39U+U9l9zGlUP7jOl1zg/D8wpsnG5pnDT217ZGt5pZZl06knGCdGPZznD88UdRy3D03bN+/7amhWT594qI6E+3KCnXBxnpOV+O2wtiau/y83t3Q3OAEXZS8Vqj3addxTrRxOnxjc2MmjYzzJ5E+soDsIMU6QmJypITao7kkd6nztZDZNwuIhaVwIcxXbxLV6yKYsgtBHvJ1mto6wdnUHGppz0yexearPgLtRgOxtfZMzfcumIvT1Cwe0tMmz2Q877IW/YkLcmjj6ilMmA/mywJqHkw3b7e6Okk2Eq2l0awzlOWiWkKd/mSW47XE5rT1CNlIKBjQUi/n6hRcXNTE2bwUPmPNhr6FM0UfgpftW99SPlR2K2vg9WFox8Yb6Hffs+SVd5Wtf/c9R/+6567h55Q/U/FXdNbho/7v/Va57W9rf649MO+O9RO+qBz5gU+iC5yeqPYJOvd695f7nv77YtOkFZ6HXq5X/sQnz/3+b8HvcrMPKq9eW6Kd8zqkwWT9V5yz4tT9tyXK0U8fGFlA2+gtc5RjmvWPKY9xk3w9vaEv3mMpb/GkFtf6tY3UM5y7dEh5tPF+5ef3baSLR+JMfiTaBjjkN6DNYdgpXxY41JlKwmEKsGicZtJZp+BC/k4lXZ1ZrQ5fyLImXgj6pI4WSn52zTOhqDeRvPHxBUvnLkvuoXveMf7q/gMbpfWt11y1dvYm2rPz6XeUX39LeZUe03yDu3uzrs7981s0MT756CVXLH7iFzXR9vv/9w731Fv66to3L9D59Nd//MEv7l+KfSOAkXQSiZILCKpIUJYBMG9JWUzIvpTsLMlulXVaAHeeQDAKMNRgAVwpuwBLpQoTgHlcgOZkd47BhPHaVPTb/FNQv7qykWDAxHloEMFDICLtG9KQoX37hpR3qalWeTfW+5h2/vpL7lnWpijltqF9iBHw9qfwzr1IhZHa7iz9P8bsJTsv+JMyWs4hwAOLTyTNe9D3BjKf6VMHs+K2ZJFQNG7EBRYPUIVetexupv+5JHZdTBZd9fiMy2GIFesZNq4nYAsbKzY8JaZ7uFTS2Ux54FAP5+fRmHPSb9Nrn7wqO+R26/5tborONikvKCP8SzRBufl7NuW1PK+8m59helU5NnqEn01A21fpawbcsRiQx1qyl8h1CXlpSW5OFMJpwGSNpcKEOKD4RSqh142T0W6Q0QuT8ppSsXsN9rG7H4a0xlJYBe0guFcC7btRcA0ouDbnkuUXM6FtXorCTPUGYrcFsn0rL161BmW1UTzkjM3qR0UsL7IWWjpQaq0WaydIrROkVgtSG0GppVpbKtk5lXY6tTqtjtp40LadLqfa5qVqYw+XSaOuNSDjulCSBYpsHYnytNMKWho4WCft/YjOpRvp3I/27v1IOaR8TTn0UfpUSblx5u50eGMw4LCZ7G0TaUS+YYndbLfvvjCyIRi02KjZEptIgwvrATnU2zmbxqKt1eh5fv4k4ybl/QdfVR6iF27ZsedmgfuY3nrkjcs1U/g5n/kVOOO4Pym71gieh6hJw/G0OcBruNH7OJEu03EBHzVio63ByUHrw7T2wtxKf3x5JiB4jY019SanaDfmBukVm58/9XV/XKvhDpb3DtHtb7463NJ66wOqfzE2tzPIcnIFeYjISxNyS0qeXUK+AxA5HRyNlGwvFafbcfqme2H6GoAX16pzjJ4bOmpg8WV3Ug6Btk4WAyF8NNAF3LgO5lcHHscwb5q5AmctIOaNmhrvhFhv/+LB1WyuZ8NcF0lsJqjgAm+Cc128C+3udPEItfiDockrL2Pm1Cbi5KCZpK6ANhjgM6qkeqhfDIp+hwrrUWrBzIJ51cP9LDtNZf0BLd9DXWBPNS6cVZBgW6TTBd/k1AJrSDeUvB6fu9lrnW07cp8q2uCknGaqDyCtotFcfDcfNIdsHlHUx+ceumjgwK3lR278/YzcG9LiObbBULfHo9PR8qElt01z3L3ruh85HdKuG16i79Lf38hPyfm7wx4qaKehRlD9H/zqUfiVJufdT23g3LVNYqO93mFMz5x815GtRzr2Xnbqm0vWU9pQN7lhYmBigyds0V8hdD7ya0H4/TcPjAjCL4mKycCAap8Br94CunkWQ9owB3wCcEwVaasT5IEJ8pYYUtYBtinUmYDCHrEghhCWhepF6yGLua09rqIyu3MyBQAZp6A6bKA3gMLpbA9NJREjw3mcA2Wo0WX8XmrhAKVdsZBbvJauGRhYZ6NzlKcBls2usQ9OnTTXT2fn1t2+KNSbSvh9jhrlCIU/rTj7sstm969aferb/L+P+rkJnY3JmZNWzyj/J9e15bsbsjW2xsZgk3iX+23lPeU/Lz6LT5sAe2bJDUwDARL2x0DtdDBn0Oc7IcqdKdkG/pdFdsP4u9j4wQO2MCfYy/wG2a9yawwcEkuhTVVDOSCL18NMgOwXC/UuIE7AKmdyckwsdHQiiXxwu9CSUV3h8SYC0PbnkosRixkOoNWYyUCbQMnCaXT6ALegd/oiC9WBF/x1qtdbZqR2U/3B25MLuwIW5ePxRmSfcO2kCy+c1D1v/qdH+IbR9+jRdltL17CyjL74vafr2yINW4AZngRAtQCw1DTyXVJ0In4yJ+QJJaSQFgjSywiSKckZS6EJRg52MmAptDOXuTAdDp3uH/bUfDSHOGJGk9wAVBwp2OkncmRk2GqP2GJFePft8e0JakFMc+SQ1d7gjsTxj447l/NuWmjKgCC7clNQkANiUevswLN2a8E8AanZMQF9NNLco0o2mCoEyk6rw84J4L9EOVDQ0UjWpmIKJ3MGtKi+rSzqYOIcdhBeHaLlaIR7su/eYzT2lEwTL+94QvnZi5d/LzDbErj4Xp3n0Za71g4sC08xua67YucPLlc++PiOD7+xbMCq01kMuqDzxi8Jf7rqN688fOl1Lymf3vk35eqTF+eV3+Z2fbXz4C5OXnjNHUc3LErd81zu8q98n058+gQ1XX7wzWu/usbhrp/SUm8xpKgaXhvDsINkNymakO4AO2Yn5C60kcwmLmWkD5fksKWQAkrPLclzLYWZcDa5JE9W3V/wPZYBI85NAW1iiYHFqC9nikdMGltz1zTLArycbC04pyIBnSb0QhYDTWeDF2IwEps7PCE1eeqCz3geiGSDgWhnFoCpSj4mu+BrOV3OTmDSbGckClRmWAHJDNTPomEErgVVC/ABpsJ1tuOh+gZfvXuOZ1bT3gWPlvdc8tjf9971f75zfW5ondUjcBZeozFd0CeNbH3p5IJ9lyy63FYz0ds3fdF2i96w1VavBbT61Fl+hnIJvP7z0dYd66g703+ETv3ZtuPfvGzeTY8NL9/zWqveZDPkDTanOP/61cVbF7751Nf+fu/OBfGHr27tXXr/1thCm00JD6zecy0dZX70AW6VbpXmAChGM2khTBeyOIlJDRZRNUJjKRiA4nXV4JDV4vR1WiI+oXI88Fe67K9/VR7n7qycCN9VHv9r5ZwdK7iY6G4EF8ZPMgRjnPUl2ZqQTSwOh9E28D7ADZa1GFsrEo0FZcBkHa5r8vhUxncBdzdSaypJic0aDvFwCUyNxi3CowxopcXX2Vcu/MrGb5TpJrq61qL8Sbnjlhn52yz6LVu7Znfb0xOPLZdv1Fy+cbFysvwX5ST93/QnlKcr9LXKgOf+lbJMzRfSWTRh09+/lTD6VGOKZvDjrYRimJMgWsNgKzlXuYUNVDq5XyAYjxqFd45FfdD1xhYF35vRSUd60F8RSdsCejoAnpxsSMC3UjmYkJtOYLTSmSyEkCQWjH/VoZlJiXZmgsGsd2ZFGHUUeVFEoBpEiAYg7Vc/dbtvufTiGzatWHbtl2+f290mivQJZfC02N4xe84G4dHyHdf1Ttvma3bau6h7WaihPf4AfZk20BfuWH7xlHzwLNsRJDEymdzMbAdYCW9CjpbkhoQcSMkJFp4SSrJgAaGlcneFKAhhfcAoquCCp4ADabRgpExOMddzCkhs2AcjCuTkCeKw19PGvMpGjM2QQkMUZLnRF27BtoRYCE04nwEB9z7FAjZ+EEEwcOBP+UMVTgyrxgWckEiMgkieZUWk/oyGZPqVjyzKcWWZctyifERZFPGk8hzX3J+RMv3s7SxDMoSNPOntwXhd2/Ge3mbluZP4oerT/RlQZ4AtKGALhdiJCzzzZqBeFOgXB9+cyglGHowfWjAYL3sZ9GuB9zFz0gF0aXDA6J31Tcjsckg8pNUgnnOhHRgOhFvbEP6xSFyWdiZdFOmho8gGNDKVRm1UDPOusMi7snAe1YiarIG6MpR4uB+LLSL3Y4+n3CvarbZyr+eWb387w2mUd957j3oPvv/BB72c5j3lHep9r/wpvffbvJO+1lxPX6upUdrrm5V2n1Npq6mhx50PbdqkPK48TtPP0q4HnqWp8rMPPfRQOUCXPfgs1/TsA3RZ+dlNvzmLhzJkKXmGPMZ4yF6SexLy90rynETV9fnRONcHsYUaWLoHzq4pydeoxAKm+TGGmNqAaZbm5HvEQ88sX9d7AOlyjbVYJ1yNWqJBzNtqNXZvoCPZ3TNn3qVbbv/6Y/9aHGaAuccOtjUyaTIC5jnguD5N9RZv97zvY7xTswjudSRTuc/xjIRUMoSgOM5FUfJAxwjRSCgasWY7Q1lA1wLHJFLIwjSgYz+V70RD4oqwpwSdltPg/U40G3E0wFoA1U5mR1B44RJvZ+PgUEbQvOCVDo033AS74vJyzGTjBWWP4ldgMIFMwbhXJMSU3nl8rp436bVv/Ynetnby0n0vbd8hRztnb9usPH3wceWDvjl1S5fR9iLn/6Vy8Gf3iY994Vrq2zV31r3lr93Dm+hl1PrQN6n3slDgSuU3+7+hvH7VVWuoqH/gqk3/PnmKs3/mmxcusTtSyZUrF0TSejGVXjwwOVerjTW3JOKz6jiTweGcMbfPFo9Y+2KxFf45Wm5wd+8FV3jqw+9s3taVjQQ/uOlL3+e1Swfv2HbtwIqfUIdxw+K1yl+v2jHlc1y6t5Tb3vz7y7fdvPPYQ0P2jueuu0956tpdWzyNv93/EL3q6w/+L6/W8rZy74dfOz27z5xzfE2598R+GMU26c5duegX79Xqdm7eoPz6+mue9/oHLl7xzpx59u6eSy9bvLjeNdHVN2FZ3yyNtjs7EJ5qcWhoV4z3zvF4/UIsMHdRNKs3NDRfcMW0DQmr5ao752xYF4tt33nddXe6bG/cvnf79tZgU4A6fsJteLZnnn1yz/oNpOoj6gnw/nxyJbmR3EFvIrImIa8tyVJCvjUl31SSdyeL0k3o8kl7DLHiTRKe3vQlcBRvssjXIyoHxBlNyJtSciuIyJ0JOXFCXl8avnB9Qh+TSQkDHxeW5PWWQp6l+2SXRc6W5GwCTgo7oMlXGr7ct0PNcfkshT3QdHNSvr0k35Is3r4Hf+32W+GH99yOp3skcDvvUrGsYevIsIplZ1nkmSOFQe4TednID4UdIy1qc59FnjFSWMp/Ii8fKcyaqYeG4Zl9M2yxQt8MPXxouG/WTFtMHrQMLx1cBq2Dy/TyUsvwsqXLbTFyZMbMvlmDS5ctj1f+6DktDArn14NIZjSbUKxdYnHl2utRcH07QDeK7ihahsKeGtAFE0C0pbXQSgDRoTa4SSw6XUzKo9dDszuxfoeKGuxeQGs94P/GhQSNc2mQPowqxwX0dH0gYBhKBqNqN6G3zLlMvM7EZ9M9fLYHmsEHdoDdAQ+44tMBGNSZABXGeZphTrQDHWopf90LX9j5i39Zl6zzeTpD/iU2m6ve5gq3dfvqLc3eeL39nvuURuXjb8ye55u+8ouzbV16quUESo2NJtuUOXfuSiVnt1hfDcSmheqDA7Paa4O2VM+0UHPt0986+rurU00r4l2XX5B0TbampzRNWjO9w8EfZYAKnGP6y95rLu1KDm6VprfMmNKebfb0mm2xjoTT6Yn09ixPxuZPhQvLkpvyBxd3bbikr1XDiYJZZ6ox69xtcVuDoHPGfJ7++X2WxMKOVrOhRtTxfCiebU2mvFvvOiAc2pQPtuZWbt+R3jrZ5rHmLtq6qXzqjF+uYvovg87vAr6/CP3qvgTLrq5A9V5IA3cBgzYni+ksslw6AbyetSAUAJtQWAnKPU1hzi9cMohznhULgb4cWjorThTv5ZupVwMk16CWFE1qyB/OvBygIL/YAfoT9GtcGw12MBBkovgRXZy/qaZv+syDBwuP3L9rpbuhtuWqi6/ItsQ2br5285VLp4lWytWIvpap4fSmxTNsVv8F07sstGvaK7vWu7jg1EUrVg7k7bbeX+/NtTQ28GJjvcFwUueaNEH45iM/XTl/22QfZ2pqMBo0tllLvvLo725YfvtA1qapq9NplT/ytYFAe7SlzsY1eGvraH0gZgq188Xyu3W+lfO/PffmFXPa/WY95Sw3JKe1r1owb1JbTe1LBt/6TYg37wI6bgc6+sm14JUi3mopFRtakHANDiDchoR8eUlekmApwSXVlCCVr0vI3hPyCnBRS8WAl0WU1oGUewN46iXwyRWWQpyB+GK8jmUNe0D0rwfqB7wgTr5cIb4CjKPgaGjRz9uJAlUnymYQspYGuA1Sd/kGkCpzPMDuLRGH67ykE0/1iNiZV0oxnl1xTHVOHXOPoiA6oQh4SFlw/NH4MfSKmZ3I+H9wH6PhzuoTldvBAE6pw67ewH/wzRXkW71/15dO7r7rmhn9T9Kud3bbUvRLJ2/ZtfHCuU8qP3tntzid3tmZXnrNkX1bN3dPDgSnTFoyb9PyxqDfLwKoXLm6LebzOhoSmUCgoX5SbtHg5js2bsjlsumVl37x4ik5v79n2vr57QlXo9PR5IulgyHNfbtPfqm/dvc7ys+eXLVkaDNcTTJ9+R3a9eTgwI7yX/rnz01MjccXL1m3bEpPJNrYUG/XG6xml90TD4R8vp4OmzMUXJlMtLc3uFuic2avXnvBtJYWN4CyZm8yP6HN6fQF0hNdbr+f+QcgY1rMcSbJCiK3If4uRttYGrcOpzyVkHUnZLFUFHXYKLZiLYjYwN697D0IHKATWaEIBrvTWIihg9l0wLRGEVARllQE7QgThMoOE4laM0Wwbdfqxt5iNOlk2Bu8YSqNTNy0Ok91tW6rf/lMi15PD2T6OyJO+N+fySMeVvLTdvRd1ErB97nkkY9v14jt/qbFDyxaciAc6c9M6K3zR9kbPDrU39LRwsIBJbpXl9JtJxPJJDKbLCJryEayg9xAryaYe5xaki9LyMtLxeWXwWjI8kHg55Usgr4hJc8rFdPrrsG6mK6E/IUUxmEBYTsS8paSvEP1qr6YkNtPyN2l4WR3+5gVTZbkbkuhH2RiQUleYCmshbOhkjxkYcGdSEnehtbYVhq+LjJdj8Gwwo2VoM9P/rJLtYg6i6wfKbiFT+SGkR/++eC/PYLNBXeDHsNB9SOFWrhTN0Ke1ulr6+ob3FXL95lrZve620VrIZEGDdgvDvOaLiZbC6zF1oGlqBbXisNT+5azUP6QdXjCiktYAnW6mDdYHE3eq7Zs3/kFbIhYC6FrMOKxaDlMb3dOnicejrQnQpOnq8m7w+A4kZ3X4QUvFjVNffjdDmtB2wh2c8cW6ILNynyuSnLKBrLq0qBkO5kRjIZ5p0uNMamsgUAZhDdOs3Z4HMMgTrsTYTOGkjFH4GQhKbs2YE+D18KEGy6ZEIfSnexOtegHv5qFUkpXD6zpPvL7lRqr1UFz9QMdc9avn9O3VqOcmvfb73WvG9jZFTe9oDylbFP+9QVLW2ZtS2KJp23CpIVP0OB3n6TBJ55Q3nryu8pb26bFE9N6V3pbzV13/0uXudVrHvzB0UH6L9MugVba0Z5vb8/TgY5YbkK78JWBqwdWG+hLzppazawJE9d/bf3qvm7li7WrBq8eyK5oTE689d3du39/a7KzcXkm0dTfE8q9cuLpoaHDGzbC+ycre3tX9t4f85q7uszemHlw8H3Wwl+PP9Fe/vGUec0dLZMI1qVwGIOWiAd8wzuI3JiQ21KytlTUNqKYaikwdgtj3tpS1XE8U6pTX5Lr1cismKyk7QJqhUer6kLqeZj1RlasVJNjir1Q247soG0EC9sQCrPpFp82mC31zT4/skGtVTbm1PIwtbajh/qcLocummGlHDyLcYUzriy7PYX6WfUS+Lu6xAUJzYvU+aLmG+vhlNKX7tr7Er9w/TfwQveS8h8/4xcee8WfSPjpe7f96NnbNrR3rAzE4wGlec9zP73tf3XEj+O9Xx2746c/qdbr6DCvHSJTmL/oLMkeFm1ATzHMKCGWZFEtPACvMALjbRQxOF+LI/Q4mRVTS1Uq4QKsKOOI3UWzzmTWRTuRt3QGGgnoME0hgHtfLSSjJEKHhPDesIYOhed0ZsLKG8qb4Y0hLPZgeUvpGJab0dX01qGIsk/I5wU6FBmaA8/RSDiMGAhzf8+C39vL6rDU6j5iM2htGZeBZh2UN2glehVnU+4u/5kz063lD4WH6Ta67eHyR5Sz043lPyt3062cWfka/ygNKt9XXuYP0OXKy8qRcnb7OppSSuu2Kz/hfkxnKW8pB/kXaFo5qPwG7QTWwmCtk5U4yLgCGFuiEqSi4rklL5Xxw8iwxgXLk6oDHdqHNSz70P5wwKlarPMLsnyroYR1VMCOHHx7bQLrjUjBgHVaOrU4xQVYmAdQjaZLgi8pS5KU50dOA9ODZwRoUSpX6ge12F+B1JJ6ghWOWBkDU25EZi+YWKcN1C/SM+WAGEIrY+3KEFgNHi4VuBQyeNU/Vm/D+KeZhMnFjIMcjIOQfSIs0KCyDwaogiU5OBZeAPkp+ICRhusEuwf9i4agaD1c69A0hcIsguBxwDVmV/3hasHiWYECK3gNYELTcS5gophLxlKczT+iGvDnNT/avPlHyqfKO8qnPxJXPPj6B68/uEI90G9LtPUivvCZh+CMM5x5Cg7KQ/QNZYVyYgVRa8W0qD+A7MTLZkUoYe4ea0StCbkGa4sKts9MO6koWo6c3E/J/pNlwoopEWBgWPI04fepZZRn6FhDGkkbuapaQRnDqpJirBmVVCwKSqo+AVxQ0BiSrJRQl6RyOxNRtZaSA8qqcWMMAoZKxQmY5CQTPPDJkKWgZYSXDRbsKYa/4tVSukzKwV4irQb5QGb9oIeEdOdkqrJwIJIBFkYuAoABQ/iU9Gd4FogbZcG7iFtyRyLpCFhVCYQS/j6FZ/E+x566KB2JuBUCz7jH1WpVxtxJ7quOOZOQ0ykspjl3rNnzjvWcYXVV8ELDR19CYCCn4yY5NVJo03wit4+QYlt7CtHAMBzTYzhAqwFma4pEWya0MubLmEG+Erl/Sp2UfzLnpS4Pb9eBzo6CQbb9YyKBKaK8089zkrbd7W7SbXzq8+nF+VwcRzmNEcjWpIPnaYHUnkW3asQzQVIkSyaTqWQ6OVKlZFOiEOpIpVgx3kSgoi9RbEl3p6DFD6yRmYLYrS1R6MpDS3upkJsG1+cS/YJxRG8CmeV8cK+5VBACeLRguLzQ0gbn0VKhFQssohZmFNNdcJ4qFTon4ZEVWRS0eTifWiroe/E4NmEz/ikf2qCVh1f1+Hnnn0d56Tx/5yc7Kk+qas1zirDHtzP/mw7SQd31uusBVxDaw2WxAis5lWKlINVFAmaqtbt0UQrqabDW3tVB7/jd4fCGyOFI5DDXfDg8FDkcDh/+nbLzghV0sD29UL0fPhwZCh8un8Sn8JF34H6SjKv/tsGvzWcWx4VzzDStl2laNdbtVvVrM9abYmxbI5gsCDkMiE5IwYUlmaac3CQOU1JjUFVruodLejnw8iiLbcep1YLV0xaCzFxRiZvpf0mK+PXv73z9wfCZwmmhv6I1d37/64oo0f/avOJBjlf2Ysk02FlWOsef1Xc/WVvtvZdVzVXGEDh3DMHKGA7jGLy+84zCKw4TR00Dq5ezygYcVpG67Syy/I9GxWMd/j8e2a2c9M8Gp6iMcPb4JpDhceMLM10WTBa9TIt7W8A5bGaRgmY/qOXK2FvHjb0Fo4koTnIgWYyyGEQ0DJ9qieJpCxa3RMcoFEPpAwrJQk6OikVXE0vfua0FDdZO/P8j1ljE7Z8RrRoe+x+Q7qxYlgAS1KYn2uOkjtVYxpBLahKytYTJuWjFFrIFGUAvcMs9J8YlvMBLbMcclwd4pUbk670sgzNBPGQUrM0BptGjCC90JkeTH9c/YM2Ex4cDFymiCgCLCCqiPOCCZGcW0Cr4VDrO0ulzWrQ+axUQnbqC1tA2WrOGfqpor1D+Wzmu/PeaP9Jt81741fNz6U7lroff3vhCv1DJbu1nsEkg9NS67dvXKhpFs24bYMpTyl3zBwbm0R10+yOL5pc/VB8+yVVhFWDaKi0QzzYCLVIkzzxyoIBBpUA6gXUypNDcCi6GpUnMsenOG4nO7HJ7wpF2LO+VBWtRa7XlquME51LHBkZdZuqiUcr8TRqxZbFsAdUXkiEYsFEni76y8e77t2/fvW4LDEu586PbwhdpyEWj7Sf3t3UqbSY33sCB//k2ei0jyL5/u5QeN8FtddSX3h1fNB8/9yZ+rjyw/6RJaessH7k7juP/863KbUgTehk93tm2/yRR6w05ieHUGkIMHGbTDBS8B06ieWUE3mheUkbYmzLCk7Ov2TNErbdktQ416AvQsS+R+PzoCLzxeWl0hL2NjgDIPeuaPYMyLVUwXw1orHZyC8EqCUR5rmSyaGbCbDaBWIqOBjSkrNC8YAwzm8pkOg4uQbXm3AI8aivJtupqIcwa1LNEbSEBfGsBtFHkAkEMo7vsWMMzQV37YgDGbcPFMJwhx9zFcAVcahyIeMf/U7O0RDWczGwi0OzPUAQeZJRUrB5aOGxAJIJY7DRxoxlkWVWpTLiRcn78C9oFcxpxHbN3hHrB57kXcDAxgGtFeaqpwdbfHKFv0jeP0N+UDx8+JNyoPF1+n85VDnEuOodyrvL7aL9Uv0aCqTWSVpaf0QGVQMQ11fovdLaFEq6IKegxYEYxHm3gdLggBiuWJOQNaRTr7UF1CPCFoEUUcFHU8v8xPx+1iQFXwhgoWwpE0ZHhySm4AyOEMeJ6mnKeB3IoqL8FNtcj2hH4nJ7VqeFnhSzNoozgSwJHbWQUGQ01VvsqbmCVMg/f4ZMjvKTkR+EbMCmg3ivX4XvFR4Rvhm/1MVTGw4gNTNeDx2VE+eWJqEZyKVv0gz0m6kBxSRgu1ygzl64ssSGOszU6tsahF6tHCqbGFKsf0TN30YZpX7bogZ4o6G3AkipSNldX1bDCqka2BgIoPBYIEtkyAH+aC8EpAE03dfgtHAlRsuXAFvivVtacJuC+HztG99KFtOmnm06TXyjfUSKchT2CU6OW3hyjq18Bv4ls+qnyH8r3lG3HqEDfoEt/gWMgYHt1f9Q9xWhdX/FG7Uy7m6HjDQk0b5iLiGRpD3W6qBM9aFvKVu3q/G3LuI9zDz44ifv7sm0HP/kjd0NqOK38helbSl7eK7x+8fTpF38a2/uyhi2tGz1c1a38WG2JlURInFxKEHg0lIoNGLMnDU4wryDoTSU5jnHI1lJloaAZhbpo1uBD5loMBCcScssJuU0NAbW1YJi+IaBhtqapGUQ22qaWUfhR7zpd6AlGWcESVwnJsaVLWlZKlq36ihLt7KdTnrv5/WXhOUORHQ/sP3nl3KHw1of2nwQu/3m/8pPnbv7Dcko5NiGgY8l3j69ZHh6aG9l2cr+yZmhOeDs6lthI6TY2I6SyPoytdYpiVWIEC+2wUNtaKlrZUiYr5jhgCnxqBfpY9KuJrU1DBXZGbemZI88K0s1NoLY07gjaHrtYqG3G5CFYnAYW8NKLhRq2nqbWigqM5tSot2h3+s6sWGKxr1TFvawsaQKu5ghbjgfdB80jwQGvlE8QPvB5VPK4TIlTlyepLuXzSjdecQTvlCW2ZI/VEgFH3qNFeTERJ8w3Lj1D7ewaVwRhV7EUKOSC3YJDEmpzLBdWAUV2LYavquVXVKogoOULlPXK+gUHKwsHxxDPB68tUIbovgW0pPztKN5U7doqtGuat1E9oWJx0SC3SnqbjqB7IfikEY6sKiN/wqTqsb/qukLvuJWqmoqAj4WBcF3VmQWDevIxUV+0srL0zPs4/0EkIfAfqsE9ISkbS0UjW+ZmBHsma6BBNU6+khxKFut9rGy/CW5Zkyz8x9YI8rmCrx6OQXWNoDUb9YtRTOpaXWIkxFGxGSQ3k+aiolPAikmdi5JrN/yOk/4wa8GvDx5SfvM4L9le71sI5zT0ONwRyIPUteF3ZekPfT+4UlY+jCmnvCfojPJRDp/74TqZ2mJU1/y68sOjDyrvb/idmqvhgaYCrsF0VOmEQS0hUdCMLROkkoDqG4lAqnYIJwHp21KN5ejUaJhepQmWWOE3oJY2jH1RmNkgAQwQLrvE4NooOptobQa4vJ5o/h2+0cbQ680Ew0IupjyaWG6kOYlrHUHu/EkMP9eqS+W04wv9zpQqqTIXUIFtuFqkVCtaMeVeCCBaaPI2I48WeBfc0Zsd9erSg2GDyd6gJuCBwxCwd6Z7aNJL7SYaiFRxrKFyb4Du3KL8N/2qNDL41ae+OohvrVsf3rr1Yfpo9Q6f5/b3KM1gMcn6yiODgzSHD21VpLF7Z9klXKGcJEhTdYWykfEtx9Yp47pkdSlyQUMA7uiNcCZUlAPFhXb+RnpG0aMx5NlS1zL5yxkdz401KtLZGt6g4rbKOmnVk6hGRu5ns13L1mm5U3IOy/2wii6Qkqew7FU+Ibem5GklOcJW5iRY700p6Dqu5+1UNcf4gAgMZpgTm0IhVxJtiA8DIXBmwRhUoRujHZNLwwZzTy8+MFldK6oGPAqTu2DgWAOlclcF1zEuCzr8maC1Gj38zNE6DuHZxq8qPwvtAbbBSEaEQbdx/y8ah/suomxhMb4wFoIQ8FNQRYAGRx9jj9PIWYc32GF0XDBErS8FzIXx6kaSIGhVeLY4iGeGhTdgRpQ3ob1sYhoXjUgJK/3RvGN0sbIiiyW7wPtMVXKe0r4hne7o7i9fkji6bf9Jl6tSGcjtO77PE9x9dNUVu07u7+lVF6Gjjsc8hqBG/4GHopH0VLVcz26mJhoFRwKj4y/SOXPe7z8+h3rhOOdYv5KjByg5cBoRpQ/vHu9/f84c5Z3+1/rfn83NUnL8L0+TA8xBpYggNeia6VAn69g4eVVlVMp1q7qiast5Nd5bjfKqueXXNB9q/hVUtHtsbaohoSJBXHYqa9SkELosUabelO8spR8qtqV0Ka5KXzqo2BTbIF0K9sRGX9NK7LuA6bPUD5+KQuOHS5XvoH6iS5fyI+xZ/BjLK+S12H/0LtEjghbAlGB/yiMCAOE8O2PPoZ3K43OAvQ3sgxz4V3klzxMuXwYva0TJj9WU89BJsNciKcIFTDOgUYGRATxOXl2gTkFDQzc/5zmQeVTQ6lL2qp+gkdi2DVZWG43+ri6ByAP9ARa6YQj5U+gjR9RSX2RGC15oJC05a6+H80VJv4/UL1p8HSm2Wr8o+iei4AqJoj2UxjbAeo5wBtv0iWJ9Sxe2GQAkTshhW22i2NTGIql1paKnHSOpFJUHOVEU1L0i+FJRazSxM+b9Fe31TXhlKxWdbi87YzmRYkhVGcFSMYLR0yRmSABQFtNd3UkWQC12TuqBs8K0yn4SZ4Kenw2C/k+uOSL94z9OOnsDijL5f7tmLMGxXBPLC6EOnsryQiD5jVgXUN2zomlc+bJYjeGDFkX470Gbh1Ere+6cTFoggstXqgaCw3X9akoNa43VXTVUG0HUVBuuYNpHh3gyOj5vpfZPC7IcIV8i2JlACZExgqEIA0N6QDwqpGCl2MU6G1vgb0ZdFlXXkyN2kuuSiJSM6qYFLFeMdcahBAbyCj4jrivTaDm1ulgWwGQTIxN0meKlXIdYSo1+G2gGADLYAL8jmDl7yKExe6hu/wC+Jg5VGj/4SpoOvQK4f5qwPSKYaIyRYX/VDWLxDbXOBXNaDVg/ZgSPIIUOokNdx2ms5u60NZhrKWq0SAANNcSKWg3Lm2OBE4AXK9xvKFVXdfrtBD32CMFpwxH4K0c0Mspbb50mbylvsTlib4L0nvJIu/IXWtdOL6XrKAtFoE1Sj5X1AES1Mc0wW4tJMYKrV7zgtqWq1sb7WWsDM+Q/ARPBZiHkB1tbE0G85I0AePL5Q+ih8GKxkQVd/qEpwlL/gIYdKNBbq/2MVcK9OBRpiA5RhrsBFIG29/nG2yi1YBDe1PGcsZkBXA/sYwPxgngki16Gtr1sIF6E4z6LOkRco6AuTfD6YDAuwvpfoM5/2ntM6TJ7em7PWXcRvimqZf1sr1VOw/xnJXZjAI18NbNcGuaR4HYemAUt1rLitloLkt42tsXI+OScheHaosWMD1rAg0a3i+XdipzRipEvtuYC49UCNurVRtwKRhZVAdHhJGRFA9o6DEVjtyT0cDAIFFEugpPyG5yKfShj/ze5MJ4/Vn6D8dFYHlcgRtJVHYdRtcM1n+l2JRKFPZQ56JVRI46JKmXOgOhHg0PBcPEqHZHB4Uri1LUm3JiMiaAFZxIMIjhwmTRKlzY1TguCX6BlmsRWGjZqcVeWehYNMTKoVDCCp1VwNuTOKEMxGNDiogsH6IZORISRdBYjflhfwKrB8qPq0gsebMfoKxlVGX6KGkJCLZC9J8vWIZEDulW6VeAXd+K8Rlh5VqcahckCxDkhd5TkDgurJnWzzGqhg8e0vEZfO6EddVpaHLaE6tjSEbf1sOiob2oOshhIEgTtsIf4Qy24x4ncKQ5TTT1uqCGbrYe1xjqLzaX6KVmsZIpmNZ1ZPusCzJZ18U5X2IV1TjqXLqzV2XRYzhjVRW2RqKaq9w/8Qa//wyQ6MdHtuOOl6ZbpL93p7ErRiZNYs/Jq21QnNBv001+6w9GVUl7lIgyFcX+sNnYnzvcwfony6qTKd0M7Z6yAN/6s/ZfYbKo7MLnHrNnYnkYudQcmnDkXOG2HcQcm0c6o4jYj9bQ6YnWcswsT27EoS7U22skWEJ6zG1OSth2/9QvlGbPK3NFZyvHjt52zL1PyuHJ8Fnf0izRVnrHrtuO07Zx+byIon+D9mJn3Y8QobKW+pIJHm5jmr2Wrprlk0cjKHI2o6o0WNAg65vagodYn2Rh16MKZbKCQRLFgBqll7ipu08SwLC41dWDyyFLBxdUCNNQvAsjvKGK/is0+zA5azLOi/yKQU79gJqu/arjOyDBivCZS9dnVgJWgUv6Mz872E2ABY9XJQcj4qRqPIWNxAO/ZsYPq15XGBRFQflSPX40zs32OJLZfGa5P01U+VMGo+AmbGsmFIai/qwLWcZ/lznyWRw0w9lnKdoFSd9ZSt3Eqs2+o7PNExu/zRKr7PPGUbVSir2KuaZW9Sf7/oS46DnWdKWQaZeuEkTAV+IHICm+cUmGXhpzKjIu9Vvqo4q4bSLEJ+/j/iLx045DX58CuELDkIU6jFZqZ1J0XcdmqiMtf+Xd+xFXdb0tSR3n6rJFzn4VcZdx4ipkBtbDr1HjUdbYsukgH0yF2dY+PsRmqT7C949REkA7tvFkEg5T7nD3b+JQYPHfftiLrV2xk5LMqgn+PdWYU+nlWf8xj/bGx/piYZR/fH5Or2p/a8/VnfHj+3P58+0zs5rM9EpLj4zfj+4R5zytZnxIlrLv2sB2R1OwnatumUrGJ7UHSZMNUugWjkyj+uIFAE+CGw7yxtq6NmamI+LRBMLfGO1JqbVmqOpbW847Fxcriseod/3loCivlqxX0wYD1c8fJrfzymkiju74+c0Gj+2XROmMgHF685KuHas87dP74oT6L2Bhsagy0trdNywU8dkd7ZtKkhZunTTuTsmBreNWcBagrm8jyWgA5VKEDXvPRt1mC6O1znsWkEjwrsN0GcZdB+rbiUz/B8l7VfBnm5KzECTKJ1HawiJcJdD83tilbTRJj5hgXRtWQsvltNGhLRYM2dp6iPJzDbw/SxYMgBo4TMWmkcgmC8Ue41LCYdBmVAOKlsYtKXlHViaCy3Jir7bRGQmYajQgfW7Zwt3G3bbH8XHltyyOPbFFe09yhPD9UfpC7Yoh2/0kc+vrXh0Tmz5C19KTuAW0zKHgD7h9po1nepmbvMPlrW0s7Xj927HW66WNKPqb3vE4TyrHXfykQJbeX5mhu7+iyHoH0jD6+l75IX9yrvFipSQBtVcknNpAw2U5QNtwsWNhUwhC6L1XZqC6IMUJW82hEzizogkkgYBMjoAYVGior/GiTutGFP6lmhDGn35zAckhAB00YDMWwaDAMZzyXY1un0TBLYxrO4wenRBUL+3m2V4dWrdYcq2XK9Et0rNBCzXxKSiXxiVJXfaqfZir7iJw+z7g96B2q4/aoK8e9bJRw7VYLg21qvVGjG/dt1KGf5XZVh2LyIMQ38Ll/NpjM5w+CZUP/Yfel8/S7mZB/8HsYYYt+3i9upBb6/EXKvsP/8FdnKB/RF/AptjdeRe40oNu9LP6vHxfx1luBCryWVGoxUIR5MD1J4hCjcRrEXY9YGQOmawC37ZvzzJrTiDlYXQP+Q/yg4KaGyvF9c+YqUiWeWJUbN8uhYozdlMBELylwtZWlJoazfoee5yfO/tpxuSIeaJgmiIlslV1SixqhGgVgOsFXRT5+/E2NwPYnqSAgMclWt/ApdEDjPG7pwAr0grlUz8a+mZv7+zfPRI5Tz/o29qRyiB5OEQzvY5AaX+Wxs7G9ZHCvUZE4SD/zqNT6aFoqaulYUIIf22NSrSwQ1FwOAPOCoAPDoDfWmK02dT2GbMqNA4tZrMhvpv5ohDn80J3TmObhydYtZbJlK88qCFiUCcgGfw9vhT/+YUrO8vccIDPziGrRCzXOJMv56FXBEU7IzlJRcGJnBeysU/UYakrFGrZFVg0AHSZOLmdVnCpoDNwCH/HQ8ZhMXS+AzEvb6OO0jVU8Eqw15TD8TBm/SjDdMMWV4o9+PsOwCcbpOMLipXWsx0sYDjaxPVvVdQCc2mWgo4m5CyZ1m1bAXm7MjmtUsddYWTE6KThMIq5rkJ0iXMqeSjhbZAubdGyVUzCcQssZo5nKEbswtC83sPbobmVkBFO4I2oxCoLbfUNLZ0UfumT3UUwBS8waYn2Q2ucapHANm38OQ7cFXp9Sly2o2VGsAZ7i/NP7rAaYi8v6uMxZCgbtJ7iTJ6/9hB/meL2hUgGMFM6mbMGsXxfkUzpOapE+klroCDtwhEXRykSq1gVJDPtj5Kx3XDU4VavBAZnUlHBr10oG0QYkqqFqjZ5GLBhMqB9FARFIbS43lluMUp6r4grE+5iJUfIjFVTNPACJy4+UV1EfPYMNNGx/D+Q5DUNxDsD+VlLdv7gpUUm12ERXVufCGIorymQzG3VlRcqyttID7z7wAALWBx54l66FkcIRrh94AFrQMuMlrsiAw+i7WHOjEPUTgsSeY/VWGN8fOW98P4V1VyP4bzSv5gzgUs80JuBvbGW3Vewi5FndFsfqtli7nozm4S4V8pWaLg7zHaIAjfj6WCL/F8P1u2sAAHjaY2BkYGBgZjjy6Mpmh3h+m68M8hwMIHDua+N+ZJqDgQNCMYEoAHf+C1gAeNpjYGRg4GD4fwNEMjD8/w8kgSIogBUAY/wD9XjaNU+7FcJADJNNCvq87MMOvEdNxRyq0mWH1GEWegZhACz54nvnj+yTzvGDLQ8gKr8iEQDBRDKqgmqZMMq7/y5kd/UdCLFiC+ITZiivaz6fR0er6d054SksUgzmU3qFEXdFzV2Ez8Ywlc/m5Pilsr2VWitP/bGJ4wvDWi96P3Not+n2B3lgIYIAAAAmACYAJgAuAJIA3gFaAaABrgHkAjoC1AMkA4IEUAUiBXAFzgYgBw4H7ghiCPYJsgp4Cq4LCAs2C4AMHAyiDiAPnBBAEUYRvBMwE7wUHhRaFIYUshTcFVAVgBX6FpYXXBeSF/AYYBkCGYgaBhooGkoa1BryGyQbQBtsG5Yb+Bw2HLAdLh1yHYYdsh4cHjYeYB7iHyYf3iAgIFIgdCCaILIgxiDcIPAhBiEkIegiOCK6IxAjeCPQJDQkbCS8JVIlriYWJjomWCZ2JpQmoib0J3QnvCgGKJAopii8KQApIilMKcgqJCpiKpwqyCsUK2QrvCwWLFYsnizgLPYtBC0SLSAAAAABAAAAgAC9ABAAAAAAAAIAAQACABYAAAEAAYEAAAAAeNqNkr1OAkEUhc8CmmBhRSysNtFCTfiXqFBZiIkaQzRqZ7KaBYz8CStg4/PpC1j6EJZWfjMMwSCFmczOuWfOPffOzEpa0avi8hJJSZ/MCfaUIprgmFb15XBcZW+qSWjTKzu8pLF36/Ay/IfDSa173w6/aS2WcvhdudiOjlXTmXwNFaqvgR7UVYe4wOzC+AqIX1hboMiq/qpHoEhNUN0yESjUWPd8e0RT3RaaiNFTWVnGyI6MGuw+s5qKDfgWGSa3Q42QmYXtwabxD/SE0vi0YTZUdRWP/tTb5nTGw/Rq/LrW74K4QTVznr6KeOUYRVV0pVPd6By0KC89l7lI489prufu6Xe1mi5hJtGMbaKMnN+Q/bzdy2iPb4UTB3rE02jqsOae7nirjEp27uNR0MG/+j+BD21Xh+y24Qf2tjvcQYjr7CUnPVStm09eYLPycKb/Em9Zoq755u2fk2Pd/QGe+3ARAAB42m3S1XIUURRG4VmDBHd3d5k+Z5/uBIdAcHd3CRI0OBRPyCshmRWu6Kqp/6brm9qrutVujTy/frZS63/Pjz8/Wm3ajGEs4xhPDxOYyCQmM4WpTGM6M5jJLGYzh7nMYz4LWMgiFrOEpSxjOStYySpWs4a1rGM9G9jIJjazha1sYzsdKhKZoFDT0EsfO9jJLnazh73sYz8H6OcghxjgMEc4yjGOc4KTnOI0ZzjLOc5zgYtc4jJXuMo1rnODm9ziNne4yz3u84CHPOIxTxjkKc94zguGeMkrXvOGt7xjmPd84COf+MwXvvKN7z3DQ4OpDPT/3YGq03ErN7nZDbe4tdu4vW7fyCa9pJf0kl7SS3pJL+klvTTqVXqVXqVX6VV6lV6lV+lVepVe0kt6SS/pJb3U9bL3ZO/J3pO9J3tP7oy+X7uN2/3/0Amd0Amd0Amd0Amd+Od07wi7hF3CLmGXsEvYJewSdgm7hF3CLmGXsEvYJewSdomkl/SSXtLLelkv62W9rJf1sl7Wy3pZL/RCL/RCL/RCL/RCL/RCr+gVvaJX9Ipe0St6Ra/oFb1ar9ar9Wq9Wq/Wq/VqvVqv1mv0Gr1Gr9Frul7xuyp+V8XvqnTyb1UoNRm4Af+FsAGNAEuwCFBYsQEBjlmxRgYrWCGwEFlLsBRSWCGwgFkdsAYrXFhZsBQrAAAAAVLP0T8AAA==) format('woff'), - url('font/genericons-regular-webfont.ttf') format('truetype'), - url('font/genericons-regular-webfont.svg#genericonsregular') format('svg'); - font-weight: normal; - font-style: normal; -} - - -/** - * All Genericons - */ - -.genericon { - display: inline-block; - width: 16px; - height: 16px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - font-size: 16px; - line-height: 1; - font-family: 'Genericons'; - text-decoration: inherit; - font-weight: normal; - font-style: normal; - vertical-align: top; -} - -/** - * IE7 and IE6 hacks - */ - -.genericon { - *overflow: auto; - *zoom: 1; - *display: inline; -} - -/** - * Individual icons - */ - -/* Post formats */ -.genericon-standard:before { content: '\f100'; } -.genericon-aside:before { content: '\f101'; } -.genericon-image:before { content: '\f102'; } -.genericon-gallery:before { content: '\f103'; } -.genericon-video:before { content: '\f104'; } -.genericon-status:before { content: '\f105'; } -.genericon-quote:before { content: '\f106'; } -.genericon-link:before { content: '\f107'; } -.genericon-chat:before { content: '\f108'; } -.genericon-audio:before { content: '\f109'; } - -/* Social icons */ -.genericon-github:before { content: '\f200'; } -.genericon-dribbble:before { content: '\f201'; } -.genericon-twitter:before { content: '\f202'; } -.genericon-facebook:before { content: '\f203'; } -.genericon-facebook-alt:before { content: '\f204'; } -.genericon-wordpress:before { content: '\f205'; } -.genericon-googleplus:before { content: '\f206'; } -.genericon-linkedin:before { content: '\f207'; } -.genericon-linkedin-alt:before { content: '\f208'; } -.genericon-pinterest:before { content: '\f209'; } -.genericon-pinterest-alt:before { content: '\f210'; } -.genericon-flickr:before { content: '\f211'; } -.genericon-vimeo:before { content: '\f212'; } -.genericon-youtube:before { content: '\f213'; } -.genericon-tumblr:before { content: '\f214'; } -.genericon-instagram:before { content: '\f215'; } -.genericon-codepen:before { content: '\f216'; } -.genericon-polldaddy:before { content: '\f217'; } -.genericon-googleplus-alt:before { content: '\f218'; } -.genericon-path:before { content: '\f219'; } -.genericon-skype:before { content: '\f220'; } -.genericon-digg:before { content: '\f221'; } -.genericon-reddit:before { content: '\f222'; } -.genericon-stumbleupon:before { content: '\f223'; } -.genericon-pocket:before { content: '\f224'; } -.genericon-dropbox:before { content: '\f225'; } - -/* Meta icons */ -.genericon-comment:before { content: '\f300'; } -.genericon-category:before { content: '\f301'; } -.genericon-tag:before { content: '\f302'; } -.genericon-time:before { content: '\f303'; } -.genericon-user:before { content: '\f304'; } -.genericon-day:before { content: '\f305'; } -.genericon-week:before { content: '\f306'; } -.genericon-month:before { content: '\f307'; } -.genericon-pinned:before { content: '\f308'; } - -/* Other icons */ -.genericon-search:before { content: '\f400'; } -.genericon-unzoom:before { content: '\f401'; } -.genericon-zoom:before { content: '\f402'; } -.genericon-show:before { content: '\f403'; } -.genericon-hide:before { content: '\f404'; } -.genericon-close:before { content: '\f405'; } -.genericon-close-alt:before { content: '\f406'; } -.genericon-trash:before { content: '\f407'; } -.genericon-star:before { content: '\f408'; } -.genericon-home:before { content: '\f409'; } -.genericon-mail:before { content: '\f410'; } -.genericon-edit:before { content: '\f411'; } -.genericon-reply:before { content: '\f412'; } -.genericon-feed:before { content: '\f413'; } -.genericon-warning:before { content: '\f414'; } -.genericon-share:before { content: '\f415'; } -.genericon-attachment:before { content: '\f416'; } -.genericon-location:before { content: '\f417'; } -.genericon-checkmark:before { content: '\f418'; } -.genericon-menu:before { content: '\f419'; } -.genericon-refresh:before { content: '\f420'; } -.genericon-minimize:before { content: '\f421'; } -.genericon-maximize:before { content: '\f422'; } -.genericon-404:before { content: '\f423'; } -.genericon-spam:before { content: '\f424'; } -.genericon-summary:before { content: '\f425'; } -.genericon-cloud:before { content: '\f426'; } -.genericon-key:before { content: '\f427'; } -.genericon-dot:before { content: '\f428'; } -.genericon-next:before { content: '\f429'; } -.genericon-previous:before { content: '\f430'; } -.genericon-expand:before { content: '\f431'; } -.genericon-collapse:before { content: '\f432'; } -.genericon-dropdown:before { content: '\f433'; } -.genericon-dropdown-left:before { content: '\f434'; } -.genericon-top:before { content: '\f435'; } -.genericon-draggable:before { content: '\f436'; } -.genericon-phone:before { content: '\f437'; } -.genericon-send-to-phone:before { content: '\f438'; } -.genericon-plugin:before { content: '\f439'; } -.genericon-cloud-download:before { content: '\f440'; } -.genericon-cloud-upload:before { content: '\f441'; } -.genericon-external:before { content: '\f442'; } -.genericon-document:before { content: '\f443'; } -.genericon-book:before { content: '\f444'; } -.genericon-cog:before { content: '\f445'; } -.genericon-unapprove:before { content: '\f446'; } -.genericon-cart:before { content: '\f447'; } -.genericon-pause:before { content: '\f448'; } -.genericon-stop:before { content: '\f449'; } -.genericon-skip-back:before { content: '\f450'; } -.genericon-skip-ahead:before { content: '\f451'; } -.genericon-play:before { content: '\f452'; } -.genericon-tablet:before { content: '\f453'; } -.genericon-send-to-tablet:before { content: '\f454'; } -.genericon-info:before { content: '\f455'; } -.genericon-notice:before { content: '\f456'; } -.genericon-help:before { content: '\f457'; } -.genericon-fastforward:before { content: '\f458'; } -.genericon-rewind:before { content: '\f459'; } -.genericon-portfolio:before { content: '\f460'; } -.genericon-heart:before { content: '\f461'; } -.genericon-code:before { content: '\f462'; } -.genericon-subscribe:before { content: '\f463'; } -.genericon-unsubscribe:before { content: '\f464'; } -.genericon-subscribed:before { content: '\f465'; } -.genericon-reply-alt:before { content: '\f466'; } -.genericon-reply-single:before { content: '\f467'; } -.genericon-flag:before { content: '\f468'; } -.genericon-print:before { content: '\f469'; } -.genericon-lock:before { content: '\f470'; } -.genericon-bold:before { content: '\f471'; } -.genericon-italic:before { content: '\f472'; } -.genericon-picture:before { content: '\f473'; } -.genericon-fullscreen:before { content: '\f474'; } - -/* Generic shapes */ -.genericon-uparrow:before { content: '\f500'; } -.genericon-rightarrow:before { content: '\f501'; } -.genericon-downarrow:before { content: '\f502'; } -.genericon-leftarrow:before { content: '\f503'; } - - - - - diff --git a/sources/wordpress/wp-content/themes/twentythirteen/header.php b/sources/wordpress/wp-content/themes/twentythirteen/header.php deleted file mode 100644 index f61c28f..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/header.php +++ /dev/null @@ -1,51 +0,0 @@ - section and everything up till
        - * - * @package WordPress - * @subpackage Twenty_Thirteen - * @since Twenty Thirteen 1.0 - */ -?> - - - -> - - - - - <?php wp_title( '|', true, 'right' ); ?> - - - - - - -> -
        - - -
        diff --git a/sources/wordpress/wp-content/themes/twentythirteen/image.php b/sources/wordpress/wp-content/themes/twentythirteen/image.php deleted file mode 100644 index b2d86bf..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/image.php +++ /dev/null @@ -1,82 +0,0 @@ - - -
        -
        -
        > -
        -

        - - -
        - -
        - - -
        -
        - - - -
        - -
        - -
        -
        - - post_content ) ) : ?> -
        - - '' ) ); ?> -
        - - -
        -
        - - - -
        -
        - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line-2x.png b/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line-2x.png deleted file mode 100644 index 07f6c93..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line-light-2x.png b/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line-light-2x.png deleted file mode 100644 index 059d4ec..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line-light-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line-light.png b/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line-light.png deleted file mode 100644 index b7f82cd..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line-light.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line.png b/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line.png deleted file mode 100644 index 115b583..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/dotted-line.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/circle-thumbnail.png b/sources/wordpress/wp-content/themes/twentythirteen/images/headers/circle-thumbnail.png deleted file mode 100644 index 2f9344c..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/circle-thumbnail.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/circle.png b/sources/wordpress/wp-content/themes/twentythirteen/images/headers/circle.png deleted file mode 100644 index 0bd9401..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/circle.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/diamond-thumbnail.png b/sources/wordpress/wp-content/themes/twentythirteen/images/headers/diamond-thumbnail.png deleted file mode 100644 index 82777a0..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/diamond-thumbnail.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/diamond.png b/sources/wordpress/wp-content/themes/twentythirteen/images/headers/diamond.png deleted file mode 100644 index a14de61..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/diamond.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/star-thumbnail.png b/sources/wordpress/wp-content/themes/twentythirteen/images/headers/star-thumbnail.png deleted file mode 100644 index 693bb76..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/star-thumbnail.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/star.png b/sources/wordpress/wp-content/themes/twentythirteen/images/headers/star.png deleted file mode 100644 index 24ca626..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/headers/star.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/search-icon-2x.png b/sources/wordpress/wp-content/themes/twentythirteen/images/search-icon-2x.png deleted file mode 100644 index 02b63b8..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/search-icon-2x.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/images/search-icon.png b/sources/wordpress/wp-content/themes/twentythirteen/images/search-icon.png deleted file mode 100644 index 11d8dc8..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/images/search-icon.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/inc/back-compat.php b/sources/wordpress/wp-content/themes/twentythirteen/inc/back-compat.php deleted file mode 100644 index 329bcaa..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/inc/back-compat.php +++ /dev/null @@ -1,63 +0,0 @@ -

        %s

        ', $message ); -} - -/** - * Prevent the Theme Customizer from being loaded on WordPress versions prior to 3.6. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_customize() { - wp_die( sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ), '', array( - 'back_link' => true, - ) ); -} -add_action( 'load-customize.php', 'twentythirteen_customize' ); - -/** - * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_preview() { - if ( isset( $_GET['preview'] ) ) { - wp_die( sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ) ); - } -} -add_action( 'template_redirect', 'twentythirteen_preview' ); diff --git a/sources/wordpress/wp-content/themes/twentythirteen/inc/custom-header.php b/sources/wordpress/wp-content/themes/twentythirteen/inc/custom-header.php deleted file mode 100644 index 58b6c55..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/inc/custom-header.php +++ /dev/null @@ -1,227 +0,0 @@ - '220e10', - 'default-image' => '%s/images/headers/circle.png', - - // Set height and width, with a maximum value for the width. - 'height' => 230, - 'width' => 1600, - - // Callbacks for styling the header and the admin preview. - 'wp-head-callback' => 'twentythirteen_header_style', - 'admin-head-callback' => 'twentythirteen_admin_header_style', - 'admin-preview-callback' => 'twentythirteen_admin_header_image', - ); - - add_theme_support( 'custom-header', $args ); - - /* - * Default custom headers packaged with the theme. - * %s is a placeholder for the theme template directory URI. - */ - register_default_headers( array( - 'circle' => array( - 'url' => '%s/images/headers/circle.png', - 'thumbnail_url' => '%s/images/headers/circle-thumbnail.png', - 'description' => _x( 'Circle', 'header image description', 'twentythirteen' ) - ), - 'diamond' => array( - 'url' => '%s/images/headers/diamond.png', - 'thumbnail_url' => '%s/images/headers/diamond-thumbnail.png', - 'description' => _x( 'Diamond', 'header image description', 'twentythirteen' ) - ), - 'star' => array( - 'url' => '%s/images/headers/star.png', - 'thumbnail_url' => '%s/images/headers/star-thumbnail.png', - 'description' => _x( 'Star', 'header image description', 'twentythirteen' ) - ), - ) ); -} -add_action( 'after_setup_theme', 'twentythirteen_custom_header_setup', 11 ); - -/** - * Load our special font CSS files. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_custom_header_fonts() { - // Add Source Sans Pro and Bitter fonts. - wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null ); - - // Add Genericons font. - wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.03' ); -} -add_action( 'admin_print_styles-appearance_page_custom-header', 'twentythirteen_custom_header_fonts' ); - -/** - * Style the header text displayed on the blog. - * - * get_header_textcolor() options: Hide text (returns 'blank'), or any hex value. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_header_style() { - $header_image = get_header_image(); - $text_color = get_header_textcolor(); - - // If no custom options for text are set, let's bail. - if ( empty( $header_image ) && $text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) - return; - - // If we get this far, we have custom styles. - ?> - - Header admin panel. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_admin_header_style() { - $header_image = get_header_image(); -?> - - Header admin panel. - * - * This callback overrides the default markup displayed there. - * - * @since Twenty Thirteen 1.0 - */ -function twentythirteen_admin_header_image() { - ?> - - - -
        -
        - - - - - - - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/js/functions.js b/sources/wordpress/wp-content/themes/twentythirteen/js/functions.js deleted file mode 100644 index 526c15d..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/js/functions.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * Functionality specific to Twenty Thirteen. - * - * Provides helper functions to enhance the theme experience. - */ - -( function( $ ) { - var body = $( 'body' ), - _window = $( window ); - - /** - * Adds a top margin to the footer if the sidebar widget area is higher - * than the rest of the page, to help the footer always visually clear - * the sidebar. - */ - $( function() { - if ( body.is( '.sidebar' ) ) { - var sidebar = $( '#secondary .widget-area' ), - secondary = ( 0 === sidebar.length ) ? -40 : sidebar.height(), - margin = $( '#tertiary .widget-area' ).height() - $( '#content' ).height() - secondary; - - if ( margin > 0 && _window.innerWidth() > 999 ) { - $( '#colophon' ).css( 'margin-top', margin + 'px' ); - } - } - } ); - - /** - * Enables menu toggle for small screens. - */ - ( function() { - var nav = $( '#site-navigation' ), button, menu; - if ( ! nav ) { - return; - } - - button = nav.find( '.menu-toggle' ); - if ( ! button ) { - return; - } - - // Hide button if menu is missing or empty. - menu = nav.find( '.nav-menu' ); - if ( ! menu || ! menu.children().length ) { - button.hide(); - return; - } - - button.on( 'click.twentythirteen', function() { - nav.toggleClass( 'toggled-on' ); - } ); - - // Fix sub-menus for touch devices. - if ( 'ontouchstart' in window ) { - menu.find( '.menu-item-has-children > a' ).on( 'touchstart.twentythirteen', function( e ) { - var el = $( this ).parent( 'li' ); - - if ( ! el.hasClass( 'focus' ) ) { - e.preventDefault(); - el.toggleClass( 'focus' ); - el.siblings( '.focus' ).removeClass( 'focus' ); - } - } ); - } - - // Better focus for hidden submenu items for accessibility. - menu.find( 'a' ).on( 'focus.twentythirteen blur.twentythirteen', function() { - $( this ).parents( '.menu-item, .page_item' ).toggleClass( 'focus' ); - } ); - } )(); - - /** - * Makes "skip to content" link work correctly in IE9 and Chrome for better - * accessibility. - * - * @link http://www.nczonline.net/blog/2013/01/15/fixing-skip-to-content-links/ - */ - _window.on( 'hashchange.twentythirteen', function() { - var element = document.getElementById( location.hash.substring( 1 ) ); - - if ( element ) { - if ( ! /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) { - element.tabIndex = -1; - } - - element.focus(); - } - } ); - - /** - * Arranges footer widgets vertically. - */ - if ( $.isFunction( $.fn.masonry ) ) { - var columnWidth = body.is( '.sidebar' ) ? 228 : 245; - - $( '#secondary .widget-area' ).masonry( { - itemSelector: '.widget', - columnWidth: columnWidth, - gutterWidth: 20, - isRTL: body.is( '.rtl' ) - } ); - } -} )( jQuery ); \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/js/html5.js b/sources/wordpress/wp-content/themes/twentythirteen/js/html5.js deleted file mode 100644 index 6168aac..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/js/html5.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); -a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; -c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| -"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); -if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d\n" -"Language-Team: LANGUAGE \n" - -#: 404.php:16 -msgid "Not Found" -msgstr "" - -#: 404.php:21 -msgid "This is somewhat embarrassing, isn’t it?" -msgstr "" - -#: 404.php:22 -msgid "It looks like nothing was found at this location. Maybe try a search?" -msgstr "" - -#: archive.php:29 -msgid "Daily Archives: %s" -msgstr "" - -#: archive.php:31 -msgid "Monthly Archives: %s" -msgstr "" - -#: archive.php:31 -msgctxt "monthly archives date format" -msgid "F Y" -msgstr "" - -#: archive.php:33 -msgid "Yearly Archives: %s" -msgstr "" - -#: archive.php:33 -msgctxt "yearly archives date format" -msgid "Y" -msgstr "" - -#: archive.php:35 -msgid "Archives" -msgstr "" - -#: author-bio.php:26 -msgid "About %s" -msgstr "" - -#: author-bio.php:30 -msgid "View all posts by %s " -msgstr "" - -#: author.php:31 -msgid "All posts by %s" -msgstr "" - -#: category.php:19 -msgid "Category Archives: %s" -msgstr "" - -#: comments.php:25 -msgctxt "comments title" -msgid "One thought on “%2$s”" -msgid_plural "%1$s thoughts on “%2$s”" -msgstr[0] "" -msgstr[1] "" - -#: comments.php:45 -msgid "Comment navigation" -msgstr "" - -#: comments.php:46 -msgid "← Older Comments" -msgstr "" - -#: comments.php:47 -msgid "Newer Comments →" -msgstr "" - -#: comments.php:52 -msgid "Comments are closed." -msgstr "" - -#: content-aside.php:13 content-audio.php:24 content-gallery.php:24 -#: content-image.php:23 content-link.php:24 content-quote.php:13 -#: content-status.php:13 content-video.php:23 content.php:41 -msgid "Continue reading " -msgstr "" - -#: content-aside.php:14 content-audio.php:25 content-chat.php:24 -#: content-gallery.php:25 content-image.php:24 content-link.php:25 -#: content-quote.php:14 content-status.php:14 content-video.php:24 -#: content.php:42 image.php:70 page.php:35 -msgid "Pages:" -msgstr "" - -#: content-aside.php:20 content-aside.php:28 content-audio.php:31 -#: content-chat.php:29 content-gallery.php:39 content-image.php:35 -#: content-link.php:19 content-quote.php:25 content-status.php:19 -#: content-video.php:35 content.php:31 image.php:44 page.php:39 -msgid "Edit" -msgstr "" - -#: content-gallery.php:36 content-image.php:32 content-quote.php:22 -#: content-video.php:32 content.php:49 -msgid "Leave a comment" -msgstr "" - -#: content-gallery.php:36 content-image.php:32 content-quote.php:22 -#: content-video.php:32 content.php:49 -msgid "One comment so far" -msgstr "" - -#: content-gallery.php:36 content-image.php:32 content-quote.php:22 -#: content-video.php:32 content.php:49 -msgid "View all % comments" -msgstr "" - -#: content-none.php:12 -msgid "Nothing Found" -msgstr "" - -#: content-none.php:18 -msgid "" -"Ready to publish your first post? Get started here." -msgstr "" - -#: content-none.php:22 -msgid "" -"Sorry, but nothing matched your search terms. Please try again with " -"different keywords." -msgstr "" - -#: content-none.php:27 -msgid "" -"It seems we can’t find what you’re looking for. Perhaps " -"searching can help." -msgstr "" - -#. #-#-#-#-# twentythirteen.pot (Twenty Thirteen 1.3) #-#-#-#-# -#. Author URI of the plugin/theme -#: footer.php:19 -msgid "http://wordpress.org/" -msgstr "" - -#: footer.php:19 -msgid "Semantic Personal Publishing Platform" -msgstr "" - -#: footer.php:19 -msgid "Proudly powered by %s" -msgstr "" - -#: functions.php:97 -msgid "Navigation Menu" -msgstr "" - -#. Translators: If there are characters in your language that are not -#. * supported by Source Sans Pro, translate this to 'off'. Do not translate -#. * into your own language. -#: functions.php:128 -msgctxt "Source Sans Pro font: on or off" -msgid "on" -msgstr "" - -#. Translators: If there are characters in your language that are not -#. * supported by Bitter, translate this to 'off'. Do not translate into your -#. * own language. -#: functions.php:134 -msgctxt "Bitter font: on or off" -msgid "on" -msgstr "" - -#: functions.php:218 -msgid "Page %s" -msgstr "" - -#: functions.php:231 -msgid "Main Widget Area" -msgstr "" - -#: functions.php:233 -msgid "Appears in the footer section of the site." -msgstr "" - -#: functions.php:241 -msgid "Secondary Widget Area" -msgstr "" - -#: functions.php:243 -msgid "Appears on posts and pages in the sidebar." -msgstr "" - -#: functions.php:266 -msgid "Posts navigation" -msgstr "" - -#: functions.php:270 -msgid " Older posts" -msgstr "" - -#: functions.php:274 -msgid "Newer posts " -msgstr "" - -#: functions.php:300 -msgid "Post navigation" -msgstr "" - -#: functions.php:303 -msgctxt "Previous post link" -msgid " %title" -msgstr "" - -#: functions.php:304 -msgctxt "Next post link" -msgid "%title " -msgstr "" - -#: functions.php:322 -msgid "Sticky" -msgstr "" - -#. Translators: used between list items, there is a space after the comma. -#: functions.php:328 functions.php:334 -msgid ", " -msgstr "" - -#: functions.php:343 -msgid "View all posts by %s" -msgstr "" - -#: functions.php:363 -msgctxt "1: post format name. 2: date" -msgid "%1$s on %2$s" -msgstr "" - -#: functions.php:369 -msgid "Permalink to %s" -msgstr "" - -#: header.php:43 -msgid "Menu" -msgstr "" - -#: header.php:44 -msgid "Skip to content" -msgstr "" - -#: image.php:22 -msgid "" -"Published on in %5$s" -msgstr "" - -#: image.php:38 -msgid "Link to full-size image" -msgstr "" - -#: image.php:39 -msgid "Full resolution" -msgstr "" - -#: image.php:51 -msgid " Previous" -msgstr "" - -#: image.php:52 -msgid "Next " -msgstr "" - -#: inc/back-compat.php:37 inc/back-compat.php:47 inc/back-compat.php:60 -msgid "" -"Twenty Thirteen requires at least WordPress version 3.6. You are running " -"version %s. Please upgrade and try again." -msgstr "" - -#: inc/custom-header.php:49 -msgctxt "header image description" -msgid "Circle" -msgstr "" - -#: inc/custom-header.php:54 -msgctxt "header image description" -msgid "Diamond" -msgstr "" - -#: inc/custom-header.php:59 -msgctxt "header image description" -msgid "Star" -msgstr "" - -#: search.php:18 -msgid "Search Results for: %s" -msgstr "" - -#: tag.php:21 -msgid "Tag Archives: %s" -msgstr "" - -#: taxonomy-post_format.php:23 -msgid "%s Archives" -msgstr "" - -#. Theme Name of the plugin/theme -msgid "Twenty Thirteen" -msgstr "" - -#. Theme URI of the plugin/theme -msgid "http://wordpress.org/themes/twentythirteen" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"The 2013 theme for WordPress takes us back to the blog, featuring a full " -"range of post formats, each displayed beautifully in their own unique way. " -"Design details abound, starting with a vibrant color scheme and matching " -"header images, beautiful typography and icons, and a flexible layout that " -"looks great on any device, big or small." -msgstr "" - -#. Author of the plugin/theme -msgid "the WordPress team" -msgstr "" diff --git a/sources/wordpress/wp-content/themes/twentythirteen/page.php b/sources/wordpress/wp-content/themes/twentythirteen/page.php deleted file mode 100644 index 5545367..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/page.php +++ /dev/null @@ -1,50 +0,0 @@ - - -
        -
        - - - - -
        > -
        - -
        - -
        - - -

        -
        - -
        - - '', 'link_before' => '', 'link_after' => '' ) ); ?> -
        - -
        - ', '' ); ?> -
        -
        - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/rtl.css b/sources/wordpress/wp-content/themes/twentythirteen/rtl.css deleted file mode 100644 index 5428630..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/rtl.css +++ /dev/null @@ -1,766 +0,0 @@ -/* -Theme Name: Twenty Thirteen -Description: Adds support for languages written in a Right To Left (RTL) direction. -It's easy, just a matter of overwriting all the horizontal positioning attributes -of your CSS stylesheet in a separate stylesheet file named rtl.css. - -See http://codex.wordpress.org/Right_to_Left_Language_Support -*/ - -/** - * Table of Contents: - * - * 1.0 - Reset - * 4.0 - Header - * 4.1 - Site Header - * 4.2 - Navigation - * 5.0 - Content - * 5.2 - Entry Meta - * 5.4 - Galleries - * 5.5 - Post Formats - * 5.6 - Attachments - * 5.7 - Post/Paging Navigation - * 5.8 - Author Bio - * 5.9 - Archives - * 5.10 - Search Results/No posts - * 5.12 - Comments - * 6.0 - Sidebar - * 6.1 - Widgets - * 7.0 - Footer - * 8.0 - Media Queries - * 9.0 - Print - * ---------------------------------------------------------------------------- - */ - - -/** - * 1.0 Reset - * ---------------------------------------------------------------------------- - */ - -body { - direction: rtl; - unicode-bidi: embed; -} - -a { - display: inline-block; -} - -blockquote blockquote { - margin-left: 0; - margin-right: 24px; -} - -menu, -ol, -ul { - padding: 0 40px 0 0; -} - -caption, -th, -td { - text-align: right; -} - -td { - padding-left: 10px; - padding-right: 0; -} - -.assistive-text:focus { - left: auto; - right: 5px; -} - - -/** - * 4.0 Header - * ---------------------------------------------------------------------------- - */ - -/** - * 4.1 Site Header - * ---------------------------------------------------------------------------- - */ - -.site-header > a:first-child { - display: inherit; -} - -.site-description { - font-style: normal; -} - - -/** - * 4.2 Navigation - * ---------------------------------------------------------------------------- - */ - -/* Navbar */ -ul.nav-menu, -div.nav-menu > ul { - margin: 0 -20px 0 0; - padding: 0 0 0 40px; -} - -.nav-menu .sub-menu, -.nav-menu .children { - float: right; - left: auto; - right: -2px; -} - -.nav-menu .sub-menu ul, -.nav-menu .children ul { - border-left: 2px solid #f7f5e7; - border-right: 0; - left: auto; - right: 100%; -} - -.main-navigation .search-form { - left: 0; - right: auto; -} - -.site-header .search-field { - background-position: 98% center; - padding: 0 34px 0 0; -} - -.nav-menu .current_page_item > a, -.nav-menu .current_page_ancestor > a, -.nav-menu .current-menu-item > a, -.nav-menu .current-menu-ancestor > a { - font-style: normal; -} - -.menu-toggle { - padding-left: 0; - padding-right: 20px; -} - - -/** - * 5.0 Content - * ---------------------------------------------------------------------------- - */ - -.sidebar .entry-header, -.sidebar .entry-content, -.sidebar .entry-summary, -.sidebar .entry-meta { - padding-left: 376px; - padding-right: 60px; -} - - -/** - * 5.2 Entry Meta - * ---------------------------------------------------------------------------- - */ - -.entry-meta > span { - margin-left: 20px; - margin-right: auto; -} - -.entry-meta > span:last-child { - margin-left: 0; - margin-right: auto; -} - -.featured-post:before { - margin-left: 2px; - margin-right: auto; -} - -.entry-meta .date a:before { - margin-left: 2px; -} - -.comments-link a:before { - margin-left: 2px; - margin-right: auto; -} - -.tags-links a:first-child:before { - margin-left: 2px; -} - -.edit-link a:before { - margin-left: 2px; -} - -.page-links .page-links-title { - margin-left: 20px; - margin-right: auto; -} - -/** - * 5.4 Galleries - * ---------------------------------------------------------------------------- - */ - -.gallery { - margin-left: auto; - margin-right: -4px; -} - -.gallery-item { - float: right; - margin: 0 0 4px 4px; -} - -.gallery-item a { - display: inline; -} - - -/** - * 5.5 Post Formats - * ---------------------------------------------------------------------------- - */ - -.entry-content a { - display: inline; -} - -.format-aside cite:before { - content: normal; - margin-right: auto; -} - -.format-aside cite:after { - content: "\2014"; - margin-left: 5px; -} - -.format-audio .entry-content:before { - float: right; - -webkit-transform: scaleX(-1); - -moz-transform: scaleX(-1); - -ms-transform: scaleX(-1); - -o-transform: scaleX(-1); - transform: scaleX(-1); -} - -.format-audio .audio-content { - background-position: right top; - float: left; - padding-left: 0; - padding-right: 35px; -} - -.format-chat .entry-meta .date a:before { - margin-left: 4px; - margin-right: auto; -} - -.format-image .wp-caption-text { - text-align: right; -} - -.format-link .entry-title { - margin-left: 20px; - margin-right: auto; -} - -.format-status .entry-content, -.format-status .entry-meta { - padding-left: 0; - padding-right: 35px; -} - -.sidebar .format-status .entry-content, -.sidebar .format-status .entry-meta { - padding-left: 376px; - padding-right: 95px; -} - -.format-status .entry-content:before, -.format-status .entry-meta:before { - left: auto; - right: 10px; -} - -.sidebar .format-status .entry-content:before, -.sidebar .format-status .entry-meta:before { - left: auto; - right: 70px; -} - -.format-status .entry-content p:first-child:before { - left: auto; - right: 4px; -} - -.sidebar .format-status .entry-content p:first-child:before { - left: auto; - right: 64px; -} - -.format-quote blockquote { - padding-left: 0; - padding-right: 75px; -} - -.format-quote blockquote:before { - content: '\201D'; - padding-left: 25px; - padding-right: 0; - left: auto; - right: -15px; -} - - -/** - * 5.6 Attachments - * ---------------------------------------------------------------------------- - */ - -.attachment .entry-title { - float: right; -} - -.attachment .entry-title:before { - margin-left: 10px; - margin-right: auto; -} - -.attachment .entry-meta { - float: left; -} - -.image-navigation .nav-previous { - left: auto; - right: 0; -} - -.image-navigation .nav-next { - left: 0; - right: auto; -} - -.attachment .entry-caption { - text-align: right; -} - - -/** - * 5.7 Post/Paging Navigation - * ---------------------------------------------------------------------------- - */ - -.navigation .nav-previous { - float: right; -} - -.navigation .nav-next { - float: left; -} - -.sidebar .paging-navigation .nav-links, -.sidebar .post-navigation .nav-links { - padding-left: 376px; - padding-right: 60px; -} - -.paging-navigation .nav-previous .meta-nav { - margin-left: 10px; - margin-right: auto; -} - -.paging-navigation .nav-next .meta-nav { - margin-left: auto; - margin-right: 10px; -} - -.post-navigation a[rel="next"] { - float: left; - text-align: left; -} - - -/** - * 5.8 Author Bio - * ---------------------------------------------------------------------------- - */ - -.author-info { - text-align: right; /* gallery & video post formats */ -} - -.author.sidebar .author-info { - padding-left: 376px; - padding-right: 60px; -} - -.author-avatar .avatar { - float: right; - margin: 0 0 30px 30px; -} - -.author-link { - margin-left: auto; - margin-right: 2px; -} - - -/** - * 5.9 Archives - * ---------------------------------------------------------------------------- - */ - -.sidebar .archive-meta { - padding-left: 316px; - padding-right: 0; -} - - -/** - * 5.10 Search Results/No posts - * ---------------------------------------------------------------------------- - */ - -.sidebar .page-content { - padding-left: 376px; - padding-right: 60px; -} - -/** - * 5.12 Comments - * ---------------------------------------------------------------------------- - */ - -.sidebar .comments-title, -.sidebar .comment-list, -.sidebar .comment-reply-title, -.sidebar .comment-navigation, -.sidebar .comment-respond .comment-form { - padding-left: 376px; - padding-right: 60px; -} - -.comment-list .children { - margin-left: auto; - margin-right: 20px; -} - -.comment-author { - float: right; - margin-left: 50px; - margin-right: auto; -} - -.comment-list .edit-link { - margin-left: auto; - margin-right: 20px; -} - -.comment-metadata, -.comment-content, -.comment-list .reply, -.comment-awaiting-moderation { - float: left; -} - -.comment-awaiting-moderation:before { - margin-left: 5px; - margin-right: auto; -} - -.comment-reply-link:before, -.comment-reply-login:before { - margin-left: 3px; - margin-right: auto; - -webkit-transform: scaleX(-1); - -moz-transform: scaleX(-1); - -ms-transform: scaleX(-1); - -o-transform: scaleX(-1); - transform: scaleX(-1); -} - -.comment-reply-title small a { - float: left; -} - -.comment-form [for="author"], -.comment-form [for="email"], -.comment-form [for="url"], -.comment-form [for="comment"] { - float: right; -} - -.form-allowed-tags code { - margin-left: auto; - margin-right: 3px; -} - -.sidebar .no-comments { - padding-left: 376px; - padding-right: 60px; -} - - -/** - * 6.0 Sidebar - * ---------------------------------------------------------------------------- - */ - -.site-main .widget-area { - float: left; -} - -.widget-area a { - max-width: 100%; -} - - -/** - * 6.1 Widgets - * ---------------------------------------------------------------------------- - */ - -.widget .widget-title { - font-style: normal; -} - -.widget li > ul, -.widget li > ol { - margin-left: auto; - margin-right: 20px; -} - -/** - * 7.0 Footer - * ---------------------------------------------------------------------------- - */ - -.site-footer .widget-area, -.sidebar .site-footer { - text-align: right; -} -.sidebar .site-footer .widget-area { - left: auto; - right: -158px; -} - -.site-footer .widget { - float: right; - margin-left: 20px; - margin-right: auto; -} - -.sidebar .site-footer .widget:nth-of-type(4), -.sidebar .site-footer .widget:nth-of-type(3) { - margin-left: 0; - margin-right: auto; -} - - -/** - * 8.0 Media Queries - * ---------------------------------------------------------------------------- - */ - -@media (max-width: 1069px) { - ul.nav-menu, - div.nav-menu > ul { - margin-left: auto; - margin-right: 0; - } - - .error404 .page-header, - .sidebar .format-image .entry-content img.size-full, - .sidebar .format-image .wp-caption:first-child .wp-caption-text { - margin-right: auto; - } - - .main-navigation .search-form { - left: 20px; - right: auto; - } - - .site-main .widget-area { - margin-left: 60px; - margin-right: auto; - } -} - -@media (max-width: 999px) { - .sidebar .entry-header, - .sidebar .entry-content, - .sidebar .entry-summary, - .sidebar .entry-meta, - .sidebar .comment-list, - .sidebar .comment-reply-title, - .sidebar .comment-navigation, - .sidebar .comment-respond .comment-form, - .sidebar .featured-gallery, - .sidebar .post-navigation .nav-links, - .author.sidebar .author-info, - .sidebar .format-image .entry-content { - max-width: 604px; - padding-left: 0; - padding-right: 0; - } - - .site-main .widget-area { - float: none; - margin-left: auto; - } - - .attachment .entry-meta { - float: right; - text-align: right; - } - - .sidebar .format-status .entry-content, - .sidebar .format-status .entry-meta { - padding-left: 0; - padding-right: 35px; - } - - .sidebar .format-status .entry-content:before, - .sidebar .format-status .entry-meta:before { - left: auto; - right: 10px; - } - - .sidebar .format-status .entry-content p:first-child:before { - left: auto; - right: 4px; - } - - .sidebar .site-footer .widget-area { - left: auto; - right: 0; - } - - .sidebar .paging-navigation .nav-links { - padding: 0 60px; - } -} - -@media (max-width: 767px) { - .format-image .entry-content img:first-of-type, - .format-image .wp-caption:first-child .wp-caption-text { - margin-right: auto; - } -} - -@media (max-width: 643px) { - .sidebar .entry-header, - .sidebar .entry-content, - .sidebar .entry-summary, - .sidebar .entry-meta, - .sidebar .comment-list, - .sidebar .comment-navigation, - .sidebar .featured-gallery, - .sidebar .post-navigation .nav-links, - .sidebar .format-image .entry-content { - padding-left: 20px; - padding-right: 20px; - } - - #content .format-status .entry-content, - #content .format-status .entry-met { - padding-left: 0; - padding-right: 35px; - } - - .menu-toggle:after { - padding-left: 0; - padding-right: 8px; - } - - .toggled-on .nav-menu, - .toggled-on .nav-menu > ul { - margin-left: auto; - margin-right: 0; - } - - .toggled-on .nav-menu li > ul { - margin-left: auto; - margin-right: 20px; - right: auto; - } - - #content .featured-gallery { - padding-left: 0; - padding-right: 24px; - } - - .gallery-columns-1 .gallery-item { - margin-left: 0; - margin-right: auto; - } - - .comment-author { - margin-left: 30px; - margin-right: auto; - } - - .format-audio .audio-content { - background: none; - float: none; - padding-left: 0; - padding-right: 0; - } - - .gallery-columns-3 .gallery-item:nth-of-type(3n) { - margin-left: 4px; - margin-right: auto; - } -} - -@media (max-width: 359px) { - .gallery { - margin-left: auto; - margin-right: 0; - } - - .gallery .gallery-item:nth-of-type(even) { - margin-left: 0; - margin-right: auto; - } - - .gallery .gallery-item, - .gallery.gallery-columns-3 .gallery-item:nth-of-type(even), - .gallery-columns-3 .gallery-item:nth-of-type(3n), - .gallery-columns-5 .gallery-item:nth-of-type(5n), - .gallery-columns-7 .gallery-item:nth-of-type(7n), - .gallery-columns-9 .gallery-item:nth-of-type(9n) { - margin-left: 4px; - margin-right: auto; - } - - .comment-author .avatar { - margin-left: 5px; - margin-right: auto; - } -} - - -/** - * 9.0 Print - * ---------------------------------------------------------------------------- - */ - -@media print { - .entry-content img.alignleft, - .entry-content .wp-caption.alignleft { - margin-left: auto; - margin-right: 0; - } - - .entry-content img.alignright, - .entry-content .wp-caption.alignright { - margin-left: 0; - margin-right: auto; - } -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/screenshot.png b/sources/wordpress/wp-content/themes/twentythirteen/screenshot.png deleted file mode 100644 index e53088b..0000000 Binary files a/sources/wordpress/wp-content/themes/twentythirteen/screenshot.png and /dev/null differ diff --git a/sources/wordpress/wp-content/themes/twentythirteen/search.php b/sources/wordpress/wp-content/themes/twentythirteen/search.php deleted file mode 100644 index 1519c13..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/search.php +++ /dev/null @@ -1,36 +0,0 @@ - - -
        -
        - - - - - - - - - - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/sidebar-main.php b/sources/wordpress/wp-content/themes/twentythirteen/sidebar-main.php deleted file mode 100644 index 3c700ad..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/sidebar-main.php +++ /dev/null @@ -1,18 +0,0 @@ - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/sidebar.php b/sources/wordpress/wp-content/themes/twentythirteen/sidebar.php deleted file mode 100644 index cb5cf98..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/sidebar.php +++ /dev/null @@ -1,22 +0,0 @@ - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/single.php b/sources/wordpress/wp-content/themes/twentythirteen/single.php deleted file mode 100644 index 1694a0d..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/single.php +++ /dev/null @@ -1,28 +0,0 @@ - - -
        -
        - - - - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/style.css b/sources/wordpress/wp-content/themes/twentythirteen/style.css deleted file mode 100644 index 1c5ad6e..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/style.css +++ /dev/null @@ -1,3212 +0,0 @@ -/* -Theme Name: Twenty Thirteen -Theme URI: http://wordpress.org/themes/twentythirteen -Author: the WordPress team -Author URI: http://wordpress.org/ -Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small. -Version: 1.3 -License: GNU General Public License v2 or later -License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready -Text Domain: twentythirteen - -This theme, like WordPress, is licensed under the GPL. -Use it to make something cool, have fun, and share what you've learned with others. -*/ - - -/** - * Table of Contents: - * - * 1.0 - Reset - * 2.0 - Repeatable Patterns - * 3.0 - Basic Structure - * 4.0 - Header - * 4.1 - Site Header - * 4.2 - Navigation - * 5.0 - Content - * 5.1 - Entry Header - * 5.2 - Entry Meta - * 5.3 - Entry Content - * 5.4 - Galleries - * 5.5 - Post Formats - * 5.6 - Attachments - * 5.7 - Post/Paging Navigation - * 5.8 - Author Bio - * 5.9 - Archives - * 5.10 - Search Results/No posts - * 5.11 - 404 - * 5.12 - Comments - * 5.13 - Multisite - * 6.0 - Sidebar - * 6.1 - Widgets - * 7.0 - Footer - * 8.0 - Media Queries - * 9.0 - Print - * ---------------------------------------------------------------------------- - */ - - -/** - * 1.0 Reset - * - * Modified from Normalize.css to provide cross-browser consistency and a smart - * default styling of HTML elements. - * - * @see http://git.io/normalize - * ---------------------------------------------------------------------------- - */ - -* { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -article, -aside, -details, -figcaption, -figure, -footer, -header, -nav, -section, -summary { - display: block; -} - -audio, -canvas, -video { - display: inline-block; -} - -audio:not([controls]) { - display: none; - height: 0; -} - -[hidden] { - display: none; -} - -html { - font-size: 100%; - overflow-y: scroll; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} - -html, -button, -input, -select, -textarea { - font-family: "Source Sans Pro", Helvetica, sans-serif; -} - -body { - color: #141412; - line-height: 1.5; - margin: 0; -} - -a { - color: #ca3c08; - text-decoration: none; -} - -a:visited { - color: #ac0404; -} - -a:focus { - outline: thin dotted; -} - -a:active, -a:hover { - color: #ea9629; - outline: 0; -} - -a:hover { - text-decoration: underline; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - clear: both; - font-family: Bitter, Georgia, serif; - line-height: 1.3; -} - -h1 { - font-size: 48px; - margin: 33px 0; -} - -h2 { - font-size: 30px; - margin: 25px 0; -} - -h3 { - font-size: 22px; - margin: 22px 0; -} - -h4 { - font-size: 20px; - margin: 25px 0; -} - -h5 { - font-size: 18px; - margin: 30px 0; -} - -h6 { - font-size: 16px; - margin: 36px 0; -} - -address { - font-style: italic; - margin: 0 0 24px; -} - -abbr[title] { - border-bottom: 1px dotted; -} - -b, -strong { - font-weight: bold; -} - -dfn { - font-style: italic; -} - -mark { - background: #ff0; - color: #000; -} - -p { - margin: 0 0 24px; -} - -code, -kbd, -pre, -samp { - font-family: monospace, serif; - font-size: 14px; - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; -} - -pre { - background: #f5f5f5; - color: #666; - font-family: monospace; - font-size: 14px; - margin: 20px 0; - overflow: auto; - padding: 20px; - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -blockquote, -q { - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; - quotes: none; -} - -blockquote:before, -blockquote:after, -q:before, -q:after { - content: ""; - content: none; -} - -blockquote { - font-size: 18px; - font-style: italic; - font-weight: 300; - margin: 24px 40px; -} - -blockquote blockquote { - margin-right: 0; -} - -blockquote cite, -blockquote small { - font-size: 14px; - font-weight: normal; - text-transform: uppercase; -} - -blockquote em, -blockquote i { - font-style: normal; - font-weight: 300; -} - -blockquote strong, -blockquote b { - font-weight: 400; -} - -small { - font-size: smaller; -} - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -dl { - margin: 0 20px; -} - -dt { - font-weight: bold; -} - -dd { - margin: 0 0 20px; -} - -menu, -ol, -ul { - margin: 16px 0; - padding: 0 0 0 40px; -} - -ul { - list-style-type: square; -} - -nav ul, -nav ol { - list-style: none; - list-style-image: none; -} - -li > ul, -li > ol { - margin: 0; -} - -img { - -ms-interpolation-mode: bicubic; - border: 0; - vertical-align: middle; -} - -svg:not(:root) { - overflow: hidden; -} - -figure { - margin: 0; -} - -form { - margin: 0; -} - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -legend { - border: 0; - padding: 0; - white-space: normal; -} - -button, -input, -select, -textarea { - font-size: 100%; - margin: 0; - max-width: 100%; - vertical-align: baseline; -} - -button, -input { - line-height: normal; -} - -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} - -button[disabled], -input[disabled] { - cursor: default; -} - -input[type="checkbox"], -input[type="radio"] { - padding: 0; -} - -input[type="search"] { - -webkit-appearance: textfield; - padding-right: 2px; /* Don't cut off the webkit search cancel button */ - width: 270px; -} - -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -textarea { - overflow: auto; - vertical-align: top; -} - -table { - border-bottom: 1px solid #ededed; - border-collapse: collapse; - border-spacing: 0; - font-size: 14px; - line-height: 2; - margin: 0 0 20px; - width: 100%; -} - -caption, -th, -td { - font-weight: normal; - text-align: left; -} - -caption { - font-size: 16px; - margin: 20px 0; -} - -th { - font-weight: bold; - text-transform: uppercase; -} - -td { - border-top: 1px solid #ededed; - padding: 6px 10px 6px 0; -} - -del { - color: #333; -} - -ins { - background: #fff9c0; - text-decoration: none; -} - -hr { - background: url(images/dotted-line.png) repeat center top; - background-size: 4px 4px; - border: 0; - height: 1px; - margin: 0 0 24px; -} - - -/** - * 2.0 Repeatable Patterns - * ---------------------------------------------------------------------------- - */ - -.genericon:before, -.menu-toggle:after, -.featured-post:before, -.date a:before, -.entry-meta .author a:before, -.format-audio .entry-content:before, -.comments-link a:before, -.tags-links a:first-child:before, -.categories-links a:first-child:before, -.edit-link a:before, -.attachment .entry-title:before, -.attachment-meta:before, -.attachment-meta a:before, -.comment-awaiting-moderation:before, -.comment-reply-link:before, -.comment-reply-login:before, -.comment-reply-title small a:before, -.bypostauthor > .comment-body .fn:before, -.error404 .page-title:before { - -webkit-font-smoothing: antialiased; - display: inline-block; - font: normal 16px/1 Genericons; - vertical-align: text-bottom; -} - -/* Clearing floats */ -.clear:after, -.attachment .entry-header:after, -.site-footer .widget-area:after, -.entry-content:after, -.page-content:after, -.navigation:after, -.nav-links:after, -.gallery:after, -.comment-form-author:after, -.comment-form-email:after, -.comment-form-url:after, -.comment-body:after { - clear: both; -} - -.clear:before, -.clear:after, -.attachment .entry-header:before, -.attachment .entry-header:after, -.site-footer .widget-area:before, -.site-footer .widget-area:after, -.entry-content:before, -.entry-content:after, -.page-content:before, -.page-content:after, -.navigation:before, -.navigation:after, -.nav-links:before, -.nav-links:after, -.gallery:before, -.gallery:after, -.comment-form-author:before, -.comment-form-author:after, -.comment-form-email:before, -.comment-form-email:after, -.comment-form-url:before, -.comment-form-url:after, -.comment-body:before, -.comment-body:after { - content: ""; - display: table; -} - -/* Assistive text */ -.screen-reader-text { - clip: rect(1px, 1px, 1px, 1px); - position: absolute !important; -} - -.screen-reader-text:focus { - background-color: #f1f1f1; - border-radius: 3px; - box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); - clip: auto !important; - color: #21759b; - display: block; - font-size: 14px; - font-weight: bold; - height: auto; - line-height: normal; - padding: 15px 23px 14px; - position: absolute; - left: 5px; - top: 5px; - text-decoration: none; - width: auto; - z-index: 100000; /* Above WP toolbar */ -} - -/* Form fields, general styles first. */ -button, -input, -textarea { - border: 2px solid #d4d0ba; - font-family: inherit; - padding: 5px; -} - -input, -textarea { - color: #141412; -} - -input:focus, -textarea:focus { - border: 2px solid #c3c0ab; - outline: 0; -} - -/* Buttons */ -button, -input[type="submit"], -input[type="button"], -input[type="reset"] { - background: #e05d22; /* Old browsers */ - background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */ - background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */ - border: none; - border-bottom: 3px solid #b93207; - border-radius: 2px; - color: #fff; - display: inline-block; - padding: 11px 24px 10px; - text-decoration: none; -} - -button:hover, -button:focus, -input[type="submit"]:hover, -input[type="button"]:hover, -input[type="reset"]:hover, -input[type="submit"]:focus, -input[type="button"]:focus, -input[type="reset"]:focus { - background: #ed6a31; /* Old browsers */ - background: -webkit-linear-gradient(top, #ed6a31 0%, #e55627 100%); /* Chrome 10+, Safari 5.1+ */ - background: linear-gradient(to bottom, #ed6a31 0%, #e55627 100%); /* W3C */ - outline: none; -} - -button:active, -input[type="submit"]:active, -input[type="button"]:active, -input[type="reset"]:active { - background: #d94412; /* Old browsers */ - background: -webkit-linear-gradient(top, #d94412 0%, #e05d22 100%); /* Chrome 10+, Safari 5.1+ */ - background: linear-gradient(to bottom, #d94412 0%, #e05d22 100%); /* W3C */ - border: none; - border-top: 3px solid #b93207; - padding: 10px 24px 11px; -} - -.post-password-required input[type="submit"] { - padding: 7px 24px 4px; - vertical-align: bottom; -} - -.post-password-required input[type="submit"]:active { - padding: 5px 24px 6px; -} - -/* Placeholder text color -- selectors need to be separate to work. */ -::-webkit-input-placeholder { - color: #7d7b6d; -} - -:-moz-placeholder { - color: #7d7b6d; -} - -::-moz-placeholder { - color: #7d7b6d; -} - -:-ms-input-placeholder { - color: #7d7b6d; -} - -/* - * Responsive images - * - * Fluid images for posts, comments, and widgets - */ -.entry-content img, -.entry-summary img, -.comment-content img, -.widget img, -.wp-caption { - max-width: 100%; -} - -/* Make sure images with WordPress-added height and width attributes are scaled correctly. */ -.entry-content img, -.entry-summary img, -.comment-content img[height], -img[class*="align"], -img[class*="wp-image-"], -img[class*="attachment-"] { - height: auto; -} - -img.size-full, -img.size-large, -img.wp-post-image { - height: auto; - max-width: 100%; -} - -/* Make sure videos and embeds fit their containers. */ -embed, -iframe, -object, -video { - max-width: 100%; -} - -/* Override the Twitter embed fixed width. */ -.entry-content .twitter-tweet-rendered { - max-width: 100% !important; -} - -/* Images */ -.alignleft { - float: left; -} - -.alignright { - float: right; -} - -.aligncenter { - display: block; - margin-left: auto; - margin-right: auto; -} - -figure.wp-caption.alignleft, -img.alignleft { - margin: 5px 20px 5px 0; -} - -.wp-caption.alignleft { - margin: 5px 10px 5px 0; -} - -figure.wp-caption.alignright, -img.alignright { - margin: 5px 0 5px 20px; -} - -.wp-caption.alignright { - margin: 5px 0 5px 10px; -} - -img.aligncenter { - margin: 5px auto; -} - -img.alignnone { - margin: 5px 0; -} - -.wp-caption .wp-caption-text, -.entry-caption, -.gallery-caption { - color: #220e10; - font-size: 18px; - font-style: italic; - font-weight: 300; - margin: 0 0 24px; -} - -div.wp-caption.alignright img[class*="wp-image-"] { - float: right; -} - -div.wp-caption.alignright .wp-caption-text { - padding-left: 10px; -} - -img.wp-smiley, -.rsswidget img { - border: 0; - border-radius: 0; - box-shadow: none; - margin-bottom: 0; - margin-top: 0; - padding: 0; -} - -.wp-caption.alignleft + ul, -.wp-caption.alignleft + ol { - list-style-position: inside; -} - - -/** - * 3.0 Basic Structure - * ---------------------------------------------------------------------------- - */ - -.site { - background-color: #fff; - border-left: 1px solid #f2f2f2; - border-right: 1px solid #f2f2f2; - margin: 0 auto; - max-width: 1600px; - width: 100%; -} - -.site-main { - position: relative; -} - -.site-main .sidebar-container { - height: 0; - position: absolute; - top: 40px; - width: 100%; - z-index: 1; -} - -.site-main .sidebar-inner { - margin: 0 auto; - max-width: 1040px; -} - - -/** - * 4.0 Header - * ---------------------------------------------------------------------------- - */ - -/** - * 4.1 Site Header - * ---------------------------------------------------------------------------- - */ - -.site-header { - position: relative; -} - -.site-header .home-link { - color: #141412; - display: block; - margin: 0 auto; - max-width: 1080px; - min-height: 230px; - padding: 0 20px; - text-decoration: none; - width: 100%; -} - -.site-header .site-title:hover { - text-decoration: underline; -} - -.site-title { - font-size: 60px; - font-weight: bold; - line-height: 1; - margin: 0; - padding: 58px 0 10px; -} - -.site-description { - font: 300 italic 24px "Source Sans Pro", Helvetica, sans-serif; - margin: 0; -} - - -/** - * 4.2 Navigation - * ---------------------------------------------------------------------------- - */ - -.main-navigation { - clear: both; - margin: 0 auto; - max-width: 1080px; - min-height: 45px; - position: relative; -} - -ul.nav-menu, -div.nav-menu > ul { - margin: 0; - padding: 0 40px 0 0; -} - -.nav-menu li { - display: inline-block; - position: relative; -} - -.nav-menu li a { - color: #141412; - display: block; - font-size: 15px; - line-height: 1; - padding: 15px 20px; - text-decoration: none; -} - -.nav-menu li:hover > a, -.nav-menu li a:hover, -.nav-menu li:focus > a, -.nav-menu li a:focus { - background-color: #220e10; - color: #fff; -} - -.nav-menu .sub-menu, -.nav-menu .children { - background-color: #220e10; - border: 2px solid #f7f5e7; - border-top: 0; - padding: 0; - position: absolute; - left: -2px; - z-index: 99999; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(1px, 1px, 1px, 1px); -} - -.nav-menu .sub-menu ul, -.nav-menu .children ul { - border-left: 0; - left: 100%; - top: 0; -} - -ul.nav-menu ul a, -.nav-menu ul ul a { - color: #fff; - margin: 0; - width: 200px; -} - -ul.nav-menu ul a:hover, -.nav-menu ul ul a:hover, -ul.nav-menu ul a:focus, -.nav-menu ul ul a:focus { - background-color: #db572f; -} - -ul.nav-menu li:hover > ul, -.nav-menu ul li:hover > ul, -ul.nav-menu .focus > ul, -.nav-menu .focus > ul { - clip: inherit; - overflow: inherit; - height: inherit; - width: inherit; -} - -.nav-menu .current_page_item > a, -.nav-menu .current_page_ancestor > a, -.nav-menu .current-menu-item > a, -.nav-menu .current-menu-ancestor > a { - color: #bc360a; - font-style: italic; -} - -.menu-toggle { - display: none; -} - -/* Navbar */ -.navbar { - background-color: #f7f5e7; - margin: 0 auto; - max-width: 1600px; - width: 100%; -} - -.site-header .search-form { - position: absolute; - right: 20px; - top: 1px; -} - -.site-header .search-field { - background-color: transparent; - background-image: url(images/search-icon.png); - background-position: 5px center; - background-repeat: no-repeat; - background-size: 24px 24px; - border: none; - cursor: pointer; - height: 37px; - margin: 3px 0; - padding: 0 0 0 34px; - position: relative; - -webkit-transition: width 400ms ease, background 400ms ease; - transition: width 400ms ease, background 400ms ease; - width: 1px; -} - -.site-header .search-field:focus { - background-color: #fff; - border: 2px solid #c3c0ab; - cursor: text; - outline: 0; - width: 230px; -} - - -/** - * 5.0 Content - * ---------------------------------------------------------------------------- - */ - -.hentry { - padding: 40px 0; -} - -.entry-header, -.entry-content, -.entry-summary, -.entry-meta { - margin: 0 auto; - max-width: 604px; - width: 100%; -} - -.sidebar .entry-header, -.sidebar .entry-content, -.sidebar .entry-summary, -.sidebar .entry-meta { - max-width: 1040px; - padding: 0 376px 0 60px; -} - - -/** - * 5.1 Entry Header - * ---------------------------------------------------------------------------- - */ - -.sidebar .entry-header .entry-meta { - padding: 0; -} - -.entry-thumbnail img { - display: block; - margin: 0 auto 10px; -} - -.entry-header { - margin-bottom: 30px; -} - -.entry-title { - font-weight: normal; - margin: 0 0 5px; -} - -.entry-title a { - color: #141412; -} - -.entry-title a:hover { - color: #ea9629; -} - - -/** - * 5.2 Entry Meta - * ---------------------------------------------------------------------------- - */ - -.entry-meta { - clear: both; - font-size: 14px; -} - -.entry-meta a { - color: #bc360a; -} - -.entry-meta a:hover { - color: #bc360a; -} - -.entry-meta > span { - margin-right: 20px; -} - -.entry-meta > span:last-child { - margin-right: 0; -} - -.featured-post:before { - content: "\f308"; - margin-right: 2px; -} - -.entry-meta .date a:before { - content: "\f303"; -} - -.comments-link a:before { - content: "\f300"; - margin-right: 2px; - position: relative; - top: -1px; -} - -.entry-meta .author a:before { - content: "\f304"; - position: relative; - top: -1px; -} - -.categories-links a:first-child:before { - content: "\f301"; -} - -.tags-links a:first-child:before { - content: "\f302"; - position: relative; - top: -1px; -} - -.edit-link a:before { - content: "\f411"; - position: relative; - top: -1px; -} - -.single-author .entry-meta .author, -.sticky.format-standard .entry-meta .date, -.sticky.format-audio .entry-meta .date, -.sticky.format-chat .entry-meta .date, -.sticky.format-image .entry-meta .date, -.sticky.format-gallery .entry-meta .date { - display: none; -} - - -/** - * 5.3 Entry Content - * ---------------------------------------------------------------------------- - */ - -.entry-content { - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - word-wrap: break-word; -} - -.entry-content a, -.comment-content a { - color: #bc360a; -} - -.entry-content a:hover, -.comment-content a:hover { - color: #ea9629; -} - -.entry-content blockquote { - font-size: 24px; -} - -.entry-content blockquote cite, -.entry-content blockquote small { - font-size: 16px; -} - -.entry-content img.alignleft, -.entry-content .wp-caption.alignleft { - margin-left: -60px; -} - -.entry-content img.alignright, -.entry-content .wp-caption.alignright { - margin-right: -60px; -} - -footer.entry-meta { - margin-top: 24px; -} - -.format-standard footer.entry-meta { - margin-top: 0; -} - -/* Page links */ -.page-links { - clear: both; - font-size: 16px; - font-style: italic; - font-weight: normal; - line-height: 2.2; - margin: 20px 0; - text-transform: uppercase; -} - -.page-links a, -.page-links > span { - background: #fff; - border: 1px solid #fff; - padding: 5px 10px; - text-decoration: none; -} - -.format-status .entry-content .page-links a, -.format-gallery .entry-content .page-links a, -.format-chat .entry-content .page-links a, -.format-quote .entry-content .page-links a, -.page-links a { - background: #e63f2a; - border: 1px solid #e63f2a; - color: #fff; -} - -.format-gallery .entry-content .page-links a:hover, -.format-audio .entry-content .page-links a:hover, -.format-status .entry-content .page-links a:hover, -.format-video .entry-content .page-links a:hover, -.format-chat .entry-content .page-links a:hover, -.format-quote .entry-content .page-links a:hover, -.page-links a:hover { - background: #fff; - color: #e63f2a; -} - -.format-status .entry-content .page-links > span, -.format-quote .entry-content .page-links > span { - background: none; -} - -.page-links .page-links-title { - background: transparent; - border: none; - margin-right: 20px; - padding: 0; -} - -/* Mediaelements */ -.hentry .mejs-mediaelement, -.hentry .mejs-container .mejs-controls { - background: #220e10; -} - -.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { - background: #fff; -} - -.hentry .mejs-controls .mejs-time-rail .mejs-time-current { - background: #ea9629; -} - -.hentry .mejs-controls .mejs-time-rail .mejs-time-total, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { - background: #595959; -} - -.hentry .mejs-controls .mejs-time-rail span, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { - border-radius: 0; -} - - -/** - * 5.4 Galleries - * ---------------------------------------------------------------------------- - */ - -.gallery { - margin-bottom: 20px; - margin-left: -4px; -} - -.gallery-item { - float: left; - margin: 0 4px 4px 0; - overflow: hidden; - position: relative; -} - -.gallery-columns-1.gallery-size-medium, -.gallery-columns-1.gallery-size-thumbnail, -.gallery-columns-2.gallery-size-thumbnail, -.gallery-columns-3.gallery-size-thumbnail { - display: table; - margin: 0 auto 20px; -} - -.gallery-columns-1 .gallery-item, -.gallery-columns-2 .gallery-item, -.gallery-columns-3 .gallery-item { - text-align: center; -} - -.gallery-columns-4 .gallery-item { - max-width: 23%; - max-width: -webkit-calc(25% - 4px); - max-width: calc(25% - 4px); -} - -.gallery-columns-5 .gallery-item { - max-width: 19%; - max-width: -webkit-calc(20% - 4px); - max-width: calc(20% - 4px); -} - -.gallery-columns-6 .gallery-item { - max-width: 15%; - max-width: -webkit-calc(16.7% - 4px); - max-width: calc(16.7% - 4px); -} - -.gallery-columns-7 .gallery-item { - max-width: 13%; - max-width: -webkit-calc(14.28% - 4px); - max-width: calc(14.28% - 4px); -} - -.gallery-columns-8 .gallery-item { - max-width: 11%; - max-width: -webkit-calc(12.5% - 4px); - max-width: calc(12.5% - 4px); -} - -.gallery-columns-9 .gallery-item { - max-width: 9%; - max-width: -webkit-calc(11.1% - 4px); - max-width: calc(11.1% - 4px); -} - -.gallery-columns-1 .gallery-item:nth-of-type(1n), -.gallery-columns-2 .gallery-item:nth-of-type(2n), -.gallery-columns-3 .gallery-item:nth-of-type(3n), -.gallery-columns-4 .gallery-item:nth-of-type(4n), -.gallery-columns-5 .gallery-item:nth-of-type(5n), -.gallery-columns-6 .gallery-item:nth-of-type(6n), -.gallery-columns-7 .gallery-item:nth-of-type(7n), -.gallery-columns-8 .gallery-item:nth-of-type(8n), -.gallery-columns-9 .gallery-item:nth-of-type(9n) { - margin-right: 0; -} - -.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1), -.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1), -.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1), -.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) { - clear: left; -} - -.gallery-caption { - background-color: rgba(0, 0, 0, 0.7); - box-sizing: border-box; - color: #fff; - font-size: 14px; - line-height: 1.3; - margin: 0; - max-height: 50%; - opacity: 0; - padding: 2px 8px; - position: absolute; - bottom: 0; - left: 0; - text-align: left; - -webkit-transition: opacity 400ms ease; - transition: opacity 400ms ease; - width: 100%; -} - -.gallery-caption:before { - box-shadow: 0 -10px 15px #000 inset; - content: ""; - height: 100%; - min-height: 49px; - position: absolute; - left: 0; - top: 0; - width: 100%; -} - -.gallery-item:hover .gallery-caption { - opacity: 1; -} - -.gallery-columns-7 .gallery-caption, -.gallery-columns-8 .gallery-caption, -.gallery-columns-9 .gallery-caption { - display: none; -} - - -/** - * 5.5 Post Formats - * ---------------------------------------------------------------------------- - */ - -/* Aside */ -.format-aside { - background-color: #f7f5e7; -} - -.blog .format-aside:first-of-type, -.single .format-aside:first-of-type, -.format-aside + .format-aside, -.format-aside + .format-link, -.format-link + .format-aside { - box-shadow: inset 0 2px 2px rgba(173, 165, 105, 0.2); -} - -.format-aside .entry-meta { - margin-top: 0; -} - -.format-aside blockquote { - font-size: 100%; - font-weight: normal; -} - -.format-aside cite { - font-size: 100%; - text-transform: none; -} - -.format-aside cite:before { - content: "\2014"; - margin-right: 5px; -} - -/* Audio */ -.format-audio { - background-color: #db572f; -} - -.format-audio .entry-title { - font-size: 28px; - font-weight: bold; -} - -.format-audio .entry-content:before { - content: "\f109"; - float: left; - font-size: 64px; - position: relative; - top: 4px; -} - -.format-audio .entry-content a, -.format-audio .entry-meta a, -.format-audio .entry-content a:hover, -.format-audio .entry-meta a:hover { - color: #fbfaf3; -} - -.format-audio .audio-content { - background: url(images/dotted-line.png) repeat-y left top; - background-size: 4px 4px; - float: right; - padding-left: 35px; - width: 80%; - width: -webkit-calc(100% - 85px); - width: calc(100% - 85px); -} - -.format-audio .wp-audio-shortcode { - height: 30px !important; /* Override mediaelement.js style */ - margin: 20px 0; - max-width: 400px !important; /* Override mediaelement.js style */ -} - -.format-audio audio { - max-width: 100% !important; /* Avoid player width overflow. */ -} - -/* Chat */ -.format-chat { - background-color: #eadaa6; -} - -.format-chat .entry-title { - font-size: 28px; - font-weight: bold; -} - -.format-chat .entry-meta a, -.format-chat .entry-content a { - color: #722d19; -} - -.format-chat .entry-meta .date a:before { - content: "\f108"; - margin-right: 2px; -} - -.format-chat .entry-meta .author { - display: none; -} - -.format-chat .chat { - margin: 0; -} - -.format-chat .chat .chat-timestamp { - color: #722d19; - float: right; - font-size: 12px; - font-weight: normal; - margin: 5px 10px 0; -} - -.format-chat .chat .fn { - font-style: normal; -} - -/* Gallery */ -.format-gallery { - background-color: #fbca3c; -} - -.format-gallery .entry-header { - margin-bottom: 15px; -} - -.format-gallery .entry-title { - font-size: 50px; - font-weight: 400; - margin: 0; -} - -.format-gallery .entry-meta a, -.format-gallery .entry-content a { - color: #722d19; -} - -/* Image */ -.format-image .entry-title { - font-size: 28px; - font-weight: bold; -} - -.format-image .categories-links, -.format-image .tags-links { - display: none; -} - -/* Link */ -.format-link { - background-color: #f7f5e7; -} - -.blog .format-link:first-of-type, -.single .format-link:first-of-type { - box-shadow: inset 0 2px 2px rgba(173, 165, 105, 0.2); -} - -.format-link .entry-header, -.format-link .entry-content p:last-child { - margin-bottom: 0; -} - -.format-link .entry-title { - color: #ca3c08; - display: inline; - font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif; - margin-right: 20px; -} - -.format-link .entry-title a { - color: #bc360a; -} - -.format-link div.entry-meta { - display: inline; -} - -/* Quote */ -.format-quote { - background-color: #210d10; -} - -.format-quote .entry-content, -.format-quote .entry-meta { - color: #f7f5e7; -} - -.format-quote .entry-content blockquote { - font-size: 28px; - margin: 0; -} - -.format-quote .entry-content a, -.format-quote .entry-meta a, -.format-quote .linked { - color: #e63f2a; -} - -.format-quote .entry-content cite a { - border-bottom: 1px dotted #fff; - color: #fff; -} - -.format-quote .entry-content cite a:hover { - text-decoration: none; -} - -.format-quote blockquote small, -.format-quote blockquote cite { - display: block; - font-size: 16px; -} - -.format-quote blockquote { - font-style: italic; - font-weight: 300; - padding-left: 75px; - position: relative; -} - -.format-quote blockquote:before { - content: '\201C'; - font-size: 140px; - font-weight: 400; - line-height: .8; - padding-right: 25px; - position: absolute; - left: -15px; - top: -3px; -} - -.format-quote .entry-meta .author { - display: none; -} - -/* Status */ -.format-status { - background-color: #722d19; - padding: 0; -} - -.format-status .entry-content, -.format-status .entry-meta { - padding-left: 35px; - position: relative; -} - -.format-status .entry-content a { - color: #eadaa6; -} - -.format-status .entry-meta a { - color: #f7f5e7; -} - -.sidebar .format-status .entry-content, -.sidebar .format-status .entry-meta { - padding-left: 95px; -} - -.format-status .entry-content:before, -.format-status .entry-meta:before { - background: url(images/dotted-line.png) repeat-y left bottom; - background-size: 4px 4px; - content: ""; - display: block; - height: 100%; - position: absolute; - left: 10px; - top: 0; - width: 1px; -} - -.sidebar .format-status .entry-content:before, -.sidebar .format-status .entry-meta:before { - left: 70px; -} - -.format-status .categories-links, -.format-status .tags-links { - display: none; -} - -/* Ensures the dots in the dot background are in lockstep. */ -.format-status .entry-meta:before { - background-position: left top; -} - -.format-status .entry-content { - color: #f7f5e7; - font-size: 24px; - font-style: italic; - font-weight: 300; - padding-bottom: 30px; - padding-top: 40px; - position: relative; -} - -.format-status .entry-content p:first-child:before { - background-color: rgba(0, 0, 0, 0.65); - content: ""; - height: 3px; - margin-top: 13px; - position: absolute; - left: 4px; - width: 13px; -} - -.sidebar .format-status .entry-content > p:first-child:before { - left: 64px; -} - -.format-status .entry-content p:last-child { - margin-bottom: 0; -} - -.format-status .entry-meta { - margin-top: 0; - padding-bottom: 40px; -} - -.format-status .entry-meta .date a:before { - content: "\f105"; -} - -/* Video */ -.format-video { - background-color: #db572f; -} - -.format-video .entry-content a, -.format-video .entry-meta a, -.format-video .entry-content a:hover, -.format-video .entry-meta a:hover { - color: #fbfaf3; -} - -.format-video .entry-title { - font-size: 50px; - font-weight: 400; -} - -.format-video .entry-meta { - color: #220e10; -} - - -/** - * 5.6 Attachments - * ---------------------------------------------------------------------------- - */ - -.attachment .hentry { - background-color: #e8e5ce; - margin: 0; - padding: 0; -} - -.attachment .entry-header { - margin-bottom: 0; - max-width: 1040px; - padding: 30px 0; -} - -.attachment .entry-title { - display: inline-block; - float: left; - font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif; - margin: 0; -} - -.attachment .entry-title:before { - content: "\f416"; - font-size: 32px; - margin-right: 10px; -} - -.attachment .entry-meta { - clear: none; - color: inherit; - float: right; - max-width: 604px; - padding: 9px 0 0; - text-align: right; -} - -.hentry.attachment:not(.image-attachment) .entry-meta { - max-width: 104px; -} - -.attachment footer.entry-meta { - display: none; -} - -.attachment-meta:before { - content: "\f307"; -} - -.full-size-link a:before { - content: "\f402"; -} - -.full-size-link:before { - content: none; -} - -.attachment .entry-meta a, -.attachment .entry-meta .edit-link:before, -.attachment .full-size-link:before { - color: #ca3c08; -} - -.attachment .entry-content { - background-color: #fff; - max-width: 100%; - padding: 40px 0; -} - -.image-navigation { - margin: 0 auto; - max-width: 1040px; - position: relative; -} - -.image-navigation a:hover { - text-decoration: none; -} - -.image-navigation .nav-previous, -.image-navigation .nav-next { - position: absolute; - top: 50px; -} - -.image-navigation .nav-previous { - left: 0; -} - -.image-navigation .nav-next { - right: 0; -} - -.image-navigation .meta-nav { - font-size: 32px; - font-weight: 300; - vertical-align: -4px; -} - -.attachment .entry-attachment, -.attachment .type-attachment p { - margin: 0 auto; - max-width: 724px; - text-align: center; -} - -.attachment .entry-attachment .attachment { - display: inline-block; -} - -.attachment .entry-caption { - text-align: left; -} - -.attachment .entry-description { - margin: 20px auto 0; - max-width: 604px; -} - -.attachment .entry-caption p:last-child, -.attachment .entry-description p:last-child { - margin: 0; -} - -.attachment .site-main .sidebar-container { - display: none; -} - -.attachment .entry-content .mejs-audio { - max-width: 400px; - margin: 0 auto; -} - -.attachment .entry-content .wp-video { - margin: 0 auto; -} - -.attachment .entry-content .mejs-container { - margin-bottom: 24px; -} - -/** - * 5.7 Post/Paging Navigation - * ---------------------------------------------------------------------------- - */ - -.navigation .nav-previous { - float: left; -} - -.navigation .nav-next { - float: right; -} - -.navigation a { - color: #bc360a; -} - -.navigation a:hover { - color: #ea9629; - text-decoration: none; -} - -.paging-navigation { - background-color: #e8e5ce; - padding: 40px 0; -} - -.paging-navigation .nav-links { - margin: 0 auto; - max-width: 604px; - width: 100%; -} - -.sidebar .paging-navigation .nav-links { - max-width: 1040px; - padding: 0 376px 0 60px; -} - -.paging-navigation .nav-next { - padding: 13px 0; -} - -.paging-navigation a { - font-size: 22px; - font-style: italic; - font-weight: 300; -} - -.paging-navigation .meta-nav { - background-color: #e63f2a; - border-radius: 50%; - color: #fff; - display: inline-block; - font-size: 26px; - padding: 3px 0 8px; - text-align: center; - width: 50px; -} - -.paging-navigation .nav-previous .meta-nav { - margin-right: 10px; - padding: 17px 0 23px; - width: 80px; -} - -.paging-navigation .nav-next .meta-nav { - margin-left: 10px; -} - -.paging-navigation a:hover .meta-nav { - background-color: #ea9629; - text-decoration: none; -} - -.post-navigation { - background-color: #fff; - color: #ca3c08; - font-size: 20px; - font-style: italic; - font-weight: 300; - padding: 20px 0; -} - -.post-navigation .nav-links { - margin: 0 auto; - max-width: 1040px; -} - -.sidebar .post-navigation .nav-links { - padding: 0 376px 0 60px; -} - -.post-navigation a[rel="next"] { - float: right; - text-align: right; -} - - -/** - * 5.8 Author Bio - * ---------------------------------------------------------------------------- - */ - -.author-info { - margin: 0 auto; - max-width: 604px; - padding: 30px 0 10px; - text-align: left; /* gallery & video post formats */ - width: 100%; -} - -.author.sidebar .author-info { - max-width: 1040px; - padding: 30px 376px 10px 60px; -} - -.single .author-info { - padding: 50px 0 0; -} - -.author-avatar .avatar { - float: left; - margin: 0 30px 30px 0; -} - -.single-format-status .author-description { - color: #f7f5e7; -} - -.author-description .author-title { - clear: none; - font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif; - margin: 0 0 8px; -} - -.author-link { - color: #ca3c08; - margin-left: 2px; -} - -.author.archive .author-link { - display: none; -} - - -/** - * 5.9 Archives - * ---------------------------------------------------------------------------- - */ - -.archive-header { - background-color: #e8e5ce; -} - -.archive-title, -.archive-meta { - font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif; - margin: 0 auto; - max-width: 1040px; - padding: 30px 0; - width: 100%; -} - -.archive-meta { - font-size: 16px; - font-style: normal; - font-weight: normal; - margin-top: -15px; - padding: 0 0 11px; -} - -.sidebar .archive-meta { - padding-right: 316px; -} - - -/** - * 5.10 Search Results/No posts - * ---------------------------------------------------------------------------- - */ - -.page-header { - background-color: #e8e5ce; -} - -.page-title { - font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif; - margin: 0 auto; - max-width: 1040px; - padding: 30px 0; - width: 100%; -} - -.page-content { - margin: 0 auto; - max-width: 604px; - padding: 40px 0; - width: 100%; -} - -.sidebar .page-content { - margin: 0 auto; - max-width: 1040px; - padding: 40px 376px 40px 60px; -} - - -/** - * 5.11 404 - * ---------------------------------------------------------------------------- - */ - -.error404 .page-header { - background-color: #fff; -} - -.error404 .page-title { - line-height: 0.6; - margin: 0; - padding: 300px; - position: relative; - text-align: center; - width: auto; -} - -.error404 .page-title:before { - color: #e8e5ce; - content: "\f423"; - font-size: 964px; - line-height: 0.6; - overflow: hidden; - position: absolute; - left: 7px; - top: 28px; -} - -.error404 .page-wrapper { - background-color: #e8e5ce; -} - -.error404 .page-header, -.error404 .page-content { - margin: 0 auto; - max-width: 1040px; - padding-bottom: 40px; - width: 100%; -} - - -/** - * 5.12 Comments - * ---------------------------------------------------------------------------- - */ - -.comments-title, -.comment-list, -.comment-reply-title, -.must-log-in, -.comment-respond .comment-form, -.comment-respond iframe { - display: block; - margin-left: auto; - margin-right: auto; - max-width: 604px; - width: 100%; -} - -.sidebar .comments-title, -.sidebar .comment-list, -.sidebar .must-log-in, -.sidebar .comment-reply-title, -.sidebar .comment-navigation, -.sidebar .comment-respond .comment-form { - max-width: 1040px; - padding-left: 60px; - padding-right: 376px; -} - -.comments-title { - font: 300 italic 28px "Source Sans Pro", Helvetica, sans-serif; -} - -.comment-list, -.comment-list .children { - list-style-type: none; - padding: 0; -} - -.comment-list .children { - margin-left: 20px; -} - -.comment-list > li:after, -.comment-list .children > li:before { - background: url(images/dotted-line.png) repeat left top; - background-size: 4px 4px; - content: ""; - display: block; - height: 1px; - width: 100%; -} - -.comment-list > li:last-child:after { - display: none; -} - -.comment-body { - padding: 24px 0; - position: relative; -} - -.comment-author { - float: left; - max-width: 74px; -} - -.comment-author .avatar { - display: block; - margin-bottom: 10px; -} - -.comment-author .fn { - word-wrap: break-word; -} - -.comment-author .fn, -.comment-author .url, -.comment-reply-link, -.comment-reply-login { - color: #bc360a; - font-size: 14px; - font-style: normal; - font-weight: normal; -} - -.says { - display: none; -} - -.no-avatars .comment-author { - margin: 0 0 5px; - max-width: 100%; - position: relative; -} - -.no-avatars .comment-metadata, -.no-avatars .comment-content, -.no-avatars .comment-list .reply { - width: 100%; -} - -.bypostauthor > .comment-body .fn:before { - content: "\f408"; - vertical-align: text-top; -} - -.comment-list .edit-link { - margin-left: 20px; -} - -.comment-metadata, -.comment-awaiting-moderation, -.comment-content, -.comment-list .reply { - float: right; - width: 79%; - width: -webkit-calc(100% - 124px); - width: calc(100% - 124px); - word-wrap: break-word; -} - -.comment-meta, -.comment-meta a { - color: #a2a2a2; - font-size: 13px; -} - -.comment-meta a:hover { - color: #ea9629; -} - -.comment-metadata { - margin-bottom: 20px; -} - -.ping-meta { - color: #a2a2a2; - font-size: 13px; - line-height: 2; -} - -.comment-awaiting-moderation { - color: #a2a2a2; -} - -.comment-awaiting-moderation:before { - content: "\f414"; - margin-right: 5px; - position: relative; - top: -2px; -} - -.comment-reply-link:before, -.comment-reply-login:before { - content: "\f412"; - margin-right: 3px; -} - -/* Comment form */ -.comment-respond { - background-color: #f7f5e7; - padding: 30px 0; -} - -.comment .comment-respond { - margin-bottom: 20px; - padding: 20px; -} - -.comment-reply-title { - font: 300 italic 28px "Source Sans Pro", Helvetica, sans-serif; -} - -.comment-reply-title small a { - color: #131310; - display: inline-block; - float: right; - height: 16px; - overflow: hidden; - width: 16px; -} - -.comment-reply-title small a:hover { - color: #ed331c; - text-decoration: none; -} - -.comment-reply-title small a:before { - content: "\f406"; - vertical-align: top; -} - -.sidebar .comment-list .comment-reply-title, -.sidebar .comment-list .comment-respond .comment-form { - padding: 0; -} - -.comment-form .comment-notes { - margin-bottom: 15px; -} - -.comment-form .comment-form-author, -.comment-form .comment-form-email, -.comment-form .comment-form-url { - margin-bottom: 8px; -} - -.comment-form [for="author"], -.comment-form [for="email"], -.comment-form [for="url"], -.comment-form [for="comment"] { - float: left; - padding: 5px 0; - width: 120px; -} - -.comment-form .required { - color: #ed331c; -} - -.comment-form input[type="text"], -.comment-form input[type="email"], -.comment-form input[type="url"] { - max-width: 270px; - width: 60%; -} - -.comment-form textarea { - width: 100%; -} - -.form-allowed-tags, -.form-allowed-tags code { - color: #686758; - font-size: 12px; -} - -.form-allowed-tags code { - font-size: 10px; - margin-left: 3px; -} - -.comment-list .pingback, -.comment-list .trackback { - padding-top: 24px; -} - -.comment-navigation { - font-size: 20px; - font-style: italic; - font-weight: 300; - margin: 0 auto; - max-width: 604px; - padding: 20px 0 30px; - width: 100%; -} - -.no-comments { - background-color: #f7f5e7; - font-size: 20px; - font-style: italic; - font-weight: 300; - margin: 0; - padding: 40px 0; - text-align: center; -} - -.sidebar .no-comments { - padding-left: 60px; - padding-right: 376px; -} - - -/** - * 5.13 Multisite - * ---------------------------------------------------------------------------- - */ - -.site-main .mu_register { - margin: 0 auto; - max-width: 604px; - width: 100%; -} - -.mu_alert { - margin-top: 25px; -} - -.site-main .mu_register input[type="submit"], -.site-main .mu_register #blog_title, -.site-main .mu_register #user_email, -.site-main .mu_register #blogname, -.site-main .mu_register #user_name { - font-size: inherit; - width: 270px; -} - -.site-main .mu_register input[type="submit"] { - width: auto; -} - - -/** - * 6.0 Sidebar - * ---------------------------------------------------------------------------- - */ - -.site-main .widget-area { - float: right; - width: 300px; -} - - -/** - * 6.1 Widgets - * ---------------------------------------------------------------------------- - */ - -.widget { - background-color: rgba(247, 245, 231, 0.7); - font-size: 14px; - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - margin: 0 0 24px; - padding: 20px; - word-wrap: break-word; -} - -.widget .widget-title { - font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif; - margin: 0 0 10px; -} - -.widget ul, -.widget ol { - list-style-type: none; - margin: 0; - padding: 0; -} - -.widget li { - padding: 5px 0; -} - -.widget .children li:last-child { - padding-bottom: 0; -} - -.widget li > ul, -.widget li > ol { - margin-left: 20px; -} - -.widget a { - color: #bc360a; -} - -.widget a:hover { - color: #ea9629; -} - -/* Search widget */ -.search-form .search-submit { - display: none; -} - -/* RSS Widget */ -.widget_rss .rss-date { - display: block; -} - -.widget_rss .rss-date, -.widget_rss li > cite { - color: #a2a2a2; -} - -/* Calendar Widget */ -.widget_calendar table, -.widget_calendar td { - border: 0; - border-collapse: separate; - border-spacing: 1px; -} - -.widget_calendar caption { - font-size: 14px; - margin: 0; -} - -.widget_calendar th, -.widget_calendar td { - padding: 0; - text-align: center; -} - -.widget_calendar a { - display: block; -} - -.widget_calendar a:hover { - background-color: rgba(0, 0, 0, 0.15); -} - -.widget_calendar tbody td { - background-color: rgba(255, 255, 255, 0.5); -} - -.site-footer .widget_calendar tbody td { - background-color: rgba(255, 255, 255, 0.05); -} - -.widget_calendar tbody .pad, .site-footer .widget_calendar tbody .pad { - background-color: transparent; -} - - -/** - * 7.0 Footer - * ---------------------------------------------------------------------------- - */ - -.site-footer { - background-color: #e8e5ce; - color: #686758; - font-size: 14px; - text-align: center; -} - -.site-footer .widget-area, -.sidebar .site-footer { - text-align: left; -} - -.site-footer a { - color: #686758; -} - -.site-footer .sidebar-container { - background-color: #220e10; - padding: 20px 0; -} - -.site-footer .widget-area { - margin: 0 auto; - max-width: 1040px; - width: 100%; -} - -.sidebar .site-footer .widget-area { - max-width: 724px; - position: relative; - left: -158px; -} - -.site-footer .widget { - background: transparent; - color: #fff; - float: left; - margin-right: 20px; - width: 245px; -} - -.sidebar .site-footer .widget { - width: 228px; -} - -.sidebar .site-footer .widget:nth-of-type(4), -.sidebar .site-footer .widget:nth-of-type(3) { - margin-right: 0; -} - -.site-footer .widget a { - color: #e6402a; -} - -.site-footer .widget-title, -.site-footer .widget-title a, -.site-footer .wp-caption-text { - color: #fff; -} - -.site-info { - margin: 0 auto; - max-width: 1040px; - padding: 30px 0; - width: 100%; -} - -#wpstats { - display: block; - margin: -10px auto 0; -} - - -/** - * 8.0 Media Queries - * ---------------------------------------------------------------------------- - */ - -/* Does the same thing as , - * but in the future W3C standard way. -ms- prefix is required for IE10+ to - * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor - * the meta tag. See http://core.trac.wordpress.org/ticket/25888. - */ -@-ms-viewport { - width: device-width; -} -@viewport { - width: device-width; -} - -@media (max-width: 1599px) { - .site { - border: 0; - } -} - -@media (max-width: 1069px) { - .sidebar img.alignleft, - .sidebar .wp-caption.alignleft { - margin-left: 0; - } - - .sidebar img.alignright, - .sidebar .wp-caption.alignright { - margin-right: 0; - } - - .error404 .page-header { - margin-left: auto; - max-width: 604px; - width: 100%; - } - - .archive-header, - .search .page-header, - .archive .page-header, - .blog .page-header, - .error404 .page-content, - .search .page-content, - .archive .page-content, - .attachment .entry-header, - .attachment .entry-content, - .post-navigation .nav-links, - .sidebar .site-info, - .site-footer .widget-area { - padding-left: 20px; - padding-right: 20px; - } - - .error404 .page-title { - font-size: 24px; - padding: 180px; - } - - .error404 .page-title:before { - font-size: 554px; - } - - .attachment .image-navigation { - max-width: 724px; - } - - .image-navigation .nav-previous, - .image-navigation .nav-next { - position: static; - } - - .site-main .widget-area { - margin-right: 60px; - } -} - -@media (max-width: 999px) { - .sidebar .entry-header, - .sidebar .entry-content, - .sidebar .entry-summary, - .sidebar .entry-meta, - .sidebar .comment-list, - .sidebar .comment-reply-title, - .sidebar .comment-navigation, - .sidebar .comment-respond .comment-form, - .sidebar .featured-gallery, - .sidebar .post-navigation .nav-links, - .author.sidebar .author-info { - max-width: 604px; - padding-left: 0; - padding-right: 0; - } - - .sidebar .site-info, - .search.sidebar .page-content, - .blog.sidebar .page-content, - .attachment .entry-header, - .sidebar .comments-title { - max-width: 604px; - } - - .sidebar .archive-meta, - .attachment .entry-header, - .search.sidebar .page-content, - .blog.sidebar .page-content, - .sidebar .site-info, - .sidebar .comments-title, - .sidebar .no-comments { - padding-left: 0; - padding-right: 0; - } - - .attachment .entry-meta { - float: left; - text-align: left; - width: 100%; - } - - .attachment .entry-content { - max-width: 100%; - padding: 40px 0; - } - - .format-status .entry-content { - padding-top: 40px; - } - - .format-status .entry-meta { - padding-bottom: 40px; - } - - .sidebar .format-status .entry-content, - .sidebar .format-status .entry-meta { - padding-left: 35px; - } - - .sidebar .format-status .entry-content:before, - .sidebar .format-status .entry-meta:before { - left: 10px; - } - - .sidebar .format-status .entry-content p:first-child:before { - left: 4px; - } - - .sidebar .paging-navigation .nav-links { - padding: 0 60px; - } - - .site-main .sidebar-container { - height: auto; - margin: 0 auto; - max-width: 604px; - position: relative; - top: 20px; - } - - .site-main .widget-area { - float: none; - margin: 0; - width: 100%; - } - - .sidebar .site-footer .widget-area { - max-width: 100%; - left: 0; - } -} - -/* Collapse oversized image and pulled images after iPad breakpoint. */ -@media (max-width: 767px) { - .site-header .home-link { - min-height: 0; - } - .site-title { - font-size: 36px; - padding: 8px 0 10px; - } - .entry-content img.alignleft, - .entry-content .wp-caption.alignleft { - margin-left: 0; - } - - .entry-content img.alignright, - .entry-content .wp-caption.alignright { - margin-right: 0; - } - - .attachment .image-navigation, - .attachment .entry-attachment .attachment { - max-width: 604px; - padding: 0; - width: 100%; - } - - .gallery-caption { - display: none; - } -} - -@media (max-width: 643px) { - .site-title { - font-size: 30px; - } - - #content .entry-header, - #content .entry-content, - #content .entry-summary, - #content footer.entry-meta, - #content .featured-gallery, - .search.sidebar .page-content, - .blog.sidebar .page-content, - .sidebar .post-navigation .nav-links, - .paging-navigation .nav-links, - #content .author-info, - .comments-area .comments-title, - .comments-area .comment-list, - .comments-area .comment-navigation, - .comment-respond, - .sidebar .site-info, - .sidebar .paging-navigation .nav-links { - padding-left: 20px; - padding-right: 20px; - } - - #content .format-status .entry-content, - #content .format-status .entry-met { - padding-left: 35px; - } - - /* Small menu */ - .menu-toggle { - cursor: pointer; - display: inline-block; - font: bold 16px/1.3 "Source Sans Pro", Helvetica, sans-serif; - margin: 0; - } - - .menu-toggle, - .menu-toggle:hover, - .menu-toggle:focus, - .menu-toggle:active { - background: none; - border: none; - color: #141412; - padding: 12px 0 12px 20px; - } - - .menu-toggle:focus { - outline: thin dotted; - } - - .menu-toggle:after { - content: "\f502"; - font-size: 12px; - padding-left: 8px; - vertical-align: -4px; - } - - .toggled-on .menu-toggle:after { - content: "\f500"; - vertical-align: 2px; - } - - .toggled-on .nav-menu, - .toggled-on .nav-menu > ul { - display: block; - margin-left: 0; - padding: 0; - width: 100%; - } - - .toggled-on li, - .toggled-on .children { - display: block; - } - - .toggled-on .nav-menu li > ul { - background-color: transparent; - display: block; - float: none; - margin-left: 20px; - position: relative; - left: auto; - top: auto; - } - - .toggled-on .nav-menu li > ul a { - color: #141412; - width: auto; - } - - .toggled-on .nav-menu li:hover > a, - .toggled-on .nav-menu .children a { - background-color: transparent; - color: #141412; - } - - .toggled-on .nav-menu > li a:hover, - .toggled-on .nav-menu > ul a:hover { - background-color: #db572f; - color: #fff; - } - - .toggled-on .nav-menu > li a:focus, - .toggled-on .nav-menu > ul a:focus { - background-color: #220e10; - color: #fff; - } - - ul.nav-menu, - div.nav-menu > ul { - display: none; - } - - #content .featured-gallery { - padding-left: 24px; - } - - .gallery-columns-1 .gallery-item { - margin-right: 0; - width: 100%; - } - - .entry-title, - .format-chat .entry-title, - .format-image .entry-title, - .format-gallery .entry-title, - .format-video .entry-title { - font-size: 22px; - font-weight: bold; - } - - .format-quote blockquote, - .format-status .entry-content { - font-size: 18px; - } - - .format-quote blockquote small, - .format-quote blockquote cite { - font-size: 13px; - } - - .error404 .page-title { - padding: 40px 0 0; - } - - .error404 .page-title:before { - content: normal; - } - - .comment-author { - margin-right: 30px; - } - - .comment-author .avatar { - height: auto; - max-width: 100%; - } - - .comment-metadata, - .comment-content, - .comment-list .reply { - width: 70%; - width: -webkit-calc(100% - 104px); - width: calc(100% - 104px); - } - - .comment-form input[type="text"], - .comment-form input[type="email"], - .comment-form input[type="url"] { - width: -webkit-calc(100% - 120px); - width: calc(100% - 120px); - } - - .comment-form textarea { - height: 80px; /* Smaller field for mobile. */ - } - - /* Audio */ - .format-audio .entry-content:before { - display: none; - } - - .format-audio .audio-content { - background-image: none; - float: none; - padding-left: 0; - width: auto; - } -} - -/* Mobile devices */ -@media (max-width: 359px) { - .site-title { - font-weight: normal; - } - .site-description { - clip: rect(1px, 1px, 1px, 1px); - position: absolute; - } - .gallery { - margin-left: 0; - } - - .gallery .gallery-item, - .gallery-columns-2.gallery-size-thumbnail .gallery-item { - max-width: none; - width: 49%; - width: -webkit-calc(50% - 4px); - width: calc(50% - 4px); - } - - .gallery-columns-1.gallery-size-medium, - .gallery-columns-1.gallery-size-thumbnail, - .gallery-columns-2.gallery-size-thumbnail, - .gallery-columns-3.gallery-size-thumbnail { - display: block; - } - - .gallery-columns-1 .gallery-item, - .gallery-columns-1.gallery-size-medium .gallery-item, - .gallery-columns-1.gallery-size-thumbnail .gallery-item { - text-align: center; - width: 98%; - width: -webkit-calc(100% - 4px); - width: calc(100% - 4px); - } - - .gallery-columns-3 .gallery-item:nth-of-type(3n), - .gallery-columns-5 .gallery-item:nth-of-type(5n), - .gallery-columns-7 .gallery-item:nth-of-type(7n), - .gallery-columns-9 .gallery-item:nth-of-type(9n) { - margin-right: 4px; - } - - .gallery br { - display: none; - } - - .gallery .gallery-item:nth-of-type(even) { - margin-right: 0; - } - - /* Comments */ - .comment-author { - margin: 0 0 5px; - max-width: 100%; - } - - .comment-author .avatar { - display: inline; - margin: 0 5px 0 0; - max-width: 20px; - } - - .comment-metadata, - .comment-content, - .comment-list .reply { - width: 100%; - } -} - - -/** - * 9.0 Print - * ---------------------------------------------------------------------------- - */ - -/* Retina-specific styles. */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .site-header .search-field { - background-image: url(images/search-icon-2x.png); - } - - .format-audio .audio-content, - .format-status .entry-content:before, - .format-status .entry-meta:before, - .comment-list > li:after, - .comment-list .children > li:before { - background-image: url(images/dotted-line-2x.png); - } -} - -@media print { - body { - background: none !important; - color: #000; - font-size: 10pt; - } - - footer a[rel="bookmark"]:link:after, - footer a[rel="bookmark"]:visited:after { - content: " [" attr(href) "] "; /* Show URLs */ - } - - .site { - max-width: 98%; - } - - .site-header { - background-image: none !important; - } - - .site-header .home-link { - max-width: none; - min-height: 0; - } - - .site-title { - color: #000; - font-size: 21pt; - } - - .site-description { - font-size: 10pt; - } - - .author-avatar, - .site-footer, - .comment-respond, - .comments-area .comment-edit-link, - .comments-area .reply, - .comments-link, - .entry-meta .edit-link, - .page-links, - .site-content nav, - .widget-area, - .main-navigation, - .navbar, - .more-link { - display: none; - } - - .entry-header, - .entry-content, - .entry-summary, - .entry-meta { - margin: 0; - width: 100%; - } - - .page-title, - .entry-title { - font-size: 21pt; - } - - .entry-meta, - .entry-meta a { - color: #444; - font-size: 10pt; - } - - .entry-content img.alignleft, - .entry-content .wp-caption.alignleft { - margin-left: 0; - } - - .entry-content img.alignright, - .entry-content .wp-caption.alignright { - margin-right: 0; - } - - .format-image .entry-content .size-full { - margin: 0; - } - - /* Remove colors from post formats */ - .hentry { - background-color: #fff; - } - - /* Comments */ - .comments-area > li.comment { - background: none; - position: relative; - width: auto; - } - - .comment-metadata { - float: none; - } - - .comment-author .fn, - .comment-reply-link, - .comment-reply-login { - color: #333; - } -} diff --git a/sources/wordpress/wp-content/themes/twentythirteen/tag.php b/sources/wordpress/wp-content/themes/twentythirteen/tag.php deleted file mode 100644 index 2929321..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/tag.php +++ /dev/null @@ -1,43 +0,0 @@ - - -
        -
        - - -
        -

        - - -
        - -
        - - - - - - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentythirteen/taxonomy-post_format.php b/sources/wordpress/wp-content/themes/twentythirteen/taxonomy-post_format.php deleted file mode 100644 index bbec046..0000000 --- a/sources/wordpress/wp-content/themes/twentythirteen/taxonomy-post_format.php +++ /dev/null @@ -1,41 +0,0 @@ - - -
        -
        - - -
        -

        ' . get_post_format_string( get_post_format() ) . '' ); ?>

        -
        - - - - - - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/404.php b/sources/wordpress/wp-content/themes/twentytwelve/404.php deleted file mode 100644 index db3ef81..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/404.php +++ /dev/null @@ -1,29 +0,0 @@ - - -
        -
        - -
        -
        -

        -
        - -
        -

        - -
        -
        - -
        -
        - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/archive.php b/sources/wordpress/wp-content/themes/twentytwelve/archive.php deleted file mode 100644 index 2d442bd..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/archive.php +++ /dev/null @@ -1,63 +0,0 @@ - - -
        -
        - - -
        -

        ' . get_the_date() . '' ); - elseif ( is_month() ) : - printf( __( 'Monthly Archives: %s', 'twentytwelve' ), '' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentytwelve' ) ) . '' ); - elseif ( is_year() ) : - printf( __( 'Yearly Archives: %s', 'twentytwelve' ), '' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentytwelve' ) ) . '' ); - else : - _e( 'Archives', 'twentytwelve' ); - endif; - ?>

        -
        - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/author.php b/sources/wordpress/wp-content/themes/twentytwelve/author.php deleted file mode 100644 index 6570108..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/author.php +++ /dev/null @@ -1,84 +0,0 @@ - - -
        -
        - - - - - -
        -

        ' . get_the_author() . '' ); ?>

        -
        - - - - - - -
        -
        - -
        -
        -

        -

        -
        -
        - - - - - - - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/category.php b/sources/wordpress/wp-content/themes/twentytwelve/category.php deleted file mode 100644 index 0376977..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/category.php +++ /dev/null @@ -1,51 +0,0 @@ - - -
        -
        - - -
        -

        ' . single_cat_title( '', false ) . '' ); ?>

        - - -
        - -
        - - - - - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/comments.php b/sources/wordpress/wp-content/themes/twentytwelve/comments.php deleted file mode 100644 index d6a733e..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/comments.php +++ /dev/null @@ -1,60 +0,0 @@ - - -
        - - - - -

        - ' . get_the_title() . '' ); - ?> -

        - -
          - 'twentytwelve_comment', 'style' => 'ol' ) ); ?> -
        - - 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> - - - - -

        - - - - - - -
        \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/content-aside.php b/sources/wordpress/wp-content/themes/twentytwelve/content-aside.php deleted file mode 100644 index 4a84ae7..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/content-aside.php +++ /dev/null @@ -1,28 +0,0 @@ - - -
        > -
        -

        -
        - →', 'twentytwelve' ) ); ?> -
        -
        - -
        - - - - - ', '' ); ?> -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentytwelve/content-image.php b/sources/wordpress/wp-content/themes/twentytwelve/content-image.php deleted file mode 100644 index a683b83..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/content-image.php +++ /dev/null @@ -1,28 +0,0 @@ - - -
        > -
        - →', 'twentytwelve' ) ); ?> -
        - -
        - -

        -

        -
        - - - - ', '' ); ?> -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentytwelve/content-link.php b/sources/wordpress/wp-content/themes/twentytwelve/content-link.php deleted file mode 100644 index 31e4ec9..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/content-link.php +++ /dev/null @@ -1,26 +0,0 @@ - - -
        > -
        -
        - →', 'twentytwelve' ) ); ?> -
        - -
        - - - - - ', '' ); ?> -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentytwelve/content-none.php b/sources/wordpress/wp-content/themes/twentytwelve/content-none.php deleted file mode 100644 index b775782..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/content-none.php +++ /dev/null @@ -1,20 +0,0 @@ - - -
        -
        -

        -
        - -
        -

        - -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentytwelve/content-page.php b/sources/wordpress/wp-content/themes/twentytwelve/content-page.php deleted file mode 100644 index 0abcbf7..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/content-page.php +++ /dev/null @@ -1,26 +0,0 @@ - - -
        > -
        - - - -

        -
        - -
        - - '' ) ); ?> -
        -
        - ', '' ); ?> -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentytwelve/content-quote.php b/sources/wordpress/wp-content/themes/twentytwelve/content-quote.php deleted file mode 100644 index 0a98a96..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/content-quote.php +++ /dev/null @@ -1,25 +0,0 @@ - - -
        > -
        - →', 'twentytwelve' ) ); ?> -
        - -
        - - - - - ', '' ); ?> -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentytwelve/content-status.php b/sources/wordpress/wp-content/themes/twentytwelve/content-status.php deleted file mode 100644 index 55b72db..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/content-status.php +++ /dev/null @@ -1,42 +0,0 @@ - - -
        > -
        -
        -

        -

        -
        - -
        - -
        - →', 'twentytwelve' ) ); ?> -
        - -
        - - - - ', '' ); ?> -
        -
        diff --git a/sources/wordpress/wp-content/themes/twentytwelve/content.php b/sources/wordpress/wp-content/themes/twentytwelve/content.php deleted file mode 100644 index 56493ed..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/content.php +++ /dev/null @@ -1,73 +0,0 @@ - - -
        > - -
        - -
        - -
        - - - -

        - -

        - -

        - - - - -
        - - -
        - -
        - -
        - →', 'twentytwelve' ) ); ?> - '' ) ); ?> -
        - - - -
        diff --git a/sources/wordpress/wp-content/themes/twentytwelve/css/ie.css b/sources/wordpress/wp-content/themes/twentytwelve/css/ie.css deleted file mode 100644 index 4d4f542..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/css/ie.css +++ /dev/null @@ -1,258 +0,0 @@ -/* -Styles for older IE versions (previous to IE9). -*/ - -body { - background-color: #e6e6e6; -} -body.custom-background-empty { - background-color: #fff; -} -body.custom-background-empty .site, -body.custom-background-white .site { - box-shadow: none; - margin-bottom: 0; - margin-top: 0; - padding: 0; -} -.assistive-text, -.site .screen-reader-text { - clip: rect(1px 1px 1px 1px); /* IE7 */ -} -.full-width .site-content { - float: none; - width: 100%; -} -img.size-full, -img.size-large, -img.header-image, -img.wp-post-image, -img[class*="align"], -img[class*="wp-image-"], -img[class*="attachment-"] { - width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ -} -.author-avatar { - float: left; - margin-top: 8px; - margin-top: 0.571428571rem; -} -.author-description { - float: right; - width: 80%; -} -.site { - box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3); - margin: 48px auto; - max-width: 960px; - overflow: hidden; - padding: 0 40px; -} -.site-content { - float: left; - width: 65.104166667%; -} -body.template-front-page .site-content, -body.attachment .site-content, -body.full-width .site-content { - width: 100%; -} -.widget-area { - float: right; - width: 26.041666667%; -} -.site-header h1, -.site-header h2 { - text-align: left; -} -.site-header h1 { - font-size: 26px; - line-height: 1.846153846; -} -.main-navigation ul.nav-menu, -.main-navigation div.nav-menu > ul { - border-bottom: 1px solid #ededed; - border-top: 1px solid #ededed; - display: inline-block !important; - text-align: left; - width: 100%; -} -.main-navigation ul { - margin: 0; - text-indent: 0; -} -.main-navigation li a, -.main-navigation li { - display: inline-block; - text-decoration: none; -} -.ie7 .main-navigation li a, -.ie7 .main-navigation li { - display: inline; -} -.main-navigation li a { - border-bottom: 0; - color: #6a6a6a; - line-height: 3.692307692; - text-transform: uppercase; -} -.main-navigation li a:hover { - color: #000; -} -.main-navigation li { - margin: 0 40px 0 0; - position: relative; -} -.main-navigation li ul { - margin: 0; - padding: 0; - position: absolute; - top: 100%; - z-index: 1; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(1px, 1px, 1px, 1px); -} -.ie7 .main-navigation li ul { - clip: inherit; - display: none; - left: 0; - overflow: visible; -} -.main-navigation li ul ul, -.ie7 .main-navigation li ul ul { - top: 0; - left: 100%; -} -.main-navigation ul li:hover > ul, -.main-navigation ul li:focus > ul, -.main-navigation .focus > ul { - border-left: 0; - clip: inherit; - overflow: inherit; - height: inherit; - width: inherit; -} -.ie7 .main-navigation ul li:hover > ul, -.ie7 .main-navigation ul li:focus > ul { - display: block; -} -.main-navigation li ul li a { - background: #efefef; - border-bottom: 1px solid #ededed; - display: block; - font-size: 11px; - line-height: 2.181818182; - padding: 8px 10px; - width: 180px; -} -.main-navigation li ul li a:hover { - background: #e3e3e3; - color: #444; -} -.main-navigation .current-menu-item > a, -.main-navigation .current-menu-ancestor > a, -.main-navigation .current_page_item > a, -.main-navigation .current_page_ancestor > a { - color: #636363; - font-weight: bold; -} -.menu-toggle { - display: none; -} -.entry-header .entry-title { - font-size: 22px; -} -#respond form input[type="text"] { - width: 46.333333333%; -} -#respond form textarea.blog-textarea { - width: 79.666666667%; -} -.template-front-page .site-content, -.template-front-page article { - overflow: hidden; -} -.template-front-page.has-post-thumbnail article { - float: left; - width: 47.916666667%; -} -.entry-page-image { - float: right; - margin-bottom: 0; - width: 47.916666667%; -} -.template-front-page .widget-area .widget, -.template-front-page.two-sidebars .widget-area .front-widgets { - float: left; - margin-bottom: 24px; - width: 51.875%; -} -.template-front-page .widget-area .widget:nth-child(odd) { - clear: right; -} -.template-front-page .widget-area .widget:nth-child(even), -.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets { - float: right; - margin: 0 0 24px; - width: 39.0625%; -} -.template-front-page.two-sidebars .widget, -.template-front-page.two-sidebars .widget:nth-child(even) { - float: none; - width: auto; -} - -/* =RTL overrides for IE7 and IE8 --------------------------------------------------------------- */ -.rtl .site-header h1, -.rtl .site-header h2 { - text-align: right; -} -.rtl .widget-area, -.rtl .author-description { - float: left; -} -.rtl .author-avatar, -.rtl .site-content { - float: right; -} -.rtl .main-navigation ul.nav-menu, -.rtl .main-navigation div.nav-menu > ul { - text-align: right; -} -.rtl .main-navigation ul li ul li, -.rtl .main-navigation ul li ul li ul li { - margin-left: 40px; - margin-right: auto; -} -.rtl .main-navigation li ul ul { - position: absolute; - bottom: 0; - right: 100%; - z-index: 1; -} -.ie7 .rtl .main-navigation li ul ul { - position: absolute; - bottom: 0; - right: 100%; - z-index: 1; -} -.ie7 .rtl .main-navigation ul li { - z-index: 99; -} -.ie7 .rtl .main-navigation li ul { - position: absolute; - bottom: 100%; - right: 0; - z-index: 1; -} -.ie7 .rtl .main-navigation li { - margin-right: auto; - margin-left: 40px; -} -.ie7 .rtl .main-navigation li ul ul ul { - position: relative; - z-index: 1; -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/editor-style-rtl.css b/sources/wordpress/wp-content/themes/twentytwelve/editor-style-rtl.css deleted file mode 100644 index 5fd832c..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/editor-style-rtl.css +++ /dev/null @@ -1,28 +0,0 @@ -/* -Theme Name: Twenty Twelve -Description: Used to style the TinyMCE editor for RTL languages. -See also rtl.css file. -*/ - -html .mceContentBody { - direction: rtl; - unicode-bidi: embed; -} -li { - margin: 0 24px 0 0; - margin: 0 1.714285714rem 0 0; -} -dl { - margin: 0 24px; - margin: 0 1.714285714rem; -} -tr th { - text-align: right; -} -td { - padding: 6px 0 6px 10px; - text-align: right; -} -.wp-caption { - text-align: right; -} \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/editor-style.css b/sources/wordpress/wp-content/themes/twentytwelve/editor-style.css deleted file mode 100644 index 24e9b24..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/editor-style.css +++ /dev/null @@ -1,342 +0,0 @@ -/* -Theme Name: Twenty Twelve -Description: Used to style the TinyMCE editor. -*/ - -html { - font-size: 87.5%; -} -html .mceContentBody { - max-width: 625px; -} -body { - color: #444; - font-family: "Open Sans", Helvetica, Arial, sans-serif; - font-size: 14px; - font-size: 1rem; - line-height: 1; - text-rendering: optimizeLegibility; - vertical-align: baseline; -} - - -/* =Headings --------------------------------------------------------------- */ - -h1, -h2, -h3, -h4, -h5, -h6 { - clear: both; - line-height: 1.846153846; - margin: 24px 0; - margin: 1.714285714rem 0; -} -h1 { - font-size: 21px; - font-size: 1.5rem; - line-height: 1.5; -} -h2 { - font-size: 18px; - font-size: 1.285714286rem; - line-height: 1.6; -} -h3 { - font-size: 16px; - font-size: 1.142857143rem; -} -h4 { - font-size: 14px; - font-size: 1rem; -} -h5 { - font-size: 13px; - font-size: 0.928571429rem; -} -h6 { - font-size: 12px; - font-size: 0.857142857rem; -} -hr { - background-color: #ccc; - border: 0; - height: 1px; - margin: 24px; - margin-bottom: 1.714285714rem; -} - - -/* =Text elements --------------------------------------------------------------- */ - -p { - line-height: 1.714285714; - margin: 0 0 24px; - margin: 0 0 1.714285714rem; -} -ul, -ol { - margin: 0 0 24px; - margin: 0 0 1.714285714rem; - line-height: 1.714285714; - padding: 0; -} -ul { - list-style: disc outside; -} -ol { - list-style: decimal outside; -} -ul ul, -ol ol, -ul ol, -ol ul { - margin-bottom: 0; -} -li { - margin: 0 0 0 24px; - margin: 0 0 0 1.714285714rem; -} -dl { - margin: 0 24px; - margin: 0 1.714285714rem; -} -dt { - font-weight: bold; - margin-bottom: 24px; - margin-bottom: 1.714285714rem; -} -dd { - line-height: 1.714285714; - margin: 0 0 24px; - margin: 0 0 1.714285714rem; -} -strong { - font-weight: bold; -} -cite, -em, -i { - font-style: italic; -} -cite { - border: none; -} -big { - font-size: 128.571429%; -} -.mceContentBody blockquote { - font-style: italic !important; - font-weight: normal; - margin: 0; - padding: 24px; - padding: 1.714285714rem; -} -pre { - border: 1px solid #ededed; - color: #666; - font-family: Consolas, Monaco, Lucida Console, monospace; - font-size: 12px; - font-size: 0.857142857rem; - line-height: 1.714285714; - margin: 24px 0; - margin: 1.714285714rem 0; - overflow: auto; - padding: 24px; - padding: 1.714285714rem; -} -code, -kbd, -samp, -var { - font-family: Consolas, Monaco, Lucida Console, monospace; - font-size: 12px; - font-size: 0.857142857rem; - line-height: 2; -} -abbr, -acronym, -dfn { - border-bottom: 1px dotted #666; - cursor: help; -} -address { - display: block; - line-height: 1.714285714; - margin: 0 0 24px; - margin: 0 0 1.714285714rem; -} -del { - color: #333; -} -ins { - background: #fff9c0; - border: none; - color: #333; - text-decoration: none; -} -sup, -sub { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -input[type="text"] { - border: 1px solid #ccc; - border-radius: 3px; - font-family: inherit; - padding: 6px; - padding: 0.428571429rem; -} -textarea { - border: 1px solid #d5d2ca; - border-radius: 3px; - font-family: inherit; - font-size: 12px; - font-size: 0.857142857rem; - line-height: 1.714285714; - padding: 10px; - padding: 0.714285714rem; - width: 96%; -} - - -/* =Links --------------------------------------------------------------- */ - -a, -a em, -a strong { - color: #21759b; - outline: none; -} -a:focus, -a:active, -a:hover { - color: #0f3647; -} - - -/* =Alignment --------------------------------------------------------------- */ - -.alignleft { - display: inline; - float: left; - margin: 12px 24px 12px 0; - margin: 0.857142857rem 1.714285714rem 0.857142857rem 0; -} -.alignright { - display: inline; - float: right; - margin: 12px 0 12px 24px; - margin: 0.857142857rem 0 0.857142857rem 1.714285714rem; -} -.aligncenter { - clear: both; - display: block; - margin-top: 12px; - margin-top: 0.857142857rem; - margin-bottom: 12px; - margin-bottom: 0.857142857rem; -} - - -/* =Tables --------------------------------------------------------------- */ - -table { - border-bottom: 1px solid #ededed; - border-collapse: collapse; - border-spacing: 0; - color: #757575; - font-size: 12px; - font-size: 0.857142857rem; - line-height: 2; - margin: 0 0 24px; - margin: 0 0 1.714285714rem; - width: 100%; -} -tr th { - color: #636363; - font-size: 11px; - font-size: 0.785714286rem; - font-weight: bold; - line-height: 2.181818182; - text-align: left; - text-transform: uppercase; -} -td { - border-top: 1px solid #ededed !important; - color: #757575; - font-size: inherit; - font-weight: normal; - padding: 6px 10px 6px 0; - text-align: left; -} - - -/* =Images --------------------------------------------------------------- */ - -img, -.editor-attachment { - border: 0; - border-radius: 3px; - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); - max-width: 100%; -} -img.size-full { - width: auto/9; /* Prevent stretching of full-size images in IE8 */ -} -img[class*="wp-image-"] { - height: auto; - max-width: 100%; -} -img[class*="align"], -img[class*="wp-image-"], -img[class*="attachment-"] { - height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ -} -img.mce-wp-nextpage { - border-radius: 0; - box-shadow: none; -} -img.wp-smiley { - border: 0; - border-radius: 0; - box-shadow: none; - margin-bottom: 0; - margin-top: 0; - padding: 0; -} -.wp-caption { - background: transparent; - border: none; - margin: 0; - padding: 4px; - text-align: left; -} -.wp-caption-dt { - margin: 0; -} -.wp-caption .wp-caption-text, -.wp-caption-dd { - color: #757575; - font-style: italic; - font-size: 12px; - font-size: 0.857142857rem; - line-height: 2; - margin: 0 0 24px; - margin: 0 0 1.71429rem; -} diff --git a/sources/wordpress/wp-content/themes/twentytwelve/footer.php b/sources/wordpress/wp-content/themes/twentytwelve/footer.php deleted file mode 100644 index 79848d3..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/footer.php +++ /dev/null @@ -1,23 +0,0 @@ - -
        -
        -
        - - -
        -
        -
        - - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/functions.php b/sources/wordpress/wp-content/themes/twentytwelve/functions.php deleted file mode 100644 index 38ea36e..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/functions.php +++ /dev/null @@ -1,499 +0,0 @@ - for posts and comments. - add_theme_support( 'automatic-feed-links' ); - - // This theme supports a variety of post formats. - add_theme_support( 'post-formats', array( 'aside', 'image', 'link', 'quote', 'status' ) ); - - // This theme uses wp_nav_menu() in one location. - register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) ); - - /* - * This theme supports custom background color and image, - * and here we also set up the default background color. - */ - add_theme_support( 'custom-background', array( - 'default-color' => 'e6e6e6', - ) ); - - // This theme uses a custom image size for featured images, displayed on "standard" posts. - add_theme_support( 'post-thumbnails' ); - set_post_thumbnail_size( 624, 9999 ); // Unlimited height, soft crop -} -add_action( 'after_setup_theme', 'twentytwelve_setup' ); - -/** - * Add support for a custom header image. - */ -require( get_template_directory() . '/inc/custom-header.php' ); - -/** - * Return the Google font stylesheet URL if available. - * - * The use of Open Sans by default is localized. For languages that use - * characters not supported by the font, the font can be disabled. - * - * @since Twenty Twelve 1.2 - * - * @return string Font stylesheet or empty string if disabled. - */ -function twentytwelve_get_font_url() { - $font_url = ''; - - /* translators: If there are characters in your language that are not supported - * by Open Sans, translate this to 'off'. Do not translate into your own language. - */ - if ( 'off' !== _x( 'on', 'Open Sans font: on or off', 'twentytwelve' ) ) { - $subsets = 'latin,latin-ext'; - - /* translators: To add an additional Open Sans character subset specific to your language, - * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. - */ - $subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)', 'twentytwelve' ); - - if ( 'cyrillic' == $subset ) - $subsets .= ',cyrillic,cyrillic-ext'; - elseif ( 'greek' == $subset ) - $subsets .= ',greek,greek-ext'; - elseif ( 'vietnamese' == $subset ) - $subsets .= ',vietnamese'; - - $protocol = is_ssl() ? 'https' : 'http'; - $query_args = array( - 'family' => 'Open+Sans:400italic,700italic,400,700', - 'subset' => $subsets, - ); - $font_url = add_query_arg( $query_args, "$protocol://fonts.googleapis.com/css" ); - } - - return $font_url; -} - -/** - * Enqueue scripts and styles for front-end. - * - * @since Twenty Twelve 1.0 - */ -function twentytwelve_scripts_styles() { - global $wp_styles; - - /* - * Adds JavaScript to pages with the comment form to support - * sites with threaded comments (when in use). - */ - if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) - wp_enqueue_script( 'comment-reply' ); - - // Adds JavaScript for handling the navigation menu hide-and-show behavior. - wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array( 'jquery' ), '20140711', true ); - - $font_url = twentytwelve_get_font_url(); - if ( ! empty( $font_url ) ) - wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), null ); - - // Loads our main stylesheet. - wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() ); - - // Loads the Internet Explorer specific stylesheet. - wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' ); - $wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' ); -} -add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' ); - -/** - * Filter TinyMCE CSS path to include Google Fonts. - * - * Adds additional stylesheets to the TinyMCE editor if needed. - * - * @uses twentytwelve_get_font_url() To get the Google Font stylesheet URL. - * - * @since Twenty Twelve 1.2 - * - * @param string $mce_css CSS path to load in TinyMCE. - * @return string Filtered CSS path. - */ -function twentytwelve_mce_css( $mce_css ) { - $font_url = twentytwelve_get_font_url(); - - if ( empty( $font_url ) ) - return $mce_css; - - if ( ! empty( $mce_css ) ) - $mce_css .= ','; - - $mce_css .= esc_url_raw( str_replace( ',', '%2C', $font_url ) ); - - return $mce_css; -} -add_filter( 'mce_css', 'twentytwelve_mce_css' ); - -/** - * Filter the page title. - * - * Creates a nicely formatted and more specific title element text - * for output in head of document, based on current view. - * - * @since Twenty Twelve 1.0 - * - * @param string $title Default title text for current view. - * @param string $sep Optional separator. - * @return string Filtered title. - */ -function twentytwelve_wp_title( $title, $sep ) { - global $paged, $page; - - if ( is_feed() ) - return $title; - - // Add the site name. - $title .= get_bloginfo( 'name', 'display' ); - - // Add the site description for the home/front page. - $site_description = get_bloginfo( 'description', 'display' ); - if ( $site_description && ( is_home() || is_front_page() ) ) - $title = "$title $sep $site_description"; - - // Add a page number if necessary. - if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) - $title = "$title $sep " . sprintf( __( 'Page %s', 'twentytwelve' ), max( $paged, $page ) ); - - return $title; -} -add_filter( 'wp_title', 'twentytwelve_wp_title', 10, 2 ); - -/** - * Filter the page menu arguments. - * - * Makes our wp_nav_menu() fallback -- wp_page_menu() -- show a home link. - * - * @since Twenty Twelve 1.0 - */ -function twentytwelve_page_menu_args( $args ) { - if ( ! isset( $args['show_home'] ) ) - $args['show_home'] = true; - return $args; -} -add_filter( 'wp_page_menu_args', 'twentytwelve_page_menu_args' ); - -/** - * Register sidebars. - * - * Registers our main widget area and the front page widget areas. - * - * @since Twenty Twelve 1.0 - */ -function twentytwelve_widgets_init() { - register_sidebar( array( - 'name' => __( 'Main Sidebar', 'twentytwelve' ), - 'id' => 'sidebar-1', - 'description' => __( 'Appears on posts and pages except the optional Front Page template, which has its own widgets', 'twentytwelve' ), - 'before_widget' => '', - 'before_title' => '

        ', - 'after_title' => '

        ', - ) ); - - register_sidebar( array( - 'name' => __( 'First Front Page Widget Area', 'twentytwelve' ), - 'id' => 'sidebar-2', - 'description' => __( 'Appears when using the optional Front Page template with a page set as Static Front Page', 'twentytwelve' ), - 'before_widget' => '', - 'before_title' => '

        ', - 'after_title' => '

        ', - ) ); - - register_sidebar( array( - 'name' => __( 'Second Front Page Widget Area', 'twentytwelve' ), - 'id' => 'sidebar-3', - 'description' => __( 'Appears when using the optional Front Page template with a page set as Static Front Page', 'twentytwelve' ), - 'before_widget' => '', - 'before_title' => '

        ', - 'after_title' => '

        ', - ) ); -} -add_action( 'widgets_init', 'twentytwelve_widgets_init' ); - -if ( ! function_exists( 'twentytwelve_content_nav' ) ) : -/** - * Displays navigation to next/previous pages when applicable. - * - * @since Twenty Twelve 1.0 - */ -function twentytwelve_content_nav( $html_id ) { - global $wp_query; - - $html_id = esc_attr( $html_id ); - - if ( $wp_query->max_num_pages > 1 ) : ?> - - comment_type ) : - case 'pingback' : - case 'trackback' : - // Display trackbacks differently than normal comments. - ?> -
      5. id="comment-"> -

        ', '' ); ?>

        - -
      6. id="li-comment-"> -
        -
        - %1$s %2$s', - get_comment_author_link(), - // If current post author is also comment author, make it known visually. - ( $comment->user_id === $post->post_author ) ? '' . __( 'Post author', 'twentytwelve' ) . '' : '' - ); - printf( '', - esc_url( get_comment_link( $comment->comment_ID ) ), - get_comment_time( 'c' ), - /* translators: 1: date, 2: time */ - sprintf( __( '%1$s at %2$s', 'twentytwelve' ), get_comment_date(), get_comment_time() ) - ); - ?> -
        - - comment_approved ) : ?> -

        - - -
        - - ', '

        ' ); ?> -
        - -
        - __( 'Reply', 'twentytwelve' ), 'after' => ' ', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> -
        -
        - ', - esc_url( get_permalink() ), - esc_attr( get_the_time() ), - esc_attr( get_the_date( 'c' ) ), - esc_html( get_the_date() ) - ); - - $author = sprintf( '', - esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), - esc_attr( sprintf( __( 'View all posts by %s', 'twentytwelve' ), get_the_author() ) ), - get_the_author() - ); - - // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. - if ( $tag_list ) { - $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s by %4$s.', 'twentytwelve' ); - } elseif ( $categories_list ) { - $utility_text = __( 'This entry was posted in %1$s on %3$s by %4$s.', 'twentytwelve' ); - } else { - $utility_text = __( 'This entry was posted on %3$s by %4$s.', 'twentytwelve' ); - } - - printf( - $utility_text, - $categories_list, - $tag_list, - $date, - $author - ); -} -endif; - -/** - * Extend the default WordPress body classes. - * - * Extends the default WordPress body class to denote: - * 1. Using a full-width layout, when no active widgets in the sidebar - * or full-width template. - * 2. Front Page template: thumbnail in use and number of sidebars for - * widget areas. - * 3. White or empty background color to change the layout and spacing. - * 4. Custom fonts enabled. - * 5. Single or multiple authors. - * - * @since Twenty Twelve 1.0 - * - * @param array $classes Existing class values. - * @return array Filtered class values. - */ -function twentytwelve_body_class( $classes ) { - $background_color = get_background_color(); - $background_image = get_background_image(); - - if ( ! is_active_sidebar( 'sidebar-1' ) || is_page_template( 'page-templates/full-width.php' ) ) - $classes[] = 'full-width'; - - if ( is_page_template( 'page-templates/front-page.php' ) ) { - $classes[] = 'template-front-page'; - if ( has_post_thumbnail() ) - $classes[] = 'has-post-thumbnail'; - if ( is_active_sidebar( 'sidebar-2' ) && is_active_sidebar( 'sidebar-3' ) ) - $classes[] = 'two-sidebars'; - } - - if ( empty( $background_image ) ) { - if ( empty( $background_color ) ) - $classes[] = 'custom-background-empty'; - elseif ( in_array( $background_color, array( 'fff', 'ffffff' ) ) ) - $classes[] = 'custom-background-white'; - } - - // Enable custom font class only if the font CSS is queued to load. - if ( wp_style_is( 'twentytwelve-fonts', 'queue' ) ) - $classes[] = 'custom-font-enabled'; - - if ( ! is_multi_author() ) - $classes[] = 'single-author'; - - return $classes; -} -add_filter( 'body_class', 'twentytwelve_body_class' ); - -/** - * Adjust content width in certain contexts. - * - * Adjusts content_width value for full-width and single image attachment - * templates, and when there are no active widgets in the sidebar. - * - * @since Twenty Twelve 1.0 - */ -function twentytwelve_content_width() { - if ( is_page_template( 'page-templates/full-width.php' ) || is_attachment() || ! is_active_sidebar( 'sidebar-1' ) ) { - global $content_width; - $content_width = 960; - } -} -add_action( 'template_redirect', 'twentytwelve_content_width' ); - -/** - * Register postMessage support. - * - * Add postMessage support for site title and description for the Customizer. - * - * @since Twenty Twelve 1.0 - * - * @param WP_Customize_Manager $wp_customize Customizer object. - */ -function twentytwelve_customize_register( $wp_customize ) { - $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; - $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; - $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; -} -add_action( 'customize_register', 'twentytwelve_customize_register' ); - -/** - * Enqueue Javascript postMessage handlers for the Customizer. - * - * Binds JS handlers to make the Customizer preview reload changes asynchronously. - * - * @since Twenty Twelve 1.0 - */ -function twentytwelve_customize_preview_js() { - wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20130301', true ); -} -add_action( 'customize_preview_init', 'twentytwelve_customize_preview_js' ); diff --git a/sources/wordpress/wp-content/themes/twentytwelve/header.php b/sources/wordpress/wp-content/themes/twentytwelve/header.php deleted file mode 100644 index 8dcd9a9..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/header.php +++ /dev/null @@ -1,53 +0,0 @@ - section and everything up till
        - * - * @package WordPress - * @subpackage Twenty_Twelve - * @since Twenty Twelve 1.0 - */ -?> - - - -> - - - - -<?php wp_title( '|', true, 'right' ); ?> - - - - - - - -> -
        - - -
        \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/image.php b/sources/wordpress/wp-content/themes/twentytwelve/image.php deleted file mode 100644 index 1dc2aa9..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/image.php +++ /dev/null @@ -1,116 +0,0 @@ - - -
        -
        - - - -
        > -
        -

        - -
        - Published at %4$s × %5$s in %8$s.', 'twentytwelve' ), - esc_attr( get_the_date( 'c' ) ), - esc_html( get_the_date() ), - esc_url( wp_get_attachment_url() ), - $metadata['width'], - $metadata['height'], - esc_url( get_permalink( $post->post_parent ) ), - esc_attr( strip_tags( get_the_title( $post->post_parent ) ) ), - get_the_title( $post->post_parent ) - ); - ?> - ', '' ); ?> -
        - - -
        - -
        - -
        -
        - $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); -foreach ( $attachments as $k => $attachment ) : - if ( $attachment->ID == $post->ID ) - break; -endforeach; - -// If there is more than 1 attachment in a gallery -if ( count( $attachments ) > 1 ) : - $k++; - if ( isset( $attachments[ $k ] ) ) : - // get the URL of the next image attachment - $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); - else : - // or get the URL of the first image attachment - $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); - endif; -else : - // or, if there's only 1 image, get the URL of the image - $next_attachment_url = wp_get_attachment_url(); -endif; -?> - ID, $attachment_size ); - ?> - - post_excerpt ) ) : ?> -
        - -
        - -
        - -
        - -
        - - '' ) ); ?> -
        - -
        - -
        - - - - - -
        -
        - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/inc/custom-header.php b/sources/wordpress/wp-content/themes/twentytwelve/inc/custom-header.php deleted file mode 100644 index 1657eff..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/inc/custom-header.php +++ /dev/null @@ -1,165 +0,0 @@ - '515151', - 'default-image' => '', - - // Set height and width, with a maximum value for the width. - 'height' => 250, - 'width' => 960, - 'max-width' => 2000, - - // Support flexible height and width. - 'flex-height' => true, - 'flex-width' => true, - - // Random image rotation off by default. - 'random-default' => false, - - // Callbacks for styling the header and the admin preview. - 'wp-head-callback' => 'twentytwelve_header_style', - 'admin-head-callback' => 'twentytwelve_admin_header_style', - 'admin-preview-callback' => 'twentytwelve_admin_header_image', - ); - - add_theme_support( 'custom-header', $args ); -} -add_action( 'after_setup_theme', 'twentytwelve_custom_header_setup' ); - -/** - * Load our special font CSS file. - * - * @since Twenty Twelve 1.2 - */ -function twentytwelve_custom_header_fonts() { - $font_url = twentytwelve_get_font_url(); - if ( ! empty( $font_url ) ) - wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), null ); -} -add_action( 'admin_print_styles-appearance_page_custom-header', 'twentytwelve_custom_header_fonts' ); - -/** - * Style the header text displayed on the blog. - * - * get_header_textcolor() options: 515151 is default, hide text (returns 'blank'), or any hex value. - * - * @since Twenty Twelve 1.0 - */ -function twentytwelve_header_style() { - $text_color = get_header_textcolor(); - - // If no custom options for text are set, let's bail - if ( $text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) - return; - - // If we get this far, we have custom styles. - ?> - - Header admin panel. - * - * @since Twenty Twelve 1.0 - */ -function twentytwelve_admin_header_style() { -?> - - Header admin panel. - * - * This callback overrides the default markup displayed there. - * - * @since Twenty Twelve 1.0 - */ -function twentytwelve_admin_header_image() { - ?> - - - -
        -
        - - - - - - - - - - - -
        - - -
        -

        -
        - -
        -

        Get started here.', 'twentytwelve' ), admin_url( 'post-new.php' ) ); ?>

        -
        - - -
        -

        -
        - -
        -

        - -
        - - -
        - - - -
        -
        - - - \ No newline at end of file diff --git a/sources/wordpress/wp-content/themes/twentytwelve/js/html5.js b/sources/wordpress/wp-content/themes/twentytwelve/js/html5.js deleted file mode 100644 index 6168aac..0000000 --- a/sources/wordpress/wp-content/themes/twentytwelve/js/html5.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); -a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; -c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| -"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); -if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d
        \n"; - else - $output .= "
      7. \n"; - } - - /** - * Output a pingback comment. - * - * @access protected - * @since 3.6.0 - * - * @see wp_list_comments() - * - * @param object $comment The comment object. - * @param int $depth Depth of comment. - * @param array $args An array of arguments. - */ - protected function ping( $comment, $depth, $args ) { - $tag = ( 'div' == $args['style'] ) ? 'div' : 'li'; -?> - < id="comment-" > -
        - ', '' ); ?> -
        - - < has_children ? 'parent' : '' ); ?> id="comment-"> - -
        - -
        - - %s says:' ), get_comment_author_link() ); ?> -
        - comment_approved ) : ?> - -
        - - - - - $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> - -
        - $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> -
        - -
        - - - < id="comment-" has_children ? 'parent' : '' ); ?>> -
        -
        -
        - - says:' ), sprintf( '%s', get_comment_author_link() ) ); ?> -
        - - - - comment_approved ) : ?> -

        - -
        - -
        - -
        - -
        - 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> -
        -
        -comments - * - * @param string|array $args { - * Optional. Formatting options. - * - * @type object $walker Instance of a Walker class to list comments. Default null. - * @type int $max_depth The maximum comments depth. Default empty. - * @type string $style The style of list ordering. Default 'ul'. Accepts 'ul', 'ol'. - * @type string $callback Callback function to use. Default null. - * @type string $end-callback Callback function to use at the end. Default null. - * @type string $type Type of comments to list. - * Default 'all'. Accepts 'all', 'comment', 'pingback', 'trackback', 'pings'. - * @type int $page Page ID to list comments for. Default empty. - * @type int $per_page Number of comments to list per page. Default empty. - * @type int $avatar_size Height and width dimensions of the avatar size. Default 32. - * @type string $reverse_top_level Ordering of the listed comments. Default null. Accepts 'desc', 'asc'. - * @type bool $reverse_children Whether to reverse child comments in the list. Default null. - * @type string $format How to format the comments list. - * Default 'html5' if the theme supports it. Accepts 'html5', 'xhtml'. - * @type bool $short_ping Whether to output short pings. Default false. - * @type bool $echo Whether to echo the output or return it. Default true. - * } - * @param array $comments Optional. Array of comment objects. - */ -function wp_list_comments( $args = array(), $comments = null ) { - global $wp_query, $comment_alt, $comment_depth, $comment_thread_alt, $overridden_cpage, $in_comment_loop; - - $in_comment_loop = true; - - $comment_alt = $comment_thread_alt = 0; - $comment_depth = 1; - - $defaults = array( - 'walker' => null, - 'max_depth' => '', - 'style' => 'ul', - 'callback' => null, - 'end-callback' => null, - 'type' => 'all', - 'page' => '', - 'per_page' => '', - 'avatar_size' => 32, - 'reverse_top_level' => null, - 'reverse_children' => '', - 'format' => current_theme_supports( 'html5', 'comment-list' ) ? 'html5' : 'xhtml', - 'short_ping' => false, - 'echo' => true, - ); - - $r = wp_parse_args( $args, $defaults ); - - /** - * Filter the arguments used in retrieving the comment list. - * - * @since 4.0.0 - * - * @see wp_list_comments() - * - * @param array $r An array of arguments for displaying comments. - */ - $r = apply_filters( 'wp_list_comments_args', $r ); - - // Figure out what comments we'll be looping through ($_comments) - if ( null !== $comments ) { - $comments = (array) $comments; - if ( empty($comments) ) - return; - if ( 'all' != $r['type'] ) { - $comments_by_type = separate_comments($comments); - if ( empty($comments_by_type[$r['type']]) ) - return; - $_comments = $comments_by_type[$r['type']]; - } else { - $_comments = $comments; - } - } else { - if ( empty($wp_query->comments) ) - return; - if ( 'all' != $r['type'] ) { - if ( empty($wp_query->comments_by_type) ) - $wp_query->comments_by_type = separate_comments($wp_query->comments); - if ( empty($wp_query->comments_by_type[$r['type']]) ) - return; - $_comments = $wp_query->comments_by_type[$r['type']]; - } else { - $_comments = $wp_query->comments; - } - } - - if ( '' === $r['per_page'] && get_option('page_comments') ) - $r['per_page'] = get_query_var('comments_per_page'); - - if ( empty($r['per_page']) ) { - $r['per_page'] = 0; - $r['page'] = 0; - } - - if ( '' === $r['max_depth'] ) { - if ( get_option('thread_comments') ) - $r['max_depth'] = get_option('thread_comments_depth'); - else - $r['max_depth'] = -1; - } - - if ( '' === $r['page'] ) { - if ( empty($overridden_cpage) ) { - $r['page'] = get_query_var('cpage'); - } else { - $threaded = ( -1 != $r['max_depth'] ); - $r['page'] = ( 'newest' == get_option('default_comments_page') ) ? get_comment_pages_count($_comments, $r['per_page'], $threaded) : 1; - set_query_var( 'cpage', $r['page'] ); - } - } - // Validation check - $r['page'] = intval($r['page']); - if ( 0 == $r['page'] && 0 != $r['per_page'] ) - $r['page'] = 1; - - if ( null === $r['reverse_top_level'] ) - $r['reverse_top_level'] = ( 'desc' == get_option('comment_order') ); - - if ( empty( $r['walker'] ) ) { - $walker = new Walker_Comment; - } else { - $walker = $r['walker']; - } - - $output = $walker->paged_walk( $_comments, $r['max_depth'], $r['page'], $r['per_page'], $r ); - $wp_query->max_num_comment_pages = $walker->max_pages; - - $in_comment_loop = false; - - if ( $r['echo'] ) { - echo $output; - } else { - return $output; - } -} - -/** - * Output a complete commenting form for use within a template. - * - * Most strings and form fields may be controlled through the $args array passed - * into the function, while you may also choose to use the comment_form_default_fields - * filter to modify the array of default fields if you'd just like to add a new - * one or remove a single field. All fields are also individually passed through - * a filter of the form comment_form_field_$name where $name is the key used - * in the array of fields. - * - * @since 3.0.0 - * - * @param array $args { - * Optional. Default arguments and form fields to override. - * - * @type array $fields { - * Default comment fields, filterable by default via the 'comment_form_default_fields' hook. - * - * @type string $author Comment author field HTML. - * @type string $email Comment author email field HTML. - * @type string $url Comment author URL field HTML. - * } - * @type string $comment_field The comment textarea field HTML. - * @type string $must_log_in HTML element for a 'must be logged in to comment' message. - * @type string $logged_in_as HTML element for a 'logged in as ' message. - * @type string $comment_notes_before HTML element for a message displayed before the comment form. - * Default 'Your email address will not be published.'. - * @type string $comment_notes_after HTML element for a message displayed after the comment form. - * Default 'You may use these HTML tags and attributes ...'. - * @type string $id_form The comment form element id attribute. Default 'commentform'. - * @type string $id_submit The comment submit element id attribute. Default 'submit'. - * @type string $name_submit The comment submit element name attribute. Default 'submit'. - * @type string $title_reply The translatable 'reply' button label. Default 'Leave a Reply'. - * @type string $title_reply_to The translatable 'reply-to' button label. Default 'Leave a Reply to %s', - * where %s is the author of the comment being replied to. - * @type string $cancel_reply_link The translatable 'cancel reply' button label. Default 'Cancel reply'. - * @type string $label_submit The translatable 'submit' button label. Default 'Post a comment'. - * @type string $format The comment form format. Default 'xhtml'. Accepts 'xhtml', 'html5'. - * } - * @param int|WP_Post $post_id Post ID or WP_Post object to generate the form for. Default current post. - */ -function comment_form( $args = array(), $post_id = null ) { - if ( null === $post_id ) - $post_id = get_the_ID(); - - $commenter = wp_get_current_commenter(); - $user = wp_get_current_user(); - $user_identity = $user->exists() ? $user->display_name : ''; - - $args = wp_parse_args( $args ); - if ( ! isset( $args['format'] ) ) - $args['format'] = current_theme_supports( 'html5', 'comment-form' ) ? 'html5' : 'xhtml'; - - $req = get_option( 'require_name_email' ); - $aria_req = ( $req ? " aria-required='true'" : '' ); - $html5 = 'html5' === $args['format']; - $fields = array( - 'author' => '

        ' . ' ' . - '

        ', - 'email' => '', - 'url' => '

        ' . - '

        ', - ); - - $required_text = sprintf( ' ' . __('Required fields are marked %s'), '*' ); - - /** - * Filter the default comment form fields. - * - * @since 3.0.0 - * - * @param array $fields The default comment fields. - */ - $fields = apply_filters( 'comment_form_default_fields', $fields ); - $defaults = array( - 'fields' => $fields, - 'comment_field' => '

        ', - /** This filter is documented in wp-includes/link-template.php */ - 'must_log_in' => '', - /** This filter is documented in wp-includes/link-template.php */ - 'logged_in_as' => '

        ' . sprintf( __( 'Logged in as %2$s. Log out?' ), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '

        ', - 'comment_notes_before' => '

        ' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '

        ', - 'comment_notes_after' => '

        ' . sprintf( __( 'You may use these HTML tags and attributes: %s' ), ' ' . allowed_tags() . '' ) . '

        ', - 'id_form' => 'commentform', - 'id_submit' => 'submit', - 'name_submit' => 'submit', - 'title_reply' => __( 'Leave a Reply' ), - 'title_reply_to' => __( 'Leave a Reply to %s' ), - 'cancel_reply_link' => __( 'Cancel reply' ), - 'label_submit' => __( 'Post Comment' ), - 'format' => 'xhtml', - ); - - /** - * Filter the comment form default arguments. - * - * Use 'comment_form_default_fields' to filter the comment fields. - * - * @since 3.0.0 - * - * @param array $defaults The default comment form arguments. - */ - $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) ); - - ?> - - -
        -

        - - - - -
        > - tag. - * - * @since 3.0.0 - */ - do_action( 'comment_form_top' ); - ?> - - - - - - $field ) { - /** - * Filter a comment form field for display. - * - * The dynamic portion of the filter hook, $name, refers to the name - * of the comment form field. Such as 'author', 'email', or 'url'. - * - * @since 3.0.0 - * - * @param string $field The HTML-formatted output of the comment form field. - */ - echo apply_filters( "comment_form_field_{$name}", $field ) . "\n"; - } - /** - * Fires after the comment fields in the comment form. - * - * @since 3.0.0 - */ - do_action( 'comment_form_after_fields' ); - ?> - - - -

        - - -

        - tag. - * - * @since 1.5.0 - * - * @param int $post_id The post ID. - */ - do_action( 'comment_form', $post_id ); - ?> -
        - -
        - ]*href/i', $comment, $out ); - /** - * Filter the maximum number of links allowed in a comment. - * - * @since 3.0.0 - * - * @param int $num_links The number of links allowed. - * @param string $url Comment author's URL. Included in allowed links total. - */ - $num_links = apply_filters( 'comment_max_links_url', $num_links, $url ); - if ( $num_links >= $max_links ) - return false; - } - - $mod_keys = trim(get_option('moderation_keys')); - if ( !empty($mod_keys) ) { - $words = explode("\n", $mod_keys ); - - foreach ( (array) $words as $word) { - $word = trim($word); - - // Skip empty lines - if ( empty($word) ) - continue; - - // Do some escaping magic so that '#' chars in the - // spam words don't break things: - $word = preg_quote($word, '#'); - - $pattern = "#$word#i"; - if ( preg_match($pattern, $author) ) return false; - if ( preg_match($pattern, $email) ) return false; - if ( preg_match($pattern, $url) ) return false; - if ( preg_match($pattern, $comment) ) return false; - if ( preg_match($pattern, $user_ip) ) return false; - if ( preg_match($pattern, $user_agent) ) return false; - } - } - - // Comment whitelisting: - if ( 1 == get_option('comment_whitelist')) { - if ( 'trackback' != $comment_type && 'pingback' != $comment_type && $author != '' && $email != '' ) { - // expected_slashed ($author, $email) - $ok_to_comment = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_author = '$author' AND comment_author_email = '$email' and comment_approved = '1' LIMIT 1"); - if ( ( 1 == $ok_to_comment ) && - ( empty($mod_keys) || false === strpos( $email, $mod_keys) ) ) - return true; - else - return false; - } else { - return false; - } - } - return true; -} - -/** - * Retrieve the approved comments for post $post_id. - * - * @since 2.0.0 - * @uses $wpdb - * - * @param int $post_id The ID of the post - * @return array $comments The approved comments - */ -function get_approved_comments($post_id) { - global $wpdb; - return $wpdb->get_results($wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved = '1' ORDER BY comment_date", $post_id)); -} - -/** - * Retrieves comment data given a comment ID or comment object. - * - * If an object is passed then the comment data will be cached and then returned - * after being passed through a filter. If the comment is empty, then the global - * comment variable will be used, if it is set. - * - * @since 2.0.0 - * @uses $wpdb - * - * @param object|string|int $comment Comment to retrieve. - * @param string $output Optional. OBJECT or ARRAY_A or ARRAY_N constants. - * @return object|array|null Depends on $output value. - */ -function get_comment(&$comment, $output = OBJECT) { - global $wpdb; - - if ( empty($comment) ) { - if ( isset($GLOBALS['comment']) ) - $_comment = & $GLOBALS['comment']; - else - $_comment = null; - } elseif ( is_object($comment) ) { - wp_cache_add($comment->comment_ID, $comment, 'comment'); - $_comment = $comment; - } else { - if ( isset($GLOBALS['comment']) && ($GLOBALS['comment']->comment_ID == $comment) ) { - $_comment = & $GLOBALS['comment']; - } elseif ( ! $_comment = wp_cache_get($comment, 'comment') ) { - $_comment = $wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_ID = %d LIMIT 1", $comment)); - if ( ! $_comment ) - return null; - wp_cache_add($_comment->comment_ID, $_comment, 'comment'); - } - } - - /** - * Fires after a comment is retrieved. - * - * @since 2.3.0 - * - * @param mixed $_comment Comment data. - */ - $_comment = apply_filters( 'get_comment', $_comment ); - - if ( $output == OBJECT ) { - return $_comment; - } elseif ( $output == ARRAY_A ) { - $__comment = get_object_vars($_comment); - return $__comment; - } elseif ( $output == ARRAY_N ) { - $__comment = array_values(get_object_vars($_comment)); - return $__comment; - } else { - return $_comment; - } -} - -/** - * Retrieve a list of comments. - * - * The comment list can be for the blog as a whole or for an individual post. - * - * The list of comment arguments are 'status', 'orderby', 'comment_date_gmt', - * 'order', 'number', 'offset', and 'post_id'. - * - * @since 2.7.0 - * @uses $wpdb - * - * @param mixed $args Optional. Array or string of options to override defaults. - * @return array List of comments. - */ -function get_comments( $args = '' ) { - $query = new WP_Comment_Query; - return $query->query( $args ); -} - -/** - * WordPress Comment Query class. - * - * @since 3.1.0 - */ -class WP_Comment_Query { - /** - * Metadata query container - * - * @since 3.5.0 - * @access public - * @var object WP_Meta_Query - */ - public $meta_query = false; - - /** - * Date query container - * - * @since 3.7.0 - * @access public - * @var object WP_Date_Query - */ - public $date_query = false; - - /** - * Make private/protected methods readable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param callable $name Method to call. - * @param array $arguments Arguments to pass when calling. - * @return mixed|bool Return value of the callback, false otherwise. - */ - public function __call( $name, $arguments ) { - return call_user_func_array( array( $this, $name ), $arguments ); - } - - /** - * Execute the query - * - * @since 3.1.0 - * - * @param string|array $query_vars - * @return int|array - */ - public function query( $query_vars ) { - global $wpdb; - - $defaults = array( - 'author_email' => '', - 'fields' => '', - 'ID' => '', - 'karma' => '', - 'number' => '', - 'offset' => '', - 'orderby' => '', - 'order' => 'DESC', - 'parent' => '', - 'post_ID' => '', - 'post_id' => 0, - 'post_author' => '', - 'post_name' => '', - 'post_parent' => '', - 'post_status' => '', - 'post_type' => '', - 'status' => '', - 'type' => '', - 'user_id' => '', - 'search' => '', - 'count' => false, - 'meta_key' => '', - 'meta_value' => '', - 'meta_query' => '', - 'date_query' => null, // See WP_Date_Query - ); - - $groupby = ''; - - $this->query_vars = wp_parse_args( $query_vars, $defaults ); - - // Parse meta query - $this->meta_query = new WP_Meta_Query(); - $this->meta_query->parse_query_vars( $this->query_vars ); - - /** - * Fires before comments are retrieved. - * - * @since 3.1.0 - * - * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference. - */ - do_action_ref_array( 'pre_get_comments', array( &$this ) ); - - // $args can be whatever, only use the args defined in defaults to compute the key - $key = md5( serialize( wp_array_slice_assoc( $this->query_vars, array_keys( $defaults ) ) ) ); - $last_changed = wp_cache_get( 'last_changed', 'comment' ); - if ( ! $last_changed ) { - $last_changed = microtime(); - wp_cache_set( 'last_changed', $last_changed, 'comment' ); - } - $cache_key = "get_comments:$key:$last_changed"; - - if ( $cache = wp_cache_get( $cache_key, 'comment' ) ) { - return $cache; - } - - $status = $this->query_vars['status']; - if ( 'hold' == $status ) { - $approved = "comment_approved = '0'"; - } elseif ( 'approve' == $status ) { - $approved = "comment_approved = '1'"; - } elseif ( ! empty( $status ) && 'all' != $status ) { - $approved = $wpdb->prepare( "comment_approved = %s", $status ); - } else { - $approved = "( comment_approved = '0' OR comment_approved = '1' )"; - } - $order = ( 'ASC' == strtoupper( $this->query_vars['order'] ) ) ? 'ASC' : 'DESC'; - - if ( ! empty( $this->query_vars['orderby'] ) ) { - $ordersby = is_array( $this->query_vars['orderby'] ) ? - $this->query_vars['orderby'] : - preg_split( '/[,\s]/', $this->query_vars['orderby'] ); - - $allowed_keys = array( - 'comment_agent', - 'comment_approved', - 'comment_author', - 'comment_author_email', - 'comment_author_IP', - 'comment_author_url', - 'comment_content', - 'comment_date', - 'comment_date_gmt', - 'comment_ID', - 'comment_karma', - 'comment_parent', - 'comment_post_ID', - 'comment_type', - 'user_id', - ); - if ( ! empty( $this->query_vars['meta_key'] ) ) { - $allowed_keys[] = $this->query_vars['meta_key']; - $allowed_keys[] = 'meta_value'; - $allowed_keys[] = 'meta_value_num'; - } - $ordersby = array_intersect( $ordersby, $allowed_keys ); - foreach ( $ordersby as $key => $value ) { - if ( $value == $this->query_vars['meta_key'] || $value == 'meta_value' ) { - $ordersby[ $key ] = "$wpdb->commentmeta.meta_value"; - } elseif ( $value == 'meta_value_num' ) { - $ordersby[ $key ] = "$wpdb->commentmeta.meta_value+0"; - } - } - $orderby = empty( $ordersby ) ? 'comment_date_gmt' : implode(', ', $ordersby); - } else { - $orderby = 'comment_date_gmt'; - } - - $number = absint( $this->query_vars['number'] ); - $offset = absint( $this->query_vars['offset'] ); - - if ( ! empty( $number ) ) { - if ( $offset ) { - $limits = 'LIMIT ' . $offset . ',' . $number; - } else { - $limits = 'LIMIT ' . $number; - } - } else { - $limits = ''; - } - - if ( $this->query_vars['count'] ) { - $fields = 'COUNT(*)'; - } else { - switch ( strtolower( $this->query_vars['fields'] ) ) { - case 'ids': - $fields = "$wpdb->comments.comment_ID"; - break; - default: - $fields = "*"; - break; - } - } - - $join = ''; - $where = $approved; - - $post_id = absint( $this->query_vars['post_id'] ); - if ( ! empty( $post_id ) ) { - $where .= $wpdb->prepare( ' AND comment_post_ID = %d', $post_id ); - } - - if ( '' !== $this->query_vars['author_email'] ) { - $where .= $wpdb->prepare( ' AND comment_author_email = %s', $this->query_vars['author_email'] ); - } - - if ( '' !== $this->query_vars['karma'] ) { - $where .= $wpdb->prepare( ' AND comment_karma = %d', $this->query_vars['karma'] ); - } - - if ( 'comment' == $this->query_vars['type'] ) { - $where .= " AND comment_type = ''"; - } elseif( 'pings' == $this->query_vars['type'] ) { - $where .= ' AND comment_type IN ("pingback", "trackback")'; - } elseif ( ! empty( $this->query_vars['type'] ) ) { - $where .= $wpdb->prepare( ' AND comment_type = %s', $this->query_vars['type'] ); - } - - if ( '' !== $this->query_vars['parent'] ) { - $where .= $wpdb->prepare( ' AND comment_parent = %d', $this->query_vars['parent'] ); - } - - if ( is_array( $this->query_vars['user_id'] ) ) { - $where .= ' AND user_id IN (' . implode( ',', array_map( 'absint', $this->query_vars['user_id'] ) ) . ')'; - } elseif ( '' !== $this->query_vars['user_id'] ) { - $where .= $wpdb->prepare( ' AND user_id = %d', $this->query_vars['user_id'] ); - } - - if ( '' !== $this->query_vars['search'] ) { - $where .= $this->get_search_sql( - $this->query_vars['search'], - array( 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_author_IP', 'comment_content' ) - ); - } - - $plucked = wp_array_slice_assoc( $this->query_vars, array( 'post_author', 'post_name', 'post_parent', 'post_status', 'post_type' ) ); - $post_fields = array_filter( $plucked ); - - if ( ! empty( $post_fields ) ) { - $join = "JOIN $wpdb->posts ON $wpdb->posts.ID = $wpdb->comments.comment_post_ID"; - foreach( $post_fields as $field_name => $field_value ) - $where .= $wpdb->prepare( " AND {$wpdb->posts}.{$field_name} = %s", $field_value ); - } - - if ( ! empty( $this->meta_query->queries ) ) { - $clauses = $this->meta_query->get_sql( 'comment', $wpdb->comments, 'comment_ID', $this ); - $join .= $clauses['join']; - $where .= $clauses['where']; - $groupby = "{$wpdb->comments}.comment_ID"; - } - - $date_query = $this->query_vars['date_query']; - if ( ! empty( $date_query ) && is_array( $date_query ) ) { - $date_query_object = new WP_Date_Query( $date_query, 'comment_date' ); - $where .= $date_query_object->get_sql(); - } - - $pieces = array( 'fields', 'join', 'where', 'orderby', 'order', 'limits', 'groupby' ); - /** - * Filter the comment query clauses. - * - * @since 3.1.0 - * - * @param array $pieces A compacted array of comment query clauses. - * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference. - */ - $clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) ); - - $fields = isset( $clauses[ 'fields' ] ) ? $clauses[ 'fields' ] : ''; - $join = isset( $clauses[ 'join' ] ) ? $clauses[ 'join' ] : ''; - $where = isset( $clauses[ 'where' ] ) ? $clauses[ 'where' ] : ''; - $orderby = isset( $clauses[ 'orderby' ] ) ? $clauses[ 'orderby' ] : ''; - $order = isset( $clauses[ 'order' ] ) ? $clauses[ 'order' ] : ''; - $limits = isset( $clauses[ 'limits' ] ) ? $clauses[ 'limits' ] : ''; - $groupby = isset( $clauses[ 'groupby' ] ) ? $clauses[ 'groupby' ] : ''; - - if ( $groupby ) { - $groupby = 'GROUP BY ' . $groupby; - } - $query = "SELECT $fields FROM $wpdb->comments $join WHERE $where $groupby ORDER BY $orderby $order $limits"; - - if ( $this->query_vars['count'] ) { - return $wpdb->get_var( $query ); - } - - if ( 'ids' == $this->query_vars['fields'] ) { - $this->comments = $wpdb->get_col( $query ); - return array_map( 'intval', $this->comments ); - } - - $results = $wpdb->get_results( $query ); - /** - * Filter the comment query results. - * - * @since 3.1.0 - * - * @param array $results An array of comments. - * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference. - */ - $comments = apply_filters_ref_array( 'the_comments', array( $results, &$this ) ); - - wp_cache_add( $cache_key, $comments, 'comment' ); - - return $comments; - } - - /** - * Used internally to generate an SQL string for searching across multiple columns - * - * @access protected - * @since 3.1.0 - * - * @param string $string - * @param array $cols - * @return string - */ - protected function get_search_sql( $string, $cols ) { - global $wpdb; - - $like = '%' . $wpdb->esc_like( $string ) . '%'; - - $searches = array(); - foreach ( $cols as $col ) { - $searches[] = $wpdb->prepare( "$col LIKE %s", $like ); - } - - return ' AND (' . implode(' OR ', $searches) . ')'; - } -} - -/** - * Retrieve all of the WordPress supported comment statuses. - * - * Comments have a limited set of valid status values, this provides the comment - * status values and descriptions. - * - * @since 2.7.0 - * - * @return array List of comment statuses. - */ -function get_comment_statuses() { - $status = array( - 'hold' => __('Unapproved'), - /* translators: comment status */ - 'approve' => _x('Approved', 'adjective'), - /* translators: comment status */ - 'spam' => _x('Spam', 'adjective'), - ); - - return $status; -} - -/** - * The date the last comment was modified. - * - * @since 1.5.0 - * @uses $wpdb - * - * @param string $timezone Which timezone to use in reference to 'gmt', 'blog', - * or 'server' locations. - * @return string Last comment modified date. - */ -function get_lastcommentmodified($timezone = 'server') { - global $wpdb; - static $cache_lastcommentmodified = array(); - - if ( isset($cache_lastcommentmodified[$timezone]) ) - return $cache_lastcommentmodified[$timezone]; - - $add_seconds_server = date('Z'); - - switch ( strtolower($timezone)) { - case 'gmt': - $lastcommentmodified = $wpdb->get_var("SELECT comment_date_gmt FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 1"); - break; - case 'blog': - $lastcommentmodified = $wpdb->get_var("SELECT comment_date FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 1"); - break; - case 'server': - $lastcommentmodified = $wpdb->get_var($wpdb->prepare("SELECT DATE_ADD(comment_date_gmt, INTERVAL %s SECOND) FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 1", $add_seconds_server)); - break; - } - - $cache_lastcommentmodified[$timezone] = $lastcommentmodified; - - return $lastcommentmodified; -} - -/** - * The amount of comments in a post or total comments. - * - * A lot like {@link wp_count_comments()}, in that they both return comment - * stats (albeit with different types). The {@link wp_count_comments()} actual - * caches, but this function does not. - * - * @since 2.0.0 - * @uses $wpdb - * - * @param int $post_id Optional. Comment amount in post if > 0, else total comments blog wide. - * @return array The amount of spam, approved, awaiting moderation, and total comments. - */ -function get_comment_count( $post_id = 0 ) { - global $wpdb; - - $post_id = (int) $post_id; - - $where = ''; - if ( $post_id > 0 ) { - $where = $wpdb->prepare("WHERE comment_post_ID = %d", $post_id); - } - - $totals = (array) $wpdb->get_results(" - SELECT comment_approved, COUNT( * ) AS total - FROM {$wpdb->comments} - {$where} - GROUP BY comment_approved - ", ARRAY_A); - - $comment_count = array( - "approved" => 0, - "awaiting_moderation" => 0, - "spam" => 0, - "total_comments" => 0 - ); - - foreach ( $totals as $row ) { - switch ( $row['comment_approved'] ) { - case 'spam': - $comment_count['spam'] = $row['total']; - $comment_count["total_comments"] += $row['total']; - break; - case 1: - $comment_count['approved'] = $row['total']; - $comment_count['total_comments'] += $row['total']; - break; - case 0: - $comment_count['awaiting_moderation'] = $row['total']; - $comment_count['total_comments'] += $row['total']; - break; - default: - break; - } - } - - return $comment_count; -} - -// -// Comment meta functions -// - -/** - * Add meta data field to a comment. - * - * @since 2.9.0 - * @uses add_metadata - * @link http://codex.wordpress.org/Function_Reference/add_comment_meta - * - * @param int $comment_id Comment ID. - * @param string $meta_key Metadata name. - * @param mixed $meta_value Metadata value. - * @param bool $unique Optional, default is false. Whether the same key should not be added. - * @return int|bool Meta ID on success, false on failure. - */ -function add_comment_meta($comment_id, $meta_key, $meta_value, $unique = false) { - return add_metadata('comment', $comment_id, $meta_key, $meta_value, $unique); -} - -/** - * Remove metadata matching criteria from a comment. - * - * You can match based on the key, or key and value. Removing based on key and - * value, will keep from removing duplicate metadata with the same key. It also - * allows removing all metadata matching key, if needed. - * - * @since 2.9.0 - * @uses delete_metadata - * @link http://codex.wordpress.org/Function_Reference/delete_comment_meta - * - * @param int $comment_id comment ID - * @param string $meta_key Metadata name. - * @param mixed $meta_value Optional. Metadata value. - * @return bool True on success, false on failure. - */ -function delete_comment_meta($comment_id, $meta_key, $meta_value = '') { - return delete_metadata('comment', $comment_id, $meta_key, $meta_value); -} - -/** - * Retrieve comment meta field for a comment. - * - * @since 2.9.0 - * @uses get_metadata - * @link http://codex.wordpress.org/Function_Reference/get_comment_meta - * - * @param int $comment_id Comment ID. - * @param string $key Optional. The meta key to retrieve. By default, returns data for all keys. - * @param bool $single Whether to return a single value. - * @return mixed Will be an array if $single is false. Will be value of meta data field if $single - * is true. - */ -function get_comment_meta($comment_id, $key = '', $single = false) { - return get_metadata('comment', $comment_id, $key, $single); -} - -/** - * Update comment meta field based on comment ID. - * - * Use the $prev_value parameter to differentiate between meta fields with the - * same key and comment ID. - * - * If the meta field for the comment does not exist, it will be added. - * - * @since 2.9.0 - * @uses update_metadata - * @link http://codex.wordpress.org/Function_Reference/update_comment_meta - * - * @param int $comment_id Comment ID. - * @param string $meta_key Metadata key. - * @param mixed $meta_value Metadata value. - * @param mixed $prev_value Optional. Previous value to check before removing. - * @return int|bool Meta ID if the key didn't exist, true on successful update, false on failure. - */ -function update_comment_meta($comment_id, $meta_key, $meta_value, $prev_value = '') { - return update_metadata('comment', $comment_id, $meta_key, $meta_value, $prev_value); -} - -/** - * Sets the cookies used to store an unauthenticated commentator's identity. Typically used - * to recall previous comments by this commentator that are still held in moderation. - * - * @param object $comment Comment object. - * @param object $user Comment author's object. - * - * @since 3.4.0 - */ -function wp_set_comment_cookies($comment, $user) { - if ( $user->exists() ) - return; - - /** - * Filter the lifetime of the comment cookie in seconds. - * - * @since 2.8.0 - * - * @param int $seconds Comment cookie lifetime. Default 30000000. - */ - $comment_cookie_lifetime = apply_filters( 'comment_cookie_lifetime', 30000000 ); - $secure = ( 'https' === parse_url( home_url(), PHP_URL_SCHEME ) ); - setcookie( 'comment_author_' . COOKIEHASH, $comment->comment_author, time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN, $secure ); - setcookie( 'comment_author_email_' . COOKIEHASH, $comment->comment_author_email, time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN, $secure ); - setcookie( 'comment_author_url_' . COOKIEHASH, esc_url($comment->comment_author_url), time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN, $secure ); -} - -/** - * Sanitizes the cookies sent to the user already. - * - * Will only do anything if the cookies have already been created for the user. - * Mostly used after cookies had been sent to use elsewhere. - * - * @since 2.0.4 - */ -function sanitize_comment_cookies() { - if ( isset( $_COOKIE['comment_author_' . COOKIEHASH] ) ) { - /** - * Filter the comment author's name cookie before it is set. - * - * When this filter hook is evaluated in wp_filter_comment(), - * the comment author's name string is passed. - * - * @since 1.5.0 - * - * @param string $author_cookie The comment author name cookie. - */ - $comment_author = apply_filters( 'pre_comment_author_name', $_COOKIE['comment_author_' . COOKIEHASH] ); - $comment_author = wp_unslash($comment_author); - $comment_author = esc_attr($comment_author); - $_COOKIE['comment_author_' . COOKIEHASH] = $comment_author; - } - - if ( isset( $_COOKIE['comment_author_email_' . COOKIEHASH] ) ) { - /** - * Filter the comment author's email cookie before it is set. - * - * When this filter hook is evaluated in wp_filter_comment(), - * the comment author's email string is passed. - * - * @since 1.5.0 - * - * @param string $author_email_cookie The comment author email cookie. - */ - $comment_author_email = apply_filters( 'pre_comment_author_email', $_COOKIE['comment_author_email_' . COOKIEHASH] ); - $comment_author_email = wp_unslash($comment_author_email); - $comment_author_email = esc_attr($comment_author_email); - $_COOKIE['comment_author_email_'.COOKIEHASH] = $comment_author_email; - } - - if ( isset( $_COOKIE['comment_author_url_' . COOKIEHASH] ) ) { - /** - * Filter the comment author's URL cookie before it is set. - * - * When this filter hook is evaluated in wp_filter_comment(), - * the comment author's URL string is passed. - * - * @since 1.5.0 - * - * @param string $author_url_cookie The comment author URL cookie. - */ - $comment_author_url = apply_filters( 'pre_comment_author_url', $_COOKIE['comment_author_url_' . COOKIEHASH] ); - $comment_author_url = wp_unslash($comment_author_url); - $_COOKIE['comment_author_url_'.COOKIEHASH] = $comment_author_url; - } -} - -/** - * Validates whether this comment is allowed to be made. - * - * @since 2.0.0 - * @uses $wpdb - * - * @param array $commentdata Contains information on the comment - * @return mixed Signifies the approval status (0|1|'spam') - */ -function wp_allow_comment( $commentdata ) { - global $wpdb; - - // Simple duplicate check - // expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content) - $dupe = $wpdb->prepare( - "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_parent = %s AND comment_approved != 'trash' AND ( comment_author = %s ", - wp_unslash( $commentdata['comment_post_ID'] ), - wp_unslash( $commentdata['comment_parent'] ), - wp_unslash( $commentdata['comment_author'] ) - ); - if ( $commentdata['comment_author_email'] ) { - $dupe .= $wpdb->prepare( - "OR comment_author_email = %s ", - wp_unslash( $commentdata['comment_author_email'] ) - ); - } - $dupe .= $wpdb->prepare( - ") AND comment_content = %s LIMIT 1", - wp_unslash( $commentdata['comment_content'] ) - ); - if ( $wpdb->get_var( $dupe ) ) { - /** - * Fires immediately after a duplicate comment is detected. - * - * @since 3.0.0 - * - * @param array $commentdata Comment data. - */ - do_action( 'comment_duplicate_trigger', $commentdata ); - if ( defined( 'DOING_AJAX' ) ) { - die( __('Duplicate comment detected; it looks as though you’ve already said that!') ); - } - wp_die( __('Duplicate comment detected; it looks as though you’ve already said that!') ); - } - - /** - * Fires immediately before a comment is marked approved. - * - * Allows checking for comment flooding. - * - * @since 2.3.0 - * - * @param string $comment_author_IP Comment author's IP address. - * @param string $comment_author_email Comment author's email. - * @param string $comment_date_gmt GMT date the comment was posted. - */ - do_action( - 'check_comment_flood', - $commentdata['comment_author_IP'], - $commentdata['comment_author_email'], - $commentdata['comment_date_gmt'] - ); - - if ( ! empty( $commentdata['user_id'] ) ) { - $user = get_userdata( $commentdata['user_id'] ); - $post_author = $wpdb->get_var( $wpdb->prepare( - "SELECT post_author FROM $wpdb->posts WHERE ID = %d LIMIT 1", - $commentdata['comment_post_ID'] - ) ); - } - - if ( isset( $user ) && ( $commentdata['user_id'] == $post_author || $user->has_cap( 'moderate_comments' ) ) ) { - // The author and the admins get respect. - $approved = 1; - } else { - // Everyone else's comments will be checked. - if ( check_comment( - $commentdata['comment_author'], - $commentdata['comment_author_email'], - $commentdata['comment_author_url'], - $commentdata['comment_content'], - $commentdata['comment_author_IP'], - $commentdata['comment_agent'], - $commentdata['comment_type'] - ) ) { - $approved = 1; - } else { - $approved = 0; - } - - if ( wp_blacklist_check( - $commentdata['comment_author'], - $commentdata['comment_author_email'], - $commentdata['comment_author_url'], - $commentdata['comment_content'], - $commentdata['comment_author_IP'], - $commentdata['comment_agent'] - ) ) { - $approved = 'spam'; - } - } - - /** - * Filter a comment's approval status before it is set. - * - * @since 2.1.0 - * - * @param bool|string $approved The approval status. Accepts 1, 0, or 'spam'. - * @param array $commentdata Comment data. - */ - $approved = apply_filters( 'pre_comment_approved', $approved, $commentdata ); - return $approved; -} - -/** - * Check whether comment flooding is occurring. - * - * Won't run, if current user can manage options, so to not block - * administrators. - * - * @since 2.3.0 - * @uses $wpdb - * - * @param string $ip Comment IP. - * @param string $email Comment author email address. - * @param string $date MySQL time string. - */ -function check_comment_flood_db( $ip, $email, $date ) { - global $wpdb; - if ( current_user_can( 'manage_options' ) ) - return; // don't throttle admins - $hour_ago = gmdate( 'Y-m-d H:i:s', time() - HOUR_IN_SECONDS ); - if ( $lasttime = $wpdb->get_var( $wpdb->prepare( "SELECT `comment_date_gmt` FROM `$wpdb->comments` WHERE `comment_date_gmt` >= %s AND ( `comment_author_IP` = %s OR `comment_author_email` = %s ) ORDER BY `comment_date_gmt` DESC LIMIT 1", $hour_ago, $ip, $email ) ) ) { - $time_lastcomment = mysql2date('U', $lasttime, false); - $time_newcomment = mysql2date('U', $date, false); - /** - * Filter the comment flood status. - * - * @since 2.1.0 - * - * @param bool $bool Whether a comment flood is occurring. Default false. - * @param int $time_lastcomment Timestamp of when the last comment was posted. - * @param int $time_newcomment Timestamp of when the new comment was posted. - */ - $flood_die = apply_filters( 'comment_flood_filter', false, $time_lastcomment, $time_newcomment ); - if ( $flood_die ) { - /** - * Fires before the comment flood message is triggered. - * - * @since 1.5.0 - * - * @param int $time_lastcomment Timestamp of when the last comment was posted. - * @param int $time_newcomment Timestamp of when the new comment was posted. - */ - do_action( 'comment_flood_trigger', $time_lastcomment, $time_newcomment ); - - if ( defined('DOING_AJAX') ) - die( __('You are posting comments too quickly. Slow down.') ); - - wp_die( __('You are posting comments too quickly. Slow down.'), '', array('response' => 403) ); - } - } -} - -/** - * Separates an array of comments into an array keyed by comment_type. - * - * @since 2.7.0 - * - * @param array $comments Array of comments - * @return array Array of comments keyed by comment_type. - */ -function separate_comments(&$comments) { - $comments_by_type = array('comment' => array(), 'trackback' => array(), 'pingback' => array(), 'pings' => array()); - $count = count($comments); - for ( $i = 0; $i < $count; $i++ ) { - $type = $comments[$i]->comment_type; - if ( empty($type) ) - $type = 'comment'; - $comments_by_type[$type][] = &$comments[$i]; - if ( 'trackback' == $type || 'pingback' == $type ) - $comments_by_type['pings'][] = &$comments[$i]; - } - - return $comments_by_type; -} - -/** - * Calculate the total number of comment pages. - * - * @since 2.7.0 - * - * @uses Walker_Comment - * - * @param array $comments Optional array of comment objects. Defaults to $wp_query->comments - * @param int $per_page Optional comments per page. - * @param boolean $threaded Optional control over flat or threaded comments. - * @return int Number of comment pages. - */ -function get_comment_pages_count( $comments = null, $per_page = null, $threaded = null ) { - global $wp_query; - - if ( null === $comments && null === $per_page && null === $threaded && !empty($wp_query->max_num_comment_pages) ) - return $wp_query->max_num_comment_pages; - - if ( ( ! $comments || ! is_array( $comments ) ) && ! empty( $wp_query->comments ) ) - $comments = $wp_query->comments; - - if ( empty($comments) ) - return 0; - - if ( ! get_option( 'page_comments' ) ) - return 1; - - if ( !isset($per_page) ) - $per_page = (int) get_query_var('comments_per_page'); - if ( 0 === $per_page ) - $per_page = (int) get_option('comments_per_page'); - if ( 0 === $per_page ) - return 1; - - if ( !isset($threaded) ) - $threaded = get_option('thread_comments'); - - if ( $threaded ) { - $walker = new Walker_Comment; - $count = ceil( $walker->get_number_of_root_elements( $comments ) / $per_page ); - } else { - $count = ceil( count( $comments ) / $per_page ); - } - - return $count; -} - -/** - * Calculate what page number a comment will appear on for comment paging. - * - * @since 2.7.0 - * @uses get_comment() Gets the full comment of the $comment_ID parameter. - * @uses get_option() Get various settings to control function and defaults. - * @uses get_page_of_comment() Used to loop up to top level comment. - * - * @param int $comment_ID Comment ID. - * @param array $args Optional args. - * @return int|null Comment page number or null on error. - */ -function get_page_of_comment( $comment_ID, $args = array() ) { - global $wpdb; - - if ( !$comment = get_comment( $comment_ID ) ) - return; - - $defaults = array( 'type' => 'all', 'page' => '', 'per_page' => '', 'max_depth' => '' ); - $args = wp_parse_args( $args, $defaults ); - - if ( '' === $args['per_page'] && get_option('page_comments') ) - $args['per_page'] = get_query_var('comments_per_page'); - if ( empty($args['per_page']) ) { - $args['per_page'] = 0; - $args['page'] = 0; - } - if ( $args['per_page'] < 1 ) - return 1; - - if ( '' === $args['max_depth'] ) { - if ( get_option('thread_comments') ) - $args['max_depth'] = get_option('thread_comments_depth'); - else - $args['max_depth'] = -1; - } - - // Find this comment's top level parent if threading is enabled - if ( $args['max_depth'] > 1 && 0 != $comment->comment_parent ) - return get_page_of_comment( $comment->comment_parent, $args ); - - $allowedtypes = array( - 'comment' => '', - 'pingback' => 'pingback', - 'trackback' => 'trackback', - ); - - $comtypewhere = ( 'all' != $args['type'] && isset($allowedtypes[$args['type']]) ) ? " AND comment_type = '" . $allowedtypes[$args['type']] . "'" : ''; - - // Count comments older than this one - $oldercoms = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(comment_ID) FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_parent = 0 AND comment_approved = '1' AND comment_date_gmt < '%s'" . $comtypewhere, $comment->comment_post_ID, $comment->comment_date_gmt ) ); - - // No older comments? Then it's page #1. - if ( 0 == $oldercoms ) - return 1; - - // Divide comments older than this one by comments per page to get this comment's page number - return ceil( ( $oldercoms + 1 ) / $args['per_page'] ); -} - -/** - * Does comment contain blacklisted characters or words. - * - * @since 1.5.0 - * - * @param string $author The author of the comment - * @param string $email The email of the comment - * @param string $url The url used in the comment - * @param string $comment The comment content - * @param string $user_ip The comment author IP address - * @param string $user_agent The author's browser user agent - * @return bool True if comment contains blacklisted content, false if comment does not - */ -function wp_blacklist_check($author, $email, $url, $comment, $user_ip, $user_agent) { - /** - * Fires before the comment is tested for blacklisted characters or words. - * - * @since 1.5.0 - * - * @param string $author Comment author. - * @param string $email Comment author's email. - * @param string $url Comment author's URL. - * @param string $comment Comment content. - * @param string $user_ip Comment author's IP address. - * @param string $user_agent Comment author's browser user agent. - */ - do_action( 'wp_blacklist_check', $author, $email, $url, $comment, $user_ip, $user_agent ); - - $mod_keys = trim( get_option('blacklist_keys') ); - if ( '' == $mod_keys ) - return false; // If moderation keys are empty - $words = explode("\n", $mod_keys ); - - foreach ( (array) $words as $word ) { - $word = trim($word); - - // Skip empty lines - if ( empty($word) ) { continue; } - - // Do some escaping magic so that '#' chars in the - // spam words don't break things: - $word = preg_quote($word, '#'); - - $pattern = "#$word#i"; - if ( - preg_match($pattern, $author) - || preg_match($pattern, $email) - || preg_match($pattern, $url) - || preg_match($pattern, $comment) - || preg_match($pattern, $user_ip) - || preg_match($pattern, $user_agent) - ) - return true; - } - return false; -} - -/** - * Retrieve total comments for blog or single post. - * - * The properties of the returned object contain the 'moderated', 'approved', - * and spam comments for either the entire blog or single post. Those properties - * contain the amount of comments that match the status. The 'total_comments' - * property contains the integer of total comments. - * - * The comment stats are cached and then retrieved, if they already exist in the - * cache. - * - * @since 2.5.0 - * - * @param int $post_id Optional. Post ID. - * @return object Comment stats. - */ -function wp_count_comments( $post_id = 0 ) { - global $wpdb; - - $post_id = (int) $post_id; - - /** - * Filter the comments count for a given post. - * - * @since 2.7.0 - * - * @param array $count An empty array. - * @param int $post_id The post ID. - */ - $stats = apply_filters( 'wp_count_comments', array(), $post_id ); - if ( !empty($stats) ) - return $stats; - - $count = wp_cache_get("comments-{$post_id}", 'counts'); - - if ( false !== $count ) - return $count; - - $where = ''; - if ( $post_id > 0 ) - $where = $wpdb->prepare( "WHERE comment_post_ID = %d", $post_id ); - - $count = $wpdb->get_results( "SELECT comment_approved, COUNT( * ) AS num_comments FROM {$wpdb->comments} {$where} GROUP BY comment_approved", ARRAY_A ); - - $total = 0; - $approved = array('0' => 'moderated', '1' => 'approved', 'spam' => 'spam', 'trash' => 'trash', 'post-trashed' => 'post-trashed'); - foreach ( (array) $count as $row ) { - // Don't count post-trashed toward totals - if ( 'post-trashed' != $row['comment_approved'] && 'trash' != $row['comment_approved'] ) - $total += $row['num_comments']; - if ( isset( $approved[$row['comment_approved']] ) ) - $stats[$approved[$row['comment_approved']]] = $row['num_comments']; - } - - $stats['total_comments'] = $total; - foreach ( $approved as $key ) { - if ( empty($stats[$key]) ) - $stats[$key] = 0; - } - - $stats = (object) $stats; - wp_cache_set("comments-{$post_id}", $stats, 'counts'); - - return $stats; -} - -/** - * Trashes or deletes a comment. - * - * The comment is moved to trash instead of permanently deleted unless trash is - * disabled, item is already in the trash, or $force_delete is true. - * - * The post comment count will be updated if the comment was approved and has a - * post ID available. - * - * @since 2.0.0 - * @uses $wpdb - * @uses wp_transition_comment_status() Passes new and old comment status along with $comment object - * - * @param int $comment_id Comment ID - * @param bool $force_delete Whether to bypass trash and force deletion. Default is false. - * @return bool True on success, false on failure. - */ -function wp_delete_comment($comment_id, $force_delete = false) { - global $wpdb; - if (!$comment = get_comment($comment_id)) - return false; - - if ( !$force_delete && EMPTY_TRASH_DAYS && !in_array( wp_get_comment_status($comment_id), array( 'trash', 'spam' ) ) ) - return wp_trash_comment($comment_id); - - /** - * Fires immediately before a comment is deleted from the database. - * - * @since 1.2.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'delete_comment', $comment_id ); - - // Move children up a level. - $children = $wpdb->get_col( $wpdb->prepare("SELECT comment_ID FROM $wpdb->comments WHERE comment_parent = %d", $comment_id) ); - if ( !empty($children) ) { - $wpdb->update($wpdb->comments, array('comment_parent' => $comment->comment_parent), array('comment_parent' => $comment_id)); - clean_comment_cache($children); - } - - // Delete metadata - $meta_ids = $wpdb->get_col( $wpdb->prepare( "SELECT meta_id FROM $wpdb->commentmeta WHERE comment_id = %d", $comment_id ) ); - foreach ( $meta_ids as $mid ) - delete_metadata_by_mid( 'comment', $mid ); - - if ( ! $wpdb->delete( $wpdb->comments, array( 'comment_ID' => $comment_id ) ) ) - return false; - - /** - * Fires immediately after a comment is deleted from the database. - * - * @since 2.9.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'deleted_comment', $comment_id ); - - $post_id = $comment->comment_post_ID; - if ( $post_id && $comment->comment_approved == 1 ) - wp_update_comment_count($post_id); - - clean_comment_cache($comment_id); - - /** This action is documented in wp-includes/comment.php */ - do_action( 'wp_set_comment_status', $comment_id, 'delete' ); - - wp_transition_comment_status('delete', $comment->comment_approved, $comment); - return true; -} - -/** - * Moves a comment to the Trash - * - * If trash is disabled, comment is permanently deleted. - * - * @since 2.9.0 - * - * @uses wp_delete_comment() if trash is disabled - * - * @param int $comment_id Comment ID. - * @return bool True on success, false on failure. - */ -function wp_trash_comment($comment_id) { - if ( !EMPTY_TRASH_DAYS ) - return wp_delete_comment($comment_id, true); - - if ( !$comment = get_comment($comment_id) ) - return false; - - /** - * Fires immediately before a comment is sent to the Trash. - * - * @since 2.9.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'trash_comment', $comment_id ); - - if ( wp_set_comment_status($comment_id, 'trash') ) { - add_comment_meta($comment_id, '_wp_trash_meta_status', $comment->comment_approved); - add_comment_meta($comment_id, '_wp_trash_meta_time', time() ); - - /** - * Fires immediately after a comment is sent to Trash. - * - * @since 2.9.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'trashed_comment', $comment_id ); - return true; - } - - return false; -} - -/** - * Removes a comment from the Trash - * - * @since 2.9.0 - * - * @param int $comment_id Comment ID. - * @return bool True on success, false on failure. - */ -function wp_untrash_comment($comment_id) { - if ( ! (int)$comment_id ) - return false; - - /** - * Fires immediately before a comment is restored from the Trash. - * - * @since 2.9.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'untrash_comment', $comment_id ); - - $status = (string) get_comment_meta($comment_id, '_wp_trash_meta_status', true); - if ( empty($status) ) - $status = '0'; - - if ( wp_set_comment_status($comment_id, $status) ) { - delete_comment_meta($comment_id, '_wp_trash_meta_time'); - delete_comment_meta($comment_id, '_wp_trash_meta_status'); - /** - * Fires immediately after a comment is restored from the Trash. - * - * @since 2.9.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'untrashed_comment', $comment_id ); - return true; - } - - return false; -} - -/** - * Marks a comment as Spam - * - * @since 2.9.0 - * - * @param int $comment_id Comment ID. - * @return bool True on success, false on failure. - */ -function wp_spam_comment($comment_id) { - if ( !$comment = get_comment($comment_id) ) - return false; - - /** - * Fires immediately before a comment is marked as Spam. - * - * @since 2.9.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'spam_comment', $comment_id ); - - if ( wp_set_comment_status($comment_id, 'spam') ) { - add_comment_meta($comment_id, '_wp_trash_meta_status', $comment->comment_approved); - /** - * Fires immediately after a comment is marked as Spam. - * - * @since 2.9.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'spammed_comment', $comment_id ); - return true; - } - - return false; -} - -/** - * Removes a comment from the Spam - * - * @since 2.9.0 - * - * @param int $comment_id Comment ID. - * @return bool True on success, false on failure. - */ -function wp_unspam_comment($comment_id) { - if ( ! (int)$comment_id ) - return false; - - /** - * Fires immediately before a comment is unmarked as Spam. - * - * @since 2.9.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'unspam_comment', $comment_id ); - - $status = (string) get_comment_meta($comment_id, '_wp_trash_meta_status', true); - if ( empty($status) ) - $status = '0'; - - if ( wp_set_comment_status($comment_id, $status) ) { - delete_comment_meta($comment_id, '_wp_trash_meta_status'); - /** - * Fires immediately after a comment is unmarked as Spam. - * - * @since 2.9.0 - * - * @param int $comment_id The comment ID. - */ - do_action( 'unspammed_comment', $comment_id ); - return true; - } - - return false; -} - -/** - * The status of a comment by ID. - * - * @since 1.0.0 - * - * @param int $comment_id Comment ID - * @return string|bool Status might be 'trash', 'approved', 'unapproved', 'spam'. False on failure. - */ -function wp_get_comment_status($comment_id) { - $comment = get_comment($comment_id); - if ( !$comment ) - return false; - - $approved = $comment->comment_approved; - - if ( $approved == null ) - return false; - elseif ( $approved == '1' ) - return 'approved'; - elseif ( $approved == '0' ) - return 'unapproved'; - elseif ( $approved == 'spam' ) - return 'spam'; - elseif ( $approved == 'trash' ) - return 'trash'; - else - return false; -} - -/** - * Call hooks for when a comment status transition occurs. - * - * Calls hooks for comment status transitions. If the new comment status is not the same - * as the previous comment status, then two hooks will be ran, the first is - * 'transition_comment_status' with new status, old status, and comment data. The - * next action called is 'comment_OLDSTATUS_to_NEWSTATUS' the NEWSTATUS is the - * $new_status parameter and the OLDSTATUS is $old_status parameter; it has the - * comment data. - * - * The final action will run whether or not the comment statuses are the same. The - * action is named 'comment_NEWSTATUS_COMMENTTYPE', NEWSTATUS is from the $new_status - * parameter and COMMENTTYPE is comment_type comment data. - * - * @since 2.7.0 - * - * @param string $new_status New comment status. - * @param string $old_status Previous comment status. - * @param object $comment Comment data. - */ -function wp_transition_comment_status($new_status, $old_status, $comment) { - /* - * Translate raw statuses to human readable formats for the hooks. - * This is not a complete list of comment status, it's only the ones - * that need to be renamed - */ - $comment_statuses = array( - 0 => 'unapproved', - 'hold' => 'unapproved', // wp_set_comment_status() uses "hold" - 1 => 'approved', - 'approve' => 'approved', // wp_set_comment_status() uses "approve" - ); - if ( isset($comment_statuses[$new_status]) ) $new_status = $comment_statuses[$new_status]; - if ( isset($comment_statuses[$old_status]) ) $old_status = $comment_statuses[$old_status]; - - // Call the hooks - if ( $new_status != $old_status ) { - /** - * Fires when the comment status is in transition. - * - * @since 2.7.0 - * - * @param int|string $new_status The new comment status. - * @param int|string $old_status The old comment status. - * @param object $comment The comment data. - */ - do_action( 'transition_comment_status', $new_status, $old_status, $comment ); - /** - * Fires when the comment status is in transition from one specific status to another. - * - * The dynamic portions of the hook name, $old_status, and $new_status, - * refer to the old and new comment statuses, respectively. - * - * @since 2.7.0 - * - * @param object $comment Comment object. - */ - do_action( "comment_{$old_status}_to_{$new_status}", $comment ); - } - /** - * Fires when the status of a specific comment type is in transition. - * - * The dynamic portions of the hook name, $new_status, and $comment->comment_type, - * refer to the new comment status, and the type of comment, respectively. - * - * Typical comment types include an empty string (standard comment), 'pingback', - * or 'trackback'. - * - * @since 2.7.0 - * - * @param int $comment_ID The comment ID. - * @param obj $comment Comment object. - */ - do_action( "comment_{$new_status}_{$comment->comment_type}", $comment->comment_ID, $comment ); -} - -/** - * Get current commenter's name, email, and URL. - * - * Expects cookies content to already be sanitized. User of this function might - * wish to recheck the returned array for validity. - * - * @see sanitize_comment_cookies() Use to sanitize cookies - * - * @since 2.0.4 - * - * @return array Comment author, email, url respectively. - */ -function wp_get_current_commenter() { - // Cookies should already be sanitized. - - $comment_author = ''; - if ( isset($_COOKIE['comment_author_'.COOKIEHASH]) ) - $comment_author = $_COOKIE['comment_author_'.COOKIEHASH]; - - $comment_author_email = ''; - if ( isset($_COOKIE['comment_author_email_'.COOKIEHASH]) ) - $comment_author_email = $_COOKIE['comment_author_email_'.COOKIEHASH]; - - $comment_author_url = ''; - if ( isset($_COOKIE['comment_author_url_'.COOKIEHASH]) ) - $comment_author_url = $_COOKIE['comment_author_url_'.COOKIEHASH]; - - /** - * Filter the current commenter's name, email, and URL. - * - * @since 3.1.0 - * - * @param string $comment_author Comment author's name. - * @param string $comment_author_email Comment author's email. - * @param string $comment_author_url Comment author's URL. - */ - return apply_filters( 'wp_get_current_commenter', compact('comment_author', 'comment_author_email', 'comment_author_url') ); -} - -/** - * Inserts a comment to the database. - * - * The available comment data key names are 'comment_author_IP', 'comment_date', - * 'comment_date_gmt', 'comment_parent', 'comment_approved', and 'user_id'. - * - * @since 2.0.0 - * @uses $wpdb - * - * @param array $commentdata Contains information on the comment. - * @return int|bool The new comment's ID on success, false on failure. - */ -function wp_insert_comment( $commentdata ) { - global $wpdb; - $data = wp_unslash( $commentdata ); - - $comment_author = ! isset( $data['comment_author'] ) ? '' : $data['comment_author']; - $comment_author_email = ! isset( $data['comment_author_email'] ) ? '' : $data['comment_author_email']; - $comment_author_url = ! isset( $data['comment_author_url'] ) ? '' : $data['comment_author_url']; - $comment_author_IP = ! isset( $data['comment_author_IP'] ) ? '' : $data['comment_author_IP']; - - $comment_date = ! isset( $data['comment_date'] ) ? current_time( 'mysql' ) : $data['comment_date']; - $comment_date_gmt = ! isset( $data['comment_date_gmt'] ) ? get_gmt_from_date( $comment_date ) : $data['comment_date_gmt']; - - $comment_post_ID = ! isset( $data['comment_post_ID'] ) ? '' : $data['comment_post_ID']; - $comment_content = ! isset( $data['comment_content'] ) ? '' : $data['comment_content']; - $comment_karma = ! isset( $data['comment_karma'] ) ? 0 : $data['comment_karma']; - $comment_approved = ! isset( $data['comment_approved'] ) ? 1 : $data['comment_approved']; - $comment_agent = ! isset( $data['comment_agent'] ) ? '' : $data['comment_agent']; - $comment_type = ! isset( $data['comment_type'] ) ? '' : $data['comment_type']; - $comment_parent = ! isset( $data['comment_parent'] ) ? 0 : $data['comment_parent']; - - $user_id = ! isset( $data['user_id'] ) ? 0 : $data['user_id']; - - $compacted = compact( 'comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_author_IP', 'comment_date', 'comment_date_gmt', 'comment_content', 'comment_karma', 'comment_approved', 'comment_agent', 'comment_type', 'comment_parent', 'user_id' ); - if ( ! $wpdb->insert( $wpdb->comments, $compacted ) ) { - return false; - } - - $id = (int) $wpdb->insert_id; - - if ( $comment_approved == 1 ) { - wp_update_comment_count( $comment_post_ID ); - } - $comment = get_comment( $id ); - - /** - * Fires immediately after a comment is inserted into the database. - * - * @since 2.8.0 - * - * @param int $id The comment ID. - * @param obj $comment Comment object. - */ - do_action( 'wp_insert_comment', $id, $comment ); - - wp_cache_set( 'last_changed', microtime(), 'comment' ); - - return $id; -} - -/** - * Filters and sanitizes comment data. - * - * Sets the comment data 'filtered' field to true when finished. This can be - * checked as to whether the comment should be filtered and to keep from - * filtering the same comment more than once. - * - * @since 2.0.0 - * - * @param array $commentdata Contains information on the comment. - * @return array Parsed comment information. - */ -function wp_filter_comment($commentdata) { - if ( isset( $commentdata['user_ID'] ) ) { - /** - * Filter the comment author's user id before it is set. - * - * The first time this filter is evaluated, 'user_ID' is checked - * (for back-compat), followed by the standard 'user_id' value. - * - * @since 1.5.0 - * - * @param int $user_ID The comment author's user ID. - */ - $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_ID'] ); - } elseif ( isset( $commentdata['user_id'] ) ) { - /** This filter is documented in wp-includes/comment.php */ - $commentdata['user_id'] = apply_filters( 'pre_user_id', $commentdata['user_id'] ); - } - - /** - * Filter the comment author's browser user agent before it is set. - * - * @since 1.5.0 - * - * @param int $comment_agent The comment author's browser user agent. - */ - $commentdata['comment_agent'] = apply_filters( 'pre_comment_user_agent', ( isset( $commentdata['comment_agent'] ) ? $commentdata['comment_agent'] : '' ) ); - /** This filter is documented in wp-includes/comment.php */ - $commentdata['comment_author'] = apply_filters( 'pre_comment_author_name', $commentdata['comment_author'] ); - /** - * Filter the comment content before it is set. - * - * @since 1.5.0 - * - * @param int $comment_content The comment content. - */ - $commentdata['comment_content'] = apply_filters( 'pre_comment_content', $commentdata['comment_content'] ); - /** - * Filter the comment author's IP before it is set. - * - * @since 1.5.0 - * - * @param int $comment_author_ip The comment author's IP. - */ - $commentdata['comment_author_IP'] = apply_filters( 'pre_comment_user_ip', $commentdata['comment_author_IP'] ); - /** This filter is documented in wp-includes/comment.php */ - $commentdata['comment_author_url'] = apply_filters( 'pre_comment_author_url', $commentdata['comment_author_url'] ); - /** This filter is documented in wp-includes/comment.php */ - $commentdata['comment_author_email'] = apply_filters( 'pre_comment_author_email', $commentdata['comment_author_email'] ); - $commentdata['filtered'] = true; - return $commentdata; -} - -/** - * Whether a comment should be blocked because of comment flood. - * - * @since 2.1.0 - * - * @param bool $block Whether plugin has already blocked comment. - * @param int $time_lastcomment Timestamp for last comment. - * @param int $time_newcomment Timestamp for new comment. - * @return bool Whether comment should be blocked. - */ -function wp_throttle_comment_flood($block, $time_lastcomment, $time_newcomment) { - if ( $block ) // a plugin has already blocked... we'll let that decision stand - return $block; - if ( ($time_newcomment - $time_lastcomment) < 15 ) - return true; - return false; -} - -/** - * Adds a new comment to the database. - * - * Filters new comment to ensure that the fields are sanitized and valid before - * inserting comment into database. Calls 'comment_post' action with comment ID - * and whether comment is approved by WordPress. Also has 'preprocess_comment' - * filter for processing the comment data before the function handles it. - * - * We use REMOTE_ADDR here directly. If you are behind a proxy, you should ensure - * that it is properly set, such as in wp-config.php, for your environment. - * See {@link http://core.trac.wordpress.org/ticket/9235} - * - * @since 1.5.0 - * @param array $commentdata Contains information on the comment. - * @return int|bool The ID of the comment on success, false on failure. - */ -function wp_new_comment( $commentdata ) { - if ( isset( $commentdata['user_ID'] ) ) { - $commentdata['user_id'] = $commentdata['user_ID'] = (int) $commentdata['user_ID']; - } - - $prefiltered_user_id = ( isset( $commentdata['user_id'] ) ) ? (int) $commentdata['user_id'] : 0; - - /** - * Filter a comment's data before it is sanitized and inserted into the database. - * - * @since 1.5.0 - * - * @param array $commentdata Comment data. - */ - $commentdata = apply_filters( 'preprocess_comment', $commentdata ); - - $commentdata['comment_post_ID'] = (int) $commentdata['comment_post_ID']; - if ( isset( $commentdata['user_ID'] ) && $prefiltered_user_id !== (int) $commentdata['user_ID'] ) { - $commentdata['user_id'] = $commentdata['user_ID'] = (int) $commentdata['user_ID']; - } elseif ( isset( $commentdata['user_id'] ) ) { - $commentdata['user_id'] = (int) $commentdata['user_id']; - } - - $commentdata['comment_parent'] = isset($commentdata['comment_parent']) ? absint($commentdata['comment_parent']) : 0; - $parent_status = ( 0 < $commentdata['comment_parent'] ) ? wp_get_comment_status($commentdata['comment_parent']) : ''; - $commentdata['comment_parent'] = ( 'approved' == $parent_status || 'unapproved' == $parent_status ) ? $commentdata['comment_parent'] : 0; - - $commentdata['comment_author_IP'] = preg_replace( '/[^0-9a-fA-F:., ]/', '',$_SERVER['REMOTE_ADDR'] ); - $commentdata['comment_agent'] = isset( $_SERVER['HTTP_USER_AGENT'] ) ? substr( $_SERVER['HTTP_USER_AGENT'], 0, 254 ) : ''; - - $commentdata['comment_date'] = current_time('mysql'); - $commentdata['comment_date_gmt'] = current_time('mysql', 1); - - $commentdata = wp_filter_comment($commentdata); - - $commentdata['comment_approved'] = wp_allow_comment($commentdata); - - $comment_ID = wp_insert_comment($commentdata); - if ( ! $comment_ID ) { - return false; - } - - /** - * Fires immediately after a comment is inserted into the database. - * - * @since 1.2.0 - * - * @param int $comment_ID The comment ID. - * @param int $comment_approved 1 (true) if the comment is approved, 0 (false) if not. - */ - do_action( 'comment_post', $comment_ID, $commentdata['comment_approved'] ); - - if ( 'spam' !== $commentdata['comment_approved'] ) { // If it's spam save it silently for later crunching - if ( '0' == $commentdata['comment_approved'] ) { - wp_notify_moderator( $comment_ID ); - } - - // wp_notify_postauthor() checks if notifying the author of their own comment. - // By default, it won't, but filters can override this. - if ( get_option( 'comments_notify' ) && $commentdata['comment_approved'] ) { - wp_notify_postauthor( $comment_ID ); - } - } - - return $comment_ID; -} - -/** - * Sets the status of a comment. - * - * The 'wp_set_comment_status' action is called after the comment is handled. - * If the comment status is not in the list, then false is returned. - * - * @since 1.0.0 - * @uses wp_transition_comment_status() Passes new and old comment status along with $comment object - * - * @param int $comment_id Comment ID. - * @param string $comment_status New comment status, either 'hold', 'approve', 'spam', or 'trash'. - * @param bool $wp_error Whether to return a WP_Error object if there is a failure. Default is false. - * @return bool|WP_Error True on success, false or WP_Error on failure. - */ -function wp_set_comment_status($comment_id, $comment_status, $wp_error = false) { - global $wpdb; - - switch ( $comment_status ) { - case 'hold': - case '0': - $status = '0'; - break; - case 'approve': - case '1': - $status = '1'; - if ( get_option('comments_notify') ) { - wp_notify_postauthor( $comment_id ); - } - break; - case 'spam': - $status = 'spam'; - break; - case 'trash': - $status = 'trash'; - break; - default: - return false; - } - - $comment_old = clone get_comment($comment_id); - - if ( !$wpdb->update( $wpdb->comments, array('comment_approved' => $status), array('comment_ID' => $comment_id) ) ) { - if ( $wp_error ) - return new WP_Error('db_update_error', __('Could not update comment status'), $wpdb->last_error); - else - return false; - } - - clean_comment_cache($comment_id); - - $comment = get_comment($comment_id); - - /** - * Fires immediately before transitioning a comment's status from one to another - * in the database. - * - * @since 1.5.0 - * - * @param int $comment_id Comment ID. - * @param string|bool $comment_status Current comment status. Possible values include - * 'hold', 'approve', 'spam', 'trash', or false. - */ - do_action( 'wp_set_comment_status', $comment_id, $comment_status ); - - wp_transition_comment_status($comment_status, $comment_old->comment_approved, $comment); - - wp_update_comment_count($comment->comment_post_ID); - - return true; -} - -/** - * Updates an existing comment in the database. - * - * Filters the comment and makes sure certain fields are valid before updating. - * - * @since 2.0.0 - * @uses $wpdb - * @uses wp_transition_comment_status() Passes new and old comment status along with $comment object - * - * @param array $commentarr Contains information on the comment. - * @return int Comment was updated if value is 1, or was not updated if value is 0. - */ -function wp_update_comment($commentarr) { - global $wpdb; - - // First, get all of the original fields - $comment = get_comment($commentarr['comment_ID'], ARRAY_A); - if ( empty( $comment ) ) { - return 0; - } - // Escape data pulled from DB. - $comment = wp_slash($comment); - - $old_status = $comment['comment_approved']; - - // Merge old and new fields with new fields overwriting old ones. - $commentarr = array_merge($comment, $commentarr); - - $commentarr = wp_filter_comment( $commentarr ); - - // Now extract the merged array. - $data = wp_unslash( $commentarr ); - - /** - * Filter the comment content before it is updated in the database. - * - * @since 1.5.0 - * - * @param string $comment_content The comment data. - */ - $data['comment_content'] = apply_filters( 'comment_save_pre', $data['comment_content'] ); - - $data['comment_date_gmt'] = get_gmt_from_date( $data['comment_date'] ); - - if ( ! isset( $data['comment_approved'] ) ) { - $data['comment_approved'] = 1; - } else if ( 'hold' == $data['comment_approved'] ) { - $data['comment_approved'] = 0; - } else if ( 'approve' == $data['comment_approved'] ) { - $data['comment_approved'] = 1; - } - - $comment_ID = $data['comment_ID']; - $comment_post_ID = $data['comment_post_ID']; - $keys = array( 'comment_content', 'comment_author', 'comment_author_email', 'comment_approved', 'comment_karma', 'comment_author_url', 'comment_date', 'comment_date_gmt', 'comment_parent' ); - $data = wp_array_slice_assoc( $data, $keys ); - $rval = $wpdb->update( $wpdb->comments, $data, compact( 'comment_ID' ) ); - - clean_comment_cache( $comment_ID ); - wp_update_comment_count( $comment_post_ID ); - /** - * Fires immediately after a comment is updated in the database. - * - * The hook also fires immediately before comment status transition hooks are fired. - * - * @since 1.2.0 - * - * @param int $comment_ID The comment ID. - */ - do_action( 'edit_comment', $comment_ID ); - $comment = get_comment($comment_ID); - wp_transition_comment_status($comment->comment_approved, $old_status, $comment); - return $rval; -} - -/** - * Whether to defer comment counting. - * - * When setting $defer to true, all post comment counts will not be updated - * until $defer is set to false. When $defer is set to false, then all - * previously deferred updated post comment counts will then be automatically - * updated without having to call wp_update_comment_count() after. - * - * @since 2.5.0 - * @staticvar bool $_defer - * - * @param bool $defer - * @return unknown - */ -function wp_defer_comment_counting($defer=null) { - static $_defer = false; - - if ( is_bool($defer) ) { - $_defer = $defer; - // flush any deferred counts - if ( !$defer ) - wp_update_comment_count( null, true ); - } - - return $_defer; -} - -/** - * Updates the comment count for post(s). - * - * When $do_deferred is false (is by default) and the comments have been set to - * be deferred, the post_id will be added to a queue, which will be updated at a - * later date and only updated once per post ID. - * - * If the comments have not be set up to be deferred, then the post will be - * updated. When $do_deferred is set to true, then all previous deferred post - * IDs will be updated along with the current $post_id. - * - * @since 2.1.0 - * @see wp_update_comment_count_now() For what could cause a false return value - * - * @param int $post_id Post ID - * @param bool $do_deferred Whether to process previously deferred post comment counts - * @return bool True on success, false on failure - */ -function wp_update_comment_count($post_id, $do_deferred=false) { - static $_deferred = array(); - - if ( $do_deferred ) { - $_deferred = array_unique($_deferred); - foreach ( $_deferred as $i => $_post_id ) { - wp_update_comment_count_now($_post_id); - unset( $_deferred[$i] ); /** @todo Move this outside of the foreach and reset $_deferred to an array instead */ - } - } - - if ( wp_defer_comment_counting() ) { - $_deferred[] = $post_id; - return true; - } - elseif ( $post_id ) { - return wp_update_comment_count_now($post_id); - } - -} - -/** - * Updates the comment count for the post. - * - * @since 2.5.0 - * @uses $wpdb - * - * @param int $post_id Post ID - * @return bool True on success, false on '0' $post_id or if post with ID does not exist. - */ -function wp_update_comment_count_now($post_id) { - global $wpdb; - $post_id = (int) $post_id; - if ( !$post_id ) - return false; - if ( !$post = get_post($post_id) ) - return false; - - $old = (int) $post->comment_count; - $new = (int) $wpdb->get_var( $wpdb->prepare("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved = '1'", $post_id) ); - $wpdb->update( $wpdb->posts, array('comment_count' => $new), array('ID' => $post_id) ); - - clean_post_cache( $post ); - - /** - * Fires immediately after a post's comment count is updated in the database. - * - * @since 2.3.0 - * - * @param int $post_id Post ID. - * @param int $new The new comment count. - * @param int $old The old comment count. - */ - do_action( 'wp_update_comment_count', $post_id, $new, $old ); - /** This action is documented in wp-includes/post.php */ - do_action( 'edit_post', $post_id, $post ); - - return true; -} - -// -// Ping and trackback functions. -// - -/** - * Finds a pingback server URI based on the given URL. - * - * Checks the HTML for the rel="pingback" link and x-pingback headers. It does - * a check for the x-pingback headers first and returns that, if available. The - * check for the rel="pingback" has more overhead than just the header. - * - * @since 1.5.0 - * - * @param string $url URL to ping. - * @param int $deprecated Not Used. - * @return bool|string False on failure, string containing URI on success. - */ -function discover_pingback_server_uri( $url, $deprecated = '' ) { - if ( !empty( $deprecated ) ) - _deprecated_argument( __FUNCTION__, '2.7' ); - - $pingback_str_dquote = 'rel="pingback"'; - $pingback_str_squote = 'rel=\'pingback\''; - - /** @todo Should use Filter Extension or custom preg_match instead. */ - $parsed_url = parse_url($url); - - if ( ! isset( $parsed_url['host'] ) ) // Not an URL. This should never happen. - return false; - - //Do not search for a pingback server on our own uploads - $uploads_dir = wp_upload_dir(); - if ( 0 === strpos($url, $uploads_dir['baseurl']) ) - return false; - - $response = wp_safe_remote_head( $url, array( 'timeout' => 2, 'httpversion' => '1.0' ) ); - - if ( is_wp_error( $response ) ) - return false; - - if ( wp_remote_retrieve_header( $response, 'x-pingback' ) ) - return wp_remote_retrieve_header( $response, 'x-pingback' ); - - // Not an (x)html, sgml, or xml page, no use going further. - if ( preg_match('#(image|audio|video|model)/#is', wp_remote_retrieve_header( $response, 'content-type' )) ) - return false; - - // Now do a GET since we're going to look in the html headers (and we're sure it's not a binary file) - $response = wp_safe_remote_get( $url, array( 'timeout' => 2, 'httpversion' => '1.0' ) ); - - if ( is_wp_error( $response ) ) - return false; - - $contents = wp_remote_retrieve_body( $response ); - - $pingback_link_offset_dquote = strpos($contents, $pingback_str_dquote); - $pingback_link_offset_squote = strpos($contents, $pingback_str_squote); - if ( $pingback_link_offset_dquote || $pingback_link_offset_squote ) { - $quote = ($pingback_link_offset_dquote) ? '"' : '\''; - $pingback_link_offset = ($quote=='"') ? $pingback_link_offset_dquote : $pingback_link_offset_squote; - $pingback_href_pos = @strpos($contents, 'href=', $pingback_link_offset); - $pingback_href_start = $pingback_href_pos+6; - $pingback_href_end = @strpos($contents, $quote, $pingback_href_start); - $pingback_server_url_len = $pingback_href_end - $pingback_href_start; - $pingback_server_url = substr($contents, $pingback_href_start, $pingback_server_url_len); - - // We may find rel="pingback" but an incomplete pingback URL - if ( $pingback_server_url_len > 0 ) { // We got it! - return $pingback_server_url; - } - } - - return false; -} - -/** - * Perform all pingbacks, enclosures, trackbacks, and send to pingback services. - * - * @since 2.1.0 - * @uses $wpdb - */ -function do_all_pings() { - global $wpdb; - - // Do pingbacks - while ($ping = $wpdb->get_row("SELECT ID, post_content, meta_id FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->postmeta}.meta_key = '_pingme' LIMIT 1")) { - delete_metadata_by_mid( 'post', $ping->meta_id ); - pingback( $ping->post_content, $ping->ID ); - } - - // Do Enclosures - while ($enclosure = $wpdb->get_row("SELECT ID, post_content, meta_id FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->postmeta}.meta_key = '_encloseme' LIMIT 1")) { - delete_metadata_by_mid( 'post', $enclosure->meta_id ); - do_enclose( $enclosure->post_content, $enclosure->ID ); - } - - // Do Trackbacks - $trackbacks = $wpdb->get_col("SELECT ID FROM $wpdb->posts WHERE to_ping <> '' AND post_status = 'publish'"); - if ( is_array($trackbacks) ) - foreach ( $trackbacks as $trackback ) - do_trackbacks($trackback); - - //Do Update Services/Generic Pings - generic_ping(); -} - -/** - * Perform trackbacks. - * - * @since 1.5.0 - * @uses $wpdb - * - * @param int $post_id Post ID to do trackbacks on. - */ -function do_trackbacks($post_id) { - global $wpdb; - - $post = get_post( $post_id ); - $to_ping = get_to_ping($post_id); - $pinged = get_pung($post_id); - if ( empty($to_ping) ) { - $wpdb->update($wpdb->posts, array('to_ping' => ''), array('ID' => $post_id) ); - return; - } - - if ( empty($post->post_excerpt) ) { - /** This filter is documented in wp-includes/post-template.php */ - $excerpt = apply_filters( 'the_content', $post->post_content, $post->ID ); - } else { - /** This filter is documented in wp-includes/post-template.php */ - $excerpt = apply_filters( 'the_excerpt', $post->post_excerpt ); - } - - $excerpt = str_replace(']]>', ']]>', $excerpt); - $excerpt = wp_html_excerpt($excerpt, 252, '…'); - - /** This filter is documented in wp-includes/post-template.php */ - $post_title = apply_filters( 'the_title', $post->post_title, $post->ID ); - $post_title = strip_tags($post_title); - - if ( $to_ping ) { - foreach ( (array) $to_ping as $tb_ping ) { - $tb_ping = trim($tb_ping); - if ( !in_array($tb_ping, $pinged) ) { - trackback($tb_ping, $post_title, $excerpt, $post_id); - $pinged[] = $tb_ping; - } else { - $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET to_ping = TRIM(REPLACE(to_ping, %s, '')) WHERE ID = %d", $tb_ping, $post_id) ); - } - } - } -} - -/** - * Sends pings to all of the ping site services. - * - * @since 1.2.0 - * - * @param int $post_id Post ID. - * @return int Same as Post ID from parameter - */ -function generic_ping( $post_id = 0 ) { - $services = get_option('ping_sites'); - - $services = explode("\n", $services); - foreach ( (array) $services as $service ) { - $service = trim($service); - if ( '' != $service ) - weblog_ping($service); - } - - return $post_id; -} - -/** - * Pings back the links found in a post. - * - * @since 0.71 - * @uses $wp_version - * @uses IXR_Client - * - * @param string $content Post content to check for links. - * @param int $post_ID Post ID. - */ -function pingback($content, $post_ID) { - global $wp_version; - include_once(ABSPATH . WPINC . '/class-IXR.php'); - include_once(ABSPATH . WPINC . '/class-wp-http-ixr-client.php'); - - // original code by Mort (http://mort.mine.nu:8080) - $post_links = array(); - - $pung = get_pung($post_ID); - - // Step 1 - // Parsing the post, external links (if any) are stored in the $post_links array - $post_links_temp = wp_extract_urls( $content ); - - // Step 2. - // Walking thru the links array - // first we get rid of links pointing to sites, not to specific files - // Example: - // http://dummy-weblog.org - // http://dummy-weblog.org/ - // http://dummy-weblog.org/post.php - // We don't wanna ping first and second types, even if they have a valid - - foreach ( (array) $post_links_temp as $link_test ) : - if ( !in_array($link_test, $pung) && (url_to_postid($link_test) != $post_ID) // If we haven't pung it already and it isn't a link to itself - && !is_local_attachment($link_test) ) : // Also, let's never ping local attachments. - if ( $test = @parse_url($link_test) ) { - if ( isset($test['query']) ) - $post_links[] = $link_test; - elseif ( isset( $test['path'] ) && ( $test['path'] != '/' ) && ( $test['path'] != '' ) ) - $post_links[] = $link_test; - } - endif; - endforeach; - - $post_links = array_unique( $post_links ); - /** - * Fires just before pinging back links found in a post. - * - * @since 2.0.0 - * - * @param array &$post_links An array of post links to be checked, passed by reference. - * @param array &$pung Whether a link has already been pinged, passed by reference. - * @param int $post_ID The post ID. - */ - do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post_ID ) ); - - foreach ( (array) $post_links as $pagelinkedto ) { - $pingback_server_url = discover_pingback_server_uri( $pagelinkedto ); - - if ( $pingback_server_url ) { - @ set_time_limit( 60 ); - // Now, the RPC call - $pagelinkedfrom = get_permalink($post_ID); - - // using a timeout of 3 seconds should be enough to cover slow servers - $client = new WP_HTTP_IXR_Client($pingback_server_url); - $client->timeout = 3; - /** - * Filter the user agent sent when pinging-back a URL. - * - * @since 2.9.0 - * - * @param string $concat_useragent The user agent concatenated with ' -- WordPress/' - * and the WordPress version. - * @param string $useragent The useragent. - * @param string $pingback_server_url The server URL being linked to. - * @param string $pagelinkedto URL of page linked to. - * @param string $pagelinkedfrom URL of page linked from. - */ - $client->useragent = apply_filters( 'pingback_useragent', $client->useragent . ' -- WordPress/' . $wp_version, $client->useragent, $pingback_server_url, $pagelinkedto, $pagelinkedfrom ); - // when set to true, this outputs debug messages by itself - $client->debug = false; - - if ( $client->query('pingback.ping', $pagelinkedfrom, $pagelinkedto) || ( isset($client->error->code) && 48 == $client->error->code ) ) // Already registered - add_ping( $post_ID, $pagelinkedto ); - } - } -} - -/** - * Check whether blog is public before returning sites. - * - * @since 2.1.0 - * - * @param mixed $sites Will return if blog is public, will not return if not public. - * @return mixed Empty string if blog is not public, returns $sites, if site is public. - */ -function privacy_ping_filter($sites) { - if ( '0' != get_option('blog_public') ) - return $sites; - else - return ''; -} - -/** - * Send a Trackback. - * - * Updates database when sending trackback to prevent duplicates. - * - * @since 0.71 - * @uses $wpdb - * - * @param string $trackback_url URL to send trackbacks. - * @param string $title Title of post. - * @param string $excerpt Excerpt of post. - * @param int $ID Post ID. - * @return mixed Database query from update. - */ -function trackback($trackback_url, $title, $excerpt, $ID) { - global $wpdb; - - if ( empty($trackback_url) ) - return; - - $options = array(); - $options['timeout'] = 4; - $options['body'] = array( - 'title' => $title, - 'url' => get_permalink($ID), - 'blog_name' => get_option('blogname'), - 'excerpt' => $excerpt - ); - - $response = wp_safe_remote_post( $trackback_url, $options ); - - if ( is_wp_error( $response ) ) - return; - - $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET pinged = CONCAT(pinged, '\n', %s) WHERE ID = %d", $trackback_url, $ID) ); - return $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET to_ping = TRIM(REPLACE(to_ping, %s, '')) WHERE ID = %d", $trackback_url, $ID) ); -} - -/** - * Send a pingback. - * - * @since 1.2.0 - * @uses $wp_version - * @uses IXR_Client - * - * @param string $server Host of blog to connect to. - * @param string $path Path to send the ping. - */ -function weblog_ping($server = '', $path = '') { - global $wp_version; - include_once(ABSPATH . WPINC . '/class-IXR.php'); - include_once(ABSPATH . WPINC . '/class-wp-http-ixr-client.php'); - - // using a timeout of 3 seconds should be enough to cover slow servers - $client = new WP_HTTP_IXR_Client($server, ((!strlen(trim($path)) || ('/' == $path)) ? false : $path)); - $client->timeout = 3; - $client->useragent .= ' -- WordPress/'.$wp_version; - - // when set to true, this outputs debug messages by itself - $client->debug = false; - $home = trailingslashit( home_url() ); - if ( !$client->query('weblogUpdates.extendedPing', get_option('blogname'), $home, get_bloginfo('rss2_url') ) ) // then try a normal ping - $client->query('weblogUpdates.ping', get_option('blogname'), $home); -} - -/** - * Default filter attached to pingback_ping_source_uri to validate the pingback's Source URI - * - * @since 3.5.1 - * @see wp_http_validate_url() - * - * @param string $source_uri - * @return string - */ -function pingback_ping_source_uri( $source_uri ) { - return (string) wp_http_validate_url( $source_uri ); -} - -/** - * Default filter attached to xmlrpc_pingback_error. - * - * Returns a generic pingback error code unless the error code is 48, - * which reports that the pingback is already registered. - * - * @since 3.5.1 - * @link http://www.hixie.ch/specs/pingback/pingback#TOC3 - * - * @param IXR_Error $ixr_error - * @return IXR_Error - */ -function xmlrpc_pingback_error( $ixr_error ) { - if ( $ixr_error->code === 48 ) - return $ixr_error; - return new IXR_Error( 0, '' ); -} - -// -// Cache -// - -/** - * Removes comment ID from the comment cache. - * - * @since 2.3.0 - * - * @param int|array $ids Comment ID or array of comment IDs to remove from cache - */ -function clean_comment_cache($ids) { - foreach ( (array) $ids as $id ) - wp_cache_delete($id, 'comment'); - - wp_cache_set( 'last_changed', microtime(), 'comment' ); -} - -/** - * Updates the comment cache of given comments. - * - * Will add the comments in $comments to the cache. If comment ID already exists - * in the comment cache then it will not be updated. The comment is added to the - * cache using the comment group with the key using the ID of the comments. - * - * @since 2.3.0 - * - * @param array $comments Array of comment row objects - */ -function update_comment_cache($comments) { - foreach ( (array) $comments as $comment ) - wp_cache_add($comment->comment_ID, $comment, 'comment'); -} - -// -// Internal -// - -/** - * Close comments on old posts on the fly, without any extra DB queries. Hooked to the_posts. - * - * @access private - * @since 2.7.0 - * - * @param object $posts Post data object. - * @param object $query Query object. - * @return object - */ -function _close_comments_for_old_posts( $posts, $query ) { - if ( empty( $posts ) || ! $query->is_singular() || ! get_option( 'close_comments_for_old_posts' ) ) - return $posts; - - /** - * Filter the list of post types to automatically close comments for. - * - * @since 3.2.0 - * - * @param array $post_types An array of registered post types. Default array with 'post'. - */ - $post_types = apply_filters( 'close_comments_for_post_types', array( 'post' ) ); - if ( ! in_array( $posts[0]->post_type, $post_types ) ) - return $posts; - - $days_old = (int) get_option( 'close_comments_days_old' ); - if ( ! $days_old ) - return $posts; - - if ( time() - strtotime( $posts[0]->post_date_gmt ) > ( $days_old * DAY_IN_SECONDS ) ) { - $posts[0]->comment_status = 'closed'; - $posts[0]->ping_status = 'closed'; - } - - return $posts; -} - -/** - * Close comments on an old post. Hooked to comments_open and pings_open. - * - * @access private - * @since 2.7.0 - * - * @param bool $open Comments open or closed - * @param int $post_id Post ID - * @return bool $open - */ -function _close_comments_for_old_post( $open, $post_id ) { - if ( ! $open ) - return $open; - - if ( !get_option('close_comments_for_old_posts') ) - return $open; - - $days_old = (int) get_option('close_comments_days_old'); - if ( !$days_old ) - return $open; - - $post = get_post($post_id); - - /** This filter is documented in wp-includes/comment.php */ - $post_types = apply_filters( 'close_comments_for_post_types', array( 'post' ) ); - if ( ! in_array( $post->post_type, $post_types ) ) - return $open; - - if ( time() - strtotime( $post->post_date_gmt ) > ( $days_old * DAY_IN_SECONDS ) ) - return false; - - return $open; -} diff --git a/sources/wordpress/wp-includes/compat.php b/sources/wordpress/wp-includes/compat.php deleted file mode 100644 index 83a8c64..0000000 --- a/sources/wordpress/wp-includes/compat.php +++ /dev/null @@ -1,125 +0,0 @@ - 'H32', 'sha1' => 'H40'); - - if ( !isset($packs[$algo]) ) - return false; - - $pack = $packs[$algo]; - - if (strlen($key) > 64) - $key = pack($pack, $algo($key)); - - $key = str_pad($key, 64, chr(0)); - - $ipad = (substr($key, 0, 64) ^ str_repeat(chr(0x36), 64)); - $opad = (substr($key, 0, 64) ^ str_repeat(chr(0x5C), 64)); - - $hmac = $algo($opad . pack($pack, $algo($ipad . $data))); - - if ( $raw_output ) - return pack( $pack, $hmac ); - return $hmac; -} - -if ( !function_exists('json_encode') ) { - function json_encode( $string ) { - global $wp_json; - - if ( !is_a($wp_json, 'Services_JSON') ) { - require_once( ABSPATH . WPINC . '/class-json.php' ); - $wp_json = new Services_JSON(); - } - - return $wp_json->encodeUnsafe( $string ); - } -} - -if ( !function_exists('json_decode') ) { - function json_decode( $string, $assoc_array = false ) { - global $wp_json; - - if ( !is_a($wp_json, 'Services_JSON') ) { - require_once( ABSPATH . WPINC . '/class-json.php' ); - $wp_json = new Services_JSON(); - } - - $res = $wp_json->decode( $string ); - if ( $assoc_array ) - $res = _json_decode_object_helper( $res ); - return $res; - } - function _json_decode_object_helper($data) { - if ( is_object($data) ) - $data = get_object_vars($data); - return is_array($data) ? array_map(__FUNCTION__, $data) : $data; - } -} - -if ( ! function_exists( 'hash_equals' ) ) : -/** - * Compare two strings in constant time. - * - * This function was added in PHP 5.6. - * It can leak the length of a string. - * - * @since 3.9.2 - * - * @param string $a Expected string. - * @param string $b Actual string. - * @return bool Whether strings are equal. - */ -function hash_equals( $a, $b ) { - $a_length = strlen( $a ); - if ( $a_length !== strlen( $b ) ) { - return false; - } - $result = 0; - - // Do not attempt to "optimize" this. - for ( $i = 0; $i < $a_length; $i++ ) { - $result |= ord( $a[ $i ] ) ^ ord( $b[ $i ] ); - } - - return $result === 0; -} -endif; \ No newline at end of file diff --git a/sources/wordpress/wp-includes/cron.php b/sources/wordpress/wp-includes/cron.php deleted file mode 100644 index fc87614..0000000 --- a/sources/wordpress/wp-includes/cron.php +++ /dev/null @@ -1,468 +0,0 @@ - $hook, 'timestamp' => $timestamp, 'schedule' => false, 'args' => $args ); - /** - * Filter a single event before it is scheduled. - * - * @since 3.1.0 - * - * @param object $event An object containing an event's data. - */ - $event = apply_filters( 'schedule_event', $event ); - - // A plugin disallowed this event - if ( ! $event ) - return false; - - $key = md5(serialize($event->args)); - - $crons[$event->timestamp][$event->hook][$key] = array( 'schedule' => $event->schedule, 'args' => $event->args ); - uksort( $crons, "strnatcasecmp" ); - _set_cron_array( $crons ); -} - -/** - * Schedule a periodic event. - * - * Schedules a hook which will be executed by the WordPress actions core on a - * specific interval, specified by you. The action will trigger when someone - * visits your WordPress site, if the scheduled time has passed. - * - * Valid values for the recurrence are hourly, daily and twicedaily. These can - * be extended using the cron_schedules filter in wp_get_schedules(). - * - * Use wp_next_scheduled() to prevent duplicates - * - * @since 2.1.0 - * - * @param int $timestamp Timestamp for when to run the event. - * @param string $recurrence How often the event should recur. - * @param string $hook Action hook to execute when cron is run. - * @param array $args Optional. Arguments to pass to the hook's callback function. - * @return bool|null False on failure, null when complete with scheduling event. - */ -function wp_schedule_event( $timestamp, $recurrence, $hook, $args = array()) { - $crons = _get_cron_array(); - $schedules = wp_get_schedules(); - - if ( !isset( $schedules[$recurrence] ) ) - return false; - - $event = (object) array( 'hook' => $hook, 'timestamp' => $timestamp, 'schedule' => $recurrence, 'args' => $args, 'interval' => $schedules[$recurrence]['interval'] ); - /** This filter is documented in wp-includes/cron.php */ - $event = apply_filters( 'schedule_event', $event ); - - // A plugin disallowed this event - if ( ! $event ) - return false; - - $key = md5(serialize($event->args)); - - $crons[$event->timestamp][$event->hook][$key] = array( 'schedule' => $event->schedule, 'args' => $event->args, 'interval' => $event->interval ); - uksort( $crons, "strnatcasecmp" ); - _set_cron_array( $crons ); -} - -/** - * Reschedule a recurring event. - * - * @since 2.1.0 - * - * @param int $timestamp Timestamp for when to run the event. - * @param string $recurrence How often the event should recur. - * @param string $hook Action hook to execute when cron is run. - * @param array $args Optional. Arguments to pass to the hook's callback function. - * @return bool|null False on failure. Null when event is rescheduled. - */ -function wp_reschedule_event( $timestamp, $recurrence, $hook, $args = array() ) { - $crons = _get_cron_array(); - $schedules = wp_get_schedules(); - $key = md5( serialize( $args ) ); - $interval = 0; - - // First we try to get it from the schedule - if ( isset( $schedules[ $recurrence ] ) ) { - $interval = $schedules[ $recurrence ]['interval']; - } - // Now we try to get it from the saved interval in case the schedule disappears - if ( 0 == $interval ) { - $interval = $crons[ $timestamp ][ $hook ][ $key ]['interval']; - } - // Now we assume something is wrong and fail to schedule - if ( 0 == $interval ) { - return false; - } - - $now = time(); - - if ( $timestamp >= $now ) { - $timestamp = $now + $interval; - } else { - $timestamp = $now + ( $interval - ( ( $now - $timestamp ) % $interval ) ); - } - - wp_schedule_event( $timestamp, $recurrence, $hook, $args ); -} - -/** - * Unschedule a previously scheduled cron job. - * - * The $timestamp and $hook parameters are required, so that the event can be - * identified. - * - * @since 2.1.0 - * - * @param int $timestamp Timestamp for when to run the event. - * @param string $hook Action hook, the execution of which will be unscheduled. - * @param array $args Arguments to pass to the hook's callback function. - * Although not passed to a callback function, these arguments are used - * to uniquely identify the scheduled event, so they should be the same - * as those used when originally scheduling the event. - */ -function wp_unschedule_event( $timestamp, $hook, $args = array() ) { - $crons = _get_cron_array(); - $key = md5(serialize($args)); - unset( $crons[$timestamp][$hook][$key] ); - if ( empty($crons[$timestamp][$hook]) ) - unset( $crons[$timestamp][$hook] ); - if ( empty($crons[$timestamp]) ) - unset( $crons[$timestamp] ); - _set_cron_array( $crons ); -} - -/** - * Unschedule all cron jobs attached to a specific hook. - * - * @since 2.1.0 - * - * @param string $hook Action hook, the execution of which will be unscheduled. - * @param array $args Optional. Arguments that were to be pass to the hook's callback function. - */ -function wp_clear_scheduled_hook( $hook, $args = array() ) { - // Backward compatibility - // Previously this function took the arguments as discrete vars rather than an array like the rest of the API - if ( !is_array($args) ) { - _deprecated_argument( __FUNCTION__, '3.0', __('This argument has changed to an array to match the behavior of the other cron functions.') ); - $args = array_slice( func_get_args(), 1 ); - } - - // This logic duplicates wp_next_scheduled() - // It's required due to a scenario where wp_unschedule_event() fails due to update_option() failing, - // and, wp_next_scheduled() returns the same schedule in an infinite loop. - $crons = _get_cron_array(); - if ( empty( $crons ) ) - return; - - $key = md5( serialize( $args ) ); - foreach ( $crons as $timestamp => $cron ) { - if ( isset( $cron[ $hook ][ $key ] ) ) { - wp_unschedule_event( $timestamp, $hook, $args ); - } - } -} - -/** - * Retrieve the next timestamp for a cron event. - * - * @since 2.1.0 - * - * @param string $hook Action hook to execute when cron is run. - * @param array $args Optional. Arguments to pass to the hook's callback function. - * @return bool|int The UNIX timestamp of the next time the scheduled event will occur. - */ -function wp_next_scheduled( $hook, $args = array() ) { - $crons = _get_cron_array(); - $key = md5(serialize($args)); - if ( empty($crons) ) - return false; - foreach ( $crons as $timestamp => $cron ) { - if ( isset( $cron[$hook][$key] ) ) - return $timestamp; - } - return false; -} - -/** - * Send request to run cron through HTTP request that doesn't halt page loading. - * - * @since 2.1.0 - * - * @return null Cron could not be spawned, because it is not needed to run. - */ -function spawn_cron( $gmt_time = 0 ) { - - if ( ! $gmt_time ) - $gmt_time = microtime( true ); - - if ( defined('DOING_CRON') || isset($_GET['doing_wp_cron']) ) - return; - - /* - * multiple processes on multiple web servers can run this code concurrently - * try to make this as atomic as possible by setting doing_cron switch - */ - $lock = get_transient('doing_cron'); - - if ( $lock > $gmt_time + 10 * MINUTE_IN_SECONDS ) - $lock = 0; - - // don't run if another process is currently running it or more than once every 60 sec. - if ( $lock + WP_CRON_LOCK_TIMEOUT > $gmt_time ) - return; - - //sanity check - $crons = _get_cron_array(); - if ( !is_array($crons) ) - return; - - $keys = array_keys( $crons ); - if ( isset($keys[0]) && $keys[0] > $gmt_time ) - return; - - if ( defined('ALTERNATE_WP_CRON') && ALTERNATE_WP_CRON ) { - if ( !empty($_POST) || defined('DOING_AJAX') ) - return; - - $doing_wp_cron = sprintf( '%.22F', $gmt_time ); - set_transient( 'doing_cron', $doing_wp_cron ); - - ob_start(); - wp_redirect( add_query_arg( 'doing_wp_cron', $doing_wp_cron, wp_unslash( $_SERVER['REQUEST_URI'] ) ) ); - echo ' '; - - // flush any buffers and send the headers - while ( @ob_end_flush() ); - flush(); - - WP_DEBUG ? include_once( ABSPATH . 'wp-cron.php' ) : @include_once( ABSPATH . 'wp-cron.php' ); - return; - } - - $doing_wp_cron = sprintf( '%.22F', $gmt_time ); - set_transient( 'doing_cron', $doing_wp_cron ); - - /** - * Filter the cron request arguments. - * - * @since 3.5.0 - * - * @param array $cron_request_array { - * An array of cron request URL arguments. - * - * @type string $url The cron request URL. - * @type int $key The 22 digit GMT microtime. - * @type array $args { - * An array of cron request arguments. - * - * @type int $timeout The request timeout in seconds. Default .01 seconds. - * @type bool $blocking Whether to set blocking for the request. Default false. - * @type bool $sslverify Whether SSL should be verified for the request. Default false. - * } - * } - */ - $cron_request = apply_filters( 'cron_request', array( - 'url' => add_query_arg( 'doing_wp_cron', $doing_wp_cron, site_url( 'wp-cron.php' ) ), - 'key' => $doing_wp_cron, - 'args' => array( - 'timeout' => 0.01, - 'blocking' => false, - /** This filter is documented in wp-includes/class-http.php */ - 'sslverify' => apply_filters( 'https_local_ssl_verify', false ) - ) - ) ); - - wp_remote_post( $cron_request['url'], $cron_request['args'] ); -} - -/** - * Run scheduled callbacks or spawn cron for all scheduled events. - * - * @since 2.1.0 - * - * @return null When doesn't need to run Cron. - */ -function wp_cron() { - - // Prevent infinite loops caused by lack of wp-cron.php - if ( strpos($_SERVER['REQUEST_URI'], '/wp-cron.php') !== false || ( defined('DISABLE_WP_CRON') && DISABLE_WP_CRON ) ) - return; - - if ( false === $crons = _get_cron_array() ) - return; - - $gmt_time = microtime( true ); - $keys = array_keys( $crons ); - if ( isset($keys[0]) && $keys[0] > $gmt_time ) - return; - - $schedules = wp_get_schedules(); - foreach ( $crons as $timestamp => $cronhooks ) { - if ( $timestamp > $gmt_time ) break; - foreach ( (array) $cronhooks as $hook => $args ) { - if ( isset($schedules[$hook]['callback']) && !call_user_func( $schedules[$hook]['callback'] ) ) - continue; - spawn_cron( $gmt_time ); - break 2; - } - } -} - -/** - * Retrieve supported and filtered Cron recurrences. - * - * The supported recurrences are 'hourly' and 'daily'. A plugin may add more by - * hooking into the 'cron_schedules' filter. The filter accepts an array of - * arrays. The outer array has a key that is the name of the schedule or for - * example 'weekly'. The value is an array with two keys, one is 'interval' and - * the other is 'display'. - * - * The 'interval' is a number in seconds of when the cron job should run. So for - * 'hourly', the time is 3600 or 60*60. For weekly, the value would be - * 60*60*24*7 or 604800. The value of 'interval' would then be 604800. - * - * The 'display' is the description. For the 'weekly' key, the 'display' would - * be __('Once Weekly'). - * - * For your plugin, you will be passed an array. you can easily add your - * schedule by doing the following. - * - * // filter parameter variable name is 'array' - * $array['weekly'] = array( - * 'interval' => 604800, - * 'display' => __('Once Weekly') - * ); - * - * - * @since 2.1.0 - * - * @return array - */ -function wp_get_schedules() { - $schedules = array( - 'hourly' => array( 'interval' => HOUR_IN_SECONDS, 'display' => __( 'Once Hourly' ) ), - 'twicedaily' => array( 'interval' => 12 * HOUR_IN_SECONDS, 'display' => __( 'Twice Daily' ) ), - 'daily' => array( 'interval' => DAY_IN_SECONDS, 'display' => __( 'Once Daily' ) ), - ); - /** - * Filter the non-default cron schedules. - * - * @since 2.1.0 - * - * @param array $new_schedules An array of non-default cron schedules. Default empty. - */ - return array_merge( apply_filters( 'cron_schedules', array() ), $schedules ); -} - -/** - * Retrieve Cron schedule for hook with arguments. - * - * @since 2.1.0 - * - * @param string $hook Action hook to execute when cron is run. - * @param array $args Optional. Arguments to pass to the hook's callback function. - * @return string|bool False, if no schedule. Schedule on success. - */ -function wp_get_schedule($hook, $args = array()) { - $crons = _get_cron_array(); - $key = md5(serialize($args)); - if ( empty($crons) ) - return false; - foreach ( $crons as $timestamp => $cron ) { - if ( isset( $cron[$hook][$key] ) ) - return $cron[$hook][$key]['schedule']; - } - return false; -} - -// -// Private functions -// - -/** - * Retrieve cron info array option. - * - * @since 2.1.0 - * @access private - * - * @return array CRON info array. - */ -function _get_cron_array() { - $cron = get_option('cron'); - if ( ! is_array($cron) ) - return false; - - if ( !isset($cron['version']) ) - $cron = _upgrade_cron_array($cron); - - unset($cron['version']); - - return $cron; -} - -/** - * Updates the CRON option with the new CRON array. - * - * @since 2.1.0 - * @access private - * - * @param array $cron Cron info array from {@link _get_cron_array()}. - */ -function _set_cron_array($cron) { - $cron['version'] = 2; - update_option( 'cron', $cron ); -} - -/** - * Upgrade a Cron info array. - * - * This function upgrades the Cron info array to version 2. - * - * @since 2.1.0 - * @access private - * - * @param array $cron Cron info array from {@link _get_cron_array()}. - * @return array An upgraded Cron info array. - */ -function _upgrade_cron_array($cron) { - if ( isset($cron['version']) && 2 == $cron['version']) - return $cron; - - $new_cron = array(); - - foreach ( (array) $cron as $timestamp => $hooks) { - foreach ( (array) $hooks as $hook => $args ) { - $key = md5(serialize($args['args'])); - $new_cron[$timestamp][$hook][$key] = $args; - } - } - - $new_cron['version'] = 2; - update_option( 'cron', $new_cron ); - return $new_cron; -} diff --git a/sources/wordpress/wp-includes/css/admin-bar-rtl.css b/sources/wordpress/wp-includes/css/admin-bar-rtl.css deleted file mode 100644 index 9a9c6e6..0000000 --- a/sources/wordpress/wp-includes/css/admin-bar-rtl.css +++ /dev/null @@ -1,1099 +0,0 @@ -#wpadminbar * { - height: auto; - width: auto; - margin: 0; - padding: 0; - position: static; - text-shadow: none; - text-transform: none; - letter-spacing: normal; - font: normal 13px/32px "Open Sans", sans-serif; - -webkit-border-radius: 0; - border-radius: 0; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-transition: none; - transition: none; - -webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */ -} - -.rtl #wpadminbar * { - font-family: Tahoma, sans-serif; -} - -html:lang(he-il) .rtl #wpadminbar * { - font-family: Arial, sans-serif; -} - -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #eee; -} - -#wpadminbar #wp-admin-bar-site-name a.ab-item, -#wpadminbar #wp-admin-bar-my-sites a.ab-item { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -#wpadminbar ul li:before, -#wpadminbar ul li:after { - content: normal; -} - -#wpadminbar a, -#wpadminbar a:hover, -#wpadminbar a img, -#wpadminbar a img:hover { - outline: none; - border: none; - text-decoration: none; - background: none; -} - -#wpadminbar a:focus, -#wpadminbar a:active, -#wpadminbar input[type="text"], -#wpadminbar input[type="password"], -#wpadminbar input[type="number"], -#wpadminbar input[type="search"], -#wpadminbar input[type="email"], -#wpadminbar input[type="url"], -#wpadminbar select, -#wpadminbar textarea, -#wpadminbar div { - -webkit-box-shadow: none; - box-shadow: none; - outline: none; -} - -#wpadminbar { - direction: rtl; - color: #ccc; - font: normal 13px/32px "Open Sans", sans-serif; - height: 32px; - position: fixed; - top: 0; - right: 0; - width: 100%; - min-width: 600px; /* match the min-width of the body in wp-admin.css */ - z-index: 99999; - background: #222; -} - -#wpadminbar .ab-sub-wrapper, -#wpadminbar ul, -#wpadminbar ul li { - background: none; - clear: none; - list-style: none; - margin: 0; - padding: 0; - position: relative; - text-indent: 0; - z-index: 99999; -} - -#wpadminbar ul#wp-admin-bar-root-default>li { - margin-left: 0; -} - -#wpadminbar .quicklinks ul { - text-align: right; -} - -#wpadminbar li { - float: right; -} - -#wpadminbar .ab-empty-item { - outline: none; -} - -#wpadminbar .quicklinks .ab-top-secondary > li { - float: left; -} - -#wpadminbar .quicklinks a, -#wpadminbar .quicklinks .ab-empty-item, -#wpadminbar .shortlink-input { - height: 32px; - display: block; - padding: 0 10px; - margin: 0; -} - -#wpadminbar .quicklinks > ul > li > a { - padding: 0 7px 0 8px; -} - -#wpadminbar .menupop .ab-sub-wrapper, -#wpadminbar .shortlink-input { - margin: 0; - padding: 0; - -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2); - box-shadow: 0 3px 5px rgba(0,0,0,0.2); - background: #333; - display: none; - position: absolute; - float: none; -} - -#wpadminbar.ie7 .menupop .ab-sub-wrapper, -#wpadminbar.ie7 .shortlink-input { - top: 32px; - right: 0; -} - -#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { - min-width: 100%; -} - -#wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper { - left: 0; - right: auto; -} - -#wpadminbar .ab-submenu { - padding: 6px 0; -} - -#wpadminbar .selected .shortlink-input { - display: block; -} - -#wpadminbar .quicklinks .menupop ul li { - float: none; -} - -#wpadminbar .quicklinks .menupop ul li a strong { - font-weight: bold; -} - -#wpadminbar .quicklinks .menupop ul li .ab-item, -#wpadminbar .quicklinks .menupop ul li a strong, -#wpadminbar .quicklinks .menupop.hover ul li .ab-item, -#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, -#wpadminbar .shortlink-input { - line-height: 26px; - height: 26px; - white-space: nowrap; - min-width: 140px; -} - -#wpadminbar .shortlink-input { - width: 200px; -} - -#wpadminbar.nojs li:hover > .ab-sub-wrapper, -#wpadminbar li.hover > .ab-sub-wrapper { - display: block; -} - -#wpadminbar .menupop li:hover > .ab-sub-wrapper, -#wpadminbar .menupop li.hover > .ab-sub-wrapper { - margin-right: 100%; - margin-top: -32px; -} - -#wpadminbar .ab-top-secondary .menupop li:hover > .ab-sub-wrapper, -#wpadminbar .ab-top-secondary .menupop li.hover > .ab-sub-wrapper { - margin-right: 0; - right: inherit; - left: 100%; -} - -#wpadminbar .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar .ab-top-menu > li:hover > .ab-item, -#wpadminbar .ab-top-menu > li.hover > .ab-item { - background: #333; - color: #2ea2cc; -} - -#wpadminbar > #wp-toolbar li:hover span.ab-label, -#wpadminbar > #wp-toolbar li.hover span.ab-label, -#wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #2ea2cc; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, -#wpadminbar .ab-icon, -#wpadminbar .ab-item:before { - position: relative; - float: right; - font: normal 20px/1 'dashicons'; - speak: none; - padding: 4px 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - background-image: none !important; - margin-left: 6px; -} - -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar #adminbarsearch:before { - color: #999; -} - -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar #adminbarsearch:before { - position: relative; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -#wpadminbar .ab-label { - display: inline-block; - height: 32px; -} - -#wpadminbar .ab-submenu .ab-item { - color: #eee; -} - -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop ul li a strong, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #eee; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before { - color: #2ea2cc; -} - -#wpadminbar .menupop .menupop > .ab-item:before, -#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { - position: absolute; - font: normal 17px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#wpadminbar .menupop .menupop > .ab-item { - display: block; - padding-left: 2em; -} - -#wpadminbar .menupop .menupop > .ab-item:before { - top: 1px; - left: 4px; - content: '\f139'; - color: inherit; -} - -#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item { - padding-right: 2em; - padding-left: 1em; -} - -#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { - top: 5px; - right: 3px; - content: '\f141'; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary { - display: block; - position: relative; - left: auto; - margin: 0; - -webkit-box-shadow: none; - box-shadow: none; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #4b4b4b; -} - -#wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover, -#wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a { - color: #2ea2cc; -} - -#wpadminbar .quicklinks a span#ab-updates { - background: #eee; - color: #333; - display: inline; - padding: 2px 5px; - font-size: 10px; - font-weight: bold; - -webkit-border-radius: 10px; - border-radius: 10px; -} - -#wpadminbar .quicklinks a:hover span#ab-updates { - background: #fff; - color: #000; -} - -#wpadminbar .ab-top-secondary { - float: left; -} - -#wpadminbar ul li:last-child, -#wpadminbar ul li:last-child .ab-item { - -webkit-box-shadow: none; - box-shadow: none; -} - -/** - * My Account - */ -#wp-admin-bar-my-account > ul { - min-width: 198px; -} - -#wp-admin-bar-my-account > .ab-item:before { - content: "\f110"; - top: 2px; - float: left; - margin-right: 6px; - margin-left: 0; -} - -#wp-admin-bar-my-account.with-avatar > .ab-item:before { - display: none; - content: none; -} - -#wp-admin-bar-my-account.with-avatar > ul { - min-width: 270px; -} - -#wpadminbar #wp-admin-bar-user-actions > li { - margin-right: 16px; - margin-left: 16px; -} - -#wpadminbar #wp-admin-bar-user-actions.ab-submenu { - padding: 6px 0 12px; -} - -#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li { - margin-right: 88px; -} - -#wpadminbar #wp-admin-bar-user-info { - margin-top: 6px; - margin-bottom: 15px; - height: auto; - background: none; -} - -#wp-admin-bar-user-info .avatar { - position: absolute; - right: -72px; - top: 4px; - width: 64px; - height: 64px; -} - -#wpadminbar #wp-admin-bar-user-info a { - background: none; - height: auto; -} - -#wpadminbar #wp-admin-bar-user-info span { - background: none; - padding: 0; - height: 18px; -} - -#wpadminbar #wp-admin-bar-user-info .display-name, -#wpadminbar #wp-admin-bar-user-info .username { - display: block; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #999; - font-size: 11px; -} - -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - width: 16px; - height: 16px; - padding: 0; - border: 1px solid #888; - background: #eee; - line-height: 24px; - vertical-align: middle; - margin: -4px 6px 0 0; - float: none; - display: inline; -} - -/** - * WP Logo - */ -#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { - width: 15px; - height: 20px; - margin-left: 0; - padding: 6px 0 5px; -} - -#wpadminbar #wp-admin-bar-wp-logo > .ab-item { - padding: 0 7px; -} - -#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { - content: '\f120'; - top: 2px; -} - -/* - * My Sites & Site Title - */ -#wpadminbar .quicklinks li .blavatar { - float: right; - font: normal 16px/1 'dashicons' !important; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color: #eee; -} - -#wpadminbar .quicklinks li a:hover .blavatar { - color: #2ea2cc; -} - -#wpadminbar .quicklinks li .blavatar:before { - content: '\f120'; - height: 16px; - width: 16px; - display: inline-block; - margin: 6px -2px 0 8px; -} - -#wpadminbar #wp-admin-bar-appearance { - margin-top: -12px; -} - -#wpadminbar #wp-admin-bar-my-sites > .ab-item:before, -#wpadminbar #wp-admin-bar-site-name > .ab-item:before { - content: '\f112'; - top: 2px; -} - -#wpadminbar #wp-admin-bar-edit > .ab-item:before { - content: '\f464'; - top: 2px; -} - -#wpadminbar #wp-admin-bar-site-name > .ab-item:before { - content: "\f226"; -} - -.wp-admin #wpadminbar #wp-admin-bar-site-name > .ab-item:before { - content: "\f102"; -} - - - -/** - * Comments - */ -#wpadminbar #wp-admin-bar-comments .ab-icon { - margin-left: 6px; -} - -#wpadminbar #wp-admin-bar-comments .ab-icon:before { - content: '\f101'; - top: 3px; -} - -#wpadminbar #wp-admin-bar-comments .count-0 { - opacity: .5; -} - -/** - * New Content - */ -#wpadminbar #wp-admin-bar-new-content .ab-icon:before { - content: '\f132'; - top: 4px; -} - -/** - * Updates - */ -#wpadminbar #wp-admin-bar-updates .ab-icon:before { - content: '\f463'; - top: 2px; -} - -/** - * Search - */ -#wpadminbar #wp-admin-bar-search .ab-item { - padding: 0; - background: transparent; -} - -#wpadminbar #adminbarsearch { - position: relative; - height: 32px; - padding: 0 2px; -} - -#wpadminbar #adminbarsearch:before { - position: absolute; - top: 6px; - right: 5px; - z-index: 20; - font: normal 20px/1 'dashicons' !important; - content: '\f179'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { - position: relative; - z-index: 30; - font: 13px/24px "Open Sans", sans-serif; - height: 24px; - width: 24px; - padding: 0 24px 0 3px; - margin: 0; - color: #ccc; - background-color: rgba( 255, 255, 255, 0 ); - border: none; - outline: none; - cursor: pointer; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition-duration: 400ms; - transition-duration: 400ms; - -webkit-transition-property: width, background; - transition-property: width, background; - -webkit-transition-timing-function: ease; - transition-timing-function: ease; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - z-index: 10; - color: #000; - width: 200px; - background-color: rgba( 255, 255, 255, 0.9 ); - cursor: text; - border: 0; -} - -#wpadminbar.ie7 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { - margin-top: 3px; - width: 120px; -} - -#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { - margin-top: 4px; - background-color: #464646; -} - -#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - background-color: #fff; -} - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #999; -} -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #999; -} -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #999; -} -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #999; -} - -#wpadminbar #adminbarsearch .adminbar-button { - display: none; -} - -/** - * Customize support classes - */ -.no-customize-support .hide-if-no-customize, -.customize-support .hide-if-customize, -.no-customize-support.wp-core-ui .hide-if-no-customize, -.no-customize-support .wp-core-ui .hide-if-no-customize, -.customize-support.wp-core-ui .hide-if-customize, -.customize-support .wp-core-ui .hide-if-customize { - display: none; -} - -/* Skip link */ -#wpadminbar .screen-reader-text, -#wpadminbar .screen-reader-text span { - position: absolute; - right: -1000em; - top: -1000em; - height: 1px; - width: 1px; - overflow: hidden; -} - -#wpadminbar .screen-reader-shortcut { - position: absolute; - top: -1000em; -} - -#wpadminbar .screen-reader-shortcut:focus { - right: 6px; - top: 7px; - height: auto; - width: auto; - display: block; - font-size: 14px; - font-weight: bold; - padding: 15px 23px 14px; - background: #f1f1f1; - color: #21759b; - z-index: 100000; - line-height: normal; - text-decoration: none; - -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6); - box-shadow: 0 0 2px 2px rgba(0,0,0,.6); -} - -/** - * IE 6-targeted rules - */ -* html #wpadminbar { - overflow: hidden; - position: absolute; -} - -* html #wpadminbar .quicklinks ul li a { - float: right; -} - -* html #wpadminbar .menupop a span { - background-image: none; -} - -/* No @font-face support */ -.no-font-face #wpadminbar ul.ab-top-menu > li > a.ab-item { - display: block; - width: 45px; - text-align: center; - overflow: hidden; - margin: 0 3px; -} - -.no-font-face #wpadminbar #wp-admin-bar-my-sites > .ab-item, -.no-font-face #wpadminbar #wp-admin-bar-site-name > .ab-item, -.no-font-face #wpadminbar #wp-admin-bar-edit > .ab-item { - text-indent: 0; -} - -.no-font-face #wpadminbar .ab-icon, -.no-font-face #wpadminbar .ab-icon:before, -.no-font-face #wpadminbar a.ab-item:before, -.no-font-face #wpadminbar #wp-admin-bar-wp-logo > .ab-item { - display: none !important; -} - -.no-font-face #wpadminbar ul.ab-top-menu > li > a > span.ab-label { - display: inline; -} - -.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon { - display: inline !important; -} - -.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon:before { - content: "Menu"; - font: 14px/45px sans-serif !important; - display: inline-block !important; - color: #fff; -} - -.no-font-face #wpadminbar #wp-admin-bar-site-name a.ab-item { - color: #fff; -} -/* End no @font-face */ - -@media screen and ( max-width: 782px ) { - /* Toolbar Touchification*/ - html #wpadminbar { - right: 0 !important; - z-index: 500 !important; - height: 46px; - min-width: 300px; - - /* These rules break dropdown tappability on Chrome/Android. - -webkit-transform: translate3d(0, 0, 0); - -webkit-backface-visibility: hidden; - -webkit-transition: 0; - transform: translate3d(0, 0, 0); - backface-visibility: hidden; - transition: 0; - */ - } - - #wpadminbar * { - font: normal 14px/32px "Open Sans", sans-serif; - } - - #wpadminbar .quicklinks > ul > li > a, - #wpadminbar .quicklinks .ab-empty-item { - padding: 0; - height: 46px; - line-height: 46px; - width: auto; - } - - #wpadminbar .ab-icon { - font: 40px/1 dashicons !important; - margin: 0; - padding: 0; - width: 52px; - height: 46px; - text-align: center; - } - - #wpadminbar .ab-icon:before { - text-align: center; - } - - #wpadminbar .ab-submenu { - padding: 0; - } - - #wpadminbar #wp-admin-bar-site-name a.ab-item, - #wpadminbar #wp-admin-bar-my-sites a.ab-item, - #wpadminbar #wp-admin-bar-my-account a.ab-item { - text-overflow: clip; - } - - #wpadminbar .ab-label { - display: none; - } - - #wpadminbar .menupop li:hover > .ab-sub-wrapper, - #wpadminbar .menupop li.hover > .ab-sub-wrapper { - margin-top: -46px; - } - - #wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop > .ab-item { - padding-left: 30px; - } - - #wpadminbar .menupop .menupop > .ab-item:before { - top: 10px; - left: 6px; - } - - #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper .ab-item { - font-size: 16px; - padding: 6px 15px 12px; - } - - #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper a:empty { - display: none; - } - - /* WP logo */ - #wpadminbar #wp-admin-bar-wp-logo > .ab-item { - padding: 0; - } - - #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { - padding: 0; - width: 52px; - height: 46px; - text-align: center; - vertical-align: top; - } - - #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { - font: 28px/1 'dashicons' !important; - top: -3px; - } - - #wpadminbar .ab-icon, - #wpadminbar .ab-item:before { - padding: 0; - } - - /* My Sites and "Site Title" menu */ - #wpadminbar #wp-admin-bar-my-sites > .ab-item, - #wpadminbar #wp-admin-bar-site-name > .ab-item, - #wpadminbar #wp-admin-bar-edit > .ab-item, - #wpadminbar #wp-admin-bar-my-account > .ab-item { - text-indent: 100%; - white-space: nowrap; - overflow: hidden; - width: 52px; - padding: 0; - color: #999; - position: relative; - } - - #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, - #wpadminbar .ab-icon, - #wpadminbar .ab-item:before { - padding: 0; - margin-left: 0; - } - - #wpadminbar #wp-admin-bar-edit > .ab-item:before, - #wpadminbar #wp-admin-bar-my-sites > .ab-item:before, - #wpadminbar #wp-admin-bar-site-name > .ab-item:before, - #wpadminbar #wp-admin-bar-my-account > .ab-item:before { - display: block; - text-indent: 0; - font: normal 32px/1 'dashicons'; - speak: none; - top: 7px; - width: 52px; - text-align: center; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } - - #wpadminbar #wp-admin-bar-appearance { - margin-top: 0; - } - - #wpadminbar .quicklinks li .blavatar:before { - display: none; - } - - /* Search */ - #wpadminbar #wp-admin-bar-search { - display: none; - } - - /* New Content */ - #wpadminbar #wp-admin-bar-new-content .ab-icon:before { - top: 0; - line-height: 53px; - height: 46px !important; - text-align: center; - width: 52px; - display: block; - } - - /* Updates */ - #wpadminbar #wp-admin-bar-updates { - text-align: center; - } - - #wpadminbar #wp-admin-bar-updates .ab-icon:before { - top: 3px; - } - - /* Comments */ - #wpadminbar #wp-admin-bar-comments .ab-icon { - margin: 0; - } - - #wpadminbar #wp-admin-bar-comments .ab-icon:before { - display: block; - font-size: 34px; - height: 46px; - line-height: 47px; - top: 0; - } - - /* My Account */ - #wpadminbar #wp-admin-bar-my-account > a { - position: relative; - white-space: nowrap; - text-indent: 150%; /* More than 100% indention is needed since this element has padding */ - width: 28px; - padding: 0 10px; - overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */ - } - - #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - position: absolute; - top: 13px; - left: 10px; - width: 26px; - height: 26px; - } - - #wpadminbar #wp-admin-bar-user-actions.ab-submenu { - padding: 0; - } - - #wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar { - display: none; - } - - #wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li { - margin: 0; - } - - #wpadminbar #wp-admin-bar-user-info .display-name { - height: auto; - font-size: 16px; - line-height: 24px; - color: #eee; - } - - #wpadminbar #wp-admin-bar-user-info a { - padding-top: 4px; - } - - #wpadminbar #wp-admin-bar-user-info .username { - line-height: 0.8 !important; - margin-bottom: -2px; - } - - /* Show only default top level items */ - #wp-toolbar > ul > li { - display: none; - } - - #wpadminbar li#wp-admin-bar-menu-toggle, - #wpadminbar li#wp-admin-bar-wp-logo, - #wpadminbar li#wp-admin-bar-my-sites, - #wpadminbar li#wp-admin-bar-updates, - #wpadminbar li#wp-admin-bar-site-name, - #wpadminbar li#wp-admin-bar-new-content, - #wpadminbar li#wp-admin-bar-edit, - #wpadminbar li#wp-admin-bar-comments, - #wpadminbar li#wp-admin-bar-new-content, - #wpadminbar li#wp-admin-bar-my-account { - display: block; - } - - /* Allow dropdown list items to appear normally */ - #wpadminbar li:hover ul li, - #wpadminbar li.hover ul li, - #wpadminbar li:hover ul li:hover ul li { - display: list-item; - } - - /* Override default min-width so dropdown lists aren't stretched - to 100% viewport width at responsive sizes. */ - #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { - min-width: -webkit-fit-content; - min-width: -moz-fit-content; - min-width: fit-content; - } - - #wpadminbar ul#wp-admin-bar-root-default > li { - margin-left: 0; - } - - /* Experimental fix for touch toolbar dropdown positioning */ - #wpadminbar .ab-top-menu, - #wpadminbar .ab-top-secondary, - #wpadminbar #wp-admin-bar-wp-logo, - #wpadminbar #wp-admin-bar-my-sites, - #wpadminbar #wp-admin-bar-site-name, - #wpadminbar #wp-admin-bar-updates, - #wpadminbar #wp-admin-bar-comments, - #wpadminbar #wp-admin-bar-new-content, - #wpadminbar #wp-admin-bar-edit, - #wpadminbar #wp-admin-bar-my-account { - position: static; - } - - #wpadminbar #wp-admin-bar-my-account { - float: left; - } - - .network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account { - margin-left: 0; - } - - /* Realign arrows on taller responsive submenus */ - - #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { - top: 10px; - right: 0; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - #wpadminbar { - position: absolute; - } - - #wp-responsive-overlay { - position: fixed; - top: 0; - right: 0; - width: 100%; - height: 100%; - z-index: 400; - } - - #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { - position: fixed; - width: 100%; - right: 0; - } - - #wpadminbar .menupop .menupop > .ab-item:before { - display: none; - } - - #wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper { - margin-right: 0; - } - - #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { - margin: 0; - width: 100%; - top: auto; - right: auto; - position: relative; - } - - #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper .ab-item { - font-size: 16px; - padding: 6px 30px 19px 15px; - } - - #wpadminbar li:hover ul li ul li { - display: list-item; - } - - #wpadminbar li#wp-admin-bar-wp-logo, - #wpadminbar li#wp-admin-bar-updates { - display: none; - } - - /* Make submenus full-width at this size */ - - #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { - position: static; - -webkit-box-shadow: none; - box-shadow: none; - } -} diff --git a/sources/wordpress/wp-includes/css/admin-bar-rtl.min.css b/sources/wordpress/wp-includes/css/admin-bar-rtl.min.css deleted file mode 100644 index 06290bc..0000000 --- a/sources/wordpress/wp-includes/css/admin-bar-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -#wpadminbar *{height:auto;width:auto;margin:0;padding:0;position:static;text-shadow:none;text-transform:none;letter-spacing:normal;font:400 13px/32px "Open Sans",sans-serif;-webkit-border-radius:0;border-radius:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-transition:none;transition:none;-webkit-font-smoothing:subpixel-antialiased}.rtl #wpadminbar *{font-family:Tahoma,sans-serif}html:lang(he-il) .rtl #wpadminbar *{font-family:Arial,sans-serif}#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#eee}#wpadminbar #wp-admin-bar-my-sites a.ab-item,#wpadminbar #wp-admin-bar-site-name a.ab-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#wpadminbar ul li:after,#wpadminbar ul li:before{content:normal}#wpadminbar a,#wpadminbar a img,#wpadminbar a img:hover,#wpadminbar a:hover{outline:0;border:none;text-decoration:none;background:0 0}#wpadminbar a:active,#wpadminbar a:focus,#wpadminbar div,#wpadminbar input[type=email],#wpadminbar input[type=number],#wpadminbar input[type=password],#wpadminbar input[type=search],#wpadminbar input[type=text],#wpadminbar input[type=url],#wpadminbar select,#wpadminbar textarea{-webkit-box-shadow:none;box-shadow:none;outline:0}#wpadminbar{direction:rtl;color:#ccc;font:400 13px/32px "Open Sans",sans-serif;height:32px;position:fixed;top:0;right:0;width:100%;min-width:600px;z-index:99999;background:#222}#wpadminbar .ab-sub-wrapper,#wpadminbar ul,#wpadminbar ul li{background:0 0;clear:none;list-style:none;margin:0;padding:0;position:relative;text-indent:0;z-index:99999}#wpadminbar ul#wp-admin-bar-root-default>li{margin-left:0}#wpadminbar .quicklinks ul{text-align:right}#wpadminbar li{float:right}#wpadminbar .ab-empty-item{outline:0}#wpadminbar .quicklinks .ab-top-secondary>li{float:left}#wpadminbar .quicklinks .ab-empty-item,#wpadminbar .quicklinks a,#wpadminbar .shortlink-input{height:32px;display:block;padding:0 10px;margin:0}#wpadminbar .quicklinks>ul>li>a{padding:0 7px 0 8px}#wpadminbar .menupop .ab-sub-wrapper,#wpadminbar .shortlink-input{margin:0;padding:0;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2);background:#333;display:none;position:absolute;float:none}#wpadminbar.ie7 .menupop .ab-sub-wrapper,#wpadminbar.ie7 .shortlink-input{top:32px;right:0}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper{min-width:100%}#wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper{left:0;right:auto}#wpadminbar .ab-submenu{padding:6px 0}#wpadminbar .selected .shortlink-input{display:block}#wpadminbar .quicklinks .menupop ul li{float:none}#wpadminbar .quicklinks .menupop ul li a strong{font-weight:700}#wpadminbar .quicklinks .menupop ul li .ab-item,#wpadminbar .quicklinks .menupop ul li a strong,#wpadminbar .quicklinks .menupop.hover ul li .ab-item,#wpadminbar .shortlink-input,#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item{line-height:26px;height:26px;white-space:nowrap;min-width:140px}#wpadminbar .shortlink-input{width:200px}#wpadminbar li.hover>.ab-sub-wrapper,#wpadminbar.nojs li:hover>.ab-sub-wrapper{display:block}#wpadminbar .menupop li.hover>.ab-sub-wrapper,#wpadminbar .menupop li:hover>.ab-sub-wrapper{margin-right:100%;margin-top:-32px}#wpadminbar .ab-top-secondary .menupop li.hover>.ab-sub-wrapper,#wpadminbar .ab-top-secondary .menupop li:hover>.ab-sub-wrapper{margin-right:0;right:inherit;left:100%}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{background:#333;color:#2ea2cc}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#2ea2cc}#wpadminbar .ab-icon,#wpadminbar .ab-item:before,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon{position:relative;float:right;font:400 20px/1 dashicons;speak:none;padding:4px 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important;margin-left:6px}#wpadminbar #adminbarsearch:before,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before{color:#999;position:relative;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#wpadminbar .ab-label{display:inline-block;height:32px}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop ul li a strong,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#eee}#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#2ea2cc}#wpadminbar .ab-top-secondary .menupop .menupop>.ab-item:before,#wpadminbar .menupop .menupop>.ab-item:before{position:absolute;font:400 17px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpadminbar .menupop .menupop>.ab-item{display:block;padding-left:2em}#wpadminbar .menupop .menupop>.ab-item:before{top:1px;left:4px;content:'\f139';color:inherit}#wpadminbar .ab-top-secondary .menupop .menupop>.ab-item{padding-right:2em;padding-left:1em}#wpadminbar .ab-top-secondary .menupop .menupop>.ab-item:before{top:5px;right:3px;content:'\f141'}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary{display:block;position:relative;left:auto;margin:0;-webkit-box-shadow:none;box-shadow:none}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4b4b4b}#wpadminbar .quicklinks .menupop .ab-sub-secondary>li .ab-item:focus a,#wpadminbar .quicklinks .menupop .ab-sub-secondary>li>a:hover{color:#2ea2cc}#wpadminbar .quicklinks a span#ab-updates{background:#eee;color:#333;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks a:hover span#ab-updates{background:#fff;color:#000}#wpadminbar .ab-top-secondary{float:left}#wpadminbar ul li:last-child,#wpadminbar ul li:last-child .ab-item{-webkit-box-shadow:none;box-shadow:none}#wp-admin-bar-my-account>ul{min-width:198px}#wp-admin-bar-my-account>.ab-item:before{content:"\f110";top:2px;float:left;margin-right:6px;margin-left:0}#wp-admin-bar-my-account.with-avatar>.ab-item:before{display:none;content:none}#wp-admin-bar-my-account.with-avatar>ul{min-width:270px}#wpadminbar #wp-admin-bar-user-actions>li{margin-right:16px;margin-left:16px}#wpadminbar #wp-admin-bar-user-actions.ab-submenu{padding:6px 0 12px}#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions>li{margin-right:88px}#wpadminbar #wp-admin-bar-user-info{margin-top:6px;margin-bottom:15px;height:auto;background:0 0}#wp-admin-bar-user-info .avatar{position:absolute;right:-72px;top:4px;width:64px;height:64px}#wpadminbar #wp-admin-bar-user-info a{background:0 0;height:auto}#wpadminbar #wp-admin-bar-user-info span{background:0 0;padding:0;height:18px}#wpadminbar #wp-admin-bar-user-info .display-name,#wpadminbar #wp-admin-bar-user-info .username{display:block}#wpadminbar #wp-admin-bar-user-info .username{color:#999;font-size:11px}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{width:16px;height:16px;padding:0;border:1px solid #888;background:#eee;line-height:24px;vertical-align:middle;margin:-4px 6px 0 0;float:none;display:inline}#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon{width:15px;height:20px;margin-left:0;padding:6px 0 5px}#wpadminbar #wp-admin-bar-wp-logo>.ab-item{padding:0 7px}#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon:before{content:'\f120';top:2px}#wpadminbar .quicklinks li .blavatar{float:right;font:400 16px/1 dashicons!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#eee}#wpadminbar .quicklinks li a:hover .blavatar{color:#2ea2cc}#wpadminbar .quicklinks li .blavatar:before{content:'\f120';height:16px;width:16px;display:inline-block;margin:6px -2px 0 8px}#wpadminbar #wp-admin-bar-appearance{margin-top:-12px}#wpadminbar #wp-admin-bar-my-sites>.ab-item:before,#wpadminbar #wp-admin-bar-site-name>.ab-item:before{content:'\f112';top:2px}#wpadminbar #wp-admin-bar-edit>.ab-item:before{content:'\f464';top:2px}#wpadminbar #wp-admin-bar-site-name>.ab-item:before{content:"\f226"}.wp-admin #wpadminbar #wp-admin-bar-site-name>.ab-item:before{content:"\f102"}#wpadminbar #wp-admin-bar-comments .ab-icon{margin-left:6px}#wpadminbar #wp-admin-bar-comments .ab-icon:before{content:'\f101';top:3px}#wpadminbar #wp-admin-bar-comments .count-0{opacity:.5}#wpadminbar #wp-admin-bar-new-content .ab-icon:before{content:'\f132';top:4px}#wpadminbar #wp-admin-bar-updates .ab-icon:before{content:'\f463';top:2px}#wpadminbar #wp-admin-bar-search .ab-item{padding:0;background:0 0}#wpadminbar #adminbarsearch{position:relative;height:32px;padding:0 2px}#wpadminbar #adminbarsearch:before{position:absolute;top:6px;right:5px;z-index:20;font:400 20px/1 dashicons!important;content:'\f179';speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input{position:relative;z-index:30;font:13px/24px "Open Sans",sans-serif;height:24px;width:24px;padding:0 24px 0 3px;margin:0;color:#ccc;background-color:transparent;border:none;outline:0;cursor:pointer;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transition-property:width,background;transition-property:width,background;-webkit-transition-timing-function:ease;transition-timing-function:ease}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{z-index:10;color:#000;width:200px;background-color:rgba(255,255,255,.9);cursor:text;border:0}#wpadminbar.ie7>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input{margin-top:3px;width:120px}#wpadminbar.ie8>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input{margin-top:4px;background-color:#464646}#wpadminbar.ie8>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background-color:#fff}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#999}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#999}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#999}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#999}#wpadminbar #adminbarsearch .adminbar-button,.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#wpadminbar .screen-reader-text,#wpadminbar .screen-reader-text span{position:absolute;right:-1000em;top:-1000em;height:1px;width:1px;overflow:hidden}#wpadminbar .screen-reader-shortcut{position:absolute;top:-1000em}#wpadminbar .screen-reader-shortcut:focus{right:6px;top:7px;height:auto;width:auto;display:block;font-size:14px;font-weight:700;padding:15px 23px 14px;background:#f1f1f1;color:#21759b;z-index:100000;line-height:normal;text-decoration:none;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,.6);box-shadow:0 0 2px 2px rgba(0,0,0,.6)}* html #wpadminbar{overflow:hidden;position:absolute}* html #wpadminbar .quicklinks ul li a{float:right}* html #wpadminbar .menupop a span{background-image:none}.no-font-face #wpadminbar ul.ab-top-menu>li>a.ab-item{display:block;width:45px;text-align:center;overflow:hidden;margin:0 3px}.no-font-face #wpadminbar #wp-admin-bar-edit>.ab-item,.no-font-face #wpadminbar #wp-admin-bar-my-sites>.ab-item,.no-font-face #wpadminbar #wp-admin-bar-site-name>.ab-item{text-indent:0}.no-font-face #wpadminbar #wp-admin-bar-wp-logo>.ab-item,.no-font-face #wpadminbar .ab-icon,.no-font-face #wpadminbar .ab-icon:before,.no-font-face #wpadminbar a.ab-item:before{display:none!important}.no-font-face #wpadminbar ul.ab-top-menu>li>a>span.ab-label{display:inline}.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon{display:inline!important}.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon:before{content:"Menu";font:14px/45px sans-serif!important;display:inline-block!important;color:#fff}.no-font-face #wpadminbar #wp-admin-bar-site-name a.ab-item{color:#fff}@media screen and (max-width:782px){html #wpadminbar{right:0!important;z-index:500!important;height:46px;min-width:300px}#wpadminbar *{font:400 14px/32px "Open Sans",sans-serif}#wpadminbar .quicklinks .ab-empty-item,#wpadminbar .quicklinks>ul>li>a{padding:0;height:46px;line-height:46px;width:auto}#wpadminbar .ab-icon{font:40px/1 dashicons!important;margin:0;width:52px;height:46px;text-align:center}#wpadminbar .ab-icon:before{text-align:center}#wpadminbar .ab-submenu{padding:0}#wpadminbar #wp-admin-bar-my-account a.ab-item,#wpadminbar #wp-admin-bar-my-sites a.ab-item,#wpadminbar #wp-admin-bar-site-name a.ab-item{text-overflow:clip}#wpadminbar .ab-label{display:none}#wpadminbar .menupop li.hover>.ab-sub-wrapper,#wpadminbar .menupop li:hover>.ab-sub-wrapper{margin-top:-46px}#wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop>.ab-item{padding-left:30px}#wpadminbar .menupop .menupop>.ab-item:before{top:10px;left:6px}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper .ab-item{font-size:16px;padding:6px 15px 12px}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper a:empty{display:none}#wpadminbar #wp-admin-bar-wp-logo>.ab-item{padding:0}#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon{padding:0;width:52px;height:46px;text-align:center;vertical-align:top}#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon:before{font:28px/1 dashicons!important;top:-3px}#wpadminbar #wp-admin-bar-edit>.ab-item,#wpadminbar #wp-admin-bar-my-account>.ab-item,#wpadminbar #wp-admin-bar-my-sites>.ab-item,#wpadminbar #wp-admin-bar-site-name>.ab-item{text-indent:100%;white-space:nowrap;overflow:hidden;width:52px;padding:0;color:#999;position:relative}#wpadminbar .ab-icon,#wpadminbar .ab-item:before,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon{padding:0;margin-left:0}#wpadminbar #wp-admin-bar-edit>.ab-item:before,#wpadminbar #wp-admin-bar-my-account>.ab-item:before,#wpadminbar #wp-admin-bar-my-sites>.ab-item:before,#wpadminbar #wp-admin-bar-site-name>.ab-item:before{display:block;text-indent:0;font:400 32px/1 dashicons;speak:none;top:7px;width:52px;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpadminbar #wp-admin-bar-appearance{margin-top:0}#wpadminbar #wp-admin-bar-search,#wpadminbar .quicklinks li .blavatar:before{display:none}#wpadminbar #wp-admin-bar-new-content .ab-icon:before{top:0;line-height:53px;height:46px!important;text-align:center;width:52px;display:block}#wpadminbar #wp-admin-bar-updates{text-align:center}#wpadminbar #wp-admin-bar-updates .ab-icon:before{top:3px}#wpadminbar #wp-admin-bar-comments .ab-icon{margin:0}#wpadminbar #wp-admin-bar-comments .ab-icon:before{display:block;font-size:34px;height:46px;line-height:47px;top:0}#wpadminbar #wp-admin-bar-my-account>a{position:relative;white-space:nowrap;text-indent:150%;width:28px;padding:0 10px;overflow:hidden}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{position:absolute;top:13px;left:10px;width:26px;height:26px}#wpadminbar #wp-admin-bar-user-actions.ab-submenu{padding:0}#wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar{display:none}#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions>li{margin:0}#wpadminbar #wp-admin-bar-user-info .display-name{height:auto;font-size:16px;line-height:24px;color:#eee}#wpadminbar #wp-admin-bar-user-info a{padding-top:4px}#wpadminbar #wp-admin-bar-user-info .username{line-height:.8!important;margin-bottom:-2px}#wp-toolbar>ul>li{display:none}#wpadminbar li#wp-admin-bar-comments,#wpadminbar li#wp-admin-bar-edit,#wpadminbar li#wp-admin-bar-menu-toggle,#wpadminbar li#wp-admin-bar-my-account,#wpadminbar li#wp-admin-bar-my-sites,#wpadminbar li#wp-admin-bar-new-content,#wpadminbar li#wp-admin-bar-site-name,#wpadminbar li#wp-admin-bar-updates,#wpadminbar li#wp-admin-bar-wp-logo{display:block}#wpadminbar li.hover ul li,#wpadminbar li:hover ul li,#wpadminbar li:hover ul li:hover ul li{display:list-item}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper{min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content}#wpadminbar ul#wp-admin-bar-root-default>li{margin-left:0}#wpadminbar #wp-admin-bar-comments,#wpadminbar #wp-admin-bar-edit,#wpadminbar #wp-admin-bar-my-account,#wpadminbar #wp-admin-bar-my-sites,#wpadminbar #wp-admin-bar-new-content,#wpadminbar #wp-admin-bar-site-name,#wpadminbar #wp-admin-bar-updates,#wpadminbar #wp-admin-bar-wp-logo,#wpadminbar .ab-top-menu,#wpadminbar .ab-top-secondary{position:static}#wpadminbar #wp-admin-bar-my-account{float:left}.network-admin #wpadminbar ul#wp-admin-bar-top-secondary>li#wp-admin-bar-my-account{margin-left:0}#wpadminbar .ab-top-secondary .menupop .menupop>.ab-item:before{top:10px;right:0}}@media screen and (max-width:600px){#wpadminbar{position:absolute}#wp-responsive-overlay{position:fixed;top:0;right:0;width:100%;height:100%;z-index:400}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper{position:fixed;width:100%;right:0}#wpadminbar .menupop .menupop>.ab-item:before{display:none}#wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper{margin-right:0}#wpadminbar .ab-top-menu>.menupop li>.ab-sub-wrapper{margin:0;width:100%;top:auto;right:auto}#wpadminbar .ab-top-menu>.menupop li>.ab-sub-wrapper .ab-item{font-size:16px;padding:6px 30px 19px 15px}#wpadminbar li:hover ul li ul li{display:list-item}#wpadminbar li#wp-admin-bar-updates,#wpadminbar li#wp-admin-bar-wp-logo{display:none}#wpadminbar .ab-top-menu>.menupop li>.ab-sub-wrapper{position:static;-webkit-box-shadow:none;box-shadow:none}} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/admin-bar.css b/sources/wordpress/wp-includes/css/admin-bar.css deleted file mode 100644 index 4f5343c..0000000 --- a/sources/wordpress/wp-includes/css/admin-bar.css +++ /dev/null @@ -1,1099 +0,0 @@ -#wpadminbar * { - height: auto; - width: auto; - margin: 0; - padding: 0; - position: static; - text-shadow: none; - text-transform: none; - letter-spacing: normal; - font: normal 13px/32px "Open Sans", sans-serif; - -webkit-border-radius: 0; - border-radius: 0; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-transition: none; - transition: none; - -webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */ -} - -.rtl #wpadminbar * { - font-family: Tahoma, sans-serif; -} - -html:lang(he-il) .rtl #wpadminbar * { - font-family: Arial, sans-serif; -} - -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #eee; -} - -#wpadminbar #wp-admin-bar-site-name a.ab-item, -#wpadminbar #wp-admin-bar-my-sites a.ab-item { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -#wpadminbar ul li:before, -#wpadminbar ul li:after { - content: normal; -} - -#wpadminbar a, -#wpadminbar a:hover, -#wpadminbar a img, -#wpadminbar a img:hover { - outline: none; - border: none; - text-decoration: none; - background: none; -} - -#wpadminbar a:focus, -#wpadminbar a:active, -#wpadminbar input[type="text"], -#wpadminbar input[type="password"], -#wpadminbar input[type="number"], -#wpadminbar input[type="search"], -#wpadminbar input[type="email"], -#wpadminbar input[type="url"], -#wpadminbar select, -#wpadminbar textarea, -#wpadminbar div { - -webkit-box-shadow: none; - box-shadow: none; - outline: none; -} - -#wpadminbar { - direction: ltr; - color: #ccc; - font: normal 13px/32px "Open Sans", sans-serif; - height: 32px; - position: fixed; - top: 0; - left: 0; - width: 100%; - min-width: 600px; /* match the min-width of the body in wp-admin.css */ - z-index: 99999; - background: #222; -} - -#wpadminbar .ab-sub-wrapper, -#wpadminbar ul, -#wpadminbar ul li { - background: none; - clear: none; - list-style: none; - margin: 0; - padding: 0; - position: relative; - text-indent: 0; - z-index: 99999; -} - -#wpadminbar ul#wp-admin-bar-root-default>li { - margin-right: 0; -} - -#wpadminbar .quicklinks ul { - text-align: left; -} - -#wpadminbar li { - float: left; -} - -#wpadminbar .ab-empty-item { - outline: none; -} - -#wpadminbar .quicklinks .ab-top-secondary > li { - float: right; -} - -#wpadminbar .quicklinks a, -#wpadminbar .quicklinks .ab-empty-item, -#wpadminbar .shortlink-input { - height: 32px; - display: block; - padding: 0 10px; - margin: 0; -} - -#wpadminbar .quicklinks > ul > li > a { - padding: 0 8px 0 7px; -} - -#wpadminbar .menupop .ab-sub-wrapper, -#wpadminbar .shortlink-input { - margin: 0; - padding: 0; - -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2); - box-shadow: 0 3px 5px rgba(0,0,0,0.2); - background: #333; - display: none; - position: absolute; - float: none; -} - -#wpadminbar.ie7 .menupop .ab-sub-wrapper, -#wpadminbar.ie7 .shortlink-input { - top: 32px; - left: 0; -} - -#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { - min-width: 100%; -} - -#wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper { - right: 0; - left: auto; -} - -#wpadminbar .ab-submenu { - padding: 6px 0; -} - -#wpadminbar .selected .shortlink-input { - display: block; -} - -#wpadminbar .quicklinks .menupop ul li { - float: none; -} - -#wpadminbar .quicklinks .menupop ul li a strong { - font-weight: bold; -} - -#wpadminbar .quicklinks .menupop ul li .ab-item, -#wpadminbar .quicklinks .menupop ul li a strong, -#wpadminbar .quicklinks .menupop.hover ul li .ab-item, -#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, -#wpadminbar .shortlink-input { - line-height: 26px; - height: 26px; - white-space: nowrap; - min-width: 140px; -} - -#wpadminbar .shortlink-input { - width: 200px; -} - -#wpadminbar.nojs li:hover > .ab-sub-wrapper, -#wpadminbar li.hover > .ab-sub-wrapper { - display: block; -} - -#wpadminbar .menupop li:hover > .ab-sub-wrapper, -#wpadminbar .menupop li.hover > .ab-sub-wrapper { - margin-left: 100%; - margin-top: -32px; -} - -#wpadminbar .ab-top-secondary .menupop li:hover > .ab-sub-wrapper, -#wpadminbar .ab-top-secondary .menupop li.hover > .ab-sub-wrapper { - margin-left: 0; - left: inherit; - right: 100%; -} - -#wpadminbar .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar .ab-top-menu > li:hover > .ab-item, -#wpadminbar .ab-top-menu > li.hover > .ab-item { - background: #333; - color: #2ea2cc; -} - -#wpadminbar > #wp-toolbar li:hover span.ab-label, -#wpadminbar > #wp-toolbar li.hover span.ab-label, -#wpadminbar > #wp-toolbar a:focus span.ab-label { - color: #2ea2cc; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, -#wpadminbar .ab-icon, -#wpadminbar .ab-item:before { - position: relative; - float: left; - font: normal 20px/1 'dashicons'; - speak: none; - padding: 4px 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - background-image: none !important; - margin-right: 6px; -} - -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar #adminbarsearch:before { - color: #999; -} - -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar #adminbarsearch:before { - position: relative; - -webkit-transition: all .1s ease-in-out; - transition: all .1s ease-in-out; -} - -#wpadminbar .ab-label { - display: inline-block; - height: 32px; -} - -#wpadminbar .ab-submenu .ab-item { - color: #eee; -} - -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop ul li a strong, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #eee; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before { - color: #2ea2cc; -} - -#wpadminbar .menupop .menupop > .ab-item:before, -#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { - position: absolute; - font: normal 17px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#wpadminbar .menupop .menupop > .ab-item { - display: block; - padding-right: 2em; -} - -#wpadminbar .menupop .menupop > .ab-item:before { - top: 1px; - right: 4px; - content: '\f139'; - color: inherit; -} - -#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item { - padding-left: 2em; - padding-right: 1em; -} - -#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { - top: 5px; - left: 3px; - content: '\f141'; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary { - display: block; - position: relative; - right: auto; - margin: 0; - -webkit-box-shadow: none; - box-shadow: none; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #4b4b4b; -} - -#wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover, -#wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a { - color: #2ea2cc; -} - -#wpadminbar .quicklinks a span#ab-updates { - background: #eee; - color: #333; - display: inline; - padding: 2px 5px; - font-size: 10px; - font-weight: bold; - -webkit-border-radius: 10px; - border-radius: 10px; -} - -#wpadminbar .quicklinks a:hover span#ab-updates { - background: #fff; - color: #000; -} - -#wpadminbar .ab-top-secondary { - float: right; -} - -#wpadminbar ul li:last-child, -#wpadminbar ul li:last-child .ab-item { - -webkit-box-shadow: none; - box-shadow: none; -} - -/** - * My Account - */ -#wp-admin-bar-my-account > ul { - min-width: 198px; -} - -#wp-admin-bar-my-account > .ab-item:before { - content: "\f110"; - top: 2px; - float: right; - margin-left: 6px; - margin-right: 0; -} - -#wp-admin-bar-my-account.with-avatar > .ab-item:before { - display: none; - content: none; -} - -#wp-admin-bar-my-account.with-avatar > ul { - min-width: 270px; -} - -#wpadminbar #wp-admin-bar-user-actions > li { - margin-left: 16px; - margin-right: 16px; -} - -#wpadminbar #wp-admin-bar-user-actions.ab-submenu { - padding: 6px 0 12px; -} - -#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li { - margin-left: 88px; -} - -#wpadminbar #wp-admin-bar-user-info { - margin-top: 6px; - margin-bottom: 15px; - height: auto; - background: none; -} - -#wp-admin-bar-user-info .avatar { - position: absolute; - left: -72px; - top: 4px; - width: 64px; - height: 64px; -} - -#wpadminbar #wp-admin-bar-user-info a { - background: none; - height: auto; -} - -#wpadminbar #wp-admin-bar-user-info span { - background: none; - padding: 0; - height: 18px; -} - -#wpadminbar #wp-admin-bar-user-info .display-name, -#wpadminbar #wp-admin-bar-user-info .username { - display: block; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #999; - font-size: 11px; -} - -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - width: 16px; - height: 16px; - padding: 0; - border: 1px solid #888; - background: #eee; - line-height: 24px; - vertical-align: middle; - margin: -4px 0 0 6px; - float: none; - display: inline; -} - -/** - * WP Logo - */ -#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { - width: 15px; - height: 20px; - margin-right: 0; - padding: 6px 0 5px; -} - -#wpadminbar #wp-admin-bar-wp-logo > .ab-item { - padding: 0 7px; -} - -#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { - content: '\f120'; - top: 2px; -} - -/* - * My Sites & Site Title - */ -#wpadminbar .quicklinks li .blavatar { - float: left; - font: normal 16px/1 'dashicons' !important; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color: #eee; -} - -#wpadminbar .quicklinks li a:hover .blavatar { - color: #2ea2cc; -} - -#wpadminbar .quicklinks li .blavatar:before { - content: '\f120'; - height: 16px; - width: 16px; - display: inline-block; - margin: 6px 8px 0 -2px; -} - -#wpadminbar #wp-admin-bar-appearance { - margin-top: -12px; -} - -#wpadminbar #wp-admin-bar-my-sites > .ab-item:before, -#wpadminbar #wp-admin-bar-site-name > .ab-item:before { - content: '\f112'; - top: 2px; -} - -#wpadminbar #wp-admin-bar-edit > .ab-item:before { - content: '\f464'; - top: 2px; -} - -#wpadminbar #wp-admin-bar-site-name > .ab-item:before { - content: "\f226"; -} - -.wp-admin #wpadminbar #wp-admin-bar-site-name > .ab-item:before { - content: "\f102"; -} - - - -/** - * Comments - */ -#wpadminbar #wp-admin-bar-comments .ab-icon { - margin-right: 6px; -} - -#wpadminbar #wp-admin-bar-comments .ab-icon:before { - content: '\f101'; - top: 3px; -} - -#wpadminbar #wp-admin-bar-comments .count-0 { - opacity: .5; -} - -/** - * New Content - */ -#wpadminbar #wp-admin-bar-new-content .ab-icon:before { - content: '\f132'; - top: 4px; -} - -/** - * Updates - */ -#wpadminbar #wp-admin-bar-updates .ab-icon:before { - content: '\f463'; - top: 2px; -} - -/** - * Search - */ -#wpadminbar #wp-admin-bar-search .ab-item { - padding: 0; - background: transparent; -} - -#wpadminbar #adminbarsearch { - position: relative; - height: 32px; - padding: 0 2px; -} - -#wpadminbar #adminbarsearch:before { - position: absolute; - top: 6px; - left: 5px; - z-index: 20; - font: normal 20px/1 'dashicons' !important; - content: '\f179'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { - position: relative; - z-index: 30; - font: 13px/24px "Open Sans", sans-serif; - height: 24px; - width: 24px; - padding: 0 3px 0 24px; - margin: 0; - color: #ccc; - background-color: rgba( 255, 255, 255, 0 ); - border: none; - outline: none; - cursor: pointer; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition-duration: 400ms; - transition-duration: 400ms; - -webkit-transition-property: width, background; - transition-property: width, background; - -webkit-transition-timing-function: ease; - transition-timing-function: ease; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - z-index: 10; - color: #000; - width: 200px; - background-color: rgba( 255, 255, 255, 0.9 ); - cursor: text; - border: 0; -} - -#wpadminbar.ie7 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { - margin-top: 3px; - width: 120px; -} - -#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { - margin-top: 4px; - background-color: #464646; -} - -#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - background-color: #fff; -} - -#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { - color: #999; -} -#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { - color: #999; -} -#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { - color: #999; -} -#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { - color: #999; -} - -#wpadminbar #adminbarsearch .adminbar-button { - display: none; -} - -/** - * Customize support classes - */ -.no-customize-support .hide-if-no-customize, -.customize-support .hide-if-customize, -.no-customize-support.wp-core-ui .hide-if-no-customize, -.no-customize-support .wp-core-ui .hide-if-no-customize, -.customize-support.wp-core-ui .hide-if-customize, -.customize-support .wp-core-ui .hide-if-customize { - display: none; -} - -/* Skip link */ -#wpadminbar .screen-reader-text, -#wpadminbar .screen-reader-text span { - position: absolute; - left: -1000em; - top: -1000em; - height: 1px; - width: 1px; - overflow: hidden; -} - -#wpadminbar .screen-reader-shortcut { - position: absolute; - top: -1000em; -} - -#wpadminbar .screen-reader-shortcut:focus { - left: 6px; - top: 7px; - height: auto; - width: auto; - display: block; - font-size: 14px; - font-weight: bold; - padding: 15px 23px 14px; - background: #f1f1f1; - color: #21759b; - z-index: 100000; - line-height: normal; - text-decoration: none; - -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6); - box-shadow: 0 0 2px 2px rgba(0,0,0,.6); -} - -/** - * IE 6-targeted rules - */ -* html #wpadminbar { - overflow: hidden; - position: absolute; -} - -* html #wpadminbar .quicklinks ul li a { - float: left; -} - -* html #wpadminbar .menupop a span { - background-image: none; -} - -/* No @font-face support */ -.no-font-face #wpadminbar ul.ab-top-menu > li > a.ab-item { - display: block; - width: 45px; - text-align: center; - overflow: hidden; - margin: 0 3px; -} - -.no-font-face #wpadminbar #wp-admin-bar-my-sites > .ab-item, -.no-font-face #wpadminbar #wp-admin-bar-site-name > .ab-item, -.no-font-face #wpadminbar #wp-admin-bar-edit > .ab-item { - text-indent: 0; -} - -.no-font-face #wpadminbar .ab-icon, -.no-font-face #wpadminbar .ab-icon:before, -.no-font-face #wpadminbar a.ab-item:before, -.no-font-face #wpadminbar #wp-admin-bar-wp-logo > .ab-item { - display: none !important; -} - -.no-font-face #wpadminbar ul.ab-top-menu > li > a > span.ab-label { - display: inline; -} - -.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon { - display: inline !important; -} - -.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon:before { - content: "Menu"; - font: 14px/45px sans-serif !important; - display: inline-block !important; - color: #fff; -} - -.no-font-face #wpadminbar #wp-admin-bar-site-name a.ab-item { - color: #fff; -} -/* End no @font-face */ - -@media screen and ( max-width: 782px ) { - /* Toolbar Touchification*/ - html #wpadminbar { - left: 0 !important; - z-index: 500 !important; - height: 46px; - min-width: 300px; - - /* These rules break dropdown tappability on Chrome/Android. - -webkit-transform: translate3d(0, 0, 0); - -webkit-backface-visibility: hidden; - -webkit-transition: 0; - transform: translate3d(0, 0, 0); - backface-visibility: hidden; - transition: 0; - */ - } - - #wpadminbar * { - font: normal 14px/32px "Open Sans", sans-serif; - } - - #wpadminbar .quicklinks > ul > li > a, - #wpadminbar .quicklinks .ab-empty-item { - padding: 0; - height: 46px; - line-height: 46px; - width: auto; - } - - #wpadminbar .ab-icon { - font: 40px/1 dashicons !important; - margin: 0; - padding: 0; - width: 52px; - height: 46px; - text-align: center; - } - - #wpadminbar .ab-icon:before { - text-align: center; - } - - #wpadminbar .ab-submenu { - padding: 0; - } - - #wpadminbar #wp-admin-bar-site-name a.ab-item, - #wpadminbar #wp-admin-bar-my-sites a.ab-item, - #wpadminbar #wp-admin-bar-my-account a.ab-item { - text-overflow: clip; - } - - #wpadminbar .ab-label { - display: none; - } - - #wpadminbar .menupop li:hover > .ab-sub-wrapper, - #wpadminbar .menupop li.hover > .ab-sub-wrapper { - margin-top: -46px; - } - - #wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop > .ab-item { - padding-right: 30px; - } - - #wpadminbar .menupop .menupop > .ab-item:before { - top: 10px; - right: 6px; - } - - #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper .ab-item { - font-size: 16px; - padding: 6px 15px 12px; - } - - #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper a:empty { - display: none; - } - - /* WP logo */ - #wpadminbar #wp-admin-bar-wp-logo > .ab-item { - padding: 0; - } - - #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { - padding: 0; - width: 52px; - height: 46px; - text-align: center; - vertical-align: top; - } - - #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { - font: 28px/1 'dashicons' !important; - top: -3px; - } - - #wpadminbar .ab-icon, - #wpadminbar .ab-item:before { - padding: 0; - } - - /* My Sites and "Site Title" menu */ - #wpadminbar #wp-admin-bar-my-sites > .ab-item, - #wpadminbar #wp-admin-bar-site-name > .ab-item, - #wpadminbar #wp-admin-bar-edit > .ab-item, - #wpadminbar #wp-admin-bar-my-account > .ab-item { - text-indent: 100%; - white-space: nowrap; - overflow: hidden; - width: 52px; - padding: 0; - color: #999; - position: relative; - } - - #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, - #wpadminbar .ab-icon, - #wpadminbar .ab-item:before { - padding: 0; - margin-right: 0; - } - - #wpadminbar #wp-admin-bar-edit > .ab-item:before, - #wpadminbar #wp-admin-bar-my-sites > .ab-item:before, - #wpadminbar #wp-admin-bar-site-name > .ab-item:before, - #wpadminbar #wp-admin-bar-my-account > .ab-item:before { - display: block; - text-indent: 0; - font: normal 32px/1 'dashicons'; - speak: none; - top: 7px; - width: 52px; - text-align: center; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } - - #wpadminbar #wp-admin-bar-appearance { - margin-top: 0; - } - - #wpadminbar .quicklinks li .blavatar:before { - display: none; - } - - /* Search */ - #wpadminbar #wp-admin-bar-search { - display: none; - } - - /* New Content */ - #wpadminbar #wp-admin-bar-new-content .ab-icon:before { - top: 0; - line-height: 53px; - height: 46px !important; - text-align: center; - width: 52px; - display: block; - } - - /* Updates */ - #wpadminbar #wp-admin-bar-updates { - text-align: center; - } - - #wpadminbar #wp-admin-bar-updates .ab-icon:before { - top: 3px; - } - - /* Comments */ - #wpadminbar #wp-admin-bar-comments .ab-icon { - margin: 0; - } - - #wpadminbar #wp-admin-bar-comments .ab-icon:before { - display: block; - font-size: 34px; - height: 46px; - line-height: 47px; - top: 0; - } - - /* My Account */ - #wpadminbar #wp-admin-bar-my-account > a { - position: relative; - white-space: nowrap; - text-indent: 150%; /* More than 100% indention is needed since this element has padding */ - width: 28px; - padding: 0 10px; - overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */ - } - - #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - position: absolute; - top: 13px; - right: 10px; - width: 26px; - height: 26px; - } - - #wpadminbar #wp-admin-bar-user-actions.ab-submenu { - padding: 0; - } - - #wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar { - display: none; - } - - #wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li { - margin: 0; - } - - #wpadminbar #wp-admin-bar-user-info .display-name { - height: auto; - font-size: 16px; - line-height: 24px; - color: #eee; - } - - #wpadminbar #wp-admin-bar-user-info a { - padding-top: 4px; - } - - #wpadminbar #wp-admin-bar-user-info .username { - line-height: 0.8 !important; - margin-bottom: -2px; - } - - /* Show only default top level items */ - #wp-toolbar > ul > li { - display: none; - } - - #wpadminbar li#wp-admin-bar-menu-toggle, - #wpadminbar li#wp-admin-bar-wp-logo, - #wpadminbar li#wp-admin-bar-my-sites, - #wpadminbar li#wp-admin-bar-updates, - #wpadminbar li#wp-admin-bar-site-name, - #wpadminbar li#wp-admin-bar-new-content, - #wpadminbar li#wp-admin-bar-edit, - #wpadminbar li#wp-admin-bar-comments, - #wpadminbar li#wp-admin-bar-new-content, - #wpadminbar li#wp-admin-bar-my-account { - display: block; - } - - /* Allow dropdown list items to appear normally */ - #wpadminbar li:hover ul li, - #wpadminbar li.hover ul li, - #wpadminbar li:hover ul li:hover ul li { - display: list-item; - } - - /* Override default min-width so dropdown lists aren't stretched - to 100% viewport width at responsive sizes. */ - #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { - min-width: -webkit-fit-content; - min-width: -moz-fit-content; - min-width: fit-content; - } - - #wpadminbar ul#wp-admin-bar-root-default > li { - margin-right: 0; - } - - /* Experimental fix for touch toolbar dropdown positioning */ - #wpadminbar .ab-top-menu, - #wpadminbar .ab-top-secondary, - #wpadminbar #wp-admin-bar-wp-logo, - #wpadminbar #wp-admin-bar-my-sites, - #wpadminbar #wp-admin-bar-site-name, - #wpadminbar #wp-admin-bar-updates, - #wpadminbar #wp-admin-bar-comments, - #wpadminbar #wp-admin-bar-new-content, - #wpadminbar #wp-admin-bar-edit, - #wpadminbar #wp-admin-bar-my-account { - position: static; - } - - #wpadminbar #wp-admin-bar-my-account { - float: right; - } - - .network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account { - margin-right: 0; - } - - /* Realign arrows on taller responsive submenus */ - - #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { - top: 10px; - left: 0; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - #wpadminbar { - position: absolute; - } - - #wp-responsive-overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 400; - } - - #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { - position: fixed; - width: 100%; - left: 0; - } - - #wpadminbar .menupop .menupop > .ab-item:before { - display: none; - } - - #wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper { - margin-left: 0; - } - - #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { - margin: 0; - width: 100%; - top: auto; - left: auto; - position: relative; - } - - #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper .ab-item { - font-size: 16px; - padding: 6px 15px 19px 30px; - } - - #wpadminbar li:hover ul li ul li { - display: list-item; - } - - #wpadminbar li#wp-admin-bar-wp-logo, - #wpadminbar li#wp-admin-bar-updates { - display: none; - } - - /* Make submenus full-width at this size */ - - #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { - position: static; - -webkit-box-shadow: none; - box-shadow: none; - } -} diff --git a/sources/wordpress/wp-includes/css/admin-bar.min.css b/sources/wordpress/wp-includes/css/admin-bar.min.css deleted file mode 100644 index 8907308..0000000 --- a/sources/wordpress/wp-includes/css/admin-bar.min.css +++ /dev/null @@ -1 +0,0 @@ -#wpadminbar *{height:auto;width:auto;margin:0;padding:0;position:static;text-shadow:none;text-transform:none;letter-spacing:normal;font:400 13px/32px "Open Sans",sans-serif;-webkit-border-radius:0;border-radius:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-transition:none;transition:none;-webkit-font-smoothing:subpixel-antialiased}.rtl #wpadminbar *{font-family:Tahoma,sans-serif}html:lang(he-il) .rtl #wpadminbar *{font-family:Arial,sans-serif}#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#eee}#wpadminbar #wp-admin-bar-my-sites a.ab-item,#wpadminbar #wp-admin-bar-site-name a.ab-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#wpadminbar ul li:after,#wpadminbar ul li:before{content:normal}#wpadminbar a,#wpadminbar a img,#wpadminbar a img:hover,#wpadminbar a:hover{outline:0;border:none;text-decoration:none;background:0 0}#wpadminbar a:active,#wpadminbar a:focus,#wpadminbar div,#wpadminbar input[type=email],#wpadminbar input[type=number],#wpadminbar input[type=password],#wpadminbar input[type=search],#wpadminbar input[type=text],#wpadminbar input[type=url],#wpadminbar select,#wpadminbar textarea{-webkit-box-shadow:none;box-shadow:none;outline:0}#wpadminbar{direction:ltr;color:#ccc;font:400 13px/32px "Open Sans",sans-serif;height:32px;position:fixed;top:0;left:0;width:100%;min-width:600px;z-index:99999;background:#222}#wpadminbar .ab-sub-wrapper,#wpadminbar ul,#wpadminbar ul li{background:0 0;clear:none;list-style:none;margin:0;padding:0;position:relative;text-indent:0;z-index:99999}#wpadminbar ul#wp-admin-bar-root-default>li{margin-right:0}#wpadminbar .quicklinks ul{text-align:left}#wpadminbar li{float:left}#wpadminbar .ab-empty-item{outline:0}#wpadminbar .quicklinks .ab-top-secondary>li{float:right}#wpadminbar .quicklinks .ab-empty-item,#wpadminbar .quicklinks a,#wpadminbar .shortlink-input{height:32px;display:block;padding:0 10px;margin:0}#wpadminbar .quicklinks>ul>li>a{padding:0 8px 0 7px}#wpadminbar .menupop .ab-sub-wrapper,#wpadminbar .shortlink-input{margin:0;padding:0;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2);background:#333;display:none;position:absolute;float:none}#wpadminbar.ie7 .menupop .ab-sub-wrapper,#wpadminbar.ie7 .shortlink-input{top:32px;left:0}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper{min-width:100%}#wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper{right:0;left:auto}#wpadminbar .ab-submenu{padding:6px 0}#wpadminbar .selected .shortlink-input{display:block}#wpadminbar .quicklinks .menupop ul li{float:none}#wpadminbar .quicklinks .menupop ul li a strong{font-weight:700}#wpadminbar .quicklinks .menupop ul li .ab-item,#wpadminbar .quicklinks .menupop ul li a strong,#wpadminbar .quicklinks .menupop.hover ul li .ab-item,#wpadminbar .shortlink-input,#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item{line-height:26px;height:26px;white-space:nowrap;min-width:140px}#wpadminbar .shortlink-input{width:200px}#wpadminbar li.hover>.ab-sub-wrapper,#wpadminbar.nojs li:hover>.ab-sub-wrapper{display:block}#wpadminbar .menupop li.hover>.ab-sub-wrapper,#wpadminbar .menupop li:hover>.ab-sub-wrapper{margin-left:100%;margin-top:-32px}#wpadminbar .ab-top-secondary .menupop li.hover>.ab-sub-wrapper,#wpadminbar .ab-top-secondary .menupop li:hover>.ab-sub-wrapper{margin-left:0;left:inherit;right:100%}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus{background:#333;color:#2ea2cc}#wpadminbar>#wp-toolbar a:focus span.ab-label,#wpadminbar>#wp-toolbar li.hover span.ab-label,#wpadminbar>#wp-toolbar li:hover span.ab-label{color:#2ea2cc}#wpadminbar .ab-icon,#wpadminbar .ab-item:before,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon{position:relative;float:left;font:400 20px/1 dashicons;speak:none;padding:4px 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important;margin-right:6px}#wpadminbar #adminbarsearch:before,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before{color:#999;position:relative;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#wpadminbar .ab-label{display:inline-block;height:32px}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop ul li a strong,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#eee}#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#2ea2cc}#wpadminbar .ab-top-secondary .menupop .menupop>.ab-item:before,#wpadminbar .menupop .menupop>.ab-item:before{position:absolute;font:400 17px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpadminbar .menupop .menupop>.ab-item{display:block;padding-right:2em}#wpadminbar .menupop .menupop>.ab-item:before{top:1px;right:4px;content:'\f139';color:inherit}#wpadminbar .ab-top-secondary .menupop .menupop>.ab-item{padding-left:2em;padding-right:1em}#wpadminbar .ab-top-secondary .menupop .menupop>.ab-item:before{top:5px;left:3px;content:'\f141'}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary{display:block;position:relative;right:auto;margin:0;-webkit-box-shadow:none;box-shadow:none}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4b4b4b}#wpadminbar .quicklinks .menupop .ab-sub-secondary>li .ab-item:focus a,#wpadminbar .quicklinks .menupop .ab-sub-secondary>li>a:hover{color:#2ea2cc}#wpadminbar .quicklinks a span#ab-updates{background:#eee;color:#333;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks a:hover span#ab-updates{background:#fff;color:#000}#wpadminbar .ab-top-secondary{float:right}#wpadminbar ul li:last-child,#wpadminbar ul li:last-child .ab-item{-webkit-box-shadow:none;box-shadow:none}#wp-admin-bar-my-account>ul{min-width:198px}#wp-admin-bar-my-account>.ab-item:before{content:"\f110";top:2px;float:right;margin-left:6px;margin-right:0}#wp-admin-bar-my-account.with-avatar>.ab-item:before{display:none;content:none}#wp-admin-bar-my-account.with-avatar>ul{min-width:270px}#wpadminbar #wp-admin-bar-user-actions>li{margin-left:16px;margin-right:16px}#wpadminbar #wp-admin-bar-user-actions.ab-submenu{padding:6px 0 12px}#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions>li{margin-left:88px}#wpadminbar #wp-admin-bar-user-info{margin-top:6px;margin-bottom:15px;height:auto;background:0 0}#wp-admin-bar-user-info .avatar{position:absolute;left:-72px;top:4px;width:64px;height:64px}#wpadminbar #wp-admin-bar-user-info a{background:0 0;height:auto}#wpadminbar #wp-admin-bar-user-info span{background:0 0;padding:0;height:18px}#wpadminbar #wp-admin-bar-user-info .display-name,#wpadminbar #wp-admin-bar-user-info .username{display:block}#wpadminbar #wp-admin-bar-user-info .username{color:#999;font-size:11px}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{width:16px;height:16px;padding:0;border:1px solid #888;background:#eee;line-height:24px;vertical-align:middle;margin:-4px 0 0 6px;float:none;display:inline}#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon{width:15px;height:20px;margin-right:0;padding:6px 0 5px}#wpadminbar #wp-admin-bar-wp-logo>.ab-item{padding:0 7px}#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon:before{content:'\f120';top:2px}#wpadminbar .quicklinks li .blavatar{float:left;font:400 16px/1 dashicons!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#eee}#wpadminbar .quicklinks li a:hover .blavatar{color:#2ea2cc}#wpadminbar .quicklinks li .blavatar:before{content:'\f120';height:16px;width:16px;display:inline-block;margin:6px 8px 0 -2px}#wpadminbar #wp-admin-bar-appearance{margin-top:-12px}#wpadminbar #wp-admin-bar-my-sites>.ab-item:before,#wpadminbar #wp-admin-bar-site-name>.ab-item:before{content:'\f112';top:2px}#wpadminbar #wp-admin-bar-edit>.ab-item:before{content:'\f464';top:2px}#wpadminbar #wp-admin-bar-site-name>.ab-item:before{content:"\f226"}.wp-admin #wpadminbar #wp-admin-bar-site-name>.ab-item:before{content:"\f102"}#wpadminbar #wp-admin-bar-comments .ab-icon{margin-right:6px}#wpadminbar #wp-admin-bar-comments .ab-icon:before{content:'\f101';top:3px}#wpadminbar #wp-admin-bar-comments .count-0{opacity:.5}#wpadminbar #wp-admin-bar-new-content .ab-icon:before{content:'\f132';top:4px}#wpadminbar #wp-admin-bar-updates .ab-icon:before{content:'\f463';top:2px}#wpadminbar #wp-admin-bar-search .ab-item{padding:0;background:0 0}#wpadminbar #adminbarsearch{position:relative;height:32px;padding:0 2px}#wpadminbar #adminbarsearch:before{position:absolute;top:6px;left:5px;z-index:20;font:400 20px/1 dashicons!important;content:'\f179';speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input{position:relative;z-index:30;font:13px/24px "Open Sans",sans-serif;height:24px;width:24px;padding:0 3px 0 24px;margin:0;color:#ccc;background-color:transparent;border:none;outline:0;cursor:pointer;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transition-property:width,background;transition-property:width,background;-webkit-transition-timing-function:ease;transition-timing-function:ease}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{z-index:10;color:#000;width:200px;background-color:rgba(255,255,255,.9);cursor:text;border:0}#wpadminbar.ie7>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input{margin-top:3px;width:120px}#wpadminbar.ie8>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input{margin-top:4px;background-color:#464646}#wpadminbar.ie8>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{background-color:#fff}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#999}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#999}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#999}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#999}#wpadminbar #adminbarsearch .adminbar-button,.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#wpadminbar .screen-reader-text,#wpadminbar .screen-reader-text span{position:absolute;left:-1000em;top:-1000em;height:1px;width:1px;overflow:hidden}#wpadminbar .screen-reader-shortcut{position:absolute;top:-1000em}#wpadminbar .screen-reader-shortcut:focus{left:6px;top:7px;height:auto;width:auto;display:block;font-size:14px;font-weight:700;padding:15px 23px 14px;background:#f1f1f1;color:#21759b;z-index:100000;line-height:normal;text-decoration:none;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,.6);box-shadow:0 0 2px 2px rgba(0,0,0,.6)}* html #wpadminbar{overflow:hidden;position:absolute}* html #wpadminbar .quicklinks ul li a{float:left}* html #wpadminbar .menupop a span{background-image:none}.no-font-face #wpadminbar ul.ab-top-menu>li>a.ab-item{display:block;width:45px;text-align:center;overflow:hidden;margin:0 3px}.no-font-face #wpadminbar #wp-admin-bar-edit>.ab-item,.no-font-face #wpadminbar #wp-admin-bar-my-sites>.ab-item,.no-font-face #wpadminbar #wp-admin-bar-site-name>.ab-item{text-indent:0}.no-font-face #wpadminbar #wp-admin-bar-wp-logo>.ab-item,.no-font-face #wpadminbar .ab-icon,.no-font-face #wpadminbar .ab-icon:before,.no-font-face #wpadminbar a.ab-item:before{display:none!important}.no-font-face #wpadminbar ul.ab-top-menu>li>a>span.ab-label{display:inline}.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon{display:inline!important}.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon:before{content:"Menu";font:14px/45px sans-serif!important;display:inline-block!important;color:#fff}.no-font-face #wpadminbar #wp-admin-bar-site-name a.ab-item{color:#fff}@media screen and (max-width:782px){html #wpadminbar{left:0!important;z-index:500!important;height:46px;min-width:300px}#wpadminbar *{font:400 14px/32px "Open Sans",sans-serif}#wpadminbar .quicklinks .ab-empty-item,#wpadminbar .quicklinks>ul>li>a{padding:0;height:46px;line-height:46px;width:auto}#wpadminbar .ab-icon{font:40px/1 dashicons!important;margin:0;width:52px;height:46px;text-align:center}#wpadminbar .ab-icon:before{text-align:center}#wpadminbar .ab-submenu{padding:0}#wpadminbar #wp-admin-bar-my-account a.ab-item,#wpadminbar #wp-admin-bar-my-sites a.ab-item,#wpadminbar #wp-admin-bar-site-name a.ab-item{text-overflow:clip}#wpadminbar .ab-label{display:none}#wpadminbar .menupop li.hover>.ab-sub-wrapper,#wpadminbar .menupop li:hover>.ab-sub-wrapper{margin-top:-46px}#wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop>.ab-item{padding-right:30px}#wpadminbar .menupop .menupop>.ab-item:before{top:10px;right:6px}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper .ab-item{font-size:16px;padding:6px 15px 12px}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper a:empty{display:none}#wpadminbar #wp-admin-bar-wp-logo>.ab-item{padding:0}#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon{padding:0;width:52px;height:46px;text-align:center;vertical-align:top}#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon:before{font:28px/1 dashicons!important;top:-3px}#wpadminbar #wp-admin-bar-edit>.ab-item,#wpadminbar #wp-admin-bar-my-account>.ab-item,#wpadminbar #wp-admin-bar-my-sites>.ab-item,#wpadminbar #wp-admin-bar-site-name>.ab-item{text-indent:100%;white-space:nowrap;overflow:hidden;width:52px;padding:0;color:#999;position:relative}#wpadminbar .ab-icon,#wpadminbar .ab-item:before,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon{padding:0;margin-right:0}#wpadminbar #wp-admin-bar-edit>.ab-item:before,#wpadminbar #wp-admin-bar-my-account>.ab-item:before,#wpadminbar #wp-admin-bar-my-sites>.ab-item:before,#wpadminbar #wp-admin-bar-site-name>.ab-item:before{display:block;text-indent:0;font:400 32px/1 dashicons;speak:none;top:7px;width:52px;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#wpadminbar #wp-admin-bar-appearance{margin-top:0}#wpadminbar #wp-admin-bar-search,#wpadminbar .quicklinks li .blavatar:before{display:none}#wpadminbar #wp-admin-bar-new-content .ab-icon:before{top:0;line-height:53px;height:46px!important;text-align:center;width:52px;display:block}#wpadminbar #wp-admin-bar-updates{text-align:center}#wpadminbar #wp-admin-bar-updates .ab-icon:before{top:3px}#wpadminbar #wp-admin-bar-comments .ab-icon{margin:0}#wpadminbar #wp-admin-bar-comments .ab-icon:before{display:block;font-size:34px;height:46px;line-height:47px;top:0}#wpadminbar #wp-admin-bar-my-account>a{position:relative;white-space:nowrap;text-indent:150%;width:28px;padding:0 10px;overflow:hidden}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{position:absolute;top:13px;right:10px;width:26px;height:26px}#wpadminbar #wp-admin-bar-user-actions.ab-submenu{padding:0}#wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar{display:none}#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions>li{margin:0}#wpadminbar #wp-admin-bar-user-info .display-name{height:auto;font-size:16px;line-height:24px;color:#eee}#wpadminbar #wp-admin-bar-user-info a{padding-top:4px}#wpadminbar #wp-admin-bar-user-info .username{line-height:.8!important;margin-bottom:-2px}#wp-toolbar>ul>li{display:none}#wpadminbar li#wp-admin-bar-comments,#wpadminbar li#wp-admin-bar-edit,#wpadminbar li#wp-admin-bar-menu-toggle,#wpadminbar li#wp-admin-bar-my-account,#wpadminbar li#wp-admin-bar-my-sites,#wpadminbar li#wp-admin-bar-new-content,#wpadminbar li#wp-admin-bar-site-name,#wpadminbar li#wp-admin-bar-updates,#wpadminbar li#wp-admin-bar-wp-logo{display:block}#wpadminbar li.hover ul li,#wpadminbar li:hover ul li,#wpadminbar li:hover ul li:hover ul li{display:list-item}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper{min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content}#wpadminbar ul#wp-admin-bar-root-default>li{margin-right:0}#wpadminbar #wp-admin-bar-comments,#wpadminbar #wp-admin-bar-edit,#wpadminbar #wp-admin-bar-my-account,#wpadminbar #wp-admin-bar-my-sites,#wpadminbar #wp-admin-bar-new-content,#wpadminbar #wp-admin-bar-site-name,#wpadminbar #wp-admin-bar-updates,#wpadminbar #wp-admin-bar-wp-logo,#wpadminbar .ab-top-menu,#wpadminbar .ab-top-secondary{position:static}#wpadminbar #wp-admin-bar-my-account{float:right}.network-admin #wpadminbar ul#wp-admin-bar-top-secondary>li#wp-admin-bar-my-account{margin-right:0}#wpadminbar .ab-top-secondary .menupop .menupop>.ab-item:before{top:10px;left:0}}@media screen and (max-width:600px){#wpadminbar{position:absolute}#wp-responsive-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:400}#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper{position:fixed;width:100%;left:0}#wpadminbar .menupop .menupop>.ab-item:before{display:none}#wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper{margin-left:0}#wpadminbar .ab-top-menu>.menupop li>.ab-sub-wrapper{margin:0;width:100%;top:auto;left:auto}#wpadminbar .ab-top-menu>.menupop li>.ab-sub-wrapper .ab-item{font-size:16px;padding:6px 15px 19px 30px}#wpadminbar li:hover ul li ul li{display:list-item}#wpadminbar li#wp-admin-bar-updates,#wpadminbar li#wp-admin-bar-wp-logo{display:none}#wpadminbar .ab-top-menu>.menupop li>.ab-sub-wrapper{position:static;-webkit-box-shadow:none;box-shadow:none}} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/buttons-rtl.css b/sources/wordpress/wp-includes/css/buttons-rtl.css deleted file mode 100644 index d4e0b53..0000000 --- a/sources/wordpress/wp-includes/css/buttons-rtl.css +++ /dev/null @@ -1,364 +0,0 @@ -/* ---------------------------------------------------------------------------- - -NOTE: If you edit this file, you should make sure that the CSS rules for -buttons in the following files are updated. - -* jquery-ui-dialog.css -* editor.css - -WordPress-style Buttons -======================= -Create a button by adding the %60.button` class to an element. For backwards -compatibility, we support several other classes (such as `.button-secondary`), -but these will *not* work with the stackable classes described below. - -Button Styles -------------- -To display a primary button style, add the `.button-primary` class to a button. - -Button Sizes ------------- -Adjust a button's size by adding the `.button-large` or `.button-small` class. - -Button States -------------- -Lock the state of a button by adding the name of the pseudoclass as -an actual class (e.g. `.hover` for `:hover`). - - -TABLE OF CONTENTS: ------------------- - 1.0 - Button Layouts - 2.0 - Default Button Style - 3.0 - Primary Button Style - 4.0 - Button Groups - 5.0 - Responsive Button Styles - ----------------------------------------------------------------------------- */ - -/* ---------------------------------------------------------------------------- - 1.0 - Button Layouts ----------------------------------------------------------------------------- */ - -.wp-core-ui .button, -.wp-core-ui .button-primary, -.wp-core-ui .button-secondary { - display: inline-block; - text-decoration: none; - font-size: 13px; - line-height: 26px; - height: 28px; - margin: 0; - padding: 0 10px 1px; - cursor: pointer; - border-width: 1px; - border-style: solid; - -webkit-appearance: none; - -webkit-border-radius: 3px; - border-radius: 3px; - white-space: nowrap; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -/* Remove the dotted border on :focus and the extra padding in Firefox */ -.wp-core-ui button::-moz-focus-inner, -.wp-core-ui input[type="reset"]::-moz-focus-inner, -.wp-core-ui input[type="button"]::-moz-focus-inner, -.wp-core-ui input[type="submit"]::-moz-focus-inner { - border-width: 0; - border-style: none; - padding: 0; -} - -.wp-core-ui .button.button-large, -.wp-core-ui .button-group.button-large .button { - height: 30px; - line-height: 28px; - padding: 0 12px 2px; -} - -.wp-core-ui .button.button-small, -.wp-core-ui .button-group.button-small .button { - height: 24px; - line-height: 22px; - padding: 0 8px 1px; - font-size: 11px; -} - -.wp-core-ui .button.button-hero, -.wp-core-ui .button-group.button-hero .button { - font-size: 14px; - height: 46px; - line-height: 44px; - padding: 0 36px; -} - -.wp-core-ui .button:active, -.wp-core-ui .button:focus { - outline: none; -} - -.wp-core-ui .button.hidden { - display: none; -} - -/* Style Reset buttons as simple text links */ - -.wp-core-ui input[type="reset"], -.wp-core-ui input[type="reset"]:hover, -.wp-core-ui input[type="reset"]:active, -.wp-core-ui input[type="reset"]:focus { - background: none; - border: none; - -webkit-box-shadow: none; - box-shadow: none; - padding: 0 2px 1px; - width: auto; -} - -/* ---------------------------------------------------------------------------- - 2.0 - Default Button Style ----------------------------------------------------------------------------- */ - -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #555; - border-color: #cccccc; - background: #f7f7f7; - -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - vertical-align: top; -} - -.wp-core-ui p .button { - vertical-align: baseline; -} - -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - background: #fafafa; - border-color: #999; - color: #222; -} - -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -.wp-core-ui .button.active, -.wp-core-ui .button.active:hover, -.wp-core-ui .button:active, -.wp-core-ui .button-secondary:active { - background: #eee; - border-color: #999; - color: #333; - -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); -} - -.wp-core-ui .button.active:focus { - -webkit-box-shadow: - inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -.wp-core-ui .button[disabled], -.wp-core-ui .button:disabled, -.wp-core-ui .button.disabled, -.wp-core-ui .button-secondary[disabled], -.wp-core-ui .button-secondary:disabled, -.wp-core-ui .button-secondary.disabled, -.wp-core-ui .button-disabled { - color: #aaa !important; - border-color: #ddd !important; - background: #f7f7f7 !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - text-shadow: 0 1px 0 #fff !important; - cursor: default; -} - -/* ---------------------------------------------------------------------------- - 3.0 - Primary Button Style ----------------------------------------------------------------------------- */ - -.wp-core-ui .button-primary { - background: #2ea2cc; - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - color: #fff; - text-decoration: none; -} - -.wp-core-ui .button-primary.hover, -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary.focus, -.wp-core-ui .button-primary:focus { - background: #1e8cbe; - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ); - color: #fff; -} - -.wp-core-ui .button-primary.focus, -.wp-core-ui .button-primary:focus { - border-color: #0e3950; - -webkit-box-shadow: - inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -.wp-core-ui .button-primary.active, -.wp-core-ui .button-primary.active:hover, -.wp-core-ui .button-primary.active:focus, -.wp-core-ui .button-primary:active { - background: #1b7aa6; - border-color: #005684; - color: rgba( 255, 255, 255, 0.95 ); - -webkit-box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - vertical-align: top; -} - -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary-disabled, -.wp-core-ui .button-primary.disabled { - color: #94cde7 !important; - background: #298cba !important; - border-color: #1b607f !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.1 ) !important; - cursor: default; -} - -/* ---------------------------------------------------------------------------- - 4.0 - Button Groups ----------------------------------------------------------------------------- */ - -.wp-core-ui .button-group { - position: relative; - display: inline-block; - white-space: nowrap; - font-size: 0; - vertical-align: middle; -} - -.wp-core-ui .button-group > .button { - display: inline-block; - -webkit-border-radius: 0; - border-radius: 0; - margin-left: -1px; - z-index: 10; -} - -.wp-core-ui .button-group > .button-primary { - z-index: 100; -} - -.wp-core-ui .button-group > .button:hover { - z-index: 20; -} - -.wp-core-ui .button-group > .button:first-child { - -webkit-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} - -.wp-core-ui .button-group > .button:last-child { - -webkit-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} - -.wp-core-ui .button-group > .button:focus { - position: relative; - z-index: 1; -} - -/* ---------------------------------------------------------------------------- - 5.0 - Responsive Button Styles ----------------------------------------------------------------------------- */ - -@media screen and ( max-width: 782px ) { - - .wp-core-ui .button, - .wp-core-ui .button.button-large, - .wp-core-ui .button.button-small, - input#publish, - input#save-post, - a.preview { - padding: 6px 14px; - line-height: normal; - font-size: 14px; - vertical-align: middle; - height: auto; - margin-bottom: 4px; - } - - #media-upload.wp-core-ui .button { - padding: 0 10px 1px; - height: 24px; - line-height: 22px; - font-size: 13px; - } - - .media-frame.mode-grid .bulk-select .button { - margin-bottom: 0; - } - - /* Publish Metabox Options */ - .wp-core-ui .save-post-status.button { - position: relative; - margin: 0 10px 0 14px; /* 14px right margin to match all other buttons */ - } - - /* Reset responsive styles in Press This, Customizer */ - - .wp-core-ui.wp-customizer .button, - .press-this.wp-core-ui .button, - .press-this input#publish, - .press-this input#save-post, - .press-this a.preview { - padding: 0 10px 1px; - font-size: 13px; - line-height: 26px; - height: 28px; - margin: 0; - vertical-align: inherit; - } - - /* Reset responsive styles on Log in button on iframed login form */ - - .interim-login .button.button-large { - height: 30px; - line-height: 28px; - padding: 0 12px 2px; - } - -} diff --git a/sources/wordpress/wp-includes/css/buttons-rtl.min.css b/sources/wordpress/wp-includes/css/buttons-rtl.min.css deleted file mode 100644 index f37e371..0000000 --- a/sources/wordpress/wp-includes/css/buttons-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -.wp-core-ui .button,.wp-core-ui .button-primary,.wp-core-ui .button-secondary{display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;-webkit-border-radius:3px;border-radius:3px;white-space:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-core-ui button::-moz-focus-inner,.wp-core-ui input[type=button]::-moz-focus-inner,.wp-core-ui input[type=reset]::-moz-focus-inner,.wp-core-ui input[type=submit]::-moz-focus-inner{border-width:0;border-style:none;padding:0}.wp-core-ui .button-group.button-large .button,.wp-core-ui .button.button-large{height:30px;line-height:28px;padding:0 12px 2px}.wp-core-ui .button-group.button-small .button,.wp-core-ui .button.button-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.wp-core-ui .button-group.button-hero .button,.wp-core-ui .button.button-hero{font-size:14px;height:46px;line-height:44px;padding:0 36px}.wp-core-ui .button:active,.wp-core-ui .button:focus{outline:0}.wp-core-ui .button.hidden{display:none}.wp-core-ui input[type=reset],.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:focus,.wp-core-ui input[type=reset]:hover{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;padding:0 2px 1px;width:auto}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.wp-core-ui p .button{vertical-align:baseline}.wp-core-ui .button-secondary:focus,.wp-core-ui .button-secondary:hover,.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{background:#fafafa;border-color:#999;color:#222}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-secondary:active,.wp-core-ui .button.active,.wp-core-ui .button.active:hover,.wp-core-ui .button:active{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.wp-core-ui .button.active:focus{-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-disabled,.wp-core-ui .button-secondary.disabled,.wp-core-ui .button-secondary:disabled,.wp-core-ui .button-secondary[disabled],.wp-core-ui .button.disabled,.wp-core-ui .button:disabled,.wp-core-ui .button[disabled]{color:#aaa!important;border-color:#ddd!important;background:#f7f7f7!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important;cursor:default}.wp-core-ui .button-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.wp-core-ui .button-primary.focus,.wp-core-ui .button-primary.hover,.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.wp-core-ui .button-primary.focus,.wp-core-ui .button-primary:focus{border-color:#0e3950;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover,.wp-core-ui .button-primary:active{background:#1b7aa6;border-color:#005684;color:rgba(255,255,255,.95);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);vertical-align:top}.wp-core-ui .button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#94cde7!important;background:#298cba!important;border-color:#1b607f!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important;cursor:default}.wp-core-ui .button-group{position:relative;display:inline-block;white-space:nowrap;font-size:0;vertical-align:middle}.wp-core-ui .button-group>.button{display:inline-block;-webkit-border-radius:0;border-radius:0;margin-left:-1px;z-index:10}.wp-core-ui .button-group>.button-primary{z-index:100}.wp-core-ui .button-group>.button:hover{z-index:20}.wp-core-ui .button-group>.button:first-child{-webkit-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.wp-core-ui .button-group>.button:last-child{-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.wp-core-ui .button-group>.button:focus{position:relative;z-index:1}@media screen and (max-width:782px){.wp-core-ui .button,.wp-core-ui .button.button-large,.wp-core-ui .button.button-small,a.preview,input#publish,input#save-post{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}#media-upload.wp-core-ui .button{padding:0 10px 1px;height:24px;line-height:22px;font-size:13px}.media-frame.mode-grid .bulk-select .button{margin-bottom:0}.wp-core-ui .save-post-status.button{position:relative;margin:0 10px 0 14px}.press-this a.preview,.press-this input#publish,.press-this input#save-post,.press-this.wp-core-ui .button,.wp-core-ui.wp-customizer .button{padding:0 10px 1px;font-size:13px;line-height:26px;height:28px;margin:0;vertical-align:inherit}.interim-login .button.button-large{height:30px;line-height:28px;padding:0 12px 2px}} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/buttons.css b/sources/wordpress/wp-includes/css/buttons.css deleted file mode 100644 index e84a0b5..0000000 --- a/sources/wordpress/wp-includes/css/buttons.css +++ /dev/null @@ -1,364 +0,0 @@ -/* ---------------------------------------------------------------------------- - -NOTE: If you edit this file, you should make sure that the CSS rules for -buttons in the following files are updated. - -* jquery-ui-dialog.css -* editor.css - -WordPress-style Buttons -======================= -Create a button by adding the `.button` class to an element. For backwards -compatibility, we support several other classes (such as `.button-secondary`), -but these will *not* work with the stackable classes described below. - -Button Styles -------------- -To display a primary button style, add the `.button-primary` class to a button. - -Button Sizes ------------- -Adjust a button's size by adding the `.button-large` or `.button-small` class. - -Button States -------------- -Lock the state of a button by adding the name of the pseudoclass as -an actual class (e.g. `.hover` for `:hover`). - - -TABLE OF CONTENTS: ------------------- - 1.0 - Button Layouts - 2.0 - Default Button Style - 3.0 - Primary Button Style - 4.0 - Button Groups - 5.0 - Responsive Button Styles - ----------------------------------------------------------------------------- */ - -/* ---------------------------------------------------------------------------- - 1.0 - Button Layouts ----------------------------------------------------------------------------- */ - -.wp-core-ui .button, -.wp-core-ui .button-primary, -.wp-core-ui .button-secondary { - display: inline-block; - text-decoration: none; - font-size: 13px; - line-height: 26px; - height: 28px; - margin: 0; - padding: 0 10px 1px; - cursor: pointer; - border-width: 1px; - border-style: solid; - -webkit-appearance: none; - -webkit-border-radius: 3px; - border-radius: 3px; - white-space: nowrap; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -/* Remove the dotted border on :focus and the extra padding in Firefox */ -.wp-core-ui button::-moz-focus-inner, -.wp-core-ui input[type="reset"]::-moz-focus-inner, -.wp-core-ui input[type="button"]::-moz-focus-inner, -.wp-core-ui input[type="submit"]::-moz-focus-inner { - border-width: 0; - border-style: none; - padding: 0; -} - -.wp-core-ui .button.button-large, -.wp-core-ui .button-group.button-large .button { - height: 30px; - line-height: 28px; - padding: 0 12px 2px; -} - -.wp-core-ui .button.button-small, -.wp-core-ui .button-group.button-small .button { - height: 24px; - line-height: 22px; - padding: 0 8px 1px; - font-size: 11px; -} - -.wp-core-ui .button.button-hero, -.wp-core-ui .button-group.button-hero .button { - font-size: 14px; - height: 46px; - line-height: 44px; - padding: 0 36px; -} - -.wp-core-ui .button:active, -.wp-core-ui .button:focus { - outline: none; -} - -.wp-core-ui .button.hidden { - display: none; -} - -/* Style Reset buttons as simple text links */ - -.wp-core-ui input[type="reset"], -.wp-core-ui input[type="reset"]:hover, -.wp-core-ui input[type="reset"]:active, -.wp-core-ui input[type="reset"]:focus { - background: none; - border: none; - -webkit-box-shadow: none; - box-shadow: none; - padding: 0 2px 1px; - width: auto; -} - -/* ---------------------------------------------------------------------------- - 2.0 - Default Button Style ----------------------------------------------------------------------------- */ - -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #555; - border-color: #cccccc; - background: #f7f7f7; - -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - vertical-align: top; -} - -.wp-core-ui p .button { - vertical-align: baseline; -} - -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - background: #fafafa; - border-color: #999; - color: #222; -} - -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -.wp-core-ui .button.active, -.wp-core-ui .button.active:hover, -.wp-core-ui .button:active, -.wp-core-ui .button-secondary:active { - background: #eee; - border-color: #999; - color: #333; - -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); -} - -.wp-core-ui .button.active:focus { - -webkit-box-shadow: - inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -.wp-core-ui .button[disabled], -.wp-core-ui .button:disabled, -.wp-core-ui .button.disabled, -.wp-core-ui .button-secondary[disabled], -.wp-core-ui .button-secondary:disabled, -.wp-core-ui .button-secondary.disabled, -.wp-core-ui .button-disabled { - color: #aaa !important; - border-color: #ddd !important; - background: #f7f7f7 !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - text-shadow: 0 1px 0 #fff !important; - cursor: default; -} - -/* ---------------------------------------------------------------------------- - 3.0 - Primary Button Style ----------------------------------------------------------------------------- */ - -.wp-core-ui .button-primary { - background: #2ea2cc; - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - color: #fff; - text-decoration: none; -} - -.wp-core-ui .button-primary.hover, -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary.focus, -.wp-core-ui .button-primary:focus { - background: #1e8cbe; - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ); - color: #fff; -} - -.wp-core-ui .button-primary.focus, -.wp-core-ui .button-primary:focus { - border-color: #0e3950; - -webkit-box-shadow: - inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -.wp-core-ui .button-primary.active, -.wp-core-ui .button-primary.active:hover, -.wp-core-ui .button-primary.active:focus, -.wp-core-ui .button-primary:active { - background: #1b7aa6; - border-color: #005684; - color: rgba( 255, 255, 255, 0.95 ); - -webkit-box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - vertical-align: top; -} - -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary-disabled, -.wp-core-ui .button-primary.disabled { - color: #94cde7 !important; - background: #298cba !important; - border-color: #1b607f !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.1 ) !important; - cursor: default; -} - -/* ---------------------------------------------------------------------------- - 4.0 - Button Groups ----------------------------------------------------------------------------- */ - -.wp-core-ui .button-group { - position: relative; - display: inline-block; - white-space: nowrap; - font-size: 0; - vertical-align: middle; -} - -.wp-core-ui .button-group > .button { - display: inline-block; - -webkit-border-radius: 0; - border-radius: 0; - margin-right: -1px; - z-index: 10; -} - -.wp-core-ui .button-group > .button-primary { - z-index: 100; -} - -.wp-core-ui .button-group > .button:hover { - z-index: 20; -} - -.wp-core-ui .button-group > .button:first-child { - -webkit-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} - -.wp-core-ui .button-group > .button:last-child { - -webkit-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} - -.wp-core-ui .button-group > .button:focus { - position: relative; - z-index: 1; -} - -/* ---------------------------------------------------------------------------- - 5.0 - Responsive Button Styles ----------------------------------------------------------------------------- */ - -@media screen and ( max-width: 782px ) { - - .wp-core-ui .button, - .wp-core-ui .button.button-large, - .wp-core-ui .button.button-small, - input#publish, - input#save-post, - a.preview { - padding: 6px 14px; - line-height: normal; - font-size: 14px; - vertical-align: middle; - height: auto; - margin-bottom: 4px; - } - - #media-upload.wp-core-ui .button { - padding: 0 10px 1px; - height: 24px; - line-height: 22px; - font-size: 13px; - } - - .media-frame.mode-grid .bulk-select .button { - margin-bottom: 0; - } - - /* Publish Metabox Options */ - .wp-core-ui .save-post-status.button { - position: relative; - margin: 0 14px 0 10px; /* 14px right margin to match all other buttons */ - } - - /* Reset responsive styles in Press This, Customizer */ - - .wp-core-ui.wp-customizer .button, - .press-this.wp-core-ui .button, - .press-this input#publish, - .press-this input#save-post, - .press-this a.preview { - padding: 0 10px 1px; - font-size: 13px; - line-height: 26px; - height: 28px; - margin: 0; - vertical-align: inherit; - } - - /* Reset responsive styles on Log in button on iframed login form */ - - .interim-login .button.button-large { - height: 30px; - line-height: 28px; - padding: 0 12px 2px; - } - -} diff --git a/sources/wordpress/wp-includes/css/buttons.min.css b/sources/wordpress/wp-includes/css/buttons.min.css deleted file mode 100644 index 9680480..0000000 --- a/sources/wordpress/wp-includes/css/buttons.min.css +++ /dev/null @@ -1 +0,0 @@ -.wp-core-ui .button,.wp-core-ui .button-primary,.wp-core-ui .button-secondary{display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;-webkit-border-radius:3px;border-radius:3px;white-space:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-core-ui button::-moz-focus-inner,.wp-core-ui input[type=button]::-moz-focus-inner,.wp-core-ui input[type=reset]::-moz-focus-inner,.wp-core-ui input[type=submit]::-moz-focus-inner{border-width:0;border-style:none;padding:0}.wp-core-ui .button-group.button-large .button,.wp-core-ui .button.button-large{height:30px;line-height:28px;padding:0 12px 2px}.wp-core-ui .button-group.button-small .button,.wp-core-ui .button.button-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.wp-core-ui .button-group.button-hero .button,.wp-core-ui .button.button-hero{font-size:14px;height:46px;line-height:44px;padding:0 36px}.wp-core-ui .button:active,.wp-core-ui .button:focus{outline:0}.wp-core-ui .button.hidden{display:none}.wp-core-ui input[type=reset],.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:focus,.wp-core-ui input[type=reset]:hover{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;padding:0 2px 1px;width:auto}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.wp-core-ui p .button{vertical-align:baseline}.wp-core-ui .button-secondary:focus,.wp-core-ui .button-secondary:hover,.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{background:#fafafa;border-color:#999;color:#222}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-secondary:active,.wp-core-ui .button.active,.wp-core-ui .button.active:hover,.wp-core-ui .button:active{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.wp-core-ui .button.active:focus{-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-disabled,.wp-core-ui .button-secondary.disabled,.wp-core-ui .button-secondary:disabled,.wp-core-ui .button-secondary[disabled],.wp-core-ui .button.disabled,.wp-core-ui .button:disabled,.wp-core-ui .button[disabled]{color:#aaa!important;border-color:#ddd!important;background:#f7f7f7!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important;cursor:default}.wp-core-ui .button-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.wp-core-ui .button-primary.focus,.wp-core-ui .button-primary.hover,.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.wp-core-ui .button-primary.focus,.wp-core-ui .button-primary:focus{border-color:#0e3950;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover,.wp-core-ui .button-primary:active{background:#1b7aa6;border-color:#005684;color:rgba(255,255,255,.95);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);vertical-align:top}.wp-core-ui .button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#94cde7!important;background:#298cba!important;border-color:#1b607f!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important;cursor:default}.wp-core-ui .button-group{position:relative;display:inline-block;white-space:nowrap;font-size:0;vertical-align:middle}.wp-core-ui .button-group>.button{display:inline-block;-webkit-border-radius:0;border-radius:0;margin-right:-1px;z-index:10}.wp-core-ui .button-group>.button-primary{z-index:100}.wp-core-ui .button-group>.button:hover{z-index:20}.wp-core-ui .button-group>.button:first-child{-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.wp-core-ui .button-group>.button:last-child{-webkit-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.wp-core-ui .button-group>.button:focus{position:relative;z-index:1}@media screen and (max-width:782px){.wp-core-ui .button,.wp-core-ui .button.button-large,.wp-core-ui .button.button-small,a.preview,input#publish,input#save-post{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}#media-upload.wp-core-ui .button{padding:0 10px 1px;height:24px;line-height:22px;font-size:13px}.media-frame.mode-grid .bulk-select .button{margin-bottom:0}.wp-core-ui .save-post-status.button{position:relative;margin:0 14px 0 10px}.press-this a.preview,.press-this input#publish,.press-this input#save-post,.press-this.wp-core-ui .button,.wp-core-ui.wp-customizer .button{padding:0 10px 1px;font-size:13px;line-height:26px;height:28px;margin:0;vertical-align:inherit}.interim-login .button.button-large{height:30px;line-height:28px;padding:0 12px 2px}} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/dashicons.css b/sources/wordpress/wp-includes/css/dashicons.css deleted file mode 100644 index 22ed1ee..0000000 --- a/sources/wordpress/wp-includes/css/dashicons.css +++ /dev/null @@ -1,893 +0,0 @@ -@font-face { - font-family: "dashicons"; - src: url(../fonts/dashicons.eot); -} - -@font-face { - font-family: "dashicons"; - src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAFk8AA4AAAAAkVwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABRAAAABwAAAAca/GHnkdERUYAAAFgAAAAHgAAACABIAAET1MvMgAAAYAAAABAAAAAYJAJaVBjbWFwAAABwAAAATMAAAKSUPpEamdhc3AAAAL0AAAACAAAAAj//wADZ2x5ZgAAAvwAAE2qAAB6bNqcwBtoZWFkAABQqAAAAC4AAAA2BqJsMGhoZWEAAFDYAAAAGgAAACQPogicaG10eAAAUPQAAAEhAAADzAu/zfNsb2NhAABSGAAAAeAAAAHox87m5m1heHAAAFP4AAAAHwAAACABRgC1bmFtZQAAVBgAAAFzAAADBkirZW9wb3N0AABVjAAAA6cAAAmJ0RPelXdlYmYAAFk0AAAABgAAAAZeiFO0AAAAAQAAAADMPaLPAAAAAM/Z1ckAAAAAz9oPBXjaY2BkYGDgA2IJBhBgYmAEwk9AzALmMQAADrABJQAAeNpjYGZvYZzAwMrAwirCsoGBgWEahGbaw2DEFAHkA6Wwg1DvcD8GBwWGr4LsF0B8IKkBpBiRlCgwMAIA9/UJS3ja3ZAxSwNBEIVnczFwub25CyoYsFgQi1QGCzHdGRGTQhEiaLRIVFCCCEklKYSAWAgWtv4L/4yNFgkKiuXszlZGziMRC3sbH8wbHjy+4gGAA+ObBZE4iJskiVFOi3bydyGCCZhRWbWgGvNDcmmS8jRHBSrSEpVoldaoQnU6oBZ16UoL7eq8LuiSjnTZuCZvCqZkqlzlHa5zk1vc5Wu+s2nr2lwcAyj4JgOFNE2K5hPyIi1TlJDXqUZNOqIO9TRoR4da6eKILExolCmaiCu8NSIfcpt7fGvBZmwYxwOn3+/fP04FucALskE6cPATh/iBFhkNvuMLPuMTPuA+7uE2bmIFy7jiX/oX/rnf8U/lmTyRx7IpG7Iua3LDe/NevcF4pb+RyMAPXqQSS/0uwL/XF+1xgaIAAAAAAf//AAJ42q29B3wUZfo4Pu/Mzsxu2mazLW032WxL2dRtIWUTIPTQQosFpCy9GEWaBFSMiEqJDRtiQ8QeFTkLx9lO145c1NNDD/XkOPVOvePrQZJ9/T3PO7vJJuJ97/v//Akz7zvvzLzz1qc/z3IiB//Iaf4wJ3ASp+FSOC3HVepsOkFv05t1xJZMdHpyuucR+ljkEbqTTH8k8gh/ONpEbuB+pt0/Exr9kPuZeCjP/cwRLuFfJcfxXJiLyi9IPVCnn+M0JBgiJrOVmK1CIKghsmTIIyaDnMbLEpysfIgEA8EQHwxUQXlVUDwQrd+dtf6WmtIHppXUzW5ZWRN9KFr/lMWyzGLJGbXYNMLum1Ihj11yySW+Am9qsy/XMg1uTbMIm/lXd+em2l3WrWWZubZUkhJ9iH/1KXZ3uiUnMDa90u675JIlY+WKyb6CJt2qkTmsTo4QDxeRGmU1lwFjYqsyGXUGqYQQnb3A5df5AuS00NGydm1LhKZEIJXVa1uiTS1raQo5vbaFP9yyFrotcP+GOj6RPoKxTGP1mGUNcWuI3ysSGFY8pMY7lkU3RDcs438knZHoAb61d4qQT9tUm+9Yxl/Lymlb5M7ow9FH+RlUS07TFKg3wu2WV8g1XCbn4uqgXlO6lqQRN2kgAZ/bVaAlxBWAfL6GXUsykQxmU0AmJklLpHy3K72BhIiZlVZJ/9i8+Y6WL5cRqbm5oaHh6YaJ9AnLsJbbryAL+77lTXl5Ba150W8xKSN7rXiD7rlCeYXOb2xseFo6jCW3twyzEnFiM1TQ2NhMn1j2Zcsdm3tnQQXn5+Xz1ug3LH2D3MNubN5MFm2GVyx0XsPTjQ0cp4L1EYY+reD0XA5XhGuE6HyuEuK2yfYCCUbf5LVVBbgqk0EqcPlEm46lAW+VWWeDAe2/FA21RQ9dQ9uueaiotrZIOFVUG208etNNR28SDpHTkNy0xJxDu2FMlbzQwR8uqo1EaouiTfAC/wwWH1X1nlyC74jkLJWX0vvZBcf3rwkBZpTD6RNtRpvOy7cKp3oPCvl9mRFyWjT0fBeOiAac/2+4k9JfpFOcGvrkwFXvJgFc9WKQyGnEbpOlArfL1wA9DWiUOzIR8+jhF0lT9oUud0bf6xcI16yr+nYebW/3tHs8nvZ6QSJNWXgvmx6WcpVH9W7XBW+39W2cXjUCHirZ5GknHXNP031wKwNuZdMXYf9FuNelqNTHGTkbtF1SuQmOWJC4MoIBh1nDmyTcaGz9wG6UOhbQf1we/Wr8sVvG89t9vgVziGot/TPJJtai6p491ukWq9Uy3WoRfl7g80UvG3/LsXG89XKSsWBOtYf+mZ4keWt+juZZLLEHOYF4iEdWS/tg/5dwY5TZtdsGZpZ4cWpLiBEnsp7YcTZrcWBg68Wv/HhliT/Jptwvq2uLer7DuRYNRbV9mWHMhi3Flv4MOX2Osk5VF+Z7p+CkW2pbancbLRbjbsjwLszR+xPLop9ijoFHrpO7Xx4tt8KMcgSm0SXh1jPLMJwqGEriDpoCuLtUhkN8+28mvTJqQpPe95sf6akA/TDwlp+Yf4TCpgmj9NL9h6LXHPLpR00Y9fLkQz/SvwXeCpBSeOCfrLDpFVhvBlhvh2G9ZXIV8O2CMlU5cYUEbxWskzRRcEJqIWkqe0EZXw6DEyJelenCqQFPlk4QJKmkYVFo8bayNKLSZZb4N5P0y/6wSet/cN+XCxd98cSNbvdlH1yu8rrqx42r1+uDyxdMKF37yGw5a8zwKcPoXw9tPbbyrKh1WzPNtoKU5LNt721RYHhYVkN73Fw59N4uydBvSTba/C637A663HadNxB0B82BoN9mNJmDZtlk9nJVAZ+rQDLI6k+zg3ceu7N1Me1e3Hpn953BzE8/MQ+DkhkriIeVDDN/0ld1pqvrTJeQv3wm3IFHPs0Mwp3WxaRo4WwoCeTESmYvpMO78FnWrohcIE8FGAuzwpkyAIuo3IIo2NzK8s6oCvhZG6SGl0aNmttG39z2Iv1wN+0OCzljKlfPJXz5qkmTVk2Sy16ilP48t83fSJ/No9sjArmBNKyeOyp6YlJ1EJ7Ab5FCeQWsYx3uaFKlMstlsD4l2ash3kCGQ1/gcAetsEYDQbuG2NME4dSdRDf/0dALy+7+seAUvZ/efzTzFVL6+F30h/5SMofMOZqx8dD30r7Nba+2zH3tVtpGOg+QjL09HbEC0knbNn9272wOYWUE+qvspSzYzUW/3E1cvsosqfId7oCK9dtURQBS+eGP7ZdtbL+sh/0SJC3Et3EjfYc+Qd/ZuJF/cO2+tWv3wfr19GwjHiEfQRs+3JcJZ2Hc3p0798JxAh9aGz0QDoehPalcBPb2ClgXWoDeZpiDPFghJbBGglwt1wC7fcI59rtNZ9NDk7yxIw7Zg9BOJ9wbdA33VQnX8grog4P14XhRbY+DgVziUf73riy2wA6P4IDxrYgw+6IJJYcHP0E6EWzEQIjqEyjwRNg/mmJhT4XDgNM98TzciGWh34gPwtI+RiNYB1MJthiV4A7CxoBdAlsBKIZTMYqBdkNG2NfTE47/R/qh70ScfhDyW9b2PZFwG3EJB3N+FL4lwyjnIS7R2/VASzjY7AZ8gtNkdtkLVLLLYS+QA0HhVNRUFqm4RTglnOob3lILUCzMl7Zl+ooO05dnz6YvHy70Z7YJp0hx7yHVmlocizDrWvT3f771Wfn5PXuel5+9VcF58kh5LVCDOqRggEhDxGcD+g3RmSzdscNioS29B1UlB63Ton/ls3ZGT42RW3cAjUWn9g0Tjx+0kL6b+Myd0b92c0BXwj/ox1FYKXauFXbuMq4NitL5MuLIV6URPj3DSmDlhgisYVNGOo/L2AWlAUYzumTJXuAOOLyw8VyS0QAUpMlsAqQBNE+IIOBlT7gAUEqmPKLXkJDKDfd5DXHxfh/R4+vy0YXP/0Tfpy/Q9396fiHkSSUZTSp/er73dbKKTPxx584f6TP0JvoM5kg9fX+pIU1vvGq6Tb+KzH/vTmJe4ZttNmWLQlVDfj790ehSqw1ag2HLdPtSu8MA2elt5DkiCmqTRk6a82HPcbL5rf8Rir9es2nxYmGU8qmFQ5ogzhr00YmsIb1Fgl/Ne8tJEtn/yqoF8oTxluGFRWpx1ta6Ey0t/D+IWiXwQR9JlniB+INETY9Gc/nn5ayWliuHPfKHP9Htwk29pxaQa799hr4d3VVs5cTYml0BK0rmktmO5XAvEoDYgw6PuL5nm6q57wTQNezgW6MH5BVnzojrYU90DxwAE2eQTlmU04C2KIHafO4ywIsZQXeayoyQMBhw/rJImDm26vFxWe/d98D8Z/eurErP/uqR2+bNF548Vyn/0ZYLG1zpu8jwqX8p33rw3bNX/qGvtXX3uQpxeYn9tKQKKK8ULh37qAd620YAkLADOqghNkBm0QO9U4hH1dU7RdUVPRA9IOQjxJBX9E6JHhCPQwfbEABgSk5j3XwCnepCHFggWQa4Ai8DAf1wQEdi5armlqnX0W7kFFr41pa1eCAk6A5DKq7fOf452k08a1vIaSynbXCkADDoL4Mtw3AcflcD8FYHI53FWbh87Bd+zQkfEQWv3mYXvCR+wDbV8ECwFtWeOVNLno+EAUyHI2Ggh+InBPKnlXmtLTr7Ei+FimrD+NmBA+jaU32ZQgdto22M/lH6H0YYRJwBIMegq/mudEaJi7o07LJy4QvwL6omFda+Sz9/990bx03sa8+IdNzIstXSnojUUBLp/Qdck4J37fzqSF/HlY+xvFBb6E/gB7SMIxge76lBsseBK/SPi2M3X0j29t+rsqryYN9XWXnzF1Kab9w439l/wln8d882/rCC4O4nYpLRUlbTUqHgtqKJNT57liSp0qsbl7QtHulNllfEXvNhFWdfwu0g9DDER7vV2S1TVsyeM7KY4cUi/rBnzIwZY0ymlKLFk4dDiTG+ViIML+oZtTik/V7Ac1x+IN2VL6WLx4nLEwp5zr6DZ+ICarmT3kSav/mGHvxGagx5eheUNjWVqu72hCI9332j3MBvSPCN3f18kx32nxdwLgew08ob0niAnWW8L8RnxGgw1ZA0jmWlWCrkkDtJzZtX+nxXvklfp4vo60pebm9tbW/lsxOTqMSS3zHcIq8YufrhF7584eHVI+OZqL2VPZDwP7qFJW21+A7w2J3kNMOfyQo3Ff+T9iGORFwIUMgQzzHeV+HBlHfM+JbdjywYMGH+oNFutPvtfi/QE9I+2Fx97apmQNmAtMOiAfB6uMchdETYdSTCxo4DuuUo0FEDsBDq1MWhIWTcfkY2MYgoHz1TocA/4DJot6zGDXLmjLQP1sUpJBgYDmW0QxurX4T6M6H+zkRYm1i7c0jNuNMAJDXxh6HaziHVKpX+r3W6h9Qpq6G10SZZ/atVwjpNrFOpDU5Yg3i8LxNfg/HvVPY/koTienE9vqXh8QoA5Xq6kq7mCH8Y7h1XdSn3xONYimCVb43dM8TfEw1YCuTZzWQHu3dYPA4sM7sHJBqU4vPRA//xnqzQwXINjEEeoze9jOJk+Exni3GLSmq0GZFMqie47MWEPJsHnR3OygE70XP2JeKBhUo64dTXrhB8/GElJTganRG+Ff9LjT3bAB2GWltDYXbuQT5x8KlntdDR1x5GQVn8wHGE3i+QnOIjbBWaiZ0EzeI9W6N/3UqPbf1WfGRO1Exu3IR8+x+5P0pnpDMKFgN+Y4Am8vsyHIBjhFP3koJj7e3H6Of0Jfr5sfZuspTcFX1BOjNQ1H6MFNz7IVl6rHeFoKZXcEweEGG8nJbxTENpLR5IS1lDzBrCCJbCj6644iP6RyBX/og54Xe49mGLAU5DJBFRuPvER0ghe63Pi7cigx8fhEc12C8NEYkA3yJOoheJ3inqiVM4RbujB8jdl+BCaSN7ogdo9zfkA/rKLOqhnln0FfKBvCJ6YAKtii7FWvnbyHsTyHpaUkP3RKPffAMkUbiGS8BZ+C32JaAKWf3Ew7fScBvi/UvoAr71l9VhO7GcrT/cezZSRAhQRZkIkaCFKbCSYU7ZeCJvvIJLU/hCUzqjNHEhhog+xn8aDWYUFpiQOyQm8bWtR45stTmXAY59QXPwmtlXX/3C1Tn0iP2aDEHOf8pKmmAH/46ePqJe1vuVePzGu6J/6rhwdkfH7EAlPPRahmojPIJAkBwgB6RCqYjBUUXEGNSgfE//J/oIveU9soI+8imZRVa8S2/h175HVtKH2eV79BYy81P6MPe/rgcuP0TSy0h+Gkk3nWtBkJEk/eTWrSfpD3A+50LoXb71ZP8zwM+QzpgszQx7txTa7R2MHZnsJ99kFHRs4HTEHSKxMTSZZdh0/VxpURjxYQTwMvE43OWwZ8vdDlVzTKJXhPI94tn/zTf7cREy+qo72vRxxjgPbljPuIyPB9OMSFc5uSZu4uA21ZNEGg8hTD/tEZK8MM1AbeRhFqkOQEvsNaPU+FpJfX1Jz+mSepYRU0rqe75TNfceJKcZKiT5vNqSHxg2saivvbrFZSKECKkZNndtQfmEolyRfylcX9J3pdSo1FFf8ppSR31J73RVM40wvEq7kxxLLlo9bRjS6NCpvDyVtshVZjMjIRKtgNV6ZUk9MKyaBJrKzKgFN4OZyKNzQeDJ/Qk8ekaMIkDem/8v8ozORCISzhFGEojrew/++B9z4dqigbekRkYV1CJa+k+5xLka6AfnHCoBibcNpoZPyCuULn4UP3229xzNSuyKJCrfRXTVd2Igz3EKT47tOAr8v5HLHEzDIBKFdQALxYwfBfK5u+8EyhsA6BwGOhxl0ICESaeQj1lMGdHXxu5Fm4Dawbscp8jGFZ45Cb6UyeUi3wEL0V/AGe2a+EdFlqDohD/86q7bT9EfniaSNJ2mANLvEPIBkgIgpilAy58Sj193xzH6t8/o4/xXPdtoinAK6KJoE7AjgFV/5Xsa+CRnN1aZSKx3epYISK7VvkoaifQ0/eHU7bt6irA2rJUhhTB+jT5Opn1GzMfuIHJfO4JOVRecYRz62uNjqWJjeRTmNJnpSoCAJkYFjePZadOgAEu0Efko7Ybau5E/7T3JH6b384cRCdP7YczmqJojyKxGkF+NkM7o2nAPI1tifcK5QppJqT+G84F2hG7YdYJGgImC91gNVfgmzMop2oYUnvJBxAv4MWCMs1GSh3I7hs4Bx0S4Y3IStN/M9DGyEyC+24V/dh3MURWKKaQXJ0+m3wSDvvnzNnXswK6/88KhbdcLn79Al7ywpmPHzi2b5s/zB+Fbr5BX6EeTJ16/Tan7dahbHas7EIQ/L9ZZIEv4B0hFdKUTIzx96IV3kDLa0dE+f74vGKTfTBY+hw9MnEyKaYiGiCfonzd/05adOzrWvEBuZzwKDH9EXA9wOJ2tYIMk61CYoitDaXu+ScWES64Ccf3DV4erqq5+GGFt9ADbCOL66z8qiN7pCefmCmUFH10PMDaLbRC2N5Q9qu6XUNpwEyrQnYnzEY4CdUZs8d3piKV8q9ARB+4RzBBPUS2wAW197W0M3gnHFTbkMLYClhtLcP22JbAaMd4oMkQuaT83H8kkkaiSi6WDQUDPNhQtCvkoKoBksAgVt1dfu5AfVhjnNiWN0R1IFYnHGfdnRdUG+6YvEMQT8MghhmEM4rvXHHr3xr7MG9/t2iLdtKSyrOp3l+7/Rvg67fVrkV++5jVddu6Sm/QL1n+zv0IZW3It0CR/AIhuRokLl8+ZJTi5A6IPl1wafAppDC7fESwjKP4CDt3vC6YR2cS/wjeTv1x+Oc2NHqS5l18u/I+vUJdf2dTsD0ygNnKK3LV01A97Vv6dPv33lXt+GLVU/AM9duYMPUbKzpxRe5pSeF41zutvbo7e9s/DGx8tWnPPQ3//+0P3rCl6dONhBY8O0BF6xo02/lL264ZNJ7Lpt+u8RjwGZoNj/LApXzBbFV0QDtfgEQ/jFuwNqrLzPGH458nrPZnn8QityCvD8tw/MdgExEBTEHcsk+3G3oQnNwEFSrs3weN5+HqUj7HY/OHVmeF6JA7qw5lsXxADIdJh6Qjn4apxR2fIiqgx/ifDYErKBo/9SQ63Kz0YcKiEQLrblS9L6WZTvurIDa6lQpa6oDykqrdV2h1mk0oYUVFZ5fN5K20evjQ/M9NwJ719y733LiM5JMe+aNFi+vmixYsXkQKp7Aa64R7BJOXkl6hKbZVINZZWjBAEk9Flr7TVCQ1l+VbDNN9V95E37102YUI0ezGxLYZ/9M+LFyPMQwAs7Uvgb/sxlBBPO5B7ix6IKImqGcEHHoq4j7FZsI+A14F1vH4wn6xwTl4dIgKg1uz9ksPTwqme7yIAg5EV7lZqgU0NIDkcrxQP0olbBRC61K9X1QJczmP4vESBGAr75gUSusok2spgTIgtvnUTuTZVFwKJnu8QWOh2HdxFryKe9BnzZ9C5SAj2tSMJCNgU/wOdURQG6nHmpZfOLBk2jD4cIyIHM2jq/nWMfU6PydtsQBlySEVAs5BHVpTOZj9sYidDVAOHrEaREYoV+9qJBxVVJ1DuhzglfuBN6Dc8Z0ByoLsdFV+RyNoWFDcCxYPCRy5Om7N5lBS8hUwgMvuGAQLdIZzaRYQXL4Z5O3zxizRKv6TRFy+++EUiCKeUkl0w5k274qUAjuBpjtkSDPQzWeldfFxlNWsH/sdmItmKs8hoH+DdPeJxqRFwaS6OCjSnKqjgPD9S6m6XTdABiEPgY5e9VUaDLJUA10tef3/deq9v9YxFa1bT6IZtK33eOUt23/tHb9XyA8BOfxde8PTmCc05Gu3uyx6bNDkaJbZ82/gpo/903wUlCOkIeQfWtAq+i7yOnXhlW9BL7EGb+PqH9FR3KDo79BHJ/DDEPyCu72uHRdiB66uT7YNG1kM94zjsqE91oWTAgBol/tfyYYZOwgjiD58zKxoUkRaQTkMzTD4H385mc4dyWx/AksXccia3ks2AyGWgbIw2wW/3Bxle96Og3K4gdjPieTaAeKklRvYoDCzcV+4ZmcI8/gywmy630eTtnwZ4xox9aB11VWFZSgZPcrHBGx/zVqcZNUnpaXV2i0mXZcwpzTQaM80pqZKckly+gOzCp65yOhsmBQtz9AZjjaciL8+baTYYi3OsWTlVTVOKS7KzKguzzFcpA0A6F3udSRnF9F+RcPTx0aoKnz7bbM61wSEJKSnmgD45KTklU6tN16VWhmteDdNPyrKyC+syRLksL3NESoolX6tVy6njTTZbbWFmpsRrcnObwgCDHaRT+hTmzcAoiAElAs//UrHQXyY8W19yS8j45PU3LHvxlrE606s3Xjl9muAcKLwZCl/BQn7/JRP9trTLScaoV7173qbRbQc/njD+qksmBvKHFnK/Ak+HaE1wtzNBcYeSiscVKVv8+G/qgIV7QtWs6F4w/f9Sh7QPSJIOxJOxdGgd4i/q0CsQncQknraYPBGJXyR7UQMARzfqDHDKkXtRNKUIyRmRHZfHpXNWzsXVcKOAh27l5qA0BDBm0KWsa0aaBP2SsmCBKgkQr2AXvEGvXjdo7WLGLvv7l7dohx0CFYnxkhLCxFRShcOe7bJPumDmiOEFBds7WsfmF7sc55WWV1T2PbHkxLITi2u+PvbJwupqa+7wqtzc6sCmKTOaLHmW3Ho67YmAWaNVa8jWBY0F+fl5oSU0DS27wsiqSYeT1bqpbqdzTNNFt+7Nnp6kUQ8LtC2tq4sylcl+8nT0QJmnpc5uT1Fp7E7vJIfjzH59RkmZwbBoz/BSX3bWdrO5zJuZGX0BWKz8MHJgSB/F7GBENupGRhvKeqesKyI6t6hnVkVmp2AuIkFBDOr41k1f0Os2AYLr3ESv+6LvDb619+Amsu6LTbRN1bXpC7Juk7QP72zCWcDrvrNMvMteiz3IAQaL08KJODynH9vGZacNsVXAaGGUrQ8+zn3P5hfYelGuUeos7UMZaoScTvjfOaQYGN+UMC5xvEBNHGDHFIUDjvT/A4YVFjBiNcDMrf2l3UqKdNpp5F+AxjZx2YgRkDpgPIbOYBWqQoJfx7ZUZPvSZbdGsoYvuCdy34IR2bA7j0d/v+uuPdv5+uiz9es2zq4ZdsHl6+qjKGBQ9c9R//7SQycT/xg+HHTsi8SbhG0ip8W/MXyThFIkxFN6m9umF0uO0AWwAQ8vJ/eX0JdvBU4YRUGeO8nJAbsOmCMRcIUdbX40TFsZ194oFnFmKAom2MQRwZ6M+r4cAv9VHxEJeGv1q4wREzpqi+4M9E4J3hWnnXHkwuGjL0VQMRJGHUY4jNubMXS9RrSKavj7P0IxyyhhHBNEpACbnYKpogNNbKcWcH9pQjtjIjrnL6R5aCUkMF2NVze4kfw1dw1Q6XcFgSbqOwFLYKBtNcV4p7gYG1VcU1OsNPLv0auZKuN03C5P6oI14GY2ChZikIlUUM676okvSBCNoilkOUEYRJitaZV466r6+ujSuifqLoYMf1vdrJn1lOe3WCwfWUqKLdHNmJkhiRfXzeqeVRddWl+/imXr+d319b0ReHC69SMLPGedDg/iuOgYndHIdFO/vr9GxuxhGIjVMVAb300oLZZjeXFI+p/uSY1IZiNsRqqsLzMsnAqH0ToHUiC6+8/nKpPV4XCPIxxGrX6YGbucZplI/+lcZWgfy/DHKoaZFYCcxibZhqAbGCAbcEA6A8Br7ChwoQzUC6eOLAyPsq2cAnt9100jxj+4HwjVLx58cFzoFnoT3zp9lXVkeIF4cMWKd1+6NrTAG4ksvOaOQyT5rrvu3kPPPHv7lmWRSDAcuua37y1fgTR6OAGHodQIYYCVK1DwoYhaMLsfzW2dCajRHkthTbchegxHkBaPCKf62hHIMGUNoLp82i01hsOKPu9+en8c7CgbiPEtaqb1WPFr30cbOOLF79sTv+/tN7AAPIPgjtkhRVDHjswHgjsoxi2ASDvMvvUrDUA6vB+Pa2GN1TNLGoe9QCUBU2BSeascxI7jHozj0wLZnUBUAjYWYqIIVlIg7TtMjxzp5xJ2HSEj6Og9maYR9QZDbq63ta3x6pvWjx1jyZkeTNfenOPzlufm5OTMFYpJOxn54gDj8SJZWVJd7K4qyc12OI36YVeOr6mZN6K0tL7QbLLTt7PLq6qysyvKs3JiMgP+oPRH0cw1cZO487jZQCPDmoI2GxWi1h5D93672e62y/ag3Q/kgtkbow20xKsIxarMssutkBmw6IBJJ7LXjUvPLTmN3vgQQDVG0W03KsSGVFZYYCsc3Xr16FrNnIzgsAUf75i9uPYvNUtmz7569rILn35qdSiYo75KbXaEGmfNbkZKwzGtwq4hTvqJxl7aezJjsZFPVqXwaeTpde6sXKt1JL3ocf63wktL6vLzBFmWU6dnTx7Zll8+pay0p+ehh3rCZ8/2FDkm+uyaUMUYu9M1NTUludYzMjyxuJqMC9SLBSlFSbW1DwhafXmxPoOeIYTwB8yZVWU4VgpfqugpcgG6FHABbhhXx/A2WoFLsruBV4zABbdiA857UbXmJEGzHLP9NmsV0++gqAHUpNcQkRmBlzZ8+HDcBrx53/C8MrQB72lF2XGEGaczK6ATjeOvV0zAb/h21O1oAN4gnEVxARKWKCQX8qV/MIvwsrzh++IG4c0Pf9TguWMzwinFnojRj9E3Rn17g2IMfv34xjvYo5OVOmADdMJHY30mnQwfpwK9hNqZMuh1iBuNUDSg8/EuRz4seGN6XOavGiJR1MRshfsL4mm/Cme96kTXgNKK/zdDTPRRBYleoFxNIFPR9mMMu1J9qxQqagnS+SeS9UBcKfYA/avwISvfoSgM2H+aTt6IHkAR04yPE4tPxkWmcdsGBk90yInbgdYKAaceCOrSSBmPZJNnWvcnJ+iqad/9+ed3IuLxHgcKVnKJxcLn9J2wqwvy1ApM6GT8boynJ8xEQjkUu674ITVGmEQsEvs+3yrtYzp6EXG6DpYGlkWQ3hW+JjeziUNVPzzbSQjDdUjro76QR8WcVQSAHwiGxCDKAHhVvikdjYNUN8DAfnff9ktUbkOhxZl+jcVyTbrTUmhwqy7Zfl/0RZL71lv0L2/J6vvodw/sPDtfsGU4LcXGJ+bNe8JYbHFm2IT5Z3c+QAwX4VNvkdx+uYX0EZcC3CFaX+oT9INx5RVx6kSnqHOKetGwpm7cTUdvGlcXZLw7GUHG0szoHmZa8ujj/BN8i23N6CU33bRk9BobuZRx8HT9NX3tb7+NMoQdUdcAf4P4HWE9yoNKYCUiN8+0CEyCDC2w+VxYRCC1o4WBXefop4yIv6BMhHudESB0Ir1T0LyLdK7p+zEs5EM6DW1Aw8Kt+9egPrNz4cPrV61a//DCmLa5m3aj4kTVtbZl2hrYIUiSeaatWRudidkwvg13or0Rm7+x0W+jKXEZOKypZKYtQ5sxF7OQsBvtSIz5mZ1YXBYCFJoO9RVoToI9OA2Uc6RnWyQiGnqnCB8x66dw78EwtqYvkz8MWWlf78FIRFG8AO4knczAKloF/UFcBnRJCssqcmvcx43MJi8fVk1MLMzoWFhuRB4iKBbya4toSlFtvZucLuJvZnxNbVHfCebakV9UKz6Dov/iGsTgMDBoloG3ogfgzGwMyGl5BfAGMe52cOXAahEcSfTbUXx2FPHkYcU6j+1V0kxDMO4hlMHFcL2WefIMqcsJbV+xtqXnO3xTNLSs7T2ItseKxW9fJpwPIchT9EQR6SNYQ05mJaDApaBTsse8WZwuZq+CXIxbNBlkMSA+wgSDGjr+vA7ItW+5gBzSoEARcnS8RkMOnSfks+sC+8kFkFlw0l7AXoFMExQpMsQ3uDfZ2s1jvgSo57ER5VuAXM34aRIjBYJGk6AjJkX6HnRjS4is9hb15JD9RtgZYmfpCCCxF9W2hrJyxaId9DdYSh4orMjMoS9J9144QdfzBX+f040Kdp2hoUrDX+UZH2pN0iTrekaozo8+o9ySx1qSqKDo5hTeFGEJwnbOmbibkWoHvBYYKIgD+qEAX1aT0gCsvwYvXeBrDIXNH6Wt2b/GX0o/kswMzPbeoLAcHYoyWfVOzgUBnKLaeZnRVa6m6jsKnNPWrJkWOD8n+r14nAHo6BUs+VGxWcM1rIF18AbTm+OEmtJIghZAoapitBWQITpbINj/F9cdxNGO6EInuP6/YMKj/kAQ3kUdQ/wv/gVppt28ZIPdWODIcxYWF59/YUlRodNmKzBl6khKMvWSJI1QXOmtaxg+ZvRtt40eM7yhzltJDzG/pmgxvHt5gfKuo2LWRRUOfDcvK1sL75J36U+8HHu5ceJtt01sZC+L230bRpt9eY4CY1a6XjboNRnpWSZbgc1RyPPWYuJJV4UqvYUlOdbU/PxUa05Jobcyeog5XT3iu3x0ZuzN9CS9Pikd38xzFNnxTdrNp8VezUnPz0/PYa+yvabg+xTUMwBgSFPJGYAPCTC+qLZQyTbgDlNmXnPnldeFTGQ+aUJTv0iPQ3iS/uMhekzVBQChhE9zNawYT1JJhZFUAYy6N3pU1VxxO+7BZUQnL5KOoGMiUEyw0pOIpLLnO03efKYwA9KwjNTD3KAWNGhSmWM7IxCU5IC8aMIKMrPrNH3kVXqURisKuZ8j6150uK3llVc8NGXmhNaq68l1XyR9fPu9KzYvL1m3XMpom6TNv5l+Qv95tP1B8W5+58VyavZbHaoSwXvfnPD0h99OLnXf9vFl2Q0do5OZ3pBcH9OH5KGUGoGMbMgwVzFIw+COXxfLAY49+MRG8u0XfJLAa2a2t8+MnrDyIZZ5RVZvnNV3mSR8QH+WSPsTG92kfOMT7e/NUmwXFPz5PfAtOYgRnDZfEuE8xK6rSiHZRLT5eM4BFyqzKUPsx14msZv4Vr8PfbmPzvvkGLmehL6/OnqC+A7Qr+mGj3aT9OXLLon+rXXTpq5N7ZGPyO3kPGJ/5xJ67Kpv6Rt04/t/IFcR84P0WNuSJfSfN10+a+bGjTNnXR7Tnyu41ZFoKavzAq3PXL9czNIaqPZ+3wqbuMvp9TrpkqN531eNvnLE+p0Pf/BBlHf6AAx4nT1tDh+/4sc7a2v/qHno9qd/jN7ic4idTq9ie8dFxNvgWwbst86rt7Fv6GLf0HmFScT5P056srbltovaH3rjp58i/Kck99CoUdzPyb9/5hj9C44f4BZFRqRhnhGKvBR2PNevx6bd4vG+9ghNEdTMqQkZur5MRJXtCsQ+w0lEA3P9uvQsYMRc4KWrubFcK65Kq+CtCvFMGyCJkpVUhYgb9V+Y98YvBH2APWDWM48jAhlEJG7BhatVclaZZAEtst36AICOgGCXRUfF+KKq1gpzavolI5vaaEtqwXmXnleQmjb30rnCErioHqZcXTRukzN06Nr3Xxm2WbepecKm6JPLh7f5Rw5fql1esa+ryJUsVHY9WLlcu3T4SP/FI1emal1SRuEFsyeUj122vmLsBRfcH9y2aNG2YP2kSfX9ud5m8sTmp+d/+hxt8Tc1CRU3d9Nr8oaVkZV7npOSdc/toTeXDcsjGz6+KUMrsTUxkTskr5OWM1tzM0EPMw2KdQjzW3Q6zFaNWfpmB31w5/TAPOqN/tMyzbreYlGN+yvtInt+yqpye3N9+mByjSC27qSP7my5alF0JS22WDaga/CJG4VNFyXlmEtM1fqRqRMEgDu3k2rpFukxrpirYRr7NAHAckgVRCLcbCU8wmNVGc5KSNYzeB2H+WaTMMvAZzpyky0uc/P4C5qnZLkvWDA7z5ZeetGTl6yh0Z8+6/JajOmeMbMWr7rs4iescy9omSuQlOz5F06fI/PSXtlaVBH0V5t1mVUTx4xMM6WnTxo59jiN9p0aM74xc/Zjq0fsvnH3tVeEW4pTo4ubUlLGzlxYkDc83zJtzsR0RUdIdjHaCiURHInJlvQ2NBSxkU6FqQJGDo0p0eARCLveyW+ivIimIBWpyO9JCasjFeCujSsHznIks4MbxGURhWaAJS7250jA0UDSCK84tA6UO8+RG8psHVZYIZqipOQ1Jxnd2Wmd/VtnQ1dDiJqUYr51cEpKPiOZ95MixnJ9fD89JbQxKWFNzd5YSj9yPjlqVOPL9C5nQ0Poqfmx4uIhqSLPVGw3M5ifLuqevcykHF0qq5A2shIjSm58KHdFwqSEAAFEAFhAmbQvfPal8NaT25ZedNHSbSe39k6JLOLbu4RTXe38ItodBkK/9yBserhVXAyPRSL7tnXRw5H2rm37ImT/+R2RSAcnkgA3RbpT1jH7Sye0oZL5i+cB294AK7+cyG6ZFCh4CMfRXRAnFEXZrQ96iTkouO3kSCDw5saTJze+GQhE2k9+vYkseOibb/c/+M03D7U/+eSZp7qIcOXR6Pae3rc3fdi7vUd85+TX7fDom+1fn2x/MxiIRJO+eQgefnD/t+EnNzEactWJ8ujzx3njF97ob49zsLYS9cVJcK0DKBqXdLoAgnnQN1QfsyEXgyxxuoE+NrtlZjRWBCWick8IukWzTktsEUX0BgyFdTftRiccyJDTu3f37CaeSLRJamSysUyaotqMbpu7d5M57J5iLo9Hz25FRg1pN/Hs3l21GxkUvMMEmLt307bd8I94enYrcrOYH1Tc/tQ4xDsDJz/fSkSjjeE+4k+gSI3i8X7CvkWxa402Mc6HZAZGQDIiAPsrkbXA2WdzDwW9j3+SuaAO6cy6BZmfMF4acMBw5tuHe5fxkV4djBEwYjpxw+CNCkOhCGJaI7iPcT9ziXVISh3KuzFVPkozUSmB4peI6qk38SUFDETigEHBwUzv0ci825mBiBkagi7tZ1/iD8M0hEVDX6ZoiCA3N2DjhXaYtdwkJntUgATKHvMdAeJwBzhnGm8yS2UqhJHwZ1XJvBgoE90hgVhVaYKWlKkAhK7YFfd+27Ur7v3WN5JufWQ8uYFwtrKMYp+9qdLvqjC0llU9HRo779pJxSlEom18TmX9iNrK5CSda4SwJa/cmi6rRK1aLRtDtdWlSW6hktW1a1D9Pe4jP5Dq5ODOPXd4RZOr2CrqRk1trTak6sp940ZV0Y8em7l1ekORrdBc7B1bR96qWDDzwtFTvSNyMjO959VVNxZcN9i/xxanWgb80mNmy0reXlBGYDlpeL6Q/yuzNumXAJVsPLphw1HhbeZ2poYCxZk9wT29iJ++4ehPRzf0TkGJGPvuKu5tWZRFgBNVDE9lIP3qQFFnkCGqkFAGeF82E8EcIg4VY+z89hxCnEGXOOPG9y403XKGnqBHbrz+9ap9Bfesvvin47+9NGPs3Z9DOuww1bmfHn+W2MhwetyiIvPmkXIa4lOlrvFn6J/p7+jn7842jR/zlx2L179WN0w3Zi+8deRSSC+eR9/hR18A1Zv7DliKVSkC+YLm0Ze7eRlgrAbW1stAL6GvRh03HscLCZcMQK5eG4pt4VIWbSFVLbDFZgIbsSoQ1AcYkctuanl8AlAMUR5CO+tOesRaotrzvEM9zMarRsv6WvpsbqlMXoeFIekNOakfGqu00fsqJ0rOwqD6gFiYQ3/rzqHbzJ6kpDF0TFah6p5UnepDOp7XZGc5tF8bCoxaQTxe7uzL4k885Sg4ah5VYN2mSivINlVl9W6Z4HELzXbXzVqXRZu2M8ccnd9wobCc3TZaLMlcoo+8CrgX3EUaEneAVzUjCIs2qV5hchQEXQiiYhIT5tsTs7vNACpwBnch2qzCnuJgT3G80YCOsd4qB+c8pyOs6j+5wYohwcfcYOUM4uJ0viBMB3s/Qz56Dz1Nd9JldAc9vZf5wj7wNrmUpPR+Qh9dk5luyrzxQqdxA7nhr4+R4OU1yzXqzCS7KjjabqcfZBbBFTzROcd9mdudaUrPvHCzkJaSbJI1S//x1r97X/mSfj+WTCH/IPw1129YkfuwYCG7se572DfffoA5v+4lKU7hZrVQ7SfJ5IU/Xt6mmdGS4c4uT6+R5u4e0XPhhcIoolap+FAtSZEEgdSFiJo+WpZvvWDypqaXT/0Pvegy/tZo80pyiEivPdC3mNwbHV1qm0b+rthgxv2mZ5zLxwD1Mf9VGRqh+Qd5eTLbG8zJauaLQBn9gc6iv3qFzpzsmnSya5T9AflTTD8qrq0tJsXFGIjk168Aiyg5pRTwi7JmwkwuZeaygW6dzM1SvFJlwSZ4UYaQ6LVg14tDjV/90C2kbQBuAKeAEUhg2wE34QrxDUBvuEMkKLvcXlhYLlXzbWWzss+nX3z/8HiSgx6qCm6jDW+FyauYi2E8wU1fvYy+eqVmhL/x2nxRTCah51qmHW4gKkkSeNv24d7hmv9pzvoge7xKEA3uPJIWbYqg16tSBzDvzpcTkSdNWfHJJytGbK/OdmRnjzUNr6oanuZ22ZKTndnV24e/PHpj+yiBR3x0I9cpN8iNcXsWDTFJMhH1XDBgQl8m3k3ECJlURJx9rmjLLuHhCvsW+kl0ynX8I1TLd3VEJ8sG+pRnvavPsYvvEh6rdKro5ujE6/jn+3bwz8Bt/MZT3Co5T4wAlrWg7pNj8jPkHLVE0TAkXnL5nN7NTHPlDH7p/jW5Y8OemUZjLv/uQJ5ew5eR18/vaKZXUw+9urnjfDGyZpqvwpAkihU+JBP68705pImoyz6nP5D0z8voGaRj0NbguHi8X9afaEl0HK39lQOw9oD1j8JvKzSvXqF248sEchLKNKXGSM93KG5EoS7DSM1ovdHVrupq7+rZhiqLAZ8nHYwF0zIMrkUfR4Im4E1ZYBysEFOo8MeYP50nklAnWvCj41zvQTgn6ERg/1o4L+I6ldeQRNJ4IBtk3g8cclAP2MAPNITOZhXyiHAqpfTmO0+2TWy/9dZ2t0uTN/fCzStXTaps++qBq20F5DSD1YZRv7nt1lyaktu+7criYlmtzhnlLzlBL6V/P3nDXL1epQ1N6LjtT/8iI55CD5q+06qMSYteaFNpS0sbcqNNSlUx3etpad+5xx7tpvo1LUPGPqFP5+rRf+zD/9ZaVv9Zclb8WPwY26Th+x3CxI/pXjJ/B91L79lJ5rETmS+Oh+u9O+LX83bSe8g8hRdUZPUCUMeVAD1RLzsvFisgJqRsAFbQz1jgmMki/OUlSjSrGJ3vZjct/ebTqHjF6F6otlWcJOxiTF/PdPZqNKnpfV6flpaUqhJFicjJKQV2ryUnW6tLSuIJz/MqQF/JqSlavb5C+ImmRE9eX+/351oM2ZYid8GIoK9qWEVVIDfdwaeq8/J9/hpha9yABb03VV20Njk1PSM7OdWYyUuktLQEsHdKhiEzMyfDqUlOswoZeiAG1RoXqhymtebbfL7gJlEtJcmyLEmiJkkWklT8pqDPb7O9z2wiIiwUClDOA/wRjps/Nm4LuaVM1vR/GLu4DcP/ZfzIoDHss/y3Y1imDA99YtA4VnuHjiN/JB4ZAI2XgdMFbuTj/24oicQG6Tf/eTCXs4fQ8kcZ0IH9X8RNh9XndsUl5F7mUoMa7/4/ZiwQ+yPMCCguQI/fwTBJytCZZZ05qHMHoRb+UwHoCpPJaqvy1S9uGmUypQokSU5NNWZYsord5WVFxVlZmaaUNFkj3Fplkeusq4IzVrUtXHjJ+Ss8bSUNOWXDZ5Q/PfmhkYvmNz34wdS54np90F9dUeVwG821ddNnzNYnuWyOApjobJNeb7TkuhxOd64tet+Mq86qNLwOKCptSkqKWq/OTtInn906dbXfkv3QNbR7xQriueYhXz0bh0PAr+YArLUhHOTyVRlGAwKNNAL9jHko+lzuMpXfl6GHFYDkCR4AkYFsESaTKiLcVlxbZzRm2RWCxJ6lzhnt9+xu41vzS7KC5ZEyX1ZJvrziNkrv8HWsDlustmVFSsSsomW2ZPfqZdf67iB8T3jWLH9dWcBfXpfAM+7j1MxjizkNE1mNzEpYYb7bVM3MNOAwsJCKDzmzHV/PbCAV+CSuZzZG+Lx4HNlc9jQ3CFZC/U67DkGZTAbVGEFxPzPfj/nLkX49Nqsf3kioVAkJFI65YQ9uP4wbwkk3GVSl0MGsH5qARonVP7j98EZCpYiPyWn2+C/aD3gWPaqDZFCVgwfrl+2HNxIqTRiqBDk+850wn9NzN6Zr0qMY4Byeu3x5zLHynF679HV2U/EGifk8YsyEAX+BfovQWMSA+IF+9Mx/u/+MsQUSYv+gZ9B44HEuUaJVEGh0Ggb+KcMQQCESkyOkkHwHl5GehNeD+iUWyOggJDOpjKgEQYIckZEK8PrKgF10pyHvYwsAcfBrUXf4W+lmeu/Pu3dzP5O5ZAuZy0H+52gVOZ/U/mXr1r/Q39P99PeY4/dMG7v2ruCCLY/SOzY8+ug/H3uUlHtHzC+38MKVJmel31/pTP6su7tp1RiAlwKC1+lJuTXNk0cafzXakHf3z/TeX3y/KvGrpJa1xFma+9Km8CzTPUs2PBp+7J+PPrrh8kdpcq3+vAWz86zNm6aPcGSpBdLywQcqV+2EqVPHBnXpi/YtnFBgIDG79dgaNMO4l7PoezYlop6LKT4Yzcqi6on9Xnq+gP4X+RKmFGYwBSWhUC6OjjahKvceTWsoHGrV3AMXfSkJwosdCeHDflS08ytjz66EC+Y9YTFiFUYLulTEZMHdCWn8NrOSQVntu/JieSZw19lcGdo9ca6CWIDLIAmYEy98eoKqGIxSxUIdorhUJj6MlpeG5irQ84CqsbXdE33L4ynbWMIHPN97NpX0X5U0kPs9rZtK6JynPO2tHrgN595HCiordTqtZ8LEYfmhsRJtxdfbPR6C76/2wFXJJo+HL4b3N0W30zn4Ern/KajIw/s9+LXu0tXh1uzsvAV/DJy/6jzYF3uBjq6SvuSmcOdz87lLuau4HdwdqFs2oLbDkCbJZaJf6QTzHUQpDzBmis1APCpiLFUmSnkA5xVyJB7+zhSPFkYko5Vg94NAP8CEij4mgJElxZxBjCsa4drsxTw8A3np09aus60F+uxyV729TpM80TehrKCg9WxX66IV29QZHYv8Nzt1yLVheDU4MKtz3FG5qCNDva1iiaXvFlcIZ5ZsVqb3kJ7P1Yf1ubxeqw1riUavTafd6Vq9xUg8Rgu9H88WI+2G84YwZvEkvI0f9I24bFpzaaXJLqkrHFPPv7nVh00b2fDcV+X+q79uya2R1u5bW4XvVClnuJTqs1q+vtpf/tVzucMzyGV1hUUM8ilqfqrL1ufk6I2m5B4zoGMdcCdfKyxKLORbzAYE+Z1abiST06JYwBjw6mIRKS2K7K+eSPZ4GMtYWuA2xiSBiqYxLhIS8iPPXXbBSgwD1YJr31sZa1ClFwO2dbVH+PJYfB3AFaufnzmTdqMJDqGpuJU+zWAOshHlnPGpIlsIt3chJlIMFpgPUlzWncQZAQJUcrOY5YKv31HUOZBlli0xwxa0a0m8Qu/SWD8KoPX2WG/Zq2YrXxVCwRTHEiEINxFW+3VWdMwROsKFdTjg0DwlQ9tQ/YIH6RzIHbkXoIC6IL1ADem9R+7el39HR3vHHfkP7I2Km6+7zdm0cGyx5UX6W9pBf/uic8SmWfY7pH0Xrii8zONsqCuMZ6JHyRy0GqL3M9uhgXz9yuf8PyE4ISWE0A8x95P/uZWrnvQlNbpcw5O8T9LJ7lCSvnKEv5R2r3xu+fLnVhJPzbiJWUkhTs18DY4zX2kbjOJwbhQ3jpvITcWxZEBFxQLLOBMvFJt9ZQhxwzmHXJOgUXbCIcZSYbnD68vIkDPrylwzn57Jtw66jL4M88wmuwg1Yf15dHVD94joASUVd7mXzZ2RlZ1UMO+8Fe75EybMH3Ld+zPaTyXaUsXy/FUYMYlZeSsp8rmvAP5Ik42cgcvlClGuksYXlAGdBIfehIBGD4gX+RK3JABMcTOds2xSjSevVRw+dvTY4QryyrDPd//0xnzvmkW/eYkGZo+Z9saehdtm39wzcf7Enptnnddwu1jc99bc7Y2N2+cKVbOXqYhjx5Epi6z0yzKa8XD6RYemRT8Lz+yaudC4emrc3z4i3QNzwaQCwAVg/GM7kYAERhbLLGFwaUnW69D+N0RYyFQi6/RMohVwByTNeRPzG2vfnEnPLKX/nvFBfWP+pPOaJvAawz3LrTVvLnpGbxjbdbprrEH/zKL3Gxwr7zdo+HHiRWUHXjl/2mI1TSX/Slky6/xXDpQWCKHaq34KzXTTq/lA7qmOjr9s3/6Xjo5TudHfkStt8+rPbqlt4BPiq6RiPAWORQsBkikkAIEq652COxZt55YDX739jD9w9iXDmHcPC2foDWRNyZeZfTeXvWEja+iBQn4dv0NWL775Zq8PtYqGpsc6eh4jDpLp3EKe9NGai/LoKfpVCbmdzuOGxNnR/jLOzn+KsfOfgutg7C6hQ2pUNTOKEO1KO1kQveYI4ugu7lNmx1rG1XCjuQti3u9pPOpB/D4HgBIvYjHJhRJVVLLaZLsp5kMAu8ZtCjCzbZxDMSGqF8Nj7jIJcBWKvE3C3a2j61Y+umTzsSuI6rk0X0q9WZ0r3fbyxb9ZQF5b2DnNUHKl3zb5rdZFWm1nK55vVE1h4b/67n9sj6hKNWe4jL6U6uqrX39UaAp1LAitnh1s2Dj5yt+T+uElJUR4Zfuse+aFZ1kapl67oLjKmTvjDWHv6kvvF/g7L129f7gSRyxac8VyU1Z6Tq7ekuZQZ/A75oZ3sHGfQsbKV0rbOB2zt6xSZZgxQqwSK9YdcOgLyni3nZgyzHYlWqxZUgl9j5PSVzKPorn/qYIf7172QujR+UR36ZbvD23MAJBW+7ea/mL6g7RtL/3HATR9vPW1uS2vtm3ueWn2vZ9tJp0j6U8jY0Wwd6uIV9or3XcumagQk4muJNoCYu37c7T7Mv6M27L0++gHF/PFdCVftjz6gbSJ/mCfn9f3+WV8Gd9baBXoG9H3L+b9UR9fsSJ6VLEtBC5mBfPJVeLcAXBjVko+DWGWKrC2XcCFm8zkarH08OGePxwWWvj7jSkG45is6OvRN7LGGA0pRqnxmb5DzzwjjH+mbx9fpBtms8oGuplsARrGNkyX+B0tiz881FgUoQB0j0ECjMcM/D7wZgo40JCAvKI11HMtgnxxQ6j1aq2YmkSXka3ZBo1LQyd89CGdABlDNtlKlyWlitrCIN/GXxLkXUIHvtPXDmfhXa09M4lup8usxmReTda8+iq9Qc0nAzG1m1yWlGnXFpZTNTlTzvb7Slkjz4G22pS2yogooa1BGBPYg2U8IMs8InKQmE2yZm1L72QU9qqemrZmV3RfdLGcoknW2FKS+bXkq9wUR5ZNuFRYcN5UG7Xbnji/b+/5U2zkM9vjQlPfBeQdUWvRpiejr/flDm1yqhl99vv5QhOzmfcwucFQDa1ekp0hQkSXW28lcStg0WkyC2VEFAJBEYDmOeN6jb91Xim9wX9Epac3lM67deMRqmJarb5nyRp2LSyAJ8ga/5FzcZ2qSfG33og9FT3AtGCvxqr9V6yWoTxuDuKfX0ancsAl9AsuCEaHIsnEawAIcc5QVdgBw3330e+YTfp9pC1Nw5NX6Afz5hHVuUNXyfcRQ+JLpC1J5LtJA6o3STpfzGTBcdoAd5npl9EeWZQRG0Fz/QFc+3X0AHMBGhzfondKLORmimKnoPBu/7neQQHNVWv6Mpkt89BIJQqIZvX2j6llQHut1IvaLyXuAurCBn8lFlGDpiDNkQmkB1pn14r1vVOYMzx+j4VtUUIsRJQA/IpjFcY+6Le1AdwQ95Y6V9xkDKtvZvF+FMTCyGOawkyyVXsR74VR/oghHgEL7Rv62wsxwoX0y7DVMYsetIWSGiO9B/FZxF997bQbteqxmHTx58W45FwFAAQ9n1E+cwDFPswEPRbzsI05vPCtaHnO/GMwXmF/LIsyxmWj8BGd4IDW0zGXGwyyFQyg31L/ddzrWTweNbUvWVpXX1+3dPGmEkvelDwrnixWPC0stFqtebK6LrR48ZnFS+rqo48VYoD9IlUXsCeWvEKYeiumosGaWwzZQTCggLuIW8lt4Laec/cEMuJwwcgai8r1dETXSCwp6CnAjLD1AbR2SyOmYMDKrOGMTNclZwTZjYCDeANWwm6gYxnHwsGiOtpbJSbkTcJo0hS33aKH6cdst1XBn/HNdevepN/S9+i3b667vCiwhDx+Xc/B5csP9lz33oFJN/kN6y/Y8lm25dJNpYvcS/jk1OpHM1J1GYCAVVIywPhhV5UtdIcFITm1+Lo5REMXS9k5aUJqMllYy7vK1k0PNukKtCvrWvhy03q8sGtX1LUE2a4faEcRa1vPJeveJMaBJt3x5xfrq5eK2dAU+g9o0iWq5vqa6V3tVzxWnEf+nKZVaXW8NZcQlc5cFigRyL9mQ/m7GanpqmTtyo30Y6I2F4+s4Amt3HLT+/Tmo9taJjzUOPObJUq6hcUrGup3rMRZiQUttg1JUcaPgEJqpCyEIazmExhUBF2RFd/8gTNwfmGGO/ed0/+7Py5MPNUP+V7czxsjH6LdAu5FWd17MNx3QlbDJmrDIGIYXT2CbpXSvv4wJyn9kYSVtnSHY/9icYw8DJ/HZYnwBX0slil6kYeVqCPYNXwVjSXwRTXQtLPld+XXuSyuiOlYhnH1jBtD398QwZXJfk2GoOxHEfyYZRJkqoMy/IUZSaWY6AZEGX/DYfCh2r+96ubl65rNWq203WLpW2qdZun7yWIRbrdMm1VDvq/J1AhSsqpi4bjS8uWkuKZmek1N9IMx/KbRfT+N5tvH9P3E8v8eE8+PkR/eLmm15uZ1y2+u2m6B2pZAbUmWaVbhNgutobqaCcvLS8ctrFAlS4KmEOubXjN8dPTqMeT7MdGO0eT7/jw7Xz1GsfeC4QG6PoVxQP2aVmTaDZxs9A4I79B6mosbDuIDSl7VtWb/mrUt0y+Dafrq4wiaRDLHmaLIR/RL5Ma/fXD/N5hiVKBpa9ZNRfC7bupn9GnHB4p47gMHmfQZvoHRFZnLDbRrOrFK7dI7MKNuph1XHLF8jgaiYvYpFfoMWUIGuULm3czKwCE8osQx5Mn4Bx/kbznRdnHtBR7d5FktOTlznyrVqV0lOh1tlN5pbT/vvHbabnGJquThltFGA30vGtXJi+66u7r6ZfpIetqD0e9mzJjAxWxZFVkNysVxjdSzeBTcUH48Hn1MoSaNcVVKIl0J+yH+KwqOuOeGKT+YRvJdqq4BHvzHmMs9BpicP4r+NGo+i/Pfgugr3LONb2ViJDJOibL/5m3km9vSv6TvfImScoZUu+FMZiie+G78DQDbqPnzR9mUXwZYyz+CGOjHAc/BWuPkyc0Y6EkFezlN/p18iMtk2qE6jtOj5DtEuBAMMaclZWrxHD89M/SXZ/Smty5us4RJ6slvN6ZbaebJr1XaqtJRgabiUvF7+vtnSW3WeU5XRt9nrcKKyyr/Modeu6Fk/cySDbX8D7Fb2fT34pUZZy5bDbVo/9l3r0ZHb3zpd4LakunMsqaol9PfH4InM1zO836/su/WqZWNG0pmrvesJ+vn/J0+Tmqz4U5rFn0N5i8lFg8QbaHyufExyehm7ibudu4e7gD3FIYi9itMhVGApocIkLAkgGyjSpYwVpdDMJnxx48koK5h3enNwFWiQVQaalnziKwUuFEgIAaC+jJC9KhYRP5B0BvMqDFEW7pahIlMgGrXeWUR+c58vHKaJaUeAa2x7MyaSvZhPU7FKTloQHwZBGyaQwwmMzwgH104abcld8zkhT3WBZN2V4+ZtEh4pcB+w6I99MNqTO8insg1jarMUk2SVqPVVI9XF6ap04bZW+UkUSUBcXsHFMhp1XZBP6aL7sryq8aWkt8cqzSo5LQ8280P8KSurrKITDiWsWwkOfvSNNjeS3PJY0sxaB8fXX1LMknN0FdPurpII6k1tU6tWj85/9ELLyYPPJaSaz84r2WVLPsEWrXiYkLqasvFQ/QkyR07adLuXEJP8tnEnDtmz625JK/v1hVv7ncGd9614q39juBOfk3FRl6TlZnbECrOGbeQ3J4s5Kq0qQ5B0qQIavUDr5G7lBIiB3LPjAvQlLFv0BuIHByWlHX+rAs3kgp6RMUbM6z0gQmNUwFZFKIjI6mYcvvqOxCyqFL+7hcyCU/u/I5sFYg2TSSWr5pH0+LSJ34KWfJzW9d/On9/OQkZsvU6upvU0A+IQDBQFvdbki/rpcdY1KwAcLwZbhdKgXCRyFKG2cQJp34gSxfP00/v/HrBkfHjjyz4unO6fsFCspTkLyTjfvcb0rzqWVmY3Ng4WZCfXUUP/uZ39DeAre6DtWmW5wMXOpLZWynR4Oz4Z9PDagMYArynYHdLTOuM2v643h+3mmCP+aIjaywphrFCQPkhC7xWXgoR2TyiKW/DpPRMKUVKj7Z+LuhSjfSYMVUnhC/nnS32qVm2vJzJvNBhUGm0+ryJj0xoXvcVX1M2M7fqypotNZdXVARqN2zusOaPcBSnWKuzG7JqDJnZSWXi5r99PPcqs8Tz0U8z0tPTdTrexatstkmrVq2a4+D53BSVJCWpTf6RTZGoL616SeTCZW9sqq5Itz2054/dbev4r6Sk3LHT53gcU1PV5qyaC6edZ/cm+scOpjGYNXgWsekwIoI+gcqwKZEWz74E1DP7j5Q0HugKi8HHlNBCjG5g5gkpStw4DBEDFLuqP4awCr6Xo/wqCgvORgRdXKHByGwvxiYTdbIRw+jgD6zh+2GglWk30tB5hcQDqRJ0pA0oqEb8AgZmUe7Gnqojp1EcyqkTvjs41ofyfTMjY5jlOEmwaxFZfCj8PjAQLLAJMkXY4biNlsKyKS0IK3EkB4whBmxMpH67K2Wc41HPE6yPnCL6H+qYbQmS9MxkROeMFzAiAIcowVrJgd7kaFguaaIHMpLT80JTh1VXD5s6rrpaQ/5VXHThsGGXTp1yaXp6X7UyB3E6E4/X2oAWz6T+tGHVLVOrh1VUAtFyMd2nH1YNr1w6hX86Kz0j+nCMFpWHtD+HxcxwDenBUD63lAxtrPILP7Fgoe0MeZKJ9BlYJ21D2xdJlHRHm2KRNBRzrP9f+L70QWsC/ZsNLHJuPvDWhZyHq2Cx3+owGqYmri4XGUltZ+T1/yWvLCLgqZlanbnns2jC/1U2cYXDIIQHArucM4nFsEvYZxnxGCfxvcYCAcveoNnrjguQnDHWIXG7sag+Ss00qrjwdOIKH1jyyqbDQUZWgXiUEAoK04DtSPrVfcd4mHPsPQtvYyGrnAlb8dxbED2kmH8Fekoxv5Fzb8TYFcvGrZT4QePTPy6JnU/sYkLscxXwZenxN9xBt4bYNAD1ZeVVADcR9jWMK4SORP2Thx73LGQkC7GMq1gY1IbSxNmBbS6rfgEN/DAoLiabwKtBcDElSUdX5zrSPcPchYXuYcPzGoln1jC3u7AJCgZNFuVFXUoKP0aWS+mTsrs4ECwszB4WJM11J7OHudsK3e7iIfOGPkOp7LcMTMC9uZQYV0pLRWPQLJudCWehCvUA5TxSeXHvMb8vsa207eD6gwdp98B5d+NFGj4rOfmNUlmcY2n0eBo9iU2uioSrwuHEM22bN0I3JT9/1avNtUu+L83LLy3NzwOY8D73vgxEsRIPnyi/Kedwu3j8PTnVoF8r8dzd1nb3Xno+PX8vy5H9ZD/9gYXIY5G9Jc+Qm5jrOYuzGn+I+ZMqvD+uiCwcFb+N2PxeOESbWXbbscAdNCPfjxAIOesIWgVhUOLVbYsj2D+aAjnSKa6jH8J2YxFYPzn4++hIuIRUiU0WjxcU+2VTnRtWHrHpdcyzWsaQsPBa9OgOfh5dEolgxM8IwtK+E2Hii36wg5+PESgi0SZVM5wS7KdwlPQ6IQhoXrQ5zTqbWdDpoT7ZaRPdOpvk/gIj0W0i6wDdr8PcFxiybhO9Dhp+HeTEUrKuZ9vgWwBs8dYm9uogfyMz4LxfSLP/O27z3L5G7/43LOi5nIlUp/5btjQ1hvdqoPXuQdHAJnPTgI68gLto4LdLmIyQiWEVaaHNqIgL64nyC53ikOv+qHxeox1/UU8ckhftfi87Yr9v4mEmK50s6WvXphWnabWpnlQtfzgtvTA9LU1brE2L/dYJ/MeDRVSP51DJjFdSI+LicF2Zx1NWF46lPUYtVGDsMaVCnaYeA1SXbugxwhfSerSKbJvFygsnnIfE9e+nqM4VrTsxgnFipG7+ZPQhcQNGM2bJ4FD/fV/0xzb+80BsY7Hfh2vgV7U4vTIFMQqSKIHadEIMqYVR8GUvqKQVlQV2DNqFJnkRxQ1RurnHL66fVmEvKCigB9HbG8ViMVIDddbXy6PkrcDLckFTSAoiuxqosqKDsZu5xKEYNU3CKFbIUFhVMhNXMfY8jcWxSsgnkUhuR9eHn3zY1ZHjyLpgbP6ouuHDQgFrWakxpbKsxTM31dE6dzgRbhiV5XHk5KZniektwUXjCSmsaShJNk265/Zho2cf2KGVk5Oc2usfG9Nw9+VaKSnJmb7mzl3X352jq11y+Y6OK8rq7rprvNFe4XenaTM3lma7TRmShmicw6YUj9qkFkwl7pGuCal/HluSNC2Y11BZFxjnrBunLShtf3pOskObLifPeWrp2r3TlPyU2+lJiurv/wfGfONHAAB42mNgZGBgYGTsVJTmXxnPb/OVgZv9AlCE4fwtflZkmv0CWJyDgQnEAwAQJwk0AAB42mNgZGBgv/D/BohkYACTjAyo4DMAdrcFUgAAeNptUqtuAkEUvbOIDbp8AKISVdG/IKmAhA9YVdH+B2rqmoomdZXFoMAgYAQJK/sJTfUkDajeeezOncNscnJm7uPcx46y5L/qjWjwQ1S3iZ1NsV9NA+jCrJmfA3uf9bFN3aoJ8x/DiPtvuPuzZh4FXw8j/AQ8h1iA0ileYjCu22qTw9WoFszfqT/Zg/qMrMFHhbPL30e9pqA1in2ZxB1cjjrG3h1uQ4xEH+9mtFHH5rvqZ28KeQY0da6Ju6cD2B45Z5n37DWHzFPGK9S6h7401HpiDMUOO7wwVoXZOpzBvhY7FDPjvdPv7+9Cg2upHezY9fvFeODzXdzHAWa01zu++r/4NmfRfhN72jI+0jvL/ouwlUAnqNdATVMtiP4B4gs5aQAAAHjaY2BgUCMA9RjaGFYwXGG0Y5zAuILxHZMe0ySmE8wCzDHMk5ivsMiwzGA5x8rFasT6iU2GLYVtEts5diF2N/YV7Lc4LDiCOCo4VnBc4vjDKcSpwKnHacPpxRnBuY3zFOc3LjOuHK4urnlcd7j+cZtx13F/4AnhmcFzhpeF1443j3ce7xneX3xqfBl8K/iu8Cvxt/G/EOARsBFoEzgj8EtQTDBIMEdwlZCH0AShTUJXhL4JKwhvEn4nEiXSIrJE5ICoiGiM6AIxMbEIsRlit8RtxC9J+EgckHgiySApJhkmOUHylZSBVIZUn9QmqXfSNtKTZFxkSmSOyHyTtZMtkZ0mu0vOQ65B7p48g3yN/D4FIYUyhT0K9xQZFCUUZyheUdJTWqR0QDlL+ZZKgsoklVsq31QlVL1UZ6huUX2ixqa2SN1L/ZyGlIaJhpdGikaVxhSNVRpHNG5pCmkaaL7RCtLaoz1B+43OBF0e3TDddbqv9MT0VPSW6b3Sl9EP0F+m/8zAx2CewSmDb4ZGhhmGDYaLDF8YHTB6Z2xhHGJ8zUTJJM3kjqmbWYbZFHMF8wjzKeZXLEwsaizmWfJYBljOsdxiec9Kx6rNap/VJ2sp6wDrDTYONlU2G2zNbM0AJreO4njaY2BkYGD4zLCJQZABBJiAmJEBJOYA5jMAAC7DAfwAeNqNUstOwkAUPS1oQjQuXLgwLhrdqAnlpYiw9ZEoMUSjuC22FCJCLZXiL/hluvML/AbjBxjPTKekaTfmZmbOPT33MXMLYAVvyEHLFwB8cUVYwzq9COtYw7fCOTTwq3Ae21pd4SXMtXuFl8l/KlzAvvaj8Co29S2F37Ghx7EfKOttnKODNgzM4MDHFENMMKZf5ZqQMWDRf+U5IgqkKqsOiQIMiPqSCYgczPHA3aMX63apCWgemijRQmkmXH594SkquuRHjBCxY9ZwuEpkPbJF5rfwTKXI80RmB2eq4mmm3h5OqJ5SK7JNZLZrKlzWErfxUWGmMq2OFm5xiS6uiLJRxVRcVmGkFHepF0pW6uCGjPCS7IDKQOWbLSJMHHFv8a4WHplTaPpkxQv1OCUTh3I1UKN3/I/eu/KVbXbhy7cVvdsSDeUcDDllixVDpfQWynhCXfq9xKyjXgVr07uQtQz1F1XYXZPd1bhXiQUrbn7wB+JUeFEAeNptlPWTHUUYRfcESXB3d4c3/XXPzMNDYIO7uwUSCCFICMHd3d3dLbi7u7u7Fn8A9s7+xqvaOjW106ff3rp3+wb1/ff5a2Jf6vu/z5///NA3iEFMwqRMxuQMZghTMCVTMTXTMC3TMT0zMCMzMTOzMCuzMTtzMCdzMTfzMC/zMT8LsCALsTCLsCiLsThLsCRLsTTLsCzL0aEiEWQKNQ0tXZZnBVZkJVZmFVZlKKsxjNVZg36GsyZrsTbrsC7rsT4bsCEbsTGbsCmbsTlbsCVbsTXbsC3bsT07sCM7sTO7sCsj2I3dGcko9mBPRrMXY9ibsezDvuzH/ozjAMZzIBM4iIM5hEM5jMM5giM5iqM5hmM5juM5gRM5iZM5hVM5jdM5gzM5i7M5h3M5j/O5gAu5iIu5hEu5jMu5giu5iqu5hmu5juu5gRu5iZu5hVu5jdu5gzu5i7u5h4ncy33czwM8yEM8zCM8ymM8zhM8yVM8zTM8y3M8zwu8yEu8zCu8ymu8zhu8yVu8zTu8y3u8zwd8yEd8zCd8ymd8zhd8yVd8zTd8y3d8zw/8yE/8zC/8ym/8zh+Dx40ZlTqdjqxkkiGzLLKWjWxlVw7tMfX3WHos/cP+ZX/Vu+8fVjLJkFkWWctGtrLbY6Wv0lfpq/RVeio9lZ5KT6Un6Ul6kp6kJ+lJepKepCfpCT3h+fB8+HeFntATng/PZ89nv0fWk/Vkz2fvz54v/r54T/G94j3F98vA+95Xe1/tfbWeWk+tp9ZT66n11Hoazzd+30ZPo6fR0+hp9DR6Gj2t36fV1+pr9bX62p4v2adkn5I9SvYodQbeq2UjW9m7N9mjZI+SPUr2KFX67FOyT8k+JfuU7FOyT8k+JfuU7FNK+uxVslfJXiV7lexVslcp9NmvZL+S/Ur2K9mvFPrsWbJnyZ4l+xXmF52B55BZFlnLRray5w1zDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDPcaA3m618j63G1kfe433G/kni/7nAeeS0dWMsmQWRZZy0bqcee59rw7z+48u/PszrM7z+48u/Pc6HHv2b1n957de3bv2b1n957de3bv2b1n957de3bv2b1n955bfa2+Vl+rr6uvq6+rr6uvq6+rr6uvq6+rr9vzFf+/FPdR3EdxH8V9FHdR3EVxF8VdFHdRqmrImBHjh4+eMHbk3xoQhjkAAAFTtF6HAAA=) format('woff'), - url(../fonts/dashicons.ttf) format("truetype"), - url(../fonts/dashicons.svg#dashicons) format("svg"); - font-weight: normal; - font-style: normal; -} - -.dashicons, -.dashicons-before:before { - display: inline-block; - width: 20px; - height: 20px; - font-size: 20px; - line-height: 1; - font-family: "dashicons"; - text-decoration: inherit; - font-weight: normal; - font-style: normal; - vertical-align: top; - text-align: center; - -webkit-transition: color .1s ease-in 0; - transition: color .1s ease-in 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* Admin Menu Icons */ - -.dashicons-menu:before { - content: "\f333"; -} - -.dashicons-admin-site:before { - content: "\f319"; -} - -.dashicons-dashboard:before { - content: "\f226"; -} - -.dashicons-admin-media:before { - content: "\f104"; -} - -.dashicons-admin-page:before { - content: "\f105"; -} - -.dashicons-admin-comments:before { - content: "\f101"; -} - -.dashicons-admin-appearance:before { - content: "\f100"; -} - -.dashicons-admin-plugins:before { - content: "\f106"; -} - -.dashicons-admin-users:before { - content: "\f110"; -} - -.dashicons-admin-tools:before { - content: "\f107"; -} - -.dashicons-admin-settings:before { - content: "\f108"; -} - -.dashicons-admin-network:before { - content: "\f112"; -} - -.dashicons-admin-generic:before { - content: "\f111"; -} - -.dashicons-admin-home:before { - content: "\f102"; -} - -.dashicons-admin-collapse:before { - content: "\f148"; -} - - -/* Both Admin Menu and Post Formats */ - -.dashicons-admin-links:before, -.dashicons-format-links:before { - content: "\f103"; -} - -.dashicons-admin-post:before, -.dashicons-format-standard:before { - content: "\f109"; -} - - -/* Post Format Icons */ - -.dashicons-format-image:before { - content: "\f128"; -} - -.dashicons-format-gallery:before { - content: "\f161"; -} - -.dashicons-format-audio:before { - content: "\f127"; -} - -.dashicons-format-video:before { - content: "\f126"; -} - -.dashicons-format-chat:before { - content: "\f125"; -} - -.dashicons-format-status:before { - content: "\f130"; -} - -.dashicons-format-aside:before { - content: "\f123"; -} - -.dashicons-format-quote:before { - content: "\f122"; -} - - -/* Welcome Screen Icons */ - -.dashicons-welcome-write-blog:before, -.dashicons-welcome-edit-page:before { - content: "\f119"; -} - -.dashicons-welcome-add-page:before { - content: "\f133"; -} - -.dashicons-welcome-view-site:before { - content: "\f115"; -} - -.dashicons-welcome-widgets-menus:before { - content: "\f116"; -} - -.dashicons-welcome-comments:before { - content: "\f117"; -} - -.dashicons-welcome-learn-more:before { - content: "\f118"; -} - - -/* Image Editing Icons */ - -.dashicons-image-crop:before { - content: "\f165"; -} - -.dashicons-image-rotate-left:before { - content: "\f166"; -} - -.dashicons-image-rotate-right:before { - content: "\f167"; -} - -.dashicons-image-flip-vertical:before { - content: "\f168"; -} - -.dashicons-image-flip-horizontal:before { - content: "\f169"; -} - - -/* Both Image Editing and TinyMCE */ - -.dashicons-undo:before { - content: "\f171"; -} - -.dashicons-redo:before { - content: "\f172"; -} - -/* TinyMCE Icons */ - -.dashicons-editor-bold:before { - content: "\f200"; -} - -.dashicons-editor-italic:before { - content: "\f201"; -} - -.dashicons-editor-ul:before { - content: "\f203"; -} - -.dashicons-editor-ol:before { - content: "\f204"; -} - -.dashicons-editor-quote:before { - content: "\f205"; -} - -.dashicons-editor-alignleft:before { - content: "\f206"; -} - -.dashicons-editor-aligncenter:before { - content: "\f207"; -} - -.dashicons-editor-alignright:before { - content: "\f208"; -} - -.dashicons-editor-insertmore:before { - content: "\f209"; -} - -.dashicons-editor-spellcheck:before { - content: "\f210"; -} - -.dashicons-editor-distractionfree:before, -.dashicons-editor-expand:before { - content: "\f211"; -} - -.dashicons-editor-contract:before { - content: "\f506"; -} - -.dashicons-editor-kitchensink:before { - content: "\f212"; -} - -.dashicons-editor-underline:before { - content: "\f213"; -} - -.dashicons-editor-justify:before { - content: "\f214"; -} - -.dashicons-editor-textcolor:before { - content: "\f215"; -} - -.dashicons-editor-paste-word:before { - content: "\f216"; -} - -.dashicons-editor-paste-text:before { - content: "\f217"; -} - -.dashicons-editor-removeformatting:before { - content: "\f218"; -} - -.dashicons-editor-video:before { - content: "\f219"; -} - -.dashicons-editor-customchar:before { - content: "\f220"; -} - -.dashicons-editor-outdent:before { - content: "\f221"; -} - -.dashicons-editor-indent:before { - content: "\f222"; -} - -.dashicons-editor-help:before { - content: "\f223"; -} - -.dashicons-editor-strikethrough:before { - content: "\f224"; -} - -.dashicons-editor-unlink:before { - content: "\f225"; -} - -.dashicons-editor-rtl:before { - content: "\f320"; -} - -.dashicons-editor-break:before { - content: "\f474"; -} - -.dashicons-editor-code:before { - content: "\f475"; -} - -.dashicons-editor-paragraph:before { - content: "\f476"; -} - -/* Post Icons */ - -.dashicons-align-left:before { - content: "\f135"; -} - -.dashicons-align-right:before { - content: "\f136"; -} - -.dashicons-align-center:before { - content: "\f134"; -} - -.dashicons-align-none:before { - content: "\f138"; -} - -.dashicons-lock:before { - content: "\f160"; -} - -.dashicons-calendar:before { - content: "\f145"; -} - -.dashicons-calendar-alt:before { - content: "\f508"; -} - -.dashicons-visibility:before { - content: "\f177"; -} - -.dashicons-post-status:before { - content: "\f173"; -} - -.dashicons-edit:before { - content: "\f464"; -} - -.dashicons-post-trash:before, -.dashicons-trash:before { - content: "\f182"; -} - - -/* Sorting */ - -.dashicons-external:before { - content: "\f504"; -} - -.dashicons-arrow-up:before { - content: "\f142"; -} - -.dashicons-arrow-down:before { - content: "\f140"; -} - -.dashicons-arrow-left:before { - content: "\f141"; -} - -.dashicons-arrow-right:before { - content: "\f139"; -} - -.dashicons-arrow-up-alt:before { - content: "\f342"; -} - -.dashicons-arrow-down-alt:before { - content: "\f346"; -} - -.dashicons-arrow-left-alt:before { - content: "\f340"; -} - -.dashicons-arrow-right-alt:before { - content: "\f344"; -} - -.dashicons-arrow-up-alt2:before { - content: "\f343"; -} - -.dashicons-arrow-down-alt2:before { - content: "\f347"; -} - -.dashicons-arrow-left-alt2:before { - content: "\f341"; -} - -.dashicons-arrow-right-alt2:before { - content: "\f345"; -} - -.dashicons-leftright:before { - content: "\f229"; -} - -.dashicons-sort:before { - content: "\f156"; -} - -.dashicons-randomize:before { - content: "\f503" -} - -.dashicons-list-view:before { - content: "\f163"; -} - -.dashicons-exerpt-view:before { - content: "\f164"; -} - -.dashicons-grid-view:before { - content: "\f509"; -} - - -/* WPorg specific icons: Jobs, Profiles, WordCamps */ - -.dashicons-hammer:before { - content: "\f308"; -} - -.dashicons-art:before { - content: "\f309"; -} - -.dashicons-migrate:before { - content: "\f310"; -} - -.dashicons-performance:before { - content: "\f311"; -} - -.dashicons-universal-access:before { - content: "\f483"; -} - -.dashicons-universal-access-alt:before { - content: "\f507"; -} - -.dashicons-tickets:before { - content: "\f486"; -} - -.dashicons-nametag:before { - content: "\f484"; -} - -.dashicons-clipboard:before { - content: "\f481"; -} - -.dashicons-heart:before { - content: "\f487"; -} - -.dashicons-megaphone:before { - content: "\f488"; -} - -.dashicons-schedule:before { - content: "\f489"; -} - - -/* Internal/Products */ - -.dashicons-wordpress:before { - content: "\f120"; -} - -.dashicons-wordpress-alt:before { - content: "\f324"; -} - -.dashicons-pressthis:before { - content: "\f157"; -} - -.dashicons-update:before { - content: "\f463"; -} - -.dashicons-screenoptions:before { - content: "\f180"; -} - -.dashicons-info:before { - content: "\f348"; -} - -.dashicons-cart:before { - content: "\f174"; -} - -.dashicons-feedback:before { - content: "\f175"; -} - -.dashicons-cloud:before { - content: "\f176"; -} - -.dashicons-translation:before { - content: "\f326"; -} - - -/* Taxonomies */ - -.dashicons-tag:before { - content: "\f323"; -} - -.dashicons-category:before { - content: "\f318"; -} - - -/* Widget icons */ - -.dashicons-archive:before { - content: "\f480"; -} - -.dashicons-tagcloud:before { - content: "\f479"; -} - -.dashicons-text:before { - content: "\f478"; -} - - -/* Media icons */ - -.dashicons-media-archive:before { - content: "\f501" -} - -.dashicons-media-audio:before { - content: "\f500" -} - -.dashicons-media-code:before { - content: "\f499" -} - -.dashicons-media-default:before { - content: "\f498" -} - -.dashicons-media-document:before { - content: "\f497" -} - -.dashicons-media-interactive:before { - content: "\f496" -} - -.dashicons-media-spreadsheet:before { - content: "\f495" -} - -.dashicons-media-text:before { - content: "\f491" -} - -.dashicons-media-video:before { - content: "\f490" -} - -.dashicons-playlist-audio:before { - content: "\f492" -} - -.dashicons-playlist-video:before { - content: "\f493" -} - - -/* Alerts/Notifications/Flags */ - -.dashicons-yes:before { - content: "\f147"; -} - -.dashicons-no:before { - content: "\f158"; -} - -.dashicons-no-alt:before { - content: "\f335"; -} - -.dashicons-plus:before { - content: "\f132"; -} - -.dashicons-plus-alt:before { - content: "\f502" -} - -.dashicons-minus:before { - content: "\f460"; -} - -.dashicons-dismiss:before { - content: "\f153"; -} - -.dashicons-marker:before { - content: "\f159"; -} - -.dashicons-star-filled:before { - content: "\f155"; -} - -.dashicons-star-half:before { - content: "\f459"; -} - -.dashicons-star-empty:before { - content: "\f154"; -} - -.dashicons-flag:before { - content: "\f227"; -} - - -/* Social Icons */ - -.dashicons-share:before { - content: "\f237"; -} - -.dashicons-share1:before { - content: "\f237"; -} - -.dashicons-share-alt:before { - content: "\f240"; -} - -.dashicons-share-alt2:before { - content: "\f242"; -} - -.dashicons-twitter:before { - content: "\f301"; -} - -.dashicons-rss:before { - content: "\f303"; -} - -.dashicons-email:before { - content: "\f465"; -} - -.dashicons-email-alt:before { - content: "\f466"; -} - -.dashicons-facebook:before { - content: "\f304"; -} - -.dashicons-facebook-alt:before { - content: "\f305"; -} - -.dashicons-networking:before { - content: "\f325"; -} - -.dashicons-googleplus:before { - content: "\f462"; -} - - -/* Misc/CPT */ - -.dashicons-location:before { - content: "\f230"; -} - -.dashicons-location-alt:before { - content: "\f231"; -} - -.dashicons-camera:before { - content: "\f306"; -} - -.dashicons-images-alt:before { - content: "\f232"; -} - -.dashicons-images-alt2:before { - content: "\f233"; -} - -.dashicons-video-alt:before { - content: "\f234"; -} - -.dashicons-video-alt2:before { - content: "\f235"; -} - -.dashicons-video-alt3:before { - content: "\f236"; -} - -.dashicons-vault:before { - content: "\f178"; -} - -.dashicons-shield:before { - content: "\f332"; -} - -.dashicons-shield-alt:before { - content: "\f334"; -} - -.dashicons-sos:before { - content: "\f468"; -} - -.dashicons-search:before { - content: "\f179"; -} - -.dashicons-slides:before { - content: "\f181"; -} - -.dashicons-analytics:before { - content: "\f183"; -} - -.dashicons-chart-pie:before { - content: "\f184"; -} - -.dashicons-chart-bar:before { - content: "\f185"; -} - -.dashicons-chart-line:before { - content: "\f238"; -} - -.dashicons-chart-area:before { - content: "\f239"; -} - -.dashicons-groups:before { - content: "\f307"; -} - -.dashicons-businessman:before { - content: "\f338"; -} - -.dashicons-id:before { - content: "\f336"; -} - -.dashicons-id-alt:before { - content: "\f337"; -} - -.dashicons-products:before { - content: "\f312"; -} - -.dashicons-awards:before { - content: "\f313"; -} - -.dashicons-forms:before { - content: "\f314"; -} - -.dashicons-testimonial:before { - content: "\f473"; -} - -.dashicons-portfolio:before { - content: "\f322"; -} - -.dashicons-book:before { - content: "\f330"; -} - -.dashicons-book-alt:before { - content: "\f331"; -} - -.dashicons-download:before { - content: "\f316"; -} - -.dashicons-upload:before { - content: "\f317"; -} - -.dashicons-backup:before { - content: "\f321"; -} - -.dashicons-clock:before { - content: "\f469"; -} - -.dashicons-lightbulb:before { - content: "\f339"; -} - -.dashicons-microphone:before { - content: "\f482"; -} - -.dashicons-desktop:before { - content: "\f472"; -} - -.dashicons-tablet:before { - content: "\f471"; -} - -.dashicons-smartphone:before { - content: "\f470"; -} - -.dashicons-smiley:before { - content: "\f328"; -} - -.dashicons-index-card:before { - content: "\f510"; -} - -.dashicons-carrot:before { - content: "\f511"; -} diff --git a/sources/wordpress/wp-includes/css/dashicons.min.css b/sources/wordpress/wp-includes/css/dashicons.min.css deleted file mode 100644 index b360187..0000000 --- a/sources/wordpress/wp-includes/css/dashicons.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:dashicons;src:url(../fonts/dashicons.eot)}@font-face{font-family:dashicons;src:url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAFk8AA4AAAAAkVwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABRAAAABwAAAAca/GHnkdERUYAAAFgAAAAHgAAACABIAAET1MvMgAAAYAAAABAAAAAYJAJaVBjbWFwAAABwAAAATMAAAKSUPpEamdhc3AAAAL0AAAACAAAAAj//wADZ2x5ZgAAAvwAAE2qAAB6bNqcwBtoZWFkAABQqAAAAC4AAAA2BqJsMGhoZWEAAFDYAAAAGgAAACQPogicaG10eAAAUPQAAAEhAAADzAu/zfNsb2NhAABSGAAAAeAAAAHox87m5m1heHAAAFP4AAAAHwAAACABRgC1bmFtZQAAVBgAAAFzAAADBkirZW9wb3N0AABVjAAAA6cAAAmJ0RPelXdlYmYAAFk0AAAABgAAAAZeiFO0AAAAAQAAAADMPaLPAAAAAM/Z1ckAAAAAz9oPBXjaY2BkYGDgA2IJBhBgYmAEwk9AzALmMQAADrABJQAAeNpjYGZvYZzAwMrAwirCsoGBgWEahGbaw2DEFAHkA6Wwg1DvcD8GBwWGr4LsF0B8IKkBpBiRlCgwMAIA9/UJS3ja3ZAxSwNBEIVnczFwub25CyoYsFgQi1QGCzHdGRGTQhEiaLRIVFCCCEklKYSAWAgWtv4L/4yNFgkKiuXszlZGziMRC3sbH8wbHjy+4gGAA+ObBZE4iJskiVFOi3bydyGCCZhRWbWgGvNDcmmS8jRHBSrSEpVoldaoQnU6oBZ16UoL7eq8LuiSjnTZuCZvCqZkqlzlHa5zk1vc5Wu+s2nr2lwcAyj4JgOFNE2K5hPyIi1TlJDXqUZNOqIO9TRoR4da6eKILExolCmaiCu8NSIfcpt7fGvBZmwYxwOn3+/fP04FucALskE6cPATh/iBFhkNvuMLPuMTPuA+7uE2bmIFy7jiX/oX/rnf8U/lmTyRx7IpG7Iua3LDe/NevcF4pb+RyMAPXqQSS/0uwL/XF+1xgaIAAAAAAf//AAJ42q29B3wUZfo4Pu/Mzsxu2mazLW032WxL2dRtIWUTIPTQQosFpCy9GEWaBFSMiEqJDRtiQ8QeFTkLx9lO145c1NNDD/XkOPVOvePrQZJ9/T3PO7vJJuJ97/v//Akz7zvvzLzz1qc/z3IiB//Iaf4wJ3ASp+FSOC3HVepsOkFv05t1xJZMdHpyuucR+ljkEbqTTH8k8gh/ONpEbuB+pt0/Exr9kPuZeCjP/cwRLuFfJcfxXJiLyi9IPVCnn+M0JBgiJrOVmK1CIKghsmTIIyaDnMbLEpysfIgEA8EQHwxUQXlVUDwQrd+dtf6WmtIHppXUzW5ZWRN9KFr/lMWyzGLJGbXYNMLum1Ihj11yySW+Am9qsy/XMg1uTbMIm/lXd+em2l3WrWWZubZUkhJ9iH/1KXZ3uiUnMDa90u675JIlY+WKyb6CJt2qkTmsTo4QDxeRGmU1lwFjYqsyGXUGqYQQnb3A5df5AuS00NGydm1LhKZEIJXVa1uiTS1raQo5vbaFP9yyFrotcP+GOj6RPoKxTGP1mGUNcWuI3ysSGFY8pMY7lkU3RDcs438knZHoAb61d4qQT9tUm+9Yxl/Lymlb5M7ow9FH+RlUS07TFKg3wu2WV8g1XCbn4uqgXlO6lqQRN2kgAZ/bVaAlxBWAfL6GXUsykQxmU0AmJklLpHy3K72BhIiZlVZJ/9i8+Y6WL5cRqbm5oaHh6YaJ9AnLsJbbryAL+77lTXl5Ba150W8xKSN7rXiD7rlCeYXOb2xseFo6jCW3twyzEnFiM1TQ2NhMn1j2Zcsdm3tnQQXn5+Xz1ug3LH2D3MNubN5MFm2GVyx0XsPTjQ0cp4L1EYY+reD0XA5XhGuE6HyuEuK2yfYCCUbf5LVVBbgqk0EqcPlEm46lAW+VWWeDAe2/FA21RQ9dQ9uueaiotrZIOFVUG208etNNR28SDpHTkNy0xJxDu2FMlbzQwR8uqo1EaouiTfAC/wwWH1X1nlyC74jkLJWX0vvZBcf3rwkBZpTD6RNtRpvOy7cKp3oPCvl9mRFyWjT0fBeOiAac/2+4k9JfpFOcGvrkwFXvJgFc9WKQyGnEbpOlArfL1wA9DWiUOzIR8+jhF0lT9oUud0bf6xcI16yr+nYebW/3tHs8nvZ6QSJNWXgvmx6WcpVH9W7XBW+39W2cXjUCHirZ5GknHXNP031wKwNuZdMXYf9FuNelqNTHGTkbtF1SuQmOWJC4MoIBh1nDmyTcaGz9wG6UOhbQf1we/Wr8sVvG89t9vgVziGot/TPJJtai6p491ukWq9Uy3WoRfl7g80UvG3/LsXG89XKSsWBOtYf+mZ4keWt+juZZLLEHOYF4iEdWS/tg/5dwY5TZtdsGZpZ4cWpLiBEnsp7YcTZrcWBg68Wv/HhliT/Jptwvq2uLer7DuRYNRbV9mWHMhi3Flv4MOX2Osk5VF+Z7p+CkW2pbancbLRbjbsjwLszR+xPLop9ijoFHrpO7Xx4tt8KMcgSm0SXh1jPLMJwqGEriDpoCuLtUhkN8+28mvTJqQpPe95sf6akA/TDwlp+Yf4TCpgmj9NL9h6LXHPLpR00Y9fLkQz/SvwXeCpBSeOCfrLDpFVhvBlhvh2G9ZXIV8O2CMlU5cYUEbxWskzRRcEJqIWkqe0EZXw6DEyJelenCqQFPlk4QJKmkYVFo8bayNKLSZZb4N5P0y/6wSet/cN+XCxd98cSNbvdlH1yu8rrqx42r1+uDyxdMKF37yGw5a8zwKcPoXw9tPbbyrKh1WzPNtoKU5LNt721RYHhYVkN73Fw59N4uydBvSTba/C637A663HadNxB0B82BoN9mNJmDZtlk9nJVAZ+rQDLI6k+zg3ceu7N1Me1e3Hpn953BzE8/MQ+DkhkriIeVDDN/0ld1pqvrTJeQv3wm3IFHPs0Mwp3WxaRo4WwoCeTESmYvpMO78FnWrohcIE8FGAuzwpkyAIuo3IIo2NzK8s6oCvhZG6SGl0aNmttG39z2Iv1wN+0OCzljKlfPJXz5qkmTVk2Sy16ilP48t83fSJ/No9sjArmBNKyeOyp6YlJ1EJ7Ab5FCeQWsYx3uaFKlMstlsD4l2ash3kCGQ1/gcAetsEYDQbuG2NME4dSdRDf/0dALy+7+seAUvZ/efzTzFVL6+F30h/5SMofMOZqx8dD30r7Nba+2zH3tVtpGOg+QjL09HbEC0knbNn9272wOYWUE+qvspSzYzUW/3E1cvsosqfId7oCK9dtURQBS+eGP7ZdtbL+sh/0SJC3Et3EjfYc+Qd/ZuJF/cO2+tWv3wfr19GwjHiEfQRs+3JcJZ2Hc3p0798JxAh9aGz0QDoehPalcBPb2ClgXWoDeZpiDPFghJbBGglwt1wC7fcI59rtNZ9NDk7yxIw7Zg9BOJ9wbdA33VQnX8grog4P14XhRbY+DgVziUf73riy2wA6P4IDxrYgw+6IJJYcHP0E6EWzEQIjqEyjwRNg/mmJhT4XDgNM98TzciGWh34gPwtI+RiNYB1MJthiV4A7CxoBdAlsBKIZTMYqBdkNG2NfTE47/R/qh70ScfhDyW9b2PZFwG3EJB3N+FL4lwyjnIS7R2/VASzjY7AZ8gtNkdtkLVLLLYS+QA0HhVNRUFqm4RTglnOob3lILUCzMl7Zl+ooO05dnz6YvHy70Z7YJp0hx7yHVmlocizDrWvT3f771Wfn5PXuel5+9VcF58kh5LVCDOqRggEhDxGcD+g3RmSzdscNioS29B1UlB63Ton/ls3ZGT42RW3cAjUWn9g0Tjx+0kL6b+Myd0b92c0BXwj/ox1FYKXauFXbuMq4NitL5MuLIV6URPj3DSmDlhgisYVNGOo/L2AWlAUYzumTJXuAOOLyw8VyS0QAUpMlsAqQBNE+IIOBlT7gAUEqmPKLXkJDKDfd5DXHxfh/R4+vy0YXP/0Tfpy/Q9396fiHkSSUZTSp/er73dbKKTPxx584f6TP0JvoM5kg9fX+pIU1vvGq6Tb+KzH/vTmJe4ZttNmWLQlVDfj790ehSqw1ag2HLdPtSu8MA2elt5DkiCmqTRk6a82HPcbL5rf8Rir9es2nxYmGU8qmFQ5ogzhr00YmsIb1Fgl/Ne8tJEtn/yqoF8oTxluGFRWpx1ta6Ey0t/D+IWiXwQR9JlniB+INETY9Gc/nn5ayWliuHPfKHP9Htwk29pxaQa799hr4d3VVs5cTYml0BK0rmktmO5XAvEoDYgw6PuL5nm6q57wTQNezgW6MH5BVnzojrYU90DxwAE2eQTlmU04C2KIHafO4ywIsZQXeayoyQMBhw/rJImDm26vFxWe/d98D8Z/eurErP/uqR2+bNF548Vyn/0ZYLG1zpu8jwqX8p33rw3bNX/qGvtXX3uQpxeYn9tKQKKK8ULh37qAd620YAkLADOqghNkBm0QO9U4hH1dU7RdUVPRA9IOQjxJBX9E6JHhCPQwfbEABgSk5j3XwCnepCHFggWQa4Ai8DAf1wQEdi5armlqnX0W7kFFr41pa1eCAk6A5DKq7fOf452k08a1vIaSynbXCkADDoL4Mtw3AcflcD8FYHI53FWbh87Bd+zQkfEQWv3mYXvCR+wDbV8ECwFtWeOVNLno+EAUyHI2Ggh+InBPKnlXmtLTr7Ei+FimrD+NmBA+jaU32ZQgdto22M/lH6H0YYRJwBIMegq/mudEaJi7o07LJy4QvwL6omFda+Sz9/990bx03sa8+IdNzIstXSnojUUBLp/Qdck4J37fzqSF/HlY+xvFBb6E/gB7SMIxge76lBsseBK/SPi2M3X0j29t+rsqryYN9XWXnzF1Kab9w439l/wln8d882/rCC4O4nYpLRUlbTUqHgtqKJNT57liSp0qsbl7QtHulNllfEXvNhFWdfwu0g9DDER7vV2S1TVsyeM7KY4cUi/rBnzIwZY0ymlKLFk4dDiTG+ViIML+oZtTik/V7Ac1x+IN2VL6WLx4nLEwp5zr6DZ+ICarmT3kSav/mGHvxGagx5eheUNjWVqu72hCI9332j3MBvSPCN3f18kx32nxdwLgew08ob0niAnWW8L8RnxGgw1ZA0jmWlWCrkkDtJzZtX+nxXvklfp4vo60pebm9tbW/lsxOTqMSS3zHcIq8YufrhF7584eHVI+OZqL2VPZDwP7qFJW21+A7w2J3kNMOfyQo3Ff+T9iGORFwIUMgQzzHeV+HBlHfM+JbdjywYMGH+oNFutPvtfi/QE9I+2Fx97apmQNmAtMOiAfB6uMchdETYdSTCxo4DuuUo0FEDsBDq1MWhIWTcfkY2MYgoHz1TocA/4DJot6zGDXLmjLQP1sUpJBgYDmW0QxurX4T6M6H+zkRYm1i7c0jNuNMAJDXxh6HaziHVKpX+r3W6h9Qpq6G10SZZ/atVwjpNrFOpDU5Yg3i8LxNfg/HvVPY/koTienE9vqXh8QoA5Xq6kq7mCH8Y7h1XdSn3xONYimCVb43dM8TfEw1YCuTZzWQHu3dYPA4sM7sHJBqU4vPRA//xnqzQwXINjEEeoze9jOJk+Exni3GLSmq0GZFMqie47MWEPJsHnR3OygE70XP2JeKBhUo64dTXrhB8/GElJTganRG+Ff9LjT3bAB2GWltDYXbuQT5x8KlntdDR1x5GQVn8wHGE3i+QnOIjbBWaiZ0EzeI9W6N/3UqPbf1WfGRO1Exu3IR8+x+5P0pnpDMKFgN+Y4Am8vsyHIBjhFP3koJj7e3H6Of0Jfr5sfZuspTcFX1BOjNQ1H6MFNz7IVl6rHeFoKZXcEweEGG8nJbxTENpLR5IS1lDzBrCCJbCj6644iP6RyBX/og54Xe49mGLAU5DJBFRuPvER0ghe63Pi7cigx8fhEc12C8NEYkA3yJOoheJ3inqiVM4RbujB8jdl+BCaSN7ogdo9zfkA/rKLOqhnln0FfKBvCJ6YAKtii7FWvnbyHsTyHpaUkP3RKPffAMkUbiGS8BZ+C32JaAKWf3Ew7fScBvi/UvoAr71l9VhO7GcrT/cezZSRAhQRZkIkaCFKbCSYU7ZeCJvvIJLU/hCUzqjNHEhhog+xn8aDWYUFpiQOyQm8bWtR45stTmXAY59QXPwmtlXX/3C1Tn0iP2aDEHOf8pKmmAH/46ePqJe1vuVePzGu6J/6rhwdkfH7EAlPPRahmojPIJAkBwgB6RCqYjBUUXEGNSgfE//J/oIveU9soI+8imZRVa8S2/h175HVtKH2eV79BYy81P6MPe/rgcuP0TSy0h+Gkk3nWtBkJEk/eTWrSfpD3A+50LoXb71ZP8zwM+QzpgszQx7txTa7R2MHZnsJ99kFHRs4HTEHSKxMTSZZdh0/VxpURjxYQTwMvE43OWwZ8vdDlVzTKJXhPI94tn/zTf7cREy+qo72vRxxjgPbljPuIyPB9OMSFc5uSZu4uA21ZNEGg8hTD/tEZK8MM1AbeRhFqkOQEvsNaPU+FpJfX1Jz+mSepYRU0rqe75TNfceJKcZKiT5vNqSHxg2saivvbrFZSKECKkZNndtQfmEolyRfylcX9J3pdSo1FFf8ppSR31J73RVM40wvEq7kxxLLlo9bRjS6NCpvDyVtshVZjMjIRKtgNV6ZUk9MKyaBJrKzKgFN4OZyKNzQeDJ/Qk8ekaMIkDem/8v8ozORCISzhFGEojrew/++B9z4dqigbekRkYV1CJa+k+5xLka6AfnHCoBibcNpoZPyCuULn4UP3229xzNSuyKJCrfRXTVd2Igz3EKT47tOAr8v5HLHEzDIBKFdQALxYwfBfK5u+8EyhsA6BwGOhxl0ICESaeQj1lMGdHXxu5Fm4Dawbscp8jGFZ45Cb6UyeUi3wEL0V/AGe2a+EdFlqDohD/86q7bT9EfniaSNJ2mANLvEPIBkgIgpilAy58Sj193xzH6t8/o4/xXPdtoinAK6KJoE7AjgFV/5Xsa+CRnN1aZSKx3epYISK7VvkoaifQ0/eHU7bt6irA2rJUhhTB+jT5Opn1GzMfuIHJfO4JOVRecYRz62uNjqWJjeRTmNJnpSoCAJkYFjePZadOgAEu0Efko7Ybau5E/7T3JH6b384cRCdP7YczmqJojyKxGkF+NkM7o2nAPI1tifcK5QppJqT+G84F2hG7YdYJGgImC91gNVfgmzMop2oYUnvJBxAv4MWCMs1GSh3I7hs4Bx0S4Y3IStN/M9DGyEyC+24V/dh3MURWKKaQXJ0+m3wSDvvnzNnXswK6/88KhbdcLn79Al7ywpmPHzi2b5s/zB+Fbr5BX6EeTJ16/Tan7dahbHas7EIQ/L9ZZIEv4B0hFdKUTIzx96IV3kDLa0dE+f74vGKTfTBY+hw9MnEyKaYiGiCfonzd/05adOzrWvEBuZzwKDH9EXA9wOJ2tYIMk61CYoitDaXu+ScWES64Ccf3DV4erqq5+GGFt9ADbCOL66z8qiN7pCefmCmUFH10PMDaLbRC2N5Q9qu6XUNpwEyrQnYnzEY4CdUZs8d3piKV8q9ARB+4RzBBPUS2wAW197W0M3gnHFTbkMLYClhtLcP22JbAaMd4oMkQuaT83H8kkkaiSi6WDQUDPNhQtCvkoKoBksAgVt1dfu5AfVhjnNiWN0R1IFYnHGfdnRdUG+6YvEMQT8MghhmEM4rvXHHr3xr7MG9/t2iLdtKSyrOp3l+7/Rvg67fVrkV++5jVddu6Sm/QL1n+zv0IZW3It0CR/AIhuRokLl8+ZJTi5A6IPl1wafAppDC7fESwjKP4CDt3vC6YR2cS/wjeTv1x+Oc2NHqS5l18u/I+vUJdf2dTsD0ygNnKK3LV01A97Vv6dPv33lXt+GLVU/AM9duYMPUbKzpxRe5pSeF41zutvbo7e9s/DGx8tWnPPQ3//+0P3rCl6dONhBY8O0BF6xo02/lL264ZNJ7Lpt+u8RjwGZoNj/LApXzBbFV0QDtfgEQ/jFuwNqrLzPGH458nrPZnn8QityCvD8tw/MdgExEBTEHcsk+3G3oQnNwEFSrs3weN5+HqUj7HY/OHVmeF6JA7qw5lsXxADIdJh6Qjn4apxR2fIiqgx/ifDYErKBo/9SQ63Kz0YcKiEQLrblS9L6WZTvurIDa6lQpa6oDykqrdV2h1mk0oYUVFZ5fN5K20evjQ/M9NwJ719y733LiM5JMe+aNFi+vmixYsXkQKp7Aa64R7BJOXkl6hKbZVINZZWjBAEk9Flr7TVCQ1l+VbDNN9V95E37102YUI0ezGxLYZ/9M+LFyPMQwAs7Uvgb/sxlBBPO5B7ix6IKImqGcEHHoq4j7FZsI+A14F1vH4wn6xwTl4dIgKg1uz9ksPTwqme7yIAg5EV7lZqgU0NIDkcrxQP0olbBRC61K9X1QJczmP4vESBGAr75gUSusok2spgTIgtvnUTuTZVFwKJnu8QWOh2HdxFryKe9BnzZ9C5SAj2tSMJCNgU/wOdURQG6nHmpZfOLBk2jD4cIyIHM2jq/nWMfU6PydtsQBlySEVAs5BHVpTOZj9sYidDVAOHrEaREYoV+9qJBxVVJ1DuhzglfuBN6Dc8Z0ByoLsdFV+RyNoWFDcCxYPCRy5Om7N5lBS8hUwgMvuGAQLdIZzaRYQXL4Z5O3zxizRKv6TRFy+++EUiCKeUkl0w5k274qUAjuBpjtkSDPQzWeldfFxlNWsH/sdmItmKs8hoH+DdPeJxqRFwaS6OCjSnKqjgPD9S6m6XTdABiEPgY5e9VUaDLJUA10tef3/deq9v9YxFa1bT6IZtK33eOUt23/tHb9XyA8BOfxde8PTmCc05Gu3uyx6bNDkaJbZ82/gpo/903wUlCOkIeQfWtAq+i7yOnXhlW9BL7EGb+PqH9FR3KDo79BHJ/DDEPyCu72uHRdiB66uT7YNG1kM94zjsqE91oWTAgBol/tfyYYZOwgjiD58zKxoUkRaQTkMzTD4H385mc4dyWx/AksXccia3ks2AyGWgbIw2wW/3Bxle96Og3K4gdjPieTaAeKklRvYoDCzcV+4ZmcI8/gywmy630eTtnwZ4xox9aB11VWFZSgZPcrHBGx/zVqcZNUnpaXV2i0mXZcwpzTQaM80pqZKckly+gOzCp65yOhsmBQtz9AZjjaciL8+baTYYi3OsWTlVTVOKS7KzKguzzFcpA0A6F3udSRnF9F+RcPTx0aoKnz7bbM61wSEJKSnmgD45KTklU6tN16VWhmteDdNPyrKyC+syRLksL3NESoolX6tVy6njTTZbbWFmpsRrcnObwgCDHaRT+hTmzcAoiAElAs//UrHQXyY8W19yS8j45PU3LHvxlrE606s3Xjl9muAcKLwZCl/BQn7/JRP9trTLScaoV7173qbRbQc/njD+qksmBvKHFnK/Ak+HaE1wtzNBcYeSiscVKVv8+G/qgIV7QtWs6F4w/f9Sh7QPSJIOxJOxdGgd4i/q0CsQncQknraYPBGJXyR7UQMARzfqDHDKkXtRNKUIyRmRHZfHpXNWzsXVcKOAh27l5qA0BDBm0KWsa0aaBP2SsmCBKgkQr2AXvEGvXjdo7WLGLvv7l7dohx0CFYnxkhLCxFRShcOe7bJPumDmiOEFBds7WsfmF7sc55WWV1T2PbHkxLITi2u+PvbJwupqa+7wqtzc6sCmKTOaLHmW3Ho67YmAWaNVa8jWBY0F+fl5oSU0DS27wsiqSYeT1bqpbqdzTNNFt+7Nnp6kUQ8LtC2tq4sylcl+8nT0QJmnpc5uT1Fp7E7vJIfjzH59RkmZwbBoz/BSX3bWdrO5zJuZGX0BWKz8MHJgSB/F7GBENupGRhvKeqesKyI6t6hnVkVmp2AuIkFBDOr41k1f0Os2AYLr3ESv+6LvDb619+Amsu6LTbRN1bXpC7Juk7QP72zCWcDrvrNMvMteiz3IAQaL08KJODynH9vGZacNsVXAaGGUrQ8+zn3P5hfYelGuUeos7UMZaoScTvjfOaQYGN+UMC5xvEBNHGDHFIUDjvT/A4YVFjBiNcDMrf2l3UqKdNpp5F+AxjZx2YgRkDpgPIbOYBWqQoJfx7ZUZPvSZbdGsoYvuCdy34IR2bA7j0d/v+uuPdv5+uiz9es2zq4ZdsHl6+qjKGBQ9c9R//7SQycT/xg+HHTsi8SbhG0ip8W/MXyThFIkxFN6m9umF0uO0AWwAQ8vJ/eX0JdvBU4YRUGeO8nJAbsOmCMRcIUdbX40TFsZ194oFnFmKAom2MQRwZ6M+r4cAv9VHxEJeGv1q4wREzpqi+4M9E4J3hWnnXHkwuGjL0VQMRJGHUY4jNubMXS9RrSKavj7P0IxyyhhHBNEpACbnYKpogNNbKcWcH9pQjtjIjrnL6R5aCUkMF2NVze4kfw1dw1Q6XcFgSbqOwFLYKBtNcV4p7gYG1VcU1OsNPLv0auZKuN03C5P6oI14GY2ChZikIlUUM676okvSBCNoilkOUEYRJitaZV466r6+ujSuifqLoYMf1vdrJn1lOe3WCwfWUqKLdHNmJkhiRfXzeqeVRddWl+/imXr+d319b0ReHC69SMLPGedDg/iuOgYndHIdFO/vr9GxuxhGIjVMVAb300oLZZjeXFI+p/uSY1IZiNsRqqsLzMsnAqH0ToHUiC6+8/nKpPV4XCPIxxGrX6YGbucZplI/+lcZWgfy/DHKoaZFYCcxibZhqAbGCAbcEA6A8Br7ChwoQzUC6eOLAyPsq2cAnt9100jxj+4HwjVLx58cFzoFnoT3zp9lXVkeIF4cMWKd1+6NrTAG4ksvOaOQyT5rrvu3kPPPHv7lmWRSDAcuua37y1fgTR6OAGHodQIYYCVK1DwoYhaMLsfzW2dCajRHkthTbchegxHkBaPCKf62hHIMGUNoLp82i01hsOKPu9+en8c7CgbiPEtaqb1WPFr30cbOOLF79sTv+/tN7AAPIPgjtkhRVDHjswHgjsoxi2ASDvMvvUrDUA6vB+Pa2GN1TNLGoe9QCUBU2BSeascxI7jHozj0wLZnUBUAjYWYqIIVlIg7TtMjxzp5xJ2HSEj6Og9maYR9QZDbq63ta3x6pvWjx1jyZkeTNfenOPzlufm5OTMFYpJOxn54gDj8SJZWVJd7K4qyc12OI36YVeOr6mZN6K0tL7QbLLTt7PLq6qysyvKs3JiMgP+oPRH0cw1cZO487jZQCPDmoI2GxWi1h5D93672e62y/ag3Q/kgtkbow20xKsIxarMssutkBmw6IBJJ7LXjUvPLTmN3vgQQDVG0W03KsSGVFZYYCsc3Xr16FrNnIzgsAUf75i9uPYvNUtmz7569rILn35qdSiYo75KbXaEGmfNbkZKwzGtwq4hTvqJxl7aezJjsZFPVqXwaeTpde6sXKt1JL3ocf63wktL6vLzBFmWU6dnTx7Zll8+pay0p+ehh3rCZ8/2FDkm+uyaUMUYu9M1NTUludYzMjyxuJqMC9SLBSlFSbW1DwhafXmxPoOeIYTwB8yZVWU4VgpfqugpcgG6FHABbhhXx/A2WoFLsruBV4zABbdiA857UbXmJEGzHLP9NmsV0++gqAHUpNcQkRmBlzZ8+HDcBrx53/C8MrQB72lF2XGEGaczK6ATjeOvV0zAb/h21O1oAN4gnEVxARKWKCQX8qV/MIvwsrzh++IG4c0Pf9TguWMzwinFnojRj9E3Rn17g2IMfv34xjvYo5OVOmADdMJHY30mnQwfpwK9hNqZMuh1iBuNUDSg8/EuRz4seGN6XOavGiJR1MRshfsL4mm/Cme96kTXgNKK/zdDTPRRBYleoFxNIFPR9mMMu1J9qxQqagnS+SeS9UBcKfYA/avwISvfoSgM2H+aTt6IHkAR04yPE4tPxkWmcdsGBk90yInbgdYKAaceCOrSSBmPZJNnWvcnJ+iqad/9+ed3IuLxHgcKVnKJxcLn9J2wqwvy1ApM6GT8boynJ8xEQjkUu674ITVGmEQsEvs+3yrtYzp6EXG6DpYGlkWQ3hW+JjeziUNVPzzbSQjDdUjro76QR8WcVQSAHwiGxCDKAHhVvikdjYNUN8DAfnff9ktUbkOhxZl+jcVyTbrTUmhwqy7Zfl/0RZL71lv0L2/J6vvodw/sPDtfsGU4LcXGJ+bNe8JYbHFm2IT5Z3c+QAwX4VNvkdx+uYX0EZcC3CFaX+oT9INx5RVx6kSnqHOKetGwpm7cTUdvGlcXZLw7GUHG0szoHmZa8ujj/BN8i23N6CU33bRk9BobuZRx8HT9NX3tb7+NMoQdUdcAf4P4HWE9yoNKYCUiN8+0CEyCDC2w+VxYRCC1o4WBXefop4yIv6BMhHudESB0Ir1T0LyLdK7p+zEs5EM6DW1Aw8Kt+9egPrNz4cPrV61a//DCmLa5m3aj4kTVtbZl2hrYIUiSeaatWRudidkwvg13or0Rm7+x0W+jKXEZOKypZKYtQ5sxF7OQsBvtSIz5mZ1YXBYCFJoO9RVoToI9OA2Uc6RnWyQiGnqnCB8x66dw78EwtqYvkz8MWWlf78FIRFG8AO4knczAKloF/UFcBnRJCssqcmvcx43MJi8fVk1MLMzoWFhuRB4iKBbya4toSlFtvZucLuJvZnxNbVHfCebakV9UKz6Dov/iGsTgMDBoloG3ogfgzGwMyGl5BfAGMe52cOXAahEcSfTbUXx2FPHkYcU6j+1V0kxDMO4hlMHFcL2WefIMqcsJbV+xtqXnO3xTNLSs7T2ItseKxW9fJpwPIchT9EQR6SNYQ05mJaDApaBTsse8WZwuZq+CXIxbNBlkMSA+wgSDGjr+vA7ItW+5gBzSoEARcnS8RkMOnSfks+sC+8kFkFlw0l7AXoFMExQpMsQ3uDfZ2s1jvgSo57ER5VuAXM34aRIjBYJGk6AjJkX6HnRjS4is9hb15JD9RtgZYmfpCCCxF9W2hrJyxaId9DdYSh4orMjMoS9J9144QdfzBX+f040Kdp2hoUrDX+UZH2pN0iTrekaozo8+o9ySx1qSqKDo5hTeFGEJwnbOmbibkWoHvBYYKIgD+qEAX1aT0gCsvwYvXeBrDIXNH6Wt2b/GX0o/kswMzPbeoLAcHYoyWfVOzgUBnKLaeZnRVa6m6jsKnNPWrJkWOD8n+r14nAHo6BUs+VGxWcM1rIF18AbTm+OEmtJIghZAoapitBWQITpbINj/F9cdxNGO6EInuP6/YMKj/kAQ3kUdQ/wv/gVppt28ZIPdWODIcxYWF59/YUlRodNmKzBl6khKMvWSJI1QXOmtaxg+ZvRtt40eM7yhzltJDzG/pmgxvHt5gfKuo2LWRRUOfDcvK1sL75J36U+8HHu5ceJtt01sZC+L230bRpt9eY4CY1a6XjboNRnpWSZbgc1RyPPWYuJJV4UqvYUlOdbU/PxUa05Jobcyeog5XT3iu3x0ZuzN9CS9Pikd38xzFNnxTdrNp8VezUnPz0/PYa+yvabg+xTUMwBgSFPJGYAPCTC+qLZQyTbgDlNmXnPnldeFTGQ+aUJTv0iPQ3iS/uMhekzVBQChhE9zNawYT1JJhZFUAYy6N3pU1VxxO+7BZUQnL5KOoGMiUEyw0pOIpLLnO03efKYwA9KwjNTD3KAWNGhSmWM7IxCU5IC8aMIKMrPrNH3kVXqURisKuZ8j6150uK3llVc8NGXmhNaq68l1XyR9fPu9KzYvL1m3XMpom6TNv5l+Qv95tP1B8W5+58VyavZbHaoSwXvfnPD0h99OLnXf9vFl2Q0do5OZ3pBcH9OH5KGUGoGMbMgwVzFIw+COXxfLAY49+MRG8u0XfJLAa2a2t8+MnrDyIZZ5RVZvnNV3mSR8QH+WSPsTG92kfOMT7e/NUmwXFPz5PfAtOYgRnDZfEuE8xK6rSiHZRLT5eM4BFyqzKUPsx14msZv4Vr8PfbmPzvvkGLmehL6/OnqC+A7Qr+mGj3aT9OXLLon+rXXTpq5N7ZGPyO3kPGJ/5xJ67Kpv6Rt04/t/IFcR84P0WNuSJfSfN10+a+bGjTNnXR7Tnyu41ZFoKavzAq3PXL9czNIaqPZ+3wqbuMvp9TrpkqN531eNvnLE+p0Pf/BBlHf6AAx4nT1tDh+/4sc7a2v/qHno9qd/jN7ic4idTq9ie8dFxNvgWwbst86rt7Fv6GLf0HmFScT5P056srbltovaH3rjp58i/Kck99CoUdzPyb9/5hj9C44f4BZFRqRhnhGKvBR2PNevx6bd4vG+9ghNEdTMqQkZur5MRJXtCsQ+w0lEA3P9uvQsYMRc4KWrubFcK65Kq+CtCvFMGyCJkpVUhYgb9V+Y98YvBH2APWDWM48jAhlEJG7BhatVclaZZAEtst36AICOgGCXRUfF+KKq1gpzavolI5vaaEtqwXmXnleQmjb30rnCErioHqZcXTRukzN06Nr3Xxm2WbepecKm6JPLh7f5Rw5fql1esa+ryJUsVHY9WLlcu3T4SP/FI1emal1SRuEFsyeUj122vmLsBRfcH9y2aNG2YP2kSfX9ud5m8sTmp+d/+hxt8Tc1CRU3d9Nr8oaVkZV7npOSdc/toTeXDcsjGz6+KUMrsTUxkTskr5OWM1tzM0EPMw2KdQjzW3Q6zFaNWfpmB31w5/TAPOqN/tMyzbreYlGN+yvtInt+yqpye3N9+mByjSC27qSP7my5alF0JS22WDaga/CJG4VNFyXlmEtM1fqRqRMEgDu3k2rpFukxrpirYRr7NAHAckgVRCLcbCU8wmNVGc5KSNYzeB2H+WaTMMvAZzpyky0uc/P4C5qnZLkvWDA7z5ZeetGTl6yh0Z8+6/JajOmeMbMWr7rs4iescy9omSuQlOz5F06fI/PSXtlaVBH0V5t1mVUTx4xMM6WnTxo59jiN9p0aM74xc/Zjq0fsvnH3tVeEW4pTo4ubUlLGzlxYkDc83zJtzsR0RUdIdjHaCiURHInJlvQ2NBSxkU6FqQJGDo0p0eARCLveyW+ivIimIBWpyO9JCasjFeCujSsHznIks4MbxGURhWaAJS7250jA0UDSCK84tA6UO8+RG8psHVZYIZqipOQ1Jxnd2Wmd/VtnQ1dDiJqUYr51cEpKPiOZ95MixnJ9fD89JbQxKWFNzd5YSj9yPjlqVOPL9C5nQ0Poqfmx4uIhqSLPVGw3M5ifLuqevcykHF0qq5A2shIjSm58KHdFwqSEAAFEAFhAmbQvfPal8NaT25ZedNHSbSe39k6JLOLbu4RTXe38ItodBkK/9yBserhVXAyPRSL7tnXRw5H2rm37ImT/+R2RSAcnkgA3RbpT1jH7Sye0oZL5i+cB294AK7+cyG6ZFCh4CMfRXRAnFEXZrQ96iTkouO3kSCDw5saTJze+GQhE2k9+vYkseOibb/c/+M03D7U/+eSZp7qIcOXR6Pae3rc3fdi7vUd85+TX7fDom+1fn2x/MxiIRJO+eQgefnD/t+EnNzEactWJ8ujzx3njF97ob49zsLYS9cVJcK0DKBqXdLoAgnnQN1QfsyEXgyxxuoE+NrtlZjRWBCWick8IukWzTktsEUX0BgyFdTftRiccyJDTu3f37CaeSLRJamSysUyaotqMbpu7d5M57J5iLo9Hz25FRg1pN/Hs3l21GxkUvMMEmLt307bd8I94enYrcrOYH1Tc/tQ4xDsDJz/fSkSjjeE+4k+gSI3i8X7CvkWxa402Mc6HZAZGQDIiAPsrkbXA2WdzDwW9j3+SuaAO6cy6BZmfMF4acMBw5tuHe5fxkV4djBEwYjpxw+CNCkOhCGJaI7iPcT9ziXVISh3KuzFVPkozUSmB4peI6qk38SUFDETigEHBwUzv0ci825mBiBkagi7tZ1/iD8M0hEVDX6ZoiCA3N2DjhXaYtdwkJntUgATKHvMdAeJwBzhnGm8yS2UqhJHwZ1XJvBgoE90hgVhVaYKWlKkAhK7YFfd+27Ur7v3WN5JufWQ8uYFwtrKMYp+9qdLvqjC0llU9HRo779pJxSlEom18TmX9iNrK5CSda4SwJa/cmi6rRK1aLRtDtdWlSW6hktW1a1D9Pe4jP5Dq5ODOPXd4RZOr2CrqRk1trTak6sp940ZV0Y8em7l1ekORrdBc7B1bR96qWDDzwtFTvSNyMjO959VVNxZcN9i/xxanWgb80mNmy0reXlBGYDlpeL6Q/yuzNumXAJVsPLphw1HhbeZ2poYCxZk9wT29iJ++4ehPRzf0TkGJGPvuKu5tWZRFgBNVDE9lIP3qQFFnkCGqkFAGeF82E8EcIg4VY+z89hxCnEGXOOPG9y403XKGnqBHbrz+9ap9Bfesvvin47+9NGPs3Z9DOuww1bmfHn+W2MhwetyiIvPmkXIa4lOlrvFn6J/p7+jn7842jR/zlx2L179WN0w3Zi+8deRSSC+eR9/hR18A1Zv7DliKVSkC+YLm0Ze7eRlgrAbW1stAL6GvRh03HscLCZcMQK5eG4pt4VIWbSFVLbDFZgIbsSoQ1AcYkctuanl8AlAMUR5CO+tOesRaotrzvEM9zMarRsv6WvpsbqlMXoeFIekNOakfGqu00fsqJ0rOwqD6gFiYQ3/rzqHbzJ6kpDF0TFah6p5UnepDOp7XZGc5tF8bCoxaQTxe7uzL4k885Sg4ah5VYN2mSivINlVl9W6Z4HELzXbXzVqXRZu2M8ccnd9wobCc3TZaLMlcoo+8CrgX3EUaEneAVzUjCIs2qV5hchQEXQiiYhIT5tsTs7vNACpwBnch2qzCnuJgT3G80YCOsd4qB+c8pyOs6j+5wYohwcfcYOUM4uJ0viBMB3s/Qz56Dz1Nd9JldAc9vZf5wj7wNrmUpPR+Qh9dk5luyrzxQqdxA7nhr4+R4OU1yzXqzCS7KjjabqcfZBbBFTzROcd9mdudaUrPvHCzkJaSbJI1S//x1r97X/mSfj+WTCH/IPw1129YkfuwYCG7se572DfffoA5v+4lKU7hZrVQ7SfJ5IU/Xt6mmdGS4c4uT6+R5u4e0XPhhcIoolap+FAtSZEEgdSFiJo+WpZvvWDypqaXT/0Pvegy/tZo80pyiEivPdC3mNwbHV1qm0b+rthgxv2mZ5zLxwD1Mf9VGRqh+Qd5eTLbG8zJauaLQBn9gc6iv3qFzpzsmnSya5T9AflTTD8qrq0tJsXFGIjk168Aiyg5pRTwi7JmwkwuZeaygW6dzM1SvFJlwSZ4UYaQ6LVg14tDjV/90C2kbQBuAKeAEUhg2wE34QrxDUBvuEMkKLvcXlhYLlXzbWWzss+nX3z/8HiSgx6qCm6jDW+FyauYi2E8wU1fvYy+eqVmhL/x2nxRTCah51qmHW4gKkkSeNv24d7hmv9pzvoge7xKEA3uPJIWbYqg16tSBzDvzpcTkSdNWfHJJytGbK/OdmRnjzUNr6oanuZ22ZKTndnV24e/PHpj+yiBR3x0I9cpN8iNcXsWDTFJMhH1XDBgQl8m3k3ECJlURJx9rmjLLuHhCvsW+kl0ynX8I1TLd3VEJ8sG+pRnvavPsYvvEh6rdKro5ujE6/jn+3bwz8Bt/MZT3Co5T4wAlrWg7pNj8jPkHLVE0TAkXnL5nN7NTHPlDH7p/jW5Y8OemUZjLv/uQJ5ew5eR18/vaKZXUw+9urnjfDGyZpqvwpAkihU+JBP68705pImoyz6nP5D0z8voGaRj0NbguHi8X9afaEl0HK39lQOw9oD1j8JvKzSvXqF248sEchLKNKXGSM93KG5EoS7DSM1ovdHVrupq7+rZhiqLAZ8nHYwF0zIMrkUfR4Im4E1ZYBysEFOo8MeYP50nklAnWvCj41zvQTgn6ERg/1o4L+I6ldeQRNJ4IBtk3g8cclAP2MAPNITOZhXyiHAqpfTmO0+2TWy/9dZ2t0uTN/fCzStXTaps++qBq20F5DSD1YZRv7nt1lyaktu+7criYlmtzhnlLzlBL6V/P3nDXL1epQ1N6LjtT/8iI55CD5q+06qMSYteaFNpS0sbcqNNSlUx3etpad+5xx7tpvo1LUPGPqFP5+rRf+zD/9ZaVv9Zclb8WPwY26Th+x3CxI/pXjJ/B91L79lJ5rETmS+Oh+u9O+LX83bSe8g8hRdUZPUCUMeVAD1RLzsvFisgJqRsAFbQz1jgmMki/OUlSjSrGJ3vZjct/ebTqHjF6F6otlWcJOxiTF/PdPZqNKnpfV6flpaUqhJFicjJKQV2ryUnW6tLSuIJz/MqQF/JqSlavb5C+ImmRE9eX+/351oM2ZYid8GIoK9qWEVVIDfdwaeq8/J9/hpha9yABb03VV20Njk1PSM7OdWYyUuktLQEsHdKhiEzMyfDqUlOswoZeiAG1RoXqhymtebbfL7gJlEtJcmyLEmiJkkWklT8pqDPb7O9z2wiIiwUClDOA/wRjps/Nm4LuaVM1vR/GLu4DcP/ZfzIoDHss/y3Y1imDA99YtA4VnuHjiN/JB4ZAI2XgdMFbuTj/24oicQG6Tf/eTCXs4fQ8kcZ0IH9X8RNh9XndsUl5F7mUoMa7/4/ZiwQ+yPMCCguQI/fwTBJytCZZZ05qHMHoRb+UwHoCpPJaqvy1S9uGmUypQokSU5NNWZYsord5WVFxVlZmaaUNFkj3Fplkeusq4IzVrUtXHjJ+Ss8bSUNOWXDZ5Q/PfmhkYvmNz34wdS54np90F9dUeVwG821ddNnzNYnuWyOApjobJNeb7TkuhxOd64tet+Mq86qNLwOKCptSkqKWq/OTtInn906dbXfkv3QNbR7xQriueYhXz0bh0PAr+YArLUhHOTyVRlGAwKNNAL9jHko+lzuMpXfl6GHFYDkCR4AkYFsESaTKiLcVlxbZzRm2RWCxJ6lzhnt9+xu41vzS7KC5ZEyX1ZJvrziNkrv8HWsDlustmVFSsSsomW2ZPfqZdf67iB8T3jWLH9dWcBfXpfAM+7j1MxjizkNE1mNzEpYYb7bVM3MNOAwsJCKDzmzHV/PbCAV+CSuZzZG+Lx4HNlc9jQ3CFZC/U67DkGZTAbVGEFxPzPfj/nLkX49Nqsf3kioVAkJFI65YQ9uP4wbwkk3GVSl0MGsH5qARonVP7j98EZCpYiPyWn2+C/aD3gWPaqDZFCVgwfrl+2HNxIqTRiqBDk+850wn9NzN6Zr0qMY4Byeu3x5zLHynF679HV2U/EGifk8YsyEAX+BfovQWMSA+IF+9Mx/u/+MsQUSYv+gZ9B44HEuUaJVEGh0Ggb+KcMQQCESkyOkkHwHl5GehNeD+iUWyOggJDOpjKgEQYIckZEK8PrKgF10pyHvYwsAcfBrUXf4W+lmeu/Pu3dzP5O5ZAuZy0H+52gVOZ/U/mXr1r/Q39P99PeY4/dMG7v2ruCCLY/SOzY8+ug/H3uUlHtHzC+38MKVJmel31/pTP6su7tp1RiAlwKC1+lJuTXNk0cafzXakHf3z/TeX3y/KvGrpJa1xFma+9Km8CzTPUs2PBp+7J+PPrrh8kdpcq3+vAWz86zNm6aPcGSpBdLywQcqV+2EqVPHBnXpi/YtnFBgIDG79dgaNMO4l7PoezYlop6LKT4Yzcqi6on9Xnq+gP4X+RKmFGYwBSWhUC6OjjahKvceTWsoHGrV3AMXfSkJwosdCeHDflS08ytjz66EC+Y9YTFiFUYLulTEZMHdCWn8NrOSQVntu/JieSZw19lcGdo9ca6CWIDLIAmYEy98eoKqGIxSxUIdorhUJj6MlpeG5irQ84CqsbXdE33L4ynbWMIHPN97NpX0X5U0kPs9rZtK6JynPO2tHrgN595HCiordTqtZ8LEYfmhsRJtxdfbPR6C76/2wFXJJo+HL4b3N0W30zn4Ern/KajIw/s9+LXu0tXh1uzsvAV/DJy/6jzYF3uBjq6SvuSmcOdz87lLuau4HdwdqFs2oLbDkCbJZaJf6QTzHUQpDzBmis1APCpiLFUmSnkA5xVyJB7+zhSPFkYko5Vg94NAP8CEij4mgJElxZxBjCsa4drsxTw8A3np09aus60F+uxyV729TpM80TehrKCg9WxX66IV29QZHYv8Nzt1yLVheDU4MKtz3FG5qCNDva1iiaXvFlcIZ5ZsVqb3kJ7P1Yf1ubxeqw1riUavTafd6Vq9xUg8Rgu9H88WI+2G84YwZvEkvI0f9I24bFpzaaXJLqkrHFPPv7nVh00b2fDcV+X+q79uya2R1u5bW4XvVClnuJTqs1q+vtpf/tVzucMzyGV1hUUM8ilqfqrL1ufk6I2m5B4zoGMdcCdfKyxKLORbzAYE+Z1abiST06JYwBjw6mIRKS2K7K+eSPZ4GMtYWuA2xiSBiqYxLhIS8iPPXXbBSgwD1YJr31sZa1ClFwO2dbVH+PJYfB3AFaufnzmTdqMJDqGpuJU+zWAOshHlnPGpIlsIt3chJlIMFpgPUlzWncQZAQJUcrOY5YKv31HUOZBlli0xwxa0a0m8Qu/SWD8KoPX2WG/Zq2YrXxVCwRTHEiEINxFW+3VWdMwROsKFdTjg0DwlQ9tQ/YIH6RzIHbkXoIC6IL1ADem9R+7el39HR3vHHfkP7I2Km6+7zdm0cGyx5UX6W9pBf/uic8SmWfY7pH0Xrii8zONsqCuMZ6JHyRy0GqL3M9uhgXz9yuf8PyE4ISWE0A8x95P/uZWrnvQlNbpcw5O8T9LJ7lCSvnKEv5R2r3xu+fLnVhJPzbiJWUkhTs18DY4zX2kbjOJwbhQ3jpvITcWxZEBFxQLLOBMvFJt9ZQhxwzmHXJOgUXbCIcZSYbnD68vIkDPrylwzn57Jtw66jL4M88wmuwg1Yf15dHVD94joASUVd7mXzZ2RlZ1UMO+8Fe75EybMH3Ld+zPaTyXaUsXy/FUYMYlZeSsp8rmvAP5Ik42cgcvlClGuksYXlAGdBIfehIBGD4gX+RK3JABMcTOds2xSjSevVRw+dvTY4QryyrDPd//0xnzvmkW/eYkGZo+Z9saehdtm39wzcf7Enptnnddwu1jc99bc7Y2N2+cKVbOXqYhjx5Epi6z0yzKa8XD6RYemRT8Lz+yaudC4emrc3z4i3QNzwaQCwAVg/GM7kYAERhbLLGFwaUnW69D+N0RYyFQi6/RMohVwByTNeRPzG2vfnEnPLKX/nvFBfWP+pPOaJvAawz3LrTVvLnpGbxjbdbprrEH/zKL3Gxwr7zdo+HHiRWUHXjl/2mI1TSX/Slky6/xXDpQWCKHaq34KzXTTq/lA7qmOjr9s3/6Xjo5TudHfkStt8+rPbqlt4BPiq6RiPAWORQsBkikkAIEq652COxZt55YDX739jD9w9iXDmHcPC2foDWRNyZeZfTeXvWEja+iBQn4dv0NWL775Zq8PtYqGpsc6eh4jDpLp3EKe9NGai/LoKfpVCbmdzuOGxNnR/jLOzn+KsfOfgutg7C6hQ2pUNTOKEO1KO1kQveYI4ugu7lNmx1rG1XCjuQti3u9pPOpB/D4HgBIvYjHJhRJVVLLaZLsp5kMAu8ZtCjCzbZxDMSGqF8Nj7jIJcBWKvE3C3a2j61Y+umTzsSuI6rk0X0q9WZ0r3fbyxb9ZQF5b2DnNUHKl3zb5rdZFWm1nK55vVE1h4b/67n9sj6hKNWe4jL6U6uqrX39UaAp1LAitnh1s2Dj5yt+T+uElJUR4Zfuse+aFZ1kapl67oLjKmTvjDWHv6kvvF/g7L129f7gSRyxac8VyU1Z6Tq7ekuZQZ/A75oZ3sHGfQsbKV0rbOB2zt6xSZZgxQqwSK9YdcOgLyni3nZgyzHYlWqxZUgl9j5PSVzKPorn/qYIf7172QujR+UR36ZbvD23MAJBW+7ea/mL6g7RtL/3HATR9vPW1uS2vtm3ueWn2vZ9tJp0j6U8jY0Wwd6uIV9or3XcumagQk4muJNoCYu37c7T7Mv6M27L0++gHF/PFdCVftjz6gbSJ/mCfn9f3+WV8Gd9baBXoG9H3L+b9UR9fsSJ6VLEtBC5mBfPJVeLcAXBjVko+DWGWKrC2XcCFm8zkarH08OGePxwWWvj7jSkG45is6OvRN7LGGA0pRqnxmb5DzzwjjH+mbx9fpBtms8oGuplsARrGNkyX+B0tiz881FgUoQB0j0ECjMcM/D7wZgo40JCAvKI11HMtgnxxQ6j1aq2YmkSXka3ZBo1LQyd89CGdABlDNtlKlyWlitrCIN/GXxLkXUIHvtPXDmfhXa09M4lup8usxmReTda8+iq9Qc0nAzG1m1yWlGnXFpZTNTlTzvb7Slkjz4G22pS2yogooa1BGBPYg2U8IMs8InKQmE2yZm1L72QU9qqemrZmV3RfdLGcoknW2FKS+bXkq9wUR5ZNuFRYcN5UG7Xbnji/b+/5U2zkM9vjQlPfBeQdUWvRpiejr/flDm1yqhl99vv5QhOzmfcwucFQDa1ekp0hQkSXW28lcStg0WkyC2VEFAJBEYDmOeN6jb91Xim9wX9Epac3lM67deMRqmJarb5nyRp2LSyAJ8ga/5FzcZ2qSfG33og9FT3AtGCvxqr9V6yWoTxuDuKfX0ancsAl9AsuCEaHIsnEawAIcc5QVdgBw3330e+YTfp9pC1Nw5NX6Afz5hHVuUNXyfcRQ+JLpC1J5LtJA6o3STpfzGTBcdoAd5npl9EeWZQRG0Fz/QFc+3X0AHMBGhzfondKLORmimKnoPBu/7neQQHNVWv6Mpkt89BIJQqIZvX2j6llQHut1IvaLyXuAurCBn8lFlGDpiDNkQmkB1pn14r1vVOYMzx+j4VtUUIsRJQA/IpjFcY+6Le1AdwQ95Y6V9xkDKtvZvF+FMTCyGOawkyyVXsR74VR/oghHgEL7Rv62wsxwoX0y7DVMYsetIWSGiO9B/FZxF997bQbteqxmHTx58W45FwFAAQ9n1E+cwDFPswEPRbzsI05vPCtaHnO/GMwXmF/LIsyxmWj8BGd4IDW0zGXGwyyFQyg31L/ddzrWTweNbUvWVpXX1+3dPGmEkvelDwrnixWPC0stFqtebK6LrR48ZnFS+rqo48VYoD9IlUXsCeWvEKYeiumosGaWwzZQTCggLuIW8lt4Laec/cEMuJwwcgai8r1dETXSCwp6CnAjLD1AbR2SyOmYMDKrOGMTNclZwTZjYCDeANWwm6gYxnHwsGiOtpbJSbkTcJo0hS33aKH6cdst1XBn/HNdevepN/S9+i3b667vCiwhDx+Xc/B5csP9lz33oFJN/kN6y/Y8lm25dJNpYvcS/jk1OpHM1J1GYCAVVIywPhhV5UtdIcFITm1+Lo5REMXS9k5aUJqMllYy7vK1k0PNukKtCvrWvhy03q8sGtX1LUE2a4faEcRa1vPJeveJMaBJt3x5xfrq5eK2dAU+g9o0iWq5vqa6V3tVzxWnEf+nKZVaXW8NZcQlc5cFigRyL9mQ/m7GanpqmTtyo30Y6I2F4+s4Amt3HLT+/Tmo9taJjzUOPObJUq6hcUrGup3rMRZiQUttg1JUcaPgEJqpCyEIazmExhUBF2RFd/8gTNwfmGGO/ed0/+7Py5MPNUP+V7czxsjH6LdAu5FWd17MNx3QlbDJmrDIGIYXT2CbpXSvv4wJyn9kYSVtnSHY/9icYw8DJ/HZYnwBX0slil6kYeVqCPYNXwVjSXwRTXQtLPld+XXuSyuiOlYhnH1jBtD398QwZXJfk2GoOxHEfyYZRJkqoMy/IUZSaWY6AZEGX/DYfCh2r+96ubl65rNWq203WLpW2qdZun7yWIRbrdMm1VDvq/J1AhSsqpi4bjS8uWkuKZmek1N9IMx/KbRfT+N5tvH9P3E8v8eE8+PkR/eLmm15uZ1y2+u2m6B2pZAbUmWaVbhNgutobqaCcvLS8ctrFAlS4KmEOubXjN8dPTqMeT7MdGO0eT7/jw7Xz1GsfeC4QG6PoVxQP2aVmTaDZxs9A4I79B6mosbDuIDSl7VtWb/mrUt0y+Dafrq4wiaRDLHmaLIR/RL5Ma/fXD/N5hiVKBpa9ZNRfC7bupn9GnHB4p47gMHmfQZvoHRFZnLDbRrOrFK7dI7MKNuph1XHLF8jgaiYvYpFfoMWUIGuULm3czKwCE8osQx5Mn4Bx/kbznRdnHtBR7d5FktOTlznyrVqV0lOh1tlN5pbT/vvHbabnGJquThltFGA30vGtXJi+66u7r6ZfpIetqD0e9mzJjAxWxZFVkNysVxjdSzeBTcUH48Hn1MoSaNcVVKIl0J+yH+KwqOuOeGKT+YRvJdqq4BHvzHmMs9BpicP4r+NGo+i/Pfgugr3LONb2ViJDJOibL/5m3km9vSv6TvfImScoZUu+FMZiie+G78DQDbqPnzR9mUXwZYyz+CGOjHAc/BWuPkyc0Y6EkFezlN/p18iMtk2qE6jtOj5DtEuBAMMaclZWrxHD89M/SXZ/Smty5us4RJ6slvN6ZbaebJr1XaqtJRgabiUvF7+vtnSW3WeU5XRt9nrcKKyyr/Modeu6Fk/cySDbX8D7Fb2fT34pUZZy5bDbVo/9l3r0ZHb3zpd4LakunMsqaol9PfH4InM1zO836/su/WqZWNG0pmrvesJ+vn/J0+Tmqz4U5rFn0N5i8lFg8QbaHyufExyehm7ibudu4e7gD3FIYi9itMhVGApocIkLAkgGyjSpYwVpdDMJnxx48koK5h3enNwFWiQVQaalnziKwUuFEgIAaC+jJC9KhYRP5B0BvMqDFEW7pahIlMgGrXeWUR+c58vHKaJaUeAa2x7MyaSvZhPU7FKTloQHwZBGyaQwwmMzwgH104abcld8zkhT3WBZN2V4+ZtEh4pcB+w6I99MNqTO8insg1jarMUk2SVqPVVI9XF6ap04bZW+UkUSUBcXsHFMhp1XZBP6aL7sryq8aWkt8cqzSo5LQ8280P8KSurrKITDiWsWwkOfvSNNjeS3PJY0sxaB8fXX1LMknN0FdPurpII6k1tU6tWj85/9ELLyYPPJaSaz84r2WVLPsEWrXiYkLqasvFQ/QkyR07adLuXEJP8tnEnDtmz625JK/v1hVv7ncGd9614q39juBOfk3FRl6TlZnbECrOGbeQ3J4s5Kq0qQ5B0qQIavUDr5G7lBIiB3LPjAvQlLFv0BuIHByWlHX+rAs3kgp6RMUbM6z0gQmNUwFZFKIjI6mYcvvqOxCyqFL+7hcyCU/u/I5sFYg2TSSWr5pH0+LSJ34KWfJzW9d/On9/OQkZsvU6upvU0A+IQDBQFvdbki/rpcdY1KwAcLwZbhdKgXCRyFKG2cQJp34gSxfP00/v/HrBkfHjjyz4unO6fsFCspTkLyTjfvcb0rzqWVmY3Ng4WZCfXUUP/uZ39DeAre6DtWmW5wMXOpLZWynR4Oz4Z9PDagMYArynYHdLTOuM2v643h+3mmCP+aIjaywphrFCQPkhC7xWXgoR2TyiKW/DpPRMKUVKj7Z+LuhSjfSYMVUnhC/nnS32qVm2vJzJvNBhUGm0+ryJj0xoXvcVX1M2M7fqypotNZdXVARqN2zusOaPcBSnWKuzG7JqDJnZSWXi5r99PPcqs8Tz0U8z0tPTdTrexatstkmrVq2a4+D53BSVJCWpTf6RTZGoL616SeTCZW9sqq5Itz2054/dbev4r6Sk3LHT53gcU1PV5qyaC6edZ/cm+scOpjGYNXgWsekwIoI+gcqwKZEWz74E1DP7j5Q0HugKi8HHlNBCjG5g5gkpStw4DBEDFLuqP4awCr6Xo/wqCgvORgRdXKHByGwvxiYTdbIRw+jgD6zh+2GglWk30tB5hcQDqRJ0pA0oqEb8AgZmUe7Gnqojp1EcyqkTvjs41ofyfTMjY5jlOEmwaxFZfCj8PjAQLLAJMkXY4biNlsKyKS0IK3EkB4whBmxMpH67K2Wc41HPE6yPnCL6H+qYbQmS9MxkROeMFzAiAIcowVrJgd7kaFguaaIHMpLT80JTh1VXD5s6rrpaQ/5VXHThsGGXTp1yaXp6X7UyB3E6E4/X2oAWz6T+tGHVLVOrh1VUAtFyMd2nH1YNr1w6hX86Kz0j+nCMFpWHtD+HxcxwDenBUD63lAxtrPILP7Fgoe0MeZKJ9BlYJ21D2xdJlHRHm2KRNBRzrP9f+L70QWsC/ZsNLHJuPvDWhZyHq2Cx3+owGqYmri4XGUltZ+T1/yWvLCLgqZlanbnns2jC/1U2cYXDIIQHArucM4nFsEvYZxnxGCfxvcYCAcveoNnrjguQnDHWIXG7sag+Ss00qrjwdOIKH1jyyqbDQUZWgXiUEAoK04DtSPrVfcd4mHPsPQtvYyGrnAlb8dxbED2kmH8Fekoxv5Fzb8TYFcvGrZT4QePTPy6JnU/sYkLscxXwZenxN9xBt4bYNAD1ZeVVADcR9jWMK4SORP2Thx73LGQkC7GMq1gY1IbSxNmBbS6rfgEN/DAoLiabwKtBcDElSUdX5zrSPcPchYXuYcPzGoln1jC3u7AJCgZNFuVFXUoKP0aWS+mTsrs4ECwszB4WJM11J7OHudsK3e7iIfOGPkOp7LcMTMC9uZQYV0pLRWPQLJudCWehCvUA5TxSeXHvMb8vsa207eD6gwdp98B5d+NFGj4rOfmNUlmcY2n0eBo9iU2uioSrwuHEM22bN0I3JT9/1avNtUu+L83LLy3NzwOY8D73vgxEsRIPnyi/Kedwu3j8PTnVoF8r8dzd1nb3Xno+PX8vy5H9ZD/9gYXIY5G9Jc+Qm5jrOYuzGn+I+ZMqvD+uiCwcFb+N2PxeOESbWXbbscAdNCPfjxAIOesIWgVhUOLVbYsj2D+aAjnSKa6jH8J2YxFYPzn4++hIuIRUiU0WjxcU+2VTnRtWHrHpdcyzWsaQsPBa9OgOfh5dEolgxM8IwtK+E2Hii36wg5+PESgi0SZVM5wS7KdwlPQ6IQhoXrQ5zTqbWdDpoT7ZaRPdOpvk/gIj0W0i6wDdr8PcFxiybhO9Dhp+HeTEUrKuZ9vgWwBs8dYm9uogfyMz4LxfSLP/O27z3L5G7/43LOi5nIlUp/5btjQ1hvdqoPXuQdHAJnPTgI68gLto4LdLmIyQiWEVaaHNqIgL64nyC53ikOv+qHxeox1/UU8ckhftfi87Yr9v4mEmK50s6WvXphWnabWpnlQtfzgtvTA9LU1brE2L/dYJ/MeDRVSP51DJjFdSI+LicF2Zx1NWF46lPUYtVGDsMaVCnaYeA1SXbugxwhfSerSKbJvFygsnnIfE9e+nqM4VrTsxgnFipG7+ZPQhcQNGM2bJ4FD/fV/0xzb+80BsY7Hfh2vgV7U4vTIFMQqSKIHadEIMqYVR8GUvqKQVlQV2DNqFJnkRxQ1RurnHL66fVmEvKCigB9HbG8ViMVIDddbXy6PkrcDLckFTSAoiuxqosqKDsZu5xKEYNU3CKFbIUFhVMhNXMfY8jcWxSsgnkUhuR9eHn3zY1ZHjyLpgbP6ouuHDQgFrWakxpbKsxTM31dE6dzgRbhiV5XHk5KZniektwUXjCSmsaShJNk265/Zho2cf2KGVk5Oc2usfG9Nw9+VaKSnJmb7mzl3X352jq11y+Y6OK8rq7rprvNFe4XenaTM3lma7TRmShmicw6YUj9qkFkwl7pGuCal/HluSNC2Y11BZFxjnrBunLShtf3pOskObLifPeWrp2r3TlPyU2+lJiurv/wfGfONHAAB42mNgZGBgYGTsVJTmXxnPb/OVgZv9AlCE4fwtflZkmv0CWJyDgQnEAwAQJwk0AAB42mNgZGBgv/D/BohkYACTjAyo4DMAdrcFUgAAeNptUqtuAkEUvbOIDbp8AKISVdG/IKmAhA9YVdH+B2rqmoomdZXFoMAgYAQJK/sJTfUkDajeeezOncNscnJm7uPcx46y5L/qjWjwQ1S3iZ1NsV9NA+jCrJmfA3uf9bFN3aoJ8x/DiPtvuPuzZh4FXw8j/AQ8h1iA0ileYjCu22qTw9WoFszfqT/Zg/qMrMFHhbPL30e9pqA1in2ZxB1cjjrG3h1uQ4xEH+9mtFHH5rvqZ28KeQY0da6Ju6cD2B45Z5n37DWHzFPGK9S6h7401HpiDMUOO7wwVoXZOpzBvhY7FDPjvdPv7+9Cg2upHezY9fvFeODzXdzHAWa01zu++r/4NmfRfhN72jI+0jvL/ouwlUAnqNdATVMtiP4B4gs5aQAAAHjaY2BgUCMA9RjaGFYwXGG0Y5zAuILxHZMe0ySmE8wCzDHMk5ivsMiwzGA5x8rFasT6iU2GLYVtEts5diF2N/YV7Lc4LDiCOCo4VnBc4vjDKcSpwKnHacPpxRnBuY3zFOc3LjOuHK4urnlcd7j+cZtx13F/4AnhmcFzhpeF1443j3ce7xneX3xqfBl8K/iu8Cvxt/G/EOARsBFoEzgj8EtQTDBIMEdwlZCH0AShTUJXhL4JKwhvEn4nEiXSIrJE5ICoiGiM6AIxMbEIsRlit8RtxC9J+EgckHgiySApJhkmOUHylZSBVIZUn9QmqXfSNtKTZFxkSmSOyHyTtZMtkZ0mu0vOQ65B7p48g3yN/D4FIYUyhT0K9xQZFCUUZyheUdJTWqR0QDlL+ZZKgsoklVsq31QlVL1UZ6huUX2ixqa2SN1L/ZyGlIaJhpdGikaVxhSNVRpHNG5pCmkaaL7RCtLaoz1B+43OBF0e3TDddbqv9MT0VPSW6b3Sl9EP0F+m/8zAx2CewSmDb4ZGhhmGDYaLDF8YHTB6Z2xhHGJ8zUTJJM3kjqmbWYbZFHMF8wjzKeZXLEwsaizmWfJYBljOsdxiec9Kx6rNap/VJ2sp6wDrDTYONlU2G2zNbM0AJreO4njaY2BkYGD4zLCJQZABBJiAmJEBJOYA5jMAAC7DAfwAeNqNUstOwkAUPS1oQjQuXLgwLhrdqAnlpYiw9ZEoMUSjuC22FCJCLZXiL/hluvML/AbjBxjPTKekaTfmZmbOPT33MXMLYAVvyEHLFwB8cUVYwzq9COtYw7fCOTTwq3Ae21pd4SXMtXuFl8l/KlzAvvaj8Co29S2F37Ghx7EfKOttnKODNgzM4MDHFENMMKZf5ZqQMWDRf+U5IgqkKqsOiQIMiPqSCYgczPHA3aMX63apCWgemijRQmkmXH594SkquuRHjBCxY9ZwuEpkPbJF5rfwTKXI80RmB2eq4mmm3h5OqJ5SK7JNZLZrKlzWErfxUWGmMq2OFm5xiS6uiLJRxVRcVmGkFHepF0pW6uCGjPCS7IDKQOWbLSJMHHFv8a4WHplTaPpkxQv1OCUTh3I1UKN3/I/eu/KVbXbhy7cVvdsSDeUcDDllixVDpfQWynhCXfq9xKyjXgVr07uQtQz1F1XYXZPd1bhXiQUrbn7wB+JUeFEAeNptlPWTHUUYRfcESXB3d4c3/XXPzMNDYIO7uwUSCCFICMHd3d3dLbi7u7u7Fn8A9s7+xqvaOjW106ff3rp3+wb1/ff5a2Jf6vu/z5///NA3iEFMwqRMxuQMZghTMCVTMTXTMC3TMT0zMCMzMTOzMCuzMTtzMCdzMTfzMC/zMT8LsCALsTCLsCiLsThLsCRLsTTLsCzL0aEiEWQKNQ0tXZZnBVZkJVZmFVZlKKsxjNVZg36GsyZrsTbrsC7rsT4bsCEbsTGbsCmbsTlbsCVbsTXbsC3bsT07sCM7sTO7sCsj2I3dGcko9mBPRrMXY9ibsezDvuzH/ozjAMZzIBM4iIM5hEM5jMM5giM5iqM5hmM5juM5gRM5iZM5hVM5jdM5gzM5i7M5h3M5j/O5gAu5iIu5hEu5jMu5giu5iqu5hmu5juu5gRu5iZu5hVu5jdu5gzu5i7u5h4ncy33czwM8yEM8zCM8ymM8zhM8yVM8zTM8y3M8zwu8yEu8zCu8ymu8zhu8yVu8zTu8y3u8zwd8yEd8zCd8ymd8zhd8yVd8zTd8y3d8zw/8yE/8zC/8ym/8zh+Dx40ZlTqdjqxkkiGzLLKWjWxlVw7tMfX3WHos/cP+ZX/Vu+8fVjLJkFkWWctGtrLbY6Wv0lfpq/RVeio9lZ5KT6Un6Ul6kp6kJ+lJepKepCfpCT3h+fB8+HeFntATng/PZ89nv0fWk/Vkz2fvz54v/r54T/G94j3F98vA+95Xe1/tfbWeWk+tp9ZT66n11Hoazzd+30ZPo6fR0+hp9DR6Gj2t36fV1+pr9bX62p4v2adkn5I9SvYodQbeq2UjW9m7N9mjZI+SPUr2KFX67FOyT8k+JfuU7FOyT8k+JfuU7FNK+uxVslfJXiV7lexVslcp9NmvZL+S/Ur2K9mvFPrsWbJnyZ4l+xXmF52B55BZFlnLRray5w1zDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDHMMcwxzDPcaA3m618j63G1kfe433G/kni/7nAeeS0dWMsmQWRZZy0bqcee59rw7z+48u/PszrM7z+48u/Pc6HHv2b1n957de3bv2b1n957de3bv2b1n957de3bv2b1n955bfa2+Vl+rr6uvq6+rr6uvq6+rr6uvq6+rr9vzFf+/FPdR3EdxH8V9FHdR3EVxF8VdFHdRqmrImBHjh4+eMHbk3xoQhjkAAAFTtF6HAAA=) format('woff'),url(../fonts/dashicons.ttf) format("truetype"),url(../fonts/dashicons.svg#dashicons) format("svg");font-weight:400;font-style:normal}.dashicons,.dashicons-before:before{display:inline-block;width:20px;height:20px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dashicons-menu:before{content:"\f333"}.dashicons-admin-site:before{content:"\f319"}.dashicons-dashboard:before{content:"\f226"}.dashicons-admin-media:before{content:"\f104"}.dashicons-admin-page:before{content:"\f105"}.dashicons-admin-comments:before{content:"\f101"}.dashicons-admin-appearance:before{content:"\f100"}.dashicons-admin-plugins:before{content:"\f106"}.dashicons-admin-users:before{content:"\f110"}.dashicons-admin-tools:before{content:"\f107"}.dashicons-admin-settings:before{content:"\f108"}.dashicons-admin-network:before{content:"\f112"}.dashicons-admin-generic:before{content:"\f111"}.dashicons-admin-home:before{content:"\f102"}.dashicons-admin-collapse:before{content:"\f148"}.dashicons-admin-links:before,.dashicons-format-links:before{content:"\f103"}.dashicons-admin-post:before,.dashicons-format-standard:before{content:"\f109"}.dashicons-format-image:before{content:"\f128"}.dashicons-format-gallery:before{content:"\f161"}.dashicons-format-audio:before{content:"\f127"}.dashicons-format-video:before{content:"\f126"}.dashicons-format-chat:before{content:"\f125"}.dashicons-format-status:before{content:"\f130"}.dashicons-format-aside:before{content:"\f123"}.dashicons-format-quote:before{content:"\f122"}.dashicons-welcome-edit-page:before,.dashicons-welcome-write-blog:before{content:"\f119"}.dashicons-welcome-add-page:before{content:"\f133"}.dashicons-welcome-view-site:before{content:"\f115"}.dashicons-welcome-widgets-menus:before{content:"\f116"}.dashicons-welcome-comments:before{content:"\f117"}.dashicons-welcome-learn-more:before{content:"\f118"}.dashicons-image-crop:before{content:"\f165"}.dashicons-image-rotate-left:before{content:"\f166"}.dashicons-image-rotate-right:before{content:"\f167"}.dashicons-image-flip-vertical:before{content:"\f168"}.dashicons-image-flip-horizontal:before{content:"\f169"}.dashicons-undo:before{content:"\f171"}.dashicons-redo:before{content:"\f172"}.dashicons-editor-bold:before{content:"\f200"}.dashicons-editor-italic:before{content:"\f201"}.dashicons-editor-ul:before{content:"\f203"}.dashicons-editor-ol:before{content:"\f204"}.dashicons-editor-quote:before{content:"\f205"}.dashicons-editor-alignleft:before{content:"\f206"}.dashicons-editor-aligncenter:before{content:"\f207"}.dashicons-editor-alignright:before{content:"\f208"}.dashicons-editor-insertmore:before{content:"\f209"}.dashicons-editor-spellcheck:before{content:"\f210"}.dashicons-editor-distractionfree:before,.dashicons-editor-expand:before{content:"\f211"}.dashicons-editor-contract:before{content:"\f506"}.dashicons-editor-kitchensink:before{content:"\f212"}.dashicons-editor-underline:before{content:"\f213"}.dashicons-editor-justify:before{content:"\f214"}.dashicons-editor-textcolor:before{content:"\f215"}.dashicons-editor-paste-word:before{content:"\f216"}.dashicons-editor-paste-text:before{content:"\f217"}.dashicons-editor-removeformatting:before{content:"\f218"}.dashicons-editor-video:before{content:"\f219"}.dashicons-editor-customchar:before{content:"\f220"}.dashicons-editor-outdent:before{content:"\f221"}.dashicons-editor-indent:before{content:"\f222"}.dashicons-editor-help:before{content:"\f223"}.dashicons-editor-strikethrough:before{content:"\f224"}.dashicons-editor-unlink:before{content:"\f225"}.dashicons-editor-rtl:before{content:"\f320"}.dashicons-editor-break:before{content:"\f474"}.dashicons-editor-code:before{content:"\f475"}.dashicons-editor-paragraph:before{content:"\f476"}.dashicons-align-left:before{content:"\f135"}.dashicons-align-right:before{content:"\f136"}.dashicons-align-center:before{content:"\f134"}.dashicons-align-none:before{content:"\f138"}.dashicons-lock:before{content:"\f160"}.dashicons-calendar:before{content:"\f145"}.dashicons-calendar-alt:before{content:"\f508"}.dashicons-visibility:before{content:"\f177"}.dashicons-post-status:before{content:"\f173"}.dashicons-edit:before{content:"\f464"}.dashicons-post-trash:before,.dashicons-trash:before{content:"\f182"}.dashicons-external:before{content:"\f504"}.dashicons-arrow-up:before{content:"\f142"}.dashicons-arrow-down:before{content:"\f140"}.dashicons-arrow-left:before{content:"\f141"}.dashicons-arrow-right:before{content:"\f139"}.dashicons-arrow-up-alt:before{content:"\f342"}.dashicons-arrow-down-alt:before{content:"\f346"}.dashicons-arrow-left-alt:before{content:"\f340"}.dashicons-arrow-right-alt:before{content:"\f344"}.dashicons-arrow-up-alt2:before{content:"\f343"}.dashicons-arrow-down-alt2:before{content:"\f347"}.dashicons-arrow-left-alt2:before{content:"\f341"}.dashicons-arrow-right-alt2:before{content:"\f345"}.dashicons-leftright:before{content:"\f229"}.dashicons-sort:before{content:"\f156"}.dashicons-randomize:before{content:"\f503"}.dashicons-list-view:before{content:"\f163"}.dashicons-exerpt-view:before{content:"\f164"}.dashicons-grid-view:before{content:"\f509"}.dashicons-hammer:before{content:"\f308"}.dashicons-art:before{content:"\f309"}.dashicons-migrate:before{content:"\f310"}.dashicons-performance:before{content:"\f311"}.dashicons-universal-access:before{content:"\f483"}.dashicons-universal-access-alt:before{content:"\f507"}.dashicons-tickets:before{content:"\f486"}.dashicons-nametag:before{content:"\f484"}.dashicons-clipboard:before{content:"\f481"}.dashicons-heart:before{content:"\f487"}.dashicons-megaphone:before{content:"\f488"}.dashicons-schedule:before{content:"\f489"}.dashicons-wordpress:before{content:"\f120"}.dashicons-wordpress-alt:before{content:"\f324"}.dashicons-pressthis:before{content:"\f157"}.dashicons-update:before{content:"\f463"}.dashicons-screenoptions:before{content:"\f180"}.dashicons-info:before{content:"\f348"}.dashicons-cart:before{content:"\f174"}.dashicons-feedback:before{content:"\f175"}.dashicons-cloud:before{content:"\f176"}.dashicons-translation:before{content:"\f326"}.dashicons-tag:before{content:"\f323"}.dashicons-category:before{content:"\f318"}.dashicons-archive:before{content:"\f480"}.dashicons-tagcloud:before{content:"\f479"}.dashicons-text:before{content:"\f478"}.dashicons-media-archive:before{content:"\f501"}.dashicons-media-audio:before{content:"\f500"}.dashicons-media-code:before{content:"\f499"}.dashicons-media-default:before{content:"\f498"}.dashicons-media-document:before{content:"\f497"}.dashicons-media-interactive:before{content:"\f496"}.dashicons-media-spreadsheet:before{content:"\f495"}.dashicons-media-text:before{content:"\f491"}.dashicons-media-video:before{content:"\f490"}.dashicons-playlist-audio:before{content:"\f492"}.dashicons-playlist-video:before{content:"\f493"}.dashicons-yes:before{content:"\f147"}.dashicons-no:before{content:"\f158"}.dashicons-no-alt:before{content:"\f335"}.dashicons-plus:before{content:"\f132"}.dashicons-plus-alt:before{content:"\f502"}.dashicons-minus:before{content:"\f460"}.dashicons-dismiss:before{content:"\f153"}.dashicons-marker:before{content:"\f159"}.dashicons-star-filled:before{content:"\f155"}.dashicons-star-half:before{content:"\f459"}.dashicons-star-empty:before{content:"\f154"}.dashicons-flag:before{content:"\f227"}.dashicons-share1:before,.dashicons-share:before{content:"\f237"}.dashicons-share-alt:before{content:"\f240"}.dashicons-share-alt2:before{content:"\f242"}.dashicons-twitter:before{content:"\f301"}.dashicons-rss:before{content:"\f303"}.dashicons-email:before{content:"\f465"}.dashicons-email-alt:before{content:"\f466"}.dashicons-facebook:before{content:"\f304"}.dashicons-facebook-alt:before{content:"\f305"}.dashicons-networking:before{content:"\f325"}.dashicons-googleplus:before{content:"\f462"}.dashicons-location:before{content:"\f230"}.dashicons-location-alt:before{content:"\f231"}.dashicons-camera:before{content:"\f306"}.dashicons-images-alt:before{content:"\f232"}.dashicons-images-alt2:before{content:"\f233"}.dashicons-video-alt:before{content:"\f234"}.dashicons-video-alt2:before{content:"\f235"}.dashicons-video-alt3:before{content:"\f236"}.dashicons-vault:before{content:"\f178"}.dashicons-shield:before{content:"\f332"}.dashicons-shield-alt:before{content:"\f334"}.dashicons-sos:before{content:"\f468"}.dashicons-search:before{content:"\f179"}.dashicons-slides:before{content:"\f181"}.dashicons-analytics:before{content:"\f183"}.dashicons-chart-pie:before{content:"\f184"}.dashicons-chart-bar:before{content:"\f185"}.dashicons-chart-line:before{content:"\f238"}.dashicons-chart-area:before{content:"\f239"}.dashicons-groups:before{content:"\f307"}.dashicons-businessman:before{content:"\f338"}.dashicons-id:before{content:"\f336"}.dashicons-id-alt:before{content:"\f337"}.dashicons-products:before{content:"\f312"}.dashicons-awards:before{content:"\f313"}.dashicons-forms:before{content:"\f314"}.dashicons-testimonial:before{content:"\f473"}.dashicons-portfolio:before{content:"\f322"}.dashicons-book:before{content:"\f330"}.dashicons-book-alt:before{content:"\f331"}.dashicons-download:before{content:"\f316"}.dashicons-upload:before{content:"\f317"}.dashicons-backup:before{content:"\f321"}.dashicons-clock:before{content:"\f469"}.dashicons-lightbulb:before{content:"\f339"}.dashicons-microphone:before{content:"\f482"}.dashicons-desktop:before{content:"\f472"}.dashicons-tablet:before{content:"\f471"}.dashicons-smartphone:before{content:"\f470"}.dashicons-smiley:before{content:"\f328"}.dashicons-index-card:before{content:"\f510"}.dashicons-carrot:before{content:"\f511"} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/editor-rtl.css b/sources/wordpress/wp-includes/css/editor-rtl.css deleted file mode 100644 index 7c06656..0000000 --- a/sources/wordpress/wp-includes/css/editor-rtl.css +++ /dev/null @@ -1,1985 +0,0 @@ -/*------------------------------------------------------------------------------ - TinyMCE and Quicklinks toolbars -------------------------------------------------------------------------------*/ - -/* TinyMCE widgets/containers */ - -.mce-container, -.mce-container *, -.mce-widget, -.mce-widget * { - color: inherit; - font-family: inherit; -} - -/* TinyMCE windows */ -#mce-modal-block.mce-in { - opacity: 0.7; - filter: alpha(opacity=70); -} - -.mce-window { - -webkit-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - -webkit-font-smoothing: subpixel-antialiased; -} - -.mce-window .mce-container-body.mce-abs-layout { - overflow: visible; -} - -.mce-window .mce-window-head { - background: #fcfcfc; - border-bottom: 1px solid #dfdfdf; - padding: 0; - min-height: 36px; -} - -.mce-window .mce-window-head .mce-title { - color: #444; - font-size: 18px; - font-weight: 600; - line-height: 36px; - margin: 0; - padding: 0 16px 0 36px; -} - -.mce-window .mce-window-head .mce-close { - color: transparent; - top: 0; - left: 0; - width: 36px; - height: 36px; - line-height: 36px; - text-align: center; -} - -.mce-window .mce-window-head .mce-close:before { - font: normal 20px/36px 'dashicons'; - text-align: center; - color: #666; - width: 36px; - height: 36px; - display: block; -} - -.mce-window .mce-window-head .mce-close:hover:before { - color: #2ea2cc; -} - -.mce-window .mce-window-head .mce-dragh { - width: -webkit-calc( 100% - 36px ); - width: calc( 100% - 36px ); -} - -.mce-wp-help .mce-window-head { - border-bottom: none; -} - -.mce-textbox, -.mce-checkbox i.mce-i-checkbox, -#wp-link .query-results { - border: 1px solid #ddd; - -webkit-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); - -webkit-transition: .05s all ease-in-out; - transition: .05s all ease-in-out; -} - -.mce-textbox:focus, -.mce-textbox.mce-focus, -.mce-checkbox:focus i.mce-i-checkbox, -#wp-link .query-results:focus { - border-color: #5b9dd9; - -webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8); - box-shadow: 0 0 2px rgba(30,140,190,0.8); -} - -/* TinyMCE menus */ -.mce-menu, -.mce-floatpanel.mce-popover { - border-color: rgba(0,0,0,0.15); - -webkit-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); - box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); -} - -.mce-floatpanel.mce-popover.mce-bottom { - margin-top: 2px; -} - -.mce-floatpanel .mce-arrow { - display: none; -} - -.mce-menu .mce-container-body { - min-width: 160px; -} - -.mce-menu-item { - border: none; - margin-bottom: 2px; -} - -.mce-menu-has-icons i.mce-ico { - line-height: 20px; -} - -/* TinyMCE panel */ -div.mce-panel { - border: 0; - background: #fff; - -webkit-filter: none; - filter: none; -} - -.mce-panel.mce-menu { - border: 1px solid #ddd; -} - -div.mce-tab { - line-height: 13px; -} - -/* TinyMCE toolbars */ -div.mce-toolbar-grp { - border-bottom: 1px solid #dedede; - background: #f5f5f5; - padding: 0; - position: relative; -} - -div.mce-toolbar-grp > div { - padding: 3px; -} - -.has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first { - padding-left: 32px; -} - -.mce-toolbar .mce-btn-group { - margin: 0; -} - -div.mce-statusbar { - border-top: 1px solid #e5e5e5; -} - -div.mce-path { - padding: 2px 10px; - margin: 0; -} - -.mce-path, -.mce-path-item, -.mce-path .mce-divider { - font-size: 12px; - line-height: 18px; -} - -.mce-toolbar .mce-btn, -.qt-fullscreen { - border-color: transparent; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; - text-shadow: none; - cursor: pointer; -} - -#wp-fullscreen-buttons .mce-btn, -.mce-toolbar .mce-btn-group .mce-btn, -.qt-fullscreen { - border: 1px solid transparent; - margin: 2px; - background-image: none; - -webkit-border-radius: 2px; - border-radius: 2px; - -webkit-filter: none; - filter: none; -} - -#wp-fullscreen-buttons .mce-btn:hover, -.mce-toolbar .mce-btn-group .mce-btn:hover, -#wp-fullscreen-buttons .mce-btn:focus, -.mce-toolbar .mce-btn-group .mce-btn:focus, -.qt-fullscreen:hover, -.qt-fullscreen:focus { - background: #fafafa; - border-color: #999; - color: #222; - -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-active, -#wp-fullscreen-buttons .mce-btn.mce-active, -.mce-toolbar .mce-btn-group .mce-btn:active, -#wp-fullscreen-buttons .mce-btn:active { - background: #ebebeb; - border-color: #999; - -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.3 ); - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.3 ); -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-active:hover { - border-color: #555; -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-active:hover i.mce-ico { - color: #555; -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-disabled:hover, -#wp-fullscreen-buttons .mce-btn.mce-disabled:hover, -.mce-toolbar .mce-btn-group .mce-btn.mce-disabled:focus, -#wp-fullscreen-buttons .mce-btn.mce-disabled:focus { - color: #aaa; - background: none; - border-color: #ddd; - text-shadow: 0 1px 0 #fff; - -webkit-box-shadow: none; - box-shadow: none; -} - -.mce-toolbar .mce-btn-group .mce-first, -.mce-toolbar .mce-btn-group .mce-last { - border-color: transparent; -} - -.mce-toolbar .mce-btn button, -.qt-fullscreen { - padding: 2px 3px; - line-height: normal; -} - -.mce-toolbar .mce-btn i { - text-shadow: none; -} - -.mce-toolbar .mce-btn-group > div { - white-space: normal; -} - -.mce-toolbar .mce-colorbutton .mce-open { - border-left: 0; -} - -.mce-toolbar .mce-colorbutton .mce-preview { - margin: 0; - padding: 0; - top: auto; - bottom: 2px; - right: 3px; - height: 3px; - width: 20px; -} - -/* mce listbox */ -.mce-toolbar .mce-btn-group .mce-btn.mce-listbox { - -webkit-border-radius: 0; - border-radius: 0; - direction: rtl; - background: #fff; - border: 1px solid #ddd; - -webkit-box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, .2); - box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, .2); -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover { - background-image: none; - border-color: #bbb; -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-listbox span { - font-size: 13px; -} - -.mce-panel .mce-btn i.mce-caret { - border-top: 6px solid #777; - margin-right: 2px; - margin-left: 2px; -} - -.mce-listbox i.mce-caret { - left: 6px; -} - -.mce-panel .mce-btn button.mce-open i.mce-caret, -.mce-panel .mce-btn.mce-listbox i.mce-caret { - margin-right: 0; - margin-left: 0; -} - -.mce-panel .mce-btn:hover i.mce-caret { - border-top-color: #333; -} - -.mce-panel .mce-active i.mce-caret { - border-top: 0; - border-bottom: 6px solid #333; - margin-top: 7px; -} - -.mce-listbox.mce-active i.mce-caret { - margin-top: -3px; -} - -.mce-toolbar .mce-splitbtn:hover .mce-open { - border-left-color: transparent; -} - -.mce-toolbar .mce-splitbtn .mce-open.mce-active{ - -webkit-box-shadow: none; - box-shadow: none; -} - -.mce-menu .mce-menu-item-normal.mce-active { - background-color: #e5e5e5; - -webkit-filter: none; - filter: none; -} - -.mce-menu .mce-menu-item:hover, -.mce-menu .mce-menu-item.mce-selected, -.mce-menu .mce-menu-item:focus { - color: #000; - background-color: #bbb; - background-image: none; - -webkit-filter: none; - filter: none; -} - -.mce-menu .mce-menu-item:hover .mce-ico, -.mce-menu .mce-menu-item.mce-selected .mce-ico, -.mce-menu .mce-menu-item:focus .mce-ico, -.mce-menu .mce-menu-item:hover .mce-text, -.mce-menu .mce-menu-item.mce-active:hover .mce-text, -.mce-menu .mce-menu-item.mce-selected .mce-text { - color: #000; -} - -/* Menubar */ -.mce-menubar { - border-color: #e5e5e5; - background: #fff; - border-width: 0px 0px 1px; -} - -.mce-menubar .mce-btn:focus { - outline: 0; -} - -div.mce-menu .mce-menu-item-sep, -.mce-menu-item-sep:hover { - margin: 5px 0 4px; -} - -.mce-menubtn span { - margin-left: 0; - padding-right: 3px; -} - -.mce-menu-has-icons i.mce-ico:before { - margin-right: -2px; -} - -/* Buttons in modals */ -.mce-primary button, -.mce-primary button i { - text-align: center; - color: #fff; - text-shadow: none; - padding: 0; - line-height: 26px; -} - -.mce-window .mce-btn { - color: #555; - background: #f7f7f7; - text-decoration: none; - font-size: 13px; - line-height: 26px; - height: 28px; - margin: 0; - padding: 0; - cursor: pointer; - border: 1px solid #ccc; - -webkit-appearance: none; - -webkit-border-radius: 3px; - border-radius: 3px; - white-space: nowrap; - -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - background-image: none; -} - -/* Remove the dotted border on :focus and the extra padding in Firefox */ -.mce-window .mce-btn::-moz-focus-inner { - border-width: 1px 0; - border-style: solid none; - border-color: transparent; - padding: 0; -} - -.mce-window .mce-btn:hover, -.mce-window .mce-btn:focus { - background: #fafafa; - border-color: #999; - color: #222; -} - -.mce-window .mce-btn:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); -} - -.mce-window .mce-btn:active { - background: #eee; - border-color: #999; - color: #333; - -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); -} - -.mce-window .mce-btn.mce-disabled { - color: #aaa; - border-color: #ddd; - background: #f7f7f7; - -webkit-box-shadow: none; - box-shadow: none; - text-shadow: 0 1px 0 #fff; - cursor: default; -} - -.mce-window .mce-btn.mce-primary { - background: #2ea2cc; - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - color: #fff; - text-decoration: none; -} - -.mce-window .mce-btn.mce-primary:hover, -.mce-window .mce-btn.mce-primary:focus { - background: #1e8cbe; - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ); - color: #fff; -} - -.mce-window .mce-btn.mce-primary:focus { - border-color: #0e3950; - -webkit-box-shadow: - inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); -} - -.mce-window .mce-btn.mce-primary:active { - background: #1b7aa6; - border-color: #005684; - color: rgba( 255, 255, 255, 0.95 ); - -webkit-box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - vertical-align: top; -} - -.mce-window .mce-btn.mce-primary.mce-disabled { - color: #94cde7; - background: #298cba; - border-color: #1b607f; - -webkit-box-shadow: none; - box-shadow: none; - text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.1 ); - cursor: default; -} - -.mce-menubtn.mce-fixed-width button span { - max-width: 80px; - padding-left: 16px; -} - -/* Charmap modal */ -.mce-charmap { - margin: 3px; -} - -.mce-charmap td { - padding: 0; - border-color: #dfdfdf; - cursor: pointer; -} - -.mce-charmap td:hover { - background: #f3f3f3; -} - -.mce-charmap td div { - width: 18px; - height: 22px; - line-height: 22px; -} - -/* TinyMCE tooltips */ -.mce-tooltip { - margin-top: 2px; -} - -.mce-tooltip-inner { - -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); - box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); - color: #fff; - font-size: 12px; -} - -/* TinyMCE icons */ -.mce-ico { - font-family: 'tinymce', Arial; -} - -.mce-btn-small .mce-ico { - font-family: 'tinymce-small', Arial; -} - -.mce-toolbar .mce-ico { - color: #777; - line-height: 20px; - width: 20px; - height: 20px; - text-align: center; - text-shadow: none; - margin: 0; - padding: 0; -} - -.qt-fullscreen { - color: #777; - line-height: 20px; - width: 28px; - height: 26px; - text-align: center; - text-shadow: none; -} - -.mce-toolbar .mce-btn .mce-open { - line-height: 20px; -} - -.mce-toolbar .mce-btn:hover .mce-open, -.mce-toolbar .mce-btn:focus .mce-open, -.mce-toolbar .mce-btn.mce-active .mce-open { - border-right-color: #999; -} - -i.mce-i-bold, -i.mce-i-italic, -i.mce-i-bullist, -i.mce-i-numlist, -i.mce-i-blockquote, -i.mce-i-alignleft, -i.mce-i-aligncenter, -i.mce-i-alignright, -i.mce-i-link, -i.mce-i-unlink, -i.mce-i-wp_more, -i.mce-i-strikethrough, -i.mce-i-spellchecker, -i.mce-i-fullscreen, -i.mce-i-wp_fullscreen, -i.mce-i-wp_adv, -i.mce-i-underline, -i.mce-i-alignjustify, -i.mce-i-forecolor, -i.mce-i-backcolor, -i.mce-i-pastetext, -i.mce-i-pasteword, -i.mce-i-removeformat, -i.mce-i-charmap, -i.mce-i-outdent, -i.mce-i-indent, -i.mce-i-undo, -i.mce-i-redo, -i.mce-i-help, -i.mce-i-wp_help, -i.mce-i-wp-media-library, -i.mce-i-ltr, -i.mce-i-wp_page, -i.mce-i-hr, -.mce-close { - font: normal 20px/1 'dashicons'; - padding: 0; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - margin-right: -2px; - padding-left: 2px; -} - -.qt-fullscreen { - font: normal 20px/1 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -i.mce-i-bold:before { - content: '\f200'; -} - -i.mce-i-italic:before { - content: '\f201'; -} - -i.mce-i-bullist:before { - content: '\f203'; -} - -i.mce-i-numlist:before { - content: '\f204'; -} - -i.mce-i-blockquote:before { - content: '\f205'; -} - -i.mce-i-alignleft:before { - content: '\f206'; -} - -i.mce-i-aligncenter:before { - content: '\f207'; -} - -i.mce-i-alignright:before { - content: '\f208'; -} - -i.mce-i-link:before { - content: '\f103'; -} - -i.mce-i-unlink:before { - content: '\f225'; -} - -i.mce-i-wp_more:before { - content: '\f209'; -} - -i.mce-i-strikethrough:before { - content: '\f224'; -} - -i.mce-i-spellchecker:before { - content: '\f210'; -} - -i.mce-i-fullscreen:before, -i.mce-i-wp_fullscreen:before, -.qt-fullscreen:before { - content: '\f211'; -} - -i.mce-i-wp_adv:before { - content: '\f212'; -} - -i.mce-i-underline:before { - content: '\f213'; -} - -i.mce-i-alignjustify:before { - content: '\f214'; -} - -i.mce-i-forecolor:before, -i.mce-i-backcolor:before { - content: '\f215'; -} - -i.mce-i-pastetext:before { - content: '\f217'; -} - -i.mce-i-removeformat:before { - content: '\f218'; -} - -i.mce-i-charmap:before { - content: '\f220'; -} - -i.mce-i-outdent:before { - content: '\f221'; -} - -i.mce-i-indent:before { - content: '\f222'; -} - -i.mce-i-undo:before { - content: '\f171'; -} - -i.mce-i-redo:before { - content: '\f172'; -} - -i.mce-i-help:before, -i.mce-i-wp_help:before { - content: '\f223'; -} - -i.mce-i-wp-media-library:before { - content: '\f104'; -} - -i.mce-i-ltr:before { - content: '\f320'; -} - -i.mce-i-wp_page:before { - content: '\f105'; -} - -i.mce-i-hr:before { - content: '\f460'; -} - -.mce-close:before { - content: '\f158'; -} - -.mce-i-wp_code:before { - content: '\f475'; -} - -/* Editors */ -.wp-editor-wrap { - position: relative; -} - -.wp-editor-tools { - position: relative; - z-index: 1; -} - -.wp-editor-tools:after { - clear: both; - content: ''; - display: table; -} - -.wp-editor-container { - clear: both; -} - -.wp-editor-area { - font-family: Consolas, Monaco, monospace; - font-size: 13px; - padding: 10px; - margin: 1px 0 0; - line-height: 150%; - border: 0 none; - outline: none; - display: block; - resize: vertical; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.wp-editor-container textarea.wp-editor-area { - width: 100%; - margin: 0; - -webkit-box-shadow: none; - box-shadow: none; -} - -.wp-editor-tabs { - float: left; -} - -.wp-switch-editor { - background: #ebebeb; - border: 1px solid #dedede; - color: #777; - cursor: pointer; - float: left; - font: 13px/19px "Open Sans", sans-serif; - height: 19px; - margin: 5px 5px 0 0; - padding: 3px 8px 4px; - position: relative; - top: 1px; -} - -.wp-switch-editor:active { - background-color: #f1f1f1; -} - -.wp-switch-editor:hover { - text-decoration: none !important; - background: #fff; -} - -.js .tmce-active .wp-editor-area { - color: white; -} - -.tmce-active .quicktags-toolbar { - display: none; -} - -.tmce-active .switch-tmce, -.html-active .switch-html { - background: #f5f5f5; - color: #555; - height: 20px; - border-bottom: none; -} - -.wp-media-buttons { - float: right; -} - -.wp-media-buttons .button { - margin-left: 5px; - margin-bottom: 4px; - padding-right: 7px; - padding-left: 7px; -} - -.wp-media-buttons .button:active { - position: relative; - top: 1px; - margin-top: -1px; - margin-bottom: 1px; -} - -.wp-media-buttons .insert-media { - padding-right: 5px; -} - -.wp-media-buttons a { - text-decoration: none; - color: #464646; - font-size: 12px; -} - -.wp-media-buttons img { - padding: 0 4px; - vertical-align: middle; -} - -.wp-media-buttons span.wp-media-buttons-icon { - display: inline-block; - width: 18px; - height: 18px; - vertical-align: text-top; - margin: 0 2px; -} - -.wp-media-buttons .add_media span.wp-media-buttons-icon { - background: none; -} - -.wp-media-buttons .add_media span.wp-media-buttons-icon:before { - font: normal 18px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-media-buttons .add_media span.wp-media-buttons-icon:before { - content: '\f104'; -} - -/* Quicktags */ -.quicktags-toolbar { - padding: 3px; - position: relative; - border-bottom: 1px solid #dedede; - background: #f5f5f5; -} - -.has-dfw .quicktags-toolbar { - padding-left: 35px; -} - -.wp-core-ui .quicktags-toolbar input.button.button-small { - margin: 2px; -} - -.quicktags-toolbar input[value="link"] { - text-decoration: underline; -} - -.quicktags-toolbar input[value="del"] { - text-decoration: line-through; -} - -.quicktags-toolbar input[value="i"] { - font-style: italic; -} - -.quicktags-toolbar input[value="b"] { - font-weight: bold; -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-wp-fullscreen, -.qt-fullscreen { - position: absolute; - top: 0; - left: 0; - margin: 5px 0 0 5px; -} - -@media screen and ( max-width: 782px ) { - .mce-toolbar .mce-btn button, - .qt-fullscreen { - padding: 6px 7px; - } - - #wp-fullscreen-buttons .mce-btn, - .mce-toolbar .mce-btn-group .mce-btn { - margin: 1px; - } - - .qt-fullscreen { - width: 36px; - height: 34px; - } - - .mce-toolbar .mce-btn-group .mce-btn.mce-wp-fullscreen { - margin: 4px 0 0 4px; - } - - .mce-toolbar .mce-colorbutton .mce-preview { - right: 8px; - bottom: 6px; - } - - .mce-window .mce-btn { - padding: 2px 0; - } - - .has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first, - .has-dfw .quicktags-toolbar { - padding-left: 40px; - } -} - -@media screen and ( min-width: 782px ) { - .wp-core-ui .quicktags-toolbar input.button.button-small { - /* .button-small is normaly 11px, but a bit too small for these buttons. */ - font-size: 12px; - height: 26px; - line-height: 24px; - } -} - -#wp_editbtns, -#wp_gallerybtns { - padding: 2px; - position: absolute; - display: none; - z-index: 100020; -} - -#wp_editimgbtn, -#wp_delimgbtn, -#wp_editgallery, -#wp_delgallery { - border-color: #999; - background-color: #eee; - margin: 2px; - padding: 2px; - border-width: 1px; - border-style: solid; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -#wp_editimgbtn:hover, -#wp_delimgbtn:hover, -#wp_editgallery:hover, -#wp_delgallery:hover { - border-color: #555; - background-color: #ccc; -} - -/*------------------------------------------------------------------------------ - wp-link -------------------------------------------------------------------------------*/ - -#wp-link-wrap { - display: none; - background-color: #fff; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - width: 500px; - height: 250px; - overflow: hidden; - margin-right: -250px; - margin-top: -125px; - position: fixed; - top: 50%; - right: 50%; - z-index: 100105; - -webkit-transition: height 0.2s, margin-top 0.2s; - transition: height 0.2s, margin-top 0.2s; -} - -#wp-link-backdrop { - display: none; - position: fixed; - top: 0; - right: 0; - left: 0; - bottom: 0; - min-height: 360px; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 100100; -} - -#wp-link { - position: relative; - height: 100%; -} - -#wp-link-wrap.search-panel-visible { - height: 500px; - margin-top: -250px; -} - -#link-modal-title { - background: #fcfcfc; - border-bottom: 1px solid #dfdfdf; - height: 36px; - font-size: 18px; - font-weight: 600; - line-height: 36px; - padding: 0 16px 0 36px; - top: 0; - left: 0; - right: 0; -} - -#wp-link-close { - color: #666; - padding: 0; - position: absolute; - top: 0; - left: 0; - width: 36px; - height: 36px; - text-align: center; - background: none; - border: none; - cursor: pointer; -} - -#wp-link-close:before { - font: normal 20px/36px 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - width: 36px; - height: 36px; - content: '\f158'; -} - -#wp-link-close:hover, -#wp-link-close:focus { - color: #2ea2cc; -} - -#wp-link-close:focus { - outline: none; - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -#link-selector { - padding: 0 16px 50px; -} - -#wp-link-wrap.search-panel-visible #link-selector { - padding: 0 16px; - position: absolute; - top: 36px; - right: 0; - left: 0; - bottom: 44px; -} - -#wp-link ol, -#wp-link ul { - list-style: none; - margin: 0; - padding: 0; -} - -#wp-link-search-toggle:after { - display: inline-block; - font: normal 20px/1 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - content: '\f140'; -} - -.search-panel-visible #wp-link-search-toggle:after { - content: '\f142'; -} - -#wp-link input[type="text"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -#wp-link #link-options { - padding: 8px 0 12px; -} - -#wp-link p.howto { - margin: 3px 0; -} - -#wp-link p.howto a { - text-decoration: none; - color: inherit; -} - -#wp-link-search-toggle { - cursor: pointer; -} - -#wp-link label input[type="text"] { - margin-top: 5px; - width: 70%; -} - -#wp-link #link-options label span, -#wp-link #search-panel label span.search-label { - display: inline-block; - width: 80px; - text-align: left; - padding-left: 5px; - max-width: 24%; -} - -#wp-link .link-search-field { - float: right; - width: 250px; - max-width: 70%; -} - -#wp-link .link-search-wrapper { - margin: 5px 0 9px; - display: block; - overflow: hidden; -} - -#wp-link .link-search-wrapper span { - float: right; - margin-top: 4px; -} - -#wp-link .link-search-wrapper .spinner { - display: none; - vertical-align: text-bottom; -} - -#wp-link .link-target { - padding: 3px 0 0; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -#wp-link .link-target label { - max-width: 70%; -} - -#wp-link .query-results { - border: 1px #dfdfdf solid; - margin: 0; - background: #fff; - overflow: auto; - position: absolute; - right: 16px; - left: 16px; - bottom: 16px; - top: 205px; -} - -#wp-link li { - clear: both; - margin-bottom: 0; - border-bottom: 1px solid #f1f1f1; - color: #333; - padding: 4px 10px 4px 6px; - cursor: pointer; - position: relative; -} - -#wp-link .query-notice { - padding: 0; - border-bottom: 1px solid #dfdfdf; - background-color: #f7fcfe; - color: #000; -} - -#wp-link .query-notice .query-notice-default, -#wp-link .query-notice .query-notice-hint { - display: block; - padding: 6px; - border-right: 4px solid #2ea2cc; -} - -#wp-link .unselectable.no-matches-found { - padding: 0; - border-bottom: 1px solid #dfdfdf; - background-color: #fef7f1; -} - -#wp-link .no-matches-found .item-title { - display: block; - padding: 6px; - border-right: 4px solid #d54e21; -} - -#wp-link .query-results em { - font-style: normal; -} - -#wp-link li:hover { - background: #eaf2fa; - color: #151515; -} - -#wp-link li.unselectable { - border-bottom: 1px solid #dfdfdf; -} - -#wp-link li.unselectable:hover { - background: #fff; - cursor: auto; - color: #333; -} - -#wp-link li.selected { - background: #ddd; - color: #333; -} - -#wp-link li.selected .item-title { - font-weight: bold; -} - -#wp-link li:last-child { - border: none; -} - -#wp-link .item-title { - display: inline-block; - width: 80%; - width: -webkit-calc(100% - 68px); - width: calc(100% - 68px); -} - -#wp-link .item-info { - text-transform: uppercase; - color: #666; - font-size: 11px; - position: absolute; - left: 5px; - top: 5px; -} - -#wp-link #search-results, -#wp-link #search-panel { - display: none; -} - -#wp-link-wrap.search-panel-visible #search-panel { - display: block; -} - -#wp-link .river-waiting { - display: none; - padding: 10px 0; -} - -#wp-link .river-waiting .spinner { - margin: 0 auto; - display: block; - float: none; -} - -#wp-link .submitbox { - padding: 8px 16px; - background: #fcfcfc; - border-top: 1px solid #dfdfdf; - position: absolute; - bottom: 0; - right: 0; - left: 0; -} - -#wp-link-cancel { - line-height: 25px; - float: right; -} - -#wp-link-update { - line-height: 23px; - float: left; -} - -#wp-link-submit { - float: left; - margin-bottom: 0; -} - -@media screen and ( max-width: 782px ) { - #wp-link-wrap { - height: 280px; - margin-top: -140px; - } - - #wp-link-wrap.search-panel-visible .query-results { - top: 235px; - } - - #link-selector { - padding: 0 16px 60px; - } - - #wp-link-wrap.search-panel-visible #link-selector { - bottom: 52px; - } - - #wp-link-cancel { - line-height: 32px; - } -} - -@media screen and ( max-width: 520px ) { - #wp-link-wrap { - width: auto; - margin-right: 0; - right: 10px; - left: 10px; - max-width: 500px; - } -} - -@media screen and ( max-height: 520px ) { - #wp-link-wrap { - -webkit-transition: none; - transition: none; - } - - #wp-link-wrap.search-panel-visible { - height: auto; - margin-top: 0; - top: 10px; - bottom: 10px; - } - - .search-panel-visible #link-selector { - overflow: auto; - } - - .search-panel-visible #search-panel .query-results { - position: static; - } -} - -@media screen and ( max-height: 290px ) { - #wp-link-wrap { - height: auto; - margin-top: 0; - top: 10px; - bottom: 10px; - } - - #link-selector { - overflow: auto; - height: -webkit-calc(100% - 92px); - height: calc(100% - 92px); - padding-bottom: 2px; - } - - #search-panel .query-results { - position: static; - } -} - -/* Old TinyMCE 3.x modal */ -/* -.clearlooks2 .mceTop { - border-bottom: 1px solid #ccc; -} - -.clearlooks2 .mceTop span { - font: 13px/24px "Open Sans", sans-serif; - color: #e5e5e5; -} - -.clearlooks2 .mceTop .mceLeft { - background: #444444; - border-color: transparent; -} - -.clearlooks2 .mceTop .mceRight { - background: #444444; - border-color: transparent; -} - -.clearlooks2 .mceMiddle { - clip: rect(24px auto auto auto); -} - -.clearlooks2 .mceMiddle .mceLeft { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceMiddle .mceRight { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceBottom { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceBottom .mceLeft { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceBottom .mceCenter { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceBottom .mceRight { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceClose, -.clearlooks2 .mceFocus .mceClose, -.clearlooks2 .mceFocus .mceClose:hover { - background-image: none; -} -.clearlooks2 .mceClose:before { - content: '\f158'; - font: normal 20px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color: #999; - padding-left: 12px; -} - -/* from colors.css -.clearlooks2 { - box-shadow: 0 5px 15px rgba(0,0,0,0.7); -} - -.clearlooks2 .mceMiddle span, -.clearlooks2 .mceMiddle .mceLeft, -.clearlooks2 .mceMiddle .mceRight, -.clearlooks2 .mceBottom, -.clearlooks2 .mceBottom .mceLeft, -.clearlooks2 .mceBottom .mceCenter, -.clearlooks2 .mceBottom .mceRight { - background-color: #fcfcfc; -} - -.clearlooks2 .mceTop span, -.clearlooks2 .mceFocus .mceTop span { - color: #222; -} - -.clearlooks2 .mceClose:before { - color: #999; -} - -.clearlooks2 .mceClose:hover:before { - color: #2ea2cc; -} -*/ -/* Distraction Free Writing mode - * =Overlay Styles --------------------------------------------------------------- */ -.fullscreen-overlay { - z-index: 100005; - display: none; - position: fixed; - top: 0; - bottom: 0; - right: 0; - left: 0; - -webkit-filter: inherit; - filter: inherit; -} - -.wp-fullscreen-active .fullscreen-overlay, -.wp-fullscreen-active #wp-fullscreen-body { - display: block; -} - -.fullscreen-fader { - z-index: 200000; -} - -.wp-fullscreen-active .fullscreen-fader, -.wp-core-ui.wp-fullscreen-active .postbox-container { - display: none; -} - -/* =Overlay Body --------------------------------------------------------------- */ - -#wp-fullscreen-body, -.mce-fullscreen { - z-index: 100010; -} - -#wp-fullscreen-body { - display: none; -} - -.wp-fullscreen-wrap { - margin: 0; - padding: 0; - position: absolute; - right: 0; - left: 0; - bottom: 30px; - top: 60px; - z-index: 100015; -} - -.wp-fullscreen-wrap .wp-editor-container, -.wp-fullscreen-title, -#wp-fullscreen-central-toolbar { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 100%; -} - -.wp-fullscreen-active .wp-editor-tools, -.wp-fullscreen-active .quicktags-toolbar, -.wp-fullscreen-active .mce-toolbar-grp, -.wp-fullscreen-active .mce-statusbar { - display: none; -} - -#wp-fullscreen-statusbar { - position: fixed; - right: 0; - left: 0; - bottom: 0; - height: 30px; - z-index: 100020; - background: #fff; - -webkit-transition: height 0.2s; - transition: height 0.2s; -} - -#wp-fullscreen-status { - margin: 0 auto; - padding: 0; -} - -.wp-fullscreen-active .wp-fullscreen-title, -.wp-fullscreen-active .wp-fullscreen-title:focus, -.wp-fullscreen-active .wp-editor-container { - -webkit-border-radius: 0; - border-radius: 0; - border: 1px dashed transparent; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-transition: border-color 0.4s; - transition: border-color 0.4s; -} - -.wp-fullscreen-active .wp-editor-container { - margin: 0 auto 40px; -} - -.wp-fullscreen-active .wp-fullscreen-title { - font-size: 1.7em; - line-height: 100%; - outline: medium none; - padding: 3px 7px; - margin: 10px auto 30px; - display: block; -} - -#wp-fullscreen-tagline { - color: #888; - font-size: 18px; - float: left; - padding: 4px 0 0; -} - -/* =Top bar --------------------------------------------------------------- */ -#fullscreen-topbar { - background: #f5f5f5; - border-bottom: 1px solid #dedede; - height: 45px; - position: fixed; - right: 0; - left: 0; - top: 0; - width: 100%; - z-index: 100020; - -webkit-transition: opacity 0.4s; - transition: opacity 0.4s; -} - -#wp-fullscreen-toolbar { - padding: 6px 10px 0; - clear: both; - max-width: 1100px; - margin: 0 auto; -} - -#wp-fullscreen-mode-bar, -#wp-fullscreen-button-bar, -#wp-fullscreen-close { - float: right; -} - -#wp-fullscreen-count, -#wp-fullscreen-tagline { - display: inline-block; -} - -#wp-fullscreen-button-bar { - margin-top: 2px; -} - -#wp-fullscreen-save { - float: left; - padding: 2px 0 0; - min-width: 95px; -} - -#wp-fullscreen-count, -#wp-fullscreen-close { - padding: 5px 0 0; -} - -#wp-fullscreen-central-toolbar { - margin: auto; - padding: 0; - min-width: 620px; -} - -#wp-fullscreen-buttons > div { - float: right; -} - -#wp-fullscreen-mode-bar { - padding: 3px 0 0 14px; -} - -#wp-fullscreen-buttons .hidden { - display: none; -} - -#wp-fullscreen-buttons .disabled { - opacity: 0.5; -} - -#wp-fullscreen-buttons .mce-btn button { - margin: 0; - outline: 0 none; - border: 0 none; - white-space: nowrap; - width: auto; - background: none; - color: #333333; - cursor: pointer; - font-size: 18px; - line-height: 20px; - overflow: visible; - text-align: center; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.wp-html-mode #wp-fullscreen-buttons div { - display: none; -} - -.wp-html-mode #wp-fullscreen-buttons div.wp-fullscreen-both { - display: block; -} - -#wp-fullscreen-save img { - vertical-align: middle; -} - -#wp-fullscreen-save span { - display: none; - margin: 5px 6px 0; - float: right; -} - -/* =Thickbox Adjustments --------------------------------------------------------------- */ -.wp-fullscreen-active #TB_overlay { - z-index: 100050; -} - -.wp-fullscreen-active #TB_window { - z-index: 100051; -} - -/* Colors */ -.fullscreen-overlay { - background: #fff; -} - -/* =CSS 3 transitions --------------------------------------------------------------- */ - -.wp-fullscreen-active #fullscreen-topbar { - -webkit-transition-duration: 0.8s; - transition-duration: 0.8s; - opacity: 0; - filter: alpha(opacity=0); -} - -.wp-fullscreen-active #wp-fullscreen-statusbar { - height: 0; -} - -.wp-fullscreen-active.wp-dfw-show-ui #fullscreen-topbar { - -webkit-transition-duration: 0.4s; - transition-duration: 0.4s; - opacity: 1; - filter: alpha(opacity=100); -} - -.wp-fullscreen-active.wp-dfw-show-ui #wp-fullscreen-statusbar { - height: 29px; - background: #f8f8f8; - border-top: 1px solid #eee; -} - -.wp-fullscreen-active .wp-fullscreen-title, -.wp-fullscreen-active .wp-editor-container { - -webkit-transition-duration: 0.8s; - transition-duration: 0.8s; - border-color: transparent; -} - -.wp-fullscreen-active.wp-dfw-show-ui .wp-fullscreen-title, -.wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container { - -webkit-transition-duration: 0.4s; - transition-duration: 0.4s; - border-color: #ccc; -} - -.fade-1000, -.fade-600, -.fade-400, -.fade-300 { - opacity: 0; - -webkit-transition-property: opacity; - transition-property: opacity; -} - -.fade-1000 { - -webkit-transition-duration: 1s; - transition-duration: 1s; -} - -.fade-600 { - -webkit-transition-duration: 0.6s; - transition-duration: 0.6s; -} - -.fade-400 { - -webkit-transition-duration: 0.4s; - transition-duration: 0.4s; -} - -.fade-300 { - -webkit-transition-duration: 0.3s; - transition-duration: 0.3s; -} - -.fade-trigger { - opacity: 1; -} - -/* DFW on touch screen devices */ -.wp-dfw-touch #fullscreen-topbar { - position: absolute; - opacity: 1; -} - -.wp-dfw-touch .wp-fullscreen-wrap .wp-editor-container, -.wp-dfw-touch .wp-fullscreen-title { - max-width: 700px; -} - -.wp-fullscreen-active.wp-dfw-touch .wp-fullscreen-title, -.wp-fullscreen-active.wp-dfw-touch .wp-editor-container { - border-color: #ccc; -} - -.wp-dfw-touch #wp-fullscreen-statusbar { - height: 30px; -} - -@media screen and ( max-width: 782px ) { - #wp-fullscreen-close, - #wp-fullscreen-central-toolbar, - #wp-fullscreen-mode-bar, - #wp-fullscreen-button-bar, - #wp-fullscreen-save { - display: inline-block; - } - - #fullscreen-topbar { - height: 85px; - } - - #wp-fullscreen-central-toolbar { - width: auto !important; - min-width: 0; - } - - #wp-fullscreen-close { - line-height: 30px; - vertical-align: top; - padding: 0 12px; - } - - #wp-fullscreen-button-bar { - position: absolute; - top: 45px; - right: 0; - } - - .wp-fullscreen-wrap { - top: 95px; - } - - #wp-fullscreen-save { - position: absolute; - left: 10px; - } -} - -@media screen and ( max-width: 480px ) { - #wp_fs_help { - display: none; - } - - .wp-fullscreen-wrap .wp-editor-container, - .wp-fullscreen-title { - width: 480px !important; - } - - body.wp-fullscreen-active { - width: 480px; - overflow: auto; - } - - #fullscreen-topbar, - .wp-fullscreen-wrap { - width: 480px; - } - - #fullscreen-topbar { - position: absolute; - } - - #wp-fullscreen-status { - width: auto !important; - max-width: 100%; - padding: 0 10px; - } -} - -/* =Localization --------------------------------------------------------------- */ -.rtl .wp-switch-editor, -.rtl .quicktags-toolbar input { - font-family: Tahoma, sans-serif; -} - -/* @noflip */ -.mce-rtl .mce-flow-layout .mce-flow-layout-item > div { - direction: rtl; -} - -/* @noflip */ -.mce-rtl .mce-listbox i.mce-caret { - left: 6px; -} - -html:lang(he-il) .rtl .wp-switch-editor, -html:lang(he-il) .rtl .quicktags-toolbar input { - font-family: Arial, sans-serif; -} - -/* HiDPI */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .wp-media-buttons .add_media span.wp-media-buttons-icon, - #wp-fullscreen-buttons #wp_fs_image span.mce_image { - background: none; - } -} - -/* TODO: DFW responsive */ diff --git a/sources/wordpress/wp-includes/css/editor-rtl.min.css b/sources/wordpress/wp-includes/css/editor-rtl.min.css deleted file mode 100644 index 0dde789..0000000 --- a/sources/wordpress/wp-includes/css/editor-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -.mce-container,.mce-container *,.mce-widget,.mce-widget *{color:inherit;font-family:inherit}#mce-modal-block.mce-in{opacity:.7;filter:alpha(opacity=70)}.mce-window{-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);-webkit-font-smoothing:subpixel-antialiased}.mce-window .mce-container-body.mce-abs-layout{overflow:visible}.mce-window .mce-window-head{background:#fcfcfc;border-bottom:1px solid #dfdfdf;padding:0;min-height:36px}.mce-window .mce-window-head .mce-title{color:#444;font-size:18px;font-weight:600;line-height:36px;margin:0;padding:0 16px 0 36px}.mce-window .mce-window-head .mce-close{color:transparent;top:0;left:0;width:36px;height:36px;line-height:36px;text-align:center}.mce-window .mce-window-head .mce-close:before{font:400 20px/36px dashicons;text-align:center;color:#666;width:36px;height:36px;display:block}.mce-window .mce-window-head .mce-close:hover:before{color:#2ea2cc}.mce-window .mce-window-head .mce-dragh{width:-webkit-calc(100% - 36px);width:calc(100% - 36px)}.mce-wp-help .mce-window-head{border-bottom:none}#wp-link .query-results,.mce-checkbox i.mce-i-checkbox,.mce-textbox{border:1px solid #ddd;-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);-webkit-transition:.05s all ease-in-out;transition:.05s all ease-in-out}#wp-link .query-results:focus,.mce-checkbox:focus i.mce-i-checkbox,.mce-textbox.mce-focus,.mce-textbox:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}.mce-floatpanel.mce-popover,.mce-menu{border-color:rgba(0,0,0,.15);-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2)}.mce-floatpanel.mce-popover.mce-bottom{margin-top:2px}.mce-floatpanel .mce-arrow{display:none}.mce-menu .mce-container-body{min-width:160px}.mce-menu-item{border:none;margin-bottom:2px}.mce-menu-has-icons i.mce-ico{line-height:20px}div.mce-panel{border:0;background:#fff;-webkit-filter:none;filter:none}.mce-panel.mce-menu{border:1px solid #ddd}div.mce-tab{line-height:13px}div.mce-toolbar-grp{border-bottom:1px solid #dedede;background:#f5f5f5;padding:0;position:relative}div.mce-toolbar-grp>div{padding:3px}.has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first{padding-left:32px}.mce-toolbar .mce-btn-group{margin:0}div.mce-statusbar{border-top:1px solid #e5e5e5}div.mce-path{padding:2px 10px;margin:0}.mce-path,.mce-path .mce-divider,.mce-path-item{font-size:12px;line-height:18px}.mce-toolbar .mce-btn,.qt-fullscreen{border-color:transparent;background:0 0;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;cursor:pointer}#wp-fullscreen-buttons .mce-btn,.mce-toolbar .mce-btn-group .mce-btn,.qt-fullscreen{border:1px solid transparent;margin:2px;background-image:none;-webkit-border-radius:2px;border-radius:2px;-webkit-filter:none;filter:none}#wp-fullscreen-buttons .mce-btn:focus,#wp-fullscreen-buttons .mce-btn:hover,.mce-toolbar .mce-btn-group .mce-btn:focus,.mce-toolbar .mce-btn-group .mce-btn:hover,.qt-fullscreen:focus,.qt-fullscreen:hover{background:#fafafa;border-color:#999;color:#222;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08)}#wp-fullscreen-buttons .mce-btn.mce-active,#wp-fullscreen-buttons .mce-btn:active,.mce-toolbar .mce-btn-group .mce-btn.mce-active,.mce-toolbar .mce-btn-group .mce-btn:active{background:#ebebeb;border-color:#999;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.3);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.3)}.mce-toolbar .mce-btn-group .mce-btn.mce-active:hover{border-color:#555}.mce-toolbar .mce-btn-group .mce-btn.mce-active:hover i.mce-ico{color:#555}#wp-fullscreen-buttons .mce-btn.mce-disabled:focus,#wp-fullscreen-buttons .mce-btn.mce-disabled:hover,.mce-toolbar .mce-btn-group .mce-btn.mce-disabled:focus,.mce-toolbar .mce-btn-group .mce-btn.mce-disabled:hover{color:#aaa;background:0 0;border-color:#ddd;text-shadow:0 1px 0 #fff;-webkit-box-shadow:none;box-shadow:none}.mce-toolbar .mce-btn-group .mce-first,.mce-toolbar .mce-btn-group .mce-last{border-color:transparent}.mce-toolbar .mce-btn button,.qt-fullscreen{padding:2px 3px;line-height:normal}.mce-toolbar .mce-btn i{text-shadow:none}.mce-toolbar .mce-btn-group>div{white-space:normal}.mce-toolbar .mce-colorbutton .mce-open{border-left:0}.mce-toolbar .mce-colorbutton .mce-preview{margin:0;padding:0;top:auto;bottom:2px;right:3px;height:3px;width:20px}.mce-toolbar .mce-btn-group .mce-btn.mce-listbox{-webkit-border-radius:0;border-radius:0;direction:rtl;background:#fff;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 1px -1px rgba(0,0,0,.2);box-shadow:inset 0 1px 1px -1px rgba(0,0,0,.2)}.mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover{background-image:none;border-color:#bbb}.mce-toolbar .mce-btn-group .mce-btn.mce-listbox span{font-size:13px}.mce-panel .mce-btn i.mce-caret{border-top:6px solid #777;margin-right:2px;margin-left:2px}.mce-listbox i.mce-caret{left:6px}.mce-panel .mce-btn button.mce-open i.mce-caret,.mce-panel .mce-btn.mce-listbox i.mce-caret{margin-right:0;margin-left:0}.mce-panel .mce-btn:hover i.mce-caret{border-top-color:#333}.mce-panel .mce-active i.mce-caret{border-top:0;border-bottom:6px solid #333;margin-top:7px}.mce-listbox.mce-active i.mce-caret{margin-top:-3px}.mce-toolbar .mce-splitbtn:hover .mce-open{border-left-color:transparent}.mce-toolbar .mce-splitbtn .mce-open.mce-active{-webkit-box-shadow:none;box-shadow:none}.mce-menu .mce-menu-item-normal.mce-active{background-color:#e5e5e5;-webkit-filter:none;filter:none}.mce-menu .mce-menu-item.mce-selected,.mce-menu .mce-menu-item:focus,.mce-menu .mce-menu-item:hover{color:#000;background-color:#bbb;background-image:none;-webkit-filter:none;filter:none}.mce-menu .mce-menu-item.mce-active:hover .mce-text,.mce-menu .mce-menu-item.mce-selected .mce-ico,.mce-menu .mce-menu-item.mce-selected .mce-text,.mce-menu .mce-menu-item:focus .mce-ico,.mce-menu .mce-menu-item:hover .mce-ico,.mce-menu .mce-menu-item:hover .mce-text{color:#000}.mce-menubar{border-color:#e5e5e5;background:#fff;border-width:0 0 1px}.mce-menubar .mce-btn:focus{outline:0}.mce-menu-item-sep:hover,div.mce-menu .mce-menu-item-sep{margin:5px 0 4px}.mce-menubtn span{margin-left:0;padding-right:3px}.mce-menu-has-icons i.mce-ico:before{margin-right:-2px}.mce-primary button,.mce-primary button i{text-align:center;color:#fff;text-shadow:none;padding:0;line-height:26px}.mce-window .mce-btn{color:#555;background:#f7f7f7;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0;cursor:pointer;border:1px solid #ccc;-webkit-appearance:none;-webkit-border-radius:3px;border-radius:3px;white-space:nowrap;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08)}.mce-window .mce-btn::-moz-focus-inner{border-width:1px 0;border-style:solid none;border-color:transparent;padding:0}.mce-window .mce-btn:focus,.mce-window .mce-btn:hover{background:#fafafa;border-color:#999;color:#222}.mce-window .mce-btn:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.mce-window .mce-btn:active{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.mce-window .mce-btn.mce-disabled{color:#aaa;border-color:#ddd;background:#f7f7f7;-webkit-box-shadow:none;box-shadow:none;text-shadow:0 1px 0 #fff;cursor:default}.mce-window .mce-btn.mce-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.mce-window .mce-btn.mce-primary:focus,.mce-window .mce-btn.mce-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.mce-window .mce-btn.mce-primary:focus{border-color:#0e3950;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.mce-window .mce-btn.mce-primary:active{background:#1b7aa6;border-color:#005684;color:rgba(255,255,255,.95);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);vertical-align:top}.mce-window .mce-btn.mce-primary.mce-disabled{color:#94cde7;background:#298cba;border-color:#1b607f;-webkit-box-shadow:none;box-shadow:none;text-shadow:0 -1px 0 rgba(0,0,0,.1);cursor:default}.mce-menubtn.mce-fixed-width button span{max-width:80px;padding-left:16px}.mce-charmap{margin:3px}.mce-charmap td{padding:0;border-color:#dfdfdf;cursor:pointer}.mce-charmap td:hover{background:#f3f3f3}.mce-charmap td div{width:18px;height:22px;line-height:22px}.mce-tooltip{margin-top:2px}.mce-tooltip-inner{-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2);color:#fff;font-size:12px}.mce-ico{font-family:tinymce,Arial}.mce-btn-small .mce-ico{font-family:tinymce-small,Arial}.mce-toolbar .mce-ico{color:#777;line-height:20px;width:20px;height:20px;text-align:center;text-shadow:none;margin:0;padding:0}.qt-fullscreen{color:#777;line-height:20px;width:28px;height:26px;text-align:center;text-shadow:none}.mce-toolbar .mce-btn .mce-open{line-height:20px}.mce-toolbar .mce-btn.mce-active .mce-open,.mce-toolbar .mce-btn:focus .mce-open,.mce-toolbar .mce-btn:hover .mce-open{border-right-color:#999}.mce-close,i.mce-i-aligncenter,i.mce-i-alignjustify,i.mce-i-alignleft,i.mce-i-alignright,i.mce-i-backcolor,i.mce-i-blockquote,i.mce-i-bold,i.mce-i-bullist,i.mce-i-charmap,i.mce-i-forecolor,i.mce-i-fullscreen,i.mce-i-help,i.mce-i-hr,i.mce-i-indent,i.mce-i-italic,i.mce-i-link,i.mce-i-ltr,i.mce-i-numlist,i.mce-i-outdent,i.mce-i-pastetext,i.mce-i-pasteword,i.mce-i-redo,i.mce-i-removeformat,i.mce-i-spellchecker,i.mce-i-strikethrough,i.mce-i-underline,i.mce-i-undo,i.mce-i-unlink,i.mce-i-wp-media-library,i.mce-i-wp_adv,i.mce-i-wp_fullscreen,i.mce-i-wp_help,i.mce-i-wp_more,i.mce-i-wp_page{font:400 20px/1 dashicons;padding:0 0 0 2px;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-right:-2px}.qt-fullscreen{font:400 20px/1 dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}i.mce-i-bold:before{content:'\f200'}i.mce-i-italic:before{content:'\f201'}i.mce-i-bullist:before{content:'\f203'}i.mce-i-numlist:before{content:'\f204'}i.mce-i-blockquote:before{content:'\f205'}i.mce-i-alignleft:before{content:'\f206'}i.mce-i-aligncenter:before{content:'\f207'}i.mce-i-alignright:before{content:'\f208'}i.mce-i-link:before{content:'\f103'}i.mce-i-unlink:before{content:'\f225'}i.mce-i-wp_more:before{content:'\f209'}i.mce-i-strikethrough:before{content:'\f224'}i.mce-i-spellchecker:before{content:'\f210'}.qt-fullscreen:before,i.mce-i-fullscreen:before,i.mce-i-wp_fullscreen:before{content:'\f211'}i.mce-i-wp_adv:before{content:'\f212'}i.mce-i-underline:before{content:'\f213'}i.mce-i-alignjustify:before{content:'\f214'}i.mce-i-backcolor:before,i.mce-i-forecolor:before{content:'\f215'}i.mce-i-pastetext:before{content:'\f217'}i.mce-i-removeformat:before{content:'\f218'}i.mce-i-charmap:before{content:'\f220'}i.mce-i-outdent:before{content:'\f221'}i.mce-i-indent:before{content:'\f222'}i.mce-i-undo:before{content:'\f171'}i.mce-i-redo:before{content:'\f172'}i.mce-i-help:before,i.mce-i-wp_help:before{content:'\f223'}i.mce-i-wp-media-library:before{content:'\f104'}i.mce-i-ltr:before{content:'\f320'}i.mce-i-wp_page:before{content:'\f105'}i.mce-i-hr:before{content:'\f460'}.mce-close:before{content:'\f158'}.mce-i-wp_code:before{content:'\f475'}.wp-editor-wrap{position:relative}.wp-editor-tools{position:relative;z-index:1}.wp-editor-tools:after{clear:both;content:'';display:table}.wp-editor-container{clear:both}.wp-editor-area{font-family:Consolas,Monaco,monospace;font-size:13px;padding:10px;margin:1px 0 0;line-height:150%;border:0;outline:0;display:block;resize:vertical;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-editor-container textarea.wp-editor-area{width:100%;margin:0;-webkit-box-shadow:none;box-shadow:none}.wp-editor-tabs{float:left}.wp-switch-editor{background:#ebebeb;border:1px solid #dedede;color:#777;cursor:pointer;float:left;font:13px/19px "Open Sans",sans-serif;height:19px;margin:5px 5px 0 0;padding:3px 8px 4px;position:relative;top:1px}.wp-switch-editor:active{background-color:#f1f1f1}.wp-switch-editor:hover{text-decoration:none!important;background:#fff}.js .tmce-active .wp-editor-area{color:#fff}.tmce-active .quicktags-toolbar{display:none}.html-active .switch-html,.tmce-active .switch-tmce{background:#f5f5f5;color:#555;height:20px;border-bottom:none}.wp-media-buttons{float:right}.wp-media-buttons .button{margin-left:5px;margin-bottom:4px;padding-right:7px;padding-left:7px}.wp-media-buttons .button:active{position:relative;top:1px;margin-top:-1px;margin-bottom:1px}.wp-media-buttons .insert-media{padding-right:5px}.wp-media-buttons a{text-decoration:none;color:#464646;font-size:12px}.wp-media-buttons img{padding:0 4px;vertical-align:middle}.wp-media-buttons span.wp-media-buttons-icon{display:inline-block;width:18px;height:18px;vertical-align:text-top;margin:0 2px}.wp-media-buttons .add_media span.wp-media-buttons-icon{background:0 0}.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f104'}.quicktags-toolbar{padding:3px;position:relative;border-bottom:1px solid #dedede;background:#f5f5f5}.has-dfw .quicktags-toolbar{padding-left:35px}.wp-core-ui .quicktags-toolbar input.button.button-small{margin:2px}.quicktags-toolbar input[value=link]{text-decoration:underline}.quicktags-toolbar input[value=del]{text-decoration:line-through}.quicktags-toolbar input[value="i"]{font-style:italic}.quicktags-toolbar input[value="b"]{font-weight:700}.mce-toolbar .mce-btn-group .mce-btn.mce-wp-fullscreen,.qt-fullscreen{position:absolute;top:0;left:0;margin:5px 0 0 5px}@media screen and (max-width:782px){.mce-toolbar .mce-btn button,.qt-fullscreen{padding:6px 7px}#wp-fullscreen-buttons .mce-btn,.mce-toolbar .mce-btn-group .mce-btn{margin:1px}.qt-fullscreen{width:36px;height:34px}.mce-toolbar .mce-btn-group .mce-btn.mce-wp-fullscreen{margin:4px 0 0 4px}.mce-toolbar .mce-colorbutton .mce-preview{right:8px;bottom:6px}.mce-window .mce-btn{padding:2px 0}.has-dfw .quicktags-toolbar,.has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first{padding-left:40px}}@media screen and (min-width:782px){.wp-core-ui .quicktags-toolbar input.button.button-small{font-size:12px;height:26px;line-height:24px}}#wp_editbtns,#wp_gallerybtns{padding:2px;position:absolute;display:none;z-index:100020}#wp_delgallery,#wp_delimgbtn,#wp_editgallery,#wp_editimgbtn{border-color:#999;background-color:#eee;margin:2px;padding:2px;border-width:1px;border-style:solid;-webkit-border-radius:3px;border-radius:3px}#wp_delgallery:hover,#wp_delimgbtn:hover,#wp_editgallery:hover,#wp_editimgbtn:hover{border-color:#555;background-color:#ccc}#wp-link-wrap{display:none;background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);width:500px;height:250px;overflow:hidden;margin-right:-250px;margin-top:-125px;position:fixed;top:50%;right:50%;z-index:100105;-webkit-transition:height .2s,margin-top .2s;transition:height .2s,margin-top .2s}#wp-link-backdrop{display:none;position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}#wp-link{position:relative;height:100%}#wp-link-wrap.search-panel-visible{height:500px;margin-top:-250px}#link-modal-title{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 16px 0 36px;top:0;left:0;right:0}#wp-link-close{color:#666;padding:0;position:absolute;top:0;left:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}#wp-link-close:before{font:400 20px/36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:36px;height:36px;content:'\f158'}#wp-link-close:focus,#wp-link-close:hover{color:#2ea2cc}#wp-link-close:focus{outline:0;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#link-selector{padding:0 16px 50px}#wp-link-wrap.search-panel-visible #link-selector{padding:0 16px;position:absolute;top:36px;right:0;left:0;bottom:44px}#wp-link ol,#wp-link ul{list-style:none;margin:0;padding:0}#wp-link-search-toggle:after{display:inline-block;font:400 20px/1 dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f140'}.search-panel-visible #wp-link-search-toggle:after{content:'\f142'}#wp-link input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-link #link-options{padding:8px 0 12px}#wp-link p.howto{margin:3px 0}#wp-link p.howto a{text-decoration:none;color:inherit}#wp-link-search-toggle{cursor:pointer}#wp-link label input[type=text]{margin-top:5px;width:70%}#wp-link #link-options label span,#wp-link #search-panel label span.search-label{display:inline-block;width:80px;text-align:left;padding-left:5px;max-width:24%}#wp-link .link-search-field{float:right;width:250px;max-width:70%}#wp-link .link-search-wrapper{margin:5px 0 9px;display:block;overflow:hidden}#wp-link .link-search-wrapper span{float:right;margin-top:4px}#wp-link .link-search-wrapper .spinner{display:none;vertical-align:text-bottom}#wp-link .link-target{padding:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#wp-link .link-target label{max-width:70%}#wp-link .query-results{border:1px solid #dfdfdf;margin:0;background:#fff;overflow:auto;position:absolute;right:16px;left:16px;bottom:16px;top:205px}#wp-link li{clear:both;margin-bottom:0;border-bottom:1px solid #f1f1f1;color:#333;padding:4px 10px 4px 6px;cursor:pointer;position:relative}#wp-link .query-notice{padding:0;border-bottom:1px solid #dfdfdf;background-color:#f7fcfe;color:#000}#wp-link .query-notice .query-notice-default,#wp-link .query-notice .query-notice-hint{display:block;padding:6px;border-right:4px solid #2ea2cc}#wp-link .unselectable.no-matches-found{padding:0;border-bottom:1px solid #dfdfdf;background-color:#fef7f1}#wp-link .no-matches-found .item-title{display:block;padding:6px;border-right:4px solid #d54e21}#wp-link .query-results em{font-style:normal}#wp-link li:hover{background:#eaf2fa;color:#151515}#wp-link li.unselectable{border-bottom:1px solid #dfdfdf}#wp-link li.unselectable:hover{background:#fff;cursor:auto;color:#333}#wp-link li.selected{background:#ddd;color:#333}#wp-link li.selected .item-title{font-weight:700}#wp-link li:last-child{border:none}#wp-link .item-title{display:inline-block;width:80%;width:-webkit-calc(100% - 68px);width:calc(100% - 68px)}#wp-link .item-info{text-transform:uppercase;color:#666;font-size:11px;position:absolute;left:5px;top:5px}#wp-link #search-panel,#wp-link #search-results{display:none}#wp-link-wrap.search-panel-visible #search-panel{display:block}#wp-link .river-waiting{display:none;padding:10px 0}#wp-link .river-waiting .spinner{margin:0 auto;display:block;float:none}#wp-link .submitbox{padding:8px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;position:absolute;bottom:0;right:0;left:0}#wp-link-cancel{line-height:25px;float:right}#wp-link-update{line-height:23px;float:left}#wp-link-submit{float:left;margin-bottom:0}@media screen and (max-width:782px){#wp-link-wrap{height:280px;margin-top:-140px}#wp-link-wrap.search-panel-visible .query-results{top:235px}#link-selector{padding:0 16px 60px}#wp-link-wrap.search-panel-visible #link-selector{bottom:52px}#wp-link-cancel{line-height:32px}}@media screen and (max-width:520px){#wp-link-wrap{width:auto;margin-right:0;right:10px;left:10px;max-width:500px}}@media screen and (max-height:520px){#wp-link-wrap{-webkit-transition:none;transition:none}#wp-link-wrap.search-panel-visible{height:auto;margin-top:0;top:10px;bottom:10px}.search-panel-visible #link-selector{overflow:auto}.search-panel-visible #search-panel .query-results{position:static}}@media screen and (max-height:290px){#wp-link-wrap{height:auto;margin-top:0;top:10px;bottom:10px}#link-selector{overflow:auto;height:-webkit-calc(100% - 92px);height:calc(100% - 92px);padding-bottom:2px}#search-panel .query-results{position:static}}.fullscreen-overlay{z-index:100005;display:none;position:fixed;top:0;bottom:0;right:0;left:0;-webkit-filter:inherit;filter:inherit}.wp-fullscreen-active #wp-fullscreen-body,.wp-fullscreen-active .fullscreen-overlay{display:block}.fullscreen-fader{z-index:200000}.wp-core-ui.wp-fullscreen-active .postbox-container,.wp-fullscreen-active .fullscreen-fader{display:none}#wp-fullscreen-body,.mce-fullscreen{z-index:100010}#wp-fullscreen-body{display:none}.wp-fullscreen-wrap{margin:0;padding:0;position:absolute;right:0;left:0;bottom:30px;top:60px;z-index:100015}#wp-fullscreen-central-toolbar,.wp-fullscreen-title,.wp-fullscreen-wrap .wp-editor-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-width:100%}.wp-fullscreen-active .mce-statusbar,.wp-fullscreen-active .mce-toolbar-grp,.wp-fullscreen-active .quicktags-toolbar,.wp-fullscreen-active .wp-editor-tools{display:none}#wp-fullscreen-statusbar{position:fixed;right:0;left:0;bottom:0;height:30px;z-index:100020;background:#fff;-webkit-transition:height .2s;transition:height .2s}#wp-fullscreen-status{margin:0 auto;padding:0}.wp-fullscreen-active .wp-editor-container,.wp-fullscreen-active .wp-fullscreen-title,.wp-fullscreen-active .wp-fullscreen-title:focus{-webkit-border-radius:0;border-radius:0;border:1px dashed transparent;background:0 0;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:border-color .4s;transition:border-color .4s}.wp-fullscreen-active .wp-editor-container{margin:0 auto 40px}.wp-fullscreen-active .wp-fullscreen-title{font-size:1.7em;line-height:100%;outline:0;padding:3px 7px;margin:10px auto 30px;display:block}#wp-fullscreen-tagline{color:#888;font-size:18px;float:left;padding:4px 0 0}#fullscreen-topbar{background:#f5f5f5;border-bottom:1px solid #dedede;height:45px;position:fixed;right:0;left:0;top:0;width:100%;z-index:100020;-webkit-transition:opacity .4s;transition:opacity .4s}#wp-fullscreen-toolbar{padding:6px 10px 0;clear:both;max-width:1100px;margin:0 auto}#wp-fullscreen-button-bar,#wp-fullscreen-close,#wp-fullscreen-mode-bar{float:right}#wp-fullscreen-count,#wp-fullscreen-tagline{display:inline-block}#wp-fullscreen-button-bar{margin-top:2px}#wp-fullscreen-save{float:left;padding:2px 0 0;min-width:95px}#wp-fullscreen-close,#wp-fullscreen-count{padding:5px 0 0}#wp-fullscreen-central-toolbar{margin:auto;padding:0;min-width:620px}#wp-fullscreen-buttons>div{float:right}#wp-fullscreen-mode-bar{padding:3px 0 0 14px}#wp-fullscreen-buttons .hidden{display:none}#wp-fullscreen-buttons .disabled{opacity:.5}#wp-fullscreen-buttons .mce-btn button{margin:0;outline:0;border:0;white-space:nowrap;width:auto;background:0 0;color:#333;cursor:pointer;font-size:18px;line-height:20px;overflow:visible;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-html-mode #wp-fullscreen-buttons div{display:none}.wp-html-mode #wp-fullscreen-buttons div.wp-fullscreen-both{display:block}#wp-fullscreen-save img{vertical-align:middle}#wp-fullscreen-save span{display:none;margin:5px 6px 0;float:right}.wp-fullscreen-active #TB_overlay{z-index:100050}.wp-fullscreen-active #TB_window{z-index:100051}.fullscreen-overlay{background:#fff}.wp-fullscreen-active #fullscreen-topbar{-webkit-transition-duration:.8s;transition-duration:.8s;opacity:0;filter:alpha(opacity=0)}.wp-fullscreen-active #wp-fullscreen-statusbar{height:0}.wp-fullscreen-active.wp-dfw-show-ui #fullscreen-topbar{-webkit-transition-duration:.4s;transition-duration:.4s;opacity:1;filter:alpha(opacity=100)}.wp-fullscreen-active.wp-dfw-show-ui #wp-fullscreen-statusbar{height:29px;background:#f8f8f8;border-top:1px solid #eee}.wp-fullscreen-active .wp-editor-container,.wp-fullscreen-active .wp-fullscreen-title{-webkit-transition-duration:.8s;transition-duration:.8s;border-color:transparent}.wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container,.wp-fullscreen-active.wp-dfw-show-ui .wp-fullscreen-title{-webkit-transition-duration:.4s;transition-duration:.4s;border-color:#ccc}.fade-1000,.fade-300,.fade-400,.fade-600{opacity:0;-webkit-transition-property:opacity;transition-property:opacity}.fade-1000{-webkit-transition-duration:1s;transition-duration:1s}.fade-600{-webkit-transition-duration:.6s;transition-duration:.6s}.fade-400{-webkit-transition-duration:.4s;transition-duration:.4s}.fade-300{-webkit-transition-duration:.3s;transition-duration:.3s}.fade-trigger{opacity:1}.wp-dfw-touch #fullscreen-topbar{position:absolute;opacity:1}.wp-dfw-touch .wp-fullscreen-title,.wp-dfw-touch .wp-fullscreen-wrap .wp-editor-container{max-width:700px}.wp-fullscreen-active.wp-dfw-touch .wp-editor-container,.wp-fullscreen-active.wp-dfw-touch .wp-fullscreen-title{border-color:#ccc}.wp-dfw-touch #wp-fullscreen-statusbar{height:30px}@media screen and (max-width:782px){#wp-fullscreen-button-bar,#wp-fullscreen-central-toolbar,#wp-fullscreen-close,#wp-fullscreen-mode-bar,#wp-fullscreen-save{display:inline-block}#fullscreen-topbar{height:85px}#wp-fullscreen-central-toolbar{width:auto!important;min-width:0}#wp-fullscreen-close{line-height:30px;vertical-align:top;padding:0 12px}#wp-fullscreen-button-bar{position:absolute;top:45px;right:0}.wp-fullscreen-wrap{top:95px}#wp-fullscreen-save{position:absolute;left:10px}}@media screen and (max-width:480px){#wp_fs_help{display:none}.wp-fullscreen-title,.wp-fullscreen-wrap .wp-editor-container{width:480px!important}body.wp-fullscreen-active{width:480px;overflow:auto}#fullscreen-topbar,.wp-fullscreen-wrap{width:480px}#fullscreen-topbar{position:absolute}#wp-fullscreen-status{width:auto!important;max-width:100%;padding:0 10px}}.rtl .quicktags-toolbar input,.rtl .wp-switch-editor{font-family:Tahoma,sans-serif}.mce-rtl .mce-flow-layout .mce-flow-layout-item>div{direction:rtl}.mce-rtl .mce-listbox i.mce-caret{left:6px}html:lang(he-il) .rtl .quicktags-toolbar input,html:lang(he-il) .rtl .wp-switch-editor{font-family:Arial,sans-serif}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#wp-fullscreen-buttons #wp_fs_image span.mce_image,.wp-media-buttons .add_media span.wp-media-buttons-icon{background:0 0}} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/editor.css b/sources/wordpress/wp-includes/css/editor.css deleted file mode 100644 index b05def9..0000000 --- a/sources/wordpress/wp-includes/css/editor.css +++ /dev/null @@ -1,1985 +0,0 @@ -/*------------------------------------------------------------------------------ - TinyMCE and Quicklinks toolbars -------------------------------------------------------------------------------*/ - -/* TinyMCE widgets/containers */ - -.mce-container, -.mce-container *, -.mce-widget, -.mce-widget * { - color: inherit; - font-family: inherit; -} - -/* TinyMCE windows */ -#mce-modal-block.mce-in { - opacity: 0.7; - filter: alpha(opacity=70); -} - -.mce-window { - -webkit-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - -webkit-font-smoothing: subpixel-antialiased; -} - -.mce-window .mce-container-body.mce-abs-layout { - overflow: visible; -} - -.mce-window .mce-window-head { - background: #fcfcfc; - border-bottom: 1px solid #dfdfdf; - padding: 0; - min-height: 36px; -} - -.mce-window .mce-window-head .mce-title { - color: #444; - font-size: 18px; - font-weight: 600; - line-height: 36px; - margin: 0; - padding: 0 36px 0 16px; -} - -.mce-window .mce-window-head .mce-close { - color: transparent; - top: 0; - right: 0; - width: 36px; - height: 36px; - line-height: 36px; - text-align: center; -} - -.mce-window .mce-window-head .mce-close:before { - font: normal 20px/36px 'dashicons'; - text-align: center; - color: #666; - width: 36px; - height: 36px; - display: block; -} - -.mce-window .mce-window-head .mce-close:hover:before { - color: #2ea2cc; -} - -.mce-window .mce-window-head .mce-dragh { - width: -webkit-calc( 100% - 36px ); - width: calc( 100% - 36px ); -} - -.mce-wp-help .mce-window-head { - border-bottom: none; -} - -.mce-textbox, -.mce-checkbox i.mce-i-checkbox, -#wp-link .query-results { - border: 1px solid #ddd; - -webkit-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); - -webkit-transition: .05s all ease-in-out; - transition: .05s all ease-in-out; -} - -.mce-textbox:focus, -.mce-textbox.mce-focus, -.mce-checkbox:focus i.mce-i-checkbox, -#wp-link .query-results:focus { - border-color: #5b9dd9; - -webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8); - box-shadow: 0 0 2px rgba(30,140,190,0.8); -} - -/* TinyMCE menus */ -.mce-menu, -.mce-floatpanel.mce-popover { - border-color: rgba(0,0,0,0.15); - -webkit-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); - box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); -} - -.mce-floatpanel.mce-popover.mce-bottom { - margin-top: 2px; -} - -.mce-floatpanel .mce-arrow { - display: none; -} - -.mce-menu .mce-container-body { - min-width: 160px; -} - -.mce-menu-item { - border: none; - margin-bottom: 2px; -} - -.mce-menu-has-icons i.mce-ico { - line-height: 20px; -} - -/* TinyMCE panel */ -div.mce-panel { - border: 0; - background: #fff; - -webkit-filter: none; - filter: none; -} - -.mce-panel.mce-menu { - border: 1px solid #ddd; -} - -div.mce-tab { - line-height: 13px; -} - -/* TinyMCE toolbars */ -div.mce-toolbar-grp { - border-bottom: 1px solid #dedede; - background: #f5f5f5; - padding: 0; - position: relative; -} - -div.mce-toolbar-grp > div { - padding: 3px; -} - -.has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first { - padding-right: 32px; -} - -.mce-toolbar .mce-btn-group { - margin: 0; -} - -div.mce-statusbar { - border-top: 1px solid #e5e5e5; -} - -div.mce-path { - padding: 2px 10px; - margin: 0; -} - -.mce-path, -.mce-path-item, -.mce-path .mce-divider { - font-size: 12px; - line-height: 18px; -} - -.mce-toolbar .mce-btn, -.qt-fullscreen { - border-color: transparent; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; - text-shadow: none; - cursor: pointer; -} - -#wp-fullscreen-buttons .mce-btn, -.mce-toolbar .mce-btn-group .mce-btn, -.qt-fullscreen { - border: 1px solid transparent; - margin: 2px; - background-image: none; - -webkit-border-radius: 2px; - border-radius: 2px; - -webkit-filter: none; - filter: none; -} - -#wp-fullscreen-buttons .mce-btn:hover, -.mce-toolbar .mce-btn-group .mce-btn:hover, -#wp-fullscreen-buttons .mce-btn:focus, -.mce-toolbar .mce-btn-group .mce-btn:focus, -.qt-fullscreen:hover, -.qt-fullscreen:focus { - background: #fafafa; - border-color: #999; - color: #222; - -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-active, -#wp-fullscreen-buttons .mce-btn.mce-active, -.mce-toolbar .mce-btn-group .mce-btn:active, -#wp-fullscreen-buttons .mce-btn:active { - background: #ebebeb; - border-color: #999; - -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.3 ); - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.3 ); -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-active:hover { - border-color: #555; -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-active:hover i.mce-ico { - color: #555; -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-disabled:hover, -#wp-fullscreen-buttons .mce-btn.mce-disabled:hover, -.mce-toolbar .mce-btn-group .mce-btn.mce-disabled:focus, -#wp-fullscreen-buttons .mce-btn.mce-disabled:focus { - color: #aaa; - background: none; - border-color: #ddd; - text-shadow: 0 1px 0 #fff; - -webkit-box-shadow: none; - box-shadow: none; -} - -.mce-toolbar .mce-btn-group .mce-first, -.mce-toolbar .mce-btn-group .mce-last { - border-color: transparent; -} - -.mce-toolbar .mce-btn button, -.qt-fullscreen { - padding: 2px 3px; - line-height: normal; -} - -.mce-toolbar .mce-btn i { - text-shadow: none; -} - -.mce-toolbar .mce-btn-group > div { - white-space: normal; -} - -.mce-toolbar .mce-colorbutton .mce-open { - border-right: 0; -} - -.mce-toolbar .mce-colorbutton .mce-preview { - margin: 0; - padding: 0; - top: auto; - bottom: 2px; - left: 3px; - height: 3px; - width: 20px; -} - -/* mce listbox */ -.mce-toolbar .mce-btn-group .mce-btn.mce-listbox { - -webkit-border-radius: 0; - border-radius: 0; - direction: ltr; - background: #fff; - border: 1px solid #ddd; - -webkit-box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, .2); - box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, .2); -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover { - background-image: none; - border-color: #bbb; -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-listbox span { - font-size: 13px; -} - -.mce-panel .mce-btn i.mce-caret { - border-top: 6px solid #777; - margin-left: 2px; - margin-right: 2px; -} - -.mce-listbox i.mce-caret { - right: 6px; -} - -.mce-panel .mce-btn button.mce-open i.mce-caret, -.mce-panel .mce-btn.mce-listbox i.mce-caret { - margin-left: 0; - margin-right: 0; -} - -.mce-panel .mce-btn:hover i.mce-caret { - border-top-color: #333; -} - -.mce-panel .mce-active i.mce-caret { - border-top: 0; - border-bottom: 6px solid #333; - margin-top: 7px; -} - -.mce-listbox.mce-active i.mce-caret { - margin-top: -3px; -} - -.mce-toolbar .mce-splitbtn:hover .mce-open { - border-right-color: transparent; -} - -.mce-toolbar .mce-splitbtn .mce-open.mce-active{ - -webkit-box-shadow: none; - box-shadow: none; -} - -.mce-menu .mce-menu-item-normal.mce-active { - background-color: #e5e5e5; - -webkit-filter: none; - filter: none; -} - -.mce-menu .mce-menu-item:hover, -.mce-menu .mce-menu-item.mce-selected, -.mce-menu .mce-menu-item:focus { - color: #000; - background-color: #bbb; - background-image: none; - -webkit-filter: none; - filter: none; -} - -.mce-menu .mce-menu-item:hover .mce-ico, -.mce-menu .mce-menu-item.mce-selected .mce-ico, -.mce-menu .mce-menu-item:focus .mce-ico, -.mce-menu .mce-menu-item:hover .mce-text, -.mce-menu .mce-menu-item.mce-active:hover .mce-text, -.mce-menu .mce-menu-item.mce-selected .mce-text { - color: #000; -} - -/* Menubar */ -.mce-menubar { - border-color: #e5e5e5; - background: #fff; - border-width: 0px 0px 1px; -} - -.mce-menubar .mce-btn:focus { - outline: 0; -} - -div.mce-menu .mce-menu-item-sep, -.mce-menu-item-sep:hover { - margin: 5px 0 4px; -} - -.mce-menubtn span { - margin-right: 0; - padding-left: 3px; -} - -.mce-menu-has-icons i.mce-ico:before { - margin-left: -2px; -} - -/* Buttons in modals */ -.mce-primary button, -.mce-primary button i { - text-align: center; - color: #fff; - text-shadow: none; - padding: 0; - line-height: 26px; -} - -.mce-window .mce-btn { - color: #555; - background: #f7f7f7; - text-decoration: none; - font-size: 13px; - line-height: 26px; - height: 28px; - margin: 0; - padding: 0; - cursor: pointer; - border: 1px solid #ccc; - -webkit-appearance: none; - -webkit-border-radius: 3px; - border-radius: 3px; - white-space: nowrap; - -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - background-image: none; -} - -/* Remove the dotted border on :focus and the extra padding in Firefox */ -.mce-window .mce-btn::-moz-focus-inner { - border-width: 1px 0; - border-style: solid none; - border-color: transparent; - padding: 0; -} - -.mce-window .mce-btn:hover, -.mce-window .mce-btn:focus { - background: #fafafa; - border-color: #999; - color: #222; -} - -.mce-window .mce-btn:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); -} - -.mce-window .mce-btn:active { - background: #eee; - border-color: #999; - color: #333; - -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); -} - -.mce-window .mce-btn.mce-disabled { - color: #aaa; - border-color: #ddd; - background: #f7f7f7; - -webkit-box-shadow: none; - box-shadow: none; - text-shadow: 0 1px 0 #fff; - cursor: default; -} - -.mce-window .mce-btn.mce-primary { - background: #2ea2cc; - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - color: #fff; - text-decoration: none; -} - -.mce-window .mce-btn.mce-primary:hover, -.mce-window .mce-btn.mce-primary:focus { - background: #1e8cbe; - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ); - color: #fff; -} - -.mce-window .mce-btn.mce-primary:focus { - border-color: #0e3950; - -webkit-box-shadow: - inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); -} - -.mce-window .mce-btn.mce-primary:active { - background: #1b7aa6; - border-color: #005684; - color: rgba( 255, 255, 255, 0.95 ); - -webkit-box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - vertical-align: top; -} - -.mce-window .mce-btn.mce-primary.mce-disabled { - color: #94cde7; - background: #298cba; - border-color: #1b607f; - -webkit-box-shadow: none; - box-shadow: none; - text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.1 ); - cursor: default; -} - -.mce-menubtn.mce-fixed-width button span { - max-width: 80px; - padding-right: 16px; -} - -/* Charmap modal */ -.mce-charmap { - margin: 3px; -} - -.mce-charmap td { - padding: 0; - border-color: #dfdfdf; - cursor: pointer; -} - -.mce-charmap td:hover { - background: #f3f3f3; -} - -.mce-charmap td div { - width: 18px; - height: 22px; - line-height: 22px; -} - -/* TinyMCE tooltips */ -.mce-tooltip { - margin-top: 2px; -} - -.mce-tooltip-inner { - -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); - box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); - color: #fff; - font-size: 12px; -} - -/* TinyMCE icons */ -.mce-ico { - font-family: 'tinymce', Arial; -} - -.mce-btn-small .mce-ico { - font-family: 'tinymce-small', Arial; -} - -.mce-toolbar .mce-ico { - color: #777; - line-height: 20px; - width: 20px; - height: 20px; - text-align: center; - text-shadow: none; - margin: 0; - padding: 0; -} - -.qt-fullscreen { - color: #777; - line-height: 20px; - width: 28px; - height: 26px; - text-align: center; - text-shadow: none; -} - -.mce-toolbar .mce-btn .mce-open { - line-height: 20px; -} - -.mce-toolbar .mce-btn:hover .mce-open, -.mce-toolbar .mce-btn:focus .mce-open, -.mce-toolbar .mce-btn.mce-active .mce-open { - border-left-color: #999; -} - -i.mce-i-bold, -i.mce-i-italic, -i.mce-i-bullist, -i.mce-i-numlist, -i.mce-i-blockquote, -i.mce-i-alignleft, -i.mce-i-aligncenter, -i.mce-i-alignright, -i.mce-i-link, -i.mce-i-unlink, -i.mce-i-wp_more, -i.mce-i-strikethrough, -i.mce-i-spellchecker, -i.mce-i-fullscreen, -i.mce-i-wp_fullscreen, -i.mce-i-wp_adv, -i.mce-i-underline, -i.mce-i-alignjustify, -i.mce-i-forecolor, -i.mce-i-backcolor, -i.mce-i-pastetext, -i.mce-i-pasteword, -i.mce-i-removeformat, -i.mce-i-charmap, -i.mce-i-outdent, -i.mce-i-indent, -i.mce-i-undo, -i.mce-i-redo, -i.mce-i-help, -i.mce-i-wp_help, -i.mce-i-wp-media-library, -i.mce-i-ltr, -i.mce-i-wp_page, -i.mce-i-hr, -.mce-close { - font: normal 20px/1 'dashicons'; - padding: 0; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - margin-left: -2px; - padding-right: 2px; -} - -.qt-fullscreen { - font: normal 20px/1 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -i.mce-i-bold:before { - content: '\f200'; -} - -i.mce-i-italic:before { - content: '\f201'; -} - -i.mce-i-bullist:before { - content: '\f203'; -} - -i.mce-i-numlist:before { - content: '\f204'; -} - -i.mce-i-blockquote:before { - content: '\f205'; -} - -i.mce-i-alignleft:before { - content: '\f206'; -} - -i.mce-i-aligncenter:before { - content: '\f207'; -} - -i.mce-i-alignright:before { - content: '\f208'; -} - -i.mce-i-link:before { - content: '\f103'; -} - -i.mce-i-unlink:before { - content: '\f225'; -} - -i.mce-i-wp_more:before { - content: '\f209'; -} - -i.mce-i-strikethrough:before { - content: '\f224'; -} - -i.mce-i-spellchecker:before { - content: '\f210'; -} - -i.mce-i-fullscreen:before, -i.mce-i-wp_fullscreen:before, -.qt-fullscreen:before { - content: '\f211'; -} - -i.mce-i-wp_adv:before { - content: '\f212'; -} - -i.mce-i-underline:before { - content: '\f213'; -} - -i.mce-i-alignjustify:before { - content: '\f214'; -} - -i.mce-i-forecolor:before, -i.mce-i-backcolor:before { - content: '\f215'; -} - -i.mce-i-pastetext:before { - content: '\f217'; -} - -i.mce-i-removeformat:before { - content: '\f218'; -} - -i.mce-i-charmap:before { - content: '\f220'; -} - -i.mce-i-outdent:before { - content: '\f221'; -} - -i.mce-i-indent:before { - content: '\f222'; -} - -i.mce-i-undo:before { - content: '\f171'; -} - -i.mce-i-redo:before { - content: '\f172'; -} - -i.mce-i-help:before, -i.mce-i-wp_help:before { - content: '\f223'; -} - -i.mce-i-wp-media-library:before { - content: '\f104'; -} - -i.mce-i-ltr:before { - content: '\f320'; -} - -i.mce-i-wp_page:before { - content: '\f105'; -} - -i.mce-i-hr:before { - content: '\f460'; -} - -.mce-close:before { - content: '\f158'; -} - -.mce-i-wp_code:before { - content: '\f475'; -} - -/* Editors */ -.wp-editor-wrap { - position: relative; -} - -.wp-editor-tools { - position: relative; - z-index: 1; -} - -.wp-editor-tools:after { - clear: both; - content: ''; - display: table; -} - -.wp-editor-container { - clear: both; -} - -.wp-editor-area { - font-family: Consolas, Monaco, monospace; - font-size: 13px; - padding: 10px; - margin: 1px 0 0; - line-height: 150%; - border: 0 none; - outline: none; - display: block; - resize: vertical; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.wp-editor-container textarea.wp-editor-area { - width: 100%; - margin: 0; - -webkit-box-shadow: none; - box-shadow: none; -} - -.wp-editor-tabs { - float: right; -} - -.wp-switch-editor { - background: #ebebeb; - border: 1px solid #dedede; - color: #777; - cursor: pointer; - float: right; - font: 13px/19px "Open Sans", sans-serif; - height: 19px; - margin: 5px 0 0 5px; - padding: 3px 8px 4px; - position: relative; - top: 1px; -} - -.wp-switch-editor:active { - background-color: #f1f1f1; -} - -.wp-switch-editor:hover { - text-decoration: none !important; - background: #fff; -} - -.js .tmce-active .wp-editor-area { - color: white; -} - -.tmce-active .quicktags-toolbar { - display: none; -} - -.tmce-active .switch-tmce, -.html-active .switch-html { - background: #f5f5f5; - color: #555; - height: 20px; - border-bottom: none; -} - -.wp-media-buttons { - float: left; -} - -.wp-media-buttons .button { - margin-right: 5px; - margin-bottom: 4px; - padding-left: 7px; - padding-right: 7px; -} - -.wp-media-buttons .button:active { - position: relative; - top: 1px; - margin-top: -1px; - margin-bottom: 1px; -} - -.wp-media-buttons .insert-media { - padding-left: 5px; -} - -.wp-media-buttons a { - text-decoration: none; - color: #464646; - font-size: 12px; -} - -.wp-media-buttons img { - padding: 0 4px; - vertical-align: middle; -} - -.wp-media-buttons span.wp-media-buttons-icon { - display: inline-block; - width: 18px; - height: 18px; - vertical-align: text-top; - margin: 0 2px; -} - -.wp-media-buttons .add_media span.wp-media-buttons-icon { - background: none; -} - -.wp-media-buttons .add_media span.wp-media-buttons-icon:before { - font: normal 18px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-media-buttons .add_media span.wp-media-buttons-icon:before { - content: '\f104'; -} - -/* Quicktags */ -.quicktags-toolbar { - padding: 3px; - position: relative; - border-bottom: 1px solid #dedede; - background: #f5f5f5; -} - -.has-dfw .quicktags-toolbar { - padding-right: 35px; -} - -.wp-core-ui .quicktags-toolbar input.button.button-small { - margin: 2px; -} - -.quicktags-toolbar input[value="link"] { - text-decoration: underline; -} - -.quicktags-toolbar input[value="del"] { - text-decoration: line-through; -} - -.quicktags-toolbar input[value="i"] { - font-style: italic; -} - -.quicktags-toolbar input[value="b"] { - font-weight: bold; -} - -.mce-toolbar .mce-btn-group .mce-btn.mce-wp-fullscreen, -.qt-fullscreen { - position: absolute; - top: 0; - right: 0; - margin: 5px 5px 0 0; -} - -@media screen and ( max-width: 782px ) { - .mce-toolbar .mce-btn button, - .qt-fullscreen { - padding: 6px 7px; - } - - #wp-fullscreen-buttons .mce-btn, - .mce-toolbar .mce-btn-group .mce-btn { - margin: 1px; - } - - .qt-fullscreen { - width: 36px; - height: 34px; - } - - .mce-toolbar .mce-btn-group .mce-btn.mce-wp-fullscreen { - margin: 4px 4px 0 0; - } - - .mce-toolbar .mce-colorbutton .mce-preview { - left: 8px; - bottom: 6px; - } - - .mce-window .mce-btn { - padding: 2px 0; - } - - .has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first, - .has-dfw .quicktags-toolbar { - padding-right: 40px; - } -} - -@media screen and ( min-width: 782px ) { - .wp-core-ui .quicktags-toolbar input.button.button-small { - /* .button-small is normaly 11px, but a bit too small for these buttons. */ - font-size: 12px; - height: 26px; - line-height: 24px; - } -} - -#wp_editbtns, -#wp_gallerybtns { - padding: 2px; - position: absolute; - display: none; - z-index: 100020; -} - -#wp_editimgbtn, -#wp_delimgbtn, -#wp_editgallery, -#wp_delgallery { - border-color: #999; - background-color: #eee; - margin: 2px; - padding: 2px; - border-width: 1px; - border-style: solid; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -#wp_editimgbtn:hover, -#wp_delimgbtn:hover, -#wp_editgallery:hover, -#wp_delgallery:hover { - border-color: #555; - background-color: #ccc; -} - -/*------------------------------------------------------------------------------ - wp-link -------------------------------------------------------------------------------*/ - -#wp-link-wrap { - display: none; - background-color: #fff; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - width: 500px; - height: 250px; - overflow: hidden; - margin-left: -250px; - margin-top: -125px; - position: fixed; - top: 50%; - left: 50%; - z-index: 100105; - -webkit-transition: height 0.2s, margin-top 0.2s; - transition: height 0.2s, margin-top 0.2s; -} - -#wp-link-backdrop { - display: none; - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - min-height: 360px; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 100100; -} - -#wp-link { - position: relative; - height: 100%; -} - -#wp-link-wrap.search-panel-visible { - height: 500px; - margin-top: -250px; -} - -#link-modal-title { - background: #fcfcfc; - border-bottom: 1px solid #dfdfdf; - height: 36px; - font-size: 18px; - font-weight: 600; - line-height: 36px; - padding: 0 36px 0 16px; - top: 0; - right: 0; - left: 0; -} - -#wp-link-close { - color: #666; - padding: 0; - position: absolute; - top: 0; - right: 0; - width: 36px; - height: 36px; - text-align: center; - background: none; - border: none; - cursor: pointer; -} - -#wp-link-close:before { - font: normal 20px/36px 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - width: 36px; - height: 36px; - content: '\f158'; -} - -#wp-link-close:hover, -#wp-link-close:focus { - color: #2ea2cc; -} - -#wp-link-close:focus { - outline: none; - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} - -#link-selector { - padding: 0 16px 50px; -} - -#wp-link-wrap.search-panel-visible #link-selector { - padding: 0 16px; - position: absolute; - top: 36px; - left: 0; - right: 0; - bottom: 44px; -} - -#wp-link ol, -#wp-link ul { - list-style: none; - margin: 0; - padding: 0; -} - -#wp-link-search-toggle:after { - display: inline-block; - font: normal 20px/1 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - content: '\f140'; -} - -.search-panel-visible #wp-link-search-toggle:after { - content: '\f142'; -} - -#wp-link input[type="text"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -#wp-link #link-options { - padding: 8px 0 12px; -} - -#wp-link p.howto { - margin: 3px 0; -} - -#wp-link p.howto a { - text-decoration: none; - color: inherit; -} - -#wp-link-search-toggle { - cursor: pointer; -} - -#wp-link label input[type="text"] { - margin-top: 5px; - width: 70%; -} - -#wp-link #link-options label span, -#wp-link #search-panel label span.search-label { - display: inline-block; - width: 80px; - text-align: right; - padding-right: 5px; - max-width: 24%; -} - -#wp-link .link-search-field { - float: left; - width: 250px; - max-width: 70%; -} - -#wp-link .link-search-wrapper { - margin: 5px 0 9px; - display: block; - overflow: hidden; -} - -#wp-link .link-search-wrapper span { - float: left; - margin-top: 4px; -} - -#wp-link .link-search-wrapper .spinner { - display: none; - vertical-align: text-bottom; -} - -#wp-link .link-target { - padding: 3px 0 0; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -#wp-link .link-target label { - max-width: 70%; -} - -#wp-link .query-results { - border: 1px #dfdfdf solid; - margin: 0; - background: #fff; - overflow: auto; - position: absolute; - left: 16px; - right: 16px; - bottom: 16px; - top: 205px; -} - -#wp-link li { - clear: both; - margin-bottom: 0; - border-bottom: 1px solid #f1f1f1; - color: #333; - padding: 4px 6px 4px 10px; - cursor: pointer; - position: relative; -} - -#wp-link .query-notice { - padding: 0; - border-bottom: 1px solid #dfdfdf; - background-color: #f7fcfe; - color: #000; -} - -#wp-link .query-notice .query-notice-default, -#wp-link .query-notice .query-notice-hint { - display: block; - padding: 6px; - border-left: 4px solid #2ea2cc; -} - -#wp-link .unselectable.no-matches-found { - padding: 0; - border-bottom: 1px solid #dfdfdf; - background-color: #fef7f1; -} - -#wp-link .no-matches-found .item-title { - display: block; - padding: 6px; - border-left: 4px solid #d54e21; -} - -#wp-link .query-results em { - font-style: normal; -} - -#wp-link li:hover { - background: #eaf2fa; - color: #151515; -} - -#wp-link li.unselectable { - border-bottom: 1px solid #dfdfdf; -} - -#wp-link li.unselectable:hover { - background: #fff; - cursor: auto; - color: #333; -} - -#wp-link li.selected { - background: #ddd; - color: #333; -} - -#wp-link li.selected .item-title { - font-weight: bold; -} - -#wp-link li:last-child { - border: none; -} - -#wp-link .item-title { - display: inline-block; - width: 80%; - width: -webkit-calc(100% - 68px); - width: calc(100% - 68px); -} - -#wp-link .item-info { - text-transform: uppercase; - color: #666; - font-size: 11px; - position: absolute; - right: 5px; - top: 5px; -} - -#wp-link #search-results, -#wp-link #search-panel { - display: none; -} - -#wp-link-wrap.search-panel-visible #search-panel { - display: block; -} - -#wp-link .river-waiting { - display: none; - padding: 10px 0; -} - -#wp-link .river-waiting .spinner { - margin: 0 auto; - display: block; - float: none; -} - -#wp-link .submitbox { - padding: 8px 16px; - background: #fcfcfc; - border-top: 1px solid #dfdfdf; - position: absolute; - bottom: 0; - left: 0; - right: 0; -} - -#wp-link-cancel { - line-height: 25px; - float: left; -} - -#wp-link-update { - line-height: 23px; - float: right; -} - -#wp-link-submit { - float: right; - margin-bottom: 0; -} - -@media screen and ( max-width: 782px ) { - #wp-link-wrap { - height: 280px; - margin-top: -140px; - } - - #wp-link-wrap.search-panel-visible .query-results { - top: 235px; - } - - #link-selector { - padding: 0 16px 60px; - } - - #wp-link-wrap.search-panel-visible #link-selector { - bottom: 52px; - } - - #wp-link-cancel { - line-height: 32px; - } -} - -@media screen and ( max-width: 520px ) { - #wp-link-wrap { - width: auto; - margin-left: 0; - left: 10px; - right: 10px; - max-width: 500px; - } -} - -@media screen and ( max-height: 520px ) { - #wp-link-wrap { - -webkit-transition: none; - transition: none; - } - - #wp-link-wrap.search-panel-visible { - height: auto; - margin-top: 0; - top: 10px; - bottom: 10px; - } - - .search-panel-visible #link-selector { - overflow: auto; - } - - .search-panel-visible #search-panel .query-results { - position: static; - } -} - -@media screen and ( max-height: 290px ) { - #wp-link-wrap { - height: auto; - margin-top: 0; - top: 10px; - bottom: 10px; - } - - #link-selector { - overflow: auto; - height: -webkit-calc(100% - 92px); - height: calc(100% - 92px); - padding-bottom: 2px; - } - - #search-panel .query-results { - position: static; - } -} - -/* Old TinyMCE 3.x modal */ -/* -.clearlooks2 .mceTop { - border-bottom: 1px solid #ccc; -} - -.clearlooks2 .mceTop span { - font: 13px/24px "Open Sans", sans-serif; - color: #e5e5e5; -} - -.clearlooks2 .mceTop .mceLeft { - background: #444444; - border-color: transparent; -} - -.clearlooks2 .mceTop .mceRight { - background: #444444; - border-color: transparent; -} - -.clearlooks2 .mceMiddle { - clip: rect(24px auto auto auto); -} - -.clearlooks2 .mceMiddle .mceLeft { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceMiddle .mceRight { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceBottom { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceBottom .mceLeft { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceBottom .mceCenter { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceBottom .mceRight { - background: #f1f1f1; - border-color: transparent; -} - -.clearlooks2 .mceClose, -.clearlooks2 .mceFocus .mceClose, -.clearlooks2 .mceFocus .mceClose:hover { - background-image: none; -} -.clearlooks2 .mceClose:before { - content: '\f158'; - font: normal 20px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color: #999; - padding-left: 12px; -} - -/* from colors.css -.clearlooks2 { - box-shadow: 0 5px 15px rgba(0,0,0,0.7); -} - -.clearlooks2 .mceMiddle span, -.clearlooks2 .mceMiddle .mceLeft, -.clearlooks2 .mceMiddle .mceRight, -.clearlooks2 .mceBottom, -.clearlooks2 .mceBottom .mceLeft, -.clearlooks2 .mceBottom .mceCenter, -.clearlooks2 .mceBottom .mceRight { - background-color: #fcfcfc; -} - -.clearlooks2 .mceTop span, -.clearlooks2 .mceFocus .mceTop span { - color: #222; -} - -.clearlooks2 .mceClose:before { - color: #999; -} - -.clearlooks2 .mceClose:hover:before { - color: #2ea2cc; -} -*/ -/* Distraction Free Writing mode - * =Overlay Styles --------------------------------------------------------------- */ -.fullscreen-overlay { - z-index: 100005; - display: none; - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - -webkit-filter: inherit; - filter: inherit; -} - -.wp-fullscreen-active .fullscreen-overlay, -.wp-fullscreen-active #wp-fullscreen-body { - display: block; -} - -.fullscreen-fader { - z-index: 200000; -} - -.wp-fullscreen-active .fullscreen-fader, -.wp-core-ui.wp-fullscreen-active .postbox-container { - display: none; -} - -/* =Overlay Body --------------------------------------------------------------- */ - -#wp-fullscreen-body, -.mce-fullscreen { - z-index: 100010; -} - -#wp-fullscreen-body { - display: none; -} - -.wp-fullscreen-wrap { - margin: 0; - padding: 0; - position: absolute; - left: 0; - right: 0; - bottom: 30px; - top: 60px; - z-index: 100015; -} - -.wp-fullscreen-wrap .wp-editor-container, -.wp-fullscreen-title, -#wp-fullscreen-central-toolbar { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 100%; -} - -.wp-fullscreen-active .wp-editor-tools, -.wp-fullscreen-active .quicktags-toolbar, -.wp-fullscreen-active .mce-toolbar-grp, -.wp-fullscreen-active .mce-statusbar { - display: none; -} - -#wp-fullscreen-statusbar { - position: fixed; - left: 0; - right: 0; - bottom: 0; - height: 30px; - z-index: 100020; - background: #fff; - -webkit-transition: height 0.2s; - transition: height 0.2s; -} - -#wp-fullscreen-status { - margin: 0 auto; - padding: 0; -} - -.wp-fullscreen-active .wp-fullscreen-title, -.wp-fullscreen-active .wp-fullscreen-title:focus, -.wp-fullscreen-active .wp-editor-container { - -webkit-border-radius: 0; - border-radius: 0; - border: 1px dashed transparent; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-transition: border-color 0.4s; - transition: border-color 0.4s; -} - -.wp-fullscreen-active .wp-editor-container { - margin: 0 auto 40px; -} - -.wp-fullscreen-active .wp-fullscreen-title { - font-size: 1.7em; - line-height: 100%; - outline: medium none; - padding: 3px 7px; - margin: 10px auto 30px; - display: block; -} - -#wp-fullscreen-tagline { - color: #888; - font-size: 18px; - float: right; - padding: 4px 0 0; -} - -/* =Top bar --------------------------------------------------------------- */ -#fullscreen-topbar { - background: #f5f5f5; - border-bottom: 1px solid #dedede; - height: 45px; - position: fixed; - left: 0; - right: 0; - top: 0; - width: 100%; - z-index: 100020; - -webkit-transition: opacity 0.4s; - transition: opacity 0.4s; -} - -#wp-fullscreen-toolbar { - padding: 6px 10px 0; - clear: both; - max-width: 1100px; - margin: 0 auto; -} - -#wp-fullscreen-mode-bar, -#wp-fullscreen-button-bar, -#wp-fullscreen-close { - float: left; -} - -#wp-fullscreen-count, -#wp-fullscreen-tagline { - display: inline-block; -} - -#wp-fullscreen-button-bar { - margin-top: 2px; -} - -#wp-fullscreen-save { - float: right; - padding: 2px 0 0; - min-width: 95px; -} - -#wp-fullscreen-count, -#wp-fullscreen-close { - padding: 5px 0 0; -} - -#wp-fullscreen-central-toolbar { - margin: auto; - padding: 0; - min-width: 620px; -} - -#wp-fullscreen-buttons > div { - float: left; -} - -#wp-fullscreen-mode-bar { - padding: 3px 14px 0 0; -} - -#wp-fullscreen-buttons .hidden { - display: none; -} - -#wp-fullscreen-buttons .disabled { - opacity: 0.5; -} - -#wp-fullscreen-buttons .mce-btn button { - margin: 0; - outline: 0 none; - border: 0 none; - white-space: nowrap; - width: auto; - background: none; - color: #333333; - cursor: pointer; - font-size: 18px; - line-height: 20px; - overflow: visible; - text-align: center; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.wp-html-mode #wp-fullscreen-buttons div { - display: none; -} - -.wp-html-mode #wp-fullscreen-buttons div.wp-fullscreen-both { - display: block; -} - -#wp-fullscreen-save img { - vertical-align: middle; -} - -#wp-fullscreen-save span { - display: none; - margin: 5px 6px 0; - float: left; -} - -/* =Thickbox Adjustments --------------------------------------------------------------- */ -.wp-fullscreen-active #TB_overlay { - z-index: 100050; -} - -.wp-fullscreen-active #TB_window { - z-index: 100051; -} - -/* Colors */ -.fullscreen-overlay { - background: #fff; -} - -/* =CSS 3 transitions --------------------------------------------------------------- */ - -.wp-fullscreen-active #fullscreen-topbar { - -webkit-transition-duration: 0.8s; - transition-duration: 0.8s; - opacity: 0; - filter: alpha(opacity=0); -} - -.wp-fullscreen-active #wp-fullscreen-statusbar { - height: 0; -} - -.wp-fullscreen-active.wp-dfw-show-ui #fullscreen-topbar { - -webkit-transition-duration: 0.4s; - transition-duration: 0.4s; - opacity: 1; - filter: alpha(opacity=100); -} - -.wp-fullscreen-active.wp-dfw-show-ui #wp-fullscreen-statusbar { - height: 29px; - background: #f8f8f8; - border-top: 1px solid #eee; -} - -.wp-fullscreen-active .wp-fullscreen-title, -.wp-fullscreen-active .wp-editor-container { - -webkit-transition-duration: 0.8s; - transition-duration: 0.8s; - border-color: transparent; -} - -.wp-fullscreen-active.wp-dfw-show-ui .wp-fullscreen-title, -.wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container { - -webkit-transition-duration: 0.4s; - transition-duration: 0.4s; - border-color: #ccc; -} - -.fade-1000, -.fade-600, -.fade-400, -.fade-300 { - opacity: 0; - -webkit-transition-property: opacity; - transition-property: opacity; -} - -.fade-1000 { - -webkit-transition-duration: 1s; - transition-duration: 1s; -} - -.fade-600 { - -webkit-transition-duration: 0.6s; - transition-duration: 0.6s; -} - -.fade-400 { - -webkit-transition-duration: 0.4s; - transition-duration: 0.4s; -} - -.fade-300 { - -webkit-transition-duration: 0.3s; - transition-duration: 0.3s; -} - -.fade-trigger { - opacity: 1; -} - -/* DFW on touch screen devices */ -.wp-dfw-touch #fullscreen-topbar { - position: absolute; - opacity: 1; -} - -.wp-dfw-touch .wp-fullscreen-wrap .wp-editor-container, -.wp-dfw-touch .wp-fullscreen-title { - max-width: 700px; -} - -.wp-fullscreen-active.wp-dfw-touch .wp-fullscreen-title, -.wp-fullscreen-active.wp-dfw-touch .wp-editor-container { - border-color: #ccc; -} - -.wp-dfw-touch #wp-fullscreen-statusbar { - height: 30px; -} - -@media screen and ( max-width: 782px ) { - #wp-fullscreen-close, - #wp-fullscreen-central-toolbar, - #wp-fullscreen-mode-bar, - #wp-fullscreen-button-bar, - #wp-fullscreen-save { - display: inline-block; - } - - #fullscreen-topbar { - height: 85px; - } - - #wp-fullscreen-central-toolbar { - width: auto !important; - min-width: 0; - } - - #wp-fullscreen-close { - line-height: 30px; - vertical-align: top; - padding: 0 12px; - } - - #wp-fullscreen-button-bar { - position: absolute; - top: 45px; - left: 0; - } - - .wp-fullscreen-wrap { - top: 95px; - } - - #wp-fullscreen-save { - position: absolute; - right: 10px; - } -} - -@media screen and ( max-width: 480px ) { - #wp_fs_help { - display: none; - } - - .wp-fullscreen-wrap .wp-editor-container, - .wp-fullscreen-title { - width: 480px !important; - } - - body.wp-fullscreen-active { - width: 480px; - overflow: auto; - } - - #fullscreen-topbar, - .wp-fullscreen-wrap { - width: 480px; - } - - #fullscreen-topbar { - position: absolute; - } - - #wp-fullscreen-status { - width: auto !important; - max-width: 100%; - padding: 0 10px; - } -} - -/* =Localization --------------------------------------------------------------- */ -.rtl .wp-switch-editor, -.rtl .quicktags-toolbar input { - font-family: Tahoma, sans-serif; -} - -/* @noflip */ -.mce-rtl .mce-flow-layout .mce-flow-layout-item > div { - direction: rtl; -} - -/* @noflip */ -.mce-rtl .mce-listbox i.mce-caret { - left: 6px; -} - -html:lang(he-il) .rtl .wp-switch-editor, -html:lang(he-il) .rtl .quicktags-toolbar input { - font-family: Arial, sans-serif; -} - -/* HiDPI */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .wp-media-buttons .add_media span.wp-media-buttons-icon, - #wp-fullscreen-buttons #wp_fs_image span.mce_image { - background: none; - } -} - -/* TODO: DFW responsive */ diff --git a/sources/wordpress/wp-includes/css/editor.min.css b/sources/wordpress/wp-includes/css/editor.min.css deleted file mode 100644 index c9af89f..0000000 --- a/sources/wordpress/wp-includes/css/editor.min.css +++ /dev/null @@ -1 +0,0 @@ -.mce-container,.mce-container *,.mce-widget,.mce-widget *{color:inherit;font-family:inherit}#mce-modal-block.mce-in{opacity:.7;filter:alpha(opacity=70)}.mce-window{-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);-webkit-font-smoothing:subpixel-antialiased}.mce-window .mce-container-body.mce-abs-layout{overflow:visible}.mce-window .mce-window-head{background:#fcfcfc;border-bottom:1px solid #dfdfdf;padding:0;min-height:36px}.mce-window .mce-window-head .mce-title{color:#444;font-size:18px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.mce-window .mce-window-head .mce-close{color:transparent;top:0;right:0;width:36px;height:36px;line-height:36px;text-align:center}.mce-window .mce-window-head .mce-close:before{font:400 20px/36px dashicons;text-align:center;color:#666;width:36px;height:36px;display:block}.mce-window .mce-window-head .mce-close:hover:before{color:#2ea2cc}.mce-window .mce-window-head .mce-dragh{width:-webkit-calc(100% - 36px);width:calc(100% - 36px)}.mce-wp-help .mce-window-head{border-bottom:none}#wp-link .query-results,.mce-checkbox i.mce-i-checkbox,.mce-textbox{border:1px solid #ddd;-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);-webkit-transition:.05s all ease-in-out;transition:.05s all ease-in-out}#wp-link .query-results:focus,.mce-checkbox:focus i.mce-i-checkbox,.mce-textbox.mce-focus,.mce-textbox:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}.mce-floatpanel.mce-popover,.mce-menu{border-color:rgba(0,0,0,.15);-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2)}.mce-floatpanel.mce-popover.mce-bottom{margin-top:2px}.mce-floatpanel .mce-arrow{display:none}.mce-menu .mce-container-body{min-width:160px}.mce-menu-item{border:none;margin-bottom:2px}.mce-menu-has-icons i.mce-ico{line-height:20px}div.mce-panel{border:0;background:#fff;-webkit-filter:none;filter:none}.mce-panel.mce-menu{border:1px solid #ddd}div.mce-tab{line-height:13px}div.mce-toolbar-grp{border-bottom:1px solid #dedede;background:#f5f5f5;padding:0;position:relative}div.mce-toolbar-grp>div{padding:3px}.has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first{padding-right:32px}.mce-toolbar .mce-btn-group{margin:0}div.mce-statusbar{border-top:1px solid #e5e5e5}div.mce-path{padding:2px 10px;margin:0}.mce-path,.mce-path .mce-divider,.mce-path-item{font-size:12px;line-height:18px}.mce-toolbar .mce-btn,.qt-fullscreen{border-color:transparent;background:0 0;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;cursor:pointer}#wp-fullscreen-buttons .mce-btn,.mce-toolbar .mce-btn-group .mce-btn,.qt-fullscreen{border:1px solid transparent;margin:2px;background-image:none;-webkit-border-radius:2px;border-radius:2px;-webkit-filter:none;filter:none}#wp-fullscreen-buttons .mce-btn:focus,#wp-fullscreen-buttons .mce-btn:hover,.mce-toolbar .mce-btn-group .mce-btn:focus,.mce-toolbar .mce-btn-group .mce-btn:hover,.qt-fullscreen:focus,.qt-fullscreen:hover{background:#fafafa;border-color:#999;color:#222;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08)}#wp-fullscreen-buttons .mce-btn.mce-active,#wp-fullscreen-buttons .mce-btn:active,.mce-toolbar .mce-btn-group .mce-btn.mce-active,.mce-toolbar .mce-btn-group .mce-btn:active{background:#ebebeb;border-color:#999;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.3);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.3)}.mce-toolbar .mce-btn-group .mce-btn.mce-active:hover{border-color:#555}.mce-toolbar .mce-btn-group .mce-btn.mce-active:hover i.mce-ico{color:#555}#wp-fullscreen-buttons .mce-btn.mce-disabled:focus,#wp-fullscreen-buttons .mce-btn.mce-disabled:hover,.mce-toolbar .mce-btn-group .mce-btn.mce-disabled:focus,.mce-toolbar .mce-btn-group .mce-btn.mce-disabled:hover{color:#aaa;background:0 0;border-color:#ddd;text-shadow:0 1px 0 #fff;-webkit-box-shadow:none;box-shadow:none}.mce-toolbar .mce-btn-group .mce-first,.mce-toolbar .mce-btn-group .mce-last{border-color:transparent}.mce-toolbar .mce-btn button,.qt-fullscreen{padding:2px 3px;line-height:normal}.mce-toolbar .mce-btn i{text-shadow:none}.mce-toolbar .mce-btn-group>div{white-space:normal}.mce-toolbar .mce-colorbutton .mce-open{border-right:0}.mce-toolbar .mce-colorbutton .mce-preview{margin:0;padding:0;top:auto;bottom:2px;left:3px;height:3px;width:20px}.mce-toolbar .mce-btn-group .mce-btn.mce-listbox{-webkit-border-radius:0;border-radius:0;direction:ltr;background:#fff;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 1px -1px rgba(0,0,0,.2);box-shadow:inset 0 1px 1px -1px rgba(0,0,0,.2)}.mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover{background-image:none;border-color:#bbb}.mce-toolbar .mce-btn-group .mce-btn.mce-listbox span{font-size:13px}.mce-panel .mce-btn i.mce-caret{border-top:6px solid #777;margin-left:2px;margin-right:2px}.mce-listbox i.mce-caret{right:6px}.mce-panel .mce-btn button.mce-open i.mce-caret,.mce-panel .mce-btn.mce-listbox i.mce-caret{margin-left:0;margin-right:0}.mce-panel .mce-btn:hover i.mce-caret{border-top-color:#333}.mce-panel .mce-active i.mce-caret{border-top:0;border-bottom:6px solid #333;margin-top:7px}.mce-listbox.mce-active i.mce-caret{margin-top:-3px}.mce-toolbar .mce-splitbtn:hover .mce-open{border-right-color:transparent}.mce-toolbar .mce-splitbtn .mce-open.mce-active{-webkit-box-shadow:none;box-shadow:none}.mce-menu .mce-menu-item-normal.mce-active{background-color:#e5e5e5;-webkit-filter:none;filter:none}.mce-menu .mce-menu-item.mce-selected,.mce-menu .mce-menu-item:focus,.mce-menu .mce-menu-item:hover{color:#000;background-color:#bbb;background-image:none;-webkit-filter:none;filter:none}.mce-menu .mce-menu-item.mce-active:hover .mce-text,.mce-menu .mce-menu-item.mce-selected .mce-ico,.mce-menu .mce-menu-item.mce-selected .mce-text,.mce-menu .mce-menu-item:focus .mce-ico,.mce-menu .mce-menu-item:hover .mce-ico,.mce-menu .mce-menu-item:hover .mce-text{color:#000}.mce-menubar{border-color:#e5e5e5;background:#fff;border-width:0 0 1px}.mce-menubar .mce-btn:focus{outline:0}.mce-menu-item-sep:hover,div.mce-menu .mce-menu-item-sep{margin:5px 0 4px}.mce-menubtn span{margin-right:0;padding-left:3px}.mce-menu-has-icons i.mce-ico:before{margin-left:-2px}.mce-primary button,.mce-primary button i{text-align:center;color:#fff;text-shadow:none;padding:0;line-height:26px}.mce-window .mce-btn{color:#555;background:#f7f7f7;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0;cursor:pointer;border:1px solid #ccc;-webkit-appearance:none;-webkit-border-radius:3px;border-radius:3px;white-space:nowrap;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08)}.mce-window .mce-btn::-moz-focus-inner{border-width:1px 0;border-style:solid none;border-color:transparent;padding:0}.mce-window .mce-btn:focus,.mce-window .mce-btn:hover{background:#fafafa;border-color:#999;color:#222}.mce-window .mce-btn:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.mce-window .mce-btn:active{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.mce-window .mce-btn.mce-disabled{color:#aaa;border-color:#ddd;background:#f7f7f7;-webkit-box-shadow:none;box-shadow:none;text-shadow:0 1px 0 #fff;cursor:default}.mce-window .mce-btn.mce-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.mce-window .mce-btn.mce-primary:focus,.mce-window .mce-btn.mce-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.mce-window .mce-btn.mce-primary:focus{border-color:#0e3950;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.mce-window .mce-btn.mce-primary:active{background:#1b7aa6;border-color:#005684;color:rgba(255,255,255,.95);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);vertical-align:top}.mce-window .mce-btn.mce-primary.mce-disabled{color:#94cde7;background:#298cba;border-color:#1b607f;-webkit-box-shadow:none;box-shadow:none;text-shadow:0 -1px 0 rgba(0,0,0,.1);cursor:default}.mce-menubtn.mce-fixed-width button span{max-width:80px;padding-right:16px}.mce-charmap{margin:3px}.mce-charmap td{padding:0;border-color:#dfdfdf;cursor:pointer}.mce-charmap td:hover{background:#f3f3f3}.mce-charmap td div{width:18px;height:22px;line-height:22px}.mce-tooltip{margin-top:2px}.mce-tooltip-inner{-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2);color:#fff;font-size:12px}.mce-ico{font-family:tinymce,Arial}.mce-btn-small .mce-ico{font-family:tinymce-small,Arial}.mce-toolbar .mce-ico{color:#777;line-height:20px;width:20px;height:20px;text-align:center;text-shadow:none;margin:0;padding:0}.qt-fullscreen{color:#777;line-height:20px;width:28px;height:26px;text-align:center;text-shadow:none}.mce-toolbar .mce-btn .mce-open{line-height:20px}.mce-toolbar .mce-btn.mce-active .mce-open,.mce-toolbar .mce-btn:focus .mce-open,.mce-toolbar .mce-btn:hover .mce-open{border-left-color:#999}.mce-close,i.mce-i-aligncenter,i.mce-i-alignjustify,i.mce-i-alignleft,i.mce-i-alignright,i.mce-i-backcolor,i.mce-i-blockquote,i.mce-i-bold,i.mce-i-bullist,i.mce-i-charmap,i.mce-i-forecolor,i.mce-i-fullscreen,i.mce-i-help,i.mce-i-hr,i.mce-i-indent,i.mce-i-italic,i.mce-i-link,i.mce-i-ltr,i.mce-i-numlist,i.mce-i-outdent,i.mce-i-pastetext,i.mce-i-pasteword,i.mce-i-redo,i.mce-i-removeformat,i.mce-i-spellchecker,i.mce-i-strikethrough,i.mce-i-underline,i.mce-i-undo,i.mce-i-unlink,i.mce-i-wp-media-library,i.mce-i-wp_adv,i.mce-i-wp_fullscreen,i.mce-i-wp_help,i.mce-i-wp_more,i.mce-i-wp_page{font:400 20px/1 dashicons;padding:0 2px 0 0;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:-2px}.qt-fullscreen{font:400 20px/1 dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}i.mce-i-bold:before{content:'\f200'}i.mce-i-italic:before{content:'\f201'}i.mce-i-bullist:before{content:'\f203'}i.mce-i-numlist:before{content:'\f204'}i.mce-i-blockquote:before{content:'\f205'}i.mce-i-alignleft:before{content:'\f206'}i.mce-i-aligncenter:before{content:'\f207'}i.mce-i-alignright:before{content:'\f208'}i.mce-i-link:before{content:'\f103'}i.mce-i-unlink:before{content:'\f225'}i.mce-i-wp_more:before{content:'\f209'}i.mce-i-strikethrough:before{content:'\f224'}i.mce-i-spellchecker:before{content:'\f210'}.qt-fullscreen:before,i.mce-i-fullscreen:before,i.mce-i-wp_fullscreen:before{content:'\f211'}i.mce-i-wp_adv:before{content:'\f212'}i.mce-i-underline:before{content:'\f213'}i.mce-i-alignjustify:before{content:'\f214'}i.mce-i-backcolor:before,i.mce-i-forecolor:before{content:'\f215'}i.mce-i-pastetext:before{content:'\f217'}i.mce-i-removeformat:before{content:'\f218'}i.mce-i-charmap:before{content:'\f220'}i.mce-i-outdent:before{content:'\f221'}i.mce-i-indent:before{content:'\f222'}i.mce-i-undo:before{content:'\f171'}i.mce-i-redo:before{content:'\f172'}i.mce-i-help:before,i.mce-i-wp_help:before{content:'\f223'}i.mce-i-wp-media-library:before{content:'\f104'}i.mce-i-ltr:before{content:'\f320'}i.mce-i-wp_page:before{content:'\f105'}i.mce-i-hr:before{content:'\f460'}.mce-close:before{content:'\f158'}.mce-i-wp_code:before{content:'\f475'}.wp-editor-wrap{position:relative}.wp-editor-tools{position:relative;z-index:1}.wp-editor-tools:after{clear:both;content:'';display:table}.wp-editor-container{clear:both}.wp-editor-area{font-family:Consolas,Monaco,monospace;font-size:13px;padding:10px;margin:1px 0 0;line-height:150%;border:0;outline:0;display:block;resize:vertical;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-editor-container textarea.wp-editor-area{width:100%;margin:0;-webkit-box-shadow:none;box-shadow:none}.wp-editor-tabs{float:right}.wp-switch-editor{background:#ebebeb;border:1px solid #dedede;color:#777;cursor:pointer;float:right;font:13px/19px "Open Sans",sans-serif;height:19px;margin:5px 0 0 5px;padding:3px 8px 4px;position:relative;top:1px}.wp-switch-editor:active{background-color:#f1f1f1}.wp-switch-editor:hover{text-decoration:none!important;background:#fff}.js .tmce-active .wp-editor-area{color:#fff}.tmce-active .quicktags-toolbar{display:none}.html-active .switch-html,.tmce-active .switch-tmce{background:#f5f5f5;color:#555;height:20px;border-bottom:none}.wp-media-buttons{float:left}.wp-media-buttons .button{margin-right:5px;margin-bottom:4px;padding-left:7px;padding-right:7px}.wp-media-buttons .button:active{position:relative;top:1px;margin-top:-1px;margin-bottom:1px}.wp-media-buttons .insert-media{padding-left:5px}.wp-media-buttons a{text-decoration:none;color:#464646;font-size:12px}.wp-media-buttons img{padding:0 4px;vertical-align:middle}.wp-media-buttons span.wp-media-buttons-icon{display:inline-block;width:18px;height:18px;vertical-align:text-top;margin:0 2px}.wp-media-buttons .add_media span.wp-media-buttons-icon{background:0 0}.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f104'}.quicktags-toolbar{padding:3px;position:relative;border-bottom:1px solid #dedede;background:#f5f5f5}.has-dfw .quicktags-toolbar{padding-right:35px}.wp-core-ui .quicktags-toolbar input.button.button-small{margin:2px}.quicktags-toolbar input[value=link]{text-decoration:underline}.quicktags-toolbar input[value=del]{text-decoration:line-through}.quicktags-toolbar input[value="i"]{font-style:italic}.quicktags-toolbar input[value="b"]{font-weight:700}.mce-toolbar .mce-btn-group .mce-btn.mce-wp-fullscreen,.qt-fullscreen{position:absolute;top:0;right:0;margin:5px 5px 0 0}@media screen and (max-width:782px){.mce-toolbar .mce-btn button,.qt-fullscreen{padding:6px 7px}#wp-fullscreen-buttons .mce-btn,.mce-toolbar .mce-btn-group .mce-btn{margin:1px}.qt-fullscreen{width:36px;height:34px}.mce-toolbar .mce-btn-group .mce-btn.mce-wp-fullscreen{margin:4px 4px 0 0}.mce-toolbar .mce-colorbutton .mce-preview{left:8px;bottom:6px}.mce-window .mce-btn{padding:2px 0}.has-dfw .quicktags-toolbar,.has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first{padding-right:40px}}@media screen and (min-width:782px){.wp-core-ui .quicktags-toolbar input.button.button-small{font-size:12px;height:26px;line-height:24px}}#wp_editbtns,#wp_gallerybtns{padding:2px;position:absolute;display:none;z-index:100020}#wp_delgallery,#wp_delimgbtn,#wp_editgallery,#wp_editimgbtn{border-color:#999;background-color:#eee;margin:2px;padding:2px;border-width:1px;border-style:solid;-webkit-border-radius:3px;border-radius:3px}#wp_delgallery:hover,#wp_delimgbtn:hover,#wp_editgallery:hover,#wp_editimgbtn:hover{border-color:#555;background-color:#ccc}#wp-link-wrap{display:none;background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);width:500px;height:250px;overflow:hidden;margin-left:-250px;margin-top:-125px;position:fixed;top:50%;left:50%;z-index:100105;-webkit-transition:height .2s,margin-top .2s;transition:height .2s,margin-top .2s}#wp-link-backdrop{display:none;position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}#wp-link{position:relative;height:100%}#wp-link-wrap.search-panel-visible{height:500px;margin-top:-250px}#link-modal-title{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 36px 0 16px;top:0;right:0;left:0}#wp-link-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}#wp-link-close:before{font:400 20px/36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:36px;height:36px;content:'\f158'}#wp-link-close:focus,#wp-link-close:hover{color:#2ea2cc}#wp-link-close:focus{outline:0;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#link-selector{padding:0 16px 50px}#wp-link-wrap.search-panel-visible #link-selector{padding:0 16px;position:absolute;top:36px;left:0;right:0;bottom:44px}#wp-link ol,#wp-link ul{list-style:none;margin:0;padding:0}#wp-link-search-toggle:after{display:inline-block;font:400 20px/1 dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f140'}.search-panel-visible #wp-link-search-toggle:after{content:'\f142'}#wp-link input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wp-link #link-options{padding:8px 0 12px}#wp-link p.howto{margin:3px 0}#wp-link p.howto a{text-decoration:none;color:inherit}#wp-link-search-toggle{cursor:pointer}#wp-link label input[type=text]{margin-top:5px;width:70%}#wp-link #link-options label span,#wp-link #search-panel label span.search-label{display:inline-block;width:80px;text-align:right;padding-right:5px;max-width:24%}#wp-link .link-search-field{float:left;width:250px;max-width:70%}#wp-link .link-search-wrapper{margin:5px 0 9px;display:block;overflow:hidden}#wp-link .link-search-wrapper span{float:left;margin-top:4px}#wp-link .link-search-wrapper .spinner{display:none;vertical-align:text-bottom}#wp-link .link-target{padding:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#wp-link .link-target label{max-width:70%}#wp-link .query-results{border:1px solid #dfdfdf;margin:0;background:#fff;overflow:auto;position:absolute;left:16px;right:16px;bottom:16px;top:205px}#wp-link li{clear:both;margin-bottom:0;border-bottom:1px solid #f1f1f1;color:#333;padding:4px 6px 4px 10px;cursor:pointer;position:relative}#wp-link .query-notice{padding:0;border-bottom:1px solid #dfdfdf;background-color:#f7fcfe;color:#000}#wp-link .query-notice .query-notice-default,#wp-link .query-notice .query-notice-hint{display:block;padding:6px;border-left:4px solid #2ea2cc}#wp-link .unselectable.no-matches-found{padding:0;border-bottom:1px solid #dfdfdf;background-color:#fef7f1}#wp-link .no-matches-found .item-title{display:block;padding:6px;border-left:4px solid #d54e21}#wp-link .query-results em{font-style:normal}#wp-link li:hover{background:#eaf2fa;color:#151515}#wp-link li.unselectable{border-bottom:1px solid #dfdfdf}#wp-link li.unselectable:hover{background:#fff;cursor:auto;color:#333}#wp-link li.selected{background:#ddd;color:#333}#wp-link li.selected .item-title{font-weight:700}#wp-link li:last-child{border:none}#wp-link .item-title{display:inline-block;width:80%;width:-webkit-calc(100% - 68px);width:calc(100% - 68px)}#wp-link .item-info{text-transform:uppercase;color:#666;font-size:11px;position:absolute;right:5px;top:5px}#wp-link #search-panel,#wp-link #search-results{display:none}#wp-link-wrap.search-panel-visible #search-panel{display:block}#wp-link .river-waiting{display:none;padding:10px 0}#wp-link .river-waiting .spinner{margin:0 auto;display:block;float:none}#wp-link .submitbox{padding:8px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;position:absolute;bottom:0;left:0;right:0}#wp-link-cancel{line-height:25px;float:left}#wp-link-update{line-height:23px;float:right}#wp-link-submit{float:right;margin-bottom:0}@media screen and (max-width:782px){#wp-link-wrap{height:280px;margin-top:-140px}#wp-link-wrap.search-panel-visible .query-results{top:235px}#link-selector{padding:0 16px 60px}#wp-link-wrap.search-panel-visible #link-selector{bottom:52px}#wp-link-cancel{line-height:32px}}@media screen and (max-width:520px){#wp-link-wrap{width:auto;margin-left:0;left:10px;right:10px;max-width:500px}}@media screen and (max-height:520px){#wp-link-wrap{-webkit-transition:none;transition:none}#wp-link-wrap.search-panel-visible{height:auto;margin-top:0;top:10px;bottom:10px}.search-panel-visible #link-selector{overflow:auto}.search-panel-visible #search-panel .query-results{position:static}}@media screen and (max-height:290px){#wp-link-wrap{height:auto;margin-top:0;top:10px;bottom:10px}#link-selector{overflow:auto;height:-webkit-calc(100% - 92px);height:calc(100% - 92px);padding-bottom:2px}#search-panel .query-results{position:static}}.fullscreen-overlay{z-index:100005;display:none;position:fixed;top:0;bottom:0;left:0;right:0;-webkit-filter:inherit;filter:inherit}.wp-fullscreen-active #wp-fullscreen-body,.wp-fullscreen-active .fullscreen-overlay{display:block}.fullscreen-fader{z-index:200000}.wp-core-ui.wp-fullscreen-active .postbox-container,.wp-fullscreen-active .fullscreen-fader{display:none}#wp-fullscreen-body,.mce-fullscreen{z-index:100010}#wp-fullscreen-body{display:none}.wp-fullscreen-wrap{margin:0;padding:0;position:absolute;left:0;right:0;bottom:30px;top:60px;z-index:100015}#wp-fullscreen-central-toolbar,.wp-fullscreen-title,.wp-fullscreen-wrap .wp-editor-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-width:100%}.wp-fullscreen-active .mce-statusbar,.wp-fullscreen-active .mce-toolbar-grp,.wp-fullscreen-active .quicktags-toolbar,.wp-fullscreen-active .wp-editor-tools{display:none}#wp-fullscreen-statusbar{position:fixed;left:0;right:0;bottom:0;height:30px;z-index:100020;background:#fff;-webkit-transition:height .2s;transition:height .2s}#wp-fullscreen-status{margin:0 auto;padding:0}.wp-fullscreen-active .wp-editor-container,.wp-fullscreen-active .wp-fullscreen-title,.wp-fullscreen-active .wp-fullscreen-title:focus{-webkit-border-radius:0;border-radius:0;border:1px dashed transparent;background:0 0;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:border-color .4s;transition:border-color .4s}.wp-fullscreen-active .wp-editor-container{margin:0 auto 40px}.wp-fullscreen-active .wp-fullscreen-title{font-size:1.7em;line-height:100%;outline:0;padding:3px 7px;margin:10px auto 30px;display:block}#wp-fullscreen-tagline{color:#888;font-size:18px;float:right;padding:4px 0 0}#fullscreen-topbar{background:#f5f5f5;border-bottom:1px solid #dedede;height:45px;position:fixed;left:0;right:0;top:0;width:100%;z-index:100020;-webkit-transition:opacity .4s;transition:opacity .4s}#wp-fullscreen-toolbar{padding:6px 10px 0;clear:both;max-width:1100px;margin:0 auto}#wp-fullscreen-button-bar,#wp-fullscreen-close,#wp-fullscreen-mode-bar{float:left}#wp-fullscreen-count,#wp-fullscreen-tagline{display:inline-block}#wp-fullscreen-button-bar{margin-top:2px}#wp-fullscreen-save{float:right;padding:2px 0 0;min-width:95px}#wp-fullscreen-close,#wp-fullscreen-count{padding:5px 0 0}#wp-fullscreen-central-toolbar{margin:auto;padding:0;min-width:620px}#wp-fullscreen-buttons>div{float:left}#wp-fullscreen-mode-bar{padding:3px 14px 0 0}#wp-fullscreen-buttons .hidden{display:none}#wp-fullscreen-buttons .disabled{opacity:.5}#wp-fullscreen-buttons .mce-btn button{margin:0;outline:0;border:0;white-space:nowrap;width:auto;background:0 0;color:#333;cursor:pointer;font-size:18px;line-height:20px;overflow:visible;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-html-mode #wp-fullscreen-buttons div{display:none}.wp-html-mode #wp-fullscreen-buttons div.wp-fullscreen-both{display:block}#wp-fullscreen-save img{vertical-align:middle}#wp-fullscreen-save span{display:none;margin:5px 6px 0;float:left}.wp-fullscreen-active #TB_overlay{z-index:100050}.wp-fullscreen-active #TB_window{z-index:100051}.fullscreen-overlay{background:#fff}.wp-fullscreen-active #fullscreen-topbar{-webkit-transition-duration:.8s;transition-duration:.8s;opacity:0;filter:alpha(opacity=0)}.wp-fullscreen-active #wp-fullscreen-statusbar{height:0}.wp-fullscreen-active.wp-dfw-show-ui #fullscreen-topbar{-webkit-transition-duration:.4s;transition-duration:.4s;opacity:1;filter:alpha(opacity=100)}.wp-fullscreen-active.wp-dfw-show-ui #wp-fullscreen-statusbar{height:29px;background:#f8f8f8;border-top:1px solid #eee}.wp-fullscreen-active .wp-editor-container,.wp-fullscreen-active .wp-fullscreen-title{-webkit-transition-duration:.8s;transition-duration:.8s;border-color:transparent}.wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container,.wp-fullscreen-active.wp-dfw-show-ui .wp-fullscreen-title{-webkit-transition-duration:.4s;transition-duration:.4s;border-color:#ccc}.fade-1000,.fade-300,.fade-400,.fade-600{opacity:0;-webkit-transition-property:opacity;transition-property:opacity}.fade-1000{-webkit-transition-duration:1s;transition-duration:1s}.fade-600{-webkit-transition-duration:.6s;transition-duration:.6s}.fade-400{-webkit-transition-duration:.4s;transition-duration:.4s}.fade-300{-webkit-transition-duration:.3s;transition-duration:.3s}.fade-trigger{opacity:1}.wp-dfw-touch #fullscreen-topbar{position:absolute;opacity:1}.wp-dfw-touch .wp-fullscreen-title,.wp-dfw-touch .wp-fullscreen-wrap .wp-editor-container{max-width:700px}.wp-fullscreen-active.wp-dfw-touch .wp-editor-container,.wp-fullscreen-active.wp-dfw-touch .wp-fullscreen-title{border-color:#ccc}.wp-dfw-touch #wp-fullscreen-statusbar{height:30px}@media screen and (max-width:782px){#wp-fullscreen-button-bar,#wp-fullscreen-central-toolbar,#wp-fullscreen-close,#wp-fullscreen-mode-bar,#wp-fullscreen-save{display:inline-block}#fullscreen-topbar{height:85px}#wp-fullscreen-central-toolbar{width:auto!important;min-width:0}#wp-fullscreen-close{line-height:30px;vertical-align:top;padding:0 12px}#wp-fullscreen-button-bar{position:absolute;top:45px;left:0}.wp-fullscreen-wrap{top:95px}#wp-fullscreen-save{position:absolute;right:10px}}@media screen and (max-width:480px){#wp_fs_help{display:none}.wp-fullscreen-title,.wp-fullscreen-wrap .wp-editor-container{width:480px!important}body.wp-fullscreen-active{width:480px;overflow:auto}#fullscreen-topbar,.wp-fullscreen-wrap{width:480px}#fullscreen-topbar{position:absolute}#wp-fullscreen-status{width:auto!important;max-width:100%;padding:0 10px}}.rtl .quicktags-toolbar input,.rtl .wp-switch-editor{font-family:Tahoma,sans-serif}.mce-rtl .mce-flow-layout .mce-flow-layout-item>div{direction:rtl}.mce-rtl .mce-listbox i.mce-caret{left:6px}html:lang(he-il) .rtl .quicktags-toolbar input,html:lang(he-il) .rtl .wp-switch-editor{font-family:Arial,sans-serif}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#wp-fullscreen-buttons #wp_fs_image span.mce_image,.wp-media-buttons .add_media span.wp-media-buttons-icon{background:0 0}} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/jquery-ui-dialog-rtl.css b/sources/wordpress/wp-includes/css/jquery-ui-dialog-rtl.css deleted file mode 100644 index b408877..0000000 --- a/sources/wordpress/wp-includes/css/jquery-ui-dialog-rtl.css +++ /dev/null @@ -1,343 +0,0 @@ -/*! - * jQuery UI CSS Framework 1.10.1 - * http://jqueryui.com - * - * Copyright 2013 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { - display: none; -} -.ui-helper-hidden-accessible { - border: 0; - clip: rect(0 0 0 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; -} -.ui-helper-reset { - margin: 0; - padding: 0; - border: 0; - outline: 0; - line-height: 1.3; - text-decoration: none; - font-size: 100%; - list-style: none; -} -.ui-helper-clearfix:before, -.ui-helper-clearfix:after { - content: ""; - display: table; - border-collapse: collapse; -} -.ui-helper-clearfix:after { - clear: both; -} -.ui-helper-clearfix { - min-height: 0; /* support: IE7 */ -} -.ui-helper-zfix { - width: 100%; - height: 100%; - top: 0; - right: 0; - position: absolute; - opacity: 0; - filter:Alpha(Opacity=0); -} - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { - cursor: default !important; -} - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { - display: block; - text-indent: -99999px; - overflow: hidden; - background-repeat: no-repeat; -} - -/*! - * jQuery UI Resizable 1.10.1 - * http://jqueryui.com - * - * Copyright 2013 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */ -.ui-resizable { - position: relative; -} -.ui-resizable-handle { - position: absolute; - font-size: 0.1px; - display: block; -} -.ui-resizable-disabled .ui-resizable-handle, -.ui-resizable-autohide .ui-resizable-handle { - display: none; -} -.ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - right: 0; -} -.ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - right: 0; -} -/* @noflip */ -.ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; -} -/* @noflip */ -.ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; -} -/* @noflip */ -.ui-resizable-se { - cursor: se-resize; - width: 9px; - height: 9px; - right: -5px; - bottom: -5px; -} -/* @noflip */ -.ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; -} -/* @noflip */ -.ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; -} -/* @noflip */ -.ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; -} - -/* WP buttons: see buttons.css. */ - -.ui-button { - display: inline-block; - text-decoration: none; - font-size: 13px; - line-height: 26px; - height: 28px; - margin: 0; - padding: 0 10px 1px; - cursor: pointer; - border-width: 1px; - border-style: solid; - -webkit-appearance: none; - -webkit-border-radius: 3px; - border-radius: 3px; - white-space: nowrap; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - color: #555; - border-color: #cccccc; - background: #f7f7f7; - -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - vertical-align: top; -} - -.ui-button:active, -.ui-button:focus { - outline: none; -} - -/* Remove the dotted border on :focus and the extra padding in Firefox */ -.ui-button::-moz-focus-inner { - border-width: 1px 0; - border-style: solid none; - border-color: transparent; - padding: 0; -} - -.ui-button:hover, -.ui-button:focus { - background: #fafafa; - border-color: #999; - color: #222; -} - -.ui-button:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); -} - -.ui-button:active { - background: #eee; - border-color: #999; - color: #333; - -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); -} - -.ui-button[disabled], -.ui-button:disabled { - color: #aaa !important; - border-color: #ddd !important; - background: #f7f7f7 !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - text-shadow: 0 1px 0 #fff !important; - cursor: default; -} - -@media screen and ( max-width: 782px ) { - - .ui-button { - padding: 10px 14px; - line-height: 1; - font-size: 14px; - vertical-align: middle; - height: auto; - margin-bottom: 4px; - } - -} - -/* WP Theme */ - -.ui-dialog { - position: absolute; - top: 0; - right: 0; - z-index: 100102; - background-color: #fff; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); -} - -.ui-dialog-titlebar { - background: #fcfcfc; - border-bottom: 1px solid #dfdfdf; - height: 36px; - font-size: 18px; - font-weight: 600; - line-height: 36px; - padding: 0 16px 0 36px; -} - -.ui-button.ui-dialog-titlebar-close { - background: none; - border: none; - -webkit-box-shadow: none; - box-shadow: none; - color: #666; - cursor: pointer; - display: block; - padding: 0; - position: absolute; - top: 0; - left: 0; - width: 36px; - height: 36px; - text-align: center; -} - -.ui-dialog-titlebar-close:before { - font: normal 20px/1 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - line-height: 36px; - width: 36px; - height: 36px; - content: '\f158'; -} - -.ui-button.ui-dialog-titlebar-close:hover { - color: #2ea2cc; -} - -.ui-dialog-titlebar-close .ui-button-text { - display: none; -} - -.ui-dialog-content { - padding: 16px; - overflow: auto; -} - -.ui-dialog-buttonpane { - background: #fcfcfc; - border-top: 1px solid #dfdfdf; - padding: 16px; -} - -.ui-dialog-buttonpane .ui-button { - margin-right: 16px; -} - -.ui-dialog-buttonpane .ui-dialog-buttonset { - float: left; -} - -.ui-draggable .ui-dialog-titlebar { - cursor: move; -} - -.ui-widget-overlay { - position: fixed; - top: 0; - right: 0; - left: 0; - bottom: 0; - min-height: 360px; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 100101; -} diff --git a/sources/wordpress/wp-includes/css/jquery-ui-dialog-rtl.min.css b/sources/wordpress/wp-includes/css/jquery-ui-dialog-rtl.min.css deleted file mode 100644 index 67b4304..0000000 --- a/sources/wordpress/wp-includes/css/jquery-ui-dialog-rtl.min.css +++ /dev/null @@ -1,19 +0,0 @@ -/*! - * jQuery UI CSS Framework 1.10.1 - * http://jqueryui.com - * - * Copyright 2013 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:after,.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;right:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}/*! - * jQuery UI Resizable 1.10.1 - * http://jqueryui.com - * - * Copyright 2013 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;right:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;right:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:9px;height:9px;right:-5px;bottom:-5px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-button{display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;-webkit-border-radius:3px;border-radius:3px;white-space:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.ui-button:active,.ui-button:focus{outline:0}.ui-button::-moz-focus-inner{border-width:1px 0;border-style:solid none;border-color:transparent;padding:0}.ui-button:focus,.ui-button:hover{background:#fafafa;border-color:#999;color:#222}.ui-button:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ui-button:active{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.ui-button:disabled,.ui-button[disabled]{color:#aaa!important;border-color:#ddd!important;background:#f7f7f7!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important;cursor:default}@media screen and (max-width:782px){.ui-button{padding:10px 14px;line-height:1;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.ui-dialog{position:absolute;top:0;right:0;z-index:100102;background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3)}.ui-dialog-titlebar{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 16px 0 36px}.ui-button.ui-dialog-titlebar-close{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;color:#666;cursor:pointer;display:block;padding:0;position:absolute;top:0;left:0;width:36px;height:36px;text-align:center}.ui-dialog-titlebar-close:before{font:400 20px/1 dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:36px;width:36px;height:36px;content:'\f158'}.ui-button.ui-dialog-titlebar-close:hover{color:#2ea2cc}.ui-dialog-titlebar-close .ui-button-text{display:none}.ui-dialog-content{padding:16px;overflow:auto}.ui-dialog-buttonpane{background:#fcfcfc;border-top:1px solid #dfdfdf;padding:16px}.ui-dialog-buttonpane .ui-button{margin-right:16px}.ui-dialog-buttonpane .ui-dialog-buttonset{float:left}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-widget-overlay{position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100101} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/jquery-ui-dialog.css b/sources/wordpress/wp-includes/css/jquery-ui-dialog.css deleted file mode 100644 index 78e9741..0000000 --- a/sources/wordpress/wp-includes/css/jquery-ui-dialog.css +++ /dev/null @@ -1,343 +0,0 @@ -/*! - * jQuery UI CSS Framework 1.10.1 - * http://jqueryui.com - * - * Copyright 2013 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { - display: none; -} -.ui-helper-hidden-accessible { - border: 0; - clip: rect(0 0 0 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; -} -.ui-helper-reset { - margin: 0; - padding: 0; - border: 0; - outline: 0; - line-height: 1.3; - text-decoration: none; - font-size: 100%; - list-style: none; -} -.ui-helper-clearfix:before, -.ui-helper-clearfix:after { - content: ""; - display: table; - border-collapse: collapse; -} -.ui-helper-clearfix:after { - clear: both; -} -.ui-helper-clearfix { - min-height: 0; /* support: IE7 */ -} -.ui-helper-zfix { - width: 100%; - height: 100%; - top: 0; - left: 0; - position: absolute; - opacity: 0; - filter:Alpha(Opacity=0); -} - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { - cursor: default !important; -} - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { - display: block; - text-indent: -99999px; - overflow: hidden; - background-repeat: no-repeat; -} - -/*! - * jQuery UI Resizable 1.10.1 - * http://jqueryui.com - * - * Copyright 2013 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */ -.ui-resizable { - position: relative; -} -.ui-resizable-handle { - position: absolute; - font-size: 0.1px; - display: block; -} -.ui-resizable-disabled .ui-resizable-handle, -.ui-resizable-autohide .ui-resizable-handle { - display: none; -} -.ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - left: 0; -} -.ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - left: 0; -} -/* @noflip */ -.ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; -} -/* @noflip */ -.ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; -} -/* @noflip */ -.ui-resizable-se { - cursor: se-resize; - width: 9px; - height: 9px; - right: -5px; - bottom: -5px; -} -/* @noflip */ -.ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; -} -/* @noflip */ -.ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; -} -/* @noflip */ -.ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; -} - -/* WP buttons: see buttons.css. */ - -.ui-button { - display: inline-block; - text-decoration: none; - font-size: 13px; - line-height: 26px; - height: 28px; - margin: 0; - padding: 0 10px 1px; - cursor: pointer; - border-width: 1px; - border-style: solid; - -webkit-appearance: none; - -webkit-border-radius: 3px; - border-radius: 3px; - white-space: nowrap; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - color: #555; - border-color: #cccccc; - background: #f7f7f7; - -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 ); - vertical-align: top; -} - -.ui-button:active, -.ui-button:focus { - outline: none; -} - -/* Remove the dotted border on :focus and the extra padding in Firefox */ -.ui-button::-moz-focus-inner { - border-width: 1px 0; - border-style: solid none; - border-color: transparent; - padding: 0; -} - -.ui-button:hover, -.ui-button:focus { - background: #fafafa; - border-color: #999; - color: #222; -} - -.ui-button:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); -} - -.ui-button:active { - background: #eee; - border-color: #999; - color: #333; - -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); -} - -.ui-button[disabled], -.ui-button:disabled { - color: #aaa !important; - border-color: #ddd !important; - background: #f7f7f7 !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - text-shadow: 0 1px 0 #fff !important; - cursor: default; -} - -@media screen and ( max-width: 782px ) { - - .ui-button { - padding: 10px 14px; - line-height: 1; - font-size: 14px; - vertical-align: middle; - height: auto; - margin-bottom: 4px; - } - -} - -/* WP Theme */ - -.ui-dialog { - position: absolute; - top: 0; - left: 0; - z-index: 100102; - background-color: #fff; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); -} - -.ui-dialog-titlebar { - background: #fcfcfc; - border-bottom: 1px solid #dfdfdf; - height: 36px; - font-size: 18px; - font-weight: 600; - line-height: 36px; - padding: 0 36px 0 16px; -} - -.ui-button.ui-dialog-titlebar-close { - background: none; - border: none; - -webkit-box-shadow: none; - box-shadow: none; - color: #666; - cursor: pointer; - display: block; - padding: 0; - position: absolute; - top: 0; - right: 0; - width: 36px; - height: 36px; - text-align: center; -} - -.ui-dialog-titlebar-close:before { - font: normal 20px/1 'dashicons'; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - line-height: 36px; - width: 36px; - height: 36px; - content: '\f158'; -} - -.ui-button.ui-dialog-titlebar-close:hover { - color: #2ea2cc; -} - -.ui-dialog-titlebar-close .ui-button-text { - display: none; -} - -.ui-dialog-content { - padding: 16px; - overflow: auto; -} - -.ui-dialog-buttonpane { - background: #fcfcfc; - border-top: 1px solid #dfdfdf; - padding: 16px; -} - -.ui-dialog-buttonpane .ui-button { - margin-left: 16px; -} - -.ui-dialog-buttonpane .ui-dialog-buttonset { - float: right; -} - -.ui-draggable .ui-dialog-titlebar { - cursor: move; -} - -.ui-widget-overlay { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - min-height: 360px; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 100101; -} diff --git a/sources/wordpress/wp-includes/css/jquery-ui-dialog.min.css b/sources/wordpress/wp-includes/css/jquery-ui-dialog.min.css deleted file mode 100644 index 2f9d67e..0000000 --- a/sources/wordpress/wp-includes/css/jquery-ui-dialog.min.css +++ /dev/null @@ -1,19 +0,0 @@ -/*! - * jQuery UI CSS Framework 1.10.1 - * http://jqueryui.com - * - * Copyright 2013 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:after,.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}/*! - * jQuery UI Resizable 1.10.1 - * http://jqueryui.com - * - * Copyright 2013 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:9px;height:9px;right:-5px;bottom:-5px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-button{display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;-webkit-border-radius:3px;border-radius:3px;white-space:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.ui-button:active,.ui-button:focus{outline:0}.ui-button::-moz-focus-inner{border-width:1px 0;border-style:solid none;border-color:transparent;padding:0}.ui-button:focus,.ui-button:hover{background:#fafafa;border-color:#999;color:#222}.ui-button:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ui-button:active{background:#eee;border-color:#999;color:#333;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.ui-button:disabled,.ui-button[disabled]{color:#aaa!important;border-color:#ddd!important;background:#f7f7f7!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important;cursor:default}@media screen and (max-width:782px){.ui-button{padding:10px 14px;line-height:1;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.ui-dialog{position:absolute;top:0;left:0;z-index:100102;background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3)}.ui-dialog-titlebar{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 36px 0 16px}.ui-button.ui-dialog-titlebar-close{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;color:#666;cursor:pointer;display:block;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center}.ui-dialog-titlebar-close:before{font:400 20px/1 dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:36px;width:36px;height:36px;content:'\f158'}.ui-button.ui-dialog-titlebar-close:hover{color:#2ea2cc}.ui-dialog-titlebar-close .ui-button-text{display:none}.ui-dialog-content{padding:16px;overflow:auto}.ui-dialog-buttonpane{background:#fcfcfc;border-top:1px solid #dfdfdf;padding:16px}.ui-dialog-buttonpane .ui-button{margin-left:16px}.ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-widget-overlay{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100101} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/media-views-rtl.css b/sources/wordpress/wp-includes/css/media-views-rtl.css deleted file mode 100644 index d122b8f..0000000 --- a/sources/wordpress/wp-includes/css/media-views-rtl.css +++ /dev/null @@ -1,2568 +0,0 @@ -/** - * Base Styles - */ -.media-modal * { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} - -.media-frame input, -.media-frame select, -.media-frame textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.media-modal, -.media-frame { - font-family: "Open Sans", sans-serif; - font-size: 12px; -} - -.media-frame input, -.media-frame textarea { - padding: 6px 8px; -} - -.media-frame select, -.wp-admin .media-frame select { - line-height: 28px; - margin-top: 3px; -} - -.media-frame a { - border-bottom: none; - color: #21759b; -} - -.media-frame a:hover { - color: #d54e21; -} - -.media-frame a.button { - color: #333; -} - -.media-frame a.button:hover { - color: #222; -} - -.media-frame a.button-primary, -.media-frame a.button-primary:hover { - color: #fff; -} - -.media-frame input[type="text"], -.media-frame input[type="password"], -.media-frame input[type="number"], -.media-frame input[type="search"], -.media-frame input[type="email"], -.media-frame input[type="url"], -.media-frame textarea, -.media-frame select { - font-family: "Open Sans", sans-serif; - font-size: 12px; - border-width: 1px; - border-style: solid; - border-color: #dfdfdf; -} - -.media-frame input[type="text"]:focus, -.media-frame input[type="password"]:focus, -.media-frame input[type="number"]:focus, -.media-frame input[type="search"]:focus, -.media-frame input[type="email"]:focus, -.media-frame input[type="url"]:focus, -.media-frame textarea:focus, -.media-frame select:focus { - border-color: #5b9dd9; -} - -.media-frame select { - height: 24px; - padding: 2px; -} - -.media-frame input:disabled, -.media-frame textarea:disabled, -.media-frame input[readonly], -.media-frame textarea[readonly] { - background-color: #eee; -} - -.media-frame input[type="search"] { - -webkit-appearance: textfield; -} - -.media-frame :-moz-placeholder { - color: #a9a9a9; -} - -.media-frame .hidden { - display: none; -} - -/* Enable draggable on IE10 touch events until it's rolled into jQuery UI core */ -.ui-sortable, -.ui-draggable { - -ms-touch-action: none; - touch-action: none; -} - -.meta-box-sortables.ui-sortable { - -ms-touch-action: auto; - touch-action: auto; -} - -.meta-box-sortables.ui-sortable .hndle { - -ms-touch-action: none; - touch-action: none; -} - -/** - * Modal - */ -.media-modal { - position: fixed; - top: 30px; - right: 30px; - left: 30px; - bottom: 30px; - z-index: 160000; -} - -.wp-customizer .media-modal { - z-index: 560000; -} - -.media-modal-backdrop { - position: fixed; - top: 0; - right: 0; - left: 0; - bottom: 0; - min-height: 360px; - background: #000; - opacity: 0.7; - z-index: 159900; -} - -.wp-customizer .media-modal-backdrop { - z-index: 559900; -} - -.media-modal-close { - position: absolute; - text-decoration: none; - top: 10px; - left: 10px; - width: 30px; - height: 30px; - z-index: 1000; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.media-modal-close:active { - -webkit-box-shadow: none; - box-shadow: none; -} - -.media-modal-close span.media-modal-icon { - display: block; - margin-top: 5px; - width: 30px; - height: 15px; - background-image: none; - text-align: center; -} - -.media-modal-close .media-modal-icon:before { - content: '\f158'; - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color: #666; -} - -.media-modal-close:hover .media-modal-icon:before { - color: #2ea2cc; -} - -.media-modal-close:active { - outline: 0; -} - -.media-modal-content { - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; - overflow: auto; - min-height: 300px; - -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7); - box-shadow: 0 5px 15px rgba(0,0,0,0.7); - background: #fcfcfc; - -webkit-font-smoothing: subpixel-antialiased; -} - -.media-modal-icon { - background-image: url(../images/uploader-icons.png); - background-repeat: no-repeat; -} - -/** - * Toolbar - */ -.media-toolbar { - position: absolute; - top: 0; - right: 0; - left: 0; - z-index: 100; - height: 60px; - padding: 0 16px; - border: 0 solid #dfdfdf; - overflow: hidden; -} - -.media-toolbar-primary { - float: left; - height: 100%; -} - -.media-toolbar-secondary { - float: right; - height: 100%; -} - -.media-toolbar-primary > .media-button, -.media-toolbar-primary > .media-button-group { - margin-right: 10px; - float: right; - margin-top: 15px; -} - -.media-toolbar-secondary > .media-button, -.media-toolbar-secondary > .media-button-group { - margin-left: 10px; - margin-top: 15px; -} - -/** - * Sidebar - */ -.media-sidebar { - position: absolute; - top: 0; - left: 0; - bottom: 0; - width: 267px; - padding: 0 16px 24px; - z-index: 75; - background: #f3f3f3; - border-right: 1px solid #ddd; - overflow: auto; - -webkit-overflow-scrolling: touch; -} - -.hide-toolbar .media-sidebar { - bottom: 0; -} - -.media-sidebar .sidebar-title { - font-size: 20px; - margin: 0; - padding: 12px 10px 10px; - line-height: 28px; -} - -.media-sidebar .sidebar-content { - padding: 0 10px; - margin-bottom: 130px; -} - -.media-sidebar .search { - display: block; - width: 100%; -} - -.media-sidebar h3, -.image-details h3 { - position: relative; - font-weight: bold; - text-transform: uppercase; - font-size: 12px; - color: #666; - margin: 24px 0 8px; -} - -.media-sidebar .setting, -.attachment-details .setting { - display: block; - float: right; - width: 100%; - margin: 1px 0; -} - -.media-sidebar .setting label, -.attachment-details .setting label { - display: block; -} - -.media-sidebar .setting .link-to-custom, -.attachment-details .setting .link-to-custom { - margin: 3px 2px 0; -} - -.media-sidebar .setting span, -.attachment-details .setting span { - min-width: 30%; - margin-left: 4%; - font-size: 12px; - text-align: left; -} - -.media-sidebar .setting select, -.attachment-details .setting select { - max-width: 65%; -} - -.media-sidebar .setting input[type="checkbox"], -.media-sidebar .field input[type="checkbox"], -.media-sidebar .setting input[type="radio"], -.media-sidebar .field input[type="radio"], -.attachment-details .setting input[type="checkbox"], -.attachment-details .field input[type="checkbox"], -.attachment-details .setting input[type="radio"], -.attachment-details .field input[type="radio"] { - float: none; - margin: 8px 3px 0; - padding: 0; -} - -.media-sidebar .setting span, -.attachment-details .setting span, -.compat-item label span { - float: right; - min-height: 22px; - padding-top: 8px; - line-height: 16px; - font-weight: normal; - color: #666; -} - -.compat-item label span { - text-align: left; -} - -.media-sidebar .setting input[type="text"], -.media-sidebar .setting input[type="password"], -.media-sidebar .setting input[type="email"], -.media-sidebar .setting input[type="number"], -.media-sidebar .setting input[type="search"], -.media-sidebar .setting input[type="tel"], -.media-sidebar .setting input[type="url"], -.media-sidebar .setting textarea, -.media-sidebar .setting .value, -.attachment-details .setting input[type="text"], -.attachment-details .setting input[type="password"], -.attachment-details .setting input[type="email"], -.attachment-details .setting input[type="number"], -.attachment-details .setting input[type="search"], -.attachment-details .setting input[type="tel"], -.attachment-details .setting input[type="url"], -.attachment-details .setting textarea, -.attachment-details .setting .value { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 1px; - width: 65%; - float: left; -} - -.media-sidebar .setting .value, -.attachment-details .setting .value { - margin: 0 1px; - text-align: right; -} - -.media-sidebar .setting textarea, -.attachment-details .setting textarea, -.compat-item .field textarea { - height: 62px; - resize: vertical; -} - -.media-sidebar select, -.attachment-details select { - margin-top: 3px; -} - -.compat-item { - float: right; - width: 100%; - overflow: hidden; -} - -.compat-item table { - width: 100%; - table-layout: fixed; - border-spacing: 0; - border: 0; -} - -.compat-item tr { - padding: 2px 0; - display: block; - overflow: hidden; -} - -.compat-item .label, -.compat-item .field { - display: block; - margin: 0; - padding: 0; -} - -.compat-item .label { - min-width: 30%; - margin-left: 4%; - float: right; - text-align: left; -} - -.compat-item .label span { - display: block; - width: 100%; -} - -.compat-item .field { - float: left; - width: 66%; -} - -.compat-item .field input[type="text"], -.compat-item .field input[type="password"], -.compat-item .field input[type="email"], -.compat-item .field input[type="number"], -.compat-item .field input[type="search"], -.compat-item .field input[type="tel"], -.compat-item .field input[type="url"] { - width: 100%; - margin: 0; -} - -.sidebar-for-errors .attachment-details, -.sidebar-for-errors .compat-item, -.sidebar-for-errors .media-sidebar .media-progress-bar, -.sidebar-for-errors .upload-details { - display: none !important; -} - -/** - * Menu - */ -.media-menu { - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; - margin: 0; - padding: 10px 0; - background: #f3f3f3; - border-left-width: 1px; - border-left-style: solid; - border-left-color: #ccc; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.media-menu > a { - display: block; - position: relative; - padding: 8px 20px; - margin: 0; - line-height: 18px; - font-size: 14px; - color: #0074a2; - text-decoration: none; -} - -.media-menu > a:hover { - color: #21759B; - background: rgba( 0, 0, 0, 0.04 ); -} - -.media-menu > a:active { - outline: none; -} - -.media-menu .active, -.media-menu .active:hover { - color: #222; - font-weight: bold; -} - -.media-menu .separator { - height: 0; - margin: 12px 20px; - padding: 0; - border-top: 1px solid #ddd; -} - -/** - * Menu - */ -.media-router { - position: relative; - padding: 0 6px; - margin: 0; - clear: both; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.media-router a { - -webkit-transition: none; - transition: none; -} - -.media-router > a { - position: relative; - float: right; - padding: 8px 10px 9px; - margin: 0; - height: 18px; - line-height: 18px; - font-size: 14px; - text-decoration: none; -} - -.media-router > a:last-child { - border-left: 0; -} - -.media-router > a:active { - outline: none; -} - -.media-router .active, -.media-router .active:hover { - color: #333; -} - -.media-router .active, -.media-router > a.active:last-child { - margin: -1px -1px 0; - background: #fff; - border: 1px solid #ddd; - border-bottom: none; -} - -.media-router .active:after { - display: none; -} - -/** - * Frame - */ -.media-frame { - overflow: hidden; - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; -} - -.media-frame-menu { - position: absolute; - top: 0; - right: 0; - bottom: 0; - width: 200px; - z-index: 150; -} - -.media-frame-title { - position: absolute; - top: 0; - right: 200px; - left: 0; - height: 50px; - z-index: 200; -} - -.media-frame-router { - position: absolute; - top: 50px; - right: 200px; - left: 0; - height: 36px; - z-index: 200; -} - -.media-frame-content { - position: absolute; - top: 84px; - right: 200px; - left: 0; - bottom: 61px; - height: auto; - width: auto; - margin: 0; - overflow: auto; - background: #fff; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; -} - -.media-frame-toolbar { - position: absolute; - right: 200px; - left: 0; - bottom: 0; - height: 60px; - z-index: 100; -} - -.media-frame.hide-menu .media-frame-title, -.media-frame.hide-menu .media-frame-router, -.media-frame.hide-menu .media-frame-toolbar, -.media-frame.hide-menu .media-frame-content { - right: 0; -} - -.media-frame.hide-menu .media-frame-menu { - right: -200px; -} - -.media-frame.hide-toolbar .media-frame-content { - bottom: 0; -} - -.media-frame.hide-toolbar .media-frame-toolbar { - bottom: -61px; -} - -.media-frame.hide-router .media-frame-content { - top: 50px; -} - -.media-frame.hide-router .media-frame-router { - display: none; -} - -.media-frame.hide-router .media-frame-title { - border-bottom: 1px solid #dfdfdf; - -webkit-box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 ); - box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 ); -} - -.media-frame-title .dashicons { - display: none; -} - -.media-frame-title h1 { - padding: 0 16px; - font-size: 22px; - line-height: 50px; - margin: 0; -} - -.media-frame-title .suggested-dimensions { - font-size: 14px; - float: left; - margin-left: 20px; -} - -.media-frame-content .crop-content { - height: 100%; -} - -.media-frame-content .crop-content .crop-image { - display: block; - margin: auto; - max-width: 100%; - max-height: 100%; -} - -.media-frame-content .crop-content .upload-errors -{ - position: absolute; - width: 300px; - top: 50%; - right: 50%; - margin-right: -150px; - margin-left: -150px; - z-index: 600000; -} - -/** - * Iframes - */ -.media-frame .media-iframe { - overflow: hidden; -} - -.media-frame .media-iframe, -.media-frame .media-iframe iframe { - height: 100%; - width: 100%; - border: 0; -} - -/** - * Attachment Browser Filters - */ -.media-frame select.attachment-filters { - margin-top: 11px; - margin-left: 10px; -} - -/** - * Search - */ -.media-frame .search { - margin-top: 11px; - padding: 4px; - font-size: 13px; - color: #464646; - font-family: "Open Sans", sans-serif; - -webkit-appearance: none; -} - -.media-toolbar-secondary .search { - margin-left: 16px; -} - -/** - * Attachments - */ -.attachments { - margin: 0; - -webkit-overflow-scrolling: touch; -} - -/** - * Attachment - */ -.attachment { - position: relative; - float: right; - padding: 8px; - margin: 0; - color: #464646; - cursor: pointer; - list-style: none; - text-align: center; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - width: 25%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.attachment:focus, -.selected.attachment:focus, -.attachment.details:focus { - -webkit-box-shadow: - inset 0 0 2px 3px #fff, - inset 0 0 0 7px #5b9dd9; - box-shadow: - inset 0 0 2px 3px #fff, - inset 0 0 0 7px #5b9dd9; - outline: none; -} - -.selected.attachment { - -webkit-box-shadow: - inset 0 0 0 5px #fff, - inset 0 0 0 7px #ccc; - box-shadow: - inset 0 0 0 5px #fff, - inset 0 0 0 7px #ccc; -} - -.attachment.details { - -webkit-box-shadow: - inset 0 0 0 3px #fff, - inset 0 0 0 7px #1e8cbe; - box-shadow: - inset 0 0 0 3px #fff, - inset 0 0 0 7px #1e8cbe; -} - -.attachment-preview { - position: relative; - -webkit-box-shadow: - inset 0 0 15px rgba( 0, 0, 0, 0.1 ), - inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); - box-shadow: - inset 0 0 15px rgba( 0, 0, 0, 0.1 ), - inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); - background: #eee; - cursor: pointer; -} - -.attachment-preview:before { - content: ''; - display: block; - padding-top: 100%; -} - -.attachment .icon { - margin: 0 auto; - overflow: hidden; -} - -.attachment .thumbnail { - overflow: hidden; - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - opacity: 1; - -webkit-transition: opacity .1s; - transition: opacity .1s; -} - -.attachment .portrait img { - max-width: 100%; -} - -.attachment .landscape img { - max-height: 100%; -} - -.attachment .thumbnail:after { - content: ''; - display: block; - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; - -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); - overflow: hidden; -} - -/* @noflip */ -.attachment .thumbnail img { - top: 0; - left: 0; -} - -/* @noflip */ -.attachment .thumbnail .centered { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - -webkit-transform: translate( 50%, 50% ); - -ms-transform: translate(50%,50%); /* Fails with spaces?? Weird! */ - transform: translate( 50%, 50% ); -} - -.attachment .thumbnail .centered img { - -webkit-transform: translate( -50%, -50% ); - -ms-transform: translate(-50%,-50%); - transform: translate( -50%, -50% ); -} - -.attachment .thumbnail .centered img.icon { - -webkit-transform: translate( -50%, -70% ); - -ms-transform: translate(-50%,-70%); - transform: translate( -50%, -70% ); -} - -.ie8 .attachment img.icon { - top: 20%; - position: relative; -} - -.attachment .filename { - position: absolute; - right: 0; - left: 0; - bottom: 0; - overflow: hidden; - max-height: 100%; - word-wrap: break-word; - text-align: center; - font-weight: bold; - background: rgba( 255, 255, 255, 0.8 ); - -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); -} - -.attachment .filename div { - padding: 5px 10px; -} - -.attachment .thumbnail img { - position: absolute; -} - -.attachment .close { - display: none; - position: absolute; - top: 5px; - left: 5px; - height: 22px; - width: 22px; - padding: 0; - font-size: 20px; - line-height: 20px; - text-align: center; - text-decoration: none; - color: #464646; - background-color: #fff; - background-position: -96px 4px; - border-width: 0; - -webkit-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 ); -} - -.attachment .close:hover { - -webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 ); - box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 ); -} - -.attachment:hover .close { - display: block; -} - -.attachment .check { - display: none; - height: 24px; - width: 24px; - position: absolute; - z-index: 10; - top: 0; - left: 0; - outline: none; - background: #eee; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 ); - box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 ); -} - -.attachment .check div { - background-position: -1px 0; - height: 15px; - width: 15px; - margin: 5px; -} - -.attachment .check:hover div { - background-position: -40px 0; -} - -.attachment.selected .check { - display: block; -} - -.attachment.details .check, -.attachment.selected .check:focus, -.media-frame.mode-grid .attachment.selected .check { - background-color: #1e8cbe; - -webkit-box-shadow: - 0 0 0 1px #fff, - 0 0 0 2px #1e8cbe; - box-shadow: - 0 0 0 1px #fff, - 0 0 0 2px #1e8cbe; -} - -.attachment.details .check div, -.media-frame.mode-grid .attachment.selected .check div { - background-position: -21px 0; -} - -.attachment.details .check:hover div, -.attachment.selected .check:focus div, -.media-frame.mode-grid .attachment.selected .check:hover div { - background-position: -60px 0; -} - -.media-frame .attachment .describe { - position: relative; - display: block; - width: 100%; - margin: 0; - padding: 8px; - font-size: 12px; - -webkit-border-radius: 0; - border-radius: 0; -} - -/** - * Attachments Browser - */ -.media-frame .attachments-browser { - position: relative; - width: 100%; - height: 100%; - overflow: hidden; -} - -.attachments-browser .media-toolbar { - left: 300px; - height: 50px; -} - -.attachments-browser.hide-sidebar .media-toolbar { - left: 0; -} - -.attachments-browser .media-toolbar-primary > .media-button, -.attachments-browser .media-toolbar-primary > .media-button-group, -.attachments-browser .media-toolbar-secondary > .media-button, -.attachments-browser .media-toolbar-secondary > .media-button-group { - margin: 11px 0; -} - -.attachments-browser .attachments { - padding: 2px 8px 8px; -} - -.attachments-browser .attachments, -.attachments-browser .uploader-inline { - position: absolute; - top: 50px; - right: 0; - left: 300px; - bottom: 0; - overflow: auto; - outline: none; -} - -.attachments-browser .uploader-inline.hidden { - display: none; -} - -.uploader-inline .close { - background-color: transparent; - border: 0; - cursor: pointer; - height: 48px; - position: absolute; - left: 0; - text-align: center; - top: 0; - width: 50px; - z-index: 1; -} - -.uploader-inline .close:before { - font: normal 30px/50px 'dashicons' !important; - color: #777; - display: inline-block; - content: '\f335'; - font-weight: 300; -} - -.attachments-browser.hide-sidebar .attachments, -.attachments-browser.hide-sidebar .uploader-inline { - left: 0; - margin-left: 0; -} - -.attachments-browser .instructions { - display: inline-block; - margin-top: 16px; - line-height: 18px; - font-size: 13px; - color: #666; - margin-left: 0.5em; -} - -.attachments-browser .no-media { - padding: 2em 2em 0 0; -} - -/** - * Progress Bar - */ -.media-progress-bar { - position: relative; - height: 10px; - width: 70%; - margin: 10px auto; - -webkit-border-radius: 10px; - border-radius: 10px; - background: #dfdfdf; - background: rgba( 0, 0, 0, 0.1 ); -} - -.media-progress-bar div { - height: 10px; - min-width: 20px; - width: 0; - background: #1e8cbe; - -webkit-border-radius: 10px; - border-radius: 10px; - -webkit-transition: width 300ms; - transition: width 300ms; -} - -.media-uploader-status .media-progress-bar { - display: none; - width: 100%; -} - -.uploading.media-uploader-status .media-progress-bar { - display: block; -} - -.attachment-preview .media-progress-bar { - position: absolute; - top: 50%; - right: 15%; - width: 70%; - margin: -5px 0 0 0; -} - -.media-uploader-status { - position: relative; - margin: 0 auto; - padding-bottom: 10px; - max-width: 400px; -} - -.media-sidebar .media-uploader-status { - border-bottom: 1px solid #dfdfdf; -} - -.uploader-inline .media-uploader-status h3 { - display: none; -} - -.media-uploader-status .upload-details { - display: none; - font-size: 12px; - color: #666; -} - -.uploading.media-uploader-status .upload-details { - display: block; -} - -.media-uploader-status .upload-detail-separator { - padding: 0 4px; -} - -.media-uploader-status .upload-count { - color: #464646; -} - -.media-uploader-status .upload-dismiss-errors, -.media-uploader-status .upload-errors { - display: none; -} - -.errors.media-uploader-status .upload-dismiss-errors, -.errors.media-uploader-status .upload-errors { - display: block; -} - -.media-uploader-status .upload-dismiss-errors { - text-decoration: none; -} - -.media-sidebar .media-uploader-status .upload-dismiss-errors { - position: absolute; - top: 0; - left: 0; -} - -.upload-errors .upload-error { - margin: 8px auto 0 auto; - padding: 8px; - border: 1px #c00 solid; - background: #ffebe8; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.upload-errors .upload-error-label { - padding: 2px 4px; - margin-left: 8px; - font-weight: bold; - color: #fff; - background: #e00; - background-image: -webkit-gradient(linear, right top, right bottom, from(#e00), to(#a00)); - background-image: -webkit-linear-gradient(top, #e00, #a00); - background-image: linear-gradient(to bottom, #e00, #a00); - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.upload-errors .upload-error-message { - display: block; - padding-top: 8px; - color: #b44; - word-wrap: break-word; -} - -.uploader-window { - position: fixed; - top: 0; - right: 0; - left: 0; - bottom: 0; - background: rgba( 0, 86, 132, 0.9 ); - z-index: 250000; - display: none; - text-align: center; - opacity: 0; - -webkit-transition: opacity 250ms; - transition: opacity 250ms; -} - -.uploader-window-content { - position: absolute; - top: 10px; - right: 10px; - left: 10px; - bottom: 10px; - border: 1px dashed #fff; -} - -.uploader-window h3 { - margin: -0.5em 0 0; - position: absolute; - top: 50%; - right: 0; - left: 0; - -webkit-transform: translateY( -50% ); - -ms-transform: translateY(-50%); - transform: translateY( -50% ); - font-size: 40px; - color: #fff; - padding: 0; -} - -.uploader-window .media-progress-bar { - margin-top: 20px; - max-width: 300px; - background: transparent; - border-color: #fff; - display: none; -} - -.uploader-window .media-progress-bar div { - background: #fff; -} - -.uploading .uploader-window .media-progress-bar { - display: block; -} - -.media-frame .uploader-inline { - margin-bottom: 20px; - padding: 0; - text-align: center; -} - -.uploader-inline-content { - position: absolute; - top: 30%; - right: 0; - left: 0; -} - -.uploader-inline-content .upload-ui { - margin: 2em 0; -} - -.uploader-inline-content .post-upload-ui { - margin-bottom: 2em; -} - -.uploader-inline .has-upload-message .upload-ui { - margin: 0 0 4em; -} - -.uploader-inline h3 { - font-size: 20px; - line-height: 28px; - font-weight: 400; - margin: 0; -} - -.uploader-inline .has-upload-message .upload-instructions { - font-size: 14px; - color: #464646; - font-weight: normal; -} - -.uploader-inline .drop-instructions { - display: none; -} - -.supports-drag-drop .uploader-inline .drop-instructions { - display: block; -} - -.uploader-inline p { - font-size: 12px; - margin: 0.5em 0; -} - -.uploader-inline .media-progress-bar { - display: none; -} - -.uploading.uploader-inline .media-progress-bar { - display: block; -} - -.uploader-inline .browser { - display: inline-block !important; -} - -/** - * Selection - */ -.media-selection { - position: absolute; - top: 0; - right: 0; - left: 350px; - height: 60px; - padding: 0 16px 0 0; - overflow: hidden; - white-space: nowrap; -} - -.media-selection .selection-info { - display: inline-block; - font-size: 12px; - height: 60px; - margin-left: 10px; - vertical-align: top; -} - -.media-selection.empty, -.media-selection.editing { - display: none; -} - -.media-selection.one .edit-selection { - display: none; -} - -.media-selection .count { - display: block; - padding-top: 12px; - font-size: 14px; - line-height: 20px; - font-weight: bold; -} - -.media-selection .selection-info a { - display: block; - float: right; - padding: 1px 8px; - margin: 1px -8px 1px 8px; - line-height: 16px; - text-decoration: none; - border-left: 1px solid #dfdfdf; - color: #21759B; -} - -.media-selection .selection-info a:hover { - background: #21759B; - color: #fff; - border-color: transparent; -} - -.media-selection .selection-info a:last-child { - border-left: 0; - margin-left: 0; -} - -.media-selection .selection-info .clear-selection { - color: red; -} - -.media-selection .selection-info .clear-selection:hover { - background: red; -} - -.media-selection .selection-view { - display: inline-block; - vertical-align: top; -} - -.media-selection .attachments { - display: inline-block; - height: 48px; - margin: 6px; - padding: 0; - overflow: hidden; - vertical-align: top; -} - -.media-selection .attachment { - width: 48px; - padding: 0; - margin: 0; - -webkit-box-shadow: none; - box-shadow: none; -} - -.media-selection .attachment .thumbnail { - top: 4px; - left: 4px; - bottom: 4px; - right: 4px; -} - -.media-selection .attachment .icon { - width: 50%; -} - -.media-selection .attachment-preview { - -webkit-box-shadow: none; - box-shadow: none; - background: none; -} - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: - 0 0 0 1px #fff, - 0 0 0 3px #1e8cbe; - box-shadow: - 0 0 0 1px #fff, - 0 0 0 3px #1e8cbe; -} - -.media-selection:after { - content: ''; - display: block; - position: absolute; - top: 0; - left: 0; - bottom: 0; - width: 25px; - background-image: -webkit-gradient(linear, left top, right top, from(rgba( 255, 255, 255, 1 )), to(rgba( 255, 255, 255, 0 ))); - background-image: -webkit-linear-gradient(left, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 )); - background-image: linear-gradient(to right, rgba( 255, 255, 255, 1 ) , rgba( 255, 255, 255, 0 ) ); -} - -.media-selection .attachment .filename { - display: none; -} - -/** - * Spinner - */ -.media-frame .spinner { - background: url(../images/spinner.gif) no-repeat; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - display: none; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 0; -} - -.media-toolbar .spinner { - margin-top: 14px; -} - -/** - * Attachment Details - */ -.attachment-details { - position: relative; - overflow: auto; -} - -.attachment-details .settings-save-status { - float: left; - text-transform: none; - z-index: 10; -} - -.attachment-details .settings-save-status .spinner { - margin: 0 5px 0; -} - -.attachment-details .settings-save-status .saved { - float: left; - display: none; -} - -.attachment-details.save-waiting .settings-save-status .spinner, -.attachment-details.save-complete .settings-save-status .saved { - display: block; -} - -.attachment-info { - overflow: hidden; - min-height: 60px; - margin-bottom: 16px; - line-height: 18px; - color: #666; - border-bottom: 1px solid #ddd; - padding-bottom: 11px; -} - -.attachment-info .filename { - font-weight: bold; - color: #464646; - word-wrap: break-word; -} - -.attachment-info .thumbnail { - position: relative; - float: right; - max-width: 120px; - max-height: 120px; - margin-top: 5px; - margin-left: 10px; - margin-bottom: 5px; -} - -.uploading .attachment-info .thumbnail { - width: 120px; - height: 80px; - -webkit-box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 ); -} - -.uploading .attachment-info .media-progress-bar { - margin-top: 35px; -} - -.attachment-info .thumbnail-image:after { - content: ''; - display: block; - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; - -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); - overflow: hidden; -} - -.attachment-info .thumbnail img { - display: block; - max-width: 120px; - max-height: 120px; - margin: 0 auto; -} - -.attachment-info .details { - float: right; - font-size: 12px; - max-width: 100%; -} - -.attachment-info .edit-attachment, -.attachment-info .refresh-attachment, -.attachment-info .delete-attachment, -.attachment-info .trash-attachment, -.attachment-info .untrash-attachment { - display: block; - text-decoration: none; - white-space: nowrap; -} - -.attachment-info .refresh-attachment, -.attachment-details.needs-refresh .attachment-info .edit-attachment { - display: none; -} - -.attachment-details.needs-refresh .attachment-info .refresh-attachment, -.attachment-info .edit-attachment { - display: block; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment { - color: #bc0b0b; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover { - color: red; -} - -/** - * Attachment Display Settings - */ -.attachment-display-settings { - width: 100%; - float: right; - overflow: hidden; -} - -.attachment-display-settings h4 { - margin: 1.4em 0 0.4em; -} - -.collection-settings { - overflow: hidden; -} - -.collection-settings .setting input[type="checkbox"] { - float: right; - margin-left: 8px; -} - -.collection-settings .setting span { - min-width: inherit; -} - -/** - * Image Editor - */ -.media-modal .imgedit-wrap { - position: static; -} - -.media-modal .imgedit-wait { - height: auto !important; - left: 0; - bottom: 0; - right: 0; -} - -.media-modal .imgedit-wrap .imgedit-panel-content { - padding: 16px; - position: absolute; - top: 0; - left: 282px; - bottom: 0; - right: 0; - overflow: auto; -} - -.media-modal .imgedit-wrap .imgedit-settings { - background: #f3f3f3; - border-right: 1px solid #ddd; - padding: 0 16px 16px; - position: absolute; - top: 0; - left: 0; - bottom: 0; - width: 250px; - overflow: auto; -} - -.media-modal .imgedit-group { - background: none; - border: none; - border-bottom: 1px solid #ddd; - -webkit-box-shadow: none; - box-shadow: none; - margin: 0; - margin-bottom: 16px; - padding: 0; - padding-bottom: 16px; - position: relative; /* RTL fix, #WP29352 */ -} - -.media-modal .imgedit-group:last-of-type { - border: none; - margin: 0; - padding: 0; -} - -.media-modal .imgedit-group-top h3 { - text-transform: uppercase; - font-size: 12px; - color: #666; - margin: 0; - margin-top: 24px; -} - -.media-modal .imgedit-group-top h3 a { - text-decoration: none; - color: #666; -} - -.media-modal .imgedit-help-toggle { - margin-top: -2px; - cursor: pointer; - color: #666; -} - -.media-modal .imgedit-help-toggled span.dashicons:before { - content: '\f142'; -} - -.media-modal .imgedit-group img { - margin-top: 5px; -} - -.media-modal .imgedit-wrap div.updated { - margin: 0; - margin-bottom: 16px; -} - - -/** - * Embed from URL and Image Details - */ -.embed-url { - display: block; - position: relative; - padding: 16px; - margin: 0; - z-index: 250; - background: #fff; - font-size: 18px; -} - -.media-frame .embed-url input { - font-size: 18px; - padding: 12px 14px; - width: 100%; - min-width: 200px; - -webkit-box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 ); -} - -.media-frame .embed-url .spinner { - position: absolute; - top: 32px; - left: 26px; -} - -.media-frame .embed-loading .embed-url .spinner { - display: block; -} - -.embed-link-settings, -.embed-media-settings { - position: absolute; - top: 70px; - right: 0; - left: 0; - bottom: 0; - padding: 16px 16px 32px; - overflow: auto; -} - -.embed-preview img, .embed-preview iframe, .embed-preview embed { - max-width: 100%; -} - -.embed-preview img { - height: auto; -} - -.image-details .media-modal { - right: 140px; - left: 140px; -} - -.image-details .media-frame-title, -.image-details .media-frame-content, -.image-details .media-frame-router { - right: 0; -} - -.image-details .embed-media-settings { - top: 0; - overflow: visible; - padding: 0; -} - -.image-details .embed-media-settings, -.image-details .embed-media-settings div { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.image-details .column-settings { - background: #f3f3f3; - border-left: 1px solid #ddd; - min-height: 100%; - width: 55%; - position: absolute; - top: 0; - right: 0; -} - -.image-details .column-settings h3 { - margin: 20px; - padding-top: 20px; - border-top: 1px solid #ddd; -} - -.image-details .column-image { - width: 45%; - position: absolute; - right: 55%; - top: 0; -} - -.image-details .image { - margin: 20px; -} - -.image-details .image img { - max-width: 100%; - max-height: 500px; -} - -.image-details .advanced-toggle { - color: #666; - text-decoration: none; - display: block; -} - -.image-details .advanced-toggle:after { - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - content: '\f140'; - display: inline-block; - margin-top: -2px; -} - -.image-details .advanced-visible .advanced-toggle:after { - content: '\f142'; -} - -.image-details .embed-media-settings .size { - margin-bottom: 4px; -} - -.image-details .custom-size span { - display: block; -} - -.image-details .custom-size label { - display: block; - float: right; -} - -.image-details .custom-size span small { - color: #999; - font-size: inherit; -} - -.image-details .custom-size input { - width: 5em; -} - -.image-details .custom-size .sep { - float: right; - margin: 26px 6px 0 6px; -} - -.image-details .custom-size:after { - content: ''; - display: table; - clear: both; -} - -.media-embed .thumbnail { - max-width: 100%; - max-height: 200px; - position: relative; - float: right; -} - -.media-embed .thumbnail img { - max-height: 200px; - display: block; -} - -.media-embed .thumbnail:after { - content: ''; - display: block; - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; - -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); - overflow: hidden; -} - -.media-embed .setting { - width: 100%; - margin: 10px 0; - float: right; - display: block; - clear: both; -} - -.image-details .embed-media-settings .setting { - float: none; - width: auto; -} - -.image-details .actions { - margin: 10px 0; -} - -.image-details .hidden { - display: none; -} - -.media-embed .setting input[type="text"], -.media-embed .setting textarea { - display: block; - width: 100%; - max-width: 400px; - margin: 1px 0; -} - -.image-details .embed-media-settings .setting input[type="text"], -.image-details .embed-media-settings .setting textarea { - max-width: inherit; - width: 70%; -} - -.image-details .embed-media-settings .setting input.link-to-custom, -.image-details .embed-media-settings .link-target, -.image-details .embed-media-settings .custom-size { - margin-right: 27%; - width: 70%; -} - -.image-details .embed-media-settings .link-target { - margin-top: 24px; -} - -.media-embed .setting input.hidden, -.media-embed .setting textarea.hidden { - display: none; -} - -.media-embed .setting span { - display: block; - width: 200px; - font-size: 13px; - line-height: 24px; - color: #666; -} - -.image-details .embed-media-settings .setting span { - float: right; - width: 25%; - text-align: left; - margin: 8px 1% 0 1%; - line-height: 1.1; -} - -.media-embed .setting .button-group { - margin: 2px 0; -} - -.media-embed-sidebar { - position: absolute; - top: 0; - right: 440px; -} - -.advanced-section, -.link-settings { - margin-top: 10px; -} - -/* Drag & drop on the editor upload */ -#wp-fullscreen-body .uploader-editor, -.wp-editor-wrap .uploader-editor { - background: rgba( 150, 150, 150, 0.9 ); - position: absolute; - top: 0; - right: 0; - width: 100%; - height: 100%; - z-index: 99998; /* under the toolbar */ - display: none; - text-align: center; -} - -#wp-fullscreen-body .uploader-editor { - background: rgba( 0, 86, 132, 0.9 ); - position: fixed; - z-index: 100050; /* above the editor toolbar */ -} - -.wp-editor-wrap.wp-fullscreen-wrap .uploader-editor { - opacity: 0; -} - -#wp-fullscreen-body .uploader-editor-content, -.wp-editor-wrap .uploader-editor-content { - border: 1px dashed #fff; - position: absolute; - top: 10px; - right: 10px; - left: 10px; - bottom: 10px; -} - -#wp-fullscreen-body .uploader-editor .uploader-editor-title, -.wp-editor-wrap .uploader-editor .uploader-editor-title { - position: absolute; - top: 50%; - right: 0; - left: 0; - -webkit-transform: translateY( -50% ); - -ms-transform: translateY(-50%); - transform: translateY( -50% ); - font-size: 3em; - line-height: 1.3; - font-weight: bold; - color: #fff; - padding: 0; - margin: 0; - display: none; -} - -.wp-editor-wrap .uploader-editor.droppable { - background: rgba( 0, 86, 132, 0.9 ); -} - -#wp-fullscreen-body .uploader-editor .uploader-editor-title, -.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title { - display: block; -} - -/** - * IE7 Fixes - */ -.ie7 .media-frame .attachments-browser { - position: static; -} - -.ie7 .media-frame .embed-url input { - margin-top: 4px; - width: 90%; -} - -.ie7 .compat-item { - width: 99%; -} - -.ie7 .attachment-display-settings { - width: auto; -} - -.ie7 .attachment-preview, -.ie7 .attachment-preview .thumbnail { - width: 120px; - height: 120px; -} - -.ie7 .media-frame .attachment .describe { - width: 102px; -} - -.ie7 .media-sidebar .setting select { - max-width: 55%; -} - -.ie7 .media-sidebar .setting input[type="text"], -.ie7 .media-sidebar .setting input[type="password"], -.ie7 .media-sidebar .setting input[type="email"], -.ie7 .media-sidebar .setting input[type="number"], -.ie7 .media-sidebar .setting input[type="search"], -.ie7 .media-sidebar .setting input[type="tel"], -.ie7 .media-sidebar .setting input[type="url"], -.ie7 .media-sidebar .setting textarea { - width: 55%; -} - -.ie7 .media-sidebar .setting .link-to-custom { - float: right; -} - -/** - * Localization - */ -.rtl .media-modal, -.rtl .media-frame, -.rtl .media-frame .search, -.rtl .media-frame input[type="text"], -.rtl .media-frame input[type="password"], -.rtl .media-frame input[type="number"], -.rtl .media-frame input[type="search"], -.rtl .media-frame input[type="email"], -.rtl .media-frame input[type="url"], -.rtl .media-frame input[type="tel"], -.rtl .media-frame textarea, -.rtl .media-frame select { - font-family: Tahoma, sans-serif; -} - -:lang(he-il) .rtl .media-modal, -:lang(he-il) .rtl .media-frame, -:lang(he-il) .rtl .media-frame .search, -:lang(he-il) .rtl .media-frame input[type="text"], -:lang(he-il) .rtl .media-frame input[type="password"], -:lang(he-il) .rtl .media-frame input[type="number"], -:lang(he-il) .rtl .media-frame input[type="search"], -:lang(he-il) .rtl .media-frame input[type="email"], -:lang(he-il) .rtl .media-frame input[type="url"], -:lang(he-il) .rtl .media-frame textarea, -:lang(he-il) .rtl .media-frame select { - font-family: Arial, sans-serif; -} - -@media only screen and (max-width: 940px) { - .media-frame-content .media-toolbar-primary .search, - .media-frame-content .media-toolbar-secondary .attachment-filters { - max-width: 134px; - } -} - -/** - * Responsive layout - */ -@media only screen and (max-width: 900px) { - - /* Drop-down menu */ - .media-frame:not(.hide-menu) .media-frame-title, - .media-frame:not(.hide-menu) .media-frame-router, - .media-frame:not(.hide-menu) .media-frame-content, - .media-frame:not(.hide-menu) .media-frame-toolbar { - right: 0; - } - - .media-frame:not(.hide-menu) .media-frame-menu { - position: static; - width: 0; - } - - .media-frame:not(.hide-menu) .media-menu { - width: auto; - max-width: 80%; - overflow: auto; - z-index: 2000; - top: 50px; - right: -300px; - left: auto; - bottom: auto; - padding: 5px 0; - border: 1px solid #ccc; - } - - .media-frame:not(.hide-menu) .media-menu.visible { - right: 0; - } - - .media-frame:not(.hide-menu) .media-menu > a { - padding: 12px 16px; - font-size: 16px; - } - - .media-frame:not(.hide-menu) .media-menu > a.active { - display: none; - } - - .media-frame:not(.hide-menu) .media-menu .separator { - margin: 5px 10px; - } - - .media-frame:not(.hide-menu) .media-frame-title { - right: 0; - color: #21759b; - } - - .media-frame:not(.hide-menu) .media-frame-title .dashicons { - display: inline-block; - line-height: 50px; - } - - .media-frame:not(.hide-menu) .media-frame-title h1 { - line-height: 3; - font-size: 18px; - float: right; - cursor: pointer; - } - /* End drop-down menu */ - - .media-sidebar { - width: 230px; - } - - .attachments-browser .attachments, - .attachments-browser .uploader-inline, - .attachments-browser .media-toolbar { - left: 262px; - } - - .media-sidebar .setting, - .attachment-details .setting { - margin: 6px 0px; - } - - .media-sidebar .setting input, - .media-sidebar .setting textarea, - .media-sidebar .setting span, - .attachment-details .setting input, - .attachment-details .setting textarea, - .attachment-details .setting span, - .compat-item label span { - float: none; - } - - .media-sidebar .setting span, - .attachment-details .setting span, - .compat-item label span { - text-align: inherit; - min-height: 16px; - margin: 0; - padding: 8px 2px 0; - } - - .media-sidebar .setting .value, - .attachment-details .setting .value { - float: none; - width: auto; - } - - .media-sidebar .setting input[type="text"], - .media-sidebar .setting input[type="password"], - .media-sidebar .setting input[type="email"], - .media-sidebar .setting input[type="number"], - .media-sidebar .setting input[type="search"], - .media-sidebar .setting input[type="tel"], - .media-sidebar .setting input[type="url"], - .media-sidebar .setting textarea, - .media-sidebar .setting select, - .attachment-details .setting input[type="text"], - .attachment-details .setting input[type="password"], - .attachment-details .setting input[type="email"], - .attachment-details .setting input[type="number"], - .attachment-details .setting input[type="search"], - .attachment-details .setting input[type="tel"], - .attachment-details .setting input[type="url"], - .attachment-details .setting textarea, - .attachment-details .setting select { - float: none; - width: 98%; - max-width: none; - height: auto; - } - - .media-sidebar .setting select.columns, - .attachment-details .setting select.columns { - width: auto; - } - - .media-frame input, - .media-frame textarea, - .media-frame .search { - padding: 3px 6px; - } - - .image-details .column-image { - width: 30%; - right: 70%; - } - - .image-details .column-settings { - width: 70%; - } - - .image-details .media-modal { - right: 30px; - left: 30px; - } - - .image-details .embed-media-settings .setting { - margin: 20px; - } - - .image-details .embed-media-settings .setting span { - float: none; - text-align: right; - width: 100%; - margin-bottom: 4px; - } - - .image-details .embed-media-settings .setting input.link-to-custom, - .image-details .embed-media-settings .setting input[type="text"], - .image-details .embed-media-settings .setting textarea { - width: 100%; - margin-right: 0; - } - - .image-details .embed-media-settings .custom-size { - margin-right: 20px; - } - - .collection-settings .setting input[type="checkbox"] { - margin-top: 0; - } - - .media-selection { - min-width: 120px; - } - - .media-selection:after { - background: none; - } - - .media-selection .attachments { - display: none; - } - - .media-modal .attachments-browser .media-toolbar-primary, - .media-modal .attachments-browser .media-toolbar-secondary { - width: 50%; - } - - .media-modal .attachments-browser .media-toolbar .search { - max-width: 100%; - height: auto; - float: left; - } - - .media-modal .attachments-browser .media-toolbar .attachment-filters { - margin: 11px 0 0; - height: auto; - max-width: 65%; - max-width: -webkit-calc(100% - 38px); - max-width: calc(100% - 38px); - } - - .media-modal .attachments-browser .media-toolbar .spinner { - margin: 14px 8px 0; - } - - /* Text inputs need to be 16px, or they force zooming on iOS */ - .media-frame input[type="text"], - .media-frame input[type="password"], - .media-frame input[type="number"], - .media-frame input[type="search"], - .media-frame input[type="email"], - .media-frame input[type="url"], - .media-frame textarea, - .media-frame select { - font-size: 16px; - } -} - -/* Responsive on portrait and landscape */ -@media only screen and (max-width: 640px), screen and (max-height: 400px) { - /* Full-bleed modal */ - .media-modal, - .image-details .media-modal { - position: fixed; - top: 0; - right: 0; - left: 0; - bottom: 0; - } - - .media-modal-backdrop { - position: fixed; - } - - .media-sidebar { - z-index: 1900; - max-width: 70%; - bottom: 120%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding-bottom: 0; - } - - .media-sidebar.visible { - bottom: 0; - } - - .attachments-browser .attachments, - .attachments-browser .uploader-inline, - .attachments-browser .media-toolbar { - left: 0; - } - - .image-details .media-frame-title { - display: block; - top: 0; - font-size: 14px; - } - - .image-details .column-image, - .image-details .column-settings { - width: 100%; - position: relative; - right: 0; - } - - .image-details .column-settings { - padding: 4px 0; - } - - /* Media tabs on the top */ - .media-frame-content .media-toolbar .instructions { - display: none; - } -} - -/* Landscape specific header override */ -@media screen and (max-height: 400px) { - .media-menu { - padding: 0; - } - - .media-frame-router { - top: 44px; - } - - .media-frame-content { - top: 78px; - } - - .attachments-browser .attachments { - top: 40px; - } - - /* Prevent unnecessary scrolling on title input */ - .embed-link-settings { - overflow: visible; - } -} - -@media only screen and (max-width: 480px) { - .media-frame-content .media-toolbar .search, - .media-frame-content .media-toolbar .attachment-filters { - max-width: 90px; - } - - .media-modal-close { - top: 5px; - left: 5px; - } - - .media-modal .media-frame-title { - height: 40px; - } - - .media-modal .media-frame-title h1, - .media-frame:not(.hide-menu) .media-frame-title h1 { - font-size: 18px; - line-height: 40px; - } - - .media-frame:not(.hide-menu) .media-frame-title .dashicons { - line-height: 40px; - } - - .media-frame-router, - .media-frame:not(.hide-menu) .media-menu { - top: 40px; - } - - .media-frame-content { - top: 74px; - } - - .media-frame.hide-router .media-frame-content { - top: 40px; - } -} - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .media-modal-icon { - background-image: url(../images/uploader-icons-2x.png); - -webkit-background-size: 134px 15px; - background-size: 134px 15px; - } - - .media-frame .spinner { - background-image: url(../images/spinner-2x.gif); - } -} - -.media-frame-content[data-columns="1"] .attachment { - width: 100%; -} - -.media-frame-content[data-columns="2"] .attachment { - width: 50%; -} - -.media-frame-content[data-columns="3"] .attachment { - width: 33.33%; -} - -.media-frame-content[data-columns="4"] .attachment { - width: 25%; -} - -.media-frame-content[data-columns="5"] .attachment { - width: 20%; -} - -.media-frame-content[data-columns="6"] .attachment { - width: 16.66%; -} - -.media-frame-content[data-columns="7"] .attachment { - width: 14.28%; -} - -.media-frame-content[data-columns="8"] .attachment { - width: 12.5%; -} - -.media-frame-content[data-columns="9"] .attachment { - width: 11.11%; -} - -.media-frame-content[data-columns="10"] .attachment { - width: 10%; -} - -.media-frame-content[data-columns="11"] .attachment { - width: 9.09%; -} - -.media-frame-content[data-columns="12"] .attachment { - width: 8.33%; -} diff --git a/sources/wordpress/wp-includes/css/media-views-rtl.min.css b/sources/wordpress/wp-includes/css/media-views-rtl.min.css deleted file mode 100644 index fb2fedb..0000000 --- a/sources/wordpress/wp-includes/css/media-views-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -.media-modal *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.media-frame input,.media-frame select,.media-frame textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.media-frame,.media-modal{font-family:"Open Sans",sans-serif;font-size:12px}.media-frame input,.media-frame textarea{padding:6px 8px}.media-frame select,.wp-admin .media-frame select{line-height:28px;margin-top:3px}.media-frame a{border-bottom:none;color:#21759b}.media-frame a:hover{color:#d54e21}.media-frame a.button{color:#333}.media-frame a.button:hover{color:#222}.media-frame a.button-primary,.media-frame a.button-primary:hover{color:#fff}.media-frame input[type=email],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=text],.media-frame input[type=url],.media-frame select,.media-frame textarea{font-family:"Open Sans",sans-serif;font-size:12px;border-width:1px;border-style:solid;border-color:#dfdfdf}.media-frame input[type=email]:focus,.media-frame input[type=number]:focus,.media-frame input[type=password]:focus,.media-frame input[type=search]:focus,.media-frame input[type=text]:focus,.media-frame input[type=url]:focus,.media-frame select:focus,.media-frame textarea:focus{border-color:#5b9dd9}.media-frame select{height:24px;padding:2px}.media-frame input:disabled,.media-frame input[readonly],.media-frame textarea:disabled,.media-frame textarea[readonly]{background-color:#eee}.media-frame input[type=search]{-webkit-appearance:textfield}.media-frame :-moz-placeholder{color:#a9a9a9}.media-frame .hidden{display:none}.ui-draggable,.ui-sortable{-ms-touch-action:none;touch-action:none}.meta-box-sortables.ui-sortable{-ms-touch-action:auto;touch-action:auto}.meta-box-sortables.ui-sortable .hndle{-ms-touch-action:none;touch-action:none}.media-modal{position:fixed;top:30px;right:30px;left:30px;bottom:30px;z-index:160000}.wp-customizer .media-modal{z-index:560000}.media-modal-backdrop{position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:159900}.wp-customizer .media-modal-backdrop{z-index:559900}.media-modal-close{position:absolute;text-decoration:none;top:10px;left:10px;width:30px;height:30px;z-index:1000;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.media-modal-close:active{-webkit-box-shadow:none;box-shadow:none}.media-modal-close span.media-modal-icon{display:block;margin-top:5px;width:30px;height:15px;background-image:none;text-align:center}.media-modal-close .media-modal-icon:before{content:'\f158';font:400 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#666}.media-modal-close:hover .media-modal-icon:before{color:#2ea2cc}.media-modal-close:active{outline:0}.media-modal-content{position:absolute;top:0;right:0;left:0;bottom:0;overflow:auto;min-height:300px;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.7);box-shadow:0 5px 15px rgba(0,0,0,.7);background:#fcfcfc;-webkit-font-smoothing:subpixel-antialiased}.media-modal-icon{background-image:url(../images/uploader-icons.png);background-repeat:no-repeat}.media-toolbar{position:absolute;top:0;right:0;left:0;z-index:100;height:60px;padding:0 16px;border:0 solid #dfdfdf;overflow:hidden}.media-toolbar-primary{float:left;height:100%}.media-toolbar-secondary{float:right;height:100%}.media-toolbar-primary>.media-button,.media-toolbar-primary>.media-button-group{margin-right:10px;float:right;margin-top:15px}.media-toolbar-secondary>.media-button,.media-toolbar-secondary>.media-button-group{margin-left:10px;margin-top:15px}.media-sidebar{position:absolute;top:0;left:0;bottom:0;width:267px;padding:0 16px 24px;z-index:75;background:#f3f3f3;border-right:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch}.hide-toolbar .media-sidebar{bottom:0}.media-sidebar .sidebar-title{font-size:20px;margin:0;padding:12px 10px 10px;line-height:28px}.media-sidebar .sidebar-content{padding:0 10px;margin-bottom:130px}.media-sidebar .search{display:block;width:100%}.image-details h3,.media-sidebar h3{position:relative;font-weight:700;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}.attachment-details .setting,.media-sidebar .setting{display:block;float:right;width:100%;margin:1px 0}.attachment-details .setting label,.media-sidebar .setting label{display:block}.attachment-details .setting .link-to-custom,.media-sidebar .setting .link-to-custom{margin:3px 2px 0}.attachment-details .setting span,.media-sidebar .setting span{min-width:30%;margin-left:4%;font-size:12px;text-align:left}.attachment-details .setting select,.media-sidebar .setting select{max-width:65%}.attachment-details .field input[type=checkbox],.attachment-details .field input[type=radio],.attachment-details .setting input[type=checkbox],.attachment-details .setting input[type=radio],.media-sidebar .field input[type=checkbox],.media-sidebar .field input[type=radio],.media-sidebar .setting input[type=checkbox],.media-sidebar .setting input[type=radio]{float:none;margin:8px 3px 0;padding:0}.attachment-details .setting span,.compat-item label span,.media-sidebar .setting span{float:right;min-height:22px;padding-top:8px;line-height:16px;font-weight:400;color:#666}.compat-item label span{text-align:left}.attachment-details .setting .value,.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting textarea,.media-sidebar .setting .value,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:1px;width:65%;float:left}.attachment-details .setting .value,.media-sidebar .setting .value{margin:0 1px;text-align:right}.attachment-details .setting textarea,.compat-item .field textarea,.media-sidebar .setting textarea{height:62px;resize:vertical}.attachment-details select,.media-sidebar select{margin-top:3px}.compat-item{float:right;width:100%;overflow:hidden}.compat-item table{width:100%;table-layout:fixed;border-spacing:0;border:0}.compat-item tr{padding:2px 0;display:block;overflow:hidden}.compat-item .field,.compat-item .label{display:block;margin:0;padding:0}.compat-item .label{min-width:30%;margin-left:4%;float:right;text-align:left}.compat-item .label span{display:block;width:100%}.compat-item .field{float:left;width:66%}.compat-item .field input[type=email],.compat-item .field input[type=number],.compat-item .field input[type=password],.compat-item .field input[type=search],.compat-item .field input[type=tel],.compat-item .field input[type=text],.compat-item .field input[type=url]{width:100%;margin:0}.sidebar-for-errors .attachment-details,.sidebar-for-errors .compat-item,.sidebar-for-errors .media-sidebar .media-progress-bar,.sidebar-for-errors .upload-details{display:none!important}.media-menu{position:absolute;top:0;right:0;left:0;bottom:0;margin:0;padding:10px 0;background:#f3f3f3;border-left-width:1px;border-left-style:solid;border-left-color:#ccc;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.media-menu>a{display:block;position:relative;padding:8px 20px;margin:0;line-height:18px;font-size:14px;color:#0074a2;text-decoration:none}.media-menu>a:hover{color:#21759B;background:rgba(0,0,0,.04)}.media-menu>a:active{outline:0}.media-menu .active,.media-menu .active:hover{color:#222;font-weight:700}.media-menu .separator{height:0;margin:12px 20px;padding:0;border-top:1px solid #ddd}.media-router{position:relative;padding:0 6px;margin:0;clear:both;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.media-router a{-webkit-transition:none;transition:none}.media-router>a{position:relative;float:right;padding:8px 10px 9px;margin:0;height:18px;line-height:18px;font-size:14px;text-decoration:none}.media-router>a:last-child{border-left:0}.media-router>a:active{outline:0}.media-router .active,.media-router .active:hover{color:#333}.media-router .active,.media-router>a.active:last-child{margin:-1px -1px 0;background:#fff;border:1px solid #ddd;border-bottom:none}.media-router .active:after{display:none}.media-frame{overflow:hidden;position:absolute;top:0;right:0;left:0;bottom:0}.media-frame-menu{position:absolute;top:0;right:0;bottom:0;width:200px;z-index:150}.media-frame-title{position:absolute;top:0;right:200px;left:0;height:50px;z-index:200}.media-frame-router{position:absolute;top:50px;right:200px;left:0;height:36px;z-index:200}.media-frame-content{position:absolute;top:84px;right:200px;left:0;bottom:61px;height:auto;width:auto;margin:0;overflow:auto;background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.media-frame-toolbar{position:absolute;right:200px;left:0;bottom:0;height:60px;z-index:100}.media-frame.hide-menu .media-frame-content,.media-frame.hide-menu .media-frame-router,.media-frame.hide-menu .media-frame-title,.media-frame.hide-menu .media-frame-toolbar{right:0}.media-frame.hide-menu .media-frame-menu{right:-200px}.media-frame.hide-toolbar .media-frame-content{bottom:0}.media-frame.hide-toolbar .media-frame-toolbar{bottom:-61px}.media-frame.hide-router .media-frame-content{top:50px}.media-frame.hide-router .media-frame-router{display:none}.media-frame.hide-router .media-frame-title{border-bottom:1px solid #dfdfdf;-webkit-box-shadow:0 4px 4px -4px rgba(0,0,0,.1);box-shadow:0 4px 4px -4px rgba(0,0,0,.1)}.media-frame-title .dashicons{display:none}.media-frame-title h1{padding:0 16px;font-size:22px;line-height:50px;margin:0}.media-frame-title .suggested-dimensions{font-size:14px;float:left;margin-left:20px}.media-frame-content .crop-content{height:100%}.media-frame-content .crop-content .crop-image{display:block;margin:auto;max-width:100%;max-height:100%}.media-frame-content .crop-content .upload-errors{position:absolute;width:300px;top:50%;right:50%;margin-right:-150px;margin-left:-150px;z-index:600000}.media-frame .media-iframe{overflow:hidden}.media-frame .media-iframe,.media-frame .media-iframe iframe{height:100%;width:100%;border:0}.media-frame select.attachment-filters{margin-top:11px;margin-left:10px}.media-frame .search{margin-top:11px;padding:4px;font-size:13px;color:#464646;font-family:"Open Sans",sans-serif;-webkit-appearance:none}.media-toolbar-secondary .search{margin-left:16px}.attachments{margin:0;-webkit-overflow-scrolling:touch}.attachment{position:relative;float:right;padding:8px;margin:0;color:#464646;cursor:pointer;list-style:none;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:25%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.attachment.details:focus,.attachment:focus,.selected.attachment:focus{-webkit-box-shadow:inset 0 0 2px 3px #fff,inset 0 0 0 7px #5b9dd9;box-shadow:inset 0 0 2px 3px #fff,inset 0 0 0 7px #5b9dd9;outline:0}.selected.attachment{-webkit-box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 7px #ccc;box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 7px #ccc}.attachment.details{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #1e8cbe;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #1e8cbe}.attachment-preview{position:relative;-webkit-box-shadow:inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);box-shadow:inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);background:#eee;cursor:pointer}.attachment-preview:before{content:'';display:block;padding-top:100%}.attachment .icon{margin:0 auto;overflow:hidden}.attachment .thumbnail{overflow:hidden;position:absolute;top:0;left:0;bottom:0;right:0;opacity:1;-webkit-transition:opacity .1s;transition:opacity .1s}.attachment .portrait img{max-width:100%}.attachment .landscape img{max-height:100%}.attachment .thumbnail:after{content:'';display:block;position:absolute;top:0;right:0;left:0;bottom:0;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.attachment .thumbnail img{top:0;left:0}.attachment .thumbnail .centered{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translate(50%,50%);-ms-transform:translate(50%,50%);transform:translate(50%,50%)}.attachment .thumbnail .centered img{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.attachment .thumbnail .centered img.icon{-webkit-transform:translate(-50%,-70%);-ms-transform:translate(-50%,-70%);transform:translate(-50%,-70%)}.ie8 .attachment img.icon{top:20%;position:relative}.attachment .filename{position:absolute;right:0;left:0;bottom:0;overflow:hidden;max-height:100%;word-wrap:break-word;text-align:center;font-weight:700;background:rgba(255,255,255,.8);-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.attachment .filename div{padding:5px 10px}.attachment .thumbnail img{position:absolute}.attachment .close{display:none;position:absolute;top:5px;left:5px;height:22px;width:22px;padding:0;font-size:20px;line-height:20px;text-align:center;text-decoration:none;color:#464646;background-color:#fff;background-position:-96px 4px;border-width:0;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.3);box-shadow:0 0 0 1px rgba(0,0,0,.3)}.attachment .close:hover{-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.6);box-shadow:0 0 0 1px rgba(0,0,0,.6)}.attachment:hover .close{display:block}.attachment .check{display:none;height:24px;width:24px;position:absolute;z-index:10;top:0;left:0;outline:0;background:#eee;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.15);box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.15)}.attachment .check div{background-position:-1px 0;height:15px;width:15px;margin:5px}.attachment .check:hover div{background-position:-40px 0}.attachment.selected .check{display:block}.attachment.details .check,.attachment.selected .check:focus,.media-frame.mode-grid .attachment.selected .check{background-color:#1e8cbe;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #1e8cbe;box-shadow:0 0 0 1px #fff,0 0 0 2px #1e8cbe}.attachment.details .check div,.media-frame.mode-grid .attachment.selected .check div{background-position:-21px 0}.attachment.details .check:hover div,.attachment.selected .check:focus div,.media-frame.mode-grid .attachment.selected .check:hover div{background-position:-60px 0}.media-frame .attachment .describe{position:relative;display:block;width:100%;margin:0;padding:8px;font-size:12px;-webkit-border-radius:0;border-radius:0}.media-frame .attachments-browser{position:relative;width:100%;height:100%;overflow:hidden}.attachments-browser .media-toolbar{left:300px;height:50px}.attachments-browser.hide-sidebar .media-toolbar{left:0}.attachments-browser .media-toolbar-primary>.media-button,.attachments-browser .media-toolbar-primary>.media-button-group,.attachments-browser .media-toolbar-secondary>.media-button,.attachments-browser .media-toolbar-secondary>.media-button-group{margin:11px 0}.attachments-browser .attachments{padding:2px 8px 8px}.attachments-browser .attachments,.attachments-browser .uploader-inline{position:absolute;top:50px;right:0;left:300px;bottom:0;overflow:auto;outline:0}.attachments-browser .uploader-inline.hidden{display:none}.uploader-inline .close{background-color:transparent;border:0;cursor:pointer;height:48px;position:absolute;left:0;text-align:center;top:0;width:50px;z-index:1}.uploader-inline .close:before{font:400 30px/50px dashicons!important;color:#777;display:inline-block;content:'\f335';font-weight:300}.attachments-browser.hide-sidebar .attachments,.attachments-browser.hide-sidebar .uploader-inline{left:0;margin-left:0}.attachments-browser .instructions{display:inline-block;margin-top:16px;line-height:18px;font-size:13px;color:#666;margin-left:.5em}.attachments-browser .no-media{padding:2em 2em 0 0}.media-progress-bar{position:relative;height:10px;width:70%;margin:10px auto;-webkit-border-radius:10px;border-radius:10px;background:#dfdfdf;background:rgba(0,0,0,.1)}.media-progress-bar div{height:10px;min-width:20px;width:0;background:#1e8cbe;-webkit-border-radius:10px;border-radius:10px;-webkit-transition:width 300ms;transition:width 300ms}.media-uploader-status .media-progress-bar{display:none;width:100%}.uploading.media-uploader-status .media-progress-bar{display:block}.attachment-preview .media-progress-bar{position:absolute;top:50%;right:15%;width:70%;margin:-5px 0 0}.media-uploader-status{position:relative;margin:0 auto;padding-bottom:10px;max-width:400px}.media-sidebar .media-uploader-status{border-bottom:1px solid #dfdfdf}.uploader-inline .media-uploader-status h3{display:none}.media-uploader-status .upload-details{display:none;font-size:12px;color:#666}.uploading.media-uploader-status .upload-details{display:block}.media-uploader-status .upload-detail-separator{padding:0 4px}.media-uploader-status .upload-count{color:#464646}.media-uploader-status .upload-dismiss-errors,.media-uploader-status .upload-errors{display:none}.errors.media-uploader-status .upload-dismiss-errors,.errors.media-uploader-status .upload-errors{display:block}.media-uploader-status .upload-dismiss-errors{text-decoration:none}.media-sidebar .media-uploader-status .upload-dismiss-errors{position:absolute;top:0;left:0}.upload-errors .upload-error{margin:8px auto 0;padding:8px;border:1px solid #c00;background:#ffebe8;-webkit-border-radius:3px;border-radius:3px}.upload-errors .upload-error-label{padding:2px 4px;margin-left:8px;font-weight:700;color:#fff;background:#e00;background:-webkit-gradient(linear,right top,right bottom,from(#e00),to(#a00)) #e00;background:-webkit-linear-gradient(top,#e00,#a00) #e00;background:linear-gradient(to bottom,#e00,#a00) #e00;-webkit-border-radius:3px;border-radius:3px}.upload-errors .upload-error-message{display:block;padding-top:8px;color:#b44;word-wrap:break-word}.uploader-window{position:fixed;top:0;right:0;left:0;bottom:0;background:rgba(0,86,132,.9);z-index:250000;display:none;text-align:center;opacity:0;-webkit-transition:opacity 250ms;transition:opacity 250ms}.uploader-window-content{position:absolute;top:10px;right:10px;left:10px;bottom:10px;border:1px dashed #fff}.uploader-window h3{margin:-.5em 0 0;position:absolute;top:50%;right:0;left:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);font-size:40px;color:#fff;padding:0}.uploader-window .media-progress-bar{margin-top:20px;max-width:300px;background:0 0;border-color:#fff;display:none}.uploader-window .media-progress-bar div{background:#fff}.uploading .uploader-window .media-progress-bar{display:block}.media-frame .uploader-inline{margin-bottom:20px;padding:0;text-align:center}.uploader-inline-content{position:absolute;top:30%;right:0;left:0}.uploader-inline-content .upload-ui{margin:2em 0}.uploader-inline-content .post-upload-ui{margin-bottom:2em}.uploader-inline .has-upload-message .upload-ui{margin:0 0 4em}.uploader-inline h3{font-size:20px;line-height:28px;font-weight:400;margin:0}.uploader-inline .has-upload-message .upload-instructions{font-size:14px;color:#464646;font-weight:400}.uploader-inline .drop-instructions{display:none}.supports-drag-drop .uploader-inline .drop-instructions{display:block}.uploader-inline p{font-size:12px;margin:.5em 0}.uploader-inline .media-progress-bar{display:none}.uploading.uploader-inline .media-progress-bar{display:block}.uploader-inline .browser{display:inline-block!important}.media-selection{position:absolute;top:0;right:0;left:350px;height:60px;padding:0 16px 0 0;overflow:hidden;white-space:nowrap}.media-selection .selection-info{display:inline-block;font-size:12px;height:60px;margin-left:10px;vertical-align:top}.media-selection.editing,.media-selection.empty,.media-selection.one .edit-selection{display:none}.media-selection .count{display:block;padding-top:12px;font-size:14px;line-height:20px;font-weight:700}.media-selection .selection-info a{display:block;float:right;padding:1px 8px;margin:1px -8px 1px 8px;line-height:16px;text-decoration:none;border-left:1px solid #dfdfdf;color:#21759B}.media-selection .selection-info a:hover{background:#21759B;color:#fff;border-color:transparent}.media-selection .selection-info a:last-child{border-left:0;margin-left:0}.media-selection .selection-info .clear-selection{color:red}.media-selection .selection-info .clear-selection:hover{background:red}.media-selection .selection-view{display:inline-block;vertical-align:top}.media-selection .attachments{display:inline-block;height:48px;margin:6px;padding:0;overflow:hidden;vertical-align:top}.media-selection .attachment{width:48px;padding:0;margin:0;-webkit-box-shadow:none;box-shadow:none}.media-selection .attachment .thumbnail{top:4px;left:4px;bottom:4px;right:4px}.media-selection .attachment .icon{width:50%}.media-selection .attachment-preview{-webkit-box-shadow:none;box-shadow:none;background:0 0}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #1e8cbe;box-shadow:0 0 0 1px #fff,0 0 0 3px #1e8cbe}.media-selection:after{content:'';display:block;position:absolute;top:0;left:0;bottom:0;width:25px;background-image:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,1)),to(rgba(255,255,255,0)));background-image:-webkit-linear-gradient(left,rgba(255,255,255,1),rgba(255,255,255,0));background-image:linear-gradient(to right,rgba(255,255,255,1),rgba(255,255,255,0))}.media-selection .attachment .filename{display:none}.media-frame .spinner{background:url(../images/spinner.gif) 0 0/20px 20px no-repeat;-webkit-background-size:20px 20px;display:none;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:0}.media-toolbar .spinner{margin-top:14px}.attachment-details{position:relative;overflow:auto}.attachment-details .settings-save-status{float:left;text-transform:none;z-index:10}.attachment-details .settings-save-status .spinner{margin:0 5px}.attachment-details .settings-save-status .saved{float:left;display:none}.attachment-details.save-complete .settings-save-status .saved,.attachment-details.save-waiting .settings-save-status .spinner{display:block}.attachment-info{overflow:hidden;min-height:60px;margin-bottom:16px;line-height:18px;color:#666;border-bottom:1px solid #ddd;padding-bottom:11px}.attachment-info .filename{font-weight:700;color:#464646;word-wrap:break-word}.attachment-info .thumbnail{position:relative;float:right;max-width:120px;max-height:120px;margin-top:5px;margin-left:10px;margin-bottom:5px}.uploading .attachment-info .thumbnail{width:120px;height:80px;-webkit-box-shadow:inset 0 0 15px rgba(0,0,0,.1);box-shadow:inset 0 0 15px rgba(0,0,0,.1)}.uploading .attachment-info .media-progress-bar{margin-top:35px}.attachment-info .thumbnail-image:after{content:'';display:block;position:absolute;top:0;right:0;left:0;bottom:0;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);overflow:hidden}.attachment-info .thumbnail img{display:block;max-width:120px;max-height:120px;margin:0 auto}.attachment-info .details{float:right;font-size:12px;max-width:100%}.attachment-info .delete-attachment,.attachment-info .edit-attachment,.attachment-info .refresh-attachment,.attachment-info .trash-attachment,.attachment-info .untrash-attachment{display:block;text-decoration:none;white-space:nowrap}.attachment-details.needs-refresh .attachment-info .edit-attachment,.attachment-info .refresh-attachment{display:none}.attachment-details.needs-refresh .attachment-info .refresh-attachment,.attachment-info .edit-attachment{display:block}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment{color:#bc0b0b}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover{color:red}.attachment-display-settings{width:100%;float:right;overflow:hidden}.attachment-display-settings h4{margin:1.4em 0 .4em}.collection-settings{overflow:hidden}.collection-settings .setting input[type=checkbox]{float:right;margin-left:8px}.collection-settings .setting span{min-width:inherit}.media-modal .imgedit-wrap{position:static}.media-modal .imgedit-wait{height:auto!important;left:0;bottom:0;right:0}.media-modal .imgedit-wrap .imgedit-panel-content{padding:16px;position:absolute;top:0;left:282px;bottom:0;right:0;overflow:auto}.media-modal .imgedit-wrap .imgedit-settings{background:#f3f3f3;border-right:1px solid #ddd;padding:0 16px 16px;position:absolute;top:0;left:0;bottom:0;width:250px;overflow:auto}.media-modal .imgedit-group{background:0 0;border:none;border-bottom:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;margin:0 0 16px;padding:0 0 16px;position:relative}.media-modal .imgedit-group:last-of-type{border:none;margin:0;padding:0}.media-modal .imgedit-group-top h3{text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 0}.media-modal .imgedit-group-top h3 a{text-decoration:none;color:#666}.media-modal .imgedit-help-toggle{margin-top:-2px;cursor:pointer;color:#666}.media-modal .imgedit-help-toggled span.dashicons:before{content:'\f142'}.media-modal .imgedit-group img{margin-top:5px}.media-modal .imgedit-wrap div.updated{margin:0 0 16px}.embed-url{display:block;position:relative;padding:16px;margin:0;z-index:250;background:#fff;font-size:18px}.media-frame .embed-url input{font-size:18px;padding:12px 14px;width:100%;min-width:200px;-webkit-box-shadow:inset 2px 2px 4px -2px rgba(0,0,0,.1);box-shadow:inset 2px 2px 4px -2px rgba(0,0,0,.1)}.media-frame .embed-url .spinner{position:absolute;top:32px;left:26px}.media-frame .embed-loading .embed-url .spinner{display:block}.embed-link-settings,.embed-media-settings{position:absolute;top:70px;right:0;left:0;bottom:0;padding:16px 16px 32px;overflow:auto}.embed-preview embed,.embed-preview iframe,.embed-preview img{max-width:100%}.embed-preview img{height:auto}.image-details .media-modal{right:140px;left:140px}.image-details .media-frame-content,.image-details .media-frame-router,.image-details .media-frame-title{right:0}.image-details .embed-media-settings{top:0;overflow:visible;padding:0}.image-details .embed-media-settings,.image-details .embed-media-settings div{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.image-details .column-settings{background:#f3f3f3;border-left:1px solid #ddd;min-height:100%;width:55%;position:absolute;top:0;right:0}.image-details .column-settings h3{margin:20px;padding-top:20px;border-top:1px solid #ddd}.image-details .column-image{width:45%;position:absolute;right:55%;top:0}.image-details .image{margin:20px}.image-details .image img{max-width:100%;max-height:500px}.image-details .advanced-toggle{color:#666;text-decoration:none;display:block}.image-details .advanced-toggle:after{font:400 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f140';display:inline-block;margin-top:-2px}.image-details .advanced-visible .advanced-toggle:after{content:'\f142'}.image-details .embed-media-settings .size{margin-bottom:4px}.image-details .custom-size span{display:block}.image-details .custom-size label{display:block;float:right}.image-details .custom-size span small{color:#999;font-size:inherit}.image-details .custom-size input{width:5em}.image-details .custom-size .sep{float:right;margin:26px 6px 0}.image-details .custom-size:after{content:'';display:table;clear:both}.media-embed .thumbnail{max-width:100%;max-height:200px;position:relative;float:right}.media-embed .thumbnail img{max-height:200px;display:block}.media-embed .thumbnail:after{content:'';display:block;position:absolute;top:0;right:0;left:0;bottom:0;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.media-embed .setting{width:100%;margin:10px 0;float:right;display:block;clear:both}.image-details .embed-media-settings .setting{float:none;width:auto}.image-details .actions{margin:10px 0}.image-details .hidden{display:none}.media-embed .setting input[type=text],.media-embed .setting textarea{display:block;width:100%;max-width:400px;margin:1px 0}.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{max-width:inherit;width:70%}.image-details .embed-media-settings .custom-size,.image-details .embed-media-settings .link-target,.image-details .embed-media-settings .setting input.link-to-custom{margin-right:27%;width:70%}.image-details .embed-media-settings .link-target{margin-top:24px}.media-embed .setting input.hidden,.media-embed .setting textarea.hidden{display:none}.media-embed .setting span{display:block;width:200px;font-size:13px;line-height:24px;color:#666}.image-details .embed-media-settings .setting span{float:right;width:25%;text-align:left;margin:8px 1% 0;line-height:1.1}.media-embed .setting .button-group{margin:2px 0}.media-embed-sidebar{position:absolute;top:0;right:440px}.advanced-section,.link-settings{margin-top:10px}#wp-fullscreen-body .uploader-editor,.wp-editor-wrap .uploader-editor{background:rgba(150,150,150,.9);position:absolute;top:0;right:0;width:100%;height:100%;z-index:99998;display:none;text-align:center}#wp-fullscreen-body .uploader-editor{background:rgba(0,86,132,.9);position:fixed;z-index:100050}.wp-editor-wrap.wp-fullscreen-wrap .uploader-editor{opacity:0}#wp-fullscreen-body .uploader-editor-content,.wp-editor-wrap .uploader-editor-content{border:1px dashed #fff;position:absolute;top:10px;right:10px;left:10px;bottom:10px}#wp-fullscreen-body .uploader-editor .uploader-editor-title,.wp-editor-wrap .uploader-editor .uploader-editor-title{position:absolute;top:50%;right:0;left:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);font-size:3em;line-height:1.3;font-weight:700;color:#fff;padding:0;margin:0;display:none}.wp-editor-wrap .uploader-editor.droppable{background:rgba(0,86,132,.9)}#wp-fullscreen-body .uploader-editor .uploader-editor-title,.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title{display:block}.ie7 .media-frame .attachments-browser{position:static}.ie7 .media-frame .embed-url input{margin-top:4px;width:90%}.ie7 .compat-item{width:99%}.ie7 .attachment-display-settings{width:auto}.ie7 .attachment-preview,.ie7 .attachment-preview .thumbnail{width:120px;height:120px}.ie7 .media-frame .attachment .describe{width:102px}.ie7 .media-sidebar .setting select{max-width:55%}.ie7 .media-sidebar .setting input[type=email],.ie7 .media-sidebar .setting input[type=number],.ie7 .media-sidebar .setting input[type=password],.ie7 .media-sidebar .setting input[type=search],.ie7 .media-sidebar .setting input[type=tel],.ie7 .media-sidebar .setting input[type=text],.ie7 .media-sidebar .setting input[type=url],.ie7 .media-sidebar .setting textarea{width:55%}.ie7 .media-sidebar .setting .link-to-custom{float:right}.rtl .media-frame,.rtl .media-frame .search,.rtl .media-frame input[type=email],.rtl .media-frame input[type=number],.rtl .media-frame input[type=password],.rtl .media-frame input[type=search],.rtl .media-frame input[type=tel],.rtl .media-frame input[type=text],.rtl .media-frame input[type=url],.rtl .media-frame select,.rtl .media-frame textarea,.rtl .media-modal{font-family:Tahoma,sans-serif}:lang(he-il) .rtl .media-frame,:lang(he-il) .rtl .media-frame .search,:lang(he-il) .rtl .media-frame input[type=email],:lang(he-il) .rtl .media-frame input[type=number],:lang(he-il) .rtl .media-frame input[type=password],:lang(he-il) .rtl .media-frame input[type=search],:lang(he-il) .rtl .media-frame input[type=text],:lang(he-il) .rtl .media-frame input[type=url],:lang(he-il) .rtl .media-frame select,:lang(he-il) .rtl .media-frame textarea,:lang(he-il) .rtl .media-modal{font-family:Arial,sans-serif}@media only screen and (max-width:940px){.media-frame-content .media-toolbar-primary .search,.media-frame-content .media-toolbar-secondary .attachment-filters{max-width:134px}}@media only screen and (max-width:900px){.media-frame:not(.hide-menu) .media-frame-content,.media-frame:not(.hide-menu) .media-frame-router,.media-frame:not(.hide-menu) .media-frame-title,.media-frame:not(.hide-menu) .media-frame-toolbar{right:0}.media-frame:not(.hide-menu) .media-frame-menu{position:static;width:0}.media-frame:not(.hide-menu) .media-menu{width:auto;max-width:80%;overflow:auto;z-index:2000;top:50px;right:-300px;left:auto;bottom:auto;padding:5px 0;border:1px solid #ccc}.media-frame:not(.hide-menu) .media-menu.visible{right:0}.media-frame:not(.hide-menu) .media-menu>a{padding:12px 16px;font-size:16px}.media-frame:not(.hide-menu) .media-menu>a.active{display:none}.media-frame:not(.hide-menu) .media-menu .separator{margin:5px 10px}.media-frame:not(.hide-menu) .media-frame-title{right:0;color:#21759b}.media-frame:not(.hide-menu) .media-frame-title .dashicons{display:inline-block;line-height:50px}.media-frame:not(.hide-menu) .media-frame-title h1{line-height:3;font-size:18px;float:right;cursor:pointer}.media-sidebar{width:230px}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{left:262px}.attachment-details .setting,.media-sidebar .setting{margin:6px 0}.attachment-details .setting input,.attachment-details .setting span,.attachment-details .setting textarea,.compat-item label span,.media-sidebar .setting input,.media-sidebar .setting span,.media-sidebar .setting textarea{float:none}.attachment-details .setting span,.compat-item label span,.media-sidebar .setting span{text-align:inherit;min-height:16px;margin:0;padding:8px 2px 0}.attachment-details .setting .value,.media-sidebar .setting .value{float:none;width:auto}.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting select,.attachment-details .setting textarea,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting select,.media-sidebar .setting textarea{float:none;width:98%;max-width:none;height:auto}.attachment-details .setting select.columns,.media-sidebar .setting select.columns{width:auto}.media-frame .search,.media-frame input,.media-frame textarea{padding:3px 6px}.image-details .column-image{width:30%;right:70%}.image-details .column-settings{width:70%}.image-details .media-modal{right:30px;left:30px}.image-details .embed-media-settings .setting{margin:20px}.image-details .embed-media-settings .setting span{float:none;text-align:right;width:100%;margin-bottom:4px}.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{width:100%;margin-right:0}.image-details .embed-media-settings .custom-size{margin-right:20px}.collection-settings .setting input[type=checkbox]{margin-top:0}.media-selection{min-width:120px}.media-selection:after{background:0 0}.media-selection .attachments{display:none}.media-modal .attachments-browser .media-toolbar-primary,.media-modal .attachments-browser .media-toolbar-secondary{width:50%}.media-modal .attachments-browser .media-toolbar .search{max-width:100%;height:auto;float:left}.media-modal .attachments-browser .media-toolbar .attachment-filters{margin:11px 0 0;height:auto;max-width:65%;max-width:-webkit-calc(100% - 38px);max-width:calc(100% - 38px)}.media-modal .attachments-browser .media-toolbar .spinner{margin:14px 8px 0}.media-frame input[type=email],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=text],.media-frame input[type=url],.media-frame select,.media-frame textarea{font-size:16px}}@media only screen and (max-width:640px),screen and (max-height:400px){.image-details .media-modal,.media-modal{position:fixed;top:0;right:0;left:0;bottom:0}.media-modal-backdrop{position:fixed}.media-sidebar{z-index:1900;max-width:70%;bottom:120%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding-bottom:0}.media-sidebar.visible{bottom:0}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{left:0}.image-details .media-frame-title{display:block;top:0;font-size:14px}.image-details .column-image,.image-details .column-settings{width:100%;position:relative;right:0}.image-details .column-settings{padding:4px 0}.media-frame-content .media-toolbar .instructions{display:none}}@media screen and (max-height:400px){.media-menu{padding:0}.media-frame-router{top:44px}.media-frame-content{top:78px}.attachments-browser .attachments{top:40px}.embed-link-settings{overflow:visible}}@media only screen and (max-width:480px){.media-frame-content .media-toolbar .attachment-filters,.media-frame-content .media-toolbar .search{max-width:90px}.media-modal-close{top:5px;left:5px}.media-modal .media-frame-title{height:40px}.media-frame:not(.hide-menu) .media-frame-title h1,.media-modal .media-frame-title h1{font-size:18px;line-height:40px}.media-frame:not(.hide-menu) .media-frame-title .dashicons{line-height:40px}.media-frame-router,.media-frame:not(.hide-menu) .media-menu{top:40px}.media-frame-content{top:74px}.media-frame.hide-router .media-frame-content{top:40px}}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.media-modal-icon{background-image:url(../images/uploader-icons-2x.png);-webkit-background-size:134px 15px;background-size:134px 15px}.media-frame .spinner{background-image:url(../images/spinner-2x.gif)}}.media-frame-content[data-columns="1"] .attachment{width:100%}.media-frame-content[data-columns="2"] .attachment{width:50%}.media-frame-content[data-columns="3"] .attachment{width:33.33%}.media-frame-content[data-columns="4"] .attachment{width:25%}.media-frame-content[data-columns="5"] .attachment{width:20%}.media-frame-content[data-columns="6"] .attachment{width:16.66%}.media-frame-content[data-columns="7"] .attachment{width:14.28%}.media-frame-content[data-columns="8"] .attachment{width:12.5%}.media-frame-content[data-columns="9"] .attachment{width:11.11%}.media-frame-content[data-columns="10"] .attachment{width:10%}.media-frame-content[data-columns="11"] .attachment{width:9.09%}.media-frame-content[data-columns="12"] .attachment{width:8.33%} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/media-views.css b/sources/wordpress/wp-includes/css/media-views.css deleted file mode 100644 index e463abf..0000000 --- a/sources/wordpress/wp-includes/css/media-views.css +++ /dev/null @@ -1,2568 +0,0 @@ -/** - * Base Styles - */ -.media-modal * { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} - -.media-frame input, -.media-frame select, -.media-frame textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.media-modal, -.media-frame { - font-family: "Open Sans", sans-serif; - font-size: 12px; -} - -.media-frame input, -.media-frame textarea { - padding: 6px 8px; -} - -.media-frame select, -.wp-admin .media-frame select { - line-height: 28px; - margin-top: 3px; -} - -.media-frame a { - border-bottom: none; - color: #21759b; -} - -.media-frame a:hover { - color: #d54e21; -} - -.media-frame a.button { - color: #333; -} - -.media-frame a.button:hover { - color: #222; -} - -.media-frame a.button-primary, -.media-frame a.button-primary:hover { - color: #fff; -} - -.media-frame input[type="text"], -.media-frame input[type="password"], -.media-frame input[type="number"], -.media-frame input[type="search"], -.media-frame input[type="email"], -.media-frame input[type="url"], -.media-frame textarea, -.media-frame select { - font-family: "Open Sans", sans-serif; - font-size: 12px; - border-width: 1px; - border-style: solid; - border-color: #dfdfdf; -} - -.media-frame input[type="text"]:focus, -.media-frame input[type="password"]:focus, -.media-frame input[type="number"]:focus, -.media-frame input[type="search"]:focus, -.media-frame input[type="email"]:focus, -.media-frame input[type="url"]:focus, -.media-frame textarea:focus, -.media-frame select:focus { - border-color: #5b9dd9; -} - -.media-frame select { - height: 24px; - padding: 2px; -} - -.media-frame input:disabled, -.media-frame textarea:disabled, -.media-frame input[readonly], -.media-frame textarea[readonly] { - background-color: #eee; -} - -.media-frame input[type="search"] { - -webkit-appearance: textfield; -} - -.media-frame :-moz-placeholder { - color: #a9a9a9; -} - -.media-frame .hidden { - display: none; -} - -/* Enable draggable on IE10 touch events until it's rolled into jQuery UI core */ -.ui-sortable, -.ui-draggable { - -ms-touch-action: none; - touch-action: none; -} - -.meta-box-sortables.ui-sortable { - -ms-touch-action: auto; - touch-action: auto; -} - -.meta-box-sortables.ui-sortable .hndle { - -ms-touch-action: none; - touch-action: none; -} - -/** - * Modal - */ -.media-modal { - position: fixed; - top: 30px; - left: 30px; - right: 30px; - bottom: 30px; - z-index: 160000; -} - -.wp-customizer .media-modal { - z-index: 560000; -} - -.media-modal-backdrop { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - min-height: 360px; - background: #000; - opacity: 0.7; - z-index: 159900; -} - -.wp-customizer .media-modal-backdrop { - z-index: 559900; -} - -.media-modal-close { - position: absolute; - text-decoration: none; - top: 10px; - right: 10px; - width: 30px; - height: 30px; - z-index: 1000; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.media-modal-close:active { - -webkit-box-shadow: none; - box-shadow: none; -} - -.media-modal-close span.media-modal-icon { - display: block; - margin-top: 5px; - width: 30px; - height: 15px; - background-image: none; - text-align: center; -} - -.media-modal-close .media-modal-icon:before { - content: '\f158'; - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color: #666; -} - -.media-modal-close:hover .media-modal-icon:before { - color: #2ea2cc; -} - -.media-modal-close:active { - outline: 0; -} - -.media-modal-content { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - overflow: auto; - min-height: 300px; - -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7); - box-shadow: 0 5px 15px rgba(0,0,0,0.7); - background: #fcfcfc; - -webkit-font-smoothing: subpixel-antialiased; -} - -.media-modal-icon { - background-image: url(../images/uploader-icons.png); - background-repeat: no-repeat; -} - -/** - * Toolbar - */ -.media-toolbar { - position: absolute; - top: 0; - left: 0; - right: 0; - z-index: 100; - height: 60px; - padding: 0 16px; - border: 0 solid #dfdfdf; - overflow: hidden; -} - -.media-toolbar-primary { - float: right; - height: 100%; -} - -.media-toolbar-secondary { - float: left; - height: 100%; -} - -.media-toolbar-primary > .media-button, -.media-toolbar-primary > .media-button-group { - margin-left: 10px; - float: left; - margin-top: 15px; -} - -.media-toolbar-secondary > .media-button, -.media-toolbar-secondary > .media-button-group { - margin-right: 10px; - margin-top: 15px; -} - -/** - * Sidebar - */ -.media-sidebar { - position: absolute; - top: 0; - right: 0; - bottom: 0; - width: 267px; - padding: 0 16px 24px; - z-index: 75; - background: #f3f3f3; - border-left: 1px solid #ddd; - overflow: auto; - -webkit-overflow-scrolling: touch; -} - -.hide-toolbar .media-sidebar { - bottom: 0; -} - -.media-sidebar .sidebar-title { - font-size: 20px; - margin: 0; - padding: 12px 10px 10px; - line-height: 28px; -} - -.media-sidebar .sidebar-content { - padding: 0 10px; - margin-bottom: 130px; -} - -.media-sidebar .search { - display: block; - width: 100%; -} - -.media-sidebar h3, -.image-details h3 { - position: relative; - font-weight: bold; - text-transform: uppercase; - font-size: 12px; - color: #666; - margin: 24px 0 8px; -} - -.media-sidebar .setting, -.attachment-details .setting { - display: block; - float: left; - width: 100%; - margin: 1px 0; -} - -.media-sidebar .setting label, -.attachment-details .setting label { - display: block; -} - -.media-sidebar .setting .link-to-custom, -.attachment-details .setting .link-to-custom { - margin: 3px 2px 0; -} - -.media-sidebar .setting span, -.attachment-details .setting span { - min-width: 30%; - margin-right: 4%; - font-size: 12px; - text-align: right; -} - -.media-sidebar .setting select, -.attachment-details .setting select { - max-width: 65%; -} - -.media-sidebar .setting input[type="checkbox"], -.media-sidebar .field input[type="checkbox"], -.media-sidebar .setting input[type="radio"], -.media-sidebar .field input[type="radio"], -.attachment-details .setting input[type="checkbox"], -.attachment-details .field input[type="checkbox"], -.attachment-details .setting input[type="radio"], -.attachment-details .field input[type="radio"] { - float: none; - margin: 8px 3px 0; - padding: 0; -} - -.media-sidebar .setting span, -.attachment-details .setting span, -.compat-item label span { - float: left; - min-height: 22px; - padding-top: 8px; - line-height: 16px; - font-weight: normal; - color: #666; -} - -.compat-item label span { - text-align: right; -} - -.media-sidebar .setting input[type="text"], -.media-sidebar .setting input[type="password"], -.media-sidebar .setting input[type="email"], -.media-sidebar .setting input[type="number"], -.media-sidebar .setting input[type="search"], -.media-sidebar .setting input[type="tel"], -.media-sidebar .setting input[type="url"], -.media-sidebar .setting textarea, -.media-sidebar .setting .value, -.attachment-details .setting input[type="text"], -.attachment-details .setting input[type="password"], -.attachment-details .setting input[type="email"], -.attachment-details .setting input[type="number"], -.attachment-details .setting input[type="search"], -.attachment-details .setting input[type="tel"], -.attachment-details .setting input[type="url"], -.attachment-details .setting textarea, -.attachment-details .setting .value { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 1px; - width: 65%; - float: right; -} - -.media-sidebar .setting .value, -.attachment-details .setting .value { - margin: 0 1px; - text-align: left; -} - -.media-sidebar .setting textarea, -.attachment-details .setting textarea, -.compat-item .field textarea { - height: 62px; - resize: vertical; -} - -.media-sidebar select, -.attachment-details select { - margin-top: 3px; -} - -.compat-item { - float: left; - width: 100%; - overflow: hidden; -} - -.compat-item table { - width: 100%; - table-layout: fixed; - border-spacing: 0; - border: 0; -} - -.compat-item tr { - padding: 2px 0; - display: block; - overflow: hidden; -} - -.compat-item .label, -.compat-item .field { - display: block; - margin: 0; - padding: 0; -} - -.compat-item .label { - min-width: 30%; - margin-right: 4%; - float: left; - text-align: right; -} - -.compat-item .label span { - display: block; - width: 100%; -} - -.compat-item .field { - float: right; - width: 66%; -} - -.compat-item .field input[type="text"], -.compat-item .field input[type="password"], -.compat-item .field input[type="email"], -.compat-item .field input[type="number"], -.compat-item .field input[type="search"], -.compat-item .field input[type="tel"], -.compat-item .field input[type="url"] { - width: 100%; - margin: 0; -} - -.sidebar-for-errors .attachment-details, -.sidebar-for-errors .compat-item, -.sidebar-for-errors .media-sidebar .media-progress-bar, -.sidebar-for-errors .upload-details { - display: none !important; -} - -/** - * Menu - */ -.media-menu { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - margin: 0; - padding: 10px 0; - background: #f3f3f3; - border-right-width: 1px; - border-right-style: solid; - border-right-color: #ccc; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.media-menu > a { - display: block; - position: relative; - padding: 8px 20px; - margin: 0; - line-height: 18px; - font-size: 14px; - color: #0074a2; - text-decoration: none; -} - -.media-menu > a:hover { - color: #21759B; - background: rgba( 0, 0, 0, 0.04 ); -} - -.media-menu > a:active { - outline: none; -} - -.media-menu .active, -.media-menu .active:hover { - color: #222; - font-weight: bold; -} - -.media-menu .separator { - height: 0; - margin: 12px 20px; - padding: 0; - border-top: 1px solid #ddd; -} - -/** - * Menu - */ -.media-router { - position: relative; - padding: 0 6px; - margin: 0; - clear: both; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.media-router a { - -webkit-transition: none; - transition: none; -} - -.media-router > a { - position: relative; - float: left; - padding: 8px 10px 9px; - margin: 0; - height: 18px; - line-height: 18px; - font-size: 14px; - text-decoration: none; -} - -.media-router > a:last-child { - border-right: 0; -} - -.media-router > a:active { - outline: none; -} - -.media-router .active, -.media-router .active:hover { - color: #333; -} - -.media-router .active, -.media-router > a.active:last-child { - margin: -1px -1px 0; - background: #fff; - border: 1px solid #ddd; - border-bottom: none; -} - -.media-router .active:after { - display: none; -} - -/** - * Frame - */ -.media-frame { - overflow: hidden; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; -} - -.media-frame-menu { - position: absolute; - top: 0; - left: 0; - bottom: 0; - width: 200px; - z-index: 150; -} - -.media-frame-title { - position: absolute; - top: 0; - left: 200px; - right: 0; - height: 50px; - z-index: 200; -} - -.media-frame-router { - position: absolute; - top: 50px; - left: 200px; - right: 0; - height: 36px; - z-index: 200; -} - -.media-frame-content { - position: absolute; - top: 84px; - left: 200px; - right: 0; - bottom: 61px; - height: auto; - width: auto; - margin: 0; - overflow: auto; - background: #fff; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; -} - -.media-frame-toolbar { - position: absolute; - left: 200px; - right: 0; - bottom: 0; - height: 60px; - z-index: 100; -} - -.media-frame.hide-menu .media-frame-title, -.media-frame.hide-menu .media-frame-router, -.media-frame.hide-menu .media-frame-toolbar, -.media-frame.hide-menu .media-frame-content { - left: 0; -} - -.media-frame.hide-menu .media-frame-menu { - left: -200px; -} - -.media-frame.hide-toolbar .media-frame-content { - bottom: 0; -} - -.media-frame.hide-toolbar .media-frame-toolbar { - bottom: -61px; -} - -.media-frame.hide-router .media-frame-content { - top: 50px; -} - -.media-frame.hide-router .media-frame-router { - display: none; -} - -.media-frame.hide-router .media-frame-title { - border-bottom: 1px solid #dfdfdf; - -webkit-box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 ); - box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 ); -} - -.media-frame-title .dashicons { - display: none; -} - -.media-frame-title h1 { - padding: 0 16px; - font-size: 22px; - line-height: 50px; - margin: 0; -} - -.media-frame-title .suggested-dimensions { - font-size: 14px; - float: right; - margin-right: 20px; -} - -.media-frame-content .crop-content { - height: 100%; -} - -.media-frame-content .crop-content .crop-image { - display: block; - margin: auto; - max-width: 100%; - max-height: 100%; -} - -.media-frame-content .crop-content .upload-errors -{ - position: absolute; - width: 300px; - top: 50%; - left: 50%; - margin-left: -150px; - margin-right: -150px; - z-index: 600000; -} - -/** - * Iframes - */ -.media-frame .media-iframe { - overflow: hidden; -} - -.media-frame .media-iframe, -.media-frame .media-iframe iframe { - height: 100%; - width: 100%; - border: 0; -} - -/** - * Attachment Browser Filters - */ -.media-frame select.attachment-filters { - margin-top: 11px; - margin-right: 10px; -} - -/** - * Search - */ -.media-frame .search { - margin-top: 11px; - padding: 4px; - font-size: 13px; - color: #464646; - font-family: "Open Sans", sans-serif; - -webkit-appearance: none; -} - -.media-toolbar-secondary .search { - margin-right: 16px; -} - -/** - * Attachments - */ -.attachments { - margin: 0; - -webkit-overflow-scrolling: touch; -} - -/** - * Attachment - */ -.attachment { - position: relative; - float: left; - padding: 8px; - margin: 0; - color: #464646; - cursor: pointer; - list-style: none; - text-align: center; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - width: 25%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.attachment:focus, -.selected.attachment:focus, -.attachment.details:focus { - -webkit-box-shadow: - inset 0 0 2px 3px #fff, - inset 0 0 0 7px #5b9dd9; - box-shadow: - inset 0 0 2px 3px #fff, - inset 0 0 0 7px #5b9dd9; - outline: none; -} - -.selected.attachment { - -webkit-box-shadow: - inset 0 0 0 5px #fff, - inset 0 0 0 7px #ccc; - box-shadow: - inset 0 0 0 5px #fff, - inset 0 0 0 7px #ccc; -} - -.attachment.details { - -webkit-box-shadow: - inset 0 0 0 3px #fff, - inset 0 0 0 7px #1e8cbe; - box-shadow: - inset 0 0 0 3px #fff, - inset 0 0 0 7px #1e8cbe; -} - -.attachment-preview { - position: relative; - -webkit-box-shadow: - inset 0 0 15px rgba( 0, 0, 0, 0.1 ), - inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); - box-shadow: - inset 0 0 15px rgba( 0, 0, 0, 0.1 ), - inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); - background: #eee; - cursor: pointer; -} - -.attachment-preview:before { - content: ''; - display: block; - padding-top: 100%; -} - -.attachment .icon { - margin: 0 auto; - overflow: hidden; -} - -.attachment .thumbnail { - overflow: hidden; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - opacity: 1; - -webkit-transition: opacity .1s; - transition: opacity .1s; -} - -.attachment .portrait img { - max-width: 100%; -} - -.attachment .landscape img { - max-height: 100%; -} - -.attachment .thumbnail:after { - content: ''; - display: block; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); - overflow: hidden; -} - -/* @noflip */ -.attachment .thumbnail img { - top: 0; - left: 0; -} - -/* @noflip */ -.attachment .thumbnail .centered { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - -webkit-transform: translate( 50%, 50% ); - -ms-transform: translate(50%,50%); /* Fails with spaces?? Weird! */ - transform: translate( 50%, 50% ); -} - -.attachment .thumbnail .centered img { - -webkit-transform: translate( -50%, -50% ); - -ms-transform: translate(-50%,-50%); - transform: translate( -50%, -50% ); -} - -.attachment .thumbnail .centered img.icon { - -webkit-transform: translate( -50%, -70% ); - -ms-transform: translate(-50%,-70%); - transform: translate( -50%, -70% ); -} - -.ie8 .attachment img.icon { - top: 20%; - position: relative; -} - -.attachment .filename { - position: absolute; - left: 0; - right: 0; - bottom: 0; - overflow: hidden; - max-height: 100%; - word-wrap: break-word; - text-align: center; - font-weight: bold; - background: rgba( 255, 255, 255, 0.8 ); - -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); -} - -.attachment .filename div { - padding: 5px 10px; -} - -.attachment .thumbnail img { - position: absolute; -} - -.attachment .close { - display: none; - position: absolute; - top: 5px; - right: 5px; - height: 22px; - width: 22px; - padding: 0; - font-size: 20px; - line-height: 20px; - text-align: center; - text-decoration: none; - color: #464646; - background-color: #fff; - background-position: -96px 4px; - border-width: 0; - -webkit-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 ); -} - -.attachment .close:hover { - -webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 ); - box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 ); -} - -.attachment:hover .close { - display: block; -} - -.attachment .check { - display: none; - height: 24px; - width: 24px; - position: absolute; - z-index: 10; - top: 0; - right: 0; - outline: none; - background: #eee; - -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 ); - box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 ); -} - -.attachment .check div { - background-position: -1px 0; - height: 15px; - width: 15px; - margin: 5px; -} - -.attachment .check:hover div { - background-position: -40px 0; -} - -.attachment.selected .check { - display: block; -} - -.attachment.details .check, -.attachment.selected .check:focus, -.media-frame.mode-grid .attachment.selected .check { - background-color: #1e8cbe; - -webkit-box-shadow: - 0 0 0 1px #fff, - 0 0 0 2px #1e8cbe; - box-shadow: - 0 0 0 1px #fff, - 0 0 0 2px #1e8cbe; -} - -.attachment.details .check div, -.media-frame.mode-grid .attachment.selected .check div { - background-position: -21px 0; -} - -.attachment.details .check:hover div, -.attachment.selected .check:focus div, -.media-frame.mode-grid .attachment.selected .check:hover div { - background-position: -60px 0; -} - -.media-frame .attachment .describe { - position: relative; - display: block; - width: 100%; - margin: 0; - padding: 8px; - font-size: 12px; - -webkit-border-radius: 0; - border-radius: 0; -} - -/** - * Attachments Browser - */ -.media-frame .attachments-browser { - position: relative; - width: 100%; - height: 100%; - overflow: hidden; -} - -.attachments-browser .media-toolbar { - right: 300px; - height: 50px; -} - -.attachments-browser.hide-sidebar .media-toolbar { - right: 0; -} - -.attachments-browser .media-toolbar-primary > .media-button, -.attachments-browser .media-toolbar-primary > .media-button-group, -.attachments-browser .media-toolbar-secondary > .media-button, -.attachments-browser .media-toolbar-secondary > .media-button-group { - margin: 11px 0; -} - -.attachments-browser .attachments { - padding: 2px 8px 8px; -} - -.attachments-browser .attachments, -.attachments-browser .uploader-inline { - position: absolute; - top: 50px; - left: 0; - right: 300px; - bottom: 0; - overflow: auto; - outline: none; -} - -.attachments-browser .uploader-inline.hidden { - display: none; -} - -.uploader-inline .close { - background-color: transparent; - border: 0; - cursor: pointer; - height: 48px; - position: absolute; - right: 0; - text-align: center; - top: 0; - width: 50px; - z-index: 1; -} - -.uploader-inline .close:before { - font: normal 30px/50px 'dashicons' !important; - color: #777; - display: inline-block; - content: '\f335'; - font-weight: 300; -} - -.attachments-browser.hide-sidebar .attachments, -.attachments-browser.hide-sidebar .uploader-inline { - right: 0; - margin-right: 0; -} - -.attachments-browser .instructions { - display: inline-block; - margin-top: 16px; - line-height: 18px; - font-size: 13px; - color: #666; - margin-right: 0.5em; -} - -.attachments-browser .no-media { - padding: 2em 0 0 2em; -} - -/** - * Progress Bar - */ -.media-progress-bar { - position: relative; - height: 10px; - width: 70%; - margin: 10px auto; - -webkit-border-radius: 10px; - border-radius: 10px; - background: #dfdfdf; - background: rgba( 0, 0, 0, 0.1 ); -} - -.media-progress-bar div { - height: 10px; - min-width: 20px; - width: 0; - background: #1e8cbe; - -webkit-border-radius: 10px; - border-radius: 10px; - -webkit-transition: width 300ms; - transition: width 300ms; -} - -.media-uploader-status .media-progress-bar { - display: none; - width: 100%; -} - -.uploading.media-uploader-status .media-progress-bar { - display: block; -} - -.attachment-preview .media-progress-bar { - position: absolute; - top: 50%; - left: 15%; - width: 70%; - margin: -5px 0 0 0; -} - -.media-uploader-status { - position: relative; - margin: 0 auto; - padding-bottom: 10px; - max-width: 400px; -} - -.media-sidebar .media-uploader-status { - border-bottom: 1px solid #dfdfdf; -} - -.uploader-inline .media-uploader-status h3 { - display: none; -} - -.media-uploader-status .upload-details { - display: none; - font-size: 12px; - color: #666; -} - -.uploading.media-uploader-status .upload-details { - display: block; -} - -.media-uploader-status .upload-detail-separator { - padding: 0 4px; -} - -.media-uploader-status .upload-count { - color: #464646; -} - -.media-uploader-status .upload-dismiss-errors, -.media-uploader-status .upload-errors { - display: none; -} - -.errors.media-uploader-status .upload-dismiss-errors, -.errors.media-uploader-status .upload-errors { - display: block; -} - -.media-uploader-status .upload-dismiss-errors { - text-decoration: none; -} - -.media-sidebar .media-uploader-status .upload-dismiss-errors { - position: absolute; - top: 0; - right: 0; -} - -.upload-errors .upload-error { - margin: 8px auto 0 auto; - padding: 8px; - border: 1px #c00 solid; - background: #ffebe8; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.upload-errors .upload-error-label { - padding: 2px 4px; - margin-right: 8px; - font-weight: bold; - color: #fff; - background: #e00; - background-image: -webkit-gradient(linear, left top, left bottom, from(#e00), to(#a00)); - background-image: -webkit-linear-gradient(top, #e00, #a00); - background-image: linear-gradient(to bottom, #e00, #a00); - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.upload-errors .upload-error-message { - display: block; - padding-top: 8px; - color: #b44; - word-wrap: break-word; -} - -.uploader-window { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: rgba( 0, 86, 132, 0.9 ); - z-index: 250000; - display: none; - text-align: center; - opacity: 0; - -webkit-transition: opacity 250ms; - transition: opacity 250ms; -} - -.uploader-window-content { - position: absolute; - top: 10px; - left: 10px; - right: 10px; - bottom: 10px; - border: 1px dashed #fff; -} - -.uploader-window h3 { - margin: -0.5em 0 0; - position: absolute; - top: 50%; - left: 0; - right: 0; - -webkit-transform: translateY( -50% ); - -ms-transform: translateY(-50%); - transform: translateY( -50% ); - font-size: 40px; - color: #fff; - padding: 0; -} - -.uploader-window .media-progress-bar { - margin-top: 20px; - max-width: 300px; - background: transparent; - border-color: #fff; - display: none; -} - -.uploader-window .media-progress-bar div { - background: #fff; -} - -.uploading .uploader-window .media-progress-bar { - display: block; -} - -.media-frame .uploader-inline { - margin-bottom: 20px; - padding: 0; - text-align: center; -} - -.uploader-inline-content { - position: absolute; - top: 30%; - left: 0; - right: 0; -} - -.uploader-inline-content .upload-ui { - margin: 2em 0; -} - -.uploader-inline-content .post-upload-ui { - margin-bottom: 2em; -} - -.uploader-inline .has-upload-message .upload-ui { - margin: 0 0 4em; -} - -.uploader-inline h3 { - font-size: 20px; - line-height: 28px; - font-weight: 400; - margin: 0; -} - -.uploader-inline .has-upload-message .upload-instructions { - font-size: 14px; - color: #464646; - font-weight: normal; -} - -.uploader-inline .drop-instructions { - display: none; -} - -.supports-drag-drop .uploader-inline .drop-instructions { - display: block; -} - -.uploader-inline p { - font-size: 12px; - margin: 0.5em 0; -} - -.uploader-inline .media-progress-bar { - display: none; -} - -.uploading.uploader-inline .media-progress-bar { - display: block; -} - -.uploader-inline .browser { - display: inline-block !important; -} - -/** - * Selection - */ -.media-selection { - position: absolute; - top: 0; - left: 0; - right: 350px; - height: 60px; - padding: 0 0 0 16px; - overflow: hidden; - white-space: nowrap; -} - -.media-selection .selection-info { - display: inline-block; - font-size: 12px; - height: 60px; - margin-right: 10px; - vertical-align: top; -} - -.media-selection.empty, -.media-selection.editing { - display: none; -} - -.media-selection.one .edit-selection { - display: none; -} - -.media-selection .count { - display: block; - padding-top: 12px; - font-size: 14px; - line-height: 20px; - font-weight: bold; -} - -.media-selection .selection-info a { - display: block; - float: left; - padding: 1px 8px; - margin: 1px 8px 1px -8px; - line-height: 16px; - text-decoration: none; - border-right: 1px solid #dfdfdf; - color: #21759B; -} - -.media-selection .selection-info a:hover { - background: #21759B; - color: #fff; - border-color: transparent; -} - -.media-selection .selection-info a:last-child { - border-right: 0; - margin-right: 0; -} - -.media-selection .selection-info .clear-selection { - color: red; -} - -.media-selection .selection-info .clear-selection:hover { - background: red; -} - -.media-selection .selection-view { - display: inline-block; - vertical-align: top; -} - -.media-selection .attachments { - display: inline-block; - height: 48px; - margin: 6px; - padding: 0; - overflow: hidden; - vertical-align: top; -} - -.media-selection .attachment { - width: 48px; - padding: 0; - margin: 0; - -webkit-box-shadow: none; - box-shadow: none; -} - -.media-selection .attachment .thumbnail { - top: 4px; - right: 4px; - bottom: 4px; - left: 4px; -} - -.media-selection .attachment .icon { - width: 50%; -} - -.media-selection .attachment-preview { - -webkit-box-shadow: none; - box-shadow: none; - background: none; -} - -.media-selection .attachment.selection.details .thumbnail { - -webkit-box-shadow: - 0 0 0 1px #fff, - 0 0 0 3px #1e8cbe; - box-shadow: - 0 0 0 1px #fff, - 0 0 0 3px #1e8cbe; -} - -.media-selection:after { - content: ''; - display: block; - position: absolute; - top: 0; - right: 0; - bottom: 0; - width: 25px; - background-image: -webkit-gradient(linear, right top, left top, from(rgba( 255, 255, 255, 1 )), to(rgba( 255, 255, 255, 0 ))); - background-image: -webkit-linear-gradient(right, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 )); - background-image: linear-gradient(to left, rgba( 255, 255, 255, 1 ) , rgba( 255, 255, 255, 0 ) ); -} - -.media-selection .attachment .filename { - display: none; -} - -/** - * Spinner - */ -.media-frame .spinner { - background: url(../images/spinner.gif) no-repeat; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; - display: none; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 0; -} - -.media-toolbar .spinner { - margin-top: 14px; -} - -/** - * Attachment Details - */ -.attachment-details { - position: relative; - overflow: auto; -} - -.attachment-details .settings-save-status { - float: right; - text-transform: none; - z-index: 10; -} - -.attachment-details .settings-save-status .spinner { - margin: 0 5px 0; -} - -.attachment-details .settings-save-status .saved { - float: right; - display: none; -} - -.attachment-details.save-waiting .settings-save-status .spinner, -.attachment-details.save-complete .settings-save-status .saved { - display: block; -} - -.attachment-info { - overflow: hidden; - min-height: 60px; - margin-bottom: 16px; - line-height: 18px; - color: #666; - border-bottom: 1px solid #ddd; - padding-bottom: 11px; -} - -.attachment-info .filename { - font-weight: bold; - color: #464646; - word-wrap: break-word; -} - -.attachment-info .thumbnail { - position: relative; - float: left; - max-width: 120px; - max-height: 120px; - margin-top: 5px; - margin-right: 10px; - margin-bottom: 5px; -} - -.uploading .attachment-info .thumbnail { - width: 120px; - height: 80px; - -webkit-box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 ); -} - -.uploading .attachment-info .media-progress-bar { - margin-top: 35px; -} - -.attachment-info .thumbnail-image:after { - content: ''; - display: block; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); - overflow: hidden; -} - -.attachment-info .thumbnail img { - display: block; - max-width: 120px; - max-height: 120px; - margin: 0 auto; -} - -.attachment-info .details { - float: left; - font-size: 12px; - max-width: 100%; -} - -.attachment-info .edit-attachment, -.attachment-info .refresh-attachment, -.attachment-info .delete-attachment, -.attachment-info .trash-attachment, -.attachment-info .untrash-attachment { - display: block; - text-decoration: none; - white-space: nowrap; -} - -.attachment-info .refresh-attachment, -.attachment-details.needs-refresh .attachment-info .edit-attachment { - display: none; -} - -.attachment-details.needs-refresh .attachment-info .refresh-attachment, -.attachment-info .edit-attachment { - display: block; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment { - color: #bc0b0b; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover { - color: red; -} - -/** - * Attachment Display Settings - */ -.attachment-display-settings { - width: 100%; - float: left; - overflow: hidden; -} - -.attachment-display-settings h4 { - margin: 1.4em 0 0.4em; -} - -.collection-settings { - overflow: hidden; -} - -.collection-settings .setting input[type="checkbox"] { - float: left; - margin-right: 8px; -} - -.collection-settings .setting span { - min-width: inherit; -} - -/** - * Image Editor - */ -.media-modal .imgedit-wrap { - position: static; -} - -.media-modal .imgedit-wait { - height: auto !important; - right: 0; - bottom: 0; - left: 0; -} - -.media-modal .imgedit-wrap .imgedit-panel-content { - padding: 16px; - position: absolute; - top: 0; - right: 282px; - bottom: 0; - left: 0; - overflow: auto; -} - -.media-modal .imgedit-wrap .imgedit-settings { - background: #f3f3f3; - border-left: 1px solid #ddd; - padding: 0 16px 16px; - position: absolute; - top: 0; - right: 0; - bottom: 0; - width: 250px; - overflow: auto; -} - -.media-modal .imgedit-group { - background: none; - border: none; - border-bottom: 1px solid #ddd; - -webkit-box-shadow: none; - box-shadow: none; - margin: 0; - margin-bottom: 16px; - padding: 0; - padding-bottom: 16px; - position: relative; /* RTL fix, #WP29352 */ -} - -.media-modal .imgedit-group:last-of-type { - border: none; - margin: 0; - padding: 0; -} - -.media-modal .imgedit-group-top h3 { - text-transform: uppercase; - font-size: 12px; - color: #666; - margin: 0; - margin-top: 24px; -} - -.media-modal .imgedit-group-top h3 a { - text-decoration: none; - color: #666; -} - -.media-modal .imgedit-help-toggle { - margin-top: -2px; - cursor: pointer; - color: #666; -} - -.media-modal .imgedit-help-toggled span.dashicons:before { - content: '\f142'; -} - -.media-modal .imgedit-group img { - margin-top: 5px; -} - -.media-modal .imgedit-wrap div.updated { - margin: 0; - margin-bottom: 16px; -} - - -/** - * Embed from URL and Image Details - */ -.embed-url { - display: block; - position: relative; - padding: 16px; - margin: 0; - z-index: 250; - background: #fff; - font-size: 18px; -} - -.media-frame .embed-url input { - font-size: 18px; - padding: 12px 14px; - width: 100%; - min-width: 200px; - -webkit-box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 ); -} - -.media-frame .embed-url .spinner { - position: absolute; - top: 32px; - right: 26px; -} - -.media-frame .embed-loading .embed-url .spinner { - display: block; -} - -.embed-link-settings, -.embed-media-settings { - position: absolute; - top: 70px; - left: 0; - right: 0; - bottom: 0; - padding: 16px 16px 32px; - overflow: auto; -} - -.embed-preview img, .embed-preview iframe, .embed-preview embed { - max-width: 100%; -} - -.embed-preview img { - height: auto; -} - -.image-details .media-modal { - left: 140px; - right: 140px; -} - -.image-details .media-frame-title, -.image-details .media-frame-content, -.image-details .media-frame-router { - left: 0; -} - -.image-details .embed-media-settings { - top: 0; - overflow: visible; - padding: 0; -} - -.image-details .embed-media-settings, -.image-details .embed-media-settings div { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.image-details .column-settings { - background: #f3f3f3; - border-right: 1px solid #ddd; - min-height: 100%; - width: 55%; - position: absolute; - top: 0; - left: 0; -} - -.image-details .column-settings h3 { - margin: 20px; - padding-top: 20px; - border-top: 1px solid #ddd; -} - -.image-details .column-image { - width: 45%; - position: absolute; - left: 55%; - top: 0; -} - -.image-details .image { - margin: 20px; -} - -.image-details .image img { - max-width: 100%; - max-height: 500px; -} - -.image-details .advanced-toggle { - color: #666; - text-decoration: none; - display: block; -} - -.image-details .advanced-toggle:after { - font: normal 20px/1 'dashicons'; - speak: none; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - content: '\f140'; - display: inline-block; - margin-top: -2px; -} - -.image-details .advanced-visible .advanced-toggle:after { - content: '\f142'; -} - -.image-details .embed-media-settings .size { - margin-bottom: 4px; -} - -.image-details .custom-size span { - display: block; -} - -.image-details .custom-size label { - display: block; - float: left; -} - -.image-details .custom-size span small { - color: #999; - font-size: inherit; -} - -.image-details .custom-size input { - width: 5em; -} - -.image-details .custom-size .sep { - float: left; - margin: 26px 6px 0 6px; -} - -.image-details .custom-size:after { - content: ''; - display: table; - clear: both; -} - -.media-embed .thumbnail { - max-width: 100%; - max-height: 200px; - position: relative; - float: left; -} - -.media-embed .thumbnail img { - max-height: 200px; - display: block; -} - -.media-embed .thumbnail:after { - content: ''; - display: block; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); - overflow: hidden; -} - -.media-embed .setting { - width: 100%; - margin: 10px 0; - float: left; - display: block; - clear: both; -} - -.image-details .embed-media-settings .setting { - float: none; - width: auto; -} - -.image-details .actions { - margin: 10px 0; -} - -.image-details .hidden { - display: none; -} - -.media-embed .setting input[type="text"], -.media-embed .setting textarea { - display: block; - width: 100%; - max-width: 400px; - margin: 1px 0; -} - -.image-details .embed-media-settings .setting input[type="text"], -.image-details .embed-media-settings .setting textarea { - max-width: inherit; - width: 70%; -} - -.image-details .embed-media-settings .setting input.link-to-custom, -.image-details .embed-media-settings .link-target, -.image-details .embed-media-settings .custom-size { - margin-left: 27%; - width: 70%; -} - -.image-details .embed-media-settings .link-target { - margin-top: 24px; -} - -.media-embed .setting input.hidden, -.media-embed .setting textarea.hidden { - display: none; -} - -.media-embed .setting span { - display: block; - width: 200px; - font-size: 13px; - line-height: 24px; - color: #666; -} - -.image-details .embed-media-settings .setting span { - float: left; - width: 25%; - text-align: right; - margin: 8px 1% 0 1%; - line-height: 1.1; -} - -.media-embed .setting .button-group { - margin: 2px 0; -} - -.media-embed-sidebar { - position: absolute; - top: 0; - left: 440px; -} - -.advanced-section, -.link-settings { - margin-top: 10px; -} - -/* Drag & drop on the editor upload */ -#wp-fullscreen-body .uploader-editor, -.wp-editor-wrap .uploader-editor { - background: rgba( 150, 150, 150, 0.9 ); - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 99998; /* under the toolbar */ - display: none; - text-align: center; -} - -#wp-fullscreen-body .uploader-editor { - background: rgba( 0, 86, 132, 0.9 ); - position: fixed; - z-index: 100050; /* above the editor toolbar */ -} - -.wp-editor-wrap.wp-fullscreen-wrap .uploader-editor { - opacity: 0; -} - -#wp-fullscreen-body .uploader-editor-content, -.wp-editor-wrap .uploader-editor-content { - border: 1px dashed #fff; - position: absolute; - top: 10px; - left: 10px; - right: 10px; - bottom: 10px; -} - -#wp-fullscreen-body .uploader-editor .uploader-editor-title, -.wp-editor-wrap .uploader-editor .uploader-editor-title { - position: absolute; - top: 50%; - left: 0; - right: 0; - -webkit-transform: translateY( -50% ); - -ms-transform: translateY(-50%); - transform: translateY( -50% ); - font-size: 3em; - line-height: 1.3; - font-weight: bold; - color: #fff; - padding: 0; - margin: 0; - display: none; -} - -.wp-editor-wrap .uploader-editor.droppable { - background: rgba( 0, 86, 132, 0.9 ); -} - -#wp-fullscreen-body .uploader-editor .uploader-editor-title, -.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title { - display: block; -} - -/** - * IE7 Fixes - */ -.ie7 .media-frame .attachments-browser { - position: static; -} - -.ie7 .media-frame .embed-url input { - margin-top: 4px; - width: 90%; -} - -.ie7 .compat-item { - width: 99%; -} - -.ie7 .attachment-display-settings { - width: auto; -} - -.ie7 .attachment-preview, -.ie7 .attachment-preview .thumbnail { - width: 120px; - height: 120px; -} - -.ie7 .media-frame .attachment .describe { - width: 102px; -} - -.ie7 .media-sidebar .setting select { - max-width: 55%; -} - -.ie7 .media-sidebar .setting input[type="text"], -.ie7 .media-sidebar .setting input[type="password"], -.ie7 .media-sidebar .setting input[type="email"], -.ie7 .media-sidebar .setting input[type="number"], -.ie7 .media-sidebar .setting input[type="search"], -.ie7 .media-sidebar .setting input[type="tel"], -.ie7 .media-sidebar .setting input[type="url"], -.ie7 .media-sidebar .setting textarea { - width: 55%; -} - -.ie7 .media-sidebar .setting .link-to-custom { - float: left; -} - -/** - * Localization - */ -.rtl .media-modal, -.rtl .media-frame, -.rtl .media-frame .search, -.rtl .media-frame input[type="text"], -.rtl .media-frame input[type="password"], -.rtl .media-frame input[type="number"], -.rtl .media-frame input[type="search"], -.rtl .media-frame input[type="email"], -.rtl .media-frame input[type="url"], -.rtl .media-frame input[type="tel"], -.rtl .media-frame textarea, -.rtl .media-frame select { - font-family: Tahoma, sans-serif; -} - -:lang(he-il) .rtl .media-modal, -:lang(he-il) .rtl .media-frame, -:lang(he-il) .rtl .media-frame .search, -:lang(he-il) .rtl .media-frame input[type="text"], -:lang(he-il) .rtl .media-frame input[type="password"], -:lang(he-il) .rtl .media-frame input[type="number"], -:lang(he-il) .rtl .media-frame input[type="search"], -:lang(he-il) .rtl .media-frame input[type="email"], -:lang(he-il) .rtl .media-frame input[type="url"], -:lang(he-il) .rtl .media-frame textarea, -:lang(he-il) .rtl .media-frame select { - font-family: Arial, sans-serif; -} - -@media only screen and (max-width: 940px) { - .media-frame-content .media-toolbar-primary .search, - .media-frame-content .media-toolbar-secondary .attachment-filters { - max-width: 134px; - } -} - -/** - * Responsive layout - */ -@media only screen and (max-width: 900px) { - - /* Drop-down menu */ - .media-frame:not(.hide-menu) .media-frame-title, - .media-frame:not(.hide-menu) .media-frame-router, - .media-frame:not(.hide-menu) .media-frame-content, - .media-frame:not(.hide-menu) .media-frame-toolbar { - left: 0; - } - - .media-frame:not(.hide-menu) .media-frame-menu { - position: static; - width: 0; - } - - .media-frame:not(.hide-menu) .media-menu { - width: auto; - max-width: 80%; - overflow: auto; - z-index: 2000; - top: 50px; - left: -300px; - right: auto; - bottom: auto; - padding: 5px 0; - border: 1px solid #ccc; - } - - .media-frame:not(.hide-menu) .media-menu.visible { - left: 0; - } - - .media-frame:not(.hide-menu) .media-menu > a { - padding: 12px 16px; - font-size: 16px; - } - - .media-frame:not(.hide-menu) .media-menu > a.active { - display: none; - } - - .media-frame:not(.hide-menu) .media-menu .separator { - margin: 5px 10px; - } - - .media-frame:not(.hide-menu) .media-frame-title { - left: 0; - color: #21759b; - } - - .media-frame:not(.hide-menu) .media-frame-title .dashicons { - display: inline-block; - line-height: 50px; - } - - .media-frame:not(.hide-menu) .media-frame-title h1 { - line-height: 3; - font-size: 18px; - float: left; - cursor: pointer; - } - /* End drop-down menu */ - - .media-sidebar { - width: 230px; - } - - .attachments-browser .attachments, - .attachments-browser .uploader-inline, - .attachments-browser .media-toolbar { - right: 262px; - } - - .media-sidebar .setting, - .attachment-details .setting { - margin: 6px 0px; - } - - .media-sidebar .setting input, - .media-sidebar .setting textarea, - .media-sidebar .setting span, - .attachment-details .setting input, - .attachment-details .setting textarea, - .attachment-details .setting span, - .compat-item label span { - float: none; - } - - .media-sidebar .setting span, - .attachment-details .setting span, - .compat-item label span { - text-align: inherit; - min-height: 16px; - margin: 0; - padding: 8px 2px 0; - } - - .media-sidebar .setting .value, - .attachment-details .setting .value { - float: none; - width: auto; - } - - .media-sidebar .setting input[type="text"], - .media-sidebar .setting input[type="password"], - .media-sidebar .setting input[type="email"], - .media-sidebar .setting input[type="number"], - .media-sidebar .setting input[type="search"], - .media-sidebar .setting input[type="tel"], - .media-sidebar .setting input[type="url"], - .media-sidebar .setting textarea, - .media-sidebar .setting select, - .attachment-details .setting input[type="text"], - .attachment-details .setting input[type="password"], - .attachment-details .setting input[type="email"], - .attachment-details .setting input[type="number"], - .attachment-details .setting input[type="search"], - .attachment-details .setting input[type="tel"], - .attachment-details .setting input[type="url"], - .attachment-details .setting textarea, - .attachment-details .setting select { - float: none; - width: 98%; - max-width: none; - height: auto; - } - - .media-sidebar .setting select.columns, - .attachment-details .setting select.columns { - width: auto; - } - - .media-frame input, - .media-frame textarea, - .media-frame .search { - padding: 3px 6px; - } - - .image-details .column-image { - width: 30%; - left: 70%; - } - - .image-details .column-settings { - width: 70%; - } - - .image-details .media-modal { - left: 30px; - right: 30px; - } - - .image-details .embed-media-settings .setting { - margin: 20px; - } - - .image-details .embed-media-settings .setting span { - float: none; - text-align: left; - width: 100%; - margin-bottom: 4px; - } - - .image-details .embed-media-settings .setting input.link-to-custom, - .image-details .embed-media-settings .setting input[type="text"], - .image-details .embed-media-settings .setting textarea { - width: 100%; - margin-left: 0; - } - - .image-details .embed-media-settings .custom-size { - margin-left: 20px; - } - - .collection-settings .setting input[type="checkbox"] { - margin-top: 0; - } - - .media-selection { - min-width: 120px; - } - - .media-selection:after { - background: none; - } - - .media-selection .attachments { - display: none; - } - - .media-modal .attachments-browser .media-toolbar-primary, - .media-modal .attachments-browser .media-toolbar-secondary { - width: 50%; - } - - .media-modal .attachments-browser .media-toolbar .search { - max-width: 100%; - height: auto; - float: right; - } - - .media-modal .attachments-browser .media-toolbar .attachment-filters { - margin: 11px 0 0; - height: auto; - max-width: 65%; - max-width: -webkit-calc(100% - 38px); - max-width: calc(100% - 38px); - } - - .media-modal .attachments-browser .media-toolbar .spinner { - margin: 14px 8px 0; - } - - /* Text inputs need to be 16px, or they force zooming on iOS */ - .media-frame input[type="text"], - .media-frame input[type="password"], - .media-frame input[type="number"], - .media-frame input[type="search"], - .media-frame input[type="email"], - .media-frame input[type="url"], - .media-frame textarea, - .media-frame select { - font-size: 16px; - } -} - -/* Responsive on portrait and landscape */ -@media only screen and (max-width: 640px), screen and (max-height: 400px) { - /* Full-bleed modal */ - .media-modal, - .image-details .media-modal { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - } - - .media-modal-backdrop { - position: fixed; - } - - .media-sidebar { - z-index: 1900; - max-width: 70%; - bottom: 120%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding-bottom: 0; - } - - .media-sidebar.visible { - bottom: 0; - } - - .attachments-browser .attachments, - .attachments-browser .uploader-inline, - .attachments-browser .media-toolbar { - right: 0; - } - - .image-details .media-frame-title { - display: block; - top: 0; - font-size: 14px; - } - - .image-details .column-image, - .image-details .column-settings { - width: 100%; - position: relative; - left: 0; - } - - .image-details .column-settings { - padding: 4px 0; - } - - /* Media tabs on the top */ - .media-frame-content .media-toolbar .instructions { - display: none; - } -} - -/* Landscape specific header override */ -@media screen and (max-height: 400px) { - .media-menu { - padding: 0; - } - - .media-frame-router { - top: 44px; - } - - .media-frame-content { - top: 78px; - } - - .attachments-browser .attachments { - top: 40px; - } - - /* Prevent unnecessary scrolling on title input */ - .embed-link-settings { - overflow: visible; - } -} - -@media only screen and (max-width: 480px) { - .media-frame-content .media-toolbar .search, - .media-frame-content .media-toolbar .attachment-filters { - max-width: 90px; - } - - .media-modal-close { - top: 5px; - right: 5px; - } - - .media-modal .media-frame-title { - height: 40px; - } - - .media-modal .media-frame-title h1, - .media-frame:not(.hide-menu) .media-frame-title h1 { - font-size: 18px; - line-height: 40px; - } - - .media-frame:not(.hide-menu) .media-frame-title .dashicons { - line-height: 40px; - } - - .media-frame-router, - .media-frame:not(.hide-menu) .media-menu { - top: 40px; - } - - .media-frame-content { - top: 74px; - } - - .media-frame.hide-router .media-frame-content { - top: 40px; - } -} - -/** - * HiDPI Displays - */ -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .media-modal-icon { - background-image: url(../images/uploader-icons-2x.png); - -webkit-background-size: 134px 15px; - background-size: 134px 15px; - } - - .media-frame .spinner { - background-image: url(../images/spinner-2x.gif); - } -} - -.media-frame-content[data-columns="1"] .attachment { - width: 100%; -} - -.media-frame-content[data-columns="2"] .attachment { - width: 50%; -} - -.media-frame-content[data-columns="3"] .attachment { - width: 33.33%; -} - -.media-frame-content[data-columns="4"] .attachment { - width: 25%; -} - -.media-frame-content[data-columns="5"] .attachment { - width: 20%; -} - -.media-frame-content[data-columns="6"] .attachment { - width: 16.66%; -} - -.media-frame-content[data-columns="7"] .attachment { - width: 14.28%; -} - -.media-frame-content[data-columns="8"] .attachment { - width: 12.5%; -} - -.media-frame-content[data-columns="9"] .attachment { - width: 11.11%; -} - -.media-frame-content[data-columns="10"] .attachment { - width: 10%; -} - -.media-frame-content[data-columns="11"] .attachment { - width: 9.09%; -} - -.media-frame-content[data-columns="12"] .attachment { - width: 8.33%; -} diff --git a/sources/wordpress/wp-includes/css/media-views.min.css b/sources/wordpress/wp-includes/css/media-views.min.css deleted file mode 100644 index a1d966d..0000000 --- a/sources/wordpress/wp-includes/css/media-views.min.css +++ /dev/null @@ -1 +0,0 @@ -.media-modal *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.media-frame input,.media-frame select,.media-frame textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.media-frame,.media-modal{font-family:"Open Sans",sans-serif;font-size:12px}.media-frame input,.media-frame textarea{padding:6px 8px}.media-frame select,.wp-admin .media-frame select{line-height:28px;margin-top:3px}.media-frame a{border-bottom:none;color:#21759b}.media-frame a:hover{color:#d54e21}.media-frame a.button{color:#333}.media-frame a.button:hover{color:#222}.media-frame a.button-primary,.media-frame a.button-primary:hover{color:#fff}.media-frame input[type=email],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=text],.media-frame input[type=url],.media-frame select,.media-frame textarea{font-family:"Open Sans",sans-serif;font-size:12px;border-width:1px;border-style:solid;border-color:#dfdfdf}.media-frame input[type=email]:focus,.media-frame input[type=number]:focus,.media-frame input[type=password]:focus,.media-frame input[type=search]:focus,.media-frame input[type=text]:focus,.media-frame input[type=url]:focus,.media-frame select:focus,.media-frame textarea:focus{border-color:#5b9dd9}.media-frame select{height:24px;padding:2px}.media-frame input:disabled,.media-frame input[readonly],.media-frame textarea:disabled,.media-frame textarea[readonly]{background-color:#eee}.media-frame input[type=search]{-webkit-appearance:textfield}.media-frame :-moz-placeholder{color:#a9a9a9}.media-frame .hidden{display:none}.ui-draggable,.ui-sortable{-ms-touch-action:none;touch-action:none}.meta-box-sortables.ui-sortable{-ms-touch-action:auto;touch-action:auto}.meta-box-sortables.ui-sortable .hndle{-ms-touch-action:none;touch-action:none}.media-modal{position:fixed;top:30px;left:30px;right:30px;bottom:30px;z-index:160000}.wp-customizer .media-modal{z-index:560000}.media-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:159900}.wp-customizer .media-modal-backdrop{z-index:559900}.media-modal-close{position:absolute;text-decoration:none;top:10px;right:10px;width:30px;height:30px;z-index:1000;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.media-modal-close:active{-webkit-box-shadow:none;box-shadow:none}.media-modal-close span.media-modal-icon{display:block;margin-top:5px;width:30px;height:15px;background-image:none;text-align:center}.media-modal-close .media-modal-icon:before{content:'\f158';font:400 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#666}.media-modal-close:hover .media-modal-icon:before{color:#2ea2cc}.media-modal-close:active{outline:0}.media-modal-content{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;min-height:300px;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.7);box-shadow:0 5px 15px rgba(0,0,0,.7);background:#fcfcfc;-webkit-font-smoothing:subpixel-antialiased}.media-modal-icon{background-image:url(../images/uploader-icons.png);background-repeat:no-repeat}.media-toolbar{position:absolute;top:0;left:0;right:0;z-index:100;height:60px;padding:0 16px;border:0 solid #dfdfdf;overflow:hidden}.media-toolbar-primary{float:right;height:100%}.media-toolbar-secondary{float:left;height:100%}.media-toolbar-primary>.media-button,.media-toolbar-primary>.media-button-group{margin-left:10px;float:left;margin-top:15px}.media-toolbar-secondary>.media-button,.media-toolbar-secondary>.media-button-group{margin-right:10px;margin-top:15px}.media-sidebar{position:absolute;top:0;right:0;bottom:0;width:267px;padding:0 16px 24px;z-index:75;background:#f3f3f3;border-left:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch}.hide-toolbar .media-sidebar{bottom:0}.media-sidebar .sidebar-title{font-size:20px;margin:0;padding:12px 10px 10px;line-height:28px}.media-sidebar .sidebar-content{padding:0 10px;margin-bottom:130px}.media-sidebar .search{display:block;width:100%}.image-details h3,.media-sidebar h3{position:relative;font-weight:700;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}.attachment-details .setting,.media-sidebar .setting{display:block;float:left;width:100%;margin:1px 0}.attachment-details .setting label,.media-sidebar .setting label{display:block}.attachment-details .setting .link-to-custom,.media-sidebar .setting .link-to-custom{margin:3px 2px 0}.attachment-details .setting span,.media-sidebar .setting span{min-width:30%;margin-right:4%;font-size:12px;text-align:right}.attachment-details .setting select,.media-sidebar .setting select{max-width:65%}.attachment-details .field input[type=checkbox],.attachment-details .field input[type=radio],.attachment-details .setting input[type=checkbox],.attachment-details .setting input[type=radio],.media-sidebar .field input[type=checkbox],.media-sidebar .field input[type=radio],.media-sidebar .setting input[type=checkbox],.media-sidebar .setting input[type=radio]{float:none;margin:8px 3px 0;padding:0}.attachment-details .setting span,.compat-item label span,.media-sidebar .setting span{float:left;min-height:22px;padding-top:8px;line-height:16px;font-weight:400;color:#666}.compat-item label span{text-align:right}.attachment-details .setting .value,.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting textarea,.media-sidebar .setting .value,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:1px;width:65%;float:right}.attachment-details .setting .value,.media-sidebar .setting .value{margin:0 1px;text-align:left}.attachment-details .setting textarea,.compat-item .field textarea,.media-sidebar .setting textarea{height:62px;resize:vertical}.attachment-details select,.media-sidebar select{margin-top:3px}.compat-item{float:left;width:100%;overflow:hidden}.compat-item table{width:100%;table-layout:fixed;border-spacing:0;border:0}.compat-item tr{padding:2px 0;display:block;overflow:hidden}.compat-item .field,.compat-item .label{display:block;margin:0;padding:0}.compat-item .label{min-width:30%;margin-right:4%;float:left;text-align:right}.compat-item .label span{display:block;width:100%}.compat-item .field{float:right;width:66%}.compat-item .field input[type=email],.compat-item .field input[type=number],.compat-item .field input[type=password],.compat-item .field input[type=search],.compat-item .field input[type=tel],.compat-item .field input[type=text],.compat-item .field input[type=url]{width:100%;margin:0}.sidebar-for-errors .attachment-details,.sidebar-for-errors .compat-item,.sidebar-for-errors .media-sidebar .media-progress-bar,.sidebar-for-errors .upload-details{display:none!important}.media-menu{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:10px 0;background:#f3f3f3;border-right-width:1px;border-right-style:solid;border-right-color:#ccc;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.media-menu>a{display:block;position:relative;padding:8px 20px;margin:0;line-height:18px;font-size:14px;color:#0074a2;text-decoration:none}.media-menu>a:hover{color:#21759B;background:rgba(0,0,0,.04)}.media-menu>a:active{outline:0}.media-menu .active,.media-menu .active:hover{color:#222;font-weight:700}.media-menu .separator{height:0;margin:12px 20px;padding:0;border-top:1px solid #ddd}.media-router{position:relative;padding:0 6px;margin:0;clear:both;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.media-router a{-webkit-transition:none;transition:none}.media-router>a{position:relative;float:left;padding:8px 10px 9px;margin:0;height:18px;line-height:18px;font-size:14px;text-decoration:none}.media-router>a:last-child{border-right:0}.media-router>a:active{outline:0}.media-router .active,.media-router .active:hover{color:#333}.media-router .active,.media-router>a.active:last-child{margin:-1px -1px 0;background:#fff;border:1px solid #ddd;border-bottom:none}.media-router .active:after{display:none}.media-frame{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}.media-frame-menu{position:absolute;top:0;left:0;bottom:0;width:200px;z-index:150}.media-frame-title{position:absolute;top:0;left:200px;right:0;height:50px;z-index:200}.media-frame-router{position:absolute;top:50px;left:200px;right:0;height:36px;z-index:200}.media-frame-content{position:absolute;top:84px;left:200px;right:0;bottom:61px;height:auto;width:auto;margin:0;overflow:auto;background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.media-frame-toolbar{position:absolute;left:200px;right:0;bottom:0;height:60px;z-index:100}.media-frame.hide-menu .media-frame-content,.media-frame.hide-menu .media-frame-router,.media-frame.hide-menu .media-frame-title,.media-frame.hide-menu .media-frame-toolbar{left:0}.media-frame.hide-menu .media-frame-menu{left:-200px}.media-frame.hide-toolbar .media-frame-content{bottom:0}.media-frame.hide-toolbar .media-frame-toolbar{bottom:-61px}.media-frame.hide-router .media-frame-content{top:50px}.media-frame.hide-router .media-frame-router{display:none}.media-frame.hide-router .media-frame-title{border-bottom:1px solid #dfdfdf;-webkit-box-shadow:0 4px 4px -4px rgba(0,0,0,.1);box-shadow:0 4px 4px -4px rgba(0,0,0,.1)}.media-frame-title .dashicons{display:none}.media-frame-title h1{padding:0 16px;font-size:22px;line-height:50px;margin:0}.media-frame-title .suggested-dimensions{font-size:14px;float:right;margin-right:20px}.media-frame-content .crop-content{height:100%}.media-frame-content .crop-content .crop-image{display:block;margin:auto;max-width:100%;max-height:100%}.media-frame-content .crop-content .upload-errors{position:absolute;width:300px;top:50%;left:50%;margin-left:-150px;margin-right:-150px;z-index:600000}.media-frame .media-iframe{overflow:hidden}.media-frame .media-iframe,.media-frame .media-iframe iframe{height:100%;width:100%;border:0}.media-frame select.attachment-filters{margin-top:11px;margin-right:10px}.media-frame .search{margin-top:11px;padding:4px;font-size:13px;color:#464646;font-family:"Open Sans",sans-serif;-webkit-appearance:none}.media-toolbar-secondary .search{margin-right:16px}.attachments{margin:0;-webkit-overflow-scrolling:touch}.attachment{position:relative;float:left;padding:8px;margin:0;color:#464646;cursor:pointer;list-style:none;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:25%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.attachment.details:focus,.attachment:focus,.selected.attachment:focus{-webkit-box-shadow:inset 0 0 2px 3px #fff,inset 0 0 0 7px #5b9dd9;box-shadow:inset 0 0 2px 3px #fff,inset 0 0 0 7px #5b9dd9;outline:0}.selected.attachment{-webkit-box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 7px #ccc;box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 7px #ccc}.attachment.details{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #1e8cbe;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #1e8cbe}.attachment-preview{position:relative;-webkit-box-shadow:inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);box-shadow:inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);background:#eee;cursor:pointer}.attachment-preview:before{content:'';display:block;padding-top:100%}.attachment .icon{margin:0 auto;overflow:hidden}.attachment .thumbnail{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;opacity:1;-webkit-transition:opacity .1s;transition:opacity .1s}.attachment .portrait img{max-width:100%}.attachment .landscape img{max-height:100%}.attachment .thumbnail:after{content:'';display:block;position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.attachment .thumbnail img{top:0;left:0}.attachment .thumbnail .centered{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translate(50%,50%);-ms-transform:translate(50%,50%);transform:translate(50%,50%)}.attachment .thumbnail .centered img{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.attachment .thumbnail .centered img.icon{-webkit-transform:translate(-50%,-70%);-ms-transform:translate(-50%,-70%);transform:translate(-50%,-70%)}.ie8 .attachment img.icon{top:20%;position:relative}.attachment .filename{position:absolute;left:0;right:0;bottom:0;overflow:hidden;max-height:100%;word-wrap:break-word;text-align:center;font-weight:700;background:rgba(255,255,255,.8);-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.attachment .filename div{padding:5px 10px}.attachment .thumbnail img{position:absolute}.attachment .close{display:none;position:absolute;top:5px;right:5px;height:22px;width:22px;padding:0;font-size:20px;line-height:20px;text-align:center;text-decoration:none;color:#464646;background-color:#fff;background-position:-96px 4px;border-width:0;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.3);box-shadow:0 0 0 1px rgba(0,0,0,.3)}.attachment .close:hover{-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.6);box-shadow:0 0 0 1px rgba(0,0,0,.6)}.attachment:hover .close{display:block}.attachment .check{display:none;height:24px;width:24px;position:absolute;z-index:10;top:0;right:0;outline:0;background:#eee;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.15);box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.15)}.attachment .check div{background-position:-1px 0;height:15px;width:15px;margin:5px}.attachment .check:hover div{background-position:-40px 0}.attachment.selected .check{display:block}.attachment.details .check,.attachment.selected .check:focus,.media-frame.mode-grid .attachment.selected .check{background-color:#1e8cbe;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #1e8cbe;box-shadow:0 0 0 1px #fff,0 0 0 2px #1e8cbe}.attachment.details .check div,.media-frame.mode-grid .attachment.selected .check div{background-position:-21px 0}.attachment.details .check:hover div,.attachment.selected .check:focus div,.media-frame.mode-grid .attachment.selected .check:hover div{background-position:-60px 0}.media-frame .attachment .describe{position:relative;display:block;width:100%;margin:0;padding:8px;font-size:12px;-webkit-border-radius:0;border-radius:0}.media-frame .attachments-browser{position:relative;width:100%;height:100%;overflow:hidden}.attachments-browser .media-toolbar{right:300px;height:50px}.attachments-browser.hide-sidebar .media-toolbar{right:0}.attachments-browser .media-toolbar-primary>.media-button,.attachments-browser .media-toolbar-primary>.media-button-group,.attachments-browser .media-toolbar-secondary>.media-button,.attachments-browser .media-toolbar-secondary>.media-button-group{margin:11px 0}.attachments-browser .attachments{padding:2px 8px 8px}.attachments-browser .attachments,.attachments-browser .uploader-inline{position:absolute;top:50px;left:0;right:300px;bottom:0;overflow:auto;outline:0}.attachments-browser .uploader-inline.hidden{display:none}.uploader-inline .close{background-color:transparent;border:0;cursor:pointer;height:48px;position:absolute;right:0;text-align:center;top:0;width:50px;z-index:1}.uploader-inline .close:before{font:400 30px/50px dashicons!important;color:#777;display:inline-block;content:'\f335';font-weight:300}.attachments-browser.hide-sidebar .attachments,.attachments-browser.hide-sidebar .uploader-inline{right:0;margin-right:0}.attachments-browser .instructions{display:inline-block;margin-top:16px;line-height:18px;font-size:13px;color:#666;margin-right:.5em}.attachments-browser .no-media{padding:2em 0 0 2em}.media-progress-bar{position:relative;height:10px;width:70%;margin:10px auto;-webkit-border-radius:10px;border-radius:10px;background:#dfdfdf;background:rgba(0,0,0,.1)}.media-progress-bar div{height:10px;min-width:20px;width:0;background:#1e8cbe;-webkit-border-radius:10px;border-radius:10px;-webkit-transition:width 300ms;transition:width 300ms}.media-uploader-status .media-progress-bar{display:none;width:100%}.uploading.media-uploader-status .media-progress-bar{display:block}.attachment-preview .media-progress-bar{position:absolute;top:50%;left:15%;width:70%;margin:-5px 0 0}.media-uploader-status{position:relative;margin:0 auto;padding-bottom:10px;max-width:400px}.media-sidebar .media-uploader-status{border-bottom:1px solid #dfdfdf}.uploader-inline .media-uploader-status h3{display:none}.media-uploader-status .upload-details{display:none;font-size:12px;color:#666}.uploading.media-uploader-status .upload-details{display:block}.media-uploader-status .upload-detail-separator{padding:0 4px}.media-uploader-status .upload-count{color:#464646}.media-uploader-status .upload-dismiss-errors,.media-uploader-status .upload-errors{display:none}.errors.media-uploader-status .upload-dismiss-errors,.errors.media-uploader-status .upload-errors{display:block}.media-uploader-status .upload-dismiss-errors{text-decoration:none}.media-sidebar .media-uploader-status .upload-dismiss-errors{position:absolute;top:0;right:0}.upload-errors .upload-error{margin:8px auto 0;padding:8px;border:1px solid #c00;background:#ffebe8;-webkit-border-radius:3px;border-radius:3px}.upload-errors .upload-error-label{padding:2px 4px;margin-right:8px;font-weight:700;color:#fff;background:#e00;background:-webkit-gradient(linear,left top,left bottom,from(#e00),to(#a00)) #e00;background:-webkit-linear-gradient(top,#e00,#a00) #e00;background:linear-gradient(to bottom,#e00,#a00) #e00;-webkit-border-radius:3px;border-radius:3px}.upload-errors .upload-error-message{display:block;padding-top:8px;color:#b44;word-wrap:break-word}.uploader-window{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,86,132,.9);z-index:250000;display:none;text-align:center;opacity:0;-webkit-transition:opacity 250ms;transition:opacity 250ms}.uploader-window-content{position:absolute;top:10px;left:10px;right:10px;bottom:10px;border:1px dashed #fff}.uploader-window h3{margin:-.5em 0 0;position:absolute;top:50%;left:0;right:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);font-size:40px;color:#fff;padding:0}.uploader-window .media-progress-bar{margin-top:20px;max-width:300px;background:0 0;border-color:#fff;display:none}.uploader-window .media-progress-bar div{background:#fff}.uploading .uploader-window .media-progress-bar{display:block}.media-frame .uploader-inline{margin-bottom:20px;padding:0;text-align:center}.uploader-inline-content{position:absolute;top:30%;left:0;right:0}.uploader-inline-content .upload-ui{margin:2em 0}.uploader-inline-content .post-upload-ui{margin-bottom:2em}.uploader-inline .has-upload-message .upload-ui{margin:0 0 4em}.uploader-inline h3{font-size:20px;line-height:28px;font-weight:400;margin:0}.uploader-inline .has-upload-message .upload-instructions{font-size:14px;color:#464646;font-weight:400}.uploader-inline .drop-instructions{display:none}.supports-drag-drop .uploader-inline .drop-instructions{display:block}.uploader-inline p{font-size:12px;margin:.5em 0}.uploader-inline .media-progress-bar{display:none}.uploading.uploader-inline .media-progress-bar{display:block}.uploader-inline .browser{display:inline-block!important}.media-selection{position:absolute;top:0;left:0;right:350px;height:60px;padding:0 0 0 16px;overflow:hidden;white-space:nowrap}.media-selection .selection-info{display:inline-block;font-size:12px;height:60px;margin-right:10px;vertical-align:top}.media-selection.editing,.media-selection.empty,.media-selection.one .edit-selection{display:none}.media-selection .count{display:block;padding-top:12px;font-size:14px;line-height:20px;font-weight:700}.media-selection .selection-info a{display:block;float:left;padding:1px 8px;margin:1px 8px 1px -8px;line-height:16px;text-decoration:none;border-right:1px solid #dfdfdf;color:#21759B}.media-selection .selection-info a:hover{background:#21759B;color:#fff;border-color:transparent}.media-selection .selection-info a:last-child{border-right:0;margin-right:0}.media-selection .selection-info .clear-selection{color:red}.media-selection .selection-info .clear-selection:hover{background:red}.media-selection .selection-view{display:inline-block;vertical-align:top}.media-selection .attachments{display:inline-block;height:48px;margin:6px;padding:0;overflow:hidden;vertical-align:top}.media-selection .attachment{width:48px;padding:0;margin:0;-webkit-box-shadow:none;box-shadow:none}.media-selection .attachment .thumbnail{top:4px;right:4px;bottom:4px;left:4px}.media-selection .attachment .icon{width:50%}.media-selection .attachment-preview{-webkit-box-shadow:none;box-shadow:none;background:0 0}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #1e8cbe;box-shadow:0 0 0 1px #fff,0 0 0 3px #1e8cbe}.media-selection:after{content:'';display:block;position:absolute;top:0;right:0;bottom:0;width:25px;background-image:-webkit-gradient(linear,right top,left top,from(rgba(255,255,255,1)),to(rgba(255,255,255,0)));background-image:-webkit-linear-gradient(right,rgba(255,255,255,1),rgba(255,255,255,0));background-image:linear-gradient(to left,rgba(255,255,255,1),rgba(255,255,255,0))}.media-selection .attachment .filename{display:none}.media-frame .spinner{background:url(../images/spinner.gif) 0 0/20px 20px no-repeat;-webkit-background-size:20px 20px;display:none;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:0}.media-toolbar .spinner{margin-top:14px}.attachment-details{position:relative;overflow:auto}.attachment-details .settings-save-status{float:right;text-transform:none;z-index:10}.attachment-details .settings-save-status .spinner{margin:0 5px}.attachment-details .settings-save-status .saved{float:right;display:none}.attachment-details.save-complete .settings-save-status .saved,.attachment-details.save-waiting .settings-save-status .spinner{display:block}.attachment-info{overflow:hidden;min-height:60px;margin-bottom:16px;line-height:18px;color:#666;border-bottom:1px solid #ddd;padding-bottom:11px}.attachment-info .filename{font-weight:700;color:#464646;word-wrap:break-word}.attachment-info .thumbnail{position:relative;float:left;max-width:120px;max-height:120px;margin-top:5px;margin-right:10px;margin-bottom:5px}.uploading .attachment-info .thumbnail{width:120px;height:80px;-webkit-box-shadow:inset 0 0 15px rgba(0,0,0,.1);box-shadow:inset 0 0 15px rgba(0,0,0,.1)}.uploading .attachment-info .media-progress-bar{margin-top:35px}.attachment-info .thumbnail-image:after{content:'';display:block;position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);overflow:hidden}.attachment-info .thumbnail img{display:block;max-width:120px;max-height:120px;margin:0 auto}.attachment-info .details{float:left;font-size:12px;max-width:100%}.attachment-info .delete-attachment,.attachment-info .edit-attachment,.attachment-info .refresh-attachment,.attachment-info .trash-attachment,.attachment-info .untrash-attachment{display:block;text-decoration:none;white-space:nowrap}.attachment-details.needs-refresh .attachment-info .edit-attachment,.attachment-info .refresh-attachment{display:none}.attachment-details.needs-refresh .attachment-info .refresh-attachment,.attachment-info .edit-attachment{display:block}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment{color:#bc0b0b}.media-modal .delete-attachment:hover,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:hover{color:red}.attachment-display-settings{width:100%;float:left;overflow:hidden}.attachment-display-settings h4{margin:1.4em 0 .4em}.collection-settings{overflow:hidden}.collection-settings .setting input[type=checkbox]{float:left;margin-right:8px}.collection-settings .setting span{min-width:inherit}.media-modal .imgedit-wrap{position:static}.media-modal .imgedit-wait{height:auto!important;right:0;bottom:0;left:0}.media-modal .imgedit-wrap .imgedit-panel-content{padding:16px;position:absolute;top:0;right:282px;bottom:0;left:0;overflow:auto}.media-modal .imgedit-wrap .imgedit-settings{background:#f3f3f3;border-left:1px solid #ddd;padding:0 16px 16px;position:absolute;top:0;right:0;bottom:0;width:250px;overflow:auto}.media-modal .imgedit-group{background:0 0;border:none;border-bottom:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;margin:0 0 16px;padding:0 0 16px;position:relative}.media-modal .imgedit-group:last-of-type{border:none;margin:0;padding:0}.media-modal .imgedit-group-top h3{text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 0}.media-modal .imgedit-group-top h3 a{text-decoration:none;color:#666}.media-modal .imgedit-help-toggle{margin-top:-2px;cursor:pointer;color:#666}.media-modal .imgedit-help-toggled span.dashicons:before{content:'\f142'}.media-modal .imgedit-group img{margin-top:5px}.media-modal .imgedit-wrap div.updated{margin:0 0 16px}.embed-url{display:block;position:relative;padding:16px;margin:0;z-index:250;background:#fff;font-size:18px}.media-frame .embed-url input{font-size:18px;padding:12px 14px;width:100%;min-width:200px;-webkit-box-shadow:inset 2px 2px 4px -2px rgba(0,0,0,.1);box-shadow:inset 2px 2px 4px -2px rgba(0,0,0,.1)}.media-frame .embed-url .spinner{position:absolute;top:32px;right:26px}.media-frame .embed-loading .embed-url .spinner{display:block}.embed-link-settings,.embed-media-settings{position:absolute;top:70px;left:0;right:0;bottom:0;padding:16px 16px 32px;overflow:auto}.embed-preview embed,.embed-preview iframe,.embed-preview img{max-width:100%}.embed-preview img{height:auto}.image-details .media-modal{left:140px;right:140px}.image-details .media-frame-content,.image-details .media-frame-router,.image-details .media-frame-title{left:0}.image-details .embed-media-settings{top:0;overflow:visible;padding:0}.image-details .embed-media-settings,.image-details .embed-media-settings div{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.image-details .column-settings{background:#f3f3f3;border-right:1px solid #ddd;min-height:100%;width:55%;position:absolute;top:0;left:0}.image-details .column-settings h3{margin:20px;padding-top:20px;border-top:1px solid #ddd}.image-details .column-image{width:45%;position:absolute;left:55%;top:0}.image-details .image{margin:20px}.image-details .image img{max-width:100%;max-height:500px}.image-details .advanced-toggle{color:#666;text-decoration:none;display:block}.image-details .advanced-toggle:after{font:400 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f140';display:inline-block;margin-top:-2px}.image-details .advanced-visible .advanced-toggle:after{content:'\f142'}.image-details .embed-media-settings .size{margin-bottom:4px}.image-details .custom-size span{display:block}.image-details .custom-size label{display:block;float:left}.image-details .custom-size span small{color:#999;font-size:inherit}.image-details .custom-size input{width:5em}.image-details .custom-size .sep{float:left;margin:26px 6px 0}.image-details .custom-size:after{content:'';display:table;clear:both}.media-embed .thumbnail{max-width:100%;max-height:200px;position:relative;float:left}.media-embed .thumbnail img{max-height:200px;display:block}.media-embed .thumbnail:after{content:'';display:block;position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.media-embed .setting{width:100%;margin:10px 0;float:left;display:block;clear:both}.image-details .embed-media-settings .setting{float:none;width:auto}.image-details .actions{margin:10px 0}.image-details .hidden{display:none}.media-embed .setting input[type=text],.media-embed .setting textarea{display:block;width:100%;max-width:400px;margin:1px 0}.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{max-width:inherit;width:70%}.image-details .embed-media-settings .custom-size,.image-details .embed-media-settings .link-target,.image-details .embed-media-settings .setting input.link-to-custom{margin-left:27%;width:70%}.image-details .embed-media-settings .link-target{margin-top:24px}.media-embed .setting input.hidden,.media-embed .setting textarea.hidden{display:none}.media-embed .setting span{display:block;width:200px;font-size:13px;line-height:24px;color:#666}.image-details .embed-media-settings .setting span{float:left;width:25%;text-align:right;margin:8px 1% 0;line-height:1.1}.media-embed .setting .button-group{margin:2px 0}.media-embed-sidebar{position:absolute;top:0;left:440px}.advanced-section,.link-settings{margin-top:10px}#wp-fullscreen-body .uploader-editor,.wp-editor-wrap .uploader-editor{background:rgba(150,150,150,.9);position:absolute;top:0;left:0;width:100%;height:100%;z-index:99998;display:none;text-align:center}#wp-fullscreen-body .uploader-editor{background:rgba(0,86,132,.9);position:fixed;z-index:100050}.wp-editor-wrap.wp-fullscreen-wrap .uploader-editor{opacity:0}#wp-fullscreen-body .uploader-editor-content,.wp-editor-wrap .uploader-editor-content{border:1px dashed #fff;position:absolute;top:10px;left:10px;right:10px;bottom:10px}#wp-fullscreen-body .uploader-editor .uploader-editor-title,.wp-editor-wrap .uploader-editor .uploader-editor-title{position:absolute;top:50%;left:0;right:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);font-size:3em;line-height:1.3;font-weight:700;color:#fff;padding:0;margin:0;display:none}.wp-editor-wrap .uploader-editor.droppable{background:rgba(0,86,132,.9)}#wp-fullscreen-body .uploader-editor .uploader-editor-title,.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title{display:block}.ie7 .media-frame .attachments-browser{position:static}.ie7 .media-frame .embed-url input{margin-top:4px;width:90%}.ie7 .compat-item{width:99%}.ie7 .attachment-display-settings{width:auto}.ie7 .attachment-preview,.ie7 .attachment-preview .thumbnail{width:120px;height:120px}.ie7 .media-frame .attachment .describe{width:102px}.ie7 .media-sidebar .setting select{max-width:55%}.ie7 .media-sidebar .setting input[type=email],.ie7 .media-sidebar .setting input[type=number],.ie7 .media-sidebar .setting input[type=password],.ie7 .media-sidebar .setting input[type=search],.ie7 .media-sidebar .setting input[type=tel],.ie7 .media-sidebar .setting input[type=text],.ie7 .media-sidebar .setting input[type=url],.ie7 .media-sidebar .setting textarea{width:55%}.ie7 .media-sidebar .setting .link-to-custom{float:left}.rtl .media-frame,.rtl .media-frame .search,.rtl .media-frame input[type=email],.rtl .media-frame input[type=number],.rtl .media-frame input[type=password],.rtl .media-frame input[type=search],.rtl .media-frame input[type=tel],.rtl .media-frame input[type=text],.rtl .media-frame input[type=url],.rtl .media-frame select,.rtl .media-frame textarea,.rtl .media-modal{font-family:Tahoma,sans-serif}:lang(he-il) .rtl .media-frame,:lang(he-il) .rtl .media-frame .search,:lang(he-il) .rtl .media-frame input[type=email],:lang(he-il) .rtl .media-frame input[type=number],:lang(he-il) .rtl .media-frame input[type=password],:lang(he-il) .rtl .media-frame input[type=search],:lang(he-il) .rtl .media-frame input[type=text],:lang(he-il) .rtl .media-frame input[type=url],:lang(he-il) .rtl .media-frame select,:lang(he-il) .rtl .media-frame textarea,:lang(he-il) .rtl .media-modal{font-family:Arial,sans-serif}@media only screen and (max-width:940px){.media-frame-content .media-toolbar-primary .search,.media-frame-content .media-toolbar-secondary .attachment-filters{max-width:134px}}@media only screen and (max-width:900px){.media-frame:not(.hide-menu) .media-frame-content,.media-frame:not(.hide-menu) .media-frame-router,.media-frame:not(.hide-menu) .media-frame-title,.media-frame:not(.hide-menu) .media-frame-toolbar{left:0}.media-frame:not(.hide-menu) .media-frame-menu{position:static;width:0}.media-frame:not(.hide-menu) .media-menu{width:auto;max-width:80%;overflow:auto;z-index:2000;top:50px;left:-300px;right:auto;bottom:auto;padding:5px 0;border:1px solid #ccc}.media-frame:not(.hide-menu) .media-menu.visible{left:0}.media-frame:not(.hide-menu) .media-menu>a{padding:12px 16px;font-size:16px}.media-frame:not(.hide-menu) .media-menu>a.active{display:none}.media-frame:not(.hide-menu) .media-menu .separator{margin:5px 10px}.media-frame:not(.hide-menu) .media-frame-title{left:0;color:#21759b}.media-frame:not(.hide-menu) .media-frame-title .dashicons{display:inline-block;line-height:50px}.media-frame:not(.hide-menu) .media-frame-title h1{line-height:3;font-size:18px;float:left;cursor:pointer}.media-sidebar{width:230px}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{right:262px}.attachment-details .setting,.media-sidebar .setting{margin:6px 0}.attachment-details .setting input,.attachment-details .setting span,.attachment-details .setting textarea,.compat-item label span,.media-sidebar .setting input,.media-sidebar .setting span,.media-sidebar .setting textarea{float:none}.attachment-details .setting span,.compat-item label span,.media-sidebar .setting span{text-align:inherit;min-height:16px;margin:0;padding:8px 2px 0}.attachment-details .setting .value,.media-sidebar .setting .value{float:none;width:auto}.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting select,.attachment-details .setting textarea,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting select,.media-sidebar .setting textarea{float:none;width:98%;max-width:none;height:auto}.attachment-details .setting select.columns,.media-sidebar .setting select.columns{width:auto}.media-frame .search,.media-frame input,.media-frame textarea{padding:3px 6px}.image-details .column-image{width:30%;left:70%}.image-details .column-settings{width:70%}.image-details .media-modal{left:30px;right:30px}.image-details .embed-media-settings .setting{margin:20px}.image-details .embed-media-settings .setting span{float:none;text-align:left;width:100%;margin-bottom:4px}.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{width:100%;margin-left:0}.image-details .embed-media-settings .custom-size{margin-left:20px}.collection-settings .setting input[type=checkbox]{margin-top:0}.media-selection{min-width:120px}.media-selection:after{background:0 0}.media-selection .attachments{display:none}.media-modal .attachments-browser .media-toolbar-primary,.media-modal .attachments-browser .media-toolbar-secondary{width:50%}.media-modal .attachments-browser .media-toolbar .search{max-width:100%;height:auto;float:right}.media-modal .attachments-browser .media-toolbar .attachment-filters{margin:11px 0 0;height:auto;max-width:65%;max-width:-webkit-calc(100% - 38px);max-width:calc(100% - 38px)}.media-modal .attachments-browser .media-toolbar .spinner{margin:14px 8px 0}.media-frame input[type=email],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=text],.media-frame input[type=url],.media-frame select,.media-frame textarea{font-size:16px}}@media only screen and (max-width:640px),screen and (max-height:400px){.image-details .media-modal,.media-modal{position:fixed;top:0;left:0;right:0;bottom:0}.media-modal-backdrop{position:fixed}.media-sidebar{z-index:1900;max-width:70%;bottom:120%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding-bottom:0}.media-sidebar.visible{bottom:0}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{right:0}.image-details .media-frame-title{display:block;top:0;font-size:14px}.image-details .column-image,.image-details .column-settings{width:100%;position:relative;left:0}.image-details .column-settings{padding:4px 0}.media-frame-content .media-toolbar .instructions{display:none}}@media screen and (max-height:400px){.media-menu{padding:0}.media-frame-router{top:44px}.media-frame-content{top:78px}.attachments-browser .attachments{top:40px}.embed-link-settings{overflow:visible}}@media only screen and (max-width:480px){.media-frame-content .media-toolbar .attachment-filters,.media-frame-content .media-toolbar .search{max-width:90px}.media-modal-close{top:5px;right:5px}.media-modal .media-frame-title{height:40px}.media-frame:not(.hide-menu) .media-frame-title h1,.media-modal .media-frame-title h1{font-size:18px;line-height:40px}.media-frame:not(.hide-menu) .media-frame-title .dashicons{line-height:40px}.media-frame-router,.media-frame:not(.hide-menu) .media-menu{top:40px}.media-frame-content{top:74px}.media-frame.hide-router .media-frame-content{top:40px}}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.media-modal-icon{background-image:url(../images/uploader-icons-2x.png);-webkit-background-size:134px 15px;background-size:134px 15px}.media-frame .spinner{background-image:url(../images/spinner-2x.gif)}}.media-frame-content[data-columns="1"] .attachment{width:100%}.media-frame-content[data-columns="2"] .attachment{width:50%}.media-frame-content[data-columns="3"] .attachment{width:33.33%}.media-frame-content[data-columns="4"] .attachment{width:25%}.media-frame-content[data-columns="5"] .attachment{width:20%}.media-frame-content[data-columns="6"] .attachment{width:16.66%}.media-frame-content[data-columns="7"] .attachment{width:14.28%}.media-frame-content[data-columns="8"] .attachment{width:12.5%}.media-frame-content[data-columns="9"] .attachment{width:11.11%}.media-frame-content[data-columns="10"] .attachment{width:10%}.media-frame-content[data-columns="11"] .attachment{width:9.09%}.media-frame-content[data-columns="12"] .attachment{width:8.33%} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/wp-auth-check-rtl.css b/sources/wordpress/wp-includes/css/wp-auth-check-rtl.css deleted file mode 100644 index 568fa74..0000000 --- a/sources/wordpress/wp-includes/css/wp-auth-check-rtl.css +++ /dev/null @@ -1,100 +0,0 @@ -/*------------------------------------------------------------------------------ - Interim login dialog -------------------------------------------------------------------------------*/ - -#wp-auth-check-wrap.hidden { - display: none; -} - -#wp-auth-check-wrap #wp-auth-check-bg { - position: fixed; - top: 0; - bottom: 0; - right: 0; - left: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 1000010; /* needs to appear above .notification-dialog */ -} - -#wp-auth-check-wrap #wp-auth-check { - position: fixed; - right: 50%; - overflow: hidden; - top: 40px; - bottom: 20px; - max-height: 415px; - width: 380px; - margin: 0 -190px 0 0; - padding: 30px 0 0; - background-color: #eee; - z-index: 1000011; /* needs to appear above #wp-auth-check-bg */ - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); -} - -#wp-auth-check-wrap.fallback #wp-auth-check { - max-height: 180px; - overflow: auto; -} - -#wp-auth-check-wrap #wp-auth-check-form { - background: url(../images/wpspin-2x.gif) no-repeat center center; - -webkit-background-size: 16px 16px; - background-size: 16px 16px; - height: 100%; -} - -#wp-auth-check-wrap #wp-auth-check-form iframe { - height: 100%; - width: 100%; - overflow: auto; -} - -#wp-auth-check-wrap .wp-auth-check-close { - position: absolute; - top: 8px; - left: 8px; - height: 22px; - width: 22px; - cursor: pointer; -} - -#wp-auth-check-wrap .wp-auth-check-close:before { - content: '\f158'; - display: block !important; - font: normal 20px/1 'dashicons'; - speak: none; - height: 22px; - margin: 2px 0; - text-align: center; - width: 22px; - color: #777; - -webkit-font-smoothing: antialiased !important; - -moz-osx-font-smoothing: grayscale; -} - -#wp-auth-check-wrap .wp-auth-check-close:hover:before { - color: #0074a2; -} - -#wp-auth-check-wrap .wp-auth-check-close:focus { - outline: 1px dotted #888; -} - -#wp-auth-check-wrap .wp-auth-fallback-expired { - outline: 0; -} - -#wp-auth-check-wrap .wp-auth-fallback { - font-size: 14px; - line-height: 21px; - padding: 0 25px; - display: none; -} - -#wp-auth-check-wrap.fallback .wp-auth-fallback, -#wp-auth-check-wrap.fallback .wp-auth-check-close { - display: block; -} diff --git a/sources/wordpress/wp-includes/css/wp-auth-check-rtl.min.css b/sources/wordpress/wp-includes/css/wp-auth-check-rtl.min.css deleted file mode 100644 index 62cb555..0000000 --- a/sources/wordpress/wp-includes/css/wp-auth-check-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -#wp-auth-check-wrap.hidden{display:none}#wp-auth-check-wrap #wp-auth-check-bg{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000010}#wp-auth-check-wrap #wp-auth-check{position:fixed;right:50%;overflow:hidden;top:40px;bottom:20px;max-height:415px;width:380px;margin:0 -190px 0 0;padding:30px 0 0;background-color:#eee;z-index:1000011;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3)}#wp-auth-check-wrap.fallback #wp-auth-check{max-height:180px;overflow:auto}#wp-auth-check-wrap #wp-auth-check-form{background:url(../images/wpspin-2x.gif) no-repeat center center;-webkit-background-size:16px 16px;background-size:16px 16px;height:100%}#wp-auth-check-wrap #wp-auth-check-form iframe{height:100%;width:100%;overflow:auto}#wp-auth-check-wrap .wp-auth-check-close{position:absolute;top:8px;left:8px;height:22px;width:22px;cursor:pointer}#wp-auth-check-wrap .wp-auth-check-close:before{content:'\f158';display:block!important;font:400 20px/1 dashicons;speak:none;height:22px;margin:2px 0;text-align:center;width:22px;color:#777;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale}#wp-auth-check-wrap .wp-auth-check-close:hover:before{color:#0074a2}#wp-auth-check-wrap .wp-auth-check-close:focus{outline:#888 dotted 1px}#wp-auth-check-wrap .wp-auth-fallback-expired{outline:0}#wp-auth-check-wrap .wp-auth-fallback{font-size:14px;line-height:21px;padding:0 25px;display:none}#wp-auth-check-wrap.fallback .wp-auth-check-close,#wp-auth-check-wrap.fallback .wp-auth-fallback{display:block} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/wp-auth-check.css b/sources/wordpress/wp-includes/css/wp-auth-check.css deleted file mode 100644 index cd42ed9..0000000 --- a/sources/wordpress/wp-includes/css/wp-auth-check.css +++ /dev/null @@ -1,100 +0,0 @@ -/*------------------------------------------------------------------------------ - Interim login dialog -------------------------------------------------------------------------------*/ - -#wp-auth-check-wrap.hidden { - display: none; -} - -#wp-auth-check-wrap #wp-auth-check-bg { - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 1000010; /* needs to appear above .notification-dialog */ -} - -#wp-auth-check-wrap #wp-auth-check { - position: fixed; - left: 50%; - overflow: hidden; - top: 40px; - bottom: 20px; - max-height: 415px; - width: 380px; - margin: 0 0 0 -190px; - padding: 30px 0 0; - background-color: #eee; - z-index: 1000011; /* needs to appear above #wp-auth-check-bg */ - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); -} - -#wp-auth-check-wrap.fallback #wp-auth-check { - max-height: 180px; - overflow: auto; -} - -#wp-auth-check-wrap #wp-auth-check-form { - background: url(../images/wpspin-2x.gif) no-repeat center center; - -webkit-background-size: 16px 16px; - background-size: 16px 16px; - height: 100%; -} - -#wp-auth-check-wrap #wp-auth-check-form iframe { - height: 100%; - width: 100%; - overflow: auto; -} - -#wp-auth-check-wrap .wp-auth-check-close { - position: absolute; - top: 8px; - right: 8px; - height: 22px; - width: 22px; - cursor: pointer; -} - -#wp-auth-check-wrap .wp-auth-check-close:before { - content: '\f158'; - display: block !important; - font: normal 20px/1 'dashicons'; - speak: none; - height: 22px; - margin: 2px 0; - text-align: center; - width: 22px; - color: #777; - -webkit-font-smoothing: antialiased !important; - -moz-osx-font-smoothing: grayscale; -} - -#wp-auth-check-wrap .wp-auth-check-close:hover:before { - color: #0074a2; -} - -#wp-auth-check-wrap .wp-auth-check-close:focus { - outline: 1px dotted #888; -} - -#wp-auth-check-wrap .wp-auth-fallback-expired { - outline: 0; -} - -#wp-auth-check-wrap .wp-auth-fallback { - font-size: 14px; - line-height: 21px; - padding: 0 25px; - display: none; -} - -#wp-auth-check-wrap.fallback .wp-auth-fallback, -#wp-auth-check-wrap.fallback .wp-auth-check-close { - display: block; -} diff --git a/sources/wordpress/wp-includes/css/wp-auth-check.min.css b/sources/wordpress/wp-includes/css/wp-auth-check.min.css deleted file mode 100644 index f7ab70e..0000000 --- a/sources/wordpress/wp-includes/css/wp-auth-check.min.css +++ /dev/null @@ -1 +0,0 @@ -#wp-auth-check-wrap.hidden{display:none}#wp-auth-check-wrap #wp-auth-check-bg{position:fixed;top:0;bottom:0;left:0;right:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000010}#wp-auth-check-wrap #wp-auth-check{position:fixed;left:50%;overflow:hidden;top:40px;bottom:20px;max-height:415px;width:380px;margin:0 0 0 -190px;padding:30px 0 0;background-color:#eee;z-index:1000011;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3)}#wp-auth-check-wrap.fallback #wp-auth-check{max-height:180px;overflow:auto}#wp-auth-check-wrap #wp-auth-check-form{background:url(../images/wpspin-2x.gif) no-repeat center center;-webkit-background-size:16px 16px;background-size:16px 16px;height:100%}#wp-auth-check-wrap #wp-auth-check-form iframe{height:100%;width:100%;overflow:auto}#wp-auth-check-wrap .wp-auth-check-close{position:absolute;top:8px;right:8px;height:22px;width:22px;cursor:pointer}#wp-auth-check-wrap .wp-auth-check-close:before{content:'\f158';display:block!important;font:400 20px/1 dashicons;speak:none;height:22px;margin:2px 0;text-align:center;width:22px;color:#777;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale}#wp-auth-check-wrap .wp-auth-check-close:hover:before{color:#0074a2}#wp-auth-check-wrap .wp-auth-check-close:focus{outline:#888 dotted 1px}#wp-auth-check-wrap .wp-auth-fallback-expired{outline:0}#wp-auth-check-wrap .wp-auth-fallback{font-size:14px;line-height:21px;padding:0 25px;display:none}#wp-auth-check-wrap.fallback .wp-auth-check-close,#wp-auth-check-wrap.fallback .wp-auth-fallback{display:block} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/wp-pointer-rtl.css b/sources/wordpress/wp-includes/css/wp-pointer-rtl.css deleted file mode 100644 index 75088cb..0000000 --- a/sources/wordpress/wp-includes/css/wp-pointer-rtl.css +++ /dev/null @@ -1,212 +0,0 @@ -.wp-pointer-content { - padding: 0 0 10px; - position: relative; - font-size: 13px; - background: #fff; - border: 1px solid #dfdfdf; - -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.075); - box-shadow: 0 3px 6px rgba(0,0,0,0.075); -} - -.wp-pointer-content h3 { - position: relative; - margin: -1px -1px 5px; - padding: 15px 60px 14px 18px; - border: 1px solid #3592b6; - border-bottom: none; - line-height: 1.4em; - font-size: 14px; - color: #fff; - background: #2ea2cc; -} - -.wp-pointer-content h3:before { - background: #fff; - -webkit-border-radius: 50%; - border-radius: 50%; - color: #2ea2cc; - content: '\f227'; - font: normal 20px/1.6 'dashicons'; - position: absolute; - top: 8px; - right: 15px; - speak: none; - text-align: center; - width: 32px; - height: 32px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-pointer-content p { - padding: 0 15px; -} - -.wp-pointer-buttons { - margin: 0; - padding: 5px 15px; - overflow: auto; -} - -.wp-pointer-buttons a { - float: left; - display: inline-block; - text-decoration: none; -} - -.wp-pointer-buttons a.close { - padding-right: 3px; - position: relative; -} - -.wp-pointer-buttons a.close:before { - background: none; - color: #bbb; - content: '\f153'; - display: block !important; - font: normal 13px/1 'dashicons'; - speak: none; - margin: 1px 0; - text-align: center; - -webkit-font-smoothing: antialiased !important; - width: 10px; - height: 100%; - position: absolute; - right: -12px; - top: 1px; -} - -.wp-pointer-buttons a.close:hover:before { - color: #c00; -} - -/* The arrow base class must take up no space, even with transparent borders. */ -.wp-pointer-arrow, -.wp-pointer-arrow-inner { - position: absolute; - width: 0; - height: 0; -} - -.wp-pointer-arrow { - z-index: 10; - width: 0; - height: 0; - border: 0 solid transparent; -} - -.wp-pointer-arrow-inner { - z-index: 20; -} - -/* Make Room for the Arrow! */ -.wp-pointer-top, -.wp-pointer-undefined { - padding-top: 13px; -} - -.wp-pointer-bottom { - margin-top: -13px; - padding-bottom: 13px; -} - -/* @noflip */ -.wp-pointer-left { - padding-left: 13px; -} -/* @noflip */ -.wp-pointer-right { - margin-left: -13px; - padding-right: 13px; -} - -/* Base Size & Positioning */ -.wp-pointer-top .wp-pointer-arrow, -.wp-pointer-bottom .wp-pointer-arrow, -.wp-pointer-undefined .wp-pointer-arrow { - right: 50px; -} - -.wp-pointer-left .wp-pointer-arrow, -.wp-pointer-right .wp-pointer-arrow { - top: 50%; - margin-top: -15px; -} - -/* Arrow Sprite */ -.wp-pointer-top .wp-pointer-arrow, -.wp-pointer-undefined .wp-pointer-arrow { - top: 0; - border-width: 0 13px 13px 13px; - border-bottom-color: #3592b6; -} - -.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer-undefined .wp-pointer-arrow-inner { - top: 1px; - margin-right: -13px; - margin-top: -13px; - border: 13px solid transparent; - border-bottom-color: #2ea2cc; - display: block; - content: ' '; -} - -.wp-pointer-bottom .wp-pointer-arrow { - bottom: 0; - border-width: 13px 13px 0 13px; - border-top-color: #ccc; -} - -.wp-pointer-bottom .wp-pointer-arrow-inner { - bottom: 1px; - margin-right: -13px; - margin-bottom: -13px; - border: 13px solid transparent; - border-top-color: #fff; - display: block; - content: ' '; -} - -/* @noflip */ -.wp-pointer-left .wp-pointer-arrow { - left: 0; - border-width: 13px 13px 13px 0; - border-right-color: #ccc; -} - -/* @noflip */ -.wp-pointer-left .wp-pointer-arrow-inner { - left: 1px; - margin-left: -13px; - margin-top: -13px; - border: 13px solid transparent; - border-right-color: #fff; - display: block; - content: ' '; -} - -/* @noflip */ -.wp-pointer-right .wp-pointer-arrow { - right: 0; - border-width: 13px 0 13px 13px; - border-left-color: #ccc; -} - -/* @noflip */ -.wp-pointer-right .wp-pointer-arrow-inner { - right: 1px; - margin-right: -13px; - margin-top: -13px; - border: 13px solid transparent; - border-left-color: #fff; - display: block; - content: ' '; -} - -/* Disable pointers at responsive sizes */ -@media screen and ( max-width: 782px ) { - .wp-pointer { - display: none; - } -} diff --git a/sources/wordpress/wp-includes/css/wp-pointer-rtl.min.css b/sources/wordpress/wp-includes/css/wp-pointer-rtl.min.css deleted file mode 100644 index fe9343d..0000000 --- a/sources/wordpress/wp-includes/css/wp-pointer-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:1px solid #dfdfdf;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:-1px -1px 5px;padding:15px 60px 14px 18px;border:1px solid #3592b6;border-bottom:none;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;-webkit-border-radius:50%;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;right:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:left;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-right:3px;position:relative}.wp-pointer-buttons a.close:before{background:0 0;color:#bbb;content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:1px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;right:-12px;top:1px}.wp-pointer-buttons a.close:hover:before{color:#c00}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{margin-top:-13px;padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{margin-left:-13px;padding-right:13px}.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{right:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 13px 13px;border-bottom-color:#3592b6}.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer-undefined .wp-pointer-arrow-inner{top:1px;margin-right:-13px;margin-top:-13px;border:13px solid transparent;border-bottom-color:#2ea2cc;display:block;content:' '}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:13px 13px 0;border-top-color:#ccc}.wp-pointer-bottom .wp-pointer-arrow-inner{bottom:1px;margin-right:-13px;margin-bottom:-13px;border:13px solid transparent;border-top-color:#fff;display:block;content:' '}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:13px 13px 13px 0;border-right-color:#ccc}.wp-pointer-left .wp-pointer-arrow-inner{left:1px;margin-left:-13px;margin-top:-13px;border:13px solid transparent;border-right-color:#fff;display:block;content:' '}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:13px 0 13px 13px;border-left-color:#ccc}.wp-pointer-right .wp-pointer-arrow-inner{right:1px;margin-right:-13px;margin-top:-13px;border:13px solid transparent;border-left-color:#fff;display:block;content:' '}@media screen and (max-width:782px){.wp-pointer{display:none}} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/css/wp-pointer.css b/sources/wordpress/wp-includes/css/wp-pointer.css deleted file mode 100644 index 1d69823..0000000 --- a/sources/wordpress/wp-includes/css/wp-pointer.css +++ /dev/null @@ -1,212 +0,0 @@ -.wp-pointer-content { - padding: 0 0 10px; - position: relative; - font-size: 13px; - background: #fff; - border: 1px solid #dfdfdf; - -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.075); - box-shadow: 0 3px 6px rgba(0,0,0,0.075); -} - -.wp-pointer-content h3 { - position: relative; - margin: -1px -1px 5px; - padding: 15px 18px 14px 60px; - border: 1px solid #3592b6; - border-bottom: none; - line-height: 1.4em; - font-size: 14px; - color: #fff; - background: #2ea2cc; -} - -.wp-pointer-content h3:before { - background: #fff; - -webkit-border-radius: 50%; - border-radius: 50%; - color: #2ea2cc; - content: '\f227'; - font: normal 20px/1.6 'dashicons'; - position: absolute; - top: 8px; - left: 15px; - speak: none; - text-align: center; - width: 32px; - height: 32px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-pointer-content p { - padding: 0 15px; -} - -.wp-pointer-buttons { - margin: 0; - padding: 5px 15px; - overflow: auto; -} - -.wp-pointer-buttons a { - float: right; - display: inline-block; - text-decoration: none; -} - -.wp-pointer-buttons a.close { - padding-left: 3px; - position: relative; -} - -.wp-pointer-buttons a.close:before { - background: none; - color: #bbb; - content: '\f153'; - display: block !important; - font: normal 13px/1 'dashicons'; - speak: none; - margin: 1px 0; - text-align: center; - -webkit-font-smoothing: antialiased !important; - width: 10px; - height: 100%; - position: absolute; - left: -12px; - top: 1px; -} - -.wp-pointer-buttons a.close:hover:before { - color: #c00; -} - -/* The arrow base class must take up no space, even with transparent borders. */ -.wp-pointer-arrow, -.wp-pointer-arrow-inner { - position: absolute; - width: 0; - height: 0; -} - -.wp-pointer-arrow { - z-index: 10; - width: 0; - height: 0; - border: 0 solid transparent; -} - -.wp-pointer-arrow-inner { - z-index: 20; -} - -/* Make Room for the Arrow! */ -.wp-pointer-top, -.wp-pointer-undefined { - padding-top: 13px; -} - -.wp-pointer-bottom { - margin-top: -13px; - padding-bottom: 13px; -} - -/* @noflip */ -.wp-pointer-left { - padding-left: 13px; -} -/* @noflip */ -.wp-pointer-right { - margin-left: -13px; - padding-right: 13px; -} - -/* Base Size & Positioning */ -.wp-pointer-top .wp-pointer-arrow, -.wp-pointer-bottom .wp-pointer-arrow, -.wp-pointer-undefined .wp-pointer-arrow { - left: 50px; -} - -.wp-pointer-left .wp-pointer-arrow, -.wp-pointer-right .wp-pointer-arrow { - top: 50%; - margin-top: -15px; -} - -/* Arrow Sprite */ -.wp-pointer-top .wp-pointer-arrow, -.wp-pointer-undefined .wp-pointer-arrow { - top: 0; - border-width: 0 13px 13px 13px; - border-bottom-color: #3592b6; -} - -.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer-undefined .wp-pointer-arrow-inner { - top: 1px; - margin-left: -13px; - margin-top: -13px; - border: 13px solid transparent; - border-bottom-color: #2ea2cc; - display: block; - content: ' '; -} - -.wp-pointer-bottom .wp-pointer-arrow { - bottom: 0; - border-width: 13px 13px 0 13px; - border-top-color: #ccc; -} - -.wp-pointer-bottom .wp-pointer-arrow-inner { - bottom: 1px; - margin-left: -13px; - margin-bottom: -13px; - border: 13px solid transparent; - border-top-color: #fff; - display: block; - content: ' '; -} - -/* @noflip */ -.wp-pointer-left .wp-pointer-arrow { - left: 0; - border-width: 13px 13px 13px 0; - border-right-color: #ccc; -} - -/* @noflip */ -.wp-pointer-left .wp-pointer-arrow-inner { - left: 1px; - margin-left: -13px; - margin-top: -13px; - border: 13px solid transparent; - border-right-color: #fff; - display: block; - content: ' '; -} - -/* @noflip */ -.wp-pointer-right .wp-pointer-arrow { - right: 0; - border-width: 13px 0 13px 13px; - border-left-color: #ccc; -} - -/* @noflip */ -.wp-pointer-right .wp-pointer-arrow-inner { - right: 1px; - margin-right: -13px; - margin-top: -13px; - border: 13px solid transparent; - border-left-color: #fff; - display: block; - content: ' '; -} - -/* Disable pointers at responsive sizes */ -@media screen and ( max-width: 782px ) { - .wp-pointer { - display: none; - } -} diff --git a/sources/wordpress/wp-includes/css/wp-pointer.min.css b/sources/wordpress/wp-includes/css/wp-pointer.min.css deleted file mode 100644 index 01f27d6..0000000 --- a/sources/wordpress/wp-includes/css/wp-pointer.min.css +++ /dev/null @@ -1 +0,0 @@ -.wp-pointer-content{padding:0 0 10px;position:relative;font-size:13px;background:#fff;border:1px solid #dfdfdf;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075)}.wp-pointer-content h3{position:relative;margin:-1px -1px 5px;padding:15px 18px 14px 60px;border:1px solid #3592b6;border-bottom:none;line-height:1.4em;font-size:14px;color:#fff;background:#2ea2cc}.wp-pointer-content h3:before{background:#fff;-webkit-border-radius:50%;border-radius:50%;color:#2ea2cc;content:'\f227';font:400 20px/1.6 dashicons;position:absolute;top:8px;left:15px;speak:none;text-align:center;width:32px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-pointer-content p{padding:0 15px}.wp-pointer-buttons{margin:0;padding:5px 15px;overflow:auto}.wp-pointer-buttons a{float:right;display:inline-block;text-decoration:none}.wp-pointer-buttons a.close{padding-left:3px;position:relative}.wp-pointer-buttons a.close:before{background:0 0;color:#bbb;content:'\f153';display:block!important;font:400 13px/1 dashicons;speak:none;margin:1px 0;text-align:center;-webkit-font-smoothing:antialiased!important;width:10px;height:100%;position:absolute;left:-12px;top:1px}.wp-pointer-buttons a.close:hover:before{color:#c00}.wp-pointer-arrow,.wp-pointer-arrow-inner{position:absolute;width:0;height:0}.wp-pointer-arrow{z-index:10;width:0;height:0;border:0 solid transparent}.wp-pointer-arrow-inner{z-index:20}.wp-pointer-top,.wp-pointer-undefined{padding-top:13px}.wp-pointer-bottom{margin-top:-13px;padding-bottom:13px}.wp-pointer-left{padding-left:13px}.wp-pointer-right{margin-left:-13px;padding-right:13px}.wp-pointer-bottom .wp-pointer-arrow,.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{left:50px}.wp-pointer-left .wp-pointer-arrow,.wp-pointer-right .wp-pointer-arrow{top:50%;margin-top:-15px}.wp-pointer-top .wp-pointer-arrow,.wp-pointer-undefined .wp-pointer-arrow{top:0;border-width:0 13px 13px;border-bottom-color:#3592b6}.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer-undefined .wp-pointer-arrow-inner{top:1px;margin-left:-13px;margin-top:-13px;border:13px solid transparent;border-bottom-color:#2ea2cc;display:block;content:' '}.wp-pointer-bottom .wp-pointer-arrow{bottom:0;border-width:13px 13px 0;border-top-color:#ccc}.wp-pointer-bottom .wp-pointer-arrow-inner{bottom:1px;margin-left:-13px;margin-bottom:-13px;border:13px solid transparent;border-top-color:#fff;display:block;content:' '}.wp-pointer-left .wp-pointer-arrow{left:0;border-width:13px 13px 13px 0;border-right-color:#ccc}.wp-pointer-left .wp-pointer-arrow-inner{left:1px;margin-left:-13px;margin-top:-13px;border:13px solid transparent;border-right-color:#fff;display:block;content:' '}.wp-pointer-right .wp-pointer-arrow{right:0;border-width:13px 0 13px 13px;border-left-color:#ccc}.wp-pointer-right .wp-pointer-arrow-inner{right:1px;margin-right:-13px;margin-top:-13px;border:13px solid transparent;border-left-color:#fff;display:block;content:' '}@media screen and (max-width:782px){.wp-pointer{display:none}} \ No newline at end of file diff --git a/sources/wordpress/wp-includes/date.php b/sources/wordpress/wp-includes/date.php deleted file mode 100644 index a060239..0000000 --- a/sources/wordpress/wp-includes/date.php +++ /dev/null @@ -1,452 +0,0 @@ -', '>=', '<', '<=', 'IN', 'NOT IN', - * 'BETWEEN', 'NOT BETWEEN'. - * @type string $relation Optional. The boolean relationship between the date queryies. - * Default 'OR'. Accepts 'OR', 'AND'. - * @type array { - * @type string|array $before Optional. Date to retrieve posts before. Accepts strtotime()-compatible - * string, or array of 'year', 'month', 'day' values. { - * - * @type string $year The four-digit year. Default empty. Accepts any four-digit year. - * @type string $month Optional when passing array.The month of the year. - * Default (string:empty)|(array:1). Accepts numbers 1-12. - * @type string $day Optional when passing array.The day of the month. - * Default (string:empty)|(array:1). Accepts numbers 1-31. - * } - * @type string|array $after Optional. Date to retrieve posts after. Accepts strtotime()-compatible - * string, or array of 'year', 'month', 'day' values. { - * - * @type string $year The four-digit year. Default empty. Accepts any four-digit year. - * @type string $month Optional when passing array.The month of the year. - * Default (string:empty)|(array:12). Accepts numbers 1-12. - * @type string $day Optional when passing array.The day of the month. - * Default (string:empty)|(array:last day of month). Accepts numbers 1-31. - * } - * @type string $column Optional. Used to add a clause comparing a column other than the column - * specified in the top-level $column parameter. Default is the value - * of top-level $column. Accepts 'post_date', 'post_date_gmt', - * 'post_modified', 'post_modified_gmt', 'comment_date', 'comment_date_gmt'. - * @type string $compare Optional. The comparison operator. Default '='. Accepts '=', '!=', - * '>', '>=', '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. - * @type bool $inclusive Optional. Include results from dates specified in 'before' or 'after'. - * Default. Accepts. - * @type int $year Optional. The four-digit year number. Default empty. Accepts any - * four-digit year. - * @type int $month Optional. The two-digit month number. Default empty. Accepts numbers 1-12. - * @type int $week Optional. The week number of the year. Default empty. Accepts numbers 0-53. - * @type int $dayofyear Optional. The day number of the year. Default empty. Accepts numbers 1-366. - * @type int $day Optional. The day of the month. Default empty. Accepts numbers 1-31. - * @type int $dayofweek Optional. The day number of the week. Default empty. Accepts numbers 1-7. - * @type int $hour Optional. The hour of the day. Default empty. Accepts numbers 0-23. - * @type int $minute Optional. The minute of the hour. Default empty. Accepts numbers 0-60. - * @type int $second Optional. The second of the minute. Default empty. Accepts numbers 0-60. - * } - * } - * } - * @param array $default_column Optional. Default column to query against. Default 'post_date'. - * Accepts 'post_date', 'post_date_gmt', 'post_modified', 'post_modified_gmt', - * 'comment_date', 'comment_date_gmt'. - */ - public function __construct( $date_query, $default_column = 'post_date' ) { - if ( empty( $date_query ) || ! is_array( $date_query ) ) - return; - - if ( isset( $date_query['relation'] ) && strtoupper( $date_query['relation'] ) == 'OR' ) - $this->relation = 'OR'; - else - $this->relation = 'AND'; - - if ( ! empty( $date_query['column'] ) ) - $this->column = esc_sql( $date_query['column'] ); - else - $this->column = esc_sql( $default_column ); - - $this->column = $this->validate_column( $this->column ); - - $this->compare = $this->get_compare( $date_query ); - - // If an array of arrays wasn't passed, fix it - if ( ! isset( $date_query[0] ) ) - $date_query = array( $date_query ); - - $this->queries = array(); - foreach ( $date_query as $key => $query ) { - if ( ! is_array( $query ) ) - continue; - - $this->queries[$key] = $query; - } - } - - /** - * Determines and validates what comparison operator to use. - * - * @since 3.7.0 - * @access public - * - * @param array $query A date query or a date subquery - * @return string The comparison operator - */ - public function get_compare( $query ) { - if ( ! empty( $query['compare'] ) && in_array( $query['compare'], array( '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN' ) ) ) - return strtoupper( $query['compare'] ); - - return $this->compare; - } - - /** - * Validates a column name parameter. - * - * @since 3.7.0 - * @access public - * - * @param string $column The user-supplied column name. - * @return string A validated column name value. - */ - public function validate_column( $column ) { - $valid_columns = array( - 'post_date', 'post_date_gmt', 'post_modified', - 'post_modified_gmt', 'comment_date', 'comment_date_gmt' - ); - /** - * Filter the list of valid date query columns. - * - * @since 3.7.0 - * - * @param array $valid_columns An array of valid date query columns. Defaults are 'post_date', 'post_date_gmt', - * 'post_modified', 'post_modified_gmt', 'comment_date', 'comment_date_gmt' - */ - if ( ! in_array( $column, apply_filters( 'date_query_valid_columns', $valid_columns ) ) ) - $column = 'post_date'; - - return $column; - } - - /** - * Turns an array of date query parameters into a MySQL string. - * - * @since 3.7.0 - * @access public - * - * @return string MySQL WHERE parameters - */ - public function get_sql() { - // The parts of the final query - $where = array(); - - foreach ( $this->queries as $key => $query ) { - $where_parts = $this->get_sql_for_subquery( $query ); - if ( $where_parts ) { - // Combine the parts of this subquery into a single string - $where[ $key ] = '( ' . implode( ' AND ', $where_parts ) . ' )'; - } - } - - // Combine the subquery strings into a single string - if ( $where ) - $where = ' AND ( ' . implode( " {$this->relation} ", $where ) . ' )'; - else - $where = ''; - - /** - * Filter the date query WHERE clause. - * - * @since 3.7.0 - * - * @param string $where WHERE clause of the date query. - * @param WP_Date_Query $this The WP_Date_Query instance. - */ - return apply_filters( 'get_date_sql', $where, $this ); - } - - /** - * Turns a single date subquery into pieces for a WHERE clause. - * - * @since 3.7.0 - * return array - */ - protected function get_sql_for_subquery( $query ) { - global $wpdb; - - // The sub-parts of a $where part - $where_parts = array(); - - $column = ( ! empty( $query['column'] ) ) ? esc_sql( $query['column'] ) : $this->column; - - $column = $this->validate_column( $column ); - - $compare = $this->get_compare( $query ); - - $inclusive = ! empty( $query['inclusive'] ); - - // Assign greater- and less-than values. - $lt = '<'; - $gt = '>'; - - if ( $inclusive ) { - $lt .= '='; - $gt .= '='; - } - - // Range queries - if ( ! empty( $query['after'] ) ) - $where_parts[] = $wpdb->prepare( "$column $gt %s", $this->build_mysql_datetime( $query['after'], ! $inclusive ) ); - - if ( ! empty( $query['before'] ) ) - $where_parts[] = $wpdb->prepare( "$column $lt %s", $this->build_mysql_datetime( $query['before'], $inclusive ) ); - - // Specific value queries - - if ( isset( $query['year'] ) && $value = $this->build_value( $compare, $query['year'] ) ) - $where_parts[] = "YEAR( $column ) $compare $value"; - - if ( isset( $query['month'] ) && $value = $this->build_value( $compare, $query['month'] ) ) - $where_parts[] = "MONTH( $column ) $compare $value"; - else if ( isset( $query['monthnum'] ) && $value = $this->build_value( $compare, $query['monthnum'] ) ) - $where_parts[] = "MONTH( $column ) $compare $value"; - - if ( isset( $query['week'] ) && false !== ( $value = $this->build_value( $compare, $query['week'] ) ) ) - $where_parts[] = _wp_mysql_week( $column ) . " $compare $value"; - else if ( isset( $query['w'] ) && false !== ( $value = $this->build_value( $compare, $query['w'] ) ) ) - $where_parts[] = _wp_mysql_week( $column ) . " $compare $value"; - - if ( isset( $query['dayofyear'] ) && $value = $this->build_value( $compare, $query['dayofyear'] ) ) - $where_parts[] = "DAYOFYEAR( $column ) $compare $value"; - - if ( isset( $query['day'] ) && $value = $this->build_value( $compare, $query['day'] ) ) - $where_parts[] = "DAYOFMONTH( $column ) $compare $value"; - - if ( isset( $query['dayofweek'] ) && $value = $this->build_value( $compare, $query['dayofweek'] ) ) - $where_parts[] = "DAYOFWEEK( $column ) $compare $value"; - - if ( isset( $query['hour'] ) || isset( $query['minute'] ) || isset( $query['second'] ) ) { - // Avoid notices - foreach ( array( 'hour', 'minute', 'second' ) as $unit ) { - if ( ! isset( $query[$unit] ) ) { - $query[$unit] = null; - } - } - - if ( $time_query = $this->build_time_query( $column, $compare, $query['hour'], $query['minute'], $query['second'] ) ) { - $where_parts[] = $time_query; - } - } - - return $where_parts; - } - - /** - * Builds and validates a value string based on the comparison operator. - * - * @since 3.7.0 - * @access public - * - * @param string $compare The compare operator to use - * @param string|array $value The value - * @return string|int|false The value to be used in SQL or false on error. - */ - public function build_value( $compare, $value ) { - if ( ! isset( $value ) ) - return false; - - switch ( $compare ) { - case 'IN': - case 'NOT IN': - return '(' . implode( ',', array_map( 'intval', (array) $value ) ) . ')'; - - case 'BETWEEN': - case 'NOT BETWEEN': - if ( ! is_array( $value ) || 2 != count( $value ) || ! isset( $value[0] ) || ! isset( $value[1] ) ) - $value = array( $value, $value ); - - $value = array_map( 'intval', $value ); - - return $value[0] . ' AND ' . $value[1]; - - default; - return (int) $value; - } - } - - /** - * Builds a MySQL format date/time based on some query parameters. - * - * You can pass an array of values (year, month, etc.) with missing parameter values being defaulted to - * either the maximum or minimum values (controlled by the $default_to parameter). Alternatively you can - * pass a string that that will be run through strtotime(). - * - * @since 3.7.0 - * @access public - * - * @param string|array $datetime An array of parameters or a strotime() string - * @param string $default_to Controls what values default to if they are missing from $datetime. Pass "min" or "max". - * @return string|false A MySQL format date/time or false on failure - */ - public function build_mysql_datetime( $datetime, $default_to_max = false ) { - $now = current_time( 'timestamp' ); - - if ( ! is_array( $datetime ) ) { - // @todo Timezone issues here possibly - return gmdate( 'Y-m-d H:i:s', strtotime( $datetime, $now ) ); - } - - $datetime = array_map( 'absint', $datetime ); - - if ( ! isset( $datetime['year'] ) ) - $datetime['year'] = gmdate( 'Y', $now ); - - if ( ! isset( $datetime['month'] ) ) - $datetime['month'] = ( $default_to_max ) ? 12 : 1; - - if ( ! isset( $datetime['day'] ) ) - $datetime['day'] = ( $default_to_max ) ? (int) date( 't', mktime( 0, 0, 0, $datetime['month'], 1, $datetime['year'] ) ) : 1; - - if ( ! isset( $datetime['hour'] ) ) - $datetime['hour'] = ( $default_to_max ) ? 23 : 0; - - if ( ! isset( $datetime['minute'] ) ) - $datetime['minute'] = ( $default_to_max ) ? 59 : 0; - - if ( ! isset( $datetime['second'] ) ) - $datetime['second'] = ( $default_to_max ) ? 59 : 0; - - return sprintf( '%04d-%02d-%02d %02d:%02d:%02d', $datetime['year'], $datetime['month'], $datetime['day'], $datetime['hour'], $datetime['minute'], $datetime['second'] ); - } - - /** - * Builds a query string for comparing time values (hour, minute, second). - * - * If just hour, minute, or second is set than a normal comparison will be done. - * However if multiple values are passed, a pseudo-decimal time will be created - * in order to be able to accurately compare against. - * - * @since 3.7.0 - * @access public - * - * @param string $column The column to query against. Needs to be pre-validated! - * @param string $compare The comparison operator. Needs to be pre-validated! - * @param int|null $hour Optional. An hour value (0-23). - * @param int|null $minute Optional. A minute value (0-59). - * @param int|null $second Optional. A second value (0-59). - * @return string|false A query part or false on failure. - */ - public function build_time_query( $column, $compare, $hour = null, $minute = null, $second = null ) { - global $wpdb; - - // Have to have at least one - if ( ! isset( $hour ) && ! isset( $minute ) && ! isset( $second ) ) - return false; - - // Complex combined queries aren't supported for multi-value queries - if ( in_array( $compare, array( 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN' ) ) ) { - $return = array(); - - if ( isset( $hour ) && false !== ( $value = $this->build_value( $compare, $hour ) ) ) - $return[] = "HOUR( $column ) $compare $value"; - - if ( isset( $minute ) && false !== ( $value = $this->build_value( $compare, $minute ) ) ) - $return[] = "MINUTE( $column ) $compare $value"; - - if ( isset( $second ) && false !== ( $value = $this->build_value( $compare, $second ) ) ) - $return[] = "SECOND( $column ) $compare $value"; - - return implode( ' AND ', $return ); - } - - // Cases where just one unit is set - if ( isset( $hour ) && ! isset( $minute ) && ! isset( $second ) && false !== ( $value = $this->build_value( $compare, $hour ) ) ) { - return "HOUR( $column ) $compare $value"; - } elseif ( ! isset( $hour ) && isset( $minute ) && ! isset( $second ) && false !== ( $value = $this->build_value( $compare, $minute ) ) ) { - return "MINUTE( $column ) $compare $value"; - } elseif ( ! isset( $hour ) && ! isset( $minute ) && isset( $second ) && false !== ( $value = $this->build_value( $compare, $second ) ) ) { - return "SECOND( $column ) $compare $value"; - } - - // Single units were already handled. Since hour & second isn't allowed, minute must to be set. - if ( ! isset( $minute ) ) - return false; - - $format = $time = ''; - - // Hour - if ( $hour ) { - $format .= '%H.'; - $time .= sprintf( '%02d', $hour ) . '.'; - } else { - $format .= '0.'; - $time .= '0.'; - } - - // Minute - $format .= '%i'; - $time .= sprintf( '%02d', $minute ); - - if ( isset( $second ) ) { - $format .= '%s'; - $time .= sprintf( '%02d', $second ); - } - - return $wpdb->prepare( "DATE_FORMAT( $column, %s ) $compare %f", $format, $time ); - } -} diff --git a/sources/wordpress/wp-includes/default-constants.php b/sources/wordpress/wp-includes/default-constants.php deleted file mode 100644 index 334ea71..0000000 --- a/sources/wordpress/wp-includes/default-constants.php +++ /dev/null @@ -1,323 +0,0 @@ - 'widget_pages', 'description' => __( 'A list of your site’s Pages.') ); - parent::__construct('pages', __('Pages'), $widget_ops); - } - - public function widget( $args, $instance ) { - - /** - * Filter the widget title. - * - * @since 2.6.0 - * - * @param string $title The widget title. Default 'Pages'. - * @param array $instance An array of the widget's settings. - * @param mixed $id_base The widget ID. - */ - $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Pages' ) : $instance['title'], $instance, $this->id_base ); - - $sortby = empty( $instance['sortby'] ) ? 'menu_order' : $instance['sortby']; - $exclude = empty( $instance['exclude'] ) ? '' : $instance['exclude']; - - if ( $sortby == 'menu_order' ) - $sortby = 'menu_order, post_title'; - - /** - * Filter the arguments for the Pages widget. - * - * @since 2.8.0 - * - * @see wp_list_pages() - * - * @param array $args An array of arguments to retrieve the pages list. - */ - $out = wp_list_pages( apply_filters( 'widget_pages_args', array( - 'title_li' => '', - 'echo' => 0, - 'sort_column' => $sortby, - 'exclude' => $exclude - ) ) ); - - if ( ! empty( $out ) ) { - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } - ?> -
          - -
        - 'post_title', 'title' => '', 'exclude' => '') ); - $title = esc_attr( $instance['title'] ); - $exclude = esc_attr( $instance['exclude'] ); - ?> -

        -

        - - -

        -

        - -
        - -

        - __( "Your blogroll" ) ); - parent::__construct('links', __('Links'), $widget_ops); - } - - public function widget( $args, $instance ) { - - $show_description = isset($instance['description']) ? $instance['description'] : false; - $show_name = isset($instance['name']) ? $instance['name'] : false; - $show_rating = isset($instance['rating']) ? $instance['rating'] : false; - $show_images = isset($instance['images']) ? $instance['images'] : true; - $category = isset($instance['category']) ? $instance['category'] : false; - $orderby = isset( $instance['orderby'] ) ? $instance['orderby'] : 'name'; - $order = $orderby == 'rating' ? 'DESC' : 'ASC'; - $limit = isset( $instance['limit'] ) ? $instance['limit'] : -1; - - $before_widget = preg_replace( '/id="[^"]*"/', 'id="%id"', $args['before_widget'] ); - - /** - * Filter the arguments for the Links widget. - * - * @since 2.6.0 - * - * @see wp_list_bookmarks() - * - * @param array $args An array of arguments to retrieve the links list. - */ - wp_list_bookmarks( apply_filters( 'widget_links_args', array( - 'title_before' => $args['before_title'], 'title_after' => $args['after_title'], - 'category_before' => $before_widget, 'category_after' => $args['after_widget'], - 'show_images' => $show_images, 'show_description' => $show_description, - 'show_name' => $show_name, 'show_rating' => $show_rating, - 'category' => $category, 'class' => 'linkcat widget', - 'orderby' => $orderby, 'order' => $order, - 'limit' => $limit, - ) ) ); - } - - public function update( $new_instance, $old_instance ) { - $new_instance = (array) $new_instance; - $instance = array( 'images' => 0, 'name' => 0, 'description' => 0, 'rating' => 0 ); - foreach ( $instance as $field => $val ) { - if ( isset($new_instance[$field]) ) - $instance[$field] = 1; - } - - $instance['orderby'] = 'name'; - if ( in_array( $new_instance['orderby'], array( 'name', 'rating', 'id', 'rand' ) ) ) - $instance['orderby'] = $new_instance['orderby']; - - $instance['category'] = intval( $new_instance['category'] ); - $instance['limit'] = ! empty( $new_instance['limit'] ) ? intval( $new_instance['limit'] ) : -1; - - return $instance; - } - - public function form( $instance ) { - - //Defaults - $instance = wp_parse_args( (array) $instance, array( 'images' => true, 'name' => true, 'description' => false, 'rating' => false, 'category' => false, 'orderby' => 'name', 'limit' => -1 ) ); - $link_cats = get_terms( 'link_category' ); - if ( ! $limit = intval( $instance['limit'] ) ) - $limit = -1; -?> -

        - - - - -

        -

        - id="get_field_id('images'); ?>" name="get_field_name('images'); ?>" /> -
        - id="get_field_id('name'); ?>" name="get_field_name('name'); ?>" /> -
        - id="get_field_id('description'); ?>" name="get_field_name('description'); ?>" /> -
        - id="get_field_id('rating'); ?>" name="get_field_name('rating'); ?>" /> - -

        -

        - - -

        - 'widget_search', 'description' => __( "A search form for your site.") ); - parent::__construct( 'search', _x( 'Search', 'Search widget' ), $widget_ops ); - } - - public function widget( $args, $instance ) { - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); - - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } - - // Use current theme search form if it exists - get_search_form(); - - echo $args['after_widget']; - } - - public function form( $instance ) { - $instance = wp_parse_args( (array) $instance, array( 'title' => '') ); - $title = $instance['title']; -?> -

        - '')); - $instance['title'] = strip_tags($new_instance['title']); - return $instance; - } - -} - -/** - * Archives widget class - * - * @since 2.8.0 - */ -class WP_Widget_Archives extends WP_Widget { - - public function __construct() { - $widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your site’s Posts.') ); - parent::__construct('archives', __('Archives'), $widget_ops); - } - - public function widget( $args, $instance ) { - $c = ! empty( $instance['count'] ) ? '1' : '0'; - $d = ! empty( $instance['dropdown'] ) ? '1' : '0'; - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Archives' ) : $instance['title'], $instance, $this->id_base ); - - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } - - if ( $d ) { -?> - - -
          - 'monthly', - 'show_post_count' => $c - ) ) ); -?> -
        - '', 'count' => 0, 'dropdown' => '') ); - $instance['title'] = strip_tags($new_instance['title']); - $instance['count'] = $new_instance['count'] ? 1 : 0; - $instance['dropdown'] = $new_instance['dropdown'] ? 1 : 0; - - return $instance; - } - - public function form( $instance ) { - $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'count' => 0, 'dropdown' => '') ); - $title = strip_tags($instance['title']); - $count = $instance['count'] ? 'checked="checked"' : ''; - $dropdown = $instance['dropdown'] ? 'checked="checked"' : ''; -?> -

        -

        - id="get_field_id('dropdown'); ?>" name="get_field_name('dropdown'); ?>" /> -
        - id="get_field_id('count'); ?>" name="get_field_name('count'); ?>" /> -

        - 'widget_meta', 'description' => __( "Login, RSS, & WordPress.org links.") ); - parent::__construct('meta', __('Meta'), $widget_ops); - } - - public function widget( $args, $instance ) { - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', empty($instance['title']) ? __( 'Meta' ) : $instance['title'], $instance, $this->id_base ); - - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } -?> -
          - -
        • -
        • RSS'); ?>
        • -
        • RSS'); ?>
        • -%s', - esc_url( __( 'https://wordpress.org/' ) ), - esc_attr__( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ), - _x( 'WordPress.org', 'meta widget link text' ) - ) ); - - wp_meta(); -?> -
        - '' ) ); - $title = strip_tags($instance['title']); -?> -

        - 'widget_calendar', 'description' => __( 'A calendar of your site’s Posts.') ); - parent::__construct('calendar', __('Calendar'), $widget_ops); - } - - public function widget( $args, $instance ) { - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); - - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } - echo '
        '; - get_calendar(); - echo '
        '; - echo $args['after_widget']; - } - - public function update( $new_instance, $old_instance ) { - $instance = $old_instance; - $instance['title'] = strip_tags($new_instance['title']); - - return $instance; - } - - public function form( $instance ) { - $instance = wp_parse_args( (array) $instance, array( 'title' => '' ) ); - $title = strip_tags($instance['title']); -?> -

        -

        - 'widget_text', 'description' => __('Arbitrary text or HTML.')); - $control_ops = array('width' => 400, 'height' => 350); - parent::__construct('text', __('Text'), $widget_ops, $control_ops); - } - - public function widget( $args, $instance ) { - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); - - /** - * Filter the content of the Text widget. - * - * @since 2.3.0 - * - * @param string $widget_text The widget content. - * @param WP_Widget $instance WP_Widget instance. - */ - $text = apply_filters( 'widget_text', empty( $instance['text'] ) ? '' : $instance['text'], $instance ); - echo $args['before_widget']; - if ( ! empty( $title ) ) { - echo $args['before_title'] . $title . $args['after_title']; - } ?> -
        - '', 'text' => '' ) ); - $title = strip_tags($instance['title']); - $text = esc_textarea($instance['text']); -?> -

        -

        - - - -

        /> 

        - 'widget_categories', 'description' => __( "A list or dropdown of categories." ) ); - parent::__construct('categories', __('Categories'), $widget_ops); - } - - public function widget( $args, $instance ) { - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Categories' ) : $instance['title'], $instance, $this->id_base ); - - $c = ! empty( $instance['count'] ) ? '1' : '0'; - $h = ! empty( $instance['hierarchical'] ) ? '1' : '0'; - $d = ! empty( $instance['dropdown'] ) ? '1' : '0'; - - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } - - $cat_args = array('orderby' => 'name', 'show_count' => $c, 'hierarchical' => $h); - - if ( $d ) { - $cat_args['show_option_none'] = __('Select Category'); - - /** - * Filter the arguments for the Categories widget drop-down. - * - * @since 2.8.0 - * - * @see wp_dropdown_categories() - * - * @param array $cat_args An array of Categories widget drop-down arguments. - */ - wp_dropdown_categories( apply_filters( 'widget_categories_dropdown_args', $cat_args ) ); -?> - - - - -
          - -
        - '') ); - $title = esc_attr( $instance['title'] ); - $count = isset($instance['count']) ? (bool) $instance['count'] :false; - $hierarchical = isset( $instance['hierarchical'] ) ? (bool) $instance['hierarchical'] : false; - $dropdown = isset( $instance['dropdown'] ) ? (bool) $instance['dropdown'] : false; -?> -

        -

        - -

        /> -
        - - /> -
        - - /> -

        - 'widget_recent_entries', 'description' => __( "Your site’s most recent Posts.") ); - parent::__construct('recent-posts', __('Recent Posts'), $widget_ops); - $this->alt_option_name = 'widget_recent_entries'; - - add_action( 'save_post', array($this, 'flush_widget_cache') ); - add_action( 'deleted_post', array($this, 'flush_widget_cache') ); - add_action( 'switch_theme', array($this, 'flush_widget_cache') ); - } - - public function widget($args, $instance) { - $cache = array(); - if ( ! $this->is_preview() ) { - $cache = wp_cache_get( 'widget_recent_posts', 'widget' ); - } - - if ( ! is_array( $cache ) ) { - $cache = array(); - } - - if ( ! isset( $args['widget_id'] ) ) { - $args['widget_id'] = $this->id; - } - - if ( isset( $cache[ $args['widget_id'] ] ) ) { - echo $cache[ $args['widget_id'] ]; - return; - } - - ob_start(); - - $title = ( ! empty( $instance['title'] ) ) ? $instance['title'] : __( 'Recent Posts' ); - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); - - $number = ( ! empty( $instance['number'] ) ) ? absint( $instance['number'] ) : 5; - if ( ! $number ) - $number = 5; - $show_date = isset( $instance['show_date'] ) ? $instance['show_date'] : false; - - /** - * Filter the arguments for the Recent Posts widget. - * - * @since 3.4.0 - * - * @see WP_Query::get_posts() - * - * @param array $args An array of arguments used to retrieve the recent posts. - */ - $r = new WP_Query( apply_filters( 'widget_posts_args', array( - 'posts_per_page' => $number, - 'no_found_rows' => true, - 'post_status' => 'publish', - 'ignore_sticky_posts' => true - ) ) ); - - if ($r->have_posts()) : -?> - - -
          - have_posts() ) : $r->the_post(); ?> -
        • - - - - -
        • - -
        - -is_preview() ) { - $cache[ $args['widget_id'] ] = ob_get_flush(); - wp_cache_set( 'widget_recent_posts', $cache, 'widget' ); - } else { - ob_end_flush(); - } - } - - public function update( $new_instance, $old_instance ) { - $instance = $old_instance; - $instance['title'] = strip_tags($new_instance['title']); - $instance['number'] = (int) $new_instance['number']; - $instance['show_date'] = isset( $new_instance['show_date'] ) ? (bool) $new_instance['show_date'] : false; - $this->flush_widget_cache(); - - $alloptions = wp_cache_get( 'alloptions', 'options' ); - if ( isset($alloptions['widget_recent_entries']) ) - delete_option('widget_recent_entries'); - - return $instance; - } - - public function flush_widget_cache() { - wp_cache_delete('widget_recent_posts', 'widget'); - } - - public function form( $instance ) { - $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : ''; - $number = isset( $instance['number'] ) ? absint( $instance['number'] ) : 5; - $show_date = isset( $instance['show_date'] ) ? (bool) $instance['show_date'] : false; -?> -

        -

        - -

        -

        - -

        id="get_field_id( 'show_date' ); ?>" name="get_field_name( 'show_date' ); ?>" /> -

        - 'widget_recent_comments', 'description' => __( 'Your site’s most recent comments.' ) ); - parent::__construct('recent-comments', __('Recent Comments'), $widget_ops); - $this->alt_option_name = 'widget_recent_comments'; - - if ( is_active_widget(false, false, $this->id_base) ) - add_action( 'wp_head', array($this, 'recent_comments_style') ); - - add_action( 'comment_post', array($this, 'flush_widget_cache') ); - add_action( 'edit_comment', array($this, 'flush_widget_cache') ); - add_action( 'transition_comment_status', array($this, 'flush_widget_cache') ); - } - - public function recent_comments_style() { - - /** - * Filter the Recent Comments default widget styles. - * - * @since 3.1.0 - * - * @param bool $active Whether the widget is active. Default true. - * @param string $id_base The widget ID. - */ - if ( ! current_theme_supports( 'widgets' ) // Temp hack #14876 - || ! apply_filters( 'show_recent_comments_widget_style', true, $this->id_base ) ) - return; - ?> - -is_preview() ) { - $cache = wp_cache_get('widget_recent_comments', 'widget'); - } - if ( ! is_array( $cache ) ) { - $cache = array(); - } - - if ( ! isset( $args['widget_id'] ) ) - $args['widget_id'] = $this->id; - - if ( isset( $cache[ $args['widget_id'] ] ) ) { - echo $cache[ $args['widget_id'] ]; - return; - } - - $output = ''; - - $title = ( ! empty( $instance['title'] ) ) ? $instance['title'] : __( 'Recent Comments' ); - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); - - $number = ( ! empty( $instance['number'] ) ) ? absint( $instance['number'] ) : 5; - if ( ! $number ) - $number = 5; - - /** - * Filter the arguments for the Recent Comments widget. - * - * @since 3.4.0 - * - * @see get_comments() - * - * @param array $comment_args An array of arguments used to retrieve the recent comments. - */ - $comments = get_comments( apply_filters( 'widget_comments_args', array( - 'number' => $number, - 'status' => 'approve', - 'post_status' => 'publish' - ) ) ); - - $output .= $args['before_widget']; - if ( $title ) { - $output .= $args['before_title'] . $title . $args['after_title']; - } - - $output .= '
          '; - if ( $comments ) { - // Prime cache for associated posts. (Prime post term cache if we need it for permalinks.) - $post_ids = array_unique( wp_list_pluck( $comments, 'comment_post_ID' ) ); - _prime_post_caches( $post_ids, strpos( get_option( 'permalink_structure' ), '%category%' ), false ); - - foreach ( (array) $comments as $comment) { - $output .= '
        • '; - /* translators: comments widget: 1: comment author, 2: post link */ - $output .= sprintf( _x( '%1$s on %2$s', 'widgets' ), - '' . get_comment_author_link() . '', - '' . get_the_title( $comment->comment_post_ID ) . '' - ); - $output .= '
        • '; - } - } - $output .= '
        '; - $output .= $args['after_widget']; - - echo $output; - - if ( ! $this->is_preview() ) { - $cache[ $args['widget_id'] ] = $output; - wp_cache_set( 'widget_recent_comments', $cache, 'widget' ); - } - } - - public function update( $new_instance, $old_instance ) { - $instance = $old_instance; - $instance['title'] = strip_tags($new_instance['title']); - $instance['number'] = absint( $new_instance['number'] ); - $this->flush_widget_cache(); - - $alloptions = wp_cache_get( 'alloptions', 'options' ); - if ( isset($alloptions['widget_recent_comments']) ) - delete_option('widget_recent_comments'); - - return $instance; - } - - public function form( $instance ) { - $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : ''; - $number = isset( $instance['number'] ) ? absint( $instance['number'] ) : 5; -?> -

        -

        - -

        -

        - __('Entries from any RSS or Atom feed.') ); - $control_ops = array( 'width' => 400, 'height' => 200 ); - parent::__construct( 'rss', __('RSS'), $widget_ops, $control_ops ); - } - - public function widget($args, $instance) { - - if ( isset($instance['error']) && $instance['error'] ) - return; - - $url = ! empty( $instance['url'] ) ? $instance['url'] : ''; - while ( stristr($url, 'http') != $url ) - $url = substr($url, 1); - - if ( empty($url) ) - return; - - // self-url destruction sequence - if ( in_array( untrailingslashit( $url ), array( site_url(), home_url() ) ) ) - return; - - $rss = fetch_feed($url); - $title = $instance['title']; - $desc = ''; - $link = ''; - - if ( ! is_wp_error($rss) ) { - $desc = esc_attr(strip_tags(@html_entity_decode($rss->get_description(), ENT_QUOTES, get_option('blog_charset')))); - if ( empty($title) ) - $title = esc_html(strip_tags($rss->get_title())); - $link = esc_url(strip_tags($rss->get_permalink())); - while ( stristr($link, 'http') != $link ) - $link = substr($link, 1); - } - - if ( empty($title) ) - $title = empty($desc) ? __('Unknown Feed') : $desc; - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); - - $url = esc_url(strip_tags($url)); - $icon = includes_url('images/rss.png'); - if ( $title ) - $title = "RSS $title"; - - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } - wp_widget_rss_output( $rss, $instance ); - echo $args['after_widget']; - - if ( ! is_wp_error($rss) ) - $rss->__destruct(); - unset($rss); - } - - public function update($new_instance, $old_instance) { - $testurl = ( isset( $new_instance['url'] ) && ( !isset( $old_instance['url'] ) || ( $new_instance['url'] != $old_instance['url'] ) ) ); - return wp_widget_rss_process( $new_instance, $testurl ); - } - - public function form($instance) { - - if ( empty($instance) ) - $instance = array( 'title' => '', 'url' => '', 'items' => 10, 'error' => false, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0 ); - $instance['number'] = $this->number; - - wp_widget_rss_form( $instance ); - } -} - -/** - * Display the RSS entries in a list. - * - * @since 2.5.0 - * - * @param string|array|object $rss RSS url. - * @param array $args Widget arguments. - */ -function wp_widget_rss_output( $rss, $args = array() ) { - if ( is_string( $rss ) ) { - $rss = fetch_feed($rss); - } elseif ( is_array($rss) && isset($rss['url']) ) { - $args = $rss; - $rss = fetch_feed($rss['url']); - } elseif ( !is_object($rss) ) { - return; - } - - if ( is_wp_error($rss) ) { - if ( is_admin() || current_user_can('manage_options') ) - echo '

        ' . sprintf( __('RSS Error: %s'), $rss->get_error_message() ) . '

        '; - return; - } - - $default_args = array( 'show_author' => 0, 'show_date' => 0, 'show_summary' => 0, 'items' => 0 ); - $args = wp_parse_args( $args, $default_args ); - - $items = (int) $args['items']; - if ( $items < 1 || 20 < $items ) - $items = 10; - $show_summary = (int) $args['show_summary']; - $show_author = (int) $args['show_author']; - $show_date = (int) $args['show_date']; - - if ( !$rss->get_item_quantity() ) { - echo '
        • ' . __( 'An error has occurred, which probably means the feed is down. Try again later.' ) . '
        '; - $rss->__destruct(); - unset($rss); - return; - } - - echo '
          '; - foreach ( $rss->get_items( 0, $items ) as $item ) { - $link = $item->get_link(); - while ( stristr( $link, 'http' ) != $link ) { - $link = substr( $link, 1 ); - } - $link = esc_url( strip_tags( $link ) ); - - $title = esc_html( trim( strip_tags( $item->get_title() ) ) ); - if ( empty( $title ) ) { - $title = __( 'Untitled' ); - } - - $desc = @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option( 'blog_charset' ) ); - $desc = esc_attr( wp_trim_words( $desc, 55, ' […]' ) ); - - $summary = ''; - if ( $show_summary ) { - $summary = $desc; - - // Change existing [...] to […]. - if ( '[...]' == substr( $summary, -5 ) ) { - $summary = substr( $summary, 0, -5 ) . '[…]'; - } - - $summary = '
          ' . esc_html( $summary ) . '
          '; - } - - $date = ''; - if ( $show_date ) { - $date = $item->get_date( 'U' ); - - if ( $date ) { - $date = ' ' . date_i18n( get_option( 'date_format' ), $date ) . ''; - } - } - - $author = ''; - if ( $show_author ) { - $author = $item->get_author(); - if ( is_object($author) ) { - $author = $author->get_name(); - $author = ' ' . esc_html( strip_tags( $author ) ) . ''; - } - } - - if ( $link == '' ) { - echo "
        • $title{$date}{$summary}{$author}
        • "; - } elseif ( $show_summary ) { - echo "
        • $title{$date}{$summary}{$author}
        • "; - } else { - echo "
        • $title{$date}{$author}
        • "; - } - } - echo '
        '; - $rss->__destruct(); - unset($rss); -} - -/** - * Display RSS widget options form. - * - * The options for what fields are displayed for the RSS form are all booleans - * and are as follows: 'url', 'title', 'items', 'show_summary', 'show_author', - * 'show_date'. - * - * @since 2.5.0 - * - * @param array|string $args Values for input fields. - * @param array $inputs Override default display options. - */ -function wp_widget_rss_form( $args, $inputs = null ) { - $default_inputs = array( 'url' => true, 'title' => true, 'items' => true, 'show_summary' => true, 'show_author' => true, 'show_date' => true ); - $inputs = wp_parse_args( $inputs, $default_inputs ); - - $args['number'] = esc_attr( $args['number'] ); - $args['title'] = isset( $args['title'] ) ? esc_attr( $args['title'] ) : ''; - $args['url'] = isset( $args['url'] ) ? esc_url( $args['url'] ) : ''; - $args['items'] = isset( $args['items'] ) ? (int) $args['items'] : 0; - - if ( $args['items'] < 1 || 20 < $args['items'] ) { - $args['items'] = 10; - } - - $args['show_summary'] = isset( $args['show_summary'] ) ? (int) $args['show_summary'] : (int) $inputs['show_summary']; - $args['show_author'] = isset( $args['show_author'] ) ? (int) $args['show_author'] : (int) $inputs['show_author']; - $args['show_date'] = isset( $args['show_date'] ) ? (int) $args['show_date'] : (int) $inputs['show_date']; - - if ( ! empty( $args['error'] ) ) { - echo '

        ' . sprintf( __( 'RSS Error: %s' ), $args['error'] ) . '

        '; - } - - if ( $inputs['url'] ) : -?> -

        -

        - -

        -

        - -

        -

        - -

        /> -

        - -

        /> -

        - -

        /> -

        - - -get_error_message(); - } else { - $link = esc_url(strip_tags($rss->get_permalink())); - while ( stristr($link, 'http') != $link ) - $link = substr($link, 1); - - $rss->__destruct(); - unset($rss); - } - } - - return compact( 'title', 'url', 'link', 'items', 'error', 'show_summary', 'show_author', 'show_date' ); -} - -/** - * Tag cloud widget class - * - * @since 2.8.0 - */ -class WP_Widget_Tag_Cloud extends WP_Widget { - - public function __construct() { - $widget_ops = array( 'description' => __( "A cloud of your most used tags.") ); - parent::__construct('tag_cloud', __('Tag Cloud'), $widget_ops); - } - - public function widget( $args, $instance ) { - $current_taxonomy = $this->_get_current_taxonomy($instance); - if ( !empty($instance['title']) ) { - $title = $instance['title']; - } else { - if ( 'post_tag' == $current_taxonomy ) { - $title = __('Tags'); - } else { - $tax = get_taxonomy($current_taxonomy); - $title = $tax->labels->name; - } - } - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); - - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } - echo '
        '; - - /** - * Filter the taxonomy used in the Tag Cloud widget. - * - * @since 2.8.0 - * @since 3.0.0 Added taxonomy drop-down. - * - * @see wp_tag_cloud() - * - * @param array $current_taxonomy The taxonomy to use in the tag cloud. Default 'tags'. - */ - wp_tag_cloud( apply_filters( 'widget_tag_cloud_args', array( - 'taxonomy' => $current_taxonomy - ) ) ); - - echo "
        \n"; - echo $args['after_widget']; - } - - public function update( $new_instance, $old_instance ) { - $instance['title'] = strip_tags(stripslashes($new_instance['title'])); - $instance['taxonomy'] = stripslashes($new_instance['taxonomy']); - return $instance; - } - - public function form( $instance ) { - $current_taxonomy = $this->_get_current_taxonomy($instance); -?> -

        -

        -

        -

        __('Add a custom menu to your sidebar.') ); - parent::__construct( 'nav_menu', __('Custom Menu'), $widget_ops ); - } - - public function widget($args, $instance) { - // Get menu - $nav_menu = ! empty( $instance['nav_menu'] ) ? wp_get_nav_menu_object( $instance['nav_menu'] ) : false; - - if ( !$nav_menu ) - return; - - /** This filter is documented in wp-includes/default-widgets.php */ - $instance['title'] = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); - - echo $args['before_widget']; - - if ( !empty($instance['title']) ) - echo $args['before_title'] . $instance['title'] . $args['after_title']; - - wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) ); - - echo $args['after_widget']; - } - - public function update( $new_instance, $old_instance ) { - $instance = array(); - if ( ! empty( $new_instance['title'] ) ) { - $instance['title'] = strip_tags( stripslashes($new_instance['title']) ); - } - if ( ! empty( $new_instance['nav_menu'] ) ) { - $instance['nav_menu'] = (int) $new_instance['nav_menu']; - } - return $instance; - } - - public function form( $instance ) { - $title = isset( $instance['title'] ) ? $instance['title'] : ''; - $nav_menu = isset( $instance['nav_menu'] ) ? $instance['nav_menu'] : ''; - - // Get menus - $menus = wp_get_nav_menus( array( 'orderby' => 'name' ) ); - - // If no menus exists, direct the user to go and create some. - if ( !$menus ) { - echo '

        '. sprintf( __('No menus have been created yet. Create some.'), admin_url('nav-menus.php') ) .'

        '; - return; - } - ?> -

        - - -

        -

        - - -

        - $post->ID, - 'Author_ID' => $post->post_author, - 'Date' => $post->post_date, - 'Content' => $post->post_content, - 'Excerpt' => $post->post_excerpt, - 'Title' => $post->post_title, - 'Category' => $post->post_category, - 'post_status' => $post->post_status, - 'comment_status' => $post->comment_status, - 'ping_status' => $post->ping_status, - 'post_password' => $post->post_password, - 'to_ping' => $post->to_ping, - 'pinged' => $post->pinged, - 'post_type' => $post->post_type, - 'post_name' => $post->post_name - ); - - return $postdata; -} - -/** - * Sets up the WordPress Loop. - * - * @since 1.0.1 - * @deprecated 1.5.0 - * @deprecated Use The Loop - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop} - */ -function start_wp() { - global $wp_query; - - _deprecated_function( __FUNCTION__, '1.5', __('new WordPress Loop') ); - - // Since the old style loop is being used, advance the query iterator here. - $wp_query->next_post(); - - setup_postdata( get_post() ); -} - -/** - * Return or Print Category ID. - * - * @since 0.71 - * @deprecated 0.71 - * @deprecated use get_the_category() - * @see get_the_category() - * - * @param bool $echo - * @return null|int - */ -function the_category_ID($echo = true) { - _deprecated_function( __FUNCTION__, '0.71', 'get_the_category()' ); - - // Grab the first cat in the list. - $categories = get_the_category(); - $cat = $categories[0]->term_id; - - if ( $echo ) - echo $cat; - - return $cat; -} - -/** - * Print category with optional text before and after. - * - * @since 0.71 - * @deprecated 0.71 - * @deprecated use get_the_category_by_ID() - * @see get_the_category_by_ID() - * - * @param string $before - * @param string $after - */ -function the_category_head($before='', $after='') { - global $currentcat, $previouscat; - - _deprecated_function( __FUNCTION__, '0.71', 'get_the_category_by_ID()' ); - - // Grab the first cat in the list. - $categories = get_the_category(); - $currentcat = $categories[0]->category_id; - if ( $currentcat != $previouscat ) { - echo $before; - echo get_the_category_by_ID($currentcat); - echo $after; - $previouscat = $currentcat; - } -} - -/** - * Prints link to the previous post. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use previous_post_link() - * @see previous_post_link() - * - * @param string $format - * @param string $previous - * @param string $title - * @param string $in_same_cat - * @param int $limitprev - * @param string $excluded_categories - */ -function previous_post($format='%', $previous='previous post: ', $title='yes', $in_same_cat='no', $limitprev=1, $excluded_categories='') { - - _deprecated_function( __FUNCTION__, '2.0', 'previous_post_link()' ); - - if ( empty($in_same_cat) || 'no' == $in_same_cat ) - $in_same_cat = false; - else - $in_same_cat = true; - - $post = get_previous_post($in_same_cat, $excluded_categories); - - if ( !$post ) - return; - - $string = ''.$previous; - if ( 'yes' == $title ) - $string .= apply_filters('the_title', $post->post_title, $post->ID); - $string .= ''; - $format = str_replace('%', $string, $format); - echo $format; -} - -/** - * Prints link to the next post. - * - * @since 0.71 - * @deprecated 2.0.0 - * @deprecated Use next_post_link() - * @see next_post_link() - * - * @param string $format - * @param string $next - * @param string $title - * @param string $in_same_cat - * @param int $limitnext - * @param string $excluded_categories - */ -function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat='no', $limitnext=1, $excluded_categories='') { - _deprecated_function( __FUNCTION__, '2.0', 'next_post_link()' ); - - if ( empty($in_same_cat) || 'no' == $in_same_cat ) - $in_same_cat = false; - else - $in_same_cat = true; - - $post = get_next_post($in_same_cat, $excluded_categories); - - if ( !$post ) - return; - - $string = ''.$next; - if ( 'yes' == $title ) - $string .= apply_filters('the_title', $post->post_title, $post->ID); - $string .= ''; - $format = str_replace('%', $string, $format); - echo $format; -} - -/** - * Whether user can create a post. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use current_user_can() - * @see current_user_can() - * - * @param int $user_id - * @param int $blog_id Not Used - * @param int $category_id Not Used - * @return bool - */ -function user_can_create_post($user_id, $blog_id = 1, $category_id = 'None') { - _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); - - $author_data = get_userdata($user_id); - return ($author_data->user_level > 1); -} - -/** - * Whether user can create a post. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use current_user_can() - * @see current_user_can() - * - * @param int $user_id - * @param int $blog_id Not Used - * @param int $category_id Not Used - * @return bool - */ -function user_can_create_draft($user_id, $blog_id = 1, $category_id = 'None') { - _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); - - $author_data = get_userdata($user_id); - return ($author_data->user_level >= 1); -} - -/** - * Whether user can edit a post. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use current_user_can() - * @see current_user_can() - * - * @param int $user_id - * @param int $post_id - * @param int $blog_id Not Used - * @return bool - */ -function user_can_edit_post($user_id, $post_id, $blog_id = 1) { - _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); - - $author_data = get_userdata($user_id); - $post = get_post($post_id); - $post_author_data = get_userdata($post->post_author); - - if ( (($user_id == $post_author_data->ID) && !($post->post_status == 'publish' && $author_data->user_level < 2)) - || ($author_data->user_level > $post_author_data->user_level) - || ($author_data->user_level >= 10) ) { - return true; - } else { - return false; - } -} - -/** - * Whether user can delete a post. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use current_user_can() - * @see current_user_can() - * - * @param int $user_id - * @param int $post_id - * @param int $blog_id Not Used - * @return bool - */ -function user_can_delete_post($user_id, $post_id, $blog_id = 1) { - _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); - - // right now if one can edit, one can delete - return user_can_edit_post($user_id, $post_id, $blog_id); -} - -/** - * Whether user can set new posts' dates. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use current_user_can() - * @see current_user_can() - * - * @param int $user_id - * @param int $blog_id Not Used - * @param int $category_id Not Used - * @return bool - */ -function user_can_set_post_date($user_id, $blog_id = 1, $category_id = 'None') { - _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); - - $author_data = get_userdata($user_id); - return (($author_data->user_level > 4) && user_can_create_post($user_id, $blog_id, $category_id)); -} - -/** - * Whether user can delete a post. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use current_user_can() - * @see current_user_can() - * - * @param int $user_id - * @param int $post_id - * @param int $blog_id Not Used - * @return bool returns true if $user_id can edit $post_id's date - */ -function user_can_edit_post_date($user_id, $post_id, $blog_id = 1) { - _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); - - $author_data = get_userdata($user_id); - return (($author_data->user_level > 4) && user_can_edit_post($user_id, $post_id, $blog_id)); -} - -/** - * Whether user can delete a post. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use current_user_can() - * @see current_user_can() - * - * @param int $user_id - * @param int $post_id - * @param int $blog_id Not Used - * @return bool returns true if $user_id can edit $post_id's comments - */ -function user_can_edit_post_comments($user_id, $post_id, $blog_id = 1) { - _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); - - // right now if one can edit a post, one can edit comments made on it - return user_can_edit_post($user_id, $post_id, $blog_id); -} - -/** - * Whether user can delete a post. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use current_user_can() - * @see current_user_can() - * - * @param int $user_id - * @param int $post_id - * @param int $blog_id Not Used - * @return bool returns true if $user_id can delete $post_id's comments - */ -function user_can_delete_post_comments($user_id, $post_id, $blog_id = 1) { - _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); - - // right now if one can edit comments, one can delete comments - return user_can_edit_post_comments($user_id, $post_id, $blog_id); -} - -/** - * Can user can edit other user. - * - * @since 1.5.0 - * @deprecated 2.0.0 - * @deprecated Use current_user_can() - * @see current_user_can() - * - * @param int $user_id - * @param int $other_user - * @return bool - */ -function user_can_edit_user($user_id, $other_user) { - _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); - - $user = get_userdata($user_id); - $other = get_userdata($other_user); - if ( $user->user_level > $other->user_level || $user->user_level > 8 || $user->ID == $other->ID ) - return true; - else - return false; -} - -/** - * Gets the links associated with category $cat_name. - * - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() - * @see get_bookmarks() - * - * @param string $cat_name Optional. The category name to use. If no match is found uses all. - * @param string $before Optional. The html to output before the link. - * @param string $after Optional. The html to output after the link. - * @param string $between Optional. The html to output between the link/image and its description. Not used if no image or $show_images is true. - * @param bool $show_images Optional. Whether to show images (if defined). - * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 'description' or 'rating'. Or maybe owner. - * If you start the name with an underscore the order will be reversed. You can also specify 'rand' as the order which will return links in a - * random order. - * @param bool $show_description Optional. Whether to show the description if show_images=false/not defined. - * @param bool $show_rating Optional. Show rating stars/chars. - * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown. - * @param int $show_updated Optional. Whether to show last updated timestamp - */ -function get_linksbyname($cat_name = "noname", $before = '', $after = '
        ', $between = " ", $show_images = true, $orderby = 'id', - $show_description = true, $show_rating = false, - $limit = -1, $show_updated = 0) { - _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); - - $cat_id = -1; - $cat = get_term_by('name', $cat_name, 'link_category'); - if ( $cat ) - $cat_id = $cat->term_id; - - get_links($cat_id, $before, $after, $between, $show_images, $orderby, $show_description, $show_rating, $limit, $show_updated); -} - -/** - * Gets the links associated with the named category. - * - * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use wp_list_bookmarks() - * @see wp_list_bookmarks() - * - * @param string $category The category to use. - * @param string $args - * @return bool|null - */ -function wp_get_linksbyname($category, $args = '') { - _deprecated_function(__FUNCTION__, '2.1', 'wp_list_bookmarks()'); - - $defaults = array( - 'after' => '
        ', - 'before' => '', - 'categorize' => 0, - 'category_after' => '', - 'category_before' => '', - 'category_name' => $category, - 'show_description' => 1, - 'title_li' => '', - ); - - $r = wp_parse_args( $args, $defaults ); - - return wp_list_bookmarks($r); -} - -/** - * Gets an array of link objects associated with category $cat_name. - * - * - * $links = get_linkobjectsbyname('fred'); - * foreach ($links as $link) { - * echo '
      8. '.$link->link_name.'
      9. '; - * } - *
        - * - * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() - * @see get_bookmarks() - * - * @param string $cat_name The category name to use. If no match is found uses all. - * @param string $orderby The order to output the links. E.g. 'id', 'name', 'url', 'description', or 'rating'. - * Or maybe owner. If you start the name with an underscore the order will be reversed. You can also - * specify 'rand' as the order which will return links in a random order. - * @param int $limit Limit to X entries. If not specified, all entries are shown. - * @return unknown - */ -function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'name', $limit = -1) { - _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); - - $cat_id = -1; - $cat = get_term_by('name', $cat_name, 'link_category'); - if ( $cat ) - $cat_id = $cat->term_id; - - return get_linkobjects($cat_id, $orderby, $limit); -} - -/** - * Gets an array of link objects associated with category n. - * - * Usage: - * - * $links = get_linkobjects(1); - * if ($links) { - * foreach ($links as $link) { - * echo '
      10. '.$link->link_name.'
        '.$link->link_description.'
      11. '; - * } - * } - *
        - * - * Fields are: - *
          - *
        1. link_id
        2. - *
        3. link_url
        4. - *
        5. link_name
        6. - *
        7. link_image
        8. - *
        9. link_target
        10. - *
        11. link_category
        12. - *
        13. link_description
        14. - *
        15. link_visible
        16. - *
        17. link_owner
        18. - *
        19. link_rating
        20. - *
        21. link_updated
        22. - *
        23. link_rel
        24. - *
        25. link_notes
        26. - *
        - * - * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() - * @see get_bookmarks() - * - * @param int $category The category to use. If no category supplied uses all - * @param string $orderby the order to output the links. E.g. 'id', 'name', 'url', - * 'description', or 'rating'. Or maybe owner. If you start the name with an - * underscore the order will be reversed. You can also specify 'rand' as the - * order which will return links in a random order. - * @param int $limit Limit to X entries. If not specified, all entries are shown. - * @return unknown - */ -function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) { - _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); - - $links = get_bookmarks( array( 'category' => $category, 'orderby' => $orderby, 'limit' => $limit ) ) ; - - $links_array = array(); - foreach ($links as $link) - $links_array[] = $link; - - return $links_array; -} - -/** - * Gets the links associated with category 'cat_name' and display rating stars/chars. - * - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() - * @see get_bookmarks() - * - * @param string $cat_name The category name to use. If no match is found uses all - * @param string $before The html to output before the link - * @param string $after The html to output after the link - * @param string $between The html to output between the link/image and its description. Not used if no image or show_images is true - * @param bool $show_images Whether to show images (if defined). - * @param string $orderby the order to output the links. E.g. 'id', 'name', 'url', - * 'description', or 'rating'. Or maybe owner. If you start the name with an - * underscore the order will be reversed. You can also specify 'rand' as the - * order which will return links in a random order. - * @param bool $show_description Whether to show the description if show_images=false/not defined - * @param int $limit Limit to X entries. If not specified, all entries are shown. - * @param int $show_updated Whether to show last updated timestamp - */ -function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = '
        ', $between = " ", - $show_images = true, $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) { - _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); - - get_linksbyname($cat_name, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated); -} - -/** - * Gets the links associated with category n and display rating stars/chars. - * - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() - * @see get_bookmarks() - * - * @param int $category The category to use. If no category supplied uses all - * @param string $before The html to output before the link - * @param string $after The html to output after the link - * @param string $between The html to output between the link/image and its description. Not used if no image or show_images == true - * @param bool $show_images Whether to show images (if defined). - * @param string $orderby The order to output the links. E.g. 'id', 'name', 'url', - * 'description', or 'rating'. Or maybe owner. If you start the name with an - * underscore the order will be reversed. You can also specify 'rand' as the - * order which will return links in a random order. - * @param bool $show_description Whether to show the description if show_images=false/not defined. - * @param string $limit Limit to X entries. If not specified, all entries are shown. - * @param int $show_updated Whether to show last updated timestamp - */ -function get_links_withrating($category = -1, $before = '', $after = '
        ', $between = " ", $show_images = true, - $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) { - _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); - - get_links($category, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated); -} - -/** - * Gets the auto_toggle setting. - * - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated No alternative function available - * - * @param int $id The category to get. If no category supplied uses 0 - * @return int Only returns 0. - */ -function get_autotoggle($id = 0) { - _deprecated_function( __FUNCTION__, '2.1' ); - return 0; -} - -/** - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use wp_list_categories() - * @see wp_list_categories() - * - * @param int $optionall - * @param string $all - * @param string $sort_column - * @param string $sort_order - * @param string $file - * @param bool $list - * @param int $optiondates - * @param int $optioncount - * @param int $hide_empty - * @param int $use_desc_for_title - * @param bool $children - * @param int $child_of - * @param int $categories - * @param int $recurse - * @param string $feed - * @param string $feed_image - * @param string $exclude - * @param bool $hierarchical - * @return unknown - */ -function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0, - $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=false, $child_of=0, $categories=0, - $recurse=0, $feed = '', $feed_image = '', $exclude = '', $hierarchical=false) { - _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' ); - - $query = compact('optionall', 'all', 'sort_column', 'sort_order', 'file', 'list', 'optiondates', 'optioncount', 'hide_empty', 'use_desc_for_title', 'children', - 'child_of', 'categories', 'recurse', 'feed', 'feed_image', 'exclude', 'hierarchical'); - return wp_list_cats($query); -} - -/** - * @since 1.2.0 - * @deprecated 2.1.0 - * @deprecated Use wp_list_categories() - * @see wp_list_categories() - * - * @param string|array $args - * @return unknown - */ -function wp_list_cats($args = '') { - _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' ); - - $r = wp_parse_args( $args ); - - // Map to new names. - if ( isset($r['optionall']) && isset($r['all'])) - $r['show_option_all'] = $r['all']; - if ( isset($r['sort_column']) ) - $r['orderby'] = $r['sort_column']; - if ( isset($r['sort_order']) ) - $r['order'] = $r['sort_order']; - if ( isset($r['optiondates']) ) - $r['show_last_update'] = $r['optiondates']; - if ( isset($r['optioncount']) ) - $r['show_count'] = $r['optioncount']; - if ( isset($r['list']) ) - $r['style'] = $r['list'] ? 'list' : 'break'; - $r['title_li'] = ''; - - return wp_list_categories($r); -} - -/** - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use wp_dropdown_categories() - * @see wp_dropdown_categories() - * - * @param int $optionall - * @param string $all - * @param string $orderby - * @param string $order - * @param int $show_last_update - * @param int $show_count - * @param int $hide_empty - * @param bool $optionnone - * @param int $selected - * @param int $exclude - * @return unknown - */ -function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = 'asc', - $show_last_update = 0, $show_count = 0, $hide_empty = 1, $optionnone = false, - $selected = 0, $exclude = 0) { - _deprecated_function( __FUNCTION__, '2.1', 'wp_dropdown_categories()' ); - - $show_option_all = ''; - if ( $optionall ) - $show_option_all = $all; - - $show_option_none = ''; - if ( $optionnone ) - $show_option_none = __('None'); - - $vars = compact('show_option_all', 'show_option_none', 'orderby', 'order', - 'show_last_update', 'show_count', 'hide_empty', 'selected', 'exclude'); - $query = add_query_arg($vars, ''); - return wp_dropdown_categories($query); -} - -/** - * List authors. - * - * @since 1.2.0 - * @deprecated 2.1.0 - * @deprecated Use wp_list_authors() - * @see wp_list_authors() - * - * @param bool $optioncount - * @param bool $exclude_admin - * @param bool $show_fullname - * @param bool $hide_empty - * @param string $feed - * @param string $feed_image - * @return unknown - */ -function list_authors($optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '') { - _deprecated_function( __FUNCTION__, '2.1', 'wp_list_authors()' ); - - $args = compact('optioncount', 'exclude_admin', 'show_fullname', 'hide_empty', 'feed', 'feed_image'); - return wp_list_authors($args); -} - -/** - * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use wp_get_post_categories() - * @see wp_get_post_categories() - * - * @param int $blogid Not Used - * @param int $post_ID - * @return unknown - */ -function wp_get_post_cats($blogid = '1', $post_ID = 0) { - _deprecated_function( __FUNCTION__, '2.1', 'wp_get_post_categories()' ); - return wp_get_post_categories($post_ID); -} - -/** - * Sets the categories that the post id belongs to. - * - * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use wp_set_post_categories() - * @see wp_set_post_categories() - * - * @param int $blogid Not used - * @param int $post_ID - * @param array $post_categories - * @return unknown - */ -function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array()) { - _deprecated_function( __FUNCTION__, '2.1', 'wp_set_post_categories()' ); - return wp_set_post_categories($post_ID, $post_categories); -} - -/** - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use wp_get_archives() - * @see wp_get_archives() - * - * @param string $type - * @param string $limit - * @param string $format - * @param string $before - * @param string $after - * @param bool $show_post_count - * @return unknown - */ -function get_archives($type='', $limit='', $format='html', $before = '', $after = '', $show_post_count = false) { - _deprecated_function( __FUNCTION__, '2.1', 'wp_get_archives()' ); - $args = compact('type', 'limit', 'format', 'before', 'after', 'show_post_count'); - return wp_get_archives($args); -} - -/** - * Returns or Prints link to the author's posts. - * - * @since 1.2.0 - * @deprecated 2.1.0 - * @deprecated Use get_author_posts_url() - * @see get_author_posts_url() - * - * @param bool $echo - * @param int $author_id - * @param string $author_nicename Optional. - * @return string|null - */ -function get_author_link($echo, $author_id, $author_nicename = '') { - _deprecated_function( __FUNCTION__, '2.1', 'get_author_posts_url()' ); - - $link = get_author_posts_url($author_id, $author_nicename); - - if ( $echo ) - echo $link; - return $link; -} - -/** - * Print list of pages based on arguments. - * - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use wp_link_pages() - * @see wp_link_pages() - * - * @param string $before - * @param string $after - * @param string $next_or_number - * @param string $nextpagelink - * @param string $previouspagelink - * @param string $pagelink - * @param string $more_file - * @return string - */ -function link_pages($before='
        ', $after='
        ', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page', - $pagelink='%', $more_file='') { - _deprecated_function( __FUNCTION__, '2.1', 'wp_link_pages()' ); - - $args = compact('before', 'after', 'next_or_number', 'nextpagelink', 'previouspagelink', 'pagelink', 'more_file'); - return wp_link_pages($args); -} - -/** - * Get value based on option. - * - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_option() - * @see get_option() - * - * @param string $option - * @return string - */ -function get_settings($option) { - _deprecated_function( __FUNCTION__, '2.1', 'get_option()' ); - - return get_option($option); -} - -/** - * Print the permalink of the current post in the loop. - * - * @since 0.71 - * @deprecated 1.2.0 - * @deprecated Use the_permalink() - * @see the_permalink() - */ -function permalink_link() { - _deprecated_function( __FUNCTION__, '1.2', 'the_permalink()' ); - the_permalink(); -} - -/** - * Print the permalink to the RSS feed. - * - * @since 0.71 - * @deprecated 2.3.0 - * @deprecated Use the_permalink_rss() - * @see the_permalink_rss() - * - * @param string $deprecated - */ -function permalink_single_rss($deprecated = '') { - _deprecated_function( __FUNCTION__, '2.3', 'the_permalink_rss()' ); - the_permalink_rss(); -} - -/** - * Gets the links associated with category. - * - * @see get_links() for argument information that can be used in $args - * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use wp_list_bookmarks() - * @see wp_list_bookmarks() - * - * @param string $args a query string - * @return null|string - */ -function wp_get_links($args = '') { - _deprecated_function( __FUNCTION__, '2.1', 'wp_list_bookmarks()' ); - - if ( strpos( $args, '=' ) === false ) { - $cat_id = $args; - $args = add_query_arg( 'category', $cat_id, $args ); - } - - $defaults = array( - 'after' => '
        ', - 'before' => '', - 'between' => ' ', - 'categorize' => 0, - 'category' => '', - 'echo' => true, - 'limit' => -1, - 'orderby' => 'name', - 'show_description' => true, - 'show_images' => true, - 'show_rating' => false, - 'show_updated' => true, - 'title_li' => '', - ); - - $r = wp_parse_args( $args, $defaults ); - - return wp_list_bookmarks($r); -} - -/** - * Gets the links associated with category by id. - * - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() - * @see get_bookmarks() - * - * @param int $category The category to use. If no category supplied uses all - * @param string $before the html to output before the link - * @param string $after the html to output after the link - * @param string $between the html to output between the link/image and its description. - * Not used if no image or show_images == true - * @param bool $show_images whether to show images (if defined). - * @param string $orderby the order to output the links. E.g. 'id', 'name', 'url', - * 'description', or 'rating'. Or maybe owner. If you start the name with an - * underscore the order will be reversed. You can also specify 'rand' as the order - * which will return links in a random order. - * @param bool $show_description whether to show the description if show_images=false/not defined. - * @param bool $show_rating show rating stars/chars - * @param int $limit Limit to X entries. If not specified, all entries are shown. - * @param int $show_updated whether to show last updated timestamp - * @param bool $echo whether to echo the results, or return them instead - * @return null|string - */ -function get_links($category = -1, $before = '', $after = '
        ', $between = ' ', $show_images = true, $orderby = 'name', - $show_description = true, $show_rating = false, $limit = -1, $show_updated = 1, $echo = true) { - _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); - - $order = 'ASC'; - if ( substr($orderby, 0, 1) == '_' ) { - $order = 'DESC'; - $orderby = substr($orderby, 1); - } - - if ( $category == -1 ) //get_bookmarks uses '' to signify all categories - $category = ''; - - $results = get_bookmarks(array('category' => $category, 'orderby' => $orderby, 'order' => $order, 'show_updated' => $show_updated, 'limit' => $limit)); - - if ( !$results ) - return; - - $output = ''; - - foreach ( (array) $results as $row ) { - if ( !isset($row->recently_updated) ) - $row->recently_updated = false; - $output .= $before; - if ( $show_updated && $row->recently_updated ) - $output .= get_option('links_recently_updated_prepend'); - $the_link = '#'; - if ( !empty($row->link_url) ) - $the_link = esc_url($row->link_url); - $rel = $row->link_rel; - if ( '' != $rel ) - $rel = ' rel="' . $rel . '"'; - - $desc = esc_attr(sanitize_bookmark_field('link_description', $row->link_description, $row->link_id, 'display')); - $name = esc_attr(sanitize_bookmark_field('link_name', $row->link_name, $row->link_id, 'display')); - $title = $desc; - - if ( $show_updated ) - if (substr($row->link_updated_f, 0, 2) != '00') - $title .= ' ('.__('Last updated') . ' ' . date(get_option('links_updated_date_format'), $row->link_updated_f + (get_option('gmt_offset') * HOUR_IN_SECONDS)) . ')'; - - if ( '' != $title ) - $title = ' title="' . $title . '"'; - - $alt = ' alt="' . $name . '"'; - - $target = $row->link_target; - if ( '' != $target ) - $target = ' target="' . $target . '"'; - - $output .= ''; - - if ( $row->link_image != null && $show_images ) { - if ( strpos($row->link_image, 'http') !== false ) - $output .= "link_image\" $alt $title />"; - else // If it's a relative path - $output .= "link_image\" $alt $title />"; - } else { - $output .= $name; - } - - $output .= ''; - - if ( $show_updated && $row->recently_updated ) - $output .= get_option('links_recently_updated_append'); - - if ( $show_description && '' != $desc ) - $output .= $between . $desc; - - if ($show_rating) { - $output .= $between . get_linkrating($row); - } - - $output .= "$after\n"; - } // end while - - if ( !$echo ) - return $output; - echo $output; -} - -/** - * Output entire list of links by category. - * - * Output a list of all links, listed by category, using the settings in - * $wpdb->linkcategories and output it as a nested HTML unordered list. - * - * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use wp_list_bookmarks() - * @see wp_list_bookmarks() - * - * @param string $order Sort link categories by 'name' or 'id' - */ -function get_links_list($order = 'name') { - _deprecated_function( __FUNCTION__, '2.1', 'wp_list_bookmarks()' ); - - $order = strtolower($order); - - // Handle link category sorting - $direction = 'ASC'; - if ( '_' == substr($order,0,1) ) { - $direction = 'DESC'; - $order = substr($order,1); - } - - if ( !isset($direction) ) - $direction = ''; - - $cats = get_categories(array('type' => 'link', 'orderby' => $order, 'order' => $direction, 'hierarchical' => 0)); - - // Display each category - if ( $cats ) { - foreach ( (array) $cats as $cat ) { - // Handle each category. - - // Display the category name - echo '
      12. ' . apply_filters('link_category', $cat->name ) . "

        \n\t
          \n"; - // Call get_links() with all the appropriate params - get_links($cat->term_id, '
        • ', "
        • ", "\n", true, 'name', false); - - // Close the last category - echo "\n\t
        \n
      13. \n"; - } - } -} - -/** - * Show the link to the links popup and the number of links. - * - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated {@internal Use function instead is unknown}} - * - * @param string $text the text of the link - * @param int $width the width of the popup window - * @param int $height the height of the popup window - * @param string $file the page to open in the popup window - * @param bool $count the number of links in the db - */ -function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) { - _deprecated_function( __FUNCTION__, '2.1' ); -} - -/** - * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use sanitize_bookmark_field() - * @see sanitize_bookmark_field() - * - * @param object $link - * @return unknown - */ -function get_linkrating($link) { - _deprecated_function( __FUNCTION__, '2.1', 'sanitize_bookmark_field()' ); - return sanitize_bookmark_field('link_rating', $link->link_rating, $link->link_id, 'display'); -} - -/** - * Gets the name of category by id. - * - * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_category() - * @see get_category() - * - * @param int $id The category to get. If no category supplied uses 0 - * @return string - */ -function get_linkcatname($id = 0) { - _deprecated_function( __FUNCTION__, '2.1', 'get_category()' ); - - $id = (int) $id; - - if ( empty($id) ) - return ''; - - $cats = wp_get_link_cats($id); - - if ( empty($cats) || ! is_array($cats) ) - return ''; - - $cat_id = (int) $cats[0]; // Take the first cat. - - $cat = get_category($cat_id); - return $cat->name; -} - -/** - * Print RSS comment feed link. - * - * @since 1.0.1 - * @deprecated 2.5.0 - * @deprecated Use post_comments_feed_link() - * @see post_comments_feed_link() - * - * @param string $link_text - */ -function comments_rss_link($link_text = 'Comments RSS') { - _deprecated_function( __FUNCTION__, '2.5', 'post_comments_feed_link()' ); - post_comments_feed_link($link_text); -} - -/** - * Print/Return link to category RSS2 feed. - * - * @since 1.2.0 - * @deprecated 2.5.0 - * @deprecated Use get_category_feed_link() - * @see get_category_feed_link() - * - * @param bool $echo - * @param int $cat_ID - * @return string|null - */ -function get_category_rss_link($echo = false, $cat_ID = 1) { - _deprecated_function( __FUNCTION__, '2.5', 'get_category_feed_link()' ); - - $link = get_category_feed_link($cat_ID, 'rss2'); - - if ( $echo ) - echo $link; - return $link; -} - -/** - * Print/Return link to author RSS feed. - * - * @since 1.2.0 - * @deprecated 2.5.0 - * @deprecated Use get_author_feed_link() - * @see get_author_feed_link() - * - * @param bool $echo - * @param int $author_id - * @return string|null - */ -function get_author_rss_link($echo = false, $author_id = 1) { - _deprecated_function( __FUNCTION__, '2.5', 'get_author_feed_link()' ); - - $link = get_author_feed_link($author_id); - if ( $echo ) - echo $link; - return $link; -} - -/** - * Return link to the post RSS feed. - * - * @since 1.5.0 - * @deprecated 2.2.0 - * @deprecated Use get_post_comments_feed_link() - * @see get_post_comments_feed_link() - * - * @return string - */ -function comments_rss() { - _deprecated_function( __FUNCTION__, '2.2', 'get_post_comments_feed_link()' ); - return esc_url( get_post_comments_feed_link() ); -} - -/** - * An alias of wp_create_user(). - * - * @since 2.0.0 - * @deprecated 2.0.0 - * @deprecated Use wp_create_user() - * @see wp_create_user() - * - * @param string $username The user's username. - * @param string $password The user's password. - * @param string $email The user's email (optional). - * @return int The new user's ID. - */ -function create_user($username, $password, $email) { - _deprecated_function( __FUNCTION__, '2.0', 'wp_create_user()' ); - return wp_create_user($username, $password, $email); -} - -/** - * Unused function. - * - * @deprecated 2.5.0 -*/ -function gzip_compression() { - _deprecated_function( __FUNCTION__, '2.5' ); - return false; -} - -/** - * Retrieve an array of comment data about comment $comment_ID. - * - * @since 0.71 - * @deprecated 2.7.0 - * @deprecated Use get_comment() - * @see get_comment() - * - * @param int $comment_ID The ID of the comment - * @param int $no_cache Whether to use the cache (cast to bool) - * @param bool $include_unapproved Whether to include unapproved comments - * @return array The comment data - */ -function get_commentdata( $comment_ID, $no_cache = 0, $include_unapproved = false ) { - _deprecated_function( __FUNCTION__, '2.7', 'get_comment()' ); - return get_comment($comment_ID, ARRAY_A); -} - -/** - * Retrieve the category name by the category ID. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use get_cat_name() - * @see get_cat_name() - * - * @param int $cat_ID Category ID - * @return string category name - */ -function get_catname( $cat_ID ) { - _deprecated_function( __FUNCTION__, '2.8', 'get_cat_name()' ); - return get_cat_name( $cat_ID ); -} - -/** - * Retrieve category children list separated before and after the term IDs. - * - * @since 1.2.0 - * @deprecated 2.8.0 - * @deprecated Use get_term_children() - * @see get_term_children() - * - * @param int $id Category ID to retrieve children. - * @param string $before Optional. Prepend before category term ID. - * @param string $after Optional, default is empty string. Append after category term ID. - * @param array $visited Optional. Category Term IDs that have already been added. - * @return string - */ -function get_category_children( $id, $before = '/', $after = '', $visited = array() ) { - _deprecated_function( __FUNCTION__, '2.8', 'get_term_children()' ); - if ( 0 == $id ) - return ''; - - $chain = ''; - /** TODO: consult hierarchy */ - $cat_ids = get_all_category_ids(); - foreach ( (array) $cat_ids as $cat_id ) { - if ( $cat_id == $id ) - continue; - - $category = get_category( $cat_id ); - if ( is_wp_error( $category ) ) - return $category; - if ( $category->parent == $id && !in_array( $category->term_id, $visited ) ) { - $visited[] = $category->term_id; - $chain .= $before.$category->term_id.$after; - $chain .= get_category_children( $category->term_id, $before, $after ); - } - } - return $chain; -} - -/** - * Retrieves all category IDs. - * - * @since 2.0.0 - * @deprecated 4.0.0 Use get_terms() instead. - * @see get_terms() - * @link http://codex.wordpress.org/Function_Reference/get_all_category_ids - * - * @return object List of all of the category IDs. - */ -function get_all_category_ids() { - _deprecated_function( __FUNCTION__, '4.0', 'get_terms()' ); - - if ( ! $cat_ids = wp_cache_get( 'all_category_ids', 'category' ) ) { - $cat_ids = get_terms( 'category', array('fields' => 'ids', 'get' => 'all') ); - wp_cache_add( 'all_category_ids', $cat_ids, 'category' ); - } - - return $cat_ids; -} - -/** - * Retrieve the description of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('description') - * @see get_the_author_meta() - * - * @return string The author's description. - */ -function get_the_author_description() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'description\')' ); - return get_the_author_meta('description'); -} - -/** - * Display the description of the author of the current post. - * - * @since 1.0.0 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('description') - * @see the_author_meta() - */ -function the_author_description() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'description\')' ); - the_author_meta('description'); -} - -/** - * Retrieve the login name of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('login') - * @see get_the_author_meta() - * - * @return string The author's login name (username). - */ -function get_the_author_login() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'login\')' ); - return get_the_author_meta('login'); -} - -/** - * Display the login name of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('login') - * @see the_author_meta() - */ -function the_author_login() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'login\')' ); - the_author_meta('login'); -} - -/** - * Retrieve the first name of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('first_name') - * @see get_the_author_meta() - * - * @return string The author's first name. - */ -function get_the_author_firstname() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'first_name\')' ); - return get_the_author_meta('first_name'); -} - -/** - * Display the first name of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('first_name') - * @see the_author_meta() - */ -function the_author_firstname() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'first_name\')' ); - the_author_meta('first_name'); -} - -/** - * Retrieve the last name of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('last_name') - * @see get_the_author_meta() - * - * @return string The author's last name. - */ -function get_the_author_lastname() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'last_name\')' ); - return get_the_author_meta('last_name'); -} - -/** - * Display the last name of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('last_name') - * @see the_author_meta() - */ -function the_author_lastname() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'last_name\')' ); - the_author_meta('last_name'); -} - -/** - * Retrieve the nickname of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('nickname') - * @see get_the_author_meta() - * - * @return string The author's nickname. - */ -function get_the_author_nickname() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'nickname\')' ); - return get_the_author_meta('nickname'); -} - -/** - * Display the nickname of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('nickname') - * @see the_author_meta() - */ -function the_author_nickname() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'nickname\')' ); - the_author_meta('nickname'); -} - -/** - * Retrieve the email of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('email') - * @see get_the_author_meta() - * - * @return string The author's username. - */ -function get_the_author_email() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'email\')' ); - return get_the_author_meta('email'); -} - -/** - * Display the email of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('email') - * @see the_author_meta() - */ -function the_author_email() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'email\')' ); - the_author_meta('email'); -} - -/** - * Retrieve the ICQ number of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('icq') - * @see get_the_author_meta() - * - * @return string The author's ICQ number. - */ -function get_the_author_icq() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'icq\')' ); - return get_the_author_meta('icq'); -} - -/** - * Display the ICQ number of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('icq') - * @see the_author_meta() - */ -function the_author_icq() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'icq\')' ); - the_author_meta('icq'); -} - -/** - * Retrieve the Yahoo! IM name of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('yim') - * @see get_the_author_meta() - * - * @return string The author's Yahoo! IM name. - */ -function get_the_author_yim() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'yim\')' ); - return get_the_author_meta('yim'); -} - -/** - * Display the Yahoo! IM name of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('yim') - * @see the_author_meta() - */ -function the_author_yim() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'yim\')' ); - the_author_meta('yim'); -} - -/** - * Retrieve the MSN address of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('msn') - * @see get_the_author_meta() - * - * @return string The author's MSN address. - */ -function get_the_author_msn() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'msn\')' ); - return get_the_author_meta('msn'); -} - -/** - * Display the MSN address of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('msn') - * @see the_author_meta() - */ -function the_author_msn() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'msn\')' ); - the_author_meta('msn'); -} - -/** - * Retrieve the AIM address of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('aim') - * @see get_the_author_meta() - * - * @return string The author's AIM address. - */ -function get_the_author_aim() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'aim\')' ); - return get_the_author_meta('aim'); -} - -/** - * Display the AIM address of the author of the current post. - * - * @since 0.71 - * @see the_author_meta() - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('aim') - */ -function the_author_aim() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'aim\')' ); - the_author_meta('aim'); -} - -/** - * Retrieve the specified author's preferred display name. - * - * @since 1.0.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('display_name') - * @see get_the_author_meta() - * - * @param int $auth_id The ID of the author. - * @return string The author's display name. - */ -function get_author_name( $auth_id = false ) { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'display_name\')' ); - return get_the_author_meta('display_name', $auth_id); -} - -/** - * Retrieve the URL to the home page of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('url') - * @see get_the_author_meta() - * - * @return string The URL to the author's page. - */ -function get_the_author_url() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'url\')' ); - return get_the_author_meta('url'); -} - -/** - * Display the URL to the home page of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('url') - * @see the_author_meta() - */ -function the_author_url() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'url\')' ); - the_author_meta('url'); -} - -/** - * Retrieve the ID of the author of the current post. - * - * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('ID') - * @see get_the_author_meta() - * - * @return int The author's ID. - */ -function get_the_author_ID() { - _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'ID\')' ); - return get_the_author_meta('ID'); -} - -/** - * Display the ID of the author of the current post. - * - * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('ID') - * @see the_author_meta() -*/ -function the_author_ID() { - _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'ID\')' ); - the_author_meta('ID'); -} - -/** - * Display the post content for the feed. - * - * For encoding the html or the $encode_html parameter, there are three possible - * values. '0' will make urls footnotes and use make_url_footnote(). '1' will - * encode special characters and automatically display all of the content. The - * value of '2' will strip all HTML tags from the content. - * - * Also note that you cannot set the amount of words and not set the html - * encoding. If that is the case, then the html encoding will default to 2, - * which will strip all HTML tags. - * - * To restrict the amount of words of the content, you can use the cut - * parameter. If the content is less than the amount, then there won't be any - * dots added to the end. If there is content left over, then dots will be added - * and the rest of the content will be removed. - * - * @since 0.71 - * @uses apply_filters() Calls 'the_content_rss' on the content before processing. - * - * @deprecated 2.9.0 - * @deprecated Use the_content_feed() - * @see the_content_feed() - * - * @param string $more_link_text Optional. Text to display when more content is available but not displayed. - * @param int|bool $stripteaser Optional. Default is 0. - * @param string $more_file Optional. - * @param int $cut Optional. Amount of words to keep for the content. - * @param int $encode_html Optional. How to encode the content. - */ -function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { - _deprecated_function( __FUNCTION__, '2.9', 'the_content_feed' ); - $content = get_the_content($more_link_text, $stripteaser); - $content = apply_filters('the_content_rss', $content); - if ( $cut && !$encode_html ) - $encode_html = 2; - if ( 1== $encode_html ) { - $content = esc_html($content); - $cut = 0; - } elseif ( 0 == $encode_html ) { - $content = make_url_footnote($content); - } elseif ( 2 == $encode_html ) { - $content = strip_tags($content); - } - if ( $cut ) { - $blah = explode(' ', $content); - if ( count($blah) > $cut ) { - $k = $cut; - $use_dotdotdot = 1; - } else { - $k = count($blah); - $use_dotdotdot = 0; - } - - /** @todo Check performance, might be faster to use array slice instead. */ - for ( $i=0; $i<$k; $i++ ) - $excerpt .= $blah[$i].' '; - $excerpt .= ($use_dotdotdot) ? '...' : ''; - $content = $excerpt; - } - $content = str_replace(']]>', ']]>', $content); - echo $content; -} - -/** - * Strip HTML and put links at the bottom of stripped content. - * - * Searches for all of the links, strips them out of the content, and places - * them at the bottom of the content with numbers. - * - * @since 0.71 - * @deprecated 2.9.0 - * - * @param string $content Content to get links - * @return string HTML stripped out of content with links at the bottom. - */ -function make_url_footnote( $content ) { - _deprecated_function( __FUNCTION__, '2.9', '' ); - preg_match_all( '/(.+?)<\/a>/', $content, $matches ); - $links_summary = "\n"; - for ( $i=0; $ipost_type) || !$url = wp_get_attachment_url($_post->ID) ) - return __('Missing Attachment'); - - if ( $permalink ) - $url = get_attachment_link($_post->ID); - - $post_title = esc_attr($_post->post_title); - - $innerHTML = get_attachment_innerHTML($_post->ID, $fullsize, $max_dims); - return "$innerHTML"; -} - -/** - * Retrieve icon URL and Path. - * - * @since 2.1.0 - * @deprecated 2.5.0 - * @deprecated Use wp_get_attachment_image_src() - * @see wp_get_attachment_image_src() - * - * @param int $id Optional. Post ID. - * @param bool $fullsize Optional, default to false. Whether to have full image. - * @return array Icon URL and full path to file, respectively. - */ -function get_attachment_icon_src( $id = 0, $fullsize = false ) { - _deprecated_function( __FUNCTION__, '2.5', 'wp_get_attachment_image_src()' ); - $id = (int) $id; - if ( !$post = get_post($id) ) - return false; - - $file = get_attached_file( $post->ID ); - - if ( !$fullsize && $src = wp_get_attachment_thumb_url( $post->ID ) ) { - // We have a thumbnail desired, specified and existing - - $src_file = basename($src); - } elseif ( wp_attachment_is_image( $post->ID ) ) { - // We have an image without a thumbnail - - $src = wp_get_attachment_url( $post->ID ); - $src_file = & $file; - } elseif ( $src = wp_mime_type_icon( $post->ID ) ) { - // No thumb, no image. We'll look for a mime-related icon instead. - - $icon_dir = apply_filters( 'icon_dir', get_template_directory() . '/images' ); - $src_file = $icon_dir . '/' . basename($src); - } - - if ( !isset($src) || !$src ) - return false; - - return array($src, $src_file); -} - -/** - * Retrieve HTML content of icon attachment image element. - * - * @since 2.0.0 - * @deprecated 2.5.0 - * @deprecated Use wp_get_attachment_image() - * @see wp_get_attachment_image() - * - * @param int $id Optional. Post ID. - * @param bool $fullsize Optional, default to false. Whether to have full size image. - * @param array $max_dims Optional. Dimensions of image. - * @return string HTML content. - */ -function get_attachment_icon( $id = 0, $fullsize = false, $max_dims = false ) { - _deprecated_function( __FUNCTION__, '2.5', 'wp_get_attachment_image()' ); - $id = (int) $id; - if ( !$post = get_post($id) ) - return false; - - if ( !$src = get_attachment_icon_src( $post->ID, $fullsize ) ) - return false; - - list($src, $src_file) = $src; - - // Do we need to constrain the image? - if ( ($max_dims = apply_filters('attachment_max_dims', $max_dims)) && file_exists($src_file) ) { - - $imagesize = getimagesize($src_file); - - if (($imagesize[0] > $max_dims[0]) || $imagesize[1] > $max_dims[1] ) { - $actual_aspect = $imagesize[0] / $imagesize[1]; - $desired_aspect = $max_dims[0] / $max_dims[1]; - - if ( $actual_aspect >= $desired_aspect ) { - $height = $actual_aspect * $max_dims[0]; - $constraint = "width='{$max_dims[0]}' "; - $post->iconsize = array($max_dims[0], $height); - } else { - $width = $max_dims[1] / $actual_aspect; - $constraint = "height='{$max_dims[1]}' "; - $post->iconsize = array($width, $max_dims[1]); - } - } else { - $post->iconsize = array($imagesize[0], $imagesize[1]); - $constraint = ''; - } - } else { - $constraint = ''; - } - - $post_title = esc_attr($post->post_title); - - $icon = "$post_title"; - - return apply_filters( 'attachment_icon', $icon, $post->ID ); -} - -/** - * Retrieve HTML content of image element. - * - * @since 2.0.0 - * @deprecated 2.5.0 - * @deprecated Use wp_get_attachment_image() - * @see wp_get_attachment_image() - * - * @param int $id Optional. Post ID. - * @param bool $fullsize Optional, default to false. Whether to have full size image. - * @param array $max_dims Optional. Dimensions of image. - * @return string - */ -function get_attachment_innerHTML($id = 0, $fullsize = false, $max_dims = false) { - _deprecated_function( __FUNCTION__, '2.5', 'wp_get_attachment_image()' ); - $id = (int) $id; - if ( !$post = get_post($id) ) - return false; - - if ( $innerHTML = get_attachment_icon($post->ID, $fullsize, $max_dims)) - return $innerHTML; - - $innerHTML = esc_attr($post->post_title); - - return apply_filters('attachment_innerHTML', $innerHTML, $post->ID); -} - -/** - * Retrieve bookmark data based on ID. - * - * @since 2.0.0 - * @deprecated 2.1.0 - * @deprecated Use get_bookmark() - * @see get_bookmark() - * - * @param int $bookmark_id ID of link - * @param string $output OBJECT, ARRAY_N, or ARRAY_A - * @return object|array - */ -function get_link($bookmark_id, $output = OBJECT, $filter = 'raw') { - _deprecated_function( __FUNCTION__, '2.1', 'get_bookmark()' ); - return get_bookmark($bookmark_id, $output, $filter); -} - -/** - * Performs esc_url() for database or redirect usage. - * - * @since 2.3.1 - * @deprecated 2.8.0 - * @deprecated Use esc_url_raw() - * @see esc_url_raw() - * - * @param string $url The URL to be cleaned. - * @param array $protocols An array of acceptable protocols. - * @return string The cleaned URL. - */ -function sanitize_url( $url, $protocols = null ) { - _deprecated_function( __FUNCTION__, '2.8', 'esc_url_raw()' ); - return esc_url_raw( $url, $protocols ); -} - -/** - * Checks and cleans a URL. - * - * A number of characters are removed from the URL. If the URL is for displaying - * (the default behaviour) ampersands are also replaced. The 'clean_url' filter - * is applied to the returned cleaned URL. - * - * @since 1.2.0 - * @deprecated 3.0.0 - * @deprecated Use esc_url() - * @see Alias for esc_url() - * - * @param string $url The URL to be cleaned. - * @param array $protocols Optional. An array of acceptable protocols. - * @param string $context Optional. How the URL will be used. Default is 'display'. - * @return string The cleaned $url after the 'clean_url' filter is applied. - */ -function clean_url( $url, $protocols = null, $context = 'display' ) { - if ( $context == 'db' ) - _deprecated_function( 'clean_url( $context = \'db\' )', '3.0', 'esc_url_raw()' ); - else - _deprecated_function( __FUNCTION__, '3.0', 'esc_url()' ); - return esc_url( $url, $protocols, $context ); -} - -/** - * Escape single quotes, specialchar double quotes, and fix line endings. - * - * The filter 'js_escape' is also applied by esc_js() - * - * @since 2.0.4 - * @deprecated 2.8.0 - * @deprecated Use esc_js() - * @see esc_js() - * - * @param string $text The text to be escaped. - * @return string Escaped text. - */ -function js_escape( $text ) { - _deprecated_function( __FUNCTION__, '2.8', 'esc_js()' ); - return esc_js( $text ); -} - -/** - * Escaping for HTML blocks. - * - * @deprecated 2.8.0 - * @deprecated Use esc_html() - * @see esc_html() - */ -function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) { - _deprecated_function( __FUNCTION__, '2.8', 'esc_html()' ); - if ( func_num_args() > 1 ) { // Maintain backwards compat for people passing additional args - $args = func_get_args(); - return call_user_func_array( '_wp_specialchars', $args ); - } else { - return esc_html( $string ); - } -} - -/** - * Escaping for HTML attributes. - * - * @since 2.0.6 - * @deprecated 2.8.0 - * @deprecated Use esc_attr() - * @see esc_attr() - * - * @param string $text - * @return string - */ -function attribute_escape( $text ) { - _deprecated_function( __FUNCTION__, '2.8', 'esc_attr()' ); - return esc_attr( $text ); -} - -/** - * Register widget for sidebar with backwards compatibility. - * - * Allows $name to be an array that accepts either three elements to grab the - * first element and the third for the name or just uses the first element of - * the array for the name. - * - * Passes to {@link wp_register_sidebar_widget()} after argument list and - * backwards compatibility is complete. - * - * @since 2.2.0 - * @deprecated 2.8.0 - * @deprecated Use wp_register_sidebar_widget() - * @see wp_register_sidebar_widget() - * - * @param string|int $name Widget ID. - * @param callback $output_callback Run when widget is called. - * @param string $classname Classname widget option. - * @param mixed $params,... Widget parameters. - */ -function register_sidebar_widget($name, $output_callback, $classname = '') { - _deprecated_function( __FUNCTION__, '2.8', 'wp_register_sidebar_widget()' ); - // Compat - if ( is_array($name) ) { - if ( count($name) == 3 ) - $name = sprintf($name[0], $name[2]); - else - $name = $name[0]; - } - - $id = sanitize_title($name); - $options = array(); - if ( !empty($classname) && is_string($classname) ) - $options['classname'] = $classname; - $params = array_slice(func_get_args(), 2); - $args = array($id, $name, $output_callback, $options); - if ( !empty($params) ) - $args = array_merge($args, $params); - - call_user_func_array('wp_register_sidebar_widget', $args); -} - -/** - * Alias of {@link wp_unregister_sidebar_widget()}. - * - * @since 2.2.0 - * @deprecated 2.8.0 - * @deprecated Use wp_unregister_sidebar_widget() - * @see wp_unregister_sidebar_widget() - * - * @param int|string $id Widget ID. - */ -function unregister_sidebar_widget($id) { - _deprecated_function( __FUNCTION__, '2.8', 'wp_unregister_sidebar_widget()' ); - return wp_unregister_sidebar_widget($id); -} - -/** - * Registers widget control callback for customizing options. - * - * Allows $name to be an array that accepts either three elements to grab the - * first element and the third for the name or just uses the first element of - * the array for the name. - * - * Passes to {@link wp_register_widget_control()} after the argument list has - * been compiled. - * - * @since 2.2.0 - * @deprecated 2.8.0 - * @deprecated Use wp_register_widget_control() - * @see wp_register_widget_control() - * - * @param int|string $name Sidebar ID. - * @param callback $control_callback Widget control callback to display and process form. - * @param int $width Widget width. - * @param int $height Widget height. - */ -function register_widget_control($name, $control_callback, $width = '', $height = '') { - _deprecated_function( __FUNCTION__, '2.8', 'wp_register_widget_control()' ); - // Compat - if ( is_array($name) ) { - if ( count($name) == 3 ) - $name = sprintf($name[0], $name[2]); - else - $name = $name[0]; - } - - $id = sanitize_title($name); - $options = array(); - if ( !empty($width) ) - $options['width'] = $width; - if ( !empty($height) ) - $options['height'] = $height; - $params = array_slice(func_get_args(), 4); - $args = array($id, $name, $control_callback, $options); - if ( !empty($params) ) - $args = array_merge($args, $params); - - call_user_func_array('wp_register_widget_control', $args); -} - -/** - * Alias of {@link wp_unregister_widget_control()}. - * - * @since 2.2.0 - * @deprecated 2.8.0 - * @deprecated Use wp_unregister_widget_control() - * @see wp_unregister_widget_control() - * - * @param int|string $id Widget ID. - */ -function unregister_widget_control($id) { - _deprecated_function( __FUNCTION__, '2.8', 'wp_unregister_widget_control()' ); - return wp_unregister_widget_control($id); -} - -/** - * Remove user meta data. - * - * @since 2.0.0 - * @deprecated 3.0.0 - * @deprecated Use delete_user_meta() - * @see delete_user_meta() - * - * @param int $user_id User ID. - * @param string $meta_key Metadata key. - * @param mixed $meta_value Metadata value. - * @return bool True deletion completed and false if user_id is not a number. - */ -function delete_usermeta( $user_id, $meta_key, $meta_value = '' ) { - _deprecated_function( __FUNCTION__, '3.0', 'delete_user_meta()' ); - global $wpdb; - if ( !is_numeric( $user_id ) ) - return false; - $meta_key = preg_replace('|[^a-z0-9_]|i', '', $meta_key); - - if ( is_array($meta_value) || is_object($meta_value) ) - $meta_value = serialize($meta_value); - $meta_value = trim( $meta_value ); - - $cur = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s", $user_id, $meta_key) ); - - if ( $cur && $cur->umeta_id ) - do_action( 'delete_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value ); - - if ( ! empty($meta_value) ) - $wpdb->query( $wpdb->prepare("DELETE FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s AND meta_value = %s", $user_id, $meta_key, $meta_value) ); - else - $wpdb->query( $wpdb->prepare("DELETE FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s", $user_id, $meta_key) ); - - clean_user_cache( $user_id ); - wp_cache_delete( $user_id, 'user_meta' ); - - if ( $cur && $cur->umeta_id ) - do_action( 'deleted_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value ); - - return true; -} - -/** - * Retrieve user metadata. - * - * If $user_id is not a number, then the function will fail over with a 'false' - * boolean return value. Other returned values depend on whether there is only - * one item to be returned, which be that single item type. If there is more - * than one metadata value, then it will be list of metadata values. - * - * @since 2.0.0 - * @deprecated 3.0.0 - * @deprecated Use get_user_meta() - * @see get_user_meta() - * - * @param int $user_id User ID - * @param string $meta_key Optional. Metadata key. - * @return mixed - */ -function get_usermeta( $user_id, $meta_key = '' ) { - _deprecated_function( __FUNCTION__, '3.0', 'get_user_meta()' ); - global $wpdb; - $user_id = (int) $user_id; - - if ( !$user_id ) - return false; - - if ( !empty($meta_key) ) { - $meta_key = preg_replace('|[^a-z0-9_]|i', '', $meta_key); - $user = wp_cache_get($user_id, 'users'); - // Check the cached user object - if ( false !== $user && isset($user->$meta_key) ) - $metas = array($user->$meta_key); - else - $metas = $wpdb->get_col( $wpdb->prepare("SELECT meta_value FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s", $user_id, $meta_key) ); - } else { - $metas = $wpdb->get_col( $wpdb->prepare("SELECT meta_value FROM $wpdb->usermeta WHERE user_id = %d", $user_id) ); - } - - if ( empty($metas) ) { - if ( empty($meta_key) ) - return array(); - else - return ''; - } - - $metas = array_map('maybe_unserialize', $metas); - - if ( count($metas) == 1 ) - return $metas[0]; - else - return $metas; -} - -/** - * Update metadata of user. - * - * There is no need to serialize values, they will be serialized if it is - * needed. The metadata key can only be a string with underscores. All else will - * be removed. - * - * Will remove the metadata, if the meta value is empty. - * - * @since 2.0.0 - * @deprecated 3.0.0 - * @deprecated Use update_user_meta() - * @see update_user_meta() - * - * @param int $user_id User ID - * @param string $meta_key Metadata key. - * @param mixed $meta_value Metadata value. - * @return bool True on successful update, false on failure. - */ -function update_usermeta( $user_id, $meta_key, $meta_value ) { - _deprecated_function( __FUNCTION__, '3.0', 'update_user_meta()' ); - global $wpdb; - if ( !is_numeric( $user_id ) ) - return false; - $meta_key = preg_replace('|[^a-z0-9_]|i', '', $meta_key); - - /** @todo Might need fix because usermeta data is assumed to be already escaped */ - if ( is_string($meta_value) ) - $meta_value = stripslashes($meta_value); - $meta_value = maybe_serialize($meta_value); - - if (empty($meta_value)) { - return delete_usermeta($user_id, $meta_key); - } - - $cur = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->usermeta WHERE user_id = %d AND meta_key = %s", $user_id, $meta_key) ); - - if ( $cur ) - do_action( 'update_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value ); - - if ( !$cur ) - $wpdb->insert($wpdb->usermeta, compact('user_id', 'meta_key', 'meta_value') ); - else if ( $cur->meta_value != $meta_value ) - $wpdb->update($wpdb->usermeta, compact('meta_value'), compact('user_id', 'meta_key') ); - else - return false; - - clean_user_cache( $user_id ); - wp_cache_delete( $user_id, 'user_meta' ); - - if ( !$cur ) - do_action( 'added_usermeta', $wpdb->insert_id, $user_id, $meta_key, $meta_value ); - else - do_action( 'updated_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value ); - - return true; -} - -/** - * Get users for the blog. - * - * For setups that use the multi-blog feature. Can be used outside of the - * multi-blog feature. - * - * @since 2.2.0 - * @deprecated 3.1.0 - * @uses $wpdb WordPress database object for queries - * @uses $blog_id The Blog id of the blog for those that use more than one blog - * - * @param int $id Blog ID. - * @return array List of users that are part of that Blog ID - */ -function get_users_of_blog( $id = '' ) { - _deprecated_function( __FUNCTION__, '3.1', 'get_users()' ); - - global $wpdb, $blog_id; - if ( empty($id) ) - $id = (int) $blog_id; - $blog_prefix = $wpdb->get_blog_prefix($id); - $users = $wpdb->get_results( "SELECT user_id, user_id AS ID, user_login, display_name, user_email, meta_value FROM $wpdb->users, $wpdb->usermeta WHERE {$wpdb->users}.ID = {$wpdb->usermeta}.user_id AND meta_key = '{$blog_prefix}capabilities' ORDER BY {$wpdb->usermeta}.user_id" ); - return $users; -} - -/** - * Enable/disable automatic general feed link outputting. - * - * @since 2.8.0 - * @deprecated 3.0.0 - * @deprecated Use add_theme_support( 'automatic-feed-links' ) - * - * @param boolean $add Optional, default is true. Add or remove links. Defaults to true. - */ -function automatic_feed_links( $add = true ) { - _deprecated_function( __FUNCTION__, '3.0', "add_theme_support( 'automatic-feed-links' )" ); - - if ( $add ) - add_theme_support( 'automatic-feed-links' ); - else - remove_action( 'wp_head', 'feed_links_extra', 3 ); // Just do this yourself in 3.0+ -} - -/** - * Retrieve user data based on field. - * - * @since 1.5.0 - * @deprecated 3.0.0 - * @deprecated Use get_the_author_meta() - * @see get_the_author_meta() - */ -function get_profile( $field, $user = false ) { - _deprecated_function( __FUNCTION__, '3.0', 'get_the_author_meta()' ); - if ( $user ) { - $user = get_user_by( 'login', $user ); - $user = $user->ID; - } - return get_the_author_meta( $field, $user ); -} - -/** - * Number of posts user has written. - * - * @since 0.71 - * @deprecated 3.0.0 - * @deprecated Use count_user_posts() - * @see count_user_posts() - */ -function get_usernumposts( $userid ) { - _deprecated_function( __FUNCTION__, '3.0', 'count_user_posts()' ); - return count_user_posts( $userid ); -} - -/** - * Callback used to change %uXXXX to &#YYY; syntax - * - * @since 2.8.0 - * @access private - * @deprecated 3.0.0 - * - * @param array $matches Single Match - * @return string An HTML entity - */ -function funky_javascript_callback($matches) { - return "&#".base_convert($matches[1],16,10).";"; -} - -/** - * Fixes javascript bugs in browsers. - * - * Converts unicode characters to HTML numbered entities. - * - * @since 1.5.0 - * @uses $is_macIE - * @uses $is_winIE - * @deprecated 3.0.0 - * - * @param string $text Text to be made safe. - * @return string Fixed text. - */ -function funky_javascript_fix($text) { - _deprecated_function( __FUNCTION__, '3.0' ); - // Fixes for browsers' javascript bugs - global $is_macIE, $is_winIE; - - if ( $is_winIE || $is_macIE ) - $text = preg_replace_callback("/\%u([0-9A-F]{4,4})/", - "funky_javascript_callback", - $text); - - return $text; -} - -/** - * Checks that the taxonomy name exists. - * - * @since 2.3.0 - * @deprecated 3.0.0 - * @deprecated Use taxonomy_exists() - * @see taxonomy_exists() - * - * @param string $taxonomy Name of taxonomy object - * @return bool Whether the taxonomy exists. - */ -function is_taxonomy( $taxonomy ) { - _deprecated_function( __FUNCTION__, '3.0', 'taxonomy_exists()' ); - return taxonomy_exists( $taxonomy ); -} - -/** - * Check if Term exists. - * - * @since 2.3.0 - * @deprecated 3.0.0 - * @deprecated Use term_exists() - * @see term_exists() - * - * @param int|string $term The term to check - * @param string $taxonomy The taxonomy name to use - * @param int $parent ID of parent term under which to confine the exists search. - * @return mixed Get the term id or Term Object, if exists. - */ -function is_term( $term, $taxonomy = '', $parent = 0 ) { - _deprecated_function( __FUNCTION__, '3.0', 'term_exists()' ); - return term_exists( $term, $taxonomy, $parent ); -} - -/** - * Is the current admin page generated by a plugin? - * - * @since 1.5.0 - * @deprecated 3.1.0 - * @deprecated Use global $plugin_page and/or get_plugin_page_hookname() hooks. - * - * @global $plugin_page - * - * @return bool - */ -function is_plugin_page() { - _deprecated_function( __FUNCTION__, '3.1' ); - - global $plugin_page; - - if ( isset($plugin_page) ) - return true; - - return false; -} - -/** - * Update the categories cache. - * - * This function does not appear to be used anymore or does not appear to be - * needed. It might be a legacy function left over from when there was a need - * for updating the category cache. - * - * @since 1.5.0 - * @deprecated 3.1.0 - * - * @return bool Always return True - */ -function update_category_cache() { - _deprecated_function( __FUNCTION__, '3.1' ); - - return true; -} - -/** - * Check for PHP timezone support - * - * @since 2.9.0 - * @deprecated 3.2.0 - * - * @return bool - */ -function wp_timezone_supported() { - _deprecated_function( __FUNCTION__, '3.2' ); - - return true; -} - -/** - * Display editor: TinyMCE, HTML, or both. - * - * @since 2.1.0 - * @deprecated 3.3.0 - * @deprecated Use wp_editor() - * @see wp_editor() - * - * @param string $content Textarea content. - * @param string $id Optional, default is 'content'. HTML ID attribute value. - * @param string $prev_id Optional, not used - * @param bool $media_buttons Optional, default is true. Whether to display media buttons. - * @param int $tab_index Optional, not used - */ -function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2, $extended = true) { - _deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' ); - - wp_editor( $content, $id, array( 'media_buttons' => $media_buttons ) ); - return; -} - -/** - * Perform the query to get the $metavalues array(s) needed by _fill_user and _fill_many_users - * - * @since 3.0.0 - * @deprecated 3.3.0 - * - * @param array $ids User ID numbers list. - * @return array of arrays. The array is indexed by user_id, containing $metavalues object arrays. - */ -function get_user_metavalues($ids) { - _deprecated_function( __FUNCTION__, '3.3' ); - - $objects = array(); - - $ids = array_map('intval', $ids); - foreach ( $ids as $id ) - $objects[$id] = array(); - - $metas = update_meta_cache('user', $ids); - - foreach ( $metas as $id => $meta ) { - foreach ( $meta as $key => $metavalues ) { - foreach ( $metavalues as $value ) { - $objects[$id][] = (object)array( 'user_id' => $id, 'meta_key' => $key, 'meta_value' => $value); - } - } - } - - return $objects; -} - -/** - * Sanitize every user field. - * - * If the context is 'raw', then the user object or array will get minimal santization of the int fields. - * - * @since 2.3.0 - * @deprecated 3.3.0 - * - * @param object|array $user The User Object or Array - * @param string $context Optional, default is 'display'. How to sanitize user fields. - * @return object|array The now sanitized User Object or Array (will be the same type as $user) - */ -function sanitize_user_object($user, $context = 'display') { - _deprecated_function( __FUNCTION__, '3.3' ); - - if ( is_object($user) ) { - if ( !isset($user->ID) ) - $user->ID = 0; - if ( !is_a( $user, 'WP_User' ) ) { - $vars = get_object_vars($user); - foreach ( array_keys($vars) as $field ) { - if ( is_string($user->$field) || is_numeric($user->$field) ) - $user->$field = sanitize_user_field($field, $user->$field, $user->ID, $context); - } - } - $user->filter = $context; - } else { - if ( !isset($user['ID']) ) - $user['ID'] = 0; - foreach ( array_keys($user) as $field ) - $user[$field] = sanitize_user_field($field, $user[$field], $user['ID'], $context); - $user['filter'] = $context; - } - - return $user; -} - -/** - * Get boundary post relational link. - * - * Can either be start or end post relational link. - * - * @since 2.8.0 - * @deprecated 3.3.0 - * - * @param string $title Optional. Link title format. - * @param bool $in_same_cat Optional. Whether link should be in a same category. - * @param string $excluded_categories Optional. Excluded categories IDs. - * @param bool $start Optional, default is true. Whether to display link to first or last post. - * @return string - */ -function get_boundary_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '', $start = true) { - _deprecated_function( __FUNCTION__, '3.3' ); - - $posts = get_boundary_post($in_same_cat, $excluded_categories, $start); - // If there is no post stop. - if ( empty($posts) ) - return; - - // Even though we limited get_posts to return only 1 item it still returns an array of objects. - $post = $posts[0]; - - if ( empty($post->post_title) ) - $post->post_title = $start ? __('First Post') : __('Last Post'); - - $date = mysql2date(get_option('date_format'), $post->post_date); - - $title = str_replace('%title', $post->post_title, $title); - $title = str_replace('%date', $date, $title); - $title = apply_filters('the_title', $title, $post->ID); - - $link = $start ? "\n"; - - $boundary = $start ? 'start' : 'end'; - return apply_filters( "{$boundary}_post_rel_link", $link ); -} - -/** - * Display relational link for the first post. - * - * @since 2.8.0 - * @deprecated 3.3.0 - * - * @param string $title Optional. Link title format. - * @param bool $in_same_cat Optional. Whether link should be in a same category. - * @param string $excluded_categories Optional. Excluded categories IDs. - */ -function start_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '') { - _deprecated_function( __FUNCTION__, '3.3' ); - - echo get_boundary_post_rel_link($title, $in_same_cat, $excluded_categories, true); -} - -/** - * Get site index relational link. - * - * @since 2.8.0 - * @deprecated 3.3.0 - * - * @return string - */ -function get_index_rel_link() { - _deprecated_function( __FUNCTION__, '3.3' ); - - $link = "\n"; - return apply_filters( "index_rel_link", $link ); -} - -/** - * Display relational link for the site index. - * - * @since 2.8.0 - * @deprecated 3.3.0 - */ -function index_rel_link() { - _deprecated_function( __FUNCTION__, '3.3' ); - - echo get_index_rel_link(); -} - -/** - * Get parent post relational link. - * - * @since 2.8.0 - * @deprecated 3.3.0 - * - * @param string $title Optional. Link title format. - * @return string - */ -function get_parent_post_rel_link($title = '%title') { - _deprecated_function( __FUNCTION__, '3.3' ); - - if ( ! empty( $GLOBALS['post'] ) && ! empty( $GLOBALS['post']->post_parent ) ) - $post = get_post($GLOBALS['post']->post_parent); - - if ( empty($post) ) - return; - - $date = mysql2date(get_option('date_format'), $post->post_date); - - $title = str_replace('%title', $post->post_title, $title); - $title = str_replace('%date', $date, $title); - $title = apply_filters('the_title', $title, $post->ID); - - $link = "\n"; - - return apply_filters( "parent_post_rel_link", $link ); -} - -/** - * Display relational link for parent item - * - * @since 2.8.0 - * @deprecated 3.3.0 - */ -function parent_post_rel_link($title = '%title') { - _deprecated_function( __FUNCTION__, '3.3' ); - - echo get_parent_post_rel_link($title); -} - -/** - * Add the "Dashboard"/"Visit Site" menu. - * - * @since 3.2.0 - * @deprecated 3.3.0 - */ -function wp_admin_bar_dashboard_view_site_menu( $wp_admin_bar ) { - _deprecated_function( __FUNCTION__, '3.3' ); - - $user_id = get_current_user_id(); - - if ( 0 != $user_id ) { - if ( is_admin() ) - $wp_admin_bar->add_menu( array( 'id' => 'view-site', 'title' => __( 'Visit Site' ), 'href' => home_url() ) ); - elseif ( is_multisite() ) - $wp_admin_bar->add_menu( array( 'id' => 'dashboard', 'title' => __( 'Dashboard' ), 'href' => get_dashboard_url( $user_id ) ) ); - else - $wp_admin_bar->add_menu( array( 'id' => 'dashboard', 'title' => __( 'Dashboard' ), 'href' => admin_url() ) ); - } -} - -/** - * Checks if the current user belong to a given blog. - * - * @since MU - * @deprecated 3.3.0 - * @deprecated Use is_user_member_of_blog() - * @see is_user_member_of_blog() - * - * @param int $blog_id Blog ID - * @return bool True if the current users belong to $blog_id, false if not. - */ -function is_blog_user( $blog_id = 0 ) { - _deprecated_function( __FUNCTION__, '3.3', 'is_user_member_of_blog()' ); - - return is_user_member_of_blog( get_current_user_id(), $blog_id ); -} - -/** - * Open the file handle for debugging. - * - * @since 0.71 - * @deprecated Use error_log() - * @link http://www.php.net/manual/en/function.error-log.php - * @deprecated 3.4.0 - */ -function debug_fopen( $filename, $mode ) { - _deprecated_function( __FUNCTION__, 'error_log()' ); - return false; -} - -/** - * Write contents to the file used for debugging. - * - * @since 0.71 - * @deprecated Use error_log() instead. - * @link http://www.php.net/manual/en/function.error-log.php - * @deprecated 3.4.0 - */ -function debug_fwrite( $fp, $string ) { - _deprecated_function( __FUNCTION__, 'error_log()' ); - if ( ! empty( $GLOBALS['debug'] ) ) - error_log( $string ); -} - -/** - * Close the debugging file handle. - * - * @since 0.71 - * @deprecated Use error_log() - * @link http://www.php.net/manual/en/function.error-log.php - * @deprecated 3.4.0 - */ -function debug_fclose( $fp ) { - _deprecated_function( __FUNCTION__, 'error_log()' ); -} - -/** - * Retrieve list of themes with theme data in theme directory. - * - * The theme is broken, if it doesn't have a parent theme and is missing either - * style.css and, or index.php. If the theme has a parent theme then it is - * broken, if it is missing style.css; index.php is optional. - * - * @since 1.5.0 - * @deprecated 3.4.0 - * @deprecated Use wp_get_themes() - * @see wp_get_themes() - * - * @return array Theme list with theme data. - */ -function get_themes() { - _deprecated_function( __FUNCTION__, '3.4', 'wp_get_themes()' ); - - global $wp_themes; - if ( isset( $wp_themes ) ) - return $wp_themes; - - $themes = wp_get_themes(); - $wp_themes = array(); - - foreach ( $themes as $theme ) { - $name = $theme->get('Name'); - if ( isset( $wp_themes[ $name ] ) ) - $wp_themes[ $name . '/' . $theme->get_stylesheet() ] = $theme; - else - $wp_themes[ $name ] = $theme; - } - - return $wp_themes; -} - -/** - * Retrieve theme data. - * - * @since 1.5.0 - * @deprecated 3.4.0 - * @deprecated Use wp_get_theme() - * @see wp_get_theme() - * - * @param string $theme Theme name. - * @return array|null Null, if theme name does not exist. Theme data, if exists. - */ -function get_theme( $theme ) { - _deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme( $stylesheet )' ); - - $themes = get_themes(); - if ( is_array( $themes ) && array_key_exists( $theme, $themes ) ) - return $themes[ $theme ]; - return null; -} - -/** - * Retrieve current theme name. - * - * @since 1.5.0 - * @deprecated 3.4.0 - * @deprecated Use (string) wp_get_theme() - * @see wp_get_theme() - * - * @return string - */ -function get_current_theme() { - _deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme()' ); - - if ( $theme = get_option( 'current_theme' ) ) - return $theme; - - return wp_get_theme()->get('Name'); -} - -/** - * Accepts matches array from preg_replace_callback in wpautop() or a string. - * - * Ensures that the contents of a <
        >...<
        > HTML block are not - * converted into paragraphs or line-breaks. - * - * @since 1.2.0 - * @deprecated 3.4.0 - * - * @param array|string $matches The array or string - * @return string The pre block without paragraph/line-break conversion. - */ -function clean_pre($matches) { - _deprecated_function( __FUNCTION__, '3.4' ); - - if ( is_array($matches) ) - $text = $matches[1] . $matches[2] . ""; - else - $text = $matches; - - $text = str_replace(array('
        ', '
        ', '
        '), array('', '', ''), $text); - $text = str_replace('

        ', "\n", $text); - $text = str_replace('

        ', '', $text); - - return $text; -} - - -/** - * Add callbacks for image header display. - * - * @since 2.1.0 - * @deprecated 3.4.0 - * @deprecated Use add_theme_support('custom-header', $args) - * @see add_theme_support() - * - * @param callback $wp_head_callback Call on 'wp_head' action. - * @param callback $admin_head_callback Call on custom header administration screen. - * @param callback $admin_preview_callback Output a custom header image div on the custom header administration screen. Optional. - */ -function add_custom_image_header( $wp_head_callback, $admin_head_callback, $admin_preview_callback = '' ) { - _deprecated_function( __FUNCTION__, '3.4', 'add_theme_support( \'custom-header\', $args )' ); - $args = array( - 'wp-head-callback' => $wp_head_callback, - 'admin-head-callback' => $admin_head_callback, - ); - if ( $admin_preview_callback ) - $args['admin-preview-callback'] = $admin_preview_callback; - return add_theme_support( 'custom-header', $args ); -} - -/** - * Remove image header support. - * - * @since 3.1.0 - * @deprecated 3.4.0 - * @deprecated Use remove_theme_support('custom-header') - * @see remove_theme_support() - * - * @return bool Whether support was removed. - */ -function remove_custom_image_header() { - _deprecated_function( __FUNCTION__, '3.4', 'remove_theme_support( \'custom-header\' )' ); - return remove_theme_support( 'custom-header' ); -} - -/** - * Add callbacks for background image display. - * - * @since 3.0.0 - * @deprecated 3.4.0 - * @deprecated Use add_theme_support('custom-background, $args) - * @see add_theme_support() - * - * @param callback $wp_head_callback Call on 'wp_head' action. - * @param callback $admin_head_callback Call on custom background administration screen. - * @param callback $admin_preview_callback Output a custom background image div on the custom background administration screen. Optional. - */ -function add_custom_background( $wp_head_callback = '', $admin_head_callback = '', $admin_preview_callback = '' ) { - _deprecated_function( __FUNCTION__, '3.4', 'add_theme_support( \'custom-background\', $args )' ); - $args = array(); - if ( $wp_head_callback ) - $args['wp-head-callback'] = $wp_head_callback; - if ( $admin_head_callback ) - $args['admin-head-callback'] = $admin_head_callback; - if ( $admin_preview_callback ) - $args['admin-preview-callback'] = $admin_preview_callback; - return add_theme_support( 'custom-background', $args ); -} - -/** - * Remove custom background support. - * - * @since 3.1.0 - * @see add_custom_background() - * - * @return bool Whether support was removed. - */ -function remove_custom_background() { - _deprecated_function( __FUNCTION__, '3.4', 'remove_theme_support( \'custom-background\' )' ); - return remove_theme_support( 'custom-background' ); -} - -/** - * Retrieve theme data from parsed theme file. - * - * @since 1.5.0 - * @deprecated 3.4.0 - * @deprecated Use wp_get_theme() - * @see wp_get_theme() - * - * @param string $theme_file Theme file path. - * @return array Theme data. - */ -function get_theme_data( $theme_file ) { - _deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme()' ); - $theme = new WP_Theme( basename( dirname( $theme_file ) ), dirname( dirname( $theme_file ) ) ); - - $theme_data = array( - 'Name' => $theme->get('Name'), - 'URI' => $theme->display('ThemeURI', true, false), - 'Description' => $theme->display('Description', true, false), - 'Author' => $theme->display('Author', true, false), - 'AuthorURI' => $theme->display('AuthorURI', true, false), - 'Version' => $theme->get('Version'), - 'Template' => $theme->get('Template'), - 'Status' => $theme->get('Status'), - 'Tags' => $theme->get('Tags'), - 'Title' => $theme->get('Name'), - 'AuthorName' => $theme->get('Author'), - ); - - foreach ( apply_filters( 'extra_theme_headers', array() ) as $extra_header ) { - if ( ! isset( $theme_data[ $extra_header ] ) ) - $theme_data[ $extra_header ] = $theme->get( $extra_header ); - } - - return $theme_data; -} - -/** - * Alias of update_post_cache(). - * - * @see update_post_cache() Posts and pages are the same, alias is intentional - * - * @since 1.5.1 - * @deprecated 3.4.0 - * - * @param array $pages list of page objects - */ -function update_page_cache( &$pages ) { - _deprecated_function( __FUNCTION__, '3.4', 'update_post_cache()' ); - - update_post_cache( $pages ); -} - -/** - * Will clean the page in the cache. - * - * Clean (read: delete) page from cache that matches $id. Will also clean cache - * associated with 'all_page_ids' and 'get_pages'. - * - * @since 2.0.0 - * @deprecated 3.4.0 - * - * @uses do_action() Will call the 'clean_page_cache' hook action. - * - * @param int $id Page ID to clean - */ -function clean_page_cache( $id ) { - _deprecated_function( __FUNCTION__, '3.4', 'clean_post_cache()' ); - - clean_post_cache( $id ); -} - -/** - * Retrieve nonce action "Are you sure" message. - * - * Deprecated in 3.4.1 and 3.5.0. Backported to 3.3.3. - * - * @since 2.0.4 - * @deprecated 3.4.1 - * @deprecated Use wp_nonce_ays() - * @see wp_nonce_ays() - * - * @param string $action Nonce action. - * @return string Are you sure message. - */ -function wp_explain_nonce( $action ) { - _deprecated_function( __FUNCTION__, '3.4.1', 'wp_nonce_ays()' ); - return __( 'Are you sure you want to do this?' ); -} - -/** - * Display "sticky" CSS class, if a post is sticky. - * - * @since 2.7.0 - * @deprecated 3.5.0 - * @deprecated Use post_class() - * @see post_class() - * - * @param int $post_id An optional post ID. - */ -function sticky_class( $post_id = null ) { - _deprecated_function( __FUNCTION__, '3.5', 'post_class()' ); - if ( is_sticky( $post_id ) ) - echo ' sticky'; -} - -/** - * Retrieve post ancestors. - * - * This is no longer needed as WP_Post lazy-loads the ancestors - * property with get_post_ancestors(). - * - * @since 2.3.4 - * @deprecated 3.5.0 - * @see get_post_ancestors() - */ -function _get_post_ancestors( &$post ) { - _deprecated_function( __FUNCTION__, '3.5' ); -} - -/** - * Load an image from a string, if PHP supports it. - * - * @since 2.1.0 - * @deprecated 3.5.0 - * @see wp_get_image_editor() - * - * @param string $file Filename of the image to load. - * @return resource The resulting image resource on success, Error string on failure. - */ -function wp_load_image( $file ) { - _deprecated_function( __FUNCTION__, '3.5', 'wp_get_image_editor()' ); - - if ( is_numeric( $file ) ) - $file = get_attached_file( $file ); - - if ( ! is_file( $file ) ) - return sprintf(__('File “%s” doesn’t exist?'), $file); - - if ( ! function_exists('imagecreatefromstring') ) - return __('The GD image library is not installed.'); - - // Set artificially high because GD uses uncompressed images in memory - @ini_set( 'memory_limit', apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ) ); - $image = imagecreatefromstring( file_get_contents( $file ) ); - - if ( !is_resource( $image ) ) - return sprintf(__('File “%s” is not an image.'), $file); - - return $image; -} - -/** - * Scale down an image to fit a particular size and save a new copy of the image. - * - * The PNG transparency will be preserved using the function, as well as the - * image type. If the file going in is PNG, then the resized image is going to - * be PNG. The only supported image types are PNG, GIF, and JPEG. - * - * Some functionality requires API to exist, so some PHP version may lose out - * support. This is not the fault of WordPress (where functionality is - * downgraded, not actual defects), but of your PHP version. - * - * @since 2.5.0 - * @deprecated 3.5.0 - * @see wp_get_image_editor() - * - * @param string $file Image file path. - * @param int $max_w Maximum width to resize to. - * @param int $max_h Maximum height to resize to. - * @param bool $crop Optional. Whether to crop image or resize. - * @param string $suffix Optional. File suffix. - * @param string $dest_path Optional. New image file path. - * @param int $jpeg_quality Optional, default is 90. Image quality percentage. - * @return mixed WP_Error on failure. String with new destination path. - */ -function image_resize( $file, $max_w, $max_h, $crop = false, $suffix = null, $dest_path = null, $jpeg_quality = 90 ) { - _deprecated_function( __FUNCTION__, '3.5', 'wp_get_image_editor()' ); - - $editor = wp_get_image_editor( $file ); - if ( is_wp_error( $editor ) ) - return $editor; - $editor->set_quality( $jpeg_quality ); - - $resized = $editor->resize( $max_w, $max_h, $crop ); - if ( is_wp_error( $resized ) ) - return $resized; - - $dest_file = $editor->generate_filename( $suffix, $dest_path ); - $saved = $editor->save( $dest_file ); - - if ( is_wp_error( $saved ) ) - return $saved; - - return $dest_file; -} - -/** - * Retrieve a single post, based on post ID. - * - * Has categories in 'post_category' property or key. Has tags in 'tags_input' - * property or key. - * - * @since 1.0.0 - * @deprecated 3.5.0 - * @see get_post() - * - * @param int $postid Post ID. - * @param string $mode How to return result, either OBJECT, ARRAY_N, or ARRAY_A. - * @return object|array Post object or array holding post contents and information - */ -function wp_get_single_post( $postid = 0, $mode = OBJECT ) { - _deprecated_function( __FUNCTION__, '3.5', 'get_post()' ); - return get_post( $postid, $mode ); -} - -/** - * Check that the user login name and password is correct. - * - * @since 0.71 - * @deprecated 3.5.0 - * @deprecated Use wp_authenticate() - * @see wp_authenticate() - * - * @param string $user_login User name. - * @param string $user_pass User password. - * @return bool False if does not authenticate, true if username and password authenticates. - */ -function user_pass_ok($user_login, $user_pass) { - _deprecated_function( __FUNCTION__, '3.5', 'wp_authenticate()' ); - $user = wp_authenticate( $user_login, $user_pass ); - if ( is_wp_error( $user ) ) - return false; - - return true; -} - -/** - * Callback formerly fired on the save_post hook. No longer needed. - * - * @since 2.3.0 - * @deprecated 3.5.0 - */ -function _save_post_hook() {} - -/** - * Check if the installed version of GD supports particular image type - * - * @since 2.9.0 - * @deprecated 3.5.0 - * @see wp_image_editor_supports() - * - * @param string $mime_type - * @return bool - */ -function gd_edit_image_support($mime_type) { - _deprecated_function( __FUNCTION__, '3.5', 'wp_image_editor_supports()' ); - - if ( function_exists('imagetypes') ) { - switch( $mime_type ) { - case 'image/jpeg': - return (imagetypes() & IMG_JPG) != 0; - case 'image/png': - return (imagetypes() & IMG_PNG) != 0; - case 'image/gif': - return (imagetypes() & IMG_GIF) != 0; - } - } else { - switch( $mime_type ) { - case 'image/jpeg': - return function_exists('imagecreatefromjpeg'); - case 'image/png': - return function_exists('imagecreatefrompng'); - case 'image/gif': - return function_exists('imagecreatefromgif'); - } - } - return false; -} - -/** - * Converts an integer byte value to a shorthand byte value. - * - * @since 2.3.0 - * @deprecated 3.6.0 - * @deprecated Use size_format() - * - * @param int $bytes An integer byte value. - * @return string A shorthand byte value. - */ -function wp_convert_bytes_to_hr( $bytes ) { - _deprecated_function( __FUNCTION__, '3.6', 'size_format()' ); - - $units = array( 0 => 'B', 1 => 'kB', 2 => 'MB', 3 => 'GB', 4 => 'TB' ); - $log = log( $bytes, 1024 ); - $power = (int) $log; - $size = pow( 1024, $log - $power ); - - if ( ! is_nan( $size ) && array_key_exists( $power, $units ) ) { - $unit = $units[ $power ]; - } else { - $size = $bytes; - $unit = $units[0]; - } - - return $size . $unit; -} - -/** - * Formerly used internally to tidy up the search terms. - * - * @access private - * @since 2.9.0 - * @deprecated 3.7.0 - */ -function _search_terms_tidy( $t ) { - _deprecated_function( __FUNCTION__, '3.7' ); - return trim( $t, "\"'\n\r " ); -} - -/** - * Determine if TinyMCE is available. - * - * Checks to see if the user has deleted the tinymce files to slim down - * their WordPress install. - * - * @since 2.1.0 - * @deprecated 3.9.0 - * - * @return bool Whether TinyMCE exists. - */ -function rich_edit_exists() { - global $wp_rich_edit_exists; - _deprecated_function( __FUNCTION__, '3.9' ); - - if ( ! isset( $wp_rich_edit_exists ) ) - $wp_rich_edit_exists = file_exists( ABSPATH . WPINC . '/js/tinymce/tinymce.js' ); - - return $wp_rich_edit_exists; -} - -/** - * Old callback for tag link tooltips. - * - * @since 2.7.0 - * @deprecated 3.9.0 - * @access private - */ -function default_topic_count_text( $count ) { - return $count; -} - -/** - * Formerly used to escape strings before inserting into the DB. - * - * Has not performed this function for many, many years. Use wpdb::prepare() instead. - * - * @since 0.71 - * @deprecated 3.9.0 - * - * @param string $content The text to format. - * @return string The very same text. - */ -function format_to_post( $content ) { - _deprecated_function( __FUNCTION__, '3.9' ); - return $content; -} - -/** - * Formerly used to escape strings before searching the DB. It was poorly documented and never worked as described. - * - * @since 2.5.0 - * @deprecated 4.0.0 - * @deprecated Use wpdb::esc_like() - * - * @param string $text The text to be escaped. - * @return string text, safe for inclusion in LIKE query. - */ -function like_escape($text) { - _deprecated_function( __FUNCTION__, '4.0', 'wpdb::esc_like()' ); - return str_replace( array( "%", "_" ), array( "\\%", "\\_" ), $text ); -} - -/** - * Determines if the URL can be accessed over SSL. - * - * Determines if the URL can be accessed over SSL by using the WordPress HTTP API to access - * the URL using https as the scheme. - * - * @since 2.5.0 - * @deprecated 4.0.0 - * - * @param string $url The URL to test. - * @return bool Whether SSL access is available. - */ -function url_is_accessable_via_ssl( $url ) { - _deprecated_function( __FUNCTION__, '4.0' ); - - $response = wp_remote_get( set_url_scheme( $url, 'https' ) ); - - if ( !is_wp_error( $response ) ) { - $status = wp_remote_retrieve_response_code( $response ); - if ( 200 == $status || 401 == $status ) { - return true; - } - } - - return false; -} diff --git a/sources/wordpress/wp-includes/feed-atom-comments.php b/sources/wordpress/wp-includes/feed-atom-comments.php deleted file mode 100644 index d9c8f65..0000000 --- a/sources/wordpress/wp-includes/feed-atom-comments.php +++ /dev/null @@ -1,115 +0,0 @@ -'; - -/** This action is documented in wp-includes/feed-rss2.php */ -do_action( 'rss_tag_pre', 'atom-comments' ); -?> - -> - <?php - if ( is_singular() ) - printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() ); - elseif ( is_search() ) - printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); - else - printf( ent2ncr( __( 'Comments for %s' ) ), get_bloginfo_rss( 'name' ) . get_wp_title_rss() ); - ?> - - - - - - - - - - - - - - - - - - -comment_post_ID ); -?> - - <?php - if ( !is_singular() ) { - $title = get_the_title($comment_post->ID); - /** This filter is documented in wp-includes/feed.php */ - $title = apply_filters( 'the_title_rss', $title ); - printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss()); - } else { - printf(ent2ncr(__('By: %s')), get_comment_author_rss()); - } - ?> - - - - - ' . get_comment_author_url() . ''; ?> - - - - - - - - ]]> - - ]]> -comment_parent == 0 ) : // This comment is top level ?> - -comment_parent); - // The rel attribute below and the id tag above should be GUIDs, but WP doesn't create them for comments (unlike posts). Either way, it's more important that they both use the same system -?> - -comment_ID, $comment_post->ID ); -?> - - - diff --git a/sources/wordpress/wp-includes/feed-atom.php b/sources/wordpress/wp-includes/feed-atom.php deleted file mode 100644 index ae4cd79..0000000 --- a/sources/wordpress/wp-includes/feed-atom.php +++ /dev/null @@ -1,87 +0,0 @@ -'; - -/** This action is documented in wp-includes/feed-rss2.php */ -do_action( 'rss_tag_pre', 'atom' ); -?> - - > - <?php bloginfo_rss('name'); wp_title_rss(); ?> - - - - - - - - - - - - - - - - - <![CDATA[<?php the_title_rss() ?>]]> - - - - - - ]]> - - ]]> - - - - - - - - diff --git a/sources/wordpress/wp-includes/feed-rdf.php b/sources/wordpress/wp-includes/feed-rdf.php deleted file mode 100644 index 177ae96..0000000 --- a/sources/wordpress/wp-includes/feed-rdf.php +++ /dev/null @@ -1,81 +0,0 @@ -'; - -/** This action is documented in wp-includes/feed-rss2.php */ -do_action( 'rss_tag_pre', 'rdf' ); -?> - -> -"> - <?php bloginfo_rss('name'); wp_title_rss(); ?> - - - - - - - - 2000-01-01T12:00+00:00 - - - - - - - - - - - - <?php the_title_rss() ?> - - post_date_gmt, false); ?> - ]]> - - - ]]> - - ]]> - ]]> - - - - - diff --git a/sources/wordpress/wp-includes/feed-rss.php b/sources/wordpress/wp-includes/feed-rss.php deleted file mode 100644 index 1650434..0000000 --- a/sources/wordpress/wp-includes/feed-rss.php +++ /dev/null @@ -1,46 +0,0 @@ -'; ?> - - - <?php bloginfo_rss('name'); wp_title_rss(); ?> - - - - http://backend.userland.com/rss092 - - - - - - - <?php the_title_rss() ?> - ]]> - - - - - - diff --git a/sources/wordpress/wp-includes/feed-rss2-comments.php b/sources/wordpress/wp-includes/feed-rss2-comments.php deleted file mode 100644 index 2a71da1..0000000 --- a/sources/wordpress/wp-includes/feed-rss2-comments.php +++ /dev/null @@ -1,97 +0,0 @@ -'; - -/** This action is documented in wp-includes/feed-rss2.php */ -do_action( 'rss_tag_pre', 'rss2-comments' ); -?> - - - -> - - <?php - if ( is_singular() ) - printf( ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() ); - elseif ( is_search() ) - printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); - else - printf( ent2ncr( __( 'Comments for %s' ) ), get_bloginfo_rss( 'name' ) . get_wp_title_rss() ); - ?> - - - - - - - - - comment_post_ID ); - ?> - - <?php - if ( !is_singular() ) { - $title = get_the_title($comment_post->ID); - /** This filter is documented in wp-includes/feed.php */ - $title = apply_filters( 'the_title_rss', $title ); - printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss()); - } else { - printf(ent2ncr(__('By: %s')), get_comment_author_rss()); - } - ?> - - ]]> - - - - - ]]> - - ]]> - ]]> -comment_ID The ID of the comment being displayed. - * @param int $comment_post->ID The ID of the post the comment is connected to. - */ - do_action( 'commentrss2_item', $comment->comment_ID, $comment_post->ID ); -?> - - - - diff --git a/sources/wordpress/wp-includes/feed-rss2.php b/sources/wordpress/wp-includes/feed-rss2.php deleted file mode 100644 index f7da5f2..0000000 --- a/sources/wordpress/wp-includes/feed-rss2.php +++ /dev/null @@ -1,115 +0,0 @@ -'; - -/** - * Fires between the and tags in a feed. - * - * @since 4.0.0 - * - * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', - * 'rdf', 'atom', and 'atom-comments'. - */ -do_action( 'rss_tag_pre', 'rss2' ); -?> - -> - - - <?php bloginfo_rss('name'); wp_title_rss(); ?> - - - - - - - - - - - - <?php the_title_rss() ?> - - - - ]]> - - - - - ]]> - - ]]> - - 0 ) : ?> - ]]> - - ]]> - - - - - - - - - - diff --git a/sources/wordpress/wp-includes/feed.php b/sources/wordpress/wp-includes/feed.php deleted file mode 100644 index 560dc61..0000000 --- a/sources/wordpress/wp-includes/feed.php +++ /dev/null @@ -1,659 +0,0 @@ -get_error_message(); - } - - if ( $title && $sep && ' ' !== substr( $title, 0, 1 ) ) { - $title = " $sep " . $title; - } - - /** - * Filter the blog title for use as the feed title. - * - * @since 2.2.0 - * - * @param string $title The current blog title. - * @param string $sep Separator used by wp_title(). - */ - $title = apply_filters( 'get_wp_title_rss', $title, $sep ); - return $title; -} - -/** - * Display the blog title for display of the feed title. - * - * @since 2.2.0 - * @see wp_title() $sep parameter usage. - * - * @param string $sep Optional. - */ -function wp_title_rss( $sep = '»' ) { - /** - * Filter the blog title for display of the feed title. - * - * @since 2.2.0 - * - * @see get_wp_title_rss() - * - * @param string $wp_title The current blog title. - * @param string $sep Separator used by wp_title(). - */ - echo apply_filters( 'wp_title_rss', get_wp_title_rss( $sep ), $sep ); -} - -/** - * Retrieve the current post title for the feed. - * - * @since 2.0.0 - * - * @return string Current post title. - */ -function get_the_title_rss() { - $title = get_the_title(); - /** - * Filter the post title for use in a feed. - * - * @since 1.2.0 - * - * @param string $title The current post title. - */ - $title = apply_filters( 'the_title_rss', $title ); - return $title; -} - -/** - * Display the post title in the feed. - * - * @since 0.71 - * @uses get_the_title_rss() Used to retrieve current post title. - */ -function the_title_rss() { - echo get_the_title_rss(); -} - -/** - * Retrieve the post content for feeds. - * - * @since 2.9.0 - * @see get_the_content() - * - * @param string $feed_type The type of feed. rss2 | atom | rss | rdf - * @return string The filtered content. - */ -function get_the_content_feed($feed_type = null) { - if ( !$feed_type ) - $feed_type = get_default_feed(); - - /** This filter is documented in wp-includes/post-template.php */ - $content = apply_filters( 'the_content', get_the_content() ); - $content = str_replace(']]>', ']]>', $content); - /** - * Filter the post content for use in feeds. - * - * @since 2.9.0 - * - * @param string $content The current post content. - * @param string $feed_type Type of feed. Possible values include 'rss2', 'atom'. - * Default 'rss2'. - */ - return apply_filters( 'the_content_feed', $content, $feed_type ); -} - -/** - * Display the post content for feeds. - * - * @since 2.9.0 - * @uses apply_filters() Calls 'the_content_feed' on the content before processing. - * @see get_the_content() - * - * @param string $feed_type The type of feed. rss2 | atom | rss | rdf - */ -function the_content_feed($feed_type = null) { - echo get_the_content_feed($feed_type); -} - -/** - * Display the post excerpt for the feed. - * - * @since 0.71 - */ -function the_excerpt_rss() { - $output = get_the_excerpt(); - /** - * Filter the post excerpt for a feed. - * - * @since 1.2.0 - * - * @param string $output The current post excerpt. - */ - echo apply_filters( 'the_excerpt_rss', $output ); -} - -/** - * Display the permalink to the post for use in feeds. - * - * @since 2.3.0 - */ -function the_permalink_rss() { - /** - * Filter the permalink to the post for use in feeds. - * - * @since 2.3.0 - * - * @param string $post_permalink The current post permalink. - */ - echo esc_url( apply_filters( 'the_permalink_rss', get_permalink() ) ); -} - -/** - * Outputs the link to the comments for the current post in an xml safe way - * - * @since 3.0.0 - * @return none - */ -function comments_link_feed() { - /** - * Filter the comments permalink for the current post. - * - * @since 3.6.0 - * - * @param string $comment_permalink The current comment permalink with - * '#comments' appended. - */ - echo esc_url( apply_filters( 'comments_link_feed', get_comments_link() ) ); -} - -/** - * Display the feed GUID for the current comment. - * - * @since 2.5.0 - * - * @param int|object $comment_id Optional comment object or id. Defaults to global comment object. - */ -function comment_guid($comment_id = null) { - echo esc_url( get_comment_guid($comment_id) ); -} - -/** - * Retrieve the feed GUID for the current comment. - * - * @since 2.5.0 - * - * @param int|object $comment_id Optional comment object or id. Defaults to global comment object. - * @return bool|string false on failure or guid for comment on success. - */ -function get_comment_guid($comment_id = null) { - $comment = get_comment($comment_id); - - if ( !is_object($comment) ) - return false; - - return get_the_guid($comment->comment_post_ID) . '#comment-' . $comment->comment_ID; -} - -/** - * Display the link to the comments. - * - * @since 1.5.0 - */ -function comment_link() { - /** - * Filter the current comment's permalink. - * - * @since 3.6.0 - * - * @see get_comment_link() - * - * @param string $comment_permalink The current comment permalink. - */ - echo esc_url( apply_filters( 'comment_link', get_comment_link() ) ); -} - -/** - * Retrieve the current comment author for use in the feeds. - * - * @since 2.0.0 - * @uses get_comment_author() - * - * @return string Comment Author - */ -function get_comment_author_rss() { - /** - * Filter the current comment author for use in a feed. - * - * @since 1.5.0 - * - * @see get_comment_author() - * - * @param string $comment_author The current comment author. - */ - return apply_filters( 'comment_author_rss', get_comment_author() ); -} - -/** - * Display the current comment author in the feed. - * - * @since 1.0.0 - */ -function comment_author_rss() { - echo get_comment_author_rss(); -} - -/** - * Display the current comment content for use in the feeds. - * - * @since 1.0.0 - * @uses get_comment_text() - */ -function comment_text_rss() { - $comment_text = get_comment_text(); - /** - * Filter the current comment content for use in a feed. - * - * @since 1.5.0 - * - * @param string $comment_text The content of the current comment. - */ - $comment_text = apply_filters( 'comment_text_rss', $comment_text ); - echo $comment_text; -} - -/** - * Retrieve all of the post categories, formatted for use in feeds. - * - * All of the categories for the current post in the feed loop, will be - * retrieved and have feed markup added, so that they can easily be added to the - * RSS2, Atom, or RSS1 and RSS0.91 RDF feeds. - * - * @since 2.1.0 - * - * @param string $type Optional, default is the type returned by get_default_feed(). - * @return string All of the post categories for displaying in the feed. - */ -function get_the_category_rss($type = null) { - if ( empty($type) ) - $type = get_default_feed(); - $categories = get_the_category(); - $tags = get_the_tags(); - $the_list = ''; - $cat_names = array(); - - $filter = 'rss'; - if ( 'atom' == $type ) - $filter = 'raw'; - - if ( !empty($categories) ) foreach ( (array) $categories as $category ) { - $cat_names[] = sanitize_term_field('name', $category->name, $category->term_id, 'category', $filter); - } - - if ( !empty($tags) ) foreach ( (array) $tags as $tag ) { - $cat_names[] = sanitize_term_field('name', $tag->name, $tag->term_id, 'post_tag', $filter); - } - - $cat_names = array_unique($cat_names); - - foreach ( $cat_names as $cat_name ) { - if ( 'rdf' == $type ) - $the_list .= "\t\t\n"; - elseif ( 'atom' == $type ) - $the_list .= sprintf( '', esc_attr( get_bloginfo_rss( 'url' ) ), esc_attr( $cat_name ) ); - else - $the_list .= "\t\t\n"; - } - - /** - * Filter all of the post categories for display in a feed. - * - * @since 1.2.0 - * - * @param string $the_list All of the RSS post categories. - * @param string $type Type of feed. Possible values include 'rss2', 'atom'. - * Default 'rss2'. - */ - return apply_filters( 'the_category_rss', $the_list, $type ); -} - -/** - * Display the post categories in the feed. - * - * @since 0.71 - * @see get_the_category_rss() For better explanation. - * - * @param string $type Optional, default is the type returned by get_default_feed(). - */ -function the_category_rss($type = null) { - echo get_the_category_rss($type); -} - -/** - * Display the HTML type based on the blog setting. - * - * The two possible values are either 'xhtml' or 'html'. - * - * @since 2.2.0 - */ -function html_type_rss() { - $type = get_bloginfo('html_type'); - if (strpos($type, 'xhtml') !== false) - $type = 'xhtml'; - else - $type = 'html'; - echo $type; -} - -/** - * Display the rss enclosure for the current post. - * - * Uses the global $post to check whether the post requires a password and if - * the user has the password for the post. If not then it will return before - * displaying. - * - * Also uses the function get_post_custom() to get the post's 'enclosure' - * metadata field and parses the value to display the enclosure(s). The - * enclosure(s) consist of enclosure HTML tag(s) with a URI and other - * attributes. - * - * @since 1.5.0 - * @uses get_post_custom() To get the current post enclosure metadata. - */ -function rss_enclosure() { - if ( post_password_required() ) - return; - - foreach ( (array) get_post_custom() as $key => $val) { - if ($key == 'enclosure') { - foreach ( (array) $val as $enc ) { - $enclosure = explode("\n", $enc); - - // only get the first element, e.g. audio/mpeg from 'audio/mpeg mpga mp2 mp3' - $t = preg_split('/[ \t]/', trim($enclosure[2]) ); - $type = $t[0]; - - /** - * Filter the RSS enclosure HTML link tag for the current post. - * - * @since 2.2.0 - * - * @param string $html_link_tag The HTML link tag with a URI and other attributes. - */ - echo apply_filters( 'rss_enclosure', '' . "\n" ); - } - } - } -} - -/** - * Display the atom enclosure for the current post. - * - * Uses the global $post to check whether the post requires a password and if - * the user has the password for the post. If not then it will return before - * displaying. - * - * Also uses the function get_post_custom() to get the post's 'enclosure' - * metadata field and parses the value to display the enclosure(s). The - * enclosure(s) consist of link HTML tag(s) with a URI and other attributes. - * - * @since 2.2.0 - * @uses get_post_custom() To get the current post enclosure metadata. - */ -function atom_enclosure() { - if ( post_password_required() ) - return; - - foreach ( (array) get_post_custom() as $key => $val ) { - if ($key == 'enclosure') { - foreach ( (array) $val as $enc ) { - $enclosure = explode("\n", $enc); - /** - * Filter the atom enclosure HTML link tag for the current post. - * - * @since 2.2.0 - * - * @param string $html_link_tag The HTML link tag with a URI and other attributes. - */ - echo apply_filters( 'atom_enclosure', '' . "\n" ); - } - } - } -} - -/** - * Determine the type of a string of data with the data formatted. - * - * Tell whether the type is text, html, or xhtml, per RFC 4287 section 3.1. - * - * In the case of WordPress, text is defined as containing no markup, - * xhtml is defined as "well formed", and html as tag soup (i.e., the rest). - * - * Container div tags are added to xhtml values, per section 3.1.1.3. - * - * @link http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.3.1 - * - * @since 2.5.0 - * - * @param string $data Input string - * @return array array(type, value) - */ -function prep_atom_text_construct($data) { - if (strpos($data, '<') === false && strpos($data, '&') === false) { - return array('text', $data); - } - - $parser = xml_parser_create(); - xml_parse($parser, '
        ' . $data . '
        ', true); - $code = xml_get_error_code($parser); - xml_parser_free($parser); - - if (!$code) { - if (strpos($data, '<') === false) { - return array('text', $data); - } else { - $data = "
        $data
        "; - return array('xhtml', $data); - } - } - - if (strpos($data, ']]>') == false) { - return array('html', ""); - } else { - return array('html', htmlspecialchars($data)); - } -} - -/** - * Display the link for the currently displayed feed in a XSS safe way. - * - * Generate a correct link for the atom:self element. - * - * @since 2.5.0 - */ -function self_link() { - $host = @parse_url(home_url()); - /** - * Filter the current feed URL. - * - * @since 3.6.0 - * - * @see set_url_scheme() - * @see wp_unslash() - * - * @param string $feed_link The link for the feed with set URL scheme. - */ - echo esc_url( apply_filters( 'self_link', set_url_scheme( 'http://' . $host['host'] . wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) ); -} - -/** - * Return the content type for specified feed type. - * - * @since 2.8.0 - */ -function feed_content_type( $type = '' ) { - if ( empty($type) ) - $type = get_default_feed(); - - $types = array( - 'rss' => 'application/rss+xml', - 'rss2' => 'application/rss+xml', - 'rss-http' => 'text/xml', - 'atom' => 'application/atom+xml', - 'rdf' => 'application/rdf+xml' - ); - - $content_type = ( !empty($types[$type]) ) ? $types[$type] : 'application/octet-stream'; - - /** - * Filter the content type for a specific feed type. - * - * @since 2.8.0 - * - * @param string $content_type Content type indicating the type of data that a feed contains. - * @param string $type Type of feed. Possible values include 'rss2', 'atom'. - * Default 'rss2'. - */ - return apply_filters( 'feed_content_type', $content_type, $type ); -} - -/** - * Build SimplePie object based on RSS or Atom feed from URL. - * - * @since 2.8.0 - * - * @param mixed $url URL of feed to retrieve. If an array of URLs, the feeds are merged - * using SimplePie's multifeed feature. - * See also {@link ​http://simplepie.org/wiki/faq/typical_multifeed_gotchas} - * - * @return WP_Error|SimplePie WP_Error object on failure or SimplePie object on success - */ -function fetch_feed( $url ) { - require_once( ABSPATH . WPINC . '/class-feed.php' ); - - $feed = new SimplePie(); - - $feed->set_sanitize_class( 'WP_SimplePie_Sanitize_KSES' ); - // We must manually overwrite $feed->sanitize because SimplePie's - // constructor sets it before we have a chance to set the sanitization class - $feed->sanitize = new WP_SimplePie_Sanitize_KSES(); - - $feed->set_cache_class( 'WP_Feed_Cache' ); - $feed->set_file_class( 'WP_SimplePie_File' ); - - $feed->set_feed_url( $url ); - /** This filter is documented in wp-includes/class-feed.php */ - $feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url ) ); - /** - * Fires just before processing the SimplePie feed object. - * - * @since 3.0.0 - * - * @param object &$feed SimplePie feed object, passed by reference. - * @param mixed $url URL of feed to retrieve. If an array of URLs, the feeds are merged. - */ - do_action_ref_array( 'wp_feed_options', array( &$feed, $url ) ); - $feed->init(); - $feed->handle_content_type(); - - if ( $feed->error() ) - return new WP_Error( 'simplepie-error', $feed->error() ); - - return $feed; -} diff --git a/sources/wordpress/wp-includes/fonts/dashicons.eot b/sources/wordpress/wp-includes/fonts/dashicons.eot deleted file mode 100644 index 0252bb7..0000000 Binary files a/sources/wordpress/wp-includes/fonts/dashicons.eot and /dev/null differ diff --git a/sources/wordpress/wp-includes/fonts/dashicons.svg b/sources/wordpress/wp-includes/fonts/dashicons.svg deleted file mode 100644 index 767c49d..0000000 --- a/sources/wordpress/wp-includes/fonts/dashicons.svg +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/sources/wordpress/wp-includes/fonts/dashicons.ttf b/sources/wordpress/wp-includes/fonts/dashicons.ttf deleted file mode 100644 index cc7b3ca..0000000 Binary files a/sources/wordpress/wp-includes/fonts/dashicons.ttf and /dev/null differ diff --git a/sources/wordpress/wp-includes/fonts/dashicons.woff b/sources/wordpress/wp-includes/fonts/dashicons.woff deleted file mode 100644 index 64e7bf0..0000000 Binary files a/sources/wordpress/wp-includes/fonts/dashicons.woff and /dev/null differ diff --git a/sources/wordpress/wp-includes/formatting.php b/sources/wordpress/wp-includes/formatting.php deleted file mode 100644 index e79043b..0000000 --- a/sources/wordpress/wp-includes/formatting.php +++ /dev/null @@ -1,4007 +0,0 @@ - - * 'cause today's effort makes it worth tomorrow's "holiday"... - * - * Becomes: - * - * ’cause today’s effort makes it worth tomorrow’s “holiday”… - * - * Code within certain html blocks are skipped. - * - * @since 0.71 - * @uses $wp_cockneyreplace Array of formatted entities for certain common phrases - * - * @param string $text The text to be formatted - * @param bool $reset Set to true for unit testing. Translated patterns will reset. - * @return string The string replaced with html entities - */ -function wptexturize($text, $reset = false) { - global $wp_cockneyreplace, $shortcode_tags; - static $static_characters, $static_replacements, $dynamic_characters, $dynamic_replacements, - $default_no_texturize_tags, $default_no_texturize_shortcodes, $run_texturize = true; - - // If there's nothing to do, just stop. - if ( empty( $text ) || false === $run_texturize ) { - return $text; - } - - // Set up static variables. Run once only. - if ( $reset || ! isset( $static_characters ) ) { - /** - * Filter whether to skip running wptexturize(). - * - * Passing false to the filter will effectively short-circuit wptexturize(). - * returning the original text passed to the function instead. - * - * The filter runs only once, the first time wptexturize() is called. - * - * @since 4.0.0 - * - * @see wptexturize() - * - * @param bool $run_texturize Whether to short-circuit wptexturize(). - */ - $run_texturize = apply_filters( 'run_wptexturize', $run_texturize ); - if ( false === $run_texturize ) { - return $text; - } - - /* translators: opening curly double quote */ - $opening_quote = _x( '“', 'opening curly double quote' ); - /* translators: closing curly double quote */ - $closing_quote = _x( '”', 'closing curly double quote' ); - - /* translators: apostrophe, for example in 'cause or can't */ - $apos = _x( '’', 'apostrophe' ); - - /* translators: prime, for example in 9' (nine feet) */ - $prime = _x( '′', 'prime' ); - /* translators: double prime, for example in 9" (nine inches) */ - $double_prime = _x( '″', 'double prime' ); - - /* translators: opening curly single quote */ - $opening_single_quote = _x( '‘', 'opening curly single quote' ); - /* translators: closing curly single quote */ - $closing_single_quote = _x( '’', 'closing curly single quote' ); - - /* translators: en dash */ - $en_dash = _x( '–', 'en dash' ); - /* translators: em dash */ - $em_dash = _x( '—', 'em dash' ); - - $default_no_texturize_tags = array('pre', 'code', 'kbd', 'style', 'script', 'tt'); - $default_no_texturize_shortcodes = array('code'); - - // if a plugin has provided an autocorrect array, use it - if ( isset($wp_cockneyreplace) ) { - $cockney = array_keys($wp_cockneyreplace); - $cockneyreplace = array_values($wp_cockneyreplace); - } elseif ( "'" != $apos ) { // Only bother if we're doing a replacement. - $cockney = array( "'tain't", "'twere", "'twas", "'tis", "'twill", "'til", "'bout", "'nuff", "'round", "'cause" ); - $cockneyreplace = array( $apos . "tain" . $apos . "t", $apos . "twere", $apos . "twas", $apos . "tis", $apos . "twill", $apos . "til", $apos . "bout", $apos . "nuff", $apos . "round", $apos . "cause" ); - } else { - $cockney = $cockneyreplace = array(); - } - - $static_characters = array_merge( array( '...', '``', '\'\'', ' (tm)' ), $cockney ); - $static_replacements = array_merge( array( '…', $opening_quote, $closing_quote, ' ™' ), $cockneyreplace ); - - - // Pattern-based replacements of characters. - // Sort the remaining patterns into several arrays for performance tuning. - $dynamic_characters = array( 'apos' => array(), 'quote' => array(), 'dash' => array() ); - $dynamic_replacements = array( 'apos' => array(), 'quote' => array(), 'dash' => array() ); - $dynamic = array(); - $spaces = wp_spaces_regexp(); - - // '99' and '99" are ambiguous among other patterns; assume it's an abbreviated year at the end of a quotation. - if ( "'" !== $apos || "'" !== $closing_single_quote ) { - $dynamic[ '/\'(\d\d)\'(?=\Z|[.,)}\-\]]|>|' . $spaces . ')/' ] = $apos . '$1' . $closing_single_quote; - } - if ( "'" !== $apos || '"' !== $closing_quote ) { - $dynamic[ '/\'(\d\d)"(?=\Z|[.,)}\-\]]|>|' . $spaces . ')/' ] = $apos . '$1' . $closing_quote; - } - - // '99 '99s '99's (apostrophe) But never '9 or '99% or '999 or '99.0. - if ( "'" !== $apos ) { - $dynamic[ '/\'(?=\d\d(?:\Z|(?![%\d]|[.,]\d)))/' ] = $apos; - } - - // Quoted Numbers like '0.42' - if ( "'" !== $opening_single_quote && "'" !== $closing_single_quote ) { - $dynamic[ '/(?<=\A|' . $spaces . ')\'(\d[.,\d]*)\'/' ] = $opening_single_quote . '$1' . $closing_single_quote; - } - - // Single quote at start, or preceded by (, {, <, [, ", -, or spaces. - if ( "'" !== $opening_single_quote ) { - $dynamic[ '/(?<=\A|[([{"\-]|<|' . $spaces . ')\'/' ] = $opening_single_quote; - } - - // Apostrophe in a word. No spaces, double apostrophes, or other punctuation. - if ( "'" !== $apos ) { - $dynamic[ '/(? is found. - . '-(?!->)' // Dash not followed by end of comment. - . '[^\-]*+' // Consume non-dashes. - . ')*+' // Loop possessively. - . '-->'; // End of comment. - - $regex = '/(' // Capture the entire match. - . '<' // Find start of element. - . '(?(?=!--)' // Is this a comment? - . $comment_regex // Find end of comment - . '|' - . '[^>]+>' // Find end of element - . ')' - . '|' - . '\[' // Find start of shortcode. - . '[\/\[]?' // Shortcodes may begin with [/ or [[ - . $tagregexp // Only match registered shortcodes, because performance. - . '(?:' - . '[^\[\]<>]+' // Shortcodes do not contain other shortcodes. Quantifier critical. - . '|' - . '<[^\[\]>]*>' // HTML elements permitted. Prevents matching ] before >. - . ')*+' // Possessive critical. - . '\]' // Find end of shortcode. - . '\]?' // Shortcodes may end with ]] - . ')/s'; - - $textarr = preg_split( $regex, $text, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY ); - - foreach ( $textarr as &$curl ) { - // Only call _wptexturize_pushpop_element if $curl is a delimiter. - $first = $curl[0]; - if ( '<' === $first && '>' === substr( $curl, -1 ) ) { - // This is an HTML delimiter. - - if ( ' -> - - - <?php echo $title ?> - - - - - - - - 500 ); - - $r = wp_parse_args($args, $defaults); - - if ( $wp_xmlrpc_server ) { - $error = new IXR_Error( $r['response'] , $message); - $wp_xmlrpc_server->output( $error->getXml() ); - } - die(); -} - -/** - * Kill WordPress ajax execution. - * - * This is the handler for wp_die when processing Ajax requests. - * - * @since 3.4.0 - * @access private - * - * @param string $message Optional. Response to print. Default empty. - */ -function _ajax_wp_die_handler( $message = '' ) { - if ( is_scalar( $message ) ) - die( (string) $message ); - die( '0' ); -} - -/** - * Kill WordPress execution. - * - * This is the handler for wp_die when processing APP requests. - * - * @since 3.4.0 - * @access private - * - * @param string $message Optional. Response to print. Default empty. - */ -function _scalar_wp_die_handler( $message = '' ) { - if ( is_scalar( $message ) ) - die( (string) $message ); - die(); -} - -/** - * Send a JSON response back to an Ajax request. - * - * @since 3.5.0 - * - * @param mixed $response Variable (usually an array or object) to encode as JSON, - * then print and die. - */ -function wp_send_json( $response ) { - @header( 'Content-Type: application/json; charset=' . get_option( 'blog_charset' ) ); - echo json_encode( $response ); - if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) - wp_die(); - else - die; -} - -/** - * Send a JSON response back to an Ajax request, indicating success. - * - * @since 3.5.0 - * - * @param mixed $data Data to encode as JSON, then print and die. - */ -function wp_send_json_success( $data = null ) { - $response = array( 'success' => true ); - - if ( isset( $data ) ) - $response['data'] = $data; - - wp_send_json( $response ); -} - -/** - * Send a JSON response back to an Ajax request, indicating failure. - * - * @since 3.5.0 - * - * @param mixed $data Data to encode as JSON, then print and die. - */ -function wp_send_json_error( $data = null ) { - $response = array( 'success' => false ); - - if ( isset( $data ) ) - $response['data'] = $data; - - wp_send_json( $response ); -} - -/** - * Retrieve the WordPress home page URL. - * - * If the constant named 'WP_HOME' exists, then it will be used and returned - * by the function. This can be used to counter the redirection on your local - * development environment. - * - * @since 2.2.0 - * @access private - * - * @see WP_HOME - * - * @param string $url URL for the home location. - * @return string Homepage location. - */ -function _config_wp_home( $url = '' ) { - if ( defined( 'WP_HOME' ) ) - return untrailingslashit( WP_HOME ); - return $url; -} - -/** - * Retrieve the WordPress site URL. - * - * If the constant named 'WP_SITEURL' is defined, then the value in that - * constant will always be returned. This can be used for debugging a site - * on your localhost while not having to change the database to your URL. - * - * @since 2.2.0 - * @access private - * - * @see WP_SITEURL - * - * @param string $url URL to set the WordPress site location. - * @return string The WordPress Site URL. - */ -function _config_wp_siteurl( $url = '' ) { - if ( defined( 'WP_SITEURL' ) ) - return untrailingslashit( WP_SITEURL ); - return $url; -} - -/** - * Set the localized direction for MCE plugin. - * - * Will only set the direction to 'rtl', if the WordPress locale has - * the text direction set to 'rtl'. - * - * Fills in the 'directionality' setting, enables the 'directionality' - * plugin, and adds the 'ltr' button to 'toolbar1', formerly - * 'theme_advanced_buttons1' array keys. These keys are then returned - * in the $input (TinyMCE settings) array. - * - * @since 2.1.0 - * @access private - * - * @param array $input MCE settings array. - * @return array Direction set for 'rtl', if needed by locale. - */ -function _mce_set_direction( $input ) { - if ( is_rtl() ) { - $input['directionality'] = 'rtl'; - $input['plugins'] .= ',directionality'; - $input['toolbar1'] .= ',ltr'; - } - - return $input; -} - - -/** - * Convert smiley code to the icon graphic file equivalent. - * - * You can turn off smilies, by going to the write setting screen and unchecking - * the box, or by setting 'use_smilies' option to false or removing the option. - * - * Plugins may override the default smiley list by setting the $wpsmiliestrans - * to an array, with the key the code the blogger types in and the value the - * image file. - * - * The $wp_smiliessearch global is for the regular expression and is set each - * time the function is called. - * - * The full list of smilies can be found in the function and won't be listed in - * the description. Probably should create a Codex page for it, so that it is - * available. - * - * @global array $wpsmiliestrans - * @global array $wp_smiliessearch - * - * @since 2.2.0 - */ -function smilies_init() { - global $wpsmiliestrans, $wp_smiliessearch; - - // don't bother setting up smilies if they are disabled - if ( !get_option( 'use_smilies' ) ) - return; - - if ( !isset( $wpsmiliestrans ) ) { - $wpsmiliestrans = array( - ':mrgreen:' => 'icon_mrgreen.gif', - ':neutral:' => 'icon_neutral.gif', - ':twisted:' => 'icon_twisted.gif', - ':arrow:' => 'icon_arrow.gif', - ':shock:' => 'icon_eek.gif', - ':smile:' => 'icon_smile.gif', - ':???:' => 'icon_confused.gif', - ':cool:' => 'icon_cool.gif', - ':evil:' => 'icon_evil.gif', - ':grin:' => 'icon_biggrin.gif', - ':idea:' => 'icon_idea.gif', - ':oops:' => 'icon_redface.gif', - ':razz:' => 'icon_razz.gif', - ':roll:' => 'icon_rolleyes.gif', - ':wink:' => 'icon_wink.gif', - ':cry:' => 'icon_cry.gif', - ':eek:' => 'icon_surprised.gif', - ':lol:' => 'icon_lol.gif', - ':mad:' => 'icon_mad.gif', - ':sad:' => 'icon_sad.gif', - '8-)' => 'icon_cool.gif', - '8-O' => 'icon_eek.gif', - ':-(' => 'icon_sad.gif', - ':-)' => 'icon_smile.gif', - ':-?' => 'icon_confused.gif', - ':-D' => 'icon_biggrin.gif', - ':-P' => 'icon_razz.gif', - ':-o' => 'icon_surprised.gif', - ':-x' => 'icon_mad.gif', - ':-|' => 'icon_neutral.gif', - ';-)' => 'icon_wink.gif', - // This one transformation breaks regular text with frequency. - // '8)' => 'icon_cool.gif', - '8O' => 'icon_eek.gif', - ':(' => 'icon_sad.gif', - ':)' => 'icon_smile.gif', - ':?' => 'icon_confused.gif', - ':D' => 'icon_biggrin.gif', - ':P' => 'icon_razz.gif', - ':o' => 'icon_surprised.gif', - ':x' => 'icon_mad.gif', - ':|' => 'icon_neutral.gif', - ';)' => 'icon_wink.gif', - ':!:' => 'icon_exclaim.gif', - ':?:' => 'icon_question.gif', - ); - } - - if (count($wpsmiliestrans) == 0) { - return; - } - - /* - * NOTE: we sort the smilies in reverse key order. This is to make sure - * we match the longest possible smilie (:???: vs :?) as the regular - * expression used below is first-match - */ - krsort($wpsmiliestrans); - - $spaces = wp_spaces_regexp(); - - // Begin first "subpattern" - $wp_smiliessearch = '/(?<=' . $spaces . '|^)'; - - $subchar = ''; - foreach ( (array) $wpsmiliestrans as $smiley => $img ) { - $firstchar = substr($smiley, 0, 1); - $rest = substr($smiley, 1); - - // new subpattern? - if ($firstchar != $subchar) { - if ($subchar != '') { - $wp_smiliessearch .= ')(?=' . $spaces . '|$)'; // End previous "subpattern" - $wp_smiliessearch .= '|(?<=' . $spaces . '|^)'; // Begin another "subpattern" - } - $subchar = $firstchar; - $wp_smiliessearch .= preg_quote($firstchar, '/') . '(?:'; - } else { - $wp_smiliessearch .= '|'; - } - $wp_smiliessearch .= preg_quote($rest, '/'); - } - - $wp_smiliessearch .= ')(?=' . $spaces . '|$)/m'; - -} - -/** - * Merge user defined arguments into defaults array. - * - * This function is used throughout WordPress to allow for both string or array - * to be merged into another array. - * - * @since 2.2.0 - * - * @param string|array $args Value to merge with $defaults - * @param array $defaults Optional. Array that serves as the defaults. Default empty. - * @return array Merged user defined values with defaults. - */ -function wp_parse_args( $args, $defaults = '' ) { - if ( is_object( $args ) ) - $r = get_object_vars( $args ); - elseif ( is_array( $args ) ) - $r =& $args; - else - wp_parse_str( $args, $r ); - - if ( is_array( $defaults ) ) - return array_merge( $defaults, $r ); - return $r; -} - -/** - * Clean up an array, comma- or space-separated list of IDs. - * - * @since 3.0.0 - * - * @param array|string $list List of ids. - * @return array Sanitized array of IDs. - */ -function wp_parse_id_list( $list ) { - if ( !is_array($list) ) - $list = preg_split('/[\s,]+/', $list); - - return array_unique(array_map('absint', $list)); -} - -/** - * Extract a slice of an array, given a list of keys. - * - * @since 3.1.0 - * - * @param array $array The original array. - * @param array $keys The list of keys. - * @return array The array slice. - */ -function wp_array_slice_assoc( $array, $keys ) { - $slice = array(); - foreach ( $keys as $key ) - if ( isset( $array[ $key ] ) ) - $slice[ $key ] = $array[ $key ]; - - return $slice; -} - -/** - * Filters a list of objects, based on a set of key => value arguments. - * - * @since 3.0.0 - * - * @param array $list An array of objects to filter - * @param array $args Optional. An array of key => value arguments to match - * against each object. Default empty array. - * @param string $operator Optional. The logical operation to perform. 'or' means - * only one element from the array needs to match; 'and' - * means all elements must match. Default 'and'. - * @param bool|string $field A field from the object to place instead of the entire object. - * Default false. - * @return array A list of objects or object fields. - */ -function wp_filter_object_list( $list, $args = array(), $operator = 'and', $field = false ) { - if ( ! is_array( $list ) ) - return array(); - - $list = wp_list_filter( $list, $args, $operator ); - - if ( $field ) - $list = wp_list_pluck( $list, $field ); - - return $list; -} - -/** - * Filters a list of objects, based on a set of key => value arguments. - * - * @since 3.1.0 - * - * @param array $list An array of objects to filter. - * @param array $args Optional. An array of key => value arguments to match - * against each object. Default empty array. - * @param string $operator Optional. The logical operation to perform. 'AND' means - * all elements from the array must match. 'OR' means only - * one element needs to match. 'NOT' means no elements may - * match. Default 'AND'. - * @return array Array of found values. - */ -function wp_list_filter( $list, $args = array(), $operator = 'AND' ) { - if ( ! is_array( $list ) ) - return array(); - - if ( empty( $args ) ) - return $list; - - $operator = strtoupper( $operator ); - $count = count( $args ); - $filtered = array(); - - foreach ( $list as $key => $obj ) { - $to_match = (array) $obj; - - $matched = 0; - foreach ( $args as $m_key => $m_value ) { - if ( array_key_exists( $m_key, $to_match ) && $m_value == $to_match[ $m_key ] ) - $matched++; - } - - if ( ( 'AND' == $operator && $matched == $count ) - || ( 'OR' == $operator && $matched > 0 ) - || ( 'NOT' == $operator && 0 == $matched ) ) { - $filtered[$key] = $obj; - } - } - - return $filtered; -} - -/** - * Pluck a certain field out of each object in a list. - * - * This has the same functionality and prototype of - * array_column() (PHP 5.5) but also supports objects. - * - * @since 3.1.0 - * @since 4.0.0 $index_key parameter added. - * - * @param array $list List of objects or arrays - * @param int|string $field Field from the object to place instead of the entire object - * @param int|string $index_key Optional. Field from the object to use as keys for the new array. - * Default null. - * @return array Array of found values. If $index_key is set, an array of found values with keys - * corresponding to $index_key. - */ -function wp_list_pluck( $list, $field, $index_key = null ) { - if ( ! $index_key ) { - /* - * This is simple. Could at some point wrap array_column() - * if we knew we had an array of arrays. - */ - foreach ( $list as $key => $value ) { - if ( is_object( $value ) ) { - $list[ $key ] = $value->$field; - } else { - $list[ $key ] = $value[ $field ]; - } - } - return $list; - } - - /* - * When index_key is not set for a particular item, push the value - * to the end of the stack. This is how array_column() behaves. - */ - $newlist = array(); - foreach ( $list as $value ) { - if ( is_object( $value ) ) { - if ( isset( $value->$index_key ) ) { - $newlist[ $value->$index_key ] = $value->$field; - } else { - $newlist[] = $value->$field; - } - } else { - if ( isset( $value[ $index_key ] ) ) { - $newlist[ $value[ $index_key ] ] = $value[ $field ]; - } else { - $newlist[] = $value[ $field ]; - } - } - } - - return $newlist; -} - -/** - * Determines if Widgets library should be loaded. - * - * Checks to make sure that the widgets library hasn't already been loaded. - * If it hasn't, then it will load the widgets library and run an action hook. - * - * @since 2.2.0 - */ -function wp_maybe_load_widgets() { - /** - * Filter whether to load the Widgets library. - * - * Passing a falsey value to the filter will effectively short-circuit - * the Widgets library from loading. - * - * @since 2.8.0 - * - * @param bool $wp_maybe_load_widgets Whether to load the Widgets library. - * Default true. - */ - if ( ! apply_filters( 'load_default_widgets', true ) ) { - return; - } - - require_once( ABSPATH . WPINC . '/default-widgets.php' ); - - add_action( '_admin_menu', 'wp_widgets_add_menu' ); -} - -/** - * Append the Widgets menu to the themes main menu. - * - * @since 2.2.0 - * - * @uses $submenu The administration submenu list. - */ -function wp_widgets_add_menu() { - global $submenu; - - if ( ! current_theme_supports( 'widgets' ) ) - return; - - $submenu['themes.php'][7] = array( __( 'Widgets' ), 'edit_theme_options', 'widgets.php' ); - ksort( $submenu['themes.php'], SORT_NUMERIC ); -} - -/** - * Flush all output buffers for PHP 5.2. - * - * Make sure all output buffers are flushed before our singletons are destroyed. - * - * @since 2.2.0 - */ -function wp_ob_end_flush_all() { - $levels = ob_get_level(); - for ($i=0; $i<$levels; $i++) - ob_end_flush(); -} - -/** - * Load custom DB error or display WordPress DB error. - * - * If a file exists in the wp-content directory named db-error.php, then it will - * be loaded instead of displaying the WordPress DB error. If it is not found, - * then the WordPress DB error will be displayed instead. - * - * The WordPress DB error sets the HTTP status header to 500 to try to prevent - * search engines from caching the message. Custom DB messages should do the - * same. - * - * This function was backported to WordPress 2.3.2, but originally was added - * in WordPress 2.5.0. - * - * @since 2.3.2 - * - * @global wpdb $wpdb WordPress database access abstraction object. - */ -function dead_db() { - global $wpdb; - - wp_load_translations_early(); - - // Load custom DB error template, if present. - if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) { - require_once( WP_CONTENT_DIR . '/db-error.php' ); - die(); - } - - // If installing or in the admin, provide the verbose message. - if ( defined('WP_INSTALLING') || defined('WP_ADMIN') ) - wp_die($wpdb->error); - - // Otherwise, be terse. - status_header( 500 ); - nocache_headers(); - header( 'Content-Type: text/html; charset=utf-8' ); -?> - -> - - - <?php _e( 'Database Error' ); ?> - - - -

        - - -deprecated since version %2$s! Use %3$s instead.'), $function, $version, $replacement ) ); - else - trigger_error( sprintf( __('%1$s is deprecated since version %2$s with no alternative available.'), $function, $version ) ); - } else { - if ( ! is_null( $replacement ) ) - trigger_error( sprintf( '%1$s is deprecated since version %2$s! Use %3$s instead.', $function, $version, $replacement ) ); - else - trigger_error( sprintf( '%1$s is deprecated since version %2$s with no alternative available.', $function, $version ) ); - } - } -} - -/** - * Mark a file as deprecated and inform when it has been used. - * - * There is a hook deprecated_file_included that will be called that can be used - * to get the backtrace up to what file and function included the deprecated - * file. - * - * The current behavior is to trigger a user error if WP_DEBUG is true. - * - * This function is to be used in every file that is deprecated. - * - * @since 2.5.0 - * @access private - * - * @param string $file The file that was included. - * @param string $version The version of WordPress that deprecated the file. - * @param string $replacement Optional. The file that should have been included based on ABSPATH. - * Default null. - * @param string $message Optional. A message regarding the change. Default empty. - */ -function _deprecated_file( $file, $version, $replacement = null, $message = '' ) { - - /** - * Fires when a deprecated file is called. - * - * @since 2.5.0 - * - * @param string $file The file that was called. - * @param string $replacement The file that should have been included based on ABSPATH. - * @param string $version The version of WordPress that deprecated the file. - * @param string $message A message regarding the change. - */ - do_action( 'deprecated_file_included', $file, $replacement, $version, $message ); - - /** - * Filter whether to trigger an error for deprecated files. - * - * @since 2.5.0 - * - * @param bool $trigger Whether to trigger the error for deprecated files. Default true. - */ - if ( WP_DEBUG && apply_filters( 'deprecated_file_trigger_error', true ) ) { - $message = empty( $message ) ? '' : ' ' . $message; - if ( function_exists( '__' ) ) { - if ( ! is_null( $replacement ) ) - trigger_error( sprintf( __('%1$s is deprecated since version %2$s! Use %3$s instead.'), $file, $version, $replacement ) . $message ); - else - trigger_error( sprintf( __('%1$s is deprecated since version %2$s with no alternative available.'), $file, $version ) . $message ); - } else { - if ( ! is_null( $replacement ) ) - trigger_error( sprintf( '%1$s is deprecated since version %2$s! Use %3$s instead.', $file, $version, $replacement ) . $message ); - else - trigger_error( sprintf( '%1$s is deprecated since version %2$s with no alternative available.', $file, $version ) . $message ); - } - } -} -/** - * Mark a function argument as deprecated and inform when it has been used. - * - * This function is to be used whenever a deprecated function argument is used. - * Before this function is called, the argument must be checked for whether it was - * used by comparing it to its default value or evaluating whether it is empty. - * For example: - * - * if ( ! empty( $deprecated ) ) { - * _deprecated_argument( __FUNCTION__, '3.0' ); - * } - * - * - * There is a hook deprecated_argument_run that will be called that can be used - * to get the backtrace up to what file and function used the deprecated - * argument. - * - * The current behavior is to trigger a user error if WP_DEBUG is true. - * - * @since 3.0.0 - * @access private - * - * @param string $function The function that was called. - * @param string $version The version of WordPress that deprecated the argument used. - * @param string $message Optional. A message regarding the change. Default null. - */ -function _deprecated_argument( $function, $version, $message = null ) { - - /** - * Fires when a deprecated argument is called. - * - * @since 3.0.0 - * - * @param string $function The function that was called. - * @param string $message A message regarding the change. - * @param string $version The version of WordPress that deprecated the argument used. - */ - do_action( 'deprecated_argument_run', $function, $message, $version ); - - /** - * Filter whether to trigger an error for deprecated arguments. - * - * @since 3.0.0 - * - * @param bool $trigger Whether to trigger the error for deprecated arguments. Default true. - */ - if ( WP_DEBUG && apply_filters( 'deprecated_argument_trigger_error', true ) ) { - if ( function_exists( '__' ) ) { - if ( ! is_null( $message ) ) - trigger_error( sprintf( __('%1$s was called with an argument that is deprecated since version %2$s! %3$s'), $function, $version, $message ) ); - else - trigger_error( sprintf( __('%1$s was called with an argument that is deprecated since version %2$s with no alternative available.'), $function, $version ) ); - } else { - if ( ! is_null( $message ) ) - trigger_error( sprintf( '%1$s was called with an argument that is deprecated since version %2$s! %3$s', $function, $version, $message ) ); - else - trigger_error( sprintf( '%1$s was called with an argument that is deprecated since version %2$s with no alternative available.', $function, $version ) ); - } - } -} - -/** - * Mark something as being incorrectly called. - * - * There is a hook doing_it_wrong_run that will be called that can be used - * to get the backtrace up to what file and function called the deprecated - * function. - * - * The current behavior is to trigger a user error if WP_DEBUG is true. - * - * @since 3.1.0 - * @access private - * - * @param string $function The function that was called. - * @param string $message A message explaining what has been done incorrectly. - * @param string $version The version of WordPress where the message was added. - */ -function _doing_it_wrong( $function, $message, $version ) { - - /** - * Fires when the given function is being used incorrectly. - * - * @since 3.1.0 - * - * @param string $function The function that was called. - * @param string $message A message explaining what has been done incorrectly. - * @param string $version The version of WordPress where the message was added. - */ - do_action( 'doing_it_wrong_run', $function, $message, $version ); - - /** - * Filter whether to trigger an error for _doing_it_wrong() calls. - * - * @since 3.1.0 - * - * @param bool $trigger Whether to trigger the error for _doing_it_wrong() calls. Default true. - */ - if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true ) ) { - if ( function_exists( '__' ) ) { - $version = is_null( $version ) ? '' : sprintf( __( '(This message was added in version %s.)' ), $version ); - $message .= ' ' . __( 'Please see Debugging in WordPress for more information.' ); - trigger_error( sprintf( __( '%1$s was called incorrectly. %2$s %3$s' ), $function, $message, $version ) ); - } else { - $version = is_null( $version ) ? '' : sprintf( '(This message was added in version %s.)', $version ); - $message .= ' Please see Debugging in WordPress for more information.'; - trigger_error( sprintf( '%1$s was called incorrectly. %2$s %3$s', $function, $message, $version ) ); - } - } -} - -/** - * Is the server running earlier than 1.5.0 version of lighttpd? - * - * @since 2.5.0 - * - * @return bool Whether the server is running lighttpd < 1.5.0. - */ -function is_lighttpd_before_150() { - $server_parts = explode( '/', isset( $_SERVER['SERVER_SOFTWARE'] )? $_SERVER['SERVER_SOFTWARE'] : '' ); - $server_parts[1] = isset( $server_parts[1] )? $server_parts[1] : ''; - return 'lighttpd' == $server_parts[0] && -1 == version_compare( $server_parts[1], '1.5.0' ); -} - -/** - * Does the specified module exist in the Apache config? - * - * @since 2.5.0 - * - * @param string $mod The module, e.g. mod_rewrite. - * @param bool $default Optional. The default return value if the module is not found. Default false. - * @return bool Whether the specified module is loaded. - */ -function apache_mod_loaded($mod, $default = false) { - global $is_apache; - - if ( !$is_apache ) - return false; - - if ( function_exists( 'apache_get_modules' ) ) { - $mods = apache_get_modules(); - if ( in_array($mod, $mods) ) - return true; - } elseif ( function_exists( 'phpinfo' ) && false === strpos( ini_get( 'disable_functions' ), 'phpinfo' ) ) { - ob_start(); - phpinfo(8); - $phpinfo = ob_get_clean(); - if ( false !== strpos($phpinfo, $mod) ) - return true; - } - return $default; -} - -/** - * Check if IIS 7+ supports pretty permalinks. - * - * @since 2.8.0 - * - * @return bool Whether IIS7 supports permalinks. - */ -function iis7_supports_permalinks() { - global $is_iis7; - - $supports_permalinks = false; - if ( $is_iis7 ) { - /* First we check if the DOMDocument class exists. If it does not exist, then we cannot - * easily update the xml configuration file, hence we just bail out and tell user that - * pretty permalinks cannot be used. - * - * Next we check if the URL Rewrite Module 1.1 is loaded and enabled for the web site. When - * URL Rewrite 1.1 is loaded it always sets a server variable called 'IIS_UrlRewriteModule'. - * Lastly we make sure that PHP is running via FastCGI. This is important because if it runs - * via ISAPI then pretty permalinks will not work. - */ - $supports_permalinks = class_exists('DOMDocument') && isset($_SERVER['IIS_UrlRewriteModule']) && ( php_sapi_name() == 'cgi-fcgi' ); - } - - /** - * Filter whether IIS 7+ supports pretty permalinks. - * - * @since 2.8.0 - * - * @param bool $supports_permalinks Whether IIS7 supports permalinks. Default false. - */ - return apply_filters( 'iis7_supports_permalinks', $supports_permalinks ); -} - -/** - * File validates against allowed set of defined rules. - * - * A return value of '1' means that the $file contains either '..' or './'. A - * return value of '2' means that the $file contains ':' after the first - * character. A return value of '3' means that the file is not in the allowed - * files list. - * - * @since 1.2.0 - * - * @param string $file File path. - * @param array $allowed_files List of allowed files. - * @return int 0 means nothing is wrong, greater than 0 means something was wrong. - */ -function validate_file( $file, $allowed_files = '' ) { - if ( false !== strpos( $file, '..' ) ) - return 1; - - if ( false !== strpos( $file, './' ) ) - return 1; - - if ( ! empty( $allowed_files ) && ! in_array( $file, $allowed_files ) ) - return 3; - - if (':' == substr( $file, 1, 1 ) ) - return 2; - - return 0; -} - -/** - * Determine if SSL is used. - * - * @since 2.6.0 - * - * @return bool True if SSL, false if not used. - */ -function is_ssl() { - if ( isset($_SERVER['HTTPS']) ) { - if ( 'on' == strtolower($_SERVER['HTTPS']) ) - return true; - if ( '1' == $_SERVER['HTTPS'] ) - return true; - } elseif ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) { - return true; - } - return false; -} - -/** - * Whether SSL login should be forced. - * - * @since 2.6.0 - * - * @see force_ssl_admin() - * - * @param string|bool $force Optional Whether to force SSL login. Default null. - * @return bool True if forced, false if not forced. - */ -function force_ssl_login( $force = null ) { - return force_ssl_admin( $force ); -} - -/** - * Whether to force SSL used for the Administration Screens. - * - * @since 2.6.0 - * - * @param string|bool $force Optional. Whether to force SSL in admin screens. Default null. - * @return bool True if forced, false if not forced. - */ -function force_ssl_admin( $force = null ) { - static $forced = false; - - if ( !is_null( $force ) ) { - $old_forced = $forced; - $forced = $force; - return $old_forced; - } - - return $forced; -} - -/** - * Guess the URL for the site. - * - * Will remove wp-admin links to retrieve only return URLs not in the wp-admin - * directory. - * - * @since 2.6.0 - * - * @return string The guessed URL. - */ -function wp_guess_url() { - if ( defined('WP_SITEURL') && '' != WP_SITEURL ) { - $url = WP_SITEURL; - } else { - $abspath_fix = str_replace( '\\', '/', ABSPATH ); - $script_filename_dir = dirname( $_SERVER['SCRIPT_FILENAME'] ); - - // The request is for the admin - if ( strpos( $_SERVER['REQUEST_URI'], 'wp-admin' ) !== false || strpos( $_SERVER['REQUEST_URI'], 'wp-login.php' ) !== false ) { - $path = preg_replace( '#/(wp-admin/.*|wp-login.php)#i', '', $_SERVER['REQUEST_URI'] ); - - // The request is for a file in ABSPATH - } elseif ( $script_filename_dir . '/' == $abspath_fix ) { - // Strip off any file/query params in the path - $path = preg_replace( '#/[^/]*$#i', '', $_SERVER['PHP_SELF'] ); - - } else { - if ( false !== strpos( $_SERVER['SCRIPT_FILENAME'], $abspath_fix ) ) { - // Request is hitting a file inside ABSPATH - $directory = str_replace( ABSPATH, '', $script_filename_dir ); - // Strip off the sub directory, and any file/query paramss - $path = preg_replace( '#/' . preg_quote( $directory, '#' ) . '/[^/]*$#i', '' , $_SERVER['REQUEST_URI'] ); - } elseif ( false !== strpos( $abspath_fix, $script_filename_dir ) ) { - // Request is hitting a file above ABSPATH - $subdirectory = substr( $abspath_fix, strpos( $abspath_fix, $script_filename_dir ) + strlen( $script_filename_dir ) ); - // Strip off any file/query params from the path, appending the sub directory to the install - $path = preg_replace( '#/[^/]*$#i', '' , $_SERVER['REQUEST_URI'] ) . $subdirectory; - } else { - $path = $_SERVER['REQUEST_URI']; - } - } - - $schema = is_ssl() ? 'https://' : 'http://'; // set_url_scheme() is not defined yet - $url = $schema . $_SERVER['HTTP_HOST'] . $path; - } - - return rtrim($url, '/'); -} - -/** - * Temporarily suspend cache additions. - * - * Stops more data being added to the cache, but still allows cache retrieval. - * This is useful for actions, such as imports, when a lot of data would otherwise - * be almost uselessly added to the cache. - * - * Suspension lasts for a single page load at most. Remember to call this - * function again if you wish to re-enable cache adds earlier. - * - * @since 3.3.0 - * - * @param bool $suspend Optional. Suspends additions if true, re-enables them if false. - * @return bool The current suspend setting - */ -function wp_suspend_cache_addition( $suspend = null ) { - static $_suspend = false; - - if ( is_bool( $suspend ) ) - $_suspend = $suspend; - - return $_suspend; -} - -/** - * Suspend cache invalidation. - * - * Turns cache invalidation on and off. Useful during imports where you don't wont to do - * invalidations every time a post is inserted. Callers must be sure that what they are - * doing won't lead to an inconsistent cache when invalidation is suspended. - * - * @since 2.7.0 - * - * @param bool $suspend Optional. Whether to suspend or enable cache invalidation. Default true. - * @return bool The current suspend setting. - */ -function wp_suspend_cache_invalidation( $suspend = true ) { - global $_wp_suspend_cache_invalidation; - - $current_suspend = $_wp_suspend_cache_invalidation; - $_wp_suspend_cache_invalidation = $suspend; - return $current_suspend; -} - -/** - * Determine whether a site is the main site of the current network. - * - * @since 3.0.0 - * - * @param int $site_id Optional. Site ID to test. Defaults to current site. - * Defaults to current site. - * @return bool True if $site_id is the main site of the network, or if not - * running Multisite. - */ -function is_main_site( $site_id = null ) { - // This is the current network's information; 'site' is old terminology. - global $current_site; - - if ( ! is_multisite() ) - return true; - - if ( ! $site_id ) - $site_id = get_current_blog_id(); - - return (int) $site_id === (int) $current_site->blog_id; -} - -/** - * Determine whether a network is the main network of the Multisite install. - * - * @since 3.7.0 - * - * @param int $network_id Optional. Network ID to test. Defaults to current network. - * @return bool True if $network_id is the main network, or if not running Multisite. - */ -function is_main_network( $network_id = null ) { - global $wpdb; - - if ( ! is_multisite() ) - return true; - - $current_network_id = (int) get_current_site()->id; - - if ( ! $network_id ) - $network_id = $current_network_id; - $network_id = (int) $network_id; - - if ( defined( 'PRIMARY_NETWORK_ID' ) ) - return $network_id === (int) PRIMARY_NETWORK_ID; - - if ( 1 === $current_network_id ) - return $network_id === $current_network_id; - - $primary_network_id = (int) wp_cache_get( 'primary_network_id', 'site-options' ); - - if ( $primary_network_id ) - return $network_id === $primary_network_id; - - $primary_network_id = (int) $wpdb->get_var( "SELECT id FROM $wpdb->site ORDER BY id LIMIT 1" ); - wp_cache_add( 'primary_network_id', $primary_network_id, 'site-options' ); - - return $network_id === $primary_network_id; -} - -/** - * Determine whether global terms are enabled. - * - * @since 3.0.0 - * - * @return bool True if multisite and global terms enabled. - */ -function global_terms_enabled() { - if ( ! is_multisite() ) - return false; - - static $global_terms = null; - if ( is_null( $global_terms ) ) { - - /** - * Filter whether global terms are enabled. - * - * Passing a non-null value to the filter will effectively short-circuit the function, - * returning the value of the 'global_terms_enabled' site option instead. - * - * @since 3.0.0 - * - * @param null $anbled Whether global terms are enabled. - */ - $filter = apply_filters( 'global_terms_enabled', null ); - if ( ! is_null( $filter ) ) - $global_terms = (bool) $filter; - else - $global_terms = (bool) get_site_option( 'global_terms_enabled', false ); - } - return $global_terms; -} - -/** - * gmt_offset modification for smart timezone handling. - * - * Overrides the gmt_offset option if we have a timezone_string available. - * - * @since 2.8.0 - * - * @return float|bool Timezone GMT offset, false otherwise. - */ -function wp_timezone_override_offset() { - if ( !$timezone_string = get_option( 'timezone_string' ) ) { - return false; - } - - $timezone_object = timezone_open( $timezone_string ); - $datetime_object = date_create(); - if ( false === $timezone_object || false === $datetime_object ) { - return false; - } - return round( timezone_offset_get( $timezone_object, $datetime_object ) / HOUR_IN_SECONDS, 2 ); -} - -/** - * Sort-helper for timezones. - * - * @since 2.9.0 - * @access private - * - * @param array $a - * @param array $b - * @return int - */ -function _wp_timezone_choice_usort_callback( $a, $b ) { - // Don't use translated versions of Etc - if ( 'Etc' === $a['continent'] && 'Etc' === $b['continent'] ) { - // Make the order of these more like the old dropdown - if ( 'GMT+' === substr( $a['city'], 0, 4 ) && 'GMT+' === substr( $b['city'], 0, 4 ) ) { - return -1 * ( strnatcasecmp( $a['city'], $b['city'] ) ); - } - if ( 'UTC' === $a['city'] ) { - if ( 'GMT+' === substr( $b['city'], 0, 4 ) ) { - return 1; - } - return -1; - } - if ( 'UTC' === $b['city'] ) { - if ( 'GMT+' === substr( $a['city'], 0, 4 ) ) { - return -1; - } - return 1; - } - return strnatcasecmp( $a['city'], $b['city'] ); - } - if ( $a['t_continent'] == $b['t_continent'] ) { - if ( $a['t_city'] == $b['t_city'] ) { - return strnatcasecmp( $a['t_subcity'], $b['t_subcity'] ); - } - return strnatcasecmp( $a['t_city'], $b['t_city'] ); - } else { - // Force Etc to the bottom of the list - if ( 'Etc' === $a['continent'] ) { - return 1; - } - if ( 'Etc' === $b['continent'] ) { - return -1; - } - return strnatcasecmp( $a['t_continent'], $b['t_continent'] ); - } -} - -/** - * Gives a nicely-formatted list of timezone strings. - * - * @since 2.9.0 - * - * @param string $selected_zone Selected timezone. - * @return string - */ -function wp_timezone_choice( $selected_zone ) { - static $mo_loaded = false; - - $continents = array( 'Africa', 'America', 'Antarctica', 'Arctic', 'Asia', 'Atlantic', 'Australia', 'Europe', 'Indian', 'Pacific'); - - // Load translations for continents and cities - if ( !$mo_loaded ) { - $locale = get_locale(); - $mofile = WP_LANG_DIR . '/continents-cities-' . $locale . '.mo'; - load_textdomain( 'continents-cities', $mofile ); - $mo_loaded = true; - } - - $zonen = array(); - foreach ( timezone_identifiers_list() as $zone ) { - $zone = explode( '/', $zone ); - if ( !in_array( $zone[0], $continents ) ) { - continue; - } - - // This determines what gets set and translated - we don't translate Etc/* strings here, they are done later - $exists = array( - 0 => ( isset( $zone[0] ) && $zone[0] ), - 1 => ( isset( $zone[1] ) && $zone[1] ), - 2 => ( isset( $zone[2] ) && $zone[2] ), - ); - $exists[3] = ( $exists[0] && 'Etc' !== $zone[0] ); - $exists[4] = ( $exists[1] && $exists[3] ); - $exists[5] = ( $exists[2] && $exists[3] ); - - $zonen[] = array( - 'continent' => ( $exists[0] ? $zone[0] : '' ), - 'city' => ( $exists[1] ? $zone[1] : '' ), - 'subcity' => ( $exists[2] ? $zone[2] : '' ), - 't_continent' => ( $exists[3] ? translate( str_replace( '_', ' ', $zone[0] ), 'continents-cities' ) : '' ), - 't_city' => ( $exists[4] ? translate( str_replace( '_', ' ', $zone[1] ), 'continents-cities' ) : '' ), - 't_subcity' => ( $exists[5] ? translate( str_replace( '_', ' ', $zone[2] ), 'continents-cities' ) : '' ) - ); - } - usort( $zonen, '_wp_timezone_choice_usort_callback' ); - - $structure = array(); - - if ( empty( $selected_zone ) ) { - $structure[] = ''; - } - - foreach ( $zonen as $key => $zone ) { - // Build value in an array to join later - $value = array( $zone['continent'] ); - - if ( empty( $zone['city'] ) ) { - // It's at the continent level (generally won't happen) - $display = $zone['t_continent']; - } else { - // It's inside a continent group - - // Continent optgroup - if ( !isset( $zonen[$key - 1] ) || $zonen[$key - 1]['continent'] !== $zone['continent'] ) { - $label = $zone['t_continent']; - $structure[] = ''; - } - - // Add the city to the value - $value[] = $zone['city']; - - $display = $zone['t_city']; - if ( !empty( $zone['subcity'] ) ) { - // Add the subcity to the value - $value[] = $zone['subcity']; - $display .= ' - ' . $zone['t_subcity']; - } - } - - // Build the value - $value = join( '/', $value ); - $selected = ''; - if ( $value === $selected_zone ) { - $selected = 'selected="selected" '; - } - $structure[] = '"; - - // Close continent optgroup - if ( !empty( $zone['city'] ) && ( !isset($zonen[$key + 1]) || (isset( $zonen[$key + 1] ) && $zonen[$key + 1]['continent'] !== $zone['continent']) ) ) { - $structure[] = ''; - } - } - - // Do UTC - $structure[] = ''; - $selected = ''; - if ( 'UTC' === $selected_zone ) - $selected = 'selected="selected" '; - $structure[] = ''; - $structure[] = ''; - - // Do manual UTC offsets - $structure[] = ''; - $offset_range = array (-12, -11.5, -11, -10.5, -10, -9.5, -9, -8.5, -8, -7.5, -7, -6.5, -6, -5.5, -5, -4.5, -4, -3.5, -3, -2.5, -2, -1.5, -1, -0.5, - 0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 5.75, 6, 6.5, 7, 7.5, 8, 8.5, 8.75, 9, 9.5, 10, 10.5, 11, 11.5, 12, 12.75, 13, 13.75, 14); - foreach ( $offset_range as $offset ) { - if ( 0 <= $offset ) - $offset_name = '+' . $offset; - else - $offset_name = (string) $offset; - - $offset_value = $offset_name; - $offset_name = str_replace(array('.25','.5','.75'), array(':15',':30',':45'), $offset_name); - $offset_name = 'UTC' . $offset_name; - $offset_value = 'UTC' . $offset_value; - $selected = ''; - if ( $offset_value === $selected_zone ) - $selected = 'selected="selected" '; - $structure[] = '"; - - } - $structure[] = ''; - - return join( "\n", $structure ); -} - -/** - * Strip close comment and close php tags from file headers used by WP. - * - * @since 2.8.0 - * @access private - * - * @see http://core.trac.wordpress.org/ticket/8497 - * - * @param string $str Header comment to clean up. - * @return string - */ -function _cleanup_header_comment( $str ) { - return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str)); -} - -/** - * Permanently delete posts, pages, attachments, and comments which have been - * in the trash for EMPTY_TRASH_DAYS. - * - * @since 2.9.0 - */ -function wp_scheduled_delete() { - global $wpdb; - - $delete_timestamp = time() - ( DAY_IN_SECONDS * EMPTY_TRASH_DAYS ); - - $posts_to_delete = $wpdb->get_results($wpdb->prepare("SELECT post_id FROM $wpdb->postmeta WHERE meta_key = '_wp_trash_meta_time' AND meta_value < '%d'", $delete_timestamp), ARRAY_A); - - foreach ( (array) $posts_to_delete as $post ) { - $post_id = (int) $post['post_id']; - if ( !$post_id ) - continue; - - $del_post = get_post($post_id); - - if ( !$del_post || 'trash' != $del_post->post_status ) { - delete_post_meta($post_id, '_wp_trash_meta_status'); - delete_post_meta($post_id, '_wp_trash_meta_time'); - } else { - wp_delete_post($post_id); - } - } - - $comments_to_delete = $wpdb->get_results($wpdb->prepare("SELECT comment_id FROM $wpdb->commentmeta WHERE meta_key = '_wp_trash_meta_time' AND meta_value < '%d'", $delete_timestamp), ARRAY_A); - - foreach ( (array) $comments_to_delete as $comment ) { - $comment_id = (int) $comment['comment_id']; - if ( !$comment_id ) - continue; - - $del_comment = get_comment($comment_id); - - if ( !$del_comment || 'trash' != $del_comment->comment_approved ) { - delete_comment_meta($comment_id, '_wp_trash_meta_time'); - delete_comment_meta($comment_id, '_wp_trash_meta_status'); - } else { - wp_delete_comment($comment_id); - } - } -} - -/** - * Retrieve metadata from a file. - * - * Searches for metadata in the first 8kiB of a file, such as a plugin or theme. - * Each piece of metadata must be on its own line. Fields can not span multiple - * lines, the value will get cut at the end of the first line. - * - * If the file data is not within that first 8kiB, then the author should correct - * their plugin file and move the data headers to the top. - * - * @see http://codex.wordpress.org/File_Header - * - * @since 2.9.0 - * @param string $file Path to the file. - * @param array $default_headers List of headers, in the format array('HeaderKey' => 'Header Name'). - * @param string $context Optional. If specified adds filter hook "extra_{$context}_headers". - * Default empty. - */ -function get_file_data( $file, $default_headers, $context = '' ) { - // We don't need to write to the file, so just open for reading. - $fp = fopen( $file, 'r' ); - - // Pull only the first 8kiB of the file in. - $file_data = fread( $fp, 8192 ); - - // PHP will close file handle, but we are good citizens. - fclose( $fp ); - - // Make sure we catch CR-only line endings. - $file_data = str_replace( "\r", "\n", $file_data ); - - /** - * Filter extra file headers by context. - * - * The dynamic portion of the hook name, $context, refers to the context - * where extra headers might be loaded. - * - * @since 2.9.0 - * - * @param array $extra_context_headers Empty array by default. - */ - if ( $context && $extra_headers = apply_filters( "extra_{$context}_headers", array() ) ) { - $extra_headers = array_combine( $extra_headers, $extra_headers ); // keys equal values - $all_headers = array_merge( $extra_headers, (array) $default_headers ); - } else { - $all_headers = $default_headers; - } - - foreach ( $all_headers as $field => $regex ) { - if ( preg_match( '/^[ \t\/*#@]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, $match ) && $match[1] ) - $all_headers[ $field ] = _cleanup_header_comment( $match[1] ); - else - $all_headers[ $field ] = ''; - } - - return $all_headers; -} - -/** - * Returns true. - * - * Useful for returning true to filters easily. - * - * @since 3.0.0 - * - * @see __return_false() - * - * @return bool True. - */ -function __return_true() { - return true; -} - -/** - * Returns false. - * - * Useful for returning false to filters easily. - * - * @since 3.0.0 - * - * @see __return_true() - * - * @return bool False. - */ -function __return_false() { - return false; -} - -/** - * Returns 0. - * - * Useful for returning 0 to filters easily. - * - * @since 3.0.0 - * - * @return int 0. - */ -function __return_zero() { - return 0; -} - -/** - * Returns an empty array. - * - * Useful for returning an empty array to filters easily. - * - * @since 3.0.0 - * - * @return array Empty array. - */ -function __return_empty_array() { - return array(); -} - -/** - * Returns null. - * - * Useful for returning null to filters easily. - * - * @since 3.4.0 - * - * @return null Null value. - */ -function __return_null() { - return null; -} - -/** - * Returns an empty string. - * - * Useful for returning an empty string to filters easily. - * - * @since 3.7.0 - * - * @see __return_null() - * - * @return string Empty string. - */ -function __return_empty_string() { - return ''; -} - -/** - * Send a HTTP header to disable content type sniffing in browsers which support it. - * - * @since 3.0.0 - * - * @see http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx - * @see http://src.chromium.org/viewvc/chrome?view=rev&revision=6985 - */ -function send_nosniff_header() { - @header( 'X-Content-Type-Options: nosniff' ); -} - -/** - * Return a MySQL expression for selecting the week number based on the start_of_week option. - * - * @internal - * @since 3.0.0 - * - * @param string $column Database column. - * @return string SQL clause. - */ -function _wp_mysql_week( $column ) { - switch ( $start_of_week = (int) get_option( 'start_of_week' ) ) { - case 1 : - return "WEEK( $column, 1 )"; - case 2 : - case 3 : - case 4 : - case 5 : - case 6 : - return "WEEK( DATE_SUB( $column, INTERVAL $start_of_week DAY ), 0 )"; - case 0 : - default : - return "WEEK( $column, 0 )"; - } -} - -/** - * Find hierarchy loops using a callback function that maps object IDs to parent IDs. - * - * @since 3.1.0 - * @access private - * - * @param callback $callback Function that accepts ( ID, $callback_args ) and outputs parent_ID. - * @param int $start The ID to start the loop check at. - * @param int $start_parent The parent_ID of $start to use instead of calling $callback( $start ). - * Use null to always use $callback - * @param array $callback_args Optional. Additional arguments to send to $callback. - * @return array IDs of all members of loop. - */ -function wp_find_hierarchy_loop( $callback, $start, $start_parent, $callback_args = array() ) { - $override = is_null( $start_parent ) ? array() : array( $start => $start_parent ); - - if ( !$arbitrary_loop_member = wp_find_hierarchy_loop_tortoise_hare( $callback, $start, $override, $callback_args ) ) - return array(); - - return wp_find_hierarchy_loop_tortoise_hare( $callback, $arbitrary_loop_member, $override, $callback_args, true ); -} - -/** - * Use the "The Tortoise and the Hare" algorithm to detect loops. - * - * For every step of the algorithm, the hare takes two steps and the tortoise one. - * If the hare ever laps the tortoise, there must be a loop. - * - * @since 3.1.0 - * @access private - * - * @param callback $callback Function that accepts ( ID, callback_arg, ... ) and outputs parent_ID. - * @param int $start The ID to start the loop check at. - * @param array $override Optional. An array of ( ID => parent_ID, ... ) to use instead of $callback. - * Default empty array. - * @param array $callback_args Optional. Additional arguments to send to $callback. Default empty array. - * @param bool $_return_loop Optional. Return loop members or just detect presence of loop? Only set - * to true if you already know the given $start is part of a loop (otherwise - * the returned array might include branches). Default false. - * @return mixed Scalar ID of some arbitrary member of the loop, or array of IDs of all members of loop if - * $_return_loop - */ -function wp_find_hierarchy_loop_tortoise_hare( $callback, $start, $override = array(), $callback_args = array(), $_return_loop = false ) { - $tortoise = $hare = $evanescent_hare = $start; - $return = array(); - - // Set evanescent_hare to one past hare - // Increment hare two steps - while ( - $tortoise - && - ( $evanescent_hare = isset( $override[$hare] ) ? $override[$hare] : call_user_func_array( $callback, array_merge( array( $hare ), $callback_args ) ) ) - && - ( $hare = isset( $override[$evanescent_hare] ) ? $override[$evanescent_hare] : call_user_func_array( $callback, array_merge( array( $evanescent_hare ), $callback_args ) ) ) - ) { - if ( $_return_loop ) - $return[$tortoise] = $return[$evanescent_hare] = $return[$hare] = true; - - // tortoise got lapped - must be a loop - if ( $tortoise == $evanescent_hare || $tortoise == $hare ) - return $_return_loop ? $return : $tortoise; - - // Increment tortoise by one step - $tortoise = isset( $override[$tortoise] ) ? $override[$tortoise] : call_user_func_array( $callback, array_merge( array( $tortoise ), $callback_args ) ); - } - - return false; -} - -/** - * Send a HTTP header to limit rendering of pages to same origin iframes. - * - * @since 3.1.3 - * - * @see https://developer.mozilla.org/en/the_x-frame-options_response_header - */ -function send_frame_options_header() { - @header( 'X-Frame-Options: SAMEORIGIN' ); -} - -/** - * Retrieve a list of protocols to allow in HTML attributes. - * - * @since 3.3.0 - * - * @see wp_kses() - * @see esc_url() - * - * @return array Array of allowed protocols. - */ -function wp_allowed_protocols() { - static $protocols; - - if ( empty( $protocols ) ) { - $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp' ); - - /** - * Filter the list of protocols allowed in HTML attributes. - * - * @since 3.0.0 - * - * @param array $protocols Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more. - */ - $protocols = apply_filters( 'kses_allowed_protocols', $protocols ); - } - - return $protocols; -} - -/** - * Return a comma-separated string of functions that have been called to get - * to the current point in code. - * - * @since 3.4.0 - * - * @see http://core.trac.wordpress.org/ticket/19589 - * - * @param string $ignore_class Optional. A class to ignore all function calls within - useful - * when you want to just give info about the callee. Default null. - * @param int $skip_frames Optional. A number of stack frames to skip - useful for unwinding - * back to the source of the issue. Default 0. - * @param bool $pretty Optional. Whether or not you want a comma separated string or raw - * array returned. Default true. - * @return string|array Either a string containing a reversed comma separated trace or an array - * of individual calls. - */ -function wp_debug_backtrace_summary( $ignore_class = null, $skip_frames = 0, $pretty = true ) { - if ( version_compare( PHP_VERSION, '5.2.5', '>=' ) ) - $trace = debug_backtrace( false ); - else - $trace = debug_backtrace(); - - $caller = array(); - $check_class = ! is_null( $ignore_class ); - $skip_frames++; // skip this function - - foreach ( $trace as $call ) { - if ( $skip_frames > 0 ) { - $skip_frames--; - } elseif ( isset( $call['class'] ) ) { - if ( $check_class && $ignore_class == $call['class'] ) - continue; // Filter out calls - - $caller[] = "{$call['class']}{$call['type']}{$call['function']}"; - } else { - if ( in_array( $call['function'], array( 'do_action', 'apply_filters' ) ) ) { - $caller[] = "{$call['function']}('{$call['args'][0]}')"; - } elseif ( in_array( $call['function'], array( 'include', 'include_once', 'require', 'require_once' ) ) ) { - $caller[] = $call['function'] . "('" . str_replace( array( WP_CONTENT_DIR, ABSPATH ) , '', $call['args'][0] ) . "')"; - } else { - $caller[] = $call['function']; - } - } - } - if ( $pretty ) - return join( ', ', array_reverse( $caller ) ); - else - return $caller; -} - -/** - * Retrieve ids that are not already present in the cache. - * - * @since 3.4.0 - * @access private - * - * @param array $object_ids ID list. - * @param string $cache_key The cache bucket to check against. - * - * @return array List of ids not present in the cache. - */ -function _get_non_cached_ids( $object_ids, $cache_key ) { - $clean = array(); - foreach ( $object_ids as $id ) { - $id = (int) $id; - if ( !wp_cache_get( $id, $cache_key ) ) { - $clean[] = $id; - } - } - - return $clean; -} - -/** - * Test if the current device has the capability to upload files. - * - * @since 3.4.0 - * @access private - * - * @return bool true|false Whether the device is able to upload files. - */ -function _device_can_upload() { - if ( ! wp_is_mobile() ) - return true; - - $ua = $_SERVER['HTTP_USER_AGENT']; - - if ( strpos($ua, 'iPhone') !== false - || strpos($ua, 'iPad') !== false - || strpos($ua, 'iPod') !== false ) { - return preg_match( '#OS ([\d_]+) like Mac OS X#', $ua, $version ) && version_compare( $version[1], '6', '>=' ); - } - - return true; -} - -/** - * Test if a given path is a stream URL - * - * @param string $path The resource path or URL. - * @return bool True if the path is a stream URL. - */ -function wp_is_stream( $path ) { - $wrappers = stream_get_wrappers(); - $wrappers_re = '(' . join('|', $wrappers) . ')'; - - return preg_match( "!^$wrappers_re://!", $path ) === 1; -} - -/** - * Test if the supplied date is valid for the Gregorian calendar. - * - * @since 3.5.0 - * - * @see checkdate() - * - * @param int $month Month number. - * @param int $day Day number. - * @param int $year Year number. - * @param string $source_date The date to filter. - * @return bool True if valid date, false if not valid date. - */ -function wp_checkdate( $month, $day, $year, $source_date ) { - /** - * Filter whether the given date is valid for the Gregorian calendar. - * - * @since 3.5.0 - * - * @param bool $checkdate Whether the given date is valid. - * @param string $source_date Date to check. - */ - return apply_filters( 'wp_checkdate', checkdate( $month, $day, $year ), $source_date ); -} - -/** - * Load the auth check for monitoring whether the user is still logged in. - * - * Can be disabled with remove_action( 'admin_enqueue_scripts', 'wp_auth_check_load' ); - * - * This is disabled for certain screens where a login screen could cause an - * inconvenient interruption. A filter called wp_auth_check_load can be used - * for fine-grained control. - * - * @since 3.6.0 - */ -function wp_auth_check_load() { - if ( ! is_admin() && ! is_user_logged_in() ) - return; - - if ( defined( 'IFRAME_REQUEST' ) ) - return; - - $screen = get_current_screen(); - $hidden = array( 'update', 'update-network', 'update-core', 'update-core-network', 'upgrade', 'upgrade-network', 'network' ); - $show = ! in_array( $screen->id, $hidden ); - - /** - * Filter whether to load the authentication check. - * - * Passing a falsey value to the filter will effectively short-circuit - * loading the authentication check. - * - * @since 3.6.0 - * - * @param bool $show Whether to load the authentication check. - * @param WP_Screen $screen The current screen object. - */ - if ( apply_filters( 'wp_auth_check_load', $show, $screen ) ) { - wp_enqueue_style( 'wp-auth-check' ); - wp_enqueue_script( 'wp-auth-check' ); - - add_action( 'admin_print_footer_scripts', 'wp_auth_check_html', 5 ); - add_action( 'wp_print_footer_scripts', 'wp_auth_check_html', 5 ); - } -} - -/** - * Output the HTML that shows the wp-login dialog when the user is no longer logged in. - * - * @since 3.6.0 - */ -function wp_auth_check_html() { - $login_url = wp_login_url(); - $current_domain = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST']; - $same_domain = ( strpos( $login_url, $current_domain ) === 0 ); - - /** - * Filter whether the authentication check originated at the same domain. - * - * @since 3.6.0 - * - * @param bool $same_domain Whether the authentication check originated at the same domain. - */ - $same_domain = apply_filters( 'wp_auth_check_same_domain', $same_domain ); - $wrap_class = $same_domain ? 'hidden' : 'hidden fallback'; - - ?> -
        -
        -
        -
        - -
        - -
        -

        -

        -

        -
        -
        -
        - [\s\S]*<\/%1$s>|\s*\/>)', tag_escape( $tag ) ); -} - -/** - * Retrieve a canonical form of the provided charset appropriate for passing to PHP - * functions such as htmlspecialchars() and charset html attributes. - * - * @since 3.6.0 - * @access private - * - * @see http://core.trac.wordpress.org/ticket/23688 - * - * @param string $charset A charset name. - * @return string The canonical form of the charset. - */ -function _canonical_charset( $charset ) { - if ( 'UTF-8' === $charset || 'utf-8' === $charset || 'utf8' === $charset || - 'UTF8' === $charset ) - return 'UTF-8'; - - if ( 'ISO-8859-1' === $charset || 'iso-8859-1' === $charset || - 'iso8859-1' === $charset || 'ISO8859-1' === $charset ) - return 'ISO-8859-1'; - - return $charset; -} - -/** - * Set the mbstring internal encoding to a binary safe encoding when func_overload - * is enabled. - * - * When mbstring.func_overload is in use for multi-byte encodings, the results from - * strlen() and similar functions respect the utf8 characters, causing binary data - * to return incorrect lengths. - * - * This function overrides the mbstring encoding to a binary-safe encoding, and - * resets it to the users expected encoding afterwards through the - * `reset_mbstring_encoding` function. - * - * It is safe to recursively call this function, however each - * `mbstring_binary_safe_encoding()` call must be followed up with an equal number - * of `reset_mbstring_encoding()` calls. - * - * @since 3.7.0 - * - * @see reset_mbstring_encoding() - * - * @param bool $reset Optional. Whether to reset the encoding back to a previously-set encoding. - * Default false. - */ -function mbstring_binary_safe_encoding( $reset = false ) { - static $encodings = array(); - static $overloaded = null; - - if ( is_null( $overloaded ) ) - $overloaded = function_exists( 'mb_internal_encoding' ) && ( ini_get( 'mbstring.func_overload' ) & 2 ); - - if ( false === $overloaded ) - return; - - if ( ! $reset ) { - $encoding = mb_internal_encoding(); - array_push( $encodings, $encoding ); - mb_internal_encoding( 'ISO-8859-1' ); - } - - if ( $reset && $encodings ) { - $encoding = array_pop( $encodings ); - mb_internal_encoding( $encoding ); - } -} - -/** - * Reset the mbstring internal encoding to a users previously set encoding. - * - * @see mbstring_binary_safe_encoding() - * - * @since 3.7.0 - */ -function reset_mbstring_encoding() { - mbstring_binary_safe_encoding( true ); -} - -/** - * Alternative to filter_var( $var, FILTER_VALIDATE_BOOLEAN ). - * - * @since 4.0.0 - * - * @param mixed $var Boolean value to validate. - * @return bool Whether the value is validated. - */ -function wp_validate_boolean( $var ) { - if ( is_bool( $var ) ) { - return $var; - } - - if ( 'false' === $var ) { - return false; - } - - return (bool) $var; -} diff --git a/sources/wordpress/wp-includes/functions.wp-scripts.php b/sources/wordpress/wp-includes/functions.wp-scripts.php deleted file mode 100644 index ea719df..0000000 --- a/sources/wordpress/wp-includes/functions.wp-scripts.php +++ /dev/null @@ -1,258 +0,0 @@ -wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - - if ( !$handles ) - return array(); // No need to instantiate if nothing is there. - else - $wp_scripts = new WP_Scripts(); - } - - return $wp_scripts->do_items( $handles ); -} - -/** - * Register a new script. - * - * Registers a script to be linked later using the wp_enqueue_script() function. - * - * @see WP_Dependencies::add(), WP_Dependencies::add_data() - * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. - * - * @since 2.6.0 - * - * @param string $handle Name of the script. Should be unique. - * @param string $src Path to the script from the WordPress root directory. Example: '/js/myscript.js'. - * @param array $deps Optional. An array of registered script handles this script depends on. Set to false if there - * are no dependencies. Default empty array. - * @param string|bool $ver Optional. String specifying script version number, if it has one, which is concatenated - * to end of path as a query string. If no version is specified or set to false, a version - * number is automatically added equal to current installed WordPress version. - * If set to null, no version is added. Default 'false'. Accepts 'false', 'null', or 'string'. - * @param bool $in_footer Optional. Whether to enqueue the script before or before . - * Default 'false'. Accepts 'false' or 'true'. - */ -function wp_register_script( $handle, $src, $deps = array(), $ver = false, $in_footer = false ) { - global $wp_scripts; - if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_scripts = new WP_Scripts(); - } - - $wp_scripts->add( $handle, $src, $deps, $ver ); - if ( $in_footer ) - $wp_scripts->add_data( $handle, 'group', 1 ); -} - -/** - * Localize a script. - * - * Works only if the script has already been added. - * - * Accepts an associative array $l10n and creates a JavaScript object: - * - * "$object_name" = { - * key: value, - * key: value, - * ... - * } - * - * - * @see WP_Dependencies::localize() - * @link http://core.trac.wordpress.org/ticket/11520 - * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. - * - * @since 2.6.0 - * - * @param string $handle Script handle the data will be attached to. - * @param string $object_name Name for the JavaScript object. Passed directly, so it should be qualified JS variable. - * Example: '/[a-zA-Z0-9_]+/'. - * @param array $l10n The data itself. The data can be either a single or multi-dimensional array. - * @return bool True if the script was successfully localized, false otherwise. - */ -function wp_localize_script( $handle, $object_name, $l10n ) { - global $wp_scripts; - if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - - return false; - } - - return $wp_scripts->localize( $handle, $object_name, $l10n ); -} - -/** - * Remove a registered script. - * - * Note: there are intentional safeguards in place to prevent critical admin scripts, - * such as jQuery core, from being unregistered. - * - * @see WP_Dependencies::remove() - * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. - * - * @since 2.6.0 - * - * @param string $handle Name of the script to be removed. - */ -function wp_deregister_script( $handle ) { - global $wp_scripts; - if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_scripts = new WP_Scripts(); - } - - /** - * Do not allow accidental or negligent de-registering of critical scripts in the admin. - * Show minimal remorse if the correct hook is used. - */ - $current_filter = current_filter(); - if ( ( is_admin() && 'admin_enqueue_scripts' !== $current_filter ) || - ( 'wp-login.php' === $GLOBALS['pagenow'] && 'login_enqueue_scripts' !== $current_filter ) - ) { - $no = array( - 'jquery', 'jquery-core', 'jquery-migrate', 'jquery-ui-core', 'jquery-ui-accordion', - 'jquery-ui-autocomplete', 'jquery-ui-button', 'jquery-ui-datepicker', 'jquery-ui-dialog', - 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-menu', 'jquery-ui-mouse', - 'jquery-ui-position', 'jquery-ui-progressbar', 'jquery-ui-resizable', 'jquery-ui-selectable', - 'jquery-ui-slider', 'jquery-ui-sortable', 'jquery-ui-spinner', 'jquery-ui-tabs', - 'jquery-ui-tooltip', 'jquery-ui-widget', 'underscore', 'backbone', - ); - - if ( in_array( $handle, $no ) ) { - $message = sprintf( __( 'Do not deregister the %1$s script in the administration area. To target the frontend theme, use the %2$s hook.' ), - "$handle", 'wp_enqueue_scripts' ); - _doing_it_wrong( __FUNCTION__, $message, '3.6' ); - return; - } - } - - $wp_scripts->remove( $handle ); -} - -/** - * Enqueue a script. - * - * Registers the script if $src provided (does NOT overwrite), and enqueues it. - * - * @see WP_Dependencies::add(), WP_Dependencies::add_data(), WP_Dependencies::enqueue() - * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. - * - * @since 2.6.0 - - * @param string $handle Name of the script. - * @param string|bool $src Path to the script from the root directory of WordPress. Example: '/js/myscript.js'. - * @param array $deps An array of registered handles this script depends on. Default empty array. - * @param string|bool $ver Optional. String specifying the script version number, if it has one. This parameter - * is used to ensure that the correct version is sent to the client regardless of caching, - * and so should be included if a version number is available and makes sense for the script. - * @param bool $in_footer Optional. Whether to enqueue the script before or before . - * Default 'false'. Accepts 'false' or 'true'. - */ -function wp_enqueue_script( $handle, $src = false, $deps = array(), $ver = false, $in_footer = false ) { - global $wp_scripts; - if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_scripts = new WP_Scripts(); - } - - if ( $src ) { - $_handle = explode('?', $handle); - $wp_scripts->add( $_handle[0], $src, $deps, $ver ); - if ( $in_footer ) - $wp_scripts->add_data( $_handle[0], 'group', 1 ); - } - $wp_scripts->enqueue( $handle ); -} - -/** - * Remove a previously enqueued script. - * - * @see WP_Dependencies::dequeue() - * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. - * - * @since 3.1.0 - * - * @param string $handle Name of the script to be removed. - */ -function wp_dequeue_script( $handle ) { - global $wp_scripts; - if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_scripts = new WP_Scripts(); - } - - $wp_scripts->dequeue( $handle ); -} - -/** - * Check whether a script has been added to the queue. - * - * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. - * - * @since 2.8.0 - * @since 3.5.0 'enqueued' added as an alias of the 'queue' list. - * - * @param string $handle Name of the script. - * @param string $list Optional. Status of the script to check. Default 'enqueued'. - * Accepts 'enqueued', 'registered', 'queue', 'to_do', and 'done'. - * @return bool Whether the script script is queued. - */ -function wp_script_is( $handle, $list = 'enqueued' ) { - global $wp_scripts; - if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_scripts = new WP_Scripts(); - } - - return (bool) $wp_scripts->query( $handle, $list ); -} diff --git a/sources/wordpress/wp-includes/functions.wp-styles.php b/sources/wordpress/wp-includes/functions.wp-styles.php deleted file mode 100644 index a582f5c..0000000 --- a/sources/wordpress/wp-includes/functions.wp-styles.php +++ /dev/null @@ -1,245 +0,0 @@ -wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - - if ( !$handles ) - return array(); // No need to instantiate if nothing is there. - else - $wp_styles = new WP_Styles(); - } - - return $wp_styles->do_items( $handles ); -} - -/** - * Add extra CSS styles to a registered stylesheet. - * - * Styles will only be added if the stylesheet in already in the queue. - * Accepts a string $data containing the CSS. If two or more CSS code blocks - * are added to the same stylesheet $handle, they will be printed in the order - * they were added, i.e. the latter added styles can redeclare the previous. - * - * @see WP_Styles::add_inline_style() - * @global WP_Styles $wp_styles The WP_Styles object for printing styles. - * - * @since 3.3.0 - * - * @param string $handle Name of the stylesheet to add the extra styles to. Must be lowercase. - * @param string $data String containing the CSS styles to be added. - * @return bool True on success, false on failure. - */ -function wp_add_inline_style( $handle, $data ) { - global $wp_styles; - if ( ! is_a( $wp_styles, 'WP_Styles' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_styles = new WP_Styles(); - } - - if ( false !== stripos( $data, '' ) ) { - _doing_it_wrong( __FUNCTION__, 'Do not pass style tags to wp_add_inline_style().', '3.7' ); - $data = trim( preg_replace( '#]*>(.*)#is', '$1', $data ) ); - } - - return $wp_styles->add_inline_style( $handle, $data ); -} - -/** - * Register a CSS stylesheet. - * - * @see WP_Dependencies::add() - * @link http://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types. - * @global WP_Styles $wp_styles The WP_Styles object for printing styles. - * - * @since 2.6.0 - * - * @param string $handle Name of the stylesheet. - * @param string|bool $src Path to the stylesheet from the WordPress root directory. Example: '/css/mystyle.css'. - * @param array $deps An array of registered style handles this stylesheet depends on. Default empty array. - * @param string|bool $ver String specifying the stylesheet version number. Used to ensure that the correct version - * is sent to the client regardless of caching. Default 'false'. Accepts 'false', 'null', or 'string'. - * @param string $media Optional. The media for which this stylesheet has been defined. - * Default 'all'. Accepts 'all', 'aural', 'braille', 'handheld', 'projection', 'print', - * 'screen', 'tty', or 'tv'. - */ -function wp_register_style( $handle, $src, $deps = array(), $ver = false, $media = 'all' ) { - global $wp_styles; - if ( ! is_a( $wp_styles, 'WP_Styles' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_styles = new WP_Styles(); - } - - $wp_styles->add( $handle, $src, $deps, $ver, $media ); -} - -/** - * Remove a registered stylesheet. - * - * @see WP_Dependencies::remove() - * @global WP_Styles $wp_styles The WP_Styles object for printing styles. - * - * @since 2.1.0 - * - * @param string $handle Name of the stylesheet to be removed. - */ -function wp_deregister_style( $handle ) { - global $wp_styles; - if ( ! is_a( $wp_styles, 'WP_Styles' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_styles = new WP_Styles(); - } - - $wp_styles->remove( $handle ); -} - -/** - * Enqueue a CSS stylesheet. - * - * Registers the style if source provided (does NOT overwrite) and enqueues. - * - * @see WP_Dependencies::add(), WP_Dependencies::enqueue() - * @link http://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types. - * @global WP_Styles $wp_styles The WP_Styles object for printing styles. - * - * @since 2.6.0 - * - * @param string $handle Name of the stylesheet. - * @param string|bool $src Path to the stylesheet from the root directory of WordPress. Example: '/css/mystyle.css'. - * @param array $deps An array of registered style handles this stylesheet depends on. Default empty array. - * @param string|bool $ver String specifying the stylesheet version number, if it has one. This parameter is used - * to ensure that the correct version is sent to the client regardless of caching, and so - * should be included if a version number is available and makes sense for the stylesheet. - * @param string $media Optional. The media for which this stylesheet has been defined. - * Default 'all'. Accepts 'all', 'aural', 'braille', 'handheld', 'projection', 'print', - * 'screen', 'tty', or 'tv'. - */ -function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false, $media = 'all' ) { - global $wp_styles; - if ( ! is_a( $wp_styles, 'WP_Styles' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_styles = new WP_Styles(); - } - - if ( $src ) { - $_handle = explode('?', $handle); - $wp_styles->add( $_handle[0], $src, $deps, $ver, $media ); - } - $wp_styles->enqueue( $handle ); -} - -/** - * Remove a previously enqueued CSS stylesheet. - * - * @see WP_Dependencies::dequeue() - * @global WP_Styles $wp_styles The WP_Styles object for printing styles. - * - * @since 3.1.0 - * - * @param string $handle Name of the stylesheet to be removed. - */ -function wp_dequeue_style( $handle ) { - global $wp_styles; - if ( ! is_a( $wp_styles, 'WP_Styles' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_styles = new WP_Styles(); - } - - $wp_styles->dequeue( $handle ); -} - -/** - * Check whether a CSS stylesheet has been added to the queue. - * - * @global WP_Styles $wp_styles The WP_Styles object for printing styles. - * - * @since 2.8.0 - * - * @param string $handle Name of the stylesheet. - * @param string $list Optional. Status of the stylesheet to check. Default 'enqueued'. - * Accepts 'enqueued', 'registered', 'queue', 'to_do', and 'done'. - * @return bool Whether style is queued. - */ -function wp_style_is( $handle, $list = 'enqueued' ) { - global $wp_styles; - if ( ! is_a( $wp_styles, 'WP_Styles' ) ) { - if ( ! did_action( 'init' ) ) - _doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ), - 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '3.3' ); - $wp_styles = new WP_Styles(); - } - - return (bool) $wp_styles->query( $handle, $list ); -} - -/** - * Add metadata to a CSS stylesheet. - * - * Works only if the stylesheet has already been added. - * - * Possible values for $key and $value: - * 'conditional' string Comments for IE 6, lte IE 7 etc. - * 'rtl' bool|string To declare an RTL stylesheet. - * 'suffix' string Optional suffix, used in combination with RTL. - * 'alt' bool For rel="alternate stylesheet". - * 'title' string For preferred/alternate stylesheets. - * - * @see WP_Dependency::add_data() - * - * @since 3.6.0 - * - * @param string $handle Name of the stylesheet. - * @param string $key Name of data point for which we're storing a value. - * Accepts 'conditional', 'rtl' and 'suffix', 'alt' and 'title'. - * @param mixed $data String containing the CSS data to be added. - * @return bool True on success, false on failure. - */ -function wp_style_add_data( $handle, $key, $value ) { - global $wp_styles; - return $wp_styles->add_data( $handle, $key, $value ); -} diff --git a/sources/wordpress/wp-includes/general-template.php b/sources/wordpress/wp-includes/general-template.php deleted file mode 100644 index 61665ad..0000000 --- a/sources/wordpress/wp-includes/general-template.php +++ /dev/null @@ -1,2982 +0,0 @@ - - - - '; - } else { - $form = ''; - } - } - - /** - * Filter the HTML output of the search form. - * - * @since 2.7.0 - * - * @param string $form The search form HTML output. - */ - $result = apply_filters( 'get_search_form', $form ); - - if ( null === $result ) - $result = $form; - - if ( $echo ) - echo $result; - else - return $result; -} - -/** - * Display the Log In/Out link. - * - * Displays a link, which allows users to navigate to the Log In page to log in - * or log out depending on whether they are currently logged in. - * - * @since 1.5.0 - * - * @param string $redirect Optional path to redirect to on login/logout. - * @param boolean $echo Default to echo and not return the link. - * @return string|null String when retrieving, null when displaying. - */ -function wp_loginout($redirect = '', $echo = true) { - if ( ! is_user_logged_in() ) - $link = '' . __('Log in') . ''; - else - $link = '' . __('Log out') . ''; - - if ( $echo ) { - /** - * Filter the HTML output for the Log In/Log Out link. - * - * @since 1.5.0 - * - * @param string $link The HTML link content. - */ - echo apply_filters( 'loginout', $link ); - } else { - /** This filter is documented in wp-includes/general-template.php */ - return apply_filters( 'loginout', $link ); - } -} - -/** - * Returns the Log Out URL. - * - * Returns the URL that allows the user to log out of the site. - * - * @since 2.7.0 - * - * @uses wp_nonce_url() To protect against CSRF. - * @uses site_url() To generate the log out URL. - * - * @param string $redirect Path to redirect to on logout. - * @return string A log out URL. - */ -function wp_logout_url($redirect = '') { - $args = array( 'action' => 'logout' ); - if ( !empty($redirect) ) { - $args['redirect_to'] = urlencode( $redirect ); - } - - $logout_url = add_query_arg($args, site_url('wp-login.php', 'login')); - $logout_url = wp_nonce_url( $logout_url, 'log-out' ); - - /** - * Filter the logout URL. - * - * @since 2.8.0 - * - * @param string $logout_url The Log Out URL. - * @param string $redirect Path to redirect to on logout. - */ - return apply_filters( 'logout_url', $logout_url, $redirect ); -} - -/** - * Returns the Log In URL. - * - * Returns the URL that allows the user to log in to the site. - * - * @since 2.7.0 - * - * @uses site_url() To generate the log in URL. - * - * @param string $redirect Path to redirect to on login. - * @param bool $force_reauth Whether to force reauthorization, even if a cookie is present. Default is false. - * @return string A log in URL. - */ -function wp_login_url($redirect = '', $force_reauth = false) { - $login_url = site_url('wp-login.php', 'login'); - - if ( !empty($redirect) ) - $login_url = add_query_arg('redirect_to', urlencode($redirect), $login_url); - - if ( $force_reauth ) - $login_url = add_query_arg('reauth', '1', $login_url); - - /** - * Filter the login URL. - * - * @since 2.8.0 - * - * @param string $login_url The login URL. - * @param string $redirect The path to redirect to on login, if supplied. - */ - return apply_filters( 'login_url', $login_url, $redirect ); -} - -/** - * Returns the user registration URL. - * - * Returns the URL that allows the user to register on the site. - * - * @since 3.6.0 - * - * @uses site_url() To generate the registration URL. - * - * @return string User registration URL. - */ -function wp_registration_url() { - /** - * Filter the user registration URL. - * - * @since 3.6.0 - * - * @param string $register The user registration URL. - */ - return apply_filters( 'register_url', site_url( 'wp-login.php?action=register', 'login' ) ); -} - -/** - * Provides a simple login form for use anywhere within WordPress. By default, it echoes - * the HTML immediately. Pass array('echo'=>false) to return the string instead. - * - * @since 3.0.0 - * - * @param array $args Configuration options to modify the form output. - * @return string|null String when retrieving, null when displaying. - */ -function wp_login_form( $args = array() ) { - $defaults = array( - 'echo' => true, - 'redirect' => ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], // Default redirect is back to the current page - 'form_id' => 'loginform', - 'label_username' => __( 'Username' ), - 'label_password' => __( 'Password' ), - 'label_remember' => __( 'Remember Me' ), - 'label_log_in' => __( 'Log In' ), - 'id_username' => 'user_login', - 'id_password' => 'user_pass', - 'id_remember' => 'rememberme', - 'id_submit' => 'wp-submit', - 'remember' => true, - 'value_username' => '', - 'value_remember' => false, // Set this to true to default the "Remember me" checkbox to checked - ); - - /** - * Filter the default login form output arguments. - * - * @since 3.0.0 - * - * @see wp_login_form() - * - * @param array $defaults An array of default login form arguments. - */ - $args = wp_parse_args( $args, apply_filters( 'login_form_defaults', $defaults ) ); - - /** - * Filter content to display at the top of the login form. - * - * The filter evaluates just following the opening form tag element. - * - * @since 3.0.0 - * - * @param string $content Content to display. Default empty. - * @param array $args Array of login form arguments. - */ - $login_form_top = apply_filters( 'login_form_top', '', $args ); - - /** - * Filter content to display in the middle of the login form. - * - * The filter evaluates just following the location where the 'login-password' - * field is displayed. - * - * @since 3.0.0 - * - * @param string $content Content to display. Default empty. - * @param array $args Array of login form arguments. - */ - $login_form_middle = apply_filters( 'login_form_middle', '', $args ); - - /** - * Filter content to display at the bottom of the login form. - * - * The filter evaluates just preceding the closing form tag element. - * - * @since 3.0.0 - * - * @param string $content Content to display. Default empty. - * @param array $args Array of login form arguments. - */ - $login_form_bottom = apply_filters( 'login_form_bottom', '', $args ); - - $form = ' -
        - ' . $login_form_top . ' - - - ' . $login_form_middle . ' - ' . ( $args['remember'] ? '' : '' ) . ' - - ' . $login_form_bottom . ' -
        '; - - if ( $args['echo'] ) - echo $form; - else - return $form; -} - -/** - * Returns the Lost Password URL. - * - * Returns the URL that allows the user to retrieve the lost password - * - * @since 2.8.0 - * - * @uses site_url() To generate the lost password URL - * - * @param string $redirect Path to redirect to on login. - * @return string Lost password URL. - */ -function wp_lostpassword_url( $redirect = '' ) { - $args = array( 'action' => 'lostpassword' ); - if ( !empty($redirect) ) { - $args['redirect_to'] = $redirect; - } - - $lostpassword_url = add_query_arg( $args, network_site_url('wp-login.php', 'login') ); - - /** - * Filter the Lost Password URL. - * - * @since 2.8.0 - * - * @param string $lostpassword_url The lost password page URL. - * @param string $redirect The path to redirect to on login. - */ - return apply_filters( 'lostpassword_url', $lostpassword_url, $redirect ); -} - -/** - * Display the Registration or Admin link. - * - * Display a link which allows the user to navigate to the registration page if - * not logged in and registration is enabled or to the dashboard if logged in. - * - * @since 1.5.0 - * - * @param string $before Text to output before the link (defaults to
      14. ). - * @param string $after Text to output after the link (defaults to
      15. ). - * @param boolean $echo Default to echo and not return the link. - * @return string|null String when retrieving, null when displaying. - */ -function wp_register( $before = '
      16. ', $after = '
      17. ', $echo = true ) { - - if ( ! is_user_logged_in() ) { - if ( get_option('users_can_register') ) - $link = $before . '' . __('Register') . '' . $after; - else - $link = ''; - } else { - $link = $before . '' . __('Site Admin') . '' . $after; - } - - /** - * Filter the HTML link to the Registration or Admin page. - * - * Users are sent to the admin page if logged-in, or the registration page - * if enabled and logged-out. - * - * @since 1.5.0 - * - * @param string $link The HTML code for the link to the Registration or Admin page. - */ - $link = apply_filters( 'register', $link ); - - if ( $echo ) { - echo $link; - } else { - return $link; - } -} - -/** - * Theme container function for the 'wp_meta' action. - * - * The 'wp_meta' action can have several purposes, depending on how you use it, - * but one purpose might have been to allow for theme switching. - * - * @since 1.5.0 - * - * @link http://trac.wordpress.org/ticket/1458 Explanation of 'wp_meta' action. - */ -function wp_meta() { - /** - * Fires before displaying echoed content in the sidebar. - * - * @since 1.5.0 - */ - do_action( 'wp_meta' ); -} - -/** - * Display information about the blog. - * - * @see get_bloginfo() For possible values for the parameter. - * @since 0.71 - * - * @param string $show What to display. - */ -function bloginfo( $show='' ) { - echo get_bloginfo( $show, 'display' ); -} - -/** - * Retrieve information about the blog. - * - * Some show parameter values are deprecated and will be removed in future - * versions. These options will trigger the _deprecated_argument() function. - * The deprecated blog info options are listed in the function contents. - * - * The possible values for the 'show' parameter are listed below. - *
          - *
        1. url - Blog URI to homepage.
        2. - *
        3. wpurl - Blog URI path to WordPress.
        4. - *
        5. description - Secondary title
        6. - *
        - * - * The feed URL options can be retrieved from 'rdf_url' (RSS 0.91), - * 'rss_url' (RSS 1.0), 'rss2_url' (RSS 2.0), or 'atom_url' (Atom feed). The - * comment feeds can be retrieved from the 'comments_atom_url' (Atom comment - * feed) or 'comments_rss2_url' (RSS 2.0 comment feed). - * - * @since 0.71 - * - * @param string $show Blog info to retrieve. - * @param string $filter How to filter what is retrieved. - * @return string Mostly string values, might be empty. - */ -function get_bloginfo( $show = '', $filter = 'raw' ) { - - switch( $show ) { - case 'home' : // DEPRECATED - case 'siteurl' : // DEPRECATED - _deprecated_argument( __FUNCTION__, '2.2', sprintf( __('The %s option is deprecated for the family of bloginfo() functions.' ), $show ) . ' ' . sprintf( __( 'Use the %s option instead.' ), 'url' ) ); - case 'url' : - $output = home_url(); - break; - case 'wpurl' : - $output = site_url(); - break; - case 'description': - $output = get_option('blogdescription'); - break; - case 'rdf_url': - $output = get_feed_link('rdf'); - break; - case 'rss_url': - $output = get_feed_link('rss'); - break; - case 'rss2_url': - $output = get_feed_link('rss2'); - break; - case 'atom_url': - $output = get_feed_link('atom'); - break; - case 'comments_atom_url': - $output = get_feed_link('comments_atom'); - break; - case 'comments_rss2_url': - $output = get_feed_link('comments_rss2'); - break; - case 'pingback_url': - $output = site_url( 'xmlrpc.php' ); - break; - case 'stylesheet_url': - $output = get_stylesheet_uri(); - break; - case 'stylesheet_directory': - $output = get_stylesheet_directory_uri(); - break; - case 'template_directory': - case 'template_url': - $output = get_template_directory_uri(); - break; - case 'admin_email': - $output = get_option('admin_email'); - break; - case 'charset': - $output = get_option('blog_charset'); - if ('' == $output) $output = 'UTF-8'; - break; - case 'html_type' : - $output = get_option('html_type'); - break; - case 'version': - global $wp_version; - $output = $wp_version; - break; - case 'language': - $output = get_locale(); - $output = str_replace('_', '-', $output); - break; - case 'text_direction': - //_deprecated_argument( __FUNCTION__, '2.2', sprintf( __('The %s option is deprecated for the family of bloginfo() functions.' ), $show ) . ' ' . sprintf( __( 'Use the %s function instead.' ), 'is_rtl()' ) ); - if ( function_exists( 'is_rtl' ) ) { - $output = is_rtl() ? 'rtl' : 'ltr'; - } else { - $output = 'ltr'; - } - break; - case 'name': - default: - $output = get_option('blogname'); - break; - } - - $url = true; - if (strpos($show, 'url') === false && - strpos($show, 'directory') === false && - strpos($show, 'home') === false) - $url = false; - - if ( 'display' == $filter ) { - if ( $url ) { - /** - * Filter the URL returned by get_bloginfo(). - * - * @since 2.0.5 - * - * @param mixed $output The URL returned by bloginfo(). - * @param mixed $show Type of information requested. - */ - $output = apply_filters( 'bloginfo_url', $output, $show ); - } else { - /** - * Filter the site information returned by get_bloginfo(). - * - * @since 0.71 - * - * @param mixed $output The requested non-URL site information. - * @param mixed $show Type of information requested. - */ - $output = apply_filters( 'bloginfo', $output, $show ); - } - } - - return $output; -} - -/** - * Display or retrieve page title for all areas of blog. - * - * By default, the page title will display the separator before the page title, - * so that the blog title will be before the page title. This is not good for - * title display, since the blog title shows up on most tabs and not what is - * important, which is the page that the user is looking at. - * - * There are also SEO benefits to having the blog title after or to the 'right' - * or the page title. However, it is mostly common sense to have the blog title - * to the right with most browsers supporting tabs. You can achieve this by - * using the seplocation parameter and setting the value to 'right'. This change - * was introduced around 2.5.0, in case backwards compatibility of themes is - * important. - * - * @since 1.0.0 - * - * @param string $sep Optional, default is '»'. How to separate the various items within the page title. - * @param bool $display Optional, default is true. Whether to display or retrieve title. - * @param string $seplocation Optional. Direction to display title, 'right'. - * @return string|null String on retrieve, null when displaying. - */ -function wp_title($sep = '»', $display = true, $seplocation = '') { - global $wp_locale; - - $m = get_query_var('m'); - $year = get_query_var('year'); - $monthnum = get_query_var('monthnum'); - $day = get_query_var('day'); - $search = get_query_var('s'); - $title = ''; - - $t_sep = '%WP_TITILE_SEP%'; // Temporary separator, for accurate flipping, if necessary - - // If there is a post - if ( is_single() || ( is_home() && !is_front_page() ) || ( is_page() && !is_front_page() ) ) { - $title = single_post_title( '', false ); - } - - // If there's a post type archive - if ( is_post_type_archive() ) { - $post_type = get_query_var( 'post_type' ); - if ( is_array( $post_type ) ) - $post_type = reset( $post_type ); - $post_type_object = get_post_type_object( $post_type ); - if ( ! $post_type_object->has_archive ) - $title = post_type_archive_title( '', false ); - } - - // If there's a category or tag - if ( is_category() || is_tag() ) { - $title = single_term_title( '', false ); - } - - // If there's a taxonomy - if ( is_tax() ) { - $term = get_queried_object(); - if ( $term ) { - $tax = get_taxonomy( $term->taxonomy ); - $title = single_term_title( $tax->labels->name . $t_sep, false ); - } - } - - // If there's an author - if ( is_author() && ! is_post_type_archive() ) { - $author = get_queried_object(); - if ( $author ) - $title = $author->display_name; - } - - // Post type archives with has_archive should override terms. - if ( is_post_type_archive() && $post_type_object->has_archive ) - $title = post_type_archive_title( '', false ); - - // If there's a month - if ( is_archive() && !empty($m) ) { - $my_year = substr($m, 0, 4); - $my_month = $wp_locale->get_month(substr($m, 4, 2)); - $my_day = intval(substr($m, 6, 2)); - $title = $my_year . ( $my_month ? $t_sep . $my_month : '' ) . ( $my_day ? $t_sep . $my_day : '' ); - } - - // If there's a year - if ( is_archive() && !empty($year) ) { - $title = $year; - if ( !empty($monthnum) ) - $title .= $t_sep . $wp_locale->get_month($monthnum); - if ( !empty($day) ) - $title .= $t_sep . zeroise($day, 2); - } - - // If it's a search - if ( is_search() ) { - /* translators: 1: separator, 2: search phrase */ - $title = sprintf(__('Search Results %1$s %2$s'), $t_sep, strip_tags($search)); - } - - // If it's a 404 page - if ( is_404() ) { - $title = __('Page not found'); - } - - $prefix = ''; - if ( !empty($title) ) - $prefix = " $sep "; - - /** - * Filter the parts of the page title. - * - * @since 4.0.0 - * - * @param array $title_array Parts of the page title. - */ - $title_array = apply_filters( 'wp_title_parts', explode( $t_sep, $title ) ); - - // Determines position of the separator and direction of the breadcrumb - if ( 'right' == $seplocation ) { // sep on right, so reverse the order - $title_array = array_reverse( $title_array ); - $title = implode( " $sep ", $title_array ) . $prefix; - } else { - $title = $prefix . implode( " $sep ", $title_array ); - } - - /** - * Filter the text of the page title. - * - * @since 2.0.0 - * - * @param string $title Page title. - * @param string $sep Title separator. - * @param string $seplocation Location of the separator (left or right). - */ - $title = apply_filters( 'wp_title', $title, $sep, $seplocation ); - - // Send it out - if ( $display ) - echo $title; - else - return $title; - -} - -/** - * Display or retrieve page title for post. - * - * This is optimized for single.php template file for displaying the post title. - * - * It does not support placing the separator after the title, but by leaving the - * prefix parameter empty, you can set the title separator manually. The prefix - * does not automatically place a space between the prefix, so if there should - * be a space, the parameter value will need to have it at the end. - * - * @since 0.71 - * - * @param string $prefix Optional. What to display before the title. - * @param bool $display Optional, default is true. Whether to display or retrieve title. - * @return string|null Title when retrieving, null when displaying or failure. - */ -function single_post_title($prefix = '', $display = true) { - $_post = get_queried_object(); - - if ( !isset($_post->post_title) ) - return; - - /** - * Filter the page title for a single post. - * - * @since 0.71 - * - * @param string $_post_title The single post page title. - * @param object $_post The current queried object as returned by get_queried_object(). - */ - $title = apply_filters( 'single_post_title', $_post->post_title, $_post ); - if ( $display ) - echo $prefix . $title; - else - return $prefix . $title; -} - -/** - * Display or retrieve title for a post type archive. - * - * This is optimized for archive.php and archive-{$post_type}.php template files - * for displaying the title of the post type. - * - * @since 3.1.0 - * - * @param string $prefix Optional. What to display before the title. - * @param bool $display Optional, default is true. Whether to display or retrieve title. - * @return string|null Title when retrieving, null when displaying or failure. - */ -function post_type_archive_title( $prefix = '', $display = true ) { - if ( ! is_post_type_archive() ) - return; - - $post_type = get_query_var( 'post_type' ); - if ( is_array( $post_type ) ) - $post_type = reset( $post_type ); - - $post_type_obj = get_post_type_object( $post_type ); - - /** - * Filter the post type archive title. - * - * @since 3.1.0 - * - * @param string $post_type_name Post type 'name' label. - * @param string $post_type Post type. - */ - $title = apply_filters( 'post_type_archive_title', $post_type_obj->labels->name, $post_type ); - - if ( $display ) - echo $prefix . $title; - else - return $prefix . $title; -} - -/** - * Display or retrieve page title for category archive. - * - * This is useful for category template file or files, because it is optimized - * for category page title and with less overhead than {@link wp_title()}. - * - * It does not support placing the separator after the title, but by leaving the - * prefix parameter empty, you can set the title separator manually. The prefix - * does not automatically place a space between the prefix, so if there should - * be a space, the parameter value will need to have it at the end. - * - * @since 0.71 - * - * @param string $prefix Optional. What to display before the title. - * @param bool $display Optional, default is true. Whether to display or retrieve title. - * @return string|null Title when retrieving, null when displaying or failure. - */ -function single_cat_title( $prefix = '', $display = true ) { - return single_term_title( $prefix, $display ); -} - -/** - * Display or retrieve page title for tag post archive. - * - * Useful for tag template files for displaying the tag page title. It has less - * overhead than {@link wp_title()}, because of its limited implementation. - * - * It does not support placing the separator after the title, but by leaving the - * prefix parameter empty, you can set the title separator manually. The prefix - * does not automatically place a space between the prefix, so if there should - * be a space, the parameter value will need to have it at the end. - * - * @since 2.3.0 - * - * @param string $prefix Optional. What to display before the title. - * @param bool $display Optional, default is true. Whether to display or retrieve title. - * @return string|null Title when retrieving, null when displaying or failure. - */ -function single_tag_title( $prefix = '', $display = true ) { - return single_term_title( $prefix, $display ); -} - -/** - * Display or retrieve page title for taxonomy term archive. - * - * Useful for taxonomy term template files for displaying the taxonomy term page title. - * It has less overhead than {@link wp_title()}, because of its limited implementation. - * - * It does not support placing the separator after the title, but by leaving the - * prefix parameter empty, you can set the title separator manually. The prefix - * does not automatically place a space between the prefix, so if there should - * be a space, the parameter value will need to have it at the end. - * - * @since 3.1.0 - * - * @param string $prefix Optional. What to display before the title. - * @param bool $display Optional, default is true. Whether to display or retrieve title. - * @return string|null Title when retrieving, null when displaying or failure. - */ -function single_term_title( $prefix = '', $display = true ) { - $term = get_queried_object(); - - if ( !$term ) - return; - - if ( is_category() ) { - /** - * Filter the category archive page title. - * - * @since 2.0.10 - * - * @param string $term_name Category name for archive being displayed. - */ - $term_name = apply_filters( 'single_cat_title', $term->name ); - } elseif ( is_tag() ) { - /** - * Filter the tag archive page title. - * - * @since 2.3.0 - * - * @param string $term_name Tag name for archive being displayed. - */ - $term_name = apply_filters( 'single_tag_title', $term->name ); - } elseif ( is_tax() ) { - /** - * Filter the custom taxonomy archive page title. - * - * @since 3.1.0 - * - * @param string $term_name Term name for archive being displayed. - */ - $term_name = apply_filters( 'single_term_title', $term->name ); - } else { - return; - } - - if ( empty( $term_name ) ) - return; - - if ( $display ) - echo $prefix . $term_name; - else - return $prefix . $term_name; -} - -/** - * Display or retrieve page title for post archive based on date. - * - * Useful for when the template only needs to display the month and year, if - * either are available. Optimized for just this purpose, so if it is all that - * is needed, should be better than {@link wp_title()}. - * - * It does not support placing the separator after the title, but by leaving the - * prefix parameter empty, you can set the title separator manually. The prefix - * does not automatically place a space between the prefix, so if there should - * be a space, the parameter value will need to have it at the end. - * - * @since 0.71 - * - * @param string $prefix Optional. What to display before the title. - * @param bool $display Optional, default is true. Whether to display or retrieve title. - * @return string|null Title when retrieving, null when displaying or failure. - */ -function single_month_title($prefix = '', $display = true ) { - global $wp_locale; - - $m = get_query_var('m'); - $year = get_query_var('year'); - $monthnum = get_query_var('monthnum'); - - if ( !empty($monthnum) && !empty($year) ) { - $my_year = $year; - $my_month = $wp_locale->get_month($monthnum); - } elseif ( !empty($m) ) { - $my_year = substr($m, 0, 4); - $my_month = $wp_locale->get_month(substr($m, 4, 2)); - } - - if ( empty($my_month) ) - return false; - - $result = $prefix . $my_month . $prefix . $my_year; - - if ( !$display ) - return $result; - echo $result; -} - -/** - * Retrieve archive link content based on predefined or custom code. - * - * The format can be one of four styles. The 'link' for head element, 'option' - * for use in the select element, 'html' for use in list (either ol or ul HTML - * elements). Custom content is also supported using the before and after - * parameters. - * - * The 'link' format uses the link HTML element with the archives - * relationship. The before and after parameters are not used. The text - * parameter is used to describe the link. - * - * The 'option' format uses the option HTML element for use in select element. - * The value is the url parameter and the before and after parameters are used - * between the text description. - * - * The 'html' format, which is the default, uses the li HTML element for use in - * the list HTML elements. The before parameter is before the link and the after - * parameter is after the closing link. - * - * The custom format uses the before parameter before the link ('a' HTML - * element) and the after parameter after the closing link tag. If the above - * three values for the format are not used, then custom format is assumed. - * - * @since 1.0.0 - * - * @param string $url URL to archive. - * @param string $text Archive text description. - * @param string $format Optional, default is 'html'. Can be 'link', 'option', 'html', or custom. - * @param string $before Optional. - * @param string $after Optional. - * @return string HTML link content for archive. - */ -function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') { - $text = wptexturize($text); - $url = esc_url($url); - - if ('link' == $format) - $link_html = "\t\n"; - elseif ('option' == $format) - $link_html = "\t\n"; - elseif ('html' == $format) - $link_html = "\t
      18. $before$text$after
      19. \n"; - else // custom - $link_html = "\t$before$text$after\n"; - - /** - * Filter the archive link content. - * - * @since 2.6.0 - * - * @param string $link_html The archive HTML link content. - */ - $link_html = apply_filters( 'get_archives_link', $link_html ); - - return $link_html; -} - -/** - * Display archive links based on type and format. - * - * @since 1.2.0 - * - * @see get_archives_link() - * - * @param string|array $args { - * Default archive links arguments. Optional. - * - * @type string $type Type of archive to retrieve. Accepts 'daily', 'weekly', 'monthly', - * 'yearly', 'postbypost', or 'alpha'. Both 'postbypost' and 'alpha' - * display the same archive link list as well as post titles instead - * of displaying dates. The difference between the two is that 'alpha' - * will order by post title and 'postbypost' will order by post date. - * Default 'monthly'. - * @type string|int $limit Number of links to limit the query to. Default empty (no limit). - * @type string $format Format each link should take using the $before and $after args. - * Accepts 'link' (`` tag), 'option' (`