code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
/* Distraction Free Writing mode TinyMCE Styles */ html, body { background: transparent; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important; }
zyblog
trunk/zyblog/wp-includes/js/tinymce/plugins/wpfullscreen/css/wp-fullscreen.css
CSS
asf20
221
(function() { tinymce.create('tinymce.plugins.wpLink', { /** * Initializes the plugin, this will be executed after the plugin has been created. * This call is done before the editor instance has finished it's initialization so use the onInit event * of the editor instance to intercept that event. * * ...
zyblog
trunk/zyblog/wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js
JavaScript
asf20
1,681
/** * WordPress plugin. */ (function() { var DOM = tinymce.DOM; tinymce.create('tinymce.plugins.WordPress', { init : function(ed, url) { var t = this, tbId = ed.getParam('wordpress_adv_toolbar', 'toolbar2'), last = 0, moreHTML, nextpageHTML, closeOnClick, mod_key; moreHTML = '<img src="' + url + '/img/tra...
zyblog
trunk/zyblog/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js
JavaScript
asf20
13,207
/** * TinyMCE Schema.js * * Duck-punched by WordPress core to support a sane schema superset. * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ (function(tinymce) { var mapCache = {}, makeMap ...
zyblog
trunk/zyblog/wp-includes/js/tinymce/wp-tinymce-schema.js
JavaScript
asf20
30,552
(function(){ if ( typeof tinyMCEPreInit === 'undefined' ) return; var t = tinyMCEPreInit, baseurl = t.base, markDone = tinymce.ScriptLoader.markDone, lang = t.ref.language, theme = t.ref.theme, plugins = t.ref.plugins, suffix = t.suffix; markDone( baseurl+'/langs/'+lang+'.js' ); markDone( baseurl+'/themes/'+t...
zyblog
trunk/zyblog/wp-includes/js/tinymce/mark_loaded_src.js
JavaScript
asf20
802
tinyMCE.addI18n({en:{ common:{ edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?", apply:"Apply", insert:"Insert", update:"Update", cancel:"Cancel", close:"Close", browse:"Browse", class_name:"Class", not_set:"-- Not set --", clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.", cl...
zyblog
trunk/zyblog/wp-includes/js/tinymce/langs/wp-langs-en.js
JavaScript
asf20
13,662
<?php if ( ! defined( 'ABSPATH' ) ) exit; if ( ! class_exists( '_WP_Editors' ) ) require( ABSPATH . WPINC . '/class-wp-editor.php' ); // deprecated, not used function mce_escape($text) { return esc_js($text); } function wp_mce_translation() { $default = array( 'common' => array( 'edit_confirm' => __('Do y...
zyblog
trunk/zyblog/wp-includes/js/tinymce/langs/wp-langs.php
PHP
asf20
20,390
<?php /** * Disable error reporting * * Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging */ error_reporting(0); $basepath = dirname(__FILE__); function get_file($path) { if ( function_exists('realpath') ) $path = realpath($path); if ( ! $path || ! @is_file($path) ) ...
zyblog
trunk/zyblog/wp-includes/js/tinymce/wp-tinymce.php
PHP
asf20
1,046
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{#advanced_dlg.about_title}</title> <script type="text/javascript" src="../../tiny_mce_popup.js?ver=358-20121205"></script> <script type...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/about.htm
HTML
asf20
2,700
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{#advanced_dlg.link_title}</title> <script type="text/javascript" src="../../tiny_mce_popup.js?ver=358-20121205"></script> <script type="text/javascr...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/link.htm
HTML
asf20
2,555
/* Reset */ .highcontrastSkin table, .highcontrastSkin tbody, .highcontrastSkin a, .highcontrastSkin img, .highcontrastSkin tr, .highcontrastSkin div, .highcontrastSkin td, .highcontrastSkin iframe, .highcontrastSkin span, .highcontrastSkin *, .highcontrastSkin .mceText {border:0; margin:0; padding:0; vertical-align:ba...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/ui.css
CSS
asf20
8,780
/* Generic */ body { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; background:#F0F0EE; color: black; padding:0; margin:8px 8px 0 8px; } html {background:#F0F0EE; color:#000;} td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} textarea {resize:none;outline:none;} a:link, a:visi...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/dialog.css
CSS
asf20
5,113
body, td, pre { margin:8px;} body.mceForceColors {background:#FFF; color:#000;} h1 {font-size: 2em} h2 {font-size: 1.5em} h3 {font-size: 1.17em} h4 {font-size: 1em} h5 {font-size: .83em} h6 {font-size: .75em} .mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/content.css
CSS
asf20
1,098
/* Generic */ body { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; background:#f1f1f1; padding:0; margin:8px 8px 0 8px; } html {background:#f1f1f1;} td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} textarea {resize:none;outline:none;} a:link, a:visited {color:black;} a:hover...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css
CSS
asf20
6,090
body.mceForceColors {background:#FFF; color:#000;} body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;} td {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} h1 {font-size: 2em} h2 {font-size: 1.5em} h3 {font-size: 1.17em} h4...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css
CSS
asf20
3,842
/* Reset */ .defaultSkin table, .defaultSkin tbody, .defaultSkin a, .defaultSkin img, .defaultSkin tr, .defaultSkin div, .defaultSkin td, .defaultSkin iframe, .defaultSkin span, .defaultSkin *, .defaultSkin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-w...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/default/ui.css
CSS
asf20
15,740
/* Generic */ body { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; scrollbar-3dlight-color:#F0F0EE; scrollbar-arrow-color:#676662; scrollbar-base-color:#F0F0EE; scrollbar-darkshadow-color:#DDDDDD; scrollbar-face-color:#E0E0DD; scrollbar-highlight-color:#F0F0EE; scrollbar-shadow-color:#F0F0EE; scrol...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/default/dialog.css
CSS
asf20
5,643
body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} body {background:#FFF;} body.mceForceColors {background:#FFF; color:#000;} body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;} h1 {font-size: 2em} h2 {font-size...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/default/content.css
CSS
asf20
2,557
/* Reset */ .o2k7Skin table, .o2k7Skin tbody, .o2k7Skin a, .o2k7Skin img, .o2k7Skin tr, .o2k7Skin div, .o2k7Skin td, .o2k7Skin iframe, .o2k7Skin span, .o2k7Skin *, .o2k7Skin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; col...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui.css
CSS
asf20
15,183
/* Generic */ body { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; scrollbar-3dlight-color:#F0F0EE; scrollbar-arrow-color:#676662; scrollbar-base-color:#F0F0EE; scrollbar-darkshadow-color:#DDDDDD; scrollbar-face-color:#E0E0DD; scrollbar-highlight-color:#F0F0EE; scrollbar-shadow-color:#F0F0EE; scrol...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/o2k7/dialog.css
CSS
asf20
5,731
body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} body {background:#FFF;} body.mceForceColors {background:#FFF; color:#000;} h1 {font-size: 2em} h2 {font-size: 1.5em} h3 {font-size: 1.17em} h4 {font-size: 1em} h5 {font-size: .83em} h6 {font-size: .75em} .mceItemT...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/skins/o2k7/content.css
CSS
asf20
2,283
tinyMCEPopup.requireLangPack(); tinyMCEPopup.onInit.add(onLoadInit); function saveContent() { tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true}); tinyMCEPopup.close(); } function onLoadInit() { tinyMCEPopup.resizeToInnerSize(); // Remove Gecko spellchecking if (tin...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/js/source_editor.js
JavaScript
asf20
1,616
/** * charmap.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ tinyMCEPopup.requireLangPack(); var charmap = [ ['&nbsp;', '&#160;', true, 'no-break space'], ['&amp;', ...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/js/charmap.js
JavaScript
asf20
15,430
tinyMCEPopup.requireLangPack(); var AnchorDialog = { init : function(ed) { var action, elm, f = document.forms[0]; this.editor = ed; elm = ed.dom.getParent(ed.selection.getNode(), 'A'); v = ed.dom.getAttrib(elm, 'name') || ed.dom.getAttrib(elm, 'id'); if (v) { this.action = 'update'; f.anchorName.va...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/js/anchor.js
JavaScript
asf20
1,442
var ImageDialog = { preInit : function() { var url; tinyMCEPopup.requireLangPack(); if (url = tinyMCEPopup.getParam("external_image_list_url")) document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); }, init : fun...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/js/image.js
JavaScript
asf20
6,138
tinyMCEPopup.requireLangPack(); var LinkDialog = { preInit : function() { var url; if (url = tinyMCEPopup.getParam("external_link_list_url")) document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); }, init : functio...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/js/link.js
JavaScript
asf20
4,788
tinyMCEPopup.requireLangPack(); function init() { var ed, tcont; tinyMCEPopup.resizeToInnerSize(); ed = tinyMCEPopup.editor; // Give FF some time window.setTimeout(insertHelpIFrame, 10); tcont = document.getElementById('plugintablecontainer'); document.getElementById('plugins_tab').style.display = 'none'; ...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/js/about.js
JavaScript
asf20
2,130
tinyMCEPopup.requireLangPack(); var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false; var colors = [ "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", "#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099", "#6600cc","#660...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/js/color_picker.js
JavaScript
asf20
14,214
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{#advanced_dlg.accessibility_help}</title> <script type="text/javascript" src="../../tiny_mce_popup.js?ver=358-20121205"></script> <s...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/shortcuts.htm
HTML
asf20
1,702
/** * editor_template_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function(tinymce) { var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce.extend, ea...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/editor_template_src.js
JavaScript
asf20
41,929
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{#advanced_dlg.code_title}</title> <script type="text/javascript" src="../../tiny_mce_popup.js?ver=358-20121205"></script> <script type="text/javascript" src="js/source_editor.js?ver=358-20121205"></script> </head> <body onresize="resizeInputs();" style="disp...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/source_editor.htm
HTML
asf20
1,278
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{#advanced_dlg.charmap_title}</title> <script type="text/javascript" src="../../tiny_mce_popup.js?ver=358-20121205"></script> <script typ...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/charmap.htm
HTML
asf20
2,230
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{#advanced_dlg.image_title}</title> <script type="text/javascript" src="../../tiny_mce_popup.js?ver=358-20121205"></script> <script type="text/javasc...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/image.htm
HTML
asf20
4,026
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{#advanced_dlg.colorpicker_title}</title> <script type="text/javascript" src="../../tiny_mce_popup.js?ver=358-20121205"></script> <script type="text/...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/color_picker.htm
HTML
asf20
3,298
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{#advanced_dlg.anchor_title}</title> <script type="text/javascript" src="../../tiny_mce_popup.js?ver=358-20121205"></script> <script type="text/javas...
zyblog
trunk/zyblog/wp-includes/js/tinymce/themes/advanced/anchor.htm
HTML
asf20
1,175
<?php /** * @package TinyMCE * @author Moxiecode * @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved. */ /** @ignore */ require_once('../../../wp-load.php'); header('Content-Type: text/html; charset=' . get_bloginfo('charset')); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml...
zyblog
trunk/zyblog/wp-includes/js/tinymce/wp-mce-help.php
PHP
asf20
12,615
/** * validate.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ /** // String validation: if (!Validator.isEmail('myemail')) alert('Invalid email.'); // Form validatio...
zyblog
trunk/zyblog/wp-includes/js/tinymce/utils/validate.js
JavaScript
asf20
5,848
/** * mctabs.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ function MCTabs() { this.settings = []; this.onChange = tinyMCEPopup.editor.windowManager.createInstance('tiny...
zyblog
trunk/zyblog/wp-includes/js/tinymce/utils/mctabs.js
JavaScript
asf20
3,894
/** * editable_selects.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ var TinyMCE_EditableSelects = { editSelectElm : null, init : function() { var nl = document.getEl...
zyblog
trunk/zyblog/wp-includes/js/tinymce/utils/editable_selects.js
JavaScript
asf20
1,976
/** * form_utils.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme")); func...
zyblog
trunk/zyblog/wp-includes/js/tinymce/utils/form_utils.js
JavaScript
asf20
5,781
window.wp = window.wp || {}; (function( exports, $ ){ var api = wp.customize, Loader; $.extend( $.support, { history: !! ( window.history && history.pushState ), hashchange: ('onhashchange' in window) && (document.documentMode === undefined || document.documentMode > 7) }); Loader = $.extend( {}, api.Event...
zyblog
trunk/zyblog/wp-includes/js/customize-loader.js
JavaScript
asf20
4,244
/* http://www.JSON.org/json2.js 2011-02-23 Public Domain. NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. See http://www.JSON.org/js.html This code should be minified before deployment. See http://javascript.crockford.com/jsmin.html USE YOUR OWN COPY. IT IS EXTREMELY UNWISE...
zyblog
trunk/zyblog/wp-includes/js/json2.js
JavaScript
asf20
17,413
addComment = { moveForm : function(commId, parentId, respondId, postId) { var t = this, div, comm = t.I(commId), respond = t.I(respondId), cancel = t.I('cancel-comment-reply-link'), parent = t.I('comment_parent'), post = t.I('comment_post_ID'); if ( ! comm || ! respond || ! cancel || ! parent ) return; t.r...
zyblog
trunk/zyblog/wp-includes/js/comment-reply.js
JavaScript
asf20
1,222
(function($){ var media = wp.media, Attachment = media.model.Attachment, Attachments = media.model.Attachments, Query = media.model.Query, l10n; // Link any localized strings. l10n = media.view.l10n = typeof _wpMediaViewsL10n === 'undefined' ? {} : _wpMediaViewsL10n; // Link any settings. me...
zyblog
trunk/zyblog/wp-includes/js/media-views.js
JavaScript
asf20
106,789
var wpLink; (function($){ var inputs = {}, rivers = {}, ed, River, Query; wpLink = { timeToTriggerRiver: 150, minRiverAJAXDuration: 200, riverBottomThreshold: 5, keySensitivity: 100, lastSearch: '', textarea: '', init : function() { inputs.dialog = $('#wp-link'); inputs.submit = $('#wp-link-sub...
zyblog
trunk/zyblog/wp-includes/js/wplink.js
JavaScript
asf20
15,505
/* ----------------------------------------------------------------------------------------------------------------*/ /* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ /* --------------------------------------------------------------------------------...
zyblog
trunk/zyblog/wp-includes/js/thickbox/thickbox.css
CSS
asf20
4,114
/* * Thickbox 3.1 - One Box To Rule Them All. * By Cody Lindley (http://www.codylindley.com) * Copyright (c) 2007 cody lindley * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php */ if ( typeof tb_pathToImage != 'string' ) { var tb_pathToImage = thickboxL10n.loadingAnimation; } /...
zyblog
trunk/zyblog/wp-includes/js/thickbox/thickbox.js
JavaScript
asf20
12,417
<?php /** * WordPress API for media display. * * @package WordPress * @subpackage Media */ /** * Scale down the default size of an image. * * This is so that the image is a better fit for the editor and theme. * * The $size parameter accepts either an array or a string. The supported string * values are 'th...
zyblog
trunk/zyblog/wp-includes/media.php
PHP
asf20
53,747
<?php /** * Defines constants and global variables that can be overridden, generally in wp-config.php. * * @package WordPress */ /** * Defines initial WordPress constants * * @see wp_debug_mode() * * @since 3.0.0 */ function wp_initial_constants( ) { global $blog_id; // set memory limits if ( !defined('W...
zyblog
trunk/zyblog/wp-includes/default-constants.php
PHP
asf20
7,757
<?php /** * BackPress Styles enqueue. * * These classes were refactored from the WordPress WP_Scripts and WordPress * script enqueue API. * * @package BackPress * @since r74 */ /** * BackPress Styles enqueue class. * * @package BackPress * @uses WP_Dependencies * @since r74 */ class WP_Styles extends WP_...
zyblog
trunk/zyblog/wp-includes/class.wp-styles.php
PHP
asf20
4,514
<?php /** * Simple and uniform HTTP request API. * * Standardizes the HTTP requests for WordPress. Handles cookies, gzip encoding and decoding, chunk * decoding, if HTTP 1.1 and various other difficult HTTP protocol implementations. * * @link http://trac.wordpress.org/ticket/4779 HTTP API Proposal * * @package ...
zyblog
trunk/zyblog/wp-includes/class-http.php
PHP
asf20
58,685
<?php /** * Send XML response back to AJAX request. * * @package WordPress * @since 2.1.0 */ class WP_Ajax_Response { /** * Store XML responses to send. * * @since 2.1.0 * @var array * @access private */ var $responses = array(); /** * Constructor - Passes args to {@link WP_Ajax_Response::add()}....
zyblog
trunk/zyblog/wp-includes/class-wp-ajax-response.php
PHP
asf20
3,887
<?php /** * Multisite WordPress API * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ /** * Gets the network's site and user counts. * * @since MU 1.0 * @uses get_blog_count() * @uses get_user_count() * * @return array Site and user count for the network. */ function get_sitestats() { glo...
zyblog
trunk/zyblog/wp-includes/ms-functions.php
PHP
asf20
63,555
<?php /** * WordPress Translation API * * @package WordPress * @subpackage i18n */ /** * Gets the current locale. * * If the locale is set, then it will filter the locale in the 'locale' filter * hook and return the value. * * If the locale is not set already, then the WPLANG constant is used if it is * de...
zyblog
trunk/zyblog/wp-includes/l10n.php
PHP
asf20
18,149
<?php /** * BackPress styles procedural API. * * @package BackPress * @since r79 */ /** * Display styles that are in the queue or part of $handles. * * @since r79 * @uses do_action() Calls 'wp_print_styles' hook. * @global object $wp_styles The WP_Styles object for printing styles. * * @param array|bool $h...
zyblog
trunk/zyblog/wp-includes/functions.wp-styles.php
PHP
asf20
7,620
<?php /** * BackPress Scripts enqueue. * * These classes were refactored from the WordPress WP_Scripts and WordPress * script enqueue API. * * @package BackPress * @since r16 */ /** * BackPress Scripts enqueue class. * * @package BackPress * @uses WP_Dependencies * @since r16 */ class WP_Scripts extends ...
zyblog
trunk/zyblog/wp-includes/class.wp-scripts.php
PHP
asf20
5,598
<?php /** * Sets up the default filters and actions for most * of the WordPress hooks. * * If you need to remove a default hook, this file will * give you the priority for which to use to remove the * hook. * * Not all of the default hooks are found in default-filters.php * * @package WordPress */ // Strip,...
zyblog
trunk/zyblog/wp-includes/default-filters.php
PHP
asf20
14,040
<?php /** * RSS 1 RDF Feed Template for displaying RSS 1 Posts feed. * * @package WordPress */ header('Content-Type: ' . feed_content_type('rdf') . '; charset=' . get_option('blog_charset'), true); $more = 1; echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> <rdf:RDF xmlns="http://pur...
zyblog
trunk/zyblog/wp-includes/feed-rdf.php
PHP
asf20
2,122
<?php /** * A class for displaying various tree-like structures. * * Extend the Walker class to use it, see examples at the below. Child classes * do not need to implement all of the abstract methods in the class. The child * only needs to implement the methods that are needed. Also, the methods are * not strictl...
zyblog
trunk/zyblog/wp-includes/class-wp-walker.php
PHP
asf20
11,510
<?php /** * These functions can be replaced via plugins. If plugins do not redefine these * functions, then these will be used instead. * * @package WordPress */ if ( !function_exists('wp_set_current_user') ) : /** * Changes the current user by ID or name. * * Set $id to null and specify a name if you do not k...
zyblog
trunk/zyblog/wp-includes/pluggable.php
PHP
asf20
60,123
<?php /** * Creates common globals for the rest of WordPress * * Sets $pagenow global which is the current page. Checks * for the browser to set which one is currently being used. * * Detects which user environment WordPress is being used on. * Only attempts to check for Apache and IIS. Two web servers * with k...
zyblog
trunk/zyblog/wp-includes/vars.php
PHP
asf20
4,594
<?php /** * A simple set of functions to check our version 1.0 update service. * * @package WordPress * @since 2.3.0 */ /** * Check WordPress version against the newest version. * * The WordPress version, PHP version, and Locale is sent. Checks against the * WordPress server at api.wordpress.org server. Will ...
zyblog
trunk/zyblog/wp-includes/update.php
PHP
asf20
14,612
<?php /** * WordPress environment setup class. * * @package WordPress * @since 2.0.0 */ class WP { /** * Public query variables. * * Long list of public query variables. * * @since 2.0.0 * @access public * @var array */ var $public_query_vars = array('m', 'p', 'posts', 'w', 'cat', 'withcomments',...
zyblog
trunk/zyblog/wp-includes/class-wp.php
PHP
asf20
18,610
<?php /** * WordPress Imagick Image Editor * * @package WordPress * @subpackage Image_Editor */ /** * WordPress Image Editor Class for Image Manipulation through Imagick PHP Module * * @since 3.5.0 * @package WordPress * @subpackage Image_Editor * @uses WP_Image_Editor Extends class */ class WP_Image_Edito...
zyblog
trunk/zyblog/wp-includes/class-wp-image-editor-imagick.php
PHP
asf20
12,063
<?php /** * General API for generating and formatting diffs - the differences between * two sequences of strings. * * The original PHP version of this code was written by Geoffrey T. Dairiki * <dairiki@dairiki.org>, and is used/adapted with his permission. * * Copyright 2004 Geoffrey T. Dairiki <dairiki@dairiki....
zyblog
trunk/zyblog/wp-includes/Text/Diff.php
PHP
asf20
11,942
<?php /** * "Inline" diff renderer. * * Copyright 2004-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did * not receive this file, see http://opensource.org/licenses/lgpl-license.php. * * @author Ciprian Popovici * @package Text_Diff */...
zyblog
trunk/zyblog/wp-includes/Text/Diff/Renderer/inline.php
PHP
asf20
5,535
<?php /** * Class used internally by Text_Diff to actually compute the diffs. * * This class is implemented using native PHP code. * * The algorithm used here is mostly lifted from the perl module * Algorithm::Diff (version 1.06) by Ned Konz, which is available at: * http://www.perl.com/CPAN/authors/id/N/NE/NEDK...
zyblog
trunk/zyblog/wp-includes/Text/Diff/Engine/native.php
PHP
asf20
15,844
<?php /** * Class used internally by Diff to actually compute the diffs. * * This class uses the xdiff PECL package (http://pecl.php.net/package/xdiff) * to compute the differences between the two input arrays. * * Copyright 2004-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING f...
zyblog
trunk/zyblog/wp-includes/Text/Diff/Engine/xdiff.php
PHP
asf20
2,213
<?php /** * Class used internally by Diff to actually compute the diffs. * * This class uses the Unix `diff` program via shell_exec to compute the * differences between the two input arrays. * * Copyright 2007-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license informati...
zyblog
trunk/zyblog/wp-includes/Text/Diff/Engine/shell.php
PHP
asf20
5,170
<?php /** * A class to render Diffs in different formats. * * This class renders the diff in classic diff format. It is intended that * this class be customized via inheritance, to obtain fancier outputs. * * Copyright 2004-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for lic...
zyblog
trunk/zyblog/wp-includes/Text/Diff/Renderer.php
PHP
asf20
6,693
<?php /** * RSS 0.92 Feed Template for displaying RSS 0.92 Posts feed. * * @package WordPress */ header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true); $more = 1; echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> <rss version="0.92">...
zyblog
trunk/zyblog/wp-includes/feed-rss.php
PHP
asf20
1,048
<?php /** * Base WordPress Image Editor * * @package WordPress * @subpackage Image_Editor */ /** * Base image editor class from which implementations extend * * @since 3.5.0 */ abstract class WP_Image_Editor { protected $file = null; protected $size = null; protected $mime_type = null; protected $default_...
zyblog
trunk/zyblog/wp-includes/class-wp-image-editor.php
PHP
asf20
9,201
<?php /** * RSS2 Feed Template for displaying RSS2 Comments feed. * * @package WordPress */ header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true); echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> <rss version="2.0" xmlns:content="h...
zyblog
trunk/zyblog/wp-includes/feed-rss2-comments.php
PHP
asf20
2,872
<?php /** * kses 0.2.2 - HTML/XHTML filter that only allows some elements and attributes * Copyright (C) 2002, 2003, 2005 Ulf Harnhammar * * This program is free software and open source software; you can redistribute * it and/or modify it under the terms of the GNU General Public License as * published by the F...
zyblog
trunk/zyblog/wp-includes/kses.php
PHP
asf20
41,273
<?php /** * Bookmark Template Functions for usage in Themes * * @package WordPress * @subpackage Template */ /** * The formatted output of a list of bookmarks. * * The $bookmarks array must contain bookmark objects and will be iterated over * to retrieve the bookmark to be used in the output. * * The output...
zyblog
trunk/zyblog/wp-includes/bookmark-template.php
PHP
asf20
9,678
<?php /** * Deprecated functions from past WordPress versions. You shouldn't use these * functions and look for the alternatives instead. The functions will be * removed in a later version. * * @package WordPress * @subpackage Deprecated */ /* * Deprecated functions come here to die. */ /** * Entire Post da...
zyblog
trunk/zyblog/wp-includes/deprecated.php
PHP
asf20
96,384
<?php /** * MagpieRSS: a simple RSS integration tool * * A compiled file for RSS syndication * * @author Kellan Elliott-McCrea <kellan@protest.net> * @version 0.51 * @license GPL * * @package External * @subpackage MagpieRSS */ /** * Deprecated. Use SimplePie (class-simplepie.php) instead. */ _deprecated_...
zyblog
trunk/zyblog/wp-includes/rss.php
PHP
asf20
22,898
<?php /** * Atom Feed Template for displaying Atom Comments feed. * * @package WordPress */ header('Content-Type: ' . feed_content_type('atom') . '; charset=' . get_option('blog_charset'), true); echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '" ?' . '>'; ?> <feed xmlns="http://www.w3.org/20...
zyblog
trunk/zyblog/wp-includes/feed-atom-comments.php
PHP
asf20
4,311
<?php /** * Deprecated. No longer needed. * * @package WordPress */ _deprecated_file( basename(__FILE__), '2.1', null, __( 'This file no longer needs to be included.' ) );
zyblog
trunk/zyblog/wp-includes/registration-functions.php
PHP
asf20
176
<?php /** * WordPress Query API * * The query API attempts to get which part of WordPress to the user is on. It * also provides functionality to getting URL query information. * * @link http://codex.wordpress.org/The_Loop More information on The Loop. * * @package WordPress * @subpackage Query */ /** * Retr...
zyblog
trunk/zyblog/wp-includes/query.php
PHP
asf20
95,688
<?php /** * Multisite upload handler. * * @since 3.0.0 * * @package WordPress * @subpackage Multisite */ define( 'SHORTINIT', true ); require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); if( !is_multisite() ) die( 'Multisite support not enabled' ); ms_file_constants(); error_reporting( 0 ); if ...
zyblog
trunk/zyblog/wp-includes/ms-files.php
PHP
asf20
2,553
<?php /** * The WordPress version string * * @global string $wp_version */ $wp_version = '3.5'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * * @global int $wp_db_version */ $wp_db_version = 22441; /** * Holds the TinyMCE version * * @global string $t...
zyblog
trunk/zyblog/wp-includes/version.php
PHP
asf20
643
<?php /** * WordPress Category API * * @package WordPress */ /** * Retrieves all category IDs. * * @since 2.0.0 * @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() { if ( ! $cat_ids = wp_cache_get(...
zyblog
trunk/zyblog/wp-includes/category.php
PHP
asf20
10,827
<?php /** * Navigation Menu functions * * @package WordPress * @subpackage Nav_Menus * @since 3.0.0 */ /** * Returns a navigation menu object. * * @since 3.0.0 * * @uses get_term * @uses get_term_by * * @param string $menu Menu id, slug or name * @return mixed false if $menu param isn't supplied or term...
zyblog
trunk/zyblog/wp-includes/nav-menu.php
PHP
asf20
25,638
<?php /** * Site/blog functions that work with the blogs table and related data. * * @package WordPress * @subpackage Multisite * @since MU */ /** * Update the last_updated field for the current blog. * * @since MU */ function wpmu_update_blogs_date() { global $wpdb; update_blog_details( $wpdb->blogid, a...
zyblog
trunk/zyblog/wp-includes/ms-blogs.php
PHP
asf20
22,249
<?php /** * @package WordPress * @subpackage Theme_Compat * @deprecated 3.0 * * This file is here for Backwards compatibility with old themes and will be removed in a future version * */ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s t...
zyblog
trunk/zyblog/wp-includes/theme-compat/comments-popup.php
PHP
asf20
5,217
<?php /** * @package WordPress * @subpackage Theme_Compat * @deprecated 3.0 * * This file is here for Backwards compatibility with old themes and will be removed in a future version * */ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s t...
zyblog
trunk/zyblog/wp-includes/theme-compat/header.php
PHP
asf20
1,723
<?php /** * @package WordPress * @subpackage Theme_Compat * @deprecated 3.0 * * This file is here for Backwards compatibility with old themes and will be removed in a future version * */ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s t...
zyblog
trunk/zyblog/wp-includes/theme-compat/sidebar.php
PHP
asf20
3,904
<?php /** * @package WordPress * @subpackage Theme_Compat * @deprecated 3.0 * * This file is here for Backwards compatibility with old themes and will be removed in a future version * */ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s t...
zyblog
trunk/zyblog/wp-includes/theme-compat/comments.php
PHP
asf20
3,985
<?php /** * @package WordPress * @subpackage Theme_Compat * @deprecated 3.0 * * This file is here for Backwards compatibility with old themes and will be removed in a future version * */ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s t...
zyblog
trunk/zyblog/wp-includes/theme-compat/footer.php
PHP
asf20
1,219
<?php /** * WordPress Error API. * * Contains the WP_Error class and the is_wp_error() function. * * @package WordPress */ /** * WordPress Error class. * * Container for checking for WordPress errors and error messages. Return * WP_Error and use {@link is_wp_error()} to check if this class is returned. * Ma...
zyblog
trunk/zyblog/wp-includes/class-wp-error.php
PHP
asf20
4,753
<?php /*~ class.smtp.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | | Version: 5.2.1 | | Site: https://code.google.com/a/apache-extras.org/p/ph...
zyblog
trunk/zyblog/wp-includes/class-smtp.php
PHP
asf20
24,618
<?php /** * API for fetching the HTML to embed remote content based on a provided URL. * Used internally by the {@link WP_Embed} class, but is designed to be generic. * * @link http://codex.wordpress.org/oEmbed oEmbed Codex Article * @link http://oembed.com/ oEmbed Homepage * * @package WordPress * @subpackage ...
zyblog
trunk/zyblog/wp-includes/class-oembed.php
PHP
asf20
12,213
<?php /** * WordPress Post Thumbnail Template Functions. * * Support for post thumbnails * Themes function.php must call add_theme_support( 'post-thumbnails' ) to use these. * * @package WordPress * @subpackage Template */ /** * Check if post has an image attached. * * @since 2.9.0 * * @param int $post_id...
zyblog
trunk/zyblog/wp-includes/post-thumbnail-template.php
PHP
asf20
2,861
<?php /** * Facilitates adding of the WordPress editor as used on the Write and Edit screens. * * @package WordPress * @since 3.3.0 * * Private, not included by default. See wp_editor() in wp-includes/general-template.php. */ final class _WP_Editors { public static $mce_locale; private static $mce_settings =...
zyblog
trunk/zyblog/wp-includes/class-wp-editor.php
PHP
asf20
33,112
<?php /** * Navigation Menu template functions * * @package WordPress * @subpackage Nav_Menus * @since 3.0.0 */ /** * Create HTML list of nav menu items. * * @package WordPress * @since 3.0.0 * @uses Walker */ class Walker_Nav_Menu extends Walker { /** * @see Walker::$tree_type * @since 3.0.0 * @var...
zyblog
trunk/zyblog/wp-includes/nav-menu-template.php
PHP
asf20
18,431
<?php /** * Post functions and post utility function. * * @package WordPress * @subpackage Post * @since 1.5.0 */ // // Post Type Registration // /** * Creates the initial post types when 'init' action is fired. * * @since 2.9.0 */ function create_initial_post_types() { register_post_type( 'post', array( ...
zyblog
trunk/zyblog/wp-includes/post.php
PHP
asf20
177,007
/* * jQuery UI CSS Framework @VERSION * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Theming/API */ /* Layout helpers ----------------------------------*/ .ui-helper-hidden { display:...
zyblog
trunk/zyblog/wp-includes/css/jquery-ui-dialog.css
CSS
asf20
4,795
/** * Modal */ .media-modal-close { right: auto; left: 7px; } /** * Toolbar */ .media-toolbar-primary { float: left; } .media-toolbar-secondary { float: right; } .media-toolbar-primary > .media-button, .media-toolbar-primary > .media-button-group { margin-left: 0; margin-right: 10px; float: right; } .med...
zyblog
trunk/zyblog/wp-includes/css/media-views-rtl.css
CSS
asf20
4,606
/** * Base Styles */ .media-modal, .media-frame { font-family: sans-serif; font-size: 12px; } .media-frame input, .media-frame textarea { padding: 6px 8px; line-height: 16px; } .media-frame select, .wp-admin .media-frame select { line-height: 28px; margin-top: 3px; } .media-frame a { border-bottom: none; c...
zyblog
trunk/zyblog/wp-includes/css/media-views.css
CSS
asf20
28,795