register_globals example


    public $word_count_type;

    /** * Constructor which calls helper methods to set up object variables. * * @since 2.1.0 */
    public function __construct() {
        $this->init();
        $this->register_globals();
    }

    /** * Sets up the translated strings and object properties. * * The method creates the translatable strings for various * calendar elements. Which allows for specifying locale * specific calendar names and text direction. * * @since 2.1.0 * * @global string $text_direction */

    public function main( $query_args = '' ) {
        $this->init();

        $parsed = $this->parse_request( $query_args );

        if ( $parsed ) {
            $this->query_posts();
            $this->handle_404();
            $this->register_globals();
        }

        $this->send_headers();

        /** * Fires once the WordPress environment has been set up. * * @since 2.1.0 * * @param WP $wp Current WordPress environment instance (passed by reference). */
        
Home | Imprint | This part of the site doesn't use cookies.