/**
* Redux Framework CDN Container Class
*
* @author Kevin Provance (kprovance)
* @package Redux_Framework
* @subpackage Core
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'Redux_CDN' ) ) {
class Redux_CDN {
static public $_parent;
static private $_set;
private static function is_enqueued( $handle, $list = 'enqueued', $is_script ) {
if ( $is_script ) {
wp_script_is( $handle, $list );
} else {
wp_style_is( $handle, $list );
}
}
private static function _register( $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script = true ) {
if ( $is_script ) {
wp_register_script( $handle, $src_cdn, $deps, $ver, $footer_or_media );
} else {
wp_register_style( $handle, $src_cdn, $deps, $ver, $footer_or_media );
}
}
private static function _enqueue( $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script = true ) {
if ( $is_script ) {
wp_enqueue_script( $handle, $src_cdn, $deps, $ver, $footer_or_media );
} else {
wp_enqueue_style( $handle, $src_cdn, $deps, $ver, $footer_or_media );
}
}
private static function _cdn( $register = true, $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script = true ) {
$tran_key = '_style_cdn_is_up';
if ( $is_script ) {
$tran_key = '_script_cdn_is_up';
}
$cdn_is_up = get_transient( $handle . $tran_key );
if ( $cdn_is_up ) {
if ( $register ) {
self::_register( $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script );
} else {
self::_enqueue( $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script );
}
} else {
$prefix = $src_cdn[1] == "/" ? 'http:' : '';
$cdn_response = @wp_remote_get( $prefix . $src_cdn );
if ( is_wp_error( $cdn_response ) || wp_remote_retrieve_response_code( $cdn_response ) != '200' ) {
if ( class_exists( 'Redux_VendorURL' ) ) {
$src = Redux_VendorURL::get_url( $handle );
if ( $register ) {
self::_register( $handle, $src, $deps, $ver, $footer_or_media, $is_script );
} else {
self::_enqueue( $handle, $src, $deps, $ver, $footer_or_media, $is_script );
}
} else {
if ( ! self::is_enqueued( $handle, 'enqueued', $is_script ) ) {
$msg = __( 'Please wait a few minutes, then try refreshing the page. Unable to load some remotely hosted scripts.', 'redux-framework' );
if ( self::$_parent->args['dev_mode'] ) {
$msg = sprintf( __( 'If you are developing offline, please download and install the Redux Vendor Support plugin/extension to bypass the our CDN and avoid this warning', 'redux-framework' ), 'https://github.com/reduxframework/redux-vendor-support' );
}
$msg = '' . __( 'Redux Framework Warning', 'redux-framework' ) . ' ' . sprintf( __( '%s CDN unavailable. Some controls may not render properly.', 'redux-framework' ), $handle ) . ' ' . $msg;
$data = array(
'parent' => self::$_parent,
'type' => 'error',
'msg' => $msg,
'id' => $handle . $tran_key,
'dismiss' => false
);
Redux_Admin_Notices::set_notice($data);
}
}
} else {
set_transient( $handle . $tran_key, true, MINUTE_IN_SECONDS * self::$_parent->args['cdn_check_time'] );
if ( $register ) {
self::_register( $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script );
} else {
self::_enqueue( $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script );
}
}
}
}
private static function _vendor_plugin( $register = true, $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script = true ) {
if ( class_exists( 'Redux_VendorURL' ) ) {
$src = Redux_VendorURL::get_url( $handle );
if ( $register ) {
self::_register( $handle, $src, $deps, $ver, $footer_or_media, $is_script );
} else {
self::_enqueue( $handle, $src, $deps, $ver, $footer_or_media, $is_script );
}
} else {
if ( ! self::$_set ) {
$msg = sprintf( __( 'The Vendor Support plugin (or extension) is either not installed or not activated and thus, some controls may not render properly. Please ensure that it is installed and activated', 'redux-framework' ), 'https://github.com/reduxframework/redux-vendor-support', admin_url( 'plugins.php' ) );
$data = array(
'parent' => self::$_parent,
'type' => 'error',
'msg' => $msg,
'id' => $handle,
'dismiss' => false
);
Redux_Admin_Notices::set_notice($data);
self::$_set = true;
}
}
}
public static function register_style( $handle, $src_cdn = false, $deps = array(), $ver = false, $media = 'all' ) {
if ( self::$_parent->args['use_cdn'] ) {
self::_cdn( true, $handle, $src_cdn, $deps, $ver, $media, $is_script = false );
} else {
self::_vendor_plugin( true, $handle, $src_cdn, $deps, $ver, $media, $is_script = false );
}
}
public static function register_script( $handle, $src_cdn = false, $deps = array(), $ver = false, $in_footer = false ) {
if ( self::$_parent->args['use_cdn'] ) {
self::_cdn( true, $handle, $src_cdn, $deps, $ver, $in_footer, $is_script = true );
} else {
self::_vendor_plugin( true, $handle, $src_cdn, $deps, $ver, $in_footer, $is_script = true );
}
}
public static function enqueue_style( $handle, $src_cdn = false, $deps = array(), $ver = false, $media = 'all' ) {
if ( self::$_parent->args['use_cdn'] ) {
self::_cdn( false, $handle, $src_cdn, $deps, $ver, $media, $is_script = false );
} else {
self::_vendor_plugin( false, $handle, $src_cdn, $deps, $ver, $media, $is_script = false );
}
}
public static function enqueue_script( $handle, $src_cdn = false, $deps = array(), $ver = false, $in_footer = false ) {
if ( self::$_parent->args['use_cdn'] ) {
self::_cdn( false, $handle, $src_cdn, $deps, $ver, $in_footer, $is_script = true );
} else {
self::_vendor_plugin( false, $handle, $src_cdn, $deps, $ver, $in_footer, $is_script = true );
}
}
}
}
/**
* Redux Framework Private Functions Container Class
*
* @package Redux_Framework
* @subpackage Core
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Don't duplicate me!
if ( ! class_exists( 'Redux_Functions' ) ) {
/**
* Redux Functions Class
* Class of useful functions that can/should be shared among all Redux files.
*
* @since 1.0.0
*/
class Redux_Functions {
static public $_parent;
public static function isMin() {
$min = '';
if ( false == self::$_parent->args['dev_mode'] ) {
$min = '.min';
}
return $min;
}
/**
* Sets a cookie.
* Do nothing if unit testing.
*
* @since 3.5.4
* @access public
* @return void
*
* @param string $name The cookie name.
* @param string $value The cookie value.
* @param integer $expire Expiry time.
* @param string $path The cookie path.
* @param string $domain The cookie domain.
* @param boolean $secure HTTPS only.
* @param boolean $httponly Only set cookie on HTTP calls.
*/
public static function setCookie( $name, $value, $expire = 0, $path, $domain = null, $secure = false, $httponly = false ) {
if ( ! defined( 'WP_TESTS_DOMAIN' ) ) {
setcookie( $name, $value, $expire, $path, $domain, $secure, $httponly );
}
}
/**
* Parse CSS from output/compiler array
*
* @since 3.2.8
* @access private
* @return $css CSS string
*/
public static function parseCSS( $cssArray = array(), $style = '', $value = '' ) {
// Something wrong happened
if ( count( $cssArray ) == 0 ) {
return;
} else { //if ( count( $cssArray ) >= 1 ) {
$css = '';
foreach ( $cssArray as $element => $selector ) {
// The old way
if ( $element === 0 ) {
$css = self::theOldWay( $cssArray, $style );
return $css;
}
// New way continued
$cssStyle = $element . ':' . $value . ';';
$css .= $selector . '{' . $cssStyle . '}';
}
}
return $css;
}
private static function theOldWay( $cssArray, $style ) {
$keys = implode( ",", $cssArray );
$css = $keys . "{" . $style . '}';
return $css;
}
/**
* initWpFilesystem - Initialized the Wordpress filesystem, if it already isn't.
*
* @since 3.2.3
* @access public
* @return void
*/
public static function initWpFilesystem() {
global $wp_filesystem;
// Initialize the Wordpress filesystem, no more using file_put_contents function
if ( empty( $wp_filesystem ) ) {
require_once ABSPATH . '/wp-includes/pluggable.php';
require_once ABSPATH . '/wp-admin/includes/file.php';
WP_Filesystem();
}
}
/**
* verFromGit - Retrives latest Redux version from GIT
*
* @since 3.2.0
* @access private
* @return string $ver
*/
private static function verFromGit() {
// Get the raw framework.php from github
$gitpage = wp_remote_get(
'https://raw.github.com/ReduxFramework/redux-framework/master/ReduxCore/framework.php', array(
'headers' => array(
'Accept-Encoding' => ''
),
'sslverify' => true,
'timeout' => 300
) );
// Is the response code the corect one?
if ( ! is_wp_error( $gitpage ) ) {
if ( isset( $gitpage['body'] ) ) {
// Get the page text.
$body = $gitpage['body'];
// Find version line in framework.php
$needle = 'public static $_version =';
$pos = strpos( $body, $needle );
// If it's there, continue. We don't want errors if $pos = 0.
if ( $pos > 0 ) {
// Look for the semi-colon at the end of the version line
$semi = strpos( $body, ";", $pos );
// Error avoidance. If the semi-colon is there, continue.
if ( $semi > 0 ) {
// Extract the version line
$text = substr( $body, $pos, ( $semi - $pos ) );
// Find the first quote around the veersion number.
$quote = strpos( $body, "'", $pos );
// Extract the version number
$ver = substr( $body, $quote, ( $semi - $quote ) );
// Strip off quotes.
$ver = str_replace( "'", '', $ver );
return $ver;
}
}
}
}
}
/**
* updateCheck - Checks for updates to Redux Framework
*
* @since 3.2.0
* @access public
*
* @param string $curVer Current version of Redux Framework
*
* @return void - Admin notice is diaplyed if new version is found
*/
public static function updateCheck( $parent, $curVer ) {
// If no cookie, check for new ver
if ( ! isset( $_COOKIE['redux_update_check'] ) ) { // || 1 == strcmp($_COOKIE['redux_update_check'], self::$_version)) {
// actual ver number from git repo
$ver = self::verFromGit();
// hour long cookie.
setcookie( "redux_update_check", $ver, time() + 3600, '/' );
} else {
// saved value from cookie. If it's different from current ver
// we can still show the update notice.
$ver = $_COOKIE['redux_update_check'];
}
// Set up admin notice on new version
//if ( 1 == strcmp( $ver, $curVer ) ) {
if ( version_compare( $ver, $curVer, '>' ) ) {
$msg = 'A new build of Redux is now available!
Your version: ' . $curVer . ' New version: ' . $ver . '
If you are not a developer, your theme/plugin author shipped with dev_mode on. Contact them to fix it, but in the meantime you can use our dev_mode disabler.
These forms provide access to an organization’s financial activity as well as other information the IRS needs to perform these checks. You can connect with a licensed CPA or EA who can file your business tax returns. Tickmark, Inc. and its affiliates do not provide legal, tax or accounting advice. The information provided on this website http://www.codenet.ru/db/mysql5/manual.ru_MySQL_Database_Administration.php does not, and is not intended to, constitute legal, tax or accounting advice or recommendations. All information prepared on this site is for informational purposes only, and should not be relied on for legal, tax or accounting advice. You should consult your own legal, tax or accounting advisors before engaging in any transaction.
For example, don’t check both the “Former” and “Officer” boxes for a former president of the organization who wasn’t an officer of the organization during the tax year. For each family and business relationship, identify the persons and describe their relationship on Schedule O (Form 990). It is sufficient to enter “family relationship” or “business relationship” without greater detail. Form 990 is a federally mandated tax form designed specifically for nonprofit organizations. By filing this form, nonprofits disclose their financial activities, governance, and programs to the IRS and the public. The information includes revenue sources, expenses, program expenditures, and compensation of top officials.
What form should your nonprofit use to file its annual return with the IRS?
For example, if filing for a short period beginning in 2023 on the 2022 Form 990, provide the information on Schedule A, Part II, for the tax years 2019–2023, rather than for tax years 2018–2022. Check the “Initial return” box or the “Final return/terminated” box in item B of the heading if either of those situations applies. Tax-exempt organizations with less than $200,000 of gross receipts and less than $500,000 in assets can file Form 990-EZ, which is the “short form” version of Form 990. However, private foundations must file Form 990-PF and black lung benefit trusts must file Form 990-BL. Most tax-exempt organizations that have gross receipts of at least $200,000 or assets worth at least $500,000 must file Form 990 on an annual basis.
The organization, sometimes referred to as the “parent organization,” that holds a group exemption letter for one or more subordinate organizations under its general supervision and control. Financial statements accompanied by a formal opinion or report prepared by an independent, certified public accountant with the objective of assessing the accuracy and reliability of the organization’s financial statements. The amounts on line 16 must equal the amounts on line 33 for both the beginning and end of the year.
What is Form 990? Why is it Crucial for Nonprofit Organizations?
The above doesn’t apply to distributions to any organization described in section 170(b)(1)(A) (other than a disqualified supporting organization, defined in section 4966(d)(4)), to the sponsoring organization of such donor advised fund, or to any other donor advised fund. If a donor makes a payment in excess of $75 partly as a contribution and partly in consideration for goods or services provided by the organization, the organization must generally notify the donor of the value of goods and services provided. Note that a significant disposition of net assets may result from either an expansion or contraction of operations. Organizations that answer “Yes” on either of these questions must also check the box in Part I, line 2, and complete Schedule N (Form 990), Part I or Part II. Answer “Yes” and complete Schedule K (Form 990) for each tax-exempt bond issued by or for the benefit of the organization after December 31, 2002, (including refunding bonds) with an outstanding principal amount of more than $100,000 as of the last day of the organization’s tax year.
Income from bingo games isn’t generally subject to the tax on unrelated business income if the games meet the legal definition of bingo. For a game to meet the legal definition of bingo, wagers must be placed, winners must be determined, and prizes or other property must be distributed in the presence of all persons placing wagers in that game. Enter the gross amount of interest income from savings and temporary cash investments, dividend and interest income from equity and debt securities (stocks and bonds), and amounts received from payments on securities loans, as defined in section 512(a)(5), as well as interest from notes and loans receivable. Don’t include unrealized gains and losses on investments carried at FMV .
Tips to make filing tax forms easier
The total amounts the organization received from all sources during its tax year, without subtracting any costs or expenses. See Appendix B. How To Determine Whether an Organization’s Gross Receipts Are Normally $50,000 (or $5,000) or Less and Appendix C. Special Gross Receipts Tests for Determining Exempt Status of Section 501(c)(7) and 501(c)(15) Organizations. A foreign organization includes an affiliate that is organized as a legal entity separate from the filing organization, but doesn’t include any branch office, account, or employee of a domestic organization located outside the United States. https://al-slavy.ru/register.php A person, including a U.S. citizen or resident, who lives or resides outside the United States. For purposes of Form 990, Part IX, and Schedule F (Form 990), Statement of Activities Outside the United States, a person who lives or resides outside the United States at the time the grant is paid or distributed to the individual is a foreign individual. Financial Accounting Standards Board (FASB) Interpretation No. 48, Accounting for Uncertainty in Income Taxes, an interpretation of FASB Statement No. 109, now codified in FASB Accounting Standards Codification 740, Income Taxes (ASC 740).
The 990 is the tax form the Internal Revenue Service (IRS) requires all 501(c)(3) tax-exempt charitable and nonprofit organizations to submit annually. The Form 990 is designed to increase financial transparency and includes revenue, expenditure, and income data in addition to information used to assess whether a nonprofit aligns with federal requirements for tax-exempt status. The forms are publicly accessible once they are processed, but note that there can be a month delay from the end of the organization’s fiscal year to the latest available online form. Also, use certain of these returns to report amounts that were received as a nominee on behalf of another person. An excise tax equal to 10% of the excess benefit can be imposed on the participation of an organization manager in an excess benefit transaction between an applicable tax-exempt organization and a disqualified person.
See General Instructions, Section D, earlier, for additional information about accounting periods. They help in preparing future returns and in making computations when filing an amended return. Every year, each subordinate organization must authorize the central organization in writing to include it in the group return and must declare, under penalties of perjury, that the authorization and the information it submits to be included in the group return are true and complete. If the return is a final return, the organization must check the “Final return/terminated” box in item B in the heading area of the form, and complete Schedule N (Form 990), Liquidation, Termination, Dissolution, or Significant Disposition of Assets.
A sponsoring organization of a donor advised fund must answer “Yes” if any one of its donor advised funds had excess business holdings at any time during the organization’s tax year. If “Yes,” see the instructions for Schedule C of Form 4720 to determine whether the organization is subject to the excess business holdings tax under section 4943 and is required to file Form 4720. All tax-exempt organizations must pay estimated taxes for their unrelated business income if they expect their tax liability to be $500 or more. The organization is required to report on Schedule R (Form 990) certain information regarding ownership or control of, and transactions with, its disregarded entities and tax-exempt and taxable related organizations. An organization that answers “Yes” on line 33 or 34 must enter its disregarded entities and related organizations on Schedule R (Form 990) and provide specified information regarding such organizations.
The Consequences of Failing to File Form 990
Organizations must report voluntary grants to state or local affiliates for specific (restricted) purposes or projects on line 1. However, report expenses related to the production of program-related income in column (B) and expenses related to the production of rental income on Part VIII, line 6b. Rental expenses incurred for the organization’s http://www.sunround.com/club/000slovo/10selz.htm office space or facilities are reported on line 16. The usual items included in cost of goods sold are direct and indirect labor, materials and supplies consumed, freight-in, and a portion of overhead expenses. Marketing and distribution costs aren’t included in the cost of goods sold but are reported as expenses in Part IX.